@aiquants/markdown 12.3.0 → 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 (256) hide show
  1. package/README.md +276 -65
  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 +31 -2
  47. package/dist/components/MarkdownViewer.d.ts +11 -2
  48. package/dist/components/MermaidDiagram.d.ts +1 -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/blockOffsets.d.ts +3 -0
  54. package/dist/components/clipboard.d.ts +1 -0
  55. package/dist/components/embeds/ClientFrame.d.ts +1 -0
  56. package/dist/components/embeds/ProviderEmbed.d.ts +2 -1
  57. package/dist/components/embeds/embedLabels.d.ts +1 -1
  58. package/dist/components/embeds/linkCardFetch.d.ts +2 -0
  59. package/dist/components/embeds.d.ts +5 -0
  60. package/dist/components/headingLevels.d.ts +6 -0
  61. package/dist/components/htmlNodes.d.ts +2 -0
  62. package/dist/components/htmlSanitizer.d.ts +15 -2
  63. package/dist/components/labels.d.ts +3 -2
  64. package/dist/components/links.d.ts +1 -0
  65. package/dist/components/mdastNodes/CodeNode.d.ts +3 -1
  66. package/dist/components/mermaidLabels.d.ts +5 -0
  67. package/dist/components/mermaidSetup.d.ts +10 -0
  68. package/dist/components/missingImageLabels.d.ts +2 -0
  69. package/dist/components/ownPixels.d.ts +1 -0
  70. package/dist/components/rawHtml.d.ts +7 -3
  71. package/dist/components/spreadsheetModel.d.ts +1 -0
  72. package/dist/components/viewerLabels.d.ts +11 -2
  73. package/dist/contentColors.d.ts +21 -0
  74. package/dist/conversion.d.ts +7 -0
  75. package/dist/converter/NOTICES.md +6 -6
  76. package/dist/converter/createMarkdownConverter.d.ts +1 -0
  77. package/dist/converter/protocol.d.ts +4 -0
  78. package/dist/converter.cjs +1 -1
  79. package/dist/converter.js +89 -71
  80. package/dist/converter.wasm +0 -0
  81. package/dist/{cose-bilkent-JH36ORCC-BxO1rjEU.js → cose-bilkent-JH36ORCC-CR6Hdvto.js} +24 -24
  82. package/dist/cose-bilkent-JH36ORCC-reAbGeDU.cjs +1 -0
  83. package/dist/cynefinDiagram-TSTJHNR4-2qz-sUtp.cjs +62 -0
  84. package/dist/{cynefinDiagram-TSTJHNR4-DBD-B_Un.js → cynefinDiagram-TSTJHNR4-D1eY-FSf.js} +65 -65
  85. package/dist/dagre-VKFMJZFB-Byr9WPjb.cjs +4 -0
  86. package/dist/{dagre-VKFMJZFB-B8vZCPJg.js → dagre-VKFMJZFB-CXSczF8v.js} +26 -26
  87. package/dist/{diagram-FQU43EPY-DwhEcKWF.cjs → diagram-FQU43EPY-2YWng437.cjs} +1 -1
  88. package/dist/{diagram-FQU43EPY-YrRTNuX-.js → diagram-FQU43EPY-BZo0xcaj.js} +54 -54
  89. package/dist/diagram-G47NLZAW-CQS7BN4F.cjs +24 -0
  90. package/dist/{diagram-G47NLZAW-D4vmirJw.js → diagram-G47NLZAW-CvJW9ny8.js} +65 -65
  91. package/dist/{diagram-NH7WQ7WH-Drekwiur.js → diagram-NH7WQ7WH-C6VIkj-R.js} +18 -18
  92. package/dist/diagram-NH7WQ7WH-DXUwOBe7.cjs +24 -0
  93. package/dist/{diagram-OA4YK3LP-DZsM4Fpo.js → diagram-OA4YK3LP-Co6nMbJc.js} +29 -29
  94. package/dist/{diagram-OA4YK3LP-DeJ7pMIO.cjs → diagram-OA4YK3LP-DBUm2qxb.cjs} +3 -3
  95. package/dist/{diagram-WEI45ONY-CjRbsbkF.js → diagram-WEI45ONY-BaMbc5o2.js} +76 -76
  96. package/dist/diagram-WEI45ONY-ChpK2gP3.cjs +41 -0
  97. package/dist/ebnfDiagram-CCIWWBDH-DMIRHp8N.cjs +1 -0
  98. package/dist/{ebnfDiagram-CCIWWBDH-D0kt5Zdu.js → ebnfDiagram-CCIWWBDH-i7CR-FU0.js} +3 -3
  99. package/dist/embeds/frames.d.ts +4 -0
  100. package/dist/embeds/linkCards.d.ts +3 -1
  101. package/dist/embeds/providers.d.ts +1 -0
  102. package/dist/embeds/testing.cjs +1 -1
  103. package/dist/embeds/testing.js +1 -1
  104. package/dist/embeds-B4g6w7Tf.cjs +1 -0
  105. package/dist/embeds-Dra-dGKD.js +64 -0
  106. package/dist/embeds.cjs +1 -1
  107. package/dist/embeds.d.ts +2 -2
  108. package/dist/embeds.js +31 -70
  109. package/dist/{erDiagram-Q63AITRT-Ce4GpK2Z.js → erDiagram-Q63AITRT-DC-HhdaO.js} +69 -69
  110. package/dist/{erDiagram-Q63AITRT-DqFANbZx.cjs → erDiagram-Q63AITRT-DjRvJyWK.cjs} +1 -1
  111. package/dist/errors-BWZJx2MD.cjs +1 -0
  112. package/dist/errors-CapTNE7l.js +62 -0
  113. package/dist/errors.d.ts +2 -2
  114. package/dist/extractHeadings-BAhmauKo.js +5296 -0
  115. package/dist/extractHeadings-qiJXegCx.cjs +11 -0
  116. package/dist/flowDiagram-23GEKE2U-CiNzp6BS.js +7 -0
  117. package/dist/flowDiagram-23GEKE2U-DzZNPkRJ.cjs +1 -0
  118. package/dist/{ganttDiagram-NO4QXBWP-DjpANtqX.js → ganttDiagram-NO4QXBWP-BwbtaPxc.js} +69 -69
  119. package/dist/ganttDiagram-NO4QXBWP-CJv5UQ4O.cjs +292 -0
  120. package/dist/gen/markdown/v1/linkcard_connect.d.ts +19 -0
  121. package/dist/gen/markdown/v1/linkcard_pb.d.ts +87 -0
  122. package/dist/gen/markdown/v1/markdown_pb.d.ts +4 -0
  123. package/dist/{gitGraphDiagram-IHSO6WYX-DzhnsGXo.js → gitGraphDiagram-IHSO6WYX--yebcp4V.js} +26 -26
  124. package/dist/gitGraphDiagram-IHSO6WYX-dSwtW7X6.cjs +106 -0
  125. package/dist/index.cjs +1 -1
  126. package/dist/index.client.cjs +1 -1
  127. package/dist/index.client.d.ts +2 -2
  128. package/dist/index.client.js +42 -36
  129. package/dist/index.js +42 -36
  130. package/dist/index.server.cjs +1 -1
  131. package/dist/index.server.d.ts +2 -1
  132. package/dist/index.server.js +126 -873
  133. package/dist/{infoDiagram-FWYZ7A6U-hraoyboI.js → infoDiagram-FWYZ7A6U-B4AiTiqD.js} +9 -9
  134. package/dist/infoDiagram-FWYZ7A6U-BOj0VF20.cjs +2 -0
  135. package/dist/{ishikawaDiagram-FXEZZL3T-cBJei3wJ.js → ishikawaDiagram-FXEZZL3T-BsYs_qnQ.js} +55 -55
  136. package/dist/{ishikawaDiagram-FXEZZL3T-D5b25aDN.cjs → ishikawaDiagram-FXEZZL3T-CisV4kPO.cjs} +1 -1
  137. package/dist/{journeyDiagram-5HDEW3XC-DrNyUSsx.cjs → journeyDiagram-5HDEW3XC-BAvgWwpr.cjs} +1 -1
  138. package/dist/{journeyDiagram-5HDEW3XC-IkQqMl8f.js → journeyDiagram-5HDEW3XC-DbDo-dqu.js} +29 -29
  139. package/dist/{kanban-definition-HUTT4EX6-D2UL88Cz.js → kanban-definition-HUTT4EX6-BlPZISwH.js} +111 -111
  140. package/dist/{kanban-definition-HUTT4EX6-CvBgN3eX.cjs → kanban-definition-HUTT4EX6-RjzOWas9.cjs} +2 -2
  141. package/dist/{linear-BiJV9gYf.js → linear-BXWX8YXI.js} +33 -33
  142. package/dist/linear-CKPQExK8.cjs +1 -0
  143. package/dist/linkCardServer/linkCardCore.d.ts +10 -0
  144. package/dist/linkCardServer/linkCardHandler.server.d.ts +1 -6
  145. package/dist/linkCardServer/pageFetchPort.d.ts +19 -0
  146. package/dist/linkCardServer/{pageMetadata.server.d.ts → pageMetadata.d.ts} +11 -3
  147. package/dist/linkCards-BikpIncf.cjs +1 -0
  148. package/dist/linkCards-DfSLqLPF.js +50 -0
  149. package/dist/linkCards.cjs +1 -0
  150. package/dist/linkCards.d.ts +2 -0
  151. package/dist/linkCards.js +5 -0
  152. package/dist/markdownServiceClient-C47z3Ynu.cjs +1 -0
  153. package/dist/markdownServiceClient-uDeklhtG.js +480 -0
  154. package/dist/markdownServiceClient.d.ts +20 -0
  155. package/dist/mermaid.core-C4EClWgB.js +15595 -0
  156. package/dist/mermaid.core-CRP55Hm1.cjs +305 -0
  157. package/dist/mermaidFrame/NOTICES.md +1345 -0
  158. package/dist/mermaidFrame/cssCleaner.d.ts +13 -0
  159. package/dist/mermaidFrame/drawer.d.ts +34 -0
  160. package/dist/mermaidFrame/frame.d.ts +1 -0
  161. package/dist/mermaidFrame/frame.js +3307 -0
  162. package/dist/mermaidFrame/katexInert.d.ts +4 -0
  163. package/dist/mermaidFrame/protocol.d.ts +38 -0
  164. package/dist/mermaidFrame/serve.d.ts +14 -0
  165. package/dist/mermaidFrame/svgCleaner.d.ts +4 -0
  166. package/dist/{mindmap-definition-LN4V7U3C-CK67hf6V.js → mindmap-definition-LN4V7U3C-BEWpoMMG.js} +75 -75
  167. package/dist/{mindmap-definition-LN4V7U3C-CBrUse7P.cjs → mindmap-definition-LN4V7U3C-DnbSfqWP.cjs} +3 -3
  168. package/dist/pageFetchPort-2H18xcdi.cjs +1 -0
  169. package/dist/pageFetchPort-DVpXsKCz.js +624 -0
  170. package/dist/{pegDiagram-2B236MQR-CwWX4Irn.js → pegDiagram-2B236MQR-BF7gLiB-.js} +3 -3
  171. package/dist/pegDiagram-2B236MQR-BJysMObA.cjs +1 -0
  172. package/dist/{pieDiagram-ENE6RG2P-MO42pSl8.js → pieDiagram-ENE6RG2P-D_YzC3qc.js} +65 -65
  173. package/dist/{pieDiagram-ENE6RG2P-BKvggS7k.cjs → pieDiagram-ENE6RG2P-UMpeIUyV.cjs} +2 -2
  174. package/dist/{providers-BwQK7hZa.js → providers-CSvkTZsr.js} +17 -2
  175. package/dist/{providers-DO2t7ks4.cjs → providers-Cx0FuVQU.cjs} +1 -1
  176. package/dist/{quadrantDiagram-ABIIQ3AL-BHhoAvLS.cjs → quadrantDiagram-ABIIQ3AL-DANY0ipQ.cjs} +1 -1
  177. package/dist/{quadrantDiagram-ABIIQ3AL-CzHgLdS3.js → quadrantDiagram-ABIIQ3AL-DDm-r_6D.js} +57 -57
  178. package/dist/railroadDiagram-RFXS5EU6-CDUd4th1.cjs +1 -0
  179. package/dist/{railroadDiagram-RFXS5EU6-Bu_Fhi5x.js → railroadDiagram-RFXS5EU6-hJ6uB90G.js} +3 -3
  180. package/dist/remarkProcessor.server.d.ts +2 -0
  181. package/dist/{requirementDiagram-TGXJPOKE-CY-JYM-P.js → requirementDiagram-TGXJPOKE-BJef5Jb0.js} +29 -29
  182. package/dist/{requirementDiagram-TGXJPOKE-BhdvQnjG.cjs → requirementDiagram-TGXJPOKE-DaoCo7go.cjs} +1 -1
  183. package/dist/{sankeyDiagram-HTMAVEWB-BmHtjxlW.js → sankeyDiagram-HTMAVEWB-BZQs0bE-.js} +48 -48
  184. package/dist/{sankeyDiagram-HTMAVEWB-CUeYKZeQ.cjs → sankeyDiagram-HTMAVEWB-DXiv0YOu.cjs} +3 -3
  185. package/dist/{sequenceDiagram-DBY2YBRQ-GepntdDB.cjs → sequenceDiagram-DBY2YBRQ-CJGpsnsv.cjs} +1 -1
  186. package/dist/{sequenceDiagram-DBY2YBRQ-Cn2CC9BC.js → sequenceDiagram-DBY2YBRQ-D05U2w26.js} +86 -86
  187. package/dist/serviceClient.cjs +1 -0
  188. package/dist/serviceClient.d.ts +3 -0
  189. package/dist/serviceClient.js +9 -0
  190. package/dist/{sizeCapture-X5ZJPWSS-CZF99dy_.js → sizeCapture-X5ZJPWSS-DTr0Vm61.js} +1 -1
  191. package/dist/sizeCapture-X5ZJPWSS-DjuH1zNP.cjs +1 -0
  192. package/dist/{stateDiagram-2N3HPSRC-CCbBvBua.js → stateDiagram-2N3HPSRC-B8nvJKpB.js} +20 -20
  193. package/dist/stateDiagram-2N3HPSRC-BrB47FD-.cjs +1 -0
  194. package/dist/stateDiagram-v2-6OUMAXLB-CC8gOGDK.cjs +1 -0
  195. package/dist/{stateDiagram-v2-6OUMAXLB-_A1QESxx.js → stateDiagram-v2-6OUMAXLB-CV-JqAeP.js} +2 -2
  196. package/dist/styles/markdown.css +1 -1
  197. package/dist/styles/markdown.standalone.css +1 -1
  198. package/dist/{swimlanes-5IMT3BWC-B-BDM_Ae.js → swimlanes-5IMT3BWC-BPtufzUd.js} +3 -3
  199. package/dist/swimlanes-5IMT3BWC-WAbDPRgt.cjs +1 -0
  200. package/dist/{swimlanesDiagram-G3AALYLV-BysT2rWl.js → swimlanesDiagram-G3AALYLV-BQKEmJFX.js} +2 -2
  201. package/dist/{swimlanesDiagram-G3AALYLV-DZuQxKuB.cjs → swimlanesDiagram-G3AALYLV-BTwwtLZL.cjs} +1 -1
  202. package/dist/{timeline-definition-FHXFAJF6-DVzdzbl1.js → timeline-definition-FHXFAJF6-DJ6GV7Fz.js} +34 -34
  203. package/dist/{timeline-definition-FHXFAJF6-oFf_sUOI.cjs → timeline-definition-FHXFAJF6-qdkrah7t.cjs} +1 -1
  204. package/dist/vennDiagram-L72KCM5P-B5onSWPA.cjs +34 -0
  205. package/dist/{vennDiagram-L72KCM5P-Bm1TGZux.js → vennDiagram-L72KCM5P-DWnnndTj.js} +196 -196
  206. package/dist/viewer-settings.cjs +1 -1
  207. package/dist/viewer-settings.d.ts +8 -0
  208. package/dist/viewer-settings.js +11 -5
  209. package/dist/{wardleyDiagram-EHGQE667-BC_1RAbp.js → wardleyDiagram-EHGQE667-DFmDgQSb.js} +41 -41
  210. package/dist/{wardleyDiagram-EHGQE667-CqB3gLCH.cjs → wardleyDiagram-EHGQE667-DdeBbvVM.cjs} +2 -2
  211. package/dist/{xychartDiagram-FW5EYKEG-a1vb5UxD.cjs → xychartDiagram-FW5EYKEG-CiJQMClv.cjs} +1 -1
  212. package/dist/{xychartDiagram-FW5EYKEG-ClITdEhV.js → xychartDiagram-FW5EYKEG-L2Kj4cZA.js} +28 -28
  213. package/package.json +29 -13
  214. package/dist/abnfDiagram-VRR7QNED-Crz-ChMJ.cjs +0 -1
  215. package/dist/arc-BKGy6Me1.js +0 -83
  216. package/dist/arc-CYJCyviq.cjs +0 -1
  217. package/dist/architectureDiagram-ZJ3FMSHR-gTB8pttO.cjs +0 -36
  218. package/dist/channel-BKoPLS2j.cjs +0 -1
  219. package/dist/chunk-2Q5K7J3B-DgtYKcDs.cjs +0 -1
  220. package/dist/chunk-32BRIVSS-D-6GBFtx.cjs +0 -1
  221. package/dist/chunk-JWPE2WC7-5sd39cpa.cjs +0 -1
  222. package/dist/chunk-RYQCIY6F-BBTBydZd.cjs +0 -1
  223. package/dist/chunk-VR4S4FIN-CHKLwvYh.cjs +0 -1
  224. package/dist/chunk-XXDRQBXY-DttkP7wv.cjs +0 -1
  225. package/dist/classDiagram-OUVF2IWQ-BKruajP_.cjs +0 -1
  226. package/dist/classDiagram-v2-EOCWNBFH-BKruajP_.cjs +0 -1
  227. package/dist/cose-bilkent-JH36ORCC-Cjfa6NyL.cjs +0 -1
  228. package/dist/cynefinDiagram-TSTJHNR4-B3boTACW.cjs +0 -62
  229. package/dist/dagre-VKFMJZFB-DF3Mvuas.cjs +0 -4
  230. package/dist/diagram-G47NLZAW-CKIEbGLS.cjs +0 -24
  231. package/dist/diagram-NH7WQ7WH-D6wMwkLQ.cjs +0 -24
  232. package/dist/diagram-WEI45ONY-SYHw7k8b.cjs +0 -41
  233. package/dist/ebnfDiagram-CCIWWBDH-23bjk9FU.cjs +0 -1
  234. package/dist/errors-BW5JXRoX.cjs +0 -1
  235. package/dist/errors-Blk_XJ9C.js +0 -55
  236. package/dist/extractHeadings-DlQcPv5N.js +0 -20361
  237. package/dist/extractHeadings-wWAipplS.cjs +0 -315
  238. package/dist/flowDiagram-23GEKE2U-CRC9U6qD.cjs +0 -1
  239. package/dist/flowDiagram-23GEKE2U-CRo7TM3K.js +0 -7
  240. package/dist/ganttDiagram-NO4QXBWP-CR55KG5d.cjs +0 -292
  241. package/dist/gitGraphDiagram-IHSO6WYX-BWYUn1Bi.cjs +0 -106
  242. package/dist/infoDiagram-FWYZ7A6U-CsUGc58_.cjs +0 -2
  243. package/dist/linear-DwqXGYLc.cjs +0 -1
  244. package/dist/linkCardServer/addressGuard.server.d.ts +0 -25
  245. package/dist/linkCardServer/pageFetch.server.d.ts +0 -37
  246. package/dist/linkCards-1JxY8wdm.js +0 -48
  247. package/dist/linkCards-Bjd_vW39.cjs +0 -1
  248. package/dist/pegDiagram-2B236MQR-C5pLIpKI.cjs +0 -1
  249. package/dist/railroadDiagram-RFXS5EU6-CwGmOFD_.cjs +0 -1
  250. package/dist/sizeCapture-X5ZJPWSS-Cd-k8xwk.cjs +0 -1
  251. package/dist/stateDiagram-2N3HPSRC-D2cvrAtN.cjs +0 -1
  252. package/dist/stateDiagram-v2-6OUMAXLB-BaktPIVY.cjs +0 -1
  253. package/dist/swimlanes-5IMT3BWC-DtdLK5z3.cjs +0 -1
  254. package/dist/vennDiagram-L72KCM5P-Ba2FGeN1.cjs +0 -34
  255. /package/dist/linkCardServer/{htmlEncoding.server.d.ts → htmlEncoding.d.ts} +0 -0
  256. /package/dist/linkCardServer/{metadataCache.server.d.ts → metadataCache.d.ts} +0 -0
@@ -1,9 +1,9 @@
1
- import { p as ge } from "./chunk-JWPE2WC7-DG0ebjV4.js";
2
- import { _ as w, aq as ye, ak as ae, am as ee, ap as Se, X as ve, W as te, bW as B, V as K, R as xe, Q as be, aa as we, ab as Ce, O as Te, K as Le, an as $e, bX as Ae, ag as Fe } from "./extractHeadings-DlQcPv5N.js";
3
- import { s as Ne } from "./chunk-VR4S4FIN-C-qPzUSR.js";
1
+ import { p as ge } from "./chunk-JWPE2WC7-Bj2m1SXZ.js";
2
+ import { _ as w, K as ye, D as ae, F as ee, I as Se, e as ve, l as te, bf as B, d as K, b as xe, a as be, q as we, t as Ce, g as Te, s as Le, G as $e, bg as Ae, z as Fe } from "./mermaid.core-C4EClWgB.js";
3
+ import { s as Ne } from "./chunk-VR4S4FIN-CyqARa17.js";
4
4
  import { p as Me } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
5
5
  import { b as O } from "./defaultLocale-BgPVtth8.js";
6
- import { o as J } from "./ordinal-B6-f3MAq.js";
6
+ import { o as Q } from "./ordinal-B6-f3MAq.js";
7
7
  function _e(t) {
8
8
  var a = 0, l = t.children, n = l && l.length;
9
9
  if (!n) a = 1;
@@ -13,13 +13,13 @@ function _e(t) {
13
13
  function ke() {
14
14
  return this.eachAfter(_e);
15
15
  }
16
- function Ve(t, a) {
16
+ function ze(t, a) {
17
17
  let l = -1;
18
18
  for (const n of this)
19
19
  t.call(a, n, ++l, this);
20
20
  return this;
21
21
  }
22
- function ze(t, a) {
22
+ function Ve(t, a) {
23
23
  for (var l = this, n = [l], s, i, h = -1; l = n.pop(); )
24
24
  if (t.call(a, l, ++h, this), s = l.children)
25
25
  for (i = s.length - 1; i >= 0; --i)
@@ -47,31 +47,31 @@ function Be(t) {
47
47
  a.value = l;
48
48
  });
49
49
  }
50
- function We(t) {
50
+ function Ee(t) {
51
51
  return this.eachBefore(function(a) {
52
52
  a.children && a.children.sort(t);
53
53
  });
54
54
  }
55
55
  function Re(t) {
56
- for (var a = this, l = Ee(a, t), n = [a]; a !== l; )
56
+ for (var a = this, l = We(a, t), n = [a]; a !== l; )
57
57
  a = a.parent, n.push(a);
58
58
  for (var s = n.length; t !== l; )
59
59
  n.splice(s, 0, t), t = t.parent;
60
60
  return n;
61
61
  }
62
- function Ee(t, a) {
62
+ function We(t, a) {
63
63
  if (t === a) return t;
64
64
  var l = t.ancestors(), n = a.ancestors(), s = null;
65
65
  for (t = l.pop(), a = n.pop(); t === a; )
66
66
  s = t, t = l.pop(), a = n.pop();
67
67
  return s;
68
68
  }
69
- function He() {
69
+ function Ie() {
70
70
  for (var t = this, a = [t]; t = t.parent; )
71
71
  a.push(t);
72
72
  return a;
73
73
  }
74
- function Ie() {
74
+ function He() {
75
75
  return Array.from(this);
76
76
  }
77
77
  function Oe() {
@@ -80,7 +80,7 @@ function Oe() {
80
80
  a.children || t.push(a);
81
81
  }), t;
82
82
  }
83
- function Xe() {
83
+ function Ge() {
84
84
  var t = this, a = [];
85
85
  return t.each(function(l) {
86
86
  l !== t && a.push({ source: l.parent, target: l });
@@ -97,13 +97,13 @@ function* qe() {
97
97
  }
98
98
  function ne(t, a) {
99
99
  t instanceof Map ? (t = [void 0, t], a === void 0 && (a = je)) : a === void 0 && (a = Ye);
100
- for (var l = new Q(t), n, s = [l], i, h, d, g; n = s.pop(); )
100
+ for (var l = new U(t), n, s = [l], i, h, d, g; n = s.pop(); )
101
101
  if ((h = a(n.data)) && (g = (h = Array.from(h)).length))
102
102
  for (n.children = h, d = g - 1; d >= 0; --d)
103
- s.push(i = h[d] = new Q(h[d])), i.parent = n, i.depth = n.depth + 1;
104
- return l.eachBefore(Qe);
103
+ s.push(i = h[d] = new U(h[d])), i.parent = n, i.depth = n.depth + 1;
104
+ return l.eachBefore(Ue);
105
105
  }
106
- function Ge() {
106
+ function Xe() {
107
107
  return ne(this).eachBefore(Ke);
108
108
  }
109
109
  function Ye(t) {
@@ -115,37 +115,37 @@ function je(t) {
115
115
  function Ke(t) {
116
116
  t.data.value !== void 0 && (t.value = t.data.value), t.data = t.data.data;
117
117
  }
118
- function Qe(t) {
118
+ function Ue(t) {
119
119
  var a = 0;
120
120
  do
121
121
  t.height = a;
122
122
  while ((t = t.parent) && t.height < ++a);
123
123
  }
124
- function Q(t) {
124
+ function U(t) {
125
125
  this.data = t, this.depth = this.height = 0, this.parent = null;
126
126
  }
127
- Q.prototype = ne.prototype = {
128
- constructor: Q,
127
+ U.prototype = ne.prototype = {
128
+ constructor: U,
129
129
  count: ke,
130
- each: Ve,
130
+ each: ze,
131
131
  eachAfter: De,
132
- eachBefore: ze,
132
+ eachBefore: Ve,
133
133
  find: Pe,
134
134
  sum: Be,
135
- sort: We,
135
+ sort: Ee,
136
136
  path: Re,
137
- ancestors: He,
138
- descendants: Ie,
137
+ ancestors: Ie,
138
+ descendants: He,
139
139
  leaves: Oe,
140
- links: Xe,
141
- copy: Ge,
140
+ links: Ge,
141
+ copy: Xe,
142
142
  [Symbol.iterator]: qe
143
143
  };
144
- function Ue(t) {
144
+ function Ze(t) {
145
145
  if (typeof t != "function") throw new Error();
146
146
  return t;
147
147
  }
148
- function X() {
148
+ function G() {
149
149
  return 0;
150
150
  }
151
151
  function q(t) {
@@ -153,10 +153,10 @@ function q(t) {
153
153
  return t;
154
154
  };
155
155
  }
156
- function Ze(t) {
156
+ function Je(t) {
157
157
  t.x0 = Math.round(t.x0), t.y0 = Math.round(t.y0), t.x1 = Math.round(t.x1), t.y1 = Math.round(t.y1);
158
158
  }
159
- function Je(t, a, l, n, s) {
159
+ function Qe(t, a, l, n, s) {
160
160
  for (var i = t.children, h, d = -1, g = i.length, c = t.value && (n - a) / t.value; ++d < g; )
161
161
  h = i[d], h.y0 = l, h.y1 = s, h.x0 = a, h.x1 = a += h.value * c;
162
162
  }
@@ -166,19 +166,19 @@ function et(t, a, l, n, s) {
166
166
  }
167
167
  var tt = (1 + Math.sqrt(5)) / 2;
168
168
  function at(t, a, l, n, s, i) {
169
- for (var h = [], d = a.children, g, c, u = 0, b = 0, r = d.length, x, S, v = a.value, p, y, N, $, z, E, M; u < r; ) {
169
+ for (var h = [], d = a.children, g, c, u = 0, b = 0, r = d.length, x, S, v = a.value, p, y, N, $, V, W, M; u < r; ) {
170
170
  x = s - l, S = i - n;
171
171
  do
172
172
  p = d[b++].value;
173
173
  while (!p && b < r);
174
- for (y = N = p, E = Math.max(S / x, x / S) / (v * t), M = p * p * E, z = Math.max(N / M, M / y); b < r; ++b) {
175
- if (p += c = d[b].value, c < y && (y = c), c > N && (N = c), M = p * p * E, $ = Math.max(N / M, M / y), $ > z) {
174
+ for (y = N = p, W = Math.max(S / x, x / S) / (v * t), M = p * p * W, V = Math.max(N / M, M / y); b < r; ++b) {
175
+ if (p += c = d[b].value, c < y && (y = c), c > N && (N = c), M = p * p * W, $ = Math.max(N / M, M / y), $ > V) {
176
176
  p -= c;
177
177
  break;
178
178
  }
179
- z = $;
179
+ V = $;
180
180
  }
181
- h.push(g = { value: p, dice: x < S, children: d.slice(u, b) }), g.dice ? Je(g, l, n, s, v ? n += S * p / v : i) : et(g, l, n, v ? l += x * p / v : s, i), v -= p, u = b;
181
+ h.push(g = { value: p, dice: x < S, children: d.slice(u, b) }), g.dice ? Qe(g, l, n, s, v ? n += S * p / v : i) : et(g, l, n, v ? l += x * p / v : s, i), v -= p, u = b;
182
182
  }
183
183
  return h;
184
184
  }
@@ -191,9 +191,9 @@ const nt = (function t(a) {
191
191
  }, l;
192
192
  })(tt);
193
193
  function lt() {
194
- var t = nt, a = !1, l = 1, n = 1, s = [0], i = X, h = X, d = X, g = X, c = X;
194
+ var t = nt, a = !1, l = 1, n = 1, s = [0], i = G, h = G, d = G, g = G, c = G;
195
195
  function u(r) {
196
- return r.x0 = r.y0 = 0, r.x1 = l, r.y1 = n, r.eachBefore(b), s = [0], a && r.eachBefore(Ze), r;
196
+ return r.x0 = r.y0 = 0, r.x1 = l, r.y1 = n, r.eachBefore(b), s = [0], a && r.eachBefore(Je), r;
197
197
  }
198
198
  function b(r) {
199
199
  var x = s[r.depth], S = r.x0 + x, v = r.y0 + x, p = r.x1 - x, y = r.y1 - x;
@@ -204,7 +204,7 @@ function lt() {
204
204
  }, u.size = function(r) {
205
205
  return arguments.length ? (l = +r[0], n = +r[1], u) : [l, n];
206
206
  }, u.tile = function(r) {
207
- return arguments.length ? (t = Ue(r), u) : t;
207
+ return arguments.length ? (t = Ze(r), u) : t;
208
208
  }, u.padding = function(r) {
209
209
  return arguments.length ? u.paddingInner(r).paddingOuter(r) : u.paddingInner();
210
210
  }, u.paddingInner = function(r) {
@@ -319,11 +319,11 @@ var st = /* @__PURE__ */ w((t, a) => {
319
319
  throw te.error("Error parsing treemap:", a), a;
320
320
  }
321
321
  }, "parse")
322
- }, it = 10, W = 10, G = 25, ot = /* @__PURE__ */ w((t, a, l, n) => {
322
+ }, it = 10, E = 10, X = 25, ot = /* @__PURE__ */ w((t, a, l, n) => {
323
323
  const s = n.db, i = s.getConfig(), h = i.padding ?? it, d = s.getDiagramTitle(), g = s.getRoot(), { themeVariables: c } = ae();
324
324
  if (!g)
325
325
  return;
326
- const u = d ? 30 : 0, b = Se(a), r = i.nodeWidth ? i.nodeWidth * W : 960, x = i.nodeHeight ? i.nodeHeight * W : 500, S = r, v = x + u;
326
+ const u = d ? 30 : 0, b = Se(a), r = i.nodeWidth ? i.nodeWidth * E : 960, x = i.nodeHeight ? i.nodeHeight * E : 500, S = r, v = x + u;
327
327
  b.attr("viewBox", `0 0 ${S} ${v}`), ve(b, v, S, i.useMaxWidth);
328
328
  let p;
329
329
  try {
@@ -341,7 +341,7 @@ var st = /* @__PURE__ */ w((t, a) => {
341
341
  } catch (e) {
342
342
  te.error("Error creating format function:", e), p = O(",");
343
343
  }
344
- const y = J().range([
344
+ const y = Q().range([
345
345
  "transparent",
346
346
  c.cScale0,
347
347
  c.cScale1,
@@ -355,7 +355,7 @@ var st = /* @__PURE__ */ w((t, a) => {
355
355
  c.cScale9,
356
356
  c.cScale10,
357
357
  c.cScale11
358
- ]), N = J().range([
358
+ ]), N = Q().range([
359
359
  "transparent",
360
360
  c.cScalePeer0,
361
361
  c.cScalePeer1,
@@ -369,7 +369,7 @@ var st = /* @__PURE__ */ w((t, a) => {
369
369
  c.cScalePeer9,
370
370
  c.cScalePeer10,
371
371
  c.cScalePeer11
372
- ]), $ = J().range([
372
+ ]), $ = Q().range([
373
373
  c.cScaleLabel0,
374
374
  c.cScaleLabel1,
375
375
  c.cScaleLabel2,
@@ -384,15 +384,15 @@ var st = /* @__PURE__ */ w((t, a) => {
384
384
  c.cScaleLabel11
385
385
  ]);
386
386
  d && b.append("text").attr("x", S / 2).attr("y", u / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(d);
387
- const z = b.append("g").attr("transform", `translate(0, ${u})`).attr("class", "treemapContainer"), E = ne(g).sum((e) => e.value ?? 0).sort((e, o) => (o.value ?? 0) - (e.value ?? 0)), le = lt().size([r, x]).paddingTop(
388
- (e) => e.children && e.children.length > 0 ? G + W : 0
389
- ).paddingInner(h).paddingLeft((e) => e.children && e.children.length > 0 ? W : 0).paddingRight((e) => e.children && e.children.length > 0 ? W : 0).paddingBottom((e) => e.children && e.children.length > 0 ? W : 0).round(!0)(E), de = le.descendants().filter((e) => e.children && e.children.length > 0), H = z.selectAll(".treemapSection").data(de).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
390
- H.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", G).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", 0.6).attr("stroke-width", 0.6).attr("style", (e) => e.depth === 0 ? "display: none;" : ""), H.append("clipPath").attr("id", (e, o) => `clip-section-${a}-${o}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 12)).attr("height", G), H.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", (e, o) => `treemapSection section${o}`).attr("fill", (e) => y(e.data.name)).attr("fill-opacity", 0.6).attr("stroke", (e) => N(e.data.name)).attr("stroke-width", 2).attr("stroke-opacity", 0.4).attr("style", (e) => {
387
+ const V = b.append("g").attr("transform", `translate(0, ${u})`).attr("class", "treemapContainer"), W = ne(g).sum((e) => e.value ?? 0).sort((e, o) => (o.value ?? 0) - (e.value ?? 0)), le = lt().size([r, x]).paddingTop(
388
+ (e) => e.children && e.children.length > 0 ? X + E : 0
389
+ ).paddingInner(h).paddingLeft((e) => e.children && e.children.length > 0 ? E : 0).paddingRight((e) => e.children && e.children.length > 0 ? E : 0).paddingBottom((e) => e.children && e.children.length > 0 ? E : 0).round(!0)(W), de = le.descendants().filter((e) => e.children && e.children.length > 0), I = V.selectAll(".treemapSection").data(de).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
390
+ I.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", X).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", 0.6).attr("stroke-width", 0.6).attr("style", (e) => e.depth === 0 ? "display: none;" : ""), I.append("clipPath").attr("id", (e, o) => `clip-section-${a}-${o}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 12)).attr("height", X), I.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", (e, o) => `treemapSection section${o}`).attr("fill", (e) => y(e.data.name)).attr("fill-opacity", 0.6).attr("stroke", (e) => N(e.data.name)).attr("stroke-width", 2).attr("stroke-opacity", 0.4).attr("style", (e) => {
391
391
  if (e.depth === 0)
392
392
  return "display: none;";
393
393
  const o = B({ cssCompiledStyles: e.data.cssCompiledStyles });
394
394
  return o.nodeStyles + ";" + o.borderStyles.join(";");
395
- }), H.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", G / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("clip-path", (e, o) => `url(#clip-section-${a}-${o})`).attr("style", (e) => {
395
+ }), I.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", X / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("clip-path", (e, o) => `url(#clip-section-${a}-${o})`).attr("style", (e) => {
396
396
  if (e.depth === 0)
397
397
  return "display: none;";
398
398
  const o = "dominant-baseline: middle; font-size: 12px; fill:" + $(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;", f = B({ cssCompiledStyles: e.data.cssCompiledStyles });
@@ -407,28 +407,28 @@ var st = /* @__PURE__ */ w((t, a) => {
407
407
  i.showValues !== !1 && e.value ? T = C - 10 - 30 - 10 - L : T = C - L - 6;
408
408
  const m = Math.max(15, T), _ = o.node();
409
409
  if (_.getComputedTextLength() > m) {
410
- let V = f;
411
- for (; V.length > 0; ) {
412
- if (V = f.substring(0, V.length - 1), V.length === 0) {
410
+ let z = f;
411
+ for (; z.length > 0; ) {
412
+ if (z = f.substring(0, z.length - 1), z.length === 0) {
413
413
  o.text("..."), _.getComputedTextLength() > m && o.text("");
414
414
  break;
415
415
  }
416
- if (o.text(V + "..."), _.getComputedTextLength() <= m)
416
+ if (o.text(z + "..."), _.getComputedTextLength() <= m)
417
417
  break;
418
418
  }
419
419
  }
420
- }), i.showValues !== !1 && H.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", G / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? p(e.value) : "").attr("font-style", "italic").attr("style", (e) => {
420
+ }), i.showValues !== !1 && I.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", X / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? p(e.value) : "").attr("font-style", "italic").attr("style", (e) => {
421
421
  if (e.depth === 0)
422
422
  return "display: none;";
423
423
  const o = "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + $(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;", f = B({ cssCompiledStyles: e.data.cssCompiledStyles });
424
424
  return o + f.labelStyles.replace("color:", "fill:");
425
425
  });
426
- const se = le.leaves(), A = se.length > 20, ue = A ? 16 : 38, Y = A ? 14 : 28, D = A ? 4 : 8, I = A ? 4 : 6, U = A ? 2 : 4, re = A ? 8 : 10, Z = A ? 1 : 2, j = z.selectAll(".treemapLeafGroup").data(se).enter().append("g").attr("class", (e, o) => `treemapNode treemapLeafGroup leaf${o}${e.data.classSelector ? ` ${e.data.classSelector}` : ""}x`).attr("transform", (e) => `translate(${e.x0},${e.y0})`);
426
+ const se = le.leaves(), A = se.length > 20, ue = A ? 16 : 38, Y = A ? 14 : 28, D = A ? 4 : 8, H = A ? 4 : 6, Z = A ? 2 : 4, re = A ? 8 : 10, J = A ? 1 : 2, j = V.selectAll(".treemapLeafGroup").data(se).enter().append("g").attr("class", (e, o) => `treemapNode treemapLeafGroup leaf${o}${e.data.classSelector ? ` ${e.data.classSelector}` : ""}x`).attr("transform", (e) => `translate(${e.x0},${e.y0})`);
427
427
  j.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? y(e.parent.data.name) : y(e.data.name)).attr("style", (e) => B({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", 0.3).attr("stroke", (e) => e.parent ? y(e.parent.data.name) : y(e.data.name)).attr("stroke-width", 3), j.append("clipPath").attr("id", (e, o) => `clip-${a}-${o}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), j.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => {
428
428
  const o = `text-anchor: middle; dominant-baseline: middle; font-size: ${ue}px;fill:` + $(e.data.name) + ";", f = B({ cssCompiledStyles: e.data.cssCompiledStyles });
429
429
  return o + f.labelStyles.replace("color:", "fill:");
430
430
  }).attr("clip-path", (e, o) => `url(#clip-${a}-${o})`).text((e) => e.data.name).each(function(e) {
431
- const o = K(this), f = e.x1 - e.x0, C = e.y1 - e.y0, L = o.node(), T = f - 2 * U, P = C - 2 * U;
431
+ const o = K(this), f = e.x1 - e.x0, C = e.y1 - e.y0, L = o.node(), T = f - 2 * Z, P = C - 2 * Z;
432
432
  if (T < re || P < re) {
433
433
  o.style("display", "none");
434
434
  return;
@@ -438,14 +438,14 @@ var st = /* @__PURE__ */ w((t, a) => {
438
438
  for (; L.getComputedTextLength() > T && m > D; )
439
439
  m--, o.style("font-size", `${m}px`);
440
440
  let F = Math.max(
441
- I,
441
+ H,
442
442
  Math.min(Y, Math.round(m * _))
443
- ), k = m + Z + F;
443
+ ), k = m + J + F;
444
444
  for (; k > P && m > D && (m--, F = Math.max(
445
- I,
445
+ H,
446
446
  Math.min(Y, Math.round(m * _))
447
- ), !(F < I && m === D)); )
448
- o.style("font-size", `${m}px`), k = m + Z + F;
447
+ ), !(F < H && m === D)); )
448
+ o.style("font-size", `${m}px`), k = m + J + F;
449
449
  o.style("font-size", `${m}px`), A ? (m < D || P < D) && o.style("display", "none") : (L.getComputedTextLength() > T || m < D || P < m) && o.style("display", "none");
450
450
  }), i.showValues !== !1 && j.append("text").attr("class", "treemapValue").attr("x", (o) => (o.x1 - o.x0) / 2).attr("y", function(o) {
451
451
  return (o.y1 - o.y0) / 2;
@@ -464,14 +464,14 @@ var st = /* @__PURE__ */ w((t, a) => {
464
464
  return;
465
465
  }
466
466
  const T = parseFloat(L.style("font-size")), m = Math.max(
467
- I,
467
+ H,
468
468
  Math.min(Y, Math.round(T * 0.6))
469
469
  );
470
470
  f.style("font-size", `${m}px`);
471
- const F = (o.y1 - o.y0) / 2 + T / 2 + Z;
471
+ const F = (o.y1 - o.y0) / 2 + T / 2 + J;
472
472
  f.attr("y", F);
473
- const k = o.x1 - o.x0, ie = o.y1 - o.y0 - 4, me = k - 2 * U;
474
- f.node().getComputedTextLength() > me || F + m > ie || m < I ? f.style("display", "none") : f.style("display", null);
473
+ const k = o.x1 - o.x0, ie = o.y1 - o.y0 - 4, me = k - 2 * Z;
474
+ f.node().getComputedTextLength() > me || F + m > ie || m < H ? f.style("display", "none") : f.style("display", null);
475
475
  });
476
476
  const pe = i.diagramPadding ?? 8;
477
477
  Ne(b, pe, "flowchart", i?.useMaxWidth || !1);
@@ -1,13 +1,13 @@
1
- import { p as B } from "./chunk-JWPE2WC7-DG0ebjV4.js";
2
- import { _ as b, am as m, ap as C, X as S, W as w, R as D, Q as T, aa as P, ab as z, O as E, K as F, ak as A, an as W, ag as _ } from "./extractHeadings-DlQcPv5N.js";
1
+ import { p as B } from "./chunk-JWPE2WC7-Bj2m1SXZ.js";
2
+ import { _ as b, F as m, I as C, e as S, l as w, b as D, a as T, q as z, t as F, g as P, s as E, D as A, G as W, z as _ } from "./mermaid.core-C4EClWgB.js";
3
3
  import { p as N } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
4
- var L = W.packet, u, v = (u = class {
4
+ var I = W.packet, u, v = (u = class {
5
5
  constructor() {
6
- this.packet = [], this.setAccTitle = D, this.getAccTitle = T, this.setDiagramTitle = P, this.getDiagramTitle = z, this.getAccDescription = E, this.setAccDescription = F;
6
+ this.packet = [], this.setAccTitle = D, this.getAccTitle = T, this.setDiagramTitle = z, this.getDiagramTitle = F, this.getAccDescription = P, this.setAccDescription = E;
7
7
  }
8
8
  getConfig() {
9
9
  const t = m({
10
- ...L,
10
+ ...I,
11
11
  ...A().packet
12
12
  });
13
13
  return t.showBits && (t.paddingY += 10), t;
@@ -21,7 +21,7 @@ var L = W.packet, u, v = (u = class {
21
21
  clear() {
22
22
  _(), this.packet = [];
23
23
  }
24
- }, b(u, "PacketDB"), u), M = 1e4, O = /* @__PURE__ */ b((e, t) => {
24
+ }, b(u, "PacketDB"), u), L = 1e4, M = /* @__PURE__ */ b((e, t) => {
25
25
  B(e, t);
26
26
  let r = -1, s = [], n = 1;
27
27
  const { bitsPerRow: l } = t.getConfig();
@@ -34,7 +34,7 @@ var L = W.packet, u, v = (u = class {
34
34
  );
35
35
  if (d === 0)
36
36
  throw new Error(`Packet block ${a} is invalid. Cannot have a zero bit field.`);
37
- for (i ??= a + (d ?? 1) - 1, d ??= i - a + 1, r = i, w.debug(`Packet block ${a} - ${r} with label ${c}`); s.length <= l + 1 && t.getPacket().length < M; ) {
37
+ for (i ??= a + (d ?? 1) - 1, d ??= i - a + 1, r = i, w.debug(`Packet block ${a} - ${r} with label ${c}`); s.length <= l + 1 && t.getPacket().length < L; ) {
38
38
  const [p, o] = Y({ start: a, end: i, bits: d, label: c }, n, l);
39
39
  if (s.push(p), p.end + 1 === n * l && (t.pushWord(s), s = [], n++), !o)
40
40
  break;
@@ -75,15 +75,15 @@ var L = W.packet, u, v = (u = class {
75
75
  throw new Error(
76
76
  "parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues."
77
77
  );
78
- w.debug(t), O(t, r);
78
+ w.debug(t), M(t, r);
79
79
  }, "parse")
80
- }, I = /* @__PURE__ */ b((e, t, r, s) => {
80
+ }, G = /* @__PURE__ */ b((e, t, r, s) => {
81
81
  const n = s.db, l = n.getConfig(), { rowHeight: a, paddingY: i, bitWidth: d, bitsPerRow: c } = l, p = n.getPacket(), o = n.getDiagramTitle(), h = a + i, g = h * (p.length + 1) - (o ? 0 : a), k = d * c + 2, f = C(t);
82
82
  f.attr("viewBox", `0 0 ${k} ${g}`), S(f, g, k, l.useMaxWidth);
83
83
  for (const [y, $] of p.entries())
84
- K(f, $, y, l);
84
+ O(f, $, y, l);
85
85
  f.append("text").text(o).attr("x", k / 2).attr("y", g - h / 2).attr("dominant-baseline", "middle").attr("text-anchor", "middle").attr("class", "packetTitle");
86
- }, "draw"), K = /* @__PURE__ */ b((e, t, r, { rowHeight: s, paddingX: n, paddingY: l, bitWidth: a, bitsPerRow: i, showBits: d }) => {
86
+ }, "draw"), O = /* @__PURE__ */ b((e, t, r, { rowHeight: s, paddingX: n, paddingY: l, bitWidth: a, bitsPerRow: i, showBits: d }) => {
87
87
  const c = e.append("g"), p = r * (s + l) + l;
88
88
  for (const o of t) {
89
89
  const h = o.start % i * a + 1, g = (o.end - o.start + 1) * a - n;
@@ -92,7 +92,7 @@ var L = W.packet, u, v = (u = class {
92
92
  const k = o.end === o.start, f = p - 2;
93
93
  c.append("text").attr("x", h + (k ? g / 2 : 0)).attr("y", f).attr("class", "packetByte start").attr("dominant-baseline", "auto").attr("text-anchor", k ? "middle" : "start").text(o.start), k || c.append("text").attr("x", h + g).attr("y", f).attr("class", "packetByte end").attr("dominant-baseline", "auto").attr("text-anchor", "end").text(o.end);
94
94
  }
95
- }, "drawWord"), R = { draw: I }, X = {
95
+ }, "drawWord"), j = { draw: G }, q = {
96
96
  byteFontSize: "10px",
97
97
  startByteColor: "black",
98
98
  endByteColor: "black",
@@ -103,8 +103,8 @@ var L = W.packet, u, v = (u = class {
103
103
  blockStrokeColor: "black",
104
104
  blockStrokeWidth: "1",
105
105
  blockFillColor: "#efefef"
106
- }, j = /* @__PURE__ */ b(({ packet: e } = {}) => {
107
- const t = m(X, e);
106
+ }, H = /* @__PURE__ */ b(({ packet: e } = {}) => {
107
+ const t = m(q, e);
108
108
  return `
109
109
  .packetByte {
110
110
  font-size: ${t.byteFontSize};
@@ -129,14 +129,14 @@ var L = W.packet, u, v = (u = class {
129
129
  fill: ${t.blockFillColor};
130
130
  }
131
131
  `;
132
- }, "styles"), U = {
132
+ }, "styles"), X = {
133
133
  parser: x,
134
134
  get db() {
135
135
  return new v();
136
136
  },
137
- renderer: R,
138
- styles: j
137
+ renderer: j,
138
+ styles: H
139
139
  };
140
140
  export {
141
- U as diagram
141
+ X as diagram
142
142
  };
@@ -0,0 +1,24 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./chunk-JWPE2WC7-Dgw1ILoe.cjs"),a=require("./mermaid.core-CRP55Hm1.cjs"),$=require("./cynefin-VYW2F7L2-MpAliYy9.cjs");var B=a.defaultConfig_default.packet,b,m=(b=class{constructor(){this.packet=[],this.setAccTitle=a.setAccTitle,this.getAccTitle=a.getAccTitle,this.setDiagramTitle=a.setDiagramTitle,this.getDiagramTitle=a.getDiagramTitle,this.getAccDescription=a.getAccDescription,this.setAccDescription=a.setAccDescription}getConfig(){const t=a.cleanAndMerge({...B,...a.getConfig().packet});return t.showBits&&(t.paddingY+=10),t}getPacket(){return this.packet}pushWord(t){t.length>0&&this.packet.push(t)}clear(){a.clear(),this.packet=[]}},a.__name(b,"PacketDB"),b),C=1e4,_=a.__name((e,t)=>{x.populateCommonDb(e,t);let o=-1,i=[],l=1;const{bitsPerRow:c}=t.getConfig();for(let{start:r,end:s,bits:p,label:d}of e.blocks){if(r!==void 0&&s!==void 0&&s<r)throw new Error(`Packet block ${r} - ${s} is invalid. End must be greater than start.`);if(r??=o+1,r!==o+1)throw new Error(`Packet block ${r} - ${s??r} is not contiguous. It should start from ${o+1}.`);if(p===0)throw new Error(`Packet block ${r} is invalid. Cannot have a zero bit field.`);for(s??=r+(p??1)-1,p??=s-r+1,o=s,a.log.debug(`Packet block ${r} - ${o} with label ${d}`);i.length<=c+1&&t.getPacket().length<C;){const[g,n]=S({start:r,end:s,bits:p,label:d},l,c);if(i.push(g),g.end+1===l*c&&(t.pushWord(i),i=[],l++),!n)break;({start:r,end:s,bits:p,label:d}=n)}}t.pushWord(i)},"populate"),S=a.__name((e,t,o)=>{if(e.start===void 0)throw new Error("start should have been set during first phase");if(e.end===void 0)throw new Error("end should have been set during first phase");if(e.start>e.end)throw new Error(`Block start ${e.start} is greater than block end ${e.end}.`);if(e.end+1<=t*o)return[e,void 0];const i=t*o-1,l=t*o;return[{start:e.start,end:i,label:e.label,bits:i-e.start},{start:l,end:e.end,label:e.label,bits:e.end-l}]},"getNextFittingBlock"),w={parser:{yy:void 0},parse:a.__name(async e=>{const t=await $.parse("packet",e),o=w.parser?.yy;if(!(o instanceof m))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");a.log.debug(t),_(t,o)},"parse")},P=a.__name((e,t,o,i)=>{const l=i.db,c=l.getConfig(),{rowHeight:r,paddingY:s,bitWidth:p,bitsPerRow:d}=c,g=l.getPacket(),n=l.getDiagramTitle(),k=r+s,h=k*(g.length+1)-(n?0:r),f=p*d+2,u=a.selectSvgElement(t);u.attr("viewBox",`0 0 ${f} ${h}`),a.configureSvgSize(u,h,f,c.useMaxWidth);for(const[v,y]of g.entries())T(u,y,v,c);u.append("text").text(n).attr("x",f/2).attr("y",h-k/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),T=a.__name((e,t,o,{rowHeight:i,paddingX:l,paddingY:c,bitWidth:r,bitsPerRow:s,showBits:p})=>{const d=e.append("g"),g=o*(i+c)+c;for(const n of t){const k=n.start%s*r+1,h=(n.end-n.start+1)*r-l;if(d.append("rect").attr("x",k).attr("y",g).attr("width",h).attr("height",i).attr("class","packetBlock"),d.append("text").attr("x",k+h/2).attr("y",g+i/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(n.label),!p)continue;const f=n.end===n.start,u=g-2;d.append("text").attr("x",k+(f?h/2:0)).attr("y",u).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",f?"middle":"start").text(n.start),f||d.append("text").attr("x",k+h).attr("y",u).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(n.end)}},"drawWord"),D={draw:P},E={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},F=a.__name(({packet:e}={})=>{const t=a.cleanAndMerge(E,e);return`
2
+ .packetByte {
3
+ font-size: ${t.byteFontSize};
4
+ }
5
+ .packetByte.start {
6
+ fill: ${t.startByteColor};
7
+ }
8
+ .packetByte.end {
9
+ fill: ${t.endByteColor};
10
+ }
11
+ .packetLabel {
12
+ fill: ${t.labelColor};
13
+ font-size: ${t.labelFontSize};
14
+ }
15
+ .packetTitle {
16
+ fill: ${t.titleColor};
17
+ font-size: ${t.titleFontSize};
18
+ }
19
+ .packetBlock {
20
+ stroke: ${t.blockStrokeColor};
21
+ stroke-width: ${t.blockStrokeWidth};
22
+ fill: ${t.blockFillColor};
23
+ }
24
+ `},"styles"),z={parser:w,get db(){return new m},renderer:D,styles:F};exports.diagram=z;
@@ -1,8 +1,8 @@
1
- import { I as z } from "./chunk-2Q5K7J3B-CopwR1m3.js";
2
- import { p as O } from "./chunk-JWPE2WC7-DG0ebjV4.js";
3
- import { aa as G, R as Y, K as P, ab as F, O as j, Q as Z, _ as f, am as A, W as N, ap as q, X as U, ak as D, ag as K, a0 as Q, a$ as J, an as ee, b0 as te } from "./extractHeadings-DlQcPv5N.js";
1
+ import { I as X } from "./chunk-2Q5K7J3B-BkE4Fsuz.js";
2
+ import { p as G } from "./chunk-JWPE2WC7-Bj2m1SXZ.js";
3
+ import { q as O, b as Y, s as F, t as P, g as j, a as q, _ as f, F as A, l as D, I as Z, e as U, D as N, z as J, i as K, ak as Q, G as ee, al as te } from "./mermaid.core-C4EClWgB.js";
4
4
  import { p as ne } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
5
- var E = /[─━│┃└┗├┣]/, S = /[└┗├┣]/, re = /[─━]/, $ = /^[\s│┃]+$/, k = /^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/, V = /^\s*%%/, ie = " ";
5
+ var E = /[─━│┃└┗├┣]/, S = /[└┗├┣]/, re = /[─━]/, k = /^[\s│┃]+$/, V = /^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/, $ = /^\s*%%/, ie = " ";
6
6
  function L(n) {
7
7
  return n.some((e) => E.test(e));
8
8
  }
@@ -37,7 +37,7 @@ function R(n) {
37
37
  const i = [];
38
38
  for (let s = r + 1; s < e.length; s++) {
39
39
  const o = e[s];
40
- o.trim() === "" || V.test(o) || k.test(o) || $.test(o) || i.push(o.replace(/\t/g, " "));
40
+ o.trim() === "" || $.test(o) || V.test(o) || k.test(o) || i.push(o.replace(/\t/g, " "));
41
41
  }
42
42
  if (!L(i))
43
43
  return { text: n, lineMap: t };
@@ -51,15 +51,15 @@ function R(n) {
51
51
  c.push(o), l++, t.set(l, p);
52
52
  continue;
53
53
  }
54
- if (V.test(o)) {
54
+ if ($.test(o)) {
55
55
  c.push(o), l++, t.set(l, p);
56
56
  continue;
57
57
  }
58
- if (k.test(o)) {
58
+ if (V.test(o)) {
59
59
  c.push(o), l++, t.set(l, p);
60
60
  continue;
61
61
  }
62
- if ($.test(o))
62
+ if (k.test(o))
63
63
  continue;
64
64
  const d = o.replace(/\t/g, " "), w = S.exec(d);
65
65
  if (w?.index !== void 0) {
@@ -74,8 +74,8 @@ function R(n) {
74
74
  throw new Error(
75
75
  `Line ${p}: Empty node — expected a filename or directory name after the box-drawing prefix`
76
76
  );
77
- const X = ie.repeat(m);
78
- c.push(X + v), l++, t.set(l, p);
77
+ const W = ie.repeat(m);
78
+ c.push(W + v), l++, t.set(l, p);
79
79
  } else {
80
80
  if (/^[\s─━│┃└┗├┣]+$/.test(d))
81
81
  continue;
@@ -94,7 +94,7 @@ function R(n) {
94
94
  `), lineMap: t };
95
95
  }
96
96
  f(R, "preprocessBoxDrawing");
97
- var x = new z(() => ({
97
+ var x = new X(() => ({
98
98
  cnt: 1,
99
99
  stack: [
100
100
  {
@@ -106,8 +106,8 @@ var x = new z(() => ({
106
106
  }
107
107
  ]
108
108
  })), oe = /* @__PURE__ */ f(() => {
109
- x.reset(), K();
110
- }, "clear"), se = /* @__PURE__ */ f(() => x.records.stack[0], "getRoot"), ae = /* @__PURE__ */ f(() => x.records.cnt, "getCount"), ce = ee.treeView, le = /* @__PURE__ */ f(() => A(ce, D().treeView), "getConfig"), de = /* @__PURE__ */ f((n, e, t, r, i, a) => {
109
+ x.reset(), J();
110
+ }, "clear"), se = /* @__PURE__ */ f(() => x.records.stack[0], "getRoot"), ae = /* @__PURE__ */ f(() => x.records.cnt, "getCount"), ce = ee.treeView, le = /* @__PURE__ */ f(() => A(ce, N().treeView), "getConfig"), de = /* @__PURE__ */ f((n, e, t, r, i, a) => {
111
111
  for (; n <= x.records.stack[x.records.stack.length - 1].level; )
112
112
  x.records.stack.pop();
113
113
  const c = {
@@ -127,20 +127,20 @@ var x = new z(() => ({
127
127
  getRoot: se,
128
128
  getCount: ae,
129
129
  getConfig: le,
130
- getAccTitle: Z,
130
+ getAccTitle: q,
131
131
  getAccDescription: j,
132
- getDiagramTitle: F,
133
- setAccDescription: P,
132
+ getDiagramTitle: P,
133
+ setAccDescription: F,
134
134
  setAccTitle: Y,
135
- setDiagramTitle: G
135
+ setDiagramTitle: O
136
136
  }, I = he, pe = /* @__PURE__ */ f((n) => {
137
- O(n, I);
137
+ G(n, I);
138
138
  for (const e of n.nodes) {
139
139
  const t = typeof e.indent == "number" ? e.indent : 0;
140
140
  let r = e.name;
141
141
  const i = r.endsWith("/");
142
142
  i && (r = r.slice(0, -1));
143
- const a = i ? "directory" : "file", c = e.classAnnotation || void 0, l = e.iconAnnotation, s = l !== void 0 ? l || "none" : void 0, o = e.descAnnotation || void 0, h = o ? Q(o, D()) : void 0;
143
+ const a = i ? "directory" : "file", c = e.classAnnotation || void 0, l = e.iconAnnotation, s = l !== void 0 ? l || "none" : void 0, o = e.descAnnotation || void 0, h = o ? K(o, N()) : void 0;
144
144
  I.addNode(t, r, a, c, s, h);
145
145
  }
146
146
  }, "populate"), fe = {
@@ -148,7 +148,7 @@ var x = new z(() => ({
148
148
  const { text: e, lineMap: t } = R(n);
149
149
  try {
150
150
  const r = await ne("treeView", e);
151
- N.debug(r), pe(r);
151
+ D.debug(r), pe(r);
152
152
  } catch (r) {
153
153
  throw t.size > 0 && r instanceof Error && (r.message = M(r.message, t)), r;
154
154
  }
@@ -166,7 +166,7 @@ var x = new z(() => ({
166
166
  }
167
167
  }
168
168
  };
169
- function H(n, e) {
169
+ function z(n, e) {
170
170
  const t = e?.filenameIcons?.[n];
171
171
  if (t)
172
172
  return t;
@@ -176,7 +176,7 @@ function H(n, e) {
176
176
  return a?.[i] ?? a?.[i.slice(1)];
177
177
  }
178
178
  }
179
- f(H, "detectIcon");
179
+ f(z, "detectIcon");
180
180
  function C(n, e) {
181
181
  return n.includes(":") ? n : n in b.icons || !e ? `${b.prefix}:${n}` : `${e}:${n}`;
182
182
  }
@@ -187,7 +187,7 @@ function B(n, e) {
187
187
  return C(n.icon, e.defaultIconPack);
188
188
  if (e.showIcons) {
189
189
  if (n.nodeType === "file") {
190
- const t = H(n.name, e);
190
+ const t = z(n.name, e);
191
191
  if (t === "none")
192
192
  return;
193
193
  if (t)
@@ -204,7 +204,7 @@ te([
204
204
  icons: b
205
205
  }
206
206
  ]);
207
- var y = 14, ge = 4, ue = 16, W = /* @__PURE__ */ f((n, e) => `tv-icon-${n}-${e.replace(/[^\w-]/g, "-")}`, "iconSymbolId"), we = /* @__PURE__ */ f(async (n, e, t, r) => {
207
+ var y = 14, ge = 4, ue = 16, H = /* @__PURE__ */ f((n, e) => `tv-icon-${n}-${e.replace(/[^\w-]/g, "-")}`, "iconSymbolId"), we = /* @__PURE__ */ f(async (n, e, t, r) => {
208
208
  const i = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ f((s) => {
209
209
  const o = B(s, t);
210
210
  o && i.add(o), s.children.forEach(a);
@@ -214,20 +214,20 @@ var y = 14, ge = 4, ue = 16, W = /* @__PURE__ */ f((n, e) => `tv-icon-${n}-${e.r
214
214
  const c = await Promise.all(
215
215
  [...i].map(async (s) => ({
216
216
  icon: s,
217
- svg: await J(s, {
217
+ svg: await Q(s, {
218
218
  height: y,
219
219
  width: y
220
220
  })
221
221
  }))
222
222
  ), l = n.append("defs");
223
223
  for (const { icon: s, svg: o } of c)
224
- l.append("g").attr("id", W(r, s)).html(o);
224
+ l.append("g").attr("id", H(r, s)).html(o);
225
225
  }, "injectIconDefs"), me = /* @__PURE__ */ f((n, e, t, r, i, a) => {
226
226
  const c = r.append("g");
227
227
  let l = "treeView-node-label";
228
228
  t.nodeType === "directory" && (l += " treeView-node-dir"), t.cssClass && (l += ` ${t.cssClass}`);
229
229
  const s = y + ge, o = B(t, i), h = o !== void 0;
230
- o && c.append("use").attr("xlink:href", `#${W(a, o)}`).attr("x", n + i.paddingX).attr("y", e + i.paddingY).attr("class", "treeView-node-icon");
230
+ o && c.append("use").attr("xlink:href", `#${H(a, o)}`).attr("x", n + i.paddingX).attr("y", e + i.paddingY).attr("class", "treeView-node-icon");
231
231
  const p = c.append("text").text(t.name).attr("dominant-baseline", "middle").attr("class", l), { height: d, width: w } = p.node().getBBox(), g = d + i.paddingY * 2, m = n + i.paddingX + (h ? s : 0);
232
232
  p.attr("x", m), p.attr("y", e + g / 2);
233
233
  const u = m + w, v = w + i.paddingX * 2 + (h ? s : 0);
@@ -282,9 +282,9 @@ var y = 14, ge = 4, ue = 16, W = /* @__PURE__ */ f((n, e) => `tv-icon-${n}-${e.r
282
282
  }
283
283
  return { totalHeight: i, totalWidth: a };
284
284
  }, "drawTree"), ve = /* @__PURE__ */ f(async (n, e, t, r) => {
285
- N.debug(`Rendering treeView diagram
285
+ D.debug(`Rendering treeView diagram
286
286
  ` + n);
287
- const i = r.db, a = i.getRoot(), c = i.getConfig(), l = q(e);
287
+ const i = r.db, a = i.getRoot(), c = i.getConfig(), l = Z(e);
288
288
  await we(l, a, c, e);
289
289
  const s = l.append("g");
290
290
  s.attr("class", "tree-view");