@bkm016/basalt 0.1.16 → 0.1.17

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 (534) hide show
  1. package/{chunk-9ymm1gge.js → chunk-9jtvj8md.js} +202 -202
  2. package/compiled.js +1 -1
  3. package/package.json +1 -1
  4. package/web/{chunk-75meb0dh.js → chunk-013et20n.js} +2 -2
  5. package/web/chunk-013et20n.js.br +0 -0
  6. package/web/chunk-013et20n.js.gz +0 -0
  7. package/web/chunk-0ernj3c0.js +1 -0
  8. package/web/chunk-0ernj3c0.js.br +0 -0
  9. package/web/chunk-0ernj3c0.js.gz +0 -0
  10. package/web/chunk-0j65yg1p.js +1 -0
  11. package/web/chunk-0j65yg1p.js.br +0 -0
  12. package/web/chunk-0j65yg1p.js.gz +0 -0
  13. package/web/chunk-0khcpaa8.js +1 -0
  14. package/web/chunk-0khcpaa8.js.br +0 -0
  15. package/web/chunk-0khcpaa8.js.gz +0 -0
  16. package/web/chunk-0wbdd74r.js +1 -0
  17. package/web/chunk-0wbdd74r.js.br +2 -0
  18. package/web/chunk-0wbdd74r.js.gz +0 -0
  19. package/web/chunk-1f2wvhq9.js +1 -0
  20. package/web/chunk-1f2wvhq9.js.br +0 -0
  21. package/web/chunk-1f2wvhq9.js.gz +0 -0
  22. package/web/{chunk-75kzvpf3.js → chunk-1q2kmv35.js} +18 -18
  23. package/web/chunk-1q2kmv35.js.br +0 -0
  24. package/web/chunk-1q2kmv35.js.gz +0 -0
  25. package/web/{chunk-36e78034.js → chunk-1tfrm3pk.js} +2 -2
  26. package/web/chunk-1tfrm3pk.js.br +0 -0
  27. package/web/chunk-1tfrm3pk.js.gz +0 -0
  28. package/web/chunk-2qt5fy5n.js +1 -0
  29. package/web/chunk-2qt5fy5n.js.br +0 -0
  30. package/web/chunk-2qt5fy5n.js.gz +0 -0
  31. package/web/chunk-2sxtb709.js +1 -0
  32. package/web/chunk-2sxtb709.js.br +0 -0
  33. package/web/chunk-2sxtb709.js.gz +0 -0
  34. package/web/chunk-2wrwm0qe.js +1 -0
  35. package/web/chunk-2wrwm0qe.js.br +0 -0
  36. package/web/chunk-2wrwm0qe.js.gz +0 -0
  37. package/web/{chunk-5sss3r97.js → chunk-2wwj27b9.js} +3 -3
  38. package/web/chunk-2wwj27b9.js.br +0 -0
  39. package/web/chunk-2wwj27b9.js.gz +0 -0
  40. package/web/chunk-33mmrjdp.js +1 -0
  41. package/web/chunk-33mmrjdp.js.br +2 -0
  42. package/web/chunk-33mmrjdp.js.gz +0 -0
  43. package/web/chunk-33tb7q04.js +2 -0
  44. package/web/chunk-33tb7q04.js.br +0 -0
  45. package/web/chunk-33tb7q04.js.gz +0 -0
  46. package/web/chunk-3txb4sha.js +1 -0
  47. package/web/chunk-3txb4sha.js.br +0 -0
  48. package/web/chunk-3txb4sha.js.gz +0 -0
  49. package/web/{chunk-n3f5a91k.js → chunk-3xgfsx7y.js} +2 -2
  50. package/web/chunk-3xgfsx7y.js.br +0 -0
  51. package/web/chunk-3xgfsx7y.js.gz +0 -0
  52. package/web/chunk-40jka4r7.js +2 -0
  53. package/web/chunk-40jka4r7.js.br +0 -0
  54. package/web/chunk-40jka4r7.js.gz +0 -0
  55. package/web/{chunk-mcm3t5wr.js → chunk-41vh5n86.js} +1 -1
  56. package/web/chunk-41vh5n86.js.br +0 -0
  57. package/web/chunk-41vh5n86.js.gz +0 -0
  58. package/web/chunk-4wd9r73y.js.br +0 -0
  59. package/web/chunk-4wd9r73y.js.gz +0 -0
  60. package/web/chunk-5kz048x3.js +2 -0
  61. package/web/chunk-5kz048x3.js.br +0 -0
  62. package/web/chunk-5kz048x3.js.gz +0 -0
  63. package/web/chunk-5mbz8yj9.js +3 -0
  64. package/web/chunk-5mbz8yj9.js.br +0 -0
  65. package/web/chunk-5mbz8yj9.js.gz +0 -0
  66. package/web/chunk-6024wfxb.js +30 -0
  67. package/web/chunk-6024wfxb.js.br +0 -0
  68. package/web/chunk-6024wfxb.js.gz +0 -0
  69. package/web/chunk-6ey4c6gw.js +2 -0
  70. package/web/chunk-6ey4c6gw.js.br +0 -0
  71. package/web/chunk-6ey4c6gw.js.gz +0 -0
  72. package/web/chunk-6q3p851n.js +1 -0
  73. package/web/chunk-6q3p851n.js.br +2 -0
  74. package/web/chunk-6q3p851n.js.gz +0 -0
  75. package/web/{chunk-qbhv18t0.js → chunk-74g3wh08.js} +2 -2
  76. package/web/chunk-74g3wh08.js.br +0 -0
  77. package/web/chunk-74g3wh08.js.gz +0 -0
  78. package/web/{chunk-vcnsvj49.js → chunk-78akzkgs.js} +14 -14
  79. package/web/chunk-78akzkgs.js.br +0 -0
  80. package/web/chunk-78akzkgs.js.gz +0 -0
  81. package/web/chunk-7ck99bsp.js +62 -0
  82. package/web/chunk-7ck99bsp.js.br +0 -0
  83. package/web/chunk-7ck99bsp.js.gz +0 -0
  84. package/web/chunk-7fjbyns9.js +1 -0
  85. package/web/chunk-7fjbyns9.js.br +0 -0
  86. package/web/chunk-7fjbyns9.js.gz +0 -0
  87. package/web/chunk-7n6b2xra.js +21 -0
  88. package/web/chunk-7n6b2xra.js.br +0 -0
  89. package/web/chunk-7n6b2xra.js.gz +0 -0
  90. package/web/chunk-7p4mcqkd.js +78 -0
  91. package/web/chunk-7p4mcqkd.js.br +0 -0
  92. package/web/chunk-7p4mcqkd.js.gz +0 -0
  93. package/web/chunk-7ztwkhg5.js +1 -0
  94. package/web/chunk-7ztwkhg5.js.br +0 -0
  95. package/web/chunk-7ztwkhg5.js.gz +0 -0
  96. package/web/{chunk-t89tfrpj.js → chunk-823etvc3.js} +19 -19
  97. package/web/chunk-823etvc3.js.br +0 -0
  98. package/web/chunk-823etvc3.js.gz +0 -0
  99. package/web/{chunk-ps489yjy.js → chunk-8ec53vjd.js} +1 -1
  100. package/web/chunk-8ec53vjd.js.br +0 -0
  101. package/web/chunk-8ec53vjd.js.gz +0 -0
  102. package/web/chunk-8g239029.js.br +0 -0
  103. package/web/chunk-8g239029.js.gz +0 -0
  104. package/web/{chunk-p0jghn6b.js → chunk-8g55ytgz.js} +1 -1
  105. package/web/chunk-8g55ytgz.js.br +0 -0
  106. package/web/chunk-8g55ytgz.js.gz +0 -0
  107. package/web/chunk-8nxjthxc.js +1 -0
  108. package/web/chunk-8nxjthxc.js.br +0 -0
  109. package/web/chunk-8nxjthxc.js.gz +0 -0
  110. package/web/chunk-8q76yd76.js +291 -0
  111. package/web/chunk-8q76yd76.js.br +0 -0
  112. package/web/chunk-8q76yd76.js.gz +0 -0
  113. package/web/chunk-9kbrjmtz.js +1 -0
  114. package/web/chunk-9kbrjmtz.js.br +0 -0
  115. package/web/chunk-9kbrjmtz.js.gz +0 -0
  116. package/web/chunk-9s4bh6qm.js +40 -0
  117. package/web/chunk-9s4bh6qm.js.br +0 -0
  118. package/web/chunk-9s4bh6qm.js.gz +0 -0
  119. package/web/chunk-9v1f6yc8.js.br +0 -0
  120. package/web/chunk-9v1f6yc8.js.gz +0 -0
  121. package/web/{chunk-a205cj09.js → chunk-9vf3zy3d.js} +2 -2
  122. package/web/chunk-9vf3zy3d.js.br +0 -0
  123. package/web/chunk-9vf3zy3d.js.gz +0 -0
  124. package/web/{chunk-ef03t1mb.js → chunk-a449xjq6.js} +6 -6
  125. package/web/chunk-a449xjq6.js.br +0 -0
  126. package/web/chunk-a449xjq6.js.gz +0 -0
  127. package/web/chunk-ad6x47yy.js.br +0 -0
  128. package/web/chunk-ad6x47yy.js.gz +0 -0
  129. package/web/chunk-b05eay33.js +1 -0
  130. package/web/chunk-b05eay33.js.br +0 -0
  131. package/web/chunk-b05eay33.js.gz +0 -0
  132. package/web/{chunk-tfsrk2rc.js → chunk-bdypt5mj.js} +55 -55
  133. package/web/chunk-bdypt5mj.js.br +0 -0
  134. package/web/chunk-bdypt5mj.js.gz +0 -0
  135. package/web/chunk-bvyjy17t.js +14 -0
  136. package/web/chunk-bvyjy17t.js.br +0 -0
  137. package/web/chunk-bvyjy17t.js.gz +0 -0
  138. package/web/{chunk-ctmxm4qd.js → chunk-ccy2q2z0.js} +2 -2
  139. package/web/chunk-ccy2q2z0.js.br +0 -0
  140. package/web/chunk-ccy2q2z0.js.gz +0 -0
  141. package/web/{chunk-wvt76598.js → chunk-ceg13tma.js} +2 -2
  142. package/web/chunk-ceg13tma.js.br +0 -0
  143. package/web/chunk-ceg13tma.js.gz +0 -0
  144. package/web/{chunk-z2hvvkf5.js → chunk-ch60a61d.js} +2 -2
  145. package/web/chunk-ch60a61d.js.br +0 -0
  146. package/web/chunk-ch60a61d.js.gz +0 -0
  147. package/web/chunk-czvdg0c5.js +1 -0
  148. package/web/chunk-czvdg0c5.js.br +0 -0
  149. package/web/chunk-czvdg0c5.js.gz +0 -0
  150. package/web/chunk-d18r4m14.js.br +0 -0
  151. package/web/chunk-d18r4m14.js.gz +0 -0
  152. package/web/chunk-dmqtdeb4.js.br +0 -0
  153. package/web/chunk-dmqtdeb4.js.gz +0 -0
  154. package/web/chunk-drr7mqg2.js +1 -0
  155. package/web/chunk-drr7mqg2.js.br +0 -0
  156. package/web/chunk-drr7mqg2.js.gz +0 -0
  157. package/web/{chunk-chh8bg2h.js → chunk-dsa5m3h6.js} +34 -34
  158. package/web/chunk-dsa5m3h6.js.br +0 -0
  159. package/web/chunk-dsa5m3h6.js.gz +0 -0
  160. package/web/chunk-dww3grm3.js +24 -0
  161. package/web/chunk-dww3grm3.js.br +0 -0
  162. package/web/chunk-dww3grm3.js.gz +0 -0
  163. package/web/chunk-e187gt5x.js +1 -0
  164. package/web/chunk-e187gt5x.js.br +0 -0
  165. package/web/chunk-e187gt5x.js.gz +0 -0
  166. package/web/{chunk-pf65cank.js → chunk-emxa4wv3.js} +2 -2
  167. package/web/chunk-emxa4wv3.js.br +0 -0
  168. package/web/chunk-emxa4wv3.js.gz +0 -0
  169. package/web/{chunk-gjchc4kg.js → chunk-ey0zwvbx.js} +1 -1
  170. package/web/chunk-ey0zwvbx.js.br +0 -0
  171. package/web/chunk-ey0zwvbx.js.gz +0 -0
  172. package/web/chunk-ey14knbn.js +2 -0
  173. package/web/chunk-ey14knbn.js.br +0 -0
  174. package/web/chunk-ey14knbn.js.gz +0 -0
  175. package/web/chunk-fba06jm8.js +1132 -0
  176. package/web/chunk-fba06jm8.js.br +0 -0
  177. package/web/chunk-fba06jm8.js.gz +0 -0
  178. package/web/chunk-fh56vgfx.js +39 -0
  179. package/web/chunk-fh56vgfx.js.br +0 -0
  180. package/web/chunk-fh56vgfx.js.gz +0 -0
  181. package/web/chunk-ft05x3my.js +169 -0
  182. package/web/chunk-ft05x3my.js.br +0 -0
  183. package/web/chunk-ft05x3my.js.gz +0 -0
  184. package/web/chunk-fzmrnh17.js +303 -0
  185. package/web/chunk-fzmrnh17.js.br +0 -0
  186. package/web/chunk-fzmrnh17.js.gz +0 -0
  187. package/web/{chunk-ybqt106a.js → chunk-gbt7asd7.js} +2 -2
  188. package/web/chunk-gbt7asd7.js.br +0 -0
  189. package/web/chunk-gbt7asd7.js.gz +0 -0
  190. package/web/chunk-gh9fkn3t.js +1 -0
  191. package/web/chunk-gh9fkn3t.js.br +2 -0
  192. package/web/chunk-gh9fkn3t.js.gz +0 -0
  193. package/web/{chunk-sd3cdqcm.js → chunk-h1syyjqq.js} +2 -2
  194. package/web/chunk-h1syyjqq.js.br +0 -0
  195. package/web/chunk-h1syyjqq.js.gz +0 -0
  196. package/web/{chunk-mv5axm2y.js → chunk-h7byk4z3.js} +12 -12
  197. package/web/chunk-h7byk4z3.js.br +0 -0
  198. package/web/chunk-h7byk4z3.js.gz +0 -0
  199. package/web/chunk-hby0hkv4.js +1 -0
  200. package/web/chunk-hby0hkv4.js.br +0 -0
  201. package/web/chunk-hby0hkv4.js.gz +0 -0
  202. package/web/chunk-hjvsp2yx.js +1 -0
  203. package/web/chunk-hjvsp2yx.js.br +0 -0
  204. package/web/chunk-hjvsp2yx.js.gz +0 -0
  205. package/web/chunk-hp167dbv.js.br +0 -0
  206. package/web/chunk-hp167dbv.js.gz +0 -0
  207. package/web/{chunk-qwwqdmhv.js → chunk-hpjzy5ww.js} +1 -1
  208. package/web/chunk-hpjzy5ww.js.br +0 -0
  209. package/web/chunk-hpjzy5ww.js.gz +0 -0
  210. package/web/{chunk-1np2aamb.js → chunk-hzfp8kqx.js} +11 -11
  211. package/web/chunk-hzfp8kqx.js.br +0 -0
  212. package/web/chunk-hzfp8kqx.js.gz +0 -0
  213. package/web/{chunk-5d9veaef.js → chunk-j6jjk46a.js} +2 -2
  214. package/web/chunk-j6jjk46a.js.br +0 -0
  215. package/web/chunk-j6jjk46a.js.gz +0 -0
  216. package/web/chunk-j8f0m1dq.js +1 -0
  217. package/web/chunk-j8f0m1dq.js.br +0 -0
  218. package/web/chunk-j8f0m1dq.js.gz +0 -0
  219. package/web/{chunk-t9pg7qf8.js → chunk-jc178ad5.js} +2 -2
  220. package/web/chunk-jc178ad5.js.br +0 -0
  221. package/web/chunk-jc178ad5.js.gz +0 -0
  222. package/web/chunk-jcsf0ke5.js +41 -0
  223. package/web/chunk-jcsf0ke5.js.br +0 -0
  224. package/web/chunk-jcsf0ke5.js.gz +0 -0
  225. package/web/chunk-jg43a2xk.js +139 -0
  226. package/web/chunk-jg43a2xk.js.br +0 -0
  227. package/web/chunk-jg43a2xk.js.gz +0 -0
  228. package/web/chunk-jrgdxqtq.js +7 -0
  229. package/web/chunk-jrgdxqtq.js.br +0 -0
  230. package/web/chunk-jrgdxqtq.js.gz +0 -0
  231. package/web/chunk-js8dvtfg.js +2 -0
  232. package/web/chunk-js8dvtfg.js.br +0 -0
  233. package/web/chunk-js8dvtfg.js.gz +0 -0
  234. package/web/chunk-jt0s9qs7.js +1 -0
  235. package/web/chunk-jt0s9qs7.js.br +0 -0
  236. package/web/chunk-jt0s9qs7.js.gz +0 -0
  237. package/web/chunk-jv5faf88.js +34 -0
  238. package/web/chunk-jv5faf88.js.br +0 -0
  239. package/web/chunk-jv5faf88.js.gz +0 -0
  240. package/web/{chunk-vb2z2azk.js → chunk-k295x81w.js} +79 -79
  241. package/web/chunk-k295x81w.js.br +0 -0
  242. package/web/chunk-k295x81w.js.gz +0 -0
  243. package/web/{chunk-wcj3bxdf.js → chunk-k3aa37pw.js} +2 -2
  244. package/web/chunk-k3aa37pw.js.br +0 -0
  245. package/web/chunk-k3aa37pw.js.gz +0 -0
  246. package/web/{chunk-wgmwgaw4.js → chunk-k6wxwgp1.js} +26 -26
  247. package/web/chunk-k6wxwgp1.js.br +0 -0
  248. package/web/chunk-k6wxwgp1.js.gz +0 -0
  249. package/web/chunk-k9vc7kp2.js +292 -0
  250. package/web/chunk-k9vc7kp2.js.br +0 -0
  251. package/web/chunk-k9vc7kp2.js.gz +0 -0
  252. package/web/chunk-kxyws7q7.js +1 -0
  253. package/web/chunk-kxyws7q7.js.br +0 -0
  254. package/web/chunk-kxyws7q7.js.gz +0 -0
  255. package/web/{chunk-c0hdp2zj.js → chunk-mcgf645h.js} +1 -1
  256. package/web/chunk-mcgf645h.js.br +4 -0
  257. package/web/chunk-mcgf645h.js.gz +0 -0
  258. package/web/{chunk-3gj2t10x.js → chunk-mj3tshy8.js} +31 -31
  259. package/web/chunk-mj3tshy8.js.br +0 -0
  260. package/web/chunk-mj3tshy8.js.gz +0 -0
  261. package/web/chunk-mnb2wdvy.js +24 -0
  262. package/web/chunk-mnb2wdvy.js.br +0 -0
  263. package/web/chunk-mnb2wdvy.js.gz +0 -0
  264. package/web/chunk-ndf58dgc.js +1 -0
  265. package/web/chunk-ndf58dgc.js.br +0 -0
  266. package/web/chunk-ndf58dgc.js.gz +0 -0
  267. package/web/chunk-nhpm5nd5.js +2 -0
  268. package/web/chunk-nhpm5nd5.js.br +0 -0
  269. package/web/chunk-nhpm5nd5.js.gz +0 -0
  270. package/web/chunk-nj0cv1cq.js.br +0 -0
  271. package/web/chunk-nj0cv1cq.js.gz +0 -0
  272. package/web/{chunk-0zyekjym.js → chunk-nwxjdetb.js} +1 -1
  273. package/web/chunk-nwxjdetb.js.br +0 -0
  274. package/web/chunk-nwxjdetb.js.gz +0 -0
  275. package/web/chunk-nyjfcard.js +106 -0
  276. package/web/chunk-nyjfcard.js.br +0 -0
  277. package/web/chunk-nyjfcard.js.gz +0 -0
  278. package/web/chunk-nzey7cpv.js.br +0 -0
  279. package/web/chunk-nzey7cpv.js.gz +0 -0
  280. package/web/{chunk-g8wy9sa6.js → chunk-pcfjcy3a.js} +23 -23
  281. package/web/chunk-pcfjcy3a.js.br +0 -0
  282. package/web/chunk-pcfjcy3a.js.gz +0 -0
  283. package/web/chunk-pry6wdbe.js +1 -0
  284. package/web/chunk-pry6wdbe.js.br +0 -0
  285. package/web/chunk-pry6wdbe.js.gz +0 -0
  286. package/web/chunk-pvahdcgy.js +2 -0
  287. package/web/chunk-pvahdcgy.js.br +0 -0
  288. package/web/chunk-pvahdcgy.js.gz +0 -0
  289. package/web/{chunk-ffn1a0zw.js → chunk-q3njnnef.js} +2 -2
  290. package/web/chunk-q3njnnef.js.br +0 -0
  291. package/web/chunk-q3njnnef.js.gz +0 -0
  292. package/web/chunk-qxvqkkmw.js +1 -0
  293. package/web/chunk-qxvqkkmw.js.br +0 -0
  294. package/web/chunk-qxvqkkmw.js.gz +0 -0
  295. package/web/chunk-qych3sbs.js +1 -0
  296. package/web/chunk-qych3sbs.js.br +0 -0
  297. package/web/chunk-qych3sbs.js.gz +0 -0
  298. package/web/chunk-r1dnh0s8.js.br +0 -0
  299. package/web/chunk-r1dnh0s8.js.gz +0 -0
  300. package/web/chunk-r5eakmw6.js.br +0 -0
  301. package/web/chunk-r5eakmw6.js.gz +0 -0
  302. package/web/chunk-rbmp2e4b.js +1 -0
  303. package/web/chunk-rbmp2e4b.js.br +0 -0
  304. package/web/chunk-rbmp2e4b.js.gz +0 -0
  305. package/web/chunk-rcre1stj.js +1 -0
  306. package/web/chunk-rcre1stj.js.br +0 -0
  307. package/web/chunk-rcre1stj.js.gz +0 -0
  308. package/web/chunk-rdb6091n.js +89 -0
  309. package/web/chunk-rdb6091n.js.br +0 -0
  310. package/web/chunk-rdb6091n.js.gz +0 -0
  311. package/web/chunk-ryw7xnab.js +1 -0
  312. package/web/chunk-ryw7xnab.js.br +0 -0
  313. package/web/chunk-ryw7xnab.js.gz +0 -0
  314. package/web/{chunk-1hx4xtdk.js → chunk-sbbmy02e.js} +2 -2
  315. package/web/chunk-sbbmy02e.js.br +0 -0
  316. package/web/chunk-sbbmy02e.js.gz +0 -0
  317. package/web/{chunk-s0xy00v5.js → chunk-sgbc835w.js} +2 -2
  318. package/web/chunk-sgbc835w.js.br +0 -0
  319. package/web/chunk-sgbc835w.js.gz +0 -0
  320. package/web/chunk-sydy10mb.js +1 -0
  321. package/web/chunk-sydy10mb.js.br +0 -0
  322. package/web/chunk-sydy10mb.js.gz +0 -0
  323. package/web/chunk-t0ywnp5e.js +1 -0
  324. package/web/chunk-t0ywnp5e.js.br +0 -0
  325. package/web/chunk-t0ywnp5e.js.gz +0 -0
  326. package/web/chunk-t6agpn2z.js.br +0 -0
  327. package/web/chunk-t6agpn2z.js.gz +0 -0
  328. package/web/{chunk-hhnhgthx.js → chunk-t72jq97z.js} +2 -2
  329. package/web/chunk-t72jq97z.js.br +0 -0
  330. package/web/chunk-t72jq97z.js.gz +0 -0
  331. package/web/{chunk-6ty9vw27.js → chunk-tfcc9bcz.js} +3 -3
  332. package/web/chunk-tfcc9bcz.js.br +0 -0
  333. package/web/chunk-tfcc9bcz.js.gz +0 -0
  334. package/web/{chunk-27tchdxd.js → chunk-v2bvbgfc.js} +2 -2
  335. package/web/chunk-v2bvbgfc.js.br +0 -0
  336. package/web/chunk-v2bvbgfc.js.gz +0 -0
  337. package/web/{chunk-madrcnm1.js → chunk-v7zq4vc9.js} +5 -5
  338. package/web/chunk-v7zq4vc9.js.br +0 -0
  339. package/web/chunk-v7zq4vc9.js.gz +0 -0
  340. package/web/chunk-vh8pkcem.css.br +0 -0
  341. package/web/chunk-vh8pkcem.css.gz +0 -0
  342. package/web/chunk-vq3sby7x.js +1 -0
  343. package/web/chunk-vq3sby7x.js.br +0 -0
  344. package/web/chunk-vq3sby7x.js.gz +0 -0
  345. package/web/{chunk-vvvd3grf.js → chunk-vszya05r.js} +2 -2
  346. package/web/chunk-vszya05r.js.br +0 -0
  347. package/web/chunk-vszya05r.js.gz +0 -0
  348. package/web/chunk-was9xf03.js +8 -0
  349. package/web/chunk-was9xf03.js.br +0 -0
  350. package/web/chunk-was9xf03.js.gz +0 -0
  351. package/web/chunk-we1v1829.js +2 -0
  352. package/web/chunk-we1v1829.js.br +0 -0
  353. package/web/chunk-we1v1829.js.gz +0 -0
  354. package/web/chunk-wfa1c8dn.js +1 -0
  355. package/web/chunk-wfa1c8dn.js.br +0 -0
  356. package/web/chunk-wfa1c8dn.js.gz +0 -0
  357. package/web/chunk-wg2exnxe.js +1 -0
  358. package/web/chunk-wg2exnxe.js.br +2 -0
  359. package/web/chunk-wg2exnxe.js.gz +0 -0
  360. package/web/chunk-wvd3zj1m.js +70 -0
  361. package/web/chunk-wvd3zj1m.js.br +0 -0
  362. package/web/chunk-wvd3zj1m.js.gz +0 -0
  363. package/web/chunk-wzmxtr30.js +1 -0
  364. package/web/chunk-wzmxtr30.js.br +0 -0
  365. package/web/chunk-wzmxtr30.js.gz +0 -0
  366. package/web/chunk-x815g7yp.js +1 -0
  367. package/web/chunk-x815g7yp.js.br +0 -0
  368. package/web/chunk-x815g7yp.js.gz +0 -0
  369. package/web/{chunk-0qnetvsc.js → chunk-x8ps0p82.js} +14 -14
  370. package/web/chunk-x8ps0p82.js.br +0 -0
  371. package/web/chunk-x8ps0p82.js.gz +0 -0
  372. package/web/{chunk-y2ykn1gm.js → chunk-xea3snym.js} +1 -1
  373. package/web/chunk-xea3snym.js.br +0 -0
  374. package/web/chunk-xea3snym.js.gz +0 -0
  375. package/web/chunk-xet1jjy9.js.br +0 -0
  376. package/web/chunk-xet1jjy9.js.gz +0 -0
  377. package/web/{chunk-vjnvfb8z.js → chunk-xg4v60m7.js} +1 -1
  378. package/web/chunk-xg4v60m7.js.br +0 -0
  379. package/web/chunk-xg4v60m7.js.gz +0 -0
  380. package/web/chunk-xhr9jrjt.js +89 -0
  381. package/web/chunk-xhr9jrjt.js.br +0 -0
  382. package/web/chunk-xhr9jrjt.js.gz +0 -0
  383. package/web/chunk-xp90g2e7.js +36 -0
  384. package/web/chunk-xp90g2e7.js.br +0 -0
  385. package/web/chunk-xp90g2e7.js.gz +0 -0
  386. package/web/{chunk-e229cr90.js → chunk-xs1g97qa.js} +2 -2
  387. package/web/chunk-xs1g97qa.js.br +0 -0
  388. package/web/chunk-xs1g97qa.js.gz +0 -0
  389. package/web/chunk-xyk1wpr4.js +1 -0
  390. package/web/chunk-xyk1wpr4.js.br +3 -0
  391. package/web/chunk-xyk1wpr4.js.gz +0 -0
  392. package/web/chunk-yavbdwyt.js +1 -0
  393. package/web/chunk-yavbdwyt.js.br +0 -0
  394. package/web/chunk-yavbdwyt.js.gz +0 -0
  395. package/web/chunk-yfnhnsxe.js +4 -0
  396. package/web/chunk-yfnhnsxe.js.br +0 -0
  397. package/web/chunk-yfnhnsxe.js.gz +0 -0
  398. package/web/chunk-yk965yth.js +1 -0
  399. package/web/chunk-yk965yth.js.br +0 -0
  400. package/web/chunk-yk965yth.js.gz +0 -0
  401. package/web/{chunk-c1z290wm.js → chunk-ynhcjhsx.js} +2 -2
  402. package/web/chunk-ynhcjhsx.js.br +0 -0
  403. package/web/chunk-ynhcjhsx.js.gz +0 -0
  404. package/web/chunk-ypmm1gts.js +1 -0
  405. package/web/chunk-ypmm1gts.js.br +0 -0
  406. package/web/chunk-ypmm1gts.js.gz +0 -0
  407. package/web/chunk-yssx5a5q.js +1 -0
  408. package/web/chunk-yssx5a5q.js.br +0 -0
  409. package/web/chunk-yssx5a5q.js.gz +0 -0
  410. package/web/chunk-z09emmrb.js.br +0 -0
  411. package/web/chunk-z09emmrb.js.gz +0 -0
  412. package/web/chunk-z0a8cnq8.js +1 -0
  413. package/web/chunk-z0a8cnq8.js.br +0 -0
  414. package/web/chunk-z0a8cnq8.js.gz +0 -0
  415. package/web/{chunk-gaf9brzv.js → chunk-z1afsvbv.js} +2 -2
  416. package/web/chunk-z1afsvbv.js.br +0 -0
  417. package/web/chunk-z1afsvbv.js.gz +0 -0
  418. package/web/{chunk-w60dxtyz.js → chunk-z1ka8jtd.js} +2 -2
  419. package/web/chunk-z1ka8jtd.js.br +0 -0
  420. package/web/chunk-z1ka8jtd.js.gz +0 -0
  421. package/web/chunk-z7tdzen9.js +1 -0
  422. package/web/chunk-z7tdzen9.js.br +0 -0
  423. package/web/chunk-z7tdzen9.js.gz +0 -0
  424. package/web/{chunk-444xfger.js → chunk-zbwjj06m.js} +7 -7
  425. package/web/chunk-zbwjj06m.js.br +0 -0
  426. package/web/chunk-zbwjj06m.js.gz +0 -0
  427. package/web/chunk-zd2j189j.js +1 -0
  428. package/web/chunk-zd2j189j.js.br +0 -0
  429. package/web/chunk-zd2j189j.js.gz +0 -0
  430. package/web/chunk-zfgpq4n4.js +120 -0
  431. package/web/chunk-zfgpq4n4.js.br +0 -0
  432. package/web/chunk-zfgpq4n4.js.gz +0 -0
  433. package/web/chunk-zgas56xw.js +1 -0
  434. package/web/chunk-zgas56xw.js.br +0 -0
  435. package/web/chunk-zgas56xw.js.gz +0 -0
  436. package/web/chunk-zkfepf91.js +1 -0
  437. package/web/chunk-zkfepf91.js.br +0 -0
  438. package/web/chunk-zkfepf91.js.gz +0 -0
  439. package/web/icon-1wgy7kzy.svg.br +0 -0
  440. package/web/icon-1wgy7kzy.svg.gz +0 -0
  441. package/web/icon.svg.br +0 -0
  442. package/web/icon.svg.gz +0 -0
  443. package/web/index.html +11 -1
  444. package/web/index.html.br +0 -0
  445. package/web/index.html.gz +0 -0
  446. package/web/manifest-txf6vfbq.webmanifest.br +0 -0
  447. package/web/manifest-txf6vfbq.webmanifest.gz +0 -0
  448. package/web/manifest.webmanifest.br +0 -0
  449. package/web/manifest.webmanifest.gz +0 -0
  450. package/web/sw.js +146 -27
  451. package/web/sw.js.br +0 -0
  452. package/web/sw.js.gz +0 -0
  453. package/web/chunk-0zb330w3.js +0 -89
  454. package/web/chunk-11byy7vm.js +0 -1
  455. package/web/chunk-160x5pv7.js +0 -1
  456. package/web/chunk-19g09ekr.js +0 -40
  457. package/web/chunk-1gzprnyd.js +0 -1
  458. package/web/chunk-1je4p601.js +0 -139
  459. package/web/chunk-1rjtqf8h.js +0 -2
  460. package/web/chunk-1y387f45.js +0 -1
  461. package/web/chunk-23258z1r.js +0 -1
  462. package/web/chunk-27592nd8.js +0 -36
  463. package/web/chunk-2hqmdqn3.js +0 -41
  464. package/web/chunk-2q79n966.js +0 -2
  465. package/web/chunk-2ws74tfa.js +0 -21
  466. package/web/chunk-2z8epr8f.js +0 -34
  467. package/web/chunk-4k62e61g.js +0 -291
  468. package/web/chunk-4z6wma3s.js +0 -78
  469. package/web/chunk-5wkqqa59.js +0 -1
  470. package/web/chunk-5yczs6sb.js +0 -1
  471. package/web/chunk-5yn7mwvt.js +0 -1
  472. package/web/chunk-705tkt2r.js +0 -1
  473. package/web/chunk-753qp8sa.js +0 -4
  474. package/web/chunk-76e3npmd.js +0 -2
  475. package/web/chunk-7p04dn0k.js +0 -1
  476. package/web/chunk-7qq1ypvj.js +0 -1
  477. package/web/chunk-7rb3v8gy.js +0 -1
  478. package/web/chunk-7yz88k97.js +0 -39
  479. package/web/chunk-85d7jkp0.js +0 -2
  480. package/web/chunk-90kgn35s.js +0 -1
  481. package/web/chunk-931y1g0h.js +0 -1
  482. package/web/chunk-at0xtfhy.js +0 -1
  483. package/web/chunk-bcp6na49.js +0 -1145
  484. package/web/chunk-bz1q7qdd.js +0 -8
  485. package/web/chunk-c0evk1xy.js +0 -1
  486. package/web/chunk-cge0cjfm.js +0 -2
  487. package/web/chunk-e9mmkrc3.js +0 -7
  488. package/web/chunk-f8nnrk6y.js +0 -292
  489. package/web/chunk-fcrswzgm.js +0 -106
  490. package/web/chunk-fw4fa7j6.js +0 -1
  491. package/web/chunk-fx8hheqz.js +0 -1
  492. package/web/chunk-gj16e7z0.js +0 -1
  493. package/web/chunk-h0c42zy3.js +0 -1
  494. package/web/chunk-h1y8y203.js +0 -1
  495. package/web/chunk-h6vy008x.js +0 -24
  496. package/web/chunk-h8mhnze5.js +0 -303
  497. package/web/chunk-j27mtdr2.js +0 -1
  498. package/web/chunk-jys02310.js +0 -1
  499. package/web/chunk-kew13yzg.js +0 -1
  500. package/web/chunk-kx5r8nf2.js +0 -1
  501. package/web/chunk-m7c0xk69.js +0 -1
  502. package/web/chunk-mrnx4f74.js +0 -70
  503. package/web/chunk-mtdsrtc5.js +0 -1
  504. package/web/chunk-n3spc397.js +0 -24
  505. package/web/chunk-nbcpbqq4.js +0 -1
  506. package/web/chunk-nhc280n0.js +0 -1
  507. package/web/chunk-nx1bcekh.js +0 -2
  508. package/web/chunk-p8t7s4z4.js +0 -1
  509. package/web/chunk-pgh1cx6w.js +0 -1
  510. package/web/chunk-qgzn0ha5.js +0 -89
  511. package/web/chunk-qtwxq6hj.js +0 -3
  512. package/web/chunk-qwp3dhmf.js +0 -1
  513. package/web/chunk-rjh54ygb.js +0 -120
  514. package/web/chunk-ryh8jdzy.js +0 -1
  515. package/web/chunk-s3t8dkkz.js +0 -1
  516. package/web/chunk-sk1w7f7h.js +0 -1
  517. package/web/chunk-smkrxjm5.js +0 -1
  518. package/web/chunk-sv5ph7fa.js +0 -1
  519. package/web/chunk-t9twxmsg.js +0 -1
  520. package/web/chunk-tfdchqn4.js +0 -62
  521. package/web/chunk-tvvggvjt.js +0 -169
  522. package/web/chunk-ty87gdvr.js +0 -1
  523. package/web/chunk-v16s0x7c.js +0 -1
  524. package/web/chunk-vgyp8wa2.js +0 -2
  525. package/web/chunk-vphzndz8.js +0 -2
  526. package/web/chunk-xtss82z2.js +0 -1
  527. package/web/chunk-y0mef85j.js +0 -1
  528. package/web/chunk-ym9qfsjs.js +0 -30
  529. package/web/chunk-ypdptddq.js +0 -1
  530. package/web/chunk-z08c63ph.js +0 -2
  531. package/web/chunk-z6x74qfh.js +0 -1
  532. package/web/chunk-z86pjpqp.js +0 -1
  533. package/web/chunk-zh0vjc6g.js +0 -1
  534. package/web/chunk-zns9wmab.js +0 -1
@@ -0,0 +1,120 @@
1
+ import{t,Hn,a,ce,p,m,S,ln,po,A,u,f,Q,Tt,Te,Lt}from"./chunk-fzmrnh17.js";import{mn}from"./chunk-40jka4r7.js";var ct=function(){var r=t(function(E,o,g,h){for(g=g||{},h=E.length;h--;g[E[h]]=o);return g},"o"),e=[6,11,13,14,15,17,19,20,23,24],s=[1,12],i=[1,13],n=[1,14],d=[1,15],c=[1,16],l=[1,19],v=[1,20],x={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:t(function(o,g,h,k,_,y,I){var T=y.length-1;switch(_){case 1:return y[T-1];case 3:k.setDirection("LR");break;case 4:k.setDirection("TD");break;case 5:this.$=[];break;case 6:y[T-1].push(y[T]),this.$=y[T-1];break;case 7:case 8:this.$=y[T];break;case 9:case 10:this.$=[];break;case 11:k.getCommonDb().setDiagramTitle(y[T].substr(6)),this.$=y[T].substr(6);break;case 12:this.$=y[T].trim(),k.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=y[T].trim(),k.getCommonDb().setAccDescription(this.$);break;case 15:k.addSection(y[T].substr(8)),this.$=y[T].substr(8);break;case 18:k.addTask(y[T],0,""),this.$=y[T];break;case 19:k.addEvent(y[T].substr(2)),this.$=y[T];break}},"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},r(e,[2,5],{5:6}),r(e,[2,2]),r(e,[2,3]),r(e,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:s,15:i,17:n,19:d,20:c,21:17,22:18,23:l,24:v},r(e,[2,10],{1:[2,1]}),r(e,[2,6]),{12:21,14:s,15:i,17:n,19:d,20:c,21:17,22:18,23:l,24:v},r(e,[2,8]),r(e,[2,9]),r(e,[2,11]),{16:[1,22]},{18:[1,23]},r(e,[2,14]),r(e,[2,15]),r(e,[2,16]),r(e,[2,17]),r(e,[2,18]),r(e,[2,19]),r(e,[2,7]),r(e,[2,12]),r(e,[2,13])],defaultActions:{},parseError:t(function(o,g){if(g.recoverable)this.trace(o);else{var h=Error(o);throw h.hash=g,h}},"parseError"),parse:t(function(o){var g=this,h=[0],k=[],_=[null],y=[],I=this.table,T="",W=0,G=0,D=0,q=2,B=1,O=y.slice.call(arguments,1),L=Object.create(this.lexer),F={yy:{}};for(var U in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,U))F.yy[U]=this.yy[U];if(L.setInput(o,F.yy),F.yy.lexer=L,F.yy.parser=this,typeof L.yylloc>"u")L.yylloc={};var J=L.yylloc;y.push(J);var C=L.options&&L.options.ranges;if(typeof F.yy.parseError==="function")this.parseError=F.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function N(K){h.length=h.length-2*K,_.length=_.length-K,y.length=y.length-K}t(N,"popStack");function M(){var K=k.pop()||L.lex()||B;if(typeof K!=="number"){if(K instanceof Array)k=K,K=k.pop();K=g.symbols_[K]||K}return K}t(M,"lex");var H,P,V,R,ot,et,j={},rt,X,yt,nt;while(!0){if(V=h[h.length-1],this.defaultActions[V])R=this.defaultActions[V];else{if(H===null||typeof H>"u")H=M();R=I[V]&&I[V][H]}if(typeof R>"u"||!R.length||!R[0]){var lt="";nt=[];for(rt in I[V])if(this.terminals_[rt]&&rt>q)nt.push("'"+this.terminals_[rt]+"'");if(L.showPosition)lt="Parse error on line "+(W+1)+`:
2
+ `+L.showPosition()+`
3
+ Expecting `+nt.join(", ")+", got '"+(this.terminals_[H]||H)+"'";else lt="Parse error on line "+(W+1)+": Unexpected "+(H==B?"end of input":"'"+(this.terminals_[H]||H)+"'");this.parseError(lt,{text:L.match,token:this.terminals_[H]||H,line:L.yylineno,loc:J,expected:nt})}if(R[0]instanceof Array&&R.length>1)throw Error("Parse Error: multiple actions possible at state: "+V+", token: "+H);switch(R[0]){case 1:if(h.push(H),_.push(L.yytext),y.push(L.yylloc),h.push(R[1]),H=null,!P){if(G=L.yyleng,T=L.yytext,W=L.yylineno,J=L.yylloc,D>0)D--}else H=P,P=null;break;case 2:if(X=this.productions_[R[1]][1],j.$=_[_.length-X],j._$={first_line:y[y.length-(X||1)].first_line,last_line:y[y.length-1].last_line,first_column:y[y.length-(X||1)].first_column,last_column:y[y.length-1].last_column},C)j._$.range=[y[y.length-(X||1)].range[0],y[y.length-1].range[1]];if(et=this.performAction.apply(j,[T,G,W,F.yy,R[1],_,y].concat(O)),typeof et<"u")return et;if(X)h=h.slice(0,-1*X*2),_=_.slice(0,-1*X),y=y.slice(0,-1*X);h.push(this.productions_[R[1]][0]),_.push(j.$),y.push(j._$),yt=I[h[h.length-2]][h[h.length-1]],h.push(yt);break;case 3:return!0}}return!0},"parse")},w=function(){var E={EOF:1,parseError:t(function(g,h){if(this.yy.parser)this.yy.parser.parseError(g,h);else throw Error(g)},"parseError"),setInput:t(function(o,g){if(this.yy=g||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var g=o.match(/(?:\r\n?|\n).*/g);if(g)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),o},"input"),unput:t(function(o){var g=o.length,h=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var k=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1)this.yylineno-=h.length-1;var _=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===k.length?this.yylloc.first_column:0)+k[k.length-h.length].length-h[0].length:this.yylloc.first_column-g},this.options.ranges)this.yylloc.range=[_[0],_[0]+this.yyleng-g];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),g=Array(o.length+1).join("-");return o+this.upcomingInput()+`
5
+ `+g+"^"},"showPosition"),test_match:t(function(o,g){var h,k,_;if(this.options.backtrack_lexer){if(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)_.yylloc.range=this.yylloc.range.slice(0)}if(k=o[0].match(/(?:\r\n?|\n).*/g),k)this.yylineno+=k.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:k?k[k.length-1].length-k[k.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],h=this.performAction.call(this,this.yy,this,g,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(h)return h;else if(this._backtrack){for(var y in _)this[y]=_[y];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,g,h,k;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var y=0;y<_.length;y++)if(h=this._input.match(this.rules[_[y]]),h&&(!g||h[0].length>g[0].length)){if(g=h,k=y,this.options.backtrack_lexer)if(o=this.test_match(h,_[y]),o!==!1)return o;else if(this._backtrack){g=!1;continue}else return!1;else if(!this.options.flex)break}if(g){if(o=this.test_match(g,_[k]),o!==!1)return o;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var g=this.next();if(g)return g;else return this.lex()},"lex"),begin:t(function(g){this.conditionStack.push(g)},"begin"),popState:t(function(){var g=this.conditionStack.length-1;if(g>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(g){if(g=this.conditionStack.length-1-Math.abs(g||0),g>=0)return this.conditionStack[g];else return"INITIAL"},"topState"),pushState:t(function(g){this.begin(g)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(g,h,k,_){var y=_;switch(k){case 0:break;case 1:break;case 2:return 13;case 3:break;case 4:break;case 5:return 8;case 6:return 9;case 7:return 7;case 8:return 14;case 9:return this.begin("acc_title"),15;break;case 10:return this.popState(),"acc_title_value";break;case 11:return this.begin("acc_descr"),17;break;case 12:return this.popState(),"acc_descr_value";break;case 13:this.begin("acc_descr_multiline");break;case 14:this.popState();break;case 15:return"acc_descr_multiline_value";case 16:return 20;case 17:return 24;case 18:return 23;case 19:return 6;case 20:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline[ \t]+LR\b)/i,/^(?:timeline[ \t]+TD\b)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[14,15],inclusive:!1},acc_descr:{rules:[12],inclusive:!1},acc_title:{rules:[10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,13,16,17,18,19,20],inclusive:!0}}};return E}();x.lexer=w;function b(){this.yy={}}return t(b,"Parser"),b.prototype=x,x.Parser=b,new b}();ct.parser=ct;var Ot=ct,_t={};Hn(_t,{addEvent:()=>Ct,addSection:()=>It,addTask:()=>At,addTaskOrg:()=>Rt,clear:()=>Et,default:()=>Gt,getCommonDb:()=>St,getDirection:()=>Nt,getSections:()=>Ht,getTasks:()=>Mt,setDirection:()=>$t});var Y="",wt=0,dt="LR",ut=[],it=[],tt=[],St=t(()=>po,"getCommonDb"),Et=t(function(){ut.length=0,it.length=0,Y="",tt.length=0,dt="LR",A()},"clear"),$t=t(function(r){dt=r},"setDirection"),Nt=t(function(){return dt},"getDirection"),It=t(function(r){Y=r,ut.push(r)},"addSection"),Ht=t(function(){return ut},"getSections"),Mt=t(function(){let r=mt(),e=100,s=0;while(!r&&s<e)r=mt(),s++;return it.push(...tt),it},"getTasks"),At=t(function(r,e,s){let i={id:wt++,section:Y,type:Y,task:r,score:e?e:0,events:s?[s]:[]};tt.push(i)},"addTask"),Ct=t(function(r){tt.find((s)=>s.id===wt-1).events.push(r)},"addEvent"),Rt=t(function(r){let e={section:Y,type:Y,description:r,task:r,classes:[]};it.push(e)},"addTaskOrg"),mt=t(function(){let r=t(function(s){return tt[s].processed},"compileTask"),e=!0;for(let[s,i]of tt.entries())r(s),e=e&&i.processed;return e},"compileTasks"),Gt={clear:Et,getCommonDb:St,getDirection:Nt,setDirection:$t,addSection:It,getSections:Ht,getTasks:Mt,addTask:At,addTaskOrg:Rt,addEvent:Ct},Wt=0,st=t(function(r,e){let s=r.append("rect");if(s.attr("x",e.x),s.attr("y",e.y),s.attr("fill",e.fill),s.attr("stroke",e.stroke),s.attr("width",e.width),s.attr("height",e.height),s.attr("rx",e.rx),s.attr("ry",e.ry),e.class!==void 0)s.attr("class",e.class);return s},"drawRect"),Dt=t(function(r,e){let i=r.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),n=r.append("g");n.append("circle").attr("cx",e.cx-5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),n.append("circle").attr("cx",e.cx+5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function d(v){let x=mn().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);v.append("path").attr("class","mouth").attr("d",x).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}t(d,"smile");function c(v){let x=mn().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);v.append("path").attr("class","mouth").attr("d",x).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}t(c,"sad");function l(v){v.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}if(t(l,"ambivalent"),e.score>3)d(n);else if(e.score<3)c(n);else l(n);return i},"drawFace"),Kt=t(function(r,e){let s=r.append("circle");if(s.attr("cx",e.cx),s.attr("cy",e.cy),s.attr("class","actor-"+e.pos),s.attr("fill",e.fill),s.attr("stroke",e.stroke),s.attr("r",e.r),s.class!==void 0)s.attr("class",s.class);if(e.title!==void 0)s.append("title").text(e.title);return s},"drawCircle"),Pt=t(function(r,e){let s=e.text.replace(/<br\s*\/?>/gi," "),i=r.append("text");if(i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),e.class!==void 0)i.attr("class",e.class);let n=i.append("tspan");return n.attr("x",e.x+e.textMargin*2),n.text(s),i},"drawText"),Ut=t(function(r,e){function s(n,d,c,l,v){return n+","+d+" "+(n+c)+","+d+" "+(n+c)+","+(d+l-v)+" "+(n+c-v*1.2)+","+(d+l)+" "+n+","+(d+l)}t(s,"genPoints");let i=r.append("polygon");i.attr("points",s(e.x,e.y,50,20,7)),i.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+0.5*e.labelMargin,Pt(r,e)},"drawLabel"),Xt=t(function(r,e,s){let i=r.append("g"),n=pt();n.x=e.x,n.y=e.y,n.fill=e.fill,n.width=s.width,n.height=s.height,n.class="journey-section section-type-"+e.num,n.rx=3,n.ry=3,st(i,n),Bt(s)(e.text,i,n.x,n.y,n.width,n.height,{class:"journey-section section-type-"+e.num},s,e.colour)},"drawSection"),ht=-1,Zt=t(function(r,e,s,i){let n=e.x+s.width/2,d=r.append("g");ht++;let c=450;d.append("line").attr("id",i+"-task"+ht).attr("x1",n).attr("y1",e.y).attr("x2",n).attr("y2",c).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Dt(d,{cx:n,cy:300+(5-e.score)*30,score:e.score});let l=pt();l.x=e.x,l.y=e.y,l.fill=e.fill,l.width=s.width,l.height=s.height,l.class="task task-type-"+e.num,l.rx=3,l.ry=3,st(d,l),Bt(s)(e.task,d,l.x,l.y,l.width,l.height,{class:"task"},s,e.colour)},"drawTask"),jt=t(function(r,e){st(r,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},"drawBackgroundRect"),qt=t(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),pt=t(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),Bt=function(){function r(n,d,c,l,v,x,w,b){let E=d.append("text").attr("x",c+v/2).attr("y",l+x/2+5).style("font-color",b).style("text-anchor","middle").text(n);i(E,w)}t(r,"byText");function e(n,d,c,l,v,x,w,b,E){let{taskFontSize:o,taskFontFamily:g}=b,h=n.split(/<br\s*\/?>/gi);for(let k=0;k<h.length;k++){let _=k*o-o*(h.length-1)/2,y=d.append("text").attr("x",c+v/2).attr("y",l).attr("fill",E).style("text-anchor","middle").style("font-size",o).style("font-family",g);y.append("tspan").attr("x",c+v/2).attr("dy",_).text(h[k]),y.attr("y",l+x/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(y,w)}}t(e,"byTspan");function s(n,d,c,l,v,x,w,b){let E=d.append("switch"),g=E.append("foreignObject").attr("x",c).attr("y",l).attr("width",v).attr("height",x).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");g.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(n),e(n,E,c,l,v,x,w,b),i(g,w)}t(s,"byFo");function i(n,d){for(let c in d)if(c in d)n.attr(c,d[c])}return t(i,"_setTextAttrs"),function(n){return n.textPlacement==="fo"?s:n.textPlacement==="old"?r:e}}(),Jt=t(function(r,e){Wt=0,ht=-1,r.append("defs").append("marker").attr("id",e+"-arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics");function gt(r,e){r.each(function(){var s=f(this),i=s.text().split(/(\s+|<br>)/).reverse(),n,d=[],c=1.1,l=s.attr("y"),v=parseFloat(s.attr("dy")),x=s.text(null).append("tspan").attr("x",0).attr("y",l).attr("dy",v+"em");for(let w=0;w<i.length;w++)if(n=i[i.length-1-w],d.push(n),x.text(d.join(" ").trim()),x.node().getComputedTextLength()>e||n==="<br>"){if(d.pop(),x.text(d.join(" ").trim()),n==="<br>")d=[""];else d=[n];x=s.append("tspan").attr("x",0).attr("y",l).attr("dy",c+"em").text(n)}})}t(gt,"wrap");var Qt=t(function(r,e,s,i,n,d=!1){let{theme:c,look:l}=i,v=c?.includes("redux"),x=i?.themeVariables?.THEME_COLOR_LIMIT??12,w=s%x-1,b=r.append("g");e.section=w,b.attr("class",(e.class?e.class+" ":"")+"timeline-node "+("section-"+w));let E=b.append("g"),o=b.append("g"),h=o.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(gt,e.width).node().getBBox(),k=i.fontSize?.replace?i.fontSize.replace("px",""):i.fontSize;if(e.height=h.height+k*1.1*0.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,o.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),v)o.attr("transform",`translate(${e.width/2}, ${d?e.padding/2+3:e.padding})`);if(te(E,e,w,n,i),l==="neo"){if(b.attr("data-look","neo"),v){let _=c.includes("dark"),y=r.node()?.ownerSVGElement??r.node(),I=f(y),T=I.attr("id")??"",W=T?`${T}-drop-shadow`:"drop-shadow";if(I.select(`#${W}`).empty()){let G=I.select("defs");(G.empty()?I.append("defs"):G).append("filter").attr("id",W).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity",_?"0.2":"0.06").attr("flood-color",_?"#FFFFFF":"#000000")}}}return e},"drawNode"),Yt=t(function(r,e,s){let i=r.append("g"),d=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(gt,e.width).node().getBBox(),c=s.fontSize?.replace?s.fontSize.replace("px",""):s.fontSize;return i.remove(),d.height+c*1.1*0.5+e.padding},"getVirtualNodeHeight"),te=t(function(r,e,s,i,n){let{theme:d}=n,c=d?.includes("redux")?0:5,l=5,v=c>0?`M0 ${e.height-5} v${-e.height+10} q0,-${c},${c},-${c} h${e.width-10} q${c},0,${c},${c} v${e.height-5} H0 Z`:`M0 ${e.height-5} v${-(e.height-5)} h${e.width} v${e.height} H0 Z`;if(r.append("path").attr("id",i+"-node-"+Wt++).attr("class","node-bkg node-"+e.type).attr("d",v),!d?.includes("redux"))r.append("line").attr("class","node-line-"+s).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},"defaultBkg"),z={drawRect:st,drawCircle:Kt,drawSection:Xt,drawText:Pt,drawLabel:Ut,drawTask:Zt,drawBackgroundRect:jt,getTextObj:qt,getNoteRect:pt,initGraphics:Jt,drawNode:Qt,getVirtualNodeHeight:Yt},ee=t(function(r,e,s,i){let n=u(),{look:d,theme:c,themeVariables:l}=n,{useGradient:v,gradientStart:x,gradientStop:w}=l,b=n.timeline?.leftMargin??50;a.debug("timeline",i.db);let E=n.securityLevel,o;if(E==="sandbox")o=f("#i"+e);let h=(E==="sandbox"?f(o.nodes()[0].contentDocument.body):f("body")).select("#"+e);h.append("g");let k=i.db.getTasks(),_=i.db.getCommonDb().getDiagramTitle();a.debug("task",k),z.initGraphics(h,e);let y=i.db.getSections();a.debug("sections",y);let I=0,T=0,W=0,G=0,D=50+b,q=50;G=50;let B=0,O=!0;y.forEach(function(C){let N={number:B,descr:C,section:B,width:150,padding:20,maxHeight:I},M=z.getVirtualNodeHeight(h,N,n);a.debug("sectionHeight before draw",M),I=Math.max(I,M+20)});let L=0,F=0;a.debug("tasks.length",k.length);for(let[C,N]of k.entries()){let M={number:C,descr:N,section:N.section,width:150,padding:20,maxHeight:T},H=z.getVirtualNodeHeight(h,M,n);a.debug("taskHeight before draw",H),T=Math.max(T,H+20),L=Math.max(L,N.events.length);let P=0;for(let V of N.events){let R={descr:V,section:N.section,number:N.section,width:150,padding:20,maxHeight:50};P+=z.getVirtualNodeHeight(h,R,n)}if(N.events.length>0)P+=(N.events.length-1)*10;F=Math.max(F,P)}if(a.debug("maxSectionHeight before draw",I),a.debug("maxTaskHeight before draw",T),y&&y.length>0)y.forEach((C)=>{let N=k.filter((V)=>V.section===C),M={number:B,descr:C,section:B,width:200*Math.max(N.length,1)-50,padding:20,maxHeight:I};a.debug("sectionNode",M);let H=h.append("g"),P=z.drawNode(H,M,B,n,e);if(a.debug("sectionNode output",P),H.attr("transform",`translate(${D}, ${G})`),q+=I+50,N.length>0)kt(h,N,B,D,q,T,n,L,F,I,!1,e);D+=200*Math.max(N.length,1),q=G,B++});else O=!1,kt(h,k,B,D,q,T,n,L,F,I,!0,e);let U=h.node().getBBox();if(a.debug("bounds",U),_)h.append("text").text(_).attr("x",d==="neo"?U.x*2+b:U.width/2-b).attr("font-size","4ex").attr("font-weight","bold").attr("y",20);if(W=O?I+T+150:T+100,h.append("g").attr("class","lineWrapper").append("line").attr("x1",b).attr("y1",W).attr("x2",U.width+3*b).attr("y2",W).attr("stroke-width",4).attr("stroke","black").attr("marker-end",`url(#${e}-arrowhead)`),d==="neo"&&v&&c!=="neutral"){let C=h.select("defs"),M=(C.empty()?h.append("defs"):C).append("linearGradient").attr("id",h.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");M.append("stop").attr("offset","0%").attr("stop-color",x).attr("stop-opacity",1),M.append("stop").attr("offset","100%").attr("stop-color",w).attr("stop-opacity",1)}ln(void 0,h,n.timeline?.padding??50,n.timeline?.useMaxWidth??!1)},"draw"),kt=t(function(r,e,s,i,n,d,c,l,v,x,w,b){for(let E of e){let o={descr:E.task,section:s,number:s,width:150,padding:20,maxHeight:d};a.debug("taskNode",o);let g=r.append("g").attr("class","taskWrapper"),k=z.drawNode(g,o,s,c,b).height;if(a.debug("taskHeight after draw",k),g.attr("transform",`translate(${i}, ${n})`),d=Math.max(d,k),E.events){let _=r.append("g").attr("class","lineWrapper"),y=d;n+=100,y=y+re(r,E.events,s,i,n,c,b),n-=100,_.append("line").attr("x1",i+95).attr("y1",n+d).attr("x2",i+95).attr("y2",n+d+100+v+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end",`url(#${b}-arrowhead)`).attr("stroke-dasharray","5,5")}if(i=i+200,w&&!c.timeline?.disableMulticolor)s++}n=n-10},"drawTasks"),re=t(function(r,e,s,i,n,d,c){let l=0,v=n;n=n+100;for(let x of e){let w={descr:x,section:s,number:s,width:150,padding:20,maxHeight:50};a.debug("eventNode",w);let b=r.append("g").attr("class","eventWrapper"),o=z.drawNode(b,w,s,d,c,!0).height;l=l+o,b.attr("transform",`translate(${i}, ${n})`),n=n+10+o}return n=v,l},"drawEvents"),ne={setConf:t(()=>{},"setConf"),draw:ee},at=200,Z=5,ie=at+Z*2,ft=at+100,se=ft+Z*2,Vt=10,ae=0,xt=20,Ft=20,bt=30,zt=50,oe=t(function(r,e,s,i){let n=u(),d=n.timeline?.leftMargin??50;a.debug("timeline",i.db);let c=Q(e);c.append("g");let l=i.db.getTasks(),v=i.db.getCommonDb().getDiagramTitle();a.debug("task",l),z.initGraphics(c);let x=i.db.getSections();a.debug("sections",x);let w=0,b=0,E=50+d,o=50,g=o,h=E,k=ie+Ft,_=se+zt,y=h+k,I=0,T=x&&x.length>0,W=T?y:E+k,G=Math.max(50,k+_-Z*2);x.forEach(function(C){let N={number:I,descr:C,section:I,width:G,padding:Z,maxHeight:w},M=z.getVirtualNodeHeight(c,N,n);a.debug("sectionHeight before draw",M),w=Math.max(w,M)});let D=0;a.debug("tasks.length",l.length);for(let[C,N]of l.entries()){let M={number:C,descr:N,section:N.section,width:at,padding:Z,maxHeight:b},H=z.getVirtualNodeHeight(c,M,n);a.debug("taskHeight before draw",H),b=Math.max(b,H);let P=0;for(let V of N.events){let R={descr:V,section:N.section,number:N.section,width:ft,padding:Z,maxHeight:50};P+=z.getVirtualNodeHeight(c,R,n)}if(N.events.length>0)P+=(N.events.length-1)*Vt;D=Math.max(D,P)+ae}a.debug("maxSectionHeight before draw",w),a.debug("maxTaskHeight before draw",b);let B=Math.max(b,D)+bt;if(T)x.forEach((C)=>{let N=l.filter((j)=>j.section===C),M={number:I,descr:C,section:I,width:G,padding:Z,maxHeight:w};a.debug("sectionNode",M);let H=c.append("g"),P=z.drawNode(H,M,I,n);a.debug("sectionNode output",P);let V=W-k;H.attr("transform",`translate(${V}, ${o})`);let R=o+P.height+xt;if(N.length>0)vt(c,N,I,W,R,b,n,B,!1);let ot=N.length,et=P.height+xt+B*Math.max(ot,1)-(ot>0?bt*2:0);o+=et,I++});else vt(c,l,I,W,o,b,n,B,!0);let O=c.node()?.getBBox();if(!O)throw Error("bbox not found");if(a.debug("bounds",O),v){if(c.append("text").text(v).attr("x",O.width/2-d).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),O=c.node()?.getBBox(),!O)throw Error("bbox not found");a.debug("bounds after title",O)}let[L]=Tt(n.fontSize),F=(L??16)*2,U=(L??16)*0.5+20,J=c.append("g").attr("class","lineWrapper");J.append("line").attr("x1",W).attr("y1",g-F).attr("x2",W).attr("y2",O.y+O.height+U).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),J.lower(),ln(void 0,c,n.timeline?.padding??50,n.timeline?.useMaxWidth??!1)},"draw"),vt=t(function(r,e,s,i,n,d,c,l,v){for(let x of e){let w={descr:x.task,section:s,number:s,width:at,padding:Z,maxHeight:d};a.debug("taskNode",w);let b=r.append("g").attr("class","taskWrapper"),E=z.drawNode(b,w,s,c),o=E.height;a.debug("taskHeight after draw",o);let g=i-Ft-E.width;if(b.attr("transform",`translate(${g}, ${n})`),d=Math.max(d,o),x.events&&x.events.length>0){let h=n,k=i+zt;le(r,x.events,s,i,k,h,c)}if(n=n+l,v&&!c.timeline?.disableMulticolor)s++}},"drawTasks"),le=t(function(r,e,s,i,n,d,c){let l=d;for(let v of e){let x={descr:v,section:s,number:s,width:ft,padding:Z,maxHeight:0};a.debug("eventNode",x);let w=r.append("g").attr("class","eventWrapper"),E=z.drawNode(w,x,s,c).height;w.attr("transform",`translate(${n}, ${l})`);let o=r.append("g").attr("class","lineWrapper"),g=l+E/2;o.append("line").attr("x1",i).attr("y1",g).attr("x2",n).attr("y2",g).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5"),l=l+E+Vt}return l-d},"drawEvents"),he={setConf:t(()=>{},"setConf"),draw:oe},de=t((r)=>{let{theme:e}=S(),s=e?.includes("dark"),i=Te(e,r.borderColorArray),n=r.svgId?.replace(/^#/,"")??"",d=n?`url(#${n}-drop-shadow)`:r.dropShadow??"none",c="";for(let l=0;l<Lt(r.THEME_COLOR_LIMIT);l++){let v=`${17-3*l}`,x=i?r.borderColorArray[l%r.borderColorArray.length]:void 0,w=x??r.mainBkg,b=x??r.nodeBorder;c+=`
7
+ .section-${l-1} rect,
8
+ .section-${l-1} path,
9
+ .section-${l-1} circle {
10
+ fill: ${s&&i?r.mainBkg:w};
11
+ stroke: ${b};
12
+ stroke-width: ${r.strokeWidth};
13
+ filter: ${d};
14
+ }
15
+
16
+ .section-${l-1} text {
17
+ fill: ${r.nodeBorder};
18
+ font-weight: ${r.fontWeight}
19
+ }
20
+
21
+ .node-icon-${l-1} {
22
+ font-size: 40px;
23
+ color: ${r["cScaleLabel"+l]};
24
+ }
25
+
26
+ .section-edge-${l-1} {
27
+ stroke: ${r["cScale"+l]};
28
+ }
29
+
30
+ .edge-depth-${l-1} {
31
+ stroke-width: ${v};
32
+ }
33
+
34
+ .section-${l-1} line {
35
+ stroke: ${r["cScaleInv"+l]};
36
+ stroke-width: 3;
37
+ }
38
+
39
+ .lineWrapper line {
40
+ stroke: ${r.nodeBorder};
41
+ stroke-width:${r.strokeWidth}
42
+ }
43
+
44
+ .disabled,
45
+ .disabled circle,
46
+ .disabled text {
47
+ fill: ${r.tertiaryColor??"lightgray"};
48
+ }
49
+
50
+ .disabled text {
51
+ fill: ${r.clusterBorder??"#efefef"};
52
+ }
53
+ `}return c},"genReduxSections"),ue=t((r)=>{let e="",s=Lt(r.THEME_COLOR_LIMIT);for(let i=0;i<s;i++)if(r["lineColor"+i]=r["lineColor"+i]??r["cScaleInv"+i],ce(r["lineColor"+i]))r["lineColor"+i]=p(r["lineColor"+i],20);else r["lineColor"+i]=m(r["lineColor"+i],20);for(let i=0;i<s;i++){let n=""+(17-3*i);e+=`
54
+ .section-${i-1} rect, .section-${i-1} path, .section-${i-1} circle, .section-${i-1} path {
55
+ fill: ${r["cScale"+i]};
56
+ }
57
+ .section-${i-1} text {
58
+ fill: ${r["cScaleLabel"+i]};
59
+ }
60
+ .node-icon-${i-1} {
61
+ font-size: 40px;
62
+ color: ${r["cScaleLabel"+i]};
63
+ }
64
+ .section-edge-${i-1}{
65
+ stroke: ${r["cScale"+i]};
66
+ }
67
+ .edge-depth-${i-1}{
68
+ stroke-width: ${n};
69
+ }
70
+ .section-${i-1} line {
71
+ stroke: ${r["cScaleInv"+i]} ;
72
+ stroke-width: 3;
73
+ }
74
+
75
+ .lineWrapper line{
76
+ stroke: ${r["cScaleLabel"+i]} ;
77
+ }
78
+
79
+ .disabled, .disabled circle, .disabled text {
80
+ fill: ${r.tertiaryColor??"lightgray"};
81
+ }
82
+ .disabled text {
83
+ fill: ${r.clusterBorder??"#efefef"};
84
+ }
85
+ `}return e},"genSections"),pe=t((r)=>{let{theme:e}=S(),s=e?.includes("redux"),i=e==="neutral",n=r.svgId?.replace(/^#/,"")??"",d="";if(r.useGradient&&n&&r.THEME_COLOR_LIMIT&&!i){let c=Lt(r.THEME_COLOR_LIMIT);for(let l=0;l<c;l++)d+=`
86
+ .section-${l-1}[data-look="neo"] rect,
87
+ .section-${l-1}[data-look="neo"] path,
88
+ .section-${l-1}[data-look="neo"] circle {
89
+ fill: ${r.mainBkg};
90
+ stroke: url(#${n}-gradient);
91
+ stroke-width: 2;
92
+ }
93
+ .section-${l-1}[data-look="neo"] line {
94
+ stroke: url(#${n}-gradient);
95
+ stroke-width: 2;
96
+ }`}return`
97
+ .edge {
98
+ stroke-width: 3;
99
+ }
100
+ ${s?de(r):ue(r)}
101
+ ${d}
102
+ .section-root rect, .section-root path, .section-root circle {
103
+ fill: ${r.git0};
104
+ }
105
+ .section-root text {
106
+ fill: ${r.gitBranchLabel0};
107
+ }
108
+ .icon-container {
109
+ height:100%;
110
+ display: flex;
111
+ justify-content: center;
112
+ align-items: center;
113
+ }
114
+ .edge {
115
+ fill: none;
116
+ }
117
+ .eventWrapper {
118
+ filter: brightness(120%);
119
+ }
120
+ `},"getStyles"),ge=pe,fe={setConf:t(()=>{},"setConf"),draw:t((r,e,s,i)=>{if((i?.db?.getDirection?.()??"LR")==="TD")return he.draw(r,e,s,i);return ne.draw(r,e,s,i)},"draw")},Ee={db:_t,renderer:fe,parser:Ot,styles:ge};export{Ee as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{t,a}from"./chunk-fzmrnh17.js";import{he,Sn,Tn}from"./chunk-rdb6091n.js";import{re}from"./chunk-js8dvtfg.js";import{Ca,fn}from"./chunk-bdypt5mj.js";var i=Ca().RailroadPeg.parser.LangiumParser,s=t((e)=>{let r=e.alternatives.map(l);if(r.length===1)return r[0];return{type:"choice",alternatives:r}},"transformOrderedChoice"),l=t((e)=>{let r=e.elements.map(m);if(r.length===1)return r[0];return{type:"sequence",elements:r}},"transformSequence"),m=t((e)=>{let r=p(e.suffix);if(!e.operator)return r;return{type:"special",text:e.operator==="&"?`&${o(r)}`:`!${o(r)}`}},"transformPrefix"),o=t((e)=>{switch(e.type){case"terminal":return`"${e.value}"`;case"nonterminal":return e.name;case"special":return e.text;default:return"(...)"}},"nodeToLabel"),p=t((e)=>{let r=u(e.primary);if(!e.operator)return r;switch(e.operator){case"?":return{type:"optional",element:r};case"*":return{type:"repetition",element:r,min:0,max:1/0};case"+":return{type:"repetition",element:r,min:1,max:1/0};default:throw Error(`Unsupported PEG suffix operator: ${e.operator}`)}},"transformSuffix"),u=t((e)=>{switch(e.$type){case"PegLiteral":return{type:"terminal",value:e.value};case"PegIdentifier":return{type:"nonterminal",name:e.name};case"PegGroup":return s(e.element);case"PegAny":return{type:"special",text:e.dot};default:throw Error(`Unsupported PEG primary node: ${e.$type}`)}},"transformPrimary"),c=t((e)=>({name:e.name,definition:s(e.definition)}),"transformRule"),f=t((e)=>{if(re(e,he),e.title)he.setTitle(e.title);e.rules.map((r)=>he.addRule(c(r)))},"populateDb"),d={parse:t((e)=>{he.clear(),a.debug("[PEG Parser] Starting Langium parse");let r=i.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new fn(r);let n=r.value;a.debug("[PEG Parser] Parsed rules:",n.rules.length),f(n),a.debug("[PEG Parser] Parse complete")},"parse"),parser:{yy:he}},w={parser:d,db:he,renderer:Tn,styles:Sn};export{w as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Ca}from"./chunk-bdypt5mj.js";export{Ca as createRailroadPegServices};
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/web/index.html CHANGED
@@ -15,7 +15,17 @@
15
15
  <link rel="icon" href="./icon-1wgy7kzy.svg" type="image/svg+xml" />
16
16
  <link rel="apple-touch-icon" href="./apple-touch-icon-7dkm33qp.png" />
17
17
 
18
- <link rel="stylesheet" crossorigin href="./chunk-vh8pkcem.css"><script type="module" crossorigin src="./chunk-bcp6na49.js"></script></head>
18
+ <script>
19
+ // 第一次打开(这台服务器还没保存)时,趁主代码还在下载先把服务器信息请求发出去,启动时直接拿来用
20
+ try {
21
+ const saved = JSON.parse(localStorage.getItem("basalt.servers") || "[]")
22
+ if (!saved.some((server) => server.url === location.origin))
23
+ window.__basaltInfo = fetch("/api/info")
24
+ .then((response) => (response.ok ? response.json() : undefined))
25
+ .catch(() => {})
26
+ } catch {}
27
+ </script>
28
+ <link rel="stylesheet" crossorigin href="./chunk-vh8pkcem.css"><script type="module" crossorigin src="./chunk-fba06jm8.js"></script></head>
19
29
  <body>
20
30
  <div id="root"></div>
21
31
 
Binary file
Binary file
Binary file
Binary file
package/web/sw.js CHANGED
@@ -51,30 +51,18 @@ self.addEventListener("fetch", (event) => {
51
51
  return
52
52
  }
53
53
 
54
+ // 页面外壳先用缓存秒开,同时在后台拉新的;网再慢也不会白屏等 HTML
54
55
  if (request.mode === "navigate") {
55
56
  event.respondWith(
56
57
  (async () => {
57
- try {
58
- const response = await fetch(request)
59
- if (response.ok) {
60
- const copy = response.clone()
61
- const html = await copy.text().catch(() => "")
62
- // 检测到服务端处于 Bun 开发态(含 HMR 脚本标记)时,清理缓存并自卸载,交还给开发服务器直出
63
- if (html.includes("data-bun-dev-server-script")) {
64
- const keys = await caches.keys()
65
- await Promise.all(keys.map((key) => caches.delete(key)))
66
- await self.registration.unregister()
67
- return response
68
- }
69
- const cache = await caches.open(CACHE_NAME)
70
- void cache.put("/", response.clone())
71
- }
72
- return response
73
- } catch {
74
- const cached = (await caches.match(request)) ?? (await caches.match("/"))
75
- if (cached) return cached
76
- throw new Error("Offline")
58
+ const cached = await caches.match("/")
59
+ // 先留一份副本:缓存的响应体交给浏览器后就不能再读,后台比对新旧外壳要用
60
+ const refresh = refreshShell(request, cached?.clone(), event.resultingClientId)
61
+ if (cached) {
62
+ event.waitUntil(refresh.catch(() => undefined))
63
+ return cached
77
64
  }
65
+ return refresh
78
66
  })(),
79
67
  )
80
68
  return
@@ -96,20 +84,151 @@ self.addEventListener("fetch", (event) => {
96
84
  return
97
85
  }
98
86
 
87
+ // 其余同源静态资源(图标、清单):有缓存先给缓存,后台更新
99
88
  event.respondWith(
100
89
  (async () => {
101
- try {
102
- const response = await fetch(request)
90
+ const cached = await caches.match(request)
91
+ const network = fetch(request).then(async (response) => {
103
92
  if (response.ok) {
104
93
  const cache = await caches.open(CACHE_NAME)
105
- void cache.put(request, response.clone())
94
+ await cache.put(request, response.clone())
106
95
  }
107
96
  return response
108
- } catch {
109
- const cached = await caches.match(request)
110
- if (cached) return cached
111
- throw new Error("Offline")
97
+ })
98
+ if (cached) {
99
+ event.waitUntil(network.catch(() => undefined))
100
+ return cached
112
101
  }
102
+ return network
113
103
  })(),
114
104
  )
115
105
  })
106
+
107
+ /**
108
+ * 拉取最新的页面外壳并更新缓存。
109
+ * - 服务端处于 Bun 开发态时清空缓存并自卸载,交还给开发服务器直出;
110
+ * - 被重定向到别的站点或返回 401/403(如 Cloudflare Access 登录过期)时删掉缓存的外壳并让页面刷新,
111
+ * 下次导航走网络,用户才能看到登录页而不是一直停在连不上的旧页面;
112
+ * - 内容变了就通知页面,由页面提示刷新加载新版本。
113
+ */
114
+ async function refreshShell(request, cached, clientId) {
115
+ const response = await fetch(request)
116
+ const redirectedAway = response.redirected && new URL(response.url).origin !== self.location.origin
117
+ // 网关错误(本机暂时连不上)保留旧外壳,页面照常打开并显示离线;只有需要重新登录时才作废
118
+ if (!response.ok && !redirectedAway && response.status !== 401 && response.status !== 403) return response
119
+ if (redirectedAway || !response.ok) {
120
+ if (cached) {
121
+ // 只删外壳,带哈希的代码块仍然有效,留着下次直接用
122
+ const cache = await caches.open(CACHE_NAME)
123
+ await cache.delete("/").catch(() => undefined)
124
+ // 由 SW 直接让页面重新导航:这次没有缓存的外壳,会走网络拿到登录页或最新页面
125
+ const client = await waitForClient(clientId)
126
+ if (client) await client.navigate(client.url).catch(() => undefined)
127
+ }
128
+ return response
129
+ }
130
+ const html = await response
131
+ .clone()
132
+ .text()
133
+ .catch(() => "")
134
+ if (html.includes("data-bun-dev-server-script")) {
135
+ const keys = await caches.keys()
136
+ await Promise.all(keys.map((key) => caches.delete(key)))
137
+ await self.registration.unregister()
138
+ return response
139
+ }
140
+ const cache = await caches.open(CACHE_NAME)
141
+ await cache.put("/", response.clone())
142
+ if (cached && (await cached.text()) !== html) {
143
+ // 新版本的代码块全部下好再提示,用户点刷新时同样秒开
144
+ await precacheVersion(html)
145
+ await notifyPage(clientId, { type: "basalt-shell-updated" })
146
+ }
147
+ return response
148
+ }
149
+
150
+ const PRECACHE_CONCURRENCY = 4
151
+ // 构建产物里带哈希的文件名:代码块 chunk-xxxxxxxx.js/css,字体与图片 name-xxxxxxxx.woff2
152
+ const ASSET_NAME = /([\w.-]*-[a-z0-9]{8}\.(?:js|css|woff2|png|svg))/g
153
+ let precaching
154
+
155
+ /**
156
+ * 把一个版本用到的全部代码块(含按需加载的卡片、视图)补进缓存:从 HTML 引用的入口出发,
157
+ * 顺着 JS/CSS 里出现的带哈希文件名逐层抓取。网速慢时插件卡片也不必等网络。
158
+ * 全部抓完后删掉不再被引用的旧版本代码块,缓存不会随升级无限增长;中途断网则保留旧的,下次接着补。
159
+ */
160
+ function precacheVersion(html) {
161
+ precaching ??= crawl(html).finally(() => {
162
+ precaching = undefined
163
+ })
164
+ return precaching
165
+ }
166
+
167
+ async function crawl(html) {
168
+ const cache = await caches.open(CACHE_NAME)
169
+ const seen = new Set()
170
+ let queue = names(html)
171
+ let complete = true
172
+ while (queue.length > 0) {
173
+ const batch = queue.filter((path) => !seen.has(path)).slice(0, PRECACHE_CONCURRENCY)
174
+ const batchSet = new Set(batch)
175
+ queue = queue.filter((path) => !batchSet.has(path) && !seen.has(path))
176
+ for (const path of batch) seen.add(path)
177
+ const found = await Promise.all(
178
+ batch.map(async (path) => {
179
+ let response = await cache.match(path)
180
+ if (!response) {
181
+ response = await fetch(path).catch(() => undefined)
182
+ // 404 说明扫到的不是真文件(字符串里碰巧长得像),跳过;网络失败才算没抓完
183
+ if (!response) complete = false
184
+ if (!response?.ok) return []
185
+ await cache.put(path, response.clone())
186
+ }
187
+ return /\.(js|css)$/.test(path) ? names(await response.text()) : []
188
+ }),
189
+ )
190
+ queue.push(...found.flat())
191
+ }
192
+ if (!complete) return
193
+ for (const request of await cache.keys()) {
194
+ const path = new URL(request.url).pathname
195
+ if (isImmutableChunk(path) && !seen.has(path)) await cache.delete(request)
196
+ }
197
+ }
198
+
199
+ function names(text) {
200
+ return [...new Set([...text.matchAll(ASSET_NAME)].map((match) => `/${match[1]}`))].filter(isImmutableChunk)
201
+ }
202
+
203
+ // 首次访问时 SW 还没接管页面,代码块没经过它;页面加载完通知它按当前版本补齐缓存
204
+ self.addEventListener("message", (event) => {
205
+ if (event.data?.type !== "basalt-precache") return
206
+ event.waitUntil(
207
+ caches.match("/").then(async (shell) => {
208
+ if (shell) await precacheVersion(await shell.text())
209
+ }),
210
+ )
211
+ })
212
+
213
+ /**
214
+ * 通知这次导航打开的页面。后台刷新常常比页面创建得早,按 resultingClientId 等它出现再发;
215
+ * 等不到(浏览器不支持该字段)就发给所有窗口。
216
+ */
217
+ async function notifyPage(clientId, message) {
218
+ const client = await waitForClient(clientId)
219
+ if (client) {
220
+ client.postMessage(message)
221
+ return
222
+ }
223
+ const clients = await self.clients.matchAll({ type: "window" })
224
+ for (const each of clients) each.postMessage(message)
225
+ }
226
+
227
+ async function waitForClient(clientId) {
228
+ for (let attempt = 0; clientId && attempt < 40; attempt++) {
229
+ const client = await self.clients.get(clientId)
230
+ if (client) return client
231
+ await new Promise((resolve) => setTimeout(resolve, 250))
232
+ }
233
+ return undefined
234
+ }
package/web/sw.js.br ADDED
Binary file
package/web/sw.js.gz ADDED
Binary file
@@ -1,89 +0,0 @@
1
- import{t,a,K,u,d,N,O,yt,l,V,rt,at,Et,bt,en}from"./chunk-h8mhnze5.js";import{qe}from"./chunk-ffn1a0zw.js";var ae=function(){var e=t(function(R,r,i,o){for(i=i||{},o=R.length;o--;i[R[o]]=r);return i},"o"),f=[1,4],m=[1,13],s=[1,12],y=[1,15],x=[1,16],S=[1,20],g=[1,19],A=[6,7,8],P=[1,26],b=[1,24],j=[1,25],v=[6,7,11],Y=[1,31],L=[6,7,11,24],W=[1,6,13,16,17,20,23],k=[1,35],F=[1,36],T=[1,6,7,11,13,16,17,20,23],J=[1,38],G={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:t(function(r,i,o,c,p,n,M){var h=n.length-1;switch(p){case 6:case 7:return c;case 8:c.getLogger().trace("Stop NL ");break;case 9:c.getLogger().trace("Stop EOF ");break;case 11:c.getLogger().trace("Stop NL2 ");break;case 12:c.getLogger().trace("Stop EOF2 ");break;case 15:c.getLogger().info("Node: ",n[h-1].id),c.addNode(n[h-2].length,n[h-1].id,n[h-1].descr,n[h-1].type,n[h]);break;case 16:c.getLogger().info("Node: ",n[h].id),c.addNode(n[h-1].length,n[h].id,n[h].descr,n[h].type);break;case 17:c.getLogger().trace("Icon: ",n[h]),c.decorateNode({icon:n[h]});break;case 18:case 23:c.decorateNode({class:n[h]});break;case 19:c.getLogger().trace("SPACELIST");break;case 20:c.getLogger().trace("Node: ",n[h-1].id),c.addNode(0,n[h-1].id,n[h-1].descr,n[h-1].type,n[h]);break;case 21:c.getLogger().trace("Node: ",n[h].id),c.addNode(0,n[h].id,n[h].descr,n[h].type);break;case 22:c.decorateNode({icon:n[h]});break;case 27:c.getLogger().trace("node found ..",n[h-2]),this.$={id:n[h-1],descr:n[h-1],type:c.getType(n[h-2],n[h])};break;case 28:this.$={id:n[h],descr:n[h],type:0};break;case 29:c.getLogger().trace("node found ..",n[h-3]),this.$={id:n[h-3],descr:n[h-1],type:c.getType(n[h-2],n[h])};break;case 30:this.$=n[h-1]+n[h];break;case 31:this.$=n[h];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:f},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:f},{6:m,7:[1,10],9:9,12:11,13:s,14:14,16:y,17:x,18:17,19:18,20:S,23:g},e(A,[2,3]),{1:[2,2]},e(A,[2,4]),e(A,[2,5]),{1:[2,6],6:m,12:21,13:s,14:14,16:y,17:x,18:17,19:18,20:S,23:g},{6:m,9:22,12:11,13:s,14:14,16:y,17:x,18:17,19:18,20:S,23:g},{6:P,7:b,10:23,11:j},e(v,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:S,23:g}),e(v,[2,19]),e(v,[2,21],{15:30,24:Y}),e(v,[2,22]),e(v,[2,23]),e(L,[2,25]),e(L,[2,26]),e(L,[2,28],{20:[1,32]}),{21:[1,33]},{6:P,7:b,10:34,11:j},{1:[2,7],6:m,12:21,13:s,14:14,16:y,17:x,18:17,19:18,20:S,23:g},e(W,[2,14],{7:k,11:F}),e(T,[2,8]),e(T,[2,9]),e(T,[2,10]),e(v,[2,16],{15:37,24:Y}),e(v,[2,17]),e(v,[2,18]),e(v,[2,20],{24:J}),e(L,[2,31]),{21:[1,39]},{22:[1,40]},e(W,[2,13],{7:k,11:F}),e(T,[2,11]),e(T,[2,12]),e(v,[2,15],{24:J}),e(L,[2,30]),{22:[1,41]},e(L,[2,27]),e(L,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(r,i){if(i.recoverable)this.trace(r);else{var o=Error(r);throw o.hash=i,o}},"parseError"),parse:t(function(r){var i=this,o=[0],c=[],p=[null],n=[],M=this.table,h="",q=0,he=0,ue=0,be=2,ge=1,ye=n.slice.call(arguments,1),_=Object.create(this.lexer),U={yy:{}};for(var te in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,te))U.yy[te]=this.yy[te];if(_.setInput(r,U.yy),U.yy.lexer=_,U.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var ne=_.yylloc;n.push(ne);var me=_.options&&_.options.ranges;if(typeof U.yy.parseError==="function")this.parseError=U.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ke(C){o.length=o.length-2*C,p.length=p.length-C,n.length=n.length-C}t(ke,"popStack");function de(){var C=c.pop()||_.lex()||ge;if(typeof C!=="number"){if(C instanceof Array)c=C,C=c.pop();C=i.symbols_[C]||C}return C}t(de,"lex");var D,ie,H,I,je,re,X={},Q,B,pe,Z;while(!0){if(H=o[o.length-1],this.defaultActions[H])I=this.defaultActions[H];else{if(D===null||typeof D>"u")D=de();I=M[H]&&M[H][D]}if(typeof I>"u"||!I.length||!I[0]){var se="";Z=[];for(Q in M[H])if(this.terminals_[Q]&&Q>be)Z.push("'"+this.terminals_[Q]+"'");if(_.showPosition)se="Parse error on line "+(q+1)+`:
2
- `+_.showPosition()+`
3
- Expecting `+Z.join(", ")+", got '"+(this.terminals_[D]||D)+"'";else se="Parse error on line "+(q+1)+": Unexpected "+(D==ge?"end of input":"'"+(this.terminals_[D]||D)+"'");this.parseError(se,{text:_.match,token:this.terminals_[D]||D,line:_.yylineno,loc:ne,expected:Z})}if(I[0]instanceof Array&&I.length>1)throw Error("Parse Error: multiple actions possible at state: "+H+", token: "+D);switch(I[0]){case 1:if(o.push(D),p.push(_.yytext),n.push(_.yylloc),o.push(I[1]),D=null,!ie){if(he=_.yyleng,h=_.yytext,q=_.yylineno,ne=_.yylloc,ue>0)ue--}else D=ie,ie=null;break;case 2:if(B=this.productions_[I[1]][1],X.$=p[p.length-B],X._$={first_line:n[n.length-(B||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(B||1)].first_column,last_column:n[n.length-1].last_column},me)X._$.range=[n[n.length-(B||1)].range[0],n[n.length-1].range[1]];if(re=this.performAction.apply(X,[h,he,q,U.yy,I[1],p,n].concat(ye)),typeof re<"u")return re;if(B)o=o.slice(0,-1*B*2),p=p.slice(0,-1*B),n=n.slice(0,-1*B);o.push(this.productions_[I[1]][0]),p.push(X.$),n.push(X._$),pe=M[o[o.length-2]][o[o.length-1]],o.push(pe);break;case 3:return!0}}return!0},"parse")},ee=function(){var R={EOF:1,parseError:t(function(i,o){if(this.yy.parser)this.yy.parser.parseError(i,o);else throw Error(i)},"parseError"),setInput:t(function(r,i){if(this.yy=i||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var i=r.match(/(?:\r\n?|\n).*/g);if(i)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),r},"input"),unput:t(function(r){var i=r.length,o=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var c=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),o.length-1)this.yylineno-=o.length-1;var p=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===c.length?this.yylloc.first_column:0)+c[c.length-o.length].length-o[0].length:this.yylloc.first_column-i},this.options.ranges)this.yylloc.range=[p[0],p[0]+this.yyleng-i];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
- `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(r){this.unput(this.match.slice(r))},"less"),pastInput:t(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var r=this.match;if(r.length<20)r+=this._input.substr(0,20-r.length);return(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var r=this.pastInput(),i=Array(r.length+1).join("-");return r+this.upcomingInput()+`
5
- `+i+"^"},"showPosition"),test_match:t(function(r,i){var o,c,p;if(this.options.backtrack_lexer){if(p={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)p.yylloc.range=this.yylloc.range.slice(0)}if(c=r[0].match(/(?:\r\n?|\n).*/g),c)this.yylineno+=c.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(r[0].length),this.matched+=r[0],o=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(o)return o;else if(this._backtrack){for(var n in p)this[n]=p[n];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var r,i,o,c;if(!this._more)this.yytext="",this.match="";var p=this._currentRules();for(var n=0;n<p.length;n++)if(o=this._input.match(this.rules[p[n]]),o&&(!i||o[0].length>i[0].length)){if(i=o,c=n,this.options.backtrack_lexer)if(r=this.test_match(o,p[n]),r!==!1)return r;else if(this._backtrack){i=!1;continue}else return!1;else if(!this.options.flex)break}if(i){if(r=this.test_match(i,p[c]),r!==!1)return r;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var i=this.next();if(i)return i;else return this.lex()},"lex"),begin:t(function(i){this.conditionStack.push(i)},"begin"),popState:t(function(){var i=this.conditionStack.length-1;if(i>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(i){if(i=this.conditionStack.length-1-Math.abs(i||0),i>=0)return this.conditionStack[i];else return"INITIAL"},"topState"),pushState:t(function(i){this.begin(i)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(i,o,c,p){var n=p;switch(c){case 0:return this.pushState("shapeData"),o.yytext="",24;break;case 1:return this.pushState("shapeDataStr"),24;break;case 2:return this.popState(),24;break;case 3:let M=/\n\s*/g;return o.yytext=o.yytext.replace(M,"<br/>"),24;break;case 4:return 24;case 5:this.popState();break;case 6:return i.getLogger().trace("Found comment",o.yytext),6;break;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;break;case 10:this.popState();break;case 11:i.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return i.getLogger().trace("SPACELINE"),6;break;case 13:return 7;case 14:return 16;case 15:i.getLogger().trace("end icon"),this.popState();break;case 16:return i.getLogger().trace("Exploding node"),this.begin("NODE"),20;break;case 17:return i.getLogger().trace("Cloud"),this.begin("NODE"),20;break;case 18:return i.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;break;case 19:return i.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;break;case 20:return this.begin("NODE"),20;break;case 21:return this.begin("NODE"),20;break;case 22:return this.begin("NODE"),20;break;case 23:return this.begin("NODE"),20;break;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:i.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return i.getLogger().trace("description:",o.yytext),"NODE_DESCR";break;case 32:this.popState();break;case 33:return this.popState(),i.getLogger().trace("node end ))"),"NODE_DEND";break;case 34:return this.popState(),i.getLogger().trace("node end )"),"NODE_DEND";break;case 35:return this.popState(),i.getLogger().trace("node end ...",o.yytext),"NODE_DEND";break;case 36:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";break;case 37:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";break;case 38:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";break;case 39:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";break;case 40:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";break;case 41:return i.getLogger().trace("Long description:",o.yytext),21;break;case 42:return i.getLogger().trace("Long description:",o.yytext),21;break}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return R}();G.lexer=ee;function z(){this.yy={}}return t(z,"Parser"),z.prototype=G,G.Parser=z,new z}();ae.parser=ae;var Ee=ae,w=[],ce=[],oe=0,le={},_e=t(()=>{w=[],ce=[],oe=0,le={}},"clear"),Se=t((e)=>{if(w.length===0)return null;let f=w[0].level,m=null;for(let s=w.length-1;s>=0;s--){if(w[s].level===f&&!m)m=w[s];if(w[s].level<f)throw Error('Items without section detected, found section ("'+w[s].label+'")')}if(e===m?.level)return null;return m},"getSection"),fe=t(function(){return ce},"getSections"),Ne=t(function(){let e=[],f=[],m=fe(),s=l();for(let y of m){let x={id:y.id,label:O(y.label??"",s),labelType:"markdown",isGroup:!0,ticket:y.ticket,shape:"kanbanSection",level:y.level,look:s.look};f.push(x);let S=w.filter((g)=>g.parentId===y.id);for(let g of S){let A={id:g.id,parentId:y.id,label:O(g.label??"",s),labelType:"markdown",isGroup:!1,ticket:g?.ticket,priority:g?.priority,assigned:g?.assigned,icon:g?.icon,shape:"kanbanItem",level:g.level,rx:5,ry:5,cssStyles:["text-align: left"]};f.push(A)}}return{nodes:f,edges:e,other:{},config:l()}},"getData"),xe=t((e,f,m,s,y)=>{let x=l(),S=x.mindmap?.padding??N.mindmap.padding;switch(s){case E.ROUNDED_RECT:case E.RECT:case E.HEXAGON:S*=2}let g={id:O(f,x)||"kbn"+oe++,level:e,label:O(m,x),width:x.mindmap?.maxNodeWidth??N.mindmap.maxNodeWidth,padding:S,isGroup:!1};if(y!==void 0){let P;if(!y.includes(`
7
- `))P=`{
8
- `+y+`
9
- }`;else P=y+`
10
- `;let b=at(P,{schema:rt});if(b.shape&&(b.shape!==b.shape.toLowerCase()||b.shape.includes("_")))throw Error(`No such shape: ${b.shape}. Shape names should be lowercase.`);if(b?.shape&&b.shape==="kanbanItem")g.shape=b?.shape;if(b?.label)g.label=b?.label;if(b?.icon)g.icon=b?.icon.toString();if(b?.assigned)g.assigned=b?.assigned.toString();if(b?.ticket)g.ticket=b?.ticket.toString();if(b?.priority)g.priority=b?.priority}let A=Se(e);if(A)g.parentId=A.id||"kbn"+oe++;else ce.push(g);w.push(g)},"addNode"),E={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},ve=t((e,f)=>{switch(a.debug("In get type",e,f),e){case"[":return E.RECT;case"(":return f===")"?E.ROUNDED_RECT:E.CLOUD;case"((":return E.CIRCLE;case")":return E.CLOUD;case"))":return E.BANG;case"{{":return E.HEXAGON;default:return E.DEFAULT}},"getType"),De=t((e,f)=>{le[e]=f},"setElementForId"),Le=t((e)=>{if(!e)return;let f=l(),m=w[w.length-1];if(e.icon)m.icon=O(e.icon,f);if(e.class)m.cssClasses=O(e.class,f)},"decorateNode"),Oe=t((e)=>{switch(e){case E.DEFAULT:return"no-border";case E.RECT:return"rect";case E.ROUNDED_RECT:return"rounded-rect";case E.CIRCLE:return"circle";case E.CLOUD:return"cloud";case E.BANG:return"bang";case E.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),Ie=t(()=>a,"getLogger"),Ce=t((e)=>le[e],"getElementById"),we={clear:_e,addNode:xe,getSections:fe,getData:Ne,nodeType:E,getType:ve,setElementForId:De,decorateNode:Le,type2Str:Oe,getLogger:Ie,getElementById:Ce},Ae=we,Te=t(async(e,f,m,s)=>{a.debug(`Rendering kanban diagram
11
- `+e);let x=s.db.getData(),S=l();S.htmlLabels=!1;let g=V(f);for(let k of x.nodes)k.domId=`${f}-${k.id}`;let A=g.append("g");A.attr("class","sections");let P=g.append("g");P.attr("class","items");let b=x.nodes.filter((k)=>k.isGroup),j=0,v=10,Y=[],L=25;for(let k of b){let F=S?.kanban?.sectionWidth||200;j=j+1,k.x=F*j+(j-1)*v/2,k.width=F,k.y=0,k.height=F*3,k.rx=5,k.ry=5,k.cssClasses=k.cssClasses+" section-"+j;let T=await en(A,k);L=Math.max(L,T?.labelBBox?.height),Y.push(T)}let W=0;for(let k of b){let F=Y[W];W=W+1;let T=S?.kanban?.sectionWidth||200,J=-T*3/2+L,G=J,ee=x.nodes.filter((r)=>r.parentId===k.id);for(let r of ee){if(r.isGroup)throw Error("Groups within groups are not allowed in Kanban diagrams");r.x=k.x,r.width=T-1.5*v;let o=(await Et(P,r,{config:S})).node().getBBox();r.y=G+o.height/2,await bt(r),G=r.y+o.height/2+v/2}let z=F.cluster.select("rect"),R=Math.max(G-J+3*v,50)+(L-25);z.attr("height",R)}yt(void 0,g,S.mindmap?.padding??N.kanban.padding,S.mindmap?.useMaxWidth??N.kanban.useMaxWidth)},"draw"),Re={draw:Te},Pe=t((e)=>{let f="";for(let s=0;s<e.THEME_COLOR_LIMIT;s++)if(e["lineColor"+s]=e["lineColor"+s]||e["cScaleInv"+s],K(e["lineColor"+s]))e["lineColor"+s]=u(e["lineColor"+s],20);else e["lineColor"+s]=d(e["lineColor"+s],20);let m=t((s,y)=>e.darkMode?d(s,y):u(s,y),"adjuster");for(let s=0;s<e.THEME_COLOR_LIMIT;s++){let y=""+(17-3*s);f+=`
12
- .section-${s-1} rect, .section-${s-1} path, .section-${s-1} circle, .section-${s-1} polygon, .section-${s-1} path {
13
- fill: ${m(e["cScale"+s],10)};
14
- stroke: ${m(e["cScale"+s],10)};
15
-
16
- }
17
- .section-${s-1} text {
18
- fill: ${e["cScaleLabel"+s]};
19
- }
20
- .node-icon-${s-1} {
21
- font-size: 40px;
22
- color: ${e["cScaleLabel"+s]};
23
- }
24
- .section-edge-${s-1}{
25
- stroke: ${e["cScale"+s]};
26
- }
27
- .edge-depth-${s-1}{
28
- stroke-width: ${y};
29
- }
30
- .section-${s-1} line {
31
- stroke: ${e["cScaleInv"+s]} ;
32
- stroke-width: 3;
33
- }
34
-
35
- .disabled, .disabled circle, .disabled text {
36
- fill: lightgray;
37
- }
38
- .disabled text {
39
- fill: #efefef;
40
- }
41
-
42
- .node rect,
43
- .node circle,
44
- .node ellipse,
45
- .node polygon,
46
- .node path {
47
- fill: ${e.background};
48
- stroke: ${e.nodeBorder};
49
- stroke-width: 1px;
50
- }
51
-
52
- .kanban-ticket-link {
53
- fill: ${e.background};
54
- stroke: ${e.nodeBorder};
55
- text-decoration: underline;
56
- }
57
- `}return f},"genSections"),Ve=t((e)=>`
58
- .edge {
59
- stroke-width: 3;
60
- }
61
- ${Pe(e)}
62
- .section-root rect, .section-root path, .section-root circle, .section-root polygon {
63
- fill: ${e.git0};
64
- }
65
- .section-root text {
66
- fill: ${e.gitBranchLabel0};
67
- }
68
- .icon-container {
69
- height:100%;
70
- display: flex;
71
- justify-content: center;
72
- align-items: center;
73
- }
74
- .edge {
75
- fill: none;
76
- }
77
- .cluster-label, .label {
78
- color: ${e.textColor};
79
- fill: ${e.textColor};
80
- }
81
- .kanban-label {
82
- dy: 1em;
83
- alignment-baseline: middle;
84
- text-anchor: middle;
85
- dominant-baseline: middle;
86
- text-align: center;
87
- }
88
- ${qe()}
89
- `,"getStyles"),Be=Ve,tt={db:Ae,renderer:Re,parser:Ee,styles:Be};export{tt as diagram};
@@ -1 +0,0 @@
1
- import{mi}from"./chunk-ctmxm4qd.js";export{mi as default};
@@ -1 +0,0 @@
1
- import{$i}from"./chunk-tfsrk2rc.js";export{$i as createPieServices};