ct-rich-text-editor 1.3.21 → 1.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +233 -233
- package/dist/App.d.ts +3 -2
- package/dist/Provider/EditorProvider.d.ts +27 -26
- package/dist/Provider/LexicalProvider.d.ts +6 -5
- package/dist/api/ai/index.d.ts +31 -31
- package/dist/api/auth.d.ts +108 -108
- package/dist/api/config/axios.d.ts +2 -1
- package/dist/api/config/endpoints.d.ts +18 -18
- package/dist/api/featureSuggestion.d.ts +23 -23
- package/dist/api/transcript/index.d.ts +1 -1
- package/dist/assets/style.css +5211 -5194
- package/dist/{babel-d3085146.js → babel-d155920e.js} +3278 -3551
- package/dist/babel-d155920e.js.map +1 -0
- package/dist/components/AiPlugin/index.d.ts +6 -6
- package/dist/components/AlignMenu/AlignMenu.d.ts +9 -8
- package/dist/components/AlignMenu/AlignMenuDrop.d.ts +3 -2
- package/dist/components/AlignMenu/index.d.ts +1 -1
- package/dist/components/AutoExpandingDemo.d.ts +6 -5
- package/dist/components/BlockFormatMenu/BlockFormatMenu.d.ts +3 -2
- package/dist/components/BlockFormatMenu/constants.d.ts +14 -14
- package/dist/components/BlockFormatMenu/index.d.ts +1 -1
- package/dist/components/ChartEditDialog.d.ts +9 -8
- package/dist/components/ChartInsertDialog.d.ts +8 -7
- package/dist/components/CodeActionMenuPlugin/components/CopyButton/index.d.ts +7 -6
- package/dist/components/CodeActionMenuPlugin/components/PrettierButton/index.d.ts +9 -8
- package/dist/components/CodeActionMenuPlugin/index.d.ts +5 -4
- package/dist/components/CodeActionMenuPlugin/utils.d.ts +1 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +3 -2
- package/dist/components/ColorPicker/index.d.ts +1 -1
- package/dist/components/CommentSidebar/CommentSidebar.d.ts +8 -7
- package/dist/components/CommentSidebar/index.d.ts +1 -1
- package/dist/components/CommentToggle/CommentToggle.d.ts +8 -7
- package/dist/components/CommentToggle/index.d.ts +1 -1
- package/dist/components/CommentView/CommentView.d.ts +9 -8
- package/dist/components/CommentView/index.d.ts +1 -1
- package/dist/components/ConfigurableEditorWithAuth.d.ts +13 -12
- package/dist/components/DatePicker/DatePickerWidget.d.ts +7 -6
- package/dist/components/EmojiPickerWidget/EmojiPickerWidget.d.ts +3 -2
- package/dist/components/EmojiPickerWidget/index.d.ts +1 -1
- package/dist/components/FeatureSuggestionDialog/index.d.ts +6 -6
- package/dist/components/FileUpload/InsertFileDialog.d.ts +7 -7
- package/dist/components/FileUpload/InsertFileUploadedDialogBody.d.ts +5 -4
- package/dist/components/FileView/index.d.ts +9 -8
- package/dist/components/FontFamilySelect/FontFamilyMenu.d.ts +7 -6
- package/dist/components/FontSizePicker/FontSizeControl.d.ts +3 -2
- package/dist/components/FormatTextMenu/FormatTextMenu.d.ts +3 -2
- package/dist/components/FormatTextMenu/FormatTextMenuDrop.d.ts +3 -2
- package/dist/components/FormatTextMenu/index.d.ts +1 -1
- package/dist/components/HighlightColorPicker/HighlightColorPicker.d.ts +7 -6
- package/dist/components/HtmlViewDisplay.d.ts +3 -2
- package/dist/components/ImageComparisonDialog/index.d.ts +11 -10
- package/dist/components/ImageGenerationDialog/ImageGenerationManager.d.ts +11 -10
- package/dist/components/ImageGenerationDialog/index.d.ts +11 -10
- package/dist/components/ImageInsertTest.d.ts +3 -2
- package/dist/components/ImageView/ImageDialog/ImageUploadDialogBody.d.ts +9 -8
- package/dist/components/ImageView/ImageDialog/index.d.ts +6 -5
- package/dist/components/ImageView/ImageResizer.d.ts +16 -15
- package/dist/components/ImageView/index.d.ts +16 -15
- package/dist/components/InsertMenu/InsertMenu.d.ts +9 -8
- package/dist/components/InsertMenu/InsertMenuDrop.d.ts +9 -8
- package/dist/components/InsertMenu/index.d.ts +1 -1
- package/dist/components/LanguageSelectorDialog/index.d.ts +8 -7
- package/dist/components/NotePanelMenu/NotePanelMenu.d.ts +6 -5
- package/dist/components/NotePanelMenu/index.d.ts +1 -1
- package/dist/components/NotePanelView/NotePanelView.d.ts +9 -8
- package/dist/components/NotePanelView/index.d.ts +1 -1
- package/dist/components/Placeholder/Placeholder.d.ts +3 -2
- package/dist/components/Placeholder/index.d.ts +1 -1
- package/dist/components/Placeholder/styles.d.ts +1 -1
- package/dist/components/ScopedEditor.d.ts +8 -8
- package/dist/components/SignatureCaption/index.d.ts +6 -5
- package/dist/components/TableColorPicker/index.d.ts +8 -7
- package/dist/components/TableModal/TableModal.d.ts +10 -9
- package/dist/components/TextEnhanceDialog/index.d.ts +10 -9
- package/dist/components/ToneAdjustDialog/index.d.ts +8 -7
- package/dist/components/Toolbar/Toolbar.d.ts +3 -2
- package/dist/components/Toolbar/index.d.ts +1 -1
- package/dist/components/Toolbar/styles.d.ts +6 -6
- package/dist/components/ui/avatar.d.ts +6 -6
- package/dist/components/ui/badge.d.ts +9 -8
- package/dist/components/ui/button.d.ts +11 -10
- package/dist/components/ui/calendar.d.ts +8 -7
- package/dist/components/ui/card.d.ts +8 -8
- package/dist/components/ui/checkbox.d.ts +4 -4
- package/dist/components/ui/dialog.d.ts +19 -19
- package/dist/components/ui/dropdown-menu.d.ts +27 -27
- package/dist/components/ui/input.d.ts +3 -3
- package/dist/components/ui/label.d.ts +4 -4
- package/dist/components/ui/popover.d.ts +7 -7
- package/dist/components/ui/select.d.ts +13 -13
- package/dist/components/ui/separator.d.ts +4 -4
- package/dist/components/ui/sheet.d.ts +24 -24
- package/dist/components/ui/skeleton.d.ts +3 -3
- package/dist/components/ui/tabs.d.ts +7 -7
- package/dist/components/ui/textarea.d.ts +3 -3
- package/dist/components/ui/tooltip.d.ts +7 -7
- package/dist/constants.d.ts +22 -21
- package/dist/context/CommentContext.d.ts +43 -42
- package/dist/context/HtmlViewContext.d.ts +17 -16
- package/dist/context/ToolbarContext.d.ts +56 -55
- package/dist/editorConfig.d.ts +48 -48
- package/dist/{estree-164983f6.js → estree-b1fff53b.js} +1778 -1763
- package/dist/estree-b1fff53b.js.map +1 -0
- package/dist/hooks/useAutoExpandingHeight.d.ts +15 -15
- package/dist/hooks/useBlockFormat.d.ts +17 -16
- package/dist/hooks/useColorPicker.d.ts +6 -6
- package/dist/hooks/useCustomCommands.d.ts +3 -2
- package/dist/hooks/useDebounce.d.ts +1 -1
- package/dist/hooks/useEditorToolbar.d.ts +10 -9
- package/dist/hooks/useInsertMenu.d.ts +9 -9
- package/dist/hooks/useModal.d.ts +5 -5
- package/dist/hooks/useS3Uploader.d.ts +11 -11
- package/dist/hooks/useVoiceToText.d.ts +15 -15
- package/dist/{html-5586dbf6.js → html-f95ee5dc.js} +656 -701
- package/dist/html-f95ee5dc.js.map +1 -0
- package/dist/{html2pdf.bundle-0b180070.js → html2pdf.bundle-026397bd.js} +2 -2
- package/dist/html2pdf.bundle-026397bd.js.map +1 -0
- package/dist/{html2pdf.bundle.min-08b31c1f.js → html2pdf.bundle.min-49ff1939.js} +2 -2
- package/dist/html2pdf.bundle.min-49ff1939.js.map +1 -0
- package/dist/{index-68135c09.js → index-b8db2529.js} +2 -2
- package/dist/index-b8db2529.js.map +1 -0
- package/dist/{index-6360d552.js → index-b9ad2974.js} +469 -825
- package/dist/index-b9ad2974.js.map +1 -0
- package/dist/{index-8bcb5b47.js → index-cea164e5.js} +4 -4
- package/dist/index-cea164e5.js.map +1 -0
- package/dist/index.d.ts +8 -8
- package/dist/index.js +1 -1
- package/dist/lib/utils.d.ts +2 -1
- package/dist/main.d.ts +1 -0
- package/dist/{markdown-d513479b.js → markdown-1d9e6c3f.js} +1789 -1836
- package/dist/markdown-1d9e6c3f.js.map +1 -0
- package/dist/nodes/ChartNode.d.ts +41 -40
- package/dist/nodes/CommentNode.d.ts +34 -33
- package/dist/nodes/CommentedTextNode.d.ts +29 -28
- package/dist/nodes/EmbedNode.d.ts +26 -25
- package/dist/nodes/FileNode.d.ts +32 -31
- package/dist/nodes/ImageNode.d.ts +59 -58
- package/dist/nodes/MentionNode.d.ts +75 -74
- package/dist/nodes/NotePanelNode.d.ts +31 -30
- package/dist/pages/ConfigurableEditor/ConfigurableEditor.d.ts +25 -24
- package/dist/pages/ConfigurableEditor/index.d.ts +2 -2
- package/dist/pages/NotFound.d.ts +2 -2
- package/dist/pages/RichTextEditor.d.ts +6 -6
- package/dist/pages/TextareaEditor.d.ts +6 -6
- package/dist/pages/styles.d.ts +5 -5
- package/dist/plugins/AIChatPlugin.d.ts +11 -10
- package/dist/plugins/AndroidKeyboardFixPlugin.d.ts +16 -16
- package/dist/plugins/AutocompletePlugin.d.ts +22 -22
- package/dist/plugins/CodeBlockNormalizerPlugin.d.ts +8 -8
- package/dist/plugins/CodeBlockSelectAllPlugin.d.ts +8 -8
- package/dist/plugins/CodeHighlightPlugin.d.ts +3 -2
- package/dist/plugins/CombinedAutocompletGrammarPlugin.d.ts +21 -20
- package/dist/plugins/CommentBubblePlugin.d.ts +3 -2
- package/dist/plugins/CommentPlugin.d.ts +7 -6
- package/dist/plugins/CustomHorizontalRulePlugin/CustomHorizontalRuleNode.d.ts +29 -28
- package/dist/plugins/CustomHorizontalRulePlugin/CustomHorizontalRulePlugin.d.ts +3 -3
- package/dist/plugins/CustomHorizontalRulePlugin/HorizontalRuleCustomizationDialog.d.ts +7 -6
- package/dist/plugins/CustomHorizontalRulePlugin/index.d.ts +3 -3
- package/dist/plugins/DragDropPastePlugin/index.d.ts +8 -8
- package/dist/plugins/EmbedPreviewPlugin/FloatingEmbedMenuPlugin.d.ts +4 -3
- package/dist/plugins/EmbedPreviewPlugin/index.d.ts +6 -5
- package/dist/plugins/FilePlugin.d.ts +8 -7
- package/dist/plugins/FloatingEnhanceButton/index.d.ts +4 -3
- package/dist/plugins/FloatingLinkEditorPlugin/index.d.ts +6 -5
- package/dist/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +26 -25
- package/dist/plugins/GrammarCheckPlugin.d.ts +2 -1
- package/dist/plugins/HtmlCodeViewPlugin/index.d.ts +2 -2
- package/dist/plugins/HtmlImportPlugin.d.ts +5 -5
- package/dist/plugins/HtmlSyncPlugin.d.ts +3 -3
- package/dist/plugins/ImagePlugin.d.ts +7 -6
- package/dist/plugins/LinkPlugin/index.d.ts +6 -5
- package/dist/plugins/LinkPreviewPlugin/index.d.ts +2 -2
- package/dist/plugins/LocalStoragePlugin.d.ts +7 -6
- package/dist/plugins/MentionsPlugin/index.d.ts +7 -6
- package/dist/plugins/NotePanelPlugin.d.ts +7 -6
- package/dist/plugins/RichTextPastePlugin/index.d.ts +15 -15
- package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasDialog.d.ts +6 -5
- package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasPlugin.d.ts +9 -9
- package/dist/plugins/SignatureCanvasPlugin/index.d.ts +2 -2
- package/dist/plugins/SlashCommandPlugin/index.d.ts +2 -2
- package/dist/plugins/TableActionMenuPlugin/index.d.ts +6 -5
- package/dist/plugins/TableCellResizer/index.d.ts +2 -1
- package/dist/plugins/TableHoverActionsPlugin/index.d.ts +4 -4
- package/dist/plugins/TablePlugin.d.ts +3 -2
- package/dist/plugins/Tableimageautoresizeplugin.d.ts +1 -1
- package/dist/plugins/TextEnhancePlugin.d.ts +6 -6
- package/dist/plugins/TreeViewPlugin.d.ts +3 -2
- package/dist/plugins/UsageTrackingPlugin.d.ts +15 -15
- package/dist/plugins/VoiceTranscriptPlugin.d.ts +21 -21
- package/dist/plugins/WordCountPlugin.d.ts +3 -2
- package/dist/{postcss-f084f74d.js → postcss-c2592f3f.js} +1357 -1378
- package/dist/postcss-c2592f3f.js.map +1 -0
- package/dist/standalone-bcc7f37a.js +2649 -0
- package/dist/standalone-bcc7f37a.js.map +1 -0
- package/dist/styles/PlaygroundEditorTheme.d.ts +3 -2
- package/dist/types.d.ts +148 -147
- package/dist/typescript-48c10f50.js +13601 -0
- package/dist/typescript-48c10f50.js.map +1 -0
- package/dist/ui/ColorPicker.d.ts +14 -13
- package/dist/ui/Icons.d.ts +47 -47
- package/dist/ui/TextInput.d.ts +11 -10
- package/dist/utils/dateFormats.d.ts +33 -33
- package/dist/utils/debounce.d.ts +6 -5
- package/dist/utils/editorStyleConverter.d.ts +17 -16
- package/dist/utils/export.d.ts +2 -1
- package/dist/utils/getDOMRangeRect.d.ts +13 -13
- package/dist/utils/getSelectedNode.d.ts +3 -2
- package/dist/utils/helper.d.ts +3 -3
- package/dist/utils/index.d.ts +4 -3
- package/dist/utils/invarient.d.ts +1 -1
- package/dist/utils/setFloatingElemPosition.d.ts +8 -8
- package/dist/utils/setFloatingElemPositionForLinkEditor.d.ts +1 -1
- package/dist/utils/url.d.ts +9 -9
- package/package.json +127 -127
- package/dist/babel-d3085146.js.map +0 -1
- package/dist/estree-164983f6.js.map +0 -1
- package/dist/html-5586dbf6.js.map +0 -1
- package/dist/html2pdf.bundle-0b180070.js.map +0 -1
- package/dist/html2pdf.bundle.min-08b31c1f.js.map +0 -1
- package/dist/index-6360d552.js.map +0 -1
- package/dist/index-68135c09.js.map +0 -1
- package/dist/index-8bcb5b47.js.map +0 -1
- package/dist/markdown-d513479b.js.map +0 -1
- package/dist/postcss-f084f74d.js.map +0 -1
- package/dist/standalone-5a8c6b7e.js +0 -2518
- package/dist/standalone-5a8c6b7e.js.map +0 -1
- package/dist/typescript-b1005db4.js +0 -13705
- package/dist/typescript-b1005db4.js.map +0 -1
|
@@ -4,58 +4,58 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var sn = Object.defineProperty;
|
|
8
|
+
var an = (t7) => {
|
|
9
9
|
throw TypeError(t7);
|
|
10
10
|
};
|
|
11
|
-
var
|
|
12
|
-
var
|
|
11
|
+
var li = (t7, e, r) => e in t7 ? sn(t7, e, { enumerable: true, configurable: true, writable: true, value: r }) : t7[e] = r;
|
|
12
|
+
var on = (t7, e) => {
|
|
13
13
|
for (var r in e)
|
|
14
|
-
|
|
14
|
+
sn(t7, r, { get: e[r], enumerable: true });
|
|
15
15
|
};
|
|
16
|
-
var lr = (t7, e, r) =>
|
|
17
|
-
var R = (t7, e, r) => (
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
var
|
|
16
|
+
var lr = (t7, e, r) => li(t7, typeof e != "symbol" ? e + "" : e, r), un = (t7, e, r) => e.has(t7) || an("Cannot " + r);
|
|
17
|
+
var R = (t7, e, r) => (un(t7, e, "read from private field"), r ? r.call(t7) : e.get(t7)), Et = (t7, e, r) => e.has(t7) ? an("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t7) : e.set(t7, r), ln = (t7, e, r, n) => (un(t7, e, "write to private field"), n ? n.call(t7, r) : e.set(t7, r), r);
|
|
18
|
+
var en = {};
|
|
19
|
+
on(en, { languages: () => xs, options: () => Bs, parsers: () => Zr, printers: () => Uo });
|
|
20
|
+
var ci = (t7, e, r, n) => {
|
|
21
21
|
if (!(t7 && e == null))
|
|
22
22
|
return e.replaceAll ? e.replaceAll(r, n) : r.global ? e.replace(r, n) : e.split(r).join(n);
|
|
23
|
-
}, w =
|
|
24
|
-
var
|
|
25
|
-
var
|
|
23
|
+
}, w = ci;
|
|
24
|
+
var ye = "string", Ge = "array", Ye = "cursor", we = "indent", be = "align", je = "trim", Te = "group", xe = "fill", ce = "if-break", ke = "indent-if-break", Ke = "line-suffix", Qe = "line-suffix-boundary", j = "line", Xe = "label", Be = "break-parent", At = /* @__PURE__ */ new Set([Ye, we, be, je, Te, xe, ce, ke, Ke, Qe, j, Xe, Be]);
|
|
25
|
+
var pi = (t7, e, r) => {
|
|
26
26
|
if (!(t7 && e == null))
|
|
27
27
|
return Array.isArray(e) || typeof e == "string" ? e[r < 0 ? e.length + r : r] : e.at(r);
|
|
28
|
-
}, K =
|
|
29
|
-
function
|
|
28
|
+
}, K = pi;
|
|
29
|
+
function hi(t7) {
|
|
30
30
|
if (typeof t7 == "string")
|
|
31
|
-
return
|
|
31
|
+
return ye;
|
|
32
32
|
if (Array.isArray(t7))
|
|
33
|
-
return
|
|
33
|
+
return Ge;
|
|
34
34
|
if (!t7)
|
|
35
35
|
return;
|
|
36
36
|
let { type: e } = t7;
|
|
37
|
-
if (
|
|
37
|
+
if (At.has(e))
|
|
38
38
|
return e;
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
function
|
|
40
|
+
var Le = hi;
|
|
41
|
+
var fi = (t7) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(t7);
|
|
42
|
+
function mi(t7) {
|
|
43
43
|
let e = t7 === null ? "null" : typeof t7;
|
|
44
44
|
if (e !== "string" && e !== "object")
|
|
45
45
|
return `Unexpected doc '${e}',
|
|
46
46
|
Expected it to be 'string' or 'object'.`;
|
|
47
|
-
if (
|
|
47
|
+
if (Le(t7))
|
|
48
48
|
throw new Error("doc is valid.");
|
|
49
49
|
let r = Object.prototype.toString.call(t7);
|
|
50
50
|
if (r !== "[object Object]")
|
|
51
51
|
return `Unexpected doc '${r}'.`;
|
|
52
|
-
let n =
|
|
52
|
+
let n = fi([...At].map((s) => `'${s}'`));
|
|
53
53
|
return `Unexpected doc.type '${t7.type}'.
|
|
54
54
|
Expected it to be ${n}.`;
|
|
55
55
|
}
|
|
56
56
|
var cr = class extends Error {
|
|
57
57
|
constructor(e) {
|
|
58
|
-
super(
|
|
58
|
+
super(mi(e));
|
|
59
59
|
__publicField(this, "name", "InvalidDocError");
|
|
60
60
|
this.doc = e;
|
|
61
61
|
}
|
|
@@ -72,81 +72,81 @@ function hr(t7, e) {
|
|
|
72
72
|
return r.set(i, a), a;
|
|
73
73
|
}
|
|
74
74
|
function s(i) {
|
|
75
|
-
switch (
|
|
76
|
-
case
|
|
75
|
+
switch (Le(i)) {
|
|
76
|
+
case Ge:
|
|
77
77
|
return e(i.map(n));
|
|
78
|
-
case
|
|
78
|
+
case xe:
|
|
79
79
|
return e({ ...i, parts: i.parts.map(n) });
|
|
80
80
|
case ce:
|
|
81
81
|
return e({ ...i, breakContents: n(i.breakContents), flatContents: n(i.flatContents) });
|
|
82
|
-
case
|
|
82
|
+
case Te: {
|
|
83
83
|
let { expandedStates: a, contents: o } = i;
|
|
84
84
|
return a ? (a = a.map(n), o = a[0]) : o = n(o), e({ ...i, contents: o, expandedStates: a });
|
|
85
85
|
}
|
|
86
|
-
case Te:
|
|
87
86
|
case be:
|
|
88
|
-
case
|
|
89
|
-
case
|
|
87
|
+
case we:
|
|
88
|
+
case ke:
|
|
89
|
+
case Xe:
|
|
90
90
|
case Ke:
|
|
91
91
|
return e({ ...i, contents: n(i.contents) });
|
|
92
|
-
case
|
|
92
|
+
case ye:
|
|
93
93
|
case Ye:
|
|
94
94
|
case je:
|
|
95
|
-
case
|
|
95
|
+
case Qe:
|
|
96
96
|
case j:
|
|
97
|
-
case
|
|
97
|
+
case Be:
|
|
98
98
|
return e(i);
|
|
99
99
|
default:
|
|
100
100
|
throw new pr(i);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function B(t7, e =
|
|
104
|
+
function B(t7, e = cn) {
|
|
105
105
|
return hr(t7, (r) => typeof r == "string" ? H(e, r.split(`
|
|
106
106
|
`)) : r);
|
|
107
107
|
}
|
|
108
|
-
var
|
|
109
|
-
},
|
|
108
|
+
var fr = () => {
|
|
109
|
+
}, mr = fr;
|
|
110
110
|
function k(t7) {
|
|
111
|
-
return { type:
|
|
111
|
+
return { type: we, contents: t7 };
|
|
112
112
|
}
|
|
113
|
-
function
|
|
114
|
-
return { type:
|
|
113
|
+
function hn(t7, e) {
|
|
114
|
+
return { type: be, contents: e, n: t7 };
|
|
115
115
|
}
|
|
116
116
|
function E(t7, e = {}) {
|
|
117
|
-
return
|
|
117
|
+
return mr(e.expandedStates), { type: Te, id: e.id, contents: t7, break: !!e.shouldBreak, expandedStates: e.expandedStates };
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
return
|
|
119
|
+
function fn(t7) {
|
|
120
|
+
return hn(Number.NEGATIVE_INFINITY, t7);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
return
|
|
122
|
+
function mn(t7) {
|
|
123
|
+
return hn({ type: "root" }, t7);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
return { type:
|
|
125
|
+
function Dt(t7) {
|
|
126
|
+
return { type: xe, parts: t7 };
|
|
127
127
|
}
|
|
128
128
|
function pe(t7, e = "", r = {}) {
|
|
129
129
|
return { type: ce, breakContents: t7, flatContents: e, groupId: r.groupId };
|
|
130
130
|
}
|
|
131
|
-
function
|
|
132
|
-
return { type:
|
|
131
|
+
function dn(t7, e) {
|
|
132
|
+
return { type: ke, contents: t7, groupId: e.groupId, negate: e.negate };
|
|
133
133
|
}
|
|
134
|
-
var
|
|
135
|
-
var
|
|
134
|
+
var se = { type: Be };
|
|
135
|
+
var gi = { type: j, hard: true }, Ci = { type: j, hard: true, literal: true }, _ = { type: j }, v = { type: j, soft: true }, S = [gi, se], cn = [Ci, se];
|
|
136
136
|
function H(t7, e) {
|
|
137
137
|
let r = [];
|
|
138
138
|
for (let n = 0; n < e.length; n++)
|
|
139
139
|
n !== 0 && r.push(t7), r.push(e[n]);
|
|
140
140
|
return r;
|
|
141
141
|
}
|
|
142
|
-
var
|
|
143
|
-
function
|
|
144
|
-
let r = e === true || e ===
|
|
142
|
+
var vt = "'", gn = '"';
|
|
143
|
+
function Si(t7, e) {
|
|
144
|
+
let r = e === true || e === vt ? vt : gn, n = r === vt ? gn : vt, s = 0, i = 0;
|
|
145
145
|
for (let a of t7)
|
|
146
146
|
a === r ? s++ : a === n && i++;
|
|
147
147
|
return s > i ? n : r;
|
|
148
148
|
}
|
|
149
|
-
var
|
|
149
|
+
var Cn = Si;
|
|
150
150
|
function dr(t7) {
|
|
151
151
|
if (typeof t7 != "string")
|
|
152
152
|
throw new TypeError("Expected a string");
|
|
@@ -154,8 +154,8 @@ function dr(t7) {
|
|
|
154
154
|
}
|
|
155
155
|
var V, gr = class {
|
|
156
156
|
constructor(e) {
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
Et(this, V);
|
|
158
|
+
ln(this, V, new Set(e));
|
|
159
159
|
}
|
|
160
160
|
getLeadingWhitespaceCount(e) {
|
|
161
161
|
let r = R(this, V), n = 0;
|
|
@@ -212,43 +212,43 @@ var V, gr = class {
|
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
V = /* @__PURE__ */ new WeakMap();
|
|
215
|
-
var
|
|
216
|
-
var
|
|
217
|
-
`, "\f", "\r", " "],
|
|
215
|
+
var Sn = gr;
|
|
216
|
+
var _i = [" ", `
|
|
217
|
+
`, "\f", "\r", " "], Ei = new Sn(_i), O = Ei;
|
|
218
218
|
var Cr = class extends Error {
|
|
219
219
|
constructor(e, r, n = "type") {
|
|
220
220
|
super(`Unexpected ${r} node ${n}: ${JSON.stringify(e[n])}.`);
|
|
221
221
|
__publicField(this, "name", "UnexpectedNodeError");
|
|
222
222
|
this.node = e;
|
|
223
223
|
}
|
|
224
|
-
},
|
|
225
|
-
function
|
|
224
|
+
}, _n = Cr;
|
|
225
|
+
function Ai(t7) {
|
|
226
226
|
return (t7 == null ? void 0 : t7.type) === "front-matter";
|
|
227
227
|
}
|
|
228
|
-
var
|
|
229
|
-
var
|
|
230
|
-
function
|
|
228
|
+
var Fe = Ai;
|
|
229
|
+
var Di = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), vi = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
|
|
230
|
+
function En(t7, e) {
|
|
231
231
|
var r;
|
|
232
|
-
if (t7.type === "text" || t7.type === "comment" ||
|
|
232
|
+
if (t7.type === "text" || t7.type === "comment" || Fe(t7) || t7.type === "yaml" || t7.type === "toml")
|
|
233
233
|
return null;
|
|
234
234
|
if (t7.type === "attribute" && delete e.value, t7.type === "docType" && delete e.value, t7.type === "angularControlFlowBlock" && ((r = t7.parameters) != null && r.children))
|
|
235
235
|
for (let n of e.parameters.children)
|
|
236
|
-
|
|
236
|
+
vi.has(t7.name) ? delete n.expression : n.expression = n.expression.trim();
|
|
237
237
|
t7.type === "angularIcuExpression" && (e.switchValue = t7.switchValue.trim()), t7.type === "angularLetDeclarationInitializer" && delete e.value;
|
|
238
238
|
}
|
|
239
|
-
|
|
240
|
-
var
|
|
241
|
-
async function
|
|
239
|
+
En.ignoredProperties = Di;
|
|
240
|
+
var An = En;
|
|
241
|
+
async function yi(t7, e) {
|
|
242
242
|
if (t7.language === "yaml") {
|
|
243
243
|
let r = t7.value.trim(), n = r ? await e(r, { parser: "yaml" }) : "";
|
|
244
|
-
return
|
|
244
|
+
return mn([t7.startDelimiter, t7.explicitLanguage, S, n, n ? S : "", t7.endDelimiter]);
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
var
|
|
247
|
+
var Dn = yi;
|
|
248
248
|
function he(t7, e = true) {
|
|
249
249
|
return [k([v, t7]), e ? v : ""];
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function Q(t7, e) {
|
|
252
252
|
let r = t7.type === "NGRoot" ? t7.node.type === "NGMicrosyntax" && t7.node.body.length === 1 && t7.node.body[0].type === "NGMicrosyntaxExpression" ? t7.node.body[0].expression : t7.node : t7.type === "JsExpressionRoot" ? t7.node : t7;
|
|
253
253
|
return r && (r.type === "ObjectExpression" || r.type === "ArrayExpression" || (e.parser === "__vue_expression" || e.parser === "__vue_ts_expression") && (r.type === "TemplateLiteral" || r.type === "StringLiteral"));
|
|
254
254
|
}
|
|
@@ -261,141 +261,103 @@ async function T(t7, e, r, n) {
|
|
|
261
261
|
let i = await e(t7, r, e);
|
|
262
262
|
return s ? E(i) : he(i);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function wi(t7, e, r, n) {
|
|
265
265
|
let { node: s } = r, i = n.originalText.slice(s.sourceSpan.start.offset, s.sourceSpan.end.offset);
|
|
266
|
-
return /^\s*$/u.test(i) ? "" : T(i, t7, { parser: "__ng_directive", __isInHtmlAttribute: false },
|
|
267
|
-
}
|
|
268
|
-
var wn = $i;
|
|
269
|
-
var Oi = (t7, e) => {
|
|
270
|
-
if (!(t7 && e == null))
|
|
271
|
-
return e.toReversed || !Array.isArray(e) ? e.toReversed() : [...e].reverse();
|
|
272
|
-
}, bn = Oi;
|
|
273
|
-
function Mi(t7) {
|
|
274
|
-
return Array.isArray(t7) && t7.length > 0;
|
|
266
|
+
return /^\s*$/u.test(i) ? "" : T(i, t7, { parser: "__ng_directive", __isInHtmlAttribute: false }, Q);
|
|
275
267
|
}
|
|
276
|
-
var
|
|
277
|
-
var
|
|
278
|
-
function
|
|
279
|
-
if (t7 = t7 instanceof URL ? t7 : new URL(t7), t7.protocol !== "file:")
|
|
280
|
-
throw new TypeError(`URL must be a file URL: received "${t7.protocol}"`);
|
|
281
|
-
return t7;
|
|
282
|
-
}
|
|
283
|
-
function Hi(t7) {
|
|
284
|
-
return t7 = Fn(t7), decodeURIComponent(t7.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
|
|
285
|
-
}
|
|
286
|
-
function Vi(t7) {
|
|
287
|
-
t7 = Fn(t7);
|
|
288
|
-
let e = decodeURIComponent(t7.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
|
|
289
|
-
return t7.hostname !== "" && (e = `\\\\${t7.hostname}${e}`), e;
|
|
290
|
-
}
|
|
291
|
-
function Pn(t7) {
|
|
292
|
-
return qi ? Vi(t7) : Hi(t7);
|
|
293
|
-
}
|
|
294
|
-
var Nn = Pn;
|
|
295
|
-
var Ui = (t7) => String(t7).split(/[/\\]/u).pop();
|
|
296
|
-
function In(t7, e) {
|
|
268
|
+
var vn = wi;
|
|
269
|
+
var bi = (t7) => String(t7).split(/[/\\]/u).pop();
|
|
270
|
+
function yn(t7, e) {
|
|
297
271
|
if (!e)
|
|
298
272
|
return;
|
|
299
|
-
let r =
|
|
273
|
+
let r = bi(e).toLowerCase();
|
|
300
274
|
return t7.find(({ filenames: n }) => n == null ? void 0 : n.some((s) => s.toLowerCase() === r)) ?? t7.find(({ extensions: n }) => n == null ? void 0 : n.some((s) => r.endsWith(s)));
|
|
301
275
|
}
|
|
302
|
-
function
|
|
276
|
+
function Ti(t7, e) {
|
|
303
277
|
if (e)
|
|
304
278
|
return t7.find(({ name: r }) => r.toLowerCase() === e) ?? t7.find(({ aliases: r }) => r == null ? void 0 : r.includes(e)) ?? t7.find(({ extensions: r }) => r == null ? void 0 : r.includes(`.${e}`));
|
|
305
279
|
}
|
|
306
|
-
function
|
|
307
|
-
|
|
308
|
-
if (String(e).startsWith("file:"))
|
|
309
|
-
try {
|
|
310
|
-
e = Nn(e);
|
|
311
|
-
} catch {
|
|
312
|
-
return;
|
|
313
|
-
}
|
|
314
|
-
if (typeof e == "string")
|
|
315
|
-
return t7.find(({ isSupported: r }) => r == null ? void 0 : r({ filepath: e }));
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
function Gi(t7, e) {
|
|
319
|
-
let r = bn(false, t7.plugins).flatMap((s) => s.languages ?? []), n = Wi(r, e.language) ?? In(r, e.physicalFile) ?? In(r, e.file) ?? Rn(r, e.physicalFile) ?? Rn(r, e.file) ?? (e.physicalFile, void 0);
|
|
280
|
+
function xi(t7, e) {
|
|
281
|
+
let r = t7.plugins.flatMap((s) => s.languages ?? []), n = Ti(r, e.language) ?? yn(r, e.physicalFile) ?? yn(r, e.file) ?? (e.physicalFile, void 0);
|
|
320
282
|
return n == null ? void 0 : n.parsers[0];
|
|
321
283
|
}
|
|
322
|
-
var Ne =
|
|
323
|
-
var
|
|
324
|
-
function
|
|
284
|
+
var Ne = xi;
|
|
285
|
+
var wn = "inline", bn = { area: "none", base: "none", basefont: "none", datalist: "none", head: "none", link: "none", meta: "none", noembed: "none", noframes: "none", param: "block", rp: "none", script: "block", style: "none", template: "inline", title: "none", html: "block", body: "block", address: "block", blockquote: "block", center: "block", dialog: "block", div: "block", figure: "block", figcaption: "block", footer: "block", form: "block", header: "block", hr: "block", legend: "block", listing: "block", main: "block", p: "block", plaintext: "block", pre: "block", search: "block", xmp: "block", slot: "contents", ruby: "ruby", rt: "ruby-text", article: "block", aside: "block", h1: "block", h2: "block", h3: "block", h4: "block", h5: "block", h6: "block", hgroup: "block", nav: "block", section: "block", dir: "block", dd: "block", dl: "block", dt: "block", menu: "block", ol: "block", ul: "block", li: "list-item", table: "table", caption: "table-caption", colgroup: "table-column-group", col: "table-column", thead: "table-header-group", tbody: "table-row-group", tfoot: "table-footer-group", tr: "table-row", td: "table-cell", th: "table-cell", input: "inline-block", button: "inline-block", fieldset: "block", details: "block", summary: "block", marquee: "inline-block", source: "block", track: "block", meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-block", audio: "inline-block", select: "inline-block", option: "block", optgroup: "block" }, Tn = "normal", xn = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
|
|
286
|
+
function ki(t7) {
|
|
325
287
|
return t7.type === "element" && !t7.hasExplicitNamespace && !["html", "svg"].includes(t7.namespace);
|
|
326
288
|
}
|
|
327
|
-
var fe =
|
|
328
|
-
var
|
|
289
|
+
var fe = ki;
|
|
290
|
+
var Bi = (t7) => w(false, t7, /^[\t\f\r ]*\n/gu, ""), Sr = (t7) => Bi(O.trimEnd(t7)), kn = (t7) => {
|
|
329
291
|
let e = t7, r = O.getLeadingWhitespace(e);
|
|
330
292
|
r && (e = e.slice(r.length));
|
|
331
293
|
let n = O.getTrailingWhitespace(e);
|
|
332
294
|
return n && (e = e.slice(0, -n.length)), { leadingWhitespace: r, trailingWhitespace: n, text: e };
|
|
333
295
|
};
|
|
334
|
-
function
|
|
335
|
-
return !!(t7.type === "ieConditionalComment" && t7.lastChild && !t7.lastChild.isSelfClosing && !t7.lastChild.endSourceSpan || t7.type === "ieConditionalComment" && !t7.complete ||
|
|
296
|
+
function yt(t7, e) {
|
|
297
|
+
return !!(t7.type === "ieConditionalComment" && t7.lastChild && !t7.lastChild.isSelfClosing && !t7.lastChild.endSourceSpan || t7.type === "ieConditionalComment" && !t7.complete || me(t7) && t7.children.some((r) => r.type !== "text" && r.type !== "interpolation") || Tt(t7, e) && !W(t7) && t7.type !== "interpolation");
|
|
336
298
|
}
|
|
337
|
-
function
|
|
338
|
-
return t7.type === "attribute" || !t7.parent || !t7.prev ? false :
|
|
299
|
+
function de(t7) {
|
|
300
|
+
return t7.type === "attribute" || !t7.parent || !t7.prev ? false : Li(t7.prev);
|
|
339
301
|
}
|
|
340
|
-
function
|
|
302
|
+
function Li(t7) {
|
|
341
303
|
return t7.type === "comment" && t7.value.trim() === "prettier-ignore";
|
|
342
304
|
}
|
|
343
305
|
function $(t7) {
|
|
344
306
|
return t7.type === "text" || t7.type === "comment";
|
|
345
307
|
}
|
|
346
|
-
function W(t7
|
|
347
|
-
return t7.type === "element" && (t7.fullName === "script" || t7.fullName === "style" || t7.fullName === "svg:style" || t7.fullName === "svg:script" ||
|
|
308
|
+
function W(t7) {
|
|
309
|
+
return t7.type === "element" && (t7.fullName === "script" || t7.fullName === "style" || t7.fullName === "svg:style" || t7.fullName === "svg:script" || fe(t7) && (t7.name === "script" || t7.name === "style"));
|
|
348
310
|
}
|
|
349
|
-
function
|
|
350
|
-
return t7.children && !W(t7
|
|
311
|
+
function Bn(t7) {
|
|
312
|
+
return t7.children && !W(t7);
|
|
351
313
|
}
|
|
352
|
-
function
|
|
353
|
-
return W(t7
|
|
314
|
+
function Ln(t7) {
|
|
315
|
+
return W(t7) || t7.type === "interpolation" || _r(t7);
|
|
354
316
|
}
|
|
355
|
-
function
|
|
356
|
-
return
|
|
317
|
+
function _r(t7) {
|
|
318
|
+
return Vn(t7).startsWith("pre");
|
|
357
319
|
}
|
|
358
|
-
function
|
|
320
|
+
function Fn(t7, e) {
|
|
359
321
|
var s, i;
|
|
360
322
|
let r = n();
|
|
361
323
|
if (r && !t7.prev && ((i = (s = t7.parent) == null ? void 0 : s.tagDefinition) != null && i.ignoreFirstLf))
|
|
362
324
|
return t7.type === "interpolation";
|
|
363
325
|
return r;
|
|
364
326
|
function n() {
|
|
365
|
-
return
|
|
327
|
+
return Fe(t7) || t7.type === "angularControlFlowBlock" ? false : (t7.type === "text" || t7.type === "interpolation") && t7.prev && (t7.prev.type === "text" || t7.prev.type === "interpolation") ? true : !t7.parent || t7.parent.cssDisplay === "none" ? false : me(t7.parent) ? true : !(!t7.prev && (t7.parent.type === "root" || me(t7) && t7.parent || W(t7.parent) || et(t7.parent, e) || !$i(t7.parent.cssDisplay)) || t7.prev && !qi(t7.prev.cssDisplay));
|
|
366
328
|
}
|
|
367
329
|
}
|
|
368
|
-
function
|
|
369
|
-
return
|
|
330
|
+
function Nn(t7, e) {
|
|
331
|
+
return Fe(t7) || t7.type === "angularControlFlowBlock" ? false : (t7.type === "text" || t7.type === "interpolation") && t7.next && (t7.next.type === "text" || t7.next.type === "interpolation") ? true : !t7.parent || t7.parent.cssDisplay === "none" ? false : me(t7.parent) ? true : !(!t7.next && (t7.parent.type === "root" || me(t7) && t7.parent || W(t7.parent) || et(t7.parent, e) || !Oi(t7.parent.cssDisplay)) || t7.next && !Mi(t7.next.cssDisplay));
|
|
370
332
|
}
|
|
371
|
-
function
|
|
372
|
-
return
|
|
333
|
+
function Pn(t7) {
|
|
334
|
+
return Hi(t7.cssDisplay) && !W(t7);
|
|
373
335
|
}
|
|
374
336
|
function Je(t7) {
|
|
375
|
-
return
|
|
337
|
+
return Fe(t7) || t7.next && t7.sourceSpan.end && t7.sourceSpan.end.line + 1 < t7.next.sourceSpan.start.line;
|
|
376
338
|
}
|
|
377
|
-
function
|
|
378
|
-
return
|
|
339
|
+
function In(t7) {
|
|
340
|
+
return Er(t7) || t7.type === "element" && t7.children.length > 0 && (["body", "script", "style"].includes(t7.name) || t7.children.some((e) => Ni(e))) || t7.firstChild && t7.firstChild === t7.lastChild && t7.firstChild.type !== "text" && $n(t7.firstChild) && (!t7.lastChild.isTrailingSpaceSensitive || On(t7.lastChild));
|
|
379
341
|
}
|
|
380
|
-
function
|
|
342
|
+
function Er(t7) {
|
|
381
343
|
return t7.type === "element" && t7.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(t7.name) || t7.cssDisplay.startsWith("table") && t7.cssDisplay !== "table-cell");
|
|
382
344
|
}
|
|
383
|
-
function
|
|
384
|
-
return
|
|
345
|
+
function wt(t7) {
|
|
346
|
+
return Mn(t7) || t7.prev && Fi(t7.prev) || Rn(t7);
|
|
385
347
|
}
|
|
386
|
-
function
|
|
387
|
-
return
|
|
348
|
+
function Fi(t7) {
|
|
349
|
+
return Mn(t7) || t7.type === "element" && t7.fullName === "br" || Rn(t7);
|
|
388
350
|
}
|
|
389
|
-
function
|
|
390
|
-
return
|
|
351
|
+
function Rn(t7) {
|
|
352
|
+
return $n(t7) && On(t7);
|
|
391
353
|
}
|
|
392
|
-
function
|
|
354
|
+
function $n(t7) {
|
|
393
355
|
return t7.hasLeadingSpaces && (t7.prev ? t7.prev.sourceSpan.end.line < t7.sourceSpan.start.line : t7.parent.type === "root" || t7.parent.startSourceSpan.end.line < t7.sourceSpan.start.line);
|
|
394
356
|
}
|
|
395
|
-
function
|
|
357
|
+
function On(t7) {
|
|
396
358
|
return t7.hasTrailingSpaces && (t7.next ? t7.next.sourceSpan.start.line > t7.sourceSpan.end.line : t7.parent.type === "root" || t7.parent.endSourceSpan && t7.parent.endSourceSpan.start.line > t7.sourceSpan.end.line);
|
|
397
359
|
}
|
|
398
|
-
function
|
|
360
|
+
function Mn(t7) {
|
|
399
361
|
switch (t7.type) {
|
|
400
362
|
case "ieConditionalComment":
|
|
401
363
|
case "comment":
|
|
@@ -406,20 +368,19 @@ function Kn(t7) {
|
|
|
406
368
|
}
|
|
407
369
|
return false;
|
|
408
370
|
}
|
|
409
|
-
function
|
|
410
|
-
return t7.lastChild ?
|
|
371
|
+
function bt(t7) {
|
|
372
|
+
return t7.lastChild ? bt(t7.lastChild) : t7;
|
|
411
373
|
}
|
|
412
|
-
function
|
|
374
|
+
function Ni(t7) {
|
|
413
375
|
var e;
|
|
414
376
|
return (e = t7.children) == null ? void 0 : e.some((r) => r.type !== "text");
|
|
415
377
|
}
|
|
416
|
-
function
|
|
378
|
+
function qn(t7) {
|
|
417
379
|
if (t7)
|
|
418
380
|
switch (t7) {
|
|
419
381
|
case "module":
|
|
420
382
|
case "text/javascript":
|
|
421
383
|
case "text/babel":
|
|
422
|
-
case "text/jsx":
|
|
423
384
|
case "application/javascript":
|
|
424
385
|
return "babel";
|
|
425
386
|
case "application/x-typescript":
|
|
@@ -435,55 +396,53 @@ function Xn(t7) {
|
|
|
435
396
|
return "json";
|
|
436
397
|
}
|
|
437
398
|
}
|
|
438
|
-
function
|
|
399
|
+
function Pi(t7, e) {
|
|
439
400
|
let { name: r, attrMap: n } = t7;
|
|
440
401
|
if (r !== "script" || Object.prototype.hasOwnProperty.call(n, "src"))
|
|
441
402
|
return;
|
|
442
403
|
let { type: s, lang: i } = t7.attrMap;
|
|
443
|
-
return !i && !s ? "babel" : Ne(e, { language: i }) ??
|
|
404
|
+
return !i && !s ? "babel" : Ne(e, { language: i }) ?? qn(s);
|
|
444
405
|
}
|
|
445
|
-
function
|
|
446
|
-
if (!
|
|
406
|
+
function Ii(t7, e) {
|
|
407
|
+
if (!Tt(t7, e))
|
|
447
408
|
return;
|
|
448
409
|
let { attrMap: r } = t7;
|
|
449
410
|
if (Object.prototype.hasOwnProperty.call(r, "src"))
|
|
450
411
|
return;
|
|
451
412
|
let { type: n, lang: s } = r;
|
|
452
|
-
return Ne(e, { language: s }) ??
|
|
413
|
+
return Ne(e, { language: s }) ?? qn(n);
|
|
453
414
|
}
|
|
454
|
-
function
|
|
455
|
-
if (t7.name
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
}
|
|
459
|
-
if (t7.name === "mj-style" && e.parser === "mjml")
|
|
460
|
-
return "css";
|
|
415
|
+
function Ri(t7, e) {
|
|
416
|
+
if (t7.name !== "style")
|
|
417
|
+
return;
|
|
418
|
+
let { lang: r } = t7.attrMap;
|
|
419
|
+
return r ? Ne(e, { language: r }) : "css";
|
|
461
420
|
}
|
|
462
|
-
function
|
|
463
|
-
return
|
|
421
|
+
function Ar(t7, e) {
|
|
422
|
+
return Pi(t7, e) ?? Ri(t7, e) ?? Ii(t7, e);
|
|
464
423
|
}
|
|
465
424
|
function Ze(t7) {
|
|
466
425
|
return t7 === "block" || t7 === "list-item" || t7.startsWith("table");
|
|
467
426
|
}
|
|
468
|
-
function
|
|
427
|
+
function $i(t7) {
|
|
469
428
|
return !Ze(t7) && t7 !== "inline-block";
|
|
470
429
|
}
|
|
471
|
-
function
|
|
430
|
+
function Oi(t7) {
|
|
472
431
|
return !Ze(t7) && t7 !== "inline-block";
|
|
473
432
|
}
|
|
474
|
-
function
|
|
433
|
+
function Mi(t7) {
|
|
475
434
|
return !Ze(t7);
|
|
476
435
|
}
|
|
477
|
-
function
|
|
436
|
+
function qi(t7) {
|
|
478
437
|
return !Ze(t7);
|
|
479
438
|
}
|
|
480
|
-
function
|
|
439
|
+
function Hi(t7) {
|
|
481
440
|
return !Ze(t7) && t7 !== "inline-block";
|
|
482
441
|
}
|
|
483
|
-
function
|
|
484
|
-
return
|
|
442
|
+
function me(t7) {
|
|
443
|
+
return Vn(t7).startsWith("pre");
|
|
485
444
|
}
|
|
486
|
-
function
|
|
445
|
+
function Vi(t7, e) {
|
|
487
446
|
let r = t7;
|
|
488
447
|
for (; r; ) {
|
|
489
448
|
if (e(r))
|
|
@@ -492,9 +451,9 @@ function ia(t7, e) {
|
|
|
492
451
|
}
|
|
493
452
|
return false;
|
|
494
453
|
}
|
|
495
|
-
function
|
|
454
|
+
function Hn(t7, e) {
|
|
496
455
|
var n;
|
|
497
|
-
if (
|
|
456
|
+
if (ge(t7, e))
|
|
498
457
|
return "block";
|
|
499
458
|
if (((n = t7.prev) == null ? void 0 : n.type) === "comment") {
|
|
500
459
|
let s = t7.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);
|
|
@@ -503,7 +462,7 @@ function Qn(t7, e) {
|
|
|
503
462
|
}
|
|
504
463
|
let r = false;
|
|
505
464
|
if (t7.type === "element" && t7.namespace === "svg")
|
|
506
|
-
if (
|
|
465
|
+
if (Vi(t7, (s) => s.fullName === "svg:foreignObject"))
|
|
507
466
|
r = true;
|
|
508
467
|
else
|
|
509
468
|
return t7.name === "svg" ? "inline-block" : "block";
|
|
@@ -513,15 +472,13 @@ function Qn(t7, e) {
|
|
|
513
472
|
case "ignore":
|
|
514
473
|
return "block";
|
|
515
474
|
default:
|
|
516
|
-
|
|
517
|
-
return Sr[t7.name];
|
|
475
|
+
return t7.type === "element" && (!t7.namespace || r || fe(t7)) && bn[t7.name] || wn;
|
|
518
476
|
}
|
|
519
|
-
return $n;
|
|
520
477
|
}
|
|
521
|
-
function
|
|
522
|
-
return t7.type === "element" && (!t7.namespace || fe(t7)) &&
|
|
478
|
+
function Vn(t7) {
|
|
479
|
+
return t7.type === "element" && (!t7.namespace || fe(t7)) && xn[t7.name] || Tn;
|
|
523
480
|
}
|
|
524
|
-
function
|
|
481
|
+
function Ui(t7) {
|
|
525
482
|
let e = Number.POSITIVE_INFINITY;
|
|
526
483
|
for (let r of t7.split(`
|
|
527
484
|
`)) {
|
|
@@ -534,48 +491,48 @@ function aa(t7) {
|
|
|
534
491
|
}
|
|
535
492
|
return e === Number.POSITIVE_INFINITY ? 0 : e;
|
|
536
493
|
}
|
|
537
|
-
function
|
|
494
|
+
function Dr(t7, e = Ui(t7)) {
|
|
538
495
|
return e === 0 ? t7 : t7.split(`
|
|
539
496
|
`).map((r) => r.slice(e)).join(`
|
|
540
497
|
`);
|
|
541
498
|
}
|
|
542
|
-
function
|
|
499
|
+
function vr(t7) {
|
|
543
500
|
return w(false, w(false, t7, "'", "'"), """, '"');
|
|
544
501
|
}
|
|
545
|
-
function
|
|
546
|
-
return
|
|
502
|
+
function N(t7) {
|
|
503
|
+
return vr(t7.value);
|
|
547
504
|
}
|
|
548
|
-
var
|
|
505
|
+
var Wi = /* @__PURE__ */ new Set(["template", "style", "script"]);
|
|
549
506
|
function et(t7, e) {
|
|
550
|
-
return
|
|
507
|
+
return ge(t7, e) && !Wi.has(t7.fullName);
|
|
551
508
|
}
|
|
552
|
-
function
|
|
509
|
+
function ge(t7, e) {
|
|
553
510
|
return e.parser === "vue" && t7.type === "element" && t7.parent.type === "root" && t7.fullName.toLowerCase() !== "html";
|
|
554
511
|
}
|
|
555
|
-
function
|
|
556
|
-
return
|
|
512
|
+
function Tt(t7, e) {
|
|
513
|
+
return ge(t7, e) && (et(t7, e) || t7.attrMap.lang && t7.attrMap.lang !== "html");
|
|
557
514
|
}
|
|
558
|
-
function
|
|
515
|
+
function Un(t7) {
|
|
559
516
|
let e = t7.fullName;
|
|
560
517
|
return e.charAt(0) === "#" || e === "slot-scope" || e === "v-slot" || e.startsWith("v-slot:");
|
|
561
518
|
}
|
|
562
|
-
function
|
|
519
|
+
function Wn(t7, e) {
|
|
563
520
|
let r = t7.parent;
|
|
564
|
-
if (!
|
|
521
|
+
if (!ge(r, e))
|
|
565
522
|
return false;
|
|
566
523
|
let n = r.fullName, s = t7.fullName;
|
|
567
524
|
return n === "script" && s === "setup" || n === "style" && s === "vars";
|
|
568
525
|
}
|
|
569
|
-
function
|
|
570
|
-
return t7.parent.isWhitespaceSensitive ? t7.parent.isIndentationSensitive ? B(e) : B(
|
|
526
|
+
function xt(t7, e = t7.value) {
|
|
527
|
+
return t7.parent.isWhitespaceSensitive ? t7.parent.isIndentationSensitive ? B(e) : B(Dr(Sr(e)), S) : H(_, O.split(e));
|
|
571
528
|
}
|
|
572
|
-
function
|
|
573
|
-
return
|
|
529
|
+
function kt(t7, e) {
|
|
530
|
+
return ge(t7, e) && t7.name === "script";
|
|
574
531
|
}
|
|
575
|
-
var
|
|
576
|
-
async function
|
|
532
|
+
var yr = /\{\{(.+?)\}\}/su;
|
|
533
|
+
async function zn(t7, e) {
|
|
577
534
|
let r = [];
|
|
578
|
-
for (let [n, s] of t7.split(
|
|
535
|
+
for (let [n, s] of t7.split(yr).entries())
|
|
579
536
|
if (n % 2 === 0)
|
|
580
537
|
r.push(B(s));
|
|
581
538
|
else
|
|
@@ -586,39 +543,39 @@ async function ts(t7, e) {
|
|
|
586
543
|
}
|
|
587
544
|
return r;
|
|
588
545
|
}
|
|
589
|
-
function
|
|
590
|
-
return (e, r, n) => T(
|
|
546
|
+
function wr({ parser: t7 }) {
|
|
547
|
+
return (e, r, n) => T(N(n.node), e, { parser: t7 }, Q);
|
|
591
548
|
}
|
|
592
|
-
var
|
|
593
|
-
function
|
|
549
|
+
var zi = wr({ parser: "__ng_action" }), Gi = wr({ parser: "__ng_binding" }), Yi = wr({ parser: "__ng_directive" });
|
|
550
|
+
function ji(t7, e) {
|
|
594
551
|
if (e.parser !== "angular")
|
|
595
552
|
return;
|
|
596
553
|
let { node: r } = t7, n = r.fullName;
|
|
597
554
|
if (n.startsWith("(") && n.endsWith(")") || n.startsWith("on-"))
|
|
598
|
-
return
|
|
555
|
+
return zi;
|
|
599
556
|
if (n.startsWith("[") && n.endsWith("]") || /^bind(?:on)?-/u.test(n) || /^ng-(?:if|show|hide|class|style)$/u.test(n))
|
|
600
|
-
return
|
|
557
|
+
return Gi;
|
|
601
558
|
if (n.startsWith("*"))
|
|
602
|
-
return
|
|
603
|
-
let s =
|
|
559
|
+
return Yi;
|
|
560
|
+
let s = N(r);
|
|
604
561
|
if (/^i18n(?:-.+)?$/u.test(n))
|
|
605
|
-
return () => he(
|
|
606
|
-
if (
|
|
607
|
-
return (i) =>
|
|
562
|
+
return () => he(Dt(xt(r, s.trim())), !s.includes("@@"));
|
|
563
|
+
if (yr.test(s))
|
|
564
|
+
return (i) => zn(s, i);
|
|
608
565
|
}
|
|
609
|
-
var
|
|
610
|
-
function
|
|
611
|
-
let { node: r } = t7, n =
|
|
566
|
+
var Gn = ji;
|
|
567
|
+
function Ki(t7, e) {
|
|
568
|
+
let { node: r } = t7, n = N(r);
|
|
612
569
|
if (r.fullName === "class" && !e.parentParser && !n.includes("{{"))
|
|
613
570
|
return () => n.trim().split(/\s+/u).join(" ");
|
|
614
571
|
}
|
|
615
|
-
var
|
|
616
|
-
function
|
|
572
|
+
var Yn = Ki;
|
|
573
|
+
function jn(t7) {
|
|
617
574
|
return t7 === " " || t7 === `
|
|
618
575
|
` || t7 === "\f" || t7 === "\r" || t7 === " ";
|
|
619
576
|
}
|
|
620
|
-
var
|
|
621
|
-
function
|
|
577
|
+
var Qi = /^[ \t\n\r\u000c]+/, Xi = /^[, \t\n\r\u000c]+/, Ji = /^[^ \t\n\r\u000c]+/, Zi = /[,]+$/, Kn = /^\d+$/, ea = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
|
|
578
|
+
function ta(t7) {
|
|
622
579
|
let e = t7.length, r, n, s, i, a, o = 0, u;
|
|
623
580
|
function p(C) {
|
|
624
581
|
let A, D = C.exec(t7.substring(o));
|
|
@@ -627,25 +584,25 @@ function Sa(t7) {
|
|
|
627
584
|
}
|
|
628
585
|
let l = [];
|
|
629
586
|
for (; ; ) {
|
|
630
|
-
if (p(
|
|
587
|
+
if (p(Xi), o >= e) {
|
|
631
588
|
if (l.length === 0)
|
|
632
589
|
throw new Error("Must contain one or more image candidate strings.");
|
|
633
590
|
return l;
|
|
634
591
|
}
|
|
635
|
-
u = o, r = p(
|
|
592
|
+
u = o, r = p(Ji), n = [], r.slice(-1) === "," ? (r = r.replace(Zi, ""), d()) : f();
|
|
636
593
|
}
|
|
637
|
-
function
|
|
638
|
-
for (p(
|
|
594
|
+
function f() {
|
|
595
|
+
for (p(Qi), s = "", i = "in descriptor"; ; ) {
|
|
639
596
|
if (a = t7.charAt(o), i === "in descriptor")
|
|
640
|
-
if (
|
|
597
|
+
if (jn(a))
|
|
641
598
|
s && (n.push(s), s = "", i = "after descriptor");
|
|
642
599
|
else if (a === ",") {
|
|
643
|
-
o += 1, s && n.push(s),
|
|
600
|
+
o += 1, s && n.push(s), d();
|
|
644
601
|
return;
|
|
645
602
|
} else if (a === "(")
|
|
646
603
|
s += a, i = "in parens";
|
|
647
604
|
else if (a === "") {
|
|
648
|
-
s && n.push(s),
|
|
605
|
+
s && n.push(s), d();
|
|
649
606
|
return;
|
|
650
607
|
} else
|
|
651
608
|
s += a;
|
|
@@ -653,76 +610,76 @@ function Sa(t7) {
|
|
|
653
610
|
if (a === ")")
|
|
654
611
|
s += a, i = "in descriptor";
|
|
655
612
|
else if (a === "") {
|
|
656
|
-
n.push(s),
|
|
613
|
+
n.push(s), d();
|
|
657
614
|
return;
|
|
658
615
|
} else
|
|
659
616
|
s += a;
|
|
660
|
-
else if (i === "after descriptor" && !
|
|
617
|
+
else if (i === "after descriptor" && !jn(a))
|
|
661
618
|
if (a === "") {
|
|
662
|
-
|
|
619
|
+
d();
|
|
663
620
|
return;
|
|
664
621
|
} else
|
|
665
622
|
i = "in descriptor", o -= 1;
|
|
666
623
|
o += 1;
|
|
667
624
|
}
|
|
668
625
|
}
|
|
669
|
-
function
|
|
626
|
+
function d() {
|
|
670
627
|
let C = false, A, D, I, F, c = {}, g, y, q, x, U;
|
|
671
628
|
for (F = 0; F < n.length; F++)
|
|
672
|
-
g = n[F], y = g[g.length - 1], q = g.substring(0, g.length - 1), x = parseInt(q, 10), U = parseFloat(q),
|
|
629
|
+
g = n[F], y = g[g.length - 1], q = g.substring(0, g.length - 1), x = parseInt(q, 10), U = parseFloat(q), Kn.test(q) && y === "w" ? ((A || D) && (C = true), x === 0 ? C = true : A = x) : ea.test(q) && y === "x" ? ((A || D || I) && (C = true), U < 0 ? C = true : D = U) : Kn.test(q) && y === "h" ? ((I || D) && (C = true), x === 0 ? C = true : I = x) : C = true;
|
|
673
630
|
if (!C)
|
|
674
631
|
c.source = { value: r, startOffset: u }, A && (c.width = { value: A }), D && (c.density = { value: D }), I && (c.height = { value: I }), l.push(c);
|
|
675
632
|
else
|
|
676
633
|
throw new Error(`Invalid srcset descriptor found in "${t7}" at "${g}".`);
|
|
677
634
|
}
|
|
678
635
|
}
|
|
679
|
-
var
|
|
680
|
-
function
|
|
636
|
+
var Qn = ta;
|
|
637
|
+
function ra(t7) {
|
|
681
638
|
if (t7.node.fullName === "srcset" && (t7.parent.fullName === "img" || t7.parent.fullName === "source"))
|
|
682
|
-
return () =>
|
|
639
|
+
return () => sa(N(t7.node));
|
|
683
640
|
}
|
|
684
|
-
var
|
|
685
|
-
function
|
|
686
|
-
let e =
|
|
641
|
+
var Xn = { width: "w", height: "h", density: "x" }, na = Object.keys(Xn);
|
|
642
|
+
function sa(t7) {
|
|
643
|
+
let e = Qn(t7), r = na.filter((l) => e.some((f) => Object.prototype.hasOwnProperty.call(f, l)));
|
|
687
644
|
if (r.length > 1)
|
|
688
645
|
throw new Error("Mixed descriptor in srcset is not supported");
|
|
689
|
-
let [n] = r, s =
|
|
690
|
-
let
|
|
691
|
-
return
|
|
646
|
+
let [n] = r, s = Xn[n], i = e.map((l) => l.source.value), a = Math.max(...i.map((l) => l.length)), o = e.map((l) => l[n] ? String(l[n].value) : ""), u = o.map((l) => {
|
|
647
|
+
let f = l.indexOf(".");
|
|
648
|
+
return f === -1 ? l.length : f;
|
|
692
649
|
}), p = Math.max(...u);
|
|
693
|
-
return he(H([",", _], i.map((l,
|
|
694
|
-
let
|
|
650
|
+
return he(H([",", _], i.map((l, f) => {
|
|
651
|
+
let d = [l], C = o[f];
|
|
695
652
|
if (C) {
|
|
696
|
-
let A = a - l.length + 1, D = p - u[
|
|
697
|
-
|
|
653
|
+
let A = a - l.length + 1, D = p - u[f], I = " ".repeat(A + D);
|
|
654
|
+
d.push(pe(I, " "), C + s);
|
|
698
655
|
}
|
|
699
|
-
return
|
|
656
|
+
return d;
|
|
700
657
|
})));
|
|
701
658
|
}
|
|
702
|
-
var
|
|
703
|
-
function
|
|
704
|
-
let { node: r } = t7, n =
|
|
659
|
+
var Jn = ra;
|
|
660
|
+
function Zn(t7, e) {
|
|
661
|
+
let { node: r } = t7, n = N(t7.node).trim();
|
|
705
662
|
if (r.fullName === "style" && !e.parentParser && !n.includes("{{"))
|
|
706
663
|
return async (s) => he(await s(n, { parser: "css", __isHTMLStyleAttribute: true }));
|
|
707
664
|
}
|
|
708
|
-
var
|
|
709
|
-
function
|
|
665
|
+
var br = /* @__PURE__ */ new WeakMap();
|
|
666
|
+
function ia(t7, e) {
|
|
710
667
|
let { root: r } = t7;
|
|
711
|
-
return
|
|
668
|
+
return br.has(r) || br.set(r, r.children.some((n) => kt(n, e) && ["ts", "typescript"].includes(n.attrMap.lang))), br.get(r);
|
|
712
669
|
}
|
|
713
|
-
var
|
|
714
|
-
function
|
|
715
|
-
let { node: n } = r, s =
|
|
716
|
-
return T(`type T<${s}> = any`, t7, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: true },
|
|
670
|
+
var Pe = ia;
|
|
671
|
+
function es(t7, e, r) {
|
|
672
|
+
let { node: n } = r, s = N(n);
|
|
673
|
+
return T(`type T<${s}> = any`, t7, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: true }, Q);
|
|
717
674
|
}
|
|
718
|
-
function
|
|
675
|
+
function ts(t7, e, { parseWithTs: r }) {
|
|
719
676
|
return T(`function _(${t7}) {}`, e, { parser: r ? "babel-ts" : "babel", __isVueBindings: true });
|
|
720
677
|
}
|
|
721
|
-
async function
|
|
722
|
-
let s =
|
|
678
|
+
async function rs(t7, e, r, n) {
|
|
679
|
+
let s = N(r.node), { left: i, operator: a, right: o } = aa(s), u = Pe(r, n);
|
|
723
680
|
return [E(await T(`function _(${i}) {}`, t7, { parser: u ? "babel-ts" : "babel", __isVueForBindingLeft: true })), " ", a, " ", await T(o, t7, { parser: u ? "__ts_expression" : "__js_expression" })];
|
|
724
681
|
}
|
|
725
|
-
function
|
|
682
|
+
function aa(t7) {
|
|
726
683
|
let e = /(.*?)\s+(in|of)\s+(.*)/su, r = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, n = /^\(|\)$/gu, s = t7.match(e);
|
|
727
684
|
if (!s)
|
|
728
685
|
return;
|
|
@@ -735,86 +692,90 @@ function va(t7) {
|
|
|
735
692
|
if (!u.some((p, l) => !p && (l === 0 || u.slice(l + 1).some(Boolean))))
|
|
736
693
|
return { left: u.filter(Boolean).join(","), operator: s[2], right: i.for };
|
|
737
694
|
}
|
|
738
|
-
function
|
|
695
|
+
function oa(t7, e) {
|
|
739
696
|
if (e.parser !== "vue")
|
|
740
697
|
return;
|
|
741
698
|
let { node: r } = t7, n = r.fullName;
|
|
742
699
|
if (n === "v-for")
|
|
743
|
-
return
|
|
744
|
-
if (n === "generic" &&
|
|
745
|
-
return
|
|
746
|
-
let s =
|
|
747
|
-
if (
|
|
748
|
-
return (a) =>
|
|
700
|
+
return rs;
|
|
701
|
+
if (n === "generic" && kt(r.parent, e))
|
|
702
|
+
return es;
|
|
703
|
+
let s = N(r), i = Pe(t7, e);
|
|
704
|
+
if (Un(r) || Wn(r, e))
|
|
705
|
+
return (a) => ts(s, a, { parseWithTs: i });
|
|
749
706
|
if (n.startsWith("@") || n.startsWith("v-on:"))
|
|
750
|
-
return (a) =>
|
|
707
|
+
return (a) => ua(s, a, { parseWithTs: i });
|
|
751
708
|
if (n.startsWith(":") || n.startsWith(".") || n.startsWith("v-bind:"))
|
|
752
|
-
return (a) =>
|
|
709
|
+
return (a) => la(s, a, { parseWithTs: i });
|
|
753
710
|
if (n.startsWith("v-"))
|
|
754
|
-
return (a) =>
|
|
711
|
+
return (a) => ns(s, a, { parseWithTs: i });
|
|
755
712
|
}
|
|
756
|
-
async function
|
|
713
|
+
async function ua(t7, e, { parseWithTs: r }) {
|
|
757
714
|
var n;
|
|
758
715
|
try {
|
|
759
|
-
return await
|
|
716
|
+
return await ns(t7, e, { parseWithTs: r });
|
|
760
717
|
} catch (s) {
|
|
761
718
|
if (((n = s.cause) == null ? void 0 : n.code) !== "BABEL_PARSER_SYNTAX_ERROR")
|
|
762
719
|
throw s;
|
|
763
720
|
}
|
|
764
|
-
return T(t7, e, { parser: r ? "__vue_ts_event_binding" : "__vue_event_binding" },
|
|
721
|
+
return T(t7, e, { parser: r ? "__vue_ts_event_binding" : "__vue_event_binding" }, Q);
|
|
765
722
|
}
|
|
766
|
-
function
|
|
767
|
-
return T(t7, e, { parser: r ? "__vue_ts_expression" : "__vue_expression" },
|
|
723
|
+
function la(t7, e, { parseWithTs: r }) {
|
|
724
|
+
return T(t7, e, { parser: r ? "__vue_ts_expression" : "__vue_expression" }, Q);
|
|
768
725
|
}
|
|
769
|
-
function
|
|
770
|
-
return T(t7, e, { parser: r ? "__ts_expression" : "__js_expression" },
|
|
726
|
+
function ns(t7, e, { parseWithTs: r }) {
|
|
727
|
+
return T(t7, e, { parser: r ? "__ts_expression" : "__js_expression" }, Q);
|
|
771
728
|
}
|
|
772
|
-
var
|
|
773
|
-
function
|
|
729
|
+
var ss = oa;
|
|
730
|
+
function ca(t7, e) {
|
|
774
731
|
let { node: r } = t7;
|
|
775
732
|
if (r.value) {
|
|
776
733
|
if (/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(e.originalText.slice(r.valueSpan.start.offset, r.valueSpan.end.offset)) || e.parser === "lwc" && r.value.startsWith("{") && r.value.endsWith("}"))
|
|
777
734
|
return [r.rawName, "=", r.value];
|
|
778
|
-
for (let n of [
|
|
735
|
+
for (let n of [Jn, Zn, Yn, ss, Gn]) {
|
|
779
736
|
let s = n(t7, e);
|
|
780
737
|
if (s)
|
|
781
|
-
return
|
|
738
|
+
return pa(s);
|
|
782
739
|
}
|
|
783
740
|
}
|
|
784
741
|
}
|
|
785
|
-
function
|
|
742
|
+
function pa(t7) {
|
|
786
743
|
return async (e, r, n, s) => {
|
|
787
744
|
let i = await t7(e, r, n, s);
|
|
788
745
|
if (i)
|
|
789
746
|
return i = hr(i, (a) => typeof a == "string" ? w(false, a, '"', """) : a), [n.node.rawName, '="', E(i), '"'];
|
|
790
747
|
};
|
|
791
748
|
}
|
|
792
|
-
var
|
|
793
|
-
var
|
|
794
|
-
}, { get: () =>
|
|
749
|
+
var is = ca;
|
|
750
|
+
var as = new Proxy(() => {
|
|
751
|
+
}, { get: () => as }), Tr = as;
|
|
752
|
+
function ha(t7) {
|
|
753
|
+
return Array.isArray(t7) && t7.length > 0;
|
|
754
|
+
}
|
|
755
|
+
var Ie = ha;
|
|
795
756
|
function J(t7) {
|
|
796
757
|
return t7.sourceSpan.start.offset;
|
|
797
758
|
}
|
|
798
|
-
function
|
|
759
|
+
function Z(t7) {
|
|
799
760
|
return t7.sourceSpan.end.offset;
|
|
800
761
|
}
|
|
801
762
|
function tt(t7, e) {
|
|
802
|
-
return [t7.isSelfClosing ? "" :
|
|
763
|
+
return [t7.isSelfClosing ? "" : fa(t7, e), Ce(t7, e)];
|
|
803
764
|
}
|
|
804
|
-
function
|
|
805
|
-
return t7.lastChild &&
|
|
765
|
+
function fa(t7, e) {
|
|
766
|
+
return t7.lastChild && Ee(t7.lastChild) ? "" : [ma(t7, e), Bt(t7, e)];
|
|
806
767
|
}
|
|
807
|
-
function
|
|
808
|
-
return (t7.next ?
|
|
768
|
+
function Ce(t7, e) {
|
|
769
|
+
return (t7.next ? X(t7.next) : _e(t7.parent)) ? "" : [Se(t7, e), z(t7, e)];
|
|
809
770
|
}
|
|
810
|
-
function
|
|
811
|
-
return
|
|
771
|
+
function ma(t7, e) {
|
|
772
|
+
return _e(t7) ? Se(t7.lastChild, e) : "";
|
|
812
773
|
}
|
|
813
|
-
function
|
|
814
|
-
return
|
|
774
|
+
function z(t7, e) {
|
|
775
|
+
return Ee(t7) ? Bt(t7.parent, e) : rt(t7) ? Lt(t7.next, e) : "";
|
|
815
776
|
}
|
|
816
|
-
function
|
|
817
|
-
if (
|
|
777
|
+
function Bt(t7, e) {
|
|
778
|
+
if (Tr.ok(!t7.isSelfClosing), us(t7, e))
|
|
818
779
|
return "";
|
|
819
780
|
switch (t7.type) {
|
|
820
781
|
case "ieConditionalComment":
|
|
@@ -826,8 +787,8 @@ function Lt(t7, e) {
|
|
|
826
787
|
return `</${t7.rawName}`;
|
|
827
788
|
}
|
|
828
789
|
}
|
|
829
|
-
function
|
|
830
|
-
if (
|
|
790
|
+
function Se(t7, e) {
|
|
791
|
+
if (us(t7, e))
|
|
831
792
|
return "";
|
|
832
793
|
switch (t7.type) {
|
|
833
794
|
case "ieConditionalComment":
|
|
@@ -846,52 +807,52 @@ function _e(t7, e) {
|
|
|
846
807
|
return ">";
|
|
847
808
|
}
|
|
848
809
|
}
|
|
849
|
-
function
|
|
850
|
-
return !t7.isSelfClosing && !t7.endSourceSpan && (
|
|
810
|
+
function us(t7, e) {
|
|
811
|
+
return !t7.isSelfClosing && !t7.endSourceSpan && (de(t7) || yt(t7.parent, e));
|
|
851
812
|
}
|
|
852
|
-
function
|
|
813
|
+
function X(t7) {
|
|
853
814
|
return t7.prev && t7.prev.type !== "docType" && t7.type !== "angularControlFlowBlock" && !$(t7.prev) && t7.isLeadingSpaceSensitive && !t7.hasLeadingSpaces;
|
|
854
815
|
}
|
|
855
|
-
function
|
|
816
|
+
function _e(t7) {
|
|
856
817
|
var e;
|
|
857
|
-
return ((e = t7.lastChild) == null ? void 0 : e.isTrailingSpaceSensitive) && !t7.lastChild.hasTrailingSpaces && !$(
|
|
818
|
+
return ((e = t7.lastChild) == null ? void 0 : e.isTrailingSpaceSensitive) && !t7.lastChild.hasTrailingSpaces && !$(bt(t7.lastChild)) && !me(t7);
|
|
858
819
|
}
|
|
859
|
-
function
|
|
860
|
-
return !t7.next && !t7.hasTrailingSpaces && t7.isTrailingSpaceSensitive && $(
|
|
820
|
+
function Ee(t7) {
|
|
821
|
+
return !t7.next && !t7.hasTrailingSpaces && t7.isTrailingSpaceSensitive && $(bt(t7));
|
|
861
822
|
}
|
|
862
823
|
function rt(t7) {
|
|
863
824
|
return t7.next && !$(t7.next) && $(t7) && t7.isTrailingSpaceSensitive && !t7.hasTrailingSpaces;
|
|
864
825
|
}
|
|
865
|
-
function
|
|
826
|
+
function da(t7) {
|
|
866
827
|
let e = t7.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);
|
|
867
828
|
return e ? e[1] ? e[1].split(/\s+/u) : true : false;
|
|
868
829
|
}
|
|
869
830
|
function nt(t7) {
|
|
870
831
|
return !t7.prev && t7.isLeadingSpaceSensitive && !t7.hasLeadingSpaces;
|
|
871
832
|
}
|
|
872
|
-
function
|
|
873
|
-
var
|
|
833
|
+
function ga(t7, e, r) {
|
|
834
|
+
var f;
|
|
874
835
|
let { node: n } = t7;
|
|
875
|
-
if (!
|
|
836
|
+
if (!Ie(n.attrs))
|
|
876
837
|
return n.isSelfClosing ? " " : "";
|
|
877
|
-
let s = ((
|
|
878
|
-
return n.firstChild && nt(n.firstChild) || n.isSelfClosing &&
|
|
838
|
+
let s = ((f = n.prev) == null ? void 0 : f.type) === "comment" && da(n.prev.value), i = typeof s == "boolean" ? () => s : Array.isArray(s) ? (d) => s.includes(d.rawName) : () => false, a = t7.map(({ node: d }) => i(d) ? B(e.originalText.slice(J(d), Z(d))) : r(), "attrs"), o = n.type === "element" && n.fullName === "script" && n.attrs.length === 1 && n.attrs[0].fullName === "src" && n.children.length === 0, p = e.singleAttributePerLine && n.attrs.length > 1 && !ge(n, e) ? S : _, l = [k([o ? " " : _, H(p, a)])];
|
|
839
|
+
return n.firstChild && nt(n.firstChild) || n.isSelfClosing && _e(n.parent) || o ? l.push(n.isSelfClosing ? " " : "") : l.push(e.bracketSameLine ? n.isSelfClosing ? " " : "" : n.isSelfClosing ? _ : v), l;
|
|
879
840
|
}
|
|
880
|
-
function
|
|
881
|
-
return t7.firstChild && nt(t7.firstChild) ? "" :
|
|
841
|
+
function Ca(t7) {
|
|
842
|
+
return t7.firstChild && nt(t7.firstChild) ? "" : Ft(t7);
|
|
882
843
|
}
|
|
883
844
|
function st(t7, e, r) {
|
|
884
845
|
let { node: n } = t7;
|
|
885
|
-
return [
|
|
846
|
+
return [Ae(n, e), ga(t7, e, r), n.isSelfClosing ? "" : Ca(n)];
|
|
886
847
|
}
|
|
887
|
-
function
|
|
888
|
-
return t7.prev && rt(t7.prev) ? "" : [
|
|
848
|
+
function Ae(t7, e) {
|
|
849
|
+
return t7.prev && rt(t7.prev) ? "" : [G(t7, e), Lt(t7, e)];
|
|
889
850
|
}
|
|
890
|
-
function
|
|
891
|
-
return nt(t7) ?
|
|
851
|
+
function G(t7, e) {
|
|
852
|
+
return nt(t7) ? Ft(t7.parent) : X(t7) ? Se(t7.prev, e) : "";
|
|
892
853
|
}
|
|
893
|
-
var
|
|
894
|
-
function
|
|
854
|
+
var os = "<!doctype";
|
|
855
|
+
function Lt(t7, e) {
|
|
895
856
|
switch (t7.type) {
|
|
896
857
|
case "ieConditionalComment":
|
|
897
858
|
case "ieConditionalStartComment":
|
|
@@ -902,12 +863,11 @@ function Ft(t7, e) {
|
|
|
902
863
|
return "{{";
|
|
903
864
|
case "docType": {
|
|
904
865
|
if (t7.value === "html") {
|
|
905
|
-
let
|
|
906
|
-
if (
|
|
907
|
-
return
|
|
866
|
+
let n = e.filepath ?? "";
|
|
867
|
+
if (/\.html?$/u.test(n))
|
|
868
|
+
return os;
|
|
908
869
|
}
|
|
909
|
-
|
|
910
|
-
return e.originalText.slice(r, r + gs.length);
|
|
870
|
+
return e.originalText.slice(J(t7), Z(t7)).slice(0, os.length);
|
|
911
871
|
}
|
|
912
872
|
case "angularIcuExpression":
|
|
913
873
|
return "{";
|
|
@@ -918,8 +878,8 @@ function Ft(t7, e) {
|
|
|
918
878
|
return `<${t7.rawName}`;
|
|
919
879
|
}
|
|
920
880
|
}
|
|
921
|
-
function
|
|
922
|
-
switch (t7.type) {
|
|
881
|
+
function Ft(t7) {
|
|
882
|
+
switch (Tr.ok(!t7.isSelfClosing), t7.type) {
|
|
923
883
|
case "ieConditionalComment":
|
|
924
884
|
return "]>";
|
|
925
885
|
case "element":
|
|
@@ -929,59 +889,59 @@ function Pt(t7) {
|
|
|
929
889
|
return ">";
|
|
930
890
|
}
|
|
931
891
|
}
|
|
932
|
-
function
|
|
892
|
+
function Sa(t7, e) {
|
|
933
893
|
if (!t7.endSourceSpan)
|
|
934
894
|
return "";
|
|
935
895
|
let r = t7.startSourceSpan.end.offset;
|
|
936
|
-
t7.firstChild && nt(t7.firstChild) && (r -=
|
|
896
|
+
t7.firstChild && nt(t7.firstChild) && (r -= Ft(t7).length);
|
|
937
897
|
let n = t7.endSourceSpan.start.offset;
|
|
938
|
-
return t7.lastChild &&
|
|
898
|
+
return t7.lastChild && Ee(t7.lastChild) ? n += Bt(t7, e).length : _e(t7) && (n -= Se(t7.lastChild, e).length), e.originalText.slice(r, n);
|
|
939
899
|
}
|
|
940
|
-
var Nt =
|
|
941
|
-
var
|
|
942
|
-
function
|
|
900
|
+
var Nt = Sa;
|
|
901
|
+
var _a = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
|
|
902
|
+
function Ea(t7, e) {
|
|
943
903
|
let { node: r } = t7;
|
|
944
904
|
switch (r.type) {
|
|
945
905
|
case "element":
|
|
946
|
-
if (W(r
|
|
906
|
+
if (W(r) || r.type === "interpolation")
|
|
947
907
|
return;
|
|
948
|
-
if (!r.isSelfClosing &&
|
|
949
|
-
let n =
|
|
908
|
+
if (!r.isSelfClosing && Tt(r, e)) {
|
|
909
|
+
let n = Ar(r, e);
|
|
950
910
|
return n ? async (s, i) => {
|
|
951
911
|
let a = Nt(r, e), o = /^\s*$/u.test(a), u = "";
|
|
952
|
-
return o || (u = await s(
|
|
912
|
+
return o || (u = await s(Sr(a), { parser: n, __embeddedInHtml: true }), o = u === ""), [G(r, e), E(st(t7, e, i)), o ? "" : S, u, o ? "" : S, tt(r, e), z(r, e)];
|
|
953
913
|
} : void 0;
|
|
954
914
|
}
|
|
955
915
|
break;
|
|
956
916
|
case "text":
|
|
957
|
-
if (W(r.parent
|
|
958
|
-
let n =
|
|
917
|
+
if (W(r.parent)) {
|
|
918
|
+
let n = Ar(r.parent, e);
|
|
959
919
|
if (n)
|
|
960
920
|
return async (s) => {
|
|
961
|
-
let i = n === "markdown" ?
|
|
921
|
+
let i = n === "markdown" ? Dr(r.value.replace(/^[^\S\n]*\n/u, "")) : r.value, a = { parser: n, __embeddedInHtml: true };
|
|
962
922
|
if (e.parser === "html" && n === "babel") {
|
|
963
923
|
let o = "script", { attrMap: u } = r.parent;
|
|
964
|
-
u && (u.type === "module" ||
|
|
924
|
+
u && (u.type === "module" || u.type === "text/babel" && u["data-type"] === "module") && (o = "module"), a.__babelSourceType = o;
|
|
965
925
|
}
|
|
966
|
-
return [
|
|
926
|
+
return [se, G(r, e), await s(i, a), z(r, e)];
|
|
967
927
|
};
|
|
968
928
|
} else if (r.parent.type === "interpolation")
|
|
969
929
|
return async (n) => {
|
|
970
930
|
let s = { __isInHtmlInterpolation: true, __embeddedInHtml: true };
|
|
971
|
-
return e.parser === "angular" ? s.parser = "__ng_interpolation" : e.parser === "vue" ? s.parser =
|
|
931
|
+
return e.parser === "angular" ? s.parser = "__ng_interpolation" : e.parser === "vue" ? s.parser = Pe(t7, e) ? "__vue_ts_expression" : "__vue_expression" : s.parser = "__js_expression", [k([_, await n(r.value, s)]), r.parent.next && X(r.parent.next) ? " " : _];
|
|
972
932
|
};
|
|
973
933
|
break;
|
|
974
934
|
case "attribute":
|
|
975
|
-
return
|
|
935
|
+
return is(t7, e);
|
|
976
936
|
case "front-matter":
|
|
977
|
-
return (n) =>
|
|
937
|
+
return (n) => Dn(r, n);
|
|
978
938
|
case "angularControlFlowBlockParameters":
|
|
979
|
-
return
|
|
939
|
+
return _a.has(t7.parent.name) ? vn : void 0;
|
|
980
940
|
case "angularLetDeclarationInitializer":
|
|
981
941
|
return (n) => T(r.value, n, { parser: "__ng_binding", __isInHtmlAttribute: false });
|
|
982
942
|
}
|
|
983
943
|
}
|
|
984
|
-
var
|
|
944
|
+
var ls = Ea;
|
|
985
945
|
var it = null;
|
|
986
946
|
function at(t7) {
|
|
987
947
|
if (it !== null && typeof it.property) {
|
|
@@ -990,14 +950,14 @@ function at(t7) {
|
|
|
990
950
|
}
|
|
991
951
|
return it = at.prototype = t7 ?? /* @__PURE__ */ Object.create(null), new at();
|
|
992
952
|
}
|
|
993
|
-
var
|
|
994
|
-
for (let t7 = 0; t7 <=
|
|
953
|
+
var Aa = 10;
|
|
954
|
+
for (let t7 = 0; t7 <= Aa; t7++)
|
|
995
955
|
at();
|
|
996
|
-
function
|
|
956
|
+
function xr(t7) {
|
|
997
957
|
return at(t7);
|
|
998
958
|
}
|
|
999
|
-
function
|
|
1000
|
-
|
|
959
|
+
function Da(t7, e = "type") {
|
|
960
|
+
xr(t7);
|
|
1001
961
|
function r(n) {
|
|
1002
962
|
let s = n[e], i = t7[s];
|
|
1003
963
|
if (!Array.isArray(i))
|
|
@@ -1006,43 +966,38 @@ function Ma(t7, e = "type") {
|
|
|
1006
966
|
}
|
|
1007
967
|
return r;
|
|
1008
968
|
}
|
|
1009
|
-
var
|
|
1010
|
-
var
|
|
1011
|
-
var
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
function ws(t7) {
|
|
1015
|
-
return ys.test(t7);
|
|
1016
|
-
}
|
|
1017
|
-
function bs(t7) {
|
|
1018
|
-
return vs.test(t7);
|
|
969
|
+
var cs = Da;
|
|
970
|
+
var va = { "front-matter": [], root: ["children"], element: ["attrs", "children"], ieConditionalComment: ["children"], ieConditionalStartComment: [], ieConditionalEndComment: [], interpolation: ["children"], text: ["children"], docType: [], comment: [], attribute: [], cdata: [], angularControlFlowBlock: ["children", "parameters"], angularControlFlowBlockParameters: ["children"], angularControlFlowBlockParameter: [], angularLetDeclaration: ["init"], angularLetDeclarationInitializer: [], angularIcuExpression: ["cases"], angularIcuCase: ["expression"] }, ps = va;
|
|
971
|
+
var ya = cs(ps), hs = ya;
|
|
972
|
+
function fs(t7) {
|
|
973
|
+
return /^\s*<!--\s*@(?:format|prettier)\s*-->/u.test(t7);
|
|
1019
974
|
}
|
|
1020
|
-
function
|
|
1021
|
-
return `<!--
|
|
975
|
+
function ms(t7) {
|
|
976
|
+
return `<!-- @format -->
|
|
1022
977
|
|
|
1023
|
-
|
|
978
|
+
` + t7;
|
|
1024
979
|
}
|
|
1025
|
-
var
|
|
1026
|
-
function
|
|
1027
|
-
let e =
|
|
1028
|
-
return t7.type === "element" && !t7.endSourceSpan &&
|
|
980
|
+
var ds = /* @__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"])]]);
|
|
981
|
+
function gs(t7) {
|
|
982
|
+
let e = Z(t7);
|
|
983
|
+
return t7.type === "element" && !t7.endSourceSpan && Ie(t7.children) ? Math.max(e, gs(K(false, t7.children, -1))) : e;
|
|
1029
984
|
}
|
|
1030
985
|
function ot(t7, e, r) {
|
|
1031
986
|
let n = t7.node;
|
|
1032
|
-
if (
|
|
1033
|
-
let s =
|
|
1034
|
-
return [
|
|
987
|
+
if (de(n)) {
|
|
988
|
+
let s = gs(n);
|
|
989
|
+
return [G(n, e), B(O.trimEnd(e.originalText.slice(J(n) + (n.prev && rt(n.prev) ? Lt(n).length : 0), s - (n.next && X(n.next) ? Se(n, e).length : 0)))), z(n, e)];
|
|
1035
990
|
}
|
|
1036
991
|
return r();
|
|
1037
992
|
}
|
|
1038
|
-
function
|
|
1039
|
-
return $(t7) && $(e) ? t7.isTrailingSpaceSensitive ? t7.hasTrailingSpaces ?
|
|
993
|
+
function Pt(t7, e) {
|
|
994
|
+
return $(t7) && $(e) ? t7.isTrailingSpaceSensitive ? t7.hasTrailingSpaces ? wt(e) ? S : _ : "" : wt(e) ? S : v : rt(t7) && (de(e) || e.firstChild || e.isSelfClosing || e.type === "element" && e.attrs.length > 0) || t7.type === "element" && t7.isSelfClosing && X(e) ? "" : !e.isLeadingSpaceSensitive || wt(e) || X(e) && t7.lastChild && Ee(t7.lastChild) && t7.lastChild.lastChild && Ee(t7.lastChild.lastChild) ? S : e.hasLeadingSpaces ? _ : v;
|
|
1040
995
|
}
|
|
1041
996
|
function Re(t7, e, r) {
|
|
1042
997
|
let { node: n } = t7;
|
|
1043
|
-
if (
|
|
1044
|
-
return [
|
|
1045
|
-
let a = i.node, o = a.prev ?
|
|
998
|
+
if (Er(n))
|
|
999
|
+
return [se, ...t7.map((i) => {
|
|
1000
|
+
let a = i.node, o = a.prev ? Pt(a.prev, a) : "";
|
|
1046
1001
|
return [o ? [o, Je(a.prev) ? S : ""] : "", ot(i, e, r)];
|
|
1047
1002
|
}, "children")];
|
|
1048
1003
|
let s = n.children.map(() => Symbol(""));
|
|
@@ -1050,75 +1005,75 @@ function Re(t7, e, r) {
|
|
|
1050
1005
|
let o = i.node;
|
|
1051
1006
|
if ($(o)) {
|
|
1052
1007
|
if (o.prev && $(o.prev)) {
|
|
1053
|
-
let A =
|
|
1008
|
+
let A = Pt(o.prev, o);
|
|
1054
1009
|
if (A)
|
|
1055
1010
|
return Je(o.prev) ? [S, S, ot(i, e, r)] : [A, ot(i, e, r)];
|
|
1056
1011
|
}
|
|
1057
1012
|
return ot(i, e, r);
|
|
1058
1013
|
}
|
|
1059
|
-
let u = [], p = [], l = [],
|
|
1060
|
-
return
|
|
1014
|
+
let u = [], p = [], l = [], f = [], d = o.prev ? Pt(o.prev, o) : "", C = o.next ? Pt(o, o.next) : "";
|
|
1015
|
+
return d && (Je(o.prev) ? u.push(S, S) : d === S ? u.push(S) : $(o.prev) ? p.push(d) : p.push(pe("", v, { groupId: s[a - 1] }))), C && (Je(o) ? $(o.next) && f.push(S, S) : C === S ? $(o.next) && f.push(S) : l.push(C)), [...u, E([...p, E([ot(i, e, r), ...l], { id: s[a] })]), ...f];
|
|
1061
1016
|
}, "children");
|
|
1062
1017
|
}
|
|
1063
|
-
function
|
|
1018
|
+
function Cs(t7, e, r) {
|
|
1064
1019
|
let { node: n } = t7, s = [];
|
|
1065
|
-
|
|
1066
|
-
let i =
|
|
1020
|
+
wa(t7) && s.push("} "), s.push("@", n.name), n.parameters && s.push(" (", E(r("parameters")), ")"), s.push(" {");
|
|
1021
|
+
let i = Ss(n);
|
|
1067
1022
|
return n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = true, n.lastChild.hasTrailingSpaces = true, s.push(k([S, Re(t7, e, r)])), i && s.push(S, "}")) : i && s.push("}"), E(s, { shouldBreak: true });
|
|
1068
1023
|
}
|
|
1069
|
-
function
|
|
1024
|
+
function Ss(t7) {
|
|
1070
1025
|
var e, r;
|
|
1071
|
-
return !(((e = t7.next) == null ? void 0 : e.type) === "angularControlFlowBlock" && ((r =
|
|
1026
|
+
return !(((e = t7.next) == null ? void 0 : e.type) === "angularControlFlowBlock" && ((r = ds.get(t7.name)) != null && r.has(t7.next.name)));
|
|
1072
1027
|
}
|
|
1073
|
-
function
|
|
1028
|
+
function wa(t7) {
|
|
1074
1029
|
let { previous: e } = t7;
|
|
1075
|
-
return (e == null ? void 0 : e.type) === "angularControlFlowBlock" && !
|
|
1030
|
+
return (e == null ? void 0 : e.type) === "angularControlFlowBlock" && !de(e) && !Ss(e);
|
|
1076
1031
|
}
|
|
1077
|
-
function
|
|
1032
|
+
function _s(t7, e, r) {
|
|
1078
1033
|
return [k([v, H([";", _], t7.map(r, "children"))]), v];
|
|
1079
1034
|
}
|
|
1080
|
-
function
|
|
1035
|
+
function Es(t7, e, r) {
|
|
1081
1036
|
let { node: n } = t7;
|
|
1082
|
-
return [
|
|
1037
|
+
return [Ae(n, e), E([n.switchValue.trim(), ", ", n.clause, n.cases.length > 0 ? [",", k([_, H(_, t7.map(r, "cases"))])] : "", v]), Ce(n, e)];
|
|
1083
1038
|
}
|
|
1084
|
-
function
|
|
1039
|
+
function As(t7, e, r) {
|
|
1085
1040
|
let { node: n } = t7;
|
|
1086
1041
|
return [n.value, " {", E([k([v, t7.map(({ node: s, isLast: i }) => {
|
|
1087
1042
|
let a = [r()];
|
|
1088
1043
|
return s.type === "text" && (s.hasLeadingSpaces && a.unshift(_), s.hasTrailingSpaces && !i && a.push(_)), a;
|
|
1089
1044
|
}, "expression")]), v]), "}"];
|
|
1090
1045
|
}
|
|
1091
|
-
function
|
|
1046
|
+
function Ds(t7, e, r) {
|
|
1092
1047
|
let { node: n } = t7;
|
|
1093
|
-
if (
|
|
1094
|
-
return [
|
|
1095
|
-
let s = n.children.length === 1 && (n.firstChild.type === "interpolation" || n.firstChild.type === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, i = Symbol("element-attr-group-id"), a = (l) => E([E(st(t7, e, r), { id: i }), l, tt(n, e)]), o = (l) => s ?
|
|
1096
|
-
return n.children.length === 0 ? a(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? _ : "") : a([
|
|
1048
|
+
if (yt(n, e))
|
|
1049
|
+
return [G(n, e), E(st(t7, e, r)), B(Nt(n, e)), ...tt(n, e), z(n, e)];
|
|
1050
|
+
let s = n.children.length === 1 && (n.firstChild.type === "interpolation" || n.firstChild.type === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, i = Symbol("element-attr-group-id"), a = (l) => E([E(st(t7, e, r), { id: i }), l, tt(n, e)]), o = (l) => s ? dn(l, { groupId: i }) : (W(n) || et(n, e)) && n.parent.type === "root" && e.parser === "vue" && !e.vueIndentScriptAndStyle ? l : k(l), u = () => s ? pe(v, "", { groupId: i }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? _ : n.firstChild.type === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? fn(v) : v, p = () => (n.next ? X(n.next) : _e(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : s ? pe(v, "", { groupId: i }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? _ : (n.lastChild.type === "comment" || n.lastChild.type === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${e.tabWidth * (t7.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : v;
|
|
1051
|
+
return n.children.length === 0 ? a(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? _ : "") : a([In(n) ? se : "", o([u(), Re(t7, e, r)]), p()]);
|
|
1097
1052
|
}
|
|
1098
1053
|
function ut(t7) {
|
|
1099
1054
|
return t7 >= 9 && t7 <= 32 || t7 == 160;
|
|
1100
1055
|
}
|
|
1101
|
-
function
|
|
1056
|
+
function It(t7) {
|
|
1102
1057
|
return 48 <= t7 && t7 <= 57;
|
|
1103
1058
|
}
|
|
1104
1059
|
function lt(t7) {
|
|
1105
1060
|
return t7 >= 97 && t7 <= 122 || t7 >= 65 && t7 <= 90;
|
|
1106
1061
|
}
|
|
1107
|
-
function
|
|
1108
|
-
return t7 >= 97 && t7 <= 102 || t7 >= 65 && t7 <= 70 ||
|
|
1062
|
+
function vs(t7) {
|
|
1063
|
+
return t7 >= 97 && t7 <= 102 || t7 >= 65 && t7 <= 70 || It(t7);
|
|
1109
1064
|
}
|
|
1110
|
-
function
|
|
1065
|
+
function Rt(t7) {
|
|
1111
1066
|
return t7 === 10 || t7 === 13;
|
|
1112
1067
|
}
|
|
1113
|
-
function
|
|
1068
|
+
function kr(t7) {
|
|
1114
1069
|
return 48 <= t7 && t7 <= 55;
|
|
1115
1070
|
}
|
|
1116
|
-
function
|
|
1071
|
+
function $t(t7) {
|
|
1117
1072
|
return t7 === 39 || t7 === 34 || t7 === 96;
|
|
1118
1073
|
}
|
|
1119
|
-
var
|
|
1120
|
-
function
|
|
1121
|
-
return t7.replace(
|
|
1074
|
+
var ba = /-+([a-z0-9])/g;
|
|
1075
|
+
function ws(t7) {
|
|
1076
|
+
return t7.replace(ba, (...e) => e[1].toUpperCase());
|
|
1122
1077
|
}
|
|
1123
1078
|
var ie = class t {
|
|
1124
1079
|
constructor(e, r, n, s) {
|
|
@@ -1157,7 +1112,7 @@ var ie = class t {
|
|
|
1157
1112
|
}
|
|
1158
1113
|
return null;
|
|
1159
1114
|
}
|
|
1160
|
-
},
|
|
1115
|
+
}, De = class {
|
|
1161
1116
|
constructor(e, r) {
|
|
1162
1117
|
this.content = e, this.url = r;
|
|
1163
1118
|
}
|
|
@@ -1168,30 +1123,30 @@ var ie = class t {
|
|
|
1168
1123
|
toString() {
|
|
1169
1124
|
return this.start.file.content.substring(this.start.offset, this.end.offset);
|
|
1170
1125
|
}
|
|
1171
|
-
},
|
|
1126
|
+
}, Ot;
|
|
1172
1127
|
(function(t7) {
|
|
1173
1128
|
t7[t7.WARNING = 0] = "WARNING", t7[t7.ERROR = 1] = "ERROR";
|
|
1174
|
-
})(
|
|
1129
|
+
})(Ot || (Ot = {}));
|
|
1175
1130
|
var Oe = class {
|
|
1176
|
-
constructor(e, r, n =
|
|
1177
|
-
this.span = e, this.msg = r, this.level = n
|
|
1131
|
+
constructor(e, r, n = Ot.ERROR) {
|
|
1132
|
+
this.span = e, this.msg = r, this.level = n;
|
|
1178
1133
|
}
|
|
1179
1134
|
contextualMessage() {
|
|
1180
1135
|
let e = this.span.start.getContext(100, 3);
|
|
1181
|
-
return e ? `${this.msg} ("${e.before}[${
|
|
1136
|
+
return e ? `${this.msg} ("${e.before}[${Ot[this.level]} ->]${e.after}")` : this.msg;
|
|
1182
1137
|
}
|
|
1183
1138
|
toString() {
|
|
1184
1139
|
let e = this.span.details ? `, ${this.span.details}` : "";
|
|
1185
1140
|
return `${this.contextualMessage()}: ${this.span.start}${e}`;
|
|
1186
1141
|
}
|
|
1187
1142
|
};
|
|
1188
|
-
var
|
|
1189
|
-
function
|
|
1190
|
-
for (let r of
|
|
1143
|
+
var Ta = [ka, Ba, Fa, Pa, Ia, Oa, Ra, $a, Ma, Na];
|
|
1144
|
+
function xa(t7, e) {
|
|
1145
|
+
for (let r of Ta)
|
|
1191
1146
|
r(t7, e);
|
|
1192
1147
|
return t7;
|
|
1193
1148
|
}
|
|
1194
|
-
function
|
|
1149
|
+
function ka(t7) {
|
|
1195
1150
|
t7.walk((e) => {
|
|
1196
1151
|
if (e.type === "element" && e.tagDefinition.ignoreFirstLf && e.children.length > 0 && e.children[0].type === "text" && e.children[0].value[0] === `
|
|
1197
1152
|
`) {
|
|
@@ -1200,7 +1155,7 @@ function za(t7) {
|
|
|
1200
1155
|
}
|
|
1201
1156
|
});
|
|
1202
1157
|
}
|
|
1203
|
-
function
|
|
1158
|
+
function Ba(t7) {
|
|
1204
1159
|
let e = (r) => {
|
|
1205
1160
|
var n, s;
|
|
1206
1161
|
return r.type === "element" && ((n = r.prev) == null ? void 0 : n.type) === "ieConditionalStartComment" && r.prev.sourceSpan.end.offset === r.startSourceSpan.start.offset && ((s = r.firstChild) == null ? void 0 : s.type) === "ieConditionalEndComment" && r.firstChild.sourceSpan.start.offset === r.startSourceSpan.end.offset;
|
|
@@ -1218,7 +1173,7 @@ function Ya(t7) {
|
|
|
1218
1173
|
}
|
|
1219
1174
|
});
|
|
1220
1175
|
}
|
|
1221
|
-
function
|
|
1176
|
+
function La(t7, e, r) {
|
|
1222
1177
|
t7.walk((n) => {
|
|
1223
1178
|
if (n.children)
|
|
1224
1179
|
for (let s = 0; s < n.children.length; s++) {
|
|
@@ -1231,10 +1186,10 @@ function ja(t7, e, r) {
|
|
|
1231
1186
|
}
|
|
1232
1187
|
});
|
|
1233
1188
|
}
|
|
1234
|
-
function
|
|
1235
|
-
return
|
|
1189
|
+
function Fa(t7) {
|
|
1190
|
+
return La(t7, (e) => e.type === "cdata", (e) => `<![CDATA[${e.value}]]>`);
|
|
1236
1191
|
}
|
|
1237
|
-
function
|
|
1192
|
+
function Na(t7) {
|
|
1238
1193
|
let e = (r) => {
|
|
1239
1194
|
var n, s;
|
|
1240
1195
|
return r.type === "element" && r.attrs.length === 0 && r.children.length === 1 && r.firstChild.type === "text" && !O.hasWhitespaceCharacter(r.children[0].value) && !r.firstChild.hasLeadingSpaces && !r.firstChild.hasTrailingSpaces && r.isLeadingSpaceSensitive && !r.hasLeadingSpaces && r.isTrailingSpaceSensitive && !r.hasTrailingSpaces && ((n = r.prev) == null ? void 0 : n.type) === "text" && ((s = r.next) == null ? void 0 : s.type) === "text";
|
|
@@ -1250,12 +1205,12 @@ function Xa(t7) {
|
|
|
1250
1205
|
}
|
|
1251
1206
|
});
|
|
1252
1207
|
}
|
|
1253
|
-
function
|
|
1208
|
+
function Pa(t7, e) {
|
|
1254
1209
|
if (e.parser === "html")
|
|
1255
1210
|
return;
|
|
1256
1211
|
let r = /\{\{(.+?)\}\}/su;
|
|
1257
1212
|
t7.walk((n) => {
|
|
1258
|
-
if (
|
|
1213
|
+
if (Bn(n))
|
|
1259
1214
|
for (let s of n.children) {
|
|
1260
1215
|
if (s.type !== "text")
|
|
1261
1216
|
continue;
|
|
@@ -1272,52 +1227,52 @@ function Qa(t7, e) {
|
|
|
1272
1227
|
}
|
|
1273
1228
|
});
|
|
1274
1229
|
}
|
|
1275
|
-
function
|
|
1276
|
-
t7.walk((
|
|
1277
|
-
let
|
|
1278
|
-
if (!
|
|
1230
|
+
function Ia(t7) {
|
|
1231
|
+
t7.walk((e) => {
|
|
1232
|
+
let r = e.$children;
|
|
1233
|
+
if (!r)
|
|
1279
1234
|
return;
|
|
1280
|
-
if (
|
|
1281
|
-
|
|
1235
|
+
if (r.length === 0 || r.length === 1 && r[0].type === "text" && O.trim(r[0].value).length === 0) {
|
|
1236
|
+
e.hasDanglingSpaces = r.length > 0, e.$children = [];
|
|
1282
1237
|
return;
|
|
1283
1238
|
}
|
|
1284
|
-
let
|
|
1285
|
-
if (!
|
|
1286
|
-
for (let
|
|
1287
|
-
let
|
|
1288
|
-
if (
|
|
1239
|
+
let n = Ln(e), s = _r(e);
|
|
1240
|
+
if (!n)
|
|
1241
|
+
for (let i = 0; i < r.length; i++) {
|
|
1242
|
+
let a = r[i];
|
|
1243
|
+
if (a.type !== "text")
|
|
1289
1244
|
continue;
|
|
1290
|
-
let { leadingWhitespace:
|
|
1291
|
-
|
|
1245
|
+
let { leadingWhitespace: o, text: u, trailingWhitespace: p } = kn(a.value), l = a.prev, f = a.next;
|
|
1246
|
+
u ? (a.value = u, a.sourceSpan = new h(a.sourceSpan.start.moveBy(o.length), a.sourceSpan.end.moveBy(-p.length)), o && (l && (l.hasTrailingSpaces = true), a.hasLeadingSpaces = true), p && (a.hasTrailingSpaces = true, f && (f.hasLeadingSpaces = true))) : (e.removeChild(a), i--, (o || p) && (l && (l.hasTrailingSpaces = true), f && (f.hasLeadingSpaces = true)));
|
|
1292
1247
|
}
|
|
1293
|
-
|
|
1248
|
+
e.isWhitespaceSensitive = n, e.isIndentationSensitive = s;
|
|
1294
1249
|
});
|
|
1295
1250
|
}
|
|
1296
|
-
function
|
|
1251
|
+
function Ra(t7) {
|
|
1297
1252
|
t7.walk((e) => {
|
|
1298
1253
|
e.isSelfClosing = !e.children || e.type === "element" && (e.tagDefinition.isVoid || e.endSourceSpan && e.startSourceSpan.start === e.endSourceSpan.start && e.startSourceSpan.end === e.endSourceSpan.end);
|
|
1299
1254
|
});
|
|
1300
1255
|
}
|
|
1301
|
-
function
|
|
1256
|
+
function $a(t7, e) {
|
|
1302
1257
|
t7.walk((r) => {
|
|
1303
1258
|
r.type === "element" && (r.hasHtmComponentClosingTag = r.endSourceSpan && /^<\s*\/\s*\/\s*>$/u.test(e.originalText.slice(r.endSourceSpan.start.offset, r.endSourceSpan.end.offset)));
|
|
1304
1259
|
});
|
|
1305
1260
|
}
|
|
1306
|
-
function
|
|
1261
|
+
function Oa(t7, e) {
|
|
1307
1262
|
t7.walk((r) => {
|
|
1308
|
-
r.cssDisplay =
|
|
1263
|
+
r.cssDisplay = Hn(r, e);
|
|
1309
1264
|
});
|
|
1310
1265
|
}
|
|
1311
|
-
function
|
|
1266
|
+
function Ma(t7, e) {
|
|
1312
1267
|
t7.walk((r) => {
|
|
1313
1268
|
let { children: n } = r;
|
|
1314
1269
|
if (n) {
|
|
1315
1270
|
if (n.length === 0) {
|
|
1316
|
-
r.isDanglingSpaceSensitive =
|
|
1271
|
+
r.isDanglingSpaceSensitive = Pn(r);
|
|
1317
1272
|
return;
|
|
1318
1273
|
}
|
|
1319
1274
|
for (let s of n)
|
|
1320
|
-
s.isLeadingSpaceSensitive =
|
|
1275
|
+
s.isLeadingSpaceSensitive = Fn(s, e), s.isTrailingSpaceSensitive = Nn(s, e);
|
|
1321
1276
|
for (let s = 0; s < n.length; s++) {
|
|
1322
1277
|
let i = n[s];
|
|
1323
1278
|
i.isLeadingSpaceSensitive = (s === 0 || i.prev.isTrailingSpaceSensitive) && i.isLeadingSpaceSensitive, i.isTrailingSpaceSensitive = (s === n.length - 1 || i.next.isLeadingSpaceSensitive) && i.isTrailingSpaceSensitive;
|
|
@@ -1325,8 +1280,8 @@ function ro(t7, e) {
|
|
|
1325
1280
|
}
|
|
1326
1281
|
});
|
|
1327
1282
|
}
|
|
1328
|
-
var
|
|
1329
|
-
function
|
|
1283
|
+
var bs = xa;
|
|
1284
|
+
function qa(t7, e, r) {
|
|
1330
1285
|
let { node: n } = t7;
|
|
1331
1286
|
switch (n.type) {
|
|
1332
1287
|
case "front-matter":
|
|
@@ -1335,11 +1290,11 @@ function no(t7, e, r) {
|
|
|
1335
1290
|
return e.__onHtmlRoot && e.__onHtmlRoot(n), [E(Re(t7, e, r)), S];
|
|
1336
1291
|
case "element":
|
|
1337
1292
|
case "ieConditionalComment":
|
|
1338
|
-
return
|
|
1293
|
+
return Ds(t7, e, r);
|
|
1339
1294
|
case "angularControlFlowBlock":
|
|
1340
|
-
return
|
|
1295
|
+
return Cs(t7, e, r);
|
|
1341
1296
|
case "angularControlFlowBlockParameters":
|
|
1342
|
-
return
|
|
1297
|
+
return _s(t7, e, r);
|
|
1343
1298
|
case "angularControlFlowBlockParameter":
|
|
1344
1299
|
return O.trim(n.expression);
|
|
1345
1300
|
case "angularLetDeclaration":
|
|
@@ -1347,68 +1302,68 @@ function no(t7, e, r) {
|
|
|
1347
1302
|
case "angularLetDeclarationInitializer":
|
|
1348
1303
|
return n.value;
|
|
1349
1304
|
case "angularIcuExpression":
|
|
1350
|
-
return
|
|
1305
|
+
return Es(t7, e, r);
|
|
1351
1306
|
case "angularIcuCase":
|
|
1352
|
-
return
|
|
1307
|
+
return As(t7, e, r);
|
|
1353
1308
|
case "ieConditionalStartComment":
|
|
1354
1309
|
case "ieConditionalEndComment":
|
|
1355
|
-
return [
|
|
1310
|
+
return [Ae(n), Ce(n)];
|
|
1356
1311
|
case "interpolation":
|
|
1357
|
-
return [
|
|
1312
|
+
return [Ae(n, e), ...t7.map(r, "children"), Ce(n, e)];
|
|
1358
1313
|
case "text": {
|
|
1359
1314
|
if (n.parent.type === "interpolation") {
|
|
1360
1315
|
let o = /\n[^\S\n]*$/u, u = o.test(n.value), p = u ? n.value.replace(o, "") : n.value;
|
|
1361
1316
|
return [B(p), u ? S : ""];
|
|
1362
1317
|
}
|
|
1363
|
-
let s =
|
|
1364
|
-
return i[0] = [s, i[0]], i.push([i.pop(), a]),
|
|
1318
|
+
let s = G(n, e), i = xt(n), a = z(n, e);
|
|
1319
|
+
return i[0] = [s, i[0]], i.push([i.pop(), a]), Dt(i);
|
|
1365
1320
|
}
|
|
1366
1321
|
case "docType":
|
|
1367
|
-
return [E([
|
|
1322
|
+
return [E([Ae(n, e), " ", w(false, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), Ce(n, e)];
|
|
1368
1323
|
case "comment":
|
|
1369
|
-
return [
|
|
1324
|
+
return [G(n, e), B(e.originalText.slice(J(n), Z(n))), z(n, e)];
|
|
1370
1325
|
case "attribute": {
|
|
1371
1326
|
if (n.value === null)
|
|
1372
1327
|
return n.rawName;
|
|
1373
|
-
let s =
|
|
1328
|
+
let s = vr(n.value), i = Cn(s, '"');
|
|
1374
1329
|
return [n.rawName, "=", i, B(i === '"' ? w(false, s, '"', """) : w(false, s, "'", "'")), i];
|
|
1375
1330
|
}
|
|
1376
1331
|
case "cdata":
|
|
1377
1332
|
default:
|
|
1378
|
-
throw new
|
|
1333
|
+
throw new _n(n, "HTML");
|
|
1379
1334
|
}
|
|
1380
1335
|
}
|
|
1381
|
-
var
|
|
1382
|
-
var
|
|
1383
|
-
var
|
|
1384
|
-
var
|
|
1385
|
-
var
|
|
1386
|
-
|
|
1387
|
-
var
|
|
1336
|
+
var Ha = { preprocess: bs, print: qa, insertPragma: ms, massageAstNode: An, embed: ls, getVisitorKeys: hs }, Ts = Ha;
|
|
1337
|
+
var xs = [{ linguistLanguageId: 146, name: "Angular", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [".component.html"], parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [] }, { linguistLanguageId: 146, name: "HTML", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml", ".mjml"], parsers: ["html"], vscodeLanguageIds: ["html"] }, { linguistLanguageId: 146, name: "Lightning Web Components", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [], parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [] }, { linguistLanguageId: 391, name: "Vue", type: "markup", color: "#41b883", extensions: [".vue"], tmScope: "text.html.vue", aceMode: "html", parsers: ["vue"], vscodeLanguageIds: ["vue"] }];
|
|
1338
|
+
var Br = { bracketSpacing: { category: "Common", type: "boolean", default: true, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, objectWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap object literals.", choices: [{ value: "preserve", description: "Keep as multi-line, if there is a newline between the opening brace and first property." }, { value: "collapse", description: "Fit to a single line when possible." }] }, singleQuote: { category: "Common", type: "boolean", default: false, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: false, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: false, description: "Enforce single attribute per line in HTML, Vue and JSX." } };
|
|
1339
|
+
var ks = "HTML", Va = { bracketSameLine: Br.bracketSameLine, htmlWhitespaceSensitivity: { category: ks, 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: Br.singleAttributePerLine, vueIndentScriptAndStyle: { category: ks, type: "boolean", default: false, description: "Indent script and style tags in Vue files." } }, Bs = Va;
|
|
1340
|
+
var Zr = {};
|
|
1341
|
+
on(Zr, { angular: () => qo, html: () => Mo, lwc: () => Vo, vue: () => Ho });
|
|
1342
|
+
var Ls;
|
|
1388
1343
|
(function(t7) {
|
|
1389
1344
|
t7[t7.Emulated = 0] = "Emulated", t7[t7.None = 2] = "None", t7[t7.ShadowDom = 3] = "ShadowDom";
|
|
1390
|
-
})(
|
|
1391
|
-
var
|
|
1345
|
+
})(Ls || (Ls = {}));
|
|
1346
|
+
var Fs;
|
|
1392
1347
|
(function(t7) {
|
|
1393
1348
|
t7[t7.OnPush = 0] = "OnPush", t7[t7.Default = 1] = "Default";
|
|
1394
|
-
})(
|
|
1395
|
-
var
|
|
1349
|
+
})(Fs || (Fs = {}));
|
|
1350
|
+
var Ns;
|
|
1396
1351
|
(function(t7) {
|
|
1397
1352
|
t7[t7.None = 0] = "None", t7[t7.SignalBased = 1] = "SignalBased", t7[t7.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
|
|
1398
|
-
})(
|
|
1399
|
-
var
|
|
1400
|
-
var
|
|
1353
|
+
})(Ns || (Ns = {}));
|
|
1354
|
+
var Lr = { name: "custom-elements" }, Fr = { name: "no-errors-schema" };
|
|
1355
|
+
var ee;
|
|
1401
1356
|
(function(t7) {
|
|
1402
1357
|
t7[t7.NONE = 0] = "NONE", t7[t7.HTML = 1] = "HTML", t7[t7.STYLE = 2] = "STYLE", t7[t7.SCRIPT = 3] = "SCRIPT", t7[t7.URL = 4] = "URL", t7[t7.RESOURCE_URL = 5] = "RESOURCE_URL";
|
|
1403
|
-
})(
|
|
1404
|
-
var
|
|
1358
|
+
})(ee || (ee = {}));
|
|
1359
|
+
var Ps;
|
|
1405
1360
|
(function(t7) {
|
|
1406
1361
|
t7[t7.Error = 0] = "Error", t7[t7.Warning = 1] = "Warning", t7[t7.Ignore = 2] = "Ignore";
|
|
1407
|
-
})(
|
|
1408
|
-
var
|
|
1362
|
+
})(Ps || (Ps = {}));
|
|
1363
|
+
var P;
|
|
1409
1364
|
(function(t7) {
|
|
1410
1365
|
t7[t7.RAW_TEXT = 0] = "RAW_TEXT", t7[t7.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", t7[t7.PARSABLE_DATA = 2] = "PARSABLE_DATA";
|
|
1411
|
-
})(
|
|
1366
|
+
})(P || (P = {}));
|
|
1412
1367
|
function ct(t7, e = true) {
|
|
1413
1368
|
if (t7[0] != ":")
|
|
1414
1369
|
return [null, t7];
|
|
@@ -1423,7 +1378,7 @@ function ct(t7, e = true) {
|
|
|
1423
1378
|
function Nr(t7) {
|
|
1424
1379
|
return ct(t7)[1] === "ng-container";
|
|
1425
1380
|
}
|
|
1426
|
-
function
|
|
1381
|
+
function Pr(t7) {
|
|
1427
1382
|
return ct(t7)[1] === "ng-content";
|
|
1428
1383
|
}
|
|
1429
1384
|
function Me(t7) {
|
|
@@ -1432,27 +1387,27 @@ function Me(t7) {
|
|
|
1432
1387
|
function qe(t7, e) {
|
|
1433
1388
|
return t7 ? `:${t7}:${e}` : e;
|
|
1434
1389
|
}
|
|
1435
|
-
var
|
|
1436
|
-
function
|
|
1437
|
-
return
|
|
1390
|
+
var qt;
|
|
1391
|
+
function Ir() {
|
|
1392
|
+
return qt || (qt = {}, Mt(ee.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), Mt(ee.STYLE, ["*|style"]), Mt(ee.URL, ["*|formAction", "area|href", "area|ping", "audio|src", "a|href", "a|ping", "blockquote|cite", "body|background", "del|cite", "form|action", "img|src", "input|src", "ins|cite", "q|cite", "source|src", "track|src", "video|poster", "video|src"]), Mt(ee.RESOURCE_URL, ["applet|code", "applet|codebase", "base|href", "embed|src", "frame|src", "head|profile", "html|manifest", "iframe|src", "link|href", "media|src", "object|codebase", "object|data", "script|src"])), qt;
|
|
1438
1393
|
}
|
|
1439
|
-
function
|
|
1394
|
+
function Mt(t7, e) {
|
|
1440
1395
|
for (let r of e)
|
|
1441
|
-
|
|
1396
|
+
qt[r.toLowerCase()] = t7;
|
|
1442
1397
|
}
|
|
1443
|
-
var
|
|
1398
|
+
var Ht = class {
|
|
1444
1399
|
};
|
|
1445
|
-
var ao = "boolean", oo = "number", uo = "string", lo = "object", co = ["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], js = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), po = Array.from(js).reduce((t7, [e, r]) => (t7.set(e, r), t7), /* @__PURE__ */ new Map()), Ut = class extends Vt {
|
|
1400
|
+
var Ua = "boolean", Wa = "number", za = "string", Ga = "object", Ya = ["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], Is = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), ja = Array.from(Is).reduce((t7, [e, r]) => (t7.set(e, r), t7), /* @__PURE__ */ new Map()), Vt = class extends Ht {
|
|
1446
1401
|
constructor() {
|
|
1447
|
-
super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(),
|
|
1402
|
+
super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), Ya.forEach((e) => {
|
|
1448
1403
|
let r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), [s, i] = e.split("|"), a = i.split(","), [o, u] = s.split("^");
|
|
1449
1404
|
o.split(",").forEach((l) => {
|
|
1450
1405
|
this._schema.set(l.toLowerCase(), r), this._eventSchema.set(l.toLowerCase(), n);
|
|
1451
1406
|
});
|
|
1452
1407
|
let p = u && this._schema.get(u.toLowerCase());
|
|
1453
1408
|
if (p) {
|
|
1454
|
-
for (let [l,
|
|
1455
|
-
r.set(l,
|
|
1409
|
+
for (let [l, f] of p)
|
|
1410
|
+
r.set(l, f);
|
|
1456
1411
|
for (let l of this._eventSchema.get(u.toLowerCase()))
|
|
1457
1412
|
n.add(l);
|
|
1458
1413
|
}
|
|
@@ -1463,41 +1418,41 @@ var ao = "boolean", oo = "number", uo = "string", lo = "object", co = ["[Element
|
|
|
1463
1418
|
n.add(l.substring(1));
|
|
1464
1419
|
break;
|
|
1465
1420
|
case "!":
|
|
1466
|
-
r.set(l.substring(1),
|
|
1421
|
+
r.set(l.substring(1), Ua);
|
|
1467
1422
|
break;
|
|
1468
1423
|
case "#":
|
|
1469
|
-
r.set(l.substring(1),
|
|
1424
|
+
r.set(l.substring(1), Wa);
|
|
1470
1425
|
break;
|
|
1471
1426
|
case "%":
|
|
1472
|
-
r.set(l.substring(1),
|
|
1427
|
+
r.set(l.substring(1), Ga);
|
|
1473
1428
|
break;
|
|
1474
1429
|
default:
|
|
1475
|
-
r.set(l,
|
|
1430
|
+
r.set(l, za);
|
|
1476
1431
|
}
|
|
1477
1432
|
});
|
|
1478
1433
|
});
|
|
1479
1434
|
}
|
|
1480
1435
|
hasProperty(e, r, n) {
|
|
1481
|
-
if (n.some((i) => i.name ===
|
|
1436
|
+
if (n.some((i) => i.name === Fr.name))
|
|
1482
1437
|
return true;
|
|
1483
1438
|
if (e.indexOf("-") > -1) {
|
|
1484
|
-
if (Nr(e) ||
|
|
1439
|
+
if (Nr(e) || Pr(e))
|
|
1485
1440
|
return false;
|
|
1486
|
-
if (n.some((i) => i.name ===
|
|
1441
|
+
if (n.some((i) => i.name === Lr.name))
|
|
1487
1442
|
return true;
|
|
1488
1443
|
}
|
|
1489
1444
|
return (this._schema.get(e.toLowerCase()) || this._schema.get("unknown")).has(r);
|
|
1490
1445
|
}
|
|
1491
1446
|
hasElement(e, r) {
|
|
1492
|
-
return r.some((n) => n.name ===
|
|
1447
|
+
return r.some((n) => n.name === Fr.name) || e.indexOf("-") > -1 && (Nr(e) || Pr(e) || r.some((n) => n.name === Lr.name)) ? true : this._schema.has(e.toLowerCase());
|
|
1493
1448
|
}
|
|
1494
1449
|
securityContext(e, r, n) {
|
|
1495
1450
|
n && (r = this.getMappedPropName(r)), e = e.toLowerCase(), r = r.toLowerCase();
|
|
1496
|
-
let s =
|
|
1497
|
-
return s || (s =
|
|
1451
|
+
let s = Ir()[e + "|" + r];
|
|
1452
|
+
return s || (s = Ir()["*|" + r], s || ee.NONE);
|
|
1498
1453
|
}
|
|
1499
1454
|
getMappedPropName(e) {
|
|
1500
|
-
return
|
|
1455
|
+
return Is.get(e) ?? e;
|
|
1501
1456
|
}
|
|
1502
1457
|
getDefaultComponentElementName() {
|
|
1503
1458
|
return "ng-component";
|
|
@@ -1514,17 +1469,17 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
1514
1469
|
}
|
|
1515
1470
|
allKnownAttributesOfElement(e) {
|
|
1516
1471
|
let r = this._schema.get(e.toLowerCase()) || this._schema.get("unknown");
|
|
1517
|
-
return Array.from(r.keys()).map((n) =>
|
|
1472
|
+
return Array.from(r.keys()).map((n) => ja.get(n) ?? n);
|
|
1518
1473
|
}
|
|
1519
1474
|
allKnownEventsOfElement(e) {
|
|
1520
1475
|
return Array.from(this._eventSchema.get(e.toLowerCase()) ?? []);
|
|
1521
1476
|
}
|
|
1522
1477
|
normalizeAnimationStyleProperty(e) {
|
|
1523
|
-
return
|
|
1478
|
+
return ws(e);
|
|
1524
1479
|
}
|
|
1525
1480
|
normalizeAnimationStyleValue(e, r, n) {
|
|
1526
1481
|
let s = "", i = n.toString().trim(), a = null;
|
|
1527
|
-
if (
|
|
1482
|
+
if (Ka(e) && n !== 0 && n !== "0")
|
|
1528
1483
|
if (typeof n == "number")
|
|
1529
1484
|
s = "px";
|
|
1530
1485
|
else {
|
|
@@ -1534,7 +1489,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
1534
1489
|
return { error: a, value: i + s };
|
|
1535
1490
|
}
|
|
1536
1491
|
};
|
|
1537
|
-
function
|
|
1492
|
+
function Ka(t7) {
|
|
1538
1493
|
switch (t7) {
|
|
1539
1494
|
case "width":
|
|
1540
1495
|
case "height":
|
|
@@ -1569,8 +1524,8 @@ function ho(t7) {
|
|
|
1569
1524
|
return false;
|
|
1570
1525
|
}
|
|
1571
1526
|
}
|
|
1572
|
-
var
|
|
1573
|
-
constructor({ closedByChildren: e, implicitNamespacePrefix: r, contentType: n =
|
|
1527
|
+
var m = class {
|
|
1528
|
+
constructor({ closedByChildren: e, implicitNamespacePrefix: r, contentType: n = P.PARSABLE_DATA, closedByParent: s = false, isVoid: i = false, ignoreFirstLf: a = false, preventNamespaceInheritance: o = false, canSelfClose: u = false } = {}) {
|
|
1574
1529
|
this.closedByChildren = {}, this.closedByParent = false, e && e.length > 0 && e.forEach((p) => this.closedByChildren[p] = true), this.isVoid = i, this.closedByParent = s || i, this.implicitNamespacePrefix = r || null, this.contentType = n, this.ignoreFirstLf = a, this.preventNamespaceInheritance = o, this.canSelfClose = u ?? i;
|
|
1575
1530
|
}
|
|
1576
1531
|
isClosedByChild(e) {
|
|
@@ -1579,24 +1534,24 @@ var d = class {
|
|
|
1579
1534
|
getContentType(e) {
|
|
1580
1535
|
return typeof this.contentType == "object" ? (e === void 0 ? void 0 : this.contentType[e]) ?? this.contentType.default : this.contentType;
|
|
1581
1536
|
}
|
|
1582
|
-
},
|
|
1537
|
+
}, Rs, pt;
|
|
1583
1538
|
function He(t7) {
|
|
1584
|
-
return pt || (
|
|
1585
|
-
!pt[e] && Me(e) === null && (pt[e] = new
|
|
1586
|
-
})), pt[t7] ??
|
|
1539
|
+
return pt || (Rs = new m({ canSelfClose: true }), pt = Object.assign(/* @__PURE__ */ Object.create(null), { base: new m({ isVoid: true }), meta: new m({ isVoid: true }), area: new m({ isVoid: true }), embed: new m({ isVoid: true }), link: new m({ isVoid: true }), img: new m({ isVoid: true }), input: new m({ isVoid: true }), param: new m({ isVoid: true }), hr: new m({ isVoid: true }), br: new m({ isVoid: true }), source: new m({ isVoid: true }), track: new m({ isVoid: true }), wbr: new m({ isVoid: true }), p: new m({ closedByChildren: ["address", "article", "aside", "blockquote", "div", "dl", "fieldset", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "nav", "ol", "p", "pre", "section", "table", "ul"], closedByParent: true }), thead: new m({ closedByChildren: ["tbody", "tfoot"] }), tbody: new m({ closedByChildren: ["tbody", "tfoot"], closedByParent: true }), tfoot: new m({ closedByChildren: ["tbody"], closedByParent: true }), tr: new m({ closedByChildren: ["tr"], closedByParent: true }), td: new m({ closedByChildren: ["td", "th"], closedByParent: true }), th: new m({ closedByChildren: ["td", "th"], closedByParent: true }), col: new m({ isVoid: true }), svg: new m({ implicitNamespacePrefix: "svg" }), foreignObject: new m({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: true }), math: new m({ implicitNamespacePrefix: "math" }), li: new m({ closedByChildren: ["li"], closedByParent: true }), dt: new m({ closedByChildren: ["dt", "dd"] }), dd: new m({ closedByChildren: ["dt", "dd"], closedByParent: true }), rb: new m({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), rt: new m({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), rtc: new m({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: true }), rp: new m({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), optgroup: new m({ closedByChildren: ["optgroup"], closedByParent: true }), option: new m({ closedByChildren: ["option", "optgroup"], closedByParent: true }), pre: new m({ ignoreFirstLf: true }), listing: new m({ ignoreFirstLf: true }), style: new m({ contentType: P.RAW_TEXT }), script: new m({ contentType: P.RAW_TEXT }), title: new m({ contentType: { default: P.ESCAPABLE_RAW_TEXT, svg: P.PARSABLE_DATA } }), textarea: new m({ contentType: P.ESCAPABLE_RAW_TEXT, ignoreFirstLf: true }) }), new Vt().allKnownElementNames().forEach((e) => {
|
|
1540
|
+
!pt[e] && Me(e) === null && (pt[e] = new m({ canSelfClose: false }));
|
|
1541
|
+
})), pt[t7] ?? Rs;
|
|
1587
1542
|
}
|
|
1588
1543
|
var ae = class {
|
|
1589
1544
|
constructor(e, r) {
|
|
1590
1545
|
this.sourceSpan = e, this.i18n = r;
|
|
1591
1546
|
}
|
|
1592
|
-
},
|
|
1547
|
+
}, Ut = class extends ae {
|
|
1593
1548
|
constructor(e, r, n, s) {
|
|
1594
1549
|
super(r, s), this.value = e, this.tokens = n, this.type = "text";
|
|
1595
1550
|
}
|
|
1596
1551
|
visit(e, r) {
|
|
1597
1552
|
return e.visitText(this, r);
|
|
1598
1553
|
}
|
|
1599
|
-
},
|
|
1554
|
+
}, Wt = class extends ae {
|
|
1600
1555
|
constructor(e, r, n, s) {
|
|
1601
1556
|
super(r, s), this.value = e, this.tokens = n, this.type = "cdata";
|
|
1602
1557
|
}
|
|
@@ -1610,14 +1565,14 @@ var ae = class {
|
|
|
1610
1565
|
visit(e, r) {
|
|
1611
1566
|
return e.visitExpansion(this, r);
|
|
1612
1567
|
}
|
|
1613
|
-
},
|
|
1568
|
+
}, Gt = class {
|
|
1614
1569
|
constructor(e, r, n, s, i) {
|
|
1615
1570
|
this.value = e, this.expression = r, this.sourceSpan = n, this.valueSourceSpan = s, this.expSourceSpan = i, this.type = "expansionCase";
|
|
1616
1571
|
}
|
|
1617
1572
|
visit(e, r) {
|
|
1618
1573
|
return e.visitExpansionCase(this, r);
|
|
1619
1574
|
}
|
|
1620
|
-
},
|
|
1575
|
+
}, Yt = class extends ae {
|
|
1621
1576
|
constructor(e, r, n, s, i, a, o) {
|
|
1622
1577
|
super(n, o), this.name = e, this.value = r, this.keySpan = s, this.valueSpan = i, this.valueTokens = a, this.type = "attribute";
|
|
1623
1578
|
}
|
|
@@ -1634,21 +1589,21 @@ var ae = class {
|
|
|
1634
1589
|
visit(e, r) {
|
|
1635
1590
|
return e.visitElement(this, r);
|
|
1636
1591
|
}
|
|
1637
|
-
},
|
|
1592
|
+
}, jt = class {
|
|
1638
1593
|
constructor(e, r) {
|
|
1639
1594
|
this.value = e, this.sourceSpan = r, this.type = "comment";
|
|
1640
1595
|
}
|
|
1641
1596
|
visit(e, r) {
|
|
1642
1597
|
return e.visitComment(this, r);
|
|
1643
1598
|
}
|
|
1644
|
-
},
|
|
1599
|
+
}, Kt = class {
|
|
1645
1600
|
constructor(e, r) {
|
|
1646
1601
|
this.value = e, this.sourceSpan = r, this.type = "docType";
|
|
1647
1602
|
}
|
|
1648
1603
|
visit(e, r) {
|
|
1649
1604
|
return e.visitDocType(this, r);
|
|
1650
1605
|
}
|
|
1651
|
-
},
|
|
1606
|
+
}, te = class extends ae {
|
|
1652
1607
|
constructor(e, r, n, s, i, a, o = null, u) {
|
|
1653
1608
|
super(s, u), this.name = e, this.parameters = r, this.children = n, this.nameSpan = i, this.startSourceSpan = a, this.endSourceSpan = o, this.type = "block";
|
|
1654
1609
|
}
|
|
@@ -1662,7 +1617,7 @@ var ae = class {
|
|
|
1662
1617
|
visit(e, r) {
|
|
1663
1618
|
return e.visitBlockParameter(this, r);
|
|
1664
1619
|
}
|
|
1665
|
-
},
|
|
1620
|
+
}, ft = class {
|
|
1666
1621
|
constructor(e, r, n, s, i) {
|
|
1667
1622
|
this.name = e, this.value = r, this.sourceSpan = n, this.nameSpan = s, this.valueSpan = i, this.type = "letDeclaration", this.startSourceSpan = null, this.endSourceSpan = null;
|
|
1668
1623
|
}
|
|
@@ -1677,7 +1632,7 @@ function Qt(t7, e, r = null) {
|
|
|
1677
1632
|
a && n.push(a);
|
|
1678
1633
|
}), n;
|
|
1679
1634
|
}
|
|
1680
|
-
var
|
|
1635
|
+
var mt = class {
|
|
1681
1636
|
constructor() {
|
|
1682
1637
|
}
|
|
1683
1638
|
visitElement(e, r) {
|
|
@@ -1720,64 +1675,64 @@ var ft = class {
|
|
|
1720
1675
|
}
|
|
1721
1676
|
};
|
|
1722
1677
|
var Ve = { AElig: "Æ", AMP: "&", amp: "&", Aacute: "Á", Abreve: "Ă", Acirc: "Â", Acy: "А", Afr: "𝔄", Agrave: "À", Alpha: "Α", Amacr: "Ā", And: "⩓", Aogon: "Ą", Aopf: "𝔸", ApplyFunction: "", af: "", Aring: "Å", angst: "Å", Ascr: "𝒜", Assign: "≔", colone: "≔", coloneq: "≔", Atilde: "Ã", Auml: "Ä", Backslash: "∖", setminus: "∖", setmn: "∖", smallsetminus: "∖", ssetmn: "∖", Barv: "⫧", Barwed: "⌆", doublebarwedge: "⌆", Bcy: "Б", Because: "∵", becaus: "∵", because: "∵", Bernoullis: "ℬ", Bscr: "ℬ", bernou: "ℬ", Beta: "Β", Bfr: "𝔅", Bopf: "𝔹", Breve: "˘", breve: "˘", Bumpeq: "≎", HumpDownHump: "≎", bump: "≎", CHcy: "Ч", COPY: "©", copy: "©", Cacute: "Ć", Cap: "⋒", CapitalDifferentialD: "ⅅ", DD: "ⅅ", Cayleys: "ℭ", Cfr: "ℭ", Ccaron: "Č", Ccedil: "Ç", Ccirc: "Ĉ", Cconint: "∰", Cdot: "Ċ", Cedilla: "¸", cedil: "¸", CenterDot: "·", centerdot: "·", middot: "·", Chi: "Χ", CircleDot: "⊙", odot: "⊙", CircleMinus: "⊖", ominus: "⊖", CirclePlus: "⊕", oplus: "⊕", CircleTimes: "⊗", otimes: "⊗", ClockwiseContourIntegral: "∲", cwconint: "∲", CloseCurlyDoubleQuote: "”", rdquo: "”", rdquor: "”", CloseCurlyQuote: "’", rsquo: "’", rsquor: "’", Colon: "∷", Proportion: "∷", Colone: "⩴", Congruent: "≡", equiv: "≡", Conint: "∯", DoubleContourIntegral: "∯", ContourIntegral: "∮", conint: "∮", oint: "∮", Copf: "ℂ", complexes: "ℂ", Coproduct: "∐", coprod: "∐", CounterClockwiseContourIntegral: "∳", awconint: "∳", Cross: "⨯", Cscr: "𝒞", Cup: "⋓", CupCap: "≍", asympeq: "≍", DDotrahd: "⤑", DJcy: "Ђ", DScy: "Ѕ", DZcy: "Џ", Dagger: "‡", ddagger: "‡", Darr: "↡", Dashv: "⫤", DoubleLeftTee: "⫤", Dcaron: "Ď", Dcy: "Д", Del: "∇", nabla: "∇", Delta: "Δ", Dfr: "𝔇", DiacriticalAcute: "´", acute: "´", DiacriticalDot: "˙", dot: "˙", DiacriticalDoubleAcute: "˝", dblac: "˝", DiacriticalGrave: "`", grave: "`", DiacriticalTilde: "˜", tilde: "˜", Diamond: "⋄", diam: "⋄", diamond: "⋄", DifferentialD: "ⅆ", dd: "ⅆ", Dopf: "𝔻", Dot: "¨", DoubleDot: "¨", die: "¨", uml: "¨", DotDot: "⃜", DotEqual: "≐", doteq: "≐", esdot: "≐", DoubleDownArrow: "⇓", Downarrow: "⇓", dArr: "⇓", DoubleLeftArrow: "⇐", Leftarrow: "⇐", lArr: "⇐", DoubleLeftRightArrow: "⇔", Leftrightarrow: "⇔", hArr: "⇔", iff: "⇔", DoubleLongLeftArrow: "⟸", Longleftarrow: "⟸", xlArr: "⟸", DoubleLongLeftRightArrow: "⟺", Longleftrightarrow: "⟺", xhArr: "⟺", DoubleLongRightArrow: "⟹", Longrightarrow: "⟹", xrArr: "⟹", DoubleRightArrow: "⇒", Implies: "⇒", Rightarrow: "⇒", rArr: "⇒", DoubleRightTee: "⊨", vDash: "⊨", DoubleUpArrow: "⇑", Uparrow: "⇑", uArr: "⇑", DoubleUpDownArrow: "⇕", Updownarrow: "⇕", vArr: "⇕", DoubleVerticalBar: "∥", par: "∥", parallel: "∥", shortparallel: "∥", spar: "∥", DownArrow: "↓", ShortDownArrow: "↓", darr: "↓", downarrow: "↓", DownArrowBar: "⤓", DownArrowUpArrow: "⇵", duarr: "⇵", DownBreve: "̑", DownLeftRightVector: "⥐", DownLeftTeeVector: "⥞", DownLeftVector: "↽", leftharpoondown: "↽", lhard: "↽", DownLeftVectorBar: "⥖", DownRightTeeVector: "⥟", DownRightVector: "⇁", rhard: "⇁", rightharpoondown: "⇁", DownRightVectorBar: "⥗", DownTee: "⊤", top: "⊤", DownTeeArrow: "↧", mapstodown: "↧", Dscr: "𝒟", Dstrok: "Đ", ENG: "Ŋ", ETH: "Ð", Eacute: "É", Ecaron: "Ě", Ecirc: "Ê", Ecy: "Э", Edot: "Ė", Efr: "𝔈", Egrave: "È", Element: "∈", in: "∈", isin: "∈", isinv: "∈", Emacr: "Ē", EmptySmallSquare: "◻", EmptyVerySmallSquare: "▫", Eogon: "Ę", Eopf: "𝔼", Epsilon: "Ε", Equal: "⩵", EqualTilde: "≂", eqsim: "≂", esim: "≂", Equilibrium: "⇌", rightleftharpoons: "⇌", rlhar: "⇌", Escr: "ℰ", expectation: "ℰ", Esim: "⩳", Eta: "Η", Euml: "Ë", Exists: "∃", exist: "∃", ExponentialE: "ⅇ", ee: "ⅇ", exponentiale: "ⅇ", Fcy: "Ф", Ffr: "𝔉", FilledSmallSquare: "◼", FilledVerySmallSquare: "▪", blacksquare: "▪", squarf: "▪", squf: "▪", Fopf: "𝔽", ForAll: "∀", forall: "∀", Fouriertrf: "ℱ", Fscr: "ℱ", GJcy: "Ѓ", GT: ">", gt: ">", Gamma: "Γ", Gammad: "Ϝ", Gbreve: "Ğ", Gcedil: "Ģ", Gcirc: "Ĝ", Gcy: "Г", Gdot: "Ġ", Gfr: "𝔊", Gg: "⋙", ggg: "⋙", Gopf: "𝔾", GreaterEqual: "≥", ge: "≥", geq: "≥", GreaterEqualLess: "⋛", gel: "⋛", gtreqless: "⋛", GreaterFullEqual: "≧", gE: "≧", geqq: "≧", GreaterGreater: "⪢", GreaterLess: "≷", gl: "≷", gtrless: "≷", GreaterSlantEqual: "⩾", geqslant: "⩾", ges: "⩾", GreaterTilde: "≳", gsim: "≳", gtrsim: "≳", Gscr: "𝒢", Gt: "≫", NestedGreaterGreater: "≫", gg: "≫", HARDcy: "Ъ", Hacek: "ˇ", caron: "ˇ", Hat: "^", Hcirc: "Ĥ", Hfr: "ℌ", Poincareplane: "ℌ", HilbertSpace: "ℋ", Hscr: "ℋ", hamilt: "ℋ", Hopf: "ℍ", quaternions: "ℍ", HorizontalLine: "─", boxh: "─", Hstrok: "Ħ", HumpEqual: "≏", bumpe: "≏", bumpeq: "≏", IEcy: "Е", IJlig: "IJ", IOcy: "Ё", Iacute: "Í", Icirc: "Î", Icy: "И", Idot: "İ", Ifr: "ℑ", Im: "ℑ", image: "ℑ", imagpart: "ℑ", Igrave: "Ì", Imacr: "Ī", ImaginaryI: "ⅈ", ii: "ⅈ", Int: "∬", Integral: "∫", int: "∫", Intersection: "⋂", bigcap: "⋂", xcap: "⋂", InvisibleComma: "", ic: "", InvisibleTimes: "", it: "", Iogon: "Į", Iopf: "𝕀", Iota: "Ι", Iscr: "ℐ", imagline: "ℐ", Itilde: "Ĩ", Iukcy: "І", Iuml: "Ï", Jcirc: "Ĵ", Jcy: "Й", Jfr: "𝔍", Jopf: "𝕁", Jscr: "𝒥", Jsercy: "Ј", Jukcy: "Є", KHcy: "Х", KJcy: "Ќ", Kappa: "Κ", Kcedil: "Ķ", Kcy: "К", Kfr: "𝔎", Kopf: "𝕂", Kscr: "𝒦", LJcy: "Љ", LT: "<", lt: "<", Lacute: "Ĺ", Lambda: "Λ", Lang: "⟪", Laplacetrf: "ℒ", Lscr: "ℒ", lagran: "ℒ", Larr: "↞", twoheadleftarrow: "↞", Lcaron: "Ľ", Lcedil: "Ļ", Lcy: "Л", LeftAngleBracket: "⟨", lang: "⟨", langle: "⟨", LeftArrow: "←", ShortLeftArrow: "←", larr: "←", leftarrow: "←", slarr: "←", LeftArrowBar: "⇤", larrb: "⇤", LeftArrowRightArrow: "⇆", leftrightarrows: "⇆", lrarr: "⇆", LeftCeiling: "⌈", lceil: "⌈", LeftDoubleBracket: "⟦", lobrk: "⟦", LeftDownTeeVector: "⥡", LeftDownVector: "⇃", dharl: "⇃", downharpoonleft: "⇃", LeftDownVectorBar: "⥙", LeftFloor: "⌊", lfloor: "⌊", LeftRightArrow: "↔", harr: "↔", leftrightarrow: "↔", LeftRightVector: "⥎", LeftTee: "⊣", dashv: "⊣", LeftTeeArrow: "↤", mapstoleft: "↤", LeftTeeVector: "⥚", LeftTriangle: "⊲", vartriangleleft: "⊲", vltri: "⊲", LeftTriangleBar: "⧏", LeftTriangleEqual: "⊴", ltrie: "⊴", trianglelefteq: "⊴", LeftUpDownVector: "⥑", LeftUpTeeVector: "⥠", LeftUpVector: "↿", uharl: "↿", upharpoonleft: "↿", LeftUpVectorBar: "⥘", LeftVector: "↼", leftharpoonup: "↼", lharu: "↼", LeftVectorBar: "⥒", LessEqualGreater: "⋚", leg: "⋚", lesseqgtr: "⋚", LessFullEqual: "≦", lE: "≦", leqq: "≦", LessGreater: "≶", lessgtr: "≶", lg: "≶", LessLess: "⪡", LessSlantEqual: "⩽", leqslant: "⩽", les: "⩽", LessTilde: "≲", lesssim: "≲", lsim: "≲", Lfr: "𝔏", Ll: "⋘", Lleftarrow: "⇚", lAarr: "⇚", Lmidot: "Ŀ", LongLeftArrow: "⟵", longleftarrow: "⟵", xlarr: "⟵", LongLeftRightArrow: "⟷", longleftrightarrow: "⟷", xharr: "⟷", LongRightArrow: "⟶", longrightarrow: "⟶", xrarr: "⟶", Lopf: "𝕃", LowerLeftArrow: "↙", swarr: "↙", swarrow: "↙", LowerRightArrow: "↘", searr: "↘", searrow: "↘", Lsh: "↰", lsh: "↰", Lstrok: "Ł", Lt: "≪", NestedLessLess: "≪", ll: "≪", Map: "⤅", Mcy: "М", MediumSpace: " ", Mellintrf: "ℳ", Mscr: "ℳ", phmmat: "ℳ", Mfr: "𝔐", MinusPlus: "∓", mnplus: "∓", mp: "∓", Mopf: "𝕄", Mu: "Μ", NJcy: "Њ", Nacute: "Ń", Ncaron: "Ň", Ncedil: "Ņ", Ncy: "Н", NegativeMediumSpace: "", NegativeThickSpace: "", NegativeThinSpace: "", NegativeVeryThinSpace: "", ZeroWidthSpace: "", NewLine: `
|
|
1723
|
-
`, Nfr: "𝔑", NoBreak: "", NonBreakingSpace: " ", nbsp: " ", Nopf: "ℕ", naturals: "ℕ", Not: "⫬", NotCongruent: "≢", nequiv: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", npar: "∦", nparallel: "∦", nshortparallel: "∦", nspar: "∦", NotElement: "∉", notin: "∉", notinva: "∉", NotEqual: "≠", ne: "≠", NotEqualTilde: "≂̸", nesim: "≂̸", NotExists: "∄", nexist: "∄", nexists: "∄", NotGreater: "≯", ngt: "≯", ngtr: "≯", NotGreaterEqual: "≱", nge: "≱", ngeq: "≱", NotGreaterFullEqual: "≧̸", ngE: "≧̸", ngeqq: "≧̸", NotGreaterGreater: "≫̸", nGtv: "≫̸", NotGreaterLess: "≹", ntgl: "≹", NotGreaterSlantEqual: "⩾̸", ngeqslant: "⩾̸", nges: "⩾̸", NotGreaterTilde: "≵", ngsim: "≵", NotHumpDownHump: "≎̸", nbump: "≎̸", NotHumpEqual: "≏̸", nbumpe: "≏̸", NotLeftTriangle: "⋪", nltri: "⋪", ntriangleleft: "⋪", NotLeftTriangleBar: "⧏̸", NotLeftTriangleEqual: "⋬", nltrie: "⋬", ntrianglelefteq: "⋬", NotLess: "≮", nless: "≮", nlt: "≮", NotLessEqual: "≰", nle: "≰", nleq: "≰", NotLessGreater: "≸", ntlg: "≸", NotLessLess: "≪̸", nLtv: "≪̸", NotLessSlantEqual: "⩽̸", nleqslant: "⩽̸", nles: "⩽̸", NotLessTilde: "≴", nlsim: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", NotPrecedes: "⊀", npr: "⊀", nprec: "⊀", NotPrecedesEqual: "⪯̸", npre: "⪯̸", npreceq: "⪯̸", NotPrecedesSlantEqual: "⋠", nprcue: "⋠", NotReverseElement: "∌", notni: "∌", notniva: "∌", NotRightTriangle: "⋫", nrtri: "⋫", ntriangleright: "⋫", NotRightTriangleBar: "⧐̸", NotRightTriangleEqual: "⋭", nrtrie: "⋭", ntrianglerighteq: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", nsqsube: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", nsqsupe: "⋣", NotSubset: "⊂⃒", nsubset: "⊂⃒", vnsub: "⊂⃒", NotSubsetEqual: "⊈", nsube: "⊈", nsubseteq: "⊈", NotSucceeds: "⊁", nsc: "⊁", nsucc: "⊁", NotSucceedsEqual: "⪰̸", nsce: "⪰̸", nsucceq: "⪰̸", NotSucceedsSlantEqual: "⋡", nsccue: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", nsupset: "⊃⃒", vnsup: "⊃⃒", NotSupersetEqual: "⊉", nsupe: "⊉", nsupseteq: "⊉", NotTilde: "≁", nsim: "≁", NotTildeEqual: "≄", nsime: "≄", nsimeq: "≄", NotTildeFullEqual: "≇", ncong: "≇", NotTildeTilde: "≉", nap: "≉", napprox: "≉", NotVerticalBar: "∤", nmid: "∤", nshortmid: "∤", nsmid: "∤", Nscr: "𝒩", Ntilde: "Ñ", Nu: "Ν", OElig: "Œ", Oacute: "Ó", Ocirc: "Ô", Ocy: "О", Odblac: "Ő", Ofr: "𝔒", Ograve: "Ò", Omacr: "Ō", Omega: "Ω", ohm: "Ω", Omicron: "Ο", Oopf: "𝕆", OpenCurlyDoubleQuote: "“", ldquo: "“", OpenCurlyQuote: "‘", lsquo: "‘", Or: "⩔", Oscr: "𝒪", Oslash: "Ø", Otilde: "Õ", Otimes: "⨷", Ouml: "Ö", OverBar: "‾", oline: "‾", OverBrace: "⏞", OverBracket: "⎴", tbrk: "⎴", OverParenthesis: "⏜", PartialD: "∂", part: "∂", Pcy: "П", Pfr: "𝔓", Phi: "Φ", Pi: "Π", PlusMinus: "±", plusmn: "±", pm: "±", Popf: "ℙ", primes: "ℙ", Pr: "⪻", Precedes: "≺", pr: "≺", prec: "≺", PrecedesEqual: "⪯", pre: "⪯", preceq: "⪯", PrecedesSlantEqual: "≼", prcue: "≼", preccurlyeq: "≼", PrecedesTilde: "≾", precsim: "≾", prsim: "≾", Prime: "″", Product: "∏", prod: "∏", Proportional: "∝", prop: "∝", propto: "∝", varpropto: "∝", vprop: "∝", Pscr: "𝒫", Psi: "Ψ", QUOT: '"', quot: '"', Qfr: "𝔔", Qopf: "ℚ", rationals: "ℚ", Qscr: "𝒬", RBarr: "⤐", drbkarow: "⤐", REG: "®", circledR: "®", reg: "®", Racute: "Ŕ", Rang: "⟫", Rarr: "↠", twoheadrightarrow: "↠", Rarrtl: "⤖", Rcaron: "Ř", Rcedil: "Ŗ", Rcy: "Р", Re: "ℜ", Rfr: "ℜ", real: "ℜ", realpart: "ℜ", ReverseElement: "∋", SuchThat: "∋", ni: "∋", niv: "∋", ReverseEquilibrium: "⇋", leftrightharpoons: "⇋", lrhar: "⇋", ReverseUpEquilibrium: "⥯", duhar: "⥯", Rho: "Ρ", RightAngleBracket: "⟩", rang: "⟩", rangle: "⟩", RightArrow: "→", ShortRightArrow: "→", rarr: "→", rightarrow: "→", srarr: "→", RightArrowBar: "⇥", rarrb: "⇥", RightArrowLeftArrow: "⇄", rightleftarrows: "⇄", rlarr: "⇄", RightCeiling: "⌉", rceil: "⌉", RightDoubleBracket: "⟧", robrk: "⟧", RightDownTeeVector: "⥝", RightDownVector: "⇂", dharr: "⇂", downharpoonright: "⇂", RightDownVectorBar: "⥕", RightFloor: "⌋", rfloor: "⌋", RightTee: "⊢", vdash: "⊢", RightTeeArrow: "↦", map: "↦", mapsto: "↦", RightTeeVector: "⥛", RightTriangle: "⊳", vartriangleright: "⊳", vrtri: "⊳", RightTriangleBar: "⧐", RightTriangleEqual: "⊵", rtrie: "⊵", trianglerighteq: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVector: "↾", uharr: "↾", upharpoonright: "↾", RightUpVectorBar: "⥔", RightVector: "⇀", rharu: "⇀", rightharpoonup: "⇀", RightVectorBar: "⥓", Ropf: "ℝ", reals: "ℝ", RoundImplies: "⥰", Rrightarrow: "⇛", rAarr: "⇛", Rscr: "ℛ", realine: "ℛ", Rsh: "↱", rsh: "↱", RuleDelayed: "⧴", SHCHcy: "Щ", SHcy: "Ш", SOFTcy: "Ь", Sacute: "Ś", Sc: "⪼", Scaron: "Š", Scedil: "Ş", Scirc: "Ŝ", Scy: "С", Sfr: "𝔖", ShortUpArrow: "↑", UpArrow: "↑", uarr: "↑", uparrow: "↑", Sigma: "Σ", SmallCircle: "∘", compfn: "∘", Sopf: "𝕊", Sqrt: "√", radic: "√", Square: "□", squ: "□", square: "□", SquareIntersection: "⊓", sqcap: "⊓", SquareSubset: "⊏", sqsub: "⊏", sqsubset: "⊏", SquareSubsetEqual: "⊑", sqsube: "⊑", sqsubseteq: "⊑", SquareSuperset: "⊐", sqsup: "⊐", sqsupset: "⊐", SquareSupersetEqual: "⊒", sqsupe: "⊒", sqsupseteq: "⊒", SquareUnion: "⊔", sqcup: "⊔", Sscr: "𝒮", Star: "⋆", sstarf: "⋆", Sub: "⋐", Subset: "⋐", SubsetEqual: "⊆", sube: "⊆", subseteq: "⊆", Succeeds: "≻", sc: "≻", succ: "≻", SucceedsEqual: "⪰", sce: "⪰", succeq: "⪰", SucceedsSlantEqual: "≽", sccue: "≽", succcurlyeq: "≽", SucceedsTilde: "≿", scsim: "≿", succsim: "≿", Sum: "∑", sum: "∑", Sup: "⋑", Supset: "⋑", Superset: "⊃", sup: "⊃", supset: "⊃", SupersetEqual: "⊇", supe: "⊇", supseteq: "⊇", THORN: "Þ", TRADE: "™", trade: "™", TSHcy: "Ћ", TScy: "Ц", Tab: " ", Tau: "Τ", Tcaron: "Ť", Tcedil: "Ţ", Tcy: "Т", Tfr: "𝔗", Therefore: "∴", there4: "∴", therefore: "∴", Theta: "Θ", ThickSpace: " ", ThinSpace: " ", thinsp: " ", Tilde: "∼", sim: "∼", thicksim: "∼", thksim: "∼", TildeEqual: "≃", sime: "≃", simeq: "≃", TildeFullEqual: "≅", cong: "≅", TildeTilde: "≈", ap: "≈", approx: "≈", asymp: "≈", thickapprox: "≈", thkap: "≈", Topf: "𝕋", TripleDot: "⃛", tdot: "⃛", Tscr: "𝒯", Tstrok: "Ŧ", Uacute: "Ú", Uarr: "↟", Uarrocir: "⥉", Ubrcy: "Ў", Ubreve: "Ŭ", Ucirc: "Û", Ucy: "У", Udblac: "Ű", Ufr: "𝔘", Ugrave: "Ù", Umacr: "Ū", UnderBar: "_", lowbar: "_", UnderBrace: "⏟", UnderBracket: "⎵", bbrk: "⎵", UnderParenthesis: "⏝", Union: "⋃", bigcup: "⋃", xcup: "⋃", UnionPlus: "⊎", uplus: "⊎", Uogon: "Ų", Uopf: "𝕌", UpArrowBar: "⤒", UpArrowDownArrow: "⇅", udarr: "⇅", UpDownArrow: "↕", updownarrow: "↕", varr: "↕", UpEquilibrium: "⥮", udhar: "⥮", UpTee: "⊥", bot: "⊥", bottom: "⊥", perp: "⊥", UpTeeArrow: "↥", mapstoup: "↥", UpperLeftArrow: "↖", nwarr: "↖", nwarrow: "↖", UpperRightArrow: "↗", nearr: "↗", nearrow: "↗", Upsi: "ϒ", upsih: "ϒ", Upsilon: "Υ", Uring: "Ů", Uscr: "𝒰", Utilde: "Ũ", Uuml: "Ü", VDash: "⊫", Vbar: "⫫", Vcy: "В", Vdash: "⊩", Vdashl: "⫦", Vee: "⋁", bigvee: "⋁", xvee: "⋁", Verbar: "‖", Vert: "‖", VerticalBar: "∣", mid: "∣", shortmid: "∣", smid: "∣", VerticalLine: "|", verbar: "|", vert: "|", VerticalSeparator: "❘", VerticalTilde: "≀", wr: "≀", wreath: "≀", VeryThinSpace: " ", hairsp: " ", Vfr: "𝔙", Vopf: "𝕍", Vscr: "𝒱", Vvdash: "⊪", Wcirc: "Ŵ", Wedge: "⋀", bigwedge: "⋀", xwedge: "⋀", Wfr: "𝔚", Wopf: "𝕎", Wscr: "𝒲", Xfr: "𝔛", Xi: "Ξ", Xopf: "𝕏", Xscr: "𝒳", YAcy: "Я", YIcy: "Ї", YUcy: "Ю", Yacute: "Ý", Ycirc: "Ŷ", Ycy: "Ы", Yfr: "𝔜", Yopf: "𝕐", Yscr: "𝒴", Yuml: "Ÿ", ZHcy: "Ж", Zacute: "Ź", Zcaron: "Ž", Zcy: "З", Zdot: "Ż", Zeta: "Ζ", Zfr: "ℨ", zeetrf: "ℨ", Zopf: "ℤ", integers: "ℤ", Zscr: "𝒵", aacute: "á", abreve: "ă", ac: "∾", mstpos: "∾", acE: "∾̳", acd: "∿", acirc: "â", acy: "а", aelig: "æ", afr: "𝔞", agrave: "à", alefsym: "ℵ", aleph: "ℵ", alpha: "α", amacr: "ā", amalg: "⨿", and: "∧", wedge: "∧", andand: "⩕", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", angle: "∠", ange: "⦤", angmsd: "∡", measuredangle: "∡", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angzarr: "⍼", aogon: "ą", aopf: "𝕒", apE: "⩰", apacir: "⩯", ape: "≊", approxeq: "≊", apid: "≋", apos: "'", aring: "å", ascr: "𝒶", ast: "*", midast: "*", atilde: "ã", auml: "ä", awint: "⨑", bNot: "⫭", backcong: "≌", bcong: "≌", backepsilon: "϶", bepsi: "϶", backprime: "‵", bprime: "‵", backsim: "∽", bsim: "∽", backsimeq: "⋍", bsime: "⋍", barvee: "⊽", barwed: "⌅", barwedge: "⌅", bbrktbrk: "⎶", bcy: "б", bdquo: "„", ldquor: "„", bemptyv: "⦰", beta: "β", beth: "ℶ", between: "≬", twixt: "≬", bfr: "𝔟", bigcirc: "◯", xcirc: "◯", bigodot: "⨀", xodot: "⨀", bigoplus: "⨁", xoplus: "⨁", bigotimes: "⨂", xotime: "⨂", bigsqcup: "⨆", xsqcup: "⨆", bigstar: "★", starf: "★", bigtriangledown: "▽", xdtri: "▽", bigtriangleup: "△", xutri: "△", biguplus: "⨄", xuplus: "⨄", bkarow: "⤍", rbarr: "⤍", blacklozenge: "⧫", lozf: "⧫", blacktriangle: "▴", utrif: "▴", blacktriangledown: "▾", dtrif: "▾", blacktriangleleft: "◂", ltrif: "◂", blacktriangleright: "▸", rtrif: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bnot: "⌐", bopf: "𝕓", bowtie: "⋈", boxDL: "╗", boxDR: "╔", boxDl: "╖", boxDr: "╓", boxH: "═", boxHD: "╦", boxHU: "╩", boxHd: "╤", boxHu: "╧", boxUL: "╝", boxUR: "╚", boxUl: "╜", boxUr: "╙", boxV: "║", boxVH: "╬", boxVL: "╣", boxVR: "╠", boxVh: "╫", boxVl: "╢", boxVr: "╟", boxbox: "⧉", boxdL: "╕", boxdR: "╒", boxdl: "┐", boxdr: "┌", boxhD: "╥", boxhU: "╨", boxhd: "┬", boxhu: "┴", boxminus: "⊟", minusb: "⊟", boxplus: "⊞", plusb: "⊞", boxtimes: "⊠", timesb: "⊠", boxuL: "╛", boxuR: "╘", boxul: "┘", boxur: "└", boxv: "│", boxvH: "╪", boxvL: "╡", boxvR: "╞", boxvh: "┼", boxvl: "┤", boxvr: "├", brvbar: "¦", bscr: "𝒷", bsemi: "⁏", bsol: "\\", bsolb: "⧅", bsolhsub: "⟈", bull: "•", bullet: "•", bumpE: "⪮", cacute: "ć", cap: "∩", capand: "⩄", capbrcup: "⩉", capcap: "⩋", capcup: "⩇", capdot: "⩀", caps: "∩︀", caret: "⁁", ccaps: "⩍", ccaron: "č", ccedil: "ç", ccirc: "ĉ", ccups: "⩌", ccupssm: "⩐", cdot: "ċ", cemptyv: "⦲", cent: "¢", cfr: "𝔠", chcy: "ч", check: "✓", checkmark: "✓", chi: "χ", cir: "○", cirE: "⧃", circ: "ˆ", circeq: "≗", cire: "≗", circlearrowleft: "↺", olarr: "↺", circlearrowright: "↻", orarr: "↻", circledS: "Ⓢ", oS: "Ⓢ", circledast: "⊛", oast: "⊛", circledcirc: "⊚", ocir: "⊚", circleddash: "⊝", odash: "⊝", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", clubs: "♣", clubsuit: "♣", colon: ":", comma: ",", commat: "@", comp: "∁", complement: "∁", congdot: "⩭", copf: "𝕔", copysr: "℗", crarr: "↵", cross: "✗", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", curlyeqprec: "⋞", cuesc: "⋟", curlyeqsucc: "⋟", cularr: "↶", curvearrowleft: "↶", cularrp: "⤽", cup: "∪", cupbrcap: "⩈", cupcap: "⩆", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curvearrowright: "↷", curarrm: "⤼", curlyvee: "⋎", cuvee: "⋎", curlywedge: "⋏", cuwed: "⋏", curren: "¤", cwint: "∱", cylcty: "⌭", dHar: "⥥", dagger: "†", daleth: "ℸ", dash: "‐", hyphen: "‐", dbkarow: "⤏", rBarr: "⤏", dcaron: "ď", dcy: "д", ddarr: "⇊", downdownarrows: "⇊", ddotseq: "⩷", eDDot: "⩷", deg: "°", delta: "δ", demptyv: "⦱", dfisht: "⥿", dfr: "𝔡", diamondsuit: "♦", diams: "♦", digamma: "ϝ", gammad: "ϝ", disin: "⋲", div: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", djcy: "ђ", dlcorn: "⌞", llcorner: "⌞", dlcrop: "⌍", dollar: "$", dopf: "𝕕", doteqdot: "≑", eDot: "≑", dotminus: "∸", minusd: "∸", dotplus: "∔", plusdo: "∔", dotsquare: "⊡", sdotb: "⊡", drcorn: "⌟", lrcorner: "⌟", drcrop: "⌌", dscr: "𝒹", dscy: "ѕ", dsol: "⧶", dstrok: "đ", dtdot: "⋱", dtri: "▿", triangledown: "▿", dwangle: "⦦", dzcy: "џ", dzigrarr: "⟿", eacute: "é", easter: "⩮", ecaron: "ě", ecir: "≖", eqcirc: "≖", ecirc: "ê", ecolon: "≕", eqcolon: "≕", ecy: "э", edot: "ė", efDot: "≒", fallingdotseq: "≒", efr: "𝔢", eg: "⪚", egrave: "è", egs: "⪖", eqslantgtr: "⪖", egsdot: "⪘", el: "⪙", elinters: "⏧", ell: "ℓ", els: "⪕", eqslantless: "⪕", elsdot: "⪗", emacr: "ē", empty: "∅", emptyset: "∅", emptyv: "∅", varnothing: "∅", emsp13: " ", emsp14: " ", emsp: " ", eng: "ŋ", ensp: " ", eogon: "ę", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", epsilon: "ε", epsiv: "ϵ", straightepsilon: "ϵ", varepsilon: "ϵ", equals: "=", equest: "≟", questeq: "≟", equivDD: "⩸", eqvparsl: "⧥", erDot: "≓", risingdotseq: "≓", erarr: "⥱", escr: "ℯ", eta: "η", eth: "ð", euml: "ë", euro: "€", excl: "!", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", ffr: "𝔣", filig: "fi", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", fopf: "𝕗", fork: "⋔", pitchfork: "⋔", forkv: "⫙", fpartint: "⨍", frac12: "½", half: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", sfrown: "⌢", fscr: "𝒻", gEl: "⪌", gtreqqless: "⪌", gacute: "ǵ", gamma: "γ", gap: "⪆", gtrapprox: "⪆", gbreve: "ğ", gcirc: "ĝ", gcy: "г", gdot: "ġ", gescc: "⪩", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", gfr: "𝔤", gimel: "ℷ", gjcy: "ѓ", glE: "⪒", gla: "⪥", glj: "⪤", gnE: "≩", gneqq: "≩", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gneq: "⪈", gnsim: "⋧", gopf: "𝕘", gscr: "ℊ", gsime: "⪎", gsiml: "⪐", gtcc: "⪧", gtcir: "⩺", gtdot: "⋗", gtrdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrarr: "⥸", gvertneqq: "≩︀", gvnE: "≩︀", hardcy: "ъ", harrcir: "⥈", harrw: "↭", leftrightsquigarrow: "↭", hbar: "ℏ", hslash: "ℏ", planck: "ℏ", plankv: "ℏ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", mldr: "…", hercon: "⊹", hfr: "𝔥", hksearow: "⤥", searhk: "⤥", hkswarow: "⤦", swarhk: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", larrhk: "↩", hookrightarrow: "↪", rarrhk: "↪", hopf: "𝕙", horbar: "―", hscr: "𝒽", hstrok: "ħ", hybull: "⁃", iacute: "í", icirc: "î", icy: "и", iecy: "е", iexcl: "¡", ifr: "𝔦", igrave: "ì", iiiint: "⨌", qint: "⨌", iiint: "∭", tint: "∭", iinfin: "⧜", iiota: "℩", ijlig: "ij", imacr: "ī", imath: "ı", inodot: "ı", imof: "⊷", imped: "Ƶ", incare: "℅", infin: "∞", infintie: "⧝", intcal: "⊺", intercal: "⊺", intlarhk: "⨗", intprod: "⨼", iprod: "⨼", iocy: "ё", iogon: "į", iopf: "𝕚", iota: "ι", iquest: "¿", iscr: "𝒾", isinE: "⋹", isindot: "⋵", isins: "⋴", isinsv: "⋳", itilde: "ĩ", iukcy: "і", iuml: "ï", jcirc: "ĵ", jcy: "й", jfr: "𝔧", jmath: "ȷ", jopf: "𝕛", jscr: "𝒿", jsercy: "ј", jukcy: "є", kappa: "κ", kappav: "ϰ", varkappa: "ϰ", kcedil: "ķ", kcy: "к", kfr: "𝔨", kgreen: "ĸ", khcy: "х", kjcy: "ќ", kopf: "𝕜", kscr: "𝓀", lAtail: "⤛", lBarr: "⤎", lEg: "⪋", lesseqqgtr: "⪋", lHar: "⥢", lacute: "ĺ", laemptyv: "⦴", lambda: "λ", langd: "⦑", lap: "⪅", lessapprox: "⪅", laquo: "«", larrbfs: "⤟", larrfs: "⤝", larrlp: "↫", looparrowleft: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", leftarrowtail: "↢", lat: "⪫", latail: "⤙", late: "⪭", lates: "⪭︀", lbarr: "⤌", lbbrk: "❲", lbrace: "{", lcub: "{", lbrack: "[", lsqb: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", lcaron: "ľ", lcedil: "ļ", lcy: "л", ldca: "⤶", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", leq: "≤", leftleftarrows: "⇇", llarr: "⇇", leftthreetimes: "⋋", lthree: "⋋", lescc: "⪨", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessdot: "⋖", ltdot: "⋖", lfisht: "⥼", lfr: "𝔩", lgE: "⪑", lharul: "⥪", lhblk: "▄", ljcy: "љ", llhard: "⥫", lltri: "◺", lmidot: "ŀ", lmoust: "⎰", lmoustache: "⎰", lnE: "≨", lneqq: "≨", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lneq: "⪇", lnsim: "⋦", loang: "⟬", loarr: "⇽", longmapsto: "⟼", xmap: "⟼", looparrowright: "↬", rarrlp: "↬", lopar: "⦅", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", loz: "◊", lozenge: "◊", lpar: "(", lparlt: "⦓", lrhard: "⥭", lrm: "", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", lsime: "⪍", lsimg: "⪏", lsquor: "‚", sbquo: "‚", lstrok: "ł", ltcc: "⪦", ltcir: "⩹", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltrPar: "⦖", ltri: "◃", triangleleft: "◃", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", mDDot: "∺", macr: "¯", strns: "¯", male: "♂", malt: "✠", maltese: "✠", marker: "▮", mcomma: "⨩", mcy: "м", mdash: "—", mfr: "𝔪", mho: "℧", micro: "µ", midcir: "⫰", minus: "−", minusdu: "⨪", mlcp: "⫛", models: "⊧", mopf: "𝕞", mscr: "𝓂", mu: "μ", multimap: "⊸", mumap: "⊸", nGg: "⋙̸", nGt: "≫⃒", nLeftarrow: "⇍", nlArr: "⇍", nLeftrightarrow: "⇎", nhArr: "⇎", nLl: "⋘̸", nLt: "≪⃒", nRightarrow: "⇏", nrArr: "⇏", nVDash: "⊯", nVdash: "⊮", nacute: "ń", nang: "∠⃒", napE: "⩰̸", napid: "≋̸", napos: "ʼn", natur: "♮", natural: "♮", ncap: "⩃", ncaron: "ň", ncedil: "ņ", ncongdot: "⩭̸", ncup: "⩂", ncy: "н", ndash: "–", neArr: "⇗", nearhk: "⤤", nedot: "≐̸", nesear: "⤨", toea: "⤨", nfr: "𝔫", nharr: "↮", nleftrightarrow: "↮", nhpar: "⫲", nis: "⋼", nisd: "⋺", njcy: "њ", nlE: "≦̸", nleqq: "≦̸", nlarr: "↚", nleftarrow: "↚", nldr: "‥", nopf: "𝕟", not: "¬", notinE: "⋹̸", notindot: "⋵̸", notinvb: "⋷", notinvc: "⋶", notnivb: "⋾", notnivc: "⋽", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", nrarr: "↛", nrightarrow: "↛", nrarrc: "⤳̸", nrarrw: "↝̸", nscr: "𝓃", nsub: "⊄", nsubE: "⫅̸", nsubseteqq: "⫅̸", nsup: "⊅", nsupE: "⫆̸", nsupseteqq: "⫆̸", ntilde: "ñ", nu: "ν", num: "#", numero: "№", numsp: " ", nvDash: "⊭", nvHarr: "⤄", nvap: "≍⃒", nvdash: "⊬", nvge: "≥⃒", nvgt: ">⃒", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwArr: "⇖", nwarhk: "⤣", nwnear: "⤧", oacute: "ó", ocirc: "ô", ocy: "о", odblac: "ő", odiv: "⨸", odsold: "⦼", oelig: "œ", ofcir: "⦿", ofr: "𝔬", ogon: "˛", ograve: "ò", ogt: "⧁", ohbar: "⦵", olcir: "⦾", olcross: "⦻", olt: "⧀", omacr: "ō", omega: "ω", omicron: "ο", omid: "⦶", oopf: "𝕠", opar: "⦷", operp: "⦹", or: "∨", vee: "∨", ord: "⩝", order: "ℴ", orderof: "ℴ", oscr: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oslash: "ø", osol: "⊘", otilde: "õ", otimesas: "⨶", ouml: "ö", ovbar: "⌽", para: "¶", parsim: "⫳", parsl: "⫽", pcy: "п", percnt: "%", period: ".", permil: "‰", pertenk: "‱", pfr: "𝔭", phi: "φ", phiv: "ϕ", straightphi: "ϕ", varphi: "ϕ", phone: "☎", pi: "π", piv: "ϖ", varpi: "ϖ", planckh: "ℎ", plus: "+", plusacir: "⨣", pluscir: "⨢", plusdu: "⨥", pluse: "⩲", plussim: "⨦", plustwo: "⨧", pointint: "⨕", popf: "𝕡", pound: "£", prE: "⪳", prap: "⪷", precapprox: "⪷", precnapprox: "⪹", prnap: "⪹", precneqq: "⪵", prnE: "⪵", precnsim: "⋨", prnsim: "⋨", prime: "′", profalar: "⌮", profline: "⌒", profsurf: "⌓", prurel: "⊰", pscr: "𝓅", psi: "ψ", puncsp: " ", qfr: "𝔮", qopf: "𝕢", qprime: "⁗", qscr: "𝓆", quatint: "⨖", quest: "?", rAtail: "⤜", rHar: "⥤", race: "∽̱", racute: "ŕ", raemptyv: "⦳", rangd: "⦒", range: "⦥", raquo: "»", rarrap: "⥵", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrpl: "⥅", rarrsim: "⥴", rarrtl: "↣", rightarrowtail: "↣", rarrw: "↝", rightsquigarrow: "↝", ratail: "⤚", ratio: "∶", rbbrk: "❳", rbrace: "}", rcub: "}", rbrack: "]", rsqb: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", rcaron: "ř", rcedil: "ŗ", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdsh: "↳", rect: "▭", rfisht: "⥽", rfr: "𝔯", rharul: "⥬", rho: "ρ", rhov: "ϱ", varrho: "ϱ", rightrightarrows: "⇉", rrarr: "⇉", rightthreetimes: "⋌", rthree: "⋌", ring: "˚", rlm: "", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", ropar: "⦆", ropf: "𝕣", roplus: "⨮", rotimes: "⨵", rpar: ")", rpargt: "⦔", rppolint: "⨒", rsaquo: "›", rscr: "𝓇", rtimes: "⋊", rtri: "▹", triangleright: "▹", rtriltri: "⧎", ruluhar: "⥨", rx: "℞", sacute: "ś", scE: "⪴", scap: "⪸", succapprox: "⪸", scaron: "š", scedil: "ş", scirc: "ŝ", scnE: "⪶", succneqq: "⪶", scnap: "⪺", succnapprox: "⪺", scnsim: "⋩", succnsim: "⋩", scpolint: "⨓", scy: "с", sdot: "⋅", sdote: "⩦", seArr: "⇘", sect: "§", semi: ";", seswar: "⤩", tosa: "⤩", sext: "✶", sfr: "𝔰", sharp: "♯", shchcy: "щ", shcy: "ш", shy: "", sigma: "σ", sigmaf: "ς", sigmav: "ς", varsigma: "ς", simdot: "⩪", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", smashp: "⨳", smeparsl: "⧤", smile: "⌣", ssmile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", softcy: "ь", sol: "/", solb: "⧄", solbar: "⌿", sopf: "𝕤", spades: "♠", spadesuit: "♠", sqcaps: "⊓︀", sqcups: "⊔︀", sscr: "𝓈", star: "☆", sub: "⊂", subset: "⊂", subE: "⫅", subseteqq: "⫅", subdot: "⪽", subedot: "⫃", submult: "⫁", subnE: "⫋", subsetneqq: "⫋", subne: "⊊", subsetneq: "⊊", subplus: "⪿", subrarr: "⥹", subsim: "⫇", subsub: "⫕", subsup: "⫓", sung: "♪", sup1: "¹", sup2: "²", sup3: "³", supE: "⫆", supseteqq: "⫆", supdot: "⪾", supdsub: "⫘", supedot: "⫄", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supsetneqq: "⫌", supne: "⊋", supsetneq: "⊋", supplus: "⫀", supsim: "⫈", supsub: "⫔", supsup: "⫖", swArr: "⇙", swnwar: "⤪", szlig: "ß", target: "⌖", tau: "τ", tcaron: "ť", tcedil: "ţ", tcy: "т", telrec: "⌕", tfr: "𝔱", theta: "θ", thetasym: "ϑ", thetav: "ϑ", vartheta: "ϑ", thorn: "þ", times: "×", timesbar: "⨱", timesd: "⨰", topbot: "⌶", topcir: "⫱", topf: "𝕥", topfork: "⫚", tprime: "‴", triangle: "▵", utri: "▵", triangleq: "≜", trie: "≜", tridot: "◬", triminus: "⨺", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", tscr: "𝓉", tscy: "ц", tshcy: "ћ", tstrok: "ŧ", uHar: "⥣", uacute: "ú", ubrcy: "ў", ubreve: "ŭ", ucirc: "û", ucy: "у", udblac: "ű", ufisht: "⥾", ufr: "𝔲", ugrave: "ù", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", umacr: "ū", uogon: "ų", uopf: "𝕦", upsi: "υ", upsilon: "υ", upuparrows: "⇈", uuarr: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", uring: "ů", urtri: "◹", uscr: "𝓊", utdot: "⋰", utilde: "ũ", uuml: "ü", uwangle: "⦧", vBar: "⫨", vBarv: "⫩", vangrt: "⦜", varsubsetneq: "⊊︀", vsubne: "⊊︀", varsubsetneqq: "⫋︀", vsubnE: "⫋︀", varsupsetneq: "⊋︀", vsupne: "⊋︀", varsupsetneqq: "⫌︀", vsupnE: "⫌︀", vcy: "в", veebar: "⊻", veeeq: "≚", vellip: "⋮", vfr: "𝔳", vopf: "𝕧", vscr: "𝓋", vzigzag: "⦚", wcirc: "ŵ", wedbar: "⩟", wedgeq: "≙", weierp: "℘", wp: "℘", wfr: "𝔴", wopf: "𝕨", wscr: "𝓌", xfr: "𝔵", xi: "ξ", xnis: "⋻", xopf: "𝕩", xscr: "𝓍", yacute: "ý", yacy: "я", ycirc: "ŷ", ycy: "ы", yen: "¥", yfr: "𝔶", yicy: "ї", yopf: "𝕪", yscr: "𝓎", yucy: "ю", yuml: "ÿ", zacute: "ź", zcaron: "ž", zcy: "з", zdot: "ż", zeta: "ζ", zfr: "𝔷", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", zscr: "𝓏", zwj: "", zwnj: "" }, fo = "";
|
|
1724
|
-
Ve.ngsp =
|
|
1725
|
-
var
|
|
1726
|
-
function
|
|
1678
|
+
`, Nfr: "𝔑", NoBreak: "", NonBreakingSpace: " ", nbsp: " ", Nopf: "ℕ", naturals: "ℕ", Not: "⫬", NotCongruent: "≢", nequiv: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", npar: "∦", nparallel: "∦", nshortparallel: "∦", nspar: "∦", NotElement: "∉", notin: "∉", notinva: "∉", NotEqual: "≠", ne: "≠", NotEqualTilde: "≂̸", nesim: "≂̸", NotExists: "∄", nexist: "∄", nexists: "∄", NotGreater: "≯", ngt: "≯", ngtr: "≯", NotGreaterEqual: "≱", nge: "≱", ngeq: "≱", NotGreaterFullEqual: "≧̸", ngE: "≧̸", ngeqq: "≧̸", NotGreaterGreater: "≫̸", nGtv: "≫̸", NotGreaterLess: "≹", ntgl: "≹", NotGreaterSlantEqual: "⩾̸", ngeqslant: "⩾̸", nges: "⩾̸", NotGreaterTilde: "≵", ngsim: "≵", NotHumpDownHump: "≎̸", nbump: "≎̸", NotHumpEqual: "≏̸", nbumpe: "≏̸", NotLeftTriangle: "⋪", nltri: "⋪", ntriangleleft: "⋪", NotLeftTriangleBar: "⧏̸", NotLeftTriangleEqual: "⋬", nltrie: "⋬", ntrianglelefteq: "⋬", NotLess: "≮", nless: "≮", nlt: "≮", NotLessEqual: "≰", nle: "≰", nleq: "≰", NotLessGreater: "≸", ntlg: "≸", NotLessLess: "≪̸", nLtv: "≪̸", NotLessSlantEqual: "⩽̸", nleqslant: "⩽̸", nles: "⩽̸", NotLessTilde: "≴", nlsim: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", NotPrecedes: "⊀", npr: "⊀", nprec: "⊀", NotPrecedesEqual: "⪯̸", npre: "⪯̸", npreceq: "⪯̸", NotPrecedesSlantEqual: "⋠", nprcue: "⋠", NotReverseElement: "∌", notni: "∌", notniva: "∌", NotRightTriangle: "⋫", nrtri: "⋫", ntriangleright: "⋫", NotRightTriangleBar: "⧐̸", NotRightTriangleEqual: "⋭", nrtrie: "⋭", ntrianglerighteq: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", nsqsube: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", nsqsupe: "⋣", NotSubset: "⊂⃒", nsubset: "⊂⃒", vnsub: "⊂⃒", NotSubsetEqual: "⊈", nsube: "⊈", nsubseteq: "⊈", NotSucceeds: "⊁", nsc: "⊁", nsucc: "⊁", NotSucceedsEqual: "⪰̸", nsce: "⪰̸", nsucceq: "⪰̸", NotSucceedsSlantEqual: "⋡", nsccue: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", nsupset: "⊃⃒", vnsup: "⊃⃒", NotSupersetEqual: "⊉", nsupe: "⊉", nsupseteq: "⊉", NotTilde: "≁", nsim: "≁", NotTildeEqual: "≄", nsime: "≄", nsimeq: "≄", NotTildeFullEqual: "≇", ncong: "≇", NotTildeTilde: "≉", nap: "≉", napprox: "≉", NotVerticalBar: "∤", nmid: "∤", nshortmid: "∤", nsmid: "∤", Nscr: "𝒩", Ntilde: "Ñ", Nu: "Ν", OElig: "Œ", Oacute: "Ó", Ocirc: "Ô", Ocy: "О", Odblac: "Ő", Ofr: "𝔒", Ograve: "Ò", Omacr: "Ō", Omega: "Ω", ohm: "Ω", Omicron: "Ο", Oopf: "𝕆", OpenCurlyDoubleQuote: "“", ldquo: "“", OpenCurlyQuote: "‘", lsquo: "‘", Or: "⩔", Oscr: "𝒪", Oslash: "Ø", Otilde: "Õ", Otimes: "⨷", Ouml: "Ö", OverBar: "‾", oline: "‾", OverBrace: "⏞", OverBracket: "⎴", tbrk: "⎴", OverParenthesis: "⏜", PartialD: "∂", part: "∂", Pcy: "П", Pfr: "𝔓", Phi: "Φ", Pi: "Π", PlusMinus: "±", plusmn: "±", pm: "±", Popf: "ℙ", primes: "ℙ", Pr: "⪻", Precedes: "≺", pr: "≺", prec: "≺", PrecedesEqual: "⪯", pre: "⪯", preceq: "⪯", PrecedesSlantEqual: "≼", prcue: "≼", preccurlyeq: "≼", PrecedesTilde: "≾", precsim: "≾", prsim: "≾", Prime: "″", Product: "∏", prod: "∏", Proportional: "∝", prop: "∝", propto: "∝", varpropto: "∝", vprop: "∝", Pscr: "𝒫", Psi: "Ψ", QUOT: '"', quot: '"', Qfr: "𝔔", Qopf: "ℚ", rationals: "ℚ", Qscr: "𝒬", RBarr: "⤐", drbkarow: "⤐", REG: "®", circledR: "®", reg: "®", Racute: "Ŕ", Rang: "⟫", Rarr: "↠", twoheadrightarrow: "↠", Rarrtl: "⤖", Rcaron: "Ř", Rcedil: "Ŗ", Rcy: "Р", Re: "ℜ", Rfr: "ℜ", real: "ℜ", realpart: "ℜ", ReverseElement: "∋", SuchThat: "∋", ni: "∋", niv: "∋", ReverseEquilibrium: "⇋", leftrightharpoons: "⇋", lrhar: "⇋", ReverseUpEquilibrium: "⥯", duhar: "⥯", Rho: "Ρ", RightAngleBracket: "⟩", rang: "⟩", rangle: "⟩", RightArrow: "→", ShortRightArrow: "→", rarr: "→", rightarrow: "→", srarr: "→", RightArrowBar: "⇥", rarrb: "⇥", RightArrowLeftArrow: "⇄", rightleftarrows: "⇄", rlarr: "⇄", RightCeiling: "⌉", rceil: "⌉", RightDoubleBracket: "⟧", robrk: "⟧", RightDownTeeVector: "⥝", RightDownVector: "⇂", dharr: "⇂", downharpoonright: "⇂", RightDownVectorBar: "⥕", RightFloor: "⌋", rfloor: "⌋", RightTee: "⊢", vdash: "⊢", RightTeeArrow: "↦", map: "↦", mapsto: "↦", RightTeeVector: "⥛", RightTriangle: "⊳", vartriangleright: "⊳", vrtri: "⊳", RightTriangleBar: "⧐", RightTriangleEqual: "⊵", rtrie: "⊵", trianglerighteq: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVector: "↾", uharr: "↾", upharpoonright: "↾", RightUpVectorBar: "⥔", RightVector: "⇀", rharu: "⇀", rightharpoonup: "⇀", RightVectorBar: "⥓", Ropf: "ℝ", reals: "ℝ", RoundImplies: "⥰", Rrightarrow: "⇛", rAarr: "⇛", Rscr: "ℛ", realine: "ℛ", Rsh: "↱", rsh: "↱", RuleDelayed: "⧴", SHCHcy: "Щ", SHcy: "Ш", SOFTcy: "Ь", Sacute: "Ś", Sc: "⪼", Scaron: "Š", Scedil: "Ş", Scirc: "Ŝ", Scy: "С", Sfr: "𝔖", ShortUpArrow: "↑", UpArrow: "↑", uarr: "↑", uparrow: "↑", Sigma: "Σ", SmallCircle: "∘", compfn: "∘", Sopf: "𝕊", Sqrt: "√", radic: "√", Square: "□", squ: "□", square: "□", SquareIntersection: "⊓", sqcap: "⊓", SquareSubset: "⊏", sqsub: "⊏", sqsubset: "⊏", SquareSubsetEqual: "⊑", sqsube: "⊑", sqsubseteq: "⊑", SquareSuperset: "⊐", sqsup: "⊐", sqsupset: "⊐", SquareSupersetEqual: "⊒", sqsupe: "⊒", sqsupseteq: "⊒", SquareUnion: "⊔", sqcup: "⊔", Sscr: "𝒮", Star: "⋆", sstarf: "⋆", Sub: "⋐", Subset: "⋐", SubsetEqual: "⊆", sube: "⊆", subseteq: "⊆", Succeeds: "≻", sc: "≻", succ: "≻", SucceedsEqual: "⪰", sce: "⪰", succeq: "⪰", SucceedsSlantEqual: "≽", sccue: "≽", succcurlyeq: "≽", SucceedsTilde: "≿", scsim: "≿", succsim: "≿", Sum: "∑", sum: "∑", Sup: "⋑", Supset: "⋑", Superset: "⊃", sup: "⊃", supset: "⊃", SupersetEqual: "⊇", supe: "⊇", supseteq: "⊇", THORN: "Þ", TRADE: "™", trade: "™", TSHcy: "Ћ", TScy: "Ц", Tab: " ", Tau: "Τ", Tcaron: "Ť", Tcedil: "Ţ", Tcy: "Т", Tfr: "𝔗", Therefore: "∴", there4: "∴", therefore: "∴", Theta: "Θ", ThickSpace: " ", ThinSpace: " ", thinsp: " ", Tilde: "∼", sim: "∼", thicksim: "∼", thksim: "∼", TildeEqual: "≃", sime: "≃", simeq: "≃", TildeFullEqual: "≅", cong: "≅", TildeTilde: "≈", ap: "≈", approx: "≈", asymp: "≈", thickapprox: "≈", thkap: "≈", Topf: "𝕋", TripleDot: "⃛", tdot: "⃛", Tscr: "𝒯", Tstrok: "Ŧ", Uacute: "Ú", Uarr: "↟", Uarrocir: "⥉", Ubrcy: "Ў", Ubreve: "Ŭ", Ucirc: "Û", Ucy: "У", Udblac: "Ű", Ufr: "𝔘", Ugrave: "Ù", Umacr: "Ū", UnderBar: "_", lowbar: "_", UnderBrace: "⏟", UnderBracket: "⎵", bbrk: "⎵", UnderParenthesis: "⏝", Union: "⋃", bigcup: "⋃", xcup: "⋃", UnionPlus: "⊎", uplus: "⊎", Uogon: "Ų", Uopf: "𝕌", UpArrowBar: "⤒", UpArrowDownArrow: "⇅", udarr: "⇅", UpDownArrow: "↕", updownarrow: "↕", varr: "↕", UpEquilibrium: "⥮", udhar: "⥮", UpTee: "⊥", bot: "⊥", bottom: "⊥", perp: "⊥", UpTeeArrow: "↥", mapstoup: "↥", UpperLeftArrow: "↖", nwarr: "↖", nwarrow: "↖", UpperRightArrow: "↗", nearr: "↗", nearrow: "↗", Upsi: "ϒ", upsih: "ϒ", Upsilon: "Υ", Uring: "Ů", Uscr: "𝒰", Utilde: "Ũ", Uuml: "Ü", VDash: "⊫", Vbar: "⫫", Vcy: "В", Vdash: "⊩", Vdashl: "⫦", Vee: "⋁", bigvee: "⋁", xvee: "⋁", Verbar: "‖", Vert: "‖", VerticalBar: "∣", mid: "∣", shortmid: "∣", smid: "∣", VerticalLine: "|", verbar: "|", vert: "|", VerticalSeparator: "❘", VerticalTilde: "≀", wr: "≀", wreath: "≀", VeryThinSpace: " ", hairsp: " ", Vfr: "𝔙", Vopf: "𝕍", Vscr: "𝒱", Vvdash: "⊪", Wcirc: "Ŵ", Wedge: "⋀", bigwedge: "⋀", xwedge: "⋀", Wfr: "𝔚", Wopf: "𝕎", Wscr: "𝒲", Xfr: "𝔛", Xi: "Ξ", Xopf: "𝕏", Xscr: "𝒳", YAcy: "Я", YIcy: "Ї", YUcy: "Ю", Yacute: "Ý", Ycirc: "Ŷ", Ycy: "Ы", Yfr: "𝔜", Yopf: "𝕐", Yscr: "𝒴", Yuml: "Ÿ", ZHcy: "Ж", Zacute: "Ź", Zcaron: "Ž", Zcy: "З", Zdot: "Ż", Zeta: "Ζ", Zfr: "ℨ", zeetrf: "ℨ", Zopf: "ℤ", integers: "ℤ", Zscr: "𝒵", aacute: "á", abreve: "ă", ac: "∾", mstpos: "∾", acE: "∾̳", acd: "∿", acirc: "â", acy: "а", aelig: "æ", afr: "𝔞", agrave: "à", alefsym: "ℵ", aleph: "ℵ", alpha: "α", amacr: "ā", amalg: "⨿", and: "∧", wedge: "∧", andand: "⩕", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", angle: "∠", ange: "⦤", angmsd: "∡", measuredangle: "∡", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angzarr: "⍼", aogon: "ą", aopf: "𝕒", apE: "⩰", apacir: "⩯", ape: "≊", approxeq: "≊", apid: "≋", apos: "'", aring: "å", ascr: "𝒶", ast: "*", midast: "*", atilde: "ã", auml: "ä", awint: "⨑", bNot: "⫭", backcong: "≌", bcong: "≌", backepsilon: "϶", bepsi: "϶", backprime: "‵", bprime: "‵", backsim: "∽", bsim: "∽", backsimeq: "⋍", bsime: "⋍", barvee: "⊽", barwed: "⌅", barwedge: "⌅", bbrktbrk: "⎶", bcy: "б", bdquo: "„", ldquor: "„", bemptyv: "⦰", beta: "β", beth: "ℶ", between: "≬", twixt: "≬", bfr: "𝔟", bigcirc: "◯", xcirc: "◯", bigodot: "⨀", xodot: "⨀", bigoplus: "⨁", xoplus: "⨁", bigotimes: "⨂", xotime: "⨂", bigsqcup: "⨆", xsqcup: "⨆", bigstar: "★", starf: "★", bigtriangledown: "▽", xdtri: "▽", bigtriangleup: "△", xutri: "△", biguplus: "⨄", xuplus: "⨄", bkarow: "⤍", rbarr: "⤍", blacklozenge: "⧫", lozf: "⧫", blacktriangle: "▴", utrif: "▴", blacktriangledown: "▾", dtrif: "▾", blacktriangleleft: "◂", ltrif: "◂", blacktriangleright: "▸", rtrif: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bnot: "⌐", bopf: "𝕓", bowtie: "⋈", boxDL: "╗", boxDR: "╔", boxDl: "╖", boxDr: "╓", boxH: "═", boxHD: "╦", boxHU: "╩", boxHd: "╤", boxHu: "╧", boxUL: "╝", boxUR: "╚", boxUl: "╜", boxUr: "╙", boxV: "║", boxVH: "╬", boxVL: "╣", boxVR: "╠", boxVh: "╫", boxVl: "╢", boxVr: "╟", boxbox: "⧉", boxdL: "╕", boxdR: "╒", boxdl: "┐", boxdr: "┌", boxhD: "╥", boxhU: "╨", boxhd: "┬", boxhu: "┴", boxminus: "⊟", minusb: "⊟", boxplus: "⊞", plusb: "⊞", boxtimes: "⊠", timesb: "⊠", boxuL: "╛", boxuR: "╘", boxul: "┘", boxur: "└", boxv: "│", boxvH: "╪", boxvL: "╡", boxvR: "╞", boxvh: "┼", boxvl: "┤", boxvr: "├", brvbar: "¦", bscr: "𝒷", bsemi: "⁏", bsol: "\\", bsolb: "⧅", bsolhsub: "⟈", bull: "•", bullet: "•", bumpE: "⪮", cacute: "ć", cap: "∩", capand: "⩄", capbrcup: "⩉", capcap: "⩋", capcup: "⩇", capdot: "⩀", caps: "∩︀", caret: "⁁", ccaps: "⩍", ccaron: "č", ccedil: "ç", ccirc: "ĉ", ccups: "⩌", ccupssm: "⩐", cdot: "ċ", cemptyv: "⦲", cent: "¢", cfr: "𝔠", chcy: "ч", check: "✓", checkmark: "✓", chi: "χ", cir: "○", cirE: "⧃", circ: "ˆ", circeq: "≗", cire: "≗", circlearrowleft: "↺", olarr: "↺", circlearrowright: "↻", orarr: "↻", circledS: "Ⓢ", oS: "Ⓢ", circledast: "⊛", oast: "⊛", circledcirc: "⊚", ocir: "⊚", circleddash: "⊝", odash: "⊝", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", clubs: "♣", clubsuit: "♣", colon: ":", comma: ",", commat: "@", comp: "∁", complement: "∁", congdot: "⩭", copf: "𝕔", copysr: "℗", crarr: "↵", cross: "✗", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", curlyeqprec: "⋞", cuesc: "⋟", curlyeqsucc: "⋟", cularr: "↶", curvearrowleft: "↶", cularrp: "⤽", cup: "∪", cupbrcap: "⩈", cupcap: "⩆", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curvearrowright: "↷", curarrm: "⤼", curlyvee: "⋎", cuvee: "⋎", curlywedge: "⋏", cuwed: "⋏", curren: "¤", cwint: "∱", cylcty: "⌭", dHar: "⥥", dagger: "†", daleth: "ℸ", dash: "‐", hyphen: "‐", dbkarow: "⤏", rBarr: "⤏", dcaron: "ď", dcy: "д", ddarr: "⇊", downdownarrows: "⇊", ddotseq: "⩷", eDDot: "⩷", deg: "°", delta: "δ", demptyv: "⦱", dfisht: "⥿", dfr: "𝔡", diamondsuit: "♦", diams: "♦", digamma: "ϝ", gammad: "ϝ", disin: "⋲", div: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", djcy: "ђ", dlcorn: "⌞", llcorner: "⌞", dlcrop: "⌍", dollar: "$", dopf: "𝕕", doteqdot: "≑", eDot: "≑", dotminus: "∸", minusd: "∸", dotplus: "∔", plusdo: "∔", dotsquare: "⊡", sdotb: "⊡", drcorn: "⌟", lrcorner: "⌟", drcrop: "⌌", dscr: "𝒹", dscy: "ѕ", dsol: "⧶", dstrok: "đ", dtdot: "⋱", dtri: "▿", triangledown: "▿", dwangle: "⦦", dzcy: "џ", dzigrarr: "⟿", eacute: "é", easter: "⩮", ecaron: "ě", ecir: "≖", eqcirc: "≖", ecirc: "ê", ecolon: "≕", eqcolon: "≕", ecy: "э", edot: "ė", efDot: "≒", fallingdotseq: "≒", efr: "𝔢", eg: "⪚", egrave: "è", egs: "⪖", eqslantgtr: "⪖", egsdot: "⪘", el: "⪙", elinters: "⏧", ell: "ℓ", els: "⪕", eqslantless: "⪕", elsdot: "⪗", emacr: "ē", empty: "∅", emptyset: "∅", emptyv: "∅", varnothing: "∅", emsp13: " ", emsp14: " ", emsp: " ", eng: "ŋ", ensp: " ", eogon: "ę", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", epsilon: "ε", epsiv: "ϵ", straightepsilon: "ϵ", varepsilon: "ϵ", equals: "=", equest: "≟", questeq: "≟", equivDD: "⩸", eqvparsl: "⧥", erDot: "≓", risingdotseq: "≓", erarr: "⥱", escr: "ℯ", eta: "η", eth: "ð", euml: "ë", euro: "€", excl: "!", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", ffr: "𝔣", filig: "fi", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", fopf: "𝕗", fork: "⋔", pitchfork: "⋔", forkv: "⫙", fpartint: "⨍", frac12: "½", half: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", sfrown: "⌢", fscr: "𝒻", gEl: "⪌", gtreqqless: "⪌", gacute: "ǵ", gamma: "γ", gap: "⪆", gtrapprox: "⪆", gbreve: "ğ", gcirc: "ĝ", gcy: "г", gdot: "ġ", gescc: "⪩", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", gfr: "𝔤", gimel: "ℷ", gjcy: "ѓ", glE: "⪒", gla: "⪥", glj: "⪤", gnE: "≩", gneqq: "≩", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gneq: "⪈", gnsim: "⋧", gopf: "𝕘", gscr: "ℊ", gsime: "⪎", gsiml: "⪐", gtcc: "⪧", gtcir: "⩺", gtdot: "⋗", gtrdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrarr: "⥸", gvertneqq: "≩︀", gvnE: "≩︀", hardcy: "ъ", harrcir: "⥈", harrw: "↭", leftrightsquigarrow: "↭", hbar: "ℏ", hslash: "ℏ", planck: "ℏ", plankv: "ℏ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", mldr: "…", hercon: "⊹", hfr: "𝔥", hksearow: "⤥", searhk: "⤥", hkswarow: "⤦", swarhk: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", larrhk: "↩", hookrightarrow: "↪", rarrhk: "↪", hopf: "𝕙", horbar: "―", hscr: "𝒽", hstrok: "ħ", hybull: "⁃", iacute: "í", icirc: "î", icy: "и", iecy: "е", iexcl: "¡", ifr: "𝔦", igrave: "ì", iiiint: "⨌", qint: "⨌", iiint: "∭", tint: "∭", iinfin: "⧜", iiota: "℩", ijlig: "ij", imacr: "ī", imath: "ı", inodot: "ı", imof: "⊷", imped: "Ƶ", incare: "℅", infin: "∞", infintie: "⧝", intcal: "⊺", intercal: "⊺", intlarhk: "⨗", intprod: "⨼", iprod: "⨼", iocy: "ё", iogon: "į", iopf: "𝕚", iota: "ι", iquest: "¿", iscr: "𝒾", isinE: "⋹", isindot: "⋵", isins: "⋴", isinsv: "⋳", itilde: "ĩ", iukcy: "і", iuml: "ï", jcirc: "ĵ", jcy: "й", jfr: "𝔧", jmath: "ȷ", jopf: "𝕛", jscr: "𝒿", jsercy: "ј", jukcy: "є", kappa: "κ", kappav: "ϰ", varkappa: "ϰ", kcedil: "ķ", kcy: "к", kfr: "𝔨", kgreen: "ĸ", khcy: "х", kjcy: "ќ", kopf: "𝕜", kscr: "𝓀", lAtail: "⤛", lBarr: "⤎", lEg: "⪋", lesseqqgtr: "⪋", lHar: "⥢", lacute: "ĺ", laemptyv: "⦴", lambda: "λ", langd: "⦑", lap: "⪅", lessapprox: "⪅", laquo: "«", larrbfs: "⤟", larrfs: "⤝", larrlp: "↫", looparrowleft: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", leftarrowtail: "↢", lat: "⪫", latail: "⤙", late: "⪭", lates: "⪭︀", lbarr: "⤌", lbbrk: "❲", lbrace: "{", lcub: "{", lbrack: "[", lsqb: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", lcaron: "ľ", lcedil: "ļ", lcy: "л", ldca: "⤶", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", leq: "≤", leftleftarrows: "⇇", llarr: "⇇", leftthreetimes: "⋋", lthree: "⋋", lescc: "⪨", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessdot: "⋖", ltdot: "⋖", lfisht: "⥼", lfr: "𝔩", lgE: "⪑", lharul: "⥪", lhblk: "▄", ljcy: "љ", llhard: "⥫", lltri: "◺", lmidot: "ŀ", lmoust: "⎰", lmoustache: "⎰", lnE: "≨", lneqq: "≨", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lneq: "⪇", lnsim: "⋦", loang: "⟬", loarr: "⇽", longmapsto: "⟼", xmap: "⟼", looparrowright: "↬", rarrlp: "↬", lopar: "⦅", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", loz: "◊", lozenge: "◊", lpar: "(", lparlt: "⦓", lrhard: "⥭", lrm: "", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", lsime: "⪍", lsimg: "⪏", lsquor: "‚", sbquo: "‚", lstrok: "ł", ltcc: "⪦", ltcir: "⩹", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltrPar: "⦖", ltri: "◃", triangleleft: "◃", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", mDDot: "∺", macr: "¯", strns: "¯", male: "♂", malt: "✠", maltese: "✠", marker: "▮", mcomma: "⨩", mcy: "м", mdash: "—", mfr: "𝔪", mho: "℧", micro: "µ", midcir: "⫰", minus: "−", minusdu: "⨪", mlcp: "⫛", models: "⊧", mopf: "𝕞", mscr: "𝓂", mu: "μ", multimap: "⊸", mumap: "⊸", nGg: "⋙̸", nGt: "≫⃒", nLeftarrow: "⇍", nlArr: "⇍", nLeftrightarrow: "⇎", nhArr: "⇎", nLl: "⋘̸", nLt: "≪⃒", nRightarrow: "⇏", nrArr: "⇏", nVDash: "⊯", nVdash: "⊮", nacute: "ń", nang: "∠⃒", napE: "⩰̸", napid: "≋̸", napos: "ʼn", natur: "♮", natural: "♮", ncap: "⩃", ncaron: "ň", ncedil: "ņ", ncongdot: "⩭̸", ncup: "⩂", ncy: "н", ndash: "–", neArr: "⇗", nearhk: "⤤", nedot: "≐̸", nesear: "⤨", toea: "⤨", nfr: "𝔫", nharr: "↮", nleftrightarrow: "↮", nhpar: "⫲", nis: "⋼", nisd: "⋺", njcy: "њ", nlE: "≦̸", nleqq: "≦̸", nlarr: "↚", nleftarrow: "↚", nldr: "‥", nopf: "𝕟", not: "¬", notinE: "⋹̸", notindot: "⋵̸", notinvb: "⋷", notinvc: "⋶", notnivb: "⋾", notnivc: "⋽", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", nrarr: "↛", nrightarrow: "↛", nrarrc: "⤳̸", nrarrw: "↝̸", nscr: "𝓃", nsub: "⊄", nsubE: "⫅̸", nsubseteqq: "⫅̸", nsup: "⊅", nsupE: "⫆̸", nsupseteqq: "⫆̸", ntilde: "ñ", nu: "ν", num: "#", numero: "№", numsp: " ", nvDash: "⊭", nvHarr: "⤄", nvap: "≍⃒", nvdash: "⊬", nvge: "≥⃒", nvgt: ">⃒", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwArr: "⇖", nwarhk: "⤣", nwnear: "⤧", oacute: "ó", ocirc: "ô", ocy: "о", odblac: "ő", odiv: "⨸", odsold: "⦼", oelig: "œ", ofcir: "⦿", ofr: "𝔬", ogon: "˛", ograve: "ò", ogt: "⧁", ohbar: "⦵", olcir: "⦾", olcross: "⦻", olt: "⧀", omacr: "ō", omega: "ω", omicron: "ο", omid: "⦶", oopf: "𝕠", opar: "⦷", operp: "⦹", or: "∨", vee: "∨", ord: "⩝", order: "ℴ", orderof: "ℴ", oscr: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oslash: "ø", osol: "⊘", otilde: "õ", otimesas: "⨶", ouml: "ö", ovbar: "⌽", para: "¶", parsim: "⫳", parsl: "⫽", pcy: "п", percnt: "%", period: ".", permil: "‰", pertenk: "‱", pfr: "𝔭", phi: "φ", phiv: "ϕ", straightphi: "ϕ", varphi: "ϕ", phone: "☎", pi: "π", piv: "ϖ", varpi: "ϖ", planckh: "ℎ", plus: "+", plusacir: "⨣", pluscir: "⨢", plusdu: "⨥", pluse: "⩲", plussim: "⨦", plustwo: "⨧", pointint: "⨕", popf: "𝕡", pound: "£", prE: "⪳", prap: "⪷", precapprox: "⪷", precnapprox: "⪹", prnap: "⪹", precneqq: "⪵", prnE: "⪵", precnsim: "⋨", prnsim: "⋨", prime: "′", profalar: "⌮", profline: "⌒", profsurf: "⌓", prurel: "⊰", pscr: "𝓅", psi: "ψ", puncsp: " ", qfr: "𝔮", qopf: "𝕢", qprime: "⁗", qscr: "𝓆", quatint: "⨖", quest: "?", rAtail: "⤜", rHar: "⥤", race: "∽̱", racute: "ŕ", raemptyv: "⦳", rangd: "⦒", range: "⦥", raquo: "»", rarrap: "⥵", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrpl: "⥅", rarrsim: "⥴", rarrtl: "↣", rightarrowtail: "↣", rarrw: "↝", rightsquigarrow: "↝", ratail: "⤚", ratio: "∶", rbbrk: "❳", rbrace: "}", rcub: "}", rbrack: "]", rsqb: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", rcaron: "ř", rcedil: "ŗ", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdsh: "↳", rect: "▭", rfisht: "⥽", rfr: "𝔯", rharul: "⥬", rho: "ρ", rhov: "ϱ", varrho: "ϱ", rightrightarrows: "⇉", rrarr: "⇉", rightthreetimes: "⋌", rthree: "⋌", ring: "˚", rlm: "", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", ropar: "⦆", ropf: "𝕣", roplus: "⨮", rotimes: "⨵", rpar: ")", rpargt: "⦔", rppolint: "⨒", rsaquo: "›", rscr: "𝓇", rtimes: "⋊", rtri: "▹", triangleright: "▹", rtriltri: "⧎", ruluhar: "⥨", rx: "℞", sacute: "ś", scE: "⪴", scap: "⪸", succapprox: "⪸", scaron: "š", scedil: "ş", scirc: "ŝ", scnE: "⪶", succneqq: "⪶", scnap: "⪺", succnapprox: "⪺", scnsim: "⋩", succnsim: "⋩", scpolint: "⨓", scy: "с", sdot: "⋅", sdote: "⩦", seArr: "⇘", sect: "§", semi: ";", seswar: "⤩", tosa: "⤩", sext: "✶", sfr: "𝔰", sharp: "♯", shchcy: "щ", shcy: "ш", shy: "", sigma: "σ", sigmaf: "ς", sigmav: "ς", varsigma: "ς", simdot: "⩪", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", smashp: "⨳", smeparsl: "⧤", smile: "⌣", ssmile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", softcy: "ь", sol: "/", solb: "⧄", solbar: "⌿", sopf: "𝕤", spades: "♠", spadesuit: "♠", sqcaps: "⊓︀", sqcups: "⊔︀", sscr: "𝓈", star: "☆", sub: "⊂", subset: "⊂", subE: "⫅", subseteqq: "⫅", subdot: "⪽", subedot: "⫃", submult: "⫁", subnE: "⫋", subsetneqq: "⫋", subne: "⊊", subsetneq: "⊊", subplus: "⪿", subrarr: "⥹", subsim: "⫇", subsub: "⫕", subsup: "⫓", sung: "♪", sup1: "¹", sup2: "²", sup3: "³", supE: "⫆", supseteqq: "⫆", supdot: "⪾", supdsub: "⫘", supedot: "⫄", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supsetneqq: "⫌", supne: "⊋", supsetneq: "⊋", supplus: "⫀", supsim: "⫈", supsub: "⫔", supsup: "⫖", swArr: "⇙", swnwar: "⤪", szlig: "ß", target: "⌖", tau: "τ", tcaron: "ť", tcedil: "ţ", tcy: "т", telrec: "⌕", tfr: "𝔱", theta: "θ", thetasym: "ϑ", thetav: "ϑ", vartheta: "ϑ", thorn: "þ", times: "×", timesbar: "⨱", timesd: "⨰", topbot: "⌶", topcir: "⫱", topf: "𝕥", topfork: "⫚", tprime: "‴", triangle: "▵", utri: "▵", triangleq: "≜", trie: "≜", tridot: "◬", triminus: "⨺", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", tscr: "𝓉", tscy: "ц", tshcy: "ћ", tstrok: "ŧ", uHar: "⥣", uacute: "ú", ubrcy: "ў", ubreve: "ŭ", ucirc: "û", ucy: "у", udblac: "ű", ufisht: "⥾", ufr: "𝔲", ugrave: "ù", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", umacr: "ū", uogon: "ų", uopf: "𝕦", upsi: "υ", upsilon: "υ", upuparrows: "⇈", uuarr: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", uring: "ů", urtri: "◹", uscr: "𝓊", utdot: "⋰", utilde: "ũ", uuml: "ü", uwangle: "⦧", vBar: "⫨", vBarv: "⫩", vangrt: "⦜", varsubsetneq: "⊊︀", vsubne: "⊊︀", varsubsetneqq: "⫋︀", vsubnE: "⫋︀", varsupsetneq: "⊋︀", vsupne: "⊋︀", varsupsetneqq: "⫌︀", vsupnE: "⫌︀", vcy: "в", veebar: "⊻", veeeq: "≚", vellip: "⋮", vfr: "𝔳", vopf: "𝕧", vscr: "𝓋", vzigzag: "⦚", wcirc: "ŵ", wedbar: "⩟", wedgeq: "≙", weierp: "℘", wp: "℘", wfr: "𝔴", wopf: "𝕨", wscr: "𝓌", xfr: "𝔵", xi: "ξ", xnis: "⋻", xopf: "𝕩", xscr: "𝓍", yacute: "ý", yacy: "я", ycirc: "ŷ", ycy: "ы", yen: "¥", yfr: "𝔶", yicy: "ї", yopf: "𝕪", yscr: "𝓎", yucy: "ю", yuml: "ÿ", zacute: "ź", zcaron: "ž", zcy: "з", zdot: "ż", zeta: "ζ", zfr: "𝔷", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", zscr: "𝓏", zwj: "", zwnj: "" }, Xa = "";
|
|
1679
|
+
Ve.ngsp = Xa;
|
|
1680
|
+
var Ja = [/@/, /^\s*$/, /[<>]/, /^[{}]$/, /&(#|[a-z])/i, /^\/\//];
|
|
1681
|
+
function $s(t7, e) {
|
|
1727
1682
|
if (e != null && !(Array.isArray(e) && e.length == 2))
|
|
1728
1683
|
throw new Error(`Expected '${t7}' to be an array, [start, end].`);
|
|
1729
1684
|
if (e != null) {
|
|
1730
1685
|
let r = e[0], n = e[1];
|
|
1731
|
-
|
|
1686
|
+
Ja.forEach((s) => {
|
|
1732
1687
|
if (s.test(r) || s.test(n))
|
|
1733
1688
|
throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`);
|
|
1734
1689
|
});
|
|
1735
1690
|
}
|
|
1736
1691
|
}
|
|
1737
|
-
var
|
|
1692
|
+
var Rr = class t2 {
|
|
1738
1693
|
static fromArray(e) {
|
|
1739
|
-
return e ? (
|
|
1694
|
+
return e ? ($s("interpolation", e), new t2(e[0], e[1])) : $r;
|
|
1740
1695
|
}
|
|
1741
1696
|
constructor(e, r) {
|
|
1742
1697
|
this.start = e, this.end = r;
|
|
1743
1698
|
}
|
|
1744
|
-
},
|
|
1699
|
+
}, $r = new Rr("{{", "}}");
|
|
1745
1700
|
var gt = class extends Oe {
|
|
1746
1701
|
constructor(e, r, n) {
|
|
1747
1702
|
super(n, e), this.tokenType = r;
|
|
1748
1703
|
}
|
|
1749
|
-
},
|
|
1704
|
+
}, Vr = class {
|
|
1750
1705
|
constructor(e, r, n) {
|
|
1751
1706
|
this.tokens = e, this.errors = r, this.nonNormalizedIcuExpressions = n;
|
|
1752
1707
|
}
|
|
1753
1708
|
};
|
|
1754
|
-
function
|
|
1755
|
-
let s = new
|
|
1756
|
-
return s.tokenize(), new
|
|
1709
|
+
function Qs(t7, e, r, n = {}) {
|
|
1710
|
+
let s = new Ur(new De(t7, e), r, n);
|
|
1711
|
+
return s.tokenize(), new Vr(wo(s.tokens), s.errors, s.nonNormalizedIcuExpressions);
|
|
1757
1712
|
}
|
|
1758
|
-
var
|
|
1713
|
+
var So = /\r\n?/g;
|
|
1759
1714
|
function Ue(t7) {
|
|
1760
1715
|
return `Unexpected character "${t7 === 0 ? "EOF" : String.fromCharCode(t7)}"`;
|
|
1761
1716
|
}
|
|
1762
|
-
function
|
|
1717
|
+
function Vs(t7) {
|
|
1763
1718
|
return `Unknown entity "${t7}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
|
|
1764
1719
|
}
|
|
1765
|
-
function
|
|
1720
|
+
function _o(t7, e) {
|
|
1766
1721
|
return `Unable to parse entity "${e}" - ${t7} character reference entities must end with ";"`;
|
|
1767
1722
|
}
|
|
1768
|
-
var
|
|
1723
|
+
var tr;
|
|
1769
1724
|
(function(t7) {
|
|
1770
1725
|
t7.HEX = "hexadecimal", t7.DEC = "decimal";
|
|
1771
|
-
})(
|
|
1726
|
+
})(tr || (tr = {}));
|
|
1772
1727
|
var Ct = class {
|
|
1773
1728
|
constructor(e) {
|
|
1774
1729
|
this.error = e;
|
|
1775
1730
|
}
|
|
1776
|
-
},
|
|
1731
|
+
}, Ur = class {
|
|
1777
1732
|
constructor(e, r, n) {
|
|
1778
|
-
this._getTagContentType = r, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._inInterpolation = false, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = n.tokenizeExpansionForms || false, this._interpolationConfig = n.interpolationConfig ||
|
|
1733
|
+
this._getTagContentType = r, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._inInterpolation = false, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = n.tokenizeExpansionForms || false, this._interpolationConfig = n.interpolationConfig || $r, this._leadingTriviaCodePoints = n.leadingTriviaChars && n.leadingTriviaChars.map((i) => i.codePointAt(0) || 0), this._canSelfClose = n.canSelfClose || false, this._allowHtmComponentClosingTags = n.allowHtmComponentClosingTags || false;
|
|
1779
1734
|
let s = n.range || { endPos: e.content.length, startPos: 0, startLine: 0, startCol: 0 };
|
|
1780
|
-
this._cursor = n.escapedString ? new
|
|
1735
|
+
this._cursor = n.escapedString ? new Wr(e, s) : new rr(e, s), this._preserveLineEndings = n.preserveLineEndings || false, this._i18nNormalizeLineEndingsInICUs = n.i18nNormalizeLineEndingsInICUs || false, this._tokenizeBlocks = n.tokenizeBlocks ?? true, this._tokenizeLet = n.tokenizeLet ?? true;
|
|
1781
1736
|
try {
|
|
1782
1737
|
this._cursor.init();
|
|
1783
1738
|
} catch (i) {
|
|
@@ -1785,7 +1740,7 @@ var Ct = class {
|
|
|
1785
1740
|
}
|
|
1786
1741
|
}
|
|
1787
1742
|
_processCarriageReturns(e) {
|
|
1788
|
-
return this._preserveLineEndings ? e : e.replace(
|
|
1743
|
+
return this._preserveLineEndings ? e : e.replace(So, `
|
|
1789
1744
|
`);
|
|
1790
1745
|
}
|
|
1791
1746
|
tokenize() {
|
|
@@ -1811,7 +1766,7 @@ var Ct = class {
|
|
|
1811
1766
|
}
|
|
1812
1767
|
_getBlockName() {
|
|
1813
1768
|
let e = false, r = this._cursor.clone();
|
|
1814
|
-
return this._attemptCharCodeUntilFn((n) => ut(n) ? !e :
|
|
1769
|
+
return this._attemptCharCodeUntilFn((n) => ut(n) ? !e : zs(n) ? (e = true, false) : true), this._cursor.getChars(r).trim();
|
|
1815
1770
|
}
|
|
1816
1771
|
_consumeBlockStart(e) {
|
|
1817
1772
|
this._beginToken(25, e);
|
|
@@ -1829,7 +1784,7 @@ var Ct = class {
|
|
|
1829
1784
|
this._beginToken(27, e), this._endToken([]);
|
|
1830
1785
|
}
|
|
1831
1786
|
_consumeBlockParameters() {
|
|
1832
|
-
for (this._attemptCharCodeUntilFn(
|
|
1787
|
+
for (this._attemptCharCodeUntilFn(Gs); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
|
|
1833
1788
|
this._beginToken(28);
|
|
1834
1789
|
let e = this._cursor.clone(), r = null, n = 0;
|
|
1835
1790
|
for (; this._cursor.peek() !== 59 && this._cursor.peek() !== 0 || r !== null; ) {
|
|
@@ -1838,7 +1793,7 @@ var Ct = class {
|
|
|
1838
1793
|
this._cursor.advance();
|
|
1839
1794
|
else if (s === r)
|
|
1840
1795
|
r = null;
|
|
1841
|
-
else if (r === null &&
|
|
1796
|
+
else if (r === null && $t(s))
|
|
1842
1797
|
r = s;
|
|
1843
1798
|
else if (s === 40 && r === null)
|
|
1844
1799
|
n++;
|
|
@@ -1849,7 +1804,7 @@ var Ct = class {
|
|
|
1849
1804
|
}
|
|
1850
1805
|
this._cursor.advance();
|
|
1851
1806
|
}
|
|
1852
|
-
this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(
|
|
1807
|
+
this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(Gs);
|
|
1853
1808
|
}
|
|
1854
1809
|
}
|
|
1855
1810
|
_consumeLetDeclaration(e) {
|
|
@@ -1865,11 +1820,11 @@ var Ct = class {
|
|
|
1865
1820
|
r.type = 33;
|
|
1866
1821
|
return;
|
|
1867
1822
|
}
|
|
1868
|
-
this._attemptCharCodeUntilFn((s) => b(s) &&
|
|
1823
|
+
this._attemptCharCodeUntilFn((s) => b(s) && !Rt(s)), this._consumeLetDeclarationValue(), this._cursor.peek() === 59 ? (this._beginToken(32), this._endToken([]), this._cursor.advance()) : (r.type = 33, r.sourceSpan = this._cursor.getSpan(e));
|
|
1869
1824
|
}
|
|
1870
1825
|
_getLetDeclarationName() {
|
|
1871
1826
|
let e = this._cursor.clone(), r = false;
|
|
1872
|
-
return this._attemptCharCodeUntilFn((n) => lt(n) || n === 36 || n === 95 || r &&
|
|
1827
|
+
return this._attemptCharCodeUntilFn((n) => lt(n) || n === 36 || n === 95 || r && It(n) ? (r = true, false) : true), this._cursor.getChars(e).trim();
|
|
1873
1828
|
}
|
|
1874
1829
|
_consumeLetDeclarationValue() {
|
|
1875
1830
|
let e = this._cursor.clone();
|
|
@@ -1877,14 +1832,14 @@ var Ct = class {
|
|
|
1877
1832
|
let r = this._cursor.peek();
|
|
1878
1833
|
if (r === 59)
|
|
1879
1834
|
break;
|
|
1880
|
-
|
|
1835
|
+
$t(r) && (this._cursor.advance(), this._attemptCharCodeUntilFn((n) => n === 92 ? (this._cursor.advance(), false) : n === r)), this._cursor.advance();
|
|
1881
1836
|
}
|
|
1882
1837
|
this._endToken([this._cursor.getChars(e)]);
|
|
1883
1838
|
}
|
|
1884
1839
|
_tokenizeExpansionForm() {
|
|
1885
1840
|
if (this.isExpansionFormStart())
|
|
1886
1841
|
return this._consumeExpansionFormStart(), true;
|
|
1887
|
-
if (
|
|
1842
|
+
if (vo(this._cursor.peek()) && this._isInExpansionForm())
|
|
1888
1843
|
return this._consumeExpansionCaseStart(), true;
|
|
1889
1844
|
if (this._cursor.peek() === 125) {
|
|
1890
1845
|
if (this._isInExpansionCase())
|
|
@@ -1920,7 +1875,7 @@ var Ct = class {
|
|
|
1920
1875
|
return this._cursor.peek() === e ? (this._cursor.advance(), true) : false;
|
|
1921
1876
|
}
|
|
1922
1877
|
_attemptCharCodeCaseInsensitive(e) {
|
|
1923
|
-
return
|
|
1878
|
+
return yo(this._cursor.peek(), e) ? (this._cursor.advance(), true) : false;
|
|
1924
1879
|
}
|
|
1925
1880
|
_requireCharCode(e) {
|
|
1926
1881
|
let r = this._cursor.clone();
|
|
@@ -1975,10 +1930,10 @@ var Ct = class {
|
|
|
1975
1930
|
let r = this._cursor.clone();
|
|
1976
1931
|
if (this._cursor.advance(), this._attemptCharCode(35)) {
|
|
1977
1932
|
let n = this._attemptCharCode(120) || this._attemptCharCode(88), s = this._cursor.clone();
|
|
1978
|
-
if (this._attemptCharCodeUntilFn(
|
|
1933
|
+
if (this._attemptCharCodeUntilFn(Ao), this._cursor.peek() != 59) {
|
|
1979
1934
|
this._cursor.advance();
|
|
1980
|
-
let a = n ?
|
|
1981
|
-
throw this._createError(
|
|
1935
|
+
let a = n ? tr.HEX : tr.DEC;
|
|
1936
|
+
throw this._createError(_o(a, this._cursor.getChars(r)), this._cursor.getSpan());
|
|
1982
1937
|
}
|
|
1983
1938
|
let i = this._cursor.getChars(s);
|
|
1984
1939
|
this._cursor.advance();
|
|
@@ -1986,18 +1941,18 @@ var Ct = class {
|
|
|
1986
1941
|
let a = parseInt(i, n ? 16 : 10);
|
|
1987
1942
|
this._endToken([String.fromCharCode(a), this._cursor.getChars(r)]);
|
|
1988
1943
|
} catch {
|
|
1989
|
-
throw this._createError(
|
|
1944
|
+
throw this._createError(Vs(this._cursor.getChars(r)), this._cursor.getSpan());
|
|
1990
1945
|
}
|
|
1991
1946
|
} else {
|
|
1992
1947
|
let n = this._cursor.clone();
|
|
1993
|
-
if (this._attemptCharCodeUntilFn(
|
|
1948
|
+
if (this._attemptCharCodeUntilFn(Do), this._cursor.peek() != 59)
|
|
1994
1949
|
this._beginToken(e, r), this._cursor = n, this._endToken(["&"]);
|
|
1995
1950
|
else {
|
|
1996
1951
|
let s = this._cursor.getChars(n);
|
|
1997
1952
|
this._cursor.advance();
|
|
1998
1953
|
let i = Ve[s];
|
|
1999
1954
|
if (!i)
|
|
2000
|
-
throw this._createError(
|
|
1955
|
+
throw this._createError(Vs(s), this._cursor.getSpan(r));
|
|
2001
1956
|
this._endToken([i, `&${s};`]);
|
|
2002
1957
|
}
|
|
2003
1958
|
}
|
|
@@ -2027,10 +1982,10 @@ var Ct = class {
|
|
|
2027
1982
|
}
|
|
2028
1983
|
_consumePrefixAndName() {
|
|
2029
1984
|
let e = this._cursor.clone(), r = "";
|
|
2030
|
-
for (; this._cursor.peek() !== 58 &&
|
|
1985
|
+
for (; this._cursor.peek() !== 58 && !Eo(this._cursor.peek()); )
|
|
2031
1986
|
this._cursor.advance();
|
|
2032
1987
|
let n;
|
|
2033
|
-
this._cursor.peek() === 58 ? (r = this._cursor.getChars(e), this._cursor.advance(), n = this._cursor.clone()) : n = e, this._requireCharCodeUntilFn(
|
|
1988
|
+
this._cursor.peek() === 58 ? (r = this._cursor.getChars(e), this._cursor.advance(), n = this._cursor.clone()) : n = e, this._requireCharCodeUntilFn(Us, r === "" ? 0 : 1);
|
|
2034
1989
|
let s = this._cursor.getChars(n);
|
|
2035
1990
|
return [r, s];
|
|
2036
1991
|
}
|
|
@@ -2060,7 +2015,7 @@ var Ct = class {
|
|
|
2060
2015
|
if (this._canSelfClose && this.tokens[this.tokens.length - 1].type === 2)
|
|
2061
2016
|
return;
|
|
2062
2017
|
let a = this._getTagContentType(r, n, this._fullNameStack.length > 0, i);
|
|
2063
|
-
this._handleFullNameStackForTagOpen(n, r), a ===
|
|
2018
|
+
this._handleFullNameStackForTagOpen(n, r), a === P.RAW_TEXT ? this._consumeRawTextWithTagClose(n, r, false) : a === P.ESCAPABLE_RAW_TEXT && this._consumeRawTextWithTagClose(n, r, true);
|
|
2064
2019
|
}
|
|
2065
2020
|
_consumeRawTextWithTagClose(e, r, n) {
|
|
2066
2021
|
this._consumeRawText(n, () => !this._attemptCharCode(60) || !this._attemptCharCode(47) || (this._attemptCharCodeUntilFn(b), !this._attemptStrCaseInsensitive(e ? `${e}:${r}` : r)) ? false : (this._attemptCharCodeUntilFn(b), this._attemptCharCode(62))), this._beginToken(3), this._requireCharCodeUntilFn((s) => s === 62, 3), this._cursor.advance(), this._endToken([e, r]), this._handleFullNameStackForTagClose(e, r);
|
|
@@ -2086,7 +2041,7 @@ var Ct = class {
|
|
|
2086
2041
|
let n = () => this._cursor.peek() === r;
|
|
2087
2042
|
e = this._consumeWithInterpolation(16, 17, n, n), this._consumeQuote(r);
|
|
2088
2043
|
} else {
|
|
2089
|
-
let r = () =>
|
|
2044
|
+
let r = () => Us(this._cursor.peek());
|
|
2090
2045
|
e = this._consumeWithInterpolation(16, 17, r, r);
|
|
2091
2046
|
}
|
|
2092
2047
|
return e;
|
|
@@ -2158,7 +2113,7 @@ var Ct = class {
|
|
|
2158
2113
|
} else
|
|
2159
2114
|
this._attemptStr("//") && (o = true);
|
|
2160
2115
|
let p = this._cursor.peek();
|
|
2161
|
-
this._cursor.advance(), p === 92 ? this._cursor.advance() : p === a ? a = null : !o && a === null &&
|
|
2116
|
+
this._cursor.advance(), p === 92 ? this._cursor.advance() : p === a ? a = null : !o && a === null && $t(p) && (a = p);
|
|
2162
2117
|
}
|
|
2163
2118
|
s.push(this._getProcessedChars(i, this._cursor)), this._endToken(s);
|
|
2164
2119
|
}
|
|
@@ -2181,7 +2136,7 @@ var Ct = class {
|
|
|
2181
2136
|
_isBlockStart() {
|
|
2182
2137
|
if (this._tokenizeBlocks && this._cursor.peek() === 64) {
|
|
2183
2138
|
let e = this._cursor.clone();
|
|
2184
|
-
if (e.advance(),
|
|
2139
|
+
if (e.advance(), zs(e.peek()))
|
|
2185
2140
|
return true;
|
|
2186
2141
|
}
|
|
2187
2142
|
return false;
|
|
@@ -2220,34 +2175,34 @@ var Ct = class {
|
|
|
2220
2175
|
function b(t7) {
|
|
2221
2176
|
return !ut(t7) || t7 === 0;
|
|
2222
2177
|
}
|
|
2223
|
-
function
|
|
2178
|
+
function Us(t7) {
|
|
2224
2179
|
return ut(t7) || t7 === 62 || t7 === 60 || t7 === 47 || t7 === 39 || t7 === 34 || t7 === 61 || t7 === 0;
|
|
2225
2180
|
}
|
|
2226
|
-
function
|
|
2181
|
+
function Eo(t7) {
|
|
2227
2182
|
return (t7 < 97 || 122 < t7) && (t7 < 65 || 90 < t7) && (t7 < 48 || t7 > 57);
|
|
2228
2183
|
}
|
|
2229
|
-
function
|
|
2230
|
-
return t7 === 59 || t7 === 0 || !
|
|
2184
|
+
function Ao(t7) {
|
|
2185
|
+
return t7 === 59 || t7 === 0 || !vs(t7);
|
|
2231
2186
|
}
|
|
2232
|
-
function
|
|
2187
|
+
function Do(t7) {
|
|
2233
2188
|
return t7 === 59 || t7 === 0 || !lt(t7);
|
|
2234
2189
|
}
|
|
2235
|
-
function
|
|
2190
|
+
function vo(t7) {
|
|
2236
2191
|
return t7 !== 125;
|
|
2237
2192
|
}
|
|
2238
|
-
function
|
|
2239
|
-
return
|
|
2193
|
+
function yo(t7, e) {
|
|
2194
|
+
return Ws(t7) === Ws(e);
|
|
2240
2195
|
}
|
|
2241
|
-
function
|
|
2196
|
+
function Ws(t7) {
|
|
2242
2197
|
return t7 >= 97 && t7 <= 122 ? t7 - 97 + 65 : t7;
|
|
2243
2198
|
}
|
|
2244
|
-
function
|
|
2245
|
-
return lt(t7) ||
|
|
2199
|
+
function zs(t7) {
|
|
2200
|
+
return lt(t7) || It(t7) || t7 === 95;
|
|
2246
2201
|
}
|
|
2247
|
-
function
|
|
2202
|
+
function Gs(t7) {
|
|
2248
2203
|
return t7 !== 59 && b(t7);
|
|
2249
2204
|
}
|
|
2250
|
-
function
|
|
2205
|
+
function wo(t7) {
|
|
2251
2206
|
let e = [], r;
|
|
2252
2207
|
for (let n = 0; n < t7.length; n++) {
|
|
2253
2208
|
let s = t7[n];
|
|
@@ -2255,7 +2210,7 @@ function Vo(t7) {
|
|
|
2255
2210
|
}
|
|
2256
2211
|
return e;
|
|
2257
2212
|
}
|
|
2258
|
-
var
|
|
2213
|
+
var rr = class t3 {
|
|
2259
2214
|
constructor(e, r) {
|
|
2260
2215
|
if (e instanceof t3) {
|
|
2261
2216
|
this.file = e.file, this.input = e.input, this.end = e.end;
|
|
@@ -2304,7 +2259,7 @@ var nr = class t3 {
|
|
|
2304
2259
|
if (e.offset >= this.end)
|
|
2305
2260
|
throw this.state = e, new St('Unexpected character "EOF"', this);
|
|
2306
2261
|
let r = this.charAt(e.offset);
|
|
2307
|
-
r === 10 ? (e.line++, e.column = 0) :
|
|
2262
|
+
r === 10 ? (e.line++, e.column = 0) : Rt(r) || e.column++, e.offset++, this.updatePeek(e);
|
|
2308
2263
|
}
|
|
2309
2264
|
updatePeek(e) {
|
|
2310
2265
|
e.peek = e.offset >= this.end ? 0 : this.charAt(e.offset);
|
|
@@ -2312,7 +2267,7 @@ var nr = class t3 {
|
|
|
2312
2267
|
locationFromCursor(e) {
|
|
2313
2268
|
return new ie(e.file, e.state.offset, e.state.line, e.state.column);
|
|
2314
2269
|
}
|
|
2315
|
-
},
|
|
2270
|
+
}, Wr = class t4 extends rr {
|
|
2316
2271
|
constructor(e, r) {
|
|
2317
2272
|
e instanceof t4 ? (super(e), this.internalState = { ...e.internalState }) : (super(e, r), this.internalState = this.state);
|
|
2318
2273
|
}
|
|
@@ -2361,13 +2316,13 @@ var nr = class t3 {
|
|
|
2361
2316
|
this.advanceState(this.internalState);
|
|
2362
2317
|
let r = this.clone();
|
|
2363
2318
|
this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 2);
|
|
2364
|
-
} else if (
|
|
2319
|
+
} else if (kr(e())) {
|
|
2365
2320
|
let r = "", n = 0, s = this.clone();
|
|
2366
|
-
for (;
|
|
2321
|
+
for (; kr(e()) && n < 3; )
|
|
2367
2322
|
s = this.clone(), r += String.fromCodePoint(e()), this.advanceState(this.internalState), n++;
|
|
2368
2323
|
this.state.peek = parseInt(r, 8), this.internalState = s.internalState;
|
|
2369
2324
|
} else
|
|
2370
|
-
|
|
2325
|
+
Rt(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.internalState.peek;
|
|
2371
2326
|
}
|
|
2372
2327
|
decodeHexDigits(e, r) {
|
|
2373
2328
|
let n = this.input.slice(e.internalState.offset, e.internalState.offset + r), s = parseInt(n, 16);
|
|
@@ -2387,22 +2342,22 @@ var L = class t5 extends Oe {
|
|
|
2387
2342
|
constructor(e, r, n) {
|
|
2388
2343
|
super(r, n), this.elementName = e;
|
|
2389
2344
|
}
|
|
2390
|
-
},
|
|
2345
|
+
}, Yr = class {
|
|
2391
2346
|
constructor(e, r) {
|
|
2392
2347
|
this.rootNodes = e, this.errors = r;
|
|
2393
2348
|
}
|
|
2394
|
-
},
|
|
2349
|
+
}, nr = class {
|
|
2395
2350
|
constructor(e) {
|
|
2396
2351
|
this.getTagDefinition = e;
|
|
2397
2352
|
}
|
|
2398
2353
|
parse(e, r, n, s = false, i) {
|
|
2399
|
-
let a = (D) => (I, ...F) => D(I.toLowerCase(), ...F), o = s ? this.getTagDefinition : a(this.getTagDefinition), u = (D) => o(D).getContentType(), p = s ? i : a(i),
|
|
2354
|
+
let a = (D) => (I, ...F) => D(I.toLowerCase(), ...F), o = s ? this.getTagDefinition : a(this.getTagDefinition), u = (D) => o(D).getContentType(), p = s ? i : a(i), f = Qs(e, r, i ? (D, I, F, c) => {
|
|
2400
2355
|
let g = p(D, I, F, c);
|
|
2401
2356
|
return g !== void 0 ? g : u(D);
|
|
2402
|
-
} : u, n),
|
|
2403
|
-
return A.build(), new
|
|
2357
|
+
} : u, n), d = n && n.canSelfClose || false, C = n && n.allowHtmComponentClosingTags || false, A = new jr(f.tokens, o, d, C, s);
|
|
2358
|
+
return A.build(), new Yr(A.rootNodes, f.errors.concat(A.errors));
|
|
2404
2359
|
}
|
|
2405
|
-
},
|
|
2360
|
+
}, jr = class t6 {
|
|
2406
2361
|
constructor(e, r, n, s, i) {
|
|
2407
2362
|
this.tokens = e, this.getTagDefinition = r, this.canSelfClose = n, this.allowHtmComponentClosingTags = s, this.isTagNameCaseSensitive = i, this._index = -1, this._containerStack = [], this.rootNodes = [], this.errors = [], this._advance();
|
|
2408
2363
|
}
|
|
@@ -2410,7 +2365,7 @@ var L = class t5 extends Oe {
|
|
|
2410
2365
|
for (; this._peek.type !== 34; )
|
|
2411
2366
|
this._peek.type === 0 || this._peek.type === 4 ? this._consumeStartTag(this._advance()) : this._peek.type === 3 ? (this._closeVoidElement(), this._consumeEndTag(this._advance())) : this._peek.type === 12 ? (this._closeVoidElement(), this._consumeCdata(this._advance())) : this._peek.type === 10 ? (this._closeVoidElement(), this._consumeComment(this._advance())) : this._peek.type === 5 || this._peek.type === 7 || this._peek.type === 6 ? (this._closeVoidElement(), this._consumeText(this._advance())) : this._peek.type === 20 ? this._consumeExpansion(this._advance()) : this._peek.type === 25 ? (this._closeVoidElement(), this._consumeBlockOpen(this._advance())) : this._peek.type === 27 ? (this._closeVoidElement(), this._consumeBlockClose(this._advance())) : this._peek.type === 29 ? (this._closeVoidElement(), this._consumeIncompleteBlock(this._advance())) : this._peek.type === 30 ? (this._closeVoidElement(), this._consumeLet(this._advance())) : this._peek.type === 18 ? this._consumeDocType(this._advance()) : this._peek.type === 33 ? (this._closeVoidElement(), this._consumeIncompleteLet(this._advance())) : this._advance();
|
|
2412
2367
|
for (let e of this._containerStack)
|
|
2413
|
-
e instanceof
|
|
2368
|
+
e instanceof te && this.errors.push(L.create(e.name, e.sourceSpan, `Unclosed block "${e.name}"`));
|
|
2414
2369
|
}
|
|
2415
2370
|
_advance() {
|
|
2416
2371
|
let e = this._peek;
|
|
@@ -2421,15 +2376,15 @@ var L = class t5 extends Oe {
|
|
|
2421
2376
|
}
|
|
2422
2377
|
_consumeCdata(e) {
|
|
2423
2378
|
let r = this._advance(), n = this._getText(r), s = this._advanceIf(13);
|
|
2424
|
-
this._addToParent(new
|
|
2379
|
+
this._addToParent(new Wt(n, new h(e.sourceSpan.start, (s || r).sourceSpan.end), [r]));
|
|
2425
2380
|
}
|
|
2426
2381
|
_consumeComment(e) {
|
|
2427
2382
|
let r = this._advanceIf(7), n = this._advanceIf(11), s = r != null ? r.parts[0].trim() : null, i = n == null ? e.sourceSpan : new h(e.sourceSpan.start, n.sourceSpan.end, e.sourceSpan.fullStart);
|
|
2428
|
-
this._addToParent(new
|
|
2383
|
+
this._addToParent(new jt(s, i));
|
|
2429
2384
|
}
|
|
2430
2385
|
_consumeDocType(e) {
|
|
2431
2386
|
let r = this._advanceIf(7), n = this._advanceIf(19), s = r != null ? r.parts[0].trim() : null, i = new h(e.sourceSpan.start, (n || r || e).sourceSpan.end);
|
|
2432
|
-
this._addToParent(new
|
|
2387
|
+
this._addToParent(new Kt(s, i));
|
|
2433
2388
|
}
|
|
2434
2389
|
_consumeExpansion(e) {
|
|
2435
2390
|
let r = this._advance(), n = this._advance(), s = [];
|
|
@@ -2459,19 +2414,19 @@ var L = class t5 extends Oe {
|
|
|
2459
2414
|
if (i.build(), i.errors.length > 0)
|
|
2460
2415
|
return this.errors = this.errors.concat(i.errors), null;
|
|
2461
2416
|
let a = new h(e.sourceSpan.start, s.sourceSpan.end, e.sourceSpan.fullStart), o = new h(r.sourceSpan.start, s.sourceSpan.end, r.sourceSpan.fullStart);
|
|
2462
|
-
return new
|
|
2417
|
+
return new Gt(e.parts[0], i.rootNodes, a, e.sourceSpan, o);
|
|
2463
2418
|
}
|
|
2464
2419
|
_collectExpansionExpTokens(e) {
|
|
2465
2420
|
let r = [], n = [22];
|
|
2466
2421
|
for (; ; ) {
|
|
2467
2422
|
if ((this._peek.type === 20 || this._peek.type === 22) && n.push(this._peek.type), this._peek.type === 23)
|
|
2468
|
-
if (
|
|
2423
|
+
if (Xs(n, 22)) {
|
|
2469
2424
|
if (n.pop(), n.length === 0)
|
|
2470
2425
|
return r;
|
|
2471
2426
|
} else
|
|
2472
2427
|
return this.errors.push(L.create(null, e.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
|
|
2473
2428
|
if (this._peek.type === 24)
|
|
2474
|
-
if (
|
|
2429
|
+
if (Xs(n, 20))
|
|
2475
2430
|
n.pop();
|
|
2476
2431
|
else
|
|
2477
2432
|
return this.errors.push(L.create(null, e.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
|
|
@@ -2497,10 +2452,10 @@ var L = class t5 extends Oe {
|
|
|
2497
2452
|
i != null && i.children.length === 0 && this.getTagDefinition(i.name).ignoreFirstLf && (s = s.substring(1), r[0] = { type: e.type, sourceSpan: e.sourceSpan, parts: [s] });
|
|
2498
2453
|
}
|
|
2499
2454
|
for (; this._peek.type === 8 || this._peek.type === 5 || this._peek.type === 9; )
|
|
2500
|
-
e = this._advance(), r.push(e), e.type === 8 ? s += e.parts.join("").replace(/&([^;]+);/g,
|
|
2455
|
+
e = this._advance(), r.push(e), e.type === 8 ? s += e.parts.join("").replace(/&([^;]+);/g, Js) : e.type === 9 ? s += e.parts[0] : s += e.parts.join("");
|
|
2501
2456
|
if (s.length > 0) {
|
|
2502
2457
|
let i = e.sourceSpan;
|
|
2503
|
-
this._addToParent(new
|
|
2458
|
+
this._addToParent(new Ut(s, new h(n.start, i.end, n.fullStart, n.details), r));
|
|
2504
2459
|
}
|
|
2505
2460
|
}
|
|
2506
2461
|
_closeVoidElement() {
|
|
@@ -2518,8 +2473,8 @@ var L = class t5 extends Oe {
|
|
|
2518
2473
|
this.canSelfClose || C.canSelfClose || Me(i) !== null || C.isVoid || this.errors.push(L.create(i, e.sourceSpan, `Only void, custom and foreign elements can be self closed "${e.parts[1]}"`));
|
|
2519
2474
|
} else
|
|
2520
2475
|
this._peek.type === 1 && (this._advance(), a = false);
|
|
2521
|
-
let o = this._peek.sourceSpan.fullStart, u = new h(e.sourceSpan.start, o, e.sourceSpan.fullStart), p = new h(e.sourceSpan.start, o, e.sourceSpan.fullStart), l = new h(e.sourceSpan.start.moveBy(1), e.sourceSpan.end),
|
|
2522
|
-
this._pushContainer(
|
|
2476
|
+
let o = this._peek.sourceSpan.fullStart, u = new h(e.sourceSpan.start, o, e.sourceSpan.fullStart), p = new h(e.sourceSpan.start, o, e.sourceSpan.fullStart), l = new h(e.sourceSpan.start.moveBy(1), e.sourceSpan.end), f = new Y(i, s, [], u, p, void 0, l), d = this._getContainer();
|
|
2477
|
+
this._pushContainer(f, d instanceof Y && this.getTagDefinition(d.name).isClosedByChild(f.name)), a ? this._popContainer(i, Y, u) : e.type === 4 && (this._popContainer(i, Y, null), this.errors.push(L.create(i, u, `Opening tag "${i}" not terminated.`)));
|
|
2523
2478
|
}
|
|
2524
2479
|
_pushContainer(e, r) {
|
|
2525
2480
|
r && this._containerStack.pop(), this._addToParent(e), this._containerStack.push(e);
|
|
@@ -2539,7 +2494,7 @@ var L = class t5 extends Oe {
|
|
|
2539
2494
|
let a = this._containerStack[i];
|
|
2540
2495
|
if (Me(a.name) ? a.name === e : (e == null || a.name.toLowerCase() === e.toLowerCase()) && a instanceof r)
|
|
2541
2496
|
return a.endSourceSpan = n, a.sourceSpan.end = n !== null ? n.end : a.sourceSpan.end, this._containerStack.splice(i, this._containerStack.length - i), !s;
|
|
2542
|
-
(a instanceof
|
|
2497
|
+
(a instanceof te || a instanceof Y && !this.getTagDefinition(a.name).closedByParent) && (s = true);
|
|
2543
2498
|
}
|
|
2544
2499
|
return false;
|
|
2545
2500
|
}
|
|
@@ -2549,12 +2504,12 @@ var L = class t5 extends Oe {
|
|
|
2549
2504
|
let i = "", a = [], o, u;
|
|
2550
2505
|
if (this._peek.type === 16)
|
|
2551
2506
|
for (o = this._peek.sourceSpan, u = this._peek.sourceSpan.end; this._peek.type === 16 || this._peek.type === 17 || this._peek.type === 9; ) {
|
|
2552
|
-
let
|
|
2553
|
-
a.push(
|
|
2507
|
+
let f = this._advance();
|
|
2508
|
+
a.push(f), f.type === 17 ? i += f.parts.join("").replace(/&([^;]+);/g, Js) : f.type === 9 ? i += f.parts[0] : i += f.parts.join(""), u = n = f.sourceSpan.end;
|
|
2554
2509
|
}
|
|
2555
2510
|
this._peek.type === 15 && (u = n = this._advance().sourceSpan.end);
|
|
2556
2511
|
let l = o && u && new h((s == null ? void 0 : s.sourceSpan.start) ?? o.start, u, (s == null ? void 0 : s.sourceSpan.fullStart) ?? o.fullStart);
|
|
2557
|
-
return new
|
|
2512
|
+
return new Yt(r, i, new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), e.sourceSpan, l, a.length > 0 ? a : void 0, void 0);
|
|
2558
2513
|
}
|
|
2559
2514
|
_consumeBlockOpen(e) {
|
|
2560
2515
|
let r = [];
|
|
@@ -2563,11 +2518,11 @@ var L = class t5 extends Oe {
|
|
|
2563
2518
|
r.push(new ht(o.parts[0], o.sourceSpan));
|
|
2564
2519
|
}
|
|
2565
2520
|
this._peek.type === 26 && this._advance();
|
|
2566
|
-
let n = this._peek.sourceSpan.fullStart, s = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), i = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), a = new
|
|
2521
|
+
let n = this._peek.sourceSpan.fullStart, s = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), i = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), a = new te(e.parts[0], r, [], s, e.sourceSpan, i);
|
|
2567
2522
|
this._pushContainer(a, false);
|
|
2568
2523
|
}
|
|
2569
2524
|
_consumeBlockClose(e) {
|
|
2570
|
-
this._popContainer(null,
|
|
2525
|
+
this._popContainer(null, te, e.sourceSpan) || this.errors.push(L.create(null, e.sourceSpan, 'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'));
|
|
2571
2526
|
}
|
|
2572
2527
|
_consumeIncompleteBlock(e) {
|
|
2573
2528
|
let r = [];
|
|
@@ -2575,8 +2530,8 @@ var L = class t5 extends Oe {
|
|
|
2575
2530
|
let o = this._advance();
|
|
2576
2531
|
r.push(new ht(o.parts[0], o.sourceSpan));
|
|
2577
2532
|
}
|
|
2578
|
-
let n = this._peek.sourceSpan.fullStart, s = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), i = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), a = new
|
|
2579
|
-
this._pushContainer(a, false), this._popContainer(null,
|
|
2533
|
+
let n = this._peek.sourceSpan.fullStart, s = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), i = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), a = new te(e.parts[0], r, [], s, e.sourceSpan, i);
|
|
2534
|
+
this._pushContainer(a, false), this._popContainer(null, te, null), this.errors.push(L.create(e.parts[0], s, `Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`));
|
|
2580
2535
|
}
|
|
2581
2536
|
_consumeLet(e) {
|
|
2582
2537
|
let r = e.parts[0], n, s;
|
|
@@ -2590,13 +2545,13 @@ var L = class t5 extends Oe {
|
|
|
2590
2545
|
return;
|
|
2591
2546
|
} else
|
|
2592
2547
|
s = this._advance();
|
|
2593
|
-
let i = s.sourceSpan.fullStart, a = new h(e.sourceSpan.start, i, e.sourceSpan.fullStart), o = e.sourceSpan.toString().lastIndexOf(r), u = e.sourceSpan.start.moveBy(o), p = new h(u, e.sourceSpan.end), l = new
|
|
2548
|
+
let i = s.sourceSpan.fullStart, a = new h(e.sourceSpan.start, i, e.sourceSpan.fullStart), o = e.sourceSpan.toString().lastIndexOf(r), u = e.sourceSpan.start.moveBy(o), p = new h(u, e.sourceSpan.end), l = new ft(r, n.parts[0], a, p, n.sourceSpan);
|
|
2594
2549
|
this._addToParent(l);
|
|
2595
2550
|
}
|
|
2596
2551
|
_consumeIncompleteLet(e) {
|
|
2597
2552
|
let r = e.parts[0] ?? "", n = r ? ` "${r}"` : "";
|
|
2598
2553
|
if (r.length > 0) {
|
|
2599
|
-
let s = e.sourceSpan.toString().lastIndexOf(r), i = e.sourceSpan.start.moveBy(s), a = new h(i, e.sourceSpan.end), o = new h(e.sourceSpan.start, e.sourceSpan.start.moveBy(0)), u = new
|
|
2554
|
+
let s = e.sourceSpan.toString().lastIndexOf(r), i = e.sourceSpan.start.moveBy(s), a = new h(i, e.sourceSpan.end), o = new h(e.sourceSpan.start, e.sourceSpan.start.moveBy(0)), u = new ft(r, "", e.sourceSpan, a, o);
|
|
2600
2555
|
this._addToParent(u);
|
|
2601
2556
|
}
|
|
2602
2557
|
this.errors.push(L.create(e.parts[0], e.sourceSpan, `Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``));
|
|
@@ -2622,13 +2577,13 @@ var L = class t5 extends Oe {
|
|
|
2622
2577
|
return qe(e, r);
|
|
2623
2578
|
}
|
|
2624
2579
|
};
|
|
2625
|
-
function
|
|
2580
|
+
function Xs(t7, e) {
|
|
2626
2581
|
return t7.length > 0 && t7[t7.length - 1] === e;
|
|
2627
2582
|
}
|
|
2628
|
-
function
|
|
2583
|
+
function Js(t7, e) {
|
|
2629
2584
|
return Ve[e] !== void 0 ? Ve[e] || t7 : /^#x[a-f0-9]+$/i.test(e) ? String.fromCodePoint(parseInt(e.slice(2), 16)) : /^#\d+$/.test(e) ? String.fromCodePoint(parseInt(e.slice(1), 10)) : t7;
|
|
2630
2585
|
}
|
|
2631
|
-
var
|
|
2586
|
+
var sr = class extends nr {
|
|
2632
2587
|
constructor() {
|
|
2633
2588
|
super(He);
|
|
2634
2589
|
}
|
|
@@ -2636,18 +2591,18 @@ var ir = class extends sr {
|
|
|
2636
2591
|
return super.parse(e, r, n, s, i);
|
|
2637
2592
|
}
|
|
2638
2593
|
};
|
|
2639
|
-
var
|
|
2594
|
+
var Kr = null, bo = () => (Kr || (Kr = new sr()), Kr);
|
|
2640
2595
|
function Qr(t7, e = {}) {
|
|
2641
2596
|
let { canSelfClose: r = false, allowHtmComponentClosingTags: n = false, isTagNameCaseSensitive: s = false, getTagContentType: i, tokenizeAngularBlocks: a = false, tokenizeAngularLetDeclaration: o = false } = e;
|
|
2642
|
-
return
|
|
2597
|
+
return bo().parse(t7, "angular-html-parser", { tokenizeExpansionForms: a, interpolationConfig: void 0, canSelfClose: r, allowHtmComponentClosingTags: n, tokenizeBlocks: a, tokenizeLet: o }, s, i);
|
|
2643
2598
|
}
|
|
2644
|
-
function
|
|
2599
|
+
function To(t7, e) {
|
|
2645
2600
|
let r = new SyntaxError(t7 + " (" + e.loc.start.line + ":" + e.loc.start.column + ")");
|
|
2646
2601
|
return Object.assign(r, e);
|
|
2647
2602
|
}
|
|
2648
|
-
var
|
|
2603
|
+
var Zs = To;
|
|
2649
2604
|
var _t = 3;
|
|
2650
|
-
function
|
|
2605
|
+
function xo(t7) {
|
|
2651
2606
|
let e = t7.slice(0, _t);
|
|
2652
2607
|
if (e !== "---" && e !== "+++")
|
|
2653
2608
|
return;
|
|
@@ -2666,25 +2621,25 @@ ${e}`, r), i = n;
|
|
|
2666
2621
|
let u = t7.slice(0, a);
|
|
2667
2622
|
return { type: "front-matter", language: i, explicitLanguage: n, value: t7.slice(r + 1, s), startDelimiter: e, endDelimiter: u.slice(-_t), raw: u };
|
|
2668
2623
|
}
|
|
2669
|
-
function
|
|
2670
|
-
let e =
|
|
2624
|
+
function ko(t7) {
|
|
2625
|
+
let e = xo(t7);
|
|
2671
2626
|
if (!e)
|
|
2672
2627
|
return { content: t7 };
|
|
2673
2628
|
let { raw: r } = e;
|
|
2674
2629
|
return { frontMatter: e, content: w(false, r, /[^\n]/gu, " ") + t7.slice(r.length) };
|
|
2675
2630
|
}
|
|
2676
|
-
var
|
|
2677
|
-
var
|
|
2631
|
+
var ei = ko;
|
|
2632
|
+
var ir = { attrs: true, children: true, cases: true, expression: true }, ti = /* @__PURE__ */ new Set(["parent"]), le, Xr, Jr, ze = class ze2 {
|
|
2678
2633
|
constructor(e = {}) {
|
|
2679
|
-
|
|
2634
|
+
Et(this, le);
|
|
2680
2635
|
lr(this, "type");
|
|
2681
2636
|
lr(this, "parent");
|
|
2682
|
-
for (let r of /* @__PURE__ */ new Set([...
|
|
2637
|
+
for (let r of /* @__PURE__ */ new Set([...ti, ...Object.keys(e)]))
|
|
2683
2638
|
this.setProperty(r, e[r]);
|
|
2684
2639
|
}
|
|
2685
2640
|
setProperty(e, r) {
|
|
2686
2641
|
if (this[e] !== r) {
|
|
2687
|
-
if (e in
|
|
2642
|
+
if (e in ir && (r = r.map((n) => this.createChild(n))), !ti.has(e)) {
|
|
2688
2643
|
this[e] = r;
|
|
2689
2644
|
return;
|
|
2690
2645
|
}
|
|
@@ -2693,20 +2648,20 @@ var ar = { attrs: true, children: true, cases: true, expression: true }, fi = /*
|
|
|
2693
2648
|
}
|
|
2694
2649
|
map(e) {
|
|
2695
2650
|
let r;
|
|
2696
|
-
for (let n in
|
|
2651
|
+
for (let n in ir) {
|
|
2697
2652
|
let s = this[n];
|
|
2698
2653
|
if (s) {
|
|
2699
|
-
let i =
|
|
2700
|
-
r !== s && (r || (r = new
|
|
2654
|
+
let i = Bo(s, (a) => a.map(e));
|
|
2655
|
+
r !== s && (r || (r = new ze2({ parent: this.parent })), r.setProperty(n, i));
|
|
2701
2656
|
}
|
|
2702
2657
|
}
|
|
2703
2658
|
if (r)
|
|
2704
2659
|
for (let n in this)
|
|
2705
|
-
n in
|
|
2660
|
+
n in ir || (r[n] = this[n]);
|
|
2706
2661
|
return e(r || this);
|
|
2707
2662
|
}
|
|
2708
2663
|
walk(e) {
|
|
2709
|
-
for (let r in
|
|
2664
|
+
for (let r in ir) {
|
|
2710
2665
|
let n = this[r];
|
|
2711
2666
|
if (n)
|
|
2712
2667
|
for (let s = 0; s < n.length; s++)
|
|
@@ -2715,7 +2670,7 @@ var ar = { attrs: true, children: true, cases: true, expression: true }, fi = /*
|
|
|
2715
2670
|
e(this);
|
|
2716
2671
|
}
|
|
2717
2672
|
createChild(e) {
|
|
2718
|
-
let r = e instanceof
|
|
2673
|
+
let r = e instanceof ze2 ? e.clone() : new ze2(e);
|
|
2719
2674
|
return r.setProperty("parent", this), r;
|
|
2720
2675
|
}
|
|
2721
2676
|
insertChildBefore(e, r) {
|
|
@@ -2731,13 +2686,13 @@ var ar = { attrs: true, children: true, cases: true, expression: true }, fi = /*
|
|
|
2731
2686
|
n[n.indexOf(e)] = this.createChild(r);
|
|
2732
2687
|
}
|
|
2733
2688
|
clone() {
|
|
2734
|
-
return new
|
|
2689
|
+
return new ze2(this);
|
|
2735
2690
|
}
|
|
2736
2691
|
get $children() {
|
|
2737
|
-
return this[R(this, le,
|
|
2692
|
+
return this[R(this, le, Xr)];
|
|
2738
2693
|
}
|
|
2739
2694
|
set $children(e) {
|
|
2740
|
-
this[R(this, le,
|
|
2695
|
+
this[R(this, le, Xr)] = e;
|
|
2741
2696
|
}
|
|
2742
2697
|
get firstChild() {
|
|
2743
2698
|
var e;
|
|
@@ -2747,11 +2702,11 @@ var ar = { attrs: true, children: true, cases: true, expression: true }, fi = /*
|
|
|
2747
2702
|
return K(true, this.$children, -1);
|
|
2748
2703
|
}
|
|
2749
2704
|
get prev() {
|
|
2750
|
-
let e = R(this, le,
|
|
2705
|
+
let e = R(this, le, Jr);
|
|
2751
2706
|
return e[e.indexOf(this) - 1];
|
|
2752
2707
|
}
|
|
2753
2708
|
get next() {
|
|
2754
|
-
let e = R(this, le,
|
|
2709
|
+
let e = R(this, le, Jr);
|
|
2755
2710
|
return e[e.indexOf(this) + 1];
|
|
2756
2711
|
}
|
|
2757
2712
|
get rawName() {
|
|
@@ -2764,28 +2719,28 @@ var ar = { attrs: true, children: true, cases: true, expression: true }, fi = /*
|
|
|
2764
2719
|
return Object.fromEntries(this.attrs.map((e) => [e.fullName, e.value]));
|
|
2765
2720
|
}
|
|
2766
2721
|
};
|
|
2767
|
-
le = /* @__PURE__ */ new WeakSet(),
|
|
2722
|
+
le = /* @__PURE__ */ new WeakSet(), Xr = function() {
|
|
2768
2723
|
return this.type === "angularIcuCase" ? "expression" : this.type === "angularIcuExpression" ? "cases" : "children";
|
|
2769
|
-
},
|
|
2724
|
+
}, Jr = function() {
|
|
2770
2725
|
var e;
|
|
2771
2726
|
return ((e = this.parent) == null ? void 0 : e.$children) ?? [];
|
|
2772
2727
|
};
|
|
2773
|
-
var
|
|
2774
|
-
function
|
|
2728
|
+
var ar = ze;
|
|
2729
|
+
function Bo(t7, e) {
|
|
2775
2730
|
let r = t7.map(e);
|
|
2776
2731
|
return r.some((n, s) => n !== t7[s]) ? r : t7;
|
|
2777
2732
|
}
|
|
2778
|
-
var
|
|
2779
|
-
function
|
|
2733
|
+
var Lo = [{ regex: /^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su, parse: Fo }, { regex: /^\[if([^\]]*)\]><!$/u, parse: No }, { regex: /^<!\s*\[endif\]$/u, parse: Po }];
|
|
2734
|
+
function ri(t7, e) {
|
|
2780
2735
|
if (t7.value)
|
|
2781
|
-
for (let { regex: r, parse: n } of
|
|
2736
|
+
for (let { regex: r, parse: n } of Lo) {
|
|
2782
2737
|
let s = t7.value.match(r);
|
|
2783
2738
|
if (s)
|
|
2784
2739
|
return n(t7, e, s);
|
|
2785
2740
|
}
|
|
2786
2741
|
return null;
|
|
2787
2742
|
}
|
|
2788
|
-
function
|
|
2743
|
+
function Fo(t7, e, r) {
|
|
2789
2744
|
let [, n, s, i] = r, a = 4 + n.length, o = t7.sourceSpan.start.moveBy(a), u = o.moveBy(i.length), [p, l] = (() => {
|
|
2790
2745
|
try {
|
|
2791
2746
|
return [true, e(i, o).children];
|
|
@@ -2795,18 +2750,18 @@ function Ko(t7, e, r) {
|
|
|
2795
2750
|
})();
|
|
2796
2751
|
return { type: "ieConditionalComment", complete: p, children: l, condition: w(false, s.trim(), /\s+/gu, " "), sourceSpan: t7.sourceSpan, startSourceSpan: new h(t7.sourceSpan.start, o), endSourceSpan: new h(u, t7.sourceSpan.end) };
|
|
2797
2752
|
}
|
|
2798
|
-
function
|
|
2753
|
+
function No(t7, e, r) {
|
|
2799
2754
|
let [, n] = r;
|
|
2800
2755
|
return { type: "ieConditionalStartComment", condition: w(false, n.trim(), /\s+/gu, " "), sourceSpan: t7.sourceSpan };
|
|
2801
2756
|
}
|
|
2802
|
-
function
|
|
2757
|
+
function Po(t7) {
|
|
2803
2758
|
return { type: "ieConditionalEndComment", sourceSpan: t7.sourceSpan };
|
|
2804
2759
|
}
|
|
2805
|
-
var
|
|
2806
|
-
var
|
|
2807
|
-
function
|
|
2760
|
+
var or = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "autocapitalize", "autofocus", "class", "contenteditable", "dir", "draggable", "enterkeyhint", "hidden", "id", "inert", "inputmode", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "nonce", "popover", "slot", "spellcheck", "style", "tabindex", "title", "translate", "writingsuggestions"])], ["a", /* @__PURE__ */ new Set(["charset", "coords", "download", "href", "hreflang", "name", "ping", "referrerpolicy", "rel", "rev", "shape", "target", "type"])], ["applet", /* @__PURE__ */ new Set(["align", "alt", "archive", "code", "codebase", "height", "hspace", "name", "object", "vspace", "width"])], ["area", /* @__PURE__ */ new Set(["alt", "coords", "download", "href", "hreflang", "nohref", "ping", "referrerpolicy", "rel", "shape", "target", "type"])], ["audio", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"])], ["base", /* @__PURE__ */ new Set(["href", "target"])], ["basefont", /* @__PURE__ */ new Set(["color", "face", "size"])], ["blockquote", /* @__PURE__ */ new Set(["cite"])], ["body", /* @__PURE__ */ new Set(["alink", "background", "bgcolor", "link", "text", "vlink"])], ["br", /* @__PURE__ */ new Set(["clear"])], ["button", /* @__PURE__ */ new Set(["disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "name", "popovertarget", "popovertargetaction", "type", "value"])], ["canvas", /* @__PURE__ */ new Set(["height", "width"])], ["caption", /* @__PURE__ */ new Set(["align"])], ["col", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["colgroup", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["data", /* @__PURE__ */ new Set(["value"])], ["del", /* @__PURE__ */ new Set(["cite", "datetime"])], ["details", /* @__PURE__ */ new Set(["name", "open"])], ["dialog", /* @__PURE__ */ new Set(["open"])], ["dir", /* @__PURE__ */ new Set(["compact"])], ["div", /* @__PURE__ */ new Set(["align"])], ["dl", /* @__PURE__ */ new Set(["compact"])], ["embed", /* @__PURE__ */ new Set(["height", "src", "type", "width"])], ["fieldset", /* @__PURE__ */ new Set(["disabled", "form", "name"])], ["font", /* @__PURE__ */ new Set(["color", "face", "size"])], ["form", /* @__PURE__ */ new Set(["accept", "accept-charset", "action", "autocomplete", "enctype", "method", "name", "novalidate", "target"])], ["frame", /* @__PURE__ */ new Set(["frameborder", "longdesc", "marginheight", "marginwidth", "name", "noresize", "scrolling", "src"])], ["frameset", /* @__PURE__ */ new Set(["cols", "rows"])], ["h1", /* @__PURE__ */ new Set(["align"])], ["h2", /* @__PURE__ */ new Set(["align"])], ["h3", /* @__PURE__ */ new Set(["align"])], ["h4", /* @__PURE__ */ new Set(["align"])], ["h5", /* @__PURE__ */ new Set(["align"])], ["h6", /* @__PURE__ */ new Set(["align"])], ["head", /* @__PURE__ */ new Set(["profile"])], ["hr", /* @__PURE__ */ new Set(["align", "noshade", "size", "width"])], ["html", /* @__PURE__ */ new Set(["manifest", "version"])], ["iframe", /* @__PURE__ */ new Set(["align", "allow", "allowfullscreen", "allowpaymentrequest", "allowusermedia", "frameborder", "height", "loading", "longdesc", "marginheight", "marginwidth", "name", "referrerpolicy", "sandbox", "scrolling", "src", "srcdoc", "width"])], ["img", /* @__PURE__ */ new Set(["align", "alt", "border", "crossorigin", "decoding", "fetchpriority", "height", "hspace", "ismap", "loading", "longdesc", "name", "referrerpolicy", "sizes", "src", "srcset", "usemap", "vspace", "width"])], ["input", /* @__PURE__ */ new Set(["accept", "align", "alt", "autocomplete", "checked", "dirname", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "height", "ismap", "list", "max", "maxlength", "min", "minlength", "multiple", "name", "pattern", "placeholder", "popovertarget", "popovertargetaction", "readonly", "required", "size", "src", "step", "type", "usemap", "value", "width"])], ["ins", /* @__PURE__ */ new Set(["cite", "datetime"])], ["isindex", /* @__PURE__ */ new Set(["prompt"])], ["label", /* @__PURE__ */ new Set(["for", "form"])], ["legend", /* @__PURE__ */ new Set(["align"])], ["li", /* @__PURE__ */ new Set(["type", "value"])], ["link", /* @__PURE__ */ new Set(["as", "blocking", "charset", "color", "crossorigin", "disabled", "fetchpriority", "href", "hreflang", "imagesizes", "imagesrcset", "integrity", "media", "referrerpolicy", "rel", "rev", "sizes", "target", "type"])], ["map", /* @__PURE__ */ new Set(["name"])], ["menu", /* @__PURE__ */ new Set(["compact"])], ["meta", /* @__PURE__ */ new Set(["charset", "content", "http-equiv", "media", "name", "scheme"])], ["meter", /* @__PURE__ */ new Set(["high", "low", "max", "min", "optimum", "value"])], ["object", /* @__PURE__ */ new Set(["align", "archive", "border", "classid", "codebase", "codetype", "data", "declare", "form", "height", "hspace", "name", "standby", "type", "typemustmatch", "usemap", "vspace", "width"])], ["ol", /* @__PURE__ */ new Set(["compact", "reversed", "start", "type"])], ["optgroup", /* @__PURE__ */ new Set(["disabled", "label"])], ["option", /* @__PURE__ */ new Set(["disabled", "label", "selected", "value"])], ["output", /* @__PURE__ */ new Set(["for", "form", "name"])], ["p", /* @__PURE__ */ new Set(["align"])], ["param", /* @__PURE__ */ new Set(["name", "type", "value", "valuetype"])], ["pre", /* @__PURE__ */ new Set(["width"])], ["progress", /* @__PURE__ */ new Set(["max", "value"])], ["q", /* @__PURE__ */ new Set(["cite"])], ["script", /* @__PURE__ */ new Set(["async", "blocking", "charset", "crossorigin", "defer", "fetchpriority", "integrity", "language", "nomodule", "referrerpolicy", "src", "type"])], ["select", /* @__PURE__ */ new Set(["autocomplete", "disabled", "form", "multiple", "name", "required", "size"])], ["slot", /* @__PURE__ */ new Set(["name"])], ["source", /* @__PURE__ */ new Set(["height", "media", "sizes", "src", "srcset", "type", "width"])], ["style", /* @__PURE__ */ new Set(["blocking", "media", "type"])], ["table", /* @__PURE__ */ new Set(["align", "bgcolor", "border", "cellpadding", "cellspacing", "frame", "rules", "summary", "width"])], ["tbody", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["td", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["template", /* @__PURE__ */ new Set(["shadowrootclonable", "shadowrootdelegatesfocus", "shadowrootmode"])], ["textarea", /* @__PURE__ */ new Set(["autocomplete", "cols", "dirname", "disabled", "form", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows", "wrap"])], ["tfoot", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["th", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["thead", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["time", /* @__PURE__ */ new Set(["datetime"])], ["tr", /* @__PURE__ */ new Set(["align", "bgcolor", "char", "charoff", "valign"])], ["track", /* @__PURE__ */ new Set(["default", "kind", "label", "src", "srclang"])], ["ul", /* @__PURE__ */ new Set(["compact", "type"])], ["video", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "height", "loop", "muted", "playsinline", "poster", "preload", "src", "width"])]]);
|
|
2761
|
+
var ni = /* @__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", "element", "em", "embed", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "isindex", "kbd", "keygen", "label", "legend", "li", "link", "listing", "main", "map", "mark", "marquee", "math", "menu", "menuitem", "meta", "meter", "multicol", "nav", "nextid", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "pre", "progress", "q", "rb", "rbc", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp"]);
|
|
2762
|
+
function Io(t7) {
|
|
2808
2763
|
if (t7.type === "block") {
|
|
2809
|
-
if (t7.name = w(false, t7.name.toLowerCase(), /\s+/gu, " ").trim(), t7.type = "angularControlFlowBlock", !
|
|
2764
|
+
if (t7.name = w(false, t7.name.toLowerCase(), /\s+/gu, " ").trim(), t7.type = "angularControlFlowBlock", !Ie(t7.parameters)) {
|
|
2810
2765
|
delete t7.parameters;
|
|
2811
2766
|
return;
|
|
2812
2767
|
}
|
|
@@ -2815,38 +2770,38 @@ function Jo(t7) {
|
|
|
2815
2770
|
t7.parameters = { type: "angularControlFlowBlockParameters", children: t7.parameters, sourceSpan: new h(t7.parameters[0].sourceSpan.start, K(false, t7.parameters, -1).sourceSpan.end) };
|
|
2816
2771
|
}
|
|
2817
2772
|
}
|
|
2818
|
-
function
|
|
2773
|
+
function Ro(t7) {
|
|
2819
2774
|
t7.type === "letDeclaration" && (t7.type = "angularLetDeclaration", t7.id = t7.name, t7.init = { type: "angularLetDeclarationInitializer", sourceSpan: new h(t7.valueSpan.start, t7.valueSpan.end), value: t7.value }, delete t7.name, delete t7.value);
|
|
2820
2775
|
}
|
|
2821
|
-
function
|
|
2776
|
+
function $o(t7) {
|
|
2822
2777
|
(t7.type === "plural" || t7.type === "select") && (t7.clause = t7.type, t7.type = "angularIcuExpression"), t7.type === "expansionCase" && (t7.type = "angularIcuCase");
|
|
2823
2778
|
}
|
|
2824
|
-
function
|
|
2825
|
-
let { name: n, canSelfClose: s = true, normalizeTagName: i = false, normalizeAttributeName: a = false, allowHtmComponentClosingTags: o = false, isTagNameCaseSensitive: u = false, shouldParseAsRawText: p } = e, { rootNodes: l, errors:
|
|
2779
|
+
function ii(t7, e, r) {
|
|
2780
|
+
let { name: n, canSelfClose: s = true, normalizeTagName: i = false, normalizeAttributeName: a = false, allowHtmComponentClosingTags: o = false, isTagNameCaseSensitive: u = false, shouldParseAsRawText: p } = e, { rootNodes: l, errors: f } = Qr(t7, { canSelfClose: s, allowHtmComponentClosingTags: o, isTagNameCaseSensitive: u, getTagContentType: p ? (...c) => p(...c) ? P.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: n === "angular" ? true : void 0, tokenizeAngularLetDeclaration: n === "angular" ? true : void 0 });
|
|
2826
2781
|
if (n === "vue") {
|
|
2827
2782
|
if (l.some((x) => x.type === "docType" && x.value === "html" || x.type === "element" && x.name.toLowerCase() === "html"))
|
|
2828
|
-
return
|
|
2783
|
+
return ii(t7, oi, r);
|
|
2829
2784
|
let g, y = () => g ?? (g = Qr(t7, { canSelfClose: s, allowHtmComponentClosingTags: o, isTagNameCaseSensitive: u })), q = (x) => y().rootNodes.find(({ startSourceSpan: U }) => U && U.start.offset === x.startSourceSpan.start.offset) ?? x;
|
|
2830
2785
|
for (let [x, U] of l.entries()) {
|
|
2831
|
-
let { endSourceSpan:
|
|
2832
|
-
if (
|
|
2833
|
-
|
|
2834
|
-
else if (
|
|
2835
|
-
let
|
|
2836
|
-
|
|
2786
|
+
let { endSourceSpan: tn, startSourceSpan: ui } = U;
|
|
2787
|
+
if (tn === null)
|
|
2788
|
+
f = y().errors, l[x] = q(U);
|
|
2789
|
+
else if (Oo(U, r)) {
|
|
2790
|
+
let rn = y().errors.find((nn) => nn.span.start.offset > ui.start.offset && nn.span.start.offset < tn.end.offset);
|
|
2791
|
+
rn && si(rn), l[x] = q(U);
|
|
2837
2792
|
}
|
|
2838
2793
|
}
|
|
2839
2794
|
}
|
|
2840
|
-
|
|
2841
|
-
let
|
|
2795
|
+
f.length > 0 && si(f[0]);
|
|
2796
|
+
let d = (c) => {
|
|
2842
2797
|
let g = c.name.startsWith(":") ? c.name.slice(1).split(":")[0] : null, y = c.nameSpan.toString(), q = g !== null && y.startsWith(`${g}:`), x = q ? y.slice(g.length + 1) : y;
|
|
2843
2798
|
c.name = x, c.namespace = g, c.hasExplicitNamespace = q;
|
|
2844
2799
|
}, C = (c) => {
|
|
2845
2800
|
switch (c.type) {
|
|
2846
2801
|
case "element":
|
|
2847
|
-
|
|
2802
|
+
d(c);
|
|
2848
2803
|
for (let g of c.attrs)
|
|
2849
|
-
|
|
2804
|
+
d(g), g.valueSpan ? (g.value = g.valueSpan.toString(), /["']/u.test(g.value[0]) && (g.value = g.value.slice(1, -1))) : g.value = null;
|
|
2850
2805
|
break;
|
|
2851
2806
|
case "comment":
|
|
2852
2807
|
c.value = c.sourceSpan.toString().slice(4, -3);
|
|
@@ -2859,9 +2814,9 @@ function Si(t7, e, r) {
|
|
|
2859
2814
|
let y = c.toLowerCase();
|
|
2860
2815
|
return g(y) ? y : c;
|
|
2861
2816
|
}, D = (c) => {
|
|
2862
|
-
if (c.type === "element" && (i && (!c.namespace || c.namespace === c.tagDefinition.implicitNamespacePrefix || fe(c)) && (c.name = A(c.name, (g) =>
|
|
2817
|
+
if (c.type === "element" && (i && (!c.namespace || c.namespace === c.tagDefinition.implicitNamespacePrefix || fe(c)) && (c.name = A(c.name, (g) => ni.has(g))), a))
|
|
2863
2818
|
for (let g of c.attrs)
|
|
2864
|
-
g.namespace || (g.name = A(g.name, (y) =>
|
|
2819
|
+
g.namespace || (g.name = A(g.name, (y) => or.has(c.name) && (or.get("*").has(y) || or.get(c.name).has(y))));
|
|
2865
2820
|
}, I = (c) => {
|
|
2866
2821
|
c.sourceSpan && c.endSourceSpan && (c.sourceSpan = new h(c.sourceSpan.start, c.endSourceSpan.end));
|
|
2867
2822
|
}, F = (c) => {
|
|
@@ -2870,7 +2825,7 @@ function Si(t7, e, r) {
|
|
|
2870
2825
|
!c.namespace || c.namespace === g.implicitNamespacePrefix || fe(c) ? c.tagDefinition = g : c.tagDefinition = He("");
|
|
2871
2826
|
}
|
|
2872
2827
|
};
|
|
2873
|
-
return Qt(new class extends
|
|
2828
|
+
return Qt(new class extends mt {
|
|
2874
2829
|
visitExpansionCase(c, g) {
|
|
2875
2830
|
n === "angular" && this.visitChildren(g, (y) => {
|
|
2876
2831
|
y(c.expression);
|
|
@@ -2881,50 +2836,50 @@ function Si(t7, e, r) {
|
|
|
2881
2836
|
}
|
|
2882
2837
|
}(), l), l;
|
|
2883
2838
|
}
|
|
2884
|
-
function
|
|
2839
|
+
function Oo(t7, e) {
|
|
2885
2840
|
var n;
|
|
2886
2841
|
if (t7.type !== "element" || t7.name !== "template")
|
|
2887
2842
|
return false;
|
|
2888
2843
|
let r = (n = t7.attrs.find((s) => s.name === "lang")) == null ? void 0 : n.value;
|
|
2889
2844
|
return !r || Ne(e, { language: r }) === "html";
|
|
2890
2845
|
}
|
|
2891
|
-
function
|
|
2846
|
+
function si(t7) {
|
|
2892
2847
|
let { msg: e, span: { start: r, end: n } } = t7;
|
|
2893
|
-
throw
|
|
2848
|
+
throw Zs(e, { loc: { start: { line: r.line + 1, column: r.col + 1 }, end: { line: n.line + 1, column: n.col + 1 } }, cause: t7 });
|
|
2894
2849
|
}
|
|
2895
|
-
function
|
|
2896
|
-
let { frontMatter: s, content: i } = n ?
|
|
2850
|
+
function ai(t7, e, r = {}, n = true) {
|
|
2851
|
+
let { frontMatter: s, content: i } = n ? ei(t7) : { frontMatter: null, content: t7 }, a = new De(t7, r.filepath), o = new ie(a, 0, 0, 0), u = o.moveBy(t7.length), p = { type: "root", sourceSpan: new h(o, u), children: ii(i, e, r) };
|
|
2897
2852
|
if (s) {
|
|
2898
|
-
let
|
|
2899
|
-
s.sourceSpan = new h(
|
|
2853
|
+
let d = new ie(a, 0, 0, 0), C = d.moveBy(s.raw.length);
|
|
2854
|
+
s.sourceSpan = new h(d, C), p.children.unshift(s);
|
|
2900
2855
|
}
|
|
2901
|
-
let l = new
|
|
2902
|
-
let { offset: A } = C, D = w(false, t7.slice(0, A), /[^\n\r]/gu, " "), F =
|
|
2856
|
+
let l = new ar(p), f = (d, C) => {
|
|
2857
|
+
let { offset: A } = C, D = w(false, t7.slice(0, A), /[^\n\r]/gu, " "), F = ai(D + d, e, r, false);
|
|
2903
2858
|
F.sourceSpan = new h(C, K(false, F.children, -1).sourceSpan.end);
|
|
2904
2859
|
let c = F.children[0];
|
|
2905
2860
|
return c.length === A ? F.children.shift() : (c.sourceSpan = new h(c.sourceSpan.start.moveBy(A), c.sourceSpan.end), c.value = c.value.slice(A)), F;
|
|
2906
2861
|
};
|
|
2907
|
-
return l.walk((
|
|
2908
|
-
if (
|
|
2909
|
-
let C =
|
|
2910
|
-
C &&
|
|
2862
|
+
return l.walk((d) => {
|
|
2863
|
+
if (d.type === "comment") {
|
|
2864
|
+
let C = ri(d, f);
|
|
2865
|
+
C && d.parent.replaceChild(d, C);
|
|
2911
2866
|
}
|
|
2912
|
-
|
|
2867
|
+
Io(d), Ro(d), $o(d);
|
|
2913
2868
|
}), l;
|
|
2914
2869
|
}
|
|
2915
|
-
function
|
|
2916
|
-
return { parse: (e, r) =>
|
|
2870
|
+
function ur(t7) {
|
|
2871
|
+
return { parse: (e, r) => ai(e, t7, r), hasPragma: fs, astFormat: "html", locStart: J, locEnd: Z };
|
|
2917
2872
|
}
|
|
2918
|
-
var
|
|
2873
|
+
var oi = { name: "html", normalizeTagName: true, normalizeAttributeName: true, allowHtmComponentClosingTags: true }, Mo = ur(oi), qo = ur({ name: "angular" }), Ho = ur({ name: "vue", isTagNameCaseSensitive: true, shouldParseAsRawText(t7, e, r, n) {
|
|
2919
2874
|
return t7.toLowerCase() !== "html" && !r && (t7 !== "template" || n.some(({ name: s, value: i }) => s === "lang" && i !== "html" && i !== "" && i !== void 0));
|
|
2920
|
-
} }),
|
|
2921
|
-
var
|
|
2922
|
-
var
|
|
2875
|
+
} }), Vo = ur({ name: "lwc", canSelfClose: false });
|
|
2876
|
+
var Uo = { html: Ts };
|
|
2877
|
+
var Gh = en;
|
|
2923
2878
|
export {
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2879
|
+
Gh as default,
|
|
2880
|
+
xs as languages,
|
|
2881
|
+
Bs as options,
|
|
2882
|
+
Zr as parsers,
|
|
2883
|
+
Uo as printers
|
|
2929
2884
|
};
|
|
2930
|
-
//# sourceMappingURL=html-
|
|
2885
|
+
//# sourceMappingURL=html-f95ee5dc.js.map
|