collabmd 0.1.51 → 0.1.52

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 (584) hide show
  1. package/README.md +1 -1
  2. package/dist/client/assets/CodeMirrorEditor-UCMRAMCV-BEz2BKN1.js +1 -0
  3. package/dist/client/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  4. package/dist/client/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  5. package/dist/client/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  6. package/dist/client/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  7. package/dist/client/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  8. package/dist/client/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  9. package/dist/client/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  10. package/dist/client/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  11. package/dist/client/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  12. package/dist/client/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  13. package/dist/client/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  14. package/dist/client/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  15. package/dist/client/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  16. package/dist/client/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  17. package/dist/client/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  18. package/dist/client/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  19. package/dist/client/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  20. package/dist/client/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  21. package/dist/client/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  22. package/dist/client/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  23. package/dist/client/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  24. package/dist/client/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  25. package/dist/client/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  26. package/dist/client/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  27. package/dist/client/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  28. package/dist/client/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  29. package/dist/client/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  30. package/dist/client/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  31. package/dist/client/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  32. package/dist/client/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  33. package/dist/client/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  34. package/dist/client/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  35. package/dist/client/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  36. package/dist/client/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  37. package/dist/client/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  38. package/dist/client/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  39. package/dist/client/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  40. package/dist/client/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  41. package/dist/client/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  42. package/dist/client/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  43. package/dist/client/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  44. package/dist/client/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  45. package/dist/client/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  46. package/dist/client/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  47. package/dist/client/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  48. package/dist/client/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  49. package/dist/client/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  50. package/dist/client/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  51. package/dist/client/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  52. package/dist/client/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  53. package/dist/client/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  54. package/dist/client/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  55. package/dist/client/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  56. package/dist/client/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  57. package/dist/client/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  58. package/dist/client/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  59. package/dist/client/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  60. package/dist/client/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  61. package/dist/client/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  62. package/dist/client/assets/Middleware-DUgFSleI.js +1 -0
  63. package/dist/client/assets/_basePickBy-QJXUw_pr.js +1 -0
  64. package/dist/client/assets/_baseUniq-DR4vVjyC.js +1 -0
  65. package/dist/client/assets/abnfDiagram-O67JEVCF-Dwt6a0Ds.js +1 -0
  66. package/dist/client/assets/abnfDiagram-VCTEODGH-DxNxad6-.js +1 -0
  67. package/dist/client/assets/architecture-7GRP2DOG-BBwRXFv3.js +1 -0
  68. package/dist/client/assets/architecture-7GRP2DOG-DJVtYNt-.js +1 -0
  69. package/dist/client/assets/architectureDiagram-5GKGNRK7-C1uvg5id.js +36 -0
  70. package/dist/client/assets/architectureDiagram-NJMV4G6O-D5CGiX3G.js +36 -0
  71. package/dist/client/assets/{babel-CY5KOv-I.js → babel-Bi_28hhi.js} +1 -1
  72. package/dist/client/assets/band-D-Cum8PO.js +1 -0
  73. package/dist/client/assets/blockDiagram-BEXU5L5S-BgTM0var.js +140 -0
  74. package/dist/client/assets/blockDiagram-I7D4REHJ-B2YonsoG.js +129 -0
  75. package/dist/client/assets/{browser-BKLM0ThC-IxjwuOIz-DyJcVMFR.js → browser-BKLM0ThC-IxjwuOIz-C0mP17s1.js} +1 -1
  76. package/dist/client/assets/{browser-utils-DbXSMI-6.js → browser-utils-vlHL9goC.js} +1 -1
  77. package/dist/client/assets/{c4Diagram-7LVT6UL2-VAk1HPmz.js → c4Diagram-7LVT6UL2-r4IwomZm.js} +2 -2
  78. package/dist/client/assets/c4Diagram-YGBWAQC7-_xZPrNkB.js +38 -0
  79. package/dist/client/assets/channel-CgcHBnmr.js +1 -0
  80. package/dist/client/assets/chunk-2E4U76K2-CIQUuV9n.js +1 -0
  81. package/dist/client/assets/chunk-2Q5K7J3B-BMFG3ur0.js +1 -0
  82. package/dist/client/assets/{chunk-2ZTRR5NV-C2qZJila.js → chunk-2ZTRR5NV-CnDP55cn.js} +1 -1
  83. package/dist/client/assets/chunk-2ZTRR5NV-DcPRfelM.js +2 -0
  84. package/dist/client/assets/chunk-3FUC2YCW-8tZlhTGX.js +1 -0
  85. package/dist/client/assets/{chunk-3Z5EZCMW-DMniOlPd.js → chunk-3Z5EZCMW-BAnA6eQ7.js} +1 -1
  86. package/dist/client/assets/chunk-3Z5EZCMW-Yx4Q5AcN.js +1 -0
  87. package/dist/client/assets/chunk-4HAMMTFA-q0ldNVvr.js +62 -0
  88. package/dist/client/assets/chunk-4SOEAONT-C3fufoVl.js +40 -0
  89. package/dist/client/assets/chunk-5DYCD2WN-BKWCKnK-.js +1 -0
  90. package/dist/client/assets/{chunk-5V3GS4D5-i-ZDOEnP.js → chunk-5V3GS4D5-B5uC2oxu.js} +1 -1
  91. package/dist/client/assets/chunk-5V3GS4D5-BR7kgIgJ.js +1 -0
  92. package/dist/client/assets/chunk-5VM5RSS4-hE9rU_bl.js +15 -0
  93. package/dist/client/assets/chunk-6AEJRKK7-DTVZj5bY.js +1 -0
  94. package/dist/client/assets/{chunk-6AZGARVD-BB6FqMl-.js → chunk-6AZGARVD--pTGpDnx.js} +1 -1
  95. package/dist/client/assets/chunk-6AZGARVD-CnZDr4Cj.js +1 -0
  96. package/dist/client/assets/{chunk-6EIED4P4-DdUJkP0f.js → chunk-6EIED4P4-Bp8dpTvX.js} +1 -1
  97. package/dist/client/assets/chunk-6EIED4P4-DBVWq7Tz.js +1 -0
  98. package/dist/client/assets/{chunk-6K3QC6MW-CqVsVn-y.js → chunk-6K3QC6MW-DGVRzL6v.js} +1 -1
  99. package/dist/client/assets/chunk-6K3QC6MW-JnuvEGV4.js +1 -0
  100. package/dist/client/assets/{chunk-6TQVIW2G-DKlLbNIP.js → chunk-6TQVIW2G-BSj0l_pu.js} +1 -1
  101. package/dist/client/assets/chunk-6TQVIW2G-DgBX-Pv0.js +1 -0
  102. package/dist/client/assets/chunk-742MDFTN-D1nh6vNv.js +1 -0
  103. package/dist/client/assets/{chunk-747NJXEK-BFkZPlab.js → chunk-747NJXEK-BjqqAsS9.js} +1 -1
  104. package/dist/client/assets/chunk-747NJXEK-Cur1aosP.js +2 -0
  105. package/dist/client/assets/chunk-75Z2AOVW-DitkSoSG.js +2 -0
  106. package/dist/client/assets/chunk-7INBJB4K-CDmiHbaX.js +62 -0
  107. package/dist/client/assets/chunk-7M6MHVWA-BDakkknV.js +213 -0
  108. package/dist/client/assets/chunk-7PRAP22T-9uTvtc_-.js +1 -0
  109. package/dist/client/assets/{chunk-CLGD4ZFX-Cmtx89ht.js → chunk-CLGD4ZFX-BfYJtJm1.js} +1 -1
  110. package/dist/client/assets/chunk-DU6HZSFF-CWlP1Dk_.js +125 -0
  111. package/dist/client/assets/chunk-DUW6YSOI-Dgx8z5s3.js +1 -0
  112. package/dist/client/assets/chunk-DYU5D34O-DN0WQZBm.js +1 -0
  113. package/dist/client/assets/{chunk-F27PBJKO-Dg3H6KLL.js → chunk-F27PBJKO-DPcsPcEs.js} +1 -1
  114. package/dist/client/assets/{chunk-FOHPRMQF-DHwB1DNv.js → chunk-FOHPRMQF-Dmmo5Kak.js} +9 -9
  115. package/dist/client/assets/chunk-FOHPRMQF-DzxwRta7.js +161 -0
  116. package/dist/client/assets/chunk-GMAD6QVW-Bgk8qnty.js +8 -0
  117. package/dist/client/assets/chunk-GNY47TPC-CTrH5O5R.js +1 -0
  118. package/dist/client/assets/{chunk-SVP7TREG-XlsB_ZMZ.js → chunk-GTNCS2PH-ChgkzEIi.js} +1 -1
  119. package/dist/client/assets/chunk-GVQU2GXP-CQ8cl-Uu.js +1 -0
  120. package/dist/client/assets/chunk-GWA4HPMP-CGmv2yIq.js +1 -0
  121. package/dist/client/assets/{chunk-I5DQTOEV-Hm2LfiYI.js → chunk-I5DQTOEV-B98XA8VK.js} +1 -1
  122. package/dist/client/assets/chunk-I5DQTOEV-aBZooNp1.js +1 -0
  123. package/dist/client/assets/{chunk-ICYGCRZG-749o-pGJ.js → chunk-ICYGCRZG-D97UeqJs.js} +1 -1
  124. package/dist/client/assets/chunk-ICYGCRZG-odvlDZyA.js +1 -0
  125. package/dist/client/assets/{chunk-IH6LHLGP-CC6I9F3i.js → chunk-IH6LHLGP-BNevEHZK.js} +1 -1
  126. package/dist/client/assets/chunk-IH6LHLGP-CvXe34hB.js +1 -0
  127. package/dist/client/assets/{chunk-IMKFNOWR-3F6NhHUP.js → chunk-IMKFNOWR-CBqxfpcP.js} +2 -2
  128. package/dist/client/assets/chunk-J5ZVWO5B-oDCd-gWO.js +1 -0
  129. package/dist/client/assets/chunk-JWPE2WC7-GDilnS5Y.js +1 -0
  130. package/dist/client/assets/{chunk-KI3K4JFJ-Rma-0k_M.js → chunk-KI3K4JFJ-D5XCPRZv.js} +1 -1
  131. package/dist/client/assets/chunk-KI3K4JFJ-FTtDwx3-.js +1 -0
  132. package/dist/client/assets/chunk-L3NEJ4N5-BflzkdTI.js +1 -0
  133. package/dist/client/assets/{chunk-LNGE3PJU-DWpGwHrW.js → chunk-LNGE3PJU-5-SxdO55.js} +1 -1
  134. package/dist/client/assets/chunk-LNGE3PJU-5nWSl6jJ.js +34 -0
  135. package/dist/client/assets/chunk-MBY4JIJT-DTJ4UcAm.js +8 -0
  136. package/dist/client/assets/chunk-NETBCI7D-CmUwDWUZ.js +1 -0
  137. package/dist/client/assets/chunk-O7XYJQB3-D0_ZY2za.js +126 -0
  138. package/dist/client/assets/chunk-OSK3NFVY-DqeKV_pg.js +10 -0
  139. package/dist/client/assets/{chunk-OUJLGHUK-D0j2JRSg.js → chunk-OUJLGHUK-75UXlPjl.js} +1 -1
  140. package/dist/client/assets/chunk-OUJLGHUK-DA95-S9B.js +2 -0
  141. package/dist/client/assets/{chunk-P2QGCYS3-Du8EtwOa.js → chunk-P2QGCYS3-BA--DhpW.js} +1 -1
  142. package/dist/client/assets/chunk-POPQ4Y6H-V_NEc45n.js +1 -0
  143. package/dist/client/assets/chunk-PWAF6VOD-D_kLse-N.js +1 -0
  144. package/dist/client/assets/{chunk-ZPMXAHWN-Dt0TxJa6.js → chunk-RUX4WMZV-BGnd3s_C.js} +4 -4
  145. package/dist/client/assets/{chunk-SHT3W25Y-BKaI8jZO.js → chunk-SHT3W25Y-YM3S-A_M.js} +5 -5
  146. package/dist/client/assets/chunk-SVP7TREG-DdNhDOmW.js +88 -0
  147. package/dist/client/assets/{chunk-TICWLB2K-Cpp2z8yK.js → chunk-TICWLB2K-BGGgCr4x.js} +3 -3
  148. package/dist/client/assets/chunk-TLUHSLCS-DCZhIDYA.js +1 -0
  149. package/dist/client/assets/chunk-UA2S7LBM-DicYDjDM.js +1 -0
  150. package/dist/client/assets/{chunk-UY3FDG6J-CnmaAkG5.js → chunk-UY3FDG6J-DqSM_0FB.js} +1 -1
  151. package/dist/client/assets/chunk-UY3FDG6J-QT-rkt0y.js +1 -0
  152. package/dist/client/assets/chunk-WEXAMYUT-DDlVNp8J.js +1 -0
  153. package/dist/client/assets/chunk-X3CZISLH-BixgQztF.js +1 -0
  154. package/dist/client/assets/chunk-X3CZISLH-DwWpRaN8.js +1 -0
  155. package/dist/client/assets/{chunk-XHIXRSVI-BFQ6B8BE.js → chunk-XHIXRSVI-BSN7JlfK.js} +1 -1
  156. package/dist/client/assets/chunk-XHIXRSVI-DN_fEwws.js +1 -0
  157. package/dist/client/assets/chunk-XXDRQBXY-C7hQHDmQ.js +1 -0
  158. package/dist/client/assets/{chunk-XXDRQBXY-BvKO0v-W.js → chunk-XXDRQBXY-CdRN9Akd.js} +1 -1
  159. package/dist/client/assets/chunk-Y2CYZVJY-BbRBGnmc.js +1 -0
  160. package/dist/client/assets/chunk-Z7XXMR3K-P4Vaq8hD.js +10 -0
  161. package/dist/client/assets/chunk-ZIGJFQKS-b8OUHKK5.js +2 -0
  162. package/dist/client/assets/classDiagram-ZZMXUADV-QLbh_Nkf.js +1 -0
  163. package/dist/client/assets/classDiagram-v2-NBCMYWYE-3TQORq33.js +217 -0
  164. package/dist/client/assets/classDiagram-v2-VYDZK3BY-QLbh_Nkf.js +1 -0
  165. package/dist/client/assets/clone-C1hp9FUh.js +1 -0
  166. package/dist/client/assets/comment-markdown-renderer-Bxi_JRSR.js +1 -0
  167. package/dist/client/assets/comment-thread-store-CHvy8GF8.js +1 -0
  168. package/dist/client/assets/cose-bilkent-JH36ORCC-Czr0rwGr.js +1 -0
  169. package/dist/client/assets/cose-bilkent-JH36ORCC-DLmEf9HS.js +1 -0
  170. package/dist/client/assets/cynefin-OW5HDTMX-CF3N9j1_.js +1 -0
  171. package/dist/client/assets/cynefin-OW5HDTMX-e-Quc9Yl.js +1 -0
  172. package/dist/client/assets/cynefinDiagram-5FMLGOSQ-DTnLZaO7.js +62 -0
  173. package/dist/client/assets/cynefinDiagram-VND7K2PF-DwfMZ3vk.js +62 -0
  174. package/dist/client/assets/cytoscape-cose-bilkent-NdTYBUiT.js +1 -0
  175. package/dist/client/assets/cytoscape-fcose-DE9_QRG_.js +1 -0
  176. package/dist/client/assets/cytoscape.esm-EK2DW5Qr.js +321 -0
  177. package/dist/client/assets/dagre-6A5THRUB-DewyAGK6.js +4 -0
  178. package/dist/client/assets/dagre-D7FiCLLP.js +1 -0
  179. package/dist/client/assets/{dagre-GXQ25YYZ-BSfKCfy7.js → dagre-GXQ25YYZ-Vtyx08Qh.js} +2 -2
  180. package/dist/client/assets/deferred-collab-D4cxEdad.css +1 -0
  181. package/dist/client/assets/deferred-preview-BAXYgf4T.css +1 -0
  182. package/dist/client/assets/diagram-22UHCM2B-DbZirFfl.js +200 -0
  183. package/dist/client/assets/diagram-3UASUU5V-DmhdYv6_.js +24 -0
  184. package/dist/client/assets/diagram-ATOU4E4O-B5uX-jVO.js +3 -0
  185. package/dist/client/assets/diagram-CDSNMT55-D_qyS11R.js +30 -0
  186. package/dist/client/assets/diagram-MLGK6HIB-DIBG6Ivu.js +24 -0
  187. package/dist/client/assets/diagram-MPIPVDR6-D9XsALDV.js +41 -0
  188. package/dist/client/assets/{diagram-S7CK7UJ4-D7KaM9yj.js → diagram-S7CK7UJ4-CGTzfo2f.js} +3 -3
  189. package/dist/client/assets/diagram-UQ7AKVKN-CWZS8QtB.js +41 -0
  190. package/dist/client/assets/{diagram-VSXAHHWV-B3-U-Q2E.js → diagram-VSXAHHWV-DaO1nOZF.js} +3 -3
  191. package/dist/client/assets/diagram-VX7I27RA-B54P6Cyf.js +24 -0
  192. package/dist/client/assets/diagram-Z3DM3KII-Cl2EXiXp.js +24 -0
  193. package/dist/client/assets/direct-engine-DdrQKpgq-4QysbH_V.js +5 -0
  194. package/dist/client/assets/dist-B7fBbwrO.js +1 -0
  195. package/dist/client/assets/{dist-DVXzbeDx.js → dist-BVCNc-Es.js} +1 -1
  196. package/dist/client/assets/dist-BYBF4LtZ.js +1 -0
  197. package/dist/client/assets/{dist-B_B4XLmq.js → dist-B_1hMrc6.js} +1 -1
  198. package/dist/client/assets/{dist-EWJYvBK1.js → dist-BfpAc922.js} +1 -1
  199. package/dist/client/assets/dist-BnVaoRgZ.js +1 -0
  200. package/dist/client/assets/{dist-kiD2GIsD.js → dist-Bog8M5U3.js} +6 -6
  201. package/dist/client/assets/dist-CAG5sIOj.js +1 -0
  202. package/dist/client/assets/{dist-CrWzIWEE.js → dist-CKf7LlAo.js} +1 -1
  203. package/dist/client/assets/{dist-CqXVyYoH.js → dist-CUsXdnU4.js} +1 -1
  204. package/dist/client/assets/{dist-B7XMN9AT.js → dist-CXOUa90Q.js} +1 -1
  205. package/dist/client/assets/dist-CYMCikZo.js +1 -0
  206. package/dist/client/assets/dist-CYfPeupF.js +1 -0
  207. package/dist/client/assets/dist-Ch6Sr9KF.js +28 -0
  208. package/dist/client/assets/dist-Ck-B8onw.js +2 -0
  209. package/dist/client/assets/dist-CrkYYcOU.js +1 -0
  210. package/dist/client/assets/{dist-BR81yxMt.js → dist-CsQTfQFi.js} +1 -1
  211. package/dist/client/assets/dist-Cu5Ze2cs.js +6 -0
  212. package/dist/client/assets/{dist-Drv_wZYC.js → dist-CvVoyTRF.js} +1 -1
  213. package/dist/client/assets/{dist-CbDyXgCo.js → dist-D4kDR0g8.js} +1 -1
  214. package/dist/client/assets/dist-D8LnhZzy.js +1 -0
  215. package/dist/client/assets/{dist-CELhfKzh.js → dist-DGa-2MNX.js} +2 -2
  216. package/dist/client/assets/{dist-CO0-4CuV.js → dist-DI6c02Da.js} +8 -8
  217. package/dist/client/assets/{dist-DJAMplZI.js → dist-DNONgI1P.js} +2 -2
  218. package/dist/client/assets/dist-DVBYH83t.js +1 -0
  219. package/dist/client/assets/dist-DX6qtdxv.js +1 -0
  220. package/dist/client/assets/{dist-Bx3QkS-3.js → dist-Da-jLrCf.js} +1 -1
  221. package/dist/client/assets/dist-DofvCYzJ.js +1 -0
  222. package/dist/client/assets/{dist-BzFSJM0U.js → dist-Dx37MHWs.js} +1 -1
  223. package/dist/client/assets/{dist-Bdy9ZRzd.js → dist-GTGhtpyW.js} +1 -1
  224. package/dist/client/assets/{dist-nxQErAaK.js → dist-W0FoeIxk.js} +9 -9
  225. package/dist/client/assets/{dist-By7ieqAf.js → dist-Y6zYRI-A.js} +1 -1
  226. package/dist/client/assets/{dist-Bfxzlnrf.js → dist-jVKfryIL.js} +1 -1
  227. package/dist/client/assets/{dist-DCpIH3-_.js → dist-zHDLm1oE.js} +1 -1
  228. package/dist/client/assets/{document-formatter-Qdiq9uJs.js → document-formatter-gO8qM2qY.js} +1 -1
  229. package/dist/client/assets/{drawioEditor-CHf1vtdQ.js → drawioEditor-DCkWweiy.js} +2 -2
  230. package/dist/client/assets/duration-BiuFXtXd.js +1 -0
  231. package/dist/client/assets/ebnfDiagram-PWID7BFC-PfC84FyI.js +1 -0
  232. package/dist/client/assets/ebnfDiagram-ZINNZB2B-DYvm_QtE.js +1 -0
  233. package/dist/client/assets/editor-session-DxRyr4EM.js +14 -0
  234. package/dist/client/assets/elk-276RUBZZ-B8LB3Pac.js +27 -0
  235. package/dist/client/assets/embedded-editor-base-elU0Avik.css +1 -0
  236. package/dist/client/assets/{embedpdf-DA4bA119-E8wZ11J2.js → embedpdf-DA4bA119-DsoNiPlQ.js} +4 -4
  237. package/dist/client/assets/{embedpdf-LUXDBD3-.js → embedpdf-DyOonRvx.js} +1 -1
  238. package/dist/client/assets/{en-2RFA324Y-BsuNJTcL.js → en-GNC3RJIS-CEy_oGTd.js} +1 -1
  239. package/dist/client/assets/erDiagram-OPXOYQCR-o8GRv8A_.js +99 -0
  240. package/dist/client/assets/{erDiagram-RLTQ6QDP-CWrH1UJ9.js → erDiagram-RLTQ6QDP-C9cJl5NB.js} +2 -2
  241. package/dist/client/assets/esm-BzZ1JFVo.js +65 -0
  242. package/dist/client/assets/{estree-CuT_pB8K.js → estree-DCT3Jm65.js} +4 -4
  243. package/dist/client/assets/eventmodeling-NTZA5JFV-CDy1bN6j.js +1 -0
  244. package/dist/client/assets/eventmodeling-NTZA5JFV-Dxtv5D-P.js +1 -0
  245. package/dist/client/assets/{excalidraw-element-link-iA6zo0_f.js → excalidraw-element-link-CGZ5934B.js} +1 -1
  246. package/dist/client/assets/{excalidrawEditor-DDE0n1Pk.css → excalidrawEditor-BCTFp_CV.css} +1 -1
  247. package/dist/client/assets/excalidrawEditor-BVfSxjSO.js +9 -0
  248. package/dist/client/assets/export-page-BCo_e15t.js +46 -0
  249. package/dist/client/assets/exportDocument-Ba-n1X4U.css +1 -0
  250. package/dist/client/assets/exportDocument-DP6oE_or.js +2 -0
  251. package/dist/client/assets/{fa-IR-FIYUE2GQ-C865Nx3X.js → fa-IR-I4JNTJHK-CFtHZqoT.js} +1 -1
  252. package/dist/client/assets/file-search-3hYF4cYa.js +1 -0
  253. package/dist/client/assets/flowDiagram-HODETNUW-Bq4470NR.js +1 -0
  254. package/dist/client/assets/flowDiagram-KWPJA3E3-DQG9qGiU.js +1 -0
  255. package/dist/client/assets/forth-D6RzAl64.js +1 -0
  256. package/dist/client/assets/ganttDiagram-EL5Y4UJY-x40PW0Ah.js +292 -0
  257. package/dist/client/assets/ganttDiagram-FUAMR5RP-BQpsI7gQ.js +292 -0
  258. package/dist/client/assets/gitGraph-4MIJSDKK-B-rpDYbz.js +1 -0
  259. package/dist/client/assets/gitGraph-4MIJSDKK-ZaBIE4Lb.js +1 -0
  260. package/dist/client/assets/gitGraphDiagram-WWUBYQGX-ahsNaZsp.js +106 -0
  261. package/dist/client/assets/gitGraphDiagram-X574FWY7-wbs_2m9f.js +106 -0
  262. package/dist/client/assets/graphlib-C9Tl7QrK.js +1 -0
  263. package/dist/client/assets/{html-Cdnr2qzU.js → html-CBXMuS97.js} +2 -2
  264. package/dist/client/assets/html-DTuc_pxj.js +1 -0
  265. package/dist/client/assets/{id-ID-EOMR5R3I-CGQwUjoL.js → id-ID-2WY7E4VX-CCAeQpPr.js} +2 -2
  266. package/dist/client/assets/image-EJJKRVD3-BQfi5nWJ.js +1 -0
  267. package/dist/client/assets/{image-blob-reduce.esm-Dj7YBvMv.js → image-blob-reduce.esm-BFq-Mx5V.js} +2 -2
  268. package/dist/client/assets/index-BxAuGDoN.css +1 -0
  269. package/dist/client/assets/index-uw9O0z1c.js +1112 -0
  270. package/dist/client/assets/info-A6RAGUB7-BcGxhjED.js +1 -0
  271. package/dist/client/assets/info-A6RAGUB7-BlutK7BT.js +1 -0
  272. package/dist/client/assets/infoDiagram-27XIBGKW-MrZyptIy.js +2 -0
  273. package/dist/client/assets/infoDiagram-VRGFBTTK-KkUjDRAQ.js +2 -0
  274. package/dist/client/assets/{ishikawaDiagram-5VMMS53U-CRy9vIS5.js → ishikawaDiagram-5VMMS53U-Bnt9yM0O.js} +2 -2
  275. package/dist/client/assets/ishikawaDiagram-OU5B5YK6-Di9BcpOY.js +70 -0
  276. package/dist/client/assets/{it-IT-FC2VTM3L-KTijNcUe.js → it-IT-INVHSAJF-DytAgndh.js} +1 -1
  277. package/dist/client/assets/javascript-B9I2pbsP.js +1 -0
  278. package/dist/client/assets/javascript-DctB8BJo.js +1 -0
  279. package/dist/client/assets/{journeyDiagram-3NMN7TZE-D4ZR_s9J.js → journeyDiagram-3NMN7TZE-Bl0abK1r.js} +1 -1
  280. package/dist/client/assets/journeyDiagram-ZHPQQLJL-J-sGrs9e.js +139 -0
  281. package/dist/client/assets/jsx-runtime-DKj5X9O4.js +1 -0
  282. package/dist/client/assets/kanban-definition-PNTS6WVX-5ZDV_yIa.js +89 -0
  283. package/dist/client/assets/{kanban-definition-UXKFOSKX-CIDTmu5g.js → kanban-definition-UXKFOSKX-DMgUfNt0.js} +10 -10
  284. package/dist/client/assets/{katex-CXMH3UgJ.js → katex-9NBMfU68.js} +2 -2
  285. package/dist/client/assets/katex-ZlcWpGUi.js +257 -0
  286. package/dist/client/assets/line-DEbP8Ok6.js +1 -0
  287. package/dist/client/assets/linear-DExL6ILt.js +1 -0
  288. package/dist/client/assets/{lobby-presence-Rdjnc0_0.js → lobby-presence-Cz5jGOPg.js} +1 -1
  289. package/dist/client/assets/{lua-CL1SqxuB.js → lua-zbJo2mq3.js} +1 -1
  290. package/dist/client/assets/{markdown-CByV-4CU.js → markdown-Bo71X2X2.js} +8 -8
  291. package/dist/client/assets/markdown-it-DpvIRaVq.js +13 -0
  292. package/dist/client/assets/markdown-math-CyyBVuDO.js +517 -0
  293. package/dist/client/assets/merge-CALoRt3l.js +1 -0
  294. package/dist/client/assets/{mermaid-parser.core-DrdLA3p0.js → mermaid-parser.core-Bpogunsh.js} +1 -1
  295. package/dist/client/assets/mermaid-parser.core-DBy--Jc0.js +3 -0
  296. package/dist/client/assets/mermaid.core-BeOUPE3Q.js +10 -0
  297. package/dist/client/assets/mindmap-definition-NLK3R4M7-ByVb-0vj.js +96 -0
  298. package/dist/client/assets/{mindmap-definition-YA3MSWOX-DO8NB9VH.js → mindmap-definition-YA3MSWOX-DBZN5_GH.js} +29 -29
  299. package/dist/client/assets/{nginx-BMaDbqW3.js → nginx-8H7HVH4w.js} +1 -1
  300. package/dist/client/assets/packet-AYTQ26CC-CqpSjTWl.js +1 -0
  301. package/dist/client/assets/packet-AYTQ26CC-DvbY8dI6.js +1 -0
  302. package/dist/client/assets/pegDiagram-GJSIUBJH-aost1sSO.js +1 -0
  303. package/dist/client/assets/pegDiagram-XKGWAZYB-DRo8CZu3.js +1 -0
  304. package/dist/client/assets/percentages-LWOC67ZH-VhvllE7L.js +1 -0
  305. package/dist/client/assets/{pica-xkWDouSg.js → pica-BPrp-GK1.js} +1 -1
  306. package/dist/client/assets/pie-DzWLGKAD.js +1 -0
  307. package/dist/client/assets/pie-WAS4IAKB-Bg2eCNl5.js +1 -0
  308. package/dist/client/assets/pie-WAS4IAKB-DWSm9SSD.js +1 -0
  309. package/dist/client/assets/pieDiagram-5QR66LMP-BICdpEuz.js +39 -0
  310. package/dist/client/assets/pieDiagram-E7YTZNPT-CZThaHsc.js +39 -0
  311. package/dist/client/assets/{preload-helper-CtT0-S4g.js → preload-helper-BAlEavIC.js} +1 -1
  312. package/dist/client/assets/preview-render-compiler-ktU0SXxY.js +43 -0
  313. package/dist/client/assets/preview-render-profile-D652PAjA.js +1 -0
  314. package/dist/client/assets/preview-render-worker-BI2bFVqM.js +575 -0
  315. package/dist/client/assets/prod-DU-0VfI7.js +145 -0
  316. package/dist/client/assets/prod-cXUNdmYV.js +1 -0
  317. package/dist/client/assets/{pug-Wky5Dnfy.js → pug-CqqUmdG7.js} +1 -1
  318. package/dist/client/assets/purify.es-go7v6Te-.js +3 -0
  319. package/dist/client/assets/{quadrantDiagram-AXDQQJYC-fJE7iAxt.js → quadrantDiagram-AXDQQJYC-C5iowkl_.js} +3 -3
  320. package/dist/client/assets/quadrantDiagram-O4NWA36T-Bgx5bF97.js +7 -0
  321. package/dist/client/assets/quick-switcher-controller-DSlOwOsU.js +1 -0
  322. package/dist/client/assets/radar-RG4KPBEZ-BfNQUEQy.js +1 -0
  323. package/dist/client/assets/radar-RG4KPBEZ-DxExotg6.js +1 -0
  324. package/dist/client/assets/railroad-74A4TZTK-BaQ6U6eJ.js +1 -0
  325. package/dist/client/assets/railroad-74A4TZTK-FfHmeIQk.js +1 -0
  326. package/dist/client/assets/railroad-abnf-HS5TGJTU-BJ3KZw7J.js +1 -0
  327. package/dist/client/assets/railroad-abnf-HS5TGJTU-CLkdDRsJ.js +1 -0
  328. package/dist/client/assets/railroad-ebnf-LZEXJU2U-B162zvcG.js +1 -0
  329. package/dist/client/assets/railroad-ebnf-LZEXJU2U-DA0sEq7w.js +1 -0
  330. package/dist/client/assets/railroad-peg-WCYAUIDC-CGs5GeJ5.js +1 -0
  331. package/dist/client/assets/railroad-peg-WCYAUIDC-DCmlICzO.js +1 -0
  332. package/dist/client/assets/railroadDiagram-O6MQD6OU-BTt_rKjT.js +1 -0
  333. package/dist/client/assets/railroadDiagram-XR7U4H2S-DbVoNgSz.js +1 -0
  334. package/dist/client/assets/{requirementDiagram-BXWQKSXE-Balm0WW8.js → requirementDiagram-BXWQKSXE-BkvazG7r.js} +1 -1
  335. package/dist/client/assets/requirementDiagram-PLB6GJNP-BT0j9C40.js +84 -0
  336. package/dist/client/assets/sankeyDiagram-IPEJSGJF-X1BCUIrf.js +40 -0
  337. package/dist/client/assets/sankeyDiagram-P5KCCOFB-C_IemB9h.js +40 -0
  338. package/dist/client/assets/sankeyLinkHorizontal-usjP1-Cg.js +1 -0
  339. package/dist/client/assets/sequenceDiagram-PO4LG4MO-B-2QfXhV.js +169 -0
  340. package/dist/client/assets/{sequenceDiagram-WJ2MYXX4-BL1j3Sn-.js → sequenceDiagram-WJ2MYXX4-CxFBgLGd.js} +3 -3
  341. package/dist/client/assets/{sieve-BAxa3IjF.js → sieve-tLWDfEkZ.js} +1 -1
  342. package/dist/client/assets/sizeCapture-INFHLROL-B0uUizjq.js +1 -1
  343. package/dist/client/assets/sizeCapture-INFHLROL-DrzwYt5z.js +1 -0
  344. package/dist/client/assets/sl-SI-QY5KCFGA-RZhwMpQL.js +8 -0
  345. package/dist/client/assets/solr-B78wSQJQ.js +1 -0
  346. package/dist/client/assets/src-XiVvaevx.js +1 -0
  347. package/dist/client/assets/stateDiagram-D77RDMKH-BaSQ6Owj.js +1 -0
  348. package/dist/client/assets/stateDiagram-v2-GCMORJYK-CsVcfwVp.js +291 -0
  349. package/dist/client/assets/stateDiagram-v2-MP3YSRHH-CLlwrdvU.js +1 -0
  350. package/dist/client/assets/sv-SE-O3OFCY3J-DnS86_7q.js +12 -0
  351. package/dist/client/assets/swimlanes-2SLR337P-CnYTVqRX.js +1 -0
  352. package/dist/client/assets/swimlanes-42K2YHIH-CALFEmiS.js +1 -0
  353. package/dist/client/assets/swimlanesDiagram-TC7HE7FX-Bh4tmz27.js +8 -0
  354. package/dist/client/assets/swimlanesDiagram-VR7AAH4N-xhehUG9e.js +8 -0
  355. package/dist/client/assets/th-TH-WLSZUSBX-DHehoYR2.js +1 -0
  356. package/dist/client/assets/{timeline-definition-24CTP7MA-7pch5JAr.js → timeline-definition-24CTP7MA-zse-5Dbm.js} +5 -5
  357. package/dist/client/assets/timeline-definition-EJHVYXUP-BhqPlKkN.js +120 -0
  358. package/dist/client/assets/treeView-Q6P3EWNA-BvHOzbu9.js +1 -0
  359. package/dist/client/assets/treeView-Q6P3EWNA-Cccy0ngL.js +1 -0
  360. package/dist/client/assets/treemap-CxZTjHiH.js +1 -0
  361. package/dist/client/assets/treemap-WGGIJYW6-oety7paS.js +1 -0
  362. package/dist/client/assets/treemap-WGGIJYW6-sMRCjCtX.js +1 -0
  363. package/dist/client/assets/usecaseDiagram-POWQR4AR-DR2LHQYs.js +328 -0
  364. package/dist/client/assets/v4-DDdyfk2q.js +1 -0
  365. package/dist/client/assets/{vault-api-client-QjZ_T03l.js → vault-api-client-BQxLVPeF.js} +1 -1
  366. package/dist/client/assets/vault-paths-BT-6nztu.js +1 -0
  367. package/dist/client/assets/venn.esm-C5rDfA9t.js +7 -0
  368. package/dist/client/assets/vennDiagram-4TSXK5OY-DgHr6cJD.js +28 -0
  369. package/dist/client/assets/vennDiagram-UO4OBE2U-BRwLn2Q1.js +28 -0
  370. package/dist/client/assets/{verilog-7LoJAqYT.js → verilog-CjI9Y6RI.js} +1 -1
  371. package/dist/client/assets/wardley-WFR3VGLG-BdwDpX_I.js +1 -0
  372. package/dist/client/assets/wardley-WFR3VGLG-Y7xty_3m.js +1 -0
  373. package/dist/client/assets/{wardleyDiagram-VM6X3IG4-BbSlUwuM.js → wardleyDiagram-VM6X3IG4-9A60XZis.js} +3 -3
  374. package/dist/client/assets/wardleyDiagram-VNRHLVJA-B_tMcVFG.js +78 -0
  375. package/dist/client/assets/wiki-link-resolver-Dch88erO.js +1 -0
  376. package/dist/client/assets/{worker-engine-m0rlHn8R-eSDcDGEI.js → worker-engine-m0rlHn8R-5h66k403.js} +1 -1
  377. package/dist/client/assets/{workspace-sync-client-D4nblH_2.js → workspace-sync-client-C2pdaQUN.js} +1 -1
  378. package/dist/client/assets/xychartDiagram-PMCCYNJV-fRpZ1MA5.js +7 -0
  379. package/dist/client/assets/xychartDiagram-S5SC5T6Z-D00iy-wB.js +7 -0
  380. package/dist/client/assets/{yaml-9ltHPDNO.js → yaml-BcZaqAz8.js} +1 -1
  381. package/dist/client/assets/{yjs-provider-reset-guard-R43MnLNc.js → yjs-provider-reset-guard-DpntzUDR.js} +1 -1
  382. package/dist/client/drawio-editor.html +6 -5
  383. package/dist/client/excalidraw-editor.html +39 -32
  384. package/dist/client/export-document.html +4 -3
  385. package/dist/client/index.html +21 -14
  386. package/package.json +12 -9
  387. package/src/client/app/drawio-editor.html +1 -0
  388. package/src/client/app/excalidraw-editor.html +1 -0
  389. package/src/client/app/export-document-entry.js +1 -0
  390. package/src/client/app/export-document.html +1 -0
  391. package/src/client/app/index.html +19 -12
  392. package/src/client/application/app-shell/ui-feature-shell.js +20 -1
  393. package/src/client/application/app-shell-elements.js +2 -0
  394. package/src/client/application/diagram-preview-hydrator.js +7 -0
  395. package/src/client/application/mermaid-preview-hydrator.js +89 -3
  396. package/src/client/application/preview-diagram-utils.js +1 -0
  397. package/src/client/application/preview-render-compiler.js +2 -0
  398. package/src/client/application/preview-render-executor.js +4 -1
  399. package/src/client/application/preview-render-profile.js +8 -12
  400. package/src/client/application/preview-renderer.js +3 -0
  401. package/src/client/bootstrap/collabmd-app-shell.js +16 -7
  402. package/src/client/browser-utils.js +1 -1
  403. package/src/client/domain/excalidraw-scene.js +0 -11
  404. package/src/client/domain/file-search.js +1 -0
  405. package/src/client/domain/highlight-runtime.js +30 -3
  406. package/src/client/domain/markdown-math.js +14 -0
  407. package/src/client/export/export-host.js +3 -7
  408. package/src/client/export/export-pipeline.js +208 -21
  409. package/src/client/infrastructure/browser-preferences-port.js +8 -0
  410. package/src/client/infrastructure/editor-session.js +20 -0
  411. package/src/client/infrastructure/editor-view-adapter.js +8 -7
  412. package/src/client/infrastructure/excalidraw-room-client.js +2 -45
  413. package/src/client/infrastructure/git-api-client.js +5 -0
  414. package/src/client/infrastructure/tab-activity-lock.js +8 -4
  415. package/src/client/infrastructure/webmcp-tool-registry.js +12 -5
  416. package/src/client/presentation/bases-preview-controller.js +2 -1
  417. package/src/client/presentation/comment-markdown-renderer.js +2 -0
  418. package/src/client/presentation/comment-ui-controller.js +21 -30
  419. package/src/client/presentation/create-menu-presenter.js +16 -18
  420. package/src/client/presentation/drawio-embed-controller.js +55 -7
  421. package/src/client/presentation/excalidraw-embed-controller.js +11 -3
  422. package/src/client/presentation/file-explorer-controller.js +1 -0
  423. package/src/client/presentation/file-explorer-view.js +32 -2
  424. package/src/client/presentation/file-history-view-controller.js +6 -0
  425. package/src/client/presentation/git-diff-view-controller.js +3 -2
  426. package/src/client/presentation/git-panel-controller.js +6 -5
  427. package/src/client/presentation/image-lightbox-controller.js +7 -6
  428. package/src/client/presentation/outline-controller.js +0 -86
  429. package/src/client/presentation/quick-switcher-controller.js +50 -13
  430. package/src/client/presentation/scroll-sync-controller.js +69 -21
  431. package/src/client/styles/components/navigation.css +2 -2
  432. package/src/client/styles/deferred-collab.css +1 -0
  433. package/src/client/styles/deferred-preview.css +1 -0
  434. package/src/client/styles/features/diagram-preview.css +1 -0
  435. package/src/client/styles/features/preview-markdown.css +4 -4
  436. package/src/client/styles/foundation/themes.css +56 -271
  437. package/src/client/styles/layout/editor-page.css +0 -1
  438. package/src/client/styles/layout/shell.css +6 -0
  439. package/src/client/styles/layout/sidebar.css +3 -0
  440. package/src/client/styles/surfaces/landing-page.css +260 -0
  441. package/src/domain/agent-tool-definitions.js +45 -13
  442. package/src/domain/collabmd-content-capabilities.js +59 -4
  443. package/src/domain/collaboration-protocol.js +2 -0
  444. package/src/domain/markdown-outline.js +35 -0
  445. package/src/server/application/agent-connection-service.js +6 -2
  446. package/src/server/application/agent-content-service.js +124 -56
  447. package/src/server/auth/create-auth-service.js +40 -12
  448. package/src/server/auth/session-cookie.js +49 -38
  449. package/src/server/config/env.js +1 -1
  450. package/src/server/domain/backlink-index.js +1 -11
  451. package/src/server/domain/bases/base-query-results.js +7 -3
  452. package/src/server/domain/bases/base-query-service.js +2 -7
  453. package/src/server/domain/collaboration/collaboration-room.js +54 -16
  454. package/src/server/domain/docx-exporter.js +256 -2
  455. package/src/server/domain/hosted-workspace-contract.js +7 -0
  456. package/src/server/domain/hosted-workspace.js +29 -62
  457. package/src/server/domain/ripgrep-search-service.js +44 -28
  458. package/src/server/infrastructure/git/diff-service.js +15 -11
  459. package/src/server/infrastructure/git/git-service.js +4 -0
  460. package/src/server/infrastructure/git/image-mime.js +4 -3
  461. package/src/server/infrastructure/git/status-service.js +10 -6
  462. package/src/server/infrastructure/http/create-git-api-query-handler.js +25 -0
  463. package/src/server/infrastructure/http/create-vault-api-query-handler.js +13 -53
  464. package/src/server/infrastructure/http/http-response.js +2 -0
  465. package/src/server/infrastructure/persistence/hosted-metadata-store.js +42 -5
  466. package/src/server/infrastructure/persistence/path-utils.js +23 -3
  467. package/src/server/infrastructure/persistence/pull-backup-store.js +52 -42
  468. package/src/server/infrastructure/persistence/sidecar-store.js +7 -4
  469. package/src/server/infrastructure/persistence/vault-file-store.js +55 -168
  470. package/src/server/infrastructure/plantuml/plantuml-renderer.js +33 -0
  471. package/src/server/infrastructure/structurizr/structurizr-workspace-service.js +24 -10
  472. package/src/server/infrastructure/websocket/attach-collaboration-gateway.js +7 -3
  473. package/src/server/infrastructure/websocket/client-socket-session.js +32 -4
  474. package/src/server/infrastructure/workspace/file-system-sync-service.js +4 -2
  475. package/dist/client/assets/CodeMirrorEditor-UCMRAMCV-Crf9Y3Q6.js +0 -1
  476. package/dist/client/assets/abnfDiagram-VCTEODGH-PuinKbSQ.js +0 -1
  477. package/dist/client/assets/architecture-7GRP2DOG-BMOPAkUC.js +0 -1
  478. package/dist/client/assets/architectureDiagram-5GKGNRK7-46hPkrZv.js +0 -36
  479. package/dist/client/assets/blockDiagram-I7D4REHJ-C1S5Bzf8.js +0 -129
  480. package/dist/client/assets/channel-jwdhnPiV.js +0 -1
  481. package/dist/client/assets/chunk-2E4U76K2-Ba8Wf22k.js +0 -1
  482. package/dist/client/assets/chunk-4HAMMTFA-Ht-73lsT.js +0 -62
  483. package/dist/client/assets/chunk-5XKZK2GL-D4UAZSOJ.js +0 -1
  484. package/dist/client/assets/chunk-75Z2AOVW-B2cZexqK.js +0 -2
  485. package/dist/client/assets/chunk-DU6HZSFF-C6d6PJfE.js +0 -127
  486. package/dist/client/assets/chunk-GMAD6QVW-DUfjx_d5.js +0 -72
  487. package/dist/client/assets/chunk-GVQU2GXP-D1l7oRGR.js +0 -1
  488. package/dist/client/assets/chunk-L3NEJ4N5-BmCVn4y-.js +0 -1
  489. package/dist/client/assets/chunk-OSK3NFVY-CWHXAmfx.js +0 -10
  490. package/dist/client/assets/chunk-POPQ4Y6H-B5yJIrZE.js +0 -1
  491. package/dist/client/assets/chunk-PWAF6VOD-B3gML4ps.js +0 -1
  492. package/dist/client/assets/chunk-TLUHSLCS-Yl7B0Vrz.js +0 -1
  493. package/dist/client/assets/chunk-ZNVOA63L-BmCQjhx-.js +0 -40
  494. package/dist/client/assets/classDiagram-ZZMXUADV-BRw9vo8U.js +0 -1
  495. package/dist/client/assets/classDiagram-v2-VYDZK3BY-BRw9vo8U.js +0 -1
  496. package/dist/client/assets/comment-markdown-renderer-B9_vPc3F.js +0 -1
  497. package/dist/client/assets/comment-thread-store-NNHqRVsX.js +0 -1
  498. package/dist/client/assets/cose-bilkent-JH36ORCC-Cm_QF_yb.js +0 -1
  499. package/dist/client/assets/cynefin-OW5HDTMX-7tP7QfM3.js +0 -1
  500. package/dist/client/assets/cynefinDiagram-5FMLGOSQ-BRoCEoZM.js +0 -62
  501. package/dist/client/assets/cytoscape.esm-B-NFISlW.js +0 -321
  502. package/dist/client/assets/dagre-PrKaheQc.js +0 -1
  503. package/dist/client/assets/deferred-collab-rBe4nuQ2.css +0 -1
  504. package/dist/client/assets/deferred-preview-pe7Iwwx3.css +0 -1
  505. package/dist/client/assets/diagram-UQ7AKVKN-JevUZuYi.js +0 -41
  506. package/dist/client/assets/diagram-VX7I27RA-pSD4HMh1.js +0 -24
  507. package/dist/client/assets/diagram-Z3DM3KII-D8r1_CIb.js +0 -24
  508. package/dist/client/assets/direct-engine-DdrQKpgq-B5zIoeQw.js +0 -5
  509. package/dist/client/assets/dist-B3HdUPsK.js +0 -1
  510. package/dist/client/assets/dist-BIRygGYH.js +0 -1
  511. package/dist/client/assets/dist-BPyOlNLY.js +0 -2
  512. package/dist/client/assets/dist-ByhQbe-x.js +0 -1
  513. package/dist/client/assets/dist-C5NkYKAa.js +0 -1
  514. package/dist/client/assets/dist-CEirJSxk.js +0 -1
  515. package/dist/client/assets/dist-CRnJ0D9h.js +0 -1
  516. package/dist/client/assets/dist-CyNrloSI.js +0 -1
  517. package/dist/client/assets/dist-D60_kdpQ.js +0 -1
  518. package/dist/client/assets/dist-Hdhj3L3t.js +0 -1
  519. package/dist/client/assets/dist-gRRhmB-2.js +0 -6
  520. package/dist/client/assets/dist-kWb2d1CH.js +0 -1
  521. package/dist/client/assets/dist-l-56SowH.js +0 -19
  522. package/dist/client/assets/dist-sLzRQQk7.js +0 -1
  523. package/dist/client/assets/ebnfDiagram-PWID7BFC-UJ0Fz5ci.js +0 -1
  524. package/dist/client/assets/editor-session-4Bn81iWm.js +0 -14
  525. package/dist/client/assets/embedded-editor-base-jK221GC8.css +0 -1
  526. package/dist/client/assets/eventmodeling-NTZA5JFV-BR2FzK4R.js +0 -1
  527. package/dist/client/assets/excalidrawEditor-WIuguTz7.js +0 -9
  528. package/dist/client/assets/export-page-AN-wI5p4.js +0 -56
  529. package/dist/client/assets/exportDocument-B7IagJhQ.css +0 -1
  530. package/dist/client/assets/exportDocument-B9xNKpQe.js +0 -2
  531. package/dist/client/assets/file-search-DDLyyLDU.js +0 -1
  532. package/dist/client/assets/flowDiagram-HODETNUW-kb1lUSBo.js +0 -1
  533. package/dist/client/assets/forth-Cezjo90N.js +0 -1
  534. package/dist/client/assets/ganttDiagram-EL5Y4UJY-BBNzDfaV.js +0 -292
  535. package/dist/client/assets/gitGraph-4MIJSDKK-DYlXv_yJ.js +0 -1
  536. package/dist/client/assets/gitGraphDiagram-WWUBYQGX-Csf0Dm_1.js +0 -106
  537. package/dist/client/assets/graphlib-DS17s2tU.js +0 -1
  538. package/dist/client/assets/image-2QKV3NAF-BUbX0y5Y.js +0 -1
  539. package/dist/client/assets/index-BAmZnTFV.css +0 -1
  540. package/dist/client/assets/index-mWiw418b.js +0 -1111
  541. package/dist/client/assets/info-A6RAGUB7-BlU-8_xu.js +0 -1
  542. package/dist/client/assets/infoDiagram-27XIBGKW-Bzy6kCbb.js +0 -2
  543. package/dist/client/assets/javascript-BWjar7HY.js +0 -1
  544. package/dist/client/assets/javascript-D-FtdkNC.js +0 -1
  545. package/dist/client/assets/jsx-runtime-BpzPEenQ.js +0 -1
  546. package/dist/client/assets/line-DSWLHgpx.js +0 -1
  547. package/dist/client/assets/linear-n-3HSMUF.js +0 -1
  548. package/dist/client/assets/markdown-it-CocJWnjv.js +0 -13
  549. package/dist/client/assets/mermaid.core-C_FK-7n4.js +0 -1
  550. package/dist/client/assets/mermaid.core-D0cMM4Rl.js +0 -10
  551. package/dist/client/assets/packet-AYTQ26CC-BSJEH9Lb.js +0 -1
  552. package/dist/client/assets/pegDiagram-XKGWAZYB-DS6Ab21R.js +0 -1
  553. package/dist/client/assets/percentages-Q7USCRWZ-DWE6uvTs.js +0 -1
  554. package/dist/client/assets/pie-WAS4IAKB-qxv01Y8W.js +0 -1
  555. package/dist/client/assets/pieDiagram-E7YTZNPT-BbFe6Tgs.js +0 -39
  556. package/dist/client/assets/preview-render-compiler-C_7J7eia.js +0 -43
  557. package/dist/client/assets/preview-render-compiler-DzJ1KR_M.js +0 -1
  558. package/dist/client/assets/preview-render-worker-1DoIDllV.js +0 -59
  559. package/dist/client/assets/prod-D5TxmmoB.js +0 -1
  560. package/dist/client/assets/prod-pbFU4TaM.js +0 -145
  561. package/dist/client/assets/quick-switcher-controller-CUajuy78.js +0 -1
  562. package/dist/client/assets/radar-RG4KPBEZ-B6h6pWOs.js +0 -1
  563. package/dist/client/assets/railroad-74A4TZTK-CGtTWdGc.js +0 -1
  564. package/dist/client/assets/railroad-abnf-HS5TGJTU-Cq7y22IA.js +0 -1
  565. package/dist/client/assets/railroad-ebnf-LZEXJU2U-V0aQVv9m.js +0 -1
  566. package/dist/client/assets/railroad-peg-WCYAUIDC-BQiIsX_p.js +0 -1
  567. package/dist/client/assets/railroadDiagram-O6MQD6OU-CUQKqbCK.js +0 -1
  568. package/dist/client/assets/sankeyDiagram-P5KCCOFB-CcbMqrlQ.js +0 -40
  569. package/dist/client/assets/sl-SI-JRML4FIH-D53L_0S2.js +0 -6
  570. package/dist/client/assets/solr-BBopId9w.js +0 -1
  571. package/dist/client/assets/src-oBChb5qS.js +0 -1
  572. package/dist/client/assets/stateDiagram-D77RDMKH-DNi924hh.js +0 -1
  573. package/dist/client/assets/stateDiagram-v2-MP3YSRHH-C62JEwak.js +0 -1
  574. package/dist/client/assets/sv-SE-4ZPKFFXF-DT-G7RCI.js +0 -12
  575. package/dist/client/assets/swimlanes-42K2YHIH-ColgjSH4.js +0 -1
  576. package/dist/client/assets/swimlanesDiagram-VR7AAH4N-B9UZhEj4.js +0 -8
  577. package/dist/client/assets/th-TH-P7CTMGDK-6sy0NO7K.js +0 -1
  578. package/dist/client/assets/treeView-Q6P3EWNA-BTTYcvrF.js +0 -1
  579. package/dist/client/assets/treemap-WGGIJYW6-Cg7tyfH8.js +0 -1
  580. package/dist/client/assets/vennDiagram-4TSXK5OY-C5taziCX.js +0 -34
  581. package/dist/client/assets/wardley-WFR3VGLG-C6N1rULY.js +0 -1
  582. package/dist/client/assets/wiki-link-resolver-C2P_WmTV.js +0 -1
  583. package/dist/client/assets/xychartDiagram-S5SC5T6Z-D06X1arY.js +0 -7
  584. package/src/server/domain/collaboration/protocol.js +0 -6
@@ -0,0 +1,106 @@
1
+ import{p as e}from"./src-XiVvaevx.js";import{n as t}from"./chunk-Y2CYZVJY-BbRBGnmc.js";import{t as n}from"./chunk-X3CZISLH-DwWpRaN8.js";import{H as r,U as i,X as a,a as o,b as s,f as c,q as l,s as u,v as d,w as f,x as p,y as m}from"./chunk-O7XYJQB3-D0_ZY2za.js";import{t as h}from"./chunk-JWPE2WC7-GDilnS5Y.js";import{n as g}from"./mermaid-parser.core-DBy--Jc0.js";import{g as _,i as v,m as y}from"./chunk-ZIGJFQKS-b8OUHKK5.js";import{t as b}from"./chunk-2Q5K7J3B-BMFG3ur0.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},ee=c.gitGraph,S=t(()=>v({...ee,...s().gitGraph}),`getConfig`),C=new b(()=>{let e=S(),t=e.mainBranchName,n=e.mainBranchOrder;return{mainBranchName:t,commits:new Map,head:null,branchConfig:new Map([[t,{name:t,order:n}]]),branches:new Map([[t,null]]),currBranch:t,direction:`LR`,seq:0,options:{}}});function w(){return y({length:7})}t(w,`getID`);function T(e,t){let n=Object.create(null);return e.reduce((e,r)=>{let i=t(r);return n[i]||(n[i]=!0,e.push(r)),e},[])}t(T,`uniqBy`);var te=t(function(e){C.records.direction=e},`setDirection`),ne=t(function(e){n.debug(`options str`,e),e=e?.trim(),e||=`{}`;try{C.records.options=JSON.parse(e)}catch(e){n.error(`error while parsing gitGraph options`,e.message)}},`setOptions`),re=t(function(){return C.records.options},`getOptions`),ie=t(function(e){let t=e.msg,r=e.id,i=e.type,a=e.tags;n.info(`commit`,t,r,i,a),n.debug(`Entering commit:`,t,r,i,a);let o=S();r=u.sanitizeText(r,o),t=u.sanitizeText(t,o),a=a?.map(e=>u.sanitizeText(e,o));let s={id:r||C.records.seq+`-`+w(),message:t,seq:C.records.seq++,type:i??x.NORMAL,tags:a??[],parents:C.records.head==null?[]:[C.records.head.id],branch:C.records.currBranch};C.records.head=s,n.info(`main branch`,o.mainBranchName),C.records.commits.has(s.id)&&n.warn(`Commit ID ${s.id} already exists`),C.records.commits.set(s.id,s),C.records.branches.set(C.records.currBranch,s.id),n.debug(`in pushCommit `+s.id)},`commit`),ae=t(function(e){let t=e.name,r=e.order;if(t=u.sanitizeText(t,S()),C.records.branches.has(t))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${t}")`);C.records.branches.set(t,C.records.head==null?null:C.records.head.id),C.records.branchConfig.set(t,{name:t,order:r}),E(t),n.debug(`in createBranch`)},`branch`),oe=t(e=>{let t=e.branch,r=e.id,i=e.type,a=e.tags,o=S();t=u.sanitizeText(t,o),r&&=u.sanitizeText(r,o);let s=C.records.branches.get(C.records.currBranch),c=C.records.branches.get(t),l=s?C.records.commits.get(s):void 0,d=c?C.records.commits.get(c):void 0;if(l&&d&&l.branch===t)throw Error(`Cannot merge branch '${t}' into itself.`);if(C.records.currBranch===t){let e=Error(`Incorrect usage of "merge". Cannot merge a branch to itself`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`branch abc`]},e}if(l===void 0||!l){let e=Error(`Incorrect usage of "merge". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`commit`]},e}if(!C.records.branches.has(t)){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+t+`) does not exist`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`branch ${t}`]},e}if(d===void 0||!d){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+t+`) has no commits`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`"commit"`]},e}if(l===d){let e=Error(`Incorrect usage of "merge". Both branches have same head`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`branch abc`]},e}if(r&&C.records.commits.has(r)){let e=Error(`Incorrect usage of "merge". Commit with id:`+r+` already exists, use different custom id`);throw e.hash={text:`merge ${t} ${r} ${i} ${a?.join(` `)}`,token:`merge ${t} ${r} ${i} ${a?.join(` `)}`,expected:[`merge ${t} ${r}_UNIQUE ${i} ${a?.join(` `)}`]},e}let f=c||``,p={id:r||`${C.records.seq}-${w()}`,message:`merged branch ${t} into ${C.records.currBranch}`,seq:C.records.seq++,parents:C.records.head==null?[]:[C.records.head.id,f],branch:C.records.currBranch,type:x.MERGE,customType:i,customId:!!r,tags:a??[]};C.records.head=p,C.records.commits.set(p.id,p),C.records.branches.set(C.records.currBranch,p.id),n.debug(C.records.branches),n.debug(`in mergeBranch`)},`merge`),se=t(function(e){let t=e.id,r=e.targetId,i=e.tags,a=e.parent;n.debug(`Entering cherryPick:`,t,r,i);let o=S();if(t=u.sanitizeText(t,o),r=u.sanitizeText(r,o),i=i?.map(e=>u.sanitizeText(e,o)),a=u.sanitizeText(a,o),!t||!C.records.commits.has(t)){let e=Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);throw e.hash={text:`cherryPick ${t} ${r}`,token:`cherryPick ${t} ${r}`,expected:[`cherry-pick abc`]},e}let s=C.records.commits.get(t);if(s===void 0||!s)throw Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);if(a&&!(Array.isArray(s.parents)&&s.parents.includes(a)))throw Error(`Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.`);let c=s.branch;if(s.type===x.MERGE&&!a)throw Error(`Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.`);if(!r||!C.records.commits.has(r)){if(c===C.records.currBranch){let e=Error(`Incorrect usage of "cherryPick". Source commit is already on current branch`);throw e.hash={text:`cherryPick ${t} ${r}`,token:`cherryPick ${t} ${r}`,expected:[`cherry-pick abc`]},e}let e=C.records.branches.get(C.records.currBranch);if(e===void 0||!e){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${t} ${r}`,token:`cherryPick ${t} ${r}`,expected:[`cherry-pick abc`]},e}let o=C.records.commits.get(e);if(o===void 0||!o){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${t} ${r}`,token:`cherryPick ${t} ${r}`,expected:[`cherry-pick abc`]},e}let l={id:C.records.seq+`-`+w(),message:`cherry-picked ${s?.message} into ${C.records.currBranch}`,seq:C.records.seq++,parents:C.records.head==null?[]:[C.records.head.id,s.id],branch:C.records.currBranch,type:x.CHERRY_PICK,tags:i?i.filter(Boolean):[`cherry-pick:${s.id}${s.type===x.MERGE?`|parent:${a}`:``}`]};C.records.head=l,C.records.commits.set(l.id,l),C.records.branches.set(C.records.currBranch,l.id),n.debug(C.records.branches),n.debug(`in cherryPick`)}},`cherryPick`),E=t(function(e){if(e=u.sanitizeText(e,S()),C.records.branches.has(e)){C.records.currBranch=e;let t=C.records.branches.get(C.records.currBranch);t===void 0||!t?C.records.head=null:C.records.head=C.records.commits.get(t)??null}else{let t=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw t.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},t}},`checkout`);function D(e,t,n){let r=e.indexOf(t);r===-1?e.push(n):e.splice(r,1,n)}t(D,`upsert`);function O(e){let t=e.reduce((e,t)=>e.seq>t.seq?e:t,e[0]),r=``;e.forEach(function(e){r+=e===t?` *`:` |`});let i=[r,t.id,t.seq];for(let e in C.records.branches)C.records.branches.get(e)===t.id&&i.push(e);if(n.debug(i.join(` `)),t.parents&&t.parents.length==2&&t.parents[0]&&t.parents[1]){let n=C.records.commits.get(t.parents[0]);D(e,t,n),t.parents[1]&&e.push(C.records.commits.get(t.parents[1]))}else if(t.parents.length==0)return;else if(t.parents[0]){let n=C.records.commits.get(t.parents[0]);D(e,t,n)}e=T(e,e=>e.id),O(e)}t(O,`prettyPrintCommitHistory`);var ce=t(function(){n.debug(C.records.commits);let e=k()[0];O([e])},`prettyPrint`),le=t(function(){C.reset(),o()},`clear`),ue=t(function(){return[...C.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},`getBranchesAsObjArray`),de=t(function(){return C.records.branches},`getBranches`),fe=t(function(){return C.records.commits},`getCommits`),k=t(function(){let e=[...C.records.commits.values()];return e.forEach(function(e){n.debug(e.id)}),e.sort((e,t)=>e.seq-t.seq),e},`getCommitsArray`),A={commitType:x,getConfig:S,setDirection:te,setOptions:ne,getOptions:re,commit:ie,branch:ae,merge:oe,cherryPick:se,checkout:E,prettyPrint:ce,clear:le,getBranchesAsObjArray:ue,getBranches:de,getCommits:fe,getCommitsArray:k,getCurrentBranch:t(function(){return C.records.currBranch},`getCurrentBranch`),getDirection:t(function(){return C.records.direction},`getDirection`),getHead:t(function(){return C.records.head},`getHead`),setAccTitle:i,getAccTitle:m,getAccDescription:d,setAccDescription:r,setDiagramTitle:l,getDiagramTitle:f},pe=t((e,t)=>{h(e,t),e.dir&&t.setDirection(e.dir);for(let n of e.statements)me(n,t)},`populate`),me=t((e,r)=>{let i={Commit:t(e=>r.commit(he(e)),`Commit`),Branch:t(e=>r.branch(ge(e)),`Branch`),Merge:t(e=>r.merge(_e(e)),`Merge`),Checkout:t(e=>r.checkout(ve(e)),`Checkout`),CherryPicking:t(e=>r.cherryPick(ye(e)),`CherryPicking`)}[e.$type];i?i(e):n.error(`Unknown statement type: ${e.$type}`)},`parseStatement`),he=t(e=>({id:e.id,msg:e.message??``,type:e.type===void 0?x.NORMAL:x[e.type],tags:e.tags??void 0}),`parseCommit`),ge=t(e=>({name:e.name,order:e.order??0}),`parseBranch`),_e=t(e=>({branch:e.branch,id:e.id??``,type:e.type===void 0?void 0:x[e.type],tags:e.tags??void 0}),`parseMerge`),ve=t(e=>e.branch,`parseCheckout`),ye=t(e=>({id:e.id,targetId:``,tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),`parseCherryPicking`),be={parse:t(async e=>{let t=await g(`gitGraph`,e);n.debug(t),pe(t,A)},`parse`)},j=10,M=40,N=4,P=2,F=8,I=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]),L=12,R=new Set([`redux-color`,`redux-dark-color`]),xe=new Set([`dark`,`redux-dark`,`redux-dark-color`,`neo-dark`]),z=t((e,t,n=!1)=>n&&e>0?(e-1)%(t-1)+1:e%t,`calcColorIndex`),B=new Map,V=new Map,H=30,U=new Map,W=[],G=0,K=`LR`,q=t(()=>{B.clear(),V.clear(),U.clear(),G=0,W=[],K=`LR`},`clear`),J=t(e=>{let t=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);return(typeof e==`string`?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(e=>{let n=document.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);n.setAttributeNS(`http://www.w3.org/XML/1998/namespace`,`xml:space`,`preserve`),n.setAttribute(`dy`,`1em`),n.setAttribute(`x`,`0`),n.setAttribute(`class`,`row`),n.textContent=e.trim(),t.appendChild(n)}),t},`drawText`),Y=t(e=>{let n,r,i;return K===`BT`?(r=t((e,t)=>e<=t,`comparisonFunc`),i=1/0):(r=t((e,t)=>e>=t,`comparisonFunc`),i=0),e.forEach(e=>{let t=K===`TB`||K==`BT`?V.get(e)?.y:V.get(e)?.x;t!==void 0&&r(t,i)&&(n=e,i=t)}),n},`findClosestParent`),Se=t(e=>{let t=``,n=1/0;return e.forEach(e=>{let r=V.get(e).y;r<=n&&(t=e,n=r)}),t||void 0},`findClosestParentBT`),Ce=t((e,t,n)=>{let r=n,i=n,a=[];e.forEach(e=>{let n=t.get(e);if(!n)throw Error(`Commit not found for key ${e}`);n.parents.length?(r=Te(n),i=Math.max(r,i)):a.push(n),Ee(n,r)}),r=i,a.forEach(e=>{De(e,r,n)}),e.forEach(e=>{let n=t.get(e);if(n?.parents.length){let e=Se(n.parents);r=V.get(e).y-M,r<=i&&(i=r);let t=B.get(n.branch).pos,a=r-j;V.set(n.id,{x:t,y:a})}})},`setParallelBTPos`),we=t(e=>{let t=Y(e.parents.filter(e=>e!==null));if(!t)throw Error(`Closest parent not found for commit ${e.id}`);let n=V.get(t)?.y;if(n===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return n},`findClosestParentPos`),Te=t(e=>we(e)+M,`calculateCommitPosition`),Ee=t((e,t)=>{let n=B.get(e.branch);if(!n)throw Error(`Branch not found for commit ${e.id}`);let r=n.pos,i=t+j;return V.set(e.id,{x:r,y:i}),{x:r,y:i}},`setCommitPosition`),De=t((e,t,n)=>{let r=B.get(e.branch);if(!r)throw Error(`Branch not found for commit ${e.id}`);let i=t+n,a=r.pos;V.set(e.id,{x:a,y:i})},`setRootPosition`),Oe=t((e,t,n,r,i,a)=>{let{theme:o}=p(),s=I.has(o??``),c=R.has(o??``),l=xe.has(o??``);if(a===x.HIGHLIGHT)e.append(`rect`).attr(`x`,n.x-10+(s?3:0)).attr(`y`,n.y-10+(s?3:0)).attr(`width`,s?14:20).attr(`height`,s?14:20).attr(`class`,`commit ${t.id} commit-highlight${z(i,F,c)} ${r}-outer`),e.append(`rect`).attr(`x`,n.x-6+(s?2:0)).attr(`y`,n.y-6+(s?2:0)).attr(`width`,s?8:12).attr(`height`,s?8:12).attr(`class`,`commit ${t.id} commit${z(i,F,c)} ${r}-inner`);else if(a===x.CHERRY_PICK)e.append(`circle`).attr(`cx`,n.x).attr(`cy`,n.y).attr(`r`,s?7:10).attr(`class`,`commit ${t.id} ${r}`),e.append(`circle`).attr(`cx`,n.x-3).attr(`cy`,n.y+2).attr(`r`,s?2.5:2.75).attr(`fill`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`circle`).attr(`cx`,n.x+3).attr(`cy`,n.y+2).attr(`r`,s?2.5:2.75).attr(`fill`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`line`).attr(`x1`,n.x+3).attr(`y1`,n.y+1).attr(`x2`,n.x).attr(`y2`,n.y-5).attr(`stroke`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`line`).attr(`x1`,n.x-3).attr(`y1`,n.y+1).attr(`x2`,n.x).attr(`y2`,n.y-5).attr(`stroke`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`);else{let o=e.append(`circle`);if(o.attr(`cx`,n.x),o.attr(`cy`,n.y),o.attr(`r`,s?7:10),o.attr(`class`,`commit ${t.id} commit${z(i,F,c)}`),a===x.MERGE){let a=e.append(`circle`);a.attr(`cx`,n.x),a.attr(`cy`,n.y),a.attr(`r`,s?5:6),a.attr(`class`,`commit ${r} ${t.id} commit${z(i,F,c)}`)}if(a===x.REVERSE){let a=e.append(`path`),o=s?4:5;a.attr(`d`,`M ${n.x-o},${n.y-o}L${n.x+o},${n.y+o}M${n.x-o},${n.y+o}L${n.x+o},${n.y-o}`).attr(`class`,`commit ${r} ${t.id} commit${z(i,F,c)}`)}}},`drawCommitBullet`),ke=t((e,t,n,r,i)=>{if(t.type!==x.CHERRY_PICK&&(t.customId&&t.type===x.MERGE||t.type!==x.MERGE)&&i.showCommitLabel){let a=e.append(`g`),o=a.insert(`rect`).attr(`class`,`commit-label-bkg`),s=a.append(`text`).attr(`x`,r).attr(`y`,n.y+25).attr(`class`,`commit-label`).text(t.id),c=s.node()?.getBBox();if(c&&(o.attr(`x`,n.posWithOffset-c.width/2-P).attr(`y`,n.y+13.5).attr(`width`,c.width+2*P).attr(`height`,c.height+2*P),K===`TB`||K===`BT`?(o.attr(`x`,n.x-(c.width+4*N+5)).attr(`y`,n.y-12),s.attr(`x`,n.x-(c.width+4*N)).attr(`y`,n.y+c.height-12)):s.attr(`x`,n.posWithOffset-c.width/2),i.rotateCommitLabel)){if(K===`TB`||K===`BT`)s.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`),o.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`);else{let e=-7.5-(c.width+10)/25*9.5,t=10+c.width/25*8.5;a.attr(`transform`,`translate(`+e+`, `+t+`) rotate(-45, `+r+`, `+n.y+`)`)}}}},`drawCommitLabel`),Ae=t((e,t,n,r)=>{if(t.tags.length>0){let i=0,a=0,o=0,s=[];for(let r of t.tags.reverse()){let t=e.insert(`polygon`),c=e.append(`circle`),l=e.append(`text`).attr(`y`,n.y-16-i).attr(`class`,`tag-label`).text(r),u=l.node()?.getBBox();if(!u)throw Error(`Tag bbox not found`);a=Math.max(a,u.width),o=Math.max(o,u.height),l.attr(`x`,n.posWithOffset-u.width/2),s.push({tag:l,hole:c,rect:t,yOffset:i}),i+=20}for(let{tag:e,hole:t,rect:i,yOffset:c}of s){let s=o/2,l=n.y-19.2-c;if(i.attr(`class`,`tag-label-bkg`).attr(`points`,`
2
+ ${r-a/2-N/2},${l+P}
3
+ ${r-a/2-N/2},${l-P}
4
+ ${n.posWithOffset-a/2-N},${l-s-P}
5
+ ${n.posWithOffset+a/2+N},${l-s-P}
6
+ ${n.posWithOffset+a/2+N},${l+s+P}
7
+ ${n.posWithOffset-a/2-N},${l+s+P}`),t.attr(`cy`,l).attr(`cx`,r-a/2+N/2).attr(`r`,1.5).attr(`class`,`tag-hole`),K===`TB`||K===`BT`){let o=r+c;i.attr(`class`,`tag-label-bkg`).attr(`points`,`
8
+ ${n.x},${o+2}
9
+ ${n.x},${o-2}
10
+ ${n.x+j},${o-s-2}
11
+ ${n.x+j+a+4},${o-s-2}
12
+ ${n.x+j+a+4},${o+s+2}
13
+ ${n.x+j},${o+s+2}`).attr(`transform`,`translate(12,12) rotate(45, `+n.x+`,`+r+`)`),t.attr(`cx`,n.x+N/2).attr(`cy`,o).attr(`transform`,`translate(12,12) rotate(45, `+n.x+`,`+r+`)`),e.attr(`x`,n.x+5).attr(`y`,o+3).attr(`transform`,`translate(14,14) rotate(45, `+n.x+`,`+r+`)`)}}}},`drawCommitTags`),je=t(e=>{switch(e.customType??e.type){case x.NORMAL:return`commit-normal`;case x.REVERSE:return`commit-reverse`;case x.HIGHLIGHT:return`commit-highlight`;case x.MERGE:return`commit-merge`;case x.CHERRY_PICK:return`commit-cherry-pick`;default:return`commit-normal`}},`getCommitClassType`),Me=t((e,t,n,r)=>{let i={x:0,y:0};if(e.parents.length>0){let n=Y(e.parents);if(n){let a=r.get(n)??i;return t===`TB`?a.y+M:t===`BT`?(r.get(e.id)??i).y-M:a.x+M}}else if(t===`TB`)return H;else if(t===`BT`)return(r.get(e.id)??i).y-M;else return 0;return 0},`calculatePosition`),Ne=t((e,t,n)=>{let r=K===`BT`&&n?t:t+j,i=B.get(e.branch)?.pos,a=K===`TB`||K===`BT`?B.get(e.branch)?.pos:r;if(a===void 0||i===void 0)throw Error(`Position were undefined for commit ${e.id}`);let o=I.has(p().theme??``);return{x:a,y:K===`TB`||K===`BT`?r:i+(o?L/2+1:-2),posWithOffset:r}},`getCommitPosition`),X=t((e,n,r,i)=>{let a=e.append(`g`).attr(`class`,`commit-bullets`),o=e.append(`g`).attr(`class`,`commit-labels`),s=K===`TB`||K===`BT`?H:0,c=[...n.keys()],l=i.parallelCommits??!1,u=t((e,t)=>{let r=n.get(e)?.seq,i=n.get(t)?.seq;return r!==void 0&&i!==void 0?r-i:0},`sortKeys`),d=c.sort(u);K===`BT`&&(l&&Ce(d,n,s),d=d.reverse()),d.forEach(e=>{let t=n.get(e);if(!t)throw Error(`Commit not found for key ${e}`);l&&(s=Me(t,K,s,V));let c=Ne(t,s,l);if(r){let e=je(t),n=t.customType??t.type,r=B.get(t.branch)?.index??0;Oe(a,t,c,e,r,n),ke(o,t,c,s,i),Ae(o,t,c,s)}K===`TB`||K===`BT`?V.set(t.id,{x:c.x,y:c.posWithOffset}):V.set(t.id,{x:c.posWithOffset,y:c.y}),s=K===`BT`&&l?s+M:s+M+j,s>G&&(G=s)})},`drawCommits`),Pe=t((e,n,r,i,a)=>{let o=(K===`TB`||K===`BT`?r.x<i.x:r.y<i.y)?n.branch:e.branch,s=t(e=>e.branch===o,`isOnBranchToGetCurve`),c=t(t=>t.seq>e.seq&&t.seq<n.seq,`isBetweenCommits`);return[...a.values()].some(e=>c(e)&&s(e))},`shouldRerouteArrow`),Z=t((e,t,n=0)=>{let r=e+Math.abs(e-t)/2;return n>5?r:W.every(e=>Math.abs(e-r)>=10)?(W.push(r),r):Z(e,t-Math.abs(e-t)/5,n+1)},`findLane`),Fe=t((e,t,n,r)=>{let{theme:i}=p(),a=R.has(i??``),o=V.get(t.id),s=V.get(n.id);if(o===void 0||s===void 0)throw Error(`Commit positions not found for commits ${t.id} and ${n.id}`);let c=Pe(t,n,o,s,r),l=``,u=``,d=0,f=0,m=B.get(n.branch)?.index;n.type===x.MERGE&&t.id!==n.parents[0]&&(m=B.get(t.branch)?.index);let h;if(c){l=`A 10 10, 0, 0, 0,`,u=`A 10 10, 0, 0, 1,`,d=10,f=10;let e=o.y<s.y?Z(o.y,s.y):Z(s.y,o.y),n=o.x<s.x?Z(o.x,s.x):Z(s.x,o.x);K===`TB`?o.x<s.x?h=`M ${o.x} ${o.y} L ${n-d} ${o.y} ${u} ${n} ${o.y+f} L ${n} ${s.y-d} ${l} ${n+f} ${s.y} L ${s.x} ${s.y}`:(m=B.get(t.branch)?.index,h=`M ${o.x} ${o.y} L ${n+d} ${o.y} ${l} ${n} ${o.y+f} L ${n} ${s.y-d} ${u} ${n-f} ${s.y} L ${s.x} ${s.y}`):K===`BT`?o.x<s.x?h=`M ${o.x} ${o.y} L ${n-d} ${o.y} ${l} ${n} ${o.y-f} L ${n} ${s.y+d} ${u} ${n+f} ${s.y} L ${s.x} ${s.y}`:(m=B.get(t.branch)?.index,h=`M ${o.x} ${o.y} L ${n+d} ${o.y} ${u} ${n} ${o.y-f} L ${n} ${s.y+d} ${l} ${n-f} ${s.y} L ${s.x} ${s.y}`):o.y<s.y?h=`M ${o.x} ${o.y} L ${o.x} ${e-d} ${l} ${o.x+f} ${e} L ${s.x-d} ${e} ${u} ${s.x} ${e+f} L ${s.x} ${s.y}`:(m=B.get(t.branch)?.index,h=`M ${o.x} ${o.y} L ${o.x} ${e+d} ${u} ${o.x+f} ${e} L ${s.x-d} ${e} ${l} ${s.x} ${e-f} L ${s.x} ${s.y}`)}else l=`A 20 20, 0, 0, 0,`,u=`A 20 20, 0, 0, 1,`,d=20,f=20,K===`TB`?(o.x<s.x&&(h=n.type===x.MERGE&&t.id!==n.parents[0]?`M ${o.x} ${o.y} L ${o.x} ${s.y-d} ${l} ${o.x+f} ${s.y} L ${s.x} ${s.y}`:`M ${o.x} ${o.y} L ${s.x-d} ${o.y} ${u} ${s.x} ${o.y+f} L ${s.x} ${s.y}`),o.x>s.x&&(l=`A 20 20, 0, 0, 0,`,u=`A 20 20, 0, 0, 1,`,d=20,f=20,h=n.type===x.MERGE&&t.id!==n.parents[0]?`M ${o.x} ${o.y} L ${o.x} ${s.y-d} ${u} ${o.x-f} ${s.y} L ${s.x} ${s.y}`:`M ${o.x} ${o.y} L ${s.x+d} ${o.y} ${l} ${s.x} ${o.y+f} L ${s.x} ${s.y}`),o.x===s.x&&(h=`M ${o.x} ${o.y} L ${s.x} ${s.y}`)):K===`BT`?(o.x<s.x&&(h=n.type===x.MERGE&&t.id!==n.parents[0]?`M ${o.x} ${o.y} L ${o.x} ${s.y+d} ${u} ${o.x+f} ${s.y} L ${s.x} ${s.y}`:`M ${o.x} ${o.y} L ${s.x-d} ${o.y} ${l} ${s.x} ${o.y-f} L ${s.x} ${s.y}`),o.x>s.x&&(l=`A 20 20, 0, 0, 0,`,u=`A 20 20, 0, 0, 1,`,d=20,f=20,h=n.type===x.MERGE&&t.id!==n.parents[0]?`M ${o.x} ${o.y} L ${o.x} ${s.y+d} ${l} ${o.x-f} ${s.y} L ${s.x} ${s.y}`:`M ${o.x} ${o.y} L ${s.x+d} ${o.y} ${u} ${s.x} ${o.y-f} L ${s.x} ${s.y}`),o.x===s.x&&(h=`M ${o.x} ${o.y} L ${s.x} ${s.y}`)):(o.y<s.y&&(h=n.type===x.MERGE&&t.id!==n.parents[0]?`M ${o.x} ${o.y} L ${s.x-d} ${o.y} ${u} ${s.x} ${o.y+f} L ${s.x} ${s.y}`:`M ${o.x} ${o.y} L ${o.x} ${s.y-d} ${l} ${o.x+f} ${s.y} L ${s.x} ${s.y}`),o.y>s.y&&(h=n.type===x.MERGE&&t.id!==n.parents[0]?`M ${o.x} ${o.y} L ${s.x-d} ${o.y} ${l} ${s.x} ${o.y-f} L ${s.x} ${s.y}`:`M ${o.x} ${o.y} L ${o.x} ${s.y+d} ${u} ${o.x+f} ${s.y} L ${s.x} ${s.y}`),o.y===s.y&&(h=`M ${o.x} ${o.y} L ${s.x} ${s.y}`));if(h===void 0)throw Error(`Line definition not found`);e.append(`path`).attr(`d`,h).attr(`class`,`arrow arrow`+z(m,F,a))},`drawArrow`),Ie=t((e,t)=>{let n=e.append(`g`).attr(`class`,`commit-arrows`);[...t.keys()].forEach(e=>{let r=t.get(e);r.parents&&r.parents.length>0&&r.parents.forEach(e=>{Fe(n,t.get(e),r,t)})})},`drawArrows`),Le=t((e,t,n,r)=>{let{look:i,theme:a,themeVariables:o}=p(),{dropShadow:s,THEME_COLOR_LIMIT:c}=o,l=I.has(a??``),u=R.has(a??``),d=e.append(`g`);t.forEach((e,t)=>{let a=z(t,l?c:F,u),o=B.get(e.name)?.pos;if(o===void 0)throw Error(`Position not found for branch ${e.name}`);let f=K===`TB`||K===`BT`?o:l?o+L/2+1:o-2,p=d.append(`line`);p.attr(`x1`,0),p.attr(`y1`,f),p.attr(`x2`,G),p.attr(`y2`,f),p.attr(`class`,`branch branch`+a),K===`TB`?(p.attr(`y1`,H),p.attr(`x1`,o),p.attr(`y2`,G),p.attr(`x2`,o)):K===`BT`&&(p.attr(`y1`,G),p.attr(`x1`,o),p.attr(`y2`,H),p.attr(`x2`,o)),W.push(f);let m=e.name,h=J(m),g=d.insert(`rect`),_=d.insert(`g`).attr(`class`,`branchLabel`).insert(`g`).attr(`class`,`label branch-label`+a);_.node().appendChild(h);let v=h.getBBox(),y=l?0:4,b=l?16:0,x=l?L:0;i===`neo`&&g.attr(`data-look`,`neo`),g.attr(`class`,`branchLabelBkg label`+a).attr(`style`,i===`neo`?`filter:${l?`url(#${r}-drop-shadow)`:s}`:``).attr(`rx`,y).attr(`ry`,y).attr(`x`,-v.width-4-(n.rotateCommitLabel===!0?30:0)).attr(`y`,-v.height/2+10).attr(`width`,v.width+18+b).attr(`height`,v.height+4+x),_.attr(`transform`,`translate(`+(-v.width-14-(n.rotateCommitLabel===!0?30:0)+b/2)+`, `+(f-v.height/2-2)+`)`),K===`TB`?(g.attr(`x`,o-v.width/2-10).attr(`y`,0),_.attr(`transform`,`translate(`+(o-v.width/2-5)+`, 0)`),l&&(g.attr(`transform`,`translate(${-b/2-3}, ${-x-10})`),_.attr(`transform`,`translate(`+(o-v.width/2-5)+`, `+(-x*2+7)+`)`))):K===`BT`?(g.attr(`x`,o-v.width/2-10).attr(`y`,G),_.attr(`transform`,`translate(`+(o-v.width/2-5)+`, `+G+`)`),l&&(g.attr(`transform`,`translate(${-b/2-3}, ${x+10})`),_.attr(`transform`,`translate(`+(o-v.width/2-5)+`, `+(G+x*2+4)+`)`))):g.attr(`transform`,`translate(-19, `+(f-12-x/2)+`)`)})},`drawBranches`),Re=t(function(e,t,n,r,i){return B.set(e,{pos:t,index:n}),t+=50+(i?40:0)+(K===`TB`||K===`BT`?r.width/2:0),t},`setBranchPosition`),ze={draw:t(function(t,r,i,o){q(),n.debug(`in gitgraph renderer`,t+`
14
+ `,`id:`,r,i);let s=o.db;if(!s.getConfig){n.error(`getConfig method is not available on db`);return}let c=s.getConfig(),l=c.rotateCommitLabel??!1;U=s.getCommits();let u=s.getBranchesAsObjArray();K=s.getDirection();let d=e(`[id="${r}"]`),{look:f,theme:m,themeVariables:h}=p(),{useGradient:g,gradientStart:v,gradientStop:y,filterColor:b}=h;if(g){let e=d.append(`defs`).append(`linearGradient`).attr(`id`,r+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,v).attr(`stop-opacity`,1),e.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,y).attr(`stop-opacity`,1)}f===`neo`&&I.has(m??``)&&d.append(`defs`).append(`filter`).attr(`id`,r+`-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,b);let x=0;u.forEach((e,t)=>{let n=J(e.name),r=d.append(`g`),i=r.insert(`g`).attr(`class`,`branchLabel`),a=i.insert(`g`).attr(`class`,`label branch-label`);a.node()?.appendChild(n);let o=n.getBBox();x=Re(e.name,x,t,o,l),a.remove(),i.remove(),r.remove()}),X(d,U,!1,c),c.showBranches&&Le(d,u,c,r),Ie(d,U),X(d,U,!0,c),_.insertTitle(d,`gitTitleText`,c.titleTopMargin??0,s.getDiagramTitle()),a(void 0,d,c.diagramPadding,c.useMaxWidth)},`draw`)},Q=8,$=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]),Be=new Set([`redux-color`,`redux-dark-color`]),Ve=new Set([`neo`,`neo-dark`]),He=new Set([`dark`,`redux-dark`,`redux-dark-color`,`neo-dark`]),Ue=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`,`neo`,`neo-dark`]),We=t(e=>{let{svgId:t}=e,n=``;if(e.useGradient&&t)for(let r=0;r<e.THEME_COLOR_LIMIT;r++)n+=`
15
+ .label${r} { fill: ${e.mainBkg}; stroke: url(${t}-gradient); stroke-width: ${e.strokeWidth};}
16
+ `;return n},`genGitGraphGradient`),Ge=t(e=>{let{theme:t,themeVariables:n}=s(),{borderColorArray:r}=n,i=$.has(t);if(Ve.has(t)){let t=``;for(let n=0;n<e.THEME_COLOR_LIMIT;n++)if(n===0)t+=`
17
+ .branch-label${n} { fill: ${e.nodeBorder};}
18
+ .commit${n} { stroke: ${e.nodeBorder}; }
19
+ .commit-highlight${n} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
20
+ .arrow${n} { stroke: ${e.nodeBorder}; }
21
+ .commit-bullets { fill: ${e.nodeBorder}; }
22
+ .commit-cherry-pick${n} { stroke: ${e.nodeBorder}; }
23
+ ${We(e)}`;else{let r=n%Q;t+=`
24
+ .branch-label${n} { fill: ${e[`gitBranchLabel`+r]}; }
25
+ .commit${n} { stroke: ${e[`git`+r]}; fill: ${e[`git`+r]}; }
26
+ .commit-highlight${n} { stroke: ${e[`gitInv`+r]}; fill: ${e[`gitInv`+r]}; }
27
+ .arrow${n} { stroke: ${e[`git`+r]}; }
28
+ `}return t}if(Be.has(t)){let n=``;for(let a=0;a<e.THEME_COLOR_LIMIT;a++)if(a===0)n+=`
29
+ .branch-label${a} { fill: ${e.nodeBorder}; ${i?`font-weight:${e.noteFontWeight}`:``} }
30
+ .commit${a} { stroke: ${e.nodeBorder}; }
31
+ .commit-highlight${a} { stroke: ${e.nodeBorder}; fill: ${e.mainBkg}; }
32
+ .label${a} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${i?`font-weight:${e.noteFontWeight}`:``} }
33
+ .arrow${a} { stroke: ${e.nodeBorder}; }
34
+ .commit-bullets { fill: ${e.nodeBorder}; }
35
+ `;else{let o=a%r.length;n+=`
36
+ .branch-label${a} { fill: ${e.nodeBorder}; ${i?`font-weight:${e.noteFontWeight}`:``} }
37
+ .commit${a} { stroke: ${r[o]}; fill: ${r[o]}; }
38
+ .commit-highlight${a} { stroke: ${r[o]}; fill: ${r[o]}; }
39
+ .label${a} { fill: ${He.has(t)?e.mainBkg:r[o]}; stroke: ${r[o]}; stroke-width: ${e.strokeWidth}; }
40
+ .arrow${a} { stroke: ${r[o]}; }
41
+ `}return n}{let t=``;for(let n=0;n<e.THEME_COLOR_LIMIT;n++)t+=`
42
+ .branch-label${n} { fill: ${e.nodeBorder}; ${i?`font-weight:${e.noteFontWeight}`:``} }
43
+ .commit${n} { stroke: ${e.nodeBorder}; }
44
+ .commit-highlight${n} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
45
+ .label${n} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${i?`font-weight:${e.noteFontWeight}`:``}}
46
+ .arrow${n} { stroke: ${e.nodeBorder}; }
47
+ .commit-bullets { fill: ${e.nodeBorder}; }
48
+ .commit-cherry-pick${n} { stroke: ${e.nodeBorder}; }
49
+ `;return t}},`genColor`),Ke=t(e=>`${Array.from({length:e.THEME_COLOR_LIMIT},(e,t)=>t).map(t=>{let n=t%Q;return`
50
+ .branch-label${t} { fill: ${e[`gitBranchLabel`+n]}; }
51
+ .commit${t} { stroke: ${e[`git`+n]}; fill: ${e[`git`+n]}; }
52
+ .commit-highlight${t} { stroke: ${e[`gitInv`+n]}; fill: ${e[`gitInv`+n]}; }
53
+ .label${t} { fill: ${e[`git`+n]}; }
54
+ .arrow${t} { stroke: ${e[`git`+n]}; }
55
+ `}).join(`
56
+ `)}`,`normalTheme`),qe={parser:be,db:A,renderer:ze,styles:t(e=>{let{theme:t}=s(),n=Ue.has(t);return`
57
+ .commit-id,
58
+ .commit-msg,
59
+ .branch-label {
60
+ fill: lightgrey;
61
+ color: lightgrey;
62
+ font-family: 'trebuchet ms', verdana, arial, sans-serif;
63
+ font-family: var(--mermaid-font-family);
64
+ }
65
+
66
+ ${n?Ge(e):Ke(e)}
67
+
68
+ .branch {
69
+ stroke-width: ${e.strokeWidth};
70
+ stroke: ${e.commitLineColor??e.lineColor};
71
+ stroke-dasharray: ${n?`4 2`:`2`};
72
+ }
73
+ .commit-label { font-size: ${e.commitLabelFontSize}; fill: ${n?e.nodeBorder:e.commitLabelColor}; ${n?`font-weight:${e.noteFontWeight};`:``}}
74
+ .commit-label-bkg { font-size: ${e.commitLabelFontSize}; fill: ${n?`transparent`:e.commitLabelBackground}; opacity: ${n?``:.5}; }
75
+ .tag-label { font-size: ${e.tagLabelFontSize}; fill: ${e.tagLabelColor};}
76
+ .tag-label-bkg { fill: ${n?e.mainBkg:e.tagLabelBackground}; stroke: ${n?e.nodeBorder:e.tagLabelBorder}; ${n?`filter:${e.dropShadow}`:``} }
77
+ .tag-hole { fill: ${e.textColor}; }
78
+
79
+ .commit-merge {
80
+ stroke: ${n?e.mainBkg:e.primaryColor};
81
+ fill: ${n?e.mainBkg:e.primaryColor};
82
+ }
83
+ .commit-reverse {
84
+ stroke: ${n?e.mainBkg:e.primaryColor};
85
+ fill: ${n?e.mainBkg:e.primaryColor};
86
+ stroke-width: ${n?e.strokeWidth:3};
87
+ }
88
+ .commit-highlight-outer {
89
+ }
90
+ .commit-highlight-inner {
91
+ stroke: ${n?e.mainBkg:e.primaryColor};
92
+ fill: ${n?e.mainBkg:e.primaryColor};
93
+ }
94
+
95
+ .arrow {
96
+ /* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
97
+ stroke-width: ${$.has(t)?e.strokeWidth:8};
98
+ stroke-linecap: round;
99
+ fill: none
100
+ }
101
+ .gitTitleText {
102
+ text-anchor: middle;
103
+ font-size: 18px;
104
+ fill: ${e.textColor};
105
+ }
106
+ `},`getStyles`)};export{qe as diagram};
@@ -0,0 +1 @@
1
+ import{A as e,I as t,a as n,at as r,c as i,d as a,i as o,n as s,o as c,q as l,r as u,rt as d,t as f}from"./_baseUniq-DR4vVjyC.js";var p=l(function(t){return f(e(t,1,a,!0))}),m=`\0`,h=`\0`,g=``,_=class{constructor(e={}){this._isDirected=!Object.prototype.hasOwnProperty.call(e,`directed`)||e.directed,this._isMultigraph=Object.prototype.hasOwnProperty.call(e,`multigraph`)?e.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(e,`compound`)?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=d(void 0),this._defaultEdgeLabelFn=d(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[h]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return r(e)||(e=d(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return t(this._nodes)}sources(){var e=this;return c(this.nodes(),function(t){return o(e._in[t])})}sinks(){var e=this;return c(this.nodes(),function(t){return o(e._out[t])})}setNodes(e,t){var n=arguments,r=this;return i(e,function(e){n.length>1?r.setNode(e,t):r.setNode(e)}),this}setNode(e,t){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=h,this._children[e]={},this._children[h][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var n=e=>this.removeEdge(this._edgeObjs[e]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],i(this.children(e),e=>{this.setParent(e)}),delete this._children[e]),i(t(this._in[e]),n),delete this._in[e],delete this._preds[e],i(t(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw Error(`Cannot set parent in a non-compound graph`);if(u(t))t=h;else{t+=``;for(var n=t;!u(n);n=this.parent(n))if(n===e)throw Error(`Setting `+t+` as parent of `+e+` would create a cycle`);this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==h)return t}}children(e){if(u(e)&&(e=h),this._isCompound){var n=this._children[e];if(n)return t(n)}else if(e===h)return this.nodes();else if(this.hasNode(e))return[]}predecessors(e){var n=this._preds[e];if(n)return t(n)}successors(e){var n=this._sucs[e];if(n)return t(n)}neighbors(e){var t=this.predecessors(e);if(t)return p(t,this.successors(e))}isLeaf(e){return(this.isDirected()?this.successors(e):this.neighbors(e)).length===0}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;i(this._nodes,function(n,r){e(r)&&t.setNode(r,n)}),i(this._edgeObjs,function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))});var r={};function a(e){var i=n.parent(e);return i===void 0||t.hasNode(i)?(r[e]=i,i):i in r?r[i]:a(i)}return this._isCompound&&i(t.nodes(),function(e){t.setParent(e,a(e))}),t}setDefaultEdgeLabel(e){return r(e)||(e=d(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return n(this._edgeObjs)}setPath(e,t){var n=this,r=arguments;return s(e,function(e,i){return r.length>1?n.setEdge(e,i,t):n.setEdge(e,i),i}),this}setEdge(){var e,t,n,r,i=!1,a=arguments[0];typeof a==`object`&&a&&`v`in a?(e=a.v,t=a.w,n=a.name,arguments.length===2&&(r=arguments[1],i=!0)):(e=a,t=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),e=``+e,t=``+t,u(n)||(n=``+n);var o=b(this._isDirected,e,t,n);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,o))return i&&(this._edgeLabels[o]=r),this;if(!u(n)&&!this._isMultigraph)throw Error(`Cannot set a named edge when isMultigraph = false`);this.setNode(e),this.setNode(t),this._edgeLabels[o]=i?r:this._defaultEdgeLabelFn(e,t,n);var s=x(this._isDirected,e,t,n);return e=s.v,t=s.w,Object.freeze(s),this._edgeObjs[o]=s,v(this._preds[t],e),v(this._sucs[e],t),this._in[t][o]=s,this._out[e][o]=s,this._edgeCount++,this}edge(e,t,n){var r=arguments.length===1?S(this._isDirected,arguments[0]):b(this._isDirected,e,t,n);return this._edgeLabels[r]}hasEdge(e,t,n){var r=arguments.length===1?S(this._isDirected,arguments[0]):b(this._isDirected,e,t,n);return Object.prototype.hasOwnProperty.call(this._edgeLabels,r)}removeEdge(e,t,n){var r=arguments.length===1?S(this._isDirected,arguments[0]):b(this._isDirected,e,t,n),i=this._edgeObjs[r];return i&&(e=i.v,t=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],y(this._preds[t],e),y(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,t){var r=this._in[e];if(r){var i=n(r);return t?c(i,function(e){return e.v===t}):i}}outEdges(e,t){var r=this._out[e];if(r){var i=n(r);return t?c(i,function(e){return e.w===t}):i}}nodeEdges(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}};_.prototype._nodeCount=0,_.prototype._edgeCount=0;function v(e,t){e[t]?e[t]++:e[t]=1}function y(e,t){--e[t]||delete e[t]}function b(e,t,n,r){var i=``+t,a=``+n;if(!e&&i>a){var o=i;i=a,a=o}return i+g+a+g+(u(r)?m:r)}function x(e,t,n,r){var i=``+t,a=``+n;if(!e&&i>a){var o=i;i=a,a=o}var s={v:i,w:a};return r&&(s.name=r),s}function S(e,t){return b(e,t.v,t.w,t.name)}export{_ as t};
@@ -10,7 +10,7 @@ Expected it to be ${r}.`}var be=class extends Error{name=`InvalidDocError`;const
10
10
  ${t}`,n),a=r;if(a||=t===`+++`?`toml`:`yaml`,i===-1&&t===`---`&&a===`yaml`&&(i=e.indexOf(`
11
11
  ...`,n)),i===-1)return;let o=i+1+ut,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(-ut),raw:c,start:{line:1,column:0,index:0},end:{index:c.length,get line(){return l??=c.split(`
12
12
  `),l.length},get column(){return l??=c.split(`
13
- `),p(0,l,-1).length}},[at]:!0}}function ft(e){let t=dt(e);return t?{frontMatter:t,get content(){let{raw:n}=t;return lt(n)+e.slice(n.length)}}:{content:e}}var pt=ft,mt=`inline`,ht={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`},gt=`normal`,_t={listing:`pre`,plaintext:`pre`,pre:`pre`,xmp:`pre`,nobr:`nowrap`,table:`initial`,textarea:`pre-wrap`};function vt(e){return e.kind===`element`&&!e.hasExplicitNamespace&&![`html`,`svg`].includes(e.namespace)}var yt=vt,bt=e=>d(0,e,/^[\t\f\r ]*\n/g,``),xt=e=>bt(T.trimEnd(e)),St=e=>{let t=e,n=T.getLeadingWhitespace(t);n&&(t=t.slice(n.length));let r=T.getTrailingWhitespace(t);return r&&(t=t.slice(0,-r.length)),{leadingWhitespace:n,trailingWhitespace:r,text:t}};function Ct(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`)||sn(e,t)&&!A(e,t)&&e.kind!==`interpolation`)}function wt(e){return e.kind===`attribute`||!e.parent||!e.prev?!1:Tt(e.prev)}function Tt(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`||yt(e)&&(e.name===`script`||e.name===`style`))}function Et(e,t){return e.children&&!A(e,t)}function Dt(e,t){return A(e,t)||e.kind===`interpolation`||Ot(e)}function Ot(e){return nn(e).startsWith(`pre`)}function kt(e,t){let n=r();if(n&&!e.prev&&e.parent?.tagDefinition?.ignoreFirstLf)return e.kind===`interpolation`;return n;function r(){return st(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)||on(e.parent,t)||!Yt(e.parent.cssDisplay))||e.prev&&!Qt(e.prev.cssDisplay))}}function At(e,t){return st(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)||on(e.parent,t)||!Xt(e.parent.cssDisplay))||e.next&&!Zt(e.next.cssDisplay))}function jt(e,t){return $t(e.cssDisplay)&&!A(e,t)}function Mt(e){return st(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function Nt(e){return Pt(e)||e.kind===`element`&&e.children.length>0&&([`body`,`script`,`style`].includes(e.name)||e.children.some(e=>Ht(e)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.kind!==`text`&&Rt(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||zt(e.lastChild))}function Pt(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 Ft(e){return Bt(e)||e.prev&&It(e.prev)||Lt(e)}function It(e){return Bt(e)||e.kind===`element`&&e.fullName===`br`||Lt(e)}function Lt(e){return Rt(e)&&zt(e)}function Rt(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 zt(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 Bt(e){switch(e.kind){case`ieConditionalComment`:case`comment`:case`directive`:return!0;case`element`:return[`script`,`select`].includes(e.name)}return!1}function Vt(e){return e.lastChild?Vt(e.lastChild):e}function Ht(e){return e.children?.some(e=>e.kind!==`text`)}function Ut(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 Wt(e,t){let{name:n,attrMap:r}=e;if(n!==`script`||Be(r,`src`))return;let{type:i,lang:a}=e.attrMap;return!a&&!i?`babel`:it(t,{language:a})??Ut(i)}function Gt(e,t){if(!sn(e,t))return;let{attrMap:n}=e;if(Be(n,`src`))return;let{type:r,lang:i}=n;return it(t,{language:i})??Ut(r)}function Kt(e,t){if(e.name===`style`){let{lang:n}=e.attrMap;return n?it(t,{language:n}):`css`}if(e.name===`mj-style`&&t.parser===`mjml`)return`css`}function qt(e,t){return Wt(e,t)??Kt(e,t)??Gt(e,t)}function Jt(e){return e===`block`||e===`list-item`||e.startsWith(`table`)}function Yt(e){return!Jt(e)&&e!==`inline-block`}function Xt(e){return!Jt(e)&&e!==`inline-block`}function Zt(e){return!Jt(e)}function Qt(e){return!Jt(e)}function $t(e){return!Jt(e)&&e!==`inline-block`}function j(e){return nn(e).startsWith(`pre`)}function en(e,t){let n=e;for(;n;){if(t(n))return!0;n=n.parent}return!1}function tn(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(en(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||yt(e))&&Be(ht,e.name))return ht[e.name]}return mt}function nn(e){return e.kind===`element`&&(!e.namespace||yt(e))&&Be(_t,e.name)?_t[e.name]:gt}function rn(e){return d(0,d(0,e,`&apos;`,`'`),`&quot;`,`"`)}function M(e){return rn(e.value)}var an=new Set([`template`,`style`,`script`]);function on(e,t){return N(e,t)&&!an.has(e.fullName)}function N(e,t){return t.parser===`vue`&&e.kind===`element`&&e.parent.kind===`root`&&e.fullName.toLowerCase()!==`html`}function sn(e,t){return N(e,t)&&(on(e,t)||e.attrMap.lang&&e.attrMap.lang!==`html`)}function cn(e){let t=e.fullName;return t.charAt(0)===`#`||t===`slot-scope`||t===`v-slot`||t.startsWith(`v-slot:`)}function ln(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 un(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?g(t):g(T.dedentString(xt(t)),w):x(S,T.split(t))}function dn(e,t){return N(e,t)&&e.name===`script`}function fn(e){let{valueSpan:t,value:n}=e;return t.end.offset-t.start.offset===n.length+2}function pn(e,t){if(fn(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 mn=/\{\{(.+?)\}\}/s,hn=({node:{value:e}})=>mn.test(e);async function gn(e,t,n){let r=M(n.node),i=[];for(let[t,n]of r.split(mn).entries())if(t%2==0)i.push(g(n));else try{i.push(b([`{{`,v([S,await O(n,e,{parser:`__ng_interpolation`,__isInHtmlInterpolation:!0})]),S,`}}`]))}catch{i.push(`{{`,g(n),`}}`)}return i}var _n=e=>(t,n,r)=>O(M(r.node),t,{parser:e},D),vn=[{test(e){let t=e.node.fullName;return t.startsWith(`(`)&&t.endsWith(`)`)||t.startsWith(`on-`)},print:_n(`__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:_n(`__ng_binding`)},{test:e=>e.node.fullName.startsWith(`*`),print:_n(`__ng_directive`)},{test:e=>/^i18n(?:-.+)?$/.test(e.node.fullName),print:yn},{test:hn,print:gn}].map(({test:e,print:t})=>({test:(t,n)=>n.parser===`angular`&&e(t),print:t}));function yn(e,t,{node:n}){let r=M(n);return E(De(un(n,r.trim())),!r.includes(`@@`))}var bn=vn,xn=({node:e},t)=>!t.parentParser&&e.fullName===`class`&&!e.value.includes(`{{`),Sn=(e,t,n)=>d(0,M(n.node).trim(),/\s+/g,` `),Cn=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(`.`)),wn=({node:e},t)=>Cn.has(e.fullName)&&!t.parentParser&&!e.value.includes(`{{`),Tn=(e,t,n)=>O(M(n.node),e,{parser:`babel`,__isHtmlInlineEventHandler:!0},()=>!1);function En(e){let t=[];for(let n of e.split(`;`)){if(n=T.trim(n),!n)continue;let[e,...r]=T.split(n);t.push({name:e,value:r})}return t}var Dn=En,On=({node:e},t)=>e.fullName===`allow`&&!t.parentParser&&e.parent.fullName===`iframe`&&!e.value.includes(`{{`);function kn(e,t,n){let{node:r}=n,i=Dn(M(r));return i.length===0?[``]:E(i.map(({name:e,value:t},n)=>[[e,...t].join(` `),n===i.length-1?Oe(`;`):[`;`,S]]))}function An(e){return e===` `||e===`
13
+ `),p(0,l,-1).length}},[at]:!0}}function ft(e){let t=dt(e);return t?{frontMatter:t,get content(){let{raw:n}=t;return lt(n)+e.slice(n.length)}}:{content:e}}var pt=ft,mt=`inline`,ht={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`},gt=`normal`,_t={listing:`pre`,plaintext:`pre`,pre:`pre`,xmp:`pre`,nobr:`nowrap`,table:`initial`,textarea:`pre-wrap`};function vt(e){return e.kind===`element`&&!e.hasExplicitNamespace&&![`html`,`svg`].includes(e.namespace)}var yt=vt,bt=e=>d(0,e,/^[\t\f\r ]*\n/g,``),xt=e=>bt(T.trimEnd(e)),St=e=>{let t=e,n=T.getLeadingWhitespace(t);n&&(t=t.slice(n.length));let r=T.getTrailingWhitespace(t);return r&&(t=t.slice(0,-r.length)),{leadingWhitespace:n,trailingWhitespace:r,text:t}};function Ct(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`)||sn(e,t)&&!A(e,t)&&e.kind!==`interpolation`)}function wt(e){return e.kind===`attribute`||!e.parent||!e.prev?!1:Tt(e.prev)}function Tt(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`||yt(e)&&(e.name===`script`||e.name===`style`))}function Et(e,t){return e.children&&!A(e,t)}function Dt(e,t){return A(e,t)||e.kind===`interpolation`||Ot(e)}function Ot(e){return nn(e).startsWith(`pre`)}function kt(e,t){let n=r();return n&&!e.prev&&e.parent?.tagDefinition?.ignoreFirstLf?e.kind===`interpolation`:n;function r(){return st(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)||on(e.parent,t)||!Yt(e.parent.cssDisplay))||e.prev&&!Qt(e.prev.cssDisplay))}}function At(e,t){return st(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)||on(e.parent,t)||!Xt(e.parent.cssDisplay))||e.next&&!Zt(e.next.cssDisplay))}function jt(e,t){return $t(e.cssDisplay)&&!A(e,t)}function Mt(e){return st(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function Nt(e){return Pt(e)||e.kind===`element`&&e.children.length>0&&([`body`,`script`,`style`].includes(e.name)||e.children.some(e=>Ht(e)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.kind!==`text`&&Rt(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||zt(e.lastChild))}function Pt(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 Ft(e){return Bt(e)||e.prev&&It(e.prev)||Lt(e)}function It(e){return Bt(e)||e.kind===`element`&&e.fullName===`br`||Lt(e)}function Lt(e){return Rt(e)&&zt(e)}function Rt(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 zt(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 Bt(e){switch(e.kind){case`ieConditionalComment`:case`comment`:case`directive`:return!0;case`element`:return[`script`,`select`].includes(e.name)}return!1}function Vt(e){return e.lastChild?Vt(e.lastChild):e}function Ht(e){return e.children?.some(e=>e.kind!==`text`)}function Ut(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 Wt(e,t){let{name:n,attrMap:r}=e;if(n!==`script`||Be(r,`src`))return;let{type:i,lang:a}=e.attrMap;return!a&&!i?`babel`:it(t,{language:a})??Ut(i)}function Gt(e,t){if(!sn(e,t))return;let{attrMap:n}=e;if(Be(n,`src`))return;let{type:r,lang:i}=n;return it(t,{language:i})??Ut(r)}function Kt(e,t){if(e.name===`style`){let{lang:n}=e.attrMap;return n?it(t,{language:n}):`css`}if(e.name===`mj-style`&&t.parser===`mjml`)return`css`}function qt(e,t){return Wt(e,t)??Kt(e,t)??Gt(e,t)}function Jt(e){return e===`block`||e===`list-item`||e.startsWith(`table`)}function Yt(e){return!Jt(e)&&e!==`inline-block`}function Xt(e){return!Jt(e)&&e!==`inline-block`}function Zt(e){return!Jt(e)}function Qt(e){return!Jt(e)}function $t(e){return!Jt(e)&&e!==`inline-block`}function j(e){return nn(e).startsWith(`pre`)}function en(e,t){let n=e;for(;n;){if(t(n))return!0;n=n.parent}return!1}function tn(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(en(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||yt(e))&&Be(ht,e.name))return ht[e.name]}return mt}function nn(e){return e.kind===`element`&&(!e.namespace||yt(e))&&Be(_t,e.name)?_t[e.name]:gt}function rn(e){return d(0,d(0,e,`&apos;`,`'`),`&quot;`,`"`)}function M(e){return rn(e.value)}var an=new Set([`template`,`style`,`script`]);function on(e,t){return N(e,t)&&!an.has(e.fullName)}function N(e,t){return t.parser===`vue`&&e.kind===`element`&&e.parent.kind===`root`&&e.fullName.toLowerCase()!==`html`}function sn(e,t){return N(e,t)&&(on(e,t)||e.attrMap.lang&&e.attrMap.lang!==`html`)}function cn(e){let t=e.fullName;return t.charAt(0)===`#`||t===`slot-scope`||t===`v-slot`||t.startsWith(`v-slot:`)}function ln(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 un(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?g(t):g(T.dedentString(xt(t)),w):x(S,T.split(t))}function dn(e,t){return N(e,t)&&e.name===`script`}function fn(e){let{valueSpan:t,value:n}=e;return t.end.offset-t.start.offset===n.length+2}function pn(e,t){if(fn(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 mn=/\{\{(.+?)\}\}/s,hn=({node:{value:e}})=>mn.test(e);async function gn(e,t,n){let r=M(n.node),i=[];for(let[t,n]of r.split(mn).entries())if(t%2==0)i.push(g(n));else try{i.push(b([`{{`,v([S,await O(n,e,{parser:`__ng_interpolation`,__isInHtmlInterpolation:!0})]),S,`}}`]))}catch{i.push(`{{`,g(n),`}}`)}return i}var _n=e=>(t,n,r)=>O(M(r.node),t,{parser:e},D),vn=[{test(e){let t=e.node.fullName;return t.startsWith(`(`)&&t.endsWith(`)`)||t.startsWith(`on-`)},print:_n(`__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:_n(`__ng_binding`)},{test:e=>e.node.fullName.startsWith(`*`),print:_n(`__ng_directive`)},{test:e=>/^i18n(?:-.+)?$/.test(e.node.fullName),print:yn},{test:hn,print:gn}].map(({test:e,print:t})=>({test:(t,n)=>n.parser===`angular`&&e(t),print:t}));function yn(e,t,{node:n}){let r=M(n);return E(De(un(n,r.trim())),!r.includes(`@@`))}var bn=vn,xn=({node:e},t)=>!t.parentParser&&e.fullName===`class`&&!e.value.includes(`{{`),Sn=(e,t,n)=>d(0,M(n.node).trim(),/\s+/g,` `),Cn=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(`.`)),wn=({node:e},t)=>Cn.has(e.fullName)&&!t.parentParser&&!e.value.includes(`{{`),Tn=(e,t,n)=>O(M(n.node),e,{parser:`babel`,__isHtmlInlineEventHandler:!0},()=>!1);function En(e){let t=[];for(let n of e.split(`;`)){if(n=T.trim(n),!n)continue;let[e,...r]=T.split(n);t.push({name:e,value:r})}return t}var Dn=En,On=({node:e},t)=>e.fullName===`allow`&&!t.parentParser&&e.parent.fullName===`iframe`&&!e.value.includes(`{{`);function kn(e,t,n){let{node:r}=n,i=Dn(M(r));return i.length===0?[``]:E(i.map(({name:e,value:t},n)=>[[e,...t].join(` `),n===i.length-1?Oe(`;`):[`;`,S]]))}function An(e){return e===` `||e===`
14
14
  `||e===`\f`||e===`\r`||e===` `}var jn=/^[ \t\n\r\u000c]+/,Mn=/^[, \t\n\r\u000c]+/,Nn=/^[^ \t\n\r\u000c]+/,Pn=/[,]+$/,Fn=/^\d+$/,In=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function Ln(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(Mn),s>=t){if(u.length===0)throw Error(`Must contain one or more image candidate strings.`);return u}c=s,n=l(Nn),r=[],n.slice(-1)===`,`?(n=n.replace(Pn,``),f()):d()}function d(){for(l(jn),i=``,a=`in descriptor`;;){if(o=e.charAt(s),a===`in descriptor`){if(An(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`&&!An(o)){if(o===``){f();return}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),Fn.test(p)&&f===`w`?((i||a)&&(t=!0),m===0?t=!0:i=m):In.test(p)&&f===`x`?((i||a||o)&&(t=!0),ee<0?t=!0:a=ee):Fn.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 Rn=Ln,zn=e=>e.node.fullName===`srcset`&&(e.parent.fullName===`img`||e.parent.fullName===`source`),Bn={width:`w`,height:`h`,density:`x`},Vn=Object.keys(Bn);function Hn(e,t,n){let r=Rn(M(n.node)),i=Vn.filter(e=>r.some(t=>Be(t,e)));if(i.length>1)throw Error(`Mixed descriptor in srcset is not supported`);let[a]=i,o=Bn[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 E(x([`,`,S],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(Oe(s,` `),r+o)}return n})))}var Un=({node:e},t)=>e.fullName===`style`&&!t.parentParser&&!e.value.includes(`{{`),Wn=async(e,t,n)=>E(await e(M(n.node),{parser:`css`,__isHTMLStyleAttribute:!0})),Gn=new WeakMap;function Kn(e,t){return he(Gn,e.root,e=>e.children.some(e=>dn(e,t)&&[`ts`,`typescript`].includes(e.attrMap.lang)))}var P=Kn;function qn(e,t,n){return O(`type T<${M(n.node)}> = any`,e,{parser:`babel-ts`,__isEmbeddedTypescriptGenericParameters:!0},D)}function Jn(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 Yn(e,t,n,r){let{left:i,operator:a,right:o}=Xn(M(n.node)),s=P(n,r);return[b(await O(`function _(${i}) {}`,e,{parser:s?`babel-ts`:`babel`,__isVueForBindingLeft:!0})),` `,a,` `,await O(o,e,{parser:s?`__ts_expression`:`__js_expression`})]}function Xn(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=d(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 Zn=[{test:e=>e.node.fullName===`v-for`,print:Yn},{test:(e,t)=>e.node.fullName===`generic`&&dn(e.parent,t),print:qn},{test:({node:e},t)=>cn(e)||ln(e,t),print:Jn},{test(e){let t=e.node.fullName;return t.startsWith(`@`)||t.startsWith(`v-on:`)},print:Qn},{test(e){let t=e.node.fullName;return t.startsWith(`:`)||t.startsWith(`.`)||t.startsWith(`v-bind:`)},print:$n},{test:e=>e.node.fullName.startsWith(`v-`),print:er}].map(({test:e,print:t})=>({test:(t,n)=>n.parser===`vue`&&e(t,n),print:t}));async function Qn(e,t,n,r){try{return await er(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 $n(e,t,n,r){return O(M(n.node),e,{parser:P(n,r)?`__vue_ts_expression`:`__vue_expression`},D)}function er(e,t,n,r){return O(M(n.node),e,{parser:P(n,r)?`__ts_expression`:`__js_expression`},D)}var tr=[{test:zn,print:Hn},{test:Un,print:Wn},{test:wn,print:Tn},{test:xn,print:Sn},{test:On,print:kn},...Zn,...bn].map(({test:e,print:t})=>({test:e,print:rr(t)}));function nr(e,t){let{node:n}=e,{value:r}=n;if(r)return pn(n,t)?[n.rawName,`=`,r]:tr.find(({test:n})=>n(e,t))?.print}function rr(e){return async(t,n,r,i)=>{let a=await e(t,n,r,i);if(a)return a=xe(a,e=>typeof e==`string`?d(0,e,`"`,`&quot;`):e),[r.node.rawName,`="`,b(a),`"`]}}var ir=nr,F=e=>e.sourceSpan.start.offset,ar=e=>e.sourceSpan.end.offset;function or(e,t){return[e.isSelfClosing?``:sr(e,t),cr(e,t)]}function sr(e,t){return e.lastChild&&R(e.lastChild)?``:[lr(e,t),ur(e,t)]}function cr(e,t){return(e.next?L(e.next):pr(e.parent))?``:[dr(e,t),I(e,t)]}function lr(e,t){return pr(e)?dr(e.lastChild,t):``}function I(e,t){return R(e)?ur(e.parent,t):mr(e)?Sr(e.next,t):``}function ur(e,t){if(fr(e,t))return``;switch(e.kind){case`ieConditionalComment`:return`<!`;case`element`:if(e.hasHtmComponentClosingTag)return`<//`;default:return`</${e.rawName}`}}function dr(e,t){if(fr(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 fr(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(wt(e)||Ct(e.parent,t))}function L(e){return e.prev&&e.prev.kind!==`docType`&&e.kind!==`angularControlFlowBlock`&&!k(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function pr(e){return e.lastChild?.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!k(Vt(e.lastChild))&&!j(e)}function R(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&k(Vt(e))}function mr(e){return e.next&&!k(e.next)&&k(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function hr(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?!t[1]||t[1].split(/\s+/):!1}function gr(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function _r(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`&&hr(r.prev.value),s=typeof o==`boolean`?()=>o:Array.isArray(o)?e=>o.includes(e.rawName):()=>!1,c=[`attrs`,`startTagComments`].filter(e=>Qe(r[e])),l=c.flatMap(r=>e.map(({node:e})=>({loc:F(e),printed:e.kind===`attribute`&&s(e)?g(t.originalText.slice(F(e),ar(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)?w:S,p=[v([u?` `:d?w:S,x(f,l.map(({printed:e})=>e))])];return r.firstChild&&gr(r.firstChild)||r.isSelfClosing&&pr(r.parent)||u?p.push(r.isSelfClosing?` `:``):p.push(t.bracketSameLine?r.isSelfClosing?` `:``:r.isSelfClosing?S:C),p}function vr(e){return e.firstChild&&gr(e.firstChild)?``:Cr(e)}function yr(e,t,n){let{node:r}=e;return[br(r,t),_r(e,t,n),r.isSelfClosing?``:vr(r)]}function br(e,t){return e.prev&&mr(e.prev)?``:[z(e,t),Sr(e,t)]}function z(e,t){return gr(e)?Cr(e.parent):L(e)?dr(e.prev,t):``}var xr=`<!doctype`;function Sr(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 xr}let n=F(e);return t.originalText.slice(n,n+xr.length)}case`angularIcuExpression`:return`{`;case`element`:if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function Cr(e){switch(e.kind){case`ieConditionalComment`:return`]>`;case`element`:if(e.condition)return`><!--<![endif]-->`;default:return`>`}}function wr(e,t){if(!e.endSourceSpan)return``;let n=e.startSourceSpan.end.offset;e.firstChild&&gr(e.firstChild)&&(n-=Cr(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&R(e.lastChild)?r+=ur(e,t).length:pr(e)&&(r-=dr(e.lastChild,t).length),t.originalText.slice(n,r)}var Tr=wr,Er=new Set([`if`,`else if`,`for`,`switch`,`case`]);function Dr(e,t){let{node:n}=e;switch(n.kind){case`element`:if(A(n,t)||n.kind===`interpolation`)return;if(!n.isSelfClosing&&sn(n,t)){let r=qt(n,t);return r?async(i,a)=>{let o=Tr(n,t),s=/^\s*$/.test(o),c=``;return s||=(c=await i(xt(o),{parser:r,__embeddedInHtml:!0}),c===``),[z(n,t),b(yr(e,t,a)),s?``:w,c,s?``:w,or(n,t),I(n,t)]}:void 0}break;case`text`:if(A(n.parent,t)){let e=qt(n.parent,t);if(e)return async r=>{let i=e===`markdown`?T.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[y,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`,[v([S,await r(n.value,i)]),n.parent.next&&L(n.parent.next)?` `:S]};break;case`attribute`:return ir(e,t);case`angularControlFlowBlockParameters`:return Er.has(e.parent.name)?ze:void 0;case`angularLetDeclarationInitializer`:return e=>O(n.value,e,{parser:`__ng_binding`,__isInHtmlAttribute:!1})}}var Or=Dr,kr=null;function Ar(e){if(kr!==null&&typeof kr.property){let e=kr;return kr=Ar.prototype=null,e}return kr=Ar.prototype=e??Object.create(null),new Ar}var jr=10;for(let e=0;e<=jr;e++)Ar();function Mr(e){return Ar(e)}function Nr(e,t=`type`){Mr(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 Pr=Nr,Fr=[[`children`]],Ir=Pr({root:Fr[0],element:[`attrs`,`startTagComments`,`children`],ieConditionalComment:Fr[0],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:Fr[0],text:Fr[0],docType:[],comment:[],attribute:[],startTagComment:[],cdata:[],angularControlFlowBlock:[`children`,`parameters`],angularControlFlowBlockParameters:Fr[0],angularControlFlowBlockParameter:[],angularLetDeclaration:[`init`],angularLetDeclarationInitializer:[],angularIcuExpression:[`cases`],angularIcuCase:[`expression`]},`kind`),Lr=new Set([`sourceSpan`,`startSourceSpan`,`endSourceSpan`,`nameSpan`,`valueSpan`,`keySpan`,`tagDefinition`,`tokens`,`valueTokens`,`switchValueSourceSpan`,`expSourceSpan`,`valueSourceSpan`]),Rr=new Set([`if`,`else if`,`for`,`switch`,`case`]);function zr(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=d(0,i,/'|&quot;|&apos;/g,`"`))}if(e.kind===`docType`&&(t.value=d(0,e.value.toLowerCase(),/\s+/g,` `)),e.kind===`angularControlFlowBlock`&&e.parameters?.children)for(let n of t.parameters.children)Rr.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)}zr.ignoredProperties=Lr;var Br=`format`,Vr=/^\s*<!--\s*@(?:noformat|noprettier)\s*-->/,Hr=/^\s*<!--\s*@(?:format|prettier)\s*-->/,Ur=e=>Hr.test(e),Wr=e=>Vr.test(e),Gr=e=>`<!-- @${Br} -->
15
15
 
16
16
  ${e}`,Kr=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 qr(e){let t=ar(e);return e.kind===`element`&&!e.endSourceSpan&&Qe(e.children)?Math.max(t,qr(p(0,e.children,-1))):t}function Jr(e,t,n){let r=e.node;if(wt(r)){let e=qr(r);return[z(r,t),g(T.trimEnd(t.originalText.slice(F(r)+(r.prev&&mr(r.prev)?Sr(r).length:0),e-(r.next&&L(r.next)?dr(r,t).length:0)))),I(r,t)]}return n()}function Yr(e,t){return k(e)&&k(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Ft(t)?w:S:``:Ft(t)?w:C:mr(e)&&(wt(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?C:!t.isLeadingSpaceSensitive||Ft(t)||L(t)&&e.lastChild&&R(e.lastChild)&&e.lastChild.lastChild&&R(e.lastChild.lastChild)?w:t.hasLeadingSpaces?S:C}function Xr(e,t,n){let{node:r}=e;if(Pt(r))return[y,...e.map(()=>{let r=e.node,i=r.prev?Yr(r.prev,r):``;return[i?[i,Mt(r.prev)?w:``]:``,Jr(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=Yr(r.prev,r);if(i)return Mt(r.prev)?[w,w,Jr(e,t,n)]:[i,Jr(e,t,n)]}return Jr(e,t,n)}let o=[],s=[],c=[],l=[],u=r.prev?Yr(r.prev,r):``,d=r.next?Yr(r,r.next):``;return u&&(Mt(r.prev)?o.push(w,w):u===w?o.push(w):k(r.prev)?s.push(u):s.push(Oe(``,C,{groupId:i[a-1]}))),d&&(Mt(r)?k(r.next)&&l.push(w,w):d===w?k(r.next)&&l.push(w):c.push(d)),[...o,b([...s,b([Jr(e,t,n),...c],{id:i[a]})]),...l]},`children`)}function Zr(e,t,n){let{node:r}=e,i=[];ni(e)&&i.push(`} `),i.push(`@`,r.name);let a=ei(r);if(r.parameters&&(a||i.push(` `),i.push(`(`,b(n(`parameters`)),`)`)),a)return i.push(`;`),i;if(!ti(r)){i.push(` {`);let a=Qr(r);r.children.length>0?(r.firstChild.hasLeadingSpaces=!0,r.lastChild.hasTrailingSpaces=!0,i.push(v([w,Xr(e,t,n)])),a&&i.push(w,`}`)):a&&i.push(`}`)}return b(i,{shouldBreak:!0})}function Qr(e){return!(e.next?.kind===`angularControlFlowBlock`&&Kr.get(e.name)?.has(e.next.name))}var $r=e=>e?.kind===`angularControlFlowBlock`&&(e.name===`case`||e.name==="default"),ei=e=>e?.kind===`angularControlFlowBlock`&&e.name===`default never`;function ti(e){return $r(e)&&e.endSourceSpan&&e.endSourceSpan.start.offset===e.endSourceSpan.end.offset}function ni(e){let{previous:t}=e;return t?.kind===`angularControlFlowBlock`&&!wt(t)&&!Qr(t)}function ri(e,t,n){return[v([C,x([`;`,S],e.map(n,`children`))]),C]}function ii(e,t,n){let{node:r}=e;return[br(r,t),b([r.switchValue.trim(),`, `,r.type,r.cases.length>0?[`,`,v([S,x(S,e.map(n,`cases`))])]:``,C]),cr(r,t)]}function ai(e,t,n){let{node:r}=e;return[r.value,` {`,b([v([C,e.map(({node:e,isLast:t})=>{let r=[n()];return e.kind===`text`&&(e.hasLeadingSpaces&&r.unshift(S),e.hasTrailingSpaces&&!t&&r.push(S)),r},`expression`)]),C]),`}`]}function oi(e,t,n){let{node:r}=e;if(Ct(r,t))return[z(r,t),b(yr(e,t,n)),g(Tr(r,t)),...or(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=>b([b(yr(e,t,n),{id:a}),i,or(r,t)]);return r.children.length===0?o(r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?S:``):o([Nt(r)?y:``,(e=>i?ke(e,{groupId:a}):(A(r,t)||on(r,t))&&r.parent.kind===`root`&&t.parser===`vue`&&!t.vueIndentScriptAndStyle?e:v(e))([i?Oe(C,``,{groupId:a}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?S:r.firstChild.kind===`text`&&r.isWhitespaceSensitive&&r.isIndentationSensitive?Ee(C):C,Xr(e,t,n)]),(r.next?L(r.next):pr(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?` `:``:j(r)&&R(r.lastChild)?``:i?Oe(C,``,{groupId:a}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?S:(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)?``:C])}function si(e){let{node:{value:t,type:n}}=e;return n===`single`?`//${t.trimEnd()}`:[`/*`,g(t),`*/`]}var ci=(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 li(e){return B(e)[1]===`ng-container`}function ui(e){return B(e)[1]===`ng-content`}function di(e){return e===null?null:B(e)[0]}function fi(e,t){return e?`:${e}:${t}`:t}var pi,mi=`math`,hi=()=>Object.create(null);function gi(){return pi||(pi=hi(),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,mi,[[`*`,[`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`]]]),pi)}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=pi)[a]??(i[a]=hi()),s=o[r]??(o[r]=hi());s[n]=e}}}function _i(e,t,n){let r=gi()[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 vi={name:`custom-elements`},yi={name:`no-errors-schema`},bi=/-+([a-z0-9])/g;function xi(e){return e.replace(bi,(...e)=>e[1].toUpperCase())}var Si=class{},Ci=`boolean`,wi=`number`,Ti=`string`,Ei=`object`;function Di(e){let[t,n]=B(e.toLowerCase(),!1);return t===`svg`||t===`math`?`:${t}:${n}`:n}var Oi=`[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(`.`),ki=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`})),Ai=Array.from(ki).reduce((e,[t,n])=>(e.set(t,n),e),new Map),ji=class extends Si{_schema=new Map;_eventSchema=new Map;constructor(){super(),Oi.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),Ci);break;case`#`:t.set(e.substring(1),wi);break;case`%`:t.set(e.substring(1),Ei);break;default:t.set(e,Ti)}})})}hasProperty(e,t,n){if(n.some(e=>e.name===yi.name))return!0;let r=Di(e);if(r.includes(`-`)){if(li(r)||ui(r))return!1;if(n.some(e=>e.name===vi.name))return!0}return(this._schema.get(r)||this._schema.get(`unknown`)).has(t)}hasElement(e,t){if(t.some(e=>e.name===yi.name))return!0;let n=Di(e);return n.includes(`-`)&&(li(n)||ui(n)||t.some(e=>e.name===vi.name))?!0:this._schema.has(n)}securityContext(e,t,n){n&&(t=this.getMappedPropName(t));let[r,i]=B(e,!1);return _i(i,t,r)}getMappedPropName(e){return ki.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)})=...
@@ -21,5 +21,5 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
21
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:`‌`};aa.ngsp=``;var oa=class{tokens;errors;nonNormalizedIcuExpressions;constructor(e,t,n){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=n}};function sa(e,t,n,r={}){let i=new ha(new Li(e,t),n,r);return i.tokenize(),new oa(Da(i.tokens),i.errors,i.nonNormalizedIcuExpressions)}var ca=/\r\n?/g;function Y(e){return`Unexpected character "${e===0?`EOF`:String.fromCharCode(e)}"`}function la(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}function ua(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}var da=[`@if`,`@else`,`@for`,`@switch`,`@case`,`@default`,`@empty`,`@defer`,`@placeholder`,`@loading`,`@error`,`@content`],fa={start:`{{`,end:`}}`},pa=/^default[^\S\r\n]+never/,ma=/^else[^\S\r\n]+if/,ha=class{_getTagContentType;_cursor;_tokenizeIcu;_leadingTriviaCodePoints;_canSelfClose;_allowHtmComponentClosingTags;_allowStartTagComments;_currentTokenStart=null;_currentTokenType=null;_expansionCaseStack=[];_openDirectiveCount=0;_inInterpolation=!1;_preserveLineEndings;_i18nNormalizeLineEndingsInICUs;_fullNameStack=[];_tokenizeBlocks;_tokenizeLet;_selectorlessEnabled;tokens=[];errors=[];nonNormalizedIcuExpressions=[];constructor(e,t,n){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 ka(e,r):new Oa(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(ca,`
22
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=>Qi(t)?!e:!Sa(t)||(e=!0,!1));let n=this._cursor.getChars(t).trim();return ma.test(n)?n=`else if`:pa.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(Ca);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&&ia(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(Ca)}}_consumeLetDeclaration(e){if(this._requireStr(`@let`),this._beginToken(31,e),Qi(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)&&!na(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=>ea(e)||e===36||e===95||t&&$i(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;ia(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(ya(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 Aa&&(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 ba(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&&da.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(_a),this._cursor.peek()!=59){this._cursor.advance();let n=e?`hexadecimal`:`decimal`;throw this._createError(ua(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(la(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let n=this._cursor.clone();if(this._attemptCharCodeUntilFn(va),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=aa.hasOwnProperty(e)&&aa[e];if(!r)throw this._createError(la(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&&!ga(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=>na(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&&wa(this._cursor.peek()))i=this._consumeComponentOpenStart(e),[r,n,t]=i.parts,n&&(r+=`:${n}`),t&&(r+=`:${t}`),this._attemptCharCodeUntilFn(X);else{if(!ea(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(Ea(this._cursor.peek()))break;if(this._selectorlessEnabled&&this._cursor.peek()===64){let e=this._cursor.clone(),t=e.clone();t.advance(),wa(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(;Ta(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):na(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&&!wa(t.peek());)t.advance();if(wa(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(fa.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(fa.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(fa.end)){r.push(this._getProcessedChars(i,e)),r.push(fa.end),this._endToken(r);return}this._attemptStr(`//`)&&(o=!0)}let t=this._cursor.peek();this._cursor.advance(),t===92?this._cursor.advance():t===a?a=null:!o&&a===null&&ia(t)&&(a=t)}r.push(this._getProcessedChars(i,this._cursor)),this._endToken(r)}_consumeDirective(e,t){for(this._requireCharCode(64),this._cursor.advance();Ta(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);!Ea(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(fa.start);return this._cursor=e,!t}_handleFullNameStackForTagOpen(e,t){let n=fi(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===n)&&this._fullNameStack.push(n)}_handleFullNameStackForTagClose(e,t){let n=fi(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===n&&this._fullNameStack.pop()}};function X(e){return!Qi(e)||e===0}function Z(e){return Qi(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function ga(e){return(e<97||122<e)&&(e<65||90<e)&&(e<48||e>57)}function _a(e){return e===59||e===0||!ta(e)}function va(e){return e===59||e===0||!(ea(e)||$i(e))}function ya(e){return e!==125}function ba(e,t){return xa(e)===xa(t)}function xa(e){return e>=97&&e<=122?e-97+65:e}function Sa(e){return ea(e)||$i(e)||e===95}function Ca(e){return e!==59&&X(e)}function wa(e){return e===95||e>=65&&e<=90}function Ta(e){return ea(e)||$i(e)||e===95}function Ea(e){return e===47||e===62||e===60||e===0}function Da(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 Oa=class e{state;file;input;end;constructor(t,n){if(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||=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 Aa(`Unexpected character "EOF"`,this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):na(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 Ii(e.file,e.state.offset,e.state.line,e.state.column)}},ka=class e extends Oa{internalState;constructor(t,n){t instanceof e?(super(t),this.internalState={...t.internalState}):(super(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(ra(e())){let t=``,n=0,r=this.clone();for(;ra(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 na(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 Aa(`Invalid hexadecimal escape sequence`,e);return r}},Aa=class extends Error{msg;cursor;constructor(e,t){super(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}},Q=class e extends W{elementName;static create(t,n,r){return new e(t,n,r)}constructor(e,t,n){super(t,n),this.elementName=e}},ja=class{rootNodes;errors;constructor(e,t){this.rootNodes=e,this.errors=t}},Ma=class{getTagDefinition;constructor(e){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=sa(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 Na(l.tokens,o,u,d,r);return f.build(),new ja(f.rootNodes,[...l.errors,...f.errors])}},Na=class e{tokens;tagDefinitionResolver;canSelfClose;allowHtmComponentClosingTags;isTagNameCaseSensitive;_index=-1;_peek;_containerStack=[];rootNodes=[];errors=[];constructor(e,t,n,r,i){this.tokens=e,this.tagDefinitionResolver=t,this.canSelfClose=n,this.allowHtmComponentClosingTags=r,this.isTagNameCaseSensitive=i,this._advance()}build(){for(;this._peek.type!==43;)this._peek.type===0||this._peek.type===4?this._consumeElementStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeElementEndTag(this._advance())):this._peek.type===13?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===21?this._consumeExpansion(this._advance()):this._peek.type===26?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===28?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===31?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===19?this._consumeDocType(this._advance()):this._peek.type===34?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._peek.type===35||this._peek.type===39?this._consumeComponentStartTag(this._advance()):this._peek.type===38?this._consumeComponentEndTag(this._advance()):this._advance();for(let 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 Bi(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 Gi(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 Ki(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 Vi(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 Hi(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(Pa(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(Pa(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
- `){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,Fa):e.type===9?r+=e.parts[0]:r+=e.parts.join(``);if(r.length>0){let i=e.sourceSpan;this._addToParent(new zi(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||di(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 Wi(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(di(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=fi(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,Fa):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 Ui(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 qi(e.parts[0],t,a,i,r)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===29;){let e=this._advance();t.push(new Ji(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 Ji(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 Yi(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 Yi(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 fi(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:fi(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=di(e))}}return n}};function Pa(e,t){return e.length>0&&e[e.length-1]===t}function Fa(e,t){return aa[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:aa[t]||e}var Ia=class extends Ma{constructor(){super(Fi)}parse(e,t,n,r=!1,i){return super.parse(e,t,n,r,i)}},La;function Ra(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 La??=new Ia,La.parse(e,`angular-html-parser`,{tokenizeExpansionForms:s,canSelfClose:n,allowHtmComponentClosingTags:r,allowStartTagComments:i,tokenizeBlocks:s,tokenizeLet:c,selectorlessEnabled:l},a,o)}var za=[Va,Ha,Wa,Ka,qa,Xa,Ja,Ya,Za,Ga];function Ba(e,t){for(let n of za)n(e,t);return e}function Va(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]===`
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,Fa):e.type===9?r+=e.parts[0]:r+=e.parts.join(``);if(r.length>0){let i=e.sourceSpan;this._addToParent(new zi(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||di(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 Wi(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(di(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=fi(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,Fa):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 Ui(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 qi(e.parts[0],t,a,i,r)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===29;){let e=this._advance();t.push(new Ji(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 Ji(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 Yi(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 Yi(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 fi(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:fi(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=di(e))}}return n}};function Pa(e,t){return e.length>0&&e[e.length-1]===t}function Fa(e,t){return aa[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:aa[t]||e}var Ia=class extends Ma{constructor(){super(Fi)}parse(e,t,n,r=!1,i){return super.parse(e,t,n,r,i)}},La;function Ra(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 La??=new Ia,La.parse(e,`angular-html-parser`,{tokenizeExpansionForms:s,canSelfClose:n,allowHtmComponentClosingTags:r,allowStartTagComments:i,tokenizeBlocks:s,tokenizeLet:c,selectorlessEnabled:l},a,o)}var za=[Va,Ha,Wa,Ka,qa,Xa,Ja,Ya,Za,Ga];function Ba(e,t){for(let n of za)n(e,t);return e}function Va(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 Ha(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 Ua(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 Wa(e){return Ua(e,e=>e.kind===`cdata`,e=>`<![CDATA[${e.value}]]>`)}function Ga(e){let t=e=>e.kind===`element`&&e.attrs.length===0&&!Qe(e.startTagComments)&&e.children.length===1&&e.firstChild.kind===`text`&&!T.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 Ka(e,t){if(t.parser===`html`)return;let n=/\{\{(.+?)\}\}/s;e.walk(e=>{if(Et(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 qa(e,t){e.walk(e=>{let n=e.$children;if(!n)return;if(n.length===0||n.length===1&&n[0].kind===`text`&&T.trim(n[0].value).length===0){e.hasDanglingSpaces=n.length>0,e.$children=[];return}let r=Dt(e,t),i=Ot(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}=St(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 Ja(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 Ya(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 Xa(e,t){e.walk(e=>{e.cssDisplay=tn(e,t)})}function Za(e,t){e.walk(e=>{let{children:n}=e;if(n){if(n.length===0){e.isDanglingSpaceSensitive=jt(e,t);return}for(let e of n)e.isLeadingSpaceSensitive=kt(e,t),e.isTrailingSpaceSensitive=At(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 Qa=Ba;function $a(e,t,n){let{node:r}=e;switch(r.kind){case`root`:return t.__onHtmlRoot&&t.__onHtmlRoot(r),[b(Xr(e,t,n)),w];case`element`:case`ieConditionalComment`:return oi(e,t,n);case`angularControlFlowBlock`:return Zr(e,t,n);case`angularControlFlowBlockParameters`:return ri(e,t,n);case`angularControlFlowBlockParameter`:return T.trim(r.expression);case`angularLetDeclaration`:return b([`@let `,b([r.id,` =`,b(v([S,n(`init`)]))]),`;`]);case`angularLetDeclarationInitializer`:return r.value;case`angularIcuExpression`:return ii(e,t,n);case`angularIcuCase`:return ai(e,t,n);case`ieConditionalStartComment`:case`ieConditionalEndComment`:return[br(r),cr(r)];case`interpolation`:return[br(r,t),...e.map(n,`children`),cr(r,t)];case`text`:{if(r.parent.kind===`interpolation`){let e=/\n[^\S\n]*$/,t=e.test(r.value);return[g(t?r.value.replace(e,``):r.value),t?w:``]}let e=z(r,t),n=un(r),i=I(r,t);return n[0]=[e,n[0]],n.push([n.pop(),i]),De(n)}case`docType`:return[b([br(r,t),` `,d(0,r.value.replace(/^html\b/i,`html`),/\s+/g,` `)]),cr(r,t)];case`comment`:return[z(r,t),g(t.originalText.slice(F(r),ar(r))),I(r,t)];case`attribute`:{if(r.value===null)return r.rawName;let e=rn(r.value),n=pn(r,t)?``:Fe(e,`"`);return[r.rawName,`=`,n,g(n===`"`?d(0,e,`"`,`&quot;`):d(0,e,`'`,`&apos;`)),n]}case`startTagComment`:return si(e);default:throw new Le(r,`HTML`)}}var eo={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},preprocess:Qa,print:$a,insertPragma:Gr,massageAstNode:zr,embed:Or,getVisitorKeys:Ir},to=[{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}],no={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.`}},ro=`HTML`,io={bracketSameLine:no.bracketSameLine,htmlWhitespaceSensitivity:{category:ro,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:no.singleAttributePerLine,vueIndentScriptAndStyle:{category:ro,type:`boolean`,default:!1,description:`Indent script and style tags in Vue files.`}},ao={};r(ao,{angular:()=>Jo,html:()=>Go,lwc:()=>Xo,mjml:()=>qo,vue:()=>Yo});function oo(e,t){let n=SyntaxError(e+` (`+t.loc.start.line+`:`+t.loc.start.column+`)`);return Object.assign(n,t)}var so=oo,co={canSelfClose:!0,normalizeTagName:!1,normalizeAttributeName:!1,allowHtmComponentClosingTags:!1,allowStartTagComments:!1,isTagNameCaseSensitive:!1,shouldParseFrontMatter:!0};function lo(e){return{...co,...e}}function uo(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)?ci.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:o,tokenizeAngularLetDeclaration:s}}var fo=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`])]]),po=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(`.`)),mo={attrs:!0,children:!0,cases:!0,expression:!0},ho=new Set([`parent`]),$,go,_o,vo=class e{constructor(e={}){s(this,$),i(this,`kind`),i(this,`parent`);for(let t of new Set([...ho,...Object.keys(e)]))this.setProperty(t,e[t]);if(st(e))for(let t of Object.getOwnPropertySymbols(e))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in mo&&(t=t.map(e=>this.createChild(e))),!ho.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(t){let n;for(let r in mo){let i=this[r];if(i){let a=bo(i,e=>e.map(t));n!==i&&(n??=new e({parent:this.parent}),n.setProperty(r,a))}}if(n)for(let e in this)e in mo||(n[e]=this[e]);return t(n||this)}walk(e){for(let t in mo){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[o(this,$,go)]}set $children(e){this[o(this,$,go)]=e}get firstChild(){return this.$children?.[0]}get lastChild(){return p(1,this.$children,-1)}get prev(){let e=o(this,$,_o);return e[e.indexOf(this)-1]}get next(){let e=o(this,$,_o);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,go=function(){return this.kind===`angularIcuCase`?`expression`:this.kind===`angularIcuExpression`?`cases`:`children`},_o=function(){return this.parent?.$children??[]};var yo=vo;function bo(e,t){let n=e.map(t);return n.some((t,n)=>t!==e[n])?n:e}var xo=[{regex:/^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/s,parse:Co},{regex:/^\[if(?<condition>[^\]]*)\]><!$/,parse:wo},{regex:/^<!\s*\[endif\]$/,parse:To}];function So(e,t){if(e.value)for(let{regex:n,parse:r}of xo){let i=e.value.match(n);if(i)return r(e,i,t)}return null}function Co(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:d(0,i.trim(),/\s+/g,` `),sourceSpan:e.sourceSpan,startSourceSpan:new U(e.sourceSpan.start,s),endSourceSpan:new U(c,e.sourceSpan.end)}}function wo(e,t){let{condition:n}=t.groups;return{kind:`ieConditionalStartComment`,condition:d(0,n.trim(),/\s+/g,` `),sourceSpan:e.sourceSpan}}function To(e){return{kind:`ieConditionalEndComment`,sourceSpan:e.sourceSpan}}var Eo=class extends Zi{visitExpansionCase(e,t){t.parseOptions.name===`angular`&&this.visitChildren(t,t=>{t(e.expression)})}visit(e,{parseOptions:t}){No(e),Po(e,t),Io(e,t),Fo(e)}};function Do(e,t,n,r){let i=n.name===`angular`;Xi(new Eo,e.children,{parseOptions:n}),t&&e.children.unshift(t);let a=new yo(e);return a.walk(e=>{if(e.kind===`comment`){let t=So(e,r);t&&e.parent.replaceChild(e,t)}else i&&e.kind===`element`&&e.comments&&(e.startTagComments=e.comments,delete e.comments);i&&(Oo(e),ko(e),Ao(e))}),a}function Oo(e){if(e.kind===`block`){if(e.name=d(0,e.name.toLowerCase(),/\s+/g,` `).trim(),e.kind=`angularControlFlowBlock`,!Qe(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,p(0,e.parameters,-1).sourceSpan.end)}}}function ko(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 Ao(e){e.kind===`expansion`&&(e.kind=`angularIcuExpression`),e.kind===`expansionCase`&&(e.kind=`angularIcuCase`)}function jo(e,t){let n=e.toLowerCase();return t(n)?n:e}function Mo(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 No(e){switch(e.kind){case`element`:Mo(e);for(let t of e.attrs)Mo(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 Po(e,t){if(e.kind===`element`){let n=Fi(t.isTagNameCaseSensitive?e.name:e.name.toLowerCase());e.tagDefinition=!e.namespace||e.namespace===n.implicitNamespacePrefix||yt(e)?n:Fi(``)}}function Fo(e){e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new U(e.sourceSpan.start,e.endSourceSpan.end))}function Io(e,t){if(e.kind===`element`&&(t.normalizeTagName&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||yt(e))&&(e.name=jo(e.name,e=>po.has(e))),t.normalizeAttributeName))for(let t of e.attrs)t.namespace||(t.name=jo(t.name,t=>fo.has(e.name)&&(fo.get(`*`).has(t)||fo.get(e.name).has(t))))}function Lo(e,t){let{rootNodes:n,errors:r}=Ra(e,uo(t));return r.length>0&&Bo(r[0]),{parseOptions:t,rootNodes:n}}function Ro(e,t){let n=uo(t),{rootNodes:r,errors:i}=Ra(e,n);if(r.some(e=>e.kind===`docType`&&e.value===`html`||e.kind===`element`&&e.name.toLowerCase()===`html`))return Lo(e,Uo);let a,o=()=>a??=Ra(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(zo(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&&Bo(a),r[e]=s(t)}}return i.length>0&&Bo(i[0]),{parseOptions:t,rootNodes:r}}function zo(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 Bo(e){let{msg:t,span:{start:n,end:r}}=e;throw so(t,{loc:{start:{line:n.line+1,column:n.col+1},end:{line:r.line+1,column:r.col+1}},cause:e})}function Vo(e,t,n,r,i,a){let{offset:o}=r,s=Ho(lt(t.slice(0,o))+n,e,{...i,shouldParseFrontMatter:!1},a);s.sourceSpan=new U(r,p(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 Ho(e,t,n,r={}){let{frontMatter:i,content:a}=n.shouldParseFrontMatter?pt(e):{content:e},o=new Li(e,r.filepath),s=new Ii(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 Ii(o,e.index,e.line-1,e.column));f={...i,kind:`frontMatter`,sourceSpan:new U(e,t)}}return Do(d,f,l,(n,i)=>Vo(t,e,n,i,l,r))}var Uo=lo({name:`html`,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0});function Wo(e){let t=lo(e),n=t.name===`vue`?Ro:Lo;return{parse:(e,r)=>Ho(e,n,t,r),hasPragma:Ur,hasIgnorePragma:Wr,astFormat:`html`,locStart:F,locEnd:ar}}var Go=Wo(Uo),Ko=new Set([`mj-style`,`mj-raw`]),qo=Wo({...Uo,name:`mjml`,shouldParseAsRawText:e=>Ko.has(e)}),Jo=Wo({name:`angular`,tokenizeAngularBlocks:!0,tokenizeAngularLetDeclaration:!0,allowStartTagComments:!0}),Yo=Wo({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))}}),Xo=Wo({name:`lwc`,canSelfClose:!1}),Zo={html:eo};export{c as default,to as languages,io as options,ao as parsers,Zo as printers};
@@ -0,0 +1 @@
1
+ var e=Object.freeze({left:0,top:0,width:16,height:16}),t=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),n=Object.freeze({...e,...t}),r=Object.freeze({...n,body:``,hidden:!1}),i=Object.freeze({width:null,height:null}),a=Object.freeze({...i,...t}),o=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!s(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!s(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!s(e,n)?null:e}return null},s=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function c(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function l(e,n){let i=c(e,n);for(let a in r)a in t?a in e&&!(a in i)&&(i[a]=t[a]):a in n?i[a]=n[a]:a in e&&(i[a]=e[a]);return i}function u(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function d(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=l(r[e]||i[e],a)}return o(t),n.forEach(o),l(e,a)}function f(e,t){if(e.icons[t])return d(e,t,[]);let n=u(e,[t])[t];return n?d(e,t,n):null}var p=/(-?[0-9.]*[0-9]+[0-9.]*)/g,m=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function h(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(p);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=m.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function g(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function _(e,t){return e?`<defs>`+e+`</defs>`+t:t}function v(e,t,n){let r=g(e);return _(r.defs,t+r.content+n)}var y=e=>e===`unset`||e===`undefined`||e===`none`;function b(e,t){let r={...n,...e},i={...a,...t},o={left:r.left,top:r.top,width:r.width,height:r.height},s=r.body;[r,i].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,i=e.rotate;n?r?i+=2:(t.push(`translate(`+(o.width+o.left).toString()+` `+(0-o.top).toString()+`)`),t.push(`scale(-1 1)`),o.top=o.left=0):r&&(t.push(`translate(`+(0-o.left).toString()+` `+(o.height+o.top).toString()+`)`),t.push(`scale(1 -1)`),o.top=o.left=0);let a;switch(i<0&&(i-=Math.floor(i/4)*4),i%=4,i){case 1:a=o.height/2+o.top,t.unshift(`rotate(90 `+a.toString()+` `+a.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(o.width/2+o.left).toString()+` `+(o.height/2+o.top).toString()+`)`);break;case 3:a=o.width/2+o.left,t.unshift(`rotate(-90 `+a.toString()+` `+a.toString()+`)`)}i%2==1&&(o.left!==o.top&&(a=o.left,o.left=o.top,o.top=a),o.width!==o.height&&(a=o.width,o.width=o.height,o.height=a)),t.length&&(s=v(s,`<g transform="`+t.join(` `)+`">`,`</g>`))});let c=i.width,l=i.height,u=o.width,d=o.height,f,p;c===null?(p=l===null?`1em`:l===`auto`?d:l,f=h(p,u/d)):(f=c===`auto`?u:c,p=l===null?h(f,d/u):l===`auto`?d:l);let m={},g=(e,t)=>{y(t)||(m[e]=t.toString())};g(`width`,f),g(`height`,p);let _=[o.left,o.top,u,d];return m.viewBox=_.join(` `),{attributes:m,viewBox:_,body:s}}var x=/\sid="(\S+)"/g,S=new Map;function C(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=S.get(e)||0;return S.set(e,t+1),t?`${e}${t}`:e}function w(e){let t=[],n;for(;n=x.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=C(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}function T(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}export{o as a,f as i,w as n,b as r,T as t};