for-humanity 0.12.0 → 0.13.1

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 (226) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/README.md +16 -9
  3. package/dist/browser.js +14 -16
  4. package/dist/cli.css +2 -968
  5. package/dist/cli.js +92 -2318
  6. package/dist/config.js +1 -0
  7. package/dist/constant/copy.d.ts +100 -0
  8. package/dist/constant/site.d.ts +20 -0
  9. package/dist/constant/status.d.ts +19 -0
  10. package/dist/copy-C1uzvEnr.js +103 -0
  11. package/dist/group-path-XAThmzvC.js +10 -0
  12. package/dist/load-site-B-u5-jv0.js +2343 -0
  13. package/dist/logger-Dv1i9xSV.js +9 -0
  14. package/dist/mermaid/THIRD-PARTY-NOTICES.txt +3134 -0
  15. package/dist/mermaid/chunk--TN-qHgG.js +2 -0
  16. package/dist/mermaid/chunk-0kM1Lv4D.js +2 -0
  17. package/dist/mermaid/chunk-3FHei3pH.js +2001 -0
  18. package/dist/mermaid/chunk-3_2p2GqN.js +2 -0
  19. package/dist/mermaid/chunk-6HLei9i0.js +84 -0
  20. package/dist/mermaid/chunk-7Sz3kAwl.js +2214 -0
  21. package/dist/mermaid/chunk-7Tarqbpa.js +18047 -0
  22. package/dist/mermaid/chunk-9kkt8lzL.js +10 -0
  23. package/dist/mermaid/chunk-B--pNBQF.js +884 -0
  24. package/dist/mermaid/chunk-B4F-pysn.js +4241 -0
  25. package/dist/mermaid/chunk-B58sEIY_.js +14 -0
  26. package/dist/mermaid/chunk-B9_UWzSH.js +1517 -0
  27. package/dist/mermaid/chunk-BB8uZHwY.js +75 -0
  28. package/dist/mermaid/chunk-BFfk0LEc.js +717 -0
  29. package/dist/mermaid/chunk-BKri0qr7.js +89 -0
  30. package/dist/mermaid/chunk-BL404pH5.js +26 -0
  31. package/dist/mermaid/chunk-BLeiQSWo.js +354 -0
  32. package/dist/mermaid/chunk-BOmH_UFd.js +2 -0
  33. package/dist/mermaid/chunk-BSej9Nhy.js +1361 -0
  34. package/dist/mermaid/chunk-BYzrzvCI.js +12 -0
  35. package/dist/mermaid/chunk-BariMtWr.js +3020 -0
  36. package/dist/mermaid/chunk-BcrBoMwH.js +2352 -0
  37. package/dist/mermaid/chunk-Bok8z-Yo.js +67 -0
  38. package/dist/mermaid/chunk-BpTHLKQM.js +1970 -0
  39. package/dist/mermaid/chunk-BqjuxRsC.js +733 -0
  40. package/dist/mermaid/chunk-BuvPd-s5.js +1073 -0
  41. package/dist/mermaid/chunk-BvVehae3.js +5069 -0
  42. package/dist/mermaid/chunk-C-JABYpd.js +3075 -0
  43. package/dist/mermaid/chunk-C9XlTm4w.js +2 -0
  44. package/dist/mermaid/chunk-CApNbSU9.js +6 -0
  45. package/dist/mermaid/chunk-CCM2AH-C.js +9 -0
  46. package/dist/mermaid/chunk-CD1E0F_N.js +2 -0
  47. package/dist/mermaid/chunk-CDWvKG7D.js +2 -0
  48. package/dist/mermaid/chunk-CEVPpC1F.js +34 -0
  49. package/dist/mermaid/chunk-CLDr12lf.js +47504 -0
  50. package/dist/mermaid/chunk-CLVYqOBI.js +61 -0
  51. package/dist/mermaid/chunk-CLeOkFb5.js +15 -0
  52. package/dist/mermaid/chunk-CLgRAtOz.js +37 -0
  53. package/dist/mermaid/chunk-CMqFNUBl.js +134 -0
  54. package/dist/mermaid/chunk-CTPaBJXB.js +2 -0
  55. package/dist/mermaid/chunk-CVi6IGBL.js +2 -0
  56. package/dist/mermaid/chunk-CWV_EN-4.js +4745 -0
  57. package/dist/mermaid/chunk-CZ0dAs3g.js +2 -0
  58. package/dist/mermaid/chunk-C_YGy4Fn.js +236 -0
  59. package/dist/mermaid/chunk-CcVH22Yt.js +100 -0
  60. package/dist/mermaid/chunk-CgG6CD9_.js +7175 -0
  61. package/dist/mermaid/chunk-CgOP6IDB.js +3397 -0
  62. package/dist/mermaid/chunk-Cgg2UTSf.js +13 -0
  63. package/dist/mermaid/chunk-ChJfJJ1A.js +214 -0
  64. package/dist/mermaid/chunk-Ck5XRA46.js +447 -0
  65. package/dist/mermaid/chunk-Ckuw16cl.js +203 -0
  66. package/dist/mermaid/chunk-CpAbRCbF.js +1880 -0
  67. package/dist/mermaid/chunk-CuYekbSv.js +2 -0
  68. package/dist/mermaid/chunk-CwS4wZ5a.js +2 -0
  69. package/dist/mermaid/chunk-D-bcrBO3.js +82 -0
  70. package/dist/mermaid/chunk-D3IEAkCW.js +76 -0
  71. package/dist/mermaid/chunk-D8XfBJ_K.js +645 -0
  72. package/dist/mermaid/chunk-D9Ddd9y4.js +2228 -0
  73. package/dist/mermaid/chunk-DBh1mIbK.js +12 -0
  74. package/dist/mermaid/chunk-DD6Df6Ic.js +5 -0
  75. package/dist/mermaid/chunk-DGVDaXjx.js +8 -0
  76. package/dist/mermaid/chunk-DK9KqIXj.js +632 -0
  77. package/dist/mermaid/chunk-DORnIAsy.js +4487 -0
  78. package/dist/mermaid/chunk-DU69_VcF.js +363 -0
  79. package/dist/mermaid/chunk-DVNvSFoz.js +2144 -0
  80. package/dist/mermaid/chunk-DZe-4kde.js +20 -0
  81. package/dist/mermaid/chunk-D_a06Rz4.js +287 -0
  82. package/dist/mermaid/chunk-DfyFJJi2.js +972 -0
  83. package/dist/mermaid/chunk-DhKYPp1Z.js +2 -0
  84. package/dist/mermaid/chunk-DjFqgNTG.js +94 -0
  85. package/dist/mermaid/chunk-DmbDDrr-.js +65 -0
  86. package/dist/mermaid/chunk-DpuxlyL_.js +696 -0
  87. package/dist/mermaid/chunk-DqGhppWe.js +2 -0
  88. package/dist/mermaid/chunk-DqPZxHXa.js +5 -0
  89. package/dist/mermaid/chunk-Dt_1Jyif.js +293 -0
  90. package/dist/mermaid/chunk-DyQBE_NW.js +1935 -0
  91. package/dist/mermaid/chunk-JckyC4mW.js +1009 -0
  92. package/dist/mermaid/chunk-K7Myuj2-.js +1334 -0
  93. package/dist/mermaid/chunk-KuPYb48V.js +275 -0
  94. package/dist/mermaid/chunk-MFVRUoO0.js +4020 -0
  95. package/dist/mermaid/chunk-MbInCS_6.js +28 -0
  96. package/dist/mermaid/chunk-MexOLyKV.js +355 -0
  97. package/dist/mermaid/chunk-NnbDtJzg.js +21856 -0
  98. package/dist/mermaid/chunk-SGpOYZbI.js +2139 -0
  99. package/dist/mermaid/chunk-TbxLDlcU.js +198 -0
  100. package/dist/mermaid/chunk-TftHqGLg.js +490 -0
  101. package/dist/mermaid/chunk-UjQ8vA_Z.js +4138 -0
  102. package/dist/mermaid/chunk-YgmVTKqc.js +16 -0
  103. package/dist/mermaid/chunk-_a9EZE1v.js +1798 -0
  104. package/dist/mermaid/chunk-dTb8jqeP.js +2 -0
  105. package/dist/mermaid/chunk-fFdMfF8S.js +2240 -0
  106. package/dist/mermaid/chunk-feYbMzBj.js +1267 -0
  107. package/dist/mermaid/chunk-g3Pn8DkW.js +46 -0
  108. package/dist/mermaid/chunk-hM77LvCb.js +19832 -0
  109. package/dist/mermaid/chunk-hUDb-eAW.js +527 -0
  110. package/dist/mermaid/chunk-tpABtZ-3.js +4252 -0
  111. package/dist/mermaid/chunk-xIbz3oFK.js +59 -0
  112. package/dist/mermaid/chunk-yBz-vst0.js +976 -0
  113. package/dist/mermaid/mermaid-BhtR3wyB.js +1145 -0
  114. package/dist/run-site-command-cqCjpIlc.js +129 -0
  115. package/dist/site-config-bllORGpm.js +90 -0
  116. package/dist/site.js +1 -0
  117. package/dist/start-dev-server-x7Ja5uwv.js +184 -0
  118. package/dist/to-change-queue-DbEnZGNK.js +34 -0
  119. package/dist/to-error-message-pF6_7wGK.js +16 -0
  120. package/dist/type/group-path.d.ts +7 -0
  121. package/dist/type/site-config.d.ts +57 -0
  122. package/package.json +34 -17
  123. package/src/component/widget/cursor-face/_constant/cursor-face.ts +0 -14
  124. package/src/component/widget/cursor-face/wg-cursor-face.css +0 -15
  125. package/src/component/widget/cursor-face/wg-cursor-face.tsx +0 -153
  126. package/src/component/widget/navigation/_constant/locale.ts +0 -9
  127. package/src/component/widget/navigation/_constant/navigation-data-schema.ts +0 -33
  128. package/src/component/widget/navigation/_constant/navigation.ts +0 -9
  129. package/src/component/widget/navigation/_constant/reading-line.ts +0 -4
  130. package/src/component/widget/navigation/_function/restore-navigation-scroll.ts +0 -59
  131. package/src/component/widget/navigation/_function/to-doc-groups/_to-doc-branches.ts +0 -15
  132. package/src/component/widget/navigation/_function/to-doc-groups/_to-doc-group-branches.ts +0 -70
  133. package/src/component/widget/navigation/_function/to-doc-groups/to-doc-groups.ts +0 -15
  134. package/src/component/widget/navigation/_function/to-navigation-data/_to-navigation-document.ts +0 -13
  135. package/src/component/widget/navigation/_function/to-navigation-data/_to-navigation-group.ts +0 -13
  136. package/src/component/widget/navigation/_function/to-navigation-data/to-navigation-data.ts +0 -18
  137. package/src/component/widget/navigation/_function/to-navigation-json.ts +0 -8
  138. package/src/component/widget/navigation/_function/to-toc-groups.ts +0 -38
  139. package/src/component/widget/navigation/_type/doc-branch.ts +0 -11
  140. package/src/component/widget/navigation/_type/doc-group.ts +0 -24
  141. package/src/component/widget/navigation/_type/navigation-data.ts +0 -75
  142. package/src/component/widget/navigation/_type/navigation-focus-snapshot.ts +0 -17
  143. package/src/component/widget/navigation/_type/toc-group.ts +0 -39
  144. package/src/component/widget/navigation/_wg-navigation-nav-list.css +0 -48
  145. package/src/component/widget/navigation/_wg-navigation-nav-list.tsx +0 -61
  146. package/src/component/widget/navigation/_wg-navigation-nav.css +0 -21
  147. package/src/component/widget/navigation/_wg-navigation-nav.tsx +0 -33
  148. package/src/component/widget/navigation/_wg-navigation-scroll.tsx +0 -117
  149. package/src/component/widget/navigation/_wg-navigation-toc.css +0 -91
  150. package/src/component/widget/navigation/_wg-navigation-toc.tsx +0 -114
  151. package/src/component/widget/navigation/wg-navigation.css +0 -282
  152. package/src/component/widget/navigation/wg-navigation.tsx +0 -420
  153. package/src/component/widget/prose/_constant/heading-highlight.ts +0 -4
  154. package/src/component/widget/prose/_constant/section.ts +0 -7
  155. package/src/component/widget/prose/_constant/status.ts +0 -9
  156. package/src/component/widget/prose/_function/has-block-content.ts +0 -30
  157. package/src/component/widget/prose/_function/rehype-head.ts +0 -31
  158. package/src/component/widget/prose/_function/rehype-sections/_to-section-headings.ts +0 -20
  159. package/src/component/widget/prose/_function/rehype-sections/rehype-sections.ts +0 -21
  160. package/src/component/widget/prose/_function/rehype-tables.ts +0 -22
  161. package/src/component/widget/prose/_function/remark-blocks.ts +0 -112
  162. package/src/component/widget/prose/_function/remark-flow.ts +0 -26
  163. package/src/component/widget/prose/_function/remark-links.ts +0 -33
  164. package/src/component/widget/prose/_function/remark-parts.ts +0 -26
  165. package/src/component/widget/prose/_function/remark-status.ts +0 -59
  166. package/src/component/widget/prose/_function/remark-swatch.ts +0 -16
  167. package/src/component/widget/prose/_function/remark-unknown-directives.ts +0 -25
  168. package/src/component/widget/prose/wg-prose.css +0 -484
  169. package/src/component/widget/prose/wg-prose.tsx +0 -43
  170. package/src/component/widget/shell/wg-shell.css +0 -63
  171. package/src/component/widget/shell/wg-shell.tsx +0 -88
  172. package/src/component/widget/shell-controls/wg-shell-controls.css +0 -4
  173. package/src/component/widget/shell-controls/wg-shell-controls.tsx +0 -170
  174. package/src/constant/asset.ts +0 -63
  175. package/src/constant/copy.ts +0 -133
  176. package/src/constant/doc.ts +0 -13
  177. package/src/constant/font.ts +0 -34
  178. package/src/constant/site.ts +0 -24
  179. package/src/constant/status.ts +0 -15
  180. package/src/entry/browser/browser.tsx +0 -22
  181. package/src/entry/cli/_constant/cli.ts +0 -19
  182. package/src/entry/cli/_constant/crawling.ts +0 -14
  183. package/src/entry/cli/_constant/snippet.ts +0 -21
  184. package/src/entry/cli/_function/create-app.tsx +0 -57
  185. package/src/entry/cli/_function/create-dev-app.ts +0 -87
  186. package/src/entry/cli/_function/create-processor/_rehype-assets.ts +0 -70
  187. package/src/entry/cli/_function/create-processor/_rehype-heading-ids.ts +0 -34
  188. package/src/entry/cli/_function/create-processor/_remark-report.ts +0 -15
  189. package/src/entry/cli/_function/create-processor/_remark-snippets.ts +0 -117
  190. package/src/entry/cli/_function/create-processor/_shiki-transformers.ts +0 -91
  191. package/src/entry/cli/_function/create-processor/create-processor.ts +0 -64
  192. package/src/entry/cli/_function/read-docs.ts +0 -128
  193. package/src/entry/cli/_function/read-home.ts +0 -32
  194. package/src/entry/cli/_function/to-crawling-app.ts +0 -42
  195. package/src/entry/cli/cli.test.ts +0 -804
  196. package/src/entry/cli/cli.ts +0 -206
  197. package/src/env.d.ts +0 -6
  198. package/src/page/doc/pg-doc.tsx +0 -35
  199. package/src/page/home/pg-home.tsx +0 -40
  200. package/src/store/navigation/create-navigation-stores.test.ts +0 -74
  201. package/src/store/navigation/create-navigation-stores.ts +0 -59
  202. package/src/store/navigation/navigation-state.ts +0 -36
  203. package/src/store/navigation/navigation-storage.ts +0 -9
  204. package/src/store/navigation/to-navigation-scroll-state.ts +0 -42
  205. package/src/style/base.css +0 -28
  206. package/src/style/token.css +0 -188
  207. package/src/type/doc-content.ts +0 -15
  208. package/src/type/doc-data.ts +0 -38
  209. package/src/type/doc-file-data.ts +0 -21
  210. package/src/type/doc-heading.ts +0 -17
  211. package/src/type/doc-outline.ts +0 -16
  212. package/src/type/doc-section.ts +0 -9
  213. package/src/type/doc.ts +0 -20
  214. package/src/type/group-path.ts +0 -7
  215. package/src/type/site-assets.ts +0 -25
  216. package/src/type/site-config.ts +0 -73
  217. package/src/type/vfile-data.d.ts +0 -10
  218. package/src/util/async/to-change-queue.test.ts +0 -58
  219. package/src/util/async/to-change-queue.ts +0 -43
  220. package/src/util/dom/find-hash-target.ts +0 -18
  221. package/src/util/dom/reveal-hash-target.ts +0 -15
  222. package/src/util/error/to-error-message.ts +0 -10
  223. package/src/util/file/to-asset-path.ts +0 -26
  224. package/src/util/font/to-font-css.test.ts +0 -41
  225. package/src/util/font/to-font-css.ts +0 -28
  226. package/src/util/mermaid/render-flow.js +0 -321
@@ -0,0 +1,1073 @@
1
+ import { m as e, p as t } from "./chunk-DVNvSFoz.js";
2
+ import { n, t as r } from "./chunk-BYzrzvCI.js";
3
+ import { Y as i, a, b as o, it as s, nt as c, o as l, tt as u, y as d } from "./chunk-MFVRUoO0.js";
4
+ import { t as f } from "./chunk-D-bcrBO3.js";
5
+ import { m as p } from "./chunk-K7Myuj2-.js";
6
+ import { t as m } from "./chunk-B58sEIY_.js";
7
+ import { i as h, n as g } from "./chunk-DBh1mIbK.js";
8
+ //#region node_modules/.pnpm/mermaid@12.2.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-JXYKGLGB.mjs
9
+ var _ = (function() {
10
+ var e = /* @__PURE__ */ n(function(e, t, n, r) {
11
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
12
+ return n;
13
+ }, "o"), t = [
14
+ 6,
15
+ 11,
16
+ 13,
17
+ 14,
18
+ 15,
19
+ 17,
20
+ 19,
21
+ 20,
22
+ 23,
23
+ 24
24
+ ], r = [1, 12], i = [1, 13], a = [1, 14], o = [1, 15], s = [1, 16], c = [1, 19], l = [1, 20], u = {
25
+ trace: /* @__PURE__ */ n(function() {}, "trace"),
26
+ yy: {},
27
+ symbols_: {
28
+ error: 2,
29
+ start: 3,
30
+ timeline_header: 4,
31
+ document: 5,
32
+ EOF: 6,
33
+ timeline: 7,
34
+ timeline_lr: 8,
35
+ timeline_td: 9,
36
+ line: 10,
37
+ SPACE: 11,
38
+ statement: 12,
39
+ NEWLINE: 13,
40
+ title: 14,
41
+ acc_title: 15,
42
+ acc_title_value: 16,
43
+ acc_descr: 17,
44
+ acc_descr_value: 18,
45
+ acc_descr_multiline_value: 19,
46
+ section: 20,
47
+ period_statement: 21,
48
+ event_statement: 22,
49
+ period: 23,
50
+ event: 24,
51
+ $accept: 0,
52
+ $end: 1
53
+ },
54
+ terminals_: {
55
+ 2: "error",
56
+ 6: "EOF",
57
+ 7: "timeline",
58
+ 8: "timeline_lr",
59
+ 9: "timeline_td",
60
+ 11: "SPACE",
61
+ 13: "NEWLINE",
62
+ 14: "title",
63
+ 15: "acc_title",
64
+ 16: "acc_title_value",
65
+ 17: "acc_descr",
66
+ 18: "acc_descr_value",
67
+ 19: "acc_descr_multiline_value",
68
+ 20: "section",
69
+ 23: "period",
70
+ 24: "event"
71
+ },
72
+ productions_: [
73
+ 0,
74
+ [3, 3],
75
+ [4, 1],
76
+ [4, 1],
77
+ [4, 1],
78
+ [5, 0],
79
+ [5, 2],
80
+ [10, 2],
81
+ [10, 1],
82
+ [10, 1],
83
+ [10, 1],
84
+ [12, 1],
85
+ [12, 2],
86
+ [12, 2],
87
+ [12, 1],
88
+ [12, 1],
89
+ [12, 1],
90
+ [12, 1],
91
+ [21, 1],
92
+ [22, 1]
93
+ ],
94
+ performAction: /* @__PURE__ */ n(function(e, t, n, r, i, a, o) {
95
+ var s = a.length - 1;
96
+ switch (i) {
97
+ case 1: return a[s - 1];
98
+ case 3:
99
+ r.setDirection("LR");
100
+ break;
101
+ case 4:
102
+ r.setDirection("TD");
103
+ break;
104
+ case 5:
105
+ this.$ = [];
106
+ break;
107
+ case 6:
108
+ a[s - 1].push(a[s]), this.$ = a[s - 1];
109
+ break;
110
+ case 7:
111
+ case 8:
112
+ this.$ = a[s];
113
+ break;
114
+ case 9:
115
+ case 10:
116
+ this.$ = [];
117
+ break;
118
+ case 11:
119
+ r.getCommonDb().setDiagramTitle(a[s].substr(6)), this.$ = a[s].substr(6);
120
+ break;
121
+ case 12:
122
+ this.$ = a[s].trim(), r.getCommonDb().setAccTitle(this.$);
123
+ break;
124
+ case 13:
125
+ case 14:
126
+ this.$ = a[s].trim(), r.getCommonDb().setAccDescription(this.$);
127
+ break;
128
+ case 15:
129
+ r.addSection(a[s].substr(8)), this.$ = a[s].substr(8);
130
+ break;
131
+ case 18:
132
+ r.addTask(a[s], 0, ""), this.$ = a[s];
133
+ break;
134
+ case 19: r.addEvent(a[s].substr(2)), this.$ = a[s];
135
+ }
136
+ }, "anonymous"),
137
+ table: [
138
+ {
139
+ 3: 1,
140
+ 4: 2,
141
+ 7: [1, 3],
142
+ 8: [1, 4],
143
+ 9: [1, 5]
144
+ },
145
+ { 1: [3] },
146
+ e(t, [2, 5], { 5: 6 }),
147
+ e(t, [2, 2]),
148
+ e(t, [2, 3]),
149
+ e(t, [2, 4]),
150
+ {
151
+ 6: [1, 7],
152
+ 10: 8,
153
+ 11: [1, 9],
154
+ 12: 10,
155
+ 13: [1, 11],
156
+ 14: r,
157
+ 15: i,
158
+ 17: a,
159
+ 19: o,
160
+ 20: s,
161
+ 21: 17,
162
+ 22: 18,
163
+ 23: c,
164
+ 24: l
165
+ },
166
+ e(t, [2, 10], { 1: [2, 1] }),
167
+ e(t, [2, 6]),
168
+ {
169
+ 12: 21,
170
+ 14: r,
171
+ 15: i,
172
+ 17: a,
173
+ 19: o,
174
+ 20: s,
175
+ 21: 17,
176
+ 22: 18,
177
+ 23: c,
178
+ 24: l
179
+ },
180
+ e(t, [2, 8]),
181
+ e(t, [2, 9]),
182
+ e(t, [2, 11]),
183
+ { 16: [1, 22] },
184
+ { 18: [1, 23] },
185
+ e(t, [2, 14]),
186
+ e(t, [2, 15]),
187
+ e(t, [2, 16]),
188
+ e(t, [2, 17]),
189
+ e(t, [2, 18]),
190
+ e(t, [2, 19]),
191
+ e(t, [2, 7]),
192
+ e(t, [2, 12]),
193
+ e(t, [2, 13])
194
+ ],
195
+ defaultActions: {},
196
+ parseError: /* @__PURE__ */ n(function(e, t) {
197
+ if (t.recoverable) this.trace(e);
198
+ else {
199
+ var n = Error(e);
200
+ throw n.hash = t, n;
201
+ }
202
+ }, "parseError"),
203
+ parse: /* @__PURE__ */ n(function(e) {
204
+ var t = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
205
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
206
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
207
+ var v = h.yylloc;
208
+ o.push(v);
209
+ var y = h.options && h.options.ranges;
210
+ this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
211
+ function b(e) {
212
+ r.length -= 2 * e, a.length -= e, o.length -= e;
213
+ }
214
+ n(b, "popStack");
215
+ function x() {
216
+ var e = i.pop() || h.lex() || p;
217
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = t.symbols_[e] || e), e;
218
+ }
219
+ n(x, "lex");
220
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
221
+ if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
222
+ var M = "";
223
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
224
+ M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
225
+ text: h.match,
226
+ token: this.terminals_[S] || S,
227
+ line: h.yylineno,
228
+ loc: v,
229
+ expected: j
230
+ });
231
+ }
232
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
233
+ switch (T[0]) {
234
+ case 1:
235
+ r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
236
+ break;
237
+ case 2:
238
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
239
+ first_line: o[o.length - (k || 1)].first_line,
240
+ last_line: o[o.length - 1].last_line,
241
+ first_column: o[o.length - (k || 1)].first_column,
242
+ last_column: o[o.length - 1].last_column
243
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
244
+ c,
245
+ u,
246
+ l,
247
+ g.yy,
248
+ T[1],
249
+ a,
250
+ o
251
+ ].concat(m)), E !== void 0) return E;
252
+ k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
253
+ break;
254
+ case 3: return !0;
255
+ }
256
+ }
257
+ return !0;
258
+ }, "parse")
259
+ };
260
+ u.lexer = /* @__PURE__ */ (function() {
261
+ return {
262
+ EOF: 1,
263
+ parseError: /* @__PURE__ */ n(function(e, t) {
264
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
265
+ else throw Error(e);
266
+ }, "parseError"),
267
+ setInput: /* @__PURE__ */ n(function(e, t) {
268
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
269
+ first_line: 1,
270
+ first_column: 0,
271
+ last_line: 1,
272
+ last_column: 0
273
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
274
+ }, "setInput"),
275
+ input: /* @__PURE__ */ n(function() {
276
+ var e = this._input[0];
277
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
278
+ }, "input"),
279
+ unput: /* @__PURE__ */ n(function(e) {
280
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
281
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
282
+ var r = this.match.split(/(?:\r\n?|\n)/g);
283
+ 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);
284
+ var i = this.yylloc.range;
285
+ return this.yylloc = {
286
+ first_line: this.yylloc.first_line,
287
+ last_line: this.yylineno + 1,
288
+ first_column: this.yylloc.first_column,
289
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
290
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
291
+ }, "unput"),
292
+ more: /* @__PURE__ */ n(function() {
293
+ return this._more = !0, this;
294
+ }, "more"),
295
+ reject: /* @__PURE__ */ n(function() {
296
+ if (this.options.backtrack_lexer) this._backtrack = !0;
297
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
298
+ text: "",
299
+ token: null,
300
+ line: this.yylineno
301
+ });
302
+ return this;
303
+ }, "reject"),
304
+ less: /* @__PURE__ */ n(function(e) {
305
+ this.unput(this.match.slice(e));
306
+ }, "less"),
307
+ pastInput: /* @__PURE__ */ n(function() {
308
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
309
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
310
+ }, "pastInput"),
311
+ upcomingInput: /* @__PURE__ */ n(function() {
312
+ var e = this.match;
313
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
314
+ }, "upcomingInput"),
315
+ showPosition: /* @__PURE__ */ n(function() {
316
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
317
+ return e + this.upcomingInput() + "\n" + t + "^";
318
+ }, "showPosition"),
319
+ test_match: /* @__PURE__ */ n(function(e, t) {
320
+ var n, r, i;
321
+ if (this.options.backtrack_lexer && (i = {
322
+ yylineno: this.yylineno,
323
+ yylloc: {
324
+ first_line: this.yylloc.first_line,
325
+ last_line: this.last_line,
326
+ first_column: this.yylloc.first_column,
327
+ last_column: this.yylloc.last_column
328
+ },
329
+ yytext: this.yytext,
330
+ match: this.match,
331
+ matches: this.matches,
332
+ matched: this.matched,
333
+ yyleng: this.yyleng,
334
+ offset: this.offset,
335
+ _more: this._more,
336
+ _input: this._input,
337
+ yy: this.yy,
338
+ conditionStack: this.conditionStack.slice(0),
339
+ done: this.done
340
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
341
+ first_line: this.yylloc.last_line,
342
+ last_line: this.yylineno + 1,
343
+ first_column: this.yylloc.last_column,
344
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
345
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
346
+ if (this._backtrack) {
347
+ for (var a in i) this[a] = i[a];
348
+ return !1;
349
+ }
350
+ return !1;
351
+ }, "test_match"),
352
+ next: /* @__PURE__ */ n(function() {
353
+ if (this.done) return this.EOF;
354
+ this._input || (this.done = !0);
355
+ var e, t, n, r;
356
+ this._more || (this.yytext = "", this.match = "");
357
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
358
+ if (t = n, r = a, this.options.backtrack_lexer) {
359
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
360
+ if (this._backtrack) {
361
+ t = !1;
362
+ continue;
363
+ }
364
+ return !1;
365
+ }
366
+ if (!this.options.flex) break;
367
+ }
368
+ return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
369
+ text: "",
370
+ token: null,
371
+ line: this.yylineno
372
+ });
373
+ }, "next"),
374
+ lex: /* @__PURE__ */ n(function() {
375
+ return this.next() || this.lex();
376
+ }, "lex"),
377
+ begin: /* @__PURE__ */ n(function(e) {
378
+ this.conditionStack.push(e);
379
+ }, "begin"),
380
+ popState: /* @__PURE__ */ n(function() {
381
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
382
+ }, "popState"),
383
+ _currentRules: /* @__PURE__ */ n(function() {
384
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
385
+ }, "_currentRules"),
386
+ topState: /* @__PURE__ */ n(function(e) {
387
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
388
+ }, "topState"),
389
+ pushState: /* @__PURE__ */ n(function(e) {
390
+ this.begin(e);
391
+ }, "pushState"),
392
+ stateStackSize: /* @__PURE__ */ n(function() {
393
+ return this.conditionStack.length;
394
+ }, "stateStackSize"),
395
+ options: { "case-insensitive": !0 },
396
+ performAction: /* @__PURE__ */ n(function(e, t, n, r) {
397
+ switch (n) {
398
+ case 0: break;
399
+ case 1: break;
400
+ case 2: return 13;
401
+ case 3: break;
402
+ case 4: break;
403
+ case 5: return 8;
404
+ case 6: return 9;
405
+ case 7: return 7;
406
+ case 8: return 14;
407
+ case 9: return this.begin("acc_title"), 15;
408
+ case 10: return this.popState(), "acc_title_value";
409
+ case 11: return this.begin("acc_descr"), 17;
410
+ case 12: return this.popState(), "acc_descr_value";
411
+ case 13:
412
+ this.begin("acc_descr_multiline");
413
+ break;
414
+ case 14:
415
+ this.popState();
416
+ break;
417
+ case 15: return "acc_descr_multiline_value";
418
+ case 16: return 20;
419
+ case 17: return 24;
420
+ case 18: return 23;
421
+ case 19: return 6;
422
+ case 20: return "INVALID";
423
+ }
424
+ }, "anonymous"),
425
+ rules: [
426
+ /^(?:%(?!\{)[^\n]*)/i,
427
+ /^(?:[^\}]%%[^\n]*)/i,
428
+ /^(?:[\n]+)/i,
429
+ /^(?:\s+)/i,
430
+ /^(?:#[^\n]*)/i,
431
+ /^(?:timeline[ \t]+LR\b)/i,
432
+ /^(?:timeline[ \t]+TD\b)/i,
433
+ /^(?:timeline\b)/i,
434
+ /^(?:title\s[^\n]+)/i,
435
+ /^(?:accTitle\s*:\s*)/i,
436
+ /^(?:(?!\n||)*[^\n]*)/i,
437
+ /^(?:accDescr\s*:\s*)/i,
438
+ /^(?:(?!\n||)*[^\n]*)/i,
439
+ /^(?:accDescr\s*\{\s*)/i,
440
+ /^(?:[\}])/i,
441
+ /^(?:[^\}]*)/i,
442
+ /^(?:section\s[^:\n]+)/i,
443
+ /^(?::\s(?:[^:\n]|:(?!\s))+)/i,
444
+ /^(?:[^#:\n]+)/i,
445
+ /^(?:$)/i,
446
+ /^(?:.)/i
447
+ ],
448
+ conditions: {
449
+ acc_descr_multiline: {
450
+ rules: [14, 15],
451
+ inclusive: !1
452
+ },
453
+ acc_descr: {
454
+ rules: [12],
455
+ inclusive: !1
456
+ },
457
+ acc_title: {
458
+ rules: [10],
459
+ inclusive: !1
460
+ },
461
+ INITIAL: {
462
+ rules: [
463
+ 0,
464
+ 1,
465
+ 2,
466
+ 3,
467
+ 4,
468
+ 5,
469
+ 6,
470
+ 7,
471
+ 8,
472
+ 9,
473
+ 11,
474
+ 13,
475
+ 16,
476
+ 17,
477
+ 18,
478
+ 19,
479
+ 20
480
+ ],
481
+ inclusive: !0
482
+ }
483
+ }
484
+ };
485
+ })();
486
+ function d() {
487
+ this.yy = {};
488
+ }
489
+ return n(d, "Parser"), d.prototype = u, u.Parser = d, new d();
490
+ })();
491
+ _.parser = _;
492
+ var v = _, y = {};
493
+ r(y, {
494
+ addEvent: () => P,
495
+ addSection: () => A,
496
+ addTask: () => N,
497
+ addTaskOrg: () => F,
498
+ clear: () => D,
499
+ default: () => ee,
500
+ getCommonDb: () => E,
501
+ getDirection: () => k,
502
+ getSections: () => j,
503
+ getTasks: () => M,
504
+ setDirection: () => O
505
+ });
506
+ var b = "", x = 0, S = "LR", C = [], w = [], T = [], E = /* @__PURE__ */ n(() => l, "getCommonDb"), D = /* @__PURE__ */ n(function() {
507
+ C.length = 0, w.length = 0, b = "", T.length = 0, S = "LR", a();
508
+ }, "clear"), O = /* @__PURE__ */ n(function(e) {
509
+ S = e;
510
+ }, "setDirection"), k = /* @__PURE__ */ n(function() {
511
+ return S;
512
+ }, "getDirection"), A = /* @__PURE__ */ n(function(e) {
513
+ b = e, C.push(e);
514
+ }, "addSection"), j = /* @__PURE__ */ n(function() {
515
+ return C;
516
+ }, "getSections"), M = /* @__PURE__ */ n(function() {
517
+ let e = I(), t = 0;
518
+ for (; !e && t < 100;) e = I(), t++;
519
+ return w.push(...T), w;
520
+ }, "getTasks"), N = /* @__PURE__ */ n(function(e, t, n) {
521
+ let r = {
522
+ id: x++,
523
+ section: b,
524
+ type: b,
525
+ task: e,
526
+ score: t || 0,
527
+ events: n ? [n] : []
528
+ };
529
+ T.push(r);
530
+ }, "addTask"), P = /* @__PURE__ */ n(function(e) {
531
+ T.find((e) => e.id === x - 1).events.push(e);
532
+ }, "addEvent"), F = /* @__PURE__ */ n(function(e) {
533
+ let t = {
534
+ section: b,
535
+ type: b,
536
+ description: e,
537
+ task: e,
538
+ classes: []
539
+ };
540
+ w.push(t);
541
+ }, "addTaskOrg"), I = /* @__PURE__ */ n(function() {
542
+ let e = /* @__PURE__ */ n(function(e) {
543
+ return T[e].processed;
544
+ }, "compileTask"), t = !0;
545
+ for (let [n, r] of T.entries()) e(n), t &&= r.processed;
546
+ return t;
547
+ }, "compileTasks"), ee = {
548
+ clear: D,
549
+ getCommonDb: E,
550
+ getDirection: k,
551
+ setDirection: O,
552
+ addSection: A,
553
+ getSections: j,
554
+ getTasks: M,
555
+ addTask: N,
556
+ addTaskOrg: F,
557
+ addEvent: P
558
+ }, L = 0, R = /* @__PURE__ */ n(function(e, t) {
559
+ let n = e.append("rect");
560
+ return n.attr("x", t.x), n.attr("y", t.y), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("width", t.width), n.attr("height", t.height), n.attr("rx", t.rx), n.attr("ry", t.ry), t.class !== void 0 && n.attr("class", t.class), n;
561
+ }, "drawRect"), te = /* @__PURE__ */ n(function(e, t) {
562
+ let r = e.append("circle").attr("cx", t.cx).attr("cy", t.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), i = e.append("g");
563
+ i.append("circle").attr("cx", t.cx - 5).attr("cy", t.cy - 5).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), i.append("circle").attr("cx", t.cx + 5).attr("cy", t.cy - 5).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
564
+ function a(e) {
565
+ let n = f().startAngle(Math.PI / 2).endAngle(Math.PI / 2 * 3).innerRadius(15 / 2).outerRadius(15 / 2.2);
566
+ e.append("path").attr("class", "mouth").attr("d", n).attr("transform", "translate(" + t.cx + "," + (t.cy + 2) + ")");
567
+ }
568
+ n(a, "smile");
569
+ function o(e) {
570
+ let n = f().startAngle(3 * Math.PI / 2).endAngle(Math.PI / 2 * 5).innerRadius(15 / 2).outerRadius(15 / 2.2);
571
+ e.append("path").attr("class", "mouth").attr("d", n).attr("transform", "translate(" + t.cx + "," + (t.cy + 7) + ")");
572
+ }
573
+ n(o, "sad");
574
+ function s(e) {
575
+ e.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", t.cx - 5).attr("y1", t.cy + 7).attr("x2", t.cx + 5).attr("y2", t.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
576
+ }
577
+ return n(s, "ambivalent"), t.score > 3 ? a(i) : t.score < 3 ? o(i) : s(i), r;
578
+ }, "drawFace"), ne = /* @__PURE__ */ n(function(e, t) {
579
+ let n = e.append("circle");
580
+ return n.attr("cx", t.cx), n.attr("cy", t.cy), n.attr("class", "actor-" + t.pos), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("r", t.r), n.class !== void 0 && n.attr("class", n.class), t.title !== void 0 && n.append("title").text(t.title), n;
581
+ }, "drawCircle"), z = /* @__PURE__ */ n(function(e, t) {
582
+ let n = t.text.replace(/<br\s*\/?>/gi, " "), r = e.append("text");
583
+ r.attr("x", t.x), r.attr("y", t.y), r.attr("class", "legend"), r.style("text-anchor", t.anchor), t.class !== void 0 && r.attr("class", t.class);
584
+ let i = r.append("tspan");
585
+ return i.attr("x", t.x + t.textMargin * 2), i.text(n), r;
586
+ }, "drawText"), re = /* @__PURE__ */ n(function(e, t) {
587
+ function r(e, t, n, r, i) {
588
+ return e + "," + t + " " + (e + n) + "," + t + " " + (e + n) + "," + (t + r - i) + " " + (e + n - i * 1.2) + "," + (t + r) + " " + e + "," + (t + r);
589
+ }
590
+ n(r, "genPoints");
591
+ let i = e.append("polygon");
592
+ i.attr("points", r(t.x, t.y, 50, 20, 7)), i.attr("class", "labelBox"), t.y += t.labelMargin, t.x += .5 * t.labelMargin, z(e, t);
593
+ }, "drawLabel"), ie = /* @__PURE__ */ n(function(e, t, n) {
594
+ let r = e.append("g"), i = V();
595
+ i.x = t.x, i.y = t.y, i.fill = t.fill, i.width = n.width, i.height = n.height, i.class = "journey-section section-type-" + t.num, i.rx = 3, i.ry = 3, R(r, i), H(n)(t.text, r, i.x, i.y, i.width, i.height, { class: "journey-section section-type-" + t.num }, n, t.colour);
596
+ }, "drawSection"), B = -1, ae = /* @__PURE__ */ n(function(e, t, n, r) {
597
+ let i = t.x + n.width / 2, a = e.append("g");
598
+ B++, a.append("line").attr("id", r + "-task" + B).attr("x1", i).attr("y1", t.y).attr("x2", i).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), te(a, {
599
+ cx: i,
600
+ cy: 300 + (5 - t.score) * 30,
601
+ score: t.score
602
+ });
603
+ let o = V();
604
+ o.x = t.x, o.y = t.y, o.fill = t.fill, o.width = n.width, o.height = n.height, o.class = "task task-type-" + t.num, o.rx = 3, o.ry = 3, R(a, o), H(n)(t.task, a, o.x, o.y, o.width, o.height, { class: "task" }, n, t.colour);
605
+ }, "drawTask"), oe = /* @__PURE__ */ n(function(e, t) {
606
+ R(e, {
607
+ x: t.startx,
608
+ y: t.starty,
609
+ width: t.stopx - t.startx,
610
+ height: t.stopy - t.starty,
611
+ fill: t.fill,
612
+ class: "rect"
613
+ }).lower();
614
+ }, "drawBackgroundRect"), se = /* @__PURE__ */ n(function() {
615
+ return {
616
+ x: 0,
617
+ y: 0,
618
+ fill: void 0,
619
+ "text-anchor": "start",
620
+ width: 100,
621
+ height: 100,
622
+ textMargin: 0,
623
+ rx: 0,
624
+ ry: 0
625
+ };
626
+ }, "getTextObj"), V = /* @__PURE__ */ n(function() {
627
+ return {
628
+ x: 0,
629
+ y: 0,
630
+ width: 100,
631
+ anchor: "start",
632
+ height: 100,
633
+ rx: 0,
634
+ ry: 0
635
+ };
636
+ }, "getNoteRect"), H = /* @__PURE__ */ (function() {
637
+ function e(e, t, n, r, a, o, s, c) {
638
+ i(t.append("text").attr("x", n + a / 2).attr("y", r + o / 2 + 5).style("font-color", c).style("text-anchor", "middle").text(e), s);
639
+ }
640
+ n(e, "byText");
641
+ function t(e, t, n, r, a, o, s, c, l) {
642
+ let { taskFontSize: u, taskFontFamily: d } = c, f = e.split(/<br\s*\/?>/gi);
643
+ for (let e = 0; e < f.length; e++) {
644
+ let c = e * u - u * (f.length - 1) / 2, p = t.append("text").attr("x", n + a / 2).attr("y", r).attr("fill", l).style("text-anchor", "middle").style("font-size", u).style("font-family", d);
645
+ p.append("tspan").attr("x", n + a / 2).attr("dy", c).text(f[e]), p.attr("y", r + o / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), i(p, s);
646
+ }
647
+ }
648
+ n(t, "byTspan");
649
+ function r(e, n, r, a, o, s, c, l) {
650
+ let u = n.append("switch"), d = u.append("foreignObject").attr("x", r).attr("y", a).attr("width", o).attr("height", s).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
651
+ d.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(e), t(e, u, r, a, o, s, c, l), i(d, c);
652
+ }
653
+ n(r, "byFo");
654
+ function i(e, t) {
655
+ for (let n in t) n in t && e.attr(n, t[n]);
656
+ }
657
+ return n(i, "_setTextAttrs"), function(n) {
658
+ return n.textPlacement === "fo" ? r : n.textPlacement === "old" ? e : t;
659
+ };
660
+ })(), ce = /* @__PURE__ */ n(function(e, t) {
661
+ L = 0, B = -1, e.append("defs").append("marker").attr("id", t + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
662
+ }, "initGraphics");
663
+ function U(e, n) {
664
+ e.each(function() {
665
+ var e = t(this), r = e.text().split(/(\s+|<br>)/).reverse(), i, a = [], o = 1.1, s = e.attr("y"), c = parseFloat(e.attr("dy")), l = e.text(null).append("tspan").attr("x", 0).attr("y", s).attr("dy", c + "em");
666
+ for (let t = 0; t < r.length; t++) i = r[r.length - 1 - t], a.push(i), l.text(a.join(" ").trim()), (l.node().getComputedTextLength() > n || i === "<br>") && (a.pop(), l.text(a.join(" ").trim()), a = i === "<br>" ? [""] : [i], l = e.append("tspan").attr("x", 0).attr("y", s).attr("dy", o + "em").text(i));
667
+ });
668
+ }
669
+ n(U, "wrap");
670
+ var le = /* @__PURE__ */ n(function(e, n, r, i, a, o = !1) {
671
+ let { theme: s, look: c } = i, l = s?.includes("redux"), u = r % (i?.themeVariables?.THEME_COLOR_LIMIT ?? 12) - 1, d = e.append("g");
672
+ n.section = u, d.attr("class", (n.class ? n.class + " " : "") + "timeline-node " + ("section-" + u));
673
+ let f = d.append("g"), p = d.append("g"), m = p.append("text").text(n.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(U, n.width).node().getBBox(), h = i.fontSize?.replace ? i.fontSize.replace("px", "") : i.fontSize;
674
+ if (n.height = m.height + h * 1.1 * .5 + n.padding, n.height = Math.max(n.height, n.maxHeight), n.width += 2 * n.padding, p.attr("transform", "translate(" + n.width / 2 + ", " + n.padding / 2 + ")"), l && p.attr("transform", `translate(${n.width / 2}, ${o ? n.padding / 2 + 3 : n.padding})`), de(f, n, u, a, i), c === "neo" && (d.attr("data-look", "neo"), l)) {
675
+ let n = s.includes("dark"), r = e.node()?.ownerSVGElement ?? e.node(), i = t(r), a = i.attr("id") ?? "", o = a ? `${a}-drop-shadow` : "drop-shadow";
676
+ if (i.select(`#${o}`).empty()) {
677
+ let e = i.select("defs");
678
+ (e.empty() ? i.append("defs") : e).append("filter").attr("id", o).attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", n ? "0.2" : "0.06").attr("flood-color", n ? "#FFFFFF" : "#000000");
679
+ }
680
+ }
681
+ return n;
682
+ }, "drawNode"), ue = /* @__PURE__ */ n(function(e, t, n) {
683
+ let r = e.append("g"), i = r.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(U, t.width).node().getBBox(), a = n.fontSize?.replace ? n.fontSize.replace("px", "") : n.fontSize;
684
+ return r.remove(), i.height + a * 1.1 * .5 + t.padding;
685
+ }, "getVirtualNodeHeight"), de = /* @__PURE__ */ n(function(e, t, n, r, i) {
686
+ let { theme: a } = i, o = a?.includes("redux") ? 0 : 5, s = o > 0 ? `M0 ${t.height - 5} v${-t.height + 10} q0,-${o},${o},-${o} h${t.width - 10} q${o},0,${o},${o} v${t.height - 5} H0 Z` : `M0 ${t.height - 5} v${-(t.height - 5)} h${t.width} v${t.height} H0 Z`;
687
+ e.append("path").attr("id", r + "-node-" + L++).attr("class", "node-bkg node-" + t.type).attr("d", s), a?.includes("redux") || e.append("line").attr("class", "node-line-" + n).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
688
+ }, "defaultBkg"), W = {
689
+ drawRect: R,
690
+ drawCircle: ne,
691
+ drawSection: ie,
692
+ drawText: z,
693
+ drawLabel: re,
694
+ drawTask: ae,
695
+ drawBackgroundRect: oe,
696
+ getTextObj: se,
697
+ getNoteRect: V,
698
+ initGraphics: ce,
699
+ drawNode: le,
700
+ getVirtualNodeHeight: ue
701
+ }, fe = /* @__PURE__ */ n(function(n, r, a, s) {
702
+ let c = o(), { look: l, theme: u, themeVariables: d } = c, { useGradient: f, gradientStart: p, gradientStop: m } = d, h = c.timeline?.leftMargin ?? 50;
703
+ e.debug("timeline", s.db);
704
+ let g = c.securityLevel, _;
705
+ g === "sandbox" && (_ = t("#i" + r));
706
+ let v = t(g === "sandbox" ? _.nodes()[0].contentDocument.body : "body").select("#" + r);
707
+ v.append("g");
708
+ let y = s.db.getTasks(), b = s.db.getCommonDb().getDiagramTitle();
709
+ e.debug("task", y), W.initGraphics(v, r);
710
+ let x = s.db.getSections();
711
+ e.debug("sections", x);
712
+ let S = 0, C = 0, w = 0, T = 0, E = 50 + h, D = 50;
713
+ T = 50;
714
+ let O = 0, k = !0;
715
+ x.forEach(function(t) {
716
+ let n = {
717
+ number: O,
718
+ descr: t,
719
+ section: O,
720
+ width: 150,
721
+ padding: 20,
722
+ maxHeight: S
723
+ }, r = W.getVirtualNodeHeight(v, n, c);
724
+ e.debug("sectionHeight before draw", r), S = Math.max(S, r + 20);
725
+ });
726
+ let A = 0, j = 0;
727
+ e.debug("tasks.length", y.length);
728
+ for (let [t, n] of y.entries()) {
729
+ let r = {
730
+ number: t,
731
+ descr: n,
732
+ section: n.section,
733
+ width: 150,
734
+ padding: 20,
735
+ maxHeight: C
736
+ }, i = W.getVirtualNodeHeight(v, r, c);
737
+ e.debug("taskHeight before draw", i), C = Math.max(C, i + 20), A = Math.max(A, n.events.length);
738
+ let a = 0;
739
+ for (let e of n.events) {
740
+ let t = {
741
+ descr: e,
742
+ section: n.section,
743
+ number: n.section,
744
+ width: 150,
745
+ padding: 20,
746
+ maxHeight: 50
747
+ };
748
+ a += W.getVirtualNodeHeight(v, t, c);
749
+ }
750
+ n.events.length > 0 && (a += (n.events.length - 1) * 10), j = Math.max(j, a);
751
+ }
752
+ e.debug("maxSectionHeight before draw", S), e.debug("maxTaskHeight before draw", C), x && x.length > 0 ? x.forEach((t) => {
753
+ let n = y.filter((e) => e.section === t), i = {
754
+ number: O,
755
+ descr: t,
756
+ section: O,
757
+ width: 200 * Math.max(n.length, 1) - 50,
758
+ padding: 20,
759
+ maxHeight: S
760
+ };
761
+ e.debug("sectionNode", i);
762
+ let a = v.append("g"), o = W.drawNode(a, i, O, c, r);
763
+ e.debug("sectionNode output", o), a.attr("transform", `translate(${E}, ${T})`), D += S + 50, n.length > 0 && G(v, n, O, E, D, C, c, A, j, S, !1, r), E += 200 * Math.max(n.length, 1), D = T, O++;
764
+ }) : (k = !1, G(v, y, O, E, D, C, c, A, j, S, !0, r));
765
+ let M = v.node().getBBox();
766
+ if (e.debug("bounds", M), b && v.append("text").text(b).attr("x", l === "neo" ? M.x * 2 + h : M.width / 2 - h).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), w = k ? S + C + 150 : C + 100, v.append("g").attr("class", "lineWrapper").append("line").attr("x1", h).attr("y1", w).attr("x2", M.width + 3 * h).attr("y2", w).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", `url(#${r}-arrowhead)`), l === "neo" && f && u !== "neutral") {
767
+ let e = v.select("defs"), t = (e.empty() ? v.append("defs") : e).append("linearGradient").attr("id", v.attr("id") + "-gradient").attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
768
+ t.append("stop").attr("offset", "0%").attr("stop-color", p).attr("stop-opacity", 1), t.append("stop").attr("offset", "100%").attr("stop-color", m).attr("stop-opacity", 1);
769
+ }
770
+ i(void 0, v, c.timeline?.padding ?? 50, c.timeline?.useMaxWidth ?? !1);
771
+ }, "draw"), G = /* @__PURE__ */ n(function(t, n, r, i, a, o, s, c, l, u, d, f) {
772
+ for (let c of n) {
773
+ let n = {
774
+ descr: c.task,
775
+ section: r,
776
+ number: r,
777
+ width: 150,
778
+ padding: 20,
779
+ maxHeight: o
780
+ };
781
+ e.debug("taskNode", n);
782
+ let u = t.append("g").attr("class", "taskWrapper"), p = W.drawNode(u, n, r, s, f).height;
783
+ if (e.debug("taskHeight after draw", p), u.attr("transform", `translate(${i}, ${a})`), o = Math.max(o, p), c.events) {
784
+ let e = t.append("g").attr("class", "lineWrapper"), n = o;
785
+ a += 100, n += pe(t, c.events, r, i, a, s, f), a -= 100, e.append("line").attr("x1", i + 95).attr("y1", a + o).attr("x2", i + 95).attr("y2", a + o + 100 + l + 100).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", `url(#${f}-arrowhead)`).attr("stroke-dasharray", "5,5");
786
+ }
787
+ i += 200, d && !s.timeline?.disableMulticolor && r++;
788
+ }
789
+ a -= 10;
790
+ }, "drawTasks"), pe = /* @__PURE__ */ n(function(t, n, r, i, a, o, s) {
791
+ let c = 0, l = a;
792
+ a += 100;
793
+ for (let l of n) {
794
+ let n = {
795
+ descr: l,
796
+ section: r,
797
+ number: r,
798
+ width: 150,
799
+ padding: 20,
800
+ maxHeight: 50
801
+ };
802
+ e.debug("eventNode", n);
803
+ let u = t.append("g").attr("class", "eventWrapper"), d = W.drawNode(u, n, r, o, s, !0).height;
804
+ c += d, u.attr("transform", `translate(${i}, ${a})`), a = a + 10 + d;
805
+ }
806
+ return a = l, c;
807
+ }, "drawEvents"), me = {
808
+ setConf: /* @__PURE__ */ n(() => {}, "setConf"),
809
+ draw: fe
810
+ }, K = 200, q = 5, he = K + q * 2, J = K + 100, ge = J + q * 2, Y = 10, _e = 0, X = 20, Z = 20, Q = 30, $ = 50, ve = /* @__PURE__ */ n(function(t, n, r, a) {
811
+ let s = o(), c = s.timeline?.leftMargin ?? 50;
812
+ e.debug("timeline", a.db);
813
+ let l = m(n);
814
+ l.append("g");
815
+ let u = a.db.getTasks(), d = a.db.getCommonDb().getDiagramTitle();
816
+ e.debug("task", u), W.initGraphics(l);
817
+ let f = a.db.getSections();
818
+ e.debug("sections", f);
819
+ let h = 0, g = 0, _ = 50 + c, v = 50, y = v, b = _, x = he + Z, S = ge + $, C = b + x, w = 0, T = f && f.length > 0, E = T ? C : _ + x, D = Math.max(50, x + S - q * 2);
820
+ f.forEach(function(t) {
821
+ let n = {
822
+ number: w,
823
+ descr: t,
824
+ section: w,
825
+ width: D,
826
+ padding: q,
827
+ maxHeight: h
828
+ }, r = W.getVirtualNodeHeight(l, n, s);
829
+ e.debug("sectionHeight before draw", r), h = Math.max(h, r);
830
+ });
831
+ let O = 0;
832
+ e.debug("tasks.length", u.length);
833
+ for (let [t, n] of u.entries()) {
834
+ let r = {
835
+ number: t,
836
+ descr: n,
837
+ section: n.section,
838
+ width: K,
839
+ padding: q,
840
+ maxHeight: g
841
+ }, i = W.getVirtualNodeHeight(l, r, s);
842
+ e.debug("taskHeight before draw", i), g = Math.max(g, i);
843
+ let a = 0;
844
+ for (let e of n.events) {
845
+ let t = {
846
+ descr: e,
847
+ section: n.section,
848
+ number: n.section,
849
+ width: J,
850
+ padding: q,
851
+ maxHeight: 50
852
+ };
853
+ a += W.getVirtualNodeHeight(l, t, s);
854
+ }
855
+ n.events.length > 0 && (a += (n.events.length - 1) * Y), O = Math.max(O, a) + _e;
856
+ }
857
+ e.debug("maxSectionHeight before draw", h), e.debug("maxTaskHeight before draw", g);
858
+ let k = Math.max(g, O) + Q;
859
+ T ? f.forEach((t) => {
860
+ let n = u.filter((e) => e.section === t), r = {
861
+ number: w,
862
+ descr: t,
863
+ section: w,
864
+ width: D,
865
+ padding: q,
866
+ maxHeight: h
867
+ };
868
+ e.debug("sectionNode", r);
869
+ let i = l.append("g"), a = W.drawNode(i, r, w, s);
870
+ e.debug("sectionNode output", a);
871
+ let o = E - x;
872
+ i.attr("transform", `translate(${o}, ${v})`);
873
+ let c = v + a.height + X;
874
+ n.length > 0 && ye(l, n, w, E, c, g, s, k, !1);
875
+ let d = n.length, f = a.height + X + k * Math.max(d, 1) - (d > 0 ? Q * 2 : 0);
876
+ v += f, w++;
877
+ }) : ye(l, u, w, E, v, g, s, k, !0);
878
+ let A = l.node()?.getBBox();
879
+ if (!A) throw Error("bbox not found");
880
+ if (e.debug("bounds", A), d) {
881
+ if (l.append("text").text(d).attr("x", A.width / 2 - c).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), A = l.node()?.getBBox(), !A) throw Error("bbox not found");
882
+ e.debug("bounds after title", A);
883
+ }
884
+ let [j] = p(s.fontSize), M = (j ?? 16) * 2, N = (j ?? 16) * .5 + 20, P = l.append("g").attr("class", "lineWrapper");
885
+ P.append("line").attr("x1", E).attr("y1", y - M).attr("x2", E).attr("y2", A.y + A.height + N).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), P.lower(), i(void 0, l, s.timeline?.padding ?? 50, s.timeline?.useMaxWidth ?? !1);
886
+ }, "draw"), ye = /* @__PURE__ */ n(function(t, n, r, i, a, o, s, c, l) {
887
+ for (let u of n) {
888
+ let n = {
889
+ descr: u.task,
890
+ section: r,
891
+ number: r,
892
+ width: K,
893
+ padding: q,
894
+ maxHeight: o
895
+ };
896
+ e.debug("taskNode", n);
897
+ let d = t.append("g").attr("class", "taskWrapper"), f = W.drawNode(d, n, r, s), p = f.height;
898
+ e.debug("taskHeight after draw", p);
899
+ let m = i - Z - f.width;
900
+ if (d.attr("transform", `translate(${m}, ${a})`), o = Math.max(o, p), u.events && u.events.length > 0) {
901
+ let e = a, n = i + $;
902
+ be(t, u.events, r, i, n, e, s);
903
+ }
904
+ a += c, l && !s.timeline?.disableMulticolor && r++;
905
+ }
906
+ }, "drawTasks"), be = /* @__PURE__ */ n(function(t, n, r, i, a, o, s) {
907
+ let c = o;
908
+ for (let o of n) {
909
+ let n = {
910
+ descr: o,
911
+ section: r,
912
+ number: r,
913
+ width: J,
914
+ padding: q,
915
+ maxHeight: 0
916
+ };
917
+ e.debug("eventNode", n);
918
+ let l = t.append("g").attr("class", "eventWrapper"), u = W.drawNode(l, n, r, s).height;
919
+ l.attr("transform", `translate(${a}, ${c})`);
920
+ let d = t.append("g").attr("class", "lineWrapper"), f = c + u / 2;
921
+ d.append("line").attr("x1", i).attr("y1", f).attr("x2", a).attr("y2", f).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5"), c = c + u + Y;
922
+ }
923
+ return c - o;
924
+ }, "drawEvents"), xe = {
925
+ setConf: /* @__PURE__ */ n(() => {}, "setConf"),
926
+ draw: ve
927
+ }, Se = /* @__PURE__ */ n((e) => {
928
+ let { theme: t } = d(), n = t?.includes("dark"), r = h(t, e.borderColorArray), i = e.svgId?.replace(/^#/, "") ?? "", a = i ? `url(#${i}-drop-shadow)` : e.dropShadow ?? "none", o = "";
929
+ for (let t = 0; t < g(e.THEME_COLOR_LIMIT); t++) {
930
+ let i = `${17 - 3 * t}`, s = r ? e.borderColorArray[t % e.borderColorArray.length] : void 0, c = s ?? e.mainBkg, l = s ?? e.nodeBorder;
931
+ o += `
932
+ .section-${t - 1} rect,
933
+ .section-${t - 1} path,
934
+ .section-${t - 1} circle {
935
+ fill: ${n && r ? e.mainBkg : c};
936
+ stroke: ${l};
937
+ stroke-width: ${e.strokeWidth};
938
+ filter: ${a};
939
+ }
940
+
941
+ .section-${t - 1} text {
942
+ fill: ${e.nodeBorder};
943
+ font-weight: ${e.fontWeight}
944
+ }
945
+
946
+ .node-icon-${t - 1} {
947
+ font-size: 40px;
948
+ color: ${e["cScaleLabel" + t]};
949
+ }
950
+
951
+ .section-edge-${t - 1} {
952
+ stroke: ${e["cScale" + t]};
953
+ }
954
+
955
+ .edge-depth-${t - 1} {
956
+ stroke-width: ${i};
957
+ }
958
+
959
+ .section-${t - 1} line {
960
+ stroke: ${e["cScaleInv" + t]};
961
+ stroke-width: 3;
962
+ }
963
+
964
+ .lineWrapper line {
965
+ stroke: ${e.nodeBorder};
966
+ stroke-width:${e.strokeWidth}
967
+ }
968
+
969
+ .disabled,
970
+ .disabled circle,
971
+ .disabled text {
972
+ fill: ${e.tertiaryColor ?? "lightgray"};
973
+ }
974
+
975
+ .disabled text {
976
+ fill: ${e.clusterBorder ?? "#efefef"};
977
+ }
978
+ `;
979
+ }
980
+ return o;
981
+ }, "genReduxSections"), Ce = /* @__PURE__ */ n((e) => {
982
+ let t = "", n = g(e.THEME_COLOR_LIMIT);
983
+ for (let t = 0; t < n; t++) e["lineColor" + t] = e["lineColor" + t] ?? e["cScaleInv" + t], s(e["lineColor" + t]) ? e["lineColor" + t] = c(e["lineColor" + t], 20) : e["lineColor" + t] = u(e["lineColor" + t], 20);
984
+ for (let r = 0; r < n; r++) {
985
+ let n = "" + (17 - 3 * r);
986
+ t += `
987
+ .section-${r - 1} rect, .section-${r - 1} path, .section-${r - 1} circle, .section-${r - 1} path {
988
+ fill: ${e["cScale" + r]};
989
+ }
990
+ .section-${r - 1} text {
991
+ fill: ${e["cScaleLabel" + r]};
992
+ }
993
+ .node-icon-${r - 1} {
994
+ font-size: 40px;
995
+ color: ${e["cScaleLabel" + r]};
996
+ }
997
+ .section-edge-${r - 1}{
998
+ stroke: ${e["cScale" + r]};
999
+ }
1000
+ .edge-depth-${r - 1}{
1001
+ stroke-width: ${n};
1002
+ }
1003
+ .section-${r - 1} line {
1004
+ stroke: ${e["cScaleInv" + r]} ;
1005
+ stroke-width: 3;
1006
+ }
1007
+
1008
+ .lineWrapper line{
1009
+ stroke: ${e["cScaleLabel" + r]} ;
1010
+ }
1011
+
1012
+ .disabled, .disabled circle, .disabled text {
1013
+ fill: ${e.tertiaryColor ?? "lightgray"};
1014
+ }
1015
+ .disabled text {
1016
+ fill: ${e.clusterBorder ?? "#efefef"};
1017
+ }
1018
+ `;
1019
+ }
1020
+ return t;
1021
+ }, "genSections"), we = {
1022
+ db: y,
1023
+ renderer: {
1024
+ setConf: /* @__PURE__ */ n(() => {}, "setConf"),
1025
+ draw: /* @__PURE__ */ n((e, t, n, r) => (r?.db?.getDirection?.() ?? "LR") === "TD" ? xe.draw(e, t, n, r) : me.draw(e, t, n, r), "draw")
1026
+ },
1027
+ parser: v,
1028
+ styles: /* @__PURE__ */ n((e) => {
1029
+ let { theme: t } = d(), n = t?.includes("redux"), r = t === "neutral", i = e.svgId?.replace(/^#/, "") ?? "", a = "";
1030
+ if (e.useGradient && i && e.THEME_COLOR_LIMIT && !r) {
1031
+ let t = g(e.THEME_COLOR_LIMIT);
1032
+ for (let n = 0; n < t; n++) a += `
1033
+ .section-${n - 1}[data-look="neo"] rect,
1034
+ .section-${n - 1}[data-look="neo"] path,
1035
+ .section-${n - 1}[data-look="neo"] circle {
1036
+ fill: ${e.mainBkg};
1037
+ stroke: url(#${i}-gradient);
1038
+ stroke-width: 2;
1039
+ }
1040
+ .section-${n - 1}[data-look="neo"] line {
1041
+ stroke: url(#${i}-gradient);
1042
+ stroke-width: 2;
1043
+ }`;
1044
+ }
1045
+ return `
1046
+ .edge {
1047
+ stroke-width: 3;
1048
+ }
1049
+ ${n ? Se(e) : Ce(e)}
1050
+ ${a}
1051
+ .section-root rect, .section-root path, .section-root circle {
1052
+ fill: ${e.git0};
1053
+ }
1054
+ .section-root text {
1055
+ fill: ${e.gitBranchLabel0};
1056
+ }
1057
+ .icon-container {
1058
+ height:100%;
1059
+ display: flex;
1060
+ justify-content: center;
1061
+ align-items: center;
1062
+ }
1063
+ .edge {
1064
+ fill: none;
1065
+ }
1066
+ .eventWrapper {
1067
+ filter: brightness(120%);
1068
+ }
1069
+ `;
1070
+ }, "getStyles")
1071
+ };
1072
+ //#endregion
1073
+ export { we as diagram };