@juki-team/base-ui 1.4.121 → 1.4.127

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 (343) hide show
  1. package/dist/esm/ArrowForwardIcon-C60hznwq.js +1 -0
  2. package/dist/esm/BarChart-Y665GO2I.js +1 -0
  3. package/dist/esm/{CartesianChart-tXHM9yHp.js → CartesianChart-BSvx15yS.js} +5 -5
  4. package/dist/esm/ChangePasswordModal-k-lMf3KZ.js +1 -0
  5. package/dist/esm/CodeEditor-Dzi2v961.js +1 -0
  6. package/dist/esm/CodeViewer-BdmCvDHi.js +1 -0
  7. package/dist/esm/Collapse-DT9m5JSq.js +1 -0
  8. package/dist/esm/DataGrid-BMin2rBG.js +277 -0
  9. package/dist/esm/DataViewer-DFjt8Z2T.js +1 -0
  10. package/dist/esm/DrawerView-DnA_hA_o.js +1 -0
  11. package/dist/esm/ExcalidrawButton-BIpwsxPt.js +1 -0
  12. package/dist/esm/GraphvizViewer-BcJ7nToT.js +1 -0
  13. package/dist/esm/ImageLoaderCropper-05YcRQBj.js +1 -0
  14. package/dist/esm/InputCellPhoneNumber-BMf06bCT.js +1 -0
  15. package/dist/esm/{InputColor-D_uAIBKY.js → InputColor-D4iKI1yK.js} +3 -3
  16. package/dist/esm/LineChart-BIIgUvoc.js +1 -0
  17. package/dist/esm/MdMath-DQTMZaLV.js +1 -0
  18. package/dist/esm/MdMathEditor-BNc7OJyC.js +28 -0
  19. package/dist/esm/{Popover-myjbsRtv.js → Popover-3_hEGjKj.js} +1 -1
  20. package/dist/esm/ReplyIcon-DHT60m5d.js +1 -0
  21. package/dist/esm/SettingsIcon-CwPMEnlj.js +1 -0
  22. package/dist/esm/SlideDeck-CeJiattp.js +1 -0
  23. package/dist/esm/{ProblemStatus-C5CR0Z8d.js → SubmissionDateField-BrmGyMm3.js} +1 -1
  24. package/dist/esm/TableOfContents-CuG8yYpo.js +1 -0
  25. package/dist/esm/TextHeadCell-SVbfF_eL.js +1 -0
  26. package/dist/esm/Tooltip-DDKwIA6e.js +7 -0
  27. package/dist/esm/{UserCodeEditor-BwNoHEIy.js → UserCodeEditor-B03D6M_j.js} +9 -9
  28. package/dist/esm/VirtualizedRowsFixed-CmXcLfyc.js +1 -0
  29. package/dist/esm/WorksheetAsSlides-DAW1vFDM.js +1 -0
  30. package/dist/esm/WorksheetBodies-CoKyyPAM.js +1 -0
  31. package/dist/esm/WorksheetContents-3MJ6QvVj.js +1 -0
  32. package/dist/esm/WorksheetEditor-MJcu6NAp.js +1 -0
  33. package/dist/esm/WorksheetNode-CNdvC8qa.js +1 -0
  34. package/dist/esm/WorksheetViewer-Csl3IhGA.js +1 -0
  35. package/dist/esm/arc-BNZ5pIhU.js +1 -0
  36. package/dist/esm/architectureDiagram-3BPJPVTR-EGo92Js8.js +1 -0
  37. package/dist/esm/{band-D2afako6.js → band-DVHgMxOa.js} +1 -1
  38. package/dist/esm/basic-setup-Uxna1ORW.js +1 -0
  39. package/dist/esm/blockDiagram-GPEHLZMM-YEwStt0q.js +1 -0
  40. package/dist/esm/c4Diagram-AAUBKEIU-6qLMKLHQ.js +1 -0
  41. package/dist/esm/channel-DuJyewAO.js +1 -0
  42. package/dist/esm/chunk-2J33WTMH-CSNy6D0K.js +1 -0
  43. package/dist/esm/{chunk-4BX2VUAB-COJYrArq.js → chunk-4BX2VUAB-BG00Pq3P.js} +1 -1
  44. package/dist/esm/chunk-55IACEB6-_KG92tYv.js +1 -0
  45. package/dist/esm/chunk-727SXJPM-1yPcPicj.js +1 -0
  46. package/dist/esm/chunk-AQP2D5EJ-B6rE4s-L.js +1 -0
  47. package/dist/esm/{chunk-FMBD7UC4-PcmGZaXU.js → chunk-FMBD7UC4-B30SBvYv.js} +1 -1
  48. package/dist/esm/chunk-ND2GUHAM-Dew5vqZ7.js +1 -0
  49. package/dist/esm/{chunk-QZHKN3VN-D5wczz_U.js → chunk-QZHKN3VN-DBZ0ofQY.js} +1 -1
  50. package/dist/esm/classDiagram-4FO5ZUOK-D95DEj2F.js +1 -0
  51. package/dist/esm/classDiagram-v2-Q7XG4LA2-D95DEj2F.js +1 -0
  52. package/dist/esm/constants.js +1 -1
  53. package/dist/esm/cose-bilkent-S5V4N54A-DvdEsdgg.js +1 -0
  54. package/dist/esm/dagre-BM42HDAG-CAK4m8n4.js +1 -0
  55. package/dist/esm/{date-DabTuCYQ.js → date-CmFU6v8V.js} +1 -1
  56. package/dist/esm/{defaultLocale-HOdfsG1x.js → defaultLocale-BAKTrQtR.js} +1 -1
  57. package/dist/esm/diagram-2AECGRRQ-CSqNVFb4.js +1 -0
  58. package/dist/esm/diagram-5GNKFQAL-BWzWwjF5.js +1 -0
  59. package/dist/esm/diagram-KO2AKTUF-D2-JeanM.js +1 -0
  60. package/dist/esm/diagram-LMA3HP47-DS2R1tWs.js +1 -0
  61. package/dist/esm/diagram-OG6HWLK6-DTxKf0Qv.js +1 -0
  62. package/dist/esm/erDiagram-TEJ5UH35-WtYIPbRt.js +1 -0
  63. package/dist/esm/{floating-ui.dom-BBZn3WzR.js → floating-ui.dom-D1Wb0QDy.js} +1 -1
  64. package/dist/esm/flowDiagram-I6XJVG4X-Dy8OXjRp.js +1 -0
  65. package/dist/esm/ganttDiagram-6RSMTGT7-EDpgQ3lf.js +1 -0
  66. package/dist/esm/gitGraphDiagram-PVQCEYII-B46XqY2u.js +1 -0
  67. package/dist/esm/graph-CBbILnwM.js +1 -0
  68. package/dist/esm/helpers.js +1 -1
  69. package/dist/esm/index-6wuMZC45.js +1 -0
  70. package/dist/esm/index-7ZeiemAy.js +1 -0
  71. package/dist/esm/index-93zckEk3.js +1 -0
  72. package/dist/esm/{index-BD_n8l03.js → index-9FCB1eYq.js} +1 -1
  73. package/dist/esm/index-B62yhWOD.js +1 -0
  74. package/dist/esm/index-BGOJy6XN.js +1 -0
  75. package/dist/esm/index-BLeJ2vIS.js +1 -0
  76. package/dist/esm/index-BNfTE7vw.js +1 -0
  77. package/dist/esm/index-BP3Q2zrN.js +1 -0
  78. package/dist/esm/index-BP3zM0tT.js +1 -0
  79. package/dist/esm/index-BRtSnjHY.js +1 -0
  80. package/dist/esm/index-BqzjQnaK.js +1 -0
  81. package/dist/esm/{index-BWbfbDmw.js → index-BwuVfyt_.js} +1 -1
  82. package/dist/esm/index-C5ILZmlq.js +1 -0
  83. package/dist/esm/index-C78By0NM.js +1 -0
  84. package/dist/esm/index-CR8iXDSF.js +1 -0
  85. package/dist/esm/index-CiR06WNd.js +1 -0
  86. package/dist/esm/index-CjLxDzml.js +1 -0
  87. package/dist/esm/index-Cp9n6f_0.js +2 -0
  88. package/dist/esm/index-CscbTRs5.js +1 -0
  89. package/dist/esm/index-Cub1smTw.js +1 -0
  90. package/dist/esm/index-DazVIYP8.js +1 -0
  91. package/dist/esm/index-De9_SWGB.js +1 -0
  92. package/dist/esm/index-Dg7y6UO5.js +1 -0
  93. package/dist/esm/index-DntVU4z9.js +1 -0
  94. package/dist/esm/index-DpJxGesA.js +1 -0
  95. package/dist/esm/index-FHXK2zWb.js +1 -0
  96. package/dist/esm/index-LpQq9PxO.js +1 -0
  97. package/dist/esm/index-QDPpqsGj.js +1 -0
  98. package/dist/esm/{index-DDs-O4vd.js → index-_4A5sEHw.js} +1 -1
  99. package/dist/esm/index-cKVkCxcy.js +1 -0
  100. package/dist/esm/index-uJKDC6Vv.js +1 -0
  101. package/dist/esm/infoDiagram-5YYISTIA-CY7j_JnA.js +1 -0
  102. package/dist/esm/{init-DLRA0X12.js → init-DWDD0M30.js} +1 -1
  103. package/dist/esm/isSymbol-BuOnvf7n.js +1 -0
  104. package/dist/esm/isUndefined-CFeFfF_Q.js +1 -0
  105. package/dist/esm/ishikawaDiagram-YF4QCWOH-D6o2nQHa.js +1 -0
  106. package/dist/esm/journeyDiagram-JHISSGLW-DdFME4_e.js +1 -0
  107. package/dist/esm/kanban-definition-UN3LZRKU-DVq4JZWr.js +1 -0
  108. package/dist/esm/layout-B7iAeCjH.js +1 -0
  109. package/dist/esm/{linear-BRlKh6eb.js → linear-BqR6NtXG.js} +1 -1
  110. package/dist/esm/{lua-8DXOpKDz.js → lua-BvgfYBhq.js} +1 -1
  111. package/dist/esm/main.js +1 -1
  112. package/dist/esm/map-CUEN-iGA.js +1 -0
  113. package/dist/esm/mermaid.core-BJ63Ijjp.js +1 -0
  114. package/dist/esm/mindmap-definition-RKZ34NQL-jgbgERyG.js +1 -0
  115. package/dist/esm/{ordinal-zwWoQKz9.js → ordinal-UuA5o140.js} +1 -1
  116. package/dist/esm/pieDiagram-4H26LBE5-Kk7ovyMv.js +1 -0
  117. package/dist/esm/quadrantDiagram-W4KKPZXB-DiMCYk-T.js +1 -0
  118. package/dist/esm/requirementDiagram-4Y6WPE33-DZBXo7zD.js +1 -0
  119. package/dist/esm/sankeyDiagram-5OEKKPKP-CJp9Tkkm.js +1 -0
  120. package/dist/esm/sequenceDiagram-3UESZ5HK-D76l6Rd4.js +1 -0
  121. package/dist/esm/server.js +1 -1
  122. package/dist/esm/settings.js +1 -1
  123. package/dist/esm/stateDiagram-AJRCARHV-CesXVS_W.js +1 -0
  124. package/dist/esm/stateDiagram-v2-BHNVJYJU-DqWSoWM6.js +1 -0
  125. package/dist/esm/{string-LeDn2fkG.js → string-CQk_HvWX.js} +1 -1
  126. package/dist/esm/throttle-omWozCTR.js +1 -0
  127. package/dist/esm/{time-BPMFfIa-.js → time-BgcLBBP-.js} +1 -1
  128. package/dist/esm/time-BhHpEZFB.js +1 -0
  129. package/dist/esm/timeline-definition-PNZ67QCA-CDn8cvlq.js +1 -0
  130. package/dist/esm/toNumber-DDd3oWg0.js +1 -0
  131. package/dist/esm/types-Bp4jYQko.js +1 -0
  132. package/dist/esm/vennDiagram-CIIHVFJN-DlZtAp7y.js +1 -0
  133. package/dist/esm/viz-BjPw9uNj.js +9 -0
  134. package/dist/esm/wardley-L42UT6IY-Bn2xZ99U.js +15 -0
  135. package/dist/esm/wardleyDiagram-YWT4CUSO-DG4_85tj.js +1 -0
  136. package/dist/esm/{websocket-Nx7WdiK7.js → websocket-BXbChnc8.js} +1 -1
  137. package/dist/esm/{worksheet-BxUIsAEo.js → worksheet-BfayCMey.js} +1 -1
  138. package/dist/esm/{worksheet-D1AAXRU9.js → worksheet-JNPwhsnI.js} +1 -1
  139. package/dist/esm/{worksheet-ClM0CaBH.js → worksheet-KMCQx4-g.js} +1 -1
  140. package/dist/esm/xychartDiagram-2RQKCTM6-BYf7oiMn.js +1 -0
  141. package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3/node_modules/@milkdown/kit/lib/component/diff.d.ts +1 -0
  142. package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3/node_modules/@milkdown/kit/lib/exception.d.ts +1 -0
  143. package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3/node_modules/@milkdown/kit/lib/plugin/diff.d.ts +1 -0
  144. package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3/node_modules/@milkdown/kit/lib/plugin/streaming.d.ts +1 -0
  145. package/dist/module-types/src/components/templates/columns/contest-columns/index.d.ts +2 -2
  146. package/dist/module-types/src/components/templates/index.d.ts +0 -2
  147. package/dist/module-types/src/components/templates/{columns → server/columns}/contest-columns/getContestContestantsHeader.d.ts +1 -1
  148. package/dist/module-types/src/components/templates/{columns → server/columns}/contest-columns/getContestDateHeader.d.ts +1 -1
  149. package/dist/module-types/src/components/templates/server/index.d.ts +4 -0
  150. package/dist/module-types/src/components/templates/{problem → server/problem}/TagsField.d.ts +1 -1
  151. package/dist/module-types/src/components/templates/{submission → server/submission}/SubmissionDateField.d.ts +1 -1
  152. package/package.json +55 -60
  153. package/src/styles/components/atoms/_button.scss +7 -7
  154. package/src/styles/components/atoms/_data-viewer.scss +3 -3
  155. package/src/vendor/@milkdown/crepe/lib/theme/common/ai.css +446 -0
  156. package/src/vendor/@milkdown/crepe/lib/theme/common/code-mirror.css +14 -0
  157. package/src/vendor/@milkdown/crepe/lib/theme/common/diff.css +177 -0
  158. package/src/vendor/@milkdown/crepe/lib/theme/common/style.css +2 -0
  159. package/src/vendor/@milkdown/crepe/src/theme/common/ai.css +430 -0
  160. package/src/vendor/@milkdown/crepe/src/theme/common/code-mirror.css +14 -0
  161. package/src/vendor/@milkdown/crepe/src/theme/common/diff.css +196 -0
  162. package/src/vendor/@milkdown/crepe/src/theme/common/style.css +2 -0
  163. package/src/vendor/fumadocs-ui/css/generated/docs.css +0 -2
  164. package/src/vendor/fumadocs-ui/css/generated/flux.css +0 -2
  165. package/src/vendor/fumadocs-ui/css/generated/home.css +0 -8
  166. package/src/vendor/fumadocs-ui/css/generated/notebook.css +0 -2
  167. package/src/vendor/fumadocs-ui/css/generated/shared.css +81 -16
  168. package/src/vendor/fumadocs-ui/dist/style.css +56 -34
  169. package/src/vendor/handsontable/styles/handsontable.css +335 -82
  170. package/src/vendor/handsontable/styles/handsontable.min.css +4 -3
  171. package/src/vendor/handsontable/styles/ht-icons-horizon.css +11 -3
  172. package/src/vendor/handsontable/styles/ht-icons-horizon.min.css +4 -3
  173. package/src/vendor/handsontable/styles/ht-icons-main.css +11 -3
  174. package/src/vendor/handsontable/styles/ht-icons-main.min.css +4 -3
  175. package/src/vendor/handsontable/styles/ht-theme-classic-no-icons.css +21 -2
  176. package/src/vendor/handsontable/styles/ht-theme-classic-no-icons.min.css +4 -3
  177. package/src/vendor/handsontable/styles/ht-theme-classic.css +32 -5
  178. package/src/vendor/handsontable/styles/ht-theme-classic.min.css +4 -3
  179. package/src/vendor/handsontable/styles/ht-theme-horizon-no-icons.css +20 -1
  180. package/src/vendor/handsontable/styles/ht-theme-horizon-no-icons.min.css +4 -3
  181. package/src/vendor/handsontable/styles/ht-theme-horizon.css +31 -4
  182. package/src/vendor/handsontable/styles/ht-theme-horizon.min.css +4 -3
  183. package/src/vendor/handsontable/styles/ht-theme-main-no-icons.css +21 -2
  184. package/src/vendor/handsontable/styles/ht-theme-main-no-icons.min.css +4 -3
  185. package/src/vendor/handsontable/styles/ht-theme-main.css +32 -5
  186. package/src/vendor/handsontable/styles/ht-theme-main.min.css +4 -3
  187. package/src/vendor/katex/dist/katex-swap.css +5 -2
  188. package/src/vendor/katex/dist/katex-swap.min.css +1 -1
  189. package/src/vendor/katex/dist/katex.css +5 -2
  190. package/src/vendor/katex/dist/katex.min.css +1 -1
  191. package/src/vendor/katex/src/styles/katex.scss +3 -1
  192. package/dist/esm/ArrowForwardIcon-CVIKnzmu.js +0 -1
  193. package/dist/esm/BarChart-C4j466sV.js +0 -1
  194. package/dist/esm/ChangePasswordModal-DAn7XeyD.js +0 -1
  195. package/dist/esm/CodeEditor-CFWIRByc.js +0 -1
  196. package/dist/esm/CodeViewer-C6XCe0GT.js +0 -1
  197. package/dist/esm/Collapse-DpriDerh.js +0 -1
  198. package/dist/esm/DataGrid-CD44fkam.js +0 -272
  199. package/dist/esm/DataViewer-B1l0B0-d.js +0 -1
  200. package/dist/esm/DrawerView-hvnlPQq6.js +0 -1
  201. package/dist/esm/ExcalidrawButton-COXAKOpn.js +0 -1
  202. package/dist/esm/GraphvizViewer-BK4ypl3L.js +0 -1
  203. package/dist/esm/ImageLoaderCropper-DEt5ge51.js +0 -1
  204. package/dist/esm/InputCellPhoneNumber-CbFB6H2i.js +0 -1
  205. package/dist/esm/LineChart-B3nrTHaA.js +0 -1
  206. package/dist/esm/MdMath-Mf8WxhKy.js +0 -1
  207. package/dist/esm/MdMathEditor-BUf36EaT.js +0 -28
  208. package/dist/esm/ReplyIcon-DJFT1Tjl.js +0 -1
  209. package/dist/esm/SettingsIcon-CaFHSleq.js +0 -1
  210. package/dist/esm/SlideDeck-DvVHz3uy.js +0 -1
  211. package/dist/esm/TableOfContents-I1zUQZlM.js +0 -1
  212. package/dist/esm/TextHeadCell-CDT516Nd.js +0 -1
  213. package/dist/esm/Tooltip-CHc2LM3e.js +0 -7
  214. package/dist/esm/VirtualizedRowsFixed-SmGRufd0.js +0 -1
  215. package/dist/esm/WorksheetAsSlides-BQVnbTDc.js +0 -1
  216. package/dist/esm/WorksheetBodies-kphWX0g5.js +0 -1
  217. package/dist/esm/WorksheetContents-CI8UrxIy.js +0 -1
  218. package/dist/esm/WorksheetEditor-CHC4ormG.js +0 -1
  219. package/dist/esm/WorksheetNode-C9ioDzE-.js +0 -1
  220. package/dist/esm/WorksheetViewer-Drg2e9_6.js +0 -1
  221. package/dist/esm/_baseIteratee-DJNkOVK7.js +0 -1
  222. package/dist/esm/_baseUniq-BJKKUJ6e.js +0 -1
  223. package/dist/esm/arc-CpSlG_nw.js +0 -1
  224. package/dist/esm/architecture-YZFGNWBL-DHLZLvJj.js +0 -1
  225. package/dist/esm/architectureDiagram-Q4EWVU46-DO8F0qz7.js +0 -1
  226. package/dist/esm/basic-setup-Cz3rV4Fo.js +0 -1
  227. package/dist/esm/blockDiagram-DXYQGD6D-DNKe0cgR.js +0 -1
  228. package/dist/esm/c4Diagram-AHTNJAMY-DN5fuFmb.js +0 -1
  229. package/dist/esm/channel-4mHTJV-N.js +0 -1
  230. package/dist/esm/chunk-4TB4RGXK-BgOhjp4u.js +0 -1
  231. package/dist/esm/chunk-55IACEB6-BlGeNxvg.js +0 -1
  232. package/dist/esm/chunk-EDXVE4YY-CrsJ2Hnl.js +0 -1
  233. package/dist/esm/chunk-OYMX7WX6-Dd_OySsr.js +0 -1
  234. package/dist/esm/chunk-YZCP3GAM-J0il8D93.js +0 -1
  235. package/dist/esm/classDiagram-6PBFFD2Q-BudcHsyy.js +0 -1
  236. package/dist/esm/classDiagram-v2-HSJHXN6E-BudcHsyy.js +0 -1
  237. package/dist/esm/clone-Bdky4iBO.js +0 -1
  238. package/dist/esm/cose-bilkent-S5V4N54A-ZsIi3T0h.js +0 -1
  239. package/dist/esm/dagre-KV5264BT-Ps6KiA13.js +0 -1
  240. package/dist/esm/diagram-5BDNPKRD-CmcDSDfS.js +0 -1
  241. package/dist/esm/diagram-G4DWMVQ6-MRapKKyA.js +0 -1
  242. package/dist/esm/diagram-MMDJMWI5--Lf_QB5P.js +0 -1
  243. package/dist/esm/diagram-TYMM5635-CfbzkptG.js +0 -1
  244. package/dist/esm/erDiagram-SMLLAGMA-DmAtzyw1.js +0 -1
  245. package/dist/esm/flowDiagram-DWJPFMVM-Cd5g_eEq.js +0 -1
  246. package/dist/esm/ganttDiagram-T4ZO3ILL-O3kXJMuu.js +0 -1
  247. package/dist/esm/gitGraph-7Q5UKJZL-w9fSBFuS.js +0 -1
  248. package/dist/esm/gitGraphDiagram-UUTBAWPF-XLFtNk0y.js +0 -1
  249. package/dist/esm/graph-Bh_6Hxf_.js +0 -1
  250. package/dist/esm/index-B8o5x2RR.js +0 -1
  251. package/dist/esm/index-BXwIVJ1i.js +0 -1
  252. package/dist/esm/index-B_SR88hF.js +0 -1
  253. package/dist/esm/index-BdEuQrE0.js +0 -1
  254. package/dist/esm/index-Bp7rYslS.js +0 -1
  255. package/dist/esm/index-Buo8u5Rd.js +0 -1
  256. package/dist/esm/index-Bx0ktss6.js +0 -1
  257. package/dist/esm/index-BypZQ30J.js +0 -1
  258. package/dist/esm/index-CG-nC_T_.js +0 -1
  259. package/dist/esm/index-CG5i3mPd.js +0 -1
  260. package/dist/esm/index-CLMLLwc9.js +0 -1
  261. package/dist/esm/index-CUjyY2a3.js +0 -1
  262. package/dist/esm/index-C__8JPAk.js +0 -1
  263. package/dist/esm/index-CoedJ1ql.js +0 -1
  264. package/dist/esm/index-CueeU9Hx.js +0 -1
  265. package/dist/esm/index-D1ky-z91.js +0 -1
  266. package/dist/esm/index-DEH449Hc.js +0 -1
  267. package/dist/esm/index-DFMzt8xL.js +0 -1
  268. package/dist/esm/index-DI-7QOUe.js +0 -1
  269. package/dist/esm/index-DUtxMiYq.js +0 -1
  270. package/dist/esm/index-DdRpaNiN.js +0 -1
  271. package/dist/esm/index-DquUMjcv.js +0 -1
  272. package/dist/esm/index-MkWt_kX0.js +0 -1
  273. package/dist/esm/index-USryHMlL.js +0 -1
  274. package/dist/esm/index-_eiBoCQ6.js +0 -1
  275. package/dist/esm/index-a79hibwg.js +0 -1
  276. package/dist/esm/index-iowlALIm.js +0 -1
  277. package/dist/esm/index-tDMZSRa9.js +0 -2
  278. package/dist/esm/index-tGGDvGCv.js +0 -1
  279. package/dist/esm/info-OMHHGYJF-6icJTSRL.js +0 -1
  280. package/dist/esm/infoDiagram-42DDH7IO-DiPK6iLZ.js +0 -1
  281. package/dist/esm/isSymbol-CATEdeai.js +0 -1
  282. package/dist/esm/isUndefined-DgmxjSXK.js +0 -1
  283. package/dist/esm/ishikawaDiagram-UXIWVN3A-DNCSSMvk.js +0 -1
  284. package/dist/esm/journeyDiagram-VCZTEJTY-BxyeAOhI.js +0 -1
  285. package/dist/esm/kanban-definition-6JOO6SKY-BR8Xd4RY.js +0 -1
  286. package/dist/esm/layout-BsYGzjO0.js +0 -1
  287. package/dist/esm/map-BvlAjF4J.js +0 -1
  288. package/dist/esm/memoize-CPUrcYQl.js +0 -1
  289. package/dist/esm/mermaid-parser.core-DxB6tfwM.js +0 -2
  290. package/dist/esm/mermaid.core-DmkzFmrK.js +0 -1
  291. package/dist/esm/min-Dc9VrJ6M.js +0 -1
  292. package/dist/esm/mindmap-definition-QFDTVHPH-BUmIu9eO.js +0 -1
  293. package/dist/esm/packet-4T2RLAQJ-jB8585_W.js +0 -1
  294. package/dist/esm/pie-ZZUOXDRM-BKLoVTcY.js +0 -1
  295. package/dist/esm/pieDiagram-DEJITSTG-CJQonP9T.js +0 -1
  296. package/dist/esm/quadrantDiagram-34T5L4WZ-o3IEMDUC.js +0 -1
  297. package/dist/esm/radar-PYXPWWZC-BBal7TH8.js +0 -1
  298. package/dist/esm/requirementDiagram-MS252O5E-CSBSz0_J.js +0 -1
  299. package/dist/esm/sankeyDiagram-XADWPNL6-Dd0d-7E4.js +0 -1
  300. package/dist/esm/sequenceDiagram-FGHM5R23-DEPMVZxI.js +0 -1
  301. package/dist/esm/stateDiagram-FHFEXIEX-B_eljgWF.js +0 -1
  302. package/dist/esm/stateDiagram-v2-QKLJ7IA2-D9FCD1lO.js +0 -1
  303. package/dist/esm/throttle-BsCMUG1-.js +0 -1
  304. package/dist/esm/time-CyaZFqIA.js +0 -1
  305. package/dist/esm/timeline-definition-GMOUNBTQ-Cg4NUF_H.js +0 -1
  306. package/dist/esm/toNumber-Bh_HTlSx.js +0 -1
  307. package/dist/esm/treeView-SZITEDCU-S-ba_Q_y.js +0 -1
  308. package/dist/esm/treemap-W4RFUUIX-CnmNi6qL.js +0 -1
  309. package/dist/esm/types-NAGOQCyQ.js +0 -1
  310. package/dist/esm/vennDiagram-DHZGUBPP-B0vBQEXk.js +0 -1
  311. package/dist/esm/viz-CFEjElvl.js +0 -9
  312. package/dist/esm/wardley-RL74JXVD-CQrog0ka.js +0 -1
  313. package/dist/esm/wardleyDiagram-NUSXRM2D-BxnrOeU9.js +0 -1
  314. package/dist/esm/xychartDiagram-5P7HB3ND-B6KmAHYz.js +0 -1
  315. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/code-block.d.ts +0 -0
  316. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/image-block.d.ts +0 -0
  317. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/image-inline.d.ts +0 -0
  318. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/index.d.ts +0 -0
  319. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/link-tooltip.d.ts +0 -0
  320. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/list-item-block.d.ts +0 -0
  321. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/table-block.d.ts +0 -0
  322. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/core.d.ts +0 -0
  323. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/ctx.d.ts +0 -0
  324. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/block.d.ts +0 -0
  325. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/clipboard.d.ts +0 -0
  326. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/cursor.d.ts +0 -0
  327. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/history.d.ts +0 -0
  328. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/indent.d.ts +0 -0
  329. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/listener.d.ts +0 -0
  330. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/slash.d.ts +0 -0
  331. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/tooltip.d.ts +0 -0
  332. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/trailing.d.ts +0 -0
  333. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/upload.d.ts +0 -0
  334. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/preset/commonmark.d.ts +0 -0
  335. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/preset/gfm.d.ts +0 -0
  336. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/history.d.ts +0 -0
  337. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/index.d.ts +0 -0
  338. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/inputrules.d.ts +0 -0
  339. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/keymap.d.ts +0 -0
  340. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/model.d.ts +0 -0
  341. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/state.d.ts +0 -0
  342. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/view.d.ts +0 -0
  343. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3}/node_modules/@milkdown/kit/lib/utils.d.ts +0 -0
@@ -0,0 +1 @@
1
+ import{a as t,N as e,aa as n,af as i,y as r,O as a,ai as s,aB as o,ap as c,aI as l,aA as h,_ as d,r as p,n as u}from"./mermaid.core-BJ63Ijjp.js";import{d as g}from"./arc-BNZ5pIhU.js";import"./index-Cp9n6f_0.js";import"react/jsx-runtime";import"react";import"./settings-DgLs6IK_.js";import"./SubmissionDateField-BrmGyMm3.js";import"./index-BwuVfyt_.js";import"./enums.js";import"./date-CmFU6v8V.js";import"./time-BgcLBBP-.js";import"./websocket-BXbChnc8.js";import"./worksheet-KMCQx4-g.js";import"motion/react";import"react-dom";import"./index-9FCB1eYq.js";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";import"./purify.es-BkjUCQC6.js";import"./string-CQk_HvWX.js";var y=function(){var e=t(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),n=[6,11,13,14,15,17,19,20,23,24],i=[1,12],r=[1,13],a=[1,14],s=[1,15],o=[1,16],c=[1,19],l=[1,20],h={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:t(function(t,e,n,i,r,a,s){var o=a.length-1;switch(r){case 1:return a[o-1];case 3:i.setDirection("LR");break;case 4:i.setDirection("TD");break;case 5:case 9:case 10:this.$=[];break;case 6:a[o-1].push(a[o]),this.$=a[o-1];break;case 7:case 8:this.$=a[o];break;case 11:i.getCommonDb().setDiagramTitle(a[o].substr(6)),this.$=a[o].substr(6);break;case 12:this.$=a[o].trim(),i.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[o].trim(),i.getCommonDb().setAccDescription(this.$);break;case 15:i.addSection(a[o].substr(8)),this.$=a[o].substr(8);break;case 18:i.addTask(a[o],0,""),this.$=a[o];break;case 19:i.addEvent(a[o].substr(2)),this.$=a[o]}},"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(n,[2,5],{5:6}),e(n,[2,2]),e(n,[2,3]),e(n,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:i,15:r,17:a,19:s,20:o,21:17,22:18,23:c,24:l},e(n,[2,10],{1:[2,1]}),e(n,[2,6]),{12:21,14:i,15:r,17:a,19:s,20:o,21:17,22:18,23:c,24:l},e(n,[2,8]),e(n,[2,9]),e(n,[2,11]),{16:[1,22]},{18:[1,23]},e(n,[2,14]),e(n,[2,15]),e(n,[2,16]),e(n,[2,17]),e(n,[2,18]),e(n,[2,19]),e(n,[2,7]),e(n,[2,12]),e(n,[2,13])],defaultActions:{},parseError:t(function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},"parseError"),parse:t(function(e){var n=this,i=[0],r=[],a=[null],s=[],o=this.table,c="",l=0,h=0,d=s.slice.call(arguments,1),p=Object.create(this.lexer),u={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(u.yy[g]=this.yy[g]);p.setInput(e,u.yy),u.yy.lexer=p,u.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var y=p.yylloc;s.push(y);var f=p.options&&p.options.ranges;function m(){var t;return"number"!=typeof(t=r.pop()||p.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=n.symbols_[t]||t),t}"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,t(function(t){i.length=i.length-2*t,a.length=a.length-t,s.length=s.length-t},"popStack"),t(m,"lex");for(var x,b,k,w,_,v,$,S,E={};;){if(b=i[i.length-1],this.defaultActions[b]?k=this.defaultActions[b]:(null==x&&(x=m()),k=o[b]&&o[b][x]),void 0===k||!k.length||!k[0]){var T="";for(_ in S=[],o[b])this.terminals_[_]&&_>2&&S.push("'"+this.terminals_[_]+"'");T=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(T,{text:p.match,token:this.terminals_[x]||x,line:p.yylineno,loc:y,expected:S})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+x);switch(k[0]){case 1:i.push(x),a.push(p.yytext),s.push(p.yylloc),i.push(k[1]),x=null,h=p.yyleng,c=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if(v=this.productions_[k[1]][1],E.$=a[a.length-v],E._$={first_line:s[s.length-(v||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(v||1)].first_column,last_column:s[s.length-1].last_column},f&&(E._$.range=[s[s.length-(v||1)].range[0],s[s.length-1].range[1]]),void 0!==(w=this.performAction.apply(E,[c,h,l,u.yy,k[1],a,s].concat(d))))return w;v&&(i=i.slice(0,-1*v*2),a=a.slice(0,-1*v),s=s.slice(0,-1*v)),i.push(this.productions_[k[1]][0]),a.push(E.$),s.push(E._$),$=o[i[i.length-2]][i[i.length-1]],i.push($);break;case 3:return!0}}return!0},"parse")},d=function(){return{EOF:1,parseError:t(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:t(function(t,e){return this.yy=e||this.yy||{},this._input=t,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:t(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},"input"),unput:t(function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=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 r=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===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:t(function(t){this.unput(this.match.slice(t))},"less"),pastInput:t(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:t(function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={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&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var t=this.next();return t||this.lex()},"lex"),begin:t(function(t){this.conditionStack.push(t)},"begin"),popState:t(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:t(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:t(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:t(function(t){this.begin(t)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 13;case 5:return 8;case 6:return 9;case 7:return 7;case 8:return 14;case 9:return this.begin("acc_title"),15;case 10:return this.popState(),"acc_title_value";case 11:return this.begin("acc_descr"),17;case 12:return this.popState(),"acc_descr_value";case 13:this.begin("acc_descr_multiline");break;case 14:this.popState();break;case 15:return"acc_descr_multiline_value";case 16:return 20;case 17:return 24;case 18:return 23;case 19:return 6;case 20:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline[ \t]+LR\b)/i,/^(?:timeline[ \t]+TD\b)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[14,15],inclusive:!1},acc_descr:{rules:[12],inclusive:!1},acc_title:{rules:[10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,13,16,17,18,19,20],inclusive:!0}}}}();function p(){this.yy={}}return h.lexer=d,t(p,"Parser"),p.prototype=h,h.Parser=p,new p}();y.parser=y;var f=y,m={};d(m,{addEvent:()=>L,addSection:()=>I,addTask:()=>C,addTaskOrg:()=>N,clear:()=>S,default:()=>D,getCommonDb:()=>$,getDirection:()=>T,getSections:()=>M,getTasks:()=>H,setDirection:()=>E});var x="",b=0,k="LR",w=[],_=[],v=[],$=t(()=>p,"getCommonDb"),S=t(function(){w.length=0,_.length=0,x="",v.length=0,k="LR",u()},"clear"),E=t(function(t){k=t},"setDirection"),T=t(function(){return k},"getDirection"),I=t(function(t){x=t,w.push(t)},"addSection"),M=t(function(){return w},"getSections"),H=t(function(){let t=j();let e=0;for(;!t&&e<100;)t=j(),e++;return _.push(...v),_},"getTasks"),C=t(function(t,e,n){const i={id:b++,section:x,type:x,task:t,score:e||0,events:n?[n]:[]};v.push(i)},"addTask"),L=t(function(t){v.find(t=>t.id===b-1).events.push(t)},"addEvent"),N=t(function(t){const e={section:x,type:x,description:t,task:t,classes:[]};_.push(e)},"addTaskOrg"),j=t(function(){const e=t(function(t){return v[t].processed},"compileTask");let n=!0;for(const[t,i]of v.entries())e(t),n=n&&i.processed;return n},"compileTasks"),D={clear:S,getCommonDb:$,getDirection:T,setDirection:E,addSection:I,getSections:M,getTasks:H,addTask:C,addTaskOrg:N,addEvent:L},O=0,A=t(function(t,e){const n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n},"drawRect"),B=t(function(e,n){const i=15,r=e.append("circle").attr("cx",n.cx).attr("cy",n.cy).attr("class","face").attr("r",i).attr("stroke-width",2).attr("overflow","visible"),a=e.append("g");function s(t){const e=g().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(i/2.2);t.append("path").attr("class","mouth").attr("d",e).attr("transform","translate("+n.cx+","+(n.cy+2)+")")}function o(t){const e=g().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(i/2.2);t.append("path").attr("class","mouth").attr("d",e).attr("transform","translate("+n.cx+","+(n.cy+7)+")")}function c(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",n.cx-5).attr("y1",n.cy+7).attr("x2",n.cx+5).attr("y2",n.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return a.append("circle").attr("cx",n.cx-5).attr("cy",n.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),a.append("circle").attr("cx",n.cx+5).attr("cy",n.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),t(s,"smile"),t(o,"sad"),t(c,"ambivalent"),n.score>3?s(a):n.score<3?o(a):c(a),r},"drawFace"),R=t(function(t,e){const n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n},"drawCircle"),P=t(function(t,e){const n=e.text.replace(/<br\s*\/?>/gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),i},"drawText"),W=t(function(e,n){function i(t,e,n,i,r){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+i-r)+" "+(t+n-1.2*r)+","+(e+i)+" "+t+","+(e+i)}t(i,"genPoints");const r=e.append("polygon");r.attr("points",i(n.x,n.y,50,20,7)),r.attr("class","labelBox"),n.y=n.y+n.labelMargin,n.x=n.x+.5*n.labelMargin,P(e,n)},"drawLabel"),F=t(function(t,e,n){const i=t.append("g"),r=Z();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=n.width,r.height=n.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,A(i,r),q(n)(e.text,i,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},n,e.colour)},"drawSection"),z=-1,V=t(function(t,e,n,i){const r=e.x+n.width/2,a=t.append("g");z++;a.append("line").attr("id",i+"-task"+z).attr("x1",r).attr("y1",e.y).attr("x2",r).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),B(a,{cx:r,cy:300+30*(5-e.score),score:e.score});const s=Z();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=n.width,s.height=n.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,A(a,s),q(n)(e.task,a,s.x,s.y,s.width,s.height,{class:"task"},n,e.colour)},"drawTask"),G=t(function(t,e){A(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},"drawBackgroundRect"),U=t(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),Z=t(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),q=function(){function e(t,e,n,i,a,s,o,c){r(e.append("text").attr("x",n+a/2).attr("y",i+s/2+5).style("font-color",c).style("text-anchor","middle").text(t),o)}function n(t,e,n,i,a,s,o,c,l){const{taskFontSize:h,taskFontFamily:d}=c,p=t.split(/<br\s*\/?>/gi);for(let t=0;t<p.length;t++){const c=t*h-h*(p.length-1)/2,u=e.append("text").attr("x",n+a/2).attr("y",i).attr("fill",l).style("text-anchor","middle").style("font-size",h).style("font-family",d);u.append("tspan").attr("x",n+a/2).attr("dy",c).text(p[t]),u.attr("y",i+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(u,o)}}function i(t,e,i,a,s,o,c,l){const h=e.append("switch"),d=h.append("foreignObject").attr("x",i).attr("y",a).attr("width",s).attr("height",o).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");d.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),n(t,h,i,a,s,o,c,l),r(d,c)}function r(t,e){for(const n in e)n in e&&t.attr(n,e[n])}return t(e,"byText"),t(n,"byTspan"),t(i,"byFo"),t(r,"_setTextAttrs"),function(t){return"fo"===t.textPlacement?i:"old"===t.textPlacement?e:n}}(),Y=t(function(t,e){O=0,z=-1,t.append("defs").append("marker").attr("id",e+"-arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics");function X(t,e){t.each(function(){var t,n=h(this),i=n.text().split(/(\s+|<br>)/).reverse(),r=[],a=n.attr("y"),s=parseFloat(n.attr("dy")),o=n.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",s+"em");for(let s=0;s<i.length;s++)t=i[i.length-1-s],r.push(t),o.text(r.join(" ").trim()),(o.node().getComputedTextLength()>e||"<br>"===t)&&(r.pop(),o.text(r.join(" ").trim()),r="<br>"===t?[""]:[t],o=n.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))})}t(X,"wrap");var J=t(function(t,e,n,i,r,a=!1){const{theme:s,look:o}=i,c=s?.includes("redux"),l=n%(i?.themeVariables?.THEME_COLOR_LIMIT??12)-1,d=t.append("g");e.section=l,d.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+l);const p=d.append("g"),u=d.append("g"),g=u.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(X,e.width).node().getBBox(),y=i.fontSize?.replace?i.fontSize.replace("px",""):i.fontSize;if(e.height=g.height+1.1*y*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,u.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),c&&u.attr("transform",`translate(${e.width/2}, ${a?e.padding/2+3:e.padding})`),Q(p,e,l,r,i),"neo"===o&&(d.attr("data-look","neo"),c)){const e=s.includes("dark"),n=t.node()?.ownerSVGElement??t.node(),i=h(n),r=i.attr("id")??"",a=r?`${r}-drop-shadow`:"drop-shadow";if(i.select(`#${a}`).empty()){const t=i.select("defs");(t.empty()?i.append("defs"):t).append("filter").attr("id",a).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity",e?"0.2":"0.06").attr("flood-color",e?"#FFFFFF":"#000000")}}return e},"drawNode"),K=t(function(t,e,n){const i=t.append("g"),r=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(X,e.width).node().getBBox(),a=n.fontSize?.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),r.height+1.1*a*.5+e.padding},"getVirtualNodeHeight"),Q=t(function(t,e,n,i,r){const{theme:a}=r,s=a?.includes("redux")?0:5,o=s>0?`M0 ${e.height-5} v${10-e.height} q0,-${s},${s},-${s} h${e.width-10} q${s},0,${s},${s} v${e.height-5} H0 Z`:`M0 ${e.height-5} v${-(e.height-5)} h${e.width} v${e.height} H0 Z`;t.append("path").attr("id",i+"-node-"+O++).attr("class","node-bkg node-"+e.type).attr("d",o),a?.includes("redux")||t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},"defaultBkg"),tt={drawRect:A,drawCircle:R,drawSection:F,drawText:P,drawLabel:W,drawTask:V,drawBackgroundRect:G,getTextObj:U,getNoteRect:Z,initGraphics:Y,drawNode:J,getVirtualNodeHeight:K},et=t(function(t,e,n,i){const r=a(),{look:o,theme:c,themeVariables:d}=r,{useGradient:p,gradientStart:u,gradientStop:g}=d,y=r.timeline?.leftMargin??50;s.debug("timeline",i.db);const f=r.securityLevel;let m;"sandbox"===f&&(m=h("#i"+e));const x=h("sandbox"===f?m.nodes()[0].contentDocument.body:"body").select("#"+e);x.append("g");const b=i.db.getTasks(),k=i.db.getCommonDb().getDiagramTitle();s.debug("task",b),tt.initGraphics(x,e);const w=i.db.getSections();s.debug("sections",w);let _=0,v=0,$=0,S=0,E=50+y,T=50;S=50;let I=0,M=!0;w.forEach(function(t){const e={number:I,descr:t,section:I,width:150,padding:20,maxHeight:_},n=tt.getVirtualNodeHeight(x,e,r);s.debug("sectionHeight before draw",n),_=Math.max(_,n+20)});let H=0,C=0;s.debug("tasks.length",b.length);for(const[t,e]of b.entries()){const n={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:v},i=tt.getVirtualNodeHeight(x,n,r);s.debug("taskHeight before draw",i),v=Math.max(v,i+20),H=Math.max(H,e.events.length);let a=0;for(const t of e.events){const n={descr:t,section:e.section,number:e.section,width:150,padding:20,maxHeight:50};a+=tt.getVirtualNodeHeight(x,n,r)}e.events.length>0&&(a+=10*(e.events.length-1)),C=Math.max(C,a)}s.debug("maxSectionHeight before draw",_),s.debug("maxTaskHeight before draw",v),w&&w.length>0?w.forEach(t=>{const n=b.filter(e=>e.section===t),i={number:I,descr:t,section:I,width:200*Math.max(n.length,1)-50,padding:20,maxHeight:_};s.debug("sectionNode",i);const a=x.append("g"),o=tt.drawNode(a,i,I,r,e);s.debug("sectionNode output",o),a.attr("transform",`translate(${E}, 50)`),T+=_+50,n.length>0&&nt(x,n,I,E,T,v,r,H,C,_,!1,e),E+=200*Math.max(n.length,1),T=50,I++}):(M=!1,nt(x,b,I,E,T,v,r,H,C,_,!0,e));const L=x.node().getBBox();s.debug("bounds",L),k&&x.append("text").text(k).attr("x","neo"===o?2*L.x+y:L.width/2-y).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),$=M?_+v+150:v+100;if(x.append("g").attr("class","lineWrapper").append("line").attr("x1",y).attr("y1",$).attr("x2",L.width+3*y).attr("y2",$).attr("stroke-width",4).attr("stroke","black").attr("marker-end",`url(#${e}-arrowhead)`),"neo"===o&&p&&"neutral"!==c){const t=x.select("defs"),e=(t.empty()?x.append("defs"):t).append("linearGradient").attr("id",x.attr("id")+"-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",u).attr("stop-opacity",1),e.append("stop").attr("offset","100%").attr("stop-color",g).attr("stop-opacity",1)}l(void 0,x,r.timeline?.padding??50,r.timeline?.useMaxWidth??!1)},"draw"),nt=t(function(t,e,n,i,r,a,o,c,l,h,d,p){for(const c of e){const e={descr:c.task,section:n,number:n,width:150,padding:20,maxHeight:a};s.debug("taskNode",e);const h=t.append("g").attr("class","taskWrapper"),u=tt.drawNode(h,e,n,o,p).height;if(s.debug("taskHeight after draw",u),h.attr("transform",`translate(${i}, ${r})`),a=Math.max(a,u),c.events){const e=t.append("g").attr("class","lineWrapper");let s=a;r+=100,s+=it(t,c.events,n,i,r,o,p),r-=100,e.append("line").attr("x1",i+95).attr("y1",r+a).attr("x2",i+95).attr("y2",r+a+100+l+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end",`url(#${p}-arrowhead)`).attr("stroke-dasharray","5,5")}i+=200,d&&!o.timeline?.disableMulticolor&&n++}r-=10},"drawTasks"),it=t(function(t,e,n,i,r,a,o){let c=0;const l=r;r+=100;for(const l of e){const e={descr:l,section:n,number:n,width:150,padding:20,maxHeight:50};s.debug("eventNode",e);const h=t.append("g").attr("class","eventWrapper"),d=tt.drawNode(h,e,n,a,o,!0).height;c+=d,h.attr("transform",`translate(${i}, ${r})`),r=r+10+d}return r=l,c},"drawEvents"),rt={setConf:t(()=>{},"setConf"),draw:et},at=200,st=t(function(t,e,n,i){const r=a(),h=r.timeline?.leftMargin??50;s.debug("timeline",i.db);const d=o(e);d.append("g");const p=i.db.getTasks(),u=i.db.getCommonDb().getDiagramTitle();s.debug("task",p),tt.initGraphics(d);const g=i.db.getSections();s.debug("sections",g);let y=0,f=0;const m=50+h;let x=50;const b=x,k=230,w=m+k;let _=0;const v=g&&g.length>0,$=v?w:m+k,S=Math.max(50,580);g.forEach(function(t){const e={number:_,descr:t,section:_,width:S,padding:5,maxHeight:y},n=tt.getVirtualNodeHeight(d,e,r);s.debug("sectionHeight before draw",n),y=Math.max(y,n)});let E=0;s.debug("tasks.length",p.length);for(const[t,e]of p.entries()){const n={number:t,descr:e,section:e.section,width:at,padding:5,maxHeight:f},i=tt.getVirtualNodeHeight(d,n,r);s.debug("taskHeight before draw",i),f=Math.max(f,i);let a=0;for(const t of e.events){const n={descr:t,section:e.section,number:e.section,width:300,padding:5,maxHeight:50};a+=tt.getVirtualNodeHeight(d,n,r)}e.events.length>0&&(a+=10*(e.events.length-1)),E=Math.max(E,a)+0}s.debug("maxSectionHeight before draw",y),s.debug("maxTaskHeight before draw",f);const T=Math.max(f,E)+30;v?g.forEach(t=>{const e=p.filter(e=>e.section===t),n={number:_,descr:t,section:_,width:S,padding:5,maxHeight:y};s.debug("sectionNode",n);const i=d.append("g"),a=tt.drawNode(i,n,_,r);s.debug("sectionNode output",a);const o=$-k;i.attr("transform",`translate(${o}, ${x})`);const c=x+a.height+20;e.length>0&&ot(d,e,_,$,c,f,r,T,!1);const l=e.length,h=a.height+20+T*Math.max(l,1)-(l>0?60:0);x+=h,_++}):ot(d,p,_,$,x,f,r,T,!0);let I=d.node()?.getBBox();if(!I)throw new Error("bbox not found");if(s.debug("bounds",I),u){if(d.append("text").text(u).attr("x",I.width/2-h).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),I=d.node()?.getBBox(),!I)throw new Error("bbox not found");s.debug("bounds after title",I)}const[M]=c(r.fontSize),H=2*(M??16),C=.5*(M??16)+20,L=d.append("g").attr("class","lineWrapper");L.append("line").attr("x1",$).attr("y1",b-H).attr("x2",$).attr("y2",I.y+I.height+C).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),L.lower(),l(void 0,d,r.timeline?.padding??50,r.timeline?.useMaxWidth??!1)},"draw"),ot=t(function(t,e,n,i,r,a,o,c,l){for(const h of e){const e={descr:h.task,section:n,number:n,width:at,padding:5,maxHeight:a};s.debug("taskNode",e);const d=t.append("g").attr("class","taskWrapper"),p=tt.drawNode(d,e,n,o),u=p.height;s.debug("taskHeight after draw",u);const g=i-20-p.width;if(d.attr("transform",`translate(${g}, ${r})`),a=Math.max(a,u),h.events&&h.events.length>0){const e=r,a=i+50;ct(t,h.events,n,i,a,e,o)}r+=c,l&&!o.timeline?.disableMulticolor&&n++}},"drawTasks"),ct=t(function(t,e,n,i,r,a,o){let c=a;for(const a of e){const e={descr:a,section:n,number:n,width:300,padding:5,maxHeight:0};s.debug("eventNode",e);const l=t.append("g").attr("class","eventWrapper"),h=tt.drawNode(l,e,n,o).height;l.attr("transform",`translate(${r}, ${c})`);const d=c+h/2;t.append("g").attr("class","lineWrapper").append("line").attr("x1",i).attr("y1",d).attr("x2",r).attr("y2",d).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5"),c=c+h+10}return c-a},"drawEvents"),lt={setConf:t(()=>{},"setConf"),draw:st},ht=t(t=>{const{theme:n}=e(),i=n?.includes("dark"),r=n?.includes("color"),a=t.svgId?.replace(/^#/,"")??"",s=a?`url(#${a}-drop-shadow)`:t.dropShadow??"none";let o="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++){const n=""+(17-3*e),a=r?t.borderColorArray[e]:t.mainBkg,c=r?t.borderColorArray[e]:t.nodeBorder;o+=`\n .section-${e-1} rect,\n .section-${e-1} path,\n .section-${e-1} circle {\n fill: ${i&&r?t.mainBkg:a};\n stroke: ${c};\n stroke-width: ${t.strokeWidth};\n filter: ${s};\n }\n\n .section-${e-1} text {\n fill: ${t.nodeBorder};\n font-weight: ${t.fontWeight}\n }\n\n .node-icon-${e-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+e]};\n }\n\n .section-edge-${e-1} {\n stroke: ${t["cScale"+e]};\n }\n\n .edge-depth-${e-1} {\n stroke-width: ${n};\n }\n\n .section-${e-1} line {\n stroke: ${t["cScaleInv"+e]};\n stroke-width: 3;\n }\n\n .lineWrapper line {\n stroke: ${t.nodeBorder};\n stroke-width:${t.strokeWidth}\n }\n\n .disabled,\n .disabled circle,\n .disabled text {\n fill: ${t.tertiaryColor??"lightgray"};\n }\n\n .disabled text {\n fill: ${t.clusterBorder??"#efefef"};\n }\n `}return o},"genReduxSections"),dt=t(t=>{let e="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],n(t["lineColor"+e])?t["lineColor"+e]=i(t["lineColor"+e],20):t["lineColor"+e]=r(t["lineColor"+e],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){const i=""+(17-3*n);e+=`\n .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} path {\n fill: ${t["cScale"+n]};\n }\n .section-${n-1} text {\n fill: ${t["cScaleLabel"+n]};\n }\n .node-icon-${n-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+n]};\n }\n .section-edge-${n-1}{\n stroke: ${t["cScale"+n]};\n }\n .edge-depth-${n-1}{\n stroke-width: ${i};\n }\n .section-${n-1} line {\n stroke: ${t["cScaleInv"+n]} ;\n stroke-width: 3;\n }\n\n .lineWrapper line{\n stroke: ${t["cScaleLabel"+n]} ;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: ${t.tertiaryColor??"lightgray"};\n }\n .disabled text {\n fill: ${t.clusterBorder??"#efefef"};\n }\n `}return e},"genSections"),pt=t(t=>{const{theme:n}=e(),i=n?.includes("redux"),r="neutral"===n,a=t.svgId?.replace(/^#/,"")??"";let s="";if(t.useGradient&&a&&t.THEME_COLOR_LIMIT&&!r)for(let e=0;e<t.THEME_COLOR_LIMIT;e++)s+=`\n .section-${e-1}[data-look="neo"] rect,\n .section-${e-1}[data-look="neo"] path,\n .section-${e-1}[data-look="neo"] circle {\n fill: ${t.mainBkg};\n stroke: url(#${a}-gradient);\n stroke-width: 2;\n }\n .section-${e-1}[data-look="neo"] line {\n stroke: url(#${a}-gradient);\n stroke-width: 2;\n }`;return`\n .edge {\n stroke-width: 3;\n }\n ${i?ht(t):dt(t)}\n ${s}\n .section-root rect, .section-root path, .section-root circle {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .eventWrapper {\n filter: brightness(120%);\n }\n`},"getStyles"),ut={db:m,renderer:{setConf:t(()=>{},"setConf"),draw:t((t,e,n,i)=>"TD"===(i?.db?.getDirection?.()??"LR")?lt.draw(t,e,n,i):rt.draw(t,e,n,i),"draw")},parser:f,styles:pt};export{ut as diagram};
@@ -0,0 +1 @@
1
+ import{j as t,k as r,D as n,U as e,v as o,B as a,x as u,w as i,f,p as c,d as s,r as v,z as l,o as p,q as y,n as b,s as d,e as g,S as O,t as h,g as j,y as w}from"./isSymbol-BuOnvf7n.js";function m(r,n,e){"__proto__"==n&&t?t(r,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):r[n]=e}function x(t,n,e){(void 0!==e&&!r(t[n],e)||void 0===e&&!(n in t))&&m(t,n,e)}var _="object"==typeof exports&&exports&&!exports.nodeType&&exports,N=_&&"object"==typeof module&&module&&!module.nodeType&&module,P=N&&N.exports===_?n.Buffer:void 0,S=P?P.allocUnsafe:void 0;function $(t,r){if(r)return t.slice();var n=t.length,e=S?S(n):new t.constructor(n);return t.copy(e),e}function k(t){var r=new t.constructor(t.byteLength);return new e(r).set(new e(t)),r}function A(t,r){var n=r?k(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function B(t,r){var n=-1,e=t.length;for(r||(r=Array(e));++n<e;)r[n]=t[n];return r}var L=Object.create,T=function(){function t(){}return function(r){if(!o(r))return{};if(L)return L(r);t.prototype=r;var n=new t;return t.prototype=void 0,n}}(),U=a(Object.getPrototypeOf,Object);function q(t){return"function"!=typeof t.constructor||u(t)?{}:T(U(t))}var z=Function.prototype,D=Object.prototype,F=z.toString,I=D.hasOwnProperty,C=F.call(Object);function E(t,r){if(("constructor"!==r||"function"!=typeof t[r])&&"__proto__"!=r)return t[r]}var G=Object.prototype.hasOwnProperty;function H(t,n,e){var o=t[n];G.call(t,n)&&r(o,e)&&(void 0!==e||n in t)||m(t,n,e)}function J(t,r,n,e){var o=!n;n||(n={});for(var a=-1,u=r.length;++a<u;){var i=r[a],f=void 0;void 0===f&&(f=t[i]),o?m(n,i,f):H(n,i,f)}return n}var K=Object.prototype.hasOwnProperty;function M(t){if(!o(t))return function(t){var r=[];if(null!=t)for(var n in Object(t))r.push(n);return r}(t);var r=u(t),n=[];for(var e in t)("constructor"!=e||!r&&K.call(t,e))&&n.push(e);return n}function Q(t){return c(t)?s(t,!0):M(t)}function R(t,r,n,e,a,u,c){var s=E(t,n),g=E(r,n),O=c.get(g);if(O)x(t,n,O);else{var h,j=u?u(s,g,n+"",t,r,c):void 0,w=void 0===j;if(w){var m=p(g),_=!m&&v(g),N=!m&&!_&&l(g);j=g,m||_||N?p(s)?j=s:y(s)?j=B(s):_?(w=!1,j=$(g,!0)):N?(w=!1,j=A(g,!0)):j=[]:function(t){if(!i(t)||"[object Object]"!=f(t))return!1;var r=U(t);if(null===r)return!0;var n=I.call(r,"constructor")&&r.constructor;return"function"==typeof n&&n instanceof n&&F.call(n)==C}(g)||b(g)?(j=s,b(s)?j=J(h=s,Q(h)):o(s)&&!d(s)||(j=q(g))):w=!1}w&&(c.set(g,j),a(j,g,e,u,c),c.delete(g)),x(t,n,j)}}function V(t,r,n,e,a){t!==r&&g(r,function(u,i){if(a||(a=new O),o(u))R(t,r,i,n,V,e,a);else{var f=e?e(E(t,i),u,i+"",t,r,a):void 0;void 0===f&&(f=u),x(t,i,f)}},Q)}function W(t,n,e){if(!o(e))return!1;var a=typeof n;return!!("number"==a?c(e)&&h(n,e.length):"string"==a&&n in e)&&r(e[n],t)}function X(t){return j(function(r,n){var e=-1,o=n.length,a=o>1?n[o-1]:void 0,u=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,u&&W(n[0],n[1],u)&&(a=o<3?void 0:a,o=1),r=Object(r);++e<o;){var i=n[e];i&&t(r,i,e,a)}return r})}var Y=/\s/;var Z=/^\s+/;function tt(t){return t?t.slice(0,function(t){for(var r=t.length;r--&&Y.test(t.charAt(r)););return r}(t)+1).replace(Z,""):t}var rt=/^[-+]0x[0-9a-f]+$/i,nt=/^0b[01]+$/i,et=/^0o[0-7]+$/i,ot=parseInt;function at(t){if("number"==typeof t)return t;if(w(t))return NaN;if(o(t)){var r="function"==typeof t.valueOf?t.valueOf():t;t=o(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=tt(t);var n=nt.test(t);return n||et.test(t)?ot(t.slice(2),n?2:8):rt.test(t)?NaN:+t}export{H as a,m as b,V as c,k as d,$ as e,A as f,B as g,J as h,X as i,U as j,q as k,W as l,Q as m,at as t};