@sme.up/ketchup2 2.1.0 → 2.3.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 (417) 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-u2vgZv3N.js → architectureDiagram-3BPJPVTR-EFK4DMha.js} +167 -166
  7. package/dist/assets/buttonListAssets.d.ts +8 -0
  8. package/dist/assets/buttonListAssets.d.ts.map +1 -1
  9. package/dist/basic-components/button/button-types.d.ts +4 -0
  10. package/dist/basic-components/button/button-types.d.ts.map +1 -1
  11. package/dist/basic-components/button-dropdown/button-dropdown-types.d.ts +16 -0
  12. package/dist/basic-components/button-dropdown/button-dropdown-types.d.ts.map +1 -0
  13. package/dist/basic-components/button-dropdown/button-dropdown.d.ts +4 -0
  14. package/dist/basic-components/button-dropdown/button-dropdown.d.ts.map +1 -0
  15. package/dist/basic-components/button-list/button-list-types.d.ts +6 -0
  16. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
  17. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  18. package/dist/basic-components/cell/cell-utils.d.ts +13 -5
  19. package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
  20. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  21. package/dist/basic-components/icon/icon.d.ts.map +1 -1
  22. package/dist/basic-components/image/image.d.ts.map +1 -1
  23. package/dist/basic-components/image-cell/image-cell-types.d.ts +12 -3
  24. package/dist/basic-components/image-cell/image-cell-types.d.ts.map +1 -1
  25. package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
  26. package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
  27. package/dist/basic-components/text/text.d.ts.map +1 -1
  28. package/dist/basic-components/text-editor/text-editor-utils.d.ts +11 -0
  29. package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
  30. package/dist/basic-components/text-editor/text-editor.d.ts.map +1 -1
  31. package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
  32. package/dist/basic-components/textarea/textarea-types.d.ts.map +1 -1
  33. package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
  34. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  35. package/dist/{blockDiagram-DXYQGD6D-BpB6_kTP.js → blockDiagram-GPEHLZMM-C3UgY0Z5.js} +999 -877
  36. package/dist/blockDiagram-GPEHLZMM-CuzoKhJT.cjs +132 -0
  37. package/dist/{c4Diagram-AHTNJAMY-CX5IjREU.cjs → c4Diagram-AAUBKEIU-DU8uXbgK.cjs} +6 -6
  38. package/dist/{c4Diagram-AHTNJAMY-B5Z8nO1s.js → c4Diagram-AAUBKEIU-klnmEOUo.js} +279 -279
  39. package/dist/channel-BbRDdbmM.js +5 -0
  40. package/dist/channel-intTktDQ.cjs +1 -0
  41. package/dist/chunk-2J33WTMH-EmvF7iYC.js +25 -0
  42. package/dist/chunk-2J33WTMH-PlcpVW8G.cjs +1 -0
  43. package/dist/{chunk-5FUZZQ4R-2kdZJWq2.js → chunk-3OPIFGDE-C7wE5oN7.js} +957 -929
  44. package/dist/chunk-3OPIFGDE-CT5oNC5X.cjs +62 -0
  45. package/dist/{chunk-4BX2VUAB-BW54-JWg.js → chunk-4BX2VUAB-BO1KRGb1.js} +1 -1
  46. package/dist/{chunk-4BX2VUAB-Qba52sxc.cjs → chunk-4BX2VUAB-CtDGlaPx.cjs} +1 -1
  47. package/dist/{chunk-7N4EOEYR-C-GuhRgW.js → chunk-4EGX6M5U-BMVrizoY.js} +12 -12
  48. package/dist/{chunk-7N4EOEYR-jNBQwvHx.cjs → chunk-4EGX6M5U-VENLmgBt.cjs} +1 -1
  49. package/dist/{chunk-55IACEB6-DPatBzu7.cjs → chunk-55IACEB6-VJP3Osm7.cjs} +1 -1
  50. package/dist/{chunk-55IACEB6-Bu3k0Yz5.js → chunk-55IACEB6-b_Ivgrk-.js} +1 -1
  51. package/dist/chunk-5DO6E6H7-Cx6Mfbjl.cjs +1 -0
  52. package/dist/chunk-5DO6E6H7-QuTLwcim.js +23 -0
  53. package/dist/chunk-5ZQYHXKU-BMnKD7Zq.cjs +2 -0
  54. package/dist/{chunk-5PVQY5BW-C5U7sJAA.js → chunk-5ZQYHXKU-C4uam08j.js} +527 -461
  55. package/dist/chunk-727SXJPM-DTmqhRKX.cjs +206 -0
  56. package/dist/{chunk-4TB4RGXK-CKyHmNcP.js → chunk-727SXJPM-Dof0vDVV.js} +650 -554
  57. package/dist/{chunk-OYMX7WX6-BCT45RPu.cjs → chunk-AQP2D5EJ-DdWeFQ4O.cjs} +5 -5
  58. package/dist/{chunk-OYMX7WX6-BQADsxYi.js → chunk-AQP2D5EJ-N9ii4fwJ.js} +349 -339
  59. package/dist/{chunk-LIHQZDEY-59I4-LWb.js → chunk-BR22UD5L-CS6hURQQ.js} +15 -15
  60. package/dist/{chunk-LIHQZDEY-CrogR3nT.cjs → chunk-BR22UD5L-wI1vkyAT.cjs} +1 -1
  61. package/dist/{chunk-BSJP7CBP-oNTXVRA7.js → chunk-BSJP7CBP-Bx5APwBA.js} +1 -1
  62. package/dist/{chunk-BSJP7CBP-CFzYPvgr.cjs → chunk-BSJP7CBP-CaeBFqNU.cjs} +1 -1
  63. package/dist/{chunk-ICPOFSXX-Sn6LWD0k.js → chunk-CSCIHK7Q-9WKhcDqw.js} +558 -460
  64. package/dist/chunk-CSCIHK7Q-BPMuICCz.cjs +123 -0
  65. package/dist/chunk-FHYWG6QK-CfRqYwCI.js +23 -0
  66. package/dist/chunk-FHYWG6QK-DxmnARsZ.cjs +1 -0
  67. package/dist/{chunk-FMBD7UC4-RRSc9jqt.js → chunk-FMBD7UC4-BbggSGOg.js} +1 -1
  68. package/dist/{chunk-FMBD7UC4-CS9_r76V.cjs → chunk-FMBD7UC4-CiO_59ls.cjs} +1 -1
  69. package/dist/{chunk-ENJZ2VHE-BluGQPyl.js → chunk-KSCS5N6A-BY1s4eGg.js} +205 -205
  70. package/dist/chunk-KSCS5N6A-DO8jEi0y.cjs +10 -0
  71. package/dist/{chunk-ZZ45TVLE-AQQsnXy4.cjs → chunk-L5ZTLDWV-BE9udiOh.cjs} +1 -1
  72. package/dist/{chunk-ZZ45TVLE-CIYrdg-O.js → chunk-L5ZTLDWV-D3UwMopa.js} +8 -8
  73. package/dist/{chunk-336JU56O-CuXRn1VH.cjs → chunk-LZXEDZCA-Dpz_wx3M.cjs} +1 -1
  74. package/dist/{chunk-336JU56O-xKPgkG3O.js → chunk-LZXEDZCA-KzBFuWPU.js} +18 -18
  75. package/dist/chunk-MPE355IW-4bpROspE.js +23 -0
  76. package/dist/chunk-MPE355IW-CxPw_dPP.cjs +1 -0
  77. package/dist/chunk-MZUSXYTE-DA5mUG5B.js +30 -0
  78. package/dist/chunk-MZUSXYTE-DIg1BPts.cjs +1 -0
  79. package/dist/chunk-N66VUXT2-DSbygtq1.cjs +1 -0
  80. package/dist/chunk-N66VUXT2-pDZ1b-B3.js +54 -0
  81. package/dist/{chunk-YZCP3GAM-9K9WNdyN.js → chunk-ND2GUHAM-CHTke4K8.js} +17 -17
  82. package/dist/{chunk-YZCP3GAM-BmaAafMm.cjs → chunk-ND2GUHAM-DdBSZTft.cjs} +1 -1
  83. package/dist/chunk-NNHCCRGN-D_orSz6n.js +20630 -0
  84. package/dist/chunk-NNHCCRGN-aKMHXBzL.cjs +159 -0
  85. package/dist/{chunk-X2U36JSP-CY7mJR8m.js → chunk-NZK2D7GU-BVOINLmx.js} +13 -13
  86. package/dist/{chunk-X2U36JSP-D1RYKjVc.cjs → chunk-NZK2D7GU-_twqedIe.cjs} +1 -1
  87. package/dist/{chunk-U2HBQHQK-D0AoQWxK.cjs → chunk-O5CBEL6O-CDvi2oZo.cjs} +6 -6
  88. package/dist/{chunk-U2HBQHQK-BZ3YFMXB.js → chunk-O5CBEL6O-VsMF4aZB.js} +108 -108
  89. package/dist/chunk-PUPMXCY4-CKjhJQnN.js +23 -0
  90. package/dist/chunk-PUPMXCY4-DsS_t57r.cjs +1 -0
  91. package/dist/{chunk-QZHKN3VN-CSMKL2rB.cjs → chunk-QZHKN3VN-CHjRGMI2.cjs} +1 -1
  92. package/dist/{chunk-QZHKN3VN-Bx8I6l3c.js → chunk-QZHKN3VN-DCddt14Q.js} +1 -1
  93. package/dist/chunk-UIBZB4QT-BZf7vqd9.cjs +1 -0
  94. package/dist/chunk-UIBZB4QT-BvFllM0Q.js +23 -0
  95. package/dist/chunk-WCWK7LTN-D_C1as0Y.js +31 -0
  96. package/dist/chunk-WCWK7LTN-Dl2uC9ZD.cjs +1 -0
  97. package/dist/chunk-WU5MYG2G-DgyP9QDj.cjs +1 -0
  98. package/dist/chunk-WU5MYG2G-mQn7Wt-i.js +9 -0
  99. package/dist/{chunk-XPW4576I-BcWkx-AL.js → chunk-XPW4576I-BCowsgDU.js} +1 -1
  100. package/dist/{chunk-XPW4576I-D8Pp6a3j.cjs → chunk-XPW4576I-D_mwgMVU.cjs} +1 -1
  101. package/dist/classDiagram-4FO5ZUOK-5DyhpZRK.cjs +1 -0
  102. package/dist/classDiagram-4FO5ZUOK-BHGLQIkz.js +29 -0
  103. package/dist/classDiagram-v2-Q7XG4LA2-CCAbBo05.js +29 -0
  104. package/dist/classDiagram-v2-Q7XG4LA2-D4TX4CLT.cjs +1 -0
  105. package/dist/components/dash-list/assets/dash-list.data.d.ts +1 -0
  106. package/dist/components/dash-list/assets/dash-list.data.d.ts.map +1 -1
  107. package/dist/components/dash-list/dash-list-types.d.ts +1 -0
  108. package/dist/components/dash-list/dash-list-types.d.ts.map +1 -1
  109. package/dist/components/dash-list/dash-list.d.ts.map +1 -1
  110. package/dist/components/dash-list/dash-list.utils.d.ts +0 -3
  111. package/dist/components/dash-list/dash-list.utils.d.ts.map +1 -1
  112. package/dist/components/drawer/drawer-types.d.ts +4 -0
  113. package/dist/components/drawer/drawer-types.d.ts.map +1 -1
  114. package/dist/components/field/field.d.ts.map +1 -1
  115. package/dist/components/htm/htm-types.d.ts +4 -0
  116. package/dist/components/htm/htm-types.d.ts.map +1 -1
  117. package/dist/components/htm/htm.d.ts.map +1 -1
  118. package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
  119. package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
  120. package/dist/components/pdf/pdf-types.d.ts +8 -0
  121. package/dist/components/pdf/pdf-types.d.ts.map +1 -1
  122. package/dist/components/pdf/pdf-utils.d.ts +1 -1
  123. package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
  124. package/dist/components/pdf/pdf.d.ts.map +1 -1
  125. package/dist/components/planner/planner-assets.d.ts +2 -2
  126. package/dist/components/planner/planner-assets.d.ts.map +1 -1
  127. package/dist/components/planner/planner-types.d.ts +1 -1
  128. package/dist/components/planner/planner-types.d.ts.map +1 -1
  129. package/dist/components/planner/planner-utils.d.ts +7 -5
  130. package/dist/components/planner/planner-utils.d.ts.map +1 -1
  131. package/dist/components/planner/planner.d.ts.map +1 -1
  132. package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
  133. package/dist/components/scaffold/scaffold-types.d.ts +1 -0
  134. package/dist/components/scaffold/scaffold-types.d.ts.map +1 -1
  135. package/dist/components/timeline/timeline-types.d.ts +6 -2
  136. package/dist/components/timeline/timeline-types.d.ts.map +1 -1
  137. package/dist/components/timeline/timeline.d.ts.map +1 -1
  138. package/dist/components/toolbar/toolbar.d.ts.map +1 -1
  139. package/dist/components/tooltip/tooltip-assets.d.ts +1 -0
  140. package/dist/components/tooltip/tooltip-assets.d.ts.map +1 -1
  141. package/dist/components/tooltip/tooltip-types.d.ts +4 -16
  142. package/dist/components/tooltip/tooltip-types.d.ts.map +1 -1
  143. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  144. package/dist/{cose-bilkent-S5V4N54A-B30Rh9DR.js → cose-bilkent-S5V4N54A-Bfb7U01p.js} +26 -27
  145. package/dist/cose-bilkent-S5V4N54A-CE-7Sw0Y.cjs +1 -0
  146. package/dist/dagre-BM42HDAG-BhbA1R8l.cjs +4 -0
  147. package/dist/dagre-BM42HDAG-D87Rv2R4.js +297 -0
  148. package/dist/dagre-CC68z3y6.cjs +1 -0
  149. package/dist/dagre-Cg4CV48I.js +1936 -0
  150. package/dist/diagram-2AECGRRQ-C6vI3yau.cjs +43 -0
  151. package/dist/{diagram-MMDJMWI5-DUUVPi55.js → diagram-2AECGRRQ-OSYCK0tv.js} +36 -36
  152. package/dist/diagram-5GNKFQAL-BS9rRMAe.cjs +10 -0
  153. package/dist/diagram-5GNKFQAL-DnquluB9.js +101 -0
  154. package/dist/diagram-KO2AKTUF-CFi6eQYd.js +431 -0
  155. package/dist/diagram-KO2AKTUF-CjA_KTJj.cjs +3 -0
  156. package/dist/{diagram-TYMM5635-Cpj8wfoJ.js → diagram-LMA3HP47-Cwm5bzeM.js} +38 -38
  157. package/dist/diagram-LMA3HP47-DBwSTp2j.cjs +24 -0
  158. package/dist/diagram-OG6HWLK6-BdLnbUYy.cjs +24 -0
  159. package/dist/{diagram-G4DWMVQ6-BkQnbCLv.js → diagram-OG6HWLK6-DvGk1j55.js} +93 -93
  160. package/dist/{dist-DL30VIBI.js → dist-9MKIBfY4.js} +1 -1
  161. package/dist/dist-DC1YYeHc.cjs +1 -0
  162. package/dist/{erDiagram-SMLLAGMA-D_ByPk0C.js → erDiagram-TEJ5UH35-B17mqgD_.js} +164 -164
  163. package/dist/erDiagram-TEJ5UH35-NlRiP_bX.cjs +85 -0
  164. package/dist/eventmodeling-FCH6USID-BVaFiLQO.js +3 -0
  165. package/dist/eventmodeling-FCH6USID-leiC8dtX.cjs +1 -0
  166. package/dist/{flowDiagram-DWJPFMVM-BWrkDnqc.js → flowDiagram-I6XJVG4X-C2G6Tgw_.js} +444 -444
  167. package/dist/{flowDiagram-DWJPFMVM-BbK42NaF.cjs → flowDiagram-I6XJVG4X-ChI_6giU.cjs} +9 -9
  168. package/dist/functional-components/action/action-types.d.ts +26 -1
  169. package/dist/functional-components/action/action-types.d.ts.map +1 -1
  170. package/dist/functional-components/action/action-utils.d.ts +13 -1
  171. package/dist/functional-components/action/action-utils.d.ts.map +1 -1
  172. package/dist/functional-components/action/action.d.ts.map +1 -1
  173. package/dist/functional-components/action-list/action-list.d.ts.map +1 -1
  174. package/dist/functional-components/action-list/dual-list/dual-list.d.ts.map +1 -1
  175. package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts +18 -0
  176. package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts.map +1 -0
  177. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts +106 -0
  178. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts.map +1 -0
  179. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts +2 -0
  180. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts.map +1 -0
  181. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts +38 -0
  182. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts.map +1 -0
  183. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +60 -0
  184. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -0
  185. package/dist/functional-components/{gantt → timeline-engine/components/gantt}/gantt.d.ts +3 -3
  186. package/dist/functional-components/timeline-engine/components/gantt/gantt.d.ts.map +1 -0
  187. package/dist/functional-components/{gantt → timeline-engine/components/gantt}/grid/gantt-grid.d.ts +3 -5
  188. package/dist/functional-components/timeline-engine/components/gantt/grid/gantt-grid.d.ts.map +1 -0
  189. package/dist/functional-components/timeline-engine/components/gantt/header/gantt-header.d.ts.map +1 -0
  190. package/dist/functional-components/timeline-engine/components/gantt/today-indicator/gantt-today-indicator.d.ts.map +1 -0
  191. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts +79 -0
  192. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts.map +1 -0
  193. package/dist/functional-components/timeline-engine/components/task-list/task-list-types.d.ts +27 -0
  194. package/dist/functional-components/timeline-engine/components/task-list/task-list-types.d.ts.map +1 -0
  195. package/dist/functional-components/{task-list → timeline-engine/components/task-list}/task-list-utils.d.ts +4 -4
  196. package/dist/functional-components/timeline-engine/components/task-list/task-list-utils.d.ts.map +1 -0
  197. package/dist/functional-components/timeline-engine/components/task-list/task-list.d.ts.map +1 -0
  198. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts +28 -0
  199. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts.map +1 -0
  200. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts +143 -0
  201. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -0
  202. package/dist/functional-components/timeline-engine/timeline-engine-utils.test.d.ts +2 -0
  203. package/dist/functional-components/timeline-engine/timeline-engine-utils.test.d.ts.map +1 -0
  204. package/dist/functional-components/timeline-engine/timeline-engine.d.ts +8 -0
  205. package/dist/functional-components/timeline-engine/timeline-engine.d.ts.map +1 -0
  206. package/dist/ganttDiagram-6RSMTGT7-B0DHqd7u.cjs +292 -0
  207. package/dist/{ganttDiagram-T4ZO3ILL-LuaYkUvj.js → ganttDiagram-6RSMTGT7-Bb6bqcaS.js} +278 -276
  208. package/dist/gitGraph-WXDBUCRP-BFFuTWG4.cjs +1 -0
  209. package/dist/gitGraph-WXDBUCRP-Fz2kRwJ-.js +3 -0
  210. package/dist/gitGraphDiagram-PVQCEYII-BzbgPrwe.cjs +106 -0
  211. package/dist/{gitGraphDiagram-UUTBAWPF-DKkENwcV.js → gitGraphDiagram-PVQCEYII-DiJUr7lO.js} +255 -255
  212. package/dist/graphlib-B1zohIOM.js +1266 -0
  213. package/dist/graphlib-B5AXIZA4.cjs +1 -0
  214. package/dist/hooks/useFloating.d.ts.map +1 -1
  215. package/dist/hooks/useFocusTrap.d.ts.map +1 -1
  216. package/dist/hooks/useGanttMath.d.ts +1 -1
  217. package/dist/hooks/useGanttMath.d.ts.map +1 -1
  218. package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
  219. package/dist/info-J43DQDTF-CLRXRK49.js +3 -0
  220. package/dist/info-J43DQDTF-CmpcAuH-.cjs +1 -0
  221. package/dist/infoDiagram-5YYISTIA-C8P9DHlE.js +19 -0
  222. package/dist/infoDiagram-5YYISTIA-fhwEAAjF.cjs +2 -0
  223. package/dist/{ishikawaDiagram-UXIWVN3A-Cl3Ivm8H.cjs → ishikawaDiagram-YF4QCWOH-j6IZz59g.cjs} +6 -6
  224. package/dist/{ishikawaDiagram-UXIWVN3A-DqbVPChK.js → ishikawaDiagram-YF4QCWOH-rqNbTKZp.js} +134 -134
  225. package/dist/{journeyDiagram-VCZTEJTY-XRc0J8gM.cjs → journeyDiagram-JHISSGLW-BhHdd4y3.cjs} +6 -6
  226. package/dist/{journeyDiagram-VCZTEJTY-DudduR0c.js → journeyDiagram-JHISSGLW-peUJlm3L.js} +180 -180
  227. package/dist/{kanban-definition-6JOO6SKY-DzEqE64J.js → kanban-definition-UN3LZRKU-DLxDqiQn.js} +151 -151
  228. package/dist/{kanban-definition-6JOO6SKY-Br87atRc.cjs → kanban-definition-UN3LZRKU-TUg1x5yJ.cjs} +8 -8
  229. package/dist/{katex-SAH56fvc.cjs → katex-HkVgAsLB.cjs} +1 -1
  230. package/dist/ketchup2.cjs.js +110 -106
  231. package/dist/ketchup2.css +1 -1
  232. package/dist/ketchup2.es.js +68073 -69871
  233. package/dist/{line-JyRBGWft.js → line-BhAnxCE8.js} +3 -3
  234. package/dist/line-CpcTW4h-.cjs +1 -0
  235. package/dist/{linear-CxHa1DsM.cjs → linear-D0eFmsG1.cjs} +1 -1
  236. package/dist/{linear-BsPvNLJv.js → linear-lSeWuvgy.js} +3 -3
  237. package/dist/{mermaid-parser.core-CERDf-UG.js → mermaid-parser.core-Dz33ts1l.js} +24 -19
  238. package/dist/mermaid-parser.core-HQxPJrkY.cjs +3 -0
  239. package/dist/{mindmap-definition-QFDTVHPH-BCq8zmLt.cjs → mindmap-definition-RKZ34NQL-D9BOsg5W.cjs} +29 -29
  240. package/dist/{mindmap-definition-QFDTVHPH-NGjPQ5SM.js → mindmap-definition-RKZ34NQL-DHkmUkxh.js} +148 -148
  241. package/dist/{ordinal-Civr0hZL.cjs → ordinal-BnUYNBtU.cjs} +1 -1
  242. package/dist/{ordinal-C-VoL0XF.js → ordinal-MD9_ORcM.js} +1 -1
  243. package/dist/packet-YPE3B663-BwjweAZY.cjs +1 -0
  244. package/dist/packet-YPE3B663-D1Hr9AQm.js +3 -0
  245. package/dist/pie-LRSECV5Y-CpDfN1P0.js +3 -0
  246. package/dist/pie-LRSECV5Y-I1-OkIXi.cjs +1 -0
  247. package/dist/{pieDiagram-DEJITSTG-DTeyzHmB.js → pieDiagram-4H26LBE5-ByA7ytZx.js} +40 -40
  248. package/dist/pieDiagram-4H26LBE5-CrLJh4L9.cjs +30 -0
  249. package/dist/{quadrantDiagram-34T5L4WZ-CCcJIf91.js → quadrantDiagram-W4KKPZXB-CHHpmu1l.js} +547 -520
  250. package/dist/quadrantDiagram-W4KKPZXB-CalC_db_.cjs +7 -0
  251. package/dist/radar-GUYGQ44K-BXt3oO8c.cjs +1 -0
  252. package/dist/radar-GUYGQ44K-ByzrmbOz.js +3 -0
  253. package/dist/{requirementDiagram-MS252O5E-BdOanuYe.js → requirementDiagram-4Y6WPE33-BVcDFSx8.js} +165 -165
  254. package/dist/requirementDiagram-4Y6WPE33-SsePLT8d.cjs +84 -0
  255. package/dist/sankeyDiagram-5OEKKPKP-BgvTZ7jd.cjs +40 -0
  256. package/dist/{sankeyDiagram-XADWPNL6-3wviN_U4.js → sankeyDiagram-5OEKKPKP-C-ODz9lV.js} +202 -153
  257. package/dist/{sequenceDiagram-FGHM5R23-DC8SjhFN.js → sequenceDiagram-3UESZ5HK-Cnc0aDO4.js} +786 -779
  258. package/dist/sequenceDiagram-3UESZ5HK-DEVLteqD.cjs +162 -0
  259. package/dist/src-BgvDIw01.cjs +1 -0
  260. package/dist/{src-BQiFKP24.js → src-v9RrE_4h.js} +578 -563
  261. package/dist/stateDiagram-AJRCARHV-CuHe6Iji.js +217 -0
  262. package/dist/stateDiagram-AJRCARHV-D_yPvIRw.cjs +1 -0
  263. package/dist/stateDiagram-v2-BHNVJYJU-CTnE6fOT.cjs +1 -0
  264. package/dist/stateDiagram-v2-BHNVJYJU-DqstYMSl.js +27 -0
  265. package/dist/{timeline-definition-GMOUNBTQ-CBnYBWN0.js → timeline-definition-PNZ67QCA-Bj1BItRB.js} +324 -324
  266. package/dist/{timeline-definition-GMOUNBTQ-DWpngnE4.cjs → timeline-definition-PNZ67QCA-Cynbc96w.cjs} +48 -48
  267. package/dist/treeView-BLDUP644-CxLhpd93.js +3 -0
  268. package/dist/treeView-BLDUP644-DMwVx0AR.cjs +1 -0
  269. package/dist/treemap-LRROVOQU-BqmiLdFI.js +3 -0
  270. package/dist/treemap-LRROVOQU-XhaFZdvI.cjs +1 -0
  271. package/dist/types/data-structures.d.ts +9 -1
  272. package/dist/types/data-structures.d.ts.map +1 -1
  273. package/dist/utils/data-structures.d.ts +2 -0
  274. package/dist/utils/data-structures.d.ts.map +1 -1
  275. package/dist/utils/style.d.ts +13 -2
  276. package/dist/utils/style.d.ts.map +1 -1
  277. package/dist/v4-BpDBEhLK.js +30 -0
  278. package/dist/v4-CA8ev9YY.cjs +1 -0
  279. package/dist/{vennDiagram-DHZGUBPP-M-kkEkXj.js → vennDiagram-CIIHVFJN-CdmcxixA.js} +192 -192
  280. package/dist/vennDiagram-CIIHVFJN-Dm4D6omA.cjs +34 -0
  281. package/dist/wardley-L42UT6IY-C7UjBmVh.js +3 -0
  282. package/dist/wardley-L42UT6IY-DFAYOpjD.cjs +1 -0
  283. package/dist/{wardleyDiagram-NUSXRM2D-thoOuA_D.cjs → wardleyDiagram-YWT4CUSO-C-DdutxP.cjs} +61 -3
  284. package/dist/{wardleyDiagram-NUSXRM2D-CUX1SYhw.js → wardleyDiagram-YWT4CUSO-D1o116Wi.js} +272 -206
  285. package/dist/{xychartDiagram-5P7HB3ND-1cXRZ1bi.js → xychartDiagram-2RQKCTM6-Byw7djcg.js} +213 -213
  286. package/dist/{xychartDiagram-5P7HB3ND-BF2WmJ4-.cjs → xychartDiagram-2RQKCTM6-D0D4PIQS.cjs} +6 -6
  287. package/package.json +1 -1
  288. package/dist/architecture-YZFGNWBL-BRqToLcm.js +0 -3
  289. package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +0 -1
  290. package/dist/architectureDiagram-Q4EWVU46-JSjagcXX.cjs +0 -36
  291. package/dist/blockDiagram-DXYQGD6D-DlcDXSwH.cjs +0 -132
  292. package/dist/channel-BY9Lkyz7.cjs +0 -1
  293. package/dist/channel-BqNr2cYO.js +0 -5
  294. package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +0 -23
  295. package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +0 -1
  296. package/dist/chunk-426QAEUC-Df31vuwu.cjs +0 -1
  297. package/dist/chunk-426QAEUC-JjFVHKYG.js +0 -9
  298. package/dist/chunk-4TB4RGXK-DdKJIFS5.cjs +0 -206
  299. package/dist/chunk-5FUZZQ4R-D_vnCbAb.cjs +0 -62
  300. package/dist/chunk-5PVQY5BW-CfQDYQZt.cjs +0 -2
  301. package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +0 -1
  302. package/dist/chunk-67CJDMHE-YMBkJcAO.js +0 -23
  303. package/dist/chunk-AA7GKIK3-B_ZB6dou.js +0 -30
  304. package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +0 -1
  305. package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +0 -1
  306. package/dist/chunk-CIAEETIT-XlxsAz-4.js +0 -23
  307. package/dist/chunk-D-IZpNpi.cjs +0 -1
  308. package/dist/chunk-EDXVE4YY-BZsJORf8.cjs +0 -1
  309. package/dist/chunk-EDXVE4YY-Bzf4FU3i.js +0 -25
  310. package/dist/chunk-ENJZ2VHE-CwgVASaU.cjs +0 -10
  311. package/dist/chunk-FOC6F5B3-DcZs851j.cjs +0 -1
  312. package/dist/chunk-FOC6F5B3-E9n6-juB.js +0 -23
  313. package/dist/chunk-ICPOFSXX-CoaJw-IT.cjs +0 -122
  314. package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +0 -94
  315. package/dist/chunk-K5T4RW27-DY7TOEqa.js +0 -16070
  316. package/dist/chunk-KGLVRYIC-5OJpfQCj.js +0 -23
  317. package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +0 -1
  318. package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +0 -1
  319. package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +0 -31
  320. package/dist/chunk-WQLz0Won.js +0 -20
  321. package/dist/classDiagram-6PBFFD2Q-B6betnLH.cjs +0 -1
  322. package/dist/classDiagram-6PBFFD2Q-XGxl_AeB.js +0 -29
  323. package/dist/classDiagram-v2-HSJHXN6E-CwayYG4G.js +0 -29
  324. package/dist/classDiagram-v2-HSJHXN6E-Dda8WDvn.cjs +0 -1
  325. package/dist/clone-Dn__H8fX.js +0 -8
  326. package/dist/clone-lShkT11Q.cjs +0 -1
  327. package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +0 -1
  328. package/dist/dagre-BjnWDdkw.cjs +0 -1
  329. package/dist/dagre-DVLnxd7n.js +0 -1606
  330. package/dist/dagre-KV5264BT-BjqayRYC.js +0 -293
  331. package/dist/dagre-KV5264BT-BvInGAUC.cjs +0 -4
  332. package/dist/diagram-5BDNPKRD-Bk7depC0.js +0 -101
  333. package/dist/diagram-5BDNPKRD-D6EXksHo.cjs +0 -10
  334. package/dist/diagram-G4DWMVQ6-CJASbR70.cjs +0 -24
  335. package/dist/diagram-MMDJMWI5-DEt7jQx9.cjs +0 -43
  336. package/dist/diagram-TYMM5635-5auoAFCi.cjs +0 -24
  337. package/dist/dist-BgvMZbfo.cjs +0 -1
  338. package/dist/erDiagram-SMLLAGMA-DVUT6TBy.cjs +0 -85
  339. package/dist/flatten-BE1bWL-7.js +0 -40
  340. package/dist/flatten-DxvYSoR8.cjs +0 -1
  341. package/dist/functional-components/gantt/bar/gantt-bar.d.ts +0 -17
  342. package/dist/functional-components/gantt/bar/gantt-bar.d.ts.map +0 -1
  343. package/dist/functional-components/gantt/gantt-assets.d.ts +0 -55
  344. package/dist/functional-components/gantt/gantt-assets.d.ts.map +0 -1
  345. package/dist/functional-components/gantt/gantt.d.ts.map +0 -1
  346. package/dist/functional-components/gantt/grid/gantt-grid.d.ts.map +0 -1
  347. package/dist/functional-components/gantt/header/gantt-header.d.ts.map +0 -1
  348. package/dist/functional-components/gantt/today-indicator/gantt-today-indicator.d.ts.map +0 -1
  349. package/dist/functional-components/gantt/types/gantt-types.d.ts +0 -47
  350. package/dist/functional-components/gantt/types/gantt-types.d.ts.map +0 -1
  351. package/dist/functional-components/task-list/task-list-types.d.ts +0 -22
  352. package/dist/functional-components/task-list/task-list-types.d.ts.map +0 -1
  353. package/dist/functional-components/task-list/task-list-utils.d.ts.map +0 -1
  354. package/dist/functional-components/task-list/task-list.d.ts.map +0 -1
  355. package/dist/ganttDiagram-T4ZO3ILL-DUi8jF9H.cjs +0 -292
  356. package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +0 -1
  357. package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +0 -3
  358. package/dist/gitGraphDiagram-UUTBAWPF-D-tMWUQ1.cjs +0 -106
  359. package/dist/graphlib-Cpifseqb.js +0 -373
  360. package/dist/graphlib-HdfvGLpV.cjs +0 -1
  361. package/dist/hooks/usePlannerSync.d.ts +0 -11
  362. package/dist/hooks/usePlannerSync.d.ts.map +0 -1
  363. package/dist/identity-KQSjemTb.cjs +0 -1
  364. package/dist/identity-g0dsMjx7.js +0 -393
  365. package/dist/info-OMHHGYJF-Bk0VWVNW.js +0 -3
  366. package/dist/info-OMHHGYJF-C8QtwF0k.cjs +0 -1
  367. package/dist/infoDiagram-42DDH7IO-CH5xHj8H.cjs +0 -2
  368. package/dist/infoDiagram-42DDH7IO-CLkQPFe0.js +0 -19
  369. package/dist/isEmpty-CA3kJuev.cjs +0 -1
  370. package/dist/isEmpty-RwX-oIQS.js +0 -35
  371. package/dist/line-BbHmiwbs.cjs +0 -1
  372. package/dist/mermaid-parser.core-DHpvGOZR.cjs +0 -3
  373. package/dist/packet-4T2RLAQJ-X0BMsNFj.js +0 -3
  374. package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +0 -1
  375. package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +0 -3
  376. package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +0 -1
  377. package/dist/pieDiagram-DEJITSTG-CK4xy0PS.cjs +0 -30
  378. package/dist/quadrantDiagram-34T5L4WZ-D-_iiK79.cjs +0 -7
  379. package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +0 -1
  380. package/dist/radar-PYXPWWZC-DgZIW9Ah.js +0 -3
  381. package/dist/reduce-B7WW9rkU.cjs +0 -1
  382. package/dist/reduce-DNnkcf3M.js +0 -532
  383. package/dist/requirementDiagram-MS252O5E-EfY029Xj.cjs +0 -84
  384. package/dist/sankeyDiagram-XADWPNL6-3jlM2UcU.cjs +0 -10
  385. package/dist/sequenceDiagram-FGHM5R23-lK1G3QLN.cjs +0 -157
  386. package/dist/src-DFxq-N5I.cjs +0 -1
  387. package/dist/stateDiagram-FHFEXIEX-DnkzFphf.js +0 -217
  388. package/dist/stateDiagram-FHFEXIEX-DsQigFuR.cjs +0 -1
  389. package/dist/stateDiagram-v2-QKLJ7IA2-2v8JiIJr.js +0 -27
  390. package/dist/stateDiagram-v2-QKLJ7IA2-UKKfWPoT.cjs +0 -1
  391. package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +0 -1
  392. package/dist/treeView-SZITEDCU-Df3xzFtO.js +0 -3
  393. package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +0 -1
  394. package/dist/treemap-W4RFUUIX-ClUtdSdn.js +0 -3
  395. package/dist/utils/wbs-utils.d.ts +0 -143
  396. package/dist/utils/wbs-utils.d.ts.map +0 -1
  397. package/dist/v4-6yr83DbP.cjs +0 -1
  398. package/dist/v4-BR71w5_q.js +0 -33
  399. package/dist/vennDiagram-DHZGUBPP-D-kj-sVU.cjs +0 -34
  400. package/dist/wardley-RL74JXVD-BtHQbnUy.js +0 -3
  401. package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +0 -1
  402. /package/dist/{array-D8NZ46Ht.js → array-CBdkHBGa.js} +0 -0
  403. /package/dist/{array-Dxz0O8Q3.cjs → array-Cx1JwiGD.cjs} +0 -0
  404. /package/dist/{cytoscape.esm-CrBwLFXE.cjs → cytoscape.esm-BzblyxzZ.cjs} +0 -0
  405. /package/dist/{cytoscape.esm-CPjF_mSK.js → cytoscape.esm-VShrX2U1.js} +0 -0
  406. /package/dist/{defaultLocale-DtzyZW63.cjs → defaultLocale-Bj_Ndo9V.cjs} +0 -0
  407. /package/dist/{defaultLocale-Dcyuaxxg.js → defaultLocale-dGy1YRID.js} +0 -0
  408. /package/dist/functional-components/{gantt → timeline-engine/components/gantt}/header/gantt-header.d.ts +0 -0
  409. /package/dist/functional-components/{gantt → timeline-engine/components/gantt}/today-indicator/gantt-today-indicator.d.ts +0 -0
  410. /package/dist/functional-components/{task-list → timeline-engine/components/task-list}/task-list.d.ts +0 -0
  411. /package/dist/{init-BO60vQHJ.js → init-B7h4SEX5.js} +0 -0
  412. /package/dist/{init-B2MubQrj.cjs → init-CEL65JUo.cjs} +0 -0
  413. /package/dist/{katex-Du5WiYIy.js → katex-DWDh1q_h.js} +0 -0
  414. /package/dist/{path-CvfwEr8y.js → path-CAXMhBzK.js} +0 -0
  415. /package/dist/{path-Civic7PQ.cjs → path-CRahBUHI.cjs} +0 -0
  416. /package/dist/{rough.esm-BLKo1fIQ.cjs → rough.esm-BEA_SCZB.cjs} +0 -0
  417. /package/dist/{rough.esm-1mqTSjCt.js → rough.esm-TWNWL4Us.js} +0 -0
@@ -1,292 +0,0 @@
1
- const e=require(`./chunk-D-IZpNpi.cjs`),t=require(`./chunk-ICPOFSXX-CoaJw-IT.cjs`),n=require(`./src-DFxq-N5I.cjs`),r=require(`./linear-CxHa1DsM.cjs`),i=require(`./init-B2MubQrj.cjs`),a=require(`./dist-BgvMZbfo.cjs`),o=require(`./chunk-5PVQY5BW-CfQDYQZt.cjs`);function s(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n<t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function c(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n>t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function l(e){return e}var u=1,d=2,f=3,p=4,m=1e-6;function h(e){return`translate(`+e+`,0)`}function g(e){return`translate(0,`+e+`)`}function _(e){return t=>+e(t)}function v(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function y(){return!this.__axis}function b(e,t){var n=[],r=null,i=null,a=6,o=6,s=3,c=typeof window<`u`&&window.devicePixelRatio>1?0:.5,b=e===u||e===p?-1:1,x=e===p||e===d?`x`:`y`,S=e===u||e===f?h:g;function C(h){var g=r??(t.ticks?t.ticks.apply(t,n):t.domain()),C=i??(t.tickFormat?t.tickFormat.apply(t,n):l),w=Math.max(a,0)+s,T=t.range(),E=+T[0]+c,D=+T[T.length-1]+c,O=(t.bandwidth?v:_)(t.copy(),c),k=h.selection?h.selection():h,A=k.selectAll(`.domain`).data([null]),j=k.selectAll(`.tick`).data(g,t).order(),M=j.exit(),N=j.enter().append(`g`).attr(`class`,`tick`),ee=j.select(`line`),P=j.select(`text`);A=A.merge(A.enter().insert(`path`,`.tick`).attr(`class`,`domain`).attr(`stroke`,`currentColor`)),j=j.merge(N),ee=ee.merge(N.append(`line`).attr(`stroke`,`currentColor`).attr(x+`2`,b*a)),P=P.merge(N.append(`text`).attr(`fill`,`currentColor`).attr(x,b*w).attr(`dy`,e===u?`0em`:e===f?`0.71em`:`0.32em`)),h!==k&&(A=A.transition(h),j=j.transition(h),ee=ee.transition(h),P=P.transition(h),M=M.transition(h).attr(`opacity`,m).attr(`transform`,function(e){return isFinite(e=O(e))?S(e+c):this.getAttribute(`transform`)}),N.attr(`opacity`,m).attr(`transform`,function(e){var t=this.parentNode.__axis;return S((t&&isFinite(t=t(e))?t:O(e))+c)})),M.remove(),A.attr(`d`,e===p||e===d?o?`M`+b*o+`,`+E+`H`+c+`V`+D+`H`+b*o:`M`+c+`,`+E+`V`+D:o?`M`+E+`,`+b*o+`V`+c+`H`+D+`V`+b*o:`M`+E+`,`+c+`H`+D),j.attr(`opacity`,1).attr(`transform`,function(e){return S(O(e)+c)}),ee.attr(x+`2`,b*a),P.attr(x,b*w).text(C),k.filter(y).attr(`fill`,`none`).attr(`font-size`,10).attr(`font-family`,`sans-serif`).attr(`text-anchor`,e===d?`start`:e===p?`end`:`middle`),k.each(function(){this.__axis=O})}return C.scale=function(e){return arguments.length?(t=e,C):t},C.ticks=function(){return n=Array.from(arguments),C},C.tickArguments=function(e){return arguments.length?(n=e==null?[]:Array.from(e),C):n.slice()},C.tickValues=function(e){return arguments.length?(r=e==null?null:Array.from(e),C):r&&r.slice()},C.tickFormat=function(e){return arguments.length?(i=e,C):i},C.tickSize=function(e){return arguments.length?(a=o=+e,C):a},C.tickSizeInner=function(e){return arguments.length?(a=+e,C):a},C.tickSizeOuter=function(e){return arguments.length?(o=+e,C):o},C.tickPadding=function(e){return arguments.length?(s=+e,C):s},C.offset=function(e){return arguments.length?(c=+e,C):c},C}function x(e){return b(u,e)}function S(e){return b(f,e)}var C=Math.PI/180,w=180/Math.PI,T=18,E=.96422,D=1,O=.82521,k=4/29,A=6/29,j=3*A*A,M=A*A*A;function N(e){if(e instanceof P)return new P(e.l,e.a,e.b,e.opacity);if(e instanceof F)return se(e);e instanceof n.c||(e=n.u(e));var t=ie(e.r),r=ie(e.g),i=ie(e.b),a=te((.2225045*t+.7168786*r+.0606169*i)/D),o,s;return t===r&&r===i?o=s=a:(o=te((.4360747*t+.3850649*r+.1430804*i)/E),s=te((.0139322*t+.0971045*r+.7141733*i)/O)),new P(116*a-16,500*(o-a),200*(a-s),e.opacity)}function ee(e,t,n,r){return arguments.length===1?N(e):new P(e,t,n,r??1)}function P(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}n.d(P,ee,n.f(n.s,{brighter(e){return new P(this.l+T*(e??1),this.a,this.b,this.opacity)},darker(e){return new P(this.l-T*(e??1),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return t=E*ne(t),e=D*ne(e),r=O*ne(r),new n.c(re(3.1338561*t-1.6168667*e-.4906146*r),re(-.9787684*t+1.9161415*e+.033454*r),re(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}}));function te(e){return e>M?e**(1/3):e/j+k}function ne(e){return e>A?e*e*e:j*(e-k)}function re(e){return 255*(e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055)}function ie(e){return(e/=255)<=.04045?e/12.92:((e+.055)/1.055)**2.4}function ae(e){if(e instanceof F)return new F(e.h,e.c,e.l,e.opacity);if(e instanceof P||(e=N(e)),e.a===0&&e.b===0)return new F(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*w;return new F(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function oe(e,t,n,r){return arguments.length===1?ae(e):new F(e,t,n,r??1)}function F(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function se(e){if(isNaN(e.h))return new P(e.l,0,0,e.opacity);var t=e.h*C;return new P(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}n.d(F,oe,n.f(n.s,{brighter(e){return new F(this.h,this.c,this.l+T*(e??1),this.opacity)},darker(e){return new F(this.h,this.c,this.l-T*(e??1),this.opacity)},rgb(){return se(this).rgb()}}));function ce(e){return function(t,r){var i=e((t=oe(t)).h,(r=oe(r)).h),a=n.a(t.c,r.c),o=n.a(t.l,r.l),s=n.a(t.opacity,r.opacity);return function(e){return t.h=i(e),t.c=a(e),t.l=o(e),t.opacity=s(e),t+``}}}var le=ce(n.i);n.a;function ue(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}var de=new Date,fe=new Date;function I(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>I(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(de.setTime(+t),fe.setTime(+r),e(de),e(fe),Math.floor(n(de,fe))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var pe=I(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);pe.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?I(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):pe),pe.range;var L=1e3,R=L*60,z=R*60,B=z*24,me=B*7,he=B*30,ge=B*365,V=I(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*L)},(e,t)=>(t-e)/L,e=>e.getUTCSeconds());V.range;var _e=I(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*L)},(e,t)=>{e.setTime(+e+t*R)},(e,t)=>(t-e)/R,e=>e.getMinutes());_e.range;var ve=I(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*R)},(e,t)=>(t-e)/R,e=>e.getUTCMinutes());ve.range;var ye=I(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*L-e.getMinutes()*R)},(e,t)=>{e.setTime(+e+t*z)},(e,t)=>(t-e)/z,e=>e.getHours());ye.range;var be=I(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*z)},(e,t)=>(t-e)/z,e=>e.getUTCHours());be.range;var H=I(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*R)/B,e=>e.getDate()-1);H.range;var xe=I(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/B,e=>e.getUTCDate()-1);xe.range;var Se=I(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/B,e=>Math.floor(e/B));Se.range;function U(e){return I(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*R)/me)}var Ce=U(0),we=U(1),Te=U(2),Ee=U(3),W=U(4),De=U(5),Oe=U(6);Ce.range,we.range,Te.range,Ee.range,W.range,De.range,Oe.range;function G(e){return I(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/me)}var ke=G(0),Ae=G(1),je=G(2),Me=G(3),Ne=G(4),Pe=G(5),Fe=G(6);ke.range,Ae.range,je.range,Me.range,Ne.range,Pe.range,Fe.range;var Ie=I(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());Ie.range;var Le=I(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());Le.range;var K=I(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());K.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:I(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),K.range;var q=I(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());q.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:I(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),q.range;function Re(e,t,n,i,a,o){let s=[[V,1,L],[V,5,5*L],[V,15,15*L],[V,30,30*L],[o,1,R],[o,5,5*R],[o,15,15*R],[o,30,30*R],[a,1,z],[a,3,3*z],[a,6,6*z],[a,12,12*z],[i,1,B],[i,2,2*B],[n,1,me],[t,1,he],[t,3,3*he],[e,1,ge]];function c(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&typeof n.range==`function`?n:l(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a}function l(t,n,i){let a=Math.abs(n-t)/i,o=r.a(([,,e])=>e).right(s,a);if(o===s.length)return e.every(r.i(t/ge,n/ge,i));if(o===0)return pe.every(Math.max(r.i(t,n,i),1));let[c,l]=s[a/s[o-1][2]<s[o][2]/a?o-1:o];return c.every(l)}return[c,l]}var[ze,Be]=Re(q,Le,ke,Se,be,ve),[Ve,He]=Re(K,Ie,Ce,H,ye,_e);function Ue(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function We(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Ge(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function Ke(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=Ze(i),u=Qe(i),d=Ze(a),f=Qe(a),p=Ze(o),m=Qe(o),h=Ze(s),g=Qe(s),_=Ze(c),v=Qe(c),y={a:N,A:ee,b:P,B:te,c:null,d:yt,e:yt,f:wt,g:Ft,G:Lt,H:bt,I:xt,j:St,L:Ct,m:Tt,M:Et,p:ne,q:re,Q:sn,s:cn,S:Dt,u:Ot,U:kt,V:jt,w:Mt,W:Nt,x:null,X:null,y:Pt,Y:It,Z:Rt,"%":on},b={a:ie,A:ae,b:oe,B:F,c:null,d:zt,e:zt,f:Wt,g:tn,G:rn,H:Bt,I:Vt,j:Ht,L:Ut,m:Gt,M:Kt,p:se,q:ce,Q:sn,s:cn,S:qt,u:Jt,U:Yt,V:Zt,w:Qt,W:$t,x:null,X:null,y:en,Y:nn,Z:an,"%":on},x={a:E,A:D,b:O,B:k,c:A,d:lt,e:lt,f:ht,g:at,G:it,H:dt,I:dt,j:ut,L:mt,m:ct,M:ft,p:T,q:st,Q:_t,s:vt,S:pt,u:et,U:tt,V:nt,w:$e,W:rt,x:j,X:M,y:at,Y:it,Z:ot,"%":gt};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=qe[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=Ge(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=We(Ge(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?Ae.ceil(a):Ae(a),a=xe.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=Ue(Ge(r.y,0,1)),o=a.getDay(),a=o>4||o===0?we.ceil(a):we(a),a=H.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else (`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?We(Ge(r.y,0,1)).getUTCDay():Ue(Ge(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,We(r)):Ue(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in qe?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function A(e,n,r){return w(e,t,n,r)}function j(e,t,r){return w(e,n,t,r)}function M(e,t,n){return w(e,r,t,n)}function N(e){return o[e.getDay()]}function ee(e){return a[e.getDay()]}function P(e){return c[e.getMonth()]}function te(e){return s[e.getMonth()]}function ne(e){return i[+(e.getHours()>=12)]}function re(e){return 1+~~(e.getMonth()/3)}function ie(e){return o[e.getUTCDay()]}function ae(e){return a[e.getUTCDay()]}function oe(e){return c[e.getUTCMonth()]}function F(e){return s[e.getUTCMonth()]}function se(e){return i[+(e.getUTCHours()>=12)]}function ce(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var qe={"-":``,_:` `,0:`0`},J=/^\s*\d+/,Je=/^%/,Ye=/[\\^$*+?|[\]().{}]/g;function Y(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function Xe(e){return e.replace(Ye,`\\$&`)}function Ze(e){return RegExp(`^(?:`+e.map(Xe).join(`|`)+`)`,`i`)}function Qe(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function $e(e,t,n){var r=J.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function et(e,t,n){var r=J.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function tt(e,t,n){var r=J.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function nt(e,t,n){var r=J.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function rt(e,t,n){var r=J.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function it(e,t,n){var r=J.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function at(e,t,n){var r=J.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function ot(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function st(e,t,n){var r=J.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function ct(e,t,n){var r=J.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function lt(e,t,n){var r=J.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function ut(e,t,n){var r=J.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function dt(e,t,n){var r=J.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function ft(e,t,n){var r=J.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function pt(e,t,n){var r=J.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function mt(e,t,n){var r=J.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function ht(e,t,n){var r=J.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function gt(e,t,n){var r=Je.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function _t(e,t,n){var r=J.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function vt(e,t,n){var r=J.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function yt(e,t){return Y(e.getDate(),t,2)}function bt(e,t){return Y(e.getHours(),t,2)}function xt(e,t){return Y(e.getHours()%12||12,t,2)}function St(e,t){return Y(1+H.count(K(e),e),t,3)}function Ct(e,t){return Y(e.getMilliseconds(),t,3)}function wt(e,t){return Ct(e,t)+`000`}function Tt(e,t){return Y(e.getMonth()+1,t,2)}function Et(e,t){return Y(e.getMinutes(),t,2)}function Dt(e,t){return Y(e.getSeconds(),t,2)}function Ot(e){var t=e.getDay();return t===0?7:t}function kt(e,t){return Y(Ce.count(K(e)-1,e),t,2)}function At(e){var t=e.getDay();return t>=4||t===0?W(e):W.ceil(e)}function jt(e,t){return e=At(e),Y(W.count(K(e),e)+(K(e).getDay()===4),t,2)}function Mt(e){return e.getDay()}function Nt(e,t){return Y(we.count(K(e)-1,e),t,2)}function Pt(e,t){return Y(e.getFullYear()%100,t,2)}function Ft(e,t){return e=At(e),Y(e.getFullYear()%100,t,2)}function It(e,t){return Y(e.getFullYear()%1e4,t,4)}function Lt(e,t){var n=e.getDay();return e=n>=4||n===0?W(e):W.ceil(e),Y(e.getFullYear()%1e4,t,4)}function Rt(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+Y(t/60|0,`0`,2)+Y(t%60,`0`,2)}function zt(e,t){return Y(e.getUTCDate(),t,2)}function Bt(e,t){return Y(e.getUTCHours(),t,2)}function Vt(e,t){return Y(e.getUTCHours()%12||12,t,2)}function Ht(e,t){return Y(1+xe.count(q(e),e),t,3)}function Ut(e,t){return Y(e.getUTCMilliseconds(),t,3)}function Wt(e,t){return Ut(e,t)+`000`}function Gt(e,t){return Y(e.getUTCMonth()+1,t,2)}function Kt(e,t){return Y(e.getUTCMinutes(),t,2)}function qt(e,t){return Y(e.getUTCSeconds(),t,2)}function Jt(e){var t=e.getUTCDay();return t===0?7:t}function Yt(e,t){return Y(ke.count(q(e)-1,e),t,2)}function Xt(e){var t=e.getUTCDay();return t>=4||t===0?Ne(e):Ne.ceil(e)}function Zt(e,t){return e=Xt(e),Y(Ne.count(q(e),e)+(q(e).getUTCDay()===4),t,2)}function Qt(e){return e.getUTCDay()}function $t(e,t){return Y(Ae.count(q(e)-1,e),t,2)}function en(e,t){return Y(e.getUTCFullYear()%100,t,2)}function tn(e,t){return e=Xt(e),Y(e.getUTCFullYear()%100,t,2)}function nn(e,t){return Y(e.getUTCFullYear()%1e4,t,4)}function rn(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Ne(e):Ne.ceil(e),Y(e.getUTCFullYear()%1e4,t,4)}function an(){return`+0000`}function on(){return`%`}function sn(e){return+e}function cn(e){return Math.floor(e/1e3)}var ln,un;dn({dateTime:`%x, %X`,date:`%-m/%-d/%Y`,time:`%-I:%M:%S %p`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]});function dn(e){return ln=Ke(e),un=ln.format,ln.parse,ln.utcFormat,ln.utcParse,ln}function fn(e){return new Date(e)}function pn(e){return e instanceof Date?+e:+new Date(+e)}function mn(e,t,n,i,a,o,s,c,l,u){var d=r.n(),f=d.invert,p=d.domain,m=u(`.%L`),h=u(`:%S`),g=u(`%I:%M`),_=u(`%I %p`),v=u(`%a %d`),y=u(`%b %d`),b=u(`%B`),x=u(`%Y`);function S(e){return(l(e)<e?m:c(e)<e?h:s(e)<e?g:o(e)<e?_:i(e)<e?a(e)<e?v:y:n(e)<e?b:x)(e)}return d.invert=function(e){return new Date(f(e))},d.domain=function(e){return arguments.length?p(Array.from(e,pn)):p().map(fn)},d.ticks=function(t){var n=p();return e(n[0],n[n.length-1],t??10)},d.tickFormat=function(e,t){return t==null?S:u(t)},d.nice=function(e){var n=p();return(!e||typeof e.range!=`function`)&&(e=t(n[0],n[n.length-1],e??10)),e?p(ue(n,e)):d},d.copy=function(){return r.r(d,mn(e,t,n,i,a,o,s,c,l,u))},d}function hn(){return i.t.apply(mn(Ve,He,K,Ie,Ce,H,ye,_e,V,un).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var gn=e.t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isoWeek=r()})(e,(function(){"use strict";var e=`day`;return function(t,n,r){var i=function(t){return t.add(4-t.isoWeekday(),e)},a=n.prototype;a.isoWeekYear=function(){return i(this).year()},a.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),e);var n,a,o,s,c=i(this),l=(n=this.isoWeekYear(),a=this.$u,o=(a?r.utc:r)().year(n).startOf(`year`),s=4-o.isoWeekday(),o.isoWeekday()>4&&(s+=7),o.add(s,e));return c.diff(l,`week`)+1},a.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var o=a.startOf;a.startOf=function(e,t){var n=this.$utils(),r=!!n.u(t)||t;return n.p(e)===`isoweek`?r?this.date(this.date()-(this.isoWeekday()-1)).startOf(`day`):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf(`day`):o.bind(this)(e,t)}}}))})),_n=e.t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){"use strict";var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal;if(this.day=e.match(/\d+/)[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,``)===e&&(this.day=n)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c<s;c+=1){var l=a[c],u=f[l],d=u&&u[0],p=u&&u[1];a[c]=p?{regex:d,parser:p}:l.replace(/^\[|\]$/g,``)}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if(typeof i==`string`)r+=i.length;else{var o=i.regex,c=i.parser,l=e.slice(r),u=o.exec(l)[0];c.call(t,u),e=e.replace(u,``)}}return function(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if(typeof s==`string`){var c=!0===a[2],l=!0===a[3],u=c||l,d=a[2];l&&(d=a[2]),o=this.$locale(),!c&&d&&(o=n.Ls[d]),this.$d=function(e,t,n,r){try{if([`x`,`X`].indexOf(t)>-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),vn=e.t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){"use strict";return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),yn=e.t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_duration=r()})(e,(function(){"use strict";var e,t,n=1e3,r=6e4,i=36e5,a=864e5,o=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,c=2628e6,l=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,u={years:s,months:c,days:a,hours:i,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof v},f=function(e,t,n){return new v(e,n,t.$l)},p=function(e){return t.p(e)+`s`},m=function(e){return e<0},h=function(e){return m(e)?Math.ceil(e):Math.floor(e)},g=function(e){return Math.abs(e)},_=function(e,t){return e?m(e)?{negative:!0,format:``+g(e)+t}:{negative:!1,format:``+e+t}:{negative:!1,format:``}},v=function(){function m(e,t,n){var r=this;if(this.$d={},this.$l=n,e===void 0&&(this.$ms=0,this.parseFromMilliseconds()),t)return f(e*u[p(t)],this);if(typeof e==`number`)return this.$ms=e,this.parseFromMilliseconds(),this;if(typeof e==`object`)return Object.keys(e).forEach((function(t){r.$d[p(t)]=e[t]})),this.calMilliseconds(),this;if(typeof e==`string`){var i=e.match(l);if(i){var a=i.slice(2).map((function(e){return e==null?0:Number(e)}));return this.$d.years=a[0],this.$d.months=a[1],this.$d.weeks=a[2],this.$d.days=a[3],this.$d.hours=a[4],this.$d.minutes=a[5],this.$d.seconds=a[6],this.calMilliseconds(),this}}return this}var g=m.prototype;return g.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*u[n]}),0)},g.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=h(e/s),e%=s,this.$d.months=h(e/c),e%=c,this.$d.days=h(e/a),e%=a,this.$d.hours=h(e/i),e%=i,this.$d.minutes=h(e/r),e%=r,this.$d.seconds=h(e/n),e%=n,this.$d.milliseconds=e},g.toISOString=function(){var e=_(this.$d.years,`Y`),t=_(this.$d.months,`M`),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=_(n,`D`),i=_(this.$d.hours,`H`),a=_(this.$d.minutes,`M`),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var s=_(o,`S`),c=e.negative||t.negative||r.negative||i.negative||a.negative||s.negative,l=i.format||a.format||s.format?`T`:``,u=(c?`-`:``)+`P`+e.format+t.format+r.format+l+i.format+a.format+s.format;return u===`P`||u===`-P`?`P0D`:u},g.toJSON=function(){return this.toISOString()},g.format=function(e){var n=e||`YYYY-MM-DDTHH:mm:ss`,r={Y:this.$d.years,YY:t.s(this.$d.years,2,`0`),YYYY:t.s(this.$d.years,4,`0`),M:this.$d.months,MM:t.s(this.$d.months,2,`0`),D:this.$d.days,DD:t.s(this.$d.days,2,`0`),H:this.$d.hours,HH:t.s(this.$d.hours,2,`0`),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,`0`),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,`0`),SSS:t.s(this.$d.milliseconds,3,`0`)};return n.replace(o,(function(e,t){return t||String(r[e])}))},g.as=function(e){return this.$ms/u[p(e)]},g.get=function(e){var t=this.$ms,n=p(e);return n===`milliseconds`?t%=1e3:t=n===`weeks`?h(t/u[n]):this.$d[n],t||0},g.add=function(e,t,n){var r;return r=t?e*u[p(t)]:d(e)?e.$ms:f(e,this).$ms,f(this.$ms+r*(n?-1:1),this)},g.subtract=function(e,t){return this.add(e,t,!0)},g.locale=function(e){var t=this.clone();return t.$l=e,t},g.clone=function(){return f(this.$ms,this)},g.humanize=function(t){return e().add(this.$ms,`ms`).locale(this.$l).fromNow(!t)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get(`milliseconds`)},g.asMilliseconds=function(){return this.as(`milliseconds`)},g.seconds=function(){return this.get(`seconds`)},g.asSeconds=function(){return this.as(`seconds`)},g.minutes=function(){return this.get(`minutes`)},g.asMinutes=function(){return this.as(`minutes`)},g.hours=function(){return this.get(`hours`)},g.asHours=function(){return this.as(`hours`)},g.days=function(){return this.get(`days`)},g.asDays=function(){return this.as(`days`)},g.weeks=function(){return this.get(`weeks`)},g.asWeeks=function(){return this.as(`weeks`)},g.months=function(){return this.get(`months`)},g.asMonths=function(){return this.as(`months`)},g.years=function(){return this.get(`years`)},g.asYears=function(){return this.as(`years`)},m}(),y=function(e,t,n){return e.add(t.years()*n,`y`).add(t.months()*n,`M`).add(t.days()*n,`d`).add(t.hours()*n,`h`).add(t.minutes()*n,`m`).add(t.seconds()*n,`s`).add(t.milliseconds()*n,`ms`)};return function(n,r,i){e=i,t=i().$utils(),i.duration=function(e,t){return f(e,{$l:i.locale()},t)},i.isDuration=d;var a=r.prototype.add,o=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)?y(this,e,1):a.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)?y(this,e,-1):o.bind(this)(e,t)}}}))})),bn=a.t(),X=e.o(n.v(),1),xn=e.o(gn(),1),Sn=e.o(_n(),1),Cn=e.o(vn(),1),wn=e.o(yn(),1),Tn=(function(){var e=n.h(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],r=[1,26],i=[1,27],a=[1,28],o=[1,29],s=[1,30],c=[1,31],l=[1,32],u=[1,33],d=[1,34],f=[1,9],p=[1,10],m=[1,11],h=[1,12],g=[1,13],_=[1,14],v=[1,15],y=[1,16],b=[1,19],x=[1,20],S=[1,21],C=[1,22],w=[1,23],T=[1,25],E=[1,35],D={trace:n.h(function(){},`trace`),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:`error`,4:`gantt`,6:`EOF`,8:`SPACE`,10:`NL`,12:`weekday_monday`,13:`weekday_tuesday`,14:`weekday_wednesday`,15:`weekday_thursday`,16:`weekday_friday`,17:`weekday_saturday`,18:`weekday_sunday`,20:`weekend_friday`,21:`weekend_saturday`,22:`dateFormat`,23:`inclusiveEndDates`,24:`topAxis`,25:`axisFormat`,26:`tickInterval`,27:`excludes`,28:`includes`,29:`todayMarker`,30:`title`,31:`acc_title`,32:`acc_title_value`,33:`acc_descr`,34:`acc_descr_value`,35:`acc_descr_multiline_value`,36:`section`,38:`taskTxt`,39:`taskData`,40:`click`,41:`callbackname`,42:`callbackargs`,43:`href`},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:n.h(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setWeekday(`monday`);break;case 9:r.setWeekday(`tuesday`);break;case 10:r.setWeekday(`wednesday`);break;case 11:r.setWeekday(`thursday`);break;case 12:r.setWeekday(`friday`);break;case 13:r.setWeekday(`saturday`);break;case 14:r.setWeekday(`sunday`);break;case 15:r.setWeekend(`friday`);break;case 16:r.setWeekend(`saturday`);break;case 17:r.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 18:r.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 19:r.TopAxis(),this.$=a[s].substr(8);break;case 20:r.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 21:r.setTickInterval(a[s].substr(13)),this.$=a[s].substr(13);break;case 22:r.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 23:r.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 24:r.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 27:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 28:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 29:case 30:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 31:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 33:r.addTask(a[s-1],a[s]),this.$=`task`;break;case 34:this.$=a[s-1],r.setClickEvent(a[s-1],a[s],null);break;case 35:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 36:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],null),r.setLink(a[s-2],a[s]);break;case 37:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setLink(a[s-3],a[s]);break;case 38:this.$=a[s-2],r.setClickEvent(a[s-2],a[s],null),r.setLink(a[s-2],a[s-1]);break;case 39:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-1],a[s]),r.setLink(a[s-3],a[s-2]);break;case 40:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 41:case 47:this.$=a[s-1]+` `+a[s];break;case 42:case 43:case 45:this.$=a[s-2]+` `+a[s-1]+` `+a[s];break;case 44:case 46:this.$=a[s-3]+` `+a[s-2]+` `+a[s-1]+` `+a[s];break}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},e(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:r,13:i,14:a,15:o,16:s,17:c,18:l,19:18,20:u,21:d,22:f,23:p,24:m,25:h,26:g,27:_,28:v,29:y,30:b,31:x,33:S,35:C,36:w,37:24,38:T,40:E},e(t,[2,7],{1:[2,1]}),e(t,[2,3]),{9:36,11:17,12:r,13:i,14:a,15:o,16:s,17:c,18:l,19:18,20:u,21:d,22:f,23:p,24:m,25:h,26:g,27:_,28:v,29:y,30:b,31:x,33:S,35:C,36:w,37:24,38:T,40:E},e(t,[2,5]),e(t,[2,6]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,20]),e(t,[2,21]),e(t,[2,22]),e(t,[2,23]),e(t,[2,24]),e(t,[2,25]),e(t,[2,26]),e(t,[2,27]),{32:[1,37]},{34:[1,38]},e(t,[2,30]),e(t,[2,31]),e(t,[2,32]),{39:[1,39]},e(t,[2,8]),e(t,[2,9]),e(t,[2,10]),e(t,[2,11]),e(t,[2,12]),e(t,[2,13]),e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),{41:[1,40],43:[1,41]},e(t,[2,4]),e(t,[2,28]),e(t,[2,29]),e(t,[2,33]),e(t,[2,34],{42:[1,42],43:[1,43]}),e(t,[2,40],{41:[1,44]}),e(t,[2,35],{43:[1,45]}),e(t,[2,36]),e(t,[2,38],{42:[1,46]}),e(t,[2,37]),e(t,[2,39])],defaultActions:{},parseError:n.h(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:n.h(function(e){var t=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:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}n.h(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=t.symbols_[e]||e),e}n.h(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){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]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
- `+h.showPosition()+`
3
- Expecting `+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,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1: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--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;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);break;case 3:return!0}}return!0},`parse`)};D.lexer=(function(){return{EOF:1,parseError:n.h(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:n.h(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:n.h(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:n.h(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:n.h(function(){return this._more=!0,this},`more`),reject:n.h(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:n.h(function(e){this.unput(this.match.slice(e))},`less`),pastInput:n.h(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:n.h(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:n.h(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
5
- `+t+`^`},`showPosition`),test_match:n.h(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:n.h(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:n.h(function(){return this.next()||this.lex()},`lex`),begin:n.h(function(e){this.conditionStack.push(e)},`begin`),popState:n.h(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:n.h(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:n.h(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:n.h(function(e){this.begin(e)},`pushState`),stateStackSize:n.h(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:n.h(function(e,t,n,r){switch(n){case 0:return this.begin(`open_directive`),`open_directive`;case 1:return this.begin(`acc_title`),31;case 2:return this.popState(),`acc_title_value`;case 3:return this.begin(`acc_descr`),33;case 4:return this.popState(),`acc_descr_value`;case 5:this.begin(`acc_descr_multiline`);break;case 6:this.popState();break;case 7:return`acc_descr_multiline_value`;case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin(`href`);break;case 15:this.popState();break;case 16:return 43;case 17:this.begin(`callbackname`);break;case 18:this.popState();break;case 19:this.popState(),this.begin(`callbackargs`);break;case 20:return 41;case 21:this.popState();break;case 22:return 42;case 23:this.begin(`click`);break;case 24:this.popState();break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return`date`;case 45:return 30;case 46:return`accDescription`;case 47:return 36;case 48:return 38;case 49:return 39;case 50:return`:`;case 51:return 6;case 52:return`INVALID`}},`anonymous`),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}}})();function O(){this.yy={}}return n.h(O,`Parser`),O.prototype=D,D.Parser=O,new O})();Tn.parser=Tn;var En=Tn;X.default.extend(xn.default),X.default.extend(Sn.default),X.default.extend(Cn.default);var Dn={friday:5,saturday:6},Z=``,On=``,kn=void 0,An=``,jn=[],Mn=[],Nn=new Map,Pn=[],Fn=[],In=``,Ln=``,Rn=[`active`,`done`,`crit`,`milestone`,`vert`],zn=[],Bn=``,Vn=!1,Hn=!1,Un=`sunday`,Wn=`saturday`,Gn=0,Kn=n.h(function(){Pn=[],Fn=[],In=``,zn=[],Tr=0,kr=void 0,Ar=void 0,Q=[],Z=``,On=``,Ln=``,kn=void 0,An=``,jn=[],Mn=[],Vn=!1,Hn=!1,Gn=0,Nn=new Map,Bn=``,t.a(),Un=`sunday`,Wn=`saturday`},`clear`),qn=n.h(function(e){Bn=e},`setDiagramId`),Jn=n.h(function(e){On=e},`setAxisFormat`),Yn=n.h(function(){return On},`getAxisFormat`),Xn=n.h(function(e){kn=e},`setTickInterval`),Zn=n.h(function(){return kn},`getTickInterval`),Qn=n.h(function(e){An=e},`setTodayMarker`),$n=n.h(function(){return An},`getTodayMarker`),er=n.h(function(e){Z=e},`setDateFormat`),tr=n.h(function(){Vn=!0},`enableInclusiveEndDates`),nr=n.h(function(){return Vn},`endDatesAreInclusive`),rr=n.h(function(){Hn=!0},`enableTopAxis`),ir=n.h(function(){return Hn},`topAxisEnabled`),ar=n.h(function(e){Ln=e},`setDisplayMode`),or=n.h(function(){return Ln},`getDisplayMode`),sr=n.h(function(){return Z},`getDateFormat`),cr=n.h(function(e){jn=e.toLowerCase().split(/[\s,]+/)},`setIncludes`),lr=n.h(function(){return jn},`getIncludes`),ur=n.h(function(e){Mn=e.toLowerCase().split(/[\s,]+/)},`setExcludes`),dr=n.h(function(){return Mn},`getExcludes`),fr=n.h(function(){return Nn},`getLinks`),pr=n.h(function(e){In=e,Pn.push(e)},`addSection`),mr=n.h(function(){return Pn},`getSections`),hr=n.h(function(){let e=Fr(),t=0;for(;!e&&t<10;)e=Fr(),t++;return Fn=Q,Fn},`getTasks`),gr=n.h(function(e,t,n,r){let i=e.format(t.trim()),a=e.format(`YYYY-MM-DD`);return r.includes(i)||r.includes(a)?!1:n.includes(`weekends`)&&(e.isoWeekday()===Dn[Wn]||e.isoWeekday()===Dn[Wn]+1)||n.includes(e.format(`dddd`).toLowerCase())?!0:n.includes(i)||n.includes(a)},`isInvalidDate`),_r=n.h(function(e){Un=e},`setWeekday`),vr=n.h(function(){return Un},`getWeekday`),yr=n.h(function(e){Wn=e},`setWeekend`),br=n.h(function(e,t,n,r){if(!n.length||e.manualEndTime)return;let i;i=e.startTime instanceof Date?(0,X.default)(e.startTime):(0,X.default)(e.startTime,t,!0),i=i.add(1,`d`);let a;a=e.endTime instanceof Date?(0,X.default)(e.endTime):(0,X.default)(e.endTime,t,!0);let[o,s]=xr(i,a,t,n,r);e.endTime=o.toDate(),e.renderEndTime=s},`checkTaskDates`),xr=n.h(function(e,t,n,r,i){let a=!1,o=null;for(;e<=t;)a||(o=t.toDate()),a=gr(e,n,r,i),a&&(t=t.add(1,`d`)),e=e.add(1,`d`);return[t,o]},`fixTaskDates`),Sr=n.h(function(e,t,r){if(r=r.trim(),n.h(e=>{let t=e.trim();return t===`x`||t===`X`},`isTimestampFormat`)(t)&&/^\d+$/.test(r))return new Date(Number(r));let i=/^after\s+(?<ids>[\d\w- ]+)/.exec(r);if(i!==null){let e=null;for(let t of i.groups.ids.split(` `)){let n=Nr(t);n!==void 0&&(!e||n.endTime>e.endTime)&&(e=n)}if(e)return e.endTime;let t=new Date;return t.setHours(0,0,0,0),t}let a=(0,X.default)(r,t.trim(),!0);if(a.isValid())return a.toDate();{n.g.debug(`Invalid date:`+r),n.g.debug(`With date format:`+t.trim());let e=new Date(r);if(e===void 0||isNaN(e.getTime())||e.getFullYear()<-1e4||e.getFullYear()>1e4)throw Error(`Invalid date:`+r);return e}},`getStartDate`),Cr=n.h(function(e){let t=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(e.trim());return t===null?[NaN,`ms`]:[Number.parseFloat(t[1]),t[2]]},`parseDuration`),wr=n.h(function(e,t,n,r=!1){n=n.trim();let i=/^until\s+(?<ids>[\d\w- ]+)/.exec(n);if(i!==null){let e=null;for(let t of i.groups.ids.split(` `)){let n=Nr(t);n!==void 0&&(!e||n.startTime<e.startTime)&&(e=n)}if(e)return e.startTime;let t=new Date;return t.setHours(0,0,0,0),t}let a=(0,X.default)(n,t.trim(),!0);if(a.isValid())return r&&(a=a.add(1,`d`)),a.toDate();let o=(0,X.default)(e),[s,c]=Cr(n);if(!Number.isNaN(s)){let e=o.add(s,c);e.isValid()&&(o=e)}return o.toDate()},`getEndDate`),Tr=0,Er=n.h(function(e){return e===void 0?(Tr+=1,`task`+Tr):e},`parseId`),Dr=n.h(function(e,t){let n;n=t.substr(0,1)===`:`?t.substr(1,t.length):t;let r=n.split(`,`),i={};Vr(r,i,Rn);for(let e=0;e<r.length;e++)r[e]=r[e].trim();let a=``;switch(r.length){case 1:i.id=Er(),i.startTime=e.endTime,a=r[0];break;case 2:i.id=Er(),i.startTime=Sr(void 0,Z,r[0]),a=r[1];break;case 3:i.id=Er(r[0]),i.startTime=Sr(void 0,Z,r[1]),a=r[2];break;default:}return a&&(i.endTime=wr(i.startTime,Z,a,Vn),i.manualEndTime=(0,X.default)(a,`YYYY-MM-DD`,!0).isValid(),br(i,Z,Mn,jn)),i},`compileData`),Or=n.h(function(e,t){let n;n=t.substr(0,1)===`:`?t.substr(1,t.length):t;let r=n.split(`,`),i={};Vr(r,i,Rn);for(let e=0;e<r.length;e++)r[e]=r[e].trim();switch(r.length){case 1:i.id=Er(),i.startTime={type:`prevTaskEnd`,id:e},i.endTime={data:r[0]};break;case 2:i.id=Er(),i.startTime={type:`getStartDate`,startData:r[0]},i.endTime={data:r[1]};break;case 3:i.id=Er(r[0]),i.startTime={type:`getStartDate`,startData:r[1]},i.endTime={data:r[2]};break;default:}return i},`parseData`),kr,Ar,Q=[],jr={},Mr=n.h(function(e,t){let n={section:In,type:In,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:t},task:e,classes:[]},r=Or(Ar,t);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=Ar,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.vert=r.vert,n.order=Gn,Gn++;let i=Q.push(n);Ar=n.id,jr[n.id]=i-1},`addTask`),Nr=n.h(function(e){let t=jr[e];return Q[t]},`findTaskById`),Pr=n.h(function(e,t){let n={section:In,type:In,description:e,task:e,classes:[]},r=Dr(kr,t);n.startTime=r.startTime,n.endTime=r.endTime,n.id=r.id,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.vert=r.vert,kr=n,Fn.push(n)},`addTaskOrg`),Fr=n.h(function(){let e=n.h(function(e){let t=Q[e],n=``;switch(Q[e].raw.startTime.type){case`prevTaskEnd`:t.startTime=Nr(t.prevTaskId).endTime;break;case`getStartDate`:n=Sr(void 0,Z,Q[e].raw.startTime.startData),n&&(Q[e].startTime=n);break}return Q[e].startTime&&(Q[e].endTime=wr(Q[e].startTime,Z,Q[e].raw.endTime.data,Vn),Q[e].endTime&&(Q[e].processed=!0,Q[e].manualEndTime=(0,X.default)(Q[e].raw.endTime.data,`YYYY-MM-DD`,!0).isValid(),br(Q[e],Z,Mn,jn))),Q[e].processed},`compileTask`),t=!0;for(let[n,r]of Q.entries())e(n),t&&=r.processed;return t},`compileTasks`),Ir=n.h(function(e,n){let r=n;t.b().securityLevel!==`loose`&&(r=(0,bn.sanitizeUrl)(n)),e.split(`,`).forEach(function(e){Nr(e)!==void 0&&(zr(e,()=>{window.open(r,`_self`)}),Nn.set(e,r))}),Lr(e,`clickable`)},`setLink`),Lr=n.h(function(e,t){e.split(`,`).forEach(function(e){let n=Nr(e);n!==void 0&&n.classes.push(t)})},`setClass`),Rr=n.h(function(e,n,r){if(t.b().securityLevel!==`loose`||n===void 0)return;let i=[];if(typeof r==`string`){i=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<i.length;e++){let t=i[e].trim();t.startsWith(`"`)&&t.endsWith(`"`)&&(t=t.substr(1,t.length-2)),i[e]=t}}i.length===0&&i.push(e),Nr(e)!==void 0&&zr(e,()=>{o.h.runFunc(n,...i)})},`setClickFun`),zr=n.h(function(e,t){zn.push(function(){let n=Bn?`${Bn}-${e}`:e,r=document.querySelector(`[id="${n}"]`);r!==null&&r.addEventListener(`click`,function(){t()})},function(){let n=Bn?`${Bn}-${e}`:e,r=document.querySelector(`[id="${n}-text"]`);r!==null&&r.addEventListener(`click`,function(){t()})})},`pushFun`),Br={getConfig:n.h(()=>t.b().gantt,`getConfig`),clear:Kn,setDateFormat:er,getDateFormat:sr,enableInclusiveEndDates:tr,endDatesAreInclusive:nr,enableTopAxis:rr,topAxisEnabled:ir,setAxisFormat:Jn,getAxisFormat:Yn,setTickInterval:Xn,getTickInterval:Zn,setTodayMarker:Qn,getTodayMarker:$n,setAccTitle:t.V,getAccTitle:t.v,setDiagramTitle:t.W,getDiagramTitle:t.C,setDiagramId:qn,setDisplayMode:ar,getDisplayMode:or,setAccDescription:t.B,getAccDescription:t._,addSection:pr,getSections:mr,getTasks:hr,addTask:Mr,findTaskById:Nr,addTaskOrg:Pr,setIncludes:cr,getIncludes:lr,setExcludes:ur,getExcludes:dr,setClickEvent:n.h(function(e,t,n){e.split(`,`).forEach(function(e){Rr(e,t,n)}),Lr(e,`clickable`)},`setClickEvent`),setLink:Ir,getLinks:fr,bindFunctions:n.h(function(e){zn.forEach(function(t){t(e)})},`bindFunctions`),parseDuration:Cr,isInvalidDate:gr,setWeekday:_r,getWeekday:vr,setWeekend:yr};function Vr(e,t,n){let r=!0;for(;r;)r=!1,n.forEach(function(n){let i=`^\\s*`+n+`\\s*$`,a=new RegExp(i);e[0].match(a)&&(t[n]=!0,e.shift(1),r=!0)})}n.h(Vr,`getTaskTags`),X.default.extend(wn.default);var Hr=n.h(function(){n.g.debug(`Something is calling, setConf, remove the call`)},`setConf`),Ur={monday:we,tuesday:Te,wednesday:Ee,thursday:W,friday:De,saturday:Oe,sunday:Ce},Wr=n.h((e,t)=>{let n=[...e].map(()=>-1/0),r=[...e].sort((e,t)=>e.startTime-t.startTime||e.order-t.order),i=0;for(let e of r)for(let r=0;r<n.length;r++)if(e.startTime>=n[r]){n[r]=e.endTime,e.order=r+t,r>i&&(i=r);break}return i},`getMaxIntersections`),$,Gr=1e4,Kr={parser:En,db:Br,renderer:{setConf:Hr,draw:n.h(function(e,i,a,o){let l=t.b().gantt;o.db.setDiagramId(i);let u=t.b().securityLevel,d;u===`sandbox`&&(d=n.p(`#i`+i));let f=u===`sandbox`?n.p(d.nodes()[0].contentDocument.body):n.p(`body`),p=u===`sandbox`?d.nodes()[0].contentDocument:document,m=p.getElementById(i);$=m.parentElement.offsetWidth,$===void 0&&($=1200),l.useWidth!==void 0&&($=l.useWidth);let h=o.db.getTasks(),g=[];for(let e of h)g.push(e.type);g=j(g);let _={},v=2*l.topPadding;if(o.db.getDisplayMode()===`compact`||l.displayMode===`compact`){let e={};for(let t of h)e[t.section]===void 0?e[t.section]=[t]:e[t.section].push(t);let t=0;for(let n of Object.keys(e)){let r=Wr(e[n],t)+1;t+=r,v+=r*(l.barHeight+l.barGap),_[n]=r}}else{v+=h.length*(l.barHeight+l.barGap);for(let e of g)_[e]=h.filter(t=>t.type===e).length}m.setAttribute(`viewBox`,`0 0 `+$+` `+v);let y=f.select(`[id="${i}"]`),b=hn().domain([c(h,function(e){return e.startTime}),s(h,function(e){return e.endTime})]).rangeRound([0,$-l.leftPadding-l.rightPadding]);function C(e,t){let n=e.startTime,r=t.startTime,i=0;return n>r?i=1:n<r&&(i=-1),i}n.h(C,`taskCompare`),h.sort(C),w(h,$,v),t.c(y,v,$,l.useMaxWidth),y.append(`text`).text(o.db.getDiagramTitle()).attr(`x`,$/2).attr(`y`,l.titleTopMargin).attr(`class`,`titleText`);function w(e,t,n){let i=l.barHeight,a=i+l.barGap,s=l.topPadding,c=l.leftPadding,u=r.t().domain([0,g.length]).range([`#00B9FA`,`#F95002`]).interpolate(le);E(a,s,c,t,n,e,o.db.getExcludes(),o.db.getIncludes()),O(c,s,t,n),T(e,a,s,c,i,u,t,n),k(a,s,c,i,u),A(c,s,t,n)}n.h(w,`makeGantt`);function T(e,r,a,s,c,u,d){e.sort((e,t)=>e.vert===t.vert?0:e.vert?1:-1);let f=[...new Set(e.map(e=>e.order))].map(t=>e.find(e=>e.order===t));y.append(`g`).selectAll(`rect`).data(f).enter().append(`rect`).attr(`x`,0).attr(`y`,function(e,t){return t=e.order,t*r+a-2}).attr(`width`,function(){return d-l.rightPadding/2}).attr(`height`,r).attr(`class`,function(e){for(let[t,n]of g.entries())if(e.type===n)return`section section`+t%l.numberSectionStyles;return`section section0`}).enter();let p=y.append(`g`).selectAll(`rect`).data(e).enter(),m=o.db.getLinks();if(p.append(`rect`).attr(`id`,function(e){return i+`-`+e.id}).attr(`rx`,3).attr(`ry`,3).attr(`x`,function(e){return e.milestone?b(e.startTime)+s+.5*(b(e.endTime)-b(e.startTime))-.5*c:b(e.startTime)+s}).attr(`y`,function(e,t){return t=e.order,e.vert?l.gridLineStartPadding:t*r+a}).attr(`width`,function(e){return e.milestone?c:e.vert?.08*c:b(e.renderEndTime||e.endTime)-b(e.startTime)}).attr(`height`,function(e){return e.vert?h.length*(l.barHeight+l.barGap)+l.barHeight*2:c}).attr(`transform-origin`,function(e,t){return t=e.order,(b(e.startTime)+s+.5*(b(e.endTime)-b(e.startTime))).toString()+`px `+(t*r+a+.5*c).toString()+`px`}).attr(`class`,function(e){let t=``;e.classes.length>0&&(t=e.classes.join(` `));let n=0;for(let[t,r]of g.entries())e.type===r&&(n=t%l.numberSectionStyles);let r=``;return e.active?e.crit?r+=` activeCrit`:r=` active`:e.done?r=e.crit?` doneCrit`:` done`:e.crit&&(r+=` crit`),r.length===0&&(r=` task`),e.milestone&&(r=` milestone `+r),e.vert&&(r=` vert `+r),r+=n,r+=` `+t,`task`+r}),p.append(`text`).attr(`id`,function(e){return i+`-`+e.id+`-text`}).text(function(e){return e.task}).attr(`font-size`,l.fontSize).attr(`x`,function(e){let t=b(e.startTime),n=b(e.renderEndTime||e.endTime);if(e.milestone&&(t+=.5*(b(e.endTime)-b(e.startTime))-.5*c,n=t+c),e.vert)return b(e.startTime)+s;let r=this.getBBox().width;return r>n-t?n+r+1.5*l.leftPadding>d?t+s-5:n+s+5:(n-t)/2+t+s}).attr(`y`,function(e,t){return e.vert?l.gridLineStartPadding+h.length*(l.barHeight+l.barGap)+60:(t=e.order,t*r+l.barHeight/2+(l.fontSize/2-2)+a)}).attr(`text-height`,c).attr(`class`,function(e){let t=b(e.startTime),n=b(e.endTime);e.milestone&&(n=t+c);let r=this.getBBox().width,i=``;e.classes.length>0&&(i=e.classes.join(` `));let a=0;for(let[t,n]of g.entries())e.type===n&&(a=t%l.numberSectionStyles);let o=``;return e.active&&(o=e.crit?`activeCritText`+a:`activeText`+a),e.done?o=e.crit?o+` doneCritText`+a:o+` doneText`+a:e.crit&&(o=o+` critText`+a),e.milestone&&(o+=` milestoneText`),e.vert&&(o+=` vertText`),r>n-t?n+r+1.5*l.leftPadding>d?i+` taskTextOutsideLeft taskTextOutside`+a+` `+o:i+` taskTextOutsideRight taskTextOutside`+a+` `+o+` width-`+r:i+` taskText taskText`+a+` `+o+` width-`+r}),t.b().securityLevel===`sandbox`){let e;e=n.p(`#i`+i);let t=e.nodes()[0].contentDocument;p.filter(function(e){return m.has(e.id)}).each(function(e){var n=t.querySelector(`#`+CSS.escape(i+`-`+e.id)),r=t.querySelector(`#`+CSS.escape(i+`-`+e.id+`-text`));let a=n.parentNode;var o=t.createElement(`a`);o.setAttribute(`xlink:href`,m.get(e.id)),o.setAttribute(`target`,`_top`),a.appendChild(o),o.appendChild(n),o.appendChild(r)})}}n.h(T,`drawRects`);function E(e,t,r,a,s,c,u,d){if(u.length===0&&d.length===0)return;let f,p;for(let{startTime:e,endTime:t}of c)(f===void 0||e<f)&&(f=e),(p===void 0||t>p)&&(p=t);if(!f||!p)return;if((0,X.default)(p).diff((0,X.default)(f),`year`)>5){n.g.warn(`The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.`);return}let m=o.db.getDateFormat(),h=[],g=null,_=(0,X.default)(f);for(;_.valueOf()<=p;)o.db.isInvalidDate(_,m,u,d)?g?g.end=_:g={start:_,end:_}:g&&=(h.push(g),null),_=_.add(1,`d`);y.append(`g`).selectAll(`rect`).data(h).enter().append(`rect`).attr(`id`,e=>i+`-exclude-`+e.start.format(`YYYY-MM-DD`)).attr(`x`,e=>b(e.start.startOf(`day`))+r).attr(`y`,l.gridLineStartPadding).attr(`width`,e=>b(e.end.endOf(`day`))-b(e.start.startOf(`day`))).attr(`height`,s-t-l.gridLineStartPadding).attr(`transform-origin`,function(t,n){return(b(t.start)+r+.5*(b(t.end)-b(t.start))).toString()+`px `+(n*e+.5*s).toString()+`px`}).attr(`class`,`exclude-range`)}n.h(E,`drawExcludeDays`);function D(e,t,n,r){if(n<=0||e>t)return 1/0;let i=t-e,a=X.default.duration({[r??`day`]:n}).asMilliseconds();return a<=0?1/0:Math.ceil(i/a)}n.h(D,`getEstimatedTickCount`);function O(e,t,r,i){let a=o.db.getDateFormat(),s=o.db.getAxisFormat(),c;c=s||(a===`D`?`%d`:l.axisFormat??`%Y-%m-%d`);let u=S(b).tickSize(-i+t+l.gridLineStartPadding).tickFormat(un(c)),d=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(o.db.getTickInterval()||l.tickInterval);if(d!==null){let e=parseInt(d[1],10);if(isNaN(e)||e<=0)n.g.warn(`Invalid tick interval value: "${d[1]}". Skipping custom tick interval.`);else{let t=d[2],r=o.db.getWeekday()||l.weekday,i=b.domain(),a=i[0],s=i[1],c=D(a,s,e,t);if(c>Gr)n.g.warn(`The tick interval "${e}${t}" would generate ${c} ticks, which exceeds the maximum allowed (${Gr}). This may indicate an invalid date or time range. Skipping custom tick interval.`);else switch(t){case`millisecond`:u.ticks(pe.every(e));break;case`second`:u.ticks(V.every(e));break;case`minute`:u.ticks(_e.every(e));break;case`hour`:u.ticks(ye.every(e));break;case`day`:u.ticks(H.every(e));break;case`week`:u.ticks(Ur[r].every(e));break;case`month`:u.ticks(Ie.every(e));break}}}if(y.append(`g`).attr(`class`,`grid`).attr(`transform`,`translate(`+e+`, `+(i-50)+`)`).call(u).selectAll(`text`).style(`text-anchor`,`middle`).attr(`fill`,`#000`).attr(`stroke`,`none`).attr(`font-size`,10).attr(`dy`,`1em`),o.db.topAxisEnabled()||l.topAxis){let r=x(b).tickSize(-i+t+l.gridLineStartPadding).tickFormat(un(c));if(d!==null){let e=parseInt(d[1],10);if(isNaN(e)||e<=0)n.g.warn(`Invalid tick interval value: "${d[1]}". Skipping custom tick interval.`);else{let t=d[2],n=o.db.getWeekday()||l.weekday,i=b.domain(),a=i[0],s=i[1];if(D(a,s,e,t)<=Gr)switch(t){case`millisecond`:r.ticks(pe.every(e));break;case`second`:r.ticks(V.every(e));break;case`minute`:r.ticks(_e.every(e));break;case`hour`:r.ticks(ye.every(e));break;case`day`:r.ticks(H.every(e));break;case`week`:r.ticks(Ur[n].every(e));break;case`month`:r.ticks(Ie.every(e));break}}}y.append(`g`).attr(`class`,`grid`).attr(`transform`,`translate(`+e+`, `+t+`)`).call(r).selectAll(`text`).style(`text-anchor`,`middle`).attr(`fill`,`#000`).attr(`stroke`,`none`).attr(`font-size`,10)}}n.h(O,`makeGrid`);function k(e,n){let r=0,i=Object.keys(_).map(e=>[e,_[e]]);y.append(`g`).selectAll(`text`).data(i).enter().append(function(e){let n=e[0].split(t.s.lineBreakRegex),r=-(n.length-1)/2,i=p.createElementNS(`http://www.w3.org/2000/svg`,`text`);i.setAttribute(`dy`,r+`em`);for(let[e,t]of n.entries()){let n=p.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);n.setAttribute(`alignment-baseline`,`central`),n.setAttribute(`x`,`10`),e>0&&n.setAttribute(`dy`,`1em`),n.textContent=t,i.appendChild(n)}return i}).attr(`x`,10).attr(`y`,function(t,a){if(a>0)for(let o=0;o<a;o++)return r+=i[a-1][1],t[1]*e/2+r*e+n;else return t[1]*e/2+n}).attr(`font-size`,l.sectionFontSize).attr(`class`,function(e){for(let[t,n]of g.entries())if(e[0]===n)return`sectionTitle sectionTitle`+t%l.numberSectionStyles;return`sectionTitle`})}n.h(k,`vertLabels`);function A(e,t,n,r){let i=o.db.getTodayMarker();if(i===`off`)return;let a=y.append(`g`).attr(`class`,`today`),s=new Date,c=a.append(`line`);c.attr(`x1`,b(s)+e).attr(`x2`,b(s)+e).attr(`y1`,l.titleTopMargin).attr(`y2`,r-l.titleTopMargin).attr(`class`,`today`),i!==``&&c.attr(`style`,i.replace(/,/g,`;`))}n.h(A,`drawToday`);function j(e){let t={},n=[];for(let r=0,i=e.length;r<i;++r)Object.prototype.hasOwnProperty.call(t,e[r])||(t[e[r]]=!0,n.push(e[r]));return n}n.h(j,`checkUnique`)},`draw`)},styles:n.h(e=>`
7
- .mermaid-main-font {
8
- font-family: ${e.fontFamily};
9
- }
10
-
11
- .exclude-range {
12
- fill: ${e.excludeBkgColor};
13
- }
14
-
15
- .section {
16
- stroke: none;
17
- opacity: 0.2;
18
- }
19
-
20
- .section0 {
21
- fill: ${e.sectionBkgColor};
22
- }
23
-
24
- .section2 {
25
- fill: ${e.sectionBkgColor2};
26
- }
27
-
28
- .section1,
29
- .section3 {
30
- fill: ${e.altSectionBkgColor};
31
- opacity: 0.2;
32
- }
33
-
34
- .sectionTitle0 {
35
- fill: ${e.titleColor};
36
- }
37
-
38
- .sectionTitle1 {
39
- fill: ${e.titleColor};
40
- }
41
-
42
- .sectionTitle2 {
43
- fill: ${e.titleColor};
44
- }
45
-
46
- .sectionTitle3 {
47
- fill: ${e.titleColor};
48
- }
49
-
50
- .sectionTitle {
51
- text-anchor: start;
52
- font-family: ${e.fontFamily};
53
- }
54
-
55
-
56
- /* Grid and axis */
57
-
58
- .grid .tick {
59
- stroke: ${e.gridColor};
60
- opacity: 0.8;
61
- shape-rendering: crispEdges;
62
- }
63
-
64
- .grid .tick text {
65
- font-family: ${e.fontFamily};
66
- fill: ${e.textColor};
67
- }
68
-
69
- .grid path {
70
- stroke-width: 0;
71
- }
72
-
73
-
74
- /* Today line */
75
-
76
- .today {
77
- fill: none;
78
- stroke: ${e.todayLineColor};
79
- stroke-width: 2px;
80
- }
81
-
82
-
83
- /* Task styling */
84
-
85
- /* Default task */
86
-
87
- .task {
88
- stroke-width: 2;
89
- }
90
-
91
- .taskText {
92
- text-anchor: middle;
93
- font-family: ${e.fontFamily};
94
- }
95
-
96
- .taskTextOutsideRight {
97
- fill: ${e.taskTextDarkColor};
98
- text-anchor: start;
99
- font-family: ${e.fontFamily};
100
- }
101
-
102
- .taskTextOutsideLeft {
103
- fill: ${e.taskTextDarkColor};
104
- text-anchor: end;
105
- }
106
-
107
-
108
- /* Special case clickable */
109
-
110
- .task.clickable {
111
- cursor: pointer;
112
- }
113
-
114
- .taskText.clickable {
115
- cursor: pointer;
116
- fill: ${e.taskTextClickableColor} !important;
117
- font-weight: bold;
118
- }
119
-
120
- .taskTextOutsideLeft.clickable {
121
- cursor: pointer;
122
- fill: ${e.taskTextClickableColor} !important;
123
- font-weight: bold;
124
- }
125
-
126
- .taskTextOutsideRight.clickable {
127
- cursor: pointer;
128
- fill: ${e.taskTextClickableColor} !important;
129
- font-weight: bold;
130
- }
131
-
132
-
133
- /* Specific task settings for the sections*/
134
-
135
- .taskText0,
136
- .taskText1,
137
- .taskText2,
138
- .taskText3 {
139
- fill: ${e.taskTextColor};
140
- }
141
-
142
- .task0,
143
- .task1,
144
- .task2,
145
- .task3 {
146
- fill: ${e.taskBkgColor};
147
- stroke: ${e.taskBorderColor};
148
- }
149
-
150
- .taskTextOutside0,
151
- .taskTextOutside2
152
- {
153
- fill: ${e.taskTextOutsideColor};
154
- }
155
-
156
- .taskTextOutside1,
157
- .taskTextOutside3 {
158
- fill: ${e.taskTextOutsideColor};
159
- }
160
-
161
-
162
- /* Active task */
163
-
164
- .active0,
165
- .active1,
166
- .active2,
167
- .active3 {
168
- fill: ${e.activeTaskBkgColor};
169
- stroke: ${e.activeTaskBorderColor};
170
- }
171
-
172
- .activeText0,
173
- .activeText1,
174
- .activeText2,
175
- .activeText3 {
176
- fill: ${e.taskTextDarkColor} !important;
177
- }
178
-
179
-
180
- /* Completed task */
181
-
182
- .done0,
183
- .done1,
184
- .done2,
185
- .done3 {
186
- stroke: ${e.doneTaskBorderColor};
187
- fill: ${e.doneTaskBkgColor};
188
- stroke-width: 2;
189
- }
190
-
191
- .doneText0,
192
- .doneText1,
193
- .doneText2,
194
- .doneText3 {
195
- fill: ${e.taskTextDarkColor} !important;
196
- }
197
-
198
- /* Done task text displayed outside the bar sits against the diagram background,
199
- not against the done-task bar, so it must use the outside/contrast color. */
200
- .doneText0.taskTextOutsideLeft,
201
- .doneText0.taskTextOutsideRight,
202
- .doneText1.taskTextOutsideLeft,
203
- .doneText1.taskTextOutsideRight,
204
- .doneText2.taskTextOutsideLeft,
205
- .doneText2.taskTextOutsideRight,
206
- .doneText3.taskTextOutsideLeft,
207
- .doneText3.taskTextOutsideRight {
208
- fill: ${e.taskTextOutsideColor} !important;
209
- }
210
-
211
-
212
- /* Tasks on the critical line */
213
-
214
- .crit0,
215
- .crit1,
216
- .crit2,
217
- .crit3 {
218
- stroke: ${e.critBorderColor};
219
- fill: ${e.critBkgColor};
220
- stroke-width: 2;
221
- }
222
-
223
- .activeCrit0,
224
- .activeCrit1,
225
- .activeCrit2,
226
- .activeCrit3 {
227
- stroke: ${e.critBorderColor};
228
- fill: ${e.activeTaskBkgColor};
229
- stroke-width: 2;
230
- }
231
-
232
- .doneCrit0,
233
- .doneCrit1,
234
- .doneCrit2,
235
- .doneCrit3 {
236
- stroke: ${e.critBorderColor};
237
- fill: ${e.doneTaskBkgColor};
238
- stroke-width: 2;
239
- cursor: pointer;
240
- shape-rendering: crispEdges;
241
- }
242
-
243
- .milestone {
244
- transform: rotate(45deg) scale(0.8,0.8);
245
- }
246
-
247
- .milestoneText {
248
- font-style: italic;
249
- }
250
- .doneCritText0,
251
- .doneCritText1,
252
- .doneCritText2,
253
- .doneCritText3 {
254
- fill: ${e.taskTextDarkColor} !important;
255
- }
256
-
257
- /* Done-crit task text outside the bar \u2014 same reasoning as doneText above. */
258
- .doneCritText0.taskTextOutsideLeft,
259
- .doneCritText0.taskTextOutsideRight,
260
- .doneCritText1.taskTextOutsideLeft,
261
- .doneCritText1.taskTextOutsideRight,
262
- .doneCritText2.taskTextOutsideLeft,
263
- .doneCritText2.taskTextOutsideRight,
264
- .doneCritText3.taskTextOutsideLeft,
265
- .doneCritText3.taskTextOutsideRight {
266
- fill: ${e.taskTextOutsideColor} !important;
267
- }
268
-
269
- .vert {
270
- stroke: ${e.vertLineColor};
271
- }
272
-
273
- .vertText {
274
- font-size: 15px;
275
- text-anchor: middle;
276
- fill: ${e.vertLineColor} !important;
277
- }
278
-
279
- .activeCritText0,
280
- .activeCritText1,
281
- .activeCritText2,
282
- .activeCritText3 {
283
- fill: ${e.taskTextDarkColor} !important;
284
- }
285
-
286
- .titleText {
287
- text-anchor: middle;
288
- font-size: 18px;
289
- fill: ${e.titleColor||e.textColor};
290
- font-family: ${e.fontFamily};
291
- }
292
- `,`getStyles`)};exports.diagram=Kr;
@@ -1 +0,0 @@
1
- require(`./chunk-D-IZpNpi.cjs`),require(`./chunk-K5T4RW27-BzDQkjC7.cjs`);const e=require(`./chunk-67CJDMHE-2Qg7i1xJ.cjs`);exports.createGitGraphServices=e.n;
@@ -1,3 +0,0 @@
1
- import "./chunk-K5T4RW27-DY7TOEqa.js";
2
- import { n as e } from "./chunk-67CJDMHE-YMBkJcAO.js";
3
- export { e as createGitGraphServices };
@@ -1,106 +0,0 @@
1
- require(`./chunk-D-IZpNpi.cjs`);const e=require(`./chunk-ICPOFSXX-CoaJw-IT.cjs`),t=require(`./src-DFxq-N5I.cjs`),n=require(`./chunk-5PVQY5BW-CfQDYQZt.cjs`),r=require(`./chunk-4BX2VUAB-Qba52sxc.cjs`),i=require(`./mermaid-parser.core-DHpvGOZR.cjs`),a=require(`./chunk-QZHKN3VN-CSMKL2rB.cjs`);var o={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},s=e.d.gitGraph,c=t.h(()=>n.r({...s,...e.y().gitGraph}),`getConfig`),l=new a.t(()=>{let e=c(),t=e.mainBranchName,n=e.mainBranchOrder;return{mainBranchName:t,commits:new Map,head:null,branchConfig:new Map([[t,{name:t,order:n}]]),branches:new Map([[t,null]]),currBranch:t,direction:`LR`,seq:0,options:{}}});function u(){return n.p({length:7})}t.h(u,`getID`);function d(e,t){let n=Object.create(null);return e.reduce((e,r)=>{let i=t(r);return n[i]||(n[i]=!0,e.push(r)),e},[])}t.h(d,`uniqBy`);var f=t.h(function(e){l.records.direction=e},`setDirection`),p=t.h(function(e){t.g.debug(`options str`,e),e=e?.trim(),e||=`{}`;try{l.records.options=JSON.parse(e)}catch(e){t.g.error(`error while parsing gitGraph options`,e.message)}},`setOptions`),m=t.h(function(){return l.records.options},`getOptions`),h=t.h(function(n){let r=n.msg,i=n.id,a=n.type,s=n.tags;t.g.info(`commit`,r,i,a,s),t.g.debug(`Entering commit:`,r,i,a,s);let d=c();i=e.s.sanitizeText(i,d),r=e.s.sanitizeText(r,d),s=s?.map(t=>e.s.sanitizeText(t,d));let f={id:i||l.records.seq+`-`+u(),message:r,seq:l.records.seq++,type:a??o.NORMAL,tags:s??[],parents:l.records.head==null?[]:[l.records.head.id],branch:l.records.currBranch};l.records.head=f,t.g.info(`main branch`,d.mainBranchName),l.records.commits.has(f.id)&&t.g.warn(`Commit ID ${f.id} already exists`),l.records.commits.set(f.id,f),l.records.branches.set(l.records.currBranch,f.id),t.g.debug(`in pushCommit `+f.id)},`commit`),g=t.h(function(n){let r=n.name,i=n.order;if(r=e.s.sanitizeText(r,c()),l.records.branches.has(r))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);l.records.branches.set(r,l.records.head==null?null:l.records.head.id),l.records.branchConfig.set(r,{name:r,order:i}),y(r),t.g.debug(`in createBranch`)},`branch`),_=t.h(n=>{let r=n.branch,i=n.id,a=n.type,s=n.tags,d=c();r=e.s.sanitizeText(r,d),i&&=e.s.sanitizeText(i,d);let f=l.records.branches.get(l.records.currBranch),p=l.records.branches.get(r),m=f?l.records.commits.get(f):void 0,h=p?l.records.commits.get(p):void 0;if(m&&h&&m.branch===r)throw Error(`Cannot merge branch '${r}' into itself.`);if(l.records.currBranch===r){let e=Error(`Incorrect usage of "merge". Cannot merge a branch to itself`);throw e.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch abc`]},e}if(m===void 0||!m){let e=Error(`Incorrect usage of "merge". Current branch (${l.records.currBranch})has no commits`);throw e.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`commit`]},e}if(!l.records.branches.has(r)){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+r+`) does not exist`);throw e.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},e}if(h===void 0||!h){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+r+`) has no commits`);throw e.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`"commit"`]},e}if(m===h){let e=Error(`Incorrect usage of "merge". Both branches have same head`);throw e.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch abc`]},e}if(i&&l.records.commits.has(i)){let e=Error(`Incorrect usage of "merge". Commit with id:`+i+` already exists, use different custom id`);throw e.hash={text:`merge ${r} ${i} ${a} ${s?.join(` `)}`,token:`merge ${r} ${i} ${a} ${s?.join(` `)}`,expected:[`merge ${r} ${i}_UNIQUE ${a} ${s?.join(` `)}`]},e}let g=p||``,_={id:i||`${l.records.seq}-${u()}`,message:`merged branch ${r} into ${l.records.currBranch}`,seq:l.records.seq++,parents:l.records.head==null?[]:[l.records.head.id,g],branch:l.records.currBranch,type:o.MERGE,customType:a,customId:!!i,tags:s??[]};l.records.head=_,l.records.commits.set(_.id,_),l.records.branches.set(l.records.currBranch,_.id),t.g.debug(l.records.branches),t.g.debug(`in mergeBranch`)},`merge`),v=t.h(function(n){let r=n.id,i=n.targetId,a=n.tags,s=n.parent;t.g.debug(`Entering cherryPick:`,r,i,a);let d=c();if(r=e.s.sanitizeText(r,d),i=e.s.sanitizeText(i,d),a=a?.map(t=>e.s.sanitizeText(t,d)),s=e.s.sanitizeText(s,d),!r||!l.records.commits.has(r)){let e=Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);throw e.hash={text:`cherryPick ${r} ${i}`,token:`cherryPick ${r} ${i}`,expected:[`cherry-pick abc`]},e}let f=l.records.commits.get(r);if(f===void 0||!f)throw Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);if(s&&!(Array.isArray(f.parents)&&f.parents.includes(s)))throw Error(`Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.`);let p=f.branch;if(f.type===o.MERGE&&!s)throw Error(`Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.`);if(!i||!l.records.commits.has(i)){if(p===l.records.currBranch){let e=Error(`Incorrect usage of "cherryPick". Source commit is already on current branch`);throw e.hash={text:`cherryPick ${r} ${i}`,token:`cherryPick ${r} ${i}`,expected:[`cherry-pick abc`]},e}let e=l.records.branches.get(l.records.currBranch);if(e===void 0||!e){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${l.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${r} ${i}`,token:`cherryPick ${r} ${i}`,expected:[`cherry-pick abc`]},e}let n=l.records.commits.get(e);if(n===void 0||!n){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${l.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${r} ${i}`,token:`cherryPick ${r} ${i}`,expected:[`cherry-pick abc`]},e}let c={id:l.records.seq+`-`+u(),message:`cherry-picked ${f?.message} into ${l.records.currBranch}`,seq:l.records.seq++,parents:l.records.head==null?[]:[l.records.head.id,f.id],branch:l.records.currBranch,type:o.CHERRY_PICK,tags:a?a.filter(Boolean):[`cherry-pick:${f.id}${f.type===o.MERGE?`|parent:${s}`:``}`]};l.records.head=c,l.records.commits.set(c.id,c),l.records.branches.set(l.records.currBranch,c.id),t.g.debug(l.records.branches),t.g.debug(`in cherryPick`)}},`cherryPick`),y=t.h(function(t){if(t=e.s.sanitizeText(t,c()),l.records.branches.has(t)){l.records.currBranch=t;let e=l.records.branches.get(l.records.currBranch);e===void 0||!e?l.records.head=null:l.records.head=l.records.commits.get(e)??null}else{let e=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw e.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},e}},`checkout`);function b(e,t,n){let r=e.indexOf(t);r===-1?e.push(n):e.splice(r,1,n)}t.h(b,`upsert`);function x(e){let n=e.reduce((e,t)=>e.seq>t.seq?e:t,e[0]),r=``;e.forEach(function(e){e===n?r+=` *`:r+=` |`});let i=[r,n.id,n.seq];for(let e in l.records.branches)l.records.branches.get(e)===n.id&&i.push(e);if(t.g.debug(i.join(` `)),n.parents&&n.parents.length==2&&n.parents[0]&&n.parents[1]){let t=l.records.commits.get(n.parents[0]);b(e,n,t),n.parents[1]&&e.push(l.records.commits.get(n.parents[1]))}else if(n.parents.length==0)return;else if(n.parents[0]){let t=l.records.commits.get(n.parents[0]);b(e,n,t)}e=d(e,e=>e.id),x(e)}t.h(x,`prettyPrintCommitHistory`);var S=t.h(function(){t.g.debug(l.records.commits);let e=w()[0];x([e])},`prettyPrint`),C=t.h(function(){l.reset(),e.a()},`clear`),ee=t.h(function(){return[...l.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},`getBranchesAsObjArray`),te=t.h(function(){return l.records.branches},`getBranches`),ne=t.h(function(){return l.records.commits},`getCommits`),w=t.h(function(){let e=[...l.records.commits.values()];return e.forEach(function(e){t.g.debug(e.id)}),e.sort((e,t)=>e.seq-t.seq),e},`getCommitsArray`),T={commitType:o,getConfig:c,setDirection:f,setOptions:p,getOptions:m,commit:h,branch:g,merge:_,cherryPick:v,checkout:y,prettyPrint:S,clear:C,getBranchesAsObjArray:ee,getBranches:te,getCommits:ne,getCommitsArray:w,getCurrentBranch:t.h(function(){return l.records.currBranch},`getCurrentBranch`),getDirection:t.h(function(){return l.records.direction},`getDirection`),getHead:t.h(function(){return l.records.head},`getHead`),setAccTitle:e.V,getAccTitle:e.v,getAccDescription:e._,setAccDescription:e.B,setDiagramTitle:e.W,getDiagramTitle:e.C},E=t.h((e,t)=>{r.t(e,t),e.dir&&t.setDirection(e.dir);for(let n of e.statements)D(n,t)},`populate`),D=t.h((e,n)=>{let r={Commit:t.h(e=>n.commit(O(e)),`Commit`),Branch:t.h(e=>n.branch(k(e)),`Branch`),Merge:t.h(e=>n.merge(re(e)),`Merge`),Checkout:t.h(e=>n.checkout(ie(e)),`Checkout`),CherryPicking:t.h(e=>n.cherryPick(ae(e)),`CherryPicking`)}[e.$type];r?r(e):t.g.error(`Unknown statement type: ${e.$type}`)},`parseStatement`),O=t.h(e=>({id:e.id,msg:e.message??``,type:e.type===void 0?o.NORMAL:o[e.type],tags:e.tags??void 0}),`parseCommit`),k=t.h(e=>({name:e.name,order:e.order??0}),`parseBranch`),re=t.h(e=>({branch:e.branch,id:e.id??``,type:e.type===void 0?void 0:o[e.type],tags:e.tags??void 0}),`parseMerge`),ie=t.h(e=>e.branch,`parseCheckout`),ae=t.h(e=>({id:e.id,targetId:``,tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),`parseCherryPicking`),oe={parse:t.h(async e=>{let n=await i.t(`gitGraph`,e);t.g.debug(n),E(n,T)},`parse`)},A=10,j=40,M=4,N=2,P=8,F=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]),I=12,L=new Set([`redux-color`,`redux-dark-color`]),se=new Set([`dark`,`redux-dark`,`redux-dark-color`,`neo-dark`]),R=t.h((e,t,n=!1)=>n&&e>0?(e-1)%(t-1)+1:e%t,`calcColorIndex`),z=new Map,B=new Map,V=30,H=new Map,U=[],W=0,G=`LR`,K=t.h(()=>{z.clear(),B.clear(),H.clear(),W=0,U=[],G=`LR`},`clear`),q=t.h(e=>{let t=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);return(typeof e==`string`?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(e=>{let n=document.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);n.setAttributeNS(`http://www.w3.org/XML/1998/namespace`,`xml:space`,`preserve`),n.setAttribute(`dy`,`1em`),n.setAttribute(`x`,`0`),n.setAttribute(`class`,`row`),n.textContent=e.trim(),t.appendChild(n)}),t},`drawText`),J=t.h(e=>{let n,r,i;return G===`BT`?(r=t.h((e,t)=>e<=t,`comparisonFunc`),i=1/0):(r=t.h((e,t)=>e>=t,`comparisonFunc`),i=0),e.forEach(e=>{let t=G===`TB`||G==`BT`?B.get(e)?.y:B.get(e)?.x;t!==void 0&&r(t,i)&&(n=e,i=t)}),n},`findClosestParent`),ce=t.h(e=>{let t=``,n=1/0;return e.forEach(e=>{let r=B.get(e).y;r<=n&&(t=e,n=r)}),t||void 0},`findClosestParentBT`),le=t.h((e,t,n)=>{let r=n,i=n,a=[];e.forEach(e=>{let n=t.get(e);if(!n)throw Error(`Commit not found for key ${e}`);n.parents.length?(r=de(n),i=Math.max(r,i)):a.push(n),fe(n,r)}),r=i,a.forEach(e=>{pe(e,r,n)}),e.forEach(e=>{let n=t.get(e);if(n?.parents.length){let e=ce(n.parents);r=B.get(e).y-j,r<=i&&(i=r);let t=z.get(n.branch).pos,a=r-A;B.set(n.id,{x:t,y:a})}})},`setParallelBTPos`),ue=t.h(e=>{let t=J(e.parents.filter(e=>e!==null));if(!t)throw Error(`Closest parent not found for commit ${e.id}`);let n=B.get(t)?.y;if(n===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return n},`findClosestParentPos`),de=t.h(e=>ue(e)+j,`calculateCommitPosition`),fe=t.h((e,t)=>{let n=z.get(e.branch);if(!n)throw Error(`Branch not found for commit ${e.id}`);let r=n.pos,i=t+A;return B.set(e.id,{x:r,y:i}),{x:r,y:i}},`setCommitPosition`),pe=t.h((e,t,n)=>{let r=z.get(e.branch);if(!r)throw Error(`Branch not found for commit ${e.id}`);let i=t+n,a=r.pos;B.set(e.id,{x:a,y:i})},`setRootPosition`),me=t.h((t,n,r,i,a,s)=>{let{theme:c}=e.b(),l=F.has(c??``),u=L.has(c??``),d=se.has(c??``);if(s===o.HIGHLIGHT)t.append(`rect`).attr(`x`,r.x-10+(l?3:0)).attr(`y`,r.y-10+(l?3:0)).attr(`width`,l?14:20).attr(`height`,l?14:20).attr(`class`,`commit ${n.id} commit-highlight${R(a,P,u)} ${i}-outer`),t.append(`rect`).attr(`x`,r.x-6+(l?2:0)).attr(`y`,r.y-6+(l?2:0)).attr(`width`,l?8:12).attr(`height`,l?8:12).attr(`class`,`commit ${n.id} commit${R(a,P,u)} ${i}-inner`);else if(s===o.CHERRY_PICK)t.append(`circle`).attr(`cx`,r.x).attr(`cy`,r.y).attr(`r`,l?7:10).attr(`class`,`commit ${n.id} ${i}`),t.append(`circle`).attr(`cx`,r.x-3).attr(`cy`,r.y+2).attr(`r`,l?2.5:2.75).attr(`fill`,d?`#000000`:`#fff`).attr(`class`,`commit ${n.id} ${i}`),t.append(`circle`).attr(`cx`,r.x+3).attr(`cy`,r.y+2).attr(`r`,l?2.5:2.75).attr(`fill`,d?`#000000`:`#fff`).attr(`class`,`commit ${n.id} ${i}`),t.append(`line`).attr(`x1`,r.x+3).attr(`y1`,r.y+1).attr(`x2`,r.x).attr(`y2`,r.y-5).attr(`stroke`,d?`#000000`:`#fff`).attr(`class`,`commit ${n.id} ${i}`),t.append(`line`).attr(`x1`,r.x-3).attr(`y1`,r.y+1).attr(`x2`,r.x).attr(`y2`,r.y-5).attr(`stroke`,d?`#000000`:`#fff`).attr(`class`,`commit ${n.id} ${i}`);else{let e=t.append(`circle`);if(e.attr(`cx`,r.x),e.attr(`cy`,r.y),e.attr(`r`,l?7:10),e.attr(`class`,`commit ${n.id} commit${R(a,P,u)}`),s===o.MERGE){let e=t.append(`circle`);e.attr(`cx`,r.x),e.attr(`cy`,r.y),e.attr(`r`,l?5:6),e.attr(`class`,`commit ${i} ${n.id} commit${R(a,P,u)}`)}if(s===o.REVERSE){let e=t.append(`path`),o=l?4:5;e.attr(`d`,`M ${r.x-o},${r.y-o}L${r.x+o},${r.y+o}M${r.x-o},${r.y+o}L${r.x+o},${r.y-o}`).attr(`class`,`commit ${i} ${n.id} commit${R(a,P,u)}`)}}},`drawCommitBullet`),he=t.h((e,t,n,r,i)=>{if(t.type!==o.CHERRY_PICK&&(t.customId&&t.type===o.MERGE||t.type!==o.MERGE)&&i.showCommitLabel){let a=e.append(`g`),o=a.insert(`rect`).attr(`class`,`commit-label-bkg`),s=a.append(`text`).attr(`x`,r).attr(`y`,n.y+25).attr(`class`,`commit-label`).text(t.id),c=s.node()?.getBBox();if(c&&(o.attr(`x`,n.posWithOffset-c.width/2-N).attr(`y`,n.y+13.5).attr(`width`,c.width+2*N).attr(`height`,c.height+2*N),G===`TB`||G===`BT`?(o.attr(`x`,n.x-(c.width+4*M+5)).attr(`y`,n.y-12),s.attr(`x`,n.x-(c.width+4*M)).attr(`y`,n.y+c.height-12)):s.attr(`x`,n.posWithOffset-c.width/2),i.rotateCommitLabel))if(G===`TB`||G===`BT`)s.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`),o.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`);else{let e=-7.5-(c.width+10)/25*9.5,t=10+c.width/25*8.5;a.attr(`transform`,`translate(`+e+`, `+t+`) rotate(-45, `+r+`, `+n.y+`)`)}}},`drawCommitLabel`),ge=t.h((e,t,n,r)=>{if(t.tags.length>0){let i=0,a=0,o=0,s=[];for(let r of t.tags.reverse()){let t=e.insert(`polygon`),c=e.append(`circle`),l=e.append(`text`).attr(`y`,n.y-16-i).attr(`class`,`tag-label`).text(r),u=l.node()?.getBBox();if(!u)throw Error(`Tag bbox not found`);a=Math.max(a,u.width),o=Math.max(o,u.height),l.attr(`x`,n.posWithOffset-u.width/2),s.push({tag:l,hole:c,rect:t,yOffset:i}),i+=20}for(let{tag:e,hole:t,rect:i,yOffset:c}of s){let s=o/2,l=n.y-19.2-c;if(i.attr(`class`,`tag-label-bkg`).attr(`points`,`
2
- ${r-a/2-M/2},${l+N}
3
- ${r-a/2-M/2},${l-N}
4
- ${n.posWithOffset-a/2-M},${l-s-N}
5
- ${n.posWithOffset+a/2+M},${l-s-N}
6
- ${n.posWithOffset+a/2+M},${l+s+N}
7
- ${n.posWithOffset-a/2-M},${l+s+N}`),t.attr(`cy`,l).attr(`cx`,r-a/2+M/2).attr(`r`,1.5).attr(`class`,`tag-hole`),G===`TB`||G===`BT`){let o=r+c;i.attr(`class`,`tag-label-bkg`).attr(`points`,`
8
- ${n.x},${o+2}
9
- ${n.x},${o-2}
10
- ${n.x+A},${o-s-2}
11
- ${n.x+A+a+4},${o-s-2}
12
- ${n.x+A+a+4},${o+s+2}
13
- ${n.x+A},${o+s+2}`).attr(`transform`,`translate(12,12) rotate(45, `+n.x+`,`+r+`)`),t.attr(`cx`,n.x+M/2).attr(`cy`,o).attr(`transform`,`translate(12,12) rotate(45, `+n.x+`,`+r+`)`),e.attr(`x`,n.x+5).attr(`y`,o+3).attr(`transform`,`translate(14,14) rotate(45, `+n.x+`,`+r+`)`)}}}},`drawCommitTags`),_e=t.h(e=>{switch(e.customType??e.type){case o.NORMAL:return`commit-normal`;case o.REVERSE:return`commit-reverse`;case o.HIGHLIGHT:return`commit-highlight`;case o.MERGE:return`commit-merge`;case o.CHERRY_PICK:return`commit-cherry-pick`;default:return`commit-normal`}},`getCommitClassType`),ve=t.h((e,t,n,r)=>{let i={x:0,y:0};if(e.parents.length>0){let n=J(e.parents);if(n){let a=r.get(n)??i;return t===`TB`?a.y+j:t===`BT`?(r.get(e.id)??i).y-j:a.x+j}}else if(t===`TB`)return V;else if(t===`BT`)return(r.get(e.id)??i).y-j;else return 0;return 0},`calculatePosition`),ye=t.h((t,n,r)=>{let i=G===`BT`&&r?n:n+A,a=z.get(t.branch)?.pos,o=G===`TB`||G===`BT`?z.get(t.branch)?.pos:i;if(o===void 0||a===void 0)throw Error(`Position were undefined for commit ${t.id}`);let s=F.has(e.b().theme??``);return{x:o,y:G===`TB`||G===`BT`?i:a+(s?I/2+1:-2),posWithOffset:i}},`getCommitPosition`),Y=t.h((e,n,r,i)=>{let a=e.append(`g`).attr(`class`,`commit-bullets`),o=e.append(`g`).attr(`class`,`commit-labels`),s=G===`TB`||G===`BT`?V:0,c=[...n.keys()],l=i.parallelCommits??!1,u=t.h((e,t)=>{let r=n.get(e)?.seq,i=n.get(t)?.seq;return r!==void 0&&i!==void 0?r-i:0},`sortKeys`),d=c.sort(u);G===`BT`&&(l&&le(d,n,s),d=d.reverse()),d.forEach(e=>{let t=n.get(e);if(!t)throw Error(`Commit not found for key ${e}`);l&&(s=ve(t,G,s,B));let c=ye(t,s,l);if(r){let e=_e(t),n=t.customType??t.type;me(a,t,c,e,z.get(t.branch)?.index??0,n),he(o,t,c,s,i),ge(o,t,c,s)}G===`TB`||G===`BT`?B.set(t.id,{x:c.x,y:c.posWithOffset}):B.set(t.id,{x:c.posWithOffset,y:c.y}),s=G===`BT`&&l?s+j:s+j+A,s>W&&(W=s)})},`drawCommits`),be=t.h((e,n,r,i,a)=>{let o=(G===`TB`||G===`BT`?r.x<i.x:r.y<i.y)?n.branch:e.branch,s=t.h(e=>e.branch===o,`isOnBranchToGetCurve`),c=t.h(t=>t.seq>e.seq&&t.seq<n.seq,`isBetweenCommits`);return[...a.values()].some(e=>c(e)&&s(e))},`shouldRerouteArrow`),X=t.h((e,t,n=0)=>{let r=e+Math.abs(e-t)/2;return n>5?r:U.every(e=>Math.abs(e-r)>=10)?(U.push(r),r):X(e,t-Math.abs(e-t)/5,n+1)},`findLane`),xe=t.h((t,n,r,i)=>{let{theme:a}=e.b(),s=L.has(a??``),c=B.get(n.id),l=B.get(r.id);if(c===void 0||l===void 0)throw Error(`Commit positions not found for commits ${n.id} and ${r.id}`);let u=be(n,r,c,l,i),d=``,f=``,p=0,m=0,h=z.get(r.branch)?.index;r.type===o.MERGE&&n.id!==r.parents[0]&&(h=z.get(n.branch)?.index);let g;if(u){d=`A 10 10, 0, 0, 0,`,f=`A 10 10, 0, 0, 1,`,p=10,m=10;let e=c.y<l.y?X(c.y,l.y):X(l.y,c.y),t=c.x<l.x?X(c.x,l.x):X(l.x,c.x);G===`TB`?c.x<l.x?g=`M ${c.x} ${c.y} L ${t-p} ${c.y} ${f} ${t} ${c.y+m} L ${t} ${l.y-p} ${d} ${t+m} ${l.y} L ${l.x} ${l.y}`:(h=z.get(n.branch)?.index,g=`M ${c.x} ${c.y} L ${t+p} ${c.y} ${d} ${t} ${c.y+m} L ${t} ${l.y-p} ${f} ${t-m} ${l.y} L ${l.x} ${l.y}`):G===`BT`?c.x<l.x?g=`M ${c.x} ${c.y} L ${t-p} ${c.y} ${d} ${t} ${c.y-m} L ${t} ${l.y+p} ${f} ${t+m} ${l.y} L ${l.x} ${l.y}`:(h=z.get(n.branch)?.index,g=`M ${c.x} ${c.y} L ${t+p} ${c.y} ${f} ${t} ${c.y-m} L ${t} ${l.y+p} ${d} ${t-m} ${l.y} L ${l.x} ${l.y}`):c.y<l.y?g=`M ${c.x} ${c.y} L ${c.x} ${e-p} ${d} ${c.x+m} ${e} L ${l.x-p} ${e} ${f} ${l.x} ${e+m} L ${l.x} ${l.y}`:(h=z.get(n.branch)?.index,g=`M ${c.x} ${c.y} L ${c.x} ${e+p} ${f} ${c.x+m} ${e} L ${l.x-p} ${e} ${d} ${l.x} ${e-m} L ${l.x} ${l.y}`)}else d=`A 20 20, 0, 0, 0,`,f=`A 20 20, 0, 0, 1,`,p=20,m=20,G===`TB`?(c.x<l.x&&(g=r.type===o.MERGE&&n.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${l.y-p} ${d} ${c.x+m} ${l.y} L ${l.x} ${l.y}`:`M ${c.x} ${c.y} L ${l.x-p} ${c.y} ${f} ${l.x} ${c.y+m} L ${l.x} ${l.y}`),c.x>l.x&&(d=`A 20 20, 0, 0, 0,`,f=`A 20 20, 0, 0, 1,`,p=20,m=20,g=r.type===o.MERGE&&n.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${l.y-p} ${f} ${c.x-m} ${l.y} L ${l.x} ${l.y}`:`M ${c.x} ${c.y} L ${l.x+p} ${c.y} ${d} ${l.x} ${c.y+m} L ${l.x} ${l.y}`),c.x===l.x&&(g=`M ${c.x} ${c.y} L ${l.x} ${l.y}`)):G===`BT`?(c.x<l.x&&(g=r.type===o.MERGE&&n.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${l.y+p} ${f} ${c.x+m} ${l.y} L ${l.x} ${l.y}`:`M ${c.x} ${c.y} L ${l.x-p} ${c.y} ${d} ${l.x} ${c.y-m} L ${l.x} ${l.y}`),c.x>l.x&&(d=`A 20 20, 0, 0, 0,`,f=`A 20 20, 0, 0, 1,`,p=20,m=20,g=r.type===o.MERGE&&n.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${l.y+p} ${d} ${c.x-m} ${l.y} L ${l.x} ${l.y}`:`M ${c.x} ${c.y} L ${l.x+p} ${c.y} ${f} ${l.x} ${c.y-m} L ${l.x} ${l.y}`),c.x===l.x&&(g=`M ${c.x} ${c.y} L ${l.x} ${l.y}`)):(c.y<l.y&&(g=r.type===o.MERGE&&n.id!==r.parents[0]?`M ${c.x} ${c.y} L ${l.x-p} ${c.y} ${f} ${l.x} ${c.y+m} L ${l.x} ${l.y}`:`M ${c.x} ${c.y} L ${c.x} ${l.y-p} ${d} ${c.x+m} ${l.y} L ${l.x} ${l.y}`),c.y>l.y&&(g=r.type===o.MERGE&&n.id!==r.parents[0]?`M ${c.x} ${c.y} L ${l.x-p} ${c.y} ${d} ${l.x} ${c.y-m} L ${l.x} ${l.y}`:`M ${c.x} ${c.y} L ${c.x} ${l.y+p} ${f} ${c.x+m} ${l.y} L ${l.x} ${l.y}`),c.y===l.y&&(g=`M ${c.x} ${c.y} L ${l.x} ${l.y}`));if(g===void 0)throw Error(`Line definition not found`);t.append(`path`).attr(`d`,g).attr(`class`,`arrow arrow`+R(h,P,s))},`drawArrow`),Z=t.h((e,t)=>{let n=e.append(`g`).attr(`class`,`commit-arrows`);[...t.keys()].forEach(e=>{let r=t.get(e);r.parents&&r.parents.length>0&&r.parents.forEach(e=>{xe(n,t.get(e),r,t)})})},`drawArrows`),Se=t.h((t,n,r,i)=>{let{look:a,theme:o,themeVariables:s}=e.b(),{dropShadow:c,THEME_COLOR_LIMIT:l}=s,u=F.has(o??``),d=L.has(o??``),f=t.append(`g`);n.forEach((e,t)=>{let n=R(t,u?l:P,d),o=z.get(e.name)?.pos;if(o===void 0)throw Error(`Position not found for branch ${e.name}`);let s=G===`TB`||G===`BT`?o:u?o+I/2+1:o-2,p=f.append(`line`);p.attr(`x1`,0),p.attr(`y1`,s),p.attr(`x2`,W),p.attr(`y2`,s),p.attr(`class`,`branch branch`+n),G===`TB`?(p.attr(`y1`,V),p.attr(`x1`,o),p.attr(`y2`,W),p.attr(`x2`,o)):G===`BT`&&(p.attr(`y1`,W),p.attr(`x1`,o),p.attr(`y2`,V),p.attr(`x2`,o)),U.push(s);let m=e.name,h=q(m),g=f.insert(`rect`),_=f.insert(`g`).attr(`class`,`branchLabel`).insert(`g`).attr(`class`,`label branch-label`+n);_.node().appendChild(h);let v=h.getBBox(),y=u?0:4,b=u?16:0,x=u?I:0;a===`neo`&&g.attr(`data-look`,`neo`),g.attr(`class`,`branchLabelBkg label`+n).attr(`style`,a===`neo`?`filter:${u?`url(#${i}-drop-shadow)`:c}`:``).attr(`rx`,y).attr(`ry`,y).attr(`x`,-v.width-4-(r.rotateCommitLabel===!0?30:0)).attr(`y`,-v.height/2+10).attr(`width`,v.width+18+b).attr(`height`,v.height+4+x),_.attr(`transform`,`translate(`+(-v.width-14-(r.rotateCommitLabel===!0?30:0)+b/2)+`, `+(s-v.height/2-2)+`)`),G===`TB`?(g.attr(`x`,o-v.width/2-10).attr(`y`,0),_.attr(`transform`,`translate(`+(o-v.width/2-5)+`, 0)`),u&&(g.attr(`transform`,`translate(${-b/2-3}, ${-x-10})`),_.attr(`transform`,`translate(`+(o-v.width/2-5)+`, `+(-x*2+7)+`)`))):G===`BT`?(g.attr(`x`,o-v.width/2-10).attr(`y`,W),_.attr(`transform`,`translate(`+(o-v.width/2-5)+`, `+W+`)`),u&&(g.attr(`transform`,`translate(${-b/2-3}, ${x+10})`),_.attr(`transform`,`translate(`+(o-v.width/2-5)+`, `+(W+x*2+4)+`)`))):g.attr(`transform`,`translate(-19, `+(s-12-x/2)+`)`)})},`drawBranches`),Ce=t.h(function(e,t,n,r,i){return z.set(e,{pos:t,index:n}),t+=50+(i?40:0)+(G===`TB`||G===`BT`?r.width/2:0),t},`setBranchPosition`),we={draw:t.h(function(r,i,a,o){K(),t.g.debug(`in gitgraph renderer`,r+`
14
- `,`id:`,i,a);let s=o.db;if(!s.getConfig){t.g.error(`getConfig method is not available on db`);return}let c=s.getConfig(),l=c.rotateCommitLabel??!1;H=s.getCommits();let u=s.getBranchesAsObjArray();G=s.getDirection();let d=t.p(`[id="${i}"]`),{look:f,theme:p,themeVariables:m}=e.b(),{useGradient:h,gradientStart:g,gradientStop:_,filterColor:v}=m;if(h){let e=d.append(`defs`).append(`linearGradient`).attr(`id`,i+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,g).attr(`stop-opacity`,1),e.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,_).attr(`stop-opacity`,1)}f===`neo`&&F.has(p??``)&&d.append(`defs`).append(`filter`).attr(`id`,i+`-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,v);let y=0;u.forEach((e,t)=>{let n=q(e.name),r=d.append(`g`),i=r.insert(`g`).attr(`class`,`branchLabel`),a=i.insert(`g`).attr(`class`,`label branch-label`);a.node()?.appendChild(n);let o=n.getBBox();y=Ce(e.name,y,t,o,l),a.remove(),i.remove(),r.remove()}),Y(d,H,!1,c),c.showBranches&&Se(d,u,c,i),Z(d,H),Y(d,H,!0,c),n.h.insertTitle(d,`gitTitleText`,c.titleTopMargin??0,s.getDiagramTitle()),e.q(void 0,d,c.diagramPadding,c.useMaxWidth)},`draw`)},Q=8,$=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]),Te=new Set([`redux-color`,`redux-dark-color`]),Ee=new Set([`neo`,`neo-dark`]),De=new Set([`dark`,`redux-dark`,`redux-dark-color`,`neo-dark`]),Oe=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`,`neo`,`neo-dark`]),ke=t.h(e=>{let{svgId:t}=e,n=``;if(e.useGradient&&t)for(let r=0;r<e.THEME_COLOR_LIMIT;r++)n+=`
15
- .label${r} { fill: ${e.mainBkg}; stroke: url(${t}-gradient); stroke-width: ${e.strokeWidth};}
16
- `;return n},`genGitGraphGradient`),Ae=t.h(t=>{let{theme:n,themeVariables:r}=e.y(),{borderColorArray:i}=r,a=$.has(n);if(Ee.has(n)){let e=``;for(let n=0;n<t.THEME_COLOR_LIMIT;n++)if(n===0)e+=`
17
- .branch-label${n} { fill: ${t.nodeBorder};}
18
- .commit${n} { stroke: ${t.nodeBorder}; }
19
- .commit-highlight${n} { stroke: ${t.nodeBorder}; fill: ${t.nodeBorder}; }
20
- .arrow${n} { stroke: ${t.nodeBorder}; }
21
- .commit-bullets { fill: ${t.nodeBorder}; }
22
- .commit-cherry-pick${n} { stroke: ${t.nodeBorder}; }
23
- ${ke(t)}`;else{let r=n%Q;e+=`
24
- .branch-label${n} { fill: ${t[`gitBranchLabel`+r]}; }
25
- .commit${n} { stroke: ${t[`git`+r]}; fill: ${t[`git`+r]}; }
26
- .commit-highlight${n} { stroke: ${t[`gitInv`+r]}; fill: ${t[`gitInv`+r]}; }
27
- .arrow${n} { stroke: ${t[`git`+r]}; }
28
- `}return e}else if(Te.has(n)){let e=``;for(let r=0;r<t.THEME_COLOR_LIMIT;r++)if(r===0)e+=`
29
- .branch-label${r} { fill: ${t.nodeBorder}; ${a?`font-weight:${t.noteFontWeight}`:``} }
30
- .commit${r} { stroke: ${t.nodeBorder}; }
31
- .commit-highlight${r} { stroke: ${t.nodeBorder}; fill: ${t.mainBkg}; }
32
- .label${r} { fill: ${t.mainBkg}; stroke: ${t.nodeBorder}; stroke-width: ${t.strokeWidth}; ${a?`font-weight:${t.noteFontWeight}`:``} }
33
- .arrow${r} { stroke: ${t.nodeBorder}; }
34
- .commit-bullets { fill: ${t.nodeBorder}; }
35
- `;else{let o=r%i.length;e+=`
36
- .branch-label${r} { fill: ${t.nodeBorder}; ${a?`font-weight:${t.noteFontWeight}`:``} }
37
- .commit${r} { stroke: ${i[o]}; fill: ${i[o]}; }
38
- .commit-highlight${r} { stroke: ${i[o]}; fill: ${i[o]}; }
39
- .label${r} { fill: ${De.has(n)?t.mainBkg:i[o]}; stroke: ${i[o]}; stroke-width: ${t.strokeWidth}; }
40
- .arrow${r} { stroke: ${i[o]}; }
41
- `}return e}else{let e=``;for(let n=0;n<t.THEME_COLOR_LIMIT;n++)e+=`
42
- .branch-label${n} { fill: ${t.nodeBorder}; ${a?`font-weight:${t.noteFontWeight}`:``} }
43
- .commit${n} { stroke: ${t.nodeBorder}; }
44
- .commit-highlight${n} { stroke: ${t.nodeBorder}; fill: ${t.nodeBorder}; }
45
- .label${n} { fill: ${t.mainBkg}; stroke: ${t.nodeBorder}; stroke-width: ${t.strokeWidth}; ${a?`font-weight:${t.noteFontWeight}`:``}}
46
- .arrow${n} { stroke: ${t.nodeBorder}; }
47
- .commit-bullets { fill: ${t.nodeBorder}; }
48
- .commit-cherry-pick${n} { stroke: ${t.nodeBorder}; }
49
- `;return e}},`genColor`),je=t.h(e=>`${Array.from({length:e.THEME_COLOR_LIMIT},(e,t)=>t).map(t=>{let n=t%Q;return`
50
- .branch-label${t} { fill: ${e[`gitBranchLabel`+n]}; }
51
- .commit${t} { stroke: ${e[`git`+n]}; fill: ${e[`git`+n]}; }
52
- .commit-highlight${t} { stroke: ${e[`gitInv`+n]}; fill: ${e[`gitInv`+n]}; }
53
- .label${t} { fill: ${e[`git`+n]}; }
54
- .arrow${t} { stroke: ${e[`git`+n]}; }
55
- `}).join(`
56
- `)}`,`normalTheme`),Me={parser:oe,db:T,renderer:we,styles:t.h(t=>{let{theme:n}=e.y(),r=Oe.has(n);return`
57
- .commit-id,
58
- .commit-msg,
59
- .branch-label {
60
- fill: lightgrey;
61
- color: lightgrey;
62
- font-family: 'trebuchet ms', verdana, arial, sans-serif;
63
- font-family: var(--mermaid-font-family);
64
- }
65
-
66
- ${r?Ae(t):je(t)}
67
-
68
- .branch {
69
- stroke-width: ${t.strokeWidth};
70
- stroke: ${t.commitLineColor??t.lineColor};
71
- stroke-dasharray: ${r?`4 2`:`2`};
72
- }
73
- .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${r?t.nodeBorder:t.commitLabelColor}; ${r?`font-weight:${t.noteFontWeight};`:``}}
74
- .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${r?`transparent`:t.commitLabelBackground}; opacity: ${r?``:.5}; }
75
- .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}
76
- .tag-label-bkg { fill: ${r?t.mainBkg:t.tagLabelBackground}; stroke: ${r?t.nodeBorder:t.tagLabelBorder}; ${r?`filter:${t.dropShadow}`:``} }
77
- .tag-hole { fill: ${t.textColor}; }
78
-
79
- .commit-merge {
80
- stroke: ${r?t.mainBkg:t.primaryColor};
81
- fill: ${r?t.mainBkg:t.primaryColor};
82
- }
83
- .commit-reverse {
84
- stroke: ${r?t.mainBkg:t.primaryColor};
85
- fill: ${r?t.mainBkg:t.primaryColor};
86
- stroke-width: ${r?t.strokeWidth:3};
87
- }
88
- .commit-highlight-outer {
89
- }
90
- .commit-highlight-inner {
91
- stroke: ${r?t.mainBkg:t.primaryColor};
92
- fill: ${r?t.mainBkg:t.primaryColor};
93
- }
94
-
95
- .arrow {
96
- /* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
97
- stroke-width: ${$.has(n)?t.strokeWidth:8};
98
- stroke-linecap: round;
99
- fill: none
100
- }
101
- .gitTitleText {
102
- text-anchor: middle;
103
- font-size: 18px;
104
- fill: ${t.textColor};
105
- }
106
- `},`getStyles`)};exports.diagram=Me;