@npm-questionpro/wick-ui-editor 0.13.0 → 0.14.1
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.
|
@@ -3,26 +3,26 @@ var It = (e) => {
|
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
5
|
var Cn = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var h = (e, t, r) => Cn(e, typeof t != "symbol" ? t + "" : t, r), Qe = (e, t, r) => t.has(e) || It("Cannot " + r);
|
|
7
|
+
var R = (e, t, r) => (Qe(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Ze = (e, t, r) => t.has(e) ? It("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Rt = (e, t, r, n) => (Qe(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), Mt = (e, t, r) => (Qe(e, t, "access private method"), r);
|
|
8
8
|
var _r = Object.defineProperty, Cr = (e) => {
|
|
9
9
|
throw TypeError(e);
|
|
10
10
|
}, En = (e, t, r) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Er = (e, t) => {
|
|
11
11
|
for (var r in t) _r(e, r, { get: t[r], enumerable: !0 });
|
|
12
|
-
}, qt = (e, t, r) => En(e, typeof t != "symbol" ? t + "" : t, r), vn = (e, t, r) => t.has(e) || Cr("Cannot " + r),
|
|
13
|
-
Er(An, { languages: () =>
|
|
12
|
+
}, qt = (e, t, r) => En(e, typeof t != "symbol" ? t + "" : t, r), vn = (e, t, r) => t.has(e) || Cr("Cannot " + r), Pe = (e, t, r) => (vn(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Sn = (e, t, r) => t.has(e) ? Cr("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), An = {};
|
|
13
|
+
Er(An, { languages: () => go, options: () => _o, parsers: () => hn, printers: () => Go });
|
|
14
14
|
var Ct = (e, t) => (r, n, ...a) => r | 1 && n == null ? void 0 : (t.call(n) ?? n[e]).apply(n, a), Tn = String.prototype.replaceAll ?? function(e, t) {
|
|
15
15
|
return e.global ? this.replace(e, t) : this.split(e).join(t);
|
|
16
16
|
}, kn = Ct("replaceAll", function() {
|
|
17
17
|
if (typeof this == "string") return Tn;
|
|
18
|
-
}),
|
|
18
|
+
}), w = kn;
|
|
19
19
|
function bn(e) {
|
|
20
20
|
return this[e < 0 ? this.length + e : e];
|
|
21
21
|
}
|
|
22
22
|
var wn = Ct("at", function() {
|
|
23
23
|
if (Array.isArray(this) || typeof this == "string") return bn;
|
|
24
|
-
}),
|
|
25
|
-
}, Dn = yn, vr = "string", Sr = "array", Ar = "cursor", Et = "indent", vt = "align", Tr = "trim", St = "group", At = "fill", Tt = "if-break", kt = "indent-if-break", kr = "line-suffix", br = "line-suffix-boundary",
|
|
24
|
+
}), re = wn, yn = () => {
|
|
25
|
+
}, Dn = yn, vr = "string", Sr = "array", Ar = "cursor", Et = "indent", vt = "align", Tr = "trim", St = "group", At = "fill", Tt = "if-break", kt = "indent-if-break", kr = "line-suffix", br = "line-suffix-boundary", ne = "line", wr = "label", bt = "break-parent", yr = /* @__PURE__ */ new Set([Ar, Et, vt, Tr, St, At, Tt, kt, kr, br, ne, wr, bt]);
|
|
26
26
|
function xn(e) {
|
|
27
27
|
if (typeof e == "string") return vr;
|
|
28
28
|
if (Array.isArray(e)) return Sr;
|
|
@@ -31,7 +31,7 @@ function xn(e) {
|
|
|
31
31
|
if (yr.has(t)) return t;
|
|
32
32
|
}
|
|
33
33
|
var Dr = xn, Nn = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
|
|
34
|
-
function
|
|
34
|
+
function Ln(e) {
|
|
35
35
|
let t = e === null ? "null" : typeof e;
|
|
36
36
|
if (t !== "string" && t !== "object") return `Unexpected doc '${t}',
|
|
37
37
|
Expected it to be 'string' or 'object'.`;
|
|
@@ -42,13 +42,13 @@ Expected it to be 'string' or 'object'.`;
|
|
|
42
42
|
return `Unexpected doc.type '${e.type}'.
|
|
43
43
|
Expected it to be ${n}.`;
|
|
44
44
|
}
|
|
45
|
-
var
|
|
45
|
+
var Bn = class extends Error {
|
|
46
46
|
constructor(t) {
|
|
47
|
-
super(
|
|
48
|
-
|
|
47
|
+
super(Ln(t));
|
|
48
|
+
h(this, "name", "InvalidDocError");
|
|
49
49
|
this.doc = t;
|
|
50
50
|
}
|
|
51
|
-
}, On =
|
|
51
|
+
}, On = Bn;
|
|
52
52
|
function xr(e, t) {
|
|
53
53
|
if (typeof e == "string") return t(e);
|
|
54
54
|
let r = /* @__PURE__ */ new Map();
|
|
@@ -80,7 +80,7 @@ function xr(e, t) {
|
|
|
80
80
|
case Ar:
|
|
81
81
|
case Tr:
|
|
82
82
|
case br:
|
|
83
|
-
case
|
|
83
|
+
case ne:
|
|
84
84
|
case bt:
|
|
85
85
|
return t(i);
|
|
86
86
|
default:
|
|
@@ -88,12 +88,12 @@ function xr(e, t) {
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
return xr(e, (r) => typeof r == "string" ?
|
|
91
|
+
function F(e, t = Hn) {
|
|
92
|
+
return xr(e, (r) => typeof r == "string" ? ae(t, r.split(`
|
|
93
93
|
`)) : r);
|
|
94
94
|
}
|
|
95
95
|
var Fn = Dn;
|
|
96
|
-
function
|
|
96
|
+
function P(e) {
|
|
97
97
|
return { type: Et, contents: e };
|
|
98
98
|
}
|
|
99
99
|
function Pn(e, t) {
|
|
@@ -102,27 +102,27 @@ function Pn(e, t) {
|
|
|
102
102
|
function In(e) {
|
|
103
103
|
return Pn(Number.NEGATIVE_INFINITY, e);
|
|
104
104
|
}
|
|
105
|
-
var
|
|
105
|
+
var be = { type: bt };
|
|
106
106
|
function Nr(e) {
|
|
107
107
|
return { type: At, parts: e };
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function k(e, t = {}) {
|
|
110
110
|
return Fn(t.expandedStates), { type: St, id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates };
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Se(e, t = "", r = {}) {
|
|
113
113
|
return { type: Tt, breakContents: e, flatContents: t, groupId: r.groupId };
|
|
114
114
|
}
|
|
115
115
|
function Rn(e, t) {
|
|
116
116
|
return { type: kt, contents: e, groupId: t.groupId, negate: t.negate };
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function ae(e, t) {
|
|
119
119
|
let r = [];
|
|
120
120
|
for (let n = 0; n < t.length; n++) n !== 0 && r.push(e), r.push(t[n]);
|
|
121
121
|
return r;
|
|
122
122
|
}
|
|
123
|
-
var
|
|
123
|
+
var A = { type: ne }, b = { type: ne, soft: !0 }, Mn = { type: ne, hard: !0 }, S = [Mn, be], qn = { type: ne, hard: !0, literal: !0 }, Hn = [qn, be], Lr = Object.freeze({ character: "'", codePoint: 39 }), Br = Object.freeze({ character: '"', codePoint: 34 }), Un = Object.freeze({ preferred: Lr, alternate: Br }), Vn = Object.freeze({ preferred: Br, alternate: Lr });
|
|
124
124
|
function Wn(e, t) {
|
|
125
|
-
let { preferred: r, alternate: n } = t === !0 || t === "'" ?
|
|
125
|
+
let { preferred: r, alternate: n } = t === !0 || t === "'" ? Un : Vn, { length: a } = e, i = 0, s = 0;
|
|
126
126
|
for (let o = 0; o < a; o++) {
|
|
127
127
|
let l = e.charCodeAt(o);
|
|
128
128
|
l === r.codePoint ? i++ : l === n.codePoint && s++;
|
|
@@ -134,19 +134,19 @@ function $n(e) {
|
|
|
134
134
|
if (typeof e != "string") throw new TypeError("Expected a string");
|
|
135
135
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
136
136
|
}
|
|
137
|
-
var
|
|
137
|
+
var x, We, Or, fr, jn = (fr = class {
|
|
138
138
|
constructor(e) {
|
|
139
|
-
Ze(this,
|
|
140
|
-
Ze(this,
|
|
141
|
-
Rt(this,
|
|
139
|
+
Ze(this, We);
|
|
140
|
+
Ze(this, x);
|
|
141
|
+
Rt(this, x, new Set(e));
|
|
142
142
|
}
|
|
143
143
|
getLeadingWhitespaceCount(e) {
|
|
144
|
-
let t =
|
|
144
|
+
let t = R(this, x), r = 0;
|
|
145
145
|
for (let n = 0; n < e.length && t.has(e.charAt(n)); n++) r++;
|
|
146
146
|
return r;
|
|
147
147
|
}
|
|
148
148
|
getTrailingWhitespaceCount(e) {
|
|
149
|
-
let t =
|
|
149
|
+
let t = R(this, x), r = 0;
|
|
150
150
|
for (let n = e.length - 1; n >= 0 && t.has(e.charAt(n)); n--) r++;
|
|
151
151
|
return r;
|
|
152
152
|
}
|
|
@@ -159,10 +159,10 @@ var D, Ve, Or, fr, jn = (fr = class {
|
|
|
159
159
|
return e.slice(e.length - t);
|
|
160
160
|
}
|
|
161
161
|
hasLeadingWhitespace(e) {
|
|
162
|
-
return
|
|
162
|
+
return R(this, x).has(e.charAt(0));
|
|
163
163
|
}
|
|
164
164
|
hasTrailingWhitespace(e) {
|
|
165
|
-
return
|
|
165
|
+
return R(this, x).has(re(0, e, -1));
|
|
166
166
|
}
|
|
167
167
|
trimStart(e) {
|
|
168
168
|
let t = this.getLeadingWhitespaceCount(e);
|
|
@@ -176,28 +176,28 @@ var D, Ve, Or, fr, jn = (fr = class {
|
|
|
176
176
|
return this.trimEnd(this.trimStart(e));
|
|
177
177
|
}
|
|
178
178
|
split(e, t = !1) {
|
|
179
|
-
let r = `[${$n([...
|
|
179
|
+
let r = `[${$n([...R(this, x)].join(""))}]+`, n = new RegExp(t ? `(${r})` : r, "u");
|
|
180
180
|
return e.split(n);
|
|
181
181
|
}
|
|
182
182
|
hasWhitespaceCharacter(e) {
|
|
183
|
-
let t =
|
|
183
|
+
let t = R(this, x);
|
|
184
184
|
return Array.prototype.some.call(e, (r) => t.has(r));
|
|
185
185
|
}
|
|
186
186
|
hasNonWhitespaceCharacter(e) {
|
|
187
|
-
let t =
|
|
187
|
+
let t = R(this, x);
|
|
188
188
|
return Array.prototype.some.call(e, (r) => !t.has(r));
|
|
189
189
|
}
|
|
190
190
|
isWhitespaceOnly(e) {
|
|
191
|
-
let t =
|
|
191
|
+
let t = R(this, x);
|
|
192
192
|
return Array.prototype.every.call(e, (r) => t.has(r));
|
|
193
193
|
}
|
|
194
194
|
dedentString(e) {
|
|
195
|
-
let t = Mt(this,
|
|
195
|
+
let t = Mt(this, We, Or).call(this, e);
|
|
196
196
|
return t === 0 ? e : e.split(`
|
|
197
197
|
`).map((r) => r.slice(t)).join(`
|
|
198
198
|
`);
|
|
199
199
|
}
|
|
200
|
-
},
|
|
200
|
+
}, x = new WeakMap(), We = new WeakSet(), Or = function(e) {
|
|
201
201
|
let t = Number.POSITIVE_INFINITY;
|
|
202
202
|
for (let r of e.split(`
|
|
203
203
|
`)) {
|
|
@@ -208,10 +208,10 @@ var D, Ve, Or, fr, jn = (fr = class {
|
|
|
208
208
|
}
|
|
209
209
|
return t === Number.POSITIVE_INFINITY ? 0 : t;
|
|
210
210
|
}, fr), Xn = jn, Gn = [" ", `
|
|
211
|
-
`, "\f", "\r", " "], Kn = new Xn(Gn),
|
|
211
|
+
`, "\f", "\r", " "], Kn = new Xn(Gn), L = Kn, Yn = class extends Error {
|
|
212
212
|
constructor(t, r, n = "type") {
|
|
213
213
|
super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);
|
|
214
|
-
|
|
214
|
+
h(this, "name", "UnexpectedNodeError");
|
|
215
215
|
this.node = t;
|
|
216
216
|
}
|
|
217
217
|
}, Jn = Yn, Qn = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), Zn = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
|
|
@@ -220,17 +220,17 @@ function Fr(e, t, r) {
|
|
|
220
220
|
if (e.kind === "text" || e.kind === "comment") return null;
|
|
221
221
|
if (e.kind === "yaml" && delete t.value, e.kind === "attribute") {
|
|
222
222
|
let { fullName: a, value: i } = e;
|
|
223
|
-
a === "style" || a === "class" || a === "srcset" && (r.fullName === "img" || r.fullName === "source") || a === "allow" && r.fullName === "iframe" || a.startsWith("on") || a.startsWith("@") || a.startsWith(":") || a.startsWith(".") || a.startsWith("#") || a.startsWith("v-") || a === "vars" && r.fullName === "style" || (a === "setup" || a === "generic") && r.fullName === "script" || a === "slot-scope" || a.startsWith("(") || a.startsWith("[") || a.startsWith("*") || a.startsWith("bind") || a.startsWith("i18n") || a.startsWith("on-") || a.startsWith("ng-") || i != null && i.includes("{{") ? delete t.value : i && (t.value =
|
|
223
|
+
a === "style" || a === "class" || a === "srcset" && (r.fullName === "img" || r.fullName === "source") || a === "allow" && r.fullName === "iframe" || a.startsWith("on") || a.startsWith("@") || a.startsWith(":") || a.startsWith(".") || a.startsWith("#") || a.startsWith("v-") || a === "vars" && r.fullName === "style" || (a === "setup" || a === "generic") && r.fullName === "script" || a === "slot-scope" || a.startsWith("(") || a.startsWith("[") || a.startsWith("*") || a.startsWith("bind") || a.startsWith("i18n") || a.startsWith("on-") || a.startsWith("ng-") || i != null && i.includes("{{") ? delete t.value : i && (t.value = w(0, i, /'|"|'/gu, '"'));
|
|
224
224
|
}
|
|
225
|
-
if (e.kind === "docType" && (t.value =
|
|
225
|
+
if (e.kind === "docType" && (t.value = w(0, e.value.toLowerCase(), /\s+/gu, " ")), e.kind === "angularControlFlowBlock" && ((n = e.parameters) == null ? void 0 : n.children)) for (let a of t.parameters.children) Zn.has(e.name) ? delete a.expression : a.expression = a.expression.trim();
|
|
226
226
|
e.kind === "angularIcuExpression" && (t.switchValue = e.switchValue.trim()), e.kind === "angularLetDeclarationInitializer" && delete t.value, e.kind === "element" && e.isVoid && !e.isSelfClosing && (t.isSelfClosing = !0);
|
|
227
227
|
}
|
|
228
228
|
Fr.ignoredProperties = Qn;
|
|
229
229
|
var ea = Fr;
|
|
230
|
-
function
|
|
231
|
-
return [
|
|
230
|
+
function we(e, t = !0) {
|
|
231
|
+
return [P([b, e]), t ? b : ""];
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function ie(e, t) {
|
|
234
234
|
let r = e.type === "NGRoot" ? e.node.type === "NGMicrosyntax" && e.node.body.length === 1 && e.node.body[0].type === "NGMicrosyntaxExpression" ? e.node.body[0].expression : e.node : e.type === "JsExpressionRoot" ? e.node : e;
|
|
235
235
|
return r && (r.type === "ObjectExpression" || r.type === "ArrayExpression" || (t.parser === "__vue_expression" || t.parser === "__vue_ts_expression" || t.parser === "__ng_binding" || t.parser === "__ng_directive") && (r.type === "TemplateLiteral" || r.type === "StringLiteral"));
|
|
236
236
|
}
|
|
@@ -241,11 +241,11 @@ async function B(e, t, r, n) {
|
|
|
241
241
|
a = n(s, o);
|
|
242
242
|
});
|
|
243
243
|
let i = await t(e, r, t);
|
|
244
|
-
return a ?
|
|
244
|
+
return a ? k(i) : we(i);
|
|
245
245
|
}
|
|
246
246
|
function ta(e, t, r, n) {
|
|
247
247
|
let { node: a } = r, i = n.originalText.slice(a.sourceSpan.start.offset, a.sourceSpan.end.offset);
|
|
248
|
-
return /^\s*$/u.test(i) ? "" : B(i, e, { parser: "__ng_directive", __isInHtmlAttribute: !1 },
|
|
248
|
+
return /^\s*$/u.test(i) ? "" : B(i, e, { parser: "__ng_directive", __isInHtmlAttribute: !1 }, ie);
|
|
249
249
|
}
|
|
250
250
|
var ra = ta, na = Array.prototype.toReversed ?? function() {
|
|
251
251
|
return [...this].reverse();
|
|
@@ -287,7 +287,7 @@ function ma(e, t) {
|
|
|
287
287
|
if (t) return e.find(({ name: r }) => r.toLowerCase() === t) ?? e.find(({ aliases: r }) => r == null ? void 0 : r.includes(t)) ?? e.find(({ extensions: r }) => r == null ? void 0 : r.includes(`.${t}`));
|
|
288
288
|
}
|
|
289
289
|
var et = void 0;
|
|
290
|
-
function
|
|
290
|
+
function Ut(e, t) {
|
|
291
291
|
if (t) {
|
|
292
292
|
if (ha(t)) try {
|
|
293
293
|
t = ca(t);
|
|
@@ -300,71 +300,71 @@ function Vt(e, t) {
|
|
|
300
300
|
function ga(e, t) {
|
|
301
301
|
var n;
|
|
302
302
|
let r = ia(0, e.plugins).flatMap((a) => a.languages ?? []);
|
|
303
|
-
return (n = ma(r, t.language) ?? Ht(r, t.physicalFile) ?? Ht(r, t.file) ??
|
|
303
|
+
return (n = ma(r, t.language) ?? Ht(r, t.physicalFile) ?? Ht(r, t.file) ?? Ut(r, t.physicalFile) ?? Ut(r, t.file) ?? (et == null ? void 0 : et(r, t.physicalFile))) == null ? void 0 : n.parsers[0];
|
|
304
304
|
}
|
|
305
305
|
var yt = ga, Ir = Symbol.for("PRETTIER_IS_FRONT_MATTER");
|
|
306
306
|
function fa(e) {
|
|
307
307
|
return !!(e != null && e[Ir]);
|
|
308
308
|
}
|
|
309
|
-
var
|
|
309
|
+
var ze = fa, le = 3;
|
|
310
310
|
function _a(e) {
|
|
311
|
-
let t = e.slice(0,
|
|
311
|
+
let t = e.slice(0, le);
|
|
312
312
|
if (t !== "---" && t !== "+++") return;
|
|
313
313
|
let r = e.indexOf(`
|
|
314
|
-
`,
|
|
314
|
+
`, le);
|
|
315
315
|
if (r === -1) return;
|
|
316
|
-
let n = e.slice(
|
|
316
|
+
let n = e.slice(le, r).trim(), a = e.indexOf(`
|
|
317
317
|
${t}`, r), i = n;
|
|
318
318
|
if (i || (i = t === "+++" ? "toml" : "yaml"), a === -1 && t === "---" && i === "yaml" && (a = e.indexOf(`
|
|
319
319
|
...`, r)), a === -1) return;
|
|
320
|
-
let s = a + 1 +
|
|
320
|
+
let s = a + 1 + le, o = e.charAt(s + 1);
|
|
321
321
|
if (!/\s?/u.test(o)) return;
|
|
322
322
|
let l = e.slice(0, s), c;
|
|
323
|
-
return { language: i, explicitLanguage: n || null, value: e.slice(r + 1, a), startDelimiter: t, endDelimiter: l.slice(-
|
|
323
|
+
return { language: i, explicitLanguage: n || null, value: e.slice(r + 1, a), startDelimiter: t, endDelimiter: l.slice(-le), raw: l, start: { line: 1, column: 0, index: 0 }, end: { index: l.length, get line() {
|
|
324
324
|
return c ?? (c = l.split(`
|
|
325
325
|
`)), c.length;
|
|
326
326
|
}, get column() {
|
|
327
327
|
return c ?? (c = l.split(`
|
|
328
|
-
`)),
|
|
328
|
+
`)), re(0, c, -1).length;
|
|
329
329
|
} }, [Ir]: !0 };
|
|
330
330
|
}
|
|
331
331
|
function Ca(e) {
|
|
332
332
|
let t = _a(e);
|
|
333
333
|
return t ? { frontMatter: t, get content() {
|
|
334
334
|
let { raw: r } = t;
|
|
335
|
-
return
|
|
335
|
+
return w(0, r, /[^\n]/gu, " ") + e.slice(r.length);
|
|
336
336
|
} } : { content: e };
|
|
337
337
|
}
|
|
338
|
-
var Ea = Ca, va = "inline",
|
|
338
|
+
var Ea = Ca, va = "inline", Vt = { 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", select: "inline-block", source: "block", track: "block", meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-block", audio: "inline-block", option: "block", optgroup: "block" }, Sa = "normal", Wt = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
|
|
339
339
|
function Aa(e) {
|
|
340
340
|
return e.kind === "element" && !e.hasExplicitNamespace && !["html", "svg"].includes(e.namespace);
|
|
341
341
|
}
|
|
342
|
-
var
|
|
343
|
-
let t = e, r =
|
|
342
|
+
var ye = Aa, Ta = (e) => w(0, e, /^[\t\f\r ]*\n/gu, ""), Rr = (e) => Ta(L.trimEnd(e)), ka = (e) => {
|
|
343
|
+
let t = e, r = L.getLeadingWhitespace(t);
|
|
344
344
|
r && (t = t.slice(r.length));
|
|
345
|
-
let n =
|
|
345
|
+
let n = L.getTrailingWhitespace(t);
|
|
346
346
|
return n && (t = t.slice(0, -n.length)), { leadingWhitespace: r, trailingWhitespace: n, text: t };
|
|
347
347
|
};
|
|
348
348
|
function Mr(e, t) {
|
|
349
|
-
return !!(e.kind === "ieConditionalComment" && e.lastChild && !e.lastChild.isSelfClosing && !e.lastChild.endSourceSpan || e.kind === "ieConditionalComment" && !e.complete ||
|
|
349
|
+
return !!(e.kind === "ieConditionalComment" && e.lastChild && !e.lastChild.isSelfClosing && !e.lastChild.endSourceSpan || e.kind === "ieConditionalComment" && !e.complete || te(e) && e.children.some((r) => r.kind !== "text" && r.kind !== "interpolation") || xt(e, t) && !H(e, t) && e.kind !== "interpolation");
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function $e(e) {
|
|
352
352
|
return e.kind === "attribute" || !e.parent || !e.prev ? !1 : ba(e.prev);
|
|
353
353
|
}
|
|
354
354
|
function ba(e) {
|
|
355
355
|
return e.kind === "comment" && e.value.trim() === "prettier-ignore";
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function N(e) {
|
|
358
358
|
return e.kind === "text" || e.kind === "comment";
|
|
359
359
|
}
|
|
360
|
-
function
|
|
361
|
-
return e.kind === "element" && (e.fullName === "script" || e.fullName === "style" || e.fullName === "svg:style" || e.fullName === "svg:script" || e.fullName === "mj-style" && t.parser === "mjml" ||
|
|
360
|
+
function H(e, t) {
|
|
361
|
+
return e.kind === "element" && (e.fullName === "script" || e.fullName === "style" || e.fullName === "svg:style" || e.fullName === "svg:script" || e.fullName === "mj-style" && t.parser === "mjml" || ye(e) && (e.name === "script" || e.name === "style"));
|
|
362
362
|
}
|
|
363
363
|
function wa(e, t) {
|
|
364
|
-
return e.children && !
|
|
364
|
+
return e.children && !H(e, t);
|
|
365
365
|
}
|
|
366
366
|
function ya(e, t) {
|
|
367
|
-
return
|
|
367
|
+
return H(e, t) || e.kind === "interpolation" || qr(e);
|
|
368
368
|
}
|
|
369
369
|
function qr(e) {
|
|
370
370
|
return jr(e).startsWith("pre");
|
|
@@ -375,34 +375,34 @@ function Da(e, t) {
|
|
|
375
375
|
if (r && !e.prev && ((i = (a = e.parent) == null ? void 0 : a.tagDefinition) != null && i.ignoreFirstLf)) return e.kind === "interpolation";
|
|
376
376
|
return r;
|
|
377
377
|
function n() {
|
|
378
|
-
return
|
|
378
|
+
return ze(e) || e.kind === "angularControlFlowBlock" ? !1 : (e.kind === "text" || e.kind === "interpolation") && e.prev && (e.prev.kind === "text" || e.prev.kind === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : te(e.parent) ? !0 : !(!e.prev && (e.parent.kind === "root" || te(e) && e.parent || H(e.parent, t) || je(e.parent, t) || !Ra(e.parent.cssDisplay)) || e.prev && !Ha(e.prev.cssDisplay));
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
function xa(e, t) {
|
|
382
|
-
return
|
|
382
|
+
return ze(e) || e.kind === "angularControlFlowBlock" ? !1 : (e.kind === "text" || e.kind === "interpolation") && e.next && (e.next.kind === "text" || e.next.kind === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : te(e.parent) ? !0 : !(!e.next && (e.parent.kind === "root" || te(e) && e.parent || H(e.parent, t) || je(e.parent, t) || !Ma(e.parent.cssDisplay)) || e.next && !qa(e.next.cssDisplay));
|
|
383
383
|
}
|
|
384
384
|
function Na(e, t) {
|
|
385
|
-
return
|
|
385
|
+
return Ua(e.cssDisplay) && !H(e, t);
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
return
|
|
387
|
+
function Ie(e) {
|
|
388
|
+
return ze(e) || e.next && e.sourceSpan.end && e.sourceSpan.end.line + 1 < e.next.sourceSpan.start.line;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
391
|
-
return Hr(e) || e.kind === "element" && e.children.length > 0 && (["body", "script", "style"].includes(e.name) || e.children.some((t) => Oa(t))) || e.firstChild && e.firstChild === e.lastChild && e.firstChild.kind !== "text" &&
|
|
390
|
+
function La(e) {
|
|
391
|
+
return Hr(e) || e.kind === "element" && e.children.length > 0 && (["body", "script", "style"].includes(e.name) || e.children.some((t) => Oa(t))) || e.firstChild && e.firstChild === e.lastChild && e.firstChild.kind !== "text" && Vr(e.firstChild) && (!e.lastChild.isTrailingSpaceSensitive || Wr(e.lastChild));
|
|
392
392
|
}
|
|
393
393
|
function Hr(e) {
|
|
394
394
|
return e.kind === "element" && e.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(e.name) || e.cssDisplay.startsWith("table") && e.cssDisplay !== "table-cell");
|
|
395
395
|
}
|
|
396
396
|
function tt(e) {
|
|
397
|
-
return zr(e) || e.prev &&
|
|
398
|
-
}
|
|
399
|
-
function La(e) {
|
|
400
|
-
return zr(e) || e.kind === "element" && e.fullName === "br" || Vr(e);
|
|
397
|
+
return zr(e) || e.prev && Ba(e.prev) || Ur(e);
|
|
401
398
|
}
|
|
402
|
-
function
|
|
403
|
-
return
|
|
399
|
+
function Ba(e) {
|
|
400
|
+
return zr(e) || e.kind === "element" && e.fullName === "br" || Ur(e);
|
|
404
401
|
}
|
|
405
402
|
function Ur(e) {
|
|
403
|
+
return Vr(e) && Wr(e);
|
|
404
|
+
}
|
|
405
|
+
function Vr(e) {
|
|
406
406
|
return e.hasLeadingSpaces && (e.prev ? e.prev.sourceSpan.end.line < e.sourceSpan.start.line : e.parent.kind === "root" || e.parent.startSourceSpan.end.line < e.sourceSpan.start.line);
|
|
407
407
|
}
|
|
408
408
|
function Wr(e) {
|
|
@@ -469,28 +469,28 @@ function Ia(e, t) {
|
|
|
469
469
|
function zt(e, t) {
|
|
470
470
|
return Fa(e, t) ?? Ia(e, t) ?? Pa(e, t);
|
|
471
471
|
}
|
|
472
|
-
function
|
|
472
|
+
function De(e) {
|
|
473
473
|
return e === "block" || e === "list-item" || e.startsWith("table");
|
|
474
474
|
}
|
|
475
475
|
function Ra(e) {
|
|
476
|
-
return !
|
|
476
|
+
return !De(e) && e !== "inline-block";
|
|
477
477
|
}
|
|
478
478
|
function Ma(e) {
|
|
479
|
-
return !
|
|
479
|
+
return !De(e) && e !== "inline-block";
|
|
480
480
|
}
|
|
481
481
|
function qa(e) {
|
|
482
|
-
return !
|
|
482
|
+
return !De(e);
|
|
483
483
|
}
|
|
484
484
|
function Ha(e) {
|
|
485
|
-
return !
|
|
485
|
+
return !De(e);
|
|
486
486
|
}
|
|
487
|
-
function
|
|
488
|
-
return !
|
|
487
|
+
function Ua(e) {
|
|
488
|
+
return !De(e) && e !== "inline-block";
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function te(e) {
|
|
491
491
|
return jr(e).startsWith("pre");
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function Va(e, t) {
|
|
494
494
|
let r = e;
|
|
495
495
|
for (; r; ) {
|
|
496
496
|
if (t(r)) return !0;
|
|
@@ -500,13 +500,13 @@ function Ua(e, t) {
|
|
|
500
500
|
}
|
|
501
501
|
function Wa(e, t) {
|
|
502
502
|
var n;
|
|
503
|
-
if (
|
|
503
|
+
if (se(e, t)) return "block";
|
|
504
504
|
if (((n = e.prev) == null ? void 0 : n.kind) === "comment") {
|
|
505
505
|
let a = e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);
|
|
506
506
|
if (a) return a[1];
|
|
507
507
|
}
|
|
508
508
|
let r = !1;
|
|
509
|
-
if (e.kind === "element" && e.namespace === "svg") if (
|
|
509
|
+
if (e.kind === "element" && e.namespace === "svg") if (Va(e, (a) => a.fullName === "svg:foreignObject")) r = !0;
|
|
510
510
|
else return e.name === "svg" ? "inline-block" : "block";
|
|
511
511
|
switch (t.htmlWhitespaceSensitivity) {
|
|
512
512
|
case "strict":
|
|
@@ -514,28 +514,28 @@ function Wa(e, t) {
|
|
|
514
514
|
case "ignore":
|
|
515
515
|
return "block";
|
|
516
516
|
default:
|
|
517
|
-
if (e.kind === "element" && (!e.namespace || r ||
|
|
517
|
+
if (e.kind === "element" && (!e.namespace || r || ye(e)) && Object.prototype.hasOwnProperty.call(Vt, e.name)) return Vt[e.name];
|
|
518
518
|
}
|
|
519
519
|
return va;
|
|
520
520
|
}
|
|
521
521
|
function jr(e) {
|
|
522
|
-
return e.kind === "element" && (!e.namespace ||
|
|
522
|
+
return e.kind === "element" && (!e.namespace || ye(e)) && Object.prototype.hasOwnProperty.call(Wt, e.name) ? Wt[e.name] : Sa;
|
|
523
523
|
}
|
|
524
524
|
function Xr(e) {
|
|
525
|
-
return
|
|
525
|
+
return w(0, w(0, e, "'", "'"), """, '"');
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function y(e) {
|
|
528
528
|
return Xr(e.value);
|
|
529
529
|
}
|
|
530
530
|
var za = /* @__PURE__ */ new Set(["template", "style", "script"]);
|
|
531
|
-
function
|
|
532
|
-
return
|
|
531
|
+
function je(e, t) {
|
|
532
|
+
return se(e, t) && !za.has(e.fullName);
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function se(e, t) {
|
|
535
535
|
return t.parser === "vue" && e.kind === "element" && e.parent.kind === "root" && e.fullName.toLowerCase() !== "html";
|
|
536
536
|
}
|
|
537
537
|
function xt(e, t) {
|
|
538
|
-
return
|
|
538
|
+
return se(e, t) && (je(e, t) || e.attrMap.lang && e.attrMap.lang !== "html");
|
|
539
539
|
}
|
|
540
540
|
function $a(e) {
|
|
541
541
|
let t = e.fullName;
|
|
@@ -543,15 +543,15 @@ function $a(e) {
|
|
|
543
543
|
}
|
|
544
544
|
function ja(e, t) {
|
|
545
545
|
let r = e.parent;
|
|
546
|
-
if (!
|
|
546
|
+
if (!se(r, t)) return !1;
|
|
547
547
|
let n = r.fullName, a = e.fullName;
|
|
548
548
|
return n === "script" && a === "setup" || n === "style" && a === "vars";
|
|
549
549
|
}
|
|
550
550
|
function Gr(e, t = e.value) {
|
|
551
|
-
return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ?
|
|
551
|
+
return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? F(t) : F(L.dedentString(Rr(t)), S) : ae(A, L.split(t));
|
|
552
552
|
}
|
|
553
553
|
function Kr(e, t) {
|
|
554
|
-
return
|
|
554
|
+
return se(e, t) && e.name === "script";
|
|
555
555
|
}
|
|
556
556
|
function Xa(e) {
|
|
557
557
|
let { valueSpan: t, value: r } = e;
|
|
@@ -564,16 +564,16 @@ function Yr(e, t) {
|
|
|
564
564
|
}
|
|
565
565
|
var Jr = /\{\{(.+?)\}\}/su, Ga = ({ node: { value: e } }) => Jr.test(e);
|
|
566
566
|
async function Ka(e, t, r) {
|
|
567
|
-
let n =
|
|
568
|
-
for (let [i, s] of n.split(Jr).entries()) if (i % 2 === 0) a.push(
|
|
567
|
+
let n = y(r.node), a = [];
|
|
568
|
+
for (let [i, s] of n.split(Jr).entries()) if (i % 2 === 0) a.push(F(s));
|
|
569
569
|
else try {
|
|
570
|
-
a.push(
|
|
570
|
+
a.push(k(["{{", P([A, await B(s, e, { parser: "__ng_interpolation", __isInHtmlInterpolation: !0 })]), A, "}}"]));
|
|
571
571
|
} catch {
|
|
572
|
-
a.push("{{",
|
|
572
|
+
a.push("{{", F(s), "}}");
|
|
573
573
|
}
|
|
574
574
|
return a;
|
|
575
575
|
}
|
|
576
|
-
var rt = (e) => (t, r, n) => B(
|
|
576
|
+
var rt = (e) => (t, r, n) => B(y(n.node), t, { parser: e }, ie), Ya = [{ test(e) {
|
|
577
577
|
let t = e.node.fullName;
|
|
578
578
|
return t.startsWith("(") && t.endsWith(")") || t.startsWith("on-");
|
|
579
579
|
}, print: rt("__ng_action") }, { test(e) {
|
|
@@ -581,23 +581,23 @@ var rt = (e) => (t, r, n) => B(w(n.node), t, { parser: e }, ae), Ya = [{ test(e)
|
|
|
581
581
|
return t.startsWith("[") && t.endsWith("]") || /^bind(?:on)?-/u.test(t) || /^ng-(?:if|show|hide|class|style)$/u.test(t);
|
|
582
582
|
}, print: rt("__ng_binding") }, { test: (e) => e.node.fullName.startsWith("*"), print: rt("__ng_directive") }, { test: (e) => /^i18n(?:-.+)?$/u.test(e.node.fullName), print: Ja }, { test: Ga, print: Ka }].map(({ test: e, print: t }) => ({ test: (r, n) => n.parser === "angular" && e(r), print: t }));
|
|
583
583
|
function Ja(e, t, { node: r }) {
|
|
584
|
-
let n =
|
|
585
|
-
return
|
|
584
|
+
let n = y(r);
|
|
585
|
+
return we(Nr(Gr(r, n.trim())), !n.includes("@@"));
|
|
586
586
|
}
|
|
587
|
-
var Qa = Ya, Za = ({ node: e }, t) => !t.parentParser && e.fullName === "class" && !e.value.includes("{{"), ei = (e, t, r) =>
|
|
587
|
+
var Qa = Ya, Za = ({ node: e }, t) => !t.parentParser && e.fullName === "class" && !e.value.includes("{{"), ei = (e, t, r) => y(r.node).trim().split(/\s+/u).join(" "), ti = ["onabort", "onafterprint", "onauxclick", "onbeforeinput", "onbeforematch", "onbeforeprint", "onbeforetoggle", "onbeforeunload", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncommand", "oncontextlost", "oncontextmenu", "oncontextrestored", "oncopy", "oncuechange", "oncut", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onformdata", "onhashchange", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onlanguagechange", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmessage", "onmessageerror", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onoffline", "ononline", "onpagehide", "onpagereveal", "onpageshow", "onpageswap", "onpaste", "onpause", "onplay", "onplaying", "onpopstate", "onprogress", "onratechange", "onrejectionhandled", "onreset", "onresize", "onscroll", "onscrollend", "onsecuritypolicyviolation", "onseeked", "onseeking", "onselect", "onslotchange", "onstalled", "onstorage", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "onunhandledrejection", "onunload", "onvolumechange", "onwaiting", "onwheel"], ri = new Set(ti), ni = ({ node: e }, t) => ri.has(e.fullName) && !t.parentParser && !e.value.includes("{{"), ai = (e, t, r) => B(y(r.node), e, { parser: "babel", __isHtmlInlineEventHandler: !0 }, () => !1);
|
|
588
588
|
function ii(e) {
|
|
589
589
|
let t = [];
|
|
590
590
|
for (let r of e.split(";")) {
|
|
591
|
-
if (r =
|
|
592
|
-
let [n, ...a] =
|
|
591
|
+
if (r = L.trim(r), !r) continue;
|
|
592
|
+
let [n, ...a] = L.split(r);
|
|
593
593
|
t.push({ name: n, value: a });
|
|
594
594
|
}
|
|
595
595
|
return t;
|
|
596
596
|
}
|
|
597
597
|
var si = ii, oi = ({ node: e }, t) => e.fullName === "allow" && !t.parentParser && e.parent.fullName === "iframe" && !e.value.includes("{{");
|
|
598
598
|
function ui(e, t, r) {
|
|
599
|
-
let { node: n } = r, a = si(
|
|
600
|
-
return a.length === 0 ? [""] :
|
|
599
|
+
let { node: n } = r, a = si(y(n));
|
|
600
|
+
return a.length === 0 ? [""] : we(a.map(({ name: i, value: s }, o) => [[i, ...s].join(" "), o === a.length - 1 ? Se(";") : [";", A]]));
|
|
601
601
|
}
|
|
602
602
|
function $t(e) {
|
|
603
603
|
return e === " " || e === `
|
|
@@ -606,9 +606,9 @@ function $t(e) {
|
|
|
606
606
|
var li = /^[ \t\n\r\u000c]+/, ci = /^[, \t\n\r\u000c]+/, pi = /^[^ \t\n\r\u000c]+/, hi = /[,]+$/, jt = /^\d+$/, di = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
|
|
607
607
|
function mi(e) {
|
|
608
608
|
let t = e.length, r, n, a, i, s, o = 0, l;
|
|
609
|
-
function c(
|
|
610
|
-
let
|
|
611
|
-
if (
|
|
609
|
+
function c(d) {
|
|
610
|
+
let C, v = d.exec(e.substring(o));
|
|
611
|
+
if (v) return [C] = v, o += C.length, C;
|
|
612
612
|
}
|
|
613
613
|
let p = [];
|
|
614
614
|
for (; ; ) {
|
|
@@ -616,79 +616,79 @@ function mi(e) {
|
|
|
616
616
|
if (p.length === 0) throw new Error("Must contain one or more image candidate strings.");
|
|
617
617
|
return p;
|
|
618
618
|
}
|
|
619
|
-
l = o, r = c(pi), n = [], r.slice(-1) === "," ? (r = r.replace(hi, ""),
|
|
619
|
+
l = o, r = c(pi), n = [], r.slice(-1) === "," ? (r = r.replace(hi, ""), _()) : f();
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function f() {
|
|
622
622
|
for (c(li), a = "", i = "in descriptor"; ; ) {
|
|
623
623
|
if (s = e.charAt(o), i === "in descriptor") if ($t(s)) a && (n.push(a), a = "", i = "after descriptor");
|
|
624
624
|
else if (s === ",") {
|
|
625
|
-
o += 1, a && n.push(a),
|
|
625
|
+
o += 1, a && n.push(a), _();
|
|
626
626
|
return;
|
|
627
627
|
} else if (s === "(") a += s, i = "in parens";
|
|
628
628
|
else if (s === "") {
|
|
629
|
-
a && n.push(a),
|
|
629
|
+
a && n.push(a), _();
|
|
630
630
|
return;
|
|
631
631
|
} else a += s;
|
|
632
632
|
else if (i === "in parens") if (s === ")") a += s, i = "in descriptor";
|
|
633
633
|
else if (s === "") {
|
|
634
|
-
n.push(a),
|
|
634
|
+
n.push(a), _();
|
|
635
635
|
return;
|
|
636
636
|
} else a += s;
|
|
637
637
|
else if (i === "after descriptor" && !$t(s)) if (s === "") {
|
|
638
|
-
|
|
638
|
+
_();
|
|
639
639
|
return;
|
|
640
640
|
} else i = "in descriptor", o -= 1;
|
|
641
641
|
o += 1;
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
function
|
|
645
|
-
let
|
|
646
|
-
for (
|
|
647
|
-
if (!
|
|
648
|
-
else throw new Error(`Invalid srcset descriptor found in "${e}" at "${
|
|
644
|
+
function _() {
|
|
645
|
+
let d = !1, C, v, O, I, V = {}, U, Fe, Y, ue, Je;
|
|
646
|
+
for (I = 0; I < n.length; I++) U = n[I], Fe = U[U.length - 1], Y = U.substring(0, U.length - 1), ue = parseInt(Y, 10), Je = parseFloat(Y), jt.test(Y) && Fe === "w" ? ((C || v) && (d = !0), ue === 0 ? d = !0 : C = ue) : di.test(Y) && Fe === "x" ? ((C || v || O) && (d = !0), Je < 0 ? d = !0 : v = Je) : jt.test(Y) && Fe === "h" ? ((O || v) && (d = !0), ue === 0 ? d = !0 : O = ue) : d = !0;
|
|
647
|
+
if (!d) V.source = { value: r, startOffset: l }, C && (V.width = { value: C }), v && (V.density = { value: v }), O && (V.height = { value: O }), p.push(V);
|
|
648
|
+
else throw new Error(`Invalid srcset descriptor found in "${e}" at "${U}".`);
|
|
649
649
|
}
|
|
650
650
|
}
|
|
651
651
|
var gi = mi, fi = (e) => e.node.fullName === "srcset" && (e.parent.fullName === "img" || e.parent.fullName === "source"), Qr = { width: "w", height: "h", density: "x" }, _i = Object.keys(Qr);
|
|
652
652
|
function Ci(e, t, r) {
|
|
653
|
-
let n =
|
|
653
|
+
let n = y(r.node), a = gi(n), i = _i.filter((d) => a.some((C) => Object.prototype.hasOwnProperty.call(C, d)));
|
|
654
654
|
if (i.length > 1) throw new Error("Mixed descriptor in srcset is not supported");
|
|
655
|
-
let [s] = i, o = Qr[s], l = a.map((
|
|
656
|
-
let
|
|
657
|
-
return
|
|
658
|
-
}),
|
|
659
|
-
return
|
|
660
|
-
let
|
|
661
|
-
if (
|
|
662
|
-
let
|
|
663
|
-
|
|
664
|
-
}
|
|
665
|
-
return
|
|
655
|
+
let [s] = i, o = Qr[s], l = a.map((d) => d.source.value), c = Math.max(...l.map((d) => d.length)), p = a.map((d) => d[s] ? String(d[s].value) : ""), f = p.map((d) => {
|
|
656
|
+
let C = d.indexOf(".");
|
|
657
|
+
return C === -1 ? d.length : C;
|
|
658
|
+
}), _ = Math.max(...f);
|
|
659
|
+
return we(ae([",", A], l.map((d, C) => {
|
|
660
|
+
let v = [d], O = p[C];
|
|
661
|
+
if (O) {
|
|
662
|
+
let I = c - d.length + 1, V = _ - f[C], U = " ".repeat(I + V);
|
|
663
|
+
v.push(Se(U, " "), O + o);
|
|
664
|
+
}
|
|
665
|
+
return v;
|
|
666
666
|
})));
|
|
667
667
|
}
|
|
668
|
-
var Ei = ({ node: e }, t) => e.fullName === "style" && !t.parentParser && !e.value.includes("{{"), vi = async (e, t, r) =>
|
|
668
|
+
var Ei = ({ node: e }, t) => e.fullName === "style" && !t.parentParser && !e.value.includes("{{"), vi = async (e, t, r) => we(await e(y(r.node), { parser: "css", __isHTMLStyleAttribute: !0 })), nt = /* @__PURE__ */ new WeakMap();
|
|
669
669
|
function Si(e, t) {
|
|
670
670
|
let { root: r } = e;
|
|
671
671
|
return nt.has(r) || nt.set(r, r.children.some((n) => Kr(n, t) && ["ts", "typescript"].includes(n.attrMap.lang))), nt.get(r);
|
|
672
672
|
}
|
|
673
|
-
var
|
|
673
|
+
var oe = Si;
|
|
674
674
|
function Ai(e, t, r) {
|
|
675
|
-
let n =
|
|
676
|
-
return B(`type T<${n}> = any`, e, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: !0 },
|
|
675
|
+
let n = y(r.node);
|
|
676
|
+
return B(`type T<${n}> = any`, e, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: !0 }, ie);
|
|
677
677
|
}
|
|
678
678
|
function Ti(e, t, r, n) {
|
|
679
|
-
let a =
|
|
679
|
+
let a = y(r.node), i = oe(r, n) ? "babel-ts" : "babel";
|
|
680
680
|
return B(`function _(${a}) {}`, e, { parser: i, __isVueBindings: !0 });
|
|
681
681
|
}
|
|
682
682
|
async function ki(e, t, r, n) {
|
|
683
|
-
let a =
|
|
684
|
-
return [
|
|
683
|
+
let a = y(r.node), { left: i, operator: s, right: o } = bi(a), l = oe(r, n);
|
|
684
|
+
return [k(await B(`function _(${i}) {}`, e, { parser: l ? "babel-ts" : "babel", __isVueForBindingLeft: !0 })), " ", s, " ", await B(o, e, { parser: l ? "__ts_expression" : "__js_expression" })];
|
|
685
685
|
}
|
|
686
686
|
function bi(e) {
|
|
687
687
|
let t = /(.*?)\s+(in|of)\s+(.*)/su, r = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, n = /^\(|\)$/gu, a = e.match(t);
|
|
688
688
|
if (!a) return;
|
|
689
689
|
let i = { for: a[3].trim() };
|
|
690
690
|
if (!i.for) return;
|
|
691
|
-
let s =
|
|
691
|
+
let s = w(0, a[1].trim(), n, ""), o = s.match(r);
|
|
692
692
|
o ? (i.alias = s.replace(r, ""), i.iterator1 = o[1].trim(), o[2] && (i.iterator2 = o[2].trim())) : i.alias = s;
|
|
693
693
|
let l = [i.alias, i.iterator1, i.iterator2];
|
|
694
694
|
if (!l.some((c, p) => !c && (p === 0 || l.slice(p + 1).some(Boolean)))) return { left: l.filter(Boolean).join(","), operator: a[2], right: i.for };
|
|
@@ -707,44 +707,44 @@ async function yi(e, t, r, n) {
|
|
|
707
707
|
} catch (o) {
|
|
708
708
|
if (((s = o.cause) == null ? void 0 : s.code) !== "BABEL_PARSER_SYNTAX_ERROR") throw o;
|
|
709
709
|
}
|
|
710
|
-
let a =
|
|
711
|
-
return B(a, e, { parser: i },
|
|
710
|
+
let a = y(r.node), i = oe(r, n) ? "__vue_ts_event_binding" : "__vue_event_binding";
|
|
711
|
+
return B(a, e, { parser: i }, ie);
|
|
712
712
|
}
|
|
713
713
|
function Di(e, t, r, n) {
|
|
714
|
-
let a =
|
|
715
|
-
return B(a, e, { parser: i },
|
|
714
|
+
let a = y(r.node), i = oe(r, n) ? "__vue_ts_expression" : "__vue_expression";
|
|
715
|
+
return B(a, e, { parser: i }, ie);
|
|
716
716
|
}
|
|
717
717
|
function Zr(e, t, r, n) {
|
|
718
|
-
let a =
|
|
719
|
-
return B(a, e, { parser: i },
|
|
718
|
+
let a = y(r.node), i = oe(r, n) ? "__ts_expression" : "__js_expression";
|
|
719
|
+
return B(a, e, { parser: i }, ie);
|
|
720
720
|
}
|
|
721
|
-
var xi = wi, Ni = [{ test: fi, print: Ci }, { test: Ei, print: vi }, { test: ni, print: ai }, { test: Za, print: ei }, { test: oi, print: ui }, ...xi, ...Qa].map(({ test: e, print: t }) => ({ test: e, print:
|
|
722
|
-
function
|
|
721
|
+
var xi = wi, Ni = [{ test: fi, print: Ci }, { test: Ei, print: vi }, { test: ni, print: ai }, { test: Za, print: ei }, { test: oi, print: ui }, ...xi, ...Qa].map(({ test: e, print: t }) => ({ test: e, print: Bi(t) }));
|
|
722
|
+
function Li(e, t) {
|
|
723
723
|
var a;
|
|
724
724
|
let { node: r } = e, { value: n } = r;
|
|
725
725
|
if (n) return Yr(r, t) ? [r.rawName, "=", n] : (a = Ni.find(({ test: i }) => i(e, t))) == null ? void 0 : a.print;
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function Bi(e) {
|
|
728
728
|
return async (t, r, n, a) => {
|
|
729
729
|
let i = await e(t, r, n, a);
|
|
730
|
-
if (i) return i = xr(i, (s) => typeof s == "string" ?
|
|
730
|
+
if (i) return i = xr(i, (s) => typeof s == "string" ? w(0, s, '"', """) : s), [n.node.rawName, '="', k(i), '"'];
|
|
731
731
|
};
|
|
732
732
|
}
|
|
733
|
-
var Oi =
|
|
733
|
+
var Oi = Li, xe = (e) => e.sourceSpan.start.offset, Xe = (e) => e.sourceSpan.end.offset;
|
|
734
734
|
function ot(e, t) {
|
|
735
|
-
return [e.isSelfClosing ? "" : Fi(e, t),
|
|
735
|
+
return [e.isSelfClosing ? "" : Fi(e, t), fe(e, t)];
|
|
736
736
|
}
|
|
737
737
|
function Fi(e, t) {
|
|
738
|
-
return e.lastChild &&
|
|
738
|
+
return e.lastChild && Ae(e.lastChild) ? "" : [Pi(e, t), Nt(e, t)];
|
|
739
739
|
}
|
|
740
|
-
function
|
|
741
|
-
return (e.next ?
|
|
740
|
+
function fe(e, t) {
|
|
741
|
+
return (e.next ? X(e.next) : Le(e.parent)) ? "" : [Ne(e, t), j(e, t)];
|
|
742
742
|
}
|
|
743
743
|
function Pi(e, t) {
|
|
744
|
-
return
|
|
744
|
+
return Le(e) ? Ne(e.lastChild, t) : "";
|
|
745
745
|
}
|
|
746
|
-
function
|
|
747
|
-
return
|
|
746
|
+
function j(e, t) {
|
|
747
|
+
return Ae(e) ? Nt(e.parent, t) : Ge(e) ? Lt(e.next, t) : "";
|
|
748
748
|
}
|
|
749
749
|
function Nt(e, t) {
|
|
750
750
|
if (en(e, t)) return "";
|
|
@@ -757,7 +757,7 @@ function Nt(e, t) {
|
|
|
757
757
|
return `</${e.rawName}`;
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function Ne(e, t) {
|
|
761
761
|
if (en(e, t)) return "";
|
|
762
762
|
switch (e.kind) {
|
|
763
763
|
case "ieConditionalComment":
|
|
@@ -776,50 +776,50 @@ function De(e, t) {
|
|
|
776
776
|
}
|
|
777
777
|
}
|
|
778
778
|
function en(e, t) {
|
|
779
|
-
return !e.isSelfClosing && !e.endSourceSpan && (
|
|
779
|
+
return !e.isSelfClosing && !e.endSourceSpan && ($e(e) || Mr(e.parent, t));
|
|
780
780
|
}
|
|
781
|
-
function
|
|
782
|
-
return e.prev && e.prev.kind !== "docType" && e.kind !== "angularControlFlowBlock" && !
|
|
781
|
+
function X(e) {
|
|
782
|
+
return e.prev && e.prev.kind !== "docType" && e.kind !== "angularControlFlowBlock" && !N(e.prev) && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function Le(e) {
|
|
785
785
|
var t;
|
|
786
|
-
return ((t = e.lastChild) == null ? void 0 : t.isTrailingSpaceSensitive) && !e.lastChild.hasTrailingSpaces && !
|
|
786
|
+
return ((t = e.lastChild) == null ? void 0 : t.isTrailingSpaceSensitive) && !e.lastChild.hasTrailingSpaces && !N(Dt(e.lastChild)) && !te(e);
|
|
787
787
|
}
|
|
788
|
-
function
|
|
789
|
-
return !e.next && !e.hasTrailingSpaces && e.isTrailingSpaceSensitive &&
|
|
788
|
+
function Ae(e) {
|
|
789
|
+
return !e.next && !e.hasTrailingSpaces && e.isTrailingSpaceSensitive && N(Dt(e));
|
|
790
790
|
}
|
|
791
|
-
function
|
|
792
|
-
return e.next && !
|
|
791
|
+
function Ge(e) {
|
|
792
|
+
return e.next && !N(e.next) && N(e) && e.isTrailingSpaceSensitive && !e.hasTrailingSpaces;
|
|
793
793
|
}
|
|
794
794
|
function Ii(e) {
|
|
795
795
|
let t = e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);
|
|
796
796
|
return t ? t[1] ? t[1].split(/\s+/u) : !0 : !1;
|
|
797
797
|
}
|
|
798
|
-
function
|
|
798
|
+
function Ke(e) {
|
|
799
799
|
return !e.prev && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
|
|
800
800
|
}
|
|
801
801
|
function Ri(e, t, r) {
|
|
802
802
|
var p;
|
|
803
803
|
let { node: n } = e;
|
|
804
804
|
if (!wt(n.attrs)) return n.isSelfClosing ? " " : "";
|
|
805
|
-
let a = ((p = n.prev) == null ? void 0 : p.kind) === "comment" && Ii(n.prev.value), i = typeof a == "boolean" ? () => a : Array.isArray(a) ? (
|
|
806
|
-
return n.firstChild &&
|
|
805
|
+
let a = ((p = n.prev) == null ? void 0 : p.kind) === "comment" && Ii(n.prev.value), i = typeof a == "boolean" ? () => a : Array.isArray(a) ? (f) => a.includes(f.rawName) : () => !1, s = e.map(({ node: f }) => i(f) ? F(t.originalText.slice(xe(f), Xe(f))) : r(), "attrs"), o = n.kind === "element" && n.fullName === "script" && n.attrs.length === 1 && n.attrs[0].fullName === "src" && n.children.length === 0, l = t.singleAttributePerLine && n.attrs.length > 1 && !se(n, t) ? S : A, c = [P([o ? " " : A, ae(l, s)])];
|
|
806
|
+
return n.firstChild && Ke(n.firstChild) || n.isSelfClosing && Le(n.parent) || o ? c.push(n.isSelfClosing ? " " : "") : c.push(t.bracketSameLine ? n.isSelfClosing ? " " : "" : n.isSelfClosing ? A : b), c;
|
|
807
807
|
}
|
|
808
808
|
function Mi(e) {
|
|
809
|
-
return e.firstChild &&
|
|
809
|
+
return e.firstChild && Ke(e.firstChild) ? "" : Bt(e);
|
|
810
810
|
}
|
|
811
811
|
function ut(e, t, r) {
|
|
812
812
|
let { node: n } = e;
|
|
813
|
-
return [
|
|
813
|
+
return [_e(n, t), Ri(e, t, r), n.isSelfClosing ? "" : Mi(n)];
|
|
814
814
|
}
|
|
815
|
-
function
|
|
816
|
-
return e.prev &&
|
|
815
|
+
function _e(e, t) {
|
|
816
|
+
return e.prev && Ge(e.prev) ? "" : [G(e, t), Lt(e, t)];
|
|
817
817
|
}
|
|
818
|
-
function
|
|
819
|
-
return
|
|
818
|
+
function G(e, t) {
|
|
819
|
+
return Ke(e) ? Bt(e.parent) : X(e) ? Ne(e.prev, t) : "";
|
|
820
820
|
}
|
|
821
821
|
var Xt = "<!doctype";
|
|
822
|
-
function
|
|
822
|
+
function Lt(e, t) {
|
|
823
823
|
switch (e.kind) {
|
|
824
824
|
case "ieConditionalComment":
|
|
825
825
|
case "ieConditionalStartComment":
|
|
@@ -833,7 +833,7 @@ function Bt(e, t) {
|
|
|
833
833
|
let { filepath: n } = t;
|
|
834
834
|
if (n && /\.html?$/u.test(n)) return Xt;
|
|
835
835
|
}
|
|
836
|
-
let r =
|
|
836
|
+
let r = xe(e);
|
|
837
837
|
return t.originalText.slice(r, r + Xt.length);
|
|
838
838
|
}
|
|
839
839
|
case "angularIcuExpression":
|
|
@@ -844,7 +844,7 @@ function Bt(e, t) {
|
|
|
844
844
|
return `<${e.rawName}`;
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
|
-
function
|
|
847
|
+
function Bt(e) {
|
|
848
848
|
switch (e.kind) {
|
|
849
849
|
case "ieConditionalComment":
|
|
850
850
|
return "]>";
|
|
@@ -857,38 +857,38 @@ function Lt(e) {
|
|
|
857
857
|
function qi(e, t) {
|
|
858
858
|
if (!e.endSourceSpan) return "";
|
|
859
859
|
let r = e.startSourceSpan.end.offset;
|
|
860
|
-
e.firstChild &&
|
|
860
|
+
e.firstChild && Ke(e.firstChild) && (r -= Bt(e).length);
|
|
861
861
|
let n = e.endSourceSpan.start.offset;
|
|
862
|
-
return e.lastChild &&
|
|
862
|
+
return e.lastChild && Ae(e.lastChild) ? n += Nt(e, t).length : Le(e) && (n -= Ne(e.lastChild, t).length), t.originalText.slice(r, n);
|
|
863
863
|
}
|
|
864
864
|
var tn = qi, Hi = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
|
|
865
|
-
function
|
|
865
|
+
function Ui(e, t) {
|
|
866
866
|
let { node: r } = e;
|
|
867
867
|
switch (r.kind) {
|
|
868
868
|
case "element":
|
|
869
|
-
if (
|
|
869
|
+
if (H(r, t) || r.kind === "interpolation") return;
|
|
870
870
|
if (!r.isSelfClosing && xt(r, t)) {
|
|
871
871
|
let n = zt(r, t);
|
|
872
872
|
return n ? async (a, i) => {
|
|
873
873
|
let s = tn(r, t), o = /^\s*$/u.test(s), l = "";
|
|
874
|
-
return o || (l = await a(Rr(s), { parser: n, __embeddedInHtml: !0 }), o = l === ""), [
|
|
874
|
+
return o || (l = await a(Rr(s), { parser: n, __embeddedInHtml: !0 }), o = l === ""), [G(r, t), k(ut(e, t, i)), o ? "" : S, l, o ? "" : S, ot(r, t), j(r, t)];
|
|
875
875
|
} : void 0;
|
|
876
876
|
}
|
|
877
877
|
break;
|
|
878
878
|
case "text":
|
|
879
|
-
if (
|
|
879
|
+
if (H(r.parent, t)) {
|
|
880
880
|
let n = zt(r.parent, t);
|
|
881
881
|
if (n) return async (a) => {
|
|
882
|
-
let i = n === "markdown" ?
|
|
882
|
+
let i = n === "markdown" ? L.dedentString(r.value.replace(/^[^\S\n]*\n/u, "")) : r.value, s = { parser: n, __embeddedInHtml: !0 };
|
|
883
883
|
if (t.parser === "html" && n === "babel") {
|
|
884
884
|
let o = "script", { attrMap: l } = r.parent;
|
|
885
885
|
l && (l.type === "module" || (l.type === "text/babel" || l.type === "text/jsx") && l["data-type"] === "module") && (o = "module"), s.__babelSourceType = o;
|
|
886
886
|
}
|
|
887
|
-
return [
|
|
887
|
+
return [be, G(r, t), await a(i, s), j(r, t)];
|
|
888
888
|
};
|
|
889
889
|
} else if (r.parent.kind === "interpolation") return async (n) => {
|
|
890
890
|
let a = { __isInHtmlInterpolation: !0, __embeddedInHtml: !0 };
|
|
891
|
-
return t.parser === "angular" ? a.parser = "__ng_interpolation" : t.parser === "vue" ? a.parser =
|
|
891
|
+
return t.parser === "angular" ? a.parser = "__ng_interpolation" : t.parser === "vue" ? a.parser = oe(e, t) ? "__vue_ts_expression" : "__vue_expression" : a.parser = "__js_expression", [P([A, await n(r.value, a)]), r.parent.next && X(r.parent.next) ? " " : A];
|
|
892
892
|
};
|
|
893
893
|
break;
|
|
894
894
|
case "attribute":
|
|
@@ -899,18 +899,18 @@ function Vi(e, t) {
|
|
|
899
899
|
return (n) => B(r.value, n, { parser: "__ng_binding", __isInHtmlAttribute: !1 });
|
|
900
900
|
}
|
|
901
901
|
}
|
|
902
|
-
var
|
|
903
|
-
function
|
|
904
|
-
if (
|
|
905
|
-
let t =
|
|
906
|
-
return
|
|
902
|
+
var Vi = Ui, ce = null;
|
|
903
|
+
function Ce(e) {
|
|
904
|
+
if (ce !== null && typeof ce.property) {
|
|
905
|
+
let t = ce;
|
|
906
|
+
return ce = Ce.prototype = null, t;
|
|
907
907
|
}
|
|
908
|
-
return
|
|
908
|
+
return ce = Ce.prototype = e ?? /* @__PURE__ */ Object.create(null), new Ce();
|
|
909
909
|
}
|
|
910
910
|
var Wi = 10;
|
|
911
|
-
for (let e = 0; e <= Wi; e++)
|
|
911
|
+
for (let e = 0; e <= Wi; e++) Ce();
|
|
912
912
|
function zi(e) {
|
|
913
|
-
return
|
|
913
|
+
return Ce(e);
|
|
914
914
|
}
|
|
915
915
|
function $i(e, t = "type") {
|
|
916
916
|
zi(e);
|
|
@@ -921,88 +921,89 @@ function $i(e, t = "type") {
|
|
|
921
921
|
}
|
|
922
922
|
return r;
|
|
923
923
|
}
|
|
924
|
-
var ji = $i,
|
|
924
|
+
var ji = $i, D = [["children"], []], Xi = { root: D[0], element: ["attrs", "children"], ieConditionalComment: D[0], ieConditionalStartComment: D[1], ieConditionalEndComment: D[1], interpolation: D[0], text: D[0], docType: D[1], comment: D[1], attribute: D[1], cdata: D[1], angularControlFlowBlock: ["children", "parameters"], angularControlFlowBlockParameters: D[0], angularControlFlowBlockParameter: D[1], angularLetDeclaration: ["init"], angularLetDeclarationInitializer: D[1], angularIcuExpression: ["cases"], angularIcuCase: ["expression"] }, Gi = ji(Xi, "kind"), Ki = Gi, Yi = "format", Ji = /^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u, Qi = /^\s*<!--\s*@(?:format|prettier)\s*-->/u, Zi = (e) => Qi.test(e), es = (e) => Ji.test(e), ts = (e) => `<!-- @${Yi} -->
|
|
925
925
|
|
|
926
926
|
${e}`, rs = /* @__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"])]]);
|
|
927
927
|
function rn(e) {
|
|
928
|
-
let t =
|
|
929
|
-
return e.kind === "element" && !e.endSourceSpan && wt(e.children) ? Math.max(t, rn(
|
|
928
|
+
let t = Xe(e);
|
|
929
|
+
return e.kind === "element" && !e.endSourceSpan && wt(e.children) ? Math.max(t, rn(re(0, e.children, -1))) : t;
|
|
930
930
|
}
|
|
931
|
-
function
|
|
931
|
+
function pe(e, t, r) {
|
|
932
932
|
let n = e.node;
|
|
933
|
-
if (
|
|
933
|
+
if ($e(n)) {
|
|
934
934
|
let a = rn(n);
|
|
935
|
-
return [
|
|
935
|
+
return [G(n, t), F(L.trimEnd(t.originalText.slice(xe(n) + (n.prev && Ge(n.prev) ? Lt(n).length : 0), a - (n.next && X(n.next) ? Ne(n, t).length : 0)))), j(n, t)];
|
|
936
936
|
}
|
|
937
937
|
return r();
|
|
938
938
|
}
|
|
939
|
-
function
|
|
940
|
-
return
|
|
939
|
+
function Re(e, t) {
|
|
940
|
+
return N(e) && N(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ? tt(t) ? S : A : "" : tt(t) ? S : b : Ge(e) && ($e(t) || t.firstChild || t.isSelfClosing || t.kind === "element" && t.attrs.length > 0) || e.kind === "element" && e.isSelfClosing && X(t) ? "" : !t.isLeadingSpaceSensitive || tt(t) || X(t) && e.lastChild && Ae(e.lastChild) && e.lastChild.lastChild && Ae(e.lastChild.lastChild) ? S : t.hasLeadingSpaces ? A : b;
|
|
941
941
|
}
|
|
942
942
|
function Ot(e, t, r) {
|
|
943
943
|
let { node: n } = e;
|
|
944
|
-
if (Hr(n)) return [
|
|
945
|
-
let i = e.node, s = i.prev ?
|
|
946
|
-
return [s ? [s,
|
|
944
|
+
if (Hr(n)) return [be, ...e.map(() => {
|
|
945
|
+
let i = e.node, s = i.prev ? Re(i.prev, i) : "";
|
|
946
|
+
return [s ? [s, Ie(i.prev) ? S : ""] : "", pe(e, t, r)];
|
|
947
947
|
}, "children")];
|
|
948
948
|
let a = n.children.map(() => Symbol(""));
|
|
949
949
|
return e.map(({ node: i, index: s }) => {
|
|
950
|
-
if (
|
|
951
|
-
if (i.prev &&
|
|
952
|
-
let
|
|
953
|
-
if (
|
|
950
|
+
if (N(i)) {
|
|
951
|
+
if (i.prev && N(i.prev)) {
|
|
952
|
+
let d = Re(i.prev, i);
|
|
953
|
+
if (d) return Ie(i.prev) ? [S, S, pe(e, t, r)] : [d, pe(e, t, r)];
|
|
954
954
|
}
|
|
955
|
-
return
|
|
955
|
+
return pe(e, t, r);
|
|
956
956
|
}
|
|
957
|
-
let o = [], l = [], c = [], p = [],
|
|
958
|
-
return
|
|
957
|
+
let o = [], l = [], c = [], p = [], f = i.prev ? Re(i.prev, i) : "", _ = i.next ? Re(i, i.next) : "";
|
|
958
|
+
return f && (Ie(i.prev) ? o.push(S, S) : f === S ? o.push(S) : N(i.prev) ? l.push(f) : l.push(Se("", b, { groupId: a[s - 1] }))), _ && (Ie(i) ? N(i.next) && p.push(S, S) : _ === S ? N(i.next) && p.push(S) : c.push(_)), [...o, k([...l, k([pe(e, t, r), ...c], { id: a[s] })]), ...p];
|
|
959
959
|
}, "children");
|
|
960
960
|
}
|
|
961
961
|
function ns(e, t, r) {
|
|
962
962
|
let { node: n } = e, a = [];
|
|
963
|
-
if (
|
|
963
|
+
if (os(e) && a.push("} "), a.push("@", n.name), is(n)) return a.push(";"), a;
|
|
964
|
+
if (n.parameters && a.push(" (", k(r("parameters")), ")"), !ss(n)) {
|
|
964
965
|
a.push(" {");
|
|
965
966
|
let i = nn(n);
|
|
966
|
-
n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = !0, n.lastChild.hasTrailingSpaces = !0, a.push(
|
|
967
|
+
n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = !0, n.lastChild.hasTrailingSpaces = !0, a.push(P([S, Ot(e, t, r)])), i && a.push(S, "}")) : i && a.push("}");
|
|
967
968
|
}
|
|
968
|
-
return
|
|
969
|
+
return k(a, { shouldBreak: !0 });
|
|
969
970
|
}
|
|
970
971
|
function nn(e) {
|
|
971
972
|
var t, r;
|
|
972
973
|
return !(((t = e.next) == null ? void 0 : t.kind) === "angularControlFlowBlock" && ((r = rs.get(e.name)) != null && r.has(e.next.name)));
|
|
973
974
|
}
|
|
974
|
-
var as = (e) => (e == null ? void 0 : e.kind) === "angularControlFlowBlock" && (e.name === "case" || e.name === "default");
|
|
975
|
-
function
|
|
975
|
+
var as = (e) => (e == null ? void 0 : e.kind) === "angularControlFlowBlock" && (e.name === "case" || e.name === "default"), is = (e) => (e == null ? void 0 : e.kind) === "angularControlFlowBlock" && e.name === "default never";
|
|
976
|
+
function ss(e) {
|
|
976
977
|
return as(e) && e.endSourceSpan && e.endSourceSpan.start.offset === e.endSourceSpan.end.offset;
|
|
977
978
|
}
|
|
978
|
-
function
|
|
979
|
+
function os(e) {
|
|
979
980
|
let { previous: t } = e;
|
|
980
|
-
return (t == null ? void 0 : t.kind) === "angularControlFlowBlock" &&
|
|
981
|
-
}
|
|
982
|
-
function os(e, t, r) {
|
|
983
|
-
return [F([k, ne([";", S], e.map(r, "children"))]), k];
|
|
981
|
+
return (t == null ? void 0 : t.kind) === "angularControlFlowBlock" && !$e(t) && !nn(t);
|
|
984
982
|
}
|
|
985
983
|
function us(e, t, r) {
|
|
986
|
-
|
|
987
|
-
return [fe(n, t), A([n.switchValue.trim(), ", ", n.type, n.cases.length > 0 ? [",", F([S, ne(S, e.map(r, "cases"))])] : "", k]), ge(n, t)];
|
|
984
|
+
return [P([b, ae([";", A], e.map(r, "children"))]), b];
|
|
988
985
|
}
|
|
989
986
|
function ls(e, t, r) {
|
|
990
987
|
let { node: n } = e;
|
|
991
|
-
return [n.
|
|
992
|
-
let s = [r()];
|
|
993
|
-
return a.kind === "text" && (a.hasLeadingSpaces && s.unshift(S), a.hasTrailingSpaces && !i && s.push(S)), s;
|
|
994
|
-
}, "expression")]), k]), "}"];
|
|
988
|
+
return [_e(n, t), k([n.switchValue.trim(), ", ", n.type, n.cases.length > 0 ? [",", P([A, ae(A, e.map(r, "cases"))])] : "", b]), fe(n, t)];
|
|
995
989
|
}
|
|
996
990
|
function cs(e, t, r) {
|
|
997
991
|
let { node: n } = e;
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
992
|
+
return [n.value, " {", k([P([b, e.map(({ node: a, isLast: i }) => {
|
|
993
|
+
let s = [r()];
|
|
994
|
+
return a.kind === "text" && (a.hasLeadingSpaces && s.unshift(A), a.hasTrailingSpaces && !i && s.push(A)), s;
|
|
995
|
+
}, "expression")]), b]), "}"];
|
|
996
|
+
}
|
|
997
|
+
function ps(e, t, r) {
|
|
998
|
+
let { node: n } = e;
|
|
999
|
+
if (Mr(n, t)) return [G(n, t), k(ut(e, t, r)), F(tn(n, t)), ...ot(n, t), j(n, t)];
|
|
1000
|
+
let a = n.children.length === 1 && (n.firstChild.kind === "interpolation" || n.firstChild.kind === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, i = Symbol("element-attr-group-id"), s = (p) => k([k(ut(e, t, r), { id: i }), p, ot(n, t)]), o = (p) => a ? Rn(p, { groupId: i }) : (H(n, t) || je(n, t)) && n.parent.kind === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? p : P(p), l = () => a ? Se(b, "", { groupId: i }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? A : n.firstChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? In(b) : b, c = () => (n.next ? X(n.next) : Le(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : a ? Se(b, "", { groupId: i }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? A : (n.lastChild.kind === "comment" || n.lastChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t.tabWidth * (e.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : b;
|
|
1001
|
+
return n.children.length === 0 ? s(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? A : "") : s([La(n) ? be : "", o([l(), Ot(e, t, r)]), c()]);
|
|
1001
1002
|
}
|
|
1002
|
-
var
|
|
1003
|
+
var q = (function(e) {
|
|
1003
1004
|
return e[e.RAW_TEXT = 0] = "RAW_TEXT", e[e.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", e[e.PARSABLE_DATA = 2] = "PARSABLE_DATA", e;
|
|
1004
1005
|
})({});
|
|
1005
|
-
function
|
|
1006
|
+
function Ye(e, t = !0) {
|
|
1006
1007
|
if (e[0] != ":") return [null, e];
|
|
1007
1008
|
let r = e.indexOf(":", 1);
|
|
1008
1009
|
if (r === -1) {
|
|
@@ -1012,116 +1013,119 @@ function Ge(e, t = !0) {
|
|
|
1012
1013
|
return [e.slice(1, r), e.slice(r + 1)];
|
|
1013
1014
|
}
|
|
1014
1015
|
function Gt(e) {
|
|
1015
|
-
return
|
|
1016
|
+
return Ye(e)[1] === "ng-container";
|
|
1016
1017
|
}
|
|
1017
1018
|
function Kt(e) {
|
|
1018
|
-
return
|
|
1019
|
+
return Ye(e)[1] === "ng-content";
|
|
1019
1020
|
}
|
|
1020
|
-
function
|
|
1021
|
-
return e === null ? null :
|
|
1021
|
+
function He(e) {
|
|
1022
|
+
return e === null ? null : Ye(e)[0];
|
|
1022
1023
|
}
|
|
1023
|
-
function
|
|
1024
|
+
function Ee(e, t) {
|
|
1024
1025
|
return e ? `:${e}:${t}` : t;
|
|
1025
1026
|
}
|
|
1026
|
-
var Yt = { name: "custom-elements" }, Jt = { name: "no-errors-schema" },
|
|
1027
|
+
var Yt = { name: "custom-elements" }, Jt = { name: "no-errors-schema" }, Q = (function(e) {
|
|
1027
1028
|
return e[e.NONE = 0] = "NONE", e[e.HTML = 1] = "HTML", e[e.STYLE = 2] = "STYLE", e[e.SCRIPT = 3] = "SCRIPT", e[e.URL = 4] = "URL", e[e.RESOURCE_URL = 5] = "RESOURCE_URL", e[e.ATTRIBUTE_NO_BINDING = 6] = "ATTRIBUTE_NO_BINDING", e;
|
|
1028
|
-
})({}),
|
|
1029
|
-
function
|
|
1030
|
-
return e.replace(
|
|
1029
|
+
})({}), hs = /-+([a-z0-9])/g;
|
|
1030
|
+
function ds(e) {
|
|
1031
|
+
return e.replace(hs, (...t) => t[1].toUpperCase());
|
|
1031
1032
|
}
|
|
1032
|
-
var
|
|
1033
|
+
var Ue;
|
|
1033
1034
|
function Qt() {
|
|
1034
|
-
return
|
|
1035
|
+
return Ue || (Ue = {}, he(Q.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), he(Q.STYLE, ["*|style"]), he(Q.URL, ["*|formAction", "area|href", "a|href", "a|xlink:href", "form|action", "annotation|href", "annotation|xlink:href", "annotation-xml|href", "annotation-xml|xlink:href", "maction|href", "maction|xlink:href", "malignmark|href", "malignmark|xlink:href", "math|href", "math|xlink:href", "mroot|href", "mroot|xlink:href", "msqrt|href", "msqrt|xlink:href", "merror|href", "merror|xlink:href", "mfrac|href", "mfrac|xlink:href", "mglyph|href", "mglyph|xlink:href", "msub|href", "msub|xlink:href", "msup|href", "msup|xlink:href", "msubsup|href", "msubsup|xlink:href", "mmultiscripts|href", "mmultiscripts|xlink:href", "mprescripts|href", "mprescripts|xlink:href", "mi|href", "mi|xlink:href", "mn|href", "mn|xlink:href", "mo|href", "mo|xlink:href", "mpadded|href", "mpadded|xlink:href", "mphantom|href", "mphantom|xlink:href", "mrow|href", "mrow|xlink:href", "ms|href", "ms|xlink:href", "mspace|href", "mspace|xlink:href", "mstyle|href", "mstyle|xlink:href", "mtable|href", "mtable|xlink:href", "mtd|href", "mtd|xlink:href", "mtr|href", "mtr|xlink:href", "mtext|href", "mtext|xlink:href", "mover|href", "mover|xlink:href", "munder|href", "munder|xlink:href", "munderover|href", "munderover|xlink:href", "semantics|href", "semantics|xlink:href", "none|href", "none|xlink:href", "img|src", "video|src"]), he(Q.RESOURCE_URL, ["base|href", "embed|src", "frame|src", "iframe|src", "link|href", "object|codebase", "object|data", "script|src", "script|href", "script|xlink:href"]), he(Q.ATTRIBUTE_NO_BINDING, ["animate|attributeName", "animate|values", "animate|to", "animate|from", "set|to", "set|attributeName", "animateMotion|attributeName", "animateTransform|attributeName", "unknown|attributeName", "unknown|values", "unknown|to", "unknown|from", "iframe|sandbox", "iframe|allow", "iframe|allowFullscreen", "iframe|referrerPolicy", "iframe|csp", "iframe|fetchPriority", "unknown|sandbox", "unknown|allow", "unknown|allowFullscreen", "unknown|referrerPolicy", "unknown|csp", "unknown|fetchPriority"])), Ue;
|
|
1035
1036
|
}
|
|
1036
|
-
function
|
|
1037
|
-
for (let r of t)
|
|
1037
|
+
function he(e, t) {
|
|
1038
|
+
for (let r of t) Ue[r.toLowerCase()] = e;
|
|
1038
1039
|
}
|
|
1039
|
-
var
|
|
1040
|
-
}, ms = "boolean", gs = "number", fs = "string", _s = "object", Cs = ["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "selectedcontent^[HTMLElement]|", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "search^[HTMLELement]|", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], an = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex", "aria-activedescendant": "ariaActiveDescendantElement", "aria-atomic": "ariaAtomic", "aria-autocomplete": "ariaAutoComplete", "aria-busy": "ariaBusy", "aria-checked": "ariaChecked", "aria-colcount": "ariaColCount", "aria-colindex": "ariaColIndex", "aria-colindextext": "ariaColIndexText", "aria-colspan": "ariaColSpan", "aria-controls": "ariaControlsElements", "aria-current": "ariaCurrent", "aria-describedby": "ariaDescribedByElements", "aria-description": "ariaDescription", "aria-details": "ariaDetailsElements", "aria-disabled": "ariaDisabled", "aria-errormessage": "ariaErrorMessageElements", "aria-expanded": "ariaExpanded", "aria-flowto": "ariaFlowToElements", "aria-haspopup": "ariaHasPopup", "aria-hidden": "ariaHidden", "aria-invalid": "ariaInvalid", "aria-keyshortcuts": "ariaKeyShortcuts", "aria-label": "ariaLabel", "aria-labelledby": "ariaLabelledByElements", "aria-level": "ariaLevel", "aria-live": "ariaLive", "aria-modal": "ariaModal", "aria-multiline": "ariaMultiLine", "aria-multiselectable": "ariaMultiSelectable", "aria-orientation": "ariaOrientation", "aria-owns": "ariaOwnsElements", "aria-placeholder": "ariaPlaceholder", "aria-posinset": "ariaPosInSet", "aria-pressed": "ariaPressed", "aria-readonly": "ariaReadOnly", "aria-required": "ariaRequired", "aria-roledescription": "ariaRoleDescription", "aria-rowcount": "ariaRowCount", "aria-rowindex": "ariaRowIndex", "aria-rowindextext": "ariaRowIndexText", "aria-rowspan": "ariaRowSpan", "aria-selected": "ariaSelected", "aria-setsize": "ariaSetSize", "aria-sort": "ariaSort", "aria-valuemax": "ariaValueMax", "aria-valuemin": "ariaValueMin", "aria-valuenow": "ariaValueNow", "aria-valuetext": "ariaValueText" })), Es = Array.from(an).reduce((e, [t, r]) => (e.set(t, r), e), /* @__PURE__ */ new Map()), vs = class extends ds {
|
|
1040
|
+
var ms = class {
|
|
1041
|
+
}, gs = "boolean", fs = "number", _s = "string", Cs = "object", Es = ["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "geolocation^[HTMLElement]|accuracymode,!autolocate,*location,*promptaction,*promptdismiss,*validationstatuschange,!watch", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "selectedcontent^[HTMLElement]|", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "search^[HTMLELement]|", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], an = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex", "aria-activedescendant": "ariaActiveDescendantElement", "aria-atomic": "ariaAtomic", "aria-autocomplete": "ariaAutoComplete", "aria-busy": "ariaBusy", "aria-checked": "ariaChecked", "aria-colcount": "ariaColCount", "aria-colindex": "ariaColIndex", "aria-colindextext": "ariaColIndexText", "aria-colspan": "ariaColSpan", "aria-controls": "ariaControlsElements", "aria-current": "ariaCurrent", "aria-describedby": "ariaDescribedByElements", "aria-description": "ariaDescription", "aria-details": "ariaDetailsElements", "aria-disabled": "ariaDisabled", "aria-errormessage": "ariaErrorMessageElements", "aria-expanded": "ariaExpanded", "aria-flowto": "ariaFlowToElements", "aria-haspopup": "ariaHasPopup", "aria-hidden": "ariaHidden", "aria-invalid": "ariaInvalid", "aria-keyshortcuts": "ariaKeyShortcuts", "aria-label": "ariaLabel", "aria-labelledby": "ariaLabelledByElements", "aria-level": "ariaLevel", "aria-live": "ariaLive", "aria-modal": "ariaModal", "aria-multiline": "ariaMultiLine", "aria-multiselectable": "ariaMultiSelectable", "aria-orientation": "ariaOrientation", "aria-owns": "ariaOwnsElements", "aria-placeholder": "ariaPlaceholder", "aria-posinset": "ariaPosInSet", "aria-pressed": "ariaPressed", "aria-readonly": "ariaReadOnly", "aria-required": "ariaRequired", "aria-roledescription": "ariaRoleDescription", "aria-rowcount": "ariaRowCount", "aria-rowindex": "ariaRowIndex", "aria-rowindextext": "ariaRowIndexText", "aria-rowspan": "ariaRowSpan", "aria-selected": "ariaSelected", "aria-setsize": "ariaSetSize", "aria-sort": "ariaSort", "aria-valuemax": "ariaValueMax", "aria-valuemin": "ariaValueMin", "aria-valuenow": "ariaValueNow", "aria-valuetext": "ariaValueText" })), vs = Array.from(an).reduce((e, [t, r]) => (e.set(t, r), e), /* @__PURE__ */ new Map()), Ss = class extends ms {
|
|
1041
1042
|
constructor() {
|
|
1042
|
-
super()
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1043
|
+
super();
|
|
1044
|
+
h(this, "_schema", /* @__PURE__ */ new Map());
|
|
1045
|
+
h(this, "_eventSchema", /* @__PURE__ */ new Map());
|
|
1046
|
+
Es.forEach((t) => {
|
|
1047
|
+
let r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), [a, i] = t.split("|"), s = i.split(","), [o, l] = a.split("^");
|
|
1048
|
+
o.split(",").forEach((p) => {
|
|
1049
|
+
this._schema.set(p.toLowerCase(), r), this._eventSchema.set(p.toLowerCase(), n);
|
|
1046
1050
|
});
|
|
1047
|
-
let
|
|
1048
|
-
if (
|
|
1049
|
-
for (let [
|
|
1050
|
-
for (let
|
|
1051
|
+
let c = l && this._schema.get(l.toLowerCase());
|
|
1052
|
+
if (c) {
|
|
1053
|
+
for (let [p, f] of c) r.set(p, f);
|
|
1054
|
+
for (let p of this._eventSchema.get(l.toLowerCase())) n.add(p);
|
|
1051
1055
|
}
|
|
1052
|
-
|
|
1053
|
-
if (
|
|
1056
|
+
s.forEach((p) => {
|
|
1057
|
+
if (p.length > 0) switch (p[0]) {
|
|
1054
1058
|
case "*":
|
|
1055
|
-
|
|
1059
|
+
n.add(p.substring(1));
|
|
1056
1060
|
break;
|
|
1057
1061
|
case "!":
|
|
1058
|
-
|
|
1062
|
+
r.set(p.substring(1), gs);
|
|
1059
1063
|
break;
|
|
1060
1064
|
case "#":
|
|
1061
|
-
|
|
1065
|
+
r.set(p.substring(1), fs);
|
|
1062
1066
|
break;
|
|
1063
1067
|
case "%":
|
|
1064
|
-
|
|
1068
|
+
r.set(p.substring(1), Cs);
|
|
1065
1069
|
break;
|
|
1066
1070
|
default:
|
|
1067
|
-
|
|
1071
|
+
r.set(p, _s);
|
|
1068
1072
|
}
|
|
1069
1073
|
});
|
|
1070
1074
|
});
|
|
1071
1075
|
}
|
|
1072
|
-
hasProperty(
|
|
1073
|
-
if (
|
|
1074
|
-
if (
|
|
1075
|
-
if (Gt(
|
|
1076
|
-
if (
|
|
1076
|
+
hasProperty(t, r, n) {
|
|
1077
|
+
if (n.some((a) => a.name === Jt.name)) return !0;
|
|
1078
|
+
if (t.indexOf("-") > -1) {
|
|
1079
|
+
if (Gt(t) || Kt(t)) return !1;
|
|
1080
|
+
if (n.some((a) => a.name === Yt.name)) return !0;
|
|
1077
1081
|
}
|
|
1078
|
-
return (this._schema.get(
|
|
1082
|
+
return (this._schema.get(t.toLowerCase()) || this._schema.get("unknown")).has(r);
|
|
1079
1083
|
}
|
|
1080
|
-
hasElement(
|
|
1081
|
-
return
|
|
1084
|
+
hasElement(t, r) {
|
|
1085
|
+
return r.some((n) => n.name === Jt.name) || t.indexOf("-") > -1 && (Gt(t) || Kt(t) || r.some((n) => n.name === Yt.name)) ? !0 : this._schema.has(t.toLowerCase());
|
|
1082
1086
|
}
|
|
1083
|
-
securityContext(
|
|
1084
|
-
|
|
1085
|
-
let
|
|
1086
|
-
return
|
|
1087
|
+
securityContext(t, r, n) {
|
|
1088
|
+
n && (r = this.getMappedPropName(r)), t = t.toLowerCase(), r = r.toLowerCase();
|
|
1089
|
+
let a = Qt()[t + "|" + r];
|
|
1090
|
+
return a || (a = Qt()["*|" + r], a || Q.NONE);
|
|
1087
1091
|
}
|
|
1088
|
-
getMappedPropName(
|
|
1089
|
-
return an.get(
|
|
1092
|
+
getMappedPropName(t) {
|
|
1093
|
+
return an.get(t) ?? t;
|
|
1090
1094
|
}
|
|
1091
1095
|
getDefaultComponentElementName() {
|
|
1092
1096
|
return "ng-component";
|
|
1093
1097
|
}
|
|
1094
|
-
validateProperty(
|
|
1095
|
-
return
|
|
1096
|
-
If '${
|
|
1098
|
+
validateProperty(t) {
|
|
1099
|
+
return t.toLowerCase().startsWith("on") ? { error: !0, msg: `Binding to event property '${t}' is disallowed for security reasons, please use (${t.slice(2)})=...
|
|
1100
|
+
If '${t}' is a directive input, make sure the directive is imported by the current module.` } : { error: !1 };
|
|
1097
1101
|
}
|
|
1098
|
-
validateAttribute(
|
|
1099
|
-
return
|
|
1102
|
+
validateAttribute(t) {
|
|
1103
|
+
return t.toLowerCase().startsWith("on") ? { error: !0, msg: `Binding to event attribute '${t}' is disallowed for security reasons, please use (${t.slice(2)})=...` } : { error: !1 };
|
|
1100
1104
|
}
|
|
1101
1105
|
allKnownElementNames() {
|
|
1102
1106
|
return Array.from(this._schema.keys());
|
|
1103
1107
|
}
|
|
1104
|
-
allKnownAttributesOfElement(
|
|
1105
|
-
let
|
|
1106
|
-
return Array.from(
|
|
1108
|
+
allKnownAttributesOfElement(t) {
|
|
1109
|
+
let r = this._schema.get(t.toLowerCase()) || this._schema.get("unknown");
|
|
1110
|
+
return Array.from(r.keys()).map((n) => vs.get(n) ?? n);
|
|
1107
1111
|
}
|
|
1108
|
-
allKnownEventsOfElement(
|
|
1109
|
-
return Array.from(this._eventSchema.get(
|
|
1112
|
+
allKnownEventsOfElement(t) {
|
|
1113
|
+
return Array.from(this._eventSchema.get(t.toLowerCase()) ?? []);
|
|
1110
1114
|
}
|
|
1111
|
-
normalizeAnimationStyleProperty(
|
|
1112
|
-
return
|
|
1115
|
+
normalizeAnimationStyleProperty(t) {
|
|
1116
|
+
return ds(t);
|
|
1113
1117
|
}
|
|
1114
|
-
normalizeAnimationStyleValue(
|
|
1115
|
-
let
|
|
1116
|
-
if (
|
|
1118
|
+
normalizeAnimationStyleValue(t, r, n) {
|
|
1119
|
+
let a = "", i = n.toString().trim(), s = null;
|
|
1120
|
+
if (As(t) && n !== 0 && n !== "0") if (typeof n == "number") a = "px";
|
|
1117
1121
|
else {
|
|
1118
|
-
let
|
|
1119
|
-
|
|
1122
|
+
let o = n.match(/^[+-]?[\d\.]+([a-z]*)$/);
|
|
1123
|
+
o && o[1].length == 0 && (s = `Please provide a CSS unit value for ${r}:${n}`);
|
|
1120
1124
|
}
|
|
1121
|
-
return { error:
|
|
1125
|
+
return { error: s, value: i + a };
|
|
1122
1126
|
}
|
|
1123
1127
|
};
|
|
1124
|
-
function
|
|
1128
|
+
function As(e) {
|
|
1125
1129
|
switch (e) {
|
|
1126
1130
|
case "width":
|
|
1127
1131
|
case "height":
|
|
@@ -1156,9 +1160,17 @@ function Ss(e) {
|
|
|
1156
1160
|
return !1;
|
|
1157
1161
|
}
|
|
1158
1162
|
}
|
|
1159
|
-
var
|
|
1160
|
-
constructor({ closedByChildren: e, implicitNamespacePrefix: t, contentType: r =
|
|
1161
|
-
this
|
|
1163
|
+
var g = class {
|
|
1164
|
+
constructor({ closedByChildren: e, implicitNamespacePrefix: t, contentType: r = q.PARSABLE_DATA, closedByParent: n = !1, isVoid: a = !1, ignoreFirstLf: i = !1, preventNamespaceInheritance: s = !1, canSelfClose: o = !1 } = {}) {
|
|
1165
|
+
h(this, "closedByChildren", {});
|
|
1166
|
+
h(this, "contentType");
|
|
1167
|
+
h(this, "closedByParent", !1);
|
|
1168
|
+
h(this, "implicitNamespacePrefix");
|
|
1169
|
+
h(this, "isVoid");
|
|
1170
|
+
h(this, "ignoreFirstLf");
|
|
1171
|
+
h(this, "canSelfClose");
|
|
1172
|
+
h(this, "preventNamespaceInheritance");
|
|
1173
|
+
e && e.length > 0 && e.forEach((l) => this.closedByChildren[l] = !0), this.isVoid = a, this.closedByParent = n || a, this.implicitNamespacePrefix = t || null, this.contentType = r, this.ignoreFirstLf = i, this.preventNamespaceInheritance = s, this.canSelfClose = o ?? a;
|
|
1162
1174
|
}
|
|
1163
1175
|
isClosedByChild(e) {
|
|
1164
1176
|
return this.isVoid || e.toLowerCase() in this.closedByChildren;
|
|
@@ -1166,32 +1178,11 @@ var m = class {
|
|
|
1166
1178
|
getContentType(e) {
|
|
1167
1179
|
return typeof this.contentType == "object" ? (e === void 0 ? void 0 : this.contentType[e]) ?? this.contentType.default : this.contentType;
|
|
1168
1180
|
}
|
|
1169
|
-
}, Zt,
|
|
1181
|
+
}, Zt, de;
|
|
1170
1182
|
function lt(e) {
|
|
1171
|
-
return
|
|
1172
|
-
!
|
|
1173
|
-
})),
|
|
1174
|
-
}
|
|
1175
|
-
function qe(e) {
|
|
1176
|
-
return e >= 9 && e <= 32 || e == 160;
|
|
1177
|
-
}
|
|
1178
|
-
function Ke(e) {
|
|
1179
|
-
return 48 <= e && e <= 57;
|
|
1180
|
-
}
|
|
1181
|
-
function Se(e) {
|
|
1182
|
-
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
1183
|
-
}
|
|
1184
|
-
function As(e) {
|
|
1185
|
-
return e >= 97 && e <= 102 || e >= 65 && e <= 70 || Ke(e);
|
|
1186
|
-
}
|
|
1187
|
-
function He(e) {
|
|
1188
|
-
return e === 10 || e === 13;
|
|
1189
|
-
}
|
|
1190
|
-
function er(e) {
|
|
1191
|
-
return 48 <= e && e <= 55;
|
|
1192
|
-
}
|
|
1193
|
-
function at(e) {
|
|
1194
|
-
return e === 39 || e === 34 || e === 96;
|
|
1183
|
+
return de || (Zt = new g({ canSelfClose: !0 }), de = Object.assign(/* @__PURE__ */ Object.create(null), { base: new g({ isVoid: !0 }), meta: new g({ isVoid: !0 }), area: new g({ isVoid: !0 }), embed: new g({ isVoid: !0 }), link: new g({ isVoid: !0 }), img: new g({ isVoid: !0 }), input: new g({ isVoid: !0 }), param: new g({ isVoid: !0 }), hr: new g({ isVoid: !0 }), br: new g({ isVoid: !0 }), source: new g({ isVoid: !0 }), track: new g({ isVoid: !0 }), wbr: new g({ isVoid: !0 }), p: new g({ 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: !0 }), thead: new g({ closedByChildren: ["tbody", "tfoot"] }), tbody: new g({ closedByChildren: ["tbody", "tfoot"], closedByParent: !0 }), tfoot: new g({ closedByChildren: ["tbody"], closedByParent: !0 }), tr: new g({ closedByChildren: ["tr"], closedByParent: !0 }), td: new g({ closedByChildren: ["td", "th"], closedByParent: !0 }), th: new g({ closedByChildren: ["td", "th"], closedByParent: !0 }), col: new g({ isVoid: !0 }), svg: new g({ implicitNamespacePrefix: "svg" }), foreignObject: new g({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: !0 }), math: new g({ implicitNamespacePrefix: "math" }), li: new g({ closedByChildren: ["li"], closedByParent: !0 }), dt: new g({ closedByChildren: ["dt", "dd"] }), dd: new g({ closedByChildren: ["dt", "dd"], closedByParent: !0 }), rb: new g({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rt: new g({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rtc: new g({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: !0 }), rp: new g({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), optgroup: new g({ closedByChildren: ["optgroup"], closedByParent: !0 }), option: new g({ closedByChildren: ["option", "optgroup"], closedByParent: !0 }), pre: new g({ ignoreFirstLf: !0 }), listing: new g({ ignoreFirstLf: !0 }), style: new g({ contentType: q.RAW_TEXT }), script: new g({ contentType: q.RAW_TEXT }), title: new g({ contentType: { default: q.ESCAPABLE_RAW_TEXT, svg: q.PARSABLE_DATA } }), textarea: new g({ contentType: q.ESCAPABLE_RAW_TEXT, ignoreFirstLf: !0 }) }), new Ss().allKnownElementNames().forEach((t) => {
|
|
1184
|
+
!de[t] && He(t) === null && (de[t] = new g({ canSelfClose: !1 }));
|
|
1185
|
+
})), de[e] ?? Zt;
|
|
1195
1186
|
}
|
|
1196
1187
|
var ct = class sn {
|
|
1197
1188
|
constructor(t, r, n, a) {
|
|
@@ -1231,121 +1222,145 @@ var ct = class sn {
|
|
|
1231
1222
|
constructor(e, t) {
|
|
1232
1223
|
this.content = e, this.url = t;
|
|
1233
1224
|
}
|
|
1234
|
-
},
|
|
1225
|
+
}, m = class {
|
|
1235
1226
|
constructor(e, t, r = e, n = null) {
|
|
1236
1227
|
this.start = e, this.end = t, this.fullStart = r, this.details = n;
|
|
1237
1228
|
}
|
|
1238
1229
|
toString() {
|
|
1239
1230
|
return this.start.file.content.substring(this.start.offset, this.end.offset);
|
|
1240
1231
|
}
|
|
1241
|
-
},
|
|
1232
|
+
}, er = (function(e) {
|
|
1242
1233
|
return e[e.WARNING = 0] = "WARNING", e[e.ERROR = 1] = "ERROR", e;
|
|
1243
|
-
})({}),
|
|
1244
|
-
constructor(e, t, r =
|
|
1234
|
+
})({}), Z = class extends Error {
|
|
1235
|
+
constructor(e, t, r = er.ERROR, n) {
|
|
1245
1236
|
super(t), this.span = e, this.msg = t, this.level = r, this.relatedError = n, Object.setPrototypeOf(this, new.target.prototype);
|
|
1246
1237
|
}
|
|
1247
1238
|
contextualMessage() {
|
|
1248
1239
|
let e = this.span.start.getContext(100, 3);
|
|
1249
|
-
return e ? `${this.msg} ("${e.before}[${
|
|
1240
|
+
return e ? `${this.msg} ("${e.before}[${er[this.level]} ->]${e.after}")` : this.msg;
|
|
1250
1241
|
}
|
|
1251
1242
|
toString() {
|
|
1252
1243
|
let e = this.span.details ? `, ${this.span.details}` : "";
|
|
1253
1244
|
return `${this.contextualMessage()}: ${this.span.start}${e}`;
|
|
1254
1245
|
}
|
|
1255
|
-
},
|
|
1246
|
+
}, K = class {
|
|
1256
1247
|
constructor(e, t) {
|
|
1257
1248
|
this.sourceSpan = e, this.i18n = t;
|
|
1258
1249
|
}
|
|
1259
|
-
}, Ts = class extends
|
|
1260
|
-
constructor(
|
|
1261
|
-
super(
|
|
1250
|
+
}, Ts = class extends K {
|
|
1251
|
+
constructor(t, r, n, a) {
|
|
1252
|
+
super(r, a);
|
|
1253
|
+
h(this, "kind", "text");
|
|
1254
|
+
this.value = t, this.tokens = n;
|
|
1262
1255
|
}
|
|
1263
|
-
visit(
|
|
1264
|
-
return
|
|
1256
|
+
visit(t, r) {
|
|
1257
|
+
return t.visitText(this, r);
|
|
1265
1258
|
}
|
|
1266
|
-
}, ks = class extends
|
|
1267
|
-
constructor(
|
|
1268
|
-
super(
|
|
1259
|
+
}, ks = class extends K {
|
|
1260
|
+
constructor(t, r, n, a) {
|
|
1261
|
+
super(r, a);
|
|
1262
|
+
h(this, "kind", "cdata");
|
|
1263
|
+
this.value = t, this.tokens = n;
|
|
1269
1264
|
}
|
|
1270
|
-
visit(
|
|
1271
|
-
return
|
|
1265
|
+
visit(t, r) {
|
|
1266
|
+
return t.visitCdata(this, r);
|
|
1272
1267
|
}
|
|
1273
|
-
}, bs = class extends
|
|
1274
|
-
constructor(
|
|
1275
|
-
super(
|
|
1268
|
+
}, bs = class extends K {
|
|
1269
|
+
constructor(t, r, n, a, i, s) {
|
|
1270
|
+
super(a, s);
|
|
1271
|
+
h(this, "kind", "expansion");
|
|
1272
|
+
this.switchValue = t, this.type = r, this.cases = n, this.switchValueSourceSpan = i;
|
|
1276
1273
|
}
|
|
1277
|
-
visit(
|
|
1278
|
-
return
|
|
1274
|
+
visit(t, r) {
|
|
1275
|
+
return t.visitExpansion(this, r);
|
|
1279
1276
|
}
|
|
1280
1277
|
}, ws = class {
|
|
1281
1278
|
constructor(e, t, r, n, a) {
|
|
1282
|
-
this
|
|
1279
|
+
h(this, "kind", "expansionCase");
|
|
1280
|
+
this.value = e, this.expression = t, this.sourceSpan = r, this.valueSourceSpan = n, this.expSourceSpan = a;
|
|
1283
1281
|
}
|
|
1284
1282
|
visit(e, t) {
|
|
1285
1283
|
return e.visitExpansionCase(this, t);
|
|
1286
1284
|
}
|
|
1287
|
-
}, ys = class extends
|
|
1288
|
-
constructor(
|
|
1289
|
-
super(
|
|
1285
|
+
}, ys = class extends K {
|
|
1286
|
+
constructor(t, r, n, a, i, s, o) {
|
|
1287
|
+
super(n, o);
|
|
1288
|
+
h(this, "kind", "attribute");
|
|
1289
|
+
this.name = t, this.value = r, this.keySpan = a, this.valueSpan = i, this.valueTokens = s;
|
|
1290
1290
|
}
|
|
1291
|
-
visit(
|
|
1292
|
-
return
|
|
1291
|
+
visit(t, r) {
|
|
1292
|
+
return t.visitAttribute(this, r);
|
|
1293
1293
|
}
|
|
1294
1294
|
get nameSpan() {
|
|
1295
1295
|
return this.keySpan;
|
|
1296
1296
|
}
|
|
1297
|
-
},
|
|
1298
|
-
constructor(
|
|
1299
|
-
super(
|
|
1297
|
+
}, W = class extends K {
|
|
1298
|
+
constructor(t, r, n, a, i, s, o, l = null, c = null, p, f) {
|
|
1299
|
+
super(s, f);
|
|
1300
|
+
h(this, "kind", "element");
|
|
1301
|
+
this.name = t, this.attrs = r, this.directives = n, this.children = a, this.isSelfClosing = i, this.startSourceSpan = o, this.endSourceSpan = l, this.nameSpan = c, this.isVoid = p;
|
|
1300
1302
|
}
|
|
1301
|
-
visit(
|
|
1302
|
-
return
|
|
1303
|
+
visit(t, r) {
|
|
1304
|
+
return t.visitElement(this, r);
|
|
1303
1305
|
}
|
|
1304
1306
|
}, Ds = class {
|
|
1305
1307
|
constructor(e, t) {
|
|
1306
|
-
this
|
|
1308
|
+
h(this, "kind", "comment");
|
|
1309
|
+
this.value = e, this.sourceSpan = t;
|
|
1307
1310
|
}
|
|
1308
1311
|
visit(e, t) {
|
|
1309
1312
|
return e.visitComment(this, t);
|
|
1310
1313
|
}
|
|
1311
1314
|
}, xs = class {
|
|
1312
1315
|
constructor(e, t) {
|
|
1313
|
-
this
|
|
1316
|
+
h(this, "kind", "docType");
|
|
1317
|
+
this.value = e, this.sourceSpan = t;
|
|
1314
1318
|
}
|
|
1315
1319
|
visit(e, t) {
|
|
1316
1320
|
return e.visitDocType(this, t);
|
|
1317
1321
|
}
|
|
1318
|
-
},
|
|
1319
|
-
constructor(
|
|
1320
|
-
super(
|
|
1322
|
+
}, J = class extends K {
|
|
1323
|
+
constructor(t, r, n, a, i, s, o = null, l) {
|
|
1324
|
+
super(a, l);
|
|
1325
|
+
h(this, "kind", "block");
|
|
1326
|
+
this.name = t, this.parameters = r, this.children = n, this.nameSpan = i, this.startSourceSpan = s, this.endSourceSpan = o;
|
|
1321
1327
|
}
|
|
1322
|
-
visit(
|
|
1323
|
-
return
|
|
1328
|
+
visit(t, r) {
|
|
1329
|
+
return t.visitBlock(this, r);
|
|
1324
1330
|
}
|
|
1325
|
-
},
|
|
1326
|
-
constructor(
|
|
1327
|
-
super(
|
|
1331
|
+
}, M = class extends K {
|
|
1332
|
+
constructor(t, r, n, a, i, s, o, l, c, p = null, f) {
|
|
1333
|
+
super(l, f);
|
|
1334
|
+
h(this, "kind", "component");
|
|
1335
|
+
this.componentName = t, this.tagName = r, this.fullName = n, this.attrs = a, this.directives = i, this.children = s, this.isSelfClosing = o, this.startSourceSpan = c, this.endSourceSpan = p;
|
|
1328
1336
|
}
|
|
1329
|
-
visit(
|
|
1330
|
-
return
|
|
1337
|
+
visit(t, r) {
|
|
1338
|
+
return t.visitComponent(this, r);
|
|
1331
1339
|
}
|
|
1332
1340
|
}, Ns = class {
|
|
1333
1341
|
constructor(e, t, r, n, a = null) {
|
|
1334
|
-
this
|
|
1342
|
+
h(this, "kind", "directive");
|
|
1343
|
+
this.name = e, this.attrs = t, this.sourceSpan = r, this.startSourceSpan = n, this.endSourceSpan = a;
|
|
1335
1344
|
}
|
|
1336
1345
|
visit(e, t) {
|
|
1337
1346
|
return e.visitDirective(this, t);
|
|
1338
1347
|
}
|
|
1339
|
-
},
|
|
1348
|
+
}, tr = class {
|
|
1340
1349
|
constructor(e, t) {
|
|
1341
|
-
this
|
|
1350
|
+
h(this, "kind", "blockParameter");
|
|
1351
|
+
h(this, "startSourceSpan", null);
|
|
1352
|
+
h(this, "endSourceSpan", null);
|
|
1353
|
+
this.expression = e, this.sourceSpan = t;
|
|
1342
1354
|
}
|
|
1343
1355
|
visit(e, t) {
|
|
1344
1356
|
return e.visitBlockParameter(this, t);
|
|
1345
1357
|
}
|
|
1346
|
-
},
|
|
1358
|
+
}, rr = class {
|
|
1347
1359
|
constructor(e, t, r, n, a) {
|
|
1348
|
-
this
|
|
1360
|
+
h(this, "kind", "letDeclaration");
|
|
1361
|
+
h(this, "startSourceSpan", null);
|
|
1362
|
+
h(this, "endSourceSpan", null);
|
|
1363
|
+
this.name = e, this.value = t, this.sourceSpan = r, this.nameSpan = n, this.valueSpan = a;
|
|
1349
1364
|
}
|
|
1350
1365
|
visit(e, t) {
|
|
1351
1366
|
return e.visitLetDeclaration(this, t);
|
|
@@ -1358,7 +1373,7 @@ function un(e, t, r = null) {
|
|
|
1358
1373
|
s && n.push(s);
|
|
1359
1374
|
}), n;
|
|
1360
1375
|
}
|
|
1361
|
-
var
|
|
1376
|
+
var Ls = class {
|
|
1362
1377
|
constructor() {
|
|
1363
1378
|
}
|
|
1364
1379
|
visitElement(e, t) {
|
|
@@ -1409,12 +1424,34 @@ var Bs = class {
|
|
|
1409
1424
|
}
|
|
1410
1425
|
return t(a), Array.prototype.concat.apply([], r);
|
|
1411
1426
|
}
|
|
1412
|
-
},
|
|
1413
|
-
`, 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: "" }, Ls = "";
|
|
1414
|
-
|
|
1427
|
+
}, Te = { AElig: "Æ", AMP: "&", amp: "&", Aacute: "Á", Abreve: "Ă", Acirc: "Â", Acy: "А", Afr: "𝔄", Agrave: "À", Alpha: "Α", Amacr: "Ā", And: "⩓", Aogon: "Ą", Aopf: "𝔸", ApplyFunction: "", af: "", Aring: "Å", angst: "Å", Ascr: "𝒜", Assign: "≔", colone: "≔", coloneq: "≔", Atilde: "Ã", Auml: "Ä", Backslash: "∖", setminus: "∖", setmn: "∖", smallsetminus: "∖", ssetmn: "∖", Barv: "⫧", Barwed: "⌆", doublebarwedge: "⌆", Bcy: "Б", Because: "∵", becaus: "∵", because: "∵", Bernoullis: "ℬ", Bscr: "ℬ", bernou: "ℬ", Beta: "Β", Bfr: "𝔅", Bopf: "𝔹", Breve: "˘", breve: "˘", Bumpeq: "≎", HumpDownHump: "≎", bump: "≎", CHcy: "Ч", COPY: "©", copy: "©", Cacute: "Ć", Cap: "⋒", CapitalDifferentialD: "ⅅ", DD: "ⅅ", Cayleys: "ℭ", Cfr: "ℭ", Ccaron: "Č", Ccedil: "Ç", Ccirc: "Ĉ", Cconint: "∰", Cdot: "Ċ", Cedilla: "¸", cedil: "¸", CenterDot: "·", centerdot: "·", middot: "·", Chi: "Χ", CircleDot: "⊙", odot: "⊙", CircleMinus: "⊖", ominus: "⊖", CirclePlus: "⊕", oplus: "⊕", CircleTimes: "⊗", otimes: "⊗", ClockwiseContourIntegral: "∲", cwconint: "∲", CloseCurlyDoubleQuote: "”", rdquo: "”", rdquor: "”", CloseCurlyQuote: "’", rsquo: "’", rsquor: "’", Colon: "∷", Proportion: "∷", Colone: "⩴", Congruent: "≡", equiv: "≡", Conint: "∯", DoubleContourIntegral: "∯", ContourIntegral: "∮", conint: "∮", oint: "∮", Copf: "ℂ", complexes: "ℂ", Coproduct: "∐", coprod: "∐", CounterClockwiseContourIntegral: "∳", awconint: "∳", Cross: "⨯", Cscr: "𝒞", Cup: "⋓", CupCap: "≍", asympeq: "≍", DDotrahd: "⤑", DJcy: "Ђ", DScy: "Ѕ", DZcy: "Џ", Dagger: "‡", ddagger: "‡", Darr: "↡", Dashv: "⫤", DoubleLeftTee: "⫤", Dcaron: "Ď", Dcy: "Д", Del: "∇", nabla: "∇", Delta: "Δ", Dfr: "𝔇", DiacriticalAcute: "´", acute: "´", DiacriticalDot: "˙", dot: "˙", DiacriticalDoubleAcute: "˝", dblac: "˝", DiacriticalGrave: "`", grave: "`", DiacriticalTilde: "˜", tilde: "˜", Diamond: "⋄", diam: "⋄", diamond: "⋄", DifferentialD: "ⅆ", dd: "ⅆ", Dopf: "𝔻", Dot: "¨", DoubleDot: "¨", die: "¨", uml: "¨", DotDot: "⃜", DotEqual: "≐", doteq: "≐", esdot: "≐", DoubleDownArrow: "⇓", Downarrow: "⇓", dArr: "⇓", DoubleLeftArrow: "⇐", Leftarrow: "⇐", lArr: "⇐", DoubleLeftRightArrow: "⇔", Leftrightarrow: "⇔", hArr: "⇔", iff: "⇔", DoubleLongLeftArrow: "⟸", Longleftarrow: "⟸", xlArr: "⟸", DoubleLongLeftRightArrow: "⟺", Longleftrightarrow: "⟺", xhArr: "⟺", DoubleLongRightArrow: "⟹", Longrightarrow: "⟹", xrArr: "⟹", DoubleRightArrow: "⇒", Implies: "⇒", Rightarrow: "⇒", rArr: "⇒", DoubleRightTee: "⊨", vDash: "⊨", DoubleUpArrow: "⇑", Uparrow: "⇑", uArr: "⇑", DoubleUpDownArrow: "⇕", Updownarrow: "⇕", vArr: "⇕", DoubleVerticalBar: "∥", par: "∥", parallel: "∥", shortparallel: "∥", spar: "∥", DownArrow: "↓", ShortDownArrow: "↓", darr: "↓", downarrow: "↓", DownArrowBar: "⤓", DownArrowUpArrow: "⇵", duarr: "⇵", DownBreve: "̑", DownLeftRightVector: "⥐", DownLeftTeeVector: "⥞", DownLeftVector: "↽", leftharpoondown: "↽", lhard: "↽", DownLeftVectorBar: "⥖", DownRightTeeVector: "⥟", DownRightVector: "⇁", rhard: "⇁", rightharpoondown: "⇁", DownRightVectorBar: "⥗", DownTee: "⊤", top: "⊤", DownTeeArrow: "↧", mapstodown: "↧", Dscr: "𝒟", Dstrok: "Đ", ENG: "Ŋ", ETH: "Ð", Eacute: "É", Ecaron: "Ě", Ecirc: "Ê", Ecy: "Э", Edot: "Ė", Efr: "𝔈", Egrave: "È", Element: "∈", in: "∈", isin: "∈", isinv: "∈", Emacr: "Ē", EmptySmallSquare: "◻", EmptyVerySmallSquare: "▫", Eogon: "Ę", Eopf: "𝔼", Epsilon: "Ε", Equal: "⩵", EqualTilde: "≂", eqsim: "≂", esim: "≂", Equilibrium: "⇌", rightleftharpoons: "⇌", rlhar: "⇌", Escr: "ℰ", expectation: "ℰ", Esim: "⩳", Eta: "Η", Euml: "Ë", Exists: "∃", exist: "∃", ExponentialE: "ⅇ", ee: "ⅇ", exponentiale: "ⅇ", Fcy: "Ф", Ffr: "𝔉", FilledSmallSquare: "◼", FilledVerySmallSquare: "▪", blacksquare: "▪", squarf: "▪", squf: "▪", Fopf: "𝔽", ForAll: "∀", forall: "∀", Fouriertrf: "ℱ", Fscr: "ℱ", GJcy: "Ѓ", GT: ">", gt: ">", Gamma: "Γ", Gammad: "Ϝ", Gbreve: "Ğ", Gcedil: "Ģ", Gcirc: "Ĝ", Gcy: "Г", Gdot: "Ġ", Gfr: "𝔊", Gg: "⋙", ggg: "⋙", Gopf: "𝔾", GreaterEqual: "≥", ge: "≥", geq: "≥", GreaterEqualLess: "⋛", gel: "⋛", gtreqless: "⋛", GreaterFullEqual: "≧", gE: "≧", geqq: "≧", GreaterGreater: "⪢", GreaterLess: "≷", gl: "≷", gtrless: "≷", GreaterSlantEqual: "⩾", geqslant: "⩾", ges: "⩾", GreaterTilde: "≳", gsim: "≳", gtrsim: "≳", Gscr: "𝒢", Gt: "≫", NestedGreaterGreater: "≫", gg: "≫", HARDcy: "Ъ", Hacek: "ˇ", caron: "ˇ", Hat: "^", Hcirc: "Ĥ", Hfr: "ℌ", Poincareplane: "ℌ", HilbertSpace: "ℋ", Hscr: "ℋ", hamilt: "ℋ", Hopf: "ℍ", quaternions: "ℍ", HorizontalLine: "─", boxh: "─", Hstrok: "Ħ", HumpEqual: "≏", bumpe: "≏", bumpeq: "≏", IEcy: "Е", IJlig: "IJ", IOcy: "Ё", Iacute: "Í", Icirc: "Î", Icy: "И", Idot: "İ", Ifr: "ℑ", Im: "ℑ", image: "ℑ", imagpart: "ℑ", Igrave: "Ì", Imacr: "Ī", ImaginaryI: "ⅈ", ii: "ⅈ", Int: "∬", Integral: "∫", int: "∫", Intersection: "⋂", bigcap: "⋂", xcap: "⋂", InvisibleComma: "", ic: "", InvisibleTimes: "", it: "", Iogon: "Į", Iopf: "𝕀", Iota: "Ι", Iscr: "ℐ", imagline: "ℐ", Itilde: "Ĩ", Iukcy: "І", Iuml: "Ï", Jcirc: "Ĵ", Jcy: "Й", Jfr: "𝔍", Jopf: "𝕁", Jscr: "𝒥", Jsercy: "Ј", Jukcy: "Є", KHcy: "Х", KJcy: "Ќ", Kappa: "Κ", Kcedil: "Ķ", Kcy: "К", Kfr: "𝔎", Kopf: "𝕂", Kscr: "𝒦", LJcy: "Љ", LT: "<", lt: "<", Lacute: "Ĺ", Lambda: "Λ", Lang: "⟪", Laplacetrf: "ℒ", Lscr: "ℒ", lagran: "ℒ", Larr: "↞", twoheadleftarrow: "↞", Lcaron: "Ľ", Lcedil: "Ļ", Lcy: "Л", LeftAngleBracket: "⟨", lang: "⟨", langle: "⟨", LeftArrow: "←", ShortLeftArrow: "←", larr: "←", leftarrow: "←", slarr: "←", LeftArrowBar: "⇤", larrb: "⇤", LeftArrowRightArrow: "⇆", leftrightarrows: "⇆", lrarr: "⇆", LeftCeiling: "⌈", lceil: "⌈", LeftDoubleBracket: "⟦", lobrk: "⟦", LeftDownTeeVector: "⥡", LeftDownVector: "⇃", dharl: "⇃", downharpoonleft: "⇃", LeftDownVectorBar: "⥙", LeftFloor: "⌊", lfloor: "⌊", LeftRightArrow: "↔", harr: "↔", leftrightarrow: "↔", LeftRightVector: "⥎", LeftTee: "⊣", dashv: "⊣", LeftTeeArrow: "↤", mapstoleft: "↤", LeftTeeVector: "⥚", LeftTriangle: "⊲", vartriangleleft: "⊲", vltri: "⊲", LeftTriangleBar: "⧏", LeftTriangleEqual: "⊴", ltrie: "⊴", trianglelefteq: "⊴", LeftUpDownVector: "⥑", LeftUpTeeVector: "⥠", LeftUpVector: "↿", uharl: "↿", upharpoonleft: "↿", LeftUpVectorBar: "⥘", LeftVector: "↼", leftharpoonup: "↼", lharu: "↼", LeftVectorBar: "⥒", LessEqualGreater: "⋚", leg: "⋚", lesseqgtr: "⋚", LessFullEqual: "≦", lE: "≦", leqq: "≦", LessGreater: "≶", lessgtr: "≶", lg: "≶", LessLess: "⪡", LessSlantEqual: "⩽", leqslant: "⩽", les: "⩽", LessTilde: "≲", lesssim: "≲", lsim: "≲", Lfr: "𝔏", Ll: "⋘", Lleftarrow: "⇚", lAarr: "⇚", Lmidot: "Ŀ", LongLeftArrow: "⟵", longleftarrow: "⟵", xlarr: "⟵", LongLeftRightArrow: "⟷", longleftrightarrow: "⟷", xharr: "⟷", LongRightArrow: "⟶", longrightarrow: "⟶", xrarr: "⟶", Lopf: "𝕃", LowerLeftArrow: "↙", swarr: "↙", swarrow: "↙", LowerRightArrow: "↘", searr: "↘", searrow: "↘", Lsh: "↰", lsh: "↰", Lstrok: "Ł", Lt: "≪", NestedLessLess: "≪", ll: "≪", Map: "⤅", Mcy: "М", MediumSpace: " ", Mellintrf: "ℳ", Mscr: "ℳ", phmmat: "ℳ", Mfr: "𝔐", MinusPlus: "∓", mnplus: "∓", mp: "∓", Mopf: "𝕄", Mu: "Μ", NJcy: "Њ", Nacute: "Ń", Ncaron: "Ň", Ncedil: "Ņ", Ncy: "Н", NegativeMediumSpace: "", NegativeThickSpace: "", NegativeThinSpace: "", NegativeVeryThinSpace: "", ZeroWidthSpace: "", NewLine: `
|
|
1428
|
+
`, 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: "" };
|
|
1429
|
+
Te.ngsp = "";
|
|
1415
1430
|
var u = (function(e) {
|
|
1416
1431
|
return e[e.TAG_OPEN_START = 0] = "TAG_OPEN_START", e[e.TAG_OPEN_END = 1] = "TAG_OPEN_END", e[e.TAG_OPEN_END_VOID = 2] = "TAG_OPEN_END_VOID", e[e.TAG_CLOSE = 3] = "TAG_CLOSE", e[e.INCOMPLETE_TAG_OPEN = 4] = "INCOMPLETE_TAG_OPEN", e[e.TEXT = 5] = "TEXT", e[e.ESCAPABLE_RAW_TEXT = 6] = "ESCAPABLE_RAW_TEXT", e[e.RAW_TEXT = 7] = "RAW_TEXT", e[e.INTERPOLATION = 8] = "INTERPOLATION", e[e.ENCODED_ENTITY = 9] = "ENCODED_ENTITY", e[e.COMMENT_START = 10] = "COMMENT_START", e[e.COMMENT_END = 11] = "COMMENT_END", e[e.CDATA_START = 12] = "CDATA_START", e[e.CDATA_END = 13] = "CDATA_END", e[e.ATTR_NAME = 14] = "ATTR_NAME", e[e.ATTR_QUOTE = 15] = "ATTR_QUOTE", e[e.ATTR_VALUE_TEXT = 16] = "ATTR_VALUE_TEXT", e[e.ATTR_VALUE_INTERPOLATION = 17] = "ATTR_VALUE_INTERPOLATION", e[e.DOC_TYPE_START = 18] = "DOC_TYPE_START", e[e.DOC_TYPE_END = 19] = "DOC_TYPE_END", e[e.EXPANSION_FORM_START = 20] = "EXPANSION_FORM_START", e[e.EXPANSION_CASE_VALUE = 21] = "EXPANSION_CASE_VALUE", e[e.EXPANSION_CASE_EXP_START = 22] = "EXPANSION_CASE_EXP_START", e[e.EXPANSION_CASE_EXP_END = 23] = "EXPANSION_CASE_EXP_END", e[e.EXPANSION_FORM_END = 24] = "EXPANSION_FORM_END", e[e.BLOCK_OPEN_START = 25] = "BLOCK_OPEN_START", e[e.BLOCK_OPEN_END = 26] = "BLOCK_OPEN_END", e[e.BLOCK_CLOSE = 27] = "BLOCK_CLOSE", e[e.BLOCK_PARAMETER = 28] = "BLOCK_PARAMETER", e[e.INCOMPLETE_BLOCK_OPEN = 29] = "INCOMPLETE_BLOCK_OPEN", e[e.LET_START = 30] = "LET_START", e[e.LET_VALUE = 31] = "LET_VALUE", e[e.LET_END = 32] = "LET_END", e[e.INCOMPLETE_LET = 33] = "INCOMPLETE_LET", e[e.COMPONENT_OPEN_START = 34] = "COMPONENT_OPEN_START", e[e.COMPONENT_OPEN_END = 35] = "COMPONENT_OPEN_END", e[e.COMPONENT_OPEN_END_VOID = 36] = "COMPONENT_OPEN_END_VOID", e[e.COMPONENT_CLOSE = 37] = "COMPONENT_CLOSE", e[e.INCOMPLETE_COMPONENT_OPEN = 38] = "INCOMPLETE_COMPONENT_OPEN", e[e.DIRECTIVE_NAME = 39] = "DIRECTIVE_NAME", e[e.DIRECTIVE_OPEN = 40] = "DIRECTIVE_OPEN", e[e.DIRECTIVE_CLOSE = 41] = "DIRECTIVE_CLOSE", e[e.EOF = 42] = "EOF", e;
|
|
1417
|
-
})({})
|
|
1432
|
+
})({});
|
|
1433
|
+
function Ve(e) {
|
|
1434
|
+
return e >= 9 && e <= 32 || e == 160;
|
|
1435
|
+
}
|
|
1436
|
+
function Be(e) {
|
|
1437
|
+
return 48 <= e && e <= 57;
|
|
1438
|
+
}
|
|
1439
|
+
function ke(e) {
|
|
1440
|
+
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
1441
|
+
}
|
|
1442
|
+
function Bs(e) {
|
|
1443
|
+
return e >= 97 && e <= 102 || e >= 65 && e <= 70 || Be(e);
|
|
1444
|
+
}
|
|
1445
|
+
function ve(e) {
|
|
1446
|
+
return e === 10 || e === 13;
|
|
1447
|
+
}
|
|
1448
|
+
function nr(e) {
|
|
1449
|
+
return 48 <= e && e <= 55;
|
|
1450
|
+
}
|
|
1451
|
+
function at(e) {
|
|
1452
|
+
return e === 39 || e === 34 || e === 96;
|
|
1453
|
+
}
|
|
1454
|
+
var Os = class {
|
|
1418
1455
|
constructor(e, t, r) {
|
|
1419
1456
|
this.tokens = e, this.errors = t, this.nonNormalizedIcuExpressions = r;
|
|
1420
1457
|
}
|
|
@@ -1424,7 +1461,7 @@ function Fs(e, t, r, n = {}) {
|
|
|
1424
1461
|
return a.tokenize(), new Os($s(a.tokens), a.errors, a.nonNormalizedIcuExpressions);
|
|
1425
1462
|
}
|
|
1426
1463
|
var Ps = /\r\n?/g;
|
|
1427
|
-
function
|
|
1464
|
+
function z(e) {
|
|
1428
1465
|
return `Unexpected character "${e === 0 ? "EOF" : String.fromCharCode(e)}"`;
|
|
1429
1466
|
}
|
|
1430
1467
|
function ar(e) {
|
|
@@ -1435,9 +1472,28 @@ function Is(e, t) {
|
|
|
1435
1472
|
}
|
|
1436
1473
|
var pt = (function(e) {
|
|
1437
1474
|
return e.HEX = "hexadecimal", e.DEC = "decimal", e;
|
|
1438
|
-
})(pt || {}), Rs = ["@if", "@else", "@for", "@switch", "@case", "@default", "@empty", "@defer", "@placeholder", "@loading", "@error"],
|
|
1475
|
+
})(pt || {}), Rs = ["@if", "@else", "@for", "@switch", "@case", "@default", "@empty", "@defer", "@placeholder", "@loading", "@error"], me = { start: "{{", end: "}}" }, Ms = class {
|
|
1439
1476
|
constructor(e, t, r) {
|
|
1440
|
-
this
|
|
1477
|
+
h(this, "_cursor");
|
|
1478
|
+
h(this, "_tokenizeIcu");
|
|
1479
|
+
h(this, "_leadingTriviaCodePoints");
|
|
1480
|
+
h(this, "_canSelfClose");
|
|
1481
|
+
h(this, "_allowHtmComponentClosingTags");
|
|
1482
|
+
h(this, "_currentTokenStart", null);
|
|
1483
|
+
h(this, "_currentTokenType", null);
|
|
1484
|
+
h(this, "_expansionCaseStack", []);
|
|
1485
|
+
h(this, "_openDirectiveCount", 0);
|
|
1486
|
+
h(this, "_inInterpolation", !1);
|
|
1487
|
+
h(this, "_preserveLineEndings");
|
|
1488
|
+
h(this, "_i18nNormalizeLineEndingsInICUs");
|
|
1489
|
+
h(this, "_fullNameStack", []);
|
|
1490
|
+
h(this, "_tokenizeBlocks");
|
|
1491
|
+
h(this, "_tokenizeLet");
|
|
1492
|
+
h(this, "_selectorlessEnabled");
|
|
1493
|
+
h(this, "tokens", []);
|
|
1494
|
+
h(this, "errors", []);
|
|
1495
|
+
h(this, "nonNormalizedIcuExpressions", []);
|
|
1496
|
+
this._getTagContentType = t, this._tokenizeIcu = r.tokenizeExpansionForms || !1, this._leadingTriviaCodePoints = r.leadingTriviaChars && r.leadingTriviaChars.map((a) => a.codePointAt(0) || 0), this._canSelfClose = r.canSelfClose || !1, this._allowHtmComponentClosingTags = r.allowHtmComponentClosingTags || !1;
|
|
1441
1497
|
let n = r.range || { endPos: e.content.length, startPos: 0, startLine: 0, startCol: 0 };
|
|
1442
1498
|
this._cursor = r.escapedString ? new js(e, n) : new ln(e, n), this._preserveLineEndings = r.preserveLineEndings || !1, this._i18nNormalizeLineEndingsInICUs = r.i18nNormalizeLineEndingsInICUs || !1, this._tokenizeBlocks = r.tokenizeBlocks ?? !0, this._tokenizeLet = r.tokenizeLet ?? !0, this._selectorlessEnabled = r.selectorlessEnabled ?? !1;
|
|
1443
1499
|
try {
|
|
@@ -1469,7 +1525,7 @@ var pt = (function(e) {
|
|
|
1469
1525
|
}
|
|
1470
1526
|
_getBlockName() {
|
|
1471
1527
|
let e = !1, t = this._cursor.clone();
|
|
1472
|
-
return this._attemptCharCodeUntilFn((r) =>
|
|
1528
|
+
return this._attemptCharCodeUntilFn((r) => Ve(r) ? !e : zs(r) ? (e = !0, !1) : !0), this._cursor.getChars(t).trim();
|
|
1473
1529
|
}
|
|
1474
1530
|
_consumeBlockStart(e) {
|
|
1475
1531
|
this._requireCharCode(64), this._beginToken(u.BLOCK_OPEN_START, e);
|
|
@@ -1479,6 +1535,10 @@ var pt = (function(e) {
|
|
|
1479
1535
|
t.type = u.INCOMPLETE_BLOCK_OPEN;
|
|
1480
1536
|
return;
|
|
1481
1537
|
}
|
|
1538
|
+
if (t.parts[0] === "default never" && this._attemptCharCode(59)) {
|
|
1539
|
+
this._beginToken(u.BLOCK_OPEN_END), this._endToken([]), this._beginToken(u.BLOCK_CLOSE), this._endToken([]);
|
|
1540
|
+
return;
|
|
1541
|
+
}
|
|
1482
1542
|
this._attemptCharCode(123) ? (this._beginToken(u.BLOCK_OPEN_END), this._endToken([])) : this._isBlockStart() && (t.parts[0] === "case" || t.parts[0] === "default") ? (this._beginToken(u.BLOCK_OPEN_END), this._endToken([]), this._beginToken(u.BLOCK_CLOSE), this._endToken([])) : t.type = u.INCOMPLETE_BLOCK_OPEN;
|
|
1483
1543
|
}
|
|
1484
1544
|
_consumeBlockEnd(e) {
|
|
@@ -1504,7 +1564,7 @@ var pt = (function(e) {
|
|
|
1504
1564
|
}
|
|
1505
1565
|
}
|
|
1506
1566
|
_consumeLetDeclaration(e) {
|
|
1507
|
-
if (this._requireStr("@let"), this._beginToken(u.LET_START, e),
|
|
1567
|
+
if (this._requireStr("@let"), this._beginToken(u.LET_START, e), Ve(this._cursor.peek())) this._attemptCharCodeUntilFn(E);
|
|
1508
1568
|
else {
|
|
1509
1569
|
let r = this._endToken([this._cursor.getChars(e)]);
|
|
1510
1570
|
r.type = u.INCOMPLETE_LET;
|
|
@@ -1515,11 +1575,11 @@ var pt = (function(e) {
|
|
|
1515
1575
|
t.type = u.INCOMPLETE_LET;
|
|
1516
1576
|
return;
|
|
1517
1577
|
}
|
|
1518
|
-
this._attemptCharCodeUntilFn((r) => E(r) && !
|
|
1578
|
+
this._attemptCharCodeUntilFn((r) => E(r) && !ve(r)), this._consumeLetDeclarationValue(), this._cursor.peek() === 59 ? (this._beginToken(u.LET_END), this._endToken([]), this._cursor.advance()) : (t.type = u.INCOMPLETE_LET, t.sourceSpan = this._cursor.getSpan(e));
|
|
1519
1579
|
}
|
|
1520
1580
|
_getLetDeclarationName() {
|
|
1521
1581
|
let e = this._cursor.clone(), t = !1;
|
|
1522
|
-
return this._attemptCharCodeUntilFn((r) =>
|
|
1582
|
+
return this._attemptCharCodeUntilFn((r) => ke(r) || r === 36 || r === 95 || t && Be(r) ? (t = !0, !1) : !0), this._cursor.getChars(e).trim();
|
|
1523
1583
|
}
|
|
1524
1584
|
_consumeLetDeclarationValue() {
|
|
1525
1585
|
let e = this._cursor.clone();
|
|
@@ -1532,7 +1592,7 @@ var pt = (function(e) {
|
|
|
1532
1592
|
}
|
|
1533
1593
|
_tokenizeExpansionForm() {
|
|
1534
1594
|
if (this.isExpansionFormStart()) return this._consumeExpansionFormStart(), !0;
|
|
1535
|
-
if (
|
|
1595
|
+
if (Vs(this._cursor.peek()) && this._isInExpansionForm()) return this._consumeExpansionCaseStart(), !0;
|
|
1536
1596
|
if (this._cursor.peek() === 125) {
|
|
1537
1597
|
if (this._isInExpansionCase()) return this._consumeExpansionCaseEnd(), !0;
|
|
1538
1598
|
if (this._isInExpansionForm()) return this._consumeExpansionFormEnd(), !0;
|
|
@@ -1543,18 +1603,18 @@ var pt = (function(e) {
|
|
|
1543
1603
|
this._currentTokenStart = t, this._currentTokenType = e;
|
|
1544
1604
|
}
|
|
1545
1605
|
_endToken(e, t) {
|
|
1546
|
-
if (this._currentTokenStart === null) throw new
|
|
1547
|
-
if (this._currentTokenType === null) throw new
|
|
1606
|
+
if (this._currentTokenStart === null) throw new Z(this._cursor.getSpan(t), "Programming error - attempted to end a token when there was no start to the token");
|
|
1607
|
+
if (this._currentTokenType === null) throw new Z(this._cursor.getSpan(this._currentTokenStart), "Programming error - attempted to end a token which has no token type");
|
|
1548
1608
|
let r = { type: this._currentTokenType, parts: e, sourceSpan: (t ?? this._cursor).getSpan(this._currentTokenStart, this._leadingTriviaCodePoints) };
|
|
1549
1609
|
return this.tokens.push(r), this._currentTokenStart = null, this._currentTokenType = null, r;
|
|
1550
1610
|
}
|
|
1551
1611
|
_createError(e, t) {
|
|
1552
1612
|
this._isInExpansionForm() && (e += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);
|
|
1553
|
-
let r = new
|
|
1613
|
+
let r = new Z(t, e);
|
|
1554
1614
|
return this._currentTokenStart = null, this._currentTokenType = null, r;
|
|
1555
1615
|
}
|
|
1556
1616
|
handleError(e) {
|
|
1557
|
-
if (e instanceof Ft && (e = this._createError(e.msg, this._cursor.getSpan(e.cursor))), e instanceof
|
|
1617
|
+
if (e instanceof Ft && (e = this._createError(e.msg, this._cursor.getSpan(e.cursor))), e instanceof Z) this.errors.push(e);
|
|
1558
1618
|
else throw e;
|
|
1559
1619
|
}
|
|
1560
1620
|
_attemptCharCode(e) {
|
|
@@ -1565,7 +1625,7 @@ var pt = (function(e) {
|
|
|
1565
1625
|
}
|
|
1566
1626
|
_requireCharCode(e) {
|
|
1567
1627
|
let t = this._cursor.clone();
|
|
1568
|
-
if (!this._attemptCharCode(e)) throw this._createError(
|
|
1628
|
+
if (!this._attemptCharCode(e)) throw this._createError(z(this._cursor.peek()), this._cursor.getSpan(t));
|
|
1569
1629
|
}
|
|
1570
1630
|
_attemptStr(e) {
|
|
1571
1631
|
let t = e.length;
|
|
@@ -1580,18 +1640,18 @@ var pt = (function(e) {
|
|
|
1580
1640
|
}
|
|
1581
1641
|
_requireStr(e) {
|
|
1582
1642
|
let t = this._cursor.clone();
|
|
1583
|
-
if (!this._attemptStr(e)) throw this._createError(
|
|
1643
|
+
if (!this._attemptStr(e)) throw this._createError(z(this._cursor.peek()), this._cursor.getSpan(t));
|
|
1584
1644
|
}
|
|
1585
1645
|
_requireStrCaseInsensitive(e) {
|
|
1586
1646
|
let t = this._cursor.clone();
|
|
1587
|
-
if (!this._attemptStrCaseInsensitive(e)) throw this._createError(
|
|
1647
|
+
if (!this._attemptStrCaseInsensitive(e)) throw this._createError(z(this._cursor.peek()), this._cursor.getSpan(t));
|
|
1588
1648
|
}
|
|
1589
1649
|
_attemptCharCodeUntilFn(e) {
|
|
1590
1650
|
for (; !e(this._cursor.peek()); ) this._cursor.advance();
|
|
1591
1651
|
}
|
|
1592
1652
|
_requireCharCodeUntilFn(e, t) {
|
|
1593
1653
|
let r = this._cursor.clone();
|
|
1594
|
-
if (this._attemptCharCodeUntilFn(e), this._cursor.diff(r) < t) throw this._createError(
|
|
1654
|
+
if (this._attemptCharCodeUntilFn(e), this._cursor.diff(r) < t) throw this._createError(z(this._cursor.peek()), this._cursor.getSpan(r));
|
|
1595
1655
|
}
|
|
1596
1656
|
_attemptUntilChar(e) {
|
|
1597
1657
|
for (; this._cursor.peek() !== e; ) this._cursor.advance();
|
|
@@ -1636,11 +1696,11 @@ var pt = (function(e) {
|
|
|
1636
1696
|
}
|
|
1637
1697
|
} else {
|
|
1638
1698
|
let r = this._cursor.clone();
|
|
1639
|
-
if (this._attemptCharCodeUntilFn(
|
|
1699
|
+
if (this._attemptCharCodeUntilFn(Us), this._cursor.peek() != 59) this._beginToken(e, t), this._cursor = r, this._endToken(["&"]);
|
|
1640
1700
|
else {
|
|
1641
1701
|
let n = this._cursor.getChars(r);
|
|
1642
1702
|
this._cursor.advance();
|
|
1643
|
-
let a =
|
|
1703
|
+
let a = Te.hasOwnProperty(n) && Te[n];
|
|
1644
1704
|
if (!a) throw this._createError(ar(n), this._cursor.getSpan(t));
|
|
1645
1705
|
this._endToken([a, `&${n};`]);
|
|
1646
1706
|
}
|
|
@@ -1676,24 +1736,48 @@ var pt = (function(e) {
|
|
|
1676
1736
|
let a = this._cursor.getChars(n);
|
|
1677
1737
|
return [r, a];
|
|
1678
1738
|
}
|
|
1739
|
+
_consumeSingleLineComment() {
|
|
1740
|
+
this._attemptCharCodeUntilFn((e) => ve(e) || e === 0), this._attemptCharCodeUntilFn(E);
|
|
1741
|
+
}
|
|
1742
|
+
_consumeMultiLineComment() {
|
|
1743
|
+
this._attemptCharCodeUntilFn((e) => {
|
|
1744
|
+
if (e === 0) return !0;
|
|
1745
|
+
if (e === 42) {
|
|
1746
|
+
let t = this._cursor.clone();
|
|
1747
|
+
return t.advance(), t.peek() === 47;
|
|
1748
|
+
}
|
|
1749
|
+
return !1;
|
|
1750
|
+
}), this._attemptStr("*/") && this._attemptCharCodeUntilFn(E);
|
|
1751
|
+
}
|
|
1679
1752
|
_consumeTagOpen(e) {
|
|
1680
1753
|
let t, r, n, a, i = [];
|
|
1681
1754
|
try {
|
|
1682
|
-
if (this._selectorlessEnabled &&
|
|
1755
|
+
if (this._selectorlessEnabled && Me(this._cursor.peek())) a = this._consumeComponentOpenStart(e), [n, r, t] = a.parts, r && (n += `:${r}`), t && (n += `:${t}`), this._attemptCharCodeUntilFn(E);
|
|
1683
1756
|
else {
|
|
1684
|
-
if (!
|
|
1757
|
+
if (!ke(this._cursor.peek())) throw this._createError(z(this._cursor.peek()), this._cursor.getSpan(e));
|
|
1685
1758
|
a = this._consumeTagOpenStart(e), r = a.parts[0], t = n = a.parts[1], this._attemptCharCodeUntilFn(E);
|
|
1686
1759
|
}
|
|
1687
|
-
for (;
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1760
|
+
for (; ; ) {
|
|
1761
|
+
if (this._attemptStr("//")) {
|
|
1762
|
+
this._consumeSingleLineComment();
|
|
1763
|
+
continue;
|
|
1764
|
+
}
|
|
1765
|
+
if (this._attemptStr("/*")) {
|
|
1766
|
+
this._consumeMultiLineComment();
|
|
1767
|
+
continue;
|
|
1768
|
+
}
|
|
1769
|
+
if (ur(this._cursor.peek())) break;
|
|
1770
|
+
if (this._selectorlessEnabled && this._cursor.peek() === 64) {
|
|
1771
|
+
let o = this._cursor.clone(), l = o.clone();
|
|
1772
|
+
l.advance(), Me(l.peek()) && this._consumeDirective(o, l);
|
|
1773
|
+
} else {
|
|
1774
|
+
let o = this._consumeAttribute();
|
|
1775
|
+
i.push(o);
|
|
1776
|
+
}
|
|
1693
1777
|
}
|
|
1694
1778
|
a.type === u.COMPONENT_OPEN_START ? this._consumeComponentOpenEnd() : this._consumeTagOpenEnd();
|
|
1695
1779
|
} catch (o) {
|
|
1696
|
-
if (o instanceof
|
|
1780
|
+
if (o instanceof Z) {
|
|
1697
1781
|
a ? a.type = a.type === u.COMPONENT_OPEN_START ? u.INCOMPLETE_COMPONENT_OPEN : u.INCOMPLETE_TAG_OPEN : (this._beginToken(u.TEXT, e), this._endToken(["<"]));
|
|
1698
1782
|
return;
|
|
1699
1783
|
}
|
|
@@ -1701,14 +1785,14 @@ var pt = (function(e) {
|
|
|
1701
1785
|
}
|
|
1702
1786
|
if (this._canSelfClose && this.tokens[this.tokens.length - 1].type === u.TAG_OPEN_END_VOID) return;
|
|
1703
1787
|
let s = this._getTagContentType(t, r, this._fullNameStack.length > 0, i);
|
|
1704
|
-
this._handleFullNameStackForTagOpen(r, t), s ===
|
|
1788
|
+
this._handleFullNameStackForTagOpen(r, t), s === q.RAW_TEXT ? this._consumeRawTextWithTagClose(r, a, n, !1) : s === q.ESCAPABLE_RAW_TEXT && this._consumeRawTextWithTagClose(r, a, n, !0);
|
|
1705
1789
|
}
|
|
1706
1790
|
_consumeRawTextWithTagClose(e, t, r, n) {
|
|
1707
1791
|
this._consumeRawText(n, () => !this._attemptCharCode(60) || !this._attemptCharCode(47) || (this._attemptCharCodeUntilFn(E), !this._attemptStrCaseInsensitive(e && t.type !== u.COMPONENT_OPEN_START ? `${e}:${r}` : r)) ? !1 : (this._attemptCharCodeUntilFn(E), this._attemptCharCode(62))), this._beginToken(t.type === u.COMPONENT_OPEN_START ? u.COMPONENT_CLOSE : u.TAG_CLOSE), this._requireCharCodeUntilFn((a) => a === 62, 3), this._cursor.advance(), this._endToken(t.parts), this._handleFullNameStackForTagClose(e, r);
|
|
1708
1792
|
}
|
|
1709
1793
|
_consumeTagOpenStart(e) {
|
|
1710
1794
|
this._beginToken(u.TAG_OPEN_START, e);
|
|
1711
|
-
let t = this._consumePrefixAndName(
|
|
1795
|
+
let t = this._consumePrefixAndName($);
|
|
1712
1796
|
return this._endToken(t);
|
|
1713
1797
|
}
|
|
1714
1798
|
_consumeComponentOpenStart(e) {
|
|
@@ -1720,7 +1804,7 @@ var pt = (function(e) {
|
|
|
1720
1804
|
let e = this._cursor.clone();
|
|
1721
1805
|
for (; or(this._cursor.peek()); ) this._cursor.advance();
|
|
1722
1806
|
let t = this._cursor.getChars(e), r = "", n = "";
|
|
1723
|
-
return this._cursor.peek() === 58 && (this._cursor.advance(), [r, n] = this._consumePrefixAndName(
|
|
1807
|
+
return this._cursor.peek() === 58 && (this._cursor.advance(), [r, n] = this._consumePrefixAndName($)), [t, r, n];
|
|
1724
1808
|
}
|
|
1725
1809
|
_consumeAttribute() {
|
|
1726
1810
|
let [e, t] = this._consumeAttributeName(), r;
|
|
@@ -1728,7 +1812,7 @@ var pt = (function(e) {
|
|
|
1728
1812
|
}
|
|
1729
1813
|
_consumeAttributeName() {
|
|
1730
1814
|
let e = this._cursor.peek();
|
|
1731
|
-
if (e === 39 || e === 34) throw this._createError(
|
|
1815
|
+
if (e === 39 || e === 34) throw this._createError(z(e), this._cursor.getSpan());
|
|
1732
1816
|
this._beginToken(u.ATTR_NAME);
|
|
1733
1817
|
let t;
|
|
1734
1818
|
if (this._openDirectiveCount > 0) {
|
|
@@ -1741,12 +1825,12 @@ var pt = (function(e) {
|
|
|
1741
1825
|
n--;
|
|
1742
1826
|
}
|
|
1743
1827
|
}
|
|
1744
|
-
return
|
|
1828
|
+
return $(a);
|
|
1745
1829
|
};
|
|
1746
1830
|
} else if (e === 91) {
|
|
1747
1831
|
let n = 0;
|
|
1748
|
-
t = (a) => (a === 91 ? n++ : a === 93 && n--, n <= 0 ?
|
|
1749
|
-
} else t =
|
|
1832
|
+
t = (a) => (a === 91 ? n++ : a === 93 && n--, n <= 0 ? $(a) : ve(a));
|
|
1833
|
+
} else t = $;
|
|
1750
1834
|
let r = this._consumePrefixAndName(t);
|
|
1751
1835
|
return this._endToken(r), r;
|
|
1752
1836
|
}
|
|
@@ -1758,7 +1842,7 @@ var pt = (function(e) {
|
|
|
1758
1842
|
let r = () => this._cursor.peek() === t;
|
|
1759
1843
|
e = this._consumeWithInterpolation(u.ATTR_VALUE_TEXT, u.ATTR_VALUE_INTERPOLATION, r, r), this._consumeQuote(t);
|
|
1760
1844
|
} else {
|
|
1761
|
-
let t = () =>
|
|
1845
|
+
let t = () => $(this._cursor.peek());
|
|
1762
1846
|
e = this._consumeWithInterpolation(u.ATTR_VALUE_TEXT, u.ATTR_VALUE_INTERPOLATION, t, t);
|
|
1763
1847
|
}
|
|
1764
1848
|
return e;
|
|
@@ -1777,8 +1861,8 @@ var pt = (function(e) {
|
|
|
1777
1861
|
_consumeTagClose(e) {
|
|
1778
1862
|
if (this._selectorlessEnabled) {
|
|
1779
1863
|
let t = e.clone();
|
|
1780
|
-
for (; t.peek() !== 62 && !
|
|
1781
|
-
if (
|
|
1864
|
+
for (; t.peek() !== 62 && !Me(t.peek()); ) t.advance();
|
|
1865
|
+
if (Me(t.peek())) {
|
|
1782
1866
|
this._beginToken(u.COMPONENT_CLOSE, e);
|
|
1783
1867
|
let r = this._consumeComponentName();
|
|
1784
1868
|
this._attemptCharCodeUntilFn(E), this._requireCharCode(62), this._endToken(r);
|
|
@@ -1787,7 +1871,7 @@ var pt = (function(e) {
|
|
|
1787
1871
|
}
|
|
1788
1872
|
if (this._beginToken(u.TAG_CLOSE, e), this._attemptCharCodeUntilFn(E), this._allowHtmComponentClosingTags && this._attemptCharCode(47)) this._attemptCharCodeUntilFn(E), this._requireCharCode(62), this._endToken([]);
|
|
1789
1873
|
else {
|
|
1790
|
-
let [t, r] = this._consumePrefixAndName(
|
|
1874
|
+
let [t, r] = this._consumePrefixAndName($);
|
|
1791
1875
|
this._attemptCharCodeUntilFn(E), this._requireCharCode(62), this._endToken([t, r]), this._handleFullNameStackForTagClose(t, r);
|
|
1792
1876
|
}
|
|
1793
1877
|
}
|
|
@@ -1819,7 +1903,7 @@ var pt = (function(e) {
|
|
|
1819
1903
|
let a = [];
|
|
1820
1904
|
for (; !r(); ) {
|
|
1821
1905
|
let s = this._cursor.clone();
|
|
1822
|
-
this._attemptStr(
|
|
1906
|
+
this._attemptStr(me.start) ? (this._endToken([this._processCarriageReturns(a.join(""))], s), a.length = 0, this._consumeInterpolation(t, s, n), this._beginToken(e)) : this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(a.join(""))]), a.length = 0, this._consumeEntity(e), this._beginToken(e)) : a.push(this._readChar());
|
|
1823
1907
|
}
|
|
1824
1908
|
this._inInterpolation = !1;
|
|
1825
1909
|
let i = this._processCarriageReturns(a.join(""));
|
|
@@ -1827,7 +1911,7 @@ var pt = (function(e) {
|
|
|
1827
1911
|
}
|
|
1828
1912
|
_consumeInterpolation(e, t, r) {
|
|
1829
1913
|
let n = [];
|
|
1830
|
-
this._beginToken(e, t), n.push(
|
|
1914
|
+
this._beginToken(e, t), n.push(me.start);
|
|
1831
1915
|
let a = this._cursor.clone(), i = null, s = !1;
|
|
1832
1916
|
for (; this._cursor.peek() !== 0 && (r === null || !r()); ) {
|
|
1833
1917
|
let o = this._cursor.clone();
|
|
@@ -1835,8 +1919,8 @@ var pt = (function(e) {
|
|
|
1835
1919
|
this._cursor = o, n.push(this._getProcessedChars(a, o)), this._endToken(n);
|
|
1836
1920
|
return;
|
|
1837
1921
|
}
|
|
1838
|
-
if (i === null) if (this._attemptStr(
|
|
1839
|
-
n.push(this._getProcessedChars(a, o)), n.push(
|
|
1922
|
+
if (i === null) if (this._attemptStr(me.end)) {
|
|
1923
|
+
n.push(this._getProcessedChars(a, o)), n.push(me.end), this._endToken(n);
|
|
1840
1924
|
return;
|
|
1841
1925
|
} else this._attemptStr("//") && (s = !0);
|
|
1842
1926
|
let l = this._cursor.peek();
|
|
@@ -1852,7 +1936,7 @@ var pt = (function(e) {
|
|
|
1852
1936
|
for (this._openDirectiveCount++, this._beginToken(u.DIRECTIVE_OPEN), this._cursor.advance(), this._endToken([]), this._attemptCharCodeUntilFn(E); !ur(this._cursor.peek()) && this._cursor.peek() !== 41; ) this._consumeAttribute();
|
|
1853
1937
|
if (this._attemptCharCodeUntilFn(E), this._openDirectiveCount--, this._cursor.peek() !== 41) {
|
|
1854
1938
|
if (this._cursor.peek() === 62 || this._cursor.peek() === 47) return;
|
|
1855
|
-
throw this._createError(
|
|
1939
|
+
throw this._createError(z(this._cursor.peek()), this._cursor.getSpan(e));
|
|
1856
1940
|
}
|
|
1857
1941
|
this._beginToken(u.DIRECTIVE_CLOSE), this._cursor.advance(), this._endToken([]), this._attemptCharCodeUntilFn(E);
|
|
1858
1942
|
}
|
|
@@ -1887,34 +1971,34 @@ var pt = (function(e) {
|
|
|
1887
1971
|
}
|
|
1888
1972
|
isExpansionFormStart() {
|
|
1889
1973
|
if (this._cursor.peek() !== 123) return !1;
|
|
1890
|
-
let e = this._cursor.clone(), t = this._attemptStr(
|
|
1974
|
+
let e = this._cursor.clone(), t = this._attemptStr(me.start);
|
|
1891
1975
|
return this._cursor = e, !t;
|
|
1892
1976
|
}
|
|
1893
1977
|
_handleFullNameStackForTagOpen(e, t) {
|
|
1894
|
-
let r =
|
|
1978
|
+
let r = Ee(e, t);
|
|
1895
1979
|
(this._fullNameStack.length === 0 || this._fullNameStack[this._fullNameStack.length - 1] === r) && this._fullNameStack.push(r);
|
|
1896
1980
|
}
|
|
1897
1981
|
_handleFullNameStackForTagClose(e, t) {
|
|
1898
|
-
let r =
|
|
1982
|
+
let r = Ee(e, t);
|
|
1899
1983
|
this._fullNameStack.length !== 0 && this._fullNameStack[this._fullNameStack.length - 1] === r && this._fullNameStack.pop();
|
|
1900
1984
|
}
|
|
1901
1985
|
};
|
|
1902
1986
|
function E(e) {
|
|
1903
|
-
return !
|
|
1987
|
+
return !Ve(e) || e === 0;
|
|
1904
1988
|
}
|
|
1905
|
-
function
|
|
1906
|
-
return
|
|
1989
|
+
function $(e) {
|
|
1990
|
+
return Ve(e) || e === 62 || e === 60 || e === 47 || e === 39 || e === 34 || e === 61 || e === 0;
|
|
1907
1991
|
}
|
|
1908
1992
|
function qs(e) {
|
|
1909
1993
|
return (e < 97 || 122 < e) && (e < 65 || 90 < e) && (e < 48 || e > 57);
|
|
1910
1994
|
}
|
|
1911
1995
|
function Hs(e) {
|
|
1912
|
-
return e === 59 || e === 0 || !
|
|
1913
|
-
}
|
|
1914
|
-
function Vs(e) {
|
|
1915
|
-
return e === 59 || e === 0 || !Se(e);
|
|
1996
|
+
return e === 59 || e === 0 || !Bs(e);
|
|
1916
1997
|
}
|
|
1917
1998
|
function Us(e) {
|
|
1999
|
+
return e === 59 || e === 0 || !(ke(e) || Be(e));
|
|
2000
|
+
}
|
|
2001
|
+
function Vs(e) {
|
|
1918
2002
|
return e !== 125;
|
|
1919
2003
|
}
|
|
1920
2004
|
function Ws(e, t) {
|
|
@@ -1924,16 +2008,16 @@ function ir(e) {
|
|
|
1924
2008
|
return e >= 97 && e <= 122 ? e - 97 + 65 : e;
|
|
1925
2009
|
}
|
|
1926
2010
|
function zs(e) {
|
|
1927
|
-
return
|
|
2011
|
+
return ke(e) || Be(e) || e === 95;
|
|
1928
2012
|
}
|
|
1929
2013
|
function sr(e) {
|
|
1930
2014
|
return e !== 59 && E(e);
|
|
1931
2015
|
}
|
|
1932
|
-
function
|
|
2016
|
+
function Me(e) {
|
|
1933
2017
|
return e === 95 || e >= 65 && e <= 90;
|
|
1934
2018
|
}
|
|
1935
2019
|
function or(e) {
|
|
1936
|
-
return
|
|
2020
|
+
return ke(e) || Be(e) || e === 95;
|
|
1937
2021
|
}
|
|
1938
2022
|
function ur(e) {
|
|
1939
2023
|
return e === 47 || e === 62 || e === 60 || e === 0;
|
|
@@ -1948,6 +2032,10 @@ function $s(e) {
|
|
|
1948
2032
|
}
|
|
1949
2033
|
var ln = class ht {
|
|
1950
2034
|
constructor(t, r) {
|
|
2035
|
+
h(this, "state");
|
|
2036
|
+
h(this, "file");
|
|
2037
|
+
h(this, "input");
|
|
2038
|
+
h(this, "end");
|
|
1951
2039
|
if (t instanceof ht) {
|
|
1952
2040
|
this.file = t.file, this.input = t.input, this.end = t.end;
|
|
1953
2041
|
let n = t.state;
|
|
@@ -1980,7 +2068,7 @@ var ln = class ht {
|
|
|
1980
2068
|
let n = t;
|
|
1981
2069
|
if (r) for (; this.diff(t) > 0 && r.indexOf(t.peek()) !== -1; ) n === t && (t = t.clone()), t.advance();
|
|
1982
2070
|
let a = this.locationFromCursor(t);
|
|
1983
|
-
return new
|
|
2071
|
+
return new m(a, this.locationFromCursor(this), n !== t ? this.locationFromCursor(n) : a);
|
|
1984
2072
|
}
|
|
1985
2073
|
getChars(t) {
|
|
1986
2074
|
return this.input.substring(t.state.offset, this.state.offset);
|
|
@@ -1991,7 +2079,7 @@ var ln = class ht {
|
|
|
1991
2079
|
advanceState(t) {
|
|
1992
2080
|
if (t.offset >= this.end) throw this.state = t, new Ft('Unexpected character "EOF"', this);
|
|
1993
2081
|
let r = this.charAt(t.offset);
|
|
1994
|
-
r === 10 ? (t.line++, t.column = 0) :
|
|
2082
|
+
r === 10 ? (t.line++, t.column = 0) : ve(r) || t.column++, t.offset++, this.updatePeek(t);
|
|
1995
2083
|
}
|
|
1996
2084
|
updatePeek(t) {
|
|
1997
2085
|
t.peek = t.offset >= this.end ? 0 : this.charAt(t.offset);
|
|
@@ -2000,8 +2088,9 @@ var ln = class ht {
|
|
|
2000
2088
|
return new ct(t.file, t.state.offset, t.state.line, t.state.column);
|
|
2001
2089
|
}
|
|
2002
2090
|
}, js = class dt extends ln {
|
|
2003
|
-
constructor(
|
|
2004
|
-
|
|
2091
|
+
constructor(r, n) {
|
|
2092
|
+
var t = (...Tu) => (super(...Tu), h(this, "internalState"), this);
|
|
2093
|
+
r instanceof dt ? (t(r), this.internalState = { ...r.internalState }) : (t(r, n), this.internalState = this.state);
|
|
2005
2094
|
}
|
|
2006
2095
|
advance() {
|
|
2007
2096
|
this.state = this.internalState, super.advance(), this.processEscapeSequence();
|
|
@@ -2012,48 +2101,48 @@ var ln = class ht {
|
|
|
2012
2101
|
clone() {
|
|
2013
2102
|
return new dt(this);
|
|
2014
2103
|
}
|
|
2015
|
-
getChars(
|
|
2016
|
-
let
|
|
2017
|
-
for (;
|
|
2018
|
-
return
|
|
2104
|
+
getChars(r) {
|
|
2105
|
+
let n = r.clone(), a = "";
|
|
2106
|
+
for (; n.internalState.offset < this.internalState.offset; ) a += String.fromCodePoint(n.peek()), n.advance();
|
|
2107
|
+
return a;
|
|
2019
2108
|
}
|
|
2020
2109
|
processEscapeSequence() {
|
|
2021
|
-
let
|
|
2022
|
-
if (
|
|
2023
|
-
else if (
|
|
2024
|
-
else if (
|
|
2025
|
-
else if (
|
|
2026
|
-
else if (
|
|
2027
|
-
else if (
|
|
2028
|
-
else if (
|
|
2110
|
+
let r = () => this.internalState.peek;
|
|
2111
|
+
if (r() === 92) if (this.internalState = { ...this.state }, this.advanceState(this.internalState), r() === 110) this.state.peek = 10;
|
|
2112
|
+
else if (r() === 114) this.state.peek = 13;
|
|
2113
|
+
else if (r() === 118) this.state.peek = 11;
|
|
2114
|
+
else if (r() === 116) this.state.peek = 9;
|
|
2115
|
+
else if (r() === 98) this.state.peek = 8;
|
|
2116
|
+
else if (r() === 102) this.state.peek = 12;
|
|
2117
|
+
else if (r() === 117) if (this.advanceState(this.internalState), r() === 123) {
|
|
2029
2118
|
this.advanceState(this.internalState);
|
|
2030
|
-
let
|
|
2031
|
-
for (;
|
|
2032
|
-
this.state.peek = this.decodeHexDigits(
|
|
2119
|
+
let n = this.clone(), a = 0;
|
|
2120
|
+
for (; r() !== 125; ) this.advanceState(this.internalState), a++;
|
|
2121
|
+
this.state.peek = this.decodeHexDigits(n, a);
|
|
2033
2122
|
} else {
|
|
2034
|
-
let
|
|
2035
|
-
this.advanceState(this.internalState), this.advanceState(this.internalState), this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(
|
|
2123
|
+
let n = this.clone();
|
|
2124
|
+
this.advanceState(this.internalState), this.advanceState(this.internalState), this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(n, 4);
|
|
2036
2125
|
}
|
|
2037
|
-
else if (
|
|
2126
|
+
else if (r() === 120) {
|
|
2038
2127
|
this.advanceState(this.internalState);
|
|
2039
|
-
let
|
|
2040
|
-
this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(
|
|
2041
|
-
} else if (
|
|
2042
|
-
let
|
|
2043
|
-
for (;
|
|
2044
|
-
this.state.peek = parseInt(
|
|
2045
|
-
} else
|
|
2046
|
-
}
|
|
2047
|
-
decodeHexDigits(
|
|
2048
|
-
let
|
|
2049
|
-
if (isNaN(
|
|
2050
|
-
return
|
|
2128
|
+
let n = this.clone();
|
|
2129
|
+
this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(n, 2);
|
|
2130
|
+
} else if (nr(r())) {
|
|
2131
|
+
let n = "", a = 0, i = this.clone();
|
|
2132
|
+
for (; nr(r()) && a < 3; ) i = this.clone(), n += String.fromCodePoint(r()), this.advanceState(this.internalState), a++;
|
|
2133
|
+
this.state.peek = parseInt(n, 8), this.internalState = i.internalState;
|
|
2134
|
+
} else ve(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.internalState.peek;
|
|
2135
|
+
}
|
|
2136
|
+
decodeHexDigits(r, n) {
|
|
2137
|
+
let a = this.input.slice(r.internalState.offset, r.internalState.offset + n), i = parseInt(a, 16);
|
|
2138
|
+
if (isNaN(i)) throw r.state = r.internalState, new Ft("Invalid hexadecimal escape sequence", r);
|
|
2139
|
+
return i;
|
|
2051
2140
|
}
|
|
2052
2141
|
}, Ft = class extends Error {
|
|
2053
2142
|
constructor(e, t) {
|
|
2054
2143
|
super(e), this.msg = e, this.cursor = t, Object.setPrototypeOf(this, new.target.prototype);
|
|
2055
2144
|
}
|
|
2056
|
-
}, T = class cn extends
|
|
2145
|
+
}, T = class cn extends Z {
|
|
2057
2146
|
static create(t, r, n) {
|
|
2058
2147
|
return new cn(t, r, n);
|
|
2059
2148
|
}
|
|
@@ -2069,19 +2158,24 @@ var ln = class ht {
|
|
|
2069
2158
|
this.getTagDefinition = e;
|
|
2070
2159
|
}
|
|
2071
2160
|
parse(e, t, r, n = !1, a) {
|
|
2072
|
-
let i = (
|
|
2073
|
-
let
|
|
2074
|
-
return
|
|
2075
|
-
} : o, r), p = r && r.canSelfClose || !1,
|
|
2076
|
-
return
|
|
2161
|
+
let i = (d) => (C, ...v) => d(C.toLowerCase(), ...v), s = n ? this.getTagDefinition : i(this.getTagDefinition), o = (d) => s(d).getContentType(), l = n ? a : i(a), c = Fs(e, t, a ? (d, C, v, O) => {
|
|
2162
|
+
let I = l(d, C, v, O);
|
|
2163
|
+
return I !== void 0 ? I : o(d);
|
|
2164
|
+
} : o, r), p = r && r.canSelfClose || !1, f = r && r.allowHtmComponentClosingTags || !1, _ = new Ks(c.tokens, s, p, f, n);
|
|
2165
|
+
return _.build(), new Xs(_.rootNodes, [...c.errors, ..._.errors]);
|
|
2077
2166
|
}
|
|
2078
2167
|
}, Ks = class pn {
|
|
2079
2168
|
constructor(t, r, n, a, i) {
|
|
2080
|
-
this
|
|
2169
|
+
h(this, "_index", -1);
|
|
2170
|
+
h(this, "_peek");
|
|
2171
|
+
h(this, "_containerStack", []);
|
|
2172
|
+
h(this, "rootNodes", []);
|
|
2173
|
+
h(this, "errors", []);
|
|
2174
|
+
this.tokens = t, this.tagDefinitionResolver = r, this.canSelfClose = n, this.allowHtmComponentClosingTags = a, this.isTagNameCaseSensitive = i, this._advance();
|
|
2081
2175
|
}
|
|
2082
2176
|
build() {
|
|
2083
2177
|
for (; this._peek.type !== u.EOF; ) this._peek.type === u.TAG_OPEN_START || this._peek.type === u.INCOMPLETE_TAG_OPEN ? this._consumeElementStartTag(this._advance()) : this._peek.type === u.TAG_CLOSE ? (this._closeVoidElement(), this._consumeElementEndTag(this._advance())) : this._peek.type === u.CDATA_START ? (this._closeVoidElement(), this._consumeCdata(this._advance())) : this._peek.type === u.COMMENT_START ? (this._closeVoidElement(), this._consumeComment(this._advance())) : this._peek.type === u.TEXT || this._peek.type === u.RAW_TEXT || this._peek.type === u.ESCAPABLE_RAW_TEXT ? (this._closeVoidElement(), this._consumeText(this._advance())) : this._peek.type === u.EXPANSION_FORM_START ? this._consumeExpansion(this._advance()) : this._peek.type === u.BLOCK_OPEN_START ? (this._closeVoidElement(), this._consumeBlockOpen(this._advance())) : this._peek.type === u.BLOCK_CLOSE ? (this._closeVoidElement(), this._consumeBlockClose(this._advance())) : this._peek.type === u.INCOMPLETE_BLOCK_OPEN ? (this._closeVoidElement(), this._consumeIncompleteBlock(this._advance())) : this._peek.type === u.LET_START ? (this._closeVoidElement(), this._consumeLet(this._advance())) : this._peek.type === u.DOC_TYPE_START ? this._consumeDocType(this._advance()) : this._peek.type === u.INCOMPLETE_LET ? (this._closeVoidElement(), this._consumeIncompleteLet(this._advance())) : this._peek.type === u.COMPONENT_OPEN_START || this._peek.type === u.INCOMPLETE_COMPONENT_OPEN ? this._consumeComponentStartTag(this._advance()) : this._peek.type === u.COMPONENT_CLOSE ? this._consumeComponentEndTag(this._advance()) : this._advance();
|
|
2084
|
-
for (let t of this._containerStack) t instanceof
|
|
2178
|
+
for (let t of this._containerStack) t instanceof J && this.errors.push(T.create(t.name, t.sourceSpan, `Unclosed block "${t.name}"`));
|
|
2085
2179
|
}
|
|
2086
2180
|
_advance() {
|
|
2087
2181
|
let t = this._peek;
|
|
@@ -2092,14 +2186,14 @@ var ln = class ht {
|
|
|
2092
2186
|
}
|
|
2093
2187
|
_consumeCdata(t) {
|
|
2094
2188
|
let r = this._advance(), n = this._getText(r), a = this._advanceIf(u.CDATA_END);
|
|
2095
|
-
this._addToParent(new ks(n, new
|
|
2189
|
+
this._addToParent(new ks(n, new m(t.sourceSpan.start, (a || r).sourceSpan.end), [r]));
|
|
2096
2190
|
}
|
|
2097
2191
|
_consumeComment(t) {
|
|
2098
|
-
let r = this._advanceIf(u.RAW_TEXT), n = this._advanceIf(u.COMMENT_END), a = r != null ? r.parts[0].trim() : null, i = n == null ? t.sourceSpan : new
|
|
2192
|
+
let r = this._advanceIf(u.RAW_TEXT), n = this._advanceIf(u.COMMENT_END), a = r != null ? r.parts[0].trim() : null, i = n == null ? t.sourceSpan : new m(t.sourceSpan.start, n.sourceSpan.end, t.sourceSpan.fullStart);
|
|
2099
2193
|
this._addToParent(new Ds(a, i));
|
|
2100
2194
|
}
|
|
2101
2195
|
_consumeDocType(t) {
|
|
2102
|
-
let r = this._advanceIf(u.RAW_TEXT), n = this._advanceIf(u.DOC_TYPE_END), a = r != null ? r.parts[0].trim() : null, i = new
|
|
2196
|
+
let r = this._advanceIf(u.RAW_TEXT), n = this._advanceIf(u.DOC_TYPE_END), a = r != null ? r.parts[0].trim() : null, i = new m(t.sourceSpan.start, (n || r || t).sourceSpan.end);
|
|
2103
2197
|
this._addToParent(new xs(a, i));
|
|
2104
2198
|
}
|
|
2105
2199
|
_consumeExpansion(t) {
|
|
@@ -2113,7 +2207,7 @@ var ln = class ht {
|
|
|
2113
2207
|
this.errors.push(T.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '}'."));
|
|
2114
2208
|
return;
|
|
2115
2209
|
}
|
|
2116
|
-
let i = new
|
|
2210
|
+
let i = new m(t.sourceSpan.start, this._peek.sourceSpan.end, t.sourceSpan.fullStart);
|
|
2117
2211
|
this._addToParent(new bs(r.parts[0], n.parts[0], a, i, r.sourceSpan)), this._advance();
|
|
2118
2212
|
}
|
|
2119
2213
|
_parseExpansionCase() {
|
|
@@ -2125,7 +2219,7 @@ var ln = class ht {
|
|
|
2125
2219
|
n.push({ type: u.EOF, parts: [], sourceSpan: a.sourceSpan });
|
|
2126
2220
|
let i = new pn(n, this.tagDefinitionResolver, this.canSelfClose, this.allowHtmComponentClosingTags, this.isTagNameCaseSensitive);
|
|
2127
2221
|
if (i.build(), i.errors.length > 0) return this.errors = this.errors.concat(i.errors), null;
|
|
2128
|
-
let s = new
|
|
2222
|
+
let s = new m(t.sourceSpan.start, a.sourceSpan.end, t.sourceSpan.fullStart), o = new m(r.sourceSpan.start, a.sourceSpan.end, r.sourceSpan.fullStart);
|
|
2129
2223
|
return new ws(t.parts[0], i.rootNodes, s, t.sourceSpan, o);
|
|
2130
2224
|
}
|
|
2131
2225
|
_collectExpansionExpTokens(t) {
|
|
@@ -2161,7 +2255,7 @@ var ln = class ht {
|
|
|
2161
2255
|
for (; this._peek.type === u.INTERPOLATION || this._peek.type === u.TEXT || this._peek.type === u.ENCODED_ENTITY; ) t = this._advance(), r.push(t), t.type === u.INTERPOLATION ? a += t.parts.join("").replace(/&([^;]+);/g, cr) : t.type === u.ENCODED_ENTITY ? a += t.parts[0] : a += t.parts.join("");
|
|
2162
2256
|
if (a.length > 0) {
|
|
2163
2257
|
let s = t.sourceSpan;
|
|
2164
|
-
this._addToParent(new Ts(a, new
|
|
2258
|
+
this._addToParent(new Ts(a, new m(n.start, s.end, n.fullStart, n.details), r));
|
|
2165
2259
|
}
|
|
2166
2260
|
}
|
|
2167
2261
|
_closeVoidElement() {
|
|
@@ -2176,11 +2270,11 @@ var ln = class ht {
|
|
|
2176
2270
|
let i = this._getElementFullName(t, this._getClosestElementLikeParent()), s = this._getTagDefinition(i), o = !1;
|
|
2177
2271
|
if (this._peek.type === u.TAG_OPEN_END_VOID) {
|
|
2178
2272
|
this._advance(), o = !0;
|
|
2179
|
-
let
|
|
2180
|
-
this.canSelfClose ||
|
|
2273
|
+
let v = this._getTagDefinition(i);
|
|
2274
|
+
this.canSelfClose || v != null && v.canSelfClose || He(i) !== null || v != null && v.isVoid || this.errors.push(T.create(i, t.sourceSpan, `Only void, custom and foreign elements can be self closed "${t.parts[1]}"`));
|
|
2181
2275
|
} else this._peek.type === u.TAG_OPEN_END && (this._advance(), o = !1);
|
|
2182
|
-
let l = this._peek.sourceSpan.fullStart, c = new
|
|
2183
|
-
this._pushContainer(
|
|
2276
|
+
let l = this._peek.sourceSpan.fullStart, c = new m(t.sourceSpan.start, l, t.sourceSpan.fullStart), p = new m(t.sourceSpan.start, l, t.sourceSpan.fullStart), f = new m(t.sourceSpan.start.moveBy(1), t.sourceSpan.end), _ = new W(i, n, a, [], o, c, p, void 0, f, (s == null ? void 0 : s.isVoid) ?? !1), d = this._getContainer(), C = d !== null && !!(!((r = this._getTagDefinition(d)) === null || r === void 0) && r.isClosedByChild(_.name));
|
|
2277
|
+
this._pushContainer(_, C), o ? this._popContainer(i, W, c) : t.type === u.INCOMPLETE_TAG_OPEN && (this._popContainer(i, W, null), this.errors.push(T.create(i, c, `Opening tag "${i}" not terminated.`)));
|
|
2184
2278
|
}
|
|
2185
2279
|
_consumeComponentStartTag(t) {
|
|
2186
2280
|
var r;
|
|
@@ -2188,23 +2282,23 @@ var ln = class ht {
|
|
|
2188
2282
|
this._consumeAttributesAndDirectives(a, i);
|
|
2189
2283
|
let s = this._getClosestElementLikeParent(), o = this._getComponentTagName(t, s), l = this._getComponentFullName(t, s), c = this._peek.type === u.COMPONENT_OPEN_END_VOID;
|
|
2190
2284
|
this._advance();
|
|
2191
|
-
let p = this._peek.sourceSpan.fullStart,
|
|
2192
|
-
this._pushContainer(
|
|
2285
|
+
let p = this._peek.sourceSpan.fullStart, f = new m(t.sourceSpan.start, p, t.sourceSpan.fullStart), _ = new M(n, o, l, a, i, [], c, f, new m(t.sourceSpan.start, p, t.sourceSpan.fullStart), void 0), d = this._getContainer(), C = d !== null && _.tagName !== null && !!(!((r = this._getTagDefinition(d)) === null || r === void 0) && r.isClosedByChild(_.tagName));
|
|
2286
|
+
this._pushContainer(_, C), c ? this._popContainer(l, M, f) : t.type === u.INCOMPLETE_COMPONENT_OPEN && (this._popContainer(l, M, null), this.errors.push(T.create(l, f, `Opening tag "${l}" not terminated.`)));
|
|
2193
2287
|
}
|
|
2194
2288
|
_consumeAttributesAndDirectives(t, r) {
|
|
2195
2289
|
for (; this._peek.type === u.ATTR_NAME || this._peek.type === u.DIRECTIVE_NAME; ) this._peek.type === u.DIRECTIVE_NAME ? r.push(this._consumeDirective(this._peek)) : t.push(this._consumeAttr(this._advance()));
|
|
2196
2290
|
}
|
|
2197
2291
|
_consumeComponentEndTag(t) {
|
|
2198
2292
|
let r = this._getComponentFullName(t, this._getClosestElementLikeParent());
|
|
2199
|
-
if (!this._popContainer(r,
|
|
2293
|
+
if (!this._popContainer(r, M, t.sourceSpan)) {
|
|
2200
2294
|
let n = this._containerStack[this._containerStack.length - 1], a;
|
|
2201
|
-
n instanceof
|
|
2295
|
+
n instanceof M && n.componentName === t.parts[0] ? a = `, did you mean "${n.fullName}"?` : a = ". It may happen when the tag has already been closed by another tag.";
|
|
2202
2296
|
let i = `Unexpected closing tag "${r}"${a}`;
|
|
2203
2297
|
this.errors.push(T.create(r, t.sourceSpan, i));
|
|
2204
2298
|
}
|
|
2205
2299
|
}
|
|
2206
2300
|
_getTagDefinition(t) {
|
|
2207
|
-
return typeof t == "string" ? this.tagDefinitionResolver(t) : t instanceof
|
|
2301
|
+
return typeof t == "string" ? this.tagDefinitionResolver(t) : t instanceof W ? this.tagDefinitionResolver(t.name) : t instanceof M && t.tagName !== null ? this.tagDefinitionResolver(t.tagName) : null;
|
|
2208
2302
|
}
|
|
2209
2303
|
_pushContainer(t, r) {
|
|
2210
2304
|
r && this._containerStack.pop(), this._addToParent(t), this._containerStack.push(t);
|
|
@@ -2213,7 +2307,7 @@ var ln = class ht {
|
|
|
2213
2307
|
var r;
|
|
2214
2308
|
let n = this.allowHtmComponentClosingTags && t.parts.length === 0 ? null : this._getElementFullName(t, this._getClosestElementLikeParent());
|
|
2215
2309
|
if (n && !((r = this._getTagDefinition(n)) === null || r === void 0) && r.isVoid) this.errors.push(T.create(n, t.sourceSpan, `Void elements do not have end tags "${t.parts[1]}"`));
|
|
2216
|
-
else if (!this._popContainer(n,
|
|
2310
|
+
else if (!this._popContainer(n, W, t.sourceSpan)) {
|
|
2217
2311
|
let a = `Unexpected closing tag "${n}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;
|
|
2218
2312
|
this.errors.push(T.create(n, t.sourceSpan, a));
|
|
2219
2313
|
}
|
|
@@ -2222,14 +2316,14 @@ var ln = class ht {
|
|
|
2222
2316
|
let a = !1;
|
|
2223
2317
|
for (let s = this._containerStack.length - 1; s >= 0; s--) {
|
|
2224
2318
|
var i;
|
|
2225
|
-
let o = this._containerStack[s], l = o instanceof
|
|
2226
|
-
if (
|
|
2227
|
-
(o instanceof
|
|
2319
|
+
let o = this._containerStack[s], l = o instanceof M ? o.fullName : o.name;
|
|
2320
|
+
if (He(l) ? l === t : (l === t || t === null) && o instanceof r) return o.endSourceSpan = n, o.sourceSpan.end = n !== null ? n.end : o.sourceSpan.end, this._containerStack.splice(s, this._containerStack.length - s), !a;
|
|
2321
|
+
(o instanceof J || !(!((i = this._getTagDefinition(o)) === null || i === void 0) && i.closedByParent)) && (a = !0);
|
|
2228
2322
|
}
|
|
2229
2323
|
return !1;
|
|
2230
2324
|
}
|
|
2231
2325
|
_consumeAttr(t) {
|
|
2232
|
-
let r =
|
|
2326
|
+
let r = Ee(t.parts[0], t.parts[1]), n = t.sourceSpan.end, a;
|
|
2233
2327
|
this._peek.type === u.ATTR_QUOTE && (a = this._advance());
|
|
2234
2328
|
let i = "", s = [], o, l;
|
|
2235
2329
|
if (this._peek.type === u.ATTR_VALUE_TEXT) for (o = this._peek.sourceSpan, l = this._peek.sourceSpan.end; this._peek.type === u.ATTR_VALUE_TEXT || this._peek.type === u.ATTR_VALUE_INTERPOLATION || this._peek.type === u.ENCODED_ENTITY; ) {
|
|
@@ -2237,8 +2331,8 @@ var ln = class ht {
|
|
|
2237
2331
|
s.push(p), p.type === u.ATTR_VALUE_INTERPOLATION ? i += p.parts.join("").replace(/&([^;]+);/g, cr) : p.type === u.ENCODED_ENTITY ? i += p.parts[0] : i += p.parts.join(""), l = n = p.sourceSpan.end;
|
|
2238
2332
|
}
|
|
2239
2333
|
this._peek.type === u.ATTR_QUOTE && (l = n = this._advance().sourceSpan.end);
|
|
2240
|
-
let c = o && l && new
|
|
2241
|
-
return new ys(r, i, new
|
|
2334
|
+
let c = o && l && new m((a == null ? void 0 : a.sourceSpan.start) ?? o.start, l, (a == null ? void 0 : a.sourceSpan.fullStart) ?? o.fullStart);
|
|
2335
|
+
return new ys(r, i, new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), t.sourceSpan, c, s.length > 0 ? s : void 0, void 0);
|
|
2242
2336
|
}
|
|
2243
2337
|
_consumeDirective(t) {
|
|
2244
2338
|
let r = [], n = t.sourceSpan.end, a = null;
|
|
@@ -2246,30 +2340,38 @@ var ln = class ht {
|
|
|
2246
2340
|
for (n = this._peek.sourceSpan.end, this._advance(); this._peek.type === u.ATTR_NAME; ) r.push(this._consumeAttr(this._advance()));
|
|
2247
2341
|
this._peek.type === u.DIRECTIVE_CLOSE ? (a = this._peek.sourceSpan, this._advance()) : this.errors.push(T.create(null, t.sourceSpan, "Unterminated directive definition"));
|
|
2248
2342
|
}
|
|
2249
|
-
let i = new
|
|
2343
|
+
let i = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new m(i.start, a === null ? t.sourceSpan.end : a.end, i.fullStart);
|
|
2250
2344
|
return new Ns(t.parts[0], r, s, i, a);
|
|
2251
2345
|
}
|
|
2252
2346
|
_consumeBlockOpen(t) {
|
|
2253
2347
|
let r = [];
|
|
2254
2348
|
for (; this._peek.type === u.BLOCK_PARAMETER; ) {
|
|
2255
2349
|
let o = this._advance();
|
|
2256
|
-
r.push(new
|
|
2350
|
+
r.push(new tr(o.parts[0], o.sourceSpan));
|
|
2257
2351
|
}
|
|
2258
2352
|
this._peek.type === u.BLOCK_OPEN_END && this._advance();
|
|
2259
|
-
let n = this._peek.sourceSpan.fullStart, a = new
|
|
2353
|
+
let n = this._peek.sourceSpan.fullStart, a = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new J(t.parts[0], r, [], a, t.sourceSpan, i);
|
|
2260
2354
|
this._pushContainer(s, !1);
|
|
2261
2355
|
}
|
|
2262
2356
|
_consumeBlockClose(t) {
|
|
2263
|
-
|
|
2357
|
+
let r = this._containerStack.length, n = this._containerStack[r - 1];
|
|
2358
|
+
if (!this._popContainer(null, J, t.sourceSpan)) {
|
|
2359
|
+
if (this._containerStack.length < r) {
|
|
2360
|
+
let a = n instanceof M ? n.fullName : n.name;
|
|
2361
|
+
this.errors.push(T.create(null, t.sourceSpan, `Unexpected closing block. The block may have been closed earlier. Did you forget to close the <${a}> element? If you meant to write the \`}\` character, you should use the "}" HTML entity instead.`));
|
|
2362
|
+
return;
|
|
2363
|
+
}
|
|
2364
|
+
this.errors.push(T.create(null, t.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.'));
|
|
2365
|
+
}
|
|
2264
2366
|
}
|
|
2265
2367
|
_consumeIncompleteBlock(t) {
|
|
2266
2368
|
let r = [];
|
|
2267
2369
|
for (; this._peek.type === u.BLOCK_PARAMETER; ) {
|
|
2268
2370
|
let o = this._advance();
|
|
2269
|
-
r.push(new
|
|
2371
|
+
r.push(new tr(o.parts[0], o.sourceSpan));
|
|
2270
2372
|
}
|
|
2271
|
-
let n = this._peek.sourceSpan.fullStart, a = new
|
|
2272
|
-
this._pushContainer(s, !1), this._popContainer(null,
|
|
2373
|
+
let n = this._peek.sourceSpan.fullStart, a = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new J(t.parts[0], r, [], a, t.sourceSpan, i);
|
|
2374
|
+
this._pushContainer(s, !1), this._popContainer(null, J, null), this.errors.push(T.create(t.parts[0], a, `Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`));
|
|
2273
2375
|
}
|
|
2274
2376
|
_consumeLet(t) {
|
|
2275
2377
|
let r = t.parts[0], n, a;
|
|
@@ -2281,13 +2383,13 @@ var ln = class ht {
|
|
|
2281
2383
|
this.errors.push(T.create(t.parts[0], t.sourceSpan, `Unterminated @let declaration "${r}". Declaration must be terminated with a semicolon.`));
|
|
2282
2384
|
return;
|
|
2283
2385
|
} else a = this._advance();
|
|
2284
|
-
let i = a.sourceSpan.fullStart, s = new
|
|
2386
|
+
let i = a.sourceSpan.fullStart, s = new m(t.sourceSpan.start, i, t.sourceSpan.fullStart), o = t.sourceSpan.toString().lastIndexOf(r), l = new m(t.sourceSpan.start.moveBy(o), t.sourceSpan.end), c = new rr(r, n.parts[0], s, l, n.sourceSpan);
|
|
2285
2387
|
this._addToParent(c);
|
|
2286
2388
|
}
|
|
2287
2389
|
_consumeIncompleteLet(t) {
|
|
2288
2390
|
let r = t.parts[0] ?? "", n = r ? ` "${r}"` : "";
|
|
2289
2391
|
if (r.length > 0) {
|
|
2290
|
-
let a = t.sourceSpan.toString().lastIndexOf(r), i = new
|
|
2392
|
+
let a = t.sourceSpan.toString().lastIndexOf(r), i = new m(t.sourceSpan.start.moveBy(a), t.sourceSpan.end), s = new m(t.sourceSpan.start, t.sourceSpan.start.moveBy(0)), o = new rr(r, "", t.sourceSpan, i, s);
|
|
2291
2393
|
this._addToParent(o);
|
|
2292
2394
|
}
|
|
2293
2395
|
this.errors.push(T.create(t.parts[0], t.sourceSpan, `Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``));
|
|
@@ -2298,7 +2400,7 @@ var ln = class ht {
|
|
|
2298
2400
|
_getClosestElementLikeParent() {
|
|
2299
2401
|
for (let t = this._containerStack.length - 1; t > -1; t--) {
|
|
2300
2402
|
let r = this._containerStack[t];
|
|
2301
|
-
if (r instanceof
|
|
2403
|
+
if (r instanceof W || r instanceof M) return r;
|
|
2302
2404
|
}
|
|
2303
2405
|
return null;
|
|
2304
2406
|
}
|
|
@@ -2307,7 +2409,7 @@ var ln = class ht {
|
|
|
2307
2409
|
r === null ? this.rootNodes.push(t) : r.children.push(t);
|
|
2308
2410
|
}
|
|
2309
2411
|
_getElementFullName(t, r) {
|
|
2310
|
-
return
|
|
2412
|
+
return Ee(this._getPrefix(t, r), t.parts[1]);
|
|
2311
2413
|
}
|
|
2312
2414
|
_getComponentFullName(t, r) {
|
|
2313
2415
|
let n = t.parts[0], a = this._getComponentTagName(t, r);
|
|
@@ -2315,16 +2417,16 @@ var ln = class ht {
|
|
|
2315
2417
|
}
|
|
2316
2418
|
_getComponentTagName(t, r) {
|
|
2317
2419
|
let n = this._getPrefix(t, r), a = t.parts[2];
|
|
2318
|
-
return !n && !a ? null : !n && a ? a :
|
|
2420
|
+
return !n && !a ? null : !n && a ? a : Ee(n, a || "ng-component");
|
|
2319
2421
|
}
|
|
2320
2422
|
_getPrefix(t, r) {
|
|
2321
2423
|
var n;
|
|
2322
2424
|
let a, i;
|
|
2323
2425
|
if (t.type === u.COMPONENT_OPEN_START || t.type === u.INCOMPLETE_COMPONENT_OPEN || t.type === u.COMPONENT_CLOSE ? (a = t.parts[1], i = t.parts[2]) : (a = t.parts[0], i = t.parts[1]), a = a || ((n = this._getTagDefinition(i)) === null || n === void 0 ? void 0 : n.implicitNamespacePrefix) || "", !a && r) {
|
|
2324
|
-
let s = r instanceof
|
|
2426
|
+
let s = r instanceof W ? r.name : r.tagName;
|
|
2325
2427
|
if (s !== null) {
|
|
2326
|
-
let o =
|
|
2327
|
-
l !== null && !l.preventNamespaceInheritance && (a =
|
|
2428
|
+
let o = Ye(s)[1], l = this._getTagDefinition(o);
|
|
2429
|
+
l !== null && !l.preventNamespaceInheritance && (a = He(s));
|
|
2328
2430
|
}
|
|
2329
2431
|
}
|
|
2330
2432
|
return a;
|
|
@@ -2334,7 +2436,7 @@ function lr(e, t) {
|
|
|
2334
2436
|
return e.length > 0 && e[e.length - 1] === t;
|
|
2335
2437
|
}
|
|
2336
2438
|
function cr(e, t) {
|
|
2337
|
-
return
|
|
2439
|
+
return Te[t] !== void 0 ? Te[t] || e : /^#x[a-f0-9]+$/i.test(t) ? String.fromCodePoint(parseInt(t.slice(2), 16)) : /^#\d+$/.test(t) ? String.fromCodePoint(parseInt(t.slice(1), 10)) : e;
|
|
2338
2440
|
}
|
|
2339
2441
|
var Ys = class extends Gs {
|
|
2340
2442
|
constructor() {
|
|
@@ -2343,17 +2445,17 @@ var Ys = class extends Gs {
|
|
|
2343
2445
|
parse(e, t, r, n = !1, a) {
|
|
2344
2446
|
return super.parse(e, t, r, n, a);
|
|
2345
2447
|
}
|
|
2346
|
-
}, it
|
|
2448
|
+
}, it;
|
|
2347
2449
|
function mt(e, t = {}) {
|
|
2348
2450
|
let { canSelfClose: r = !1, allowHtmComponentClosingTags: n = !1, isTagNameCaseSensitive: a = !1, getTagContentType: i, tokenizeAngularBlocks: s = !1, tokenizeAngularLetDeclaration: o = !1, enableAngularSelectorlessSyntax: l = !1 } = t;
|
|
2349
|
-
return
|
|
2451
|
+
return it ?? (it = new Ys()), it.parse(e, "angular-html-parser", { tokenizeExpansionForms: s, canSelfClose: r, allowHtmComponentClosingTags: n, tokenizeBlocks: s, tokenizeLet: o, selectorlessEnabled: l }, a, i);
|
|
2350
2452
|
}
|
|
2351
|
-
var
|
|
2352
|
-
function
|
|
2353
|
-
for (let r of
|
|
2453
|
+
var Js = [Zs, eo, ro, ao, io, uo, so, oo, lo, no];
|
|
2454
|
+
function Qs(e, t) {
|
|
2455
|
+
for (let r of Js) r(e, t);
|
|
2354
2456
|
return e;
|
|
2355
2457
|
}
|
|
2356
|
-
function
|
|
2458
|
+
function Zs(e) {
|
|
2357
2459
|
e.walk((t) => {
|
|
2358
2460
|
if (t.kind === "element" && t.tagDefinition.ignoreFirstLf && t.children.length > 0 && t.children[0].kind === "text" && t.children[0].value[0] === `
|
|
2359
2461
|
`) {
|
|
@@ -2362,7 +2464,7 @@ function eo(e) {
|
|
|
2362
2464
|
}
|
|
2363
2465
|
});
|
|
2364
2466
|
}
|
|
2365
|
-
function
|
|
2467
|
+
function eo(e) {
|
|
2366
2468
|
let t = (r) => {
|
|
2367
2469
|
var n, a;
|
|
2368
2470
|
return r.kind === "element" && ((n = r.prev) == null ? void 0 : n.kind) === "ieConditionalStartComment" && r.prev.sourceSpan.end.offset === r.startSourceSpan.start.offset && ((a = r.firstChild) == null ? void 0 : a.kind) === "ieConditionalEndComment" && r.firstChild.sourceSpan.start.offset === r.startSourceSpan.end.offset;
|
|
@@ -2373,40 +2475,40 @@ function to(e) {
|
|
|
2373
2475
|
if (!t(a)) continue;
|
|
2374
2476
|
let i = a.prev, s = a.firstChild;
|
|
2375
2477
|
r.removeChild(i), n--;
|
|
2376
|
-
let o = new
|
|
2478
|
+
let o = new m(i.sourceSpan.start, s.sourceSpan.end), l = new m(o.start, a.sourceSpan.end);
|
|
2377
2479
|
a.condition = i.condition, a.sourceSpan = l, a.startSourceSpan = o, a.removeChild(s);
|
|
2378
2480
|
}
|
|
2379
2481
|
});
|
|
2380
2482
|
}
|
|
2381
|
-
function
|
|
2483
|
+
function to(e, t, r) {
|
|
2382
2484
|
e.walk((n) => {
|
|
2383
2485
|
if (n.children) for (let a = 0; a < n.children.length; a++) {
|
|
2384
2486
|
let i = n.children[a];
|
|
2385
2487
|
if (i.kind !== "text" && !t(i)) continue;
|
|
2386
2488
|
i.kind !== "text" && (i.kind = "text", i.value = r(i));
|
|
2387
2489
|
let s = i.prev;
|
|
2388
|
-
!s || s.kind !== "text" || (s.value += i.value, s.sourceSpan = new
|
|
2490
|
+
!s || s.kind !== "text" || (s.value += i.value, s.sourceSpan = new m(s.sourceSpan.start, i.sourceSpan.end), n.removeChild(i), a--);
|
|
2389
2491
|
}
|
|
2390
2492
|
});
|
|
2391
2493
|
}
|
|
2392
|
-
function
|
|
2393
|
-
return
|
|
2494
|
+
function ro(e) {
|
|
2495
|
+
return to(e, (t) => t.kind === "cdata", (t) => `<![CDATA[${t.value}]]>`);
|
|
2394
2496
|
}
|
|
2395
|
-
function
|
|
2497
|
+
function no(e) {
|
|
2396
2498
|
let t = (r) => {
|
|
2397
2499
|
var n, a;
|
|
2398
|
-
return r.kind === "element" && r.attrs.length === 0 && r.children.length === 1 && r.firstChild.kind === "text" && !
|
|
2500
|
+
return r.kind === "element" && r.attrs.length === 0 && r.children.length === 1 && r.firstChild.kind === "text" && !L.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.kind) === "text" && ((a = r.next) == null ? void 0 : a.kind) === "text";
|
|
2399
2501
|
};
|
|
2400
2502
|
e.walk((r) => {
|
|
2401
2503
|
if (r.children) for (let n = 0; n < r.children.length; n++) {
|
|
2402
2504
|
let a = r.children[n];
|
|
2403
2505
|
if (!t(a)) continue;
|
|
2404
2506
|
let i = a.prev, s = a.next;
|
|
2405
|
-
i.value += `<${a.rawName}>` + a.firstChild.value + `</${a.rawName}>` + s.value, i.sourceSpan = new
|
|
2507
|
+
i.value += `<${a.rawName}>` + a.firstChild.value + `</${a.rawName}>` + s.value, i.sourceSpan = new m(i.sourceSpan.start, s.sourceSpan.end), i.isTrailingSpaceSensitive = s.isTrailingSpaceSensitive, i.hasTrailingSpaces = s.hasTrailingSpaces, r.removeChild(a), n--, r.removeChild(s);
|
|
2406
2508
|
}
|
|
2407
2509
|
});
|
|
2408
2510
|
}
|
|
2409
|
-
function
|
|
2511
|
+
function ao(e, t) {
|
|
2410
2512
|
if (t.parser === "html") return;
|
|
2411
2513
|
let r = /\{\{(.+?)\}\}/su;
|
|
2412
2514
|
e.walk((n) => {
|
|
@@ -2416,20 +2518,20 @@ function io(e, t) {
|
|
|
2416
2518
|
for (let l = 0; l < o.length; l++, i = s) {
|
|
2417
2519
|
let c = o[l];
|
|
2418
2520
|
if (l % 2 === 0) {
|
|
2419
|
-
s = i.moveBy(c.length), c.length > 0 && n.insertChildBefore(a, { kind: "text", value: c, sourceSpan: new
|
|
2521
|
+
s = i.moveBy(c.length), c.length > 0 && n.insertChildBefore(a, { kind: "text", value: c, sourceSpan: new m(i, s) });
|
|
2420
2522
|
continue;
|
|
2421
2523
|
}
|
|
2422
|
-
s = i.moveBy(c.length + 4), n.insertChildBefore(a, { kind: "interpolation", sourceSpan: new
|
|
2524
|
+
s = i.moveBy(c.length + 4), n.insertChildBefore(a, { kind: "interpolation", sourceSpan: new m(i, s), children: c.length === 0 ? [] : [{ kind: "text", value: c, sourceSpan: new m(i.moveBy(2), s.moveBy(-2)) }] });
|
|
2423
2525
|
}
|
|
2424
2526
|
n.removeChild(a);
|
|
2425
2527
|
}
|
|
2426
2528
|
});
|
|
2427
2529
|
}
|
|
2428
|
-
function
|
|
2530
|
+
function io(e, t) {
|
|
2429
2531
|
e.walk((r) => {
|
|
2430
2532
|
let n = r.$children;
|
|
2431
2533
|
if (!n) return;
|
|
2432
|
-
if (n.length === 0 || n.length === 1 && n[0].kind === "text" &&
|
|
2534
|
+
if (n.length === 0 || n.length === 1 && n[0].kind === "text" && L.trim(n[0].value).length === 0) {
|
|
2433
2535
|
r.hasDanglingSpaces = n.length > 0, r.$children = [];
|
|
2434
2536
|
return;
|
|
2435
2537
|
}
|
|
@@ -2437,28 +2539,28 @@ function so(e, t) {
|
|
|
2437
2539
|
if (!a) for (let s = 0; s < n.length; s++) {
|
|
2438
2540
|
let o = n[s];
|
|
2439
2541
|
if (o.kind !== "text") continue;
|
|
2440
|
-
let { leadingWhitespace: l, text: c, trailingWhitespace: p } = ka(o.value),
|
|
2441
|
-
c ? (o.value = c, o.sourceSpan = new
|
|
2542
|
+
let { leadingWhitespace: l, text: c, trailingWhitespace: p } = ka(o.value), f = o.prev, _ = o.next;
|
|
2543
|
+
c ? (o.value = c, o.sourceSpan = new m(o.sourceSpan.start.moveBy(l.length), o.sourceSpan.end.moveBy(-p.length)), l && (f && (f.hasTrailingSpaces = !0), o.hasLeadingSpaces = !0), p && (o.hasTrailingSpaces = !0, _ && (_.hasLeadingSpaces = !0))) : (r.removeChild(o), s--, (l || p) && (f && (f.hasTrailingSpaces = !0), _ && (_.hasLeadingSpaces = !0)));
|
|
2442
2544
|
}
|
|
2443
2545
|
r.isWhitespaceSensitive = a, r.isIndentationSensitive = i;
|
|
2444
2546
|
});
|
|
2445
2547
|
}
|
|
2446
|
-
function
|
|
2548
|
+
function so(e) {
|
|
2447
2549
|
e.walk((t) => {
|
|
2448
2550
|
t.isSelfClosing = !t.children || t.kind === "element" && (t.tagDefinition.isVoid || t.endSourceSpan && t.startSourceSpan.start === t.endSourceSpan.start && t.startSourceSpan.end === t.endSourceSpan.end);
|
|
2449
2551
|
});
|
|
2450
2552
|
}
|
|
2451
|
-
function
|
|
2553
|
+
function oo(e, t) {
|
|
2452
2554
|
e.walk((r) => {
|
|
2453
2555
|
r.kind === "element" && (r.hasHtmComponentClosingTag = r.endSourceSpan && /^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset, r.endSourceSpan.end.offset)));
|
|
2454
2556
|
});
|
|
2455
2557
|
}
|
|
2456
|
-
function
|
|
2558
|
+
function uo(e, t) {
|
|
2457
2559
|
e.walk((r) => {
|
|
2458
2560
|
r.cssDisplay = Wa(r, t);
|
|
2459
2561
|
});
|
|
2460
2562
|
}
|
|
2461
|
-
function
|
|
2563
|
+
function lo(e, t) {
|
|
2462
2564
|
e.walk((r) => {
|
|
2463
2565
|
let { children: n } = r;
|
|
2464
2566
|
if (n) {
|
|
@@ -2474,50 +2576,50 @@ function co(e, t) {
|
|
|
2474
2576
|
}
|
|
2475
2577
|
});
|
|
2476
2578
|
}
|
|
2477
|
-
var
|
|
2478
|
-
function
|
|
2579
|
+
var co = Qs;
|
|
2580
|
+
function po(e, t, r) {
|
|
2479
2581
|
let { node: n } = e;
|
|
2480
2582
|
switch (n.kind) {
|
|
2481
2583
|
case "root":
|
|
2482
|
-
return t.__onHtmlRoot && t.__onHtmlRoot(n), [
|
|
2584
|
+
return t.__onHtmlRoot && t.__onHtmlRoot(n), [k(Ot(e, t, r)), S];
|
|
2483
2585
|
case "element":
|
|
2484
2586
|
case "ieConditionalComment":
|
|
2485
|
-
return
|
|
2587
|
+
return ps(e, t, r);
|
|
2486
2588
|
case "angularControlFlowBlock":
|
|
2487
2589
|
return ns(e, t, r);
|
|
2488
2590
|
case "angularControlFlowBlockParameters":
|
|
2489
|
-
return
|
|
2591
|
+
return us(e, t, r);
|
|
2490
2592
|
case "angularControlFlowBlockParameter":
|
|
2491
|
-
return
|
|
2593
|
+
return L.trim(n.expression);
|
|
2492
2594
|
case "angularLetDeclaration":
|
|
2493
|
-
return
|
|
2595
|
+
return k(["@let ", k([n.id, " =", k(P([A, r("init")]))]), ";"]);
|
|
2494
2596
|
case "angularLetDeclarationInitializer":
|
|
2495
2597
|
return n.value;
|
|
2496
2598
|
case "angularIcuExpression":
|
|
2497
|
-
return us(e, t, r);
|
|
2498
|
-
case "angularIcuCase":
|
|
2499
2599
|
return ls(e, t, r);
|
|
2600
|
+
case "angularIcuCase":
|
|
2601
|
+
return cs(e, t, r);
|
|
2500
2602
|
case "ieConditionalStartComment":
|
|
2501
2603
|
case "ieConditionalEndComment":
|
|
2502
|
-
return [
|
|
2604
|
+
return [_e(n), fe(n)];
|
|
2503
2605
|
case "interpolation":
|
|
2504
|
-
return [
|
|
2606
|
+
return [_e(n, t), ...e.map(r, "children"), fe(n, t)];
|
|
2505
2607
|
case "text": {
|
|
2506
2608
|
if (n.parent.kind === "interpolation") {
|
|
2507
2609
|
let o = /\n[^\S\n]*$/u, l = o.test(n.value), c = l ? n.value.replace(o, "") : n.value;
|
|
2508
|
-
return [
|
|
2610
|
+
return [F(c), l ? S : ""];
|
|
2509
2611
|
}
|
|
2510
|
-
let a =
|
|
2612
|
+
let a = G(n, t), i = Gr(n), s = j(n, t);
|
|
2511
2613
|
return i[0] = [a, i[0]], i.push([i.pop(), s]), Nr(i);
|
|
2512
2614
|
}
|
|
2513
2615
|
case "docType":
|
|
2514
|
-
return [
|
|
2616
|
+
return [k([_e(n, t), " ", w(0, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), fe(n, t)];
|
|
2515
2617
|
case "comment":
|
|
2516
|
-
return [
|
|
2618
|
+
return [G(n, t), F(t.originalText.slice(xe(n), Xe(n))), j(n, t)];
|
|
2517
2619
|
case "attribute": {
|
|
2518
2620
|
if (n.value === null) return n.rawName;
|
|
2519
2621
|
let a = Xr(n.value), i = Yr(n, t) ? "" : zn(a, '"');
|
|
2520
|
-
return [n.rawName, "=", i,
|
|
2622
|
+
return [n.rawName, "=", i, F(i === '"' ? w(0, a, '"', """) : w(0, a, "'", "'")), i];
|
|
2521
2623
|
}
|
|
2522
2624
|
case "frontMatter":
|
|
2523
2625
|
case "cdata":
|
|
@@ -2525,29 +2627,29 @@ function ho(e, t, r) {
|
|
|
2525
2627
|
throw new Jn(n, "HTML");
|
|
2526
2628
|
}
|
|
2527
2629
|
}
|
|
2528
|
-
var
|
|
2529
|
-
Er(hn, { angular: () =>
|
|
2530
|
-
function
|
|
2630
|
+
var ho = { features: { experimental_frontMatterSupport: { massageAstNode: !0, embed: !0, print: !0 } }, preprocess: co, print: po, insertPragma: ts, massageAstNode: ea, embed: Vi, getVisitorKeys: Ki }, mo = ho, go = [{ name: "Angular", type: "markup", aceMode: "html", extensions: [".component.html"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "HTML", type: "markup", aceMode: "html", extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["html"], vscodeLanguageIds: ["html"], linguistLanguageId: 146 }, { name: "Lightning Web Components", type: "markup", aceMode: "html", extensions: [], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "MJML", type: "markup", aceMode: "html", extensions: [".mjml"], tmScope: "text.mjml.basic", aliases: ["MJML", "mjml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["mjml"], filenames: [], vscodeLanguageIds: ["mjml"], linguistLanguageId: 146 }, { name: "Vue", type: "markup", aceMode: "vue", extensions: [".vue"], tmScope: "source.vue", codemirrorMode: "vue", codemirrorMimeType: "text/x-vue", parsers: ["vue"], vscodeLanguageIds: ["vue"], linguistLanguageId: 391 }], pr = { bracketSameLine: { category: "Common", type: "boolean", default: !1, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: !1, description: "Enforce single attribute per line in HTML, Vue and JSX." } }, hr = "HTML", fo = { bracketSameLine: pr.bracketSameLine, htmlWhitespaceSensitivity: { category: hr, 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: pr.singleAttributePerLine, vueIndentScriptAndStyle: { category: hr, type: "boolean", default: !1, description: "Indent script and style tags in Vue files." } }, _o = fo, hn = {};
|
|
2631
|
+
Er(hn, { angular: () => $o, html: () => Vo, lwc: () => Xo, mjml: () => zo, vue: () => jo });
|
|
2632
|
+
function Co(e, t) {
|
|
2531
2633
|
let r = new SyntaxError(e + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
|
|
2532
2634
|
return Object.assign(r, t);
|
|
2533
2635
|
}
|
|
2534
|
-
var
|
|
2636
|
+
var Eo = Co, vo = { canSelfClose: !0, normalizeTagName: !1, normalizeAttributeName: !1, allowHtmComponentClosingTags: !1, isTagNameCaseSensitive: !1, shouldParseFrontMatter: !0 };
|
|
2535
2637
|
function dn(e) {
|
|
2536
|
-
return { ...
|
|
2638
|
+
return { ...vo, ...e };
|
|
2537
2639
|
}
|
|
2538
2640
|
function mn(e) {
|
|
2539
2641
|
let { canSelfClose: t, allowHtmComponentClosingTags: r, isTagNameCaseSensitive: n, shouldParseAsRawText: a, tokenizeAngularBlocks: i, tokenizeAngularLetDeclaration: s } = e;
|
|
2540
|
-
return { canSelfClose: t, allowHtmComponentClosingTags: r, isTagNameCaseSensitive: n, getTagContentType: a ? (...o) => a(...o) ?
|
|
2642
|
+
return { canSelfClose: t, allowHtmComponentClosingTags: r, isTagNameCaseSensitive: n, getTagContentType: a ? (...o) => a(...o) ? q.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: i, tokenizeAngularLetDeclaration: s };
|
|
2541
2643
|
}
|
|
2542
|
-
var st = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "autocapitalize", "autocorrect", "autofocus", "class", "contenteditable", "dir", "draggable", "enterkeyhint", "exportparts", "hidden", "id", "inert", "inputmode", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "nonce", "part", "popover", "slot", "spellcheck", "style", "tabindex", "title", "translate", "writingsuggestions"])], ["a", /* @__PURE__ */ new Set(["charset", "coords", "download", "href", "hreflang", "name", "ping", "referrerpolicy", "rel", "rev", "shape", "target", "type"])], ["applet", /* @__PURE__ */ new Set(["align", "alt", "archive", "code", "codebase", "height", "hspace", "name", "object", "vspace", "width"])], ["area", /* @__PURE__ */ new Set(["alt", "coords", "download", "href", "hreflang", "nohref", "ping", "referrerpolicy", "rel", "shape", "target", "type"])], ["audio", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"])], ["base", /* @__PURE__ */ new Set(["href", "target"])], ["basefont", /* @__PURE__ */ new Set(["color", "face", "size"])], ["blockquote", /* @__PURE__ */ new Set(["cite"])], ["body", /* @__PURE__ */ new Set(["alink", "background", "bgcolor", "link", "text", "vlink"])], ["br", /* @__PURE__ */ new Set(["clear"])], ["button", /* @__PURE__ */ new Set(["command", "commandfor", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "name", "popovertarget", "popovertargetaction", "type", "value"])], ["canvas", /* @__PURE__ */ new Set(["height", "width"])], ["caption", /* @__PURE__ */ new Set(["align"])], ["col", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["colgroup", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["data", /* @__PURE__ */ new Set(["value"])], ["del", /* @__PURE__ */ new Set(["cite", "datetime"])], ["details", /* @__PURE__ */ new Set(["name", "open"])], ["dialog", /* @__PURE__ */ new Set(["closedby", "open"])], ["dir", /* @__PURE__ */ new Set(["compact"])], ["div", /* @__PURE__ */ new Set(["align"])], ["dl", /* @__PURE__ */ new Set(["compact"])], ["embed", /* @__PURE__ */ new Set(["height", "src", "type", "width"])], ["fieldset", /* @__PURE__ */ new Set(["disabled", "form", "name"])], ["font", /* @__PURE__ */ new Set(["color", "face", "size"])], ["form", /* @__PURE__ */ new Set(["accept", "accept-charset", "action", "autocomplete", "enctype", "method", "name", "novalidate", "target"])], ["frame", /* @__PURE__ */ new Set(["frameborder", "longdesc", "marginheight", "marginwidth", "name", "noresize", "scrolling", "src"])], ["frameset", /* @__PURE__ */ new Set(["cols", "rows"])], ["h1", /* @__PURE__ */ new Set(["align"])], ["h2", /* @__PURE__ */ new Set(["align"])], ["h3", /* @__PURE__ */ new Set(["align"])], ["h4", /* @__PURE__ */ new Set(["align"])], ["h5", /* @__PURE__ */ new Set(["align"])], ["h6", /* @__PURE__ */ new Set(["align"])], ["head", /* @__PURE__ */ new Set(["profile"])], ["hr", /* @__PURE__ */ new Set(["align", "noshade", "size", "width"])], ["html", /* @__PURE__ */ new Set(["manifest", "version"])], ["iframe", /* @__PURE__ */ new Set(["align", "allow", "allowfullscreen", "allowpaymentrequest", "allowusermedia", "frameborder", "height", "loading", "longdesc", "marginheight", "marginwidth", "name", "referrerpolicy", "sandbox", "scrolling", "src", "srcdoc", "width"])], ["img", /* @__PURE__ */ new Set(["align", "alt", "border", "crossorigin", "decoding", "fetchpriority", "height", "hspace", "ismap", "loading", "longdesc", "name", "referrerpolicy", "sizes", "src", "srcset", "usemap", "vspace", "width"])], ["input", /* @__PURE__ */ new Set(["accept", "align", "alpha", "alt", "autocomplete", "checked", "colorspace", "dirname", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "height", "ismap", "list", "max", "maxlength", "min", "minlength", "multiple", "name", "pattern", "placeholder", "popovertarget", "popovertargetaction", "readonly", "required", "size", "src", "step", "type", "usemap", "value", "width"])], ["ins", /* @__PURE__ */ new Set(["cite", "datetime"])], ["isindex", /* @__PURE__ */ new Set(["prompt"])], ["label", /* @__PURE__ */ new Set(["for", "form"])], ["legend", /* @__PURE__ */ new Set(["align"])], ["li", /* @__PURE__ */ new Set(["type", "value"])], ["link", /* @__PURE__ */ new Set(["as", "blocking", "charset", "color", "crossorigin", "disabled", "fetchpriority", "href", "hreflang", "imagesizes", "imagesrcset", "integrity", "media", "referrerpolicy", "rel", "rev", "sizes", "target", "type"])], ["map", /* @__PURE__ */ new Set(["name"])], ["menu", /* @__PURE__ */ new Set(["compact"])], ["meta", /* @__PURE__ */ new Set(["charset", "content", "http-equiv", "media", "name", "scheme"])], ["meter", /* @__PURE__ */ new Set(["high", "low", "max", "min", "optimum", "value"])], ["object", /* @__PURE__ */ new Set(["align", "archive", "border", "classid", "codebase", "codetype", "data", "declare", "form", "height", "hspace", "name", "standby", "type", "typemustmatch", "usemap", "vspace", "width"])], ["ol", /* @__PURE__ */ new Set(["compact", "reversed", "start", "type"])], ["optgroup", /* @__PURE__ */ new Set(["disabled", "label"])], ["option", /* @__PURE__ */ new Set(["disabled", "label", "selected", "value"])], ["output", /* @__PURE__ */ new Set(["for", "form", "name"])], ["p", /* @__PURE__ */ new Set(["align"])], ["param", /* @__PURE__ */ new Set(["name", "type", "value", "valuetype"])], ["pre", /* @__PURE__ */ new Set(["width"])], ["progress", /* @__PURE__ */ new Set(["max", "value"])], ["q", /* @__PURE__ */ new Set(["cite"])], ["script", /* @__PURE__ */ new Set(["async", "blocking", "charset", "crossorigin", "defer", "fetchpriority", "integrity", "language", "nomodule", "referrerpolicy", "src", "type"])], ["select", /* @__PURE__ */ new Set(["autocomplete", "disabled", "form", "multiple", "name", "required", "size"])], ["slot", /* @__PURE__ */ new Set(["name"])], ["source", /* @__PURE__ */ new Set(["height", "media", "sizes", "src", "srcset", "type", "width"])], ["style", /* @__PURE__ */ new Set(["blocking", "media", "type"])], ["table", /* @__PURE__ */ new Set(["align", "bgcolor", "border", "cellpadding", "cellspacing", "frame", "rules", "summary", "width"])], ["tbody", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["td", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["template", /* @__PURE__ */ new Set(["shadowrootclonable", "shadowrootcustomelementregistry", "shadowrootdelegatesfocus", "shadowrootmode", "shadowrootserializable"])], ["textarea", /* @__PURE__ */ new Set(["autocomplete", "cols", "dirname", "disabled", "form", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows", "wrap"])], ["tfoot", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["th", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["thead", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["time", /* @__PURE__ */ new Set(["datetime"])], ["tr", /* @__PURE__ */ new Set(["align", "bgcolor", "char", "charoff", "valign"])], ["track", /* @__PURE__ */ new Set(["default", "kind", "label", "src", "srclang"])], ["ul", /* @__PURE__ */ new Set(["compact", "type"])], ["video", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "height", "loop", "muted", "playsinline", "poster", "preload", "src", "width"])]]),
|
|
2644
|
+
var st = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "autocapitalize", "autocorrect", "autofocus", "class", "contenteditable", "dir", "draggable", "enterkeyhint", "exportparts", "hidden", "id", "inert", "inputmode", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "nonce", "part", "popover", "slot", "spellcheck", "style", "tabindex", "title", "translate", "writingsuggestions"])], ["a", /* @__PURE__ */ new Set(["charset", "coords", "download", "href", "hreflang", "name", "ping", "referrerpolicy", "rel", "rev", "shape", "target", "type"])], ["applet", /* @__PURE__ */ new Set(["align", "alt", "archive", "code", "codebase", "height", "hspace", "name", "object", "vspace", "width"])], ["area", /* @__PURE__ */ new Set(["alt", "coords", "download", "href", "hreflang", "nohref", "ping", "referrerpolicy", "rel", "shape", "target", "type"])], ["audio", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"])], ["base", /* @__PURE__ */ new Set(["href", "target"])], ["basefont", /* @__PURE__ */ new Set(["color", "face", "size"])], ["blockquote", /* @__PURE__ */ new Set(["cite"])], ["body", /* @__PURE__ */ new Set(["alink", "background", "bgcolor", "link", "text", "vlink"])], ["br", /* @__PURE__ */ new Set(["clear"])], ["button", /* @__PURE__ */ new Set(["command", "commandfor", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "name", "popovertarget", "popovertargetaction", "type", "value"])], ["canvas", /* @__PURE__ */ new Set(["height", "width"])], ["caption", /* @__PURE__ */ new Set(["align"])], ["col", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["colgroup", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["data", /* @__PURE__ */ new Set(["value"])], ["del", /* @__PURE__ */ new Set(["cite", "datetime"])], ["details", /* @__PURE__ */ new Set(["name", "open"])], ["dialog", /* @__PURE__ */ new Set(["closedby", "open"])], ["dir", /* @__PURE__ */ new Set(["compact"])], ["div", /* @__PURE__ */ new Set(["align"])], ["dl", /* @__PURE__ */ new Set(["compact"])], ["embed", /* @__PURE__ */ new Set(["height", "src", "type", "width"])], ["fieldset", /* @__PURE__ */ new Set(["disabled", "form", "name"])], ["font", /* @__PURE__ */ new Set(["color", "face", "size"])], ["form", /* @__PURE__ */ new Set(["accept", "accept-charset", "action", "autocomplete", "enctype", "method", "name", "novalidate", "target"])], ["frame", /* @__PURE__ */ new Set(["frameborder", "longdesc", "marginheight", "marginwidth", "name", "noresize", "scrolling", "src"])], ["frameset", /* @__PURE__ */ new Set(["cols", "rows"])], ["h1", /* @__PURE__ */ new Set(["align"])], ["h2", /* @__PURE__ */ new Set(["align"])], ["h3", /* @__PURE__ */ new Set(["align"])], ["h4", /* @__PURE__ */ new Set(["align"])], ["h5", /* @__PURE__ */ new Set(["align"])], ["h6", /* @__PURE__ */ new Set(["align"])], ["head", /* @__PURE__ */ new Set(["profile"])], ["hr", /* @__PURE__ */ new Set(["align", "noshade", "size", "width"])], ["html", /* @__PURE__ */ new Set(["manifest", "version"])], ["iframe", /* @__PURE__ */ new Set(["align", "allow", "allowfullscreen", "allowpaymentrequest", "allowusermedia", "frameborder", "height", "loading", "longdesc", "marginheight", "marginwidth", "name", "referrerpolicy", "sandbox", "scrolling", "src", "srcdoc", "width"])], ["img", /* @__PURE__ */ new Set(["align", "alt", "border", "crossorigin", "decoding", "fetchpriority", "height", "hspace", "ismap", "loading", "longdesc", "name", "referrerpolicy", "sizes", "src", "srcset", "usemap", "vspace", "width"])], ["input", /* @__PURE__ */ new Set(["accept", "align", "alpha", "alt", "autocomplete", "checked", "colorspace", "dirname", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "height", "ismap", "list", "max", "maxlength", "min", "minlength", "multiple", "name", "pattern", "placeholder", "popovertarget", "popovertargetaction", "readonly", "required", "size", "src", "step", "type", "usemap", "value", "width"])], ["ins", /* @__PURE__ */ new Set(["cite", "datetime"])], ["isindex", /* @__PURE__ */ new Set(["prompt"])], ["label", /* @__PURE__ */ new Set(["for", "form"])], ["legend", /* @__PURE__ */ new Set(["align"])], ["li", /* @__PURE__ */ new Set(["type", "value"])], ["link", /* @__PURE__ */ new Set(["as", "blocking", "charset", "color", "crossorigin", "disabled", "fetchpriority", "href", "hreflang", "imagesizes", "imagesrcset", "integrity", "media", "referrerpolicy", "rel", "rev", "sizes", "target", "type"])], ["map", /* @__PURE__ */ new Set(["name"])], ["menu", /* @__PURE__ */ new Set(["compact"])], ["meta", /* @__PURE__ */ new Set(["charset", "content", "http-equiv", "media", "name", "scheme"])], ["meter", /* @__PURE__ */ new Set(["high", "low", "max", "min", "optimum", "value"])], ["object", /* @__PURE__ */ new Set(["align", "archive", "border", "classid", "codebase", "codetype", "data", "declare", "form", "height", "hspace", "name", "standby", "type", "typemustmatch", "usemap", "vspace", "width"])], ["ol", /* @__PURE__ */ new Set(["compact", "reversed", "start", "type"])], ["optgroup", /* @__PURE__ */ new Set(["disabled", "label"])], ["option", /* @__PURE__ */ new Set(["disabled", "label", "selected", "value"])], ["output", /* @__PURE__ */ new Set(["for", "form", "name"])], ["p", /* @__PURE__ */ new Set(["align"])], ["param", /* @__PURE__ */ new Set(["name", "type", "value", "valuetype"])], ["pre", /* @__PURE__ */ new Set(["width"])], ["progress", /* @__PURE__ */ new Set(["max", "value"])], ["q", /* @__PURE__ */ new Set(["cite"])], ["script", /* @__PURE__ */ new Set(["async", "blocking", "charset", "crossorigin", "defer", "fetchpriority", "integrity", "language", "nomodule", "referrerpolicy", "src", "type"])], ["select", /* @__PURE__ */ new Set(["autocomplete", "disabled", "form", "multiple", "name", "required", "size"])], ["slot", /* @__PURE__ */ new Set(["name"])], ["source", /* @__PURE__ */ new Set(["height", "media", "sizes", "src", "srcset", "type", "width"])], ["style", /* @__PURE__ */ new Set(["blocking", "media", "type"])], ["table", /* @__PURE__ */ new Set(["align", "bgcolor", "border", "cellpadding", "cellspacing", "frame", "rules", "summary", "width"])], ["tbody", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["td", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["template", /* @__PURE__ */ new Set(["shadowrootclonable", "shadowrootcustomelementregistry", "shadowrootdelegatesfocus", "shadowrootmode", "shadowrootserializable"])], ["textarea", /* @__PURE__ */ new Set(["autocomplete", "cols", "dirname", "disabled", "form", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows", "wrap"])], ["tfoot", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["th", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["thead", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["time", /* @__PURE__ */ new Set(["datetime"])], ["tr", /* @__PURE__ */ new Set(["align", "bgcolor", "char", "charoff", "valign"])], ["track", /* @__PURE__ */ new Set(["default", "kind", "label", "src", "srclang"])], ["ul", /* @__PURE__ */ new Set(["compact", "type"])], ["video", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "height", "loop", "muted", "playsinline", "poster", "preload", "src", "width"])]]), So = /* @__PURE__ */ new Set(["a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "command", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fencedframe", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "isindex", "kbd", "keygen", "label", "legend", "li", "link", "listing", "main", "map", "mark", "marquee", "math", "menu", "menuitem", "meta", "meter", "multicol", "nav", "nextid", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "pre", "progress", "q", "rb", "rbc", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "search", "section", "select", "selectedcontent", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp"]), qe = { attrs: !0, children: !0, cases: !0, expression: !0 }, dr = /* @__PURE__ */ new Set(["parent"]), ee, gt, ft, Ao = class ge {
|
|
2543
2645
|
constructor(t = {}) {
|
|
2544
|
-
Sn(this,
|
|
2646
|
+
Sn(this, ee), qt(this, "kind"), qt(this, "parent");
|
|
2545
2647
|
for (let r of /* @__PURE__ */ new Set([...dr, ...Object.keys(t)])) this.setProperty(r, t[r]);
|
|
2546
|
-
if (
|
|
2648
|
+
if (ze(t)) for (let r of Object.getOwnPropertySymbols(t)) this.setProperty(r, t[r]);
|
|
2547
2649
|
}
|
|
2548
2650
|
setProperty(t, r) {
|
|
2549
2651
|
if (this[t] !== r) {
|
|
2550
|
-
if (t in
|
|
2652
|
+
if (t in qe && (r = r.map((n) => this.createChild(n))), !dr.has(t)) {
|
|
2551
2653
|
this[t] = r;
|
|
2552
2654
|
return;
|
|
2553
2655
|
}
|
|
@@ -2556,25 +2658,25 @@ var st = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "a
|
|
|
2556
2658
|
}
|
|
2557
2659
|
map(t) {
|
|
2558
2660
|
let r;
|
|
2559
|
-
for (let n in
|
|
2661
|
+
for (let n in qe) {
|
|
2560
2662
|
let a = this[n];
|
|
2561
2663
|
if (a) {
|
|
2562
|
-
let i =
|
|
2563
|
-
r !== a && (r || (r = new
|
|
2664
|
+
let i = ko(a, (s) => s.map(t));
|
|
2665
|
+
r !== a && (r || (r = new ge({ parent: this.parent })), r.setProperty(n, i));
|
|
2564
2666
|
}
|
|
2565
2667
|
}
|
|
2566
|
-
if (r) for (let n in this) n in
|
|
2668
|
+
if (r) for (let n in this) n in qe || (r[n] = this[n]);
|
|
2567
2669
|
return t(r || this);
|
|
2568
2670
|
}
|
|
2569
2671
|
walk(t) {
|
|
2570
|
-
for (let r in
|
|
2672
|
+
for (let r in qe) {
|
|
2571
2673
|
let n = this[r];
|
|
2572
2674
|
if (n) for (let a = 0; a < n.length; a++) n[a].walk(t);
|
|
2573
2675
|
}
|
|
2574
2676
|
t(this);
|
|
2575
2677
|
}
|
|
2576
2678
|
createChild(t) {
|
|
2577
|
-
let r = t instanceof
|
|
2679
|
+
let r = t instanceof ge ? t.clone() : new ge(t);
|
|
2578
2680
|
return r.setProperty("parent", this), r;
|
|
2579
2681
|
}
|
|
2580
2682
|
insertChildBefore(t, r) {
|
|
@@ -2590,27 +2692,27 @@ var st = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "a
|
|
|
2590
2692
|
n[n.indexOf(t)] = this.createChild(r);
|
|
2591
2693
|
}
|
|
2592
2694
|
clone() {
|
|
2593
|
-
return new
|
|
2695
|
+
return new ge(this);
|
|
2594
2696
|
}
|
|
2595
2697
|
get $children() {
|
|
2596
|
-
return this[
|
|
2698
|
+
return this[Pe(this, ee, gt)];
|
|
2597
2699
|
}
|
|
2598
2700
|
set $children(t) {
|
|
2599
|
-
this[
|
|
2701
|
+
this[Pe(this, ee, gt)] = t;
|
|
2600
2702
|
}
|
|
2601
2703
|
get firstChild() {
|
|
2602
2704
|
var t;
|
|
2603
2705
|
return (t = this.$children) == null ? void 0 : t[0];
|
|
2604
2706
|
}
|
|
2605
2707
|
get lastChild() {
|
|
2606
|
-
return
|
|
2708
|
+
return re(1, this.$children, -1);
|
|
2607
2709
|
}
|
|
2608
2710
|
get prev() {
|
|
2609
|
-
let t =
|
|
2711
|
+
let t = Pe(this, ee, ft);
|
|
2610
2712
|
return t[t.indexOf(this) - 1];
|
|
2611
2713
|
}
|
|
2612
2714
|
get next() {
|
|
2613
|
-
let t =
|
|
2715
|
+
let t = Pe(this, ee, ft);
|
|
2614
2716
|
return t[t.indexOf(this) + 1];
|
|
2615
2717
|
}
|
|
2616
2718
|
get rawName() {
|
|
@@ -2623,77 +2725,77 @@ var st = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "a
|
|
|
2623
2725
|
return Object.fromEntries(this.attrs.map((t) => [t.fullName, t.value]));
|
|
2624
2726
|
}
|
|
2625
2727
|
};
|
|
2626
|
-
|
|
2728
|
+
ee = /* @__PURE__ */ new WeakSet(), gt = function() {
|
|
2627
2729
|
return this.kind === "angularIcuCase" ? "expression" : this.kind === "angularIcuExpression" ? "cases" : "children";
|
|
2628
2730
|
}, ft = function() {
|
|
2629
2731
|
var e;
|
|
2630
2732
|
return ((e = this.parent) == null ? void 0 : e.$children) ?? [];
|
|
2631
2733
|
};
|
|
2632
|
-
var
|
|
2633
|
-
function
|
|
2734
|
+
var To = Ao;
|
|
2735
|
+
function ko(e, t) {
|
|
2634
2736
|
let r = e.map(t);
|
|
2635
2737
|
return r.some((n, a) => n !== e[a]) ? r : e;
|
|
2636
2738
|
}
|
|
2637
|
-
var
|
|
2638
|
-
function
|
|
2639
|
-
if (e.value) for (let { regex: r, parse: n } of
|
|
2739
|
+
var bo = [{ regex: /^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/su, parse: yo }, { regex: /^\[if(?<condition>[^\]]*)\]><!$/u, parse: Do }, { regex: /^<!\s*\[endif\]$/u, parse: xo }];
|
|
2740
|
+
function wo(e, t) {
|
|
2741
|
+
if (e.value) for (let { regex: r, parse: n } of bo) {
|
|
2640
2742
|
let a = e.value.match(r);
|
|
2641
2743
|
if (a) return n(e, a, t);
|
|
2642
2744
|
}
|
|
2643
2745
|
return null;
|
|
2644
2746
|
}
|
|
2645
|
-
function
|
|
2747
|
+
function yo(e, t, r) {
|
|
2646
2748
|
let { openingTagSuffix: n, condition: a, data: i } = t.groups, s = 4 + n.length, o = e.sourceSpan.start.moveBy(s), l = o.moveBy(i.length), [c, p] = (() => {
|
|
2647
2749
|
try {
|
|
2648
2750
|
return [!0, r(i, o).children];
|
|
2649
2751
|
} catch {
|
|
2650
|
-
return [!1, [{ kind: "text", value: i, sourceSpan: new
|
|
2752
|
+
return [!1, [{ kind: "text", value: i, sourceSpan: new m(o, l) }]];
|
|
2651
2753
|
}
|
|
2652
2754
|
})();
|
|
2653
|
-
return { kind: "ieConditionalComment", complete: c, children: p, condition:
|
|
2755
|
+
return { kind: "ieConditionalComment", complete: c, children: p, condition: w(0, a.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan, startSourceSpan: new m(e.sourceSpan.start, o), endSourceSpan: new m(l, e.sourceSpan.end) };
|
|
2654
2756
|
}
|
|
2655
|
-
function
|
|
2757
|
+
function Do(e, t) {
|
|
2656
2758
|
let { condition: r } = t.groups;
|
|
2657
|
-
return { kind: "ieConditionalStartComment", condition:
|
|
2759
|
+
return { kind: "ieConditionalStartComment", condition: w(0, r.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan };
|
|
2658
2760
|
}
|
|
2659
|
-
function
|
|
2761
|
+
function xo(e) {
|
|
2660
2762
|
return { kind: "ieConditionalEndComment", sourceSpan: e.sourceSpan };
|
|
2661
2763
|
}
|
|
2662
|
-
var
|
|
2764
|
+
var No = class extends Ls {
|
|
2663
2765
|
visitExpansionCase(e, t) {
|
|
2664
2766
|
t.parseOptions.name === "angular" && this.visitChildren(t, (r) => {
|
|
2665
2767
|
r(e.expression);
|
|
2666
2768
|
});
|
|
2667
2769
|
}
|
|
2668
2770
|
visit(e, { parseOptions: t }) {
|
|
2669
|
-
|
|
2771
|
+
Po(e), Io(e, t), Mo(e, t), Ro(e);
|
|
2670
2772
|
}
|
|
2671
2773
|
};
|
|
2672
2774
|
function Lo(e, t, r, n) {
|
|
2673
|
-
un(new
|
|
2674
|
-
let a = new
|
|
2775
|
+
un(new No(), e.children, { parseOptions: r }), t && e.children.unshift(t);
|
|
2776
|
+
let a = new To(e);
|
|
2675
2777
|
return a.walk((i) => {
|
|
2676
2778
|
if (i.kind === "comment") {
|
|
2677
|
-
let s =
|
|
2779
|
+
let s = wo(i, n);
|
|
2678
2780
|
s && i.parent.replaceChild(i, s);
|
|
2679
2781
|
}
|
|
2680
|
-
|
|
2782
|
+
Bo(i), Oo(i), Fo(i);
|
|
2681
2783
|
}), a;
|
|
2682
2784
|
}
|
|
2683
|
-
function
|
|
2785
|
+
function Bo(e) {
|
|
2684
2786
|
if (e.kind === "block") {
|
|
2685
|
-
if (e.name =
|
|
2787
|
+
if (e.name = w(0, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.kind = "angularControlFlowBlock", !wt(e.parameters)) {
|
|
2686
2788
|
delete e.parameters;
|
|
2687
2789
|
return;
|
|
2688
2790
|
}
|
|
2689
2791
|
for (let t of e.parameters) t.kind = "angularControlFlowBlockParameter";
|
|
2690
|
-
e.parameters = { kind: "angularControlFlowBlockParameters", children: e.parameters, sourceSpan: new
|
|
2792
|
+
e.parameters = { kind: "angularControlFlowBlockParameters", children: e.parameters, sourceSpan: new m(e.parameters[0].sourceSpan.start, re(0, e.parameters, -1).sourceSpan.end) };
|
|
2691
2793
|
}
|
|
2692
2794
|
}
|
|
2693
|
-
function
|
|
2694
|
-
e.kind === "letDeclaration" && (e.kind = "angularLetDeclaration", e.id = e.name, e.init = { kind: "angularLetDeclarationInitializer", sourceSpan: new
|
|
2795
|
+
function Oo(e) {
|
|
2796
|
+
e.kind === "letDeclaration" && (e.kind = "angularLetDeclaration", e.id = e.name, e.init = { kind: "angularLetDeclarationInitializer", sourceSpan: new m(e.valueSpan.start, e.valueSpan.end), value: e.value }, delete e.name, delete e.value);
|
|
2695
2797
|
}
|
|
2696
|
-
function
|
|
2798
|
+
function Fo(e) {
|
|
2697
2799
|
e.kind === "expansion" && (e.kind = "angularIcuExpression"), e.kind === "expansionCase" && (e.kind = "angularIcuCase");
|
|
2698
2800
|
}
|
|
2699
2801
|
function mr(e, t) {
|
|
@@ -2704,7 +2806,7 @@ function gr(e) {
|
|
|
2704
2806
|
let t = e.name.startsWith(":") ? e.name.slice(1).split(":")[0] : null, r = e.nameSpan.toString(), n = t !== null && r.startsWith(`${t}:`), a = n ? r.slice(t.length + 1) : r;
|
|
2705
2807
|
e.name = a, e.namespace = t, e.hasExplicitNamespace = n;
|
|
2706
2808
|
}
|
|
2707
|
-
function
|
|
2809
|
+
function Po(e) {
|
|
2708
2810
|
switch (e.kind) {
|
|
2709
2811
|
case "element":
|
|
2710
2812
|
gr(e);
|
|
@@ -2718,23 +2820,23 @@ function Io(e) {
|
|
|
2718
2820
|
break;
|
|
2719
2821
|
}
|
|
2720
2822
|
}
|
|
2721
|
-
function
|
|
2823
|
+
function Io(e, t) {
|
|
2722
2824
|
if (e.kind === "element") {
|
|
2723
2825
|
let r = lt(t.isTagNameCaseSensitive ? e.name : e.name.toLowerCase());
|
|
2724
|
-
!e.namespace || e.namespace === r.implicitNamespacePrefix ||
|
|
2826
|
+
!e.namespace || e.namespace === r.implicitNamespacePrefix || ye(e) ? e.tagDefinition = r : e.tagDefinition = lt("");
|
|
2725
2827
|
}
|
|
2726
2828
|
}
|
|
2727
|
-
function
|
|
2728
|
-
e.sourceSpan && e.endSourceSpan && (e.sourceSpan = new
|
|
2829
|
+
function Ro(e) {
|
|
2830
|
+
e.sourceSpan && e.endSourceSpan && (e.sourceSpan = new m(e.sourceSpan.start, e.endSourceSpan.end));
|
|
2729
2831
|
}
|
|
2730
|
-
function
|
|
2731
|
-
if (e.kind === "element" && (t.normalizeTagName && (!e.namespace || e.namespace === e.tagDefinition.implicitNamespacePrefix ||
|
|
2832
|
+
function Mo(e, t) {
|
|
2833
|
+
if (e.kind === "element" && (t.normalizeTagName && (!e.namespace || e.namespace === e.tagDefinition.implicitNamespacePrefix || ye(e)) && (e.name = mr(e.name, (r) => So.has(r))), t.normalizeAttributeName)) for (let r of e.attrs) r.namespace || (r.name = mr(r.name, (n) => st.has(e.name) && (st.get("*").has(n) || st.get(e.name).has(n))));
|
|
2732
2834
|
}
|
|
2733
2835
|
function gn(e, t) {
|
|
2734
2836
|
let { rootNodes: r, errors: n } = mt(e, mn(t));
|
|
2735
2837
|
return n.length > 0 && _t(n[0]), { parseOptions: t, rootNodes: r };
|
|
2736
2838
|
}
|
|
2737
|
-
function
|
|
2839
|
+
function qo(e, t) {
|
|
2738
2840
|
let r = mn(t), { rootNodes: n, errors: a } = mt(e, r);
|
|
2739
2841
|
if (n.some((l) => l.kind === "docType" && l.value === "html" || l.kind === "element" && l.name.toLowerCase() === "html")) return gn(e, Pt);
|
|
2740
2842
|
let i, s = () => i ?? (i = mt(e, { ...r, getTagContentType: void 0 })), o = (l) => {
|
|
@@ -2743,14 +2845,14 @@ function Ho(e, t) {
|
|
|
2743
2845
|
};
|
|
2744
2846
|
for (let [l, c] of n.entries()) if (c.kind === "element") {
|
|
2745
2847
|
if (c.isVoid) a = s().errors, n[l] = o(c);
|
|
2746
|
-
else if (
|
|
2747
|
-
let { endSourceSpan: p, startSourceSpan:
|
|
2748
|
-
|
|
2848
|
+
else if (Ho(c)) {
|
|
2849
|
+
let { endSourceSpan: p, startSourceSpan: f } = c, _ = s().errors.find((d) => d.span.start.offset > f.start.offset && d.span.start.offset < p.end.offset);
|
|
2850
|
+
_ && _t(_), n[l] = o(c);
|
|
2749
2851
|
}
|
|
2750
2852
|
}
|
|
2751
2853
|
return a.length > 0 && _t(a[0]), { parseOptions: t, rootNodes: n };
|
|
2752
2854
|
}
|
|
2753
|
-
function
|
|
2855
|
+
function Ho(e) {
|
|
2754
2856
|
var r;
|
|
2755
2857
|
if (e.kind !== "element" || e.name !== "template") return !1;
|
|
2756
2858
|
let t = (r = e.attrs.find((n) => n.name === "lang")) == null ? void 0 : r.value;
|
|
@@ -2758,34 +2860,34 @@ function Vo(e) {
|
|
|
2758
2860
|
}
|
|
2759
2861
|
function _t(e) {
|
|
2760
2862
|
let { msg: t, span: { start: r, end: n } } = e;
|
|
2761
|
-
throw
|
|
2863
|
+
throw Eo(t, { loc: { start: { line: r.line + 1, column: r.col + 1 }, end: { line: n.line + 1, column: n.col + 1 } }, cause: e });
|
|
2762
2864
|
}
|
|
2763
2865
|
function Uo(e, t, r, n, a, i) {
|
|
2764
|
-
let { offset: s } = n, o =
|
|
2765
|
-
l.sourceSpan = new
|
|
2866
|
+
let { offset: s } = n, o = w(0, t.slice(0, s), /[^\n]/gu, " ") + r, l = fn(o, e, { ...a, shouldParseFrontMatter: !1 }, i);
|
|
2867
|
+
l.sourceSpan = new m(n, re(0, l.children, -1).sourceSpan.end);
|
|
2766
2868
|
let c = l.children[0];
|
|
2767
|
-
return c.length === s ? l.children.shift() : (c.sourceSpan = new
|
|
2869
|
+
return c.length === s ? l.children.shift() : (c.sourceSpan = new m(c.sourceSpan.start.moveBy(s), c.sourceSpan.end), c.value = c.value.slice(s)), l;
|
|
2768
2870
|
}
|
|
2769
2871
|
function fn(e, t, r, n = {}) {
|
|
2770
|
-
let { frontMatter: a, content: i } = r.shouldParseFrontMatter ? Ea(e) : { content: e }, s = new on(e, n.filepath), o = new ct(s, 0, 0, 0), l = o.moveBy(e.length), { parseOptions: c, rootNodes: p } = t(i, r),
|
|
2872
|
+
let { frontMatter: a, content: i } = r.shouldParseFrontMatter ? Ea(e) : { content: e }, s = new on(e, n.filepath), o = new ct(s, 0, 0, 0), l = o.moveBy(e.length), { parseOptions: c, rootNodes: p } = t(i, r), f = { kind: "root", sourceSpan: new m(o, l), children: p }, _;
|
|
2771
2873
|
if (a) {
|
|
2772
|
-
let [
|
|
2773
|
-
|
|
2874
|
+
let [d, C] = [a.start, a.end].map((v) => new ct(s, v.index, v.line - 1, v.column));
|
|
2875
|
+
_ = { ...a, kind: "frontMatter", sourceSpan: new m(d, C) };
|
|
2774
2876
|
}
|
|
2775
|
-
return Lo(
|
|
2877
|
+
return Lo(f, _, c, (d, C) => Uo(t, e, d, C, c, n));
|
|
2776
2878
|
}
|
|
2777
2879
|
var Pt = dn({ name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 });
|
|
2778
|
-
function
|
|
2779
|
-
let t = dn(e), r = t.name === "vue" ?
|
|
2780
|
-
return { parse: (n, a) => fn(n, r, t, a), hasPragma: Zi, hasIgnorePragma: es, astFormat: "html", locStart:
|
|
2880
|
+
function Oe(e) {
|
|
2881
|
+
let t = dn(e), r = t.name === "vue" ? qo : gn;
|
|
2882
|
+
return { parse: (n, a) => fn(n, r, t, a), hasPragma: Zi, hasIgnorePragma: es, astFormat: "html", locStart: xe, locEnd: Xe };
|
|
2781
2883
|
}
|
|
2782
|
-
var
|
|
2884
|
+
var Vo = Oe(Pt), Wo = /* @__PURE__ */ new Set(["mj-style", "mj-raw"]), zo = Oe({ ...Pt, name: "mjml", shouldParseAsRawText: (e) => Wo.has(e) }), $o = Oe({ name: "angular", tokenizeAngularBlocks: !0, tokenizeAngularLetDeclaration: !0 }), jo = Oe({ name: "vue", isTagNameCaseSensitive: !0, shouldParseAsRawText(e, t, r, n) {
|
|
2783
2885
|
return e.toLowerCase() !== "html" && !r && (e !== "template" || n.some(({ name: a, value: i }) => a === "lang" && i !== "html" && i !== "" && i !== void 0));
|
|
2784
|
-
} }),
|
|
2886
|
+
} }), Xo = Oe({ name: "lwc", canSelfClose: !1 }), Go = { html: mo };
|
|
2785
2887
|
export {
|
|
2786
2888
|
An as default,
|
|
2787
|
-
|
|
2788
|
-
|
|
2889
|
+
go as languages,
|
|
2890
|
+
_o as options,
|
|
2789
2891
|
hn as parsers,
|
|
2790
|
-
|
|
2892
|
+
Go as printers
|
|
2791
2893
|
};
|