@bkm016/basalt 0.1.15 → 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (558) hide show
  1. package/{chunk-mfb3dgs8.js → chunk-1c9nr9rs.js} +1 -1
  2. package/{chunk-z9p6s986.js → chunk-4hf0r9hv.js} +3 -3
  3. package/{chunk-p886jr17.js → chunk-6ae9810t.js} +2 -2
  4. package/{chunk-6hx9y86d.js → chunk-6exa9fp7.js} +1 -1
  5. package/{chunk-tszctb17.js → chunk-8jn0yax5.js} +26 -26
  6. package/{chunk-xq74x4gc.js → chunk-8r4baw9e.js} +1 -1
  7. package/{chunk-5n1qra6k.js → chunk-9jtvj8md.js} +265 -256
  8. package/{chunk-qjnx4fsn.js → chunk-b350b01x.js} +3 -3
  9. package/{chunk-59hg9a84.js → chunk-bv96b8q7.js} +1 -1
  10. package/{chunk-343jsm46.js → chunk-e8x8zwkg.js} +1 -1
  11. package/{chunk-k38jaz6c.js → chunk-ehnc8g6v.js} +2 -2
  12. package/{chunk-kcn05erf.js → chunk-fzftb4n2.js} +3 -3
  13. package/{chunk-0rasqm8y.js → chunk-nrdszs0g.js} +2 -2
  14. package/{chunk-qs161f2q.js → chunk-p78wde92.js} +1 -1
  15. package/{chunk-39mh7h58.js → chunk-pna1wh02.js} +1 -1
  16. package/{chunk-edcf97ka.js → chunk-q6tgpaf3.js} +1 -1
  17. package/{chunk-qe76naq9.js → chunk-rqn67tm8.js} +1 -1
  18. package/{chunk-en7z6ne5.js → chunk-v9ttcf6r.js} +1 -1
  19. package/{chunk-9v3b7jjv.js → chunk-vv9csar7.js} +1 -1
  20. package/{chunk-81x8r8w4.js → chunk-xba6fr5v.js} +1 -1
  21. package/{chunk-03wzwnn6.js → chunk-ypxs8djn.js} +1 -1
  22. package/compiled.js +4 -4
  23. package/package.json +1 -1
  24. package/ui-test-worker.js +2 -2
  25. package/web/{chunk-hdtvrh0f.js → chunk-013et20n.js} +2 -2
  26. package/web/chunk-013et20n.js.br +0 -0
  27. package/web/chunk-013et20n.js.gz +0 -0
  28. package/web/chunk-0ernj3c0.js +1 -0
  29. package/web/chunk-0ernj3c0.js.br +0 -0
  30. package/web/chunk-0ernj3c0.js.gz +0 -0
  31. package/web/chunk-0j65yg1p.js +1 -0
  32. package/web/chunk-0j65yg1p.js.br +0 -0
  33. package/web/chunk-0j65yg1p.js.gz +0 -0
  34. package/web/chunk-0khcpaa8.js +1 -0
  35. package/web/chunk-0khcpaa8.js.br +0 -0
  36. package/web/chunk-0khcpaa8.js.gz +0 -0
  37. package/web/chunk-0wbdd74r.js +1 -0
  38. package/web/chunk-0wbdd74r.js.br +2 -0
  39. package/web/chunk-0wbdd74r.js.gz +0 -0
  40. package/web/chunk-1f2wvhq9.js +1 -0
  41. package/web/chunk-1f2wvhq9.js.br +0 -0
  42. package/web/chunk-1f2wvhq9.js.gz +0 -0
  43. package/web/{chunk-7frnjms9.js → chunk-1q2kmv35.js} +18 -18
  44. package/web/chunk-1q2kmv35.js.br +0 -0
  45. package/web/chunk-1q2kmv35.js.gz +0 -0
  46. package/web/{chunk-k4qrqmdk.js → chunk-1tfrm3pk.js} +2 -2
  47. package/web/chunk-1tfrm3pk.js.br +0 -0
  48. package/web/chunk-1tfrm3pk.js.gz +0 -0
  49. package/web/chunk-2qt5fy5n.js +1 -0
  50. package/web/chunk-2qt5fy5n.js.br +0 -0
  51. package/web/chunk-2qt5fy5n.js.gz +0 -0
  52. package/web/chunk-2sxtb709.js +1 -0
  53. package/web/chunk-2sxtb709.js.br +0 -0
  54. package/web/chunk-2sxtb709.js.gz +0 -0
  55. package/web/chunk-2wrwm0qe.js +1 -0
  56. package/web/chunk-2wrwm0qe.js.br +0 -0
  57. package/web/chunk-2wrwm0qe.js.gz +0 -0
  58. package/web/{chunk-251yw6f2.js → chunk-2wwj27b9.js} +3 -3
  59. package/web/chunk-2wwj27b9.js.br +0 -0
  60. package/web/chunk-2wwj27b9.js.gz +0 -0
  61. package/web/chunk-33mmrjdp.js +1 -0
  62. package/web/chunk-33mmrjdp.js.br +2 -0
  63. package/web/chunk-33mmrjdp.js.gz +0 -0
  64. package/web/chunk-33tb7q04.js +2 -0
  65. package/web/chunk-33tb7q04.js.br +0 -0
  66. package/web/chunk-33tb7q04.js.gz +0 -0
  67. package/web/chunk-3txb4sha.js +1 -0
  68. package/web/chunk-3txb4sha.js.br +0 -0
  69. package/web/chunk-3txb4sha.js.gz +0 -0
  70. package/web/{chunk-t78qm9gs.js → chunk-3xgfsx7y.js} +2 -2
  71. package/web/chunk-3xgfsx7y.js.br +0 -0
  72. package/web/chunk-3xgfsx7y.js.gz +0 -0
  73. package/web/chunk-40jka4r7.js +2 -0
  74. package/web/chunk-40jka4r7.js.br +0 -0
  75. package/web/chunk-40jka4r7.js.gz +0 -0
  76. package/web/{chunk-vwv6pqy7.js → chunk-41vh5n86.js} +1 -1
  77. package/web/chunk-41vh5n86.js.br +0 -0
  78. package/web/chunk-41vh5n86.js.gz +0 -0
  79. package/web/chunk-4wd9r73y.js.br +0 -0
  80. package/web/chunk-4wd9r73y.js.gz +0 -0
  81. package/web/chunk-5kz048x3.js +2 -0
  82. package/web/chunk-5kz048x3.js.br +0 -0
  83. package/web/chunk-5kz048x3.js.gz +0 -0
  84. package/web/chunk-5mbz8yj9.js +3 -0
  85. package/web/chunk-5mbz8yj9.js.br +0 -0
  86. package/web/chunk-5mbz8yj9.js.gz +0 -0
  87. package/web/chunk-6024wfxb.js +30 -0
  88. package/web/chunk-6024wfxb.js.br +0 -0
  89. package/web/chunk-6024wfxb.js.gz +0 -0
  90. package/web/chunk-6ey4c6gw.js +2 -0
  91. package/web/chunk-6ey4c6gw.js.br +0 -0
  92. package/web/chunk-6ey4c6gw.js.gz +0 -0
  93. package/web/chunk-6q3p851n.js +1 -0
  94. package/web/chunk-6q3p851n.js.br +2 -0
  95. package/web/chunk-6q3p851n.js.gz +0 -0
  96. package/web/{chunk-2tm4xe0j.js → chunk-74g3wh08.js} +2 -2
  97. package/web/chunk-74g3wh08.js.br +0 -0
  98. package/web/chunk-74g3wh08.js.gz +0 -0
  99. package/web/{chunk-ea6b8b50.js → chunk-78akzkgs.js} +12 -12
  100. package/web/chunk-78akzkgs.js.br +0 -0
  101. package/web/chunk-78akzkgs.js.gz +0 -0
  102. package/web/chunk-7ck99bsp.js +62 -0
  103. package/web/chunk-7ck99bsp.js.br +0 -0
  104. package/web/chunk-7ck99bsp.js.gz +0 -0
  105. package/web/chunk-7fjbyns9.js +1 -0
  106. package/web/chunk-7fjbyns9.js.br +0 -0
  107. package/web/chunk-7fjbyns9.js.gz +0 -0
  108. package/web/chunk-7n6b2xra.js +21 -0
  109. package/web/chunk-7n6b2xra.js.br +0 -0
  110. package/web/chunk-7n6b2xra.js.gz +0 -0
  111. package/web/chunk-7p4mcqkd.js +78 -0
  112. package/web/chunk-7p4mcqkd.js.br +0 -0
  113. package/web/chunk-7p4mcqkd.js.gz +0 -0
  114. package/web/chunk-7ztwkhg5.js +1 -0
  115. package/web/chunk-7ztwkhg5.js.br +0 -0
  116. package/web/chunk-7ztwkhg5.js.gz +0 -0
  117. package/web/{chunk-4q2jtvwn.js → chunk-823etvc3.js} +19 -19
  118. package/web/chunk-823etvc3.js.br +0 -0
  119. package/web/chunk-823etvc3.js.gz +0 -0
  120. package/web/{chunk-mv9q8jrm.js → chunk-8ec53vjd.js} +1 -1
  121. package/web/chunk-8ec53vjd.js.br +0 -0
  122. package/web/chunk-8ec53vjd.js.gz +0 -0
  123. package/web/chunk-8g239029.js.br +0 -0
  124. package/web/chunk-8g239029.js.gz +0 -0
  125. package/web/{chunk-wfgrdabk.js → chunk-8g55ytgz.js} +1 -1
  126. package/web/chunk-8g55ytgz.js.br +0 -0
  127. package/web/chunk-8g55ytgz.js.gz +0 -0
  128. package/web/chunk-8nxjthxc.js +1 -0
  129. package/web/chunk-8nxjthxc.js.br +0 -0
  130. package/web/chunk-8nxjthxc.js.gz +0 -0
  131. package/web/chunk-8q76yd76.js +291 -0
  132. package/web/chunk-8q76yd76.js.br +0 -0
  133. package/web/chunk-8q76yd76.js.gz +0 -0
  134. package/web/chunk-9kbrjmtz.js +1 -0
  135. package/web/chunk-9kbrjmtz.js.br +0 -0
  136. package/web/chunk-9kbrjmtz.js.gz +0 -0
  137. package/web/chunk-9s4bh6qm.js +40 -0
  138. package/web/chunk-9s4bh6qm.js.br +0 -0
  139. package/web/chunk-9s4bh6qm.js.gz +0 -0
  140. package/web/chunk-9v1f6yc8.js.br +0 -0
  141. package/web/chunk-9v1f6yc8.js.gz +0 -0
  142. package/web/{chunk-a205cj09.js → chunk-9vf3zy3d.js} +2 -2
  143. package/web/chunk-9vf3zy3d.js.br +0 -0
  144. package/web/chunk-9vf3zy3d.js.gz +0 -0
  145. package/web/{chunk-yzmrbssn.js → chunk-a449xjq6.js} +6 -6
  146. package/web/chunk-a449xjq6.js.br +0 -0
  147. package/web/chunk-a449xjq6.js.gz +0 -0
  148. package/web/chunk-ad6x47yy.js.br +0 -0
  149. package/web/chunk-ad6x47yy.js.gz +0 -0
  150. package/web/chunk-b05eay33.js +1 -0
  151. package/web/chunk-b05eay33.js.br +0 -0
  152. package/web/chunk-b05eay33.js.gz +0 -0
  153. package/web/{chunk-dgepxev9.js → chunk-bdypt5mj.js} +55 -55
  154. package/web/chunk-bdypt5mj.js.br +0 -0
  155. package/web/chunk-bdypt5mj.js.gz +0 -0
  156. package/web/chunk-bvyjy17t.js +14 -0
  157. package/web/chunk-bvyjy17t.js.br +0 -0
  158. package/web/chunk-bvyjy17t.js.gz +0 -0
  159. package/web/{chunk-7zfqppsx.js → chunk-ccy2q2z0.js} +2 -2
  160. package/web/chunk-ccy2q2z0.js.br +0 -0
  161. package/web/chunk-ccy2q2z0.js.gz +0 -0
  162. package/web/{chunk-k3ah0513.js → chunk-ceg13tma.js} +2 -2
  163. package/web/chunk-ceg13tma.js.br +0 -0
  164. package/web/chunk-ceg13tma.js.gz +0 -0
  165. package/web/{chunk-bzdn9sxz.js → chunk-ch60a61d.js} +2 -2
  166. package/web/chunk-ch60a61d.js.br +0 -0
  167. package/web/chunk-ch60a61d.js.gz +0 -0
  168. package/web/chunk-czvdg0c5.js +1 -0
  169. package/web/chunk-czvdg0c5.js.br +0 -0
  170. package/web/chunk-czvdg0c5.js.gz +0 -0
  171. package/web/chunk-d18r4m14.js.br +0 -0
  172. package/web/chunk-d18r4m14.js.gz +0 -0
  173. package/web/chunk-dmqtdeb4.js.br +0 -0
  174. package/web/chunk-dmqtdeb4.js.gz +0 -0
  175. package/web/chunk-drr7mqg2.js +1 -0
  176. package/web/chunk-drr7mqg2.js.br +0 -0
  177. package/web/chunk-drr7mqg2.js.gz +0 -0
  178. package/web/{chunk-3zs2v6b4.js → chunk-dsa5m3h6.js} +34 -34
  179. package/web/chunk-dsa5m3h6.js.br +0 -0
  180. package/web/chunk-dsa5m3h6.js.gz +0 -0
  181. package/web/chunk-dww3grm3.js +24 -0
  182. package/web/chunk-dww3grm3.js.br +0 -0
  183. package/web/chunk-dww3grm3.js.gz +0 -0
  184. package/web/chunk-e187gt5x.js +1 -0
  185. package/web/chunk-e187gt5x.js.br +0 -0
  186. package/web/chunk-e187gt5x.js.gz +0 -0
  187. package/web/{chunk-pf65cank.js → chunk-emxa4wv3.js} +2 -2
  188. package/web/chunk-emxa4wv3.js.br +0 -0
  189. package/web/chunk-emxa4wv3.js.gz +0 -0
  190. package/web/{chunk-6x1hfjb9.js → chunk-ey0zwvbx.js} +1 -1
  191. package/web/chunk-ey0zwvbx.js.br +0 -0
  192. package/web/chunk-ey0zwvbx.js.gz +0 -0
  193. package/web/chunk-ey14knbn.js +2 -0
  194. package/web/chunk-ey14knbn.js.br +0 -0
  195. package/web/chunk-ey14knbn.js.gz +0 -0
  196. package/web/chunk-fba06jm8.js +1132 -0
  197. package/web/chunk-fba06jm8.js.br +0 -0
  198. package/web/chunk-fba06jm8.js.gz +0 -0
  199. package/web/chunk-fh56vgfx.js +39 -0
  200. package/web/chunk-fh56vgfx.js.br +0 -0
  201. package/web/chunk-fh56vgfx.js.gz +0 -0
  202. package/web/chunk-ft05x3my.js +169 -0
  203. package/web/chunk-ft05x3my.js.br +0 -0
  204. package/web/chunk-ft05x3my.js.gz +0 -0
  205. package/web/chunk-fzmrnh17.js +303 -0
  206. package/web/chunk-fzmrnh17.js.br +0 -0
  207. package/web/chunk-fzmrnh17.js.gz +0 -0
  208. package/web/{chunk-jdx7qp2w.js → chunk-gbt7asd7.js} +2 -2
  209. package/web/chunk-gbt7asd7.js.br +0 -0
  210. package/web/chunk-gbt7asd7.js.gz +0 -0
  211. package/web/chunk-gh9fkn3t.js +1 -0
  212. package/web/chunk-gh9fkn3t.js.br +2 -0
  213. package/web/chunk-gh9fkn3t.js.gz +0 -0
  214. package/web/{chunk-sd3cdqcm.js → chunk-h1syyjqq.js} +2 -2
  215. package/web/chunk-h1syyjqq.js.br +0 -0
  216. package/web/chunk-h1syyjqq.js.gz +0 -0
  217. package/web/{chunk-te15yhn5.js → chunk-h7byk4z3.js} +12 -12
  218. package/web/chunk-h7byk4z3.js.br +0 -0
  219. package/web/chunk-h7byk4z3.js.gz +0 -0
  220. package/web/chunk-hby0hkv4.js +1 -0
  221. package/web/chunk-hby0hkv4.js.br +0 -0
  222. package/web/chunk-hby0hkv4.js.gz +0 -0
  223. package/web/chunk-hjvsp2yx.js +1 -0
  224. package/web/chunk-hjvsp2yx.js.br +0 -0
  225. package/web/chunk-hjvsp2yx.js.gz +0 -0
  226. package/web/chunk-hp167dbv.js.br +0 -0
  227. package/web/chunk-hp167dbv.js.gz +0 -0
  228. package/web/{chunk-t2v01k4z.js → chunk-hpjzy5ww.js} +1 -1
  229. package/web/chunk-hpjzy5ww.js.br +0 -0
  230. package/web/chunk-hpjzy5ww.js.gz +0 -0
  231. package/web/{chunk-jx3z63tq.js → chunk-hzfp8kqx.js} +11 -11
  232. package/web/chunk-hzfp8kqx.js.br +0 -0
  233. package/web/chunk-hzfp8kqx.js.gz +0 -0
  234. package/web/{chunk-5d9veaef.js → chunk-j6jjk46a.js} +2 -2
  235. package/web/chunk-j6jjk46a.js.br +0 -0
  236. package/web/chunk-j6jjk46a.js.gz +0 -0
  237. package/web/chunk-j8f0m1dq.js +1 -0
  238. package/web/chunk-j8f0m1dq.js.br +0 -0
  239. package/web/chunk-j8f0m1dq.js.gz +0 -0
  240. package/web/{chunk-qv1w36ja.js → chunk-jc178ad5.js} +2 -2
  241. package/web/chunk-jc178ad5.js.br +0 -0
  242. package/web/chunk-jc178ad5.js.gz +0 -0
  243. package/web/chunk-jcsf0ke5.js +41 -0
  244. package/web/chunk-jcsf0ke5.js.br +0 -0
  245. package/web/chunk-jcsf0ke5.js.gz +0 -0
  246. package/web/chunk-jg43a2xk.js +139 -0
  247. package/web/chunk-jg43a2xk.js.br +0 -0
  248. package/web/chunk-jg43a2xk.js.gz +0 -0
  249. package/web/chunk-jrgdxqtq.js +7 -0
  250. package/web/chunk-jrgdxqtq.js.br +0 -0
  251. package/web/chunk-jrgdxqtq.js.gz +0 -0
  252. package/web/chunk-js8dvtfg.js +2 -0
  253. package/web/chunk-js8dvtfg.js.br +0 -0
  254. package/web/chunk-js8dvtfg.js.gz +0 -0
  255. package/web/chunk-jt0s9qs7.js +1 -0
  256. package/web/chunk-jt0s9qs7.js.br +0 -0
  257. package/web/chunk-jt0s9qs7.js.gz +0 -0
  258. package/web/chunk-jv5faf88.js +34 -0
  259. package/web/chunk-jv5faf88.js.br +0 -0
  260. package/web/chunk-jv5faf88.js.gz +0 -0
  261. package/web/{chunk-6xfbh4z5.js → chunk-k295x81w.js} +79 -79
  262. package/web/chunk-k295x81w.js.br +0 -0
  263. package/web/chunk-k295x81w.js.gz +0 -0
  264. package/web/{chunk-1zwc09e8.js → chunk-k3aa37pw.js} +2 -2
  265. package/web/chunk-k3aa37pw.js.br +0 -0
  266. package/web/chunk-k3aa37pw.js.gz +0 -0
  267. package/web/{chunk-kxr473dw.js → chunk-k6wxwgp1.js} +26 -26
  268. package/web/chunk-k6wxwgp1.js.br +0 -0
  269. package/web/chunk-k6wxwgp1.js.gz +0 -0
  270. package/web/chunk-k9vc7kp2.js +292 -0
  271. package/web/chunk-k9vc7kp2.js.br +0 -0
  272. package/web/chunk-k9vc7kp2.js.gz +0 -0
  273. package/web/chunk-kxyws7q7.js +1 -0
  274. package/web/chunk-kxyws7q7.js.br +0 -0
  275. package/web/chunk-kxyws7q7.js.gz +0 -0
  276. package/web/{chunk-8qzsxg1q.js → chunk-mcgf645h.js} +1 -1
  277. package/web/chunk-mcgf645h.js.br +4 -0
  278. package/web/chunk-mcgf645h.js.gz +0 -0
  279. package/web/{chunk-27cntdyk.js → chunk-mj3tshy8.js} +31 -31
  280. package/web/chunk-mj3tshy8.js.br +0 -0
  281. package/web/chunk-mj3tshy8.js.gz +0 -0
  282. package/web/chunk-mnb2wdvy.js +24 -0
  283. package/web/chunk-mnb2wdvy.js.br +0 -0
  284. package/web/chunk-mnb2wdvy.js.gz +0 -0
  285. package/web/chunk-ndf58dgc.js +1 -0
  286. package/web/chunk-ndf58dgc.js.br +0 -0
  287. package/web/chunk-ndf58dgc.js.gz +0 -0
  288. package/web/chunk-nhpm5nd5.js +2 -0
  289. package/web/chunk-nhpm5nd5.js.br +0 -0
  290. package/web/chunk-nhpm5nd5.js.gz +0 -0
  291. package/web/chunk-nj0cv1cq.js.br +0 -0
  292. package/web/chunk-nj0cv1cq.js.gz +0 -0
  293. package/web/{chunk-zf4b8jb9.js → chunk-nwxjdetb.js} +1 -1
  294. package/web/chunk-nwxjdetb.js.br +0 -0
  295. package/web/chunk-nwxjdetb.js.gz +0 -0
  296. package/web/chunk-nyjfcard.js +106 -0
  297. package/web/chunk-nyjfcard.js.br +0 -0
  298. package/web/chunk-nyjfcard.js.gz +0 -0
  299. package/web/chunk-nzey7cpv.js.br +0 -0
  300. package/web/chunk-nzey7cpv.js.gz +0 -0
  301. package/web/{chunk-937ndmh1.js → chunk-pcfjcy3a.js} +23 -23
  302. package/web/chunk-pcfjcy3a.js.br +0 -0
  303. package/web/chunk-pcfjcy3a.js.gz +0 -0
  304. package/web/chunk-pry6wdbe.js +1 -0
  305. package/web/chunk-pry6wdbe.js.br +0 -0
  306. package/web/chunk-pry6wdbe.js.gz +0 -0
  307. package/web/chunk-pvahdcgy.js +2 -0
  308. package/web/chunk-pvahdcgy.js.br +0 -0
  309. package/web/chunk-pvahdcgy.js.gz +0 -0
  310. package/web/{chunk-1v6hhgc6.js → chunk-q3njnnef.js} +2 -2
  311. package/web/chunk-q3njnnef.js.br +0 -0
  312. package/web/chunk-q3njnnef.js.gz +0 -0
  313. package/web/chunk-qxvqkkmw.js +1 -0
  314. package/web/chunk-qxvqkkmw.js.br +0 -0
  315. package/web/chunk-qxvqkkmw.js.gz +0 -0
  316. package/web/chunk-qych3sbs.js +1 -0
  317. package/web/chunk-qych3sbs.js.br +0 -0
  318. package/web/chunk-qych3sbs.js.gz +0 -0
  319. package/web/chunk-r1dnh0s8.js.br +0 -0
  320. package/web/chunk-r1dnh0s8.js.gz +0 -0
  321. package/web/chunk-r5eakmw6.js.br +0 -0
  322. package/web/chunk-r5eakmw6.js.gz +0 -0
  323. package/web/chunk-rbmp2e4b.js +1 -0
  324. package/web/chunk-rbmp2e4b.js.br +0 -0
  325. package/web/chunk-rbmp2e4b.js.gz +0 -0
  326. package/web/chunk-rcre1stj.js +1 -0
  327. package/web/chunk-rcre1stj.js.br +0 -0
  328. package/web/chunk-rcre1stj.js.gz +0 -0
  329. package/web/chunk-rdb6091n.js +89 -0
  330. package/web/chunk-rdb6091n.js.br +0 -0
  331. package/web/chunk-rdb6091n.js.gz +0 -0
  332. package/web/chunk-ryw7xnab.js +1 -0
  333. package/web/chunk-ryw7xnab.js.br +0 -0
  334. package/web/chunk-ryw7xnab.js.gz +0 -0
  335. package/web/{chunk-7wzszsf5.js → chunk-sbbmy02e.js} +2 -2
  336. package/web/chunk-sbbmy02e.js.br +0 -0
  337. package/web/chunk-sbbmy02e.js.gz +0 -0
  338. package/web/{chunk-s0xy00v5.js → chunk-sgbc835w.js} +2 -2
  339. package/web/chunk-sgbc835w.js.br +0 -0
  340. package/web/chunk-sgbc835w.js.gz +0 -0
  341. package/web/chunk-sydy10mb.js +1 -0
  342. package/web/chunk-sydy10mb.js.br +0 -0
  343. package/web/chunk-sydy10mb.js.gz +0 -0
  344. package/web/chunk-t0ywnp5e.js +1 -0
  345. package/web/chunk-t0ywnp5e.js.br +0 -0
  346. package/web/chunk-t0ywnp5e.js.gz +0 -0
  347. package/web/chunk-t6agpn2z.js.br +0 -0
  348. package/web/chunk-t6agpn2z.js.gz +0 -0
  349. package/web/{chunk-s6bc73n3.js → chunk-t72jq97z.js} +2 -2
  350. package/web/chunk-t72jq97z.js.br +0 -0
  351. package/web/chunk-t72jq97z.js.gz +0 -0
  352. package/web/{chunk-pa82db2e.js → chunk-tfcc9bcz.js} +3 -3
  353. package/web/chunk-tfcc9bcz.js.br +0 -0
  354. package/web/chunk-tfcc9bcz.js.gz +0 -0
  355. package/web/chunk-v2bvbgfc.js +2 -0
  356. package/web/chunk-v2bvbgfc.js.br +0 -0
  357. package/web/chunk-v2bvbgfc.js.gz +0 -0
  358. package/web/{chunk-n0ezfa12.js → chunk-v7zq4vc9.js} +5 -5
  359. package/web/chunk-v7zq4vc9.js.br +0 -0
  360. package/web/chunk-v7zq4vc9.js.gz +0 -0
  361. package/web/chunk-vh8pkcem.css +1 -0
  362. package/web/chunk-vh8pkcem.css.br +0 -0
  363. package/web/chunk-vh8pkcem.css.gz +0 -0
  364. package/web/chunk-vq3sby7x.js +1 -0
  365. package/web/chunk-vq3sby7x.js.br +0 -0
  366. package/web/chunk-vq3sby7x.js.gz +0 -0
  367. package/web/{chunk-vvvd3grf.js → chunk-vszya05r.js} +2 -2
  368. package/web/chunk-vszya05r.js.br +0 -0
  369. package/web/chunk-vszya05r.js.gz +0 -0
  370. package/web/chunk-was9xf03.js +8 -0
  371. package/web/chunk-was9xf03.js.br +0 -0
  372. package/web/chunk-was9xf03.js.gz +0 -0
  373. package/web/chunk-we1v1829.js +2 -0
  374. package/web/chunk-we1v1829.js.br +0 -0
  375. package/web/chunk-we1v1829.js.gz +0 -0
  376. package/web/chunk-wfa1c8dn.js +1 -0
  377. package/web/chunk-wfa1c8dn.js.br +0 -0
  378. package/web/chunk-wfa1c8dn.js.gz +0 -0
  379. package/web/chunk-wg2exnxe.js +1 -0
  380. package/web/chunk-wg2exnxe.js.br +2 -0
  381. package/web/chunk-wg2exnxe.js.gz +0 -0
  382. package/web/chunk-wvd3zj1m.js +70 -0
  383. package/web/chunk-wvd3zj1m.js.br +0 -0
  384. package/web/chunk-wvd3zj1m.js.gz +0 -0
  385. package/web/chunk-wzmxtr30.js +1 -0
  386. package/web/chunk-wzmxtr30.js.br +0 -0
  387. package/web/chunk-wzmxtr30.js.gz +0 -0
  388. package/web/chunk-x815g7yp.js +1 -0
  389. package/web/chunk-x815g7yp.js.br +0 -0
  390. package/web/chunk-x815g7yp.js.gz +0 -0
  391. package/web/{chunk-ymtq18z6.js → chunk-x8ps0p82.js} +14 -14
  392. package/web/chunk-x8ps0p82.js.br +0 -0
  393. package/web/chunk-x8ps0p82.js.gz +0 -0
  394. package/web/{chunk-5fzmk43v.js → chunk-xea3snym.js} +1 -1
  395. package/web/chunk-xea3snym.js.br +0 -0
  396. package/web/chunk-xea3snym.js.gz +0 -0
  397. package/web/chunk-xet1jjy9.js.br +0 -0
  398. package/web/chunk-xet1jjy9.js.gz +0 -0
  399. package/web/{chunk-17wwzrp4.js → chunk-xg4v60m7.js} +1 -1
  400. package/web/chunk-xg4v60m7.js.br +0 -0
  401. package/web/chunk-xg4v60m7.js.gz +0 -0
  402. package/web/chunk-xhr9jrjt.js +89 -0
  403. package/web/chunk-xhr9jrjt.js.br +0 -0
  404. package/web/chunk-xhr9jrjt.js.gz +0 -0
  405. package/web/chunk-xp90g2e7.js +36 -0
  406. package/web/chunk-xp90g2e7.js.br +0 -0
  407. package/web/chunk-xp90g2e7.js.gz +0 -0
  408. package/web/{chunk-hbwxtbq3.js → chunk-xs1g97qa.js} +2 -2
  409. package/web/chunk-xs1g97qa.js.br +0 -0
  410. package/web/chunk-xs1g97qa.js.gz +0 -0
  411. package/web/chunk-xyk1wpr4.js +1 -0
  412. package/web/chunk-xyk1wpr4.js.br +3 -0
  413. package/web/chunk-xyk1wpr4.js.gz +0 -0
  414. package/web/chunk-yavbdwyt.js +1 -0
  415. package/web/chunk-yavbdwyt.js.br +0 -0
  416. package/web/chunk-yavbdwyt.js.gz +0 -0
  417. package/web/chunk-yfnhnsxe.js +4 -0
  418. package/web/chunk-yfnhnsxe.js.br +0 -0
  419. package/web/chunk-yfnhnsxe.js.gz +0 -0
  420. package/web/chunk-yk965yth.js +1 -0
  421. package/web/chunk-yk965yth.js.br +0 -0
  422. package/web/chunk-yk965yth.js.gz +0 -0
  423. package/web/{chunk-25sn840r.js → chunk-ynhcjhsx.js} +2 -2
  424. package/web/chunk-ynhcjhsx.js.br +0 -0
  425. package/web/chunk-ynhcjhsx.js.gz +0 -0
  426. package/web/chunk-ypmm1gts.js +1 -0
  427. package/web/chunk-ypmm1gts.js.br +0 -0
  428. package/web/chunk-ypmm1gts.js.gz +0 -0
  429. package/web/chunk-yssx5a5q.js +1 -0
  430. package/web/chunk-yssx5a5q.js.br +0 -0
  431. package/web/chunk-yssx5a5q.js.gz +0 -0
  432. package/web/chunk-z09emmrb.js.br +0 -0
  433. package/web/chunk-z09emmrb.js.gz +0 -0
  434. package/web/chunk-z0a8cnq8.js +1 -0
  435. package/web/chunk-z0a8cnq8.js.br +0 -0
  436. package/web/chunk-z0a8cnq8.js.gz +0 -0
  437. package/web/{chunk-pafw34vg.js → chunk-z1afsvbv.js} +2 -2
  438. package/web/chunk-z1afsvbv.js.br +0 -0
  439. package/web/chunk-z1afsvbv.js.gz +0 -0
  440. package/web/{chunk-fttdbcqv.js → chunk-z1ka8jtd.js} +2 -2
  441. package/web/chunk-z1ka8jtd.js.br +0 -0
  442. package/web/chunk-z1ka8jtd.js.gz +0 -0
  443. package/web/chunk-z7tdzen9.js +1 -0
  444. package/web/chunk-z7tdzen9.js.br +0 -0
  445. package/web/chunk-z7tdzen9.js.gz +0 -0
  446. package/web/{chunk-tvaxyhh0.js → chunk-zbwjj06m.js} +6 -6
  447. package/web/chunk-zbwjj06m.js.br +0 -0
  448. package/web/chunk-zbwjj06m.js.gz +0 -0
  449. package/web/chunk-zd2j189j.js +1 -0
  450. package/web/chunk-zd2j189j.js.br +0 -0
  451. package/web/chunk-zd2j189j.js.gz +0 -0
  452. package/web/chunk-zfgpq4n4.js +120 -0
  453. package/web/chunk-zfgpq4n4.js.br +0 -0
  454. package/web/chunk-zfgpq4n4.js.gz +0 -0
  455. package/web/chunk-zgas56xw.js +1 -0
  456. package/web/chunk-zgas56xw.js.br +0 -0
  457. package/web/chunk-zgas56xw.js.gz +0 -0
  458. package/web/chunk-zkfepf91.js +1 -0
  459. package/web/chunk-zkfepf91.js.br +0 -0
  460. package/web/chunk-zkfepf91.js.gz +0 -0
  461. package/web/icon-1wgy7kzy.svg.br +0 -0
  462. package/web/icon-1wgy7kzy.svg.gz +0 -0
  463. package/web/icon.svg.br +0 -0
  464. package/web/icon.svg.gz +0 -0
  465. package/web/index.html +11 -1
  466. package/web/index.html.br +0 -0
  467. package/web/index.html.gz +0 -0
  468. package/web/manifest-txf6vfbq.webmanifest.br +0 -0
  469. package/web/manifest-txf6vfbq.webmanifest.gz +0 -0
  470. package/web/manifest.webmanifest.br +0 -0
  471. package/web/manifest.webmanifest.gz +0 -0
  472. package/web/sw.js +146 -27
  473. package/web/sw.js.br +0 -0
  474. package/web/sw.js.gz +0 -0
  475. package/web/chunk-00swes3c.js +0 -1
  476. package/web/chunk-01nbc18z.js +0 -2
  477. package/web/chunk-0e995hjg.js +0 -1
  478. package/web/chunk-1bhpfsvr.js +0 -36
  479. package/web/chunk-1y387f45.js +0 -1
  480. package/web/chunk-3egthz5k.js +0 -2
  481. package/web/chunk-3f8fjee5.js +0 -2
  482. package/web/chunk-3fjzgpaw.js +0 -1
  483. package/web/chunk-3hy2gsgf.js +0 -1
  484. package/web/chunk-3mgzqbc8.js +0 -1
  485. package/web/chunk-3yvanftw.js +0 -1
  486. package/web/chunk-43194184.js +0 -1
  487. package/web/chunk-43bczb21.js +0 -120
  488. package/web/chunk-4m9mgdaa.js +0 -1
  489. package/web/chunk-4tbhxtnm.js +0 -1
  490. package/web/chunk-50vgq2nk.js +0 -139
  491. package/web/chunk-57b8j192.js +0 -1
  492. package/web/chunk-5rwg3qqd.js +0 -169
  493. package/web/chunk-62gj74fq.js +0 -1
  494. package/web/chunk-64h7k870.js +0 -1
  495. package/web/chunk-65ay0j1t.js +0 -39
  496. package/web/chunk-66164wmv.js +0 -2
  497. package/web/chunk-6ehecat3.js +0 -1
  498. package/web/chunk-6s1vjny7.js +0 -24
  499. package/web/chunk-73941p08.js +0 -1
  500. package/web/chunk-7jh6zxg3.js +0 -1
  501. package/web/chunk-7mgwejn4.js +0 -1
  502. package/web/chunk-7qq1ypvj.js +0 -1
  503. package/web/chunk-8nm0mghm.js +0 -2
  504. package/web/chunk-8zg89764.js +0 -1
  505. package/web/chunk-95gbcs8j.js +0 -1
  506. package/web/chunk-at0xtfhy.js +0 -1
  507. package/web/chunk-aw6wg8fe.js +0 -3
  508. package/web/chunk-b323qea5.js +0 -1
  509. package/web/chunk-bcx7xges.js +0 -1
  510. package/web/chunk-cq1f20k6.js +0 -89
  511. package/web/chunk-dde64qjd.js +0 -1
  512. package/web/chunk-djnq1w1e.js +0 -21
  513. package/web/chunk-ed5xfgxb.js +0 -2
  514. package/web/chunk-ehz9m6g4.js +0 -292
  515. package/web/chunk-evp6t44y.js +0 -8
  516. package/web/chunk-eyg28s83.js +0 -1
  517. package/web/chunk-g7bcntpm.js +0 -1
  518. package/web/chunk-g9bqacq1.js +0 -1
  519. package/web/chunk-gh8kjzdj.js +0 -1
  520. package/web/chunk-h0c42zy3.js +0 -1
  521. package/web/chunk-j031r08w.js +0 -1
  522. package/web/chunk-jab2p5zv.js +0 -2
  523. package/web/chunk-jca9xbe0.js +0 -40
  524. package/web/chunk-jpf8x9tm.js +0 -1
  525. package/web/chunk-jy448465.js +0 -1142
  526. package/web/chunk-jy8zat04.js +0 -1
  527. package/web/chunk-k8s7kye3.js +0 -1
  528. package/web/chunk-k9zn1n6d.js +0 -1
  529. package/web/chunk-ksnsfqrn.js +0 -24
  530. package/web/chunk-m5psa69k.js +0 -30
  531. package/web/chunk-md9j949p.js +0 -1
  532. package/web/chunk-mss6eg27.js +0 -106
  533. package/web/chunk-nbcpbqq4.js +0 -1
  534. package/web/chunk-npyrdsf8.css +0 -1
  535. package/web/chunk-p1bb9xp8.js +0 -89
  536. package/web/chunk-pdmcr6d4.js +0 -41
  537. package/web/chunk-phj4pcx4.js +0 -78
  538. package/web/chunk-pma5pats.js +0 -7
  539. package/web/chunk-pmghe7rh.js +0 -62
  540. package/web/chunk-ppfhtyxt.js +0 -1
  541. package/web/chunk-pze2v3v1.js +0 -2
  542. package/web/chunk-q6j2e8a1.js +0 -70
  543. package/web/chunk-q6jf3zc1.js +0 -1
  544. package/web/chunk-qdn3hmfy.js +0 -1
  545. package/web/chunk-qdsg8wp0.js +0 -1
  546. package/web/chunk-qf2kb7zj.js +0 -2
  547. package/web/chunk-sdtesqbb.js +0 -1
  548. package/web/chunk-t0z8ygx4.js +0 -1
  549. package/web/chunk-t5ke9cyg.js +0 -303
  550. package/web/chunk-t72z2ww3.js +0 -4
  551. package/web/chunk-vypfy030.js +0 -34
  552. package/web/chunk-w7cyrbk2.js +0 -1
  553. package/web/chunk-w9nkvcjr.js +0 -1
  554. package/web/chunk-x2f8bwd2.js +0 -1
  555. package/web/chunk-xq8x7dvr.js +0 -1
  556. package/web/chunk-xtss82z2.js +0 -1
  557. package/web/chunk-yeh77fvq.js +0 -2
  558. package/web/chunk-z5h046zm.js +0 -291
@@ -1 +0,0 @@
1
- import{Ci}from"./chunk-jdx7qp2w.js";export{Ci as default};
@@ -1 +0,0 @@
1
- import{Si}from"./chunk-hdtvrh0f.js";export{Si as default};
@@ -1 +0,0 @@
1
- import{da}from"./chunk-qv1w36ja.js";export{da as default};
@@ -1,24 +0,0 @@
1
- import{H}from"./chunk-yeh77fvq.js";import{t,a,we,N,x,F,C,S,E,T,A,L,R,p,V,Qr,k,j}from"./chunk-t5ke9cyg.js";import{Pt}from"./chunk-vwv6pqy7.js";import{J}from"./chunk-dgepxev9.js";import{Qe}from"./chunk-1zwc09e8.js";import{ue}from"./chunk-k3ah0513.js";function Ye(e){var n=0,l=e.children,o=l&&l.length;if(!o)n=1;else while(--o>=0)n+=l[o].value;e.value=n}function ge(){return this.eachAfter(Ye)}function ye(e,n){let l=-1;for(let o of this)e.call(n,o,++l,this);return this}function xe(e,n){var l=this,o=[l],s,d,f=-1;while(l=o.pop())if(e.call(n,l,++f,this),s=l.children)for(d=s.length-1;d>=0;--d)o.push(s[d]);return this}function Se(e,n){var l=this,o=[l],s=[],d,f,h,b=-1;while(l=o.pop())if(s.push(l),d=l.children)for(f=0,h=d.length;f<h;++f)o.push(d[f]);while(l=s.pop())e.call(n,l,++b,this);return this}function ve(e,n){let l=-1;for(let o of this)if(e.call(n,o,++l,this))return o}function be(e){return this.eachAfter(function(n){var l=+e(n.data)||0,o=n.children,s=o&&o.length;while(--s>=0)l+=o[s].value;n.value=l})}function Ce(e){return this.eachBefore(function(n){if(n.children)n.children.sort(e)})}function Te(e){var n=this,l=je(n,e),o=[n];while(n!==l)n=n.parent,o.push(n);var s=o.length;while(e!==l)o.splice(s,0,e),e=e.parent;return o}function je(e,n){if(e===n)return e;var l=e.ancestors(),o=n.ancestors(),s=null;e=l.pop(),n=o.pop();while(e===n)s=e,e=l.pop(),n=o.pop();return s}function Le(){var e=this,n=[e];while(e=e.parent)n.push(e);return n}function $e(){return Array.from(this)}function Ae(){var e=[];return this.eachBefore(function(n){if(!n.children)e.push(n)}),e}function Fe(){var e=this,n=[];return e.each(function(l){if(l!==e)n.push({source:l.parent,target:l})}),n}function*Ne(){var e=this,n,l=[e],o,s,d;do{n=l.reverse(),l=[];while(e=n.pop())if(yield e,o=e.children)for(s=0,d=o.length;s<d;++s)l.push(o[s])}while(l.length)}function re(e,n){if(e instanceof Map){if(e=[void 0,e],n===void 0)n=Je}else if(n===void 0)n=Ue;var l=new ie(e),o,s=[l],d,f,h,b;while(o=s.pop())if((f=n(o.data))&&(b=(f=Array.from(f)).length)){o.children=f;for(h=b-1;h>=0;--h)s.push(d=f[h]=new ie(f[h])),d.parent=o,d.depth=o.depth+1}return l.eachBefore(et)}function Ze(){return re(this).eachBefore(Ke)}function Ue(e){return e.children}function Je(e){return Array.isArray(e)?e[1]:null}function Ke(e){if(e.data.value!==void 0)e.value=e.data.value;e.data=e.data.data}function et(e){var n=0;do e.height=n;while((e=e.parent)&&e.height<++n)}function ie(e){this.data=e,this.depth=this.height=0,this.parent=null}ie.prototype=re.prototype={constructor:ie,count:ge,each:ye,eachAfter:Se,eachBefore:xe,find:ve,sum:be,sort:Ce,path:Te,ancestors:Le,descendants:$e,leaves:Ae,links:Fe,copy:Ze,[Symbol.iterator]:Ne};function Be(e){if(typeof e!=="function")throw Error();return e}function ne(){return 0}function Q(e){return function(){return e}}function ke(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function Me(e,n,l,o,s){var d=e.children,f,h=-1,b=d.length,u=e.value&&(o-n)/e.value;while(++h<b)f=d[h],f.y0=l,f.y1=s,f.x0=n,f.x1=n+=f.value*u}function _e(e,n,l,o,s){var d=e.children,f,h=-1,b=d.length,u=e.value&&(s-l)/e.value;while(++h<b)f=d[h],f.x0=n,f.x1=o,f.y0=l,f.y1=l+=f.value*u}var tt=(1+Math.sqrt(5))/2;function at(e,n,l,o,s,d){var f=[],h=n.children,b,u,m=0,D=0,i=h.length,z,M,_=n.value,g,w,X,q,ee,oe,Y;while(m<i){z=s-l,M=d-o;do g=h[D++].value;while(!g&&D<i);w=X=g,oe=Math.max(M/z,z/M)/(_*e),Y=g*g*oe,ee=Math.max(X/Y,Y/w);for(;D<i;++D){if(g+=u=h[D].value,u<w)w=u;if(u>X)X=u;if(Y=g*g*oe,q=Math.max(X/Y,Y/w),q>ee){g-=u;break}ee=q}if(f.push(b={value:g,dice:z<M,children:h.slice(m,D)}),b.dice)Me(b,l,o,s,_?o+=M*g/_:d);else _e(b,l,o,_?l+=z*g/_:s,d);_-=g,m=D}return f}var Ee=function e(n){function l(o,s,d,f,h){at(n,o,s,d,f,h)}return l.ratio=function(o){return e((o=+o)>1?o:1)},l}(tt);function fe(){var e=Ee,n=!1,l=1,o=1,s=[0],d=ne,f=ne,h=ne,b=ne,u=ne;function m(i){if(i.x0=i.y0=0,i.x1=l,i.y1=o,i.eachBefore(D),s=[0],n)i.eachBefore(ke);return i}function D(i){var z=s[i.depth],M=i.x0+z,_=i.y0+z,g=i.x1-z,w=i.y1-z;if(g<M)M=g=(M+g)/2;if(w<_)_=w=(_+w)/2;if(i.x0=M,i.y0=_,i.x1=g,i.y1=w,i.children){if(z=s[i.depth+1]=d(i)/2,M+=u(i)-z,_+=f(i)-z,g-=h(i)-z,w-=b(i)-z,g<M)M=g=(M+g)/2;if(w<_)_=w=(_+w)/2;e(i,M,_,g,w)}}return m.round=function(i){return arguments.length?(n=!!i,m):n},m.size=function(i){return arguments.length?(l=+i[0],o=+i[1],m):[l,o]},m.tile=function(i){return arguments.length?(e=Be(i),m):e},m.padding=function(i){return arguments.length?m.paddingInner(i).paddingOuter(i):m.paddingInner()},m.paddingInner=function(i){return arguments.length?(d=typeof i==="function"?i:Q(+i),m):d},m.paddingOuter=function(i){return arguments.length?m.paddingTop(i).paddingRight(i).paddingBottom(i).paddingLeft(i):m.paddingTop()},m.paddingTop=function(i){return arguments.length?(f=typeof i==="function"?i:Q(+i),m):f},m.paddingRight=function(i){return arguments.length?(h=typeof i==="function"?i:Q(+i),m):h},m.paddingBottom=function(i){return arguments.length?(b=typeof i==="function"?i:Q(+i),m):b},m.paddingLeft=function(i){return arguments.length?(u=typeof i==="function"?i:Q(+i),m):u},m}var Re=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=S,this.getAccTitle=E,this.setDiagramTitle=L,this.getDiagramTitle=R,this.getAccDescription=A,this.setAccDescription=T}static{t(this,"TreeMapDB")}getNodes(){return this.nodes}getConfig(){let e=N,n=x();return j({...e.treemap,...n.treemap??{}})}addNode(e,n){if(this.nodes.push(e),this.levels.set(e,n),n===0)this.outerNodes.push(e),this.root??=e}getRoot(){return{name:"",children:this.outerNodes}}addClass(e,n){let l=this.classes.get(e)??{id:e,styles:[],textStyles:[]},o=n.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");if(o)o.forEach((s)=>{if(Qr(s))if(l?.textStyles)l.textStyles.push(s);else l.textStyles=[s];if(l?.styles)l.styles.push(s);else l.styles=[s]});this.classes.set(e,l)}getClasses(){return this.classes}getStylesForClass(e){return this.classes.get(e)?.styles??[]}clear(){C(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}};function We(e){if(!e.length)return[];let n=[],l=[];return e.forEach((o)=>{let s={name:o.name,children:o.type==="Leaf"?void 0:[]};if(s.classSelector=o?.classSelector,o?.cssCompiledStyles)s.cssCompiledStyles=o.cssCompiledStyles;if(o.type==="Leaf"&&o.value!==void 0)s.value=o.value;while(l.length>0&&l[l.length-1].level>=o.level)l.pop();if(l.length===0)n.push(s);else{let d=l[l.length-1].node;if(d.children)d.children.push(s);else d.children=[s]}if(o.type!=="Leaf")l.push({node:s,level:o.level})}),n}t(We,"buildHierarchy");var rt=t((e,n)=>{H(e,n);let l=[];for(let d of e.TreemapRows??[])if(d.$type==="ClassDefStatement")n.addClass(d.className??"",d.styleText??"");for(let d of e.TreemapRows??[]){let f=d.item;if(!f)continue;let h=d.indent?parseInt(d.indent):0,b=nt(f),u=f.classSelector?n.getStylesForClass(f.classSelector):[],m=u.length>0?u:void 0,D={level:h,name:b,type:f.$type,value:f.value,classSelector:f.classSelector,cssCompiledStyles:m};l.push(D)}let o=We(l),s=t((d,f)=>{for(let h of d)if(n.addNode(h,f),h.children&&h.children.length>0)s(h.children,f+1)},"addNodesRecursively");s(o,0)},"populate"),nt=t((e)=>e.name?String(e.name):"","getItemName"),He={parser:{yy:void 0},parse:t(async(e)=>{try{let l=await J("treemap",e);a.debug("Treemap AST:",l);let o=He.parser?.yy;if(!(o instanceof Re))throw Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");rt(l,o)}catch(n){throw a.error("Error parsing treemap:",n),n}},"parse")},lt=10,le=10,ce=25,ot=t((e,n,l,o)=>{let s=o.db,d=s.getConfig(),f=d.padding??lt,h=s.getDiagramTitle(),b=s.getRoot(),{themeVariables:u}=x();if(!b)return;let m=h?30:0,D=V(n),i=d.nodeWidth?d.nodeWidth*le:960,z=d.nodeHeight?d.nodeHeight*le:500,M=i,_=z+m;D.attr("viewBox",`0 0 ${M} ${_}`),F(D,_,M,d.useMaxWidth);let g;try{let r=d.valueFormat||",";if(r==="$0,0")g=t((c)=>"$"+Pt(",")(c),"valueFormat");else if(r.startsWith("$")&&r.includes(",")){let c=/\.\d+/.exec(r),y=c?c[0]:"";g=t((P)=>"$"+Pt(","+y)(P),"valueFormat")}else if(r.startsWith("$")){let c=r.substring(1);g=t((y)=>"$"+Pt(c||"")(y),"valueFormat")}else g=Pt(r)}catch(r){a.error("Error creating format function:",r),g=Pt(",")}let w=Qe().range(["transparent",u.cScale0,u.cScale1,u.cScale2,u.cScale3,u.cScale4,u.cScale5,u.cScale6,u.cScale7,u.cScale8,u.cScale9,u.cScale10,u.cScale11]),X=Qe().range(["transparent",u.cScalePeer0,u.cScalePeer1,u.cScalePeer2,u.cScalePeer3,u.cScalePeer4,u.cScalePeer5,u.cScalePeer6,u.cScalePeer7,u.cScalePeer8,u.cScalePeer9,u.cScalePeer10,u.cScalePeer11]),q=Qe().range([u.cScaleLabel0,u.cScaleLabel1,u.cScaleLabel2,u.cScaleLabel3,u.cScaleLabel4,u.cScaleLabel5,u.cScaleLabel6,u.cScaleLabel7,u.cScaleLabel8,u.cScaleLabel9,u.cScaleLabel10,u.cScaleLabel11]);if(h)D.append("text").attr("x",M/2).attr("y",m/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(h);let ee=D.append("g").attr("transform",`translate(0, ${m})`).attr("class","treemapContainer"),oe=re(b).sum((r)=>r.value??0).sort((r,c)=>(c.value??0)-(r.value??0)),ze=fe().size([i,z]).paddingTop((r)=>r.children&&r.children.length>0?ce+le:0).paddingInner(f).paddingLeft((r)=>r.children&&r.children.length>0?le:0).paddingRight((r)=>r.children&&r.children.length>0?le:0).paddingBottom((r)=>r.children&&r.children.length>0?le:0).round(!0)(oe),Ie=ze.descendants().filter((r)=>r.children&&r.children.length>0),se=ee.selectAll(".treemapSection").data(Ie).enter().append("g").attr("class","treemapSection").attr("transform",(r)=>`translate(${r.x0},${r.y0})`);if(se.append("rect").attr("width",(r)=>r.x1-r.x0).attr("height",ce).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",0.6).attr("stroke-width",0.6).attr("style",(r)=>{if(r.depth===0)return"display: none;";return""}),se.append("clipPath").attr("id",(r,c)=>`clip-section-${n}-${c}`).append("rect").attr("width",(r)=>Math.max(0,r.x1-r.x0-12)).attr("height",ce),se.append("rect").attr("width",(r)=>r.x1-r.x0).attr("height",(r)=>r.y1-r.y0).attr("class",(r,c)=>`treemapSection section${c}`).attr("fill",(r)=>w(r.data.name)).attr("fill-opacity",0.6).attr("stroke",(r)=>X(r.data.name)).attr("stroke-width",2).attr("stroke-opacity",0.4).attr("style",(r)=>{if(r.depth===0)return"display: none;";let c=k({cssCompiledStyles:r.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),se.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",ce/2).attr("dominant-baseline","middle").text((r)=>r.depth===0?"":r.data.name).attr("font-weight","bold").attr("clip-path",(r,c)=>`url(#clip-section-${n}-${c})`).attr("style",(r)=>{if(r.depth===0)return"display: none;";let c="dominant-baseline: middle; font-size: 12px; fill:"+q(r.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",y=k({cssCompiledStyles:r.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")}).each(function(r){if(r.depth===0)return;let c=p(this),y=r.data.name;c.text(y);let P=r.x1-r.x0,W=6,B;if(d.showValues!==!1&&r.value){let O=P-10,K=30,Ge=10;B=O-30-10-W}else B=P-W-6;let v=Math.max(15,B),U=c.node();if(U.getComputedTextLength()>v){let K=y;while(K.length>0){if(K=y.substring(0,K.length-1),K.length===0){if(c.text("..."),U.getComputedTextLength()>v)c.text("");break}if(c.text(K+"..."),U.getComputedTextLength()<=v)break}}}),d.showValues!==!1)se.append("text").attr("class","treemapSectionValue").attr("x",(r)=>r.x1-r.x0-10).attr("y",ce/2).attr("text-anchor","end").attr("dominant-baseline","middle").text((r)=>r.value?g(r.value):"").attr("font-style","italic").attr("style",(r)=>{if(r.depth===0)return"display: none;";let c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+q(r.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",y=k({cssCompiledStyles:r.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")});let De=ze.leaves(),G=De.length>20,Oe=G?16:38,pe=G?14:28,te=G?4:8,ae=G?4:6,he=G?2:4,Ve=G?8:10,me=G?1:2,de=ee.selectAll(".treemapLeafGroup").data(De).enter().append("g").attr("class",(r,c)=>`treemapNode treemapLeafGroup leaf${c}${r.data.classSelector?` ${r.data.classSelector}`:""}x`).attr("transform",(r)=>`translate(${r.x0},${r.y0})`);if(de.append("rect").attr("width",(r)=>r.x1-r.x0).attr("height",(r)=>r.y1-r.y0).attr("class","treemapLeaf").attr("fill",(r)=>r.parent?w(r.parent.data.name):w(r.data.name)).attr("style",(r)=>k({cssCompiledStyles:r.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",0.3).attr("stroke",(r)=>r.parent?w(r.parent.data.name):w(r.data.name)).attr("stroke-width",3),de.append("clipPath").attr("id",(r,c)=>`clip-${n}-${c}`).append("rect").attr("width",(r)=>Math.max(0,r.x1-r.x0-4)).attr("height",(r)=>Math.max(0,r.y1-r.y0-4)),de.append("text").attr("class","treemapLabel").attr("x",(r)=>(r.x1-r.x0)/2).attr("y",(r)=>(r.y1-r.y0)/2).attr("style",(r)=>{let c=`text-anchor: middle; dominant-baseline: middle; font-size: ${Oe}px;fill:`+q(r.data.name)+";",y=k({cssCompiledStyles:r.data.cssCompiledStyles});return c+y.labelStyles.replace("color:","fill:")}).attr("clip-path",(r,c)=>`url(#clip-${n}-${c})`).text((r)=>r.data.name).each(function(r){let c=p(this),y=r.x1-r.x0,P=r.y1-r.y0,W=c.node(),B=y-2*he,Z=P-2*he;if(B<Ve||Z<Ve){c.style("display","none");return}let v=parseInt(c.style("font-size"),10),U=0.6;while(W.getComputedTextLength()>B&&v>te)v--,c.style("font-size",`${v}px`);let I=Math.max(ae,Math.min(pe,Math.round(v*U))),O=v+me+I;while(O>Z&&v>te){if(v--,I=Math.max(ae,Math.min(pe,Math.round(v*U))),I<ae&&v===te)break;if(c.style("font-size",`${v}px`),O=v+me+I,I<=ae&&O>Z);}if(c.style("font-size",`${v}px`),G){if(v<te||Z<te)c.style("display","none")}else if(W.getComputedTextLength()>B||v<te||Z<v)c.style("display","none")}),d.showValues!==!1)de.append("text").attr("class","treemapValue").attr("x",(c)=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",(c)=>{let y=`text-anchor: middle; dominant-baseline: hanging; font-size: ${pe}px;fill:`+q(c.data.name)+";",P=k({cssCompiledStyles:c.data.cssCompiledStyles});return y+P.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,y)=>`url(#clip-${n}-${y})`).text((c)=>c.value?g(c.value):"").each(function(c){let y=p(this),P=this.parentNode;if(!P){y.style("display","none");return}let W=p(P).select(".treemapLabel");if(W.empty()||W.style("display")==="none"){y.style("display","none");return}let B=parseFloat(W.style("font-size")),v=Math.max(ae,Math.min(pe,Math.round(B*0.6)));y.style("font-size",`${v}px`);let I=(c.y1-c.y0)/2+B/2+me;y.attr("y",I);let O=c.x1-c.x0,Pe=c.y1-c.y0-4,Xe=O-2*he;if(y.node().getComputedTextLength()>Xe||I+v>Pe||v<ae)y.style("display","none");else y.style("display",null)});let qe=d.diagramPadding??8;ue(D,qe,"flowchart",d?.useMaxWidth||!1)},"draw"),st=t(function(e,n){return n.db.getClasses()},"getClasses"),it={draw:ot,getClasses:st},ct={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},pt=t(({treemap:e}={})=>{let n=we(),l=x(),o=j(n,l.themeVariables),s=j(ct,e),d=s.titleColor??o.titleColor,f=s.labelColor??o.textColor,h=s.valueColor??o.textColor;return`
2
- .treemapNode.section {
3
- stroke: ${s.sectionStrokeColor};
4
- stroke-width: ${s.sectionStrokeWidth};
5
- fill: ${s.sectionFillColor};
6
- }
7
- .treemapNode.leaf {
8
- stroke: ${s.leafStrokeColor};
9
- stroke-width: ${s.leafStrokeWidth};
10
- fill: ${s.leafFillColor};
11
- }
12
- .treemapLabel {
13
- fill: ${f};
14
- font-size: ${s.labelFontSize};
15
- }
16
- .treemapValue {
17
- fill: ${h};
18
- font-size: ${s.valueFontSize};
19
- }
20
- .treemapTitle {
21
- fill: ${d};
22
- font-size: ${s.titleFontSize};
23
- }
24
- `},"getStyles"),dt=pt,fa={parser:He,get db(){return new Re},renderer:it,styles:dt};export{fa as diagram};
@@ -1,30 +0,0 @@
1
- import{gn}from"./chunk-t78qm9gs.js";import{H}from"./chunk-yeh77fvq.js";import{t,a,N,x,O,F,C,S,E,T,A,L,R,V,Dn,at,j}from"./chunk-t5ke9cyg.js";import{J}from"./chunk-dgepxev9.js";var G=/[─━│┃└┗├┣]/,Y=/[└┗├┣]/,ee=/[─━]/,M=/^[\s│┃]+$/,W=/^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/,X=/^\s*%%/,te=" ";function P(n){return n.some((r)=>G.test(r))}t(P,"isBoxDrawingFormat");function Z(n){for(let r of n){let e=Y.exec(r);if(e?.index&&e.index>0)return e.index}return 4}t(Z,"inferSegmentWidth");function q(n,r){return n.replace(/\bline\s+(\d+)\b/gi,(e,i)=>{let c=parseInt(i,10),o=r.get(c);return o?`line ${o}`:e})}t(q,"remapErrorLines");function U(n){let r=n.split(`
2
- `),e=new Map,i=-1;for(let[g,d]of r.entries())if(d.trim()==="treeView-beta"){i=g;break}if(i===-1)return{text:n,lineMap:e};let c=[];for(let g=i+1;g<r.length;g++){let d=r[g];if(d.trim()===""||X.test(d)||W.test(d))continue;if(M.test(d))continue;c.push(d.replace(/\t/g," "))}if(!P(c))return{text:n,lineMap:e};let o=Z(c),s=[],l=0;for(let g=0;g<=i;g++)s.push(r[g]),l++,e.set(l,g+1);for(let g=i+1;g<r.length;g++){let d=r[g],p=d.trim(),f=g+1;if(p===""){s.push(d),l++,e.set(l,f);continue}if(X.test(d)){s.push(d),l++,e.set(l,f);continue}if(W.test(d)){s.push(d),l++,e.set(l,f);continue}if(M.test(d))continue;let h=d.replace(/\t/g," "),w=Y.exec(h);if(w?.index!==void 0){let u=w.index,v=Math.round(u/o)+1,m=u+1;while(m<h.length&&ee.test(h[m]))m++;while(m<h.length&&h[m]===" ")m++;let I=h.slice(m).trimEnd();if(!I)throw Error(`Line ${f}: Empty node — expected a filename or directory name after the box-drawing prefix`);let Q=te.repeat(v);s.push(Q+I),l++,e.set(l,f)}else if(/^[\s─━│┃└┗├┣]+$/.test(h))continue;else if(G.test(h))s.push(d),l++,e.set(l,f);else if(/^\s+/.test(h))throw Error(`Line ${f}: Unexpected indentation without box-drawing characters. In box-drawing format, use ├── or └── prefixes for indented nodes.`);else s.push(d),l++,e.set(l,f)}return{text:s.join(`
3
- `),lineMap:e}}t(U,"preprocessBoxDrawing");var b=new gn(()=>({cnt:1,stack:[{id:0,level:-1,name:"/",nodeType:"directory",children:[]}]})),re=t(()=>{b.reset(),C()},"clear"),ne=t(()=>b.records.stack[0],"getRoot"),ie=t(()=>b.records.cnt,"getCount"),oe=N.treeView,se=t(()=>j(oe,x().treeView),"getConfig"),ae=t((n,r,e,i,c,o)=>{while(n<=b.records.stack[b.records.stack.length-1].level)b.records.stack.pop();let s={id:b.records.cnt++,level:n,name:r,nodeType:e,icon:c,cssClass:i,description:o,children:[]};b.records.stack[b.records.stack.length-1].children.push(s),b.records.stack.push(s)},"addNode"),ce={clear:re,addNode:ae,getRoot:ne,getCount:ie,getConfig:se,getAccTitle:E,getAccDescription:A,getDiagramTitle:R,setAccDescription:T,setAccTitle:S,setDiagramTitle:L},B=ce,le=t((n)=>{H(n,B);for(let r of n.nodes){let e=typeof r.indent==="number"?r.indent:0,i=r.name,c=i.endsWith("/");if(c)i=i.slice(0,-1);let o=c?"directory":"file",s=r.classAnnotation||void 0,l=r.iconAnnotation,g=l!==void 0?l||"none":void 0,d=r.descAnnotation||void 0,p=d?O(d,x()):void 0;B.addNode(e,i,o,s,g,p)}},"populate"),de={parse:t(async(n)=>{let{text:r,lineMap:e}=U(n);try{let i=await J("treeView",r);a.debug(i),le(i)}catch(i){if(e.size>0&&i instanceof Error)i.message=q(i.message,e);throw i}},"parse")},y={prefix:"mermaid-treeview",height:24,width:24,icons:{folder:{body:'<path fill="currentColor" d="M10.59 4.59A2 2 0 0 0 9.17 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.17z"/>'},file:{body:'<path fill="currentColor" fill-rule="evenodd" d="M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.83a2 2 0 0 0-.59-1.42l-4.82-4.82A2 2 0 0 0 13.17 2H6Zm7.5 1.9l4.6 4.6h-3.6a1 1 0 0 1-1-1V3.9Z" clip-rule="evenodd"/>'}}};function K(n,r){let e=r?.filenameIcons?.[n];if(e)return e;let i=n.lastIndexOf(".");if(i>0){let c=n.substring(i).toLowerCase(),o=r?.extensionIcons;return o?.[c]??o?.[c.slice(1)]}return}t(K,"detectIcon");function k(n,r){if(n.includes(":"))return n;if(n in y.icons||!r)return`${y.prefix}:${n}`;return`${r}:${n}`}t(k,"qualifyIcon");function _(n,r){if(n.icon==="none")return;if(n.icon)return k(n.icon,r.defaultIconPack);if(!r.showIcons)return;if(n.nodeType==="file"){let e=K(n.name,r);if(e==="none")return;if(e)return k(e,r.defaultIconPack)}return`${y.prefix}:${n.nodeType==="directory"?"folder":"file"}`}t(_,"getNodeIcon");Dn([{name:y.prefix,icons:y}]);var D=14,he=4,pe=16,fe=t(async(n,r)=>{let e=[],i=t((o)=>{let s=_(o,r);if(s)e.push({icon:s,node:o});o.children.forEach(i)},"collect");i(n);let c=await Promise.all(e.map(async({icon:o,node:s})=>({id:s.id,svg:await at(o,{height:D,width:D})})));return new Map(c.map(({id:o,svg:s})=>[o,s]))},"resolveNodeIcons"),ge=t((n,r,e,i,c,o)=>{let s=i.append("g"),l="treeView-node-label";if(e.nodeType==="directory")l+=" treeView-node-dir";if(e.cssClass)l+=` ${e.cssClass}`;let g=D+he,d=_(e,c),p=d!==void 0;if(d)s.append("g").attr("class","treeView-node-icon").attr("transform",`translate(${n+c.paddingX}, ${r+c.paddingY})`).html(o.get(e.id)??"");let f=s.append("text").text(e.name).attr("dominant-baseline","middle").attr("class",l),{height:h,width:w}=f.node().getBBox(),u=h+c.paddingY*2,v=n+c.paddingX+(p?g:0);f.attr("x",v),f.attr("y",r+u/2);let m=v+w,I=w+c.paddingX*2+(p?g:0);if(e.BBox={x:n,y:r,width:I,height:u},e.cssClass?.split(/\s+/).includes("highlight"))s.insert("rect",":first-child").attr("x",n).attr("y",r+1).attr("width",0).attr("height",u-2).attr("rx",3).attr("class","treeView-highlight-bg");return{node:e,nodeGroup:s,labelRightEdge:m,centerY:r+u/2}},"positionLabel"),z=t((n,r,e,i,c,o)=>n.append("line").attr("x1",r).attr("y1",e).attr("x2",i).attr("y2",c).attr("stroke-width",o).attr("class","treeView-node-line"),"positionLine"),ue=t((n,r,e,i)=>{let c=0,o=0,s=[],l=t((p,f,h,w)=>{let u=w*(h.rowIndent+h.paddingX),v=ge(u,c,f,p,h,i);s.push(v);let{height:m,width:I}=f.BBox;z(p,u-h.rowIndent,c+m/2,u,c+m/2,h.lineThickness),o=Math.max(o,u+I),c+=m},"drawNode"),g=t((p,f=0)=>{l(n,p,e,f),p.children.forEach((v)=>{g(v,f+1)});let{x:h,y:w,height:u}=p.BBox;if(p.children.length){let{y:v,height:m}=p.children[p.children.length-1].BBox;z(n,h+e.paddingX,w+u,h+e.paddingX,v+m/2+e.lineThickness/2,e.lineThickness)}},"processNode");g(r);let d=s.filter((p)=>p.node.description);if(d.length>0){let f=Math.max(...s.map((h)=>h.labelRightEdge))+pe;for(let h of d){let u=h.nodeGroup.append("text").text(h.node.description).attr("dominant-baseline","middle").attr("class","treeView-node-description").attr("x",f).attr("y",h.centerY).node().getBBox();o=Math.max(o,f+u.width+e.paddingX)}}for(let p of s)if(p.node.cssClass?.split(/\s+/).includes("highlight")){let f=p.nodeGroup.select(".treeView-highlight-bg");if(!f.empty()){let h=o-p.node.BBox.x+8;f.attr("width",h),o=Math.max(o,p.node.BBox.x+h+2)}}return{totalHeight:c,totalWidth:o}},"drawTree"),me=t(async(n,r,e,i)=>{a.debug(`Rendering treeView diagram
4
- `+n);let c=i.db,o=c.getRoot(),s=c.getConfig(),l=V(r),g=l.append("g");g.attr("class","tree-view");let d=await fe(o,s),{totalHeight:p,totalWidth:f}=ue(g,o,s,d);l.attr("viewBox",`-${s.lineThickness/2} 0 ${f} ${p}`),F(l,p,f,s.useMaxWidth)},"draw"),we={draw:me},xe=we,ve={labelFontSize:"16px",labelColor:"black",lineColor:"black",iconColor:"#546e7a",descriptionColor:"#6a9955",highlightBg:"rgba(255, 193, 7, 0.15)",highlightStroke:"#ffc107"},be=t(({treeView:n})=>{let{labelFontSize:r,labelColor:e,lineColor:i,iconColor:c,descriptionColor:o,highlightBg:s,highlightStroke:l}=j(ve,n);return`
5
- .treeView-node-label {
6
- font-size: ${r};
7
- fill: ${e};
8
- white-space: pre;
9
- }
10
- .treeView-node-dir {
11
- font-weight: bold;
12
- }
13
- .treeView-node-line {
14
- stroke: ${i};
15
- }
16
- .treeView-node-icon {
17
- color: ${c};
18
- }
19
- .treeView-node-description {
20
- font-size: ${r};
21
- fill: ${o};
22
- font-style: italic;
23
- white-space: pre;
24
- }
25
- .treeView-highlight-bg {
26
- fill: ${s};
27
- stroke: ${l};
28
- stroke-width: 1;
29
- }
30
- `},"styles"),Ce=be,Ee={db:B,renderer:xe,parser:de,styles:Ce};export{Ee as diagram};
@@ -1 +0,0 @@
1
- import{wi}from"./chunk-k4qrqmdk.js";export{wi as default};
@@ -1,106 +0,0 @@
1
- import{gn}from"./chunk-t78qm9gs.js";import{H}from"./chunk-yeh77fvq.js";import{t,a,N,x,b,C,S,E,T,A,L,R,l,Sr,p,Ki,j,M}from"./chunk-t5ke9cyg.js";import{J}from"./chunk-dgepxev9.js";var v={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Ce=N.gitGraph,X=t(()=>j({...Ce,...x().gitGraph}),"getConfig"),m=new gn(()=>{let e=X(),{mainBranchName:r,mainBranchOrder:o}=e;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:o}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function ne(){return Ki({length:7})}t(ne,"getID");function pe(e,r){let o=Object.create(null);return e.reduce((c,i)=>{let h=r(i);if(!o[h])o[h]=!0,c.push(i);return c},[])}t(pe,"uniqBy");var ve=t(function(e){m.records.direction=e},"setDirection"),Ee=t(function(e){a.debug("options str",e),e=e?.trim(),e=e||"{}";try{m.records.options=JSON.parse(e)}catch(r){a.error("error while parsing gitGraph options",r.message)}},"setOptions"),Te=t(function(){return m.records.options},"getOptions"),Le=t(function(e){let{msg:r,id:o,type:c,tags:i}=e;a.info("commit",r,o,c,i),a.debug("Entering commit:",r,o,c,i);let h=X();o=b.sanitizeText(o,h),r=b.sanitizeText(r,h),i=i?.map((s)=>b.sanitizeText(s,h));let n={id:o?o:m.records.seq+"-"+ne(),message:r,seq:m.records.seq++,type:c??v.NORMAL,tags:i??[],parents:m.records.head==null?[]:[m.records.head.id],branch:m.records.currBranch};if(m.records.head=n,a.info("main branch",h.mainBranchName),m.records.commits.has(n.id))a.warn(`Commit ID ${n.id} already exists`);m.records.commits.set(n.id,n),m.records.branches.set(m.records.currBranch,n.id),a.debug("in pushCommit "+n.id)},"commit"),Me=t(function(e){let{name:r,order:o}=e;if(r=b.sanitizeText(r,X()),m.records.branches.has(r))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);m.records.branches.set(r,m.records.head!=null?m.records.head.id:null),m.records.branchConfig.set(r,{name:r,order:o}),ye(r),a.debug("in createBranch")},"branch"),Pe=t((e)=>{let{branch:r,id:o,type:c,tags:i}=e,h=X();if(r=b.sanitizeText(r,h),o)o=b.sanitizeText(o,h);let n=m.records.branches.get(m.records.currBranch),s=m.records.branches.get(r),g=n?m.records.commits.get(n):void 0,y=s?m.records.commits.get(s):void 0;if(g&&y&&g.branch===r)throw Error(`Cannot merge branch '${r}' into itself.`);if(m.records.currBranch===r){let d=Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if(g===void 0||!g){let d=Error(`Incorrect usage of "merge". Current branch (${m.records.currBranch})has no commits`);throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},d}if(!m.records.branches.has(r)){let d=Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},d}if(y===void 0||!y){let d=Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},d}if(g===y){let d=Error('Incorrect usage of "merge". Both branches have same head');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if(o&&m.records.commits.has(o)){let d=Error('Incorrect usage of "merge". Commit with id:'+o+" already exists, use different custom id");throw d.hash={text:`merge ${r} ${o} ${c} ${i?.join(" ")}`,token:`merge ${r} ${o} ${c} ${i?.join(" ")}`,expected:[`merge ${r} ${o}_UNIQUE ${c} ${i?.join(" ")}`]},d}let u=s?s:"",f={id:o||`${m.records.seq}-${ne()}`,message:`merged branch ${r} into ${m.records.currBranch}`,seq:m.records.seq++,parents:m.records.head==null?[]:[m.records.head.id,u],branch:m.records.currBranch,type:v.MERGE,customType:c,customId:o?!0:!1,tags:i??[]};m.records.head=f,m.records.commits.set(f.id,f),m.records.branches.set(m.records.currBranch,f.id),a.debug(m.records.branches),a.debug("in mergeBranch")},"merge"),Re=t(function(e){let{id:r,targetId:o,tags:c,parent:i}=e;a.debug("Entering cherryPick:",r,o,c);let h=X();if(r=b.sanitizeText(r,h),o=b.sanitizeText(o,h),c=c?.map((g)=>b.sanitizeText(g,h)),i=b.sanitizeText(i,h),!r||!m.records.commits.has(r)){let g=Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw g.hash={text:`cherryPick ${r} ${o}`,token:`cherryPick ${r} ${o}`,expected:["cherry-pick abc"]},g}let n=m.records.commits.get(r);if(n===void 0||!n)throw Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(i&&!(Array.isArray(n.parents)&&n.parents.includes(i)))throw Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let s=n.branch;if(n.type===v.MERGE&&!i)throw Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!o||!m.records.commits.has(o)){if(s===m.records.currBranch){let f=Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw f.hash={text:`cherryPick ${r} ${o}`,token:`cherryPick ${r} ${o}`,expected:["cherry-pick abc"]},f}let g=m.records.branches.get(m.records.currBranch);if(g===void 0||!g){let f=Error(`Incorrect usage of "cherry-pick". Current branch (${m.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${o}`,token:`cherryPick ${r} ${o}`,expected:["cherry-pick abc"]},f}let y=m.records.commits.get(g);if(y===void 0||!y){let f=Error(`Incorrect usage of "cherry-pick". Current branch (${m.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${o}`,token:`cherryPick ${r} ${o}`,expected:["cherry-pick abc"]},f}let u={id:m.records.seq+"-"+ne(),message:`cherry-picked ${n?.message} into ${m.records.currBranch}`,seq:m.records.seq++,parents:m.records.head==null?[]:[m.records.head.id,n.id],branch:m.records.currBranch,type:v.CHERRY_PICK,tags:c?c.filter(Boolean):[`cherry-pick:${n.id}${n.type===v.MERGE?`|parent:${i}`:""}`]};m.records.head=u,m.records.commits.set(u.id,u),m.records.branches.set(m.records.currBranch,u.id),a.debug(m.records.branches),a.debug("in cherryPick")}},"cherryPick"),ye=t(function(e){if(e=b.sanitizeText(e,X()),!m.records.branches.has(e)){let r=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}else{m.records.currBranch=e;let r=m.records.branches.get(m.records.currBranch);if(r===void 0||!r)m.records.head=null;else m.records.head=m.records.commits.get(r)??null}},"checkout");function he(e,r,o){let c=e.indexOf(r);if(c===-1)e.push(o);else e.splice(c,1,o)}t(he,"upsert");function me(e){let r=e.reduce((i,h)=>{if(i.seq>h.seq)return i;return h},e[0]),o="";e.forEach(function(i){if(i===r)o+="\t*";else o+="\t|"});let c=[o,r.id,r.seq];for(let i in m.records.branches)if(m.records.branches.get(i)===r.id)c.push(i);if(a.debug(c.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){let i=m.records.commits.get(r.parents[0]);if(he(e,r,i),r.parents[1])e.push(m.records.commits.get(r.parents[1]))}else if(r.parents.length==0)return;else if(r.parents[0]){let i=m.records.commits.get(r.parents[0]);he(e,r,i)}e=pe(e,(i)=>i.id),me(e)}t(me,"prettyPrintCommitHistory");var Oe=t(function(){a.debug(m.records.commits);let e=xe()[0];me([e])},"prettyPrint"),Ie=t(function(){m.reset(),C()},"clear"),_e=t(function(){return[...m.records.branchConfig.values()].map((r,o)=>{if(r.order!==null&&r.order!==void 0)return r;return{...r,order:parseFloat(`0.${o}`)}}).sort((r,o)=>(r.order??0)-(o.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ge=t(function(){return m.records.branches},"getBranches"),De=t(function(){return m.records.commits},"getCommits"),xe=t(function(){let e=[...m.records.commits.values()];return e.forEach(function(r){a.debug(r.id)}),e.sort((r,o)=>r.seq-o.seq),e},"getCommitsArray"),We=t(function(){return m.records.currBranch},"getCurrentBranch"),qe=t(function(){return m.records.direction},"getDirection"),Ae=t(function(){return m.records.head},"getHead"),ue={commitType:v,getConfig:X,setDirection:ve,setOptions:Ee,getOptions:Te,commit:Le,branch:Me,merge:Pe,cherryPick:Re,checkout:ye,prettyPrint:Oe,clear:Ie,getBranchesAsObjArray:_e,getBranches:Ge,getCommits:De,getCommitsArray:xe,getCurrentBranch:We,getDirection:qe,getHead:Ae,setAccTitle:S,getAccTitle:E,getAccDescription:A,setAccDescription:T,setDiagramTitle:L,getDiagramTitle:R},He=t((e,r)=>{if(H(e,r),e.dir)r.setDirection(e.dir);for(let o of e.statements)Se(o,r)},"populate"),Se=t((e,r)=>{let c={Commit:t((i)=>r.commit(Ne(i)),"Commit"),Branch:t((i)=>r.branch(Fe(i)),"Branch"),Merge:t((i)=>r.merge(ze(i)),"Merge"),Checkout:t((i)=>r.checkout(Ye(i)),"Checkout"),CherryPicking:t((i)=>r.cherryPick(je(i)),"CherryPicking")}[e.$type];if(c)c(e);else a.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ne=t((e)=>({id:e.id,msg:e.message??"",type:e.type!==void 0?v[e.type]:v.NORMAL,tags:e.tags??void 0}),"parseCommit"),Fe=t((e)=>({name:e.name,order:e.order??0}),"parseBranch"),ze=t((e)=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?v[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ye=t((e)=>e.branch,"parseCheckout"),je=t((e)=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ke={parse:t(async(e)=>{let r=await J("gitGraph",e);a.debug(r),He(r,ue)},"parse")},K=10,U=40,q=4,z=2,V=8,ce=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),le=12,ge=new Set(["redux-color","redux-dark-color"]),Ue=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),Z=t((e,r,o=!1)=>{if(o&&e>0)return(e-1)%(r-1)+1;return e%r},"calcColorIndex"),G=new Map,D=new Map,oe=30,te=new Map,se=[],Y=0,B="LR",Ve=t(()=>{G.clear(),D.clear(),te.clear(),Y=0,se=[],B="LR"},"clear"),be=t((e)=>{let r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e==="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach((c)=>{let i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),i.setAttribute("dy","1em"),i.setAttribute("x","0"),i.setAttribute("class","row"),i.textContent=c.trim(),r.appendChild(i)}),r},"drawText"),we=t((e)=>{let r,o,c;if(B==="BT")o=t((i,h)=>i<=h,"comparisonFunc"),c=1/0;else o=t((i,h)=>i>=h,"comparisonFunc"),c=0;return e.forEach((i)=>{let h=B==="TB"||B=="BT"?D.get(i)?.y:D.get(i)?.x;if(h!==void 0&&o(h,c))r=i,c=h}),r},"findClosestParent"),Ze=t((e)=>{let r="",o=1/0;return e.forEach((c)=>{let i=D.get(c).y;if(i<=o)r=c,o=i}),r||void 0},"findClosestParentBT"),Xe=t((e,r,o)=>{let c=o,i=o,h=[];e.forEach((n)=>{let s=r.get(n);if(!s)throw Error(`Commit not found for key ${n}`);if(s.parents.length)c=Qe(s),i=Math.max(c,i);else h.push(s);et(s,c)}),c=i,h.forEach((n)=>{tt(n,c,o)}),e.forEach((n)=>{let s=r.get(n);if(s?.parents.length){let g=Ze(s.parents);if(c=D.get(g).y-U,c<=i)i=c;let y=G.get(s.branch).pos,u=c-K;D.set(s.id,{x:y,y:u})}})},"setParallelBTPos"),Je=t((e)=>{let r=we(e.parents.filter((c)=>c!==null));if(!r)throw Error(`Closest parent not found for commit ${e.id}`);let o=D.get(r)?.y;if(o===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return o},"findClosestParentPos"),Qe=t((e)=>Je(e)+U,"calculateCommitPosition"),et=t((e,r)=>{let o=G.get(e.branch);if(!o)throw Error(`Branch not found for commit ${e.id}`);let c=o.pos,i=r+K;return D.set(e.id,{x:c,y:i}),{x:c,y:i}},"setCommitPosition"),tt=t((e,r,o)=>{let c=G.get(e.branch);if(!c)throw Error(`Branch not found for commit ${e.id}`);let i=r+o,h=c.pos;D.set(e.id,{x:h,y:i})},"setRootPosition"),rt=t((e,r,o,c,i,h)=>{let{theme:n}=l(),s=ce.has(n??""),g=ge.has(n??""),y=Ue.has(n??"");if(h===v.HIGHLIGHT)e.append("rect").attr("x",o.x-10+(s?3:0)).attr("y",o.y-10+(s?3:0)).attr("width",s?14:20).attr("height",s?14:20).attr("class",`commit ${r.id} commit-highlight${Z(i,V,g)} ${c}-outer`),e.append("rect").attr("x",o.x-6+(s?2:0)).attr("y",o.y-6+(s?2:0)).attr("width",s?8:12).attr("height",s?8:12).attr("class",`commit ${r.id} commit${Z(i,V,g)} ${c}-inner`);else if(h===v.CHERRY_PICK)e.append("circle").attr("cx",o.x).attr("cy",o.y).attr("r",s?7:10).attr("class",`commit ${r.id} ${c}`),e.append("circle").attr("cx",o.x-3).attr("cy",o.y+2).attr("r",s?2.5:2.75).attr("fill",y?"#000000":"#fff").attr("class",`commit ${r.id} ${c}`),e.append("circle").attr("cx",o.x+3).attr("cy",o.y+2).attr("r",s?2.5:2.75).attr("fill",y?"#000000":"#fff").attr("class",`commit ${r.id} ${c}`),e.append("line").attr("x1",o.x+3).attr("y1",o.y+1).attr("x2",o.x).attr("y2",o.y-5).attr("stroke",y?"#000000":"#fff").attr("class",`commit ${r.id} ${c}`),e.append("line").attr("x1",o.x-3).attr("y1",o.y+1).attr("x2",o.x).attr("y2",o.y-5).attr("stroke",y?"#000000":"#fff").attr("class",`commit ${r.id} ${c}`);else{let u=e.append("circle");if(u.attr("cx",o.x),u.attr("cy",o.y),u.attr("r",s?7:10),u.attr("class",`commit ${r.id} commit${Z(i,V,g)}`),h===v.MERGE){let f=e.append("circle");f.attr("cx",o.x),f.attr("cy",o.y),f.attr("r",s?5:6),f.attr("class",`commit ${c} ${r.id} commit${Z(i,V,g)}`)}if(h===v.REVERSE){let f=e.append("path"),d=s?4:5;f.attr("d",`M ${o.x-d},${o.y-d}L${o.x+d},${o.y+d}M${o.x-d},${o.y+d}L${o.x+d},${o.y-d}`).attr("class",`commit ${c} ${r.id} commit${Z(i,V,g)}`)}}},"drawCommitBullet"),at=t((e,r,o,c,i)=>{if(r.type!==v.CHERRY_PICK&&(r.customId&&r.type===v.MERGE||r.type!==v.MERGE)&&i.showCommitLabel){let h=e.append("g"),n=h.insert("rect").attr("class","commit-label-bkg"),s=h.append("text").attr("x",c).attr("y",o.y+25).attr("class","commit-label").text(r.id),g=s.node()?.getBBox();if(g){if(n.attr("x",o.posWithOffset-g.width/2-z).attr("y",o.y+13.5).attr("width",g.width+2*z).attr("height",g.height+2*z),B==="TB"||B==="BT")n.attr("x",o.x-(g.width+4*q+5)).attr("y",o.y-12),s.attr("x",o.x-(g.width+4*q)).attr("y",o.y+g.height-12);else s.attr("x",o.posWithOffset-g.width/2);if(i.rotateCommitLabel)if(B==="TB"||B==="BT")s.attr("transform","rotate(-45, "+o.x+", "+o.y+")"),n.attr("transform","rotate(-45, "+o.x+", "+o.y+")");else{let y=-7.5-(g.width+10)/25*9.5,u=10+g.width/25*8.5;h.attr("transform","translate("+y+", "+u+") rotate(-45, "+c+", "+o.y+")")}}}},"drawCommitLabel"),ot=t((e,r,o,c)=>{if(r.tags.length>0){let i=0,h=0,n=0,s=[];for(let g of r.tags.reverse()){let y=e.insert("polygon"),u=e.append("circle"),f=e.append("text").attr("y",o.y-16-i).attr("class","tag-label").text(g),d=f.node()?.getBBox();if(!d)throw Error("Tag bbox not found");h=Math.max(h,d.width),n=Math.max(n,d.height),f.attr("x",o.posWithOffset-d.width/2),s.push({tag:f,hole:u,rect:y,yOffset:i}),i+=20}for(let{tag:g,hole:y,rect:u,yOffset:f}of s){let d=n/2,k=o.y-19.2-f;if(u.attr("class","tag-label-bkg").attr("points",`
2
- ${c-h/2-q/2},${k+z}
3
- ${c-h/2-q/2},${k-z}
4
- ${o.posWithOffset-h/2-q},${k-d-z}
5
- ${o.posWithOffset+h/2+q},${k-d-z}
6
- ${o.posWithOffset+h/2+q},${k+d+z}
7
- ${o.posWithOffset-h/2-q},${k+d+z}`),y.attr("cy",k).attr("cx",c-h/2+q/2).attr("r",1.5).attr("class","tag-hole"),B==="TB"||B==="BT"){let w=c+f;u.attr("class","tag-label-bkg").attr("points",`
8
- ${o.x},${w+2}
9
- ${o.x},${w-2}
10
- ${o.x+K},${w-d-2}
11
- ${o.x+K+h+4},${w-d-2}
12
- ${o.x+K+h+4},${w+d+2}
13
- ${o.x+K},${w+d+2}`).attr("transform","translate(12,12) rotate(45, "+o.x+","+c+")"),y.attr("cx",o.x+q/2).attr("cy",w).attr("transform","translate(12,12) rotate(45, "+o.x+","+c+")"),g.attr("x",o.x+5).attr("y",w+3).attr("transform","translate(14,14) rotate(45, "+o.x+","+c+")")}}}},"drawCommitTags"),st=t((e)=>{switch(e.customType??e.type){case v.NORMAL:return"commit-normal";case v.REVERSE:return"commit-reverse";case v.HIGHLIGHT:return"commit-highlight";case v.MERGE:return"commit-merge";case v.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),nt=t((e,r,o,c)=>{let i={x:0,y:0};if(e.parents.length>0){let h=we(e.parents);if(h){let n=c.get(h)??i;if(r==="TB")return n.y+U;else if(r==="BT")return(c.get(e.id)??i).y-U;else return n.x+U}}else if(r==="TB")return oe;else if(r==="BT")return(c.get(e.id)??i).y-U;else return 0;return 0},"calculatePosition"),ct=t((e,r,o)=>{let c=B==="BT"&&o?r:r+K,i=G.get(e.branch)?.pos,h=B==="TB"||B==="BT"?G.get(e.branch)?.pos:c;if(h===void 0||i===void 0)throw Error(`Position were undefined for commit ${e.id}`);let n=ce.has(l().theme??""),s=B==="TB"||B==="BT"?c:i+(n?le/2+1:-2);return{x:h,y:s,posWithOffset:c}},"getCommitPosition"),$e=t((e,r,o,c)=>{let i=e.append("g").attr("class","commit-bullets"),h=e.append("g").attr("class","commit-labels"),n=B==="TB"||B==="BT"?oe:0,s=[...r.keys()],g=c.parallelCommits??!1,y=t((f,d)=>{let k=r.get(f)?.seq,w=r.get(d)?.seq;return k!==void 0&&w!==void 0?k-w:0},"sortKeys"),u=s.sort(y);if(B==="BT"){if(g)Xe(u,r,n);u=u.reverse()}u.forEach((f)=>{let d=r.get(f);if(!d)throw Error(`Commit not found for key ${f}`);if(g)n=nt(d,B,n,D);let k=ct(d,n,g);if(o){let w=st(d),P=d.customType??d.type,O=G.get(d.branch)?.index??0;rt(i,d,k,w,O,P),at(h,d,k,n,c),ot(h,d,k,n)}if(B==="TB"||B==="BT")D.set(d.id,{x:k.x,y:k.posWithOffset});else D.set(d.id,{x:k.posWithOffset,y:k.y});if(n=B==="BT"&&g?n+U:n+U+K,n>Y)Y=n})},"drawCommits"),it=t((e,r,o,c,i)=>{let n=(B==="TB"||B==="BT"?o.x<c.x:o.y<c.y)?r.branch:e.branch,s=t((y)=>y.branch===n,"isOnBranchToGetCurve"),g=t((y)=>y.seq>e.seq&&y.seq<r.seq,"isBetweenCommits");return[...i.values()].some((y)=>g(y)&&s(y))},"shouldRerouteArrow"),re=t((e,r,o=0)=>{let c=e+Math.abs(e-r)/2;if(o>5)return c;if(se.every((n)=>Math.abs(n-c)>=10))return se.push(c),c;let h=Math.abs(e-r);return re(e,r-h/5,o+1)},"findLane"),dt=t((e,r,o,c)=>{let{theme:i}=l(),h=ge.has(i??""),n=D.get(r.id),s=D.get(o.id);if(n===void 0||s===void 0)throw Error(`Commit positions not found for commits ${r.id} and ${o.id}`);let g=it(r,o,n,s,c),y="",u="",f=0,d=0,k=G.get(o.branch)?.index;if(o.type===v.MERGE&&r.id!==o.parents[0])k=G.get(r.branch)?.index;let w;if(g){y="A 10 10, 0, 0, 0,",u="A 10 10, 0, 0, 1,",f=10,d=10;let P=n.y<s.y?re(n.y,s.y):re(s.y,n.y),O=n.x<s.x?re(n.x,s.x):re(s.x,n.x);if(B==="TB")if(n.x<s.x)w=`M ${n.x} ${n.y} L ${O-f} ${n.y} ${u} ${O} ${n.y+d} L ${O} ${s.y-f} ${y} ${O+d} ${s.y} L ${s.x} ${s.y}`;else k=G.get(r.branch)?.index,w=`M ${n.x} ${n.y} L ${O+f} ${n.y} ${y} ${O} ${n.y+d} L ${O} ${s.y-f} ${u} ${O-d} ${s.y} L ${s.x} ${s.y}`;else if(B==="BT")if(n.x<s.x)w=`M ${n.x} ${n.y} L ${O-f} ${n.y} ${y} ${O} ${n.y-d} L ${O} ${s.y+f} ${u} ${O+d} ${s.y} L ${s.x} ${s.y}`;else k=G.get(r.branch)?.index,w=`M ${n.x} ${n.y} L ${O+f} ${n.y} ${u} ${O} ${n.y-d} L ${O} ${s.y+f} ${y} ${O-d} ${s.y} L ${s.x} ${s.y}`;else if(n.y<s.y)w=`M ${n.x} ${n.y} L ${n.x} ${P-f} ${y} ${n.x+d} ${P} L ${s.x-f} ${P} ${u} ${s.x} ${P+d} L ${s.x} ${s.y}`;else k=G.get(r.branch)?.index,w=`M ${n.x} ${n.y} L ${n.x} ${P+f} ${u} ${n.x+d} ${P} L ${s.x-f} ${P} ${y} ${s.x} ${P-d} L ${s.x} ${s.y}`}else if(y="A 20 20, 0, 0, 0,",u="A 20 20, 0, 0, 1,",f=20,d=20,B==="TB"){if(n.x<s.x)if(o.type===v.MERGE&&r.id!==o.parents[0])w=`M ${n.x} ${n.y} L ${n.x} ${s.y-f} ${y} ${n.x+d} ${s.y} L ${s.x} ${s.y}`;else w=`M ${n.x} ${n.y} L ${s.x-f} ${n.y} ${u} ${s.x} ${n.y+d} L ${s.x} ${s.y}`;if(n.x>s.x)if(y="A 20 20, 0, 0, 0,",u="A 20 20, 0, 0, 1,",f=20,d=20,o.type===v.MERGE&&r.id!==o.parents[0])w=`M ${n.x} ${n.y} L ${n.x} ${s.y-f} ${u} ${n.x-d} ${s.y} L ${s.x} ${s.y}`;else w=`M ${n.x} ${n.y} L ${s.x+f} ${n.y} ${y} ${s.x} ${n.y+d} L ${s.x} ${s.y}`;if(n.x===s.x)w=`M ${n.x} ${n.y} L ${s.x} ${s.y}`}else if(B==="BT"){if(n.x<s.x)if(o.type===v.MERGE&&r.id!==o.parents[0])w=`M ${n.x} ${n.y} L ${n.x} ${s.y+f} ${u} ${n.x+d} ${s.y} L ${s.x} ${s.y}`;else w=`M ${n.x} ${n.y} L ${s.x-f} ${n.y} ${y} ${s.x} ${n.y-d} L ${s.x} ${s.y}`;if(n.x>s.x)if(y="A 20 20, 0, 0, 0,",u="A 20 20, 0, 0, 1,",f=20,d=20,o.type===v.MERGE&&r.id!==o.parents[0])w=`M ${n.x} ${n.y} L ${n.x} ${s.y+f} ${y} ${n.x-d} ${s.y} L ${s.x} ${s.y}`;else w=`M ${n.x} ${n.y} L ${s.x+f} ${n.y} ${u} ${s.x} ${n.y-d} L ${s.x} ${s.y}`;if(n.x===s.x)w=`M ${n.x} ${n.y} L ${s.x} ${s.y}`}else{if(n.y<s.y)if(o.type===v.MERGE&&r.id!==o.parents[0])w=`M ${n.x} ${n.y} L ${s.x-f} ${n.y} ${u} ${s.x} ${n.y+d} L ${s.x} ${s.y}`;else w=`M ${n.x} ${n.y} L ${n.x} ${s.y-f} ${y} ${n.x+d} ${s.y} L ${s.x} ${s.y}`;if(n.y>s.y)if(o.type===v.MERGE&&r.id!==o.parents[0])w=`M ${n.x} ${n.y} L ${s.x-f} ${n.y} ${y} ${s.x} ${n.y-d} L ${s.x} ${s.y}`;else w=`M ${n.x} ${n.y} L ${n.x} ${s.y+f} ${u} ${n.x+d} ${s.y} L ${s.x} ${s.y}`;if(n.y===s.y)w=`M ${n.x} ${n.y} L ${s.x} ${s.y}`}if(w===void 0)throw Error("Line definition not found");e.append("path").attr("d",w).attr("class","arrow arrow"+Z(k,V,h))},"drawArrow"),ht=t((e,r)=>{let o=e.append("g").attr("class","commit-arrows");[...r.keys()].forEach((c)=>{let i=r.get(c);if(i.parents&&i.parents.length>0)i.parents.forEach((h)=>{dt(o,r.get(h),i,r)})})},"drawArrows"),lt=t((e,r,o,c)=>{let{look:i,theme:h,themeVariables:n}=l(),{dropShadow:s,THEME_COLOR_LIMIT:g}=n,y=ce.has(h??""),u=ge.has(h??""),f=e.append("g");r.forEach((d,k)=>{let w=Z(k,y?g:V,u),P=G.get(d.name)?.pos;if(P===void 0)throw Error(`Position not found for branch ${d.name}`);let O=B==="TB"||B==="BT"?P:y?P+le/2+1:P-2,I=f.append("line");if(I.attr("x1",0),I.attr("y1",O),I.attr("x2",Y),I.attr("y2",O),I.attr("class","branch branch"+w),B==="TB")I.attr("y1",oe),I.attr("x1",P),I.attr("y2",Y),I.attr("x2",P);else if(B==="BT")I.attr("y1",Y),I.attr("x1",P),I.attr("y2",oe),I.attr("x2",P);se.push(O);let ie=d.name,ee=be(ie),W=f.insert("rect"),F=f.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+w);F.node().appendChild(ee);let _=ee.getBBox(),fe=y?0:4,ae=y?16:0,Q=y?le:0;if(i==="neo")W.attr("data-look","neo");if(W.attr("class","branchLabelBkg label"+w).attr("style",i==="neo"?`filter:${y?`url(#${c}-drop-shadow)`:s}`:"").attr("rx",fe).attr("ry",fe).attr("x",-_.width-4-(o.rotateCommitLabel===!0?30:0)).attr("y",-_.height/2+10).attr("width",_.width+18+ae).attr("height",_.height+4+Q),F.attr("transform","translate("+(-_.width-14-(o.rotateCommitLabel===!0?30:0)+ae/2)+", "+(O-_.height/2-2)+")"),B==="TB"){if(W.attr("x",P-_.width/2-10).attr("y",0),F.attr("transform","translate("+(P-_.width/2-5)+", 0)"),y)W.attr("transform",`translate(${-ae/2-3}, ${-Q-10})`),F.attr("transform","translate("+(P-_.width/2-5)+", "+(-Q*2+7)+")")}else if(B==="BT"){if(W.attr("x",P-_.width/2-10).attr("y",Y),F.attr("transform","translate("+(P-_.width/2-5)+", "+Y+")"),y)W.attr("transform",`translate(${-ae/2-3}, ${Q+10})`),F.attr("transform","translate("+(P-_.width/2-5)+", "+(Y+Q*2+4)+")")}else W.attr("transform","translate(-19, "+(O-12-Q/2)+")")})},"drawBranches"),mt=t(function(e,r,o,c,i){return G.set(e,{pos:r,index:o}),r+=50+(i?40:0)+(B==="TB"||B==="BT"?c.width/2:0),r},"setBranchPosition"),gt=t(function(e,r,o,c){Ve(),a.debug("in gitgraph renderer",e+`
14
- `,"id:",r,o);let i=c.db;if(!i.getConfig){a.error("getConfig method is not available on db");return}let h=i.getConfig(),n=h.rotateCommitLabel??!1;te=i.getCommits();let s=i.getBranchesAsObjArray();B=i.getDirection();let g=p(`[id="${r}"]`),{look:y,theme:u,themeVariables:f}=l(),{useGradient:d,gradientStart:k,gradientStop:w,filterColor:P}=f;if(d){let I=g.append("defs").append("linearGradient").attr("id",r+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");I.append("stop").attr("offset","0%").attr("stop-color",k).attr("stop-opacity",1),I.append("stop").attr("offset","100%").attr("stop-color",w).attr("stop-opacity",1)}if(y==="neo"&&ce.has(u??""))g.append("defs").append("filter").attr("id",r+"-drop-shadow").attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",P);let O=0;if(s.forEach((I,ie)=>{let ee=be(I.name),W=g.append("g"),de=W.insert("g").attr("class","branchLabel"),F=de.insert("g").attr("class","label branch-label");F.node()?.appendChild(ee);let _=ee.getBBox();O=mt(I.name,O,ie,_,n),F.remove(),de.remove(),W.remove()}),$e(g,te,!1,h),h.showBranches)lt(g,s,h,r);ht(g,te),$e(g,te,!0,h),M.insertTitle(g,"gitTitleText",h.titleTopMargin??0,i.getDiagramTitle()),Sr(void 0,g,h.diagramPadding,h.useMaxWidth)},"draw"),ft={draw:gt},Be=8,ke=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),$t=new Set(["redux-color","redux-dark-color"]),pt=new Set(["neo","neo-dark"]),yt=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),xt=new Set(["redux","redux-dark","redux-color","redux-dark-color","neo","neo-dark"]),ut=t((e)=>{let{svgId:r}=e,o="";if(e.useGradient&&r)for(let c=0;c<e.THEME_COLOR_LIMIT;c++)o+=`
15
- .label${c} { fill: ${e.mainBkg}; stroke: url(${r}-gradient); stroke-width: ${e.strokeWidth};}
16
- `;return o},"genGitGraphGradient"),bt=t((e)=>{let r=x(),{theme:o,themeVariables:c}=r,{borderColorArray:i}=c,h=ke.has(o);if(pt.has(o)){let n="";for(let s=0;s<e.THEME_COLOR_LIMIT;s++)if(s===0)n+=`
17
- .branch-label${s} { fill: ${e.nodeBorder};}
18
- .commit${s} { stroke: ${e.nodeBorder}; }
19
- .commit-highlight${s} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
20
- .arrow${s} { stroke: ${e.nodeBorder}; }
21
- .commit-bullets { fill: ${e.nodeBorder}; }
22
- .commit-cherry-pick${s} { stroke: ${e.nodeBorder}; }
23
- ${ut(e)}`;else{let g=s%Be;n+=`
24
- .branch-label${s} { fill: ${e["gitBranchLabel"+g]}; }
25
- .commit${s} { stroke: ${e["git"+g]}; fill: ${e["git"+g]}; }
26
- .commit-highlight${s} { stroke: ${e["gitInv"+g]}; fill: ${e["gitInv"+g]}; }
27
- .arrow${s} { stroke: ${e["git"+g]}; }
28
- `}return n}else if(!$t.has(o)){let n="";for(let s=0;s<e.THEME_COLOR_LIMIT;s++)n+=`
29
- .branch-label${s} { fill: ${e.nodeBorder}; ${h?`font-weight:${e.noteFontWeight}`:""} }
30
- .commit${s} { stroke: ${e.nodeBorder}; }
31
- .commit-highlight${s} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
32
- .label${s} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${h?`font-weight:${e.noteFontWeight}`:""}}
33
- .arrow${s} { stroke: ${e.nodeBorder}; }
34
- .commit-bullets { fill: ${e.nodeBorder}; }
35
- .commit-cherry-pick${s} { stroke: ${e.nodeBorder}; }
36
- `;return n}else{let n="";for(let s=0;s<e.THEME_COLOR_LIMIT;s++)if(s===0)n+=`
37
- .branch-label${s} { fill: ${e.nodeBorder}; ${h?`font-weight:${e.noteFontWeight}`:""} }
38
- .commit${s} { stroke: ${e.nodeBorder}; }
39
- .commit-highlight${s} { stroke: ${e.nodeBorder}; fill: ${e.mainBkg}; }
40
- .label${s} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${h?`font-weight:${e.noteFontWeight}`:""} }
41
- .arrow${s} { stroke: ${e.nodeBorder}; }
42
- .commit-bullets { fill: ${e.nodeBorder}; }
43
- `;else{let g=s%i.length;n+=`
44
- .branch-label${s} { fill: ${e.nodeBorder}; ${h?`font-weight:${e.noteFontWeight}`:""} }
45
- .commit${s} { stroke: ${i[g]}; fill: ${i[g]}; }
46
- .commit-highlight${s} { stroke: ${i[g]}; fill: ${i[g]}; }
47
- .label${s} { fill: ${yt.has(o)?e.mainBkg:i[g]}; stroke: ${i[g]}; stroke-width: ${e.strokeWidth}; }
48
- .arrow${s} { stroke: ${i[g]}; }
49
- `}return n}},"genColor"),wt=t((e)=>`${Array.from({length:e.THEME_COLOR_LIMIT},(r,o)=>o).map((r)=>{let o=r%Be;return`
50
- .branch-label${r} { fill: ${e["gitBranchLabel"+o]}; }
51
- .commit${r} { stroke: ${e["git"+o]}; fill: ${e["git"+o]}; }
52
- .commit-highlight${r} { stroke: ${e["gitInv"+o]}; fill: ${e["gitInv"+o]}; }
53
- .label${r} { fill: ${e["git"+o]}; }
54
- .arrow${r} { stroke: ${e["git"+o]}; }
55
- `}).join(`
56
- `)}`,"normalTheme"),Bt=t((e)=>{let r=x(),{theme:o}=r,c=xt.has(o);return`
57
- .commit-id,
58
- .commit-msg,
59
- .branch-label {
60
- fill: lightgrey;
61
- color: lightgrey;
62
- font-family: 'trebuchet ms', verdana, arial, sans-serif;
63
- font-family: var(--mermaid-font-family);
64
- }
65
-
66
- ${c?bt(e):wt(e)}
67
-
68
- .branch {
69
- stroke-width: ${e.strokeWidth};
70
- stroke: ${e.commitLineColor??e.lineColor};
71
- stroke-dasharray: ${c?"4 2":"2"};
72
- }
73
- .commit-label { font-size: ${e.commitLabelFontSize}; fill: ${c?e.nodeBorder:e.commitLabelColor}; ${c?`font-weight:${e.noteFontWeight};`:""}}
74
- .commit-label-bkg { font-size: ${e.commitLabelFontSize}; fill: ${c?"transparent":e.commitLabelBackground}; opacity: ${c?"":0.5}; }
75
- .tag-label { font-size: ${e.tagLabelFontSize}; fill: ${e.tagLabelColor};}
76
- .tag-label-bkg { fill: ${c?e.mainBkg:e.tagLabelBackground}; stroke: ${c?e.nodeBorder:e.tagLabelBorder}; ${c?`filter:${e.dropShadow}`:""} }
77
- .tag-hole { fill: ${e.textColor}; }
78
-
79
- .commit-merge {
80
- stroke: ${c?e.mainBkg:e.primaryColor};
81
- fill: ${c?e.mainBkg:e.primaryColor};
82
- }
83
- .commit-reverse {
84
- stroke: ${c?e.mainBkg:e.primaryColor};
85
- fill: ${c?e.mainBkg:e.primaryColor};
86
- stroke-width: ${c?e.strokeWidth:3};
87
- }
88
- .commit-highlight-outer {
89
- }
90
- .commit-highlight-inner {
91
- stroke: ${c?e.mainBkg:e.primaryColor};
92
- fill: ${c?e.mainBkg:e.primaryColor};
93
- }
94
-
95
- .arrow {
96
- /* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
97
- stroke-width: ${ke.has(o)?e.strokeWidth:8};
98
- stroke-linecap: round;
99
- fill: none
100
- }
101
- .gitTitleText {
102
- text-anchor: middle;
103
- font-size: 18px;
104
- fill: ${e.textColor};
105
- }
106
- `},"getStyles"),kt=Bt,Ot={parser:Ke,db:ue,renderer:ft,styles:kt};export{Ot as diagram};
@@ -1 +0,0 @@
1
- import{dt}from"./chunk-s0xy00v5.js";export{dt as default};