wikied 0.7.0 → 0.8.1

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 (459) hide show
  1. package/README.md +1 -11
  2. package/dist/cli/index.js +1 -1
  3. package/dist/client/assets/{arc-BGbUjP6l.js → arc-BcNRNWhT.js} +1 -1
  4. package/dist/client/assets/architecture-7EHR7CIX-BGHsj3Sd.js +1 -0
  5. package/dist/client/assets/{architectureDiagram-3BPJPVTR-B4z3Bib0.js → architectureDiagram-3BPJPVTR-PrKBtz_N.js} +1 -1
  6. package/dist/client/assets/{blockDiagram-GPEHLZMM-CM9yoR1c.js → blockDiagram-GPEHLZMM-Cu6_nrob.js} +1 -1
  7. package/dist/client/assets/{c4Diagram-AAUBKEIU-BJuYwiU6.js → c4Diagram-AAUBKEIU-XAOiDGD3.js} +1 -1
  8. package/dist/client/assets/channel-CPmtBTYe.js +1 -0
  9. package/dist/client/assets/{chunk-2J33WTMH-CElL4Bkg.js → chunk-2J33WTMH-C6gxPqIL.js} +1 -1
  10. package/dist/client/assets/{chunk-4BX2VUAB-4pLcLIM5.js → chunk-4BX2VUAB-BF6pxt2R.js} +1 -1
  11. package/dist/client/assets/{chunk-55IACEB6-BCehx-77.js → chunk-55IACEB6-BgFb2EGJ.js} +1 -1
  12. package/dist/client/assets/{chunk-727SXJPM-7cRbWNAI.js → chunk-727SXJPM-CGa5zkpd.js} +1 -1
  13. package/dist/client/assets/{chunk-AQP2D5EJ-CdZ5KEq0.js → chunk-AQP2D5EJ-BG2Gm9Jj.js} +1 -1
  14. package/dist/client/assets/{chunk-FMBD7UC4-CX3tOevw.js → chunk-FMBD7UC4-9PjtkE8N.js} +1 -1
  15. package/dist/client/assets/{chunk-ND2GUHAM-BIe2czkN.js → chunk-ND2GUHAM-BkwAMldP.js} +1 -1
  16. package/dist/client/assets/chunk-QZHKN3VN-CugKC9yc.js +1 -0
  17. package/dist/client/assets/classDiagram-4FO5ZUOK-CgZje55M.js +1 -0
  18. package/dist/client/assets/classDiagram-v2-Q7XG4LA2-CD8O_LKr.js +1 -0
  19. package/dist/client/assets/{cose-bilkent-S5V4N54A-BZ5-BOtV.js → cose-bilkent-S5V4N54A-DJMnAWsu.js} +1 -1
  20. package/dist/client/assets/{dagre-BM42HDAG-BF4eE7Vq.js → dagre-BM42HDAG-DxhB7WC5.js} +1 -1
  21. package/dist/client/assets/{diagram-2AECGRRQ-CBD1vPsC.js → diagram-2AECGRRQ-Bm6bCjKV.js} +1 -1
  22. package/dist/client/assets/{diagram-5GNKFQAL-BKVF6D-v.js → diagram-5GNKFQAL-5JYUOXRk.js} +1 -1
  23. package/dist/client/assets/{diagram-KO2AKTUF-B4tg5Sq2.js → diagram-KO2AKTUF-DGpZHYq_.js} +1 -1
  24. package/dist/client/assets/{diagram-LMA3HP47-CrtzqKHR.js → diagram-LMA3HP47-CHk9wsYZ.js} +1 -1
  25. package/dist/client/assets/{diagram-OG6HWLK6-B1U1l2z9.js → diagram-OG6HWLK6-CfWuAKz7.js} +1 -1
  26. package/dist/client/assets/{dist-2tmgITdd.js → dist-BR2D9joR.js} +1 -1
  27. package/dist/client/assets/{dist-BMnytQui.js → dist-BjXWQdR7.js} +1 -1
  28. package/dist/client/assets/{dist-BdtcHXh3.js → dist-BtQr4_T2.js} +1 -1
  29. package/dist/client/assets/{dist-BAyNC3jS.js → dist-C24Am8Vy.js} +1 -1
  30. package/dist/client/assets/{dist-BGAr6uGo.js → dist-CAQl_JeH.js} +1 -1
  31. package/dist/client/assets/{dist-BiKkiCmA.js → dist-CN5BUgsL.js} +1 -1
  32. package/dist/client/assets/{dist-DLRVIfbL.js → dist-CYBm04dn.js} +1 -1
  33. package/dist/client/assets/{dist-CDbDhEh_.js → dist-CqO8fBRP.js} +1 -1
  34. package/dist/client/assets/{dist-CHFPp6QK.js → dist-D1HFoNWi.js} +1 -1
  35. package/dist/client/assets/{dist-BD40sG-g.js → dist-D2gqg6XD.js} +1 -1
  36. package/dist/client/assets/{dist-CZj-wKzk.js → dist-DKiO2E1b.js} +1 -1
  37. package/dist/client/assets/{dist-BnHFa9WX.js → dist-Dgs9dPpZ.js} +1 -1
  38. package/dist/client/assets/{dist-4GL-blwo.js → dist-K-OE26Yi.js} +1 -1
  39. package/dist/client/assets/{dist-0-z0Cnty.js → dist-Pl3rvXUl.js} +1 -1
  40. package/dist/client/assets/{dist-44lkZ2T8.js → dist-PodDLKOH.js} +1 -1
  41. package/dist/client/assets/{dist--hLEDvOf.js → dist-ckTWnBTv.js} +1 -1
  42. package/dist/client/assets/{dist-Q6A1c5I0.js → dist-sjFMLj70.js} +1 -1
  43. package/dist/client/assets/{erDiagram-TEJ5UH35-B62HhqZg.js → erDiagram-TEJ5UH35-xeNgkSAy.js} +1 -1
  44. package/dist/client/assets/eventmodeling-FCH6USID-DphoJcXR.js +1 -0
  45. package/dist/client/assets/{flowDiagram-I6XJVG4X-Bgr5YjhY.js → flowDiagram-I6XJVG4X-Diocribv.js} +1 -1
  46. package/dist/client/assets/{ganttDiagram-6RSMTGT7-CD_17vBt.js → ganttDiagram-6RSMTGT7-xTdTc-El.js} +1 -1
  47. package/dist/client/assets/gitGraph-WXDBUCRP-BTW4f9fi.js +1 -0
  48. package/dist/client/assets/{gitGraphDiagram-PVQCEYII-BaRvMOzh.js → gitGraphDiagram-PVQCEYII-DmKIUOJx.js} +1 -1
  49. package/dist/client/assets/{index-BPa7ldDk.css → index-BGCXi2uF.css} +1 -1
  50. package/dist/client/assets/index-Cvvt5420.js +532 -0
  51. package/dist/client/assets/info-J43DQDTF-Cw2HNDaO.js +1 -0
  52. package/dist/client/assets/{infoDiagram-5YYISTIA-B4RQ7JzR.js → infoDiagram-5YYISTIA-D4cfvBEb.js} +1 -1
  53. package/dist/client/assets/{ishikawaDiagram-YF4QCWOH-Bbrza3Oj.js → ishikawaDiagram-YF4QCWOH-K2NTS-gk.js} +1 -1
  54. package/dist/client/assets/{journeyDiagram-JHISSGLW-BNSA0bV7.js → journeyDiagram-JHISSGLW-D6ZE_T8d.js} +1 -1
  55. package/dist/client/assets/{kanban-definition-UN3LZRKU-BShOC1Nf.js → kanban-definition-UN3LZRKU-NeD0uRbJ.js} +1 -1
  56. package/dist/client/assets/{linear-B_52T76x.js → linear-BB-hRShj.js} +1 -1
  57. package/dist/client/assets/{mermaid-parser.core-2kO9DfMJ.js → mermaid-parser.core-BGxRxHQl.js} +2 -2
  58. package/dist/client/assets/{mindmap-definition-RKZ34NQL-CYrR5n4p.js → mindmap-definition-RKZ34NQL-re0v-Abf.js} +1 -1
  59. package/dist/client/assets/packet-YPE3B663-CrHs8zQk.js +1 -0
  60. package/dist/client/assets/pie-LRSECV5Y-DN2X-C7c.js +1 -0
  61. package/dist/client/assets/{pieDiagram-4H26LBE5-BPBPJDOL.js → pieDiagram-4H26LBE5-CVgGRPUj.js} +1 -1
  62. package/dist/client/assets/{quadrantDiagram-W4KKPZXB-7qeZA_5K.js → quadrantDiagram-W4KKPZXB-hvgg5ND-.js} +1 -1
  63. package/dist/client/assets/radar-GUYGQ44K-CGfUK9B7.js +1 -0
  64. package/dist/client/assets/{requirementDiagram-4Y6WPE33-Bn_o0XyB.js → requirementDiagram-4Y6WPE33-BDRcpjKM.js} +1 -1
  65. package/dist/client/assets/{sankeyDiagram-5OEKKPKP-C7tq1iBN.js → sankeyDiagram-5OEKKPKP-CZMAxFS8.js} +1 -1
  66. package/dist/client/assets/{sequenceDiagram-3UESZ5HK-CVntHqub.js → sequenceDiagram-3UESZ5HK-tCo417FM.js} +1 -1
  67. package/dist/client/assets/{stateDiagram-AJRCARHV-6CbiQtH2.js → stateDiagram-AJRCARHV-BiiCMTOc.js} +1 -1
  68. package/dist/client/assets/stateDiagram-v2-BHNVJYJU-BeuZpgnp.js +1 -0
  69. package/dist/client/assets/{timeline-definition-PNZ67QCA-8O7m6KY3.js → timeline-definition-PNZ67QCA-CwdU_R2S.js} +1 -1
  70. package/dist/client/assets/treeView-BLDUP644-Bf0-7Ltp.js +1 -0
  71. package/dist/client/assets/treemap-LRROVOQU-jGeMHPB3.js +1 -0
  72. package/dist/client/assets/{vennDiagram-CIIHVFJN-BPYk8Ngd.js → vennDiagram-CIIHVFJN-BLHvlGvY.js} +1 -1
  73. package/dist/client/assets/wardley-L42UT6IY-BUzbFhcv.js +1 -0
  74. package/dist/client/assets/{wardleyDiagram-YWT4CUSO-BFpz-Hih.js → wardleyDiagram-YWT4CUSO-C6CXsYNa.js} +1 -1
  75. package/dist/client/assets/{xychartDiagram-2RQKCTM6-B11s2eQY.js → xychartDiagram-2RQKCTM6-Bq_1XgNP.js} +1 -1
  76. package/dist/client/index.html +2 -2
  77. package/docs/project/README.md +2 -2
  78. package/docs/project/architecture.md +257 -257
  79. package/docs/project/changelog.md +19 -0
  80. package/docs/project/design.md +190 -190
  81. package/docs/project/how-to/package-local.md +5 -5
  82. package/docs/project/how-to/run.md +2 -2
  83. package/package.json +1 -1
  84. package/dist/client/assets/arc-BQ8FQIxG.js +0 -1
  85. package/dist/client/assets/arc-D29HaK0-.js +0 -1
  86. package/dist/client/assets/arc-DN1TRxdV.js +0 -1
  87. package/dist/client/assets/arc-EsqL9E_k.js +0 -1
  88. package/dist/client/assets/arc-lxhneEjK.js +0 -1
  89. package/dist/client/assets/architecture-7EHR7CIX-BqNz3w30.js +0 -1
  90. package/dist/client/assets/architecture-7EHR7CIX-CFJQjcdg.js +0 -1
  91. package/dist/client/assets/architecture-7EHR7CIX-ClbxVUwJ.js +0 -1
  92. package/dist/client/assets/architecture-7EHR7CIX-CyNbBoe0.js +0 -1
  93. package/dist/client/assets/architecture-7EHR7CIX-DSRN3R9m.js +0 -1
  94. package/dist/client/assets/architecture-7EHR7CIX-PtlJ4dOt.js +0 -1
  95. package/dist/client/assets/architectureDiagram-3BPJPVTR-BcWhK0P7.js +0 -36
  96. package/dist/client/assets/architectureDiagram-3BPJPVTR-CFDO5Pht.js +0 -36
  97. package/dist/client/assets/architectureDiagram-3BPJPVTR-YHMi__Re.js +0 -36
  98. package/dist/client/assets/architectureDiagram-3BPJPVTR-tkcUxvnc.js +0 -36
  99. package/dist/client/assets/architectureDiagram-3BPJPVTR-uohXcL3U.js +0 -36
  100. package/dist/client/assets/blockDiagram-GPEHLZMM-CmuICidh.js +0 -132
  101. package/dist/client/assets/blockDiagram-GPEHLZMM-Cw-DTpkY.js +0 -132
  102. package/dist/client/assets/blockDiagram-GPEHLZMM-D8CFcow6.js +0 -132
  103. package/dist/client/assets/blockDiagram-GPEHLZMM-DITm6e9a.js +0 -132
  104. package/dist/client/assets/blockDiagram-GPEHLZMM-sRYCtT3R.js +0 -132
  105. package/dist/client/assets/c4Diagram-AAUBKEIU-CAKSwn1Q.js +0 -10
  106. package/dist/client/assets/c4Diagram-AAUBKEIU-CQNX7g2f.js +0 -10
  107. package/dist/client/assets/c4Diagram-AAUBKEIU-Cmr0FZN2.js +0 -10
  108. package/dist/client/assets/c4Diagram-AAUBKEIU-hz6fXX48.js +0 -10
  109. package/dist/client/assets/c4Diagram-AAUBKEIU-jMpUd_wV.js +0 -10
  110. package/dist/client/assets/channel-BLySICXj.js +0 -1
  111. package/dist/client/assets/channel-BhTl1myF.js +0 -1
  112. package/dist/client/assets/channel-C6YaMftE.js +0 -1
  113. package/dist/client/assets/channel-DCmlVXgL.js +0 -1
  114. package/dist/client/assets/channel-DGNLHxy4.js +0 -1
  115. package/dist/client/assets/channel-x4T-_YD7.js +0 -1
  116. package/dist/client/assets/chunk-2J33WTMH-CbW3CBuf.js +0 -1
  117. package/dist/client/assets/chunk-2J33WTMH-Cwe8zhoU.js +0 -1
  118. package/dist/client/assets/chunk-2J33WTMH-D3_CoMp1.js +0 -1
  119. package/dist/client/assets/chunk-2J33WTMH-DN_GVUWe.js +0 -1
  120. package/dist/client/assets/chunk-2J33WTMH-zDzeRZN5.js +0 -1
  121. package/dist/client/assets/chunk-4BX2VUAB-9XalwBpW.js +0 -1
  122. package/dist/client/assets/chunk-4BX2VUAB-B5EdDr8j.js +0 -1
  123. package/dist/client/assets/chunk-4BX2VUAB-BFtetfgd.js +0 -1
  124. package/dist/client/assets/chunk-4BX2VUAB-DGIU4KKY.js +0 -1
  125. package/dist/client/assets/chunk-4BX2VUAB-jTIxI8DZ.js +0 -1
  126. package/dist/client/assets/chunk-55IACEB6-BPpZck88.js +0 -1
  127. package/dist/client/assets/chunk-55IACEB6-BV23knRO.js +0 -1
  128. package/dist/client/assets/chunk-55IACEB6-C0d8c7Vo.js +0 -1
  129. package/dist/client/assets/chunk-55IACEB6-CQ_t4_xx.js +0 -1
  130. package/dist/client/assets/chunk-55IACEB6-JZcTe9lc.js +0 -1
  131. package/dist/client/assets/chunk-727SXJPM-BSL_F1Le.js +0 -206
  132. package/dist/client/assets/chunk-727SXJPM-D47mkitj.js +0 -206
  133. package/dist/client/assets/chunk-727SXJPM-D9_MqMP5.js +0 -206
  134. package/dist/client/assets/chunk-727SXJPM-RyJFEFm-.js +0 -206
  135. package/dist/client/assets/chunk-727SXJPM-nDNND1Fi.js +0 -206
  136. package/dist/client/assets/chunk-AQP2D5EJ-CtXh86Eg.js +0 -231
  137. package/dist/client/assets/chunk-AQP2D5EJ-CwxUU4hk.js +0 -231
  138. package/dist/client/assets/chunk-AQP2D5EJ-D0baAcg1.js +0 -231
  139. package/dist/client/assets/chunk-AQP2D5EJ-DCPlWaAh.js +0 -231
  140. package/dist/client/assets/chunk-AQP2D5EJ-J_DkonSc.js +0 -231
  141. package/dist/client/assets/chunk-FMBD7UC4-BbZ1AGyL.js +0 -15
  142. package/dist/client/assets/chunk-FMBD7UC4-BdGnGsSk.js +0 -15
  143. package/dist/client/assets/chunk-FMBD7UC4-CVSNIJCH.js +0 -15
  144. package/dist/client/assets/chunk-FMBD7UC4-CqUEgFjs.js +0 -15
  145. package/dist/client/assets/chunk-FMBD7UC4-DC5BOUfb.js +0 -15
  146. package/dist/client/assets/chunk-ND2GUHAM-BSN4IQif.js +0 -1
  147. package/dist/client/assets/chunk-ND2GUHAM-CnGwaH5L.js +0 -1
  148. package/dist/client/assets/chunk-ND2GUHAM-DNiW6T9n.js +0 -1
  149. package/dist/client/assets/chunk-ND2GUHAM-DlypeIxK.js +0 -1
  150. package/dist/client/assets/chunk-ND2GUHAM-dO9yBJ9c.js +0 -1
  151. package/dist/client/assets/chunk-QZHKN3VN-BHbu3UP6.js +0 -1
  152. package/dist/client/assets/chunk-QZHKN3VN-BpYsV_6y.js +0 -1
  153. package/dist/client/assets/chunk-QZHKN3VN-CO1iLMuP.js +0 -1
  154. package/dist/client/assets/chunk-QZHKN3VN-DXTWyPl6.js +0 -1
  155. package/dist/client/assets/chunk-QZHKN3VN-Dp-LTU9i.js +0 -1
  156. package/dist/client/assets/chunk-QZHKN3VN-kXi8OW4-.js +0 -1
  157. package/dist/client/assets/classDiagram-4FO5ZUOK-AtKel0XH.js +0 -1
  158. package/dist/client/assets/classDiagram-4FO5ZUOK-B0NpKzPr.js +0 -1
  159. package/dist/client/assets/classDiagram-4FO5ZUOK-Bk7OZQQT.js +0 -1
  160. package/dist/client/assets/classDiagram-4FO5ZUOK-CUT5SOh1.js +0 -1
  161. package/dist/client/assets/classDiagram-4FO5ZUOK-DR6twz9n.js +0 -1
  162. package/dist/client/assets/classDiagram-4FO5ZUOK-XKa3UYeT.js +0 -1
  163. package/dist/client/assets/classDiagram-v2-Q7XG4LA2-C10EkiwP.js +0 -1
  164. package/dist/client/assets/classDiagram-v2-Q7XG4LA2-CYNm9k9j.js +0 -1
  165. package/dist/client/assets/classDiagram-v2-Q7XG4LA2-Cu6f4_Qr.js +0 -1
  166. package/dist/client/assets/classDiagram-v2-Q7XG4LA2-DVtSKtsc.js +0 -1
  167. package/dist/client/assets/classDiagram-v2-Q7XG4LA2-DdsQ5sc8.js +0 -1
  168. package/dist/client/assets/classDiagram-v2-Q7XG4LA2-M8Y05qZy.js +0 -1
  169. package/dist/client/assets/cose-bilkent-S5V4N54A-C5IwfIBU.js +0 -1
  170. package/dist/client/assets/cose-bilkent-S5V4N54A-C6fAtGoM.js +0 -1
  171. package/dist/client/assets/cose-bilkent-S5V4N54A-CDm9Oap6.js +0 -1
  172. package/dist/client/assets/cose-bilkent-S5V4N54A-CRCh_MP2.js +0 -1
  173. package/dist/client/assets/cose-bilkent-S5V4N54A-D-iXlubx.js +0 -1
  174. package/dist/client/assets/dagre-BM42HDAG-C1UxjNQo.js +0 -4
  175. package/dist/client/assets/dagre-BM42HDAG-CN_eUZpE.js +0 -4
  176. package/dist/client/assets/dagre-BM42HDAG-DG3qHB9n.js +0 -4
  177. package/dist/client/assets/dagre-BM42HDAG-DGqTKLQn.js +0 -4
  178. package/dist/client/assets/dagre-BM42HDAG-HhxsMVKO.js +0 -4
  179. package/dist/client/assets/diagram-2AECGRRQ-CPsbxJxF.js +0 -43
  180. package/dist/client/assets/diagram-2AECGRRQ-DFQSvODp.js +0 -43
  181. package/dist/client/assets/diagram-2AECGRRQ-DMEfdrj9.js +0 -43
  182. package/dist/client/assets/diagram-2AECGRRQ-DlJ7PqUC.js +0 -43
  183. package/dist/client/assets/diagram-2AECGRRQ-DvCOeQpl.js +0 -43
  184. package/dist/client/assets/diagram-5GNKFQAL-CV0_MyBI.js +0 -10
  185. package/dist/client/assets/diagram-5GNKFQAL-Cz34sKoA.js +0 -10
  186. package/dist/client/assets/diagram-5GNKFQAL-DP3pe1RC.js +0 -10
  187. package/dist/client/assets/diagram-5GNKFQAL-DxF6k7UP.js +0 -10
  188. package/dist/client/assets/diagram-5GNKFQAL-iSa2z6P6.js +0 -10
  189. package/dist/client/assets/diagram-KO2AKTUF-BRgzZSvK.js +0 -3
  190. package/dist/client/assets/diagram-KO2AKTUF-CIV3uGBq.js +0 -3
  191. package/dist/client/assets/diagram-KO2AKTUF-CTH7FURo.js +0 -3
  192. package/dist/client/assets/diagram-KO2AKTUF-C_2zZZh0.js +0 -3
  193. package/dist/client/assets/diagram-KO2AKTUF-Cuss_t-R.js +0 -3
  194. package/dist/client/assets/diagram-LMA3HP47-D0uf37D2.js +0 -24
  195. package/dist/client/assets/diagram-LMA3HP47-DCJWcert.js +0 -24
  196. package/dist/client/assets/diagram-LMA3HP47-DHLGCfmQ.js +0 -24
  197. package/dist/client/assets/diagram-LMA3HP47-DqcX8v1J.js +0 -24
  198. package/dist/client/assets/diagram-LMA3HP47-Y_acETft.js +0 -24
  199. package/dist/client/assets/diagram-OG6HWLK6-Bpl1By3g.js +0 -24
  200. package/dist/client/assets/diagram-OG6HWLK6-BpniHTDY.js +0 -24
  201. package/dist/client/assets/diagram-OG6HWLK6-CPIuiHbu.js +0 -24
  202. package/dist/client/assets/diagram-OG6HWLK6-CYWwbYrm.js +0 -24
  203. package/dist/client/assets/diagram-OG6HWLK6-CmxjZhDt.js +0 -24
  204. package/dist/client/assets/dist-B6O_DpEm.js +0 -1
  205. package/dist/client/assets/dist-BMcGXJl_.js +0 -1
  206. package/dist/client/assets/dist-BMrfqEff.js +0 -1
  207. package/dist/client/assets/dist-BNzWMaB6.js +0 -1
  208. package/dist/client/assets/dist-BP22L48M.js +0 -1
  209. package/dist/client/assets/dist-BQFQYyOf.js +0 -1
  210. package/dist/client/assets/dist-BS_Wb5ek.js +0 -1
  211. package/dist/client/assets/dist-BTSt8RmS.js +0 -1
  212. package/dist/client/assets/dist-BTqWikmn.js +0 -9
  213. package/dist/client/assets/dist-BU-v7eOh.js +0 -1
  214. package/dist/client/assets/dist-BW9zpavZ.js +0 -1
  215. package/dist/client/assets/dist-BYpLoh88.js +0 -1
  216. package/dist/client/assets/dist-Ba2VBCEx.js +0 -1
  217. package/dist/client/assets/dist-BbyHZUWl.js +0 -1
  218. package/dist/client/assets/dist-Bj-AtBpB.js +0 -1
  219. package/dist/client/assets/dist-BkIFud2w.js +0 -2
  220. package/dist/client/assets/dist-BkJurX-Q.js +0 -2
  221. package/dist/client/assets/dist-BmvzHEa6.js +0 -1
  222. package/dist/client/assets/dist-BrtuoXw3.js +0 -1
  223. package/dist/client/assets/dist-Bv1_rpJY.js +0 -2
  224. package/dist/client/assets/dist-BxJTQCfI.js +0 -1
  225. package/dist/client/assets/dist-By195sxY.js +0 -1
  226. package/dist/client/assets/dist-C0PJTPJf.js +0 -1
  227. package/dist/client/assets/dist-C70w0n6j.js +0 -1
  228. package/dist/client/assets/dist-C7zhb6ia.js +0 -1
  229. package/dist/client/assets/dist-CFQ-7y4O.js +0 -1
  230. package/dist/client/assets/dist-CJvz1rI0.js +0 -2
  231. package/dist/client/assets/dist-CKq8Ue0B.js +0 -1
  232. package/dist/client/assets/dist-CL-xNTXw.js +0 -1
  233. package/dist/client/assets/dist-CRDAhP-_.js +0 -9
  234. package/dist/client/assets/dist-CS16K7fI.js +0 -1
  235. package/dist/client/assets/dist-CTOPKEFU.js +0 -1
  236. package/dist/client/assets/dist-C_7Kdz86.js +0 -1
  237. package/dist/client/assets/dist-Catly5LE.js +0 -1
  238. package/dist/client/assets/dist-Cf5WqFxW.js +0 -1
  239. package/dist/client/assets/dist-ChpghJfy.js +0 -9
  240. package/dist/client/assets/dist-ChvQZ65S.js +0 -1
  241. package/dist/client/assets/dist-Cj50abYe.js +0 -1
  242. package/dist/client/assets/dist-CmE34U3l.js +0 -1
  243. package/dist/client/assets/dist-CnEAsIWK.js +0 -11
  244. package/dist/client/assets/dist-Cokhcc-e.js +0 -1
  245. package/dist/client/assets/dist-Cp5GrNtz.js +0 -1
  246. package/dist/client/assets/dist-Ct9nOXP2.js +0 -1
  247. package/dist/client/assets/dist-CuQa92y3.js +0 -1
  248. package/dist/client/assets/dist-Cu_x7LYJ.js +0 -1
  249. package/dist/client/assets/dist-D0wTN10c.js +0 -2
  250. package/dist/client/assets/dist-D6XIhlK2.js +0 -1
  251. package/dist/client/assets/dist-D96yzPvR.js +0 -1
  252. package/dist/client/assets/dist-DIbBkegB.js +0 -1
  253. package/dist/client/assets/dist-DLMHIC1t.js +0 -1
  254. package/dist/client/assets/dist-DNA1Z08m.js +0 -1
  255. package/dist/client/assets/dist-DNKDt2SL.js +0 -9
  256. package/dist/client/assets/dist-DNbCIPJZ.js +0 -1
  257. package/dist/client/assets/dist-DRO62xNi.js +0 -11
  258. package/dist/client/assets/dist-DSuqFJZG.js +0 -1
  259. package/dist/client/assets/dist-DVQbjcvW.js +0 -1
  260. package/dist/client/assets/dist-DWY4UZzp.js +0 -1
  261. package/dist/client/assets/dist-DYo-CenB.js +0 -1
  262. package/dist/client/assets/dist-DZdkfueI.js +0 -1
  263. package/dist/client/assets/dist-Dd92cuCD.js +0 -1
  264. package/dist/client/assets/dist-Dhrxncs7.js +0 -1
  265. package/dist/client/assets/dist-DkBb8pyD.js +0 -1
  266. package/dist/client/assets/dist-DpfF9ujP.js +0 -1
  267. package/dist/client/assets/dist-DsXVGesw.js +0 -1
  268. package/dist/client/assets/dist-DzHWpwvC.js +0 -9
  269. package/dist/client/assets/dist-FD0Pk5v3.js +0 -1
  270. package/dist/client/assets/dist-HEJhLJLi.js +0 -11
  271. package/dist/client/assets/dist-JvwHRPyx.js +0 -1
  272. package/dist/client/assets/dist-LeORtSWk.js +0 -1
  273. package/dist/client/assets/dist-Lt0tqjQf.js +0 -1
  274. package/dist/client/assets/dist-M8PzXy6d.js +0 -1
  275. package/dist/client/assets/dist-MQmNzVLE.js +0 -1
  276. package/dist/client/assets/dist-PXqLsMmX.js +0 -1
  277. package/dist/client/assets/dist-VLVu-KW2.js +0 -1
  278. package/dist/client/assets/dist-YLM2KsVW.js +0 -1
  279. package/dist/client/assets/dist-bfKL2iu_.js +0 -1
  280. package/dist/client/assets/dist-h-MwnblL.js +0 -1
  281. package/dist/client/assets/dist-hXXcIbxU.js +0 -1
  282. package/dist/client/assets/dist-llL-i6i2.js +0 -1
  283. package/dist/client/assets/dist-mQxXzSBY.js +0 -1
  284. package/dist/client/assets/dist-ogHbs9vd.js +0 -1
  285. package/dist/client/assets/dist-os_6esOz.js +0 -1
  286. package/dist/client/assets/dist-t0zWlbUu.js +0 -11
  287. package/dist/client/assets/dist-uL3SbE3I.js +0 -11
  288. package/dist/client/assets/dist-xIpUAkiA.js +0 -1
  289. package/dist/client/assets/erDiagram-TEJ5UH35-BXxzMHpX.js +0 -85
  290. package/dist/client/assets/erDiagram-TEJ5UH35-CTM4iRPt.js +0 -85
  291. package/dist/client/assets/erDiagram-TEJ5UH35-DaaUCEf-.js +0 -85
  292. package/dist/client/assets/erDiagram-TEJ5UH35-DnwoJhSL.js +0 -85
  293. package/dist/client/assets/erDiagram-TEJ5UH35-Dofm20uI.js +0 -85
  294. package/dist/client/assets/eventmodeling-FCH6USID-CG8-lqF5.js +0 -1
  295. package/dist/client/assets/eventmodeling-FCH6USID-Ckn2qnKs.js +0 -1
  296. package/dist/client/assets/eventmodeling-FCH6USID-DsmiUeUD.js +0 -1
  297. package/dist/client/assets/eventmodeling-FCH6USID-IsJECylp.js +0 -1
  298. package/dist/client/assets/eventmodeling-FCH6USID-TfS978Hk.js +0 -1
  299. package/dist/client/assets/eventmodeling-FCH6USID-rDVHKK_z.js +0 -1
  300. package/dist/client/assets/flowDiagram-I6XJVG4X-CwbJrsAH.js +0 -162
  301. package/dist/client/assets/flowDiagram-I6XJVG4X-DB8NE8dO.js +0 -162
  302. package/dist/client/assets/flowDiagram-I6XJVG4X-DG3xWBhm.js +0 -162
  303. package/dist/client/assets/flowDiagram-I6XJVG4X-SHBvldeJ.js +0 -162
  304. package/dist/client/assets/flowDiagram-I6XJVG4X-lRhOrZDv.js +0 -162
  305. package/dist/client/assets/ganttDiagram-6RSMTGT7-BKybsoxO.js +0 -292
  306. package/dist/client/assets/ganttDiagram-6RSMTGT7-CO57UxDH.js +0 -292
  307. package/dist/client/assets/ganttDiagram-6RSMTGT7-CV4c0bxZ.js +0 -292
  308. package/dist/client/assets/ganttDiagram-6RSMTGT7-D5PiNC8A.js +0 -292
  309. package/dist/client/assets/ganttDiagram-6RSMTGT7-DdVvDmnp.js +0 -292
  310. package/dist/client/assets/gitGraph-WXDBUCRP-B5abLcfr.js +0 -1
  311. package/dist/client/assets/gitGraph-WXDBUCRP-CEUAsiWg.js +0 -1
  312. package/dist/client/assets/gitGraph-WXDBUCRP-CPPxqCrS.js +0 -1
  313. package/dist/client/assets/gitGraph-WXDBUCRP-Cj9_uihB.js +0 -1
  314. package/dist/client/assets/gitGraph-WXDBUCRP-Q72MkpNg.js +0 -1
  315. package/dist/client/assets/gitGraph-WXDBUCRP-ojGUgaVb.js +0 -1
  316. package/dist/client/assets/gitGraphDiagram-PVQCEYII-BckLmYy0.js +0 -106
  317. package/dist/client/assets/gitGraphDiagram-PVQCEYII-CQvq0IhO.js +0 -106
  318. package/dist/client/assets/gitGraphDiagram-PVQCEYII-D547DZF5.js +0 -106
  319. package/dist/client/assets/gitGraphDiagram-PVQCEYII-DOFs1eg8.js +0 -106
  320. package/dist/client/assets/gitGraphDiagram-PVQCEYII-Dba8FK50.js +0 -106
  321. package/dist/client/assets/index-8YKIjcJe.js +0 -532
  322. package/dist/client/assets/index-Bc6bzkA8.js +0 -532
  323. package/dist/client/assets/index-BewIyJmj.js +0 -532
  324. package/dist/client/assets/index-BhJ9ao0y.js +0 -532
  325. package/dist/client/assets/index-CzvLoUvF.js +0 -532
  326. package/dist/client/assets/index-ckENP4pU.js +0 -532
  327. package/dist/client/assets/info-J43DQDTF-BOKPpojc.js +0 -1
  328. package/dist/client/assets/info-J43DQDTF-CWf75QJC.js +0 -1
  329. package/dist/client/assets/info-J43DQDTF-Db_7Q2r9.js +0 -1
  330. package/dist/client/assets/info-J43DQDTF-DfyyKBT0.js +0 -1
  331. package/dist/client/assets/info-J43DQDTF-Esf2TaF1.js +0 -1
  332. package/dist/client/assets/info-J43DQDTF-bdterZJm.js +0 -1
  333. package/dist/client/assets/infoDiagram-5YYISTIA-C6MmRXdl.js +0 -2
  334. package/dist/client/assets/infoDiagram-5YYISTIA-CJx1aJYH.js +0 -2
  335. package/dist/client/assets/infoDiagram-5YYISTIA-DAFFEaMX.js +0 -2
  336. package/dist/client/assets/infoDiagram-5YYISTIA-DPPbj55q.js +0 -2
  337. package/dist/client/assets/infoDiagram-5YYISTIA-LrF3QIgt.js +0 -2
  338. package/dist/client/assets/ishikawaDiagram-YF4QCWOH-BeqvjDIl.js +0 -70
  339. package/dist/client/assets/ishikawaDiagram-YF4QCWOH-D1voQ_A3.js +0 -70
  340. package/dist/client/assets/ishikawaDiagram-YF4QCWOH-DQVs-e5F.js +0 -70
  341. package/dist/client/assets/ishikawaDiagram-YF4QCWOH-DellCRrr.js +0 -70
  342. package/dist/client/assets/ishikawaDiagram-YF4QCWOH-j2svCPD_.js +0 -70
  343. package/dist/client/assets/journeyDiagram-JHISSGLW-ByjUcNIQ.js +0 -139
  344. package/dist/client/assets/journeyDiagram-JHISSGLW-CjmHTXWw.js +0 -139
  345. package/dist/client/assets/journeyDiagram-JHISSGLW-CyW3uYgl.js +0 -139
  346. package/dist/client/assets/journeyDiagram-JHISSGLW-DHG9tEO9.js +0 -139
  347. package/dist/client/assets/journeyDiagram-JHISSGLW-DMhylUSs.js +0 -139
  348. package/dist/client/assets/kanban-definition-UN3LZRKU-By6J-toY.js +0 -89
  349. package/dist/client/assets/kanban-definition-UN3LZRKU-CPmisIY0.js +0 -89
  350. package/dist/client/assets/kanban-definition-UN3LZRKU-DJq0v7yA.js +0 -89
  351. package/dist/client/assets/kanban-definition-UN3LZRKU-Odm95TPd.js +0 -89
  352. package/dist/client/assets/kanban-definition-UN3LZRKU-RhdfI1Go.js +0 -89
  353. package/dist/client/assets/linear-CCnRmQWj.js +0 -1
  354. package/dist/client/assets/linear-CLY6mbcf.js +0 -1
  355. package/dist/client/assets/linear-D2PqFEbl.js +0 -1
  356. package/dist/client/assets/linear-U4CTwA5d.js +0 -1
  357. package/dist/client/assets/linear-fC_JigXY.js +0 -1
  358. package/dist/client/assets/mermaid-parser.core-BaqVS2PS.js +0 -161
  359. package/dist/client/assets/mermaid-parser.core-CXSSSULW.js +0 -161
  360. package/dist/client/assets/mermaid-parser.core-D4wkA2RA.js +0 -161
  361. package/dist/client/assets/mermaid-parser.core-DJaMK5f0.js +0 -161
  362. package/dist/client/assets/mermaid-parser.core-Dg7giF1T.js +0 -161
  363. package/dist/client/assets/mindmap-definition-RKZ34NQL-CakoPsMY.js +0 -96
  364. package/dist/client/assets/mindmap-definition-RKZ34NQL-Ck-hSWI1.js +0 -96
  365. package/dist/client/assets/mindmap-definition-RKZ34NQL-DQ6OHT_i.js +0 -96
  366. package/dist/client/assets/mindmap-definition-RKZ34NQL-DUC927Xf.js +0 -96
  367. package/dist/client/assets/mindmap-definition-RKZ34NQL-DeFA1j35.js +0 -96
  368. package/dist/client/assets/packet-YPE3B663-B3KOrKph.js +0 -1
  369. package/dist/client/assets/packet-YPE3B663-BZYQ3FCV.js +0 -1
  370. package/dist/client/assets/packet-YPE3B663-CCp5WtTq.js +0 -1
  371. package/dist/client/assets/packet-YPE3B663-CfJJ9tXN.js +0 -1
  372. package/dist/client/assets/packet-YPE3B663-Ctl6nY1w.js +0 -1
  373. package/dist/client/assets/packet-YPE3B663-_U-6UVls.js +0 -1
  374. package/dist/client/assets/pie-LRSECV5Y-BAnVLQEp.js +0 -1
  375. package/dist/client/assets/pie-LRSECV5Y-BbZVTGZg.js +0 -1
  376. package/dist/client/assets/pie-LRSECV5Y-CYEccf3s.js +0 -1
  377. package/dist/client/assets/pie-LRSECV5Y-DlRiXmmJ.js +0 -1
  378. package/dist/client/assets/pie-LRSECV5Y-Dm3u76QZ.js +0 -1
  379. package/dist/client/assets/pie-LRSECV5Y-X0vz9XKi.js +0 -1
  380. package/dist/client/assets/pieDiagram-4H26LBE5-CAXyv9NR.js +0 -30
  381. package/dist/client/assets/pieDiagram-4H26LBE5-Cp_atO_B.js +0 -30
  382. package/dist/client/assets/pieDiagram-4H26LBE5-CzJrKJr4.js +0 -30
  383. package/dist/client/assets/pieDiagram-4H26LBE5-JffHRhRs.js +0 -30
  384. package/dist/client/assets/pieDiagram-4H26LBE5-pmEU7Uu5.js +0 -30
  385. package/dist/client/assets/quadrantDiagram-W4KKPZXB-B0JKtXGW.js +0 -7
  386. package/dist/client/assets/quadrantDiagram-W4KKPZXB-CkJY1wkN.js +0 -7
  387. package/dist/client/assets/quadrantDiagram-W4KKPZXB-DDnjiiYP.js +0 -7
  388. package/dist/client/assets/quadrantDiagram-W4KKPZXB-DR-dJSMY.js +0 -7
  389. package/dist/client/assets/quadrantDiagram-W4KKPZXB-Dg9KCwo0.js +0 -7
  390. package/dist/client/assets/radar-GUYGQ44K-8ZjjdwFn.js +0 -1
  391. package/dist/client/assets/radar-GUYGQ44K-BbAfN5-x.js +0 -1
  392. package/dist/client/assets/radar-GUYGQ44K-Bwdc6UPK.js +0 -1
  393. package/dist/client/assets/radar-GUYGQ44K-CXCenk63.js +0 -1
  394. package/dist/client/assets/radar-GUYGQ44K-CuJfIW1O.js +0 -1
  395. package/dist/client/assets/radar-GUYGQ44K-D7_r3KxN.js +0 -1
  396. package/dist/client/assets/requirementDiagram-4Y6WPE33-BwXGdVNn.js +0 -84
  397. package/dist/client/assets/requirementDiagram-4Y6WPE33-D6YIEesF.js +0 -84
  398. package/dist/client/assets/requirementDiagram-4Y6WPE33-DP0YrPiG.js +0 -84
  399. package/dist/client/assets/requirementDiagram-4Y6WPE33-DqqKjv9b.js +0 -84
  400. package/dist/client/assets/requirementDiagram-4Y6WPE33-Sc9Ib_Ju.js +0 -84
  401. package/dist/client/assets/sankeyDiagram-5OEKKPKP-CTglKOYH.js +0 -40
  402. package/dist/client/assets/sankeyDiagram-5OEKKPKP-Cdn5hR-T.js +0 -40
  403. package/dist/client/assets/sankeyDiagram-5OEKKPKP-CtjDOI1d.js +0 -40
  404. package/dist/client/assets/sankeyDiagram-5OEKKPKP-D1JvUXfm.js +0 -40
  405. package/dist/client/assets/sankeyDiagram-5OEKKPKP-DmlH_EuV.js +0 -40
  406. package/dist/client/assets/sequenceDiagram-3UESZ5HK-B1l_RYCD.js +0 -162
  407. package/dist/client/assets/sequenceDiagram-3UESZ5HK-BODENHDd.js +0 -162
  408. package/dist/client/assets/sequenceDiagram-3UESZ5HK-BfXBRbtn.js +0 -162
  409. package/dist/client/assets/sequenceDiagram-3UESZ5HK-ZsntJaDA.js +0 -162
  410. package/dist/client/assets/sequenceDiagram-3UESZ5HK-g0S6cpjA.js +0 -162
  411. package/dist/client/assets/stateDiagram-AJRCARHV-BH3emNVA.js +0 -1
  412. package/dist/client/assets/stateDiagram-AJRCARHV-Bfy4u1jj.js +0 -1
  413. package/dist/client/assets/stateDiagram-AJRCARHV-DTL_BeMw.js +0 -1
  414. package/dist/client/assets/stateDiagram-AJRCARHV-DuMfvw76.js +0 -1
  415. package/dist/client/assets/stateDiagram-AJRCARHV-bEyFJqkt.js +0 -1
  416. package/dist/client/assets/stateDiagram-v2-BHNVJYJU-BeBJn9Ia.js +0 -1
  417. package/dist/client/assets/stateDiagram-v2-BHNVJYJU-BySjtxL0.js +0 -1
  418. package/dist/client/assets/stateDiagram-v2-BHNVJYJU-CJJ1ZY2Q.js +0 -1
  419. package/dist/client/assets/stateDiagram-v2-BHNVJYJU-CewRZjoh.js +0 -1
  420. package/dist/client/assets/stateDiagram-v2-BHNVJYJU-Ctaegh5b.js +0 -1
  421. package/dist/client/assets/stateDiagram-v2-BHNVJYJU-Duq_b4Yy.js +0 -1
  422. package/dist/client/assets/timeline-definition-PNZ67QCA-BrvVyhY0.js +0 -120
  423. package/dist/client/assets/timeline-definition-PNZ67QCA-BtixI1WS.js +0 -120
  424. package/dist/client/assets/timeline-definition-PNZ67QCA-D9KAhtfV.js +0 -120
  425. package/dist/client/assets/timeline-definition-PNZ67QCA-XT2bwWOB.js +0 -120
  426. package/dist/client/assets/timeline-definition-PNZ67QCA-aOxVtn0E.js +0 -120
  427. package/dist/client/assets/treeView-BLDUP644-B0kTb_g3.js +0 -1
  428. package/dist/client/assets/treeView-BLDUP644-B6UCevyB.js +0 -1
  429. package/dist/client/assets/treeView-BLDUP644-ClAwlEqa.js +0 -1
  430. package/dist/client/assets/treeView-BLDUP644-SGGobL-X.js +0 -1
  431. package/dist/client/assets/treeView-BLDUP644-UtXcJa80.js +0 -1
  432. package/dist/client/assets/treeView-BLDUP644-X3LRngOg.js +0 -1
  433. package/dist/client/assets/treemap-LRROVOQU-BVDdbYmy.js +0 -1
  434. package/dist/client/assets/treemap-LRROVOQU-CSUALSge.js +0 -1
  435. package/dist/client/assets/treemap-LRROVOQU-D7lbGl6O.js +0 -1
  436. package/dist/client/assets/treemap-LRROVOQU-DDMghpbA.js +0 -1
  437. package/dist/client/assets/treemap-LRROVOQU-FsJUYG1s.js +0 -1
  438. package/dist/client/assets/treemap-LRROVOQU-Kcw-WZrd.js +0 -1
  439. package/dist/client/assets/vennDiagram-CIIHVFJN-ByGExN5N.js +0 -34
  440. package/dist/client/assets/vennDiagram-CIIHVFJN-CTqKsU3a.js +0 -34
  441. package/dist/client/assets/vennDiagram-CIIHVFJN-Dra5j7V2.js +0 -34
  442. package/dist/client/assets/vennDiagram-CIIHVFJN-JUG6MMjw.js +0 -34
  443. package/dist/client/assets/vennDiagram-CIIHVFJN-vqKQtTQi.js +0 -34
  444. package/dist/client/assets/wardley-L42UT6IY-BCqwgr28.js +0 -1
  445. package/dist/client/assets/wardley-L42UT6IY-BYdsv-7d.js +0 -1
  446. package/dist/client/assets/wardley-L42UT6IY-DJ-60DT_.js +0 -1
  447. package/dist/client/assets/wardley-L42UT6IY-DdTJfznk.js +0 -1
  448. package/dist/client/assets/wardley-L42UT6IY-DznNraZH.js +0 -1
  449. package/dist/client/assets/wardley-L42UT6IY-R3qTlKe5.js +0 -1
  450. package/dist/client/assets/wardleyDiagram-YWT4CUSO-BNMsJ5dX.js +0 -78
  451. package/dist/client/assets/wardleyDiagram-YWT4CUSO-CJbjncot.js +0 -78
  452. package/dist/client/assets/wardleyDiagram-YWT4CUSO-DGMk2w-Q.js +0 -78
  453. package/dist/client/assets/wardleyDiagram-YWT4CUSO-Xyf3f312.js +0 -78
  454. package/dist/client/assets/wardleyDiagram-YWT4CUSO-bCQqSS9Y.js +0 -78
  455. package/dist/client/assets/xychartDiagram-2RQKCTM6-BppcNHGA.js +0 -7
  456. package/dist/client/assets/xychartDiagram-2RQKCTM6-CGoX_9dB.js +0 -7
  457. package/dist/client/assets/xychartDiagram-2RQKCTM6-Cbjyvu2C.js +0 -7
  458. package/dist/client/assets/xychartDiagram-2RQKCTM6-DiHjc_ea.js +0 -7
  459. package/dist/client/assets/xychartDiagram-2RQKCTM6-Dit8uJrh.js +0 -7
@@ -1,96 +0,0 @@
1
- import{An as e,Bn as t,En as n,Fn as r,O as i,Qn as a,Xn as o,Yn as s,ir as c,k as l,kn as u,rr as d}from"./index-BhJ9ao0y.js";import{t as f}from"./chunk-55IACEB6-JZcTe9lc.js";import{t as p}from"./chunk-2J33WTMH-CElL4Bkg.js";var m=[];for(let e=0;e<256;++e)m.push((e+256).toString(16).slice(1));function h(e,t=0){return(m[e[t+0]]+m[e[t+1]]+m[e[t+2]]+m[e[t+3]]+`-`+m[e[t+4]]+m[e[t+5]]+`-`+m[e[t+6]]+m[e[t+7]]+`-`+m[e[t+8]]+m[e[t+9]]+`-`+m[e[t+10]]+m[e[t+11]]+m[e[t+12]]+m[e[t+13]]+m[e[t+14]]+m[e[t+15]]).toLowerCase()}var g=new Uint8Array(16);function _(){return crypto.getRandomValues(g)}function v(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():y(e,t,n)}function y(e,t,n){e||={};let r=e.random??e.rng?.()??_();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return h(r)}var b=(function(){var e=d(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,4],n=[1,13],r=[1,12],i=[1,15],a=[1,16],o=[1,20],s=[1,19],c=[6,7,8],l=[1,26],u=[1,24],f=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],h=[1,33],g=[1,34],_=[1,6,7,11,13,15,16,19,22],v={trace:d(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`MINDMAP`,11:`EOF`,13:`SPACELIST`,15:`ICON`,16:`CLASS`,19:`NODE_DSTART`,20:`NODE_DESCR`,21:`NODE_DEND`,22:`NODE_ID`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:d(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace(`SPACELIST`);break;case 19:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:t},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:t},{6:n,7:[1,10],9:9,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(c,[2,3]),{1:[2,2]},e(c,[2,4]),e(c,[2,5]),{1:[2,6],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:n,9:22,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:l,7:u,10:23,11:f},e(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:o,22:s}),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),e(p,[2,21]),e(p,[2,23]),e(p,[2,24]),e(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:l,7:u,10:32,11:f},{1:[2,7],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(m,[2,14],{7:h,11:g}),e(_,[2,8]),e(_,[2,9]),e(_,[2,10]),e(p,[2,15]),e(p,[2,16]),e(p,[2,17]),{20:[1,35]},{21:[1,36]},e(m,[2,13],{7:h,11:g}),e(_,[2,11]),e(_,[2,12]),{21:[1,37]},e(p,[2,25]),e(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:d(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:d(function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s=``,c=0,l=0,u=0,f=2,p=1,m=a.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;a.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,i.length-=e,a.length-=e}d(b,`popStack`);function x(){var e=r.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}d(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=o[w]&&o[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],o[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(c+1)+`:
2
- `+h.showPosition()+`
3
- Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(c+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:n.push(S),i.push(h.yytext),a.push(h.yylloc),n.push(T[1]),S=null,C?(S=C,C=null):(l=h.yyleng,s=h.yytext,c=h.yylineno,v=h.yylloc,u>0&&u--);break;case 2:if(k=this.productions_[T[1]][1],D.$=i[i.length-k],D._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},y&&(D._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),E=this.performAction.apply(D,[s,l,c,g.yy,T[1],i,a].concat(m)),E!==void 0)return E;k&&(n=n.slice(0,-1*k*2),i=i.slice(0,-1*k),a=a.slice(0,-1*k)),n.push(this.productions_[T[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0},`parse`)};v.lexer=(function(){return{EOF:1,parseError:d(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:d(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:d(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:d(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:d(function(){return this._more=!0,this},`more`),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:d(function(e){this.unput(this.match.slice(e))},`less`),pastInput:d(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:d(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:d(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
5
- `+t+`^`},`showPosition`),test_match:d(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:d(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:d(function(){return this.next()||this.lex()},`lex`),begin:d(function(e){this.conditionStack.push(e)},`begin`),popState:d(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:d(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:d(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:d(function(e){this.begin(e)},`pushState`),stateStackSize:d(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:d(function(e,t,n,r){switch(n){case 0:return e.getLogger().trace(`Found comment`,t.yytext),6;case 1:return 8;case 2:this.begin(`CLASS`);break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:e.getLogger().trace(`Begin icon`),this.begin(`ICON`);break;case 6:return e.getLogger().trace(`SPACELINE`),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace(`end icon`),this.popState();break;case 10:return e.getLogger().trace(`Exploding node`),this.begin(`NODE`),19;case 11:return e.getLogger().trace(`Cloud`),this.begin(`NODE`),19;case 12:return e.getLogger().trace(`Explosion Bang`),this.begin(`NODE`),19;case 13:return e.getLogger().trace(`Cloud Bang`),this.begin(`NODE`),19;case 14:return this.begin(`NODE`),19;case 15:return this.begin(`NODE`),19;case 16:return this.begin(`NODE`),19;case 17:return this.begin(`NODE`),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin(`NSTR2`);break;case 22:return`NODE_DESCR`;case 23:this.popState();break;case 24:e.getLogger().trace(`Starting NSTR`),this.begin(`NSTR`);break;case 25:return e.getLogger().trace(`description:`,t.yytext),`NODE_DESCR`;case 26:this.popState();break;case 27:return this.popState(),e.getLogger().trace(`node end ))`),`NODE_DEND`;case 28:return this.popState(),e.getLogger().trace(`node end )`),`NODE_DEND`;case 29:return this.popState(),e.getLogger().trace(`node end ...`,t.yytext),`NODE_DEND`;case 30:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 31:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 32:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 33:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 34:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 35:return e.getLogger().trace(`Long description:`,t.yytext),20;case 36:return e.getLogger().trace(`Long description:`,t.yytext),20}},`anonymous`),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}}})();function y(){this.yy={}}return d(y,`Parser`),y.prototype=v,v.Parser=y,new y})();b.parser=b;var x=b,S=12,C={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},w=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=C,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{d(this,`MindmapDB`)}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let t=this.nodes.length-1;t>=0;t--)if(this.nodes[t].level<e)return this.nodes[t];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(r,i,a,o){c.info(`addNode`,r,i,a,o);let s=!1;this.nodes.length===0?(this.baseLevel=r,r=0,s=!0):this.baseLevel!==void 0&&(r-=this.baseLevel,s=!1);let l=e(),u=l.mindmap?.padding??n.mindmap.padding;switch(o){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:u*=2;break}let d={id:this.count++,nodeId:t(i,l),level:r,descr:t(a,l),type:o,children:[],width:l.mindmap?.maxNodeWidth??n.mindmap.maxNodeWidth,padding:u,isRoot:s},f=this.getParent(r);if(f)f.children.push(d),this.nodes.push(d);else if(s)this.nodes.push(d);else throw Error(`There can be only one root. No parent could be found for ("${d.descr}")`)}getType(e,t){switch(c.debug(`In get type`,e,t),e){case`[`:return this.nodeType.RECT;case`(`:return t===`)`?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case`((`:return this.nodeType.CIRCLE;case`)`:return this.nodeType.CLOUD;case`))`:return this.nodeType.BANG;case`{{`:return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,t){this.elements[e]=t}getElementById(e){return this.elements[e]}decorateNode(n){if(!n)return;let r=e(),i=this.nodes[this.nodes.length-1];n.icon&&(i.icon=t(n.icon,r)),n.class&&(i.class=t(n.class,r))}type2Str(e){switch(e){case this.nodeType.DEFAULT:return`no-border`;case this.nodeType.RECT:return`rect`;case this.nodeType.ROUNDED_RECT:return`rounded-rect`;case this.nodeType.CIRCLE:return`circle`;case this.nodeType.CLOUD:return`cloud`;case this.nodeType.BANG:return`bang`;case this.nodeType.HEXAGON:return`hexgon`;default:return`no-border`}}assignSections(e,t){if(e.level===0?e.section=void 0:e.section=t,e.children)for(let[n,r]of e.children.entries()){let i=e.level===0?n%(S-1):t;this.assignSections(r,i)}}flattenNodes(t,n){let r=e(),i=[`mindmap-node`];t.isRoot===!0?i.push(`section-root`,`section--1`):t.section!==void 0&&i.push(`section-${t.section}`),t.class&&i.push(t.class);let a=i.join(` `),o=d(e=>{let t=(r.theme?.toLowerCase()??``).includes(`redux`);switch(e){case C.CIRCLE:return`mindmapCircle`;case C.RECT:return`rect`;case C.ROUNDED_RECT:return`rounded`;case C.CLOUD:return`cloud`;case C.BANG:return`bang`;case C.HEXAGON:return`hexagon`;case C.DEFAULT:return t?`rounded`:`defaultMindmapNode`;case C.NO_BORDER:default:return`rect`}},`getShapeFromType`),s={id:t.id.toString(),domId:`node_`+t.id.toString(),label:t.descr,labelType:`markdown`,isGroup:!1,shape:o(t.type),width:t.width,height:t.height??0,padding:t.padding,cssClasses:a,cssStyles:[],look:r.look,icon:t.icon,x:t.x,y:t.y,level:t.level,nodeId:t.nodeId,type:t.type,section:t.section};if(n.push(s),t.children)for(let e of t.children)this.flattenNodes(e,n)}generateEdges(t,n){if(!t.children)return;let r=e();for(let e of t.children){let i=`edge`;e.section!==void 0&&(i+=` section-edge-${e.section}`);let a=t.level+1;i+=` edge-depth-${a}`;let o={id:`edge_${t.id}_${e.id}`,start:t.id.toString(),end:e.id.toString(),type:`normal`,curve:`basis`,thickness:`normal`,look:r.look,classes:i,depth:t.level,section:e.section};n.push(o),this.generateEdges(e,n)}}getData(){let t=this.getMindmap(),n=e(),i=r().layout!==void 0,a=n;if(i||(a.layout=`cose-bilkent`),!t)return{nodes:[],edges:[],config:a};c.debug(`getData: mindmapRoot`,t,n),this.assignSections(t);let o=[],s=[];this.flattenNodes(t,o),this.generateEdges(t,s),c.debug(`getData: processed ${o.length} nodes and ${s.length} edges`);let l=new Map;for(let e of o)l.set(e.id,{shape:e.shape,width:e.width,height:e.height,padding:e.padding});return{nodes:o,edges:s,config:a,rootNode:t,markers:[`point`],direction:`TB`,nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(l),type:`mindmap`,diagramId:`mindmap-`+v()}}getLogger(){return c}},T={draw:d(async(e,t,r,a)=>{c.debug(`Rendering mindmap diagram
7
- `+e);let o=a.db,s=o.getData(),d=f(t,s.config.securityLevel);if(s.type=a.type,s.layoutAlgorithm=i(s.config.layout,{fallback:`cose-bilkent`}),s.diagramId=t,!o.getMindmap())return;s.nodes.forEach(e=>{e.shape===`rounded`?(e.radius=15,e.taper=15,e.stroke=`none`,e.width=0,e.padding=15):e.shape===`circle`?e.padding=10:e.shape===`rect`?(e.width=0,e.padding=10):e.shape===`hexagon`&&(e.width=0,e.height=0)}),await l(s,d);let{themeVariables:m}=u(),{useGradient:h,gradientStart:g,gradientStop:_}=m;if(h&&g&&_){let e=d.attr(`id`),t=d.append(`defs`).append(`linearGradient`).attr(`id`,`${e}-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);t.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,g).attr(`stop-opacity`,1),t.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,_).attr(`stop-opacity`,1)}p(d,s.config.mindmap?.padding??n.mindmap.padding,`mindmapDiagram`,s.config.mindmap?.useMaxWidth??n.mindmap.useMaxWidth)},`draw`)},E=d(e=>{let{theme:t,look:n}=e,r=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e[`lineColor`+t]=e[`lineColor`+t]||e[`cScaleInv`+t],a(e[`lineColor`+t])?e[`lineColor`+t]=o(e[`lineColor`+t],20):e[`lineColor`+t]=s(e[`lineColor`+t],20);for(let i=0;i<e.THEME_COLOR_LIMIT;i++){let a=``+(n===`neo`?Math.max(10-(i-1)*2,2):17-3*i);r+=`
8
- .section-${i-1} rect, .section-${i-1} path, .section-${i-1} circle, .section-${i-1} polygon, .section-${i-1} path {
9
- fill: ${e[`cScale`+i]};
10
- }
11
- .section-${i-1} text {
12
- fill: ${e[`cScaleLabel`+i]};
13
- }
14
- .section-${i-1} span {
15
- color: ${e[`cScaleLabel`+i]};
16
- }
17
- .node-icon-${i-1} {
18
- font-size: 40px;
19
- color: ${e[`cScaleLabel`+i]};
20
- }
21
- .section-edge-${i-1}{
22
- stroke: ${e[`cScale`+i]};
23
- }
24
- .edge-depth-${i-1}{
25
- stroke-width: ${a};
26
- }
27
- .section-${i-1} line {
28
- stroke: ${e[`cScaleInv`+i]} ;
29
- stroke-width: 3;
30
- }
31
-
32
- .disabled, .disabled circle, .disabled text {
33
- fill: lightgray;
34
- }
35
- .disabled text {
36
- fill: #efefef;
37
- }
38
- [data-look="neo"].mindmap-node.section-${i-1} rect, [data-look="neo"].mindmap-node.section-${i-1} path, [data-look="neo"].mindmap-node.section-${i-1} circle, [data-look="neo"].mindmap-node.section-${i-1} polygon {
39
- fill: ${t===`redux`||t===`redux-dark`||t===`neutral`?e.mainBkg:e[`cScale`+i]};
40
- stroke: ${t===`redux`||t===`redux-dark`?e.nodeBorder:e[`cScale`+i]};
41
- stroke-width: ${e.strokeWidth??2}px;
42
- }
43
- [data-look="neo"].section-edge-${i-1}{
44
- stroke: ${t?.includes(`redux`)||t===`neo-dark`?e.nodeBorder:e[`cScale`+i]};
45
- }
46
- [data-look="neo"].mindmap-node.section-${i-1} text {
47
- fill: ${t===`redux`||t===`redux-dark`?e.nodeBorder:e[`cScaleLabel`+(t===`neutral`?1:i)]};
48
- }
49
- `}return r},`genSections`),D=d((e,t,n)=>{let r=``;for(let i=0;i<e;i++)r+=`
50
- [data-look="neo"].mindmap-node.section-${i-1} rect, [data-look="neo"].mindmap-node.section-${i-1} path, [data-look="neo"].mindmap-node.section-${i-1} circle, [data-look="neo"].mindmap-node.section-${i-1} polygon {
51
- stroke: url(${t}-gradient);
52
- fill: ${n};
53
- }
54
- .section-${i-1} line {
55
- stroke-width: 0;
56
- }`;return r},`genGradient`),O={get db(){return new w},renderer:T,parser:x,styles:d(e=>{let{theme:t}=e,n=e.svgId,r=e.dropShadow?e.dropShadow.replace(`url(#drop-shadow)`,`url(${n}-drop-shadow)`):`none`;return`
57
- .edge {
58
- stroke-width: 3;
59
- }
60
- ${E(e)}
61
- .section-root rect, .section-root path, .section-root circle, .section-root polygon {
62
- fill: ${e.git0};
63
- }
64
- .section-root text {
65
- fill: ${e.gitBranchLabel0};
66
- }
67
- .section-root span {
68
- color: ${t?.includes(`redux`)?e.nodeBorder:e.gitBranchLabel0};
69
- }
70
- .icon-container {
71
- height:100%;
72
- display: flex;
73
- justify-content: center;
74
- align-items: center;
75
- }
76
- .edge {
77
- fill: none;
78
- }
79
- .mindmap-node-label {
80
- dy: 1em;
81
- alignment-baseline: middle;
82
- text-anchor: middle;
83
- dominant-baseline: middle;
84
- text-align: center;
85
- }
86
- [data-look="neo"].mindmap-node {
87
- filter: ${r};
88
- }
89
- [data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
90
- fill: ${t?.includes(`redux`)?e.mainBkg:e.git0};
91
- }
92
- [data-look="neo"].mindmap-node.section-root .text-inner-tspan {
93
- fill: ${t?.includes(`redux`)?e.nodeBorder:e[`cScaleLabel`+ +(t===`neutral`)]};
94
- }
95
- ${e.useGradient&&n&&e.mainBkg?D(e.THEME_COLOR_LIMIT,n,e.mainBkg):``}
96
- `},`getStyles`)};export{O as diagram};
@@ -1,96 +0,0 @@
1
- import{An as e,Bn as t,En as n,Fn as r,O as i,Qn as a,Xn as o,Yn as s,ir as c,k as l,kn as u,rr as d}from"./index-8YKIjcJe.js";import{t as f}from"./chunk-55IACEB6-CQ_t4_xx.js";import{t as p}from"./chunk-2J33WTMH-CbW3CBuf.js";var m=[];for(let e=0;e<256;++e)m.push((e+256).toString(16).slice(1));function h(e,t=0){return(m[e[t+0]]+m[e[t+1]]+m[e[t+2]]+m[e[t+3]]+`-`+m[e[t+4]]+m[e[t+5]]+`-`+m[e[t+6]]+m[e[t+7]]+`-`+m[e[t+8]]+m[e[t+9]]+`-`+m[e[t+10]]+m[e[t+11]]+m[e[t+12]]+m[e[t+13]]+m[e[t+14]]+m[e[t+15]]).toLowerCase()}var g=new Uint8Array(16);function _(){return crypto.getRandomValues(g)}function v(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():y(e,t,n)}function y(e,t,n){e||={};let r=e.random??e.rng?.()??_();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return h(r)}var b=(function(){var e=d(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,4],n=[1,13],r=[1,12],i=[1,15],a=[1,16],o=[1,20],s=[1,19],c=[6,7,8],l=[1,26],u=[1,24],f=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],h=[1,33],g=[1,34],_=[1,6,7,11,13,15,16,19,22],v={trace:d(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`MINDMAP`,11:`EOF`,13:`SPACELIST`,15:`ICON`,16:`CLASS`,19:`NODE_DSTART`,20:`NODE_DESCR`,21:`NODE_DEND`,22:`NODE_ID`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:d(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace(`SPACELIST`);break;case 19:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:t},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:t},{6:n,7:[1,10],9:9,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(c,[2,3]),{1:[2,2]},e(c,[2,4]),e(c,[2,5]),{1:[2,6],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:n,9:22,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:l,7:u,10:23,11:f},e(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:o,22:s}),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),e(p,[2,21]),e(p,[2,23]),e(p,[2,24]),e(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:l,7:u,10:32,11:f},{1:[2,7],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(m,[2,14],{7:h,11:g}),e(_,[2,8]),e(_,[2,9]),e(_,[2,10]),e(p,[2,15]),e(p,[2,16]),e(p,[2,17]),{20:[1,35]},{21:[1,36]},e(m,[2,13],{7:h,11:g}),e(_,[2,11]),e(_,[2,12]),{21:[1,37]},e(p,[2,25]),e(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:d(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:d(function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s=``,c=0,l=0,u=0,f=2,p=1,m=a.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;a.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,i.length-=e,a.length-=e}d(b,`popStack`);function x(){var e=r.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}d(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=o[w]&&o[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],o[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(c+1)+`:
2
- `+h.showPosition()+`
3
- Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(c+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:n.push(S),i.push(h.yytext),a.push(h.yylloc),n.push(T[1]),S=null,C?(S=C,C=null):(l=h.yyleng,s=h.yytext,c=h.yylineno,v=h.yylloc,u>0&&u--);break;case 2:if(k=this.productions_[T[1]][1],D.$=i[i.length-k],D._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},y&&(D._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),E=this.performAction.apply(D,[s,l,c,g.yy,T[1],i,a].concat(m)),E!==void 0)return E;k&&(n=n.slice(0,-1*k*2),i=i.slice(0,-1*k),a=a.slice(0,-1*k)),n.push(this.productions_[T[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0},`parse`)};v.lexer=(function(){return{EOF:1,parseError:d(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:d(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:d(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:d(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:d(function(){return this._more=!0,this},`more`),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:d(function(e){this.unput(this.match.slice(e))},`less`),pastInput:d(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:d(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:d(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
5
- `+t+`^`},`showPosition`),test_match:d(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:d(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:d(function(){return this.next()||this.lex()},`lex`),begin:d(function(e){this.conditionStack.push(e)},`begin`),popState:d(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:d(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:d(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:d(function(e){this.begin(e)},`pushState`),stateStackSize:d(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:d(function(e,t,n,r){switch(n){case 0:return e.getLogger().trace(`Found comment`,t.yytext),6;case 1:return 8;case 2:this.begin(`CLASS`);break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:e.getLogger().trace(`Begin icon`),this.begin(`ICON`);break;case 6:return e.getLogger().trace(`SPACELINE`),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace(`end icon`),this.popState();break;case 10:return e.getLogger().trace(`Exploding node`),this.begin(`NODE`),19;case 11:return e.getLogger().trace(`Cloud`),this.begin(`NODE`),19;case 12:return e.getLogger().trace(`Explosion Bang`),this.begin(`NODE`),19;case 13:return e.getLogger().trace(`Cloud Bang`),this.begin(`NODE`),19;case 14:return this.begin(`NODE`),19;case 15:return this.begin(`NODE`),19;case 16:return this.begin(`NODE`),19;case 17:return this.begin(`NODE`),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin(`NSTR2`);break;case 22:return`NODE_DESCR`;case 23:this.popState();break;case 24:e.getLogger().trace(`Starting NSTR`),this.begin(`NSTR`);break;case 25:return e.getLogger().trace(`description:`,t.yytext),`NODE_DESCR`;case 26:this.popState();break;case 27:return this.popState(),e.getLogger().trace(`node end ))`),`NODE_DEND`;case 28:return this.popState(),e.getLogger().trace(`node end )`),`NODE_DEND`;case 29:return this.popState(),e.getLogger().trace(`node end ...`,t.yytext),`NODE_DEND`;case 30:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 31:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 32:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 33:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 34:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 35:return e.getLogger().trace(`Long description:`,t.yytext),20;case 36:return e.getLogger().trace(`Long description:`,t.yytext),20}},`anonymous`),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}}})();function y(){this.yy={}}return d(y,`Parser`),y.prototype=v,v.Parser=y,new y})();b.parser=b;var x=b,S=12,C={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},w=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=C,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{d(this,`MindmapDB`)}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let t=this.nodes.length-1;t>=0;t--)if(this.nodes[t].level<e)return this.nodes[t];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(r,i,a,o){c.info(`addNode`,r,i,a,o);let s=!1;this.nodes.length===0?(this.baseLevel=r,r=0,s=!0):this.baseLevel!==void 0&&(r-=this.baseLevel,s=!1);let l=e(),u=l.mindmap?.padding??n.mindmap.padding;switch(o){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:u*=2;break}let d={id:this.count++,nodeId:t(i,l),level:r,descr:t(a,l),type:o,children:[],width:l.mindmap?.maxNodeWidth??n.mindmap.maxNodeWidth,padding:u,isRoot:s},f=this.getParent(r);if(f)f.children.push(d),this.nodes.push(d);else if(s)this.nodes.push(d);else throw Error(`There can be only one root. No parent could be found for ("${d.descr}")`)}getType(e,t){switch(c.debug(`In get type`,e,t),e){case`[`:return this.nodeType.RECT;case`(`:return t===`)`?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case`((`:return this.nodeType.CIRCLE;case`)`:return this.nodeType.CLOUD;case`))`:return this.nodeType.BANG;case`{{`:return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,t){this.elements[e]=t}getElementById(e){return this.elements[e]}decorateNode(n){if(!n)return;let r=e(),i=this.nodes[this.nodes.length-1];n.icon&&(i.icon=t(n.icon,r)),n.class&&(i.class=t(n.class,r))}type2Str(e){switch(e){case this.nodeType.DEFAULT:return`no-border`;case this.nodeType.RECT:return`rect`;case this.nodeType.ROUNDED_RECT:return`rounded-rect`;case this.nodeType.CIRCLE:return`circle`;case this.nodeType.CLOUD:return`cloud`;case this.nodeType.BANG:return`bang`;case this.nodeType.HEXAGON:return`hexgon`;default:return`no-border`}}assignSections(e,t){if(e.level===0?e.section=void 0:e.section=t,e.children)for(let[n,r]of e.children.entries()){let i=e.level===0?n%(S-1):t;this.assignSections(r,i)}}flattenNodes(t,n){let r=e(),i=[`mindmap-node`];t.isRoot===!0?i.push(`section-root`,`section--1`):t.section!==void 0&&i.push(`section-${t.section}`),t.class&&i.push(t.class);let a=i.join(` `),o=d(e=>{let t=(r.theme?.toLowerCase()??``).includes(`redux`);switch(e){case C.CIRCLE:return`mindmapCircle`;case C.RECT:return`rect`;case C.ROUNDED_RECT:return`rounded`;case C.CLOUD:return`cloud`;case C.BANG:return`bang`;case C.HEXAGON:return`hexagon`;case C.DEFAULT:return t?`rounded`:`defaultMindmapNode`;case C.NO_BORDER:default:return`rect`}},`getShapeFromType`),s={id:t.id.toString(),domId:`node_`+t.id.toString(),label:t.descr,labelType:`markdown`,isGroup:!1,shape:o(t.type),width:t.width,height:t.height??0,padding:t.padding,cssClasses:a,cssStyles:[],look:r.look,icon:t.icon,x:t.x,y:t.y,level:t.level,nodeId:t.nodeId,type:t.type,section:t.section};if(n.push(s),t.children)for(let e of t.children)this.flattenNodes(e,n)}generateEdges(t,n){if(!t.children)return;let r=e();for(let e of t.children){let i=`edge`;e.section!==void 0&&(i+=` section-edge-${e.section}`);let a=t.level+1;i+=` edge-depth-${a}`;let o={id:`edge_${t.id}_${e.id}`,start:t.id.toString(),end:e.id.toString(),type:`normal`,curve:`basis`,thickness:`normal`,look:r.look,classes:i,depth:t.level,section:e.section};n.push(o),this.generateEdges(e,n)}}getData(){let t=this.getMindmap(),n=e(),i=r().layout!==void 0,a=n;if(i||(a.layout=`cose-bilkent`),!t)return{nodes:[],edges:[],config:a};c.debug(`getData: mindmapRoot`,t,n),this.assignSections(t);let o=[],s=[];this.flattenNodes(t,o),this.generateEdges(t,s),c.debug(`getData: processed ${o.length} nodes and ${s.length} edges`);let l=new Map;for(let e of o)l.set(e.id,{shape:e.shape,width:e.width,height:e.height,padding:e.padding});return{nodes:o,edges:s,config:a,rootNode:t,markers:[`point`],direction:`TB`,nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(l),type:`mindmap`,diagramId:`mindmap-`+v()}}getLogger(){return c}},T={draw:d(async(e,t,r,a)=>{c.debug(`Rendering mindmap diagram
7
- `+e);let o=a.db,s=o.getData(),d=f(t,s.config.securityLevel);if(s.type=a.type,s.layoutAlgorithm=i(s.config.layout,{fallback:`cose-bilkent`}),s.diagramId=t,!o.getMindmap())return;s.nodes.forEach(e=>{e.shape===`rounded`?(e.radius=15,e.taper=15,e.stroke=`none`,e.width=0,e.padding=15):e.shape===`circle`?e.padding=10:e.shape===`rect`?(e.width=0,e.padding=10):e.shape===`hexagon`&&(e.width=0,e.height=0)}),await l(s,d);let{themeVariables:m}=u(),{useGradient:h,gradientStart:g,gradientStop:_}=m;if(h&&g&&_){let e=d.attr(`id`),t=d.append(`defs`).append(`linearGradient`).attr(`id`,`${e}-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);t.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,g).attr(`stop-opacity`,1),t.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,_).attr(`stop-opacity`,1)}p(d,s.config.mindmap?.padding??n.mindmap.padding,`mindmapDiagram`,s.config.mindmap?.useMaxWidth??n.mindmap.useMaxWidth)},`draw`)},E=d(e=>{let{theme:t,look:n}=e,r=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e[`lineColor`+t]=e[`lineColor`+t]||e[`cScaleInv`+t],a(e[`lineColor`+t])?e[`lineColor`+t]=o(e[`lineColor`+t],20):e[`lineColor`+t]=s(e[`lineColor`+t],20);for(let i=0;i<e.THEME_COLOR_LIMIT;i++){let a=``+(n===`neo`?Math.max(10-(i-1)*2,2):17-3*i);r+=`
8
- .section-${i-1} rect, .section-${i-1} path, .section-${i-1} circle, .section-${i-1} polygon, .section-${i-1} path {
9
- fill: ${e[`cScale`+i]};
10
- }
11
- .section-${i-1} text {
12
- fill: ${e[`cScaleLabel`+i]};
13
- }
14
- .section-${i-1} span {
15
- color: ${e[`cScaleLabel`+i]};
16
- }
17
- .node-icon-${i-1} {
18
- font-size: 40px;
19
- color: ${e[`cScaleLabel`+i]};
20
- }
21
- .section-edge-${i-1}{
22
- stroke: ${e[`cScale`+i]};
23
- }
24
- .edge-depth-${i-1}{
25
- stroke-width: ${a};
26
- }
27
- .section-${i-1} line {
28
- stroke: ${e[`cScaleInv`+i]} ;
29
- stroke-width: 3;
30
- }
31
-
32
- .disabled, .disabled circle, .disabled text {
33
- fill: lightgray;
34
- }
35
- .disabled text {
36
- fill: #efefef;
37
- }
38
- [data-look="neo"].mindmap-node.section-${i-1} rect, [data-look="neo"].mindmap-node.section-${i-1} path, [data-look="neo"].mindmap-node.section-${i-1} circle, [data-look="neo"].mindmap-node.section-${i-1} polygon {
39
- fill: ${t===`redux`||t===`redux-dark`||t===`neutral`?e.mainBkg:e[`cScale`+i]};
40
- stroke: ${t===`redux`||t===`redux-dark`?e.nodeBorder:e[`cScale`+i]};
41
- stroke-width: ${e.strokeWidth??2}px;
42
- }
43
- [data-look="neo"].section-edge-${i-1}{
44
- stroke: ${t?.includes(`redux`)||t===`neo-dark`?e.nodeBorder:e[`cScale`+i]};
45
- }
46
- [data-look="neo"].mindmap-node.section-${i-1} text {
47
- fill: ${t===`redux`||t===`redux-dark`?e.nodeBorder:e[`cScaleLabel`+(t===`neutral`?1:i)]};
48
- }
49
- `}return r},`genSections`),D=d((e,t,n)=>{let r=``;for(let i=0;i<e;i++)r+=`
50
- [data-look="neo"].mindmap-node.section-${i-1} rect, [data-look="neo"].mindmap-node.section-${i-1} path, [data-look="neo"].mindmap-node.section-${i-1} circle, [data-look="neo"].mindmap-node.section-${i-1} polygon {
51
- stroke: url(${t}-gradient);
52
- fill: ${n};
53
- }
54
- .section-${i-1} line {
55
- stroke-width: 0;
56
- }`;return r},`genGradient`),O={get db(){return new w},renderer:T,parser:x,styles:d(e=>{let{theme:t}=e,n=e.svgId,r=e.dropShadow?e.dropShadow.replace(`url(#drop-shadow)`,`url(${n}-drop-shadow)`):`none`;return`
57
- .edge {
58
- stroke-width: 3;
59
- }
60
- ${E(e)}
61
- .section-root rect, .section-root path, .section-root circle, .section-root polygon {
62
- fill: ${e.git0};
63
- }
64
- .section-root text {
65
- fill: ${e.gitBranchLabel0};
66
- }
67
- .section-root span {
68
- color: ${t?.includes(`redux`)?e.nodeBorder:e.gitBranchLabel0};
69
- }
70
- .icon-container {
71
- height:100%;
72
- display: flex;
73
- justify-content: center;
74
- align-items: center;
75
- }
76
- .edge {
77
- fill: none;
78
- }
79
- .mindmap-node-label {
80
- dy: 1em;
81
- alignment-baseline: middle;
82
- text-anchor: middle;
83
- dominant-baseline: middle;
84
- text-align: center;
85
- }
86
- [data-look="neo"].mindmap-node {
87
- filter: ${r};
88
- }
89
- [data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
90
- fill: ${t?.includes(`redux`)?e.mainBkg:e.git0};
91
- }
92
- [data-look="neo"].mindmap-node.section-root .text-inner-tspan {
93
- fill: ${t?.includes(`redux`)?e.nodeBorder:e[`cScaleLabel`+ +(t===`neutral`)]};
94
- }
95
- ${e.useGradient&&n&&e.mainBkg?D(e.THEME_COLOR_LIMIT,n,e.mainBkg):``}
96
- `},`getStyles`)};export{O as diagram};
@@ -1,96 +0,0 @@
1
- import{An as e,Bn as t,En as n,Fn as r,O as i,Qn as a,Xn as o,Yn as s,ir as c,k as l,kn as u,rr as d}from"./index-BewIyJmj.js";import{t as f}from"./chunk-55IACEB6-BV23knRO.js";import{t as p}from"./chunk-2J33WTMH-zDzeRZN5.js";var m=[];for(let e=0;e<256;++e)m.push((e+256).toString(16).slice(1));function h(e,t=0){return(m[e[t+0]]+m[e[t+1]]+m[e[t+2]]+m[e[t+3]]+`-`+m[e[t+4]]+m[e[t+5]]+`-`+m[e[t+6]]+m[e[t+7]]+`-`+m[e[t+8]]+m[e[t+9]]+`-`+m[e[t+10]]+m[e[t+11]]+m[e[t+12]]+m[e[t+13]]+m[e[t+14]]+m[e[t+15]]).toLowerCase()}var g=new Uint8Array(16);function _(){return crypto.getRandomValues(g)}function v(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():y(e,t,n)}function y(e,t,n){e||={};let r=e.random??e.rng?.()??_();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return h(r)}var b=(function(){var e=d(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,4],n=[1,13],r=[1,12],i=[1,15],a=[1,16],o=[1,20],s=[1,19],c=[6,7,8],l=[1,26],u=[1,24],f=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],h=[1,33],g=[1,34],_=[1,6,7,11,13,15,16,19,22],v={trace:d(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`MINDMAP`,11:`EOF`,13:`SPACELIST`,15:`ICON`,16:`CLASS`,19:`NODE_DSTART`,20:`NODE_DESCR`,21:`NODE_DEND`,22:`NODE_ID`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:d(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace(`SPACELIST`);break;case 19:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:t},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:t},{6:n,7:[1,10],9:9,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(c,[2,3]),{1:[2,2]},e(c,[2,4]),e(c,[2,5]),{1:[2,6],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:n,9:22,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:l,7:u,10:23,11:f},e(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:o,22:s}),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),e(p,[2,21]),e(p,[2,23]),e(p,[2,24]),e(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:l,7:u,10:32,11:f},{1:[2,7],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(m,[2,14],{7:h,11:g}),e(_,[2,8]),e(_,[2,9]),e(_,[2,10]),e(p,[2,15]),e(p,[2,16]),e(p,[2,17]),{20:[1,35]},{21:[1,36]},e(m,[2,13],{7:h,11:g}),e(_,[2,11]),e(_,[2,12]),{21:[1,37]},e(p,[2,25]),e(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:d(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:d(function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s=``,c=0,l=0,u=0,f=2,p=1,m=a.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;a.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,i.length-=e,a.length-=e}d(b,`popStack`);function x(){var e=r.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}d(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=o[w]&&o[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],o[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(c+1)+`:
2
- `+h.showPosition()+`
3
- Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(c+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:n.push(S),i.push(h.yytext),a.push(h.yylloc),n.push(T[1]),S=null,C?(S=C,C=null):(l=h.yyleng,s=h.yytext,c=h.yylineno,v=h.yylloc,u>0&&u--);break;case 2:if(k=this.productions_[T[1]][1],D.$=i[i.length-k],D._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},y&&(D._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),E=this.performAction.apply(D,[s,l,c,g.yy,T[1],i,a].concat(m)),E!==void 0)return E;k&&(n=n.slice(0,-1*k*2),i=i.slice(0,-1*k),a=a.slice(0,-1*k)),n.push(this.productions_[T[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0},`parse`)};v.lexer=(function(){return{EOF:1,parseError:d(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:d(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:d(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:d(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:d(function(){return this._more=!0,this},`more`),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:d(function(e){this.unput(this.match.slice(e))},`less`),pastInput:d(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:d(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:d(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
5
- `+t+`^`},`showPosition`),test_match:d(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:d(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:d(function(){return this.next()||this.lex()},`lex`),begin:d(function(e){this.conditionStack.push(e)},`begin`),popState:d(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:d(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:d(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:d(function(e){this.begin(e)},`pushState`),stateStackSize:d(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:d(function(e,t,n,r){switch(n){case 0:return e.getLogger().trace(`Found comment`,t.yytext),6;case 1:return 8;case 2:this.begin(`CLASS`);break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:e.getLogger().trace(`Begin icon`),this.begin(`ICON`);break;case 6:return e.getLogger().trace(`SPACELINE`),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace(`end icon`),this.popState();break;case 10:return e.getLogger().trace(`Exploding node`),this.begin(`NODE`),19;case 11:return e.getLogger().trace(`Cloud`),this.begin(`NODE`),19;case 12:return e.getLogger().trace(`Explosion Bang`),this.begin(`NODE`),19;case 13:return e.getLogger().trace(`Cloud Bang`),this.begin(`NODE`),19;case 14:return this.begin(`NODE`),19;case 15:return this.begin(`NODE`),19;case 16:return this.begin(`NODE`),19;case 17:return this.begin(`NODE`),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin(`NSTR2`);break;case 22:return`NODE_DESCR`;case 23:this.popState();break;case 24:e.getLogger().trace(`Starting NSTR`),this.begin(`NSTR`);break;case 25:return e.getLogger().trace(`description:`,t.yytext),`NODE_DESCR`;case 26:this.popState();break;case 27:return this.popState(),e.getLogger().trace(`node end ))`),`NODE_DEND`;case 28:return this.popState(),e.getLogger().trace(`node end )`),`NODE_DEND`;case 29:return this.popState(),e.getLogger().trace(`node end ...`,t.yytext),`NODE_DEND`;case 30:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 31:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 32:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 33:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 34:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 35:return e.getLogger().trace(`Long description:`,t.yytext),20;case 36:return e.getLogger().trace(`Long description:`,t.yytext),20}},`anonymous`),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}}})();function y(){this.yy={}}return d(y,`Parser`),y.prototype=v,v.Parser=y,new y})();b.parser=b;var x=b,S=12,C={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},w=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=C,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{d(this,`MindmapDB`)}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let t=this.nodes.length-1;t>=0;t--)if(this.nodes[t].level<e)return this.nodes[t];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(r,i,a,o){c.info(`addNode`,r,i,a,o);let s=!1;this.nodes.length===0?(this.baseLevel=r,r=0,s=!0):this.baseLevel!==void 0&&(r-=this.baseLevel,s=!1);let l=e(),u=l.mindmap?.padding??n.mindmap.padding;switch(o){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:u*=2;break}let d={id:this.count++,nodeId:t(i,l),level:r,descr:t(a,l),type:o,children:[],width:l.mindmap?.maxNodeWidth??n.mindmap.maxNodeWidth,padding:u,isRoot:s},f=this.getParent(r);if(f)f.children.push(d),this.nodes.push(d);else if(s)this.nodes.push(d);else throw Error(`There can be only one root. No parent could be found for ("${d.descr}")`)}getType(e,t){switch(c.debug(`In get type`,e,t),e){case`[`:return this.nodeType.RECT;case`(`:return t===`)`?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case`((`:return this.nodeType.CIRCLE;case`)`:return this.nodeType.CLOUD;case`))`:return this.nodeType.BANG;case`{{`:return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,t){this.elements[e]=t}getElementById(e){return this.elements[e]}decorateNode(n){if(!n)return;let r=e(),i=this.nodes[this.nodes.length-1];n.icon&&(i.icon=t(n.icon,r)),n.class&&(i.class=t(n.class,r))}type2Str(e){switch(e){case this.nodeType.DEFAULT:return`no-border`;case this.nodeType.RECT:return`rect`;case this.nodeType.ROUNDED_RECT:return`rounded-rect`;case this.nodeType.CIRCLE:return`circle`;case this.nodeType.CLOUD:return`cloud`;case this.nodeType.BANG:return`bang`;case this.nodeType.HEXAGON:return`hexgon`;default:return`no-border`}}assignSections(e,t){if(e.level===0?e.section=void 0:e.section=t,e.children)for(let[n,r]of e.children.entries()){let i=e.level===0?n%(S-1):t;this.assignSections(r,i)}}flattenNodes(t,n){let r=e(),i=[`mindmap-node`];t.isRoot===!0?i.push(`section-root`,`section--1`):t.section!==void 0&&i.push(`section-${t.section}`),t.class&&i.push(t.class);let a=i.join(` `),o=d(e=>{let t=(r.theme?.toLowerCase()??``).includes(`redux`);switch(e){case C.CIRCLE:return`mindmapCircle`;case C.RECT:return`rect`;case C.ROUNDED_RECT:return`rounded`;case C.CLOUD:return`cloud`;case C.BANG:return`bang`;case C.HEXAGON:return`hexagon`;case C.DEFAULT:return t?`rounded`:`defaultMindmapNode`;case C.NO_BORDER:default:return`rect`}},`getShapeFromType`),s={id:t.id.toString(),domId:`node_`+t.id.toString(),label:t.descr,labelType:`markdown`,isGroup:!1,shape:o(t.type),width:t.width,height:t.height??0,padding:t.padding,cssClasses:a,cssStyles:[],look:r.look,icon:t.icon,x:t.x,y:t.y,level:t.level,nodeId:t.nodeId,type:t.type,section:t.section};if(n.push(s),t.children)for(let e of t.children)this.flattenNodes(e,n)}generateEdges(t,n){if(!t.children)return;let r=e();for(let e of t.children){let i=`edge`;e.section!==void 0&&(i+=` section-edge-${e.section}`);let a=t.level+1;i+=` edge-depth-${a}`;let o={id:`edge_${t.id}_${e.id}`,start:t.id.toString(),end:e.id.toString(),type:`normal`,curve:`basis`,thickness:`normal`,look:r.look,classes:i,depth:t.level,section:e.section};n.push(o),this.generateEdges(e,n)}}getData(){let t=this.getMindmap(),n=e(),i=r().layout!==void 0,a=n;if(i||(a.layout=`cose-bilkent`),!t)return{nodes:[],edges:[],config:a};c.debug(`getData: mindmapRoot`,t,n),this.assignSections(t);let o=[],s=[];this.flattenNodes(t,o),this.generateEdges(t,s),c.debug(`getData: processed ${o.length} nodes and ${s.length} edges`);let l=new Map;for(let e of o)l.set(e.id,{shape:e.shape,width:e.width,height:e.height,padding:e.padding});return{nodes:o,edges:s,config:a,rootNode:t,markers:[`point`],direction:`TB`,nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(l),type:`mindmap`,diagramId:`mindmap-`+v()}}getLogger(){return c}},T={draw:d(async(e,t,r,a)=>{c.debug(`Rendering mindmap diagram
7
- `+e);let o=a.db,s=o.getData(),d=f(t,s.config.securityLevel);if(s.type=a.type,s.layoutAlgorithm=i(s.config.layout,{fallback:`cose-bilkent`}),s.diagramId=t,!o.getMindmap())return;s.nodes.forEach(e=>{e.shape===`rounded`?(e.radius=15,e.taper=15,e.stroke=`none`,e.width=0,e.padding=15):e.shape===`circle`?e.padding=10:e.shape===`rect`?(e.width=0,e.padding=10):e.shape===`hexagon`&&(e.width=0,e.height=0)}),await l(s,d);let{themeVariables:m}=u(),{useGradient:h,gradientStart:g,gradientStop:_}=m;if(h&&g&&_){let e=d.attr(`id`),t=d.append(`defs`).append(`linearGradient`).attr(`id`,`${e}-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);t.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,g).attr(`stop-opacity`,1),t.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,_).attr(`stop-opacity`,1)}p(d,s.config.mindmap?.padding??n.mindmap.padding,`mindmapDiagram`,s.config.mindmap?.useMaxWidth??n.mindmap.useMaxWidth)},`draw`)},E=d(e=>{let{theme:t,look:n}=e,r=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e[`lineColor`+t]=e[`lineColor`+t]||e[`cScaleInv`+t],a(e[`lineColor`+t])?e[`lineColor`+t]=o(e[`lineColor`+t],20):e[`lineColor`+t]=s(e[`lineColor`+t],20);for(let i=0;i<e.THEME_COLOR_LIMIT;i++){let a=``+(n===`neo`?Math.max(10-(i-1)*2,2):17-3*i);r+=`
8
- .section-${i-1} rect, .section-${i-1} path, .section-${i-1} circle, .section-${i-1} polygon, .section-${i-1} path {
9
- fill: ${e[`cScale`+i]};
10
- }
11
- .section-${i-1} text {
12
- fill: ${e[`cScaleLabel`+i]};
13
- }
14
- .section-${i-1} span {
15
- color: ${e[`cScaleLabel`+i]};
16
- }
17
- .node-icon-${i-1} {
18
- font-size: 40px;
19
- color: ${e[`cScaleLabel`+i]};
20
- }
21
- .section-edge-${i-1}{
22
- stroke: ${e[`cScale`+i]};
23
- }
24
- .edge-depth-${i-1}{
25
- stroke-width: ${a};
26
- }
27
- .section-${i-1} line {
28
- stroke: ${e[`cScaleInv`+i]} ;
29
- stroke-width: 3;
30
- }
31
-
32
- .disabled, .disabled circle, .disabled text {
33
- fill: lightgray;
34
- }
35
- .disabled text {
36
- fill: #efefef;
37
- }
38
- [data-look="neo"].mindmap-node.section-${i-1} rect, [data-look="neo"].mindmap-node.section-${i-1} path, [data-look="neo"].mindmap-node.section-${i-1} circle, [data-look="neo"].mindmap-node.section-${i-1} polygon {
39
- fill: ${t===`redux`||t===`redux-dark`||t===`neutral`?e.mainBkg:e[`cScale`+i]};
40
- stroke: ${t===`redux`||t===`redux-dark`?e.nodeBorder:e[`cScale`+i]};
41
- stroke-width: ${e.strokeWidth??2}px;
42
- }
43
- [data-look="neo"].section-edge-${i-1}{
44
- stroke: ${t?.includes(`redux`)||t===`neo-dark`?e.nodeBorder:e[`cScale`+i]};
45
- }
46
- [data-look="neo"].mindmap-node.section-${i-1} text {
47
- fill: ${t===`redux`||t===`redux-dark`?e.nodeBorder:e[`cScaleLabel`+(t===`neutral`?1:i)]};
48
- }
49
- `}return r},`genSections`),D=d((e,t,n)=>{let r=``;for(let i=0;i<e;i++)r+=`
50
- [data-look="neo"].mindmap-node.section-${i-1} rect, [data-look="neo"].mindmap-node.section-${i-1} path, [data-look="neo"].mindmap-node.section-${i-1} circle, [data-look="neo"].mindmap-node.section-${i-1} polygon {
51
- stroke: url(${t}-gradient);
52
- fill: ${n};
53
- }
54
- .section-${i-1} line {
55
- stroke-width: 0;
56
- }`;return r},`genGradient`),O={get db(){return new w},renderer:T,parser:x,styles:d(e=>{let{theme:t}=e,n=e.svgId,r=e.dropShadow?e.dropShadow.replace(`url(#drop-shadow)`,`url(${n}-drop-shadow)`):`none`;return`
57
- .edge {
58
- stroke-width: 3;
59
- }
60
- ${E(e)}
61
- .section-root rect, .section-root path, .section-root circle, .section-root polygon {
62
- fill: ${e.git0};
63
- }
64
- .section-root text {
65
- fill: ${e.gitBranchLabel0};
66
- }
67
- .section-root span {
68
- color: ${t?.includes(`redux`)?e.nodeBorder:e.gitBranchLabel0};
69
- }
70
- .icon-container {
71
- height:100%;
72
- display: flex;
73
- justify-content: center;
74
- align-items: center;
75
- }
76
- .edge {
77
- fill: none;
78
- }
79
- .mindmap-node-label {
80
- dy: 1em;
81
- alignment-baseline: middle;
82
- text-anchor: middle;
83
- dominant-baseline: middle;
84
- text-align: center;
85
- }
86
- [data-look="neo"].mindmap-node {
87
- filter: ${r};
88
- }
89
- [data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
90
- fill: ${t?.includes(`redux`)?e.mainBkg:e.git0};
91
- }
92
- [data-look="neo"].mindmap-node.section-root .text-inner-tspan {
93
- fill: ${t?.includes(`redux`)?e.nodeBorder:e[`cScaleLabel`+ +(t===`neutral`)]};
94
- }
95
- ${e.useGradient&&n&&e.mainBkg?D(e.THEME_COLOR_LIMIT,n,e.mainBkg):``}
96
- `},`getStyles`)};export{O as diagram};
@@ -1,96 +0,0 @@
1
- import{An as e,Bn as t,En as n,Fn as r,O as i,Qn as a,Xn as o,Yn as s,ir as c,k as l,kn as u,rr as d}from"./index-CzvLoUvF.js";import{t as f}from"./chunk-55IACEB6-C0d8c7Vo.js";import{t as p}from"./chunk-2J33WTMH-D3_CoMp1.js";var m=[];for(let e=0;e<256;++e)m.push((e+256).toString(16).slice(1));function h(e,t=0){return(m[e[t+0]]+m[e[t+1]]+m[e[t+2]]+m[e[t+3]]+`-`+m[e[t+4]]+m[e[t+5]]+`-`+m[e[t+6]]+m[e[t+7]]+`-`+m[e[t+8]]+m[e[t+9]]+`-`+m[e[t+10]]+m[e[t+11]]+m[e[t+12]]+m[e[t+13]]+m[e[t+14]]+m[e[t+15]]).toLowerCase()}var g=new Uint8Array(16);function _(){return crypto.getRandomValues(g)}function v(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():y(e,t,n)}function y(e,t,n){e||={};let r=e.random??e.rng?.()??_();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return h(r)}var b=(function(){var e=d(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,4],n=[1,13],r=[1,12],i=[1,15],a=[1,16],o=[1,20],s=[1,19],c=[6,7,8],l=[1,26],u=[1,24],f=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],h=[1,33],g=[1,34],_=[1,6,7,11,13,15,16,19,22],v={trace:d(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`MINDMAP`,11:`EOF`,13:`SPACELIST`,15:`ICON`,16:`CLASS`,19:`NODE_DSTART`,20:`NODE_DESCR`,21:`NODE_DEND`,22:`NODE_ID`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:d(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace(`SPACELIST`);break;case 19:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:t},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:t},{6:n,7:[1,10],9:9,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(c,[2,3]),{1:[2,2]},e(c,[2,4]),e(c,[2,5]),{1:[2,6],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:n,9:22,12:11,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},{6:l,7:u,10:23,11:f},e(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:o,22:s}),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),e(p,[2,21]),e(p,[2,23]),e(p,[2,24]),e(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:l,7:u,10:32,11:f},{1:[2,7],6:n,12:21,13:r,14:14,15:i,16:a,17:17,18:18,19:o,22:s},e(m,[2,14],{7:h,11:g}),e(_,[2,8]),e(_,[2,9]),e(_,[2,10]),e(p,[2,15]),e(p,[2,16]),e(p,[2,17]),{20:[1,35]},{21:[1,36]},e(m,[2,13],{7:h,11:g}),e(_,[2,11]),e(_,[2,12]),{21:[1,37]},e(p,[2,25]),e(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:d(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:d(function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s=``,c=0,l=0,u=0,f=2,p=1,m=a.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;a.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,i.length-=e,a.length-=e}d(b,`popStack`);function x(){var e=r.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}d(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=o[w]&&o[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],o[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(c+1)+`:
2
- `+h.showPosition()+`
3
- Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(c+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:n.push(S),i.push(h.yytext),a.push(h.yylloc),n.push(T[1]),S=null,C?(S=C,C=null):(l=h.yyleng,s=h.yytext,c=h.yylineno,v=h.yylloc,u>0&&u--);break;case 2:if(k=this.productions_[T[1]][1],D.$=i[i.length-k],D._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},y&&(D._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),E=this.performAction.apply(D,[s,l,c,g.yy,T[1],i,a].concat(m)),E!==void 0)return E;k&&(n=n.slice(0,-1*k*2),i=i.slice(0,-1*k),a=a.slice(0,-1*k)),n.push(this.productions_[T[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0},`parse`)};v.lexer=(function(){return{EOF:1,parseError:d(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:d(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:d(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:d(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:d(function(){return this._more=!0,this},`more`),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:d(function(e){this.unput(this.match.slice(e))},`less`),pastInput:d(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:d(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:d(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
5
- `+t+`^`},`showPosition`),test_match:d(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:d(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:d(function(){return this.next()||this.lex()},`lex`),begin:d(function(e){this.conditionStack.push(e)},`begin`),popState:d(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:d(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:d(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:d(function(e){this.begin(e)},`pushState`),stateStackSize:d(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:d(function(e,t,n,r){switch(n){case 0:return e.getLogger().trace(`Found comment`,t.yytext),6;case 1:return 8;case 2:this.begin(`CLASS`);break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:e.getLogger().trace(`Begin icon`),this.begin(`ICON`);break;case 6:return e.getLogger().trace(`SPACELINE`),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace(`end icon`),this.popState();break;case 10:return e.getLogger().trace(`Exploding node`),this.begin(`NODE`),19;case 11:return e.getLogger().trace(`Cloud`),this.begin(`NODE`),19;case 12:return e.getLogger().trace(`Explosion Bang`),this.begin(`NODE`),19;case 13:return e.getLogger().trace(`Cloud Bang`),this.begin(`NODE`),19;case 14:return this.begin(`NODE`),19;case 15:return this.begin(`NODE`),19;case 16:return this.begin(`NODE`),19;case 17:return this.begin(`NODE`),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin(`NSTR2`);break;case 22:return`NODE_DESCR`;case 23:this.popState();break;case 24:e.getLogger().trace(`Starting NSTR`),this.begin(`NSTR`);break;case 25:return e.getLogger().trace(`description:`,t.yytext),`NODE_DESCR`;case 26:this.popState();break;case 27:return this.popState(),e.getLogger().trace(`node end ))`),`NODE_DEND`;case 28:return this.popState(),e.getLogger().trace(`node end )`),`NODE_DEND`;case 29:return this.popState(),e.getLogger().trace(`node end ...`,t.yytext),`NODE_DEND`;case 30:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 31:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 32:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 33:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 34:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 35:return e.getLogger().trace(`Long description:`,t.yytext),20;case 36:return e.getLogger().trace(`Long description:`,t.yytext),20}},`anonymous`),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}}})();function y(){this.yy={}}return d(y,`Parser`),y.prototype=v,v.Parser=y,new y})();b.parser=b;var x=b,S=12,C={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},w=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=C,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{d(this,`MindmapDB`)}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let t=this.nodes.length-1;t>=0;t--)if(this.nodes[t].level<e)return this.nodes[t];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(r,i,a,o){c.info(`addNode`,r,i,a,o);let s=!1;this.nodes.length===0?(this.baseLevel=r,r=0,s=!0):this.baseLevel!==void 0&&(r-=this.baseLevel,s=!1);let l=e(),u=l.mindmap?.padding??n.mindmap.padding;switch(o){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:u*=2;break}let d={id:this.count++,nodeId:t(i,l),level:r,descr:t(a,l),type:o,children:[],width:l.mindmap?.maxNodeWidth??n.mindmap.maxNodeWidth,padding:u,isRoot:s},f=this.getParent(r);if(f)f.children.push(d),this.nodes.push(d);else if(s)this.nodes.push(d);else throw Error(`There can be only one root. No parent could be found for ("${d.descr}")`)}getType(e,t){switch(c.debug(`In get type`,e,t),e){case`[`:return this.nodeType.RECT;case`(`:return t===`)`?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case`((`:return this.nodeType.CIRCLE;case`)`:return this.nodeType.CLOUD;case`))`:return this.nodeType.BANG;case`{{`:return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,t){this.elements[e]=t}getElementById(e){return this.elements[e]}decorateNode(n){if(!n)return;let r=e(),i=this.nodes[this.nodes.length-1];n.icon&&(i.icon=t(n.icon,r)),n.class&&(i.class=t(n.class,r))}type2Str(e){switch(e){case this.nodeType.DEFAULT:return`no-border`;case this.nodeType.RECT:return`rect`;case this.nodeType.ROUNDED_RECT:return`rounded-rect`;case this.nodeType.CIRCLE:return`circle`;case this.nodeType.CLOUD:return`cloud`;case this.nodeType.BANG:return`bang`;case this.nodeType.HEXAGON:return`hexgon`;default:return`no-border`}}assignSections(e,t){if(e.level===0?e.section=void 0:e.section=t,e.children)for(let[n,r]of e.children.entries()){let i=e.level===0?n%(S-1):t;this.assignSections(r,i)}}flattenNodes(t,n){let r=e(),i=[`mindmap-node`];t.isRoot===!0?i.push(`section-root`,`section--1`):t.section!==void 0&&i.push(`section-${t.section}`),t.class&&i.push(t.class);let a=i.join(` `),o=d(e=>{let t=(r.theme?.toLowerCase()??``).includes(`redux`);switch(e){case C.CIRCLE:return`mindmapCircle`;case C.RECT:return`rect`;case C.ROUNDED_RECT:return`rounded`;case C.CLOUD:return`cloud`;case C.BANG:return`bang`;case C.HEXAGON:return`hexagon`;case C.DEFAULT:return t?`rounded`:`defaultMindmapNode`;case C.NO_BORDER:default:return`rect`}},`getShapeFromType`),s={id:t.id.toString(),domId:`node_`+t.id.toString(),label:t.descr,labelType:`markdown`,isGroup:!1,shape:o(t.type),width:t.width,height:t.height??0,padding:t.padding,cssClasses:a,cssStyles:[],look:r.look,icon:t.icon,x:t.x,y:t.y,level:t.level,nodeId:t.nodeId,type:t.type,section:t.section};if(n.push(s),t.children)for(let e of t.children)this.flattenNodes(e,n)}generateEdges(t,n){if(!t.children)return;let r=e();for(let e of t.children){let i=`edge`;e.section!==void 0&&(i+=` section-edge-${e.section}`);let a=t.level+1;i+=` edge-depth-${a}`;let o={id:`edge_${t.id}_${e.id}`,start:t.id.toString(),end:e.id.toString(),type:`normal`,curve:`basis`,thickness:`normal`,look:r.look,classes:i,depth:t.level,section:e.section};n.push(o),this.generateEdges(e,n)}}getData(){let t=this.getMindmap(),n=e(),i=r().layout!==void 0,a=n;if(i||(a.layout=`cose-bilkent`),!t)return{nodes:[],edges:[],config:a};c.debug(`getData: mindmapRoot`,t,n),this.assignSections(t);let o=[],s=[];this.flattenNodes(t,o),this.generateEdges(t,s),c.debug(`getData: processed ${o.length} nodes and ${s.length} edges`);let l=new Map;for(let e of o)l.set(e.id,{shape:e.shape,width:e.width,height:e.height,padding:e.padding});return{nodes:o,edges:s,config:a,rootNode:t,markers:[`point`],direction:`TB`,nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(l),type:`mindmap`,diagramId:`mindmap-`+v()}}getLogger(){return c}},T={draw:d(async(e,t,r,a)=>{c.debug(`Rendering mindmap diagram
7
- `+e);let o=a.db,s=o.getData(),d=f(t,s.config.securityLevel);if(s.type=a.type,s.layoutAlgorithm=i(s.config.layout,{fallback:`cose-bilkent`}),s.diagramId=t,!o.getMindmap())return;s.nodes.forEach(e=>{e.shape===`rounded`?(e.radius=15,e.taper=15,e.stroke=`none`,e.width=0,e.padding=15):e.shape===`circle`?e.padding=10:e.shape===`rect`?(e.width=0,e.padding=10):e.shape===`hexagon`&&(e.width=0,e.height=0)}),await l(s,d);let{themeVariables:m}=u(),{useGradient:h,gradientStart:g,gradientStop:_}=m;if(h&&g&&_){let e=d.attr(`id`),t=d.append(`defs`).append(`linearGradient`).attr(`id`,`${e}-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);t.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,g).attr(`stop-opacity`,1),t.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,_).attr(`stop-opacity`,1)}p(d,s.config.mindmap?.padding??n.mindmap.padding,`mindmapDiagram`,s.config.mindmap?.useMaxWidth??n.mindmap.useMaxWidth)},`draw`)},E=d(e=>{let{theme:t,look:n}=e,r=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e[`lineColor`+t]=e[`lineColor`+t]||e[`cScaleInv`+t],a(e[`lineColor`+t])?e[`lineColor`+t]=o(e[`lineColor`+t],20):e[`lineColor`+t]=s(e[`lineColor`+t],20);for(let i=0;i<e.THEME_COLOR_LIMIT;i++){let a=``+(n===`neo`?Math.max(10-(i-1)*2,2):17-3*i);r+=`
8
- .section-${i-1} rect, .section-${i-1} path, .section-${i-1} circle, .section-${i-1} polygon, .section-${i-1} path {
9
- fill: ${e[`cScale`+i]};
10
- }
11
- .section-${i-1} text {
12
- fill: ${e[`cScaleLabel`+i]};
13
- }
14
- .section-${i-1} span {
15
- color: ${e[`cScaleLabel`+i]};
16
- }
17
- .node-icon-${i-1} {
18
- font-size: 40px;
19
- color: ${e[`cScaleLabel`+i]};
20
- }
21
- .section-edge-${i-1}{
22
- stroke: ${e[`cScale`+i]};
23
- }
24
- .edge-depth-${i-1}{
25
- stroke-width: ${a};
26
- }
27
- .section-${i-1} line {
28
- stroke: ${e[`cScaleInv`+i]} ;
29
- stroke-width: 3;
30
- }
31
-
32
- .disabled, .disabled circle, .disabled text {
33
- fill: lightgray;
34
- }
35
- .disabled text {
36
- fill: #efefef;
37
- }
38
- [data-look="neo"].mindmap-node.section-${i-1} rect, [data-look="neo"].mindmap-node.section-${i-1} path, [data-look="neo"].mindmap-node.section-${i-1} circle, [data-look="neo"].mindmap-node.section-${i-1} polygon {
39
- fill: ${t===`redux`||t===`redux-dark`||t===`neutral`?e.mainBkg:e[`cScale`+i]};
40
- stroke: ${t===`redux`||t===`redux-dark`?e.nodeBorder:e[`cScale`+i]};
41
- stroke-width: ${e.strokeWidth??2}px;
42
- }
43
- [data-look="neo"].section-edge-${i-1}{
44
- stroke: ${t?.includes(`redux`)||t===`neo-dark`?e.nodeBorder:e[`cScale`+i]};
45
- }
46
- [data-look="neo"].mindmap-node.section-${i-1} text {
47
- fill: ${t===`redux`||t===`redux-dark`?e.nodeBorder:e[`cScaleLabel`+(t===`neutral`?1:i)]};
48
- }
49
- `}return r},`genSections`),D=d((e,t,n)=>{let r=``;for(let i=0;i<e;i++)r+=`
50
- [data-look="neo"].mindmap-node.section-${i-1} rect, [data-look="neo"].mindmap-node.section-${i-1} path, [data-look="neo"].mindmap-node.section-${i-1} circle, [data-look="neo"].mindmap-node.section-${i-1} polygon {
51
- stroke: url(${t}-gradient);
52
- fill: ${n};
53
- }
54
- .section-${i-1} line {
55
- stroke-width: 0;
56
- }`;return r},`genGradient`),O={get db(){return new w},renderer:T,parser:x,styles:d(e=>{let{theme:t}=e,n=e.svgId,r=e.dropShadow?e.dropShadow.replace(`url(#drop-shadow)`,`url(${n}-drop-shadow)`):`none`;return`
57
- .edge {
58
- stroke-width: 3;
59
- }
60
- ${E(e)}
61
- .section-root rect, .section-root path, .section-root circle, .section-root polygon {
62
- fill: ${e.git0};
63
- }
64
- .section-root text {
65
- fill: ${e.gitBranchLabel0};
66
- }
67
- .section-root span {
68
- color: ${t?.includes(`redux`)?e.nodeBorder:e.gitBranchLabel0};
69
- }
70
- .icon-container {
71
- height:100%;
72
- display: flex;
73
- justify-content: center;
74
- align-items: center;
75
- }
76
- .edge {
77
- fill: none;
78
- }
79
- .mindmap-node-label {
80
- dy: 1em;
81
- alignment-baseline: middle;
82
- text-anchor: middle;
83
- dominant-baseline: middle;
84
- text-align: center;
85
- }
86
- [data-look="neo"].mindmap-node {
87
- filter: ${r};
88
- }
89
- [data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
90
- fill: ${t?.includes(`redux`)?e.mainBkg:e.git0};
91
- }
92
- [data-look="neo"].mindmap-node.section-root .text-inner-tspan {
93
- fill: ${t?.includes(`redux`)?e.nodeBorder:e[`cScaleLabel`+ +(t===`neutral`)]};
94
- }
95
- ${e.useGradient&&n&&e.mainBkg?D(e.THEME_COLOR_LIMIT,n,e.mainBkg):``}
96
- `},`getStyles`)};export{O as diagram};