@sme.up/ketchup2 2.2.0 → 2.4.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 (394) hide show
  1. package/dist/{arc-Klgb378K.js → arc-D80gVCcI.js} +2 -2
  2. package/dist/{arc-CqG9Hxdf.cjs → arc-MUYNnJxV.cjs} +1 -1
  3. package/dist/architecture-7EHR7CIX-Bnyu5zgG.js +3 -0
  4. package/dist/architecture-7EHR7CIX-CKF7-4kH.cjs +1 -0
  5. package/dist/architectureDiagram-3BPJPVTR-BrmPrClJ.cjs +36 -0
  6. package/dist/{architectureDiagram-Q4EWVU46-CnzjcVBn.js → architectureDiagram-3BPJPVTR-EFK4DMha.js} +167 -166
  7. package/dist/assets/svg/barcode.svg +1 -0
  8. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  9. package/dist/basic-components/barcode/barcode-types.d.ts +16 -0
  10. package/dist/basic-components/barcode/barcode-types.d.ts.map +1 -0
  11. package/dist/basic-components/barcode/barcode.d.ts +3 -0
  12. package/dist/basic-components/barcode/barcode.d.ts.map +1 -0
  13. package/dist/basic-components/cell/cell-types.d.ts +7 -0
  14. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  15. package/dist/basic-components/cell/cell-utils.d.ts +3 -2
  16. package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
  17. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  18. package/dist/basic-components/cell/tests/utils.d.ts.map +1 -1
  19. package/dist/basic-components/icon/icon.d.ts.map +1 -1
  20. package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
  21. package/dist/basic-components/qr-code/corners/qr-code-corner-utils.d.ts +4 -0
  22. package/dist/basic-components/qr-code/corners/qr-code-corner-utils.d.ts.map +1 -0
  23. package/dist/basic-components/qr-code/corners/qr-code-corner.d.ts +13 -0
  24. package/dist/basic-components/qr-code/corners/qr-code-corner.d.ts.map +1 -0
  25. package/dist/basic-components/qr-code/qr-code-encoding.d.ts +9 -0
  26. package/dist/basic-components/qr-code/qr-code-encoding.d.ts.map +1 -0
  27. package/dist/basic-components/qr-code/qr-code-error-correction.d.ts +10 -0
  28. package/dist/basic-components/qr-code/qr-code-error-correction.d.ts.map +1 -0
  29. package/dist/basic-components/qr-code/qr-code-helpers.d.ts +15 -0
  30. package/dist/basic-components/qr-code/qr-code-helpers.d.ts.map +1 -0
  31. package/dist/basic-components/qr-code/qr-code-mask.d.ts +9 -0
  32. package/dist/basic-components/qr-code/qr-code-mask.d.ts.map +1 -0
  33. package/dist/basic-components/qr-code/qr-code-matrix.d.ts +3 -0
  34. package/dist/basic-components/qr-code/qr-code-matrix.d.ts.map +1 -0
  35. package/dist/basic-components/qr-code/qr-code-renderer.d.ts +8 -0
  36. package/dist/basic-components/qr-code/qr-code-renderer.d.ts.map +1 -0
  37. package/dist/basic-components/qr-code/qr-code-types.d.ts +122 -0
  38. package/dist/basic-components/qr-code/qr-code-types.d.ts.map +1 -0
  39. package/dist/basic-components/qr-code/qr-code.d.ts +8 -0
  40. package/dist/basic-components/qr-code/qr-code.d.ts.map +1 -0
  41. package/dist/basic-components/text-editor/text-editor-utils.d.ts +11 -0
  42. package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
  43. package/dist/basic-components/text-editor/text-editor.d.ts.map +1 -1
  44. package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
  45. package/dist/basic-components/textarea/textarea-types.d.ts.map +1 -1
  46. package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
  47. package/dist/basic-components/textfield/textfield-types.d.ts +5 -0
  48. package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
  49. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  50. package/dist/basic-components/tree/tree.d.ts.map +1 -1
  51. package/dist/basic-components/tree/tree.types.d.ts +6 -0
  52. package/dist/basic-components/tree/tree.types.d.ts.map +1 -1
  53. package/dist/basic-components/typography/typography-types.d.ts +1 -1
  54. package/dist/basic-components/typography/typography-types.d.ts.map +1 -1
  55. package/dist/{blockDiagram-DXYQGD6D-B0NvV2Ph.js → blockDiagram-GPEHLZMM-C3UgY0Z5.js} +999 -877
  56. package/dist/blockDiagram-GPEHLZMM-CuzoKhJT.cjs +132 -0
  57. package/dist/{c4Diagram-AHTNJAMY-Dgwv-e5O.cjs → c4Diagram-AAUBKEIU-DU8uXbgK.cjs} +6 -6
  58. package/dist/{c4Diagram-AHTNJAMY-DPijI3_r.js → c4Diagram-AAUBKEIU-klnmEOUo.js} +279 -279
  59. package/dist/channel-BbRDdbmM.js +5 -0
  60. package/dist/channel-intTktDQ.cjs +1 -0
  61. package/dist/chunk-2J33WTMH-EmvF7iYC.js +25 -0
  62. package/dist/chunk-2J33WTMH-PlcpVW8G.cjs +1 -0
  63. package/dist/{chunk-5FUZZQ4R-D3C0F0Tr.js → chunk-3OPIFGDE-C7wE5oN7.js} +957 -929
  64. package/dist/chunk-3OPIFGDE-CT5oNC5X.cjs +62 -0
  65. package/dist/{chunk-4BX2VUAB-BW54-JWg.js → chunk-4BX2VUAB-BO1KRGb1.js} +1 -1
  66. package/dist/{chunk-4BX2VUAB-Qba52sxc.cjs → chunk-4BX2VUAB-CtDGlaPx.cjs} +1 -1
  67. package/dist/{chunk-7N4EOEYR-C-GuhRgW.js → chunk-4EGX6M5U-BMVrizoY.js} +12 -12
  68. package/dist/{chunk-7N4EOEYR-jNBQwvHx.cjs → chunk-4EGX6M5U-VENLmgBt.cjs} +1 -1
  69. package/dist/{chunk-55IACEB6-DPatBzu7.cjs → chunk-55IACEB6-VJP3Osm7.cjs} +1 -1
  70. package/dist/{chunk-55IACEB6-Bu3k0Yz5.js → chunk-55IACEB6-b_Ivgrk-.js} +1 -1
  71. package/dist/chunk-5DO6E6H7-Cx6Mfbjl.cjs +1 -0
  72. package/dist/chunk-5DO6E6H7-QuTLwcim.js +23 -0
  73. package/dist/chunk-5ZQYHXKU-BMnKD7Zq.cjs +2 -0
  74. package/dist/{chunk-5PVQY5BW-Dn8n6moB.js → chunk-5ZQYHXKU-C4uam08j.js} +527 -461
  75. package/dist/chunk-727SXJPM-DTmqhRKX.cjs +206 -0
  76. package/dist/{chunk-4TB4RGXK-D2LRzcEP.js → chunk-727SXJPM-Dof0vDVV.js} +650 -554
  77. package/dist/{chunk-OYMX7WX6-CrK-lehh.cjs → chunk-AQP2D5EJ-DdWeFQ4O.cjs} +5 -5
  78. package/dist/{chunk-OYMX7WX6-DJkGVCqi.js → chunk-AQP2D5EJ-N9ii4fwJ.js} +349 -339
  79. package/dist/{chunk-LIHQZDEY-59I4-LWb.js → chunk-BR22UD5L-CS6hURQQ.js} +15 -15
  80. package/dist/{chunk-LIHQZDEY-CrogR3nT.cjs → chunk-BR22UD5L-wI1vkyAT.cjs} +1 -1
  81. package/dist/{chunk-BSJP7CBP-oNTXVRA7.js → chunk-BSJP7CBP-Bx5APwBA.js} +1 -1
  82. package/dist/{chunk-BSJP7CBP-CFzYPvgr.cjs → chunk-BSJP7CBP-CaeBFqNU.cjs} +1 -1
  83. package/dist/{chunk-ICPOFSXX-fQJ5ufMR.js → chunk-CSCIHK7Q-9WKhcDqw.js} +132 -38
  84. package/dist/chunk-CSCIHK7Q-BPMuICCz.cjs +123 -0
  85. package/dist/chunk-FHYWG6QK-CfRqYwCI.js +23 -0
  86. package/dist/chunk-FHYWG6QK-DxmnARsZ.cjs +1 -0
  87. package/dist/{chunk-FMBD7UC4-RRSc9jqt.js → chunk-FMBD7UC4-BbggSGOg.js} +1 -1
  88. package/dist/{chunk-FMBD7UC4-CS9_r76V.cjs → chunk-FMBD7UC4-CiO_59ls.cjs} +1 -1
  89. package/dist/{chunk-ENJZ2VHE-CZ7BvL2h.js → chunk-KSCS5N6A-BY1s4eGg.js} +205 -205
  90. package/dist/chunk-KSCS5N6A-DO8jEi0y.cjs +10 -0
  91. package/dist/{chunk-ZZ45TVLE-BfSqZnT4.cjs → chunk-L5ZTLDWV-BE9udiOh.cjs} +1 -1
  92. package/dist/{chunk-ZZ45TVLE-X2jolXSO.js → chunk-L5ZTLDWV-D3UwMopa.js} +8 -8
  93. package/dist/{chunk-336JU56O-DQhIGd25.cjs → chunk-LZXEDZCA-Dpz_wx3M.cjs} +1 -1
  94. package/dist/{chunk-336JU56O-DkZvWJVe.js → chunk-LZXEDZCA-KzBFuWPU.js} +18 -18
  95. package/dist/chunk-MPE355IW-4bpROspE.js +23 -0
  96. package/dist/chunk-MPE355IW-CxPw_dPP.cjs +1 -0
  97. package/dist/chunk-MZUSXYTE-DA5mUG5B.js +30 -0
  98. package/dist/chunk-MZUSXYTE-DIg1BPts.cjs +1 -0
  99. package/dist/chunk-N66VUXT2-DSbygtq1.cjs +1 -0
  100. package/dist/chunk-N66VUXT2-pDZ1b-B3.js +54 -0
  101. package/dist/{chunk-YZCP3GAM-D6P3SWmL.js → chunk-ND2GUHAM-CHTke4K8.js} +17 -17
  102. package/dist/{chunk-YZCP3GAM-qxaNo0r8.cjs → chunk-ND2GUHAM-DdBSZTft.cjs} +1 -1
  103. package/dist/chunk-NNHCCRGN-D_orSz6n.js +20630 -0
  104. package/dist/chunk-NNHCCRGN-aKMHXBzL.cjs +159 -0
  105. package/dist/{chunk-X2U36JSP-VxRY65ea.js → chunk-NZK2D7GU-BVOINLmx.js} +13 -13
  106. package/dist/{chunk-X2U36JSP-CtXjVqek.cjs → chunk-NZK2D7GU-_twqedIe.cjs} +1 -1
  107. package/dist/{chunk-U2HBQHQK-CJ77uizk.cjs → chunk-O5CBEL6O-CDvi2oZo.cjs} +6 -6
  108. package/dist/{chunk-U2HBQHQK-Ceyeq0IV.js → chunk-O5CBEL6O-VsMF4aZB.js} +108 -108
  109. package/dist/chunk-PUPMXCY4-CKjhJQnN.js +23 -0
  110. package/dist/chunk-PUPMXCY4-DsS_t57r.cjs +1 -0
  111. package/dist/{chunk-QZHKN3VN-CSMKL2rB.cjs → chunk-QZHKN3VN-CHjRGMI2.cjs} +1 -1
  112. package/dist/{chunk-QZHKN3VN-Bx8I6l3c.js → chunk-QZHKN3VN-DCddt14Q.js} +1 -1
  113. package/dist/chunk-UIBZB4QT-BZf7vqd9.cjs +1 -0
  114. package/dist/chunk-UIBZB4QT-BvFllM0Q.js +23 -0
  115. package/dist/chunk-WCWK7LTN-D_C1as0Y.js +31 -0
  116. package/dist/chunk-WCWK7LTN-Dl2uC9ZD.cjs +1 -0
  117. package/dist/chunk-WU5MYG2G-DgyP9QDj.cjs +1 -0
  118. package/dist/chunk-WU5MYG2G-mQn7Wt-i.js +9 -0
  119. package/dist/{chunk-XPW4576I-BcWkx-AL.js → chunk-XPW4576I-BCowsgDU.js} +1 -1
  120. package/dist/{chunk-XPW4576I-D8Pp6a3j.cjs → chunk-XPW4576I-D_mwgMVU.cjs} +1 -1
  121. package/dist/classDiagram-4FO5ZUOK-5DyhpZRK.cjs +1 -0
  122. package/dist/classDiagram-4FO5ZUOK-BHGLQIkz.js +29 -0
  123. package/dist/classDiagram-v2-Q7XG4LA2-CCAbBo05.js +29 -0
  124. package/dist/classDiagram-v2-Q7XG4LA2-D4TX4CLT.cjs +1 -0
  125. package/dist/components/dash-list/assets/dash-list.data.d.ts +1 -0
  126. package/dist/components/dash-list/assets/dash-list.data.d.ts.map +1 -1
  127. package/dist/components/dash-list/dash-list-types.d.ts +1 -0
  128. package/dist/components/dash-list/dash-list-types.d.ts.map +1 -1
  129. package/dist/components/dash-list/dash-list.d.ts.map +1 -1
  130. package/dist/components/dash-list/dash-list.utils.d.ts +1 -3
  131. package/dist/components/dash-list/dash-list.utils.d.ts.map +1 -1
  132. package/dist/components/field/field-types.d.ts +6 -0
  133. package/dist/components/field/field-types.d.ts.map +1 -1
  134. package/dist/components/field/field.d.ts.map +1 -1
  135. package/dist/components/htm/htm-types.d.ts +4 -0
  136. package/dist/components/htm/htm-types.d.ts.map +1 -1
  137. package/dist/components/htm/htm.d.ts.map +1 -1
  138. package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
  139. package/dist/components/input-panel/input-panel-types.d.ts +6 -0
  140. package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
  141. package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
  142. package/dist/components/input-panel/input-panel.d.ts.map +1 -1
  143. package/dist/components/pdf/pdf-types.d.ts +8 -0
  144. package/dist/components/pdf/pdf-types.d.ts.map +1 -1
  145. package/dist/components/pdf/pdf-utils.d.ts +1 -1
  146. package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
  147. package/dist/components/pdf/pdf.d.ts.map +1 -1
  148. package/dist/components/planner/planner-assets.d.ts +2 -2
  149. package/dist/components/planner/planner-assets.d.ts.map +1 -1
  150. package/dist/components/planner/planner-utils.d.ts +1 -0
  151. package/dist/components/planner/planner-utils.d.ts.map +1 -1
  152. package/dist/components/planner/planner.d.ts.map +1 -1
  153. package/dist/components/tab-bar/tab-bar-types.d.ts +1 -1
  154. package/dist/components/tab-bar/tab-bar-types.d.ts.map +1 -1
  155. package/dist/components/timeline/timeline.d.ts.map +1 -1
  156. package/dist/components/tooltip/tooltip-assets.d.ts +1 -0
  157. package/dist/components/tooltip/tooltip-assets.d.ts.map +1 -1
  158. package/dist/components/tooltip/tooltip-types.d.ts +4 -16
  159. package/dist/components/tooltip/tooltip-types.d.ts.map +1 -1
  160. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  161. package/dist/context/obj-metadata-context.d.ts +8 -0
  162. package/dist/context/obj-metadata-context.d.ts.map +1 -0
  163. package/dist/{cose-bilkent-S5V4N54A-B30Rh9DR.js → cose-bilkent-S5V4N54A-Bfb7U01p.js} +26 -27
  164. package/dist/cose-bilkent-S5V4N54A-CE-7Sw0Y.cjs +1 -0
  165. package/dist/dagre-BM42HDAG-BhbA1R8l.cjs +4 -0
  166. package/dist/dagre-BM42HDAG-D87Rv2R4.js +297 -0
  167. package/dist/dagre-CC68z3y6.cjs +1 -0
  168. package/dist/dagre-Cg4CV48I.js +1936 -0
  169. package/dist/diagram-2AECGRRQ-C6vI3yau.cjs +43 -0
  170. package/dist/{diagram-MMDJMWI5-DUpEI5ug.js → diagram-2AECGRRQ-OSYCK0tv.js} +36 -36
  171. package/dist/diagram-5GNKFQAL-BS9rRMAe.cjs +10 -0
  172. package/dist/diagram-5GNKFQAL-DnquluB9.js +101 -0
  173. package/dist/diagram-KO2AKTUF-CFi6eQYd.js +431 -0
  174. package/dist/diagram-KO2AKTUF-CjA_KTJj.cjs +3 -0
  175. package/dist/{diagram-TYMM5635-DHHPZ5ZJ.js → diagram-LMA3HP47-Cwm5bzeM.js} +38 -38
  176. package/dist/diagram-LMA3HP47-DBwSTp2j.cjs +24 -0
  177. package/dist/diagram-OG6HWLK6-BdLnbUYy.cjs +24 -0
  178. package/dist/{diagram-G4DWMVQ6-iYV58Drq.js → diagram-OG6HWLK6-DvGk1j55.js} +93 -93
  179. package/dist/{dist-DL30VIBI.js → dist-9MKIBfY4.js} +1 -1
  180. package/dist/dist-DC1YYeHc.cjs +1 -0
  181. package/dist/{erDiagram-SMLLAGMA-C8FM7wbJ.js → erDiagram-TEJ5UH35-B17mqgD_.js} +164 -164
  182. package/dist/erDiagram-TEJ5UH35-NlRiP_bX.cjs +85 -0
  183. package/dist/eventmodeling-FCH6USID-BVaFiLQO.js +3 -0
  184. package/dist/eventmodeling-FCH6USID-leiC8dtX.cjs +1 -0
  185. package/dist/{flowDiagram-DWJPFMVM-BGtX2gw0.js → flowDiagram-I6XJVG4X-C2G6Tgw_.js} +444 -444
  186. package/dist/{flowDiagram-DWJPFMVM-DWuKiJeo.cjs → flowDiagram-I6XJVG4X-ChI_6giU.cjs} +9 -9
  187. package/dist/functional-components/row/row-types.d.ts +6 -0
  188. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  189. package/dist/functional-components/row/row.d.ts.map +1 -1
  190. package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts.map +1 -1
  191. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts +106 -0
  192. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts.map +1 -0
  193. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts +2 -0
  194. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts.map +1 -0
  195. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts +38 -0
  196. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts.map +1 -0
  197. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +23 -20
  198. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  199. package/dist/functional-components/timeline-engine/components/gantt/gantt.d.ts.map +1 -1
  200. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts +13 -2
  201. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts.map +1 -1
  202. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts +4 -0
  203. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts.map +1 -1
  204. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts +24 -0
  205. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  206. package/dist/functional-components/timeline-engine/timeline-engine.d.ts.map +1 -1
  207. package/dist/ganttDiagram-6RSMTGT7-B0DHqd7u.cjs +292 -0
  208. package/dist/{ganttDiagram-T4ZO3ILL-PY1BUp5b.js → ganttDiagram-6RSMTGT7-Bb6bqcaS.js} +278 -276
  209. package/dist/gitGraph-WXDBUCRP-BFFuTWG4.cjs +1 -0
  210. package/dist/gitGraph-WXDBUCRP-Fz2kRwJ-.js +3 -0
  211. package/dist/gitGraphDiagram-PVQCEYII-BzbgPrwe.cjs +106 -0
  212. package/dist/{gitGraphDiagram-UUTBAWPF-CDIW9-sX.js → gitGraphDiagram-PVQCEYII-DiJUr7lO.js} +255 -255
  213. package/dist/graphlib-B1zohIOM.js +1266 -0
  214. package/dist/graphlib-B5AXIZA4.cjs +1 -0
  215. package/dist/hooks/useFloating.d.ts.map +1 -1
  216. package/dist/index.d.ts +7 -1
  217. package/dist/index.d.ts.map +1 -1
  218. package/dist/info-J43DQDTF-CLRXRK49.js +3 -0
  219. package/dist/info-J43DQDTF-CmpcAuH-.cjs +1 -0
  220. package/dist/infoDiagram-5YYISTIA-C8P9DHlE.js +19 -0
  221. package/dist/infoDiagram-5YYISTIA-fhwEAAjF.cjs +2 -0
  222. package/dist/{ishikawaDiagram-UXIWVN3A-BfkF39Xv.cjs → ishikawaDiagram-YF4QCWOH-j6IZz59g.cjs} +6 -6
  223. package/dist/{ishikawaDiagram-UXIWVN3A-BblrAmns.js → ishikawaDiagram-YF4QCWOH-rqNbTKZp.js} +134 -134
  224. package/dist/{journeyDiagram-VCZTEJTY-UwcVOFtb.cjs → journeyDiagram-JHISSGLW-BhHdd4y3.cjs} +6 -6
  225. package/dist/{journeyDiagram-VCZTEJTY-CCOZ1XFK.js → journeyDiagram-JHISSGLW-peUJlm3L.js} +180 -180
  226. package/dist/{kanban-definition-6JOO6SKY-BWwfbdd6.js → kanban-definition-UN3LZRKU-DLxDqiQn.js} +151 -151
  227. package/dist/{kanban-definition-6JOO6SKY-Coxpi43B.cjs → kanban-definition-UN3LZRKU-TUg1x5yJ.cjs} +8 -8
  228. package/dist/{katex-SAH56fvc.cjs → katex-HkVgAsLB.cjs} +1 -1
  229. package/dist/ketchup2.cjs.js +107 -110
  230. package/dist/ketchup2.css +1 -1
  231. package/dist/ketchup2.es.js +90621 -90697
  232. package/dist/{line-CrxZdHmO.js → line-BhAnxCE8.js} +3 -3
  233. package/dist/line-CpcTW4h-.cjs +1 -0
  234. package/dist/{linear-CxHa1DsM.cjs → linear-D0eFmsG1.cjs} +1 -1
  235. package/dist/{linear-BsPvNLJv.js → linear-lSeWuvgy.js} +3 -3
  236. package/dist/locale/en/translation.json.d.ts +3 -0
  237. package/dist/locale/it/translation.json.d.ts +3 -0
  238. package/dist/{mermaid-parser.core-CERDf-UG.js → mermaid-parser.core-Dz33ts1l.js} +24 -19
  239. package/dist/mermaid-parser.core-HQxPJrkY.cjs +3 -0
  240. package/dist/{mindmap-definition-QFDTVHPH--xULjpFZ.cjs → mindmap-definition-RKZ34NQL-D9BOsg5W.cjs} +29 -29
  241. package/dist/{mindmap-definition-QFDTVHPH-dYQoMeA6.js → mindmap-definition-RKZ34NQL-DHkmUkxh.js} +148 -148
  242. package/dist/{ordinal-Civr0hZL.cjs → ordinal-BnUYNBtU.cjs} +1 -1
  243. package/dist/{ordinal-C-VoL0XF.js → ordinal-MD9_ORcM.js} +1 -1
  244. package/dist/packet-YPE3B663-BwjweAZY.cjs +1 -0
  245. package/dist/packet-YPE3B663-D1Hr9AQm.js +3 -0
  246. package/dist/pie-LRSECV5Y-CpDfN1P0.js +3 -0
  247. package/dist/pie-LRSECV5Y-I1-OkIXi.cjs +1 -0
  248. package/dist/{pieDiagram-DEJITSTG-Dj5pX4fC.js → pieDiagram-4H26LBE5-ByA7ytZx.js} +40 -40
  249. package/dist/pieDiagram-4H26LBE5-CrLJh4L9.cjs +30 -0
  250. package/dist/{quadrantDiagram-34T5L4WZ-BKNOJBiR.js → quadrantDiagram-W4KKPZXB-CHHpmu1l.js} +547 -520
  251. package/dist/quadrantDiagram-W4KKPZXB-CalC_db_.cjs +7 -0
  252. package/dist/radar-GUYGQ44K-BXt3oO8c.cjs +1 -0
  253. package/dist/radar-GUYGQ44K-ByzrmbOz.js +3 -0
  254. package/dist/{requirementDiagram-MS252O5E-r3eZu57d.js → requirementDiagram-4Y6WPE33-BVcDFSx8.js} +165 -165
  255. package/dist/requirementDiagram-4Y6WPE33-SsePLT8d.cjs +84 -0
  256. package/dist/sankeyDiagram-5OEKKPKP-BgvTZ7jd.cjs +40 -0
  257. package/dist/{sankeyDiagram-XADWPNL6-ErTVVewH.js → sankeyDiagram-5OEKKPKP-C-ODz9lV.js} +202 -153
  258. package/dist/{sequenceDiagram-FGHM5R23-BmqbzzHY.js → sequenceDiagram-3UESZ5HK-Cnc0aDO4.js} +786 -779
  259. package/dist/sequenceDiagram-3UESZ5HK-DEVLteqD.cjs +162 -0
  260. package/dist/src-BgvDIw01.cjs +1 -0
  261. package/dist/{src-BQiFKP24.js → src-v9RrE_4h.js} +578 -563
  262. package/dist/stateDiagram-AJRCARHV-CuHe6Iji.js +217 -0
  263. package/dist/stateDiagram-AJRCARHV-D_yPvIRw.cjs +1 -0
  264. package/dist/stateDiagram-v2-BHNVJYJU-CTnE6fOT.cjs +1 -0
  265. package/dist/stateDiagram-v2-BHNVJYJU-DqstYMSl.js +27 -0
  266. package/dist/{timeline-definition-GMOUNBTQ-DgcI7XnE.js → timeline-definition-PNZ67QCA-Bj1BItRB.js} +324 -324
  267. package/dist/{timeline-definition-GMOUNBTQ-BeTHmikc.cjs → timeline-definition-PNZ67QCA-Cynbc96w.cjs} +48 -48
  268. package/dist/treeView-BLDUP644-CxLhpd93.js +3 -0
  269. package/dist/treeView-BLDUP644-DMwVx0AR.cjs +1 -0
  270. package/dist/treemap-LRROVOQU-BqmiLdFI.js +3 -0
  271. package/dist/treemap-LRROVOQU-XhaFZdvI.cjs +1 -0
  272. package/dist/types/translation.d.ts +4 -1
  273. package/dist/types/translation.d.ts.map +1 -1
  274. package/dist/utils/translation.d.ts.map +1 -1
  275. package/dist/v4-BpDBEhLK.js +30 -0
  276. package/dist/v4-CA8ev9YY.cjs +1 -0
  277. package/dist/{vennDiagram-DHZGUBPP-7tx3VVDU.js → vennDiagram-CIIHVFJN-CdmcxixA.js} +192 -192
  278. package/dist/vennDiagram-CIIHVFJN-Dm4D6omA.cjs +34 -0
  279. package/dist/wardley-L42UT6IY-C7UjBmVh.js +3 -0
  280. package/dist/wardley-L42UT6IY-DFAYOpjD.cjs +1 -0
  281. package/dist/{wardleyDiagram-NUSXRM2D-DY51LHBa.cjs → wardleyDiagram-YWT4CUSO-C-DdutxP.cjs} +61 -3
  282. package/dist/{wardleyDiagram-NUSXRM2D-DGKU7A2U.js → wardleyDiagram-YWT4CUSO-D1o116Wi.js} +272 -206
  283. package/dist/{xychartDiagram-5P7HB3ND--7RYyckP.js → xychartDiagram-2RQKCTM6-Byw7djcg.js} +213 -213
  284. package/dist/{xychartDiagram-5P7HB3ND-Cj0HUNew.cjs → xychartDiagram-2RQKCTM6-D0D4PIQS.cjs} +6 -6
  285. package/package.json +6 -6
  286. package/dist/architecture-YZFGNWBL-BRqToLcm.js +0 -3
  287. package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +0 -1
  288. package/dist/architectureDiagram-Q4EWVU46-CX_6DnSJ.cjs +0 -36
  289. package/dist/blockDiagram-DXYQGD6D-D6DypQdM.cjs +0 -132
  290. package/dist/channel-CRWct3-i.js +0 -5
  291. package/dist/channel-DkTvdPpU.cjs +0 -1
  292. package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +0 -23
  293. package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +0 -1
  294. package/dist/chunk-426QAEUC-CDXJVpQr.js +0 -9
  295. package/dist/chunk-426QAEUC-CqN26l3E.cjs +0 -1
  296. package/dist/chunk-4TB4RGXK-B0SIkKDf.cjs +0 -206
  297. package/dist/chunk-5FUZZQ4R-Cj5KbGC7.cjs +0 -62
  298. package/dist/chunk-5PVQY5BW-DEPZKGvb.cjs +0 -2
  299. package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +0 -1
  300. package/dist/chunk-67CJDMHE-YMBkJcAO.js +0 -23
  301. package/dist/chunk-AA7GKIK3-B_ZB6dou.js +0 -30
  302. package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +0 -1
  303. package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +0 -1
  304. package/dist/chunk-CIAEETIT-XlxsAz-4.js +0 -23
  305. package/dist/chunk-D-IZpNpi.cjs +0 -1
  306. package/dist/chunk-EDXVE4YY-1dwNWzc7.cjs +0 -1
  307. package/dist/chunk-EDXVE4YY-CGNVB686.js +0 -25
  308. package/dist/chunk-ENJZ2VHE-BAWfx0nA.cjs +0 -10
  309. package/dist/chunk-FOC6F5B3-DcZs851j.cjs +0 -1
  310. package/dist/chunk-FOC6F5B3-E9n6-juB.js +0 -23
  311. package/dist/chunk-ICPOFSXX-hY6BIZ4Y.cjs +0 -122
  312. package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +0 -94
  313. package/dist/chunk-K5T4RW27-DY7TOEqa.js +0 -16070
  314. package/dist/chunk-KGLVRYIC-5OJpfQCj.js +0 -23
  315. package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +0 -1
  316. package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +0 -1
  317. package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +0 -31
  318. package/dist/chunk-WQLz0Won.js +0 -20
  319. package/dist/classDiagram-6PBFFD2Q-BT4_JTnP.cjs +0 -1
  320. package/dist/classDiagram-6PBFFD2Q-Dgaxt4wI.js +0 -29
  321. package/dist/classDiagram-v2-HSJHXN6E-CWhiK6nm.js +0 -29
  322. package/dist/classDiagram-v2-HSJHXN6E-DkBLzgTv.cjs +0 -1
  323. package/dist/clone-CQQwPjME.cjs +0 -1
  324. package/dist/clone-Dwbh_blD.js +0 -8
  325. package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +0 -1
  326. package/dist/dagre-BcwvU6ZF.cjs +0 -1
  327. package/dist/dagre-D17h-Z-U.js +0 -1606
  328. package/dist/dagre-KV5264BT-BnEKAAAn.js +0 -293
  329. package/dist/dagre-KV5264BT-DRbiLA37.cjs +0 -4
  330. package/dist/diagram-5BDNPKRD-B_Fa4dpl.js +0 -101
  331. package/dist/diagram-5BDNPKRD-CPN8m2Hl.cjs +0 -10
  332. package/dist/diagram-G4DWMVQ6-VpXkNb67.cjs +0 -24
  333. package/dist/diagram-MMDJMWI5-DGk_PUo9.cjs +0 -43
  334. package/dist/diagram-TYMM5635-BH_-vSv9.cjs +0 -24
  335. package/dist/dist-BgvMZbfo.cjs +0 -1
  336. package/dist/erDiagram-SMLLAGMA-vuYEmfFA.cjs +0 -85
  337. package/dist/flatten-BE1bWL-7.js +0 -40
  338. package/dist/flatten-DxvYSoR8.cjs +0 -1
  339. package/dist/ganttDiagram-T4ZO3ILL-C25CnBTv.cjs +0 -292
  340. package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +0 -1
  341. package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +0 -3
  342. package/dist/gitGraphDiagram-UUTBAWPF-0lCBo9nK.cjs +0 -106
  343. package/dist/graphlib-CdgJ32J_.cjs +0 -1
  344. package/dist/graphlib-DbQkSsC8.js +0 -373
  345. package/dist/identity-KQSjemTb.cjs +0 -1
  346. package/dist/identity-g0dsMjx7.js +0 -393
  347. package/dist/info-OMHHGYJF-Bk0VWVNW.js +0 -3
  348. package/dist/info-OMHHGYJF-C8QtwF0k.cjs +0 -1
  349. package/dist/infoDiagram-42DDH7IO-CQLxpytS.js +0 -19
  350. package/dist/infoDiagram-42DDH7IO-Da__a_a_.cjs +0 -2
  351. package/dist/isEmpty-CA3kJuev.cjs +0 -1
  352. package/dist/isEmpty-RwX-oIQS.js +0 -35
  353. package/dist/line-C7oijaT4.cjs +0 -1
  354. package/dist/mermaid-parser.core-DHpvGOZR.cjs +0 -3
  355. package/dist/packet-4T2RLAQJ-X0BMsNFj.js +0 -3
  356. package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +0 -1
  357. package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +0 -3
  358. package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +0 -1
  359. package/dist/pieDiagram-DEJITSTG-7we8s9eC.cjs +0 -30
  360. package/dist/quadrantDiagram-34T5L4WZ-B3BFuPYQ.cjs +0 -7
  361. package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +0 -1
  362. package/dist/radar-PYXPWWZC-DgZIW9Ah.js +0 -3
  363. package/dist/reduce-B7WW9rkU.cjs +0 -1
  364. package/dist/reduce-DNnkcf3M.js +0 -532
  365. package/dist/requirementDiagram-MS252O5E-BemsEy3Y.cjs +0 -84
  366. package/dist/sankeyDiagram-XADWPNL6-B9YCkPHh.cjs +0 -10
  367. package/dist/sequenceDiagram-FGHM5R23-CBpQL6X2.cjs +0 -157
  368. package/dist/src-DFxq-N5I.cjs +0 -1
  369. package/dist/stateDiagram-FHFEXIEX-CL9LE-W1.js +0 -217
  370. package/dist/stateDiagram-FHFEXIEX-Cju5Z2VS.cjs +0 -1
  371. package/dist/stateDiagram-v2-QKLJ7IA2-BHoytfGp.js +0 -27
  372. package/dist/stateDiagram-v2-QKLJ7IA2-DO1H6Vqa.cjs +0 -1
  373. package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +0 -1
  374. package/dist/treeView-SZITEDCU-Df3xzFtO.js +0 -3
  375. package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +0 -1
  376. package/dist/treemap-W4RFUUIX-ClUtdSdn.js +0 -3
  377. package/dist/v4-6yr83DbP.cjs +0 -1
  378. package/dist/v4-BR71w5_q.js +0 -33
  379. package/dist/vennDiagram-DHZGUBPP-C16dnMoe.cjs +0 -34
  380. package/dist/wardley-RL74JXVD-BtHQbnUy.js +0 -3
  381. package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +0 -1
  382. /package/dist/{array-D8NZ46Ht.js → array-CBdkHBGa.js} +0 -0
  383. /package/dist/{array-Dxz0O8Q3.cjs → array-Cx1JwiGD.cjs} +0 -0
  384. /package/dist/{cytoscape.esm-CrBwLFXE.cjs → cytoscape.esm-BzblyxzZ.cjs} +0 -0
  385. /package/dist/{cytoscape.esm-CPjF_mSK.js → cytoscape.esm-VShrX2U1.js} +0 -0
  386. /package/dist/{defaultLocale-DtzyZW63.cjs → defaultLocale-Bj_Ndo9V.cjs} +0 -0
  387. /package/dist/{defaultLocale-Dcyuaxxg.js → defaultLocale-dGy1YRID.js} +0 -0
  388. /package/dist/{init-BO60vQHJ.js → init-B7h4SEX5.js} +0 -0
  389. /package/dist/{init-B2MubQrj.cjs → init-CEL65JUo.cjs} +0 -0
  390. /package/dist/{katex-Du5WiYIy.js → katex-DWDh1q_h.js} +0 -0
  391. /package/dist/{path-CvfwEr8y.js → path-CAXMhBzK.js} +0 -0
  392. /package/dist/{path-Civic7PQ.cjs → path-CRahBUHI.cjs} +0 -0
  393. /package/dist/{rough.esm-BLKo1fIQ.cjs → rough.esm-BEA_SCZB.cjs} +0 -0
  394. /package/dist/{rough.esm-1mqTSjCt.js → rough.esm-TWNWL4Us.js} +0 -0
@@ -1,14 +1,14 @@
1
- import { K as e, Q as t, Z as n, a as r, b as i, et as a, o, y as s } from "./chunk-ICPOFSXX-fQJ5ufMR.js";
2
- import { g as c, h as l, m as u, p as d } from "./src-BQiFKP24.js";
3
- import { t as f } from "./arc-Klgb378K.js";
4
- import { f as p } from "./chunk-5PVQY5BW-Dn8n6moB.js";
5
- import { t as m } from "./chunk-426QAEUC-CDXJVpQr.js";
6
- //#region node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-GMOUNBTQ.mjs
1
+ import { g as e, h as t, m as n, p as r } from "./src-v9RrE_4h.js";
2
+ import { $ as i, J as a, a as o, b as s, et as c, nt as l, o as u, x as d } from "./chunk-CSCIHK7Q-9WKhcDqw.js";
3
+ import { t as f } from "./arc-D80gVCcI.js";
4
+ import { p } from "./chunk-5ZQYHXKU-C4uam08j.js";
5
+ import { t as m } from "./chunk-WU5MYG2G-mQn7Wt-i.js";
6
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-PNZ67QCA.mjs
7
7
  var h = (function() {
8
- var e = /* @__PURE__ */ l(function(e, t, n, r) {
8
+ var e = /* @__PURE__ */ t(function(e, t, n, r) {
9
9
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
10
10
  return n;
11
- }, "o"), t = [
11
+ }, "o"), n = [
12
12
  6,
13
13
  11,
14
14
  13,
@@ -19,8 +19,8 @@ var h = (function() {
19
19
  20,
20
20
  23,
21
21
  24
22
- ], n = [1, 12], r = [1, 13], i = [1, 14], a = [1, 15], o = [1, 16], s = [1, 19], c = [1, 20], u = {
23
- trace: /* @__PURE__ */ l(function() {}, "trace"),
22
+ ], r = [1, 12], i = [1, 13], a = [1, 14], o = [1, 15], s = [1, 16], c = [1, 19], l = [1, 20], u = {
23
+ trace: /* @__PURE__ */ t(function() {}, "trace"),
24
24
  yy: {},
25
25
  symbols_: {
26
26
  error: 2,
@@ -89,7 +89,7 @@ var h = (function() {
89
89
  [21, 1],
90
90
  [22, 1]
91
91
  ],
92
- performAction: /* @__PURE__ */ l(function(e, t, n, r, i, a, o) {
92
+ performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
93
93
  var s = a.length - 1;
94
94
  switch (i) {
95
95
  case 1: return a[s - 1];
@@ -143,85 +143,85 @@ var h = (function() {
143
143
  9: [1, 5]
144
144
  },
145
145
  { 1: [3] },
146
- e(t, [2, 5], { 5: 6 }),
147
- e(t, [2, 2]),
148
- e(t, [2, 3]),
149
- e(t, [2, 4]),
146
+ e(n, [2, 5], { 5: 6 }),
147
+ e(n, [2, 2]),
148
+ e(n, [2, 3]),
149
+ e(n, [2, 4]),
150
150
  {
151
151
  6: [1, 7],
152
152
  10: 8,
153
153
  11: [1, 9],
154
154
  12: 10,
155
155
  13: [1, 11],
156
- 14: n,
157
- 15: r,
158
- 17: i,
159
- 19: a,
160
- 20: o,
156
+ 14: r,
157
+ 15: i,
158
+ 17: a,
159
+ 19: o,
160
+ 20: s,
161
161
  21: 17,
162
162
  22: 18,
163
- 23: s,
164
- 24: c
163
+ 23: c,
164
+ 24: l
165
165
  },
166
- e(t, [2, 10], { 1: [2, 1] }),
167
- e(t, [2, 6]),
166
+ e(n, [2, 10], { 1: [2, 1] }),
167
+ e(n, [2, 6]),
168
168
  {
169
169
  12: 21,
170
- 14: n,
171
- 15: r,
172
- 17: i,
173
- 19: a,
174
- 20: o,
170
+ 14: r,
171
+ 15: i,
172
+ 17: a,
173
+ 19: o,
174
+ 20: s,
175
175
  21: 17,
176
176
  22: 18,
177
- 23: s,
178
- 24: c
177
+ 23: c,
178
+ 24: l
179
179
  },
180
- e(t, [2, 8]),
181
- e(t, [2, 9]),
182
- e(t, [2, 11]),
180
+ e(n, [2, 8]),
181
+ e(n, [2, 9]),
182
+ e(n, [2, 11]),
183
183
  { 16: [1, 22] },
184
184
  { 18: [1, 23] },
185
- e(t, [2, 14]),
186
- e(t, [2, 15]),
187
- e(t, [2, 16]),
188
- e(t, [2, 17]),
189
- e(t, [2, 18]),
190
- e(t, [2, 19]),
191
- e(t, [2, 7]),
192
- e(t, [2, 12]),
193
- e(t, [2, 13])
185
+ e(n, [2, 14]),
186
+ e(n, [2, 15]),
187
+ e(n, [2, 16]),
188
+ e(n, [2, 17]),
189
+ e(n, [2, 18]),
190
+ e(n, [2, 19]),
191
+ e(n, [2, 7]),
192
+ e(n, [2, 12]),
193
+ e(n, [2, 13])
194
194
  ],
195
195
  defaultActions: {},
196
- parseError: /* @__PURE__ */ l(function(e, t) {
196
+ parseError: /* @__PURE__ */ t(function(e, t) {
197
197
  if (t.recoverable) this.trace(e);
198
198
  else {
199
199
  var n = Error(e);
200
200
  throw n.hash = t, n;
201
201
  }
202
202
  }, "parseError"),
203
- parse: /* @__PURE__ */ l(function(e) {
204
- var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, u = 0, d = 0, f = 2, p = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
203
+ parse: /* @__PURE__ */ t(function(e) {
204
+ 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: {} };
205
205
  for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
206
206
  h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
207
207
  var v = h.yylloc;
208
- a.push(v);
208
+ o.push(v);
209
209
  var y = h.options && h.options.ranges;
210
210
  typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
211
211
  function b(e) {
212
- n.length -= 2 * e, i.length -= e, a.length -= e;
212
+ r.length -= 2 * e, a.length -= e, o.length -= e;
213
213
  }
214
- l(b, "popStack");
214
+ t(b, "popStack");
215
215
  function x() {
216
- var e = r.pop() || h.lex() || p;
217
- return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
216
+ var e = i.pop() || h.lex() || p;
217
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
218
218
  }
219
- l(x, "lex");
219
+ t(x, "lex");
220
220
  for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
221
- 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]) {
221
+ 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]) {
222
222
  var M = "";
223
- for (O in j = [], o[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
224
- 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 == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
223
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
224
+ 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, {
225
225
  text: h.match,
226
226
  token: this.terminals_[S] || S,
227
227
  line: h.yylineno,
@@ -232,24 +232,24 @@ var h = (function() {
232
232
  if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
233
233
  switch (T[0]) {
234
234
  case 1:
235
- n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, d > 0 && d--);
235
+ 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--);
236
236
  break;
237
237
  case 2:
238
- if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
239
- first_line: a[a.length - (k || 1)].first_line,
240
- last_line: a[a.length - 1].last_line,
241
- first_column: a[a.length - (k || 1)].first_column,
242
- last_column: a[a.length - 1].last_column
243
- }, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
244
- s,
245
- u,
238
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
239
+ first_line: o[o.length - (k || 1)].first_line,
240
+ last_line: o[o.length - 1].last_line,
241
+ first_column: o[o.length - (k || 1)].first_column,
242
+ last_column: o[o.length - 1].last_column
243
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
246
244
  c,
245
+ u,
246
+ l,
247
247
  g.yy,
248
248
  T[1],
249
- i,
250
- a
249
+ a,
250
+ o
251
251
  ].concat(m)), E !== void 0) return E;
252
- 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);
252
+ 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);
253
253
  break;
254
254
  case 3: return !0;
255
255
  }
@@ -260,11 +260,11 @@ var h = (function() {
260
260
  u.lexer = /* @__PURE__ */ (function() {
261
261
  return {
262
262
  EOF: 1,
263
- parseError: /* @__PURE__ */ l(function(e, t) {
263
+ parseError: /* @__PURE__ */ t(function(e, t) {
264
264
  if (this.yy.parser) this.yy.parser.parseError(e, t);
265
265
  else throw Error(e);
266
266
  }, "parseError"),
267
- setInput: /* @__PURE__ */ l(function(e, t) {
267
+ setInput: /* @__PURE__ */ t(function(e, t) {
268
268
  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 = {
269
269
  first_line: 1,
270
270
  first_column: 0,
@@ -272,11 +272,11 @@ var h = (function() {
272
272
  last_column: 0
273
273
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
274
274
  }, "setInput"),
275
- input: /* @__PURE__ */ l(function() {
275
+ input: /* @__PURE__ */ t(function() {
276
276
  var e = this._input[0];
277
277
  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;
278
278
  }, "input"),
279
- unput: /* @__PURE__ */ l(function(e) {
279
+ unput: /* @__PURE__ */ t(function(e) {
280
280
  var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
281
281
  this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
282
282
  var r = this.match.split(/(?:\r\n?|\n)/g);
@@ -289,10 +289,10 @@ var h = (function() {
289
289
  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
290
290
  }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
291
291
  }, "unput"),
292
- more: /* @__PURE__ */ l(function() {
292
+ more: /* @__PURE__ */ t(function() {
293
293
  return this._more = !0, this;
294
294
  }, "more"),
295
- reject: /* @__PURE__ */ l(function() {
295
+ reject: /* @__PURE__ */ t(function() {
296
296
  if (this.options.backtrack_lexer) this._backtrack = !0;
297
297
  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(), {
298
298
  text: "",
@@ -301,22 +301,22 @@ var h = (function() {
301
301
  });
302
302
  return this;
303
303
  }, "reject"),
304
- less: /* @__PURE__ */ l(function(e) {
304
+ less: /* @__PURE__ */ t(function(e) {
305
305
  this.unput(this.match.slice(e));
306
306
  }, "less"),
307
- pastInput: /* @__PURE__ */ l(function() {
307
+ pastInput: /* @__PURE__ */ t(function() {
308
308
  var e = this.matched.substr(0, this.matched.length - this.match.length);
309
309
  return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
310
310
  }, "pastInput"),
311
- upcomingInput: /* @__PURE__ */ l(function() {
311
+ upcomingInput: /* @__PURE__ */ t(function() {
312
312
  var e = this.match;
313
313
  return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
314
314
  }, "upcomingInput"),
315
- showPosition: /* @__PURE__ */ l(function() {
315
+ showPosition: /* @__PURE__ */ t(function() {
316
316
  var e = this.pastInput(), t = Array(e.length + 1).join("-");
317
317
  return e + this.upcomingInput() + "\n" + t + "^";
318
318
  }, "showPosition"),
319
- test_match: /* @__PURE__ */ l(function(e, t) {
319
+ test_match: /* @__PURE__ */ t(function(e, t) {
320
320
  var n, r, i;
321
321
  if (this.options.backtrack_lexer && (i = {
322
322
  yylineno: this.yylineno,
@@ -349,7 +349,7 @@ var h = (function() {
349
349
  }
350
350
  return !1;
351
351
  }, "test_match"),
352
- next: /* @__PURE__ */ l(function() {
352
+ next: /* @__PURE__ */ t(function() {
353
353
  if (this.done) return this.EOF;
354
354
  this._input || (this.done = !0);
355
355
  var e, t, n, r;
@@ -369,29 +369,29 @@ var h = (function() {
369
369
  line: this.yylineno
370
370
  });
371
371
  }, "next"),
372
- lex: /* @__PURE__ */ l(function() {
372
+ lex: /* @__PURE__ */ t(function() {
373
373
  return this.next() || this.lex();
374
374
  }, "lex"),
375
- begin: /* @__PURE__ */ l(function(e) {
375
+ begin: /* @__PURE__ */ t(function(e) {
376
376
  this.conditionStack.push(e);
377
377
  }, "begin"),
378
- popState: /* @__PURE__ */ l(function() {
378
+ popState: /* @__PURE__ */ t(function() {
379
379
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
380
380
  }, "popState"),
381
- _currentRules: /* @__PURE__ */ l(function() {
381
+ _currentRules: /* @__PURE__ */ t(function() {
382
382
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
383
383
  }, "_currentRules"),
384
- topState: /* @__PURE__ */ l(function(e) {
384
+ topState: /* @__PURE__ */ t(function(e) {
385
385
  return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
386
386
  }, "topState"),
387
- pushState: /* @__PURE__ */ l(function(e) {
387
+ pushState: /* @__PURE__ */ t(function(e) {
388
388
  this.begin(e);
389
389
  }, "pushState"),
390
- stateStackSize: /* @__PURE__ */ l(function() {
390
+ stateStackSize: /* @__PURE__ */ t(function() {
391
391
  return this.conditionStack.length;
392
392
  }, "stateStackSize"),
393
393
  options: { "case-insensitive": !0 },
394
- performAction: /* @__PURE__ */ l(function(e, t, n, r) {
394
+ performAction: /* @__PURE__ */ t(function(e, t, n, r) {
395
395
  switch (n) {
396
396
  case 0: break;
397
397
  case 1: break;
@@ -484,11 +484,11 @@ var h = (function() {
484
484
  function d() {
485
485
  this.yy = {};
486
486
  }
487
- return l(d, "Parser"), d.prototype = u, u.Parser = d, new d();
487
+ return t(d, "Parser"), d.prototype = u, u.Parser = d, new d();
488
488
  })();
489
489
  h.parser = h;
490
490
  var g = h, _ = {};
491
- u(_, {
491
+ n(_, {
492
492
  addEvent: () => M,
493
493
  addSection: () => O,
494
494
  addTask: () => j,
@@ -501,21 +501,21 @@ u(_, {
501
501
  getTasks: () => A,
502
502
  setDirection: () => E
503
503
  });
504
- var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ l(() => o, "getCommonDb"), T = /* @__PURE__ */ l(function() {
505
- x.length = 0, S.length = 0, v = "", C.length = 0, b = "LR", r();
506
- }, "clear"), E = /* @__PURE__ */ l(function(e) {
504
+ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ t(() => u, "getCommonDb"), T = /* @__PURE__ */ t(function() {
505
+ x.length = 0, S.length = 0, v = "", C.length = 0, b = "LR", o();
506
+ }, "clear"), E = /* @__PURE__ */ t(function(e) {
507
507
  b = e;
508
- }, "setDirection"), D = /* @__PURE__ */ l(function() {
508
+ }, "setDirection"), D = /* @__PURE__ */ t(function() {
509
509
  return b;
510
- }, "getDirection"), O = /* @__PURE__ */ l(function(e) {
510
+ }, "getDirection"), O = /* @__PURE__ */ t(function(e) {
511
511
  v = e, x.push(e);
512
- }, "addSection"), k = /* @__PURE__ */ l(function() {
512
+ }, "addSection"), k = /* @__PURE__ */ t(function() {
513
513
  return x;
514
- }, "getSections"), A = /* @__PURE__ */ l(function() {
514
+ }, "getSections"), A = /* @__PURE__ */ t(function() {
515
515
  let e = P(), t = 0;
516
516
  for (; !e && t < 100;) e = P(), t++;
517
517
  return S.push(...C), S;
518
- }, "getTasks"), j = /* @__PURE__ */ l(function(e, t, n) {
518
+ }, "getTasks"), j = /* @__PURE__ */ t(function(e, t, n) {
519
519
  let r = {
520
520
  id: y++,
521
521
  section: v,
@@ -525,9 +525,9 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ l(() =>
525
525
  events: n ? [n] : []
526
526
  };
527
527
  C.push(r);
528
- }, "addTask"), M = /* @__PURE__ */ l(function(e) {
528
+ }, "addTask"), M = /* @__PURE__ */ t(function(e) {
529
529
  C.find((e) => e.id === y - 1).events.push(e);
530
- }, "addEvent"), N = /* @__PURE__ */ l(function(e) {
530
+ }, "addEvent"), N = /* @__PURE__ */ t(function(e) {
531
531
  let t = {
532
532
  section: v,
533
533
  type: v,
@@ -536,12 +536,12 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ l(() =>
536
536
  classes: []
537
537
  };
538
538
  S.push(t);
539
- }, "addTaskOrg"), P = /* @__PURE__ */ l(function() {
540
- let e = /* @__PURE__ */ l(function(e) {
539
+ }, "addTaskOrg"), P = /* @__PURE__ */ t(function() {
540
+ let e = /* @__PURE__ */ t(function(e) {
541
541
  return C[e].processed;
542
- }, "compileTask"), t = !0;
543
- for (let [n, r] of C.entries()) e(n), t &&= r.processed;
544
- return t;
542
+ }, "compileTask"), n = !0;
543
+ for (let [t, r] of C.entries()) e(t), n &&= r.processed;
544
+ return n;
545
545
  }, "compileTasks"), ee = {
546
546
  clear: T,
547
547
  getCommonDb: w,
@@ -553,45 +553,45 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ l(() =>
553
553
  addTask: j,
554
554
  addTaskOrg: N,
555
555
  addEvent: M
556
- }, F = 0, I = /* @__PURE__ */ l(function(e, t) {
556
+ }, F = 0, I = /* @__PURE__ */ t(function(e, t) {
557
557
  let n = e.append("rect");
558
558
  return n.attr("x", t.x), n.attr("y", t.y), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("width", t.width), n.attr("height", t.height), n.attr("rx", t.rx), n.attr("ry", t.ry), t.class !== void 0 && n.attr("class", t.class), n;
559
- }, "drawRect"), te = /* @__PURE__ */ l(function(e, t) {
560
- let n = e.append("circle").attr("cx", t.cx).attr("cy", t.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), r = e.append("g");
561
- r.append("circle").attr("cx", t.cx - 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), r.append("circle").attr("cx", t.cx + 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
562
- function i(e) {
563
- let n = f().startAngle(Math.PI / 2).endAngle(Math.PI / 2 * 3).innerRadius(15 / 2).outerRadius(15 / 2.2);
564
- e.append("path").attr("class", "mouth").attr("d", n).attr("transform", "translate(" + t.cx + "," + (t.cy + 2) + ")");
565
- }
566
- l(i, "smile");
559
+ }, "drawRect"), te = /* @__PURE__ */ t(function(e, n) {
560
+ let r = e.append("circle").attr("cx", n.cx).attr("cy", n.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), i = e.append("g");
561
+ i.append("circle").attr("cx", n.cx - 15 / 3).attr("cy", n.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), i.append("circle").attr("cx", n.cx + 15 / 3).attr("cy", n.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
567
562
  function a(e) {
568
- let n = f().startAngle(3 * Math.PI / 2).endAngle(Math.PI / 2 * 5).innerRadius(15 / 2).outerRadius(15 / 2.2);
569
- e.append("path").attr("class", "mouth").attr("d", n).attr("transform", "translate(" + t.cx + "," + (t.cy + 7) + ")");
563
+ let t = f().startAngle(Math.PI / 2).endAngle(Math.PI / 2 * 3).innerRadius(15 / 2).outerRadius(15 / 2.2);
564
+ e.append("path").attr("class", "mouth").attr("d", t).attr("transform", "translate(" + n.cx + "," + (n.cy + 2) + ")");
570
565
  }
571
- l(a, "sad");
566
+ t(a, "smile");
572
567
  function o(e) {
573
- e.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", t.cx - 5).attr("y1", t.cy + 7).attr("x2", t.cx + 5).attr("y2", t.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
568
+ let t = f().startAngle(3 * Math.PI / 2).endAngle(Math.PI / 2 * 5).innerRadius(15 / 2).outerRadius(15 / 2.2);
569
+ e.append("path").attr("class", "mouth").attr("d", t).attr("transform", "translate(" + n.cx + "," + (n.cy + 7) + ")");
574
570
  }
575
- return l(o, "ambivalent"), t.score > 3 ? i(r) : t.score < 3 ? a(r) : o(r), n;
576
- }, "drawFace"), ne = /* @__PURE__ */ l(function(e, t) {
571
+ t(o, "sad");
572
+ function s(e) {
573
+ e.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", n.cx - 5).attr("y1", n.cy + 7).attr("x2", n.cx + 5).attr("y2", n.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
574
+ }
575
+ return t(s, "ambivalent"), n.score > 3 ? a(i) : n.score < 3 ? o(i) : s(i), r;
576
+ }, "drawFace"), ne = /* @__PURE__ */ t(function(e, t) {
577
577
  let n = e.append("circle");
578
578
  return n.attr("cx", t.cx), n.attr("cy", t.cy), n.attr("class", "actor-" + t.pos), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("r", t.r), n.class !== void 0 && n.attr("class", n.class), t.title !== void 0 && n.append("title").text(t.title), n;
579
- }, "drawCircle"), L = /* @__PURE__ */ l(function(e, t) {
579
+ }, "drawCircle"), L = /* @__PURE__ */ t(function(e, t) {
580
580
  let n = t.text.replace(/<br\s*\/?>/gi, " "), r = e.append("text");
581
581
  r.attr("x", t.x), r.attr("y", t.y), r.attr("class", "legend"), r.style("text-anchor", t.anchor), t.class !== void 0 && r.attr("class", t.class);
582
582
  let i = r.append("tspan");
583
583
  return i.attr("x", t.x + t.textMargin * 2), i.text(n), r;
584
- }, "drawText"), re = /* @__PURE__ */ l(function(e, t) {
585
- function n(e, t, n, r, i) {
584
+ }, "drawText"), re = /* @__PURE__ */ t(function(e, n) {
585
+ function r(e, t, n, r, i) {
586
586
  return e + "," + t + " " + (e + n) + "," + t + " " + (e + n) + "," + (t + r - i) + " " + (e + n - i * 1.2) + "," + (t + r) + " " + e + "," + (t + r);
587
587
  }
588
- l(n, "genPoints");
589
- let r = e.append("polygon");
590
- r.attr("points", n(t.x, t.y, 50, 20, 7)), r.attr("class", "labelBox"), t.y += t.labelMargin, t.x += .5 * t.labelMargin, L(e, t);
591
- }, "drawLabel"), R = /* @__PURE__ */ l(function(e, t, n) {
588
+ t(r, "genPoints");
589
+ let i = e.append("polygon");
590
+ i.attr("points", r(n.x, n.y, 50, 20, 7)), i.attr("class", "labelBox"), n.y += n.labelMargin, n.x += .5 * n.labelMargin, L(e, n);
591
+ }, "drawLabel"), R = /* @__PURE__ */ t(function(e, t, n) {
592
592
  let r = e.append("g"), i = B();
593
593
  i.x = t.x, i.y = t.y, i.fill = t.fill, i.width = n.width, i.height = n.height, i.class = "journey-section section-type-" + t.num, i.rx = 3, i.ry = 3, I(r, i), V(n)(t.text, r, i.x, i.y, i.width, i.height, { class: "journey-section section-type-" + t.num }, n, t.colour);
594
- }, "drawSection"), z = -1, ie = /* @__PURE__ */ l(function(e, t, n, r) {
594
+ }, "drawSection"), z = -1, ie = /* @__PURE__ */ t(function(e, t, n, r) {
595
595
  let i = t.x + n.width / 2, a = e.append("g");
596
596
  z++, a.append("line").attr("id", r + "-task" + z).attr("x1", i).attr("y1", t.y).attr("x2", i).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), te(a, {
597
597
  cx: i,
@@ -600,7 +600,7 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ l(() =>
600
600
  });
601
601
  let o = B();
602
602
  o.x = t.x, o.y = t.y, o.fill = t.fill, o.width = n.width, o.height = n.height, o.class = "task task-type-" + t.num, o.rx = 3, o.ry = 3, I(a, o), V(n)(t.task, a, o.x, o.y, o.width, o.height, { class: "task" }, n, t.colour);
603
- }, "drawTask"), ae = /* @__PURE__ */ l(function(e, t) {
603
+ }, "drawTask"), ae = /* @__PURE__ */ t(function(e, t) {
604
604
  I(e, {
605
605
  x: t.startx,
606
606
  y: t.starty,
@@ -609,7 +609,7 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ l(() =>
609
609
  fill: t.fill,
610
610
  class: "rect"
611
611
  }).lower();
612
- }, "drawBackgroundRect"), oe = /* @__PURE__ */ l(function() {
612
+ }, "drawBackgroundRect"), oe = /* @__PURE__ */ t(function() {
613
613
  return {
614
614
  x: 0,
615
615
  y: 0,
@@ -621,7 +621,7 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ l(() =>
621
621
  rx: 0,
622
622
  ry: 0
623
623
  };
624
- }, "getTextObj"), B = /* @__PURE__ */ l(function() {
624
+ }, "getTextObj"), B = /* @__PURE__ */ t(function() {
625
625
  return {
626
626
  x: 0,
627
627
  y: 0,
@@ -632,55 +632,55 @@ var v = "", y = 0, b = "LR", x = [], S = [], C = [], w = /* @__PURE__ */ l(() =>
632
632
  ry: 0
633
633
  };
634
634
  }, "getNoteRect"), V = /* @__PURE__ */ (function() {
635
- function e(e, t, n, i, a, o, s, c) {
636
- r(t.append("text").attr("x", n + a / 2).attr("y", i + o / 2 + 5).style("font-color", c).style("text-anchor", "middle").text(e), s);
635
+ function e(e, t, n, r, a, o, s, c) {
636
+ i(t.append("text").attr("x", n + a / 2).attr("y", r + o / 2 + 5).style("font-color", c).style("text-anchor", "middle").text(e), s);
637
637
  }
638
- l(e, "byText");
639
- function t(e, t, n, i, a, o, s, c, l) {
638
+ t(e, "byText");
639
+ function n(e, t, n, r, a, o, s, c, l) {
640
640
  let { taskFontSize: u, taskFontFamily: d } = c, f = e.split(/<br\s*\/?>/gi);
641
641
  for (let e = 0; e < f.length; e++) {
642
- let c = e * u - u * (f.length - 1) / 2, p = t.append("text").attr("x", n + a / 2).attr("y", i).attr("fill", l).style("text-anchor", "middle").style("font-size", u).style("font-family", d);
643
- p.append("tspan").attr("x", n + a / 2).attr("dy", c).text(f[e]), p.attr("y", i + o / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), r(p, s);
642
+ let c = e * u - u * (f.length - 1) / 2, p = t.append("text").attr("x", n + a / 2).attr("y", r).attr("fill", l).style("text-anchor", "middle").style("font-size", u).style("font-family", d);
643
+ p.append("tspan").attr("x", n + a / 2).attr("dy", c).text(f[e]), p.attr("y", r + o / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), i(p, s);
644
644
  }
645
645
  }
646
- l(t, "byTspan");
647
- function n(e, n, i, a, o, s, c, l) {
648
- let u = n.append("switch"), d = u.append("foreignObject").attr("x", i).attr("y", a).attr("width", o).attr("height", s).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
649
- d.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), t(e, u, i, a, o, s, c, l), r(d, c);
646
+ t(n, "byTspan");
647
+ function r(e, t, r, a, o, s, c, l) {
648
+ let u = t.append("switch"), d = u.append("foreignObject").attr("x", r).attr("y", a).attr("width", o).attr("height", s).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
649
+ d.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), n(e, u, r, a, o, s, c, l), i(d, c);
650
650
  }
651
- l(n, "byFo");
652
- function r(e, t) {
651
+ t(r, "byFo");
652
+ function i(e, t) {
653
653
  for (let n in t) n in t && e.attr(n, t[n]);
654
654
  }
655
- return l(r, "_setTextAttrs"), function(r) {
656
- return r.textPlacement === "fo" ? n : r.textPlacement === "old" ? e : t;
655
+ return t(i, "_setTextAttrs"), function(t) {
656
+ return t.textPlacement === "fo" ? r : t.textPlacement === "old" ? e : n;
657
657
  };
658
- })(), se = /* @__PURE__ */ l(function(e, t) {
658
+ })(), se = /* @__PURE__ */ t(function(e, t) {
659
659
  F = 0, z = -1, e.append("defs").append("marker").attr("id", t + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
660
660
  }, "initGraphics");
661
661
  function H(e, t) {
662
662
  e.each(function() {
663
- var e = d(this), n = e.text().split(/(\s+|<br>)/).reverse(), r, i = [], a = 1.1, o = e.attr("y"), s = parseFloat(e.attr("dy")), c = e.text(null).append("tspan").attr("x", 0).attr("y", o).attr("dy", s + "em");
664
- for (let s = 0; s < n.length; s++) r = n[n.length - 1 - s], i.push(r), c.text(i.join(" ").trim()), (c.node().getComputedTextLength() > t || r === "<br>") && (i.pop(), c.text(i.join(" ").trim()), i = r === "<br>" ? [""] : [r], c = e.append("tspan").attr("x", 0).attr("y", o).attr("dy", a + "em").text(r));
663
+ var e = r(this), n = e.text().split(/(\s+|<br>)/).reverse(), i, a = [], o = 1.1, s = e.attr("y"), c = parseFloat(e.attr("dy")), l = e.text(null).append("tspan").attr("x", 0).attr("y", s).attr("dy", c + "em");
664
+ for (let r = 0; r < n.length; r++) i = n[n.length - 1 - r], a.push(i), l.text(a.join(" ").trim()), (l.node().getComputedTextLength() > t || i === "<br>") && (a.pop(), l.text(a.join(" ").trim()), a = i === "<br>" ? [""] : [i], l = e.append("tspan").attr("x", 0).attr("y", s).attr("dy", o + "em").text(i));
665
665
  });
666
666
  }
667
- l(H, "wrap");
668
- var ce = /* @__PURE__ */ l(function(e, t, n, r, i, a = !1) {
669
- let { theme: o, look: s } = r, c = o?.includes("redux"), l = n % (r?.themeVariables?.THEME_COLOR_LIMIT ?? 12) - 1, u = e.append("g");
670
- t.section = l, u.attr("class", (t.class ? t.class + " " : "") + "timeline-node " + ("section-" + l));
671
- let f = u.append("g"), p = u.append("g"), m = p.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(H, t.width).node().getBBox(), h = r.fontSize?.replace ? r.fontSize.replace("px", "") : r.fontSize;
672
- if (t.height = m.height + h * 1.1 * .5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width += 2 * t.padding, p.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), c && p.attr("transform", `translate(${t.width / 2}, ${a ? t.padding / 2 + 3 : t.padding})`), ue(f, t, l, i, r), s === "neo" && (u.attr("data-look", "neo"), c)) {
673
- let t = o.includes("dark"), n = d(e.node()?.ownerSVGElement ?? e.node()), r = n.attr("id") ?? "", i = r ? `${r}-drop-shadow` : "drop-shadow";
674
- if (n.select(`#${i}`).empty()) {
667
+ t(H, "wrap");
668
+ var ce = /* @__PURE__ */ t(function(e, t, n, i, a, o = !1) {
669
+ let { theme: s, look: c } = i, l = s?.includes("redux"), u = n % (i?.themeVariables?.THEME_COLOR_LIMIT ?? 12) - 1, d = e.append("g");
670
+ t.section = u, d.attr("class", (t.class ? t.class + " " : "") + "timeline-node " + ("section-" + u));
671
+ let f = d.append("g"), p = d.append("g"), m = p.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(H, t.width).node().getBBox(), h = i.fontSize?.replace ? i.fontSize.replace("px", "") : i.fontSize;
672
+ if (t.height = m.height + h * 1.1 * .5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width += 2 * t.padding, p.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), l && p.attr("transform", `translate(${t.width / 2}, ${o ? t.padding / 2 + 3 : t.padding})`), ue(f, t, u, a, i), c === "neo" && (d.attr("data-look", "neo"), l)) {
673
+ let t = s.includes("dark"), n = r(e.node()?.ownerSVGElement ?? e.node()), i = n.attr("id") ?? "", a = i ? `${i}-drop-shadow` : "drop-shadow";
674
+ if (n.select(`#${a}`).empty()) {
675
675
  let e = n.select("defs");
676
- (e.empty() ? n.append("defs") : e).append("filter").attr("id", i).attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", t ? "0.2" : "0.06").attr("flood-color", t ? "#FFFFFF" : "#000000");
676
+ (e.empty() ? n.append("defs") : e).append("filter").attr("id", a).attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", t ? "0.2" : "0.06").attr("flood-color", t ? "#FFFFFF" : "#000000");
677
677
  }
678
678
  }
679
679
  return t;
680
- }, "drawNode"), le = /* @__PURE__ */ l(function(e, t, n) {
680
+ }, "drawNode"), le = /* @__PURE__ */ t(function(e, t, n) {
681
681
  let r = e.append("g"), i = r.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(H, t.width).node().getBBox(), a = n.fontSize?.replace ? n.fontSize.replace("px", "") : n.fontSize;
682
682
  return r.remove(), i.height + a * 1.1 * .5 + t.padding;
683
- }, "getVirtualNodeHeight"), ue = /* @__PURE__ */ l(function(e, t, n, r, i) {
683
+ }, "getVirtualNodeHeight"), ue = /* @__PURE__ */ t(function(e, t, n, r, i) {
684
684
  let { theme: a } = i, o = a?.includes("redux") ? 0 : 5, s = o > 0 ? `M0 ${t.height - 5} v${-t.height + 10} q0,-${o},${o},-${o} h${t.width - 10} q${o},0,${o},${o} v${t.height - 5} H0 Z` : `M0 ${t.height - 5} v${-(t.height - 5)} h${t.width} v${t.height} H0 Z`;
685
685
  e.append("path").attr("id", r + "-node-" + F++).attr("class", "node-bkg node-" + t.type).attr("d", s), a?.includes("redux") || e.append("line").attr("class", "node-line-" + n).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
686
686
  }, "defaultBkg"), U = {
@@ -696,233 +696,233 @@ var ce = /* @__PURE__ */ l(function(e, t, n, r, i, a = !1) {
696
696
  initGraphics: se,
697
697
  drawNode: ce,
698
698
  getVirtualNodeHeight: le
699
- }, de = /* @__PURE__ */ l(function(t, n, r, a) {
700
- let o = i(), { look: s, theme: l, themeVariables: u } = o, { useGradient: f, gradientStart: p, gradientStop: m } = u, h = o.timeline?.leftMargin ?? 50;
701
- c.debug("timeline", a.db);
702
- let g = o.securityLevel, _;
703
- g === "sandbox" && (_ = d("#i" + n));
704
- let v = d(g === "sandbox" ? _.nodes()[0].contentDocument.body : "body").select("#" + n);
699
+ }, de = /* @__PURE__ */ t(function(t, n, i, o) {
700
+ let s = d(), { look: c, theme: l, themeVariables: u } = s, { useGradient: f, gradientStart: p, gradientStop: m } = u, h = s.timeline?.leftMargin ?? 50;
701
+ e.debug("timeline", o.db);
702
+ let g = s.securityLevel, _;
703
+ g === "sandbox" && (_ = r("#i" + n));
704
+ let v = r(g === "sandbox" ? _.nodes()[0].contentDocument.body : "body").select("#" + n);
705
705
  v.append("g");
706
- let y = a.db.getTasks(), b = a.db.getCommonDb().getDiagramTitle();
707
- c.debug("task", y), U.initGraphics(v, n);
708
- let x = a.db.getSections();
709
- c.debug("sections", x);
706
+ let y = o.db.getTasks(), b = o.db.getCommonDb().getDiagramTitle();
707
+ e.debug("task", y), U.initGraphics(v, n);
708
+ let x = o.db.getSections();
709
+ e.debug("sections", x);
710
710
  let S = 0, C = 0, w = 0, T = 0, E = 50 + h, D = 50;
711
711
  T = 50;
712
712
  let O = 0, k = !0;
713
- x.forEach(function(e) {
714
- let t = {
713
+ x.forEach(function(t) {
714
+ let n = {
715
715
  number: O,
716
- descr: e,
716
+ descr: t,
717
717
  section: O,
718
718
  width: 150,
719
719
  padding: 20,
720
720
  maxHeight: S
721
- }, n = U.getVirtualNodeHeight(v, t, o);
722
- c.debug("sectionHeight before draw", n), S = Math.max(S, n + 20);
721
+ }, r = U.getVirtualNodeHeight(v, n, s);
722
+ e.debug("sectionHeight before draw", r), S = Math.max(S, r + 20);
723
723
  });
724
724
  let A = 0, j = 0;
725
- c.debug("tasks.length", y.length);
726
- for (let [e, t] of y.entries()) {
727
- let n = {
728
- number: e,
729
- descr: t,
730
- section: t.section,
725
+ e.debug("tasks.length", y.length);
726
+ for (let [t, n] of y.entries()) {
727
+ let r = {
728
+ number: t,
729
+ descr: n,
730
+ section: n.section,
731
731
  width: 150,
732
732
  padding: 20,
733
733
  maxHeight: C
734
- }, r = U.getVirtualNodeHeight(v, n, o);
735
- c.debug("taskHeight before draw", r), C = Math.max(C, r + 20), A = Math.max(A, t.events.length);
736
- let i = 0;
737
- for (let e of t.events) {
738
- let n = {
734
+ }, i = U.getVirtualNodeHeight(v, r, s);
735
+ e.debug("taskHeight before draw", i), C = Math.max(C, i + 20), A = Math.max(A, n.events.length);
736
+ let a = 0;
737
+ for (let e of n.events) {
738
+ let t = {
739
739
  descr: e,
740
- section: t.section,
741
- number: t.section,
740
+ section: n.section,
741
+ number: n.section,
742
742
  width: 150,
743
743
  padding: 20,
744
744
  maxHeight: 50
745
745
  };
746
- i += U.getVirtualNodeHeight(v, n, o);
746
+ a += U.getVirtualNodeHeight(v, t, s);
747
747
  }
748
- t.events.length > 0 && (i += (t.events.length - 1) * 10), j = Math.max(j, i);
748
+ n.events.length > 0 && (a += (n.events.length - 1) * 10), j = Math.max(j, a);
749
749
  }
750
- c.debug("maxSectionHeight before draw", S), c.debug("maxTaskHeight before draw", C), x && x.length > 0 ? x.forEach((e) => {
751
- let t = y.filter((t) => t.section === e), r = {
750
+ e.debug("maxSectionHeight before draw", S), e.debug("maxTaskHeight before draw", C), x && x.length > 0 ? x.forEach((t) => {
751
+ let r = y.filter((e) => e.section === t), i = {
752
752
  number: O,
753
- descr: e,
753
+ descr: t,
754
754
  section: O,
755
- width: 200 * Math.max(t.length, 1) - 50,
755
+ width: 200 * Math.max(r.length, 1) - 50,
756
756
  padding: 20,
757
757
  maxHeight: S
758
758
  };
759
- c.debug("sectionNode", r);
760
- let i = v.append("g"), a = U.drawNode(i, r, O, o, n);
761
- c.debug("sectionNode output", a), i.attr("transform", `translate(${E}, ${T})`), D += S + 50, t.length > 0 && W(v, t, O, E, D, C, o, A, j, S, !1, n), E += 200 * Math.max(t.length, 1), D = T, O++;
762
- }) : (k = !1, W(v, y, O, E, D, C, o, A, j, S, !0, n));
759
+ e.debug("sectionNode", i);
760
+ let a = v.append("g"), o = U.drawNode(a, i, O, s, n);
761
+ e.debug("sectionNode output", o), a.attr("transform", `translate(${E}, ${T})`), D += S + 50, r.length > 0 && W(v, r, O, E, D, C, s, A, j, S, !1, n), E += 200 * Math.max(r.length, 1), D = T, O++;
762
+ }) : (k = !1, W(v, y, O, E, D, C, s, A, j, S, !0, n));
763
763
  let M = v.node().getBBox();
764
- if (c.debug("bounds", M), b && v.append("text").text(b).attr("x", s === "neo" ? M.x * 2 + h : M.width / 2 - h).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), w = k ? S + C + 150 : C + 100, v.append("g").attr("class", "lineWrapper").append("line").attr("x1", h).attr("y1", w).attr("x2", M.width + 3 * h).attr("y2", w).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", `url(#${n}-arrowhead)`), s === "neo" && f && l !== "neutral") {
764
+ if (e.debug("bounds", M), b && v.append("text").text(b).attr("x", c === "neo" ? M.x * 2 + h : M.width / 2 - h).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), w = k ? S + C + 150 : C + 100, v.append("g").attr("class", "lineWrapper").append("line").attr("x1", h).attr("y1", w).attr("x2", M.width + 3 * h).attr("y2", w).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", `url(#${n}-arrowhead)`), c === "neo" && f && l !== "neutral") {
765
765
  let e = v.select("defs"), t = (e.empty() ? v.append("defs") : e).append("linearGradient").attr("id", v.attr("id") + "-gradient").attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
766
766
  t.append("stop").attr("offset", "0%").attr("stop-color", p).attr("stop-opacity", 1), t.append("stop").attr("offset", "100%").attr("stop-color", m).attr("stop-opacity", 1);
767
767
  }
768
- e(void 0, v, o.timeline?.padding ?? 50, o.timeline?.useMaxWidth ?? !1);
769
- }, "draw"), W = /* @__PURE__ */ l(function(e, t, n, r, i, a, o, s, l, u, d, f) {
770
- for (let s of t) {
771
- let t = {
772
- descr: s.task,
773
- section: n,
774
- number: n,
768
+ a(void 0, v, s.timeline?.padding ?? 50, s.timeline?.useMaxWidth ?? !1);
769
+ }, "draw"), W = /* @__PURE__ */ t(function(t, n, r, i, a, o, s, c, l, u, d, f) {
770
+ for (let c of n) {
771
+ let n = {
772
+ descr: c.task,
773
+ section: r,
774
+ number: r,
775
775
  width: 150,
776
776
  padding: 20,
777
- maxHeight: a
777
+ maxHeight: o
778
778
  };
779
- c.debug("taskNode", t);
780
- let u = e.append("g").attr("class", "taskWrapper"), p = U.drawNode(u, t, n, o, f).height;
781
- if (c.debug("taskHeight after draw", p), u.attr("transform", `translate(${r}, ${i})`), a = Math.max(a, p), s.events) {
782
- let t = e.append("g").attr("class", "lineWrapper"), c = a;
783
- i += 100, c += fe(e, s.events, n, r, i, o, f), i -= 100, t.append("line").attr("x1", r + 190 / 2).attr("y1", i + a).attr("x2", r + 190 / 2).attr("y2", i + a + 100 + l + 100).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", `url(#${f}-arrowhead)`).attr("stroke-dasharray", "5,5");
779
+ e.debug("taskNode", n);
780
+ let u = t.append("g").attr("class", "taskWrapper"), p = U.drawNode(u, n, r, s, f).height;
781
+ if (e.debug("taskHeight after draw", p), u.attr("transform", `translate(${i}, ${a})`), o = Math.max(o, p), c.events) {
782
+ let e = t.append("g").attr("class", "lineWrapper"), n = o;
783
+ a += 100, n += fe(t, c.events, r, i, a, s, f), a -= 100, e.append("line").attr("x1", i + 190 / 2).attr("y1", a + o).attr("x2", i + 190 / 2).attr("y2", a + o + 100 + l + 100).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", `url(#${f}-arrowhead)`).attr("stroke-dasharray", "5,5");
784
784
  }
785
- r += 200, d && !o.timeline?.disableMulticolor && n++;
785
+ i += 200, d && !s.timeline?.disableMulticolor && r++;
786
786
  }
787
- i -= 10;
788
- }, "drawTasks"), fe = /* @__PURE__ */ l(function(e, t, n, r, i, a, o) {
789
- let s = 0, l = i;
790
- i += 100;
791
- for (let l of t) {
792
- let t = {
787
+ a -= 10;
788
+ }, "drawTasks"), fe = /* @__PURE__ */ t(function(t, n, r, i, a, o, s) {
789
+ let c = 0, l = a;
790
+ a += 100;
791
+ for (let l of n) {
792
+ let n = {
793
793
  descr: l,
794
- section: n,
795
- number: n,
794
+ section: r,
795
+ number: r,
796
796
  width: 150,
797
797
  padding: 20,
798
798
  maxHeight: 50
799
799
  };
800
- c.debug("eventNode", t);
801
- let u = e.append("g").attr("class", "eventWrapper"), d = U.drawNode(u, t, n, a, o, !0).height;
802
- s += d, u.attr("transform", `translate(${r}, ${i})`), i = i + 10 + d;
800
+ e.debug("eventNode", n);
801
+ let u = t.append("g").attr("class", "eventWrapper"), d = U.drawNode(u, n, r, o, s, !0).height;
802
+ c += d, u.attr("transform", `translate(${i}, ${a})`), a = a + 10 + d;
803
803
  }
804
- return i = l, s;
804
+ return a = l, c;
805
805
  }, "drawEvents"), pe = {
806
- setConf: /* @__PURE__ */ l(() => {}, "setConf"),
806
+ setConf: /* @__PURE__ */ t(() => {}, "setConf"),
807
807
  draw: de
808
- }, G = 200, K = 5, me = G + K * 2, q = G + 100, he = q + K * 2, J = 10, ge = 0, Y = 20, X = 20, Z = 30, Q = 50, _e = /* @__PURE__ */ l(function(t, n, r, a) {
809
- let o = i(), s = o.timeline?.leftMargin ?? 50;
810
- c.debug("timeline", a.db);
811
- let l = m(n);
812
- l.append("g");
813
- let u = a.db.getTasks(), d = a.db.getCommonDb().getDiagramTitle();
814
- c.debug("task", u), U.initGraphics(l);
815
- let f = a.db.getSections();
816
- c.debug("sections", f);
808
+ }, G = 200, K = 5, me = G + K * 2, q = G + 100, he = q + K * 2, J = 10, ge = 0, Y = 20, X = 20, Z = 30, Q = 50, _e = /* @__PURE__ */ t(function(t, n, r, i) {
809
+ let o = d(), s = o.timeline?.leftMargin ?? 50;
810
+ e.debug("timeline", i.db);
811
+ let c = m(n);
812
+ c.append("g");
813
+ let l = i.db.getTasks(), u = i.db.getCommonDb().getDiagramTitle();
814
+ e.debug("task", l), U.initGraphics(c);
815
+ let f = i.db.getSections();
816
+ e.debug("sections", f);
817
817
  let h = 0, g = 0, _ = 50 + s, v = 50, y = v, b = _, x = me + X, S = he + Q, C = b + x, w = 0, T = f && f.length > 0, E = T ? C : _ + x, D = Math.max(50, x + S - K * 2);
818
- f.forEach(function(e) {
819
- let t = {
818
+ f.forEach(function(t) {
819
+ let n = {
820
820
  number: w,
821
- descr: e,
821
+ descr: t,
822
822
  section: w,
823
823
  width: D,
824
824
  padding: K,
825
825
  maxHeight: h
826
- }, n = U.getVirtualNodeHeight(l, t, o);
827
- c.debug("sectionHeight before draw", n), h = Math.max(h, n);
826
+ }, r = U.getVirtualNodeHeight(c, n, o);
827
+ e.debug("sectionHeight before draw", r), h = Math.max(h, r);
828
828
  });
829
829
  let O = 0;
830
- c.debug("tasks.length", u.length);
831
- for (let [e, t] of u.entries()) {
832
- let n = {
833
- number: e,
834
- descr: t,
835
- section: t.section,
830
+ e.debug("tasks.length", l.length);
831
+ for (let [t, n] of l.entries()) {
832
+ let r = {
833
+ number: t,
834
+ descr: n,
835
+ section: n.section,
836
836
  width: G,
837
837
  padding: K,
838
838
  maxHeight: g
839
- }, r = U.getVirtualNodeHeight(l, n, o);
840
- c.debug("taskHeight before draw", r), g = Math.max(g, r);
841
- let i = 0;
842
- for (let e of t.events) {
843
- let n = {
839
+ }, i = U.getVirtualNodeHeight(c, r, o);
840
+ e.debug("taskHeight before draw", i), g = Math.max(g, i);
841
+ let a = 0;
842
+ for (let e of n.events) {
843
+ let t = {
844
844
  descr: e,
845
- section: t.section,
846
- number: t.section,
845
+ section: n.section,
846
+ number: n.section,
847
847
  width: q,
848
848
  padding: K,
849
849
  maxHeight: 50
850
850
  };
851
- i += U.getVirtualNodeHeight(l, n, o);
851
+ a += U.getVirtualNodeHeight(c, t, o);
852
852
  }
853
- t.events.length > 0 && (i += (t.events.length - 1) * J), O = Math.max(O, i) + ge;
853
+ n.events.length > 0 && (a += (n.events.length - 1) * J), O = Math.max(O, a) + ge;
854
854
  }
855
- c.debug("maxSectionHeight before draw", h), c.debug("maxTaskHeight before draw", g);
855
+ e.debug("maxSectionHeight before draw", h), e.debug("maxTaskHeight before draw", g);
856
856
  let k = Math.max(g, O) + Z;
857
- T ? f.forEach((e) => {
858
- let t = u.filter((t) => t.section === e), n = {
857
+ T ? f.forEach((t) => {
858
+ let n = l.filter((e) => e.section === t), r = {
859
859
  number: w,
860
- descr: e,
860
+ descr: t,
861
861
  section: w,
862
862
  width: D,
863
863
  padding: K,
864
864
  maxHeight: h
865
865
  };
866
- c.debug("sectionNode", n);
867
- let r = l.append("g"), i = U.drawNode(r, n, w, o);
868
- c.debug("sectionNode output", i);
869
- let a = E - x;
870
- r.attr("transform", `translate(${a}, ${v})`);
871
- let s = v + i.height + Y;
872
- t.length > 0 && $(l, t, w, E, s, g, o, k, !1);
873
- let d = t.length, f = i.height + Y + k * Math.max(d, 1) - (d > 0 ? Z * 2 : 0);
866
+ e.debug("sectionNode", r);
867
+ let i = c.append("g"), a = U.drawNode(i, r, w, o);
868
+ e.debug("sectionNode output", a);
869
+ let s = E - x;
870
+ i.attr("transform", `translate(${s}, ${v})`);
871
+ let u = v + a.height + Y;
872
+ n.length > 0 && $(c, n, w, E, u, g, o, k, !1);
873
+ let d = n.length, f = a.height + Y + k * Math.max(d, 1) - (d > 0 ? Z * 2 : 0);
874
874
  v += f, w++;
875
- }) : $(l, u, w, E, v, g, o, k, !0);
876
- let A = l.node()?.getBBox();
875
+ }) : $(c, l, w, E, v, g, o, k, !0);
876
+ let A = c.node()?.getBBox();
877
877
  if (!A) throw Error("bbox not found");
878
- if (c.debug("bounds", A), d) {
879
- if (l.append("text").text(d).attr("x", A.width / 2 - s).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), A = l.node()?.getBBox(), !A) throw Error("bbox not found");
880
- c.debug("bounds after title", A);
878
+ if (e.debug("bounds", A), u) {
879
+ if (c.append("text").text(u).attr("x", A.width / 2 - s).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), A = c.node()?.getBBox(), !A) throw Error("bbox not found");
880
+ e.debug("bounds after title", A);
881
881
  }
882
- let [j] = p(o.fontSize), M = (j ?? 16) * 2, N = (j ?? 16) * .5 + 20, P = l.append("g").attr("class", "lineWrapper");
883
- P.append("line").attr("x1", E).attr("y1", y - M).attr("x2", E).attr("y2", A.y + A.height + N).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), P.lower(), e(void 0, l, o.timeline?.padding ?? 50, o.timeline?.useMaxWidth ?? !1);
884
- }, "draw"), $ = /* @__PURE__ */ l(function(e, t, n, r, i, a, o, s, l) {
885
- for (let u of t) {
886
- let t = {
882
+ let [j] = p(o.fontSize), M = (j ?? 16) * 2, N = (j ?? 16) * .5 + 20, P = c.append("g").attr("class", "lineWrapper");
883
+ P.append("line").attr("x1", E).attr("y1", y - M).attr("x2", E).attr("y2", A.y + A.height + N).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), P.lower(), a(void 0, c, o.timeline?.padding ?? 50, o.timeline?.useMaxWidth ?? !1);
884
+ }, "draw"), $ = /* @__PURE__ */ t(function(t, n, r, i, a, o, s, c, l) {
885
+ for (let u of n) {
886
+ let n = {
887
887
  descr: u.task,
888
- section: n,
889
- number: n,
888
+ section: r,
889
+ number: r,
890
890
  width: G,
891
891
  padding: K,
892
- maxHeight: a
892
+ maxHeight: o
893
893
  };
894
- c.debug("taskNode", t);
895
- let d = e.append("g").attr("class", "taskWrapper"), f = U.drawNode(d, t, n, o), p = f.height;
896
- c.debug("taskHeight after draw", p);
897
- let m = r - X - f.width;
898
- if (d.attr("transform", `translate(${m}, ${i})`), a = Math.max(a, p), u.events && u.events.length > 0) {
899
- let t = i, a = r + Q;
900
- ve(e, u.events, n, r, a, t, o);
894
+ e.debug("taskNode", n);
895
+ let d = t.append("g").attr("class", "taskWrapper"), f = U.drawNode(d, n, r, s), p = f.height;
896
+ e.debug("taskHeight after draw", p);
897
+ let m = i - X - f.width;
898
+ if (d.attr("transform", `translate(${m}, ${a})`), o = Math.max(o, p), u.events && u.events.length > 0) {
899
+ let e = a, n = i + Q;
900
+ ve(t, u.events, r, i, n, e, s);
901
901
  }
902
- i += s, l && !o.timeline?.disableMulticolor && n++;
902
+ a += c, l && !s.timeline?.disableMulticolor && r++;
903
903
  }
904
- }, "drawTasks"), ve = /* @__PURE__ */ l(function(e, t, n, r, i, a, o) {
905
- let s = a;
906
- for (let a of t) {
907
- let t = {
908
- descr: a,
909
- section: n,
910
- number: n,
904
+ }, "drawTasks"), ve = /* @__PURE__ */ t(function(t, n, r, i, a, o, s) {
905
+ let c = o;
906
+ for (let o of n) {
907
+ let n = {
908
+ descr: o,
909
+ section: r,
910
+ number: r,
911
911
  width: q,
912
912
  padding: K,
913
913
  maxHeight: 0
914
914
  };
915
- c.debug("eventNode", t);
916
- let l = e.append("g").attr("class", "eventWrapper"), u = U.drawNode(l, t, n, o).height;
917
- l.attr("transform", `translate(${i}, ${s})`);
918
- let d = e.append("g").attr("class", "lineWrapper"), f = s + u / 2;
919
- d.append("line").attr("x1", r).attr("y1", f).attr("x2", i).attr("y2", f).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5"), s = s + u + J;
915
+ e.debug("eventNode", n);
916
+ let l = t.append("g").attr("class", "eventWrapper"), u = U.drawNode(l, n, r, s).height;
917
+ l.attr("transform", `translate(${a}, ${c})`);
918
+ let d = t.append("g").attr("class", "lineWrapper"), f = c + u / 2;
919
+ d.append("line").attr("x1", i).attr("y1", f).attr("x2", a).attr("y2", f).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5"), c = c + u + J;
920
920
  }
921
- return s - a;
921
+ return c - o;
922
922
  }, "drawEvents"), ye = {
923
- setConf: /* @__PURE__ */ l(() => {}, "setConf"),
923
+ setConf: /* @__PURE__ */ t(() => {}, "setConf"),
924
924
  draw: _e
925
- }, be = /* @__PURE__ */ l((e) => {
925
+ }, be = /* @__PURE__ */ t((e) => {
926
926
  let { theme: t } = s(), n = t?.includes("dark"), r = t?.includes("color"), i = e.svgId?.replace(/^#/, "") ?? "", a = i ? `url(#${i}-drop-shadow)` : e.dropShadow ?? "none", o = "";
927
927
  for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) {
928
928
  let i = `${17 - 3 * t}`, s = r ? e.borderColorArray[t] : e.mainBkg, c = r ? e.borderColorArray[t] : e.nodeBorder;
@@ -976,35 +976,35 @@ var ce = /* @__PURE__ */ l(function(e, t, n, r, i, a = !1) {
976
976
  `;
977
977
  }
978
978
  return o;
979
- }, "genReduxSections"), xe = /* @__PURE__ */ l((e) => {
980
- let r = "";
981
- for (let r = 0; r < e.THEME_COLOR_LIMIT; r++) e["lineColor" + r] = e["lineColor" + r] || e["cScaleInv" + r], a(e["lineColor" + r]) ? e["lineColor" + r] = t(e["lineColor" + r], 20) : e["lineColor" + r] = n(e["lineColor" + r], 20);
982
- for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) {
983
- let n = "" + (17 - 3 * t);
984
- r += `
985
- .section-${t - 1} rect, .section-${t - 1} path, .section-${t - 1} circle, .section-${t - 1} path {
986
- fill: ${e["cScale" + t]};
979
+ }, "genReduxSections"), xe = /* @__PURE__ */ t((e) => {
980
+ let t = "";
981
+ for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) e["lineColor" + t] = e["lineColor" + t] || e["cScaleInv" + t], l(e["lineColor" + t]) ? e["lineColor" + t] = c(e["lineColor" + t], 20) : e["lineColor" + t] = i(e["lineColor" + t], 20);
982
+ for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) {
983
+ let r = "" + (17 - 3 * n);
984
+ t += `
985
+ .section-${n - 1} rect, .section-${n - 1} path, .section-${n - 1} circle, .section-${n - 1} path {
986
+ fill: ${e["cScale" + n]};
987
987
  }
988
- .section-${t - 1} text {
989
- fill: ${e["cScaleLabel" + t]};
988
+ .section-${n - 1} text {
989
+ fill: ${e["cScaleLabel" + n]};
990
990
  }
991
- .node-icon-${t - 1} {
991
+ .node-icon-${n - 1} {
992
992
  font-size: 40px;
993
- color: ${e["cScaleLabel" + t]};
993
+ color: ${e["cScaleLabel" + n]};
994
994
  }
995
- .section-edge-${t - 1}{
996
- stroke: ${e["cScale" + t]};
995
+ .section-edge-${n - 1}{
996
+ stroke: ${e["cScale" + n]};
997
997
  }
998
- .edge-depth-${t - 1}{
999
- stroke-width: ${n};
998
+ .edge-depth-${n - 1}{
999
+ stroke-width: ${r};
1000
1000
  }
1001
- .section-${t - 1} line {
1002
- stroke: ${e["cScaleInv" + t]} ;
1001
+ .section-${n - 1} line {
1002
+ stroke: ${e["cScaleInv" + n]} ;
1003
1003
  stroke-width: 3;
1004
1004
  }
1005
1005
 
1006
1006
  .lineWrapper line{
1007
- stroke: ${e["cScaleLabel" + t]} ;
1007
+ stroke: ${e["cScaleLabel" + n]} ;
1008
1008
  }
1009
1009
 
1010
1010
  .disabled, .disabled circle, .disabled text {
@@ -1015,15 +1015,15 @@ var ce = /* @__PURE__ */ l(function(e, t, n, r, i, a = !1) {
1015
1015
  }
1016
1016
  `;
1017
1017
  }
1018
- return r;
1018
+ return t;
1019
1019
  }, "genSections"), Se = {
1020
1020
  db: _,
1021
1021
  renderer: {
1022
- setConf: /* @__PURE__ */ l(() => {}, "setConf"),
1023
- draw: /* @__PURE__ */ l((e, t, n, r) => (r?.db?.getDirection?.() ?? "LR") === "TD" ? ye.draw(e, t, n, r) : pe.draw(e, t, n, r), "draw")
1022
+ setConf: /* @__PURE__ */ t(() => {}, "setConf"),
1023
+ draw: /* @__PURE__ */ t((e, t, n, r) => (r?.db?.getDirection?.() ?? "LR") === "TD" ? ye.draw(e, t, n, r) : pe.draw(e, t, n, r), "draw")
1024
1024
  },
1025
1025
  parser: g,
1026
- styles: /* @__PURE__ */ l((e) => {
1026
+ styles: /* @__PURE__ */ t((e) => {
1027
1027
  let { theme: t } = s(), n = t?.includes("redux"), r = t === "neutral", i = e.svgId?.replace(/^#/, "") ?? "", a = "";
1028
1028
  if (e.useGradient && i && e.THEME_COLOR_LIMIT && !r) for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) a += `
1029
1029
  .section-${t - 1}[data-look="neo"] rect,