@aiquants/markdown 12.2.3 → 13.0.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 (265) hide show
  1. package/README.md +383 -75
  2. package/dist/{abnfDiagram-VRR7QNED-DQ52KUbH.js → abnfDiagram-VRR7QNED-B3Q9attM.js} +9 -9
  3. package/dist/abnfDiagram-VRR7QNED-QW4YM2AY.cjs +1 -0
  4. package/dist/arc-BBLXr5EU.js +83 -0
  5. package/dist/arc-Cn8XXgbN.cjs +1 -0
  6. package/dist/{architectureDiagram-ZJ3FMSHR-Cc9gQRX2.js → architectureDiagram-ZJ3FMSHR-BaSp0hC2.js} +2 -2
  7. package/dist/architectureDiagram-ZJ3FMSHR-BfmjNYww.cjs +36 -0
  8. package/dist/{blockDiagram-677ZJIJ3-DIpIE77y.js → blockDiagram-677ZJIJ3-DFcPQ19k.js} +3 -3
  9. package/dist/{blockDiagram-677ZJIJ3-BCgCtZXM.cjs → blockDiagram-677ZJIJ3-u7d3VCxA.cjs} +1 -1
  10. package/dist/{c4Diagram-LMCZKHZV-jgR25uUP.js → c4Diagram-LMCZKHZV-DW0yo5tR.js} +2 -2
  11. package/dist/{c4Diagram-LMCZKHZV-q0iHoZqg.cjs → c4Diagram-LMCZKHZV-nScsMUE3.cjs} +1 -1
  12. package/dist/{channel-Bw3o-12p.js → channel-B2FBCr9X.js} +1 -1
  13. package/dist/channel-DlkTPSf_.cjs +1 -0
  14. package/dist/{chunk-2Q5K7J3B-0amJDSXB.js → chunk-2Q5K7J3B-BkE4Fsuz.js} +1 -1
  15. package/dist/chunk-2Q5K7J3B-evSha-HP.cjs +1 -0
  16. package/dist/{chunk-32BRIVSS-BMqTi8UH.js → chunk-32BRIVSS-CqpDiZD2.js} +1 -1
  17. package/dist/chunk-32BRIVSS-rIw6tBRO.cjs +1 -0
  18. package/dist/{chunk-5VM5RSS4-C0OtlojA.cjs → chunk-5VM5RSS4-CYVpj2mc.cjs} +1 -1
  19. package/dist/{chunk-5VM5RSS4-EGE3VaH8.js → chunk-5VM5RSS4-DAgNhPcU.js} +1 -1
  20. package/dist/{chunk-EX3LRPZG-4qSuVZkz.cjs → chunk-EX3LRPZG-Ct2cyGh-.cjs} +1 -1
  21. package/dist/{chunk-EX3LRPZG-wasnZ2h7.js → chunk-EX3LRPZG-QFjD28UF.js} +37 -37
  22. package/dist/{chunk-JWPE2WC7-O891tu2Q.js → chunk-JWPE2WC7-Bj2m1SXZ.js} +1 -1
  23. package/dist/chunk-JWPE2WC7-Dgw1ILoe.cjs +1 -0
  24. package/dist/{chunk-MOJQB5TN-BzuZr6pz.js → chunk-MOJQB5TN-B1fdnpCz.js} +121 -121
  25. package/dist/{chunk-MOJQB5TN-BSfpWEVd.cjs → chunk-MOJQB5TN-yjlPYCh4.cjs} +3 -3
  26. package/dist/{chunk-PUDLZKDR-DNbm7Xzd.cjs → chunk-PUDLZKDR-BlQ3qKcC.cjs} +4 -4
  27. package/dist/{chunk-PUDLZKDR-BRL3efwE.js → chunk-PUDLZKDR-CIcw3cpm.js} +16 -16
  28. package/dist/chunk-RYQCIY6F-B-V6UOJy.cjs +1 -0
  29. package/dist/{chunk-RYQCIY6F-DwmsCCiA.js → chunk-RYQCIY6F-DyVk8fNp.js} +1 -1
  30. package/dist/{chunk-V7JOEXUC-BowEdIo-.cjs → chunk-V7JOEXUC-B1EgagKh.cjs} +3 -3
  31. package/dist/{chunk-V7JOEXUC-D0oynREN.js → chunk-V7JOEXUC-C776k7_V.js} +5 -5
  32. package/dist/{chunk-VR4S4FIN-Dg_3SNs1.js → chunk-VR4S4FIN-CyqARa17.js} +3 -3
  33. package/dist/chunk-VR4S4FIN-Sx71KwIQ.cjs +1 -0
  34. package/dist/{chunk-XXDRQBXY-Byo5u3b_.js → chunk-XXDRQBXY-B-99Fbs_.js} +3 -3
  35. package/dist/chunk-XXDRQBXY-BgeRIUG1.cjs +1 -0
  36. package/dist/classDiagram-OUVF2IWQ-BLAiuPPL.cjs +1 -0
  37. package/dist/{classDiagram-v2-EOCWNBFH-CVu4_B8x.js → classDiagram-OUVF2IWQ-DJ0hW16Q.js} +2 -2
  38. package/dist/classDiagram-v2-EOCWNBFH-BLAiuPPL.cjs +1 -0
  39. package/dist/{classDiagram-OUVF2IWQ-CVu4_B8x.js → classDiagram-v2-EOCWNBFH-DJ0hW16Q.js} +2 -2
  40. package/dist/{code-blocks-BWr5Xg1I.js → code-blocks-C6J8rVTc.js} +23 -22
  41. package/dist/{code-blocks-BdKjppKq.cjs → code-blocks-CTESwslp.cjs} +3 -3
  42. package/dist/code-blocks.cjs +1 -1
  43. package/dist/code-blocks.d.ts +1 -0
  44. package/dist/code-blocks.js +15 -14
  45. package/dist/components/CopyButton.d.ts +8 -0
  46. package/dist/components/HostedScrollArea.d.ts +2 -1
  47. package/dist/components/MarkdownRenderer.d.ts +37 -3
  48. package/dist/components/MarkdownViewer.d.ts +15 -4
  49. package/dist/components/MermaidDiagram.d.ts +1 -0
  50. package/dist/components/ReadingPlaceKeeper.d.ts +32 -0
  51. package/dist/components/SelectionKeeper.d.ts +38 -0
  52. package/dist/components/SpreadsheetBlock.d.ts +4 -2
  53. package/dist/components/blockKeys.d.ts +9 -2
  54. package/dist/components/blockOffsets.d.ts +3 -0
  55. package/dist/components/clipboard.d.ts +1 -0
  56. package/dist/components/codeBlockLabels.d.ts +9 -0
  57. package/dist/components/cssLength.d.ts +1 -0
  58. package/dist/components/displayMathLabels.d.ts +11 -0
  59. package/dist/components/embeds/ClientFrame.d.ts +1 -0
  60. package/dist/components/embeds/ProviderEmbed.d.ts +2 -1
  61. package/dist/components/embeds/embedLabels.d.ts +1 -1
  62. package/dist/components/embeds/linkCardFetch.d.ts +2 -0
  63. package/dist/components/embeds.d.ts +5 -0
  64. package/dist/components/headingLevels.d.ts +6 -0
  65. package/dist/components/htmlNodes.d.ts +2 -0
  66. package/dist/components/htmlSanitizer.d.ts +15 -2
  67. package/dist/components/labels.d.ts +3 -2
  68. package/dist/components/links.d.ts +1 -0
  69. package/dist/components/mathRendering.d.ts +3 -1
  70. package/dist/components/mdastNodes/CodeNode.d.ts +5 -1
  71. package/dist/components/mdastNodes/MathNode.d.ts +6 -5
  72. package/dist/components/mermaidLabels.d.ts +5 -0
  73. package/dist/components/mermaidSetup.d.ts +10 -0
  74. package/dist/components/missingImageLabels.d.ts +2 -0
  75. package/dist/components/ownPixels.d.ts +4 -0
  76. package/dist/components/rawHtml.d.ts +7 -3
  77. package/dist/components/spreadsheetModel.d.ts +1 -0
  78. package/dist/components/toolbarOverlap.d.ts +4 -1
  79. package/dist/components/viewerLabels.d.ts +22 -3
  80. package/dist/components/viewerToolbarStyles.d.ts +2 -0
  81. package/dist/contentColors.d.ts +21 -0
  82. package/dist/conversion.d.ts +7 -0
  83. package/dist/converter/NOTICES.md +6 -6
  84. package/dist/converter/createMarkdownConverter.d.ts +1 -0
  85. package/dist/converter/protocol.d.ts +4 -0
  86. package/dist/converter.cjs +1 -1
  87. package/dist/converter.js +89 -71
  88. package/dist/converter.wasm +0 -0
  89. package/dist/{cose-bilkent-JH36ORCC-BmM-AQ-j.js → cose-bilkent-JH36ORCC-CR6Hdvto.js} +1 -1
  90. package/dist/cose-bilkent-JH36ORCC-reAbGeDU.cjs +1 -0
  91. package/dist/cynefinDiagram-TSTJHNR4-2qz-sUtp.cjs +62 -0
  92. package/dist/{cynefinDiagram-TSTJHNR4-iS4n-7T_.js → cynefinDiagram-TSTJHNR4-D1eY-FSf.js} +56 -56
  93. package/dist/dagre-VKFMJZFB-Byr9WPjb.cjs +4 -0
  94. package/dist/{dagre-VKFMJZFB-C1Y6S6Dm.js → dagre-VKFMJZFB-CXSczF8v.js} +25 -25
  95. package/dist/{diagram-FQU43EPY-CRXs7mU1.cjs → diagram-FQU43EPY-2YWng437.cjs} +1 -1
  96. package/dist/{diagram-FQU43EPY-CFG9AlAq.js → diagram-FQU43EPY-BZo0xcaj.js} +35 -35
  97. package/dist/diagram-G47NLZAW-CQS7BN4F.cjs +24 -0
  98. package/dist/{diagram-G47NLZAW-Bqr76Qn5.js → diagram-G47NLZAW-CvJW9ny8.js} +60 -60
  99. package/dist/{diagram-NH7WQ7WH-BDWfQ8xs.js → diagram-NH7WQ7WH-C6VIkj-R.js} +17 -17
  100. package/dist/diagram-NH7WQ7WH-DXUwOBe7.cjs +24 -0
  101. package/dist/{diagram-OA4YK3LP-DuW90Uhk.js → diagram-OA4YK3LP-Co6nMbJc.js} +28 -28
  102. package/dist/{diagram-OA4YK3LP-uBVV8yBB.cjs → diagram-OA4YK3LP-DBUm2qxb.cjs} +3 -3
  103. package/dist/{diagram-WEI45ONY-Cd3qe8Wi.js → diagram-WEI45ONY-BaMbc5o2.js} +59 -59
  104. package/dist/diagram-WEI45ONY-ChpK2gP3.cjs +41 -0
  105. package/dist/ebnfDiagram-CCIWWBDH-DMIRHp8N.cjs +1 -0
  106. package/dist/{ebnfDiagram-CCIWWBDH-CMmTdVTT.js → ebnfDiagram-CCIWWBDH-i7CR-FU0.js} +3 -3
  107. package/dist/embeds/frames.d.ts +4 -0
  108. package/dist/embeds/linkCards.d.ts +3 -1
  109. package/dist/embeds/providers.d.ts +1 -0
  110. package/dist/embeds/testing.cjs +1 -1
  111. package/dist/embeds/testing.js +1 -1
  112. package/dist/embeds-B4g6w7Tf.cjs +1 -0
  113. package/dist/embeds-Dra-dGKD.js +64 -0
  114. package/dist/embeds.cjs +1 -1
  115. package/dist/embeds.d.ts +2 -2
  116. package/dist/embeds.js +31 -70
  117. package/dist/{erDiagram-Q63AITRT-tOZoI25O.js → erDiagram-Q63AITRT-DC-HhdaO.js} +68 -68
  118. package/dist/{erDiagram-Q63AITRT-ONnVKrzr.cjs → erDiagram-Q63AITRT-DjRvJyWK.cjs} +1 -1
  119. package/dist/errors-BWZJx2MD.cjs +1 -0
  120. package/dist/errors-CapTNE7l.js +62 -0
  121. package/dist/errors.d.ts +2 -2
  122. package/dist/extractHeadings-BAhmauKo.js +5296 -0
  123. package/dist/extractHeadings-qiJXegCx.cjs +11 -0
  124. package/dist/flowDiagram-23GEKE2U-CiNzp6BS.js +7 -0
  125. package/dist/flowDiagram-23GEKE2U-DzZNPkRJ.cjs +1 -0
  126. package/dist/{ganttDiagram-NO4QXBWP-C23vm5cK.js → ganttDiagram-NO4QXBWP-BwbtaPxc.js} +69 -69
  127. package/dist/ganttDiagram-NO4QXBWP-CJv5UQ4O.cjs +292 -0
  128. package/dist/gen/markdown/v1/linkcard_connect.d.ts +19 -0
  129. package/dist/gen/markdown/v1/linkcard_pb.d.ts +87 -0
  130. package/dist/gen/markdown/v1/markdown_pb.d.ts +4 -0
  131. package/dist/{gitGraphDiagram-IHSO6WYX-BXWses91.js → gitGraphDiagram-IHSO6WYX--yebcp4V.js} +21 -21
  132. package/dist/gitGraphDiagram-IHSO6WYX-dSwtW7X6.cjs +106 -0
  133. package/dist/index.cjs +1 -1
  134. package/dist/index.client.cjs +1 -1
  135. package/dist/index.client.d.ts +5 -3
  136. package/dist/index.client.js +56 -48
  137. package/dist/index.js +56 -48
  138. package/dist/index.server.cjs +1 -1
  139. package/dist/index.server.d.ts +2 -1
  140. package/dist/index.server.js +126 -873
  141. package/dist/{infoDiagram-FWYZ7A6U-C4NsbHAN.js → infoDiagram-FWYZ7A6U-B4AiTiqD.js} +9 -9
  142. package/dist/infoDiagram-FWYZ7A6U-BOj0VF20.cjs +2 -0
  143. package/dist/{ishikawaDiagram-FXEZZL3T-B2bMsFnl.js → ishikawaDiagram-FXEZZL3T-BsYs_qnQ.js} +59 -59
  144. package/dist/{ishikawaDiagram-FXEZZL3T-Cjqwv-T2.cjs → ishikawaDiagram-FXEZZL3T-CisV4kPO.cjs} +1 -1
  145. package/dist/{journeyDiagram-5HDEW3XC-DfRiiYRf.cjs → journeyDiagram-5HDEW3XC-BAvgWwpr.cjs} +1 -1
  146. package/dist/{journeyDiagram-5HDEW3XC-DO1Xx-OE.js → journeyDiagram-5HDEW3XC-DbDo-dqu.js} +32 -32
  147. package/dist/{kanban-definition-HUTT4EX6-RfpoaM17.js → kanban-definition-HUTT4EX6-BlPZISwH.js} +97 -97
  148. package/dist/{kanban-definition-HUTT4EX6-Cu_E-BJj.cjs → kanban-definition-HUTT4EX6-RjzOWas9.cjs} +2 -2
  149. package/dist/{linear-BbWOUIQi.js → linear-BXWX8YXI.js} +31 -31
  150. package/dist/linear-CKPQExK8.cjs +1 -0
  151. package/dist/linkCardServer/linkCardCore.d.ts +10 -0
  152. package/dist/linkCardServer/linkCardHandler.server.d.ts +1 -6
  153. package/dist/linkCardServer/pageFetchPort.d.ts +19 -0
  154. package/dist/linkCardServer/{pageMetadata.server.d.ts → pageMetadata.d.ts} +11 -3
  155. package/dist/linkCards-BikpIncf.cjs +1 -0
  156. package/dist/linkCards-DfSLqLPF.js +50 -0
  157. package/dist/linkCards.cjs +1 -0
  158. package/dist/linkCards.d.ts +2 -0
  159. package/dist/linkCards.js +5 -0
  160. package/dist/markdownServiceClient-C47z3Ynu.cjs +1 -0
  161. package/dist/markdownServiceClient-uDeklhtG.js +480 -0
  162. package/dist/markdownServiceClient.d.ts +20 -0
  163. package/dist/mermaid.core-C4EClWgB.js +15595 -0
  164. package/dist/mermaid.core-CRP55Hm1.cjs +305 -0
  165. package/dist/mermaidFrame/NOTICES.md +1345 -0
  166. package/dist/mermaidFrame/cssCleaner.d.ts +13 -0
  167. package/dist/mermaidFrame/drawer.d.ts +34 -0
  168. package/dist/mermaidFrame/frame.d.ts +1 -0
  169. package/dist/mermaidFrame/frame.js +3307 -0
  170. package/dist/mermaidFrame/katexInert.d.ts +4 -0
  171. package/dist/mermaidFrame/protocol.d.ts +38 -0
  172. package/dist/mermaidFrame/serve.d.ts +14 -0
  173. package/dist/mermaidFrame/svgCleaner.d.ts +4 -0
  174. package/dist/{mindmap-definition-LN4V7U3C-B5LpvJ9m.js → mindmap-definition-LN4V7U3C-BEWpoMMG.js} +79 -79
  175. package/dist/{mindmap-definition-LN4V7U3C-CB606E3L.cjs → mindmap-definition-LN4V7U3C-DnbSfqWP.cjs} +3 -3
  176. package/dist/pageFetchPort-2H18xcdi.cjs +1 -0
  177. package/dist/pageFetchPort-DVpXsKCz.js +624 -0
  178. package/dist/{pegDiagram-2B236MQR-DaosueJV.js → pegDiagram-2B236MQR-BF7gLiB-.js} +3 -3
  179. package/dist/pegDiagram-2B236MQR-BJysMObA.cjs +1 -0
  180. package/dist/{pieDiagram-ENE6RG2P-wfsOfWyT.js → pieDiagram-ENE6RG2P-D_YzC3qc.js} +50 -50
  181. package/dist/{pieDiagram-ENE6RG2P-BUY2Dvjo.cjs → pieDiagram-ENE6RG2P-UMpeIUyV.cjs} +2 -2
  182. package/dist/{providers-BwQK7hZa.js → providers-CSvkTZsr.js} +17 -2
  183. package/dist/{providers-DO2t7ks4.cjs → providers-Cx0FuVQU.cjs} +1 -1
  184. package/dist/{quadrantDiagram-ABIIQ3AL-BSvHqsTp.cjs → quadrantDiagram-ABIIQ3AL-DANY0ipQ.cjs} +1 -1
  185. package/dist/{quadrantDiagram-ABIIQ3AL-Bgc3vspL.js → quadrantDiagram-ABIIQ3AL-DDm-r_6D.js} +59 -59
  186. package/dist/railroadDiagram-RFXS5EU6-CDUd4th1.cjs +1 -0
  187. package/dist/{railroadDiagram-RFXS5EU6-Du2CFU9M.js → railroadDiagram-RFXS5EU6-hJ6uB90G.js} +3 -3
  188. package/dist/remarkProcessor.server.d.ts +2 -0
  189. package/dist/{requirementDiagram-TGXJPOKE-CnafqSUP.js → requirementDiagram-TGXJPOKE-BJef5Jb0.js} +15 -15
  190. package/dist/{requirementDiagram-TGXJPOKE-WM3sItRw.cjs → requirementDiagram-TGXJPOKE-DaoCo7go.cjs} +1 -1
  191. package/dist/{sankeyDiagram-HTMAVEWB-D4Qv4d98.js → sankeyDiagram-HTMAVEWB-BZQs0bE-.js} +41 -41
  192. package/dist/{sankeyDiagram-HTMAVEWB-DaZN3ZDb.cjs → sankeyDiagram-HTMAVEWB-DXiv0YOu.cjs} +3 -3
  193. package/dist/{sequenceDiagram-DBY2YBRQ-C6fa7Axs.cjs → sequenceDiagram-DBY2YBRQ-CJGpsnsv.cjs} +1 -1
  194. package/dist/{sequenceDiagram-DBY2YBRQ-CmP6XGGE.js → sequenceDiagram-DBY2YBRQ-D05U2w26.js} +46 -46
  195. package/dist/serviceClient.cjs +1 -0
  196. package/dist/serviceClient.d.ts +3 -0
  197. package/dist/serviceClient.js +9 -0
  198. package/dist/{sizeCapture-X5ZJPWSS-mWZkTwA5.js → sizeCapture-X5ZJPWSS-DTr0Vm61.js} +1 -1
  199. package/dist/sizeCapture-X5ZJPWSS-DjuH1zNP.cjs +1 -0
  200. package/dist/{stateDiagram-2N3HPSRC-ClDZKhLD.js → stateDiagram-2N3HPSRC-B8nvJKpB.js} +13 -13
  201. package/dist/stateDiagram-2N3HPSRC-BrB47FD-.cjs +1 -0
  202. package/dist/stateDiagram-v2-6OUMAXLB-CC8gOGDK.cjs +1 -0
  203. package/dist/{stateDiagram-v2-6OUMAXLB-K7slPgH_.js → stateDiagram-v2-6OUMAXLB-CV-JqAeP.js} +2 -2
  204. package/dist/styles/markdown.css +1 -1
  205. package/dist/styles/markdown.standalone.css +1 -1
  206. package/dist/{swimlanes-5IMT3BWC-Cpowlk7O.js → swimlanes-5IMT3BWC-BPtufzUd.js} +3 -3
  207. package/dist/swimlanes-5IMT3BWC-WAbDPRgt.cjs +1 -0
  208. package/dist/{swimlanesDiagram-G3AALYLV-36K4ynZn.js → swimlanesDiagram-G3AALYLV-BQKEmJFX.js} +2 -2
  209. package/dist/{swimlanesDiagram-G3AALYLV-BZ0eguZa.cjs → swimlanesDiagram-G3AALYLV-BTwwtLZL.cjs} +1 -1
  210. package/dist/{timeline-definition-FHXFAJF6-C2xHtlkw.js → timeline-definition-FHXFAJF6-DJ6GV7Fz.js} +53 -53
  211. package/dist/{timeline-definition-FHXFAJF6-BJN69nkZ.cjs → timeline-definition-FHXFAJF6-qdkrah7t.cjs} +1 -1
  212. package/dist/utils/promiseTry.d.ts +1 -0
  213. package/dist/vennDiagram-L72KCM5P-B5onSWPA.cjs +34 -0
  214. package/dist/{vennDiagram-L72KCM5P-DbqRaWm5.js → vennDiagram-L72KCM5P-DWnnndTj.js} +176 -176
  215. package/dist/viewer-settings.cjs +1 -1
  216. package/dist/viewer-settings.d.ts +8 -0
  217. package/dist/viewer-settings.js +11 -5
  218. package/dist/{wardleyDiagram-EHGQE667-CF5I0pM9.js → wardleyDiagram-EHGQE667-DFmDgQSb.js} +34 -34
  219. package/dist/{wardleyDiagram-EHGQE667-CyU76ilz.cjs → wardleyDiagram-EHGQE667-DdeBbvVM.cjs} +2 -2
  220. package/dist/{xychartDiagram-FW5EYKEG-DaKE_uIg.cjs → xychartDiagram-FW5EYKEG-CiJQMClv.cjs} +1 -1
  221. package/dist/{xychartDiagram-FW5EYKEG-spkx-w6w.js → xychartDiagram-FW5EYKEG-L2Kj4cZA.js} +56 -56
  222. package/package.json +32 -17
  223. package/dist/abnfDiagram-VRR7QNED-1fn6qV_P.cjs +0 -1
  224. package/dist/arc-D8xGHwLe.cjs +0 -1
  225. package/dist/arc-D9kg3f8-.js +0 -83
  226. package/dist/architectureDiagram-ZJ3FMSHR-C4QxQA-o.cjs +0 -36
  227. package/dist/channel-DuWQwUVP.cjs +0 -1
  228. package/dist/chunk-2Q5K7J3B-gCP3NILS.cjs +0 -1
  229. package/dist/chunk-32BRIVSS-PidRQo43.cjs +0 -1
  230. package/dist/chunk-JWPE2WC7-CHK_g5p5.cjs +0 -1
  231. package/dist/chunk-RYQCIY6F-B_33Thwg.cjs +0 -1
  232. package/dist/chunk-VR4S4FIN-Ca3mlCgX.cjs +0 -1
  233. package/dist/chunk-XXDRQBXY-CeZMmeIi.cjs +0 -1
  234. package/dist/classDiagram-OUVF2IWQ-DPzttpgE.cjs +0 -1
  235. package/dist/classDiagram-v2-EOCWNBFH-DPzttpgE.cjs +0 -1
  236. package/dist/cose-bilkent-JH36ORCC-C3UAMvQQ.cjs +0 -1
  237. package/dist/cynefinDiagram-TSTJHNR4-DStGofoE.cjs +0 -62
  238. package/dist/dagre-VKFMJZFB-BXsQ5-Ek.cjs +0 -4
  239. package/dist/diagram-G47NLZAW-BaX-jrfs.cjs +0 -24
  240. package/dist/diagram-NH7WQ7WH-Cczq2y99.cjs +0 -24
  241. package/dist/diagram-WEI45ONY-C_L-4kui.cjs +0 -41
  242. package/dist/ebnfDiagram-CCIWWBDH-Cg7DTSlM.cjs +0 -1
  243. package/dist/errors-BW5JXRoX.cjs +0 -1
  244. package/dist/errors-Blk_XJ9C.js +0 -55
  245. package/dist/extractHeadings-3qWVTkb9.js +0 -20290
  246. package/dist/extractHeadings-DpvwXCio.cjs +0 -315
  247. package/dist/flowDiagram-23GEKE2U-DfDAl_qd.cjs +0 -1
  248. package/dist/flowDiagram-23GEKE2U-p6ccACf3.js +0 -7
  249. package/dist/ganttDiagram-NO4QXBWP-CHP_muri.cjs +0 -292
  250. package/dist/gitGraphDiagram-IHSO6WYX-DOH3WBNZ.cjs +0 -106
  251. package/dist/infoDiagram-FWYZ7A6U-Bj2fnr5Y.cjs +0 -2
  252. package/dist/linear-Cz3x9Lkl.cjs +0 -1
  253. package/dist/linkCardServer/addressGuard.server.d.ts +0 -25
  254. package/dist/linkCardServer/pageFetch.server.d.ts +0 -37
  255. package/dist/linkCards-1JxY8wdm.js +0 -48
  256. package/dist/linkCards-Bjd_vW39.cjs +0 -1
  257. package/dist/pegDiagram-2B236MQR-BCqBc3Re.cjs +0 -1
  258. package/dist/railroadDiagram-RFXS5EU6-DdF2c_n3.cjs +0 -1
  259. package/dist/sizeCapture-X5ZJPWSS-B6sRQba9.cjs +0 -1
  260. package/dist/stateDiagram-2N3HPSRC-B__29zPZ.cjs +0 -1
  261. package/dist/stateDiagram-v2-6OUMAXLB-BA-_ovVY.cjs +0 -1
  262. package/dist/swimlanes-5IMT3BWC-BhxZhB7M.cjs +0 -1
  263. package/dist/vennDiagram-L72KCM5P-3R1vuMWd.cjs +0 -34
  264. /package/dist/linkCardServer/{htmlEncoding.server.d.ts → htmlEncoding.d.ts} +0 -0
  265. /package/dist/linkCardServer/{metadataCache.server.d.ts → metadataCache.d.ts} +0 -0
@@ -1,23 +1,23 @@
1
- import { _ as e, U as s, an as o, V as i } from "./extractHeadings-3qWVTkb9.js";
1
+ import { _ as a, l as s, I as o, e as i } from "./mermaid.core-C4EClWgB.js";
2
2
  import { p as g } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
3
3
  var p = {
4
- parse: /* @__PURE__ */ e(async (r) => {
5
- const a = await g("info", r);
6
- s.debug(a);
4
+ parse: /* @__PURE__ */ a(async (r) => {
5
+ const e = await g("info", r);
6
+ s.debug(e);
7
7
  }, "parse")
8
8
  }, v = {
9
9
  version: "11.16.0"
10
- }, d = /* @__PURE__ */ e(() => v.version, "getVersion"), m = {
10
+ }, d = /* @__PURE__ */ a(() => v.version, "getVersion"), m = {
11
11
  getVersion: d
12
- }, c = /* @__PURE__ */ e((r, a, n) => {
12
+ }, c = /* @__PURE__ */ a((r, e, n) => {
13
13
  s.debug(`rendering info diagram
14
14
  ` + r);
15
- const t = o(a);
15
+ const t = o(e);
16
16
  i(t, 100, 400, !0), t.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${n}`);
17
- }, "draw"), f = { draw: c }, _ = {
17
+ }, "draw"), l = { draw: c }, _ = {
18
18
  parser: p,
19
19
  db: m,
20
- renderer: f
20
+ renderer: l
21
21
  };
22
22
  export {
23
23
  _ as diagram
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid.core-CRP55Hm1.cjs"),o=require("./cynefin-VYW2F7L2-MpAliYy9.cjs");var s={parse:e.__name(async r=>{const a=await o.parse("info",r);e.log.debug(a)},"parse")},i={version:"11.16.0"},g=e.__name(()=>i.version,"getVersion"),d={getVersion:g},v=e.__name((r,a,n)=>{e.log.debug(`rendering info diagram
2
+ `+r);const t=e.selectSvgElement(a);e.configureSvgSize(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)},"draw"),c={draw:v},m={parser:s,db:d,renderer:c};exports.diagram=m;
@@ -1,4 +1,4 @@
1
- import { _ as o, Q as ot, ar as ut, an as dt, b0 as yt, ae as ft, a1 as pt, a8 as it, K as gt, O as kt, J as mt, G as wt, a9 as _t, V as bt } from "./extractHeadings-3qWVTkb9.js";
1
+ import { _ as o, c as ot, N as ut, I as dt, an as yt, z as ft, k as pt, q as it, a as gt, b as kt, g as mt, s as wt, t as _t, e as bt } from "./mermaid.core-C4EClWgB.js";
2
2
  var J = (function() {
3
3
  var e = /* @__PURE__ */ o(function(T, t, s, i) {
4
4
  for (s = s || {}, i = T.length; i--; s[T[i]] = t) ;
@@ -35,32 +35,32 @@ var J = (function() {
35
35
  }
36
36
  }, "parseError"),
37
37
  parse: /* @__PURE__ */ o(function(t) {
38
- var s = this, i = [0], c = [], p = [null], n = [], v = this.table, w = "", I = 0, $ = 0, L = 2, A = 1, V = n.slice.call(arguments, 1), b = Object.create(this.lexer), S = { yy: {} };
39
- for (var P in this.yy)
40
- Object.prototype.hasOwnProperty.call(this.yy, P) && (S.yy[P] = this.yy[P]);
38
+ var s = this, i = [0], c = [], p = [null], n = [], v = this.table, w = "", I = 0, $ = 0, L = 2, A = 1, C = n.slice.call(arguments, 1), b = Object.create(this.lexer), S = { yy: {} };
39
+ for (var N in this.yy)
40
+ Object.prototype.hasOwnProperty.call(this.yy, N) && (S.yy[N] = this.yy[N]);
41
41
  b.setInput(t, S.yy), S.yy.lexer = b, S.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
42
42
  var R = b.yylloc;
43
43
  n.push(R);
44
44
  var G = b.options && b.options.ranges;
45
45
  typeof S.yy.parseError == "function" ? this.parseError = S.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
46
- function X(B) {
47
- i.length = i.length - 2 * B, p.length = p.length - B, n.length = n.length - B;
46
+ function Y(P) {
47
+ i.length = i.length - 2 * P, p.length = p.length - P, n.length = n.length - P;
48
48
  }
49
- o(X, "popStack");
49
+ o(Y, "popStack");
50
50
  function tt() {
51
- var B;
52
- return B = c.pop() || b.lex() || A, typeof B != "number" && (B instanceof Array && (c = B, B = c.pop()), B = s.symbols_[B] || B), B;
51
+ var P;
52
+ return P = c.pop() || b.lex() || A, typeof P != "number" && (P instanceof Array && (c = P, P = c.pop()), P = s.symbols_[P] || P), P;
53
53
  }
54
54
  o(tt, "lex");
55
- for (var M, W, N, Y, F = {}, U, C, et, Z; ; ) {
56
- if (W = i[i.length - 1], this.defaultActions[W] ? N = this.defaultActions[W] : ((M === null || typeof M > "u") && (M = tt()), N = v[W] && v[W][M]), typeof N > "u" || !N.length || !N[0]) {
57
- var Q = "";
55
+ for (var M, W, B, q, z = {}, U, V, et, Z; ; ) {
56
+ if (W = i[i.length - 1], this.defaultActions[W] ? B = this.defaultActions[W] : ((M === null || typeof M > "u") && (M = tt()), B = v[W] && v[W][M]), typeof B > "u" || !B.length || !B[0]) {
57
+ var K = "";
58
58
  Z = [];
59
59
  for (U in v[W])
60
60
  this.terminals_[U] && U > L && Z.push("'" + this.terminals_[U] + "'");
61
- b.showPosition ? Q = "Parse error on line " + (I + 1) + `:
61
+ b.showPosition ? K = "Parse error on line " + (I + 1) + `:
62
62
  ` + b.showPosition() + `
63
- Expecting ` + Z.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Q = "Parse error on line " + (I + 1) + ": Unexpected " + (M == A ? "end of input" : "'" + (this.terminals_[M] || M) + "'"), this.parseError(Q, {
63
+ Expecting ` + Z.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : K = "Parse error on line " + (I + 1) + ": Unexpected " + (M == A ? "end of input" : "'" + (this.terminals_[M] || M) + "'"), this.parseError(K, {
64
64
  text: b.match,
65
65
  token: this.terminals_[M] || M,
66
66
  line: b.yylineno,
@@ -68,32 +68,32 @@ Expecting ` + Z.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Q = "
68
68
  expected: Z
69
69
  });
70
70
  }
71
- if (N[0] instanceof Array && N.length > 1)
71
+ if (B[0] instanceof Array && B.length > 1)
72
72
  throw new Error("Parse Error: multiple actions possible at state: " + W + ", token: " + M);
73
- switch (N[0]) {
73
+ switch (B[0]) {
74
74
  case 1:
75
- i.push(M), p.push(b.yytext), n.push(b.yylloc), i.push(N[1]), M = null, $ = b.yyleng, w = b.yytext, I = b.yylineno, R = b.yylloc;
75
+ i.push(M), p.push(b.yytext), n.push(b.yylloc), i.push(B[1]), M = null, $ = b.yyleng, w = b.yytext, I = b.yylineno, R = b.yylloc;
76
76
  break;
77
77
  case 2:
78
- if (C = this.productions_[N[1]][1], F.$ = p[p.length - C], F._$ = {
79
- first_line: n[n.length - (C || 1)].first_line,
78
+ if (V = this.productions_[B[1]][1], z.$ = p[p.length - V], z._$ = {
79
+ first_line: n[n.length - (V || 1)].first_line,
80
80
  last_line: n[n.length - 1].last_line,
81
- first_column: n[n.length - (C || 1)].first_column,
81
+ first_column: n[n.length - (V || 1)].first_column,
82
82
  last_column: n[n.length - 1].last_column
83
- }, G && (F._$.range = [
84
- n[n.length - (C || 1)].range[0],
83
+ }, G && (z._$.range = [
84
+ n[n.length - (V || 1)].range[0],
85
85
  n[n.length - 1].range[1]
86
- ]), Y = this.performAction.apply(F, [
86
+ ]), q = this.performAction.apply(z, [
87
87
  w,
88
88
  $,
89
89
  I,
90
90
  S.yy,
91
- N[1],
91
+ B[1],
92
92
  p,
93
93
  n
94
- ].concat(V)), typeof Y < "u")
95
- return Y;
96
- C && (i = i.slice(0, -1 * C * 2), p = p.slice(0, -1 * C), n = n.slice(0, -1 * C)), i.push(this.productions_[N[1]][0]), p.push(F.$), n.push(F._$), et = v[i[i.length - 2]][i[i.length - 1]], i.push(et);
94
+ ].concat(C)), typeof q < "u")
95
+ return q;
96
+ V && (i = i.slice(0, -1 * V * 2), p = p.slice(0, -1 * V), n = n.slice(0, -1 * V)), i.push(this.productions_[B[1]][0]), p.push(z.$), n.push(z._$), et = v[i[i.length - 2]][i[i.length - 1]], i.push(et);
97
97
  break;
98
98
  case 3:
99
99
  return !0;
@@ -344,7 +344,7 @@ var xt = J, H, vt = (H = class {
344
344
  setDiagramTitle(h) {
345
345
  it(h);
346
346
  }
347
- }, o(H, "IshikawaDB"), H), St = 14, j = 250, $t = 30, Et = 60, At = 5, ht = 82 * Math.PI / 180, st = Math.cos(ht), nt = Math.sin(ht), at = /* @__PURE__ */ o((e, h, r) => {
347
+ }, o(H, "IshikawaDB"), H), St = 14, F = 250, $t = 30, Et = 60, At = 5, ht = 82 * Math.PI / 180, st = Math.cos(ht), nt = Math.sin(ht), at = /* @__PURE__ */ o((e, h, r) => {
348
348
  const a = e.node().getBBox(), l = a.width + h * 2, y = a.height + h * 2;
349
349
  bt(e, y, l, r), e.attr("viewBox", `${a.x - h} ${a.y - h} ${l} ${y}`);
350
350
  }, "applyPaddedViewBox"), It = /* @__PURE__ */ o((e, h, r, a) => {
@@ -358,33 +358,33 @@ var xt = J, H, vt = (H = class {
358
358
  fillColor: u?.mainBkg ?? "#fff"
359
359
  } : void 0, s = `ishikawa-arrow-${h}`;
360
360
  g || E.append("defs").append("marker").attr("id", s).attr("viewBox", "0 0 10 10").attr("refX", 0).attr("refY", 5).attr("markerWidth", 6).attr("markerHeight", 6).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 Z").attr("class", "ishikawa-arrow");
361
- let i = 0, c = j;
362
- const p = g ? void 0 : z(E, i, c, i, c, "ishikawa-spine");
361
+ let i = 0, c = F;
362
+ const p = g ? void 0 : j(E, i, c, i, c, "ishikawa-spine");
363
363
  if (Lt(E, i, c, y.text, k, t), !_.length) {
364
- g && z(E, i, c, i, c, "ishikawa-spine", t), at(O, x, D);
364
+ g && j(E, i, c, i, c, "ishikawa-spine", t), at(O, x, D);
365
365
  return;
366
366
  }
367
367
  i -= 20;
368
- const n = _.filter((S, P) => P % 2 === 0), v = _.filter((S, P) => P % 2 === 1), w = rt(n), I = rt(v), $ = w.total + I.total;
369
- let L = j, A = j;
368
+ const n = _.filter((S, N) => N % 2 === 0), v = _.filter((S, N) => N % 2 === 1), w = rt(n), I = rt(v), $ = w.total + I.total;
369
+ let L = F, A = F;
370
370
  if ($ > 0) {
371
- const S = j * 2, P = j * 0.3;
372
- L = Math.max(P, S * (w.total / $)), A = Math.max(P, S * (I.total / $));
371
+ const S = F * 2, N = F * 0.3;
372
+ L = Math.max(N, S * (w.total / $)), A = Math.max(N, S * (I.total / $));
373
373
  }
374
- const V = k * 2;
375
- L = Math.max(L, w.max * V), A = Math.max(A, I.max * V), c = Math.max(L, j), p && p.attr("y1", c).attr("y2", c), E.select(".ishikawa-head-group").attr("transform", `translate(0,${c})`);
374
+ const C = k * 2;
375
+ L = Math.max(L, w.max * C), A = Math.max(A, I.max * C), c = Math.max(L, F), p && p.attr("y1", c).attr("y2", c), E.select(".ishikawa-head-group").attr("transform", `translate(0,${c})`);
376
376
  const b = Math.ceil(_.length / 2);
377
377
  for (let S = 0; S < b; S++) {
378
- const P = E.append("g").attr("class", "ishikawa-pair");
379
- for (const [R, G, X] of [
378
+ const N = E.append("g").attr("class", "ishikawa-pair");
379
+ for (const [R, G, Y] of [
380
380
  [_[S * 2], -1, L],
381
381
  [_[S * 2 + 1], 1, A]
382
382
  ])
383
- R && Pt(P, R, i, c, G, X, k, t);
384
- i = P.selectAll("text").nodes().reduce((R, G) => Math.min(R, G.getBBox().x), 1 / 0);
383
+ R && Nt(N, R, i, c, G, Y, k, t);
384
+ i = N.selectAll("text").nodes().reduce((R, G) => Math.min(R, G.getBBox().x), 1 / 0);
385
385
  }
386
386
  if (g)
387
- z(E, i, c, 0, c, "ishikawa-spine", t);
387
+ j(E, i, c, 0, c, "ishikawa-spine", t);
388
388
  else {
389
389
  p.attr("x1", i);
390
390
  const S = `url(#${s})`;
@@ -401,7 +401,7 @@ var xt = J, H, vt = (H = class {
401
401
  { total: 0, max: 0 }
402
402
  );
403
403
  }, "sideStats"), Lt = /* @__PURE__ */ o((e, h, r, a, l, y) => {
404
- const f = Math.max(6, Math.floor(110 / (l * 0.6))), d = e.append("g").attr("class", "ishikawa-head-group").attr("transform", `translate(${h},${r})`), m = K(
404
+ const f = Math.max(6, Math.floor(110 / (l * 0.6))), d = e.append("g").attr("class", "ishikawa-head-group").attr("transform", `translate(${h},${r})`), m = X(
405
405
  d,
406
406
  ct(a, f),
407
407
  0,
@@ -440,7 +440,7 @@ var xt = J, H, vt = (H = class {
440
440
  }, "walk");
441
441
  return l(e, -1, 2), { entries: r, yOrder: a };
442
442
  }, "flattenTree"), Mt = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
443
- const d = e.append("g").attr("class", "ishikawa-label-group"), u = K(
443
+ const d = e.append("g").attr("class", "ishikawa-label-group"), u = X(
444
444
  d,
445
445
  h,
446
446
  r,
@@ -469,7 +469,7 @@ var xt = J, H, vt = (H = class {
469
469
  d.insert(() => k, ":first-child").attr("class", "ishikawa-label-box");
470
470
  } else
471
471
  d.insert("rect", ":first-child").attr("class", "ishikawa-label-box").attr("x", u.x - 20).attr("y", u.y - 2).attr("width", u.width + 40).attr("height", u.height + 4);
472
- }, "drawCauseLabel"), q = /* @__PURE__ */ o((e, h, r, a, l, y) => {
472
+ }, "drawCauseLabel"), Q = /* @__PURE__ */ o((e, h, r, a, l, y) => {
473
473
  const f = Math.sqrt(a * a + l * l);
474
474
  if (f === 0)
475
475
  return;
@@ -482,9 +482,9 @@ var xt = J, H, vt = (H = class {
482
482
  strokeWidth: 1
483
483
  });
484
484
  e.append(() => O);
485
- }, "drawArrowMarker"), Pt = /* @__PURE__ */ o((e, h, r, a, l, y, f, d) => {
485
+ }, "drawArrowMarker"), Nt = /* @__PURE__ */ o((e, h, r, a, l, y, f, d) => {
486
486
  const m = h.children ?? [], u = y * (m.length ? 1 : 0.2), k = -st * u, g = nt * u * l, _ = r + k, x = a + g;
487
- if (z(e, r, a, _, x, "ishikawa-branch", d), d && q(e, r, a, r - _, a - x, d), Mt(e, h.text, _, x, l, f, d), !m.length)
487
+ if (j(e, r, a, _, x, "ishikawa-branch", d), d && Q(e, r, a, r - _, a - x, d), Mt(e, h.text, _, x, l, f, d), !m.length)
488
488
  return;
489
489
  const { entries: D, yOrder: O } = Tt(m, l), E = D.length, T = new Array(E);
490
490
  for (const [p, n] of O.entries())
@@ -503,11 +503,11 @@ var xt = J, H, vt = (H = class {
503
503
  const v = T[p], w = t.get(n.parentIndex), I = e.append("g").attr("class", "ishikawa-sub-group");
504
504
  let $ = 0, L = 0, A = 0;
505
505
  if (n.depth % 2 === 0) {
506
- const V = w.y1 - w.y0;
507
- $ = lt(w.x0, w.x1, V ? (v - w.y0) / V : 0.5), L = v, A = $ - (n.childCount > 0 ? Et + n.childCount * At : $t), z(I, $, v, A, v, "ishikawa-sub-branch", d), d && q(I, $, v, 1, 0, d), K(I, n.text, A, v, "ishikawa-label align", "end", f);
506
+ const C = w.y1 - w.y0;
507
+ $ = lt(w.x0, w.x1, C ? (v - w.y0) / C : 0.5), L = v, A = $ - (n.childCount > 0 ? Et + n.childCount * At : $t), j(I, $, v, A, v, "ishikawa-sub-branch", d), d && Q(I, $, v, 1, 0, d), X(I, n.text, A, v, "ishikawa-label align", "end", f);
508
508
  } else {
509
- const V = w.childrenDrawn++;
510
- $ = lt(w.x0, w.x1, (w.childCount - V) / (w.childCount + 1)), L = w.y0, A = $ + s * ((v - L) / i), z(I, $, L, A, v, "ishikawa-sub-branch", d), d && q(I, $, L, $ - A, L - v, d), K(I, n.text, A, v, c, "end", f);
509
+ const C = w.childrenDrawn++;
510
+ $ = lt(w.x0, w.x1, (w.childCount - C) / (w.childCount + 1)), L = w.y0, A = $ + s * ((v - L) / i), j(I, $, L, A, v, "ishikawa-sub-branch", d), d && Q(I, $, L, $ - A, L - v, d), X(I, n.text, A, v, c, "end", f);
511
511
  }
512
512
  n.childCount > 0 && t.set(p, {
513
513
  x0: $,
@@ -518,7 +518,7 @@ var xt = J, H, vt = (H = class {
518
518
  childrenDrawn: 0
519
519
  });
520
520
  }
521
- }, "drawBranch"), Bt = /* @__PURE__ */ o((e) => e.split(/<br\s*\/?>|\n/), "splitLines"), ct = /* @__PURE__ */ o((e, h) => {
521
+ }, "drawBranch"), Pt = /* @__PURE__ */ o((e) => e.split(/<br\s*\/?>|\n/), "splitLines"), ct = /* @__PURE__ */ o((e, h) => {
522
522
  if (e.length <= h)
523
523
  return e;
524
524
  const r = [];
@@ -528,12 +528,12 @@ var xt = J, H, vt = (H = class {
528
528
  }
529
529
  return r.join(`
530
530
  `);
531
- }, "wrapText"), K = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
532
- const d = Bt(h), m = f * 1.05, u = e.append("text").attr("class", l).attr("text-anchor", y).attr("x", r).attr("y", a - (d.length - 1) * m / 2);
531
+ }, "wrapText"), X = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
532
+ const d = Pt(h), m = f * 1.05, u = e.append("text").attr("class", l).attr("text-anchor", y).attr("x", r).attr("y", a - (d.length - 1) * m / 2);
533
533
  for (const [k, g] of d.entries())
534
534
  u.append("tspan").attr("x", r).attr("dy", k === 0 ? 0 : m).text(g);
535
535
  return u;
536
- }, "drawMultilineText"), lt = /* @__PURE__ */ o((e, h, r) => e + (h - e) * r, "lerp"), z = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
536
+ }, "drawMultilineText"), lt = /* @__PURE__ */ o((e, h, r) => e + (h - e) * r, "lerp"), j = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
537
537
  if (f) {
538
538
  const d = f.roughSvg.line(h, r, a, l, {
539
539
  roughness: 1.5,
@@ -545,7 +545,7 @@ var xt = J, H, vt = (H = class {
545
545
  return;
546
546
  }
547
547
  return e.append("line").attr("class", y).attr("x1", h).attr("y1", r).attr("x2", a).attr("y2", l);
548
- }, "drawLine"), Nt = { draw: It }, Dt = /* @__PURE__ */ o((e) => `
548
+ }, "drawLine"), Bt = { draw: It }, Dt = /* @__PURE__ */ o((e) => `
549
549
  .ishikawa .ishikawa-spine,
550
550
  .ishikawa .ishikawa-branch,
551
551
  .ishikawa .ishikawa-sub-branch {
@@ -608,14 +608,14 @@ var xt = J, H, vt = (H = class {
608
608
  .ishikawa .ishikawa-label.down {
609
609
  dominant-baseline: hanging;
610
610
  }
611
- `, "getStyles"), Ot = Dt, Ct = {
611
+ `, "getStyles"), Ot = Dt, Vt = {
612
612
  parser: xt,
613
613
  get db() {
614
614
  return new vt();
615
615
  },
616
- renderer: Nt,
616
+ renderer: Bt,
617
617
  styles: Ot
618
618
  };
619
619
  export {
620
- Ct as diagram
620
+ Vt as diagram
621
621
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./extractHeadings-DpvwXCio.cjs");var J=(function(){var i=e.__name(function(T,t,s,n){for(s=s||{},n=T.length;n--;s[T[n]]=t);return s},"o"),h=[1,4],l=[1,14],r=[1,12],o=[1,13],y=[6,7,8],f=[1,20],d=[1,18],m=[1,19],u=[6,7,11],g=[1,6,13,14],_=[1,23],w=[1,24],x=[1,6,7,11,13,14],D={trace:e.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:e.__name(function(t,s,n,c,p,a,v){var k=a.length-1;switch(p){case 6:case 7:return c;case 15:c.addNode(a[k-1].length,a[k].trim());break;case 16:c.addNode(0,a[k].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:l,7:[1,10],9:9,12:11,13:r,14:o},i(y,[2,3]),{1:[2,2]},i(y,[2,4]),i(y,[2,5]),{1:[2,6],6:l,12:15,13:r,14:o},{6:l,9:16,12:11,13:r,14:o},{6:f,7:d,10:17,11:m},i(u,[2,18],{14:[1,21]}),i(u,[2,16]),i(u,[2,17]),{6:f,7:d,10:22,11:m},{1:[2,7],6:l,12:15,13:r,14:o},i(g,[2,14],{7:_,11:w}),i(x,[2,8]),i(x,[2,9]),i(x,[2,10]),i(u,[2,15]),i(g,[2,13],{7:_,11:w}),i(x,[2,11]),i(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:e.__name(function(t,s){if(s.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=s,n}},"parseError"),parse:e.__name(function(t){var s=this,n=[0],c=[],p=[null],a=[],v=this.table,k="",I=0,$=0,L=2,A=1,C=a.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(S.yy[P]=this.yy[P]);b.setInput(t,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var R=b.yylloc;a.push(R);var G=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Y(B){n.length=n.length-2*B,p.length=p.length-B,a.length=a.length-B}e.__name(Y,"popStack");function tt(){var B;return B=c.pop()||b.lex()||A,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=s.symbols_[B]||B),B}e.__name(tt,"lex");for(var M,W,N,q,j={},U,V,et,Z;;){if(W=n[n.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((M===null||typeof M>"u")&&(M=tt()),N=v[W]&&v[W][M]),typeof N>"u"||!N.length||!N[0]){var K="";Z=[];for(U in v[W])this.terminals_[U]&&U>L&&Z.push("'"+this.terminals_[U]+"'");b.showPosition?K="Parse error on line "+(I+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid.core-CRP55Hm1.cjs");var J=(function(){var i=e.__name(function(T,t,s,n){for(s=s||{},n=T.length;n--;s[T[n]]=t);return s},"o"),h=[1,4],l=[1,14],r=[1,12],o=[1,13],y=[6,7,8],f=[1,20],d=[1,18],m=[1,19],u=[6,7,11],g=[1,6,13,14],_=[1,23],w=[1,24],x=[1,6,7,11,13,14],D={trace:e.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:e.__name(function(t,s,n,c,p,a,v){var k=a.length-1;switch(p){case 6:case 7:return c;case 15:c.addNode(a[k-1].length,a[k].trim());break;case 16:c.addNode(0,a[k].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:l,7:[1,10],9:9,12:11,13:r,14:o},i(y,[2,3]),{1:[2,2]},i(y,[2,4]),i(y,[2,5]),{1:[2,6],6:l,12:15,13:r,14:o},{6:l,9:16,12:11,13:r,14:o},{6:f,7:d,10:17,11:m},i(u,[2,18],{14:[1,21]}),i(u,[2,16]),i(u,[2,17]),{6:f,7:d,10:22,11:m},{1:[2,7],6:l,12:15,13:r,14:o},i(g,[2,14],{7:_,11:w}),i(x,[2,8]),i(x,[2,9]),i(x,[2,10]),i(u,[2,15]),i(g,[2,13],{7:_,11:w}),i(x,[2,11]),i(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:e.__name(function(t,s){if(s.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=s,n}},"parseError"),parse:e.__name(function(t){var s=this,n=[0],c=[],p=[null],a=[],v=this.table,k="",I=0,$=0,L=2,A=1,C=a.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(S.yy[P]=this.yy[P]);b.setInput(t,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var R=b.yylloc;a.push(R);var G=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Y(B){n.length=n.length-2*B,p.length=p.length-B,a.length=a.length-B}e.__name(Y,"popStack");function tt(){var B;return B=c.pop()||b.lex()||A,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=s.symbols_[B]||B),B}e.__name(tt,"lex");for(var M,W,N,q,j={},U,V,et,Z;;){if(W=n[n.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((M===null||typeof M>"u")&&(M=tt()),N=v[W]&&v[W][M]),typeof N>"u"||!N.length||!N[0]){var K="";Z=[];for(U in v[W])this.terminals_[U]&&U>L&&Z.push("'"+this.terminals_[U]+"'");b.showPosition?K="Parse error on line "+(I+1)+`:
2
2
  `+b.showPosition()+`
3
3
  Expecting `+Z.join(", ")+", got '"+(this.terminals_[M]||M)+"'":K="Parse error on line "+(I+1)+": Unexpected "+(M==A?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(K,{text:b.match,token:this.terminals_[M]||M,line:b.yylineno,loc:R,expected:Z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+M);switch(N[0]){case 1:n.push(M),p.push(b.yytext),a.push(b.yylloc),n.push(N[1]),M=null,$=b.yyleng,k=b.yytext,I=b.yylineno,R=b.yylloc;break;case 2:if(V=this.productions_[N[1]][1],j.$=p[p.length-V],j._$={first_line:a[a.length-(V||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(V||1)].first_column,last_column:a[a.length-1].last_column},G&&(j._$.range=[a[a.length-(V||1)].range[0],a[a.length-1].range[1]]),q=this.performAction.apply(j,[k,$,I,S.yy,N[1],p,a].concat(C)),typeof q<"u")return q;V&&(n=n.slice(0,-1*V*2),p=p.slice(0,-1*V),a=a.slice(0,-1*V)),n.push(this.productions_[N[1]][0]),p.push(j.$),a.push(j._$),et=v[n[n.length-2]][n[n.length-1]],n.push(et);break;case 3:return!0}}return!0},"parse")},O=(function(){var T={EOF:1,parseError:e.__name(function(s,n){if(this.yy.parser)this.yy.parser.parseError(s,n);else throw new Error(s)},"parseError"),setInput:e.__name(function(t,s){return this.yy=s||this.yy||{},this._input=t,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:e.__name(function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:e.__name(function(t){var s=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;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),n.length-1&&(this.yylineno-=n.length-1);var p=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:n?(n.length===c.length?this.yylloc.first_column:0)+c[c.length-n.length].length-n[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:e.__name(function(){return this._more=!0,this},"more"),reject:e.__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:e.__name(function(t){this.unput(this.match.slice(t))},"less"),pastInput:e.__name(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:e.__name(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:e.__name(function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ft=require("./chunk-5VM5RSS4-C0OtlojA.cjs"),j=require("./chunk-32BRIVSS-PidRQo43.cjs"),n=require("./extractHeadings-DpvwXCio.cjs"),et=require("./arc-D8xGHwLe.cjs");var G=(function(){var t=n.__name(function(h,r,a,l){for(a=a||{},l=h.length;l--;a[h[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],s=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],_={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:n.__name(function(r,a,l,y,d,c,v){var x=c.length-1;switch(d){case 1:return c[x-1];case 2:this.$=[];break;case 3:c[x-1].push(c[x]),this.$=c[x-1];break;case 4:case 5:this.$=c[x];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[x].substr(6)),this.$=c[x].substr(6);break;case 9:this.$=c[x].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[x].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[x].substr(8)),this.$=c[x].substr(8);break;case 13:y.addTask(c[x-1],c[x]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:s,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:s,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:n.__name(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:n.__name(function(r){var a=this,l=[0],y=[],d=[null],c=[],v=this.table,x="",E=0,K=0,ht=2,Q=1,ut=c.slice.call(arguments,1),k=Object.create(this.lexer),A={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(A.yy[q]=this.yy[q]);k.setInput(r,A.yy),A.yy.lexer=k,A.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var O=k.yylloc;c.push(O);var yt=k.options&&k.options.ranges;typeof A.yy.parseError=="function"?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function dt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}n.__name(dt,"popStack");function D(){var w;return w=y.pop()||k.lex()||Q,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=a.symbols_[w]||w),w}n.__name(D,"lex");for(var b,I,T,Y,R={},N,M,tt,z;;){if(I=l[l.length-1],this.defaultActions[I]?T=this.defaultActions[I]:((b===null||typeof b>"u")&&(b=D()),T=v[I]&&v[I][b]),typeof T>"u"||!T.length||!T[0]){var H="";z=[];for(N in v[I])this.terminals_[N]&&N>ht&&z.push("'"+this.terminals_[N]+"'");k.showPosition?H="Parse error on line "+(E+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ft=require("./chunk-5VM5RSS4-CYVpj2mc.cjs"),j=require("./chunk-32BRIVSS-rIw6tBRO.cjs"),n=require("./mermaid.core-CRP55Hm1.cjs"),et=require("./arc-Cn8XXgbN.cjs");var G=(function(){var t=n.__name(function(h,r,a,l){for(a=a||{},l=h.length;l--;a[h[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],s=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],_={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:n.__name(function(r,a,l,y,d,c,v){var x=c.length-1;switch(d){case 1:return c[x-1];case 2:this.$=[];break;case 3:c[x-1].push(c[x]),this.$=c[x-1];break;case 4:case 5:this.$=c[x];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[x].substr(6)),this.$=c[x].substr(6);break;case 9:this.$=c[x].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[x].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[x].substr(8)),this.$=c[x].substr(8);break;case 13:y.addTask(c[x-1],c[x]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:s,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:s,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:n.__name(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:n.__name(function(r){var a=this,l=[0],y=[],d=[null],c=[],v=this.table,x="",E=0,K=0,ht=2,Q=1,ut=c.slice.call(arguments,1),k=Object.create(this.lexer),A={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(A.yy[q]=this.yy[q]);k.setInput(r,A.yy),A.yy.lexer=k,A.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var O=k.yylloc;c.push(O);var yt=k.options&&k.options.ranges;typeof A.yy.parseError=="function"?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function dt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}n.__name(dt,"popStack");function D(){var w;return w=y.pop()||k.lex()||Q,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=a.symbols_[w]||w),w}n.__name(D,"lex");for(var b,I,T,Y,R={},N,M,tt,z;;){if(I=l[l.length-1],this.defaultActions[I]?T=this.defaultActions[I]:((b===null||typeof b>"u")&&(b=D()),T=v[I]&&v[I][b]),typeof T>"u"||!T.length||!T[0]){var H="";z=[];for(N in v[I])this.terminals_[N]&&N>ht&&z.push("'"+this.terminals_[N]+"'");k.showPosition?H="Parse error on line "+(E+1)+`:
2
2
  `+k.showPosition()+`
3
3
  Expecting `+z.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on line "+(E+1)+": Unexpected "+(b==Q?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(H,{text:k.match,token:this.terminals_[b]||b,line:k.yylineno,loc:O,expected:z})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+b);switch(T[0]){case 1:l.push(b),d.push(k.yytext),c.push(k.yylloc),l.push(T[1]),b=null,K=k.yyleng,x=k.yytext,E=k.yylineno,O=k.yylloc;break;case 2:if(M=this.productions_[T[1]][1],R.$=d[d.length-M],R._$={first_line:c[c.length-(M||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(M||1)].first_column,last_column:c[c.length-1].last_column},yt&&(R._$.range=[c[c.length-(M||1)].range[0],c[c.length-1].range[1]]),Y=this.performAction.apply(R,[x,K,E,A.yy,T[1],d,c].concat(ut)),typeof Y<"u")return Y;M&&(l=l.slice(0,-1*M*2),d=d.slice(0,-1*M),c=c.slice(0,-1*M)),l.push(this.productions_[T[1]][0]),d.push(R.$),c.push(R._$),tt=v[l[l.length-2]][l[l.length-1]],l.push(tt);break;case 3:return!0}}return!0},"parse")},g=(function(){var h={EOF:1,parseError:n.__name(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:n.__name(function(r,a){return this.yy=a||this.yy||{},this._input=r,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:n.__name(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n.__name(function(r){var a=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var y=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),l.length-1&&(this.yylineno-=l.length-1);var d=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:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__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:n.__name(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n.__name(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
@@ -1,7 +1,7 @@
1
- import { g as gt } from "./chunk-5VM5RSS4-EGE3VaH8.js";
2
- import { a as mt, g as lt, h as xt, d as kt } from "./chunk-32BRIVSS-BMqTi8UH.js";
3
- import { J as _t, G as vt, K as bt, O as wt, a9 as Tt, a8 as St, _ as s, Q as R, R as H, V as $t, ae as Mt } from "./extractHeadings-3qWVTkb9.js";
4
- import { d as it } from "./arc-D9kg3f8-.js";
1
+ import { g as gt } from "./chunk-5VM5RSS4-DAgNhPcU.js";
2
+ import { a as mt, g as lt, h as xt, d as kt } from "./chunk-32BRIVSS-CqpDiZD2.js";
3
+ import { g as _t, s as vt, a as bt, b as wt, t as Tt, q as St, _ as s, c as R, d as X, e as $t, z as Mt } from "./mermaid.core-C4EClWgB.js";
4
+ import { d as it } from "./arc-BBLXr5EU.js";
5
5
  var U = (function() {
6
6
  var t = /* @__PURE__ */ s(function(h, r, n, l) {
7
7
  for (n = n || {}, l = h.length; l--; n[h[l]] = r) ;
@@ -61,7 +61,7 @@ var U = (function() {
61
61
  }
62
62
  }, "parseError"),
63
63
  parse: /* @__PURE__ */ s(function(r) {
64
- var n = this, l = [0], y = [], d = [null], c = [], v = this.table, k = "", C = 0, Z = 0, yt = 2, D = 1, dt = c.slice.call(arguments, 1), _ = Object.create(this.lexer), I = { yy: {} };
64
+ var n = this, l = [0], y = [], d = [null], c = [], v = this.table, k = "", C = 0, Q = 0, yt = 2, D = 1, dt = c.slice.call(arguments, 1), _ = Object.create(this.lexer), I = { yy: {} };
65
65
  for (var O in this.yy)
66
66
  Object.prototype.hasOwnProperty.call(this.yy, O) && (I.yy[O] = this.yy[O]);
67
67
  _.setInput(r, I.yy), I.yy.lexer = _, I.yy.parser = this, typeof _.yylloc > "u" && (_.yylloc = {});
@@ -80,13 +80,13 @@ var U = (function() {
80
80
  s(tt, "lex");
81
81
  for (var b, A, T, q, F = {}, N, M, et, z; ; ) {
82
82
  if (A = l[l.length - 1], this.defaultActions[A] ? T = this.defaultActions[A] : ((b === null || typeof b > "u") && (b = tt()), T = v[A] && v[A][b]), typeof T > "u" || !T.length || !T[0]) {
83
- var G = "";
83
+ var H = "";
84
84
  z = [];
85
85
  for (N in v[A])
86
86
  this.terminals_[N] && N > yt && z.push("'" + this.terminals_[N] + "'");
87
- _.showPosition ? G = "Parse error on line " + (C + 1) + `:
87
+ _.showPosition ? H = "Parse error on line " + (C + 1) + `:
88
88
  ` + _.showPosition() + `
89
- Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : G = "Parse error on line " + (C + 1) + ": Unexpected " + (b == D ? "end of input" : "'" + (this.terminals_[b] || b) + "'"), this.parseError(G, {
89
+ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : H = "Parse error on line " + (C + 1) + ": Unexpected " + (b == D ? "end of input" : "'" + (this.terminals_[b] || b) + "'"), this.parseError(H, {
90
90
  text: _.match,
91
91
  token: this.terminals_[b] || b,
92
92
  line: _.yylineno,
@@ -98,7 +98,7 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : G = "
98
98
  throw new Error("Parse Error: multiple actions possible at state: " + A + ", token: " + b);
99
99
  switch (T[0]) {
100
100
  case 1:
101
- l.push(b), d.push(_.yytext), c.push(_.yylloc), l.push(T[1]), b = null, Z = _.yyleng, k = _.yytext, C = _.yylineno, Y = _.yylloc;
101
+ l.push(b), d.push(_.yytext), c.push(_.yylloc), l.push(T[1]), b = null, Q = _.yyleng, k = _.yytext, C = _.yylineno, Y = _.yylloc;
102
102
  break;
103
103
  case 2:
104
104
  if (M = this.productions_[T[1]][1], F.$ = d[d.length - M], F._$ = {
@@ -111,7 +111,7 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : G = "
111
111
  c[c.length - 1].range[1]
112
112
  ]), q = this.performAction.apply(F, [
113
113
  k,
114
- Z,
114
+ Q,
115
115
  C,
116
116
  I.yy,
117
117
  T[1],
@@ -355,12 +355,12 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : G = "
355
355
  return s(x, "Parser"), x.prototype = g, g.Parser = x, new x();
356
356
  })();
357
357
  U.parser = U;
358
- var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
359
- K.length = 0, L.length = 0, V = "", B.length = 0, Mt();
358
+ var Et = U, V = "", J = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
359
+ J.length = 0, L.length = 0, V = "", B.length = 0, Mt();
360
360
  }, "clear"), Pt = /* @__PURE__ */ s(function(t) {
361
- V = t, K.push(t);
361
+ V = t, J.push(t);
362
362
  }, "addSection"), It = /* @__PURE__ */ s(function() {
363
- return K;
363
+ return J;
364
364
  }, "getSections"), At = /* @__PURE__ */ s(function() {
365
365
  let t = rt();
366
366
  const e = 100;
@@ -552,7 +552,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
552
552
  ${t.actor5 ? `fill: ${t.actor5}` : ""};
553
553
  }
554
554
  ${gt()}
555
- `, "getStyles"), jt = Bt, Q = /* @__PURE__ */ s(function(t, e) {
555
+ `, "getStyles"), jt = Bt, K = /* @__PURE__ */ s(function(t, e) {
556
556
  return kt(t, e);
557
557
  }, "drawRect"), Nt = /* @__PURE__ */ s(function(t, e) {
558
558
  const f = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), i = t.append("g");
@@ -586,7 +586,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
586
586
  }, "drawLabel"), Wt = /* @__PURE__ */ s(function(t, e, a) {
587
587
  const f = t.append("g"), i = lt();
588
588
  i.x = e.x, i.y = e.y, i.fill = e.fill, i.width = a.width * e.taskCount + // width of the tasks
589
- a.diagramMarginX * (e.taskCount - 1), i.height = a.height, i.class = "journey-section section-type-" + e.num, i.rx = 3, i.ry = 3, Q(f, i), ht(a)(
589
+ a.diagramMarginX * (e.taskCount - 1), i.height = a.height, i.class = "journey-section section-type-" + e.num, i.rx = 3, i.ry = 3, K(f, i), ht(a)(
590
590
  e.text,
591
591
  f,
592
592
  i.x,
@@ -597,15 +597,15 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
597
597
  a,
598
598
  e.colour
599
599
  );
600
- }, "drawSection"), J = -1, Ot = /* @__PURE__ */ s(function(t, e, a, f) {
600
+ }, "drawSection"), Z = -1, Ot = /* @__PURE__ */ s(function(t, e, a, f) {
601
601
  const i = e.x + a.width / 2, u = t.append("g");
602
- J++, u.append("line").attr("id", f + "-task" + J).attr("x1", i).attr("y1", e.y).attr("x2", i).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Nt(u, {
602
+ Z++, u.append("line").attr("id", f + "-task" + Z).attr("x1", i).attr("y1", e.y).attr("x2", i).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Nt(u, {
603
603
  cx: i,
604
604
  cy: 300 + (5 - e.score) * 30,
605
605
  score: e.score
606
606
  });
607
607
  const o = lt();
608
- o.x = e.x, o.y = e.y, o.fill = e.fill, o.width = a.width, o.height = a.height, o.class = "task task-type-" + e.num, o.rx = 3, o.ry = 3, Q(u, o);
608
+ o.x = e.x, o.y = e.y, o.fill = e.fill, o.width = a.width, o.height = a.height, o.class = "task task-type-" + e.num, o.rx = 3, o.ry = 3, K(u, o);
609
609
  let g = e.x + 14;
610
610
  e.people.forEach((m) => {
611
611
  const x = e.actors[m].color, h = {
@@ -658,9 +658,9 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
658
658
  return i.textPlacement === "fo" ? a : i.textPlacement === "old" ? t : e;
659
659
  };
660
660
  })(), qt = /* @__PURE__ */ s(function(t, e) {
661
- J = -1, t.append("defs").append("marker").attr("id", e + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
661
+ Z = -1, t.append("defs").append("marker").attr("id", e + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
662
662
  }, "initGraphics"), j = {
663
- drawRect: Q,
663
+ drawRect: K,
664
664
  drawCircle: ot,
665
665
  drawSection: Wt,
666
666
  drawText: ct,
@@ -668,7 +668,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
668
668
  drawTask: Ot,
669
669
  drawBackgroundRect: Yt,
670
670
  initGraphics: qt
671
- }, Gt = /* @__PURE__ */ s(function(t) {
671
+ }, Ht = /* @__PURE__ */ s(function(t) {
672
672
  Object.keys(t).forEach(function(a) {
673
673
  $[a] = t[a];
674
674
  });
@@ -722,11 +722,11 @@ function ut(t) {
722
722
  });
723
723
  }
724
724
  s(ut, "drawActorLegend");
725
- var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
725
+ var $ = R().journey, P = 0, Xt = /* @__PURE__ */ s(function(t, e, a, f) {
726
726
  const i = R(), u = i.journey.titleColor, p = i.journey.titleFontSize, o = i.journey.titleFontFamily, g = i.securityLevel;
727
727
  let m;
728
- g === "sandbox" && (m = H("#i" + e));
729
- const x = g === "sandbox" ? H(m.nodes()[0].contentDocument.body) : H("body");
728
+ g === "sandbox" && (m = X("#i" + e));
729
+ const x = g === "sandbox" ? X(m.nodes()[0].contentDocument.body) : X("body");
730
730
  S.init();
731
731
  const h = x.select("#" + e);
732
732
  j.initGraphics(h, e);
@@ -739,7 +739,7 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
739
739
  color: $.actorColours[y % $.actorColours.length],
740
740
  position: y
741
741
  }, y++;
742
- }), ut(h), P = $.leftMargin + W, S.insert(0, 0, P, Object.keys(E).length * 50), Xt(h, r, 0, e);
742
+ }), ut(h), P = $.leftMargin + W, S.insert(0, 0, P, Object.keys(E).length * 50), Gt(h, r, 0, e);
743
743
  const d = S.getBounds();
744
744
  n && h.append("text").text(n).attr("x", P).attr("font-size", p).attr("font-weight", "bold").attr("y", 25).attr("fill", u).attr("font-family", o);
745
745
  const c = d.stopy - d.starty + 2 * $.diagramMarginY, v = P + d.stopx + 2 * $.diagramMarginX;
@@ -791,14 +791,14 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
791
791
  getBounds: /* @__PURE__ */ s(function() {
792
792
  return this.data;
793
793
  }, "getBounds")
794
- }, X = $.sectionFills, st = $.sectionColours, Xt = /* @__PURE__ */ s(function(t, e, a, f) {
794
+ }, G = $.sectionFills, st = $.sectionColours, Gt = /* @__PURE__ */ s(function(t, e, a, f) {
795
795
  const i = R().journey;
796
796
  let u = "";
797
797
  const p = i.height * 2 + i.diagramMarginY, o = a + p;
798
798
  let g = 0, m = "#CCC", x = "black", h = 0;
799
799
  for (const [r, n] of e.entries()) {
800
800
  if (u !== n.section) {
801
- m = X[g % X.length], h = g % X.length, x = st[g % st.length];
801
+ m = G[g % G.length], h = g % G.length, x = st[g % st.length];
802
802
  let y = 0;
803
803
  const d = n.section;
804
804
  for (let v = r; v < e.length && e[v].section == d; v++)
@@ -818,9 +818,9 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
818
818
  n.x = r * i.taskMargin + r * i.width + P, n.y = o, n.width = i.diagramMarginX, n.height = i.diagramMarginY, n.colour = x, n.fill = m, n.num = h, n.actors = l, j.drawTask(t, n, i, f), S.insert(n.x, n.y, n.x + n.width + i.taskMargin, 450);
819
819
  }
820
820
  }, "drawTasks"), at = {
821
- setConf: Gt,
822
- draw: Ht
823
- }, Zt = {
821
+ setConf: Ht,
822
+ draw: Xt
823
+ }, Qt = {
824
824
  parser: Et,
825
825
  db: nt,
826
826
  renderer: at,
@@ -830,5 +830,5 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
830
830
  }, "init")
831
831
  };
832
832
  export {
833
- Zt as diagram
833
+ Qt as diagram
834
834
  };