@sme.up/ketchup2 2.7.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (344) hide show
  1. package/dist/abnfDiagram-VCTEODGH-C9blQ78p.cjs +1 -0
  2. package/dist/abnfDiagram-VCTEODGH-DZIaCwNE.js +89 -0
  3. package/dist/{arc-CVbkjF8U.js → arc-7ZXqzxve.js} +1 -1
  4. package/dist/{arc-w3BipdfE.cjs → arc-DBilzVYt.cjs} +1 -1
  5. package/dist/architecture-7GRP2DOG-DYFsLst2.js +3 -0
  6. package/dist/architecture-7GRP2DOG-DdhuGtEz.cjs +1 -0
  7. package/dist/architectureDiagram-5GKGNRK7-B080D0D_.cjs +36 -0
  8. package/dist/{architectureDiagram-3BPJPVTR-B6VZAtZU.js → architectureDiagram-5GKGNRK7-BJvIxhbL.js} +338 -251
  9. package/dist/assets/svg/functions.svg +1 -0
  10. package/dist/basic-components/button-list/button-list-types.d.ts +2 -1
  11. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
  12. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  13. package/dist/basic-components/cell/cell-types.d.ts +5 -0
  14. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  15. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  16. package/dist/basic-components/checkbox/checkbox-types.d.ts +5 -0
  17. package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
  18. package/dist/basic-components/chips/chips-types.d.ts +15 -1
  19. package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
  20. package/dist/basic-components/chips/chips.d.ts.map +1 -1
  21. package/dist/basic-components/chips-input/chips-input-types.d.ts +5 -0
  22. package/dist/basic-components/chips-input/chips-input-types.d.ts.map +1 -1
  23. package/dist/basic-components/chips-input/chips-input.d.ts.map +1 -1
  24. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts +5 -0
  25. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts.map +1 -1
  26. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
  27. package/dist/basic-components/multiple-select/multiple-select-types.d.ts +5 -0
  28. package/dist/basic-components/multiple-select/multiple-select-types.d.ts.map +1 -1
  29. package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
  30. package/dist/blockDiagram-I7D4REHJ-C5aW9ypR.js +1919 -0
  31. package/dist/blockDiagram-I7D4REHJ-fT7Of27R.cjs +129 -0
  32. package/dist/c4Diagram-7LVT6UL2-B1n5PnN5.cjs +38 -0
  33. package/dist/{c4Diagram-AAUBKEIU-CdT8VCbo.js → c4Diagram-7LVT6UL2-JxFfT5VH.js} +808 -789
  34. package/dist/channel-BvUly9jN.cjs +1 -0
  35. package/dist/{channel-C-LAmObA.js → channel-D6agWknC.js} +1 -1
  36. package/dist/chunk-2E4U76K2-BiZwNOhf.cjs +1 -0
  37. package/dist/chunk-2E4U76K2-C8vehurw.js +346 -0
  38. package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
  39. package/dist/{chunk-QZHKN3VN-lYfzaOt9.js → chunk-2Q5K7J3B-kzxEEeTu.js} +2 -2
  40. package/dist/chunk-4HAMMTFA-Db_fcZEn.cjs +62 -0
  41. package/dist/{chunk-3OPIFGDE-Bs2mXISw.js → chunk-4HAMMTFA-MZIwowe1.js} +1665 -1143
  42. package/dist/{chunk-FMBD7UC4-BURT0llY.js → chunk-5VM5RSS4-Cr17nBXp.js} +2 -2
  43. package/dist/{chunk-FMBD7UC4-BIKI8zae.cjs → chunk-5VM5RSS4-CwDmQ9T_.cjs} +1 -1
  44. package/dist/{chunk-5ZQYHXKU-B_nOC8-n.js → chunk-75Z2AOVW-BwUD389x.js} +56 -55
  45. package/dist/chunk-75Z2AOVW-RbCLc-XL.cjs +2 -0
  46. package/dist/chunk-CLGD4ZFX-DKRy6g5T.js +10 -0
  47. package/dist/chunk-CLGD4ZFX-Dvn-kRD7.cjs +1 -0
  48. package/dist/{chunk-CSCIHK7Q-BEk3YcEH.js → chunk-DU6HZSFF-CNSdkWoH.js} +997 -764
  49. package/dist/chunk-DU6HZSFF-mznJTFyO.cjs +127 -0
  50. package/dist/chunk-F27PBJKO-C5NrgqMI.cjs +1 -0
  51. package/dist/{chunk-ND2GUHAM-Ca12h-m9.js → chunk-F27PBJKO-DKsmevT5.js} +18 -17
  52. package/dist/chunk-FOHPRMQF-BYsnEQU5.cjs +161 -0
  53. package/dist/{chunk-NNHCCRGN-BB1q5NkR.js → chunk-FOHPRMQF-C49KxWOg.js} +5156 -4419
  54. package/dist/chunk-GMAD6QVW-BVSRANO9.cjs +72 -0
  55. package/dist/{chunk-O5CBEL6O-DbWeP4Au.js → chunk-GMAD6QVW-DKxKOKLF.js} +459 -503
  56. package/dist/chunk-GVQU2GXP-BiuaO1L5.cjs +1 -0
  57. package/dist/chunk-GVQU2GXP-w4KY-she.js +37 -0
  58. package/dist/chunk-IMKFNOWR-CusIwu2H.cjs +231 -0
  59. package/dist/{chunk-AQP2D5EJ-vJ_pitKp.js → chunk-IMKFNOWR-DHxMOe_C.js} +313 -291
  60. package/dist/{chunk-4BX2VUAB-zglw1T4d.js → chunk-JWPE2WC7-Ccb0QaC8.js} +2 -2
  61. package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
  62. package/dist/chunk-L3NEJ4N5-B8UQMgqc.cjs +1 -0
  63. package/dist/chunk-L3NEJ4N5-CvNbHpcd.js +245 -0
  64. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  65. package/dist/chunk-LNGE3PJU-TgsSSByc.cjs +34 -0
  66. package/dist/{chunk-KSCS5N6A-BemQomLE.js → chunk-OSK3NFVY-BmtDbEvT.js} +304 -195
  67. package/dist/chunk-OSK3NFVY-DE9_ERt9.cjs +10 -0
  68. package/dist/chunk-P2QGCYS3-DRvvOWJ2.js +67 -0
  69. package/dist/chunk-P2QGCYS3-DqT85Q-S.cjs +1 -0
  70. package/dist/chunk-POPQ4Y6H-CaEkosGL.js +26 -0
  71. package/dist/chunk-POPQ4Y6H-QqO5seyb.cjs +1 -0
  72. package/dist/chunk-PWAF6VOD-CbmhQpgH.js +277 -0
  73. package/dist/chunk-PWAF6VOD-CjrO-QHU.cjs +1 -0
  74. package/dist/{flowDiagram-I6XJVG4X-DnsxKD0w.js → chunk-SHT3W25Y-DJgD-hyF.js} +566 -522
  75. package/dist/chunk-SHT3W25Y-DuMn9iH6.cjs +168 -0
  76. package/dist/chunk-SVP7TREG-BNwvtyzm.js +490 -0
  77. package/dist/chunk-SVP7TREG-CiwWyOxx.cjs +88 -0
  78. package/dist/{chunk-727SXJPM-Dj8nsm0O.cjs → chunk-TICWLB2K-1u0p_luB.cjs} +7 -7
  79. package/dist/{chunk-727SXJPM-CDeV7mmg.js → chunk-TICWLB2K-DqSHwYf9.js} +183 -177
  80. package/dist/chunk-TLUHSLCS-ZDzqyqeY.cjs +1 -0
  81. package/dist/{chunk-LZXEDZCA-J9irjuVP.js → chunk-TLUHSLCS-opHh7fd-.js} +35 -25
  82. package/dist/chunk-XXDRQBXY-BF71LTT1.cjs +1 -0
  83. package/dist/chunk-XXDRQBXY-BZK6GgVm.js +9 -0
  84. package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
  85. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  86. package/dist/classDiagram-ZZMXUADV-BTRkvFx4.js +30 -0
  87. package/dist/classDiagram-ZZMXUADV-CwAl_N60.cjs +1 -0
  88. package/dist/classDiagram-v2-VYDZK3BY-CFutvfy-.js +30 -0
  89. package/dist/classDiagram-v2-VYDZK3BY-CwAl_N60.cjs +1 -0
  90. package/dist/components/activity-timeline/activity-timeline-types.d.ts +46 -0
  91. package/dist/components/activity-timeline/activity-timeline-types.d.ts.map +1 -0
  92. package/dist/components/activity-timeline/activity-timeline.d.ts +4 -0
  93. package/dist/components/activity-timeline/activity-timeline.d.ts.map +1 -0
  94. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts +12 -0
  95. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts.map +1 -0
  96. package/dist/components/data-table/assets/data-table-row-actions.d.ts +11 -0
  97. package/dist/components/data-table/assets/data-table-row-actions.d.ts.map +1 -0
  98. package/dist/components/data-table/data-table-types.d.ts +52 -1
  99. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  100. package/dist/components/data-table/data-table.d.ts.map +1 -1
  101. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  102. package/dist/components/data-table/header/header-types.d.ts +7 -1
  103. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  104. package/dist/components/tab-bar/tab-bar-assets.d.ts +1 -0
  105. package/dist/components/tab-bar/tab-bar-assets.d.ts.map +1 -1
  106. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  107. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts +14 -0
  108. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -0
  109. package/dist/components/workflow-designer/workflow-designer-types.d.ts +40 -7
  110. package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -1
  111. package/dist/components/workflow-designer/workflow-designer-utils.d.ts +80 -1
  112. package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -1
  113. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts +2 -0
  114. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts.map +1 -0
  115. package/dist/components/workflow-designer/workflow-designer.d.ts +4 -3
  116. package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -1
  117. package/dist/{cose-bilkent-S5V4N54A-BhA3VnPW.js → cose-bilkent-JH36ORCC-CE0T5PqO.js} +25 -24
  118. package/dist/cose-bilkent-JH36ORCC-D6t9R42P.cjs +1 -0
  119. package/dist/cynefin-OW5HDTMX-CsZ3W32G.cjs +1 -0
  120. package/dist/cynefin-OW5HDTMX-DlKRHClQ.js +3 -0
  121. package/dist/cynefinDiagram-5FMLGOSQ-D5vkxB9p.js +349 -0
  122. package/dist/cynefinDiagram-5FMLGOSQ-D95Uad6U.cjs +62 -0
  123. package/dist/{cytoscape.esm-BU21wl3m.js → cytoscape.esm-BQqfb1oS.js} +2260 -2206
  124. package/dist/cytoscape.esm-TdwWzXkE.cjs +321 -0
  125. package/dist/dagre-GXQ25YYZ-CFXgAmuL.js +423 -0
  126. package/dist/dagre-GXQ25YYZ-NS5a_ezX.cjs +4 -0
  127. package/dist/{dagre-B2BBwKNb.cjs → dagre-nX1Mh32P.cjs} +1 -1
  128. package/dist/{dagre-3-RnF0EK.js → dagre-qXSFUdzO.js} +131 -131
  129. package/dist/diagram-S7CK7UJ4-CTj-4VAh.cjs +30 -0
  130. package/dist/diagram-S7CK7UJ4-DrGNegqs.js +301 -0
  131. package/dist/{diagram-2AECGRRQ-23vM90dy.js → diagram-UQ7AKVKN-LU56O9S9.js} +82 -81
  132. package/dist/diagram-UQ7AKVKN-eskbTWOc.cjs +41 -0
  133. package/dist/{diagram-KO2AKTUF-BEnEQF6b.js → diagram-VSXAHHWV-CaQnupEx.js} +66 -65
  134. package/dist/diagram-VSXAHHWV-DzHhzg5V.cjs +3 -0
  135. package/dist/diagram-VX7I27RA-D7Ibz__z.cjs +24 -0
  136. package/dist/{diagram-OG6HWLK6-Cfbv6mIH.js → diagram-VX7I27RA-DH-s9daK.js} +105 -104
  137. package/dist/diagram-Z3DM3KII-BpFP72Tr.cjs +24 -0
  138. package/dist/{diagram-LMA3HP47-OWxAHrmz.js → diagram-Z3DM3KII-DWhRX2l9.js} +21 -20
  139. package/dist/{dist-Btd8EZyy.js → dist-C7OpkiTz.js} +2 -3
  140. package/dist/dist-DrOEvFlx.cjs +1 -0
  141. package/dist/ebnfDiagram-PWID7BFC-CtT2erlt.js +100 -0
  142. package/dist/ebnfDiagram-PWID7BFC-DXCy8fra.cjs +1 -0
  143. package/dist/erDiagram-RLTQ6QDP-B-cUtqmN.cjs +99 -0
  144. package/dist/erDiagram-RLTQ6QDP-CxxAoCSs.js +1966 -0
  145. package/dist/eventmodeling-NTZA5JFV-5J5w1INt.js +3 -0
  146. package/dist/eventmodeling-NTZA5JFV-DcUTtbEf.cjs +1 -0
  147. package/dist/flowDiagram-HODETNUW-B6sXxv0S.cjs +1 -0
  148. package/dist/flowDiagram-HODETNUW-BUvMJJnE.js +17 -0
  149. package/dist/functional-components/multiple-field/multiple-field-types.d.ts +2 -0
  150. package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
  151. package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
  152. package/dist/functional-components/row/row-types.d.ts +5 -0
  153. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  154. package/dist/functional-components/row/row.d.ts.map +1 -1
  155. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +3 -1
  156. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  157. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  158. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +42 -0
  159. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -0
  160. package/dist/functional-components/tree-picker/tree-picker.d.ts +3 -0
  161. package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -0
  162. package/dist/ganttDiagram-EL5Y4UJY-Bee0Pd-N.cjs +292 -0
  163. package/dist/{ganttDiagram-6RSMTGT7-CwbJqdwB.js → ganttDiagram-EL5Y4UJY-C04RZW4s.js} +675 -671
  164. package/dist/gitGraph-4MIJSDKK-BCt5iiZ5.js +3 -0
  165. package/dist/gitGraph-4MIJSDKK-BeFVwcRC.cjs +1 -0
  166. package/dist/{gitGraphDiagram-PVQCEYII-mL2WiT98.js → gitGraphDiagram-WWUBYQGX-BTcuEGsY.js} +146 -145
  167. package/dist/gitGraphDiagram-WWUBYQGX-DA026nbS.cjs +106 -0
  168. package/dist/index.d.ts +4 -1
  169. package/dist/index.d.ts.map +1 -1
  170. package/dist/info-A6RAGUB7-C0KA0jej.cjs +1 -0
  171. package/dist/info-A6RAGUB7-DYBvudiC.js +3 -0
  172. package/dist/infoDiagram-27XIBGKW-B5nTXQEj.cjs +2 -0
  173. package/dist/infoDiagram-27XIBGKW-BoUOV42E.js +20 -0
  174. package/dist/{ishikawaDiagram-YF4QCWOH-DGOgWzve.js → ishikawaDiagram-5VMMS53U-D15Hi9wp.js} +134 -133
  175. package/dist/{ishikawaDiagram-YF4QCWOH-DAWMXD1l.cjs → ishikawaDiagram-5VMMS53U-ptk0d5z2.cjs} +6 -6
  176. package/dist/{journeyDiagram-JHISSGLW-CHVTMdrq.js → journeyDiagram-3NMN7TZE-BUb4frTN.js} +181 -180
  177. package/dist/{journeyDiagram-JHISSGLW-DfnmJPLn.cjs → journeyDiagram-3NMN7TZE-CxVpPKa-.cjs} +8 -8
  178. package/dist/kanban-definition-UXKFOSKX-Cd_nphr7.cjs +89 -0
  179. package/dist/{kanban-definition-UN3LZRKU-upKA3b5x.js → kanban-definition-UXKFOSKX-DkgBC20j.js} +141 -138
  180. package/dist/katex-DUe6VLjC.cjs +257 -0
  181. package/dist/{katex-D-2KeLwt.js → katex-Dyoqg6Cv.js} +1562 -1600
  182. package/dist/ketchup2.cjs.js +156 -154
  183. package/dist/ketchup2.css +1 -1
  184. package/dist/ketchup2.es.js +31759 -29656
  185. package/dist/{line-DIhSUgmA.js → line-BEo8vh4N.js} +1 -1
  186. package/dist/{line-CzwncDY3.cjs → line-wiGgVVGi.cjs} +1 -1
  187. package/dist/{linear-DUAteVwl.js → linear-BNesvT28.js} +1 -1
  188. package/dist/{linear-1lpO_WlJ.cjs → linear-YA14Lx5Z.cjs} +1 -1
  189. package/dist/locale/en/translation.json.d.ts +16 -0
  190. package/dist/locale/it/translation.json.d.ts +16 -0
  191. package/dist/mermaid-parser.core-CqChDTj1.cjs +6 -0
  192. package/dist/mermaid-parser.core-oFB-qEU8.js +638 -0
  193. package/dist/{mindmap-definition-RKZ34NQL-C8cZ7xN-.cjs → mindmap-definition-YA3MSWOX-0PG4raFG.cjs} +11 -11
  194. package/dist/{mindmap-definition-RKZ34NQL-C3YkCJDi.js → mindmap-definition-YA3MSWOX-Cjs12XgD.js} +156 -154
  195. package/dist/packet-AYTQ26CC-BEwXWBE0.js +3 -0
  196. package/dist/packet-AYTQ26CC-DfXUrk97.cjs +1 -0
  197. package/dist/pegDiagram-XKGWAZYB-BuyVzOiH.js +94 -0
  198. package/dist/pegDiagram-XKGWAZYB-J7VwZsJf.cjs +1 -0
  199. package/dist/pie-WAS4IAKB-4NfHFfJd.cjs +1 -0
  200. package/dist/pie-WAS4IAKB-BOR5Wwai.js +3 -0
  201. package/dist/pieDiagram-E7YTZNPT-B-rPB0ZO.cjs +39 -0
  202. package/dist/pieDiagram-E7YTZNPT-D4bB4TDP.js +205 -0
  203. package/dist/{quadrantDiagram-W4KKPZXB-C2oA-eGZ.js → quadrantDiagram-AXDQQJYC-B6Q9biU9.js} +293 -293
  204. package/dist/quadrantDiagram-AXDQQJYC-C5sdY1DW.cjs +7 -0
  205. package/dist/radar-RG4KPBEZ-BwLQFFzF.js +3 -0
  206. package/dist/radar-RG4KPBEZ-_epvvHKu.cjs +1 -0
  207. package/dist/railroad-74A4TZTK-CaWzRQE0.js +3 -0
  208. package/dist/railroad-74A4TZTK-D2qbdjOh.cjs +1 -0
  209. package/dist/railroad-abnf-HS5TGJTU-D2tm1mra.js +3 -0
  210. package/dist/railroad-abnf-HS5TGJTU-_ThxftPt.cjs +1 -0
  211. package/dist/railroad-ebnf-LZEXJU2U-CKpMMgXK.cjs +1 -0
  212. package/dist/railroad-ebnf-LZEXJU2U-KAuGgmQe.js +3 -0
  213. package/dist/railroad-peg-WCYAUIDC-B8bfIIor.cjs +1 -0
  214. package/dist/railroad-peg-WCYAUIDC-XB38GivH.js +3 -0
  215. package/dist/railroadDiagram-O6MQD6OU-C7LfgSGm.cjs +1 -0
  216. package/dist/railroadDiagram-O6MQD6OU-DFR4_PxB.js +76 -0
  217. package/dist/{requirementDiagram-4Y6WPE33-BEGryahw.js → requirementDiagram-BXWQKSXE-BfWCCTu8.js} +169 -166
  218. package/dist/requirementDiagram-BXWQKSXE-y2O3wvFe.cjs +84 -0
  219. package/dist/{sankeyDiagram-5OEKKPKP-VPzKV4zM.js → sankeyDiagram-P5KCCOFB-B_3NESVW.js} +109 -108
  220. package/dist/sankeyDiagram-P5KCCOFB-z8VLw23o.cjs +40 -0
  221. package/dist/sequenceDiagram-WJ2MYXX4-3cWo24Xv.cjs +162 -0
  222. package/dist/{sequenceDiagram-3UESZ5HK-Bc30_Cm2.js → sequenceDiagram-WJ2MYXX4-B8W9PUBb.js} +692 -688
  223. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  224. package/dist/sizeCapture-INFHLROL-bJ2ZX4Du.cjs +1 -0
  225. package/dist/src-B16ML7oM.cjs +1 -0
  226. package/dist/{src-DjDATEq3.js → src-D-6ZfKf9.js} +500 -507
  227. package/dist/stateDiagram-D77RDMKH-DghYG1f5.cjs +1 -0
  228. package/dist/stateDiagram-D77RDMKH-IwptGFzp.js +220 -0
  229. package/dist/stateDiagram-v2-MP3YSRHH-0rNAzd4v.cjs +1 -0
  230. package/dist/stateDiagram-v2-MP3YSRHH-NATCGJSV.js +30 -0
  231. package/dist/swimlanes-42K2YHIH-jhIjSCsq.js +4976 -0
  232. package/dist/swimlanes-42K2YHIH-svHo0tVy.cjs +1 -0
  233. package/dist/swimlanesDiagram-VR7AAH4N-DKxpX9Hj.js +31 -0
  234. package/dist/swimlanesDiagram-VR7AAH4N-DcDLe-u-.cjs +8 -0
  235. package/dist/{timeline-definition-PNZ67QCA-1z911Ume.js → timeline-definition-24CTP7MA-C6u6A92C.js} +212 -211
  236. package/dist/timeline-definition-24CTP7MA-CA62jwSB.cjs +120 -0
  237. package/dist/treeView-Q6P3EWNA-CkgGYPwy.js +3 -0
  238. package/dist/treeView-Q6P3EWNA-zIJfTe51.cjs +1 -0
  239. package/dist/treemap-WGGIJYW6-CooEnQQp.cjs +1 -0
  240. package/dist/treemap-WGGIJYW6-D4tTzsvR.js +3 -0
  241. package/dist/types/translation.d.ts +17 -1
  242. package/dist/types/translation.d.ts.map +1 -1
  243. package/dist/utils/data-structures.d.ts +2 -1
  244. package/dist/utils/data-structures.d.ts.map +1 -1
  245. package/dist/{vennDiagram-CIIHVFJN-BiLcQ0SR.js → vennDiagram-4TSXK5OY-Bt9cyeRX.js} +324 -302
  246. package/dist/vennDiagram-4TSXK5OY-YKU1Lb_h.cjs +34 -0
  247. package/dist/wardley-WFR3VGLG-Cp2KFpcw.cjs +1 -0
  248. package/dist/wardley-WFR3VGLG-D1o3hFSK.js +3 -0
  249. package/dist/wardleyDiagram-VM6X3IG4-BvyabMK8.cjs +78 -0
  250. package/dist/{wardleyDiagram-YWT4CUSO-Bq-BejOl.js → wardleyDiagram-VM6X3IG4-QkNx10Ny.js} +144 -143
  251. package/dist/{xychartDiagram-2RQKCTM6-B13zquXC.js → xychartDiagram-S5SC5T6Z-BSwoR01A.js} +729 -559
  252. package/dist/xychartDiagram-S5SC5T6Z-BtNTzcXw.cjs +7 -0
  253. package/package.json +5 -2
  254. package/dist/architecture-7EHR7CIX-Bzeobe9Y.cjs +0 -1
  255. package/dist/architecture-7EHR7CIX-C8NPmR2w.js +0 -3
  256. package/dist/architectureDiagram-3BPJPVTR-DlnXl9d5.cjs +0 -36
  257. package/dist/blockDiagram-GPEHLZMM-BohmRoCC.js +0 -3157
  258. package/dist/blockDiagram-GPEHLZMM-rfyR2Ffl.cjs +0 -132
  259. package/dist/c4Diagram-AAUBKEIU-Du1vqJYZ.cjs +0 -10
  260. package/dist/channel-DJpMBAs-.cjs +0 -1
  261. package/dist/chunk-2J33WTMH-BMqA-riF.js +0 -25
  262. package/dist/chunk-2J33WTMH-BQs9SXq8.cjs +0 -1
  263. package/dist/chunk-3OPIFGDE-Bk_ByTBh.cjs +0 -62
  264. package/dist/chunk-4BX2VUAB-C8VW0QW0.cjs +0 -1
  265. package/dist/chunk-55IACEB6-CNxnI3nm.cjs +0 -1
  266. package/dist/chunk-55IACEB6-CmKDx-YO.js +0 -8
  267. package/dist/chunk-5ZQYHXKU-DMrStm4M.cjs +0 -2
  268. package/dist/chunk-AQP2D5EJ-CYuEYK6i.cjs +0 -231
  269. package/dist/chunk-BSJP7CBP-CSCICPww.cjs +0 -1
  270. package/dist/chunk-BSJP7CBP-YsQACkyC.js +0 -82
  271. package/dist/chunk-CSCIHK7Q-BAdl6GW-.cjs +0 -124
  272. package/dist/chunk-KSCS5N6A-DsN7gJEf.cjs +0 -10
  273. package/dist/chunk-L5ZTLDWV-BQCNoMVG.js +0 -32
  274. package/dist/chunk-L5ZTLDWV-BbLRyKcx.cjs +0 -1
  275. package/dist/chunk-LZXEDZCA-rjLYyX5U.cjs +0 -1
  276. package/dist/chunk-ND2GUHAM-1o9Sjy2_.cjs +0 -1
  277. package/dist/chunk-NNHCCRGN-qV8bfiMQ.cjs +0 -159
  278. package/dist/chunk-NZK2D7GU-CPxdSJTy.js +0 -67
  279. package/dist/chunk-NZK2D7GU-CRneGIrP.cjs +0 -1
  280. package/dist/chunk-O5CBEL6O-Cd4Z5Dy9.cjs +0 -70
  281. package/dist/chunk-QZHKN3VN-ZJ4hLUIw.cjs +0 -1
  282. package/dist/chunk-WU5MYG2G-DuCEb9G-.js +0 -9
  283. package/dist/chunk-WU5MYG2G-ExiaHFbF.cjs +0 -1
  284. package/dist/chunk-XPW4576I-BybfDrup.cjs +0 -32
  285. package/dist/chunk-XPW4576I-D3DQ47oC.js +0 -1146
  286. package/dist/classDiagram-4FO5ZUOK-CRX1QumH.js +0 -29
  287. package/dist/classDiagram-4FO5ZUOK-yTAlLFG2.cjs +0 -1
  288. package/dist/classDiagram-v2-Q7XG4LA2-oM01mYfB.js +0 -29
  289. package/dist/classDiagram-v2-Q7XG4LA2-yTAlLFG2.cjs +0 -1
  290. package/dist/cose-bilkent-S5V4N54A-D7fhWOP4.cjs +0 -1
  291. package/dist/cytoscape.esm-CElDUMAx.cjs +0 -321
  292. package/dist/dagre-BM42HDAG-DfpR5Mml.js +0 -297
  293. package/dist/dagre-BM42HDAG-kORxgFz_.cjs +0 -4
  294. package/dist/diagram-2AECGRRQ-B0IEGKjr.cjs +0 -43
  295. package/dist/diagram-5GNKFQAL-BEY9x4us.js +0 -101
  296. package/dist/diagram-5GNKFQAL-vb6e35PR.cjs +0 -10
  297. package/dist/diagram-KO2AKTUF-9V_zu-2x.cjs +0 -3
  298. package/dist/diagram-LMA3HP47-BN_geiB9.cjs +0 -24
  299. package/dist/diagram-OG6HWLK6-6OnEK9-6.cjs +0 -24
  300. package/dist/dist-D8RD2QWc.cjs +0 -1
  301. package/dist/erDiagram-TEJ5UH35-6OEXIM6m.js +0 -1700
  302. package/dist/erDiagram-TEJ5UH35-CzsOt0l4.cjs +0 -85
  303. package/dist/eventmodeling-FCH6USID-Cued7Lz2.cjs +0 -1
  304. package/dist/eventmodeling-FCH6USID-mCB8hc7X.js +0 -3
  305. package/dist/flowDiagram-I6XJVG4X-DR1CMtZZ.cjs +0 -162
  306. package/dist/ganttDiagram-6RSMTGT7-C5t5_mjf.cjs +0 -292
  307. package/dist/gitGraph-WXDBUCRP-B23gOjfP.js +0 -3
  308. package/dist/gitGraph-WXDBUCRP-Bi-Y5dA7.cjs +0 -1
  309. package/dist/gitGraphDiagram-PVQCEYII-CLdgm7yJ.cjs +0 -106
  310. package/dist/info-J43DQDTF-DC3N8SoX.js +0 -3
  311. package/dist/info-J43DQDTF-jRjlWVKj.cjs +0 -1
  312. package/dist/infoDiagram-5YYISTIA-BIM8xaiE.js +0 -19
  313. package/dist/infoDiagram-5YYISTIA-CbnHgs-I.cjs +0 -2
  314. package/dist/kanban-definition-UN3LZRKU-CbeoJJE7.cjs +0 -89
  315. package/dist/katex-CkiTumqg.cjs +0 -257
  316. package/dist/mermaid-parser.core-ADyJ_PY4.cjs +0 -3
  317. package/dist/mermaid-parser.core-D6xVjl2t.js +0 -373
  318. package/dist/packet-YPE3B663-CGZxZ1Z0.cjs +0 -1
  319. package/dist/packet-YPE3B663-D2JW2EUF.js +0 -3
  320. package/dist/pie-LRSECV5Y-BHyd33ZA.js +0 -3
  321. package/dist/pie-LRSECV5Y-Ca_qbHEv.cjs +0 -1
  322. package/dist/pieDiagram-4H26LBE5-BvhguaHn.js +0 -165
  323. package/dist/pieDiagram-4H26LBE5-DpDrJBQK.cjs +0 -30
  324. package/dist/quadrantDiagram-W4KKPZXB-hWSN7YfD.cjs +0 -7
  325. package/dist/radar-GUYGQ44K-BpJWFTCm.js +0 -3
  326. package/dist/radar-GUYGQ44K-CYqWSxO_.cjs +0 -1
  327. package/dist/requirementDiagram-4Y6WPE33-GmjmsbiY.cjs +0 -84
  328. package/dist/sankeyDiagram-5OEKKPKP-DbGAx-Bm.cjs +0 -40
  329. package/dist/sequenceDiagram-3UESZ5HK-D85rpewi.cjs +0 -162
  330. package/dist/src-DEmZ9bFr.cjs +0 -1
  331. package/dist/stateDiagram-AJRCARHV-Bg4Y3HPa.cjs +0 -1
  332. package/dist/stateDiagram-AJRCARHV-wqjltbKb.js +0 -217
  333. package/dist/stateDiagram-v2-BHNVJYJU-Cgrf5tQC.js +0 -27
  334. package/dist/stateDiagram-v2-BHNVJYJU-D_Tzn4WM.cjs +0 -1
  335. package/dist/timeline-definition-PNZ67QCA-Dpu3hfhP.cjs +0 -120
  336. package/dist/treeView-BLDUP644-C9tQMbiq.js +0 -3
  337. package/dist/treeView-BLDUP644-DKh9BcaT.cjs +0 -1
  338. package/dist/treemap-LRROVOQU-2aferAph.cjs +0 -1
  339. package/dist/treemap-LRROVOQU-CBv3oGC3.js +0 -3
  340. package/dist/vennDiagram-CIIHVFJN-BLBDqWTG.cjs +0 -34
  341. package/dist/wardley-L42UT6IY-CIM0_V5T.js +0 -3
  342. package/dist/wardley-L42UT6IY-DjjjOB8T.cjs +0 -1
  343. package/dist/wardleyDiagram-YWT4CUSO-dzyAWKiV.cjs +0 -78
  344. package/dist/xychartDiagram-2RQKCTM6-DA3O42Dk.cjs +0 -7
@@ -1,12 +1,14 @@
1
- import { g as e, h as t } from "./src-DjDATEq3.js";
2
- import { D as n, H as r, K as i, U as a, a as o, b as s, c, f as l, v as u, w as d, y as f, z as p } from "./chunk-CSCIHK7Q-BEk3YcEH.js";
3
- import { t as m } from "./linear-DUAteVwl.js";
1
+ import { m as e } from "./src-D-6ZfKf9.js";
2
+ import { D as t, H as n, K as r, U as i, a, b as o, c as s, f as c, v as l, w as u, y as d, z as f } from "./chunk-DU6HZSFF-CNSdkWoH.js";
3
+ import { n as p } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
+ import { t as m } from "./linear-BNesvT28.js";
4
5
  import { t as h } from "./ordinal-D_ZgubzR.js";
5
6
  import { t as g } from "./init-MwSGRDIl.js";
6
- import { i as _ } from "./chunk-5ZQYHXKU-B_nOC8-n.js";
7
- import { t as v } from "./line-DIhSUgmA.js";
8
- import { t as y } from "./chunk-WU5MYG2G-DuCEb9G-.js";
9
- import { t as b } from "./chunk-O5CBEL6O-DbWeP4Au.js";
7
+ import { i as _ } from "./chunk-75Z2AOVW-BwUD389x.js";
8
+ import { t as v } from "./line-BEo8vh4N.js";
9
+ import { t as y } from "./chunk-CLGD4ZFX-DKRy6g5T.js";
10
+ import "./chunk-PWAF6VOD-CbmhQpgH.js";
11
+ import { t as b } from "./chunk-GMAD6QVW-DKxKOKLF.js";
10
12
  //#region node_modules/d3-array/src/range.js
11
13
  function x(e, t, n) {
12
14
  e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
@@ -51,12 +53,12 @@ function S() {
51
53
  }, g.apply(d(), arguments);
52
54
  }
53
55
  //#endregion
54
- //#region node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-2RQKCTM6.mjs
56
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-S5SC5T6Z.mjs
55
57
  var C = (function() {
56
- var e = /* @__PURE__ */ t(function(e, t, n, r) {
58
+ var e = /* @__PURE__ */ p(function(e, t, n, r) {
57
59
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
58
60
  return n;
59
- }, "o"), n = [
61
+ }, "o"), t = [
60
62
  1,
61
63
  10,
62
64
  12,
@@ -66,7 +68,7 @@ var C = (function() {
66
68
  19,
67
69
  21,
68
70
  23
69
- ], r = [2, 6], i = [1, 3], a = [1, 5], o = [1, 6], s = [1, 7], c = [
71
+ ], n = [2, 6], r = [1, 3], i = [1, 5], a = [1, 6], o = [1, 7], s = [
70
72
  1,
71
73
  5,
72
74
  10,
@@ -77,10 +79,10 @@ var C = (function() {
77
79
  19,
78
80
  21,
79
81
  23,
80
- 34,
81
- 35,
82
- 36
83
- ], l = [1, 25], u = [1, 26], d = [1, 28], f = [1, 29], p = [1, 30], m = [1, 31], h = [1, 32], g = [1, 33], _ = [1, 34], v = [1, 35], y = [1, 36], b = [1, 37], x = [1, 43], S = [1, 42], C = [1, 47], w = [1, 50], T = [
82
+ 36,
83
+ 37,
84
+ 38
85
+ ], c = [1, 25], l = [1, 26], u = [1, 28], d = [1, 29], f = [1, 30], m = [1, 31], h = [1, 32], g = [1, 33], _ = [1, 34], v = [1, 35], y = [1, 36], b = [1, 37], x = [1, 43], S = [1, 42], C = [1, 47], w = [1, 50], T = [
84
86
  1,
85
87
  10,
86
88
  12,
@@ -90,9 +92,9 @@ var C = (function() {
90
92
  19,
91
93
  21,
92
94
  23,
93
- 34,
94
- 35,
95
- 36
95
+ 36,
96
+ 37,
97
+ 38
96
98
  ], E = [
97
99
  1,
98
100
  10,
@@ -105,11 +107,11 @@ var C = (function() {
105
107
  23,
106
108
  24,
107
109
  26,
108
- 27,
109
110
  28,
110
- 34,
111
- 35,
112
- 36
111
+ 29,
112
+ 36,
113
+ 37,
114
+ 38
113
115
  ], D = [
114
116
  1,
115
117
  10,
@@ -122,12 +124,11 @@ var C = (function() {
122
124
  23,
123
125
  24,
124
126
  26,
125
- 27,
126
127
  28,
127
- 34,
128
- 35,
128
+ 29,
129
129
  36,
130
- 41,
130
+ 37,
131
+ 38,
131
132
  42,
132
133
  43,
133
134
  44,
@@ -136,9 +137,10 @@ var C = (function() {
136
137
  47,
137
138
  48,
138
139
  49,
139
- 50
140
- ], O = [1, 64], k = {
141
- trace: /* @__PURE__ */ t(function() {}, "trace"),
140
+ 50,
141
+ 51
142
+ ], O = [1, 65], k = [26, 28], A = {
143
+ trace: /* @__PURE__ */ p(function() {}, "trace"),
142
144
  yy: {},
143
145
  symbols_: {
144
146
  error: 2,
@@ -164,32 +166,33 @@ var C = (function() {
164
166
  acc_descr_value: 22,
165
167
  acc_descr_multiline_value: 23,
166
168
  SQUARE_BRACES_START: 24,
167
- commaSeparatedNumbers: 25,
169
+ dataPoints: 25,
168
170
  SQUARE_BRACES_END: 26,
169
- NUMBER_WITH_DECIMAL: 27,
171
+ dataPoint: 27,
170
172
  COMMA: 28,
171
- xAxisData: 29,
172
- bandData: 30,
173
- ARROW_DELIMITER: 31,
174
- commaSeparatedTexts: 32,
175
- yAxisData: 33,
176
- NEWLINE: 34,
177
- SEMI: 35,
178
- EOF: 36,
179
- alphaNum: 37,
180
- STR: 38,
181
- MD_STR: 39,
182
- alphaNumToken: 40,
183
- AMP: 41,
184
- NUM: 42,
185
- ALPHA: 43,
186
- PLUS: 44,
187
- EQUALS: 45,
188
- MULT: 46,
189
- DOT: 47,
190
- BRKT: 48,
191
- MINUS: 49,
192
- UNDERSCORE: 50,
173
+ NUMBER_WITH_DECIMAL: 29,
174
+ STR: 30,
175
+ xAxisData: 31,
176
+ bandData: 32,
177
+ ARROW_DELIMITER: 33,
178
+ commaSeparatedTexts: 34,
179
+ yAxisData: 35,
180
+ NEWLINE: 36,
181
+ SEMI: 37,
182
+ EOF: 38,
183
+ alphaNum: 39,
184
+ MD_STR: 40,
185
+ alphaNumToken: 41,
186
+ AMP: 42,
187
+ NUM: 43,
188
+ ALPHA: 44,
189
+ PLUS: 45,
190
+ EQUALS: 46,
191
+ MULT: 47,
192
+ DOT: 48,
193
+ BRKT: 49,
194
+ MINUS: 50,
195
+ UNDERSCORE: 51,
193
196
  $accept: 0,
194
197
  $end: 1
195
198
  },
@@ -209,24 +212,24 @@ var C = (function() {
209
212
  23: "acc_descr_multiline_value",
210
213
  24: "SQUARE_BRACES_START",
211
214
  26: "SQUARE_BRACES_END",
212
- 27: "NUMBER_WITH_DECIMAL",
213
215
  28: "COMMA",
214
- 31: "ARROW_DELIMITER",
215
- 34: "NEWLINE",
216
- 35: "SEMI",
217
- 36: "EOF",
218
- 38: "STR",
219
- 39: "MD_STR",
220
- 41: "AMP",
221
- 42: "NUM",
222
- 43: "ALPHA",
223
- 44: "PLUS",
224
- 45: "EQUALS",
225
- 46: "MULT",
226
- 47: "DOT",
227
- 48: "BRKT",
228
- 49: "MINUS",
229
- 50: "UNDERSCORE"
216
+ 29: "NUMBER_WITH_DECIMAL",
217
+ 30: "STR",
218
+ 33: "ARROW_DELIMITER",
219
+ 36: "NEWLINE",
220
+ 37: "SEMI",
221
+ 38: "EOF",
222
+ 40: "MD_STR",
223
+ 42: "AMP",
224
+ 43: "NUM",
225
+ 44: "ALPHA",
226
+ 45: "PLUS",
227
+ 46: "EQUALS",
228
+ 47: "MULT",
229
+ 48: "DOT",
230
+ 49: "BRKT",
231
+ 50: "MINUS",
232
+ 51: "UNDERSCORE"
230
233
  },
231
234
  productions_: [
232
235
  0,
@@ -251,38 +254,40 @@ var C = (function() {
251
254
  [17, 3],
252
255
  [25, 3],
253
256
  [25, 1],
257
+ [27, 2],
258
+ [27, 1],
254
259
  [13, 1],
255
260
  [13, 2],
256
261
  [13, 1],
257
- [29, 1],
258
- [29, 3],
259
- [30, 3],
262
+ [31, 1],
263
+ [31, 3],
260
264
  [32, 3],
261
- [32, 1],
265
+ [34, 3],
266
+ [34, 1],
262
267
  [15, 1],
263
268
  [15, 2],
264
269
  [15, 1],
265
- [33, 3],
270
+ [35, 3],
266
271
  [4, 1],
267
272
  [4, 1],
268
273
  [4, 1],
269
274
  [11, 1],
270
275
  [11, 1],
271
276
  [11, 1],
272
- [37, 1],
273
- [37, 2],
274
- [40, 1],
275
- [40, 1],
276
- [40, 1],
277
- [40, 1],
278
- [40, 1],
279
- [40, 1],
280
- [40, 1],
281
- [40, 1],
282
- [40, 1],
283
- [40, 1]
277
+ [39, 1],
278
+ [39, 2],
279
+ [41, 1],
280
+ [41, 1],
281
+ [41, 1],
282
+ [41, 1],
283
+ [41, 1],
284
+ [41, 1],
285
+ [41, 1],
286
+ [41, 1],
287
+ [41, 1],
288
+ [41, 1]
284
289
  ],
285
- performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
290
+ performAction: /* @__PURE__ */ p(function(e, t, n, r, i, a, o) {
286
291
  var s = a.length - 1;
287
292
  switch (i) {
288
293
  case 5:
@@ -320,109 +325,117 @@ var C = (function() {
320
325
  this.$ = a[s - 1];
321
326
  break;
322
327
  case 20:
323
- this.$ = [Number(a[s - 2]), ...a[s]];
328
+ case 30:
329
+ this.$ = [a[s - 2], ...a[s]];
324
330
  break;
325
331
  case 21:
326
- this.$ = [Number(a[s])];
332
+ case 31:
333
+ this.$ = [a[s]];
327
334
  break;
328
335
  case 22:
329
- r.setXAxisTitle(a[s]);
336
+ this.$ = {
337
+ value: Number(a[s - 1]),
338
+ label: a[s]
339
+ };
330
340
  break;
331
341
  case 23:
332
- r.setXAxisTitle(a[s - 1]);
342
+ this.$ = {
343
+ value: Number(a[s]),
344
+ label: ""
345
+ };
333
346
  break;
334
347
  case 24:
335
- r.setXAxisTitle({
336
- type: "text",
337
- text: ""
338
- });
348
+ r.setXAxisTitle(a[s]);
339
349
  break;
340
350
  case 25:
341
- r.setXAxisBand(a[s]);
351
+ r.setXAxisTitle(a[s - 1]);
342
352
  break;
343
353
  case 26:
344
- r.setXAxisRangeData(Number(a[s - 2]), Number(a[s]));
354
+ r.setXAxisTitle({
355
+ type: "text",
356
+ text: ""
357
+ });
345
358
  break;
346
359
  case 27:
347
- this.$ = a[s - 1];
360
+ r.setXAxisBand(a[s]);
348
361
  break;
349
362
  case 28:
350
- this.$ = [a[s - 2], ...a[s]];
363
+ r.setXAxisRangeData(Number(a[s - 2]), Number(a[s]));
351
364
  break;
352
365
  case 29:
353
- this.$ = [a[s]];
366
+ this.$ = a[s - 1];
354
367
  break;
355
- case 30:
368
+ case 32:
356
369
  r.setYAxisTitle(a[s]);
357
370
  break;
358
- case 31:
371
+ case 33:
359
372
  r.setYAxisTitle(a[s - 1]);
360
373
  break;
361
- case 32:
374
+ case 34:
362
375
  r.setYAxisTitle({
363
376
  type: "text",
364
377
  text: ""
365
378
  });
366
379
  break;
367
- case 33:
380
+ case 35:
368
381
  r.setYAxisRangeData(Number(a[s - 2]), Number(a[s]));
369
382
  break;
370
- case 37:
383
+ case 39:
371
384
  this.$ = {
372
385
  text: a[s],
373
386
  type: "text"
374
387
  };
375
388
  break;
376
- case 38:
389
+ case 40:
377
390
  this.$ = {
378
391
  text: a[s],
379
392
  type: "text"
380
393
  };
381
394
  break;
382
- case 39:
395
+ case 41:
383
396
  this.$ = {
384
397
  text: a[s],
385
398
  type: "markdown"
386
399
  };
387
400
  break;
388
- case 40:
401
+ case 42:
389
402
  this.$ = a[s];
390
403
  break;
391
- case 41:
404
+ case 43:
392
405
  this.$ = a[s - 1] + "" + a[s];
393
406
  break;
394
407
  }
395
408
  }, "anonymous"),
396
409
  table: [
397
- e(n, r, {
410
+ e(t, n, {
398
411
  3: 1,
399
412
  4: 2,
400
413
  7: 4,
401
- 5: i,
402
- 34: a,
403
- 35: o,
404
- 36: s
414
+ 5: r,
415
+ 36: i,
416
+ 37: a,
417
+ 38: o
405
418
  }),
406
419
  { 1: [3] },
407
- e(n, r, {
420
+ e(t, n, {
408
421
  4: 2,
409
422
  7: 4,
410
423
  3: 8,
411
- 5: i,
412
- 34: a,
413
- 35: o,
414
- 36: s
424
+ 5: r,
425
+ 36: i,
426
+ 37: a,
427
+ 38: o
415
428
  }),
416
- e(n, r, {
429
+ e(t, n, {
417
430
  4: 2,
418
431
  7: 4,
419
432
  6: 9,
420
433
  3: 10,
421
- 5: i,
434
+ 5: r,
422
435
  8: [1, 11],
423
- 34: a,
424
- 35: o,
425
- 36: s
436
+ 36: i,
437
+ 37: a,
438
+ 38: o
426
439
  }),
427
440
  {
428
441
  1: [2, 4],
@@ -436,123 +449,123 @@ var C = (function() {
436
449
  21: [1, 19],
437
450
  23: [1, 20]
438
451
  },
439
- e(c, [2, 34]),
440
- e(c, [2, 35]),
441
- e(c, [2, 36]),
452
+ e(s, [2, 36]),
453
+ e(s, [2, 37]),
454
+ e(s, [2, 38]),
442
455
  { 1: [2, 1] },
443
- e(n, r, {
456
+ e(t, n, {
444
457
  4: 2,
445
458
  7: 4,
446
459
  3: 21,
447
- 5: i,
448
- 34: a,
449
- 35: o,
450
- 36: s
460
+ 5: r,
461
+ 36: i,
462
+ 37: a,
463
+ 38: o
451
464
  }),
452
465
  { 1: [2, 3] },
453
- e(c, [2, 5]),
454
- e(n, [2, 7], {
466
+ e(s, [2, 5]),
467
+ e(t, [2, 7], {
455
468
  4: 22,
456
- 34: a,
457
- 35: o,
458
- 36: s
469
+ 36: i,
470
+ 37: a,
471
+ 38: o
459
472
  }),
460
473
  {
461
474
  11: 23,
462
- 37: 24,
463
- 38: l,
464
- 39: u,
465
- 40: 27,
466
- 41: d,
467
- 42: f,
468
- 43: p,
469
- 44: m,
470
- 45: h,
471
- 46: g,
472
- 47: _,
473
- 48: v,
474
- 49: y,
475
- 50: b
475
+ 30: c,
476
+ 39: 24,
477
+ 40: l,
478
+ 41: 27,
479
+ 42: u,
480
+ 43: d,
481
+ 44: f,
482
+ 45: m,
483
+ 46: h,
484
+ 47: g,
485
+ 48: _,
486
+ 49: v,
487
+ 50: y,
488
+ 51: b
476
489
  },
477
490
  {
478
491
  11: 39,
479
492
  13: 38,
480
493
  24: x,
481
- 27: S,
482
- 29: 40,
483
- 30: 41,
484
- 37: 24,
485
- 38: l,
486
- 39: u,
487
- 40: 27,
488
- 41: d,
489
- 42: f,
490
- 43: p,
491
- 44: m,
492
- 45: h,
493
- 46: g,
494
- 47: _,
495
- 48: v,
496
- 49: y,
497
- 50: b
494
+ 29: S,
495
+ 30: c,
496
+ 31: 40,
497
+ 32: 41,
498
+ 39: 24,
499
+ 40: l,
500
+ 41: 27,
501
+ 42: u,
502
+ 43: d,
503
+ 44: f,
504
+ 45: m,
505
+ 46: h,
506
+ 47: g,
507
+ 48: _,
508
+ 49: v,
509
+ 50: y,
510
+ 51: b
498
511
  },
499
512
  {
500
513
  11: 45,
501
514
  15: 44,
502
- 27: C,
503
- 33: 46,
504
- 37: 24,
505
- 38: l,
506
- 39: u,
507
- 40: 27,
508
- 41: d,
509
- 42: f,
510
- 43: p,
511
- 44: m,
512
- 45: h,
513
- 46: g,
514
- 47: _,
515
- 48: v,
516
- 49: y,
517
- 50: b
515
+ 29: C,
516
+ 30: c,
517
+ 35: 46,
518
+ 39: 24,
519
+ 40: l,
520
+ 41: 27,
521
+ 42: u,
522
+ 43: d,
523
+ 44: f,
524
+ 45: m,
525
+ 46: h,
526
+ 47: g,
527
+ 48: _,
528
+ 49: v,
529
+ 50: y,
530
+ 51: b
518
531
  },
519
532
  {
520
533
  11: 49,
521
534
  17: 48,
522
535
  24: w,
523
- 37: 24,
524
- 38: l,
525
- 39: u,
526
- 40: 27,
527
- 41: d,
528
- 42: f,
529
- 43: p,
530
- 44: m,
531
- 45: h,
532
- 46: g,
533
- 47: _,
534
- 48: v,
535
- 49: y,
536
- 50: b
536
+ 30: c,
537
+ 39: 24,
538
+ 40: l,
539
+ 41: 27,
540
+ 42: u,
541
+ 43: d,
542
+ 44: f,
543
+ 45: m,
544
+ 46: h,
545
+ 47: g,
546
+ 48: _,
547
+ 49: v,
548
+ 50: y,
549
+ 51: b
537
550
  },
538
551
  {
539
552
  11: 52,
540
553
  17: 51,
541
554
  24: w,
542
- 37: 24,
543
- 38: l,
544
- 39: u,
545
- 40: 27,
546
- 41: d,
547
- 42: f,
548
- 43: p,
549
- 44: m,
550
- 45: h,
551
- 46: g,
552
- 47: _,
553
- 48: v,
554
- 49: y,
555
- 50: b
555
+ 30: c,
556
+ 39: 24,
557
+ 40: l,
558
+ 41: 27,
559
+ 42: u,
560
+ 43: d,
561
+ 44: f,
562
+ 45: m,
563
+ 46: h,
564
+ 47: g,
565
+ 48: _,
566
+ 49: v,
567
+ 50: y,
568
+ 51: b
556
569
  },
557
570
  { 20: [1, 53] },
558
571
  { 22: [1, 54] },
@@ -560,24 +573,22 @@ var C = (function() {
560
573
  { 1: [2, 2] },
561
574
  e(T, [2, 8]),
562
575
  e(T, [2, 9]),
563
- e(E, [2, 37], {
564
- 40: 55,
565
- 41: d,
566
- 42: f,
567
- 43: p,
568
- 44: m,
569
- 45: h,
570
- 46: g,
571
- 47: _,
572
- 48: v,
573
- 49: y,
574
- 50: b
576
+ e(E, [2, 39], {
577
+ 41: 55,
578
+ 42: u,
579
+ 43: d,
580
+ 44: f,
581
+ 45: m,
582
+ 46: h,
583
+ 47: g,
584
+ 48: _,
585
+ 49: v,
586
+ 50: y,
587
+ 51: b
575
588
  }),
576
- e(E, [2, 38]),
577
- e(E, [2, 39]),
578
- e(D, [2, 40]),
589
+ e(E, [2, 40]),
590
+ e(E, [2, 41]),
579
591
  e(D, [2, 42]),
580
- e(D, [2, 43]),
581
592
  e(D, [2, 44]),
582
593
  e(D, [2, 45]),
583
594
  e(D, [2, 46]),
@@ -586,41 +597,43 @@ var C = (function() {
586
597
  e(D, [2, 49]),
587
598
  e(D, [2, 50]),
588
599
  e(D, [2, 51]),
600
+ e(D, [2, 52]),
601
+ e(D, [2, 53]),
589
602
  e(T, [2, 10]),
590
- e(T, [2, 22], {
591
- 30: 41,
592
- 29: 56,
603
+ e(T, [2, 24], {
604
+ 32: 41,
605
+ 31: 56,
593
606
  24: x,
594
- 27: S
607
+ 29: S
595
608
  }),
596
- e(T, [2, 24]),
597
- e(T, [2, 25]),
598
- { 31: [1, 57] },
609
+ e(T, [2, 26]),
610
+ e(T, [2, 27]),
611
+ { 33: [1, 57] },
599
612
  {
600
613
  11: 59,
601
- 32: 58,
602
- 37: 24,
603
- 38: l,
604
- 39: u,
605
- 40: 27,
606
- 41: d,
607
- 42: f,
608
- 43: p,
609
- 44: m,
610
- 45: h,
611
- 46: g,
612
- 47: _,
613
- 48: v,
614
- 49: y,
615
- 50: b
614
+ 30: c,
615
+ 34: 58,
616
+ 39: 24,
617
+ 40: l,
618
+ 41: 27,
619
+ 42: u,
620
+ 43: d,
621
+ 44: f,
622
+ 45: m,
623
+ 46: h,
624
+ 47: g,
625
+ 48: _,
626
+ 49: v,
627
+ 50: y,
628
+ 51: b
616
629
  },
617
630
  e(T, [2, 11]),
618
- e(T, [2, 30], {
619
- 33: 60,
620
- 27: C
631
+ e(T, [2, 32], {
632
+ 35: 60,
633
+ 29: C
621
634
  }),
622
- e(T, [2, 32]),
623
- { 31: [1, 61] },
635
+ e(T, [2, 34]),
636
+ { 33: [1, 61] },
624
637
  e(T, [2, 12]),
625
638
  {
626
639
  17: 62,
@@ -628,97 +641,101 @@ var C = (function() {
628
641
  },
629
642
  {
630
643
  25: 63,
631
- 27: O
644
+ 27: 64,
645
+ 29: O
632
646
  },
633
647
  e(T, [2, 14]),
634
648
  {
635
- 17: 65,
649
+ 17: 66,
636
650
  24: w
637
651
  },
638
652
  e(T, [2, 16]),
639
653
  e(T, [2, 17]),
640
- e(D, [2, 41]),
641
- e(T, [2, 23]),
642
- { 27: [1, 66] },
643
- { 26: [1, 67] },
654
+ e(D, [2, 43]),
655
+ e(T, [2, 25]),
656
+ { 29: [1, 67] },
657
+ { 26: [1, 68] },
644
658
  {
645
- 26: [2, 29],
646
- 28: [1, 68]
659
+ 26: [2, 31],
660
+ 28: [1, 69]
647
661
  },
648
- e(T, [2, 31]),
649
- { 27: [1, 69] },
662
+ e(T, [2, 33]),
663
+ { 29: [1, 70] },
650
664
  e(T, [2, 13]),
651
- { 26: [1, 70] },
665
+ { 26: [1, 71] },
652
666
  {
653
667
  26: [2, 21],
654
- 28: [1, 71]
668
+ 28: [1, 72]
655
669
  },
670
+ e(k, [2, 23], { 30: [1, 73] }),
656
671
  e(T, [2, 15]),
657
- e(T, [2, 26]),
658
- e(T, [2, 27]),
672
+ e(T, [2, 28]),
673
+ e(T, [2, 29]),
659
674
  {
660
675
  11: 59,
661
- 32: 72,
662
- 37: 24,
663
- 38: l,
664
- 39: u,
665
- 40: 27,
666
- 41: d,
667
- 42: f,
668
- 43: p,
669
- 44: m,
670
- 45: h,
671
- 46: g,
672
- 47: _,
673
- 48: v,
674
- 49: y,
675
- 50: b
676
+ 30: c,
677
+ 34: 74,
678
+ 39: 24,
679
+ 40: l,
680
+ 41: 27,
681
+ 42: u,
682
+ 43: d,
683
+ 44: f,
684
+ 45: m,
685
+ 46: h,
686
+ 47: g,
687
+ 48: _,
688
+ 49: v,
689
+ 50: y,
690
+ 51: b
676
691
  },
677
- e(T, [2, 33]),
692
+ e(T, [2, 35]),
678
693
  e(T, [2, 19]),
679
694
  {
680
- 25: 73,
681
- 27: O
695
+ 25: 75,
696
+ 27: 64,
697
+ 29: O
682
698
  },
683
- { 26: [2, 28] },
699
+ e(k, [2, 22]),
700
+ { 26: [2, 30] },
684
701
  { 26: [2, 20] }
685
702
  ],
686
703
  defaultActions: {
687
704
  8: [2, 1],
688
705
  10: [2, 3],
689
706
  21: [2, 2],
690
- 72: [2, 28],
691
- 73: [2, 20]
707
+ 74: [2, 30],
708
+ 75: [2, 20]
692
709
  },
693
- parseError: /* @__PURE__ */ t(function(e, t) {
710
+ parseError: /* @__PURE__ */ p(function(e, t) {
694
711
  if (t.recoverable) this.trace(e);
695
712
  else {
696
713
  var n = Error(e);
697
714
  throw n.hash = t, n;
698
715
  }
699
716
  }, "parseError"),
700
- parse: /* @__PURE__ */ t(function(e) {
701
- var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
717
+ parse: /* @__PURE__ */ p(function(e) {
718
+ var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, f = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
702
719
  for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
703
720
  h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
704
721
  var v = h.yylloc;
705
- o.push(v);
722
+ a.push(v);
706
723
  var y = h.options && h.options.ranges;
707
724
  typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
708
725
  function b(e) {
709
- r.length -= 2 * e, a.length -= e, o.length -= e;
726
+ n.length -= 2 * e, i.length -= e, a.length -= e;
710
727
  }
711
- t(b, "popStack");
728
+ p(b, "popStack");
712
729
  function x() {
713
- var e = i.pop() || h.lex() || p;
714
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
730
+ var e = r.pop() || h.lex() || f;
731
+ return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
715
732
  }
716
- t(x, "lex");
733
+ p(x, "lex");
717
734
  for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
718
- if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
735
+ if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = o[w] && o[w][S]), T === void 0 || !T.length || !T[0]) {
719
736
  var M = "";
720
- for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
721
- M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
737
+ for (O in j = [], o[w]) this.terminals_[O] && O > d && j.push("'" + this.terminals_[O] + "'");
738
+ M = h.showPosition ? "Parse error on line " + (c + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == f ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
722
739
  text: h.match,
723
740
  token: this.terminals_[S] || S,
724
741
  line: h.yylineno,
@@ -729,24 +746,24 @@ var C = (function() {
729
746
  if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
730
747
  switch (T[0]) {
731
748
  case 1:
732
- r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
749
+ n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (l = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, u > 0 && u--);
733
750
  break;
734
751
  case 2:
735
- if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
736
- first_line: o[o.length - (k || 1)].first_line,
737
- last_line: o[o.length - 1].last_line,
738
- first_column: o[o.length - (k || 1)].first_column,
739
- last_column: o[o.length - 1].last_column
740
- }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
741
- c,
742
- u,
752
+ if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
753
+ first_line: a[a.length - (k || 1)].first_line,
754
+ last_line: a[a.length - 1].last_line,
755
+ first_column: a[a.length - (k || 1)].first_column,
756
+ last_column: a[a.length - 1].last_column
757
+ }, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
758
+ s,
743
759
  l,
760
+ c,
744
761
  g.yy,
745
762
  T[1],
746
- a,
747
- o
763
+ i,
764
+ a
748
765
  ].concat(m)), E !== void 0) return E;
749
- k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
766
+ k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), a = a.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), a.push(D._$), A = o[n[n.length - 2]][n[n.length - 1]], n.push(A);
750
767
  break;
751
768
  case 3: return !0;
752
769
  }
@@ -754,14 +771,14 @@ var C = (function() {
754
771
  return !0;
755
772
  }, "parse")
756
773
  };
757
- k.lexer = /* @__PURE__ */ (function() {
774
+ A.lexer = /* @__PURE__ */ (function() {
758
775
  return {
759
776
  EOF: 1,
760
- parseError: /* @__PURE__ */ t(function(e, t) {
777
+ parseError: /* @__PURE__ */ p(function(e, t) {
761
778
  if (this.yy.parser) this.yy.parser.parseError(e, t);
762
779
  else throw Error(e);
763
780
  }, "parseError"),
764
- setInput: /* @__PURE__ */ t(function(e, t) {
781
+ setInput: /* @__PURE__ */ p(function(e, t) {
765
782
  return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
766
783
  first_line: 1,
767
784
  first_column: 0,
@@ -769,11 +786,11 @@ var C = (function() {
769
786
  last_column: 0
770
787
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
771
788
  }, "setInput"),
772
- input: /* @__PURE__ */ t(function() {
789
+ input: /* @__PURE__ */ p(function() {
773
790
  var e = this._input[0];
774
791
  return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
775
792
  }, "input"),
776
- unput: /* @__PURE__ */ t(function(e) {
793
+ unput: /* @__PURE__ */ p(function(e) {
777
794
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
778
795
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
779
796
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -786,10 +803,10 @@ var C = (function() {
786
803
  last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
787
804
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
788
805
  }, "unput"),
789
- more: /* @__PURE__ */ t(function() {
806
+ more: /* @__PURE__ */ p(function() {
790
807
  return this._more = !0, this;
791
808
  }, "more"),
792
- reject: /* @__PURE__ */ t(function() {
809
+ reject: /* @__PURE__ */ p(function() {
793
810
  if (this.options.backtrack_lexer) this._backtrack = !0;
794
811
  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).\n" + this.showPosition(), {
795
812
  text: "",
@@ -798,22 +815,22 @@ var C = (function() {
798
815
  });
799
816
  return this;
800
817
  }, "reject"),
801
- less: /* @__PURE__ */ t(function(e) {
818
+ less: /* @__PURE__ */ p(function(e) {
802
819
  this.unput(this.match.slice(e));
803
820
  }, "less"),
804
- pastInput: /* @__PURE__ */ t(function() {
821
+ pastInput: /* @__PURE__ */ p(function() {
805
822
  var e = this.matched.substr(0, this.matched.length - this.match.length);
806
823
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
807
824
  }, "pastInput"),
808
- upcomingInput: /* @__PURE__ */ t(function() {
825
+ upcomingInput: /* @__PURE__ */ p(function() {
809
826
  var e = this.match;
810
827
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
811
828
  }, "upcomingInput"),
812
- showPosition: /* @__PURE__ */ t(function() {
829
+ showPosition: /* @__PURE__ */ p(function() {
813
830
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
814
831
  return e + this.upcomingInput() + "\n" + t + "^";
815
832
  }, "showPosition"),
816
- test_match: /* @__PURE__ */ t(function(e, t) {
833
+ test_match: /* @__PURE__ */ p(function(e, t) {
817
834
  var n, r, i;
818
835
  if (this.options.backtrack_lexer && (i = {
819
836
  yylineno: this.yylineno,
@@ -846,7 +863,7 @@ var C = (function() {
846
863
  }
847
864
  return !1;
848
865
  }, "test_match"),
849
- next: /* @__PURE__ */ t(function() {
866
+ next: /* @__PURE__ */ p(function() {
850
867
  if (this.done) return this.EOF;
851
868
  this._input || (this.done = !0);
852
869
  var e, t, n, r;
@@ -866,35 +883,35 @@ var C = (function() {
866
883
  line: this.yylineno
867
884
  });
868
885
  }, "next"),
869
- lex: /* @__PURE__ */ t(function() {
886
+ lex: /* @__PURE__ */ p(function() {
870
887
  return this.next() || this.lex();
871
888
  }, "lex"),
872
- begin: /* @__PURE__ */ t(function(e) {
889
+ begin: /* @__PURE__ */ p(function(e) {
873
890
  this.conditionStack.push(e);
874
891
  }, "begin"),
875
- popState: /* @__PURE__ */ t(function() {
892
+ popState: /* @__PURE__ */ p(function() {
876
893
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
877
894
  }, "popState"),
878
- _currentRules: /* @__PURE__ */ t(function() {
895
+ _currentRules: /* @__PURE__ */ p(function() {
879
896
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
880
897
  }, "_currentRules"),
881
- topState: /* @__PURE__ */ t(function(e) {
898
+ topState: /* @__PURE__ */ p(function(e) {
882
899
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
883
900
  }, "topState"),
884
- pushState: /* @__PURE__ */ t(function(e) {
901
+ pushState: /* @__PURE__ */ p(function(e) {
885
902
  this.begin(e);
886
903
  }, "pushState"),
887
- stateStackSize: /* @__PURE__ */ t(function() {
904
+ stateStackSize: /* @__PURE__ */ p(function() {
888
905
  return this.conditionStack.length;
889
906
  }, "stateStackSize"),
890
907
  options: { "case-insensitive": !0 },
891
- performAction: /* @__PURE__ */ t(function(e, t, n, r) {
908
+ performAction: /* @__PURE__ */ p(function(e, t, n, r) {
892
909
  switch (n) {
893
910
  case 0: break;
894
911
  case 1: break;
895
- case 2: return this.popState(), 34;
896
- case 3: return this.popState(), 34;
897
- case 4: return 34;
912
+ case 2: return this.popState(), 36;
913
+ case 3: return this.popState(), 36;
914
+ case 4: return 36;
898
915
  case 5: break;
899
916
  case 6: return 10;
900
917
  case 7: return this.pushState("acc_title"), 19;
@@ -914,11 +931,11 @@ var C = (function() {
914
931
  case 17: return this.pushState("axis_data"), "X_AXIS";
915
932
  case 18: return this.pushState("axis_data"), "Y_AXIS";
916
933
  case 19: return this.pushState("axis_band_data"), 24;
917
- case 20: return 31;
934
+ case 20: return 33;
918
935
  case 21: return this.pushState("data"), 16;
919
936
  case 22: return this.pushState("data"), 18;
920
937
  case 23: return this.pushState("data_inner"), 24;
921
- case 24: return 27;
938
+ case 24: return 29;
922
939
  case 25: return this.popState(), 26;
923
940
  case 26:
924
941
  this.popState();
@@ -932,21 +949,21 @@ var C = (function() {
932
949
  case 29: return "STR";
933
950
  case 30: return 24;
934
951
  case 31: return 26;
935
- case 32: return 43;
952
+ case 32: return 44;
936
953
  case 33: return "COLON";
937
- case 34: return 44;
954
+ case 34: return 45;
938
955
  case 35: return 28;
939
- case 36: return 45;
940
- case 37: return 46;
941
- case 38: return 48;
942
- case 39: return 50;
943
- case 40: return 47;
944
- case 41: return 41;
945
- case 42: return 49;
946
- case 43: return 42;
956
+ case 36: return 46;
957
+ case 37: return 47;
958
+ case 38: return 49;
959
+ case 39: return 51;
960
+ case 40: return 48;
961
+ case 41: return 42;
962
+ case 42: return 50;
963
+ case 43: return 43;
947
964
  case 44: break;
948
- case 45: return 35;
949
- case 46: return 36;
965
+ case 45: return 37;
966
+ case 46: return 38;
950
967
  }
951
968
  }, "anonymous"),
952
969
  rules: [
@@ -1230,31 +1247,31 @@ var C = (function() {
1230
1247
  }
1231
1248
  };
1232
1249
  })();
1233
- function A() {
1250
+ function j() {
1234
1251
  this.yy = {};
1235
1252
  }
1236
- return t(A, "Parser"), A.prototype = k, k.Parser = A, new A();
1253
+ return p(j, "Parser"), j.prototype = A, A.Parser = j, new j();
1237
1254
  })();
1238
1255
  C.parser = C;
1239
1256
  var w = C;
1240
1257
  function T(e) {
1241
1258
  return e.type === "bar";
1242
1259
  }
1243
- t(T, "isBarPlot");
1260
+ p(T, "isBarPlot");
1244
1261
  function E(e) {
1245
1262
  return e.type === "band";
1246
1263
  }
1247
- t(E, "isBandAxisData");
1264
+ p(E, "isBandAxisData");
1248
1265
  function D(e) {
1249
1266
  return e.type === "linear";
1250
1267
  }
1251
- t(D, "isLinearAxisData");
1268
+ p(D, "isLinearAxisData");
1252
1269
  var O = class {
1253
1270
  constructor(e) {
1254
1271
  this.parentGroup = e;
1255
1272
  }
1256
1273
  static {
1257
- t(this, "TextDimensionCalculatorWithFont");
1274
+ p(this, "TextDimensionCalculatorWithFont");
1258
1275
  }
1259
1276
  getMaxDimension(e, t) {
1260
1277
  if (!this.parentGroup) return {
@@ -1278,15 +1295,15 @@ var O = class {
1278
1295
  y: 0,
1279
1296
  width: 0,
1280
1297
  height: 0
1281
- }, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.range = [0, 10], this.boundingRect = {
1298
+ }, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.normalizedLabelRotationInRad = 0, this.range = [0, 10], this.boundingRect = {
1282
1299
  x: 0,
1283
1300
  y: 0,
1284
1301
  width: 0,
1285
1302
  height: 0
1286
- }, this.axisPosition = "left";
1303
+ }, this.axisPosition = "left", this.normalizedLabelRotationInRad = this.axisConfig.labelRotation >= -90 && this.axisConfig.labelRotation <= 90 ? this.axisConfig.labelRotation * Math.PI / 180 : 0;
1287
1304
  }
1288
1305
  static {
1289
- t(this, "BaseAxis");
1306
+ p(this, "BaseAxis");
1290
1307
  }
1291
1308
  setRange(e) {
1292
1309
  this.range = e, this.axisPosition === "left" || this.axisPosition === "right" ? this.boundingRect.height = e[1] - e[0] : this.boundingRect.width = e[1] - e[0], this.recalculateScale();
@@ -1315,8 +1332,8 @@ var O = class {
1315
1332
  if (this.axisConfig.showAxisLine && t > this.axisConfig.axisLineWidth && (t -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
1316
1333
  let n = this.getLabelDimension(), r = A * e.width;
1317
1334
  this.outerPadding = Math.min(n.width / 2, r);
1318
- let i = n.height + this.axisConfig.labelPadding * 2;
1319
- this.labelTextHeight = n.height, i <= t && (t -= i, this.showLabel = !0);
1335
+ let i = n.height;
1336
+ this.axisPosition === "bottom" && this.normalizedLabelRotationInRad !== 0 && (i = Math.max(i, Math.abs(Math.sin(this.normalizedLabelRotationInRad) * n.width) + Math.abs(Math.cos(this.normalizedLabelRotationInRad) * n.height))), i += this.axisConfig.labelPadding * 2, this.labelTextHeight = n.height, i <= t && (t -= i, this.showLabel = !0);
1320
1337
  }
1321
1338
  if (this.axisConfig.showTick && t >= this.axisConfig.tickLength && (this.showTick = !0, t -= this.axisConfig.tickLength), this.axisConfig.showTitle && this.title) {
1322
1339
  let e = this.textDimensionCalculator.getMaxDimension([this.title], this.axisConfig.titleFontSize), n = e.height + this.axisConfig.titlePadding * 2;
@@ -1347,6 +1364,10 @@ var O = class {
1347
1364
  setBoundingBoxXY(e) {
1348
1365
  this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1349
1366
  }
1367
+ calculateOffsetByRotation(e) {
1368
+ let t = this.normalizedLabelRotationInRad;
1369
+ return t === 0 ? 0 : Math.sin(t) * this.getLabelDimension()[e] / 2;
1370
+ }
1350
1371
  getDrawableElementsForLeftAxis() {
1351
1372
  let e = [];
1352
1373
  if (this.showAxisLine) {
@@ -1420,11 +1441,11 @@ var O = class {
1420
1441
  groupTexts: ["bottom-axis", "label"],
1421
1442
  data: this.getTickValues().map((e) => ({
1422
1443
  text: e.toString(),
1423
- x: this.getScaleValue(e),
1424
- y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0),
1444
+ x: this.getScaleValue(e) + this.calculateOffsetByRotation("height"),
1445
+ y: this.boundingRect.y + this.axisConfig.labelPadding + (this.showTick ? this.axisConfig.tickLength : 0) + (this.showAxisLine ? this.axisConfig.axisLineWidth : 0) + Math.abs(this.calculateOffsetByRotation("width")),
1425
1446
  fill: this.axisThemeConfig.labelColor,
1426
1447
  fontSize: this.axisConfig.labelFontSize,
1427
- rotation: 0,
1448
+ rotation: this.normalizedLabelRotationInRad * 180 / Math.PI,
1428
1449
  verticalPos: "top",
1429
1450
  horizontalPos: "center"
1430
1451
  }))
@@ -1516,7 +1537,7 @@ var O = class {
1516
1537
  }
1517
1538
  }, M = class extends j {
1518
1539
  static {
1519
- t(this, "BandAxis");
1540
+ p(this, "BandAxis");
1520
1541
  }
1521
1542
  constructor(e, t, n, r, i) {
1522
1543
  super(e, r, i, t), this.categories = n, this.scale = S().domain(this.categories).range(this.getRange());
@@ -1535,7 +1556,7 @@ var O = class {
1535
1556
  }
1536
1557
  }, ee = class extends j {
1537
1558
  static {
1538
- t(this, "LinearAxis");
1559
+ p(this, "LinearAxis");
1539
1560
  }
1540
1561
  constructor(e, t, n, r, i) {
1541
1562
  super(e, r, i, t), this.domain = n, this.scale = m().domain(this.domain).range(this.getRange());
@@ -1555,7 +1576,7 @@ function N(e, t, n, r) {
1555
1576
  let i = new O(r);
1556
1577
  return E(e) ? new M(t, n, e.categories, e.title, i) : new ee(t, n, [e.min, e.max], e.title, i);
1557
1578
  }
1558
- t(N, "getAxis");
1579
+ p(N, "getAxis");
1559
1580
  var te = class {
1560
1581
  constructor(e, t, n, r) {
1561
1582
  this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.boundingRect = {
@@ -1566,7 +1587,7 @@ var te = class {
1566
1587
  }, this.showChartTitle = !1;
1567
1588
  }
1568
1589
  static {
1569
- t(this, "ChartTitle");
1590
+ p(this, "ChartTitle");
1570
1591
  }
1571
1592
  setBoundingBoxXY(e) {
1572
1593
  this.boundingRect.x = e.x, this.boundingRect.y = e.y;
@@ -1596,20 +1617,109 @@ var te = class {
1596
1617
  }), e;
1597
1618
  }
1598
1619
  };
1599
- function ne(e, t, n, r) {
1620
+ function P(e, t, n, r) {
1600
1621
  return new te(new O(r), e, t, n);
1601
1622
  }
1602
- t(ne, "getChartTitleComponent");
1603
- var re = class {
1623
+ p(P, "getChartTitleComponent");
1624
+ var ne = .75, re = .5, ie = .35;
1625
+ function F(e) {
1626
+ return {
1627
+ fontSize: e,
1628
+ markerSize: e * ne,
1629
+ markerSpacing: e * ie,
1630
+ itemSpacing: e * re
1631
+ };
1632
+ }
1633
+ p(F, "getLegendLayout");
1634
+ var ae = class {
1635
+ constructor(e, t, n, r) {
1636
+ this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.boundingRect = {
1637
+ x: 0,
1638
+ y: 0,
1639
+ width: 0,
1640
+ height: 0
1641
+ }, this.visiblePlots = [];
1642
+ }
1643
+ static {
1644
+ p(this, "ChartLegend");
1645
+ }
1646
+ setBoundingBoxXY(e) {
1647
+ this.boundingRect.x = e.x, this.boundingRect.y = e.y;
1648
+ }
1649
+ calculateSpace(e) {
1650
+ if (this.visiblePlots = this.chartConfig.showLegend ? this.chartData.plots.filter((e) => e.title) : [], this.visiblePlots.length === 0) return this.boundingRect.width = 0, this.boundingRect.height = 0, {
1651
+ width: 0,
1652
+ height: 0
1653
+ };
1654
+ let { fontSize: t, markerSize: n, markerSpacing: r, itemSpacing: i } = F(this.chartConfig.legendFontSize), a = this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map((e) => e.title), t), o = this.chartConfig.legendPadding * 2 + n + r + a.width, s = this.chartConfig.legendPadding * 2 + this.visiblePlots.length * t + (this.visiblePlots.length - 1) * i;
1655
+ return o <= e.width && s <= e.height ? (this.boundingRect.width = o, this.boundingRect.height = s) : (this.visiblePlots = [], this.boundingRect.width = 0, this.boundingRect.height = 0), {
1656
+ width: this.boundingRect.width,
1657
+ height: this.boundingRect.height
1658
+ };
1659
+ }
1660
+ getDrawableElements() {
1661
+ if (this.visiblePlots.length === 0) return [];
1662
+ let { fontSize: e, markerSize: t, markerSpacing: n, itemSpacing: r } = F(this.chartConfig.legendFontSize), i = e + r, a = this.boundingRect.x + this.chartConfig.legendPadding, o = this.boundingRect.y + this.chartConfig.legendPadding, s = [], c = [];
1663
+ for (let [e, n] of this.visiblePlots.entries()) if (T(n)) s.push({
1664
+ x: a,
1665
+ y: o + e * i,
1666
+ width: t,
1667
+ height: t,
1668
+ fill: n.fill,
1669
+ strokeFill: n.fill,
1670
+ strokeWidth: 0
1671
+ });
1672
+ else {
1673
+ let r = o + e * i + t / 2;
1674
+ c.push({
1675
+ path: `M ${a},${r} L ${a + t},${r}`,
1676
+ strokeFill: n.strokeFill,
1677
+ strokeWidth: n.strokeWidth
1678
+ });
1679
+ }
1680
+ return [
1681
+ {
1682
+ groupTexts: ["legend", "markers"],
1683
+ type: "rect",
1684
+ data: s
1685
+ },
1686
+ {
1687
+ groupTexts: ["legend", "markers"],
1688
+ type: "path",
1689
+ data: c
1690
+ },
1691
+ {
1692
+ groupTexts: ["legend", "label"],
1693
+ type: "text",
1694
+ data: this.visiblePlots.map((r, s) => ({
1695
+ text: r.title,
1696
+ x: a + t + n,
1697
+ y: o + s * i + t / 2,
1698
+ fill: this.chartThemeConfig.legendTextColor,
1699
+ fontSize: e,
1700
+ rotation: 0,
1701
+ verticalPos: "middle",
1702
+ horizontalPos: "left"
1703
+ }))
1704
+ }
1705
+ ];
1706
+ }
1707
+ };
1708
+ function I(e, t, n, r) {
1709
+ return new ae(new O(r), e, t, n);
1710
+ }
1711
+ p(I, "getChartLegendComponent");
1712
+ var oe = class {
1604
1713
  constructor(e, t, n, r, i) {
1605
1714
  this.plotData = e, this.xAxis = t, this.yAxis = n, this.orientation = r, this.plotIndex = i;
1606
1715
  }
1607
1716
  static {
1608
- t(this, "LinePlot");
1717
+ p(this, "LinePlot");
1609
1718
  }
1610
1719
  getDrawableElement() {
1611
1720
  let e = this.plotData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t;
1612
- return t = this.orientation === "horizontal" ? v().y((e) => e[0]).x((e) => e[1])(e) : v().x((e) => e[0]).y((e) => e[1])(e), t ? [{
1721
+ if (t = this.orientation === "horizontal" ? v().y((e) => e[0]).x((e) => e[1])(e) : v().x((e) => e[0]).y((e) => e[1])(e), !t) return [];
1722
+ let n = [{
1613
1723
  groupTexts: ["plot", `line-plot-${this.plotIndex}`],
1614
1724
  type: "path",
1615
1725
  data: [{
@@ -1617,14 +1727,49 @@ var re = class {
1617
1727
  strokeFill: this.plotData.strokeFill,
1618
1728
  strokeWidth: this.plotData.strokeWidth
1619
1729
  }]
1620
- }] : [];
1730
+ }];
1731
+ if (this.plotData.pointLabels && this.plotData.pointLabels.length > 0) {
1732
+ let t = [];
1733
+ for (let [n, [r, i]] of e.entries()) {
1734
+ let e = this.plotData.pointLabels[n];
1735
+ e && (this.orientation === "horizontal" ? t.push({
1736
+ x: i + 10,
1737
+ y: r,
1738
+ text: e,
1739
+ fill: this.plotData.strokeFill,
1740
+ verticalPos: "middle",
1741
+ horizontalPos: "left",
1742
+ fontSize: 12,
1743
+ rotation: 0
1744
+ }) : t.push({
1745
+ x: r,
1746
+ y: i - 10,
1747
+ text: e,
1748
+ fill: this.plotData.strokeFill,
1749
+ verticalPos: "middle",
1750
+ horizontalPos: "center",
1751
+ fontSize: 12,
1752
+ rotation: 0
1753
+ }));
1754
+ }
1755
+ t.length > 0 && n.push({
1756
+ groupTexts: [
1757
+ "plot",
1758
+ `line-plot-${this.plotIndex}`,
1759
+ "labels"
1760
+ ],
1761
+ type: "text",
1762
+ data: t
1763
+ });
1764
+ }
1765
+ return n;
1621
1766
  }
1622
- }, ie = class {
1767
+ }, se = class {
1623
1768
  constructor(e, t, n, r, i, a) {
1624
1769
  this.barData = e, this.boundingRect = t, this.xAxis = n, this.yAxis = r, this.orientation = i, this.plotIndex = a;
1625
1770
  }
1626
1771
  static {
1627
- t(this, "BarPlot");
1772
+ p(this, "BarPlot");
1628
1773
  }
1629
1774
  getDrawableElement() {
1630
1775
  let e = this.barData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * .95, n = t / 2;
@@ -1654,7 +1799,7 @@ var re = class {
1654
1799
  }))
1655
1800
  }];
1656
1801
  }
1657
- }, ae = class {
1802
+ }, ce = class {
1658
1803
  constructor(e, t, n) {
1659
1804
  this.chartConfig = e, this.chartData = t, this.chartThemeConfig = n, this.boundingRect = {
1660
1805
  x: 0,
@@ -1664,7 +1809,7 @@ var re = class {
1664
1809
  };
1665
1810
  }
1666
1811
  static {
1667
- t(this, "BasePlot");
1812
+ p(this, "BasePlot");
1668
1813
  }
1669
1814
  setAxes(e, t) {
1670
1815
  this.xAxis = e, this.yAxis = t;
@@ -1684,13 +1829,13 @@ var re = class {
1684
1829
  for (let [t, n] of this.chartData.plots.entries()) switch (n.type) {
1685
1830
  case "line":
1686
1831
  {
1687
- let r = new re(n, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1832
+ let r = new oe(n, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1688
1833
  e.push(...r.getDrawableElement());
1689
1834
  }
1690
1835
  break;
1691
1836
  case "bar":
1692
1837
  {
1693
- let r = new ie(n, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1838
+ let r = new se(n, this.boundingRect, this.xAxis, this.yAxis, this.chartConfig.chartOrientation, t);
1694
1839
  e.push(...r.getDrawableElement());
1695
1840
  }
1696
1841
  break;
@@ -1698,15 +1843,16 @@ var re = class {
1698
1843
  return e;
1699
1844
  }
1700
1845
  };
1701
- function P(e, t, n) {
1702
- return new ae(e, t, n);
1846
+ function le(e, t, n) {
1847
+ return new ce(e, t, n);
1703
1848
  }
1704
- t(P, "getPlotComponent");
1705
- var oe = class {
1849
+ p(le, "getPlotComponent");
1850
+ var ue = class {
1706
1851
  constructor(e, t, n, r) {
1707
1852
  this.chartConfig = e, this.chartData = t, this.componentStore = {
1708
- title: ne(e, t, n, r),
1709
- plot: P(e, t, n),
1853
+ title: P(e, t, n, r),
1854
+ plot: le(e, t, n),
1855
+ legend: I(e, t, n, r),
1710
1856
  xAxis: N(t.xAxis, e.xAxis, {
1711
1857
  titleColor: n.xAxisTitleColor,
1712
1858
  labelColor: n.xAxisLabelColor,
@@ -1722,60 +1868,78 @@ var oe = class {
1722
1868
  };
1723
1869
  }
1724
1870
  static {
1725
- t(this, "Orchestrator");
1871
+ p(this, "Orchestrator");
1726
1872
  }
1727
1873
  calculateVerticalSpace() {
1728
- let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), a = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), o = this.componentStore.plot.calculateSpace({
1729
- width: i,
1730
- height: a
1874
+ let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = {
1875
+ width: 0,
1876
+ height: 0
1877
+ }, a = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), o = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), s = this.componentStore.plot.calculateSpace({
1878
+ width: a,
1879
+ height: o
1731
1880
  });
1732
- e -= o.width, t -= o.height, o = this.componentStore.title.calculateSpace({
1881
+ e -= s.width, t -= s.height, s = this.componentStore.title.calculateSpace({
1733
1882
  width: this.chartConfig.width,
1734
1883
  height: t
1735
- }), r = o.height, t -= o.height, this.componentStore.xAxis.setAxisPosition("bottom"), o = this.componentStore.xAxis.calculateSpace({
1884
+ }), r = s.height, t -= s.height, this.componentStore.xAxis.setAxisPosition("bottom"), s = this.componentStore.xAxis.calculateSpace({
1736
1885
  width: e,
1737
1886
  height: t
1738
- }), t -= o.height, this.componentStore.yAxis.setAxisPosition("left"), o = this.componentStore.yAxis.calculateSpace({
1887
+ }), t -= s.height, this.componentStore.yAxis.setAxisPosition("left"), s = this.componentStore.yAxis.calculateSpace({
1739
1888
  width: e,
1740
1889
  height: t
1741
- }), n = o.width, e -= o.width, e > 0 && (i += e, e = 0), t > 0 && (a += t, t = 0), this.componentStore.plot.calculateSpace({
1742
- width: i,
1743
- height: a
1890
+ }), n = s.width, e -= s.width, i = this.componentStore.legend.calculateSpace({
1891
+ width: e,
1892
+ height: o
1893
+ }), e -= i.width, e > 0 && (a += e, e = 0), t > 0 && (o += t, t = 0), this.componentStore.plot.calculateSpace({
1894
+ width: a,
1895
+ height: o
1744
1896
  }), this.componentStore.plot.setBoundingBoxXY({
1745
1897
  x: n,
1746
1898
  y: r
1747
- }), this.componentStore.xAxis.setRange([n, n + i]), this.componentStore.xAxis.setBoundingBoxXY({
1899
+ }), this.componentStore.legend.setBoundingBoxXY({
1900
+ x: n + a,
1901
+ y: r + Math.max((o - i.height) / 2, 0)
1902
+ }), this.componentStore.xAxis.setRange([n, n + a]), this.componentStore.xAxis.setBoundingBoxXY({
1748
1903
  x: n,
1749
- y: r + a
1750
- }), this.componentStore.yAxis.setRange([r, r + a]), this.componentStore.yAxis.setBoundingBoxXY({
1904
+ y: r + o
1905
+ }), this.componentStore.yAxis.setRange([r, r + o]), this.componentStore.yAxis.setBoundingBoxXY({
1751
1906
  x: 0,
1752
1907
  y: r
1753
1908
  }), this.chartData.plots.some((e) => T(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1754
1909
  }
1755
1910
  calculateHorizontalSpace() {
1756
- let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = 0, a = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), o = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), s = this.componentStore.plot.calculateSpace({
1757
- width: a,
1758
- height: o
1911
+ let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = 0, a = {
1912
+ width: 0,
1913
+ height: 0
1914
+ }, o = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), s = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), c = this.componentStore.plot.calculateSpace({
1915
+ width: o,
1916
+ height: s
1759
1917
  });
1760
- e -= s.width, t -= s.height, s = this.componentStore.title.calculateSpace({
1918
+ e -= c.width, t -= c.height, c = this.componentStore.title.calculateSpace({
1761
1919
  width: this.chartConfig.width,
1762
1920
  height: t
1763
- }), n = s.height, t -= s.height, this.componentStore.xAxis.setAxisPosition("left"), s = this.componentStore.xAxis.calculateSpace({
1921
+ }), n = c.height, t -= c.height, this.componentStore.xAxis.setAxisPosition("left"), c = this.componentStore.xAxis.calculateSpace({
1764
1922
  width: e,
1765
1923
  height: t
1766
- }), e -= s.width, r = s.width, this.componentStore.yAxis.setAxisPosition("top"), s = this.componentStore.yAxis.calculateSpace({
1924
+ }), e -= c.width, r = c.width, this.componentStore.yAxis.setAxisPosition("top"), c = this.componentStore.yAxis.calculateSpace({
1767
1925
  width: e,
1768
1926
  height: t
1769
- }), t -= s.height, i = n + s.height, e > 0 && (a += e, e = 0), t > 0 && (o += t, t = 0), this.componentStore.plot.calculateSpace({
1770
- width: a,
1771
- height: o
1927
+ }), t -= c.height, i = n + c.height, a = this.componentStore.legend.calculateSpace({
1928
+ width: e,
1929
+ height: s
1930
+ }), e -= a.width, e > 0 && (o += e, e = 0), t > 0 && (s += t, t = 0), this.componentStore.plot.calculateSpace({
1931
+ width: o,
1932
+ height: s
1772
1933
  }), this.componentStore.plot.setBoundingBoxXY({
1773
1934
  x: r,
1774
1935
  y: i
1775
- }), this.componentStore.yAxis.setRange([r, r + a]), this.componentStore.yAxis.setBoundingBoxXY({
1936
+ }), this.componentStore.legend.setBoundingBoxXY({
1937
+ x: r + o,
1938
+ y: i + Math.max((s - a.height) / 2, 0)
1939
+ }), this.componentStore.yAxis.setRange([r, r + o]), this.componentStore.yAxis.setBoundingBoxXY({
1776
1940
  x: r,
1777
1941
  y: n
1778
- }), this.componentStore.xAxis.setRange([i, i + o]), this.componentStore.xAxis.setBoundingBoxXY({
1942
+ }), this.componentStore.xAxis.setRange([i, i + s]), this.componentStore.xAxis.setBoundingBoxXY({
1779
1943
  x: 0,
1780
1944
  y: i
1781
1945
  }), this.chartData.plots.some((e) => T(e)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
@@ -1790,25 +1954,25 @@ var oe = class {
1790
1954
  for (let t of Object.values(this.componentStore)) e.push(...t.getDrawableElements());
1791
1955
  return e;
1792
1956
  }
1793
- }, se = class {
1957
+ }, de = class {
1794
1958
  static {
1795
- t(this, "XYChartBuilder");
1959
+ p(this, "XYChartBuilder");
1796
1960
  }
1797
1961
  static build(e, t, n, r) {
1798
- return new oe(e, t, n, r).getDrawableElement();
1962
+ return new ue(e, t, n, r).getDrawableElement();
1799
1963
  }
1800
- }, F = 0, I, L = W(), R = U(), z = G(), B = R.plotColorPalette.split(",").map((e) => e.trim()), V = !1, H = !1;
1801
- function U() {
1802
- let e = n(), t = s();
1803
- return _(e.xyChart, t.themeVariables.xyChart);
1964
+ }, L = 0, R, z = K(), B = G(), V = q(), H = B.plotColorPalette.split(",").map((e) => e.trim()), U = !1, W = !1;
1965
+ function G() {
1966
+ let e = t(), n = o();
1967
+ return _(e.xyChart, n.themeVariables.xyChart);
1804
1968
  }
1805
- t(U, "getChartDefaultThemeConfig");
1806
- function W() {
1807
- let e = s();
1808
- return _(l.xyChart, e.xyChart);
1969
+ p(G, "getChartDefaultThemeConfig");
1970
+ function K() {
1971
+ let e = o();
1972
+ return _(c.xyChart, e.xyChart);
1809
1973
  }
1810
- t(W, "getChartDefaultConfig");
1811
- function G() {
1974
+ p(K, "getChartDefaultConfig");
1975
+ function q() {
1812
1976
  return {
1813
1977
  yAxis: {
1814
1978
  type: "linear",
@@ -1825,162 +1989,168 @@ function G() {
1825
1989
  plots: []
1826
1990
  };
1827
1991
  }
1828
- t(G, "getChartDefaultData");
1829
- function K(e) {
1830
- let t = s();
1831
- return p(e.trim(), t);
1832
- }
1833
- t(K, "textSanitizer");
1834
- function q(e) {
1835
- I = e;
1836
- }
1837
- t(q, "setTmpSVGG");
1992
+ p(q, "getChartDefaultData");
1838
1993
  function J(e) {
1839
- e === "horizontal" ? L.chartOrientation = "horizontal" : L.chartOrientation = "vertical";
1994
+ let t = o();
1995
+ return f(e.trim(), t);
1840
1996
  }
1841
- t(J, "setOrientation");
1997
+ p(J, "textSanitizer");
1842
1998
  function Y(e) {
1843
- z.xAxis.title = K(e.text);
1999
+ R = e;
1844
2000
  }
1845
- t(Y, "setXAxisTitle");
2001
+ p(Y, "setTmpSVGG");
2002
+ function fe(e) {
2003
+ e === "horizontal" ? z.chartOrientation = "horizontal" : z.chartOrientation = "vertical";
2004
+ }
2005
+ p(fe, "setOrientation");
2006
+ function pe(e) {
2007
+ V.xAxis.title = J(e.text);
2008
+ }
2009
+ p(pe, "setXAxisTitle");
1846
2010
  function X(e, t) {
1847
- z.xAxis = {
2011
+ V.xAxis = {
1848
2012
  type: "linear",
1849
- title: z.xAxis.title,
2013
+ title: V.xAxis.title,
1850
2014
  min: e,
1851
2015
  max: t
1852
- }, V = !0;
2016
+ }, U = !0;
1853
2017
  }
1854
- t(X, "setXAxisRangeData");
1855
- function ce(e) {
1856
- z.xAxis = {
2018
+ p(X, "setXAxisRangeData");
2019
+ function me(e) {
2020
+ V.xAxis = {
1857
2021
  type: "band",
1858
- title: z.xAxis.title,
1859
- categories: e.map((e) => K(e.text))
1860
- }, V = !0;
2022
+ title: V.xAxis.title,
2023
+ categories: e.map((e) => J(e.text))
2024
+ }, U = !0;
1861
2025
  }
1862
- t(ce, "setXAxisBand");
1863
- function le(e) {
1864
- z.yAxis.title = K(e.text);
2026
+ p(me, "setXAxisBand");
2027
+ function he(e) {
2028
+ V.yAxis.title = J(e.text);
1865
2029
  }
1866
- t(le, "setYAxisTitle");
1867
- function ue(e, t) {
1868
- z.yAxis = {
2030
+ p(he, "setYAxisTitle");
2031
+ function Z(e, t) {
2032
+ V.yAxis = {
1869
2033
  type: "linear",
1870
- title: z.yAxis.title,
2034
+ title: V.yAxis.title,
1871
2035
  min: e,
1872
2036
  max: t
1873
- }, H = !0;
2037
+ }, W = !0;
1874
2038
  }
1875
- t(ue, "setYAxisRangeData");
1876
- function de(e) {
1877
- let t = Math.min(...e), n = Math.max(...e), r = D(z.yAxis) ? z.yAxis.min : Infinity, i = D(z.yAxis) ? z.yAxis.max : -Infinity;
1878
- z.yAxis = {
2039
+ p(Z, "setYAxisRangeData");
2040
+ function ge(e) {
2041
+ let t = Math.min(...e), n = Math.max(...e), r = D(V.yAxis) ? V.yAxis.min : Infinity, i = D(V.yAxis) ? V.yAxis.max : -Infinity;
2042
+ V.yAxis = {
1879
2043
  type: "linear",
1880
- title: z.yAxis.title,
2044
+ title: V.yAxis.title,
1881
2045
  min: Math.min(r, t),
1882
2046
  max: Math.max(i, n)
1883
2047
  };
1884
2048
  }
1885
- t(de, "setYAxisRangeFromPlotData");
1886
- function Z(e) {
2049
+ p(ge, "setYAxisRangeFromPlotData");
2050
+ function Q(e) {
1887
2051
  let t = [];
1888
2052
  if (e.length === 0) return t;
1889
- if (!V) {
1890
- let t = D(z.xAxis) ? z.xAxis.min : Infinity, n = D(z.xAxis) ? z.xAxis.max : -Infinity;
2053
+ if (!U) {
2054
+ let t = D(V.xAxis) ? V.xAxis.min : Infinity, n = D(V.xAxis) ? V.xAxis.max : -Infinity;
1891
2055
  X(Math.min(t, 1), Math.max(n, e.length));
1892
2056
  }
1893
- if (H || de(e), E(z.xAxis) && (t = z.xAxis.categories.map((t, n) => [t, e[n]])), D(z.xAxis)) {
1894
- let n = z.xAxis.min, r = z.xAxis.max, i = (r - n) / (e.length - 1), a = [];
1895
- for (let e = n; e <= r; e += i) a.push(`${e}`);
1896
- t = a.map((t, n) => [t, e[n]]);
2057
+ if (E(V.xAxis) && e.length > V.xAxis.categories.length && (e = e.slice(0, V.xAxis.categories.length)), W || ge(e), E(V.xAxis) && (t = V.xAxis.categories.map((t, n) => [t, e[n]])), D(V.xAxis)) {
2058
+ let n = V.xAxis.min, r = V.xAxis.max;
2059
+ if (e.length === 1) t = [[`${n}`, e[0]]];
2060
+ else {
2061
+ let i = (r - n) / (e.length - 1);
2062
+ t = e.map((e, t) => [`${n + t * i}`, e]);
2063
+ }
1897
2064
  }
1898
2065
  return t;
1899
2066
  }
1900
- t(Z, "transformDataWithoutCategory");
1901
- function Q(e) {
1902
- return B[e === 0 ? 0 : e % B.length];
2067
+ p(Q, "transformDataWithoutCategory");
2068
+ function $(e) {
2069
+ return H[e === 0 ? 0 : e % H.length];
1903
2070
  }
1904
- t(Q, "getPlotColorFromPalette");
1905
- function fe(e, t) {
1906
- let n = Z(t);
1907
- z.plots.push({
2071
+ p($, "getPlotColorFromPalette");
2072
+ function _e(e, t) {
2073
+ let n = t.map((e) => e.value), r = t.map((e) => e.label ? J(e.label) : ""), i = Q(n), a = r.some((e) => e !== "");
2074
+ V.plots.push({
1908
2075
  type: "line",
1909
- strokeFill: Q(F),
2076
+ title: J(e.text),
2077
+ strokeFill: $(L),
1910
2078
  strokeWidth: 2,
1911
- data: n
1912
- }), F++;
2079
+ data: i,
2080
+ ...a ? { pointLabels: r } : {}
2081
+ }), L++;
1913
2082
  }
1914
- t(fe, "setLineData");
1915
- function pe(e, t) {
1916
- let n = Z(t);
1917
- z.plots.push({
2083
+ p(_e, "setLineData");
2084
+ function ve(e, t) {
2085
+ let n = Q(t.map((e) => e.value));
2086
+ V.plots.push({
1918
2087
  type: "bar",
1919
- fill: Q(F),
2088
+ title: J(e.text),
2089
+ fill: $(L),
1920
2090
  data: n
1921
- }), F++;
2091
+ }), L++;
1922
2092
  }
1923
- t(pe, "setBarData");
1924
- function me() {
1925
- if (z.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
1926
- return z.title = d(), se.build(L, z, R, I);
2093
+ p(ve, "setBarData");
2094
+ function ye() {
2095
+ if (V.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
2096
+ return V.title = u(), de.build(z, V, B, R);
1927
2097
  }
1928
- t(me, "getDrawableElem");
1929
- function he() {
1930
- return R;
2098
+ p(ye, "getDrawableElem");
2099
+ function be() {
2100
+ return B;
1931
2101
  }
1932
- t(he, "getChartThemeConfig");
1933
- function ge() {
1934
- return L;
1935
- }
1936
- t(ge, "getChartConfig");
1937
- function $() {
2102
+ p(be, "getChartThemeConfig");
2103
+ function xe() {
1938
2104
  return z;
1939
2105
  }
1940
- t($, "getXYChartData");
1941
- var _e = {
2106
+ p(xe, "getChartConfig");
2107
+ function Se() {
2108
+ return V;
2109
+ }
2110
+ p(Se, "getXYChartData");
2111
+ var Ce = {
1942
2112
  parser: w,
1943
2113
  db: {
1944
- getDrawableElem: me,
1945
- clear: /* @__PURE__ */ t(function() {
1946
- o(), F = 0, L = W(), z = G(), R = U(), B = R.plotColorPalette.split(",").map((e) => e.trim()), V = !1, H = !1;
2114
+ getDrawableElem: ye,
2115
+ clear: /* @__PURE__ */ p(function() {
2116
+ a(), L = 0, z = K(), V = q(), B = G(), H = B.plotColorPalette.split(",").map((e) => e.trim()), U = !1, W = !1;
1947
2117
  }, "clear"),
1948
- setAccTitle: a,
1949
- getAccTitle: f,
1950
- setDiagramTitle: i,
1951
- getDiagramTitle: d,
1952
- getAccDescription: u,
1953
- setAccDescription: r,
1954
- setOrientation: J,
1955
- setXAxisTitle: Y,
2118
+ setAccTitle: i,
2119
+ getAccTitle: d,
2120
+ setDiagramTitle: r,
2121
+ getDiagramTitle: u,
2122
+ getAccDescription: l,
2123
+ setAccDescription: n,
2124
+ setOrientation: fe,
2125
+ setXAxisTitle: pe,
1956
2126
  setXAxisRangeData: X,
1957
- setXAxisBand: ce,
1958
- setYAxisTitle: le,
1959
- setYAxisRangeData: ue,
1960
- setLineData: fe,
1961
- setBarData: pe,
1962
- setTmpSVGG: q,
1963
- getChartThemeConfig: he,
1964
- getChartConfig: ge,
1965
- getXYChartData: $
2127
+ setXAxisBand: me,
2128
+ setYAxisTitle: he,
2129
+ setYAxisRangeData: Z,
2130
+ setLineData: _e,
2131
+ setBarData: ve,
2132
+ setTmpSVGG: Y,
2133
+ getChartThemeConfig: be,
2134
+ getChartConfig: xe,
2135
+ getXYChartData: Se
1966
2136
  },
1967
- renderer: { draw: /* @__PURE__ */ t((n, r, i, a) => {
1968
- let o = a.db, s = o.getChartThemeConfig(), l = o.getChartConfig(), u = o.getXYChartData().plots[0].data.map((e) => e[1]);
1969
- function d(e) {
2137
+ renderer: { draw: /* @__PURE__ */ p((t, n, r, i) => {
2138
+ let a = i.db, o = a.getChartThemeConfig(), c = a.getChartConfig(), l = a.getXYChartData().plots[0].data.map((e) => e[1]);
2139
+ function u(e) {
1970
2140
  return e === "top" ? "text-before-edge" : "middle";
1971
2141
  }
1972
- t(d, "getDominantBaseLine");
1973
- function f(e) {
2142
+ p(u, "getDominantBaseLine");
2143
+ function d(e) {
1974
2144
  return e === "left" ? "start" : e === "right" ? "end" : "middle";
1975
2145
  }
1976
- t(f, "getTextAnchor");
1977
- function p(e) {
2146
+ p(d, "getTextAnchor");
2147
+ function f(e) {
1978
2148
  return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
1979
2149
  }
1980
- t(p, "getTextTransformation"), e.debug("Rendering xychart chart\n" + n);
1981
- let m = y(r), h = m.append("g").attr("class", "main"), g = h.append("rect").attr("width", l.width).attr("height", l.height).attr("class", "background");
1982
- c(m, l.height, l.width, !0), m.attr("viewBox", `0 0 ${l.width} ${l.height}`), g.attr("fill", s.backgroundColor), o.setTmpSVGG(m.append("g").attr("class", "mermaid-tmp-group"));
1983
- let _ = o.getDrawableElem(), v = {};
2150
+ p(f, "getTextTransformation"), e.debug("Rendering xychart chart\n" + t);
2151
+ let m = y(n), h = m.append("g").attr("class", "main"), g = h.append("rect").attr("width", c.width).attr("height", c.height).attr("class", "background");
2152
+ s(m, c.height, c.width, !0), m.attr("viewBox", `0 0 ${c.width} ${c.height}`), g.attr("fill", o.backgroundColor), a.setTmpSVGG(m.append("g").attr("class", "mermaid-tmp-group"));
2153
+ let _ = a.getDrawableElem(), v = {};
1984
2154
  function b(e) {
1985
2155
  let t = h, n = "";
1986
2156
  for (let [r] of e.entries()) {
@@ -1989,56 +2159,56 @@ var _e = {
1989
2159
  }
1990
2160
  return t;
1991
2161
  }
1992
- t(b, "getGroup");
2162
+ p(b, "getGroup");
1993
2163
  for (let e of _) {
1994
2164
  if (e.data.length === 0) continue;
1995
- let n = b(e.groupTexts);
2165
+ let t = b(e.groupTexts);
1996
2166
  switch (e.type) {
1997
2167
  case "rect":
1998
- if (n.selectAll("rect").data(e.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth), l.showDataLabel) {
1999
- let r = l.showDataLabelOutsideBar;
2000
- if (l.chartOrientation === "horizontal") {
2001
- let i = function(e, t) {
2168
+ if (t.selectAll("rect").data(e.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth), c.showDataLabel) {
2169
+ let n = c.showDataLabelOutsideBar;
2170
+ if (c.chartOrientation === "horizontal") {
2171
+ let r = function(e, t) {
2002
2172
  let { data: n, label: r } = e;
2003
- return t * r.length * a <= n.width - o;
2173
+ return t * r.length * i <= n.width - a;
2004
2174
  };
2005
- t(i, "fitsHorizontally");
2006
- let a = .7, o = 10, c = e.data.map((e, t) => ({
2175
+ p(r, "fitsHorizontally");
2176
+ let i = .7, a = 10, s = e.data.map((e, t) => ({
2007
2177
  data: e,
2008
- label: u[t].toString()
2009
- })).filter((e) => e.data.width > 0 && e.data.height > 0), l = c.map((e) => {
2178
+ label: l[t].toString()
2179
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), c = s.map((e) => {
2010
2180
  let { data: t } = e, n = t.height * .7;
2011
- for (; !i(e, n) && n > 0;) --n;
2181
+ for (; !r(e, n) && n > 0;) --n;
2012
2182
  return n;
2013
- }), d = Math.floor(Math.min(...l)), f = /* @__PURE__ */ t((e) => r ? e.data.x + e.data.width + 10 : e.data.x + e.data.width - 10, "determineLabelXPosition");
2014
- n.selectAll("text").data(c).enter().append("text").attr("x", f).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", r ? "start" : "end").attr("dominant-baseline", "middle").attr("fill", s.dataLabelColor).attr("font-size", `${d}px`).text((e) => e.label);
2183
+ }), u = Math.floor(Math.min(...c)), d = /* @__PURE__ */ p((e) => n ? e.data.x + e.data.width + 10 : e.data.x + e.data.width - 10, "determineLabelXPosition");
2184
+ t.selectAll("text").data(s).enter().append("text").attr("x", d).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", n ? "start" : "end").attr("dominant-baseline", "middle").attr("fill", o.dataLabelColor).attr("font-size", `${u}px`).text((e) => e.label);
2015
2185
  } else {
2016
- let i = function(e, t, n) {
2186
+ let r = function(e, t, n) {
2017
2187
  let { data: r, label: i } = e, a = t * i.length * .7, o = r.x + r.width / 2, s = o - a / 2, c = o + a / 2, l = s >= r.x && c <= r.x + r.width, u = r.y + n + t <= r.y + r.height;
2018
2188
  return l && u;
2019
2189
  };
2020
- t(i, "fitsInBar");
2021
- let a = e.data.map((e, t) => ({
2190
+ p(r, "fitsInBar");
2191
+ let i = e.data.map((e, t) => ({
2022
2192
  data: e,
2023
- label: u[t].toString()
2024
- })).filter((e) => e.data.width > 0 && e.data.height > 0), o = a.map((e) => {
2025
- let { data: t, label: n } = e, r = t.width / (n.length * .7);
2026
- for (; !i(e, r, 10) && r > 0;) --r;
2027
- return r;
2028
- }), c = Math.floor(Math.min(...o)), l = /* @__PURE__ */ t((e) => r ? e.data.y - 10 : e.data.y + 10, "determineLabelYPosition");
2029
- n.selectAll("text").data(a).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", l).attr("text-anchor", "middle").attr("dominant-baseline", r ? "auto" : "hanging").attr("fill", s.dataLabelColor).attr("font-size", `${c}px`).text((e) => e.label);
2193
+ label: l[t].toString()
2194
+ })).filter((e) => e.data.width > 0 && e.data.height > 0), a = i.map((e) => {
2195
+ let { data: t, label: n } = e, i = t.width / (n.length * .7);
2196
+ for (; !r(e, i, 10) && i > 0;) --i;
2197
+ return i;
2198
+ }), s = Math.floor(Math.min(...a)), c = /* @__PURE__ */ p((e) => n ? e.data.y - 10 : e.data.y + 10, "determineLabelYPosition");
2199
+ t.selectAll("text").data(i).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", c).attr("text-anchor", "middle").attr("dominant-baseline", n ? "auto" : "hanging").attr("fill", o.dataLabelColor).attr("font-size", `${s}px`).text((e) => e.label);
2030
2200
  }
2031
2201
  }
2032
2202
  break;
2033
2203
  case "text":
2034
- n.selectAll("text").data(e.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => d(e.verticalPos)).attr("text-anchor", (e) => f(e.horizontalPos)).attr("transform", (e) => p(e)).text((e) => e.text);
2204
+ t.selectAll("text").data(e.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => u(e.verticalPos)).attr("text-anchor", (e) => d(e.horizontalPos)).attr("transform", (e) => f(e)).text((e) => e.text);
2035
2205
  break;
2036
2206
  case "path":
2037
- n.selectAll("path").data(e.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
2207
+ t.selectAll("path").data(e.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
2038
2208
  break;
2039
2209
  }
2040
2210
  }
2041
2211
  }, "draw") }
2042
2212
  };
2043
2213
  //#endregion
2044
- export { _e as diagram };
2214
+ export { Ce as diagram };