@aiquants/markdown 5.0.0 → 6.1.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 (179) hide show
  1. package/README.md +176 -14
  2. package/dist/{abnfDiagram-VRR7QNED-DeHJ63Vu.js → abnfDiagram-VRR7QNED-0ow9i3L-.js} +3 -3
  3. package/dist/{abnfDiagram-VRR7QNED-CfVjEUzG.cjs → abnfDiagram-VRR7QNED-DRNsVB-u.cjs} +1 -1
  4. package/dist/{arc-XFFLkHkK.cjs → arc-BWR9_qMf.cjs} +1 -1
  5. package/dist/arc-Bh12k776.js +83 -0
  6. package/dist/{architectureDiagram-ZJ3FMSHR-CQ1m3MUB.js → architectureDiagram-ZJ3FMSHR-CsFXQcxx.js} +123 -123
  7. package/dist/{architectureDiagram-ZJ3FMSHR-7xJ6YYGu.cjs → architectureDiagram-ZJ3FMSHR-DtrqDlxV.cjs} +1 -1
  8. package/dist/{blockDiagram-677ZJIJ3-CJOFqwiW.cjs → blockDiagram-677ZJIJ3-CoZEeE0C.cjs} +1 -1
  9. package/dist/{blockDiagram-677ZJIJ3-BPC3se0e.js → blockDiagram-677ZJIJ3-CqQ43viF.js} +166 -166
  10. package/dist/{c4Diagram-LMCZKHZV-D8ytYGhR.cjs → c4Diagram-LMCZKHZV-DGA2gxp-.cjs} +1 -1
  11. package/dist/{c4Diagram-LMCZKHZV-BEIrp4t6.js → c4Diagram-LMCZKHZV-QPgNg4El.js} +2 -2
  12. package/dist/{channel-CJQcZr8o.cjs → channel-Jkgg7NV4.cjs} +1 -1
  13. package/dist/channel-PnA15jK3.js +5 -0
  14. package/dist/{chunk-2Q5K7J3B-BbMQR3Sm.cjs → chunk-2Q5K7J3B-1iQ5h7FK.cjs} +1 -1
  15. package/dist/{chunk-2Q5K7J3B-l8ly7Yjr.js → chunk-2Q5K7J3B-DOWfHP5s.js} +1 -1
  16. package/dist/{chunk-32BRIVSS-BhQJBlVw.js → chunk-32BRIVSS-94iTIA-u.js} +1 -1
  17. package/dist/{chunk-32BRIVSS-BwDfmprN.cjs → chunk-32BRIVSS-XUAL4SUU.cjs} +1 -1
  18. package/dist/{chunk-5VM5RSS4-CqDQlS7v.cjs → chunk-5VM5RSS4-CKgpuXOS.cjs} +1 -1
  19. package/dist/{chunk-5VM5RSS4-Bfis-x7E.js → chunk-5VM5RSS4-OANQKmQE.js} +1 -1
  20. package/dist/{chunk-EX3LRPZG-DUTbzwDM.js → chunk-EX3LRPZG-BQDQ1MdS.js} +50 -50
  21. package/dist/{chunk-EX3LRPZG-9aDULZwJ.cjs → chunk-EX3LRPZG-BrRRbskW.cjs} +1 -1
  22. package/dist/{chunk-JWPE2WC7-5cM5nFf6.cjs → chunk-JWPE2WC7-Bz9dXsLZ.cjs} +1 -1
  23. package/dist/{chunk-JWPE2WC7-DpcSSOP5.js → chunk-JWPE2WC7-Djg6Qi23.js} +1 -1
  24. package/dist/{chunk-MOJQB5TN-D_h6bolU.js → chunk-MOJQB5TN-1pZNp2Wl.js} +9 -9
  25. package/dist/{chunk-MOJQB5TN-Cw864mUL.cjs → chunk-MOJQB5TN-DUk2Jy4_.cjs} +1 -1
  26. package/dist/{chunk-PUDLZKDR-yLvT3c9x.cjs → chunk-PUDLZKDR-CVedetzB.cjs} +1 -1
  27. package/dist/{chunk-PUDLZKDR-B0wZjmzv.js → chunk-PUDLZKDR-G5JYyEiR.js} +22 -22
  28. package/dist/{chunk-RYQCIY6F-DTKYsCgk.js → chunk-RYQCIY6F-Crmt36sO.js} +6 -6
  29. package/dist/{chunk-RYQCIY6F-hj9dRWMT.cjs → chunk-RYQCIY6F-D0y50t5B.cjs} +1 -1
  30. package/dist/{chunk-V7JOEXUC-COa9uddv.js → chunk-V7JOEXUC-BNo-X7NC.js} +5 -5
  31. package/dist/{chunk-V7JOEXUC-DIQ8n1AN.cjs → chunk-V7JOEXUC-DXSQM1ea.cjs} +1 -1
  32. package/dist/{chunk-VR4S4FIN-B72PxPVm.js → chunk-VR4S4FIN-BGGITgpQ.js} +3 -3
  33. package/dist/{chunk-VR4S4FIN-Cy-2mZJB.cjs → chunk-VR4S4FIN-Bc567umS.cjs} +1 -1
  34. package/dist/{chunk-XXDRQBXY-DmoUE7-y.cjs → chunk-XXDRQBXY-DOuLpiJ4.cjs} +1 -1
  35. package/dist/{chunk-XXDRQBXY-D2Sgptl-.js → chunk-XXDRQBXY-Drnpl-KK.js} +1 -1
  36. package/dist/{classDiagram-v2-EOCWNBFH-Dah4_VL7.js → classDiagram-OUVF2IWQ-Cneye7qT.js} +2 -2
  37. package/dist/{classDiagram-OUVF2IWQ-GjsCEuKI.cjs → classDiagram-OUVF2IWQ-mmjBEYmN.cjs} +1 -1
  38. package/dist/{classDiagram-OUVF2IWQ-Dah4_VL7.js → classDiagram-v2-EOCWNBFH-Cneye7qT.js} +2 -2
  39. package/dist/{classDiagram-v2-EOCWNBFH-GjsCEuKI.cjs → classDiagram-v2-EOCWNBFH-mmjBEYmN.cjs} +1 -1
  40. package/dist/components/MarkdownRenderer.d.ts +5 -2
  41. package/dist/components/MarkdownViewer.d.ts +3 -2
  42. package/dist/components/NodesRenderer.d.ts +1 -5
  43. package/dist/components/embeds/ClientFrame.d.ts +13 -0
  44. package/dist/components/embeds/LinkCard.d.ts +20 -0
  45. package/dist/components/embeds/ProviderEmbed.d.ts +11 -0
  46. package/dist/components/embeds/embedLabels.d.ts +12 -0
  47. package/dist/components/embeds/frameMessages.d.ts +7 -0
  48. package/dist/components/embeds/markdownEmbeds.d.ts +2 -0
  49. package/dist/components/embeds/requestQueue.d.ts +16 -0
  50. package/dist/components/embeds.d.ts +0 -8
  51. package/dist/components/htmlSanitizer.d.ts +4 -0
  52. package/dist/components/mdastNodes/HTMLBlockContainerNode.d.ts +1 -2
  53. package/dist/components/rawHtml.d.ts +6 -3
  54. package/dist/components/viewerLabels.d.ts +3 -1
  55. package/dist/{cose-bilkent-JH36ORCC-Pi0l3C5o.js → cose-bilkent-JH36ORCC-BQWfGE1G.js} +1 -1
  56. package/dist/{cose-bilkent-JH36ORCC-Vi9pHFwc.cjs → cose-bilkent-JH36ORCC-BaEdcRlX.cjs} +1 -1
  57. package/dist/css/zenn-content.css +0 -40
  58. package/dist/{cynefinDiagram-TSTJHNR4-CIh03JTU.js → cynefinDiagram-TSTJHNR4-CTDDSUz7.js} +47 -47
  59. package/dist/{cynefinDiagram-TSTJHNR4-BQ2k9Z6b.cjs → cynefinDiagram-TSTJHNR4-DPQl09kC.cjs} +1 -1
  60. package/dist/{dagre-VKFMJZFB-cINcPwV3.js → dagre-VKFMJZFB-BMRdJgZy.js} +27 -27
  61. package/dist/{dagre-VKFMJZFB-DI2wSrAy.cjs → dagre-VKFMJZFB-DZ4E-Szs.cjs} +1 -1
  62. package/dist/{diagram-FQU43EPY-BonrBTG_.js → diagram-FQU43EPY-CmEpNw5i.js} +42 -42
  63. package/dist/{diagram-FQU43EPY-B6iUH2l5.cjs → diagram-FQU43EPY-mK9YHIy1.cjs} +1 -1
  64. package/dist/{diagram-G47NLZAW-CY6mWS2R.cjs → diagram-G47NLZAW-BX8Lj_uD.cjs} +1 -1
  65. package/dist/{diagram-G47NLZAW-5N876QQA.js → diagram-G47NLZAW-eJRQFjAg.js} +83 -83
  66. package/dist/{diagram-NH7WQ7WH-x3SaRfd6.cjs → diagram-NH7WQ7WH-3r1_3TrC.cjs} +1 -1
  67. package/dist/{diagram-NH7WQ7WH-LFuTbHxY.js → diagram-NH7WQ7WH-BOOj_4-N.js} +18 -18
  68. package/dist/{diagram-OA4YK3LP-B9mVw8cB.cjs → diagram-OA4YK3LP-CkDJzLOy.cjs} +1 -1
  69. package/dist/{diagram-OA4YK3LP-Cinpbl0B.js → diagram-OA4YK3LP-DnDIHtcW.js} +61 -61
  70. package/dist/{diagram-WEI45ONY-HPCHpafe.js → diagram-WEI45ONY-BHpuPTt-.js} +21 -21
  71. package/dist/{diagram-WEI45ONY-BRYVUhRr.cjs → diagram-WEI45ONY-BpCCo_Ty.cjs} +1 -1
  72. package/dist/{ebnfDiagram-CCIWWBDH-oLOdtH39.js → ebnfDiagram-CCIWWBDH-BDLB-AVF.js} +5 -5
  73. package/dist/{ebnfDiagram-CCIWWBDH-DhFlIi0a.cjs → ebnfDiagram-CCIWWBDH-CfdalXdM.cjs} +1 -1
  74. package/dist/embeds/frames.d.ts +4 -0
  75. package/dist/embeds/linkCards.d.ts +48 -0
  76. package/dist/embeds/placeholder.d.ts +15 -0
  77. package/dist/embeds/providers.d.ts +73 -0
  78. package/dist/embeds/testing.cjs +1 -0
  79. package/dist/embeds/testing.d.ts +7 -0
  80. package/dist/embeds/testing.js +67 -0
  81. package/dist/embeds.cjs +1 -0
  82. package/dist/embeds.d.ts +4 -0
  83. package/dist/embeds.js +73 -0
  84. package/dist/{erDiagram-Q63AITRT-DCCFR1Ai.cjs → erDiagram-Q63AITRT-CviOyQsx.cjs} +1 -1
  85. package/dist/{erDiagram-Q63AITRT-CCtzpK78.js → erDiagram-Q63AITRT-DZlcgZfp.js} +9 -9
  86. package/dist/{extractHeadings-CGJexznE.js → extractHeadings-CtiYkq2z.js} +5482 -5431
  87. package/dist/extractHeadings-D1A8WzVy.cjs +311 -0
  88. package/dist/flowDiagram-23GEKE2U-C_FW0q38.js +7 -0
  89. package/dist/flowDiagram-23GEKE2U-Cb0U58EU.cjs +1 -0
  90. package/dist/{ganttDiagram-NO4QXBWP-C9RPyo4r.cjs → ganttDiagram-NO4QXBWP-CJa-hKPU.cjs} +1 -1
  91. package/dist/{ganttDiagram-NO4QXBWP-Dfi3nINO.js → ganttDiagram-NO4QXBWP-DO0HAbYg.js} +69 -69
  92. package/dist/{gitGraphDiagram-IHSO6WYX-CjAqPhww.js → gitGraphDiagram-IHSO6WYX-CXStgPQs.js} +38 -38
  93. package/dist/{gitGraphDiagram-IHSO6WYX-mT3NNT7T.cjs → gitGraphDiagram-IHSO6WYX-CXcPHbkt.cjs} +1 -1
  94. package/dist/index.cjs +1 -1
  95. package/dist/index.client.cjs +1 -1
  96. package/dist/index.client.d.ts +1 -10
  97. package/dist/index.client.js +41 -49
  98. package/dist/index.js +41 -49
  99. package/dist/index.server.cjs +1 -1
  100. package/dist/index.server.d.ts +1 -2
  101. package/dist/index.server.js +593 -191
  102. package/dist/{infoDiagram-FWYZ7A6U-0Co9BitR.cjs → infoDiagram-FWYZ7A6U-BByoHihL.cjs} +1 -1
  103. package/dist/{infoDiagram-FWYZ7A6U-BXWQ9Vy4.js → infoDiagram-FWYZ7A6U-K0__ySEG.js} +1 -1
  104. package/dist/{ishikawaDiagram-FXEZZL3T-CZp5P1WE.js → ishikawaDiagram-FXEZZL3T-C8QlwQP1.js} +35 -35
  105. package/dist/{ishikawaDiagram-FXEZZL3T-BKqUBw1i.cjs → ishikawaDiagram-FXEZZL3T-DZOMdeTI.cjs} +1 -1
  106. package/dist/{journeyDiagram-5HDEW3XC-DYVTgOOE.js → journeyDiagram-5HDEW3XC-CZ9PFNNN.js} +39 -39
  107. package/dist/{journeyDiagram-5HDEW3XC-CeumPQ1I.cjs → journeyDiagram-5HDEW3XC-RvC77rKo.cjs} +1 -1
  108. package/dist/{kanban-definition-HUTT4EX6-Cg5KnsE9.cjs → kanban-definition-HUTT4EX6-BL1jihGl.cjs} +1 -1
  109. package/dist/{kanban-definition-HUTT4EX6-CnleRy80.js → kanban-definition-HUTT4EX6-Q12F4vHx.js} +123 -123
  110. package/dist/{linear-Cf8i6Rsk.js → linear-LWjATjog.js} +32 -32
  111. package/dist/{linear-qqwu6T0F.cjs → linear-lDvPoqlB.cjs} +1 -1
  112. package/dist/linkCardServer/addressGuard.server.d.ts +25 -0
  113. package/dist/linkCardServer/htmlEncoding.server.d.ts +6 -0
  114. package/dist/linkCardServer/linkCardHandler.server.d.ts +7 -0
  115. package/dist/linkCardServer/metadataCache.server.d.ts +5 -0
  116. package/dist/linkCardServer/pageFetch.server.d.ts +37 -0
  117. package/dist/linkCardServer/pageMetadata.server.d.ts +11 -0
  118. package/dist/linkCards-1JxY8wdm.js +48 -0
  119. package/dist/linkCards-Bjd_vW39.cjs +1 -0
  120. package/dist/markdown.css +1 -1
  121. package/dist/{mindmap-definition-LN4V7U3C-lBin9VOm.js → mindmap-definition-LN4V7U3C-CM1XvwJX.js} +33 -33
  122. package/dist/{mindmap-definition-LN4V7U3C-DfFWeFph.cjs → mindmap-definition-LN4V7U3C-TVYKONRm.cjs} +1 -1
  123. package/dist/{pegDiagram-2B236MQR-BiD21lOj.js → pegDiagram-2B236MQR-Dlrnikqd.js} +5 -5
  124. package/dist/{pegDiagram-2B236MQR-Cf1f-3yi.cjs → pegDiagram-2B236MQR-a9Up0ERY.cjs} +1 -1
  125. package/dist/{pieDiagram-ENE6RG2P-jwhVsZgX.cjs → pieDiagram-ENE6RG2P-ClakmSma.cjs} +1 -1
  126. package/dist/{pieDiagram-ENE6RG2P-BqZb6gaV.js → pieDiagram-ENE6RG2P-WYrEJp8U.js} +58 -58
  127. package/dist/providers-Bxr2Wb-j.cjs +1 -0
  128. package/dist/providers-Drq7MT_K.js +209 -0
  129. package/dist/{quadrantDiagram-ABIIQ3AL-CNe9fRLO.js → quadrantDiagram-ABIIQ3AL-BkgMVDaX.js} +48 -48
  130. package/dist/{quadrantDiagram-ABIIQ3AL-sO_sIA7b.cjs → quadrantDiagram-ABIIQ3AL-Cb01YcqR.cjs} +1 -1
  131. package/dist/{railroadDiagram-RFXS5EU6-Dkc8k3e9.cjs → railroadDiagram-RFXS5EU6-Bob4WSMz.cjs} +1 -1
  132. package/dist/{railroadDiagram-RFXS5EU6-53YTkJrs.js → railroadDiagram-RFXS5EU6-RfCtZGUR.js} +3 -3
  133. package/dist/{requirementDiagram-TGXJPOKE-C0GMlJO4.cjs → requirementDiagram-TGXJPOKE-BP5h9mCj.cjs} +1 -1
  134. package/dist/{requirementDiagram-TGXJPOKE-D8Gz7jzA.js → requirementDiagram-TGXJPOKE-C1yJPMp1.js} +3 -3
  135. package/dist/{sankeyDiagram-HTMAVEWB-CEC0GaCg.js → sankeyDiagram-HTMAVEWB-D5G9Dcmr.js} +67 -67
  136. package/dist/{sankeyDiagram-HTMAVEWB-Bw9J2Ay2.cjs → sankeyDiagram-HTMAVEWB-shq9WK4t.cjs} +1 -1
  137. package/dist/{sequenceDiagram-DBY2YBRQ-CKb4m3I0.js → sequenceDiagram-DBY2YBRQ-8EJMQxiB.js} +47 -47
  138. package/dist/{sequenceDiagram-DBY2YBRQ-BuqPCreB.cjs → sequenceDiagram-DBY2YBRQ-BRxcK5-5.cjs} +1 -1
  139. package/dist/{simple-logger-DZxBpX7v.cjs → simple-logger-9yf7ypyB.cjs} +1 -1
  140. package/dist/{simple-logger-i94ikRyH.js → simple-logger-DwH1YQvq.js} +3 -1
  141. package/dist/{sizeCapture-X5ZJPWSS-Dm3rsxXw.cjs → sizeCapture-X5ZJPWSS-BtBRJO2R.cjs} +1 -1
  142. package/dist/{sizeCapture-X5ZJPWSS-CotnTNAA.js → sizeCapture-X5ZJPWSS-DJG85IuR.js} +1 -1
  143. package/dist/{stateDiagram-2N3HPSRC-GWEIP-C9.js → stateDiagram-2N3HPSRC-CAd-NU-f.js} +22 -22
  144. package/dist/{stateDiagram-2N3HPSRC-5Y-OlePe.cjs → stateDiagram-2N3HPSRC-Czgkv_ey.cjs} +1 -1
  145. package/dist/{stateDiagram-v2-6OUMAXLB-v77D3Qyf.cjs → stateDiagram-v2-6OUMAXLB-BNP5Lx0Y.cjs} +1 -1
  146. package/dist/{stateDiagram-v2-6OUMAXLB-BZFV8swJ.js → stateDiagram-v2-6OUMAXLB-x_Zps-d5.js} +2 -2
  147. package/dist/styles/markdown.css +1 -1
  148. package/dist/{swimlanes-5IMT3BWC-B1hLl8Ph.cjs → swimlanes-5IMT3BWC-CfdkDd3q.cjs} +1 -1
  149. package/dist/{swimlanes-5IMT3BWC-DujAOwAt.js → swimlanes-5IMT3BWC-D8brzzxb.js} +313 -313
  150. package/dist/{swimlanesDiagram-G3AALYLV-B-5z3jDg.js → swimlanesDiagram-G3AALYLV-Bc9-lR2e.js} +2 -2
  151. package/dist/{swimlanesDiagram-G3AALYLV-Cklgsxbg.cjs → swimlanesDiagram-G3AALYLV-dvJpSdGV.cjs} +1 -1
  152. package/dist/{timeline-definition-FHXFAJF6-B2m-aQLI.cjs → timeline-definition-FHXFAJF6-BSqACati.cjs} +1 -1
  153. package/dist/{timeline-definition-FHXFAJF6-Fmzt_lvR.js → timeline-definition-FHXFAJF6-CKW3NJOF.js} +34 -34
  154. package/dist/utils/simple-logger.d.ts +1 -0
  155. package/dist/{vennDiagram-L72KCM5P-rL7UDYbl.cjs → vennDiagram-L72KCM5P-ChKxsFyJ.cjs} +1 -1
  156. package/dist/{vennDiagram-L72KCM5P-zIXK42Cx.js → vennDiagram-L72KCM5P-vPmq984y.js} +92 -92
  157. package/dist/{wardleyDiagram-EHGQE667-pTeeZ0uM.js → wardleyDiagram-EHGQE667-CwN9zwBX.js} +11 -11
  158. package/dist/{wardleyDiagram-EHGQE667-CNLieFen.cjs → wardleyDiagram-EHGQE667-CxzlR7km.cjs} +1 -1
  159. package/dist/{xychartDiagram-FW5EYKEG-B6UdSSVZ.js → xychartDiagram-FW5EYKEG-DBSKTLuc.js} +37 -37
  160. package/dist/{xychartDiagram-FW5EYKEG-CD5ik4HK.cjs → xychartDiagram-FW5EYKEG-wJqYRInm.cjs} +1 -1
  161. package/package.json +25 -9
  162. package/dist/arc-DH6k2JIR.js +0 -83
  163. package/dist/channel-DoH_tsOQ.js +0 -5
  164. package/dist/components/mdastNodes/BlockLinkNode.d.ts +0 -5
  165. package/dist/components/mdastNodes/RichLinkCard.d.ts +0 -8
  166. package/dist/components/mdastNodes/TwitterEmbedNode.d.ts +0 -25
  167. package/dist/components/mdastNodes/YouTubeEmbedNode.d.ts +0 -6
  168. package/dist/extractHeadings-lDHB2sBb.cjs +0 -310
  169. package/dist/flowDiagram-23GEKE2U-ORytlvmX.js +0 -7
  170. package/dist/flowDiagram-23GEKE2U-h2WZTCCn.cjs +0 -1
  171. package/dist/plugins/createIntentTweetLink.d.ts +0 -10
  172. package/dist/plugins/extractYouTubeVideoId.d.ts +0 -5
  173. package/dist/plugins/fetchSiteMetadata.d.ts +0 -9
  174. package/dist/plugins/remark-auto-heading-id.d.ts +0 -2
  175. package/dist/plugins/remark-block-link-metadata.d.ts +0 -23
  176. package/dist/plugins/remark-block-link.d.ts +0 -12
  177. package/dist/plugins/remark-twitter-embed.d.ts +0 -20
  178. package/dist/plugins/remark-youtube-embed.d.ts +0 -14
  179. package/dist/utils/getFaviconUrl.d.ts +0 -1
@@ -1,4 +1,4 @@
1
- "use strict";const l=require("./extractHeadings-lDHB2sBb.cjs");var b="",N="",A="",M=[],$=new Map,k=l.__name(e=>l.sanitizeText(e,l.getConfig2()),"sanitizeText"),F=l.__name(e=>{switch(e.type){case"terminal":return{...e,value:k(e.value)};case"nonterminal":return{...e,name:k(e.name)};case"sequence":return{...e,elements:e.elements.map(F)};case"choice":return{...e,alternatives:e.alternatives.map(F)};case"optional":return{...e,element:F(e.element)};case"repetition":return{...e,element:F(e.element),separator:e.separator?F(e.separator):void 0};case"special":return{...e,text:k(e.text)}}},"sanitizeAstNode"),I=l.__name(()=>{b="",N="",A="",M.length=0,$.clear(),l.clear(),l.log.debug("[Railroad] Database cleared")},"clear"),W=l.__name(e=>{b=k(e),l.log.debug("[Railroad] Title set:",e)},"setTitle"),B=l.__name(()=>b,"getTitle"),X=l.__name(e=>{const i={...e,name:k(e.name),definition:F(e.definition),comment:e.comment?k(e.comment):void 0};l.log.debug("[Railroad] Adding rule:",i.name),$.has(i.name)&&l.log.warn(`[Railroad] Rule '${i.name}' is already defined. Overwriting.`),M.push(i),$.set(i.name,i)},"addRule"),q=l.__name(()=>M,"getRules"),G=l.__name(e=>$.get(e),"getRule"),U=l.__name(e=>{N=k(e).replace(/^\s+/g,""),l.log.debug("[Railroad] Accessibility title set:",e)},"setAccTitle"),j=l.__name(()=>N,"getAccTitle"),K=l.__name(e=>{A=k(e).replace(/\n\s+/g,`
1
+ "use strict";const l=require("./extractHeadings-D1A8WzVy.cjs");var b="",N="",A="",M=[],$=new Map,k=l.__name(e=>l.sanitizeText(e,l.getConfig2()),"sanitizeText"),F=l.__name(e=>{switch(e.type){case"terminal":return{...e,value:k(e.value)};case"nonterminal":return{...e,name:k(e.name)};case"sequence":return{...e,elements:e.elements.map(F)};case"choice":return{...e,alternatives:e.alternatives.map(F)};case"optional":return{...e,element:F(e.element)};case"repetition":return{...e,element:F(e.element),separator:e.separator?F(e.separator):void 0};case"special":return{...e,text:k(e.text)}}},"sanitizeAstNode"),I=l.__name(()=>{b="",N="",A="",M.length=0,$.clear(),l.clear(),l.log.debug("[Railroad] Database cleared")},"clear"),W=l.__name(e=>{b=k(e),l.log.debug("[Railroad] Title set:",e)},"setTitle"),B=l.__name(()=>b,"getTitle"),X=l.__name(e=>{const i={...e,name:k(e.name),definition:F(e.definition),comment:e.comment?k(e.comment):void 0};l.log.debug("[Railroad] Adding rule:",i.name),$.has(i.name)&&l.log.warn(`[Railroad] Rule '${i.name}' is already defined. Overwriting.`),M.push(i),$.set(i.name,i)},"addRule"),q=l.__name(()=>M,"getRules"),G=l.__name(e=>$.get(e),"getRule"),U=l.__name(e=>{N=k(e).replace(/^\s+/g,""),l.log.debug("[Railroad] Accessibility title set:",e)},"setAccTitle"),j=l.__name(()=>N,"getAccTitle"),K=l.__name(e=>{A=k(e).replace(/\n\s+/g,`
2
2
  `),l.log.debug("[Railroad] Accessibility description set:",e)},"setAccDescription"),J=l.__name(()=>A,"getAccDescription"),Q=W,Z=B,Y={clear:I,setTitle:W,getTitle:B,addRule:X,getRules:q,getRule:G,setAccTitle:U,getAccTitle:j,setAccDescription:K,getAccDescription:J,setDiagramTitle:Q,getDiagramTitle:Z},f={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5},V=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,ee=/^[\w "',.-]+$/,te=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),P=l.__name(e=>e?Object.keys(e).every(i=>i==="railroad"||te.has(i)):!1,"isRailroadStyleOptions"),re=l.__name(e=>e?"railroad"in e&&e.railroad?e.railroad:P(e)?e:{}:{},"extractRailroadOverrides"),ie=l.__name(e=>{if(!e||P(e))return{};const{railroad:i,svgId:a,theme:n,look:t,...r}=e;return r},"extractThemeOverrides"),h=l.__name((e,i)=>{if(typeof e!="string")return i;const a=e.trim();return V.test(a)?a:i},"sanitizeColorValue"),L=l.__name((e,i)=>{if(typeof e!="string")return i;const a=e.trim();return ee.test(a)?a:i},"sanitizeFontFamilyValue"),S=l.__name((e,i)=>{const a=typeof e=="number"?e:typeof e=="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(a)&&a>=0?a:i},"sanitizeNumberValue"),ne=l.__name(e=>{const i=typeof e=="number"?e:typeof e=="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(i)&&i>0?i:void 0},"parseThemeFontSize"),ae=l.__name(e=>{const i=L(e.fontFamily,f.fontFamily),a=ne(e.fontSize)??f.fontSize;return{...f,fontFamily:i,fontSize:a,terminalFill:h(e.secondBkg??e.secondaryColor,f.terminalFill),terminalStroke:h(e.secondaryBorderColor??e.lineColor,f.terminalStroke),terminalTextColor:h(e.secondaryTextColor??e.textColor,f.terminalTextColor),nonTerminalFill:h(e.mainBkg??e.background,f.nonTerminalFill),nonTerminalStroke:h(e.primaryBorderColor??e.lineColor,f.nonTerminalStroke),nonTerminalTextColor:h(e.primaryTextColor??e.textColor,f.nonTerminalTextColor),lineColor:h(e.lineColor,f.lineColor),markerFill:h(e.lineColor,f.markerFill),commentFill:h(e.labelBackground??e.tertiaryColor,f.commentFill),commentStroke:h(e.tertiaryBorderColor??e.lineColor,f.commentStroke),commentTextColor:h(e.tertiaryTextColor??e.textColor,f.commentTextColor),specialFill:h(e.tertiaryColor??e.secondaryColor,f.specialFill),specialStroke:h(e.tertiaryBorderColor??e.secondaryBorderColor,f.specialStroke),ruleNameColor:h(e.titleColor??e.textColor,f.ruleNameColor)}},"buildThemeDefaults"),O=l.__name(e=>{const i=l.getConfig(),a={...l.getThemeVariables3(),...i.themeVariables??{},...ie(e)},n=ae(a),t={...i.railroad??{},...re(e)};return{compactMode:t.compactMode??n.compactMode,padding:S(t.padding,n.padding),verticalSeparation:S(t.verticalSeparation,n.verticalSeparation),horizontalSeparation:S(t.horizontalSeparation,n.horizontalSeparation),arcRadius:S(t.arcRadius,n.arcRadius),fontSize:S(t.fontSize,n.fontSize),fontFamily:L(t.fontFamily,n.fontFamily),terminalFill:h(t.terminalFill,n.terminalFill),terminalStroke:h(t.terminalStroke,n.terminalStroke),terminalTextColor:h(t.terminalTextColor,n.terminalTextColor),nonTerminalFill:h(t.nonTerminalFill,n.nonTerminalFill),nonTerminalStroke:h(t.nonTerminalStroke,n.nonTerminalStroke),nonTerminalTextColor:h(t.nonTerminalTextColor,n.nonTerminalTextColor),lineColor:h(t.lineColor,n.lineColor),strokeWidth:S(t.strokeWidth,n.strokeWidth),markerFill:h(t.markerFill,n.markerFill),commentFill:h(t.commentFill,n.commentFill),commentStroke:h(t.commentStroke,n.commentStroke),commentTextColor:h(t.commentTextColor,n.commentTextColor),specialFill:h(t.specialFill,n.specialFill),specialStroke:h(t.specialStroke,n.specialStroke),ruleNameColor:h(t.ruleNameColor,n.ruleNameColor),showMarkers:t.showMarkers??n.showMarkers,markerRadius:S(t.markerRadius,n.markerRadius)}},"buildRailroadStyleOptions"),oe=l.__name(e=>{const{fontFamily:i,fontSize:a,terminalFill:n,terminalStroke:t,terminalTextColor:r,nonTerminalFill:o,nonTerminalStroke:g,nonTerminalTextColor:s,lineColor:d,strokeWidth:p,markerFill:u,commentFill:m,commentStroke:w,commentTextColor:c,specialFill:T,specialStroke:_,ruleNameColor:v}=O(e);return`
3
3
  .railroad-diagram {
4
4
  font-family: ${i};
@@ -1,4 +1,4 @@
1
- "use strict";const q1=require("./chunk-5VM5RSS4-CqDQlS7v.cjs"),K1=require("./chunk-XXDRQBXY-DmoUE7-y.cjs"),j1=require("./chunk-VR4S4FIN-Cy-2mZJB.cjs"),l=require("./extractHeadings-lDHB2sBb.cjs"),Y1=require("./chunk-32BRIVSS-BwDfmprN.cjs"),H1=require("dompurify"),X1=require("./channel-CJQcZr8o.cjs");var Q1="flowchart-",Re,J1=(Re=class{constructor(){this.vertexCounter=0,this.config=l.getConfig2(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=l.setAccTitle,this.setAccDescription=l.setAccDescription,this.setDiagramTitle=l.setDiagramTitle,this.getAccTitle=l.getAccTitle,this.getAccDescription=l.getAccDescription,this.getDiagramTitle=l.getDiagramTitle,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return l.common_default.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const r of this.vertices.values())if(r.id===i)return this.diagramId?`${this.diagramId}-${r.domId}`:r.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,r,a,n,c,f,h={},b){if(!i||i.trim().length===0)return;let u;if(b!==void 0){let m;b.includes(`
1
+ "use strict";const q1=require("./chunk-5VM5RSS4-CKgpuXOS.cjs"),K1=require("./chunk-XXDRQBXY-DOuLpiJ4.cjs"),j1=require("./chunk-VR4S4FIN-Bc567umS.cjs"),l=require("./extractHeadings-D1A8WzVy.cjs"),Y1=require("./chunk-32BRIVSS-XUAL4SUU.cjs"),H1=require("dompurify"),X1=require("./channel-Jkgg7NV4.cjs");var Q1="flowchart-",Re,J1=(Re=class{constructor(){this.vertexCounter=0,this.config=l.getConfig2(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=l.setAccTitle,this.setAccDescription=l.setAccDescription,this.setDiagramTitle=l.setDiagramTitle,this.getAccTitle=l.getAccTitle,this.getAccDescription=l.getAccDescription,this.getDiagramTitle=l.getDiagramTitle,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return l.common_default.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const r of this.vertices.values())if(r.id===i)return this.diagramId?`${this.diagramId}-${r.domId}`:r.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,r,a,n,c,f,h={},b){if(!i||i.trim().length===0)return;let u;if(b!==void 0){let m;b.includes(`
2
2
  `)?m=b+`
3
3
  `:m=`{
4
4
  `+b+`
@@ -1,10 +1,10 @@
1
- import { g as qe } from "./chunk-5VM5RSS4-Bfis-x7E.js";
2
- import { g as Xe } from "./chunk-XXDRQBXY-D2Sgptl-.js";
3
- import { s as Qe } from "./chunk-VR4S4FIN-B72PxPVm.js";
4
- import { _ as k, a8 as Je, a9 as Me, $ as J, W as g1, aa as Ze, ab as $e, ac as re, V as et, O as tt, ad as st, U as it, Q as rt, ae as at, a6 as nt, af as ut, ag as ot, ah as lt, ai as se, X as ie, aj as ct, ak as ht, al as dt } from "./extractHeadings-CGJexznE.js";
5
- import { c as pt } from "./chunk-32BRIVSS-BhQJBlVw.js";
1
+ import { g as qe } from "./chunk-5VM5RSS4-OANQKmQE.js";
2
+ import { g as Xe } from "./chunk-XXDRQBXY-Drnpl-KK.js";
3
+ import { s as Qe } from "./chunk-VR4S4FIN-BGGITgpQ.js";
4
+ import { _ as k, a0 as Je, a1 as Me, O as J, J as g1, a2 as Ze, a3 as $e, a4 as re, G as et, y as tt, a5 as st, A as it, z as rt, a6 as at, Y as nt, a7 as ut, a8 as ot, a9 as lt, aa as se, K as ie, ab as ct, ac as ht, ad as dt } from "./extractHeadings-CtiYkq2z.js";
5
+ import { c as pt } from "./chunk-32BRIVSS-94iTIA-u.js";
6
6
  import ft from "dompurify";
7
- import { c as gt } from "./channel-DoH_tsOQ.js";
7
+ import { c as gt } from "./channel-PnA15jK3.js";
8
8
  var bt = "flowchart-", G1, At = (G1 = class {
9
9
  // cspell:ignore funs
10
10
  constructor() {
@@ -314,9 +314,9 @@ You have to call mermaid.initialize.`
314
314
  const c = (/* @__PURE__ */ k((S) => {
315
315
  const B = { boolean: {}, number: {}, string: {} }, b1 = [];
316
316
  let A1;
317
- return { nodeList: S.filter(function(K) {
318
- const h1 = typeof K;
319
- return K.stmt && K.stmt === "dir" ? (A1 = K.value, !1) : K.trim() === "" ? !1 : h1 in B ? B[h1].hasOwnProperty(K) ? !1 : B[h1][K] = !0 : b1.includes(K) ? !1 : b1.push(K);
317
+ return { nodeList: S.filter(function(j) {
318
+ const h1 = typeof j;
319
+ return j.stmt && j.stmt === "dir" ? (A1 = j.value, !1) : j.trim() === "" ? !1 : h1 in B ? B[h1].hasOwnProperty(j) ? !1 : B[h1][j] = !0 : b1.includes(j) ? !1 : b1.push(j);
320
320
  }), dir: A1 };
321
321
  }, "uniq"))(r.flat()), g = c.nodeList, u = c.dir, A = u !== void 0, v = g1().flowchart ?? {}, b = u ?? (v.inheritDir ? this.getDirection() ?? g1().direction ?? void 0 : void 0);
322
322
  if (this.version === "gen-1")
@@ -633,7 +633,7 @@ You have to call mermaid.initialize.`
633
633
  var s = /* @__PURE__ */ k(function(f1, h, d, f) {
634
634
  for (d = d || {}, f = f1.length; f--; d[f1[f]] = h) ;
635
635
  return d;
636
- }, "o"), i = [1, 4], r = [1, 3], a = [1, 5], n = [1, 8, 9, 10, 11, 27, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124, 125], l = [2, 2], p = [1, 13], c = [1, 14], g = [1, 15], u = [1, 16], A = [1, 23], v = [1, 25], b = [1, 26], m = [1, 27], S = [1, 50], B = [1, 49], b1 = [1, 29], A1 = [1, 30], P1 = [1, 31], K = [1, 32], h1 = [1, 33], V = [1, 45], I = [1, 47], w = [1, 43], R = [1, 48], N = [1, 44], G = [1, 51], P = [1, 46], O = [1, 52], M = [1, 53], M1 = [1, 34], U1 = [1, 35], W1 = [1, 36], z1 = [1, 37], j1 = [1, 38], d1 = [1, 58], x = [1, 8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124, 125], $ = [1, 62], e1 = [1, 61], t1 = [1, 63], C1 = [8, 9, 11, 75, 77, 78], ne = [1, 79], E1 = [1, 92], T1 = [1, 97], S1 = [1, 96], x1 = [1, 93], y1 = [1, 89], F1 = [1, 95], _1 = [1, 91], B1 = [1, 98], v1 = [1, 94], L1 = [1, 99], V1 = [1, 90], k1 = [8, 9, 10, 11, 40, 75, 77, 78], W = [8, 9, 10, 11, 40, 46, 75, 77, 78], H = [8, 9, 10, 11, 29, 40, 44, 46, 48, 50, 52, 54, 56, 58, 60, 63, 65, 67, 68, 70, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], ue = [8, 9, 11, 44, 60, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], I1 = [44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], oe = [1, 122], le = [1, 123], K1 = [1, 125], Y1 = [1, 124], ce = [44, 60, 62, 74, 89, 102, 105, 106, 109, 111, 114, 115, 116], he = [1, 134], de = [1, 148], pe = [1, 149], fe = [1, 150], ge = [1, 151], be = [1, 136], Ae = [1, 138], ke = [1, 142], me = [1, 143], De = [1, 144], Ce = [1, 145], Ee = [1, 146], Te = [1, 147], Se = [1, 152], xe = [1, 153], ye = [1, 132], Fe = [1, 133], _e = [1, 140], Be = [1, 135], ve = [1, 139], Le = [1, 137], Q1 = [8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124, 125], Ve = [1, 155], Ie = [1, 157], _ = [8, 9, 11], q = [8, 9, 10, 11, 14, 44, 60, 89, 105, 106, 109, 111, 114, 115, 116], D = [1, 177], z = [1, 173], j = [1, 174], C = [1, 178], E = [1, 175], T = [1, 176], w1 = [77, 116, 119], y = [8, 9, 10, 11, 12, 14, 27, 29, 32, 44, 60, 75, 84, 85, 86, 87, 88, 89, 90, 105, 109, 111, 114, 115, 116], we = [10, 106], p1 = [31, 49, 51, 53, 55, 57, 62, 64, 66, 67, 69, 71, 116, 117, 118], s1 = [1, 248], i1 = [1, 246], r1 = [1, 250], a1 = [1, 244], n1 = [1, 245], u1 = [1, 247], o1 = [1, 249], l1 = [1, 251], R1 = [1, 269], Re = [8, 9, 11, 106], Z = [8, 9, 10, 11, 60, 84, 105, 106, 109, 110, 111, 112], J1 = {
636
+ }, "o"), i = [1, 4], r = [1, 3], a = [1, 5], n = [1, 8, 9, 10, 11, 27, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124, 125], l = [2, 2], p = [1, 13], c = [1, 14], g = [1, 15], u = [1, 16], A = [1, 23], v = [1, 25], b = [1, 26], m = [1, 27], S = [1, 50], B = [1, 49], b1 = [1, 29], A1 = [1, 30], P1 = [1, 31], j = [1, 32], h1 = [1, 33], V = [1, 45], I = [1, 47], w = [1, 43], R = [1, 48], N = [1, 44], G = [1, 51], P = [1, 46], O = [1, 52], M = [1, 53], M1 = [1, 34], U1 = [1, 35], z1 = [1, 36], W1 = [1, 37], K1 = [1, 38], d1 = [1, 58], y = [1, 8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124, 125], $ = [1, 62], e1 = [1, 61], t1 = [1, 63], C1 = [8, 9, 11, 75, 77, 78], ne = [1, 79], E1 = [1, 92], T1 = [1, 97], S1 = [1, 96], y1 = [1, 93], x1 = [1, 89], F1 = [1, 95], _1 = [1, 91], B1 = [1, 98], v1 = [1, 94], L1 = [1, 99], V1 = [1, 90], k1 = [8, 9, 10, 11, 40, 75, 77, 78], z = [8, 9, 10, 11, 40, 46, 75, 77, 78], H = [8, 9, 10, 11, 29, 40, 44, 46, 48, 50, 52, 54, 56, 58, 60, 63, 65, 67, 68, 70, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], ue = [8, 9, 11, 44, 60, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], I1 = [44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], oe = [1, 122], le = [1, 123], j1 = [1, 125], Y1 = [1, 124], ce = [44, 60, 62, 74, 89, 102, 105, 106, 109, 111, 114, 115, 116], he = [1, 134], de = [1, 148], pe = [1, 149], fe = [1, 150], ge = [1, 151], be = [1, 136], Ae = [1, 138], ke = [1, 142], me = [1, 143], De = [1, 144], Ce = [1, 145], Ee = [1, 146], Te = [1, 147], Se = [1, 152], ye = [1, 153], xe = [1, 132], Fe = [1, 133], _e = [1, 140], Be = [1, 135], ve = [1, 139], Le = [1, 137], Q1 = [8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124, 125], Ve = [1, 155], Ie = [1, 157], _ = [8, 9, 11], q = [8, 9, 10, 11, 14, 44, 60, 89, 105, 106, 109, 111, 114, 115, 116], D = [1, 177], W = [1, 173], K = [1, 174], C = [1, 178], E = [1, 175], T = [1, 176], w1 = [77, 116, 119], x = [8, 9, 10, 11, 12, 14, 27, 29, 32, 44, 60, 75, 84, 85, 86, 87, 88, 89, 90, 105, 109, 111, 114, 115, 116], we = [10, 106], p1 = [31, 49, 51, 53, 55, 57, 62, 64, 66, 67, 69, 71, 116, 117, 118], s1 = [1, 248], i1 = [1, 246], r1 = [1, 250], a1 = [1, 244], n1 = [1, 245], u1 = [1, 247], o1 = [1, 249], l1 = [1, 251], R1 = [1, 269], Re = [8, 9, 11, 106], Z = [8, 9, 10, 11, 60, 84, 105, 106, 109, 110, 111, 112], J1 = {
637
637
  trace: /* @__PURE__ */ k(function() {
638
638
  }, "trace"),
639
639
  yy: {},
@@ -940,7 +940,7 @@ You have to call mermaid.initialize.`
940
940
  break;
941
941
  }
942
942
  }, "anonymous"),
943
- table: [{ 3: 1, 4: 2, 9: i, 10: r, 12: a }, { 1: [3] }, s(n, l, { 5: 6 }), { 4: 7, 9: i, 10: r, 12: a }, { 4: 8, 9: i, 10: r, 12: a }, { 13: [1, 9], 14: [1, 10] }, { 1: [2, 1], 6: 11, 7: 12, 8: p, 9: c, 10: g, 11: u, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: A, 33: 24, 34: v, 36: b, 38: m, 42: 28, 43: 39, 44: S, 45: 40, 47: 41, 60: B, 84: b1, 85: A1, 86: P1, 87: K, 88: h1, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M, 121: M1, 122: U1, 123: W1, 124: z1, 125: j1 }, s(n, [2, 9]), s(n, [2, 10]), s(n, [2, 11]), { 8: [1, 55], 9: [1, 56], 10: d1, 15: 54, 18: 57 }, s(x, [2, 3]), s(x, [2, 4]), s(x, [2, 5]), s(x, [2, 6]), s(x, [2, 7]), s(x, [2, 8]), { 8: $, 9: e1, 11: t1, 21: 59, 41: 60, 72: 64, 75: [1, 65], 77: [1, 67], 78: [1, 66] }, { 8: $, 9: e1, 11: t1, 21: 68 }, { 8: $, 9: e1, 11: t1, 21: 69 }, { 8: $, 9: e1, 11: t1, 21: 70 }, { 8: $, 9: e1, 11: t1, 21: 71 }, { 8: $, 9: e1, 11: t1, 21: 72 }, { 8: $, 9: e1, 10: [1, 73], 11: t1, 21: 74 }, s(x, [2, 36]), { 35: [1, 75] }, { 37: [1, 76] }, s(x, [2, 39]), s(C1, [2, 50], { 18: 77, 39: 78, 10: d1, 40: ne }), { 10: [1, 80] }, { 10: [1, 81] }, { 10: [1, 82] }, { 10: [1, 83] }, { 14: E1, 44: T1, 60: S1, 80: [1, 87], 89: x1, 95: [1, 84], 97: [1, 85], 101: 86, 105: y1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1, 120: 88 }, s(x, [2, 185]), s(x, [2, 186]), s(x, [2, 187]), s(x, [2, 188]), s(x, [2, 189]), s(k1, [2, 51]), s(k1, [2, 54], { 46: [1, 100] }), s(W, [2, 72], { 113: 113, 29: [1, 101], 44: S, 48: [1, 102], 50: [1, 103], 52: [1, 104], 54: [1, 105], 56: [1, 106], 58: [1, 107], 60: B, 63: [1, 108], 65: [1, 109], 67: [1, 110], 68: [1, 111], 70: [1, 112], 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 114: P, 115: O, 116: M }), s(H, [2, 181]), s(H, [2, 142]), s(H, [2, 143]), s(H, [2, 144]), s(H, [2, 145]), s(H, [2, 146]), s(H, [2, 147]), s(H, [2, 148]), s(H, [2, 149]), s(H, [2, 150]), s(H, [2, 151]), s(H, [2, 152]), s(n, [2, 12]), s(n, [2, 18]), s(n, [2, 19]), { 9: [1, 114] }, s(ue, [2, 26], { 18: 115, 10: d1 }), s(x, [2, 27]), { 42: 116, 43: 39, 44: S, 45: 40, 47: 41, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, s(x, [2, 40]), s(x, [2, 41]), s(x, [2, 42]), s(I1, [2, 76], { 73: 117, 62: [1, 119], 74: [1, 118] }), { 76: 120, 79: 121, 80: oe, 81: le, 116: K1, 119: Y1 }, { 75: [1, 126], 77: [1, 127] }, s(ce, [2, 83]), s(x, [2, 28]), s(x, [2, 29]), s(x, [2, 30]), s(x, [2, 31]), s(x, [2, 32]), { 10: he, 12: de, 14: pe, 27: fe, 28: 128, 32: ge, 44: be, 60: Ae, 75: ke, 80: [1, 130], 81: [1, 131], 83: 141, 84: me, 85: De, 86: Ce, 87: Ee, 88: Te, 89: Se, 90: xe, 91: 129, 105: ye, 109: Fe, 111: _e, 114: Be, 115: ve, 116: Le }, s(Q1, l, { 5: 154 }), s(x, [2, 37]), s(x, [2, 38]), s(C1, [2, 48], { 44: Ve }), s(C1, [2, 49], { 18: 156, 10: d1, 40: Ie }), s(k1, [2, 44]), { 44: S, 47: 158, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, { 102: [1, 159], 103: 160, 105: [1, 161] }, { 44: S, 47: 162, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, { 44: S, 47: 163, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, s(_, [2, 107], { 10: [1, 164], 96: [1, 165] }), { 80: [1, 166] }, s(_, [2, 115], { 120: 168, 10: [1, 167], 14: E1, 44: T1, 60: S1, 89: x1, 105: y1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1 }), s(_, [2, 117], { 10: [1, 169] }), s(q, [2, 183]), s(q, [2, 170]), s(q, [2, 171]), s(q, [2, 172]), s(q, [2, 173]), s(q, [2, 174]), s(q, [2, 175]), s(q, [2, 176]), s(q, [2, 177]), s(q, [2, 178]), s(q, [2, 179]), s(q, [2, 180]), { 44: S, 47: 170, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, { 30: 171, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, { 30: 179, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, { 30: 181, 50: [1, 180], 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, { 30: 182, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, { 30: 183, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, { 30: 184, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, { 109: [1, 185] }, { 30: 186, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, { 30: 187, 65: [1, 188], 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, { 30: 189, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, { 30: 190, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, { 30: 191, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, s(H, [2, 182]), s(n, [2, 20]), s(ue, [2, 25]), s(C1, [2, 46], { 39: 192, 18: 193, 10: d1, 40: ne }), s(I1, [2, 73], { 10: [1, 194] }), { 10: [1, 195] }, { 30: 196, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, { 77: [1, 197], 79: 198, 116: K1, 119: Y1 }, s(w1, [2, 79]), s(w1, [2, 81]), s(w1, [2, 82]), s(w1, [2, 168]), s(w1, [2, 169]), { 76: 199, 79: 121, 80: oe, 81: le, 116: K1, 119: Y1 }, s(ce, [2, 84]), { 8: $, 9: e1, 10: he, 11: t1, 12: de, 14: pe, 21: 201, 27: fe, 29: [1, 200], 32: ge, 44: be, 60: Ae, 75: ke, 83: 141, 84: me, 85: De, 86: Ce, 87: Ee, 88: Te, 89: Se, 90: xe, 91: 202, 105: ye, 109: Fe, 111: _e, 114: Be, 115: ve, 116: Le }, s(y, [2, 101]), s(y, [2, 103]), s(y, [2, 104]), s(y, [2, 157]), s(y, [2, 158]), s(y, [2, 159]), s(y, [2, 160]), s(y, [2, 161]), s(y, [2, 162]), s(y, [2, 163]), s(y, [2, 164]), s(y, [2, 165]), s(y, [2, 166]), s(y, [2, 167]), s(y, [2, 90]), s(y, [2, 91]), s(y, [2, 92]), s(y, [2, 93]), s(y, [2, 94]), s(y, [2, 95]), s(y, [2, 96]), s(y, [2, 97]), s(y, [2, 98]), s(y, [2, 99]), s(y, [2, 100]), { 6: 11, 7: 12, 8: p, 9: c, 10: g, 11: u, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: A, 32: [1, 203], 33: 24, 34: v, 36: b, 38: m, 42: 28, 43: 39, 44: S, 45: 40, 47: 41, 60: B, 84: b1, 85: A1, 86: P1, 87: K, 88: h1, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M, 121: M1, 122: U1, 123: W1, 124: z1, 125: j1 }, { 10: d1, 18: 204 }, { 44: [1, 205] }, s(k1, [2, 43]), { 10: [1, 206], 44: S, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 113, 114: P, 115: O, 116: M }, { 10: [1, 207] }, { 10: [1, 208], 106: [1, 209] }, s(we, [2, 128]), { 10: [1, 210], 44: S, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 113, 114: P, 115: O, 116: M }, { 10: [1, 211], 44: S, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 113, 114: P, 115: O, 116: M }, { 80: [1, 212] }, s(_, [2, 109], { 10: [1, 213] }), s(_, [2, 111], { 10: [1, 214] }), { 80: [1, 215] }, s(q, [2, 184]), { 80: [1, 216], 98: [1, 217] }, s(k1, [2, 55], { 113: 113, 44: S, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 114: P, 115: O, 116: M }), { 31: [1, 218], 67: D, 82: 219, 116: C, 117: E, 118: T }, s(p1, [2, 86]), s(p1, [2, 88]), s(p1, [2, 89]), s(p1, [2, 153]), s(p1, [2, 154]), s(p1, [2, 155]), s(p1, [2, 156]), { 49: [1, 220], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 30: 221, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, { 51: [1, 222], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 53: [1, 223], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 55: [1, 224], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 57: [1, 225], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 60: [1, 226] }, { 64: [1, 227], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 66: [1, 228], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 30: 229, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, { 31: [1, 230], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 67: D, 69: [1, 231], 71: [1, 232], 82: 219, 116: C, 117: E, 118: T }, { 67: D, 69: [1, 234], 71: [1, 233], 82: 219, 116: C, 117: E, 118: T }, s(C1, [2, 45], { 18: 156, 10: d1, 40: Ie }), s(C1, [2, 47], { 44: Ve }), s(I1, [2, 75]), s(I1, [2, 74]), { 62: [1, 235], 67: D, 82: 219, 116: C, 117: E, 118: T }, s(I1, [2, 77]), s(w1, [2, 80]), { 77: [1, 236], 79: 198, 116: K1, 119: Y1 }, { 30: 237, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, s(Q1, l, { 5: 238 }), s(y, [2, 102]), s(x, [2, 35]), { 43: 239, 44: S, 45: 40, 47: 41, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, { 10: d1, 18: 240 }, { 10: s1, 60: i1, 84: r1, 92: 241, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 10: s1, 60: i1, 84: r1, 92: 252, 104: [1, 253], 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 10: s1, 60: i1, 84: r1, 92: 254, 104: [1, 255], 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 105: [1, 256] }, { 10: s1, 60: i1, 84: r1, 92: 257, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 44: S, 47: 258, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, s(_, [2, 108]), { 80: [1, 259] }, { 80: [1, 260], 98: [1, 261] }, s(_, [2, 116]), s(_, [2, 118], { 10: [1, 262] }), s(_, [2, 119]), s(W, [2, 56]), s(p1, [2, 87]), s(W, [2, 57]), { 51: [1, 263], 67: D, 82: 219, 116: C, 117: E, 118: T }, s(W, [2, 64]), s(W, [2, 59]), s(W, [2, 60]), s(W, [2, 61]), { 109: [1, 264] }, s(W, [2, 63]), s(W, [2, 65]), { 66: [1, 265], 67: D, 82: 219, 116: C, 117: E, 118: T }, s(W, [2, 67]), s(W, [2, 68]), s(W, [2, 70]), s(W, [2, 69]), s(W, [2, 71]), s([10, 44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], [2, 85]), s(I1, [2, 78]), { 31: [1, 266], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 6: 11, 7: 12, 8: p, 9: c, 10: g, 11: u, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: A, 32: [1, 267], 33: 24, 34: v, 36: b, 38: m, 42: 28, 43: 39, 44: S, 45: 40, 47: 41, 60: B, 84: b1, 85: A1, 86: P1, 87: K, 88: h1, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M, 121: M1, 122: U1, 123: W1, 124: z1, 125: j1 }, s(k1, [2, 53]), { 43: 268, 44: S, 45: 40, 47: 41, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, s(_, [2, 121], { 106: R1 }), s(Re, [2, 130], { 108: 270, 10: s1, 60: i1, 84: r1, 105: a1, 109: n1, 110: u1, 111: o1, 112: l1 }), s(Z, [2, 132]), s(Z, [2, 134]), s(Z, [2, 135]), s(Z, [2, 136]), s(Z, [2, 137]), s(Z, [2, 138]), s(Z, [2, 139]), s(Z, [2, 140]), s(Z, [2, 141]), s(_, [2, 122], { 106: R1 }), { 10: [1, 271] }, s(_, [2, 123], { 106: R1 }), { 10: [1, 272] }, s(we, [2, 129]), s(_, [2, 105], { 106: R1 }), s(_, [2, 106], { 113: 113, 44: S, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 114: P, 115: O, 116: M }), s(_, [2, 110]), s(_, [2, 112], { 10: [1, 273] }), s(_, [2, 113]), { 98: [1, 274] }, { 51: [1, 275] }, { 62: [1, 276] }, { 66: [1, 277] }, { 8: $, 9: e1, 11: t1, 21: 278 }, s(x, [2, 34]), s(k1, [2, 52]), { 10: s1, 60: i1, 84: r1, 105: a1, 107: 279, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, s(Z, [2, 133]), { 14: E1, 44: T1, 60: S1, 89: x1, 101: 280, 105: y1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1, 120: 88 }, { 14: E1, 44: T1, 60: S1, 89: x1, 101: 281, 105: y1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1, 120: 88 }, { 98: [1, 282] }, s(_, [2, 120]), s(W, [2, 58]), { 30: 283, 67: D, 80: z, 81: j, 82: 172, 116: C, 117: E, 118: T }, s(W, [2, 66]), s(Q1, l, { 5: 284 }), s(Re, [2, 131], { 108: 270, 10: s1, 60: i1, 84: r1, 105: a1, 109: n1, 110: u1, 111: o1, 112: l1 }), s(_, [2, 126], { 120: 168, 10: [1, 285], 14: E1, 44: T1, 60: S1, 89: x1, 105: y1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1 }), s(_, [2, 127], { 120: 168, 10: [1, 286], 14: E1, 44: T1, 60: S1, 89: x1, 105: y1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1 }), s(_, [2, 114]), { 31: [1, 287], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 6: 11, 7: 12, 8: p, 9: c, 10: g, 11: u, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: A, 32: [1, 288], 33: 24, 34: v, 36: b, 38: m, 42: 28, 43: 39, 44: S, 45: 40, 47: 41, 60: B, 84: b1, 85: A1, 86: P1, 87: K, 88: h1, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M, 121: M1, 122: U1, 123: W1, 124: z1, 125: j1 }, { 10: s1, 60: i1, 84: r1, 92: 289, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 10: s1, 60: i1, 84: r1, 92: 290, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, s(W, [2, 62]), s(x, [2, 33]), s(_, [2, 124], { 106: R1 }), s(_, [2, 125], { 106: R1 })],
943
+ table: [{ 3: 1, 4: 2, 9: i, 10: r, 12: a }, { 1: [3] }, s(n, l, { 5: 6 }), { 4: 7, 9: i, 10: r, 12: a }, { 4: 8, 9: i, 10: r, 12: a }, { 13: [1, 9], 14: [1, 10] }, { 1: [2, 1], 6: 11, 7: 12, 8: p, 9: c, 10: g, 11: u, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: A, 33: 24, 34: v, 36: b, 38: m, 42: 28, 43: 39, 44: S, 45: 40, 47: 41, 60: B, 84: b1, 85: A1, 86: P1, 87: j, 88: h1, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M, 121: M1, 122: U1, 123: z1, 124: W1, 125: K1 }, s(n, [2, 9]), s(n, [2, 10]), s(n, [2, 11]), { 8: [1, 55], 9: [1, 56], 10: d1, 15: 54, 18: 57 }, s(y, [2, 3]), s(y, [2, 4]), s(y, [2, 5]), s(y, [2, 6]), s(y, [2, 7]), s(y, [2, 8]), { 8: $, 9: e1, 11: t1, 21: 59, 41: 60, 72: 64, 75: [1, 65], 77: [1, 67], 78: [1, 66] }, { 8: $, 9: e1, 11: t1, 21: 68 }, { 8: $, 9: e1, 11: t1, 21: 69 }, { 8: $, 9: e1, 11: t1, 21: 70 }, { 8: $, 9: e1, 11: t1, 21: 71 }, { 8: $, 9: e1, 11: t1, 21: 72 }, { 8: $, 9: e1, 10: [1, 73], 11: t1, 21: 74 }, s(y, [2, 36]), { 35: [1, 75] }, { 37: [1, 76] }, s(y, [2, 39]), s(C1, [2, 50], { 18: 77, 39: 78, 10: d1, 40: ne }), { 10: [1, 80] }, { 10: [1, 81] }, { 10: [1, 82] }, { 10: [1, 83] }, { 14: E1, 44: T1, 60: S1, 80: [1, 87], 89: y1, 95: [1, 84], 97: [1, 85], 101: 86, 105: x1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1, 120: 88 }, s(y, [2, 185]), s(y, [2, 186]), s(y, [2, 187]), s(y, [2, 188]), s(y, [2, 189]), s(k1, [2, 51]), s(k1, [2, 54], { 46: [1, 100] }), s(z, [2, 72], { 113: 113, 29: [1, 101], 44: S, 48: [1, 102], 50: [1, 103], 52: [1, 104], 54: [1, 105], 56: [1, 106], 58: [1, 107], 60: B, 63: [1, 108], 65: [1, 109], 67: [1, 110], 68: [1, 111], 70: [1, 112], 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 114: P, 115: O, 116: M }), s(H, [2, 181]), s(H, [2, 142]), s(H, [2, 143]), s(H, [2, 144]), s(H, [2, 145]), s(H, [2, 146]), s(H, [2, 147]), s(H, [2, 148]), s(H, [2, 149]), s(H, [2, 150]), s(H, [2, 151]), s(H, [2, 152]), s(n, [2, 12]), s(n, [2, 18]), s(n, [2, 19]), { 9: [1, 114] }, s(ue, [2, 26], { 18: 115, 10: d1 }), s(y, [2, 27]), { 42: 116, 43: 39, 44: S, 45: 40, 47: 41, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, s(y, [2, 40]), s(y, [2, 41]), s(y, [2, 42]), s(I1, [2, 76], { 73: 117, 62: [1, 119], 74: [1, 118] }), { 76: 120, 79: 121, 80: oe, 81: le, 116: j1, 119: Y1 }, { 75: [1, 126], 77: [1, 127] }, s(ce, [2, 83]), s(y, [2, 28]), s(y, [2, 29]), s(y, [2, 30]), s(y, [2, 31]), s(y, [2, 32]), { 10: he, 12: de, 14: pe, 27: fe, 28: 128, 32: ge, 44: be, 60: Ae, 75: ke, 80: [1, 130], 81: [1, 131], 83: 141, 84: me, 85: De, 86: Ce, 87: Ee, 88: Te, 89: Se, 90: ye, 91: 129, 105: xe, 109: Fe, 111: _e, 114: Be, 115: ve, 116: Le }, s(Q1, l, { 5: 154 }), s(y, [2, 37]), s(y, [2, 38]), s(C1, [2, 48], { 44: Ve }), s(C1, [2, 49], { 18: 156, 10: d1, 40: Ie }), s(k1, [2, 44]), { 44: S, 47: 158, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, { 102: [1, 159], 103: 160, 105: [1, 161] }, { 44: S, 47: 162, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, { 44: S, 47: 163, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, s(_, [2, 107], { 10: [1, 164], 96: [1, 165] }), { 80: [1, 166] }, s(_, [2, 115], { 120: 168, 10: [1, 167], 14: E1, 44: T1, 60: S1, 89: y1, 105: x1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1 }), s(_, [2, 117], { 10: [1, 169] }), s(q, [2, 183]), s(q, [2, 170]), s(q, [2, 171]), s(q, [2, 172]), s(q, [2, 173]), s(q, [2, 174]), s(q, [2, 175]), s(q, [2, 176]), s(q, [2, 177]), s(q, [2, 178]), s(q, [2, 179]), s(q, [2, 180]), { 44: S, 47: 170, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, { 30: 171, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, { 30: 179, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, { 30: 181, 50: [1, 180], 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, { 30: 182, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, { 30: 183, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, { 30: 184, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, { 109: [1, 185] }, { 30: 186, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, { 30: 187, 65: [1, 188], 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, { 30: 189, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, { 30: 190, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, { 30: 191, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, s(H, [2, 182]), s(n, [2, 20]), s(ue, [2, 25]), s(C1, [2, 46], { 39: 192, 18: 193, 10: d1, 40: ne }), s(I1, [2, 73], { 10: [1, 194] }), { 10: [1, 195] }, { 30: 196, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, { 77: [1, 197], 79: 198, 116: j1, 119: Y1 }, s(w1, [2, 79]), s(w1, [2, 81]), s(w1, [2, 82]), s(w1, [2, 168]), s(w1, [2, 169]), { 76: 199, 79: 121, 80: oe, 81: le, 116: j1, 119: Y1 }, s(ce, [2, 84]), { 8: $, 9: e1, 10: he, 11: t1, 12: de, 14: pe, 21: 201, 27: fe, 29: [1, 200], 32: ge, 44: be, 60: Ae, 75: ke, 83: 141, 84: me, 85: De, 86: Ce, 87: Ee, 88: Te, 89: Se, 90: ye, 91: 202, 105: xe, 109: Fe, 111: _e, 114: Be, 115: ve, 116: Le }, s(x, [2, 101]), s(x, [2, 103]), s(x, [2, 104]), s(x, [2, 157]), s(x, [2, 158]), s(x, [2, 159]), s(x, [2, 160]), s(x, [2, 161]), s(x, [2, 162]), s(x, [2, 163]), s(x, [2, 164]), s(x, [2, 165]), s(x, [2, 166]), s(x, [2, 167]), s(x, [2, 90]), s(x, [2, 91]), s(x, [2, 92]), s(x, [2, 93]), s(x, [2, 94]), s(x, [2, 95]), s(x, [2, 96]), s(x, [2, 97]), s(x, [2, 98]), s(x, [2, 99]), s(x, [2, 100]), { 6: 11, 7: 12, 8: p, 9: c, 10: g, 11: u, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: A, 32: [1, 203], 33: 24, 34: v, 36: b, 38: m, 42: 28, 43: 39, 44: S, 45: 40, 47: 41, 60: B, 84: b1, 85: A1, 86: P1, 87: j, 88: h1, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M, 121: M1, 122: U1, 123: z1, 124: W1, 125: K1 }, { 10: d1, 18: 204 }, { 44: [1, 205] }, s(k1, [2, 43]), { 10: [1, 206], 44: S, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 113, 114: P, 115: O, 116: M }, { 10: [1, 207] }, { 10: [1, 208], 106: [1, 209] }, s(we, [2, 128]), { 10: [1, 210], 44: S, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 113, 114: P, 115: O, 116: M }, { 10: [1, 211], 44: S, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 113, 114: P, 115: O, 116: M }, { 80: [1, 212] }, s(_, [2, 109], { 10: [1, 213] }), s(_, [2, 111], { 10: [1, 214] }), { 80: [1, 215] }, s(q, [2, 184]), { 80: [1, 216], 98: [1, 217] }, s(k1, [2, 55], { 113: 113, 44: S, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 114: P, 115: O, 116: M }), { 31: [1, 218], 67: D, 82: 219, 116: C, 117: E, 118: T }, s(p1, [2, 86]), s(p1, [2, 88]), s(p1, [2, 89]), s(p1, [2, 153]), s(p1, [2, 154]), s(p1, [2, 155]), s(p1, [2, 156]), { 49: [1, 220], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 30: 221, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, { 51: [1, 222], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 53: [1, 223], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 55: [1, 224], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 57: [1, 225], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 60: [1, 226] }, { 64: [1, 227], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 66: [1, 228], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 30: 229, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, { 31: [1, 230], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 67: D, 69: [1, 231], 71: [1, 232], 82: 219, 116: C, 117: E, 118: T }, { 67: D, 69: [1, 234], 71: [1, 233], 82: 219, 116: C, 117: E, 118: T }, s(C1, [2, 45], { 18: 156, 10: d1, 40: Ie }), s(C1, [2, 47], { 44: Ve }), s(I1, [2, 75]), s(I1, [2, 74]), { 62: [1, 235], 67: D, 82: 219, 116: C, 117: E, 118: T }, s(I1, [2, 77]), s(w1, [2, 80]), { 77: [1, 236], 79: 198, 116: j1, 119: Y1 }, { 30: 237, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, s(Q1, l, { 5: 238 }), s(x, [2, 102]), s(y, [2, 35]), { 43: 239, 44: S, 45: 40, 47: 41, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, { 10: d1, 18: 240 }, { 10: s1, 60: i1, 84: r1, 92: 241, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 10: s1, 60: i1, 84: r1, 92: 252, 104: [1, 253], 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 10: s1, 60: i1, 84: r1, 92: 254, 104: [1, 255], 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 105: [1, 256] }, { 10: s1, 60: i1, 84: r1, 92: 257, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 44: S, 47: 258, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, s(_, [2, 108]), { 80: [1, 259] }, { 80: [1, 260], 98: [1, 261] }, s(_, [2, 116]), s(_, [2, 118], { 10: [1, 262] }), s(_, [2, 119]), s(z, [2, 56]), s(p1, [2, 87]), s(z, [2, 57]), { 51: [1, 263], 67: D, 82: 219, 116: C, 117: E, 118: T }, s(z, [2, 64]), s(z, [2, 59]), s(z, [2, 60]), s(z, [2, 61]), { 109: [1, 264] }, s(z, [2, 63]), s(z, [2, 65]), { 66: [1, 265], 67: D, 82: 219, 116: C, 117: E, 118: T }, s(z, [2, 67]), s(z, [2, 68]), s(z, [2, 70]), s(z, [2, 69]), s(z, [2, 71]), s([10, 44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], [2, 85]), s(I1, [2, 78]), { 31: [1, 266], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 6: 11, 7: 12, 8: p, 9: c, 10: g, 11: u, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: A, 32: [1, 267], 33: 24, 34: v, 36: b, 38: m, 42: 28, 43: 39, 44: S, 45: 40, 47: 41, 60: B, 84: b1, 85: A1, 86: P1, 87: j, 88: h1, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M, 121: M1, 122: U1, 123: z1, 124: W1, 125: K1 }, s(k1, [2, 53]), { 43: 268, 44: S, 45: 40, 47: 41, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M }, s(_, [2, 121], { 106: R1 }), s(Re, [2, 130], { 108: 270, 10: s1, 60: i1, 84: r1, 105: a1, 109: n1, 110: u1, 111: o1, 112: l1 }), s(Z, [2, 132]), s(Z, [2, 134]), s(Z, [2, 135]), s(Z, [2, 136]), s(Z, [2, 137]), s(Z, [2, 138]), s(Z, [2, 139]), s(Z, [2, 140]), s(Z, [2, 141]), s(_, [2, 122], { 106: R1 }), { 10: [1, 271] }, s(_, [2, 123], { 106: R1 }), { 10: [1, 272] }, s(we, [2, 129]), s(_, [2, 105], { 106: R1 }), s(_, [2, 106], { 113: 113, 44: S, 60: B, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 114: P, 115: O, 116: M }), s(_, [2, 110]), s(_, [2, 112], { 10: [1, 273] }), s(_, [2, 113]), { 98: [1, 274] }, { 51: [1, 275] }, { 62: [1, 276] }, { 66: [1, 277] }, { 8: $, 9: e1, 11: t1, 21: 278 }, s(y, [2, 34]), s(k1, [2, 52]), { 10: s1, 60: i1, 84: r1, 105: a1, 107: 279, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, s(Z, [2, 133]), { 14: E1, 44: T1, 60: S1, 89: y1, 101: 280, 105: x1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1, 120: 88 }, { 14: E1, 44: T1, 60: S1, 89: y1, 101: 281, 105: x1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1, 120: 88 }, { 98: [1, 282] }, s(_, [2, 120]), s(z, [2, 58]), { 30: 283, 67: D, 80: W, 81: K, 82: 172, 116: C, 117: E, 118: T }, s(z, [2, 66]), s(Q1, l, { 5: 284 }), s(Re, [2, 131], { 108: 270, 10: s1, 60: i1, 84: r1, 105: a1, 109: n1, 110: u1, 111: o1, 112: l1 }), s(_, [2, 126], { 120: 168, 10: [1, 285], 14: E1, 44: T1, 60: S1, 89: y1, 105: x1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1 }), s(_, [2, 127], { 120: 168, 10: [1, 286], 14: E1, 44: T1, 60: S1, 89: y1, 105: x1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1 }), s(_, [2, 114]), { 31: [1, 287], 67: D, 82: 219, 116: C, 117: E, 118: T }, { 6: 11, 7: 12, 8: p, 9: c, 10: g, 11: u, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: A, 32: [1, 288], 33: 24, 34: v, 36: b, 38: m, 42: 28, 43: 39, 44: S, 45: 40, 47: 41, 60: B, 84: b1, 85: A1, 86: P1, 87: j, 88: h1, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 42, 114: P, 115: O, 116: M, 121: M1, 122: U1, 123: z1, 124: W1, 125: K1 }, { 10: s1, 60: i1, 84: r1, 92: 289, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, { 10: s1, 60: i1, 84: r1, 92: 290, 105: a1, 107: 242, 108: 243, 109: n1, 110: u1, 111: o1, 112: l1 }, s(z, [2, 62]), s(y, [2, 33]), s(_, [2, 124], { 106: R1 }), s(_, [2, 125], { 106: R1 })],
944
944
  defaultActions: {},
945
945
  parseError: /* @__PURE__ */ k(function(h, d) {
946
946
  if (d.recoverable)
@@ -951,7 +951,7 @@ You have to call mermaid.initialize.`
951
951
  }
952
952
  }, "parseError"),
953
953
  parse: /* @__PURE__ */ k(function(h) {
954
- var d = this, f = [0], o = [], F = [null], e = [], O1 = this.table, t = "", L = 0, Ne = 0, je = 2, Ge = 1, Ke = e.slice.call(arguments, 1), U = Object.create(this.lexer), m1 = { yy: {} };
954
+ var d = this, f = [0], o = [], F = [null], e = [], O1 = this.table, t = "", L = 0, Ne = 0, Ke = 2, Ge = 1, je = e.slice.call(arguments, 1), U = Object.create(this.lexer), m1 = { yy: {} };
955
955
  for (var Z1 in this.yy)
956
956
  Object.prototype.hasOwnProperty.call(this.yy, Z1) && (m1.yy[Z1] = this.yy[Z1]);
957
957
  U.setInput(h, m1.yy), m1.yy.lexer = U, m1.yy.parser = this, typeof U.yylloc > "u" && (U.yylloc = {});
@@ -973,7 +973,7 @@ You have to call mermaid.initialize.`
973
973
  var te = "";
974
974
  X1 = [];
975
975
  for (q1 in O1[D1])
976
- this.terminals_[q1] && q1 > je && X1.push("'" + this.terminals_[q1] + "'");
976
+ this.terminals_[q1] && q1 > Ke && X1.push("'" + this.terminals_[q1] + "'");
977
977
  U.showPosition ? te = "Parse error on line " + (L + 1) + `:
978
978
  ` + U.showPosition() + `
979
979
  Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : te = "Parse error on line " + (L + 1) + ": Unexpected " + (Y == Ge ? "end of input" : "'" + (this.terminals_[Y] || Y) + "'"), this.parseError(te, {
@@ -1007,7 +1007,7 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : te =
1007
1007
  Q[1],
1008
1008
  F,
1009
1009
  e
1010
- ].concat(Ke)), typeof ee < "u")
1010
+ ].concat(je)), typeof ee < "u")
1011
1011
  return ee;
1012
1012
  c1 && (f = f.slice(0, -1 * c1 * 2), F = F.slice(0, -1 * c1), e = e.slice(0, -1 * c1)), f.push(this.productions_[Q[1]][0]), F.push(N1.$), e.push(N1._$), Oe = O1[f[f.length - 2]][f[f.length - 1]], f.push(Oe);
1013
1013
  break;
@@ -1017,7 +1017,7 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : te =
1017
1017
  }
1018
1018
  return !0;
1019
1019
  }, "parse")
1020
- }, ze = /* @__PURE__ */ (function() {
1020
+ }, We = /* @__PURE__ */ (function() {
1021
1021
  var f1 = {
1022
1022
  EOF: 1,
1023
1023
  parseError: /* @__PURE__ */ k(function(d, f) {
@@ -1454,20 +1454,20 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : te =
1454
1454
  };
1455
1455
  return f1;
1456
1456
  })();
1457
- J1.lexer = ze;
1457
+ J1.lexer = We;
1458
1458
  function H1() {
1459
1459
  this.yy = {};
1460
1460
  }
1461
1461
  return k(H1, "Parser"), H1.prototype = J1, J1.Parser = H1, new H1();
1462
1462
  })();
1463
1463
  ae.parser = ae;
1464
- var Ue = ae, We = Object.assign({}, Ue);
1465
- We.parse = (s) => {
1464
+ var Ue = ae, ze = Object.assign({}, Ue);
1465
+ ze.parse = (s) => {
1466
1466
  const i = s.replace(/}\s*\n/g, `}
1467
1467
  `);
1468
1468
  return Ue.parse(i);
1469
1469
  };
1470
- var Ct = We, Et = /* @__PURE__ */ k((s, i) => {
1470
+ var Ct = ze, Et = /* @__PURE__ */ k((s, i) => {
1471
1471
  const r = gt, a = r(s, "r"), n = r(s, "g"), l = r(s, "b");
1472
1472
  return dt(a, n, l, i);
1473
1473
  }, "fade"), Tt = /* @__PURE__ */ k((s) => `.label {
@@ -1611,7 +1611,7 @@ var Ct = We, Et = /* @__PURE__ */ k((s, i) => {
1611
1611
  text-align: center;
1612
1612
  }
1613
1613
  ${qe()}
1614
- `, "getStyles"), St = Tt, xt = /* @__PURE__ */ k(({
1614
+ `, "getStyles"), St = Tt, yt = /* @__PURE__ */ k(({
1615
1615
  defaultLayout: s,
1616
1616
  styles: i = St
1617
1617
  } = {}) => ({
@@ -1626,9 +1626,9 @@ var Ct = We, Et = /* @__PURE__ */ k((s, i) => {
1626
1626
  const a = Je().layout ?? s ?? r.layout;
1627
1627
  a && Me({ layout: a }), r.flowchart.arrowMarkerAbsolute = r.arrowMarkerAbsolute, Me({ flowchart: { arrowMarkerAbsolute: r.arrowMarkerAbsolute } });
1628
1628
  }, "init")
1629
- }), "createFlowDiagram"), It = xt();
1629
+ }), "createFlowDiagram"), It = yt();
1630
1630
  export {
1631
- xt as c,
1631
+ yt as c,
1632
1632
  It as d,
1633
1633
  St as s
1634
1634
  };
@@ -1,4 +1,4 @@
1
- import { _ as u, $ as i } from "./extractHeadings-CGJexznE.js";
1
+ import { _ as u, O as i } from "./extractHeadings-CtiYkq2z.js";
2
2
  import { i as m, G as y } from "./graph-DAHC4kPm.js";
3
3
  import { b as _, m as X } from "./map-DRdzG8Ho.js";
4
4
  var j = 4;
@@ -29,8 +29,8 @@ function M(e) {
29
29
  return m(r.name) || (s.name = r.name), m(n) || (s.value = n), s;
30
30
  });
31
31
  }
32
- var c = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ u(() => {
33
- w.clear(), A.clear(), c.clear();
32
+ var c = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ u(() => {
33
+ w.clear(), O.clear(), c.clear();
34
34
  }, "clear"), v = /* @__PURE__ */ u((e, r) => {
35
35
  const n = w.get(r) || [];
36
36
  return i.trace("In isDescendant", r, " ", e, " = ", n.includes(e)), n.includes(e);
@@ -93,11 +93,11 @@ var c = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), A = /* @__PURE
93
93
  }
94
94
  i.debug("Removing node", o), r.removeNode(o);
95
95
  });
96
- }, "copy"), O = /* @__PURE__ */ u((e, r) => {
96
+ }, "copy"), A = /* @__PURE__ */ u((e, r) => {
97
97
  const n = r.children(e);
98
98
  let s = [...n];
99
99
  for (const t of n)
100
- A.set(t, e), s = [...s, ...O(t, r)];
100
+ O.set(t, e), s = [...s, ...A(t, r)];
101
101
  return s;
102
102
  }, "extractDescendants"), P = /* @__PURE__ */ u((e, r, n) => {
103
103
  const s = e.edges().filter((a) => a.v === r || a.w === r), t = e.edges().filter((a) => a.v === n || a.w === n), o = s.map((a) => ({ v: a.v === r ? n : a.v, w: a.w === r ? r : a.w })), l = t.map((a) => ({ v: a.v, w: a.w }));
@@ -128,7 +128,7 @@ var c = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), A = /* @__PURE
128
128
  n,
129
129
  " Replacement id in edges: ",
130
130
  D(n, e, n)
131
- ), w.set(n, O(n, e)), c.set(n, { id: D(n, e, n), clusterData: e.node(n) }));
131
+ ), w.set(n, A(n, e)), c.set(n, { id: D(n, e, n), clusterData: e.node(n) }));
132
132
  }), e.nodes().forEach(function(n) {
133
133
  const s = e.children(n), t = e.edges();
134
134
  s.length > 0 ? (i.debug("Cluster identified", n, w), t.forEach((o) => {
@@ -1 +1 @@
1
- "use strict";const o=require("./extractHeadings-lDHB2sBb.cjs"),g=require("./graph-BgRih2Qv.cjs"),E=require("./map-BvScllSQ.cjs");var k=4;function B(e){return E.baseClone(e,k)}function v(e){var r={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:j(e),edges:L(e)};return g.isUndefined(e.graph())||(r.value=B(e.graph())),r}function j(e){return E.map(e.nodes(),function(r){var n=e.node(r),s=e.parent(r),t={v:r};return g.isUndefined(n)||(t.value=n),g.isUndefined(s)||(t.parent=s),t})}function L(e){return E.map(e.edges(),function(r){var n=e.edge(r),s={v:r.v,w:r.w};return g.isUndefined(r.name)||(s.name=r.name),g.isUndefined(n)||(s.value=n),s})}var a=new Map,d=new Map,y=new Map,p=o.__name(()=>{d.clear(),y.clear(),a.clear()},"clear"),w=o.__name((e,r)=>{const n=d.get(r)||[];return o.log.trace("In isDescendant",r," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),F=o.__name((e,r)=>{const n=d.get(r)||[];return o.log.info("Descendants of ",r," is ",n),o.log.info("Edge is ",e),e.v===r||e.w===r?!1:n?n.includes(e.v)||w(e.v,r)||w(e.w,r)||n.includes(e.w):(o.log.debug("Tilt, ",r,",not in descendants"),!1)},"edgeInCluster"),D=o.__name((e,r,n,s)=>{o.log.warn("Copying children of ",e,"root",s,"data",r.node(e),s);const t=r.children(e)||[];e!==s&&t.push(e),o.log.warn("Copying (nodes) clusterId",e,"nodes",t),t.forEach(i=>{if(r.children(i).length>0)D(i,r,n,s);else{const c=r.node(i);o.log.info("cp ",i," to ",s," with parent ",e),n.setNode(i,c),s!==r.parent(i)&&(o.log.warn("Setting parent",i,r.parent(i)),n.setParent(i,r.parent(i))),e!==s&&i!==e?(o.log.debug("Setting parent",i,e),n.setParent(i,e)):(o.log.info("In copy ",e,"root",s,"data",r.node(e),s),o.log.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==s,"node!==clusterId",i!==e));const u=r.edges(i);o.log.debug("Copying Edges",u),u.forEach(l=>{o.log.info("Edge",l);const f=r.edge(l.v,l.w,l.name);o.log.info("Edge data",f,s);try{if(F(l,s)){const C=d.get(s)||[],b=C.includes(l.v)||w(l.v,s)||l.v===s,_=C.includes(l.w)||w(l.w,s)||l.w===s;if(b&&_)o.log.info("Copying as ",l.v,l.w,f,l.name),n.setEdge(l.v,l.w,f,l.name),o.log.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]));else{const x=b?s:l.v,h=_?s:l.w;o.log.info("Rebinding cross-boundary edge as ",x,h,f,l.name),r.setEdge(x,h,f,l.name)}}else o.log.info("Skipping copy of edge ",l.v,"-->",l.w," rootId: ",s," clusterId:",e)}catch(C){o.log.error(C)}})}o.log.debug("Removing node",i),r.removeNode(i)})},"copy"),S=o.__name((e,r)=>{const n=r.children(e);let s=[...n];for(const t of n)y.set(t,e),s=[...s,...S(t,r)];return s},"extractDescendants"),M=o.__name((e,r,n)=>{const s=e.edges().filter(l=>l.v===r||l.w===r),t=e.edges().filter(l=>l.v===n||l.w===n),i=s.map(l=>({v:l.v===r?n:l.v,w:l.w===r?r:l.w})),c=t.map(l=>({v:l.v,w:l.w}));return i.filter(l=>c.some(f=>l.v===f.v&&l.w===f.w))},"findCommonEdges"),m=o.__name((e,r,n)=>{const s=r.children(e);if(o.log.trace("Searching children of id ",e,s),s.length<1)return e;let t;for(const i of s){const c=m(i,r,n),u=M(r,n,c);if(c)if(u.length>0)t=c;else return c}return t},"findNonClusterChild"),N=o.__name(e=>!a.has(e)||!a.get(e).externalConnections?e:a.has(e)?a.get(e).id:e,"getAnchorId"),R=o.__name((e,r)=>{if(!e||r>10){o.log.debug("Opting out, no graph ");return}else o.log.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(o.log.warn("Cluster identified",n," Replacement id in edges: ",m(n,e,n)),d.set(n,S(n,e)),a.set(n,{id:m(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){const s=e.children(n),t=e.edges();s.length>0?(o.log.debug("Cluster identified",n,d),t.forEach(i=>{const c=w(i.v,n),u=w(i.w,n);c^u&&(o.log.warn("Edge: ",i," leaves cluster ",n),o.log.warn("Descendants of XXX ",n,": ",d.get(n)),a.get(n).externalConnections=!0)})):o.log.debug("Not a cluster ",n,d)});for(let n of a.keys()){const s=a.get(n).id,t=e.parent(s);t!==n&&a.has(t)&&!a.get(t).externalConnections&&(a.get(n).id=t);const i=e.edges().some(c=>c.v===n);if(s&&a.get(n)?.externalConnections&&i&&O(e,s,n)){const c=H(e,n,e.parent(s));c&&(a.get(n).id=c)}}e.edges().forEach(function(n){const s=e.edge(n);o.log.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),o.log.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let t=n.v,i=n.w;if(o.log.warn("Fix XXX",a,"ids:",n.v,n.w,"Translating: ",a.get(n.v)," --- ",a.get(n.w)),a.get(n.v)||a.get(n.w)){if(o.log.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),t=N(n.v),i=N(n.w),e.removeEdge(n.v,n.w,n.name),t!==n.v){const c=e.parent(t);a.get(c).externalConnections=!0,s.fromCluster=n.v}if(i!==n.w){const c=e.parent(i);a.get(c).externalConnections=!0,s.toCluster=n.w}o.log.warn("Fix Replacing with XXX",t,i,n.name),e.setEdge(t,i,s,n.name)}}),o.log.warn("Adjusted Graph",v(e)),X(e,0),o.log.trace(a)},"adjustClustersAndEdges"),X=o.__name((e,r)=>{if(o.log.warn("extractor - ",r,v(e),e.children("D")),r>10){o.log.error("Bailing out");return}let n=e.nodes(),s=!1;for(const t of n){const i=e.children(t);s=s||i.length>0}if(!s){o.log.debug("Done, no node has children",e.nodes());return}o.log.debug("Nodes = ",n,r);for(const t of n)if(o.log.debug("Extracting node",t,a,a.has(t)&&!a.get(t).externalConnections,!e.parent(t),e.node(t),e.children("D")," Depth ",r),!a.has(t))o.log.debug("Not a cluster",t,r);else if(a.get(t)?.clusterData?.explicitDir&&e.children(t)&&e.children(t).length>0){o.log.warn("Cluster with explicit dir, creating subgraph for children",t,r);const i=a.get(t).clusterData.dir,c=new g.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});D(t,e,c,t);const u=e.node(t)||{};e.setNode(t,{...u,clusterNode:!0,id:t,clusterData:a.get(t).clusterData,label:a.get(t).label,graph:c}),o.log.warn("Subgraph for cluster with explicit dir created:",t,v(c))}else if(!a.get(t).externalConnections&&e.children(t)&&e.children(t).length>0){o.log.warn("Cluster without external connections, without a parent and with children",t,r);let c=e.graph().rankdir==="TB"?"LR":"TB";a.get(t)?.clusterData?.dir&&(c=a.get(t).clusterData.dir,o.log.warn("Fixing dir",a.get(t).clusterData.dir,c));const u=new g.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:c,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});D(t,e,u,t);const l=e.node(t)||{};e.setNode(t,{...l,clusterNode:!0,id:t,clusterData:a.get(t).clusterData,label:a.get(t).label,graph:u}),o.log.debug("Old graph after copy",v(e))}else o.log.warn("Cluster ** ",t," **not meeting the criteria !externalConnections:",!a.get(t).externalConnections," no parent: ",!e.parent(t)," children ",e.children(t)&&e.children(t).length>0,e.children("D"),r),o.log.debug(a);n=e.nodes(),o.log.warn("New list of nodes",n);for(const t of n){const i=e.node(t);o.log.warn(" Now next level",t,i),i?.clusterNode&&X(i.graph,r+1)}},"extractor"),A=o.__name((e,r)=>{if(r.length===0)return[];let n=Object.assign([],r);return r.forEach(s=>{const t=e.children(s),i=A(e,t);n=[...n,...i]}),n},"sorter"),U=o.__name(e=>A(e,e.children()),"sortNodesByHierarchy"),O=o.__name((e,r,n)=>{let s=e.parent(r);for(;s&&s!==n;){const t=a.get(s);if(t&&!t.externalConnections)return!0;s=e.parent(s)}return!1},"isNodeInExtractableCluster"),H=o.__name((e,r,n)=>{const s=e.children(r)??[];for(const t of s){if(t===n||w(t,n))continue;const i=m(t,e,r);if(i&&!O(e,i,r))return i}return null},"findSafeAnchorNode");exports.adjustClustersAndEdges=R;exports.clear=p;exports.clusterDb=a;exports.findNonClusterChild=m;exports.sortNodesByHierarchy=U;exports.write=v;
1
+ "use strict";const o=require("./extractHeadings-D1A8WzVy.cjs"),g=require("./graph-BgRih2Qv.cjs"),E=require("./map-BvScllSQ.cjs");var k=4;function B(e){return E.baseClone(e,k)}function v(e){var r={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:j(e),edges:L(e)};return g.isUndefined(e.graph())||(r.value=B(e.graph())),r}function j(e){return E.map(e.nodes(),function(r){var n=e.node(r),s=e.parent(r),t={v:r};return g.isUndefined(n)||(t.value=n),g.isUndefined(s)||(t.parent=s),t})}function L(e){return E.map(e.edges(),function(r){var n=e.edge(r),s={v:r.v,w:r.w};return g.isUndefined(r.name)||(s.name=r.name),g.isUndefined(n)||(s.value=n),s})}var a=new Map,d=new Map,y=new Map,p=o.__name(()=>{d.clear(),y.clear(),a.clear()},"clear"),w=o.__name((e,r)=>{const n=d.get(r)||[];return o.log.trace("In isDescendant",r," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),F=o.__name((e,r)=>{const n=d.get(r)||[];return o.log.info("Descendants of ",r," is ",n),o.log.info("Edge is ",e),e.v===r||e.w===r?!1:n?n.includes(e.v)||w(e.v,r)||w(e.w,r)||n.includes(e.w):(o.log.debug("Tilt, ",r,",not in descendants"),!1)},"edgeInCluster"),D=o.__name((e,r,n,s)=>{o.log.warn("Copying children of ",e,"root",s,"data",r.node(e),s);const t=r.children(e)||[];e!==s&&t.push(e),o.log.warn("Copying (nodes) clusterId",e,"nodes",t),t.forEach(i=>{if(r.children(i).length>0)D(i,r,n,s);else{const c=r.node(i);o.log.info("cp ",i," to ",s," with parent ",e),n.setNode(i,c),s!==r.parent(i)&&(o.log.warn("Setting parent",i,r.parent(i)),n.setParent(i,r.parent(i))),e!==s&&i!==e?(o.log.debug("Setting parent",i,e),n.setParent(i,e)):(o.log.info("In copy ",e,"root",s,"data",r.node(e),s),o.log.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==s,"node!==clusterId",i!==e));const u=r.edges(i);o.log.debug("Copying Edges",u),u.forEach(l=>{o.log.info("Edge",l);const f=r.edge(l.v,l.w,l.name);o.log.info("Edge data",f,s);try{if(F(l,s)){const C=d.get(s)||[],b=C.includes(l.v)||w(l.v,s)||l.v===s,_=C.includes(l.w)||w(l.w,s)||l.w===s;if(b&&_)o.log.info("Copying as ",l.v,l.w,f,l.name),n.setEdge(l.v,l.w,f,l.name),o.log.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]));else{const x=b?s:l.v,h=_?s:l.w;o.log.info("Rebinding cross-boundary edge as ",x,h,f,l.name),r.setEdge(x,h,f,l.name)}}else o.log.info("Skipping copy of edge ",l.v,"-->",l.w," rootId: ",s," clusterId:",e)}catch(C){o.log.error(C)}})}o.log.debug("Removing node",i),r.removeNode(i)})},"copy"),S=o.__name((e,r)=>{const n=r.children(e);let s=[...n];for(const t of n)y.set(t,e),s=[...s,...S(t,r)];return s},"extractDescendants"),M=o.__name((e,r,n)=>{const s=e.edges().filter(l=>l.v===r||l.w===r),t=e.edges().filter(l=>l.v===n||l.w===n),i=s.map(l=>({v:l.v===r?n:l.v,w:l.w===r?r:l.w})),c=t.map(l=>({v:l.v,w:l.w}));return i.filter(l=>c.some(f=>l.v===f.v&&l.w===f.w))},"findCommonEdges"),m=o.__name((e,r,n)=>{const s=r.children(e);if(o.log.trace("Searching children of id ",e,s),s.length<1)return e;let t;for(const i of s){const c=m(i,r,n),u=M(r,n,c);if(c)if(u.length>0)t=c;else return c}return t},"findNonClusterChild"),N=o.__name(e=>!a.has(e)||!a.get(e).externalConnections?e:a.has(e)?a.get(e).id:e,"getAnchorId"),R=o.__name((e,r)=>{if(!e||r>10){o.log.debug("Opting out, no graph ");return}else o.log.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(o.log.warn("Cluster identified",n," Replacement id in edges: ",m(n,e,n)),d.set(n,S(n,e)),a.set(n,{id:m(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){const s=e.children(n),t=e.edges();s.length>0?(o.log.debug("Cluster identified",n,d),t.forEach(i=>{const c=w(i.v,n),u=w(i.w,n);c^u&&(o.log.warn("Edge: ",i," leaves cluster ",n),o.log.warn("Descendants of XXX ",n,": ",d.get(n)),a.get(n).externalConnections=!0)})):o.log.debug("Not a cluster ",n,d)});for(let n of a.keys()){const s=a.get(n).id,t=e.parent(s);t!==n&&a.has(t)&&!a.get(t).externalConnections&&(a.get(n).id=t);const i=e.edges().some(c=>c.v===n);if(s&&a.get(n)?.externalConnections&&i&&O(e,s,n)){const c=H(e,n,e.parent(s));c&&(a.get(n).id=c)}}e.edges().forEach(function(n){const s=e.edge(n);o.log.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),o.log.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let t=n.v,i=n.w;if(o.log.warn("Fix XXX",a,"ids:",n.v,n.w,"Translating: ",a.get(n.v)," --- ",a.get(n.w)),a.get(n.v)||a.get(n.w)){if(o.log.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),t=N(n.v),i=N(n.w),e.removeEdge(n.v,n.w,n.name),t!==n.v){const c=e.parent(t);a.get(c).externalConnections=!0,s.fromCluster=n.v}if(i!==n.w){const c=e.parent(i);a.get(c).externalConnections=!0,s.toCluster=n.w}o.log.warn("Fix Replacing with XXX",t,i,n.name),e.setEdge(t,i,s,n.name)}}),o.log.warn("Adjusted Graph",v(e)),X(e,0),o.log.trace(a)},"adjustClustersAndEdges"),X=o.__name((e,r)=>{if(o.log.warn("extractor - ",r,v(e),e.children("D")),r>10){o.log.error("Bailing out");return}let n=e.nodes(),s=!1;for(const t of n){const i=e.children(t);s=s||i.length>0}if(!s){o.log.debug("Done, no node has children",e.nodes());return}o.log.debug("Nodes = ",n,r);for(const t of n)if(o.log.debug("Extracting node",t,a,a.has(t)&&!a.get(t).externalConnections,!e.parent(t),e.node(t),e.children("D")," Depth ",r),!a.has(t))o.log.debug("Not a cluster",t,r);else if(a.get(t)?.clusterData?.explicitDir&&e.children(t)&&e.children(t).length>0){o.log.warn("Cluster with explicit dir, creating subgraph for children",t,r);const i=a.get(t).clusterData.dir,c=new g.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});D(t,e,c,t);const u=e.node(t)||{};e.setNode(t,{...u,clusterNode:!0,id:t,clusterData:a.get(t).clusterData,label:a.get(t).label,graph:c}),o.log.warn("Subgraph for cluster with explicit dir created:",t,v(c))}else if(!a.get(t).externalConnections&&e.children(t)&&e.children(t).length>0){o.log.warn("Cluster without external connections, without a parent and with children",t,r);let c=e.graph().rankdir==="TB"?"LR":"TB";a.get(t)?.clusterData?.dir&&(c=a.get(t).clusterData.dir,o.log.warn("Fixing dir",a.get(t).clusterData.dir,c));const u=new g.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:c,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});D(t,e,u,t);const l=e.node(t)||{};e.setNode(t,{...l,clusterNode:!0,id:t,clusterData:a.get(t).clusterData,label:a.get(t).label,graph:u}),o.log.debug("Old graph after copy",v(e))}else o.log.warn("Cluster ** ",t," **not meeting the criteria !externalConnections:",!a.get(t).externalConnections," no parent: ",!e.parent(t)," children ",e.children(t)&&e.children(t).length>0,e.children("D"),r),o.log.debug(a);n=e.nodes(),o.log.warn("New list of nodes",n);for(const t of n){const i=e.node(t);o.log.warn(" Now next level",t,i),i?.clusterNode&&X(i.graph,r+1)}},"extractor"),A=o.__name((e,r)=>{if(r.length===0)return[];let n=Object.assign([],r);return r.forEach(s=>{const t=e.children(s),i=A(e,t);n=[...n,...i]}),n},"sorter"),U=o.__name(e=>A(e,e.children()),"sortNodesByHierarchy"),O=o.__name((e,r,n)=>{let s=e.parent(r);for(;s&&s!==n;){const t=a.get(s);if(t&&!t.externalConnections)return!0;s=e.parent(s)}return!1},"isNodeInExtractableCluster"),H=o.__name((e,r,n)=>{const s=e.children(r)??[];for(const t of s){if(t===n||w(t,n))continue;const i=m(t,e,r);if(i&&!O(e,i,r))return i}return null},"findSafeAnchorNode");exports.adjustClustersAndEdges=R;exports.clear=p;exports.clusterDb=a;exports.findNonClusterChild=m;exports.sortNodesByHierarchy=U;exports.write=v;
@@ -1,8 +1,8 @@
1
- import { g as st } from "./chunk-5VM5RSS4-Bfis-x7E.js";
2
- import { g as it } from "./chunk-XXDRQBXY-D2Sgptl-.js";
3
- import { s as at } from "./chunk-VR4S4FIN-B72PxPVm.js";
4
- import { _ as f, $ as we, W as F, aa as nt, ab as rt, ac as Ve, X as Ae, V as ut, U as lt, O as ct, Q as ot, ad as ht, ae as dt, a6 as I, aj as pt, ai as At, a3 as ft, aA as U } from "./extractHeadings-CGJexznE.js";
5
- import { c as gt } from "./chunk-32BRIVSS-BhQJBlVw.js";
1
+ import { g as st } from "./chunk-5VM5RSS4-OANQKmQE.js";
2
+ import { g as it } from "./chunk-XXDRQBXY-Drnpl-KK.js";
3
+ import { s as at } from "./chunk-VR4S4FIN-BGGITgpQ.js";
4
+ import { _ as f, O as we, J as F, a2 as nt, a3 as rt, a4 as Ve, K as Ae, G as ut, A as lt, y as ct, z as ot, a5 as ht, a6 as dt, Y as I, ab as pt, aa as At, V as ft, as as U } from "./extractHeadings-CtiYkq2z.js";
5
+ import { c as gt } from "./chunk-32BRIVSS-94iTIA-u.js";
6
6
  import mt from "dompurify";
7
7
  var Pe = (function() {
8
8
  var s = /* @__PURE__ */ f(function(O, o, h, p) {
@@ -1,4 +1,4 @@
1
- "use strict";const He=require("./chunk-5VM5RSS4-CqDQlS7v.cjs"),Je=require("./chunk-XXDRQBXY-DmoUE7-y.cjs"),Ze=require("./chunk-VR4S4FIN-Cy-2mZJB.cjs"),r=require("./extractHeadings-lDHB2sBb.cjs"),$e=require("./chunk-32BRIVSS-BwDfmprN.cjs"),et=require("dompurify");var xe=(function(){var s=r.__name(function(v,h,d,f){for(d=d||{},f=v.length;f--;d[v[f]]=h);return d},"o"),i=[1,18],a=[1,19],n=[1,20],u=[1,41],o=[1,26],l=[1,42],p=[1,24],g=[1,25],m=[1,32],S=[1,33],de=[1,34],b=[1,45],pe=[1,35],fe=[1,36],Ae=[1,37],me=[1,38],ge=[1,27],Ce=[1,28],be=[1,29],ke=[1,30],Ee=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Te=[1,9],A=[1,8,9],J=[1,58],Z=[1,59],$=[1,60],ee=[1,61],te=[1,62],ye=[1,63],_e=[1,64],F=[1,8,9,41],ve=[1,77],P=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],se=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ie=[13,60,86,100,102,103],G=[13,60,73,74,86,100,102,103],Ie=[13,60,68,69,70,71,72,86,100,102,103],ae=[1,103],U=[1,121],z=[1,117],Y=[1,113],K=[1,119],Q=[1,114],W=[1,115],q=[1,116],X=[1,118],j=[1,120],Oe=[22,50,60,61,82,86,87,88,89,90],we=[1,128],ne=[12,39],De=[1,8,9,39,41,44,46],re=[1,8,9,22],Ve=[1,153],Pe=[1,8,9,61],L=[1,8,9,22,50,60,61,82,86,87,88,89,90],Fe={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:r.__name(function(h,d,f,c,C,e,H){var t=e.length-1;switch(C){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:c.addRelation(e[t]);break;case 20:e[t-1].title=c.cleanupLabel(e[t]),c.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),c.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),c.setAccDescription(this.$);break;case 34:c.addClassesToNamespace(e[t-3],e[t-1][0],e[t-1][1]),c.popNamespace();break;case 35:c.addClassesToNamespace(e[t-4],e[t-1][0],e[t-1][1]),c.popNamespace();break;case 36:this.$=c.addNamespace(e[t]);break;case 37:this.$=c.addNamespace(e[t-1],e[t]);break;case 38:this.$=[[e[t]],[]];break;case 39:this.$=[[e[t-1]],[]];break;case 40:e[t][0].unshift(e[t-2]),this.$=e[t];break;case 41:this.$=[[],[e[t]]];break;case 42:this.$=[[],[e[t-1]]];break;case 43:e[t][1].unshift(e[t-2]),this.$=e[t];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[t];break;case 48:c.setCssClass(e[t-2],e[t]);break;case 49:c.addMembers(e[t-3],e[t-1]);break;case 51:c.setCssClass(e[t-5],e[t-3]),c.addMembers(e[t-5],e[t-1]);break;case 52:c.addAnnotation(e[t-3],e[t-1]);break;case 53:c.addAnnotation(e[t-6],e[t-4]),c.addMembers(e[t-6],e[t-1]);break;case 54:c.addAnnotation(e[t-5],e[t-3]);break;case 55:this.$=e[t],c.addClass(e[t]);break;case 56:this.$=e[t-1],c.addClass(e[t-1]),c.setClassLabel(e[t-1],e[t]);break;case 60:c.addAnnotation(e[t],e[t-2]);break;case 61:case 74:this.$=[e[t]];break;case 62:e[t].push(e[t-1]),this.$=e[t];break;case 63:break;case 64:c.addMember(e[t-1],c.cleanupLabel(e[t]));break;case 65:break;case 66:break;case 67:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 69:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 70:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 71:this.$=c.addNote(e[t],e[t-1]);break;case 72:this.$=c.addNote(e[t]);break;case 73:this.$=e[t-2],c.defineClass(e[t-1],e[t]);break;case 75:this.$=e[t-2].concat([e[t]]);break;case 76:c.setDirection("TB");break;case 77:c.setDirection("BT");break;case 78:c.setDirection("RL");break;case 79:c.setDirection("LR");break;case 80:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 81:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 82:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 84:this.$=c.relationType.AGGREGATION;break;case 85:this.$=c.relationType.EXTENSION;break;case 86:this.$=c.relationType.COMPOSITION;break;case 87:this.$=c.relationType.DEPENDENCY;break;case 88:this.$=c.relationType.LOLLIPOP;break;case 89:this.$=c.lineType.LINE;break;case 90:this.$=c.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[t-2],c.setClickEvent(e[t-1],e[t]);break;case 92:case 98:this.$=e[t-3],c.setClickEvent(e[t-2],e[t-1]),c.setTooltip(e[t-2],e[t]);break;case 93:this.$=e[t-2],c.setLink(e[t-1],e[t]);break;case 94:this.$=e[t-3],c.setLink(e[t-2],e[t-1],e[t]);break;case 95:this.$=e[t-3],c.setLink(e[t-2],e[t-1]),c.setTooltip(e[t-2],e[t]);break;case 96:this.$=e[t-4],c.setLink(e[t-3],e[t-2],e[t]),c.setTooltip(e[t-3],e[t-1]);break;case 99:this.$=e[t-3],c.setClickEvent(e[t-2],e[t-1],e[t]);break;case 100:this.$=e[t-4],c.setClickEvent(e[t-3],e[t-2],e[t-1]),c.setTooltip(e[t-3],e[t]);break;case 101:this.$=e[t-3],c.setLink(e[t-2],e[t]);break;case 102:this.$=e[t-4],c.setLink(e[t-3],e[t-1],e[t]);break;case 103:this.$=e[t-4],c.setLink(e[t-3],e[t-1]),c.setTooltip(e[t-3],e[t]);break;case 104:this.$=e[t-5],c.setLink(e[t-4],e[t-2],e[t]),c.setTooltip(e[t-4],e[t-1]);break;case 105:this.$=e[t-2],c.setCssStyle(e[t-1],e[t]);break;case 106:c.setCssClass(e[t-1],e[t]);break;case 107:this.$=[e[t]];break;case 108:e[t-2].push(e[t]),this.$=e[t-2];break;case 110:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:n,38:22,42:u,43:23,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Te,[2,5],{8:[1,48]}),{8:[1,49]},s(A,[2,19],{22:[1,50]}),s(A,[2,21]),s(A,[2,22]),s(A,[2,23]),s(A,[2,24]),s(A,[2,25]),s(A,[2,26]),s(A,[2,27]),s(A,[2,28]),s(A,[2,29]),s(A,[2,30]),{34:[1,51]},{36:[1,52]},s(A,[2,33]),s(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:J,69:Z,70:$,71:ee,72:te,73:ye,74:_e}),{39:[1,65]},s(F,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),s(A,[2,65]),s(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:ve,55:76},{58:78,60:[1,79]},s(A,[2,76]),s(A,[2,77]),s(A,[2,78]),s(A,[2,79]),s(P,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),s(P,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},s(se,[2,133]),s(se,[2,134]),s(se,[2,135]),s(se,[2,136]),s([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),s(Te,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:n,42:u,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:n,38:22,42:u,43:23,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y},s(A,[2,20]),s(A,[2,31]),s(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:J,69:Z,70:$,71:ee,72:te,73:ye,74:_e},s(A,[2,64]),{67:93,73:ye,74:_e},s(ie,[2,83],{66:94,68:J,69:Z,70:$,71:ee,72:te}),s(G,[2,84]),s(G,[2,85]),s(G,[2,86]),s(G,[2,87]),s(G,[2,88]),s(Ie,[2,89]),s(Ie,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:u,43:23,48:l,54:m,56:S},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ae},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:U,50:z,59:110,60:Y,82:K,84:111,85:112,86:Q,87:W,88:q,89:X,90:j},{60:[1,122]},{13:ve,55:123},s(F,[2,72]),s(F,[2,138]),{22:U,50:z,59:124,60:Y,61:[1,125],82:K,84:111,85:112,86:Q,87:W,88:q,89:X,90:j},s(Oe,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},s(P,[2,16]),s(P,[2,17]),s(P,[2,18]),{11:127,12:we,39:[2,36]},s(ne,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),s(ne,[2,10]),s(De,[2,55],{11:131,12:we}),s(Te,[2,7]),{9:[1,132]},s(re,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},s(ie,[2,82],{66:136,68:J,69:Z,70:$,71:ee,72:te}),s(ie,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:u,43:23,48:l,54:m,56:S},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},s(F,[2,48],{39:[1,142]}),{41:[1,143]},s(F,[2,50]),{41:[2,61],45:144,51:ae},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},s(A,[2,91],{13:[1,147]}),s(A,[2,93],{13:[1,149],77:[1,148]}),s(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},s(A,[2,105],{61:Ve}),s(Pe,[2,107],{85:154,22:U,50:z,60:Y,82:K,86:Q,87:W,88:q,89:X,90:j}),s(L,[2,109]),s(L,[2,111]),s(L,[2,112]),s(L,[2,113]),s(L,[2,114]),s(L,[2,115]),s(L,[2,116]),s(L,[2,117]),s(L,[2,118]),s(L,[2,119]),s(A,[2,106]),s(F,[2,71]),s(A,[2,73],{61:Ve}),{60:[1,155]},s(P,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},s(ne,[2,12]),s(De,[2,56]),{1:[2,4]},s(re,[2,69]),s(re,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},s(ie,[2,80]),s(F,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:u,43:23,48:l,54:m,56:S},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:u,43:23,48:l,54:m,56:S},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:u,43:23,48:l,54:m,56:S},{45:163,51:ae},s(F,[2,49]),{41:[2,62]},s(F,[2,52],{39:[1,164]}),s(A,[2,60]),s(A,[2,92]),s(A,[2,94]),s(A,[2,95],{77:[1,165]}),s(A,[2,98]),s(A,[2,99],{13:[1,166]}),s(A,[2,101],{13:[1,168],77:[1,167]}),{22:U,50:z,60:Y,82:K,84:169,85:112,86:Q,87:W,88:q,89:X,90:j},s(L,[2,110]),s(Oe,[2,75]),{14:[1,170]},s(ne,[2,11]),s(re,[2,70]),s(F,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ae},s(A,[2,96]),s(A,[2,100]),s(A,[2,102]),s(A,[2,103],{77:[1,174]}),s(Pe,[2,108],{85:154,22:U,50:z,60:Y,82:K,86:Q,87:W,88:q,89:X,90:j}),s(De,[2,8]),s(F,[2,51]),{41:[1,175]},s(F,[2,54]),s(A,[2,104]),s(F,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:r.__name(function(h,d){if(d.recoverable)this.trace(h);else{var f=new Error(h);throw f.hash=d,f}},"parseError"),parse:r.__name(function(h){var d=this,f=[0],c=[],C=[null],e=[],H=this.table,t="",le=0,Me=0,We=2,Re=1,qe=e.slice.call(arguments,1),_=Object.create(this.lexer),O={yy:{}};for(var Be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Be)&&(O.yy[Be]=this.yy[Be]);_.setInput(h,O.yy),O.yy.lexer=_,O.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Se=_.yylloc;e.push(Se);var Xe=_.options&&_.options.ranges;typeof O.yy.parseError=="function"?this.parseError=O.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function je(B){f.length=f.length-2*B,C.length=C.length-B,e.length=e.length-B}r.__name(je,"popStack");function Ge(){var B;return B=c.pop()||_.lex()||Re,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=d.symbols_[B]||B),B}r.__name(Ge,"lex");for(var D,w,N,Ne,M={},ce,x,Ue,oe;;){if(w=f[f.length-1],this.defaultActions[w]?N=this.defaultActions[w]:((D===null||typeof D>"u")&&(D=Ge()),N=H[w]&&H[w][D]),typeof N>"u"||!N.length||!N[0]){var Le="";oe=[];for(ce in H[w])this.terminals_[ce]&&ce>We&&oe.push("'"+this.terminals_[ce]+"'");_.showPosition?Le="Parse error on line "+(le+1)+`:
1
+ "use strict";const He=require("./chunk-5VM5RSS4-CKgpuXOS.cjs"),Je=require("./chunk-XXDRQBXY-DOuLpiJ4.cjs"),Ze=require("./chunk-VR4S4FIN-Bc567umS.cjs"),r=require("./extractHeadings-D1A8WzVy.cjs"),$e=require("./chunk-32BRIVSS-XUAL4SUU.cjs"),et=require("dompurify");var xe=(function(){var s=r.__name(function(v,h,d,f){for(d=d||{},f=v.length;f--;d[v[f]]=h);return d},"o"),i=[1,18],a=[1,19],n=[1,20],u=[1,41],o=[1,26],l=[1,42],p=[1,24],g=[1,25],m=[1,32],S=[1,33],de=[1,34],b=[1,45],pe=[1,35],fe=[1,36],Ae=[1,37],me=[1,38],ge=[1,27],Ce=[1,28],be=[1,29],ke=[1,30],Ee=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Te=[1,9],A=[1,8,9],J=[1,58],Z=[1,59],$=[1,60],ee=[1,61],te=[1,62],ye=[1,63],_e=[1,64],F=[1,8,9,41],ve=[1,77],P=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],se=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ie=[13,60,86,100,102,103],G=[13,60,73,74,86,100,102,103],Ie=[13,60,68,69,70,71,72,86,100,102,103],ae=[1,103],U=[1,121],z=[1,117],Y=[1,113],K=[1,119],Q=[1,114],W=[1,115],q=[1,116],X=[1,118],j=[1,120],Oe=[22,50,60,61,82,86,87,88,89,90],we=[1,128],ne=[12,39],De=[1,8,9,39,41,44,46],re=[1,8,9,22],Ve=[1,153],Pe=[1,8,9,61],L=[1,8,9,22,50,60,61,82,86,87,88,89,90],Fe={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:r.__name(function(h,d,f,c,C,e,H){var t=e.length-1;switch(C){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:c.addRelation(e[t]);break;case 20:e[t-1].title=c.cleanupLabel(e[t]),c.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),c.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),c.setAccDescription(this.$);break;case 34:c.addClassesToNamespace(e[t-3],e[t-1][0],e[t-1][1]),c.popNamespace();break;case 35:c.addClassesToNamespace(e[t-4],e[t-1][0],e[t-1][1]),c.popNamespace();break;case 36:this.$=c.addNamespace(e[t]);break;case 37:this.$=c.addNamespace(e[t-1],e[t]);break;case 38:this.$=[[e[t]],[]];break;case 39:this.$=[[e[t-1]],[]];break;case 40:e[t][0].unshift(e[t-2]),this.$=e[t];break;case 41:this.$=[[],[e[t]]];break;case 42:this.$=[[],[e[t-1]]];break;case 43:e[t][1].unshift(e[t-2]),this.$=e[t];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[t];break;case 48:c.setCssClass(e[t-2],e[t]);break;case 49:c.addMembers(e[t-3],e[t-1]);break;case 51:c.setCssClass(e[t-5],e[t-3]),c.addMembers(e[t-5],e[t-1]);break;case 52:c.addAnnotation(e[t-3],e[t-1]);break;case 53:c.addAnnotation(e[t-6],e[t-4]),c.addMembers(e[t-6],e[t-1]);break;case 54:c.addAnnotation(e[t-5],e[t-3]);break;case 55:this.$=e[t],c.addClass(e[t]);break;case 56:this.$=e[t-1],c.addClass(e[t-1]),c.setClassLabel(e[t-1],e[t]);break;case 60:c.addAnnotation(e[t],e[t-2]);break;case 61:case 74:this.$=[e[t]];break;case 62:e[t].push(e[t-1]),this.$=e[t];break;case 63:break;case 64:c.addMember(e[t-1],c.cleanupLabel(e[t]));break;case 65:break;case 66:break;case 67:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 69:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 70:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 71:this.$=c.addNote(e[t],e[t-1]);break;case 72:this.$=c.addNote(e[t]);break;case 73:this.$=e[t-2],c.defineClass(e[t-1],e[t]);break;case 75:this.$=e[t-2].concat([e[t]]);break;case 76:c.setDirection("TB");break;case 77:c.setDirection("BT");break;case 78:c.setDirection("RL");break;case 79:c.setDirection("LR");break;case 80:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 81:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 82:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 84:this.$=c.relationType.AGGREGATION;break;case 85:this.$=c.relationType.EXTENSION;break;case 86:this.$=c.relationType.COMPOSITION;break;case 87:this.$=c.relationType.DEPENDENCY;break;case 88:this.$=c.relationType.LOLLIPOP;break;case 89:this.$=c.lineType.LINE;break;case 90:this.$=c.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[t-2],c.setClickEvent(e[t-1],e[t]);break;case 92:case 98:this.$=e[t-3],c.setClickEvent(e[t-2],e[t-1]),c.setTooltip(e[t-2],e[t]);break;case 93:this.$=e[t-2],c.setLink(e[t-1],e[t]);break;case 94:this.$=e[t-3],c.setLink(e[t-2],e[t-1],e[t]);break;case 95:this.$=e[t-3],c.setLink(e[t-2],e[t-1]),c.setTooltip(e[t-2],e[t]);break;case 96:this.$=e[t-4],c.setLink(e[t-3],e[t-2],e[t]),c.setTooltip(e[t-3],e[t-1]);break;case 99:this.$=e[t-3],c.setClickEvent(e[t-2],e[t-1],e[t]);break;case 100:this.$=e[t-4],c.setClickEvent(e[t-3],e[t-2],e[t-1]),c.setTooltip(e[t-3],e[t]);break;case 101:this.$=e[t-3],c.setLink(e[t-2],e[t]);break;case 102:this.$=e[t-4],c.setLink(e[t-3],e[t-1],e[t]);break;case 103:this.$=e[t-4],c.setLink(e[t-3],e[t-1]),c.setTooltip(e[t-3],e[t]);break;case 104:this.$=e[t-5],c.setLink(e[t-4],e[t-2],e[t]),c.setTooltip(e[t-4],e[t-1]);break;case 105:this.$=e[t-2],c.setCssStyle(e[t-1],e[t]);break;case 106:c.setCssClass(e[t-1],e[t]);break;case 107:this.$=[e[t]];break;case 108:e[t-2].push(e[t]),this.$=e[t-2];break;case 110:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:n,38:22,42:u,43:23,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Te,[2,5],{8:[1,48]}),{8:[1,49]},s(A,[2,19],{22:[1,50]}),s(A,[2,21]),s(A,[2,22]),s(A,[2,23]),s(A,[2,24]),s(A,[2,25]),s(A,[2,26]),s(A,[2,27]),s(A,[2,28]),s(A,[2,29]),s(A,[2,30]),{34:[1,51]},{36:[1,52]},s(A,[2,33]),s(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:J,69:Z,70:$,71:ee,72:te,73:ye,74:_e}),{39:[1,65]},s(F,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),s(A,[2,65]),s(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:ve,55:76},{58:78,60:[1,79]},s(A,[2,76]),s(A,[2,77]),s(A,[2,78]),s(A,[2,79]),s(P,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),s(P,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},s(se,[2,133]),s(se,[2,134]),s(se,[2,135]),s(se,[2,136]),s([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),s(Te,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:n,42:u,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:n,38:22,42:u,43:23,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y},s(A,[2,20]),s(A,[2,31]),s(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:J,69:Z,70:$,71:ee,72:te,73:ye,74:_e},s(A,[2,64]),{67:93,73:ye,74:_e},s(ie,[2,83],{66:94,68:J,69:Z,70:$,71:ee,72:te}),s(G,[2,84]),s(G,[2,85]),s(G,[2,86]),s(G,[2,87]),s(G,[2,88]),s(Ie,[2,89]),s(Ie,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:u,43:23,48:l,54:m,56:S},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ae},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:U,50:z,59:110,60:Y,82:K,84:111,85:112,86:Q,87:W,88:q,89:X,90:j},{60:[1,122]},{13:ve,55:123},s(F,[2,72]),s(F,[2,138]),{22:U,50:z,59:124,60:Y,61:[1,125],82:K,84:111,85:112,86:Q,87:W,88:q,89:X,90:j},s(Oe,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},s(P,[2,16]),s(P,[2,17]),s(P,[2,18]),{11:127,12:we,39:[2,36]},s(ne,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),s(ne,[2,10]),s(De,[2,55],{11:131,12:we}),s(Te,[2,7]),{9:[1,132]},s(re,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},s(ie,[2,82],{66:136,68:J,69:Z,70:$,71:ee,72:te}),s(ie,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:u,43:23,48:l,54:m,56:S},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},s(F,[2,48],{39:[1,142]}),{41:[1,143]},s(F,[2,50]),{41:[2,61],45:144,51:ae},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},s(A,[2,91],{13:[1,147]}),s(A,[2,93],{13:[1,149],77:[1,148]}),s(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},s(A,[2,105],{61:Ve}),s(Pe,[2,107],{85:154,22:U,50:z,60:Y,82:K,86:Q,87:W,88:q,89:X,90:j}),s(L,[2,109]),s(L,[2,111]),s(L,[2,112]),s(L,[2,113]),s(L,[2,114]),s(L,[2,115]),s(L,[2,116]),s(L,[2,117]),s(L,[2,118]),s(L,[2,119]),s(A,[2,106]),s(F,[2,71]),s(A,[2,73],{61:Ve}),{60:[1,155]},s(P,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},s(ne,[2,12]),s(De,[2,56]),{1:[2,4]},s(re,[2,69]),s(re,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},s(ie,[2,80]),s(F,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:u,43:23,48:l,54:m,56:S},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:u,43:23,48:l,54:m,56:S},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:u,43:23,48:l,54:m,56:S},{45:163,51:ae},s(F,[2,49]),{41:[2,62]},s(F,[2,52],{39:[1,164]}),s(A,[2,60]),s(A,[2,92]),s(A,[2,94]),s(A,[2,95],{77:[1,165]}),s(A,[2,98]),s(A,[2,99],{13:[1,166]}),s(A,[2,101],{13:[1,168],77:[1,167]}),{22:U,50:z,60:Y,82:K,84:169,85:112,86:Q,87:W,88:q,89:X,90:j},s(L,[2,110]),s(Oe,[2,75]),{14:[1,170]},s(ne,[2,11]),s(re,[2,70]),s(F,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ae},s(A,[2,96]),s(A,[2,100]),s(A,[2,102]),s(A,[2,103],{77:[1,174]}),s(Pe,[2,108],{85:154,22:U,50:z,60:Y,82:K,86:Q,87:W,88:q,89:X,90:j}),s(De,[2,8]),s(F,[2,51]),{41:[1,175]},s(F,[2,54]),s(A,[2,104]),s(F,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:r.__name(function(h,d){if(d.recoverable)this.trace(h);else{var f=new Error(h);throw f.hash=d,f}},"parseError"),parse:r.__name(function(h){var d=this,f=[0],c=[],C=[null],e=[],H=this.table,t="",le=0,Me=0,We=2,Re=1,qe=e.slice.call(arguments,1),_=Object.create(this.lexer),O={yy:{}};for(var Be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Be)&&(O.yy[Be]=this.yy[Be]);_.setInput(h,O.yy),O.yy.lexer=_,O.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Se=_.yylloc;e.push(Se);var Xe=_.options&&_.options.ranges;typeof O.yy.parseError=="function"?this.parseError=O.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function je(B){f.length=f.length-2*B,C.length=C.length-B,e.length=e.length-B}r.__name(je,"popStack");function Ge(){var B;return B=c.pop()||_.lex()||Re,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=d.symbols_[B]||B),B}r.__name(Ge,"lex");for(var D,w,N,Ne,M={},ce,x,Ue,oe;;){if(w=f[f.length-1],this.defaultActions[w]?N=this.defaultActions[w]:((D===null||typeof D>"u")&&(D=Ge()),N=H[w]&&H[w][D]),typeof N>"u"||!N.length||!N[0]){var Le="";oe=[];for(ce in H[w])this.terminals_[ce]&&ce>We&&oe.push("'"+this.terminals_[ce]+"'");_.showPosition?Le="Parse error on line "+(le+1)+`:
2
2
  `+_.showPosition()+`
3
3
  Expecting `+oe.join(", ")+", got '"+(this.terminals_[D]||D)+"'":Le="Parse error on line "+(le+1)+": Unexpected "+(D==Re?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(Le,{text:_.match,token:this.terminals_[D]||D,line:_.yylineno,loc:Se,expected:oe})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+D);switch(N[0]){case 1:f.push(D),C.push(_.yytext),e.push(_.yylloc),f.push(N[1]),D=null,Me=_.yyleng,t=_.yytext,le=_.yylineno,Se=_.yylloc;break;case 2:if(x=this.productions_[N[1]][1],M.$=C[C.length-x],M._$={first_line:e[e.length-(x||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(x||1)].first_column,last_column:e[e.length-1].last_column},Xe&&(M._$.range=[e[e.length-(x||1)].range[0],e[e.length-1].range[1]]),Ne=this.performAction.apply(M,[t,Me,le,O.yy,N[1],C,e].concat(qe)),typeof Ne<"u")return Ne;x&&(f=f.slice(0,-1*x*2),C=C.slice(0,-1*x),e=e.slice(0,-1*x)),f.push(this.productions_[N[1]][0]),C.push(M.$),e.push(M._$),Ue=H[f[f.length-2]][f[f.length-1]],f.push(Ue);break;case 3:return!0}}return!0},"parse")},Qe=(function(){var v={EOF:1,parseError:r.__name(function(d,f){if(this.yy.parser)this.yy.parser.parseError(d,f);else throw new Error(d)},"parseError"),setInput:r.__name(function(h,d){return this.yy=d||this.yy||{},this._input=h,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r.__name(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var d=h.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:r.__name(function(h){var d=h.length,f=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===c.length?this.yylloc.first_column:0)+c[c.length-f.length].length-f[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:r.__name(function(){return this._more=!0,this},"more"),reject:r.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r.__name(function(h){this.unput(this.match.slice(h))},"less"),pastInput:r.__name(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r.__name(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r.__name(function(){var h=this.pastInput(),d=new Array(h.length+1).join("-");return h+this.upcomingInput()+`
@@ -1,5 +1,5 @@
1
- import { _ as a, a0 as w, $ as x } from "./extractHeadings-CGJexznE.js";
2
- var d = /* @__PURE__ */ a((e, t, i, r) => {
1
+ import { _ as a, Q as w, O as x } from "./extractHeadings-CtiYkq2z.js";
2
+ var g = /* @__PURE__ */ a((e, t, i, r) => {
3
3
  e.attr("class", i);
4
4
  const { width: o, height: h, x: n, y: c } = u(e, t);
5
5
  w(e, h, o, r);
@@ -15,5 +15,5 @@ var d = /* @__PURE__ */ a((e, t, i, r) => {
15
15
  };
16
16
  }, "calculateDimensionsWithPadding"), B = /* @__PURE__ */ a((e, t, i, r, o) => `${e - o} ${t - o} ${i} ${r}`, "createViewBox");
17
17
  export {
18
- d as s
18
+ g as s
19
19
  };
@@ -1 +1 @@
1
- "use strict";const r=require("./extractHeadings-lDHB2sBb.cjs");var u=r.__name((e,t,i,n)=>{e.attr("class",i);const{width:o,height:a,x:h,y:s}=w(e,t);r.configureSvgSize(e,a,o,n);const c=x(h,s,o,a,t);e.attr("viewBox",c),r.log.debug(`viewBox configured: ${c} with padding: ${t}`)},"setupViewPortForSVG"),w=r.__name((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),x=r.__name((e,t,i,n,o)=>`${e-o} ${t-o} ${i} ${n}`,"createViewBox");exports.setupViewPortForSVG=u;
1
+ "use strict";const r=require("./extractHeadings-D1A8WzVy.cjs");var u=r.__name((e,t,i,n)=>{e.attr("class",i);const{width:o,height:a,x:h,y:s}=w(e,t);r.configureSvgSize(e,a,o,n);const c=x(h,s,o,a,t);e.attr("viewBox",c),r.log.debug(`viewBox configured: ${c} with padding: ${t}`)},"setupViewPortForSVG"),w=r.__name((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),x=r.__name((e,t,i,n,o)=>`${e-o} ${t-o} ${i} ${n}`,"createViewBox");exports.setupViewPortForSVG=u;
@@ -1 +1 @@
1
- "use strict";const e=require("./extractHeadings-lDHB2sBb.cjs");var s=e.__name((t,n)=>{let o;return n==="sandbox"&&(o=e.select("#i"+t)),(n==="sandbox"?e.select(o.nodes()[0].contentDocument.body):e.select("body")).select(`[id="${t}"]`)},"getDiagramElement");exports.getDiagramElement=s;
1
+ "use strict";const e=require("./extractHeadings-D1A8WzVy.cjs");var s=e.__name((t,n)=>{let o;return n==="sandbox"&&(o=e.select("#i"+t)),(n==="sandbox"?e.select(o.nodes()[0].contentDocument.body):e.select("body")).select(`[id="${t}"]`)},"getDiagramElement");exports.getDiagramElement=s;
@@ -1,4 +1,4 @@
1
- import { _ as a, X as o } from "./extractHeadings-CGJexznE.js";
1
+ import { _ as a, K as o } from "./extractHeadings-CtiYkq2z.js";
2
2
  var g = /* @__PURE__ */ a((t, e) => {
3
3
  let n;
4
4
  return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`);
@@ -1,5 +1,5 @@
1
- import { s as r, c as s, a as e, C as t } from "./chunk-V7JOEXUC-COa9uddv.js";
2
- import { _ as l } from "./extractHeadings-CGJexznE.js";
1
+ import { s as r, c as s, a as e, C as t } from "./chunk-V7JOEXUC-BNo-X7NC.js";
2
+ import { _ as l } from "./extractHeadings-CtiYkq2z.js";
3
3
  var d = {
4
4
  parser: e,
5
5
  get db() {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-V7JOEXUC-DIQ8n1AN.cjs"),a=require("./extractHeadings-lDHB2sBb.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-V7JOEXUC-DXSQM1ea.cjs"),a=require("./extractHeadings-D1A8WzVy.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
@@ -1,5 +1,5 @@
1
- import { s as r, c as s, a as e, C as t } from "./chunk-V7JOEXUC-COa9uddv.js";
2
- import { _ as l } from "./extractHeadings-CGJexznE.js";
1
+ import { s as r, c as s, a as e, C as t } from "./chunk-V7JOEXUC-BNo-X7NC.js";
2
+ import { _ as l } from "./extractHeadings-CtiYkq2z.js";
3
3
  var d = {
4
4
  parser: e,
5
5
  get db() {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-V7JOEXUC-DIQ8n1AN.cjs"),a=require("./extractHeadings-lDHB2sBb.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-V7JOEXUC-DXSQM1ea.cjs"),a=require("./extractHeadings-D1A8WzVy.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
@@ -1,4 +1,6 @@
1
1
  import { ComponentType, ReactNode } from "react";
2
+ import { MarkdownEmbeds } from "../embeds/linkCards.ts";
3
+ import { MarkdownEmbedLabels } from "./embeds/embedLabels.ts";
2
4
  import { MarkdownLinkAttributes } from "./links.ts";
3
5
  import { MermaidInteractionMode } from "./MermaidDiagram.tsx";
4
6
  import { MarkdownMathDiagnostic } from "./mathRendering.ts";
@@ -18,12 +20,13 @@ type Props = {
18
20
  htmlContent: string;
19
21
  theme?: "light" | "dark";
20
22
  iFrameAllowedDomains?: readonly string[];
21
- allowTwitterWidgetScript?: boolean;
23
+ embeds?: MarkdownEmbeds;
24
+ embedLabels?: MarkdownEmbedLabels;
22
25
  mermaidInteraction?: MermaidInteractionMode;
23
26
  mermaidLabels?: MermaidDiagramLabels;
24
27
  linkComponent?: MarkdownLinkComponent;
25
28
  missingImageLabel?: string;
26
29
  onMathDiagnostics?: (diagnostics: readonly MarkdownMathDiagnostic[]) => void;
27
30
  };
28
- export declare const MarkdownRenderer: ({ htmlContent, theme: _theme, iFrameAllowedDomains, allowTwitterWidgetScript, mermaidInteraction, mermaidLabels, linkComponent: LinkComponent, missingImageLabel, onMathDiagnostics }: Props) => import("react").JSX.Element;
31
+ export declare const MarkdownRenderer: ({ htmlContent, theme, iFrameAllowedDomains, embeds, embedLabels, mermaidInteraction, mermaidLabels, linkComponent: LinkComponent, missingImageLabel, onMathDiagnostics }: Props) => import("react").JSX.Element;
29
32
  export {};
@@ -1,4 +1,5 @@
1
1
  import { MouseEvent, ReactNode } from "react";
2
+ import { MarkdownEmbeds } from "../embeds/linkCards.ts";
2
3
  import { ContentAlign, MarkdownStyleOption } from "../viewer-settings.ts";
3
4
  import { MarkdownLinkComponent } from "./MarkdownRenderer.tsx";
4
5
  import { MarkdownMathDiagnostic } from "./mathRendering.ts";
@@ -61,7 +62,7 @@ export interface MarkdownViewerProps {
61
62
  maxWidth?: string;
62
63
  padding?: number;
63
64
  iFrameAllowedDomains?: readonly string[];
64
- allowTwitterWidgetScript?: boolean;
65
+ embeds?: MarkdownEmbeds;
65
66
  linkComponent?: MarkdownLinkComponent;
66
67
  onHeadingSelect?: MarkdownHeadingSelectHandler;
67
68
  headingHref?: MarkdownHeadingHrefResolver;
@@ -69,4 +70,4 @@ export interface MarkdownViewerProps {
69
70
  emptyMessage?: string;
70
71
  toolbar?: MarkdownToolbarState;
71
72
  }
72
- export declare function MarkdownViewer({ parseResult, content, error, isLoading, labels, theme, style, onStyleChange, availableStyles, align, onAlignChange, showToc, showStyle, showAlign, width, maxWidth, padding, iFrameAllowedDomains, allowTwitterWidgetScript, emptyMessage, toolbar: toolbarProp, linkComponent, onHeadingSelect, headingHref, onMathDiagnostics, }: MarkdownViewerProps): import("react").JSX.Element;
73
+ export declare function MarkdownViewer({ parseResult, content, error, isLoading, labels, theme, style, onStyleChange, availableStyles, align, onAlignChange, showToc, showStyle, showAlign, width, maxWidth, padding, iFrameAllowedDomains, embeds, emptyMessage, toolbar: toolbarProp, linkComponent, onHeadingSelect, headingHref, onMathDiagnostics, }: MarkdownViewerProps): import("react").JSX.Element;
@@ -1,22 +1,18 @@
1
1
  import { RootContent } from "mdast";
2
- import { BlockLinkNode } from "./mdastNodes/BlockLinkNode.tsx";
3
2
  import { FootnoteBackLinkNode } from "./mdastNodes/FootnoteBackLinkNode.tsx";
4
3
  import { HTMLBlockContainer } from "./mdastNodes/HTMLBlockContainerNode.tsx";
5
4
  import { MarkNode } from "./mdastNodes/MarkNode.tsx";
6
5
  import { SubscriptNode } from "./mdastNodes/SubscriptNode.tsx";
7
6
  import { SuperscriptNode } from "./mdastNodes/SuperscriptNode.tsx";
8
- import { TwitterEmbedNode } from "./mdastNodes/TwitterEmbedNode.tsx";
9
- import { YouTubeEmbedNode } from "./mdastNodes/YouTubeEmbedNode.tsx";
10
7
  import { ZennDetailsNode } from "./mdastNodes/ZennDetailsNode.tsx";
11
8
  import { ZennMessageNode } from "./mdastNodes/ZennMessageNode.tsx";
12
9
  type NodePropsNode<T> = T extends (props: infer TProps) => unknown ? (TProps extends {
13
10
  node: infer TNode;
14
11
  } ? TNode : never) : never;
15
- type NodesRendererNode = RootContent | HTMLBlockContainer | NodePropsNode<typeof BlockLinkNode> | NodePropsNode<typeof FootnoteBackLinkNode> | NodePropsNode<typeof MarkNode> | NodePropsNode<typeof SubscriptNode> | NodePropsNode<typeof SuperscriptNode> | NodePropsNode<typeof TwitterEmbedNode> | NodePropsNode<typeof YouTubeEmbedNode> | NodePropsNode<typeof ZennDetailsNode> | NodePropsNode<typeof ZennMessageNode>;
12
+ type NodesRendererNode = RootContent | HTMLBlockContainer | NodePropsNode<typeof FootnoteBackLinkNode> | NodePropsNode<typeof MarkNode> | NodePropsNode<typeof SubscriptNode> | NodePropsNode<typeof SuperscriptNode> | NodePropsNode<typeof ZennDetailsNode> | NodePropsNode<typeof ZennMessageNode>;
16
13
  export declare const NodesRenderer: React.FC<{
17
14
  nodes: NodesRendererNode[];
18
15
  theme?: "light" | "dark";
19
16
  iFrameAllowedDomains?: readonly string[];
20
- allowTwitterWidgetScript?: boolean;
21
17
  }>;
22
18
  export {};
@@ -0,0 +1,13 @@
1
+ import { ReactElement } from "react";
2
+ import { IFrameEmbed } from "../embeds.ts";
3
+ import { ResolvedLabel } from "../labels.ts";
4
+ export declare const primarySubtagOf: (lang: string) => string | null;
5
+ export declare const usePageOrigin: () => string | null;
6
+ export declare const usePageLanguage: () => string | null;
7
+ export interface ClientFrameProps {
8
+ readonly embed: IFrameEmbed;
9
+ readonly label: ResolvedLabel;
10
+ readonly insideAnchor: boolean;
11
+ readonly children: ReactElement;
12
+ }
13
+ export declare const ClientFrame: ({ embed, label, insideAnchor, children }: ClientFrameProps) => ReactElement;
@@ -0,0 +1,20 @@
1
+ import { ReactElement } from "react";
2
+ import { LinkCardMetadata, LinkCardSize, LinkCardSkipReason } from "../../embeds/linkCards.ts";
3
+ export type LinkCardAnswer = {
4
+ readonly kind: "card";
5
+ readonly metadata: LinkCardMetadata;
6
+ } | {
7
+ readonly kind: "skip";
8
+ readonly reason: LinkCardSkipReason;
9
+ } | {
10
+ readonly kind: "error";
11
+ readonly cause: string;
12
+ };
13
+ export declare const linkCardQueue: import("./requestQueue.ts").RequestQueue<LinkCardAnswer>;
14
+ export interface LinkCardProps {
15
+ readonly href: string;
16
+ readonly endpoint: string;
17
+ readonly size: LinkCardSize;
18
+ readonly fallback: ReactElement;
19
+ }
20
+ export declare const LinkCard: ({ href, endpoint, size, fallback }: LinkCardProps) => ReactElement;