@pi-outpost/embed 0.32.4 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/dist/{abnfDiagram-VCTEODGH-SjZtzoAs.cjs → abnfDiagram-YUKMZFIV-CgM8_qF6.cjs} +1 -1
  2. package/dist/{abnfDiagram-VCTEODGH-BX4P82Y6.js → abnfDiagram-YUKMZFIV-dNHR2FX4.js} +5 -5
  3. package/dist/architecture-WOLXFQ4H-DupyKILn.cjs +1 -0
  4. package/dist/architecture-WOLXFQ4H-X4ZWxzi-.js +3 -0
  5. package/dist/{architectureDiagram-5GKGNRK7-BRdxCCja.js → architectureDiagram-47P4ROYG-C_rUoWaO.js} +31 -31
  6. package/dist/{architectureDiagram-5GKGNRK7-wrDPdf3y.cjs → architectureDiagram-47P4ROYG-bflaQP1L.cjs} +3 -3
  7. package/dist/{blockDiagram-OSKFZWR5-Boo8WJyt.cjs → blockDiagram-E7TT5TSB-BKw9FE2U.cjs} +19 -8
  8. package/dist/{blockDiagram-OSKFZWR5-B1pU8Z2f.js → blockDiagram-E7TT5TSB-CEa2A5E9.js} +217 -193
  9. package/dist/c4Diagram-CRA5TL53-C-PuMGA5.cjs +38 -0
  10. package/dist/{c4Diagram-7LVT6UL2-WfERxhw2.js → c4Diagram-CRA5TL53-CtJh9DsO.js} +283 -273
  11. package/dist/channel-BjC1TKrU.cjs +1 -0
  12. package/dist/{channel-Cf_XiG-0.js → channel-DCXZw5aW.js} +1 -1
  13. package/dist/{chunk-OSK3NFVY-BUXOUgUl.js → chunk-2BW5OAIV-DWtmlmt_.js} +178 -154
  14. package/dist/chunk-2BW5OAIV-FkhgcL6B.cjs +10 -0
  15. package/dist/{chunk-75Z2AOVW-DoA8rENV.js → chunk-3YJQHVM4-BNbfg-7y.js} +235 -231
  16. package/dist/chunk-3YJQHVM4-ChvNe1M8.cjs +2 -0
  17. package/dist/chunk-4EA7E6EY-3OELTJ93.cjs +1 -0
  18. package/dist/{chunk-P2QGCYS3-BoMkrMIF.js → chunk-4EA7E6EY-B5P7n2an.js} +6 -6
  19. package/dist/{chunk-F27PBJKO-s9M3oGHp.js → chunk-7TKQ45FW-CD1KuemG.js} +2 -2
  20. package/dist/{chunk-F27PBJKO-3UPgzIlN.cjs → chunk-7TKQ45FW-Djscho_M.cjs} +1 -1
  21. package/dist/{chunk-SVP7TREG-CTKSOFlx.cjs → chunk-AW2ZBBNX-C4uNh90t.cjs} +3 -3
  22. package/dist/{chunk-SVP7TREG-weNUySou.js → chunk-AW2ZBBNX-CVsDDdv5.js} +33 -33
  23. package/dist/{chunk-GVQU2GXP-iZT_vNLp.cjs → chunk-DBDB3WZW-DSRcln4l.cjs} +1 -1
  24. package/dist/{chunk-GVQU2GXP-BhLneNgJ.js → chunk-DBDB3WZW-DpEOsLsQ.js} +3 -3
  25. package/dist/chunk-DUW6YSOI-2RXTEh_8.cjs +1 -0
  26. package/dist/chunk-DUW6YSOI-CVhxvrBO.js +10 -0
  27. package/dist/{chunk-GMAD6QVW-DZ2r0pLj.js → chunk-E2ZNV5FY-Bu796yUY.js} +354 -361
  28. package/dist/chunk-E2ZNV5FY-DIRTchKA.cjs +72 -0
  29. package/dist/chunk-EU5HNXII-DNBbmfcI.cjs +213 -0
  30. package/dist/{chunk-3NF5O7KM-DQV4G__C.js → chunk-EU5HNXII-DW-QTb0f.js} +426 -357
  31. package/dist/chunk-FVRAUYC3-Crqd-lTD.cjs +1 -0
  32. package/dist/chunk-FVRAUYC3-tiT7dtx-.js +356 -0
  33. package/dist/{chunk-PWAF6VOD-9dCi1q-p.js → chunk-HJ2JQQFS-CgYTXthn.js} +2 -2
  34. package/dist/{chunk-PWAF6VOD-CZZKCekP.cjs → chunk-HJ2JQQFS-DnrogIdt.cjs} +1 -1
  35. package/dist/chunk-HTAEGDNF-D4u24-lD.js +236 -0
  36. package/dist/chunk-HTAEGDNF-I4JlqwMr.cjs +1 -0
  37. package/dist/chunk-J5ZVWO5B-CK5HGA-t.cjs +1 -0
  38. package/dist/chunk-J5ZVWO5B-DEP-pB-1.js +12 -0
  39. package/dist/{chunk-POPQ4Y6H-BRQPB1-9.cjs → chunk-KQW6MTUR-C_XQxsme.cjs} +1 -1
  40. package/dist/{chunk-POPQ4Y6H-vLTNjxsT.js → chunk-KQW6MTUR-c0XOjr_c.js} +2 -2
  41. package/dist/chunk-NGNAAXSQ-DM0DL2MX.js +19836 -0
  42. package/dist/chunk-NGNAAXSQ-kHtfTQLE.cjs +136 -0
  43. package/dist/chunk-NTY3LDVX-CvRtOCpm.js +363 -0
  44. package/dist/chunk-NTY3LDVX-DBVRlnMJ.cjs +1 -0
  45. package/dist/chunk-VPRB5NB3-CT204jN6.cjs +129 -0
  46. package/dist/{chunk-DU6HZSFF-BW30DVuW.js → chunk-VPRB5NB3-DJh7spRO.js} +791 -611
  47. package/dist/chunk-XC4XBNZT-BTUjiQhE.cjs +62 -0
  48. package/dist/{chunk-4HAMMTFA-C2YXJpQw.js → chunk-XC4XBNZT-CSiWBPH9.js} +1378 -1079
  49. package/dist/classDiagram-v2-K4WV4PDN-BndXIwai.cjs +217 -0
  50. package/dist/{chunk-HLEWEB6X-BrzeadBj.js → classDiagram-v2-K4WV4PDN-C39xKke0.js} +254 -214
  51. package/dist/{conversationExport-QWEGKkKB.js → conversationExport-0aa7tXBv.js} +2 -2
  52. package/dist/{conversationExport-D2ekPeYe.cjs → conversationExport-BVHvnvh5.cjs} +1 -1
  53. package/dist/conversationHistory-CNfOwM8H.cjs +287 -0
  54. package/dist/{conversationHistory-BylZCAb1.js → conversationHistory-D-hT7EvD.js} +9066 -6513
  55. package/dist/cynefin-EF2NZ3EQ-BB_WO8YQ.js +3 -0
  56. package/dist/cynefin-EF2NZ3EQ-Du3-s5Z7.cjs +1 -0
  57. package/dist/{cynefinDiagram-5FMLGOSQ-GvGZco52.cjs → cynefinDiagram-3GCD6N5R-Bmvj-sQO.cjs} +1 -1
  58. package/dist/{cynefinDiagram-5FMLGOSQ-BEFzUfsd.js → cynefinDiagram-3GCD6N5R-C2CRSeJl.js} +14 -14
  59. package/dist/dagre-W4DXFKR2-ECmxkO0T.js +2356 -0
  60. package/dist/dagre-W4DXFKR2-aPKdYPEj.cjs +4 -0
  61. package/dist/diagram-2UJZ2QOL-B1JKtFHG.cjs +200 -0
  62. package/dist/diagram-2UJZ2QOL-CJRsGDwn.js +5081 -0
  63. package/dist/{diagram-VX7I27RA-Bx9fEhR0.cjs → diagram-OVF4WLC6-CwZeVpHT.cjs} +1 -1
  64. package/dist/{diagram-VX7I27RA-BK8jsKkD.js → diagram-OVF4WLC6-D6r6aTeO.js} +61 -61
  65. package/dist/{diagram-S7CK7UJ4-BH8mrGrv.js → diagram-PFPMY2P6-BpOJbdZ5.js} +15 -15
  66. package/dist/{diagram-S7CK7UJ4-BA67ZpiO.cjs → diagram-PFPMY2P6-DlLbGc_k.cjs} +3 -3
  67. package/dist/{diagram-Z3DM3KII-jy895UiZ.cjs → diagram-UMYRVEAY-BE-t_ZdV.cjs} +1 -1
  68. package/dist/{diagram-Z3DM3KII-CqouFf3D.js → diagram-UMYRVEAY-blW7NpUU.js} +14 -14
  69. package/dist/{diagram-UQ7AKVKN-Bvz7faiB.js → diagram-YEKJPTXX-BOgf87BN.js} +15 -15
  70. package/dist/{diagram-UQ7AKVKN-OteiyKD9.cjs → diagram-YEKJPTXX-CeQjir5H.cjs} +2 -2
  71. package/dist/diagram-ZIFT7M5P-BHePHmHl.cjs +3 -0
  72. package/dist/{diagram-VSXAHHWV-l9f6spkp.js → diagram-ZIFT7M5P-CZOnEYez.js} +40 -25
  73. package/dist/{docxExport-DK8uhXvT.js → docxExport-Cyk5ToUi.js} +1 -1
  74. package/dist/{docxExport-Dt55TJ2h.cjs → docxExport-DF-PXilo.cjs} +1 -1
  75. package/dist/{ebnfDiagram-PWID7BFC-Bwmmg23f.js → ebnfDiagram-VR2GEFS7-Cr0a3Ho_.js} +5 -5
  76. package/dist/{ebnfDiagram-PWID7BFC-BQZKHpUr.cjs → ebnfDiagram-VR2GEFS7-cgyTJ-Xs.cjs} +1 -1
  77. package/dist/elk-IJKZMXRS-NO3xNT-V.cjs +27 -0
  78. package/dist/elk-IJKZMXRS-V31is6hS.js +47984 -0
  79. package/dist/{erDiagram-2YWLMYGG-RTHTTqyH.js → erDiagram-O2IAPWRE-CP06GjjM.js} +60 -56
  80. package/dist/{erDiagram-2YWLMYGG-CuEEIv1I.cjs → erDiagram-O2IAPWRE-CnkFrABC.cjs} +13 -13
  81. package/dist/eventmodeling-K75KTNOO-CMoz0K5S.js +3 -0
  82. package/dist/eventmodeling-K75KTNOO-DZdZrgwl.cjs +1 -0
  83. package/dist/flowDiagram-OXPTDLAJ-BdYr7Idm.cjs +1 -0
  84. package/dist/flowDiagram-OXPTDLAJ-R_xf7pNW.js +16 -0
  85. package/dist/{ganttDiagram-EL5Y4UJY-PTWIufq8.cjs → ganttDiagram-R7TSEDQI-Jhax10tw.cjs} +3 -3
  86. package/dist/{ganttDiagram-EL5Y4UJY-BTvevd1z.js → ganttDiagram-R7TSEDQI-y1bDU8Ba.js} +103 -92
  87. package/dist/gitGraph-VSP46ZUC-DoTshgkY.js +3 -0
  88. package/dist/gitGraph-VSP46ZUC-lawIO6K6.cjs +1 -0
  89. package/dist/{gitGraphDiagram-WWUBYQGX-D5yozoaq.cjs → gitGraphDiagram-XJZIOB7I-CLZLQcPk.cjs} +5 -5
  90. package/dist/{gitGraphDiagram-WWUBYQGX-Bh9F7wif.js → gitGraphDiagram-XJZIOB7I-CYZa0-Ct.js} +45 -45
  91. package/dist/info-OHQRW6UA-DPTZOb30.js +3 -0
  92. package/dist/info-OHQRW6UA-deop1PPz.cjs +1 -0
  93. package/dist/infoDiagram-5W2HQ5XZ-D8fJK3ph.cjs +2 -0
  94. package/dist/{infoDiagram-FKFFQAWI-D6en39j4.js → infoDiagram-5W2HQ5XZ-Dw_D4zI1.js} +5 -5
  95. package/dist/{ishikawaDiagram-5VMMS53U-CvVqTWku.js → ishikawaDiagram-K3B6WC7H-BeLiZFVY.js} +25 -25
  96. package/dist/{ishikawaDiagram-5VMMS53U-DN23jmFw.cjs → ishikawaDiagram-K3B6WC7H-DtjgiZAB.cjs} +2 -2
  97. package/dist/{journeyDiagram-EYS64GPL-CqhBN0KZ.js → journeyDiagram-COXZFDF6-B-qvdudB.js} +31 -31
  98. package/dist/{journeyDiagram-EYS64GPL-Co9rp-Q1.cjs → journeyDiagram-COXZFDF6-Dge2AV0B.cjs} +4 -4
  99. package/dist/{kanban-definition-UXKFOSKX-DzKPVjAq.cjs → kanban-definition-P3RFRI5V-C02YfFZv.cjs} +4 -4
  100. package/dist/{kanban-definition-UXKFOSKX-CWx_Y40t.js → kanban-definition-P3RFRI5V-D0XAXDl8.js} +42 -42
  101. package/dist/{line-D6gR53Af.cjs → line-5eGinYgh.cjs} +1 -1
  102. package/dist/{line-CwYnx9Ke.js → line-BTenwQwq.js} +1 -1
  103. package/dist/loadReferencedImage-C60bzMNm.cjs +1 -0
  104. package/dist/{loadReferencedImage-BKEDAhWQ.js → loadReferencedImage-XQS67fhR.js} +3 -1
  105. package/dist/mermaid-parser.core-BHBS1DqP.cjs +6 -0
  106. package/dist/{mermaid-parser.core-DLNlSmfj.js → mermaid-parser.core-CI12FMcX.js} +163 -163
  107. package/dist/mermaid.core-4MZ-Iwu7.cjs +43 -0
  108. package/dist/{mermaid.core-DI1iFk6G.js → mermaid.core-BJkDCzqA.js} +875 -1150
  109. package/dist/{mindmap-definition-THT77NOG-Bo3D8RRT.cjs → mindmap-definition-LZFPQGKD-CXV1hV3a.cjs} +3 -3
  110. package/dist/{mindmap-definition-THT77NOG-B9hdpQgy.js → mindmap-definition-LZFPQGKD-gYumvdwo.js} +78 -78
  111. package/dist/packet-JDAUHWVQ-Bcik24Kz.js +3 -0
  112. package/dist/packet-JDAUHWVQ-CrY7ylWJ.cjs +1 -0
  113. package/dist/{pegDiagram-XKGWAZYB-Cx-wZf4B.cjs → pegDiagram-BGZESJAR-BICf3jMN.cjs} +1 -1
  114. package/dist/{pegDiagram-XKGWAZYB-CIBfY2Ob.js → pegDiagram-BGZESJAR-Dw9pRv5d.js} +5 -5
  115. package/dist/pi-outpost-embed.cjs +9 -10
  116. package/dist/pi-outpost-embed.js +2833 -2786
  117. package/dist/pie-XZMESJXO-BYQC-ufi.js +3 -0
  118. package/dist/pie-XZMESJXO-WjCBboSE.cjs +1 -0
  119. package/dist/{pieDiagram-E7YTZNPT-BC-pW4cK.cjs → pieDiagram-CAPJLFHJ-CF8cTQpC.cjs} +2 -2
  120. package/dist/{pieDiagram-E7YTZNPT-SG9oy_nV.js → pieDiagram-CAPJLFHJ-uz37FR9I.js} +18 -18
  121. package/dist/{quadrantDiagram-AXDQQJYC-C65HQ6gT.js → quadrantDiagram-GDMTTRAM-C4rt8LIh.js} +40 -40
  122. package/dist/{quadrantDiagram-AXDQQJYC-zPfqM9Q4.cjs → quadrantDiagram-GDMTTRAM-D9SYFJ_P.cjs} +2 -2
  123. package/dist/radar-ABXABTNO-BoQ7hH7Z.cjs +1 -0
  124. package/dist/radar-ABXABTNO-MxbyaZja.js +3 -0
  125. package/dist/railroad-I3PHUGI6-DckUArT-.js +3 -0
  126. package/dist/railroad-I3PHUGI6-DuGTlHry.cjs +1 -0
  127. package/dist/railroad-abnf-LNEFI6M7-DmAJaMEu.js +3 -0
  128. package/dist/railroad-abnf-LNEFI6M7-DoWf9u55.cjs +1 -0
  129. package/dist/railroad-ebnf-DWYD2UWJ-Bf05ZyW1.cjs +1 -0
  130. package/dist/railroad-ebnf-DWYD2UWJ-CS2AUYSv.js +3 -0
  131. package/dist/railroad-peg-JR7BVNR7-B-nctVbV.js +3 -0
  132. package/dist/railroad-peg-JR7BVNR7-CcV5KH4m.cjs +1 -0
  133. package/dist/{railroadDiagram-O6MQD6OU-3JsgWyLe.cjs → railroadDiagram-SM67HX2B-GgesxX7v.cjs} +1 -1
  134. package/dist/{railroadDiagram-O6MQD6OU-DLBEWyaH.js → railroadDiagram-SM67HX2B-T5SG0kEf.js} +5 -5
  135. package/dist/{requirementDiagram-IS5BZ75X-DwrHgMzq.js → requirementDiagram-X7JNWC4A-BEeCszC1.js} +49 -45
  136. package/dist/{requirementDiagram-IS5BZ75X-D1BMLxZg.cjs → requirementDiagram-X7JNWC4A-BVzf-VRr.cjs} +11 -11
  137. package/dist/{sankeyDiagram-P5KCCOFB-D5BHxcxB.cjs → sankeyDiagram-UM26HJRW-CdBXqklJ.cjs} +3 -3
  138. package/dist/{sankeyDiagram-P5KCCOFB-CcT0ZbW6.js → sankeyDiagram-UM26HJRW-DLDVzhPm.js} +16 -16
  139. package/dist/{sequenceDiagram-WJ2MYXX4-DM6BpXMT.js → sequenceDiagram-ZO4K6R2Y-B8wM6a-A.js} +704 -619
  140. package/dist/sequenceDiagram-ZO4K6R2Y-ytX57BES.cjs +169 -0
  141. package/dist/stateDiagram-v2-TBUQTH76-BTuAbG28.cjs +291 -0
  142. package/dist/{chunk-ZLD2IHE6-CqnVd2rq.js → stateDiagram-v2-TBUQTH76-PRnBJSrY.js} +271 -174
  143. package/dist/swimlanes-N4OXWK64-41SBE_L2.cjs +1 -0
  144. package/dist/{swimlanes-V6O3JKXN-BR7rwPmC.js → swimlanes-N4OXWK64-DipLcZla.js} +1006 -1219
  145. package/dist/swimlanesDiagram-K3J5GTZL-D6tIMgkj.cjs +8 -0
  146. package/dist/swimlanesDiagram-K3J5GTZL-_MehEHMi.js +27 -0
  147. package/dist/timeline-definition-YOQAKGHF-D_LWHCSA.cjs +120 -0
  148. package/dist/{timeline-definition-24CTP7MA-BQmq-H07.js → timeline-definition-YOQAKGHF-h8_spxIb.js} +210 -206
  149. package/dist/treeView-D4JQ5SDB-C3ticT1s.cjs +1 -0
  150. package/dist/treeView-D4JQ5SDB-CEuRf8gK.js +3 -0
  151. package/dist/treemap-SAJKECNS-BwIfwvl-.cjs +1 -0
  152. package/dist/treemap-SAJKECNS-DiC0668-.js +3 -0
  153. package/dist/usecaseDiagram-VIAY4XPW-DCfwvERR.js +7187 -0
  154. package/dist/usecaseDiagram-VIAY4XPW-PJHZiyJN.cjs +328 -0
  155. package/dist/{vennDiagram-4TSXK5OY-BdzbrV6i.js → vennDiagram-BLWOH2XV-_zHkfDVB.js} +43 -43
  156. package/dist/{vennDiagram-4TSXK5OY-D5MMYyff.cjs → vennDiagram-BLWOH2XV-niExkaFk.cjs} +3 -3
  157. package/dist/wardley-7MLQ67FV-BoIyQQ0E.cjs +1 -0
  158. package/dist/wardley-7MLQ67FV-CFF6IT1d.js +3 -0
  159. package/dist/{wardleyDiagram-VM6X3IG4-Ccz1enMd.js → wardleyDiagram-YMQ3BMBF-BKvQkiZP.js} +17 -17
  160. package/dist/{wardleyDiagram-VM6X3IG4-DzZNzmB8.cjs → wardleyDiagram-YMQ3BMBF-btlDrKA6.cjs} +3 -3
  161. package/dist/xychartDiagram-TAQBALBS-CkNZcyIi.cjs +7 -0
  162. package/dist/{xychartDiagram-S5SC5T6Z-B-sQkN_B.js → xychartDiagram-TAQBALBS-DlfKpBG9.js} +34 -30
  163. package/package.json +2 -2
  164. package/dist/architecture-7GRP2DOG-BtgYGXkq.cjs +0 -1
  165. package/dist/architecture-7GRP2DOG-DBQ9eYgM.js +0 -3
  166. package/dist/c4Diagram-7LVT6UL2-BCrC0RQo.cjs +0 -38
  167. package/dist/channel-DcrLLvcO.cjs +0 -1
  168. package/dist/chunk-3NF5O7KM-B-DpUW2r.cjs +0 -168
  169. package/dist/chunk-4HAMMTFA-CtkrBT7X.cjs +0 -62
  170. package/dist/chunk-75Z2AOVW-DOXS9ORa.cjs +0 -2
  171. package/dist/chunk-DU6HZSFF-3Hhp3Fo5.cjs +0 -127
  172. package/dist/chunk-FOHPRMQF-BNNbqxGX.js +0 -21456
  173. package/dist/chunk-FOHPRMQF-tmTlwTeH.cjs +0 -161
  174. package/dist/chunk-GMAD6QVW-B6uvB_wz.cjs +0 -72
  175. package/dist/chunk-HLEWEB6X-aqFoPl02.cjs +0 -206
  176. package/dist/chunk-L3NEJ4N5-BaR_9rF3.js +0 -245
  177. package/dist/chunk-L3NEJ4N5-vW3qRjIb.cjs +0 -1
  178. package/dist/chunk-OSK3NFVY-DU2FGOlI.cjs +0 -10
  179. package/dist/chunk-P2QGCYS3-DWeL9spl.cjs +0 -1
  180. package/dist/chunk-ZLD2IHE6-BZxKwfuv.cjs +0 -231
  181. package/dist/classDiagram-CYGNFDIV-CQLOfBmz.cjs +0 -1
  182. package/dist/classDiagram-CYGNFDIV-DsnY_WNO.js +0 -30
  183. package/dist/classDiagram-v2-TLXNO2FR-CQLOfBmz.cjs +0 -1
  184. package/dist/classDiagram-v2-TLXNO2FR-DeNpu9ZP.js +0 -30
  185. package/dist/conversationHistory-BmpdU77I.cjs +0 -286
  186. package/dist/cynefin-OW5HDTMX-BmLJra-4.cjs +0 -1
  187. package/dist/cynefin-OW5HDTMX-CfYr_cVN.js +0 -3
  188. package/dist/dagre-BMKbPnPh.js +0 -1934
  189. package/dist/dagre-EEW2OxRU.cjs +0 -1
  190. package/dist/dagre-OS7QT2EB-BtJ6v_Nc.js +0 -425
  191. package/dist/dagre-OS7QT2EB-DFi6nnZc.cjs +0 -4
  192. package/dist/diagram-VSXAHHWV-BjsZz1JJ.cjs +0 -3
  193. package/dist/eventmodeling-NTZA5JFV-D57pc07U.cjs +0 -1
  194. package/dist/eventmodeling-NTZA5JFV-DUbGOrrF.js +0 -3
  195. package/dist/flowDiagram-T62WH6J4-YyzE7N5Z.cjs +0 -1
  196. package/dist/flowDiagram-T62WH6J4-ptBWC6KI.js +0 -16
  197. package/dist/gitGraph-4MIJSDKK-CY4IuhXZ.js +0 -3
  198. package/dist/gitGraph-4MIJSDKK-D97vaDci.cjs +0 -1
  199. package/dist/info-A6RAGUB7-Cx39sHYM.js +0 -3
  200. package/dist/info-A6RAGUB7-DT06-FB3.cjs +0 -1
  201. package/dist/infoDiagram-FKFFQAWI-NPtQF4vB.cjs +0 -2
  202. package/dist/loadReferencedImage-DlRgJ4vm.cjs +0 -1
  203. package/dist/mermaid-parser.core-CBiDgMLi.cjs +0 -6
  204. package/dist/mermaid.core-B3QcBB1O.cjs +0 -43
  205. package/dist/packet-AYTQ26CC-BGX2McoE.cjs +0 -1
  206. package/dist/packet-AYTQ26CC-IgkU2VYK.js +0 -3
  207. package/dist/pie-WAS4IAKB-CEyPj3UJ.cjs +0 -1
  208. package/dist/pie-WAS4IAKB-odE0A7fM.js +0 -3
  209. package/dist/radar-RG4KPBEZ-ClYJNseM.cjs +0 -1
  210. package/dist/radar-RG4KPBEZ-DqbNqlJH.js +0 -3
  211. package/dist/railroad-74A4TZTK-Dzt4afqg.js +0 -3
  212. package/dist/railroad-74A4TZTK-hSKcr2y6.cjs +0 -1
  213. package/dist/railroad-abnf-HS5TGJTU-gq2RybTO.js +0 -3
  214. package/dist/railroad-abnf-HS5TGJTU-irEXz0eI.cjs +0 -1
  215. package/dist/railroad-ebnf-LZEXJU2U-CG19A1Xj.cjs +0 -1
  216. package/dist/railroad-ebnf-LZEXJU2U-D-pNpFrj.js +0 -3
  217. package/dist/railroad-peg-WCYAUIDC-BLdK3QCV.cjs +0 -1
  218. package/dist/railroad-peg-WCYAUIDC-Bo7wfe--.js +0 -3
  219. package/dist/sequenceDiagram-WJ2MYXX4-DlVJIIIl.cjs +0 -162
  220. package/dist/stateDiagram-XQSTLZYL-BhzcW44q.js +0 -220
  221. package/dist/stateDiagram-XQSTLZYL-mSOJx_Wv.cjs +0 -1
  222. package/dist/stateDiagram-v2-IH3M54BS-BE5CXOTu.js +0 -30
  223. package/dist/stateDiagram-v2-IH3M54BS-DAa6SuH4.cjs +0 -1
  224. package/dist/swimlanes-V6O3JKXN-BooYLGtP.cjs +0 -1
  225. package/dist/swimlanesDiagram-JKAHXJPX-BaMCBEUQ.cjs +0 -8
  226. package/dist/swimlanesDiagram-JKAHXJPX-lIPwQ8Mc.js +0 -30
  227. package/dist/timeline-definition-24CTP7MA-D6sSmprF.cjs +0 -120
  228. package/dist/treeView-Q6P3EWNA-BmkQxkVU.cjs +0 -1
  229. package/dist/treeView-Q6P3EWNA-CPEEGmNv.js +0 -3
  230. package/dist/treemap-WGGIJYW6-CGULpntJ.js +0 -3
  231. package/dist/treemap-WGGIJYW6-Dmi9HAR8.cjs +0 -1
  232. package/dist/wardley-WFR3VGLG-9zHZLKh9.js +0 -3
  233. package/dist/wardley-WFR3VGLG-B6YvLPJA.cjs +0 -1
  234. package/dist/xychartDiagram-S5SC5T6Z-BOsjfYJh.cjs +0 -7
@@ -1,105 +1,10 @@
1
- import { i as e, t } from "./rolldown-runtime-DArdT4gl.js";
2
- import { n } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
3
- import { m as r, p as i } from "./src-Dkp7vqs8.js";
4
- import { A as a, F as o, b as s, s as c, z as l } from "./chunk-DU6HZSFF-BW30DVuW.js";
5
- import { a as u } from "./chunk-75Z2AOVW-DoA8rENV.js";
6
- import { n as d, t as f } from "./chunk-PWAF6VOD-9dCi1q-p.js";
7
- //#region ../node_modules/fastdom/fastdom.js
8
- var p = /* @__PURE__ */ t(((e, t) => {
9
- (function(e) {
10
- var n = e.requestAnimationFrame || e.webkitRequestAnimationFrame || e.mozRequestAnimationFrame || e.msRequestAnimationFrame || function(e) {
11
- return setTimeout(e, 16);
12
- };
13
- function r() {
14
- var t = this;
15
- t.reads = [], t.writes = [], t.raf = n.bind(e);
16
- }
17
- r.prototype = {
18
- constructor: r,
19
- runTasks: function(e) {
20
- for (var t; t = e.shift();) t();
21
- },
22
- measure: function(e, t) {
23
- var n = t ? e.bind(t) : e;
24
- return this.reads.push(n), i(this), n;
25
- },
26
- mutate: function(e, t) {
27
- var n = t ? e.bind(t) : e;
28
- return this.writes.push(n), i(this), n;
29
- },
30
- clear: function(e) {
31
- return o(this.reads, e) || o(this.writes, e);
32
- },
33
- extend: function(e) {
34
- if (typeof e != "object") throw Error("expected object");
35
- var t = Object.create(this);
36
- return s(t, e), t.fastdom = this, t.initialize && t.initialize(), t;
37
- },
38
- catch: null
39
- };
40
- function i(e) {
41
- e.scheduled || (e.scheduled = !0, e.raf(a.bind(null, e)));
42
- }
43
- function a(e) {
44
- var t = e.writes, n = e.reads, r;
45
- try {
46
- n.length, e.runTasks(n), t.length, e.runTasks(t);
47
- } catch (e) {
48
- r = e;
49
- }
50
- if (e.scheduled = !1, (n.length || t.length) && i(e), r) {
51
- if (r.message, e.catch) e.catch(r);
52
- else throw r;
53
- }
54
- }
55
- function o(e, t) {
56
- var n = e.indexOf(t);
57
- return !!~n && !!e.splice(n, 1);
58
- }
59
- function s(e, t) {
60
- for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]);
61
- }
62
- var c = e.fastdom = e.fastdom || new r();
63
- typeof define == "function" ? define(function() {
64
- return c;
65
- }) : typeof t == "object" && (t.exports = c);
66
- })(typeof window < "u" ? window : e === void 0 ? globalThis : e);
67
- })), m = /* @__PURE__ */ t(((e, t) => {
68
- (function() {
69
- var e = {
70
- initialize: function() {
71
- this._tasks = /* @__PURE__ */ new Map();
72
- },
73
- mutate: function(e, t) {
74
- return n(this, "mutate", e, t);
75
- },
76
- measure: function(e, t) {
77
- return n(this, "measure", e, t);
78
- },
79
- clear: function(e) {
80
- var t = this._tasks, n = t.get(e);
81
- this.fastdom.clear(n), t.delete(e);
82
- }
83
- };
84
- function n(e, t, n, r) {
85
- var i = e._tasks, a = e.fastdom, o, s = new Promise(function(e, c) {
86
- o = a[t](function() {
87
- i.delete(s);
88
- try {
89
- e(r ? n.call(r) : n());
90
- } catch (e) {
91
- c(e);
92
- }
93
- }, r);
94
- });
95
- return i.set(s, o), s;
96
- }
97
- (typeof define)[0] == "f" ? define(function() {
98
- return e;
99
- }) : (typeof t)[0] == "o" ? t.exports = e : window.fastdomPromised = e;
100
- })();
101
- })), h = /* @__PURE__ */ e(p(), 1), ee = /* @__PURE__ */ e(m(), 1);
102
- function g() {
1
+ import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
+ import { m as t, p as n } from "./src-Dkp7vqs8.js";
3
+ import { F as r, k as i, s as a, y as o, z as s } from "./chunk-VPRB5NB3-DJh7spRO.js";
4
+ import { a as c } from "./chunk-3YJQHVM4-BNbfg-7y.js";
5
+ import { n as l, t as u } from "./chunk-HJ2JQQFS-CgYTXthn.js";
6
+ //#region ../node_modules/marked/lib/marked.esm.js
7
+ function d() {
103
8
  return {
104
9
  async: !1,
105
10
  breaks: !1,
@@ -113,28 +18,28 @@ function g() {
113
18
  walkTokens: null
114
19
  };
115
20
  }
116
- var _ = g();
117
- function te(e) {
118
- _ = e;
21
+ var f = d();
22
+ function p(e) {
23
+ f = e;
119
24
  }
120
- var v = { exec: () => null };
121
- function y(e, t = "") {
25
+ var m = { exec: () => null };
26
+ function h(e, t = "") {
122
27
  let n = typeof e == "string" ? e : e.source, r = {
123
28
  replace: (e, t) => {
124
29
  let i = typeof t == "string" ? t : t.source;
125
- return i = i.replace(b.caret, "$1"), n = n.replace(e, i), r;
30
+ return i = i.replace(_.caret, "$1"), n = n.replace(e, i), r;
126
31
  },
127
32
  getRegex: () => new RegExp(n, t)
128
33
  };
129
34
  return r;
130
35
  }
131
- var ne = (() => {
36
+ var g = (() => {
132
37
  try {
133
38
  return !0;
134
39
  } catch {
135
40
  return !1;
136
41
  }
137
- })(), b = {
42
+ })(), _ = {
138
43
  codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
139
44
  outputLinkReplace: /\\([\[\]])/g,
140
45
  indentCodeCompensation: /^(\s+)(?:```)/,
@@ -191,113 +96,113 @@ var ne = (() => {
191
96
  fencesBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}(?:\`\`\`|~~~)`),
192
97
  headingBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}#`),
193
98
  htmlBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i")
194
- }, re = /^(?:[ \t]*(?:\n|$))+/, ie = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, ae = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, x = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, oe = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, S = /(?:[*+-]|\d{1,9}[.)])/, se = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, ce = y(se).replace(/bull/g, S).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), le = y(se).replace(/bull/g, S).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), C = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ue = /^[^\n]+/, w = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, de = y(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", w).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), fe = y(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, S).getRegex(), T = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", E = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, pe = y("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", E).replace("tag", T).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), me = y(C).replace("hr", x).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", T).getRegex(), D = {
195
- blockquote: y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", me).getRegex(),
196
- code: ie,
197
- def: de,
198
- fences: ae,
199
- heading: oe,
200
- hr: x,
201
- html: pe,
202
- lheading: ce,
203
- list: fe,
204
- newline: re,
205
- paragraph: me,
206
- table: v,
207
- text: ue
208
- }, he = y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", x).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", T).getRegex(), ge = {
209
- ...D,
210
- lheading: le,
211
- table: he,
212
- paragraph: y(C).replace("hr", x).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", he).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", T).getRegex()
213
- }, _e = {
214
- ...D,
215
- html: y("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", E).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
99
+ }, ee = /^(?:[ \t]*(?:\n|$))+/, te = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, ne = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, v = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, re = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, y = /(?:[*+-]|\d{1,9}[.)])/, ie = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, ae = h(ie).replace(/bull/g, y).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), oe = h(ie).replace(/bull/g, y).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), b = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, se = /^[^\n]+/, x = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, ce = h(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", x).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), le = h(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, y).getRegex(), S = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", C = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ue = h("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", C).replace("tag", S).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), de = h(b).replace("hr", v).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", S).getRegex(), w = {
100
+ blockquote: h(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", de).getRegex(),
101
+ code: te,
102
+ def: ce,
103
+ fences: ne,
104
+ heading: re,
105
+ hr: v,
106
+ html: ue,
107
+ lheading: ae,
108
+ list: le,
109
+ newline: ee,
110
+ paragraph: de,
111
+ table: m,
112
+ text: se
113
+ }, fe = h("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", v).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", S).getRegex(), pe = {
114
+ ...w,
115
+ lheading: oe,
116
+ table: fe,
117
+ paragraph: h(b).replace("hr", v).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", fe).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", S).getRegex()
118
+ }, me = {
119
+ ...w,
120
+ html: h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", C).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
216
121
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
217
122
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
218
- fences: v,
123
+ fences: m,
219
124
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
220
- paragraph: y(C).replace("hr", x).replace("heading", " *#{1,6} *[^\n]").replace("lheading", ce).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
221
- }, ve = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ye = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, be = /^( {2,}|\\)\n(?!\s*$)/, xe = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, O = /[\p{P}\p{S}]/u, k = /[\s\p{P}\p{S}]/u, Se = /[^\s\p{P}\p{S}]/u, Ce = y(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, k).getRegex(), we = /(?!~)[\p{P}\p{S}]/u, Te = /(?!~)[\s\p{P}\p{S}]/u, Ee = /(?:[^\s\p{P}\p{S}]|~)/u, De = y(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", ne ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), Oe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, ke = y(Oe, "u").replace(/punct/g, O).getRegex(), Ae = y(Oe, "u").replace(/punct/g, we).getRegex(), je = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Me = y(je, "gu").replace(/notPunctSpace/g, Se).replace(/punctSpace/g, k).replace(/punct/g, O).getRegex(), Ne = y(je, "gu").replace(/notPunctSpace/g, Ee).replace(/punctSpace/g, Te).replace(/punct/g, we).getRegex(), Pe = y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Se).replace(/punctSpace/g, k).replace(/punct/g, O).getRegex(), Fe = y(/\\(punct)/, "gu").replace(/punct/g, O).getRegex(), Ie = y(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Le = y(E).replace("(?:-->|$)", "-->").getRegex(), Re = y("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Le).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), A = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, ze = y(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", A).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Be = y(/^!?\[(label)\]\[(ref)\]/).replace("label", A).replace("ref", w).getRegex(), Ve = y(/^!?\[(ref)\](?:\[\])?/).replace("ref", w).getRegex(), He = y("reflink|nolink(?!\\()", "g").replace("reflink", Be).replace("nolink", Ve).getRegex(), Ue = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, j = {
222
- _backpedal: v,
223
- anyPunctuation: Fe,
224
- autolink: Ie,
225
- blockSkip: De,
226
- br: be,
227
- code: ye,
228
- del: v,
229
- emStrongLDelim: ke,
230
- emStrongRDelimAst: Me,
231
- emStrongRDelimUnd: Pe,
232
- escape: ve,
233
- link: ze,
234
- nolink: Ve,
235
- punctuation: Ce,
236
- reflink: Be,
237
- reflinkSearch: He,
238
- tag: Re,
239
- text: xe,
240
- url: v
241
- }, We = {
242
- ...j,
243
- link: y(/^!?\[(label)\]\((.*?)\)/).replace("label", A).getRegex(),
244
- reflink: y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", A).getRegex()
245
- }, M = {
246
- ...j,
247
- emStrongRDelimAst: Ne,
248
- emStrongLDelim: Ae,
249
- url: y(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Ue).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
125
+ paragraph: h(b).replace("hr", v).replace("heading", " *#{1,6} *[^\n]").replace("lheading", ae).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
126
+ }, he = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ge = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, _e = /^( {2,}|\\)\n(?!\s*$)/, ve = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, T = /[\p{P}\p{S}]/u, E = /[\s\p{P}\p{S}]/u, ye = /[^\s\p{P}\p{S}]/u, be = h(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, E).getRegex(), xe = /(?!~)[\p{P}\p{S}]/u, Se = /(?!~)[\s\p{P}\p{S}]/u, Ce = /(?:[^\s\p{P}\p{S}]|~)/u, we = h(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", g ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), Te = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Ee = h(Te, "u").replace(/punct/g, T).getRegex(), De = h(Te, "u").replace(/punct/g, xe).getRegex(), Oe = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", ke = h(Oe, "gu").replace(/notPunctSpace/g, ye).replace(/punctSpace/g, E).replace(/punct/g, T).getRegex(), Ae = h(Oe, "gu").replace(/notPunctSpace/g, Ce).replace(/punctSpace/g, Se).replace(/punct/g, xe).getRegex(), je = h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ye).replace(/punctSpace/g, E).replace(/punct/g, T).getRegex(), Me = h(/\\(punct)/, "gu").replace(/punct/g, T).getRegex(), Ne = h(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Pe = h(C).replace("(?:-->|$)", "-->").getRegex(), Fe = h("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Pe).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), D = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, Ie = h(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", D).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Le = h(/^!?\[(label)\]\[(ref)\]/).replace("label", D).replace("ref", x).getRegex(), Re = h(/^!?\[(ref)\](?:\[\])?/).replace("ref", x).getRegex(), ze = h("reflink|nolink(?!\\()", "g").replace("reflink", Le).replace("nolink", Re).getRegex(), Be = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, O = {
127
+ _backpedal: m,
128
+ anyPunctuation: Me,
129
+ autolink: Ne,
130
+ blockSkip: we,
131
+ br: _e,
132
+ code: ge,
133
+ del: m,
134
+ emStrongLDelim: Ee,
135
+ emStrongRDelimAst: ke,
136
+ emStrongRDelimUnd: je,
137
+ escape: he,
138
+ link: Ie,
139
+ nolink: Re,
140
+ punctuation: be,
141
+ reflink: Le,
142
+ reflinkSearch: ze,
143
+ tag: Fe,
144
+ text: ve,
145
+ url: m
146
+ }, Ve = {
147
+ ...O,
148
+ link: h(/^!?\[(label)\]\((.*?)\)/).replace("label", D).getRegex(),
149
+ reflink: h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", D).getRegex()
150
+ }, k = {
151
+ ...O,
152
+ emStrongRDelimAst: Ae,
153
+ emStrongLDelim: De,
154
+ url: h(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Be).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
250
155
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
251
156
  del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
252
- text: y(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Ue).getRegex()
253
- }, Ge = {
254
- ...M,
255
- br: y(be).replace("{2,}", "*").getRegex(),
256
- text: y(M.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
257
- }, N = {
258
- normal: D,
259
- gfm: ge,
260
- pedantic: _e
261
- }, P = {
262
- normal: j,
263
- gfm: M,
264
- breaks: Ge,
265
- pedantic: We
266
- }, Ke = {
157
+ text: h(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Be).getRegex()
158
+ }, He = {
159
+ ...k,
160
+ br: h(_e).replace("{2,}", "*").getRegex(),
161
+ text: h(k.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
162
+ }, A = {
163
+ normal: w,
164
+ gfm: pe,
165
+ pedantic: me
166
+ }, j = {
167
+ normal: O,
168
+ gfm: k,
169
+ breaks: He,
170
+ pedantic: Ve
171
+ }, Ue = {
267
172
  "&": "&amp;",
268
173
  "<": "&lt;",
269
174
  ">": "&gt;",
270
175
  "\"": "&quot;",
271
176
  "'": "&#39;"
272
- }, qe = (e) => Ke[e];
273
- function F(e, t) {
177
+ }, We = (e) => Ue[e];
178
+ function M(e, t) {
274
179
  if (t) {
275
- if (b.escapeTest.test(e)) return e.replace(b.escapeReplace, qe);
276
- } else if (b.escapeTestNoEncode.test(e)) return e.replace(b.escapeReplaceNoEncode, qe);
180
+ if (_.escapeTest.test(e)) return e.replace(_.escapeReplace, We);
181
+ } else if (_.escapeTestNoEncode.test(e)) return e.replace(_.escapeReplaceNoEncode, We);
277
182
  return e;
278
183
  }
279
- function Je(e) {
184
+ function Ge(e) {
280
185
  try {
281
- e = encodeURI(e).replace(b.percentDecode, "%");
186
+ e = encodeURI(e).replace(_.percentDecode, "%");
282
187
  } catch {
283
188
  return null;
284
189
  }
285
190
  return e;
286
191
  }
287
- function Ye(e, t) {
288
- let n = e.replace(b.findPipe, (e, t, n) => {
192
+ function Ke(e, t) {
193
+ let n = e.replace(_.findPipe, (e, t, n) => {
289
194
  let r = !1, i = t;
290
195
  for (; --i >= 0 && n[i] === "\\";) r = !r;
291
196
  return r ? "|" : " |";
292
- }).split(b.splitPipe), r = 0;
197
+ }).split(_.splitPipe), r = 0;
293
198
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) {
294
199
  if (n.length > t) n.splice(t);
295
200
  else for (; n.length < t;) n.push("");
296
201
  }
297
- for (; r < n.length; r++) n[r] = n[r].trim().replace(b.slashPipe, "|");
202
+ for (; r < n.length; r++) n[r] = n[r].trim().replace(_.slashPipe, "|");
298
203
  return n;
299
204
  }
300
- function I(e, t, n) {
205
+ function N(e, t, n) {
301
206
  let r = e.length;
302
207
  if (r === 0) return "";
303
208
  let i = 0;
@@ -309,7 +214,7 @@ function I(e, t, n) {
309
214
  }
310
215
  return e.slice(0, r - i);
311
216
  }
312
- function Xe(e, t) {
217
+ function qe(e, t) {
313
218
  if (e.indexOf(t[1]) === -1) return -1;
314
219
  let n = 0;
315
220
  for (let r = 0; r < e.length; r++) if (e[r] === "\\") r++;
@@ -317,7 +222,7 @@ function Xe(e, t) {
317
222
  else if (e[r] === t[1] && (n--, n < 0)) return r;
318
223
  return n > 0 ? -2 : -1;
319
224
  }
320
- function Ze(e, t, n, r, i) {
225
+ function Je(e, t, n, r, i) {
321
226
  let a = t.href, o = t.title || null, s = e[1].replace(i.other.outputLinkReplace, "$1");
322
227
  r.state.inLink = !0;
323
228
  let c = {
@@ -330,7 +235,7 @@ function Ze(e, t, n, r, i) {
330
235
  };
331
236
  return r.state.inLink = !1, c;
332
237
  }
333
- function Qe(e, t, n) {
238
+ function Ye(e, t, n) {
334
239
  let r = e.match(n.other.indentCodeCompensation);
335
240
  if (r === null) return t;
336
241
  let i = r[1];
@@ -341,12 +246,12 @@ function Qe(e, t, n) {
341
246
  return r.length >= i.length ? e.slice(i.length) : e;
342
247
  }).join("\n");
343
248
  }
344
- var L = class {
249
+ var P = class {
345
250
  options;
346
251
  rules;
347
252
  lexer;
348
253
  constructor(e) {
349
- this.options = e || _;
254
+ this.options = e || f;
350
255
  }
351
256
  space(e) {
352
257
  let t = this.rules.block.newline.exec(e);
@@ -363,14 +268,14 @@ var L = class {
363
268
  type: "code",
364
269
  raw: t[0],
365
270
  codeBlockStyle: "indented",
366
- text: this.options.pedantic ? e : I(e, "\n")
271
+ text: this.options.pedantic ? e : N(e, "\n")
367
272
  };
368
273
  }
369
274
  }
370
275
  fences(e) {
371
276
  let t = this.rules.block.fences.exec(e);
372
277
  if (t) {
373
- let e = t[0], n = Qe(e, t[3] || "", this.rules);
278
+ let e = t[0], n = Ye(e, t[3] || "", this.rules);
374
279
  return {
375
280
  type: "code",
376
281
  raw: e,
@@ -384,7 +289,7 @@ var L = class {
384
289
  if (t) {
385
290
  let e = t[2].trim();
386
291
  if (this.rules.other.endingHash.test(e)) {
387
- let t = I(e, "#");
292
+ let t = N(e, "#");
388
293
  (this.options.pedantic || !t || this.rules.other.endingSpaceChar.test(t)) && (e = t.trim());
389
294
  }
390
295
  return {
@@ -400,13 +305,13 @@ var L = class {
400
305
  let t = this.rules.block.hr.exec(e);
401
306
  if (t) return {
402
307
  type: "hr",
403
- raw: I(t[0], "\n")
308
+ raw: N(t[0], "\n")
404
309
  };
405
310
  }
406
311
  blockquote(e) {
407
312
  let t = this.rules.block.blockquote.exec(e);
408
313
  if (t) {
409
- let e = I(t[0], "\n").split("\n"), n = "", r = "", i = [];
314
+ let e = N(t[0], "\n").split("\n"), n = "", r = "", i = [];
410
315
  for (; e.length > 0;) {
411
316
  let t = !1, a = [], o;
412
317
  for (o = 0; o < e.length; o++) if (this.rules.other.blockquoteStart.test(e[o])) a.push(e[o]), t = !0;
@@ -521,7 +426,7 @@ ${c}` : c;
521
426
  table(e) {
522
427
  let t = this.rules.block.table.exec(e);
523
428
  if (!t || !this.rules.other.tableDelimiter.test(t[2])) return;
524
- let n = Ye(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
429
+ let n = Ke(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
525
430
  type: "table",
526
431
  raw: t[0],
527
432
  header: [],
@@ -536,7 +441,7 @@ ${c}` : c;
536
441
  header: !0,
537
442
  align: a.align[e]
538
443
  });
539
- for (let e of i) a.rows.push(Ye(e, a.header.length).map((e, t) => ({
444
+ for (let e of i) a.rows.push(Ke(e, a.header.length).map((e, t) => ({
540
445
  text: e,
541
446
  tokens: this.lexer.inline(e),
542
447
  header: !1,
@@ -601,10 +506,10 @@ ${c}` : c;
601
506
  let e = t[2].trim();
602
507
  if (!this.options.pedantic && this.rules.other.startAngleBracket.test(e)) {
603
508
  if (!this.rules.other.endAngleBracket.test(e)) return;
604
- let t = I(e.slice(0, -1), "\\");
509
+ let t = N(e.slice(0, -1), "\\");
605
510
  if ((e.length - t.length) % 2 == 0) return;
606
511
  } else {
607
- let e = Xe(t[2], "()");
512
+ let e = qe(t[2], "()");
608
513
  if (e === -2) return;
609
514
  if (e > -1) {
610
515
  let n = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + e;
@@ -616,7 +521,7 @@ ${c}` : c;
616
521
  let e = this.rules.other.pedanticHrefTitle.exec(n);
617
522
  e && (n = e[1], r = e[3]);
618
523
  } else r = t[3] ? t[3].slice(1, -1) : "";
619
- return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), Ze(t, {
524
+ return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), Je(t, {
620
525
  href: n && n.replace(this.rules.inline.anyPunctuation, "$1"),
621
526
  title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
622
527
  }, t[0], this.lexer, this.rules);
@@ -634,7 +539,7 @@ ${c}` : c;
634
539
  text: e
635
540
  };
636
541
  }
637
- return Ze(n, e, n[0], this.lexer, this.rules);
542
+ return Je(n, e, n[0], this.lexer, this.rules);
638
543
  }
639
544
  }
640
545
  emStrong(e, t, n = "") {
@@ -754,29 +659,29 @@ ${c}` : c;
754
659
  };
755
660
  }
756
661
  }
757
- }, R = class e {
662
+ }, F = class e {
758
663
  tokens;
759
664
  options;
760
665
  state;
761
666
  tokenizer;
762
667
  inlineQueue;
763
668
  constructor(e) {
764
- this.tokens = [], this.tokens.links = Object.create(null), this.options = e || _, this.options.tokenizer = this.options.tokenizer || new L(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
669
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || f, this.options.tokenizer = this.options.tokenizer || new P(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
765
670
  inLink: !1,
766
671
  inRawBlock: !1,
767
672
  top: !0
768
673
  };
769
674
  let t = {
770
- other: b,
771
- block: N.normal,
772
- inline: P.normal
675
+ other: _,
676
+ block: A.normal,
677
+ inline: j.normal
773
678
  };
774
- this.options.pedantic ? (t.block = N.pedantic, t.inline = P.pedantic) : this.options.gfm && (t.block = N.gfm, t.inline = this.options.breaks ? P.breaks : P.gfm), this.tokenizer.rules = t;
679
+ this.options.pedantic ? (t.block = A.pedantic, t.inline = j.pedantic) : this.options.gfm && (t.block = A.gfm, t.inline = this.options.breaks ? j.breaks : j.gfm), this.tokenizer.rules = t;
775
680
  }
776
681
  static get rules() {
777
682
  return {
778
- block: N,
779
- inline: P
683
+ block: A,
684
+ inline: j
780
685
  };
781
686
  }
782
687
  static lex(t, n) {
@@ -786,7 +691,7 @@ ${c}` : c;
786
691
  return new e(n).inlineTokens(t);
787
692
  }
788
693
  lex(e) {
789
- e = e.replace(b.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
694
+ e = e.replace(_.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
790
695
  for (let e = 0; e < this.inlineQueue.length; e++) {
791
696
  let t = this.inlineQueue[e];
792
697
  this.inlineTokens(t.src, t.tokens);
@@ -794,7 +699,7 @@ ${c}` : c;
794
699
  return this.inlineQueue = [], this.tokens;
795
700
  }
796
701
  blockTokens(e, t = [], n = !1) {
797
- for (this.options.pedantic && (e = e.replace(b.tabCharGlobal, " ").replace(b.spaceLine, "")); e;) {
702
+ for (this.options.pedantic && (e = e.replace(_.tabCharGlobal, " ").replace(_.spaceLine, "")); e;) {
798
703
  let r;
799
704
  if (this.options.extensions?.block?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
800
705
  if (r = this.tokenizer.space(e)) {
@@ -966,18 +871,18 @@ ${c}` : c;
966
871
  }
967
872
  return t;
968
873
  }
969
- }, z = class {
874
+ }, I = class {
970
875
  options;
971
876
  parser;
972
877
  constructor(e) {
973
- this.options = e || _;
878
+ this.options = e || f;
974
879
  }
975
880
  space(e) {
976
881
  return "";
977
882
  }
978
883
  code({ text: e, lang: t, escaped: n }) {
979
- let r = (t || "").match(b.notSpaceStart)?.[0], i = e.replace(b.endingNewline, "") + "\n";
980
- return r ? "<pre><code class=\"language-" + F(r) + "\">" + (n ? i : F(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : F(i, !0)) + "</code></pre>\n";
884
+ let r = (t || "").match(_.notSpaceStart)?.[0], i = e.replace(_.endingNewline, "") + "\n";
885
+ return r ? "<pre><code class=\"language-" + M(r) + "\">" + (n ? i : M(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : M(i, !0)) + "</code></pre>\n";
981
886
  }
982
887
  blockquote({ tokens: e }) {
983
888
  return `<blockquote>
@@ -1010,7 +915,7 @@ ${this.parser.parse(e)}</blockquote>
1010
915
  let t = "";
1011
916
  if (e.task) {
1012
917
  let n = this.checkbox({ checked: !!e.checked });
1013
- e.loose ? e.tokens[0]?.type === "paragraph" ? (e.tokens[0].text = n + " " + e.tokens[0].text, e.tokens[0].tokens && e.tokens[0].tokens.length > 0 && e.tokens[0].tokens[0].type === "text" && (e.tokens[0].tokens[0].text = n + " " + F(e.tokens[0].tokens[0].text), e.tokens[0].tokens[0].escaped = !0)) : e.tokens.unshift({
918
+ e.loose ? e.tokens[0]?.type === "paragraph" ? (e.tokens[0].text = n + " " + e.tokens[0].text, e.tokens[0].tokens && e.tokens[0].tokens.length > 0 && e.tokens[0].tokens[0].type === "text" && (e.tokens[0].tokens[0].text = n + " " + M(e.tokens[0].tokens[0].text), e.tokens[0].tokens[0].escaped = !0)) : e.tokens.unshift({
1014
919
  type: "text",
1015
920
  raw: n + " ",
1016
921
  text: n + " ",
@@ -1057,7 +962,7 @@ ${e}</tr>
1057
962
  return `<em>${this.parser.parseInline(e)}</em>`;
1058
963
  }
1059
964
  codespan({ text: e }) {
1060
- return `<code>${F(e, !0)}</code>`;
965
+ return `<code>${M(e, !0)}</code>`;
1061
966
  }
1062
967
  br(e) {
1063
968
  return "<br>";
@@ -1066,24 +971,24 @@ ${e}</tr>
1066
971
  return `<del>${this.parser.parseInline(e)}</del>`;
1067
972
  }
1068
973
  link({ href: e, title: t, tokens: n }) {
1069
- let r = this.parser.parseInline(n), i = Je(e);
974
+ let r = this.parser.parseInline(n), i = Ge(e);
1070
975
  if (i === null) return r;
1071
976
  e = i;
1072
977
  let a = "<a href=\"" + e + "\"";
1073
- return t && (a += " title=\"" + F(t) + "\""), a += ">" + r + "</a>", a;
978
+ return t && (a += " title=\"" + M(t) + "\""), a += ">" + r + "</a>", a;
1074
979
  }
1075
980
  image({ href: e, title: t, text: n, tokens: r }) {
1076
981
  r && (n = this.parser.parseInline(r, this.parser.textRenderer));
1077
- let i = Je(e);
1078
- if (i === null) return F(n);
982
+ let i = Ge(e);
983
+ if (i === null) return M(n);
1079
984
  e = i;
1080
985
  let a = `<img src="${e}" alt="${n}"`;
1081
- return t && (a += ` title="${F(t)}"`), a += ">", a;
986
+ return t && (a += ` title="${M(t)}"`), a += ">", a;
1082
987
  }
1083
988
  text(e) {
1084
- return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : F(e.text);
989
+ return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : M(e.text);
1085
990
  }
1086
- }, B = class {
991
+ }, L = class {
1087
992
  strong({ text: e }) {
1088
993
  return e;
1089
994
  }
@@ -1111,12 +1016,12 @@ ${e}</tr>
1111
1016
  br() {
1112
1017
  return "";
1113
1018
  }
1114
- }, V = class e {
1019
+ }, R = class e {
1115
1020
  options;
1116
1021
  renderer;
1117
1022
  textRenderer;
1118
1023
  constructor(e) {
1119
- this.options = e || _, this.options.renderer = this.options.renderer || new z(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new B();
1024
+ this.options = e || f, this.options.renderer = this.options.renderer || new I(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new L();
1120
1025
  }
1121
1026
  static parse(t, n) {
1122
1027
  return new e(n).parse(t);
@@ -1267,11 +1172,11 @@ ${e}</tr>
1267
1172
  }
1268
1173
  return n;
1269
1174
  }
1270
- }, H = class {
1175
+ }, z = class {
1271
1176
  options;
1272
1177
  block;
1273
1178
  constructor(e) {
1274
- this.options = e || _;
1179
+ this.options = e || f;
1275
1180
  }
1276
1181
  static passThroughHooks = /* @__PURE__ */ new Set([
1277
1182
  "preprocess",
@@ -1297,22 +1202,22 @@ ${e}</tr>
1297
1202
  return e;
1298
1203
  }
1299
1204
  provideLexer() {
1300
- return this.block ? R.lex : R.lexInline;
1205
+ return this.block ? F.lex : F.lexInline;
1301
1206
  }
1302
1207
  provideParser() {
1303
- return this.block ? V.parse : V.parseInline;
1208
+ return this.block ? R.parse : R.parseInline;
1304
1209
  }
1305
- }, U = new class {
1306
- defaults = g();
1210
+ }, B = new class {
1211
+ defaults = d();
1307
1212
  options = this.setOptions;
1308
1213
  parse = this.parseMarkdown(!0);
1309
1214
  parseInline = this.parseMarkdown(!1);
1310
- Parser = V;
1311
- Renderer = z;
1312
- TextRenderer = B;
1313
- Lexer = R;
1314
- Tokenizer = L;
1315
- Hooks = H;
1215
+ Parser = R;
1216
+ Renderer = I;
1217
+ TextRenderer = L;
1218
+ Lexer = F;
1219
+ Tokenizer = P;
1220
+ Hooks = z;
1316
1221
  constructor(...e) {
1317
1222
  this.use(...e);
1318
1223
  }
@@ -1363,7 +1268,7 @@ ${e}</tr>
1363
1268
  }
1364
1269
  "childTokens" in e && e.childTokens && (t.childTokens[e.name] = e.childTokens);
1365
1270
  }), n.extensions = t), e.renderer) {
1366
- let t = this.defaults.renderer || new z(this.defaults);
1271
+ let t = this.defaults.renderer || new I(this.defaults);
1367
1272
  for (let n in e.renderer) {
1368
1273
  if (!(n in t)) throw Error(`renderer '${n}' does not exist`);
1369
1274
  if (["options", "parser"].includes(n)) continue;
@@ -1376,7 +1281,7 @@ ${e}</tr>
1376
1281
  n.renderer = t;
1377
1282
  }
1378
1283
  if (e.tokenizer) {
1379
- let t = this.defaults.tokenizer || new L(this.defaults);
1284
+ let t = this.defaults.tokenizer || new P(this.defaults);
1380
1285
  for (let n in e.tokenizer) {
1381
1286
  if (!(n in t)) throw Error(`tokenizer '${n}' does not exist`);
1382
1287
  if ([
@@ -1393,13 +1298,13 @@ ${e}</tr>
1393
1298
  n.tokenizer = t;
1394
1299
  }
1395
1300
  if (e.hooks) {
1396
- let t = this.defaults.hooks || new H();
1301
+ let t = this.defaults.hooks || new z();
1397
1302
  for (let n in e.hooks) {
1398
1303
  if (!(n in t)) throw Error(`hook '${n}' does not exist`);
1399
1304
  if (["options", "block"].includes(n)) continue;
1400
1305
  let r = n, i = e.hooks[r], a = t[r];
1401
- t[r] = H.passThroughHooks.has(n) ? (e) => {
1402
- if (this.defaults.async && H.passThroughHooksRespectAsync.has(n)) return (async () => {
1306
+ t[r] = z.passThroughHooks.has(n) ? (e) => {
1307
+ if (this.defaults.async && z.passThroughHooksRespectAsync.has(n)) return (async () => {
1403
1308
  let n = await i.call(t, e);
1404
1309
  return a.call(t, n);
1405
1310
  })();
@@ -1436,10 +1341,10 @@ ${e}</tr>
1436
1341
  }, this;
1437
1342
  }
1438
1343
  lexer(e, t) {
1439
- return R.lex(e, t ?? this.defaults);
1344
+ return F.lex(e, t ?? this.defaults);
1440
1345
  }
1441
1346
  parser(e, t) {
1442
- return V.parse(e, t ?? this.defaults);
1347
+ return R.parse(e, t ?? this.defaults);
1443
1348
  }
1444
1349
  parseMarkdown(e) {
1445
1350
  return (t, n) => {
@@ -1451,16 +1356,16 @@ ${e}</tr>
1451
1356
  if (typeof t > "u" || t === null) return a(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
1452
1357
  if (typeof t != "string") return a(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected"));
1453
1358
  if (i.hooks && (i.hooks.options = i, i.hooks.block = e), i.async) return (async () => {
1454
- let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer() : e ? R.lex : R.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
1359
+ let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer() : e ? F.lex : F.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
1455
1360
  i.walkTokens && await Promise.all(this.walkTokens(a, i.walkTokens));
1456
- let o = await (i.hooks ? await i.hooks.provideParser() : e ? V.parse : V.parseInline)(a, i);
1361
+ let o = await (i.hooks ? await i.hooks.provideParser() : e ? R.parse : R.parseInline)(a, i);
1457
1362
  return i.hooks ? await i.hooks.postprocess(o) : o;
1458
1363
  })().catch(a);
1459
1364
  try {
1460
1365
  i.hooks && (t = i.hooks.preprocess(t));
1461
- let n = (i.hooks ? i.hooks.provideLexer() : e ? R.lex : R.lexInline)(t, i);
1366
+ let n = (i.hooks ? i.hooks.provideLexer() : e ? F.lex : F.lexInline)(t, i);
1462
1367
  i.hooks && (n = i.hooks.processAllTokens(n)), i.walkTokens && this.walkTokens(n, i.walkTokens);
1463
- let r = (i.hooks ? i.hooks.provideParser() : e ? V.parse : V.parseInline)(n, i);
1368
+ let r = (i.hooks ? i.hooks.provideParser() : e ? R.parse : R.parseInline)(n, i);
1464
1369
  return i.hooks && (r = i.hooks.postprocess(r)), r;
1465
1370
  } catch (e) {
1466
1371
  return a(e);
@@ -1470,7 +1375,7 @@ ${e}</tr>
1470
1375
  onError(e, t) {
1471
1376
  return (n) => {
1472
1377
  if (n.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
1473
- let e = "<p>An error occurred:</p><pre>" + F(n.message + "", !0) + "</pre>";
1378
+ let e = "<p>An error occurred:</p><pre>" + M(n.message + "", !0) + "</pre>";
1474
1379
  return t ? Promise.resolve(e) : e;
1475
1380
  }
1476
1381
  if (t) return Promise.reject(n);
@@ -1478,19 +1383,19 @@ ${e}</tr>
1478
1383
  };
1479
1384
  }
1480
1385
  }();
1481
- function W(e, t) {
1482
- return U.parse(e, t);
1386
+ function V(e, t) {
1387
+ return B.parse(e, t);
1483
1388
  }
1484
- W.options = W.setOptions = function(e) {
1485
- return U.setOptions(e), W.defaults = U.defaults, te(W.defaults), W;
1486
- }, W.getDefaults = g, W.defaults = _, W.use = function(...e) {
1487
- return U.use(...e), W.defaults = U.defaults, te(W.defaults), W;
1488
- }, W.walkTokens = function(e, t) {
1489
- return U.walkTokens(e, t);
1490
- }, W.parseInline = U.parseInline, W.Parser = V, W.parser = V.parse, W.Renderer = z, W.TextRenderer = B, W.Lexer = R, W.lexer = R.lex, W.Tokenizer = L, W.Hooks = H, W.parse = W, W.options, W.setOptions, W.use, W.walkTokens, W.parseInline, V.parse, R.lex;
1389
+ V.options = V.setOptions = function(e) {
1390
+ return B.setOptions(e), V.defaults = B.defaults, p(V.defaults), V;
1391
+ }, V.getDefaults = d, V.defaults = f, V.use = function(...e) {
1392
+ return B.use(...e), V.defaults = B.defaults, p(V.defaults), V;
1393
+ }, V.walkTokens = function(e, t) {
1394
+ return B.walkTokens(e, t);
1395
+ }, V.parseInline = B.parseInline, V.Parser = R, V.parser = R.parse, V.Renderer = I, V.TextRenderer = L, V.Lexer = F, V.lexer = F.lex, V.Tokenizer = P, V.Hooks = z, V.parse = V, V.options, V.setOptions, V.use, V.walkTokens, V.parseInline, R.parse, F.lex;
1491
1396
  //#endregion
1492
1397
  //#region ../node_modules/ts-dedent/esm/index.js
1493
- function $e(e) {
1398
+ function Xe(e) {
1494
1399
  var t = [...arguments].slice(1), n = Array.from(typeof e == "string" ? [e] : e);
1495
1400
  n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, "");
1496
1401
  var r = n.reduce(function(e, t) {
@@ -1516,8 +1421,8 @@ function $e(e) {
1516
1421
  }), a;
1517
1422
  }
1518
1423
  //#endregion
1519
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-GMAD6QVW.mjs
1520
- var G = typeof performance < "u" && typeof performance.now == "function", K = /* @__PURE__ */ n(() => G ? performance.now() : 0, "now"), q = "🧜 ", et = "Mermaid render", tt = "Mermaid", nt = {
1424
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-E2ZNV5FY.mjs
1425
+ var H = typeof performance < "u" && typeof performance.now == "function", U = /* @__PURE__ */ e(() => H ? performance.now() : 0, "now"), W = "🧜 ", Ze = "Mermaid render", Qe = "Mermaid", $e = {
1521
1426
  parse: "tertiary",
1522
1427
  prepare: "secondary",
1523
1428
  measure: "primary",
@@ -1533,7 +1438,7 @@ var G = typeof performance < "u" && typeof performance.now == "function", K = /*
1533
1438
  this.enabled = !1, this.autoPrint = !0, this.records = [], this.maxRecords = 200, this.roots = [], this.stack = [], this.buckets = {};
1534
1439
  }
1535
1440
  static {
1536
- n(this, "Profiler");
1441
+ e(this, "Profiler");
1537
1442
  }
1538
1443
  enable() {
1539
1444
  return this.enabled = !0, this;
@@ -1546,20 +1451,20 @@ var G = typeof performance < "u" && typeof performance.now == "function", K = /*
1546
1451
  }
1547
1452
  tickSync(e, t) {
1548
1453
  if (!this.enabled) return t();
1549
- let n = K();
1454
+ let n = U();
1550
1455
  try {
1551
1456
  return t();
1552
1457
  } finally {
1553
- this.buckets[e] = (this.buckets[e] ?? 0) + (K() - n);
1458
+ this.buckets[e] = (this.buckets[e] ?? 0) + (U() - n);
1554
1459
  }
1555
1460
  }
1556
1461
  async tick(e, t) {
1557
1462
  if (!this.enabled) return t();
1558
- let n = K();
1463
+ let n = U();
1559
1464
  try {
1560
1465
  return await t();
1561
1466
  } finally {
1562
- this.buckets[e] = (this.buckets[e] ?? 0) + (K() - n);
1467
+ this.buckets[e] = (this.buckets[e] ?? 0) + (U() - n);
1563
1468
  }
1564
1469
  }
1565
1470
  stop() {
@@ -1576,28 +1481,28 @@ var G = typeof performance < "u" && typeof performance.now == "function", K = /*
1576
1481
  if (!this.enabled) return;
1577
1482
  let t = {
1578
1483
  name: e,
1579
- start: K(),
1484
+ start: U(),
1580
1485
  duration: -1,
1581
1486
  children: []
1582
1487
  }, n = this.stack.at(-1);
1583
- if (n ? n.children.push(t) : this.roots.push(t), this.stack.push(t), G && typeof performance.mark == "function") try {
1584
- performance.mark(`${q}${e} \u25B6`);
1488
+ if (n ? n.children.push(t) : this.roots.push(t), this.stack.push(t), H && typeof performance.mark == "function") try {
1489
+ performance.mark(`${W}${e} \u25B6`);
1585
1490
  } catch {}
1586
1491
  }
1587
1492
  end() {
1588
1493
  if (!this.enabled) return;
1589
1494
  let e = this.stack.pop();
1590
1495
  if (!e) return;
1591
- let t = K();
1592
- if (e.duration = t - e.start, G && typeof performance.measure == "function") try {
1593
- performance.measure(`${q}${e.name}`, {
1496
+ let t = U();
1497
+ if (e.duration = t - e.start, H && typeof performance.measure == "function") try {
1498
+ performance.measure(`${W}${e.name}`, {
1594
1499
  start: e.start,
1595
1500
  end: t,
1596
1501
  detail: { devtools: {
1597
1502
  dataType: "track-entry",
1598
- track: et,
1599
- trackGroup: tt,
1600
- color: nt[e.name] ?? "primary",
1503
+ track: Ze,
1504
+ trackGroup: Qe,
1505
+ color: $e[e.name] ?? "primary",
1601
1506
  tooltipText: `${e.name} \u2014 ${e.duration.toFixed(1)} ms`
1602
1507
  } }
1603
1508
  });
@@ -1621,9 +1526,9 @@ var G = typeof performance < "u" && typeof performance.now == "function", K = /*
1621
1526
  reset() {
1622
1527
  this.roots = [], this.stack = [];
1623
1528
  }
1624
- printSummary(e = this.report(), t) {
1625
- if (!e) return;
1626
- let r = e.duration, i = t && t !== e.name ? `${e.name} [${t}]` : e.name, a = ["ms % phase"], o = /* @__PURE__ */ n((e, t) => {
1529
+ printSummary(t = this.report(), n) {
1530
+ if (!t) return;
1531
+ let r = t.duration, i = n && n !== t.name ? `${t.name} [${n}]` : t.name, a = ["ms % phase"], o = /* @__PURE__ */ e((e, t) => {
1627
1532
  let n = " ".repeat(t), i = e.duration.toFixed(1).padStart(8), s = r > 0 ? `${(e.duration / r * 100).toFixed(0).padStart(3)}%` : " -";
1628
1533
  a.push(`${i} ${s} ${n}${e.name}`);
1629
1534
  for (let n of e.children) o(n, t + 1);
@@ -1635,13 +1540,13 @@ var G = typeof performance < "u" && typeof performance.now == "function", K = /*
1635
1540
  }
1636
1541
  }
1637
1542
  }, "walk");
1638
- o(e, 0);
1543
+ o(t, 0);
1639
1544
  let s = Object.keys(this.buckets);
1640
1545
  if (s.length > 0) {
1641
1546
  a.push("—— buckets (summed) ——");
1642
1547
  for (let e of s) a.push(`${this.buckets[e].toFixed(1).padStart(8)} ${e}`);
1643
1548
  }
1644
- console.log(`${q}mermaid render profile \xB7 ${i}
1549
+ console.log(`${W}mermaid render profile \xB7 ${i}
1645
1550
  ${a.join("\n")}`);
1646
1551
  }
1647
1552
  }), globalThis.injected ??= {
@@ -1649,22 +1554,19 @@ ${a.join("\n")}`);
1649
1554
  profiling: !1,
1650
1555
  version: "0.0.0"
1651
1556
  };
1652
- var rt = h.default.extend({ raf(e) {
1653
- typeof queueMicrotask == "function" ? queueMicrotask(e) : setTimeout(e, 0);
1654
- } }).extend(ee.default);
1655
- function it(e, { markdownAutoWrap: t }) {
1656
- return $e(e.replace(/<br\/>/g, "\n").replace(/\n{2,}/g, "\n"));
1557
+ function et(e, { markdownAutoWrap: t }) {
1558
+ return Xe(e.replace(/<br\/>/g, "\n").replace(/\n{2,}/g, "\n"));
1657
1559
  }
1658
- n(it, "preprocessMarkdown");
1659
- function at(e) {
1560
+ e(et, "preprocessMarkdown");
1561
+ function tt(e) {
1660
1562
  return e.split(/\\n|\n|<br\s*\/?>/gi).map((e) => e.trim().match(/<[^>]+>|[^\s<>]+/g)?.map((e) => ({
1661
1563
  content: e,
1662
1564
  type: "normal"
1663
1565
  })) ?? []);
1664
1566
  }
1665
- n(at, "nonMarkdownToLines");
1666
- function ot(e, t = {}) {
1667
- let r = it(e, t), i = W.lexer(r), a = [[]], o = 0;
1567
+ e(tt, "nonMarkdownToLines");
1568
+ function G(t, n = {}) {
1569
+ let r = et(t, n), i = V.lexer(r), a = [[]], o = 0;
1668
1570
  function s(e, t = "normal") {
1669
1571
  e.type === "text" ? e.text.split("\n").forEach((e, n) => {
1670
1572
  n !== 0 && (o++, a.push([])), e.split(" ").forEach((e) => {
@@ -1680,7 +1582,7 @@ function ot(e, t = {}) {
1680
1582
  type: "normal"
1681
1583
  });
1682
1584
  }
1683
- return n(s, "processNode"), i.forEach((e) => {
1585
+ return e(s, "processNode"), i.forEach((e) => {
1684
1586
  e.type === "paragraph" ? e.tokens?.forEach((e) => {
1685
1587
  s(e);
1686
1588
  }) : e.type === "html" ? a[o].push({
@@ -1692,28 +1594,117 @@ function ot(e, t = {}) {
1692
1594
  });
1693
1595
  }), a;
1694
1596
  }
1695
- n(ot, "markdownToLines");
1696
- function st(e) {
1597
+ e(G, "markdownToLines");
1598
+ function nt(e) {
1697
1599
  return e ? `<p>${e.replace(/\\n|\n/g, "<br />")}</p>` : "";
1698
1600
  }
1699
- n(st, "nonMarkdownToHTML");
1700
- function ct(e, { markdownAutoWrap: t } = {}) {
1701
- let i = W.lexer(e);
1601
+ e(nt, "nonMarkdownToHTML");
1602
+ function rt(n, { markdownAutoWrap: r } = {}) {
1603
+ let i = V.lexer(n);
1604
+ function a(e) {
1605
+ return e.type === "text" ? r === !1 ? e.text.replace(/\n */g, "<br/>").replace(/ /g, "&nbsp;") : e.text.replace(/\n */g, "<br/>") : e.type === "strong" ? `<strong>${e.tokens?.map(a).join("")}</strong>` : e.type === "em" ? `<em>${e.tokens?.map(a).join("")}</em>` : e.type === "paragraph" ? `<p>${e.tokens?.map(a).join("")}</p>` : e.type === "space" ? "" : e.type === "html" ? `${e.text}` : e.type === "escape" ? e.text : (t.warn(`Unsupported markdown: ${e.type}`), e.raw);
1606
+ }
1607
+ return e(a, "output"), i.map(a).join("");
1608
+ }
1609
+ e(rt, "markdownToHTML");
1610
+ var it = (function(t) {
1611
+ var n = t.requestAnimationFrame || t.webkitRequestAnimationFrame || t.mozRequestAnimationFrame || t.msRequestAnimationFrame || function(e) {
1612
+ return setTimeout(e, 16);
1613
+ };
1614
+ function r() {
1615
+ var e = this;
1616
+ e.reads = [], e.writes = [], e.raf = n.bind(t);
1617
+ }
1618
+ e(r, "FastDom"), r.prototype = {
1619
+ constructor: r,
1620
+ runTasks: /* @__PURE__ */ e(function(e) {
1621
+ for (var t; t = e.shift();) t();
1622
+ }, "runTasks"),
1623
+ measure: /* @__PURE__ */ e(function(e, t) {
1624
+ var n = t ? e.bind(t) : e;
1625
+ return this.reads.push(n), i(this), n;
1626
+ }, "measure"),
1627
+ mutate: /* @__PURE__ */ e(function(e, t) {
1628
+ var n = t ? e.bind(t) : e;
1629
+ return this.writes.push(n), i(this), n;
1630
+ }, "mutate"),
1631
+ clear: /* @__PURE__ */ e(function(e) {
1632
+ return o(this.reads, e) || o(this.writes, e);
1633
+ }, "clear"),
1634
+ extend: /* @__PURE__ */ e(function(e) {
1635
+ if (typeof e != "object") throw Error("expected object");
1636
+ var t = Object.create(this);
1637
+ return s(t, e), t.fastdom = this, t.initialize && t.initialize(), t;
1638
+ }, "extend"),
1639
+ catch: null
1640
+ };
1641
+ function i(e) {
1642
+ e.scheduled || (e.scheduled = !0, e.raf(a.bind(null, e)));
1643
+ }
1644
+ e(i, "scheduleFlush");
1702
1645
  function a(e) {
1703
- return e.type === "text" ? t === !1 ? e.text.replace(/\n */g, "<br/>").replace(/ /g, "&nbsp;") : e.text.replace(/\n */g, "<br/>") : e.type === "strong" ? `<strong>${e.tokens?.map(a).join("")}</strong>` : e.type === "em" ? `<em>${e.tokens?.map(a).join("")}</em>` : e.type === "paragraph" ? `<p>${e.tokens?.map(a).join("")}</p>` : e.type === "space" ? "" : e.type === "html" ? `${e.text}` : e.type === "escape" ? e.text : (r.warn(`Unsupported markdown: ${e.type}`), e.raw);
1646
+ var t = e.writes, n = e.reads, r;
1647
+ try {
1648
+ n.length, e.runTasks(n), t.length, e.runTasks(t);
1649
+ } catch (e) {
1650
+ r = e;
1651
+ }
1652
+ if (e.scheduled = !1, (n.length || t.length) && i(e), r) {
1653
+ if (r.message, e.catch) e.catch(r);
1654
+ else throw r;
1655
+ }
1704
1656
  }
1705
- return n(a, "output"), i.map(a).join("");
1657
+ e(a, "flush");
1658
+ function o(e, t) {
1659
+ var n = e.indexOf(t);
1660
+ return !!~n && !!e.splice(n, 1);
1661
+ }
1662
+ e(o, "remove");
1663
+ function s(e, t) {
1664
+ for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]);
1665
+ }
1666
+ return e(s, "mixin"), t.fastdom = t.fastdom || new r();
1667
+ })(typeof window < "u" ? window : globalThis), at = {
1668
+ initialize: /* @__PURE__ */ e(function() {
1669
+ this._tasks = /* @__PURE__ */ new Map();
1670
+ }, "initialize"),
1671
+ mutate: /* @__PURE__ */ e(function(e, t) {
1672
+ return K(this, "mutate", e, t);
1673
+ }, "mutate"),
1674
+ measure: /* @__PURE__ */ e(function(e, t) {
1675
+ return K(this, "measure", e, t);
1676
+ }, "measure"),
1677
+ clear: /* @__PURE__ */ e(function(e) {
1678
+ var t = this._tasks, n = t.get(e);
1679
+ this.fastdom.clear(n), t.delete(e);
1680
+ }, "clear")
1681
+ };
1682
+ function K(e, t, n, r) {
1683
+ var i = e._tasks, a = e.fastdom, o, s = new Promise(function(e, c) {
1684
+ o = a[t](function() {
1685
+ i.delete(s);
1686
+ try {
1687
+ e(r ? n.call(r) : n());
1688
+ } catch (e) {
1689
+ c(e);
1690
+ }
1691
+ }, r);
1692
+ });
1693
+ return i.set(s, o), s;
1706
1694
  }
1707
- n(ct, "markdownToHTML");
1708
- function lt(e) {
1695
+ e(K, "create");
1696
+ var { initialize: ot, mutate: st, measure: ct, clear: lt } = at, ut = at, dt = it.extend({ raf(e) {
1697
+ typeof queueMicrotask == "function" ? queueMicrotask(e) : setTimeout(e, 0);
1698
+ } }).extend(ut);
1699
+ function ft(e) {
1709
1700
  return Intl.Segmenter ? [...new Intl.Segmenter().segment(e)].map((e) => e.segment) : [...e];
1710
1701
  }
1711
- n(lt, "splitTextToChars");
1712
- function ut(e, t) {
1713
- return J(e, [], lt(t.content), t.type);
1702
+ e(ft, "splitTextToChars");
1703
+ function pt(e, t) {
1704
+ return q(e, [], ft(t.content), t.type);
1714
1705
  }
1715
- n(ut, "splitWordToFitWidth");
1716
- function J(e, t, n, r) {
1706
+ e(pt, "splitWordToFitWidth");
1707
+ function q(e, t, n, r) {
1717
1708
  if (n.length === 0) return [{
1718
1709
  content: t.join(""),
1719
1710
  type: r
@@ -1725,7 +1716,7 @@ function J(e, t, n, r) {
1725
1716
  return e([{
1726
1717
  content: o.join(""),
1727
1718
  type: r
1728
- }]) ? J(e, o, a, r) : (t.length === 0 && i && (t.push(i), n.shift()), [{
1719
+ }]) ? q(e, o, a, r) : (t.length === 0 && i && (t.push(i), n.shift()), [{
1729
1720
  content: t.join(""),
1730
1721
  type: r
1731
1722
  }, {
@@ -1733,13 +1724,13 @@ function J(e, t, n, r) {
1733
1724
  type: r
1734
1725
  }]);
1735
1726
  }
1736
- n(J, "splitWordToFitWidthRecursion");
1737
- function dt(e, t) {
1727
+ e(q, "splitWordToFitWidthRecursion");
1728
+ function mt(e, t) {
1738
1729
  if (e.some(({ content: e }) => e.includes("\n"))) throw Error("splitLineToFitWidth does not support newlines in the line");
1739
- return Y(e, t);
1730
+ return J(e, t);
1740
1731
  }
1741
- n(dt, "splitLineToFitWidth");
1742
- function Y(e, t, n = [], r = []) {
1732
+ e(mt, "splitLineToFitWidth");
1733
+ function J(e, t, n = [], r = []) {
1743
1734
  if (e.length === 0) return r.length > 0 && n.push(r), n.length > 0 ? n : [];
1744
1735
  let i = "";
1745
1736
  e[0].content === " " && (i = " ", e.shift());
@@ -1750,40 +1741,42 @@ function Y(e, t, n = [], r = []) {
1750
1741
  if (i !== "" && o.push({
1751
1742
  content: i,
1752
1743
  type: "normal"
1753
- }), o.push(a), t(o)) return Y(e, t, n, o);
1744
+ }), o.push(a), t(o)) return J(e, t, n, o);
1754
1745
  if (r.length > 0) n.push(r), e.unshift(a);
1755
1746
  else if (a.content) {
1756
- let [r, i] = ut(t, a);
1747
+ let [r, i] = pt(t, a);
1757
1748
  n.push([r]), i.content && e.unshift(i);
1758
1749
  }
1759
- return Y(e, t, n);
1750
+ return J(e, t, n);
1760
1751
  }
1761
- n(Y, "splitLineToFitWidthRecursion");
1762
- function X(e, t) {
1752
+ e(J, "splitLineToFitWidthRecursion");
1753
+ function Y(e, t) {
1763
1754
  t && e.attr("style", t);
1764
1755
  }
1765
- n(X, "applyStyle");
1766
- var ft = 16384;
1767
- async function pt(e, t, n, r, i = !1, u = s()) {
1768
- let d = e.append("foreignObject");
1769
- d.attr("width", `${Math.min(10 * n, ft)}px`), d.attr("height", `${Math.min(10 * n, ft)}px`);
1770
- let f = d.append("xhtml:div"), p = a(t.label) ? await o(t.label.replace(c.lineBreakRegex, "\n"), u) : l(t.label, u), m = t.isNode ? "nodeLabel" : "edgeLabel", h = f.append("span");
1771
- return h.html(p), X(h, t.labelStyle), h.attr("class", `${m} ${r}`), X(f, t.labelStyle), f.style("display", "table-cell"), f.style("white-space", "nowrap"), f.style("line-height", "1.5"), n !== Infinity && (f.style("max-width", n + "px"), f.style("text-align", "center")), f.attr("xmlns", "http://www.w3.org/1999/xhtml"), i && f.attr("class", "labelBkg"), (await rt.measure(() => f.node().getBoundingClientRect())).width === n && (f.style("display", "table"), f.style("white-space", "break-spaces"), f.style("width", n + "px")), d.node();
1756
+ e(Y, "applyStyle");
1757
+ var ht = 16384;
1758
+ async function X(e, t, n, c, l = !1, u = o(), d = 0) {
1759
+ let f = e.append("foreignObject");
1760
+ f.attr("width", `${Math.min(10 * n, ht)}px`), f.attr("height", `${Math.min(10 * n, ht)}px`);
1761
+ let p = f.append("xhtml:div"), m = i(t.label) ? await r(t.label.replace(a.lineBreakRegex, "\n"), u) : s(t.label, u), h = t.isNode ? "nodeLabel" : "edgeLabel", g = p.append("span");
1762
+ g.html(m), Y(g, t.labelStyle), g.attr("class", `${h} ${c}`), Y(p, t.labelStyle), p.style("display", "table-cell"), p.style("white-space", "nowrap"), p.style("line-height", "1.5"), n !== Infinity && (p.style("max-width", n + "px"), p.style("text-align", "center")), p.attr("xmlns", "http://www.w3.org/1999/xhtml"), l && p.attr("class", "labelBkg");
1763
+ let _ = await dt.measure(() => p.node().getBoundingClientRect());
1764
+ return _.width === n ? (p.style("display", "table"), p.style("white-space", "break-spaces"), p.style("width", n + "px")) : _.width < d && (p.style("display", "table"), p.style("width", d + "px"), p.style("text-align", "center")), f.node();
1772
1765
  }
1773
- n(pt, "addHtmlSpan");
1766
+ e(X, "addHtmlSpan");
1774
1767
  function Z(e, t, n, r = !1) {
1775
1768
  let i = e.append("tspan").attr("class", "text-outer-tspan").attr("x", 0).attr("y", t * n - .1 + "em").attr("dy", n + "em");
1776
1769
  return r && i.attr("text-anchor", "middle"), i;
1777
1770
  }
1778
- n(Z, "createTspan");
1779
- function mt(e, t, n) {
1771
+ e(Z, "createTspan");
1772
+ function gt(e, t, n) {
1780
1773
  let r = e.append("text"), i = Z(r, 1, t);
1781
1774
  $(i, n);
1782
1775
  let a = i.node().getComputedTextLength();
1783
1776
  return r.remove(), a;
1784
1777
  }
1785
- n(mt, "computeWidthOfText");
1786
- function ht(e, t, n) {
1778
+ e(gt, "computeWidthOfText");
1779
+ function _t(e, t, n) {
1787
1780
  let r = e.append("text"), i = Z(r, 1, t);
1788
1781
  $(i, [{
1789
1782
  content: n,
@@ -1792,13 +1785,13 @@ function ht(e, t, n) {
1792
1785
  let a = i.node()?.getBoundingClientRect();
1793
1786
  return a && r.remove(), a;
1794
1787
  }
1795
- n(ht, "computeDimensionOfText");
1796
- function gt(e, t, r, i = !1, a = !1) {
1797
- let o = 1.1, s = t.append("g"), c = s.insert("rect").attr("class", "background").attr("style", "stroke: none"), l = s.append("text").attr("y", "-10.1");
1788
+ e(_t, "computeDimensionOfText");
1789
+ function vt(t, n, r, i = !1, a = !1) {
1790
+ let o = 1.1, s = n.append("g"), c = s.insert("rect").attr("class", "background").attr("style", "stroke: none"), l = s.append("text").attr("y", "-10.1");
1798
1791
  a && l.attr("text-anchor", "middle");
1799
1792
  let u = 0;
1800
- for (let t of r) {
1801
- let r = /* @__PURE__ */ n((t) => mt(s, o, t) <= e, "checkWidth"), i = r(t) ? [t] : dt(t, r);
1793
+ for (let n of r) {
1794
+ let r = /* @__PURE__ */ e((e) => gt(s, o, e) <= t, "checkWidth"), i = r(n) ? [n] : mt(n, r);
1802
1795
  for (let e of i) $(Z(l, u, o, a), e), u++;
1803
1796
  }
1804
1797
  if (i) {
@@ -1807,7 +1800,7 @@ function gt(e, t, r, i = !1, a = !1) {
1807
1800
  }
1808
1801
  return l.node();
1809
1802
  }
1810
- n(gt, "createFormattedText");
1803
+ e(vt, "createFormattedText");
1811
1804
  function Q(e) {
1812
1805
  return e.replace(/&(amp|lt|gt);/g, (e, t) => {
1813
1806
  switch (t) {
@@ -1818,47 +1811,47 @@ function Q(e) {
1818
1811
  }
1819
1812
  });
1820
1813
  }
1821
- n(Q, "decodeHTMLEntities");
1814
+ e(Q, "decodeHTMLEntities");
1822
1815
  function $(e, t) {
1823
1816
  e.text(""), t.forEach((t, n) => {
1824
1817
  let r = e.append("tspan").attr("font-style", t.type === "em" ? "italic" : "normal").attr("class", "text-inner-tspan").attr("font-weight", t.type === "strong" ? "bold" : "normal");
1825
1818
  n === 0 ? r.text(Q(t.content)) : r.text(" " + Q(t.content));
1826
1819
  });
1827
1820
  }
1828
- n($, "updateTextContentAndStyles");
1829
- async function _t(e, t = {}) {
1821
+ e($, "updateTextContentAndStyles");
1822
+ async function yt(e, t = {}) {
1830
1823
  let n = [];
1831
1824
  e.replace(/(fa[bklrs]?):fa-([\w-]+)/g, (e, r, i) => (n.push((async () => {
1832
1825
  let n = `${r}:${i}`;
1833
- return await d(n) ? await f(n, void 0, { class: "label-icon" }) : `<i class='${l(e, t).replace(":", " ")}'></i>`;
1826
+ return await l(n) ? await u(n, void 0, { class: "label-icon" }) : `<i class='${s(e, t).replace(":", " ")}'></i>`;
1834
1827
  })()), e));
1835
1828
  let r = await Promise.all(n);
1836
1829
  return e.replace(/(fa[bklrs]?):fa-([\w-]+)/g, () => r.shift() ?? "");
1837
1830
  }
1838
- n(_t, "replaceIconSubstring");
1839
- var vt = /* @__PURE__ */ n(async (e, t = "", { style: n = "", isTitle: o = !1, classes: s = "", useHtmlLabels: c = !0, markdown: l = !0, isNode: d = !0, width: f = 200, addSvgBackground: p = !1 } = {}, m) => {
1840
- if (r.debug("XYZ createText", t, n, o, s, c, d, "addSvgBackground: ", p), c) {
1841
- let r = l ? ct(t, m) : st(t), i = await _t(u(r), m), o = t.replace(/\\\\/g, "\\");
1842
- return await pt(e, {
1831
+ e(yt, "replaceIconSubstring");
1832
+ var bt = /* @__PURE__ */ e(async (e, r = "", { style: a = "", isTitle: o = !1, classes: s = "", useHtmlLabels: l = !0, markdown: u = !0, isNode: d = !0, width: f = 200, minWidth: p = 0, addSvgBackground: m = !1 } = {}, h) => {
1833
+ if (t.debug("XYZ createText", r, a, o, s, l, d, "addSvgBackground: ", m), l) {
1834
+ let t = u ? rt(r, h) : nt(r), n = await yt(c(t), h), o = r.replace(/\\\\/g, "\\");
1835
+ return await X(e, {
1843
1836
  isNode: d,
1844
- label: a(t) ? o : i,
1845
- labelStyle: n.replace("fill:", "color:")
1846
- }, f, s, p, m);
1837
+ label: i(r) ? o : n,
1838
+ labelStyle: a.replace("fill:", "color:")
1839
+ }, f, s, m, h, p);
1847
1840
  }
1848
1841
  {
1849
- let r = u(t.replace(/<br\s*\/?>/g, "<br/>")), a = gt(f, e, l ? ot(r.replace("<br>", "<br/>"), m) : at(r), t ? p : !1, !d);
1842
+ let t = c(r.replace(/<br\s*\/?>/g, "<br/>")), i = vt(f, e, u ? G(t.replace("<br>", "<br/>"), h) : tt(t), r ? m : !1, !d);
1850
1843
  if (d) {
1851
- /stroke:/.exec(n) && (n = n.replace("stroke:", "lineColor:"));
1852
- let e = n.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1853
- i(a).attr("style", e);
1844
+ /stroke:/.exec(a) && (a = a.replace("stroke:", "lineColor:"));
1845
+ let e = a.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1846
+ n(i).attr("style", e);
1854
1847
  } else {
1855
- let e = n.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/background:/g, "fill:");
1856
- i(a).select("rect").attr("style", e.replace(/background:/g, "fill:"));
1857
- let t = n.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1858
- i(a).select("text").attr("style", t);
1848
+ let e = a.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/background:/g, "fill:");
1849
+ n(i).select("rect").attr("style", e.replace(/background:/g, "fill:"));
1850
+ let t = a.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
1851
+ n(i).select("text").attr("style", t);
1859
1852
  }
1860
- return o ? i(a).selectAll("tspan.text-outer-tspan").classed("title-row", !0) : i(a).selectAll("tspan.text-outer-tspan").classed("row", !0), a;
1853
+ return o ? n(i).selectAll("tspan.text-outer-tspan").classed("title-row", !0) : n(i).selectAll("tspan.text-outer-tspan").classed("row", !0), i;
1861
1854
  }
1862
1855
  }, "createText");
1863
1856
  //#endregion
1864
- export { $e as i, vt as n, rt as r, ht as t };
1857
+ export { Xe as a, G as i, bt as n, dt as r, _t as t };