@aiquants/markdown 12.3.0 → 13.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 (273) hide show
  1. package/README.md +551 -76
  2. package/dist/{abnfDiagram-VRR7QNED-B_QmXzWv.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-CEb923Bc.js → architectureDiagram-ZJ3FMSHR-BaSp0hC2.js} +123 -123
  7. package/dist/architectureDiagram-ZJ3FMSHR-BfmjNYww.cjs +36 -0
  8. package/dist/{blockDiagram-677ZJIJ3-CmKMdhaS.js → blockDiagram-677ZJIJ3-DFcPQ19k.js} +166 -166
  9. package/dist/{blockDiagram-677ZJIJ3-D7RRzjUx.cjs → blockDiagram-677ZJIJ3-u7d3VCxA.cjs} +1 -1
  10. package/dist/{c4Diagram-LMCZKHZV-CG6fvZQo.js → c4Diagram-LMCZKHZV-DW0yo5tR.js} +2 -2
  11. package/dist/{c4Diagram-LMCZKHZV-W7Qa-ecL.cjs → c4Diagram-LMCZKHZV-nScsMUE3.cjs} +1 -1
  12. package/dist/{channel-TsF8sms_.js → channel-B2FBCr9X.js} +1 -1
  13. package/dist/channel-DlkTPSf_.cjs +1 -0
  14. package/dist/{chunk-2Q5K7J3B-CopwR1m3.js → chunk-2Q5K7J3B-BkE4Fsuz.js} +1 -1
  15. package/dist/chunk-2Q5K7J3B-evSha-HP.cjs +1 -0
  16. package/dist/{chunk-32BRIVSS-BnNlhc1M.js → chunk-32BRIVSS-CqpDiZD2.js} +1 -1
  17. package/dist/chunk-32BRIVSS-rIw6tBRO.cjs +1 -0
  18. package/dist/{chunk-5VM5RSS4-lKwSmIqG.cjs → chunk-5VM5RSS4-CYVpj2mc.cjs} +1 -1
  19. package/dist/{chunk-5VM5RSS4-O28FGAOF.js → chunk-5VM5RSS4-DAgNhPcU.js} +1 -1
  20. package/dist/{chunk-EX3LRPZG-CtFe4olX.cjs → chunk-EX3LRPZG-Ct2cyGh-.cjs} +1 -1
  21. package/dist/{chunk-EX3LRPZG-C36gZH3_.js → chunk-EX3LRPZG-QFjD28UF.js} +21 -21
  22. package/dist/{chunk-JWPE2WC7-DG0ebjV4.js → chunk-JWPE2WC7-Bj2m1SXZ.js} +1 -1
  23. package/dist/chunk-JWPE2WC7-Dgw1ILoe.cjs +1 -0
  24. package/dist/{chunk-MOJQB5TN-nqR_swpx.js → chunk-MOJQB5TN-B1fdnpCz.js} +122 -122
  25. package/dist/{chunk-MOJQB5TN-DADVbG98.cjs → chunk-MOJQB5TN-yjlPYCh4.cjs} +3 -3
  26. package/dist/{chunk-PUDLZKDR-BUSFO-Gx.cjs → chunk-PUDLZKDR-BlQ3qKcC.cjs} +4 -4
  27. package/dist/{chunk-PUDLZKDR-CD96jce3.js → chunk-PUDLZKDR-CIcw3cpm.js} +21 -21
  28. package/dist/chunk-RYQCIY6F-B-V6UOJy.cjs +1 -0
  29. package/dist/{chunk-RYQCIY6F-DJkrr1sD.js → chunk-RYQCIY6F-DyVk8fNp.js} +5 -5
  30. package/dist/{chunk-V7JOEXUC-BzCaDGop.cjs → chunk-V7JOEXUC-B1EgagKh.cjs} +3 -3
  31. package/dist/{chunk-V7JOEXUC-eBy2sAXD.js → chunk-V7JOEXUC-C776k7_V.js} +15 -15
  32. package/dist/{chunk-VR4S4FIN-C-qPzUSR.js → chunk-VR4S4FIN-CyqARa17.js} +5 -5
  33. package/dist/chunk-VR4S4FIN-Sx71KwIQ.cjs +1 -0
  34. package/dist/{chunk-XXDRQBXY-BK6HOWf6.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-CPDmG5kI.js → classDiagram-OUVF2IWQ-DJ0hW16Q.js} +2 -2
  38. package/dist/classDiagram-v2-EOCWNBFH-BLAiuPPL.cjs +1 -0
  39. package/dist/{classDiagram-OUVF2IWQ-CPDmG5kI.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 +1 -2
  46. package/dist/components/MarkdownRenderer.d.ts +36 -3
  47. package/dist/components/MarkdownViewer.d.ts +11 -2
  48. package/dist/components/MermaidDiagram.d.ts +21 -0
  49. package/dist/components/ReadingPlaceKeeper.d.ts +32 -0
  50. package/dist/components/SelectionKeeper.d.ts +38 -0
  51. package/dist/components/SpreadsheetBlock.d.ts +2 -1
  52. package/dist/components/blockKeys.d.ts +9 -2
  53. package/dist/components/blockNotice.d.ts +15 -0
  54. package/dist/components/blockOffsets.d.ts +3 -0
  55. package/dist/components/clipboard.d.ts +1 -0
  56. package/dist/components/embeds/ClientFrame.d.ts +1 -0
  57. package/dist/components/embeds/ProviderEmbed.d.ts +2 -1
  58. package/dist/components/embeds/embedLabels.d.ts +1 -1
  59. package/dist/components/embeds/linkCardFetch.d.ts +2 -0
  60. package/dist/components/embeds.d.ts +5 -0
  61. package/dist/components/fileSave.d.ts +1 -0
  62. package/dist/components/headingLevels.d.ts +6 -0
  63. package/dist/components/htmlNodes.d.ts +2 -0
  64. package/dist/components/htmlSanitizer.d.ts +15 -2
  65. package/dist/components/labels.d.ts +3 -2
  66. package/dist/components/links.d.ts +1 -0
  67. package/dist/components/mdastNodes/CodeNode.d.ts +3 -1
  68. package/dist/components/mermaidAccessibility.d.ts +11 -0
  69. package/dist/components/mermaidExport.d.ts +24 -0
  70. package/dist/components/mermaidLabels.d.ts +89 -0
  71. package/dist/components/mermaidSetup.d.ts +10 -0
  72. package/dist/components/missingImageLabels.d.ts +2 -0
  73. package/dist/components/ownPixels.d.ts +1 -0
  74. package/dist/components/rawHtml.d.ts +7 -3
  75. package/dist/components/spreadsheetClipboard.d.ts +1 -1
  76. package/dist/components/spreadsheetModel.d.ts +1 -0
  77. package/dist/components/svgRaster.d.ts +2 -2
  78. package/dist/components/viewerLabels.d.ts +13 -3
  79. package/dist/contentColors.d.ts +21 -0
  80. package/dist/conversion.d.ts +7 -0
  81. package/dist/converter/NOTICES.md +6 -6
  82. package/dist/converter/createMarkdownConverter.d.ts +1 -0
  83. package/dist/converter/protocol.d.ts +4 -0
  84. package/dist/converter.cjs +1 -1
  85. package/dist/converter.js +89 -71
  86. package/dist/converter.wasm +0 -0
  87. package/dist/{cose-bilkent-JH36ORCC-BxO1rjEU.js → cose-bilkent-JH36ORCC-CR6Hdvto.js} +24 -24
  88. package/dist/cose-bilkent-JH36ORCC-reAbGeDU.cjs +1 -0
  89. package/dist/cynefinDiagram-TSTJHNR4-2qz-sUtp.cjs +62 -0
  90. package/dist/{cynefinDiagram-TSTJHNR4-DBD-B_Un.js → cynefinDiagram-TSTJHNR4-D1eY-FSf.js} +65 -65
  91. package/dist/dagre-VKFMJZFB-Byr9WPjb.cjs +4 -0
  92. package/dist/{dagre-VKFMJZFB-B8vZCPJg.js → dagre-VKFMJZFB-CXSczF8v.js} +26 -26
  93. package/dist/{diagram-FQU43EPY-DwhEcKWF.cjs → diagram-FQU43EPY-2YWng437.cjs} +1 -1
  94. package/dist/{diagram-FQU43EPY-YrRTNuX-.js → diagram-FQU43EPY-BZo0xcaj.js} +54 -54
  95. package/dist/diagram-G47NLZAW-CQS7BN4F.cjs +24 -0
  96. package/dist/{diagram-G47NLZAW-D4vmirJw.js → diagram-G47NLZAW-CvJW9ny8.js} +65 -65
  97. package/dist/{diagram-NH7WQ7WH-Drekwiur.js → diagram-NH7WQ7WH-C6VIkj-R.js} +18 -18
  98. package/dist/diagram-NH7WQ7WH-DXUwOBe7.cjs +24 -0
  99. package/dist/{diagram-OA4YK3LP-DZsM4Fpo.js → diagram-OA4YK3LP-Co6nMbJc.js} +29 -29
  100. package/dist/{diagram-OA4YK3LP-DeJ7pMIO.cjs → diagram-OA4YK3LP-DBUm2qxb.cjs} +3 -3
  101. package/dist/{diagram-WEI45ONY-CjRbsbkF.js → diagram-WEI45ONY-BaMbc5o2.js} +76 -76
  102. package/dist/diagram-WEI45ONY-ChpK2gP3.cjs +41 -0
  103. package/dist/ebnfDiagram-CCIWWBDH-DMIRHp8N.cjs +1 -0
  104. package/dist/{ebnfDiagram-CCIWWBDH-D0kt5Zdu.js → ebnfDiagram-CCIWWBDH-i7CR-FU0.js} +3 -3
  105. package/dist/embeds/frames.d.ts +4 -0
  106. package/dist/embeds/linkCards.d.ts +3 -1
  107. package/dist/embeds/providers.d.ts +1 -0
  108. package/dist/embeds/testing.cjs +1 -1
  109. package/dist/embeds/testing.js +1 -1
  110. package/dist/embeds-B4g6w7Tf.cjs +1 -0
  111. package/dist/embeds-Dra-dGKD.js +64 -0
  112. package/dist/embeds.cjs +1 -1
  113. package/dist/embeds.d.ts +2 -2
  114. package/dist/embeds.js +31 -70
  115. package/dist/{erDiagram-Q63AITRT-Ce4GpK2Z.js → erDiagram-Q63AITRT-DC-HhdaO.js} +69 -69
  116. package/dist/{erDiagram-Q63AITRT-DqFANbZx.cjs → erDiagram-Q63AITRT-DjRvJyWK.cjs} +1 -1
  117. package/dist/errors-BWZJx2MD.cjs +1 -0
  118. package/dist/errors-CapTNE7l.js +62 -0
  119. package/dist/errors.d.ts +2 -2
  120. package/dist/extractHeadings-BfYlTVvN.js +6773 -0
  121. package/dist/extractHeadings-CZPJi4gM.cjs +12 -0
  122. package/dist/flowDiagram-23GEKE2U-CiNzp6BS.js +7 -0
  123. package/dist/flowDiagram-23GEKE2U-DzZNPkRJ.cjs +1 -0
  124. package/dist/{ganttDiagram-NO4QXBWP-DjpANtqX.js → ganttDiagram-NO4QXBWP-BwbtaPxc.js} +69 -69
  125. package/dist/ganttDiagram-NO4QXBWP-CJv5UQ4O.cjs +292 -0
  126. package/dist/gen/markdown/v1/linkcard_connect.d.ts +19 -0
  127. package/dist/gen/markdown/v1/linkcard_pb.d.ts +87 -0
  128. package/dist/gen/markdown/v1/markdown_pb.d.ts +4 -0
  129. package/dist/{gitGraphDiagram-IHSO6WYX-DzhnsGXo.js → gitGraphDiagram-IHSO6WYX--yebcp4V.js} +26 -26
  130. package/dist/gitGraphDiagram-IHSO6WYX-dSwtW7X6.cjs +106 -0
  131. package/dist/index.cjs +1 -1
  132. package/dist/index.client.cjs +1 -1
  133. package/dist/index.client.d.ts +6 -3
  134. package/dist/index.client.js +54 -46
  135. package/dist/index.js +54 -46
  136. package/dist/index.server.cjs +1 -1
  137. package/dist/index.server.d.ts +2 -1
  138. package/dist/index.server.js +126 -873
  139. package/dist/{infoDiagram-FWYZ7A6U-hraoyboI.js → infoDiagram-FWYZ7A6U-B4AiTiqD.js} +9 -9
  140. package/dist/infoDiagram-FWYZ7A6U-BOj0VF20.cjs +2 -0
  141. package/dist/{ishikawaDiagram-FXEZZL3T-cBJei3wJ.js → ishikawaDiagram-FXEZZL3T-BsYs_qnQ.js} +55 -55
  142. package/dist/{ishikawaDiagram-FXEZZL3T-D5b25aDN.cjs → ishikawaDiagram-FXEZZL3T-CisV4kPO.cjs} +1 -1
  143. package/dist/{journeyDiagram-5HDEW3XC-DrNyUSsx.cjs → journeyDiagram-5HDEW3XC-BAvgWwpr.cjs} +1 -1
  144. package/dist/{journeyDiagram-5HDEW3XC-IkQqMl8f.js → journeyDiagram-5HDEW3XC-DbDo-dqu.js} +29 -29
  145. package/dist/{kanban-definition-HUTT4EX6-D2UL88Cz.js → kanban-definition-HUTT4EX6-BlPZISwH.js} +111 -111
  146. package/dist/{kanban-definition-HUTT4EX6-CvBgN3eX.cjs → kanban-definition-HUTT4EX6-RjzOWas9.cjs} +2 -2
  147. package/dist/{linear-BiJV9gYf.js → linear-BXWX8YXI.js} +33 -33
  148. package/dist/linear-CKPQExK8.cjs +1 -0
  149. package/dist/linkCardServer/linkCardCore.d.ts +10 -0
  150. package/dist/linkCardServer/linkCardHandler.server.d.ts +1 -6
  151. package/dist/linkCardServer/pageFetchPort.d.ts +19 -0
  152. package/dist/linkCardServer/{pageMetadata.server.d.ts → pageMetadata.d.ts} +11 -3
  153. package/dist/linkCards-BikpIncf.cjs +1 -0
  154. package/dist/linkCards-DfSLqLPF.js +50 -0
  155. package/dist/linkCards.cjs +1 -0
  156. package/dist/linkCards.d.ts +2 -0
  157. package/dist/linkCards.js +5 -0
  158. package/dist/markdownServiceClient-C47z3Ynu.cjs +1 -0
  159. package/dist/markdownServiceClient-uDeklhtG.js +480 -0
  160. package/dist/markdownServiceClient.d.ts +20 -0
  161. package/dist/mermaid.core-C4EClWgB.js +15595 -0
  162. package/dist/mermaid.core-CRP55Hm1.cjs +305 -0
  163. package/dist/mermaidFrame/NOTICES.md +1345 -0
  164. package/dist/mermaidFrame/browserPaintView.d.ts +3 -0
  165. package/dist/mermaidFrame/cssCleaner.d.ts +29 -0
  166. package/dist/mermaidFrame/diagramPalette.d.ts +24 -0
  167. package/dist/mermaidFrame/diagramTheme.d.ts +7 -0
  168. package/dist/mermaidFrame/drawableTypes.d.ts +6 -0
  169. package/dist/mermaidFrame/drawer.d.ts +47 -0
  170. package/dist/mermaidFrame/frame.d.ts +1 -0
  171. package/dist/mermaidFrame/frame.js +3308 -0
  172. package/dist/mermaidFrame/insertion.d.ts +11 -0
  173. package/dist/mermaidFrame/katexInert.d.ts +4 -0
  174. package/dist/mermaidFrame/namespaces.d.ts +3 -0
  175. package/dist/mermaidFrame/paintCheck.d.ts +2 -0
  176. package/dist/mermaidFrame/paintContract.d.ts +3 -0
  177. package/dist/mermaidFrame/paintDiagram.d.ts +3 -0
  178. package/dist/mermaidFrame/paintMap.d.ts +103 -0
  179. package/dist/mermaidFrame/paintRules.d.ts +18 -0
  180. package/dist/mermaidFrame/protocol.d.ts +43 -0
  181. package/dist/mermaidFrame/serve.d.ts +19 -0
  182. package/dist/mermaidFrame/svgCleaner.d.ts +4 -0
  183. package/dist/{mindmap-definition-LN4V7U3C-CK67hf6V.js → mindmap-definition-LN4V7U3C-BEWpoMMG.js} +75 -75
  184. package/dist/{mindmap-definition-LN4V7U3C-CBrUse7P.cjs → mindmap-definition-LN4V7U3C-DnbSfqWP.cjs} +3 -3
  185. package/dist/pageFetchPort-2H18xcdi.cjs +1 -0
  186. package/dist/pageFetchPort-DVpXsKCz.js +624 -0
  187. package/dist/{pegDiagram-2B236MQR-CwWX4Irn.js → pegDiagram-2B236MQR-BF7gLiB-.js} +3 -3
  188. package/dist/pegDiagram-2B236MQR-BJysMObA.cjs +1 -0
  189. package/dist/{pieDiagram-ENE6RG2P-MO42pSl8.js → pieDiagram-ENE6RG2P-D_YzC3qc.js} +65 -65
  190. package/dist/{pieDiagram-ENE6RG2P-BKvggS7k.cjs → pieDiagram-ENE6RG2P-UMpeIUyV.cjs} +2 -2
  191. package/dist/{providers-BwQK7hZa.js → providers-CSvkTZsr.js} +17 -2
  192. package/dist/{providers-DO2t7ks4.cjs → providers-Cx0FuVQU.cjs} +1 -1
  193. package/dist/{quadrantDiagram-ABIIQ3AL-BHhoAvLS.cjs → quadrantDiagram-ABIIQ3AL-DANY0ipQ.cjs} +1 -1
  194. package/dist/{quadrantDiagram-ABIIQ3AL-CzHgLdS3.js → quadrantDiagram-ABIIQ3AL-DDm-r_6D.js} +57 -57
  195. package/dist/railroadDiagram-RFXS5EU6-CDUd4th1.cjs +1 -0
  196. package/dist/{railroadDiagram-RFXS5EU6-Bu_Fhi5x.js → railroadDiagram-RFXS5EU6-hJ6uB90G.js} +3 -3
  197. package/dist/remarkProcessor.server.d.ts +2 -0
  198. package/dist/{requirementDiagram-TGXJPOKE-CY-JYM-P.js → requirementDiagram-TGXJPOKE-BJef5Jb0.js} +29 -29
  199. package/dist/{requirementDiagram-TGXJPOKE-BhdvQnjG.cjs → requirementDiagram-TGXJPOKE-DaoCo7go.cjs} +1 -1
  200. package/dist/{sankeyDiagram-HTMAVEWB-BmHtjxlW.js → sankeyDiagram-HTMAVEWB-BZQs0bE-.js} +48 -48
  201. package/dist/{sankeyDiagram-HTMAVEWB-CUeYKZeQ.cjs → sankeyDiagram-HTMAVEWB-DXiv0YOu.cjs} +3 -3
  202. package/dist/{sequenceDiagram-DBY2YBRQ-GepntdDB.cjs → sequenceDiagram-DBY2YBRQ-CJGpsnsv.cjs} +1 -1
  203. package/dist/{sequenceDiagram-DBY2YBRQ-Cn2CC9BC.js → sequenceDiagram-DBY2YBRQ-D05U2w26.js} +86 -86
  204. package/dist/serviceClient.cjs +1 -0
  205. package/dist/serviceClient.d.ts +3 -0
  206. package/dist/serviceClient.js +9 -0
  207. package/dist/{sizeCapture-X5ZJPWSS-CZF99dy_.js → sizeCapture-X5ZJPWSS-DTr0Vm61.js} +1 -1
  208. package/dist/sizeCapture-X5ZJPWSS-DjuH1zNP.cjs +1 -0
  209. package/dist/{stateDiagram-2N3HPSRC-CCbBvBua.js → stateDiagram-2N3HPSRC-B8nvJKpB.js} +20 -20
  210. package/dist/stateDiagram-2N3HPSRC-BrB47FD-.cjs +1 -0
  211. package/dist/stateDiagram-v2-6OUMAXLB-CC8gOGDK.cjs +1 -0
  212. package/dist/{stateDiagram-v2-6OUMAXLB-_A1QESxx.js → stateDiagram-v2-6OUMAXLB-CV-JqAeP.js} +2 -2
  213. package/dist/styles/markdown.css +1 -1
  214. package/dist/styles/markdown.standalone.css +1 -1
  215. package/dist/{swimlanes-5IMT3BWC-B-BDM_Ae.js → swimlanes-5IMT3BWC-BPtufzUd.js} +3 -3
  216. package/dist/swimlanes-5IMT3BWC-WAbDPRgt.cjs +1 -0
  217. package/dist/{swimlanesDiagram-G3AALYLV-BysT2rWl.js → swimlanesDiagram-G3AALYLV-BQKEmJFX.js} +2 -2
  218. package/dist/{swimlanesDiagram-G3AALYLV-DZuQxKuB.cjs → swimlanesDiagram-G3AALYLV-BTwwtLZL.cjs} +1 -1
  219. package/dist/{timeline-definition-FHXFAJF6-DVzdzbl1.js → timeline-definition-FHXFAJF6-DJ6GV7Fz.js} +34 -34
  220. package/dist/{timeline-definition-FHXFAJF6-oFf_sUOI.cjs → timeline-definition-FHXFAJF6-qdkrah7t.cjs} +1 -1
  221. package/dist/vennDiagram-L72KCM5P-B5onSWPA.cjs +34 -0
  222. package/dist/{vennDiagram-L72KCM5P-Bm1TGZux.js → vennDiagram-L72KCM5P-DWnnndTj.js} +196 -196
  223. package/dist/viewer-settings.cjs +1 -1
  224. package/dist/viewer-settings.d.ts +8 -0
  225. package/dist/viewer-settings.js +11 -5
  226. package/dist/{wardleyDiagram-EHGQE667-BC_1RAbp.js → wardleyDiagram-EHGQE667-DFmDgQSb.js} +41 -41
  227. package/dist/{wardleyDiagram-EHGQE667-CqB3gLCH.cjs → wardleyDiagram-EHGQE667-DdeBbvVM.cjs} +2 -2
  228. package/dist/{xychartDiagram-FW5EYKEG-a1vb5UxD.cjs → xychartDiagram-FW5EYKEG-CiJQMClv.cjs} +1 -1
  229. package/dist/{xychartDiagram-FW5EYKEG-ClITdEhV.js → xychartDiagram-FW5EYKEG-L2Kj4cZA.js} +28 -28
  230. package/package.json +31 -13
  231. package/dist/abnfDiagram-VRR7QNED-Crz-ChMJ.cjs +0 -1
  232. package/dist/arc-BKGy6Me1.js +0 -83
  233. package/dist/arc-CYJCyviq.cjs +0 -1
  234. package/dist/architectureDiagram-ZJ3FMSHR-gTB8pttO.cjs +0 -36
  235. package/dist/channel-BKoPLS2j.cjs +0 -1
  236. package/dist/chunk-2Q5K7J3B-DgtYKcDs.cjs +0 -1
  237. package/dist/chunk-32BRIVSS-D-6GBFtx.cjs +0 -1
  238. package/dist/chunk-JWPE2WC7-5sd39cpa.cjs +0 -1
  239. package/dist/chunk-RYQCIY6F-BBTBydZd.cjs +0 -1
  240. package/dist/chunk-VR4S4FIN-CHKLwvYh.cjs +0 -1
  241. package/dist/chunk-XXDRQBXY-DttkP7wv.cjs +0 -1
  242. package/dist/classDiagram-OUVF2IWQ-BKruajP_.cjs +0 -1
  243. package/dist/classDiagram-v2-EOCWNBFH-BKruajP_.cjs +0 -1
  244. package/dist/cose-bilkent-JH36ORCC-Cjfa6NyL.cjs +0 -1
  245. package/dist/cynefinDiagram-TSTJHNR4-B3boTACW.cjs +0 -62
  246. package/dist/dagre-VKFMJZFB-DF3Mvuas.cjs +0 -4
  247. package/dist/diagram-G47NLZAW-CKIEbGLS.cjs +0 -24
  248. package/dist/diagram-NH7WQ7WH-D6wMwkLQ.cjs +0 -24
  249. package/dist/diagram-WEI45ONY-SYHw7k8b.cjs +0 -41
  250. package/dist/ebnfDiagram-CCIWWBDH-23bjk9FU.cjs +0 -1
  251. package/dist/errors-BW5JXRoX.cjs +0 -1
  252. package/dist/errors-Blk_XJ9C.js +0 -55
  253. package/dist/extractHeadings-DlQcPv5N.js +0 -20361
  254. package/dist/extractHeadings-wWAipplS.cjs +0 -315
  255. package/dist/flowDiagram-23GEKE2U-CRC9U6qD.cjs +0 -1
  256. package/dist/flowDiagram-23GEKE2U-CRo7TM3K.js +0 -7
  257. package/dist/ganttDiagram-NO4QXBWP-CR55KG5d.cjs +0 -292
  258. package/dist/gitGraphDiagram-IHSO6WYX-BWYUn1Bi.cjs +0 -106
  259. package/dist/infoDiagram-FWYZ7A6U-CsUGc58_.cjs +0 -2
  260. package/dist/linear-DwqXGYLc.cjs +0 -1
  261. package/dist/linkCardServer/addressGuard.server.d.ts +0 -25
  262. package/dist/linkCardServer/pageFetch.server.d.ts +0 -37
  263. package/dist/linkCards-1JxY8wdm.js +0 -48
  264. package/dist/linkCards-Bjd_vW39.cjs +0 -1
  265. package/dist/pegDiagram-2B236MQR-C5pLIpKI.cjs +0 -1
  266. package/dist/railroadDiagram-RFXS5EU6-CwGmOFD_.cjs +0 -1
  267. package/dist/sizeCapture-X5ZJPWSS-Cd-k8xwk.cjs +0 -1
  268. package/dist/stateDiagram-2N3HPSRC-D2cvrAtN.cjs +0 -1
  269. package/dist/stateDiagram-v2-6OUMAXLB-BaktPIVY.cjs +0 -1
  270. package/dist/swimlanes-5IMT3BWC-DtdLK5z3.cjs +0 -1
  271. package/dist/vennDiagram-L72KCM5P-Ba2FGeN1.cjs +0 -34
  272. /package/dist/linkCardServer/{htmlEncoding.server.d.ts → htmlEncoding.d.ts} +0 -0
  273. /package/dist/linkCardServer/{metadataCache.server.d.ts → metadataCache.d.ts} +0 -0
@@ -1,11 +1,11 @@
1
- import { I as er } from "./chunk-2Q5K7J3B-CopwR1m3.js";
2
- import { _ as x, a6 as rr, U as $, V as Yt, W as at, a1 as Me, X as ar, Y as sr, a3 as N, R as De, K as ir, aa as nr, Q as or, O as cr, ab as lr, ac as hr, ad as dr, ag as Tr, a0 as Wt, a9 as Q, ar as Z, as as kt, at as Be, au as pr, ak as Ft, av as Er, aw as Ve } from "./extractHeadings-DlQcPv5N.js";
3
- import { a as ur, b as se, g as dt, d as fr, e as ie, f as ne } from "./chunk-32BRIVSS-BnNlhc1M.js";
1
+ import { I as er } from "./chunk-2Q5K7J3B-BkE4Fsuz.js";
2
+ import { _ as x, o as rr, c as $, d as Yt, l as at, j as Me, e as ar, f as sr, k as N, b as De, s as ir, q as nr, a as or, g as cr, t as lr, v as hr, J as dr, z as Tr, i as Wt, u as Z, L as Q, M as kt, N as Be, Z as pr, D as Ft, O as Er, P as Ve } from "./mermaid.core-C4EClWgB.js";
3
+ import { a as ur, b as se, g as dt, d as fr, e as ie, f as ne } from "./chunk-32BRIVSS-CqpDiZD2.js";
4
4
  var ee = (function() {
5
5
  var e = /* @__PURE__ */ x(function(ut, S, v, P) {
6
6
  for (v = v || {}, P = ut.length; P--; v[ut[P]] = S) ;
7
7
  return v;
8
- }, "o"), t = [1, 2], a = [1, 3], r = [1, 4], i = [2, 4], n = [1, 9], s = [1, 11], c = [1, 12], E = [1, 14], h = [1, 15], p = [1, 17], _ = [1, 18], u = [1, 19], O = [1, 25], T = [1, 26], g = [1, 27], f = [1, 28], I = [1, 29], L = [1, 30], b = [1, 31], w = [1, 32], A = [1, 33], D = [1, 34], M = [1, 35], V = [1, 36], W = [1, 37], U = [1, 38], G = [1, 39], X = [1, 40], nt = [1, 42], j = [1, 43], q = [1, 44], st = [1, 45], tt = [1, 46], Y = [1, 47], C = [1, 4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 48, 49, 50, 51, 53, 54, 56, 61, 62, 63, 64, 73], St = [1, 74], Dt = [1, 80], m = [1, 81], k = [1, 82], lt = [1, 83], et = [1, 84], K = [1, 85], Ot = [1, 86], oe = [1, 87], ce = [1, 88], le = [1, 89], he = [1, 90], de = [1, 91], Te = [1, 92], pe = [1, 93], Ee = [1, 94], ue = [1, 95], fe = [1, 96], _e = [1, 97], ge = [1, 98], xe = [1, 99], Ie = [1, 100], ye = [1, 101], Re = [1, 102], Oe = [1, 103], Le = [1, 104], be = [1, 105], me = [2, 78], wt = [4, 5, 17, 51, 53, 54], vt = [4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 51, 53, 54, 56, 61, 62, 63, 64, 73], Ae = [4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 50, 51, 53, 54, 56, 61, 62, 63, 64, 73], Gt = [4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 49, 51, 53, 54, 56, 61, 62, 63, 64, 73], Se = [4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 48, 51, 53, 54, 56, 61, 62, 63, 64, 73], Xt = [5, 52], F = [70, 71, 72, 73], ot = [1, 151], Jt = {
8
+ }, "o"), t = [1, 2], a = [1, 3], r = [1, 4], i = [2, 4], n = [1, 9], s = [1, 11], c = [1, 12], E = [1, 14], h = [1, 15], p = [1, 17], _ = [1, 18], u = [1, 19], O = [1, 25], T = [1, 26], g = [1, 27], f = [1, 28], I = [1, 29], L = [1, 30], b = [1, 31], w = [1, 32], A = [1, 33], D = [1, 34], M = [1, 35], V = [1, 36], W = [1, 37], U = [1, 38], G = [1, 39], X = [1, 40], nt = [1, 42], j = [1, 43], H = [1, 44], st = [1, 45], tt = [1, 46], Y = [1, 47], C = [1, 4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 48, 49, 50, 51, 53, 54, 56, 61, 62, 63, 64, 73], St = [1, 74], Dt = [1, 80], m = [1, 81], k = [1, 82], lt = [1, 83], et = [1, 84], K = [1, 85], Ot = [1, 86], oe = [1, 87], ce = [1, 88], le = [1, 89], he = [1, 90], de = [1, 91], Te = [1, 92], pe = [1, 93], Ee = [1, 94], ue = [1, 95], fe = [1, 96], _e = [1, 97], ge = [1, 98], xe = [1, 99], Ie = [1, 100], ye = [1, 101], Re = [1, 102], Oe = [1, 103], Le = [1, 104], be = [1, 105], me = [2, 78], wt = [4, 5, 17, 51, 53, 54], vt = [4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 51, 53, 54, 56, 61, 62, 63, 64, 73], Ae = [4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 50, 51, 53, 54, 56, 61, 62, 63, 64, 73], Gt = [4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 49, 51, 53, 54, 56, 61, 62, 63, 64, 73], Se = [4, 5, 10, 14, 15, 17, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 48, 51, 53, 54, 56, 61, 62, 63, 64, 73], Xt = [5, 52], F = [70, 71, 72, 73], ot = [1, 151], Jt = {
9
9
  trace: /* @__PURE__ */ x(function() {
10
10
  }, "trace"),
11
11
  yy: {},
@@ -301,7 +301,7 @@ var ee = (function() {
301
301
  break;
302
302
  }
303
303
  }, "anonymous"),
304
- table: [{ 3: 1, 4: t, 5: a, 6: r }, { 1: [3] }, { 3: 5, 4: t, 5: a, 6: r }, { 3: 6, 4: t, 5: a, 6: r }, e([1, 4, 5, 10, 14, 15, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 51, 53, 54, 56, 61, 62, 63, 64, 73], i, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, e(C, [2, 5]), { 9: 48, 13: 13, 14: E, 15: h, 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, e(C, [2, 7]), e(C, [2, 8]), e(C, [2, 9]), e(C, [2, 15]), { 13: 49, 51: U, 53: G, 54: X }, { 16: [1, 50] }, { 5: [1, 51] }, { 5: [1, 54], 20: [1, 52], 21: [1, 53] }, { 23: 55, 73: Y }, { 23: 56, 73: Y }, { 5: [1, 57] }, { 5: [1, 58] }, { 5: [1, 59] }, { 5: [1, 60] }, { 5: [1, 61] }, e(C, [2, 30]), e(C, [2, 31]), { 33: [1, 62] }, { 35: [1, 63] }, e(C, [2, 34]), { 16: [1, 64] }, { 16: [1, 65] }, { 16: [1, 66] }, { 16: [1, 67] }, { 16: [1, 68] }, { 16: [1, 69] }, { 16: [1, 70] }, { 16: [1, 71] }, { 23: 72, 55: 73, 73: St }, { 23: 75, 55: 76, 73: St }, { 23: 77, 73: Y }, { 69: 78, 72: [1, 79], 78: Dt, 79: m, 80: k, 81: lt, 82: et, 83: K, 84: Ot, 85: oe, 86: ce, 87: le, 88: he, 89: de, 90: Te, 91: pe, 92: Ee, 93: ue, 94: fe, 95: _e, 96: ge, 97: xe, 98: Ie, 99: ye, 100: Re, 101: Oe, 102: Le, 103: be }, { 57: 106, 59: [1, 107], 67: [1, 108], 68: [1, 109] }, { 23: 110, 73: Y }, { 23: 111, 73: Y }, { 23: 112, 73: Y }, { 23: 113, 73: Y }, e([5, 66, 72, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104], me), e(C, [2, 6]), e(C, [2, 16]), e(wt, [2, 10], { 11: 114 }), e(C, [2, 18]), { 5: [1, 116], 20: [1, 115] }, { 5: [1, 117] }, e(C, [2, 22]), { 5: [1, 118] }, { 5: [1, 119] }, e(C, [2, 25]), e(C, [2, 26]), e(C, [2, 27]), e(C, [2, 28]), e(C, [2, 29]), e(C, [2, 32]), e(C, [2, 33]), e(vt, i, { 7: 120 }), e(vt, i, { 7: 121 }), e(vt, i, { 7: 122 }), e(Ae, i, { 41: 123, 7: 124 }), e(Gt, i, { 43: 125, 7: 126 }), e(Gt, i, { 7: 126, 43: 127 }), e(Se, i, { 46: 128, 7: 129 }), e(vt, i, { 7: 130 }), { 5: [1, 132], 52: [1, 131] }, { 5: [1, 134], 52: [1, 133] }, e(Xt, me, { 74: 135, 75: [1, 136] }), { 5: [1, 138], 52: [1, 137] }, { 5: [1, 140], 52: [1, 139] }, { 5: [1, 141] }, { 23: 145, 70: [1, 142], 71: [1, 143], 72: [1, 144], 73: Y }, { 69: 146, 78: Dt, 79: m, 80: k, 81: lt, 82: et, 83: K, 84: Ot, 85: oe, 86: ce, 87: le, 88: he, 89: de, 90: Te, 91: pe, 92: Ee, 93: ue, 94: fe, 95: _e, 96: ge, 97: xe, 98: Ie, 99: ye, 100: Re, 101: Oe, 102: Le, 103: be }, e(F, [2, 79]), e(F, [2, 80]), e(F, [2, 81]), e(F, [2, 82]), e(F, [2, 83]), e(F, [2, 84]), e(F, [2, 85]), e(F, [2, 86]), e(F, [2, 87]), e(F, [2, 88]), e(F, [2, 89]), e(F, [2, 90]), e(F, [2, 91]), e(F, [2, 92]), e(F, [2, 93]), e(F, [2, 94]), e(F, [2, 95]), e(F, [2, 96]), e(F, [2, 97]), e(F, [2, 98]), e(F, [2, 99]), e(F, [2, 100]), e(F, [2, 101]), e(F, [2, 102]), e(F, [2, 103]), e(F, [2, 104]), { 23: 147, 73: Y }, { 23: 149, 60: 148, 73: Y }, { 73: [2, 68] }, { 73: [2, 69] }, { 58: 150, 104: ot }, { 58: 152, 104: ot }, { 58: 153, 104: ot }, { 58: 154, 104: ot }, { 4: [1, 157], 5: [1, 159], 12: 156, 13: 158, 17: [1, 155], 51: U, 53: G, 54: X }, { 5: [1, 160] }, e(C, [2, 20]), e(C, [2, 21]), e(C, [2, 23]), e(C, [2, 24]), { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 161], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 162], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 163], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 17: [1, 164] }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [2, 47], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 50: [1, 165], 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 17: [1, 166] }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [2, 45], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 49: [1, 167], 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 17: [1, 168] }, { 17: [1, 169] }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [2, 43], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 48: [1, 170], 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 171], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 16: [1, 172] }, e(C, [2, 50]), { 16: [1, 173] }, e(C, [2, 55]), e(Xt, [2, 76]), { 76: [1, 174] }, { 16: [1, 175] }, e(C, [2, 52]), { 16: [1, 176] }, e(C, [2, 57]), e(C, [2, 53]), { 23: 177, 73: Y }, { 23: 178, 73: Y }, { 23: 179, 73: Y }, { 58: 180, 104: ot }, { 23: 181, 72: [1, 182], 73: Y }, { 58: 183, 104: ot }, { 58: 184, 104: ot }, { 66: [1, 185], 104: [2, 67] }, { 5: [2, 60] }, { 5: [2, 105] }, { 5: [2, 61] }, { 5: [2, 62] }, { 5: [2, 63] }, e(C, [2, 17]), e(wt, [2, 11]), { 13: 186, 51: U, 53: G, 54: X }, e(wt, [2, 13]), e(wt, [2, 14]), e(C, [2, 19]), e(C, [2, 35]), e(C, [2, 36]), e(C, [2, 37]), e(C, [2, 38]), { 16: [1, 187] }, e(C, [2, 39]), { 16: [1, 188] }, e(C, [2, 40]), e(C, [2, 41]), { 16: [1, 189] }, e(C, [2, 42]), { 5: [1, 190] }, { 5: [1, 191] }, { 77: [1, 192] }, { 5: [1, 193] }, { 5: [1, 194] }, { 58: 195, 104: ot }, { 58: 196, 104: ot }, { 58: 197, 104: ot }, { 5: [2, 75] }, { 58: 198, 104: ot }, { 23: 199, 73: Y }, { 5: [2, 58] }, { 5: [2, 59] }, { 23: 200, 73: Y }, e(wt, [2, 12]), e(Ae, i, { 7: 124, 41: 201 }), e(Gt, i, { 7: 126, 43: 202 }), e(Se, i, { 7: 129, 46: 203 }), e(C, [2, 49]), e(C, [2, 54]), e(Xt, [2, 77]), e(C, [2, 51]), e(C, [2, 56]), { 5: [2, 70] }, { 5: [2, 71] }, { 5: [2, 72] }, { 5: [2, 73] }, { 58: 204, 104: ot }, { 104: [2, 66] }, { 17: [2, 48] }, { 17: [2, 46] }, { 17: [2, 44] }, { 5: [2, 74] }],
304
+ table: [{ 3: 1, 4: t, 5: a, 6: r }, { 1: [3] }, { 3: 5, 4: t, 5: a, 6: r }, { 3: 6, 4: t, 5: a, 6: r }, e([1, 4, 5, 10, 14, 15, 19, 22, 24, 30, 31, 32, 34, 36, 37, 38, 39, 40, 42, 44, 45, 47, 51, 53, 54, 56, 61, 62, 63, 64, 73], i, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, e(C, [2, 5]), { 9: 48, 13: 13, 14: E, 15: h, 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, e(C, [2, 7]), e(C, [2, 8]), e(C, [2, 9]), e(C, [2, 15]), { 13: 49, 51: U, 53: G, 54: X }, { 16: [1, 50] }, { 5: [1, 51] }, { 5: [1, 54], 20: [1, 52], 21: [1, 53] }, { 23: 55, 73: Y }, { 23: 56, 73: Y }, { 5: [1, 57] }, { 5: [1, 58] }, { 5: [1, 59] }, { 5: [1, 60] }, { 5: [1, 61] }, e(C, [2, 30]), e(C, [2, 31]), { 33: [1, 62] }, { 35: [1, 63] }, e(C, [2, 34]), { 16: [1, 64] }, { 16: [1, 65] }, { 16: [1, 66] }, { 16: [1, 67] }, { 16: [1, 68] }, { 16: [1, 69] }, { 16: [1, 70] }, { 16: [1, 71] }, { 23: 72, 55: 73, 73: St }, { 23: 75, 55: 76, 73: St }, { 23: 77, 73: Y }, { 69: 78, 72: [1, 79], 78: Dt, 79: m, 80: k, 81: lt, 82: et, 83: K, 84: Ot, 85: oe, 86: ce, 87: le, 88: he, 89: de, 90: Te, 91: pe, 92: Ee, 93: ue, 94: fe, 95: _e, 96: ge, 97: xe, 98: Ie, 99: ye, 100: Re, 101: Oe, 102: Le, 103: be }, { 57: 106, 59: [1, 107], 67: [1, 108], 68: [1, 109] }, { 23: 110, 73: Y }, { 23: 111, 73: Y }, { 23: 112, 73: Y }, { 23: 113, 73: Y }, e([5, 66, 72, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104], me), e(C, [2, 6]), e(C, [2, 16]), e(wt, [2, 10], { 11: 114 }), e(C, [2, 18]), { 5: [1, 116], 20: [1, 115] }, { 5: [1, 117] }, e(C, [2, 22]), { 5: [1, 118] }, { 5: [1, 119] }, e(C, [2, 25]), e(C, [2, 26]), e(C, [2, 27]), e(C, [2, 28]), e(C, [2, 29]), e(C, [2, 32]), e(C, [2, 33]), e(vt, i, { 7: 120 }), e(vt, i, { 7: 121 }), e(vt, i, { 7: 122 }), e(Ae, i, { 41: 123, 7: 124 }), e(Gt, i, { 43: 125, 7: 126 }), e(Gt, i, { 7: 126, 43: 127 }), e(Se, i, { 46: 128, 7: 129 }), e(vt, i, { 7: 130 }), { 5: [1, 132], 52: [1, 131] }, { 5: [1, 134], 52: [1, 133] }, e(Xt, me, { 74: 135, 75: [1, 136] }), { 5: [1, 138], 52: [1, 137] }, { 5: [1, 140], 52: [1, 139] }, { 5: [1, 141] }, { 23: 145, 70: [1, 142], 71: [1, 143], 72: [1, 144], 73: Y }, { 69: 146, 78: Dt, 79: m, 80: k, 81: lt, 82: et, 83: K, 84: Ot, 85: oe, 86: ce, 87: le, 88: he, 89: de, 90: Te, 91: pe, 92: Ee, 93: ue, 94: fe, 95: _e, 96: ge, 97: xe, 98: Ie, 99: ye, 100: Re, 101: Oe, 102: Le, 103: be }, e(F, [2, 79]), e(F, [2, 80]), e(F, [2, 81]), e(F, [2, 82]), e(F, [2, 83]), e(F, [2, 84]), e(F, [2, 85]), e(F, [2, 86]), e(F, [2, 87]), e(F, [2, 88]), e(F, [2, 89]), e(F, [2, 90]), e(F, [2, 91]), e(F, [2, 92]), e(F, [2, 93]), e(F, [2, 94]), e(F, [2, 95]), e(F, [2, 96]), e(F, [2, 97]), e(F, [2, 98]), e(F, [2, 99]), e(F, [2, 100]), e(F, [2, 101]), e(F, [2, 102]), e(F, [2, 103]), e(F, [2, 104]), { 23: 147, 73: Y }, { 23: 149, 60: 148, 73: Y }, { 73: [2, 68] }, { 73: [2, 69] }, { 58: 150, 104: ot }, { 58: 152, 104: ot }, { 58: 153, 104: ot }, { 58: 154, 104: ot }, { 4: [1, 157], 5: [1, 159], 12: 156, 13: 158, 17: [1, 155], 51: U, 53: G, 54: X }, { 5: [1, 160] }, e(C, [2, 20]), e(C, [2, 21]), e(C, [2, 23]), e(C, [2, 24]), { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 161], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 162], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 163], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 17: [1, 164] }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [2, 47], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 50: [1, 165], 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 17: [1, 166] }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [2, 45], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 49: [1, 167], 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 17: [1, 168] }, { 17: [1, 169] }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [2, 43], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 48: [1, 170], 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 171], 18: 16, 19: p, 22: _, 23: 41, 24: u, 25: 20, 26: 21, 27: 22, 28: 23, 29: 24, 30: O, 31: T, 32: g, 34: f, 36: I, 37: L, 38: b, 39: w, 40: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 16: [1, 172] }, e(C, [2, 50]), { 16: [1, 173] }, e(C, [2, 55]), e(Xt, [2, 76]), { 76: [1, 174] }, { 16: [1, 175] }, e(C, [2, 52]), { 16: [1, 176] }, e(C, [2, 57]), e(C, [2, 53]), { 23: 177, 73: Y }, { 23: 178, 73: Y }, { 23: 179, 73: Y }, { 58: 180, 104: ot }, { 23: 181, 72: [1, 182], 73: Y }, { 58: 183, 104: ot }, { 58: 184, 104: ot }, { 66: [1, 185], 104: [2, 67] }, { 5: [2, 60] }, { 5: [2, 105] }, { 5: [2, 61] }, { 5: [2, 62] }, { 5: [2, 63] }, e(C, [2, 17]), e(wt, [2, 11]), { 13: 186, 51: U, 53: G, 54: X }, e(wt, [2, 13]), e(wt, [2, 14]), e(C, [2, 19]), e(C, [2, 35]), e(C, [2, 36]), e(C, [2, 37]), e(C, [2, 38]), { 16: [1, 187] }, e(C, [2, 39]), { 16: [1, 188] }, e(C, [2, 40]), e(C, [2, 41]), { 16: [1, 189] }, e(C, [2, 42]), { 5: [1, 190] }, { 5: [1, 191] }, { 77: [1, 192] }, { 5: [1, 193] }, { 5: [1, 194] }, { 58: 195, 104: ot }, { 58: 196, 104: ot }, { 58: 197, 104: ot }, { 5: [2, 75] }, { 58: 198, 104: ot }, { 23: 199, 73: Y }, { 5: [2, 58] }, { 5: [2, 59] }, { 23: 200, 73: Y }, e(wt, [2, 12]), e(Ae, i, { 7: 124, 41: 201 }), e(Gt, i, { 7: 126, 43: 202 }), e(Se, i, { 7: 129, 46: 203 }), e(C, [2, 49]), e(C, [2, 54]), e(Xt, [2, 77]), e(C, [2, 51]), e(C, [2, 56]), { 5: [2, 70] }, { 5: [2, 71] }, { 5: [2, 72] }, { 5: [2, 73] }, { 58: 204, 104: ot }, { 104: [2, 66] }, { 17: [2, 48] }, { 17: [2, 46] }, { 17: [2, 44] }, { 5: [2, 74] }],
305
305
  defaultActions: { 5: [2, 1], 6: [2, 2], 108: [2, 68], 109: [2, 69], 150: [2, 60], 151: [2, 105], 152: [2, 61], 153: [2, 62], 154: [2, 63], 180: [2, 75], 183: [2, 58], 184: [2, 59], 195: [2, 70], 196: [2, 71], 197: [2, 72], 198: [2, 73], 200: [2, 66], 201: [2, 48], 202: [2, 46], 203: [2, 44], 204: [2, 74] },
306
306
  parseError: /* @__PURE__ */ x(function(S, v) {
307
307
  if (v.recoverable)
@@ -312,12 +312,12 @@ var ee = (function() {
312
312
  }
313
313
  }, "parseError"),
314
314
  parse: /* @__PURE__ */ x(function(S) {
315
- var v = this, P = [0], y = [], z = [null], o = [], Nt = this.table, d = "", Mt = 0, we = 0, Ze = 2, Ne = 1, $e = o.slice.call(arguments, 1), J = Object.create(this.lexer), gt = { yy: {} };
316
- for (var Qt in this.yy)
317
- Object.prototype.hasOwnProperty.call(this.yy, Qt) && (gt.yy[Qt] = this.yy[Qt]);
315
+ var v = this, P = [0], y = [], z = [null], o = [], Nt = this.table, d = "", Mt = 0, we = 0, Qe = 2, Ne = 1, $e = o.slice.call(arguments, 1), J = Object.create(this.lexer), gt = { yy: {} };
316
+ for (var Zt in this.yy)
317
+ Object.prototype.hasOwnProperty.call(this.yy, Zt) && (gt.yy[Zt] = this.yy[Zt]);
318
318
  J.setInput(S, gt.yy), gt.yy.lexer = J, gt.yy.parser = this, typeof J.yylloc > "u" && (J.yylloc = {});
319
- var Zt = J.yylloc;
320
- o.push(Zt);
319
+ var Qt = J.yylloc;
320
+ o.push(Qt);
321
321
  var je = J.options && J.options.ranges;
322
322
  typeof gt.yy.parseError == "function" ? this.parseError = gt.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
323
323
  function tr(it) {
@@ -334,14 +334,14 @@ var ee = (function() {
334
334
  var jt = "";
335
335
  Vt = [];
336
336
  for (Bt in Nt[xt])
337
- this.terminals_[Bt] && Bt > Ze && Vt.push("'" + this.terminals_[Bt] + "'");
337
+ this.terminals_[Bt] && Bt > Qe && Vt.push("'" + this.terminals_[Bt] + "'");
338
338
  J.showPosition ? jt = "Parse error on line " + (Mt + 1) + `:
339
339
  ` + J.showPosition() + `
340
340
  Expecting ` + Vt.join(", ") + ", got '" + (this.terminals_[rt] || rt) + "'" : jt = "Parse error on line " + (Mt + 1) + ": Unexpected " + (rt == Ne ? "end of input" : "'" + (this.terminals_[rt] || rt) + "'"), this.parseError(jt, {
341
341
  text: J.match,
342
342
  token: this.terminals_[rt] || rt,
343
343
  line: J.yylineno,
344
- loc: Zt,
344
+ loc: Qt,
345
345
  expected: Vt
346
346
  });
347
347
  }
@@ -349,7 +349,7 @@ Expecting ` + Vt.join(", ") + ", got '" + (this.terminals_[rt] || rt) + "'" : jt
349
349
  throw new Error("Parse Error: multiple actions possible at state: " + xt + ", token: " + rt);
350
350
  switch (ct[0]) {
351
351
  case 1:
352
- P.push(rt), z.push(J.yytext), o.push(J.yylloc), P.push(ct[1]), rt = null, we = J.yyleng, d = J.yytext, Mt = J.yylineno, Zt = J.yylloc;
352
+ P.push(rt), z.push(J.yytext), o.push(J.yylloc), P.push(ct[1]), rt = null, we = J.yyleng, d = J.yytext, Mt = J.yylineno, Qt = J.yylloc;
353
353
  break;
354
354
  case 2:
355
355
  if (Tt = this.productions_[ct[1]][1], Lt.$ = z[z.length - Tt], Lt._$ = {
@@ -378,7 +378,7 @@ Expecting ` + Vt.join(", ") + ", got '" + (this.terminals_[rt] || rt) + "'" : jt
378
378
  }
379
379
  return !0;
380
380
  }, "parse")
381
- }, Qe = /* @__PURE__ */ (function() {
381
+ }, Ze = /* @__PURE__ */ (function() {
382
382
  var ut = {
383
383
  EOF: 1,
384
384
  parseError: /* @__PURE__ */ x(function(v, P) {
@@ -747,7 +747,7 @@ Expecting ` + Vt.join(", ") + ", got '" + (this.terminals_[rt] || rt) + "'" : jt
747
747
  };
748
748
  return ut;
749
749
  })();
750
- Jt.lexer = Qe;
750
+ Jt.lexer = Ze;
751
751
  function Ct() {
752
752
  this.yy = {};
753
753
  }
@@ -1370,7 +1370,7 @@ var _r = ee, gr = {
1370
1370
  stroke: ${e.nodeBorder};
1371
1371
  }
1372
1372
  `;
1373
- }, "getStyles"), Or = Rr, It = 36, ft = "actor-top", _t = "actor-bottom", qt = "actor-box", yt = "actor-man", pt = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), Pt = /* @__PURE__ */ x(function(e, t) {
1373
+ }, "getStyles"), Or = Rr, It = 36, ft = "actor-top", _t = "actor-bottom", Ht = "actor-box", yt = "actor-man", pt = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), Pt = /* @__PURE__ */ x(function(e, t) {
1374
1374
  const a = fr(e, t);
1375
1375
  return Ft().look === "neo" && a.attr("data-look", "neo"), a;
1376
1376
  }, "drawRect"), Lr = /* @__PURE__ */ x(function(e, t, a, r, i) {
@@ -1404,7 +1404,7 @@ var _r = ee, gr = {
1404
1404
  return u.attr("height", O), { height: c.height + O, width: _ };
1405
1405
  }, "drawPopup"), zt = /* @__PURE__ */ x(function(e) {
1406
1406
  return "var pu = document.getElementById('" + e + "'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }";
1407
- }, "popupMenuToggle"), Ht = /* @__PURE__ */ x(async function(e, t, a = null) {
1407
+ }, "popupMenuToggle"), qt = /* @__PURE__ */ x(async function(e, t, a = null) {
1408
1408
  let r = e.append("foreignObject");
1409
1409
  const i = await Ve(t.text, Ft()), s = r.append("xhtml:div").attr("style", "width: fit-content;").attr("xmlns", "http://www.w3.org/1999/xhtml").html(i).node().getBoundingClientRect();
1410
1410
  if (r.attr("height", Math.round(s.height)).attr("width", Math.round(s.width)), t.class === "noteText") {
@@ -1494,14 +1494,14 @@ var _r = ee, gr = {
1494
1494
  const w = t.properties.icon.trim();
1495
1495
  w.charAt(0) === "@" ? ie(T, g.x + g.width - 20, g.y + 10, w.substr(1)) : ne(T, g.x + g.width - 20, g.y + 10, w);
1496
1496
  }
1497
- r || (T.attr("data-et", "participant"), T.attr("data-type", "participant"), T.attr("data-id", t.name)), Et(a, Z(t.description))(
1497
+ r || (T.attr("data-et", "participant"), T.attr("data-type", "participant"), T.attr("data-id", t.name)), Et(a, Q(t.description))(
1498
1498
  t.description,
1499
1499
  T,
1500
1500
  g.x,
1501
1501
  g.y,
1502
1502
  g.width,
1503
1503
  g.height,
1504
- { class: `actor ${qt}` },
1504
+ { class: `actor ${Ht}` },
1505
1505
  a
1506
1506
  );
1507
1507
  let b = t.height;
@@ -1529,14 +1529,14 @@ var _r = ee, gr = {
1529
1529
  const M = t.properties.icon.trim();
1530
1530
  M.charAt(0) === "@" ? ie(T, g.x + g.width - 20, g.y + 10, M.substr(1)) : ne(T, g.x + g.width - 20, g.y + 10, M);
1531
1531
  }
1532
- Et(a, Z(t.description))(
1532
+ Et(a, Q(t.description))(
1533
1533
  t.description,
1534
1534
  T,
1535
1535
  g.x - I,
1536
1536
  g.y + I,
1537
1537
  g.width,
1538
1538
  g.height,
1539
- { class: `actor ${qt}` },
1539
+ { class: `actor ${Ht}` },
1540
1540
  a
1541
1541
  );
1542
1542
  let D = t.height;
@@ -1568,14 +1568,14 @@ var _r = ee, gr = {
1568
1568
  const W = t.properties.icon.trim(), U = g.x + g.width - 20, G = g.y + 10;
1569
1569
  W.charAt(0) === "@" ? ie(T, U, G, W.substr(1)) : ne(T, U, G, W);
1570
1570
  }
1571
- Et(a, Z(t.description))(
1571
+ Et(a, Q(t.description))(
1572
1572
  t.description,
1573
1573
  T,
1574
1574
  g.x,
1575
1575
  g.y,
1576
1576
  g.width,
1577
1577
  g.height,
1578
- { class: `actor ${qt}` },
1578
+ { class: `actor ${Ht}` },
1579
1579
  a
1580
1580
  );
1581
1581
  let M = t.height;
@@ -1598,7 +1598,7 @@ var _r = ee, gr = {
1598
1598
  const M = n.get(t.name) ?? 0;
1599
1599
  pt.has(p) ? (I.style("stroke", O[M % O.length]), I.style("fill", u[M % O.length])) : (I.style("stroke", T), I.style("fill", g));
1600
1600
  const V = I.node().getBBox();
1601
- return t.height = V.height + 2 * (a?.sequence?.labelBoxHeight ?? 0), Et(a, Z(t.description))(
1601
+ return t.height = V.height + 2 * (a?.sequence?.labelBoxHeight ?? 0), Et(a, Q(t.description))(
1602
1602
  t.description,
1603
1603
  I,
1604
1604
  b.x,
@@ -1619,7 +1619,7 @@ var _r = ee, gr = {
1619
1619
  const w = i.get(t.name) ?? 0;
1620
1620
  pt.has(h) && (T.style("stroke", u[w % u.length]), T.style("fill", _[w % u.length]));
1621
1621
  const A = T.node().getBBox();
1622
- return t.height = A.height + (a?.sequence?.labelBoxHeight ?? 0), r || (B++, O.append("line").attr("id", "actor" + B).attr("x1", s).attr("y1", c).attr("x2", s).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), t.actorCnt = B), Et(a, Z(t.description))(
1622
+ return t.height = A.height + (a?.sequence?.labelBoxHeight ?? 0), r || (B++, O.append("line").attr("id", "actor" + B).attr("x1", s).attr("y1", c).attr("x2", s).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name).attr("data-et", "life-line").attr("data-id", t.name), t.actorCnt = B), Et(a, Q(t.description))(
1623
1623
  t.description,
1624
1624
  T,
1625
1625
  f.x,
@@ -1648,14 +1648,14 @@ var _r = ee, gr = {
1648
1648
  `;
1649
1649
  D.append("path").attr("d", M), p === "neo" && D.attr("filter", "url(#drop-shadow)");
1650
1650
  const V = i.get(t.name) ?? 0;
1651
- pt.has(E) ? (D.style("stroke", u[V % u.length]), D.style("fill", _[V % u.length])) : D.style("stroke", O), D.attr("transform", `translate(${L}, ${A})`), t.rectData = f, Et(a, Z(t.description))(
1651
+ pt.has(E) ? (D.style("stroke", u[V % u.length]), D.style("fill", _[V % u.length])) : D.style("stroke", O), D.attr("transform", `translate(${L}, ${A})`), t.rectData = f, Et(a, Q(t.description))(
1652
1652
  t.description,
1653
1653
  g,
1654
1654
  f.x,
1655
1655
  f.y + 35,
1656
1656
  f.width,
1657
1657
  f.height,
1658
- { class: `actor ${qt}` },
1658
+ { class: `actor ${Ht}` },
1659
1659
  a
1660
1660
  );
1661
1661
  const W = D.select("path:last-child");
@@ -1675,7 +1675,7 @@ var _r = ee, gr = {
1675
1675
  const b = i.get(t.name) ?? 0;
1676
1676
  pt.has(_) ? (f.style("stroke", T[b % T.length]), f.style("fill", O[b % T.length])) : f.style("stroke", g);
1677
1677
  const w = f.node().getBBox();
1678
- return t.height = w.height + (a.sequence.labelBoxHeight ?? 0), Et(a, Z(t.description))(
1678
+ return t.height = w.height + (a.sequence.labelBoxHeight ?? 0), Et(a, Q(t.description))(
1679
1679
  t.description,
1680
1680
  f,
1681
1681
  L.x,
@@ -1700,7 +1700,7 @@ var _r = ee, gr = {
1700
1700
  const A = dt();
1701
1701
  A.x = t.x, A.y = L, A.fill = "#eaeaea", A.width = t.width, A.height = t.height / I, A.class = "actor", A.rx = 3, A.ry = 3;
1702
1702
  const D = i.get(t.name) ?? 0;
1703
- return pt.has(h) ? (g.style("stroke", u[D % u.length]), g.style("fill", _[D % u.length])) : g.style("stroke", O), Et(a, Z(t.description))(
1703
+ return pt.has(h) ? (g.style("stroke", u[D % u.length]), g.style("fill", _[D % u.length])) : g.style("stroke", O), Et(a, Q(t.description))(
1704
1704
  t.description,
1705
1705
  g,
1706
1706
  A.x,
@@ -1780,11 +1780,11 @@ var _r = ee, gr = {
1780
1780
  });
1781
1781
  let T = se();
1782
1782
  T.text = a, T.x = t.startx, T.y = t.starty, T.fontFamily = h, T.fontSize = p, T.fontWeight = _, T.anchor = "middle", T.valign = "middle", T.tspan = !1, T.width = Math.max(E ?? 0, 50), T.height = c + (r.look === "neo" ? 15 : 0) || 20, T.textMargin = s, T.class = "labelText", Ye(u, T), T = Fe(), T.text = t.title, T.x = t.startx + E / 2 + (t.stopx - t.startx) / 2, T.y = t.starty + n + s, T.anchor = "middle", T.valign = "middle", T.textMargin = s, T.class = "loopText", T.fontFamily = h, T.fontSize = p, T.fontWeight = _, T.wrap = !0;
1783
- let g = Z(T.text) ? await Ht(u, T, t) : At(u, T);
1783
+ let g = Q(T.text) ? await qt(u, T, t) : At(u, T);
1784
1784
  if (t.sectionTitles !== void 0) {
1785
1785
  for (const [f, I] of Object.entries(t.sectionTitles))
1786
1786
  if (I.message) {
1787
- T.text = I.message, T.x = t.startx + (t.stopx - t.startx) / 2, T.y = t.sections[f].y + n + s, T.class = "sectionTitle", T.anchor = "middle", T.valign = "middle", T.tspan = !1, T.fontFamily = h, T.fontSize = p, T.fontWeight = _, T.wrap = t.wrap, Z(T.text) ? (t.starty = t.sections[f].y, await Ht(u, T, t)) : At(u, T);
1787
+ T.text = I.message, T.x = t.startx + (t.stopx - t.startx) / 2, T.y = t.sections[f].y + n + s, T.class = "sectionTitle", T.anchor = "middle", T.valign = "middle", T.tspan = !1, T.fontFamily = h, T.fontSize = p, T.fontWeight = _, T.wrap = t.wrap, Q(T.text) ? (t.starty = t.sections[f].y, await qt(u, T, t)) : At(u, T);
1788
1788
  let L = Math.round(
1789
1789
  g.map((b) => (b._groups || b)[0][0].getBBox().height).reduce((b, w) => b + w)
1790
1790
  );
@@ -1813,9 +1813,9 @@ var _r = ee, gr = {
1813
1813
  e.append("defs").append("marker").attr("id", t + "-arrowhead").attr("refX", 7.9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M -1 0 L 10 5 L 0 10 z");
1814
1814
  }, "insertArrowHead"), Fr = /* @__PURE__ */ x(function(e, t) {
1815
1815
  e.append("defs").append("marker").attr("id", t + "-filled-head").attr("refX", 15.5).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
1816
- }, "insertArrowFilledHead"), Hr = /* @__PURE__ */ x(function(e, t) {
1816
+ }, "insertArrowFilledHead"), qr = /* @__PURE__ */ x(function(e, t) {
1817
1817
  e.append("defs").append("marker").attr("id", t + "-sequencenumber").attr("refX", 15).attr("refY", 15).attr("markerWidth", 60).attr("markerHeight", 40).attr("orient", "auto").append("circle").attr("cx", 15).attr("cy", 15).attr("r", 6);
1818
- }, "insertSequenceNumber"), qr = /* @__PURE__ */ x(function(e, t) {
1818
+ }, "insertSequenceNumber"), Hr = /* @__PURE__ */ x(function(e, t) {
1819
1819
  e.append("defs").append("marker").attr("id", t + "-crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 4).attr("refY", 4.5).append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1pt").attr("d", "M 1,2 L 6,7 M 6,2 L 1,7");
1820
1820
  }, "insertArrowCrossHead"), zr = /* @__PURE__ */ x(function(e, t) {
1821
1821
  const { theme: a } = t;
@@ -1908,11 +1908,11 @@ var _r = ee, gr = {
1908
1908
  e.append("defs").append("marker").attr("id", t + "-solidTopArrowHead").attr("refX", 7.9).attr("refY", 7.25).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 0 L 10 8 L 0 8 z");
1909
1909
  }, "insertSolidTopArrowHead"), Jr = /* @__PURE__ */ x(function(e, t) {
1910
1910
  e.append("defs").append("marker").attr("id", t + "-solidBottomArrowHead").attr("refX", 7.9).attr("refY", 0.75).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 0 L 10 0 L 0 8 z");
1911
- }, "insertSolidBottomArrowHead"), Qr = /* @__PURE__ */ x(function(e, t) {
1911
+ }, "insertSolidBottomArrowHead"), Zr = /* @__PURE__ */ x(function(e, t) {
1912
1912
  e.append("defs").append("marker").attr("id", t + "-stickTopArrowHead").attr("refX", 7.5).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 0 L 7 7").attr("stroke", "black").attr("stroke-width", 1.5).attr("fill", "none");
1913
- }, "insertStickTopArrowHead"), Zr = /* @__PURE__ */ x(function(e, t) {
1913
+ }, "insertStickTopArrowHead"), Qr = /* @__PURE__ */ x(function(e, t) {
1914
1914
  e.append("defs").append("marker").attr("id", t + "-stickBottomArrowHead").attr("refX", 7.5).attr("refY", 0).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 7 L 7 0").attr("stroke", "black").attr("stroke-width", 1.5).attr("fill", "none");
1915
- }, "insertStickBottomArrowHead"), H = {
1915
+ }, "insertStickBottomArrowHead"), q = {
1916
1916
  drawRect: Pt,
1917
1917
  drawText: At,
1918
1918
  drawLabel: Ye,
@@ -1925,8 +1925,8 @@ var _r = ee, gr = {
1925
1925
  drawBackgroundRect: Ke,
1926
1926
  insertArrowHead: Kr,
1927
1927
  insertArrowFilledHead: Fr,
1928
- insertSequenceNumber: Hr,
1929
- insertArrowCrossHead: qr,
1928
+ insertSequenceNumber: qr,
1929
+ insertArrowCrossHead: Hr,
1930
1930
  insertDatabaseIcon: Vr,
1931
1931
  insertComputerIcon: Yr,
1932
1932
  insertClockIcon: Wr,
@@ -1937,8 +1937,8 @@ var _r = ee, gr = {
1937
1937
  insertDropShadow: zr,
1938
1938
  insertSolidTopArrowHead: Xr,
1939
1939
  insertSolidBottomArrowHead: Jr,
1940
- insertStickTopArrowHead: Qr,
1941
- insertStickBottomArrowHead: Zr
1940
+ insertStickTopArrowHead: Zr,
1941
+ insertStickBottomArrowHead: Qr
1942
1942
  }, l = {}, R = {
1943
1943
  data: {
1944
1944
  startx: void 0,
@@ -2027,7 +2027,7 @@ var _r = ee, gr = {
2027
2027
  stopx: n + l.activationWidth,
2028
2028
  stopy: void 0,
2029
2029
  actor: e.from,
2030
- anchored: H.anchorElement(t)
2030
+ anchored: q.anchorElement(t)
2031
2031
  });
2032
2032
  }, "newActivation"),
2033
2033
  endActivation: /* @__PURE__ */ x(function(e) {
@@ -2083,9 +2083,9 @@ var _r = ee, gr = {
2083
2083
  r.x = t.startx, r.y = t.starty, r.width = t.width || l.width, r.class = "note";
2084
2084
  const i = e.append("g");
2085
2085
  i.attr("data-et", "note"), i.attr("data-id", "i" + a);
2086
- const n = H.drawRect(i, r), s = se();
2086
+ const n = q.drawRect(i, r), s = se();
2087
2087
  s.x = t.startx, s.y = t.starty, s.width = r.width, s.dy = "1em", s.text = t.message, s.class = "noteText", s.fontFamily = l.noteFontFamily, s.fontSize = l.noteFontSize, s.fontWeight = l.noteFontWeight, s.anchor = l.noteAlign, s.textMargin = l.noteMargin, s.valign = "center";
2088
- const c = Z(s.text) ? await Ht(i, s) : At(i, s), E = Math.round(
2088
+ const c = Q(s.text) ? await qt(i, s) : At(i, s), E = Math.round(
2089
2089
  c.map((h) => (h._groups || h)[0][0].getBBox().height).reduce((h, p) => h + p)
2090
2090
  );
2091
2091
  n.attr("height", E + 2 * l.noteMargin), t.height += E + 2 * l.noteMargin, R.bumpVerticalPos(E + 2 * l.noteMargin), t.stopy = t.starty + E + 2 * l.noteMargin, t.stopx = t.startx + r.width, R.insert(t.startx, t.starty, t.stopx, t.stopy), R.models.addNote(t);
@@ -2134,9 +2134,9 @@ var _r = ee, gr = {
2134
2134
  fontSize: e.actorFontSize,
2135
2135
  fontWeight: e.actorFontWeight
2136
2136
  }), "actorFont");
2137
- async function He(e, t) {
2137
+ async function qe(e, t) {
2138
2138
  R.bumpVerticalPos(10);
2139
- const { startx: a, stopx: r, message: i } = t, n = N.splitBreaks(i).length, s = Z(i), c = s ? await kt(i, $()) : Q.calculateTextDimensions(i, Rt(l));
2139
+ const { startx: a, stopx: r, message: i } = t, n = N.splitBreaks(i).length, s = Q(i), c = s ? await kt(i, $()) : Z.calculateTextDimensions(i, Rt(l));
2140
2140
  if (!s) {
2141
2141
  const _ = c.height / n;
2142
2142
  t.height += _, R.bumpVerticalPos(_);
@@ -2156,10 +2156,10 @@ async function He(e, t) {
2156
2156
  h += l.boxMargin, E = R.getVerticalPos() + h, R.insert(a, E - 10, r, E);
2157
2157
  return R.bumpVerticalPos(h), t.height += h, t.stopy = t.starty + t.height, R.insert(t.fromBounds, t.starty, t.toBounds, t.stopy), E;
2158
2158
  }
2159
- x(He, "boundMessage");
2159
+ x(qe, "boundMessage");
2160
2160
  var jr = /* @__PURE__ */ x(async function(e, t, a, r, i, n) {
2161
- const { startx: s, stopx: c, starty: E, message: h, type: p, sequenceIndex: _, sequenceVisible: u } = t, O = Q.calculateTextDimensions(h, Rt(l)), T = se();
2162
- T.x = Math.min(s, c), T.y = E + 10, T.width = Math.abs(c - s), T.class = "messageText", T.dy = "1em", T.text = h, T.fontFamily = l.messageFontFamily, T.fontSize = l.messageFontSize, T.fontWeight = l.messageFontWeight, T.anchor = l.messageAlign, T.valign = "center", T.textMargin = l.wrapPadding, T.tspan = !1, Z(T.text) ? await Ht(e, T, { startx: s, stopx: c, starty: a }) : At(e, T);
2161
+ const { startx: s, stopx: c, starty: E, message: h, type: p, sequenceIndex: _, sequenceVisible: u } = t, O = Z.calculateTextDimensions(h, Rt(l)), T = se();
2162
+ T.x = Math.min(s, c), T.y = E + 10, T.width = Math.abs(c - s), T.class = "messageText", T.dy = "1em", T.text = h, T.fontFamily = l.messageFontFamily, T.fontSize = l.messageFontSize, T.fontWeight = l.messageFontWeight, T.anchor = l.messageAlign, T.valign = "center", T.textMargin = l.wrapPadding, T.tspan = !1, Q(T.text) ? await qt(e, T, { startx: s, stopx: c, starty: a }) : At(e, T);
2163
2163
  const g = O.width;
2164
2164
  let f;
2165
2165
  if (s === c) {
@@ -2200,7 +2200,7 @@ var jr = /* @__PURE__ */ x(async function(e, t, a, r, i, n) {
2200
2200
  for (const E of a) {
2201
2201
  const h = t.get(E);
2202
2202
  h.stopy || (h.stopy = R.getVerticalPos());
2203
- const p = await H.drawActor(
2203
+ const p = await q.drawActor(
2204
2204
  e,
2205
2205
  h,
2206
2206
  l,
@@ -2215,12 +2215,12 @@ var jr = /* @__PURE__ */ x(async function(e, t, a, r, i, n) {
2215
2215
  } else
2216
2216
  for (const c of a) {
2217
2217
  const E = t.get(c);
2218
- await H.drawActor(e, E, l, !1, i, n, s);
2218
+ await q.drawActor(e, E, l, !1, i, n, s);
2219
2219
  }
2220
- }, "drawActors"), qe = /* @__PURE__ */ x(function(e, t, a, r) {
2220
+ }, "drawActors"), He = /* @__PURE__ */ x(function(e, t, a, r) {
2221
2221
  let i = 0, n = 0;
2222
2222
  for (const s of a) {
2223
- const c = t.get(s), E = ra(c), h = H.drawPopup(
2223
+ const c = t.get(s), E = ra(c), h = q.drawPopup(
2224
2224
  e,
2225
2225
  c,
2226
2226
  E,
@@ -2256,8 +2256,8 @@ function ht(e, t, a, r, i) {
2256
2256
  let n = r;
2257
2257
  if (t.id && t.message && e[t.id]) {
2258
2258
  const s = e[t.id].width, c = Rt(l);
2259
- t.message = Q.wrapLabel(`[${t.message}]`, s - 2 * l.wrapPadding, c), t.width = s, t.wrap = !0;
2260
- const E = Q.calculateTextDimensions(t.message, c), h = N.getMax(E.height, l.labelBoxHeight);
2259
+ t.message = Z.wrapLabel(`[${t.message}]`, s - 2 * l.wrapPadding, c), t.width = s, t.wrap = !0;
2260
+ const E = Z.calculateTextDimensions(t.message, c), h = N.getMax(E.height, l.labelBoxHeight);
2261
2261
  n = r + h, at.debug(`${h} - ${t.message}`);
2262
2262
  }
2263
2263
  i(t), R.bumpVerticalPos(n);
@@ -2328,7 +2328,7 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2328
2328
  const _ = i === "sandbox" ? h.select(`[id="${t}"]`) : Yt(`[id="${t}"]`), u = r.db.getActors(), O = r.db.getCreatedActors(), T = r.db.getDestroyedActors(), g = r.db.getBoxes();
2329
2329
  let f = r.db.getActorKeys();
2330
2330
  const I = r.db.getMessages(), L = r.db.getDiagramTitle(), b = r.db.hasAtLeastOneBox(), w = r.db.hasAtLeastOneBoxWithTitle(), A = await Ge(u, I, r);
2331
- if (l.height = await Xe(u, A, g), H.insertComputerIcon(_, t), H.insertDatabaseIcon(_, t), H.insertClockIcon(_, t), b && (R.bumpVerticalPos(l.boxMargin), w && R.bumpVerticalPos(g[0].textMaxHeight)), l.hideUnusedParticipants === !0) {
2331
+ if (l.height = await Xe(u, A, g), q.insertComputerIcon(_, t), q.insertDatabaseIcon(_, t), q.insertClockIcon(_, t), b && (R.bumpVerticalPos(l.boxMargin), w && R.bumpVerticalPos(g[0].textMaxHeight)), l.hideUnusedParticipants === !0) {
2332
2332
  const m = /* @__PURE__ */ new Set();
2333
2333
  I.forEach((k) => {
2334
2334
  m.add(k.from), m.add(k.to);
@@ -2339,10 +2339,10 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2339
2339
  );
2340
2340
  ta(_, u, O, f, 0, I, !1);
2341
2341
  const M = await ca(I, u, A, r);
2342
- H.insertArrowHead(_, t), H.insertArrowCrossHead(_, t), H.insertArrowFilledHead(_, t), H.insertSequenceNumber(_, t), H.insertSolidTopArrowHead(_, t), H.insertSolidBottomArrowHead(_, t), H.insertStickTopArrowHead(_, t), H.insertStickBottomArrowHead(_, t), s === "neo" && H.insertDropShadow(_, l);
2342
+ q.insertArrowHead(_, t), q.insertArrowCrossHead(_, t), q.insertArrowFilledHead(_, t), q.insertSequenceNumber(_, t), q.insertSolidTopArrowHead(_, t), q.insertSolidBottomArrowHead(_, t), q.insertStickTopArrowHead(_, t), q.insertStickBottomArrowHead(_, t), s === "neo" && q.insertDropShadow(_, l);
2343
2343
  function V(m, k) {
2344
2344
  const lt = R.endActivation(m);
2345
- lt.starty + 18 > k && (lt.starty = k - 6, k += 12), H.drawActivation(
2345
+ lt.starty + 18 > k && (lt.starty = k - 6, k += 12), q.drawActivation(
2346
2346
  _,
2347
2347
  lt,
2348
2348
  k,
@@ -2384,7 +2384,7 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2384
2384
  );
2385
2385
  break;
2386
2386
  case r.db.LINETYPE.LOOP_END:
2387
- k = R.endLoop(), await H.drawLoop(_, k, "loop", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2387
+ k = R.endLoop(), await q.drawLoop(_, k, "loop", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2388
2388
  break;
2389
2389
  case r.db.LINETYPE.RECT_START:
2390
2390
  ht(M, m, l.boxMargin, l.boxMargin, (K) => {
@@ -2405,7 +2405,7 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2405
2405
  );
2406
2406
  break;
2407
2407
  case r.db.LINETYPE.OPT_END:
2408
- k = R.endLoop(), await H.drawLoop(_, k, "opt", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2408
+ k = R.endLoop(), await q.drawLoop(_, k, "opt", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2409
2409
  break;
2410
2410
  case r.db.LINETYPE.ALT_START:
2411
2411
  ht(
@@ -2426,7 +2426,7 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2426
2426
  );
2427
2427
  break;
2428
2428
  case r.db.LINETYPE.ALT_END:
2429
- k = R.endLoop(), await H.drawLoop(_, k, "alt", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2429
+ k = R.endLoop(), await q.drawLoop(_, k, "alt", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2430
2430
  break;
2431
2431
  case r.db.LINETYPE.PAR_START:
2432
2432
  case r.db.LINETYPE.PAR_OVER_START:
@@ -2448,7 +2448,7 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2448
2448
  );
2449
2449
  break;
2450
2450
  case r.db.LINETYPE.PAR_END:
2451
- k = R.endLoop(), await H.drawLoop(_, k, "par", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2451
+ k = R.endLoop(), await q.drawLoop(_, k, "par", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2452
2452
  break;
2453
2453
  case r.db.LINETYPE.AUTONUMBER:
2454
2454
  W = m.message.start || W, U = m.message.step || U, m.message.visible ? r.db.enableSequenceNumbers() : r.db.disableSequenceNumbers();
@@ -2472,7 +2472,7 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2472
2472
  );
2473
2473
  break;
2474
2474
  case r.db.LINETYPE.CRITICAL_END:
2475
- k = R.endLoop(), await H.drawLoop(_, k, "critical", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2475
+ k = R.endLoop(), await q.drawLoop(_, k, "critical", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2476
2476
  break;
2477
2477
  case r.db.LINETYPE.BREAK_START:
2478
2478
  ht(
@@ -2484,12 +2484,12 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2484
2484
  );
2485
2485
  break;
2486
2486
  case r.db.LINETYPE.BREAK_END:
2487
- k = R.endLoop(), await H.drawLoop(_, k, "break", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2487
+ k = R.endLoop(), await q.drawLoop(_, k, "break", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2488
2488
  break;
2489
2489
  default:
2490
2490
  try {
2491
2491
  et = m.msgModel, et.starty = R.getVerticalPos(), et.sequenceIndex = W, et.sequenceVisible = r.db.showSequenceNumbers(), et.id = m.id, et.from = m.from, et.to = m.to;
2492
- const K = await He(_, et);
2492
+ const K = await qe(_, et);
2493
2493
  Ue(
2494
2494
  m,
2495
2495
  et,
@@ -2535,27 +2535,27 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2535
2535
  at.debug("createdActors", O), at.debug("destroyedActors", T), await ae(_, u, f, !1, t, r, D);
2536
2536
  for (const m of G)
2537
2537
  await jr(_, m.messageModel, m.lineStartY, r, m.msg, t);
2538
- l.mirrorActors && await ae(_, u, f, !0, t, r, D), X.forEach((m) => H.drawBackgroundRect(_, m)), We(_, u, f, l);
2538
+ l.mirrorActors && await ae(_, u, f, !0, t, r, D), X.forEach((m) => q.drawBackgroundRect(_, m)), We(_, u, f, l);
2539
2539
  for (const m of R.models.boxes) {
2540
2540
  m.height = R.getVerticalPos() - m.y, R.insert(m.x, m.y, m.x + m.width, m.height);
2541
2541
  const k = l.boxMargin * 2;
2542
- m.startx = m.x - k, m.starty = m.y - k * 0.25, m.stopx = m.startx + m.width + 2 * k, m.stopy = m.starty + m.height + k * 0.75, m.stroke = "rgb(0,0,0, 0.5)", H.drawBox(_, m, l);
2542
+ m.startx = m.x - k, m.starty = m.y - k * 0.25, m.stopx = m.startx + m.width + 2 * k, m.stopy = m.starty + m.height + k * 0.75, m.stroke = "rgb(0,0,0, 0.5)", q.drawBox(_, m, l);
2543
2543
  }
2544
2544
  b && R.bumpVerticalPos(l.boxMargin);
2545
- const j = qe(_, u, f, p), { bounds: q } = R.getBounds();
2546
- q.startx === void 0 && (q.startx = 0), q.starty === void 0 && (q.starty = 0), q.stopx === void 0 && (q.stopx = 0), q.stopy === void 0 && (q.stopy = 0);
2547
- let st = q.stopy - q.starty;
2545
+ const j = He(_, u, f, p), { bounds: H } = R.getBounds();
2546
+ H.startx === void 0 && (H.startx = 0), H.starty === void 0 && (H.starty = 0), H.stopx === void 0 && (H.stopx = 0), H.stopy === void 0 && (H.stopy = 0);
2547
+ let st = H.stopy - H.starty;
2548
2548
  st < j.maxHeight && (st = j.maxHeight);
2549
2549
  let tt = st + 2 * l.diagramMarginY;
2550
2550
  l.mirrorActors && (tt = tt - l.boxMargin + l.bottomMarginAdj);
2551
- let Y = q.stopx - q.startx;
2551
+ let Y = H.stopx - H.startx;
2552
2552
  Y < j.maxWidth && (Y = j.maxWidth);
2553
2553
  const C = Y + 2 * l.diagramMarginX;
2554
- L && _.append("text").text(L).attr("x", (q.stopx - q.startx) / 2 - 2 * l.diagramMarginX).attr("y", -25), ar(_, tt, C, l.useMaxWidth);
2554
+ L && _.append("text").text(L).attr("x", (H.stopx - H.startx) / 2 - 2 * l.diagramMarginX).attr("y", -25), ar(_, tt, C, l.useMaxWidth);
2555
2555
  const St = L ? 40 : 0, Dt = u.size && s === "neo" ? 30 : 0;
2556
2556
  _.attr(
2557
2557
  "viewBox",
2558
- q.startx - l.diagramMarginX + " -" + (l.diagramMarginY + St) + " " + C + " " + (tt + St + Dt)
2558
+ H.startx - l.diagramMarginX + " -" + (l.diagramMarginY + St) + " " + C + " " + (tt + St + Dt)
2559
2559
  ), at.debug("models:", R.models);
2560
2560
  }, "draw");
2561
2561
  async function Ge(e, t, a) {
@@ -2565,7 +2565,7 @@ async function Ge(e, t, a) {
2565
2565
  const n = e.get(i.to);
2566
2566
  if (i.placement === a.db.PLACEMENT.LEFTOF && !n.prevActor || i.placement === a.db.PLACEMENT.RIGHTOF && !n.nextActor)
2567
2567
  continue;
2568
- const s = i.placement !== void 0, c = !s, E = s ? bt(l) : Rt(l), h = i.wrap ? Q.wrapLabel(i.message, l.width - 2 * l.wrapPadding, E) : i.message, _ = (Z(h) ? await kt(i.message, $()) : Q.calculateTextDimensions(h, E)).width + 2 * l.wrapPadding;
2568
+ const s = i.placement !== void 0, c = !s, E = s ? bt(l) : Rt(l), h = i.wrap ? Z.wrapLabel(i.message, l.width - 2 * l.wrapPadding, E) : i.message, _ = (Q(h) ? await kt(i.message, $()) : Z.calculateTextDimensions(h, E)).width + 2 * l.wrapPadding;
2569
2569
  c && i.from === n.nextActor ? r[i.to] = N.getMax(
2570
2570
  r[i.to] || 0,
2571
2571
  _
@@ -2599,7 +2599,7 @@ var ra = /* @__PURE__ */ x(function(e) {
2599
2599
  let t = 0;
2600
2600
  const a = re(l);
2601
2601
  for (const r in e.links) {
2602
- const n = Q.calculateTextDimensions(r, a).width + 2 * l.wrapPadding + 2 * l.boxMargin;
2602
+ const n = Z.calculateTextDimensions(r, a).width + 2 * l.wrapPadding + 2 * l.boxMargin;
2603
2603
  t < n && (t = n);
2604
2604
  }
2605
2605
  return t;
@@ -2608,12 +2608,12 @@ async function Xe(e, t, a) {
2608
2608
  let r = 0;
2609
2609
  for (const n of e.keys()) {
2610
2610
  const s = e.get(n);
2611
- s.wrap && (s.description = Q.wrapLabel(
2611
+ s.wrap && (s.description = Z.wrapLabel(
2612
2612
  s.description,
2613
2613
  l.width - 2 * l.wrapPadding,
2614
2614
  re(l)
2615
2615
  ));
2616
- const c = Z(s.description) ? await kt(s.description, $()) : Q.calculateTextDimensions(s.description, re(l));
2616
+ const c = Q(s.description) ? await kt(s.description, $()) : Z.calculateTextDimensions(s.description, re(l));
2617
2617
  s.width = s.wrap ? l.width : N.getMax(l.width, c.width + 2 * l.wrapPadding), s.height = s.wrap ? N.getMax(c.height, l.height) : l.height, r = N.getMax(r, s.height);
2618
2618
  }
2619
2619
  for (const n in t) {
@@ -2634,8 +2634,8 @@ async function Xe(e, t, a) {
2634
2634
  const s = Rt(l);
2635
2635
  let c = n.actorKeys.reduce((_, u) => _ += e.get(u).width + (e.get(u).margin || 0), 0);
2636
2636
  const E = l.boxMargin * 8;
2637
- c += E, c -= 2 * l.boxTextMargin, n.wrap && (n.name = Q.wrapLabel(n.name, c - 2 * l.wrapPadding, s));
2638
- const h = Q.calculateTextDimensions(n.name, s);
2637
+ c += E, c -= 2 * l.boxTextMargin, n.wrap && (n.name = Z.wrapLabel(n.name, c - 2 * l.wrapPadding, s));
2638
+ const h = Z.calculateTextDimensions(n.name, s);
2639
2639
  i = N.getMax(h.height, i);
2640
2640
  const p = N.getMax(c, h.width + 2 * l.wrapPadding);
2641
2641
  if (n.margin = l.boxTextMargin, c < p) {
@@ -2647,8 +2647,8 @@ async function Xe(e, t, a) {
2647
2647
  x(Xe, "calculateActorMargins");
2648
2648
  var aa = /* @__PURE__ */ x(async function(e, t, a) {
2649
2649
  const r = t.get(e.from), i = t.get(e.to), n = r.x, s = i.x, c = e.wrap && e.message;
2650
- let E = Z(e.message) ? await kt(e.message, $()) : Q.calculateTextDimensions(
2651
- c ? Q.wrapLabel(e.message, l.width, bt(l)) : e.message,
2650
+ let E = Q(e.message) ? await kt(e.message, $()) : Z.calculateTextDimensions(
2651
+ c ? Z.wrapLabel(e.message, l.width, bt(l)) : e.message,
2652
2652
  bt(l)
2653
2653
  );
2654
2654
  const h = {
@@ -2666,10 +2666,10 @@ var aa = /* @__PURE__ */ x(async function(e, t, a) {
2666
2666
  ), h.startx = n + (r.width + l.actorMargin) / 2) : e.placement === a.db.PLACEMENT.LEFTOF ? (h.width = c ? N.getMax(l.width, E.width + 2 * l.noteMargin) : N.getMax(
2667
2667
  r.width / 2 + i.width / 2,
2668
2668
  E.width + 2 * l.noteMargin
2669
- ), h.startx = n - h.width + (r.width - l.actorMargin) / 2) : e.to === e.from ? (E = Q.calculateTextDimensions(
2670
- c ? Q.wrapLabel(e.message, N.getMax(l.width, r.width), bt(l)) : e.message,
2669
+ ), h.startx = n - h.width + (r.width - l.actorMargin) / 2) : e.to === e.from ? (E = Z.calculateTextDimensions(
2670
+ c ? Z.wrapLabel(e.message, N.getMax(l.width, r.width), bt(l)) : e.message,
2671
2671
  bt(l)
2672
- ), h.width = c ? N.getMax(l.width, r.width) : N.getMax(r.width, l.width, E.width + 2 * l.noteMargin), h.startx = n + (r.width - h.width) / 2) : (h.width = Math.abs(n + r.width / 2 - (s + i.width / 2)) + l.actorMargin, h.startx = n < s ? n + r.width / 2 - l.actorMargin / 2 : s + i.width / 2 - l.actorMargin / 2), c && (h.message = Q.wrapLabel(
2672
+ ), h.width = c ? N.getMax(l.width, r.width) : N.getMax(r.width, l.width, E.width + 2 * l.noteMargin), h.startx = n + (r.width - h.width) / 2) : (h.width = Math.abs(n + r.width / 2 - (s + i.width / 2)) + l.actorMargin, h.startx = n < s ? n + r.width / 2 - l.actorMargin / 2 : s + i.width / 2 - l.actorMargin / 2), c && (h.message = Z.wrapLabel(
2673
2673
  e.message,
2674
2674
  h.width - 2 * l.wrapPadding,
2675
2675
  bt(l)
@@ -2773,12 +2773,12 @@ var aa = /* @__PURE__ */ x(async function(e, t, a) {
2773
2773
  a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE
2774
2774
  ].includes(e.type) && (h -= u(3)));
2775
2775
  const O = [i, n, s, c], T = Math.abs(h - p);
2776
- e.wrap && e.message && (e.message = Q.wrapLabel(
2776
+ e.wrap && e.message && (e.message = Z.wrapLabel(
2777
2777
  e.message,
2778
2778
  N.getMax(T + 2 * l.wrapPadding, l.width),
2779
2779
  Rt(l)
2780
2780
  ));
2781
- const g = Q.calculateTextDimensions(e.message, Rt(l));
2781
+ const g = Z.calculateTextDimensions(e.message, Rt(l));
2782
2782
  return {
2783
2783
  width: N.getMax(
2784
2784
  e.wrap ? 0 : g.width + 2 * l.wrapPadding,
@@ -2869,7 +2869,7 @@ var aa = /* @__PURE__ */ x(async function(e, t, a) {
2869
2869
  }, "calculateLoopBounds"), la = {
2870
2870
  bounds: R,
2871
2871
  drawActors: ae,
2872
- drawActorsPopup: qe,
2872
+ drawActorsPopup: He,
2873
2873
  setConf: ze,
2874
2874
  draw: ea
2875
2875
  }, pa = {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./errors-BWZJx2MD.cjs"),e=require("./markdownServiceClient-C47z3Ynu.cjs");exports.MAX_HTML_BYTES_LIMIT=r.MAX_HTML_BYTES_LIMIT;exports.MarkdownConversionError=r.MarkdownConversionError;exports.MarkdownConversionTimeoutError=r.MarkdownConversionTimeoutError;exports.MarkdownResourceExhaustedError=r.MarkdownResourceExhaustedError;exports.createMarkdownServiceClient=e.createMarkdownServiceClient;
@@ -0,0 +1,3 @@
1
+ export { MAX_HTML_BYTES_LIMIT, type ParseOptions, type ParseResult } from "./conversion.ts";
2
+ export { MarkdownConversionError, type MarkdownConversionErrorCode, MarkdownConversionTimeoutError, MarkdownResourceExhaustedError } from "./errors.ts";
3
+ export { createMarkdownServiceClient, type MarkdownServiceCallOptions, type MarkdownServiceClient, type MarkdownServiceConversion } from "./markdownServiceClient.ts";
@@ -0,0 +1,9 @@
1
+ import { M as e, a, b as n, c as s } from "./errors-CapTNE7l.js";
2
+ import { c as t } from "./markdownServiceClient-uDeklhtG.js";
3
+ export {
4
+ e as MAX_HTML_BYTES_LIMIT,
5
+ a as MarkdownConversionError,
6
+ n as MarkdownConversionTimeoutError,
7
+ s as MarkdownResourceExhaustedError,
8
+ t as createMarkdownServiceClient
9
+ };
@@ -1,4 +1,4 @@
1
- import { _ as o } from "./extractHeadings-DlQcPv5N.js";
1
+ import { _ as o } from "./mermaid.core-C4EClWgB.js";
2
2
  var c = 1;
3
3
  function i() {
4
4
  if (!(typeof globalThis > "u"))
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./mermaid.core-CRP55Hm1.cjs");var p=1;function i(){if(!(typeof globalThis>"u"))return globalThis}n.__name(i,"getCaptureGlobal");function u(){return!!i()?.mermaidCaptureSizes}n.__name(u,"shouldCaptureSizes");function d(){return typeof location>"u"?"browser-dev":`${location.pathname}${location.search}`}n.__name(d,"capturedFromLocation");function s(o,r){const t=i();if(!t)return;const e=r.node(),m=((e&&"ownerSVGElement"in e?e.ownerSVGElement:null)??e)?.id??"(unknown)";t.mermaidCapturedSizes??=[];const a={svgId:m,sizes:o};t.mermaidCapturedSizes.push(a),t.mermaidLastCapturedSizes=a}n.__name(s,"emitCapturedSizes");function c(o,r){const t=[];for(const e of r.nodes)e.isGroup||t.push({id:e.id,width:e.width??0,height:e.height??0});t.length!==0&&s({metadata:{captureVersion:p,capturedAt:new Date().toISOString(),capturedFrom:d()},nodes:t},o)}n.__name(c,"captureNodeSizes");exports.captureNodeSizes=c;exports.shouldCaptureSizes=u;