@bkm016/basalt 0.1.30 → 0.1.31

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 (861) hide show
  1. package/README.md +1 -0
  2. package/chunk-04326385.js +39 -0
  3. package/chunk-0er07d2g.js +51 -0
  4. package/chunk-0ge4k9gq.js +2 -0
  5. package/chunk-11zc1b2w.js +3 -0
  6. package/chunk-12203fgm.js +2 -0
  7. package/chunk-194d4z7x.js +7 -0
  8. package/chunk-1apm7p2e.js +2 -0
  9. package/chunk-1t0yzkg7.js +4 -0
  10. package/chunk-2csz31nh.js +2 -0
  11. package/chunk-2rqpfv4h.js +3 -0
  12. package/chunk-39cfcar4.js +3 -0
  13. package/chunk-3gw871zb.js +2 -0
  14. package/chunk-4a5xttdp.js +3 -0
  15. package/chunk-4st5xeee.js +2 -0
  16. package/chunk-5h17n6g1.js +3 -0
  17. package/chunk-5rn18vrq.js +5 -0
  18. package/chunk-5tdnvdmz.js +2 -0
  19. package/chunk-6gzvp0f6.js +50 -0
  20. package/chunk-6qavr39k.js +2 -0
  21. package/chunk-6xn0r0dd.js +3 -0
  22. package/chunk-71pz02bd.js +8 -0
  23. package/chunk-7h76jrss.js +7 -0
  24. package/chunk-7hss4hs3.js +7 -0
  25. package/chunk-7vdq0wye.js +2 -0
  26. package/chunk-7w187ycz.js +10 -0
  27. package/chunk-81s7mvf2.js +16 -0
  28. package/chunk-8j8acxde.js +2 -0
  29. package/chunk-9nfz04yr.js +2 -0
  30. package/chunk-9nkb5q43.js +3 -0
  31. package/chunk-9zcfam20.js +2 -0
  32. package/chunk-a6zvmsbh.js +12 -0
  33. package/chunk-anr8aghq.js +59 -0
  34. package/chunk-av8zh9yp.js +2 -0
  35. package/chunk-bwv97dtf.js +2 -0
  36. package/chunk-cjy4rssa.js +10 -0
  37. package/chunk-dmdyqq1k.js +2 -0
  38. package/chunk-dzvq7vt6.js +2 -0
  39. package/chunk-ejrksf6g.js +3 -0
  40. package/chunk-erxka5vh.js +18 -0
  41. package/chunk-fc41dvhp.js +12 -0
  42. package/chunk-fsekbhqb.js +3 -0
  43. package/chunk-fwcqcecb.js +8 -0
  44. package/chunk-hhwnmhbb.js +2 -0
  45. package/chunk-jm2bn5mq.js +3 -0
  46. package/chunk-jm5j5jfy.js +3 -0
  47. package/chunk-jsvr3s4q.js +5 -0
  48. package/chunk-jwk5a5tk.js +25 -0
  49. package/chunk-khy3j5kp.js +63 -0
  50. package/chunk-mwc59w50.js +31 -0
  51. package/chunk-mypbpphn.js +3 -0
  52. package/chunk-ng5ncy65.js +2 -0
  53. package/chunk-nmvayfq3.js +3 -0
  54. package/chunk-nw4h0wm9.js +2 -0
  55. package/chunk-pxsgm6ff.js +2 -0
  56. package/chunk-rbfpa63e.js +3 -0
  57. package/chunk-rsrh5dgx.js +2 -0
  58. package/chunk-s2pm97nk.js +286 -0
  59. package/chunk-s6tnmg6x.js +3 -0
  60. package/chunk-se548edt.js +20 -0
  61. package/chunk-tsdeeqb8.js +3 -0
  62. package/chunk-vnv3a6t2.js +3 -0
  63. package/chunk-vrsh8cx1.js +3 -0
  64. package/chunk-vx4v71t4.js +498 -0
  65. package/chunk-w3v8zahw.js +2 -0
  66. package/chunk-w6m8c4vf.js +11 -0
  67. package/chunk-wd7sj5cv.js +2 -0
  68. package/chunk-we8v9wkw.js +9 -0
  69. package/chunk-wvn68m5f.js +4058 -0
  70. package/chunk-x055cas0.js +5 -0
  71. package/chunk-x2ry671h.js +44 -0
  72. package/chunk-x5vrtxkj.js +3 -0
  73. package/chunk-xedzsj31.js +5 -0
  74. package/chunk-xp83v3zm.js +2 -0
  75. package/chunk-ykzm5g1b.js +25 -0
  76. package/chunk-yq2bwebb.js +3 -0
  77. package/chunk-yygcpnwc.js +3 -0
  78. package/chunk-zjf34acb.js +2 -0
  79. package/compiled.js +8 -8
  80. package/package.json +1 -1
  81. package/ui-test-worker.js +18 -18
  82. package/web/chunk-01mrggts.js +1 -0
  83. package/web/chunk-01mrggts.js.br +0 -0
  84. package/web/chunk-01mrggts.js.gz +0 -0
  85. package/web/chunk-0b25tje3.js +1 -0
  86. package/web/chunk-0b25tje3.js.br +0 -0
  87. package/web/chunk-0b25tje3.js.gz +0 -0
  88. package/web/chunk-0g46ww9d.js +1 -0
  89. package/web/chunk-0g46ww9d.js.br +0 -0
  90. package/web/chunk-0g46ww9d.js.gz +0 -0
  91. package/web/chunk-0grg8w51.js +200 -0
  92. package/web/chunk-0grg8w51.js.br +0 -0
  93. package/web/chunk-0grg8w51.js.gz +0 -0
  94. package/web/chunk-0qf3m69c.js +24 -0
  95. package/web/chunk-0qf3m69c.js.br +0 -0
  96. package/web/chunk-0qf3m69c.js.gz +0 -0
  97. package/web/chunk-14yejkcn.js +7 -0
  98. package/web/chunk-14yejkcn.js.br +0 -0
  99. package/web/chunk-14yejkcn.js.gz +0 -0
  100. package/web/chunk-1ffzwm6m.js +106 -0
  101. package/web/chunk-1ffzwm6m.js.br +0 -0
  102. package/web/chunk-1ffzwm6m.js.gz +0 -0
  103. package/web/chunk-1ncaw3hk.js +3 -0
  104. package/web/chunk-1ncaw3hk.js.br +0 -0
  105. package/web/chunk-1ncaw3hk.js.gz +0 -0
  106. package/web/chunk-1x2kh4he.js +1 -0
  107. package/web/chunk-1x2kh4he.js.br +0 -0
  108. package/web/chunk-1x2kh4he.js.gz +0 -0
  109. package/web/chunk-23atmwvk.js +2 -0
  110. package/web/chunk-23atmwvk.js.br +0 -0
  111. package/web/chunk-23atmwvk.js.gz +0 -0
  112. package/web/chunk-2gfgrjy6.js +142 -0
  113. package/web/chunk-2gfgrjy6.js.br +0 -0
  114. package/web/chunk-2gfgrjy6.js.gz +0 -0
  115. package/web/chunk-2vqn82nw.js +139 -0
  116. package/web/chunk-2vqn82nw.js.br +0 -0
  117. package/web/chunk-2vqn82nw.js.gz +0 -0
  118. package/web/chunk-2wzvn2ne.js +1 -0
  119. package/web/chunk-2wzvn2ne.js.br +0 -0
  120. package/web/chunk-2wzvn2ne.js.gz +0 -0
  121. package/web/chunk-3at8qbcv.js +89 -0
  122. package/web/chunk-3at8qbcv.js.br +0 -0
  123. package/web/chunk-3at8qbcv.js.gz +0 -0
  124. package/web/chunk-3b97pd97.js +120 -0
  125. package/web/chunk-3b97pd97.js.br +0 -0
  126. package/web/chunk-3b97pd97.js.gz +0 -0
  127. package/web/chunk-3q5j14ah.js +1 -0
  128. package/web/chunk-3q5j14ah.js.br +0 -0
  129. package/web/chunk-3q5j14ah.js.gz +0 -0
  130. package/web/chunk-4wpvkw6b.js +1141 -0
  131. package/web/chunk-4wpvkw6b.js.br +0 -0
  132. package/web/chunk-4wpvkw6b.js.gz +0 -0
  133. package/web/chunk-51m79xhr.js +2 -0
  134. package/web/chunk-51m79xhr.js.br +2 -0
  135. package/web/chunk-51m79xhr.js.gz +0 -0
  136. package/web/chunk-5c6q7asc.js +1 -0
  137. package/web/chunk-5c6q7asc.js.br +0 -0
  138. package/web/chunk-5c6q7asc.js.gz +0 -0
  139. package/web/chunk-5vbnqhs0.js +38 -0
  140. package/web/chunk-5vbnqhs0.js.br +0 -0
  141. package/web/chunk-5vbnqhs0.js.gz +0 -0
  142. package/web/chunk-688a15p4.js +2 -0
  143. package/web/chunk-688a15p4.js.br +0 -0
  144. package/web/chunk-688a15p4.js.gz +0 -0
  145. package/web/chunk-6geede02.js +217 -0
  146. package/web/chunk-6geede02.js.br +0 -0
  147. package/web/chunk-6geede02.js.gz +0 -0
  148. package/web/chunk-6j37ynfq.js +1 -0
  149. package/web/chunk-6j37ynfq.js.br +0 -0
  150. package/web/chunk-6j37ynfq.js.gz +0 -0
  151. package/web/chunk-7j7btfha.js +292 -0
  152. package/web/chunk-7j7btfha.js.br +0 -0
  153. package/web/chunk-7j7btfha.js.gz +0 -0
  154. package/web/chunk-8299qcyc.js +1 -0
  155. package/web/chunk-8299qcyc.js.br +0 -0
  156. package/web/chunk-8299qcyc.js.gz +0 -0
  157. package/web/chunk-8mncz9c6.js +89 -0
  158. package/web/chunk-8mncz9c6.js.br +0 -0
  159. package/web/chunk-8mncz9c6.js.gz +0 -0
  160. package/web/chunk-8pygn7wf.js +1 -0
  161. package/web/chunk-8pygn7wf.js.br +0 -0
  162. package/web/chunk-8pygn7wf.js.gz +0 -0
  163. package/web/chunk-8ye62j8m.js +2 -0
  164. package/web/chunk-8ye62j8m.js.br +3 -0
  165. package/web/chunk-8ye62j8m.js.gz +0 -0
  166. package/web/chunk-982457hh.js +1 -0
  167. package/web/chunk-982457hh.js.br +2 -0
  168. package/web/chunk-982457hh.js.gz +0 -0
  169. package/web/chunk-9f9pp12b.js +1 -0
  170. package/web/chunk-9f9pp12b.js.br +0 -0
  171. package/web/chunk-9f9pp12b.js.gz +0 -0
  172. package/web/chunk-9k6d95ab.js +1 -0
  173. package/web/chunk-9k6d95ab.js.br +0 -0
  174. package/web/chunk-9k6d95ab.js.gz +0 -0
  175. package/web/chunk-9z4tf6fd.js +1 -0
  176. package/web/chunk-9z4tf6fd.js.br +0 -0
  177. package/web/chunk-9z4tf6fd.js.gz +0 -0
  178. package/web/chunk-ayamka39.js +1 -0
  179. package/web/chunk-ayamka39.js.br +0 -0
  180. package/web/chunk-ayamka39.js.gz +0 -0
  181. package/web/chunk-b6k80wbw.js +1 -0
  182. package/web/chunk-b6k80wbw.js.br +0 -0
  183. package/web/chunk-b6k80wbw.js.gz +0 -0
  184. package/web/chunk-b6w2gmw0.js +2 -0
  185. package/web/chunk-b6w2gmw0.js.br +0 -0
  186. package/web/chunk-b6w2gmw0.js.gz +0 -0
  187. package/web/chunk-ba22js10.js +84 -0
  188. package/web/chunk-ba22js10.js.br +0 -0
  189. package/web/chunk-ba22js10.js.gz +0 -0
  190. package/web/chunk-bq7y294e.js +34 -0
  191. package/web/chunk-bq7y294e.js.br +0 -0
  192. package/web/chunk-bq7y294e.js.gz +0 -0
  193. package/web/chunk-c0vc50pd.js +4 -0
  194. package/web/chunk-c0vc50pd.js.br +0 -0
  195. package/web/chunk-c0vc50pd.js.gz +0 -0
  196. package/web/chunk-cf9886tj.js +2 -0
  197. package/web/chunk-cf9886tj.js.br +0 -0
  198. package/web/chunk-cf9886tj.js.gz +0 -0
  199. package/web/chunk-cqf4fzk6.js +16 -0
  200. package/web/chunk-cqf4fzk6.js.br +0 -0
  201. package/web/chunk-cqf4fzk6.js.gz +0 -0
  202. package/web/chunk-ct9sq4ka.js +1 -0
  203. package/web/chunk-ct9sq4ka.js.br +0 -0
  204. package/web/chunk-ct9sq4ka.js.gz +0 -0
  205. package/web/chunk-cy60hc6q.js +2 -0
  206. package/web/chunk-cy60hc6q.js.br +0 -0
  207. package/web/chunk-cy60hc6q.js.gz +0 -0
  208. package/web/chunk-cygtgz2r.js +2 -0
  209. package/web/chunk-cygtgz2r.js.br +0 -0
  210. package/web/chunk-cygtgz2r.js.gz +0 -0
  211. package/web/chunk-dgf0f0er.js +214 -0
  212. package/web/chunk-dgf0f0er.js.br +0 -0
  213. package/web/chunk-dgf0f0er.js.gz +0 -0
  214. package/web/chunk-dscn4mpq.js +4 -0
  215. package/web/chunk-dscn4mpq.js.br +0 -0
  216. package/web/chunk-dscn4mpq.js.gz +0 -0
  217. package/web/chunk-e7683p83.js +1 -0
  218. package/web/chunk-e7683p83.js.br +0 -0
  219. package/web/chunk-e7683p83.js.gz +0 -0
  220. package/web/chunk-eanfvatc.js +1 -0
  221. package/web/chunk-eanfvatc.js.br +0 -0
  222. package/web/chunk-eanfvatc.js.gz +0 -0
  223. package/web/chunk-egfn5522.js +1 -0
  224. package/web/chunk-egfn5522.js.br +3 -0
  225. package/web/chunk-egfn5522.js.gz +0 -0
  226. package/web/chunk-ejk5ec5n.js +1 -0
  227. package/web/chunk-ejk5ec5n.js.br +0 -0
  228. package/web/chunk-ejk5ec5n.js.gz +0 -0
  229. package/web/chunk-en5n60qw.js +2 -0
  230. package/web/chunk-en5n60qw.js.br +0 -0
  231. package/web/chunk-en5n60qw.js.gz +0 -0
  232. package/web/chunk-fzffxer1.js +41 -0
  233. package/web/chunk-fzffxer1.js.br +0 -0
  234. package/web/chunk-fzffxer1.js.gz +0 -0
  235. package/web/chunk-g19dt2gr.js +55 -0
  236. package/web/chunk-g19dt2gr.js.br +0 -0
  237. package/web/chunk-g19dt2gr.js.gz +0 -0
  238. package/web/chunk-g6cj4czr.js +2 -0
  239. package/web/chunk-g6cj4czr.js.br +0 -0
  240. package/web/chunk-g6cj4czr.js.gz +0 -0
  241. package/web/chunk-gbv8v3z7.js +78 -0
  242. package/web/chunk-gbv8v3z7.js.br +0 -0
  243. package/web/chunk-gbv8v3z7.js.gz +0 -0
  244. package/web/chunk-h1w081tm.js +12 -0
  245. package/web/chunk-h1w081tm.js.br +0 -0
  246. package/web/chunk-h1w081tm.js.gz +0 -0
  247. package/web/chunk-h87t8gsr.js +1 -0
  248. package/web/chunk-h87t8gsr.js.br +0 -0
  249. package/web/chunk-h87t8gsr.js.gz +0 -0
  250. package/web/chunk-haewrbm7.js +1 -0
  251. package/web/chunk-haewrbm7.js.br +0 -0
  252. package/web/chunk-haewrbm7.js.gz +0 -0
  253. package/web/chunk-hahz28y7.js +2 -0
  254. package/web/chunk-hahz28y7.js.br +0 -0
  255. package/web/chunk-hahz28y7.js.gz +0 -0
  256. package/web/chunk-hqz75fkz.js +1 -0
  257. package/web/chunk-hqz75fkz.js.br +0 -0
  258. package/web/chunk-hqz75fkz.js.gz +0 -0
  259. package/web/chunk-hr4fa514.js +2 -0
  260. package/web/chunk-hr4fa514.js.br +0 -0
  261. package/web/chunk-hr4fa514.js.gz +0 -0
  262. package/web/chunk-j7vtqbbc.js +1 -0
  263. package/web/chunk-j7vtqbbc.js.br +0 -0
  264. package/web/chunk-j7vtqbbc.js.gz +0 -0
  265. package/web/chunk-jt33d37t.js +1 -0
  266. package/web/chunk-jt33d37t.js.br +0 -0
  267. package/web/chunk-jt33d37t.js.gz +0 -0
  268. package/web/chunk-k3qt0rx5.js +2 -0
  269. package/web/chunk-k3qt0rx5.js.br +0 -0
  270. package/web/chunk-k3qt0rx5.js.gz +0 -0
  271. package/web/chunk-kgmw7sh4.js +1 -0
  272. package/web/chunk-kgmw7sh4.js.br +0 -0
  273. package/web/chunk-kgmw7sh4.js.gz +0 -0
  274. package/web/chunk-kjvk8prw.js +1 -0
  275. package/web/chunk-kjvk8prw.js.br +0 -0
  276. package/web/chunk-kjvk8prw.js.gz +0 -0
  277. package/web/chunk-kq7snx3t.js +1 -0
  278. package/web/chunk-kq7snx3t.js.br +0 -0
  279. package/web/chunk-kq7snx3t.js.gz +0 -0
  280. package/web/chunk-kvteqhz2.js +1 -0
  281. package/web/chunk-kvteqhz2.js.br +2 -0
  282. package/web/chunk-kvteqhz2.js.gz +0 -0
  283. package/web/chunk-kypct03a.js +169 -0
  284. package/web/chunk-kypct03a.js.br +0 -0
  285. package/web/chunk-kypct03a.js.gz +0 -0
  286. package/web/chunk-m4hz4v80.js +370 -0
  287. package/web/chunk-m4hz4v80.js.br +0 -0
  288. package/web/chunk-m4hz4v80.js.gz +0 -0
  289. package/web/chunk-m5k8jhya.js +40 -0
  290. package/web/chunk-m5k8jhya.js.br +0 -0
  291. package/web/chunk-m5k8jhya.js.gz +0 -0
  292. package/web/chunk-mr38k717.js +140 -0
  293. package/web/chunk-mr38k717.js.br +0 -0
  294. package/web/chunk-mr38k717.js.gz +0 -0
  295. package/web/chunk-mtcet6gc.js +2 -0
  296. package/web/chunk-mtcet6gc.js.br +0 -0
  297. package/web/chunk-mtcet6gc.js.gz +0 -0
  298. package/web/chunk-mtfv8gjh.js +291 -0
  299. package/web/chunk-mtfv8gjh.js.br +0 -0
  300. package/web/chunk-mtfv8gjh.js.gz +0 -0
  301. package/web/chunk-nnyjx4ef.js +1 -0
  302. package/web/chunk-nnyjx4ef.js.br +0 -0
  303. package/web/chunk-nnyjx4ef.js.gz +0 -0
  304. package/web/chunk-npn3fk69.js +1 -0
  305. package/web/chunk-npn3fk69.js.br +2 -0
  306. package/web/chunk-npn3fk69.js.gz +0 -0
  307. package/web/chunk-p2gdfpjs.js +2 -0
  308. package/web/chunk-p2gdfpjs.js.br +0 -0
  309. package/web/chunk-p2gdfpjs.js.gz +0 -0
  310. package/web/chunk-q0by2m1w.js +21 -0
  311. package/web/chunk-q0by2m1w.js.br +0 -0
  312. package/web/chunk-q0by2m1w.js.gz +0 -0
  313. package/web/chunk-q6k872kv.js +7 -0
  314. package/web/chunk-q6k872kv.js.br +0 -0
  315. package/web/chunk-q6k872kv.js.gz +0 -0
  316. package/web/chunk-q7krdwy7.js +332 -0
  317. package/web/chunk-q7krdwy7.js.br +0 -0
  318. package/web/chunk-q7krdwy7.js.gz +0 -0
  319. package/web/chunk-q7wbksg4.js +1 -0
  320. package/web/chunk-q7wbksg4.js.br +0 -0
  321. package/web/chunk-q7wbksg4.js.gz +0 -0
  322. package/web/chunk-qdxa0c4c.js +1 -0
  323. package/web/chunk-qdxa0c4c.js.br +0 -0
  324. package/web/chunk-qdxa0c4c.js.gz +0 -0
  325. package/web/chunk-r76we294.js +1 -0
  326. package/web/chunk-r76we294.js.br +0 -0
  327. package/web/chunk-r76we294.js.gz +0 -0
  328. package/web/chunk-rnhbck1h.js +99 -0
  329. package/web/chunk-rnhbck1h.js.br +0 -0
  330. package/web/chunk-rnhbck1h.js.gz +0 -0
  331. package/web/chunk-rxtzde6n.js +62 -0
  332. package/web/chunk-rxtzde6n.js.br +0 -0
  333. package/web/chunk-rxtzde6n.js.gz +0 -0
  334. package/web/chunk-ryds6qnb.js +2 -0
  335. package/web/chunk-ryds6qnb.js.br +0 -0
  336. package/web/chunk-ryds6qnb.js.gz +0 -0
  337. package/web/chunk-stnwzrqv.js +98 -0
  338. package/web/chunk-stnwzrqv.js.br +0 -0
  339. package/web/chunk-stnwzrqv.js.gz +0 -0
  340. package/web/chunk-sy28z9pe.js +2 -0
  341. package/web/chunk-sy28z9pe.js.br +2 -0
  342. package/web/chunk-sy28z9pe.js.gz +0 -0
  343. package/web/chunk-szwh742y.js +2 -0
  344. package/web/chunk-szwh742y.js.br +0 -0
  345. package/web/chunk-szwh742y.js.gz +0 -0
  346. package/web/chunk-t60hp0qs.js +36 -0
  347. package/web/chunk-t60hp0qs.js.br +0 -0
  348. package/web/chunk-t60hp0qs.js.gz +0 -0
  349. package/web/chunk-tjma3e4d.js +7 -0
  350. package/web/chunk-tjma3e4d.js.br +0 -0
  351. package/web/chunk-tjma3e4d.js.gz +0 -0
  352. package/web/chunk-tn39vbcz.js +2 -0
  353. package/web/chunk-tn39vbcz.js.br +0 -0
  354. package/web/chunk-tn39vbcz.js.gz +0 -0
  355. package/web/chunk-tv9rz73h.js +30 -0
  356. package/web/chunk-tv9rz73h.js.br +0 -0
  357. package/web/chunk-tv9rz73h.js.gz +0 -0
  358. package/web/chunk-twgzayjk.js +1 -0
  359. package/web/chunk-twgzayjk.js.br +0 -0
  360. package/web/chunk-twgzayjk.js.gz +0 -0
  361. package/web/chunk-tz4w2nh2.js +303 -0
  362. package/web/chunk-tz4w2nh2.js.br +0 -0
  363. package/web/chunk-tz4w2nh2.js.gz +0 -0
  364. package/web/chunk-v0egh6d3.js +1 -0
  365. package/web/chunk-v0egh6d3.js.br +0 -0
  366. package/web/chunk-v0egh6d3.js.gz +0 -0
  367. package/web/chunk-vayamfxv.js +1 -0
  368. package/web/chunk-vayamfxv.js.br +0 -0
  369. package/web/chunk-vayamfxv.js.gz +0 -0
  370. package/web/chunk-vcawg8d2.js +1 -0
  371. package/web/chunk-vcawg8d2.js.br +0 -0
  372. package/web/chunk-vcawg8d2.js.gz +0 -0
  373. package/web/chunk-vh8s2rek.js +1 -0
  374. package/web/chunk-vh8s2rek.js.br +2 -0
  375. package/web/chunk-vh8s2rek.js.gz +0 -0
  376. package/web/chunk-vns6bpqm.js +2 -0
  377. package/web/chunk-vns6bpqm.js.br +0 -0
  378. package/web/chunk-vns6bpqm.js.gz +0 -0
  379. package/web/chunk-vvbte0a5.css +1 -0
  380. package/web/chunk-vvbte0a5.css.br +0 -0
  381. package/web/chunk-vvbte0a5.css.gz +0 -0
  382. package/web/chunk-vxzw2t1r.js +1 -0
  383. package/web/chunk-vxzw2t1r.js.br +0 -0
  384. package/web/chunk-vxzw2t1r.js.gz +0 -0
  385. package/web/chunk-w40atygt.js +2 -0
  386. package/web/chunk-w40atygt.js.br +0 -0
  387. package/web/chunk-w40atygt.js.gz +0 -0
  388. package/web/chunk-w4bxgcwm.js +1 -0
  389. package/web/chunk-w4bxgcwm.js.br +0 -0
  390. package/web/chunk-w4bxgcwm.js.gz +0 -0
  391. package/web/chunk-w5t00pns.js +70 -0
  392. package/web/chunk-w5t00pns.js.br +0 -0
  393. package/web/chunk-w5t00pns.js.gz +0 -0
  394. package/web/chunk-wpmzdqba.js +324 -0
  395. package/web/chunk-wpmzdqba.js.br +0 -0
  396. package/web/chunk-wpmzdqba.js.gz +0 -0
  397. package/web/chunk-xc74f1nj.js +1 -0
  398. package/web/chunk-xc74f1nj.js.br +0 -0
  399. package/web/chunk-xc74f1nj.js.gz +0 -0
  400. package/web/chunk-xs4cyb71.js +1 -0
  401. package/web/chunk-xs4cyb71.js.br +0 -0
  402. package/web/chunk-xs4cyb71.js.gz +0 -0
  403. package/web/chunk-xthg4efe.js +1 -0
  404. package/web/chunk-xthg4efe.js.br +0 -0
  405. package/web/chunk-xthg4efe.js.gz +0 -0
  406. package/web/chunk-yet0bbyh.js +1 -0
  407. package/web/chunk-yet0bbyh.js.br +0 -0
  408. package/web/chunk-yet0bbyh.js.gz +0 -0
  409. package/web/chunk-yzcxmqy3.js +1 -0
  410. package/web/chunk-yzcxmqy3.js.br +0 -0
  411. package/web/chunk-yzcxmqy3.js.gz +0 -0
  412. package/web/chunk-z2a9zwwx.js +24 -0
  413. package/web/chunk-z2a9zwwx.js.br +0 -0
  414. package/web/chunk-z2a9zwwx.js.gz +0 -0
  415. package/web/chunk-zeyw59b9.js +2 -0
  416. package/web/chunk-zeyw59b9.js.br +0 -0
  417. package/web/chunk-zeyw59b9.js.gz +0 -0
  418. package/web/chunk-zftk5ww7.js +8 -0
  419. package/web/chunk-zftk5ww7.js.br +0 -0
  420. package/web/chunk-zftk5ww7.js.gz +0 -0
  421. package/web/chunk-zmbp3phd.js +2 -0
  422. package/web/chunk-zmbp3phd.js.br +0 -0
  423. package/web/chunk-zmbp3phd.js.gz +0 -0
  424. package/web/chunk-zpxh70dj.js +1 -0
  425. package/web/chunk-zpxh70dj.js.br +0 -0
  426. package/web/chunk-zpxh70dj.js.gz +0 -0
  427. package/web/chunk-zqhdf12s.js +39 -0
  428. package/web/chunk-zqhdf12s.js.br +0 -0
  429. package/web/chunk-zqhdf12s.js.gz +0 -0
  430. package/web/chunk-zr2xst5w.js +1 -0
  431. package/web/chunk-zr2xst5w.js.br +0 -0
  432. package/web/chunk-zr2xst5w.js.gz +0 -0
  433. package/web/index.html +1 -1
  434. package/web/index.html.br +0 -0
  435. package/web/index.html.gz +0 -0
  436. package/worker.js +1 -1
  437. package/chunk-01xyv3ct.js +0 -7
  438. package/chunk-06gjy5s2.js +0 -5
  439. package/chunk-0pztrs5x.js +0 -11
  440. package/chunk-0v6seb9q.js +0 -20
  441. package/chunk-0z138vnr.js +0 -12
  442. package/chunk-1c8yqctx.js +0 -3
  443. package/chunk-1wt8pbns.js +0 -2
  444. package/chunk-1yvgmxew.js +0 -2
  445. package/chunk-229men2n.js +0 -31
  446. package/chunk-29x35nj4.js +0 -5
  447. package/chunk-3ee7dyh4.js +0 -18
  448. package/chunk-3gf3g0xt.js +0 -3
  449. package/chunk-3gts3ja0.js +0 -8
  450. package/chunk-4stj480w.js +0 -3
  451. package/chunk-4t2t0hcp.js +0 -3
  452. package/chunk-57b764s0.js +0 -5
  453. package/chunk-63mr2aa2.js +0 -50
  454. package/chunk-64h4gw8d.js +0 -3
  455. package/chunk-7gxx6829.js +0 -2
  456. package/chunk-898tss1j.js +0 -51
  457. package/chunk-9em1sne5.js +0 -2
  458. package/chunk-9p8n1xjn.js +0 -4048
  459. package/chunk-a0h0x1dn.js +0 -3
  460. package/chunk-a2r89pk2.js +0 -12
  461. package/chunk-a5mtw4y5.js +0 -2
  462. package/chunk-aq6xkc1w.js +0 -3
  463. package/chunk-bbqhx91f.js +0 -3
  464. package/chunk-c9q0y8hp.js +0 -4
  465. package/chunk-cgzez9a5.js +0 -2
  466. package/chunk-drjajr57.js +0 -3
  467. package/chunk-dsnz6mzt.js +0 -25
  468. package/chunk-ee18zzzv.js +0 -3
  469. package/chunk-eg161ep9.js +0 -3
  470. package/chunk-ej42zg82.js +0 -2
  471. package/chunk-ejw7k7nn.js +0 -2
  472. package/chunk-et2s8y6a.js +0 -3
  473. package/chunk-f95j1a8x.js +0 -3
  474. package/chunk-fnxstmm5.js +0 -2
  475. package/chunk-gtjtkfjk.js +0 -3
  476. package/chunk-h4rve6x4.js +0 -63
  477. package/chunk-hp9bcx4x.js +0 -2
  478. package/chunk-je4cjwhm.js +0 -3
  479. package/chunk-jn1zdamp.js +0 -9
  480. package/chunk-jpah46d1.js +0 -2
  481. package/chunk-jvsrda4n.js +0 -16
  482. package/chunk-jyhsae16.js +0 -2
  483. package/chunk-k7n6bhkz.js +0 -3
  484. package/chunk-kvv3mvk5.js +0 -2
  485. package/chunk-kzv5cgqz.js +0 -286
  486. package/chunk-mz3zt06w.js +0 -7
  487. package/chunk-n4crb1x3.js +0 -2
  488. package/chunk-nmmf0w14.js +0 -5
  489. package/chunk-nr5p4pvp.js +0 -3
  490. package/chunk-p39fex1r.js +0 -2
  491. package/chunk-pefgy360.js +0 -7
  492. package/chunk-psr71nf8.js +0 -2
  493. package/chunk-qsgc7b7x.js +0 -3
  494. package/chunk-qygv2jqa.js +0 -2
  495. package/chunk-r449z8pj.js +0 -2
  496. package/chunk-rd52y45c.js +0 -8
  497. package/chunk-repjnwda.js +0 -10
  498. package/chunk-rh6yvdwz.js +0 -3
  499. package/chunk-s2d5zp37.js +0 -44
  500. package/chunk-s68eamf1.js +0 -2
  501. package/chunk-sacdpkwc.js +0 -3
  502. package/chunk-tey1hftz.js +0 -490
  503. package/chunk-vhvzyxx5.js +0 -25
  504. package/chunk-vytm86v0.js +0 -2
  505. package/chunk-x4bc1xkx.js +0 -39
  506. package/chunk-xa23zmzv.js +0 -2
  507. package/chunk-xq7zspqs.js +0 -3
  508. package/chunk-xqz8ac7j.js +0 -2
  509. package/chunk-ycce2a81.js +0 -2
  510. package/chunk-z99s31w5.js +0 -2
  511. package/chunk-zs6ytk7b.js +0 -59
  512. package/chunk-ztm5hqwh.js +0 -2
  513. package/chunk-zv29qg1q.js +0 -10
  514. package/web/chunk-02z3bqps.js +0 -1
  515. package/web/chunk-02z3bqps.js.br +0 -0
  516. package/web/chunk-02z3bqps.js.gz +0 -0
  517. package/web/chunk-0dg4qqe3.js +0 -1
  518. package/web/chunk-0dg4qqe3.js.br +0 -2
  519. package/web/chunk-0dg4qqe3.js.gz +0 -0
  520. package/web/chunk-0qar8vwc.js +0 -2
  521. package/web/chunk-0qar8vwc.js.br +0 -0
  522. package/web/chunk-0qar8vwc.js.gz +0 -0
  523. package/web/chunk-0qmgmqzd.js +0 -2
  524. package/web/chunk-0qmgmqzd.js.br +0 -0
  525. package/web/chunk-0qmgmqzd.js.gz +0 -0
  526. package/web/chunk-1q82849a.js +0 -1
  527. package/web/chunk-1q82849a.js.br +0 -0
  528. package/web/chunk-1q82849a.js.gz +0 -0
  529. package/web/chunk-2ajkzs3d.js +0 -12
  530. package/web/chunk-2ajkzs3d.js.br +0 -0
  531. package/web/chunk-2ajkzs3d.js.gz +0 -0
  532. package/web/chunk-2xrkfj8n.js +0 -291
  533. package/web/chunk-2xrkfj8n.js.br +0 -0
  534. package/web/chunk-2xrkfj8n.js.gz +0 -0
  535. package/web/chunk-4fzpmw3f.js +0 -89
  536. package/web/chunk-4fzpmw3f.js.br +0 -0
  537. package/web/chunk-4fzpmw3f.js.gz +0 -0
  538. package/web/chunk-51njd9f8.js +0 -89
  539. package/web/chunk-51njd9f8.js.br +0 -0
  540. package/web/chunk-51njd9f8.js.gz +0 -0
  541. package/web/chunk-66zw8mqe.js +0 -2
  542. package/web/chunk-66zw8mqe.js.br +0 -0
  543. package/web/chunk-66zw8mqe.js.gz +0 -0
  544. package/web/chunk-6x73jtw7.js +0 -7
  545. package/web/chunk-6x73jtw7.js.br +0 -0
  546. package/web/chunk-6x73jtw7.js.gz +0 -0
  547. package/web/chunk-6y389kg6.js +0 -1
  548. package/web/chunk-6y389kg6.js.br +0 -0
  549. package/web/chunk-6y389kg6.js.gz +0 -0
  550. package/web/chunk-73peavw3.js +0 -1
  551. package/web/chunk-73peavw3.js.br +0 -0
  552. package/web/chunk-73peavw3.js.gz +0 -0
  553. package/web/chunk-7p7qtp6d.js +0 -1
  554. package/web/chunk-7p7qtp6d.js.br +0 -0
  555. package/web/chunk-7p7qtp6d.js.gz +0 -0
  556. package/web/chunk-81zj375g.js +0 -1
  557. package/web/chunk-81zj375g.js.br +0 -0
  558. package/web/chunk-81zj375g.js.gz +0 -0
  559. package/web/chunk-89dwrkrr.js +0 -1
  560. package/web/chunk-89dwrkrr.js.br +0 -0
  561. package/web/chunk-89dwrkrr.js.gz +0 -0
  562. package/web/chunk-8e829p0a.css +0 -1
  563. package/web/chunk-8e829p0a.css.br +0 -0
  564. package/web/chunk-8e829p0a.css.gz +0 -0
  565. package/web/chunk-9mgqrwwh.js +0 -1
  566. package/web/chunk-9mgqrwwh.js.br +0 -0
  567. package/web/chunk-9mgqrwwh.js.gz +0 -0
  568. package/web/chunk-ag97fhx1.js +0 -1
  569. package/web/chunk-ag97fhx1.js.br +0 -0
  570. package/web/chunk-ag97fhx1.js.gz +0 -0
  571. package/web/chunk-anm2706b.js +0 -139
  572. package/web/chunk-anm2706b.js.br +0 -0
  573. package/web/chunk-anm2706b.js.gz +0 -0
  574. package/web/chunk-aqz2exas.js +0 -142
  575. package/web/chunk-aqz2exas.js.br +0 -0
  576. package/web/chunk-aqz2exas.js.gz +0 -0
  577. package/web/chunk-at6wp72y.js +0 -1
  578. package/web/chunk-at6wp72y.js.br +0 -0
  579. package/web/chunk-at6wp72y.js.gz +0 -0
  580. package/web/chunk-ayfqxte8.js +0 -1
  581. package/web/chunk-ayfqxte8.js.br +0 -2
  582. package/web/chunk-ayfqxte8.js.gz +0 -0
  583. package/web/chunk-b564qxgk.js +0 -98
  584. package/web/chunk-b564qxgk.js.br +0 -0
  585. package/web/chunk-b564qxgk.js.gz +0 -0
  586. package/web/chunk-b9atg5sw.js +0 -1
  587. package/web/chunk-b9atg5sw.js.br +0 -0
  588. package/web/chunk-b9atg5sw.js.gz +0 -0
  589. package/web/chunk-bg2k54a5.js +0 -70
  590. package/web/chunk-bg2k54a5.js.br +0 -0
  591. package/web/chunk-bg2k54a5.js.gz +0 -0
  592. package/web/chunk-cb0g87b5.js +0 -2
  593. package/web/chunk-cb0g87b5.js.br +0 -3
  594. package/web/chunk-cb0g87b5.js.gz +0 -0
  595. package/web/chunk-cgm44rx8.js +0 -2
  596. package/web/chunk-cgm44rx8.js.br +0 -0
  597. package/web/chunk-cgm44rx8.js.gz +0 -0
  598. package/web/chunk-ctckn7gz.js +0 -2
  599. package/web/chunk-ctckn7gz.js.br +0 -0
  600. package/web/chunk-ctckn7gz.js.gz +0 -0
  601. package/web/chunk-def5mk0w.js +0 -2
  602. package/web/chunk-def5mk0w.js.br +0 -0
  603. package/web/chunk-def5mk0w.js.gz +0 -0
  604. package/web/chunk-e2nhv6bb.js +0 -2
  605. package/web/chunk-e2nhv6bb.js.br +0 -0
  606. package/web/chunk-e2nhv6bb.js.gz +0 -0
  607. package/web/chunk-e7djq8rb.js +0 -2
  608. package/web/chunk-e7djq8rb.js.br +0 -0
  609. package/web/chunk-e7djq8rb.js.gz +0 -0
  610. package/web/chunk-eagbq8k2.js +0 -1
  611. package/web/chunk-eagbq8k2.js.br +0 -0
  612. package/web/chunk-eagbq8k2.js.gz +0 -0
  613. package/web/chunk-fbxw7w0z.js +0 -1
  614. package/web/chunk-fbxw7w0z.js.br +0 -0
  615. package/web/chunk-fbxw7w0z.js.gz +0 -0
  616. package/web/chunk-fn95dxq2.js +0 -1
  617. package/web/chunk-fn95dxq2.js.br +0 -0
  618. package/web/chunk-fn95dxq2.js.gz +0 -0
  619. package/web/chunk-g3n4tbbv.js +0 -1
  620. package/web/chunk-g3n4tbbv.js.br +0 -2
  621. package/web/chunk-g3n4tbbv.js.gz +0 -0
  622. package/web/chunk-gp0xqyh2.js +0 -62
  623. package/web/chunk-gp0xqyh2.js.br +0 -0
  624. package/web/chunk-gp0xqyh2.js.gz +0 -0
  625. package/web/chunk-h2rv3exr.js +0 -84
  626. package/web/chunk-h2rv3exr.js.br +0 -0
  627. package/web/chunk-h2rv3exr.js.gz +0 -0
  628. package/web/chunk-h888hb33.js +0 -41
  629. package/web/chunk-h888hb33.js.br +0 -0
  630. package/web/chunk-h888hb33.js.gz +0 -0
  631. package/web/chunk-hc9ep8b0.js +0 -4
  632. package/web/chunk-hc9ep8b0.js.br +0 -0
  633. package/web/chunk-hc9ep8b0.js.gz +0 -0
  634. package/web/chunk-hp0jfbty.js +0 -1
  635. package/web/chunk-hp0jfbty.js.br +0 -0
  636. package/web/chunk-hp0jfbty.js.gz +0 -0
  637. package/web/chunk-hx7rh5c1.js +0 -2
  638. package/web/chunk-hx7rh5c1.js.br +0 -0
  639. package/web/chunk-hx7rh5c1.js.gz +0 -0
  640. package/web/chunk-hzxz7smg.js +0 -24
  641. package/web/chunk-hzxz7smg.js.br +0 -0
  642. package/web/chunk-hzxz7smg.js.gz +0 -0
  643. package/web/chunk-j4w9gj2v.js +0 -1
  644. package/web/chunk-j4w9gj2v.js.br +0 -0
  645. package/web/chunk-j4w9gj2v.js.gz +0 -0
  646. package/web/chunk-j8m3c1s4.js +0 -2
  647. package/web/chunk-j8m3c1s4.js.br +0 -0
  648. package/web/chunk-j8m3c1s4.js.gz +0 -0
  649. package/web/chunk-jamb9e79.js +0 -1
  650. package/web/chunk-jamb9e79.js.br +0 -0
  651. package/web/chunk-jamb9e79.js.gz +0 -0
  652. package/web/chunk-jg19frxn.js +0 -55
  653. package/web/chunk-jg19frxn.js.br +0 -0
  654. package/web/chunk-jg19frxn.js.gz +0 -0
  655. package/web/chunk-jm2pevt8.js +0 -1
  656. package/web/chunk-jm2pevt8.js.br +0 -0
  657. package/web/chunk-jm2pevt8.js.gz +0 -0
  658. package/web/chunk-jmr00kdm.js +0 -214
  659. package/web/chunk-jmr00kdm.js.br +0 -0
  660. package/web/chunk-jmr00kdm.js.gz +0 -0
  661. package/web/chunk-jsff72z2.js +0 -1
  662. package/web/chunk-jsff72z2.js.br +0 -0
  663. package/web/chunk-jsff72z2.js.gz +0 -0
  664. package/web/chunk-jv83dscd.js +0 -1
  665. package/web/chunk-jv83dscd.js.br +0 -0
  666. package/web/chunk-jv83dscd.js.gz +0 -0
  667. package/web/chunk-k0da3cb3.js +0 -1
  668. package/web/chunk-k0da3cb3.js.br +0 -0
  669. package/web/chunk-k0da3cb3.js.gz +0 -0
  670. package/web/chunk-k6ks8zqg.js +0 -1
  671. package/web/chunk-k6ks8zqg.js.br +0 -0
  672. package/web/chunk-k6ks8zqg.js.gz +0 -0
  673. package/web/chunk-kdzew6g1.js +0 -1
  674. package/web/chunk-kdzew6g1.js.br +0 -2
  675. package/web/chunk-kdzew6g1.js.gz +0 -0
  676. package/web/chunk-ktmnzrpf.js +0 -1
  677. package/web/chunk-ktmnzrpf.js.br +0 -2
  678. package/web/chunk-ktmnzrpf.js.gz +0 -0
  679. package/web/chunk-kxezmcn5.js +0 -30
  680. package/web/chunk-kxezmcn5.js.br +0 -0
  681. package/web/chunk-kxezmcn5.js.gz +0 -0
  682. package/web/chunk-kyj99nqq.js +0 -2
  683. package/web/chunk-kyj99nqq.js.br +0 -0
  684. package/web/chunk-kyj99nqq.js.gz +0 -0
  685. package/web/chunk-m1009k4x.js +0 -16
  686. package/web/chunk-m1009k4x.js.br +0 -0
  687. package/web/chunk-m1009k4x.js.gz +0 -0
  688. package/web/chunk-mgr8wt71.js +0 -370
  689. package/web/chunk-mgr8wt71.js.br +0 -0
  690. package/web/chunk-mgr8wt71.js.gz +0 -0
  691. package/web/chunk-mya0w8tm.js +0 -1
  692. package/web/chunk-mya0w8tm.js.br +0 -0
  693. package/web/chunk-mya0w8tm.js.gz +0 -0
  694. package/web/chunk-n1wgda90.js +0 -7
  695. package/web/chunk-n1wgda90.js.br +0 -0
  696. package/web/chunk-n1wgda90.js.gz +0 -0
  697. package/web/chunk-n7hk5sxm.js +0 -120
  698. package/web/chunk-n7hk5sxm.js.br +0 -0
  699. package/web/chunk-n7hk5sxm.js.gz +0 -0
  700. package/web/chunk-n99yz498.js +0 -36
  701. package/web/chunk-n99yz498.js.br +0 -0
  702. package/web/chunk-n99yz498.js.gz +0 -0
  703. package/web/chunk-nnvqz2dh.js +0 -1
  704. package/web/chunk-nnvqz2dh.js.br +0 -0
  705. package/web/chunk-nnvqz2dh.js.gz +0 -0
  706. package/web/chunk-nx439rde.js +0 -1
  707. package/web/chunk-nx439rde.js.br +0 -0
  708. package/web/chunk-nx439rde.js.gz +0 -0
  709. package/web/chunk-pn50cj2y.js +0 -1
  710. package/web/chunk-pn50cj2y.js.br +0 -0
  711. package/web/chunk-pn50cj2y.js.gz +0 -0
  712. package/web/chunk-pph3x232.js +0 -38
  713. package/web/chunk-pph3x232.js.br +0 -0
  714. package/web/chunk-pph3x232.js.gz +0 -0
  715. package/web/chunk-pt2vfgkr.js +0 -1
  716. package/web/chunk-pt2vfgkr.js.br +0 -0
  717. package/web/chunk-pt2vfgkr.js.gz +0 -0
  718. package/web/chunk-pzvg5xnk.js +0 -21
  719. package/web/chunk-pzvg5xnk.js.br +0 -0
  720. package/web/chunk-pzvg5xnk.js.gz +0 -0
  721. package/web/chunk-qafnz668.js +0 -1
  722. package/web/chunk-qafnz668.js.br +0 -0
  723. package/web/chunk-qafnz668.js.gz +0 -0
  724. package/web/chunk-qkfqcr10.js +0 -1
  725. package/web/chunk-qkfqcr10.js.br +0 -0
  726. package/web/chunk-qkfqcr10.js.gz +0 -0
  727. package/web/chunk-qkgp0da2.js +0 -1
  728. package/web/chunk-qkgp0da2.js.br +0 -0
  729. package/web/chunk-qkgp0da2.js.gz +0 -0
  730. package/web/chunk-qpqdn0a8.js +0 -1
  731. package/web/chunk-qpqdn0a8.js.br +0 -0
  732. package/web/chunk-qpqdn0a8.js.gz +0 -0
  733. package/web/chunk-r0ch05x8.js +0 -3
  734. package/web/chunk-r0ch05x8.js.br +0 -0
  735. package/web/chunk-r0ch05x8.js.gz +0 -0
  736. package/web/chunk-r6s2vcby.js +0 -8
  737. package/web/chunk-r6s2vcby.js.br +0 -6
  738. package/web/chunk-r6s2vcby.js.gz +0 -0
  739. package/web/chunk-r71mdnq3.js +0 -1
  740. package/web/chunk-r71mdnq3.js.br +0 -0
  741. package/web/chunk-r71mdnq3.js.gz +0 -0
  742. package/web/chunk-rd60971b.js +0 -2
  743. package/web/chunk-rd60971b.js.br +0 -0
  744. package/web/chunk-rd60971b.js.gz +0 -0
  745. package/web/chunk-rdz21xd5.js +0 -99
  746. package/web/chunk-rdz21xd5.js.br +0 -0
  747. package/web/chunk-rdz21xd5.js.gz +0 -0
  748. package/web/chunk-rmzb9edh.js +0 -303
  749. package/web/chunk-rmzb9edh.js.br +0 -0
  750. package/web/chunk-rmzb9edh.js.gz +0 -0
  751. package/web/chunk-rqkd1h2n.js +0 -2
  752. package/web/chunk-rqkd1h2n.js.br +0 -0
  753. package/web/chunk-rqkd1h2n.js.gz +0 -0
  754. package/web/chunk-rz2cq4g2.js +0 -2
  755. package/web/chunk-rz2cq4g2.js.br +0 -0
  756. package/web/chunk-rz2cq4g2.js.gz +0 -0
  757. package/web/chunk-rzeh9b1q.js +0 -2
  758. package/web/chunk-rzeh9b1q.js.br +0 -0
  759. package/web/chunk-rzeh9b1q.js.gz +0 -0
  760. package/web/chunk-s6ax6yty.js +0 -1
  761. package/web/chunk-s6ax6yty.js.br +0 -0
  762. package/web/chunk-s6ax6yty.js.gz +0 -0
  763. package/web/chunk-s75zvbh9.js +0 -1
  764. package/web/chunk-s75zvbh9.js.br +0 -0
  765. package/web/chunk-s75zvbh9.js.gz +0 -0
  766. package/web/chunk-s7cz1q7g.js +0 -324
  767. package/web/chunk-s7cz1q7g.js.br +0 -0
  768. package/web/chunk-s7cz1q7g.js.gz +0 -0
  769. package/web/chunk-sh6xh1kh.js +0 -1
  770. package/web/chunk-sh6xh1kh.js.br +0 -0
  771. package/web/chunk-sh6xh1kh.js.gz +0 -0
  772. package/web/chunk-sqa50cfh.js +0 -2
  773. package/web/chunk-sqa50cfh.js.br +0 -0
  774. package/web/chunk-sqa50cfh.js.gz +0 -0
  775. package/web/chunk-stp6j8y9.js +0 -39
  776. package/web/chunk-stp6j8y9.js.br +0 -0
  777. package/web/chunk-stp6j8y9.js.gz +0 -0
  778. package/web/chunk-t7wae2xz.js +0 -332
  779. package/web/chunk-t7wae2xz.js.br +0 -0
  780. package/web/chunk-t7wae2xz.js.gz +0 -0
  781. package/web/chunk-t8p7d5vk.js +0 -2
  782. package/web/chunk-t8p7d5vk.js.br +0 -0
  783. package/web/chunk-t8p7d5vk.js.gz +0 -0
  784. package/web/chunk-tbj4d6qe.js +0 -292
  785. package/web/chunk-tbj4d6qe.js.br +0 -0
  786. package/web/chunk-tbj4d6qe.js.gz +0 -0
  787. package/web/chunk-v0wb751t.js +0 -2
  788. package/web/chunk-v0wb751t.js.br +0 -0
  789. package/web/chunk-v0wb751t.js.gz +0 -0
  790. package/web/chunk-v1vghfec.js +0 -1
  791. package/web/chunk-v1vghfec.js.br +0 -0
  792. package/web/chunk-v1vghfec.js.gz +0 -0
  793. package/web/chunk-v890rh1e.js +0 -2
  794. package/web/chunk-v890rh1e.js.br +0 -0
  795. package/web/chunk-v890rh1e.js.gz +0 -0
  796. package/web/chunk-vd2kng8p.js +0 -4
  797. package/web/chunk-vd2kng8p.js.br +0 -0
  798. package/web/chunk-vd2kng8p.js.gz +0 -0
  799. package/web/chunk-vfqmec16.js +0 -217
  800. package/web/chunk-vfqmec16.js.br +0 -0
  801. package/web/chunk-vfqmec16.js.gz +0 -0
  802. package/web/chunk-vhmcx472.js +0 -1
  803. package/web/chunk-vhmcx472.js.br +0 -0
  804. package/web/chunk-vhmcx472.js.gz +0 -0
  805. package/web/chunk-vtvf1x6b.js +0 -2
  806. package/web/chunk-vtvf1x6b.js.br +0 -0
  807. package/web/chunk-vtvf1x6b.js.gz +0 -0
  808. package/web/chunk-w0ae9ggt.js +0 -40
  809. package/web/chunk-w0ae9ggt.js.br +0 -0
  810. package/web/chunk-w0ae9ggt.js.gz +0 -0
  811. package/web/chunk-ws8rv0tb.js +0 -1141
  812. package/web/chunk-ws8rv0tb.js.br +0 -0
  813. package/web/chunk-ws8rv0tb.js.gz +0 -0
  814. package/web/chunk-wvnvh4a5.js +0 -78
  815. package/web/chunk-wvnvh4a5.js.br +0 -0
  816. package/web/chunk-wvnvh4a5.js.gz +0 -0
  817. package/web/chunk-x11ewabg.js +0 -1
  818. package/web/chunk-x11ewabg.js.br +0 -0
  819. package/web/chunk-x11ewabg.js.gz +0 -0
  820. package/web/chunk-x2tcf0r1.js +0 -1
  821. package/web/chunk-x2tcf0r1.js.br +0 -2
  822. package/web/chunk-x2tcf0r1.js.gz +0 -0
  823. package/web/chunk-xbrj4mk1.js +0 -140
  824. package/web/chunk-xbrj4mk1.js.br +0 -0
  825. package/web/chunk-xbrj4mk1.js.gz +0 -0
  826. package/web/chunk-xh8q1bcj.js +0 -34
  827. package/web/chunk-xh8q1bcj.js.br +0 -0
  828. package/web/chunk-xh8q1bcj.js.gz +0 -0
  829. package/web/chunk-xha3t633.js +0 -1
  830. package/web/chunk-xha3t633.js.br +0 -0
  831. package/web/chunk-xha3t633.js.gz +0 -0
  832. package/web/chunk-xmr18f18.js +0 -1
  833. package/web/chunk-xmr18f18.js.br +0 -0
  834. package/web/chunk-xmr18f18.js.gz +0 -0
  835. package/web/chunk-y372dg1e.js +0 -7
  836. package/web/chunk-y372dg1e.js.br +0 -0
  837. package/web/chunk-y372dg1e.js.gz +0 -0
  838. package/web/chunk-y778wckc.js +0 -24
  839. package/web/chunk-y778wckc.js.br +0 -0
  840. package/web/chunk-y778wckc.js.gz +0 -0
  841. package/web/chunk-yerpvhym.js +0 -169
  842. package/web/chunk-yerpvhym.js.br +0 -0
  843. package/web/chunk-yerpvhym.js.gz +0 -0
  844. package/web/chunk-yrhe7a7c.js +0 -106
  845. package/web/chunk-yrhe7a7c.js.br +0 -0
  846. package/web/chunk-yrhe7a7c.js.gz +0 -0
  847. package/web/chunk-z2aazpzj.js +0 -2
  848. package/web/chunk-z2aazpzj.js.br +0 -0
  849. package/web/chunk-z2aazpzj.js.gz +0 -0
  850. package/web/chunk-z43td5ad.js +0 -1
  851. package/web/chunk-z43td5ad.js.br +0 -0
  852. package/web/chunk-z43td5ad.js.gz +0 -0
  853. package/web/chunk-zf42y65m.js +0 -1
  854. package/web/chunk-zf42y65m.js.br +0 -0
  855. package/web/chunk-zf42y65m.js.gz +0 -0
  856. package/web/chunk-zj2rhf4b.js +0 -200
  857. package/web/chunk-zj2rhf4b.js.br +0 -0
  858. package/web/chunk-zj2rhf4b.js.gz +0 -0
  859. package/web/chunk-zkn84jhm.js +0 -2
  860. package/web/chunk-zkn84jhm.js.br +0 -0
  861. package/web/chunk-zkn84jhm.js.gz +0 -0
@@ -1,291 +0,0 @@
1
- import{t,i,st,C,N,M,P,R,I,O,D,u,g,tc,H,De,Ne,Me,mn,He,Ue}from"./chunk-rmzb9edh.js";import{On}from"./chunk-z2aazpzj.js";import{ze}from"./chunk-def5mk0w.js";import{Pe}from"./chunk-kyj99nqq.js";var Pt=function(){var e=t(function(Q,c,p,n){for(p=p||{},n=Q.length;n--;p[Q[n]]=c);return p},"o"),s=[1,2],l=[1,3],r=[1,4],d=[2,4],f=[1,9],y=[1,11],m=[1,16],o=[1,17],T=[1,18],E=[1,19],B=[1,33],G=[1,20],W=[1,21],x=[1,22],S=[1,23],Y=[1,24],L=[1,26],z=[1,27],V=[1,28],K=[1,29],A=[1,30],rt=[1,31],St=[1,32],gt=[1,35],yt=[1,36],mt=[1,37],bt=[1,38],it=[1,34],b=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],kt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],Lt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:t(function(c,p,n,k,_,a,at){var h=a.length-1;switch(_){case 3:return k.setRootDoc(a[h]),a[h];break;case 4:this.$=[];break;case 5:if(a[h]!="nl")a[h-1].push(a[h]),this.$=a[h-1];break;case 6:case 7:this.$=a[h];break;case 8:this.$="nl";break;case 12:this.$=a[h];break;case 13:let Et=a[h-1];Et.description=k.trimColon(a[h]),this.$=Et;break;case 14:this.$={stmt:"relation",state1:a[h-2],state2:a[h]};break;case 15:let _t=k.trimColon(a[h]);this.$={stmt:"relation",state1:a[h-3],state2:a[h-1],description:_t};break;case 19:this.$={stmt:"state",id:a[h-3],type:"default",description:"",doc:a[h-1]};break;case 20:var X=a[h],J=a[h-2].trim();if(a[h].match(":")){var ct=a[h].split(":");X=ct[0],J=[J,ct[1]]}this.$={stmt:"state",id:X,type:"default",description:J};break;case 21:this.$={stmt:"state",id:a[h-3],type:"default",description:a[h-5],doc:a[h-1]};break;case 22:this.$={stmt:"state",id:a[h],type:"fork"};break;case 23:this.$={stmt:"state",id:a[h],type:"join"};break;case 24:this.$={stmt:"state",id:a[h],type:"choice"};break;case 25:this.$={stmt:"state",id:k.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[h-1].trim(),note:{position:a[h-2].trim(),text:a[h].trim()}};break;case 29:this.$=a[h].trim(),k.setAccTitle(this.$);break;case 30:case 31:this.$=a[h].trim(),k.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:a[h-3],url:a[h-2],tooltip:a[h-1]};break;case 33:this.$={stmt:"click",id:a[h-3],url:a[h-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:a[h-1].trim(),classes:a[h].trim()};break;case 36:this.$={stmt:"style",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 37:this.$={stmt:"applyClass",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 38:k.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:k.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:k.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:k.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[h].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:s,5:l,6:r},{1:[3]},{3:5,4:s,5:l,6:r},{3:6,4:s,5:l,6:r},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],d,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:L,35:z,37:V,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(b,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:m,17:o,19:T,22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:L,35:z,37:V,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(b,[2,7]),e(b,[2,8]),e(b,[2,9]),e(b,[2,10]),e(b,[2,11]),e(b,[2,12],{14:[1,40],15:[1,41]}),e(b,[2,16]),{18:[1,42]},e(b,[2,18],{20:[1,43]}),{23:[1,44]},e(b,[2,22]),e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(b,[2,28]),{34:[1,49]},{36:[1,50]},e(b,[2,31]),{13:51,24:B,57:it},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(kt,[2,44],{58:[1,56]}),e(kt,[2,45],{58:[1,57]}),e(b,[2,38]),e(b,[2,39]),e(b,[2,40]),e(b,[2,41]),e(b,[2,6]),e(b,[2,13]),{13:58,24:B,57:it},e(b,[2,17]),e(Vt,d,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(b,[2,29]),e(b,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(b,[2,14],{14:[1,71]}),{4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,21:[1,72],22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:L,35:z,37:V,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(b,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(b,[2,34]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(kt,[2,46]),e(kt,[2,47]),e(b,[2,15]),e(b,[2,19]),e(Vt,d,{7:78}),e(b,[2,26]),e(b,[2,27]),{5:[1,79]},{5:[1,80]},{4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,21:[1,81],22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:L,35:z,37:V,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(b,[2,32]),e(b,[2,33]),e(b,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:t(function(c,p){if(p.recoverable)this.trace(c);else{var n=Error(c);throw n.hash=p,n}},"parseError"),parse:t(function(c){var p=this,n=[0],k=[],_=[null],a=[],at=this.table,h="",X=0,J=0,ct=0,Et=2,_t=1,de=a.slice.call(arguments,1),v=Object.create(this.lexer),tt={yy:{}};for(var wt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,wt))tt.yy[wt]=this.yy[wt];if(v.setInput(c,tt.yy),tt.yy.lexer=v,tt.yy.parser=this,typeof v.yylloc>"u")v.yylloc={};var It=v.yylloc;a.push(It);var ue=v.options&&v.options.ranges;if(typeof tt.yy.parseError==="function")this.parseError=tt.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function fe(U){n.length=n.length-2*U,_.length=_.length-U,a.length=a.length-U}t(fe,"popStack");function Mt(){var U=k.pop()||v.lex()||_t;if(typeof U!=="number"){if(U instanceof Array)k=U,U=k.pop();U=p.symbols_[U]||U}return U}t(Mt,"lex");var w,Nt,et,j,Qe,Ot,nt={},vt,q,Wt,Dt;while(!0){if(et=n[n.length-1],this.defaultActions[et])j=this.defaultActions[et];else{if(w===null||typeof w>"u")w=Mt();j=at[et]&&at[et][w]}if(typeof j>"u"||!j.length||!j[0]){var Rt="";Dt=[];for(vt in at[et])if(this.terminals_[vt]&&vt>Et)Dt.push("'"+this.terminals_[vt]+"'");if(v.showPosition)Rt="Parse error on line "+(X+1)+`:
2
- `+v.showPosition()+`
3
- Expecting `+Dt.join(", ")+", got '"+(this.terminals_[w]||w)+"'";else Rt="Parse error on line "+(X+1)+": Unexpected "+(w==_t?"end of input":"'"+(this.terminals_[w]||w)+"'");this.parseError(Rt,{text:v.match,token:this.terminals_[w]||w,line:v.yylineno,loc:It,expected:Dt})}if(j[0]instanceof Array&&j.length>1)throw Error("Parse Error: multiple actions possible at state: "+et+", token: "+w);switch(j[0]){case 1:if(n.push(w),_.push(v.yytext),a.push(v.yylloc),n.push(j[1]),w=null,!Nt){if(J=v.yyleng,h=v.yytext,X=v.yylineno,It=v.yylloc,ct>0)ct--}else w=Nt,Nt=null;break;case 2:if(q=this.productions_[j[1]][1],nt.$=_[_.length-q],nt._$={first_line:a[a.length-(q||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(q||1)].first_column,last_column:a[a.length-1].last_column},ue)nt._$.range=[a[a.length-(q||1)].range[0],a[a.length-1].range[1]];if(Ot=this.performAction.apply(nt,[h,J,X,tt.yy,j[1],_,a].concat(de)),typeof Ot<"u")return Ot;if(q)n=n.slice(0,-1*q*2),_=_.slice(0,-1*q),a=a.slice(0,-1*q);n.push(this.productions_[j[1]][0]),_.push(nt.$),a.push(nt._$),Wt=at[n[n.length-2]][n[n.length-1]],n.push(Wt);break;case 3:return!0}}return!0},"parse")},he=function(){var Q={EOF:1,parseError:t(function(p,n){if(this.yy.parser)this.yy.parser.parseError(p,n);else throw Error(p)},"parseError"),setInput:t(function(c,p){if(this.yy=p||this.yy||{},this._input=c,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 c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var p=c.match(/(?:\r\n?|\n).*/g);if(p)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),c},"input"),unput:t(function(c){var p=c.length,n=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-p),this.offset-=p;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),n.length-1)this.yylineno-=n.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:n?(n.length===k.length?this.yylloc.first_column:0)+k[k.length-n.length].length-n[0].length:this.yylloc.first_column-p},this.options.ranges)this.yylloc.range=[_[0],_[0]+this.yyleng-p];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(c){this.unput(this.match.slice(c))},"less"),pastInput:t(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var c=this.match;if(c.length<20)c+=this._input.substr(0,20-c.length);return(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var c=this.pastInput(),p=Array(c.length+1).join("-");return c+this.upcomingInput()+`
5
- `+p+"^"},"showPosition"),test_match:t(function(c,p){var n,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=c[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+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,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(c[0].length),this.matched+=c[0],n=this.performAction.call(this,this.yy,this,p,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(n)return n;else if(this._backtrack){for(var a in _)this[a]=_[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var c,p,n,k;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var a=0;a<_.length;a++)if(n=this._input.match(this.rules[_[a]]),n&&(!p||n[0].length>p[0].length)){if(p=n,k=a,this.options.backtrack_lexer)if(c=this.test_match(n,_[a]),c!==!1)return c;else if(this._backtrack){p=!1;continue}else return!1;else if(!this.options.flex)break}if(p){if(c=this.test_match(p,_[k]),c!==!1)return c;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 p=this.next();if(p)return p;else return this.lex()},"lex"),begin:t(function(p){this.conditionStack.push(p)},"begin"),popState:t(function(){var p=this.conditionStack.length-1;if(p>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(p){if(p=this.conditionStack.length-1-Math.abs(p||0),p>=0)return this.conditionStack[p];else return"INITIAL"},"topState"),pushState:t(function(p){this.begin(p)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(p,n,k,_){function a(){let h=n.yytext.indexOf("%%");if(h===0)return!1;if(h>0){let X=n.yytext.slice(0,h),J=n.yytext.slice(h);if(J)p.lexer.unput(J);n.yytext=X}return!0}t(a,"processId");var at=_;switch(k){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState("SCALE"),17;break;case 14:return 18;case 15:this.popState();break;case 16:return this.begin("acc_title"),33;break;case 17:return this.popState(),"acc_title_value";break;case 18:return this.begin("acc_descr"),35;break;case 19:return this.popState(),"acc_descr_value";break;case 20:this.begin("acc_descr_multiline");break;case 21:this.popState();break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;break;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 25:return this.popState(),this.pushState("CLASSDEFID"),42;break;case 26:return this.popState(),43;break;case 27:return this.pushState("CLASS"),48;break;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;break;case 29:return this.popState(),50;break;case 30:return this.pushState("STYLE"),45;break;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;break;case 32:return this.popState(),47;break;case 33:return this.pushState("SCALE"),17;break;case 34:return 18;case 35:this.popState();break;case 36:this.pushState("STATE");break;case 37:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 38:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 39:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 40:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 41:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 42:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";break;case 49:if(!a())return;return this.popState(),"ID";break;case 50:this.popState();break;case 51:return"STATE_DESCR";case 52:throw Error('Error: State name must be a single word. Found: "'+n.yytext.trim()+'"');case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;break;case 56:return this.popState(),21;break;case 57:break;case 58:return this.begin("NOTE"),29;break;case 59:return this.popState(),this.pushState("NOTE_ID"),59;break;case 60:return this.popState(),this.pushState("NOTE_ID"),60;break;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";break;case 63:break;case 64:return"NOTE_TEXT";case 65:if(!a())return;return this.popState(),"ID";break;case 66:if(!a())return;return this.popState(),this.pushState("NOTE_TEXT"),24;break;case 67:return this.popState(),n.yytext=n.yytext.substr(2).trim(),31;break;case 68:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),31;break;case 69:return 6;case 70:return 6;case 71:return 16;case 72:return 57;case 73:if(!a())return;return 24;case 74:return n.yytext=n.yytext.trim(),14;break;case 75:return 15;case 76:return 28;case 77:return 58;case 78:return 5;case 79:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}};return Q}();Lt.lexer=he;function Tt(){this.yy={}}return t(Tt,"Parser"),Tt.prototype=Lt,Lt.Parser=Tt,new Tt}();Pt.parser=Pt;var pe=Pt,Se="TB",Jt="TB",jt="dir",lt="state",ot="root",Bt="relation",ge="classDef",ye="style",me="applyClass",ft="default",qt="divider",Qt="fill:none",Zt="fill: #333",te="c",ee="markdown",se="normal",$t="rect",Ft="rectWithTitle",be="stateStart",ke="stateEnd",Gt="divider",Ut="roundedWithTitle",Te="note",Ee="noteGroup",pt="statediagram",_e="state",ve=`${pt}-${_e}`,re="transition",Ce="note",Ae="note-edge",xe=`${re} ${Ae}`,Le=`${pt}-${Ce}`,we="cluster",Ie=`${pt}-${we}`,Oe="cluster-alt",Re=`${pt}-${Oe}`,ie="parent",ae="note",$e="state",Yt="----",Fe=`${Yt}${ae}`,Ht=`${Yt}${ie}`,At=new Map,Z=0,ne=0,ht=new Map,Be=t((e,s,l,r)=>{if(e===Gt&&l?.id!==void 0&&ht.has(l.id)){let y=ht.get(l.id);return ht.set(s,y),y}let d=ne++,f=r?void 0:d;return ht.set(s,f),f},"colorSlotFor");function xt(e="",s=0,l="",r=Yt){let d=l!==null&&l.length>0?`${r}${l}`:"";return`${$e}-${e}${d}-${s}`}t(xt,"stateDomId");var Ge=t((e,s,l,r,d,f,y,m)=>{i.trace("items",s),s.forEach((o)=>{switch(o.stmt){case lt:ut(e,o,l,r,d,f,y,m);break;case ft:ut(e,o,l,r,d,f,y,m);break;case Bt:{ut(e,o.state1,l,r,d,f,y,m),ut(e,o.state2,l,r,d,f,y,m);let T=y==="neo",E={id:"edge"+Z,start:o.state1.id,end:o.state2.id,arrowhead:"normal",arrowTypeEnd:T?"arrow_barb_neo":"arrow_barb",style:Qt,labelStyle:"",label:C.sanitizeText(o.description??"",u()),arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,classes:re,look:y};d.push(E),Z++}break}})},"setupDoc"),zt=t((e,s=Jt)=>{let l=s;if(e.doc){for(let r of e.doc)if(r.stmt==="dir")l=r.value}return l},"getDir");function dt(e,s,l){if(!s.id||s.id==="</join></fork>"||s.id==="</choice>")return;if(s.cssClasses){if(!Array.isArray(s.cssCompiledStyles))s.cssCompiledStyles=[];s.cssClasses.split(" ").forEach((d)=>{let f=l.get(d);if(f)s.cssCompiledStyles=[...s.cssCompiledStyles??[],...f.styles]})}let r=e.find((d)=>d.id===s.id);if(r)Object.assign(r,s);else e.push(s)}t(dt,"insertOrUpdateNode");function oe(e){return e?.classes?.join(" ")??""}t(oe,"getClassesFromDbInfo");function le(e){return e?.styles??[]}t(le,"getStylesFromDbInfo");var ut=t((e,s,l,r,d,f,y,m)=>{let o=s.id,T=l.get(o),E=oe(T),B=le(T),G=u(),W=E.trim()!==""||B.length>0;if(i.info("dataFetcher parsedItem",s,T,B),o!=="root"){let x=$t;if(s.start===!0)x=be;else if(s.start===!1)x=ke;if(s.type!==ft)x=s.type;if(!At.get(o))At.set(o,{id:o,shape:x,description:C.sanitizeText(o,G),cssClasses:`${E} ${ve}`,cssStyles:B});let S=At.get(o);if(s.description){if(Array.isArray(S.description))S.shape=Ft,S.description.push(s.description);else if(S.description?.length&&S.description.length>0)if(S.shape=Ft,S.description===o)S.description=[s.description];else S.description=[S.description,s.description];else S.shape=$t,S.description=s.description;S.description=C.sanitizeTextOrArray(S.description,G)}if(S.description?.length===1&&S.shape===Ft)if(S.type==="group")S.shape=Ut;else S.shape=$t;if(!S.type&&s.doc)i.info("Setting cluster for XCX",o,zt(s)),S.type="group",S.isGroup=!0,S.dir=zt(s),S.shape=s.type===qt?Gt:Ut,S.colorIndex=Be(S.shape,o,e,W),S.cssClasses=`${S.cssClasses} ${Ie} ${f?Re:""}`;let Y={labelStyle:"",shape:S.shape,label:S.description,cssClasses:S.cssClasses,cssCompiledStyles:[],cssStyles:S.cssStyles,id:o,dir:S.dir,domId:xt(o,Z),type:S.type,isGroup:S.type==="group",colorIndex:S.colorIndex,padding:8,rx:10,ry:10,look:y,labelType:"markdown"};if(Y.shape===Gt)Y.label="";if(e&&e.id!=="root")i.trace("Setting node ",o," to be child of its parent ",e.id),Y.parentId=e.id;if(Y.centerLabel=!0,s.note){let L={labelStyle:"",shape:Te,label:s.note.text,labelType:"markdown",cssClasses:Le,cssStyles:[],cssCompiledStyles:[],id:o+Fe+"-"+Z,domId:xt(o,Z,ae),type:"node",isGroup:!1,padding:G.flowchart?.padding,look:y,position:s.note.position},z=o+Ht,V={labelStyle:"",shape:Ee,label:s.note.text,cssClasses:S.cssClasses,cssStyles:[],id:o+Ht,domId:xt(o,Z,ie),type:"group",isGroup:!0,padding:16,look:y,position:s.note.position};Z++,V.id=z,L.parentId=z,dt(r,V,m),dt(r,L,m),dt(r,Y,m);let K=o,A=L.id;if(s.note.position==="left of")K=L.id,A=o;d.push({id:K+"-"+A,start:K,end:A,arrowhead:"none",arrowTypeEnd:"",style:Qt,labelStyle:"",classes:xe,pattern:"dashed",arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,look:y})}else dt(r,Y,m)}if(s.doc)i.trace("Adding nodes children "),Ge(s,s.doc,l,r,d,!f,y,m)},"dataFetcher"),Ye=t(()=>{At.clear(),Z=0,ne=0,ht.clear()},"reset"),ce=t((e,s=Jt)=>{if(!e.doc)return s;let l=s;for(let r of e.doc)if(r.stmt==="dir")l=r.value;return l},"getDir"),Ve=t(function(e,s){return s.db.getClasses()},"getClasses"),We=t(async function(e,s,l,r){i.info("REF0:"),i.info("Drawing state diagram (v2)",s);let{securityLevel:d,state:f,layout:y}=u();r.db.extract(r.db.getRootDocV2());let m=r.db.getData(),o=ze(s,d);if(m.type=r.type,m.layoutAlgorithm=Ue(y),m.nodeSpacing=f?.nodeSpacing||50,m.rankSpacing=f?.rankSpacing||50,u().look==="neo")m.markers=["barbNeo"];else m.markers=["barb"];m.diagramId=s,await He(m,o);let E=8;try{(typeof r.db.getLinks==="function"?r.db.getLinks():new Map).forEach((G,W)=>{let x=typeof W==="string"?W:typeof W?.id==="string"?W.id:"",S=m.nodes.find((A)=>A.id===x);if(!x){i.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(W));return}let Y=o.node()?.querySelectorAll("g.node, g.rough-node"),L;if(Y?.forEach((A)=>{let rt=A.textContent?.trim();if(A.id===S?.domId||rt===x)L=A}),!L){i.warn("⚠️ Could not find node matching text:",x);return}let z=L.parentNode;if(!z){i.warn("⚠️ Node has no parent, cannot wrap:",x);return}let V=document.createElementNS("http://www.w3.org/2000/svg","a"),K=G.url.replace(/^"+|"+$/g,"");if(V.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",K),V.setAttribute("target","_blank"),G.tooltip){let A=G.tooltip.replace(/^"+|"+$/g,"");V.setAttribute("title",A),L.setAttribute("title",A)}z.replaceChild(V,L),V.appendChild(L),i.info("\uD83D\uDD17 Wrapped node in <a> tag for:",x,G.url)})}catch(B){i.error("❌ Error injecting clickable links:",B)}H.insertTitle(o,"statediagramTitleText",f?.titleTopMargin??25,r.db.getDiagramTitle()),Pe(o,E,pt,f?.useMaxWidth??!0)},"draw"),je={getClasses:Ve,draw:We,getDir:ce},F={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},Kt=t(()=>new Map,"newClassesList"),Xt=t(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),Ct=t((e)=>JSON.parse(JSON.stringify(e)),"clone"),Ke=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=Kt(),this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.funs=[],this.getAccTitle=P,this.setAccTitle=M,this.getAccDescription=I,this.setAccDescription=R,this.setDiagramTitle=O,this.getDiagramTitle=D,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}static{t(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let r of Array.isArray(e)?e:e.doc)switch(r.stmt){case lt:this.addState(r.id.trim(),r.type,r.doc,r.description,r.note);break;case Bt:this.addRelation(r.state1,r.state2,r.description);break;case ge:this.addStyleClass(r.id.trim(),r.classes);break;case ye:this.handleStyleDef(r);break;case me:this.setCssClass(r.id.trim(),r.styleClass);break;case"click":this.addLink(r.id,r.url,r.tooltip);break}let s=this.getStates(),l=u();Ye(),ut(void 0,this.getRootDocV2(),s,this.nodes,this.edges,!0,l.look,this.classes);for(let r of this.nodes){if(!Array.isArray(r.label))continue;if(r.description=r.label.slice(1),r.isGroup&&r.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${r.id}]`);r.label=r.label[0]}}handleStyleDef(e){let s=e.id.trim().split(","),l=e.styleClass.split(",");for(let r of s){let d=this.getState(r);if(!d){let f=r.trim();this.addState(f),d=this.getState(f)}if(d)d.styles=l.map((f)=>f.replace(/;/g,"")?.trim())}}setRootDoc(e){if(i.info("Setting root doc",e),this.rootDoc=e,this.version===1)this.extract(e);else this.extract(this.getRootDocV2())}docTranslator(e,s,l){if(s.stmt===Bt){this.docTranslator(e,s.state1,!0),this.docTranslator(e,s.state2,!1);return}if(s.stmt===lt)if(s.id===F.START_NODE)s.id=e.id+(l?"_start":"_end"),s.start=l;else s.id=s.id.trim();if(s.stmt!==ot&&s.stmt!==lt||!s.doc)return;let r=[],d=[];for(let f of s.doc)if(f.type===qt){let y=Ct(f);y.doc=Ct(d),r.push(y),d=[]}else d.push(f);if(r.length>0&&d.length>0){let f={stmt:lt,id:tc(),type:"divider",doc:Ct(d)};r.push(Ct(f)),s.doc=r}s.doc.forEach((f)=>this.docTranslator(s,f,!0))}getRootDocV2(){return this.docTranslator({id:ot,stmt:ot},{id:ot,stmt:ot,doc:this.rootDoc},!0),{id:ot,doc:this.rootDoc}}addState(e,s=ft,l=void 0,r=void 0,d=void 0,f=void 0,y=void 0,m=void 0){let o=e?.trim();if(!this.currentDocument.states.has(o))i.info("Adding state ",o,r),this.currentDocument.states.set(o,{stmt:lt,id:o,descriptions:[],type:s,doc:l,note:d,classes:[],styles:[],textStyles:[]});else{let T=this.currentDocument.states.get(o);if(!T)throw Error(`State not found: ${o}`);if(!T.doc)T.doc=l;if(!T.type)T.type=s}if(r)i.info("Setting state description",o,r),(Array.isArray(r)?r:[r]).forEach((E)=>this.addDescription(o,E.trim()));if(d){let T=this.currentDocument.states.get(o);if(!T)throw Error(`State not found: ${o}`);T.note=d,T.note.text=C.sanitizeText(T.note.text,u())}if(f)i.info("Setting state classes",o,f),(Array.isArray(f)?f:[f]).forEach((E)=>this.setCssClass(o,E.trim()));if(y)i.info("Setting state styles",o,y),(Array.isArray(y)?y:[y]).forEach((E)=>this.setStyle(o,E.trim()));if(m)i.info("Setting state styles",o,y),(Array.isArray(m)?m:[m]).forEach((E)=>this.setTextStyle(o,E.trim()))}clear(e){if(this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Kt(),!e)this.links=new Map,N()}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){i.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,s,l){this.links.set(e,{url:s,tooltip:l}),i.warn("Adding link",e,s,l)}getLinks(){return this.links}startIdIfNeeded(e=""){if(e===F.START_NODE)return this.startEndCount++,`${F.START_TYPE}${this.startEndCount}`;return e}startTypeIfNeeded(e="",s=ft){return e===F.START_NODE?F.START_TYPE:s}endIdIfNeeded(e=""){if(e===F.END_NODE)return this.startEndCount++,`${F.END_TYPE}${this.startEndCount}`;return e}endTypeIfNeeded(e="",s=ft){return e===F.END_NODE?F.END_TYPE:s}addRelationObjs(e,s,l=""){let r=this.startIdIfNeeded(e.id.trim()),d=this.startTypeIfNeeded(e.id.trim(),e.type),f=this.startIdIfNeeded(s.id.trim()),y=this.startTypeIfNeeded(s.id.trim(),s.type);this.addState(r,d,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(f,y,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:C.sanitizeText(l,u())})}addRelation(e,s,l){if(typeof e==="object"&&typeof s==="object")this.addRelationObjs(e,s,l);else if(typeof e==="string"&&typeof s==="string"){let r=this.startIdIfNeeded(e.trim()),d=this.startTypeIfNeeded(e),f=this.endIdIfNeeded(s.trim()),y=this.endTypeIfNeeded(s);this.addState(r,d),this.addState(f,y),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:l?C.sanitizeText(l,u()):void 0})}}addDescription(e,s){let l=this.currentDocument.states.get(e),r=s.startsWith(":")?s.replace(":","").trim():s;l?.descriptions?.push(C.sanitizeText(r,u()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,s=""){if(!this.classes.has(e))this.classes.set(e,{id:e,styles:[],textStyles:[]});let l=this.classes.get(e);if(s&&l)s.split(F.STYLECLASS_SEP).forEach((r)=>{let d=r.replace(/([^;]*);/,"$1").trim();if(RegExp(F.COLOR_KEYWORD).exec(r)){let y=d.replace(F.FILL_KEYWORD,F.BG_FILL).replace(F.COLOR_KEYWORD,F.FILL_KEYWORD);l.textStyles.push(y)}l.styles.push(d)})}getClasses(){return this.classes}setupToolTips(e){let s=On();g(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover",(d)=>{let f=g(d.currentTarget),y=f.attr("title");if(y===null)return;let m=d.currentTarget?.getBoundingClientRect();s.transition().duration(200).style("opacity",".9"),s.style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),s.html(st.sanitize(y)),f.classed("hover",!0)}).on("mouseout",(d)=>{s.transition().duration(500).style("opacity",0),g(d.currentTarget).classed("hover",!1)})}setCssClass(e,s){e.split(",").forEach((l)=>{let r=this.getState(l);if(!r){let d=l.trim();this.addState(d),r=this.getState(d)}r?.classes?.push(s)})}setStyle(e,s){this.getState(e)?.styles?.push(s)}setTextStyle(e,s){this.getState(e)?.textStyles?.push(s)}bindFunctions(e){this.funs.forEach((s)=>{s(e)})}getDirectionStatement(){return this.rootDoc.find((e)=>e.stmt===jt)}getDirection(){return this.getDirectionStatement()?.value??Se}setDirection(e){let s=this.getDirectionStatement();if(s)s.value=e;else this.rootDoc.unshift({stmt:jt,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){let e=u();for(let s of this.nodes)if(s.wrappingWidth??=e.state?.wrappingWidth,!s.isGroup)s.minWidth??=e.state?.minNodeWidth;return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:ce(this.getRootDocV2())}}getConfig(){return u().state}},Xe=t((e)=>{let{theme:s,bkgColorArray:l,borderColorArray:r}=e;if(!Ne(s,r))return"";let d=Me(e.look),f=De(l),y="";for(let m=0;m<mn(r);m++){let o=r[m],T=f?`fill: ${l[m%l.length]};`:"",E=`[data-look="${d}"][data-color-id="color-${m}"]`;y+=`
7
-
8
- /* The title strip: \`rect.outer\` spans the whole composite and \`rect.inner\` covers
9
- the body, so what stays visible of \`outer\` is the band behind the label. */
10
- ${E}.statediagram-cluster rect.outer {
11
- stroke: ${o};
12
- ${T}
13
- }
14
-
15
- ${E}.statediagram-cluster rect.inner {
16
- stroke: ${o};
17
- }
18
-
19
- /* Concurrency regions. Siblings of one composite share a slot, so a divided composite
20
- reads as one thing split into parts rather than as several composites. */
21
- ${E}.statediagram-cluster rect.divider {
22
- stroke: ${o};
23
- ${T}
24
- }
25
-
26
- /* handDrawn draws the same container as roughjs shapes rather than plain rects, so it
27
- needs its own rules. \`roundedWithTitle\` and \`divider\` name those groups \`outer\`,
28
- \`inner\` and \`divider\` to match the classic branch, which is what lets these
29
- discriminate -- a bare \`.statediagram-cluster path\` rule reached the body as well and
30
- tinted the whole composite, losing \`compositeBackground\` and diverging from what
31
- classic and neo do.
32
-
33
- roughjs emits two paths per shape and marks them: the filled shape carries
34
- \`stroke="none"\` and the sketched outline carries \`fill="none"\`. Splitting on that is
35
- what keeps \`fill\` off the outline -- a rough outline is open squiggles, not a closed
36
- region, so filling it produces smears -- and keeps \`stroke\` off the fill shape, which
37
- would otherwise gain an edge it was drawn without. */
38
- ${E}.statediagram-cluster .outer path[stroke='none'] {
39
- ${T}
40
- }
41
-
42
- ${E}.statediagram-cluster .outer path[fill='none'] {
43
- stroke: ${o};
44
- }
45
-
46
- /* No \`.inner\` rule on purpose. The body shape is left entirely alone under handDrawn,
47
- where a rect's \`inner\` counterpart cannot be recoloured safely: roughjs draws a
48
- hachure fill as *stroked* lines, so its fill paths carry \`fill="none"\` exactly like
49
- the outline and no selector separates them. An \`.inner\` stroke rule therefore
50
- repainted the hatching of every alt composite in the palette colour instead of
51
- leaving it on \`altBackground\`. The container still reads as palette-coloured: the
52
- \`outer\` shape spans the whole composite, so its outline already frames the body. */
53
-
54
- /* Regions split the same way, which is why \`divider\` fills solid rather than taking
55
- roughjs's default hachure -- see the note on that call. Hatched, both of its paths
56
- carried \`fill="none"\` and these two rules degenerated: the tint matched nothing and
57
- the border rule repainted the hatching. */
58
- ${E}.statediagram-cluster .divider path[stroke='none'] {
59
- ${T}
60
- }
61
-
62
- ${E}.statediagram-cluster .divider path[fill='none'] {
63
- stroke: ${o};
64
- }
65
- `}return y},"genColor"),Je=t((e)=>`
66
- ${Xe(e)}
67
- defs [id$="-barbEnd"] {
68
- fill: ${e.transitionColor};
69
- stroke: ${e.transitionColor};
70
- }
71
- g.stateGroup text {
72
- fill: ${e.nodeBorder};
73
- stroke: none;
74
- font-size: 10px;
75
- }
76
- g.stateGroup text {
77
- fill: ${e.textColor};
78
- stroke: none;
79
- font-size: 10px;
80
-
81
- }
82
- g.stateGroup .state-title {
83
- font-weight: bolder;
84
- fill: ${e.stateLabelColor};
85
- }
86
-
87
- g.stateGroup rect {
88
- fill: ${e.mainBkg};
89
- stroke: ${e.nodeBorder};
90
- }
91
-
92
- g.stateGroup line {
93
- stroke: ${e.lineColor};
94
- stroke-width: ${e.strokeWidth||1};
95
- }
96
-
97
- .transition {
98
- stroke: ${e.transitionColor};
99
- stroke-width: ${e.strokeWidth||1};
100
- fill: none;
101
- }
102
-
103
- .stateGroup .composit {
104
- fill: ${e.background};
105
- border-bottom: 1px
106
- }
107
-
108
- .stateGroup .alt-composit {
109
- fill: #e0e0e0;
110
- border-bottom: 1px
111
- }
112
-
113
- .state-note {
114
- stroke: ${e.noteBorderColor};
115
- fill: ${e.noteBkgColor};
116
-
117
- text {
118
- fill: ${e.noteTextColor};
119
- stroke: none;
120
- font-size: 10px;
121
- }
122
- }
123
-
124
- .stateLabel .box {
125
- stroke: none;
126
- stroke-width: 0;
127
- fill: ${e.mainBkg};
128
- opacity: 0.5;
129
- }
130
-
131
- .edgeLabel .label rect {
132
- fill: ${e.labelBackgroundColor};
133
- opacity: 0.5;
134
- }
135
- .edgeLabel {
136
- background-color: ${e.edgeLabelBackground};
137
- p {
138
- background-color: ${e.edgeLabelBackground};
139
- }
140
- rect {
141
- opacity: 0.5;
142
- background-color: ${e.edgeLabelBackground};
143
- fill: ${e.edgeLabelBackground};
144
- }
145
- text-align: center;
146
- }
147
- .edgeLabel .label text {
148
- fill: ${e.transitionLabelColor||e.tertiaryTextColor};
149
- }
150
- .label div .edgeLabel {
151
- color: ${e.transitionLabelColor||e.tertiaryTextColor};
152
- }
153
-
154
- .stateLabel text {
155
- fill: ${e.stateLabelColor};
156
- font-size: 10px;
157
- font-weight: bold;
158
- }
159
-
160
- .node circle.state-start {
161
- fill: ${e.specialStateColor};
162
- stroke: ${e.specialStateColor};
163
- }
164
-
165
- .node .fork-join {
166
- fill: ${e.specialStateColor};
167
- stroke: ${e.specialStateColor};
168
- }
169
-
170
- .node circle.state-end {
171
- fill: ${e.innerEndBackground};
172
- stroke: ${e.background};
173
- stroke-width: 1.5
174
- }
175
- .end-state-inner {
176
- fill: ${e.compositeBackground||e.background};
177
- // stroke: ${e.background};
178
- stroke-width: 1.5
179
- }
180
-
181
- .node rect {
182
- fill: ${e.stateBkg||e.mainBkg};
183
- stroke: ${e.stateBorder||e.nodeBorder};
184
- stroke-width: ${e.strokeWidth||1}px;
185
- }
186
- .node polygon {
187
- fill: ${e.mainBkg};
188
- stroke: ${e.stateBorder||e.nodeBorder};;
189
- stroke-width: ${e.strokeWidth||1}px;
190
- }
191
- [id$="-barbEnd"] {
192
- fill: ${e.lineColor};
193
- }
194
-
195
- .statediagram-cluster rect {
196
- fill: ${e.compositeTitleBackground};
197
- stroke: ${e.stateBorder||e.nodeBorder};
198
- stroke-width: ${e.strokeWidth||1}px;
199
- }
200
-
201
- .cluster-label, .nodeLabel {
202
- color: ${e.stateLabelColor};
203
- // line-height: 1;
204
- }
205
-
206
- .statediagram-cluster rect.outer {
207
- rx: 5px;
208
- ry: 5px;
209
- }
210
- .statediagram-state .divider {
211
- stroke: ${e.stateBorder||e.nodeBorder};
212
- }
213
-
214
- .statediagram-state .title-state {
215
- rx: 5px;
216
- ry: 5px;
217
- }
218
- .statediagram-cluster.statediagram-cluster .inner {
219
- fill: ${e.compositeBackground||e.background};
220
- }
221
- .statediagram-cluster.statediagram-cluster-alt .inner {
222
- fill: ${e.altBackground?e.altBackground:"#efefef"};
223
- }
224
-
225
- .statediagram-cluster .inner {
226
- rx:0;
227
- ry:0;
228
- }
229
-
230
- .statediagram-state rect.basic {
231
- rx: 5px;
232
- ry: 5px;
233
- }
234
- .statediagram-state rect.divider {
235
- stroke-dasharray: 10,10;
236
- fill: ${e.altBackground?e.altBackground:"#efefef"};
237
- }
238
-
239
- .note-edge {
240
- stroke-dasharray: 5;
241
- }
242
-
243
- .statediagram-note rect {
244
- fill: ${e.noteBkgColor};
245
- stroke: ${e.noteBorderColor};
246
- stroke-width: 1px;
247
- rx: 0;
248
- ry: 0;
249
- }
250
- .statediagram-note rect {
251
- fill: ${e.noteBkgColor};
252
- stroke: ${e.noteBorderColor};
253
- stroke-width: 1px;
254
- rx: 0;
255
- ry: 0;
256
- }
257
-
258
- .statediagram-note text {
259
- fill: ${e.noteTextColor};
260
- }
261
-
262
- .statediagram-note .nodeLabel {
263
- color: ${e.noteTextColor};
264
- }
265
- .statediagram .edgeLabel {
266
- color: red; // ${e.noteTextColor};
267
- }
268
-
269
- [id$="-dependencyStart"], [id$="-dependencyEnd"] {
270
- fill: ${e.lineColor};
271
- stroke: ${e.lineColor};
272
- stroke-width: ${e.strokeWidth||1};
273
- }
274
-
275
- .statediagramTitleText {
276
- text-anchor: middle;
277
- font-size: 18px;
278
- fill: ${e.textColor};
279
- }
280
-
281
- [data-look="neo"].statediagram-cluster rect {
282
- fill: ${e.mainBkg};
283
- stroke: ${e.useGradient?"url("+e.svgId+"-gradient)":e.stateBorder||e.nodeBorder};
284
- stroke-width: ${e.strokeWidth??1};
285
- }
286
- [data-look="neo"].statediagram-cluster rect.outer {
287
- rx: ${e.radius}px;
288
- ry: ${e.radius}px;
289
- filter: ${e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${e.svgId}-drop-shadow)`):"none"}
290
- }
291
- `,"getStyles"),qe=Je,ms={parser:pe,get db(){return new Ke(2)},renderer:je,styles:qe,init:t((e)=>{if(!e.state)e.state={};e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{ms as diagram};
Binary file
Binary file
@@ -1,89 +0,0 @@
1
- import{t,i,Ke,A,q,W,N,u,J}from"./chunk-rmzb9edh.js";var M="",O="",D="",E=[],z=new Map,v=t((e)=>q(e,u()),"sanitizeText"),y=t((e)=>{switch(e.type){case"terminal":return{...e,value:v(e.value)};case"nonterminal":return{...e,name:v(e.name)};case"sequence":return{...e,elements:e.elements.map(y)};case"choice":return{...e,alternatives:e.alternatives.map(y)};case"optional":return{...e,element:y(e.element)};case"repetition":return{...e,element:y(e.element),separator:e.separator?y(e.separator):void 0};case"special":return{...e,text:v(e.text)}}},"sanitizeAstNode"),G=t(()=>{M="",O="",D="",E.length=0,z.clear(),N(),i.debug("[Railroad] Database cleared")},"clear"),P=t((e)=>{M=v(e),i.debug("[Railroad] Title set:",e)},"setTitle"),L=t(()=>M,"getTitle"),U=t((e)=>{let a={...e,name:v(e.name),definition:y(e.definition),comment:e.comment?v(e.comment):void 0};if(i.debug("[Railroad] Adding rule:",a.name),z.has(a.name))i.warn(`[Railroad] Rule '${a.name}' is already defined. Overwriting.`);E.push(a),z.set(a.name,a)},"addRule"),j=t(()=>E,"getRules"),K=t((e)=>z.get(e),"getRule"),Q=t((e)=>{O=v(e).replace(/^\s+/g,""),i.debug("[Railroad] Accessibility title set:",e)},"setAccTitle"),Z=t(()=>O,"getAccTitle"),V=t((e)=>{D=v(e).replace(/\n\s+/g,`
2
- `),i.debug("[Railroad] Accessibility description set:",e)},"setAccDescription"),ee=t(()=>D,"getAccDescription"),te=P,re=L,he={clear:G,setTitle:P,getTitle:L,addRule:U,getRules:j,getRule:K,setAccTitle:Q,getAccTitle:Z,setAccDescription:V,getAccDescription:ee,setDiagramTitle:te,getDiagramTitle:re},T={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5},ie=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,ne=/^[\w "',.-]+$/,ae=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),I=t((e)=>{if(!e)return!1;return Object.keys(e).every((a)=>a==="railroad"||ae.has(a))},"isRailroadStyleOptions"),oe=t((e)=>{if(!e)return{};if("railroad"in e&&e.railroad)return e.railroad;return I(e)?e:{}},"extractRailroadOverrides"),le=t((e)=>{if(!e||I(e))return{};let{railroad:a,svgId:l,theme:n,look:r,...o}=e;return o},"extractThemeOverrides"),p=t((e,a)=>{if(typeof e!=="string")return a;let l=e.trim();return ie.test(l)?l:a},"sanitizeColorValue"),X=t((e,a)=>{if(typeof e!=="string")return a;let l=e.trim();return ne.test(l)?l:a},"sanitizeFontFamilyValue"),F=t((e,a)=>{let l=typeof e==="number"?e:typeof e==="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(l)&&l>=0?l:a},"sanitizeNumberValue"),se=t((e)=>{let a=typeof e==="number"?e:typeof e==="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(a)&&a>0?a:void 0},"parseThemeFontSize"),de=t((e)=>{let a=X(e.fontFamily,T.fontFamily),l=se(e.fontSize)??T.fontSize;return{...T,fontFamily:a,fontSize:l,terminalFill:p(e.secondBkg??e.secondaryColor,T.terminalFill),terminalStroke:p(e.secondaryBorderColor??e.lineColor,T.terminalStroke),terminalTextColor:p(e.secondaryTextColor??e.textColor,T.terminalTextColor),nonTerminalFill:p(e.mainBkg??e.background,T.nonTerminalFill),nonTerminalStroke:p(e.primaryBorderColor??e.lineColor,T.nonTerminalStroke),nonTerminalTextColor:p(e.primaryTextColor??e.textColor,T.nonTerminalTextColor),lineColor:p(e.lineColor,T.lineColor),markerFill:p(e.lineColor,T.markerFill),commentFill:p(e.labelBackground??e.tertiaryColor,T.commentFill),commentStroke:p(e.tertiaryBorderColor??e.lineColor,T.commentStroke),commentTextColor:p(e.tertiaryTextColor??e.textColor,T.commentTextColor),specialFill:p(e.tertiaryColor??e.secondaryColor,T.specialFill),specialStroke:p(e.tertiaryBorderColor??e.secondaryBorderColor,T.specialStroke),ruleNameColor:p(e.titleColor??e.textColor,T.ruleNameColor)}},"buildThemeDefaults"),_=t((e)=>{let a=A(),l={...Ke(),...a.themeVariables??{},...le(e)},n=de(l),r={...a.railroad??{},...oe(e)};return{compactMode:r.compactMode??n.compactMode,padding:F(r.padding,n.padding),verticalSeparation:F(r.verticalSeparation,n.verticalSeparation),horizontalSeparation:F(r.horizontalSeparation,n.horizontalSeparation),arcRadius:F(r.arcRadius,n.arcRadius),fontSize:F(r.fontSize,n.fontSize),fontFamily:X(r.fontFamily,n.fontFamily),terminalFill:p(r.terminalFill,n.terminalFill),terminalStroke:p(r.terminalStroke,n.terminalStroke),terminalTextColor:p(r.terminalTextColor,n.terminalTextColor),nonTerminalFill:p(r.nonTerminalFill,n.nonTerminalFill),nonTerminalStroke:p(r.nonTerminalStroke,n.nonTerminalStroke),nonTerminalTextColor:p(r.nonTerminalTextColor,n.nonTerminalTextColor),lineColor:p(r.lineColor,n.lineColor),strokeWidth:F(r.strokeWidth,n.strokeWidth),markerFill:p(r.markerFill,n.markerFill),commentFill:p(r.commentFill,n.commentFill),commentStroke:p(r.commentStroke,n.commentStroke),commentTextColor:p(r.commentTextColor,n.commentTextColor),specialFill:p(r.specialFill,n.specialFill),specialStroke:p(r.specialStroke,n.specialStroke),ruleNameColor:p(r.ruleNameColor,n.ruleNameColor),showMarkers:r.showMarkers??n.showMarkers,markerRadius:F(r.markerRadius,n.markerRadius)}},"buildRailroadStyleOptions"),Mn=t((e)=>{let{fontFamily:a,fontSize:l,terminalFill:n,terminalStroke:r,terminalTextColor:o,nonTerminalFill:g,nonTerminalStroke:c,nonTerminalTextColor:s,lineColor:f,strokeWidth:h,markerFill:m,commentFill:C,commentStroke:d,commentTextColor:x,specialFill:R,specialStroke:S,ruleNameColor:k}=_(e);return`
3
- .railroad-diagram {
4
- font-family: ${a};
5
- font-size: ${l}px;
6
- }
7
-
8
- .railroad-terminal rect {
9
- fill: ${n};
10
- stroke: ${r};
11
- stroke-width: ${h}px;
12
- }
13
-
14
- .railroad-terminal text {
15
- fill: ${o};
16
- font-family: ${a};
17
- font-size: ${l}px;
18
- text-anchor: middle;
19
- dominant-baseline: middle;
20
- }
21
-
22
- .railroad-nonterminal rect {
23
- fill: ${g};
24
- stroke: ${c};
25
- stroke-width: ${h}px;
26
- }
27
-
28
- .railroad-nonterminal text {
29
- fill: ${s};
30
- font-family: ${a};
31
- font-size: ${l}px;
32
- text-anchor: middle;
33
- dominant-baseline: middle;
34
- }
35
-
36
- .railroad-line {
37
- stroke: ${f};
38
- stroke-width: ${h}px;
39
- fill: none;
40
- }
41
-
42
- .railroad-start circle,
43
- .railroad-end circle {
44
- fill: ${m};
45
- }
46
-
47
- .railroad-comment ellipse {
48
- fill: ${C};
49
- stroke: ${d};
50
- stroke-width: ${h}px;
51
- }
52
-
53
- .railroad-comment text {
54
- fill: ${x};
55
- font-style: italic;
56
- font-family: ${a};
57
- font-size: ${l}px;
58
- text-anchor: middle;
59
- dominant-baseline: middle;
60
- }
61
-
62
- .railroad-special rect {
63
- fill: ${R};
64
- stroke: ${S};
65
- stroke-width: ${h}px;
66
- stroke-dasharray: 5,3;
67
- }
68
-
69
- .railroad-special text {
70
- fill: ${s};
71
- font-family: ${a};
72
- font-size: ${l}px;
73
- text-anchor: middle;
74
- dominant-baseline: middle;
75
- }
76
-
77
- .railroad-rule-name {
78
- font-weight: bold;
79
- fill: ${k};
80
- font-family: ${a};
81
- font-size: ${l}px;
82
- }
83
-
84
- .railroad-group {
85
- /* Grouping container, no specific styles */
86
- }
87
- `},"getStyles"),w=class{constructor(){this.d=""}static{t(this,"PathBuilder")}moveTo(e,a){return this.d+=`M ${e} ${a} `,this}lineTo(e,a){return this.d+=`L ${e} ${a} `,this}horizontalTo(e){return this.d+=`H ${e} `,this}verticalTo(e){return this.d+=`V ${e} `,this}arcTo(e,a,l,n,r,o,g){return this.d+=`A ${e} ${a} ${l} ${n?1:0} ${r?1:0} ${o} ${g} `,this}build(){return this.d.trim()}},ce=class{constructor(e,a=_()){this.textCache=new Map,this.svg=e,this.config=a}static{t(this,"RailroadRenderer")}measureText(e){if(this.textCache.has(e))return this.textCache.get(e);let a=this.svg.append("text").attr("font-family",this.config.fontFamily).attr("font-size",this.config.fontSize).text(e),l=a.node().getBBox(),n={width:l.width,height:l.height};return a.remove(),this.textCache.set(e,n),n}renderTerminal(e,a){let l=this.measureText(a),n=l.width+this.config.padding*2,r=l.height+this.config.padding*2,o=e.append("g").attr("class","railroad-terminal");return o.append("rect").attr("x",0).attr("y",0).attr("width",n).attr("height",r).attr("rx",10).attr("ry",10),o.append("text").attr("x",n/2).attr("y",r/2).text(a),{element:o.node(),dimensions:{width:n,height:r,up:r/2,down:r/2}}}renderNonTerminal(e,a){let l=this.measureText(a),n=l.width+this.config.padding*2,r=l.height+this.config.padding*2,o=e.append("g").attr("class","railroad-nonterminal");return o.append("rect").attr("x",0).attr("y",0).attr("width",n).attr("height",r),o.append("text").attr("x",n/2).attr("y",r/2).text(a),{element:o.node(),dimensions:{width:n,height:r,up:r/2,down:r/2}}}renderSequence(e,a){let l=a.map((s)=>this.renderExpression(e,s)),n=0,r=0,o=0;for(let s of l)n+=s.dimensions.width,r=Math.max(r,s.dimensions.up),o=Math.max(o,s.dimensions.down);n+=(l.length-1)*this.config.horizontalSeparation;let g=e.append("g").attr("class","railroad-sequence"),c=0;for(let s=0;s<l.length;s++){let f=l[s],h=r-f.dimensions.up;if(g.node().appendChild(f.element).setAttribute("transform",`translate(${c}, ${h})`),s<l.length-1){let C=c+f.dimensions.width,d=C+this.config.horizontalSeparation,x=r;g.append("path").attr("class","railroad-line").attr("d",new w().moveTo(C,x).lineTo(d,x).build())}c+=f.dimensions.width+this.config.horizontalSeparation}return{element:g.node(),dimensions:{width:n,height:r+o,up:r,down:o}}}renderChoice(e,a){let l=a.map((m)=>this.renderExpression(e,m)),n=0,r=0;for(let m of l)n=Math.max(n,m.dimensions.width),r+=m.dimensions.height;r+=(l.length-1)*this.config.verticalSeparation;let o=this.config.arcRadius,g=o*4,c=n+g,s=e.append("g").attr("class","railroad-choice"),f=0,h=r/2;for(let m of l){let C=f,d=C+m.dimensions.up,x=o*2+(n-m.dimensions.width)/2;s.node().appendChild(m.element).setAttribute("transform",`translate(${x}, ${C})`);let S=new w,k=d>h;if(d===h)S.moveTo(0,h).lineTo(x,d);else S.moveTo(0,h).arcTo(o,o,0,!1,k,o,h+(k?o:-o)).lineTo(o,d-(k?o:-o)).arcTo(o,o,0,!1,!k,o*2,d).lineTo(x,d);s.append("path").attr("class","railroad-line").attr("d",S.build());let b=new w,B=x+m.dimensions.width,H=c-o*2;if(d===h)b.moveTo(B,d).lineTo(c,h);else b.moveTo(B,d).lineTo(H,d).arcTo(o,o,0,!1,!k,c-o,d+(k?-o:o)).lineTo(c-o,h+(k?o:-o)).arcTo(o,o,0,!1,k,c,h);s.append("path").attr("class","railroad-line").attr("d",b.build()),f+=m.dimensions.height+this.config.verticalSeparation}return{element:s.node(),dimensions:{width:c,height:r,up:h,down:r-h}}}renderOptional(e,a){let l=this.renderExpression(e,a),n=this.config.arcRadius,r=n*2,o=l.dimensions.width+n*4,g=l.dimensions.height+r,c=e.append("g").attr("class","railroad-optional"),s=n*2,f=r;c.node().appendChild(l.element).setAttribute("transform",`translate(${s}, ${f})`);let m=f+l.dimensions.up,C=new w().moveTo(0,m).lineTo(n*2,m);c.append("path").attr("class","railroad-line").attr("d",C.build());let d=new w().moveTo(s+l.dimensions.width,m).lineTo(o,m);c.append("path").attr("class","railroad-line").attr("d",d.build());let x=new w().moveTo(0,m).arcTo(n,n,0,!1,!1,n,m-n).lineTo(n,n).arcTo(n,n,0,!1,!0,n*2,0).lineTo(o-n*2,0).arcTo(n,n,0,!1,!0,o-n,n).lineTo(o-n,m-n).arcTo(n,n,0,!1,!1,o,m);return c.append("path").attr("class","railroad-line").attr("d",x.build()),{element:c.node(),dimensions:{width:o,height:g,up:m,down:g-m}}}renderRepetition(e,a,l){let n=this.renderExpression(e,a),r=this.config.arcRadius,o=r*2,g=n.dimensions.width+r*4,c=l===0,s=n.dimensions.height+o+(c?o:0),f=e.append("g").attr("class","railroad-repetition"),h=r*2,m=c?o:0;f.node().appendChild(n.element).setAttribute("transform",`translate(${h}, ${m})`);let d=m+n.dimensions.up;f.append("path").attr("class","railroad-line").attr("d",new w().moveTo(0,d).lineTo(r*2,d).build()),f.append("path").attr("class","railroad-line").attr("d",new w().moveTo(h+n.dimensions.width,d).lineTo(g,d).build());let x=m+n.dimensions.height+r,R=new w().moveTo(h+n.dimensions.width,d).arcTo(r,r,0,!1,!0,h+n.dimensions.width+r,d+r).lineTo(h+n.dimensions.width+r,x).arcTo(r,r,0,!1,!0,h+n.dimensions.width,x+r).lineTo(r*2,x+r).arcTo(r,r,0,!1,!0,r,x).lineTo(r,d+r).arcTo(r,r,0,!1,!0,r*2,d);if(f.append("path").attr("class","railroad-line").attr("d",R.build()),c){let S=new w().moveTo(0,d).arcTo(r,r,0,!1,!1,r,d-r).lineTo(r,r).arcTo(r,r,0,!1,!0,r*2,0).lineTo(g-r*2,0).arcTo(r,r,0,!1,!0,g-r,r).lineTo(g-r,d-r).arcTo(r,r,0,!1,!1,g,d);f.append("path").attr("class","railroad-line").attr("d",S.build())}return{element:f.node(),dimensions:{width:g,height:s,up:d,down:s-d}}}renderSpecial(e,a){let l=this.measureText("? "+a+" ?"),n=l.width+this.config.padding*2,r=l.height+this.config.padding*2,o=e.append("g").attr("class","railroad-special");return o.append("rect").attr("x",0).attr("y",0).attr("width",n).attr("height",r),o.append("text").attr("x",n/2).attr("y",r/2).text("? "+a+" ?"),{element:o.node(),dimensions:{width:n,height:r,up:r/2,down:r/2}}}renderExpression(e,a){switch(a.type){case"terminal":return this.renderTerminal(e,a.value);case"nonterminal":return this.renderNonTerminal(e,a.name);case"sequence":return this.renderSequence(e,a.elements);case"choice":return this.renderChoice(e,a.alternatives);case"optional":return this.renderOptional(e,a.element);case"repetition":return this.renderRepetition(e,a.element,a.min);case"special":return this.renderSpecial(e,a.text);default:throw Error(`Unknown node type: ${a.type}`)}}renderRule(e,a){let l=this.svg.append("g").attr("class","railroad-rule").attr("transform",`translate(0, ${a})`),n=e.name+" =",r=this.measureText(n).width+20,o=r+20,g=l.append("g"),c=this.renderExpression(g,e.definition),s=Math.max(20,c.dimensions.up),f=s-c.dimensions.up;return g.attr("transform",`translate(${o}, ${f})`),l.append("g").attr("class","railroad-rule-name-group").append("text").attr("class","railroad-rule-name").attr("x",0).attr("y",s).text(n),l.append("g").attr("class","railroad-start").append("circle").attr("cx",r).attr("cy",s).attr("r",this.config.markerRadius),l.append("g").attr("class","railroad-end").append("circle").attr("cx",o+c.dimensions.width+10).attr("cy",s).attr("r",this.config.markerRadius),l.append("path").attr("class","railroad-line").attr("d",new w().moveTo(r+this.config.markerRadius,s).lineTo(o,s).build()),l.append("path").attr("class","railroad-line").attr("d",new w().moveTo(o+c.dimensions.width,s).lineTo(o+c.dimensions.width+10-this.config.markerRadius,s).build()),{height:Math.max(40,f+c.dimensions.height+this.config.padding*2),width:o+c.dimensions.width+10+this.config.markerRadius}}renderDiagram(e){let a=this.config.padding,l=0;for(let n of e){let r=this.renderRule(n,a);a+=r.height+this.config.verticalSeparation,l=Math.max(l,r.width)}return{width:l+this.config.padding*2,height:a+this.config.padding}}},Y=t((e,a,l)=>{W(e,a.height,a.width,l),e.attr("viewBox",`0 0 ${a.width} ${a.height}`)},"configureRailroadSvgSize"),me=t((e,a,l)=>{i.debug(`[Railroad] Rendering diagram
88
- `+e);try{let n=J(a);n.attr("class","railroad-diagram");let o=A().railroad?.useMaxWidth??!0,g=he.getRules();if(i.debug(`[Railroad] Rendering ${g.length} rules`),g.length===0){i.warn("[Railroad] No rules to render"),Y(n,{height:100,width:200},o);return}let s=new ce(n,_()).renderDiagram(g);Y(n,s,o),i.debug("[Railroad] Render complete")}catch(n){throw i.error("[Railroad] Render error:",n),n}},"draw"),Rn={draw:me};
89
- export{he,Mn,Rn};
Binary file
Binary file
@@ -1,89 +0,0 @@
1
- import{t,i,de,m,h,F,q,dn,u,J,Wt,Yt,Sn,fn,or}from"./chunk-rmzb9edh.js";import{Tt}from"./chunk-m1009k4x.js";var se=function(){var e=t(function(A,s,r,o){for(r=r||{},o=A.length;o--;r[A[o]]=s);return r},"o"),p=[1,4],y=[1,13],a=[1,12],b=[1,15],N=[1,16],S=[1,20],g=[1,19],C=[6,7,8],T=[1,26],f=[1,24],P=[1,25],x=[6,7,11],z=[1,31],D=[6,7,11,24],U=[1,6,13,16,17,20,23],k=[1,35],V=[1,36],w=[1,6,7,11,13,16,17,20,23],X=[1,38],B={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(s,r,o,c,d,n,j){var l=n.length-1;switch(d){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[l-1].id),c.addNode(n[l-2].length,n[l-1].id,n[l-1].descr,n[l-1].type,n[l]);break;case 16:c.getLogger().info("Node: ",n[l].id),c.addNode(n[l-1].length,n[l].id,n[l].descr,n[l].type);break;case 17:c.getLogger().trace("Icon: ",n[l]),c.decorateNode({icon:n[l]});break;case 18:case 23:c.decorateNode({class:n[l]});break;case 19:c.getLogger().trace("SPACELIST");break;case 20:c.getLogger().trace("Node: ",n[l-1].id),c.addNode(0,n[l-1].id,n[l-1].descr,n[l-1].type,n[l]);break;case 21:c.getLogger().trace("Node: ",n[l].id),c.addNode(0,n[l].id,n[l].descr,n[l].type);break;case 22:c.decorateNode({icon:n[l]});break;case 27:c.getLogger().trace("node found ..",n[l-2]),this.$={id:n[l-1],descr:n[l-1],type:c.getType(n[l-2],n[l])};break;case 28:this.$={id:n[l],descr:n[l],type:0};break;case 29:c.getLogger().trace("node found ..",n[l-3]),this.$={id:n[l-3],descr:n[l-1],type:c.getType(n[l-2],n[l])};break;case 30:this.$=n[l-1]+n[l];break;case 31:this.$=n[l];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:p},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:p},{6:y,7:[1,10],9:9,12:11,13:a,14:14,16:b,17:N,18:17,19:18,20:S,23:g},e(C,[2,3]),{1:[2,2]},e(C,[2,4]),e(C,[2,5]),{1:[2,6],6:y,12:21,13:a,14:14,16:b,17:N,18:17,19:18,20:S,23:g},{6:y,9:22,12:11,13:a,14:14,16:b,17:N,18:17,19:18,20:S,23:g},{6:T,7:f,10:23,11:P},e(x,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:S,23:g}),e(x,[2,19]),e(x,[2,21],{15:30,24:z}),e(x,[2,22]),e(x,[2,23]),e(D,[2,25]),e(D,[2,26]),e(D,[2,28],{20:[1,32]}),{21:[1,33]},{6:T,7:f,10:34,11:P},{1:[2,7],6:y,12:21,13:a,14:14,16:b,17:N,18:17,19:18,20:S,23:g},e(U,[2,14],{7:k,11:V}),e(w,[2,8]),e(w,[2,9]),e(w,[2,10]),e(x,[2,16],{15:37,24:z}),e(x,[2,17]),e(x,[2,18]),e(x,[2,20],{24:X}),e(D,[2,31]),{21:[1,39]},{22:[1,40]},e(U,[2,13],{7:k,11:V}),e(w,[2,11]),e(w,[2,12]),e(x,[2,15],{24:X}),e(D,[2,30]),{22:[1,41]},e(D,[2,27]),e(D,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(s,r){if(r.recoverable)this.trace(s);else{var o=Error(s);throw o.hash=r,o}},"parseError"),parse:t(function(s){var r=this,o=[0],c=[],d=[null],n=[],j=this.table,l="",K=0,le=0,he=0,be=2,ue=1,ye=n.slice.call(arguments,1),_=Object.create(this.lexer),G={yy:{}};for(var ee in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ee))G.yy[ee]=this.yy[ee];if(_.setInput(s,G.yy),G.yy.lexer=_,G.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var te=_.yylloc;n.push(te);var me=_.options&&_.options.ranges;if(typeof G.yy.parseError==="function")this.parseError=G.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ke(O){o.length=o.length-2*O,d.length=d.length-O,n.length=n.length-O}t(ke,"popStack");function ge(){var O=c.pop()||_.lex()||ue;if(typeof O!=="number"){if(O instanceof Array)c=O,O=c.pop();O=r.symbols_[O]||O}return O}t(ge,"lex");var v,ne,M,L,je,ie,W={},Y,R,pe,Q;while(!0){if(M=o[o.length-1],this.defaultActions[M])L=this.defaultActions[M];else{if(v===null||typeof v>"u")v=ge();L=j[M]&&j[M][v]}if(typeof L>"u"||!L.length||!L[0]){var re="";Q=[];for(Y in j[M])if(this.terminals_[Y]&&Y>be)Q.push("'"+this.terminals_[Y]+"'");if(_.showPosition)re="Parse error on line "+(K+1)+`:
2
- `+_.showPosition()+`
3
- Expecting `+Q.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else re="Parse error on line "+(K+1)+": Unexpected "+(v==ue?"end of input":"'"+(this.terminals_[v]||v)+"'");this.parseError(re,{text:_.match,token:this.terminals_[v]||v,line:_.yylineno,loc:te,expected:Q})}if(L[0]instanceof Array&&L.length>1)throw Error("Parse Error: multiple actions possible at state: "+M+", token: "+v);switch(L[0]){case 1:if(o.push(v),d.push(_.yytext),n.push(_.yylloc),o.push(L[1]),v=null,!ne){if(le=_.yyleng,l=_.yytext,K=_.yylineno,te=_.yylloc,he>0)he--}else v=ne,ne=null;break;case 2:if(R=this.productions_[L[1]][1],W.$=d[d.length-R],W._$={first_line:n[n.length-(R||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(R||1)].first_column,last_column:n[n.length-1].last_column},me)W._$.range=[n[n.length-(R||1)].range[0],n[n.length-1].range[1]];if(ie=this.performAction.apply(W,[l,le,K,G.yy,L[1],d,n].concat(ye)),typeof ie<"u")return ie;if(R)o=o.slice(0,-1*R*2),d=d.slice(0,-1*R),n=n.slice(0,-1*R);o.push(this.productions_[L[1]][0]),d.push(W.$),n.push(W._$),pe=j[o[o.length-2]][o[o.length-1]],o.push(pe);break;case 3:return!0}}return!0},"parse")},Z=function(){var A={EOF:1,parseError:t(function(r,o){if(this.yy.parser)this.yy.parser.parseError(r,o);else throw Error(r)},"parseError"),setInput:t(function(s,r){if(this.yy=r||this.yy||{},this._input=s,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 s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var r=s.match(/(?:\r\n?|\n).*/g);if(r)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),s},"input"),unput:t(function(s){var r=s.length,o=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;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 d=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-r},this.options.ranges)this.yylloc.range=[d[0],d[0]+this.yyleng-r];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(s){this.unput(this.match.slice(s))},"less"),pastInput:t(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var s=this.match;if(s.length<20)s+=this._input.substr(0,20-s.length);return(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var s=this.pastInput(),r=Array(s.length+1).join("-");return s+this.upcomingInput()+`
5
- `+r+"^"},"showPosition"),test_match:t(function(s,r){var o,c,d;if(this.options.backtrack_lexer){if(d={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)d.yylloc.range=this.yylloc.range.slice(0)}if(c=s[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+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,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(s[0].length),this.matched+=s[0],o=this.performAction.call(this,this.yy,this,r,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 d)this[n]=d[n];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var s,r,o,c;if(!this._more)this.yytext="",this.match="";var d=this._currentRules();for(var n=0;n<d.length;n++)if(o=this._input.match(this.rules[d[n]]),o&&(!r||o[0].length>r[0].length)){if(r=o,c=n,this.options.backtrack_lexer)if(s=this.test_match(o,d[n]),s!==!1)return s;else if(this._backtrack){r=!1;continue}else return!1;else if(!this.options.flex)break}if(r){if(s=this.test_match(r,d[c]),s!==!1)return s;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 r=this.next();if(r)return r;else return this.lex()},"lex"),begin:t(function(r){this.conditionStack.push(r)},"begin"),popState:t(function(){var r=this.conditionStack.length-1;if(r>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(r){if(r=this.conditionStack.length-1-Math.abs(r||0),r>=0)return this.conditionStack[r];else return"INITIAL"},"topState"),pushState:t(function(r){this.begin(r)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(r,o,c,d){var n=d;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 j=/\n\s*/g;return o.yytext=o.yytext.replace(j,"<br/>"),24;break;case 4:return 24;case 5:this.popState();break;case 6:return r.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:r.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return r.getLogger().trace("SPACELINE"),6;break;case 13:return 7;case 14:return 16;case 15:r.getLogger().trace("end icon"),this.popState();break;case 16:return r.getLogger().trace("Exploding node"),this.begin("NODE"),20;break;case 17:return r.getLogger().trace("Cloud"),this.begin("NODE"),20;break;case 18:return r.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;break;case 19:return r.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:r.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return r.getLogger().trace("description:",o.yytext),"NODE_DESCR";break;case 32:this.popState();break;case 33:return this.popState(),r.getLogger().trace("node end ))"),"NODE_DEND";break;case 34:return this.popState(),r.getLogger().trace("node end )"),"NODE_DEND";break;case 35:return this.popState(),r.getLogger().trace("node end ...",o.yytext),"NODE_DEND";break;case 36:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 37:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";break;case 38:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";break;case 39:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 40:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 41:return r.getLogger().trace("Long description:",o.yytext),21;break;case 42:return r.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 A}();B.lexer=Z;function H(){this.yy={}}return t(H,"Parser"),H.prototype=B,B.Parser=H,new H}();se.parser=se;var Ee=se,I=[],oe=[],ae=0,ce={},_e=t(()=>{I=[],oe=[],ae=0,ce={}},"clear"),Se=t((e)=>{if(I.length===0)return null;let p=I[0].level,y=null;for(let a=I.length-1;a>=0;a--){if(I[a].level===p&&!y)y=I[a];if(I[a].level<p)throw Error('Items without section detected, found section ("'+I[a].label+'")')}if(e===y?.level)return null;return y},"getSection"),fe=t(function(){return oe},"getSections"),Ne=t(function(){let e=[],p=[],y=fe(),a=u();for(let b of y){let N={id:b.id,label:q(b.label??"",a),labelType:"markdown",isGroup:!0,ticket:b.ticket,shape:"kanbanSection",level:b.level,look:a.look};p.push(N);let S=I.filter((g)=>g.parentId===b.id);for(let g of S){let C={id:g.id,parentId:b.id,label:q(g.label??"",a),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"]};p.push(C)}}return{nodes:p,edges:e,other:{},config:u()}},"getData"),xe=t((e,p,y,a,b)=>{let N=u(),S=N.mindmap?.padding??F.mindmap.padding;switch(a){case E.ROUNDED_RECT:case E.RECT:case E.HEXAGON:S*=2}let g={id:q(p,N)||"kbn"+ae++,level:e,label:q(y,N),width:N.mindmap?.maxNodeWidth??F.mindmap.maxNodeWidth,padding:S,isGroup:!1};if(b!==void 0){let T;if(!b.includes(`
7
- `))T=`{
8
- `+b+`
9
- }`;else T=b+`
10
- `;let f=Yt(T,{schema:Wt});if(f.shape&&(f.shape!==f.shape.toLowerCase()||f.shape.includes("_")))throw Error(`No such shape: ${f.shape}. Shape names should be lowercase.`);if(f?.shape&&f.shape==="kanbanItem")g.shape=f?.shape;if(f?.label)g.label=f?.label;if(f?.icon)g.icon=f?.icon.toString();if(f?.assigned)g.assigned=f?.assigned.toString();if(f?.ticket)g.ticket=f?.ticket.toString();if(f?.priority)g.priority=f?.priority}let C=Se(e);if(C)g.parentId=C.id||"kbn"+ae++;else oe.push(g);I.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,p)=>{switch(i.debug("In get type",e,p),e){case"[":return E.RECT;case"(":return p===")"?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,p)=>{ce[e]=p},"setElementForId"),Le=t((e)=>{if(!e)return;let p=u(),y=I[I.length-1];if(e.icon)y.icon=q(e.icon,p);if(e.class)y.cssClasses=q(e.class,p)},"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(()=>i,"getLogger"),Ce=t((e)=>ce[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,p,y,a)=>{i.debug(`Rendering kanban diagram
11
- `+e);let N=a.db.getData(),S=u();S.htmlLabels=!1;let g=J(p);for(let k of N.nodes)k.domId=`${p}-${k.id}`;let C=g.append("g");C.attr("class","sections");let T=g.append("g");T.attr("class","items");let f=N.nodes.filter((k)=>k.isGroup),P=0,x=10,z=[],D=25;for(let k of f){let V=S?.kanban?.sectionWidth||200;P=P+1,k.x=V*P+(P-1)*x/2,k.width=V,k.y=0,k.height=V*3,k.rx=5,k.ry=5,k.cssClasses=k.cssClasses+" section-"+P;let w=await or(C,k);D=Math.max(D,w?.labelBBox?.height),z.push(w)}let U=0;for(let k of f){let V=z[U];U=U+1;let w=S?.kanban?.sectionWidth||200,X=-w*3/2+D,B=X,Z=N.nodes.filter((s)=>s.parentId===k.id);for(let s of Z){if(s.isGroup)throw Error("Groups within groups are not allowed in Kanban diagrams");s.x=k.x,s.width=w-1.5*x;let o=(await Sn(T,s,{config:S})).node().getBBox();s.y=B+o.height/2,await fn(s),B=s.y+o.height/2+x/2}let H=V.cluster.select("rect"),A=Math.max(B-X+3*x,50)+(D-25);H.attr("height",A)}dn(void 0,g,S.mindmap?.padding??F.kanban.padding,S.mindmap?.useMaxWidth??F.kanban.useMaxWidth)},"draw"),Re={draw:Te},Pe=t((e)=>{let p="";for(let a=0;a<e.THEME_COLOR_LIMIT;a++)if(e["lineColor"+a]=e["lineColor"+a]||e["cScaleInv"+a],de(e["lineColor"+a]))e["lineColor"+a]=m(e["lineColor"+a],20);else e["lineColor"+a]=h(e["lineColor"+a],20);let y=t((a,b)=>e.darkMode?h(a,b):m(a,b),"adjuster");for(let a=0;a<e.THEME_COLOR_LIMIT;a++){let b=""+(17-3*a);p+=`
12
- .section-${a-1} rect, .section-${a-1} path, .section-${a-1} circle, .section-${a-1} polygon, .section-${a-1} path {
13
- fill: ${y(e["cScale"+a],10)};
14
- stroke: ${y(e["cScale"+a],10)};
15
-
16
- }
17
- .section-${a-1} text {
18
- fill: ${e["cScaleLabel"+a]};
19
- }
20
- .node-icon-${a-1} {
21
- font-size: 40px;
22
- color: ${e["cScaleLabel"+a]};
23
- }
24
- .section-edge-${a-1}{
25
- stroke: ${e["cScale"+a]};
26
- }
27
- .edge-depth-${a-1}{
28
- stroke-width: ${b};
29
- }
30
- .section-${a-1} line {
31
- stroke: ${e["cScaleInv"+a]} ;
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 p},"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
- ${Tt()}
89
- `,"getStyles"),Be=Ve,et={db:Ae,renderer:Re,parser:Ee,styles:Be};export{et as diagram};
Binary file
Binary file