@jackuait/blok 0.10.5 → 0.10.7

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 (311) hide show
  1. package/dist/blok.mjs +2 -2
  2. package/dist/chunks/_basePickBy--UeZi0iS.mjs +166 -0
  3. package/dist/chunks/_baseUniq-C977U_l-.mjs +682 -0
  4. package/dist/chunks/{arc-D-pL2Ftf.mjs → arc-Woh6y3jm.mjs} +2 -2
  5. package/dist/chunks/architecture-YZFGNWBL-aVO23UKm.mjs +3 -0
  6. package/dist/chunks/{architectureDiagram-Q4EWVU46-DS7mqjL2.mjs → architectureDiagram-Q4EWVU46-GTqLmLqg.mjs} +115 -115
  7. package/dist/chunks/{blockDiagram-DXYQGD6D-BTtcn4NG.mjs → blockDiagram-DXYQGD6D-CML01I1L.mjs} +681 -866
  8. package/dist/chunks/{blok-DSP5zC_s.mjs → blok-oWXfRfnM.mjs} +610 -566
  9. package/dist/chunks/{c4Diagram-AHTNJAMY-Y4Dcwcoo.mjs → c4Diagram-AHTNJAMY-C29OuYjO.mjs} +239 -239
  10. package/dist/chunks/{channel-Cln-eWE0.mjs → channel-Zp_OyvEW.mjs} +1 -1
  11. package/dist/chunks/{chunk-2KRD3SAO-DkM7qh-k.mjs → chunk-2KRD3SAO-mVfUZfox.mjs} +1 -1
  12. package/dist/chunks/{chunk-336JU56O-B17AtzlK.mjs → chunk-336JU56O-mJNxs0cr.mjs} +18 -18
  13. package/dist/chunks/{chunk-426QAEUC-D6UAVUog.mjs → chunk-426QAEUC-TajZlyP-.mjs} +2 -2
  14. package/dist/chunks/{chunk-4BX2VUAB-CgIkjF7Z.mjs → chunk-4BX2VUAB-CsopMMb6.mjs} +1 -1
  15. package/dist/chunks/{chunk-4TB4RGXK-BUP4eON3.mjs → chunk-4TB4RGXK-DC963IrJ.mjs} +129 -129
  16. package/dist/chunks/{chunk-55IACEB6-zZ-IgaSt.mjs → chunk-55IACEB6-yyL3mncJ.mjs} +1 -1
  17. package/dist/chunks/{chunk-5FUZZQ4R-DsZnJYxM.mjs → chunk-5FUZZQ4R-Dr4NE8rh.mjs} +663 -663
  18. package/dist/chunks/chunk-5PVQY5BW-BP7ENjg7.mjs +1122 -0
  19. package/dist/chunks/{chunk-67CJDMHE-m0UKdcSH.mjs → chunk-67CJDMHE-Dbl-PjEf.mjs} +1 -1
  20. package/dist/chunks/{chunk-7N4EOEYR-DKNajFZd.mjs → chunk-7N4EOEYR-p-g3cKuX.mjs} +1 -1
  21. package/dist/chunks/{chunk-AA7GKIK3-BeLhNzKa.mjs → chunk-AA7GKIK3-Dt0Kr5Va.mjs} +1 -1
  22. package/dist/chunks/{chunk-BSJP7CBP-CJExmx8a.mjs → chunk-BSJP7CBP-DGU2WHwh.mjs} +1 -1
  23. package/dist/chunks/{chunk-CIAEETIT-CTikoJ19.mjs → chunk-CIAEETIT-BQ4crY5r.mjs} +1 -1
  24. package/dist/chunks/{chunk-EDXVE4YY-DjInnnwb.mjs → chunk-EDXVE4YY-B9_aGwkV.mjs} +2 -2
  25. package/dist/chunks/{chunk-ENJZ2VHE-CIl5FRDA.mjs → chunk-ENJZ2VHE-23pY8ft5.mjs} +243 -243
  26. package/dist/chunks/{chunk-FMBD7UC4-DjV0W7UE.mjs → chunk-FMBD7UC4-D_RQlBGX.mjs} +1 -1
  27. package/dist/chunks/{chunk-FOC6F5B3-LmHCCWYY.mjs → chunk-FOC6F5B3-CJfr-iwx.mjs} +1 -1
  28. package/dist/chunks/{chunk-ICPOFSXX-BHZIN46A.mjs → chunk-ICPOFSXX-BOvOTlG6.mjs} +2 -2
  29. package/dist/chunks/{chunk-K5T4RW27-BPZ6fFnW.mjs → chunk-K5T4RW27-CHSI0vpp.mjs} +572 -570
  30. package/dist/chunks/{chunk-KGLVRYIC-S1OQdW76.mjs → chunk-KGLVRYIC-ngXT4XVA.mjs} +1 -1
  31. package/dist/chunks/{chunk-LIHQZDEY-CjtyJlI6.mjs → chunk-LIHQZDEY-CnP7bym1.mjs} +1 -1
  32. package/dist/chunks/{chunk-ORNJ4GCN-CdO0hAge.mjs → chunk-ORNJ4GCN-BPaghT45.mjs} +1 -1
  33. package/dist/chunks/{chunk-OYMX7WX6-ApX8eV4o.mjs → chunk-OYMX7WX6-CKjTvqTg.mjs} +172 -172
  34. package/dist/chunks/{chunk-QZHKN3VN-BGFuA6-k.mjs → chunk-QZHKN3VN-uW1N2UWF.mjs} +1 -1
  35. package/dist/chunks/{chunk-U2HBQHQK-B88ZUOTL.mjs → chunk-U2HBQHQK-DiQOEtQH.mjs} +65 -65
  36. package/dist/chunks/{chunk-X2U36JSP-1VS5TyCr.mjs → chunk-X2U36JSP-Cznp5Jm-.mjs} +2 -2
  37. package/dist/chunks/{chunk-XPW4576I-BMupdrvo.mjs → chunk-XPW4576I-W5t_agZI.mjs} +1 -1
  38. package/dist/chunks/{chunk-YZCP3GAM-BQ7eEsm2.mjs → chunk-YZCP3GAM-BV02tG_z.mjs} +3 -3
  39. package/dist/chunks/{chunk-ZZ45TVLE-D1xks9zd.mjs → chunk-ZZ45TVLE-D28EyJ6R.mjs} +7 -7
  40. package/dist/chunks/classDiagram-6PBFFD2Q-DXsClapu.mjs +30 -0
  41. package/dist/chunks/classDiagram-v2-HSJHXN6E-B6TlQ_PM.mjs +30 -0
  42. package/dist/chunks/{clone-Ckjt1LtE.mjs → clone-CUNvBGto.mjs} +1 -1
  43. package/dist/chunks/{constants-B0Tns0mh.mjs → constants-BQ1-lyZI.mjs} +4 -2
  44. package/dist/chunks/{cose-bilkent-S5V4N54A-Bpcs2jA_.mjs → cose-bilkent-S5V4N54A-D-Xgf_Xn.mjs} +2 -2
  45. package/dist/chunks/{cpp-BdjvAny0.mjs → cpp-DaTV1RSp.mjs} +2 -2
  46. package/dist/chunks/{dagre-KV5264BT-DUD9ikgN.mjs → dagre-KV5264BT-BB3SAlfA.mjs} +15 -15
  47. package/dist/chunks/{dagre-CGNbYTKq.mjs → dagre-dysBn-m8.mjs} +499 -552
  48. package/dist/chunks/diagram-5BDNPKRD-B1410bPG.mjs +112 -0
  49. package/dist/chunks/{diagram-G4DWMVQ6-CuS0-h95.mjs → diagram-G4DWMVQ6-CdhBBETB.mjs} +82 -82
  50. package/dist/chunks/{diagram-MMDJMWI5-C-AEApYz.mjs → diagram-MMDJMWI5-B3HWfHe1.mjs} +48 -48
  51. package/dist/chunks/{diagram-TYMM5635-CiwAJVMq.mjs → diagram-TYMM5635-D0JzRYCN.mjs} +51 -51
  52. package/dist/chunks/{erDiagram-SMLLAGMA-DeH5yck2.mjs → erDiagram-SMLLAGMA-DfIG0QBk.mjs} +142 -142
  53. package/dist/chunks/{flowDiagram-DWJPFMVM-Cr6dwmQ5.mjs → flowDiagram-DWJPFMVM-BOL8JsQX.mjs} +176 -176
  54. package/dist/chunks/{ganttDiagram-T4ZO3ILL-K-divBg_.mjs → ganttDiagram-T4ZO3ILL-CiUr_YRw.mjs} +230 -230
  55. package/dist/chunks/gitGraph-7Q5UKJZL-B3aq166w.mjs +3 -0
  56. package/dist/chunks/{gitGraphDiagram-UUTBAWPF-UytPZv72.mjs → gitGraphDiagram-UUTBAWPF-CtNkTTWO.mjs} +218 -218
  57. package/dist/chunks/{graphlib-Cye9EPNq.mjs → graphlib-BXNPwKuI.mjs} +48 -46
  58. package/dist/chunks/{graphql-BSnqmqgO.mjs → graphql-DNumR9m-.mjs} +2 -2
  59. package/dist/chunks/{html-BLNeZvnp.mjs → html-CanPsi1Y.mjs} +2 -2
  60. package/dist/chunks/{i18next-loader-D_v0EmDP.mjs → i18next-loader-CIXsptng.mjs} +1 -1
  61. package/dist/chunks/info-OMHHGYJF-SX91-Wub.mjs +3 -0
  62. package/dist/chunks/{infoDiagram-42DDH7IO-DuYnDbF3.mjs → infoDiagram-42DDH7IO-CD7nVBvi.mjs} +14 -14
  63. package/dist/chunks/isArrayLikeObject-DzUNFfIK.mjs +578 -0
  64. package/dist/chunks/isEmpty-D8B0aRsG.mjs +35 -0
  65. package/dist/chunks/{ishikawaDiagram-UXIWVN3A-CHc59dLn.mjs → ishikawaDiagram-UXIWVN3A-BOaC9qJs.mjs} +81 -81
  66. package/dist/chunks/{journeyDiagram-VCZTEJTY-CD25C4_n.mjs → journeyDiagram-VCZTEJTY-DKf55ZdJ.mjs} +6 -6
  67. package/dist/chunks/{kanban-definition-6JOO6SKY-CTCT6N_p.mjs → kanban-definition-6JOO6SKY-D2CrAXqB.mjs} +11 -11
  68. package/dist/chunks/{latex-24n3TcOR.mjs → latex-DY1HNB4U.mjs} +1 -1
  69. package/dist/chunks/line-CuvDsrkE.mjs +34 -0
  70. package/dist/chunks/{linear-BRCpMvtr.mjs → linear-JRIqMpGQ.mjs} +3 -3
  71. package/dist/chunks/{lua-DV0fuZWx.mjs → lua-COOfzihE.mjs} +1 -1
  72. package/dist/chunks/{mermaid-parser.core-CA3DKkuk.mjs → mermaid-parser.core-BhpZC2lA.mjs} +10 -10
  73. package/dist/chunks/mermaid.core-C40gcVfv.mjs +977 -0
  74. package/dist/chunks/{micromark-extension-math-BbkUb36G.mjs → micromark-extension-math-D-s54WWf.mjs} +1 -1
  75. package/dist/chunks/{mindmap-definition-QFDTVHPH-hNnyBkEP.mjs → mindmap-definition-QFDTVHPH-C-0fwUUS.mjs} +13 -13
  76. package/dist/chunks/{ordinal-B-kolV-i.mjs → ordinal-fyJMP-lj.mjs} +1 -1
  77. package/dist/chunks/packet-4T2RLAQJ-suhU85JN.mjs +3 -0
  78. package/dist/chunks/{php-DmXKyPwJ.mjs → php-DA-SOiqC.mjs} +6 -6
  79. package/dist/chunks/pie-ZZUOXDRM-DF5e16CP.mjs +3 -0
  80. package/dist/chunks/pieDiagram-DEJITSTG-BPyqheXv.mjs +179 -0
  81. package/dist/chunks/{quadrantDiagram-34T5L4WZ-CQ5fGYI5.mjs → quadrantDiagram-34T5L4WZ-kOZ1zIXB.mjs} +4 -4
  82. package/dist/chunks/radar-PYXPWWZC-DgzodpRv.mjs +3 -0
  83. package/dist/chunks/{requirementDiagram-MS252O5E-DjWKB42c.mjs → requirementDiagram-MS252O5E-C8Zkq6Lq.mjs} +64 -64
  84. package/dist/chunks/{ruby-DdOo03Kg.mjs → ruby-HDUjp8gK.mjs} +11 -11
  85. package/dist/chunks/{sankeyDiagram-XADWPNL6-BIN2evSB.mjs → sankeyDiagram-XADWPNL6-B0FhkAL9.mjs} +3 -3
  86. package/dist/chunks/{sequenceDiagram-FGHM5R23-CQz2lMoS.mjs → sequenceDiagram-FGHM5R23-Dv2H5Lbc.mjs} +447 -447
  87. package/dist/chunks/stateDiagram-FHFEXIEX-D1vcO7H_.mjs +218 -0
  88. package/dist/chunks/stateDiagram-v2-QKLJ7IA2-AoHzFiaI.mjs +28 -0
  89. package/dist/chunks/{timeline-definition-GMOUNBTQ-CzvQ7Lav.mjs → timeline-definition-GMOUNBTQ-DJmJ0TPa.mjs} +195 -195
  90. package/dist/chunks/{tools-KZmhOKEo.mjs → tools-MuBQQyZ-.mjs} +102 -100
  91. package/dist/chunks/treeView-SZITEDCU-C1mc9PWf.mjs +3 -0
  92. package/dist/chunks/treemap-W4RFUUIX-ClV9Slyp.mjs +3 -0
  93. package/dist/chunks/{vennDiagram-DHZGUBPP-B0DmLQqe.mjs → vennDiagram-DHZGUBPP-Dx1rMP24.mjs} +76 -76
  94. package/dist/chunks/wardley-RL74JXVD-Dj7t7jHR.mjs +3 -0
  95. package/dist/chunks/{wardleyDiagram-NUSXRM2D-CzoKesUw.mjs → wardleyDiagram-NUSXRM2D-Dnm6lvMn.mjs} +15 -15
  96. package/dist/chunks/{xml-g8kXXALs.mjs → xml-Dq1lpp8G.mjs} +1 -1
  97. package/dist/chunks/{xychartDiagram-5P7HB3ND-CixwR8r2.mjs → xychartDiagram-5P7HB3ND-C9wFc2e9.mjs} +120 -120
  98. package/dist/full.mjs +3 -3
  99. package/dist/markdown.mjs +1 -1
  100. package/dist/react.mjs +2 -2
  101. package/dist/tools.mjs +2 -2
  102. package/dist/vendor.LICENSE.txt +64 -64
  103. package/package.json +3 -2
  104. package/src/components/block/index.ts +2 -2
  105. package/src/components/block-tunes/block-tune-delete.ts +1 -0
  106. package/src/components/modules/blockEvents/composers/markdownShortcuts.ts +105 -2
  107. package/src/components/modules/blockEvents/constants.ts +24 -0
  108. package/src/components/modules/blockManager/blockManager.ts +1 -1
  109. package/src/components/modules/blockManager/types.ts +1 -1
  110. package/src/components/modules/themeManager.ts +13 -3
  111. package/src/components/modules/toolbar/blockSettings.ts +89 -11
  112. package/src/components/modules/yjs/document-store.ts +1 -1
  113. package/src/components/modules/yjs/index.ts +1 -1
  114. package/src/components/utils/popover/popover-abstract.ts +9 -0
  115. package/src/tools/code/index.ts +1 -0
  116. package/src/tools/quote/index.ts +1 -0
  117. package/types/configs/blok-config.d.ts +13 -3
  118. package/types/configs/index.d.ts +1 -0
  119. package/types/configs/user-info.d.ts +14 -0
  120. package/types/data-formats/output-data.d.ts +2 -2
  121. package/types/index.d.ts +1 -0
  122. package/dist/chunks/_basePickBy-DISiGhsr.mjs +0 -410
  123. package/dist/chunks/_baseUniq-gAuHRtRF.mjs +0 -1045
  124. package/dist/chunks/_getTag-Aj56Wgor.mjs +0 -26
  125. package/dist/chunks/architecture-YZFGNWBL-CuqTb_ae.mjs +0 -3
  126. package/dist/chunks/chunk-5PVQY5BW-CORl9dnu.mjs +0 -1692
  127. package/dist/chunks/classDiagram-6PBFFD2Q-C59BZJxp.mjs +0 -30
  128. package/dist/chunks/classDiagram-v2-HSJHXN6E-7a0qeMsE.mjs +0 -30
  129. package/dist/chunks/diagram-5BDNPKRD-CZGfTYEe.mjs +0 -112
  130. package/dist/chunks/gitGraph-7Q5UKJZL-Dl-vQzrq.mjs +0 -3
  131. package/dist/chunks/info-OMHHGYJF-BOejJvJR.mjs +0 -3
  132. package/dist/chunks/line-Dct5pMmw.mjs +0 -34
  133. package/dist/chunks/mermaid.core-CA8nc1sZ.mjs +0 -989
  134. package/dist/chunks/packet-4T2RLAQJ-B5ZMgwzZ.mjs +0 -3
  135. package/dist/chunks/pie-ZZUOXDRM-B9l6y0XJ.mjs +0 -3
  136. package/dist/chunks/pieDiagram-DEJITSTG-Gw-fsc6U.mjs +0 -179
  137. package/dist/chunks/radar-PYXPWWZC-D5kYmUaB.mjs +0 -3
  138. package/dist/chunks/stateDiagram-FHFEXIEX-BIBFsF65.mjs +0 -218
  139. package/dist/chunks/stateDiagram-v2-QKLJ7IA2-BZUmAVw7.mjs +0 -28
  140. package/dist/chunks/treeView-SZITEDCU-BNtnNxpI.mjs +0 -3
  141. package/dist/chunks/treemap-W4RFUUIX-DYENULz2.mjs +0 -3
  142. package/dist/chunks/wardley-RL74JXVD-ByNHVBTb.mjs +0 -3
  143. /package/dist/chunks/{am-BxlkYGsI.mjs → am-Bbd7cTHS.mjs} +0 -0
  144. /package/dist/chunks/{ar-9vlpr9V8.mjs → ar-Bo71sCQE.mjs} +0 -0
  145. /package/dist/chunks/{array-BsrkCVSZ.mjs → array-DbiMs_0t.mjs} +0 -0
  146. /package/dist/chunks/{az-ON63W_FP.mjs → az-BnNrO_xK.mjs} +0 -0
  147. /package/dist/chunks/{bg-CtXWTP5w.mjs → bg-CMd2n-OG.mjs} +0 -0
  148. /package/dist/chunks/{bn-BERvhXM4.mjs → bn-B3lorfXA.mjs} +0 -0
  149. /package/dist/chunks/{bs-CBg8NVPG.mjs → bs-_zM8QBsA.mjs} +0 -0
  150. /package/dist/chunks/{c-C6JXJf5K.mjs → c-DmKJe6GM.mjs} +0 -0
  151. /package/dist/chunks/{core-Bm6DWt7D.mjs → core-C942GvJO.mjs} +0 -0
  152. /package/dist/chunks/{cs-DeQddxS7.mjs → cs-nodpmLBf.mjs} +0 -0
  153. /package/dist/chunks/{csharp-YHxeHpeH.mjs → csharp-Drv96dbi.mjs} +0 -0
  154. /package/dist/chunks/{css-DdLevFaX.mjs → css-82tNAoU6.mjs} +0 -0
  155. /package/dist/chunks/{cytoscape.esm-BvD8wo00.mjs → cytoscape.esm-DSb9a7HE.mjs} +0 -0
  156. /package/dist/chunks/{da-DyTo-ec_.mjs → da-DwzgQcXQ.mjs} +0 -0
  157. /package/dist/chunks/{dart-DrPWqfcC.mjs → dart-DE9j8McI.mjs} +0 -0
  158. /package/dist/chunks/{de-Cu7545m1.mjs → de-BvWPiNt6.mjs} +0 -0
  159. /package/dist/chunks/{defaultLocale-ChuSeAxU.mjs → defaultLocale-yTyMJ3IT.mjs} +0 -0
  160. /package/dist/chunks/{dist-Ctq-pyfb.mjs → dist-X14EnMrO.mjs} +0 -0
  161. /package/dist/chunks/{dockerfile-C68ALcaN.mjs → dockerfile-D9DFksUy.mjs} +0 -0
  162. /package/dist/chunks/{el-oiubLRBq.mjs → el-B_D7wUrZ.mjs} +0 -0
  163. /package/dist/chunks/{engine-javascript-CJpnSvzf.mjs → engine-javascript-Dd6ViPCH.mjs} +0 -0
  164. /package/dist/chunks/{es-DZUC6Klv.mjs → es-Bn_ZFyW9.mjs} +0 -0
  165. /package/dist/chunks/{et-CDeklAog.mjs → et-CUcULjoh.mjs} +0 -0
  166. /package/dist/chunks/{fa-Cafp7_Li.mjs → fa-BRhCTsOy.mjs} +0 -0
  167. /package/dist/chunks/{fi-BD_V_aVW.mjs → fi-BEvyU9n6.mjs} +0 -0
  168. /package/dist/chunks/{fil-Crsfbtx4.mjs → fil-Dlp1_W2B.mjs} +0 -0
  169. /package/dist/chunks/{fr-BGGc04Zv.mjs → fr-DJBeOAx1.mjs} +0 -0
  170. /package/dist/chunks/{go-Fm5N96DN.mjs → go-jyWjtO8q.mjs} +0 -0
  171. /package/dist/chunks/{gu-Vg_BgCTp.mjs → gu-0hWvx16l.mjs} +0 -0
  172. /package/dist/chunks/{he-DTY9chlZ.mjs → he-CYe88qXp.mjs} +0 -0
  173. /package/dist/chunks/{hi-DChMXk0x.mjs → hi-DuLkkPWn.mjs} +0 -0
  174. /package/dist/chunks/{hr-BWVgNU8k.mjs → hr-BwCB1IMW.mjs} +0 -0
  175. /package/dist/chunks/{hu-B37awHXA.mjs → hu-C2dLyTeX.mjs} +0 -0
  176. /package/dist/chunks/{hy-DGC_GDHh.mjs → hy-DXKoDpv9.mjs} +0 -0
  177. /package/dist/chunks/{i18next-CXx5niYF.mjs → i18next-CLUkHqmV.mjs} +0 -0
  178. /package/dist/chunks/{id-V7cw6La2.mjs → id-D4chLuW_.mjs} +0 -0
  179. /package/dist/chunks/{init-C6T-mugb.mjs → init-BlLeEogJ.mjs} +0 -0
  180. /package/dist/chunks/{it-DrTGP8Rn.mjs → it-Hto3G26t.mjs} +0 -0
  181. /package/dist/chunks/{ja-DS4pbJEG.mjs → ja-UxHm_PPZ.mjs} +0 -0
  182. /package/dist/chunks/{java-83DWBpzu.mjs → java-Dhv78FEb.mjs} +0 -0
  183. /package/dist/chunks/{javascript-CBgeF1Xx.mjs → javascript-DilE9EuZ.mjs} +0 -0
  184. /package/dist/chunks/{json-BI17y-1H.mjs → json-LUtHrtDA.mjs} +0 -0
  185. /package/dist/chunks/{ka-BueyosRh.mjs → ka-BnjXwPUq.mjs} +0 -0
  186. /package/dist/chunks/{katex-CmTPfM0f.mjs → katex-B8jUB5Cv.mjs} +0 -0
  187. /package/dist/chunks/{km-B0K891yW.mjs → km-exgzZBIE.mjs} +0 -0
  188. /package/dist/chunks/{kn-BQ__skg8.mjs → kn-DjjUg8aO.mjs} +0 -0
  189. /package/dist/chunks/{ko-BuPxi_7e.mjs → ko-Cu0YUSV6.mjs} +0 -0
  190. /package/dist/chunks/{kotlin-DjnvsrfO.mjs → kotlin-DFLPXbOQ.mjs} +0 -0
  191. /package/dist/chunks/{ku-nQjwPRw2.mjs → ku-D-IxJ0fx.mjs} +0 -0
  192. /package/dist/chunks/{lo-K5NVFoq1.mjs → lo-BcwjJBcv.mjs} +0 -0
  193. /package/dist/chunks/{lt-D3xD6Eb2.mjs → lt-Bt05MFPC.mjs} +0 -0
  194. /package/dist/chunks/{lv-DH13mzZj.mjs → lv-B01TmEFW.mjs} +0 -0
  195. /package/dist/chunks/{markdown-BqQYT45f.mjs → markdown-C6pnqcPd.mjs} +0 -0
  196. /package/dist/chunks/{mdast-util-math-BlK2Zu-1.mjs → mdast-util-math-D56mMxhB.mjs} +0 -0
  197. /package/dist/chunks/{mermaid-vF0cEnZ0.mjs → mermaid-BKA834jS.mjs} +0 -0
  198. /package/dist/chunks/{messages-Buwm8xrX2.mjs → messages--G2XLc8E.mjs} +0 -0
  199. /package/dist/chunks/{messages-DKjUcEfs.mjs → messages-3kHDtQLN.mjs} +0 -0
  200. /package/dist/chunks/{messages-f-YBthdd2.mjs → messages-4Y8dL_1j2.mjs} +0 -0
  201. /package/dist/chunks/{messages--tSqMtkx2.mjs → messages-9Nx7kteY2.mjs} +0 -0
  202. /package/dist/chunks/{messages-B5ZVSxG4.mjs → messages-B29Wm2zT.mjs} +0 -0
  203. /package/dist/chunks/{messages-CDtmVcBc.mjs → messages-B9mzGzZ_.mjs} +0 -0
  204. /package/dist/chunks/{messages-B9PUHq4t.mjs → messages-BCfsOOlp.mjs} +0 -0
  205. /package/dist/chunks/{messages-adEATsLK.mjs → messages-BJTwY1tq.mjs} +0 -0
  206. /package/dist/chunks/{messages-DqGv-lj6.mjs → messages-BK6AwU6C.mjs} +0 -0
  207. /package/dist/chunks/{messages-DGYjioKM.mjs → messages-BPxMr5HC.mjs} +0 -0
  208. /package/dist/chunks/{messages-DKZHsfXy2.mjs → messages-BS9zk4mI2.mjs} +0 -0
  209. /package/dist/chunks/{messages-CEWKcK-Q.mjs → messages-BSXBVdsp.mjs} +0 -0
  210. /package/dist/chunks/{messages-gNK1EolD.mjs → messages-BSyO1EWC.mjs} +0 -0
  211. /package/dist/chunks/{messages-DggaAu362.mjs → messages-BUQTXTew2.mjs} +0 -0
  212. /package/dist/chunks/{messages-Bg8uBETk2.mjs → messages-Bhn5V9FQ2.mjs} +0 -0
  213. /package/dist/chunks/{messages-bteFpBer.mjs → messages-Bi629xgG.mjs} +0 -0
  214. /package/dist/chunks/{messages-Dle6Hv30.mjs → messages-BimpUMRx.mjs} +0 -0
  215. /package/dist/chunks/{messages-Bedied602.mjs → messages-BkaUIuz-2.mjs} +0 -0
  216. /package/dist/chunks/{messages-DIUegdwv2.mjs → messages-BmC2yhsC2.mjs} +0 -0
  217. /package/dist/chunks/{messages-Blg1X6YL.mjs → messages-Bo7Cbk_O.mjs} +0 -0
  218. /package/dist/chunks/{messages-CdWS0hvw.mjs → messages-Bq7fo8X0.mjs} +0 -0
  219. /package/dist/chunks/{messages-3w1e16T2.mjs → messages-BsqBho4T.mjs} +0 -0
  220. /package/dist/chunks/{messages-BqKIunt0.mjs → messages-C7E8C3-S.mjs} +0 -0
  221. /package/dist/chunks/{messages-JRjsu_bC.mjs → messages-C9QhLDA2.mjs} +0 -0
  222. /package/dist/chunks/{messages-D5lY22F4.mjs → messages-C9UIaF6N.mjs} +0 -0
  223. /package/dist/chunks/{messages-BmDMK9Dg.mjs → messages-CAX3qQi0.mjs} +0 -0
  224. /package/dist/chunks/{messages-CrCalcxK.mjs → messages-CEJtxBxU.mjs} +0 -0
  225. /package/dist/chunks/{messages-D5NWb-B9.mjs → messages-CF0SW1zy.mjs} +0 -0
  226. /package/dist/chunks/{messages--X-ZzYSb.mjs → messages-CIre8L_r.mjs} +0 -0
  227. /package/dist/chunks/{messages-DalLfJNC.mjs → messages-CJ8IkF1P.mjs} +0 -0
  228. /package/dist/chunks/{messages-b8XGiuAa2.mjs → messages-CKP6aUXN2.mjs} +0 -0
  229. /package/dist/chunks/{messages-DlTG06-j.mjs → messages-CMMq-u7e.mjs} +0 -0
  230. /package/dist/chunks/{messages-ByHXyVi6.mjs → messages-CR5irc8q.mjs} +0 -0
  231. /package/dist/chunks/{messages-IjEU7XAq.mjs → messages-CRH0RWBs.mjs} +0 -0
  232. /package/dist/chunks/{messages-DpnhbDoK2.mjs → messages-CWm_2RvD2.mjs} +0 -0
  233. /package/dist/chunks/{messages-cR48x2Aq2.mjs → messages-CY76MvbX2.mjs} +0 -0
  234. /package/dist/chunks/{messages-Dk-d3mmM.mjs → messages-CpLq4ZZg.mjs} +0 -0
  235. /package/dist/chunks/{messages-C9HPruJj2.mjs → messages-CrpOkt8c2.mjs} +0 -0
  236. /package/dist/chunks/{messages-CmGixnBb2.mjs → messages-D3fu2FHB2.mjs} +0 -0
  237. /package/dist/chunks/{messages-CXjSY5Fy.mjs → messages-D6_I0L06.mjs} +0 -0
  238. /package/dist/chunks/{messages-DgoJDjHm.mjs → messages-DHzT8CZv.mjs} +0 -0
  239. /package/dist/chunks/{messages-BmDw1fZF2.mjs → messages-DIVQmVS92.mjs} +0 -0
  240. /package/dist/chunks/{messages-DSMFg80t.mjs → messages-DJYT0upW.mjs} +0 -0
  241. /package/dist/chunks/{messages-DIH2U0ZD.mjs → messages-DPcc6xp-.mjs} +0 -0
  242. /package/dist/chunks/{messages-D3wlt9eE.mjs → messages-Dass0QsQ.mjs} +0 -0
  243. /package/dist/chunks/{messages-vqR3RAU4.mjs → messages-DcUYfD6m.mjs} +0 -0
  244. /package/dist/chunks/{messages-BAxCMQgm.mjs → messages-DfLcy0CY.mjs} +0 -0
  245. /package/dist/chunks/{messages-Cic0Y1z6.mjs → messages-DhoZXmg_.mjs} +0 -0
  246. /package/dist/chunks/{messages-DslnYTHU2.mjs → messages-DiQkvwE32.mjs} +0 -0
  247. /package/dist/chunks/{messages-BvoElEE_.mjs → messages-DmvWmURo.mjs} +0 -0
  248. /package/dist/chunks/{messages-DOPK-Xif2.mjs → messages-Dobxrshu2.mjs} +0 -0
  249. /package/dist/chunks/{messages-BKeL1zk-2.mjs → messages-DsMIxm6I2.mjs} +0 -0
  250. /package/dist/chunks/{messages-BHUQs6402.mjs → messages-DtssWM8x2.mjs} +0 -0
  251. /package/dist/chunks/{messages-BIXCvkbG.mjs → messages-E1tsNNG5.mjs} +0 -0
  252. /package/dist/chunks/{messages-BDhWRN6Y.mjs → messages-PFfYbqlm.mjs} +0 -0
  253. /package/dist/chunks/{messages-DT6eM0I22.mjs → messages-bIzBNzdr2.mjs} +0 -0
  254. /package/dist/chunks/{messages-W2zpf0Mu2.mjs → messages-dGYum7sj2.mjs} +0 -0
  255. /package/dist/chunks/{messages-B5BaA6AV.mjs → messages-kKXlI5xZ.mjs} +0 -0
  256. /package/dist/chunks/{messages-BGpx2ecP2.mjs → messages-mo5OrbVj2.mjs} +0 -0
  257. /package/dist/chunks/{messages-DZTQIS9F.mjs → messages-nAdoEqRi.mjs} +0 -0
  258. /package/dist/chunks/{messages-wSX_4fK1.mjs → messages-rNLuCrAb.mjs} +0 -0
  259. /package/dist/chunks/{messages-PkO_43Eb.mjs → messages-v26RM5PC.mjs} +0 -0
  260. /package/dist/chunks/{messages-fUpUvsRN.mjs → messages-x0kzc2oy.mjs} +0 -0
  261. /package/dist/chunks/{messages-DoD9yWMu2.mjs → messages-x6y6csd52.mjs} +0 -0
  262. /package/dist/chunks/{messages-DhgEjOjw2.mjs → messages-x_eMclsl2.mjs} +0 -0
  263. /package/dist/chunks/{messages-BszGK0ox.mjs → messages-z5pham9o.mjs} +0 -0
  264. /package/dist/chunks/{messages-CRLvJfNU2.mjs → messages-zcqQ8x232.mjs} +0 -0
  265. /package/dist/chunks/{mk-Bb48BcDA.mjs → mk-DlZNyDhn.mjs} +0 -0
  266. /package/dist/chunks/{ml-BHPEj1kD.mjs → ml-CizMIOxl.mjs} +0 -0
  267. /package/dist/chunks/{mn-BNGzpdI6.mjs → mn-B_pDvxok.mjs} +0 -0
  268. /package/dist/chunks/{mr-D5PgU-cH.mjs → mr-D8D_7YmW.mjs} +0 -0
  269. /package/dist/chunks/{ms-DPkxqKz5.mjs → ms-CM93I8ec.mjs} +0 -0
  270. /package/dist/chunks/{my-DZGcyfxy.mjs → my-BGnGdDAV.mjs} +0 -0
  271. /package/dist/chunks/{ne-BU_Wh4Wv.mjs → ne-C6ZmmqhH.mjs} +0 -0
  272. /package/dist/chunks/{nl-DtAPk1mK.mjs → nl-UGFOU80W.mjs} +0 -0
  273. /package/dist/chunks/{no-CdW3n3BY.mjs → no-as-DKhC4.mjs} +0 -0
  274. /package/dist/chunks/{notifier-CuvTt9pe.mjs → notifier-PpnFhM0m.mjs} +0 -0
  275. /package/dist/chunks/{one-light-DmNO_Y4X.mjs → one-light-Di_o5Kb7.mjs} +0 -0
  276. /package/dist/chunks/{pa-BacCHz87.mjs → pa-DiOAveAI.mjs} +0 -0
  277. /package/dist/chunks/{path-rIMjg_tH.mjs → path-7pA19U_d.mjs} +0 -0
  278. /package/dist/chunks/{pl-8zBJbmhZ.mjs → pl-DXk8ye3B.mjs} +0 -0
  279. /package/dist/chunks/{ps-c6nGXD-W.mjs → ps-CuxilZ3F.mjs} +0 -0
  280. /package/dist/chunks/{pt-B5yR8Qhr.mjs → pt-DsT6E77q.mjs} +0 -0
  281. /package/dist/chunks/{python-DfwfY9t5.mjs → python-DYiHKGPV.mjs} +0 -0
  282. /package/dist/chunks/{r-BD2D7qEW.mjs → r-BZ4pC-Uz.mjs} +0 -0
  283. /package/dist/chunks/{ro-Nscylsqb.mjs → ro-CcAQOL-B.mjs} +0 -0
  284. /package/dist/chunks/{rough.esm-cmMIcj7N.mjs → rough.esm-BPA_YwbP.mjs} +0 -0
  285. /package/dist/chunks/{ru-DxERQkVJ.mjs → ru-hD41D0Fd.mjs} +0 -0
  286. /package/dist/chunks/{rust-DEDueB5R.mjs → rust-Db_HEGL5.mjs} +0 -0
  287. /package/dist/chunks/{scala-CsjqvxE4.mjs → scala-B1kK21mu.mjs} +0 -0
  288. /package/dist/chunks/{sd-5z-QY3q9.mjs → sd-Biu7f00A.mjs} +0 -0
  289. /package/dist/chunks/{shellscript-Bh5zEpnQ.mjs → shellscript-BBh7AxMC.mjs} +0 -0
  290. /package/dist/chunks/{si-DTL0mzrx.mjs → si-Bhto6prC.mjs} +0 -0
  291. /package/dist/chunks/{sk-DrGczTvY.mjs → sk-Ce7J4sHX.mjs} +0 -0
  292. /package/dist/chunks/{sl-D8nJjig4.mjs → sl-Fz7idR9w.mjs} +0 -0
  293. /package/dist/chunks/{sq-C74Hm3YL.mjs → sq-CnLb3bAQ.mjs} +0 -0
  294. /package/dist/chunks/{sql-D9CrOi1i.mjs → sql-DHkazX4B.mjs} +0 -0
  295. /package/dist/chunks/{sr-DAwB05Gj.mjs → sr-Bc5JbF-b.mjs} +0 -0
  296. /package/dist/chunks/{src-DVJl6f6s.mjs → src-B3rrEIze.mjs} +0 -0
  297. /package/dist/chunks/{sv-BkHBsN4y.mjs → sv-B86P2LyK.mjs} +0 -0
  298. /package/dist/chunks/{sw-BBQLTq_z.mjs → sw-CnQXriTg.mjs} +0 -0
  299. /package/dist/chunks/{swift-Dpyt0s2c.mjs → swift-DZdprfb-.mjs} +0 -0
  300. /package/dist/chunks/{ta-DRRzdKky.mjs → ta-CG4BbxjE.mjs} +0 -0
  301. /package/dist/chunks/{te-CedXLsKM.mjs → te-CkE35V1X.mjs} +0 -0
  302. /package/dist/chunks/{th-DDOlGA0W.mjs → th-BCtkHu3E.mjs} +0 -0
  303. /package/dist/chunks/{tr-ClgvwOlL.mjs → tr-D5Cexvko.mjs} +0 -0
  304. /package/dist/chunks/{typescript-DO5cd4m8.mjs → typescript-DhtGMhWX.mjs} +0 -0
  305. /package/dist/chunks/{ug-bXxwiinM.mjs → ug-Bt9xMT4p.mjs} +0 -0
  306. /package/dist/chunks/{uk-Dp46o_VT.mjs → uk-D1g7UV0v.mjs} +0 -0
  307. /package/dist/chunks/{ur-MfEEhdFq.mjs → ur-B69faQh_.mjs} +0 -0
  308. /package/dist/chunks/{vi-bt-3LPGO.mjs → vi--gW42cZG.mjs} +0 -0
  309. /package/dist/chunks/{vitesse-dark-CcorSKT2.mjs → vitesse-dark-B5oAIYZ5.mjs} +0 -0
  310. /package/dist/chunks/{yaml-CrNNZyLb.mjs → yaml-T4MCc8o4.mjs} +0 -0
  311. /package/dist/chunks/{zh-Dgyb5Ly8.mjs → zh-DgQ6P8Lu.mjs} +0 -0
@@ -0,0 +1,112 @@
1
+ import "./chunk-K5T4RW27-CHSI0vpp.mjs";
2
+ import { r as e } from "./chunk-5PVQY5BW-BP7ENjg7.mjs";
3
+ import "./chunk-7N4EOEYR-p-g3cKuX.mjs";
4
+ import "./chunk-67CJDMHE-Dbl-PjEf.mjs";
5
+ import "./chunk-KGLVRYIC-ngXT4XVA.mjs";
6
+ import "./chunk-FOC6F5B3-CJfr-iwx.mjs";
7
+ import "./chunk-AA7GKIK3-Dt0Kr5Va.mjs";
8
+ import "./chunk-2KRD3SAO-mVfUZfox.mjs";
9
+ import "./chunk-ORNJ4GCN-BPaghT45.mjs";
10
+ import "./chunk-LIHQZDEY-CnP7bym1.mjs";
11
+ import "./chunk-CIAEETIT-BQ4crY5r.mjs";
12
+ import { g as t, h as n } from "./src-B3rrEIze.mjs";
13
+ import { B as r, C as i, V as a, W as o, _ as s, a as c, c as l, d as u, v as d, y as f } from "./chunk-ICPOFSXX-BOvOTlG6.mjs";
14
+ import "./dist-X14EnMrO.mjs";
15
+ import { t as p } from "./chunk-426QAEUC-TajZlyP-.mjs";
16
+ import { t as m } from "./chunk-4BX2VUAB-CsopMMb6.mjs";
17
+ import { t as h } from "./mermaid-parser.core-BhpZC2lA.mjs";
18
+ import { t as g } from "./chunk-QZHKN3VN-uW1N2UWF.mjs";
19
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-5BDNPKRD.mjs
20
+ var _ = new g(() => ({
21
+ cnt: 1,
22
+ stack: [{
23
+ id: 0,
24
+ level: -1,
25
+ name: "/",
26
+ children: []
27
+ }]
28
+ })), v = /* @__PURE__ */ n(() => {
29
+ _.reset(), c();
30
+ }, "clear"), y = /* @__PURE__ */ n(() => _.records.stack[0], "getRoot"), b = /* @__PURE__ */ n(() => _.records.cnt, "getCount"), x = u.treeView, S = {
31
+ clear: v,
32
+ addNode: /* @__PURE__ */ n((e, t) => {
33
+ for (; e <= _.records.stack[_.records.stack.length - 1].level;) _.records.stack.pop();
34
+ let n = {
35
+ id: _.records.cnt++,
36
+ level: e,
37
+ name: t,
38
+ children: []
39
+ };
40
+ _.records.stack[_.records.stack.length - 1].children.push(n), _.records.stack.push(n);
41
+ }, "addNode"),
42
+ getRoot: y,
43
+ getCount: b,
44
+ getConfig: /* @__PURE__ */ n(() => e(x, f().treeView), "getConfig"),
45
+ getAccTitle: d,
46
+ getAccDescription: s,
47
+ getDiagramTitle: i,
48
+ setAccDescription: r,
49
+ setAccTitle: a,
50
+ setDiagramTitle: o
51
+ }, C = /* @__PURE__ */ n((e) => {
52
+ m(e, S), e.nodes.map((e) => S.addNode(e.indent ? parseInt(e.indent) : 0, e.name));
53
+ }, "populate"), w = { parse: /* @__PURE__ */ n(async (e) => {
54
+ let n = await h("treeView", e);
55
+ t.debug(n), C(n);
56
+ }, "parse") }, T = /* @__PURE__ */ n((e, t, n, r, i) => {
57
+ let a = r.append("text").text(n.name).attr("dominant-baseline", "middle").attr("class", "treeView-node-label"), { height: o, width: s } = a.node().getBBox(), c = o + i.paddingY * 2, l = s + i.paddingX * 2;
58
+ a.attr("x", e + i.paddingX), a.attr("y", t + c / 2), n.BBox = {
59
+ x: e,
60
+ y: t,
61
+ width: l,
62
+ height: c
63
+ };
64
+ }, "positionLabel"), E = /* @__PURE__ */ n((e, t, n, r, i, a) => e.append("line").attr("x1", t).attr("y1", n).attr("x2", r).attr("y2", i).attr("stroke-width", a).attr("class", "treeView-node-line"), "positionLine"), D = /* @__PURE__ */ n((e, t, r) => {
65
+ let i = 0, a = 0, o = /* @__PURE__ */ n((e, t, n, r) => {
66
+ let o = r * (n.rowIndent + n.paddingX);
67
+ T(o, i, t, e, n);
68
+ let { height: s, width: c } = t.BBox;
69
+ E(e, o - n.rowIndent, i + s / 2, o, i + s / 2, n.lineThickness), a = Math.max(a, o + c), i += s;
70
+ }, "drawNode"), s = /* @__PURE__ */ n((t, n = 0) => {
71
+ o(e, t, r, n), t.children.forEach((e) => {
72
+ s(e, n + 1);
73
+ });
74
+ let { x: i, y: a, height: c } = t.BBox;
75
+ if (t.children.length) {
76
+ let { y: n, height: o } = t.children[t.children.length - 1].BBox;
77
+ E(e, i + r.paddingX, a + c, i + r.paddingX, n + o / 2 + r.lineThickness / 2, r.lineThickness);
78
+ }
79
+ }, "processNode");
80
+ return s(t), {
81
+ totalHeight: i,
82
+ totalWidth: a
83
+ };
84
+ }, "drawTree"), O = { draw: /* @__PURE__ */ n((e, n, r, i) => {
85
+ t.debug("Rendering treeView diagram\n" + e);
86
+ let a = i.db, o = a.getRoot(), s = a.getConfig(), c = p(n), u = c.append("g");
87
+ u.attr("class", "tree-view");
88
+ let { totalHeight: d, totalWidth: f } = D(u, o, s);
89
+ c.attr("viewBox", `-${s.lineThickness / 2} 0 ${f} ${d}`), l(c, d, f, s.useMaxWidth);
90
+ }, "draw") }, k = {
91
+ labelFontSize: "16px",
92
+ labelColor: "black",
93
+ lineColor: "black"
94
+ }, A = {
95
+ db: S,
96
+ renderer: O,
97
+ parser: w,
98
+ styles: /* @__PURE__ */ n(({ treeView: t }) => {
99
+ let { labelFontSize: n, labelColor: r, lineColor: i } = e(k, t);
100
+ return `
101
+ .treeView-node-label {
102
+ font-size: ${n};
103
+ fill: ${r};
104
+ }
105
+ .treeView-node-line {
106
+ stroke: ${i};
107
+ }
108
+ `;
109
+ }, "styles")
110
+ };
111
+ //#endregion
112
+ export { A as diagram };
@@ -1,25 +1,25 @@
1
1
  import { t as e } from "./objectSpread2-CWwMYL_U.mjs";
2
- import "./chunk-K5T4RW27-BPZ6fFnW.mjs";
3
- import "./chunk-7N4EOEYR-DKNajFZd.mjs";
4
- import "./chunk-67CJDMHE-m0UKdcSH.mjs";
5
- import "./chunk-KGLVRYIC-S1OQdW76.mjs";
6
- import "./chunk-FOC6F5B3-LmHCCWYY.mjs";
7
- import "./chunk-AA7GKIK3-BeLhNzKa.mjs";
8
- import "./chunk-2KRD3SAO-DkM7qh-k.mjs";
9
- import "./chunk-ORNJ4GCN-CdO0hAge.mjs";
10
- import "./chunk-LIHQZDEY-CjtyJlI6.mjs";
11
- import "./chunk-CIAEETIT-CTikoJ19.mjs";
12
- import { g as t, h as n, p as r } from "./src-DVJl6f6s.mjs";
13
- import { B as i, C as a, E as o, V as s, W as c, _ as l, a as u, c as d, d as f, v as p, y as m } from "./chunk-ICPOFSXX-BHZIN46A.mjs";
14
- import { t as h } from "./ordinal-B-kolV-i.mjs";
15
- import { t as g } from "./defaultLocale-ChuSeAxU.mjs";
16
- import "./dist-Ctq-pyfb.mjs";
17
- import { r as _ } from "./chunk-5PVQY5BW-CORl9dnu.mjs";
18
- import { t as v } from "./chunk-426QAEUC-D6UAVUog.mjs";
19
- import { t as y } from "./chunk-4BX2VUAB-CgIkjF7Z.mjs";
20
- import { t as b } from "./mermaid-parser.core-CA3DKkuk.mjs";
21
- import { t as x } from "./chunk-EDXVE4YY-DjInnnwb.mjs";
22
- import { i as S, n as C } from "./chunk-X2U36JSP-1VS5TyCr.mjs";
2
+ import "./chunk-K5T4RW27-CHSI0vpp.mjs";
3
+ import { r as t } from "./chunk-5PVQY5BW-BP7ENjg7.mjs";
4
+ import "./chunk-7N4EOEYR-p-g3cKuX.mjs";
5
+ import "./chunk-67CJDMHE-Dbl-PjEf.mjs";
6
+ import "./chunk-KGLVRYIC-ngXT4XVA.mjs";
7
+ import "./chunk-FOC6F5B3-CJfr-iwx.mjs";
8
+ import "./chunk-AA7GKIK3-Dt0Kr5Va.mjs";
9
+ import "./chunk-2KRD3SAO-mVfUZfox.mjs";
10
+ import "./chunk-ORNJ4GCN-BPaghT45.mjs";
11
+ import "./chunk-LIHQZDEY-CnP7bym1.mjs";
12
+ import "./chunk-CIAEETIT-BQ4crY5r.mjs";
13
+ import { g as n, h as r, p as i } from "./src-B3rrEIze.mjs";
14
+ import { B as a, C as o, E as s, V as c, W as l, _ as u, a as d, c as f, d as p, v as m, y as h } from "./chunk-ICPOFSXX-BOvOTlG6.mjs";
15
+ import { t as g } from "./ordinal-fyJMP-lj.mjs";
16
+ import { t as _ } from "./defaultLocale-yTyMJ3IT.mjs";
17
+ import "./dist-X14EnMrO.mjs";
18
+ import { t as v } from "./chunk-426QAEUC-TajZlyP-.mjs";
19
+ import { t as y } from "./chunk-4BX2VUAB-CsopMMb6.mjs";
20
+ import { t as b } from "./mermaid-parser.core-BhpZC2lA.mjs";
21
+ import { t as x } from "./chunk-EDXVE4YY-B9_aGwkV.mjs";
22
+ import { i as S, n as C } from "./chunk-X2U36JSP-Cznp5Jm-.mjs";
23
23
  //#region node_modules/d3-hierarchy/src/hierarchy/count.js
24
24
  function w(e) {
25
25
  var t = 0, n = e.children, r = n && n.length;
@@ -267,15 +267,15 @@ function se() {
267
267
  //#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-G4DWMVQ6.mjs
268
268
  var J, Y = (J = class {
269
269
  constructor() {
270
- this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = s, this.getAccTitle = p, this.setDiagramTitle = c, this.getDiagramTitle = a, this.getAccDescription = l, this.setAccDescription = i;
270
+ this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = c, this.getAccTitle = m, this.setDiagramTitle = l, this.getDiagramTitle = o, this.getAccDescription = u, this.setAccDescription = a;
271
271
  }
272
272
  getNodes() {
273
273
  return this.nodes;
274
274
  }
275
275
  getConfig() {
276
- var t;
277
- let n = f, r = m();
278
- return _(e(e({}, n.treemap), (t = r.treemap) == null ? {} : t));
276
+ var n;
277
+ let r = p, i = h();
278
+ return t(e(e({}, r.treemap), (n = i.treemap) == null ? {} : n));
279
279
  }
280
280
  addNode(e, t) {
281
281
  this.nodes.push(e), this.levels.set(e, t), t === 0 && (this.outerNodes.push(e), this.root != null || (this.root = e));
@@ -305,9 +305,9 @@ var J, Y = (J = class {
305
305
  return (t = (n = this.classes.get(e)) == null ? void 0 : n.styles) == null ? [] : t;
306
306
  }
307
307
  clear() {
308
- u(), this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.root = void 0;
308
+ d(), this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.root = void 0;
309
309
  }
310
- }, n(J, "TreeMapDB"), J);
310
+ }, r(J, "TreeMapDB"), J);
311
311
  function X(e) {
312
312
  if (!e.length) return [];
313
313
  let t = [], n = [];
@@ -328,14 +328,14 @@ function X(e) {
328
328
  });
329
329
  }), t;
330
330
  }
331
- n(X, "buildHierarchy");
332
- var ce = /* @__PURE__ */ n((e, t) => {
333
- var r, i;
331
+ r(X, "buildHierarchy");
332
+ var ce = /* @__PURE__ */ r((e, t) => {
333
+ var n, i;
334
334
  y(e, t);
335
335
  let a = [];
336
- for (let n of (r = e.TreemapRows) == null ? [] : r) if (n.$type === "ClassDefStatement") {
336
+ for (let r of (n = e.TreemapRows) == null ? [] : n) if (r.$type === "ClassDefStatement") {
337
337
  var o, s;
338
- t.addClass((o = n.className) == null ? "" : o, (s = n.styleText) == null ? "" : s);
338
+ t.addClass((o = r.className) == null ? "" : o, (s = r.styleText) == null ? "" : s);
339
339
  }
340
340
  for (let n of (i = e.TreemapRows) == null ? [] : i) {
341
341
  let e = n.item;
@@ -350,46 +350,46 @@ var ce = /* @__PURE__ */ n((e, t) => {
350
350
  };
351
351
  a.push(c);
352
352
  }
353
- let c = X(a), l = /* @__PURE__ */ n((e, n) => {
353
+ let c = X(a), l = /* @__PURE__ */ r((e, n) => {
354
354
  for (let r of e) t.addNode(r, n), r.children && r.children.length > 0 && l(r.children, n + 1);
355
355
  }, "addNodesRecursively");
356
356
  l(c, 0);
357
- }, "populate"), le = /* @__PURE__ */ n((e) => e.name ? String(e.name) : "", "getItemName"), Z = {
357
+ }, "populate"), le = /* @__PURE__ */ r((e) => e.name ? String(e.name) : "", "getItemName"), Z = {
358
358
  parser: { yy: void 0 },
359
- parse: /* @__PURE__ */ n(async (e) => {
359
+ parse: /* @__PURE__ */ r(async (e) => {
360
360
  try {
361
- var n;
361
+ var t;
362
362
  let r = await b("treemap", e);
363
- t.debug("Treemap AST:", r);
364
- let i = (n = Z.parser) == null ? void 0 : n.yy;
363
+ n.debug("Treemap AST:", r);
364
+ let i = (t = Z.parser) == null ? void 0 : t.yy;
365
365
  if (!(i instanceof Y)) throw Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
366
366
  ce(r, i);
367
367
  } catch (e) {
368
- throw t.error("Error parsing treemap:", e), e;
368
+ throw n.error("Error parsing treemap:", e), e;
369
369
  }
370
370
  }, "parse")
371
371
  }, ue = 10, Q = 10, $ = 25, de = {
372
- draw: /* @__PURE__ */ n((e, i, a, o) => {
372
+ draw: /* @__PURE__ */ r((e, t, a, o) => {
373
373
  var s, c;
374
- let l = o.db, u = l.getConfig(), f = (s = u.padding) == null ? ue : s, p = l.getDiagramTitle(), _ = l.getRoot(), { themeVariables: y } = m();
375
- if (!_) return;
376
- let b = p ? 30 : 0, C = v(i), w = u.nodeWidth ? u.nodeWidth * Q : 960, T = u.nodeHeight ? u.nodeHeight * Q : 500, E = w, D = T + b;
377
- C.attr("viewBox", `0 0 ${E} ${D}`), d(C, D, E, u.useMaxWidth);
374
+ let l = o.db, u = l.getConfig(), d = (s = u.padding) == null ? ue : s, p = l.getDiagramTitle(), m = l.getRoot(), { themeVariables: y } = h();
375
+ if (!m) return;
376
+ let b = p ? 30 : 0, C = v(t), w = u.nodeWidth ? u.nodeWidth * Q : 960, T = u.nodeHeight ? u.nodeHeight * Q : 500, E = w, D = T + b;
377
+ C.attr("viewBox", `0 0 ${E} ${D}`), f(C, D, E, u.useMaxWidth);
378
378
  let O;
379
379
  try {
380
380
  let e = u.valueFormat || ",";
381
- if (e === "$0,0") O = /* @__PURE__ */ n((e) => "$" + g(",")(e), "valueFormat");
381
+ if (e === "$0,0") O = /* @__PURE__ */ r((e) => "$" + _(",")(e), "valueFormat");
382
382
  else if (e.startsWith("$") && e.includes(",")) {
383
- let t = /\.\d+/.exec(e), r = t ? t[0] : "";
384
- O = /* @__PURE__ */ n((e) => "$" + g("," + r)(e), "valueFormat");
383
+ let t = /\.\d+/.exec(e), n = t ? t[0] : "";
384
+ O = /* @__PURE__ */ r((e) => "$" + _("," + n)(e), "valueFormat");
385
385
  } else if (e.startsWith("$")) {
386
386
  let t = e.substring(1);
387
- O = /* @__PURE__ */ n((e) => "$" + g(t || "")(e), "valueFormat");
388
- } else O = g(e);
387
+ O = /* @__PURE__ */ r((e) => "$" + _(t || "")(e), "valueFormat");
388
+ } else O = _(e);
389
389
  } catch (e) {
390
- t.error("Error creating format function:", e), O = g(",");
390
+ n.error("Error creating format function:", e), O = _(",");
391
391
  }
392
- let k = h().range([
392
+ let k = g().range([
393
393
  "transparent",
394
394
  y.cScale0,
395
395
  y.cScale1,
@@ -403,7 +403,7 @@ var ce = /* @__PURE__ */ n((e, t) => {
403
403
  y.cScale9,
404
404
  y.cScale10,
405
405
  y.cScale11
406
- ]), A = h().range([
406
+ ]), A = g().range([
407
407
  "transparent",
408
408
  y.cScalePeer0,
409
409
  y.cScalePeer1,
@@ -417,7 +417,7 @@ var ce = /* @__PURE__ */ n((e, t) => {
417
417
  y.cScalePeer9,
418
418
  y.cScalePeer10,
419
419
  y.cScalePeer11
420
- ]), j = h().range([
420
+ ]), j = g().range([
421
421
  y.cScaleLabel0,
422
422
  y.cScaleLabel1,
423
423
  y.cScaleLabel2,
@@ -432,23 +432,23 @@ var ce = /* @__PURE__ */ n((e, t) => {
432
432
  y.cScaleLabel11
433
433
  ]);
434
434
  p && C.append("text").attr("x", E / 2).attr("y", b / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(p);
435
- let M = C.append("g").attr("transform", `translate(0, ${b})`).attr("class", "treemapContainer"), N = z(_).sum((e) => {
435
+ let M = C.append("g").attr("transform", `translate(0, ${b})`).attr("class", "treemapContainer"), N = z(m).sum((e) => {
436
436
  var t;
437
437
  return (t = e.value) == null ? 0 : t;
438
438
  }).sort((e, t) => {
439
439
  var n, r;
440
440
  return ((n = t.value) == null ? 0 : n) - ((r = e.value) == null ? 0 : r);
441
- }), P = se().size([w, T]).paddingTop((e) => e.children && e.children.length > 0 ? $ + Q : 0).paddingInner(f).paddingLeft((e) => e.children && e.children.length > 0 ? Q : 0).paddingRight((e) => e.children && e.children.length > 0 ? Q : 0).paddingBottom((e) => e.children && e.children.length > 0 ? Q : 0).round(!0)(N), F = P.descendants().filter((e) => e.children && e.children.length > 0), I = M.selectAll(".treemapSection").data(F).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
442
- I.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", $).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", .6).attr("stroke-width", .6).attr("style", (e) => e.depth === 0 ? "display: none;" : ""), I.append("clipPath").attr("id", (e, t) => `clip-section-${i}-${t}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 12)).attr("height", $), I.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", (e, t) => `treemapSection section${t}`).attr("fill", (e) => k(e.data.name)).attr("fill-opacity", .6).attr("stroke", (e) => A(e.data.name)).attr("stroke-width", 2).attr("stroke-opacity", .4).attr("style", (e) => {
441
+ }), P = se().size([w, T]).paddingTop((e) => e.children && e.children.length > 0 ? $ + Q : 0).paddingInner(d).paddingLeft((e) => e.children && e.children.length > 0 ? Q : 0).paddingRight((e) => e.children && e.children.length > 0 ? Q : 0).paddingBottom((e) => e.children && e.children.length > 0 ? Q : 0).round(!0)(N), F = P.descendants().filter((e) => e.children && e.children.length > 0), I = M.selectAll(".treemapSection").data(F).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
442
+ I.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", $).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", .6).attr("stroke-width", .6).attr("style", (e) => e.depth === 0 ? "display: none;" : ""), I.append("clipPath").attr("id", (e, n) => `clip-section-${t}-${n}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 12)).attr("height", $), I.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", (e, t) => `treemapSection section${t}`).attr("fill", (e) => k(e.data.name)).attr("fill-opacity", .6).attr("stroke", (e) => A(e.data.name)).attr("stroke-width", 2).attr("stroke-opacity", .4).attr("style", (e) => {
443
443
  if (e.depth === 0) return "display: none;";
444
444
  let t = S({ cssCompiledStyles: e.data.cssCompiledStyles });
445
445
  return t.nodeStyles + ";" + t.borderStyles.join(";");
446
446
  }), I.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", $ / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("style", (e) => e.depth === 0 ? "display: none;" : "dominant-baseline: middle; font-size: 12px; fill:" + j(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + S({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).each(function(e) {
447
447
  if (e.depth === 0) return;
448
- let t = r(this), n = e.data.name;
448
+ let t = i(this), n = e.data.name;
449
449
  t.text(n);
450
- let i = e.x1 - e.x0, a;
451
- a = u.showValues !== !1 && e.value ? i - 10 - 30 - 10 - 6 : i - 6 - 6;
450
+ let r = e.x1 - e.x0, a;
451
+ a = u.showValues !== !1 && e.value ? r - 10 - 30 - 10 - 6 : r - 6 - 6;
452
452
  let o = Math.max(15, a), s = t.node();
453
453
  if (s.getComputedTextLength() > o) {
454
454
  let e = n;
@@ -462,8 +462,8 @@ var ce = /* @__PURE__ */ n((e, t) => {
462
462
  }
463
463
  }), u.showValues !== !1 && I.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", $ / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? O(e.value) : "").attr("font-style", "italic").attr("style", (e) => e.depth === 0 ? "display: none;" : "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + j(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + S({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:"));
464
464
  let L = P.leaves(), R = M.selectAll(".treemapLeafGroup").data(L).enter().append("g").attr("class", (e, t) => `treemapNode treemapLeafGroup leaf${t}${e.data.classSelector ? ` ${e.data.classSelector}` : ""}x`).attr("transform", (e) => `translate(${e.x0},${e.y0})`);
465
- R.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? k(e.parent.data.name) : k(e.data.name)).attr("style", (e) => S({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", .3).attr("stroke", (e) => e.parent ? k(e.parent.data.name) : k(e.data.name)).attr("stroke-width", 3), R.append("clipPath").attr("id", (e, t) => `clip-${i}-${t}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), R.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => "text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:" + j(e.data.name) + ";" + S({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, t) => `url(#clip-${i}-${t})`).text((e) => e.data.name).each(function(e) {
466
- let t = r(this), n = e.x1 - e.x0, i = e.y1 - e.y0, a = t.node(), o = n - 8, s = i - 8;
465
+ R.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? k(e.parent.data.name) : k(e.data.name)).attr("style", (e) => S({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", .3).attr("stroke", (e) => e.parent ? k(e.parent.data.name) : k(e.data.name)).attr("stroke-width", 3), R.append("clipPath").attr("id", (e, n) => `clip-${t}-${n}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), R.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => "text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:" + j(e.data.name) + ";" + S({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, n) => `url(#clip-${t}-${n})`).text((e) => e.data.name).each(function(e) {
466
+ let t = i(this), n = e.x1 - e.x0, r = e.y1 - e.y0, a = t.node(), o = n - 8, s = r - 8;
467
467
  if (o < 10 || s < 10) {
468
468
  t.style("display", "none");
469
469
  return;
@@ -475,18 +475,18 @@ var ce = /* @__PURE__ */ n((e, t) => {
475
475
  t.style("font-size", `${c}px`), (a.getComputedTextLength() > o || c < 8 || s < c) && t.style("display", "none");
476
476
  }), u.showValues !== !1 && R.append("text").attr("class", "treemapValue").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", function(e) {
477
477
  return (e.y1 - e.y0) / 2;
478
- }).attr("style", (e) => "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + j(e.data.name) + ";" + S({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, t) => `url(#clip-${i}-${t})`).text((e) => e.value ? O(e.value) : "").each(function(e) {
479
- let t = r(this), n = this.parentNode;
478
+ }).attr("style", (e) => "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + j(e.data.name) + ";" + S({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, n) => `url(#clip-${t}-${n})`).text((e) => e.value ? O(e.value) : "").each(function(e) {
479
+ let t = i(this), n = this.parentNode;
480
480
  if (!n) {
481
481
  t.style("display", "none");
482
482
  return;
483
483
  }
484
- let i = r(n).select(".treemapLabel");
485
- if (i.empty() || i.style("display") === "none") {
484
+ let r = i(n).select(".treemapLabel");
485
+ if (r.empty() || r.style("display") === "none") {
486
486
  t.style("display", "none");
487
487
  return;
488
488
  }
489
- let a = parseFloat(i.style("font-size")), o = Math.max(6, Math.min(28, Math.round(a * .6)));
489
+ let a = parseFloat(r.style("font-size")), o = Math.max(6, Math.min(28, Math.round(a * .6)));
490
490
  t.style("font-size", `${o}px`);
491
491
  let s = (e.y1 - e.y0) / 2 + a / 2 + 2;
492
492
  t.attr("y", s);
@@ -494,7 +494,7 @@ var ce = /* @__PURE__ */ n((e, t) => {
494
494
  t.node().getComputedTextLength() > u || s + o > l || o < 6 ? t.style("display", "none") : t.style("display", null);
495
495
  }), x(C, (c = u.diagramPadding) == null ? 8 : c, "flowchart", (u == null ? void 0 : u.useMaxWidth) || !1);
496
496
  }, "draw"),
497
- getClasses: /* @__PURE__ */ n(function(e, t) {
497
+ getClasses: /* @__PURE__ */ r(function(e, t) {
498
498
  return t.db.getClasses();
499
499
  }, "getClasses")
500
500
  }, fe = {
@@ -513,31 +513,31 @@ var ce = /* @__PURE__ */ n((e, t) => {
513
513
  return new Y();
514
514
  },
515
515
  renderer: de,
516
- styles: /* @__PURE__ */ n(({ treemap: e } = {}) => {
517
- var t, n, r;
518
- let i = _(o(), m().themeVariables), a = _(fe, e), s = (t = a.titleColor) == null ? i.titleColor : t, c = (n = a.labelColor) == null ? i.textColor : n, l = (r = a.valueColor) == null ? i.textColor : r;
516
+ styles: /* @__PURE__ */ r(({ treemap: e } = {}) => {
517
+ var n, r, i;
518
+ let a = t(s(), h().themeVariables), o = t(fe, e), c = (n = o.titleColor) == null ? a.titleColor : n, l = (r = o.labelColor) == null ? a.textColor : r, u = (i = o.valueColor) == null ? a.textColor : i;
519
519
  return `
520
520
  .treemapNode.section {
521
- stroke: ${a.sectionStrokeColor};
522
- stroke-width: ${a.sectionStrokeWidth};
523
- fill: ${a.sectionFillColor};
521
+ stroke: ${o.sectionStrokeColor};
522
+ stroke-width: ${o.sectionStrokeWidth};
523
+ fill: ${o.sectionFillColor};
524
524
  }
525
525
  .treemapNode.leaf {
526
- stroke: ${a.leafStrokeColor};
527
- stroke-width: ${a.leafStrokeWidth};
528
- fill: ${a.leafFillColor};
526
+ stroke: ${o.leafStrokeColor};
527
+ stroke-width: ${o.leafStrokeWidth};
528
+ fill: ${o.leafFillColor};
529
529
  }
530
530
  .treemapLabel {
531
- fill: ${c};
532
- font-size: ${a.labelFontSize};
531
+ fill: ${l};
532
+ font-size: ${o.labelFontSize};
533
533
  }
534
534
  .treemapValue {
535
- fill: ${l};
536
- font-size: ${a.valueFontSize};
535
+ fill: ${u};
536
+ font-size: ${o.valueFontSize};
537
537
  }
538
538
  .treemapTitle {
539
- fill: ${s};
540
- font-size: ${a.titleFontSize};
539
+ fill: ${c};
540
+ font-size: ${o.titleFontSize};
541
541
  }
542
542
  `;
543
543
  }, "getStyles")
@@ -1,21 +1,21 @@
1
1
  import { t as e } from "./objectSpread2-CWwMYL_U.mjs";
2
- import "./chunk-K5T4RW27-BPZ6fFnW.mjs";
3
- import "./chunk-7N4EOEYR-DKNajFZd.mjs";
4
- import "./chunk-67CJDMHE-m0UKdcSH.mjs";
5
- import "./chunk-KGLVRYIC-S1OQdW76.mjs";
6
- import "./chunk-FOC6F5B3-LmHCCWYY.mjs";
7
- import "./chunk-AA7GKIK3-BeLhNzKa.mjs";
8
- import "./chunk-2KRD3SAO-DkM7qh-k.mjs";
9
- import "./chunk-ORNJ4GCN-CdO0hAge.mjs";
10
- import "./chunk-LIHQZDEY-CjtyJlI6.mjs";
11
- import "./chunk-CIAEETIT-CTikoJ19.mjs";
12
- import { g as t, h as n } from "./src-DVJl6f6s.mjs";
13
- import { B as r, C as i, E as a, V as o, W as s, _ as c, a as l, c as u, d, v as f, y as p } from "./chunk-ICPOFSXX-BHZIN46A.mjs";
14
- import "./dist-Ctq-pyfb.mjs";
15
- import { r as m } from "./chunk-5PVQY5BW-CORl9dnu.mjs";
16
- import { t as h } from "./chunk-426QAEUC-D6UAVUog.mjs";
17
- import { t as g } from "./chunk-4BX2VUAB-CgIkjF7Z.mjs";
18
- import { t as _ } from "./mermaid-parser.core-CA3DKkuk.mjs";
2
+ import "./chunk-K5T4RW27-CHSI0vpp.mjs";
3
+ import { r as t } from "./chunk-5PVQY5BW-BP7ENjg7.mjs";
4
+ import "./chunk-7N4EOEYR-p-g3cKuX.mjs";
5
+ import "./chunk-67CJDMHE-Dbl-PjEf.mjs";
6
+ import "./chunk-KGLVRYIC-ngXT4XVA.mjs";
7
+ import "./chunk-FOC6F5B3-CJfr-iwx.mjs";
8
+ import "./chunk-AA7GKIK3-Dt0Kr5Va.mjs";
9
+ import "./chunk-2KRD3SAO-mVfUZfox.mjs";
10
+ import "./chunk-ORNJ4GCN-BPaghT45.mjs";
11
+ import "./chunk-LIHQZDEY-CnP7bym1.mjs";
12
+ import "./chunk-CIAEETIT-BQ4crY5r.mjs";
13
+ import { g as n, h as r } from "./src-B3rrEIze.mjs";
14
+ import { B as i, C as a, E as o, V as s, W as c, _ as l, a as u, c as d, d as f, v as p, y as m } from "./chunk-ICPOFSXX-BOvOTlG6.mjs";
15
+ import "./dist-X14EnMrO.mjs";
16
+ import { t as h } from "./chunk-426QAEUC-TajZlyP-.mjs";
17
+ import { t as g } from "./chunk-4BX2VUAB-CsopMMb6.mjs";
18
+ import { t as _ } from "./mermaid-parser.core-BhpZC2lA.mjs";
19
19
  //#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-MMDJMWI5.mjs
20
20
  var v = {
21
21
  showLegend: !0,
@@ -27,7 +27,7 @@ var v = {
27
27
  axes: [],
28
28
  curves: [],
29
29
  options: v
30
- }, b = structuredClone(y), x = d.radar, S = /* @__PURE__ */ n(() => m(e(e({}, x), p().radar)), "getConfig"), C = /* @__PURE__ */ n(() => b.axes, "getAxes"), w = /* @__PURE__ */ n(() => b.curves, "getCurves"), T = /* @__PURE__ */ n(() => b.options, "getOptions"), E = /* @__PURE__ */ n((e) => {
30
+ }, b = structuredClone(y), x = f.radar, S = /* @__PURE__ */ r(() => t(e(e({}, x), m().radar)), "getConfig"), C = /* @__PURE__ */ r(() => b.axes, "getAxes"), w = /* @__PURE__ */ r(() => b.curves, "getCurves"), T = /* @__PURE__ */ r(() => b.options, "getOptions"), E = /* @__PURE__ */ r((e) => {
31
31
  b.axes = e.map((e) => {
32
32
  var t;
33
33
  return {
@@ -35,7 +35,7 @@ var v = {
35
35
  label: (t = e.label) == null ? e.name : t
36
36
  };
37
37
  });
38
- }, "setAxes"), D = /* @__PURE__ */ n((e) => {
38
+ }, "setAxes"), D = /* @__PURE__ */ r((e) => {
39
39
  b.curves = e.map((e) => {
40
40
  var t;
41
41
  return {
@@ -44,7 +44,7 @@ var v = {
44
44
  entries: O(e.entries)
45
45
  };
46
46
  });
47
- }, "setCurves"), O = /* @__PURE__ */ n((e) => {
47
+ }, "setCurves"), O = /* @__PURE__ */ r((e) => {
48
48
  if (e[0].axis == null) return e.map((e) => e.value);
49
49
  let t = C();
50
50
  if (t.length === 0) throw Error("Axes must be populated before curves for reference entries");
@@ -62,7 +62,7 @@ var v = {
62
62
  getOptions: T,
63
63
  setAxes: E,
64
64
  setCurves: D,
65
- setOptions: /* @__PURE__ */ n((e) => {
65
+ setOptions: /* @__PURE__ */ r((e) => {
66
66
  var t, n, r, i, a, o, s, c, l, u;
67
67
  let d = e.reduce((e, t) => (e[t.name] = t, e), {});
68
68
  b.options = {
@@ -74,34 +74,34 @@ var v = {
74
74
  };
75
75
  }, "setOptions"),
76
76
  getConfig: S,
77
- clear: /* @__PURE__ */ n(() => {
78
- l(), b = structuredClone(y);
77
+ clear: /* @__PURE__ */ r(() => {
78
+ u(), b = structuredClone(y);
79
79
  }, "clear"),
80
- setAccTitle: o,
81
- getAccTitle: f,
82
- setDiagramTitle: s,
83
- getDiagramTitle: i,
84
- getAccDescription: c,
85
- setAccDescription: r
86
- }, A = /* @__PURE__ */ n((e) => {
80
+ setAccTitle: s,
81
+ getAccTitle: p,
82
+ setDiagramTitle: c,
83
+ getDiagramTitle: a,
84
+ getAccDescription: l,
85
+ setAccDescription: i
86
+ }, A = /* @__PURE__ */ r((e) => {
87
87
  g(e, k);
88
88
  let { axes: t, curves: n, options: r } = e;
89
89
  k.setAxes(t), k.setCurves(n), k.setOptions(r);
90
- }, "populate"), j = { parse: /* @__PURE__ */ n(async (e) => {
91
- let n = await _("radar", e);
92
- t.debug(n), A(n);
93
- }, "parse") }, M = /* @__PURE__ */ n((e, t, n, r) => {
90
+ }, "populate"), j = { parse: /* @__PURE__ */ r(async (e) => {
91
+ let t = await _("radar", e);
92
+ n.debug(t), A(t);
93
+ }, "parse") }, M = /* @__PURE__ */ r((e, t, n, r) => {
94
94
  var i;
95
95
  let a = r.db, o = a.getAxes(), s = a.getCurves(), c = a.getOptions(), l = a.getConfig(), u = a.getDiagramTitle(), d = N(h(t), l), f = (i = c.max) == null ? Math.max(...s.map((e) => Math.max(...e.entries))) : i, p = c.min, m = Math.min(l.width, l.height) / 2;
96
96
  P(d, o, m, c.ticks, c.graticule), F(d, o, m, l), I(d, o, s, p, f, c.graticule, l), z(d, s, c.showLegend, l), d.append("text").attr("class", "radarTitle").text(u).attr("x", 0).attr("y", -l.height / 2 - l.marginTop);
97
- }, "draw"), N = /* @__PURE__ */ n((e, t) => {
97
+ }, "draw"), N = /* @__PURE__ */ r((e, t) => {
98
98
  var n;
99
99
  let r = t.width + t.marginLeft + t.marginRight, i = t.height + t.marginTop + t.marginBottom, a = {
100
100
  x: t.marginLeft + t.width / 2,
101
101
  y: t.marginTop + t.height / 2
102
102
  };
103
- return u(e, i, r, (n = t.useMaxWidth) == null ? !0 : n), e.attr("viewBox", `0 0 ${r} ${i}`), e.append("g").attr("transform", `translate(${a.x}, ${a.y})`);
104
- }, "drawFrame"), P = /* @__PURE__ */ n((e, t, n, r, i) => {
103
+ return d(e, i, r, (n = t.useMaxWidth) == null ? !0 : n), e.attr("viewBox", `0 0 ${r} ${i}`), e.append("g").attr("transform", `translate(${a.x}, ${a.y})`);
104
+ }, "drawFrame"), P = /* @__PURE__ */ r((e, t, n, r, i) => {
105
105
  if (i === "circle") for (let t = 0; t < r; t++) {
106
106
  let i = n * (t + 1) / r;
107
107
  e.append("circle").attr("r", i).attr("class", "radarGraticule");
@@ -116,7 +116,7 @@ var v = {
116
116
  e.append("polygon").attr("points", s).attr("class", "radarGraticule");
117
117
  }
118
118
  }
119
- }, "drawGraticule"), F = /* @__PURE__ */ n((e, t, n, r) => {
119
+ }, "drawGraticule"), F = /* @__PURE__ */ r((e, t, n, r) => {
120
120
  let i = t.length;
121
121
  for (let a = 0; a < i; a++) {
122
122
  let o = t[a].label, s = 2 * a * Math.PI / i - Math.PI / 2;
@@ -137,11 +137,11 @@ function I(e, t, n, r, i, a, o) {
137
137
  a === "circle" ? e.append("path").attr("d", R(l, o.curveTension)).attr("class", `radarCurve-${n}`) : a === "polygon" && e.append("polygon").attr("points", l.map((e) => `${e.x},${e.y}`).join(" ")).attr("class", `radarCurve-${n}`);
138
138
  });
139
139
  }
140
- n(I, "drawCurves");
140
+ r(I, "drawCurves");
141
141
  function L(e, t, n, r) {
142
142
  return r * (Math.min(Math.max(e, t), n) - t) / (n - t);
143
143
  }
144
- n(L, "relativeRadius");
144
+ r(L, "relativeRadius");
145
145
  function R(e, t) {
146
146
  let n = e.length, r = `M${e[0].x},${e[0].y}`;
147
147
  for (let i = 0; i < n; i++) {
@@ -156,7 +156,7 @@ function R(e, t) {
156
156
  }
157
157
  return `${r} Z`;
158
158
  }
159
- n(R, "closedRoundCurve");
159
+ r(R, "closedRoundCurve");
160
160
  function z(e, t, n, r) {
161
161
  if (!n) return;
162
162
  let i = (r.width / 2 + r.marginRight) * 3 / 4, a = -(r.height / 2 + r.marginTop) * 3 / 4;
@@ -165,8 +165,8 @@ function z(e, t, n, r) {
165
165
  r.append("rect").attr("width", 12).attr("height", 12).attr("class", `radarLegendBox-${n}`), r.append("text").attr("x", 16).attr("y", 0).attr("class", "radarLegendText").text(t.label);
166
166
  });
167
167
  }
168
- n(z, "drawLegend");
169
- var B = { draw: M }, V = /* @__PURE__ */ n((e, t) => {
168
+ r(z, "drawLegend");
169
+ var B = { draw: M }, V = /* @__PURE__ */ r((e, t) => {
170
170
  let n = "";
171
171
  for (let r = 0; r < e.THEME_COLOR_LIMIT; r++) {
172
172
  let i = e[`cScale${r}`];
@@ -186,17 +186,17 @@ var B = { draw: M }, V = /* @__PURE__ */ n((e, t) => {
186
186
  `;
187
187
  }
188
188
  return n;
189
- }, "genIndexStyles"), H = /* @__PURE__ */ n((e) => {
190
- let t = m(a(), p().themeVariables);
189
+ }, "genIndexStyles"), H = /* @__PURE__ */ r((e) => {
190
+ let n = t(o(), m().themeVariables);
191
191
  return {
192
- themeVariables: t,
193
- radarOptions: m(t.radar, e)
192
+ themeVariables: n,
193
+ radarOptions: t(n.radar, e)
194
194
  };
195
195
  }, "buildRadarStyleOptions"), U = {
196
196
  parser: j,
197
197
  db: k,
198
198
  renderer: B,
199
- styles: /* @__PURE__ */ n(({ radar: e } = {}) => {
199
+ styles: /* @__PURE__ */ r(({ radar: e } = {}) => {
200
200
  let { themeVariables: t, radarOptions: n } = H(e);
201
201
  return `
202
202
  .radarTitle {