@collabchron/notiq 0.2.0 → 1.0.0

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.
Files changed (282) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +230 -39
  3. package/dist/CodeActionMenuPlugin-EINOY4U4.mjs +15 -0
  4. package/dist/DynamicBlockComponent-NRQJ4WW4.mjs +161 -0
  5. package/dist/EquationComponent-CB6DFIHV.mjs +154 -0
  6. package/dist/ExcalidrawComponent-XW6646OH.mjs +528 -0
  7. package/dist/ExcalidrawPlugin-ZFHT62IF.mjs +14 -0
  8. package/dist/ExportPlugin-V2RLM63S.mjs +11 -0
  9. package/dist/FloatingLinkEditorPlugin-TRTCMSP4.mjs +12 -0
  10. package/dist/FloatingTextFormatToolbarPlugin-F2GY6LMI.mjs +30 -0
  11. package/dist/HintComponet-BRL6EAMS.mjs +217 -0
  12. package/dist/InlineImageComponent-UWIUWBHI.mjs +453 -0
  13. package/dist/MobileToolbar-BOOZAMQE.mjs +268 -0
  14. package/dist/SlashCommand-GMT5JI33.mjs +28 -0
  15. package/dist/StoryBuilderComponent-JGDBM5JU.mjs +562 -0
  16. package/{src/components/editor/plugins/TableCellActionMenuPlugin/index.tsx → dist/TableCellActionMenuPlugin-PGK2K3VG.mjs} +667 -759
  17. package/{src/components/editor/plugins/TableHoverActionsPlugin/index.tsx → dist/TableHoverActionsPlugin-GJVE6VRW.mjs} +258 -314
  18. package/dist/TemplatePlugin-ZD3QEVTI.mjs +9 -0
  19. package/dist/ToolbarPlugin-7TOZRD2R.mjs +1547 -0
  20. package/dist/babel-JZ2EV6AX.mjs +7233 -0
  21. package/dist/background-color-XZTYLGO2.mjs +362 -0
  22. package/dist/block-format-YJCV2DIY.mjs +15 -0
  23. package/dist/chunk-2FNEAMSP.mjs +127 -0
  24. package/dist/chunk-3CPBODXA.mjs +84 -0
  25. package/dist/chunk-3G37YKTV.mjs +83 -0
  26. package/dist/chunk-3JVFG7ER.mjs +184 -0
  27. package/dist/chunk-456TN7IM.mjs +110 -0
  28. package/dist/chunk-4EXYCTGJ.mjs +27 -0
  29. package/{src/utils/getSelectedNode.ts → dist/chunk-4HBCVSE6.mjs} +26 -27
  30. package/dist/chunk-4MEDW3T6.mjs +125 -0
  31. package/dist/chunk-4VWFVWYP.mjs +36 -0
  32. package/dist/chunk-5BAKY5KN.mjs +84 -0
  33. package/dist/chunk-5QSNIVIG.mjs +333 -0
  34. package/dist/chunk-64Z3FI7T.mjs +37 -0
  35. package/{src/components/editor/nodes/Stepper/index.tsx → dist/chunk-6RNZQOH2.mjs} +214 -260
  36. package/dist/chunk-77KXU36M.mjs +64 -0
  37. package/dist/chunk-77UA6HYR.mjs +165 -0
  38. package/dist/chunk-7NZAPJ4G.mjs +102 -0
  39. package/dist/chunk-7VUMHWWL.mjs +152 -0
  40. package/dist/chunk-AMMKBSST.mjs +1256 -0
  41. package/dist/chunk-BIU7WTLX.mjs +95 -0
  42. package/dist/chunk-EGMI62PP.mjs +83 -0
  43. package/dist/chunk-EHNQD5KO.mjs +88 -0
  44. package/dist/chunk-FSM26655.mjs +37 -0
  45. package/{src/components/editor/nodes/Hint/index.tsx → dist/chunk-G53GLEAY.mjs} +158 -190
  46. package/dist/chunk-GK35L7UY.mjs +28 -0
  47. package/dist/chunk-GXYD4VZM.mjs +193 -0
  48. package/dist/chunk-GYIOYVCN.mjs +538 -0
  49. package/dist/chunk-GZPNVR7L.mjs +157 -0
  50. package/dist/chunk-JXDPPUJI.mjs +52 -0
  51. package/dist/chunk-K36V4SIW.mjs +141 -0
  52. package/dist/chunk-KJ6AJ44Q.mjs +128 -0
  53. package/dist/chunk-KJV3FAZ7.mjs +142 -0
  54. package/{src/components/editor/plugins/ImagesPlugin/index.tsx → dist/chunk-LGG4IUIA.mjs} +189 -222
  55. package/dist/chunk-LQN3CMKV.mjs +1906 -0
  56. package/dist/chunk-N3WN46VL.mjs +236 -0
  57. package/dist/chunk-PBD6LMLC.mjs +366 -0
  58. package/dist/chunk-POGRR73N.mjs +33 -0
  59. package/{src/components/editor/utils/editorFormatting.ts → dist/chunk-PZSUSXQG.mjs} +238 -282
  60. package/dist/chunk-QEIFVK5M.mjs +29 -0
  61. package/dist/chunk-QHIQKMVN.mjs +427 -0
  62. package/dist/chunk-TCYK7DM7.mjs +36 -0
  63. package/dist/chunk-TTHQCW5F.mjs +47 -0
  64. package/dist/chunk-U47ABU5Z.mjs +53 -0
  65. package/dist/chunk-WDG7J2DY.mjs +116 -0
  66. package/dist/chunk-WJRHXI2C.mjs +733 -0
  67. package/dist/chunk-XLER2DHM.mjs +357 -0
  68. package/dist/chunk-XWC4TK2N.mjs +315 -0
  69. package/dist/chunk-YHPNOWFH.mjs +15 -0
  70. package/dist/chunk-YKC3SO4Z.mjs +32 -0
  71. package/dist/chunk-YMBXLRW5.mjs +374 -0
  72. package/dist/chunk-YPHOEJ46.mjs +64 -0
  73. package/dist/chunk-YUDCJRJM.mjs +25 -0
  74. package/dist/chunk-Z4EWP7BI.mjs +65 -0
  75. package/dist/chunk-ZB5LZQKC.mjs +191 -0
  76. package/dist/chunk-ZJRKATOJ.mjs +65 -0
  77. package/dist/color-BPKOPQKN.mjs +12 -0
  78. package/dist/estree-XC56IUFX.mjs +4414 -0
  79. package/dist/font-FEZ3GKSF.mjs +13 -0
  80. package/dist/font-size-EK775WRH.mjs +15 -0
  81. package/dist/html-S3ACX7NI.mjs +2738 -0
  82. package/dist/image-2PJIAYAT.mjs +993 -0
  83. package/dist/index.d.mts +145 -0
  84. package/dist/index.d.ts +145 -0
  85. package/dist/index.js +57855 -0
  86. package/dist/index.mjs +1790 -0
  87. package/dist/insert-gif-SAIDYURE.mjs +100 -0
  88. package/dist/insert-image-U3RJN3OW.mjs +259 -0
  89. package/dist/insert-node-5P2CRJ7S.mjs +201 -0
  90. package/dist/insert-poll-HCPM7MO6.mjs +33 -0
  91. package/dist/insert-table-24XYUS2W.mjs +66 -0
  92. package/dist/markdown-SNVBOSRA.mjs +3487 -0
  93. package/dist/poll-component-2R4MDLHS.mjs +303 -0
  94. package/dist/postcss-ONF3VDIM.mjs +5051 -0
  95. package/dist/standalone-EOIALU3M.mjs +2373 -0
  96. package/dist/stepper-FSARL6X6.mjs +304 -0
  97. package/dist/styles/notiq.css +1149 -0
  98. package/dist/text-align-VLECWO4H.mjs +118 -0
  99. package/dist/text-format-BG5WOOPZ.mjs +16 -0
  100. package/dist/typescript-AMPI6OVS.mjs +13135 -0
  101. package/package.json +94 -10
  102. package/src/styles/notiq.css +1149 -0
  103. package/src/styles/tailwind-plugin.ts +134 -0
  104. package/components.json +0 -21
  105. package/eslint.config.mjs +0 -16
  106. package/next.config.ts +0 -12
  107. package/postcss.config.mjs +0 -5
  108. package/public/file.svg +0 -1
  109. package/public/globe.svg +0 -1
  110. package/public/images/icons/plus.svg +0 -10
  111. package/public/next.svg +0 -1
  112. package/public/vercel.svg +0 -1
  113. package/public/window.svg +0 -1
  114. package/src/app/actions.ts +0 -2
  115. package/src/app/api/ai/route.ts +0 -175
  116. package/src/app/api/edgestore/[...edgestore]/route.ts +0 -28
  117. package/src/app/favicon.ico +0 -0
  118. package/src/app/globals.css +0 -205
  119. package/src/app/layout.tsx +0 -38
  120. package/src/app/page.tsx +0 -12
  121. package/src/components/editor/Core.tsx +0 -220
  122. package/src/components/editor/hooks/instructions-messages.ts +0 -300
  123. package/src/components/editor/hooks/use-mobile.ts +0 -19
  124. package/src/components/editor/hooks/useReport.ts +0 -67
  125. package/src/components/editor/hooks/useResizeObservert.ts +0 -22
  126. package/src/components/editor/index.tsx +0 -39
  127. package/src/components/editor/lexical-on-change.tsx +0 -28
  128. package/src/components/editor/nodes/CollapsibleNode/CollapsibleContainerNode.ts +0 -92
  129. package/src/components/editor/nodes/CollapsibleNode/CollapsibleContentNode.ts +0 -65
  130. package/src/components/editor/nodes/CollapsibleNode/CollapsibleTitleNode.ts +0 -105
  131. package/src/components/editor/nodes/EquationNode/EquationComponent.tsx +0 -143
  132. package/src/components/editor/nodes/EquationNode/EquationNode.tsx +0 -170
  133. package/src/components/editor/nodes/ExcalidrawNode/ExcalidrawComponent.tsx +0 -228
  134. package/src/components/editor/nodes/ExcalidrawNode/ExcalidrawImage.tsx +0 -137
  135. package/src/components/editor/nodes/ExcalidrawNode/ImageResizer.tsx +0 -317
  136. package/src/components/editor/nodes/ExcalidrawNode/index.tsx +0 -204
  137. package/src/components/editor/nodes/FigmaNode/FigmaNode.tsx +0 -134
  138. package/src/components/editor/nodes/Hint/HintComponet.tsx +0 -221
  139. package/src/components/editor/nodes/ImageNode/index.tsx +0 -328
  140. package/src/components/editor/nodes/InlineImageNode/InlineImageComponent.tsx +0 -383
  141. package/src/components/editor/nodes/InlineImageNode/InlineImageNode.css +0 -94
  142. package/src/components/editor/nodes/InlineImageNode/InlineImageNode.tsx +0 -309
  143. package/src/components/editor/nodes/LayoutNode/LayoutContainerNode.ts +0 -146
  144. package/src/components/editor/nodes/LayoutNode/LayoutItemNode.ts +0 -79
  145. package/src/components/editor/nodes/PollNode/index.tsx +0 -204
  146. package/src/components/editor/nodes/TweetNode/index.tsx +0 -214
  147. package/src/components/editor/nodes/index.ts +0 -81
  148. package/src/components/editor/plugins/AutoEmbedPlugin/index.tsx +0 -350
  149. package/src/components/editor/plugins/AutoLinkPlugin/index.tsx +0 -56
  150. package/src/components/editor/plugins/CodeActionMenuPlugin/components/CopyButton.tsx +0 -70
  151. package/src/components/editor/plugins/CodeActionMenuPlugin/components/PrettierButton.tsx +0 -192
  152. package/src/components/editor/plugins/CodeActionMenuPlugin/index.tsx +0 -217
  153. package/src/components/editor/plugins/CodeActionMenuPlugin/utils.ts +0 -26
  154. package/src/components/editor/plugins/CodeHighlightPlugin/index.ts +0 -21
  155. package/src/components/editor/plugins/CollapsiblePlugin/Collapsible.css +0 -76
  156. package/src/components/editor/plugins/CollapsiblePlugin/index.ts +0 -228
  157. package/src/components/editor/plugins/DragDropPastePlugin/index.tsx +0 -44
  158. package/src/components/editor/plugins/DraggableBlockPlugin/index.tsx +0 -52
  159. package/src/components/editor/plugins/EquationsPlugin/index.tsx +0 -85
  160. package/src/components/editor/plugins/ExcalidrawPlugin/index.tsx +0 -98
  161. package/src/components/editor/plugins/FigmaPlugin/index.tsx +0 -42
  162. package/src/components/editor/plugins/FloatingLinkEditorPlugin/index.tsx +0 -445
  163. package/src/components/editor/plugins/FloatingTextFormatToolbarPlugin/index.tsx +0 -275
  164. package/src/components/editor/plugins/InlineImagePlugin/index.tsx +0 -351
  165. package/src/components/editor/plugins/LayoutPlugin/index.tsx +0 -238
  166. package/src/components/editor/plugins/LinkPlugin/index.tsx +0 -36
  167. package/src/components/editor/plugins/LinkWithMetaData/index.tsx +0 -271
  168. package/src/components/editor/plugins/MarkdownShortcutPlugin/index.tsx +0 -11
  169. package/src/components/editor/plugins/MarkdownTransformers/index.tsx +0 -304
  170. package/src/components/editor/plugins/PollPlugin/index.tsx +0 -49
  171. package/src/components/editor/plugins/ShortcutsPlugin/index.tsx +0 -180
  172. package/src/components/editor/plugins/ShortcutsPlugin/shortcuts.ts +0 -253
  173. package/src/components/editor/plugins/SlashCommand/index.tsx +0 -621
  174. package/src/components/editor/plugins/SpeechToTextPlugin/index.ts +0 -127
  175. package/src/components/editor/plugins/TabFocusPlugin/index.ts +0 -58
  176. package/src/components/editor/plugins/TableCellResizer/index.tsx +0 -438
  177. package/src/components/editor/plugins/TablePlugin/index.tsx +0 -99
  178. package/src/components/editor/plugins/ToolbarPlugin/index.tsx +0 -522
  179. package/src/components/editor/plugins/TwitterPlugin/index.ts +0 -35
  180. package/src/components/editor/plugins/YouTubeNode/index.tsx +0 -179
  181. package/src/components/editor/plugins/YouTubePlugin/index.ts +0 -41
  182. package/src/components/editor/themes/editor-theme.ts +0 -113
  183. package/src/components/editor/themes/theme.css +0 -377
  184. package/src/components/editor/utils/ai.ts +0 -291
  185. package/src/components/editor/utils/canUseDOM.ts +0 -12
  186. package/src/components/editor/utils/environment.ts +0 -50
  187. package/src/components/editor/utils/extract-data.ts +0 -166
  188. package/src/components/editor/utils/getAllLexicalChildren.ts +0 -13
  189. package/src/components/editor/utils/getDOMRangeRect.ts +0 -27
  190. package/src/components/editor/utils/getSelectedNode.ts +0 -27
  191. package/src/components/editor/utils/gif.ts +0 -29
  192. package/src/components/editor/utils/invariant.ts +0 -15
  193. package/src/components/editor/utils/setFloatingElemPosition.ts +0 -51
  194. package/src/components/editor/utils/setFloatingElemPositionForLinkEditor.ts +0 -40
  195. package/src/components/editor/utils/setNodePlaceholderFromSelection/getNodePlaceholder.ts +0 -51
  196. package/src/components/editor/utils/setNodePlaceholderFromSelection/setNodePlaceholderFromSelection.ts +0 -15
  197. package/src/components/editor/utils/setNodePlaceholderFromSelection/setPlaceholderOnSelection.ts +0 -114
  198. package/src/components/editor/utils/setNodePlaceholderFromSelection/styles.css +0 -6
  199. package/src/components/editor/utils/url.ts +0 -109
  200. package/src/components/editor/utils/useLayoutEffect.ts +0 -13
  201. package/src/components/providers/QueryProvider.tsx +0 -15
  202. package/src/components/providers/SharedHistoryContext.tsx +0 -28
  203. package/src/components/providers/ToolbarContext.tsx +0 -123
  204. package/src/components/providers/theme-provider.tsx +0 -11
  205. package/src/components/theme/ModeToggle.tsx +0 -40
  206. package/src/components/ui/FileInput.tsx +0 -40
  207. package/src/components/ui/Input.css +0 -32
  208. package/src/components/ui/Select.css +0 -42
  209. package/src/components/ui/Select.tsx +0 -36
  210. package/src/components/ui/TextInput.tsx +0 -48
  211. package/src/components/ui/ai/ai-button.tsx +0 -574
  212. package/src/components/ui/ai/border.tsx +0 -99
  213. package/src/components/ui/ai/placeholder-input-vanish.tsx +0 -282
  214. package/src/components/ui/button.tsx +0 -89
  215. package/src/components/ui/card.tsx +0 -76
  216. package/src/components/ui/checkbox.tsx +0 -30
  217. package/src/components/ui/command.tsx +0 -153
  218. package/src/components/ui/dialog/Dialog.css +0 -25
  219. package/src/components/ui/dialog/Dialog.tsx +0 -34
  220. package/src/components/ui/dialog.tsx +0 -122
  221. package/src/components/ui/drop-downs/background-color.tsx +0 -183
  222. package/src/components/ui/drop-downs/block-format.tsx +0 -159
  223. package/src/components/ui/drop-downs/code.tsx +0 -42
  224. package/src/components/ui/drop-downs/color.tsx +0 -177
  225. package/src/components/ui/drop-downs/font-size.tsx +0 -138
  226. package/src/components/ui/drop-downs/font.tsx +0 -155
  227. package/src/components/ui/drop-downs/index.tsx +0 -122
  228. package/src/components/ui/drop-downs/insert-node.tsx +0 -213
  229. package/src/components/ui/drop-downs/text-align.tsx +0 -123
  230. package/src/components/ui/drop-downs/text-format.tsx +0 -104
  231. package/src/components/ui/dropdown-menu.tsx +0 -201
  232. package/src/components/ui/equation/EquationEditor.css +0 -38
  233. package/src/components/ui/equation/EquationEditor.tsx +0 -56
  234. package/src/components/ui/equation/KatexEquationAlterer.css +0 -41
  235. package/src/components/ui/equation/KatexEquationAlterer.tsx +0 -83
  236. package/src/components/ui/equation/KatexRenderer.tsx +0 -66
  237. package/src/components/ui/excalidraw/ExcalidrawModal.css +0 -64
  238. package/src/components/ui/excalidraw/ExcalidrawModal.tsx +0 -234
  239. package/src/components/ui/excalidraw/Modal.css +0 -62
  240. package/src/components/ui/excalidraw/Modal.tsx +0 -110
  241. package/src/components/ui/hover-card.tsx +0 -29
  242. package/src/components/ui/image/error-image.tsx +0 -17
  243. package/src/components/ui/image/file-upload.tsx +0 -240
  244. package/src/components/ui/image/image-resizer.tsx +0 -297
  245. package/src/components/ui/image/image-toolbar.tsx +0 -264
  246. package/src/components/ui/image/index.tsx +0 -408
  247. package/src/components/ui/image/lazy-image.tsx +0 -68
  248. package/src/components/ui/image/lazy-video.tsx +0 -71
  249. package/src/components/ui/input.tsx +0 -22
  250. package/src/components/ui/models/custom-dialog.tsx +0 -320
  251. package/src/components/ui/models/insert-gif.tsx +0 -90
  252. package/src/components/ui/models/insert-image.tsx +0 -52
  253. package/src/components/ui/models/insert-poll.tsx +0 -29
  254. package/src/components/ui/models/insert-table.tsx +0 -62
  255. package/src/components/ui/models/use-model.tsx +0 -91
  256. package/src/components/ui/poll/poll-component.tsx +0 -304
  257. package/src/components/ui/popover.tsx +0 -33
  258. package/src/components/ui/progress.tsx +0 -28
  259. package/src/components/ui/scroll-area.tsx +0 -48
  260. package/src/components/ui/separator.tsx +0 -31
  261. package/src/components/ui/skeleton.tsx +0 -15
  262. package/src/components/ui/sonner.tsx +0 -31
  263. package/src/components/ui/stepper/step.tsx +0 -179
  264. package/src/components/ui/stepper/stepper.tsx +0 -89
  265. package/src/components/ui/textarea.tsx +0 -22
  266. package/src/components/ui/toggle.tsx +0 -71
  267. package/src/components/ui/tooltip.tsx +0 -32
  268. package/src/components/ui/write/text-format-floting-toolbar.tsx +0 -346
  269. package/src/lib/edgestore.ts +0 -9
  270. package/src/lib/pinecone-client.ts +0 -0
  271. package/src/lib/utils.ts +0 -6
  272. package/src/utils/docSerialization.ts +0 -77
  273. package/src/utils/emoji-list.ts +0 -16615
  274. package/src/utils/getDOMRangeRect.ts +0 -27
  275. package/src/utils/getThemeSelector.ts +0 -25
  276. package/src/utils/isMobileWidth.ts +0 -7
  277. package/src/utils/joinClasses.ts +0 -13
  278. package/src/utils/setFloatingElemPosition.ts +0 -74
  279. package/src/utils/setFloatingElemPositionForLinkEditor.ts +0 -46
  280. package/src/utils/swipe.ts +0 -127
  281. package/src/utils/url.ts +0 -38
  282. package/tsconfig.json +0 -27
@@ -0,0 +1,2738 @@
1
+ import {
2
+ __commonJS,
3
+ __publicField,
4
+ __spreadProps,
5
+ __spreadValues,
6
+ init_react_shim
7
+ } from "./chunk-77KXU36M.mjs";
8
+
9
+ // node_modules/.pnpm/prettier@3.6.2/node_modules/prettier/plugins/html.js
10
+ var require_html = __commonJS({
11
+ "node_modules/.pnpm/prettier@3.6.2/node_modules/prettier/plugins/html.js"(exports, module) {
12
+ init_react_shim();
13
+ (function(f) {
14
+ function e() {
15
+ var i = f();
16
+ return i.default || i;
17
+ }
18
+ if (typeof exports == "object" && typeof module == "object") module.exports = e();
19
+ else if (typeof define == "function" && define.amd) define(e);
20
+ else {
21
+ var t = typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : typeof self < "u" ? self : this || {};
22
+ t.prettierPlugins = t.prettierPlugins || {}, t.prettierPlugins.html = e();
23
+ }
24
+ })(function() {
25
+ "use strict";
26
+ var At = Object.defineProperty;
27
+ var Ei = Object.getOwnPropertyDescriptor;
28
+ var Ai = Object.getOwnPropertyNames;
29
+ var Di = Object.prototype.hasOwnProperty;
30
+ var on = (t) => {
31
+ throw TypeError(t);
32
+ };
33
+ var vi = (t, e, r) => e in t ? At(t, e, { enumerable: true, configurable: true, writable: true, value: r }) : t[e] = r;
34
+ var un = (t, e) => {
35
+ for (var r in e) At(t, r, { get: e[r], enumerable: true });
36
+ }, yi = (t, e, r, n) => {
37
+ if (e && typeof e == "object" || typeof e == "function") for (let s of Ai(e)) !Di.call(t, s) && s !== r && At(t, s, { get: () => e[s], enumerable: !(n = Ei(e, s)) || n.enumerable });
38
+ return t;
39
+ };
40
+ var wi = (t) => yi(At({}, "__esModule", { value: true }), t);
41
+ var cr = (t, e, r) => vi(t, typeof e != "symbol" ? e + "" : e, r), ln = (t, e, r) => e.has(t) || on("Cannot " + r);
42
+ var R = (t, e, r) => (ln(t, e, "read from private field"), r ? r.call(t) : e.get(t)), Dt = (t, e, r) => e.has(t) ? on("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), cn = (t, e, r, n) => (ln(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r);
43
+ var mu = {};
44
+ un(mu, { languages: () => qs, options: () => Vs, parsers: () => rn, printers: () => hu });
45
+ var bi = (t, e, r, n) => {
46
+ if (!(t && e == null)) return e.replaceAll ? e.replaceAll(r, n) : r.global ? e.replace(r, n) : e.split(r).join(n);
47
+ }, w = bi;
48
+ var we = "string", ze = "array", Ye = "cursor", be = "indent", Te = "align", je = "trim", xe = "group", ke = "fill", ce = "if-break", Be = "indent-if-break", Ke = "line-suffix", Xe = "line-suffix-boundary", j = "line", Qe = "label", Le = "break-parent", vt = /* @__PURE__ */ new Set([Ye, be, Te, je, xe, ke, ce, Be, Ke, Xe, j, Qe, Le]);
49
+ var Ti = (t, e, r) => {
50
+ if (!(t && e == null)) return Array.isArray(e) || typeof e == "string" ? e[r < 0 ? e.length + r : r] : e.at(r);
51
+ }, K = Ti;
52
+ function xi(t) {
53
+ if (typeof t == "string") return we;
54
+ if (Array.isArray(t)) return ze;
55
+ if (!t) return;
56
+ let { type: e } = t;
57
+ if (vt.has(e)) return e;
58
+ }
59
+ var Fe = xi;
60
+ var ki = (t) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(t);
61
+ function Bi(t) {
62
+ let e = t === null ? "null" : typeof t;
63
+ if (e !== "string" && e !== "object") return `Unexpected doc '${e}',
64
+ Expected it to be 'string' or 'object'.`;
65
+ if (Fe(t)) throw new Error("doc is valid.");
66
+ let r = Object.prototype.toString.call(t);
67
+ if (r !== "[object Object]") return `Unexpected doc '${r}'.`;
68
+ let n = ki([...vt].map((s) => `'${s}'`));
69
+ return `Unexpected doc.type '${t.type}'.
70
+ Expected it to be ${n}.`;
71
+ }
72
+ var pr = class extends Error {
73
+ constructor(e) {
74
+ super(Bi(e));
75
+ __publicField(this, "name", "InvalidDocError");
76
+ this.doc = e;
77
+ }
78
+ }, hr = pr;
79
+ function mr(t, e) {
80
+ if (typeof t == "string") return e(t);
81
+ let r = /* @__PURE__ */ new Map();
82
+ return n(t);
83
+ function n(i) {
84
+ if (r.has(i)) return r.get(i);
85
+ let a = s(i);
86
+ return r.set(i, a), a;
87
+ }
88
+ function s(i) {
89
+ switch (Fe(i)) {
90
+ case ze:
91
+ return e(i.map(n));
92
+ case ke:
93
+ return e(__spreadProps(__spreadValues({}, i), { parts: i.parts.map(n) }));
94
+ case ce:
95
+ return e(__spreadProps(__spreadValues({}, i), { breakContents: n(i.breakContents), flatContents: n(i.flatContents) }));
96
+ case xe: {
97
+ let { expandedStates: a, contents: o } = i;
98
+ return a ? (a = a.map(n), o = a[0]) : o = n(o), e(__spreadProps(__spreadValues({}, i), { contents: o, expandedStates: a }));
99
+ }
100
+ case Te:
101
+ case be:
102
+ case Be:
103
+ case Qe:
104
+ case Ke:
105
+ return e(__spreadProps(__spreadValues({}, i), { contents: n(i.contents) }));
106
+ case we:
107
+ case Ye:
108
+ case je:
109
+ case Xe:
110
+ case j:
111
+ case Le:
112
+ return e(i);
113
+ default:
114
+ throw new hr(i);
115
+ }
116
+ }
117
+ }
118
+ function B(t, e = pn) {
119
+ return mr(t, (r) => typeof r == "string" ? H(e, r.split(`
120
+ `)) : r);
121
+ }
122
+ var fr = () => {
123
+ }, re = fr, dr = fr, hn = fr;
124
+ function k(t) {
125
+ return re(t), { type: be, contents: t };
126
+ }
127
+ function mn(t, e) {
128
+ return re(e), { type: Te, contents: e, n: t };
129
+ }
130
+ function E(t, e = {}) {
131
+ return re(t), dr(e.expandedStates, true), { type: xe, id: e.id, contents: t, break: !!e.shouldBreak, expandedStates: e.expandedStates };
132
+ }
133
+ function fn(t) {
134
+ return mn(Number.NEGATIVE_INFINITY, t);
135
+ }
136
+ function dn(t) {
137
+ return mn({ type: "root" }, t);
138
+ }
139
+ function yt(t) {
140
+ return hn(t), { type: ke, parts: t };
141
+ }
142
+ function pe(t, e = "", r = {}) {
143
+ return re(t), e !== "" && re(e), { type: ce, breakContents: t, flatContents: e, groupId: r.groupId };
144
+ }
145
+ function gn(t, e) {
146
+ return re(t), { type: Be, contents: t, groupId: e.groupId, negate: e.negate };
147
+ }
148
+ var ne = { type: Le };
149
+ var Fi = { type: j, hard: true }, Pi = { type: j, hard: true, literal: true }, _ = { type: j }, v = { type: j, soft: true }, S = [Fi, ne], pn = [Pi, ne];
150
+ function H(t, e) {
151
+ re(t), dr(e);
152
+ let r = [];
153
+ for (let n = 0; n < e.length; n++) n !== 0 && r.push(t), r.push(e[n]);
154
+ return r;
155
+ }
156
+ var wt = "'", Cn = '"';
157
+ function Ni(t, e) {
158
+ let r = e === true || e === wt ? wt : Cn, n = r === wt ? Cn : wt, s = 0, i = 0;
159
+ for (let a of t) a === r ? s++ : a === n && i++;
160
+ return s > i ? n : r;
161
+ }
162
+ var Sn = Ni;
163
+ function gr(t) {
164
+ if (typeof t != "string") throw new TypeError("Expected a string");
165
+ return t.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
166
+ }
167
+ var V, Cr = class {
168
+ constructor(e) {
169
+ Dt(this, V);
170
+ cn(this, V, new Set(e));
171
+ }
172
+ getLeadingWhitespaceCount(e) {
173
+ let r = R(this, V), n = 0;
174
+ for (let s = 0; s < e.length && r.has(e.charAt(s)); s++) n++;
175
+ return n;
176
+ }
177
+ getTrailingWhitespaceCount(e) {
178
+ let r = R(this, V), n = 0;
179
+ for (let s = e.length - 1; s >= 0 && r.has(e.charAt(s)); s--) n++;
180
+ return n;
181
+ }
182
+ getLeadingWhitespace(e) {
183
+ let r = this.getLeadingWhitespaceCount(e);
184
+ return e.slice(0, r);
185
+ }
186
+ getTrailingWhitespace(e) {
187
+ let r = this.getTrailingWhitespaceCount(e);
188
+ return e.slice(e.length - r);
189
+ }
190
+ hasLeadingWhitespace(e) {
191
+ return R(this, V).has(e.charAt(0));
192
+ }
193
+ hasTrailingWhitespace(e) {
194
+ return R(this, V).has(K(false, e, -1));
195
+ }
196
+ trimStart(e) {
197
+ let r = this.getLeadingWhitespaceCount(e);
198
+ return e.slice(r);
199
+ }
200
+ trimEnd(e) {
201
+ let r = this.getTrailingWhitespaceCount(e);
202
+ return e.slice(0, e.length - r);
203
+ }
204
+ trim(e) {
205
+ return this.trimEnd(this.trimStart(e));
206
+ }
207
+ split(e, r = false) {
208
+ let n = `[${gr([...R(this, V)].join(""))}]+`, s = new RegExp(r ? `(${n})` : n, "u");
209
+ return e.split(s);
210
+ }
211
+ hasWhitespaceCharacter(e) {
212
+ let r = R(this, V);
213
+ return Array.prototype.some.call(e, (n) => r.has(n));
214
+ }
215
+ hasNonWhitespaceCharacter(e) {
216
+ let r = R(this, V);
217
+ return Array.prototype.some.call(e, (n) => !r.has(n));
218
+ }
219
+ isWhitespaceOnly(e) {
220
+ let r = R(this, V);
221
+ return Array.prototype.every.call(e, (n) => r.has(n));
222
+ }
223
+ };
224
+ V = /* @__PURE__ */ new WeakMap();
225
+ var _n = Cr;
226
+ var Ii = [" ", `
227
+ `, "\f", "\r", " "], Ri = new _n(Ii), O = Ri;
228
+ var Sr = class extends Error {
229
+ constructor(e, r, n = "type") {
230
+ super(`Unexpected ${r} node ${n}: ${JSON.stringify(e[n])}.`);
231
+ __publicField(this, "name", "UnexpectedNodeError");
232
+ this.node = e;
233
+ }
234
+ }, En = Sr;
235
+ function $i(t) {
236
+ return (t == null ? void 0 : t.type) === "front-matter";
237
+ }
238
+ var Pe = $i;
239
+ var Oi = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), Mi = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
240
+ function An(t, e) {
241
+ var r;
242
+ if (t.type === "text" || t.type === "comment" || Pe(t) || t.type === "yaml" || t.type === "toml") return null;
243
+ if (t.type === "attribute" && delete e.value, t.type === "docType" && delete e.value, t.type === "angularControlFlowBlock" && ((r = t.parameters) != null && r.children)) for (let n of e.parameters.children) Mi.has(t.name) ? delete n.expression : n.expression = n.expression.trim();
244
+ t.type === "angularIcuExpression" && (e.switchValue = t.switchValue.trim()), t.type === "angularLetDeclarationInitializer" && delete e.value;
245
+ }
246
+ An.ignoredProperties = Oi;
247
+ var Dn = An;
248
+ async function qi(t, e) {
249
+ if (t.language === "yaml") {
250
+ let r = t.value.trim(), n = r ? await e(r, { parser: "yaml" }) : "";
251
+ return dn([t.startDelimiter, t.explicitLanguage, S, n, n ? S : "", t.endDelimiter]);
252
+ }
253
+ }
254
+ var vn = qi;
255
+ function he(t, e = true) {
256
+ return [k([v, t]), e ? v : ""];
257
+ }
258
+ function X(t, e) {
259
+ let r = t.type === "NGRoot" ? t.node.type === "NGMicrosyntax" && t.node.body.length === 1 && t.node.body[0].type === "NGMicrosyntaxExpression" ? t.node.body[0].expression : t.node : t.type === "JsExpressionRoot" ? t.node : t;
260
+ return r && (r.type === "ObjectExpression" || r.type === "ArrayExpression" || (e.parser === "__vue_expression" || e.parser === "__vue_ts_expression") && (r.type === "TemplateLiteral" || r.type === "StringLiteral"));
261
+ }
262
+ async function T(t, e, r, n) {
263
+ r = __spreadValues({ __isInHtmlAttribute: true, __embeddedInHtml: true }, r);
264
+ let s = true;
265
+ n && (r.__onHtmlBindingRoot = (a, o) => {
266
+ s = n(a, o);
267
+ });
268
+ let i = await e(t, r, e);
269
+ return s ? E(i) : he(i);
270
+ }
271
+ function Hi(t, e, r, n) {
272
+ let { node: s } = r, i = n.originalText.slice(s.sourceSpan.start.offset, s.sourceSpan.end.offset);
273
+ return /^\s*$/u.test(i) ? "" : T(i, t, { parser: "__ng_directive", __isInHtmlAttribute: false }, X);
274
+ }
275
+ var yn = Hi;
276
+ var Vi = (t, e) => {
277
+ if (!(t && e == null)) return e.toReversed || !Array.isArray(e) ? e.toReversed() : [...e].reverse();
278
+ }, wn = Vi;
279
+ function Ui(t) {
280
+ return Array.isArray(t) && t.length > 0;
281
+ }
282
+ var me = Ui;
283
+ var bn, Tn, xn, kn, Bn, Wi = ((bn = globalThis.Deno) == null ? void 0 : bn.build.os) === "windows" || ((xn = (Tn = globalThis.navigator) == null ? void 0 : Tn.platform) == null ? void 0 : xn.startsWith("Win")) || ((Bn = (kn = globalThis.process) == null ? void 0 : kn.platform) == null ? void 0 : Bn.startsWith("win")) || false;
284
+ function Ln(t) {
285
+ if (t = t instanceof URL ? t : new URL(t), t.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${t.protocol}"`);
286
+ return t;
287
+ }
288
+ function Gi(t) {
289
+ return t = Ln(t), decodeURIComponent(t.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
290
+ }
291
+ function zi(t) {
292
+ t = Ln(t);
293
+ let e = decodeURIComponent(t.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
294
+ return t.hostname !== "" && (e = `\\\\${t.hostname}${e}`), e;
295
+ }
296
+ function Fn(t) {
297
+ return Wi ? zi(t) : Gi(t);
298
+ }
299
+ var Pn = Fn;
300
+ var Yi = (t) => String(t).split(/[/\\]/u).pop();
301
+ function Nn(t, e) {
302
+ var _a2;
303
+ if (!e) return;
304
+ let r = Yi(e).toLowerCase();
305
+ return (_a2 = t.find(({ filenames: n }) => n == null ? void 0 : n.some((s) => s.toLowerCase() === r))) != null ? _a2 : t.find(({ extensions: n }) => n == null ? void 0 : n.some((s) => r.endsWith(s)));
306
+ }
307
+ function ji(t, e) {
308
+ var _a2, _b;
309
+ if (e) return (_b = (_a2 = t.find(({ name: r }) => r.toLowerCase() === e)) != null ? _a2 : t.find(({ aliases: r }) => r == null ? void 0 : r.includes(e))) != null ? _b : t.find(({ extensions: r }) => r == null ? void 0 : r.includes(`.${e}`));
310
+ }
311
+ function In(t, e) {
312
+ if (e) {
313
+ if (String(e).startsWith("file:")) try {
314
+ e = Pn(e);
315
+ } catch (e2) {
316
+ return;
317
+ }
318
+ if (typeof e == "string") return t.find(({ isSupported: r }) => r == null ? void 0 : r({ filepath: e }));
319
+ }
320
+ }
321
+ function Ki(t, e) {
322
+ var _a2, _b, _c, _d, _e2;
323
+ let r = wn(false, t.plugins).flatMap((s) => {
324
+ var _a3;
325
+ return (_a3 = s.languages) != null ? _a3 : [];
326
+ }), n = (_e2 = (_d = (_c = (_b = (_a2 = ji(r, e.language)) != null ? _a2 : Nn(r, e.physicalFile)) != null ? _b : Nn(r, e.file)) != null ? _c : In(r, e.physicalFile)) != null ? _d : In(r, e.file)) != null ? _e2 : (e.physicalFile, void 0);
327
+ return n == null ? void 0 : n.parsers[0];
328
+ }
329
+ var Ne = Ki;
330
+ var Rn = "inline", _r = { 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" }, $n = "normal", Er = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
331
+ function Xi(t) {
332
+ return t.type === "element" && !t.hasExplicitNamespace && !["html", "svg"].includes(t.namespace);
333
+ }
334
+ var fe = Xi;
335
+ var Qi = (t) => w(false, t, /^[\t\f\r ]*\n/gu, ""), Ar = (t) => Qi(O.trimEnd(t)), On = (t) => {
336
+ let e = t, r = O.getLeadingWhitespace(e);
337
+ r && (e = e.slice(r.length));
338
+ let n = O.getTrailingWhitespace(e);
339
+ return n && (e = e.slice(0, -n.length)), { leadingWhitespace: r, trailingWhitespace: n, text: e };
340
+ };
341
+ function bt(t, e) {
342
+ return !!(t.type === "ieConditionalComment" && t.lastChild && !t.lastChild.isSelfClosing && !t.lastChild.endSourceSpan || t.type === "ieConditionalComment" && !t.complete || de(t) && t.children.some((r) => r.type !== "text" && r.type !== "interpolation") || kt(t, e) && !W(t, e) && t.type !== "interpolation");
343
+ }
344
+ function ge(t) {
345
+ return t.type === "attribute" || !t.parent || !t.prev ? false : Ji(t.prev);
346
+ }
347
+ function Ji(t) {
348
+ return t.type === "comment" && t.value.trim() === "prettier-ignore";
349
+ }
350
+ function $(t) {
351
+ return t.type === "text" || t.type === "comment";
352
+ }
353
+ function W(t, e) {
354
+ return t.type === "element" && (t.fullName === "script" || t.fullName === "style" || t.fullName === "svg:style" || t.fullName === "svg:script" || t.fullName === "mj-style" && e.parser === "mjml" || fe(t) && (t.name === "script" || t.name === "style"));
355
+ }
356
+ function Mn(t, e) {
357
+ return t.children && !W(t, e);
358
+ }
359
+ function qn(t, e) {
360
+ return W(t, e) || t.type === "interpolation" || Dr(t);
361
+ }
362
+ function Dr(t) {
363
+ return Qn(t).startsWith("pre");
364
+ }
365
+ function Hn(t, e) {
366
+ var s, i;
367
+ let r = n();
368
+ if (r && !t.prev && ((i = (s = t.parent) == null ? void 0 : s.tagDefinition) != null && i.ignoreFirstLf)) return t.type === "interpolation";
369
+ return r;
370
+ function n() {
371
+ return Pe(t) || t.type === "angularControlFlowBlock" ? false : (t.type === "text" || t.type === "interpolation") && t.prev && (t.prev.type === "text" || t.prev.type === "interpolation") ? true : !t.parent || t.parent.cssDisplay === "none" ? false : de(t.parent) ? true : !(!t.prev && (t.parent.type === "root" || de(t) && t.parent || W(t.parent, e) || et(t.parent, e) || !sa(t.parent.cssDisplay)) || t.prev && !oa(t.prev.cssDisplay));
372
+ }
373
+ }
374
+ function Vn(t, e) {
375
+ return Pe(t) || t.type === "angularControlFlowBlock" ? false : (t.type === "text" || t.type === "interpolation") && t.next && (t.next.type === "text" || t.next.type === "interpolation") ? true : !t.parent || t.parent.cssDisplay === "none" ? false : de(t.parent) ? true : !(!t.next && (t.parent.type === "root" || de(t) && t.parent || W(t.parent, e) || et(t.parent, e) || !ia(t.parent.cssDisplay)) || t.next && !aa(t.next.cssDisplay));
376
+ }
377
+ function Un(t, e) {
378
+ return ua(t.cssDisplay) && !W(t, e);
379
+ }
380
+ function Je(t) {
381
+ return Pe(t) || t.next && t.sourceSpan.end && t.sourceSpan.end.line + 1 < t.next.sourceSpan.start.line;
382
+ }
383
+ function Wn(t) {
384
+ return vr(t) || t.type === "element" && t.children.length > 0 && (["body", "script", "style"].includes(t.name) || t.children.some((e) => ea(e))) || t.firstChild && t.firstChild === t.lastChild && t.firstChild.type !== "text" && zn(t.firstChild) && (!t.lastChild.isTrailingSpaceSensitive || Yn(t.lastChild));
385
+ }
386
+ function vr(t) {
387
+ return t.type === "element" && t.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(t.name) || t.cssDisplay.startsWith("table") && t.cssDisplay !== "table-cell");
388
+ }
389
+ function Tt(t) {
390
+ return jn(t) || t.prev && Zi(t.prev) || Gn(t);
391
+ }
392
+ function Zi(t) {
393
+ return jn(t) || t.type === "element" && t.fullName === "br" || Gn(t);
394
+ }
395
+ function Gn(t) {
396
+ return zn(t) && Yn(t);
397
+ }
398
+ function zn(t) {
399
+ return t.hasLeadingSpaces && (t.prev ? t.prev.sourceSpan.end.line < t.sourceSpan.start.line : t.parent.type === "root" || t.parent.startSourceSpan.end.line < t.sourceSpan.start.line);
400
+ }
401
+ function Yn(t) {
402
+ return t.hasTrailingSpaces && (t.next ? t.next.sourceSpan.start.line > t.sourceSpan.end.line : t.parent.type === "root" || t.parent.endSourceSpan && t.parent.endSourceSpan.start.line > t.sourceSpan.end.line);
403
+ }
404
+ function jn(t) {
405
+ switch (t.type) {
406
+ case "ieConditionalComment":
407
+ case "comment":
408
+ case "directive":
409
+ return true;
410
+ case "element":
411
+ return ["script", "select"].includes(t.name);
412
+ }
413
+ return false;
414
+ }
415
+ function xt(t) {
416
+ return t.lastChild ? xt(t.lastChild) : t;
417
+ }
418
+ function ea(t) {
419
+ var e;
420
+ return (e = t.children) == null ? void 0 : e.some((r) => r.type !== "text");
421
+ }
422
+ function Kn(t) {
423
+ if (t) switch (t) {
424
+ case "module":
425
+ case "text/javascript":
426
+ case "text/babel":
427
+ case "text/jsx":
428
+ case "application/javascript":
429
+ return "babel";
430
+ case "application/x-typescript":
431
+ return "typescript";
432
+ case "text/markdown":
433
+ return "markdown";
434
+ case "text/html":
435
+ return "html";
436
+ case "text/x-handlebars-template":
437
+ return "glimmer";
438
+ default:
439
+ if (t.endsWith("json") || t.endsWith("importmap") || t === "speculationrules") return "json";
440
+ }
441
+ }
442
+ function ta(t, e) {
443
+ var _a2;
444
+ let { name: r, attrMap: n } = t;
445
+ if (r !== "script" || Object.prototype.hasOwnProperty.call(n, "src")) return;
446
+ let { type: s, lang: i } = t.attrMap;
447
+ return !i && !s ? "babel" : (_a2 = Ne(e, { language: i })) != null ? _a2 : Kn(s);
448
+ }
449
+ function ra(t, e) {
450
+ var _a2;
451
+ if (!kt(t, e)) return;
452
+ let { attrMap: r } = t;
453
+ if (Object.prototype.hasOwnProperty.call(r, "src")) return;
454
+ let { type: n, lang: s } = r;
455
+ return (_a2 = Ne(e, { language: s })) != null ? _a2 : Kn(n);
456
+ }
457
+ function na(t, e) {
458
+ if (t.name === "style") {
459
+ let { lang: r } = t.attrMap;
460
+ return r ? Ne(e, { language: r }) : "css";
461
+ }
462
+ if (t.name === "mj-style" && e.parser === "mjml") return "css";
463
+ }
464
+ function yr(t, e) {
465
+ var _a2, _b;
466
+ return (_b = (_a2 = ta(t, e)) != null ? _a2 : na(t, e)) != null ? _b : ra(t, e);
467
+ }
468
+ function Ze(t) {
469
+ return t === "block" || t === "list-item" || t.startsWith("table");
470
+ }
471
+ function sa(t) {
472
+ return !Ze(t) && t !== "inline-block";
473
+ }
474
+ function ia(t) {
475
+ return !Ze(t) && t !== "inline-block";
476
+ }
477
+ function aa(t) {
478
+ return !Ze(t);
479
+ }
480
+ function oa(t) {
481
+ return !Ze(t);
482
+ }
483
+ function ua(t) {
484
+ return !Ze(t) && t !== "inline-block";
485
+ }
486
+ function de(t) {
487
+ return Qn(t).startsWith("pre");
488
+ }
489
+ function la(t, e) {
490
+ let r = t;
491
+ for (; r; ) {
492
+ if (e(r)) return true;
493
+ r = r.parent;
494
+ }
495
+ return false;
496
+ }
497
+ function Xn(t, e) {
498
+ var n;
499
+ if (Ce(t, e)) return "block";
500
+ if (((n = t.prev) == null ? void 0 : n.type) === "comment") {
501
+ let s = t.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);
502
+ if (s) return s[1];
503
+ }
504
+ let r = false;
505
+ if (t.type === "element" && t.namespace === "svg") if (la(t, (s) => s.fullName === "svg:foreignObject")) r = true;
506
+ else return t.name === "svg" ? "inline-block" : "block";
507
+ switch (e.htmlWhitespaceSensitivity) {
508
+ case "strict":
509
+ return "inline";
510
+ case "ignore":
511
+ return "block";
512
+ default:
513
+ if (t.type === "element" && (!t.namespace || r || fe(t)) && Object.prototype.hasOwnProperty.call(_r, t.name)) return _r[t.name];
514
+ }
515
+ return Rn;
516
+ }
517
+ function Qn(t) {
518
+ return t.type === "element" && (!t.namespace || fe(t)) && Object.prototype.hasOwnProperty.call(Er, t.name) ? Er[t.name] : $n;
519
+ }
520
+ function ca(t) {
521
+ let e = Number.POSITIVE_INFINITY;
522
+ for (let r of t.split(`
523
+ `)) {
524
+ if (r.length === 0) continue;
525
+ let n = O.getLeadingWhitespaceCount(r);
526
+ if (n === 0) return 0;
527
+ r.length !== n && n < e && (e = n);
528
+ }
529
+ return e === Number.POSITIVE_INFINITY ? 0 : e;
530
+ }
531
+ function wr(t, e = ca(t)) {
532
+ return e === 0 ? t : t.split(`
533
+ `).map((r) => r.slice(e)).join(`
534
+ `);
535
+ }
536
+ function br(t) {
537
+ return w(false, w(false, t, "&apos;", "'"), "&quot;", '"');
538
+ }
539
+ function P(t) {
540
+ return br(t.value);
541
+ }
542
+ var pa = /* @__PURE__ */ new Set(["template", "style", "script"]);
543
+ function et(t, e) {
544
+ return Ce(t, e) && !pa.has(t.fullName);
545
+ }
546
+ function Ce(t, e) {
547
+ return e.parser === "vue" && t.type === "element" && t.parent.type === "root" && t.fullName.toLowerCase() !== "html";
548
+ }
549
+ function kt(t, e) {
550
+ return Ce(t, e) && (et(t, e) || t.attrMap.lang && t.attrMap.lang !== "html");
551
+ }
552
+ function Jn(t) {
553
+ let e = t.fullName;
554
+ return e.charAt(0) === "#" || e === "slot-scope" || e === "v-slot" || e.startsWith("v-slot:");
555
+ }
556
+ function Zn(t, e) {
557
+ let r = t.parent;
558
+ if (!Ce(r, e)) return false;
559
+ let n = r.fullName, s = t.fullName;
560
+ return n === "script" && s === "setup" || n === "style" && s === "vars";
561
+ }
562
+ function Bt(t, e = t.value) {
563
+ return t.parent.isWhitespaceSensitive ? t.parent.isIndentationSensitive ? B(e) : B(wr(Ar(e)), S) : H(_, O.split(e));
564
+ }
565
+ function Lt(t, e) {
566
+ return Ce(t, e) && t.name === "script";
567
+ }
568
+ var Tr = new RegExp("\\{\\{(.+?)\\}\\}", "su");
569
+ async function es(t, e) {
570
+ let r = [];
571
+ for (let [n, s] of t.split(Tr).entries()) if (n % 2 === 0) r.push(B(s));
572
+ else try {
573
+ r.push(E(["{{", k([_, await T(s, e, { parser: "__ng_interpolation", __isInHtmlInterpolation: true })]), _, "}}"]));
574
+ } catch (e2) {
575
+ r.push("{{", B(s), "}}");
576
+ }
577
+ return r;
578
+ }
579
+ function xr({ parser: t }) {
580
+ return (e, r, n) => T(P(n.node), e, { parser: t }, X);
581
+ }
582
+ var ha = xr({ parser: "__ng_action" }), ma = xr({ parser: "__ng_binding" }), fa = xr({ parser: "__ng_directive" });
583
+ function da(t, e) {
584
+ if (e.parser !== "angular") return;
585
+ let { node: r } = t, n = r.fullName;
586
+ if (n.startsWith("(") && n.endsWith(")") || n.startsWith("on-")) return ha;
587
+ if (n.startsWith("[") && n.endsWith("]") || /^bind(?:on)?-/u.test(n) || /^ng-(?:if|show|hide|class|style)$/u.test(n)) return ma;
588
+ if (n.startsWith("*")) return fa;
589
+ let s = P(r);
590
+ if (/^i18n(?:-.+)?$/u.test(n)) return () => he(yt(Bt(r, s.trim())), !s.includes("@@"));
591
+ if (Tr.test(s)) return (i) => es(s, i);
592
+ }
593
+ var ts = da;
594
+ function ga(t, e) {
595
+ let { node: r } = t, n = P(r);
596
+ if (r.fullName === "class" && !e.parentParser && !n.includes("{{")) return () => n.trim().split(/\s+/u).join(" ");
597
+ }
598
+ var rs = ga;
599
+ function ns(t) {
600
+ return t === " " || t === `
601
+ ` || t === "\f" || t === "\r" || t === " ";
602
+ }
603
+ var Ca = /^[ \t\n\r\u000c]+/, Sa = /^[, \t\n\r\u000c]+/, _a = /^[^ \t\n\r\u000c]+/, Ea = /[,]+$/, ss = /^\d+$/, Aa = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
604
+ function Da(t) {
605
+ let e = t.length, r, n, s, i, a, o = 0, u;
606
+ function p(C) {
607
+ let A, D = C.exec(t.substring(o));
608
+ if (D) return [A] = D, o += A.length, A;
609
+ }
610
+ let l = [];
611
+ for (; ; ) {
612
+ if (p(Sa), o >= e) {
613
+ if (l.length === 0) throw new Error("Must contain one or more image candidate strings.");
614
+ return l;
615
+ }
616
+ u = o, r = p(_a), n = [], r.slice(-1) === "," ? (r = r.replace(Ea, ""), f()) : m();
617
+ }
618
+ function m() {
619
+ for (p(Ca), s = "", i = "in descriptor"; ; ) {
620
+ if (a = t.charAt(o), i === "in descriptor") if (ns(a)) s && (n.push(s), s = "", i = "after descriptor");
621
+ else if (a === ",") {
622
+ o += 1, s && n.push(s), f();
623
+ return;
624
+ } else if (a === "(") s += a, i = "in parens";
625
+ else if (a === "") {
626
+ s && n.push(s), f();
627
+ return;
628
+ } else s += a;
629
+ else if (i === "in parens") if (a === ")") s += a, i = "in descriptor";
630
+ else if (a === "") {
631
+ n.push(s), f();
632
+ return;
633
+ } else s += a;
634
+ else if (i === "after descriptor" && !ns(a)) if (a === "") {
635
+ f();
636
+ return;
637
+ } else i = "in descriptor", o -= 1;
638
+ o += 1;
639
+ }
640
+ }
641
+ function f() {
642
+ let C = false, A, D, I, F, c = {}, g, y, q, x, U;
643
+ for (F = 0; F < n.length; F++) g = n[F], y = g[g.length - 1], q = g.substring(0, g.length - 1), x = parseInt(q, 10), U = parseFloat(q), ss.test(q) && y === "w" ? ((A || D) && (C = true), x === 0 ? C = true : A = x) : Aa.test(q) && y === "x" ? ((A || D || I) && (C = true), U < 0 ? C = true : D = U) : ss.test(q) && y === "h" ? ((I || D) && (C = true), x === 0 ? C = true : I = x) : C = true;
644
+ if (!C) c.source = { value: r, startOffset: u }, A && (c.width = { value: A }), D && (c.density = { value: D }), I && (c.height = { value: I }), l.push(c);
645
+ else throw new Error(`Invalid srcset descriptor found in "${t}" at "${g}".`);
646
+ }
647
+ }
648
+ var is = Da;
649
+ function va(t) {
650
+ if (t.node.fullName === "srcset" && (t.parent.fullName === "img" || t.parent.fullName === "source")) return () => wa(P(t.node));
651
+ }
652
+ var as = { width: "w", height: "h", density: "x" }, ya = Object.keys(as);
653
+ function wa(t) {
654
+ let e = is(t), r = ya.filter((l) => e.some((m) => Object.prototype.hasOwnProperty.call(m, l)));
655
+ if (r.length > 1) throw new Error("Mixed descriptor in srcset is not supported");
656
+ let [n] = r, s = as[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) => {
657
+ let m = l.indexOf(".");
658
+ return m === -1 ? l.length : m;
659
+ }), p = Math.max(...u);
660
+ return he(H([",", _], i.map((l, m) => {
661
+ let f = [l], C = o[m];
662
+ if (C) {
663
+ let A = a - l.length + 1, D = p - u[m], I = " ".repeat(A + D);
664
+ f.push(pe(I, " "), C + s);
665
+ }
666
+ return f;
667
+ })));
668
+ }
669
+ var os = va;
670
+ function us(t, e) {
671
+ let { node: r } = t, n = P(t.node).trim();
672
+ if (r.fullName === "style" && !e.parentParser && !n.includes("{{")) return async (s) => he(await s(n, { parser: "css", __isHTMLStyleAttribute: true }));
673
+ }
674
+ var kr = /* @__PURE__ */ new WeakMap();
675
+ function ba(t, e) {
676
+ let { root: r } = t;
677
+ return kr.has(r) || kr.set(r, r.children.some((n) => Lt(n, e) && ["ts", "typescript"].includes(n.attrMap.lang))), kr.get(r);
678
+ }
679
+ var Ie = ba;
680
+ function ls(t, e, r) {
681
+ let { node: n } = r, s = P(n);
682
+ return T(`type T<${s}> = any`, t, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: true }, X);
683
+ }
684
+ function cs(t, e, { parseWithTs: r }) {
685
+ return T(`function _(${t}) {}`, e, { parser: r ? "babel-ts" : "babel", __isVueBindings: true });
686
+ }
687
+ async function ps(t, e, r, n) {
688
+ let s = P(r.node), { left: i, operator: a, right: o } = Ta(s), u = Ie(r, n);
689
+ return [E(await T(`function _(${i}) {}`, t, { parser: u ? "babel-ts" : "babel", __isVueForBindingLeft: true })), " ", a, " ", await T(o, t, { parser: u ? "__ts_expression" : "__js_expression" })];
690
+ }
691
+ function Ta(t) {
692
+ let e = new RegExp("(.*?)\\s+(in|of)\\s+(.*)", "su"), r = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, n = /^\(|\)$/gu, s = t.match(e);
693
+ if (!s) return;
694
+ let i = {};
695
+ if (i.for = s[3].trim(), !i.for) return;
696
+ let a = w(false, s[1].trim(), n, ""), o = a.match(r);
697
+ o ? (i.alias = a.replace(r, ""), i.iterator1 = o[1].trim(), o[2] && (i.iterator2 = o[2].trim())) : i.alias = a;
698
+ let u = [i.alias, i.iterator1, i.iterator2];
699
+ if (!u.some((p, l) => !p && (l === 0 || u.slice(l + 1).some(Boolean)))) return { left: u.filter(Boolean).join(","), operator: s[2], right: i.for };
700
+ }
701
+ function xa(t, e) {
702
+ if (e.parser !== "vue") return;
703
+ let { node: r } = t, n = r.fullName;
704
+ if (n === "v-for") return ps;
705
+ if (n === "generic" && Lt(r.parent, e)) return ls;
706
+ let s = P(r), i = Ie(t, e);
707
+ if (Jn(r) || Zn(r, e)) return (a) => cs(s, a, { parseWithTs: i });
708
+ if (n.startsWith("@") || n.startsWith("v-on:")) return (a) => ka(s, a, { parseWithTs: i });
709
+ if (n.startsWith(":") || n.startsWith(".") || n.startsWith("v-bind:")) return (a) => Ba(s, a, { parseWithTs: i });
710
+ if (n.startsWith("v-")) return (a) => hs(s, a, { parseWithTs: i });
711
+ }
712
+ async function ka(t, e, { parseWithTs: r }) {
713
+ var n;
714
+ try {
715
+ return await hs(t, e, { parseWithTs: r });
716
+ } catch (s) {
717
+ if (((n = s.cause) == null ? void 0 : n.code) !== "BABEL_PARSER_SYNTAX_ERROR") throw s;
718
+ }
719
+ return T(t, e, { parser: r ? "__vue_ts_event_binding" : "__vue_event_binding" }, X);
720
+ }
721
+ function Ba(t, e, { parseWithTs: r }) {
722
+ return T(t, e, { parser: r ? "__vue_ts_expression" : "__vue_expression" }, X);
723
+ }
724
+ function hs(t, e, { parseWithTs: r }) {
725
+ return T(t, e, { parser: r ? "__ts_expression" : "__js_expression" }, X);
726
+ }
727
+ var ms = xa;
728
+ function La(t, e) {
729
+ let { node: r } = t;
730
+ if (r.value) {
731
+ 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("}")) return [r.rawName, "=", r.value];
732
+ for (let n of [os, us, rs, ms, ts]) {
733
+ let s = n(t, e);
734
+ if (s) return Fa(s);
735
+ }
736
+ }
737
+ }
738
+ function Fa(t) {
739
+ return async (e, r, n, s) => {
740
+ let i = await t(e, r, n, s);
741
+ if (i) return i = mr(i, (a) => typeof a == "string" ? w(false, a, '"', "&quot;") : a), [n.node.rawName, '="', E(i), '"'];
742
+ };
743
+ }
744
+ var fs = La;
745
+ var Pa = new Proxy(() => {
746
+ }, { get: () => Pa });
747
+ function J(t) {
748
+ return t.sourceSpan.start.offset;
749
+ }
750
+ function se(t) {
751
+ return t.sourceSpan.end.offset;
752
+ }
753
+ function tt(t, e) {
754
+ return [t.isSelfClosing ? "" : Na(t, e), Se(t, e)];
755
+ }
756
+ function Na(t, e) {
757
+ return t.lastChild && Ae(t.lastChild) ? "" : [Ia(t, e), Ft(t, e)];
758
+ }
759
+ function Se(t, e) {
760
+ return (t.next ? Q(t.next) : Ee(t.parent)) ? "" : [_e(t, e), G(t, e)];
761
+ }
762
+ function Ia(t, e) {
763
+ return Ee(t) ? _e(t.lastChild, e) : "";
764
+ }
765
+ function G(t, e) {
766
+ return Ae(t) ? Ft(t.parent, e) : rt(t) ? Pt(t.next, e) : "";
767
+ }
768
+ function Ft(t, e) {
769
+ if (gs(t, e)) return "";
770
+ switch (t.type) {
771
+ case "ieConditionalComment":
772
+ return "<!";
773
+ case "element":
774
+ if (t.hasHtmComponentClosingTag) return "<//";
775
+ default:
776
+ return `</${t.rawName}`;
777
+ }
778
+ }
779
+ function _e(t, e) {
780
+ if (gs(t, e)) return "";
781
+ switch (t.type) {
782
+ case "ieConditionalComment":
783
+ case "ieConditionalEndComment":
784
+ return "[endif]-->";
785
+ case "ieConditionalStartComment":
786
+ return "]><!-->";
787
+ case "interpolation":
788
+ return "}}";
789
+ case "angularIcuExpression":
790
+ return "}";
791
+ case "element":
792
+ if (t.isSelfClosing) return "/>";
793
+ default:
794
+ return ">";
795
+ }
796
+ }
797
+ function gs(t, e) {
798
+ return !t.isSelfClosing && !t.endSourceSpan && (ge(t) || bt(t.parent, e));
799
+ }
800
+ function Q(t) {
801
+ return t.prev && t.prev.type !== "docType" && t.type !== "angularControlFlowBlock" && !$(t.prev) && t.isLeadingSpaceSensitive && !t.hasLeadingSpaces;
802
+ }
803
+ function Ee(t) {
804
+ var e;
805
+ return ((e = t.lastChild) == null ? void 0 : e.isTrailingSpaceSensitive) && !t.lastChild.hasTrailingSpaces && !$(xt(t.lastChild)) && !de(t);
806
+ }
807
+ function Ae(t) {
808
+ return !t.next && !t.hasTrailingSpaces && t.isTrailingSpaceSensitive && $(xt(t));
809
+ }
810
+ function rt(t) {
811
+ return t.next && !$(t.next) && $(t) && t.isTrailingSpaceSensitive && !t.hasTrailingSpaces;
812
+ }
813
+ function Ra(t) {
814
+ let e = t.trim().match(new RegExp("^prettier-ignore-attribute(?:\\s+(.+))?$", "su"));
815
+ return e ? e[1] ? e[1].split(/\s+/u) : true : false;
816
+ }
817
+ function nt(t) {
818
+ return !t.prev && t.isLeadingSpaceSensitive && !t.hasLeadingSpaces;
819
+ }
820
+ function $a(t, e, r) {
821
+ var m;
822
+ let { node: n } = t;
823
+ if (!me(n.attrs)) return n.isSelfClosing ? " " : "";
824
+ let s = ((m = n.prev) == null ? void 0 : m.type) === "comment" && Ra(n.prev.value), i = typeof s == "boolean" ? () => s : Array.isArray(s) ? (f) => s.includes(f.rawName) : () => false, a = t.map(({ node: f }) => i(f) ? B(e.originalText.slice(J(f), se(f))) : r(), "attrs"), o = n.type === "element" && n.fullName === "script" && n.attrs.length === 1 && n.attrs[0].fullName === "src" && n.children.length === 0, p = e.singleAttributePerLine && n.attrs.length > 1 && !Ce(n, e) ? S : _, l = [k([o ? " " : _, H(p, a)])];
825
+ return n.firstChild && nt(n.firstChild) || n.isSelfClosing && Ee(n.parent) || o ? l.push(n.isSelfClosing ? " " : "") : l.push(e.bracketSameLine ? n.isSelfClosing ? " " : "" : n.isSelfClosing ? _ : v), l;
826
+ }
827
+ function Oa(t) {
828
+ return t.firstChild && nt(t.firstChild) ? "" : Nt(t);
829
+ }
830
+ function st(t, e, r) {
831
+ let { node: n } = t;
832
+ return [De(n, e), $a(t, e, r), n.isSelfClosing ? "" : Oa(n)];
833
+ }
834
+ function De(t, e) {
835
+ return t.prev && rt(t.prev) ? "" : [z(t, e), Pt(t, e)];
836
+ }
837
+ function z(t, e) {
838
+ return nt(t) ? Nt(t.parent) : Q(t) ? _e(t.prev, e) : "";
839
+ }
840
+ var ds = "<!doctype";
841
+ function Pt(t, e) {
842
+ switch (t.type) {
843
+ case "ieConditionalComment":
844
+ case "ieConditionalStartComment":
845
+ return `<!--[if ${t.condition}`;
846
+ case "ieConditionalEndComment":
847
+ return "<!--<!";
848
+ case "interpolation":
849
+ return "{{";
850
+ case "docType": {
851
+ if (t.value === "html") {
852
+ let { filepath: n } = e;
853
+ if (n && /\.html?$/u.test(n)) return ds;
854
+ }
855
+ let r = J(t);
856
+ return e.originalText.slice(r, r + ds.length);
857
+ }
858
+ case "angularIcuExpression":
859
+ return "{";
860
+ case "element":
861
+ if (t.condition) return `<!--[if ${t.condition}]><!--><${t.rawName}`;
862
+ default:
863
+ return `<${t.rawName}`;
864
+ }
865
+ }
866
+ function Nt(t) {
867
+ switch (t.type) {
868
+ case "ieConditionalComment":
869
+ return "]>";
870
+ case "element":
871
+ if (t.condition) return "><!--<![endif]-->";
872
+ default:
873
+ return ">";
874
+ }
875
+ }
876
+ function Ma(t, e) {
877
+ if (!t.endSourceSpan) return "";
878
+ let r = t.startSourceSpan.end.offset;
879
+ t.firstChild && nt(t.firstChild) && (r -= Nt(t).length);
880
+ let n = t.endSourceSpan.start.offset;
881
+ return t.lastChild && Ae(t.lastChild) ? n += Ft(t, e).length : Ee(t) && (n -= _e(t.lastChild, e).length), e.originalText.slice(r, n);
882
+ }
883
+ var It = Ma;
884
+ var qa = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
885
+ function Ha(t, e) {
886
+ let { node: r } = t;
887
+ switch (r.type) {
888
+ case "element":
889
+ if (W(r, e) || r.type === "interpolation") return;
890
+ if (!r.isSelfClosing && kt(r, e)) {
891
+ let n = yr(r, e);
892
+ return n ? async (s, i) => {
893
+ let a = It(r, e), o = /^\s*$/u.test(a), u = "";
894
+ return o || (u = await s(Ar(a), { parser: n, __embeddedInHtml: true }), o = u === ""), [z(r, e), E(st(t, e, i)), o ? "" : S, u, o ? "" : S, tt(r, e), G(r, e)];
895
+ } : void 0;
896
+ }
897
+ break;
898
+ case "text":
899
+ if (W(r.parent, e)) {
900
+ let n = yr(r.parent, e);
901
+ if (n) return async (s) => {
902
+ let i = n === "markdown" ? wr(r.value.replace(/^[^\S\n]*\n/u, "")) : r.value, a = { parser: n, __embeddedInHtml: true };
903
+ if (e.parser === "html" && n === "babel") {
904
+ let o = "script", { attrMap: u } = r.parent;
905
+ u && (u.type === "module" || (u.type === "text/babel" || u.type === "text/jsx") && u["data-type"] === "module") && (o = "module"), a.__babelSourceType = o;
906
+ }
907
+ return [ne, z(r, e), await s(i, a), G(r, e)];
908
+ };
909
+ } else if (r.parent.type === "interpolation") return async (n) => {
910
+ let s = { __isInHtmlInterpolation: true, __embeddedInHtml: true };
911
+ return e.parser === "angular" ? s.parser = "__ng_interpolation" : e.parser === "vue" ? s.parser = Ie(t, e) ? "__vue_ts_expression" : "__vue_expression" : s.parser = "__js_expression", [k([_, await n(r.value, s)]), r.parent.next && Q(r.parent.next) ? " " : _];
912
+ };
913
+ break;
914
+ case "attribute":
915
+ return fs(t, e);
916
+ case "front-matter":
917
+ return (n) => vn(r, n);
918
+ case "angularControlFlowBlockParameters":
919
+ return qa.has(t.parent.name) ? yn : void 0;
920
+ case "angularLetDeclarationInitializer":
921
+ return (n) => T(r.value, n, { parser: "__ng_binding", __isInHtmlAttribute: false });
922
+ }
923
+ }
924
+ var Cs = Ha;
925
+ var it = null;
926
+ function at(t) {
927
+ if (it !== null && typeof it.property) {
928
+ let e = it;
929
+ return it = at.prototype = null, e;
930
+ }
931
+ return it = at.prototype = t != null ? t : /* @__PURE__ */ Object.create(null), new at();
932
+ }
933
+ var Va = 10;
934
+ for (let t = 0; t <= Va; t++) at();
935
+ function Br(t) {
936
+ return at(t);
937
+ }
938
+ function Ua(t, e = "type") {
939
+ Br(t);
940
+ function r(n) {
941
+ let s = n[e], i = t[s];
942
+ if (!Array.isArray(i)) throw Object.assign(new Error(`Missing visitor keys for '${s}'.`), { node: n });
943
+ return i;
944
+ }
945
+ return r;
946
+ }
947
+ var Ss = Ua;
948
+ var Wa = { "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"] }, _s = Wa;
949
+ var Ga = Ss(_s), Es = Ga;
950
+ var As = "format";
951
+ var Ds = /^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u, vs = /^\s*<!--\s*@(?:format|prettier)\s*-->/u;
952
+ function ys(t) {
953
+ return vs.test(t);
954
+ }
955
+ function ws(t) {
956
+ return Ds.test(t);
957
+ }
958
+ function bs(t) {
959
+ return `<!-- @${As} -->
960
+
961
+ ${t}`;
962
+ }
963
+ var Ts = /* @__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"])]]);
964
+ function xs(t) {
965
+ let e = se(t);
966
+ return t.type === "element" && !t.endSourceSpan && me(t.children) ? Math.max(e, xs(K(false, t.children, -1))) : e;
967
+ }
968
+ function ot(t, e, r) {
969
+ let n = t.node;
970
+ if (ge(n)) {
971
+ let s = xs(n);
972
+ return [z(n, e), B(O.trimEnd(e.originalText.slice(J(n) + (n.prev && rt(n.prev) ? Pt(n).length : 0), s - (n.next && Q(n.next) ? _e(n, e).length : 0)))), G(n, e)];
973
+ }
974
+ return r();
975
+ }
976
+ function Rt(t, e) {
977
+ return $(t) && $(e) ? t.isTrailingSpaceSensitive ? t.hasTrailingSpaces ? Tt(e) ? S : _ : "" : Tt(e) ? S : v : rt(t) && (ge(e) || e.firstChild || e.isSelfClosing || e.type === "element" && e.attrs.length > 0) || t.type === "element" && t.isSelfClosing && Q(e) ? "" : !e.isLeadingSpaceSensitive || Tt(e) || Q(e) && t.lastChild && Ae(t.lastChild) && t.lastChild.lastChild && Ae(t.lastChild.lastChild) ? S : e.hasLeadingSpaces ? _ : v;
978
+ }
979
+ function Re(t, e, r) {
980
+ let { node: n } = t;
981
+ if (vr(n)) return [ne, ...t.map((i) => {
982
+ let a = i.node, o = a.prev ? Rt(a.prev, a) : "";
983
+ return [o ? [o, Je(a.prev) ? S : ""] : "", ot(i, e, r)];
984
+ }, "children")];
985
+ let s = n.children.map(() => /* @__PURE__ */ Symbol(""));
986
+ return t.map((i, a) => {
987
+ let o = i.node;
988
+ if ($(o)) {
989
+ if (o.prev && $(o.prev)) {
990
+ let A = Rt(o.prev, o);
991
+ if (A) return Je(o.prev) ? [S, S, ot(i, e, r)] : [A, ot(i, e, r)];
992
+ }
993
+ return ot(i, e, r);
994
+ }
995
+ let u = [], p = [], l = [], m = [], f = o.prev ? Rt(o.prev, o) : "", C = o.next ? Rt(o, o.next) : "";
996
+ return f && (Je(o.prev) ? u.push(S, S) : f === S ? u.push(S) : $(o.prev) ? p.push(f) : p.push(pe("", v, { groupId: s[a - 1] }))), C && (Je(o) ? $(o.next) && m.push(S, S) : C === S ? $(o.next) && m.push(S) : l.push(C)), [...u, E([...p, E([ot(i, e, r), ...l], { id: s[a] })]), ...m];
997
+ }, "children");
998
+ }
999
+ function ks(t, e, r) {
1000
+ let { node: n } = t, s = [];
1001
+ za(t) && s.push("} "), s.push("@", n.name), n.parameters && s.push(" (", E(r("parameters")), ")"), s.push(" {");
1002
+ let i = Bs(n);
1003
+ return n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = true, n.lastChild.hasTrailingSpaces = true, s.push(k([S, Re(t, e, r)])), i && s.push(S, "}")) : i && s.push("}"), E(s, { shouldBreak: true });
1004
+ }
1005
+ function Bs(t) {
1006
+ var e, r;
1007
+ return !(((e = t.next) == null ? void 0 : e.type) === "angularControlFlowBlock" && ((r = Ts.get(t.name)) != null && r.has(t.next.name)));
1008
+ }
1009
+ function za(t) {
1010
+ let { previous: e } = t;
1011
+ return (e == null ? void 0 : e.type) === "angularControlFlowBlock" && !ge(e) && !Bs(e);
1012
+ }
1013
+ function Ls(t, e, r) {
1014
+ return [k([v, H([";", _], t.map(r, "children"))]), v];
1015
+ }
1016
+ function Fs(t, e, r) {
1017
+ let { node: n } = t;
1018
+ return [De(n, e), E([n.switchValue.trim(), ", ", n.clause, n.cases.length > 0 ? [",", k([_, H(_, t.map(r, "cases"))])] : "", v]), Se(n, e)];
1019
+ }
1020
+ function Ps(t, e, r) {
1021
+ let { node: n } = t;
1022
+ return [n.value, " {", E([k([v, t.map(({ node: s, isLast: i }) => {
1023
+ let a = [r()];
1024
+ return s.type === "text" && (s.hasLeadingSpaces && a.unshift(_), s.hasTrailingSpaces && !i && a.push(_)), a;
1025
+ }, "expression")]), v]), "}"];
1026
+ }
1027
+ function Ns(t, e, r) {
1028
+ let { node: n } = t;
1029
+ if (bt(n, e)) return [z(n, e), E(st(t, e, r)), B(It(n, e)), ...tt(n, e), G(n, e)];
1030
+ 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 = /* @__PURE__ */ Symbol("element-attr-group-id"), a = (l) => E([E(st(t, e, r), { id: i }), l, tt(n, e)]), o = (l) => s ? gn(l, { groupId: i }) : (W(n, e) || et(n, e)) && n.parent.type === "root" && e.parser === "vue" && !e.vueIndentScriptAndStyle ? l : k(l), u = () => s ? pe(v, "", { groupId: i }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? _ : n.firstChild.type === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? fn(v) : v, p = () => (n.next ? Q(n.next) : Ee(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : s ? pe(v, "", { groupId: i }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? _ : (n.lastChild.type === "comment" || n.lastChild.type === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${e.tabWidth * (t.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : v;
1031
+ return n.children.length === 0 ? a(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? _ : "") : a([Wn(n) ? ne : "", o([u(), Re(t, e, r)]), p()]);
1032
+ }
1033
+ function ut(t) {
1034
+ return t >= 9 && t <= 32 || t == 160;
1035
+ }
1036
+ function $t(t) {
1037
+ return 48 <= t && t <= 57;
1038
+ }
1039
+ function lt(t) {
1040
+ return t >= 97 && t <= 122 || t >= 65 && t <= 90;
1041
+ }
1042
+ function Is(t) {
1043
+ return t >= 97 && t <= 102 || t >= 65 && t <= 70 || $t(t);
1044
+ }
1045
+ function Ot(t) {
1046
+ return t === 10 || t === 13;
1047
+ }
1048
+ function Lr(t) {
1049
+ return 48 <= t && t <= 55;
1050
+ }
1051
+ function Mt(t) {
1052
+ return t === 39 || t === 34 || t === 96;
1053
+ }
1054
+ var Ya = /-+([a-z0-9])/g;
1055
+ function $s(t) {
1056
+ return t.replace(Ya, (...e) => e[1].toUpperCase());
1057
+ }
1058
+ var ie = class t {
1059
+ constructor(e, r, n, s) {
1060
+ this.file = e, this.offset = r, this.line = n, this.col = s;
1061
+ }
1062
+ toString() {
1063
+ return this.offset != null ? `${this.file.url}@${this.line}:${this.col}` : this.file.url;
1064
+ }
1065
+ moveBy(e) {
1066
+ let r = this.file.content, n = r.length, s = this.offset, i = this.line, a = this.col;
1067
+ for (; s > 0 && e < 0; ) if (s--, e++, r.charCodeAt(s) == 10) {
1068
+ i--;
1069
+ let u = r.substring(0, s - 1).lastIndexOf(String.fromCharCode(10));
1070
+ a = u > 0 ? s - u : s;
1071
+ } else a--;
1072
+ for (; s < n && e > 0; ) {
1073
+ let o = r.charCodeAt(s);
1074
+ s++, e--, o == 10 ? (i++, a = 0) : a++;
1075
+ }
1076
+ return new t(this.file, s, i, a);
1077
+ }
1078
+ getContext(e, r) {
1079
+ let n = this.file.content, s = this.offset;
1080
+ if (s != null) {
1081
+ s > n.length - 1 && (s = n.length - 1);
1082
+ let i = s, a = 0, o = 0;
1083
+ for (; a < e && s > 0 && (s--, a++, !(n[s] == `
1084
+ ` && ++o == r)); ) ;
1085
+ for (a = 0, o = 0; a < e && i < n.length - 1 && (i++, a++, !(n[i] == `
1086
+ ` && ++o == r)); ) ;
1087
+ return { before: n.substring(s, this.offset), after: n.substring(this.offset, i + 1) };
1088
+ }
1089
+ return null;
1090
+ }
1091
+ }, ve = class {
1092
+ constructor(e, r) {
1093
+ this.content = e, this.url = r;
1094
+ }
1095
+ }, h = class {
1096
+ constructor(e, r, n = e, s = null) {
1097
+ this.start = e, this.end = r, this.fullStart = n, this.details = s;
1098
+ }
1099
+ toString() {
1100
+ return this.start.file.content.substring(this.start.offset, this.end.offset);
1101
+ }
1102
+ }, qt;
1103
+ (function(t) {
1104
+ t[t.WARNING = 0] = "WARNING", t[t.ERROR = 1] = "ERROR";
1105
+ })(qt || (qt = {}));
1106
+ var Oe = class {
1107
+ constructor(e, r, n = qt.ERROR, s) {
1108
+ this.span = e, this.msg = r, this.level = n, this.relatedError = s;
1109
+ }
1110
+ contextualMessage() {
1111
+ let e = this.span.start.getContext(100, 3);
1112
+ return e ? `${this.msg} ("${e.before}[${qt[this.level]} ->]${e.after}")` : this.msg;
1113
+ }
1114
+ toString() {
1115
+ let e = this.span.details ? `, ${this.span.details}` : "";
1116
+ return `${this.contextualMessage()}: ${this.span.start}${e}`;
1117
+ }
1118
+ };
1119
+ var ja = [Xa, Qa, Za, to, ro, io, no, so, ao, eo];
1120
+ function Ka(t, e) {
1121
+ for (let r of ja) r(t, e);
1122
+ return t;
1123
+ }
1124
+ function Xa(t) {
1125
+ t.walk((e) => {
1126
+ if (e.type === "element" && e.tagDefinition.ignoreFirstLf && e.children.length > 0 && e.children[0].type === "text" && e.children[0].value[0] === `
1127
+ `) {
1128
+ let r = e.children[0];
1129
+ r.value.length === 1 ? e.removeChild(r) : r.value = r.value.slice(1);
1130
+ }
1131
+ });
1132
+ }
1133
+ function Qa(t) {
1134
+ let e = (r) => {
1135
+ var n, s;
1136
+ 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;
1137
+ };
1138
+ t.walk((r) => {
1139
+ if (r.children) for (let n = 0; n < r.children.length; n++) {
1140
+ let s = r.children[n];
1141
+ if (!e(s)) continue;
1142
+ let i = s.prev, a = s.firstChild;
1143
+ r.removeChild(i), n--;
1144
+ let o = new h(i.sourceSpan.start, a.sourceSpan.end), u = new h(o.start, s.sourceSpan.end);
1145
+ s.condition = i.condition, s.sourceSpan = u, s.startSourceSpan = o, s.removeChild(a);
1146
+ }
1147
+ });
1148
+ }
1149
+ function Ja(t, e, r) {
1150
+ t.walk((n) => {
1151
+ if (n.children) for (let s = 0; s < n.children.length; s++) {
1152
+ let i = n.children[s];
1153
+ if (i.type !== "text" && !e(i)) continue;
1154
+ i.type !== "text" && (i.type = "text", i.value = r(i));
1155
+ let a = i.prev;
1156
+ !a || a.type !== "text" || (a.value += i.value, a.sourceSpan = new h(a.sourceSpan.start, i.sourceSpan.end), n.removeChild(i), s--);
1157
+ }
1158
+ });
1159
+ }
1160
+ function Za(t) {
1161
+ return Ja(t, (e) => e.type === "cdata", (e) => `<![CDATA[${e.value}]]>`);
1162
+ }
1163
+ function eo(t) {
1164
+ let e = (r) => {
1165
+ var n, s;
1166
+ 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";
1167
+ };
1168
+ t.walk((r) => {
1169
+ if (r.children) for (let n = 0; n < r.children.length; n++) {
1170
+ let s = r.children[n];
1171
+ if (!e(s)) continue;
1172
+ let i = s.prev, a = s.next;
1173
+ i.value += `<${s.rawName}>` + s.firstChild.value + `</${s.rawName}>` + a.value, i.sourceSpan = new h(i.sourceSpan.start, a.sourceSpan.end), i.isTrailingSpaceSensitive = a.isTrailingSpaceSensitive, i.hasTrailingSpaces = a.hasTrailingSpaces, r.removeChild(s), n--, r.removeChild(a);
1174
+ }
1175
+ });
1176
+ }
1177
+ function to(t, e) {
1178
+ if (e.parser === "html") return;
1179
+ let r = new RegExp("\\{\\{(.+?)\\}\\}", "su");
1180
+ t.walk((n) => {
1181
+ if (Mn(n, e)) for (let s of n.children) {
1182
+ if (s.type !== "text") continue;
1183
+ let i = s.sourceSpan.start, a = null, o = s.value.split(r);
1184
+ for (let u = 0; u < o.length; u++, i = a) {
1185
+ let p = o[u];
1186
+ if (u % 2 === 0) {
1187
+ a = i.moveBy(p.length), p.length > 0 && n.insertChildBefore(s, { type: "text", value: p, sourceSpan: new h(i, a) });
1188
+ continue;
1189
+ }
1190
+ a = i.moveBy(p.length + 4), n.insertChildBefore(s, { type: "interpolation", sourceSpan: new h(i, a), children: p.length === 0 ? [] : [{ type: "text", value: p, sourceSpan: new h(i.moveBy(2), a.moveBy(-2)) }] });
1191
+ }
1192
+ n.removeChild(s);
1193
+ }
1194
+ });
1195
+ }
1196
+ function ro(t, e) {
1197
+ t.walk((r) => {
1198
+ let n = r.$children;
1199
+ if (!n) return;
1200
+ if (n.length === 0 || n.length === 1 && n[0].type === "text" && O.trim(n[0].value).length === 0) {
1201
+ r.hasDanglingSpaces = n.length > 0, r.$children = [];
1202
+ return;
1203
+ }
1204
+ let s = qn(r, e), i = Dr(r);
1205
+ if (!s) for (let a = 0; a < n.length; a++) {
1206
+ let o = n[a];
1207
+ if (o.type !== "text") continue;
1208
+ let { leadingWhitespace: u, text: p, trailingWhitespace: l } = On(o.value), m = o.prev, f = o.next;
1209
+ p ? (o.value = p, o.sourceSpan = new h(o.sourceSpan.start.moveBy(u.length), o.sourceSpan.end.moveBy(-l.length)), u && (m && (m.hasTrailingSpaces = true), o.hasLeadingSpaces = true), l && (o.hasTrailingSpaces = true, f && (f.hasLeadingSpaces = true))) : (r.removeChild(o), a--, (u || l) && (m && (m.hasTrailingSpaces = true), f && (f.hasLeadingSpaces = true)));
1210
+ }
1211
+ r.isWhitespaceSensitive = s, r.isIndentationSensitive = i;
1212
+ });
1213
+ }
1214
+ function no(t) {
1215
+ t.walk((e) => {
1216
+ e.isSelfClosing = !e.children || e.type === "element" && (e.tagDefinition.isVoid || e.endSourceSpan && e.startSourceSpan.start === e.endSourceSpan.start && e.startSourceSpan.end === e.endSourceSpan.end);
1217
+ });
1218
+ }
1219
+ function so(t, e) {
1220
+ t.walk((r) => {
1221
+ r.type === "element" && (r.hasHtmComponentClosingTag = r.endSourceSpan && /^<\s*\/\s*\/\s*>$/u.test(e.originalText.slice(r.endSourceSpan.start.offset, r.endSourceSpan.end.offset)));
1222
+ });
1223
+ }
1224
+ function io(t, e) {
1225
+ t.walk((r) => {
1226
+ r.cssDisplay = Xn(r, e);
1227
+ });
1228
+ }
1229
+ function ao(t, e) {
1230
+ t.walk((r) => {
1231
+ let { children: n } = r;
1232
+ if (n) {
1233
+ if (n.length === 0) {
1234
+ r.isDanglingSpaceSensitive = Un(r, e);
1235
+ return;
1236
+ }
1237
+ for (let s of n) s.isLeadingSpaceSensitive = Hn(s, e), s.isTrailingSpaceSensitive = Vn(s, e);
1238
+ for (let s = 0; s < n.length; s++) {
1239
+ let i = n[s];
1240
+ i.isLeadingSpaceSensitive = (s === 0 || i.prev.isTrailingSpaceSensitive) && i.isLeadingSpaceSensitive, i.isTrailingSpaceSensitive = (s === n.length - 1 || i.next.isLeadingSpaceSensitive) && i.isTrailingSpaceSensitive;
1241
+ }
1242
+ }
1243
+ });
1244
+ }
1245
+ var Os = Ka;
1246
+ function oo(t, e, r) {
1247
+ let { node: n } = t;
1248
+ switch (n.type) {
1249
+ case "front-matter":
1250
+ return B(n.raw);
1251
+ case "root":
1252
+ return e.__onHtmlRoot && e.__onHtmlRoot(n), [E(Re(t, e, r)), S];
1253
+ case "element":
1254
+ case "ieConditionalComment":
1255
+ return Ns(t, e, r);
1256
+ case "angularControlFlowBlock":
1257
+ return ks(t, e, r);
1258
+ case "angularControlFlowBlockParameters":
1259
+ return Ls(t, e, r);
1260
+ case "angularControlFlowBlockParameter":
1261
+ return O.trim(n.expression);
1262
+ case "angularLetDeclaration":
1263
+ return E(["@let ", E([n.id, " =", E(k([_, r("init")]))]), ";"]);
1264
+ case "angularLetDeclarationInitializer":
1265
+ return n.value;
1266
+ case "angularIcuExpression":
1267
+ return Fs(t, e, r);
1268
+ case "angularIcuCase":
1269
+ return Ps(t, e, r);
1270
+ case "ieConditionalStartComment":
1271
+ case "ieConditionalEndComment":
1272
+ return [De(n), Se(n)];
1273
+ case "interpolation":
1274
+ return [De(n, e), ...t.map(r, "children"), Se(n, e)];
1275
+ case "text": {
1276
+ if (n.parent.type === "interpolation") {
1277
+ let o = /\n[^\S\n]*$/u, u = o.test(n.value), p = u ? n.value.replace(o, "") : n.value;
1278
+ return [B(p), u ? S : ""];
1279
+ }
1280
+ let s = z(n, e), i = Bt(n), a = G(n, e);
1281
+ return i[0] = [s, i[0]], i.push([i.pop(), a]), yt(i);
1282
+ }
1283
+ case "docType":
1284
+ return [E([De(n, e), " ", w(false, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), Se(n, e)];
1285
+ case "comment":
1286
+ return [z(n, e), B(e.originalText.slice(J(n), se(n))), G(n, e)];
1287
+ case "attribute": {
1288
+ if (n.value === null) return n.rawName;
1289
+ let s = br(n.value), i = Sn(s, '"');
1290
+ return [n.rawName, "=", i, B(i === '"' ? w(false, s, '"', "&quot;") : w(false, s, "'", "&apos;")), i];
1291
+ }
1292
+ case "cdata":
1293
+ default:
1294
+ throw new En(n, "HTML");
1295
+ }
1296
+ }
1297
+ var uo = { preprocess: Os, print: oo, insertPragma: bs, massageAstNode: Dn, embed: Cs, getVisitorKeys: Es }, Ms = uo;
1298
+ var qs = [{ name: "Angular", type: "markup", extensions: [".component.html"], tmScope: "text.html.basic", aceMode: "html", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "HTML", type: "markup", extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"], tmScope: "text.html.basic", aceMode: "html", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["html"], vscodeLanguageIds: ["html"], linguistLanguageId: 146 }, { name: "Lightning Web Components", type: "markup", extensions: [], tmScope: "text.html.basic", aceMode: "html", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "MJML", type: "markup", extensions: [".mjml"], tmScope: "text.mjml.basic", aceMode: "html", aliases: ["MJML", "mjml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["mjml"], filenames: [], vscodeLanguageIds: ["mjml"], linguistLanguageId: 146 }, { name: "Vue", type: "markup", extensions: [".vue"], tmScope: "source.vue", aceMode: "html", parsers: ["vue"], vscodeLanguageIds: ["vue"], linguistLanguageId: 391 }];
1299
+ var Fr = { 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." } };
1300
+ var Hs = "HTML", lo = { bracketSameLine: Fr.bracketSameLine, htmlWhitespaceSensitivity: { category: Hs, 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: Fr.singleAttributePerLine, vueIndentScriptAndStyle: { category: Hs, type: "boolean", default: false, description: "Indent script and style tags in Vue files." } }, Vs = lo;
1301
+ var rn = {};
1302
+ un(rn, { angular: () => lu, html: () => au, lwc: () => pu, mjml: () => uu, vue: () => cu });
1303
+ var ph = new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`, "g");
1304
+ var Us;
1305
+ (function(t) {
1306
+ t[t.Emulated = 0] = "Emulated", t[t.None = 2] = "None", t[t.ShadowDom = 3] = "ShadowDom";
1307
+ })(Us || (Us = {}));
1308
+ var Ws;
1309
+ (function(t) {
1310
+ t[t.OnPush = 0] = "OnPush", t[t.Default = 1] = "Default";
1311
+ })(Ws || (Ws = {}));
1312
+ var Gs;
1313
+ (function(t) {
1314
+ t[t.None = 0] = "None", t[t.SignalBased = 1] = "SignalBased", t[t.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
1315
+ })(Gs || (Gs = {}));
1316
+ var Pr = { name: "custom-elements" }, Nr = { name: "no-errors-schema" };
1317
+ var Z;
1318
+ (function(t) {
1319
+ t[t.NONE = 0] = "NONE", t[t.HTML = 1] = "HTML", t[t.STYLE = 2] = "STYLE", t[t.SCRIPT = 3] = "SCRIPT", t[t.URL = 4] = "URL", t[t.RESOURCE_URL = 5] = "RESOURCE_URL";
1320
+ })(Z || (Z = {}));
1321
+ var zs;
1322
+ (function(t) {
1323
+ t[t.Error = 0] = "Error", t[t.Warning = 1] = "Warning", t[t.Ignore = 2] = "Ignore";
1324
+ })(zs || (zs = {}));
1325
+ var N;
1326
+ (function(t) {
1327
+ t[t.RAW_TEXT = 0] = "RAW_TEXT", t[t.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", t[t.PARSABLE_DATA = 2] = "PARSABLE_DATA";
1328
+ })(N || (N = {}));
1329
+ function ct(t, e = true) {
1330
+ if (t[0] != ":") return [null, t];
1331
+ let r = t.indexOf(":", 1);
1332
+ if (r === -1) {
1333
+ if (e) throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);
1334
+ return [null, t];
1335
+ }
1336
+ return [t.slice(1, r), t.slice(r + 1)];
1337
+ }
1338
+ function Ir(t) {
1339
+ return ct(t)[1] === "ng-container";
1340
+ }
1341
+ function Rr(t) {
1342
+ return ct(t)[1] === "ng-content";
1343
+ }
1344
+ function Me(t) {
1345
+ return t === null ? null : ct(t)[0];
1346
+ }
1347
+ function qe(t, e) {
1348
+ return t ? `:${t}:${e}` : e;
1349
+ }
1350
+ var Vt;
1351
+ function $r() {
1352
+ return Vt || (Vt = {}, Ht(Z.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), Ht(Z.STYLE, ["*|style"]), Ht(Z.URL, ["*|formAction", "area|href", "area|ping", "audio|src", "a|href", "a|ping", "blockquote|cite", "body|background", "del|cite", "form|action", "img|src", "input|src", "ins|cite", "q|cite", "source|src", "track|src", "video|poster", "video|src"]), Ht(Z.RESOURCE_URL, ["applet|code", "applet|codebase", "base|href", "embed|src", "frame|src", "head|profile", "html|manifest", "iframe|src", "link|href", "media|src", "object|codebase", "object|data", "script|src"])), Vt;
1353
+ }
1354
+ function Ht(t, e) {
1355
+ for (let r of e) Vt[r.toLowerCase()] = t;
1356
+ }
1357
+ var Ut = class {
1358
+ };
1359
+ var co = "boolean", po = "number", ho = "string", mo = "object", fo = ["[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:|"], Ys = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), go = Array.from(Ys).reduce((t, [e, r]) => (t.set(e, r), t), /* @__PURE__ */ new Map()), Wt = class extends Ut {
1360
+ constructor() {
1361
+ super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), fo.forEach((e) => {
1362
+ let r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), [s, i] = e.split("|"), a = i.split(","), [o, u] = s.split("^");
1363
+ o.split(",").forEach((l) => {
1364
+ this._schema.set(l.toLowerCase(), r), this._eventSchema.set(l.toLowerCase(), n);
1365
+ });
1366
+ let p = u && this._schema.get(u.toLowerCase());
1367
+ if (p) {
1368
+ for (let [l, m] of p) r.set(l, m);
1369
+ for (let l of this._eventSchema.get(u.toLowerCase())) n.add(l);
1370
+ }
1371
+ a.forEach((l) => {
1372
+ if (l.length > 0) switch (l[0]) {
1373
+ case "*":
1374
+ n.add(l.substring(1));
1375
+ break;
1376
+ case "!":
1377
+ r.set(l.substring(1), co);
1378
+ break;
1379
+ case "#":
1380
+ r.set(l.substring(1), po);
1381
+ break;
1382
+ case "%":
1383
+ r.set(l.substring(1), mo);
1384
+ break;
1385
+ default:
1386
+ r.set(l, ho);
1387
+ }
1388
+ });
1389
+ });
1390
+ }
1391
+ hasProperty(e, r, n) {
1392
+ if (n.some((i) => i.name === Nr.name)) return true;
1393
+ if (e.indexOf("-") > -1) {
1394
+ if (Ir(e) || Rr(e)) return false;
1395
+ if (n.some((i) => i.name === Pr.name)) return true;
1396
+ }
1397
+ return (this._schema.get(e.toLowerCase()) || this._schema.get("unknown")).has(r);
1398
+ }
1399
+ hasElement(e, r) {
1400
+ return r.some((n) => n.name === Nr.name) || e.indexOf("-") > -1 && (Ir(e) || Rr(e) || r.some((n) => n.name === Pr.name)) ? true : this._schema.has(e.toLowerCase());
1401
+ }
1402
+ securityContext(e, r, n) {
1403
+ n && (r = this.getMappedPropName(r)), e = e.toLowerCase(), r = r.toLowerCase();
1404
+ let s = $r()[e + "|" + r];
1405
+ return s || (s = $r()["*|" + r], s || Z.NONE);
1406
+ }
1407
+ getMappedPropName(e) {
1408
+ var _a2;
1409
+ return (_a2 = Ys.get(e)) != null ? _a2 : e;
1410
+ }
1411
+ getDefaultComponentElementName() {
1412
+ return "ng-component";
1413
+ }
1414
+ validateProperty(e) {
1415
+ return e.toLowerCase().startsWith("on") ? { error: true, msg: `Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...
1416
+ If '${e}' is a directive input, make sure the directive is imported by the current module.` } : { error: false };
1417
+ }
1418
+ validateAttribute(e) {
1419
+ return e.toLowerCase().startsWith("on") ? { error: true, msg: `Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...` } : { error: false };
1420
+ }
1421
+ allKnownElementNames() {
1422
+ return Array.from(this._schema.keys());
1423
+ }
1424
+ allKnownAttributesOfElement(e) {
1425
+ let r = this._schema.get(e.toLowerCase()) || this._schema.get("unknown");
1426
+ return Array.from(r.keys()).map((n) => {
1427
+ var _a2;
1428
+ return (_a2 = go.get(n)) != null ? _a2 : n;
1429
+ });
1430
+ }
1431
+ allKnownEventsOfElement(e) {
1432
+ var _a2;
1433
+ return Array.from((_a2 = this._eventSchema.get(e.toLowerCase())) != null ? _a2 : []);
1434
+ }
1435
+ normalizeAnimationStyleProperty(e) {
1436
+ return $s(e);
1437
+ }
1438
+ normalizeAnimationStyleValue(e, r, n) {
1439
+ let s = "", i = n.toString().trim(), a = null;
1440
+ if (Co(e) && n !== 0 && n !== "0") if (typeof n == "number") s = "px";
1441
+ else {
1442
+ let o = n.match(/^[+-]?[\d\.]+([a-z]*)$/);
1443
+ o && o[1].length == 0 && (a = `Please provide a CSS unit value for ${r}:${n}`);
1444
+ }
1445
+ return { error: a, value: i + s };
1446
+ }
1447
+ };
1448
+ function Co(t) {
1449
+ switch (t) {
1450
+ case "width":
1451
+ case "height":
1452
+ case "minWidth":
1453
+ case "minHeight":
1454
+ case "maxWidth":
1455
+ case "maxHeight":
1456
+ case "left":
1457
+ case "top":
1458
+ case "bottom":
1459
+ case "right":
1460
+ case "fontSize":
1461
+ case "outlineWidth":
1462
+ case "outlineOffset":
1463
+ case "paddingTop":
1464
+ case "paddingLeft":
1465
+ case "paddingBottom":
1466
+ case "paddingRight":
1467
+ case "marginTop":
1468
+ case "marginLeft":
1469
+ case "marginBottom":
1470
+ case "marginRight":
1471
+ case "borderRadius":
1472
+ case "borderWidth":
1473
+ case "borderTopWidth":
1474
+ case "borderLeftWidth":
1475
+ case "borderRightWidth":
1476
+ case "borderBottomWidth":
1477
+ case "textIndent":
1478
+ return true;
1479
+ default:
1480
+ return false;
1481
+ }
1482
+ }
1483
+ var d = class {
1484
+ constructor({ closedByChildren: e, implicitNamespacePrefix: r, contentType: n = N.PARSABLE_DATA, closedByParent: s = false, isVoid: i = false, ignoreFirstLf: a = false, preventNamespaceInheritance: o = false, canSelfClose: u = false } = {}) {
1485
+ 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 != null ? u : i;
1486
+ }
1487
+ isClosedByChild(e) {
1488
+ return this.isVoid || e.toLowerCase() in this.closedByChildren;
1489
+ }
1490
+ getContentType(e) {
1491
+ var _a2;
1492
+ return typeof this.contentType == "object" ? (_a2 = e === void 0 ? void 0 : this.contentType[e]) != null ? _a2 : this.contentType.default : this.contentType;
1493
+ }
1494
+ }, js, pt;
1495
+ function He(t) {
1496
+ var _a2;
1497
+ return pt || (js = new d({ canSelfClose: true }), pt = Object.assign(/* @__PURE__ */ Object.create(null), { base: new d({ isVoid: true }), meta: new d({ isVoid: true }), area: new d({ isVoid: true }), embed: new d({ isVoid: true }), link: new d({ isVoid: true }), img: new d({ isVoid: true }), input: new d({ isVoid: true }), param: new d({ isVoid: true }), hr: new d({ isVoid: true }), br: new d({ isVoid: true }), source: new d({ isVoid: true }), track: new d({ isVoid: true }), wbr: new d({ isVoid: true }), p: new d({ closedByChildren: ["address", "article", "aside", "blockquote", "div", "dl", "fieldset", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "nav", "ol", "p", "pre", "section", "table", "ul"], closedByParent: true }), thead: new d({ closedByChildren: ["tbody", "tfoot"] }), tbody: new d({ closedByChildren: ["tbody", "tfoot"], closedByParent: true }), tfoot: new d({ closedByChildren: ["tbody"], closedByParent: true }), tr: new d({ closedByChildren: ["tr"], closedByParent: true }), td: new d({ closedByChildren: ["td", "th"], closedByParent: true }), th: new d({ closedByChildren: ["td", "th"], closedByParent: true }), col: new d({ isVoid: true }), svg: new d({ implicitNamespacePrefix: "svg" }), foreignObject: new d({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: true }), math: new d({ implicitNamespacePrefix: "math" }), li: new d({ closedByChildren: ["li"], closedByParent: true }), dt: new d({ closedByChildren: ["dt", "dd"] }), dd: new d({ closedByChildren: ["dt", "dd"], closedByParent: true }), rb: new d({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), rt: new d({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), rtc: new d({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: true }), rp: new d({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), optgroup: new d({ closedByChildren: ["optgroup"], closedByParent: true }), option: new d({ closedByChildren: ["option", "optgroup"], closedByParent: true }), pre: new d({ ignoreFirstLf: true }), listing: new d({ ignoreFirstLf: true }), style: new d({ contentType: N.RAW_TEXT }), script: new d({ contentType: N.RAW_TEXT }), title: new d({ contentType: { default: N.ESCAPABLE_RAW_TEXT, svg: N.PARSABLE_DATA } }), textarea: new d({ contentType: N.ESCAPABLE_RAW_TEXT, ignoreFirstLf: true }) }), new Wt().allKnownElementNames().forEach((e) => {
1498
+ !pt[e] && Me(e) === null && (pt[e] = new d({ canSelfClose: false }));
1499
+ })), (_a2 = pt[t]) != null ? _a2 : js;
1500
+ }
1501
+ var ae = class {
1502
+ constructor(e, r) {
1503
+ this.sourceSpan = e, this.i18n = r;
1504
+ }
1505
+ }, Gt = class extends ae {
1506
+ constructor(e, r, n, s) {
1507
+ super(r, s), this.value = e, this.tokens = n, this.type = "text";
1508
+ }
1509
+ visit(e, r) {
1510
+ return e.visitText(this, r);
1511
+ }
1512
+ }, zt = class extends ae {
1513
+ constructor(e, r, n, s) {
1514
+ super(r, s), this.value = e, this.tokens = n, this.type = "cdata";
1515
+ }
1516
+ visit(e, r) {
1517
+ return e.visitCdata(this, r);
1518
+ }
1519
+ }, Yt = class extends ae {
1520
+ constructor(e, r, n, s, i, a) {
1521
+ super(s, a), this.switchValue = e, this.type = r, this.cases = n, this.switchValueSourceSpan = i;
1522
+ }
1523
+ visit(e, r) {
1524
+ return e.visitExpansion(this, r);
1525
+ }
1526
+ }, jt = class {
1527
+ constructor(e, r, n, s, i) {
1528
+ this.value = e, this.expression = r, this.sourceSpan = n, this.valueSourceSpan = s, this.expSourceSpan = i, this.type = "expansionCase";
1529
+ }
1530
+ visit(e, r) {
1531
+ return e.visitExpansionCase(this, r);
1532
+ }
1533
+ }, Kt = class extends ae {
1534
+ constructor(e, r, n, s, i, a, o) {
1535
+ super(n, o), this.name = e, this.value = r, this.keySpan = s, this.valueSpan = i, this.valueTokens = a, this.type = "attribute";
1536
+ }
1537
+ visit(e, r) {
1538
+ return e.visitAttribute(this, r);
1539
+ }
1540
+ get nameSpan() {
1541
+ return this.keySpan;
1542
+ }
1543
+ }, Y = class extends ae {
1544
+ constructor(e, r, n, s, i, a = null, o = null, u) {
1545
+ super(s, u), this.name = e, this.attrs = r, this.children = n, this.startSourceSpan = i, this.endSourceSpan = a, this.nameSpan = o, this.type = "element";
1546
+ }
1547
+ visit(e, r) {
1548
+ return e.visitElement(this, r);
1549
+ }
1550
+ }, Xt = class {
1551
+ constructor(e, r) {
1552
+ this.value = e, this.sourceSpan = r, this.type = "comment";
1553
+ }
1554
+ visit(e, r) {
1555
+ return e.visitComment(this, r);
1556
+ }
1557
+ }, Qt = class {
1558
+ constructor(e, r) {
1559
+ this.value = e, this.sourceSpan = r, this.type = "docType";
1560
+ }
1561
+ visit(e, r) {
1562
+ return e.visitDocType(this, r);
1563
+ }
1564
+ }, ee = class extends ae {
1565
+ constructor(e, r, n, s, i, a, o = null, u) {
1566
+ super(s, u), this.name = e, this.parameters = r, this.children = n, this.nameSpan = i, this.startSourceSpan = a, this.endSourceSpan = o, this.type = "block";
1567
+ }
1568
+ visit(e, r) {
1569
+ return e.visitBlock(this, r);
1570
+ }
1571
+ }, ht = class {
1572
+ constructor(e, r) {
1573
+ this.expression = e, this.sourceSpan = r, this.type = "blockParameter", this.startSourceSpan = null, this.endSourceSpan = null;
1574
+ }
1575
+ visit(e, r) {
1576
+ return e.visitBlockParameter(this, r);
1577
+ }
1578
+ }, mt = class {
1579
+ constructor(e, r, n, s, i) {
1580
+ this.name = e, this.value = r, this.sourceSpan = n, this.nameSpan = s, this.valueSpan = i, this.type = "letDeclaration", this.startSourceSpan = null, this.endSourceSpan = null;
1581
+ }
1582
+ visit(e, r) {
1583
+ return e.visitLetDeclaration(this, r);
1584
+ }
1585
+ };
1586
+ function Jt(t, e, r = null) {
1587
+ let n = [], s = t.visit ? (i) => t.visit(i, r) || i.visit(t, r) : (i) => i.visit(t, r);
1588
+ return e.forEach((i) => {
1589
+ let a = s(i);
1590
+ a && n.push(a);
1591
+ }), n;
1592
+ }
1593
+ var ft = class {
1594
+ constructor() {
1595
+ }
1596
+ visitElement(e, r) {
1597
+ this.visitChildren(r, (n) => {
1598
+ n(e.attrs), n(e.children);
1599
+ });
1600
+ }
1601
+ visitAttribute(e, r) {
1602
+ }
1603
+ visitText(e, r) {
1604
+ }
1605
+ visitCdata(e, r) {
1606
+ }
1607
+ visitComment(e, r) {
1608
+ }
1609
+ visitDocType(e, r) {
1610
+ }
1611
+ visitExpansion(e, r) {
1612
+ return this.visitChildren(r, (n) => {
1613
+ n(e.cases);
1614
+ });
1615
+ }
1616
+ visitExpansionCase(e, r) {
1617
+ }
1618
+ visitBlock(e, r) {
1619
+ this.visitChildren(r, (n) => {
1620
+ n(e.parameters), n(e.children);
1621
+ });
1622
+ }
1623
+ visitBlockParameter(e, r) {
1624
+ }
1625
+ visitLetDeclaration(e, r) {
1626
+ }
1627
+ visitChildren(e, r) {
1628
+ let n = [], s = this;
1629
+ function i(a) {
1630
+ a && n.push(Jt(s, a, e));
1631
+ }
1632
+ return r(i), Array.prototype.concat.apply([], n);
1633
+ }
1634
+ };
1635
+ var Ve = { AElig: "\xC6", AMP: "&", amp: "&", Aacute: "\xC1", Abreve: "\u0102", Acirc: "\xC2", Acy: "\u0410", Afr: "\u{1D504}", Agrave: "\xC0", Alpha: "\u0391", Amacr: "\u0100", And: "\u2A53", Aogon: "\u0104", Aopf: "\u{1D538}", ApplyFunction: "\u2061", af: "\u2061", Aring: "\xC5", angst: "\xC5", Ascr: "\u{1D49C}", Assign: "\u2254", colone: "\u2254", coloneq: "\u2254", Atilde: "\xC3", Auml: "\xC4", Backslash: "\u2216", setminus: "\u2216", setmn: "\u2216", smallsetminus: "\u2216", ssetmn: "\u2216", Barv: "\u2AE7", Barwed: "\u2306", doublebarwedge: "\u2306", Bcy: "\u0411", Because: "\u2235", becaus: "\u2235", because: "\u2235", Bernoullis: "\u212C", Bscr: "\u212C", bernou: "\u212C", Beta: "\u0392", Bfr: "\u{1D505}", Bopf: "\u{1D539}", Breve: "\u02D8", breve: "\u02D8", Bumpeq: "\u224E", HumpDownHump: "\u224E", bump: "\u224E", CHcy: "\u0427", COPY: "\xA9", copy: "\xA9", Cacute: "\u0106", Cap: "\u22D2", CapitalDifferentialD: "\u2145", DD: "\u2145", Cayleys: "\u212D", Cfr: "\u212D", Ccaron: "\u010C", Ccedil: "\xC7", Ccirc: "\u0108", Cconint: "\u2230", Cdot: "\u010A", Cedilla: "\xB8", cedil: "\xB8", CenterDot: "\xB7", centerdot: "\xB7", middot: "\xB7", Chi: "\u03A7", CircleDot: "\u2299", odot: "\u2299", CircleMinus: "\u2296", ominus: "\u2296", CirclePlus: "\u2295", oplus: "\u2295", CircleTimes: "\u2297", otimes: "\u2297", ClockwiseContourIntegral: "\u2232", cwconint: "\u2232", CloseCurlyDoubleQuote: "\u201D", rdquo: "\u201D", rdquor: "\u201D", CloseCurlyQuote: "\u2019", rsquo: "\u2019", rsquor: "\u2019", Colon: "\u2237", Proportion: "\u2237", Colone: "\u2A74", Congruent: "\u2261", equiv: "\u2261", Conint: "\u222F", DoubleContourIntegral: "\u222F", ContourIntegral: "\u222E", conint: "\u222E", oint: "\u222E", Copf: "\u2102", complexes: "\u2102", Coproduct: "\u2210", coprod: "\u2210", CounterClockwiseContourIntegral: "\u2233", awconint: "\u2233", Cross: "\u2A2F", Cscr: "\u{1D49E}", Cup: "\u22D3", CupCap: "\u224D", asympeq: "\u224D", DDotrahd: "\u2911", DJcy: "\u0402", DScy: "\u0405", DZcy: "\u040F", Dagger: "\u2021", ddagger: "\u2021", Darr: "\u21A1", Dashv: "\u2AE4", DoubleLeftTee: "\u2AE4", Dcaron: "\u010E", Dcy: "\u0414", Del: "\u2207", nabla: "\u2207", Delta: "\u0394", Dfr: "\u{1D507}", DiacriticalAcute: "\xB4", acute: "\xB4", DiacriticalDot: "\u02D9", dot: "\u02D9", DiacriticalDoubleAcute: "\u02DD", dblac: "\u02DD", DiacriticalGrave: "`", grave: "`", DiacriticalTilde: "\u02DC", tilde: "\u02DC", Diamond: "\u22C4", diam: "\u22C4", diamond: "\u22C4", DifferentialD: "\u2146", dd: "\u2146", Dopf: "\u{1D53B}", Dot: "\xA8", DoubleDot: "\xA8", die: "\xA8", uml: "\xA8", DotDot: "\u20DC", DotEqual: "\u2250", doteq: "\u2250", esdot: "\u2250", DoubleDownArrow: "\u21D3", Downarrow: "\u21D3", dArr: "\u21D3", DoubleLeftArrow: "\u21D0", Leftarrow: "\u21D0", lArr: "\u21D0", DoubleLeftRightArrow: "\u21D4", Leftrightarrow: "\u21D4", hArr: "\u21D4", iff: "\u21D4", DoubleLongLeftArrow: "\u27F8", Longleftarrow: "\u27F8", xlArr: "\u27F8", DoubleLongLeftRightArrow: "\u27FA", Longleftrightarrow: "\u27FA", xhArr: "\u27FA", DoubleLongRightArrow: "\u27F9", Longrightarrow: "\u27F9", xrArr: "\u27F9", DoubleRightArrow: "\u21D2", Implies: "\u21D2", Rightarrow: "\u21D2", rArr: "\u21D2", DoubleRightTee: "\u22A8", vDash: "\u22A8", DoubleUpArrow: "\u21D1", Uparrow: "\u21D1", uArr: "\u21D1", DoubleUpDownArrow: "\u21D5", Updownarrow: "\u21D5", vArr: "\u21D5", DoubleVerticalBar: "\u2225", par: "\u2225", parallel: "\u2225", shortparallel: "\u2225", spar: "\u2225", DownArrow: "\u2193", ShortDownArrow: "\u2193", darr: "\u2193", downarrow: "\u2193", DownArrowBar: "\u2913", DownArrowUpArrow: "\u21F5", duarr: "\u21F5", DownBreve: "\u0311", DownLeftRightVector: "\u2950", DownLeftTeeVector: "\u295E", DownLeftVector: "\u21BD", leftharpoondown: "\u21BD", lhard: "\u21BD", DownLeftVectorBar: "\u2956", DownRightTeeVector: "\u295F", DownRightVector: "\u21C1", rhard: "\u21C1", rightharpoondown: "\u21C1", DownRightVectorBar: "\u2957", DownTee: "\u22A4", top: "\u22A4", DownTeeArrow: "\u21A7", mapstodown: "\u21A7", Dscr: "\u{1D49F}", Dstrok: "\u0110", ENG: "\u014A", ETH: "\xD0", Eacute: "\xC9", Ecaron: "\u011A", Ecirc: "\xCA", Ecy: "\u042D", Edot: "\u0116", Efr: "\u{1D508}", Egrave: "\xC8", Element: "\u2208", in: "\u2208", isin: "\u2208", isinv: "\u2208", Emacr: "\u0112", EmptySmallSquare: "\u25FB", EmptyVerySmallSquare: "\u25AB", Eogon: "\u0118", Eopf: "\u{1D53C}", Epsilon: "\u0395", Equal: "\u2A75", EqualTilde: "\u2242", eqsim: "\u2242", esim: "\u2242", Equilibrium: "\u21CC", rightleftharpoons: "\u21CC", rlhar: "\u21CC", Escr: "\u2130", expectation: "\u2130", Esim: "\u2A73", Eta: "\u0397", Euml: "\xCB", Exists: "\u2203", exist: "\u2203", ExponentialE: "\u2147", ee: "\u2147", exponentiale: "\u2147", Fcy: "\u0424", Ffr: "\u{1D509}", FilledSmallSquare: "\u25FC", FilledVerySmallSquare: "\u25AA", blacksquare: "\u25AA", squarf: "\u25AA", squf: "\u25AA", Fopf: "\u{1D53D}", ForAll: "\u2200", forall: "\u2200", Fouriertrf: "\u2131", Fscr: "\u2131", GJcy: "\u0403", GT: ">", gt: ">", Gamma: "\u0393", Gammad: "\u03DC", Gbreve: "\u011E", Gcedil: "\u0122", Gcirc: "\u011C", Gcy: "\u0413", Gdot: "\u0120", Gfr: "\u{1D50A}", Gg: "\u22D9", ggg: "\u22D9", Gopf: "\u{1D53E}", GreaterEqual: "\u2265", ge: "\u2265", geq: "\u2265", GreaterEqualLess: "\u22DB", gel: "\u22DB", gtreqless: "\u22DB", GreaterFullEqual: "\u2267", gE: "\u2267", geqq: "\u2267", GreaterGreater: "\u2AA2", GreaterLess: "\u2277", gl: "\u2277", gtrless: "\u2277", GreaterSlantEqual: "\u2A7E", geqslant: "\u2A7E", ges: "\u2A7E", GreaterTilde: "\u2273", gsim: "\u2273", gtrsim: "\u2273", Gscr: "\u{1D4A2}", Gt: "\u226B", NestedGreaterGreater: "\u226B", gg: "\u226B", HARDcy: "\u042A", Hacek: "\u02C7", caron: "\u02C7", Hat: "^", Hcirc: "\u0124", Hfr: "\u210C", Poincareplane: "\u210C", HilbertSpace: "\u210B", Hscr: "\u210B", hamilt: "\u210B", Hopf: "\u210D", quaternions: "\u210D", HorizontalLine: "\u2500", boxh: "\u2500", Hstrok: "\u0126", HumpEqual: "\u224F", bumpe: "\u224F", bumpeq: "\u224F", IEcy: "\u0415", IJlig: "\u0132", IOcy: "\u0401", Iacute: "\xCD", Icirc: "\xCE", Icy: "\u0418", Idot: "\u0130", Ifr: "\u2111", Im: "\u2111", image: "\u2111", imagpart: "\u2111", Igrave: "\xCC", Imacr: "\u012A", ImaginaryI: "\u2148", ii: "\u2148", Int: "\u222C", Integral: "\u222B", int: "\u222B", Intersection: "\u22C2", bigcap: "\u22C2", xcap: "\u22C2", InvisibleComma: "\u2063", ic: "\u2063", InvisibleTimes: "\u2062", it: "\u2062", Iogon: "\u012E", Iopf: "\u{1D540}", Iota: "\u0399", Iscr: "\u2110", imagline: "\u2110", Itilde: "\u0128", Iukcy: "\u0406", Iuml: "\xCF", Jcirc: "\u0134", Jcy: "\u0419", Jfr: "\u{1D50D}", Jopf: "\u{1D541}", Jscr: "\u{1D4A5}", Jsercy: "\u0408", Jukcy: "\u0404", KHcy: "\u0425", KJcy: "\u040C", Kappa: "\u039A", Kcedil: "\u0136", Kcy: "\u041A", Kfr: "\u{1D50E}", Kopf: "\u{1D542}", Kscr: "\u{1D4A6}", LJcy: "\u0409", LT: "<", lt: "<", Lacute: "\u0139", Lambda: "\u039B", Lang: "\u27EA", Laplacetrf: "\u2112", Lscr: "\u2112", lagran: "\u2112", Larr: "\u219E", twoheadleftarrow: "\u219E", Lcaron: "\u013D", Lcedil: "\u013B", Lcy: "\u041B", LeftAngleBracket: "\u27E8", lang: "\u27E8", langle: "\u27E8", LeftArrow: "\u2190", ShortLeftArrow: "\u2190", larr: "\u2190", leftarrow: "\u2190", slarr: "\u2190", LeftArrowBar: "\u21E4", larrb: "\u21E4", LeftArrowRightArrow: "\u21C6", leftrightarrows: "\u21C6", lrarr: "\u21C6", LeftCeiling: "\u2308", lceil: "\u2308", LeftDoubleBracket: "\u27E6", lobrk: "\u27E6", LeftDownTeeVector: "\u2961", LeftDownVector: "\u21C3", dharl: "\u21C3", downharpoonleft: "\u21C3", LeftDownVectorBar: "\u2959", LeftFloor: "\u230A", lfloor: "\u230A", LeftRightArrow: "\u2194", harr: "\u2194", leftrightarrow: "\u2194", LeftRightVector: "\u294E", LeftTee: "\u22A3", dashv: "\u22A3", LeftTeeArrow: "\u21A4", mapstoleft: "\u21A4", LeftTeeVector: "\u295A", LeftTriangle: "\u22B2", vartriangleleft: "\u22B2", vltri: "\u22B2", LeftTriangleBar: "\u29CF", LeftTriangleEqual: "\u22B4", ltrie: "\u22B4", trianglelefteq: "\u22B4", LeftUpDownVector: "\u2951", LeftUpTeeVector: "\u2960", LeftUpVector: "\u21BF", uharl: "\u21BF", upharpoonleft: "\u21BF", LeftUpVectorBar: "\u2958", LeftVector: "\u21BC", leftharpoonup: "\u21BC", lharu: "\u21BC", LeftVectorBar: "\u2952", LessEqualGreater: "\u22DA", leg: "\u22DA", lesseqgtr: "\u22DA", LessFullEqual: "\u2266", lE: "\u2266", leqq: "\u2266", LessGreater: "\u2276", lessgtr: "\u2276", lg: "\u2276", LessLess: "\u2AA1", LessSlantEqual: "\u2A7D", leqslant: "\u2A7D", les: "\u2A7D", LessTilde: "\u2272", lesssim: "\u2272", lsim: "\u2272", Lfr: "\u{1D50F}", Ll: "\u22D8", Lleftarrow: "\u21DA", lAarr: "\u21DA", Lmidot: "\u013F", LongLeftArrow: "\u27F5", longleftarrow: "\u27F5", xlarr: "\u27F5", LongLeftRightArrow: "\u27F7", longleftrightarrow: "\u27F7", xharr: "\u27F7", LongRightArrow: "\u27F6", longrightarrow: "\u27F6", xrarr: "\u27F6", Lopf: "\u{1D543}", LowerLeftArrow: "\u2199", swarr: "\u2199", swarrow: "\u2199", LowerRightArrow: "\u2198", searr: "\u2198", searrow: "\u2198", Lsh: "\u21B0", lsh: "\u21B0", Lstrok: "\u0141", Lt: "\u226A", NestedLessLess: "\u226A", ll: "\u226A", Map: "\u2905", Mcy: "\u041C", MediumSpace: "\u205F", Mellintrf: "\u2133", Mscr: "\u2133", phmmat: "\u2133", Mfr: "\u{1D510}", MinusPlus: "\u2213", mnplus: "\u2213", mp: "\u2213", Mopf: "\u{1D544}", Mu: "\u039C", NJcy: "\u040A", Nacute: "\u0143", Ncaron: "\u0147", Ncedil: "\u0145", Ncy: "\u041D", NegativeMediumSpace: "\u200B", NegativeThickSpace: "\u200B", NegativeThinSpace: "\u200B", NegativeVeryThinSpace: "\u200B", ZeroWidthSpace: "\u200B", NewLine: `
1636
+ `, Nfr: "\u{1D511}", NoBreak: "\u2060", NonBreakingSpace: "\xA0", nbsp: "\xA0", Nopf: "\u2115", naturals: "\u2115", Not: "\u2AEC", NotCongruent: "\u2262", nequiv: "\u2262", NotCupCap: "\u226D", NotDoubleVerticalBar: "\u2226", npar: "\u2226", nparallel: "\u2226", nshortparallel: "\u2226", nspar: "\u2226", NotElement: "\u2209", notin: "\u2209", notinva: "\u2209", NotEqual: "\u2260", ne: "\u2260", NotEqualTilde: "\u2242\u0338", nesim: "\u2242\u0338", NotExists: "\u2204", nexist: "\u2204", nexists: "\u2204", NotGreater: "\u226F", ngt: "\u226F", ngtr: "\u226F", NotGreaterEqual: "\u2271", nge: "\u2271", ngeq: "\u2271", NotGreaterFullEqual: "\u2267\u0338", ngE: "\u2267\u0338", ngeqq: "\u2267\u0338", NotGreaterGreater: "\u226B\u0338", nGtv: "\u226B\u0338", NotGreaterLess: "\u2279", ntgl: "\u2279", NotGreaterSlantEqual: "\u2A7E\u0338", ngeqslant: "\u2A7E\u0338", nges: "\u2A7E\u0338", NotGreaterTilde: "\u2275", ngsim: "\u2275", NotHumpDownHump: "\u224E\u0338", nbump: "\u224E\u0338", NotHumpEqual: "\u224F\u0338", nbumpe: "\u224F\u0338", NotLeftTriangle: "\u22EA", nltri: "\u22EA", ntriangleleft: "\u22EA", NotLeftTriangleBar: "\u29CF\u0338", NotLeftTriangleEqual: "\u22EC", nltrie: "\u22EC", ntrianglelefteq: "\u22EC", NotLess: "\u226E", nless: "\u226E", nlt: "\u226E", NotLessEqual: "\u2270", nle: "\u2270", nleq: "\u2270", NotLessGreater: "\u2278", ntlg: "\u2278", NotLessLess: "\u226A\u0338", nLtv: "\u226A\u0338", NotLessSlantEqual: "\u2A7D\u0338", nleqslant: "\u2A7D\u0338", nles: "\u2A7D\u0338", NotLessTilde: "\u2274", nlsim: "\u2274", NotNestedGreaterGreater: "\u2AA2\u0338", NotNestedLessLess: "\u2AA1\u0338", NotPrecedes: "\u2280", npr: "\u2280", nprec: "\u2280", NotPrecedesEqual: "\u2AAF\u0338", npre: "\u2AAF\u0338", npreceq: "\u2AAF\u0338", NotPrecedesSlantEqual: "\u22E0", nprcue: "\u22E0", NotReverseElement: "\u220C", notni: "\u220C", notniva: "\u220C", NotRightTriangle: "\u22EB", nrtri: "\u22EB", ntriangleright: "\u22EB", NotRightTriangleBar: "\u29D0\u0338", NotRightTriangleEqual: "\u22ED", nrtrie: "\u22ED", ntrianglerighteq: "\u22ED", NotSquareSubset: "\u228F\u0338", NotSquareSubsetEqual: "\u22E2", nsqsube: "\u22E2", NotSquareSuperset: "\u2290\u0338", NotSquareSupersetEqual: "\u22E3", nsqsupe: "\u22E3", NotSubset: "\u2282\u20D2", nsubset: "\u2282\u20D2", vnsub: "\u2282\u20D2", NotSubsetEqual: "\u2288", nsube: "\u2288", nsubseteq: "\u2288", NotSucceeds: "\u2281", nsc: "\u2281", nsucc: "\u2281", NotSucceedsEqual: "\u2AB0\u0338", nsce: "\u2AB0\u0338", nsucceq: "\u2AB0\u0338", NotSucceedsSlantEqual: "\u22E1", nsccue: "\u22E1", NotSucceedsTilde: "\u227F\u0338", NotSuperset: "\u2283\u20D2", nsupset: "\u2283\u20D2", vnsup: "\u2283\u20D2", NotSupersetEqual: "\u2289", nsupe: "\u2289", nsupseteq: "\u2289", NotTilde: "\u2241", nsim: "\u2241", NotTildeEqual: "\u2244", nsime: "\u2244", nsimeq: "\u2244", NotTildeFullEqual: "\u2247", ncong: "\u2247", NotTildeTilde: "\u2249", nap: "\u2249", napprox: "\u2249", NotVerticalBar: "\u2224", nmid: "\u2224", nshortmid: "\u2224", nsmid: "\u2224", Nscr: "\u{1D4A9}", Ntilde: "\xD1", Nu: "\u039D", OElig: "\u0152", Oacute: "\xD3", Ocirc: "\xD4", Ocy: "\u041E", Odblac: "\u0150", Ofr: "\u{1D512}", Ograve: "\xD2", Omacr: "\u014C", Omega: "\u03A9", ohm: "\u03A9", Omicron: "\u039F", Oopf: "\u{1D546}", OpenCurlyDoubleQuote: "\u201C", ldquo: "\u201C", OpenCurlyQuote: "\u2018", lsquo: "\u2018", Or: "\u2A54", Oscr: "\u{1D4AA}", Oslash: "\xD8", Otilde: "\xD5", Otimes: "\u2A37", Ouml: "\xD6", OverBar: "\u203E", oline: "\u203E", OverBrace: "\u23DE", OverBracket: "\u23B4", tbrk: "\u23B4", OverParenthesis: "\u23DC", PartialD: "\u2202", part: "\u2202", Pcy: "\u041F", Pfr: "\u{1D513}", Phi: "\u03A6", Pi: "\u03A0", PlusMinus: "\xB1", plusmn: "\xB1", pm: "\xB1", Popf: "\u2119", primes: "\u2119", Pr: "\u2ABB", Precedes: "\u227A", pr: "\u227A", prec: "\u227A", PrecedesEqual: "\u2AAF", pre: "\u2AAF", preceq: "\u2AAF", PrecedesSlantEqual: "\u227C", prcue: "\u227C", preccurlyeq: "\u227C", PrecedesTilde: "\u227E", precsim: "\u227E", prsim: "\u227E", Prime: "\u2033", Product: "\u220F", prod: "\u220F", Proportional: "\u221D", prop: "\u221D", propto: "\u221D", varpropto: "\u221D", vprop: "\u221D", Pscr: "\u{1D4AB}", Psi: "\u03A8", QUOT: '"', quot: '"', Qfr: "\u{1D514}", Qopf: "\u211A", rationals: "\u211A", Qscr: "\u{1D4AC}", RBarr: "\u2910", drbkarow: "\u2910", REG: "\xAE", circledR: "\xAE", reg: "\xAE", Racute: "\u0154", Rang: "\u27EB", Rarr: "\u21A0", twoheadrightarrow: "\u21A0", Rarrtl: "\u2916", Rcaron: "\u0158", Rcedil: "\u0156", Rcy: "\u0420", Re: "\u211C", Rfr: "\u211C", real: "\u211C", realpart: "\u211C", ReverseElement: "\u220B", SuchThat: "\u220B", ni: "\u220B", niv: "\u220B", ReverseEquilibrium: "\u21CB", leftrightharpoons: "\u21CB", lrhar: "\u21CB", ReverseUpEquilibrium: "\u296F", duhar: "\u296F", Rho: "\u03A1", RightAngleBracket: "\u27E9", rang: "\u27E9", rangle: "\u27E9", RightArrow: "\u2192", ShortRightArrow: "\u2192", rarr: "\u2192", rightarrow: "\u2192", srarr: "\u2192", RightArrowBar: "\u21E5", rarrb: "\u21E5", RightArrowLeftArrow: "\u21C4", rightleftarrows: "\u21C4", rlarr: "\u21C4", RightCeiling: "\u2309", rceil: "\u2309", RightDoubleBracket: "\u27E7", robrk: "\u27E7", RightDownTeeVector: "\u295D", RightDownVector: "\u21C2", dharr: "\u21C2", downharpoonright: "\u21C2", RightDownVectorBar: "\u2955", RightFloor: "\u230B", rfloor: "\u230B", RightTee: "\u22A2", vdash: "\u22A2", RightTeeArrow: "\u21A6", map: "\u21A6", mapsto: "\u21A6", RightTeeVector: "\u295B", RightTriangle: "\u22B3", vartriangleright: "\u22B3", vrtri: "\u22B3", RightTriangleBar: "\u29D0", RightTriangleEqual: "\u22B5", rtrie: "\u22B5", trianglerighteq: "\u22B5", RightUpDownVector: "\u294F", RightUpTeeVector: "\u295C", RightUpVector: "\u21BE", uharr: "\u21BE", upharpoonright: "\u21BE", RightUpVectorBar: "\u2954", RightVector: "\u21C0", rharu: "\u21C0", rightharpoonup: "\u21C0", RightVectorBar: "\u2953", Ropf: "\u211D", reals: "\u211D", RoundImplies: "\u2970", Rrightarrow: "\u21DB", rAarr: "\u21DB", Rscr: "\u211B", realine: "\u211B", Rsh: "\u21B1", rsh: "\u21B1", RuleDelayed: "\u29F4", SHCHcy: "\u0429", SHcy: "\u0428", SOFTcy: "\u042C", Sacute: "\u015A", Sc: "\u2ABC", Scaron: "\u0160", Scedil: "\u015E", Scirc: "\u015C", Scy: "\u0421", Sfr: "\u{1D516}", ShortUpArrow: "\u2191", UpArrow: "\u2191", uarr: "\u2191", uparrow: "\u2191", Sigma: "\u03A3", SmallCircle: "\u2218", compfn: "\u2218", Sopf: "\u{1D54A}", Sqrt: "\u221A", radic: "\u221A", Square: "\u25A1", squ: "\u25A1", square: "\u25A1", SquareIntersection: "\u2293", sqcap: "\u2293", SquareSubset: "\u228F", sqsub: "\u228F", sqsubset: "\u228F", SquareSubsetEqual: "\u2291", sqsube: "\u2291", sqsubseteq: "\u2291", SquareSuperset: "\u2290", sqsup: "\u2290", sqsupset: "\u2290", SquareSupersetEqual: "\u2292", sqsupe: "\u2292", sqsupseteq: "\u2292", SquareUnion: "\u2294", sqcup: "\u2294", Sscr: "\u{1D4AE}", Star: "\u22C6", sstarf: "\u22C6", Sub: "\u22D0", Subset: "\u22D0", SubsetEqual: "\u2286", sube: "\u2286", subseteq: "\u2286", Succeeds: "\u227B", sc: "\u227B", succ: "\u227B", SucceedsEqual: "\u2AB0", sce: "\u2AB0", succeq: "\u2AB0", SucceedsSlantEqual: "\u227D", sccue: "\u227D", succcurlyeq: "\u227D", SucceedsTilde: "\u227F", scsim: "\u227F", succsim: "\u227F", Sum: "\u2211", sum: "\u2211", Sup: "\u22D1", Supset: "\u22D1", Superset: "\u2283", sup: "\u2283", supset: "\u2283", SupersetEqual: "\u2287", supe: "\u2287", supseteq: "\u2287", THORN: "\xDE", TRADE: "\u2122", trade: "\u2122", TSHcy: "\u040B", TScy: "\u0426", Tab: " ", Tau: "\u03A4", Tcaron: "\u0164", Tcedil: "\u0162", Tcy: "\u0422", Tfr: "\u{1D517}", Therefore: "\u2234", there4: "\u2234", therefore: "\u2234", Theta: "\u0398", ThickSpace: "\u205F\u200A", ThinSpace: "\u2009", thinsp: "\u2009", Tilde: "\u223C", sim: "\u223C", thicksim: "\u223C", thksim: "\u223C", TildeEqual: "\u2243", sime: "\u2243", simeq: "\u2243", TildeFullEqual: "\u2245", cong: "\u2245", TildeTilde: "\u2248", ap: "\u2248", approx: "\u2248", asymp: "\u2248", thickapprox: "\u2248", thkap: "\u2248", Topf: "\u{1D54B}", TripleDot: "\u20DB", tdot: "\u20DB", Tscr: "\u{1D4AF}", Tstrok: "\u0166", Uacute: "\xDA", Uarr: "\u219F", Uarrocir: "\u2949", Ubrcy: "\u040E", Ubreve: "\u016C", Ucirc: "\xDB", Ucy: "\u0423", Udblac: "\u0170", Ufr: "\u{1D518}", Ugrave: "\xD9", Umacr: "\u016A", UnderBar: "_", lowbar: "_", UnderBrace: "\u23DF", UnderBracket: "\u23B5", bbrk: "\u23B5", UnderParenthesis: "\u23DD", Union: "\u22C3", bigcup: "\u22C3", xcup: "\u22C3", UnionPlus: "\u228E", uplus: "\u228E", Uogon: "\u0172", Uopf: "\u{1D54C}", UpArrowBar: "\u2912", UpArrowDownArrow: "\u21C5", udarr: "\u21C5", UpDownArrow: "\u2195", updownarrow: "\u2195", varr: "\u2195", UpEquilibrium: "\u296E", udhar: "\u296E", UpTee: "\u22A5", bot: "\u22A5", bottom: "\u22A5", perp: "\u22A5", UpTeeArrow: "\u21A5", mapstoup: "\u21A5", UpperLeftArrow: "\u2196", nwarr: "\u2196", nwarrow: "\u2196", UpperRightArrow: "\u2197", nearr: "\u2197", nearrow: "\u2197", Upsi: "\u03D2", upsih: "\u03D2", Upsilon: "\u03A5", Uring: "\u016E", Uscr: "\u{1D4B0}", Utilde: "\u0168", Uuml: "\xDC", VDash: "\u22AB", Vbar: "\u2AEB", Vcy: "\u0412", Vdash: "\u22A9", Vdashl: "\u2AE6", Vee: "\u22C1", bigvee: "\u22C1", xvee: "\u22C1", Verbar: "\u2016", Vert: "\u2016", VerticalBar: "\u2223", mid: "\u2223", shortmid: "\u2223", smid: "\u2223", VerticalLine: "|", verbar: "|", vert: "|", VerticalSeparator: "\u2758", VerticalTilde: "\u2240", wr: "\u2240", wreath: "\u2240", VeryThinSpace: "\u200A", hairsp: "\u200A", Vfr: "\u{1D519}", Vopf: "\u{1D54D}", Vscr: "\u{1D4B1}", Vvdash: "\u22AA", Wcirc: "\u0174", Wedge: "\u22C0", bigwedge: "\u22C0", xwedge: "\u22C0", Wfr: "\u{1D51A}", Wopf: "\u{1D54E}", Wscr: "\u{1D4B2}", Xfr: "\u{1D51B}", Xi: "\u039E", Xopf: "\u{1D54F}", Xscr: "\u{1D4B3}", YAcy: "\u042F", YIcy: "\u0407", YUcy: "\u042E", Yacute: "\xDD", Ycirc: "\u0176", Ycy: "\u042B", Yfr: "\u{1D51C}", Yopf: "\u{1D550}", Yscr: "\u{1D4B4}", Yuml: "\u0178", ZHcy: "\u0416", Zacute: "\u0179", Zcaron: "\u017D", Zcy: "\u0417", Zdot: "\u017B", Zeta: "\u0396", Zfr: "\u2128", zeetrf: "\u2128", Zopf: "\u2124", integers: "\u2124", Zscr: "\u{1D4B5}", aacute: "\xE1", abreve: "\u0103", ac: "\u223E", mstpos: "\u223E", acE: "\u223E\u0333", acd: "\u223F", acirc: "\xE2", acy: "\u0430", aelig: "\xE6", afr: "\u{1D51E}", agrave: "\xE0", alefsym: "\u2135", aleph: "\u2135", alpha: "\u03B1", amacr: "\u0101", amalg: "\u2A3F", and: "\u2227", wedge: "\u2227", andand: "\u2A55", andd: "\u2A5C", andslope: "\u2A58", andv: "\u2A5A", ang: "\u2220", angle: "\u2220", ange: "\u29A4", angmsd: "\u2221", measuredangle: "\u2221", angmsdaa: "\u29A8", angmsdab: "\u29A9", angmsdac: "\u29AA", angmsdad: "\u29AB", angmsdae: "\u29AC", angmsdaf: "\u29AD", angmsdag: "\u29AE", angmsdah: "\u29AF", angrt: "\u221F", angrtvb: "\u22BE", angrtvbd: "\u299D", angsph: "\u2222", angzarr: "\u237C", aogon: "\u0105", aopf: "\u{1D552}", apE: "\u2A70", apacir: "\u2A6F", ape: "\u224A", approxeq: "\u224A", apid: "\u224B", apos: "'", aring: "\xE5", ascr: "\u{1D4B6}", ast: "*", midast: "*", atilde: "\xE3", auml: "\xE4", awint: "\u2A11", bNot: "\u2AED", backcong: "\u224C", bcong: "\u224C", backepsilon: "\u03F6", bepsi: "\u03F6", backprime: "\u2035", bprime: "\u2035", backsim: "\u223D", bsim: "\u223D", backsimeq: "\u22CD", bsime: "\u22CD", barvee: "\u22BD", barwed: "\u2305", barwedge: "\u2305", bbrktbrk: "\u23B6", bcy: "\u0431", bdquo: "\u201E", ldquor: "\u201E", bemptyv: "\u29B0", beta: "\u03B2", beth: "\u2136", between: "\u226C", twixt: "\u226C", bfr: "\u{1D51F}", bigcirc: "\u25EF", xcirc: "\u25EF", bigodot: "\u2A00", xodot: "\u2A00", bigoplus: "\u2A01", xoplus: "\u2A01", bigotimes: "\u2A02", xotime: "\u2A02", bigsqcup: "\u2A06", xsqcup: "\u2A06", bigstar: "\u2605", starf: "\u2605", bigtriangledown: "\u25BD", xdtri: "\u25BD", bigtriangleup: "\u25B3", xutri: "\u25B3", biguplus: "\u2A04", xuplus: "\u2A04", bkarow: "\u290D", rbarr: "\u290D", blacklozenge: "\u29EB", lozf: "\u29EB", blacktriangle: "\u25B4", utrif: "\u25B4", blacktriangledown: "\u25BE", dtrif: "\u25BE", blacktriangleleft: "\u25C2", ltrif: "\u25C2", blacktriangleright: "\u25B8", rtrif: "\u25B8", blank: "\u2423", blk12: "\u2592", blk14: "\u2591", blk34: "\u2593", block: "\u2588", bne: "=\u20E5", bnequiv: "\u2261\u20E5", bnot: "\u2310", bopf: "\u{1D553}", bowtie: "\u22C8", boxDL: "\u2557", boxDR: "\u2554", boxDl: "\u2556", boxDr: "\u2553", boxH: "\u2550", boxHD: "\u2566", boxHU: "\u2569", boxHd: "\u2564", boxHu: "\u2567", boxUL: "\u255D", boxUR: "\u255A", boxUl: "\u255C", boxUr: "\u2559", boxV: "\u2551", boxVH: "\u256C", boxVL: "\u2563", boxVR: "\u2560", boxVh: "\u256B", boxVl: "\u2562", boxVr: "\u255F", boxbox: "\u29C9", boxdL: "\u2555", boxdR: "\u2552", boxdl: "\u2510", boxdr: "\u250C", boxhD: "\u2565", boxhU: "\u2568", boxhd: "\u252C", boxhu: "\u2534", boxminus: "\u229F", minusb: "\u229F", boxplus: "\u229E", plusb: "\u229E", boxtimes: "\u22A0", timesb: "\u22A0", boxuL: "\u255B", boxuR: "\u2558", boxul: "\u2518", boxur: "\u2514", boxv: "\u2502", boxvH: "\u256A", boxvL: "\u2561", boxvR: "\u255E", boxvh: "\u253C", boxvl: "\u2524", boxvr: "\u251C", brvbar: "\xA6", bscr: "\u{1D4B7}", bsemi: "\u204F", bsol: "\\", bsolb: "\u29C5", bsolhsub: "\u27C8", bull: "\u2022", bullet: "\u2022", bumpE: "\u2AAE", cacute: "\u0107", cap: "\u2229", capand: "\u2A44", capbrcup: "\u2A49", capcap: "\u2A4B", capcup: "\u2A47", capdot: "\u2A40", caps: "\u2229\uFE00", caret: "\u2041", ccaps: "\u2A4D", ccaron: "\u010D", ccedil: "\xE7", ccirc: "\u0109", ccups: "\u2A4C", ccupssm: "\u2A50", cdot: "\u010B", cemptyv: "\u29B2", cent: "\xA2", cfr: "\u{1D520}", chcy: "\u0447", check: "\u2713", checkmark: "\u2713", chi: "\u03C7", cir: "\u25CB", cirE: "\u29C3", circ: "\u02C6", circeq: "\u2257", cire: "\u2257", circlearrowleft: "\u21BA", olarr: "\u21BA", circlearrowright: "\u21BB", orarr: "\u21BB", circledS: "\u24C8", oS: "\u24C8", circledast: "\u229B", oast: "\u229B", circledcirc: "\u229A", ocir: "\u229A", circleddash: "\u229D", odash: "\u229D", cirfnint: "\u2A10", cirmid: "\u2AEF", cirscir: "\u29C2", clubs: "\u2663", clubsuit: "\u2663", colon: ":", comma: ",", commat: "@", comp: "\u2201", complement: "\u2201", congdot: "\u2A6D", copf: "\u{1D554}", copysr: "\u2117", crarr: "\u21B5", cross: "\u2717", cscr: "\u{1D4B8}", csub: "\u2ACF", csube: "\u2AD1", csup: "\u2AD0", csupe: "\u2AD2", ctdot: "\u22EF", cudarrl: "\u2938", cudarrr: "\u2935", cuepr: "\u22DE", curlyeqprec: "\u22DE", cuesc: "\u22DF", curlyeqsucc: "\u22DF", cularr: "\u21B6", curvearrowleft: "\u21B6", cularrp: "\u293D", cup: "\u222A", cupbrcap: "\u2A48", cupcap: "\u2A46", cupcup: "\u2A4A", cupdot: "\u228D", cupor: "\u2A45", cups: "\u222A\uFE00", curarr: "\u21B7", curvearrowright: "\u21B7", curarrm: "\u293C", curlyvee: "\u22CE", cuvee: "\u22CE", curlywedge: "\u22CF", cuwed: "\u22CF", curren: "\xA4", cwint: "\u2231", cylcty: "\u232D", dHar: "\u2965", dagger: "\u2020", daleth: "\u2138", dash: "\u2010", hyphen: "\u2010", dbkarow: "\u290F", rBarr: "\u290F", dcaron: "\u010F", dcy: "\u0434", ddarr: "\u21CA", downdownarrows: "\u21CA", ddotseq: "\u2A77", eDDot: "\u2A77", deg: "\xB0", delta: "\u03B4", demptyv: "\u29B1", dfisht: "\u297F", dfr: "\u{1D521}", diamondsuit: "\u2666", diams: "\u2666", digamma: "\u03DD", gammad: "\u03DD", disin: "\u22F2", div: "\xF7", divide: "\xF7", divideontimes: "\u22C7", divonx: "\u22C7", djcy: "\u0452", dlcorn: "\u231E", llcorner: "\u231E", dlcrop: "\u230D", dollar: "$", dopf: "\u{1D555}", doteqdot: "\u2251", eDot: "\u2251", dotminus: "\u2238", minusd: "\u2238", dotplus: "\u2214", plusdo: "\u2214", dotsquare: "\u22A1", sdotb: "\u22A1", drcorn: "\u231F", lrcorner: "\u231F", drcrop: "\u230C", dscr: "\u{1D4B9}", dscy: "\u0455", dsol: "\u29F6", dstrok: "\u0111", dtdot: "\u22F1", dtri: "\u25BF", triangledown: "\u25BF", dwangle: "\u29A6", dzcy: "\u045F", dzigrarr: "\u27FF", eacute: "\xE9", easter: "\u2A6E", ecaron: "\u011B", ecir: "\u2256", eqcirc: "\u2256", ecirc: "\xEA", ecolon: "\u2255", eqcolon: "\u2255", ecy: "\u044D", edot: "\u0117", efDot: "\u2252", fallingdotseq: "\u2252", efr: "\u{1D522}", eg: "\u2A9A", egrave: "\xE8", egs: "\u2A96", eqslantgtr: "\u2A96", egsdot: "\u2A98", el: "\u2A99", elinters: "\u23E7", ell: "\u2113", els: "\u2A95", eqslantless: "\u2A95", elsdot: "\u2A97", emacr: "\u0113", empty: "\u2205", emptyset: "\u2205", emptyv: "\u2205", varnothing: "\u2205", emsp13: "\u2004", emsp14: "\u2005", emsp: "\u2003", eng: "\u014B", ensp: "\u2002", eogon: "\u0119", eopf: "\u{1D556}", epar: "\u22D5", eparsl: "\u29E3", eplus: "\u2A71", epsi: "\u03B5", epsilon: "\u03B5", epsiv: "\u03F5", straightepsilon: "\u03F5", varepsilon: "\u03F5", equals: "=", equest: "\u225F", questeq: "\u225F", equivDD: "\u2A78", eqvparsl: "\u29E5", erDot: "\u2253", risingdotseq: "\u2253", erarr: "\u2971", escr: "\u212F", eta: "\u03B7", eth: "\xF0", euml: "\xEB", euro: "\u20AC", excl: "!", fcy: "\u0444", female: "\u2640", ffilig: "\uFB03", fflig: "\uFB00", ffllig: "\uFB04", ffr: "\u{1D523}", filig: "\uFB01", fjlig: "fj", flat: "\u266D", fllig: "\uFB02", fltns: "\u25B1", fnof: "\u0192", fopf: "\u{1D557}", fork: "\u22D4", pitchfork: "\u22D4", forkv: "\u2AD9", fpartint: "\u2A0D", frac12: "\xBD", half: "\xBD", frac13: "\u2153", frac14: "\xBC", frac15: "\u2155", frac16: "\u2159", frac18: "\u215B", frac23: "\u2154", frac25: "\u2156", frac34: "\xBE", frac35: "\u2157", frac38: "\u215C", frac45: "\u2158", frac56: "\u215A", frac58: "\u215D", frac78: "\u215E", frasl: "\u2044", frown: "\u2322", sfrown: "\u2322", fscr: "\u{1D4BB}", gEl: "\u2A8C", gtreqqless: "\u2A8C", gacute: "\u01F5", gamma: "\u03B3", gap: "\u2A86", gtrapprox: "\u2A86", gbreve: "\u011F", gcirc: "\u011D", gcy: "\u0433", gdot: "\u0121", gescc: "\u2AA9", gesdot: "\u2A80", gesdoto: "\u2A82", gesdotol: "\u2A84", gesl: "\u22DB\uFE00", gesles: "\u2A94", gfr: "\u{1D524}", gimel: "\u2137", gjcy: "\u0453", glE: "\u2A92", gla: "\u2AA5", glj: "\u2AA4", gnE: "\u2269", gneqq: "\u2269", gnap: "\u2A8A", gnapprox: "\u2A8A", gne: "\u2A88", gneq: "\u2A88", gnsim: "\u22E7", gopf: "\u{1D558}", gscr: "\u210A", gsime: "\u2A8E", gsiml: "\u2A90", gtcc: "\u2AA7", gtcir: "\u2A7A", gtdot: "\u22D7", gtrdot: "\u22D7", gtlPar: "\u2995", gtquest: "\u2A7C", gtrarr: "\u2978", gvertneqq: "\u2269\uFE00", gvnE: "\u2269\uFE00", hardcy: "\u044A", harrcir: "\u2948", harrw: "\u21AD", leftrightsquigarrow: "\u21AD", hbar: "\u210F", hslash: "\u210F", planck: "\u210F", plankv: "\u210F", hcirc: "\u0125", hearts: "\u2665", heartsuit: "\u2665", hellip: "\u2026", mldr: "\u2026", hercon: "\u22B9", hfr: "\u{1D525}", hksearow: "\u2925", searhk: "\u2925", hkswarow: "\u2926", swarhk: "\u2926", hoarr: "\u21FF", homtht: "\u223B", hookleftarrow: "\u21A9", larrhk: "\u21A9", hookrightarrow: "\u21AA", rarrhk: "\u21AA", hopf: "\u{1D559}", horbar: "\u2015", hscr: "\u{1D4BD}", hstrok: "\u0127", hybull: "\u2043", iacute: "\xED", icirc: "\xEE", icy: "\u0438", iecy: "\u0435", iexcl: "\xA1", ifr: "\u{1D526}", igrave: "\xEC", iiiint: "\u2A0C", qint: "\u2A0C", iiint: "\u222D", tint: "\u222D", iinfin: "\u29DC", iiota: "\u2129", ijlig: "\u0133", imacr: "\u012B", imath: "\u0131", inodot: "\u0131", imof: "\u22B7", imped: "\u01B5", incare: "\u2105", infin: "\u221E", infintie: "\u29DD", intcal: "\u22BA", intercal: "\u22BA", intlarhk: "\u2A17", intprod: "\u2A3C", iprod: "\u2A3C", iocy: "\u0451", iogon: "\u012F", iopf: "\u{1D55A}", iota: "\u03B9", iquest: "\xBF", iscr: "\u{1D4BE}", isinE: "\u22F9", isindot: "\u22F5", isins: "\u22F4", isinsv: "\u22F3", itilde: "\u0129", iukcy: "\u0456", iuml: "\xEF", jcirc: "\u0135", jcy: "\u0439", jfr: "\u{1D527}", jmath: "\u0237", jopf: "\u{1D55B}", jscr: "\u{1D4BF}", jsercy: "\u0458", jukcy: "\u0454", kappa: "\u03BA", kappav: "\u03F0", varkappa: "\u03F0", kcedil: "\u0137", kcy: "\u043A", kfr: "\u{1D528}", kgreen: "\u0138", khcy: "\u0445", kjcy: "\u045C", kopf: "\u{1D55C}", kscr: "\u{1D4C0}", lAtail: "\u291B", lBarr: "\u290E", lEg: "\u2A8B", lesseqqgtr: "\u2A8B", lHar: "\u2962", lacute: "\u013A", laemptyv: "\u29B4", lambda: "\u03BB", langd: "\u2991", lap: "\u2A85", lessapprox: "\u2A85", laquo: "\xAB", larrbfs: "\u291F", larrfs: "\u291D", larrlp: "\u21AB", looparrowleft: "\u21AB", larrpl: "\u2939", larrsim: "\u2973", larrtl: "\u21A2", leftarrowtail: "\u21A2", lat: "\u2AAB", latail: "\u2919", late: "\u2AAD", lates: "\u2AAD\uFE00", lbarr: "\u290C", lbbrk: "\u2772", lbrace: "{", lcub: "{", lbrack: "[", lsqb: "[", lbrke: "\u298B", lbrksld: "\u298F", lbrkslu: "\u298D", lcaron: "\u013E", lcedil: "\u013C", lcy: "\u043B", ldca: "\u2936", ldrdhar: "\u2967", ldrushar: "\u294B", ldsh: "\u21B2", le: "\u2264", leq: "\u2264", leftleftarrows: "\u21C7", llarr: "\u21C7", leftthreetimes: "\u22CB", lthree: "\u22CB", lescc: "\u2AA8", lesdot: "\u2A7F", lesdoto: "\u2A81", lesdotor: "\u2A83", lesg: "\u22DA\uFE00", lesges: "\u2A93", lessdot: "\u22D6", ltdot: "\u22D6", lfisht: "\u297C", lfr: "\u{1D529}", lgE: "\u2A91", lharul: "\u296A", lhblk: "\u2584", ljcy: "\u0459", llhard: "\u296B", lltri: "\u25FA", lmidot: "\u0140", lmoust: "\u23B0", lmoustache: "\u23B0", lnE: "\u2268", lneqq: "\u2268", lnap: "\u2A89", lnapprox: "\u2A89", lne: "\u2A87", lneq: "\u2A87", lnsim: "\u22E6", loang: "\u27EC", loarr: "\u21FD", longmapsto: "\u27FC", xmap: "\u27FC", looparrowright: "\u21AC", rarrlp: "\u21AC", lopar: "\u2985", lopf: "\u{1D55D}", loplus: "\u2A2D", lotimes: "\u2A34", lowast: "\u2217", loz: "\u25CA", lozenge: "\u25CA", lpar: "(", lparlt: "\u2993", lrhard: "\u296D", lrm: "\u200E", lrtri: "\u22BF", lsaquo: "\u2039", lscr: "\u{1D4C1}", lsime: "\u2A8D", lsimg: "\u2A8F", lsquor: "\u201A", sbquo: "\u201A", lstrok: "\u0142", ltcc: "\u2AA6", ltcir: "\u2A79", ltimes: "\u22C9", ltlarr: "\u2976", ltquest: "\u2A7B", ltrPar: "\u2996", ltri: "\u25C3", triangleleft: "\u25C3", lurdshar: "\u294A", luruhar: "\u2966", lvertneqq: "\u2268\uFE00", lvnE: "\u2268\uFE00", mDDot: "\u223A", macr: "\xAF", strns: "\xAF", male: "\u2642", malt: "\u2720", maltese: "\u2720", marker: "\u25AE", mcomma: "\u2A29", mcy: "\u043C", mdash: "\u2014", mfr: "\u{1D52A}", mho: "\u2127", micro: "\xB5", midcir: "\u2AF0", minus: "\u2212", minusdu: "\u2A2A", mlcp: "\u2ADB", models: "\u22A7", mopf: "\u{1D55E}", mscr: "\u{1D4C2}", mu: "\u03BC", multimap: "\u22B8", mumap: "\u22B8", nGg: "\u22D9\u0338", nGt: "\u226B\u20D2", nLeftarrow: "\u21CD", nlArr: "\u21CD", nLeftrightarrow: "\u21CE", nhArr: "\u21CE", nLl: "\u22D8\u0338", nLt: "\u226A\u20D2", nRightarrow: "\u21CF", nrArr: "\u21CF", nVDash: "\u22AF", nVdash: "\u22AE", nacute: "\u0144", nang: "\u2220\u20D2", napE: "\u2A70\u0338", napid: "\u224B\u0338", napos: "\u0149", natur: "\u266E", natural: "\u266E", ncap: "\u2A43", ncaron: "\u0148", ncedil: "\u0146", ncongdot: "\u2A6D\u0338", ncup: "\u2A42", ncy: "\u043D", ndash: "\u2013", neArr: "\u21D7", nearhk: "\u2924", nedot: "\u2250\u0338", nesear: "\u2928", toea: "\u2928", nfr: "\u{1D52B}", nharr: "\u21AE", nleftrightarrow: "\u21AE", nhpar: "\u2AF2", nis: "\u22FC", nisd: "\u22FA", njcy: "\u045A", nlE: "\u2266\u0338", nleqq: "\u2266\u0338", nlarr: "\u219A", nleftarrow: "\u219A", nldr: "\u2025", nopf: "\u{1D55F}", not: "\xAC", notinE: "\u22F9\u0338", notindot: "\u22F5\u0338", notinvb: "\u22F7", notinvc: "\u22F6", notnivb: "\u22FE", notnivc: "\u22FD", nparsl: "\u2AFD\u20E5", npart: "\u2202\u0338", npolint: "\u2A14", nrarr: "\u219B", nrightarrow: "\u219B", nrarrc: "\u2933\u0338", nrarrw: "\u219D\u0338", nscr: "\u{1D4C3}", nsub: "\u2284", nsubE: "\u2AC5\u0338", nsubseteqq: "\u2AC5\u0338", nsup: "\u2285", nsupE: "\u2AC6\u0338", nsupseteqq: "\u2AC6\u0338", ntilde: "\xF1", nu: "\u03BD", num: "#", numero: "\u2116", numsp: "\u2007", nvDash: "\u22AD", nvHarr: "\u2904", nvap: "\u224D\u20D2", nvdash: "\u22AC", nvge: "\u2265\u20D2", nvgt: ">\u20D2", nvinfin: "\u29DE", nvlArr: "\u2902", nvle: "\u2264\u20D2", nvlt: "<\u20D2", nvltrie: "\u22B4\u20D2", nvrArr: "\u2903", nvrtrie: "\u22B5\u20D2", nvsim: "\u223C\u20D2", nwArr: "\u21D6", nwarhk: "\u2923", nwnear: "\u2927", oacute: "\xF3", ocirc: "\xF4", ocy: "\u043E", odblac: "\u0151", odiv: "\u2A38", odsold: "\u29BC", oelig: "\u0153", ofcir: "\u29BF", ofr: "\u{1D52C}", ogon: "\u02DB", ograve: "\xF2", ogt: "\u29C1", ohbar: "\u29B5", olcir: "\u29BE", olcross: "\u29BB", olt: "\u29C0", omacr: "\u014D", omega: "\u03C9", omicron: "\u03BF", omid: "\u29B6", oopf: "\u{1D560}", opar: "\u29B7", operp: "\u29B9", or: "\u2228", vee: "\u2228", ord: "\u2A5D", order: "\u2134", orderof: "\u2134", oscr: "\u2134", ordf: "\xAA", ordm: "\xBA", origof: "\u22B6", oror: "\u2A56", orslope: "\u2A57", orv: "\u2A5B", oslash: "\xF8", osol: "\u2298", otilde: "\xF5", otimesas: "\u2A36", ouml: "\xF6", ovbar: "\u233D", para: "\xB6", parsim: "\u2AF3", parsl: "\u2AFD", pcy: "\u043F", percnt: "%", period: ".", permil: "\u2030", pertenk: "\u2031", pfr: "\u{1D52D}", phi: "\u03C6", phiv: "\u03D5", straightphi: "\u03D5", varphi: "\u03D5", phone: "\u260E", pi: "\u03C0", piv: "\u03D6", varpi: "\u03D6", planckh: "\u210E", plus: "+", plusacir: "\u2A23", pluscir: "\u2A22", plusdu: "\u2A25", pluse: "\u2A72", plussim: "\u2A26", plustwo: "\u2A27", pointint: "\u2A15", popf: "\u{1D561}", pound: "\xA3", prE: "\u2AB3", prap: "\u2AB7", precapprox: "\u2AB7", precnapprox: "\u2AB9", prnap: "\u2AB9", precneqq: "\u2AB5", prnE: "\u2AB5", precnsim: "\u22E8", prnsim: "\u22E8", prime: "\u2032", profalar: "\u232E", profline: "\u2312", profsurf: "\u2313", prurel: "\u22B0", pscr: "\u{1D4C5}", psi: "\u03C8", puncsp: "\u2008", qfr: "\u{1D52E}", qopf: "\u{1D562}", qprime: "\u2057", qscr: "\u{1D4C6}", quatint: "\u2A16", quest: "?", rAtail: "\u291C", rHar: "\u2964", race: "\u223D\u0331", racute: "\u0155", raemptyv: "\u29B3", rangd: "\u2992", range: "\u29A5", raquo: "\xBB", rarrap: "\u2975", rarrbfs: "\u2920", rarrc: "\u2933", rarrfs: "\u291E", rarrpl: "\u2945", rarrsim: "\u2974", rarrtl: "\u21A3", rightarrowtail: "\u21A3", rarrw: "\u219D", rightsquigarrow: "\u219D", ratail: "\u291A", ratio: "\u2236", rbbrk: "\u2773", rbrace: "}", rcub: "}", rbrack: "]", rsqb: "]", rbrke: "\u298C", rbrksld: "\u298E", rbrkslu: "\u2990", rcaron: "\u0159", rcedil: "\u0157", rcy: "\u0440", rdca: "\u2937", rdldhar: "\u2969", rdsh: "\u21B3", rect: "\u25AD", rfisht: "\u297D", rfr: "\u{1D52F}", rharul: "\u296C", rho: "\u03C1", rhov: "\u03F1", varrho: "\u03F1", rightrightarrows: "\u21C9", rrarr: "\u21C9", rightthreetimes: "\u22CC", rthree: "\u22CC", ring: "\u02DA", rlm: "\u200F", rmoust: "\u23B1", rmoustache: "\u23B1", rnmid: "\u2AEE", roang: "\u27ED", roarr: "\u21FE", ropar: "\u2986", ropf: "\u{1D563}", roplus: "\u2A2E", rotimes: "\u2A35", rpar: ")", rpargt: "\u2994", rppolint: "\u2A12", rsaquo: "\u203A", rscr: "\u{1D4C7}", rtimes: "\u22CA", rtri: "\u25B9", triangleright: "\u25B9", rtriltri: "\u29CE", ruluhar: "\u2968", rx: "\u211E", sacute: "\u015B", scE: "\u2AB4", scap: "\u2AB8", succapprox: "\u2AB8", scaron: "\u0161", scedil: "\u015F", scirc: "\u015D", scnE: "\u2AB6", succneqq: "\u2AB6", scnap: "\u2ABA", succnapprox: "\u2ABA", scnsim: "\u22E9", succnsim: "\u22E9", scpolint: "\u2A13", scy: "\u0441", sdot: "\u22C5", sdote: "\u2A66", seArr: "\u21D8", sect: "\xA7", semi: ";", seswar: "\u2929", tosa: "\u2929", sext: "\u2736", sfr: "\u{1D530}", sharp: "\u266F", shchcy: "\u0449", shcy: "\u0448", shy: "\xAD", sigma: "\u03C3", sigmaf: "\u03C2", sigmav: "\u03C2", varsigma: "\u03C2", simdot: "\u2A6A", simg: "\u2A9E", simgE: "\u2AA0", siml: "\u2A9D", simlE: "\u2A9F", simne: "\u2246", simplus: "\u2A24", simrarr: "\u2972", smashp: "\u2A33", smeparsl: "\u29E4", smile: "\u2323", ssmile: "\u2323", smt: "\u2AAA", smte: "\u2AAC", smtes: "\u2AAC\uFE00", softcy: "\u044C", sol: "/", solb: "\u29C4", solbar: "\u233F", sopf: "\u{1D564}", spades: "\u2660", spadesuit: "\u2660", sqcaps: "\u2293\uFE00", sqcups: "\u2294\uFE00", sscr: "\u{1D4C8}", star: "\u2606", sub: "\u2282", subset: "\u2282", subE: "\u2AC5", subseteqq: "\u2AC5", subdot: "\u2ABD", subedot: "\u2AC3", submult: "\u2AC1", subnE: "\u2ACB", subsetneqq: "\u2ACB", subne: "\u228A", subsetneq: "\u228A", subplus: "\u2ABF", subrarr: "\u2979", subsim: "\u2AC7", subsub: "\u2AD5", subsup: "\u2AD3", sung: "\u266A", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", supE: "\u2AC6", supseteqq: "\u2AC6", supdot: "\u2ABE", supdsub: "\u2AD8", supedot: "\u2AC4", suphsol: "\u27C9", suphsub: "\u2AD7", suplarr: "\u297B", supmult: "\u2AC2", supnE: "\u2ACC", supsetneqq: "\u2ACC", supne: "\u228B", supsetneq: "\u228B", supplus: "\u2AC0", supsim: "\u2AC8", supsub: "\u2AD4", supsup: "\u2AD6", swArr: "\u21D9", swnwar: "\u292A", szlig: "\xDF", target: "\u2316", tau: "\u03C4", tcaron: "\u0165", tcedil: "\u0163", tcy: "\u0442", telrec: "\u2315", tfr: "\u{1D531}", theta: "\u03B8", thetasym: "\u03D1", thetav: "\u03D1", vartheta: "\u03D1", thorn: "\xFE", times: "\xD7", timesbar: "\u2A31", timesd: "\u2A30", topbot: "\u2336", topcir: "\u2AF1", topf: "\u{1D565}", topfork: "\u2ADA", tprime: "\u2034", triangle: "\u25B5", utri: "\u25B5", triangleq: "\u225C", trie: "\u225C", tridot: "\u25EC", triminus: "\u2A3A", triplus: "\u2A39", trisb: "\u29CD", tritime: "\u2A3B", trpezium: "\u23E2", tscr: "\u{1D4C9}", tscy: "\u0446", tshcy: "\u045B", tstrok: "\u0167", uHar: "\u2963", uacute: "\xFA", ubrcy: "\u045E", ubreve: "\u016D", ucirc: "\xFB", ucy: "\u0443", udblac: "\u0171", ufisht: "\u297E", ufr: "\u{1D532}", ugrave: "\xF9", uhblk: "\u2580", ulcorn: "\u231C", ulcorner: "\u231C", ulcrop: "\u230F", ultri: "\u25F8", umacr: "\u016B", uogon: "\u0173", uopf: "\u{1D566}", upsi: "\u03C5", upsilon: "\u03C5", upuparrows: "\u21C8", uuarr: "\u21C8", urcorn: "\u231D", urcorner: "\u231D", urcrop: "\u230E", uring: "\u016F", urtri: "\u25F9", uscr: "\u{1D4CA}", utdot: "\u22F0", utilde: "\u0169", uuml: "\xFC", uwangle: "\u29A7", vBar: "\u2AE8", vBarv: "\u2AE9", vangrt: "\u299C", varsubsetneq: "\u228A\uFE00", vsubne: "\u228A\uFE00", varsubsetneqq: "\u2ACB\uFE00", vsubnE: "\u2ACB\uFE00", varsupsetneq: "\u228B\uFE00", vsupne: "\u228B\uFE00", varsupsetneqq: "\u2ACC\uFE00", vsupnE: "\u2ACC\uFE00", vcy: "\u0432", veebar: "\u22BB", veeeq: "\u225A", vellip: "\u22EE", vfr: "\u{1D533}", vopf: "\u{1D567}", vscr: "\u{1D4CB}", vzigzag: "\u299A", wcirc: "\u0175", wedbar: "\u2A5F", wedgeq: "\u2259", weierp: "\u2118", wp: "\u2118", wfr: "\u{1D534}", wopf: "\u{1D568}", wscr: "\u{1D4CC}", xfr: "\u{1D535}", xi: "\u03BE", xnis: "\u22FB", xopf: "\u{1D569}", xscr: "\u{1D4CD}", yacute: "\xFD", yacy: "\u044F", ycirc: "\u0177", ycy: "\u044B", yen: "\xA5", yfr: "\u{1D536}", yicy: "\u0457", yopf: "\u{1D56A}", yscr: "\u{1D4CE}", yucy: "\u044E", yuml: "\xFF", zacute: "\u017A", zcaron: "\u017E", zcy: "\u0437", zdot: "\u017C", zeta: "\u03B6", zfr: "\u{1D537}", zhcy: "\u0436", zigrarr: "\u21DD", zopf: "\u{1D56B}", zscr: "\u{1D4CF}", zwj: "\u200D", zwnj: "\u200C" }, _o = "\uE500";
1637
+ Ve.ngsp = _o;
1638
+ var Eo = [/@/, /^\s*$/, /[<>]/, /^[{}]$/, /&(#|[a-z])/i, /^\/\//];
1639
+ function Ks(t, e) {
1640
+ if (e != null && !(Array.isArray(e) && e.length == 2)) throw new Error(`Expected '${t}' to be an array, [start, end].`);
1641
+ if (e != null) {
1642
+ let r = e[0], n = e[1];
1643
+ Eo.forEach((s) => {
1644
+ if (s.test(r) || s.test(n)) throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`);
1645
+ });
1646
+ }
1647
+ }
1648
+ var Or = class t {
1649
+ static fromArray(e) {
1650
+ return e ? (Ks("interpolation", e), new t(e[0], e[1])) : Mr;
1651
+ }
1652
+ constructor(e, r) {
1653
+ this.start = e, this.end = r;
1654
+ }
1655
+ }, Mr = new Or("{{", "}}");
1656
+ var gt = class extends Oe {
1657
+ constructor(e, r, n) {
1658
+ super(n, e), this.tokenType = r;
1659
+ }
1660
+ }, Wr = class {
1661
+ constructor(e, r, n) {
1662
+ this.tokens = e, this.errors = r, this.nonNormalizedIcuExpressions = n;
1663
+ }
1664
+ };
1665
+ function ui(t, e, r, n = {}) {
1666
+ let s = new Gr(new ve(t, e), r, n);
1667
+ return s.tokenize(), new Wr(zo(s.tokens), s.errors, s.nonNormalizedIcuExpressions);
1668
+ }
1669
+ var Mo = /\r\n?/g;
1670
+ function Ue(t) {
1671
+ return `Unexpected character "${t === 0 ? "EOF" : String.fromCharCode(t)}"`;
1672
+ }
1673
+ function ei(t) {
1674
+ return `Unknown entity "${t}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
1675
+ }
1676
+ function qo(t, e) {
1677
+ return `Unable to parse entity "${e}" - ${t} character reference entities must end with ";"`;
1678
+ }
1679
+ var nr;
1680
+ (function(t) {
1681
+ t.HEX = "hexadecimal", t.DEC = "decimal";
1682
+ })(nr || (nr = {}));
1683
+ var Ct = class {
1684
+ constructor(e) {
1685
+ this.error = e;
1686
+ }
1687
+ }, Gr = class {
1688
+ constructor(e, r, n) {
1689
+ var _a2, _b;
1690
+ 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 || Mr, this._leadingTriviaCodePoints = n.leadingTriviaChars && n.leadingTriviaChars.map((i) => i.codePointAt(0) || 0), this._canSelfClose = n.canSelfClose || false, this._allowHtmComponentClosingTags = n.allowHtmComponentClosingTags || false;
1691
+ let s = n.range || { endPos: e.content.length, startPos: 0, startLine: 0, startCol: 0 };
1692
+ this._cursor = n.escapedString ? new zr(e, s) : new sr(e, s), this._preserveLineEndings = n.preserveLineEndings || false, this._i18nNormalizeLineEndingsInICUs = n.i18nNormalizeLineEndingsInICUs || false, this._tokenizeBlocks = (_a2 = n.tokenizeBlocks) != null ? _a2 : true, this._tokenizeLet = (_b = n.tokenizeLet) != null ? _b : true;
1693
+ try {
1694
+ this._cursor.init();
1695
+ } catch (i) {
1696
+ this.handleError(i);
1697
+ }
1698
+ }
1699
+ _processCarriageReturns(e) {
1700
+ return this._preserveLineEndings ? e : e.replace(Mo, `
1701
+ `);
1702
+ }
1703
+ tokenize() {
1704
+ for (; this._cursor.peek() !== 0; ) {
1705
+ let e = this._cursor.clone();
1706
+ try {
1707
+ if (this._attemptCharCode(60)) if (this._attemptCharCode(33)) this._attemptStr("[CDATA[") ? this._consumeCdata(e) : this._attemptStr("--") ? this._consumeComment(e) : this._attemptStrCaseInsensitive("doctype") ? this._consumeDocType(e) : this._consumeBogusComment(e);
1708
+ else if (this._attemptCharCode(47)) this._consumeTagClose(e);
1709
+ else {
1710
+ let r = this._cursor.clone();
1711
+ this._attemptCharCode(63) ? (this._cursor = r, this._consumeBogusComment(e)) : this._consumeTagOpen(e);
1712
+ }
1713
+ else this._tokenizeLet && this._cursor.peek() === 64 && !this._inInterpolation && this._attemptStr("@let") ? this._consumeLetDeclaration(e) : this._tokenizeBlocks && this._attemptCharCode(64) ? this._consumeBlockStart(e) : this._tokenizeBlocks && !this._inInterpolation && !this._isInExpansionCase() && !this._isInExpansionForm() && this._attemptCharCode(125) ? this._consumeBlockEnd(e) : this._tokenizeIcu && this._tokenizeExpansionForm() || this._consumeWithInterpolation(5, 8, () => this._isTextEnd(), () => this._isTagStart());
1714
+ } catch (r) {
1715
+ this.handleError(r);
1716
+ }
1717
+ }
1718
+ this._beginToken(34), this._endToken([]);
1719
+ }
1720
+ _getBlockName() {
1721
+ let e = false, r = this._cursor.clone();
1722
+ return this._attemptCharCodeUntilFn((n) => ut(n) ? !e : ni(n) ? (e = true, false) : true), this._cursor.getChars(r).trim();
1723
+ }
1724
+ _consumeBlockStart(e) {
1725
+ this._beginToken(25, e);
1726
+ let r = this._endToken([this._getBlockName()]);
1727
+ if (this._cursor.peek() === 40) if (this._cursor.advance(), this._consumeBlockParameters(), this._attemptCharCodeUntilFn(b), this._attemptCharCode(41)) this._attemptCharCodeUntilFn(b);
1728
+ else {
1729
+ r.type = 29;
1730
+ return;
1731
+ }
1732
+ this._attemptCharCode(123) ? (this._beginToken(26), this._endToken([])) : r.type = 29;
1733
+ }
1734
+ _consumeBlockEnd(e) {
1735
+ this._beginToken(27, e), this._endToken([]);
1736
+ }
1737
+ _consumeBlockParameters() {
1738
+ for (this._attemptCharCodeUntilFn(si); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
1739
+ this._beginToken(28);
1740
+ let e = this._cursor.clone(), r = null, n = 0;
1741
+ for (; this._cursor.peek() !== 59 && this._cursor.peek() !== 0 || r !== null; ) {
1742
+ let s = this._cursor.peek();
1743
+ if (s === 92) this._cursor.advance();
1744
+ else if (s === r) r = null;
1745
+ else if (r === null && Mt(s)) r = s;
1746
+ else if (s === 40 && r === null) n++;
1747
+ else if (s === 41 && r === null) {
1748
+ if (n === 0) break;
1749
+ n > 0 && n--;
1750
+ }
1751
+ this._cursor.advance();
1752
+ }
1753
+ this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(si);
1754
+ }
1755
+ }
1756
+ _consumeLetDeclaration(e) {
1757
+ if (this._beginToken(30, e), ut(this._cursor.peek())) this._attemptCharCodeUntilFn(b);
1758
+ else {
1759
+ let s = this._endToken([this._cursor.getChars(e)]);
1760
+ s.type = 33;
1761
+ return;
1762
+ }
1763
+ let r = this._endToken([this._getLetDeclarationName()]);
1764
+ if (this._attemptCharCodeUntilFn(b), !this._attemptCharCode(61)) {
1765
+ r.type = 33;
1766
+ return;
1767
+ }
1768
+ this._attemptCharCodeUntilFn((s) => b(s) && !Ot(s)), this._consumeLetDeclarationValue(), this._cursor.peek() === 59 ? (this._beginToken(32), this._endToken([]), this._cursor.advance()) : (r.type = 33, r.sourceSpan = this._cursor.getSpan(e));
1769
+ }
1770
+ _getLetDeclarationName() {
1771
+ let e = this._cursor.clone(), r = false;
1772
+ return this._attemptCharCodeUntilFn((n) => lt(n) || n === 36 || n === 95 || r && $t(n) ? (r = true, false) : true), this._cursor.getChars(e).trim();
1773
+ }
1774
+ _consumeLetDeclarationValue() {
1775
+ let e = this._cursor.clone();
1776
+ for (this._beginToken(31, e); this._cursor.peek() !== 0; ) {
1777
+ let r = this._cursor.peek();
1778
+ if (r === 59) break;
1779
+ Mt(r) && (this._cursor.advance(), this._attemptCharCodeUntilFn((n) => n === 92 ? (this._cursor.advance(), false) : n === r)), this._cursor.advance();
1780
+ }
1781
+ this._endToken([this._cursor.getChars(e)]);
1782
+ }
1783
+ _tokenizeExpansionForm() {
1784
+ if (this.isExpansionFormStart()) return this._consumeExpansionFormStart(), true;
1785
+ if (Wo(this._cursor.peek()) && this._isInExpansionForm()) return this._consumeExpansionCaseStart(), true;
1786
+ if (this._cursor.peek() === 125) {
1787
+ if (this._isInExpansionCase()) return this._consumeExpansionCaseEnd(), true;
1788
+ if (this._isInExpansionForm()) return this._consumeExpansionFormEnd(), true;
1789
+ }
1790
+ return false;
1791
+ }
1792
+ _beginToken(e, r = this._cursor.clone()) {
1793
+ this._currentTokenStart = r, this._currentTokenType = e;
1794
+ }
1795
+ _endToken(e, r) {
1796
+ if (this._currentTokenStart === null) throw new gt("Programming error - attempted to end a token when there was no start to the token", this._currentTokenType, this._cursor.getSpan(r));
1797
+ if (this._currentTokenType === null) throw new gt("Programming error - attempted to end a token which has no token type", null, this._cursor.getSpan(this._currentTokenStart));
1798
+ let n = { type: this._currentTokenType, parts: e, sourceSpan: (r != null ? r : this._cursor).getSpan(this._currentTokenStart, this._leadingTriviaCodePoints) };
1799
+ return this.tokens.push(n), this._currentTokenStart = null, this._currentTokenType = null, n;
1800
+ }
1801
+ _createError(e, r) {
1802
+ this._isInExpansionForm() && (e += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);
1803
+ let n = new gt(e, this._currentTokenType, r);
1804
+ return this._currentTokenStart = null, this._currentTokenType = null, new Ct(n);
1805
+ }
1806
+ handleError(e) {
1807
+ if (e instanceof St && (e = this._createError(e.msg, this._cursor.getSpan(e.cursor))), e instanceof Ct) this.errors.push(e.error);
1808
+ else throw e;
1809
+ }
1810
+ _attemptCharCode(e) {
1811
+ return this._cursor.peek() === e ? (this._cursor.advance(), true) : false;
1812
+ }
1813
+ _attemptCharCodeCaseInsensitive(e) {
1814
+ return Go(this._cursor.peek(), e) ? (this._cursor.advance(), true) : false;
1815
+ }
1816
+ _requireCharCode(e) {
1817
+ let r = this._cursor.clone();
1818
+ if (!this._attemptCharCode(e)) throw this._createError(Ue(this._cursor.peek()), this._cursor.getSpan(r));
1819
+ }
1820
+ _attemptStr(e) {
1821
+ let r = e.length;
1822
+ if (this._cursor.charsLeft() < r) return false;
1823
+ let n = this._cursor.clone();
1824
+ for (let s = 0; s < r; s++) if (!this._attemptCharCode(e.charCodeAt(s))) return this._cursor = n, false;
1825
+ return true;
1826
+ }
1827
+ _attemptStrCaseInsensitive(e) {
1828
+ for (let r = 0; r < e.length; r++) if (!this._attemptCharCodeCaseInsensitive(e.charCodeAt(r))) return false;
1829
+ return true;
1830
+ }
1831
+ _requireStr(e) {
1832
+ let r = this._cursor.clone();
1833
+ if (!this._attemptStr(e)) throw this._createError(Ue(this._cursor.peek()), this._cursor.getSpan(r));
1834
+ }
1835
+ _requireStrCaseInsensitive(e) {
1836
+ let r = this._cursor.clone();
1837
+ if (!this._attemptStrCaseInsensitive(e)) throw this._createError(Ue(this._cursor.peek()), this._cursor.getSpan(r));
1838
+ }
1839
+ _attemptCharCodeUntilFn(e) {
1840
+ for (; !e(this._cursor.peek()); ) this._cursor.advance();
1841
+ }
1842
+ _requireCharCodeUntilFn(e, r) {
1843
+ let n = this._cursor.clone();
1844
+ if (this._attemptCharCodeUntilFn(e), this._cursor.diff(n) < r) throw this._createError(Ue(this._cursor.peek()), this._cursor.getSpan(n));
1845
+ }
1846
+ _attemptUntilChar(e) {
1847
+ for (; this._cursor.peek() !== e; ) this._cursor.advance();
1848
+ }
1849
+ _readChar() {
1850
+ let e = String.fromCodePoint(this._cursor.peek());
1851
+ return this._cursor.advance(), e;
1852
+ }
1853
+ _consumeEntity(e) {
1854
+ this._beginToken(9);
1855
+ let r = this._cursor.clone();
1856
+ if (this._cursor.advance(), this._attemptCharCode(35)) {
1857
+ let n = this._attemptCharCode(120) || this._attemptCharCode(88), s = this._cursor.clone();
1858
+ if (this._attemptCharCodeUntilFn(Vo), this._cursor.peek() != 59) {
1859
+ this._cursor.advance();
1860
+ let a = n ? nr.HEX : nr.DEC;
1861
+ throw this._createError(qo(a, this._cursor.getChars(r)), this._cursor.getSpan());
1862
+ }
1863
+ let i = this._cursor.getChars(s);
1864
+ this._cursor.advance();
1865
+ try {
1866
+ let a = parseInt(i, n ? 16 : 10);
1867
+ this._endToken([String.fromCharCode(a), this._cursor.getChars(r)]);
1868
+ } catch (e2) {
1869
+ throw this._createError(ei(this._cursor.getChars(r)), this._cursor.getSpan());
1870
+ }
1871
+ } else {
1872
+ let n = this._cursor.clone();
1873
+ if (this._attemptCharCodeUntilFn(Uo), this._cursor.peek() != 59) this._beginToken(e, r), this._cursor = n, this._endToken(["&"]);
1874
+ else {
1875
+ let s = this._cursor.getChars(n);
1876
+ this._cursor.advance();
1877
+ let i = Ve[s];
1878
+ if (!i) throw this._createError(ei(s), this._cursor.getSpan(r));
1879
+ this._endToken([i, `&${s};`]);
1880
+ }
1881
+ }
1882
+ }
1883
+ _consumeRawText(e, r) {
1884
+ this._beginToken(e ? 6 : 7);
1885
+ let n = [];
1886
+ for (; ; ) {
1887
+ let s = this._cursor.clone(), i = r();
1888
+ if (this._cursor = s, i) break;
1889
+ e && this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(n.join(""))]), n.length = 0, this._consumeEntity(6), this._beginToken(6)) : n.push(this._readChar());
1890
+ }
1891
+ this._endToken([this._processCarriageReturns(n.join(""))]);
1892
+ }
1893
+ _consumeComment(e) {
1894
+ this._beginToken(10, e), this._endToken([]), this._consumeRawText(false, () => this._attemptStr("-->")), this._beginToken(11), this._requireStr("-->"), this._endToken([]);
1895
+ }
1896
+ _consumeBogusComment(e) {
1897
+ this._beginToken(10, e), this._endToken([]), this._consumeRawText(false, () => this._cursor.peek() === 62), this._beginToken(11), this._cursor.advance(), this._endToken([]);
1898
+ }
1899
+ _consumeCdata(e) {
1900
+ this._beginToken(12, e), this._endToken([]), this._consumeRawText(false, () => this._attemptStr("]]>")), this._beginToken(13), this._requireStr("]]>"), this._endToken([]);
1901
+ }
1902
+ _consumeDocType(e) {
1903
+ this._beginToken(18, e), this._endToken([]), this._consumeRawText(false, () => this._cursor.peek() === 62), this._beginToken(19), this._cursor.advance(), this._endToken([]);
1904
+ }
1905
+ _consumePrefixAndName() {
1906
+ let e = this._cursor.clone(), r = "";
1907
+ for (; this._cursor.peek() !== 58 && !Ho(this._cursor.peek()); ) this._cursor.advance();
1908
+ let n;
1909
+ this._cursor.peek() === 58 ? (r = this._cursor.getChars(e), this._cursor.advance(), n = this._cursor.clone()) : n = e, this._requireCharCodeUntilFn(ti, r === "" ? 0 : 1);
1910
+ let s = this._cursor.getChars(n);
1911
+ return [r, s];
1912
+ }
1913
+ _consumeTagOpen(e) {
1914
+ let r, n, s, i = [];
1915
+ try {
1916
+ if (!lt(this._cursor.peek())) throw this._createError(Ue(this._cursor.peek()), this._cursor.getSpan(e));
1917
+ for (s = this._consumeTagOpenStart(e), n = s.parts[0], r = s.parts[1], this._attemptCharCodeUntilFn(b); this._cursor.peek() !== 47 && this._cursor.peek() !== 62 && this._cursor.peek() !== 60 && this._cursor.peek() !== 0; ) {
1918
+ let [o, u] = this._consumeAttributeName();
1919
+ if (this._attemptCharCodeUntilFn(b), this._attemptCharCode(61)) {
1920
+ this._attemptCharCodeUntilFn(b);
1921
+ let p = this._consumeAttributeValue();
1922
+ i.push({ prefix: o, name: u, value: p });
1923
+ } else i.push({ prefix: o, name: u });
1924
+ this._attemptCharCodeUntilFn(b);
1925
+ }
1926
+ this._consumeTagOpenEnd();
1927
+ } catch (o) {
1928
+ if (o instanceof Ct) {
1929
+ s ? s.type = 4 : (this._beginToken(5, e), this._endToken(["<"]));
1930
+ return;
1931
+ }
1932
+ throw o;
1933
+ }
1934
+ if (this._canSelfClose && this.tokens[this.tokens.length - 1].type === 2) return;
1935
+ let a = this._getTagContentType(r, n, this._fullNameStack.length > 0, i);
1936
+ this._handleFullNameStackForTagOpen(n, r), a === N.RAW_TEXT ? this._consumeRawTextWithTagClose(n, r, false) : a === N.ESCAPABLE_RAW_TEXT && this._consumeRawTextWithTagClose(n, r, true);
1937
+ }
1938
+ _consumeRawTextWithTagClose(e, r, n) {
1939
+ 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);
1940
+ }
1941
+ _consumeTagOpenStart(e) {
1942
+ this._beginToken(0, e);
1943
+ let r = this._consumePrefixAndName();
1944
+ return this._endToken(r);
1945
+ }
1946
+ _consumeAttributeName() {
1947
+ let e = this._cursor.peek();
1948
+ if (e === 39 || e === 34) throw this._createError(Ue(e), this._cursor.getSpan());
1949
+ this._beginToken(14);
1950
+ let r = this._consumePrefixAndName();
1951
+ return this._endToken(r), r;
1952
+ }
1953
+ _consumeAttributeValue() {
1954
+ let e;
1955
+ if (this._cursor.peek() === 39 || this._cursor.peek() === 34) {
1956
+ let r = this._cursor.peek();
1957
+ this._consumeQuote(r);
1958
+ let n = () => this._cursor.peek() === r;
1959
+ e = this._consumeWithInterpolation(16, 17, n, n), this._consumeQuote(r);
1960
+ } else {
1961
+ let r = () => ti(this._cursor.peek());
1962
+ e = this._consumeWithInterpolation(16, 17, r, r);
1963
+ }
1964
+ return e;
1965
+ }
1966
+ _consumeQuote(e) {
1967
+ this._beginToken(15), this._requireCharCode(e), this._endToken([String.fromCodePoint(e)]);
1968
+ }
1969
+ _consumeTagOpenEnd() {
1970
+ let e = this._attemptCharCode(47) ? 2 : 1;
1971
+ this._beginToken(e), this._requireCharCode(62), this._endToken([]);
1972
+ }
1973
+ _consumeTagClose(e) {
1974
+ if (this._beginToken(3, e), this._attemptCharCodeUntilFn(b), this._allowHtmComponentClosingTags && this._attemptCharCode(47)) this._attemptCharCodeUntilFn(b), this._requireCharCode(62), this._endToken([]);
1975
+ else {
1976
+ let [r, n] = this._consumePrefixAndName();
1977
+ this._attemptCharCodeUntilFn(b), this._requireCharCode(62), this._endToken([r, n]), this._handleFullNameStackForTagClose(r, n);
1978
+ }
1979
+ }
1980
+ _consumeExpansionFormStart() {
1981
+ this._beginToken(20), this._requireCharCode(123), this._endToken([]), this._expansionCaseStack.push(20), this._beginToken(7);
1982
+ let e = this._readUntil(44), r = this._processCarriageReturns(e);
1983
+ if (this._i18nNormalizeLineEndingsInICUs) this._endToken([r]);
1984
+ else {
1985
+ let s = this._endToken([e]);
1986
+ r !== e && this.nonNormalizedIcuExpressions.push(s);
1987
+ }
1988
+ this._requireCharCode(44), this._attemptCharCodeUntilFn(b), this._beginToken(7);
1989
+ let n = this._readUntil(44);
1990
+ this._endToken([n]), this._requireCharCode(44), this._attemptCharCodeUntilFn(b);
1991
+ }
1992
+ _consumeExpansionCaseStart() {
1993
+ this._beginToken(21);
1994
+ let e = this._readUntil(123).trim();
1995
+ this._endToken([e]), this._attemptCharCodeUntilFn(b), this._beginToken(22), this._requireCharCode(123), this._endToken([]), this._attemptCharCodeUntilFn(b), this._expansionCaseStack.push(22);
1996
+ }
1997
+ _consumeExpansionCaseEnd() {
1998
+ this._beginToken(23), this._requireCharCode(125), this._endToken([]), this._attemptCharCodeUntilFn(b), this._expansionCaseStack.pop();
1999
+ }
2000
+ _consumeExpansionFormEnd() {
2001
+ this._beginToken(24), this._requireCharCode(125), this._endToken([]), this._expansionCaseStack.pop();
2002
+ }
2003
+ _consumeWithInterpolation(e, r, n, s) {
2004
+ this._beginToken(e);
2005
+ let i = [];
2006
+ for (; !n(); ) {
2007
+ let o = this._cursor.clone();
2008
+ this._interpolationConfig && this._attemptStr(this._interpolationConfig.start) ? (this._endToken([this._processCarriageReturns(i.join(""))], o), i.length = 0, this._consumeInterpolation(r, o, s), this._beginToken(e)) : this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(i.join(""))]), i.length = 0, this._consumeEntity(e), this._beginToken(e)) : i.push(this._readChar());
2009
+ }
2010
+ this._inInterpolation = false;
2011
+ let a = this._processCarriageReturns(i.join(""));
2012
+ return this._endToken([a]), a;
2013
+ }
2014
+ _consumeInterpolation(e, r, n) {
2015
+ let s = [];
2016
+ this._beginToken(e, r), s.push(this._interpolationConfig.start);
2017
+ let i = this._cursor.clone(), a = null, o = false;
2018
+ for (; this._cursor.peek() !== 0 && (n === null || !n()); ) {
2019
+ let u = this._cursor.clone();
2020
+ if (this._isTagStart()) {
2021
+ this._cursor = u, s.push(this._getProcessedChars(i, u)), this._endToken(s);
2022
+ return;
2023
+ }
2024
+ if (a === null) if (this._attemptStr(this._interpolationConfig.end)) {
2025
+ s.push(this._getProcessedChars(i, u)), s.push(this._interpolationConfig.end), this._endToken(s);
2026
+ return;
2027
+ } else this._attemptStr("//") && (o = true);
2028
+ let p = this._cursor.peek();
2029
+ this._cursor.advance(), p === 92 ? this._cursor.advance() : p === a ? a = null : !o && a === null && Mt(p) && (a = p);
2030
+ }
2031
+ s.push(this._getProcessedChars(i, this._cursor)), this._endToken(s);
2032
+ }
2033
+ _getProcessedChars(e, r) {
2034
+ return this._processCarriageReturns(r.getChars(e));
2035
+ }
2036
+ _isTextEnd() {
2037
+ return !!(this._isTagStart() || this._cursor.peek() === 0 || this._tokenizeIcu && !this._inInterpolation && (this.isExpansionFormStart() || this._cursor.peek() === 125 && this._isInExpansionCase()) || this._tokenizeBlocks && !this._inInterpolation && !this._isInExpansion() && (this._isBlockStart() || this._cursor.peek() === 64 || this._cursor.peek() === 125));
2038
+ }
2039
+ _isTagStart() {
2040
+ if (this._cursor.peek() === 60) {
2041
+ let e = this._cursor.clone();
2042
+ e.advance();
2043
+ let r = e.peek();
2044
+ if (97 <= r && r <= 122 || 65 <= r && r <= 90 || r === 47 || r === 33) return true;
2045
+ }
2046
+ return false;
2047
+ }
2048
+ _isBlockStart() {
2049
+ if (this._tokenizeBlocks && this._cursor.peek() === 64) {
2050
+ let e = this._cursor.clone();
2051
+ if (e.advance(), ni(e.peek())) return true;
2052
+ }
2053
+ return false;
2054
+ }
2055
+ _readUntil(e) {
2056
+ let r = this._cursor.clone();
2057
+ return this._attemptUntilChar(e), this._cursor.getChars(r);
2058
+ }
2059
+ _isInExpansion() {
2060
+ return this._isInExpansionCase() || this._isInExpansionForm();
2061
+ }
2062
+ _isInExpansionCase() {
2063
+ return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === 22;
2064
+ }
2065
+ _isInExpansionForm() {
2066
+ return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === 20;
2067
+ }
2068
+ isExpansionFormStart() {
2069
+ if (this._cursor.peek() !== 123) return false;
2070
+ if (this._interpolationConfig) {
2071
+ let e = this._cursor.clone(), r = this._attemptStr(this._interpolationConfig.start);
2072
+ return this._cursor = e, !r;
2073
+ }
2074
+ return true;
2075
+ }
2076
+ _handleFullNameStackForTagOpen(e, r) {
2077
+ let n = qe(e, r);
2078
+ (this._fullNameStack.length === 0 || this._fullNameStack[this._fullNameStack.length - 1] === n) && this._fullNameStack.push(n);
2079
+ }
2080
+ _handleFullNameStackForTagClose(e, r) {
2081
+ let n = qe(e, r);
2082
+ this._fullNameStack.length !== 0 && this._fullNameStack[this._fullNameStack.length - 1] === n && this._fullNameStack.pop();
2083
+ }
2084
+ };
2085
+ function b(t) {
2086
+ return !ut(t) || t === 0;
2087
+ }
2088
+ function ti(t) {
2089
+ return ut(t) || t === 62 || t === 60 || t === 47 || t === 39 || t === 34 || t === 61 || t === 0;
2090
+ }
2091
+ function Ho(t) {
2092
+ return (t < 97 || 122 < t) && (t < 65 || 90 < t) && (t < 48 || t > 57);
2093
+ }
2094
+ function Vo(t) {
2095
+ return t === 59 || t === 0 || !Is(t);
2096
+ }
2097
+ function Uo(t) {
2098
+ return t === 59 || t === 0 || !lt(t);
2099
+ }
2100
+ function Wo(t) {
2101
+ return t !== 125;
2102
+ }
2103
+ function Go(t, e) {
2104
+ return ri(t) === ri(e);
2105
+ }
2106
+ function ri(t) {
2107
+ return t >= 97 && t <= 122 ? t - 97 + 65 : t;
2108
+ }
2109
+ function ni(t) {
2110
+ return lt(t) || $t(t) || t === 95;
2111
+ }
2112
+ function si(t) {
2113
+ return t !== 59 && b(t);
2114
+ }
2115
+ function zo(t) {
2116
+ let e = [], r;
2117
+ for (let n = 0; n < t.length; n++) {
2118
+ let s = t[n];
2119
+ r && r.type === 5 && s.type === 5 || r && r.type === 16 && s.type === 16 ? (r.parts[0] += s.parts[0], r.sourceSpan.end = s.sourceSpan.end) : (r = s, e.push(r));
2120
+ }
2121
+ return e;
2122
+ }
2123
+ var sr = class t {
2124
+ constructor(e, r) {
2125
+ if (e instanceof t) {
2126
+ this.file = e.file, this.input = e.input, this.end = e.end;
2127
+ let n = e.state;
2128
+ this.state = { peek: n.peek, offset: n.offset, line: n.line, column: n.column };
2129
+ } else {
2130
+ if (!r) throw new Error("Programming error: the range argument must be provided with a file argument.");
2131
+ this.file = e, this.input = e.content, this.end = r.endPos, this.state = { peek: -1, offset: r.startPos, line: r.startLine, column: r.startCol };
2132
+ }
2133
+ }
2134
+ clone() {
2135
+ return new t(this);
2136
+ }
2137
+ peek() {
2138
+ return this.state.peek;
2139
+ }
2140
+ charsLeft() {
2141
+ return this.end - this.state.offset;
2142
+ }
2143
+ diff(e) {
2144
+ return this.state.offset - e.state.offset;
2145
+ }
2146
+ advance() {
2147
+ this.advanceState(this.state);
2148
+ }
2149
+ init() {
2150
+ this.updatePeek(this.state);
2151
+ }
2152
+ getSpan(e, r) {
2153
+ e = e || this;
2154
+ let n = e;
2155
+ if (r) for (; this.diff(e) > 0 && r.indexOf(e.peek()) !== -1; ) n === e && (e = e.clone()), e.advance();
2156
+ let s = this.locationFromCursor(e), i = this.locationFromCursor(this), a = n !== e ? this.locationFromCursor(n) : s;
2157
+ return new h(s, i, a);
2158
+ }
2159
+ getChars(e) {
2160
+ return this.input.substring(e.state.offset, this.state.offset);
2161
+ }
2162
+ charAt(e) {
2163
+ return this.input.charCodeAt(e);
2164
+ }
2165
+ advanceState(e) {
2166
+ if (e.offset >= this.end) throw this.state = e, new St('Unexpected character "EOF"', this);
2167
+ let r = this.charAt(e.offset);
2168
+ r === 10 ? (e.line++, e.column = 0) : Ot(r) || e.column++, e.offset++, this.updatePeek(e);
2169
+ }
2170
+ updatePeek(e) {
2171
+ e.peek = e.offset >= this.end ? 0 : this.charAt(e.offset);
2172
+ }
2173
+ locationFromCursor(e) {
2174
+ return new ie(e.file, e.state.offset, e.state.line, e.state.column);
2175
+ }
2176
+ }, zr = class t extends sr {
2177
+ constructor(e, r) {
2178
+ e instanceof t ? (super(e), this.internalState = __spreadValues({}, e.internalState)) : (super(e, r), this.internalState = this.state);
2179
+ }
2180
+ advance() {
2181
+ this.state = this.internalState, super.advance(), this.processEscapeSequence();
2182
+ }
2183
+ init() {
2184
+ super.init(), this.processEscapeSequence();
2185
+ }
2186
+ clone() {
2187
+ return new t(this);
2188
+ }
2189
+ getChars(e) {
2190
+ let r = e.clone(), n = "";
2191
+ for (; r.internalState.offset < this.internalState.offset; ) n += String.fromCodePoint(r.peek()), r.advance();
2192
+ return n;
2193
+ }
2194
+ processEscapeSequence() {
2195
+ let e = () => this.internalState.peek;
2196
+ if (e() === 92) if (this.internalState = __spreadValues({}, this.state), this.advanceState(this.internalState), e() === 110) this.state.peek = 10;
2197
+ else if (e() === 114) this.state.peek = 13;
2198
+ else if (e() === 118) this.state.peek = 11;
2199
+ else if (e() === 116) this.state.peek = 9;
2200
+ else if (e() === 98) this.state.peek = 8;
2201
+ else if (e() === 102) this.state.peek = 12;
2202
+ else if (e() === 117) if (this.advanceState(this.internalState), e() === 123) {
2203
+ this.advanceState(this.internalState);
2204
+ let r = this.clone(), n = 0;
2205
+ for (; e() !== 125; ) this.advanceState(this.internalState), n++;
2206
+ this.state.peek = this.decodeHexDigits(r, n);
2207
+ } else {
2208
+ let r = this.clone();
2209
+ this.advanceState(this.internalState), this.advanceState(this.internalState), this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 4);
2210
+ }
2211
+ else if (e() === 120) {
2212
+ this.advanceState(this.internalState);
2213
+ let r = this.clone();
2214
+ this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 2);
2215
+ } else if (Lr(e())) {
2216
+ let r = "", n = 0, s = this.clone();
2217
+ for (; Lr(e()) && n < 3; ) s = this.clone(), r += String.fromCodePoint(e()), this.advanceState(this.internalState), n++;
2218
+ this.state.peek = parseInt(r, 8), this.internalState = s.internalState;
2219
+ } else Ot(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.internalState.peek;
2220
+ }
2221
+ decodeHexDigits(e, r) {
2222
+ let n = this.input.slice(e.internalState.offset, e.internalState.offset + r), s = parseInt(n, 16);
2223
+ if (isNaN(s)) throw e.state = e.internalState, new St("Invalid hexadecimal escape sequence", e);
2224
+ return s;
2225
+ }
2226
+ }, St = class {
2227
+ constructor(e, r) {
2228
+ this.msg = e, this.cursor = r;
2229
+ }
2230
+ };
2231
+ var L = class t extends Oe {
2232
+ static create(e, r, n) {
2233
+ return new t(e, r, n);
2234
+ }
2235
+ constructor(e, r, n) {
2236
+ super(r, n), this.elementName = e;
2237
+ }
2238
+ }, Kr = class {
2239
+ constructor(e, r) {
2240
+ this.rootNodes = e, this.errors = r;
2241
+ }
2242
+ }, ir = class {
2243
+ constructor(e) {
2244
+ this.getTagDefinition = e;
2245
+ }
2246
+ parse(e, r, n, s = false, i) {
2247
+ let a = (D) => (I, ...F) => D(I.toLowerCase(), ...F), o = s ? this.getTagDefinition : a(this.getTagDefinition), u = (D) => o(D).getContentType(), p = s ? i : a(i), m = ui(e, r, i ? (D, I, F, c) => {
2248
+ let g = p(D, I, F, c);
2249
+ return g !== void 0 ? g : u(D);
2250
+ } : u, n), f = n && n.canSelfClose || false, C = n && n.allowHtmComponentClosingTags || false, A = new Xr(m.tokens, o, f, C, s);
2251
+ return A.build(), new Kr(A.rootNodes, m.errors.concat(A.errors));
2252
+ }
2253
+ }, Xr = class t {
2254
+ constructor(e, r, n, s, i) {
2255
+ 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();
2256
+ }
2257
+ build() {
2258
+ for (; this._peek.type !== 34; ) 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();
2259
+ for (let e of this._containerStack) e instanceof ee && this.errors.push(L.create(e.name, e.sourceSpan, `Unclosed block "${e.name}"`));
2260
+ }
2261
+ _advance() {
2262
+ let e = this._peek;
2263
+ return this._index < this.tokens.length - 1 && this._index++, this._peek = this.tokens[this._index], e;
2264
+ }
2265
+ _advanceIf(e) {
2266
+ return this._peek.type === e ? this._advance() : null;
2267
+ }
2268
+ _consumeCdata(e) {
2269
+ let r = this._advance(), n = this._getText(r), s = this._advanceIf(13);
2270
+ this._addToParent(new zt(n, new h(e.sourceSpan.start, (s || r).sourceSpan.end), [r]));
2271
+ }
2272
+ _consumeComment(e) {
2273
+ 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);
2274
+ this._addToParent(new Xt(s, i));
2275
+ }
2276
+ _consumeDocType(e) {
2277
+ 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);
2278
+ this._addToParent(new Qt(s, i));
2279
+ }
2280
+ _consumeExpansion(e) {
2281
+ let r = this._advance(), n = this._advance(), s = [];
2282
+ for (; this._peek.type === 21; ) {
2283
+ let a = this._parseExpansionCase();
2284
+ if (!a) return;
2285
+ s.push(a);
2286
+ }
2287
+ if (this._peek.type !== 24) {
2288
+ this.errors.push(L.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '}'."));
2289
+ return;
2290
+ }
2291
+ let i = new h(e.sourceSpan.start, this._peek.sourceSpan.end, e.sourceSpan.fullStart);
2292
+ this._addToParent(new Yt(r.parts[0], n.parts[0], s, i, r.sourceSpan)), this._advance();
2293
+ }
2294
+ _parseExpansionCase() {
2295
+ let e = this._advance();
2296
+ if (this._peek.type !== 22) return this.errors.push(L.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '{'.")), null;
2297
+ let r = this._advance(), n = this._collectExpansionExpTokens(r);
2298
+ if (!n) return null;
2299
+ let s = this._advance();
2300
+ n.push({ type: 34, parts: [], sourceSpan: s.sourceSpan });
2301
+ let i = new t(n, this.getTagDefinition, this.canSelfClose, this.allowHtmComponentClosingTags, this.isTagNameCaseSensitive);
2302
+ if (i.build(), i.errors.length > 0) return this.errors = this.errors.concat(i.errors), null;
2303
+ 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);
2304
+ return new jt(e.parts[0], i.rootNodes, a, e.sourceSpan, o);
2305
+ }
2306
+ _collectExpansionExpTokens(e) {
2307
+ let r = [], n = [22];
2308
+ for (; ; ) {
2309
+ if ((this._peek.type === 20 || this._peek.type === 22) && n.push(this._peek.type), this._peek.type === 23) if (li(n, 22)) {
2310
+ if (n.pop(), n.length === 0) return r;
2311
+ } else return this.errors.push(L.create(null, e.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2312
+ if (this._peek.type === 24) if (li(n, 20)) n.pop();
2313
+ else return this.errors.push(L.create(null, e.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2314
+ if (this._peek.type === 34) return this.errors.push(L.create(null, e.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2315
+ r.push(this._advance());
2316
+ }
2317
+ }
2318
+ _getText(e) {
2319
+ let r = e.parts[0];
2320
+ if (r.length > 0 && r[0] == `
2321
+ `) {
2322
+ let n = this._getClosestParentElement();
2323
+ n != null && n.children.length == 0 && this.getTagDefinition(n.name).ignoreFirstLf && (r = r.substring(1));
2324
+ }
2325
+ return r;
2326
+ }
2327
+ _consumeText(e) {
2328
+ let r = [e], n = e.sourceSpan, s = e.parts[0];
2329
+ if (s.length > 0 && s[0] === `
2330
+ `) {
2331
+ let i = this._getContainer();
2332
+ 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] });
2333
+ }
2334
+ for (; this._peek.type === 8 || this._peek.type === 5 || this._peek.type === 9; ) e = this._advance(), r.push(e), e.type === 8 ? s += e.parts.join("").replace(/&([^;]+);/g, ci) : e.type === 9 ? s += e.parts[0] : s += e.parts.join("");
2335
+ if (s.length > 0) {
2336
+ let i = e.sourceSpan;
2337
+ this._addToParent(new Gt(s, new h(n.start, i.end, n.fullStart, n.details), r));
2338
+ }
2339
+ }
2340
+ _closeVoidElement() {
2341
+ let e = this._getContainer();
2342
+ e instanceof Y && this.getTagDefinition(e.name).isVoid && this._containerStack.pop();
2343
+ }
2344
+ _consumeStartTag(e) {
2345
+ let [r, n] = e.parts, s = [];
2346
+ for (; this._peek.type === 14; ) s.push(this._consumeAttr(this._advance()));
2347
+ let i = this._getElementFullName(r, n, this._getClosestParentElement()), a = false;
2348
+ if (this._peek.type === 2) {
2349
+ this._advance(), a = true;
2350
+ let C = this.getTagDefinition(i);
2351
+ 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]}"`));
2352
+ } else this._peek.type === 1 && (this._advance(), a = false);
2353
+ let o = this._peek.sourceSpan.fullStart, u = new h(e.sourceSpan.start, o, e.sourceSpan.fullStart), p = new h(e.sourceSpan.start, o, e.sourceSpan.fullStart), l = new h(e.sourceSpan.start.moveBy(1), e.sourceSpan.end), m = new Y(i, s, [], u, p, void 0, l), f = this._getContainer();
2354
+ this._pushContainer(m, f instanceof Y && this.getTagDefinition(f.name).isClosedByChild(m.name)), a ? this._popContainer(i, Y, u) : e.type === 4 && (this._popContainer(i, Y, null), this.errors.push(L.create(i, u, `Opening tag "${i}" not terminated.`)));
2355
+ }
2356
+ _pushContainer(e, r) {
2357
+ r && this._containerStack.pop(), this._addToParent(e), this._containerStack.push(e);
2358
+ }
2359
+ _consumeEndTag(e) {
2360
+ let r = this.allowHtmComponentClosingTags && e.parts.length === 0 ? null : this._getElementFullName(e.parts[0], e.parts[1], this._getClosestParentElement());
2361
+ if (r && this.getTagDefinition(r).isVoid) this.errors.push(L.create(r, e.sourceSpan, `Void elements do not have end tags "${e.parts[1]}"`));
2362
+ else if (!this._popContainer(r, Y, e.sourceSpan)) {
2363
+ let n = `Unexpected closing tag "${r}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;
2364
+ this.errors.push(L.create(r, e.sourceSpan, n));
2365
+ }
2366
+ }
2367
+ _popContainer(e, r, n) {
2368
+ let s = false;
2369
+ for (let i = this._containerStack.length - 1; i >= 0; i--) {
2370
+ let a = this._containerStack[i];
2371
+ if (Me(a.name) ? a.name === e : (e == null || a.name.toLowerCase() === e.toLowerCase()) && a instanceof r) return a.endSourceSpan = n, a.sourceSpan.end = n !== null ? n.end : a.sourceSpan.end, this._containerStack.splice(i, this._containerStack.length - i), !s;
2372
+ (a instanceof ee || a instanceof Y && !this.getTagDefinition(a.name).closedByParent) && (s = true);
2373
+ }
2374
+ return false;
2375
+ }
2376
+ _consumeAttr(e) {
2377
+ var _a2, _b;
2378
+ let r = qe(e.parts[0], e.parts[1]), n = e.sourceSpan.end, s;
2379
+ this._peek.type === 15 && (s = this._advance());
2380
+ let i = "", a = [], o, u;
2381
+ if (this._peek.type === 16) for (o = this._peek.sourceSpan, u = this._peek.sourceSpan.end; this._peek.type === 16 || this._peek.type === 17 || this._peek.type === 9; ) {
2382
+ let m = this._advance();
2383
+ a.push(m), m.type === 17 ? i += m.parts.join("").replace(/&([^;]+);/g, ci) : m.type === 9 ? i += m.parts[0] : i += m.parts.join(""), u = n = m.sourceSpan.end;
2384
+ }
2385
+ this._peek.type === 15 && (u = n = this._advance().sourceSpan.end);
2386
+ let l = o && u && new h((_a2 = s == null ? void 0 : s.sourceSpan.start) != null ? _a2 : o.start, u, (_b = s == null ? void 0 : s.sourceSpan.fullStart) != null ? _b : o.fullStart);
2387
+ return new Kt(r, i, new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), e.sourceSpan, l, a.length > 0 ? a : void 0, void 0);
2388
+ }
2389
+ _consumeBlockOpen(e) {
2390
+ let r = [];
2391
+ for (; this._peek.type === 28; ) {
2392
+ let o = this._advance();
2393
+ r.push(new ht(o.parts[0], o.sourceSpan));
2394
+ }
2395
+ this._peek.type === 26 && this._advance();
2396
+ let n = this._peek.sourceSpan.fullStart, s = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), i = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), a = new ee(e.parts[0], r, [], s, e.sourceSpan, i);
2397
+ this._pushContainer(a, false);
2398
+ }
2399
+ _consumeBlockClose(e) {
2400
+ this._popContainer(null, ee, e.sourceSpan) || this.errors.push(L.create(null, e.sourceSpan, 'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "&#125;" HTML entity instead.'));
2401
+ }
2402
+ _consumeIncompleteBlock(e) {
2403
+ let r = [];
2404
+ for (; this._peek.type === 28; ) {
2405
+ let o = this._advance();
2406
+ r.push(new ht(o.parts[0], o.sourceSpan));
2407
+ }
2408
+ let n = this._peek.sourceSpan.fullStart, s = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), i = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), a = new ee(e.parts[0], r, [], s, e.sourceSpan, i);
2409
+ this._pushContainer(a, false), this._popContainer(null, ee, null), this.errors.push(L.create(e.parts[0], s, `Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`));
2410
+ }
2411
+ _consumeLet(e) {
2412
+ let r = e.parts[0], n, s;
2413
+ if (this._peek.type !== 31) {
2414
+ this.errors.push(L.create(e.parts[0], e.sourceSpan, `Invalid @let declaration "${r}". Declaration must have a value.`));
2415
+ return;
2416
+ } else n = this._advance();
2417
+ if (this._peek.type !== 32) {
2418
+ this.errors.push(L.create(e.parts[0], e.sourceSpan, `Unterminated @let declaration "${r}". Declaration must be terminated with a semicolon.`));
2419
+ return;
2420
+ } else s = this._advance();
2421
+ let i = s.sourceSpan.fullStart, a = new h(e.sourceSpan.start, i, e.sourceSpan.fullStart), o = e.sourceSpan.toString().lastIndexOf(r), u = e.sourceSpan.start.moveBy(o), p = new h(u, e.sourceSpan.end), l = new mt(r, n.parts[0], a, p, n.sourceSpan);
2422
+ this._addToParent(l);
2423
+ }
2424
+ _consumeIncompleteLet(e) {
2425
+ var _a2;
2426
+ let r = (_a2 = e.parts[0]) != null ? _a2 : "", n = r ? ` "${r}"` : "";
2427
+ if (r.length > 0) {
2428
+ let s = e.sourceSpan.toString().lastIndexOf(r), i = e.sourceSpan.start.moveBy(s), a = new h(i, e.sourceSpan.end), o = new h(e.sourceSpan.start, e.sourceSpan.start.moveBy(0)), u = new mt(r, "", e.sourceSpan, a, o);
2429
+ this._addToParent(u);
2430
+ }
2431
+ this.errors.push(L.create(e.parts[0], e.sourceSpan, `Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``));
2432
+ }
2433
+ _getContainer() {
2434
+ return this._containerStack.length > 0 ? this._containerStack[this._containerStack.length - 1] : null;
2435
+ }
2436
+ _getClosestParentElement() {
2437
+ for (let e = this._containerStack.length - 1; e > -1; e--) if (this._containerStack[e] instanceof Y) return this._containerStack[e];
2438
+ return null;
2439
+ }
2440
+ _addToParent(e) {
2441
+ let r = this._getContainer();
2442
+ r === null ? this.rootNodes.push(e) : r.children.push(e);
2443
+ }
2444
+ _getElementFullName(e, r, n) {
2445
+ if (e === "" && (e = this.getTagDefinition(r).implicitNamespacePrefix || "", e === "" && n != null)) {
2446
+ let s = ct(n.name)[1];
2447
+ this.getTagDefinition(s).preventNamespaceInheritance || (e = Me(n.name));
2448
+ }
2449
+ return qe(e, r);
2450
+ }
2451
+ };
2452
+ function li(t, e) {
2453
+ return t.length > 0 && t[t.length - 1] === e;
2454
+ }
2455
+ function ci(t, e) {
2456
+ return Ve[e] !== void 0 ? Ve[e] || t : /^#x[a-f0-9]+$/i.test(e) ? String.fromCodePoint(parseInt(e.slice(2), 16)) : /^#\d+$/.test(e) ? String.fromCodePoint(parseInt(e.slice(1), 10)) : t;
2457
+ }
2458
+ var ar = class extends ir {
2459
+ constructor() {
2460
+ super(He);
2461
+ }
2462
+ parse(e, r, n, s = false, i) {
2463
+ return super.parse(e, r, n, s, i);
2464
+ }
2465
+ };
2466
+ var Qr = null, Yo = () => (Qr || (Qr = new ar()), Qr);
2467
+ function Jr(t, e = {}) {
2468
+ let { canSelfClose: r = false, allowHtmComponentClosingTags: n = false, isTagNameCaseSensitive: s = false, getTagContentType: i, tokenizeAngularBlocks: a = false, tokenizeAngularLetDeclaration: o = false } = e;
2469
+ return Yo().parse(t, "angular-html-parser", { tokenizeExpansionForms: a, interpolationConfig: void 0, canSelfClose: r, allowHtmComponentClosingTags: n, tokenizeBlocks: a, tokenizeLet: o }, s, i);
2470
+ }
2471
+ function jo(t, e) {
2472
+ let r = new SyntaxError(t + " (" + e.loc.start.line + ":" + e.loc.start.column + ")");
2473
+ return Object.assign(r, e);
2474
+ }
2475
+ var pi = jo;
2476
+ var _t = 3;
2477
+ function Ko(t) {
2478
+ let e = t.slice(0, _t);
2479
+ if (e !== "---" && e !== "+++") return;
2480
+ let r = t.indexOf(`
2481
+ `, _t);
2482
+ if (r === -1) return;
2483
+ let n = t.slice(_t, r).trim(), s = t.indexOf(`
2484
+ ${e}`, r), i = n;
2485
+ if (i || (i = e === "+++" ? "toml" : "yaml"), s === -1 && e === "---" && i === "yaml" && (s = t.indexOf(`
2486
+ ...`, r)), s === -1) return;
2487
+ let a = s + 1 + _t, o = t.charAt(a + 1);
2488
+ if (!/\s?/u.test(o)) return;
2489
+ let u = t.slice(0, a);
2490
+ return { type: "front-matter", language: i, explicitLanguage: n, value: t.slice(r + 1, s), startDelimiter: e, endDelimiter: u.slice(-_t), raw: u };
2491
+ }
2492
+ function Xo(t) {
2493
+ let e = Ko(t);
2494
+ if (!e) return { content: t };
2495
+ let { raw: r } = e;
2496
+ return { frontMatter: e, content: w(false, r, /[^\n]/gu, " ") + t.slice(r.length) };
2497
+ }
2498
+ var hi = Xo;
2499
+ var or = { attrs: true, children: true, cases: true, expression: true }, mi = /* @__PURE__ */ new Set(["parent"]), le, Zr, en, Ge = class Ge2 {
2500
+ constructor(e = {}) {
2501
+ Dt(this, le);
2502
+ cr(this, "type");
2503
+ cr(this, "parent");
2504
+ for (let r of /* @__PURE__ */ new Set([...mi, ...Object.keys(e)])) this.setProperty(r, e[r]);
2505
+ }
2506
+ setProperty(e, r) {
2507
+ if (this[e] !== r) {
2508
+ if (e in or && (r = r.map((n) => this.createChild(n))), !mi.has(e)) {
2509
+ this[e] = r;
2510
+ return;
2511
+ }
2512
+ Object.defineProperty(this, e, { value: r, enumerable: false, configurable: true });
2513
+ }
2514
+ }
2515
+ map(e) {
2516
+ let r;
2517
+ for (let n in or) {
2518
+ let s = this[n];
2519
+ if (s) {
2520
+ let i = Qo(s, (a) => a.map(e));
2521
+ r !== s && (r || (r = new Ge2({ parent: this.parent })), r.setProperty(n, i));
2522
+ }
2523
+ }
2524
+ if (r) for (let n in this) n in or || (r[n] = this[n]);
2525
+ return e(r || this);
2526
+ }
2527
+ walk(e) {
2528
+ for (let r in or) {
2529
+ let n = this[r];
2530
+ if (n) for (let s = 0; s < n.length; s++) n[s].walk(e);
2531
+ }
2532
+ e(this);
2533
+ }
2534
+ createChild(e) {
2535
+ let r = e instanceof Ge2 ? e.clone() : new Ge2(e);
2536
+ return r.setProperty("parent", this), r;
2537
+ }
2538
+ insertChildBefore(e, r) {
2539
+ let n = this.$children;
2540
+ n.splice(n.indexOf(e), 0, this.createChild(r));
2541
+ }
2542
+ removeChild(e) {
2543
+ let r = this.$children;
2544
+ r.splice(r.indexOf(e), 1);
2545
+ }
2546
+ replaceChild(e, r) {
2547
+ let n = this.$children;
2548
+ n[n.indexOf(e)] = this.createChild(r);
2549
+ }
2550
+ clone() {
2551
+ return new Ge2(this);
2552
+ }
2553
+ get $children() {
2554
+ return this[R(this, le, Zr)];
2555
+ }
2556
+ set $children(e) {
2557
+ this[R(this, le, Zr)] = e;
2558
+ }
2559
+ get firstChild() {
2560
+ var e;
2561
+ return (e = this.$children) == null ? void 0 : e[0];
2562
+ }
2563
+ get lastChild() {
2564
+ return K(true, this.$children, -1);
2565
+ }
2566
+ get prev() {
2567
+ let e = R(this, le, en);
2568
+ return e[e.indexOf(this) - 1];
2569
+ }
2570
+ get next() {
2571
+ let e = R(this, le, en);
2572
+ return e[e.indexOf(this) + 1];
2573
+ }
2574
+ get rawName() {
2575
+ return this.hasExplicitNamespace ? this.fullName : this.name;
2576
+ }
2577
+ get fullName() {
2578
+ return this.namespace ? this.namespace + ":" + this.name : this.name;
2579
+ }
2580
+ get attrMap() {
2581
+ return Object.fromEntries(this.attrs.map((e) => [e.fullName, e.value]));
2582
+ }
2583
+ };
2584
+ le = /* @__PURE__ */ new WeakSet(), Zr = function() {
2585
+ return this.type === "angularIcuCase" ? "expression" : this.type === "angularIcuExpression" ? "cases" : "children";
2586
+ }, en = function() {
2587
+ var _a2;
2588
+ var e;
2589
+ return (_a2 = (e = this.parent) == null ? void 0 : e.$children) != null ? _a2 : [];
2590
+ };
2591
+ var ur = Ge;
2592
+ function Qo(t, e) {
2593
+ let r = t.map(e);
2594
+ return r.some((n, s) => n !== t[s]) ? r : t;
2595
+ }
2596
+ var Jo = [{ regex: new RegExp("^(\\[if([^\\]]*)\\]>)(.*?)<!\\s*\\[endif\\]$", "su"), parse: Zo }, { regex: /^\[if([^\]]*)\]><!$/u, parse: eu }, { regex: /^<!\s*\[endif\]$/u, parse: tu }];
2597
+ function fi(t, e) {
2598
+ if (t.value) for (let { regex: r, parse: n } of Jo) {
2599
+ let s = t.value.match(r);
2600
+ if (s) return n(t, e, s);
2601
+ }
2602
+ return null;
2603
+ }
2604
+ function Zo(t, e, r) {
2605
+ let [, n, s, i] = r, a = 4 + n.length, o = t.sourceSpan.start.moveBy(a), u = o.moveBy(i.length), [p, l] = (() => {
2606
+ try {
2607
+ return [true, e(i, o).children];
2608
+ } catch (e2) {
2609
+ return [false, [{ type: "text", value: i, sourceSpan: new h(o, u) }]];
2610
+ }
2611
+ })();
2612
+ return { type: "ieConditionalComment", complete: p, children: l, condition: w(false, s.trim(), /\s+/gu, " "), sourceSpan: t.sourceSpan, startSourceSpan: new h(t.sourceSpan.start, o), endSourceSpan: new h(u, t.sourceSpan.end) };
2613
+ }
2614
+ function eu(t, e, r) {
2615
+ let [, n] = r;
2616
+ return { type: "ieConditionalStartComment", condition: w(false, n.trim(), /\s+/gu, " "), sourceSpan: t.sourceSpan };
2617
+ }
2618
+ function tu(t) {
2619
+ return { type: "ieConditionalEndComment", sourceSpan: t.sourceSpan };
2620
+ }
2621
+ var lr = /* @__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"])]]);
2622
+ var di = /* @__PURE__ */ new Set(["a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "command", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "isindex", "kbd", "keygen", "label", "legend", "li", "link", "listing", "main", "map", "mark", "marquee", "math", "menu", "menuitem", "meta", "meter", "multicol", "nav", "nextid", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "pre", "progress", "q", "rb", "rbc", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp"]);
2623
+ function ru(t) {
2624
+ if (t.type === "block") {
2625
+ if (t.name = w(false, t.name.toLowerCase(), /\s+/gu, " ").trim(), t.type = "angularControlFlowBlock", !me(t.parameters)) {
2626
+ delete t.parameters;
2627
+ return;
2628
+ }
2629
+ for (let e of t.parameters) e.type = "angularControlFlowBlockParameter";
2630
+ t.parameters = { type: "angularControlFlowBlockParameters", children: t.parameters, sourceSpan: new h(t.parameters[0].sourceSpan.start, K(false, t.parameters, -1).sourceSpan.end) };
2631
+ }
2632
+ }
2633
+ function nu(t) {
2634
+ t.type === "letDeclaration" && (t.type = "angularLetDeclaration", t.id = t.name, t.init = { type: "angularLetDeclarationInitializer", sourceSpan: new h(t.valueSpan.start, t.valueSpan.end), value: t.value }, delete t.name, delete t.value);
2635
+ }
2636
+ function su(t) {
2637
+ (t.type === "plural" || t.type === "select") && (t.clause = t.type, t.type = "angularIcuExpression"), t.type === "expansionCase" && (t.type = "angularIcuCase");
2638
+ }
2639
+ function Ci(t, e, r) {
2640
+ let { name: n, canSelfClose: s = true, normalizeTagName: i = false, normalizeAttributeName: a = false, allowHtmComponentClosingTags: o = false, isTagNameCaseSensitive: u = false, shouldParseAsRawText: p } = e, { rootNodes: l, errors: m } = Jr(t, { canSelfClose: s, allowHtmComponentClosingTags: o, isTagNameCaseSensitive: u, getTagContentType: p ? (...c) => p(...c) ? N.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: n === "angular" ? true : void 0, tokenizeAngularLetDeclaration: n === "angular" ? true : void 0 });
2641
+ if (n === "vue") {
2642
+ if (l.some((x) => x.type === "docType" && x.value === "html" || x.type === "element" && x.name.toLowerCase() === "html")) return Ci(t, tn, r);
2643
+ let g, y = () => g != null ? g : g = Jr(t, { canSelfClose: s, allowHtmComponentClosingTags: o, isTagNameCaseSensitive: u }), q = (x) => {
2644
+ var _a2;
2645
+ return (_a2 = y().rootNodes.find(({ startSourceSpan: U }) => U && U.start.offset === x.startSourceSpan.start.offset)) != null ? _a2 : x;
2646
+ };
2647
+ for (let [x, U] of l.entries()) {
2648
+ let { endSourceSpan: nn, startSourceSpan: _i } = U;
2649
+ if (nn === null) m = y().errors, l[x] = q(U);
2650
+ else if (iu(U, r)) {
2651
+ let sn = y().errors.find((an) => an.span.start.offset > _i.start.offset && an.span.start.offset < nn.end.offset);
2652
+ sn && gi(sn), l[x] = q(U);
2653
+ }
2654
+ }
2655
+ }
2656
+ m.length > 0 && gi(m[0]);
2657
+ let f = (c) => {
2658
+ 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;
2659
+ c.name = x, c.namespace = g, c.hasExplicitNamespace = q;
2660
+ }, C = (c) => {
2661
+ switch (c.type) {
2662
+ case "element":
2663
+ f(c);
2664
+ for (let g of c.attrs) f(g), g.valueSpan ? (g.value = g.valueSpan.toString(), /["']/u.test(g.value[0]) && (g.value = g.value.slice(1, -1))) : g.value = null;
2665
+ break;
2666
+ case "comment":
2667
+ c.value = c.sourceSpan.toString().slice(4, -3);
2668
+ break;
2669
+ case "text":
2670
+ c.value = c.sourceSpan.toString();
2671
+ break;
2672
+ }
2673
+ }, A = (c, g) => {
2674
+ let y = c.toLowerCase();
2675
+ return g(y) ? y : c;
2676
+ }, D = (c) => {
2677
+ if (c.type === "element" && (i && (!c.namespace || c.namespace === c.tagDefinition.implicitNamespacePrefix || fe(c)) && (c.name = A(c.name, (g) => di.has(g))), a)) for (let g of c.attrs) g.namespace || (g.name = A(g.name, (y) => lr.has(c.name) && (lr.get("*").has(y) || lr.get(c.name).has(y))));
2678
+ }, I = (c) => {
2679
+ c.sourceSpan && c.endSourceSpan && (c.sourceSpan = new h(c.sourceSpan.start, c.endSourceSpan.end));
2680
+ }, F = (c) => {
2681
+ if (c.type === "element") {
2682
+ let g = He(u ? c.name : c.name.toLowerCase());
2683
+ !c.namespace || c.namespace === g.implicitNamespacePrefix || fe(c) ? c.tagDefinition = g : c.tagDefinition = He("");
2684
+ }
2685
+ };
2686
+ return Jt(new class extends ft {
2687
+ visitExpansionCase(c, g) {
2688
+ n === "angular" && this.visitChildren(g, (y) => {
2689
+ y(c.expression);
2690
+ });
2691
+ }
2692
+ visit(c) {
2693
+ C(c), F(c), D(c), I(c);
2694
+ }
2695
+ }(), l), l;
2696
+ }
2697
+ function iu(t, e) {
2698
+ var n;
2699
+ if (t.type !== "element" || t.name !== "template") return false;
2700
+ let r = (n = t.attrs.find((s) => s.name === "lang")) == null ? void 0 : n.value;
2701
+ return !r || Ne(e, { language: r }) === "html";
2702
+ }
2703
+ function gi(t) {
2704
+ let { msg: e, span: { start: r, end: n } } = t;
2705
+ throw pi(e, { loc: { start: { line: r.line + 1, column: r.col + 1 }, end: { line: n.line + 1, column: n.col + 1 } }, cause: t });
2706
+ }
2707
+ function Si(t, e, r = {}, n = true) {
2708
+ let { frontMatter: s, content: i } = n ? hi(t) : { frontMatter: null, content: t }, a = new ve(t, r.filepath), o = new ie(a, 0, 0, 0), u = o.moveBy(t.length), p = { type: "root", sourceSpan: new h(o, u), children: Ci(i, e, r) };
2709
+ if (s) {
2710
+ let f = new ie(a, 0, 0, 0), C = f.moveBy(s.raw.length);
2711
+ s.sourceSpan = new h(f, C), p.children.unshift(s);
2712
+ }
2713
+ let l = new ur(p), m = (f, C) => {
2714
+ let { offset: A } = C, D = w(false, t.slice(0, A), /[^\n\r]/gu, " "), F = Si(D + f, e, r, false);
2715
+ F.sourceSpan = new h(C, K(false, F.children, -1).sourceSpan.end);
2716
+ let c = F.children[0];
2717
+ 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;
2718
+ };
2719
+ return l.walk((f) => {
2720
+ if (f.type === "comment") {
2721
+ let C = fi(f, m);
2722
+ C && f.parent.replaceChild(f, C);
2723
+ }
2724
+ ru(f), nu(f), su(f);
2725
+ }), l;
2726
+ }
2727
+ function Et(t) {
2728
+ return { parse: (e, r) => Si(e, t, r), hasPragma: ys, hasIgnorePragma: ws, astFormat: "html", locStart: J, locEnd: se };
2729
+ }
2730
+ var tn = { name: "html", normalizeTagName: true, normalizeAttributeName: true, allowHtmComponentClosingTags: true }, au = Et(tn), ou = /* @__PURE__ */ new Set(["mj-style", "mj-raw"]), uu = Et(__spreadProps(__spreadValues({}, tn), { name: "mjml", shouldParseAsRawText: (t) => ou.has(t) })), lu = Et({ name: "angular" }), cu = Et({ name: "vue", isTagNameCaseSensitive: true, shouldParseAsRawText(t, e, r, n) {
2731
+ return t.toLowerCase() !== "html" && !r && (t !== "template" || n.some(({ name: s, value: i }) => s === "lang" && i !== "html" && i !== "" && i !== void 0));
2732
+ } }), pu = Et({ name: "lwc", canSelfClose: false });
2733
+ var hu = { html: Ms };
2734
+ return wi(mu);
2735
+ });
2736
+ }
2737
+ });
2738
+ export default require_html();