@copilotkitnext/react 0.0.22-alpha.7 → 0.0.22-alpha.8

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 (236) hide show
  1. package/package.json +4 -4
  2. package/dist/KaTeX_AMS-Regular-CYEKBG2K.woff +0 -0
  3. package/dist/KaTeX_AMS-Regular-JKX5W2C4.ttf +0 -0
  4. package/dist/KaTeX_AMS-Regular-U6PRYMIZ.woff2 +0 -0
  5. package/dist/KaTeX_Caligraphic-Bold-5QL5CMTE.woff2 +0 -0
  6. package/dist/KaTeX_Caligraphic-Bold-WZ3QSGD3.woff +0 -0
  7. package/dist/KaTeX_Caligraphic-Bold-ZTS3R3HK.ttf +0 -0
  8. package/dist/KaTeX_Caligraphic-Regular-3LKEU76G.woff +0 -0
  9. package/dist/KaTeX_Caligraphic-Regular-A7XRTZ5Q.ttf +0 -0
  10. package/dist/KaTeX_Caligraphic-Regular-KX5MEWCF.woff2 +0 -0
  11. package/dist/KaTeX_Fraktur-Bold-2QVFK6NQ.woff2 +0 -0
  12. package/dist/KaTeX_Fraktur-Bold-T4SWXBMT.woff +0 -0
  13. package/dist/KaTeX_Fraktur-Bold-WGHVTYOR.ttf +0 -0
  14. package/dist/KaTeX_Fraktur-Regular-2PEIFJSJ.woff2 +0 -0
  15. package/dist/KaTeX_Fraktur-Regular-5U4OPH2X.ttf +0 -0
  16. package/dist/KaTeX_Fraktur-Regular-PQMHCIK6.woff +0 -0
  17. package/dist/KaTeX_Main-Bold-2GA4IZIN.woff +0 -0
  18. package/dist/KaTeX_Main-Bold-W5FBVCZM.ttf +0 -0
  19. package/dist/KaTeX_Main-Bold-YP5VVQRP.woff2 +0 -0
  20. package/dist/KaTeX_Main-BoldItalic-4P4C7HJH.woff +0 -0
  21. package/dist/KaTeX_Main-BoldItalic-N4V3DX7S.woff2 +0 -0
  22. package/dist/KaTeX_Main-BoldItalic-ODMLBJJQ.ttf +0 -0
  23. package/dist/KaTeX_Main-Italic-I43T2HSR.ttf +0 -0
  24. package/dist/KaTeX_Main-Italic-RELBIK7M.woff2 +0 -0
  25. package/dist/KaTeX_Main-Italic-SASNQFN2.woff +0 -0
  26. package/dist/KaTeX_Main-Regular-ARRPAO67.woff2 +0 -0
  27. package/dist/KaTeX_Main-Regular-P5I74A2A.woff +0 -0
  28. package/dist/KaTeX_Main-Regular-W74P5G27.ttf +0 -0
  29. package/dist/KaTeX_Math-BoldItalic-6EBV3DK5.woff +0 -0
  30. package/dist/KaTeX_Math-BoldItalic-K4WTGH3J.woff2 +0 -0
  31. package/dist/KaTeX_Math-BoldItalic-VB447A4D.ttf +0 -0
  32. package/dist/KaTeX_Math-Italic-6KGCHLFN.woff2 +0 -0
  33. package/dist/KaTeX_Math-Italic-KKK3USB2.woff +0 -0
  34. package/dist/KaTeX_Math-Italic-SON4MRCA.ttf +0 -0
  35. package/dist/KaTeX_SansSerif-Bold-RRNVJFFW.woff2 +0 -0
  36. package/dist/KaTeX_SansSerif-Bold-STQ6RXC7.ttf +0 -0
  37. package/dist/KaTeX_SansSerif-Bold-X5M5EMOD.woff +0 -0
  38. package/dist/KaTeX_SansSerif-Italic-HMPFTM52.woff2 +0 -0
  39. package/dist/KaTeX_SansSerif-Italic-PSN4QKYX.woff +0 -0
  40. package/dist/KaTeX_SansSerif-Italic-WTBAZBGY.ttf +0 -0
  41. package/dist/KaTeX_SansSerif-Regular-2TL3USAE.ttf +0 -0
  42. package/dist/KaTeX_SansSerif-Regular-OQCII6EP.woff +0 -0
  43. package/dist/KaTeX_SansSerif-Regular-XIQ62X4E.woff2 +0 -0
  44. package/dist/KaTeX_Script-Regular-72OLXYNA.ttf +0 -0
  45. package/dist/KaTeX_Script-Regular-A5IFOEBS.woff +0 -0
  46. package/dist/KaTeX_Script-Regular-APUWIHLP.woff2 +0 -0
  47. package/dist/KaTeX_Size1-Regular-4HRHTS65.woff +0 -0
  48. package/dist/KaTeX_Size1-Regular-5LRUTBFT.woff2 +0 -0
  49. package/dist/KaTeX_Size1-Regular-7K6AASVL.ttf +0 -0
  50. package/dist/KaTeX_Size2-Regular-222HN3GT.ttf +0 -0
  51. package/dist/KaTeX_Size2-Regular-K5ZHAIS6.woff +0 -0
  52. package/dist/KaTeX_Size2-Regular-LELKET5D.woff2 +0 -0
  53. package/dist/KaTeX_Size3-Regular-TLFPAHDE.woff +0 -0
  54. package/dist/KaTeX_Size3-Regular-UFCO6WCA.ttf +0 -0
  55. package/dist/KaTeX_Size3-Regular-WQRQ47UD.woff2 +0 -0
  56. package/dist/KaTeX_Size4-Regular-7PGNVPQK.ttf +0 -0
  57. package/dist/KaTeX_Size4-Regular-CDMV7U5C.woff2 +0 -0
  58. package/dist/KaTeX_Size4-Regular-PKMWZHNC.woff +0 -0
  59. package/dist/KaTeX_Typewriter-Regular-3F5K6SQ6.ttf +0 -0
  60. package/dist/KaTeX_Typewriter-Regular-MJMFSK64.woff +0 -0
  61. package/dist/KaTeX_Typewriter-Regular-VBYJ4NRC.woff2 +0 -0
  62. package/dist/angular-html-LD6QEAZE.mjs +0 -7
  63. package/dist/angular-html-LD6QEAZE.mjs.map +0 -1
  64. package/dist/angular-ts-FGK7I2F5.mjs +0 -37
  65. package/dist/angular-ts-FGK7I2F5.mjs.map +0 -1
  66. package/dist/angular-ts-XZTE5LQS.mjs +0 -37
  67. package/dist/angular-ts-XZTE5LQS.mjs.map +0 -1
  68. package/dist/apl-VB2EG5RZ.mjs +0 -22
  69. package/dist/apl-VB2EG5RZ.mjs.map +0 -1
  70. package/dist/architectureDiagram-VXUJARFQ-PPLKSFYC.mjs +0 -8712
  71. package/dist/architectureDiagram-VXUJARFQ-PPLKSFYC.mjs.map +0 -1
  72. package/dist/blade-EZDWULER.mjs +0 -26
  73. package/dist/blade-EZDWULER.mjs.map +0 -1
  74. package/dist/blade-HS4Z7O3Y.mjs +0 -26
  75. package/dist/blade-HS4Z7O3Y.mjs.map +0 -1
  76. package/dist/blockDiagram-VD42YOAC-7SIEWHYD.mjs +0 -3618
  77. package/dist/blockDiagram-VD42YOAC-7SIEWHYD.mjs.map +0 -1
  78. package/dist/c4Diagram-YG6GDRKO-G2UUBRHQ.mjs +0 -2495
  79. package/dist/c4Diagram-YG6GDRKO-G2UUBRHQ.mjs.map +0 -1
  80. package/dist/chunk-2BAFECUC.mjs +0 -28
  81. package/dist/chunk-2BAFECUC.mjs.map +0 -1
  82. package/dist/chunk-BF5LDW2L.mjs +0 -65
  83. package/dist/chunk-BF5LDW2L.mjs.map +0 -1
  84. package/dist/chunk-BUEC2HNL.mjs +0 -762
  85. package/dist/chunk-BUEC2HNL.mjs.map +0 -1
  86. package/dist/chunk-CRGJ2YCV.mjs +0 -109
  87. package/dist/chunk-CRGJ2YCV.mjs.map +0 -1
  88. package/dist/chunk-DKZXT4VQ.mjs +0 -19
  89. package/dist/chunk-DKZXT4VQ.mjs.map +0 -1
  90. package/dist/chunk-DYQXFOGA.mjs +0 -34
  91. package/dist/chunk-DYQXFOGA.mjs.map +0 -1
  92. package/dist/chunk-ENI667QL.mjs +0 -806
  93. package/dist/chunk-ENI667QL.mjs.map +0 -1
  94. package/dist/chunk-GEUZOPED.mjs +0 -1834
  95. package/dist/chunk-GEUZOPED.mjs.map +0 -1
  96. package/dist/chunk-GU7334FJ.mjs +0 -538
  97. package/dist/chunk-GU7334FJ.mjs.map +0 -1
  98. package/dist/chunk-HNKEYT4A.mjs +0 -4693
  99. package/dist/chunk-HNKEYT4A.mjs.map +0 -1
  100. package/dist/chunk-HTMHAYGC.mjs +0 -14
  101. package/dist/chunk-HTMHAYGC.mjs.map +0 -1
  102. package/dist/chunk-JRLFMJ6U.mjs +0 -1923
  103. package/dist/chunk-JRLFMJ6U.mjs.map +0 -1
  104. package/dist/chunk-JYRND4DC.mjs +0 -22
  105. package/dist/chunk-JYRND4DC.mjs.map +0 -1
  106. package/dist/chunk-KFEPUFID.mjs +0 -52
  107. package/dist/chunk-KFEPUFID.mjs.map +0 -1
  108. package/dist/chunk-M3UH7XZX.mjs +0 -6222
  109. package/dist/chunk-M3UH7XZX.mjs.map +0 -1
  110. package/dist/chunk-ND4RYWG7.mjs +0 -12
  111. package/dist/chunk-ND4RYWG7.mjs.map +0 -1
  112. package/dist/chunk-VLSLBZME.mjs +0 -51
  113. package/dist/chunk-VLSLBZME.mjs.map +0 -1
  114. package/dist/chunk-WJBV3P3K.mjs +0 -55
  115. package/dist/chunk-WJBV3P3K.mjs.map +0 -1
  116. package/dist/chunk-X2TQ2HDS.mjs +0 -44
  117. package/dist/chunk-X2TQ2HDS.mjs.map +0 -1
  118. package/dist/chunk-YIDZOZG3.mjs +0 -103
  119. package/dist/chunk-YIDZOZG3.mjs.map +0 -1
  120. package/dist/chunk-YLW7IP7V.mjs +0 -14525
  121. package/dist/chunk-YLW7IP7V.mjs.map +0 -1
  122. package/dist/classDiagram-2ON5EDUG-WUV4PTK5.mjs +0 -38
  123. package/dist/classDiagram-2ON5EDUG-WUV4PTK5.mjs.map +0 -1
  124. package/dist/classDiagram-v2-WZHVMYZB-J4QNVYPE.mjs +0 -38
  125. package/dist/classDiagram-v2-WZHVMYZB-J4QNVYPE.mjs.map +0 -1
  126. package/dist/cobol-PNTKRG5I.mjs +0 -17
  127. package/dist/cobol-PNTKRG5I.mjs.map +0 -1
  128. package/dist/crystal-BSMHK65A.mjs +0 -23
  129. package/dist/crystal-BSMHK65A.mjs.map +0 -1
  130. package/dist/dagre-6UL2VRFP-XN667C7N.mjs +0 -710
  131. package/dist/dagre-6UL2VRFP-XN667C7N.mjs.map +0 -1
  132. package/dist/diagram-PSM6KHXK-VA2CF5LZ.mjs +0 -538
  133. package/dist/diagram-PSM6KHXK-VA2CF5LZ.mjs.map +0 -1
  134. package/dist/diagram-QEK2KX5R-H3EHES33.mjs +0 -319
  135. package/dist/diagram-QEK2KX5R-H3EHES33.mjs.map +0 -1
  136. package/dist/diagram-S2PKOQOG-FOQYPB22.mjs +0 -231
  137. package/dist/diagram-S2PKOQOG-FOQYPB22.mjs.map +0 -1
  138. package/dist/edge-JOI74UJM.mjs +0 -19
  139. package/dist/edge-JOI74UJM.mjs.map +0 -1
  140. package/dist/elixir-FEL6DDPJ.mjs +0 -15
  141. package/dist/elixir-FEL6DDPJ.mjs.map +0 -1
  142. package/dist/erDiagram-Q2GNP2WA-IXNJSD2A.mjs +0 -1175
  143. package/dist/erDiagram-Q2GNP2WA-IXNJSD2A.mjs.map +0 -1
  144. package/dist/erb-Q2D6FWX3.mjs +0 -32
  145. package/dist/erb-Q2D6FWX3.mjs.map +0 -1
  146. package/dist/flowDiagram-NV44I4VS-ISKGEBMD.mjs +0 -2349
  147. package/dist/flowDiagram-NV44I4VS-ISKGEBMD.mjs.map +0 -1
  148. package/dist/ganttDiagram-LVOFAZNH-OAL7V7IR.mjs +0 -2344
  149. package/dist/ganttDiagram-LVOFAZNH-OAL7V7IR.mjs.map +0 -1
  150. package/dist/gitGraphDiagram-NY62KEGX-RKN2CCAZ.mjs +0 -1221
  151. package/dist/gitGraphDiagram-NY62KEGX-RKN2CCAZ.mjs.map +0 -1
  152. package/dist/glimmer-js-B32LCGFA.mjs +0 -19
  153. package/dist/glimmer-js-B32LCGFA.mjs.map +0 -1
  154. package/dist/glimmer-ts-4PHFAQCG.mjs +0 -19
  155. package/dist/glimmer-ts-4PHFAQCG.mjs.map +0 -1
  156. package/dist/hack-3ZNSL4KD.mjs +0 -17
  157. package/dist/hack-3ZNSL4KD.mjs.map +0 -1
  158. package/dist/handlebars-ICBC3AZK.mjs +0 -19
  159. package/dist/handlebars-ICBC3AZK.mjs.map +0 -1
  160. package/dist/html-BGY5P773.mjs +0 -6
  161. package/dist/html-BGY5P773.mjs.map +0 -1
  162. package/dist/html-derivative-3HGXHHFE.mjs +0 -7
  163. package/dist/html-derivative-3HGXHHFE.mjs.map +0 -1
  164. package/dist/index.css +0 -2385
  165. package/dist/index.css.map +0 -1
  166. package/dist/infoDiagram-F6ZHWCRC-Z7KMJJ45.mjs +0 -49
  167. package/dist/infoDiagram-F6ZHWCRC-Z7KMJJ45.mjs.map +0 -1
  168. package/dist/jinja-WL6HNMB5.mjs +0 -22
  169. package/dist/jinja-WL6HNMB5.mjs.map +0 -1
  170. package/dist/journeyDiagram-XKPGCS4Q-BMTOBHZ4.mjs +0 -1259
  171. package/dist/journeyDiagram-XKPGCS4Q-BMTOBHZ4.mjs.map +0 -1
  172. package/dist/kanban-definition-3W4ZIXB7-MVFRARF4.mjs +0 -1062
  173. package/dist/kanban-definition-3W4ZIXB7-MVFRARF4.mjs.map +0 -1
  174. package/dist/katex-4R42CMCB.mjs +0 -4
  175. package/dist/katex-4R42CMCB.mjs.map +0 -1
  176. package/dist/liquid-YS3YPW54.mjs +0 -19
  177. package/dist/liquid-YS3YPW54.mjs.map +0 -1
  178. package/dist/logo-mark-OHF64HAY.svg +0 -8
  179. package/dist/mdc-A66KLOT4.mjs +0 -20
  180. package/dist/mdc-A66KLOT4.mjs.map +0 -1
  181. package/dist/mermaid.core-4OWTNZSL.mjs +0 -1587
  182. package/dist/mermaid.core-4OWTNZSL.mjs.map +0 -1
  183. package/dist/mermaid.core-7AUE4M6E.mjs +0 -1587
  184. package/dist/mermaid.core-7AUE4M6E.mjs.map +0 -1
  185. package/dist/mindmap-definition-VGOIOE7T-7FMA2CPY.mjs +0 -1112
  186. package/dist/mindmap-definition-VGOIOE7T-7FMA2CPY.mjs.map +0 -1
  187. package/dist/mindmap-definition-VGOIOE7T-VNF7JZOY.mjs +0 -1112
  188. package/dist/mindmap-definition-VGOIOE7T-VNF7JZOY.mjs.map +0 -1
  189. package/dist/nim-HUBKBJHZ.mjs +0 -26
  190. package/dist/nim-HUBKBJHZ.mjs.map +0 -1
  191. package/dist/perl-QHAMWWQ5.mjs +0 -22
  192. package/dist/perl-QHAMWWQ5.mjs.map +0 -1
  193. package/dist/php-FS5GKSPN.mjs +0 -11
  194. package/dist/php-FS5GKSPN.mjs.map +0 -1
  195. package/dist/pieDiagram-ADFJNKIX-EER3WTCU.mjs +0 -200
  196. package/dist/pieDiagram-ADFJNKIX-EER3WTCU.mjs.map +0 -1
  197. package/dist/pug-WTY5FMEA.mjs +0 -17
  198. package/dist/pug-WTY5FMEA.mjs.map +0 -1
  199. package/dist/quadrantDiagram-AYHSOK5B-WQCIRJOK.mjs +0 -1344
  200. package/dist/quadrantDiagram-AYHSOK5B-WQCIRJOK.mjs.map +0 -1
  201. package/dist/razor-BAB7LFWZ.mjs +0 -17
  202. package/dist/razor-BAB7LFWZ.mjs.map +0 -1
  203. package/dist/requirementDiagram-UZGBJVZJ-RVM6Q2TT.mjs +0 -1179
  204. package/dist/requirementDiagram-UZGBJVZJ-RVM6Q2TT.mjs.map +0 -1
  205. package/dist/rst-AY7U27YM.mjs +0 -41
  206. package/dist/rst-AY7U27YM.mjs.map +0 -1
  207. package/dist/rst-Y2VLYMJI.mjs +0 -41
  208. package/dist/rst-Y2VLYMJI.mjs.map +0 -1
  209. package/dist/ruby-K4BNEYWG.mjs +0 -22
  210. package/dist/ruby-K4BNEYWG.mjs.map +0 -1
  211. package/dist/sankeyDiagram-TZEHDZUN-H7BVEXGO.mjs +0 -1230
  212. package/dist/sankeyDiagram-TZEHDZUN-H7BVEXGO.mjs.map +0 -1
  213. package/dist/sequenceDiagram-WL72ISMW-XBGZSOYI.mjs +0 -3885
  214. package/dist/sequenceDiagram-WL72ISMW-XBGZSOYI.mjs.map +0 -1
  215. package/dist/soy-5QMQV2KL.mjs +0 -15
  216. package/dist/soy-5QMQV2KL.mjs.map +0 -1
  217. package/dist/stateDiagram-FKZM4ZOC-WRIBVFSJ.mjs +0 -467
  218. package/dist/stateDiagram-FKZM4ZOC-WRIBVFSJ.mjs.map +0 -1
  219. package/dist/stateDiagram-v2-4FDKWEC3-SPDO7R6D.mjs +0 -37
  220. package/dist/stateDiagram-v2-4FDKWEC3-SPDO7R6D.mjs.map +0 -1
  221. package/dist/templ-VSARRSO2.mjs +0 -17
  222. package/dist/templ-VSARRSO2.mjs.map +0 -1
  223. package/dist/timeline-definition-IT6M3QCI-PX4A2RIH.mjs +0 -1226
  224. package/dist/timeline-definition-IT6M3QCI-PX4A2RIH.mjs.map +0 -1
  225. package/dist/ts-tags-YK3Q2LIW.mjs +0 -68
  226. package/dist/ts-tags-YK3Q2LIW.mjs.map +0 -1
  227. package/dist/twig-HNMWLN6H.mjs +0 -40
  228. package/dist/twig-HNMWLN6H.mjs.map +0 -1
  229. package/dist/vue-7OSX6ZY5.mjs +0 -10
  230. package/dist/vue-7OSX6ZY5.mjs.map +0 -1
  231. package/dist/vue-html-AQH2V2EU.mjs +0 -20
  232. package/dist/vue-html-AQH2V2EU.mjs.map +0 -1
  233. package/dist/vue-vine-GCYT2IGV.mjs +0 -29
  234. package/dist/vue-vine-GCYT2IGV.mjs.map +0 -1
  235. package/dist/xychartDiagram-PRI3JC2R-65KZQZDU.mjs +0 -1865
  236. package/dist/xychartDiagram-PRI3JC2R-65KZQZDU.mjs.map +0 -1
@@ -1,1259 +0,0 @@
1
- import { drawBackgroundRect, getNoteRect, drawText, drawRect } from './chunk-CRGJ2YCV.mjs';
2
- import { getIconStyles } from './chunk-A62SCAQY.mjs';
3
- import './chunk-ZGPFSRJJ.mjs';
4
- import { getConfig2, getAccDescription, setAccDescription, getAccTitle, setAccTitle, getDiagramTitle, setDiagramTitle, clear, configureSvgSize } from './chunk-HNKEYT4A.mjs';
5
- import { __name, arc_default, select_default } from './chunk-WHXHCOFP.mjs';
6
- import './chunk-SH6YXSHR.mjs';
7
-
8
- // ../../node_modules/.pnpm/mermaid@11.12.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.mjs
9
- var parser = function() {
10
- var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
11
- for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
12
- return o2;
13
- }, "o"), $V0 = [6, 8, 10, 11, 12, 14, 16, 17, 18], $V1 = [1, 9], $V2 = [1, 10], $V3 = [1, 11], $V4 = [1, 12], $V5 = [1, 13], $V6 = [1, 14];
14
- var parser2 = {
15
- trace: /* @__PURE__ */ __name(function trace() {
16
- }, "trace"),
17
- yy: {},
18
- symbols_: { "error": 2, "start": 3, "journey": 4, "document": 5, "EOF": 6, "line": 7, "SPACE": 8, "statement": 9, "NEWLINE": 10, "title": 11, "acc_title": 12, "acc_title_value": 13, "acc_descr": 14, "acc_descr_value": 15, "acc_descr_multiline_value": 16, "section": 17, "taskName": 18, "taskData": 19, "$accept": 0, "$end": 1 },
19
- terminals_: { 2: "error", 4: "journey", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 11: "title", 12: "acc_title", 13: "acc_title_value", 14: "acc_descr", 15: "acc_descr_value", 16: "acc_descr_multiline_value", 17: "section", 18: "taskName", 19: "taskData" },
20
- productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 2]],
21
- performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
22
- var $0 = $$.length - 1;
23
- switch (yystate) {
24
- case 1:
25
- return $$[$0 - 1];
26
- case 2:
27
- this.$ = [];
28
- break;
29
- case 3:
30
- $$[$0 - 1].push($$[$0]);
31
- this.$ = $$[$0 - 1];
32
- break;
33
- case 4:
34
- case 5:
35
- this.$ = $$[$0];
36
- break;
37
- case 6:
38
- case 7:
39
- this.$ = [];
40
- break;
41
- case 8:
42
- yy.setDiagramTitle($$[$0].substr(6));
43
- this.$ = $$[$0].substr(6);
44
- break;
45
- case 9:
46
- this.$ = $$[$0].trim();
47
- yy.setAccTitle(this.$);
48
- break;
49
- case 10:
50
- case 11:
51
- this.$ = $$[$0].trim();
52
- yy.setAccDescription(this.$);
53
- break;
54
- case 12:
55
- yy.addSection($$[$0].substr(8));
56
- this.$ = $$[$0].substr(8);
57
- break;
58
- case 13:
59
- yy.addTask($$[$0 - 1], $$[$0]);
60
- this.$ = "task";
61
- break;
62
- }
63
- }, "anonymous"),
64
- table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, o($V0, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: $V1, 12: $V2, 14: $V3, 16: $V4, 17: $V5, 18: $V6 }, o($V0, [2, 7], { 1: [2, 1] }), o($V0, [2, 3]), { 9: 15, 11: $V1, 12: $V2, 14: $V3, 16: $V4, 17: $V5, 18: $V6 }, o($V0, [2, 5]), o($V0, [2, 6]), o($V0, [2, 8]), { 13: [1, 16] }, { 15: [1, 17] }, o($V0, [2, 11]), o($V0, [2, 12]), { 19: [1, 18] }, o($V0, [2, 4]), o($V0, [2, 9]), o($V0, [2, 10]), o($V0, [2, 13])],
65
- defaultActions: {},
66
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
67
- if (hash.recoverable) {
68
- this.trace(str);
69
- } else {
70
- var error = new Error(str);
71
- error.hash = hash;
72
- throw error;
73
- }
74
- }, "parseError"),
75
- parse: /* @__PURE__ */ __name(function parse(input) {
76
- var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
77
- var args = lstack.slice.call(arguments, 1);
78
- var lexer2 = Object.create(this.lexer);
79
- var sharedState = { yy: {} };
80
- for (var k in this.yy) {
81
- if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
82
- sharedState.yy[k] = this.yy[k];
83
- }
84
- }
85
- lexer2.setInput(input, sharedState.yy);
86
- sharedState.yy.lexer = lexer2;
87
- sharedState.yy.parser = this;
88
- if (typeof lexer2.yylloc == "undefined") {
89
- lexer2.yylloc = {};
90
- }
91
- var yyloc = lexer2.yylloc;
92
- lstack.push(yyloc);
93
- var ranges = lexer2.options && lexer2.options.ranges;
94
- if (typeof sharedState.yy.parseError === "function") {
95
- this.parseError = sharedState.yy.parseError;
96
- } else {
97
- this.parseError = Object.getPrototypeOf(this).parseError;
98
- }
99
- function popStack(n) {
100
- stack.length = stack.length - 2 * n;
101
- vstack.length = vstack.length - n;
102
- lstack.length = lstack.length - n;
103
- }
104
- __name(popStack, "popStack");
105
- function lex() {
106
- var token;
107
- token = tstack.pop() || lexer2.lex() || EOF;
108
- if (typeof token !== "number") {
109
- if (token instanceof Array) {
110
- tstack = token;
111
- token = tstack.pop();
112
- }
113
- token = self.symbols_[token] || token;
114
- }
115
- return token;
116
- }
117
- __name(lex, "lex");
118
- var symbol, state, action, r, yyval = {}, p, len, newState, expected;
119
- while (true) {
120
- state = stack[stack.length - 1];
121
- if (this.defaultActions[state]) {
122
- action = this.defaultActions[state];
123
- } else {
124
- if (symbol === null || typeof symbol == "undefined") {
125
- symbol = lex();
126
- }
127
- action = table[state] && table[state][symbol];
128
- }
129
- if (typeof action === "undefined" || !action.length || !action[0]) {
130
- var errStr = "";
131
- expected = [];
132
- for (p in table[state]) {
133
- if (this.terminals_[p] && p > TERROR) {
134
- expected.push("'" + this.terminals_[p] + "'");
135
- }
136
- }
137
- if (lexer2.showPosition) {
138
- errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
139
- } else {
140
- errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
141
- }
142
- this.parseError(errStr, {
143
- text: lexer2.match,
144
- token: this.terminals_[symbol] || symbol,
145
- line: lexer2.yylineno,
146
- loc: yyloc,
147
- expected
148
- });
149
- }
150
- if (action[0] instanceof Array && action.length > 1) {
151
- throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
152
- }
153
- switch (action[0]) {
154
- case 1:
155
- stack.push(symbol);
156
- vstack.push(lexer2.yytext);
157
- lstack.push(lexer2.yylloc);
158
- stack.push(action[1]);
159
- symbol = null;
160
- {
161
- yyleng = lexer2.yyleng;
162
- yytext = lexer2.yytext;
163
- yylineno = lexer2.yylineno;
164
- yyloc = lexer2.yylloc;
165
- }
166
- break;
167
- case 2:
168
- len = this.productions_[action[1]][1];
169
- yyval.$ = vstack[vstack.length - len];
170
- yyval._$ = {
171
- first_line: lstack[lstack.length - (len || 1)].first_line,
172
- last_line: lstack[lstack.length - 1].last_line,
173
- first_column: lstack[lstack.length - (len || 1)].first_column,
174
- last_column: lstack[lstack.length - 1].last_column
175
- };
176
- if (ranges) {
177
- yyval._$.range = [
178
- lstack[lstack.length - (len || 1)].range[0],
179
- lstack[lstack.length - 1].range[1]
180
- ];
181
- }
182
- r = this.performAction.apply(yyval, [
183
- yytext,
184
- yyleng,
185
- yylineno,
186
- sharedState.yy,
187
- action[1],
188
- vstack,
189
- lstack
190
- ].concat(args));
191
- if (typeof r !== "undefined") {
192
- return r;
193
- }
194
- if (len) {
195
- stack = stack.slice(0, -1 * len * 2);
196
- vstack = vstack.slice(0, -1 * len);
197
- lstack = lstack.slice(0, -1 * len);
198
- }
199
- stack.push(this.productions_[action[1]][0]);
200
- vstack.push(yyval.$);
201
- lstack.push(yyval._$);
202
- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
203
- stack.push(newState);
204
- break;
205
- case 3:
206
- return true;
207
- }
208
- }
209
- return true;
210
- }, "parse")
211
- };
212
- var lexer = /* @__PURE__ */ function() {
213
- var lexer2 = {
214
- EOF: 1,
215
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
216
- if (this.yy.parser) {
217
- this.yy.parser.parseError(str, hash);
218
- } else {
219
- throw new Error(str);
220
- }
221
- }, "parseError"),
222
- // resets the lexer, sets new input
223
- setInput: /* @__PURE__ */ __name(function(input, yy) {
224
- this.yy = yy || this.yy || {};
225
- this._input = input;
226
- this._more = this._backtrack = this.done = false;
227
- this.yylineno = this.yyleng = 0;
228
- this.yytext = this.matched = this.match = "";
229
- this.conditionStack = ["INITIAL"];
230
- this.yylloc = {
231
- first_line: 1,
232
- first_column: 0,
233
- last_line: 1,
234
- last_column: 0
235
- };
236
- if (this.options.ranges) {
237
- this.yylloc.range = [0, 0];
238
- }
239
- this.offset = 0;
240
- return this;
241
- }, "setInput"),
242
- // consumes and returns one char from the input
243
- input: /* @__PURE__ */ __name(function() {
244
- var ch = this._input[0];
245
- this.yytext += ch;
246
- this.yyleng++;
247
- this.offset++;
248
- this.match += ch;
249
- this.matched += ch;
250
- var lines = ch.match(/(?:\r\n?|\n).*/g);
251
- if (lines) {
252
- this.yylineno++;
253
- this.yylloc.last_line++;
254
- } else {
255
- this.yylloc.last_column++;
256
- }
257
- if (this.options.ranges) {
258
- this.yylloc.range[1]++;
259
- }
260
- this._input = this._input.slice(1);
261
- return ch;
262
- }, "input"),
263
- // unshifts one char (or a string) into the input
264
- unput: /* @__PURE__ */ __name(function(ch) {
265
- var len = ch.length;
266
- var lines = ch.split(/(?:\r\n?|\n)/g);
267
- this._input = ch + this._input;
268
- this.yytext = this.yytext.substr(0, this.yytext.length - len);
269
- this.offset -= len;
270
- var oldLines = this.match.split(/(?:\r\n?|\n)/g);
271
- this.match = this.match.substr(0, this.match.length - 1);
272
- this.matched = this.matched.substr(0, this.matched.length - 1);
273
- if (lines.length - 1) {
274
- this.yylineno -= lines.length - 1;
275
- }
276
- var r = this.yylloc.range;
277
- this.yylloc = {
278
- first_line: this.yylloc.first_line,
279
- last_line: this.yylineno + 1,
280
- first_column: this.yylloc.first_column,
281
- last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
282
- };
283
- if (this.options.ranges) {
284
- this.yylloc.range = [r[0], r[0] + this.yyleng - len];
285
- }
286
- this.yyleng = this.yytext.length;
287
- return this;
288
- }, "unput"),
289
- // When called from action, caches matched text and appends it on next action
290
- more: /* @__PURE__ */ __name(function() {
291
- this._more = true;
292
- return this;
293
- }, "more"),
294
- // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
295
- reject: /* @__PURE__ */ __name(function() {
296
- if (this.options.backtrack_lexer) {
297
- this._backtrack = true;
298
- } else {
299
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
300
- text: "",
301
- token: null,
302
- line: this.yylineno
303
- });
304
- }
305
- return this;
306
- }, "reject"),
307
- // retain first n characters of the match
308
- less: /* @__PURE__ */ __name(function(n) {
309
- this.unput(this.match.slice(n));
310
- }, "less"),
311
- // displays already matched input, i.e. for error messages
312
- pastInput: /* @__PURE__ */ __name(function() {
313
- var past = this.matched.substr(0, this.matched.length - this.match.length);
314
- return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
315
- }, "pastInput"),
316
- // displays upcoming input, i.e. for error messages
317
- upcomingInput: /* @__PURE__ */ __name(function() {
318
- var next = this.match;
319
- if (next.length < 20) {
320
- next += this._input.substr(0, 20 - next.length);
321
- }
322
- return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
323
- }, "upcomingInput"),
324
- // displays the character position where the lexing error occurred, i.e. for error messages
325
- showPosition: /* @__PURE__ */ __name(function() {
326
- var pre = this.pastInput();
327
- var c = new Array(pre.length + 1).join("-");
328
- return pre + this.upcomingInput() + "\n" + c + "^";
329
- }, "showPosition"),
330
- // test the lexed token: return FALSE when not a match, otherwise return token
331
- test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
332
- var token, lines, backup;
333
- if (this.options.backtrack_lexer) {
334
- backup = {
335
- yylineno: this.yylineno,
336
- yylloc: {
337
- first_line: this.yylloc.first_line,
338
- last_line: this.last_line,
339
- first_column: this.yylloc.first_column,
340
- last_column: this.yylloc.last_column
341
- },
342
- yytext: this.yytext,
343
- match: this.match,
344
- matches: this.matches,
345
- matched: this.matched,
346
- yyleng: this.yyleng,
347
- offset: this.offset,
348
- _more: this._more,
349
- _input: this._input,
350
- yy: this.yy,
351
- conditionStack: this.conditionStack.slice(0),
352
- done: this.done
353
- };
354
- if (this.options.ranges) {
355
- backup.yylloc.range = this.yylloc.range.slice(0);
356
- }
357
- }
358
- lines = match[0].match(/(?:\r\n?|\n).*/g);
359
- if (lines) {
360
- this.yylineno += lines.length;
361
- }
362
- this.yylloc = {
363
- first_line: this.yylloc.last_line,
364
- last_line: this.yylineno + 1,
365
- first_column: this.yylloc.last_column,
366
- last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
367
- };
368
- this.yytext += match[0];
369
- this.match += match[0];
370
- this.matches = match;
371
- this.yyleng = this.yytext.length;
372
- if (this.options.ranges) {
373
- this.yylloc.range = [this.offset, this.offset += this.yyleng];
374
- }
375
- this._more = false;
376
- this._backtrack = false;
377
- this._input = this._input.slice(match[0].length);
378
- this.matched += match[0];
379
- token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
380
- if (this.done && this._input) {
381
- this.done = false;
382
- }
383
- if (token) {
384
- return token;
385
- } else if (this._backtrack) {
386
- for (var k in backup) {
387
- this[k] = backup[k];
388
- }
389
- return false;
390
- }
391
- return false;
392
- }, "test_match"),
393
- // return next match in input
394
- next: /* @__PURE__ */ __name(function() {
395
- if (this.done) {
396
- return this.EOF;
397
- }
398
- if (!this._input) {
399
- this.done = true;
400
- }
401
- var token, match, tempMatch, index;
402
- if (!this._more) {
403
- this.yytext = "";
404
- this.match = "";
405
- }
406
- var rules = this._currentRules();
407
- for (var i = 0; i < rules.length; i++) {
408
- tempMatch = this._input.match(this.rules[rules[i]]);
409
- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
410
- match = tempMatch;
411
- index = i;
412
- if (this.options.backtrack_lexer) {
413
- token = this.test_match(tempMatch, rules[i]);
414
- if (token !== false) {
415
- return token;
416
- } else if (this._backtrack) {
417
- match = false;
418
- continue;
419
- } else {
420
- return false;
421
- }
422
- } else if (!this.options.flex) {
423
- break;
424
- }
425
- }
426
- }
427
- if (match) {
428
- token = this.test_match(match, rules[index]);
429
- if (token !== false) {
430
- return token;
431
- }
432
- return false;
433
- }
434
- if (this._input === "") {
435
- return this.EOF;
436
- } else {
437
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
438
- text: "",
439
- token: null,
440
- line: this.yylineno
441
- });
442
- }
443
- }, "next"),
444
- // return next match that has a token
445
- lex: /* @__PURE__ */ __name(function lex() {
446
- var r = this.next();
447
- if (r) {
448
- return r;
449
- } else {
450
- return this.lex();
451
- }
452
- }, "lex"),
453
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
454
- begin: /* @__PURE__ */ __name(function begin(condition) {
455
- this.conditionStack.push(condition);
456
- }, "begin"),
457
- // pop the previously active lexer condition state off the condition stack
458
- popState: /* @__PURE__ */ __name(function popState() {
459
- var n = this.conditionStack.length - 1;
460
- if (n > 0) {
461
- return this.conditionStack.pop();
462
- } else {
463
- return this.conditionStack[0];
464
- }
465
- }, "popState"),
466
- // produce the lexer rule set which is active for the currently active lexer condition state
467
- _currentRules: /* @__PURE__ */ __name(function _currentRules() {
468
- if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
469
- return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
470
- } else {
471
- return this.conditions["INITIAL"].rules;
472
- }
473
- }, "_currentRules"),
474
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
475
- topState: /* @__PURE__ */ __name(function topState(n) {
476
- n = this.conditionStack.length - 1 - Math.abs(n || 0);
477
- if (n >= 0) {
478
- return this.conditionStack[n];
479
- } else {
480
- return "INITIAL";
481
- }
482
- }, "topState"),
483
- // alias for begin(condition)
484
- pushState: /* @__PURE__ */ __name(function pushState(condition) {
485
- this.begin(condition);
486
- }, "pushState"),
487
- // return the number of states currently on the stack
488
- stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
489
- return this.conditionStack.length;
490
- }, "stateStackSize"),
491
- options: { "case-insensitive": true },
492
- performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
493
- switch ($avoiding_name_collisions) {
494
- case 0:
495
- break;
496
- case 1:
497
- break;
498
- case 2:
499
- return 10;
500
- case 3:
501
- break;
502
- case 4:
503
- break;
504
- case 5:
505
- return 4;
506
- case 6:
507
- return 11;
508
- case 7:
509
- this.begin("acc_title");
510
- return 12;
511
- case 8:
512
- this.popState();
513
- return "acc_title_value";
514
- case 9:
515
- this.begin("acc_descr");
516
- return 14;
517
- case 10:
518
- this.popState();
519
- return "acc_descr_value";
520
- case 11:
521
- this.begin("acc_descr_multiline");
522
- break;
523
- case 12:
524
- this.popState();
525
- break;
526
- case 13:
527
- return "acc_descr_multiline_value";
528
- case 14:
529
- return 17;
530
- case 15:
531
- return 18;
532
- case 16:
533
- return 19;
534
- case 17:
535
- return ":";
536
- case 18:
537
- return 6;
538
- case 19:
539
- return "INVALID";
540
- }
541
- }, "anonymous"),
542
- rules: [/^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:journey\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, /^(?:[^#:\n;]+)/i, /^(?::[^#\n;]+)/i, /^(?::)/i, /^(?:$)/i, /^(?:.)/i],
543
- conditions: { "acc_descr_multiline": { "rules": [12, 13], "inclusive": false }, "acc_descr": { "rules": [10], "inclusive": false }, "acc_title": { "rules": [8], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 19], "inclusive": true } }
544
- };
545
- return lexer2;
546
- }();
547
- parser2.lexer = lexer;
548
- function Parser() {
549
- this.yy = {};
550
- }
551
- __name(Parser, "Parser");
552
- Parser.prototype = parser2;
553
- parser2.Parser = Parser;
554
- return new Parser();
555
- }();
556
- parser.parser = parser;
557
- var journey_default = parser;
558
- var currentSection = "";
559
- var sections = [];
560
- var tasks = [];
561
- var rawTasks = [];
562
- var clear2 = /* @__PURE__ */ __name(function() {
563
- sections.length = 0;
564
- tasks.length = 0;
565
- currentSection = "";
566
- rawTasks.length = 0;
567
- clear();
568
- }, "clear");
569
- var addSection = /* @__PURE__ */ __name(function(txt) {
570
- currentSection = txt;
571
- sections.push(txt);
572
- }, "addSection");
573
- var getSections = /* @__PURE__ */ __name(function() {
574
- return sections;
575
- }, "getSections");
576
- var getTasks = /* @__PURE__ */ __name(function() {
577
- let allItemsProcessed = compileTasks();
578
- const maxDepth = 100;
579
- let iterationCount = 0;
580
- while (!allItemsProcessed && iterationCount < maxDepth) {
581
- allItemsProcessed = compileTasks();
582
- iterationCount++;
583
- }
584
- tasks.push(...rawTasks);
585
- return tasks;
586
- }, "getTasks");
587
- var updateActors = /* @__PURE__ */ __name(function() {
588
- const tempActors = [];
589
- tasks.forEach((task) => {
590
- if (task.people) {
591
- tempActors.push(...task.people);
592
- }
593
- });
594
- const unique = new Set(tempActors);
595
- return [...unique].sort();
596
- }, "updateActors");
597
- var addTask = /* @__PURE__ */ __name(function(descr, taskData) {
598
- const pieces = taskData.substr(1).split(":");
599
- let score = 0;
600
- let peeps = [];
601
- if (pieces.length === 1) {
602
- score = Number(pieces[0]);
603
- peeps = [];
604
- } else {
605
- score = Number(pieces[0]);
606
- peeps = pieces[1].split(",");
607
- }
608
- const peopleList = peeps.map((s) => s.trim());
609
- const rawTask = {
610
- section: currentSection,
611
- type: currentSection,
612
- people: peopleList,
613
- task: descr,
614
- score
615
- };
616
- rawTasks.push(rawTask);
617
- }, "addTask");
618
- var addTaskOrg = /* @__PURE__ */ __name(function(descr) {
619
- const newTask = {
620
- section: currentSection,
621
- type: currentSection,
622
- description: descr,
623
- task: descr,
624
- classes: []
625
- };
626
- tasks.push(newTask);
627
- }, "addTaskOrg");
628
- var compileTasks = /* @__PURE__ */ __name(function() {
629
- const compileTask = /* @__PURE__ */ __name(function(pos) {
630
- return rawTasks[pos].processed;
631
- }, "compileTask");
632
- let allProcessed = true;
633
- for (const [i, rawTask] of rawTasks.entries()) {
634
- compileTask(i);
635
- allProcessed = allProcessed && rawTask.processed;
636
- }
637
- return allProcessed;
638
- }, "compileTasks");
639
- var getActors = /* @__PURE__ */ __name(function() {
640
- return updateActors();
641
- }, "getActors");
642
- var journeyDb_default = {
643
- getConfig: /* @__PURE__ */ __name(() => getConfig2().journey, "getConfig"),
644
- clear: clear2,
645
- setDiagramTitle,
646
- getDiagramTitle,
647
- setAccTitle,
648
- getAccTitle,
649
- setAccDescription,
650
- getAccDescription,
651
- addSection,
652
- getSections,
653
- getTasks,
654
- addTask,
655
- addTaskOrg,
656
- getActors
657
- };
658
- var getStyles = /* @__PURE__ */ __name((options) => `.label {
659
- font-family: ${options.fontFamily};
660
- color: ${options.textColor};
661
- }
662
- .mouth {
663
- stroke: #666;
664
- }
665
-
666
- line {
667
- stroke: ${options.textColor}
668
- }
669
-
670
- .legend {
671
- fill: ${options.textColor};
672
- font-family: ${options.fontFamily};
673
- }
674
-
675
- .label text {
676
- fill: #333;
677
- }
678
- .label {
679
- color: ${options.textColor}
680
- }
681
-
682
- .face {
683
- ${options.faceColor ? `fill: ${options.faceColor}` : "fill: #FFF8DC"};
684
- stroke: #999;
685
- }
686
-
687
- .node rect,
688
- .node circle,
689
- .node ellipse,
690
- .node polygon,
691
- .node path {
692
- fill: ${options.mainBkg};
693
- stroke: ${options.nodeBorder};
694
- stroke-width: 1px;
695
- }
696
-
697
- .node .label {
698
- text-align: center;
699
- }
700
- .node.clickable {
701
- cursor: pointer;
702
- }
703
-
704
- .arrowheadPath {
705
- fill: ${options.arrowheadColor};
706
- }
707
-
708
- .edgePath .path {
709
- stroke: ${options.lineColor};
710
- stroke-width: 1.5px;
711
- }
712
-
713
- .flowchart-link {
714
- stroke: ${options.lineColor};
715
- fill: none;
716
- }
717
-
718
- .edgeLabel {
719
- background-color: ${options.edgeLabelBackground};
720
- rect {
721
- opacity: 0.5;
722
- }
723
- text-align: center;
724
- }
725
-
726
- .cluster rect {
727
- }
728
-
729
- .cluster text {
730
- fill: ${options.titleColor};
731
- }
732
-
733
- div.mermaidTooltip {
734
- position: absolute;
735
- text-align: center;
736
- max-width: 200px;
737
- padding: 2px;
738
- font-family: ${options.fontFamily};
739
- font-size: 12px;
740
- background: ${options.tertiaryColor};
741
- border: 1px solid ${options.border2};
742
- border-radius: 2px;
743
- pointer-events: none;
744
- z-index: 100;
745
- }
746
-
747
- .task-type-0, .section-type-0 {
748
- ${options.fillType0 ? `fill: ${options.fillType0}` : ""};
749
- }
750
- .task-type-1, .section-type-1 {
751
- ${options.fillType0 ? `fill: ${options.fillType1}` : ""};
752
- }
753
- .task-type-2, .section-type-2 {
754
- ${options.fillType0 ? `fill: ${options.fillType2}` : ""};
755
- }
756
- .task-type-3, .section-type-3 {
757
- ${options.fillType0 ? `fill: ${options.fillType3}` : ""};
758
- }
759
- .task-type-4, .section-type-4 {
760
- ${options.fillType0 ? `fill: ${options.fillType4}` : ""};
761
- }
762
- .task-type-5, .section-type-5 {
763
- ${options.fillType0 ? `fill: ${options.fillType5}` : ""};
764
- }
765
- .task-type-6, .section-type-6 {
766
- ${options.fillType0 ? `fill: ${options.fillType6}` : ""};
767
- }
768
- .task-type-7, .section-type-7 {
769
- ${options.fillType0 ? `fill: ${options.fillType7}` : ""};
770
- }
771
-
772
- .actor-0 {
773
- ${options.actor0 ? `fill: ${options.actor0}` : ""};
774
- }
775
- .actor-1 {
776
- ${options.actor1 ? `fill: ${options.actor1}` : ""};
777
- }
778
- .actor-2 {
779
- ${options.actor2 ? `fill: ${options.actor2}` : ""};
780
- }
781
- .actor-3 {
782
- ${options.actor3 ? `fill: ${options.actor3}` : ""};
783
- }
784
- .actor-4 {
785
- ${options.actor4 ? `fill: ${options.actor4}` : ""};
786
- }
787
- .actor-5 {
788
- ${options.actor5 ? `fill: ${options.actor5}` : ""};
789
- }
790
- ${getIconStyles()}
791
- `, "getStyles");
792
- var styles_default = getStyles;
793
- var drawRect2 = /* @__PURE__ */ __name(function(elem, rectData) {
794
- return drawRect(elem, rectData);
795
- }, "drawRect");
796
- var drawFace = /* @__PURE__ */ __name(function(element, faceData) {
797
- const radius = 15;
798
- const circleElement = element.append("circle").attr("cx", faceData.cx).attr("cy", faceData.cy).attr("class", "face").attr("r", radius).attr("stroke-width", 2).attr("overflow", "visible");
799
- const face = element.append("g");
800
- face.append("circle").attr("cx", faceData.cx - radius / 3).attr("cy", faceData.cy - radius / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
801
- face.append("circle").attr("cx", faceData.cx + radius / 3).attr("cy", faceData.cy - radius / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
802
- function smile(face2) {
803
- const arc = arc_default().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2);
804
- face2.append("path").attr("class", "mouth").attr("d", arc).attr("transform", "translate(" + faceData.cx + "," + (faceData.cy + 2) + ")");
805
- }
806
- __name(smile, "smile");
807
- function sad(face2) {
808
- const arc = arc_default().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2);
809
- face2.append("path").attr("class", "mouth").attr("d", arc).attr("transform", "translate(" + faceData.cx + "," + (faceData.cy + 7) + ")");
810
- }
811
- __name(sad, "sad");
812
- function ambivalent(face2) {
813
- face2.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", faceData.cx - 5).attr("y1", faceData.cy + 7).attr("x2", faceData.cx + 5).attr("y2", faceData.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
814
- }
815
- __name(ambivalent, "ambivalent");
816
- if (faceData.score > 3) {
817
- smile(face);
818
- } else if (faceData.score < 3) {
819
- sad(face);
820
- } else {
821
- ambivalent(face);
822
- }
823
- return circleElement;
824
- }, "drawFace");
825
- var drawCircle = /* @__PURE__ */ __name(function(element, circleData) {
826
- const circleElement = element.append("circle");
827
- circleElement.attr("cx", circleData.cx);
828
- circleElement.attr("cy", circleData.cy);
829
- circleElement.attr("class", "actor-" + circleData.pos);
830
- circleElement.attr("fill", circleData.fill);
831
- circleElement.attr("stroke", circleData.stroke);
832
- circleElement.attr("r", circleData.r);
833
- if (circleElement.class !== void 0) {
834
- circleElement.attr("class", circleElement.class);
835
- }
836
- if (circleData.title !== void 0) {
837
- circleElement.append("title").text(circleData.title);
838
- }
839
- return circleElement;
840
- }, "drawCircle");
841
- var drawText2 = /* @__PURE__ */ __name(function(elem, textData) {
842
- return drawText(elem, textData);
843
- }, "drawText");
844
- var drawLabel = /* @__PURE__ */ __name(function(elem, txtObject) {
845
- function genPoints(x, y, width, height, cut) {
846
- return x + "," + y + " " + (x + width) + "," + y + " " + (x + width) + "," + (y + height - cut) + " " + (x + width - cut * 1.2) + "," + (y + height) + " " + x + "," + (y + height);
847
- }
848
- __name(genPoints, "genPoints");
849
- const polygon = elem.append("polygon");
850
- polygon.attr("points", genPoints(txtObject.x, txtObject.y, 50, 20, 7));
851
- polygon.attr("class", "labelBox");
852
- txtObject.y = txtObject.y + txtObject.labelMargin;
853
- txtObject.x = txtObject.x + 0.5 * txtObject.labelMargin;
854
- drawText2(elem, txtObject);
855
- }, "drawLabel");
856
- var drawSection = /* @__PURE__ */ __name(function(elem, section, conf2) {
857
- const g = elem.append("g");
858
- const rect = getNoteRect();
859
- rect.x = section.x;
860
- rect.y = section.y;
861
- rect.fill = section.fill;
862
- rect.width = conf2.width * section.taskCount + // width of the tasks
863
- conf2.diagramMarginX * (section.taskCount - 1);
864
- rect.height = conf2.height;
865
- rect.class = "journey-section section-type-" + section.num;
866
- rect.rx = 3;
867
- rect.ry = 3;
868
- drawRect2(g, rect);
869
- _drawTextCandidateFunc(conf2)(
870
- section.text,
871
- g,
872
- rect.x,
873
- rect.y,
874
- rect.width,
875
- rect.height,
876
- { class: "journey-section section-type-" + section.num },
877
- conf2,
878
- section.colour
879
- );
880
- }, "drawSection");
881
- var taskCount = -1;
882
- var drawTask = /* @__PURE__ */ __name(function(elem, task, conf2) {
883
- const center = task.x + conf2.width / 2;
884
- const g = elem.append("g");
885
- taskCount++;
886
- const maxHeight = 300 + 5 * 30;
887
- g.append("line").attr("id", "task" + taskCount).attr("x1", center).attr("y1", task.y).attr("x2", center).attr("y2", maxHeight).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666");
888
- drawFace(g, {
889
- cx: center,
890
- cy: 300 + (5 - task.score) * 30,
891
- score: task.score
892
- });
893
- const rect = getNoteRect();
894
- rect.x = task.x;
895
- rect.y = task.y;
896
- rect.fill = task.fill;
897
- rect.width = conf2.width;
898
- rect.height = conf2.height;
899
- rect.class = "task task-type-" + task.num;
900
- rect.rx = 3;
901
- rect.ry = 3;
902
- drawRect2(g, rect);
903
- let xPos = task.x + 14;
904
- task.people.forEach((person) => {
905
- const colour = task.actors[person].color;
906
- const circle = {
907
- cx: xPos,
908
- cy: task.y,
909
- r: 7,
910
- fill: colour,
911
- stroke: "#000",
912
- title: person,
913
- pos: task.actors[person].position
914
- };
915
- drawCircle(g, circle);
916
- xPos += 10;
917
- });
918
- _drawTextCandidateFunc(conf2)(
919
- task.task,
920
- g,
921
- rect.x,
922
- rect.y,
923
- rect.width,
924
- rect.height,
925
- { class: "task" },
926
- conf2,
927
- task.colour
928
- );
929
- }, "drawTask");
930
- var drawBackgroundRect2 = /* @__PURE__ */ __name(function(elem, bounds2) {
931
- drawBackgroundRect(elem, bounds2);
932
- }, "drawBackgroundRect");
933
- var _drawTextCandidateFunc = /* @__PURE__ */ function() {
934
- function byText(content, g, x, y, width, height, textAttrs, colour) {
935
- const text = g.append("text").attr("x", x + width / 2).attr("y", y + height / 2 + 5).style("font-color", colour).style("text-anchor", "middle").text(content);
936
- _setTextAttrs(text, textAttrs);
937
- }
938
- __name(byText, "byText");
939
- function byTspan(content, g, x, y, width, height, textAttrs, conf2, colour) {
940
- const { taskFontSize, taskFontFamily } = conf2;
941
- const lines = content.split(/<br\s*\/?>/gi);
942
- for (let i = 0; i < lines.length; i++) {
943
- const dy = i * taskFontSize - taskFontSize * (lines.length - 1) / 2;
944
- const text = g.append("text").attr("x", x + width / 2).attr("y", y).attr("fill", colour).style("text-anchor", "middle").style("font-size", taskFontSize).style("font-family", taskFontFamily);
945
- text.append("tspan").attr("x", x + width / 2).attr("dy", dy).text(lines[i]);
946
- text.attr("y", y + height / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central");
947
- _setTextAttrs(text, textAttrs);
948
- }
949
- }
950
- __name(byTspan, "byTspan");
951
- function byFo(content, g, x, y, width, height, textAttrs, conf2) {
952
- const body = g.append("switch");
953
- const f = body.append("foreignObject").attr("x", x).attr("y", y).attr("width", width).attr("height", height).attr("position", "fixed");
954
- const text = f.append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
955
- text.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(content);
956
- byTspan(content, body, x, y, width, height, textAttrs, conf2);
957
- _setTextAttrs(text, textAttrs);
958
- }
959
- __name(byFo, "byFo");
960
- function _setTextAttrs(toText, fromTextAttrsDict) {
961
- for (const key in fromTextAttrsDict) {
962
- if (key in fromTextAttrsDict) {
963
- toText.attr(key, fromTextAttrsDict[key]);
964
- }
965
- }
966
- }
967
- __name(_setTextAttrs, "_setTextAttrs");
968
- return function(conf2) {
969
- return conf2.textPlacement === "fo" ? byFo : conf2.textPlacement === "old" ? byText : byTspan;
970
- };
971
- }();
972
- var initGraphics = /* @__PURE__ */ __name(function(graphics) {
973
- graphics.append("defs").append("marker").attr("id", "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");
974
- }, "initGraphics");
975
- var svgDraw_default = {
976
- drawRect: drawRect2,
977
- drawCircle,
978
- drawSection,
979
- drawText: drawText2,
980
- drawLabel,
981
- drawTask,
982
- drawBackgroundRect: drawBackgroundRect2,
983
- initGraphics
984
- };
985
- var setConf = /* @__PURE__ */ __name(function(cnf) {
986
- const keys = Object.keys(cnf);
987
- keys.forEach(function(key) {
988
- conf[key] = cnf[key];
989
- });
990
- }, "setConf");
991
- var actors = {};
992
- var maxWidth = 0;
993
- function drawActorLegend(diagram2) {
994
- const conf2 = getConfig2().journey;
995
- const maxLabelWidth = conf2.maxLabelWidth;
996
- maxWidth = 0;
997
- let yPos = 60;
998
- Object.keys(actors).forEach((person) => {
999
- const colour = actors[person].color;
1000
- const circleData = {
1001
- cx: 20,
1002
- cy: yPos,
1003
- r: 7,
1004
- fill: colour,
1005
- stroke: "#000",
1006
- pos: actors[person].position
1007
- };
1008
- svgDraw_default.drawCircle(diagram2, circleData);
1009
- let measureText = diagram2.append("text").attr("visibility", "hidden").text(person);
1010
- const fullTextWidth = measureText.node().getBoundingClientRect().width;
1011
- measureText.remove();
1012
- let lines = [];
1013
- if (fullTextWidth <= maxLabelWidth) {
1014
- lines = [person];
1015
- } else {
1016
- const words = person.split(" ");
1017
- let currentLine = "";
1018
- measureText = diagram2.append("text").attr("visibility", "hidden");
1019
- words.forEach((word) => {
1020
- const testLine = currentLine ? `${currentLine} ${word}` : word;
1021
- measureText.text(testLine);
1022
- const textWidth = measureText.node().getBoundingClientRect().width;
1023
- if (textWidth > maxLabelWidth) {
1024
- if (currentLine) {
1025
- lines.push(currentLine);
1026
- }
1027
- currentLine = word;
1028
- measureText.text(word);
1029
- if (measureText.node().getBoundingClientRect().width > maxLabelWidth) {
1030
- let brokenWord = "";
1031
- for (const char of word) {
1032
- brokenWord += char;
1033
- measureText.text(brokenWord + "-");
1034
- if (measureText.node().getBoundingClientRect().width > maxLabelWidth) {
1035
- lines.push(brokenWord.slice(0, -1) + "-");
1036
- brokenWord = char;
1037
- }
1038
- }
1039
- currentLine = brokenWord;
1040
- }
1041
- } else {
1042
- currentLine = testLine;
1043
- }
1044
- });
1045
- if (currentLine) {
1046
- lines.push(currentLine);
1047
- }
1048
- measureText.remove();
1049
- }
1050
- lines.forEach((line, index) => {
1051
- const labelData = {
1052
- x: 40,
1053
- y: yPos + 7 + index * 20,
1054
- fill: "#666",
1055
- text: line,
1056
- textMargin: conf2.boxTextMargin ?? 5
1057
- };
1058
- const textElement = svgDraw_default.drawText(diagram2, labelData);
1059
- const lineWidth = textElement.node().getBoundingClientRect().width;
1060
- if (lineWidth > maxWidth && lineWidth > conf2.leftMargin - lineWidth) {
1061
- maxWidth = lineWidth;
1062
- }
1063
- });
1064
- yPos += Math.max(20, lines.length * 20);
1065
- });
1066
- }
1067
- __name(drawActorLegend, "drawActorLegend");
1068
- var conf = getConfig2().journey;
1069
- var leftMargin = 0;
1070
- var draw = /* @__PURE__ */ __name(function(text, id, version, diagObj) {
1071
- const configObject = getConfig2();
1072
- const titleColor = configObject.journey.titleColor;
1073
- const titleFontSize = configObject.journey.titleFontSize;
1074
- const titleFontFamily = configObject.journey.titleFontFamily;
1075
- const securityLevel = configObject.securityLevel;
1076
- let sandboxElement;
1077
- if (securityLevel === "sandbox") {
1078
- sandboxElement = select_default("#i" + id);
1079
- }
1080
- const root = securityLevel === "sandbox" ? select_default(sandboxElement.nodes()[0].contentDocument.body) : select_default("body");
1081
- bounds.init();
1082
- const diagram2 = root.select("#" + id);
1083
- svgDraw_default.initGraphics(diagram2);
1084
- const tasks2 = diagObj.db.getTasks();
1085
- const title = diagObj.db.getDiagramTitle();
1086
- const actorNames = diagObj.db.getActors();
1087
- for (const member in actors) {
1088
- delete actors[member];
1089
- }
1090
- let actorPos = 0;
1091
- actorNames.forEach((actorName) => {
1092
- actors[actorName] = {
1093
- color: conf.actorColours[actorPos % conf.actorColours.length],
1094
- position: actorPos
1095
- };
1096
- actorPos++;
1097
- });
1098
- drawActorLegend(diagram2);
1099
- leftMargin = conf.leftMargin + maxWidth;
1100
- bounds.insert(0, 0, leftMargin, Object.keys(actors).length * 50);
1101
- drawTasks(diagram2, tasks2, 0);
1102
- const box = bounds.getBounds();
1103
- if (title) {
1104
- diagram2.append("text").text(title).attr("x", leftMargin).attr("font-size", titleFontSize).attr("font-weight", "bold").attr("y", 25).attr("fill", titleColor).attr("font-family", titleFontFamily);
1105
- }
1106
- const height = box.stopy - box.starty + 2 * conf.diagramMarginY;
1107
- const width = leftMargin + box.stopx + 2 * conf.diagramMarginX;
1108
- configureSvgSize(diagram2, height, width, conf.useMaxWidth);
1109
- diagram2.append("line").attr("x1", leftMargin).attr("y1", conf.height * 4).attr("x2", width - leftMargin - 4).attr("y2", conf.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
1110
- const extraVertForTitle = title ? 70 : 0;
1111
- diagram2.attr("viewBox", `${box.startx} -25 ${width} ${height + extraVertForTitle}`);
1112
- diagram2.attr("preserveAspectRatio", "xMinYMin meet");
1113
- diagram2.attr("height", height + extraVertForTitle + 25);
1114
- }, "draw");
1115
- var bounds = {
1116
- data: {
1117
- startx: void 0,
1118
- stopx: void 0,
1119
- starty: void 0,
1120
- stopy: void 0
1121
- },
1122
- verticalPos: 0,
1123
- sequenceItems: [],
1124
- init: /* @__PURE__ */ __name(function() {
1125
- this.sequenceItems = [];
1126
- this.data = {
1127
- startx: void 0,
1128
- stopx: void 0,
1129
- starty: void 0,
1130
- stopy: void 0
1131
- };
1132
- this.verticalPos = 0;
1133
- }, "init"),
1134
- updateVal: /* @__PURE__ */ __name(function(obj, key, val, fun) {
1135
- if (obj[key] === void 0) {
1136
- obj[key] = val;
1137
- } else {
1138
- obj[key] = fun(val, obj[key]);
1139
- }
1140
- }, "updateVal"),
1141
- updateBounds: /* @__PURE__ */ __name(function(startx, starty, stopx, stopy) {
1142
- const conf2 = getConfig2().journey;
1143
- const _self = this;
1144
- let cnt = 0;
1145
- function updateFn(type) {
1146
- return /* @__PURE__ */ __name(function updateItemBounds(item) {
1147
- cnt++;
1148
- const n = _self.sequenceItems.length - cnt + 1;
1149
- _self.updateVal(item, "starty", starty - n * conf2.boxMargin, Math.min);
1150
- _self.updateVal(item, "stopy", stopy + n * conf2.boxMargin, Math.max);
1151
- _self.updateVal(bounds.data, "startx", startx - n * conf2.boxMargin, Math.min);
1152
- _self.updateVal(bounds.data, "stopx", stopx + n * conf2.boxMargin, Math.max);
1153
- if (!(type === "activation")) {
1154
- _self.updateVal(item, "startx", startx - n * conf2.boxMargin, Math.min);
1155
- _self.updateVal(item, "stopx", stopx + n * conf2.boxMargin, Math.max);
1156
- _self.updateVal(bounds.data, "starty", starty - n * conf2.boxMargin, Math.min);
1157
- _self.updateVal(bounds.data, "stopy", stopy + n * conf2.boxMargin, Math.max);
1158
- }
1159
- }, "updateItemBounds");
1160
- }
1161
- __name(updateFn, "updateFn");
1162
- this.sequenceItems.forEach(updateFn());
1163
- }, "updateBounds"),
1164
- insert: /* @__PURE__ */ __name(function(startx, starty, stopx, stopy) {
1165
- const _startx = Math.min(startx, stopx);
1166
- const _stopx = Math.max(startx, stopx);
1167
- const _starty = Math.min(starty, stopy);
1168
- const _stopy = Math.max(starty, stopy);
1169
- this.updateVal(bounds.data, "startx", _startx, Math.min);
1170
- this.updateVal(bounds.data, "starty", _starty, Math.min);
1171
- this.updateVal(bounds.data, "stopx", _stopx, Math.max);
1172
- this.updateVal(bounds.data, "stopy", _stopy, Math.max);
1173
- this.updateBounds(_startx, _starty, _stopx, _stopy);
1174
- }, "insert"),
1175
- bumpVerticalPos: /* @__PURE__ */ __name(function(bump) {
1176
- this.verticalPos = this.verticalPos + bump;
1177
- this.data.stopy = this.verticalPos;
1178
- }, "bumpVerticalPos"),
1179
- getVerticalPos: /* @__PURE__ */ __name(function() {
1180
- return this.verticalPos;
1181
- }, "getVerticalPos"),
1182
- getBounds: /* @__PURE__ */ __name(function() {
1183
- return this.data;
1184
- }, "getBounds")
1185
- };
1186
- var fills = conf.sectionFills;
1187
- var textColours = conf.sectionColours;
1188
- var drawTasks = /* @__PURE__ */ __name(function(diagram2, tasks2, verticalPos) {
1189
- const conf2 = getConfig2().journey;
1190
- let lastSection = "";
1191
- const sectionVHeight = conf2.height * 2 + conf2.diagramMarginY;
1192
- const taskPos = verticalPos + sectionVHeight;
1193
- let sectionNumber = 0;
1194
- let fill = "#CCC";
1195
- let colour = "black";
1196
- let num = 0;
1197
- for (const [i, task] of tasks2.entries()) {
1198
- if (lastSection !== task.section) {
1199
- fill = fills[sectionNumber % fills.length];
1200
- num = sectionNumber % fills.length;
1201
- colour = textColours[sectionNumber % textColours.length];
1202
- let taskInSectionCount = 0;
1203
- const currentSection2 = task.section;
1204
- for (let taskIndex = i; taskIndex < tasks2.length; taskIndex++) {
1205
- if (tasks2[taskIndex].section == currentSection2) {
1206
- taskInSectionCount = taskInSectionCount + 1;
1207
- } else {
1208
- break;
1209
- }
1210
- }
1211
- const section = {
1212
- x: i * conf2.taskMargin + i * conf2.width + leftMargin,
1213
- y: 50,
1214
- text: task.section,
1215
- fill,
1216
- num,
1217
- colour,
1218
- taskCount: taskInSectionCount
1219
- };
1220
- svgDraw_default.drawSection(diagram2, section, conf2);
1221
- lastSection = task.section;
1222
- sectionNumber++;
1223
- }
1224
- const taskActors = task.people.reduce((acc, actorName) => {
1225
- if (actors[actorName]) {
1226
- acc[actorName] = actors[actorName];
1227
- }
1228
- return acc;
1229
- }, {});
1230
- task.x = i * conf2.taskMargin + i * conf2.width + leftMargin;
1231
- task.y = taskPos;
1232
- task.width = conf2.diagramMarginX;
1233
- task.height = conf2.diagramMarginY;
1234
- task.colour = colour;
1235
- task.fill = fill;
1236
- task.num = num;
1237
- task.actors = taskActors;
1238
- svgDraw_default.drawTask(diagram2, task, conf2);
1239
- bounds.insert(task.x, task.y, task.x + task.width + conf2.taskMargin, 300 + 5 * 30);
1240
- }
1241
- }, "drawTasks");
1242
- var journeyRenderer_default = {
1243
- setConf,
1244
- draw
1245
- };
1246
- var diagram = {
1247
- parser: journey_default,
1248
- db: journeyDb_default,
1249
- renderer: journeyRenderer_default,
1250
- styles: styles_default,
1251
- init: /* @__PURE__ */ __name((cnf) => {
1252
- journeyRenderer_default.setConf(cnf.journey);
1253
- journeyDb_default.clear();
1254
- }, "init")
1255
- };
1256
-
1257
- export { diagram };
1258
- //# sourceMappingURL=journeyDiagram-XKPGCS4Q-BMTOBHZ4.mjs.map
1259
- //# sourceMappingURL=journeyDiagram-XKPGCS4Q-BMTOBHZ4.mjs.map