@datalayer/agent-runtimes 1.5.102 → 1.5.106

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 (438) hide show
  1. package/dist-embed/chunks/AgentInspector-CuvRXcQ7.js +1 -0
  2. package/dist-embed/chunks/{AgentInspectorDialog-Cf8jT6kR.js → AgentInspectorDialog-CXZGyBXE.js} +1 -1
  3. package/dist-embed/chunks/{CellSidebarExtension-9Xkl4nS1.js → CellSidebarExtension-BMT21AEe.js} +16 -16
  4. package/dist-embed/chunks/{DeckComponent-LPAk473I.js → DeckComponent-CDcvO2c7.js} +2 -2
  5. package/dist-embed/chunks/{DocumentView-CSX_hWLV.js → DocumentView-Bd505ec3.js} +1 -1
  6. package/dist-embed/chunks/EphemeralDocument-Cb738Fb7.js +1 -0
  7. package/dist-embed/chunks/{EphemeralNotebook-C3e2FrSq.js → EphemeralNotebook-ayRs87hn.js} +1 -1
  8. package/dist-embed/chunks/ExcalidrawComponent-zLN6lMMh.js +1 -0
  9. package/dist-embed/chunks/ExcalidrawModal-DmayKvhz.js +1 -0
  10. package/dist-embed/chunks/{JupyterLexicalExtension-Cq2BuRs0.js → JupyterLexicalExtension-DS8J9r_J.js} +5 -5
  11. package/dist-embed/chunks/{KernelVariables-BmWOn-n_.js → KernelVariables-JJah7mez.js} +1 -1
  12. package/dist-embed/chunks/NotebookToolSurfaces-Sjfasvqp.js +1 -0
  13. package/dist-embed/chunks/{NotebookView-yvVgAED6.js → NotebookView-BF9IDoeS.js} +1 -1
  14. package/dist-embed/chunks/{Output-DF1wzbCD.js → Output-UPeDwjyI.js} +1 -1
  15. package/dist-embed/chunks/{SandboxDetailsDialog-Bue8qhTm.js → SandboxDetailsDialog-BbFzOjmh.js} +1 -1
  16. package/dist-embed/chunks/WidgetVariableView-D4QMzgOL.js +1 -0
  17. package/dist-embed/chunks/{YouTubePlugin-aO-jWjdh.js → YouTubePlugin-C7CGtLzz.js} +1 -1
  18. package/dist-embed/chunks/abnfDiagram-VCTEODGH-B71U5XYF.js +1 -0
  19. package/dist-embed/chunks/abnfDiagram-VCTEODGH-Bc-fKn8l.js +1 -0
  20. package/dist-embed/chunks/abnfDiagram-VCTEODGH-HXaofwo9.js +1 -0
  21. package/dist-embed/chunks/advancedFormat-CshdkaWz.js +1 -0
  22. package/dist-embed/chunks/{ar-SA-G6X2FPQ2-DZ6ta9d0.js → ar-SA-G6X2FPQ2-CCIrNclv.js} +1 -1
  23. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-CFyAMJIx.js → architectureDiagram-5GKGNRK7-BQB0U0rT.js} +2 -2
  24. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-BbVwTk8b.js → architectureDiagram-5GKGNRK7-C2AE1F2T.js} +2 -2
  25. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-DeCj6zMe.js → architectureDiagram-5GKGNRK7-CjuFI4z9.js} +2 -2
  26. package/dist-embed/chunks/az-AZ-76LH7QW2-CSTNZhVp.js +1 -0
  27. package/dist-embed/chunks/{bg-BG-XCXSNQG7-B7QcVEVY.js → bg-BG-XCXSNQG7-DsDH3Vku.js} +1 -1
  28. package/dist-embed/chunks/{blockDiagram-868be97b-CfRaagn_.js → blockDiagram-868be97b-B68KiGkE.js} +3 -3
  29. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-BjRmv4QH.js → blockDiagram-I7D4REHJ-4XoG2wPO.js} +2 -2
  30. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-SufaJtAi.js → blockDiagram-I7D4REHJ-BGPlI9Uq.js} +2 -2
  31. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-kguVnun5.js → blockDiagram-I7D4REHJ-Cd5dHGkJ.js} +2 -2
  32. package/dist-embed/chunks/{bn-BD-2XOGV67Q-TxN1ubr7.js → bn-BD-2XOGV67Q-CGa5jk8k.js} +1 -1
  33. package/dist-embed/chunks/{c4Diagram-3f4bdde3-FyOk3LSs.js → c4Diagram-3f4bdde3-BuW3MIkw.js} +2 -2
  34. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-SgQrn2PO.js → c4Diagram-7LVT6UL2-DCfGVCNK.js} +2 -2
  35. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-Cf2_xw9_.js → c4Diagram-7LVT6UL2-DgPxihhe.js} +2 -2
  36. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-D3Vjz3Z8.js → c4Diagram-7LVT6UL2-SYqo_8ln.js} +2 -2
  37. package/dist-embed/chunks/{ca-ES-6MX7JW3Y-Dqf9cvaK.js → ca-ES-6MX7JW3Y-DPni6_r-.js} +1 -1
  38. package/dist-embed/chunks/channel-BkDTnYd-.js +1 -0
  39. package/dist-embed/chunks/{chunk-2Q5K7J3B-BJrhmygH.js → chunk-2Q5K7J3B-C6_NDlXz.js} +1 -1
  40. package/dist-embed/chunks/{chunk-2Q5K7J3B-DuPgZFdB.js → chunk-2Q5K7J3B-CXYPY0Ns.js} +1 -1
  41. package/dist-embed/chunks/{chunk-2Q5K7J3B-DBdUm--2.js → chunk-2Q5K7J3B-DAZwxp62.js} +1 -1
  42. package/dist-embed/chunks/{chunk-5VM5RSS4-C1Bpa3VF.js → chunk-5VM5RSS4-BE7Xw1qR.js} +1 -1
  43. package/dist-embed/chunks/{chunk-5VM5RSS4-B-UBqvd2.js → chunk-5VM5RSS4-CkLbaiHB.js} +1 -1
  44. package/dist-embed/chunks/{chunk-5VM5RSS4-nQugzoqo.js → chunk-5VM5RSS4-lyh9Xnd2.js} +1 -1
  45. package/dist-embed/chunks/{chunk-F27PBJKO-D3zJwrkg.js → chunk-F27PBJKO-C3nbzFWn.js} +1 -1
  46. package/dist-embed/chunks/{chunk-F27PBJKO-DYiXXgT1.js → chunk-F27PBJKO-Db7_X2ml.js} +1 -1
  47. package/dist-embed/chunks/{chunk-F27PBJKO-MI-KHY-9.js → chunk-F27PBJKO-DgaijeLE.js} +1 -1
  48. package/dist-embed/chunks/{chunk-IMKFNOWR-i4q8sDDB.js → chunk-IMKFNOWR-C0voe75K.js} +1 -1
  49. package/dist-embed/chunks/{chunk-IMKFNOWR-BbylDqs_.js → chunk-IMKFNOWR-CGh3mc7U.js} +1 -1
  50. package/dist-embed/chunks/{chunk-IMKFNOWR-DJk_fAZn.js → chunk-IMKFNOWR-wq8-ajoP.js} +1 -1
  51. package/dist-embed/chunks/{chunk-JWPE2WC7-BSzyfwPR.js → chunk-JWPE2WC7-BnJZ2J3A.js} +1 -1
  52. package/dist-embed/chunks/{chunk-JWPE2WC7-8ggfUh7n.js → chunk-JWPE2WC7-C7Vh66mu.js} +1 -1
  53. package/dist-embed/chunks/{chunk-JWPE2WC7-D1PH2kGj.js → chunk-JWPE2WC7-IsI16_x9.js} +1 -1
  54. package/dist-embed/chunks/{chunk-POPQ4Y6H-DhZnEisk.js → chunk-POPQ4Y6H-C74YP19P.js} +1 -1
  55. package/dist-embed/chunks/{chunk-POPQ4Y6H-pegurE5S.js → chunk-POPQ4Y6H-Jfdu8NYy.js} +1 -1
  56. package/dist-embed/chunks/{chunk-POPQ4Y6H-CKubmyGa.js → chunk-POPQ4Y6H-igzMuKdy.js} +1 -1
  57. package/dist-embed/chunks/{chunk-SVP7TREG-BF112NUO.js → chunk-SVP7TREG-BRTUczs-.js} +1 -1
  58. package/dist-embed/chunks/{chunk-SVP7TREG-D5yRz6xm.js → chunk-SVP7TREG-D5GVP8mx.js} +1 -1
  59. package/dist-embed/chunks/{chunk-SVP7TREG-CoZRhamu.js → chunk-SVP7TREG-V_21qG9f.js} +1 -1
  60. package/dist-embed/chunks/{chunk-TICWLB2K-XF3ekUig.js → chunk-TICWLB2K-C64kdJiT.js} +1 -1
  61. package/dist-embed/chunks/{chunk-TICWLB2K-v9-jDBp6.js → chunk-TICWLB2K-COF4m2Q-.js} +1 -1
  62. package/dist-embed/chunks/{chunk-TICWLB2K-Bs5ffYyR.js → chunk-TICWLB2K-CmvMmjES.js} +1 -1
  63. package/dist-embed/chunks/{chunk-XXDRQBXY-D_FJqGi2.js → chunk-XXDRQBXY-CfGL0WH9.js} +1 -1
  64. package/dist-embed/chunks/{chunk-XXDRQBXY-l6VvHymR.js → chunk-XXDRQBXY-ClqYjHLS.js} +1 -1
  65. package/dist-embed/chunks/{chunk-XXDRQBXY-D9b9c_ic.js → chunk-XXDRQBXY-p7YSmJfy.js} +1 -1
  66. package/dist-embed/chunks/classDiagram-ZZMXUADV-2HYBPww6.js +1 -0
  67. package/dist-embed/chunks/classDiagram-ZZMXUADV-BLOgen3q.js +1 -0
  68. package/dist-embed/chunks/classDiagram-ZZMXUADV-DanFMb8A.js +1 -0
  69. package/dist-embed/chunks/classDiagram-f62afe4f-CNTk_RA5.js +2 -0
  70. package/dist-embed/chunks/classDiagram-v2-604399ef-BPXwuOhe.js +2 -0
  71. package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-2HYBPww6.js +1 -0
  72. package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-BLOgen3q.js +1 -0
  73. package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-DanFMb8A.js +1 -0
  74. package/dist-embed/chunks/cose-bilkent-JH36ORCC-BMDoRbpo.js +1 -0
  75. package/dist-embed/chunks/cose-bilkent-JH36ORCC-C2S2DIKI.js +1 -0
  76. package/dist-embed/chunks/cose-bilkent-JH36ORCC-DSHzx2BI.js +1 -0
  77. package/dist-embed/chunks/{createText-aed3d8b3-Dw977TwJ.js → createText-aed3d8b3-BxsX7KcT.js} +1 -1
  78. package/dist-embed/chunks/{cs-CZ-2BRQDIVT-CwlCWt4T.js → cs-CZ-2BRQDIVT-C2VJoA4e.js} +1 -1
  79. package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-CXpjlIcM.js +62 -0
  80. package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-DNkIHI2P.js +62 -0
  81. package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-Und8rlmR.js +62 -0
  82. package/dist-embed/chunks/d3-color-Jd8hXty2.js +1 -0
  83. package/dist-embed/chunks/d3-hierarchy-Cx6senVY.js +1 -0
  84. package/dist-embed/chunks/d3-interpolate-BVJucgkN.js +1 -0
  85. package/dist-embed/chunks/d3-scale-B-wnA6MO.js +1 -0
  86. package/dist-embed/chunks/d3-scale-chromatic-BM1YEV1K.js +1 -0
  87. package/dist-embed/chunks/{da-DK-5WZEPLOC-BYQLzbDz.js → da-DK-5WZEPLOC-B-8uCnDZ.js} +1 -1
  88. package/dist-embed/chunks/{dagre-GXQ25YYZ-Bj78I_3y.js → dagre-GXQ25YYZ-B8HVheVA.js} +2 -2
  89. package/dist-embed/chunks/{dagre-GXQ25YYZ-BvxZGlAG.js → dagre-GXQ25YYZ-BLRf1T-i.js} +2 -2
  90. package/dist-embed/chunks/{dagre-GXQ25YYZ-BiceTC0E.js → dagre-GXQ25YYZ-DOA3t5IT.js} +2 -2
  91. package/dist-embed/chunks/dayjs.min-u3zuoSR8.js +1 -0
  92. package/dist-embed/chunks/{de-DE-XR44H4JA-CdWGWxSf.js → de-DE-XR44H4JA-mVAvUgBj.js} +1 -1
  93. package/dist-embed/chunks/{diagram-S7CK7UJ4-Cmb9Ykqm.js → diagram-S7CK7UJ4-D9c-d1DT.js} +2 -2
  94. package/dist-embed/chunks/{diagram-S7CK7UJ4-DMHeQr8F.js → diagram-S7CK7UJ4-DwDc_czt.js} +2 -2
  95. package/dist-embed/chunks/{diagram-S7CK7UJ4-a4FArSaJ.js → diagram-S7CK7UJ4-NIp8rRdr.js} +2 -2
  96. package/dist-embed/chunks/diagram-UQ7AKVKN-CZK18sap.js +41 -0
  97. package/dist-embed/chunks/diagram-UQ7AKVKN-DhMlTIH1.js +41 -0
  98. package/dist-embed/chunks/diagram-UQ7AKVKN-DtYHVrIv.js +41 -0
  99. package/dist-embed/chunks/{diagram-VSXAHHWV-D3lurhxI.js → diagram-VSXAHHWV-BbVAIuUE.js} +2 -2
  100. package/dist-embed/chunks/{diagram-VSXAHHWV-BsxdgIBU.js → diagram-VSXAHHWV-CClL-qVb.js} +2 -2
  101. package/dist-embed/chunks/{diagram-VSXAHHWV-BzwWsSpj.js → diagram-VSXAHHWV-CVuj7Wwr.js} +2 -2
  102. package/dist-embed/chunks/diagram-VX7I27RA-CHGaftMB.js +24 -0
  103. package/dist-embed/chunks/diagram-VX7I27RA-DUtes5TO.js +24 -0
  104. package/dist-embed/chunks/diagram-VX7I27RA-W9zdS7er.js +24 -0
  105. package/dist-embed/chunks/diagram-Z3DM3KII-CcvMwZF5.js +24 -0
  106. package/dist-embed/chunks/diagram-Z3DM3KII-JLzwAzwv.js +24 -0
  107. package/dist-embed/chunks/diagram-Z3DM3KII-nooaP3A_.js +24 -0
  108. package/dist-embed/chunks/ebnfDiagram-PWID7BFC-DwaCwxtV.js +1 -0
  109. package/dist-embed/chunks/ebnfDiagram-PWID7BFC-QUuH7KoJ.js +1 -0
  110. package/dist-embed/chunks/ebnfDiagram-PWID7BFC-paF78xx4.js +1 -0
  111. package/dist-embed/chunks/edges-b2856ca0-Cw6uMsAp.js +4 -0
  112. package/dist-embed/chunks/{el-GR-BZB4AONW-TO3tEZdB.js → el-GR-BZB4AONW-BdoQC7zI.js} +1 -1
  113. package/dist-embed/chunks/{erDiagram-5d81789a-D3blvZNR.js → erDiagram-5d81789a-DvA05QFt.js} +3 -3
  114. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-HUP46o_S.js → erDiagram-RLTQ6QDP-B8yauwFZ.js} +5 -5
  115. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-BvRjMgFJ.js → erDiagram-RLTQ6QDP-Bl7uSMrm.js} +5 -5
  116. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-pCbnjfMk.js → erDiagram-RLTQ6QDP-DZBeHxcW.js} +5 -5
  117. package/dist-embed/chunks/{es-ES-U4NZUMDT-BKZIANpq.js → es-ES-U4NZUMDT-mSL14Hu6.js} +1 -1
  118. package/dist-embed/chunks/{eu-ES-A7QVB2H4-vz5ecl6y.js → eu-ES-A7QVB2H4-i8MVUvvA.js} +1 -1
  119. package/dist-embed/chunks/{fa-IR-HGAKTJCU-Dmmoro5p.js → fa-IR-HGAKTJCU-BfG5w5pm.js} +1 -1
  120. package/dist-embed/chunks/{fi-FI-Z5N7JZ37-4bWurBmp.js → fi-FI-Z5N7JZ37-CxjOtOw5.js} +1 -1
  121. package/dist-embed/chunks/{flowDb-185abca5-DzeO696Q.js → flowDb-185abca5-CZQPmzTd.js} +1 -1
  122. package/dist-embed/chunks/{flowDiagram-1629c991-BCS_QkN2.js → flowDiagram-1629c991-DVkQIanX.js} +3 -3
  123. package/dist-embed/chunks/{flowDiagram-HODETNUW-C7KqgwLg.js → flowDiagram-HODETNUW-B051mCrB.js} +3 -3
  124. package/dist-embed/chunks/{flowDiagram-HODETNUW-CObZVANE.js → flowDiagram-HODETNUW-CIxGkvY2.js} +3 -3
  125. package/dist-embed/chunks/{flowDiagram-HODETNUW-7NyW99NE.js → flowDiagram-HODETNUW-nx8wz3GE.js} +3 -3
  126. package/dist-embed/chunks/flowDiagram-v2-1d953310-BajQh2l6.js +1 -0
  127. package/dist-embed/chunks/{flowchart-elk-definition-6df44142-72x8aEiK.js → flowchart-elk-definition-6df44142-DVsdecvJ.js} +2 -2
  128. package/dist-embed/chunks/{fr-FR-RHASNOE6-QYoMYddl.js → fr-FR-RHASNOE6-Dx18-mdk.js} +1 -1
  129. package/dist-embed/chunks/{ganttDiagram-3b0b3873-BsGIi6q0.js → ganttDiagram-3b0b3873-B_Ze5xJT.js} +4 -4
  130. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-Cm2jOWpZ.js → ganttDiagram-EL5Y4UJY-BNa2jv7L.js} +3 -3
  131. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-Bmj6A7sI.js → ganttDiagram-EL5Y4UJY-DWOvMpi_.js} +3 -3
  132. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-QZMrDtOa.js → ganttDiagram-EL5Y4UJY-Ix5W25h0.js} +3 -3
  133. package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-CY0V5PYj.js +106 -0
  134. package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-CieNMLLD.js +106 -0
  135. package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-DtTUInJx.js +106 -0
  136. package/dist-embed/chunks/{gitGraphDiagram-f01e8bc2-C5glz__6.js → gitGraphDiagram-f01e8bc2-B7CTdpxh.js} +2 -2
  137. package/dist-embed/chunks/{gl-ES-HMX3MZ6V-CuWi9MKI.js → gl-ES-HMX3MZ6V-D0gZC3Qs.js} +1 -1
  138. package/dist-embed/chunks/{he-IL-6SHJWFNN-CZ7rDY29.js → he-IL-6SHJWFNN-BpsgumHA.js} +1 -1
  139. package/dist-embed/chunks/{hi-IN-IWLTKZ5I-BOtn2GYM.js → hi-IN-IWLTKZ5I-1U7gawIv.js} +1 -1
  140. package/dist-embed/chunks/{hu-HU-A5ZG7DT2-Da2fd7BW.js → hu-HU-A5ZG7DT2-zY5nzegx.js} +1 -1
  141. package/dist-embed/chunks/{id-ID-SAP4L64H-DygGPsGR.js → id-ID-SAP4L64H-p8kr2CI9.js} +1 -1
  142. package/dist-embed/chunks/{index-CDGGINfN.js → index-4SXYvuYi.js} +1 -1
  143. package/dist-embed/chunks/{index-9bae90f3-C6Xh0qGL.js → index-9bae90f3-_IqcZYff.js} +1 -1
  144. package/dist-embed/chunks/{index-B6ISkj2i.js → index-B9_Wb9MN.js} +1 -1
  145. package/dist-embed/chunks/index-BWTYs63X.js +1 -0
  146. package/dist-embed/chunks/{index-DIoOWi0w.js → index-BbLfaxiL.js} +2 -2
  147. package/dist-embed/chunks/{index-CMna4RvT.js → index-BeDw56-P.js} +1 -1
  148. package/dist-embed/chunks/{index-DUtVEK_h.js → index-Bi_Lrakd.js} +55 -55
  149. package/dist-embed/chunks/index-BqnIBWZ9.js +35 -0
  150. package/dist-embed/chunks/index-C0jxnCf_.js +1 -0
  151. package/dist-embed/chunks/{index-Gy_uosvT.js → index-C6p1fI_l.js} +1 -1
  152. package/dist-embed/chunks/{index-e62XL6B3.js → index-C7Y6qb5P.js} +41 -41
  153. package/dist-embed/chunks/index-CCwTAE5t.js +1 -0
  154. package/dist-embed/chunks/index-CEoN6Igz.js +1 -0
  155. package/dist-embed/chunks/index-CGywzy5S.js +2 -0
  156. package/dist-embed/chunks/index-CslfR-ws.js +1 -0
  157. package/dist-embed/chunks/index-D1WP6gqy.js +2 -0
  158. package/dist-embed/chunks/{index-BeA4XI1t.js → index-DTxyD1Cg.js} +1 -1
  159. package/dist-embed/chunks/index-Da0hjuSR.js +1 -0
  160. package/dist-embed/chunks/{index-ErZ9_T3y.js → index-DjEoMYXa.js} +12 -12
  161. package/dist-embed/chunks/{index-CF9HUHN8.js → index-Dy9evYbM.js} +1 -1
  162. package/dist-embed/chunks/index-Dz7T8mqj.js +6 -0
  163. package/dist-embed/chunks/index-LJsqLy5q.js +1 -0
  164. package/dist-embed/chunks/{index-B40K_78l.js → index-MIDt7IxB.js} +1 -1
  165. package/dist-embed/chunks/{index-DrXZebZS.js → index-VedUjmyH.js} +1 -1
  166. package/dist-embed/chunks/{index-fi_KzQoZ.js → index-lC26z37v.js} +1 -1
  167. package/dist-embed/chunks/index-n0wY5AOk.js +17 -0
  168. package/dist-embed/chunks/index-x4xjV1QS.js +1 -0
  169. package/dist-embed/chunks/infoDiagram-27XIBGKW-CjrU5YxR.js +2 -0
  170. package/dist-embed/chunks/infoDiagram-27XIBGKW-CygK1B8s.js +2 -0
  171. package/dist-embed/chunks/infoDiagram-27XIBGKW-y2jlnC74.js +2 -0
  172. package/dist-embed/chunks/{infoDiagram-a29d40f1-C84ltR9z.js → infoDiagram-a29d40f1-CxLYanuc.js} +2 -2
  173. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-19vfXaSu.js → ishikawaDiagram-5VMMS53U-B4bKsqAA.js} +2 -2
  174. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-BKwHxl_c.js → ishikawaDiagram-5VMMS53U-B_r8LPoh.js} +6 -6
  175. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-DxmD4pNL.js → ishikawaDiagram-5VMMS53U-D3Gs1zXZ.js} +6 -6
  176. package/dist-embed/chunks/{it-IT-JPQ66NNP-C61ct2vR.js → it-IT-JPQ66NNP-CxNntye1.js} +1 -1
  177. package/dist-embed/chunks/{ja-JP-DBVTYXUO-DsuHLQzd.js → ja-JP-DBVTYXUO-D2eNPUzJ.js} +1 -1
  178. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-BtJM0rtE.js → journeyDiagram-3NMN7TZE-CPKVw4E2.js} +2 -2
  179. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-CRrrfAmB.js → journeyDiagram-3NMN7TZE-CdSVPmSP.js} +2 -2
  180. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-D8vrwew7.js → journeyDiagram-3NMN7TZE-D5N9LfNb.js} +2 -2
  181. package/dist-embed/chunks/{journeyDiagram-95396277-91Yn8aB5.js → journeyDiagram-95396277-maRimpb1.js} +2 -2
  182. package/dist-embed/chunks/kaa-6HZHGXH3-B9Jduu1i.js +1 -0
  183. package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-lymWJChw.js → kab-KAB-ZGHBKWFO-D80S5Hke.js} +1 -1
  184. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-BI3EeL_e.js → kanban-definition-UXKFOSKX-6OQwjjDA.js} +2 -2
  185. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-BD4YKCh4.js → kanban-definition-UXKFOSKX-9X8AwfWh.js} +2 -2
  186. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-DFA9oGiU.js → kanban-definition-UXKFOSKX-DNrz6elS.js} +2 -2
  187. package/dist-embed/chunks/kk-KZ-P5N5QNE5-dttniW7L.js +1 -0
  188. package/dist-embed/chunks/{km-KH-HSX4SM5Z-C__pm6qQ.js → km-KH-HSX4SM5Z-CwFUU4KI.js} +1 -1
  189. package/dist-embed/chunks/{ko-KR-MTYHY66A-D5yQS5Y4.js → ko-KR-MTYHY66A-6qkv_Dp9.js} +1 -1
  190. package/dist-embed/chunks/{ku-TR-6OUDTVRD-OIGj43yE.js → ku-TR-6OUDTVRD-C4Mq1URI.js} +1 -1
  191. package/dist-embed/chunks/{layout-C3jdOWbU.js → layout-Br9qZ7AW.js} +1 -1
  192. package/dist-embed/chunks/{layout-DWmuzni9.js → layout-CA7S7W88.js} +1 -1
  193. package/dist-embed/chunks/{layout-Dj_zgK51.js → layout-DvZ5NRsQ.js} +1 -1
  194. package/dist-embed/chunks/{lt-LT-XHIRWOB4-UGZ71aBo.js → lt-LT-XHIRWOB4-Cxuhrxpe.js} +1 -1
  195. package/dist-embed/chunks/{lv-LV-5QDEKY6T-LRIHo0NC.js → lv-LV-5QDEKY6T-2nfUsrY3.js} +1 -1
  196. package/dist-embed/chunks/{mermaid.core-DIIwHAlX.js → mermaid.core-CCCzTT5Y.js} +14 -14
  197. package/dist-embed/chunks/{mermaid.core-DF6jaPnW.js → mermaid.core-DRZOVBT3.js} +11 -11
  198. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-D6u4H_xO.js → mindmap-definition-YA3MSWOX-BjThuhS8.js} +4 -4
  199. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-fBVFRUCw.js → mindmap-definition-YA3MSWOX-DFMy0Zmf.js} +4 -4
  200. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-3bvIJFMV.js → mindmap-definition-YA3MSWOX-H2yRQ6u8.js} +4 -4
  201. package/dist-embed/chunks/{mindmap-definition-e4c1d938-DbYGQCf5.js → mindmap-definition-e4c1d938-vjhx3bcZ.js} +4 -4
  202. package/dist-embed/chunks/{mr-IN-CRQNXWMA-BXO8TJMv.js → mr-IN-CRQNXWMA-HC9cqgFo.js} +1 -1
  203. package/dist-embed/chunks/my-MM-5M5IBNSE-0zP3tJ-6.js +1 -0
  204. package/dist-embed/chunks/{nb-NO-T6EIAALU-UnDxFcwr.js → nb-NO-T6EIAALU-B7KA5H1w.js} +1 -1
  205. package/dist-embed/chunks/{nl-NL-IS3SIHDZ-CdTeVF3c.js → nl-NL-IS3SIHDZ-BqrheHUd.js} +1 -1
  206. package/dist-embed/chunks/{nn-NO-6E72VCQL-nLVDeuAb.js → nn-NO-6E72VCQL-DjkBZa_a.js} +1 -1
  207. package/dist-embed/chunks/{oc-FR-POXYY2M6-CGDfJA5K.js → oc-FR-POXYY2M6-Cu_3WEeT.js} +1 -1
  208. package/dist-embed/chunks/{pa-IN-N4M65BXN-h3gZ9Ic4.js → pa-IN-N4M65BXN-5JMtBjML.js} +1 -1
  209. package/dist-embed/chunks/pegDiagram-XKGWAZYB-1AWuvKdx.js +1 -0
  210. package/dist-embed/chunks/pegDiagram-XKGWAZYB-BAhw3noh.js +1 -0
  211. package/dist-embed/chunks/pegDiagram-XKGWAZYB-CO2oVfmH.js +1 -0
  212. package/dist-embed/chunks/{percentages-BXMCSKIN-BQMwWCQD.js → percentages-BXMCSKIN-BIq0kwQL.js} +5 -5
  213. package/dist-embed/chunks/pieDiagram-E7YTZNPT-8ObvGarl.js +39 -0
  214. package/dist-embed/chunks/pieDiagram-E7YTZNPT-BGXX7TE5.js +39 -0
  215. package/dist-embed/chunks/pieDiagram-E7YTZNPT-uyUfJur0.js +39 -0
  216. package/dist-embed/chunks/{pieDiagram-c941bede-Cj4FBN3j.js → pieDiagram-c941bede-CiwJwky_.js} +5 -5
  217. package/dist-embed/chunks/{pl-PL-T2D74RX3-D83IXMGV.js → pl-PL-T2D74RX3--llsK5eC.js} +1 -1
  218. package/dist-embed/chunks/{pt-BR-5N22H2LF-C-tCCB23.js → pt-BR-5N22H2LF-Bakh_msU.js} +1 -1
  219. package/dist-embed/chunks/{pt-PT-UZXXM6DQ-BfalAAyJ.js → pt-PT-UZXXM6DQ-OxrpUCfx.js} +1 -1
  220. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-Be4yYxRi.js → quadrantDiagram-AXDQQJYC-CRV4o4qb.js} +4 -4
  221. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-DWfnlrHL.js → quadrantDiagram-AXDQQJYC-CRh_0GTn.js} +4 -4
  222. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-299UcZFW.js → quadrantDiagram-AXDQQJYC-MaByZiV4.js} +2 -2
  223. package/dist-embed/chunks/{quadrantDiagram-cf8b8fe0-qh1uZ5v_.js → quadrantDiagram-cf8b8fe0-Wunt4_d5.js} +2 -2
  224. package/dist-embed/chunks/railroadDiagram-O6MQD6OU-CCaje6VF.js +1 -0
  225. package/dist-embed/chunks/railroadDiagram-O6MQD6OU-Dqphwk0Z.js +1 -0
  226. package/dist-embed/chunks/railroadDiagram-O6MQD6OU-JQKf7O31.js +1 -0
  227. package/dist-embed/chunks/{renderer-VW8Zgoi-.js → renderer-DX-Dx5-F.js} +1 -1
  228. package/dist-embed/chunks/{requirementDiagram-53bda41b-C_KZy5Fe.js → requirementDiagram-53bda41b-TCOAg1rM.js} +2 -2
  229. package/dist-embed/chunks/requirementDiagram-BXWQKSXE-Bm0upXLv.js +84 -0
  230. package/dist-embed/chunks/requirementDiagram-BXWQKSXE-C2uapxGA.js +84 -0
  231. package/dist-embed/chunks/requirementDiagram-BXWQKSXE-DJxuQg-7.js +84 -0
  232. package/dist-embed/chunks/{ro-RO-JPDTUUEW-BE1v-gpB.js → ro-RO-JPDTUUEW-uuey0xG_.js} +1 -1
  233. package/dist-embed/chunks/{ru-RU-B4JR7IUQ-CVNYAGNj.js → ru-RU-B4JR7IUQ-DqFdpWv9.js} +1 -1
  234. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-BWZcxo3B.js → sankeyDiagram-P5KCCOFB-CLZzsFhP.js} +6 -6
  235. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-CatGDvVZ.js → sankeyDiagram-P5KCCOFB-D_ovN9Nw.js} +6 -6
  236. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-2w9aAGeM.js → sankeyDiagram-P5KCCOFB-SUZr8YYS.js} +6 -6
  237. package/dist-embed/chunks/{sankeyDiagram-c3ef121a-B6bWzn2q.js → sankeyDiagram-c3ef121a-_iCn_Xqv.js} +2 -2
  238. package/dist-embed/chunks/{sequenceDiagram-82a5b84f-CaIr2bxU.js → sequenceDiagram-82a5b84f-CZ9YH4d5.js} +2 -2
  239. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-B67pBo6k.js → sequenceDiagram-WJ2MYXX4-BKNAKMB-.js} +2 -2
  240. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-DlhUecfS.js → sequenceDiagram-WJ2MYXX4-BiNzit2i.js} +2 -2
  241. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-CBRqz17v.js → sequenceDiagram-WJ2MYXX4-CxJBbJNf.js} +2 -2
  242. package/dist-embed/chunks/si-LK-N5RQ5JYF-CvENlHMe.js +1 -0
  243. package/dist-embed/chunks/sizeCapture-INFHLROL-CfXgq7GH.js +1 -0
  244. package/dist-embed/chunks/sizeCapture-INFHLROL-DdEoxy_h.js +1 -0
  245. package/dist-embed/chunks/sizeCapture-INFHLROL-DzGAMY7V.js +1 -0
  246. package/dist-embed/chunks/{sk-SK-C5VTKIMK-CnlsIkzl.js → sk-SK-C5VTKIMK-kO7aKifc.js} +1 -1
  247. package/dist-embed/chunks/{sl-SI-NN7IZMDC-BUxNatf_.js → sl-SI-NN7IZMDC-BSfu_xTu.js} +1 -1
  248. package/dist-embed/chunks/stateDiagram-43e79a5f-BD1qBXVh.js +1 -0
  249. package/dist-embed/chunks/stateDiagram-D77RDMKH-BdFfP6-j.js +1 -0
  250. package/dist-embed/chunks/stateDiagram-D77RDMKH-C6Rh7O9V.js +1 -0
  251. package/dist-embed/chunks/stateDiagram-D77RDMKH-CZM-t-r5.js +1 -0
  252. package/dist-embed/chunks/stateDiagram-v2-2041ed4f-CKbh55dE.js +1 -0
  253. package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-BHkGSAh9.js +1 -0
  254. package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-CBRXg201.js +1 -0
  255. package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-CtwsmZKB.js +1 -0
  256. package/dist-embed/chunks/{styles-455b33cd-DTnW81zt.js → styles-455b33cd-IAZJyrtZ.js} +1 -1
  257. package/dist-embed/chunks/styles-f932cba9-CulCjJgD.js +116 -0
  258. package/dist-embed/chunks/{styles-fcc2142b-DS8IKMau.js → styles-fcc2142b-B41TEwDB.js} +1 -1
  259. package/dist-embed/chunks/{subset-shared.chunk-CTwDOb0-.js → subset-shared.chunk-BerOLB9H.js} +1 -1
  260. package/dist-embed/chunks/subset-worker.chunk-Yn1lZtLj.js +1 -0
  261. package/dist-embed/chunks/{sv-SE-XGPEYMSR-cyuprKcs.js → sv-SE-XGPEYMSR-CwWdagrq.js} +1 -1
  262. package/dist-embed/chunks/{svgDrawCommon-148a3cd9-BxghTVdH.js → svgDrawCommon-148a3cd9-BFE-Fru-.js} +1 -1
  263. package/dist-embed/chunks/swimlanes-42K2YHIH-B4ynl1fF.js +1 -0
  264. package/dist-embed/chunks/swimlanes-42K2YHIH-C3Ob3hRX.js +1 -0
  265. package/dist-embed/chunks/swimlanes-42K2YHIH-C4SGzTvJ.js +1 -0
  266. package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-BXjgQ3GL.js +8 -0
  267. package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-C7a6omGx.js +8 -0
  268. package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-Clkyphbe.js +8 -0
  269. package/dist-embed/chunks/{ta-IN-2NMHFXQM-Byh0RKP5.js → ta-IN-2NMHFXQM-re3EiMgT.js} +1 -1
  270. package/dist-embed/chunks/th-TH-HPSO5L25-DtD0NaIp.js +2 -0
  271. package/dist-embed/chunks/{timeline-definition-24CTP7MA-D_rwkEbI.js → timeline-definition-24CTP7MA-BNDeFofK.js} +2 -2
  272. package/dist-embed/chunks/{timeline-definition-24CTP7MA-CbdMtllQ.js → timeline-definition-24CTP7MA-Cq0llA9E.js} +2 -2
  273. package/dist-embed/chunks/{timeline-definition-24CTP7MA-4T6yq6Xl.js → timeline-definition-24CTP7MA-meb3YGxd.js} +2 -2
  274. package/dist-embed/chunks/{timeline-definition-7545f45a-BV1QYS8b.js → timeline-definition-7545f45a-_IXtAyNt.js} +2 -2
  275. package/dist-embed/chunks/{tr-TR-DEFEU3FU-CnqB5qYp.js → tr-TR-DEFEU3FU-C7nWPcvx.js} +1 -1
  276. package/dist-embed/chunks/{uk-UA-QMV73CPH-T0hbDiAg.js → uk-UA-QMV73CPH-BXHaS8be.js} +1 -1
  277. package/dist-embed/chunks/{venn.esm-6w9J1Bn7.js → venn.esm-DcgGHut9.js} +2 -2
  278. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-Bvimw16k.js → vennDiagram-4TSXK5OY-5vXx1zIe.js} +4 -4
  279. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-CBXnZEfU.js → vennDiagram-4TSXK5OY-B_43mUqs.js} +4 -4
  280. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-CYAyZJWP.js → vennDiagram-4TSXK5OY-cdkeJjkW.js} +4 -4
  281. package/dist-embed/chunks/{vi-VN-M7AON7JQ-BbVJrx8R.js → vi-VN-M7AON7JQ-D29vQQkQ.js} +1 -1
  282. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-B9iqutw0.js → wardleyDiagram-VM6X3IG4-1VXLU7d1.js} +2 -2
  283. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-k_2iCVDr.js → wardleyDiagram-VM6X3IG4-CDIFTq28.js} +2 -2
  284. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-CkqyRdUt.js → wardleyDiagram-VM6X3IG4-xAtWwDfd.js} +2 -2
  285. package/dist-embed/chunks/{xychartDiagram-3f383b91-L3ZS62LU.js → xychartDiagram-3f383b91-BuaB0j8f.js} +5 -5
  286. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z--E3rc8E6.js → xychartDiagram-S5SC5T6Z-BL2yRZOy.js} +2 -2
  287. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-COkEQpnW.js → xychartDiagram-S5SC5T6Z-BUZxSIAO.js} +2 -2
  288. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-DufzH9GE.js → xychartDiagram-S5SC5T6Z-CHRdLn8n.js} +2 -2
  289. package/dist-embed/chunks/{zh-CN-LNUGB5OW-B2XCvd4u.js → zh-CN-LNUGB5OW-hmUIulf5.js} +1 -1
  290. package/dist-embed/chunks/zh-HK-E62DVLB3-Bew_EKh4.js +1 -0
  291. package/dist-embed/chunks/{zh-TW-RAJ6MFWO-fBqMZFIZ.js → zh-TW-RAJ6MFWO-GAr_9KYn.js} +1 -1
  292. package/dist-embed/datalayer-app-main.js +28 -27
  293. package/lib/apps/core/canvasParts.d.ts +1 -1
  294. package/lib/apps/plugins/canvas-parts/index.d.ts +9 -1
  295. package/lib/apps/plugins/canvas-parts/index.js +42 -0
  296. package/lib/battles/index.d.ts +1 -0
  297. package/lib/battles/index.js +5 -0
  298. package/lib/battles/verdict.d.ts +76 -0
  299. package/lib/battles/verdict.js +122 -0
  300. package/lib/chat/assistant/SpeechBalloon.js +2 -2
  301. package/lib/components/code-sandboxes/CodeSandboxEnvironmentSelect.d.ts +7 -8
  302. package/lib/components/code-sandboxes/CodeSandboxEnvironmentSelect.js +133 -27
  303. package/lib/components/code-sandboxes/CodeSandboxPicker.js +3 -0
  304. package/lib/components/code-sandboxes/codeSandboxEnvironments.d.ts +3 -2
  305. package/lib/components/code-sandboxes/codeSandboxEnvironments.js +3 -2
  306. package/lib/index.d.ts +1 -1
  307. package/lib/models/Environment.d.ts +8 -0
  308. package/lib/models/environments.generated.d.ts +9 -1
  309. package/lib/models/environments.generated.js +1 -1
  310. package/lib/specs/battles.d.ts +17 -0
  311. package/lib/specs/battles.js +144 -0
  312. package/lib/specs/guards.d.ts +11 -3
  313. package/lib/specs/guards.js +67 -636
  314. package/lib/specs/index.d.ts +1 -1
  315. package/lib/specs/index.js +1 -1
  316. package/lib/specs/ops.js +23 -701
  317. package/lib/specs/tracks.d.ts +2 -0
  318. package/lib/specs/tracks.js +70 -0
  319. package/lib/types/agentspecs.d.ts +59 -9
  320. package/lib/types/guardrails.d.ts +62 -94
  321. package/package.json +2 -2
  322. package/scripts/codegen/generate_agents.py +0 -1
  323. package/scripts/codegen/generate_ops.py +82 -26
  324. package/dist-embed/chunks/AgentInspector-CgyzKeHG.js +0 -1
  325. package/dist-embed/chunks/EphemeralDocument-BqDLSVvb.js +0 -1
  326. package/dist-embed/chunks/ExcalidrawComponent-DIz2Hp3F.js +0 -1
  327. package/dist-embed/chunks/ExcalidrawModal-Bz4nrIlA.js +0 -1
  328. package/dist-embed/chunks/NotebookToolSurfaces-Ch-7Pk_I.js +0 -1
  329. package/dist-embed/chunks/Tableau10-B-NsZVaP.js +0 -1
  330. package/dist-embed/chunks/WidgetVariableView-BEQqawKT.js +0 -1
  331. package/dist-embed/chunks/abnfDiagram-VCTEODGH-Cviduj-e.js +0 -1
  332. package/dist-embed/chunks/abnfDiagram-VCTEODGH-DRYUPXKp.js +0 -1
  333. package/dist-embed/chunks/abnfDiagram-VCTEODGH-uQbfcTeh.js +0 -1
  334. package/dist-embed/chunks/advancedFormat-Cytc7Lc-.js +0 -1
  335. package/dist-embed/chunks/arc-CvuHsKVP.js +0 -1
  336. package/dist-embed/chunks/array-BKyUJesY.js +0 -1
  337. package/dist-embed/chunks/az-AZ-76LH7QW2-By3wlF01.js +0 -1
  338. package/dist-embed/chunks/band-dPffDWoQ.js +0 -1
  339. package/dist-embed/chunks/channel-DSSC-Z6W.js +0 -1
  340. package/dist-embed/chunks/classDiagram-ZZMXUADV-2t4a-wcA.js +0 -1
  341. package/dist-embed/chunks/classDiagram-ZZMXUADV-9WVRK_2x.js +0 -1
  342. package/dist-embed/chunks/classDiagram-ZZMXUADV-Dh5wgyac.js +0 -1
  343. package/dist-embed/chunks/classDiagram-f62afe4f-CaiUEXWA.js +0 -2
  344. package/dist-embed/chunks/classDiagram-v2-604399ef-CZz_cEb3.js +0 -2
  345. package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-2t4a-wcA.js +0 -1
  346. package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-9WVRK_2x.js +0 -1
  347. package/dist-embed/chunks/classDiagram-v2-VYDZK3BY-Dh5wgyac.js +0 -1
  348. package/dist-embed/chunks/color-CG7_7V2-.js +0 -1
  349. package/dist-embed/chunks/cose-bilkent-JH36ORCC-CYdr15Qb.js +0 -1
  350. package/dist-embed/chunks/cose-bilkent-JH36ORCC-D7xkFMi4.js +0 -1
  351. package/dist-embed/chunks/cose-bilkent-JH36ORCC-DyL8-f5N.js +0 -1
  352. package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-B-cEXnFH.js +0 -62
  353. package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-DkFOdRYH.js +0 -62
  354. package/dist-embed/chunks/cynefinDiagram-5FMLGOSQ-wHBoNo7j.js +0 -62
  355. package/dist-embed/chunks/defaultLocale-5voVPcsN.js +0 -1
  356. package/dist-embed/chunks/diagram-UQ7AKVKN-2cPTLkSD.js +0 -41
  357. package/dist-embed/chunks/diagram-UQ7AKVKN-CSMVfm7b.js +0 -41
  358. package/dist-embed/chunks/diagram-UQ7AKVKN-C_jt0u6D.js +0 -41
  359. package/dist-embed/chunks/diagram-VX7I27RA-BJ2YQn5K.js +0 -24
  360. package/dist-embed/chunks/diagram-VX7I27RA-DA1J99rY.js +0 -24
  361. package/dist-embed/chunks/diagram-VX7I27RA-Dm3pOzxq.js +0 -24
  362. package/dist-embed/chunks/diagram-Z3DM3KII-C5sZC4ig.js +0 -24
  363. package/dist-embed/chunks/diagram-Z3DM3KII-CVmSZjIo.js +0 -24
  364. package/dist-embed/chunks/diagram-Z3DM3KII-DVQwJUFe.js +0 -24
  365. package/dist-embed/chunks/ebnfDiagram-PWID7BFC-DwtRvYrD.js +0 -1
  366. package/dist-embed/chunks/ebnfDiagram-PWID7BFC-Qmmh9DWc.js +0 -1
  367. package/dist-embed/chunks/ebnfDiagram-PWID7BFC-YwFzQxr5.js +0 -1
  368. package/dist-embed/chunks/edges-b2856ca0-Cn0ZKu5E.js +0 -4
  369. package/dist-embed/chunks/flowDiagram-v2-1d953310-5ThB3y9b.js +0 -1
  370. package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-1XlTL5m_.js +0 -106
  371. package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-APR1d-tc.js +0 -106
  372. package/dist-embed/chunks/gitGraphDiagram-WWUBYQGX-BAP8EKLt.js +0 -106
  373. package/dist-embed/chunks/hcl-DhKDpa4Z.js +0 -1
  374. package/dist-embed/chunks/index-BF1314TG.js +0 -1
  375. package/dist-embed/chunks/index-BYQPOTc8.js +0 -1
  376. package/dist-embed/chunks/index-Ben6aEe6.js +0 -1
  377. package/dist-embed/chunks/index-CFSUTqDN.js +0 -1
  378. package/dist-embed/chunks/index-CvYzv8kf.js +0 -1
  379. package/dist-embed/chunks/index-D4a8E78-.js +0 -34
  380. package/dist-embed/chunks/index-D7tggxpZ.js +0 -1
  381. package/dist-embed/chunks/index-D99YJ2MP.js +0 -1
  382. package/dist-embed/chunks/index-DDgcbci7.js +0 -17
  383. package/dist-embed/chunks/index-DOI3H9VM.js +0 -2
  384. package/dist-embed/chunks/index-DcQTeOGT.js +0 -2
  385. package/dist-embed/chunks/index-DqGFpucN.js +0 -6
  386. package/dist-embed/chunks/index-Dw3RE4d5.js +0 -1
  387. package/dist-embed/chunks/index-MUnyaGR7.js +0 -1
  388. package/dist-embed/chunks/index-atSsKceW.js +0 -1
  389. package/dist-embed/chunks/infoDiagram-27XIBGKW-BRFvlR5E.js +0 -2
  390. package/dist-embed/chunks/infoDiagram-27XIBGKW-D2VjYulT.js +0 -2
  391. package/dist-embed/chunks/infoDiagram-27XIBGKW-mC-wx4e9.js +0 -2
  392. package/dist-embed/chunks/init-Gi6I4Gst.js +0 -1
  393. package/dist-embed/chunks/kaa-6HZHGXH3-DXk4Goog.js +0 -1
  394. package/dist-embed/chunks/kk-KZ-P5N5QNE5-BVNL23_r.js +0 -1
  395. package/dist-embed/chunks/line-DT6NiYhi.js +0 -1
  396. package/dist-embed/chunks/linear-BpNYqLzz.js +0 -1
  397. package/dist-embed/chunks/my-MM-5M5IBNSE-CRUW8B_2.js +0 -1
  398. package/dist-embed/chunks/ordinal-Cboi1Yqb.js +0 -1
  399. package/dist-embed/chunks/path-CbwjOpE9.js +0 -1
  400. package/dist-embed/chunks/pegDiagram-XKGWAZYB-CtWh5AAX.js +0 -1
  401. package/dist-embed/chunks/pegDiagram-XKGWAZYB-D0zyGRR2.js +0 -1
  402. package/dist-embed/chunks/pegDiagram-XKGWAZYB-fy3EphLc.js +0 -1
  403. package/dist-embed/chunks/pie-BU9ZrLAC.js +0 -1
  404. package/dist-embed/chunks/pieDiagram-E7YTZNPT-BsWWB93l.js +0 -39
  405. package/dist-embed/chunks/pieDiagram-E7YTZNPT-CArVdetR.js +0 -39
  406. package/dist-embed/chunks/pieDiagram-E7YTZNPT-DNxhxWw6.js +0 -39
  407. package/dist-embed/chunks/railroadDiagram-O6MQD6OU-C9HR2VRW.js +0 -1
  408. package/dist-embed/chunks/railroadDiagram-O6MQD6OU-COJ52k8E.js +0 -1
  409. package/dist-embed/chunks/railroadDiagram-O6MQD6OU-DPlEOlHJ.js +0 -1
  410. package/dist-embed/chunks/requirementDiagram-BXWQKSXE-2dtqnxe5.js +0 -84
  411. package/dist-embed/chunks/requirementDiagram-BXWQKSXE-BSUw2gn-.js +0 -84
  412. package/dist-embed/chunks/requirementDiagram-BXWQKSXE-BxFFoRpi.js +0 -84
  413. package/dist-embed/chunks/round-BfLWjAu-.js +0 -1
  414. package/dist-embed/chunks/si-LK-N5RQ5JYF-DUuCNsO5.js +0 -1
  415. package/dist-embed/chunks/sizeCapture-INFHLROL-BEjCofob.js +0 -1
  416. package/dist-embed/chunks/sizeCapture-INFHLROL-DMtgrDCy.js +0 -1
  417. package/dist-embed/chunks/sizeCapture-INFHLROL-fPkZXPlY.js +0 -1
  418. package/dist-embed/chunks/stateDiagram-43e79a5f-C9c4jD1w.js +0 -1
  419. package/dist-embed/chunks/stateDiagram-D77RDMKH-BwBOxQvl.js +0 -1
  420. package/dist-embed/chunks/stateDiagram-D77RDMKH-C3hsuLFV.js +0 -1
  421. package/dist-embed/chunks/stateDiagram-D77RDMKH-dWsBlue-.js +0 -1
  422. package/dist-embed/chunks/stateDiagram-v2-2041ed4f-CcvTvP8J.js +0 -1
  423. package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-BynTEikt.js +0 -1
  424. package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-CRNCbzUu.js +0 -1
  425. package/dist-embed/chunks/stateDiagram-v2-MP3YSRHH-yYUm25Cg.js +0 -1
  426. package/dist-embed/chunks/styles-f932cba9-DvbsLPZ9.js +0 -116
  427. package/dist-embed/chunks/subset-worker.chunk-CY8G1DYa.js +0 -1
  428. package/dist-embed/chunks/swimlanes-42K2YHIH-CGEWUgMO.js +0 -1
  429. package/dist-embed/chunks/swimlanes-42K2YHIH-DY5rybP3.js +0 -1
  430. package/dist-embed/chunks/swimlanes-42K2YHIH-DiRx3T6S.js +0 -1
  431. package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-BmSxUdGr.js +0 -8
  432. package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-BmTIqylO.js +0 -8
  433. package/dist-embed/chunks/swimlanesDiagram-VR7AAH4N-Dmom79F0.js +0 -8
  434. package/dist-embed/chunks/th-TH-HPSO5L25-C8zeMDt2.js +0 -2
  435. package/dist-embed/chunks/zh-HK-E62DVLB3-D8xk7wby.js +0 -1
  436. package/lib/specs/guardrails.d.ts +0 -22
  437. package/lib/specs/guardrails.js +0 -391
  438. package/scripts/codegen/generate_guardrails.py +0 -475
@@ -1,10 +1,10 @@
1
- import{g as re}from"./chunk-XXDRQBXY-D9b9c_ic.js";import{s as oe}from"./chunk-POPQ4Y6H-CKubmyGa.js";import{_ as l,l as O,u as ae,v as ce,y as le,B as F,c as $,i as V,T as he}from"./mermaid.core-DF6jaPnW.js";import{n as de,o as ge,q as ue}from"./index-DqGFpucN.js";import{v as pe}from"./v4-CeVyOvU8.js";import"../datalayer-app-main.js";import"./fastdom-promised-ihiknY5F.js";import"./line-DT6NiYhi.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./color-CG7_7V2-.js";import"./index-atSsKceW.js";import"./stringify-D92ucQ0I.js";var X=(function(){var e=l(function(x,n,i,o){for(i=i||{},o=x.length;o--;i[x[o]]=n);return i},"o"),r=[1,4],u=[1,13],c=[1,12],t=[1,15],h=[1,16],f=[1,20],m=[1,19],E=[6,7,8],v=[1,26],C=[1,24],I=[1,25],d=[6,7,11],w=[1,6,13,15,16,19,22],Y=[1,33],q=[1,34],R=[1,6,7,11,13,15,16,19,22],G={trace:l(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:l(function(n,i,o,a,p,s,A){var g=s.length-1;switch(p){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",s[g].id),a.addNode(s[g-1].length,s[g].id,s[g].descr,s[g].type);break;case 16:a.getLogger().trace("Icon: ",s[g]),a.decorateNode({icon:s[g]});break;case 17:case 21:a.decorateNode({class:s[g]});break;case 18:a.getLogger().trace("SPACELIST");break;case 19:a.getLogger().trace("Node: ",s[g].id),a.addNode(0,s[g].id,s[g].descr,s[g].type);break;case 20:a.decorateNode({icon:s[g]});break;case 25:a.getLogger().trace("node found ..",s[g-2]),this.$={id:s[g-1],descr:s[g-1],type:a.getType(s[g-2],s[g])};break;case 26:this.$={id:s[g],descr:s[g],type:a.nodeType.DEFAULT};break;case 27:a.getLogger().trace("node found ..",s[g-3]),this.$={id:s[g-3],descr:s[g-1],type:a.getType(s[g-2],s[g])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:r},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:r},{6:u,7:[1,10],9:9,12:11,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},e(E,[2,3]),{1:[2,2]},e(E,[2,4]),e(E,[2,5]),{1:[2,6],6:u,12:21,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},{6:u,9:22,12:11,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},{6:v,7:C,10:23,11:I},e(d,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:f,22:m}),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),e(d,[2,21]),e(d,[2,23]),e(d,[2,24]),e(d,[2,26],{19:[1,30]}),{20:[1,31]},{6:v,7:C,10:32,11:I},{1:[2,7],6:u,12:21,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},e(w,[2,14],{7:Y,11:q}),e(R,[2,8]),e(R,[2,9]),e(R,[2,10]),e(d,[2,15]),e(d,[2,16]),e(d,[2,17]),{20:[1,35]},{21:[1,36]},e(w,[2,13],{7:Y,11:q}),e(R,[2,11]),e(R,[2,12]),{21:[1,37]},e(d,[2,25]),e(d,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:l(function(n,i){if(i.recoverable)this.trace(n);else{var o=new Error(n);throw o.hash=i,o}},"parseError"),parse:l(function(n){var i=this,o=[0],a=[],p=[null],s=[],A=this.table,g="",P=0,J=0,te=2,K=1,ie=s.slice.call(arguments,1),y=Object.create(this.lexer),D={yy:{}};for(var j in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j)&&(D.yy[j]=this.yy[j]);y.setInput(n,D.yy),D.yy.lexer=y,D.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var H=y.yylloc;s.push(H);var ne=y.options&&y.options.ranges;typeof D.yy.parseError=="function"?this.parseError=D.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function se(k){o.length=o.length-2*k,p.length=p.length-k,s.length=s.length-k}l(se,"popStack");function Q(){var k;return k=a.pop()||y.lex()||K,typeof k!="number"&&(k instanceof Array&&(a=k,k=a.pop()),k=i.symbols_[k]||k),k}l(Q,"lex");for(var _,L,b,W,T={},M,S,Z,U;;){if(L=o[o.length-1],this.defaultActions[L]?b=this.defaultActions[L]:((_===null||typeof _>"u")&&(_=Q()),b=A[L]&&A[L][_]),typeof b>"u"||!b.length||!b[0]){var z="";U=[];for(M in A[L])this.terminals_[M]&&M>te&&U.push("'"+this.terminals_[M]+"'");y.showPosition?z="Parse error on line "+(P+1)+`:
1
+ import{g as re}from"./chunk-XXDRQBXY-p7YSmJfy.js";import{s as oe}from"./chunk-POPQ4Y6H-igzMuKdy.js";import{_ as l,l as O,u as ae,v as ce,y as le,B as F,c as $,i as V,T as he}from"./mermaid.core-DRZOVBT3.js";import{v as de}from"./v4-CeVyOvU8.js";import{i as ge,c as ue,e as pe}from"./index-Dz7T8mqj.js";import"../datalayer-app-main.js";import"./fastdom-promised-ihiknY5F.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./stringify-D92ucQ0I.js";import"./dayjs.min-u3zuoSR8.js";var X=(function(){var e=l(function(x,n,i,o){for(i=i||{},o=x.length;o--;i[x[o]]=n);return i},"o"),r=[1,4],u=[1,13],c=[1,12],t=[1,15],h=[1,16],f=[1,20],m=[1,19],E=[6,7,8],v=[1,26],C=[1,24],I=[1,25],d=[6,7,11],w=[1,6,13,15,16,19,22],Y=[1,33],q=[1,34],R=[1,6,7,11,13,15,16,19,22],G={trace:l(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:l(function(n,i,o,a,p,s,A){var g=s.length-1;switch(p){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",s[g].id),a.addNode(s[g-1].length,s[g].id,s[g].descr,s[g].type);break;case 16:a.getLogger().trace("Icon: ",s[g]),a.decorateNode({icon:s[g]});break;case 17:case 21:a.decorateNode({class:s[g]});break;case 18:a.getLogger().trace("SPACELIST");break;case 19:a.getLogger().trace("Node: ",s[g].id),a.addNode(0,s[g].id,s[g].descr,s[g].type);break;case 20:a.decorateNode({icon:s[g]});break;case 25:a.getLogger().trace("node found ..",s[g-2]),this.$={id:s[g-1],descr:s[g-1],type:a.getType(s[g-2],s[g])};break;case 26:this.$={id:s[g],descr:s[g],type:a.nodeType.DEFAULT};break;case 27:a.getLogger().trace("node found ..",s[g-3]),this.$={id:s[g-3],descr:s[g-1],type:a.getType(s[g-2],s[g])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:r},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:r},{6:u,7:[1,10],9:9,12:11,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},e(E,[2,3]),{1:[2,2]},e(E,[2,4]),e(E,[2,5]),{1:[2,6],6:u,12:21,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},{6:u,9:22,12:11,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},{6:v,7:C,10:23,11:I},e(d,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:f,22:m}),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),e(d,[2,21]),e(d,[2,23]),e(d,[2,24]),e(d,[2,26],{19:[1,30]}),{20:[1,31]},{6:v,7:C,10:32,11:I},{1:[2,7],6:u,12:21,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},e(w,[2,14],{7:Y,11:q}),e(R,[2,8]),e(R,[2,9]),e(R,[2,10]),e(d,[2,15]),e(d,[2,16]),e(d,[2,17]),{20:[1,35]},{21:[1,36]},e(w,[2,13],{7:Y,11:q}),e(R,[2,11]),e(R,[2,12]),{21:[1,37]},e(d,[2,25]),e(d,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:l(function(n,i){if(i.recoverable)this.trace(n);else{var o=new Error(n);throw o.hash=i,o}},"parseError"),parse:l(function(n){var i=this,o=[0],a=[],p=[null],s=[],A=this.table,g="",P=0,J=0,te=2,K=1,ie=s.slice.call(arguments,1),y=Object.create(this.lexer),D={yy:{}};for(var j in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j)&&(D.yy[j]=this.yy[j]);y.setInput(n,D.yy),D.yy.lexer=y,D.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var H=y.yylloc;s.push(H);var ne=y.options&&y.options.ranges;typeof D.yy.parseError=="function"?this.parseError=D.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function se(k){o.length=o.length-2*k,p.length=p.length-k,s.length=s.length-k}l(se,"popStack");function Q(){var k;return k=a.pop()||y.lex()||K,typeof k!="number"&&(k instanceof Array&&(a=k,k=a.pop()),k=i.symbols_[k]||k),k}l(Q,"lex");for(var _,L,b,W,T={},M,S,Z,U;;){if(L=o[o.length-1],this.defaultActions[L]?b=this.defaultActions[L]:((_===null||typeof _>"u")&&(_=Q()),b=A[L]&&A[L][_]),typeof b>"u"||!b.length||!b[0]){var z="";U=[];for(M in A[L])this.terminals_[M]&&M>te&&U.push("'"+this.terminals_[M]+"'");y.showPosition?z="Parse error on line "+(P+1)+`:
2
2
  `+y.showPosition()+`
3
3
  Expecting `+U.join(", ")+", got '"+(this.terminals_[_]||_)+"'":z="Parse error on line "+(P+1)+": Unexpected "+(_==K?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(z,{text:y.match,token:this.terminals_[_]||_,line:y.yylineno,loc:H,expected:U})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+_);switch(b[0]){case 1:o.push(_),p.push(y.yytext),s.push(y.yylloc),o.push(b[1]),_=null,J=y.yyleng,g=y.yytext,P=y.yylineno,H=y.yylloc;break;case 2:if(S=this.productions_[b[1]][1],T.$=p[p.length-S],T._$={first_line:s[s.length-(S||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(S||1)].first_column,last_column:s[s.length-1].last_column},ne&&(T._$.range=[s[s.length-(S||1)].range[0],s[s.length-1].range[1]]),W=this.performAction.apply(T,[g,J,P,D.yy,b[1],p,s].concat(ie)),typeof W<"u")return W;S&&(o=o.slice(0,-1*S*2),p=p.slice(0,-1*S),s=s.slice(0,-1*S)),o.push(this.productions_[b[1]][0]),p.push(T.$),s.push(T._$),Z=A[o[o.length-2]][o[o.length-1]],o.push(Z);break;case 3:return!0}}return!0},"parse")},ee=(function(){var x={EOF:1,parseError:l(function(i,o){if(this.yy.parser)this.yy.parser.parseError(i,o);else throw new Error(i)},"parseError"),setInput:l(function(n,i){return this.yy=i||this.yy||{},this._input=n,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:l(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var i=n.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:l(function(n){var i=n.length,o=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var a=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),o.length-1&&(this.yylineno-=o.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===a.length?this.yylloc.first_column:0)+a[a.length-o.length].length-o[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:l(function(n){this.unput(this.match.slice(n))},"less"),pastInput:l(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var n=this.pastInput(),i=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
5
5
  `+i+"^"},"showPosition"),test_match:l(function(n,i){var o,a,p;if(this.options.backtrack_lexer&&(p={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&&(p.yylloc.range=this.yylloc.range.slice(0))),a=n[0].match(/(?:\r\n?|\n).*/g),a&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,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(n[0].length),this.matched+=n[0],o=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o)return o;if(this._backtrack){for(var s in p)this[s]=p[s];return!1}return!1},"test_match"),next:l(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var n,i,o,a;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),s=0;s<p.length;s++)if(o=this._input.match(this.rules[p[s]]),o&&(!i||o[0].length>i[0].length)){if(i=o,a=s,this.options.backtrack_lexer){if(n=this.test_match(o,p[s]),n!==!1)return n;if(this._backtrack){i=!1;continue}else return!1}else if(!this.options.flex)break}return i?(n=this.test_match(i,p[a]),n!==!1?n:!1):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:l(function(){var i=this.next();return i||this.lex()},"lex"),begin:l(function(i){this.conditionStack.push(i)},"begin"),popState:l(function(){var i=this.conditionStack.length-1;return i>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:l(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:l(function(i){return i=this.conditionStack.length-1-Math.abs(i||0),i>=0?this.conditionStack[i]:"INITIAL"},"topState"),pushState:l(function(i){this.begin(i)},"pushState"),stateStackSize:l(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:l(function(i,o,a,p){switch(a){case 0:return i.getLogger().trace("Found comment",o.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:i.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return i.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:i.getLogger().trace("end icon"),this.popState();break;case 10:return i.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return i.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return i.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return i.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:i.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return i.getLogger().trace("description:",o.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),i.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),i.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),i.getLogger().trace("node end ...",o.yytext),"NODE_DEND";case 30:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 32:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 33:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 34:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 35:return i.getLogger().trace("Long description:",o.yytext),20;case 36:return i.getLogger().trace("Long description:",o.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}}};return x})();G.lexer=ee;function B(){this.yy={}}return l(B,"Parser"),B.prototype=G,G.Parser=B,new B})();X.parser=X;var fe=X,me=12,N={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},ye=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=N,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{l(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let r=this.nodes.length-1;r>=0;r--)if(this.nodes[r].level<e)return this.nodes[r];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,r,u,c){O.info("addNode",e,r,u,c);let t=!1;this.nodes.length===0?(this.baseLevel=e,e=0,t=!0):this.baseLevel!==void 0&&(e=e-this.baseLevel,t=!1);const h=$();let f=h.mindmap?.padding??F.mindmap.padding;switch(c){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:f*=2;break}const m={id:this.count++,nodeId:V(r,h),level:e,descr:V(u,h),type:c,children:[],width:h.mindmap?.maxNodeWidth??F.mindmap.maxNodeWidth,padding:f,isRoot:t},E=this.getParent(e);if(E)E.children.push(m),this.nodes.push(m);else if(t)this.nodes.push(m);else throw new Error(`There can be only one root. No parent could be found for ("${m.descr}")`)}getType(e,r){switch(O.debug("In get type",e,r),e){case"[":return this.nodeType.RECT;case"(":return r===")"?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,r){this.elements[e]=r}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;const r=$(),u=this.nodes[this.nodes.length-1];e.icon&&(u.icon=V(e.icon,r)),e.class&&(u.class=V(e.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,r){if(e.level===0?e.section=void 0:e.section=r,e.children)for(const[u,c]of e.children.entries()){const t=e.level===0?u%(me-1):r;this.assignSections(c,t)}}flattenNodes(e,r){const u=$(),c=["mindmap-node"];e.isRoot===!0?c.push("section-root","section--1"):e.section!==void 0&&c.push(`section-${e.section}`),e.class&&c.push(e.class);const t=c.join(" "),h=l(m=>{const v=(u.theme?.toLowerCase()??"").includes("redux");switch(m){case N.CIRCLE:return"mindmapCircle";case N.RECT:return"rect";case N.ROUNDED_RECT:return"rounded";case N.CLOUD:return"cloud";case N.BANG:return"bang";case N.HEXAGON:return"hexagon";case N.DEFAULT:return v?"rounded":"defaultMindmapNode";case N.NO_BORDER:default:return"rect"}},"getShapeFromType"),f={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:h(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:t,cssStyles:[],look:u.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(r.push(f),e.children)for(const m of e.children)this.flattenNodes(m,r)}generateEdges(e,r){if(!e.children)return;const u=$();for(const c of e.children){let t="edge";c.section!==void 0&&(t+=` section-edge-${c.section}`);const h=e.level+1;t+=` edge-depth-${h}`;const f={id:`edge_${e.id}_${c.id}`,start:e.id.toString(),end:c.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:u.look,classes:t,depth:e.level,section:c.section};r.push(f),this.generateEdges(c,r)}}getData(){const e=this.getMindmap(),r=$(),c=he().layout!==void 0,t=r;if(c||(t.layout="cose-bilkent"),!e)return{nodes:[],edges:[],config:t};O.debug("getData: mindmapRoot",e,r),this.assignSections(e);const h=[],f=[];this.flattenNodes(e,h),this.generateEdges(e,f),O.debug(`getData: processed ${h.length} nodes and ${f.length} edges`);const m=new Map;for(const E of h)m.set(E.id,{shape:E.shape,width:E.width,height:E.height,padding:E.padding});return{nodes:h,edges:f,config:t,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(m),type:"mindmap",diagramId:"mindmap-"+pe()}}getLogger(){return O}},Ee=l(async(e,r,u,c)=>{O.debug(`Rendering mindmap diagram
7
- `+e);const t=c.db,h=t.getData(),f=re(r,h.config.securityLevel);if(h.type=c.type,h.layoutAlgorithm=ae(h.config.layout,{fallback:"cose-bilkent"}),h.diagramId=r,!t.getMindmap())return;h.nodes.forEach(d=>{d.shape==="rounded"?(d.radius=15,d.taper=15,d.stroke="none",d.width=0,d.padding=15):d.shape==="circle"?d.padding=10:d.shape==="rect"?(d.width=0,d.padding=10):d.shape==="hexagon"&&(d.width=0,d.height=0)}),await ce(h,f);const{themeVariables:E}=le(),{useGradient:v,gradientStart:C,gradientStop:I}=E;if(v&&C&&I){const d=f.attr("id"),w=f.append("defs").append("linearGradient").attr("id",`${d}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");w.append("stop").attr("offset","0%").attr("stop-color",C).attr("stop-opacity",1),w.append("stop").attr("offset","100%").attr("stop-color",I).attr("stop-opacity",1)}oe(f,h.config.mindmap?.padding??F.mindmap.padding,"mindmapDiagram",h.config.mindmap?.useMaxWidth??F.mindmap.useMaxWidth)},"draw"),_e={draw:Ee},ke=l(e=>{const{theme:r,look:u}=e;let c="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e["lineColor"+t]=e["lineColor"+t]||e["cScaleInv"+t],de(e["lineColor"+t])?e["lineColor"+t]=ge(e["lineColor"+t],20):e["lineColor"+t]=ue(e["lineColor"+t],20);for(let t=0;t<e.THEME_COLOR_LIMIT;t++){const h=""+(u==="neo"?Math.max(10-(t-1)*2,2):17-3*t);c+=`
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:l(function(){var i=this.next();return i||this.lex()},"lex"),begin:l(function(i){this.conditionStack.push(i)},"begin"),popState:l(function(){var i=this.conditionStack.length-1;return i>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:l(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:l(function(i){return i=this.conditionStack.length-1-Math.abs(i||0),i>=0?this.conditionStack[i]:"INITIAL"},"topState"),pushState:l(function(i){this.begin(i)},"pushState"),stateStackSize:l(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:l(function(i,o,a,p){switch(a){case 0:return i.getLogger().trace("Found comment",o.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:i.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return i.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:i.getLogger().trace("end icon"),this.popState();break;case 10:return i.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return i.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return i.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return i.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:i.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return i.getLogger().trace("description:",o.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),i.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),i.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),i.getLogger().trace("node end ...",o.yytext),"NODE_DEND";case 30:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 32:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 33:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 34:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 35:return i.getLogger().trace("Long description:",o.yytext),20;case 36:return i.getLogger().trace("Long description:",o.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}}};return x})();G.lexer=ee;function B(){this.yy={}}return l(B,"Parser"),B.prototype=G,G.Parser=B,new B})();X.parser=X;var fe=X,me=12,N={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},ye=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=N,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{l(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let r=this.nodes.length-1;r>=0;r--)if(this.nodes[r].level<e)return this.nodes[r];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,r,u,c){O.info("addNode",e,r,u,c);let t=!1;this.nodes.length===0?(this.baseLevel=e,e=0,t=!0):this.baseLevel!==void 0&&(e=e-this.baseLevel,t=!1);const h=$();let f=h.mindmap?.padding??F.mindmap.padding;switch(c){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:f*=2;break}const m={id:this.count++,nodeId:V(r,h),level:e,descr:V(u,h),type:c,children:[],width:h.mindmap?.maxNodeWidth??F.mindmap.maxNodeWidth,padding:f,isRoot:t},E=this.getParent(e);if(E)E.children.push(m),this.nodes.push(m);else if(t)this.nodes.push(m);else throw new Error(`There can be only one root. No parent could be found for ("${m.descr}")`)}getType(e,r){switch(O.debug("In get type",e,r),e){case"[":return this.nodeType.RECT;case"(":return r===")"?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,r){this.elements[e]=r}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;const r=$(),u=this.nodes[this.nodes.length-1];e.icon&&(u.icon=V(e.icon,r)),e.class&&(u.class=V(e.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,r){if(e.level===0?e.section=void 0:e.section=r,e.children)for(const[u,c]of e.children.entries()){const t=e.level===0?u%(me-1):r;this.assignSections(c,t)}}flattenNodes(e,r){const u=$(),c=["mindmap-node"];e.isRoot===!0?c.push("section-root","section--1"):e.section!==void 0&&c.push(`section-${e.section}`),e.class&&c.push(e.class);const t=c.join(" "),h=l(m=>{const v=(u.theme?.toLowerCase()??"").includes("redux");switch(m){case N.CIRCLE:return"mindmapCircle";case N.RECT:return"rect";case N.ROUNDED_RECT:return"rounded";case N.CLOUD:return"cloud";case N.BANG:return"bang";case N.HEXAGON:return"hexagon";case N.DEFAULT:return v?"rounded":"defaultMindmapNode";case N.NO_BORDER:default:return"rect"}},"getShapeFromType"),f={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:h(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:t,cssStyles:[],look:u.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(r.push(f),e.children)for(const m of e.children)this.flattenNodes(m,r)}generateEdges(e,r){if(!e.children)return;const u=$();for(const c of e.children){let t="edge";c.section!==void 0&&(t+=` section-edge-${c.section}`);const h=e.level+1;t+=` edge-depth-${h}`;const f={id:`edge_${e.id}_${c.id}`,start:e.id.toString(),end:c.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:u.look,classes:t,depth:e.level,section:c.section};r.push(f),this.generateEdges(c,r)}}getData(){const e=this.getMindmap(),r=$(),c=he().layout!==void 0,t=r;if(c||(t.layout="cose-bilkent"),!e)return{nodes:[],edges:[],config:t};O.debug("getData: mindmapRoot",e,r),this.assignSections(e);const h=[],f=[];this.flattenNodes(e,h),this.generateEdges(e,f),O.debug(`getData: processed ${h.length} nodes and ${f.length} edges`);const m=new Map;for(const E of h)m.set(E.id,{shape:E.shape,width:E.width,height:E.height,padding:E.padding});return{nodes:h,edges:f,config:t,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(m),type:"mindmap",diagramId:"mindmap-"+de()}}getLogger(){return O}},Ee=l(async(e,r,u,c)=>{O.debug(`Rendering mindmap diagram
7
+ `+e);const t=c.db,h=t.getData(),f=re(r,h.config.securityLevel);if(h.type=c.type,h.layoutAlgorithm=ae(h.config.layout,{fallback:"cose-bilkent"}),h.diagramId=r,!t.getMindmap())return;h.nodes.forEach(d=>{d.shape==="rounded"?(d.radius=15,d.taper=15,d.stroke="none",d.width=0,d.padding=15):d.shape==="circle"?d.padding=10:d.shape==="rect"?(d.width=0,d.padding=10):d.shape==="hexagon"&&(d.width=0,d.height=0)}),await ce(h,f);const{themeVariables:E}=le(),{useGradient:v,gradientStart:C,gradientStop:I}=E;if(v&&C&&I){const d=f.attr("id"),w=f.append("defs").append("linearGradient").attr("id",`${d}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");w.append("stop").attr("offset","0%").attr("stop-color",C).attr("stop-opacity",1),w.append("stop").attr("offset","100%").attr("stop-color",I).attr("stop-opacity",1)}oe(f,h.config.mindmap?.padding??F.mindmap.padding,"mindmapDiagram",h.config.mindmap?.useMaxWidth??F.mindmap.useMaxWidth)},"draw"),_e={draw:Ee},ke=l(e=>{const{theme:r,look:u}=e;let c="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e["lineColor"+t]=e["lineColor"+t]||e["cScaleInv"+t],ge(e["lineColor"+t])?e["lineColor"+t]=ue(e["lineColor"+t],20):e["lineColor"+t]=pe(e["lineColor"+t],20);for(let t=0;t<e.THEME_COLOR_LIMIT;t++){const h=""+(u==="neo"?Math.max(10-(t-1)*2,2):17-3*t);c+=`
8
8
  .section-${t-1} rect, .section-${t-1} path, .section-${t-1} circle, .section-${t-1} polygon, .section-${t-1} path {
9
9
  fill: ${e["cScale"+t]};
10
10
  }
@@ -93,4 +93,4 @@ Expecting `+U.join(", ")+", got '"+(this.terminals_[_]||_)+"'":z="Parse error on
93
93
  fill: ${r?.includes("redux")?e.nodeBorder:e["cScaleLabel"+(r==="neutral"?1:0)]};
94
94
  }
95
95
  ${e.useGradient&&u&&e.mainBkg?be(e.THEME_COLOR_LIMIT,u,e.mainBkg):""}
96
- `},"getStyles"),Ne=Se,Fe={get db(){return new ye},renderer:_e,parser:fe,styles:Ne};export{Fe as diagram};
96
+ `},"getStyles"),Ne=Se,Pe={get db(){return new ye},renderer:_e,parser:fe,styles:Ne};export{Pe as diagram};
@@ -1,10 +1,10 @@
1
- import{g as re}from"./chunk-XXDRQBXY-D_FJqGi2.js";import{s as oe}from"./chunk-POPQ4Y6H-DhZnEisk.js";import{_ as l,l as O,u as ae,v as ce,y as le,B as F,c as $,i as V,T as he}from"./index-ErZ9_T3y.js";import{n as de,o as ge,q as ue}from"./index-DqGFpucN.js";import{v as pe}from"./v4-CeVyOvU8.js";import"./index-CJys1M3A.js";import"../datalayer-app-main.js";import"./fastdom-promised-ihiknY5F.js";import"./line-DT6NiYhi.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./color-CG7_7V2-.js";import"./index-atSsKceW.js";import"./stringify-D92ucQ0I.js";var X=(function(){var e=l(function(x,n,i,o){for(i=i||{},o=x.length;o--;i[x[o]]=n);return i},"o"),r=[1,4],u=[1,13],c=[1,12],t=[1,15],h=[1,16],f=[1,20],m=[1,19],E=[6,7,8],v=[1,26],C=[1,24],I=[1,25],d=[6,7,11],w=[1,6,13,15,16,19,22],Y=[1,33],q=[1,34],R=[1,6,7,11,13,15,16,19,22],G={trace:l(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:l(function(n,i,o,a,p,s,A){var g=s.length-1;switch(p){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",s[g].id),a.addNode(s[g-1].length,s[g].id,s[g].descr,s[g].type);break;case 16:a.getLogger().trace("Icon: ",s[g]),a.decorateNode({icon:s[g]});break;case 17:case 21:a.decorateNode({class:s[g]});break;case 18:a.getLogger().trace("SPACELIST");break;case 19:a.getLogger().trace("Node: ",s[g].id),a.addNode(0,s[g].id,s[g].descr,s[g].type);break;case 20:a.decorateNode({icon:s[g]});break;case 25:a.getLogger().trace("node found ..",s[g-2]),this.$={id:s[g-1],descr:s[g-1],type:a.getType(s[g-2],s[g])};break;case 26:this.$={id:s[g],descr:s[g],type:a.nodeType.DEFAULT};break;case 27:a.getLogger().trace("node found ..",s[g-3]),this.$={id:s[g-3],descr:s[g-1],type:a.getType(s[g-2],s[g])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:r},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:r},{6:u,7:[1,10],9:9,12:11,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},e(E,[2,3]),{1:[2,2]},e(E,[2,4]),e(E,[2,5]),{1:[2,6],6:u,12:21,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},{6:u,9:22,12:11,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},{6:v,7:C,10:23,11:I},e(d,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:f,22:m}),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),e(d,[2,21]),e(d,[2,23]),e(d,[2,24]),e(d,[2,26],{19:[1,30]}),{20:[1,31]},{6:v,7:C,10:32,11:I},{1:[2,7],6:u,12:21,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},e(w,[2,14],{7:Y,11:q}),e(R,[2,8]),e(R,[2,9]),e(R,[2,10]),e(d,[2,15]),e(d,[2,16]),e(d,[2,17]),{20:[1,35]},{21:[1,36]},e(w,[2,13],{7:Y,11:q}),e(R,[2,11]),e(R,[2,12]),{21:[1,37]},e(d,[2,25]),e(d,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:l(function(n,i){if(i.recoverable)this.trace(n);else{var o=new Error(n);throw o.hash=i,o}},"parseError"),parse:l(function(n){var i=this,o=[0],a=[],p=[null],s=[],A=this.table,g="",P=0,J=0,te=2,K=1,ie=s.slice.call(arguments,1),y=Object.create(this.lexer),D={yy:{}};for(var j in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j)&&(D.yy[j]=this.yy[j]);y.setInput(n,D.yy),D.yy.lexer=y,D.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var H=y.yylloc;s.push(H);var ne=y.options&&y.options.ranges;typeof D.yy.parseError=="function"?this.parseError=D.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function se(k){o.length=o.length-2*k,p.length=p.length-k,s.length=s.length-k}l(se,"popStack");function Q(){var k;return k=a.pop()||y.lex()||K,typeof k!="number"&&(k instanceof Array&&(a=k,k=a.pop()),k=i.symbols_[k]||k),k}l(Q,"lex");for(var _,L,b,W,T={},M,S,Z,U;;){if(L=o[o.length-1],this.defaultActions[L]?b=this.defaultActions[L]:((_===null||typeof _>"u")&&(_=Q()),b=A[L]&&A[L][_]),typeof b>"u"||!b.length||!b[0]){var z="";U=[];for(M in A[L])this.terminals_[M]&&M>te&&U.push("'"+this.terminals_[M]+"'");y.showPosition?z="Parse error on line "+(P+1)+`:
1
+ import{g as re}from"./chunk-XXDRQBXY-CfGL0WH9.js";import{s as oe}from"./chunk-POPQ4Y6H-C74YP19P.js";import{_ as l,l as O,u as ae,v as ce,y as le,B as F,c as $,i as V,T as he}from"./index-C7Y6qb5P.js";import{v as de}from"./v4-CeVyOvU8.js";import{i as ge,c as ue,e as pe}from"./index-Dz7T8mqj.js";import"./index-CJys1M3A.js";import"../datalayer-app-main.js";import"./fastdom-promised-ihiknY5F.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./stringify-D92ucQ0I.js";import"./dayjs.min-u3zuoSR8.js";var X=(function(){var e=l(function(x,n,i,o){for(i=i||{},o=x.length;o--;i[x[o]]=n);return i},"o"),r=[1,4],u=[1,13],c=[1,12],t=[1,15],h=[1,16],f=[1,20],m=[1,19],E=[6,7,8],v=[1,26],C=[1,24],I=[1,25],d=[6,7,11],w=[1,6,13,15,16,19,22],Y=[1,33],q=[1,34],R=[1,6,7,11,13,15,16,19,22],G={trace:l(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:l(function(n,i,o,a,p,s,A){var g=s.length-1;switch(p){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",s[g].id),a.addNode(s[g-1].length,s[g].id,s[g].descr,s[g].type);break;case 16:a.getLogger().trace("Icon: ",s[g]),a.decorateNode({icon:s[g]});break;case 17:case 21:a.decorateNode({class:s[g]});break;case 18:a.getLogger().trace("SPACELIST");break;case 19:a.getLogger().trace("Node: ",s[g].id),a.addNode(0,s[g].id,s[g].descr,s[g].type);break;case 20:a.decorateNode({icon:s[g]});break;case 25:a.getLogger().trace("node found ..",s[g-2]),this.$={id:s[g-1],descr:s[g-1],type:a.getType(s[g-2],s[g])};break;case 26:this.$={id:s[g],descr:s[g],type:a.nodeType.DEFAULT};break;case 27:a.getLogger().trace("node found ..",s[g-3]),this.$={id:s[g-3],descr:s[g-1],type:a.getType(s[g-2],s[g])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:r},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:r},{6:u,7:[1,10],9:9,12:11,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},e(E,[2,3]),{1:[2,2]},e(E,[2,4]),e(E,[2,5]),{1:[2,6],6:u,12:21,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},{6:u,9:22,12:11,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},{6:v,7:C,10:23,11:I},e(d,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:f,22:m}),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),e(d,[2,21]),e(d,[2,23]),e(d,[2,24]),e(d,[2,26],{19:[1,30]}),{20:[1,31]},{6:v,7:C,10:32,11:I},{1:[2,7],6:u,12:21,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},e(w,[2,14],{7:Y,11:q}),e(R,[2,8]),e(R,[2,9]),e(R,[2,10]),e(d,[2,15]),e(d,[2,16]),e(d,[2,17]),{20:[1,35]},{21:[1,36]},e(w,[2,13],{7:Y,11:q}),e(R,[2,11]),e(R,[2,12]),{21:[1,37]},e(d,[2,25]),e(d,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:l(function(n,i){if(i.recoverable)this.trace(n);else{var o=new Error(n);throw o.hash=i,o}},"parseError"),parse:l(function(n){var i=this,o=[0],a=[],p=[null],s=[],A=this.table,g="",P=0,J=0,te=2,K=1,ie=s.slice.call(arguments,1),y=Object.create(this.lexer),D={yy:{}};for(var j in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j)&&(D.yy[j]=this.yy[j]);y.setInput(n,D.yy),D.yy.lexer=y,D.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var H=y.yylloc;s.push(H);var ne=y.options&&y.options.ranges;typeof D.yy.parseError=="function"?this.parseError=D.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function se(k){o.length=o.length-2*k,p.length=p.length-k,s.length=s.length-k}l(se,"popStack");function Q(){var k;return k=a.pop()||y.lex()||K,typeof k!="number"&&(k instanceof Array&&(a=k,k=a.pop()),k=i.symbols_[k]||k),k}l(Q,"lex");for(var _,L,b,W,T={},M,S,Z,U;;){if(L=o[o.length-1],this.defaultActions[L]?b=this.defaultActions[L]:((_===null||typeof _>"u")&&(_=Q()),b=A[L]&&A[L][_]),typeof b>"u"||!b.length||!b[0]){var z="";U=[];for(M in A[L])this.terminals_[M]&&M>te&&U.push("'"+this.terminals_[M]+"'");y.showPosition?z="Parse error on line "+(P+1)+`:
2
2
  `+y.showPosition()+`
3
3
  Expecting `+U.join(", ")+", got '"+(this.terminals_[_]||_)+"'":z="Parse error on line "+(P+1)+": Unexpected "+(_==K?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(z,{text:y.match,token:this.terminals_[_]||_,line:y.yylineno,loc:H,expected:U})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+_);switch(b[0]){case 1:o.push(_),p.push(y.yytext),s.push(y.yylloc),o.push(b[1]),_=null,J=y.yyleng,g=y.yytext,P=y.yylineno,H=y.yylloc;break;case 2:if(S=this.productions_[b[1]][1],T.$=p[p.length-S],T._$={first_line:s[s.length-(S||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(S||1)].first_column,last_column:s[s.length-1].last_column},ne&&(T._$.range=[s[s.length-(S||1)].range[0],s[s.length-1].range[1]]),W=this.performAction.apply(T,[g,J,P,D.yy,b[1],p,s].concat(ie)),typeof W<"u")return W;S&&(o=o.slice(0,-1*S*2),p=p.slice(0,-1*S),s=s.slice(0,-1*S)),o.push(this.productions_[b[1]][0]),p.push(T.$),s.push(T._$),Z=A[o[o.length-2]][o[o.length-1]],o.push(Z);break;case 3:return!0}}return!0},"parse")},ee=(function(){var x={EOF:1,parseError:l(function(i,o){if(this.yy.parser)this.yy.parser.parseError(i,o);else throw new Error(i)},"parseError"),setInput:l(function(n,i){return this.yy=i||this.yy||{},this._input=n,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:l(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var i=n.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:l(function(n){var i=n.length,o=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var a=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),o.length-1&&(this.yylineno-=o.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===a.length?this.yylloc.first_column:0)+a[a.length-o.length].length-o[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:l(function(n){this.unput(this.match.slice(n))},"less"),pastInput:l(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var n=this.pastInput(),i=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
5
5
  `+i+"^"},"showPosition"),test_match:l(function(n,i){var o,a,p;if(this.options.backtrack_lexer&&(p={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&&(p.yylloc.range=this.yylloc.range.slice(0))),a=n[0].match(/(?:\r\n?|\n).*/g),a&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,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(n[0].length),this.matched+=n[0],o=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o)return o;if(this._backtrack){for(var s in p)this[s]=p[s];return!1}return!1},"test_match"),next:l(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var n,i,o,a;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),s=0;s<p.length;s++)if(o=this._input.match(this.rules[p[s]]),o&&(!i||o[0].length>i[0].length)){if(i=o,a=s,this.options.backtrack_lexer){if(n=this.test_match(o,p[s]),n!==!1)return n;if(this._backtrack){i=!1;continue}else return!1}else if(!this.options.flex)break}return i?(n=this.test_match(i,p[a]),n!==!1?n:!1):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:l(function(){var i=this.next();return i||this.lex()},"lex"),begin:l(function(i){this.conditionStack.push(i)},"begin"),popState:l(function(){var i=this.conditionStack.length-1;return i>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:l(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:l(function(i){return i=this.conditionStack.length-1-Math.abs(i||0),i>=0?this.conditionStack[i]:"INITIAL"},"topState"),pushState:l(function(i){this.begin(i)},"pushState"),stateStackSize:l(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:l(function(i,o,a,p){switch(a){case 0:return i.getLogger().trace("Found comment",o.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:i.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return i.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:i.getLogger().trace("end icon"),this.popState();break;case 10:return i.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return i.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return i.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return i.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:i.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return i.getLogger().trace("description:",o.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),i.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),i.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),i.getLogger().trace("node end ...",o.yytext),"NODE_DEND";case 30:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 32:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 33:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 34:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 35:return i.getLogger().trace("Long description:",o.yytext),20;case 36:return i.getLogger().trace("Long description:",o.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}}};return x})();G.lexer=ee;function B(){this.yy={}}return l(B,"Parser"),B.prototype=G,G.Parser=B,new B})();X.parser=X;var fe=X,me=12,N={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},ye=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=N,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{l(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let r=this.nodes.length-1;r>=0;r--)if(this.nodes[r].level<e)return this.nodes[r];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,r,u,c){O.info("addNode",e,r,u,c);let t=!1;this.nodes.length===0?(this.baseLevel=e,e=0,t=!0):this.baseLevel!==void 0&&(e=e-this.baseLevel,t=!1);const h=$();let f=h.mindmap?.padding??F.mindmap.padding;switch(c){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:f*=2;break}const m={id:this.count++,nodeId:V(r,h),level:e,descr:V(u,h),type:c,children:[],width:h.mindmap?.maxNodeWidth??F.mindmap.maxNodeWidth,padding:f,isRoot:t},E=this.getParent(e);if(E)E.children.push(m),this.nodes.push(m);else if(t)this.nodes.push(m);else throw new Error(`There can be only one root. No parent could be found for ("${m.descr}")`)}getType(e,r){switch(O.debug("In get type",e,r),e){case"[":return this.nodeType.RECT;case"(":return r===")"?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,r){this.elements[e]=r}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;const r=$(),u=this.nodes[this.nodes.length-1];e.icon&&(u.icon=V(e.icon,r)),e.class&&(u.class=V(e.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,r){if(e.level===0?e.section=void 0:e.section=r,e.children)for(const[u,c]of e.children.entries()){const t=e.level===0?u%(me-1):r;this.assignSections(c,t)}}flattenNodes(e,r){const u=$(),c=["mindmap-node"];e.isRoot===!0?c.push("section-root","section--1"):e.section!==void 0&&c.push(`section-${e.section}`),e.class&&c.push(e.class);const t=c.join(" "),h=l(m=>{const v=(u.theme?.toLowerCase()??"").includes("redux");switch(m){case N.CIRCLE:return"mindmapCircle";case N.RECT:return"rect";case N.ROUNDED_RECT:return"rounded";case N.CLOUD:return"cloud";case N.BANG:return"bang";case N.HEXAGON:return"hexagon";case N.DEFAULT:return v?"rounded":"defaultMindmapNode";case N.NO_BORDER:default:return"rect"}},"getShapeFromType"),f={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:h(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:t,cssStyles:[],look:u.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(r.push(f),e.children)for(const m of e.children)this.flattenNodes(m,r)}generateEdges(e,r){if(!e.children)return;const u=$();for(const c of e.children){let t="edge";c.section!==void 0&&(t+=` section-edge-${c.section}`);const h=e.level+1;t+=` edge-depth-${h}`;const f={id:`edge_${e.id}_${c.id}`,start:e.id.toString(),end:c.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:u.look,classes:t,depth:e.level,section:c.section};r.push(f),this.generateEdges(c,r)}}getData(){const e=this.getMindmap(),r=$(),c=he().layout!==void 0,t=r;if(c||(t.layout="cose-bilkent"),!e)return{nodes:[],edges:[],config:t};O.debug("getData: mindmapRoot",e,r),this.assignSections(e);const h=[],f=[];this.flattenNodes(e,h),this.generateEdges(e,f),O.debug(`getData: processed ${h.length} nodes and ${f.length} edges`);const m=new Map;for(const E of h)m.set(E.id,{shape:E.shape,width:E.width,height:E.height,padding:E.padding});return{nodes:h,edges:f,config:t,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(m),type:"mindmap",diagramId:"mindmap-"+pe()}}getLogger(){return O}},Ee=l(async(e,r,u,c)=>{O.debug(`Rendering mindmap diagram
7
- `+e);const t=c.db,h=t.getData(),f=re(r,h.config.securityLevel);if(h.type=c.type,h.layoutAlgorithm=ae(h.config.layout,{fallback:"cose-bilkent"}),h.diagramId=r,!t.getMindmap())return;h.nodes.forEach(d=>{d.shape==="rounded"?(d.radius=15,d.taper=15,d.stroke="none",d.width=0,d.padding=15):d.shape==="circle"?d.padding=10:d.shape==="rect"?(d.width=0,d.padding=10):d.shape==="hexagon"&&(d.width=0,d.height=0)}),await ce(h,f);const{themeVariables:E}=le(),{useGradient:v,gradientStart:C,gradientStop:I}=E;if(v&&C&&I){const d=f.attr("id"),w=f.append("defs").append("linearGradient").attr("id",`${d}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");w.append("stop").attr("offset","0%").attr("stop-color",C).attr("stop-opacity",1),w.append("stop").attr("offset","100%").attr("stop-color",I).attr("stop-opacity",1)}oe(f,h.config.mindmap?.padding??F.mindmap.padding,"mindmapDiagram",h.config.mindmap?.useMaxWidth??F.mindmap.useMaxWidth)},"draw"),_e={draw:Ee},ke=l(e=>{const{theme:r,look:u}=e;let c="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e["lineColor"+t]=e["lineColor"+t]||e["cScaleInv"+t],de(e["lineColor"+t])?e["lineColor"+t]=ge(e["lineColor"+t],20):e["lineColor"+t]=ue(e["lineColor"+t],20);for(let t=0;t<e.THEME_COLOR_LIMIT;t++){const h=""+(u==="neo"?Math.max(10-(t-1)*2,2):17-3*t);c+=`
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:l(function(){var i=this.next();return i||this.lex()},"lex"),begin:l(function(i){this.conditionStack.push(i)},"begin"),popState:l(function(){var i=this.conditionStack.length-1;return i>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:l(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:l(function(i){return i=this.conditionStack.length-1-Math.abs(i||0),i>=0?this.conditionStack[i]:"INITIAL"},"topState"),pushState:l(function(i){this.begin(i)},"pushState"),stateStackSize:l(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:l(function(i,o,a,p){switch(a){case 0:return i.getLogger().trace("Found comment",o.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:i.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return i.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:i.getLogger().trace("end icon"),this.popState();break;case 10:return i.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return i.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return i.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return i.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:i.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return i.getLogger().trace("description:",o.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),i.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),i.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),i.getLogger().trace("node end ...",o.yytext),"NODE_DEND";case 30:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 32:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 33:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 34:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 35:return i.getLogger().trace("Long description:",o.yytext),20;case 36:return i.getLogger().trace("Long description:",o.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}}};return x})();G.lexer=ee;function B(){this.yy={}}return l(B,"Parser"),B.prototype=G,G.Parser=B,new B})();X.parser=X;var fe=X,me=12,N={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},ye=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=N,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{l(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let r=this.nodes.length-1;r>=0;r--)if(this.nodes[r].level<e)return this.nodes[r];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,r,u,c){O.info("addNode",e,r,u,c);let t=!1;this.nodes.length===0?(this.baseLevel=e,e=0,t=!0):this.baseLevel!==void 0&&(e=e-this.baseLevel,t=!1);const h=$();let f=h.mindmap?.padding??F.mindmap.padding;switch(c){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:f*=2;break}const m={id:this.count++,nodeId:V(r,h),level:e,descr:V(u,h),type:c,children:[],width:h.mindmap?.maxNodeWidth??F.mindmap.maxNodeWidth,padding:f,isRoot:t},E=this.getParent(e);if(E)E.children.push(m),this.nodes.push(m);else if(t)this.nodes.push(m);else throw new Error(`There can be only one root. No parent could be found for ("${m.descr}")`)}getType(e,r){switch(O.debug("In get type",e,r),e){case"[":return this.nodeType.RECT;case"(":return r===")"?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,r){this.elements[e]=r}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;const r=$(),u=this.nodes[this.nodes.length-1];e.icon&&(u.icon=V(e.icon,r)),e.class&&(u.class=V(e.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,r){if(e.level===0?e.section=void 0:e.section=r,e.children)for(const[u,c]of e.children.entries()){const t=e.level===0?u%(me-1):r;this.assignSections(c,t)}}flattenNodes(e,r){const u=$(),c=["mindmap-node"];e.isRoot===!0?c.push("section-root","section--1"):e.section!==void 0&&c.push(`section-${e.section}`),e.class&&c.push(e.class);const t=c.join(" "),h=l(m=>{const v=(u.theme?.toLowerCase()??"").includes("redux");switch(m){case N.CIRCLE:return"mindmapCircle";case N.RECT:return"rect";case N.ROUNDED_RECT:return"rounded";case N.CLOUD:return"cloud";case N.BANG:return"bang";case N.HEXAGON:return"hexagon";case N.DEFAULT:return v?"rounded":"defaultMindmapNode";case N.NO_BORDER:default:return"rect"}},"getShapeFromType"),f={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:h(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:t,cssStyles:[],look:u.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(r.push(f),e.children)for(const m of e.children)this.flattenNodes(m,r)}generateEdges(e,r){if(!e.children)return;const u=$();for(const c of e.children){let t="edge";c.section!==void 0&&(t+=` section-edge-${c.section}`);const h=e.level+1;t+=` edge-depth-${h}`;const f={id:`edge_${e.id}_${c.id}`,start:e.id.toString(),end:c.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:u.look,classes:t,depth:e.level,section:c.section};r.push(f),this.generateEdges(c,r)}}getData(){const e=this.getMindmap(),r=$(),c=he().layout!==void 0,t=r;if(c||(t.layout="cose-bilkent"),!e)return{nodes:[],edges:[],config:t};O.debug("getData: mindmapRoot",e,r),this.assignSections(e);const h=[],f=[];this.flattenNodes(e,h),this.generateEdges(e,f),O.debug(`getData: processed ${h.length} nodes and ${f.length} edges`);const m=new Map;for(const E of h)m.set(E.id,{shape:E.shape,width:E.width,height:E.height,padding:E.padding});return{nodes:h,edges:f,config:t,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(m),type:"mindmap",diagramId:"mindmap-"+de()}}getLogger(){return O}},Ee=l(async(e,r,u,c)=>{O.debug(`Rendering mindmap diagram
7
+ `+e);const t=c.db,h=t.getData(),f=re(r,h.config.securityLevel);if(h.type=c.type,h.layoutAlgorithm=ae(h.config.layout,{fallback:"cose-bilkent"}),h.diagramId=r,!t.getMindmap())return;h.nodes.forEach(d=>{d.shape==="rounded"?(d.radius=15,d.taper=15,d.stroke="none",d.width=0,d.padding=15):d.shape==="circle"?d.padding=10:d.shape==="rect"?(d.width=0,d.padding=10):d.shape==="hexagon"&&(d.width=0,d.height=0)}),await ce(h,f);const{themeVariables:E}=le(),{useGradient:v,gradientStart:C,gradientStop:I}=E;if(v&&C&&I){const d=f.attr("id"),w=f.append("defs").append("linearGradient").attr("id",`${d}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");w.append("stop").attr("offset","0%").attr("stop-color",C).attr("stop-opacity",1),w.append("stop").attr("offset","100%").attr("stop-color",I).attr("stop-opacity",1)}oe(f,h.config.mindmap?.padding??F.mindmap.padding,"mindmapDiagram",h.config.mindmap?.useMaxWidth??F.mindmap.useMaxWidth)},"draw"),_e={draw:Ee},ke=l(e=>{const{theme:r,look:u}=e;let c="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e["lineColor"+t]=e["lineColor"+t]||e["cScaleInv"+t],ge(e["lineColor"+t])?e["lineColor"+t]=ue(e["lineColor"+t],20):e["lineColor"+t]=pe(e["lineColor"+t],20);for(let t=0;t<e.THEME_COLOR_LIMIT;t++){const h=""+(u==="neo"?Math.max(10-(t-1)*2,2):17-3*t);c+=`
8
8
  .section-${t-1} rect, .section-${t-1} path, .section-${t-1} circle, .section-${t-1} polygon, .section-${t-1} path {
9
9
  fill: ${e["cScale"+t]};
10
10
  }
@@ -93,4 +93,4 @@ Expecting `+U.join(", ")+", got '"+(this.terminals_[_]||_)+"'":z="Parse error on
93
93
  fill: ${r?.includes("redux")?e.nodeBorder:e["cScaleLabel"+(r==="neutral"?1:0)]};
94
94
  }
95
95
  ${e.useGradient&&u&&e.mainBkg?be(e.THEME_COLOR_LIMIT,u,e.mainBkg):""}
96
- `},"getStyles"),Ne=Se,Ge={get db(){return new ye},renderer:_e,parser:fe,styles:Ne};export{Ge as diagram};
96
+ `},"getStyles"),Ne=Se,Me={get db(){return new ye},renderer:_e,parser:fe,styles:Ne};export{Me as diagram};
@@ -1,10 +1,10 @@
1
- import{g as re}from"./chunk-XXDRQBXY-l6VvHymR.js";import{s as oe}from"./chunk-POPQ4Y6H-pegurE5S.js";import{_ as l,l as O,u as ae,v as ce,y as le,B as F,c as $,i as V,T as he}from"./index-e62XL6B3.js";import{n as de,o as ge,q as ue}from"./index-DqGFpucN.js";import{v as pe}from"./v4-CeVyOvU8.js";import"./index-CJys1M3A.js";import"../datalayer-app-main.js";import"./fastdom-promised-ihiknY5F.js";import"./line-DT6NiYhi.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./color-CG7_7V2-.js";import"./index-atSsKceW.js";import"./stringify-D92ucQ0I.js";var X=(function(){var e=l(function(x,n,i,o){for(i=i||{},o=x.length;o--;i[x[o]]=n);return i},"o"),r=[1,4],u=[1,13],c=[1,12],t=[1,15],h=[1,16],f=[1,20],m=[1,19],E=[6,7,8],v=[1,26],C=[1,24],I=[1,25],d=[6,7,11],w=[1,6,13,15,16,19,22],Y=[1,33],q=[1,34],R=[1,6,7,11,13,15,16,19,22],G={trace:l(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:l(function(n,i,o,a,p,s,A){var g=s.length-1;switch(p){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",s[g].id),a.addNode(s[g-1].length,s[g].id,s[g].descr,s[g].type);break;case 16:a.getLogger().trace("Icon: ",s[g]),a.decorateNode({icon:s[g]});break;case 17:case 21:a.decorateNode({class:s[g]});break;case 18:a.getLogger().trace("SPACELIST");break;case 19:a.getLogger().trace("Node: ",s[g].id),a.addNode(0,s[g].id,s[g].descr,s[g].type);break;case 20:a.decorateNode({icon:s[g]});break;case 25:a.getLogger().trace("node found ..",s[g-2]),this.$={id:s[g-1],descr:s[g-1],type:a.getType(s[g-2],s[g])};break;case 26:this.$={id:s[g],descr:s[g],type:a.nodeType.DEFAULT};break;case 27:a.getLogger().trace("node found ..",s[g-3]),this.$={id:s[g-3],descr:s[g-1],type:a.getType(s[g-2],s[g])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:r},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:r},{6:u,7:[1,10],9:9,12:11,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},e(E,[2,3]),{1:[2,2]},e(E,[2,4]),e(E,[2,5]),{1:[2,6],6:u,12:21,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},{6:u,9:22,12:11,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},{6:v,7:C,10:23,11:I},e(d,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:f,22:m}),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),e(d,[2,21]),e(d,[2,23]),e(d,[2,24]),e(d,[2,26],{19:[1,30]}),{20:[1,31]},{6:v,7:C,10:32,11:I},{1:[2,7],6:u,12:21,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},e(w,[2,14],{7:Y,11:q}),e(R,[2,8]),e(R,[2,9]),e(R,[2,10]),e(d,[2,15]),e(d,[2,16]),e(d,[2,17]),{20:[1,35]},{21:[1,36]},e(w,[2,13],{7:Y,11:q}),e(R,[2,11]),e(R,[2,12]),{21:[1,37]},e(d,[2,25]),e(d,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:l(function(n,i){if(i.recoverable)this.trace(n);else{var o=new Error(n);throw o.hash=i,o}},"parseError"),parse:l(function(n){var i=this,o=[0],a=[],p=[null],s=[],A=this.table,g="",P=0,J=0,te=2,K=1,ie=s.slice.call(arguments,1),y=Object.create(this.lexer),D={yy:{}};for(var j in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j)&&(D.yy[j]=this.yy[j]);y.setInput(n,D.yy),D.yy.lexer=y,D.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var H=y.yylloc;s.push(H);var ne=y.options&&y.options.ranges;typeof D.yy.parseError=="function"?this.parseError=D.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function se(k){o.length=o.length-2*k,p.length=p.length-k,s.length=s.length-k}l(se,"popStack");function Q(){var k;return k=a.pop()||y.lex()||K,typeof k!="number"&&(k instanceof Array&&(a=k,k=a.pop()),k=i.symbols_[k]||k),k}l(Q,"lex");for(var _,L,b,W,T={},M,S,Z,U;;){if(L=o[o.length-1],this.defaultActions[L]?b=this.defaultActions[L]:((_===null||typeof _>"u")&&(_=Q()),b=A[L]&&A[L][_]),typeof b>"u"||!b.length||!b[0]){var z="";U=[];for(M in A[L])this.terminals_[M]&&M>te&&U.push("'"+this.terminals_[M]+"'");y.showPosition?z="Parse error on line "+(P+1)+`:
1
+ import{g as re}from"./chunk-XXDRQBXY-ClqYjHLS.js";import{s as oe}from"./chunk-POPQ4Y6H-Jfdu8NYy.js";import{_ as l,l as O,u as ae,v as ce,y as le,B as F,c as $,i as V,T as he}from"./index-DjEoMYXa.js";import{v as de}from"./v4-CeVyOvU8.js";import{i as ge,c as ue,e as pe}from"./index-Dz7T8mqj.js";import"./index-CJys1M3A.js";import"../datalayer-app-main.js";import"./fastdom-promised-ihiknY5F.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./stringify-D92ucQ0I.js";import"./dayjs.min-u3zuoSR8.js";var X=(function(){var e=l(function(x,n,i,o){for(i=i||{},o=x.length;o--;i[x[o]]=n);return i},"o"),r=[1,4],u=[1,13],c=[1,12],t=[1,15],h=[1,16],f=[1,20],m=[1,19],E=[6,7,8],v=[1,26],C=[1,24],I=[1,25],d=[6,7,11],w=[1,6,13,15,16,19,22],Y=[1,33],q=[1,34],R=[1,6,7,11,13,15,16,19,22],G={trace:l(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:l(function(n,i,o,a,p,s,A){var g=s.length-1;switch(p){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",s[g].id),a.addNode(s[g-1].length,s[g].id,s[g].descr,s[g].type);break;case 16:a.getLogger().trace("Icon: ",s[g]),a.decorateNode({icon:s[g]});break;case 17:case 21:a.decorateNode({class:s[g]});break;case 18:a.getLogger().trace("SPACELIST");break;case 19:a.getLogger().trace("Node: ",s[g].id),a.addNode(0,s[g].id,s[g].descr,s[g].type);break;case 20:a.decorateNode({icon:s[g]});break;case 25:a.getLogger().trace("node found ..",s[g-2]),this.$={id:s[g-1],descr:s[g-1],type:a.getType(s[g-2],s[g])};break;case 26:this.$={id:s[g],descr:s[g],type:a.nodeType.DEFAULT};break;case 27:a.getLogger().trace("node found ..",s[g-3]),this.$={id:s[g-3],descr:s[g-1],type:a.getType(s[g-2],s[g])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:r},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:r},{6:u,7:[1,10],9:9,12:11,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},e(E,[2,3]),{1:[2,2]},e(E,[2,4]),e(E,[2,5]),{1:[2,6],6:u,12:21,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},{6:u,9:22,12:11,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},{6:v,7:C,10:23,11:I},e(d,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:f,22:m}),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),e(d,[2,21]),e(d,[2,23]),e(d,[2,24]),e(d,[2,26],{19:[1,30]}),{20:[1,31]},{6:v,7:C,10:32,11:I},{1:[2,7],6:u,12:21,13:c,14:14,15:t,16:h,17:17,18:18,19:f,22:m},e(w,[2,14],{7:Y,11:q}),e(R,[2,8]),e(R,[2,9]),e(R,[2,10]),e(d,[2,15]),e(d,[2,16]),e(d,[2,17]),{20:[1,35]},{21:[1,36]},e(w,[2,13],{7:Y,11:q}),e(R,[2,11]),e(R,[2,12]),{21:[1,37]},e(d,[2,25]),e(d,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:l(function(n,i){if(i.recoverable)this.trace(n);else{var o=new Error(n);throw o.hash=i,o}},"parseError"),parse:l(function(n){var i=this,o=[0],a=[],p=[null],s=[],A=this.table,g="",P=0,J=0,te=2,K=1,ie=s.slice.call(arguments,1),y=Object.create(this.lexer),D={yy:{}};for(var j in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j)&&(D.yy[j]=this.yy[j]);y.setInput(n,D.yy),D.yy.lexer=y,D.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var H=y.yylloc;s.push(H);var ne=y.options&&y.options.ranges;typeof D.yy.parseError=="function"?this.parseError=D.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function se(k){o.length=o.length-2*k,p.length=p.length-k,s.length=s.length-k}l(se,"popStack");function Q(){var k;return k=a.pop()||y.lex()||K,typeof k!="number"&&(k instanceof Array&&(a=k,k=a.pop()),k=i.symbols_[k]||k),k}l(Q,"lex");for(var _,L,b,W,T={},M,S,Z,U;;){if(L=o[o.length-1],this.defaultActions[L]?b=this.defaultActions[L]:((_===null||typeof _>"u")&&(_=Q()),b=A[L]&&A[L][_]),typeof b>"u"||!b.length||!b[0]){var z="";U=[];for(M in A[L])this.terminals_[M]&&M>te&&U.push("'"+this.terminals_[M]+"'");y.showPosition?z="Parse error on line "+(P+1)+`:
2
2
  `+y.showPosition()+`
3
3
  Expecting `+U.join(", ")+", got '"+(this.terminals_[_]||_)+"'":z="Parse error on line "+(P+1)+": Unexpected "+(_==K?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(z,{text:y.match,token:this.terminals_[_]||_,line:y.yylineno,loc:H,expected:U})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+_);switch(b[0]){case 1:o.push(_),p.push(y.yytext),s.push(y.yylloc),o.push(b[1]),_=null,J=y.yyleng,g=y.yytext,P=y.yylineno,H=y.yylloc;break;case 2:if(S=this.productions_[b[1]][1],T.$=p[p.length-S],T._$={first_line:s[s.length-(S||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(S||1)].first_column,last_column:s[s.length-1].last_column},ne&&(T._$.range=[s[s.length-(S||1)].range[0],s[s.length-1].range[1]]),W=this.performAction.apply(T,[g,J,P,D.yy,b[1],p,s].concat(ie)),typeof W<"u")return W;S&&(o=o.slice(0,-1*S*2),p=p.slice(0,-1*S),s=s.slice(0,-1*S)),o.push(this.productions_[b[1]][0]),p.push(T.$),s.push(T._$),Z=A[o[o.length-2]][o[o.length-1]],o.push(Z);break;case 3:return!0}}return!0},"parse")},ee=(function(){var x={EOF:1,parseError:l(function(i,o){if(this.yy.parser)this.yy.parser.parseError(i,o);else throw new Error(i)},"parseError"),setInput:l(function(n,i){return this.yy=i||this.yy||{},this._input=n,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:l(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var i=n.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:l(function(n){var i=n.length,o=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var a=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),o.length-1&&(this.yylineno-=o.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===a.length?this.yylloc.first_column:0)+a[a.length-o.length].length-o[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:l(function(n){this.unput(this.match.slice(n))},"less"),pastInput:l(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var n=this.pastInput(),i=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
5
5
  `+i+"^"},"showPosition"),test_match:l(function(n,i){var o,a,p;if(this.options.backtrack_lexer&&(p={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&&(p.yylloc.range=this.yylloc.range.slice(0))),a=n[0].match(/(?:\r\n?|\n).*/g),a&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,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(n[0].length),this.matched+=n[0],o=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o)return o;if(this._backtrack){for(var s in p)this[s]=p[s];return!1}return!1},"test_match"),next:l(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var n,i,o,a;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),s=0;s<p.length;s++)if(o=this._input.match(this.rules[p[s]]),o&&(!i||o[0].length>i[0].length)){if(i=o,a=s,this.options.backtrack_lexer){if(n=this.test_match(o,p[s]),n!==!1)return n;if(this._backtrack){i=!1;continue}else return!1}else if(!this.options.flex)break}return i?(n=this.test_match(i,p[a]),n!==!1?n:!1):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:l(function(){var i=this.next();return i||this.lex()},"lex"),begin:l(function(i){this.conditionStack.push(i)},"begin"),popState:l(function(){var i=this.conditionStack.length-1;return i>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:l(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:l(function(i){return i=this.conditionStack.length-1-Math.abs(i||0),i>=0?this.conditionStack[i]:"INITIAL"},"topState"),pushState:l(function(i){this.begin(i)},"pushState"),stateStackSize:l(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:l(function(i,o,a,p){switch(a){case 0:return i.getLogger().trace("Found comment",o.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:i.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return i.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:i.getLogger().trace("end icon"),this.popState();break;case 10:return i.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return i.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return i.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return i.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:i.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return i.getLogger().trace("description:",o.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),i.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),i.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),i.getLogger().trace("node end ...",o.yytext),"NODE_DEND";case 30:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 32:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 33:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 34:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 35:return i.getLogger().trace("Long description:",o.yytext),20;case 36:return i.getLogger().trace("Long description:",o.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}}};return x})();G.lexer=ee;function B(){this.yy={}}return l(B,"Parser"),B.prototype=G,G.Parser=B,new B})();X.parser=X;var fe=X,me=12,N={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},ye=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=N,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{l(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let r=this.nodes.length-1;r>=0;r--)if(this.nodes[r].level<e)return this.nodes[r];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,r,u,c){O.info("addNode",e,r,u,c);let t=!1;this.nodes.length===0?(this.baseLevel=e,e=0,t=!0):this.baseLevel!==void 0&&(e=e-this.baseLevel,t=!1);const h=$();let f=h.mindmap?.padding??F.mindmap.padding;switch(c){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:f*=2;break}const m={id:this.count++,nodeId:V(r,h),level:e,descr:V(u,h),type:c,children:[],width:h.mindmap?.maxNodeWidth??F.mindmap.maxNodeWidth,padding:f,isRoot:t},E=this.getParent(e);if(E)E.children.push(m),this.nodes.push(m);else if(t)this.nodes.push(m);else throw new Error(`There can be only one root. No parent could be found for ("${m.descr}")`)}getType(e,r){switch(O.debug("In get type",e,r),e){case"[":return this.nodeType.RECT;case"(":return r===")"?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,r){this.elements[e]=r}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;const r=$(),u=this.nodes[this.nodes.length-1];e.icon&&(u.icon=V(e.icon,r)),e.class&&(u.class=V(e.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,r){if(e.level===0?e.section=void 0:e.section=r,e.children)for(const[u,c]of e.children.entries()){const t=e.level===0?u%(me-1):r;this.assignSections(c,t)}}flattenNodes(e,r){const u=$(),c=["mindmap-node"];e.isRoot===!0?c.push("section-root","section--1"):e.section!==void 0&&c.push(`section-${e.section}`),e.class&&c.push(e.class);const t=c.join(" "),h=l(m=>{const v=(u.theme?.toLowerCase()??"").includes("redux");switch(m){case N.CIRCLE:return"mindmapCircle";case N.RECT:return"rect";case N.ROUNDED_RECT:return"rounded";case N.CLOUD:return"cloud";case N.BANG:return"bang";case N.HEXAGON:return"hexagon";case N.DEFAULT:return v?"rounded":"defaultMindmapNode";case N.NO_BORDER:default:return"rect"}},"getShapeFromType"),f={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:h(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:t,cssStyles:[],look:u.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(r.push(f),e.children)for(const m of e.children)this.flattenNodes(m,r)}generateEdges(e,r){if(!e.children)return;const u=$();for(const c of e.children){let t="edge";c.section!==void 0&&(t+=` section-edge-${c.section}`);const h=e.level+1;t+=` edge-depth-${h}`;const f={id:`edge_${e.id}_${c.id}`,start:e.id.toString(),end:c.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:u.look,classes:t,depth:e.level,section:c.section};r.push(f),this.generateEdges(c,r)}}getData(){const e=this.getMindmap(),r=$(),c=he().layout!==void 0,t=r;if(c||(t.layout="cose-bilkent"),!e)return{nodes:[],edges:[],config:t};O.debug("getData: mindmapRoot",e,r),this.assignSections(e);const h=[],f=[];this.flattenNodes(e,h),this.generateEdges(e,f),O.debug(`getData: processed ${h.length} nodes and ${f.length} edges`);const m=new Map;for(const E of h)m.set(E.id,{shape:E.shape,width:E.width,height:E.height,padding:E.padding});return{nodes:h,edges:f,config:t,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(m),type:"mindmap",diagramId:"mindmap-"+pe()}}getLogger(){return O}},Ee=l(async(e,r,u,c)=>{O.debug(`Rendering mindmap diagram
7
- `+e);const t=c.db,h=t.getData(),f=re(r,h.config.securityLevel);if(h.type=c.type,h.layoutAlgorithm=ae(h.config.layout,{fallback:"cose-bilkent"}),h.diagramId=r,!t.getMindmap())return;h.nodes.forEach(d=>{d.shape==="rounded"?(d.radius=15,d.taper=15,d.stroke="none",d.width=0,d.padding=15):d.shape==="circle"?d.padding=10:d.shape==="rect"?(d.width=0,d.padding=10):d.shape==="hexagon"&&(d.width=0,d.height=0)}),await ce(h,f);const{themeVariables:E}=le(),{useGradient:v,gradientStart:C,gradientStop:I}=E;if(v&&C&&I){const d=f.attr("id"),w=f.append("defs").append("linearGradient").attr("id",`${d}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");w.append("stop").attr("offset","0%").attr("stop-color",C).attr("stop-opacity",1),w.append("stop").attr("offset","100%").attr("stop-color",I).attr("stop-opacity",1)}oe(f,h.config.mindmap?.padding??F.mindmap.padding,"mindmapDiagram",h.config.mindmap?.useMaxWidth??F.mindmap.useMaxWidth)},"draw"),_e={draw:Ee},ke=l(e=>{const{theme:r,look:u}=e;let c="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e["lineColor"+t]=e["lineColor"+t]||e["cScaleInv"+t],de(e["lineColor"+t])?e["lineColor"+t]=ge(e["lineColor"+t],20):e["lineColor"+t]=ue(e["lineColor"+t],20);for(let t=0;t<e.THEME_COLOR_LIMIT;t++){const h=""+(u==="neo"?Math.max(10-(t-1)*2,2):17-3*t);c+=`
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:l(function(){var i=this.next();return i||this.lex()},"lex"),begin:l(function(i){this.conditionStack.push(i)},"begin"),popState:l(function(){var i=this.conditionStack.length-1;return i>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:l(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:l(function(i){return i=this.conditionStack.length-1-Math.abs(i||0),i>=0?this.conditionStack[i]:"INITIAL"},"topState"),pushState:l(function(i){this.begin(i)},"pushState"),stateStackSize:l(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:l(function(i,o,a,p){switch(a){case 0:return i.getLogger().trace("Found comment",o.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:i.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return i.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:i.getLogger().trace("end icon"),this.popState();break;case 10:return i.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return i.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return i.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return i.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:i.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return i.getLogger().trace("description:",o.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),i.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),i.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),i.getLogger().trace("node end ...",o.yytext),"NODE_DEND";case 30:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 32:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 33:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 34:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 35:return i.getLogger().trace("Long description:",o.yytext),20;case 36:return i.getLogger().trace("Long description:",o.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}}};return x})();G.lexer=ee;function B(){this.yy={}}return l(B,"Parser"),B.prototype=G,G.Parser=B,new B})();X.parser=X;var fe=X,me=12,N={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},ye=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=N,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{l(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let r=this.nodes.length-1;r>=0;r--)if(this.nodes[r].level<e)return this.nodes[r];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,r,u,c){O.info("addNode",e,r,u,c);let t=!1;this.nodes.length===0?(this.baseLevel=e,e=0,t=!0):this.baseLevel!==void 0&&(e=e-this.baseLevel,t=!1);const h=$();let f=h.mindmap?.padding??F.mindmap.padding;switch(c){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:f*=2;break}const m={id:this.count++,nodeId:V(r,h),level:e,descr:V(u,h),type:c,children:[],width:h.mindmap?.maxNodeWidth??F.mindmap.maxNodeWidth,padding:f,isRoot:t},E=this.getParent(e);if(E)E.children.push(m),this.nodes.push(m);else if(t)this.nodes.push(m);else throw new Error(`There can be only one root. No parent could be found for ("${m.descr}")`)}getType(e,r){switch(O.debug("In get type",e,r),e){case"[":return this.nodeType.RECT;case"(":return r===")"?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,r){this.elements[e]=r}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;const r=$(),u=this.nodes[this.nodes.length-1];e.icon&&(u.icon=V(e.icon,r)),e.class&&(u.class=V(e.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,r){if(e.level===0?e.section=void 0:e.section=r,e.children)for(const[u,c]of e.children.entries()){const t=e.level===0?u%(me-1):r;this.assignSections(c,t)}}flattenNodes(e,r){const u=$(),c=["mindmap-node"];e.isRoot===!0?c.push("section-root","section--1"):e.section!==void 0&&c.push(`section-${e.section}`),e.class&&c.push(e.class);const t=c.join(" "),h=l(m=>{const v=(u.theme?.toLowerCase()??"").includes("redux");switch(m){case N.CIRCLE:return"mindmapCircle";case N.RECT:return"rect";case N.ROUNDED_RECT:return"rounded";case N.CLOUD:return"cloud";case N.BANG:return"bang";case N.HEXAGON:return"hexagon";case N.DEFAULT:return v?"rounded":"defaultMindmapNode";case N.NO_BORDER:default:return"rect"}},"getShapeFromType"),f={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:h(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:t,cssStyles:[],look:u.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(r.push(f),e.children)for(const m of e.children)this.flattenNodes(m,r)}generateEdges(e,r){if(!e.children)return;const u=$();for(const c of e.children){let t="edge";c.section!==void 0&&(t+=` section-edge-${c.section}`);const h=e.level+1;t+=` edge-depth-${h}`;const f={id:`edge_${e.id}_${c.id}`,start:e.id.toString(),end:c.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:u.look,classes:t,depth:e.level,section:c.section};r.push(f),this.generateEdges(c,r)}}getData(){const e=this.getMindmap(),r=$(),c=he().layout!==void 0,t=r;if(c||(t.layout="cose-bilkent"),!e)return{nodes:[],edges:[],config:t};O.debug("getData: mindmapRoot",e,r),this.assignSections(e);const h=[],f=[];this.flattenNodes(e,h),this.generateEdges(e,f),O.debug(`getData: processed ${h.length} nodes and ${f.length} edges`);const m=new Map;for(const E of h)m.set(E.id,{shape:E.shape,width:E.width,height:E.height,padding:E.padding});return{nodes:h,edges:f,config:t,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(m),type:"mindmap",diagramId:"mindmap-"+de()}}getLogger(){return O}},Ee=l(async(e,r,u,c)=>{O.debug(`Rendering mindmap diagram
7
+ `+e);const t=c.db,h=t.getData(),f=re(r,h.config.securityLevel);if(h.type=c.type,h.layoutAlgorithm=ae(h.config.layout,{fallback:"cose-bilkent"}),h.diagramId=r,!t.getMindmap())return;h.nodes.forEach(d=>{d.shape==="rounded"?(d.radius=15,d.taper=15,d.stroke="none",d.width=0,d.padding=15):d.shape==="circle"?d.padding=10:d.shape==="rect"?(d.width=0,d.padding=10):d.shape==="hexagon"&&(d.width=0,d.height=0)}),await ce(h,f);const{themeVariables:E}=le(),{useGradient:v,gradientStart:C,gradientStop:I}=E;if(v&&C&&I){const d=f.attr("id"),w=f.append("defs").append("linearGradient").attr("id",`${d}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");w.append("stop").attr("offset","0%").attr("stop-color",C).attr("stop-opacity",1),w.append("stop").attr("offset","100%").attr("stop-color",I).attr("stop-opacity",1)}oe(f,h.config.mindmap?.padding??F.mindmap.padding,"mindmapDiagram",h.config.mindmap?.useMaxWidth??F.mindmap.useMaxWidth)},"draw"),_e={draw:Ee},ke=l(e=>{const{theme:r,look:u}=e;let c="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e["lineColor"+t]=e["lineColor"+t]||e["cScaleInv"+t],ge(e["lineColor"+t])?e["lineColor"+t]=ue(e["lineColor"+t],20):e["lineColor"+t]=pe(e["lineColor"+t],20);for(let t=0;t<e.THEME_COLOR_LIMIT;t++){const h=""+(u==="neo"?Math.max(10-(t-1)*2,2):17-3*t);c+=`
8
8
  .section-${t-1} rect, .section-${t-1} path, .section-${t-1} circle, .section-${t-1} polygon, .section-${t-1} path {
9
9
  fill: ${e["cScale"+t]};
10
10
  }
@@ -93,4 +93,4 @@ Expecting `+U.join(", ")+", got '"+(this.terminals_[_]||_)+"'":z="Parse error on
93
93
  fill: ${r?.includes("redux")?e.nodeBorder:e["cScaleLabel"+(r==="neutral"?1:0)]};
94
94
  }
95
95
  ${e.useGradient&&u&&e.mainBkg?be(e.THEME_COLOR_LIMIT,u,e.mainBkg):""}
96
- `},"getStyles"),Ne=Se,Ge={get db(){return new ye},renderer:_e,parser:fe,styles:Ne};export{Ge as diagram};
96
+ `},"getStyles"),Ne=Se,Me={get db(){return new ye},renderer:_e,parser:fe,styles:Ne};export{Me as diagram};
@@ -1,4 +1,4 @@
1
- import{l as C,c as q,y as lt,I as ht,B as F,h as U,A as gt}from"./mermaid.core-DIIwHAlX.js";import{c as tt}from"./cytoscape.esm-CkK8FqzY.js";import{c as dt}from"./cytoscape-cose-bilkent-B5acf4yo.js";import{n as ut,o as pt,q as ft,s as yt}from"./index-DqGFpucN.js";import{c as mt}from"./createText-aed3d8b3-Dw977TwJ.js";import"./index-DoBkwclg.js";import"../datalayer-app-main.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./merge-B_wcPK4Y.js";import"./Middleware-BiLBmIq0.js";import"./color-CG7_7V2-.js";import"./index-atSsKceW.js";var Y=(function(){var e=function(w,o,s,l){for(s=s||{},l=w.length;l--;s[w[l]]=o);return s},a=[1,4],t=[1,13],n=[1,12],r=[1,15],i=[1,16],g=[1,20],u=[1,19],f=[6,7,8],E=[1,26],$=[1,24],O=[1,25],y=[6,7,11],B=[1,6,13,15,16,19,22],S=[1,33],N=[1,34],T=[1,6,7,11,13,15,16,19,22],H={trace:function(){},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:function(o,s,l,h,p,c,R){var d=c.length-1;switch(p){case 6:case 7:return h;case 8:h.getLogger().trace("Stop NL ");break;case 9:h.getLogger().trace("Stop EOF ");break;case 11:h.getLogger().trace("Stop NL2 ");break;case 12:h.getLogger().trace("Stop EOF2 ");break;case 15:h.getLogger().info("Node: ",c[d].id),h.addNode(c[d-1].length,c[d].id,c[d].descr,c[d].type);break;case 16:h.getLogger().trace("Icon: ",c[d]),h.decorateNode({icon:c[d]});break;case 17:case 21:h.decorateNode({class:c[d]});break;case 18:h.getLogger().trace("SPACELIST");break;case 19:h.getLogger().trace("Node: ",c[d].id),h.addNode(0,c[d].id,c[d].descr,c[d].type);break;case 20:h.decorateNode({icon:c[d]});break;case 25:h.getLogger().trace("node found ..",c[d-2]),this.$={id:c[d-1],descr:c[d-1],type:h.getType(c[d-2],c[d])};break;case 26:this.$={id:c[d],descr:c[d],type:h.nodeType.DEFAULT};break;case 27:h.getLogger().trace("node found ..",c[d-3]),this.$={id:c[d-3],descr:c[d-1],type:h.getType(c[d-2],c[d])};break}},table:[{3:1,4:2,5:3,6:[1,5],8:a},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:a},{6:t,7:[1,10],9:9,12:11,13:n,14:14,15:r,16:i,17:17,18:18,19:g,22:u},e(f,[2,3]),{1:[2,2]},e(f,[2,4]),e(f,[2,5]),{1:[2,6],6:t,12:21,13:n,14:14,15:r,16:i,17:17,18:18,19:g,22:u},{6:t,9:22,12:11,13:n,14:14,15:r,16:i,17:17,18:18,19:g,22:u},{6:E,7:$,10:23,11:O},e(y,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:g,22:u}),e(y,[2,18]),e(y,[2,19]),e(y,[2,20]),e(y,[2,21]),e(y,[2,23]),e(y,[2,24]),e(y,[2,26],{19:[1,30]}),{20:[1,31]},{6:E,7:$,10:32,11:O},{1:[2,7],6:t,12:21,13:n,14:14,15:r,16:i,17:17,18:18,19:g,22:u},e(B,[2,14],{7:S,11:N}),e(T,[2,8]),e(T,[2,9]),e(T,[2,10]),e(y,[2,15]),e(y,[2,16]),e(y,[2,17]),{20:[1,35]},{21:[1,36]},e(B,[2,13],{7:S,11:N}),e(T,[2,11]),e(T,[2,12]),{21:[1,37]},e(y,[2,25]),e(y,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(o,s){if(s.recoverable)this.trace(o);else{var l=new Error(o);throw l.hash=s,l}},parse:function(o){var s=this,l=[0],h=[],p=[null],c=[],R=this.table,d="",P=0,J=0,rt=2,K=1,at=c.slice.call(arguments,1),_=Object.create(this.lexer),v={yy:{}};for(var G in this.yy)Object.prototype.hasOwnProperty.call(this.yy,G)&&(v.yy[G]=this.yy[G]);_.setInput(o,v.yy),v.yy.lexer=_,v.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var z=_.yylloc;c.push(z);var ot=_.options&&_.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ct(){var D;return D=h.pop()||_.lex()||K,typeof D!="number"&&(D instanceof Array&&(h=D,D=h.pop()),D=s.symbols_[D]||D),D}for(var b,I,k,X,A={},M,L,Q,V;;){if(I=l[l.length-1],this.defaultActions[I]?k=this.defaultActions[I]:((b===null||typeof b>"u")&&(b=ct()),k=R[I]&&R[I][b]),typeof k>"u"||!k.length||!k[0]){var W="";V=[];for(M in R[I])this.terminals_[M]&&M>rt&&V.push("'"+this.terminals_[M]+"'");_.showPosition?W="Parse error on line "+(P+1)+`:
1
+ import{l as C,c as q,y as lt,I as ht,B as F,h as U,A as gt}from"./mermaid.core-CCCzTT5Y.js";import{c as tt}from"./cytoscape.esm-CkK8FqzY.js";import{c as dt}from"./cytoscape-cose-bilkent-B5acf4yo.js";import{c as ut}from"./createText-aed3d8b3-BxsX7KcT.js";import{i as pt,c as ft,e as yt,s as mt}from"./index-Dz7T8mqj.js";import"./index-DoBkwclg.js";import"../datalayer-app-main.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./merge-B_wcPK4Y.js";import"./Middleware-BiLBmIq0.js";import"./dayjs.min-u3zuoSR8.js";var Y=(function(){var e=function(w,o,s,l){for(s=s||{},l=w.length;l--;s[w[l]]=o);return s},a=[1,4],t=[1,13],n=[1,12],r=[1,15],i=[1,16],g=[1,20],u=[1,19],f=[6,7,8],E=[1,26],$=[1,24],O=[1,25],y=[6,7,11],B=[1,6,13,15,16,19,22],S=[1,33],N=[1,34],T=[1,6,7,11,13,15,16,19,22],H={trace:function(){},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:function(o,s,l,h,p,c,R){var d=c.length-1;switch(p){case 6:case 7:return h;case 8:h.getLogger().trace("Stop NL ");break;case 9:h.getLogger().trace("Stop EOF ");break;case 11:h.getLogger().trace("Stop NL2 ");break;case 12:h.getLogger().trace("Stop EOF2 ");break;case 15:h.getLogger().info("Node: ",c[d].id),h.addNode(c[d-1].length,c[d].id,c[d].descr,c[d].type);break;case 16:h.getLogger().trace("Icon: ",c[d]),h.decorateNode({icon:c[d]});break;case 17:case 21:h.decorateNode({class:c[d]});break;case 18:h.getLogger().trace("SPACELIST");break;case 19:h.getLogger().trace("Node: ",c[d].id),h.addNode(0,c[d].id,c[d].descr,c[d].type);break;case 20:h.decorateNode({icon:c[d]});break;case 25:h.getLogger().trace("node found ..",c[d-2]),this.$={id:c[d-1],descr:c[d-1],type:h.getType(c[d-2],c[d])};break;case 26:this.$={id:c[d],descr:c[d],type:h.nodeType.DEFAULT};break;case 27:h.getLogger().trace("node found ..",c[d-3]),this.$={id:c[d-3],descr:c[d-1],type:h.getType(c[d-2],c[d])};break}},table:[{3:1,4:2,5:3,6:[1,5],8:a},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:a},{6:t,7:[1,10],9:9,12:11,13:n,14:14,15:r,16:i,17:17,18:18,19:g,22:u},e(f,[2,3]),{1:[2,2]},e(f,[2,4]),e(f,[2,5]),{1:[2,6],6:t,12:21,13:n,14:14,15:r,16:i,17:17,18:18,19:g,22:u},{6:t,9:22,12:11,13:n,14:14,15:r,16:i,17:17,18:18,19:g,22:u},{6:E,7:$,10:23,11:O},e(y,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:g,22:u}),e(y,[2,18]),e(y,[2,19]),e(y,[2,20]),e(y,[2,21]),e(y,[2,23]),e(y,[2,24]),e(y,[2,26],{19:[1,30]}),{20:[1,31]},{6:E,7:$,10:32,11:O},{1:[2,7],6:t,12:21,13:n,14:14,15:r,16:i,17:17,18:18,19:g,22:u},e(B,[2,14],{7:S,11:N}),e(T,[2,8]),e(T,[2,9]),e(T,[2,10]),e(y,[2,15]),e(y,[2,16]),e(y,[2,17]),{20:[1,35]},{21:[1,36]},e(B,[2,13],{7:S,11:N}),e(T,[2,11]),e(T,[2,12]),{21:[1,37]},e(y,[2,25]),e(y,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(o,s){if(s.recoverable)this.trace(o);else{var l=new Error(o);throw l.hash=s,l}},parse:function(o){var s=this,l=[0],h=[],p=[null],c=[],R=this.table,d="",P=0,J=0,rt=2,K=1,at=c.slice.call(arguments,1),_=Object.create(this.lexer),v={yy:{}};for(var G in this.yy)Object.prototype.hasOwnProperty.call(this.yy,G)&&(v.yy[G]=this.yy[G]);_.setInput(o,v.yy),v.yy.lexer=_,v.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var z=_.yylloc;c.push(z);var ot=_.options&&_.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ct(){var D;return D=h.pop()||_.lex()||K,typeof D!="number"&&(D instanceof Array&&(h=D,D=h.pop()),D=s.symbols_[D]||D),D}for(var b,I,k,X,A={},M,L,Q,V;;){if(I=l[l.length-1],this.defaultActions[I]?k=this.defaultActions[I]:((b===null||typeof b>"u")&&(b=ct()),k=R[I]&&R[I][b]),typeof k>"u"||!k.length||!k[0]){var W="";V=[];for(M in R[I])this.terminals_[M]&&M>rt&&V.push("'"+this.terminals_[M]+"'");_.showPosition?W="Parse error on line "+(P+1)+`:
2
2
  `+_.showPosition()+`
3
3
  Expecting `+V.join(", ")+", got '"+(this.terminals_[b]||b)+"'":W="Parse error on line "+(P+1)+": Unexpected "+(b==K?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(W,{text:_.match,token:this.terminals_[b]||b,line:_.yylineno,loc:z,expected:V})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+b);switch(k[0]){case 1:l.push(b),p.push(_.yytext),c.push(_.yylloc),l.push(k[1]),b=null,J=_.yyleng,d=_.yytext,P=_.yylineno,z=_.yylloc;break;case 2:if(L=this.productions_[k[1]][1],A.$=p[p.length-L],A._$={first_line:c[c.length-(L||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(L||1)].first_column,last_column:c[c.length-1].last_column},ot&&(A._$.range=[c[c.length-(L||1)].range[0],c[c.length-1].range[1]]),X=this.performAction.apply(A,[d,J,P,v.yy,k[1],p,c].concat(at)),typeof X<"u")return X;L&&(l=l.slice(0,-1*L*2),p=p.slice(0,-1*L),c=c.slice(0,-1*L)),l.push(this.productions_[k[1]][0]),p.push(A.$),c.push(A._$),Q=R[l[l.length-2]][l[l.length-1]],l.push(Q);break;case 3:return!0}}return!0}},st=(function(){var w={EOF:1,parseError:function(s,l){if(this.yy.parser)this.yy.parser.parseError(s,l);else throw new Error(s)},setInput:function(o,s){return this.yy=s||this.yy||{},this._input=o,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},input:function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var s=o.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},unput:function(o){var s=o.length,l=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var h=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===h.length?this.yylloc.first_column:0)+h[h.length-l.length].length-l[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),s=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
@@ -36,8 +36,8 @@ Expecting `+V.join(", ")+", got '"+(this.terminals_[b]||b)+"'":W="Parse error on
36
36
  a${i},${i} 1 0,0 ${n*.1},${-1*r*.33}
37
37
 
38
38
  H0 V0 Z`)},Bt=function(e,a,t){a.append("circle").attr("id","node-"+t.id).attr("class","node-bkg node-"+e.type2Str(t.type)).attr("r",t.width/2)};function Pt(e,a,t,n,r){return e.insert("polygon",":first-child").attr("points",n.map(function(i){return i.x+","+i.y}).join(" ")).attr("transform","translate("+(r.width-a)/2+", "+t+")")}const Mt=function(e,a,t){const n=t.height,i=n/4,g=t.width-t.padding+2*i,u=[{x:i,y:0},{x:g-i,y:0},{x:g,y:-n/2},{x:g-i,y:-n},{x:i,y:-n},{x:0,y:-n/2}];Pt(a,g,n,u,t)},Vt=function(e,a,t){a.append("rect").attr("id","node-"+t.id).attr("class","node-bkg node-"+e.type2Str(t.type)).attr("height",t.height).attr("rx",t.padding).attr("ry",t.padding).attr("width",t.width)},Ft=function(e,a,t,n,r){const i=r.htmlLabels,g=n%(It-1),u=a.append("g");t.section=g;let f="section-"+g;g<0&&(f+=" section-root"),u.attr("class",(t.class?t.class+" ":"")+"mindmap-node "+f);const E=u.append("g"),$=u.append("g"),O=t.descr.replace(/(<br\/*>)/g,`
39
- `);mt($,O,{useHtmlLabels:i,width:t.width,classes:"mindmap-node-label"}),i||$.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const y=$.node().getBBox(),[B]=gt(r.fontSize);if(t.height=y.height+B*1.1*.5+t.padding,t.width=y.width+2*t.padding,t.icon)if(t.type===e.nodeType.CIRCLE)t.height+=50,t.width+=50,u.append("foreignObject").attr("height","50px").attr("width",t.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+g+" "+t.icon),$.attr("transform","translate("+t.width/2+", "+(t.height/2-1.5*t.padding)+")");else{t.width+=50;const S=t.height;t.height=Math.max(S,60);const N=Math.abs(t.height-S);u.append("foreignObject").attr("width","60px").attr("height",t.height).attr("style","text-align: center;margin-top:"+N/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+g+" "+t.icon),$.attr("transform","translate("+(25+t.width/2)+", "+(N/2+t.padding/2)+")")}else if(i){const S=(t.width-y.width)/2,N=(t.height-y.height)/2;$.attr("transform","translate("+S+", "+N+")")}else{const S=t.width/2,N=t.padding/2;$.attr("transform","translate("+S+", "+N+")")}switch(t.type){case e.nodeType.DEFAULT:Ct(e,E,t,g);break;case e.nodeType.ROUNDED_RECT:Vt(e,E,t);break;case e.nodeType.RECT:Tt(e,E,t);break;case e.nodeType.CIRCLE:E.attr("transform","translate("+t.width/2+", "+ +t.height/2+")"),Bt(e,E,t);break;case e.nodeType.CLOUD:At(e,E,t);break;case e.nodeType.BANG:Rt(e,E,t);break;case e.nodeType.HEXAGON:Mt(e,E,t);break}return e.setElementForId(t.id,u),t.height},Ut=function(e,a){const t=e.getElementById(a.id),n=a.x||0,r=a.y||0;t.attr("transform","translate("+n+","+r+")")};tt.use(dt);function it(e,a,t,n,r){Ft(e,a,t,n,r),t.children&&t.children.forEach((i,g)=>{it(e,a,i,n<0?g:n,r)})}function Ht(e,a){a.edges().map((t,n)=>{const r=t.data();if(t[0]._private.bodyBounds){const i=t[0]._private.rscratch;C.trace("Edge: ",n,r),e.insert("path").attr("d",`M ${i.startX},${i.startY} L ${i.midX},${i.midY} L${i.endX},${i.endY} `).attr("class","edge section-edge-"+r.section+" edge-depth-"+r.depth)}})}function nt(e,a,t,n){a.add({group:"nodes",data:{id:e.id.toString(),labelText:e.descr,height:e.height,width:e.width,level:n,nodeId:e.id,padding:e.padding,type:e.type},position:{x:e.x,y:e.y}}),e.children&&e.children.forEach(r=>{nt(r,a,t,n+1),a.add({group:"edges",data:{id:`${e.id}_${r.id}`,source:e.id,target:r.id,depth:n,section:r.section}})})}function jt(e,a){return new Promise(t=>{const n=yt("body").append("div").attr("id","cy").attr("style","display:none"),r=tt({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});n.remove(),nt(e,r,a,0),r.nodes().forEach(function(i){i.layoutDimensions=()=>{const g=i.data();return{w:g.width,h:g.height}}}),r.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),r.ready(i=>{C.info("Ready",i),t(r)})})}function Gt(e,a){a.nodes().map((t,n)=>{const r=t.data();r.x=t.position().x,r.y=t.position().y,Ut(e,r);const i=e.getElementById(r.nodeId);C.info("Id:",n,"Position: (",t.position().x,", ",t.position().y,")",r),i.attr("transform",`translate(${t.position().x-r.width/2}, ${t.position().y-r.height/2})`),i.attr("attr",`apa-${n})`)})}const zt=async(e,a,t,n)=>{var r,i;C.debug(`Rendering mindmap diagram
40
- `+e);const g=n.db,u=g.getMindmap();if(!u)return;const f=q();f.htmlLabels=!1;const E=lt(a),$=E.append("g");$.attr("class","mindmap-edges");const O=E.append("g");O.attr("class","mindmap-nodes"),it(g,O,u,-1,f);const y=await jt(u,f);Ht($,y),Gt(g,y),ht(void 0,E,((r=f.mindmap)==null?void 0:r.padding)??F.mindmap.padding,((i=f.mindmap)==null?void 0:i.useMaxWidth)??F.mindmap.useMaxWidth)},Xt={draw:zt},Wt=e=>{let a="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e["lineColor"+t]=e["lineColor"+t]||e["cScaleInv"+t],ut(e["lineColor"+t])?e["lineColor"+t]=pt(e["lineColor"+t],20):e["lineColor"+t]=ft(e["lineColor"+t],20);for(let t=0;t<e.THEME_COLOR_LIMIT;t++){const n=""+(17-3*t);a+=`
39
+ `);ut($,O,{useHtmlLabels:i,width:t.width,classes:"mindmap-node-label"}),i||$.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const y=$.node().getBBox(),[B]=gt(r.fontSize);if(t.height=y.height+B*1.1*.5+t.padding,t.width=y.width+2*t.padding,t.icon)if(t.type===e.nodeType.CIRCLE)t.height+=50,t.width+=50,u.append("foreignObject").attr("height","50px").attr("width",t.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+g+" "+t.icon),$.attr("transform","translate("+t.width/2+", "+(t.height/2-1.5*t.padding)+")");else{t.width+=50;const S=t.height;t.height=Math.max(S,60);const N=Math.abs(t.height-S);u.append("foreignObject").attr("width","60px").attr("height",t.height).attr("style","text-align: center;margin-top:"+N/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+g+" "+t.icon),$.attr("transform","translate("+(25+t.width/2)+", "+(N/2+t.padding/2)+")")}else if(i){const S=(t.width-y.width)/2,N=(t.height-y.height)/2;$.attr("transform","translate("+S+", "+N+")")}else{const S=t.width/2,N=t.padding/2;$.attr("transform","translate("+S+", "+N+")")}switch(t.type){case e.nodeType.DEFAULT:Ct(e,E,t,g);break;case e.nodeType.ROUNDED_RECT:Vt(e,E,t);break;case e.nodeType.RECT:Tt(e,E,t);break;case e.nodeType.CIRCLE:E.attr("transform","translate("+t.width/2+", "+ +t.height/2+")"),Bt(e,E,t);break;case e.nodeType.CLOUD:At(e,E,t);break;case e.nodeType.BANG:Rt(e,E,t);break;case e.nodeType.HEXAGON:Mt(e,E,t);break}return e.setElementForId(t.id,u),t.height},Ut=function(e,a){const t=e.getElementById(a.id),n=a.x||0,r=a.y||0;t.attr("transform","translate("+n+","+r+")")};tt.use(dt);function it(e,a,t,n,r){Ft(e,a,t,n,r),t.children&&t.children.forEach((i,g)=>{it(e,a,i,n<0?g:n,r)})}function Ht(e,a){a.edges().map((t,n)=>{const r=t.data();if(t[0]._private.bodyBounds){const i=t[0]._private.rscratch;C.trace("Edge: ",n,r),e.insert("path").attr("d",`M ${i.startX},${i.startY} L ${i.midX},${i.midY} L${i.endX},${i.endY} `).attr("class","edge section-edge-"+r.section+" edge-depth-"+r.depth)}})}function nt(e,a,t,n){a.add({group:"nodes",data:{id:e.id.toString(),labelText:e.descr,height:e.height,width:e.width,level:n,nodeId:e.id,padding:e.padding,type:e.type},position:{x:e.x,y:e.y}}),e.children&&e.children.forEach(r=>{nt(r,a,t,n+1),a.add({group:"edges",data:{id:`${e.id}_${r.id}`,source:e.id,target:r.id,depth:n,section:r.section}})})}function jt(e,a){return new Promise(t=>{const n=mt("body").append("div").attr("id","cy").attr("style","display:none"),r=tt({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});n.remove(),nt(e,r,a,0),r.nodes().forEach(function(i){i.layoutDimensions=()=>{const g=i.data();return{w:g.width,h:g.height}}}),r.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),r.ready(i=>{C.info("Ready",i),t(r)})})}function Gt(e,a){a.nodes().map((t,n)=>{const r=t.data();r.x=t.position().x,r.y=t.position().y,Ut(e,r);const i=e.getElementById(r.nodeId);C.info("Id:",n,"Position: (",t.position().x,", ",t.position().y,")",r),i.attr("transform",`translate(${t.position().x-r.width/2}, ${t.position().y-r.height/2})`),i.attr("attr",`apa-${n})`)})}const zt=async(e,a,t,n)=>{var r,i;C.debug(`Rendering mindmap diagram
40
+ `+e);const g=n.db,u=g.getMindmap();if(!u)return;const f=q();f.htmlLabels=!1;const E=lt(a),$=E.append("g");$.attr("class","mindmap-edges");const O=E.append("g");O.attr("class","mindmap-nodes"),it(g,O,u,-1,f);const y=await jt(u,f);Ht($,y),Gt(g,y),ht(void 0,E,((r=f.mindmap)==null?void 0:r.padding)??F.mindmap.padding,((i=f.mindmap)==null?void 0:i.useMaxWidth)??F.mindmap.useMaxWidth)},Xt={draw:zt},Wt=e=>{let a="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e["lineColor"+t]=e["lineColor"+t]||e["cScaleInv"+t],pt(e["lineColor"+t])?e["lineColor"+t]=ft(e["lineColor"+t],20):e["lineColor"+t]=yt(e["lineColor"+t],20);for(let t=0;t<e.THEME_COLOR_LIMIT;t++){const n=""+(17-3*t);a+=`
41
41
  .section-${t-1} rect, .section-${t-1} path, .section-${t-1} circle, .section-${t-1} polygon, .section-${t-1} path {
42
42
  fill: ${e["cScale"+t]};
43
43
  }
@@ -92,4 +92,4 @@ Expecting `+V.join(", ")+", got '"+(this.terminals_[b]||b)+"'":W="Parse error on
92
92
  dominant-baseline: middle;
93
93
  text-align: center;
94
94
  }
95
- `,qt=Yt,le={db:vt,renderer:Xt,parser:Et,styles:qt};export{le as diagram};
95
+ `,qt=Yt,ce={db:vt,renderer:Xt,parser:Et,styles:qt};export{ce as diagram};
@@ -1,4 +1,4 @@
1
- import"./percentages-BXMCSKIN-BQMwWCQD.js";import"../datalayer-app-main.js";import"./JupyterLexicalExtension-Cq2BuRs0.js";import"./NotebookSkeleton-D-wj2esi.js";import"./Avatar-DvWrRG_3.js";import"./url-C6fJII94.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./StrikethroughIcon-CbiEuPT-.js";import"./VideoIcon-C3wcjUxu.js";import"./LinkIcon-BtBG9K47.js";import"./Toolbar-CalSw9_B.js";import"./KebabHorizontalIcon-D6AY8pIS.js";import"./ArrowUpIcon-y5enrVH9.js";import"./SortDescIcon-Qif6E10I.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./PrismCss-DQMhvzcI.js";import"./Output-DF1wzbCD.js";import"./index-CXEjqez2.js";import"./hoverbox-CStlKQWE.js";import"./index-DK_juJTN.js";import"./index-D4a8E78-.js";import"./color-CG7_7V2-.js";import"./isEqual-DjmHhd-b.js";import"./defaultLocale-5voVPcsN.js";import"./index-BrUAt6vF.js";import"./index-DYBgss-E.js";import"./RestartIcon-Ca6_HoK0.js";import"./LexicalToolRegistry-Cx7dBNnA.js";import"./extends-CF3RwP-h.js";import"./index-C0d-d3s4.js";import"./index-DoBkwclg.js";var u={paste:"चिटकवा",pasteAsPlaintext:"साधा मजकूर च्या रुपात पेस्ट करा",pasteCharts:"चार्ट चिकटवा",selectAll:"समस्त निवडा",multiSelect:"निवडित तत्व जोडा",moveCanvas:"पटल हलवा",cut:"कापा",copy:"प्रतिलिपी",copyAsPng:"PNG रूपे फळी वर कॉपी करा",copyAsSvg:"SVG रूपे फळी वर कॉपी करा",copyText:"लिखित रूपे फळी वर कॉपी करा",copySource:"स्त्रोत फळी वर कॉपी करा",convertToCode:"सांकेतिक लिपित रूपांतरित करा",bringForward:"पुढे पुढे आणा",sendToBack:"सर्वात मागे करा",bringToFront:"सर्वात पुढे आणा",sendBackward:"मागे मागे करा",delete:"हटवा",copyStyles:"शैली कॉपी करा",pasteStyles:"कॉपी केलेली शैली वापरा",stroke:"रेघे चा रंग",background:"पार्श्वभूमी",fill:"भरा",strokeWidth:"रेघ रुंदी",strokeStyle:"रेघ शैली",strokeStyle_solid:"भरीव",strokeStyle_dashed:"तुटित तुटित",strokeStyle_dotted:"ठिपके ठिपके",sloppiness:"गबाळेपणा",opacity:"अपारदर्शक्ता",textAlign:"मजकूर संरेखन",edges:"किनारी",sharp:"टोचरं",round:"गोलाकार",arrowheads:"बाण टोक",arrowhead_none:"कुठलाहि नाही",arrowhead_arrow:"बाण",arrowhead_bar:"दांडुक",arrowhead_circle:"",arrowhead_circle_outline:"",arrowhead_triangle:"त्रिकोण",arrowhead_triangle_outline:"",arrowhead_diamond:"",arrowhead_diamond_outline:"",fontSize:"अक्षर आकार",fontFamily:"अक्षर समूह",addWatermark:'"एक्सकेलीड्रॉ ने बनवलेलं" जोडा',handDrawn:"हातानी बनवलेलं",normal:"सामान्य",code:"सांकेतिक लिपि",small:"छोटे",medium:"मध्यम",large:"मोठं",veryLarge:"फार मोठं",solid:"भरीव",hachure:"हैशूर रेखांकन",zigzag:"वाकडी तिकड़ी",crossHatch:"आडव्या रेघा",thin:"पातळ",bold:"जाड",left:"डावं",center:"मधे",right:"उजवं",extraBold:"जास्त जाड",architect:"वास्तुविद्याविशारद",artist:"कलाकार",cartoonist:"व्यंग्य चित्रकार",fileTitle:"फाईलचे नाव",colorPicker:"रंग निवडक",canvasColors:"कॅनवास वर वापरलेले",canvasBackground:"पटल पार्श्वभूमि",drawingCanvas:"चित्र पटल",layers:"स्तर",actions:"क्रिया",language:"भाषा",liveCollaboration:"ज्वलंत सहयोग...",duplicateSelection:"प्रतिलिपि",untitled:"अशीर्षकांकित",name:"नाव",yourName:"तुमचे नाव",madeWithExcalidraw:"एक्सकेलीड्रॉ ने बनवलेलं",group:"समूह निवड",ungroup:"समूह निवड ला रद्द करा",collaborators:"Sahayog",showGrid:"ग्रिड दाखवा",addToLibrary:"संग्रह मधे सम्मिलित करा",removeFromLibrary:"संग्रहातून काढ़ा",libraryLoadingMessage:"संग्रह लोड होत आहे…",libraries:"संग्रह देखे",loadingScene:"दृश्य लोड होत आहे…",align:"संरेखित करा",alignTop:"वर संरेखित करा",alignBottom:"खाली संरेखित करा",alignLeft:"डावा बाजूला संरेखित करा",alignRight:"उजव्या बाजूला संरेखित करा",centerVertically:"मधल्या मधे उभं संरेखित करा",centerHorizontally:"मधल्या मधे आडवं संरेखित करा",distributeHorizontally:"आडवं वितरित करा",distributeVertically:"उभं वितरित करा",flipHorizontal:"आडवं फ्लिप करा",flipVertical:"उभं फ्लिप करा",viewMode:"पहायची पद्धत",share:"सामायिक करा",showStroke:"रेघ रंग निवड यंत्र दाखवा",showBackground:"पार्श्वभूमि: रंग निवड यंत्र दाखवा",toggleTheme:"शैली बदला",personalLib:"वैयक्तिक संग्रह",excalidrawLib:"एक्सकेलीड्रॉ संग्रह",decreaseFontSize:"अक्षर आकार छोटा करा",increaseFontSize:"अक्षर आकार मोठा करा",unbindText:"लेखन संबंध संपवा",bindText:"शब्द समूह ला पात्रात घ्या",createContainerFromText:"मजकूर कंटेनर मधे मोडून दाखवा",link:{edit:"दुवा संपादन",editEmbed:"कड़ी सम्पादित करा आणि रुतवा",create:"दुवा तयार करा",createEmbed:"नवीन कड़ी बनवा आणि रुतवा",label:"दुवा",labelEmbed:"कड़ी आणि रूतवणे",empty:"कुठलिही कड़ी दिली नाही"},lineEditor:{edit:"रेघ संपादन",exit:"रेघ संपादकाबाहेर"},elementLock:{lock:"कुलूपात ठेवा",unlock:"कुलूपातून बाहेर",lockAll:"सर्व कुलूपात ठेवा",unlockAll:"सर्व कुलूपातून बाहेर"},statusPublished:"प्रकाशित करा",sidebarLock:"साइडबार उघडं ठेवा",selectAllElementsInFrame:"चौकटीतले सर्व तत्वांचे चयन करा",removeAllElementsFromFrame:"चौकटीतून सर्व काढून टाका",eyeDropper:"चित्रफलकातून रंग निवडा",textToDiagram:"",prompt:""},E={noItems:"अजून कोणतेही आइटम जोडलेले नाही...",hint_emptyLibrary:"पटल वर एक वस्तु निवडुन एथे जोडा, किव्हा एक संग्रह जन कोष कडुन खाली स्थापित करा.",hint_emptyPrivateLibrary:"ईथे जोडण्या साठी पटल वरून एक वस्तु निवडा."},F={clearReset:"पटल पुसा",exportJSON:"फ़ाइलमधे बाहेर ठेवा",exportImage:"प्रतिमा निर्यात करा...",export:"येथे सुरक्षित करा...",copyToClipboard:"फळी वर कॉपी करा",save:"वर्तमान फ़ाइल मधे जतन करा",saveAs:"ह्या नावाने जतन करा",load:"उघडा",getShareableLink:"सामायिके साठी दुवा प्राप्त करा",close:"बंद करा",selectLanguage:"भाषा निवड करा",scrollBackToContent:"पहलेचा मजकुर वर मागे स्क्रॉल करा",zoomIn:"मोठं करून पहा",zoomOut:"छोटं करून पहा",resetZoom:"छोटं मोठं करणं बंद करा",menu:"यादि",done:"झालं",edit:"संपादित करा",undo:"पूर्ववत करा",redo:"पुन्हा करा(&R)",resetLibrary:"संग्रह पुनर्स्थित करा",createNewRoom:"एक नवी खोली बनवा",fullScreen:"पूर्ण दृश्यपटल",darkMode:"अंधार स्थिथि",lightMode:"उजेड स्थिति",zenMode:"ध्यानग्र स्थिति",objectsSnapMode:"वस्तूंपासून पकड़ा",exitZenMode:"ध्यानग्र स्थितितून बाहेर",cancel:"रद्द",clear:"स्वछ",remove:"हटवा",embed:"रुतवणे उलटे करा",publishLibrary:"प्रकाशित करा",submit:"जमा करा",confirm:"पुष्टि करा",embeddableInteractionButton:"संवादा साठी क्लिक करा"},D={clearReset:"पटल स्वच्छ होणार, तुम्हाला खात्री आहे का?",couldNotCreateShareableLink:"सामायी करण करण्या योग्य दुवा नाही बनवता आला.",couldNotCreateShareableLinkTooBig:"सामायी करण करण्या योग्य दुवा नाही बनवता आला: दृश्य फार मोठं आहे",couldNotLoadInvalidFile:"अवैध फ़ाइल लोड करता आली नाही",importBackendFailed:"बैकएंड हून मागवणे विफल झाले.",cannotExportEmptyCanvas:"रिकामा पटल जतन करता येत नाही.",couldNotCopyToClipboard:"पटल वर कॉपी नाही झाली.",decryptFailed:"डीक्रिप्ट करता आले नाही.",uploadedSecurly:"अपलोड या टोकापासून त्या टोकापर्यंत कूटबद्धित करून सुरक्षित केले गेले आहे, हयाचा अर्थ असा की एक्सकेलीड्रॉ सर्व्हर आणि तृतीय पक्ष मजकूर वाचू शकत नाहीत.",loadSceneOverridePrompt:"बाह्य रेखाचित्र लोड केल्याने तुमची तुमचा विद्यमान मजकूर बदलेल. हे काम तुम्हाला चालू ठेवायचे आहे का?",collabStopOverridePrompt:`सत्र थांबवल्याने तुमचे पूर्वीचे, स्थानिकरित्या संग्रहित रेखाचित्र अधिलिखित होईल. तुला खात्री आहे?
1
+ import"./percentages-BXMCSKIN-BIq0kwQL.js";import"../datalayer-app-main.js";import"./JupyterLexicalExtension-DS8J9r_J.js";import"./NotebookSkeleton-D-wj2esi.js";import"./Avatar-DvWrRG_3.js";import"./url-C6fJII94.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./StrikethroughIcon-CbiEuPT-.js";import"./VideoIcon-C3wcjUxu.js";import"./LinkIcon-BtBG9K47.js";import"./Toolbar-CalSw9_B.js";import"./KebabHorizontalIcon-D6AY8pIS.js";import"./ArrowUpIcon-y5enrVH9.js";import"./SortDescIcon-Qif6E10I.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./PrismCss-DQMhvzcI.js";import"./Output-UPeDwjyI.js";import"./index-CXEjqez2.js";import"./hoverbox-CStlKQWE.js";import"./index-DK_juJTN.js";import"./index-BqnIBWZ9.js";import"./dayjs.min-u3zuoSR8.js";import"./isEqual-DjmHhd-b.js";import"./d3-color-Jd8hXty2.js";import"./index-BrUAt6vF.js";import"./index-DYBgss-E.js";import"./RestartIcon-Ca6_HoK0.js";import"./LexicalToolRegistry-Cx7dBNnA.js";import"./extends-CF3RwP-h.js";import"./index-C0d-d3s4.js";import"./index-DoBkwclg.js";var u={paste:"चिटकवा",pasteAsPlaintext:"साधा मजकूर च्या रुपात पेस्ट करा",pasteCharts:"चार्ट चिकटवा",selectAll:"समस्त निवडा",multiSelect:"निवडित तत्व जोडा",moveCanvas:"पटल हलवा",cut:"कापा",copy:"प्रतिलिपी",copyAsPng:"PNG रूपे फळी वर कॉपी करा",copyAsSvg:"SVG रूपे फळी वर कॉपी करा",copyText:"लिखित रूपे फळी वर कॉपी करा",copySource:"स्त्रोत फळी वर कॉपी करा",convertToCode:"सांकेतिक लिपित रूपांतरित करा",bringForward:"पुढे पुढे आणा",sendToBack:"सर्वात मागे करा",bringToFront:"सर्वात पुढे आणा",sendBackward:"मागे मागे करा",delete:"हटवा",copyStyles:"शैली कॉपी करा",pasteStyles:"कॉपी केलेली शैली वापरा",stroke:"रेघे चा रंग",background:"पार्श्वभूमी",fill:"भरा",strokeWidth:"रेघ रुंदी",strokeStyle:"रेघ शैली",strokeStyle_solid:"भरीव",strokeStyle_dashed:"तुटित तुटित",strokeStyle_dotted:"ठिपके ठिपके",sloppiness:"गबाळेपणा",opacity:"अपारदर्शक्ता",textAlign:"मजकूर संरेखन",edges:"किनारी",sharp:"टोचरं",round:"गोलाकार",arrowheads:"बाण टोक",arrowhead_none:"कुठलाहि नाही",arrowhead_arrow:"बाण",arrowhead_bar:"दांडुक",arrowhead_circle:"",arrowhead_circle_outline:"",arrowhead_triangle:"त्रिकोण",arrowhead_triangle_outline:"",arrowhead_diamond:"",arrowhead_diamond_outline:"",fontSize:"अक्षर आकार",fontFamily:"अक्षर समूह",addWatermark:'"एक्सकेलीड्रॉ ने बनवलेलं" जोडा',handDrawn:"हातानी बनवलेलं",normal:"सामान्य",code:"सांकेतिक लिपि",small:"छोटे",medium:"मध्यम",large:"मोठं",veryLarge:"फार मोठं",solid:"भरीव",hachure:"हैशूर रेखांकन",zigzag:"वाकडी तिकड़ी",crossHatch:"आडव्या रेघा",thin:"पातळ",bold:"जाड",left:"डावं",center:"मधे",right:"उजवं",extraBold:"जास्त जाड",architect:"वास्तुविद्याविशारद",artist:"कलाकार",cartoonist:"व्यंग्य चित्रकार",fileTitle:"फाईलचे नाव",colorPicker:"रंग निवडक",canvasColors:"कॅनवास वर वापरलेले",canvasBackground:"पटल पार्श्वभूमि",drawingCanvas:"चित्र पटल",layers:"स्तर",actions:"क्रिया",language:"भाषा",liveCollaboration:"ज्वलंत सहयोग...",duplicateSelection:"प्रतिलिपि",untitled:"अशीर्षकांकित",name:"नाव",yourName:"तुमचे नाव",madeWithExcalidraw:"एक्सकेलीड्रॉ ने बनवलेलं",group:"समूह निवड",ungroup:"समूह निवड ला रद्द करा",collaborators:"Sahayog",showGrid:"ग्रिड दाखवा",addToLibrary:"संग्रह मधे सम्मिलित करा",removeFromLibrary:"संग्रहातून काढ़ा",libraryLoadingMessage:"संग्रह लोड होत आहे…",libraries:"संग्रह देखे",loadingScene:"दृश्य लोड होत आहे…",align:"संरेखित करा",alignTop:"वर संरेखित करा",alignBottom:"खाली संरेखित करा",alignLeft:"डावा बाजूला संरेखित करा",alignRight:"उजव्या बाजूला संरेखित करा",centerVertically:"मधल्या मधे उभं संरेखित करा",centerHorizontally:"मधल्या मधे आडवं संरेखित करा",distributeHorizontally:"आडवं वितरित करा",distributeVertically:"उभं वितरित करा",flipHorizontal:"आडवं फ्लिप करा",flipVertical:"उभं फ्लिप करा",viewMode:"पहायची पद्धत",share:"सामायिक करा",showStroke:"रेघ रंग निवड यंत्र दाखवा",showBackground:"पार्श्वभूमि: रंग निवड यंत्र दाखवा",toggleTheme:"शैली बदला",personalLib:"वैयक्तिक संग्रह",excalidrawLib:"एक्सकेलीड्रॉ संग्रह",decreaseFontSize:"अक्षर आकार छोटा करा",increaseFontSize:"अक्षर आकार मोठा करा",unbindText:"लेखन संबंध संपवा",bindText:"शब्द समूह ला पात्रात घ्या",createContainerFromText:"मजकूर कंटेनर मधे मोडून दाखवा",link:{edit:"दुवा संपादन",editEmbed:"कड़ी सम्पादित करा आणि रुतवा",create:"दुवा तयार करा",createEmbed:"नवीन कड़ी बनवा आणि रुतवा",label:"दुवा",labelEmbed:"कड़ी आणि रूतवणे",empty:"कुठलिही कड़ी दिली नाही"},lineEditor:{edit:"रेघ संपादन",exit:"रेघ संपादकाबाहेर"},elementLock:{lock:"कुलूपात ठेवा",unlock:"कुलूपातून बाहेर",lockAll:"सर्व कुलूपात ठेवा",unlockAll:"सर्व कुलूपातून बाहेर"},statusPublished:"प्रकाशित करा",sidebarLock:"साइडबार उघडं ठेवा",selectAllElementsInFrame:"चौकटीतले सर्व तत्वांचे चयन करा",removeAllElementsFromFrame:"चौकटीतून सर्व काढून टाका",eyeDropper:"चित्रफलकातून रंग निवडा",textToDiagram:"",prompt:""},E={noItems:"अजून कोणतेही आइटम जोडलेले नाही...",hint_emptyLibrary:"पटल वर एक वस्तु निवडुन एथे जोडा, किव्हा एक संग्रह जन कोष कडुन खाली स्थापित करा.",hint_emptyPrivateLibrary:"ईथे जोडण्या साठी पटल वरून एक वस्तु निवडा."},F={clearReset:"पटल पुसा",exportJSON:"फ़ाइलमधे बाहेर ठेवा",exportImage:"प्रतिमा निर्यात करा...",export:"येथे सुरक्षित करा...",copyToClipboard:"फळी वर कॉपी करा",save:"वर्तमान फ़ाइल मधे जतन करा",saveAs:"ह्या नावाने जतन करा",load:"उघडा",getShareableLink:"सामायिके साठी दुवा प्राप्त करा",close:"बंद करा",selectLanguage:"भाषा निवड करा",scrollBackToContent:"पहलेचा मजकुर वर मागे स्क्रॉल करा",zoomIn:"मोठं करून पहा",zoomOut:"छोटं करून पहा",resetZoom:"छोटं मोठं करणं बंद करा",menu:"यादि",done:"झालं",edit:"संपादित करा",undo:"पूर्ववत करा",redo:"पुन्हा करा(&R)",resetLibrary:"संग्रह पुनर्स्थित करा",createNewRoom:"एक नवी खोली बनवा",fullScreen:"पूर्ण दृश्यपटल",darkMode:"अंधार स्थिथि",lightMode:"उजेड स्थिति",zenMode:"ध्यानग्र स्थिति",objectsSnapMode:"वस्तूंपासून पकड़ा",exitZenMode:"ध्यानग्र स्थितितून बाहेर",cancel:"रद्द",clear:"स्वछ",remove:"हटवा",embed:"रुतवणे उलटे करा",publishLibrary:"प्रकाशित करा",submit:"जमा करा",confirm:"पुष्टि करा",embeddableInteractionButton:"संवादा साठी क्लिक करा"},D={clearReset:"पटल स्वच्छ होणार, तुम्हाला खात्री आहे का?",couldNotCreateShareableLink:"सामायी करण करण्या योग्य दुवा नाही बनवता आला.",couldNotCreateShareableLinkTooBig:"सामायी करण करण्या योग्य दुवा नाही बनवता आला: दृश्य फार मोठं आहे",couldNotLoadInvalidFile:"अवैध फ़ाइल लोड करता आली नाही",importBackendFailed:"बैकएंड हून मागवणे विफल झाले.",cannotExportEmptyCanvas:"रिकामा पटल जतन करता येत नाही.",couldNotCopyToClipboard:"पटल वर कॉपी नाही झाली.",decryptFailed:"डीक्रिप्ट करता आले नाही.",uploadedSecurly:"अपलोड या टोकापासून त्या टोकापर्यंत कूटबद्धित करून सुरक्षित केले गेले आहे, हयाचा अर्थ असा की एक्सकेलीड्रॉ सर्व्हर आणि तृतीय पक्ष मजकूर वाचू शकत नाहीत.",loadSceneOverridePrompt:"बाह्य रेखाचित्र लोड केल्याने तुमची तुमचा विद्यमान मजकूर बदलेल. हे काम तुम्हाला चालू ठेवायचे आहे का?",collabStopOverridePrompt:`सत्र थांबवल्याने तुमचे पूर्वीचे, स्थानिकरित्या संग्रहित रेखाचित्र अधिलिखित होईल. तुला खात्री आहे?
2
2
 
3
3
  (तुम्हाला तुमचे स्थानिक रेखाचित्र ठेवायचे असल्यास, त्याऐवजी फक्त ब्राउझर टॅब बंद करा.)`,errorAddingToLibrary:"संग्रहात तत्व जोडू शकलो नाही",errorRemovingFromLibrary:"संग्रहातून तत्व काढू शकलो नाही",confirmAddLibrary:"हे तुमच्या संग्राहात {{numShapes}} आकार (एक किव्हा अनेक) जोडेल. तुला खात्री आहे?",imageDoesNotContainScene:"या प्रतिमेमध्ये कोणताही दृश्य डेटा असल्याचे दिसत नाही. बाहेर जतन करताना तुम्ही दृश्य रुतवले होते का?",cannotRestoreFromImage:"प्रतिमा फ़ाइल पासून दृश्य पुनः रचित नाही झाला",invalidSceneUrl:"दिलेल्या यू-आर-एल पासून दृश्य आणू शकलो नाही. तो एकतर बरोबार नाही आहे किंवा त्यात वैध एक्सकेलीड्रॉ जेसन डेटा नाही.",resetLibrary:"पटल स्वच्छ होणार, तुम्हाला खात्री आहे का?",removeItemsFromsLibrary:"संग्रहातून {{count}} तत्व (एक किव्हा अनेक) काढू?",invalidEncryptionKey:"कूटबद्धन कुंजी 22 अक्षरांची असणे आवश्यक आहे. थेट सहयोग अक्षम केले आहे.",collabOfflineWarning:`इंटरनेट कनेक्शन उपलब्ध नाही.
4
4
  तुमचे बदल जतन केले जाणार नाहीत!`},e={unsupportedFileType:"असमर्थित फाइल प्रकार.",imageInsertError:"प्रतिमा आत घालता येत नाही. नंतर पुन्हा प्रयत्न करा...",fileTooBig:"फाइल फार मोठी आहे. आकाराची कमाल परवानगी {{maxSize}} आहे.",svgImageInsertError:"एस-वी-जी प्रतिमा आत घालवू शकलो नाही. एस-वी-जी-मार्क-अप यंत्र अयोग्य आहे.",failedToFetchImage:"प्रतिमा आणणे नाही जमले.",invalidSVGString:"अयोग्य एस-वी-जी.",cannotResolveCollabServer:"कॉलेब-सर्वर हे पोहोचत नाही आहे. पान परत लोड करायचा प्रयत्न करावे.",importLibraryError:"संग्रह प्रतिस्थापित नाही करता आला",collabSaveFailed:"काही कारणा निमित्त आतल्या डेटाबेसमध्ये जतन करू शकत नाही। समस्या तशिस राहिल्यास, तुम्ही तुमचे काम गमावणार नाही याची खात्री करण्यासाठी तुम्ही तुमची फाइल स्थानिक जतन करावी.",collabSaveFailed_sizeExceeded:`लगता है कि पृष्ठ तल काफ़ी बड़ा है, इस्कारण अंदरूनी डेटाबेस में सहेजा नहीं जा सका। किये काम को खोने न देने के लिये अपनी फ़ाइल को स्थानीय रूप से सहेजे।
@@ -0,0 +1 @@
1
+ import"./percentages-BXMCSKIN-BIq0kwQL.js";import"../datalayer-app-main.js";import"./JupyterLexicalExtension-DS8J9r_J.js";import"./NotebookSkeleton-D-wj2esi.js";import"./Avatar-DvWrRG_3.js";import"./url-C6fJII94.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./StrikethroughIcon-CbiEuPT-.js";import"./VideoIcon-C3wcjUxu.js";import"./LinkIcon-BtBG9K47.js";import"./Toolbar-CalSw9_B.js";import"./KebabHorizontalIcon-D6AY8pIS.js";import"./ArrowUpIcon-y5enrVH9.js";import"./SortDescIcon-Qif6E10I.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./PrismCss-DQMhvzcI.js";import"./Output-UPeDwjyI.js";import"./index-CXEjqez2.js";import"./hoverbox-CStlKQWE.js";import"./index-DK_juJTN.js";import"./index-BqnIBWZ9.js";import"./dayjs.min-u3zuoSR8.js";import"./isEqual-DjmHhd-b.js";import"./d3-color-Jd8hXty2.js";import"./index-BrUAt6vF.js";import"./index-DYBgss-E.js";import"./RestartIcon-Ca6_HoK0.js";import"./LexicalToolRegistry-Cx7dBNnA.js";import"./extends-CF3RwP-h.js";import"./index-C0d-d3s4.js";import"./index-DoBkwclg.js";var u={paste:"ထား",pasteAsPlaintext:"",pasteCharts:"",selectAll:"အကုန်ရွေး",multiSelect:"ရွေးထားသည့်ထဲပုံထည့်",moveCanvas:"ကားချပ်ရွှေ့",cut:"",copy:"ကူး",copyAsPng:"PNG အနေဖြင့်ကူး",copyAsSvg:"SVG အနေဖြင့်ကူး",copyText:"",copySource:"",convertToCode:"",bringForward:"ရှေ့ပို့",sendToBack:"နောက်ဆုံးထား",bringToFront:"ရှေ့ဆုံးထား",sendBackward:"နောက်ပို့",delete:"ဖျက်",copyStyles:"ပုံစံကူး",pasteStyles:"ပုံစံထား",stroke:"မျဉ်း",background:"နောက်ခံ",fill:"ဖြည့်",strokeWidth:"မျဉ်းအထူ",strokeStyle:"မျဉ်းပုံစံ",strokeStyle_solid:"အပြည့်",strokeStyle_dashed:"မျဉ်းပြတ်",strokeStyle_dotted:"မျဉ်းစက်",sloppiness:"သေသပ်မှု",opacity:"ထင်ရှားမှု",textAlign:"စာသားညှိ",edges:"အစွန်း",sharp:"ထောင့်ချွန်",round:"ထောင့်ဝိုင်း",arrowheads:"မြှားခေါင်း",arrowhead_none:"ဘာမျှမရှိ",arrowhead_arrow:"မြှား",arrowhead_bar:"",arrowhead_circle:"",arrowhead_circle_outline:"",arrowhead_triangle:"",arrowhead_triangle_outline:"",arrowhead_diamond:"",arrowhead_diamond_outline:"",fontSize:"စာလုံးအရွယ်",fontFamily:"စာလုံးပုံစံ",addWatermark:'"Excalidraw ဖြင့်ဖန်တီးသည်။" စာသားထည့်',handDrawn:"လက်ရေး",normal:"ပုံမှန်",code:"ကုဒ်",small:"အသေး",medium:"အလတ်",large:"အကြီး",veryLarge:"ပိုကြီး",solid:"အပြည့်",hachure:"မျဉ်းစောင်း",zigzag:"",crossHatch:"ဇကာကွက်",thin:"ပါး",bold:"ထူ",left:"ဘယ်",center:"အလယ်",right:"ညာ",extraBold:"ပိုထူ",architect:"ဗိသုကာ",artist:"ပန်းချီ",cartoonist:"ကာတွန်း",fileTitle:"",colorPicker:"အရောင်ရွေး",canvasColors:"",canvasBackground:"ကားချပ်နောက်ခံ",drawingCanvas:"ပုံဆွဲကားချပ်",layers:"အလွှာများ",actions:"လုပ်ဆောင်ချက်များ",language:"ဘာသာစကား",liveCollaboration:"",duplicateSelection:"ပွား",untitled:"အမည်မရှိ",name:"အမည်",yourName:"သင့်အမည်",madeWithExcalidraw:"Excalidraw ဖြင့်ဖန်တီးသည်။",group:"အုပ်စုဖွဲ့",ungroup:"အုပ်စုဖျက်သိမ်း",collaborators:"ပူးပေါင်းပါဝင်သူများ",showGrid:"",addToLibrary:"မှတ်တမ်းတင်",removeFromLibrary:"မှတ်တမ်းမှထုတ်",libraryLoadingMessage:"မှတ်တမ်းအား တင်သွင်းနေသည်…",libraries:"စာကြည့်တိုက်တွင်ရှာဖွေပါ",loadingScene:"မြင်ကွင်းဖော်နေသည်…",align:"ချိန်ညှိ",alignTop:"ထိပ်ညှိ",alignBottom:"အခြေညှိ",alignLeft:"ဘယ်ညှိ",alignRight:"ညာညှိ",centerVertically:"ဒေါင်လိုက်အလယ်ညှိ",centerHorizontally:"အလျားလိုက်အလယ်ညှိ",distributeHorizontally:"အလျားလိုက်",distributeVertically:"ထောင်လိုက်",flipHorizontal:"",flipVertical:"",viewMode:"",share:"",showStroke:"",showBackground:"",toggleTheme:"",personalLib:"",excalidrawLib:"",decreaseFontSize:"",increaseFontSize:"",unbindText:"",bindText:"",createContainerFromText:"",link:{edit:"",editEmbed:"",create:"",createEmbed:"",label:"",labelEmbed:"",empty:""},lineEditor:{edit:"",exit:""},elementLock:{lock:"",unlock:"",lockAll:"",unlockAll:""},statusPublished:"",sidebarLock:"",selectAllElementsInFrame:"",removeAllElementsFromFrame:"",eyeDropper:"",textToDiagram:"",prompt:""},e={noItems:"",hint_emptyLibrary:"",hint_emptyPrivateLibrary:""},A={clearReset:"ကားချပ်ရှင်းလင်း",exportJSON:"",exportImage:"",export:"",copyToClipboard:"ကူးယူ",save:"",saveAs:"ပြောင်းသိမ်း",load:"",getShareableLink:"မျှဝေရန် လင့်ခ်ရယူ",close:"ပိတ်",selectLanguage:"ဘာသာစကားရွေးပါ",scrollBackToContent:"ကားချပ်ပြန်တည်",zoomIn:"ချဲ့",zoomOut:"ချုံ့",resetZoom:"ပုံမှန်ပြန်ထား",menu:"မီနူး",done:"ပြီးပြီ",edit:"ပြင်ဆင်",undo:"ပြန်ထား",redo:"ထပ်လုပ်",resetLibrary:"",createNewRoom:"အခန်းသစ်ဖွဲ့",fullScreen:"",darkMode:"",lightMode:"",zenMode:"",objectsSnapMode:"",exitZenMode:"ဇင်မြင်ကွင်းမှထွက်",cancel:"",clear:"",remove:"",embed:"",publishLibrary:"",submit:"",confirm:"",embeddableInteractionButton:""},o={clearReset:"ကားချပ်တစ်ခုလုံးရှင်းလင်းပါတော့မည်။ အတည်ပြုပါ။",couldNotCreateShareableLink:"မျှဝေရန် လင့်ခ်မရယူနိုင်သေးပါ။",couldNotCreateShareableLinkTooBig:"မြင်ကွင်းအရမ်းကြီးနေသဖြင့် မျှဝေရန် လင့်ခ်မရယူနိုင်သေးပါ။",couldNotLoadInvalidFile:"လွဲမှားနေသောဖိုင်အား တင်၍မရပါ။",importBackendFailed:"Backend မှမလုပ်ဆောင်နိုင်သေးပါ။",cannotExportEmptyCanvas:"ကားချပ်အလွတ်အားထုတ်ယူ၍မရပါ။",couldNotCopyToClipboard:"",decryptFailed:"အချက်အလက်ဖော်ယူ၍မရပါ။",uploadedSecurly:"တင်သွင်းအချက်အလက်များအား နှစ်ဘက်စွန်းတိုင်လျှို့ဝှက်စနစ်အသုံးပြု၍လုံခြုံစွာထိန်းသိမ်းထားပါသဖြင့် Excalidraw ဆာဗာနှင့်ဆက်စပ်အဖွဲ့အစည်းများပင်လျှင်မဖတ်ရှုနိုင်ပါ။",loadSceneOverridePrompt:"လက်ရှိရေးဆွဲထားသမျှအား ပြင်ပမှတင်သွင်းသောပုံနှင့်အစားထိုးပါမည်။ ဆက်လက်ဆောင်ရွက်လိုပါသလား။",collabStopOverridePrompt:"",errorAddingToLibrary:"",errorRemovingFromLibrary:"",confirmAddLibrary:"{{numShapes}} ခုသောပုံသဏ္ဌာန်အားမှတ်တမ်းတင်ပါမည်။ အတည်ပြုပါ။",imageDoesNotContainScene:"",cannotRestoreFromImage:"ဤပုံဖြင့်မြင်ကွင်းပြန်လည်မရယူနိုင်ပါ။",invalidSceneUrl:"",resetLibrary:"",removeItemsFromsLibrary:"",invalidEncryptionKey:"",collabOfflineWarning:""},r={unsupportedFileType:"",imageInsertError:"",fileTooBig:"",svgImageInsertError:"",failedToFetchImage:"",invalidSVGString:"",cannotResolveCollabServer:"",importLibraryError:"",collabSaveFailed:"",collabSaveFailed_sizeExceeded:"",imageToolNotSupported:"",brave_measure_text_error:{line1:"",line2:"",line3:"",line4:""},libraryElementTypeError:{embeddable:"",iframe:"",image:""},asyncPasteFailedOnRead:"",asyncPasteFailedOnParse:"",copyToSystemClipboardFailed:""},t={selection:"ရွေးချယ်",image:"",rectangle:"စတုဂံ",diamond:"စိန်",ellipse:"အဝိုင်း",arrow:"မြှား",line:"မျဉ်း",freedraw:"",text:"စာသား",library:"မှတ်တမ်း",lock:"ရွေးချယ်ထားသောကိရိယာကိုသာဆက်သုံး",penMode:"",link:"",eraser:"",frame:"",magicframe:"",embeddable:"",laser:"",hand:"",extraTools:"",mermaidToExcalidraw:"",magicSettings:""},a={canvasActions:"ကားချပ်လုပ်ဆောင်ချက်",selectedShapeActions:"ပုံသဏ္ဌာန်လုပ်ဆောင်ချက်",shapes:"ပုံသဏ္ဌာန်များ"},i={canvasPanning:"",linearElement:"အမှတ်များချမှတ်ရေးဆွဲရန်ကလစ်နှိပ်ပါ၊ မျဉ်းတစ်ကြောင်းတည်းအတွက် တရွတ်ဆွဲပါ။",freeDraw:"ကလစ်နှိပ်၍ တရွတ်ဆွဲပါ၊ ပြီးလျှင်လွှတ်ပါ။",text:"မှတ်ချက်။ ။မည်သည့်ကိရိယာရွေးထားသည်ဖြစ်စေ ကလစ်နှစ်ချက်နှိပ်၍စာသားထည့်နိုင်သည်",embeddable:"",text_selected:"",text_editing:"",linearElementMulti:"နောက်ဆုံးအမှတ်ပေါ်တွင်ကလစ်နှိပ်ခြင်း၊ Escape (သို့) Enter နှိပ်ခြင်းတို့ဖြင့်အဆုံးသတ်နိုင်",lockAngle:"",resize:"အချိုးအစားကန့်သတ်ရန် Shift နှင့် ဗဟိုမှချိန်ညှိရန် Alt တို့ကိုနှိပ်ထားနိုင်သည်",resizeImage:"",rotate:"Shift ကိုနှိပ်ထားခြင်းဖြင့် ထောင့်အလိုက်လှည့်နိုင်သည်",lineEditor_info:"",lineEditor_pointSelected:"",lineEditor_nothingSelected:"",placeImage:"",publishLibrary:"",bindTextToElement:"",deepBoxSelect:"",eraserRevert:"",firefox_clipboard_write:"",disableSnapping:""},C={cannotShowPreview:"နမူနာမပြသနိုင်ပါ",canvasTooBig:"ကားချပ်အလွန်ကြီးကောင်းကြီးနေနိုင်သည်။",canvasTooBigTip:"မှတ်ချက်။ ။ဝေးကွာနေသော ပုံများ၊ စာများအား ပိုမိုနီးကပ်အောင်ရွှေ့ကြည့်ပါ။"},l={headingMain:"ချို့ယွင်းမှုဖြစ်ပေါ်ခဲ့သဖြင့် ထပ်မံကြိုးစားကြည့်ရန် <button>စာမျက်နှာအား အသစ်ပြန်လည်ရယူပါ။</button>",clearCanvasMessage:"အသစ်ပြန်လည်မရယူနိုင်ပါက ထပ်မံကြိုးစားကြည့်ရန်<button>ကားချပ်အား ရှင်းလင်းပါ။</button>",clearCanvasCaveat:" ရေးဆွဲထားသည်များ ဆုံးရှုံးနိုင်သည် ",trackedToSentry:"ချို့ယွင်းမှုသတ်မှတ်ချက် {{eventId}} အားစနစ်အတွင်းခြေရာကောက်ပြီးပါပြီ။",openIssueMessage:"ချို့ယွင်းမှုမှတ်တမ်းတွင် အရေးကြီးအချက်အလက်များပါဝင်မှုမရှိစေရန်အထူးသတိပြုပါသည်။ မပါဝင်ပါက ဆက်လက်ဆောင်ရွက်ရန် <button>ချို့ယွင်းမှုအားခြေရာကောက်ပါ။</button> အောက်ပါအချက်အလက်များအား Github တွင် Issue အနေဖြင့်ဖြည့်သွင်းဖော်ပြပေးပါ။",sceneContent:"မြင်ကွင်းပါအချက်အလက်။ ။"},n={desc_intro:"လက်ရှိမြင်ကွင်းတွင်ပူးပေါင်းရေးဆွဲရန် အခြားသူများအား ဖိတ်ကြားနိုင်သည်။",desc_privacy:"နှစ်ဘက်စွန်းတိုင်လျှို့ဝှက်ထားသဖြင့်ရေးဆွဲသမျှအား ဆာဗာပေါ်မှပင်လျှင်ကြည့်ရှုနိုင်မည်မဟုတ်ပါ။ မစိုးရိမ်ပါနှင့်။",button_startSession:"ပူးပေါင်းမှုစတင်",button_stopSession:"ပူးပေါင်းမှုအဆုံးသတ်",desc_inProgressIntro:"တိုက်ရိုက်ပူးပေါင်းရေးဆွဲမှုများပြုလုပ်နေပါသည်။",desc_shareLink:"ဤလင့်ခ်အား ပူးပေါင်းရေးဆွဲလိုသူများထံပေးပို့ပါ။ ။ ",desc_exitSession:"ပူးပေါင်းမှုရပ်တန့်ပါက အဖွဲ့အတွင်းမှထွက်ခွာသွားမည်ဖြစ်သော်လည်း မိမိမြင်ကွင်းတွင်ဆက်လက်ရေးဆွဲနိုင်ပါမည်။ အဖွဲ့အတွင်းကျန်ရှိနေခဲ့သောအခြားပါဝင်သူများသည်လည်း ဆက်လက်ပူးပေါင်းရေးဆွဲနေနိုင်ပါလိမ့်မည်။",shareTitle:""},B={title:"ချို့ယွင်းချက်"},s={disk_title:"",disk_details:"",disk_button:"",link_title:"",link_details:"",link_button:"",excalidrawplus_description:"",excalidrawplus_button:"",excalidrawplus_exportError:""},D={blog:"",click:"",deepSelect:"",deepBoxSelect:"",curvedArrow:"",curvedLine:"",documentation:"",doubleClick:"",drag:"",editor:"",editLineArrowPoints:"",editText:"",github:"",howto:"",or:"",preventBinding:"",tools:"",shortcuts:"",textFinish:"",textNewLine:"",title:"",view:"",zoomToFit:"",zoomToSelection:"",toggleElementLock:"",movePageUpDown:"",movePageLeftRight:""},E={title:""},d={title:"",itemName:"",authorName:"",githubUsername:"",twitterUsername:"",libraryName:"",libraryDesc:"",website:"",placeholder:{authorName:"",libraryName:"",libraryDesc:"",githubHandle:"",twitterHandle:"",website:""},errors:{required:"",website:""},noteDescription:"",noteGuidelines:"",noteLicense:"",noteItems:"",atleastOneLibItem:"",republishWarning:""},c={title:"",content:""},F={resetLibrary:"",removeItemsFromLib:""},m={header:"",label:{withBackground:"",onlySelected:"",darkMode:"",embedScene:"",scale:"",padding:""},tooltip:{embedScene:""},title:{exportToPng:"",exportToSvg:"",copyPngToClipboard:""},button:{exportToPng:"",exportToSvg:"",copyPngToClipboard:""}},p={tooltip:"ရေးဆွဲထားသောပုံများအား နှစ်ဘက်စွန်းတိုင်လျှို့ဝှက်ထားသဖြင့် Excalidraw ၏ဆာဗာများပင်လျှင်မြင်တွေ့ရမည်မဟုတ်ပါ။",link:""},b={angle:"ထောင့်",element:"",elements:"",height:"အမြင့်",scene:"မြင်ကွင်း",selected:"ရွေးချယ်သည်",storage:"သိုလှောင်ခန်း",title:"အက္ခရာများအတွက်အချက်အလက်များ",total:"စုစုပေါင်း",version:"",versionCopy:"",versionNotAvailable:"",width:"အကျယ်"},g={addedToLibrary:"",copyStyles:"",copyToClipboard:"",copyToClipboardAsPng:"",fileSaved:"",fileSavedToFilename:"",canvas:"",selection:"",pasteAsSingleElement:"",unableToEmbed:"",unrecognizedLinkFormat:""},h={transparent:"",black:"",white:"",red:"",pink:"",grape:"",violet:"",gray:"",blue:"",cyan:"",teal:"",green:"",yellow:"",orange:"",bronze:""},y={app:{center_heading:"",center_heading_plus:"",menuHint:""},defaults:{menuHint:"",center_heading:"",toolbarHint:"",helpHint:""}},v={mostUsedCustomColors:"",colors:"",shades:"",hexCode:"",noShades:""},S={action:{exportToImage:{title:"",button:"",description:""},saveToDisk:{title:"",button:"",description:""},excalidrawPlus:{title:"",button:"",description:""}},modal:{loadFromFile:{title:"",button:"",description:""},shareableLink:{title:"",button:"",description:""}}},w={title:"",button:"",description:"",syntax:"",preview:""},t1={labels:u,library:e,buttons:A,alerts:o,errors:r,toolBar:t,headings:a,hints:i,canvasError:C,errorSplash:l,roomDialog:n,errorDialog:B,exportDialog:s,helpDialog:D,clearCanvasDialog:E,publishDialog:d,publishSuccessDialog:c,confirmDialog:F,imageExportDialog:m,encrypted:p,stats:b,toast:g,colors:h,welcomeScreen:y,colorPicker:v,overwriteConfirm:S,mermaid:w};export{o as alerts,A as buttons,C as canvasError,E as clearCanvasDialog,v as colorPicker,h as colors,F as confirmDialog,t1 as default,p as encrypted,B as errorDialog,l as errorSplash,r as errors,s as exportDialog,a as headings,D as helpDialog,i as hints,m as imageExportDialog,u as labels,e as library,w as mermaid,S as overwriteConfirm,d as publishDialog,c as publishSuccessDialog,n as roomDialog,b as stats,g as toast,t as toolBar,y as welcomeScreen};