@oxbit/cli 0.0.0-stage → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +19 -2
  3. package/package.json +52 -4
  4. package/runtime/dist/index.js +12505 -0
  5. package/runtime/package.json +6 -0
  6. package/scripts/repair-pty.mjs +44 -0
  7. package/web/dist/LICENSE.txt +21 -0
  8. package/web/dist/apple-touch-icon.png +0 -0
  9. package/web/dist/assets/addon-image-BxricI7a.js +2 -0
  10. package/web/dist/assets/addon-ligatures-BOzI2Oy0.js +3 -0
  11. package/web/dist/assets/addon-webgl-PbQqCq-D.js +59 -0
  12. package/web/dist/assets/babel-BktJt1uC.js +17 -0
  13. package/web/dist/assets/estree-DFfjoHvx.js +45 -0
  14. package/web/dist/assets/format.worker-BOByM0b_.js +3 -0
  15. package/web/dist/assets/html-DwgzGnwN.js +26 -0
  16. package/web/dist/assets/index-WzJHy4M7.js +251 -0
  17. package/web/dist/assets/index-nCiWoOlW.css +1 -0
  18. package/web/dist/assets/markdown-Bd15IfY5.js +71 -0
  19. package/web/dist/assets/postcss-BGfBeQpW.js +63 -0
  20. package/web/dist/assets/standalone-Cayz_KD-.js +30 -0
  21. package/web/dist/assets/typescript-CaioFRCx.js +434 -0
  22. package/web/dist/assets/typescript-HXNn4lJN.js +434 -0
  23. package/web/dist/assets/typescript-cMir0TZb.js +23 -0
  24. package/web/dist/assets/worker-CsXkqX-T.js +4 -0
  25. package/web/dist/brand/index.html +65 -0
  26. package/web/dist/brand/oxbit-avatar.png +0 -0
  27. package/web/dist/brand/oxbit-avatar.svg +1 -0
  28. package/web/dist/brand/oxbit-brand-kit.zip +0 -0
  29. package/web/dist/brand/oxbit-github-banner.png +0 -0
  30. package/web/dist/brand/oxbit-github-banner.svg +1 -0
  31. package/web/dist/brand/oxbit-logo-dark.png +0 -0
  32. package/web/dist/brand/oxbit-logo-dark.svg +1 -0
  33. package/web/dist/brand/oxbit-logo-mono.svg +1 -0
  34. package/web/dist/brand/oxbit-logo-white.svg +1 -0
  35. package/web/dist/brand/oxbit-logo.png +0 -0
  36. package/web/dist/brand/oxbit-logo.svg +1 -0
  37. package/web/dist/brand/oxbit-mark-dark.svg +1 -0
  38. package/web/dist/brand/oxbit-mark-light.svg +1 -0
  39. package/web/dist/brand/oxbit-mark-teal.svg +1 -0
  40. package/web/dist/brand/oxbit-mark.png +0 -0
  41. package/web/dist/brand/oxbit-mark.svg +1 -0
  42. package/web/dist/brand/oxbit-social-card.png +0 -0
  43. package/web/dist/brand/oxbit-social-card.svg +1 -0
  44. package/web/dist/brand/oxbit-wordmark-dark.svg +1 -0
  45. package/web/dist/brand/oxbit-wordmark.svg +1 -0
  46. package/web/dist/brand/preview.js +10 -0
  47. package/web/dist/brand/variants/README.md +33 -0
  48. package/web/dist/brand/variants/dark/browser/apple-touch-icon-120x120.png +0 -0
  49. package/web/dist/brand/variants/dark/browser/apple-touch-icon-152x152.png +0 -0
  50. package/web/dist/brand/variants/dark/browser/apple-touch-icon-167x167.png +0 -0
  51. package/web/dist/brand/variants/dark/browser/apple-touch-icon-180x180.png +0 -0
  52. package/web/dist/brand/variants/dark/browser/apple-touch-icon.png +0 -0
  53. package/web/dist/brand/variants/dark/browser/favicon-16x16.png +0 -0
  54. package/web/dist/brand/variants/dark/browser/favicon-32x32.png +0 -0
  55. package/web/dist/brand/variants/dark/browser/favicon-48x48.png +0 -0
  56. package/web/dist/brand/variants/dark/browser/favicon.ico +0 -0
  57. package/web/dist/brand/variants/dark/browser/favicon.svg +1 -0
  58. package/web/dist/brand/variants/dark/full-logo/oxbit-full-logo-1120x320.png +0 -0
  59. package/web/dist/brand/variants/dark/full-logo/oxbit-full-logo-2240x640.png +0 -0
  60. package/web/dist/brand/variants/dark/full-logo/oxbit-full-logo-4480x1280.png +0 -0
  61. package/web/dist/brand/variants/dark/full-logo/oxbit-full-logo-560x160.png +0 -0
  62. package/web/dist/brand/variants/dark/full-logo/oxbit-full-logo.png +0 -0
  63. package/web/dist/brand/variants/dark/full-logo/oxbit-full-logo.svg +1 -0
  64. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-1024x1024.png +0 -0
  65. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-128x128.png +0 -0
  66. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-144x144.png +0 -0
  67. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-152x152.png +0 -0
  68. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-16x16.png +0 -0
  69. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-180x180.png +0 -0
  70. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-192x192.png +0 -0
  71. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-2048x2048.png +0 -0
  72. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-24x24.png +0 -0
  73. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-256x256.png +0 -0
  74. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-32x32.png +0 -0
  75. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-384x384.png +0 -0
  76. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-48x48.png +0 -0
  77. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-512x512.png +0 -0
  78. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-64x64.png +0 -0
  79. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-96x96.png +0 -0
  80. package/web/dist/brand/variants/dark/full-logo/square/oxbit-full-logo-square.svg +1 -0
  81. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-1024x1024.png +0 -0
  82. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-128x128.png +0 -0
  83. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-144x144.png +0 -0
  84. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-152x152.png +0 -0
  85. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-16x16.png +0 -0
  86. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-180x180.png +0 -0
  87. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-192x192.png +0 -0
  88. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-2048x2048.png +0 -0
  89. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-24x24.png +0 -0
  90. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-256x256.png +0 -0
  91. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-32x32.png +0 -0
  92. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-384x384.png +0 -0
  93. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-48x48.png +0 -0
  94. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-512x512.png +0 -0
  95. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-64x64.png +0 -0
  96. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark-96x96.png +0 -0
  97. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark.png +0 -0
  98. package/web/dist/brand/variants/dark/logo-mark/oxbit-logo-mark.svg +1 -0
  99. package/web/dist/brand/variants/dark-transparent/browser/apple-touch-icon-120x120.png +0 -0
  100. package/web/dist/brand/variants/dark-transparent/browser/apple-touch-icon-152x152.png +0 -0
  101. package/web/dist/brand/variants/dark-transparent/browser/apple-touch-icon-167x167.png +0 -0
  102. package/web/dist/brand/variants/dark-transparent/browser/apple-touch-icon-180x180.png +0 -0
  103. package/web/dist/brand/variants/dark-transparent/browser/apple-touch-icon.png +0 -0
  104. package/web/dist/brand/variants/dark-transparent/browser/favicon-16x16.png +0 -0
  105. package/web/dist/brand/variants/dark-transparent/browser/favicon-32x32.png +0 -0
  106. package/web/dist/brand/variants/dark-transparent/browser/favicon-48x48.png +0 -0
  107. package/web/dist/brand/variants/dark-transparent/browser/favicon.ico +0 -0
  108. package/web/dist/brand/variants/dark-transparent/browser/favicon.svg +1 -0
  109. package/web/dist/brand/variants/dark-transparent/full-logo/oxbit-full-logo-1120x320.png +0 -0
  110. package/web/dist/brand/variants/dark-transparent/full-logo/oxbit-full-logo-2240x640.png +0 -0
  111. package/web/dist/brand/variants/dark-transparent/full-logo/oxbit-full-logo-4480x1280.png +0 -0
  112. package/web/dist/brand/variants/dark-transparent/full-logo/oxbit-full-logo-560x160.png +0 -0
  113. package/web/dist/brand/variants/dark-transparent/full-logo/oxbit-full-logo.png +0 -0
  114. package/web/dist/brand/variants/dark-transparent/full-logo/oxbit-full-logo.svg +1 -0
  115. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-1024x1024.png +0 -0
  116. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-128x128.png +0 -0
  117. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-144x144.png +0 -0
  118. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-152x152.png +0 -0
  119. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-16x16.png +0 -0
  120. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-180x180.png +0 -0
  121. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-192x192.png +0 -0
  122. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-2048x2048.png +0 -0
  123. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-24x24.png +0 -0
  124. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-256x256.png +0 -0
  125. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-32x32.png +0 -0
  126. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-384x384.png +0 -0
  127. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-48x48.png +0 -0
  128. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-512x512.png +0 -0
  129. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-64x64.png +0 -0
  130. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-96x96.png +0 -0
  131. package/web/dist/brand/variants/dark-transparent/full-logo/square/oxbit-full-logo-square.svg +1 -0
  132. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-1024x1024.png +0 -0
  133. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-128x128.png +0 -0
  134. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-144x144.png +0 -0
  135. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-152x152.png +0 -0
  136. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-16x16.png +0 -0
  137. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-180x180.png +0 -0
  138. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-192x192.png +0 -0
  139. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-2048x2048.png +0 -0
  140. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-24x24.png +0 -0
  141. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-256x256.png +0 -0
  142. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-32x32.png +0 -0
  143. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-384x384.png +0 -0
  144. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-48x48.png +0 -0
  145. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-512x512.png +0 -0
  146. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-64x64.png +0 -0
  147. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark-96x96.png +0 -0
  148. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark.png +0 -0
  149. package/web/dist/brand/variants/dark-transparent/logo-mark/oxbit-logo-mark.svg +1 -0
  150. package/web/dist/brand/variants/index.html +8 -0
  151. package/web/dist/brand/variants/light/browser/apple-touch-icon-120x120.png +0 -0
  152. package/web/dist/brand/variants/light/browser/apple-touch-icon-152x152.png +0 -0
  153. package/web/dist/brand/variants/light/browser/apple-touch-icon-167x167.png +0 -0
  154. package/web/dist/brand/variants/light/browser/apple-touch-icon-180x180.png +0 -0
  155. package/web/dist/brand/variants/light/browser/apple-touch-icon.png +0 -0
  156. package/web/dist/brand/variants/light/browser/favicon-16x16.png +0 -0
  157. package/web/dist/brand/variants/light/browser/favicon-32x32.png +0 -0
  158. package/web/dist/brand/variants/light/browser/favicon-48x48.png +0 -0
  159. package/web/dist/brand/variants/light/browser/favicon.ico +0 -0
  160. package/web/dist/brand/variants/light/browser/favicon.svg +1 -0
  161. package/web/dist/brand/variants/light/full-logo/oxbit-full-logo-1120x320.png +0 -0
  162. package/web/dist/brand/variants/light/full-logo/oxbit-full-logo-2240x640.png +0 -0
  163. package/web/dist/brand/variants/light/full-logo/oxbit-full-logo-4480x1280.png +0 -0
  164. package/web/dist/brand/variants/light/full-logo/oxbit-full-logo-560x160.png +0 -0
  165. package/web/dist/brand/variants/light/full-logo/oxbit-full-logo.png +0 -0
  166. package/web/dist/brand/variants/light/full-logo/oxbit-full-logo.svg +1 -0
  167. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-1024x1024.png +0 -0
  168. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-128x128.png +0 -0
  169. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-144x144.png +0 -0
  170. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-152x152.png +0 -0
  171. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-16x16.png +0 -0
  172. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-180x180.png +0 -0
  173. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-192x192.png +0 -0
  174. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-2048x2048.png +0 -0
  175. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-24x24.png +0 -0
  176. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-256x256.png +0 -0
  177. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-32x32.png +0 -0
  178. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-384x384.png +0 -0
  179. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-48x48.png +0 -0
  180. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-512x512.png +0 -0
  181. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-64x64.png +0 -0
  182. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-96x96.png +0 -0
  183. package/web/dist/brand/variants/light/full-logo/square/oxbit-full-logo-square.svg +1 -0
  184. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-1024x1024.png +0 -0
  185. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-128x128.png +0 -0
  186. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-144x144.png +0 -0
  187. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-152x152.png +0 -0
  188. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-16x16.png +0 -0
  189. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-180x180.png +0 -0
  190. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-192x192.png +0 -0
  191. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-2048x2048.png +0 -0
  192. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-24x24.png +0 -0
  193. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-256x256.png +0 -0
  194. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-32x32.png +0 -0
  195. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-384x384.png +0 -0
  196. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-48x48.png +0 -0
  197. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-512x512.png +0 -0
  198. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-64x64.png +0 -0
  199. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark-96x96.png +0 -0
  200. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark.png +0 -0
  201. package/web/dist/brand/variants/light/logo-mark/oxbit-logo-mark.svg +1 -0
  202. package/web/dist/brand/variants/light-transparent/browser/apple-touch-icon-120x120.png +0 -0
  203. package/web/dist/brand/variants/light-transparent/browser/apple-touch-icon-152x152.png +0 -0
  204. package/web/dist/brand/variants/light-transparent/browser/apple-touch-icon-167x167.png +0 -0
  205. package/web/dist/brand/variants/light-transparent/browser/apple-touch-icon-180x180.png +0 -0
  206. package/web/dist/brand/variants/light-transparent/browser/apple-touch-icon.png +0 -0
  207. package/web/dist/brand/variants/light-transparent/browser/favicon-16x16.png +0 -0
  208. package/web/dist/brand/variants/light-transparent/browser/favicon-32x32.png +0 -0
  209. package/web/dist/brand/variants/light-transparent/browser/favicon-48x48.png +0 -0
  210. package/web/dist/brand/variants/light-transparent/browser/favicon.ico +0 -0
  211. package/web/dist/brand/variants/light-transparent/browser/favicon.svg +1 -0
  212. package/web/dist/brand/variants/light-transparent/full-logo/oxbit-full-logo-1120x320.png +0 -0
  213. package/web/dist/brand/variants/light-transparent/full-logo/oxbit-full-logo-2240x640.png +0 -0
  214. package/web/dist/brand/variants/light-transparent/full-logo/oxbit-full-logo-4480x1280.png +0 -0
  215. package/web/dist/brand/variants/light-transparent/full-logo/oxbit-full-logo-560x160.png +0 -0
  216. package/web/dist/brand/variants/light-transparent/full-logo/oxbit-full-logo.png +0 -0
  217. package/web/dist/brand/variants/light-transparent/full-logo/oxbit-full-logo.svg +1 -0
  218. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-1024x1024.png +0 -0
  219. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-128x128.png +0 -0
  220. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-144x144.png +0 -0
  221. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-152x152.png +0 -0
  222. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-16x16.png +0 -0
  223. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-180x180.png +0 -0
  224. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-192x192.png +0 -0
  225. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-2048x2048.png +0 -0
  226. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-24x24.png +0 -0
  227. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-256x256.png +0 -0
  228. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-32x32.png +0 -0
  229. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-384x384.png +0 -0
  230. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-48x48.png +0 -0
  231. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-512x512.png +0 -0
  232. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-64x64.png +0 -0
  233. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-96x96.png +0 -0
  234. package/web/dist/brand/variants/light-transparent/full-logo/square/oxbit-full-logo-square.svg +1 -0
  235. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-1024x1024.png +0 -0
  236. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-128x128.png +0 -0
  237. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-144x144.png +0 -0
  238. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-152x152.png +0 -0
  239. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-16x16.png +0 -0
  240. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-180x180.png +0 -0
  241. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-192x192.png +0 -0
  242. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-2048x2048.png +0 -0
  243. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-24x24.png +0 -0
  244. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-256x256.png +0 -0
  245. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-32x32.png +0 -0
  246. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-384x384.png +0 -0
  247. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-48x48.png +0 -0
  248. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-512x512.png +0 -0
  249. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-64x64.png +0 -0
  250. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark-96x96.png +0 -0
  251. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark.png +0 -0
  252. package/web/dist/brand/variants/light-transparent/logo-mark/oxbit-logo-mark.svg +1 -0
  253. package/web/dist/brand/variants/manifest.json +1218 -0
  254. package/web/dist/brand/variants/preview.css +1 -0
  255. package/web/dist/extensions/bundle-inspector.js +369 -0
  256. package/web/dist/favicon.ico +0 -0
  257. package/web/dist/favicon.svg +1 -0
  258. package/web/dist/fonts/fonts.css +46 -0
  259. package/web/dist/fonts/instrumentsans-OFL.txt +93 -0
  260. package/web/dist/fonts/jetbrainsmono-OFL.txt +93 -0
  261. package/web/dist/fonts/oxbit-font-0.woff2 +0 -0
  262. package/web/dist/fonts/oxbit-font-1.woff2 +0 -0
  263. package/web/dist/fonts/oxbit-font-2.woff2 +0 -0
  264. package/web/dist/fonts/oxbit-font-3.woff2 +0 -0
  265. package/web/dist/fonts/oxbit-font-4.woff2 +0 -0
  266. package/web/dist/fonts/oxbit-font-5.woff2 +0 -0
  267. package/web/dist/icon-192.png +0 -0
  268. package/web/dist/icon-512.png +0 -0
  269. package/web/dist/index.html +5 -0
  270. package/web/dist/licenses/vscode-themes.txt +21 -0
  271. package/web/dist/panel.html +2 -0
  272. package/web/dist/schemas/icon-file.v1.schema.json +385 -0
  273. package/web/dist/schemas/icon-manifest.v1.schema.json +122 -0
  274. package/web/dist/schemas/icon-product.v1.schema.json +124 -0
  275. package/web/dist/schemas/settings.v1.schema.json +861 -0
  276. package/web/dist/schemas/tasks.v1.schema.json +331 -0
  277. package/web/dist/schemas/theme-pack.v1.schema.json +2364 -0
  278. package/web/dist/sdk/index.js +1317 -0
  279. package/web/dist/sdk/react.js +4 -0
  280. package/web/dist/site.webmanifest +23 -0
@@ -0,0 +1,3 @@
1
+ const p=[{id:"typescript",title:"TypeScript",extensions:["ts","mts","cts"],syntax:"typescript",providers:["typescript"],badge:"TS"},{id:"typescriptreact",title:"TypeScript React",extensions:["tsx"],settingsAliases:["tsx"],syntax:"tsx",providers:["typescript"],badge:"TS"},{id:"javascript",title:"JavaScript",extensions:["js","mjs","cjs"],syntax:"javascript",providers:["typescript"],badge:"JS"},{id:"javascriptreact",title:"JavaScript React",extensions:["jsx"],settingsAliases:["javascript"],syntax:"jsx",providers:["typescript"],badge:"JS"},{id:"markdown",title:"Markdown",extensions:["md","markdown"],syntax:"markdown",providers:["marksman"],badge:"M↓"},{id:"mdx",title:"MDX",extensions:["mdx"],syntax:"mdx",providers:["mdx"],badge:"MDX"},{id:"html",title:"HTML",extensions:["html","htm"],syntax:"html",providers:["html"],badge:"<>"},{id:"vue",title:"Vue",extensions:["vue"],syntax:"vue",providers:["vue"],badge:"V"},{id:"astro",title:"Astro",extensions:["astro"],syntax:"astro",providers:["astro"],badge:"A"},{id:"dockerfile",title:"Dockerfile",extensions:["dockerfile"],filenames:["Dockerfile"],patterns:["Dockerfile.*"],syntax:"dockerfile",providers:["dockerfile"],badge:"D"},{id:"shellscript",title:"Bash",extensions:["sh","bash"],filenames:[".bashrc",".bash_profile",".bash_login",".bash_logout",".bash_aliases",".profile"],shebangs:["bash","sh"],syntax:"shell",providers:["bash"],badge:"$"},{id:"zsh",title:"Zsh",extensions:["zsh"],filenames:[".zshrc",".zshenv",".zprofile",".zlogin",".zlogout"],shebangs:["zsh"],syntax:"zsh",providers:["local"],badge:"%"},{id:"json",title:"JSON",extensions:["json"],syntax:"json",providers:["json"],badge:"{}"},{id:"jsonc",title:"JSON with Comments",extensions:["jsonc"],syntax:"jsonc",providers:["json"],badge:"{}"},{id:"jsonl",title:"JSON Lines",extensions:["jsonl","ndjson"],syntax:"jsonl",providers:["local"],badge:"{}"},{id:"toml",title:"TOML",extensions:["toml"],filenames:["Cargo.lock"],patterns:["**/.cargo/config"],syntax:"toml",providers:["taplo"],badge:"T"},{id:"blade",title:"Blade",extensions:["blade.php"],syntax:"php",providers:["laravel"],badge:"B"},{id:"php",title:"PHP",extensions:["php","phtml"],syntax:"php",providers:["intelephense","laravel"],badge:"PHP"},{id:"xml",title:"XML",extensions:["xml","xsd","xsl","xslt","svg"],syntax:"xml",providers:["lemminx"],badge:"<>"},{id:"ini",title:"INI",extensions:["ini"],syntax:"ini",providers:["local"],badge:"="},{id:"dotenv",title:"Environment",extensions:["env"],filenames:[".env"],patterns:[".env.*"],syntax:"dotenv",providers:["local"],badge:"="},{id:"csv",title:"CSV",extensions:["csv"],syntax:"csv",providers:["local"],badge:"▦"},{id:"log",title:"Log",extensions:["log"],syntax:"log",providers:["local"],badge:"≡"},{id:"css",title:"CSS",extensions:["css"],syntax:"css",providers:[],badge:"#"},{id:"plaintext",title:"Plain Text",extensions:["txt"],syntax:"plaintext",providers:[],badge:"·"}];function f(s){return s==="tsx"?"typescriptreact":s==="jsx"?"javascriptreact":s}function x(s,t){if(!s||s.length>1024)return!1;const i=s.split(/(\*\*\/|\*\*|\*|\?)/).map(e=>e==="**/"?"(?:.*/)?":e==="**"?".*":e==="*"?"[^/]*":e==="?"?"[^/]":e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(""),r=t.replaceAll("\\","/").replace(/^\.\//,"");return new RegExp(`^${i}$`).test(s.includes("/")?r:r.split("/").at(-1))}function m(s,t={}){const i=[...t.definitions??[],...p];for(const[a,c]of Object.entries(t.associations??{}).reverse())if(x(a,s)){const d=f(c);return i.find(v=>v.id===d)??{id:d,extensions:[]}}const r=s.replaceAll("\\","/").split("/").at(-1),e=i.find(a=>a.filenames?.includes(r)||a.patterns?.some(c=>x(c,s)));if(e)return e;const o=i.find(a=>a.extensions.some(c=>r.toLowerCase().endsWith("."+c.replace(/^\./,"").toLowerCase())));if(o)return o;const n=/^#!\s*(?:\S*\/)?(\w+)(?:\s+(?:-S\s+)?(\w+))?/.exec(t.firstLine??""),l=n?.[1]==="env"?n[2]:n?.[1];return i.find(a=>l&&a.shebangs?.includes(l))??p[p.length-1]}const S=async(s,t,i)=>{i.signal?.throwIfAborted();const r=await import("./standalone-Cayz_KD-.js"),e=i.language??m(t).id;let o,n;if(["typescript","typescriptreact","javascript","javascriptreact","json","jsonc"].includes(e))o=e==="json"||e==="jsonc"?e:["javascript","javascriptreact"].includes(e)?"babel":"typescript",n=[await import("./typescript-cMir0TZb.js"),await import("./babel-BktJt1uC.js"),await import("./estree-DFfjoHvx.js")];else if(e==="css")o="css",n=[await import("./postcss-BGfBeQpW.js")];else if(["html"].includes(e))o="html",n=[await import("./html-DwgzGnwN.js")];else if(["markdown","mdx"].includes(e))o=e,n=[await import("./markdown-Bd15IfY5.js"),await import("./babel-BktJt1uC.js"),await import("./estree-DFfjoHvx.js")];else throw new Error(`Prettier does not support ${t}`);const l=await r.format(s,{parser:o,plugins:n,tabWidth:i.tabSize,useTabs:!i.insertSpaces});return i.signal?.throwIfAborted(),l},b=async(s,t,i)=>{i.signal?.throwIfAborted();const r=i.language??m(t).id;if(!["typescript","typescriptreact","javascript","javascriptreact","json"].includes(r))throw new Error(`TypeScript formatter does not support ${t}`);const e=await import("./typescript-HXNn4lJN.js").then(function(n){return n.t}),o=e.createLanguageService({getScriptFileNames:()=>[t],getScriptVersion:()=>"1",getScriptKind:()=>({typescript:e.ScriptKind.TS,typescriptreact:e.ScriptKind.TSX,javascript:e.ScriptKind.JS,javascriptreact:e.ScriptKind.JSX,json:e.ScriptKind.JSON})[r]??e.ScriptKind.Unknown,getScriptSnapshot:n=>n===t?e.ScriptSnapshot.fromString(s):void 0,getCurrentDirectory:()=>"",getCompilationSettings:()=>({allowJs:!0,jsx:e.JsxEmit.Preserve,target:e.ScriptTarget.Latest,resolveJsonModule:!0}),getDefaultLibFileName:()=>"lib.d.ts",fileExists:n=>n===t,readFile:n=>n===t?s:void 0,readDirectory:()=>[]});try{const n=o.getFormattingEditsForDocument(t,{indentSize:i.tabSize,tabSize:i.tabSize,convertTabsToSpaces:i.insertSpaces,newLineCharacter:`
2
+ `,indentStyle:e.IndentStyle.Smart,insertSpaceAfterCommaDelimiter:!0,insertSpaceBeforeAndAfterBinaryOperators:!0,insertSpaceAfterKeywordsInControlFlowStatements:!0,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:!0});let l=s;for(const a of n.sort((c,d)=>d.span.start-c.span.start))l=l.slice(0,a.span.start)+a.newText+l.slice(a.span.start+a.span.length);return i.signal?.throwIfAborted(),l}finally{o.dispose()}},g=globalThis;g.onmessage=s=>{const t=s.data;(t.provider==="typescript"?b:S)(t.text,t.path,t).then(r=>g.postMessage({text:r}),r=>g.postMessage({error:r instanceof Error?r.message:String(r)}))};
3
+ //# sourceMappingURL=format.worker-BOByM0b_.js.map
@@ -0,0 +1,26 @@
1
+ var rr=Object.defineProperty,nr=e=>{throw TypeError(e)},rn=(e,t,r)=>t in e?rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ar=(e,t)=>{for(var r in t)rr(e,r,{get:t[r],enumerable:!0})},Et=(e,t,r)=>rn(e,typeof t!="symbol"?t+"":t,r),nn=(e,t,r)=>t.has(e)||nr("Cannot "+r),Le=(e,t,r)=>(nn(e,t,"read from private field"),r?r.call(e):t.get(e)),an=(e,t,r)=>t.has(e)?nr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),sn={};ar(sn,{languages:()=>lo,options:()=>po,parsers:()=>Qr,printers:()=>zo});var ct=(e,t)=>(r,n,...a)=>r|1&&n==null?void 0:(t.call(n)??n[e]).apply(n,a),on=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},un=ct("replaceAll",function(){if(typeof this=="string")return on}),y=un;function ln(e){return this[e<0?this.length+e:e]}var cn=ct("at",function(){if(Array.isArray(this)||typeof this=="string")return ln}),Z=cn,pn=()=>{},hn=pn,ir="string",sr="array",or="cursor",pt="indent",ht="align",ur="trim",dt="group",mt="fill",gt="if-break",ft="indent-if-break",lr="line-suffix",cr="line-suffix-boundary",X="line",pr="label",vt="break-parent",hr=new Set([or,pt,ht,ur,dt,mt,gt,ft,lr,cr,X,pr,vt]);function dr(e,t,r){if(!e.has(t)){let n=r(t);e.set(t,n)}return e.get(t)}function dn(e){if(typeof e=="string")return ir;if(Array.isArray(e))return sr;if(!e)return;let{type:t}=e;if(hr.has(t))return t}var mr=dn,mn=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function gn(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}',
2
+ Expected it to be 'string' or 'object'.`;if(mr(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=mn([...hr].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'.
3
+ Expected it to be ${n}.`}var fn=class extends Error{name="InvalidDocError";constructor(e){super(gn(e)),this.doc=e}},vn=fn;function gr(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){return dr(r,i,a)}function a(i){switch(mr(i)){case sr:return t(i.map(n));case mt:return t({...i,parts:i.parts.map(n)});case gt:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case dt:{let{expandedStates:s,contents:o}=i;return s?(s=s.map(n),o=s[0]):o=n(o),t({...i,contents:o,expandedStates:s})}case ht:case pt:case ft:case pr:case lr:return t({...i,contents:n(i.contents)});case ir:case or:case ur:case cr:case X:case vt:return t(i);default:throw new vn(i)}}}function B(e,t=yn){return gr(e,r=>typeof r=="string"?ee(t,r.split(`
4
+ `)):r)}var Cn=hn;function L(e){return{type:pt,contents:e}}function _n(e,t){return{type:ht,contents:t,n:e}}function Sn(e){return _n(Number.NEGATIVE_INFINITY,e)}var ke={type:vt};function fr(e){return{type:mt,parts:e}}function b(e,t={}){return Cn(t.expandedStates),{type:dt,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Ce(e,t="",r={}){return{type:gt,breakContents:e,flatContents:t,groupId:r.groupId}}function kn(e,t){return{type:ft,contents:e,groupId:t.groupId,negate:t.negate}}function ee(e,t){let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}var S={type:X},w={type:X,soft:!0},bn={type:X,hard:!0},_=[bn,ke],wn={type:X,hard:!0,literal:!0},yn=[wn,ke],vr=Object.freeze({character:"'",codePoint:39}),Cr=Object.freeze({character:'"',codePoint:34}),An=Object.freeze({preferred:vr,alternate:Cr}),xn=Object.freeze({preferred:Cr,alternate:vr});function En(e,t){let{preferred:r,alternate:n}=t===!0||t==="'"?An:xn,{length:a}=e,i=0,s=0;for(let o=0;o<a;o++){let u=e.charCodeAt(o);u===r.codePoint?i++:u===n.codePoint&&s++}return(i>s?n:r).character}function Dn(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Tn=class{#e;constructor(e){this.#e=new Set(e)}getLeadingWhitespaceCount(e){let t=this.#e,r=0;for(let n=0;n<e.length&&t.has(e.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(e){let t=this.#e,r=0;for(let n=e.length-1;n>=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return this.#e.has(e.charAt(0))}hasTrailingWhitespace(e){return this.#e.has(Z(0,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Dn([...this.#e].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=this.#e;return Array.prototype.every.call(e,r=>t.has(r))}#t(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(`
5
+ `)){if(r.length===0)continue;let n=this.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&n<t&&(t=n)}return t===Number.POSITIVE_INFINITY?0:t}dedentString(e){let t=this.#t(e);return t===0?e:e.split(`
6
+ `).map(r=>r.slice(t)).join(`
7
+ `)}},Bn=Tn,Ln=[" ",`
8
+ `,"\f","\r"," "],Fn=new Bn(Ln),D=Fn,Nn=class extends Error{name="UnexpectedNodeError";constructor(e,t,r="type"){super(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},qn=Nn;function be(e,t=!0){return[L([w,e]),t?w:""]}function te(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression"||t.parser==="__ng_binding"||t.parser==="__ng_directive")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function T(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(s,o)=>{a=n(s,o)});let i=await t(e,r,t);return a?b(i):be(i)}function In(e,t,r,n){let{node:a}=r,i=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/.test(i)?"":T(i,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},te)}var Mn=In,Pn=Object.hasOwn??Function.prototype.call.bind(Object.prototype.hasOwnProperty),we=Pn,Hn=Array.prototype.toReversed??function(){return[...this].reverse()},Rn=ct("toReversed",function(){if(Array.isArray(this))return Hn}),Un=Rn;function Vn(){let e=globalThis,t=e.process?.platform;if(typeof t=="string")return t.startsWith("win");let r=e.Deno?.build?.os;return typeof r=="string"?r==="windows":e.navigator?.platform?.startsWith("Win")??!1}var On=Vn();function _r(e){if(e=e instanceof URL?e:new URL(e),e.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}function zn(e){return e=_r(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function $n(e){e=_r(e);let t=decodeURIComponent(e.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return e.hostname!==""&&(t=`\\\\${e.hostname}${t}`),t}function Wn(e){return On?$n(e):zn(e)}var jn=e=>String(e).split(/[/\\]/).pop(),Gn=e=>String(e).startsWith("file:");function Kn(e){return Array.isArray(e)&&e.length>0}var Ue=Kn;function Dt(e,t){if(!t)return;let r=jn(t).toLowerCase();return e.find(({filenames:n})=>n?.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n?.some(a=>r.endsWith(a)))}function Jn(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r?.includes(t))??e.find(({extensions:r})=>r?.includes(`.${t}`))}var Yn=void 0;function Tt(e,t){if(t){if(Gn(t))try{t=Wn(t)}catch{return}if(typeof t=="string")return e.find(({isSupported:r})=>r?.({filepath:t}))}}function Qn(e,t){let r=Un(0,e.plugins).flatMap(n=>n.languages??[]);return(Jn(r,t.language)??Dt(r,t.physicalFile)??Dt(r,t.file)??Tt(r,t.physicalFile)??Tt(r,t.file)??Yn?.(r,t.physicalFile))?.parsers[0]}var Ct=Qn,Sr=Symbol.for("PRETTIER_IS_FRONT_MATTER");function Zn(e){return!!e?.[Sr]}var Ve=Zn;function Xn(e){return y(0,e,/[^\n]/g," ")}var kr=Xn,se=3;function ea(e){let t=e.slice(0,se);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(`
9
+ `,se);if(r===-1)return;let n=e.slice(se,r).trim(),a=e.indexOf(`
10
+ ${t}`,r),i=n;if(i||(i=t==="+++"?"toml":"yaml"),a===-1&&t==="---"&&i==="yaml"&&(a=e.indexOf(`
11
+ ...`,r)),a===-1)return;let s=a+1+se,o=e.charAt(s+1);if(!/\s?/.test(o))return;let u=e.slice(0,s),l;return{language:i,explicitLanguage:n||null,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:u.slice(-se),raw:u,start:{line:1,column:0,index:0},end:{index:u.length,get line(){return l??(l=u.split(`
12
+ `)),l.length},get column(){return l??(l=u.split(`
13
+ `)),Z(0,l,-1).length}},[Sr]:!0}}function ta(e){let t=ea(e);return t?{frontMatter:t,get content(){let{raw:r}=t;return kr(r)+e.slice(r.length)}}:{content:e}}var ra=ta,na="inline",Bt={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",option:"block",optgroup:"block",select:"inline-block",source:"block",track:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block"},aa="normal",Lt={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function ia(e){return e.kind==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}var ye=ia,sa=e=>y(0,e,/^[\t\f\r ]*\n/g,""),br=e=>sa(D.trimEnd(e)),oa=e=>{let t=e,r=D.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=D.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}};function wr(e,t){return!!(e.kind==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.kind==="ieConditionalComment"&&!e.complete||V(e)&&e.children.some(r=>r.kind!=="text"&&r.kind!=="interpolation")||St(e,t)&&!q(e,t)&&e.kind!=="interpolation")}function Oe(e){return e.kind==="attribute"||!e.parent||!e.prev?!1:ua(e.prev)}function ua(e){return e.kind==="comment"&&e.value.trim()==="prettier-ignore"}function E(e){return e.kind==="text"||e.kind==="comment"}function q(e,t){return e.kind==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||e.fullName==="mj-style"&&t.parser==="mjml"||ye(e)&&(e.name==="script"||e.name==="style"))}function la(e,t){return e.children&&!q(e,t)}function ca(e,t){return q(e,t)||e.kind==="interpolation"||yr(e)}function yr(e){return Lr(e).startsWith("pre")}function pa(e,t){let r=n();if(r&&!e.prev&&e.parent?.tagDefinition?.ignoreFirstLf)return e.kind==="interpolation";return r;function n(){return Ve(e)||e.kind==="angularControlFlowBlock"?!1:(e.kind==="text"||e.kind==="interpolation")&&e.prev&&(e.prev.kind==="text"||e.prev.kind==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:V(e.parent)?!0:!(!e.prev&&(e.parent.kind==="root"||V(e)&&e.parent||q(e.parent,t)||ze(e.parent,t)||!Sa(e.parent.cssDisplay))||e.prev&&!wa(e.prev.cssDisplay))}}function ha(e,t){return Ve(e)||e.kind==="angularControlFlowBlock"?!1:(e.kind==="text"||e.kind==="interpolation")&&e.next&&(e.next.kind==="text"||e.next.kind==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:V(e.parent)?!0:!(!e.next&&(e.parent.kind==="root"||V(e)&&e.parent||q(e.parent,t)||ze(e.parent,t)||!ka(e.parent.cssDisplay))||e.next&&!ba(e.next.cssDisplay))}function da(e,t){return ya(e.cssDisplay)&&!q(e,t)}function Fe(e){return Ve(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function ma(e){return Ar(e)||e.kind==="element"&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(t=>fa(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.kind!=="text"&&Er(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Dr(e.lastChild))}function Ar(e){return e.kind==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function Ke(e){return Tr(e)||e.prev&&ga(e.prev)||xr(e)}function ga(e){return Tr(e)||e.kind==="element"&&e.fullName==="br"||xr(e)}function xr(e){return Er(e)&&Dr(e)}function Er(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:e.parent.kind==="root"||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function Dr(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:e.parent.kind==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Tr(e){switch(e.kind){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function _t(e){return e.lastChild?_t(e.lastChild):e}function fa(e){return e.children?.some(t=>t.kind!=="text")}function Br(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"text/jsx":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function va(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||we(n,"src"))return;let{type:a,lang:i}=e.attrMap;return!i&&!a?"babel":Ct(t,{language:i})??Br(a)}function Ca(e,t){if(!St(e,t))return;let{attrMap:r}=e;if(we(r,"src"))return;let{type:n,lang:a}=r;return Ct(t,{language:a})??Br(n)}function _a(e,t){if(e.name==="style"){let{lang:r}=e.attrMap;return r?Ct(t,{language:r}):"css"}if(e.name==="mj-style"&&t.parser==="mjml")return"css"}function Ft(e,t){return va(e,t)??_a(e,t)??Ca(e,t)}function Ae(e){return e==="block"||e==="list-item"||e.startsWith("table")}function Sa(e){return!Ae(e)&&e!=="inline-block"}function ka(e){return!Ae(e)&&e!=="inline-block"}function ba(e){return!Ae(e)}function wa(e){return!Ae(e)}function ya(e){return!Ae(e)&&e!=="inline-block"}function V(e){return Lr(e).startsWith("pre")}function Aa(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function xa(e,t){if(re(e,t))return"block";if(e.prev?.kind==="comment"){let n=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(n)return n[1]}let r=!1;if(e.kind==="element"&&e.namespace==="svg")if(Aa(e,n=>n.fullName==="svg:foreignObject"))r=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:if(e.kind==="element"&&(!e.namespace||r||ye(e))&&we(Bt,e.name))return Bt[e.name]}return na}function Lr(e){return e.kind==="element"&&(!e.namespace||ye(e))&&we(Lt,e.name)?Lt[e.name]:aa}function Fr(e){return y(0,y(0,e,"&apos;","'"),"&quot;",'"')}function A(e){return Fr(e.value)}var Ea=new Set(["template","style","script"]);function ze(e,t){return re(e,t)&&!Ea.has(e.fullName)}function re(e,t){return t.parser==="vue"&&e.kind==="element"&&e.parent.kind==="root"&&e.fullName.toLowerCase()!=="html"}function St(e,t){return re(e,t)&&(ze(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function Da(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function Ta(e,t){let r=e.parent;if(!re(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function Nr(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?B(t):B(D.dedentString(br(t)),_):ee(S,D.split(t))}function qr(e,t){return re(e,t)&&e.name==="script"}function Ba(e){let{valueSpan:t,value:r}=e;return t.end.offset-t.start.offset===r.length+2}function Ir(e,t){if(Ba(e))return!1;let{value:r}=e;return/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r)||t.parser==="lwc"&&r.startsWith("{")&&r.endsWith("}")}var Mr=/\{\{(.+?)\}\}/s,La=({node:{value:e}})=>Mr.test(e);async function Fa(e,t,r){let n=A(r.node),a=[];for(let[i,s]of n.split(Mr).entries())if(i%2===0)a.push(B(s));else try{a.push(b(["{{",L([S,await T(s,e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),S,"}}"]))}catch{a.push("{{",B(s),"}}")}return a}var Je=e=>(t,r,n)=>T(A(n.node),t,{parser:e},te),Na=[{test(e){let t=e.node.fullName;return t.startsWith("(")&&t.endsWith(")")||t.startsWith("on-")},print:Je("__ng_action")},{test(e){let t=e.node.fullName;return t.startsWith("[")&&t.endsWith("]")||/^bind(?:on)?-/.test(t)||/^ng-(?:if|show|hide|class|style)$/.test(t)},print:Je("__ng_binding")},{test:e=>e.node.fullName.startsWith("*"),print:Je("__ng_directive")},{test:e=>/^i18n(?:-.+)?$/.test(e.node.fullName),print:qa},{test:La,print:Fa}].map(({test:e,print:t})=>({test:(r,n)=>n.parser==="angular"&&e(r),print:t}));function qa(e,t,{node:r}){let n=A(r);return be(fr(Nr(r,n.trim())),!n.includes("@@"))}var Ia=Na,Ma=({node:e},t)=>!t.parentParser&&e.fullName==="class"&&!e.value.includes("{{"),Pa=(e,t,r)=>y(0,A(r.node).trim(),/\s+/g," "),Ha=["onabort","onafterprint","onauxclick","onbeforeinput","onbeforematch","onbeforeprint","onbeforetoggle","onbeforeunload","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncommand","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpagereveal","onpageshow","onpageswap","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onrejectionhandled","onreset","onresize","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],Ra=new Set(Ha),Ua=({node:e},t)=>Ra.has(e.fullName)&&!t.parentParser&&!e.value.includes("{{"),Va=(e,t,r)=>T(A(r.node),e,{parser:"babel",__isHtmlInlineEventHandler:!0},()=>!1);function Oa(e){let t=[];for(let r of e.split(";")){if(r=D.trim(r),!r)continue;let[n,...a]=D.split(r);t.push({name:n,value:a})}return t}var za=Oa,$a=({node:e},t)=>e.fullName==="allow"&&!t.parentParser&&e.parent.fullName==="iframe"&&!e.value.includes("{{");function Wa(e,t,r){let{node:n}=r,a=za(A(n));return a.length===0?[""]:be(a.map(({name:i,value:s},o)=>[[i,...s].join(" "),o===a.length-1?Ce(";"):[";",S]]))}function Nt(e){return e===" "||e===`
14
+ `||e==="\f"||e==="\r"||e===" "}var ja=/^[ \t\n\r\u000c]+/,Ga=/^[, \t\n\r\u000c]+/,Ka=/^[^ \t\n\r\u000c]+/,Ja=/[,]+$/,qt=/^\d+$/,Ya=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function Qa(e){let t=e.length,r,n,a,i,s,o=0,u;function l(p){let h,v=p.exec(e.substring(o));if(v)return[h]=v,o+=h.length,h}let c=[];for(;;){if(l(Ga),o>=t){if(c.length===0)throw new Error("Must contain one or more image candidate strings.");return c}u=o,r=l(Ka),n=[],r.slice(-1)===","?(r=r.replace(Ja,""),g()):f()}function f(){for(l(ja),a="",i="in descriptor";;){if(s=e.charAt(o),i==="in descriptor")if(Nt(s))a&&(n.push(a),a="",i="after descriptor");else if(s===","){o+=1,a&&n.push(a),g();return}else if(s==="(")a+=s,i="in parens";else if(s===""){a&&n.push(a),g();return}else a+=s;else if(i==="in parens")if(s===")")a+=s,i="in descriptor";else if(s===""){n.push(a),g();return}else a+=s;else if(i==="after descriptor"&&!Nt(s))if(s===""){g();return}else i="in descriptor",o-=1;o+=1}}function g(){let p=!1,h,v,x,F,P={},I,Be,j,ie,Ge;for(F=0;F<n.length;F++)I=n[F],Be=I[I.length-1],j=I.substring(0,I.length-1),ie=parseInt(j,10),Ge=parseFloat(j),qt.test(j)&&Be==="w"?((h||v)&&(p=!0),ie===0?p=!0:h=ie):Ya.test(j)&&Be==="x"?((h||v||x)&&(p=!0),Ge<0?p=!0:v=Ge):qt.test(j)&&Be==="h"?((x||v)&&(p=!0),ie===0?p=!0:x=ie):p=!0;if(!p)P.source={value:r,startOffset:u},h&&(P.width={value:h}),v&&(P.density={value:v}),x&&(P.height={value:x}),c.push(P);else throw new Error(`Invalid srcset descriptor found in "${e}" at "${I}".`)}}var Za=Qa,Xa=e=>e.node.fullName==="srcset"&&(e.parent.fullName==="img"||e.parent.fullName==="source"),Pr={width:"w",height:"h",density:"x"},ei=Object.keys(Pr);function ti(e,t,r){let n=A(r.node),a=Za(n),i=ei.filter(p=>a.some(h=>we(h,p)));if(i.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[s]=i,o=Pr[s],u=a.map(p=>p.source.value),l=Math.max(...u.map(p=>p.length)),c=a.map(p=>p[s]?String(p[s].value):""),f=c.map(p=>{let h=p.indexOf(".");return h===-1?p.length:h}),g=Math.max(...f);return be(ee([",",S],u.map((p,h)=>{let v=[p],x=c[h];if(x){let F=l-p.length+1,P=g-f[h],I=" ".repeat(F+P);v.push(Ce(I," "),x+o)}return v})))}var ri=({node:e},t)=>e.fullName==="style"&&!t.parentParser&&!e.value.includes("{{"),ni=async(e,t,r)=>be(await e(A(r.node),{parser:"css",__isHTMLStyleAttribute:!0})),ai=new WeakMap;function ii(e,t){return dr(ai,e.root,r=>r.children.some(n=>qr(n,t)&&["ts","typescript"].includes(n.attrMap.lang)))}var ne=ii;function si(e,t,r){let n=A(r.node);return T(`type T<${n}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},te)}function oi(e,t,r,n){let a=A(r.node),i=ne(r,n)?"babel-ts":"babel";return T(`function _(${a}) {}`,e,{parser:i,__isVueBindings:!0})}async function ui(e,t,r,n){let a=A(r.node),{left:i,operator:s,right:o}=li(a),u=ne(r,n);return[b(await T(`function _(${i}) {}`,e,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",s," ",await T(o,e,{parser:u?"__ts_expression":"__js_expression"})]}function li(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=e.match(t);if(!r)return;let n={for:r[3].trim()};if(!n.for)return;let a=/,([^,\]}]*)(?:,([^,\]}]*))?$/,i=/^\(|\)$/g,s=y(0,r[1].trim(),i,""),o=s.match(a);o?(n.alias=s.replace(a,""),n.iterator1=o[1].trim(),o[2]&&(n.iterator2=o[2].trim())):n.alias=s;let u=[n.alias,n.iterator1,n.iterator2];if(!u.some((l,c)=>!l&&(c===0||u.slice(c+1).some(Boolean))))return{left:u.filter(Boolean).join(","),operator:r[2],right:n.for}}var ci=[{test:e=>e.node.fullName==="v-for",print:ui},{test:(e,t)=>e.node.fullName==="generic"&&qr(e.parent,t),print:si},{test:({node:e},t)=>Da(e)||Ta(e,t),print:oi},{test(e){let t=e.node.fullName;return t.startsWith("@")||t.startsWith("v-on:")},print:pi},{test(e){let t=e.node.fullName;return t.startsWith(":")||t.startsWith(".")||t.startsWith("v-bind:")},print:hi},{test:e=>e.node.fullName.startsWith("v-"),print:Hr}].map(({test:e,print:t})=>({test:(r,n)=>n.parser==="vue"&&e(r,n),print:t}));async function pi(e,t,r,n){try{return await Hr(e,t,r,n)}catch(s){if(s.cause?.code!=="BABEL_PARSER_SYNTAX_ERROR")throw s}let a=A(r.node),i=ne(r,n)?"__vue_ts_event_binding":"__vue_event_binding";return T(a,e,{parser:i},te)}function hi(e,t,r,n){let a=A(r.node),i=ne(r,n)?"__vue_ts_expression":"__vue_expression";return T(a,e,{parser:i},te)}function Hr(e,t,r,n){let a=A(r.node),i=ne(r,n)?"__ts_expression":"__js_expression";return T(a,e,{parser:i},te)}var di=ci,mi=[{test:Xa,print:ti},{test:ri,print:ni},{test:Ua,print:Va},{test:Ma,print:Pa},{test:$a,print:Wa},...di,...Ia].map(({test:e,print:t})=>({test:e,print:fi(t)}));function gi(e,t){let{node:r}=e,{value:n}=r;if(n)return Ir(r,t)?[r.rawName,"=",n]:mi.find(({test:a})=>a(e,t))?.print}function fi(e){return async(t,r,n,a)=>{let i=await e(t,r,n,a);if(i)return i=gr(i,s=>typeof s=="string"?y(0,s,'"',"&quot;"):s),[n.node.rawName,'="',b(i),'"']}}var vi=gi,Y=e=>e.sourceSpan.start.offset,$e=e=>e.sourceSpan.end.offset;function Xe(e,t){return[e.isSelfClosing?"":Ci(e,t),de(e,t)]}function Ci(e,t){return e.lastChild&&Q(e.lastChild)?"":[_i(e,t),kt(e,t)]}function de(e,t){return(e.next?z(e.next):Ee(e.parent))?"":[xe(e,t),O(e,t)]}function _i(e,t){return Ee(e)?xe(e.lastChild,t):""}function O(e,t){return Q(e)?kt(e.parent,t):We(e)?bt(e.next,t):""}function kt(e,t){if(Rr(e,t))return"";switch(e.kind){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function xe(e,t){if(Rr(e,t))return"";switch(e.kind){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function Rr(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(Oe(e)||wr(e.parent,t))}function z(e){return e.prev&&e.prev.kind!=="docType"&&e.kind!=="angularControlFlowBlock"&&!E(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Ee(e){return e.lastChild?.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!E(_t(e.lastChild))&&!V(e)}function Q(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&E(_t(e))}function We(e){return e.next&&!E(e.next)&&E(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Si(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?t[1]?t[1].split(/\s+/):!0:!1}function je(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function ki(e,t,r){let{node:n}=e,{attrs:a=[],startTagComments:i=[]}=n;if(a.length===0&&i.length===0)return n.isSelfClosing?" ":"";let s=n.prev?.kind==="comment"&&Si(n.prev.value),o=typeof s=="boolean"?()=>s:Array.isArray(s)?h=>s.includes(h.rawName):()=>!1,u=["attrs","startTagComments"].filter(h=>Ue(n[h])),l=u.flatMap(h=>e.map(({node:v})=>({loc:Y(v),printed:v.kind==="attribute"&&o(v)?B(t.originalText.slice(Y(v),$e(v))):r()}),h));u.length>1&&l.sort((h,v)=>h.loc-v.loc);let c=n.kind==="element"&&n.fullName==="script"&&a.length===1&&a[0].fullName==="src"&&n.children.length===0&&i.length===0,f=i.some(h=>h.type==="single"),g=f||t.singleAttributePerLine&&a.length>1&&!re(n,t)?_:S,p=[L([c?" ":f?_:S,ee(g,l.map(({printed:h})=>h))])];return n.firstChild&&je(n.firstChild)||n.isSelfClosing&&Ee(n.parent)||c?p.push(n.isSelfClosing?" ":""):p.push(t.bracketSameLine?n.isSelfClosing?" ":"":n.isSelfClosing?S:w),p}function bi(e){return e.firstChild&&je(e.firstChild)?"":wt(e)}function et(e,t,r){let{node:n}=e;return[me(n,t),ki(e,t,r),n.isSelfClosing?"":bi(n)]}function me(e,t){return e.prev&&We(e.prev)?"":[$(e,t),bt(e,t)]}function $(e,t){return je(e)?wt(e.parent):z(e)?xe(e.prev,t):""}var It="<!doctype";function bt(e,t){switch(e.kind){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${e.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":{if(e.value==="html"){let{filepath:n}=t;if(n&&/\.html?$/.test(n))return It}let r=Y(e);return t.originalText.slice(r,r+It.length)}case"angularIcuExpression":return"{";case"element":if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function wt(e){switch(e.kind){case"ieConditionalComment":return"]>";case"element":if(e.condition)return"><!--<![endif]-->";default:return">"}}function wi(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&je(e.firstChild)&&(r-=wt(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Q(e.lastChild)?n+=kt(e,t).length:Ee(e)&&(n-=xe(e.lastChild,t).length),t.originalText.slice(r,n)}var Ur=wi,yi=new Set(["if","else if","for","switch","case"]);function Ai(e,t){let{node:r}=e;switch(r.kind){case"element":if(q(r,t)||r.kind==="interpolation")return;if(!r.isSelfClosing&&St(r,t)){let n=Ft(r,t);return n?async(a,i)=>{let s=Ur(r,t),o=/^\s*$/.test(s),u="";return o||(u=await a(br(s),{parser:n,__embeddedInHtml:!0}),o=u===""),[$(r,t),b(et(e,t,i)),o?"":_,u,o?"":_,Xe(r,t),O(r,t)]}:void 0}break;case"text":if(q(r.parent,t)){let n=Ft(r.parent,t);if(n)return async a=>{let i=n==="markdown"?D.dedentString(r.value.replace(/^[^\S\n]*\n/,"")):r.value,s={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let o="script",{attrMap:u}=r.parent;u&&(u.type==="module"||(u.type==="text/babel"||u.type==="text/jsx")&&u["data-type"]==="module")&&(o="module"),s.__babelSourceType=o}return[ke,$(r,t),await a(i,s),O(r,t)]}}else if(r.parent.kind==="interpolation")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?a.parser="__ng_interpolation":t.parser==="vue"?a.parser=ne(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[L([S,await n(r.value,a)]),r.parent.next&&z(r.parent.next)?" ":S]};break;case"attribute":return vi(e,t);case"angularControlFlowBlockParameters":return yi.has(e.parent.name)?Mn:void 0;case"angularLetDeclarationInitializer":return n=>T(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}var xi=Ai,oe=null;function ge(e){if(oe!==null&&typeof oe.property){let t=oe;return oe=ge.prototype=null,t}return oe=ge.prototype=e??Object.create(null),new ge}var Ei=10;for(let e=0;e<=Ei;e++)ge();function Di(e){return ge(e)}function Ti(e,t="type"){Di(e);function r(n){let a=n[t],i=e[a];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return i}return r}var Bi=Ti,ue=[["children"]],Li={root:ue[0],element:["attrs","startTagComments","children"],ieConditionalComment:ue[0],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:ue[0],text:ue[0],docType:[],comment:[],attribute:[],startTagComment:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:ue[0],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},Fi=Bi(Li,"kind"),Ni=Fi,qi=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Ii=new Set(["if","else if","for","switch","case"]);function Vr(e,t,r){if(e.kind==="text"||e.kind==="comment")return null;if(e.kind==="yaml"&&delete t.value,e.kind==="attribute"){let{fullName:n,value:a}=e;n==="style"||n==="class"||n==="srcset"&&(r.fullName==="img"||r.fullName==="source")||n==="allow"&&r.fullName==="iframe"||n.startsWith("on")||n.startsWith("@")||n.startsWith(":")||n.startsWith(".")||n.startsWith("#")||n.startsWith("v-")||n==="vars"&&r.fullName==="style"||(n==="setup"||n==="generic")&&r.fullName==="script"||n==="slot-scope"||n.startsWith("(")||n.startsWith("[")||n.startsWith("*")||n.startsWith("bind")||n.startsWith("i18n")||n.startsWith("on-")||n.startsWith("ng-")||a?.includes("{{")?delete t.value:a&&(t.value=y(0,a,/'|&quot;|&apos;/g,'"'))}if(e.kind==="docType"&&(t.value=y(0,e.value.toLowerCase(),/\s+/g," ")),e.kind==="angularControlFlowBlock"&&e.parameters?.children)for(let n of t.parameters.children)Ii.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.kind==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.kind==="angularLetDeclarationInitializer"&&delete t.value,e.kind==="element"&&e.isVoid&&!e.isSelfClosing&&(t.isSelfClosing=!0)}Vr.ignoredProperties=qi;var Mi="format",Pi=/^\s*<!--\s*@(?:noformat|noprettier)\s*-->/,Hi=/^\s*<!--\s*@(?:format|prettier)\s*-->/,Ri=e=>Hi.test(e),Ui=e=>Pi.test(e),Vi=e=>`<!-- @${Mi} -->
15
+
16
+ ${e}`,Oi=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]);function Or(e){let t=$e(e);return e.kind==="element"&&!e.endSourceSpan&&Ue(e.children)?Math.max(t,Or(Z(0,e.children,-1))):t}function le(e,t,r){let n=e.node;if(Oe(n)){let a=Or(n);return[$(n,t),B(D.trimEnd(t.originalText.slice(Y(n)+(n.prev&&We(n.prev)?bt(n).length:0),a-(n.next&&z(n.next)?xe(n,t).length:0)))),O(n,t)]}return r()}function Ne(e,t){return E(e)&&E(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Ke(t)?_:S:"":Ke(t)?_:w:We(e)&&(Oe(t)||t.firstChild||t.isSelfClosing||t.kind==="element"&&t.attrs.length>0)||e.kind==="element"&&e.isSelfClosing&&z(t)?"":t.kind==="comment"&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces?w:!t.isLeadingSpaceSensitive||Ke(t)||z(t)&&e.lastChild&&Q(e.lastChild)&&e.lastChild.lastChild&&Q(e.lastChild.lastChild)?_:t.hasLeadingSpaces?S:w}function yt(e,t,r){let{node:n}=e;if(Ar(n))return[ke,...e.map(()=>{let i=e.node,s=i.prev?Ne(i.prev,i):"";return[s?[s,Fe(i.prev)?_:""]:"",le(e,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map(({node:i,index:s})=>{if(E(i)){if(i.prev&&E(i.prev)){let p=Ne(i.prev,i);if(p)return Fe(i.prev)?[_,_,le(e,t,r)]:[p,le(e,t,r)]}return le(e,t,r)}let o=[],u=[],l=[],c=[],f=i.prev?Ne(i.prev,i):"",g=i.next?Ne(i,i.next):"";return f&&(Fe(i.prev)?o.push(_,_):f===_?o.push(_):E(i.prev)?u.push(f):u.push(Ce("",w,{groupId:a[s-1]}))),g&&(Fe(i)?E(i.next)&&c.push(_,_):g===_?E(i.next)&&c.push(_):l.push(g)),[...o,b([...u,b([le(e,t,r),...l],{id:a[s]})]),...c]},"children")}function zi(e,t,r){let{node:n}=e,a=[];Gi(e)&&a.push("} "),a.push("@",n.name);let i=Wi(n);if(n.parameters&&(i||a.push(" "),a.push("(",b(r("parameters")),")")),i)return a.push(";"),a;if(!ji(n)){a.push(" {");let s=zr(n);n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(L([_,yt(e,t,r)])),s&&a.push(_,"}")):s&&a.push("}")}return b(a,{shouldBreak:!0})}function zr(e){return!(e.next?.kind==="angularControlFlowBlock"&&Oi.get(e.name)?.has(e.next.name))}var $i=e=>e?.kind==="angularControlFlowBlock"&&(e.name==="case"||e.name==="default"),Wi=e=>e?.kind==="angularControlFlowBlock"&&e.name==="default never";function ji(e){return $i(e)&&e.endSourceSpan&&e.endSourceSpan.start.offset===e.endSourceSpan.end.offset}function Gi(e){let{previous:t}=e;return t?.kind==="angularControlFlowBlock"&&!Oe(t)&&!zr(t)}function Ki(e,t,r){return[L([w,ee([";",S],e.map(r,"children"))]),w]}function Ji(e,t,r){let{node:n}=e;return[me(n,t),b([n.switchValue.trim(),", ",n.type,n.cases.length>0?[",",L([S,ee(S,e.map(r,"cases"))])]:"",w]),de(n,t)]}function Yi(e,t,r){let{node:n}=e;return[n.value," {",b([L([w,e.map(({node:a,isLast:i})=>{let s=[r()];return a.kind==="text"&&(a.hasLeadingSpaces&&s.unshift(S),a.hasTrailingSpaces&&!i&&s.push(S)),s},"expression")]),w]),"}"]}function Qi(e,t,r){let{node:n}=e;if(wr(n,t))return[$(n,t),b(et(e,t,r)),B(Ur(n,t)),...Xe(n,t),O(n,t)];let a=n.children.length===1&&(n.firstChild.kind==="interpolation"||n.firstChild.kind==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),s=c=>b([b(et(e,t,r),{id:i}),c,Xe(n,t)]);if(n.children.length===0)return s(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?S:"");let o=c=>a?kn(c,{groupId:i}):(q(n,t)||ze(n,t))&&n.parent.kind==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?c:L(c),u=()=>a?Ce(w,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?S:n.firstChild.kind==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?Sn(w):w,l=()=>(n.next?z(n.next):Ee(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":V(n)&&Q(n.lastChild)?"":a?Ce(w,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?S:(n.lastChild.kind==="comment"||n.lastChild.kind==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`).test(n.lastChild.value)?"":w;return s([ma(n)?ke:"",o([u(),yt(e,t,r)]),l()])}function Zi(e){let{node:{value:t,type:r}}=e;return r==="single"?`//${t.trimEnd()}`:["/*",B(t),"*/"]}var Xi=(function(e){return e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA",e})({});function ae(e,t=!0){if(e[0]!=":")return[null,e];let r=e.indexOf(":",1);if(r===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,r),e.slice(r+1)]}function Mt(e){return ae(e)[1]==="ng-container"}function Pt(e){return ae(e)[1]==="ng-content"}function Pe(e){return e===null?null:ae(e)[0]}function fe(e,t){return e?`:${e}:${t}`:t}var He,es="math",tt=()=>Object.create(null);function ts(){return He||(He=tt(),M(1,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),M(2,void 0,[["*",["style"]]]),M(4,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),M(4,es,[["*",["href","xlink:href"]]]),M(5,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),M(4,"svg",[["a",["href","xlink:href"]]]),M(6,"svg",[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),M(6,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]]]),He)}function M(e,t,r){let n=t??"";for(let[i,s]of r){let o=i.toLowerCase();for(let u of s){var a;let l=u.toLowerCase(),c=(a=He)[l]??(a[l]=tt()),f=c[n]??(c[n]=tt());f[o]=e}}}function rs(e,t,r){let n=ts()[t.toLowerCase()];if(!n)return 0;let a=e.toLowerCase(),i;if(r){let s=n[r];s&&(i=s[a]??s["*"])}if(i===void 0){let s=n[""];s&&(i=s[a]??s["*"])}return i??0}var Ht={name:"custom-elements"},Rt={name:"no-errors-schema"},ns=/-+([a-z0-9])/g;function as(e){return e.replace(ns,(...t)=>t[1].toUpperCase())}var is=class{},ss="boolean",os="number",us="string",ls="object";function qe(e){let[t,r]=ae(e.toLowerCase(),!1);return t==="svg"||t==="math"?`:${t}:${r}`:r}var cs=["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","geolocation^[HTMLElement]|accuracymode,!autolocate,*location,*promptaction,*promptdismiss,*validationstatuschange,!watch","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,!credentialless,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","selectedcontent^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","search^[HTMLELement]|","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],$r=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex","aria-activedescendant":"ariaActiveDescendantElement","aria-atomic":"ariaAtomic","aria-autocomplete":"ariaAutoComplete","aria-busy":"ariaBusy","aria-checked":"ariaChecked","aria-colcount":"ariaColCount","aria-colindex":"ariaColIndex","aria-colindextext":"ariaColIndexText","aria-colspan":"ariaColSpan","aria-controls":"ariaControlsElements","aria-current":"ariaCurrent","aria-describedby":"ariaDescribedByElements","aria-description":"ariaDescription","aria-details":"ariaDetailsElements","aria-disabled":"ariaDisabled","aria-errormessage":"ariaErrorMessageElements","aria-expanded":"ariaExpanded","aria-flowto":"ariaFlowToElements","aria-haspopup":"ariaHasPopup","aria-hidden":"ariaHidden","aria-invalid":"ariaInvalid","aria-keyshortcuts":"ariaKeyShortcuts","aria-label":"ariaLabel","aria-labelledby":"ariaLabelledByElements","aria-level":"ariaLevel","aria-live":"ariaLive","aria-modal":"ariaModal","aria-multiline":"ariaMultiLine","aria-multiselectable":"ariaMultiSelectable","aria-orientation":"ariaOrientation","aria-owns":"ariaOwnsElements","aria-placeholder":"ariaPlaceholder","aria-posinset":"ariaPosInSet","aria-pressed":"ariaPressed","aria-readonly":"ariaReadOnly","aria-required":"ariaRequired","aria-roledescription":"ariaRoleDescription","aria-rowcount":"ariaRowCount","aria-rowindex":"ariaRowIndex","aria-rowindextext":"ariaRowIndexText","aria-rowspan":"ariaRowSpan","aria-selected":"ariaSelected","aria-setsize":"ariaSetSize","aria-sort":"ariaSort","aria-valuemax":"ariaValueMax","aria-valuemin":"ariaValueMin","aria-valuenow":"ariaValueNow","aria-valuetext":"ariaValueText"})),ps=Array.from($r).reduce((e,[t,r])=>(e.set(t,r),e),new Map),hs=class extends is{_schema=new Map;_eventSchema=new Map;constructor(){super(),cs.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),i=a.split(","),[s,o]=n.split("^");s.split(",").forEach(l=>{this._schema.set(l.toLowerCase(),t),this._eventSchema.set(l.toLowerCase(),r)});let u=o&&this._schema.get(o.toLowerCase());if(u){for(let[l,c]of u)t.set(l,c);for(let l of this._eventSchema.get(o.toLowerCase()))r.add(l)}i.forEach(l=>{if(l.length>0)switch(l[0]){case"*":r.add(l.substring(1));break;case"!":t.set(l.substring(1),ss);break;case"#":t.set(l.substring(1),os);break;case"%":t.set(l.substring(1),ls);break;default:t.set(l,us)}})})}hasProperty(e,t,r){if(r.some(a=>a.name===Rt.name))return!0;let n=qe(e);if(n.includes("-")){if(Mt(n)||Pt(n))return!1;if(r.some(a=>a.name===Ht.name))return!0}return(this._schema.get(n)||this._schema.get("unknown")).has(t)}hasElement(e,t){if(t.some(n=>n.name===Rt.name))return!0;let r=qe(e);return r.includes("-")&&(Mt(r)||Pt(r)||t.some(n=>n.name===Ht.name))?!0:this._schema.has(r)}securityContext(e,t,r){r&&(t=this.getMappedPropName(t));let[n,a]=ae(e,!1);return rs(a,t,n)}getMappedPropName(e){return $r.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...
17
+ If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=qe(e),r=this._schema.get(t)||this._schema.get("unknown");return Array.from(r.keys()).map(n=>ps.get(n)??n)}allKnownEventsOfElement(e){let t=qe(e);return Array.from(this._eventSchema.get(t)??[])}normalizeAnimationStyleProperty(e){return as(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),i=null;if(ds(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let s=r.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&(i=`Please provide a CSS unit value for ${t}:${r}`)}return{error:i,value:a+n}}};function ds(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var m=class{closedByChildren={};contentType;closedByParent=!1;implicitNamespacePrefix;isVoid;ignoreFirstLf;canSelfClose;preventNamespaceInheritance;constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=2,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:i=!1,preventNamespaceInheritance:s=!1,canSelfClose:o=!1}={}){e&&e.length>0&&e.forEach(u=>this.closedByChildren[u]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=i,this.preventNamespaceInheritance=s,this.canSelfClose=o??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},Ut,ce;function rt(e){return ce||(Ut=new m({canSelfClose:!0}),ce=Object.assign(Object.create(null),{base:new m({isVoid:!0}),meta:new m({isVoid:!0}),area:new m({isVoid:!0}),embed:new m({isVoid:!0}),link:new m({isVoid:!0}),img:new m({isVoid:!0}),input:new m({isVoid:!0}),param:new m({isVoid:!0}),hr:new m({isVoid:!0}),br:new m({isVoid:!0}),source:new m({isVoid:!0}),track:new m({isVoid:!0}),wbr:new m({isVoid:!0}),p:new m({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new m({closedByChildren:["tbody","tfoot"]}),tbody:new m({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new m({closedByChildren:["tbody"],closedByParent:!0}),tr:new m({closedByChildren:["tr"],closedByParent:!0}),td:new m({closedByChildren:["td","th"],closedByParent:!0}),th:new m({closedByChildren:["td","th"],closedByParent:!0}),col:new m({isVoid:!0}),svg:new m({implicitNamespacePrefix:"svg"}),foreignObject:new m({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new m({implicitNamespacePrefix:"math"}),li:new m({closedByChildren:["li"],closedByParent:!0}),dt:new m({closedByChildren:["dt","dd"]}),dd:new m({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new m({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new m({closedByChildren:["optgroup"],closedByParent:!0}),option:new m({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new m({ignoreFirstLf:!0}),listing:new m({ignoreFirstLf:!0}),style:new m({contentType:0}),script:new m({contentType:0}),title:new m({contentType:{default:1,svg:2}}),textarea:new m({contentType:1,ignoreFirstLf:!0})}),new hs().allKnownElementNames().forEach(t=>{!ce[t]&&Pe(t)===null&&(ce[t]=new m({canSelfClose:!1}))})),ce[e]??Ut}var nt=class Wr{file;offset;line;col;constructor(t,r,n,a){this.file=t,this.offset=r,this.line=n,this.col=a}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let r=this.file.content,n=r.length,a=this.offset,i=this.line,s=this.col;for(;a>0&&t<0;)if(a--,t++,r.charCodeAt(a)==10){i--;let o=r.substring(0,a-1).lastIndexOf(`
18
+ `);s=o>0?a-o:a}else s--;for(;a<n&&t>0;){let o=r.charCodeAt(a);a++,t--,o==10?(i++,s=0):s++}return new Wr(this.file,a,i,s)}getContext(t,r){let n=this.file.content,a=this.offset;if(a!=null){a>n.length-1&&(a=n.length-1);let i=a,s=0,o=0;for(;s<t&&a>0&&(a--,s++,!(n[a]==`
19
+ `&&++o==r)););for(s=0,o=0;s<t&&i<n.length-1&&(i++,s++,!(n[i]==`
20
+ `&&++o==r)););return{before:n.substring(a,this.offset),after:n.substring(this.offset,i+1)}}return null}},jr=class{content;url;constructor(e,t){this.content=e,this.url=t}},d=class{start;end;fullStart;details;constructor(e,t,r=e,n=null){this.start=e,this.end=t,this.fullStart=r,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},ms=(function(e){return e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR",e})({}),K=class extends Error{span;msg;level;relatedError;constructor(e,t,r=1,n){super(t),this.span=e,this.msg=t,this.level=r,this.relatedError=n,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${ms[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},W=class{sourceSpan;i18n;constructor(e,t){this.sourceSpan=e,this.i18n=t}},gs=class extends W{value;tokens;constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r}visit(e,t){return e.visitText(this,t)}kind="text"},fs=class extends W{value;tokens;constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r}visit(e,t){return e.visitCdata(this,t)}kind="cdata"},vs=class extends W{switchValue;type;cases;switchValueSourceSpan;constructor(e,t,r,n,a,i){super(n,i),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}kind="expansion"},Cs=class{value;expression;sourceSpan;valueSourceSpan;expSourceSpan;constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a}visit(e,t){return e.visitExpansionCase(this,t)}kind="expansionCase"},_s=class extends W{name;value;keySpan;valueSpan;valueTokens;constructor(e,t,r,n,a,i,s){super(r,s),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=i}visit(e,t){return e.visitAttribute(this,t)}kind="attribute";get nameSpan(){return this.keySpan}},Ss=class{value;type;sourceSpan;constructor(e,t,r){this.value=e,this.type=t,this.sourceSpan=r}visit(e,t){return e.visitStartTagComment?e.visitStartTagComment(this,t):void 0}kind="startTagComment"},H=class extends W{name;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;nameSpan;isVoid;comments;constructor(e,t,r,n,a,i,s,o=null,u=null,l,c,f=[]){super(i,c),this.name=e,this.attrs=t,this.directives=r,this.children=n,this.isSelfClosing=a,this.startSourceSpan=s,this.endSourceSpan=o,this.nameSpan=u,this.isVoid=l,this.comments=f}visit(e,t){return e.visitElement(this,t)}kind="element"},ks=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}kind="comment"},bs=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitDocType(this,t)}kind="docType"},G=class extends W{name;parameters;children;nameSpan;startSourceSpan;endSourceSpan;constructor(e,t,r,n,a,i,s=null,o){super(n,o),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=i,this.endSourceSpan=s}visit(e,t){return e.visitBlock(this,t)}kind="block"},N=class extends W{componentName;tagName;fullName;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;comments;constructor(e,t,r,n,a,i,s,o,u,l=null,c,f=[]){super(o,c),this.componentName=e,this.tagName=t,this.fullName=r,this.attrs=n,this.directives=a,this.children=i,this.isSelfClosing=s,this.startSourceSpan=u,this.endSourceSpan=l,this.comments=f}visit(e,t){return e.visitComponent(this,t)}kind="component"},ws=class{name;attrs;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,r,n,a=null){this.name=e,this.attrs=t,this.sourceSpan=r,this.startSourceSpan=n,this.endSourceSpan=a}visit(e,t){return e.visitDirective(this,t)}kind="directive"},Vt=class{expression;sourceSpan;constructor(e,t){this.expression=e,this.sourceSpan=t}visit(e,t){return e.visitBlockParameter(this,t)}kind="blockParameter";startSourceSpan=null;endSourceSpan=null},Ot=class{name;value;sourceSpan;nameSpan;valueSpan;constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a}visit(e,t){return e.visitLetDeclaration(this,t)}kind="letDeclaration";startSourceSpan=null;endSourceSpan=null};function Gr(e,t,r=null){let n=[],a=e.visit?i=>e.visit(i,r)||i.visit(e,r):i=>i.visit(e,r);return t.forEach(i=>{let s=a(i);s&&n.push(s)}),n}var ys=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.directives),r(e.comments),r(e.children)})}visitAttribute(e,t){}visitStartTagComment(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitComponent(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.comments),r(e.children)})}visitDirective(e,t){this.visitChildren(t,r=>{r(e.attrs)})}visitChildren(e,t){let r=[],n=this;function a(i){i&&r.push(Gr(n,i,e))}return t(a),Array.prototype.concat.apply([],r)}};function Re(e){return e>=9&&e<=32||e==160}function De(e){return 48<=e&&e<=57}function _e(e){return e>=97&&e<=122||e>=65&&e<=90}function As(e){return e>=97&&e<=102||e>=65&&e<=70||De(e)}function ve(e){return e===10||e===13}function zt(e){return 48<=e&&e<=55}function Ye(e){return e===39||e===34||e===96}var Se={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:`
21
+ `,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"};Se.ngsp="";var xs=class{tokens;errors;nonNormalizedIcuExpressions;constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}};function Es(e,t,r,n={}){let a=new Ns(new jr(e,t),r,n);return a.tokenize(),new xs(Us(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}var Ds=/\r\n?/g;function R(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function $t(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}function Ts(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}var Bs=["@if","@else","@for","@switch","@case","@default","@empty","@defer","@placeholder","@loading","@error","@content"],pe={start:"{{",end:"}}"},Ls=/^default[^\S\r\n]+never/,Fs=/^else[^\S\r\n]+if/,Ns=class{_getTagContentType;_cursor;_tokenizeIcu;_leadingTriviaCodePoints;_canSelfClose;_allowHtmComponentClosingTags;_allowStartTagComments;_currentTokenStart=null;_currentTokenType=null;_expansionCaseStack=[];_openDirectiveCount=0;_inInterpolation=!1;_preserveLineEndings;_i18nNormalizeLineEndingsInICUs;_fullNameStack=[];_tokenizeBlocks;_tokenizeLet;_selectorlessEnabled;tokens=[];errors=[];nonNormalizedIcuExpressions=[];constructor(e,t,r){this._getTagContentType=t,this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1,this._allowStartTagComments=r.allowStartTagComments??!0;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new Vs(e,n):new Kr(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0,this._selectorlessEnabled=r.selectorlessEnabled??!1;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(Ds,`
22
+ `)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{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);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._isLetStart()?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._isBlockStart()?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())}catch(t){this.handleError(t)}}this._beginToken(43),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();this._attemptCharCodeUntilFn(n=>Re(n)?!e:Rs(n)?(e=!0,!1):!0);let r=this._cursor.getChars(t).trim();return Fs.test(r)?r="else if":Ls.test(r)&&(r="default never"),r}_consumeBlockStart(e){this._requireCharCode(64),this._beginToken(26,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(C),this._attemptCharCode(41))this._attemptCharCodeUntilFn(C);else{t.type=30;return}if(t.parts[0]==="default never"&&this._attemptCharCode(59)){this._beginToken(27),this._endToken([]),this._beginToken(28),this._endToken([]);return}this._attemptCharCode(123)?(this._beginToken(27),this._endToken([])):this._isBlockStart()&&(t.parts[0]==="case"||t.parts[0]==="default")?(this._beginToken(27),this._endToken([]),this._beginToken(28),this._endToken([])):t.type=30}_consumeBlockEnd(e){this._beginToken(28,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(jt);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(29);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&Ye(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(jt)}}_consumeLetDeclaration(e){if(this._requireStr("@let"),this._beginToken(31,e),Re(this._cursor.peek()))this._attemptCharCodeUntilFn(C);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=34;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(C),!this._attemptCharCode(61)){t.type=34;return}this._attemptCharCodeUntilFn(r=>C(r)&&!ve(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(33),this._cursor.advance(),this._endToken([])):(t.type=34,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>_e(r)||r===36||r===95||t&&De(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(32,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;Ye(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Ps(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new K(this._cursor.getSpan(t),"Programming error - attempted to end a token when there was no start to the token");if(this._currentTokenType===null)throw new K(this._cursor.getSpan(this._currentTokenStart),"Programming error - attempted to end a token which has no token type");let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new K(t,e);return this._currentTokenStart=null,this._currentTokenType=null,r}handleError(e){if(e instanceof At&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof K)this.errors.push(e);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return Hs(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(R(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++)if(!this._attemptCharCode(e.charCodeAt(n)))return this._cursor=r,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){let t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(R(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(R(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(r)<t)throw this._createError(R(this._cursor.peek()),this._cursor.getSpan(r))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(){let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}_peekStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++){if(r.peek()!==e.charCodeAt(n))return!1;r.advance()}return!0}_isBlockStart(){return this._cursor.peek()===64&&Bs.some(e=>this._peekStr(e))}_isLetStart(){return this._cursor.peek()===64&&this._peekStr("@let")}_consumeEntity(e){this._beginToken(9);let t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let r=this._attemptCharCode(120)||this._attemptCharCode(88),n=this._cursor.clone();if(this._attemptCharCodeUntilFn(Is),this._cursor.peek()!=59){this._cursor.advance();let i=r?"hexadecimal":"decimal";throw this._createError(Ts(i,this._cursor.getChars(t)),this._cursor.getSpan())}let a=this._cursor.getChars(n);this._cursor.advance();try{let i=parseInt(a,r?16:10);this._endToken([String.fromCodePoint(i),this._cursor.getChars(t)])}catch{throw this._createError($t(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(Ms),this._cursor.peek()!=59)this._beginToken(e,t),this._cursor=r,this._endToken(["&"]);else{let n=this._cursor.getChars(r);this._cursor.advance();let a=Se.hasOwnProperty(n)&&Se[n];if(!a)throw this._createError($t(n),this._cursor.getSpan(t));this._endToken([a,`&${n};`])}}}_consumeRawText(e,t){this._beginToken(e?6:7);let r=[];for(;;){let n=this._cursor.clone(),a=t();if(this._cursor=n,a)break;e&&this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(r.join(""))]),r.length=0,this._consumeEntity(6),this._beginToken(6)):r.push(this._readChar())}this._endToken([this._processCarriageReturns(r.join(""))])}_consumeComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(13,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(14),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(19,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(20),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(e){let t=this._cursor.clone(),r="";for(;this._cursor.peek()!==58&&!qs(this._cursor.peek());)this._cursor.advance();let n;this._cursor.peek()===58?(r=this._cursor.getChars(t),this._cursor.advance(),n=this._cursor.clone()):n=t,this._requireCharCodeUntilFn(e,r===""?0:1);let a=this._cursor.getChars(n);return[r,a]}_consumeSingleLineComment(e){let t=this._cursor.clone();this._attemptCharCodeUntilFn(a=>ve(a)||a===0);let r=this._cursor.clone(),n=r.getChars(t);this._beginToken(12,e),this._endToken([n,"single"],r),this._attemptCharCodeUntilFn(C)}_consumeMultiLineComment(e){let t=this._cursor.clone();this._attemptCharCodeUntilFn(i=>{if(i===0)return!0;if(i===42){let s=this._cursor.clone();return s.advance(),s.peek()===47}return!1});let r=this._cursor.clone(),n=r.getChars(t),a=r;this._attemptStr("*/")&&(a=this._cursor.clone(),this._attemptCharCodeUntilFn(C)),this._beginToken(12,e),this._endToken([n,"multi"],a)}_consumeTagOpen(e){let t,r,n,a,i=[];try{if(this._selectorlessEnabled&&Ie(this._cursor.peek()))a=this._consumeComponentOpenStart(e),[n,r,t]=a.parts,r&&(n+=`:${r}`),t&&(n+=`:${t}`),this._attemptCharCodeUntilFn(C);else{if(!_e(this._cursor.peek()))throw this._createError(R(this._cursor.peek()),this._cursor.getSpan(e));a=this._consumeTagOpenStart(e),r=a.parts[0],t=n=a.parts[1],this._attemptCharCodeUntilFn(C)}for(;;){if(this._allowStartTagComments){let o=this._cursor.clone();if(this._attemptStr("//")){this._consumeSingleLineComment(o);continue}if(this._attemptStr("/*")){this._consumeMultiLineComment(o);continue}}if(Kt(this._cursor.peek()))break;if(this._selectorlessEnabled&&this._cursor.peek()===64){let o=this._cursor.clone(),u=o.clone();u.advance(),Ie(u.peek())&&this._consumeDirective(o,u)}else{let o=this._consumeAttribute();i.push(o)}}a.type===35?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(o){if(o instanceof K){a?a.type=a.type===35?39:4:(this._beginToken(5,e),this._endToken(["<"]));return}throw o}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let s=this._getTagContentType(t,r,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(r,t),s===0?this._consumeRawTextWithTagClose(r,a,n,!1):s===1&&this._consumeRawTextWithTagClose(r,a,n,!0)}_consumeRawTextWithTagClose(e,t,r,n){this._consumeRawText(n,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(C),!this._attemptStrCaseInsensitive(e&&t.type!==35?`${e}:${r}`:r))?!1:(this._attemptCharCodeUntilFn(C),this._attemptCharCode(62))),this._beginToken(t.type===35?38:3),this._requireCharCodeUntilFn(a=>a===62,3),this._cursor.advance(),this._endToken(t.parts),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName(U);return this._endToken(t)}_consumeComponentOpenStart(e){this._beginToken(35,e);let t=this._consumeComponentName();return this._endToken(t)}_consumeComponentName(){let e=this._cursor.clone();for(;Gt(this._cursor.peek());)this._cursor.advance();let t=this._cursor.getChars(e),r="",n="";return this._cursor.peek()===58&&(this._cursor.advance(),[r,n]=this._consumePrefixAndName(U)),[t,r,n]}_consumeAttribute(){let[e,t]=this._consumeAttributeName(),r;return this._attemptCharCodeUntilFn(C),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(C),r=this._consumeAttributeValue()),this._attemptCharCodeUntilFn(C),{prefix:e,name:t,value:r}}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(R(e),this._cursor.getSpan());this._beginToken(15);let t;if(this._openDirectiveCount>0){let n=0;t=a=>{if(this._openDirectiveCount>0){if(a===40)n++;else if(a===41){if(n===0)return!0;n--}}return U(a)}}else if(e===91){let n=0;t=a=>(a===91?n++:a===93&&n--,n<=0?U(a):ve(a))}else t=U;let r=this._consumePrefixAndName(t);return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=()=>this._cursor.peek()===t;e=this._consumeWithInterpolation(17,18,r,r),this._consumeQuote(t)}else{let t=()=>U(this._cursor.peek());e=this._consumeWithInterpolation(17,18,t,t)}return e}_consumeQuote(e){this._beginToken(16),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeComponentOpenEnd(){let e=this._attemptCharCode(47)?37:36;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._selectorlessEnabled){let t=e.clone();for(;t.peek()!==62&&!Ie(t.peek());)t.advance();if(Ie(t.peek())){this._beginToken(38,e);let r=this._consumeComponentName();this._attemptCharCodeUntilFn(C),this._requireCharCode(62),this._endToken(r);return}}if(this._beginToken(3,e),this._attemptCharCodeUntilFn(C),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(C),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName(U);this._attemptCharCodeUntilFn(C),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(21),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(21),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(C),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(C)}_consumeExpansionCaseStart(){this._beginToken(22);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(C),this._beginToken(23),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(C),this._expansionCaseStack.push(23)}_consumeExpansionCaseEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(C),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(25),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let s=this._cursor.clone();this._attemptStr(pe.start)?(this._endToken([this._processCarriageReturns(a.join(""))],s),a.length=0,this._consumeInterpolation(t,s,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let i=this._processCarriageReturns(a.join(""));return this._endToken([i]),i}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(pe.start);let a=this._cursor.clone(),i=null,s=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let o=this._cursor.clone();if(this._isTagStart()){this._cursor=o,n.push(this._getProcessedChars(a,o)),this._endToken(n);return}if(i===null)if(this._attemptStr(pe.end)){n.push(this._getProcessedChars(a,o)),n.push(pe.end),this._endToken(n);return}else this._attemptStr("//")&&(s=!0);let u=this._cursor.peek();this._cursor.advance(),u===92?this._cursor.advance():u===i?i=null:!s&&i===null&&Ye(u)&&(i=u)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_consumeDirective(e,t){for(this._requireCharCode(64),this._cursor.advance();Gt(this._cursor.peek());)this._cursor.advance();this._beginToken(40,e);let r=this._cursor.getChars(t);if(this._endToken([r]),this._attemptCharCodeUntilFn(C),this._cursor.peek()===40){for(this._openDirectiveCount++,this._beginToken(41),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(C);!Kt(this._cursor.peek())&&this._cursor.peek()!==41;)this._consumeAttribute();if(this._attemptCharCodeUntilFn(C),this._openDirectiveCount--,this._cursor.peek()!==41){if(this._cursor.peek()===62||this._cursor.peek()===47)return;throw this._createError(R(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(42),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(C)}}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){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._isLetStart()||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===23}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===21}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;let e=this._cursor.clone(),t=this._attemptStr(pe.start);return this._cursor=e,!t}_handleFullNameStackForTagOpen(e,t){let r=fe(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=fe(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function C(e){return!Re(e)||e===0}function U(e){return Re(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function qs(e){return(e<97||122<e)&&(e<65||90<e)&&(e<48||e>57)}function Is(e){return e===59||e===0||!As(e)}function Ms(e){return e===59||e===0||!(_e(e)||De(e))}function Ps(e){return e!==125}function Hs(e,t){return Wt(e)===Wt(t)}function Wt(e){return e>=97&&e<=122?e-97+65:e}function Rs(e){return _e(e)||De(e)||e===95}function jt(e){return e!==59&&C(e)}function Ie(e){return e===95||e>=65&&e<=90}function Gt(e){return _e(e)||De(e)||e===95}function Kt(e){return e===47||e===62||e===60||e===0}function Us(e){let t=[],r;for(let n=0;n<e.length;n++){let a=e[n];r&&r.type===5&&a.type===5||r&&r.type===17&&a.type===17?(r.parts[0]+=a.parts[0],r.sourceSpan.end=a.sourceSpan.end):(r=a,t.push(r))}return t}var Kr=class at{state;file;input;end;constructor(t,r){if(t instanceof at){this.file=t.file,this.input=t.input,this.end=t.end;let n=t.state;this.state={peek:n.peek,offset:n.offset,line:n.line,column:n.column}}else{if(!r)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=t,this.input=t.content,this.end=r.endPos,this.state={peek:-1,offset:r.startPos,line:r.startLine,column:r.startCol}}}clone(){return new at(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(t){return this.state.offset-t.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(t,r){t=t||this;let n=t;if(r)for(;this.diff(t)>0&&r.indexOf(t.peek())!==-1;)n===t&&(t=t.clone()),t.advance();let a=this.locationFromCursor(t);return new d(a,this.locationFromCursor(this),n!==t?this.locationFromCursor(n):a)}getChars(t){return this.input.substring(t.state.offset,this.state.offset)}charAt(t){return this.input.charCodeAt(t)}advanceState(t){if(t.offset>=this.end)throw this.state=t,new At('Unexpected character "EOF"',this);let r=this.charAt(t.offset);r===10?(t.line++,t.column=0):ve(r)||t.column++,t.offset++,this.updatePeek(t)}updatePeek(t){t.peek=t.offset>=this.end?0:this.charAt(t.offset)}locationFromCursor(t){return new nt(t.file,t.state.offset,t.state.line,t.state.column)}},Vs=class it extends Kr{internalState;constructor(t,r){t instanceof it?(super(t),this.internalState={...t.internalState}):(super(t,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new it(this)}getChars(t){let r=t.clone(),n="";for(;r.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(r.peek()),r.advance();return n}processEscapeSequence(){let t=()=>this.internalState.peek;if(t()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),t()===110)this.state.peek=10;else if(t()===114)this.state.peek=13;else if(t()===118)this.state.peek=11;else if(t()===116)this.state.peek=9;else if(t()===98)this.state.peek=8;else if(t()===102)this.state.peek=12;else if(t()===117)if(this.advanceState(this.internalState),t()===123){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;t()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(t()===120){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(zt(t())){let r="",n=0,a=this.clone();for(;zt(t())&&n<3;)a=this.clone(),r+=String.fromCodePoint(t()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=a.internalState}else ve(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(t,r){let n=this.input.slice(t.internalState.offset,t.internalState.offset+r),a=parseInt(n,16);if(isNaN(a))throw t.state=t.internalState,new At("Invalid hexadecimal escape sequence",t);return a}},At=class extends Error{msg;cursor;constructor(e,t){super(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}},k=class Jr extends K{elementName;static create(t,r,n){return new Jr(t,r,n)}constructor(t,r,n){super(r,n),this.elementName=t}},Os=class{rootNodes;errors;constructor(e,t){this.rootNodes=e,this.errors=t}},zs=class{getTagDefinition;constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let i=p=>(h,...v)=>p(h.toLowerCase(),...v),s=n?this.getTagDefinition:i(this.getTagDefinition),o=p=>s(p).getContentType(),u=n?a:i(a),l=Es(e,t,a?(p,h,v,x)=>{let F=u(p,h,v,x);return F!==void 0?F:o(p)}:o,r),c=r&&r.canSelfClose||!1,f=r&&r.allowHtmComponentClosingTags||!1,g=new $s(l.tokens,s,c,f,n);return g.build(),new Os(g.rootNodes,[...l.errors,...g.errors])}},$s=class Yr{tokens;tagDefinitionResolver;canSelfClose;allowHtmComponentClosingTags;isTagNameCaseSensitive;_index=-1;_peek;_containerStack=[];rootNodes=[];errors=[];constructor(t,r,n,a,i){this.tokens=t,this.tagDefinitionResolver=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=a,this.isTagNameCaseSensitive=i,this._advance()}build(){for(;this._peek.type!==43;)this._peek.type===0||this._peek.type===4?this._consumeElementStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeElementEndTag(this._advance())):this._peek.type===13?(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===21?this._consumeExpansion(this._advance()):this._peek.type===26?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===28?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===31?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===19?this._consumeDocType(this._advance()):this._peek.type===34?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._peek.type===35||this._peek.type===39?this._consumeComponentStartTag(this._advance()):this._peek.type===38?this._consumeComponentEndTag(this._advance()):this._advance();for(let t of this._containerStack)t instanceof G&&this.errors.push(k.create(t.name,t.sourceSpan,`Unclosed block "${t.name}"`))}_advance(){let t=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],t}_advanceIf(t){return this._peek.type===t?this._advance():null}_consumeCdata(t){let r=this._advance(),n=this._getText(r),a=this._advanceIf(14);this._addToParent(new fs(n,new d(t.sourceSpan.start,(a||r).sourceSpan.end),[r]))}_consumeComment(t){let r=this._advanceIf(7),n=this._advanceIf(11),a=r!=null?r.parts[0].trim():null,i=n==null?t.sourceSpan:new d(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);this._addToParent(new ks(a,i))}_consumeDocType(t){let r=this._advanceIf(7),n=this._advanceIf(20),a=r!=null?r.parts[0].trim():null,i=new d(t.sourceSpan.start,(n||r||t).sourceSpan.end);this._addToParent(new bs(a,i))}_consumeExpansion(t){let r=this._advance(),n=this._advance(),a=[];for(;this._peek.type===22;){let s=this._parseExpansionCase();if(!s)return;a.push(s)}if(this._peek.type!==25){this.errors.push(k.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let i=new d(t.sourceSpan.start,this._peek.sourceSpan.end,t.sourceSpan.fullStart);this._addToParent(new vs(r.parts[0],n.parts[0],a,i,r.sourceSpan)),this._advance()}_parseExpansionCase(){let t=this._advance();if(this._peek.type!==23)return this.errors.push(k.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let r=this._advance(),n=this._collectExpansionExpTokens(r);if(!n)return null;let a=this._advance();n.push({type:43,parts:[],sourceSpan:a.sourceSpan});let i=new Yr(n,this.tagDefinitionResolver,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(i.build(),i.errors.length>0)return this.errors=this.errors.concat(i.errors),null;let s=new d(t.sourceSpan.start,a.sourceSpan.end,t.sourceSpan.fullStart),o=new d(r.sourceSpan.start,a.sourceSpan.end,r.sourceSpan.fullStart);return new Cs(t.parts[0],i.rootNodes,s,t.sourceSpan,o)}_collectExpansionExpTokens(t){let r=[],n=[23];for(;;){if((this._peek.type===21||this._peek.type===23)&&n.push(this._peek.type),this._peek.type===24)if(Jt(n,23)){if(n.pop(),n.length===0)return r}else return this.errors.push(k.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===25)if(Jt(n,21))n.pop();else return this.errors.push(k.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===43)return this.errors.push(k.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.push(this._advance())}}_getText(t){let r=t.parts[0];if(r.length>0&&r[0]==`
23
+ `){var n;let a=this._getClosestElementLikeParent();a!=null&&a.children.length==0&&!((n=this._getTagDefinition(a))===null||n===void 0)&&n.ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(t){let r=[t],n=t.sourceSpan,a=t.parts[0];if(a.length>0&&a[0]===`
24
+ `){var i;let s=this._getContainer();s!=null&&s.children.length===0&&!((i=this._getTagDefinition(s))===null||i===void 0)&&i.ignoreFirstLf&&(a=a.substring(1),r[0]={type:t.type,sourceSpan:t.sourceSpan,parts:[a]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)t=this._advance(),r.push(t),t.type===8?a+=t.parts.join("").replace(/&([^;]+);/g,Yt):t.type===9?a+=t.parts[0]:a+=t.parts.join("");if(a.length>0){let s=t.sourceSpan;this._addToParent(new gs(a,new d(n.start,s.end,n.fullStart,n.details),r))}}_closeVoidElement(){var t;let r=this._getContainer();r!==null&&!((t=this._getTagDefinition(r))===null||t===void 0)&&t.isVoid&&this._containerStack.pop()}_consumeElementStartTag(t){var r;let n=[],a=[],i=[];this._consumeAttributesAndDirectives(n,a,i);let s=this._getElementFullName(t,this._getClosestElementLikeParent()),o=this._getTagDefinition(s),u=!1;if(this._peek.type===2){this._advance(),u=!0;let x=this._getTagDefinition(s);this.canSelfClose||x?.canSelfClose||Pe(s)!==null||x?.isVoid||this.errors.push(k.create(s,t.sourceSpan,`Only void, custom and foreign elements can be self closed "${t.parts[1]}"`))}else this._peek.type===1&&(this._advance(),u=!1);let l=this._peek.sourceSpan.fullStart,c=new d(t.sourceSpan.start,l,t.sourceSpan.fullStart),f=new d(t.sourceSpan.start,l,t.sourceSpan.fullStart),g=new d(t.sourceSpan.start.moveBy(1),t.sourceSpan.end),p=new H(s,n,a,[],u,c,f,void 0,g,o?.isVoid??!1,void 0,i),h=this._getContainer(),v=h!==null&&!!(!((r=this._getTagDefinition(h))===null||r===void 0)&&r.isClosedByChild(p.name));this._pushContainer(p,v),u?this._popContainer(s,H,c):t.type===4&&(this._popContainer(s,H,null),this.errors.push(k.create(s,c,`Opening tag "${s}" not terminated.`)))}_consumeComponentStartTag(t){var r;let n=t.parts[0],a=[],i=[],s=[];this._consumeAttributesAndDirectives(a,i,s);let o=this._getClosestElementLikeParent(),u=this._getComponentTagName(t,o),l=this._getComponentFullName(t,o),c=this._peek.type===37;this._advance();let f=this._peek.sourceSpan.fullStart,g=new d(t.sourceSpan.start,f,t.sourceSpan.fullStart),p=new N(n,u,l,a,i,[],c,g,new d(t.sourceSpan.start,f,t.sourceSpan.fullStart),void 0,void 0,s),h=this._getContainer(),v=h!==null&&p.tagName!==null&&!!(!((r=this._getTagDefinition(h))===null||r===void 0)&&r.isClosedByChild(p.tagName));this._pushContainer(p,v),c?this._popContainer(l,N,g):t.type===39&&(this._popContainer(l,N,null),this.errors.push(k.create(l,g,`Opening tag "${l}" not terminated.`)))}_consumeAttributesAndDirectives(t,r,n){for(;this._peek.type===15||this._peek.type===40||this._peek.type===12;)if(this._peek.type===40)r.push(this._consumeDirective(this._peek));else if(this._peek.type===15)t.push(this._consumeAttr(this._advance()));else{let a=this._advance();n.push(new Ss(a.parts[0],a.parts[1],a.sourceSpan))}}_consumeComponentEndTag(t){let r=this._getComponentFullName(t,this._getClosestElementLikeParent());if(!this._popContainer(r,N,t.sourceSpan)){let n=this._containerStack[this._containerStack.length-1],a;n instanceof N&&n.componentName===t.parts[0]?a=`, did you mean "${n.fullName}"?`:a=". It may happen when the tag has already been closed by another tag.";let i=`Unexpected closing tag "${r}"${a}`;this.errors.push(k.create(r,t.sourceSpan,i))}}_getTagDefinition(t){return typeof t=="string"?this.tagDefinitionResolver(t):t instanceof H?this.tagDefinitionResolver(t.name):t instanceof N&&t.tagName!==null?this.tagDefinitionResolver(t.tagName):null}_pushContainer(t,r){r&&this._containerStack.pop(),this._addToParent(t),this._containerStack.push(t)}_consumeElementEndTag(t){var r;let n=this.allowHtmComponentClosingTags&&t.parts.length===0?null:this._getElementFullName(t,this._getClosestElementLikeParent());if(n&&!((r=this._getTagDefinition(n))===null||r===void 0)&&r.isVoid)this.errors.push(k.create(n,t.sourceSpan,`Void elements do not have end tags "${t.parts[1]}"`));else if(!this._popContainer(n,H,t.sourceSpan)){let a=`Unexpected closing tag "${n}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(k.create(n,t.sourceSpan,a))}}_popContainer(t,r,n){let a=!1;for(let s=this._containerStack.length-1;s>=0;s--){var i;let o=this._containerStack[s],u=o instanceof N?o.fullName:o.name;if(Pe(u)?u===t:(u===t||t===null)&&o instanceof r)return o.endSourceSpan=n,o.sourceSpan.end=n!==null?n.end:o.sourceSpan.end,this._containerStack.splice(s,this._containerStack.length-s),!a;(o instanceof G||!(!((i=this._getTagDefinition(o))===null||i===void 0)&&i.closedByParent))&&(a=!0)}return!1}_consumeAttr(t){let r=fe(t.parts[0],t.parts[1]),n=t.sourceSpan.end,a;this._peek.type===16&&(a=this._advance());let i="",s=[],o,u;if(this._peek.type===17)for(o=this._peek.sourceSpan,u=this._peek.sourceSpan.end;this._peek.type===17||this._peek.type===18||this._peek.type===9;){let c=this._advance();s.push(c),c.type===18?i+=c.parts.join("").replace(/&([^;]+);/g,Yt):c.type===9?i+=c.parts[0]:i+=c.parts.join(""),u=n=c.sourceSpan.end}this._peek.type===16&&(u=n=this._advance().sourceSpan.end);let l=o&&u&&new d(a?.sourceSpan.start??o.start,u,a?.sourceSpan.fullStart??o.fullStart);return new _s(r,i,new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),t.sourceSpan,l,s.length>0?s:void 0,void 0)}_consumeDirective(t){let r=[],n=t.sourceSpan.end,a=null;if(this._advance(),this._peek.type===41){for(n=this._peek.sourceSpan.end,this._advance();this._peek.type===15;)r.push(this._consumeAttr(this._advance()));this._peek.type===42?(a=this._peek.sourceSpan,this._advance()):this.errors.push(k.create(null,t.sourceSpan,"Unterminated directive definition"))}let i=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),s=new d(i.start,a===null?t.sourceSpan.end:a.end,i.fullStart);return new ws(t.parts[0],r,s,i,a)}_consumeBlockOpen(t){let r=[];for(;this._peek.type===29;){let o=this._advance();r.push(new Vt(o.parts[0],o.sourceSpan))}this._peek.type===27&&this._advance();let n=this._peek.sourceSpan.fullStart,a=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),s=new G(t.parts[0],r,[],a,t.sourceSpan,i);this._pushContainer(s,!1)}_consumeBlockClose(t){let r=this._containerStack.length,n=this._containerStack[r-1];if(!this._popContainer(null,G,t.sourceSpan)){if(this._containerStack.length<r){let a=n instanceof N?n.fullName:n.name;this.errors.push(k.create(null,t.sourceSpan,`Unexpected closing block. The block may have been closed earlier. Did you forget to close the <${a}> element? If you meant to write the \`}\` character, you should use the "&#125;" HTML entity instead.`));return}this.errors.push(k.create(null,t.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the `}` character, you should use the "&#125;" HTML entity instead.'))}}_consumeIncompleteBlock(t){let r=[];for(;this._peek.type===29;){let o=this._advance();r.push(new Vt(o.parts[0],o.sourceSpan))}let n=this._peek.sourceSpan.fullStart,a=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new d(t.sourceSpan.start,n,t.sourceSpan.fullStart),s=new G(t.parts[0],r,[],a,t.sourceSpan,i);this._pushContainer(s,!1),this._popContainer(null,G,null),this.errors.push(k.create(t.parts[0],a,`Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`))}_consumeLet(t){let r=t.parts[0],n,a;if(this._peek.type!==32){this.errors.push(k.create(t.parts[0],t.sourceSpan,`Invalid @let declaration "${r}". Declaration must have a value.`));return}else n=this._advance();if(this._peek.type!==33){this.errors.push(k.create(t.parts[0],t.sourceSpan,`Unterminated @let declaration "${r}". Declaration must be terminated with a semicolon.`));return}else a=this._advance();let i=a.sourceSpan.end,s=new d(t.sourceSpan.start,i,t.sourceSpan.fullStart),o=t.sourceSpan.toString().lastIndexOf(r),u=new d(t.sourceSpan.start.moveBy(o),t.sourceSpan.end),l=new Ot(r,n.parts[0],s,u,n.sourceSpan);this._addToParent(l)}_consumeIncompleteLet(t){let r=t.parts[0]??"",n=r?` "${r}"`:"";if(r.length>0){let a=t.sourceSpan.toString().lastIndexOf(r),i=new d(t.sourceSpan.start.moveBy(a),t.sourceSpan.end),s=new d(t.sourceSpan.start,t.sourceSpan.start.moveBy(0)),o=new Ot(r,"",t.sourceSpan,i,s);this._addToParent(o)}this.errors.push(k.create(t.parts[0],t.sourceSpan,`Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestElementLikeParent(){for(let t=this._containerStack.length-1;t>-1;t--){let r=this._containerStack[t];if(r instanceof H||r instanceof N)return r}return null}_addToParent(t){let r=this._getContainer();r===null?this.rootNodes.push(t):r.children.push(t)}_getElementFullName(t,r){return fe(this._getPrefix(t,r),t.parts[1])}_getComponentFullName(t,r){let n=t.parts[0],a=this._getComponentTagName(t,r);return a===null?n:a.startsWith(":")?n+a:`${n}:${a}`}_getComponentTagName(t,r){let n=this._getPrefix(t,r),a=t.parts[2];return!n&&!a?null:!n&&a?a:fe(n,a||"ng-component")}_getPrefix(t,r){var n;let a,i;if(t.type===35||t.type===39||t.type===38?(a=t.parts[1],i=t.parts[2]):(a=t.parts[0],i=t.parts[1]),a=a||((n=this._getTagDefinition(i))===null||n===void 0?void 0:n.implicitNamespacePrefix)||"",!a&&r){let s=r instanceof H?r.name:r.tagName;if(s!==null){let o=ae(s)[1],u=this._getTagDefinition(o);u!==null&&!u.preventNamespaceInheritance&&(a=Pe(s))}}return a}};function Jt(e,t){return e.length>0&&e[e.length-1]===t}function Yt(e,t){return Se[t]!==void 0?Se[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}var Ws=class extends zs{constructor(){super(rt)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},Qe;function st(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,allowStartTagComments:a=!1,isTagNameCaseSensitive:i=!1,getTagContentType:s,tokenizeAngularBlocks:o=!1,tokenizeAngularLetDeclaration:u=!1,enableAngularSelectorlessSyntax:l=!1}=t;return Qe??(Qe=new Ws),Qe.parse(e,"angular-html-parser",{tokenizeExpansionForms:o,canSelfClose:r,allowHtmComponentClosingTags:n,allowStartTagComments:a,tokenizeBlocks:o,tokenizeLet:u,selectorlessEnabled:l},i,s)}var js=[Ks,Js,Qs,Xs,eo,no,to,ro,ao,Zs];function Gs(e,t){for(let r of js)r(e,t);return e}function Ks(e){e.walk(t=>{if(t.kind==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].kind==="text"&&t.children[0].value[0]===`
25
+ `){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function Js(e){let t=r=>r.kind==="element"&&r.prev?.kind==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&r.firstChild?.kind==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset;e.walk(r=>{if(r.children)for(let n=0;n<r.children.length;n++){let a=r.children[n];if(!t(a))continue;let i=a.prev,s=a.firstChild;r.removeChild(i),n--;let o=new d(i.sourceSpan.start,s.sourceSpan.end),u=new d(o.start,a.sourceSpan.end);a.condition=i.condition,a.sourceSpan=u,a.startSourceSpan=o,a.removeChild(s)}})}function Ys(e,t,r){e.walk(n=>{if(n.children)for(let a=0;a<n.children.length;a++){let i=n.children[a];if(i.kind!=="text"&&!t(i))continue;i.kind!=="text"&&(i.kind="text",i.value=r(i));let s=i.prev;!s||s.kind!=="text"||(s.value+=i.value,s.sourceSpan=new d(s.sourceSpan.start,i.sourceSpan.end),n.removeChild(i),a--)}})}function Qs(e){return Ys(e,t=>t.kind==="cdata",t=>`<![CDATA[${t.value}]]>`)}function Zs(e){let t=r=>r.kind==="element"&&r.attrs.length===0&&!Ue(r.startTagComments)&&r.children.length===1&&r.firstChild.kind==="text"&&!D.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&r.prev?.kind==="text"&&r.next?.kind==="text";e.walk(r=>{if(r.children)for(let n=0;n<r.children.length;n++){let a=r.children[n];if(!t(a))continue;let i=a.prev,s=a.next;i.value+=`<${a.rawName}>`+a.firstChild.value+`</${a.rawName}>`+s.value,i.sourceSpan=new d(i.sourceSpan.start,s.sourceSpan.end),i.isTrailingSpaceSensitive=s.isTrailingSpaceSensitive,i.hasTrailingSpaces=s.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(s)}})}function Xs(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/s;e.walk(n=>{if(la(n,t))for(let a of n.children){if(a.kind!=="text")continue;let i=a.sourceSpan.start,s,o=a.value.split(r);for(let u=0;u<o.length;u++,i=s){let l=o[u];if(u%2===0){s=i.moveBy(l.length),l.length>0&&n.insertChildBefore(a,{kind:"text",value:l,sourceSpan:new d(i,s)});continue}s=i.moveBy(l.length+4),n.insertChildBefore(a,{kind:"interpolation",sourceSpan:new d(i,s),children:l.length===0?[]:[{kind:"text",value:l,sourceSpan:new d(i.moveBy(2),s.moveBy(-2))}]})}n.removeChild(a)}})}function eo(e,t){e.walk(r=>{let n=r.$children;if(!n)return;if(n.length===0||n.length===1&&n[0].kind==="text"&&D.trim(n[0].value).length===0){r.hasDanglingSpaces=n.length>0,r.$children=[];return}let a=ca(r,t),i=yr(r);if(!a)for(let s=0;s<n.length;s++){let o=n[s];if(o.kind!=="text")continue;let{leadingWhitespace:u,text:l,trailingWhitespace:c}=oa(o.value),f=o.prev,g=o.next;l?(o.value=l,o.sourceSpan=new d(o.sourceSpan.start.moveBy(u.length),o.sourceSpan.end.moveBy(-c.length)),u&&(f&&(f.hasTrailingSpaces=!0),o.hasLeadingSpaces=!0),c&&(o.hasTrailingSpaces=!0,g&&(g.hasLeadingSpaces=!0))):(r.removeChild(o),s--,(u||c)&&(f&&(f.hasTrailingSpaces=!0),g&&(g.hasLeadingSpaces=!0)))}r.isWhitespaceSensitive=a,r.isIndentationSensitive=i})}function to(e){e.walk(t=>{t.isSelfClosing=!t.children||t.kind==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function ro(e,t){e.walk(r=>{r.kind==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function no(e,t){e.walk(r=>{r.cssDisplay=xa(r,t)})}function ao(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=da(r,t);return}for(let a of n)a.isLeadingSpaceSensitive=pa(a,t),a.isTrailingSpaceSensitive=ha(a,t);for(let a=0;a<n.length;a++){let i=n[a];i.isLeadingSpaceSensitive=(a===0||i.prev.isTrailingSpaceSensitive)&&i.isLeadingSpaceSensitive,i.isTrailingSpaceSensitive=(a===n.length-1||i.next.isLeadingSpaceSensitive)&&i.isTrailingSpaceSensitive}}})}var io=Gs;function so(e,t,r){let{node:n}=e;switch(n.kind){case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[b(yt(e,t,r)),_];case"element":case"ieConditionalComment":return Qi(e,t,r);case"angularControlFlowBlock":return zi(e,t,r);case"angularControlFlowBlockParameters":return Ki(e,t,r);case"angularControlFlowBlockParameter":return D.trim(n.expression);case"angularLetDeclaration":return b(["@let ",b([n.id," =",b(L([S,r("init")]))]),";"]);case"angularLetDeclarationInitializer":return n.value;case"angularIcuExpression":return Ji(e,t,r);case"angularIcuCase":return Yi(e,t,r);case"ieConditionalStartComment":case"ieConditionalEndComment":return[me(n),de(n)];case"interpolation":return[me(n,t),...e.map(r,"children"),de(n,t)];case"text":{if(n.parent.kind==="interpolation"){let o=/\n[^\S\n]*$/,u=o.test(n.value),l=u?n.value.replace(o,""):n.value;return[B(l),u?_:""]}let a=$(n,t),i=Nr(n),s=O(n,t);return i[0]=[a,i[0]],i.push([i.pop(),s]),fr(i)}case"docType":return[b([me(n,t)," ",y(0,n.value.replace(/^html\b/i,"html"),/\s+/g," ")]),de(n,t)];case"comment":return[$(n,t),B(t.originalText.slice(Y(n),$e(n))),O(n,t)];case"attribute":{if(n.value===null)return n.rawName;let a=Fr(n.value),i=Ir(n,t)?"":En(a,'"');return[n.rawName,"=",i,B(i==='"'?y(0,a,'"',"&quot;"):y(0,a,"'","&apos;")),i]}case"startTagComment":return Zi(e);default:throw new qn(n,"HTML")}}var oo={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},preprocess:io,print:so,insertPragma:Vi,massageAstNode:Vr,embed:xi,getVisitorKeys:Ni},uo=oo,lo=[{name:"Angular",type:"markup",aceMode:"html",extensions:[".component.html"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["angular"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"HTML",type:"markup",aceMode:"html",extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["html"],vscodeLanguageIds:["html"],linguistLanguageId:146},{name:"Lightning Web Components",type:"markup",aceMode:"html",extensions:[],tmScope:"text.html.basic",aliases:["LWC","lwc"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"MJML",type:"markup",aceMode:"html",extensions:[".mjml"],tmScope:"text.mjml.basic",aliases:["MJML","mjml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["mjml"],filenames:[],vscodeLanguageIds:["mjml"],linguistLanguageId:146},{name:"Vue",type:"markup",aceMode:"vue",extensions:[".vue"],tmScope:"text.html.vue",codemirrorMode:"vue",codemirrorMimeType:"text/x-vue",parsers:["vue"],vscodeLanguageIds:["vue"],linguistLanguageId:391}],Qt={bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},Zt="HTML",co={bracketSameLine:Qt.bracketSameLine,htmlWhitespaceSensitivity:{category:Zt,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:Qt.singleAttributePerLine,vueIndentScriptAndStyle:{category:Zt,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},po=co,Qr={};ar(Qr,{angular:()=>Uo,html:()=>Po,lwc:()=>Oo,mjml:()=>Ro,vue:()=>Vo});function ho(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}var mo=ho,go={canSelfClose:!0,normalizeTagName:!1,normalizeAttributeName:!1,allowHtmComponentClosingTags:!1,allowStartTagComments:!1,isTagNameCaseSensitive:!1,shouldParseFrontMatter:!0};function Zr(e){return{...go,...e}}function Xr(e){let{canSelfClose:t,allowHtmComponentClosingTags:r,allowStartTagComments:n,isTagNameCaseSensitive:a,shouldParseAsRawText:i,tokenizeAngularBlocks:s,tokenizeAngularLetDeclaration:o}=e;return{canSelfClose:t,allowHtmComponentClosingTags:r,allowStartTagComments:n,isTagNameCaseSensitive:a,getTagContentType:i?(...u)=>i(...u)?Xi.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:s,tokenizeAngularLetDeclaration:o}}var Ze=new Map([["*",new Set(["accesskey","autocapitalize","autocorrect","autofocus","class","contenteditable","dir","draggable","enterkeyhint","exportparts","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["command","commandfor","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["closedby","open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alpha","alt","autocomplete","checked","colorspace","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootmode","shadowrootserializable"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),fo=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","em","embed","fencedframe","fieldset","figcaption","figure","font","footer","form","frame","frameset","geolocation","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","selectedcontent","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),Me={attrs:!0,children:!0,cases:!0,expression:!0},Xt=new Set(["parent"]),J,ot,ut,vo=class he{constructor(t={}){an(this,J),Et(this,"kind"),Et(this,"parent");for(let r of new Set([...Xt,...Object.keys(t)]))this.setProperty(r,t[r]);if(Ve(t))for(let r of Object.getOwnPropertySymbols(t))this.setProperty(r,t[r])}setProperty(t,r){if(this[t]!==r){if(t in Me&&(r=r.map(n=>this.createChild(n))),!Xt.has(t)){this[t]=r;return}Object.defineProperty(this,t,{value:r,enumerable:!1,configurable:!0})}}map(t){let r;for(let n in Me){let a=this[n];if(a){let i=_o(a,s=>s.map(t));r!==a&&(r??(r=new he({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let n in this)n in Me||(r[n]=this[n]);return t(r||this)}walk(t){for(let r in Me){let n=this[r];if(n)for(let a=0;a<n.length;a++)n[a].walk(t)}t(this)}createChild(t){let r=t instanceof he?t.clone():new he(t);return r.setProperty("parent",this),r}insertChildBefore(t,r){let n=this.$children;n.splice(n.indexOf(t),0,this.createChild(r))}removeChild(t){let r=this.$children;r.splice(r.indexOf(t),1)}replaceChild(t,r){let n=this.$children;n[n.indexOf(t)]=this.createChild(r)}clone(){return new he(this)}get $children(){return this[Le(this,J,ot)]}set $children(t){this[Le(this,J,ot)]=t}get firstChild(){return this.$children?.[0]}get lastChild(){return Z(1,this.$children,-1)}get prev(){let t=Le(this,J,ut);return t[t.indexOf(this)-1]}get next(){let t=Le(this,J,ut);return t[t.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(t=>[t.fullName,t.value]))}};J=new WeakSet,ot=function(){return this.kind==="angularIcuCase"?"expression":this.kind==="angularIcuExpression"?"cases":"children"},ut=function(){return this.parent?.$children??[]};var Co=vo;function _o(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}var So=[{regex:/^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/s,parse:bo},{regex:/^\[if(?<condition>[^\]]*)\]><!$/,parse:wo},{regex:/^<!\s*\[endif\]$/,parse:yo}];function ko(e,t){if(e.value)for(let{regex:r,parse:n}of So){let a=e.value.match(r);if(a)return n(e,a,t)}return null}function bo(e,t,r){let{openingTagSuffix:n,condition:a,data:i}=t.groups,s=4+n.length,o=e.sourceSpan.start.moveBy(s),u=o.moveBy(i.length),[l,c]=(()=>{try{return[!0,r(i,o).children]}catch{return[!1,[{kind:"text",value:i,sourceSpan:new d(o,u)}]]}})();return{kind:"ieConditionalComment",complete:l,children:c,condition:y(0,a.trim(),/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new d(e.sourceSpan.start,o),endSourceSpan:new d(u,e.sourceSpan.end)}}function wo(e,t){let{condition:r}=t.groups;return{kind:"ieConditionalStartComment",condition:y(0,r.trim(),/\s+/g," "),sourceSpan:e.sourceSpan}}function yo(e){return{kind:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}var Ao=class extends ys{visitExpansionCase(e,t){t.parseOptions.name==="angular"&&this.visitChildren(t,r=>{r(e.expression)})}visit(e,{parseOptions:t}){Bo(e),Lo(e,t),No(e,t),Fo(e)}};function xo(e,t,r,n){let a=r.name==="angular";Gr(new Ao,e.children,{parseOptions:r}),t&&e.children.unshift(t);let i=new Co(e);return i.walk(s=>{if(s.kind==="comment"){let o=ko(s,n);o&&s.parent.replaceChild(s,o)}else a&&s.kind==="element"&&s.comments&&(s.startTagComments=s.comments,delete s.comments);a&&(Eo(s),Do(s),To(s))}),i}function Eo(e){if(e.kind==="block"){if(e.name=y(0,e.name.toLowerCase(),/\s+/g," ").trim(),e.kind="angularControlFlowBlock",!Ue(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.kind="angularControlFlowBlockParameter";e.parameters={kind:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new d(e.parameters[0].sourceSpan.start,Z(0,e.parameters,-1).sourceSpan.end)}}}function Do(e){e.kind==="letDeclaration"&&(e.kind="angularLetDeclaration",e.id=e.name,e.init={kind:"angularLetDeclarationInitializer",sourceSpan:new d(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function To(e){e.kind==="expansion"&&(e.kind="angularIcuExpression"),e.kind==="expansionCase"&&(e.kind="angularIcuCase")}function er(e,t){let r=e.toLowerCase();return t(r)?r:e}function tr(e){let t=e.name.startsWith(":")?e.name.slice(1).split(":",1)[0]:null,r=e.nameSpan.toString(),n=t!==null&&r.startsWith(`${t}:`),a=n?r.slice(t.length+1):r;e.name=a,e.namespace=t,e.hasExplicitNamespace=n}function Bo(e){switch(e.kind){case"element":tr(e);for(let t of e.attrs)tr(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;break;case"comment":e.value=e.sourceSpan.toString().slice(4,-3);break;case"text":e.value=e.sourceSpan.toString();break}}function Lo(e,t){if(e.kind==="element"){let r=rt(t.isTagNameCaseSensitive?e.name:e.name.toLowerCase());!e.namespace||e.namespace===r.implicitNamespacePrefix||ye(e)?e.tagDefinition=r:e.tagDefinition=rt("")}}function Fo(e){e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new d(e.sourceSpan.start,e.endSourceSpan.end))}function No(e,t){if(e.kind==="element"&&(t.normalizeTagName&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||ye(e))&&(e.name=er(e.name,r=>fo.has(r))),t.normalizeAttributeName))for(let r of e.attrs)r.namespace||(r.name=er(r.name,n=>Ze.has(e.name)&&(Ze.get("*").has(n)||Ze.get(e.name).has(n))))}function en(e,t){let{rootNodes:r,errors:n}=st(e,Xr(t));return n.length>0&&lt(n[0]),{parseOptions:t,rootNodes:r}}function qo(e,t){let r=Xr(t),{rootNodes:n,errors:a}=st(e,r);if(n.some(u=>u.kind==="docType"&&u.value==="html"||u.kind==="element"&&u.name.toLowerCase()==="html"))return en(e,xt);let i,s=()=>i??(i=st(e,{...r,getTagContentType:void 0})),o=u=>{let{offset:l}=u.startSourceSpan.start;return s().rootNodes.find(c=>c.kind==="element"&&c.startSourceSpan.start.offset===l)??u};for(let[u,l]of n.entries())if(l.kind==="element"){if(l.isVoid)a=s().errors,n[u]=o(l);else if(Io(l)){let{endSourceSpan:c,startSourceSpan:f}=l,g=s().errors.find(p=>p.span.start.offset>f.start.offset&&p.span.start.offset<c.end.offset);g&&lt(g),n[u]=o(l)}}return a.length>0&&lt(a[0]),{parseOptions:t,rootNodes:n}}function Io(e){if(e.kind!=="element"||e.name!=="template")return!1;let t=e.attrs.find(r=>r.name==="lang")?.value;return!t||t==="html"}function lt(e){let{msg:t,span:{start:r,end:n}}=e;throw mo(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function Mo(e,t,r,n,a,i){let{offset:s}=n,o=kr(t.slice(0,s))+r,u=tn(o,e,{...a,shouldParseFrontMatter:!1},i);u.sourceSpan=new d(n,Z(0,u.children,-1).sourceSpan.end);let l=u.children[0];return l.length===s?u.children.shift():(l.sourceSpan=new d(l.sourceSpan.start.moveBy(s),l.sourceSpan.end),l.value=l.value.slice(s)),u}function tn(e,t,r,n={}){let{frontMatter:a,content:i}=r.shouldParseFrontMatter?ra(e):{content:e},s=new jr(e,n.filepath),o=new nt(s,0,0,0),u=o.moveBy(e.length),{parseOptions:l,rootNodes:c}=t(i,r),f={kind:"root",sourceSpan:new d(o,u),children:c},g;if(a){let[p,h]=[a.start,a.end].map(v=>new nt(s,v.index,v.line-1,v.column));g={...a,kind:"frontMatter",sourceSpan:new d(p,h)}}return xo(f,g,l,(p,h)=>Mo(t,e,p,h,l,n))}var xt=Zr({name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0});function Te(e){let t=Zr(e),r=t.name==="vue"?qo:en;return{parse:(n,a)=>tn(n,r,t,a),hasPragma:Ri,hasIgnorePragma:Ui,astFormat:"html",locStart:Y,locEnd:$e}}var Po=Te(xt),Ho=new Set(["mj-style","mj-raw"]),Ro=Te({...xt,name:"mjml",shouldParseAsRawText:e=>Ho.has(e)}),Uo=Te({name:"angular",tokenizeAngularBlocks:!0,tokenizeAngularLetDeclaration:!0,allowStartTagComments:!0}),Vo=Te({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(e,t,r,n){return e.toLowerCase()!=="html"&&!r&&(e!=="template"||n.some(({name:a,value:i})=>a==="lang"&&i!=="html"&&i!==""&&i!==void 0))}}),Oo=Te({name:"lwc",canSelfClose:!1}),zo={html:uo};export{sn as default,lo as languages,po as options,Qr as parsers,zo as printers};
26
+ //# sourceMappingURL=html-DwgzGnwN.js.map