libre-webui 0.24.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/README.md +26 -15
  2. package/backend/dist/index.d.ts.map +1 -1
  3. package/backend/dist/index.js +9 -0
  4. package/backend/dist/index.js.map +1 -1
  5. package/backend/dist/persistence/postgresMigrationRegistry.d.ts.map +1 -1
  6. package/backend/dist/persistence/postgresMigrationRegistry.js +2 -0
  7. package/backend/dist/persistence/postgresMigrationRegistry.js.map +1 -1
  8. package/backend/dist/persistence/postgresPersonalAutomationsMigration.d.ts +8 -0
  9. package/backend/dist/persistence/postgresPersonalAutomationsMigration.d.ts.map +1 -0
  10. package/backend/dist/persistence/postgresPersonalAutomationsMigration.js +98 -0
  11. package/backend/dist/persistence/postgresPersonalAutomationsMigration.js.map +1 -0
  12. package/backend/dist/persistence/postgresResourceRepositories.d.ts.map +1 -1
  13. package/backend/dist/persistence/postgresResourceRepositories.js +274 -0
  14. package/backend/dist/persistence/postgresResourceRepositories.js.map +1 -1
  15. package/backend/dist/persistence/resourceTypes.d.ts +83 -2
  16. package/backend/dist/persistence/resourceTypes.d.ts.map +1 -1
  17. package/backend/dist/persistence/resourceTypes.js.map +1 -1
  18. package/backend/dist/persistence/sqliteMigrations.d.ts +1 -0
  19. package/backend/dist/persistence/sqliteMigrations.d.ts.map +1 -1
  20. package/backend/dist/persistence/sqliteMigrations.js +181 -0
  21. package/backend/dist/persistence/sqliteMigrations.js.map +1 -1
  22. package/backend/dist/persistence/sqliteResourceRepositories.d.ts.map +1 -1
  23. package/backend/dist/persistence/sqliteResourceRepositories.js +233 -0
  24. package/backend/dist/persistence/sqliteResourceRepositories.js.map +1 -1
  25. package/backend/dist/persistence/sqliteToPostgresMigration.d.ts.map +1 -1
  26. package/backend/dist/persistence/sqliteToPostgresMigration.js +41 -0
  27. package/backend/dist/persistence/sqliteToPostgresMigration.js.map +1 -1
  28. package/backend/dist/platform/jobs/domainJobContracts.d.ts +3 -0
  29. package/backend/dist/platform/jobs/domainJobContracts.d.ts.map +1 -1
  30. package/backend/dist/platform/jobs/domainJobContracts.js +3 -0
  31. package/backend/dist/platform/jobs/domainJobContracts.js.map +1 -1
  32. package/backend/dist/platform/jobs/domainJobHandlers.d.ts.map +1 -1
  33. package/backend/dist/platform/jobs/domainJobHandlers.js +101 -1
  34. package/backend/dist/platform/jobs/domainJobHandlers.js.map +1 -1
  35. package/backend/dist/routes/automations.d.ts +3 -0
  36. package/backend/dist/routes/automations.d.ts.map +1 -0
  37. package/backend/dist/routes/automations.js +232 -0
  38. package/backend/dist/routes/automations.js.map +1 -0
  39. package/backend/dist/routes/calendar.d.ts +3 -0
  40. package/backend/dist/routes/calendar.d.ts.map +1 -0
  41. package/backend/dist/routes/calendar.js +206 -0
  42. package/backend/dist/routes/calendar.js.map +1 -0
  43. package/backend/dist/routes/chat.d.ts.map +1 -1
  44. package/backend/dist/routes/chat.js +99 -7
  45. package/backend/dist/routes/chat.js.map +1 -1
  46. package/backend/dist/routes/ollama.d.ts.map +1 -1
  47. package/backend/dist/routes/ollama.js +4 -1
  48. package/backend/dist/routes/ollama.js.map +1 -1
  49. package/backend/dist/routes/search.d.ts.map +1 -1
  50. package/backend/dist/routes/search.js +5 -3
  51. package/backend/dist/routes/search.js.map +1 -1
  52. package/backend/dist/services/automationSchedulerService.d.ts +28 -0
  53. package/backend/dist/services/automationSchedulerService.d.ts.map +1 -0
  54. package/backend/dist/services/automationSchedulerService.js +191 -0
  55. package/backend/dist/services/automationSchedulerService.js.map +1 -0
  56. package/backend/dist/services/automationService.d.ts +53 -0
  57. package/backend/dist/services/automationService.d.ts.map +1 -0
  58. package/backend/dist/services/automationService.js +224 -0
  59. package/backend/dist/services/automationService.js.map +1 -0
  60. package/backend/dist/services/chatGenerationService.d.ts.map +1 -1
  61. package/backend/dist/services/chatGenerationService.js +7 -1
  62. package/backend/dist/services/chatGenerationService.js.map +1 -1
  63. package/backend/dist/services/chatService.d.ts +9 -1
  64. package/backend/dist/services/chatService.d.ts.map +1 -1
  65. package/backend/dist/services/chatService.js +91 -13
  66. package/backend/dist/services/chatService.js.map +1 -1
  67. package/backend/dist/services/contextCompactionService.d.ts +11 -6
  68. package/backend/dist/services/contextCompactionService.d.ts.map +1 -1
  69. package/backend/dist/services/contextCompactionService.js +127 -27
  70. package/backend/dist/services/contextCompactionService.js.map +1 -1
  71. package/backend/dist/services/durableChatGenerationService.d.ts.map +1 -1
  72. package/backend/dist/services/durableChatGenerationService.js +15 -3
  73. package/backend/dist/services/durableChatGenerationService.js.map +1 -1
  74. package/backend/dist/services/ollamaService.d.ts.map +1 -1
  75. package/backend/dist/services/ollamaService.js +9 -2
  76. package/backend/dist/services/ollamaService.js.map +1 -1
  77. package/backend/dist/services/pluginService.d.ts +10 -0
  78. package/backend/dist/services/pluginService.d.ts.map +1 -1
  79. package/backend/dist/services/pluginService.js +42 -7
  80. package/backend/dist/services/pluginService.js.map +1 -1
  81. package/backend/dist/services/preferencesService.d.ts.map +1 -1
  82. package/backend/dist/services/preferencesService.js +3 -0
  83. package/backend/dist/services/preferencesService.js.map +1 -1
  84. package/backend/dist/services/titleGenerationService.d.ts.map +1 -1
  85. package/backend/dist/services/titleGenerationService.js +5 -1
  86. package/backend/dist/services/titleGenerationService.js.map +1 -1
  87. package/backend/dist/services/webSearchPlanService.d.ts +18 -0
  88. package/backend/dist/services/webSearchPlanService.d.ts.map +1 -0
  89. package/backend/dist/services/webSearchPlanService.js +160 -0
  90. package/backend/dist/services/webSearchPlanService.js.map +1 -0
  91. package/backend/dist/services/webSearchService.d.ts +9 -3
  92. package/backend/dist/services/webSearchService.d.ts.map +1 -1
  93. package/backend/dist/services/webSearchService.js +8 -2
  94. package/backend/dist/services/webSearchService.js.map +1 -1
  95. package/backend/dist/storage.d.ts +7 -1
  96. package/backend/dist/storage.d.ts.map +1 -1
  97. package/backend/dist/storage.js +65 -1
  98. package/backend/dist/storage.js.map +1 -1
  99. package/backend/dist/types/index.d.ts +79 -0
  100. package/backend/dist/types/index.d.ts.map +1 -1
  101. package/backend/dist/types/index.js.map +1 -1
  102. package/backend/dist/utils/automationSchedule.d.ts +26 -0
  103. package/backend/dist/utils/automationSchedule.d.ts.map +1 -0
  104. package/backend/dist/utils/automationSchedule.js +231 -0
  105. package/backend/dist/utils/automationSchedule.js.map +1 -0
  106. package/backend/dist/utils/chatContext.d.ts +7 -0
  107. package/backend/dist/utils/chatContext.d.ts.map +1 -1
  108. package/backend/dist/utils/chatContext.js +13 -2
  109. package/backend/dist/utils/chatContext.js.map +1 -1
  110. package/backend/dist/utils/openAIResponsesAdapter.d.ts.map +1 -1
  111. package/backend/dist/utils/openAIResponsesAdapter.js +3 -1
  112. package/backend/dist/utils/openAIResponsesAdapter.js.map +1 -1
  113. package/backend/dist/utils/pluginChatAdapter.d.ts +1 -0
  114. package/backend/dist/utils/pluginChatAdapter.d.ts.map +1 -1
  115. package/backend/dist/utils/pluginChatAdapter.js +82 -19
  116. package/backend/dist/utils/pluginChatAdapter.js.map +1 -1
  117. package/backend/dist/utils/pluginModelCatalog.d.ts +20 -0
  118. package/backend/dist/utils/pluginModelCatalog.d.ts.map +1 -1
  119. package/backend/dist/utils/pluginModelCatalog.js +101 -9
  120. package/backend/dist/utils/pluginModelCatalog.js.map +1 -1
  121. package/backend/dist/utils/resourceLimits.d.ts +7 -0
  122. package/backend/dist/utils/resourceLimits.d.ts.map +1 -1
  123. package/backend/dist/utils/resourceLimits.js +7 -0
  124. package/backend/dist/utils/resourceLimits.js.map +1 -1
  125. package/backend/dist/utils/thinkingOptions.d.ts +23 -3
  126. package/backend/dist/utils/thinkingOptions.d.ts.map +1 -1
  127. package/backend/dist/utils/thinkingOptions.js +35 -9
  128. package/backend/dist/utils/thinkingOptions.js.map +1 -1
  129. package/backend/dist/websocketServer.d.ts.map +1 -1
  130. package/backend/dist/websocketServer.js +9 -3
  131. package/backend/dist/websocketServer.js.map +1 -1
  132. package/backend/package.json +1 -1
  133. package/frontend/dist/artifact-runtime/.build-fingerprint +1 -1
  134. package/frontend/dist/assets/index-6o-Hc2wS.js +41 -0
  135. package/frontend/dist/assets/index-D-pM957b.css +1 -0
  136. package/frontend/dist/index.html +12 -12
  137. package/frontend/dist/js/ArtifactContainer-CpUi6ekF.js +1 -0
  138. package/frontend/dist/js/{ArtifactDemoPage-TONeQvof.js → ArtifactDemoPage-BeNs3gHp.js} +1 -1
  139. package/frontend/dist/js/{ArtifactSandboxFrame-CV2XXu_t.js → ArtifactSandboxFrame-qsj_Y3LV.js} +2 -2
  140. package/frontend/dist/js/ArtifactSlideOutPanel-CSFRluWA.js +1 -0
  141. package/frontend/dist/js/AutomationsPage-KUeWoZNv.js +1 -0
  142. package/frontend/dist/js/CalendarPage-D9I972w8.js +1 -0
  143. package/frontend/dist/js/ChatPage-CmBx4oAL.js +16 -0
  144. package/frontend/dist/js/{FirstTimeSetup-smhj0X6o.js → FirstTimeSetup-Df0YJni3.js} +1 -1
  145. package/frontend/dist/js/GalleryPage-bLCrdJN_.js +1 -0
  146. package/frontend/dist/js/HomePage-Uc6PEg-U.js +1 -0
  147. package/frontend/dist/js/{LibreClawPage-CRKei1MM.js → LibreClawPage-CG63DHg1.js} +1 -1
  148. package/frontend/dist/js/{ModelManagerModals-D0amaOnl.js → ModelManagerModals-DcLGYN3l.js} +1 -1
  149. package/frontend/dist/js/ModelSelector-yxJC64rM.js +1 -0
  150. package/frontend/dist/js/ModelsPage-1R_TxgmJ.js +2 -0
  151. package/frontend/dist/js/NotesPage-L65j5HoW.js +1 -0
  152. package/frontend/dist/js/PersonasPage-CKeBpHIH.js +13 -0
  153. package/frontend/dist/js/PluginUsagePage-BX1SKMbW.js +1 -0
  154. package/frontend/dist/js/{RichMessageContent-Bxi_u0gC.js → RichMessageContent-DiySVYGB.js} +1 -1
  155. package/frontend/dist/js/SettingsModal-68SG1uZ2.js +1 -0
  156. package/frontend/dist/js/SystemPage-CytpZiQV.js +1 -0
  157. package/frontend/dist/js/UserManagementPage-BzJBvZiS.js +1 -0
  158. package/frontend/dist/js/WorkPage-C8gr0QJe.js +6 -0
  159. package/frontend/dist/js/api-BDtqBtqw.js +14 -0
  160. package/frontend/dist/js/{appStore-CJtomipz.js → appStore-0JnCUlEq.js} +2 -2
  161. package/frontend/dist/js/ar-CSpi37Gr.js +2 -0
  162. package/frontend/dist/js/{authStore-BckFDL70.js → authStore-DbMdvNgJ.js} +3 -3
  163. package/frontend/dist/js/{babel-D24oDI9y.js → babel-BsYoxD-7.js} +1 -1
  164. package/frontend/dist/js/bn-CyH1BeDD.js +2 -0
  165. package/frontend/dist/js/calendarDates-Co3o_05Y.js +1 -0
  166. package/frontend/dist/js/chatStore-CHQ2uINS.js +3 -0
  167. package/frontend/dist/js/{config-CNVNpf_q.js → config-DSOYQ9a3.js} +1 -1
  168. package/frontend/dist/js/cs-Cv2NfRK5.js +2 -0
  169. package/frontend/dist/js/da-D6D6IvPK.js +2 -0
  170. package/frontend/dist/js/de-BNoJJTrT.js +2 -0
  171. package/frontend/dist/js/es-kzo9C7q_.js +2 -0
  172. package/frontend/dist/js/{estree-D1TYSBcf.js → estree-BcnBcOAx.js} +7 -7
  173. package/frontend/dist/js/fr-CjHYvJRp.js +2 -0
  174. package/frontend/dist/js/hi-BU98AdCQ.js +2 -0
  175. package/frontend/dist/js/{html-Dmddj0zf.js → html-DkY55Jys.js} +10 -10
  176. package/frontend/dist/js/id-CpdedejX.js +2 -0
  177. package/frontend/dist/js/is-Cp5dDWBH.js +2 -0
  178. package/frontend/dist/js/it-CuH_cK4U.js +2 -0
  179. package/frontend/dist/js/ja-BWXXXiHn.js +2 -0
  180. package/frontend/dist/js/ko-DQgv2M1t.js +2 -0
  181. package/frontend/dist/js/{markdown-Bl_LsHEk.js → markdown-IZSI9DXw.js} +6 -6
  182. package/frontend/dist/js/{messageCodeStyles-CgKxn4tN.js → messageCodeStyles-BFNR9Wv6.js} +2 -2
  183. package/frontend/dist/js/ms-DCcRoIcX.js +2 -0
  184. package/frontend/dist/js/nl-CbKR1_EU.js +2 -0
  185. package/frontend/dist/js/pl-CRyJZccn.js +2 -0
  186. package/frontend/dist/js/{postcss-Bx9CTcIc.js → postcss-BJ0okz7n.js} +1 -1
  187. package/frontend/dist/js/pt-BXYmHFGH.js +2 -0
  188. package/frontend/dist/js/{router-vendor-CbPDks39.js → router-vendor-DGFGM3EP.js} +1 -1
  189. package/frontend/dist/js/ru-M9SyZG4b.js +2 -0
  190. package/frontend/dist/js/{standalone-BWau8hEE.js → standalone-Csw3jfJ_.js} +5 -5
  191. package/frontend/dist/js/sv-DJ486LTU.js +2 -0
  192. package/frontend/dist/js/th-Ch7gKtZv.js +2 -0
  193. package/frontend/dist/js/tr-ClehWhSC.js +2 -0
  194. package/frontend/dist/js/{typescript-DxGn3Yn-.js → typescript-CnF4UVx7.js} +2 -2
  195. package/frontend/dist/js/{ui-jlx9WA5A.js → ui-CC-K19wO.js} +2 -2
  196. package/frontend/dist/js/ui-vendor-B1UgO3vd.js +177 -0
  197. package/frontend/dist/js/uk-BqAd5zHF.js +2 -0
  198. package/frontend/dist/js/{vi-BgRaIrQC.js → vi-D9gjlDVB.js} +2 -2
  199. package/frontend/dist/js/{workApi-DWRpZ_cq.js → workApi-C3uy9EDT.js} +3 -3
  200. package/frontend/dist/js/{yaml-DioTxVLA.js → yaml-DzT5hBSH.js} +5 -5
  201. package/frontend/dist/js/zh-DKTyHkiR.js +2 -0
  202. package/package.json +2 -2
  203. package/frontend/dist/assets/index-BlTbxYPP.js +0 -33
  204. package/frontend/dist/assets/index-CbiWSGOj.css +0 -1
  205. package/frontend/dist/js/ArtifactContainer-C-n1vPsA.js +0 -1
  206. package/frontend/dist/js/ArtifactSlideOutPanel-2exw7YqL.js +0 -1
  207. package/frontend/dist/js/ChatPage-wnyG_TyC.js +0 -23
  208. package/frontend/dist/js/GalleryPage-BZfeWlBg.js +0 -1
  209. package/frontend/dist/js/HomePage-gf4GgI6z.js +0 -1
  210. package/frontend/dist/js/ModelSelector-C5Tn6y0p.js +0 -1
  211. package/frontend/dist/js/ModelsPage-Rbags4Xq.js +0 -2
  212. package/frontend/dist/js/NotesPage-9NR9HZZ8.js +0 -1
  213. package/frontend/dist/js/PersonasPage-DYP67Qiy.js +0 -13
  214. package/frontend/dist/js/PluginUsagePage-QtCgymRu.js +0 -1
  215. package/frontend/dist/js/SettingsModal-B4RelkLP.js +0 -1
  216. package/frontend/dist/js/SystemPage-xFSTYdBS.js +0 -1
  217. package/frontend/dist/js/UserManagementPage-Cp430WCP.js +0 -1
  218. package/frontend/dist/js/WorkPage-DFES41Qm.js +0 -6
  219. package/frontend/dist/js/api-DUUxxx_B.js +0 -14
  220. package/frontend/dist/js/ar-DMH3qbt6.js +0 -2
  221. package/frontend/dist/js/bn-CGDX8khx.js +0 -2
  222. package/frontend/dist/js/chatStore-DK-_wd-j.js +0 -3
  223. package/frontend/dist/js/cs-CJLgUk3m.js +0 -2
  224. package/frontend/dist/js/da-DnZMnCVM.js +0 -2
  225. package/frontend/dist/js/de-CWpguVQ5.js +0 -2
  226. package/frontend/dist/js/es-DVU1vjm0.js +0 -2
  227. package/frontend/dist/js/fr-pWnSnypD.js +0 -2
  228. package/frontend/dist/js/hi-B6xDfxA5.js +0 -2
  229. package/frontend/dist/js/id-BThSTUAG.js +0 -2
  230. package/frontend/dist/js/is-BOohDFie.js +0 -2
  231. package/frontend/dist/js/it-BdRArcCC.js +0 -2
  232. package/frontend/dist/js/ja-5Cq35sMr.js +0 -2
  233. package/frontend/dist/js/ko-BlzNRtpQ.js +0 -2
  234. package/frontend/dist/js/ms-CtGeurkZ.js +0 -2
  235. package/frontend/dist/js/nl-MKPHGjVF.js +0 -2
  236. package/frontend/dist/js/pl-BwBrqCey.js +0 -2
  237. package/frontend/dist/js/pt-CKzoHWBB.js +0 -2
  238. package/frontend/dist/js/ru-BQC4jh0Y.js +0 -2
  239. package/frontend/dist/js/sv-Cm0qXxzM.js +0 -2
  240. package/frontend/dist/js/th-DUPbiRI2.js +0 -2
  241. package/frontend/dist/js/tr-AsFu_Br5.js +0 -2
  242. package/frontend/dist/js/ui-vendor-54SgntkX.js +0 -177
  243. package/frontend/dist/js/uk-DrMMOZ17.js +0 -2
  244. package/frontend/dist/js/zh-B4rcgcAy.js +0 -2
@@ -1,11 +1,11 @@
1
- import{_ as e,g as t,h as n,m as r,p as i}from"./router-vendor-CbPDks39.js";import{S as a}from"../assets/index-BlTbxYPP.js";var o,s,c=Object.defineProperty,l=e=>{throw TypeError(e)},u=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t)c(e,n,{get:t[n],enumerable:!0})},f=(e,t,n)=>u(e,typeof t==`symbol`?t:t+``,n),p=(e,t,n)=>t.has(e)||l(`Cannot `+n),m=(e,t,n)=>(p(e,t,`read from private field`),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?l(`Cannot add the same private member more than once`):t instanceof WeakSet?t.add(e):t.set(e,n),te={};d(te,{languages:()=>fo,options:()=>ho,parsers:()=>go,printers:()=>ss});var ne=(e,t)=>(n,r,...i)=>n|1&&r==null?void 0:(t.call(r)??r[e]).apply(r,i),re=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},h=ne(`replaceAll`,function(){if(typeof this==`string`)return re});function ie(e){return this[e<0?this.length+e:e]}var g=ne(`at`,function(){if(Array.isArray(this)||typeof this==`string`)return ie}),ae=()=>{},oe=`string`,se=`array`,ce=`cursor`,le=`indent`,ue=`align`,de=`trim`,fe=`group`,pe=`fill`,me=`if-break`,he=`indent-if-break`,ge=`line-suffix`,_e=`line-suffix-boundary`,_=`line`,ve=`label`,ye=`break-parent`,be=new Set([ce,le,ue,de,fe,pe,me,he,ge,_e,_,ve,ye]);function xe(e,t,n){if(!e.has(t)){let r=n(t);e.set(t,r)}return e.get(t)}function Se(e){if(typeof e==`string`)return oe;if(Array.isArray(e))return se;if(!e)return;let{type:t}=e;if(be.has(t))return t}var Ce=Se,we=e=>new Intl.ListFormat(`en-US`,{type:`disjunction`}).format(e);function Te(e){let t=e===null?`null`:typeof e;if(t!==`string`&&t!==`object`)return`Unexpected doc '${t}',
1
+ import{_ as e,g as t,h as n,v as r,y as i}from"./router-vendor-DGFGM3EP.js";import{T as a}from"../assets/index-6o-Hc2wS.js";var o,s,c=Object.defineProperty,l=e=>{throw TypeError(e)},u=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t)c(e,n,{get:t[n],enumerable:!0})},f=(e,t,n)=>u(e,typeof t==`symbol`?t:t+``,n),p=(e,t,n)=>t.has(e)||l(`Cannot `+n),m=(e,t,n)=>(p(e,t,`read from private field`),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?l(`Cannot add the same private member more than once`):t instanceof WeakSet?t.add(e):t.set(e,n),te={};d(te,{languages:()=>fo,options:()=>ho,parsers:()=>go,printers:()=>ss});var ne=(e,t)=>(n,r,...i)=>n|1&&r==null?void 0:(t.call(r)??r[e]).apply(r,i),re=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},h=ne(`replaceAll`,function(){if(typeof this==`string`)return re});function ie(e){return this[e<0?this.length+e:e]}var g=ne(`at`,function(){if(Array.isArray(this)||typeof this==`string`)return ie}),ae=()=>{},oe=`string`,se=`array`,ce=`cursor`,le=`indent`,ue=`align`,de=`trim`,fe=`group`,pe=`fill`,me=`if-break`,he=`indent-if-break`,ge=`line-suffix`,_e=`line-suffix-boundary`,_=`line`,ve=`label`,ye=`break-parent`,be=new Set([ce,le,ue,de,fe,pe,me,he,ge,_e,_,ve,ye]);function xe(e,t,n){if(!e.has(t)){let r=n(t);e.set(t,r)}return e.get(t)}function Se(e){if(typeof e==`string`)return oe;if(Array.isArray(e))return se;if(!e)return;let{type:t}=e;if(be.has(t))return t}var Ce=Se,we=e=>new Intl.ListFormat(`en-US`,{type:`disjunction`}).format(e);function Te(e){let t=e===null?`null`:typeof e;if(t!==`string`&&t!==`object`)return`Unexpected doc '${t}',
2
2
  Expected it to be 'string' or 'object'.`;if(Ce(e))throw Error(`doc is valid.`);let n=Object.prototype.toString.call(e);if(n!==`[object Object]`)return`Unexpected doc '${n}'.`;let r=we([...be].map(e=>`'${e}'`));return`Unexpected doc.type '${e.type}'.
3
- Expected it to be ${r}.`}var Ee=class extends Error{constructor(e){((...e)=>(super(...e),i(this,`name`,`InvalidDocError`),this))(Te(e)),this.doc=e}};function De(e,t){if(typeof e==`string`)return t(e);let n=new Map;return r(e);function r(e){return xe(n,e,i)}function i(e){switch(Ce(e)){case se:return t(e.map(r));case pe:return t({...e,parts:e.parts.map(r)});case me:return t({...e,breakContents:r(e.breakContents),flatContents:r(e.flatContents)});case fe:{let{expandedStates:n,contents:i}=e;return n?(n=n.map(r),i=n[0]):i=r(i),t({...e,contents:i,expandedStates:n})}case ue:case le:case he:case ve:case ge:return t({...e,contents:r(e.contents)});case oe:case ce:case de:case _e:case _:case ye:return t(e);default:throw new Ee(e)}}}function v(e,t=Le){return De(e,e=>typeof e==`string`?S(t,e.split(`
4
- `)):e)}var y=ae,Oe=ae,ke=ae,Ae=ae;function b(e){return y(e),{type:le,contents:e}}function je(e,t){return Ae(e),y(t),{type:ue,contents:t,n:e}}function Me(e){return je(-1/0,e)}var Ne={type:ye};function Pe(e){return ke(e),{type:pe,parts:e}}function x(e,t={}){return y(e),Oe(t.expandedStates,!0),{type:fe,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Fe(e,t=``,n={}){return y(e),t!==``&&y(t),{type:me,breakContents:e,flatContents:t,groupId:n.groupId}}function Ie(e,t){return y(e),{type:he,contents:e,groupId:t.groupId,negate:t.negate}}function S(e,t){y(e),Oe(t);let n=[];for(let r=0;r<t.length;r++)r!==0&&n.push(e),n.push(t[r]);return n}var C={type:_},w={type:_,soft:!0},T=[{type:_,hard:!0},Ne],Le=[{type:_,hard:!0,literal:!0},Ne],Re=Object.freeze({character:`'`,codePoint:39}),ze=Object.freeze({character:`"`,codePoint:34}),Be=Object.freeze({preferred:Re,alternate:ze}),Ve=Object.freeze({preferred:ze,alternate:Re});function He(e,t){let{preferred:n,alternate:r}=t===!0||t===`'`?Be:Ve,{length:i}=e,a=0,o=0;for(let t=0;t<i;t++){let i=e.charCodeAt(t);i===n.codePoint?a++:i===r.codePoint&&o++}return(a>o?r:n).character}function Ue(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}var We=(o=new WeakMap,s=new WeakSet,class{constructor(t){a(this,s),e(this,o,void 0),n(o,this,new Set(t))}getLeadingWhitespaceCount(e){let t=r(o,this),n=0;for(let r=0;r<e.length&&t.has(e.charAt(r));r++)n++;return n}getTrailingWhitespaceCount(e){let t=r(o,this),n=0;for(let r=e.length-1;r>=0&&t.has(e.charAt(r));r--)n++;return n}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 r(o,this).has(e.charAt(0))}hasTrailingWhitespace(e){return r(o,this).has(g(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 n=`[${Ue([...r(o,this)].join(``))}]+`,i=new RegExp(t?`(${n})`:n);return e.split(i)}hasWhitespaceCharacter(e){let t=r(o,this);return Array.prototype.some.call(e,e=>t.has(e))}hasNonWhitespaceCharacter(e){let t=r(o,this);return Array.prototype.some.call(e,e=>!t.has(e))}isWhitespaceOnly(e){let t=r(o,this);return Array.prototype.every.call(e,e=>t.has(e))}dedentString(e){let n=t(s,this,Ge).call(this,e);return n===0?e:e.split(`
5
- `).map(e=>e.slice(n)).join(`
3
+ Expected it to be ${r}.`}var Ee=class extends Error{constructor(e){((...e)=>(super(...e),n(this,`name`,`InvalidDocError`),this))(Te(e)),this.doc=e}};function De(e,t){if(typeof e==`string`)return t(e);let n=new Map;return r(e);function r(e){return xe(n,e,i)}function i(e){switch(Ce(e)){case se:return t(e.map(r));case pe:return t({...e,parts:e.parts.map(r)});case me:return t({...e,breakContents:r(e.breakContents),flatContents:r(e.flatContents)});case fe:{let{expandedStates:n,contents:i}=e;return n?(n=n.map(r),i=n[0]):i=r(i),t({...e,contents:i,expandedStates:n})}case ue:case le:case he:case ve:case ge:return t({...e,contents:r(e.contents)});case oe:case ce:case de:case _e:case _:case ye:return t(e);default:throw new Ee(e)}}}function v(e,t=Le){return De(e,e=>typeof e==`string`?S(t,e.split(`
4
+ `)):e)}var y=ae,Oe=ae,ke=ae,Ae=ae;function b(e){return y(e),{type:le,contents:e}}function je(e,t){return Ae(e),y(t),{type:ue,contents:t,n:e}}function Me(e){return je(-1/0,e)}var Ne={type:ye};function Pe(e){return ke(e),{type:pe,parts:e}}function x(e,t={}){return y(e),Oe(t.expandedStates,!0),{type:fe,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Fe(e,t=``,n={}){return y(e),t!==``&&y(t),{type:me,breakContents:e,flatContents:t,groupId:n.groupId}}function Ie(e,t){return y(e),{type:he,contents:e,groupId:t.groupId,negate:t.negate}}function S(e,t){y(e),Oe(t);let n=[];for(let r=0;r<t.length;r++)r!==0&&n.push(e),n.push(t[r]);return n}var C={type:_},w={type:_,soft:!0},T=[{type:_,hard:!0},Ne],Le=[{type:_,hard:!0,literal:!0},Ne],Re=Object.freeze({character:`'`,codePoint:39}),ze=Object.freeze({character:`"`,codePoint:34}),Be=Object.freeze({preferred:Re,alternate:ze}),Ve=Object.freeze({preferred:ze,alternate:Re});function He(e,t){let{preferred:n,alternate:r}=t===!0||t===`'`?Be:Ve,{length:i}=e,a=0,o=0;for(let t=0;t<i;t++){let i=e.charCodeAt(t);i===n.codePoint?a++:i===r.codePoint&&o++}return(a>o?r:n).character}function Ue(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}var We=(o=new WeakMap,s=new WeakSet,class{constructor(t){a(this,s),i(this,o,void 0),e(o,this,new Set(t))}getLeadingWhitespaceCount(e){let n=t(o,this),r=0;for(let t=0;t<e.length&&n.has(e.charAt(t));t++)r++;return r}getTrailingWhitespaceCount(e){let n=t(o,this),r=0;for(let t=e.length-1;t>=0&&n.has(e.charAt(t));t--)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 t(o,this).has(e.charAt(0))}hasTrailingWhitespace(e){return t(o,this).has(g(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,n=!1){let r=`[${Ue([...t(o,this)].join(``))}]+`,i=new RegExp(n?`(${r})`:r);return e.split(i)}hasWhitespaceCharacter(e){let n=t(o,this);return Array.prototype.some.call(e,e=>n.has(e))}hasNonWhitespaceCharacter(e){let n=t(o,this);return Array.prototype.some.call(e,e=>!n.has(e))}isWhitespaceOnly(e){let n=t(o,this);return Array.prototype.every.call(e,e=>n.has(e))}dedentString(e){let t=r(s,this,Ge).call(this,e);return t===0?e:e.split(`
5
+ `).map(e=>e.slice(t)).join(`
6
6
  `)}});function Ge(e){let t=1/0;for(let n of e.split(`
7
7
  `)){if(n.length===0)continue;let e=this.getLeadingWhitespaceCount(n);if(e===0)return 0;n.length!==e&&e<t&&(t=e)}return t===1/0?0:t}var E=new We([` `,`
8
- `,`\f`,`\r`,` `]),Ke=class extends Error{constructor(e,t,n=`type`){((...e)=>(super(...e),i(this,`name`,`UnexpectedNodeError`),this))(`Unexpected ${t} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}};function qe(e,t=!0){return[b([w,e]),t?w:``]}function D(e,t){let n=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 n&&(n.type===`ObjectExpression`||n.type===`ArrayExpression`||(t.parser===`__vue_expression`||t.parser===`__vue_ts_expression`||t.parser===`__ng_binding`||t.parser===`__ng_directive`)&&(n.type===`TemplateLiteral`||n.type===`StringLiteral`))}async function O(e,t,n,r){n={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...n};let i=!0;r&&(n.__onHtmlBindingRoot=(e,t)=>{i=r(e,t)});let a=await t(e,n,t);return i?x(a):qe(a)}function Je(e,t,n,r){let{node:i}=n,a=r.originalText.slice(i.sourceSpan.start.offset,i.sourceSpan.end.offset);return/^\s*$/.test(a)?``:O(a,e,{parser:`__ng_directive`,__isInHtmlAttribute:!1},D)}var Ye=Je,Xe=Object.hasOwn??Function.prototype.call.bind(Object.prototype.hasOwnProperty),Ze=Array.prototype.toReversed??function(){return[...this].reverse()},Qe=ne(`toReversed`,function(){if(Array.isArray(this))return Ze});function $e(){let e=globalThis,t=e.process?.platform;if(typeof t==`string`)return t.startsWith(`win`);let n=e.Deno?.build?.os;return typeof n==`string`?n===`windows`:e.navigator?.platform?.startsWith(`Win`)??!1}var et=$e();function tt(e){if(e=e instanceof URL?e:new URL(e),e.protocol!==`file:`)throw TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}function nt(e){return e=tt(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,`%25`))}function rt(e){e=tt(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 it(e){return et?rt(e):nt(e)}var at=e=>String(e).split(/[/\\]/).pop(),ot=e=>String(e).startsWith(`file:`);function st(e){return Array.isArray(e)&&e.length>0}var ct=st;function lt(e,t){if(!t)return;let n=at(t).toLowerCase();return e.find(({filenames:e})=>e?.some(e=>e.toLowerCase()===n))??e.find(({extensions:e})=>e?.some(e=>n.endsWith(e)))}function ut(e,t){if(t)return e.find(({name:e})=>e.toLowerCase()===t)??e.find(({aliases:e})=>e?.includes(t))??e.find(({extensions:e})=>e?.includes(`.${t}`))}var dt=void 0;function ft(e,t){if(t){if(ot(t))try{t=it(t)}catch{return}if(typeof t==`string`)return e.find(({isSupported:e})=>e?.({filepath:t}))}}function pt(e,t){let n=Qe(0,e.plugins).flatMap(e=>e.languages??[]);return(ut(n,t.language)??lt(n,t.physicalFile)??lt(n,t.file)??ft(n,t.physicalFile)??ft(n,t.file)??dt?.(n,t.physicalFile))?.parsers[0]}var mt=pt,ht=Symbol.for(`PRETTIER_IS_FRONT_MATTER`);function gt(e){return!!e?.[ht]}var _t=gt;function vt(e){return h(0,e,/[^\n]/g,` `)}var yt=vt,bt=3;function xt(e){let t=e.slice(0,bt);if(t!==`---`&&t!==`+++`)return;let n=e.indexOf(`
8
+ `,`\f`,`\r`,` `]),Ke=class extends Error{constructor(e,t,r=`type`){((...e)=>(super(...e),n(this,`name`,`UnexpectedNodeError`),this))(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}};function qe(e,t=!0){return[b([w,e]),t?w:``]}function D(e,t){let n=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 n&&(n.type===`ObjectExpression`||n.type===`ArrayExpression`||(t.parser===`__vue_expression`||t.parser===`__vue_ts_expression`||t.parser===`__ng_binding`||t.parser===`__ng_directive`)&&(n.type===`TemplateLiteral`||n.type===`StringLiteral`))}async function O(e,t,n,r){n={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...n};let i=!0;r&&(n.__onHtmlBindingRoot=(e,t)=>{i=r(e,t)});let a=await t(e,n,t);return i?x(a):qe(a)}function Je(e,t,n,r){let{node:i}=n,a=r.originalText.slice(i.sourceSpan.start.offset,i.sourceSpan.end.offset);return/^\s*$/.test(a)?``:O(a,e,{parser:`__ng_directive`,__isInHtmlAttribute:!1},D)}var Ye=Je,Xe=Object.hasOwn??Function.prototype.call.bind(Object.prototype.hasOwnProperty),Ze=Array.prototype.toReversed??function(){return[...this].reverse()},Qe=ne(`toReversed`,function(){if(Array.isArray(this))return Ze});function $e(){let e=globalThis,t=e.process?.platform;if(typeof t==`string`)return t.startsWith(`win`);let n=e.Deno?.build?.os;return typeof n==`string`?n===`windows`:e.navigator?.platform?.startsWith(`Win`)??!1}var et=$e();function tt(e){if(e=e instanceof URL?e:new URL(e),e.protocol!==`file:`)throw TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}function nt(e){return e=tt(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,`%25`))}function rt(e){e=tt(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 it(e){return et?rt(e):nt(e)}var at=e=>String(e).split(/[/\\]/).pop(),ot=e=>String(e).startsWith(`file:`);function st(e){return Array.isArray(e)&&e.length>0}var ct=st;function lt(e,t){if(!t)return;let n=at(t).toLowerCase();return e.find(({filenames:e})=>e?.some(e=>e.toLowerCase()===n))??e.find(({extensions:e})=>e?.some(e=>n.endsWith(e)))}function ut(e,t){if(t)return e.find(({name:e})=>e.toLowerCase()===t)??e.find(({aliases:e})=>e?.includes(t))??e.find(({extensions:e})=>e?.includes(`.${t}`))}var dt=void 0;function ft(e,t){if(t){if(ot(t))try{t=it(t)}catch{return}if(typeof t==`string`)return e.find(({isSupported:e})=>e?.({filepath:t}))}}function pt(e,t){let n=Qe(0,e.plugins).flatMap(e=>e.languages??[]);return(ut(n,t.language)??lt(n,t.physicalFile)??lt(n,t.file)??ft(n,t.physicalFile)??ft(n,t.file)??dt?.(n,t.physicalFile))?.parsers[0]}var mt=pt,ht=Symbol.for(`PRETTIER_IS_FRONT_MATTER`);function gt(e){return!!e?.[ht]}var _t=gt;function vt(e){return h(0,e,/[^\n]/g,` `)}var yt=vt,bt=3;function xt(e){let t=e.slice(0,bt);if(t!==`---`&&t!==`+++`)return;let n=e.indexOf(`
9
9
  `,bt);if(n===-1)return;let r=e.slice(bt,n).trim(),i=e.indexOf(`
10
10
  ${t}`,n),a=r;if(a||(a=t===`+++`?`toml`:`yaml`),i===-1&&t===`---`&&a===`yaml`&&(i=e.indexOf(`
11
11
  ...`,n)),i===-1)return;let o=i+1+bt,s=e.charAt(o+1);if(!/\s?/.test(s))return;let c=e.slice(0,o),l;return{language:a,explicitLanguage:r||null,value:e.slice(n+1,i),startDelimiter:t,endDelimiter:c.slice(-bt),raw:c,start:{line:1,column:0,index:0},end:{index:c.length,get line(){return l??(l=c.split(`
@@ -13,13 +13,13 @@ ${t}`,n),a=r;if(a||(a=t===`+++`?`toml`:`yaml`),i===-1&&t===`---`&&a===`yaml`&&(i
13
13
  `)),g(0,l,-1).length}},[ht]:!0}}function St(e){let t=xt(e);return t?{frontMatter:t,get content(){let{raw:n}=t;return yt(n)+e.slice(n.length)}}:{content:e}}var Ct=St,wt=`inline`,Tt={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`},Et=`normal`,Dt={listing:`pre`,plaintext:`pre`,pre:`pre`,xmp:`pre`,nobr:`nowrap`,table:`initial`,textarea:`pre-wrap`};function Ot(e){return e.kind===`element`&&!e.hasExplicitNamespace&&![`html`,`svg`].includes(e.namespace)}var kt=Ot,At=e=>h(0,e,/^[\t\f\r ]*\n/g,``),jt=e=>At(E.trimEnd(e)),Mt=e=>{let t=e,n=E.getLeadingWhitespace(t);n&&(t=t.slice(n.length));let r=E.getTrailingWhitespace(t);return r&&(t=t.slice(0,-r.length)),{leadingWhitespace:n,trailingWhitespace:r,text:t}};function Nt(e,t){return!!(e.kind===`ieConditionalComment`&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.kind===`ieConditionalComment`&&!e.complete||j(e)&&e.children.some(e=>e.kind!==`text`&&e.kind!==`interpolation`)||_n(e,t)&&!A(e,t)&&e.kind!==`interpolation`)}function Pt(e){return e.kind===`attribute`||!e.parent||!e.prev?!1:Ft(e.prev)}function Ft(e){return e.kind===`comment`&&e.value.trim()===`prettier-ignore`}function k(e){return e.kind===`text`||e.kind===`comment`}function A(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`||kt(e)&&(e.name===`script`||e.name===`style`))}function It(e,t){return e.children&&!A(e,t)}function Lt(e,t){return A(e,t)||e.kind===`interpolation`||Rt(e)}function Rt(e){return pn(e).startsWith(`pre`)}function zt(e,t){let n=r();if(n&&!e.prev&&e.parent?.tagDefinition?.ignoreFirstLf)return e.kind===`interpolation`;return n;function r(){return _t(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:j(e.parent)?!0:!(!e.prev&&(e.parent.kind===`root`||j(e)&&e.parent||A(e.parent,t)||gn(e.parent,t)||!on(e.parent.cssDisplay))||e.prev&&!ln(e.prev.cssDisplay))}}function Bt(e,t){return _t(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:j(e.parent)?!0:!(!e.next&&(e.parent.kind===`root`||j(e)&&e.parent||A(e.parent,t)||gn(e.parent,t)||!sn(e.parent.cssDisplay))||e.next&&!cn(e.next.cssDisplay))}function Vt(e,t){return un(e.cssDisplay)&&!A(e,t)}function Ht(e){return _t(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function Ut(e){return Wt(e)||e.kind===`element`&&e.children.length>0&&([`body`,`script`,`style`].includes(e.name)||e.children.some(e=>Qt(e)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.kind!==`text`&&Jt(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Yt(e.lastChild))}function Wt(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 Gt(e){return Xt(e)||e.prev&&Kt(e.prev)||qt(e)}function Kt(e){return Xt(e)||e.kind===`element`&&e.fullName===`br`||qt(e)}function qt(e){return Jt(e)&&Yt(e)}function Jt(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 Yt(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 Xt(e){switch(e.kind){case`ieConditionalComment`:case`comment`:case`directive`:return!0;case`element`:return[`script`,`select`].includes(e.name)}return!1}function Zt(e){return e.lastChild?Zt(e.lastChild):e}function Qt(e){return e.children?.some(e=>e.kind!==`text`)}function $t(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 en(e,t){let{name:n,attrMap:r}=e;if(n!==`script`||Xe(r,`src`))return;let{type:i,lang:a}=e.attrMap;return!a&&!i?`babel`:mt(t,{language:a})??$t(i)}function tn(e,t){if(!_n(e,t))return;let{attrMap:n}=e;if(Xe(n,`src`))return;let{type:r,lang:i}=n;return mt(t,{language:i})??$t(r)}function nn(e,t){if(e.name===`style`){let{lang:n}=e.attrMap;return n?mt(t,{language:n}):`css`}if(e.name===`mj-style`&&t.parser===`mjml`)return`css`}function rn(e,t){return en(e,t)??nn(e,t)??tn(e,t)}function an(e){return e===`block`||e===`list-item`||e.startsWith(`table`)}function on(e){return!an(e)&&e!==`inline-block`}function sn(e){return!an(e)&&e!==`inline-block`}function cn(e){return!an(e)}function ln(e){return!an(e)}function un(e){return!an(e)&&e!==`inline-block`}function j(e){return pn(e).startsWith(`pre`)}function dn(e,t){let n=e;for(;n;){if(t(n))return!0;n=n.parent}return!1}function fn(e,t){if(N(e,t))return`block`;if(e.prev?.kind===`comment`){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let n=!1;if(e.kind===`element`&&e.namespace===`svg`)if(dn(e,e=>e.fullName===`svg:foreignObject`))n=!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||n||kt(e))&&Xe(Tt,e.name))return Tt[e.name]}return wt}function pn(e){return e.kind===`element`&&(!e.namespace||kt(e))&&Xe(Dt,e.name)?Dt[e.name]:Et}function mn(e){return h(0,h(0,e,`&apos;`,`'`),`&quot;`,`"`)}function M(e){return mn(e.value)}var hn=new Set([`template`,`style`,`script`]);function gn(e,t){return N(e,t)&&!hn.has(e.fullName)}function N(e,t){return t.parser===`vue`&&e.kind===`element`&&e.parent.kind===`root`&&e.fullName.toLowerCase()!==`html`}function _n(e,t){return N(e,t)&&(gn(e,t)||e.attrMap.lang&&e.attrMap.lang!==`html`)}function vn(e){let t=e.fullName;return t.charAt(0)===`#`||t===`slot-scope`||t===`v-slot`||t.startsWith(`v-slot:`)}function yn(e,t){let n=e.parent;if(!N(n,t))return!1;let r=n.fullName,i=e.fullName;return r===`script`&&i===`setup`||r===`style`&&i===`vars`}function bn(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?v(t):v(E.dedentString(jt(t)),T):S(C,E.split(t))}function xn(e,t){return N(e,t)&&e.name===`script`}function Sn(e){let{valueSpan:t,value:n}=e;return t.end.offset-t.start.offset===n.length+2}function Cn(e,t){if(Sn(e))return!1;let{value:n}=e;return/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(n)||t.parser===`lwc`&&n.startsWith(`{`)&&n.endsWith(`}`)}var wn=/\{\{(.+?)\}\}/s,Tn=({node:{value:e}})=>wn.test(e);async function En(e,t,n){let r=M(n.node),i=[];for(let[t,n]of r.split(wn).entries())if(t%2==0)i.push(v(n));else try{i.push(x([`{{`,b([C,await O(n,e,{parser:`__ng_interpolation`,__isInHtmlInterpolation:!0})]),C,`}}`]))}catch{i.push(`{{`,v(n),`}}`)}return i}var Dn=e=>(t,n,r)=>O(M(r.node),t,{parser:e},D),On=[{test(e){let t=e.node.fullName;return t.startsWith(`(`)&&t.endsWith(`)`)||t.startsWith(`on-`)},print:Dn(`__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:Dn(`__ng_binding`)},{test:e=>e.node.fullName.startsWith(`*`),print:Dn(`__ng_directive`)},{test:e=>/^i18n(?:-.+)?$/.test(e.node.fullName),print:kn},{test:Tn,print:En}].map(({test:e,print:t})=>({test:(t,n)=>n.parser===`angular`&&e(t),print:t}));function kn(e,t,{node:n}){let r=M(n);return qe(Pe(bn(n,r.trim())),!r.includes(`@@`))}var An=On,jn=({node:e},t)=>!t.parentParser&&e.fullName===`class`&&!e.value.includes(`{{`),Mn=(e,t,n)=>h(0,M(n.node).trim(),/\s+/g,` `),Nn=new Set(`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`.split(`.`)),Pn=({node:e},t)=>Nn.has(e.fullName)&&!t.parentParser&&!e.value.includes(`{{`),Fn=(e,t,n)=>O(M(n.node),e,{parser:`babel`,__isHtmlInlineEventHandler:!0},()=>!1);function In(e){let t=[];for(let n of e.split(`;`)){if(n=E.trim(n),!n)continue;let[e,...r]=E.split(n);t.push({name:e,value:r})}return t}var Ln=In,Rn=({node:e},t)=>e.fullName===`allow`&&!t.parentParser&&e.parent.fullName===`iframe`&&!e.value.includes(`{{`);function zn(e,t,n){let{node:r}=n,i=Ln(M(r));return i.length===0?[``]:qe(i.map(({name:e,value:t},n)=>[[e,...t].join(` `),n===i.length-1?Fe(`;`):[`;`,C]]))}function Bn(e){return e===` `||e===`
14
14
  `||e===`\f`||e===`\r`||e===` `}var Vn=/^[ \t\n\r\u000c]+/,Hn=/^[, \t\n\r\u000c]+/,Un=/^[^ \t\n\r\u000c]+/,Wn=/[,]+$/,Gn=/^\d+$/,Kn=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function qn(e){let t=e.length,n,r,i,a,o,s=0,c;function l(t){let n,r=t.exec(e.substring(s));if(r)return[n]=r,s+=n.length,n}let u=[];for(;;){if(l(Hn),s>=t){if(u.length===0)throw Error(`Must contain one or more image candidate strings.`);return u}c=s,n=l(Un),r=[],n.slice(-1)===`,`?(n=n.replace(Wn,``),f()):d()}function d(){for(l(Vn),i=``,a=`in descriptor`;;){if(o=e.charAt(s),a===`in descriptor`)if(Bn(o))i&&(r.push(i),i=``,a=`after descriptor`);else if(o===`,`){s+=1,i&&r.push(i),f();return}else if(o===`(`)i+=o,a=`in parens`;else if(o===``){i&&r.push(i),f();return}else i+=o;else if(a===`in parens`)if(o===`)`)i+=o,a=`in descriptor`;else if(o===``){r.push(i),f();return}else i+=o;else if(a===`after descriptor`&&!Bn(o))if(o===``){f();return}else a=`in descriptor`,--s;s+=1}}function f(){let t=!1,i,a,o,s,l={},d,f,p,m,ee;for(s=0;s<r.length;s++)d=r[s],f=d[d.length-1],p=d.substring(0,d.length-1),m=parseInt(p,10),ee=parseFloat(p),Gn.test(p)&&f===`w`?((i||a)&&(t=!0),m===0?t=!0:i=m):Kn.test(p)&&f===`x`?((i||a||o)&&(t=!0),ee<0?t=!0:a=ee):Gn.test(p)&&f===`h`?((o||a)&&(t=!0),m===0?t=!0:o=m):t=!0;if(!t)l.source={value:n,startOffset:c},i&&(l.width={value:i}),a&&(l.density={value:a}),o&&(l.height={value:o}),u.push(l);else throw Error(`Invalid srcset descriptor found in "${e}" at "${d}".`)}}var Jn=qn,Yn=e=>e.node.fullName===`srcset`&&(e.parent.fullName===`img`||e.parent.fullName===`source`),Xn={width:`w`,height:`h`,density:`x`},Zn=Object.keys(Xn);function Qn(e,t,n){let r=Jn(M(n.node)),i=Zn.filter(e=>r.some(t=>Xe(t,e)));if(i.length>1)throw Error(`Mixed descriptor in srcset is not supported`);let[a]=i,o=Xn[a],s=r.map(e=>e.source.value),c=Math.max(...s.map(e=>e.length)),l=r.map(e=>e[a]?String(e[a].value):``),u=l.map(e=>{let t=e.indexOf(`.`);return t===-1?e.length:t}),d=Math.max(...u);return qe(S([`,`,C],s.map((e,t)=>{let n=[e],r=l[t];if(r){let i=c-e.length+1,a=d-u[t],s=` `.repeat(i+a);n.push(Fe(s,` `),r+o)}return n})))}var $n=({node:e},t)=>e.fullName===`style`&&!t.parentParser&&!e.value.includes(`{{`),er=async(e,t,n)=>qe(await e(M(n.node),{parser:`css`,__isHTMLStyleAttribute:!0})),tr=new WeakMap;function nr(e,t){return xe(tr,e.root,e=>e.children.some(e=>xn(e,t)&&[`ts`,`typescript`].includes(e.attrMap.lang)))}var P=nr;function rr(e,t,n){return O(`type T<${M(n.node)}> = any`,e,{parser:`babel-ts`,__isEmbeddedTypescriptGenericParameters:!0},D)}function ir(e,t,n,r){let i=M(n.node),a=P(n,r)?`babel-ts`:`babel`;return O(`function _(${i}) {}`,e,{parser:a,__isVueBindings:!0})}async function ar(e,t,n,r){let{left:i,operator:a,right:o}=or(M(n.node)),s=P(n,r);return[x(await O(`function _(${i}) {}`,e,{parser:s?`babel-ts`:`babel`,__isVueForBindingLeft:!0})),` `,a,` `,await O(o,e,{parser:s?`__ts_expression`:`__js_expression`})]}function or(e){let t=e.match(/(.*?)\s+(in|of)\s+(.*)/s);if(!t)return;let n={for:t[3].trim()};if(!n.for)return;let r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,i=h(0,t[1].trim(),/^\(|\)$/g,``),a=i.match(r);a?(n.alias=i.replace(r,``),n.iterator1=a[1].trim(),a[2]&&(n.iterator2=a[2].trim())):n.alias=i;let o=[n.alias,n.iterator1,n.iterator2];if(!o.some((e,t)=>!e&&(t===0||o.slice(t+1).some(Boolean))))return{left:o.filter(Boolean).join(`,`),operator:t[2],right:n.for}}var sr=[{test:e=>e.node.fullName===`v-for`,print:ar},{test:(e,t)=>e.node.fullName===`generic`&&xn(e.parent,t),print:rr},{test:({node:e},t)=>vn(e)||yn(e,t),print:ir},{test(e){let t=e.node.fullName;return t.startsWith(`@`)||t.startsWith(`v-on:`)},print:cr},{test(e){let t=e.node.fullName;return t.startsWith(`:`)||t.startsWith(`.`)||t.startsWith(`v-bind:`)},print:lr},{test:e=>e.node.fullName.startsWith(`v-`),print:ur}].map(({test:e,print:t})=>({test:(t,n)=>n.parser===`vue`&&e(t,n),print:t}));async function cr(e,t,n,r){try{return await ur(e,t,n,r)}catch(e){if(e.cause?.code!==`BABEL_PARSER_SYNTAX_ERROR`)throw e}return O(M(n.node),e,{parser:P(n,r)?`__vue_ts_event_binding`:`__vue_event_binding`},D)}function lr(e,t,n,r){return O(M(n.node),e,{parser:P(n,r)?`__vue_ts_expression`:`__vue_expression`},D)}function ur(e,t,n,r){return O(M(n.node),e,{parser:P(n,r)?`__ts_expression`:`__js_expression`},D)}var dr=[{test:Yn,print:Qn},{test:$n,print:er},{test:Pn,print:Fn},{test:jn,print:Mn},{test:Rn,print:zn},...sr,...An].map(({test:e,print:t})=>({test:e,print:pr(t)}));function fr(e,t){let{node:n}=e,{value:r}=n;if(r)return Cn(n,t)?[n.rawName,`=`,r]:dr.find(({test:n})=>n(e,t))?.print}function pr(e){return async(t,n,r,i)=>{let a=await e(t,n,r,i);if(a)return a=De(a,e=>typeof e==`string`?h(0,e,`"`,`&quot;`):e),[r.node.rawName,`="`,x(a),`"`]}}var mr=fr,F=e=>e.sourceSpan.start.offset,hr=e=>e.sourceSpan.end.offset;function gr(e,t){return[e.isSelfClosing?``:_r(e,t),vr(e,t)]}function _r(e,t){return e.lastChild&&R(e.lastChild)?``:[yr(e,t),br(e,t)]}function vr(e,t){return(e.next?L(e.next):Cr(e.parent))?``:[xr(e,t),I(e,t)]}function yr(e,t){return Cr(e)?xr(e.lastChild,t):``}function I(e,t){return R(e)?br(e.parent,t):wr(e)?Mr(e.next,t):``}function br(e,t){if(Sr(e,t))return``;switch(e.kind){case`ieConditionalComment`:return`<!`;case`element`:if(e.hasHtmComponentClosingTag)return`<//`;default:return`</${e.rawName}`}}function xr(e,t){if(Sr(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 Sr(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(Pt(e)||Nt(e.parent,t))}function L(e){return e.prev&&e.prev.kind!==`docType`&&e.kind!==`angularControlFlowBlock`&&!k(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Cr(e){return e.lastChild?.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!k(Zt(e.lastChild))&&!j(e)}function R(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&k(Zt(e))}function wr(e){return e.next&&!k(e.next)&&k(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Tr(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?!t[1]||t[1].split(/\s+/):!1}function Er(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Dr(e,t,n){let{node:r}=e,{attrs:i=[],startTagComments:a=[]}=r;if(i.length===0&&a.length===0)return r.isSelfClosing?` `:``;let o=r.prev?.kind===`comment`&&Tr(r.prev.value),s=typeof o==`boolean`?()=>o:Array.isArray(o)?e=>o.includes(e.rawName):()=>!1,c=[`attrs`,`startTagComments`].filter(e=>ct(r[e])),l=c.flatMap(r=>e.map(({node:e})=>({loc:F(e),printed:e.kind===`attribute`&&s(e)?v(t.originalText.slice(F(e),hr(e))):n()}),r));c.length>1&&l.sort((e,t)=>e.loc-t.loc);let u=r.kind===`element`&&r.fullName===`script`&&i.length===1&&i[0].fullName===`src`&&r.children.length===0&&a.length===0,d=a.some(e=>e.type===`single`),f=d||t.singleAttributePerLine&&i.length>1&&!N(r,t)?T:C,p=[b([u?` `:d?T:C,S(f,l.map(({printed:e})=>e))])];return r.firstChild&&Er(r.firstChild)||r.isSelfClosing&&Cr(r.parent)||u?p.push(r.isSelfClosing?` `:``):p.push(t.bracketSameLine?r.isSelfClosing?` `:``:r.isSelfClosing?C:w),p}function Or(e){return e.firstChild&&Er(e.firstChild)?``:Nr(e)}function kr(e,t,n){let{node:r}=e;return[Ar(r,t),Dr(e,t,n),r.isSelfClosing?``:Or(r)]}function Ar(e,t){return e.prev&&wr(e.prev)?``:[z(e,t),Mr(e,t)]}function z(e,t){return Er(e)?Nr(e.parent):L(e)?xr(e.prev,t):``}var jr=`<!doctype`;function Mr(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:e}=t;if(e&&/\.html?$/.test(e))return jr}let n=F(e);return t.originalText.slice(n,n+jr.length)}case`angularIcuExpression`:return`{`;case`element`:if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function Nr(e){switch(e.kind){case`ieConditionalComment`:return`]>`;case`element`:if(e.condition)return`><!--<![endif]-->`;default:return`>`}}function Pr(e,t){if(!e.endSourceSpan)return``;let n=e.startSourceSpan.end.offset;e.firstChild&&Er(e.firstChild)&&(n-=Nr(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&R(e.lastChild)?r+=br(e,t).length:Cr(e)&&(r-=xr(e.lastChild,t).length),t.originalText.slice(n,r)}var Fr=Pr,Ir=new Set([`if`,`else if`,`for`,`switch`,`case`]);function Lr(e,t){let{node:n}=e;switch(n.kind){case`element`:if(A(n,t)||n.kind===`interpolation`)return;if(!n.isSelfClosing&&_n(n,t)){let r=rn(n,t);return r?async(i,a)=>{let o=Fr(n,t),s=/^\s*$/.test(o),c=``;return s||(c=await i(jt(o),{parser:r,__embeddedInHtml:!0}),s=c===``),[z(n,t),x(kr(e,t,a)),s?``:T,c,s?``:T,gr(n,t),I(n,t)]}:void 0}break;case`text`:if(A(n.parent,t)){let e=rn(n.parent,t);if(e)return async r=>{let i=e===`markdown`?E.dedentString(n.value.replace(/^[^\S\n]*\n/,``)):n.value,a={parser:e,__embeddedInHtml:!0};if(t.parser===`html`&&e===`babel`){let e=`script`,{attrMap:t}=n.parent;t&&(t.type===`module`||(t.type===`text/babel`||t.type===`text/jsx`)&&t[`data-type`]===`module`)&&(e=`module`),a.__babelSourceType=e}return[Ne,z(n,t),await r(i,a),I(n,t)]}}else if(n.parent.kind===`interpolation`)return async r=>{let i={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return i.parser=t.parser===`angular`?`__ng_interpolation`:t.parser===`vue`?P(e,t)?`__vue_ts_expression`:`__vue_expression`:`__js_expression`,[b([C,await r(n.value,i)]),n.parent.next&&L(n.parent.next)?` `:C]};break;case`attribute`:return mr(e,t);case`angularControlFlowBlockParameters`:return Ir.has(e.parent.name)?Ye:void 0;case`angularLetDeclarationInitializer`:return e=>O(n.value,e,{parser:`__ng_binding`,__isInHtmlAttribute:!1})}}var Rr=Lr,zr=null;function Br(e){if(zr!==null&&typeof zr.property){let e=zr;return zr=Br.prototype=null,e}return zr=Br.prototype=e??Object.create(null),new Br}var Vr=10;for(let e=0;e<=Vr;e++)Br();function Hr(e){return Br(e)}function Ur(e,t=`type`){Hr(e);function n(n){let r=n[t],i=e[r];if(!Array.isArray(i))throw Object.assign(Error(`Missing visitor keys for '${r}'.`),{node:n});return i}return n}var Wr=Ur,Gr=[[`children`]],Kr=Wr({root:Gr[0],element:[`attrs`,`startTagComments`,`children`],ieConditionalComment:Gr[0],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:Gr[0],text:Gr[0],docType:[],comment:[],attribute:[],startTagComment:[],cdata:[],angularControlFlowBlock:[`children`,`parameters`],angularControlFlowBlockParameters:Gr[0],angularControlFlowBlockParameter:[],angularLetDeclaration:[`init`],angularLetDeclarationInitializer:[],angularIcuExpression:[`cases`],angularIcuCase:[`expression`]},`kind`),qr=new Set([`sourceSpan`,`startSourceSpan`,`endSourceSpan`,`nameSpan`,`valueSpan`,`keySpan`,`tagDefinition`,`tokens`,`valueTokens`,`switchValueSourceSpan`,`expSourceSpan`,`valueSourceSpan`]),Jr=new Set([`if`,`else if`,`for`,`switch`,`case`]);function Yr(e,t,n){if(e.kind===`text`||e.kind===`comment`)return null;if(e.kind===`yaml`&&delete t.value,e.kind===`attribute`){let{fullName:r,value:i}=e;r===`style`||r===`class`||r===`srcset`&&(n.fullName===`img`||n.fullName===`source`)||r===`allow`&&n.fullName===`iframe`||r.startsWith(`on`)||r.startsWith(`@`)||r.startsWith(`:`)||r.startsWith(`.`)||r.startsWith(`#`)||r.startsWith(`v-`)||r===`vars`&&n.fullName===`style`||(r===`setup`||r===`generic`)&&n.fullName===`script`||r===`slot-scope`||r.startsWith(`(`)||r.startsWith(`[`)||r.startsWith(`*`)||r.startsWith(`bind`)||r.startsWith(`i18n`)||r.startsWith(`on-`)||r.startsWith(`ng-`)||i?.includes(`{{`)?delete t.value:i&&(t.value=h(0,i,/'|&quot;|&apos;/g,`"`))}if(e.kind===`docType`&&(t.value=h(0,e.value.toLowerCase(),/\s+/g,` `)),e.kind===`angularControlFlowBlock`&&e.parameters?.children)for(let n of t.parameters.children)Jr.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)}Yr.ignoredProperties=qr;var Xr=`format`,Zr=/^\s*<!--\s*@(?:noformat|noprettier)\s*-->/,Qr=/^\s*<!--\s*@(?:format|prettier)\s*-->/,$r=e=>Qr.test(e),ei=e=>Zr.test(e),ti=e=>`<!-- @${Xr} -->
15
15
 
16
- ${e}`,ni=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 ri(e){let t=hr(e);return e.kind===`element`&&!e.endSourceSpan&&ct(e.children)?Math.max(t,ri(g(0,e.children,-1))):t}function ii(e,t,n){let r=e.node;if(Pt(r)){let e=ri(r);return[z(r,t),v(E.trimEnd(t.originalText.slice(F(r)+(r.prev&&wr(r.prev)?Mr(r).length:0),e-(r.next&&L(r.next)?xr(r,t).length:0)))),I(r,t)]}return n()}function ai(e,t){return k(e)&&k(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Gt(t)?T:C:``:Gt(t)?T:w:wr(e)&&(Pt(t)||t.firstChild||t.isSelfClosing||t.kind===`element`&&t.attrs.length>0)||e.kind===`element`&&e.isSelfClosing&&L(t)?``:t.kind===`comment`&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces?w:!t.isLeadingSpaceSensitive||Gt(t)||L(t)&&e.lastChild&&R(e.lastChild)&&e.lastChild.lastChild&&R(e.lastChild.lastChild)?T:t.hasLeadingSpaces?C:w}function oi(e,t,n){let{node:r}=e;if(Wt(r))return[Ne,...e.map(()=>{let r=e.node,i=r.prev?ai(r.prev,r):``;return[i?[i,Ht(r.prev)?T:``]:``,ii(e,t,n)]},`children`)];let i=r.children.map(()=>Symbol(``));return e.map(({node:r,index:a})=>{if(k(r)){if(r.prev&&k(r.prev)){let i=ai(r.prev,r);if(i)return Ht(r.prev)?[T,T,ii(e,t,n)]:[i,ii(e,t,n)]}return ii(e,t,n)}let o=[],s=[],c=[],l=[],u=r.prev?ai(r.prev,r):``,d=r.next?ai(r,r.next):``;return u&&(Ht(r.prev)?o.push(T,T):u===T?o.push(T):k(r.prev)?s.push(u):s.push(Fe(``,w,{groupId:i[a-1]}))),d&&(Ht(r)?k(r.next)&&l.push(T,T):d===T?k(r.next)&&l.push(T):c.push(d)),[...o,x([...s,x([ii(e,t,n),...c],{id:i[a]})]),...l]},`children`)}function si(e,t,n){let{node:r}=e,i=[];fi(e)&&i.push(`} `),i.push(`@`,r.name);let a=ui(r);if(r.parameters&&(a||i.push(` `),i.push(`(`,x(n(`parameters`)),`)`)),a)return i.push(`;`),i;if(!di(r)){i.push(` {`);let a=ci(r);r.children.length>0?(r.firstChild.hasLeadingSpaces=!0,r.lastChild.hasTrailingSpaces=!0,i.push(b([T,oi(e,t,n)])),a&&i.push(T,`}`)):a&&i.push(`}`)}return x(i,{shouldBreak:!0})}function ci(e){return!(e.next?.kind===`angularControlFlowBlock`&&ni.get(e.name)?.has(e.next.name))}var li=e=>e?.kind===`angularControlFlowBlock`&&(e.name===`case`||e.name==="default"),ui=e=>e?.kind===`angularControlFlowBlock`&&e.name===`default never`;function di(e){return li(e)&&e.endSourceSpan&&e.endSourceSpan.start.offset===e.endSourceSpan.end.offset}function fi(e){let{previous:t}=e;return t?.kind===`angularControlFlowBlock`&&!Pt(t)&&!ci(t)}function pi(e,t,n){return[b([w,S([`;`,C],e.map(n,`children`))]),w]}function mi(e,t,n){let{node:r}=e;return[Ar(r,t),x([r.switchValue.trim(),`, `,r.type,r.cases.length>0?[`,`,b([C,S(C,e.map(n,`cases`))])]:``,w]),vr(r,t)]}function hi(e,t,n){let{node:r}=e;return[r.value,` {`,x([b([w,e.map(({node:e,isLast:t})=>{let r=[n()];return e.kind===`text`&&(e.hasLeadingSpaces&&r.unshift(C),e.hasTrailingSpaces&&!t&&r.push(C)),r},`expression`)]),w]),`}`]}function gi(e,t,n){let{node:r}=e;if(Nt(r,t))return[z(r,t),x(kr(e,t,n)),v(Fr(r,t)),...gr(r,t),I(r,t)];let i=r.children.length===1&&(r.firstChild.kind===`interpolation`||r.firstChild.kind===`angularIcuExpression`)&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,a=Symbol(`element-attr-group-id`),o=i=>x([x(kr(e,t,n),{id:a}),i,gr(r,t)]);return r.children.length===0?o(r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?C:``):o([Ut(r)?Ne:``,(e=>i?Ie(e,{groupId:a}):(A(r,t)||gn(r,t))&&r.parent.kind===`root`&&t.parser===`vue`&&!t.vueIndentScriptAndStyle?e:b(e))([i?Fe(w,``,{groupId:a}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?C:r.firstChild.kind===`text`&&r.isWhitespaceSensitive&&r.isIndentationSensitive?Me(w):w,oi(e,t,n)]),(r.next?L(r.next):Cr(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?` `:``:j(r)&&R(r.lastChild)?``:i?Fe(w,``,{groupId:a}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?C:(r.lastChild.kind===`comment`||r.lastChild.kind===`text`&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`).test(r.lastChild.value)?``:w])}function _i(e){let{node:{value:t,type:n}}=e;return n===`single`?`//${t.trimEnd()}`:[`/*`,v(t),`*/`]}var vi=(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 B(e,t=!0){if(e[0]!=`:`)return[null,e];let n=e.indexOf(`:`,1);if(n===-1){if(t)throw Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function yi(e){return B(e)[1]===`ng-container`}function bi(e){return B(e)[1]===`ng-content`}function xi(e){return e===null?null:B(e)[0]}function Si(e,t){return e?`:${e}:${t}`:t}var Ci,wi=`math`,Ti=()=>Object.create(null);function Ei(){return Ci||(Ci=Ti(),V(1,void 0,[[`iframe`,[`srcdoc`]],[`*`,[`innerHTML`,`outerHTML`]]]),V(2,void 0,[[`*`,[`style`]]]),V(4,void 0,[[`*`,[`formAction`]],[`area`,[`href`]],[`a`,[`href`,`xlink:href`]],[`form`,[`action`]],[`img`,[`src`]],[`video`,[`src`]]]),V(4,wi,[[`*`,[`href`,`xlink:href`]]]),V(5,void 0,[[`base`,[`href`]],[`embed`,[`src`]],[`frame`,[`src`]],[`iframe`,[`src`]],[`link`,[`href`]],[`object`,[`codebase`,`data`]]]),V(4,`svg`,[[`a`,[`href`,`xlink:href`]]]),V(6,`svg`,[[`animate`,[`attributeName`,`values`,`to`,`from`]],[`set`,[`to`,`attributeName`]],[`animateMotion`,[`attributeName`]],[`animateTransform`,[`attributeName`]]]),V(6,void 0,[[`unknown`,[`attributeName`,`values`,`to`,`from`,`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]],[`iframe`,[`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]]]),Ci)}function V(e,t,n){let r=t??``;for(let[t,a]of n){let n=t.toLowerCase();for(let t of a){var i;let a=t.toLowerCase(),o=(i=Ci)[a]??(i[a]=Ti()),s=o[r]??(o[r]=Ti());s[n]=e}}}function Di(e,t,n){let r=Ei()[t.toLowerCase()];if(!r)return 0;let i=e.toLowerCase(),a;if(n){let e=r[n];e&&(a=e[i]??e[`*`])}if(a===void 0){let e=r[``];e&&(a=e[i]??e[`*`])}return a??0}var Oi={name:`custom-elements`},ki={name:`no-errors-schema`},Ai=/-+([a-z0-9])/g;function ji(e){return e.replace(Ai,(...e)=>e[1].toUpperCase())}var Mi=class{},Ni=`boolean`,Pi=`number`,Fi=`string`,Ii=`object`;function Li(e){let[t,n]=B(e.toLowerCase(),!1);return t===`svg`||t===`math`?`:${t}:${n}`:n}var Ri=`[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:|`.split(`.`),zi=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`})),Bi=Array.from(zi).reduce((e,[t,n])=>(e.set(t,n),e),new Map),Vi=class extends Mi{constructor(){((...e)=>(super(...e),i(this,`_schema`,new Map),i(this,`_eventSchema`,new Map),this))(),Ri.forEach(e=>{let t=new Map,n=new Set,[r,i]=e.split(`|`),a=i.split(`,`),[o,s]=r.split(`^`);o.split(`,`).forEach(e=>{this._schema.set(e.toLowerCase(),t),this._eventSchema.set(e.toLowerCase(),n)});let c=s&&this._schema.get(s.toLowerCase());if(c){for(let[e,n]of c)t.set(e,n);for(let e of this._eventSchema.get(s.toLowerCase()))n.add(e)}a.forEach(e=>{if(e.length>0)switch(e[0]){case`*`:n.add(e.substring(1));break;case`!`:t.set(e.substring(1),Ni);break;case`#`:t.set(e.substring(1),Pi);break;case`%`:t.set(e.substring(1),Ii);break;default:t.set(e,Fi)}})})}hasProperty(e,t,n){if(n.some(e=>e.name===ki.name))return!0;let r=Li(e);if(r.includes(`-`)){if(yi(r)||bi(r))return!1;if(n.some(e=>e.name===Oi.name))return!0}return(this._schema.get(r)||this._schema.get(`unknown`)).has(t)}hasElement(e,t){if(t.some(e=>e.name===ki.name))return!0;let n=Li(e);return n.includes(`-`)&&(yi(n)||bi(n)||t.some(e=>e.name===Oi.name))?!0:this._schema.has(n)}securityContext(e,t,n){n&&(t=this.getMappedPropName(t));let[r,i]=B(e,!1);return Di(i,t,r)}getMappedPropName(e){return zi.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=Li(e),n=this._schema.get(t)||this._schema.get(`unknown`);return Array.from(n.keys()).map(e=>Bi.get(e)??e)}allKnownEventsOfElement(e){let t=Li(e);return Array.from(this._eventSchema.get(t)??[])}normalizeAnimationStyleProperty(e){return ji(e)}normalizeAnimationStyleValue(e,t,n){let r=``,i=n.toString().trim(),a=null;if(Hi(e)&&n!==0&&n!==`0`)if(typeof n==`number`)r=`px`;else{let e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&e[1].length==0&&(a=`Please provide a CSS unit value for ${t}:${n}`)}return{error:a,value:i+r}}};function Hi(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 H=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:n=2,closedByParent:r=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:s=!1,canSelfClose:c=!1}={}){i(this,`closedByChildren`,{}),i(this,`contentType`,void 0),i(this,`closedByParent`,!1),i(this,`implicitNamespacePrefix`,void 0),i(this,`isVoid`,void 0),i(this,`ignoreFirstLf`,void 0),i(this,`canSelfClose`,void 0),i(this,`preventNamespaceInheritance`,void 0),e&&e.length>0&&e.forEach(e=>this.closedByChildren[e]=!0),this.isVoid=a,this.closedByParent=r||a,this.implicitNamespacePrefix=t||null,this.contentType=n,this.ignoreFirstLf=o,this.preventNamespaceInheritance=s,this.canSelfClose=c??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}},Ui,Wi;function Gi(e){return Wi||(Ui=new H({canSelfClose:!0}),Wi=Object.assign(Object.create(null),{base:new H({isVoid:!0}),meta:new H({isVoid:!0}),area:new H({isVoid:!0}),embed:new H({isVoid:!0}),link:new H({isVoid:!0}),img:new H({isVoid:!0}),input:new H({isVoid:!0}),param:new H({isVoid:!0}),hr:new H({isVoid:!0}),br:new H({isVoid:!0}),source:new H({isVoid:!0}),track:new H({isVoid:!0}),wbr:new H({isVoid:!0}),p:new H({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`.split(`.`),closedByParent:!0}),thead:new H({closedByChildren:[`tbody`,`tfoot`]}),tbody:new H({closedByChildren:[`tbody`,`tfoot`],closedByParent:!0}),tfoot:new H({closedByChildren:[`tbody`],closedByParent:!0}),tr:new H({closedByChildren:[`tr`],closedByParent:!0}),td:new H({closedByChildren:[`td`,`th`],closedByParent:!0}),th:new H({closedByChildren:[`td`,`th`],closedByParent:!0}),col:new H({isVoid:!0}),svg:new H({implicitNamespacePrefix:`svg`}),foreignObject:new H({implicitNamespacePrefix:`svg`,preventNamespaceInheritance:!0}),math:new H({implicitNamespacePrefix:`math`}),li:new H({closedByChildren:[`li`],closedByParent:!0}),dt:new H({closedByChildren:[`dt`,`dd`]}),dd:new H({closedByChildren:[`dt`,`dd`],closedByParent:!0}),rb:new H({closedByChildren:[`rb`,`rt`,`rtc`,`rp`],closedByParent:!0}),rt:new H({closedByChildren:[`rb`,`rt`,`rtc`,`rp`],closedByParent:!0}),rtc:new H({closedByChildren:[`rb`,`rtc`,`rp`],closedByParent:!0}),rp:new H({closedByChildren:[`rb`,`rt`,`rtc`,`rp`],closedByParent:!0}),optgroup:new H({closedByChildren:[`optgroup`],closedByParent:!0}),option:new H({closedByChildren:[`option`,`optgroup`],closedByParent:!0}),pre:new H({ignoreFirstLf:!0}),listing:new H({ignoreFirstLf:!0}),style:new H({contentType:0}),script:new H({contentType:0}),title:new H({contentType:{default:1,svg:2}}),textarea:new H({contentType:1,ignoreFirstLf:!0})}),new Vi().allKnownElementNames().forEach(e=>{!Wi[e]&&xi(e)===null&&(Wi[e]=new H({canSelfClose:!1}))})),Wi[e]??Ui}var Ki=class e{constructor(e,t,n,r){i(this,`file`,void 0),i(this,`offset`,void 0),i(this,`line`,void 0),i(this,`col`,void 0),this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return this.offset==null?this.file.url:`${this.file.url}@${this.line}:${this.col}`}moveBy(t){let n=this.file.content,r=n.length,i=this.offset,a=this.line,o=this.col;for(;i>0&&t<0;)if(i--,t++,n.charCodeAt(i)==10){a--;let e=n.substring(0,i-1).lastIndexOf(`
16
+ ${e}`,ni=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 ri(e){let t=hr(e);return e.kind===`element`&&!e.endSourceSpan&&ct(e.children)?Math.max(t,ri(g(0,e.children,-1))):t}function ii(e,t,n){let r=e.node;if(Pt(r)){let e=ri(r);return[z(r,t),v(E.trimEnd(t.originalText.slice(F(r)+(r.prev&&wr(r.prev)?Mr(r).length:0),e-(r.next&&L(r.next)?xr(r,t).length:0)))),I(r,t)]}return n()}function ai(e,t){return k(e)&&k(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Gt(t)?T:C:``:Gt(t)?T:w:wr(e)&&(Pt(t)||t.firstChild||t.isSelfClosing||t.kind===`element`&&t.attrs.length>0)||e.kind===`element`&&e.isSelfClosing&&L(t)?``:t.kind===`comment`&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces?w:!t.isLeadingSpaceSensitive||Gt(t)||L(t)&&e.lastChild&&R(e.lastChild)&&e.lastChild.lastChild&&R(e.lastChild.lastChild)?T:t.hasLeadingSpaces?C:w}function oi(e,t,n){let{node:r}=e;if(Wt(r))return[Ne,...e.map(()=>{let r=e.node,i=r.prev?ai(r.prev,r):``;return[i?[i,Ht(r.prev)?T:``]:``,ii(e,t,n)]},`children`)];let i=r.children.map(()=>Symbol(``));return e.map(({node:r,index:a})=>{if(k(r)){if(r.prev&&k(r.prev)){let i=ai(r.prev,r);if(i)return Ht(r.prev)?[T,T,ii(e,t,n)]:[i,ii(e,t,n)]}return ii(e,t,n)}let o=[],s=[],c=[],l=[],u=r.prev?ai(r.prev,r):``,d=r.next?ai(r,r.next):``;return u&&(Ht(r.prev)?o.push(T,T):u===T?o.push(T):k(r.prev)?s.push(u):s.push(Fe(``,w,{groupId:i[a-1]}))),d&&(Ht(r)?k(r.next)&&l.push(T,T):d===T?k(r.next)&&l.push(T):c.push(d)),[...o,x([...s,x([ii(e,t,n),...c],{id:i[a]})]),...l]},`children`)}function si(e,t,n){let{node:r}=e,i=[];fi(e)&&i.push(`} `),i.push(`@`,r.name);let a=ui(r);if(r.parameters&&(a||i.push(` `),i.push(`(`,x(n(`parameters`)),`)`)),a)return i.push(`;`),i;if(!di(r)){i.push(` {`);let a=ci(r);r.children.length>0?(r.firstChild.hasLeadingSpaces=!0,r.lastChild.hasTrailingSpaces=!0,i.push(b([T,oi(e,t,n)])),a&&i.push(T,`}`)):a&&i.push(`}`)}return x(i,{shouldBreak:!0})}function ci(e){return!(e.next?.kind===`angularControlFlowBlock`&&ni.get(e.name)?.has(e.next.name))}var li=e=>e?.kind===`angularControlFlowBlock`&&(e.name===`case`||e.name==="default"),ui=e=>e?.kind===`angularControlFlowBlock`&&e.name===`default never`;function di(e){return li(e)&&e.endSourceSpan&&e.endSourceSpan.start.offset===e.endSourceSpan.end.offset}function fi(e){let{previous:t}=e;return t?.kind===`angularControlFlowBlock`&&!Pt(t)&&!ci(t)}function pi(e,t,n){return[b([w,S([`;`,C],e.map(n,`children`))]),w]}function mi(e,t,n){let{node:r}=e;return[Ar(r,t),x([r.switchValue.trim(),`, `,r.type,r.cases.length>0?[`,`,b([C,S(C,e.map(n,`cases`))])]:``,w]),vr(r,t)]}function hi(e,t,n){let{node:r}=e;return[r.value,` {`,x([b([w,e.map(({node:e,isLast:t})=>{let r=[n()];return e.kind===`text`&&(e.hasLeadingSpaces&&r.unshift(C),e.hasTrailingSpaces&&!t&&r.push(C)),r},`expression`)]),w]),`}`]}function gi(e,t,n){let{node:r}=e;if(Nt(r,t))return[z(r,t),x(kr(e,t,n)),v(Fr(r,t)),...gr(r,t),I(r,t)];let i=r.children.length===1&&(r.firstChild.kind===`interpolation`||r.firstChild.kind===`angularIcuExpression`)&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,a=Symbol(`element-attr-group-id`),o=i=>x([x(kr(e,t,n),{id:a}),i,gr(r,t)]);return r.children.length===0?o(r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?C:``):o([Ut(r)?Ne:``,(e=>i?Ie(e,{groupId:a}):(A(r,t)||gn(r,t))&&r.parent.kind===`root`&&t.parser===`vue`&&!t.vueIndentScriptAndStyle?e:b(e))([i?Fe(w,``,{groupId:a}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?C:r.firstChild.kind===`text`&&r.isWhitespaceSensitive&&r.isIndentationSensitive?Me(w):w,oi(e,t,n)]),(r.next?L(r.next):Cr(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?` `:``:j(r)&&R(r.lastChild)?``:i?Fe(w,``,{groupId:a}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?C:(r.lastChild.kind===`comment`||r.lastChild.kind===`text`&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`).test(r.lastChild.value)?``:w])}function _i(e){let{node:{value:t,type:n}}=e;return n===`single`?`//${t.trimEnd()}`:[`/*`,v(t),`*/`]}var vi=(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 B(e,t=!0){if(e[0]!=`:`)return[null,e];let n=e.indexOf(`:`,1);if(n===-1){if(t)throw Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function yi(e){return B(e)[1]===`ng-container`}function bi(e){return B(e)[1]===`ng-content`}function xi(e){return e===null?null:B(e)[0]}function Si(e,t){return e?`:${e}:${t}`:t}var Ci,wi=`math`,Ti=()=>Object.create(null);function Ei(){return Ci||(Ci=Ti(),V(1,void 0,[[`iframe`,[`srcdoc`]],[`*`,[`innerHTML`,`outerHTML`]]]),V(2,void 0,[[`*`,[`style`]]]),V(4,void 0,[[`*`,[`formAction`]],[`area`,[`href`]],[`a`,[`href`,`xlink:href`]],[`form`,[`action`]],[`img`,[`src`]],[`video`,[`src`]]]),V(4,wi,[[`*`,[`href`,`xlink:href`]]]),V(5,void 0,[[`base`,[`href`]],[`embed`,[`src`]],[`frame`,[`src`]],[`iframe`,[`src`]],[`link`,[`href`]],[`object`,[`codebase`,`data`]]]),V(4,`svg`,[[`a`,[`href`,`xlink:href`]]]),V(6,`svg`,[[`animate`,[`attributeName`,`values`,`to`,`from`]],[`set`,[`to`,`attributeName`]],[`animateMotion`,[`attributeName`]],[`animateTransform`,[`attributeName`]]]),V(6,void 0,[[`unknown`,[`attributeName`,`values`,`to`,`from`,`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]],[`iframe`,[`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]]]),Ci)}function V(e,t,n){let r=t??``;for(let[t,a]of n){let n=t.toLowerCase();for(let t of a){var i;let a=t.toLowerCase(),o=(i=Ci)[a]??(i[a]=Ti()),s=o[r]??(o[r]=Ti());s[n]=e}}}function Di(e,t,n){let r=Ei()[t.toLowerCase()];if(!r)return 0;let i=e.toLowerCase(),a;if(n){let e=r[n];e&&(a=e[i]??e[`*`])}if(a===void 0){let e=r[``];e&&(a=e[i]??e[`*`])}return a??0}var Oi={name:`custom-elements`},ki={name:`no-errors-schema`},Ai=/-+([a-z0-9])/g;function ji(e){return e.replace(Ai,(...e)=>e[1].toUpperCase())}var Mi=class{},Ni=`boolean`,Pi=`number`,Fi=`string`,Ii=`object`;function Li(e){let[t,n]=B(e.toLowerCase(),!1);return t===`svg`||t===`math`?`:${t}:${n}`:n}var Ri=`[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:|`.split(`.`),zi=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`})),Bi=Array.from(zi).reduce((e,[t,n])=>(e.set(t,n),e),new Map),Vi=class extends Mi{constructor(){((...e)=>(super(...e),n(this,`_schema`,new Map),n(this,`_eventSchema`,new Map),this))(),Ri.forEach(e=>{let t=new Map,n=new Set,[r,i]=e.split(`|`),a=i.split(`,`),[o,s]=r.split(`^`);o.split(`,`).forEach(e=>{this._schema.set(e.toLowerCase(),t),this._eventSchema.set(e.toLowerCase(),n)});let c=s&&this._schema.get(s.toLowerCase());if(c){for(let[e,n]of c)t.set(e,n);for(let e of this._eventSchema.get(s.toLowerCase()))n.add(e)}a.forEach(e=>{if(e.length>0)switch(e[0]){case`*`:n.add(e.substring(1));break;case`!`:t.set(e.substring(1),Ni);break;case`#`:t.set(e.substring(1),Pi);break;case`%`:t.set(e.substring(1),Ii);break;default:t.set(e,Fi)}})})}hasProperty(e,t,n){if(n.some(e=>e.name===ki.name))return!0;let r=Li(e);if(r.includes(`-`)){if(yi(r)||bi(r))return!1;if(n.some(e=>e.name===Oi.name))return!0}return(this._schema.get(r)||this._schema.get(`unknown`)).has(t)}hasElement(e,t){if(t.some(e=>e.name===ki.name))return!0;let n=Li(e);return n.includes(`-`)&&(yi(n)||bi(n)||t.some(e=>e.name===Oi.name))?!0:this._schema.has(n)}securityContext(e,t,n){n&&(t=this.getMappedPropName(t));let[r,i]=B(e,!1);return Di(i,t,r)}getMappedPropName(e){return zi.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=Li(e),n=this._schema.get(t)||this._schema.get(`unknown`);return Array.from(n.keys()).map(e=>Bi.get(e)??e)}allKnownEventsOfElement(e){let t=Li(e);return Array.from(this._eventSchema.get(t)??[])}normalizeAnimationStyleProperty(e){return ji(e)}normalizeAnimationStyleValue(e,t,n){let r=``,i=n.toString().trim(),a=null;if(Hi(e)&&n!==0&&n!==`0`)if(typeof n==`number`)r=`px`;else{let e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&e[1].length==0&&(a=`Please provide a CSS unit value for ${t}:${n}`)}return{error:a,value:i+r}}};function Hi(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 H=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=2,closedByParent:i=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:s=!1,canSelfClose:c=!1}={}){n(this,`closedByChildren`,{}),n(this,`contentType`,void 0),n(this,`closedByParent`,!1),n(this,`implicitNamespacePrefix`,void 0),n(this,`isVoid`,void 0),n(this,`ignoreFirstLf`,void 0),n(this,`canSelfClose`,void 0),n(this,`preventNamespaceInheritance`,void 0),e&&e.length>0&&e.forEach(e=>this.closedByChildren[e]=!0),this.isVoid=a,this.closedByParent=i||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=s,this.canSelfClose=c??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}},Ui,Wi;function Gi(e){return Wi||(Ui=new H({canSelfClose:!0}),Wi=Object.assign(Object.create(null),{base:new H({isVoid:!0}),meta:new H({isVoid:!0}),area:new H({isVoid:!0}),embed:new H({isVoid:!0}),link:new H({isVoid:!0}),img:new H({isVoid:!0}),input:new H({isVoid:!0}),param:new H({isVoid:!0}),hr:new H({isVoid:!0}),br:new H({isVoid:!0}),source:new H({isVoid:!0}),track:new H({isVoid:!0}),wbr:new H({isVoid:!0}),p:new H({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`.split(`.`),closedByParent:!0}),thead:new H({closedByChildren:[`tbody`,`tfoot`]}),tbody:new H({closedByChildren:[`tbody`,`tfoot`],closedByParent:!0}),tfoot:new H({closedByChildren:[`tbody`],closedByParent:!0}),tr:new H({closedByChildren:[`tr`],closedByParent:!0}),td:new H({closedByChildren:[`td`,`th`],closedByParent:!0}),th:new H({closedByChildren:[`td`,`th`],closedByParent:!0}),col:new H({isVoid:!0}),svg:new H({implicitNamespacePrefix:`svg`}),foreignObject:new H({implicitNamespacePrefix:`svg`,preventNamespaceInheritance:!0}),math:new H({implicitNamespacePrefix:`math`}),li:new H({closedByChildren:[`li`],closedByParent:!0}),dt:new H({closedByChildren:[`dt`,`dd`]}),dd:new H({closedByChildren:[`dt`,`dd`],closedByParent:!0}),rb:new H({closedByChildren:[`rb`,`rt`,`rtc`,`rp`],closedByParent:!0}),rt:new H({closedByChildren:[`rb`,`rt`,`rtc`,`rp`],closedByParent:!0}),rtc:new H({closedByChildren:[`rb`,`rtc`,`rp`],closedByParent:!0}),rp:new H({closedByChildren:[`rb`,`rt`,`rtc`,`rp`],closedByParent:!0}),optgroup:new H({closedByChildren:[`optgroup`],closedByParent:!0}),option:new H({closedByChildren:[`option`,`optgroup`],closedByParent:!0}),pre:new H({ignoreFirstLf:!0}),listing:new H({ignoreFirstLf:!0}),style:new H({contentType:0}),script:new H({contentType:0}),title:new H({contentType:{default:1,svg:2}}),textarea:new H({contentType:1,ignoreFirstLf:!0})}),new Vi().allKnownElementNames().forEach(e=>{!Wi[e]&&xi(e)===null&&(Wi[e]=new H({canSelfClose:!1}))})),Wi[e]??Ui}var Ki=class e{constructor(e,t,r,i){n(this,`file`,void 0),n(this,`offset`,void 0),n(this,`line`,void 0),n(this,`col`,void 0),this.file=e,this.offset=t,this.line=r,this.col=i}toString(){return this.offset==null?this.file.url:`${this.file.url}@${this.line}:${this.col}`}moveBy(t){let n=this.file.content,r=n.length,i=this.offset,a=this.line,o=this.col;for(;i>0&&t<0;)if(i--,t++,n.charCodeAt(i)==10){a--;let e=n.substring(0,i-1).lastIndexOf(`
18
18
  `);o=e>0?i-e:i}else o--;for(;i<r&&t>0;){let e=n.charCodeAt(i);i++,t--,e==10?(a++,o=0):o++}return new e(this.file,i,a,o)}getContext(e,t){let n=this.file.content,r=this.offset;if(r!=null){r>n.length-1&&(r=n.length-1);let i=r,a=0,o=0;for(;a<e&&r>0&&(r--,a++,n[r]!=`
19
19
  `||++o!=t););for(a=0,o=0;a<e&&i<n.length-1&&(i++,a++,n[i]!=`
20
- `||++o!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,i+1)}}return null}},qi=class{constructor(e,t){i(this,`content`,void 0),i(this,`url`,void 0),this.content=e,this.url=t}},U=class{constructor(e,t,n=e,r=null){i(this,`start`,void 0),i(this,`end`,void 0),i(this,`fullStart`,void 0),i(this,`details`,void 0),this.start=e,this.end=t,this.fullStart=n,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},Ji=(function(e){return e[e.WARNING=0]=`WARNING`,e[e.ERROR=1]=`ERROR`,e})({}),W=class extends Error{constructor(e,t,n=1,r){((...e)=>(super(...e),i(this,`span`,void 0),i(this,`msg`,void 0),i(this,`level`,void 0),i(this,`relatedError`,void 0),this))(t),this.span=e,this.msg=t,this.level=n,this.relatedError=r,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${Ji[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:``;return`${this.contextualMessage()}: ${this.span.start}${e}`}},G=class{constructor(e,t){i(this,`sourceSpan`,void 0),i(this,`i18n`,void 0),this.sourceSpan=e,this.i18n=t}},Yi=class extends G{constructor(e,t,n,r){((...e)=>(super(...e),i(this,`value`,void 0),i(this,`tokens`,void 0),i(this,`kind`,`text`),this))(t,r),this.value=e,this.tokens=n}visit(e,t){return e.visitText(this,t)}},Xi=class extends G{constructor(e,t,n,r){((...e)=>(super(...e),i(this,`value`,void 0),i(this,`tokens`,void 0),i(this,`kind`,`cdata`),this))(t,r),this.value=e,this.tokens=n}visit(e,t){return e.visitCdata(this,t)}},Zi=class extends G{constructor(e,t,n,r,a,o){((...e)=>(super(...e),i(this,`switchValue`,void 0),i(this,`type`,void 0),i(this,`cases`,void 0),i(this,`switchValueSourceSpan`,void 0),i(this,`kind`,`expansion`),this))(r,o),this.switchValue=e,this.type=t,this.cases=n,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},Qi=class{constructor(e,t,n,r,a){i(this,`value`,void 0),i(this,`expression`,void 0),i(this,`sourceSpan`,void 0),i(this,`valueSourceSpan`,void 0),i(this,`expSourceSpan`,void 0),i(this,`kind`,`expansionCase`),this.value=e,this.expression=t,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=a}visit(e,t){return e.visitExpansionCase(this,t)}},$i=class extends G{constructor(e,t,n,r,a,o,s){((...e)=>(super(...e),i(this,`name`,void 0),i(this,`value`,void 0),i(this,`keySpan`,void 0),i(this,`valueSpan`,void 0),i(this,`valueTokens`,void 0),i(this,`kind`,`attribute`),this))(n,s),this.name=e,this.value=t,this.keySpan=r,this.valueSpan=a,this.valueTokens=o}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},ea=class{constructor(e,t,n){i(this,`value`,void 0),i(this,`type`,void 0),i(this,`sourceSpan`,void 0),i(this,`kind`,`startTagComment`),this.value=e,this.type=t,this.sourceSpan=n}visit(e,t){return e.visitStartTagComment?e.visitStartTagComment(this,t):void 0}},K=class extends G{constructor(e,t,n,r,a,o,s,c=null,l=null,u,d,f=[]){((...e)=>(super(...e),i(this,`name`,void 0),i(this,`attrs`,void 0),i(this,`directives`,void 0),i(this,`children`,void 0),i(this,`isSelfClosing`,void 0),i(this,`startSourceSpan`,void 0),i(this,`endSourceSpan`,void 0),i(this,`nameSpan`,void 0),i(this,`isVoid`,void 0),i(this,`comments`,void 0),i(this,`kind`,`element`),this))(o,d),this.name=e,this.attrs=t,this.directives=n,this.children=r,this.isSelfClosing=a,this.startSourceSpan=s,this.endSourceSpan=c,this.nameSpan=l,this.isVoid=u,this.comments=f}visit(e,t){return e.visitElement(this,t)}},ta=class{constructor(e,t){i(this,`value`,void 0),i(this,`sourceSpan`,void 0),i(this,`kind`,`comment`),this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}},na=class{constructor(e,t){i(this,`value`,void 0),i(this,`sourceSpan`,void 0),i(this,`kind`,`docType`),this.value=e,this.sourceSpan=t}visit(e,t){return e.visitDocType(this,t)}},q=class extends G{constructor(e,t,n,r,a,o,s=null,c){((...e)=>(super(...e),i(this,`name`,void 0),i(this,`parameters`,void 0),i(this,`children`,void 0),i(this,`nameSpan`,void 0),i(this,`startSourceSpan`,void 0),i(this,`endSourceSpan`,void 0),i(this,`kind`,`block`),this))(r,c),this.name=e,this.parameters=t,this.children=n,this.nameSpan=a,this.startSourceSpan=o,this.endSourceSpan=s}visit(e,t){return e.visitBlock(this,t)}},J=class extends G{constructor(e,t,n,r,a,o,s,c,l,u=null,d,f=[]){((...e)=>(super(...e),i(this,`componentName`,void 0),i(this,`tagName`,void 0),i(this,`fullName`,void 0),i(this,`attrs`,void 0),i(this,`directives`,void 0),i(this,`children`,void 0),i(this,`isSelfClosing`,void 0),i(this,`startSourceSpan`,void 0),i(this,`endSourceSpan`,void 0),i(this,`comments`,void 0),i(this,`kind`,`component`),this))(c,d),this.componentName=e,this.tagName=t,this.fullName=n,this.attrs=r,this.directives=a,this.children=o,this.isSelfClosing=s,this.startSourceSpan=l,this.endSourceSpan=u,this.comments=f}visit(e,t){return e.visitComponent(this,t)}},ra=class{constructor(e,t,n,r,a=null){i(this,`name`,void 0),i(this,`attrs`,void 0),i(this,`sourceSpan`,void 0),i(this,`startSourceSpan`,void 0),i(this,`endSourceSpan`,void 0),i(this,`kind`,`directive`),this.name=e,this.attrs=t,this.sourceSpan=n,this.startSourceSpan=r,this.endSourceSpan=a}visit(e,t){return e.visitDirective(this,t)}},ia=class{constructor(e,t){i(this,`expression`,void 0),i(this,`sourceSpan`,void 0),i(this,`kind`,`blockParameter`),i(this,`startSourceSpan`,null),i(this,`endSourceSpan`,null),this.expression=e,this.sourceSpan=t}visit(e,t){return e.visitBlockParameter(this,t)}},aa=class{constructor(e,t,n,r,a){i(this,`name`,void 0),i(this,`value`,void 0),i(this,`sourceSpan`,void 0),i(this,`nameSpan`,void 0),i(this,`valueSpan`,void 0),i(this,`kind`,`letDeclaration`),i(this,`startSourceSpan`,null),i(this,`endSourceSpan`,null),this.name=e,this.value=t,this.sourceSpan=n,this.nameSpan=r,this.valueSpan=a}visit(e,t){return e.visitLetDeclaration(this,t)}};function oa(e,t,n=null){let r=[],i=e.visit?t=>e.visit(t,n)||t.visit(e,n):t=>t.visit(e,n);return t.forEach(e=>{let t=i(e);t&&r.push(t)}),r}var sa=class{constructor(){}visitElement(e,t){this.visitChildren(t,t=>{t(e.attrs),t(e.directives),t(e.comments),t(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,t=>{t(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,t=>{t(e.parameters),t(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitComponent(e,t){this.visitChildren(t,t=>{t(e.attrs),t(e.comments),t(e.children)})}visitDirective(e,t){this.visitChildren(t,t=>{t(e.attrs)})}visitChildren(e,t){let n=[],r=this;function i(t){t&&n.push(oa(r,t,e))}return t(i),Array.prototype.concat.apply([],n)}};function ca(e){return e>=9&&e<=32||e==160}function la(e){return 48<=e&&e<=57}function ua(e){return e>=97&&e<=122||e>=65&&e<=90}function da(e){return e>=97&&e<=102||e>=65&&e<=70||la(e)}function fa(e){return e===10||e===13}function pa(e){return 48<=e&&e<=55}function ma(e){return e===39||e===34||e===96}var ha={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:`\xA0`,nbsp:`\xA0`,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:`‌`};ha.ngsp=``;var ga=class{constructor(e,t,n){i(this,`tokens`,void 0),i(this,`errors`,void 0),i(this,`nonNormalizedIcuExpressions`,void 0),this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=n}};function _a(e,t,n,r={}){let i=new Ta(new qi(e,t),n,r);return i.tokenize(),new ga(La(i.tokens),i.errors,i.nonNormalizedIcuExpressions)}var va=/\r\n?/g;function Y(e){return`Unexpected character "${e===0?`EOF`:String.fromCharCode(e)}"`}function ya(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}function ba(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}var xa=[`@if`,`@else`,`@for`,`@switch`,`@case`,`@default`,`@empty`,`@defer`,`@placeholder`,`@loading`,`@error`,`@content`],Sa={start:`{{`,end:`}}`},Ca=/^default[^\S\r\n]+never/,wa=/^else[^\S\r\n]+if/,Ta=class{constructor(e,t,n){i(this,`_getTagContentType`,void 0),i(this,`_cursor`,void 0),i(this,`_tokenizeIcu`,void 0),i(this,`_leadingTriviaCodePoints`,void 0),i(this,`_canSelfClose`,void 0),i(this,`_allowHtmComponentClosingTags`,void 0),i(this,`_allowStartTagComments`,void 0),i(this,`_currentTokenStart`,null),i(this,`_currentTokenType`,null),i(this,`_expansionCaseStack`,[]),i(this,`_openDirectiveCount`,0),i(this,`_inInterpolation`,!1),i(this,`_preserveLineEndings`,void 0),i(this,`_i18nNormalizeLineEndingsInICUs`,void 0),i(this,`_fullNameStack`,[]),i(this,`_tokenizeBlocks`,void 0),i(this,`_tokenizeLet`,void 0),i(this,`_selectorlessEnabled`,void 0),i(this,`tokens`,[]),i(this,`errors`,[]),i(this,`nonNormalizedIcuExpressions`,[]),this._getTagContentType=t,this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(e=>e.codePointAt(0)||0),this._canSelfClose=n.canSelfClose||!1,this._allowHtmComponentClosingTags=n.allowHtmComponentClosingTags||!1,this._allowStartTagComments=n.allowStartTagComments??!0;let r=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new za(e,r):new Ra(e,r),this._preserveLineEndings=n.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=n.tokenizeBlocks??!0,this._tokenizeLet=n.tokenizeLet??!0,this._selectorlessEnabled=n.selectorlessEnabled??!1;try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(va,`
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(e){this.handleError(e)}}this._beginToken(43),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();this._attemptCharCodeUntilFn(t=>ca(t)?!e:!Ma(t)||(e=!0,!1));let n=this._cursor.getChars(t).trim();return wa.test(n)?n=`else if`:Ca.test(n)&&(n=`default never`),n}_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(X),this._attemptCharCode(41))this._attemptCharCodeUntilFn(X);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(Na);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(29);let e=this._cursor.clone(),t=null,n=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let e=this._cursor.peek();if(e===92)this._cursor.advance();else if(e===t)t=null;else if(t===null&&ma(e))t=e;else if(e===40&&t===null)n++;else if(e===41&&t===null){if(n===0)break;n>0&&n--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Na)}}_consumeLetDeclaration(e){if(this._requireStr(`@let`),this._beginToken(31,e),ca(this._cursor.peek()))this._attemptCharCodeUntilFn(X);else{let t=this._endToken([this._cursor.getChars(e)]);t.type=34;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(X),!this._attemptCharCode(61)){t.type=34;return}this._attemptCharCodeUntilFn(e=>X(e)&&!fa(e)),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(e=>ua(e)||e===36||e===95||t&&la(e)?(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 e=this._cursor.peek();if(e===59)break;ma(e)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(t=>t===92?(this._cursor.advance(),!1):t===e)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(ka(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 W(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 W(this._cursor.getSpan(this._currentTokenStart),`Programming error - attempted to end a token which has no token type`);let n={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let n=new W(t,e);return this._currentTokenStart=null,this._currentTokenType=null,n}handleError(e){if(e instanceof Ba&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof W)this.errors.push(e);else throw e}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return Aa(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Y(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let n=this._cursor.clone();for(let r=0;r<t;r++)if(!this._attemptCharCode(e.charCodeAt(r)))return this._cursor=n,!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(Y(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(Y(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let n=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(n)<t)throw this._createError(Y(this._cursor.peek()),this._cursor.getSpan(n))}_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 n=this._cursor.clone();for(let r=0;r<t;r++){if(n.peek()!==e.charCodeAt(r))return!1;n.advance()}return!0}_isBlockStart(){return this._cursor.peek()===64&&xa.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 e=this._attemptCharCode(120)||this._attemptCharCode(88),n=this._cursor.clone();if(this._attemptCharCodeUntilFn(Da),this._cursor.peek()!=59){this._cursor.advance();let n=e?`hexadecimal`:`decimal`;throw this._createError(ba(n,this._cursor.getChars(t)),this._cursor.getSpan())}let r=this._cursor.getChars(n);this._cursor.advance();try{let n=parseInt(r,e?16:10);this._endToken([String.fromCodePoint(n),this._cursor.getChars(t)])}catch{throw this._createError(ya(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let n=this._cursor.clone();if(this._attemptCharCodeUntilFn(Oa),this._cursor.peek()!=59)this._beginToken(e,t),this._cursor=n,this._endToken([`&`]);else{let e=this._cursor.getChars(n);this._cursor.advance();let r=ha.hasOwnProperty(e)&&ha[e];if(!r)throw this._createError(ya(e),this._cursor.getSpan(t));this._endToken([r,`&${e};`])}}}_consumeRawText(e,t){this._beginToken(e?6:7);let n=[];for(;;){let r=this._cursor.clone(),i=t();if(this._cursor=r,i)break;e&&this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(n.join(``))]),n.length=0,this._consumeEntity(6),this._beginToken(6)):n.push(this._readChar())}this._endToken([this._processCarriageReturns(n.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(),n=``;for(;this._cursor.peek()!==58&&!Ea(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(n=this._cursor.getChars(t),this._cursor.advance(),r=this._cursor.clone()):r=t,this._requireCharCodeUntilFn(e,n===``?0:1);let i=this._cursor.getChars(r);return[n,i]}_consumeSingleLineComment(e){let t=this._cursor.clone();this._attemptCharCodeUntilFn(e=>fa(e)||e===0);let n=this._cursor.clone(),r=n.getChars(t);this._beginToken(12,e),this._endToken([r,`single`],n),this._attemptCharCodeUntilFn(X)}_consumeMultiLineComment(e){let t=this._cursor.clone();this._attemptCharCodeUntilFn(e=>{if(e===0)return!0;if(e===42){let e=this._cursor.clone();return e.advance(),e.peek()===47}return!1});let n=this._cursor.clone(),r=n.getChars(t),i=n;this._attemptStr(`*/`)&&(i=this._cursor.clone(),this._attemptCharCodeUntilFn(X)),this._beginToken(12,e),this._endToken([r,`multi`],i)}_consumeTagOpen(e){let t,n,r,i,a=[];try{if(this._selectorlessEnabled&&Pa(this._cursor.peek()))i=this._consumeComponentOpenStart(e),[r,n,t]=i.parts,n&&(r+=`:${n}`),t&&(r+=`:${t}`),this._attemptCharCodeUntilFn(X);else{if(!ua(this._cursor.peek()))throw this._createError(Y(this._cursor.peek()),this._cursor.getSpan(e));i=this._consumeTagOpenStart(e),n=i.parts[0],t=r=i.parts[1],this._attemptCharCodeUntilFn(X)}for(;;){if(this._allowStartTagComments){let e=this._cursor.clone();if(this._attemptStr(`//`)){this._consumeSingleLineComment(e);continue}if(this._attemptStr(`/*`)){this._consumeMultiLineComment(e);continue}}if(Ia(this._cursor.peek()))break;if(this._selectorlessEnabled&&this._cursor.peek()===64){let e=this._cursor.clone(),t=e.clone();t.advance(),Pa(t.peek())&&this._consumeDirective(e,t)}else{let e=this._consumeAttribute();a.push(e)}}i.type===35?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(t){if(t instanceof W){i?i.type=i.type===35?39:4:(this._beginToken(5,e),this._endToken([`<`]));return}throw t}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let o=this._getTagContentType(t,n,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(n,t),o===0?this._consumeRawTextWithTagClose(n,i,r,!1):o===1&&this._consumeRawTextWithTagClose(n,i,r,!0)}_consumeRawTextWithTagClose(e,t,n,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(X),!this._attemptStrCaseInsensitive(e&&t.type!==35?`${e}:${n}`:n))?!1:(this._attemptCharCodeUntilFn(X),this._attemptCharCode(62))),this._beginToken(t.type===35?38:3),this._requireCharCodeUntilFn(e=>e===62,3),this._cursor.advance(),this._endToken(t.parts),this._handleFullNameStackForTagClose(e,n)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName(Z);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(;Fa(this._cursor.peek());)this._cursor.advance();let t=this._cursor.getChars(e),n=``,r=``;return this._cursor.peek()===58&&(this._cursor.advance(),[n,r]=this._consumePrefixAndName(Z)),[t,n,r]}_consumeAttribute(){let[e,t]=this._consumeAttributeName(),n;return this._attemptCharCodeUntilFn(X),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(X),n=this._consumeAttributeValue()),this._attemptCharCodeUntilFn(X),{prefix:e,name:t,value:n}}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(Y(e),this._cursor.getSpan());this._beginToken(15);let t;if(this._openDirectiveCount>0){let e=0;t=t=>{if(this._openDirectiveCount>0){if(t===40)e++;else if(t===41){if(e===0)return!0;e--}}return Z(t)}}else if(e===91){let e=0;t=t=>(t===91?e++:t===93&&e--,e<=0?Z(t):fa(t))}else t=Z;let n=this._consumePrefixAndName(t);return this._endToken(n),n}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let n=()=>this._cursor.peek()===t;e=this._consumeWithInterpolation(17,18,n,n),this._consumeQuote(t)}else{let t=()=>Z(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&&!Pa(t.peek());)t.advance();if(Pa(t.peek())){this._beginToken(38,e);let t=this._consumeComponentName();this._attemptCharCodeUntilFn(X),this._requireCharCode(62),this._endToken(t);return}}if(this._beginToken(3,e),this._attemptCharCodeUntilFn(X),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(X),this._requireCharCode(62),this._endToken([]);else{let[e,t]=this._consumePrefixAndName(Z);this._attemptCharCodeUntilFn(X),this._requireCharCode(62),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_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(X),this._beginToken(7);let n=this._readUntil(44);this._endToken([n]),this._requireCharCode(44),this._attemptCharCodeUntilFn(X)}_consumeExpansionCaseStart(){this._beginToken(22);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(X),this._beginToken(23),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(X),this._expansionCaseStack.push(23)}_consumeExpansionCaseEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(X),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(25),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,n,r){this._beginToken(e);let i=[];for(;!n();){let n=this._cursor.clone();this._attemptStr(Sa.start)?(this._endToken([this._processCarriageReturns(i.join(``))],n),i.length=0,this._consumeInterpolation(t,n,r),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(i.join(``))]),i.length=0,this._consumeEntity(e),this._beginToken(e)):i.push(this._readChar())}this._inInterpolation=!1;let a=this._processCarriageReturns(i.join(``));return this._endToken([a]),a}_consumeInterpolation(e,t,n){let r=[];this._beginToken(e,t),r.push(Sa.start);let i=this._cursor.clone(),a=null,o=!1;for(;this._cursor.peek()!==0&&(n===null||!n());){let e=this._cursor.clone();if(this._isTagStart()){this._cursor=e,r.push(this._getProcessedChars(i,e)),this._endToken(r);return}if(a===null)if(this._attemptStr(Sa.end)){r.push(this._getProcessedChars(i,e)),r.push(Sa.end),this._endToken(r);return}else this._attemptStr(`//`)&&(o=!0);let t=this._cursor.peek();this._cursor.advance(),t===92?this._cursor.advance():t===a?a=null:!o&&a===null&&ma(t)&&(a=t)}r.push(this._getProcessedChars(i,this._cursor)),this._endToken(r)}_consumeDirective(e,t){for(this._requireCharCode(64),this._cursor.advance();Fa(this._cursor.peek());)this._cursor.advance();this._beginToken(40,e);let n=this._cursor.getChars(t);if(this._endToken([n]),this._attemptCharCodeUntilFn(X),this._cursor.peek()===40){for(this._openDirectiveCount++,this._beginToken(41),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(X);!Ia(this._cursor.peek())&&this._cursor.peek()!==41;)this._consumeAttribute();if(this._attemptCharCodeUntilFn(X),this._openDirectiveCount--,this._cursor.peek()!==41){if(this._cursor.peek()===62||this._cursor.peek()===47)return;throw this._createError(Y(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(42),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(X)}}_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(Sa.start);return this._cursor=e,!t}_handleFullNameStackForTagOpen(e,t){let n=Si(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===n)&&this._fullNameStack.push(n)}_handleFullNameStackForTagClose(e,t){let n=Si(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===n&&this._fullNameStack.pop()}};function X(e){return!ca(e)||e===0}function Z(e){return ca(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function Ea(e){return(e<97||122<e)&&(e<65||90<e)&&(e<48||e>57)}function Da(e){return e===59||e===0||!da(e)}function Oa(e){return e===59||e===0||!(ua(e)||la(e))}function ka(e){return e!==125}function Aa(e,t){return ja(e)===ja(t)}function ja(e){return e>=97&&e<=122?e-97+65:e}function Ma(e){return ua(e)||la(e)||e===95}function Na(e){return e!==59&&X(e)}function Pa(e){return e===95||e>=65&&e<=90}function Fa(e){return ua(e)||la(e)||e===95}function Ia(e){return e===47||e===62||e===60||e===0}function La(e){let t=[],n;for(let r=0;r<e.length;r++){let i=e[r];n&&n.type===5&&i.type===5||n&&n.type===17&&i.type===17?(n.parts[0]+=i.parts[0],n.sourceSpan.end=i.sourceSpan.end):(n=i,t.push(n))}return t}var Ra=class e{constructor(t,n){if(i(this,`state`,void 0),i(this,`file`,void 0),i(this,`input`,void 0),i(this,`end`,void 0),t instanceof e){this.file=t.file,this.input=t.input,this.end=t.end;let e=t.state;this.state={peek:e.peek,offset:e.offset,line:e.line,column:e.column}}else{if(!n)throw Error(`Programming error: the range argument must be provided with a file argument.`);this.file=t,this.input=t.content,this.end=n.endPos,this.state={peek:-1,offset:n.startPos,line:n.startLine,column:n.startCol}}}clone(){return new e(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let n=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)n===e&&(e=e.clone()),e.advance();let r=this.locationFromCursor(e);return new U(r,this.locationFromCursor(this),n===e?r:this.locationFromCursor(n))}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Ba(`Unexpected character "EOF"`,this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):fa(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Ki(e.file,e.state.offset,e.state.line,e.state.column)}},za=class e extends Ra{constructor(t,n){var r=(...e)=>(super(...e),i(this,`internalState`,void 0),this);t instanceof e?(r(t),this.internalState={...t.internalState}):(r(t,n),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new e(this)}getChars(e){let t=e.clone(),n=``;for(;t.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(t.peek()),t.advance();return n}processEscapeSequence(){let e=()=>this.internalState.peek;if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),n=0;for(;e()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(t,n)}else{let e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(e()===120){this.advanceState(this.internalState);let e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(pa(e())){let t=``,n=0,r=this.clone();for(;pa(e())&&n<3;)r=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(t,8),this.internalState=r.internalState}else fa(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let n=this.input.slice(e.internalState.offset,e.internalState.offset+t),r=parseInt(n,16);if(isNaN(r))throw e.state=e.internalState,new Ba(`Invalid hexadecimal escape sequence`,e);return r}},Ba=class extends Error{constructor(e,t){((...e)=>(super(...e),i(this,`msg`,void 0),i(this,`cursor`,void 0),this))(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}},Q=class e extends W{static create(t,n,r){return new e(t,n,r)}constructor(e,t,n){((...e)=>(super(...e),i(this,`elementName`,void 0),this))(t,n),this.elementName=e}},Va=class{constructor(e,t){i(this,`rootNodes`,void 0),i(this,`errors`,void 0),this.rootNodes=e,this.errors=t}},Ha=class{constructor(e){i(this,`getTagDefinition`,void 0),this.getTagDefinition=e}parse(e,t,n,r=!1,i){let a=e=>(t,...n)=>e(t.toLowerCase(),...n),o=r?this.getTagDefinition:a(this.getTagDefinition),s=e=>o(e).getContentType(),c=r?i:a(i),l=_a(e,t,i?(e,t,n,r)=>{let i=c(e,t,n,r);return i===void 0?s(e):i}:s,n),u=n&&n.canSelfClose||!1,d=n&&n.allowHtmComponentClosingTags||!1,f=new Ua(l.tokens,o,u,d,r);return f.build(),new Va(f.rootNodes,[...l.errors,...f.errors])}},Ua=class e{constructor(e,t,n,r,a){i(this,`tokens`,void 0),i(this,`tagDefinitionResolver`,void 0),i(this,`canSelfClose`,void 0),i(this,`allowHtmComponentClosingTags`,void 0),i(this,`isTagNameCaseSensitive`,void 0),i(this,`_index`,-1),i(this,`_peek`,void 0),i(this,`_containerStack`,[]),i(this,`rootNodes`,[]),i(this,`errors`,[]),this.tokens=e,this.tagDefinitionResolver=t,this.canSelfClose=n,this.allowHtmComponentClosingTags=r,this.isTagNameCaseSensitive=a,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 e of this._containerStack)e instanceof q&&this.errors.push(Q.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){let t=this._advance(),n=this._getText(t),r=this._advanceIf(14);this._addToParent(new Xi(n,new U(e.sourceSpan.start,(r||t).sourceSpan.end),[t]))}_consumeComment(e){let t=this._advanceIf(7),n=this._advanceIf(11),r=t==null?null:t.parts[0].trim(),i=n==null?e.sourceSpan:new U(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new ta(r,i))}_consumeDocType(e){let t=this._advanceIf(7),n=this._advanceIf(20),r=t==null?null:t.parts[0].trim(),i=new U(e.sourceSpan.start,(n||t||e).sourceSpan.end);this._addToParent(new na(r,i))}_consumeExpansion(e){let t=this._advance(),n=this._advance(),r=[];for(;this._peek.type===22;){let e=this._parseExpansionCase();if(!e)return;r.push(e)}if(this._peek.type!==25){this.errors.push(Q.create(null,this._peek.sourceSpan,`Invalid ICU message. Missing '}'.`));return}let i=new U(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new Zi(t.parts[0],n.parts[0],r,i,t.sourceSpan)),this._advance()}_parseExpansionCase(){let t=this._advance();if(this._peek.type!==23)return this.errors.push(Q.create(null,this._peek.sourceSpan,`Invalid ICU message. Missing '{'.`)),null;let n=this._advance(),r=this._collectExpansionExpTokens(n);if(!r)return null;let i=this._advance();r.push({type:43,parts:[],sourceSpan:i.sourceSpan});let a=new e(r,this.tagDefinitionResolver,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(a.build(),a.errors.length>0)return this.errors=this.errors.concat(a.errors),null;let o=new U(t.sourceSpan.start,i.sourceSpan.end,t.sourceSpan.fullStart),s=new U(n.sourceSpan.start,i.sourceSpan.end,n.sourceSpan.fullStart);return new Qi(t.parts[0],a.rootNodes,o,t.sourceSpan,s)}_collectExpansionExpTokens(e){let t=[],n=[23];for(;;){if((this._peek.type===21||this._peek.type===23)&&n.push(this._peek.type),this._peek.type===24)if(Wa(n,23)){if(n.pop(),n.length===0)return t}else return this.errors.push(Q.create(null,e.sourceSpan,`Invalid ICU message. Missing '}'.`)),null;if(this._peek.type===25)if(Wa(n,21))n.pop();else return this.errors.push(Q.create(null,e.sourceSpan,`Invalid ICU message. Missing '}'.`)),null;if(this._peek.type===43)return this.errors.push(Q.create(null,e.sourceSpan,`Invalid ICU message. Missing '}'.`)),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==`
20
+ `||++o!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,i+1)}}return null}},qi=class{constructor(e,t){n(this,`content`,void 0),n(this,`url`,void 0),this.content=e,this.url=t}},U=class{constructor(e,t,r=e,i=null){n(this,`start`,void 0),n(this,`end`,void 0),n(this,`fullStart`,void 0),n(this,`details`,void 0),this.start=e,this.end=t,this.fullStart=r,this.details=i}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},Ji=(function(e){return e[e.WARNING=0]=`WARNING`,e[e.ERROR=1]=`ERROR`,e})({}),W=class extends Error{constructor(e,t,r=1,i){((...e)=>(super(...e),n(this,`span`,void 0),n(this,`msg`,void 0),n(this,`level`,void 0),n(this,`relatedError`,void 0),this))(t),this.span=e,this.msg=t,this.level=r,this.relatedError=i,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${Ji[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:``;return`${this.contextualMessage()}: ${this.span.start}${e}`}},G=class{constructor(e,t){n(this,`sourceSpan`,void 0),n(this,`i18n`,void 0),this.sourceSpan=e,this.i18n=t}},Yi=class extends G{constructor(e,t,r,i){((...e)=>(super(...e),n(this,`value`,void 0),n(this,`tokens`,void 0),n(this,`kind`,`text`),this))(t,i),this.value=e,this.tokens=r}visit(e,t){return e.visitText(this,t)}},Xi=class extends G{constructor(e,t,r,i){((...e)=>(super(...e),n(this,`value`,void 0),n(this,`tokens`,void 0),n(this,`kind`,`cdata`),this))(t,i),this.value=e,this.tokens=r}visit(e,t){return e.visitCdata(this,t)}},Zi=class extends G{constructor(e,t,r,i,a,o){((...e)=>(super(...e),n(this,`switchValue`,void 0),n(this,`type`,void 0),n(this,`cases`,void 0),n(this,`switchValueSourceSpan`,void 0),n(this,`kind`,`expansion`),this))(i,o),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},Qi=class{constructor(e,t,r,i,a){n(this,`value`,void 0),n(this,`expression`,void 0),n(this,`sourceSpan`,void 0),n(this,`valueSourceSpan`,void 0),n(this,`expSourceSpan`,void 0),n(this,`kind`,`expansionCase`),this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=i,this.expSourceSpan=a}visit(e,t){return e.visitExpansionCase(this,t)}},$i=class extends G{constructor(e,t,r,i,a,o,s){((...e)=>(super(...e),n(this,`name`,void 0),n(this,`value`,void 0),n(this,`keySpan`,void 0),n(this,`valueSpan`,void 0),n(this,`valueTokens`,void 0),n(this,`kind`,`attribute`),this))(r,s),this.name=e,this.value=t,this.keySpan=i,this.valueSpan=a,this.valueTokens=o}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},ea=class{constructor(e,t,r){n(this,`value`,void 0),n(this,`type`,void 0),n(this,`sourceSpan`,void 0),n(this,`kind`,`startTagComment`),this.value=e,this.type=t,this.sourceSpan=r}visit(e,t){return e.visitStartTagComment?e.visitStartTagComment(this,t):void 0}},K=class extends G{constructor(e,t,r,i,a,o,s,c=null,l=null,u,d,f=[]){((...e)=>(super(...e),n(this,`name`,void 0),n(this,`attrs`,void 0),n(this,`directives`,void 0),n(this,`children`,void 0),n(this,`isSelfClosing`,void 0),n(this,`startSourceSpan`,void 0),n(this,`endSourceSpan`,void 0),n(this,`nameSpan`,void 0),n(this,`isVoid`,void 0),n(this,`comments`,void 0),n(this,`kind`,`element`),this))(o,d),this.name=e,this.attrs=t,this.directives=r,this.children=i,this.isSelfClosing=a,this.startSourceSpan=s,this.endSourceSpan=c,this.nameSpan=l,this.isVoid=u,this.comments=f}visit(e,t){return e.visitElement(this,t)}},ta=class{constructor(e,t){n(this,`value`,void 0),n(this,`sourceSpan`,void 0),n(this,`kind`,`comment`),this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}},na=class{constructor(e,t){n(this,`value`,void 0),n(this,`sourceSpan`,void 0),n(this,`kind`,`docType`),this.value=e,this.sourceSpan=t}visit(e,t){return e.visitDocType(this,t)}},q=class extends G{constructor(e,t,r,i,a,o,s=null,c){((...e)=>(super(...e),n(this,`name`,void 0),n(this,`parameters`,void 0),n(this,`children`,void 0),n(this,`nameSpan`,void 0),n(this,`startSourceSpan`,void 0),n(this,`endSourceSpan`,void 0),n(this,`kind`,`block`),this))(i,c),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=o,this.endSourceSpan=s}visit(e,t){return e.visitBlock(this,t)}},J=class extends G{constructor(e,t,r,i,a,o,s,c,l,u=null,d,f=[]){((...e)=>(super(...e),n(this,`componentName`,void 0),n(this,`tagName`,void 0),n(this,`fullName`,void 0),n(this,`attrs`,void 0),n(this,`directives`,void 0),n(this,`children`,void 0),n(this,`isSelfClosing`,void 0),n(this,`startSourceSpan`,void 0),n(this,`endSourceSpan`,void 0),n(this,`comments`,void 0),n(this,`kind`,`component`),this))(c,d),this.componentName=e,this.tagName=t,this.fullName=r,this.attrs=i,this.directives=a,this.children=o,this.isSelfClosing=s,this.startSourceSpan=l,this.endSourceSpan=u,this.comments=f}visit(e,t){return e.visitComponent(this,t)}},ra=class{constructor(e,t,r,i,a=null){n(this,`name`,void 0),n(this,`attrs`,void 0),n(this,`sourceSpan`,void 0),n(this,`startSourceSpan`,void 0),n(this,`endSourceSpan`,void 0),n(this,`kind`,`directive`),this.name=e,this.attrs=t,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=a}visit(e,t){return e.visitDirective(this,t)}},ia=class{constructor(e,t){n(this,`expression`,void 0),n(this,`sourceSpan`,void 0),n(this,`kind`,`blockParameter`),n(this,`startSourceSpan`,null),n(this,`endSourceSpan`,null),this.expression=e,this.sourceSpan=t}visit(e,t){return e.visitBlockParameter(this,t)}},aa=class{constructor(e,t,r,i,a){n(this,`name`,void 0),n(this,`value`,void 0),n(this,`sourceSpan`,void 0),n(this,`nameSpan`,void 0),n(this,`valueSpan`,void 0),n(this,`kind`,`letDeclaration`),n(this,`startSourceSpan`,null),n(this,`endSourceSpan`,null),this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=i,this.valueSpan=a}visit(e,t){return e.visitLetDeclaration(this,t)}};function oa(e,t,n=null){let r=[],i=e.visit?t=>e.visit(t,n)||t.visit(e,n):t=>t.visit(e,n);return t.forEach(e=>{let t=i(e);t&&r.push(t)}),r}var sa=class{constructor(){}visitElement(e,t){this.visitChildren(t,t=>{t(e.attrs),t(e.directives),t(e.comments),t(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,t=>{t(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,t=>{t(e.parameters),t(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitComponent(e,t){this.visitChildren(t,t=>{t(e.attrs),t(e.comments),t(e.children)})}visitDirective(e,t){this.visitChildren(t,t=>{t(e.attrs)})}visitChildren(e,t){let n=[],r=this;function i(t){t&&n.push(oa(r,t,e))}return t(i),Array.prototype.concat.apply([],n)}};function ca(e){return e>=9&&e<=32||e==160}function la(e){return 48<=e&&e<=57}function ua(e){return e>=97&&e<=122||e>=65&&e<=90}function da(e){return e>=97&&e<=102||e>=65&&e<=70||la(e)}function fa(e){return e===10||e===13}function pa(e){return 48<=e&&e<=55}function ma(e){return e===39||e===34||e===96}var ha={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:`\xA0`,nbsp:`\xA0`,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:`‌`};ha.ngsp=``;var ga=class{constructor(e,t,r){n(this,`tokens`,void 0),n(this,`errors`,void 0),n(this,`nonNormalizedIcuExpressions`,void 0),this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}};function _a(e,t,n,r={}){let i=new Ta(new qi(e,t),n,r);return i.tokenize(),new ga(La(i.tokens),i.errors,i.nonNormalizedIcuExpressions)}var va=/\r\n?/g;function Y(e){return`Unexpected character "${e===0?`EOF`:String.fromCharCode(e)}"`}function ya(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}function ba(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}var xa=[`@if`,`@else`,`@for`,`@switch`,`@case`,`@default`,`@empty`,`@defer`,`@placeholder`,`@loading`,`@error`,`@content`],Sa={start:`{{`,end:`}}`},Ca=/^default[^\S\r\n]+never/,wa=/^else[^\S\r\n]+if/,Ta=class{constructor(e,t,r){n(this,`_getTagContentType`,void 0),n(this,`_cursor`,void 0),n(this,`_tokenizeIcu`,void 0),n(this,`_leadingTriviaCodePoints`,void 0),n(this,`_canSelfClose`,void 0),n(this,`_allowHtmComponentClosingTags`,void 0),n(this,`_allowStartTagComments`,void 0),n(this,`_currentTokenStart`,null),n(this,`_currentTokenType`,null),n(this,`_expansionCaseStack`,[]),n(this,`_openDirectiveCount`,0),n(this,`_inInterpolation`,!1),n(this,`_preserveLineEndings`,void 0),n(this,`_i18nNormalizeLineEndingsInICUs`,void 0),n(this,`_fullNameStack`,[]),n(this,`_tokenizeBlocks`,void 0),n(this,`_tokenizeLet`,void 0),n(this,`_selectorlessEnabled`,void 0),n(this,`tokens`,[]),n(this,`errors`,[]),n(this,`nonNormalizedIcuExpressions`,[]),this._getTagContentType=t,this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(e=>e.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1,this._allowStartTagComments=r.allowStartTagComments??!0;let i=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new za(e,i):new Ra(e,i),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(e){this.handleError(e)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(va,`
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(e){this.handleError(e)}}this._beginToken(43),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();this._attemptCharCodeUntilFn(t=>ca(t)?!e:!Ma(t)||(e=!0,!1));let n=this._cursor.getChars(t).trim();return wa.test(n)?n=`else if`:Ca.test(n)&&(n=`default never`),n}_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(X),this._attemptCharCode(41))this._attemptCharCodeUntilFn(X);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(Na);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(29);let e=this._cursor.clone(),t=null,n=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let e=this._cursor.peek();if(e===92)this._cursor.advance();else if(e===t)t=null;else if(t===null&&ma(e))t=e;else if(e===40&&t===null)n++;else if(e===41&&t===null){if(n===0)break;n>0&&n--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Na)}}_consumeLetDeclaration(e){if(this._requireStr(`@let`),this._beginToken(31,e),ca(this._cursor.peek()))this._attemptCharCodeUntilFn(X);else{let t=this._endToken([this._cursor.getChars(e)]);t.type=34;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(X),!this._attemptCharCode(61)){t.type=34;return}this._attemptCharCodeUntilFn(e=>X(e)&&!fa(e)),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(e=>ua(e)||e===36||e===95||t&&la(e)?(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 e=this._cursor.peek();if(e===59)break;ma(e)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(t=>t===92?(this._cursor.advance(),!1):t===e)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(ka(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 W(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 W(this._cursor.getSpan(this._currentTokenStart),`Programming error - attempted to end a token which has no token type`);let n={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let n=new W(t,e);return this._currentTokenStart=null,this._currentTokenType=null,n}handleError(e){if(e instanceof Ba&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof W)this.errors.push(e);else throw e}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return Aa(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Y(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let n=this._cursor.clone();for(let r=0;r<t;r++)if(!this._attemptCharCode(e.charCodeAt(r)))return this._cursor=n,!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(Y(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(Y(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let n=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(n)<t)throw this._createError(Y(this._cursor.peek()),this._cursor.getSpan(n))}_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 n=this._cursor.clone();for(let r=0;r<t;r++){if(n.peek()!==e.charCodeAt(r))return!1;n.advance()}return!0}_isBlockStart(){return this._cursor.peek()===64&&xa.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 e=this._attemptCharCode(120)||this._attemptCharCode(88),n=this._cursor.clone();if(this._attemptCharCodeUntilFn(Da),this._cursor.peek()!=59){this._cursor.advance();let n=e?`hexadecimal`:`decimal`;throw this._createError(ba(n,this._cursor.getChars(t)),this._cursor.getSpan())}let r=this._cursor.getChars(n);this._cursor.advance();try{let n=parseInt(r,e?16:10);this._endToken([String.fromCodePoint(n),this._cursor.getChars(t)])}catch{throw this._createError(ya(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let n=this._cursor.clone();if(this._attemptCharCodeUntilFn(Oa),this._cursor.peek()!=59)this._beginToken(e,t),this._cursor=n,this._endToken([`&`]);else{let e=this._cursor.getChars(n);this._cursor.advance();let r=ha.hasOwnProperty(e)&&ha[e];if(!r)throw this._createError(ya(e),this._cursor.getSpan(t));this._endToken([r,`&${e};`])}}}_consumeRawText(e,t){this._beginToken(e?6:7);let n=[];for(;;){let r=this._cursor.clone(),i=t();if(this._cursor=r,i)break;e&&this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(n.join(``))]),n.length=0,this._consumeEntity(6),this._beginToken(6)):n.push(this._readChar())}this._endToken([this._processCarriageReturns(n.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(),n=``;for(;this._cursor.peek()!==58&&!Ea(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(n=this._cursor.getChars(t),this._cursor.advance(),r=this._cursor.clone()):r=t,this._requireCharCodeUntilFn(e,n===``?0:1);let i=this._cursor.getChars(r);return[n,i]}_consumeSingleLineComment(e){let t=this._cursor.clone();this._attemptCharCodeUntilFn(e=>fa(e)||e===0);let n=this._cursor.clone(),r=n.getChars(t);this._beginToken(12,e),this._endToken([r,`single`],n),this._attemptCharCodeUntilFn(X)}_consumeMultiLineComment(e){let t=this._cursor.clone();this._attemptCharCodeUntilFn(e=>{if(e===0)return!0;if(e===42){let e=this._cursor.clone();return e.advance(),e.peek()===47}return!1});let n=this._cursor.clone(),r=n.getChars(t),i=n;this._attemptStr(`*/`)&&(i=this._cursor.clone(),this._attemptCharCodeUntilFn(X)),this._beginToken(12,e),this._endToken([r,`multi`],i)}_consumeTagOpen(e){let t,n,r,i,a=[];try{if(this._selectorlessEnabled&&Pa(this._cursor.peek()))i=this._consumeComponentOpenStart(e),[r,n,t]=i.parts,n&&(r+=`:${n}`),t&&(r+=`:${t}`),this._attemptCharCodeUntilFn(X);else{if(!ua(this._cursor.peek()))throw this._createError(Y(this._cursor.peek()),this._cursor.getSpan(e));i=this._consumeTagOpenStart(e),n=i.parts[0],t=r=i.parts[1],this._attemptCharCodeUntilFn(X)}for(;;){if(this._allowStartTagComments){let e=this._cursor.clone();if(this._attemptStr(`//`)){this._consumeSingleLineComment(e);continue}if(this._attemptStr(`/*`)){this._consumeMultiLineComment(e);continue}}if(Ia(this._cursor.peek()))break;if(this._selectorlessEnabled&&this._cursor.peek()===64){let e=this._cursor.clone(),t=e.clone();t.advance(),Pa(t.peek())&&this._consumeDirective(e,t)}else{let e=this._consumeAttribute();a.push(e)}}i.type===35?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(t){if(t instanceof W){i?i.type=i.type===35?39:4:(this._beginToken(5,e),this._endToken([`<`]));return}throw t}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let o=this._getTagContentType(t,n,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(n,t),o===0?this._consumeRawTextWithTagClose(n,i,r,!1):o===1&&this._consumeRawTextWithTagClose(n,i,r,!0)}_consumeRawTextWithTagClose(e,t,n,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(X),!this._attemptStrCaseInsensitive(e&&t.type!==35?`${e}:${n}`:n))?!1:(this._attemptCharCodeUntilFn(X),this._attemptCharCode(62))),this._beginToken(t.type===35?38:3),this._requireCharCodeUntilFn(e=>e===62,3),this._cursor.advance(),this._endToken(t.parts),this._handleFullNameStackForTagClose(e,n)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName(Z);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(;Fa(this._cursor.peek());)this._cursor.advance();let t=this._cursor.getChars(e),n=``,r=``;return this._cursor.peek()===58&&(this._cursor.advance(),[n,r]=this._consumePrefixAndName(Z)),[t,n,r]}_consumeAttribute(){let[e,t]=this._consumeAttributeName(),n;return this._attemptCharCodeUntilFn(X),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(X),n=this._consumeAttributeValue()),this._attemptCharCodeUntilFn(X),{prefix:e,name:t,value:n}}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(Y(e),this._cursor.getSpan());this._beginToken(15);let t;if(this._openDirectiveCount>0){let e=0;t=t=>{if(this._openDirectiveCount>0){if(t===40)e++;else if(t===41){if(e===0)return!0;e--}}return Z(t)}}else if(e===91){let e=0;t=t=>(t===91?e++:t===93&&e--,e<=0?Z(t):fa(t))}else t=Z;let n=this._consumePrefixAndName(t);return this._endToken(n),n}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let n=()=>this._cursor.peek()===t;e=this._consumeWithInterpolation(17,18,n,n),this._consumeQuote(t)}else{let t=()=>Z(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&&!Pa(t.peek());)t.advance();if(Pa(t.peek())){this._beginToken(38,e);let t=this._consumeComponentName();this._attemptCharCodeUntilFn(X),this._requireCharCode(62),this._endToken(t);return}}if(this._beginToken(3,e),this._attemptCharCodeUntilFn(X),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(X),this._requireCharCode(62),this._endToken([]);else{let[e,t]=this._consumePrefixAndName(Z);this._attemptCharCodeUntilFn(X),this._requireCharCode(62),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_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(X),this._beginToken(7);let n=this._readUntil(44);this._endToken([n]),this._requireCharCode(44),this._attemptCharCodeUntilFn(X)}_consumeExpansionCaseStart(){this._beginToken(22);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(X),this._beginToken(23),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(X),this._expansionCaseStack.push(23)}_consumeExpansionCaseEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(X),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(25),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,n,r){this._beginToken(e);let i=[];for(;!n();){let n=this._cursor.clone();this._attemptStr(Sa.start)?(this._endToken([this._processCarriageReturns(i.join(``))],n),i.length=0,this._consumeInterpolation(t,n,r),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(i.join(``))]),i.length=0,this._consumeEntity(e),this._beginToken(e)):i.push(this._readChar())}this._inInterpolation=!1;let a=this._processCarriageReturns(i.join(``));return this._endToken([a]),a}_consumeInterpolation(e,t,n){let r=[];this._beginToken(e,t),r.push(Sa.start);let i=this._cursor.clone(),a=null,o=!1;for(;this._cursor.peek()!==0&&(n===null||!n());){let e=this._cursor.clone();if(this._isTagStart()){this._cursor=e,r.push(this._getProcessedChars(i,e)),this._endToken(r);return}if(a===null)if(this._attemptStr(Sa.end)){r.push(this._getProcessedChars(i,e)),r.push(Sa.end),this._endToken(r);return}else this._attemptStr(`//`)&&(o=!0);let t=this._cursor.peek();this._cursor.advance(),t===92?this._cursor.advance():t===a?a=null:!o&&a===null&&ma(t)&&(a=t)}r.push(this._getProcessedChars(i,this._cursor)),this._endToken(r)}_consumeDirective(e,t){for(this._requireCharCode(64),this._cursor.advance();Fa(this._cursor.peek());)this._cursor.advance();this._beginToken(40,e);let n=this._cursor.getChars(t);if(this._endToken([n]),this._attemptCharCodeUntilFn(X),this._cursor.peek()===40){for(this._openDirectiveCount++,this._beginToken(41),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(X);!Ia(this._cursor.peek())&&this._cursor.peek()!==41;)this._consumeAttribute();if(this._attemptCharCodeUntilFn(X),this._openDirectiveCount--,this._cursor.peek()!==41){if(this._cursor.peek()===62||this._cursor.peek()===47)return;throw this._createError(Y(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(42),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(X)}}_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(Sa.start);return this._cursor=e,!t}_handleFullNameStackForTagOpen(e,t){let n=Si(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===n)&&this._fullNameStack.push(n)}_handleFullNameStackForTagClose(e,t){let n=Si(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===n&&this._fullNameStack.pop()}};function X(e){return!ca(e)||e===0}function Z(e){return ca(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function Ea(e){return(e<97||122<e)&&(e<65||90<e)&&(e<48||e>57)}function Da(e){return e===59||e===0||!da(e)}function Oa(e){return e===59||e===0||!(ua(e)||la(e))}function ka(e){return e!==125}function Aa(e,t){return ja(e)===ja(t)}function ja(e){return e>=97&&e<=122?e-97+65:e}function Ma(e){return ua(e)||la(e)||e===95}function Na(e){return e!==59&&X(e)}function Pa(e){return e===95||e>=65&&e<=90}function Fa(e){return ua(e)||la(e)||e===95}function Ia(e){return e===47||e===62||e===60||e===0}function La(e){let t=[],n;for(let r=0;r<e.length;r++){let i=e[r];n&&n.type===5&&i.type===5||n&&n.type===17&&i.type===17?(n.parts[0]+=i.parts[0],n.sourceSpan.end=i.sourceSpan.end):(n=i,t.push(n))}return t}var Ra=class e{constructor(t,r){if(n(this,`state`,void 0),n(this,`file`,void 0),n(this,`input`,void 0),n(this,`end`,void 0),t instanceof e){this.file=t.file,this.input=t.input,this.end=t.end;let e=t.state;this.state={peek:e.peek,offset:e.offset,line:e.line,column:e.column}}else{if(!r)throw 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 e(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let n=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)n===e&&(e=e.clone()),e.advance();let r=this.locationFromCursor(e);return new U(r,this.locationFromCursor(this),n===e?r:this.locationFromCursor(n))}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Ba(`Unexpected character "EOF"`,this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):fa(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Ki(e.file,e.state.offset,e.state.line,e.state.column)}},za=class e extends Ra{constructor(t,r){var i=(...e)=>(super(...e),n(this,`internalState`,void 0),this);t instanceof e?(i(t),this.internalState={...t.internalState}):(i(t,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new e(this)}getChars(e){let t=e.clone(),n=``;for(;t.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(t.peek()),t.advance();return n}processEscapeSequence(){let e=()=>this.internalState.peek;if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),n=0;for(;e()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(t,n)}else{let e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(e()===120){this.advanceState(this.internalState);let e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(pa(e())){let t=``,n=0,r=this.clone();for(;pa(e())&&n<3;)r=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(t,8),this.internalState=r.internalState}else fa(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let n=this.input.slice(e.internalState.offset,e.internalState.offset+t),r=parseInt(n,16);if(isNaN(r))throw e.state=e.internalState,new Ba(`Invalid hexadecimal escape sequence`,e);return r}},Ba=class extends Error{constructor(e,t){((...e)=>(super(...e),n(this,`msg`,void 0),n(this,`cursor`,void 0),this))(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}},Q=class e extends W{static create(t,n,r){return new e(t,n,r)}constructor(e,t,r){((...e)=>(super(...e),n(this,`elementName`,void 0),this))(t,r),this.elementName=e}},Va=class{constructor(e,t){n(this,`rootNodes`,void 0),n(this,`errors`,void 0),this.rootNodes=e,this.errors=t}},Ha=class{constructor(e){n(this,`getTagDefinition`,void 0),this.getTagDefinition=e}parse(e,t,n,r=!1,i){let a=e=>(t,...n)=>e(t.toLowerCase(),...n),o=r?this.getTagDefinition:a(this.getTagDefinition),s=e=>o(e).getContentType(),c=r?i:a(i),l=_a(e,t,i?(e,t,n,r)=>{let i=c(e,t,n,r);return i===void 0?s(e):i}:s,n),u=n&&n.canSelfClose||!1,d=n&&n.allowHtmComponentClosingTags||!1,f=new Ua(l.tokens,o,u,d,r);return f.build(),new Va(f.rootNodes,[...l.errors,...f.errors])}},Ua=class e{constructor(e,t,r,i,a){n(this,`tokens`,void 0),n(this,`tagDefinitionResolver`,void 0),n(this,`canSelfClose`,void 0),n(this,`allowHtmComponentClosingTags`,void 0),n(this,`isTagNameCaseSensitive`,void 0),n(this,`_index`,-1),n(this,`_peek`,void 0),n(this,`_containerStack`,[]),n(this,`rootNodes`,[]),n(this,`errors`,[]),this.tokens=e,this.tagDefinitionResolver=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=i,this.isTagNameCaseSensitive=a,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 e of this._containerStack)e instanceof q&&this.errors.push(Q.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){let t=this._advance(),n=this._getText(t),r=this._advanceIf(14);this._addToParent(new Xi(n,new U(e.sourceSpan.start,(r||t).sourceSpan.end),[t]))}_consumeComment(e){let t=this._advanceIf(7),n=this._advanceIf(11),r=t==null?null:t.parts[0].trim(),i=n==null?e.sourceSpan:new U(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new ta(r,i))}_consumeDocType(e){let t=this._advanceIf(7),n=this._advanceIf(20),r=t==null?null:t.parts[0].trim(),i=new U(e.sourceSpan.start,(n||t||e).sourceSpan.end);this._addToParent(new na(r,i))}_consumeExpansion(e){let t=this._advance(),n=this._advance(),r=[];for(;this._peek.type===22;){let e=this._parseExpansionCase();if(!e)return;r.push(e)}if(this._peek.type!==25){this.errors.push(Q.create(null,this._peek.sourceSpan,`Invalid ICU message. Missing '}'.`));return}let i=new U(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new Zi(t.parts[0],n.parts[0],r,i,t.sourceSpan)),this._advance()}_parseExpansionCase(){let t=this._advance();if(this._peek.type!==23)return this.errors.push(Q.create(null,this._peek.sourceSpan,`Invalid ICU message. Missing '{'.`)),null;let n=this._advance(),r=this._collectExpansionExpTokens(n);if(!r)return null;let i=this._advance();r.push({type:43,parts:[],sourceSpan:i.sourceSpan});let a=new e(r,this.tagDefinitionResolver,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(a.build(),a.errors.length>0)return this.errors=this.errors.concat(a.errors),null;let o=new U(t.sourceSpan.start,i.sourceSpan.end,t.sourceSpan.fullStart),s=new U(n.sourceSpan.start,i.sourceSpan.end,n.sourceSpan.fullStart);return new Qi(t.parts[0],a.rootNodes,o,t.sourceSpan,s)}_collectExpansionExpTokens(e){let t=[],n=[23];for(;;){if((this._peek.type===21||this._peek.type===23)&&n.push(this._peek.type),this._peek.type===24)if(Wa(n,23)){if(n.pop(),n.length===0)return t}else return this.errors.push(Q.create(null,e.sourceSpan,`Invalid ICU message. Missing '}'.`)),null;if(this._peek.type===25)if(Wa(n,21))n.pop();else return this.errors.push(Q.create(null,e.sourceSpan,`Invalid ICU message. Missing '}'.`)),null;if(this._peek.type===43)return this.errors.push(Q.create(null,e.sourceSpan,`Invalid ICU message. Missing '}'.`)),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==`
23
23
  `){var n;let e=this._getClosestElementLikeParent();e!=null&&e.children.length==0&&(n=this._getTagDefinition(e))!=null&&n.ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],n=e.sourceSpan,r=e.parts[0];if(r.length>0&&r[0]===`
24
24
  `){var i;let n=this._getContainer();n!=null&&n.children.length===0&&(i=this._getTagDefinition(n))!=null&&i.ignoreFirstLf&&(r=r.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[r]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?r+=e.parts.join(``).replace(/&([^;]+);/g,Ga):e.type===9?r+=e.parts[0]:r+=e.parts.join(``);if(r.length>0){let i=e.sourceSpan;this._addToParent(new Yi(r,new U(n.start,i.end,n.fullStart,n.details),t))}}_closeVoidElement(){var e;let t=this._getContainer();t!==null&&(e=this._getTagDefinition(t))!=null&&e.isVoid&&this._containerStack.pop()}_consumeElementStartTag(e){var t;let n=[],r=[],i=[];this._consumeAttributesAndDirectives(n,r,i);let a=this._getElementFullName(e,this._getClosestElementLikeParent()),o=this._getTagDefinition(a),s=!1;if(this._peek.type===2){this._advance(),s=!0;let t=this._getTagDefinition(a);this.canSelfClose||t?.canSelfClose||xi(a)!==null||t?.isVoid||this.errors.push(Q.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),s=!1);let c=this._peek.sourceSpan.fullStart,l=new U(e.sourceSpan.start,c,e.sourceSpan.fullStart),u=new U(e.sourceSpan.start,c,e.sourceSpan.fullStart),d=new U(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),f=new K(a,n,r,[],s,l,u,void 0,d,o?.isVoid??!1,void 0,i),p=this._getContainer(),m=p!==null&&!!((t=this._getTagDefinition(p))!=null&&t.isClosedByChild(f.name));this._pushContainer(f,m),s?this._popContainer(a,K,l):e.type===4&&(this._popContainer(a,K,null),this.errors.push(Q.create(a,l,`Opening tag "${a}" not terminated.`)))}_consumeComponentStartTag(e){var t;let n=e.parts[0],r=[],i=[],a=[];this._consumeAttributesAndDirectives(r,i,a);let o=this._getClosestElementLikeParent(),s=this._getComponentTagName(e,o),c=this._getComponentFullName(e,o),l=this._peek.type===37;this._advance();let u=this._peek.sourceSpan.fullStart,d=new U(e.sourceSpan.start,u,e.sourceSpan.fullStart),f=new J(n,s,c,r,i,[],l,d,new U(e.sourceSpan.start,u,e.sourceSpan.fullStart),void 0,void 0,a),p=this._getContainer(),m=p!==null&&f.tagName!==null&&!!((t=this._getTagDefinition(p))!=null&&t.isClosedByChild(f.tagName));this._pushContainer(f,m),l?this._popContainer(c,J,d):e.type===39&&(this._popContainer(c,J,null),this.errors.push(Q.create(c,d,`Opening tag "${c}" not terminated.`)))}_consumeAttributesAndDirectives(e,t,n){for(;this._peek.type===15||this._peek.type===40||this._peek.type===12;)if(this._peek.type===40)t.push(this._consumeDirective(this._peek));else if(this._peek.type===15)e.push(this._consumeAttr(this._advance()));else{let e=this._advance();n.push(new ea(e.parts[0],e.parts[1],e.sourceSpan))}}_consumeComponentEndTag(e){let t=this._getComponentFullName(e,this._getClosestElementLikeParent());if(!this._popContainer(t,J,e.sourceSpan)){let n=this._containerStack[this._containerStack.length-1],r;r=n instanceof J&&n.componentName===e.parts[0]?`, did you mean "${n.fullName}"?`:`. It may happen when the tag has already been closed by another tag.`;let i=`Unexpected closing tag "${t}"${r}`;this.errors.push(Q.create(t,e.sourceSpan,i))}}_getTagDefinition(e){return typeof e==`string`?this.tagDefinitionResolver(e):e instanceof K?this.tagDefinitionResolver(e.name):e instanceof J&&e.tagName!==null?this.tagDefinitionResolver(e.tagName):null}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeElementEndTag(e){var t;let n=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e,this._getClosestElementLikeParent());if(n&&(t=this._getTagDefinition(n))!=null&&t.isVoid)this.errors.push(Q.create(n,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(n,K,e.sourceSpan)){let t=`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(Q.create(n,e.sourceSpan,t))}}_popContainer(e,t,n){let r=!1;for(let a=this._containerStack.length-1;a>=0;a--){var i;let o=this._containerStack[a],s=o instanceof J?o.fullName:o.name;if(xi(s)?s===e:(s===e||e===null)&&o instanceof t)return o.endSourceSpan=n,o.sourceSpan.end=n===null?o.sourceSpan.end:n.end,this._containerStack.splice(a,this._containerStack.length-a),!r;(o instanceof q||!((i=this._getTagDefinition(o))!=null&&i.closedByParent))&&(r=!0)}return!1}_consumeAttr(e){let t=Si(e.parts[0],e.parts[1]),n=e.sourceSpan.end,r;this._peek.type===16&&(r=this._advance());let i=``,a=[],o,s;if(this._peek.type===17)for(o=this._peek.sourceSpan,s=this._peek.sourceSpan.end;this._peek.type===17||this._peek.type===18||this._peek.type===9;){let e=this._advance();a.push(e),e.type===18?i+=e.parts.join(``).replace(/&([^;]+);/g,Ga):e.type===9?i+=e.parts[0]:i+=e.parts.join(``),s=n=e.sourceSpan.end}this._peek.type===16&&(s=n=this._advance().sourceSpan.end);let c=o&&s&&new U(r?.sourceSpan.start??o.start,s,r?.sourceSpan.fullStart??o.fullStart);return new $i(t,i,new U(e.sourceSpan.start,n,e.sourceSpan.fullStart),e.sourceSpan,c,a.length>0?a:void 0,void 0)}_consumeDirective(e){let t=[],n=e.sourceSpan.end,r=null;if(this._advance(),this._peek.type===41){for(n=this._peek.sourceSpan.end,this._advance();this._peek.type===15;)t.push(this._consumeAttr(this._advance()));this._peek.type===42?(r=this._peek.sourceSpan,this._advance()):this.errors.push(Q.create(null,e.sourceSpan,`Unterminated directive definition`))}let i=new U(e.sourceSpan.start,n,e.sourceSpan.fullStart),a=new U(i.start,r===null?e.sourceSpan.end:r.end,i.fullStart);return new ra(e.parts[0],t,a,i,r)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===29;){let e=this._advance();t.push(new ia(e.parts[0],e.sourceSpan))}this._peek.type===27&&this._advance();let n=this._peek.sourceSpan.fullStart,r=new U(e.sourceSpan.start,n,e.sourceSpan.fullStart),i=new U(e.sourceSpan.start,n,e.sourceSpan.fullStart),a=new q(e.parts[0],t,[],r,e.sourceSpan,i);this._pushContainer(a,!1)}_consumeBlockClose(e){let t=this._containerStack.length,n=this._containerStack[t-1];if(!this._popContainer(null,q,e.sourceSpan)){if(this._containerStack.length<t){let t=n instanceof J?n.fullName:n.name;this.errors.push(Q.create(null,e.sourceSpan,`Unexpected closing block. The block may have been closed earlier. Did you forget to close the <${t}> element? If you meant to write the \`}\` character, you should use the "&#125;" HTML entity instead.`));return}this.errors.push(Q.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the `}` character, you should use the "&#125;" HTML entity instead.'))}}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===29;){let e=this._advance();t.push(new ia(e.parts[0],e.sourceSpan))}let n=this._peek.sourceSpan.fullStart,r=new U(e.sourceSpan.start,n,e.sourceSpan.fullStart),i=new U(e.sourceSpan.start,n,e.sourceSpan.fullStart),a=new q(e.parts[0],t,[],r,e.sourceSpan,i);this._pushContainer(a,!1),this._popContainer(null,q,null),this.errors.push(Q.create(e.parts[0],r,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],n,r;if(this._peek.type!==32){this.errors.push(Q.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}if(n=this._advance(),this._peek.type!==33){this.errors.push(Q.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}r=this._advance();let i=r.sourceSpan.end,a=new U(e.sourceSpan.start,i,e.sourceSpan.fullStart),o=e.sourceSpan.toString().lastIndexOf(t),s=new U(e.sourceSpan.start.moveBy(o),e.sourceSpan.end),c=new aa(t,n.parts[0],a,s,n.sourceSpan);this._addToParent(c)}_consumeIncompleteLet(e){let t=e.parts[0]??``,n=t?` "${t}"`:``;if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),r=new U(e.sourceSpan.start.moveBy(n),e.sourceSpan.end),i=new U(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),a=new aa(t,``,e.sourceSpan,r,i);this._addToParent(a)}this.errors.push(Q.create(e.parts[0],e.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 e=this._containerStack.length-1;e>-1;e--){let t=this._containerStack[e];if(t instanceof K||t instanceof J)return t}return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t){return Si(this._getPrefix(e,t),e.parts[1])}_getComponentFullName(e,t){let n=e.parts[0],r=this._getComponentTagName(e,t);return r===null?n:r.startsWith(`:`)?n+r:`${n}:${r}`}_getComponentTagName(e,t){let n=this._getPrefix(e,t),r=e.parts[2];return!n&&!r?null:!n&&r?r:Si(n,r||`ng-component`)}_getPrefix(e,t){let n,r;if(e.type===35||e.type===39||e.type===38?(n=e.parts[1],r=e.parts[2]):(n=e.parts[0],r=e.parts[1]),n=n||this._getTagDefinition(r)?.implicitNamespacePrefix||``,!n&&t){let e=t instanceof K?t.name:t.tagName;if(e!==null){let t=B(e)[1],r=this._getTagDefinition(t);r!==null&&!r.preventNamespaceInheritance&&(n=xi(e))}}return n}};function Wa(e,t){return e.length>0&&e[e.length-1]===t}function Ga(e,t){return ha[t]===void 0?/^#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:ha[t]||e}var Ka=class extends Ha{constructor(){super(Gi)}parse(e,t,n,r=!1,i){return super.parse(e,t,n,r,i)}},qa;function Ja(e,t={}){let{canSelfClose:n=!1,allowHtmComponentClosingTags:r=!1,allowStartTagComments:i=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:s=!1,tokenizeAngularLetDeclaration:c=!1,enableAngularSelectorlessSyntax:l=!1}=t;return qa??(qa=new Ka),qa.parse(e,`angular-html-parser`,{tokenizeExpansionForms:s,canSelfClose:n,allowHtmComponentClosingTags:r,allowStartTagComments:i,tokenizeBlocks:s,tokenizeLet:c,selectorlessEnabled:l},a,o)}var Ya=[Za,Qa,eo,no,ro,oo,io,ao,so,to];function Xa(e,t){for(let n of Ya)n(e,t);return e}function Za(e){e.walk(e=>{if(e.kind===`element`&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&e.children[0].kind===`text`&&e.children[0].value[0]===`
25
25
  `){let t=e.children[0];t.value.length===1?e.removeChild(t):t.value=t.value.slice(1)}})}function Qa(e){let t=e=>e.kind===`element`&&e.prev?.kind===`ieConditionalStartComment`&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild?.kind===`ieConditionalEndComment`&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk(e=>{if(e.children)for(let n=0;n<e.children.length;n++){let r=e.children[n];if(!t(r))continue;let i=r.prev,a=r.firstChild;e.removeChild(i),n--;let o=new U(i.sourceSpan.start,a.sourceSpan.end),s=new U(o.start,r.sourceSpan.end);r.condition=i.condition,r.sourceSpan=s,r.startSourceSpan=o,r.removeChild(a)}})}function $a(e,t,n){e.walk(e=>{if(e.children)for(let r=0;r<e.children.length;r++){let i=e.children[r];if(i.kind!==`text`&&!t(i))continue;i.kind!==`text`&&(i.kind=`text`,i.value=n(i));let a=i.prev;!a||a.kind!==`text`||(a.value+=i.value,a.sourceSpan=new U(a.sourceSpan.start,i.sourceSpan.end),e.removeChild(i),r--)}})}function eo(e){return $a(e,e=>e.kind===`cdata`,e=>`<![CDATA[${e.value}]]>`)}function to(e){let t=e=>e.kind===`element`&&e.attrs.length===0&&!ct(e.startTagComments)&&e.children.length===1&&e.firstChild.kind===`text`&&!E.hasWhitespaceCharacter(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev?.kind===`text`&&e.next?.kind===`text`;e.walk(e=>{if(e.children)for(let n=0;n<e.children.length;n++){let r=e.children[n];if(!t(r))continue;let i=r.prev,a=r.next;i.value+=`<${r.rawName}>`+r.firstChild.value+`</${r.rawName}>`+a.value,i.sourceSpan=new U(i.sourceSpan.start,a.sourceSpan.end),i.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,i.hasTrailingSpaces=a.hasTrailingSpaces,e.removeChild(r),n--,e.removeChild(a)}})}function no(e,t){if(t.parser===`html`)return;let n=/\{\{(.+?)\}\}/s;e.walk(e=>{if(It(e,t))for(let t of e.children){if(t.kind!==`text`)continue;let r=t.sourceSpan.start,i,a=t.value.split(n);for(let n=0;n<a.length;n++,r=i){let o=a[n];if(n%2==0){i=r.moveBy(o.length),o.length>0&&e.insertChildBefore(t,{kind:`text`,value:o,sourceSpan:new U(r,i)});continue}i=r.moveBy(o.length+4),e.insertChildBefore(t,{kind:`interpolation`,sourceSpan:new U(r,i),children:o.length===0?[]:[{kind:`text`,value:o,sourceSpan:new U(r.moveBy(2),i.moveBy(-2))}]})}e.removeChild(t)}})}function ro(e,t){e.walk(e=>{let n=e.$children;if(!n)return;if(n.length===0||n.length===1&&n[0].kind===`text`&&E.trim(n[0].value).length===0){e.hasDanglingSpaces=n.length>0,e.$children=[];return}let r=Lt(e,t),i=Rt(e);if(!r)for(let t=0;t<n.length;t++){let r=n[t];if(r.kind!==`text`)continue;let{leadingWhitespace:i,text:a,trailingWhitespace:o}=Mt(r.value),s=r.prev,c=r.next;a?(r.value=a,r.sourceSpan=new U(r.sourceSpan.start.moveBy(i.length),r.sourceSpan.end.moveBy(-o.length)),i&&(s&&(s.hasTrailingSpaces=!0),r.hasLeadingSpaces=!0),o&&(r.hasTrailingSpaces=!0,c&&(c.hasLeadingSpaces=!0))):(e.removeChild(r),t--,(i||o)&&(s&&(s.hasTrailingSpaces=!0),c&&(c.hasLeadingSpaces=!0)))}e.isWhitespaceSensitive=r,e.isIndentationSensitive=i})}function io(e){e.walk(e=>{e.isSelfClosing=!e.children||e.kind===`element`&&(e.tagDefinition.isVoid||e.endSourceSpan&&e.startSourceSpan.start===e.endSourceSpan.start&&e.startSourceSpan.end===e.endSourceSpan.end)})}function ao(e,t){e.walk(e=>{e.kind===`element`&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))})}function oo(e,t){e.walk(e=>{e.cssDisplay=fn(e,t)})}function so(e,t){e.walk(e=>{let{children:n}=e;if(n){if(n.length===0){e.isDanglingSpaceSensitive=Vt(e,t);return}for(let e of n)e.isLeadingSpaceSensitive=zt(e,t),e.isTrailingSpaceSensitive=Bt(e,t);for(let e=0;e<n.length;e++){let t=n[e];t.isLeadingSpaceSensitive=(e===0||t.prev.isTrailingSpaceSensitive)&&t.isLeadingSpaceSensitive,t.isTrailingSpaceSensitive=(e===n.length-1||t.next.isLeadingSpaceSensitive)&&t.isTrailingSpaceSensitive}}})}var co=Xa;function lo(e,t,n){let{node:r}=e;switch(r.kind){case`root`:return t.__onHtmlRoot&&t.__onHtmlRoot(r),[x(oi(e,t,n)),T];case`element`:case`ieConditionalComment`:return gi(e,t,n);case`angularControlFlowBlock`:return si(e,t,n);case`angularControlFlowBlockParameters`:return pi(e,t,n);case`angularControlFlowBlockParameter`:return E.trim(r.expression);case`angularLetDeclaration`:return x([`@let `,x([r.id,` =`,x(b([C,n(`init`)]))]),`;`]);case`angularLetDeclarationInitializer`:return r.value;case`angularIcuExpression`:return mi(e,t,n);case`angularIcuCase`:return hi(e,t,n);case`ieConditionalStartComment`:case`ieConditionalEndComment`:return[Ar(r),vr(r)];case`interpolation`:return[Ar(r,t),...e.map(n,`children`),vr(r,t)];case`text`:{if(r.parent.kind===`interpolation`){let e=/\n[^\S\n]*$/,t=e.test(r.value);return[v(t?r.value.replace(e,``):r.value),t?T:``]}let e=z(r,t),n=bn(r),i=I(r,t);return n[0]=[e,n[0]],n.push([n.pop(),i]),Pe(n)}case`docType`:return[x([Ar(r,t),` `,h(0,r.value.replace(/^html\b/i,`html`),/\s+/g,` `)]),vr(r,t)];case`comment`:return[z(r,t),v(t.originalText.slice(F(r),hr(r))),I(r,t)];case`attribute`:{if(r.value===null)return r.rawName;let e=mn(r.value),n=Cn(r,t)?``:He(e,`"`);return[r.rawName,`=`,n,v(n===`"`?h(0,e,`"`,`&quot;`):h(0,e,`'`,`&apos;`)),n]}case`startTagComment`:return _i(e);default:throw new Ke(r,`HTML`)}}var uo={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},preprocess:co,print:lo,insertPragma:ti,massageAstNode:Yr,embed:Rr,getVisitorKeys:Kr},fo=[{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}],po={bracketSpacing:{category:`Common`,type:`boolean`,default:!0,description:`Print spaces between brackets.`,oppositeDescription:`Do not print spaces between brackets.`},objectWrap:{category:`Common`,type:`choice`,default:`preserve`,description:`How to wrap object literals.`,choices:[{value:`preserve`,description:`Keep as multi-line, if there is a newline between the opening brace and first property.`},{value:`collapse`,description:`Fit to a single line when possible.`}]},singleQuote:{category:`Common`,type:`boolean`,default:!1,description:`Use single quotes instead of double quotes.`},proseWrap:{category:`Common`,type:`choice`,default:`preserve`,description:`How to wrap prose.`,choices:[{value:`always`,description:`Wrap prose if it exceeds the print width.`},{value:`never`,description:`Do not wrap prose.`},{value:`preserve`,description:`Wrap prose as-is.`}]},bracketSameLine:{category:`Common`,type:`boolean`,default:!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.`}},mo=`HTML`,ho={bracketSameLine:po.bracketSameLine,htmlWhitespaceSensitivity:{category:mo,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:po.singleAttributePerLine,vueIndentScriptAndStyle:{category:mo,type:`boolean`,default:!1,description:`Indent script and style tags in Vue files.`}},go={};d(go,{angular:()=>is,html:()=>ts,lwc:()=>os,mjml:()=>rs,vue:()=>as});function _o(e,t){let n=SyntaxError(e+` (`+t.loc.start.line+`:`+t.loc.start.column+`)`);return Object.assign(n,t)}var vo=_o,yo={canSelfClose:!0,normalizeTagName:!1,normalizeAttributeName:!1,allowHtmComponentClosingTags:!1,allowStartTagComments:!1,isTagNameCaseSensitive:!1,shouldParseFrontMatter:!0};function bo(e){return{...yo,...e}}function xo(e){let{canSelfClose:t,allowHtmComponentClosingTags:n,allowStartTagComments:r,isTagNameCaseSensitive:i,shouldParseAsRawText:a,tokenizeAngularBlocks:o,tokenizeAngularLetDeclaration:s}=e;return{canSelfClose:t,allowHtmComponentClosingTags:n,allowStartTagComments:r,isTagNameCaseSensitive:i,getTagContentType:a?(...e)=>a(...e)?vi.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:o,tokenizeAngularLetDeclaration:s}}var So=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`.split(`.`))],[`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`.split(`.`))],[`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`])]]),Co=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`.split(`.`)),wo={attrs:!0,children:!0,cases:!0,expression:!0},To=new Set([`parent`]),$,Eo,Do,Oo=class e{constructor(e={}){ee(this,$),f(this,`kind`),f(this,`parent`);for(let t of new Set([...To,...Object.keys(e)]))this.setProperty(t,e[t]);if(_t(e))for(let t of Object.getOwnPropertySymbols(e))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in wo&&(t=t.map(e=>this.createChild(e))),!To.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(t){let n;for(let r in wo){let i=this[r];if(i){let a=Ao(i,e=>e.map(t));n!==i&&(n??(n=new e({parent:this.parent})),n.setProperty(r,a))}}if(n)for(let e in this)e in wo||(n[e]=this[e]);return t(n||this)}walk(e){for(let t in wo){let n=this[t];if(n)for(let t=0;t<n.length;t++)n[t].walk(e)}e(this)}createChild(t){let n=t instanceof e?t.clone():new e(t);return n.setProperty(`parent`,this),n}insertChildBefore(e,t){let n=this.$children;n.splice(n.indexOf(e),0,this.createChild(t))}removeChild(e){let t=this.$children;t.splice(t.indexOf(e),1)}replaceChild(e,t){let n=this.$children;n[n.indexOf(e)]=this.createChild(t)}clone(){return new e(this)}get $children(){return this[m(this,$,Eo)]}set $children(e){this[m(this,$,Eo)]=e}get firstChild(){return this.$children?.[0]}get lastChild(){return g(1,this.$children,-1)}get prev(){let e=m(this,$,Do);return e[e.indexOf(this)-1]}get next(){let e=m(this,$,Do);return e[e.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(e=>[e.fullName,e.value]))}};$=new WeakSet,Eo=function(){return this.kind===`angularIcuCase`?`expression`:this.kind===`angularIcuExpression`?`cases`:`children`},Do=function(){return this.parent?.$children??[]};var ko=Oo;function Ao(e,t){let n=e.map(t);return n.some((t,n)=>t!==e[n])?n:e}var jo=[{regex:/^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/s,parse:No},{regex:/^\[if(?<condition>[^\]]*)\]><!$/,parse:Po},{regex:/^<!\s*\[endif\]$/,parse:Fo}];function Mo(e,t){if(e.value)for(let{regex:n,parse:r}of jo){let i=e.value.match(n);if(i)return r(e,i,t)}return null}function No(e,t,n){let{openingTagSuffix:r,condition:i,data:a}=t.groups,o=4+r.length,s=e.sourceSpan.start.moveBy(o),c=s.moveBy(a.length),[l,u]=(()=>{try{return[!0,n(a,s).children]}catch{return[!1,[{kind:`text`,value:a,sourceSpan:new U(s,c)}]]}})();return{kind:`ieConditionalComment`,complete:l,children:u,condition:h(0,i.trim(),/\s+/g,` `),sourceSpan:e.sourceSpan,startSourceSpan:new U(e.sourceSpan.start,s),endSourceSpan:new U(c,e.sourceSpan.end)}}function Po(e,t){let{condition:n}=t.groups;return{kind:`ieConditionalStartComment`,condition:h(0,n.trim(),/\s+/g,` `),sourceSpan:e.sourceSpan}}function Fo(e){return{kind:`ieConditionalEndComment`,sourceSpan:e.sourceSpan}}var Io=class extends sa{visitExpansionCase(e,t){t.parseOptions.name===`angular`&&this.visitChildren(t,t=>{t(e.expression)})}visit(e,{parseOptions:t}){Uo(e),Wo(e,t),Ko(e,t),Go(e)}};function Lo(e,t,n,r){let i=n.name===`angular`;oa(new Io,e.children,{parseOptions:n}),t&&e.children.unshift(t);let a=new ko(e);return a.walk(e=>{if(e.kind===`comment`){let t=Mo(e,r);t&&e.parent.replaceChild(e,t)}else i&&e.kind===`element`&&e.comments&&(e.startTagComments=e.comments,delete e.comments);i&&(Ro(e),zo(e),Bo(e))}),a}function Ro(e){if(e.kind===`block`){if(e.name=h(0,e.name.toLowerCase(),/\s+/g,` `).trim(),e.kind=`angularControlFlowBlock`,!ct(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.kind=`angularControlFlowBlockParameter`;e.parameters={kind:`angularControlFlowBlockParameters`,children:e.parameters,sourceSpan:new U(e.parameters[0].sourceSpan.start,g(0,e.parameters,-1).sourceSpan.end)}}}function zo(e){e.kind===`letDeclaration`&&(e.kind=`angularLetDeclaration`,e.id=e.name,e.init={kind:`angularLetDeclarationInitializer`,sourceSpan:new U(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function Bo(e){e.kind===`expansion`&&(e.kind=`angularIcuExpression`),e.kind===`expansionCase`&&(e.kind=`angularIcuCase`)}function Vo(e,t){let n=e.toLowerCase();return t(n)?n:e}function Ho(e){let t=e.name.startsWith(`:`)?e.name.slice(1).split(`:`,1)[0]:null,n=e.nameSpan.toString(),r=t!==null&&n.startsWith(`${t}:`);e.name=r?n.slice(t.length+1):n,e.namespace=t,e.hasExplicitNamespace=r}function Uo(e){switch(e.kind){case`element`:Ho(e);for(let t of e.attrs)Ho(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()}}function Wo(e,t){if(e.kind===`element`){let n=Gi(t.isTagNameCaseSensitive?e.name:e.name.toLowerCase());e.tagDefinition=!e.namespace||e.namespace===n.implicitNamespacePrefix||kt(e)?n:Gi(``)}}function Go(e){e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new U(e.sourceSpan.start,e.endSourceSpan.end))}function Ko(e,t){if(e.kind===`element`&&(t.normalizeTagName&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||kt(e))&&(e.name=Vo(e.name,e=>Co.has(e))),t.normalizeAttributeName))for(let t of e.attrs)t.namespace||(t.name=Vo(t.name,t=>So.has(e.name)&&(So.get(`*`).has(t)||So.get(e.name).has(t))))}function qo(e,t){let{rootNodes:n,errors:r}=Ja(e,xo(t));return r.length>0&&Xo(r[0]),{parseOptions:t,rootNodes:n}}function Jo(e,t){let n=xo(t),{rootNodes:r,errors:i}=Ja(e,n);if(r.some(e=>e.kind===`docType`&&e.value===`html`||e.kind===`element`&&e.name.toLowerCase()===`html`))return qo(e,$o);let a,o=()=>a??(a=Ja(e,{...n,getTagContentType:void 0})),s=e=>{let{offset:t}=e.startSourceSpan.start;return o().rootNodes.find(e=>e.kind===`element`&&e.startSourceSpan.start.offset===t)??e};for(let[e,t]of r.entries())if(t.kind===`element`){if(t.isVoid)i=o().errors,r[e]=s(t);else if(Yo(t)){let{endSourceSpan:n,startSourceSpan:i}=t,a=o().errors.find(e=>e.span.start.offset>i.start.offset&&e.span.start.offset<n.end.offset);a&&Xo(a),r[e]=s(t)}}return i.length>0&&Xo(i[0]),{parseOptions:t,rootNodes:r}}function Yo(e){if(e.kind!==`element`||e.name!==`template`)return!1;let t=e.attrs.find(e=>e.name===`lang`)?.value;return!t||t===`html`}function Xo(e){let{msg:t,span:{start:n,end:r}}=e;throw vo(t,{loc:{start:{line:n.line+1,column:n.col+1},end:{line:r.line+1,column:r.col+1}},cause:e})}function Zo(e,t,n,r,i,a){let{offset:o}=r,s=Qo(yt(t.slice(0,o))+n,e,{...i,shouldParseFrontMatter:!1},a);s.sourceSpan=new U(r,g(0,s.children,-1).sourceSpan.end);let c=s.children[0];return c.length===o?s.children.shift():(c.sourceSpan=new U(c.sourceSpan.start.moveBy(o),c.sourceSpan.end),c.value=c.value.slice(o)),s}function Qo(e,t,n,r={}){let{frontMatter:i,content:a}=n.shouldParseFrontMatter?Ct(e):{content:e},o=new qi(e,r.filepath),s=new Ki(o,0,0,0),c=s.moveBy(e.length),{parseOptions:l,rootNodes:u}=t(a,n),d={kind:`root`,sourceSpan:new U(s,c),children:u},f;if(i){let[e,t]=[i.start,i.end].map(e=>new Ki(o,e.index,e.line-1,e.column));f={...i,kind:`frontMatter`,sourceSpan:new U(e,t)}}return Lo(d,f,l,(n,i)=>Zo(t,e,n,i,l,r))}var $o=bo({name:`html`,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0});function es(e){let t=bo(e),n=t.name===`vue`?Jo:qo;return{parse:(e,r)=>Qo(e,n,t,r),hasPragma:$r,hasIgnorePragma:ei,astFormat:`html`,locStart:F,locEnd:hr}}var ts=es($o),ns=new Set([`mj-style`,`mj-raw`]),rs=es({...$o,name:`mjml`,shouldParseAsRawText:e=>ns.has(e)}),is=es({name:`angular`,tokenizeAngularBlocks:!0,tokenizeAngularLetDeclaration:!0,allowStartTagComments:!0}),as=es({name:`vue`,isTagNameCaseSensitive:!0,shouldParseAsRawText(e,t,n,r){return e.toLowerCase()!==`html`&&!n&&(e!==`template`||r.some(({name:e,value:t})=>e===`lang`&&t!==`html`&&t!==``&&t!==void 0))}}),os=es({name:`lwc`,canSelfClose:!1}),ss={html:uo};export{te as default,fo as languages,ho as options,go as parsers,ss as printers};