@bkm016/basalt 0.1.29 → 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 (964) hide show
  1. package/README.md +3 -2
  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-fdgrayj5.js +3 -0
  43. package/chunk-fsekbhqb.js +3 -0
  44. package/chunk-fwcqcecb.js +8 -0
  45. package/chunk-hhwnmhbb.js +2 -0
  46. package/chunk-jm2bn5mq.js +3 -0
  47. package/chunk-jm5j5jfy.js +3 -0
  48. package/chunk-jsvr3s4q.js +5 -0
  49. package/chunk-jwk5a5tk.js +25 -0
  50. package/chunk-khy3j5kp.js +63 -0
  51. package/chunk-mwc59w50.js +31 -0
  52. package/chunk-mypbpphn.js +3 -0
  53. package/chunk-ng5ncy65.js +2 -0
  54. package/chunk-nmvayfq3.js +3 -0
  55. package/chunk-nw4h0wm9.js +2 -0
  56. package/chunk-pxsgm6ff.js +2 -0
  57. package/chunk-r0gsb1qs.js +3 -0
  58. package/chunk-rbfpa63e.js +3 -0
  59. package/chunk-rsrh5dgx.js +2 -0
  60. package/chunk-s2pm97nk.js +286 -0
  61. package/chunk-s6tnmg6x.js +3 -0
  62. package/chunk-se548edt.js +20 -0
  63. package/chunk-tsdeeqb8.js +3 -0
  64. package/chunk-vnv3a6t2.js +3 -0
  65. package/chunk-vrsh8cx1.js +3 -0
  66. package/chunk-vx4v71t4.js +498 -0
  67. package/chunk-w3v8zahw.js +2 -0
  68. package/chunk-w6m8c4vf.js +11 -0
  69. package/chunk-wd7sj5cv.js +2 -0
  70. package/chunk-we8v9wkw.js +9 -0
  71. package/chunk-wvn68m5f.js +4058 -0
  72. package/chunk-x055cas0.js +5 -0
  73. package/chunk-x2ry671h.js +44 -0
  74. package/chunk-x5vrtxkj.js +3 -0
  75. package/chunk-xedzsj31.js +5 -0
  76. package/chunk-xp83v3zm.js +2 -0
  77. package/chunk-ykzm5g1b.js +25 -0
  78. package/chunk-yq2bwebb.js +3 -0
  79. package/chunk-yygcpnwc.js +3 -0
  80. package/chunk-zjf34acb.js +2 -0
  81. package/compiled.js +10 -10
  82. package/package.json +4 -1
  83. package/ui-test-worker.js +24 -24
  84. package/web/chunk-01mrggts.js +1 -0
  85. package/web/chunk-01mrggts.js.br +0 -0
  86. package/web/chunk-01mrggts.js.gz +0 -0
  87. package/web/chunk-0b25tje3.js +1 -0
  88. package/web/chunk-0b25tje3.js.br +0 -0
  89. package/web/chunk-0b25tje3.js.gz +0 -0
  90. package/web/chunk-0g46ww9d.js +1 -0
  91. package/web/chunk-0g46ww9d.js.br +0 -0
  92. package/web/chunk-0g46ww9d.js.gz +0 -0
  93. package/web/chunk-0grg8w51.js +200 -0
  94. package/web/chunk-0grg8w51.js.br +0 -0
  95. package/web/chunk-0grg8w51.js.gz +0 -0
  96. package/web/chunk-0qf3m69c.js +24 -0
  97. package/web/chunk-0qf3m69c.js.br +0 -0
  98. package/web/chunk-0qf3m69c.js.gz +0 -0
  99. package/web/chunk-14yejkcn.js +7 -0
  100. package/web/chunk-14yejkcn.js.br +0 -0
  101. package/web/chunk-14yejkcn.js.gz +0 -0
  102. package/web/chunk-1ffzwm6m.js +106 -0
  103. package/web/chunk-1ffzwm6m.js.br +0 -0
  104. package/web/chunk-1ffzwm6m.js.gz +0 -0
  105. package/web/chunk-1ncaw3hk.js +3 -0
  106. package/web/chunk-1ncaw3hk.js.br +0 -0
  107. package/web/chunk-1ncaw3hk.js.gz +0 -0
  108. package/web/chunk-1x2kh4he.js +1 -0
  109. package/web/chunk-1x2kh4he.js.br +0 -0
  110. package/web/chunk-1x2kh4he.js.gz +0 -0
  111. package/web/chunk-23atmwvk.js +2 -0
  112. package/web/chunk-23atmwvk.js.br +0 -0
  113. package/web/chunk-23atmwvk.js.gz +0 -0
  114. package/web/chunk-2gfgrjy6.js +142 -0
  115. package/web/chunk-2gfgrjy6.js.br +0 -0
  116. package/web/chunk-2gfgrjy6.js.gz +0 -0
  117. package/web/chunk-2ttatv42.js +2 -0
  118. package/web/chunk-2ttatv42.js.br +0 -0
  119. package/web/chunk-2ttatv42.js.gz +0 -0
  120. package/web/chunk-2vqn82nw.js +139 -0
  121. package/web/chunk-2vqn82nw.js.br +0 -0
  122. package/web/chunk-2vqn82nw.js.gz +0 -0
  123. package/web/chunk-2wzvn2ne.js +1 -0
  124. package/web/chunk-2wzvn2ne.js.br +0 -0
  125. package/web/chunk-2wzvn2ne.js.gz +0 -0
  126. package/web/chunk-3at8qbcv.js +89 -0
  127. package/web/chunk-3at8qbcv.js.br +0 -0
  128. package/web/chunk-3at8qbcv.js.gz +0 -0
  129. package/web/chunk-3b97pd97.js +120 -0
  130. package/web/chunk-3b97pd97.js.br +0 -0
  131. package/web/chunk-3b97pd97.js.gz +0 -0
  132. package/web/chunk-3q5j14ah.js +1 -0
  133. package/web/chunk-3q5j14ah.js.br +0 -0
  134. package/web/chunk-3q5j14ah.js.gz +0 -0
  135. package/web/chunk-45xqp3dn.js +1 -0
  136. package/web/chunk-45xqp3dn.js.br +0 -0
  137. package/web/chunk-45xqp3dn.js.gz +0 -0
  138. package/web/chunk-4fdgpye3.js +2 -0
  139. package/web/chunk-4fdgpye3.js.br +0 -0
  140. package/web/chunk-4fdgpye3.js.gz +0 -0
  141. package/web/chunk-4wpvkw6b.js +1141 -0
  142. package/web/chunk-4wpvkw6b.js.br +0 -0
  143. package/web/chunk-4wpvkw6b.js.gz +0 -0
  144. package/web/chunk-51m79xhr.js +2 -0
  145. package/web/chunk-51m79xhr.js.br +2 -0
  146. package/web/chunk-51m79xhr.js.gz +0 -0
  147. package/web/chunk-5c6q7asc.js +1 -0
  148. package/web/chunk-5c6q7asc.js.br +0 -0
  149. package/web/chunk-5c6q7asc.js.gz +0 -0
  150. package/web/chunk-5vbnqhs0.js +38 -0
  151. package/web/chunk-5vbnqhs0.js.br +0 -0
  152. package/web/chunk-5vbnqhs0.js.gz +0 -0
  153. package/web/chunk-688a15p4.js +2 -0
  154. package/web/chunk-688a15p4.js.br +0 -0
  155. package/web/chunk-688a15p4.js.gz +0 -0
  156. package/web/chunk-6f9btq4p.js +1 -0
  157. package/web/chunk-6f9btq4p.js.br +0 -0
  158. package/web/chunk-6f9btq4p.js.gz +0 -0
  159. package/web/chunk-6geede02.js +217 -0
  160. package/web/chunk-6geede02.js.br +0 -0
  161. package/web/chunk-6geede02.js.gz +0 -0
  162. package/web/chunk-6j37ynfq.js +1 -0
  163. package/web/chunk-6j37ynfq.js.br +0 -0
  164. package/web/chunk-6j37ynfq.js.gz +0 -0
  165. package/web/chunk-7j7btfha.js +292 -0
  166. package/web/chunk-7j7btfha.js.br +0 -0
  167. package/web/chunk-7j7btfha.js.gz +0 -0
  168. package/web/chunk-8299qcyc.js +1 -0
  169. package/web/chunk-8299qcyc.js.br +0 -0
  170. package/web/chunk-8299qcyc.js.gz +0 -0
  171. package/web/chunk-8mncz9c6.js +89 -0
  172. package/web/chunk-8mncz9c6.js.br +0 -0
  173. package/web/chunk-8mncz9c6.js.gz +0 -0
  174. package/web/chunk-8pygn7wf.js +1 -0
  175. package/web/chunk-8pygn7wf.js.br +0 -0
  176. package/web/chunk-8pygn7wf.js.gz +0 -0
  177. package/web/chunk-8ye62j8m.js +2 -0
  178. package/web/chunk-8ye62j8m.js.br +3 -0
  179. package/web/chunk-8ye62j8m.js.gz +0 -0
  180. package/web/chunk-982457hh.js +1 -0
  181. package/web/chunk-982457hh.js.br +2 -0
  182. package/web/chunk-982457hh.js.gz +0 -0
  183. package/web/chunk-9f9pp12b.js +1 -0
  184. package/web/chunk-9f9pp12b.js.br +0 -0
  185. package/web/chunk-9f9pp12b.js.gz +0 -0
  186. package/web/chunk-9j7v0e4v.js +2 -0
  187. package/web/chunk-9j7v0e4v.js.br +0 -0
  188. package/web/chunk-9j7v0e4v.js.gz +0 -0
  189. package/web/chunk-9k6d95ab.js +1 -0
  190. package/web/chunk-9k6d95ab.js.br +0 -0
  191. package/web/chunk-9k6d95ab.js.gz +0 -0
  192. package/web/chunk-9z4tf6fd.js +1 -0
  193. package/web/chunk-9z4tf6fd.js.br +0 -0
  194. package/web/chunk-9z4tf6fd.js.gz +0 -0
  195. package/web/chunk-a11ev6ff.js +1 -0
  196. package/web/chunk-a11ev6ff.js.br +0 -0
  197. package/web/chunk-a11ev6ff.js.gz +0 -0
  198. package/web/chunk-ayamka39.js +1 -0
  199. package/web/chunk-ayamka39.js.br +0 -0
  200. package/web/chunk-ayamka39.js.gz +0 -0
  201. package/web/chunk-b6k80wbw.js +1 -0
  202. package/web/chunk-b6k80wbw.js.br +0 -0
  203. package/web/chunk-b6k80wbw.js.gz +0 -0
  204. package/web/chunk-b6w2gmw0.js +2 -0
  205. package/web/chunk-b6w2gmw0.js.br +0 -0
  206. package/web/chunk-b6w2gmw0.js.gz +0 -0
  207. package/web/chunk-ba22js10.js +84 -0
  208. package/web/chunk-ba22js10.js.br +0 -0
  209. package/web/chunk-ba22js10.js.gz +0 -0
  210. package/web/chunk-bq7y294e.js +34 -0
  211. package/web/chunk-bq7y294e.js.br +0 -0
  212. package/web/chunk-bq7y294e.js.gz +0 -0
  213. package/web/chunk-bw9crrb4.js +1 -0
  214. package/web/chunk-bw9crrb4.js.br +0 -0
  215. package/web/chunk-bw9crrb4.js.gz +0 -0
  216. package/web/chunk-c0vc50pd.js +4 -0
  217. package/web/chunk-c0vc50pd.js.br +0 -0
  218. package/web/chunk-c0vc50pd.js.gz +0 -0
  219. package/web/chunk-c2vtzhbs.js +1 -0
  220. package/web/chunk-c2vtzhbs.js.br +0 -0
  221. package/web/chunk-c2vtzhbs.js.gz +0 -0
  222. package/web/chunk-cf9886tj.js +2 -0
  223. package/web/chunk-cf9886tj.js.br +0 -0
  224. package/web/chunk-cf9886tj.js.gz +0 -0
  225. package/web/chunk-cqf4fzk6.js +16 -0
  226. package/web/chunk-cqf4fzk6.js.br +0 -0
  227. package/web/chunk-cqf4fzk6.js.gz +0 -0
  228. package/web/chunk-ct9sq4ka.js +1 -0
  229. package/web/chunk-ct9sq4ka.js.br +0 -0
  230. package/web/chunk-ct9sq4ka.js.gz +0 -0
  231. package/web/chunk-cy60hc6q.js +2 -0
  232. package/web/chunk-cy60hc6q.js.br +0 -0
  233. package/web/chunk-cy60hc6q.js.gz +0 -0
  234. package/web/chunk-cygtgz2r.js +2 -0
  235. package/web/chunk-cygtgz2r.js.br +0 -0
  236. package/web/chunk-cygtgz2r.js.gz +0 -0
  237. package/web/chunk-dgf0f0er.js +214 -0
  238. package/web/chunk-dgf0f0er.js.br +0 -0
  239. package/web/chunk-dgf0f0er.js.gz +0 -0
  240. package/web/chunk-dscn4mpq.js +4 -0
  241. package/web/chunk-dscn4mpq.js.br +0 -0
  242. package/web/chunk-dscn4mpq.js.gz +0 -0
  243. package/web/chunk-e7683p83.js +1 -0
  244. package/web/chunk-e7683p83.js.br +0 -0
  245. package/web/chunk-e7683p83.js.gz +0 -0
  246. package/web/chunk-eanfvatc.js +1 -0
  247. package/web/chunk-eanfvatc.js.br +0 -0
  248. package/web/chunk-eanfvatc.js.gz +0 -0
  249. package/web/chunk-egfn5522.js +1 -0
  250. package/web/chunk-egfn5522.js.br +3 -0
  251. package/web/chunk-egfn5522.js.gz +0 -0
  252. package/web/chunk-ejk5ec5n.js +1 -0
  253. package/web/chunk-ejk5ec5n.js.br +0 -0
  254. package/web/chunk-ejk5ec5n.js.gz +0 -0
  255. package/web/chunk-en5n60qw.js +2 -0
  256. package/web/chunk-en5n60qw.js.br +0 -0
  257. package/web/chunk-en5n60qw.js.gz +0 -0
  258. package/web/chunk-fzffxer1.js +41 -0
  259. package/web/chunk-fzffxer1.js.br +0 -0
  260. package/web/chunk-fzffxer1.js.gz +0 -0
  261. package/web/chunk-g19dt2gr.js +55 -0
  262. package/web/chunk-g19dt2gr.js.br +0 -0
  263. package/web/chunk-g19dt2gr.js.gz +0 -0
  264. package/web/chunk-g6cj4czr.js +2 -0
  265. package/web/chunk-g6cj4czr.js.br +0 -0
  266. package/web/chunk-g6cj4czr.js.gz +0 -0
  267. package/web/chunk-gbv8v3z7.js +78 -0
  268. package/web/chunk-gbv8v3z7.js.br +0 -0
  269. package/web/chunk-gbv8v3z7.js.gz +0 -0
  270. package/web/chunk-h1w081tm.js +12 -0
  271. package/web/chunk-h1w081tm.js.br +0 -0
  272. package/web/chunk-h1w081tm.js.gz +0 -0
  273. package/web/chunk-h47k4j7f.js +1 -0
  274. package/web/chunk-h47k4j7f.js.br +0 -0
  275. package/web/chunk-h47k4j7f.js.gz +0 -0
  276. package/web/chunk-h87t8gsr.js +1 -0
  277. package/web/chunk-h87t8gsr.js.br +0 -0
  278. package/web/chunk-h87t8gsr.js.gz +0 -0
  279. package/web/chunk-haewrbm7.js +1 -0
  280. package/web/chunk-haewrbm7.js.br +0 -0
  281. package/web/chunk-haewrbm7.js.gz +0 -0
  282. package/web/chunk-hahz28y7.js +2 -0
  283. package/web/chunk-hahz28y7.js.br +0 -0
  284. package/web/chunk-hahz28y7.js.gz +0 -0
  285. package/web/chunk-hqz75fkz.js +1 -0
  286. package/web/chunk-hqz75fkz.js.br +0 -0
  287. package/web/chunk-hqz75fkz.js.gz +0 -0
  288. package/web/chunk-hr4fa514.js +2 -0
  289. package/web/chunk-hr4fa514.js.br +0 -0
  290. package/web/chunk-hr4fa514.js.gz +0 -0
  291. package/web/chunk-j7vtqbbc.js +1 -0
  292. package/web/chunk-j7vtqbbc.js.br +0 -0
  293. package/web/chunk-j7vtqbbc.js.gz +0 -0
  294. package/web/chunk-jt33d37t.js +1 -0
  295. package/web/chunk-jt33d37t.js.br +0 -0
  296. package/web/chunk-jt33d37t.js.gz +0 -0
  297. package/web/chunk-k3qt0rx5.js +2 -0
  298. package/web/chunk-k3qt0rx5.js.br +0 -0
  299. package/web/chunk-k3qt0rx5.js.gz +0 -0
  300. package/web/chunk-kgmw7sh4.js +1 -0
  301. package/web/chunk-kgmw7sh4.js.br +0 -0
  302. package/web/chunk-kgmw7sh4.js.gz +0 -0
  303. package/web/chunk-kjvk8prw.js +1 -0
  304. package/web/chunk-kjvk8prw.js.br +0 -0
  305. package/web/chunk-kjvk8prw.js.gz +0 -0
  306. package/web/chunk-kq7snx3t.js +1 -0
  307. package/web/chunk-kq7snx3t.js.br +0 -0
  308. package/web/chunk-kq7snx3t.js.gz +0 -0
  309. package/web/chunk-kvteqhz2.js +1 -0
  310. package/web/chunk-kvteqhz2.js.br +2 -0
  311. package/web/chunk-kvteqhz2.js.gz +0 -0
  312. package/web/chunk-kypct03a.js +169 -0
  313. package/web/chunk-kypct03a.js.br +0 -0
  314. package/web/chunk-kypct03a.js.gz +0 -0
  315. package/web/chunk-m4hz4v80.js +370 -0
  316. package/web/chunk-m4hz4v80.js.br +0 -0
  317. package/web/chunk-m4hz4v80.js.gz +0 -0
  318. package/web/chunk-m5k8jhya.js +40 -0
  319. package/web/chunk-m5k8jhya.js.br +0 -0
  320. package/web/chunk-m5k8jhya.js.gz +0 -0
  321. package/web/chunk-mfsdyw6v.js +2 -0
  322. package/web/chunk-mfsdyw6v.js.br +0 -0
  323. package/web/chunk-mfsdyw6v.js.gz +0 -0
  324. package/web/chunk-mr38k717.js +140 -0
  325. package/web/chunk-mr38k717.js.br +0 -0
  326. package/web/chunk-mr38k717.js.gz +0 -0
  327. package/web/chunk-mtcet6gc.js +2 -0
  328. package/web/chunk-mtcet6gc.js.br +0 -0
  329. package/web/chunk-mtcet6gc.js.gz +0 -0
  330. package/web/chunk-mtfv8gjh.js +291 -0
  331. package/web/chunk-mtfv8gjh.js.br +0 -0
  332. package/web/chunk-mtfv8gjh.js.gz +0 -0
  333. package/web/chunk-nnyjx4ef.js +1 -0
  334. package/web/chunk-nnyjx4ef.js.br +0 -0
  335. package/web/chunk-nnyjx4ef.js.gz +0 -0
  336. package/web/chunk-npn3fk69.js +1 -0
  337. package/web/chunk-npn3fk69.js.br +2 -0
  338. package/web/chunk-npn3fk69.js.gz +0 -0
  339. package/web/chunk-p2gdfpjs.js +2 -0
  340. package/web/chunk-p2gdfpjs.js.br +0 -0
  341. package/web/chunk-p2gdfpjs.js.gz +0 -0
  342. package/web/chunk-q0by2m1w.js +21 -0
  343. package/web/chunk-q0by2m1w.js.br +0 -0
  344. package/web/chunk-q0by2m1w.js.gz +0 -0
  345. package/web/chunk-q5hj3y5k.js +2 -0
  346. package/web/chunk-q5hj3y5k.js.br +0 -0
  347. package/web/chunk-q5hj3y5k.js.gz +0 -0
  348. package/web/chunk-q6k872kv.js +7 -0
  349. package/web/chunk-q6k872kv.js.br +0 -0
  350. package/web/chunk-q6k872kv.js.gz +0 -0
  351. package/web/chunk-q7krdwy7.js +332 -0
  352. package/web/chunk-q7krdwy7.js.br +0 -0
  353. package/web/chunk-q7krdwy7.js.gz +0 -0
  354. package/web/chunk-q7wbksg4.js +1 -0
  355. package/web/chunk-q7wbksg4.js.br +0 -0
  356. package/web/chunk-q7wbksg4.js.gz +0 -0
  357. package/web/chunk-qdxa0c4c.js +1 -0
  358. package/web/chunk-qdxa0c4c.js.br +0 -0
  359. package/web/chunk-qdxa0c4c.js.gz +0 -0
  360. package/web/chunk-r76we294.js +1 -0
  361. package/web/chunk-r76we294.js.br +0 -0
  362. package/web/chunk-r76we294.js.gz +0 -0
  363. package/web/chunk-r9m8jh7x.js +2 -0
  364. package/web/chunk-r9m8jh7x.js.br +0 -0
  365. package/web/chunk-r9m8jh7x.js.gz +0 -0
  366. package/web/chunk-rnhbck1h.js +99 -0
  367. package/web/chunk-rnhbck1h.js.br +0 -0
  368. package/web/chunk-rnhbck1h.js.gz +0 -0
  369. package/web/chunk-rxtzde6n.js +62 -0
  370. package/web/chunk-rxtzde6n.js.br +0 -0
  371. package/web/chunk-rxtzde6n.js.gz +0 -0
  372. package/web/chunk-ryds6qnb.js +2 -0
  373. package/web/chunk-ryds6qnb.js.br +0 -0
  374. package/web/chunk-ryds6qnb.js.gz +0 -0
  375. package/web/chunk-shc8bv2k.js +2 -0
  376. package/web/chunk-shc8bv2k.js.br +0 -0
  377. package/web/chunk-shc8bv2k.js.gz +0 -0
  378. package/web/chunk-stnwzrqv.js +98 -0
  379. package/web/chunk-stnwzrqv.js.br +0 -0
  380. package/web/chunk-stnwzrqv.js.gz +0 -0
  381. package/web/chunk-sy28z9pe.js +2 -0
  382. package/web/chunk-sy28z9pe.js.br +2 -0
  383. package/web/chunk-sy28z9pe.js.gz +0 -0
  384. package/web/chunk-t60hp0qs.js +36 -0
  385. package/web/chunk-t60hp0qs.js.br +0 -0
  386. package/web/chunk-t60hp0qs.js.gz +0 -0
  387. package/web/chunk-t9twwgfe.js +1 -0
  388. package/web/chunk-t9twwgfe.js.br +0 -0
  389. package/web/chunk-t9twwgfe.js.gz +0 -0
  390. package/web/chunk-tbgavq0t.js +2 -0
  391. package/web/chunk-tbgavq0t.js.br +0 -0
  392. package/web/chunk-tbgavq0t.js.gz +0 -0
  393. package/web/chunk-tjma3e4d.js +7 -0
  394. package/web/chunk-tjma3e4d.js.br +0 -0
  395. package/web/chunk-tjma3e4d.js.gz +0 -0
  396. package/web/chunk-tn39vbcz.js +2 -0
  397. package/web/chunk-tn39vbcz.js.br +0 -0
  398. package/web/chunk-tn39vbcz.js.gz +0 -0
  399. package/web/chunk-tv9rz73h.js +30 -0
  400. package/web/chunk-tv9rz73h.js.br +0 -0
  401. package/web/chunk-tv9rz73h.js.gz +0 -0
  402. package/web/chunk-twgzayjk.js +1 -0
  403. package/web/chunk-twgzayjk.js.br +0 -0
  404. package/web/chunk-twgzayjk.js.gz +0 -0
  405. package/web/chunk-tz4w2nh2.js +303 -0
  406. package/web/chunk-tz4w2nh2.js.br +0 -0
  407. package/web/chunk-tz4w2nh2.js.gz +0 -0
  408. package/web/chunk-v0egh6d3.js +1 -0
  409. package/web/chunk-v0egh6d3.js.br +0 -0
  410. package/web/chunk-v0egh6d3.js.gz +0 -0
  411. package/web/chunk-vcawg8d2.js +1 -0
  412. package/web/chunk-vcawg8d2.js.br +0 -0
  413. package/web/chunk-vcawg8d2.js.gz +0 -0
  414. package/web/chunk-vh8s2rek.js +1 -0
  415. package/web/chunk-vh8s2rek.js.br +2 -0
  416. package/web/chunk-vh8s2rek.js.gz +0 -0
  417. package/web/chunk-vns6bpqm.js +2 -0
  418. package/web/chunk-vns6bpqm.js.br +0 -0
  419. package/web/chunk-vns6bpqm.js.gz +0 -0
  420. package/web/chunk-vvbte0a5.css +1 -0
  421. package/web/chunk-vvbte0a5.css.br +0 -0
  422. package/web/chunk-vvbte0a5.css.gz +0 -0
  423. package/web/chunk-vxzw2t1r.js +1 -0
  424. package/web/chunk-vxzw2t1r.js.br +0 -0
  425. package/web/chunk-vxzw2t1r.js.gz +0 -0
  426. package/web/chunk-w40atygt.js +2 -0
  427. package/web/chunk-w40atygt.js.br +0 -0
  428. package/web/chunk-w40atygt.js.gz +0 -0
  429. package/web/chunk-w4bxgcwm.js +1 -0
  430. package/web/chunk-w4bxgcwm.js.br +0 -0
  431. package/web/chunk-w4bxgcwm.js.gz +0 -0
  432. package/web/chunk-w5t00pns.js +70 -0
  433. package/web/chunk-w5t00pns.js.br +0 -0
  434. package/web/chunk-w5t00pns.js.gz +0 -0
  435. package/web/chunk-wpmzdqba.js +324 -0
  436. package/web/chunk-wpmzdqba.js.br +0 -0
  437. package/web/chunk-wpmzdqba.js.gz +0 -0
  438. package/web/chunk-x9mexzav.js +2 -0
  439. package/web/chunk-x9mexzav.js.br +0 -0
  440. package/web/chunk-x9mexzav.js.gz +0 -0
  441. package/web/chunk-xc74f1nj.js +1 -0
  442. package/web/chunk-xc74f1nj.js.br +0 -0
  443. package/web/chunk-xc74f1nj.js.gz +0 -0
  444. package/web/chunk-xs4cyb71.js +1 -0
  445. package/web/chunk-xs4cyb71.js.br +0 -0
  446. package/web/chunk-xs4cyb71.js.gz +0 -0
  447. package/web/chunk-xthg4efe.js +1 -0
  448. package/web/chunk-xthg4efe.js.br +0 -0
  449. package/web/chunk-xthg4efe.js.gz +0 -0
  450. package/web/chunk-y48mj5d7.js +1 -0
  451. package/web/chunk-y48mj5d7.js.br +0 -0
  452. package/web/chunk-y48mj5d7.js.gz +0 -0
  453. package/web/chunk-yet0bbyh.js +1 -0
  454. package/web/chunk-yet0bbyh.js.br +0 -0
  455. package/web/chunk-yet0bbyh.js.gz +0 -0
  456. package/web/chunk-yzcxmqy3.js +1 -0
  457. package/web/chunk-yzcxmqy3.js.br +0 -0
  458. package/web/chunk-yzcxmqy3.js.gz +0 -0
  459. package/web/chunk-z2a9zwwx.js +24 -0
  460. package/web/chunk-z2a9zwwx.js.br +0 -0
  461. package/web/chunk-z2a9zwwx.js.gz +0 -0
  462. package/web/chunk-z8fgdsx5.js +1 -0
  463. package/web/chunk-z8fgdsx5.js.br +0 -0
  464. package/web/chunk-z8fgdsx5.js.gz +0 -0
  465. package/web/chunk-zeyw59b9.js +2 -0
  466. package/web/chunk-zeyw59b9.js.br +0 -0
  467. package/web/chunk-zeyw59b9.js.gz +0 -0
  468. package/web/chunk-zftk5ww7.js +8 -0
  469. package/web/chunk-zftk5ww7.js.br +0 -0
  470. package/web/chunk-zftk5ww7.js.gz +0 -0
  471. package/web/chunk-zmbp3phd.js +2 -0
  472. package/web/chunk-zmbp3phd.js.br +0 -0
  473. package/web/chunk-zmbp3phd.js.gz +0 -0
  474. package/web/chunk-zpxh70dj.js +1 -0
  475. package/web/chunk-zpxh70dj.js.br +0 -0
  476. package/web/chunk-zpxh70dj.js.gz +0 -0
  477. package/web/chunk-zqhdf12s.js +39 -0
  478. package/web/chunk-zqhdf12s.js.br +0 -0
  479. package/web/chunk-zqhdf12s.js.gz +0 -0
  480. package/web/chunk-zr2xst5w.js +1 -0
  481. package/web/chunk-zr2xst5w.js.br +0 -0
  482. package/web/chunk-zr2xst5w.js.gz +0 -0
  483. package/web/index.html +27 -2
  484. package/web/index.html.br +0 -0
  485. package/web/index.html.gz +0 -0
  486. package/web/sw.js +39 -24
  487. package/web/sw.js.br +0 -0
  488. package/web/sw.js.gz +0 -0
  489. package/worker.js +1 -1
  490. package/chunk-01fz0kzx.js +0 -2
  491. package/chunk-06k5mcmy.js +0 -4018
  492. package/chunk-14pg1g7b.js +0 -2
  493. package/chunk-1cvzbvsq.js +0 -2
  494. package/chunk-1pgj58dw.js +0 -20
  495. package/chunk-200cn72d.js +0 -16
  496. package/chunk-2nd8hvf3.js +0 -31
  497. package/chunk-39wsmkd7.js +0 -4
  498. package/chunk-54qc1d5t.js +0 -2
  499. package/chunk-59enxka6.js +0 -50
  500. package/chunk-5fs3331q.js +0 -3
  501. package/chunk-674kjaqz.js +0 -2
  502. package/chunk-6pqsx156.js +0 -12
  503. package/chunk-6rw1ex78.js +0 -2
  504. package/chunk-6vz0znf6.js +0 -8
  505. package/chunk-73z1fv3d.js +0 -9
  506. package/chunk-7dnq7g8f.js +0 -3
  507. package/chunk-7emc0sy7.js +0 -11
  508. package/chunk-7nsrfrmx.js +0 -2
  509. package/chunk-8hxsap9d.js +0 -5
  510. package/chunk-8kmtns4v.js +0 -5
  511. package/chunk-9dy56agy.js +0 -51
  512. package/chunk-9mt2k1a7.js +0 -5
  513. package/chunk-9sq7yxh7.js +0 -12
  514. package/chunk-9x1yprjh.js +0 -2
  515. package/chunk-a5k24aj6.js +0 -3
  516. package/chunk-ades3qy7.js +0 -10
  517. package/chunk-ag642nqs.js +0 -8
  518. package/chunk-aq6xkc1w.js +0 -3
  519. package/chunk-av3zmcd8.js +0 -3
  520. package/chunk-b1hdfsj4.js +0 -25
  521. package/chunk-b5448t3j.js +0 -2
  522. package/chunk-b6rvzkxg.js +0 -3
  523. package/chunk-b8acka7e.js +0 -2
  524. package/chunk-bh680te4.js +0 -2
  525. package/chunk-cb4rvanv.js +0 -2
  526. package/chunk-d6hcvbkh.js +0 -3
  527. package/chunk-dqxks09b.js +0 -3
  528. package/chunk-eg161ep9.js +0 -3
  529. package/chunk-et2s8y6a.js +0 -3
  530. package/chunk-exjytvzn.js +0 -2
  531. package/chunk-f6kg68bj.js +0 -3
  532. package/chunk-fcxdq1dy.js +0 -7
  533. package/chunk-fkjjadt4.js +0 -3
  534. package/chunk-fr1zvytp.js +0 -7
  535. package/chunk-fx3cc8nr.js +0 -3
  536. package/chunk-j01t6mnq.js +0 -3
  537. package/chunk-j24fq8ss.js +0 -2
  538. package/chunk-j55tyjct.js +0 -2
  539. package/chunk-jn0dhvkp.js +0 -2
  540. package/chunk-k9dw37w2.js +0 -3
  541. package/chunk-m6bm0739.js +0 -2
  542. package/chunk-mkfdzt82.js +0 -2
  543. package/chunk-nbm1tqvg.js +0 -3
  544. package/chunk-p5ga5as0.js +0 -25
  545. package/chunk-pmefr1ak.js +0 -490
  546. package/chunk-rf6t7zeb.js +0 -286
  547. package/chunk-s0ne3yb9.js +0 -2
  548. package/chunk-s8ybq82n.js +0 -5
  549. package/chunk-spv39wem.js +0 -7
  550. package/chunk-stgqqm7m.js +0 -59
  551. package/chunk-sykaz5bf.js +0 -18
  552. package/chunk-sz0jywpb.js +0 -39
  553. package/chunk-vcngwaee.js +0 -3
  554. package/chunk-vpvznxf4.js +0 -3
  555. package/chunk-vzh6e5f2.js +0 -2
  556. package/chunk-wkvrtjtc.js +0 -2
  557. package/chunk-wzd9b2qk.js +0 -2
  558. package/chunk-x1cva1gc.js +0 -2
  559. package/chunk-x83jcg3x.js +0 -3
  560. package/chunk-xdyee71m.js +0 -10
  561. package/chunk-xdygdssk.js +0 -3
  562. package/chunk-xjcg6cxc.js +0 -3
  563. package/chunk-xran6f0c.js +0 -2
  564. package/chunk-ymn1s2xs.js +0 -3
  565. package/chunk-ysqx0ye8.js +0 -2
  566. package/chunk-z58jafcm.js +0 -3
  567. package/chunk-zf1c6rj7.js +0 -63
  568. package/chunk-zgtahh10.js +0 -44
  569. package/web/chunk-0nt1mz09.js +0 -1
  570. package/web/chunk-0nt1mz09.js.br +0 -0
  571. package/web/chunk-0nt1mz09.js.gz +0 -0
  572. package/web/chunk-0yye7ex1.js +0 -1
  573. package/web/chunk-0yye7ex1.js.br +0 -0
  574. package/web/chunk-0yye7ex1.js.gz +0 -0
  575. package/web/chunk-1hmw1eaw.js +0 -1
  576. package/web/chunk-1hmw1eaw.js.br +0 -0
  577. package/web/chunk-1hmw1eaw.js.gz +0 -0
  578. package/web/chunk-20gcnbgn.js +0 -2
  579. package/web/chunk-20gcnbgn.js.br +0 -0
  580. package/web/chunk-20gcnbgn.js.gz +0 -0
  581. package/web/chunk-2nwvdqxm.js +0 -1
  582. package/web/chunk-2nwvdqxm.js.br +0 -0
  583. package/web/chunk-2nwvdqxm.js.gz +0 -0
  584. package/web/chunk-2wvgy7f4.js +0 -1
  585. package/web/chunk-2wvgy7f4.js.br +0 -0
  586. package/web/chunk-2wvgy7f4.js.gz +0 -0
  587. package/web/chunk-368znnfs.js +0 -1
  588. package/web/chunk-368znnfs.js.br +0 -0
  589. package/web/chunk-368znnfs.js.gz +0 -0
  590. package/web/chunk-3tx9tqfb.js +0 -291
  591. package/web/chunk-3tx9tqfb.js.br +0 -0
  592. package/web/chunk-3tx9tqfb.js.gz +0 -0
  593. package/web/chunk-414npx47.js +0 -1
  594. package/web/chunk-414npx47.js.br +0 -0
  595. package/web/chunk-414npx47.js.gz +0 -0
  596. package/web/chunk-46ht4dh6.js +0 -24
  597. package/web/chunk-46ht4dh6.js.br +0 -0
  598. package/web/chunk-46ht4dh6.js.gz +0 -0
  599. package/web/chunk-4c418rk9.js +0 -1
  600. package/web/chunk-4c418rk9.js.br +0 -2
  601. package/web/chunk-4c418rk9.js.gz +0 -0
  602. package/web/chunk-4p0sm8e7.js +0 -7
  603. package/web/chunk-4p0sm8e7.js.br +0 -0
  604. package/web/chunk-4p0sm8e7.js.gz +0 -0
  605. package/web/chunk-4zam960g.js +0 -1
  606. package/web/chunk-4zam960g.js.br +0 -0
  607. package/web/chunk-4zam960g.js.gz +0 -0
  608. package/web/chunk-5h63t21g.js +0 -1
  609. package/web/chunk-5h63t21g.js.br +0 -0
  610. package/web/chunk-5h63t21g.js.gz +0 -0
  611. package/web/chunk-5h7xm5mn.js +0 -1
  612. package/web/chunk-5h7xm5mn.js.br +0 -0
  613. package/web/chunk-5h7xm5mn.js.gz +0 -0
  614. package/web/chunk-6crex674.js +0 -89
  615. package/web/chunk-6crex674.js.br +0 -0
  616. package/web/chunk-6crex674.js.gz +0 -0
  617. package/web/chunk-6v031vc6.js +0 -21
  618. package/web/chunk-6v031vc6.js.br +0 -0
  619. package/web/chunk-6v031vc6.js.gz +0 -0
  620. package/web/chunk-782gfmtk.js +0 -38
  621. package/web/chunk-782gfmtk.js.br +0 -0
  622. package/web/chunk-782gfmtk.js.gz +0 -0
  623. package/web/chunk-7a6szg06.js +0 -2
  624. package/web/chunk-7a6szg06.js.br +0 -0
  625. package/web/chunk-7a6szg06.js.gz +0 -0
  626. package/web/chunk-7dvbxn34.js +0 -4
  627. package/web/chunk-7dvbxn34.js.br +0 -0
  628. package/web/chunk-7dvbxn34.js.gz +0 -0
  629. package/web/chunk-7g795nba.js +0 -1
  630. package/web/chunk-7g795nba.js.br +0 -2
  631. package/web/chunk-7g795nba.js.gz +0 -0
  632. package/web/chunk-8fymhvne.js +0 -1
  633. package/web/chunk-8fymhvne.js.br +0 -0
  634. package/web/chunk-8fymhvne.js.gz +0 -0
  635. package/web/chunk-8kcp1h63.js +0 -1
  636. package/web/chunk-8kcp1h63.js.br +0 -0
  637. package/web/chunk-8kcp1h63.js.gz +0 -0
  638. package/web/chunk-8vtr60yn.js +0 -2
  639. package/web/chunk-8vtr60yn.js.br +0 -0
  640. package/web/chunk-8vtr60yn.js.gz +0 -0
  641. package/web/chunk-8y14zggg.js +0 -2
  642. package/web/chunk-8y14zggg.js.br +0 -0
  643. package/web/chunk-8y14zggg.js.gz +0 -0
  644. package/web/chunk-8zg840m3.js +0 -1
  645. package/web/chunk-8zg840m3.js.br +0 -0
  646. package/web/chunk-8zg840m3.js.gz +0 -0
  647. package/web/chunk-940sc4ny.js +0 -7
  648. package/web/chunk-940sc4ny.js.br +0 -0
  649. package/web/chunk-940sc4ny.js.gz +0 -0
  650. package/web/chunk-94f4sz0m.js +0 -1
  651. package/web/chunk-94f4sz0m.js.br +0 -0
  652. package/web/chunk-94f4sz0m.js.gz +0 -0
  653. package/web/chunk-94jy9s3n.js +0 -55
  654. package/web/chunk-94jy9s3n.js.br +0 -0
  655. package/web/chunk-94jy9s3n.js.gz +0 -0
  656. package/web/chunk-97qfkg6n.js +0 -30
  657. package/web/chunk-97qfkg6n.js.br +0 -0
  658. package/web/chunk-97qfkg6n.js.gz +0 -0
  659. package/web/chunk-99c0h3v7.js +0 -1
  660. package/web/chunk-99c0h3v7.js.br +0 -0
  661. package/web/chunk-99c0h3v7.js.gz +0 -0
  662. package/web/chunk-99mgkmjb.js +0 -62
  663. package/web/chunk-99mgkmjb.js.br +0 -0
  664. package/web/chunk-99mgkmjb.js.gz +0 -0
  665. package/web/chunk-9afn27bs.js +0 -1
  666. package/web/chunk-9afn27bs.js.br +0 -2
  667. package/web/chunk-9afn27bs.js.gz +0 -0
  668. package/web/chunk-aan5qk6x.js +0 -1
  669. package/web/chunk-aan5qk6x.js.br +0 -0
  670. package/web/chunk-aan5qk6x.js.gz +0 -0
  671. package/web/chunk-aw4h94zp.js +0 -1
  672. package/web/chunk-aw4h94zp.js.br +0 -0
  673. package/web/chunk-aw4h94zp.js.gz +0 -0
  674. package/web/chunk-azdhgj11.js +0 -40
  675. package/web/chunk-azdhgj11.js.br +0 -0
  676. package/web/chunk-azdhgj11.js.gz +0 -0
  677. package/web/chunk-batey85v.js +0 -2
  678. package/web/chunk-batey85v.js.br +0 -0
  679. package/web/chunk-batey85v.js.gz +0 -0
  680. package/web/chunk-brbxfap5.js +0 -99
  681. package/web/chunk-brbxfap5.js.br +0 -0
  682. package/web/chunk-brbxfap5.js.gz +0 -0
  683. package/web/chunk-bxc8a663.js +0 -2
  684. package/web/chunk-bxc8a663.js.br +0 -0
  685. package/web/chunk-bxc8a663.js.gz +0 -0
  686. package/web/chunk-c2t7zyge.js +0 -169
  687. package/web/chunk-c2t7zyge.js.br +0 -0
  688. package/web/chunk-c2t7zyge.js.gz +0 -0
  689. package/web/chunk-c5bfa3rp.js +0 -1
  690. package/web/chunk-c5bfa3rp.js.br +0 -0
  691. package/web/chunk-c5bfa3rp.js.gz +0 -0
  692. package/web/chunk-c86a6am5.js +0 -2
  693. package/web/chunk-c86a6am5.js.br +0 -3
  694. package/web/chunk-c86a6am5.js.gz +0 -0
  695. package/web/chunk-d5n2yz4e.js +0 -2
  696. package/web/chunk-d5n2yz4e.js.br +0 -0
  697. package/web/chunk-d5n2yz4e.js.gz +0 -0
  698. package/web/chunk-dgtp38mj.js +0 -1
  699. package/web/chunk-dgtp38mj.js.br +0 -0
  700. package/web/chunk-dgtp38mj.js.gz +0 -0
  701. package/web/chunk-e4cwyn1g.js +0 -2
  702. package/web/chunk-e4cwyn1g.js.br +0 -0
  703. package/web/chunk-e4cwyn1g.js.gz +0 -0
  704. package/web/chunk-e4h4dg4y.js +0 -303
  705. package/web/chunk-e4h4dg4y.js.br +0 -0
  706. package/web/chunk-e4h4dg4y.js.gz +0 -0
  707. package/web/chunk-e5f8e2ta.js +0 -1
  708. package/web/chunk-e5f8e2ta.js.br +0 -0
  709. package/web/chunk-e5f8e2ta.js.gz +0 -0
  710. package/web/chunk-e7rwnv7e.js +0 -1
  711. package/web/chunk-e7rwnv7e.js.br +0 -0
  712. package/web/chunk-e7rwnv7e.js.gz +0 -0
  713. package/web/chunk-ef9tqrz4.js +0 -324
  714. package/web/chunk-ef9tqrz4.js.br +0 -0
  715. package/web/chunk-ef9tqrz4.js.gz +0 -0
  716. package/web/chunk-efjc9mga.js +0 -2
  717. package/web/chunk-efjc9mga.js.br +0 -0
  718. package/web/chunk-efjc9mga.js.gz +0 -0
  719. package/web/chunk-ekcnhcm0.js +0 -1
  720. package/web/chunk-ekcnhcm0.js.br +0 -0
  721. package/web/chunk-ekcnhcm0.js.gz +0 -0
  722. package/web/chunk-ekkdhece.js +0 -41
  723. package/web/chunk-ekkdhece.js.br +0 -0
  724. package/web/chunk-ekkdhece.js.gz +0 -0
  725. package/web/chunk-enbqe508.js +0 -36
  726. package/web/chunk-enbqe508.js.br +0 -0
  727. package/web/chunk-enbqe508.js.gz +0 -0
  728. package/web/chunk-ev517x0c.js +0 -1
  729. package/web/chunk-ev517x0c.js.br +0 -0
  730. package/web/chunk-ev517x0c.js.gz +0 -0
  731. package/web/chunk-ex47jeev.js +0 -1
  732. package/web/chunk-ex47jeev.js.br +0 -0
  733. package/web/chunk-ex47jeev.js.gz +0 -0
  734. package/web/chunk-f5wyg9zh.js +0 -2
  735. package/web/chunk-f5wyg9zh.js.br +0 -0
  736. package/web/chunk-f5wyg9zh.js.gz +0 -0
  737. package/web/chunk-ft9p7cr8.js +0 -8
  738. package/web/chunk-ft9p7cr8.js.br +0 -0
  739. package/web/chunk-ft9p7cr8.js.gz +0 -0
  740. package/web/chunk-ftdzs90e.js +0 -1
  741. package/web/chunk-ftdzs90e.js.br +0 -0
  742. package/web/chunk-ftdzs90e.js.gz +0 -0
  743. package/web/chunk-fybmc8p1.js +0 -1
  744. package/web/chunk-fybmc8p1.js.br +0 -0
  745. package/web/chunk-fybmc8p1.js.gz +0 -0
  746. package/web/chunk-g6e50kx0.js +0 -3
  747. package/web/chunk-g6e50kx0.js.br +0 -0
  748. package/web/chunk-g6e50kx0.js.gz +0 -0
  749. package/web/chunk-g6grehr5.css +0 -1
  750. package/web/chunk-g6grehr5.css.br +0 -0
  751. package/web/chunk-g6grehr5.css.gz +0 -0
  752. package/web/chunk-gbzfq3rg.js +0 -332
  753. package/web/chunk-gbzfq3rg.js.br +0 -0
  754. package/web/chunk-gbzfq3rg.js.gz +0 -0
  755. package/web/chunk-gsg8yq3m.js +0 -1
  756. package/web/chunk-gsg8yq3m.js.br +0 -0
  757. package/web/chunk-gsg8yq3m.js.gz +0 -0
  758. package/web/chunk-gvndjaan.js +0 -2
  759. package/web/chunk-gvndjaan.js.br +0 -0
  760. package/web/chunk-gvndjaan.js.gz +0 -0
  761. package/web/chunk-hgcgbxns.js +0 -1
  762. package/web/chunk-hgcgbxns.js.br +0 -0
  763. package/web/chunk-hgcgbxns.js.gz +0 -0
  764. package/web/chunk-hh8ck7sy.js +0 -2
  765. package/web/chunk-hh8ck7sy.js.br +0 -0
  766. package/web/chunk-hh8ck7sy.js.gz +0 -0
  767. package/web/chunk-hj18pw9f.js +0 -2
  768. package/web/chunk-hj18pw9f.js.br +0 -0
  769. package/web/chunk-hj18pw9f.js.gz +0 -0
  770. package/web/chunk-hk4jd2qq.js +0 -24
  771. package/web/chunk-hk4jd2qq.js.br +0 -0
  772. package/web/chunk-hk4jd2qq.js.gz +0 -0
  773. package/web/chunk-hrnx1576.js +0 -4
  774. package/web/chunk-hrnx1576.js.br +0 -0
  775. package/web/chunk-hrnx1576.js.gz +0 -0
  776. package/web/chunk-hzvff525.js +0 -2
  777. package/web/chunk-hzvff525.js.br +0 -0
  778. package/web/chunk-hzvff525.js.gz +0 -0
  779. package/web/chunk-j0ns5dyq.js +0 -120
  780. package/web/chunk-j0ns5dyq.js.br +0 -0
  781. package/web/chunk-j0ns5dyq.js.gz +0 -0
  782. package/web/chunk-j21a7pd1.js +0 -1
  783. package/web/chunk-j21a7pd1.js.br +0 -0
  784. package/web/chunk-j21a7pd1.js.gz +0 -0
  785. package/web/chunk-jbejy8k3.js +0 -1139
  786. package/web/chunk-jbejy8k3.js.br +0 -0
  787. package/web/chunk-jbejy8k3.js.gz +0 -0
  788. package/web/chunk-jeq99z4t.js +0 -70
  789. package/web/chunk-jeq99z4t.js.br +0 -0
  790. package/web/chunk-jeq99z4t.js.gz +0 -0
  791. package/web/chunk-jqq07zta.js +0 -1
  792. package/web/chunk-jqq07zta.js.br +0 -0
  793. package/web/chunk-jqq07zta.js.gz +0 -0
  794. package/web/chunk-k6m37v6k.js +0 -1
  795. package/web/chunk-k6m37v6k.js.br +0 -0
  796. package/web/chunk-k6m37v6k.js.gz +0 -0
  797. package/web/chunk-kajk2w5j.js +0 -217
  798. package/web/chunk-kajk2w5j.js.br +0 -0
  799. package/web/chunk-kajk2w5j.js.gz +0 -0
  800. package/web/chunk-kcrypnnf.js +0 -1
  801. package/web/chunk-kcrypnnf.js.br +0 -0
  802. package/web/chunk-kcrypnnf.js.gz +0 -0
  803. package/web/chunk-kyksv8an.js +0 -1
  804. package/web/chunk-kyksv8an.js.br +0 -2
  805. package/web/chunk-kyksv8an.js.gz +0 -0
  806. package/web/chunk-mkhcq6z6.js +0 -1
  807. package/web/chunk-mkhcq6z6.js.br +0 -0
  808. package/web/chunk-mkhcq6z6.js.gz +0 -0
  809. package/web/chunk-mqdvg55y.js +0 -2
  810. package/web/chunk-mqdvg55y.js.br +0 -0
  811. package/web/chunk-mqdvg55y.js.gz +0 -0
  812. package/web/chunk-mytypet0.js +0 -2
  813. package/web/chunk-mytypet0.js.br +0 -0
  814. package/web/chunk-mytypet0.js.gz +0 -0
  815. package/web/chunk-mzb086jr.js +0 -1
  816. package/web/chunk-mzb086jr.js.br +0 -0
  817. package/web/chunk-mzb086jr.js.gz +0 -0
  818. package/web/chunk-mzevfdmp.js +0 -1
  819. package/web/chunk-mzevfdmp.js.br +0 -0
  820. package/web/chunk-mzevfdmp.js.gz +0 -0
  821. package/web/chunk-n7c5sndg.js +0 -1
  822. package/web/chunk-n7c5sndg.js.br +0 -0
  823. package/web/chunk-n7c5sndg.js.gz +0 -0
  824. package/web/chunk-ned200k0.js +0 -84
  825. package/web/chunk-ned200k0.js.br +0 -0
  826. package/web/chunk-ned200k0.js.gz +0 -0
  827. package/web/chunk-ngcd5a3c.js +0 -1
  828. package/web/chunk-ngcd5a3c.js.br +0 -0
  829. package/web/chunk-ngcd5a3c.js.gz +0 -0
  830. package/web/chunk-ngsv0xfb.js +0 -1
  831. package/web/chunk-ngsv0xfb.js.br +0 -0
  832. package/web/chunk-ngsv0xfb.js.gz +0 -0
  833. package/web/chunk-nx14h1a6.js +0 -1
  834. package/web/chunk-nx14h1a6.js.br +0 -0
  835. package/web/chunk-nx14h1a6.js.gz +0 -0
  836. package/web/chunk-p3fv7nbz.js +0 -1
  837. package/web/chunk-p3fv7nbz.js.br +0 -0
  838. package/web/chunk-p3fv7nbz.js.gz +0 -0
  839. package/web/chunk-pktgtyf6.js +0 -1
  840. package/web/chunk-pktgtyf6.js.br +0 -0
  841. package/web/chunk-pktgtyf6.js.gz +0 -0
  842. package/web/chunk-pm504vps.js +0 -89
  843. package/web/chunk-pm504vps.js.br +0 -0
  844. package/web/chunk-pm504vps.js.gz +0 -0
  845. package/web/chunk-pnvkphs0.js +0 -12
  846. package/web/chunk-pnvkphs0.js.br +0 -0
  847. package/web/chunk-pnvkphs0.js.gz +0 -0
  848. package/web/chunk-ptvshaa0.js +0 -2
  849. package/web/chunk-ptvshaa0.js.br +0 -0
  850. package/web/chunk-ptvshaa0.js.gz +0 -0
  851. package/web/chunk-py4737sc.js +0 -39
  852. package/web/chunk-py4737sc.js.br +0 -0
  853. package/web/chunk-py4737sc.js.gz +0 -0
  854. package/web/chunk-pz5wcbdv.js +0 -139
  855. package/web/chunk-pz5wcbdv.js.br +0 -0
  856. package/web/chunk-pz5wcbdv.js.gz +0 -0
  857. package/web/chunk-q467b529.js +0 -1
  858. package/web/chunk-q467b529.js.br +0 -0
  859. package/web/chunk-q467b529.js.gz +0 -0
  860. package/web/chunk-qbvbfpx8.js +0 -1
  861. package/web/chunk-qbvbfpx8.js.br +0 -0
  862. package/web/chunk-qbvbfpx8.js.gz +0 -0
  863. package/web/chunk-qgfc4ptt.js +0 -7
  864. package/web/chunk-qgfc4ptt.js.br +0 -0
  865. package/web/chunk-qgfc4ptt.js.gz +0 -0
  866. package/web/chunk-qmmss130.js +0 -2
  867. package/web/chunk-qmmss130.js.br +0 -0
  868. package/web/chunk-qmmss130.js.gz +0 -0
  869. package/web/chunk-qqrzr444.js +0 -2
  870. package/web/chunk-qqrzr444.js.br +0 -0
  871. package/web/chunk-qqrzr444.js.gz +0 -0
  872. package/web/chunk-r2fjprkk.js +0 -1
  873. package/web/chunk-r2fjprkk.js.br +0 -0
  874. package/web/chunk-r2fjprkk.js.gz +0 -0
  875. package/web/chunk-rcn21n5e.js +0 -214
  876. package/web/chunk-rcn21n5e.js.br +0 -0
  877. package/web/chunk-rcn21n5e.js.gz +0 -0
  878. package/web/chunk-rj1rp0tc.js +0 -1
  879. package/web/chunk-rj1rp0tc.js.br +0 -0
  880. package/web/chunk-rj1rp0tc.js.gz +0 -0
  881. package/web/chunk-rpnw9xwe.js +0 -1
  882. package/web/chunk-rpnw9xwe.js.br +0 -0
  883. package/web/chunk-rpnw9xwe.js.gz +0 -0
  884. package/web/chunk-rv5h4d8w.js +0 -1
  885. package/web/chunk-rv5h4d8w.js.br +0 -0
  886. package/web/chunk-rv5h4d8w.js.gz +0 -0
  887. package/web/chunk-s00gxcxn.js +0 -2
  888. package/web/chunk-s00gxcxn.js.br +0 -0
  889. package/web/chunk-s00gxcxn.js.gz +0 -0
  890. package/web/chunk-s8e8gzvn.js +0 -16
  891. package/web/chunk-s8e8gzvn.js.br +0 -0
  892. package/web/chunk-s8e8gzvn.js.gz +0 -0
  893. package/web/chunk-sa57mndb.js +0 -1
  894. package/web/chunk-sa57mndb.js.br +0 -0
  895. package/web/chunk-sa57mndb.js.gz +0 -0
  896. package/web/chunk-sc90h9bd.js +0 -2
  897. package/web/chunk-sc90h9bd.js.br +0 -0
  898. package/web/chunk-sc90h9bd.js.gz +0 -0
  899. package/web/chunk-t44qa4yt.js +0 -200
  900. package/web/chunk-t44qa4yt.js.br +0 -0
  901. package/web/chunk-t44qa4yt.js.gz +0 -0
  902. package/web/chunk-t8b8cdak.js +0 -2
  903. package/web/chunk-t8b8cdak.js.br +0 -0
  904. package/web/chunk-t8b8cdak.js.gz +0 -0
  905. package/web/chunk-t9cgbcf2.js +0 -1
  906. package/web/chunk-t9cgbcf2.js.br +0 -0
  907. package/web/chunk-t9cgbcf2.js.gz +0 -0
  908. package/web/chunk-tk8kf0bf.js +0 -2
  909. package/web/chunk-tk8kf0bf.js.br +0 -0
  910. package/web/chunk-tk8kf0bf.js.gz +0 -0
  911. package/web/chunk-tntwwpyh.js +0 -2
  912. package/web/chunk-tntwwpyh.js.br +0 -0
  913. package/web/chunk-tntwwpyh.js.gz +0 -0
  914. package/web/chunk-tt3v857c.js +0 -106
  915. package/web/chunk-tt3v857c.js.br +0 -0
  916. package/web/chunk-tt3v857c.js.gz +0 -0
  917. package/web/chunk-vjnmqaam.js +0 -2
  918. package/web/chunk-vjnmqaam.js.br +0 -0
  919. package/web/chunk-vjnmqaam.js.gz +0 -0
  920. package/web/chunk-vndrjeyr.js +0 -2
  921. package/web/chunk-vndrjeyr.js.br +0 -0
  922. package/web/chunk-vndrjeyr.js.gz +0 -0
  923. package/web/chunk-vp5qf59s.js +0 -1
  924. package/web/chunk-vp5qf59s.js.br +0 -0
  925. package/web/chunk-vp5qf59s.js.gz +0 -0
  926. package/web/chunk-wdd9pasx.js +0 -1
  927. package/web/chunk-wdd9pasx.js.br +0 -0
  928. package/web/chunk-wdd9pasx.js.gz +0 -0
  929. package/web/chunk-wrax5wt5.js +0 -292
  930. package/web/chunk-wrax5wt5.js.br +0 -0
  931. package/web/chunk-wrax5wt5.js.gz +0 -0
  932. package/web/chunk-yarejzzs.js +0 -142
  933. package/web/chunk-yarejzzs.js.br +0 -0
  934. package/web/chunk-yarejzzs.js.gz +0 -0
  935. package/web/chunk-yg6ys554.js +0 -1
  936. package/web/chunk-yg6ys554.js.br +0 -0
  937. package/web/chunk-yg6ys554.js.gz +0 -0
  938. package/web/chunk-yq6xkb5w.js +0 -370
  939. package/web/chunk-yq6xkb5w.js.br +0 -0
  940. package/web/chunk-yq6xkb5w.js.gz +0 -0
  941. package/web/chunk-yw98mr7e.js +0 -2
  942. package/web/chunk-yw98mr7e.js.br +0 -0
  943. package/web/chunk-yw98mr7e.js.gz +0 -0
  944. package/web/chunk-z07kf12w.js +0 -78
  945. package/web/chunk-z07kf12w.js.br +0 -0
  946. package/web/chunk-z07kf12w.js.gz +0 -0
  947. package/web/chunk-z5sk390b.js +0 -2
  948. package/web/chunk-z5sk390b.js.br +0 -0
  949. package/web/chunk-z5sk390b.js.gz +0 -0
  950. package/web/chunk-zh2szkjy.js +0 -140
  951. package/web/chunk-zh2szkjy.js.br +0 -0
  952. package/web/chunk-zh2szkjy.js.gz +0 -0
  953. package/web/chunk-zrmm67mx.js +0 -34
  954. package/web/chunk-zrmm67mx.js.br +0 -0
  955. package/web/chunk-zrmm67mx.js.gz +0 -0
  956. package/web/chunk-zyfr25n1.js +0 -98
  957. package/web/chunk-zyfr25n1.js.br +0 -0
  958. package/web/chunk-zyfr25n1.js.gz +0 -0
  959. package/web/chunk-zykkmwba.js +0 -2
  960. package/web/chunk-zykkmwba.js.br +0 -0
  961. package/web/chunk-zykkmwba.js.gz +0 -0
  962. package/web/chunk-zzs4h31m.js +0 -2
  963. package/web/chunk-zzs4h31m.js.br +0 -0
  964. package/web/chunk-zzs4h31m.js.gz +0 -0
@@ -0,0 +1,36 @@
1
+ import{ae}from"./chunk-zmbp3phd.js";import{t,i,F,A,q,dn,N,M,P,R,I,O,D,d,g,J,Js,Wr,Xt,Z,St,lt}from"./chunk-tz4w2nh2.js";import{fe}from"./chunk-2gfgrjy6.js";import{hn,si}from"./chunk-q7krdwy7.js";import{Qe,Je}from"./chunk-4wpvkw6b.js";var ct=Je(function(et,nt){(function(n,s){if(typeof et==="object"&&typeof nt==="object")nt.exports=s(si());else if(typeof define==="function"&&define.amd)define(["cose-base"],s);else if(typeof et==="object")et.cytoscapeFcose=s(si());else n.cytoscapeFcose=s(n.coseBase)})(et,function(e){return(()=>{var n={658:(T)=>{T.exports=Object.assign!=null?Object.assign.bind(Object):function(G){for(var p=arguments.length,x=Array(p>1?p-1:0),l=1;l<p;l++)x[l-1]=arguments[l];return x.forEach(function(y){Object.keys(y).forEach(function(c){return G[c]=y[c]})}),G}},548:(T,G,p)=>{var x=function(){function c(f,u){var h=[],r=!0,z=!1,b=void 0;try{for(var o=f[Symbol.iterator](),v;!(r=(v=o.next()).done);r=!0)if(h.push(v.value),u&&h.length===u)break}catch(L){z=!0,b=L}finally{try{if(!r&&o.return)o.return()}finally{if(z)throw b}}return h}return function(f,u){if(Array.isArray(f))return f;else if(Symbol.iterator in Object(f))return c(f,u);else throw TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=p(140).layoutBase.LinkedList,y={};y.getTopMostNodes=function(c){var f={};for(var u=0;u<c.length;u++)f[c[u].id()]=!0;var h=c.filter(function(r,z){if(typeof r==="number")r=z;var b=r.parent()[0];while(b!=null){if(f[b.id()])return!1;b=b.parent()[0]}return!0});return h},y.connectComponents=function(c,f,u,h){var r=new l,z=new Set,b=[],o=void 0,v=void 0,L=void 0,a=!1,S=1,Y=[],C=[],U=function(){var w=c.collection();C.push(w);var _=u[0],X=c.collection();X.merge(_).merge(_.descendants().intersection(f)),b.push(_),X.forEach(function(ee){r.push(ee),z.add(ee),w.merge(ee)});var j=function(){_=r.shift();var ue=c.collection();_.neighborhood().nodes().forEach(function(H){if(f.intersection(_.edgesWith(H)).length>0)ue.merge(H)});for(var Ae=0;Ae<ue.length;Ae++){var Re=ue[Ae];if(o=u.intersection(Re.union(Re.ancestors())),o!=null&&!z.has(o[0])){var ce=o.union(o.descendants());ce.forEach(function(H){if(r.push(H),z.add(H),w.merge(H),u.has(H))b.push(H)})}}};while(r.length!=0)j();if(w.forEach(function(ee){f.intersection(ee.connectedEdges()).forEach(function(ue){if(w.has(ue.source())&&w.has(ue.target()))w.merge(ue)})}),b.length==u.length)a=!0;if(!a||a&&S>1){v=b[0],L=v.connectedEdges().length,b.forEach(function(ee){if(ee.connectedEdges().length<L)L=ee.connectedEdges().length,v=ee}),Y.push(v.id());var oe=c.collection();oe.merge(b[0]),b.forEach(function(ee){oe.merge(ee)}),b=[],u=u.difference(oe),S++}};do U();while(!a);if(h){if(Y.length>0)h.set("dummy"+(h.size+1),Y)}return C},y.relocateComponent=function(c,f,u){if(!u.fixedNodeConstraint){var{POSITIVE_INFINITY:h,NEGATIVE_INFINITY:r,POSITIVE_INFINITY:z,NEGATIVE_INFINITY:b}=Number;if(u.quality=="draft"){var o=!0,v=!1,L=void 0;try{for(var a=f.nodeIndexes[Symbol.iterator](),S;!(o=(S=a.next()).done);o=!0){var Y=S.value,C=x(Y,2),U=C[0],B=C[1],w=u.cy.getElementById(U);if(w){var _=w.boundingBox(),X=f.xCoords[B]-_.w/2,j=f.xCoords[B]+_.w/2,oe=f.yCoords[B]-_.h/2,ee=f.yCoords[B]+_.h/2;if(X<h)h=X;if(j>r)r=j;if(oe<z)z=oe;if(ee>b)b=ee}}}catch(H){v=!0,L=H}finally{try{if(!o&&a.return)a.return()}finally{if(v)throw L}}var ue=c.x-(r+h)/2,Ae=c.y-(b+z)/2;f.xCoords=f.xCoords.map(function(H){return H+ue}),f.yCoords=f.yCoords.map(function(H){return H+Ae})}else{Object.keys(f).forEach(function(H){var ne=f[H],Ie=ne.getRect().x,be=ne.getRect().x+ne.getRect().width,Ne=ne.getRect().y,xe=ne.getRect().y+ne.getRect().height;if(Ie<h)h=Ie;if(be>r)r=be;if(Ne<z)z=Ne;if(xe>b)b=xe});var Re=c.x-(r+h)/2,ce=c.y-(b+z)/2;Object.keys(f).forEach(function(H){var ne=f[H];ne.setCenter(ne.getCenterX()+Re,ne.getCenterY()+ce)})}}},y.calcBoundingBox=function(c,f,u,h){var{MAX_SAFE_INTEGER:r,MIN_SAFE_INTEGER:z,MAX_SAFE_INTEGER:b,MIN_SAFE_INTEGER:o}=Number,v=void 0,L=void 0,a=void 0,S=void 0,Y=c.descendants().not(":parent"),C=Y.length;for(var U=0;U<C;U++){var B=Y[U];if(v=f[h.get(B.id())]-B.width()/2,L=f[h.get(B.id())]+B.width()/2,a=u[h.get(B.id())]-B.height()/2,S=u[h.get(B.id())]+B.height()/2,r>v)r=v;if(z<L)z=L;if(b>a)b=a;if(o<S)o=S}var w={};return w.topLeftX=r,w.topLeftY=b,w.width=z-r,w.height=o-b,w},y.calcParentsWithoutChildren=function(c,f){var u=c.collection();return f.nodes(":parent").forEach(function(h){var r=!1;if(h.children().forEach(function(z){if(z.css("display")!="none")r=!0}),!r)u.merge(h)}),u},T.exports=y},816:(T,G,p)=>{var x=p(548),l=p(140).CoSELayout,y=p(140).CoSENode,c=p(140).layoutBase.PointD,f=p(140).layoutBase.DimensionD,u=p(140).layoutBase.LayoutConstants,h=p(140).layoutBase.FDLayoutConstants,r=p(140).CoSEConstants,z=function(o,v){var{cy:L,eles:a}=o,S=a.nodes(),Y=a.edges(),C=void 0,U=void 0,B=void 0,w={};if(o.randomize)C=v.nodeIndexes,U=v.xCoords,B=v.yCoords;var _=function(H){return typeof H==="function"},X=function(H,ne){if(_(H))return H(ne);else return H},j=x.calcParentsWithoutChildren(L,a),oe=function ce(H,ne,Ie,be){var Ne=ne.length;for(var xe=0;xe<Ne;xe++){var V=ne[xe],Te=null;if(V.intersection(j).length==0)Te=V.children();var te=void 0,ve=V.layoutDimensions({nodeDimensionsIncludeLabels:be.nodeDimensionsIncludeLabels});if(V.outerWidth()!=null&&V.outerHeight()!=null)if(be.randomize)if(!V.isParent())te=H.add(new y(Ie.graphManager,new c(U[C.get(V.id())]-ve.w/2,B[C.get(V.id())]-ve.h/2),new f(parseFloat(ve.w),parseFloat(ve.h))));else{var ke=x.calcBoundingBox(V,U,B,C);if(V.intersection(j).length==0)te=H.add(new y(Ie.graphManager,new c(ke.topLeftX,ke.topLeftY),new f(ke.width,ke.height)));else te=H.add(new y(Ie.graphManager,new c(ke.topLeftX,ke.topLeftY),new f(parseFloat(ve.w),parseFloat(ve.h))))}else te=H.add(new y(Ie.graphManager,new c(V.position("x")-ve.w/2,V.position("y")-ve.h/2),new f(parseFloat(ve.w),parseFloat(ve.h))));else te=H.add(new y(this.graphManager));if(te.id=V.data("id"),te.nodeRepulsion=X(be.nodeRepulsion,V),te.paddingLeft=parseInt(V.css("padding")),te.paddingTop=parseInt(V.css("padding")),te.paddingRight=parseInt(V.css("padding")),te.paddingBottom=parseInt(V.css("padding")),be.nodeDimensionsIncludeLabels)te.labelWidth=V.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).w,te.labelHeight=V.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).h,te.labelPosVertical=V.css("text-valign"),te.labelPosHorizontal=V.css("text-halign");if(w[V.data("id")]=te,isNaN(te.rect.x))te.rect.x=0;if(isNaN(te.rect.y))te.rect.y=0;if(Te!=null&&Te.length>0){var $e=void 0;$e=Ie.getGraphManager().add(Ie.newGraph(),te),ce($e,Te,Ie,be)}}},ee=function(H,ne,Ie){var be=0,Ne=0;for(var xe=0;xe<Ie.length;xe++){var V=Ie[xe],Te=w[V.data("source")],te=w[V.data("target")];if(Te&&te&&Te!==te&&Te.getEdgesBetween(te).length==0){var ve=ne.add(H.newEdge(),Te,te);ve.id=V.id(),ve.idealLength=X(o.idealEdgeLength,V),ve.edgeElasticity=X(o.edgeElasticity,V),be+=ve.idealLength,Ne++}}if(o.idealEdgeLength!=null){if(Ne>0)r.DEFAULT_EDGE_LENGTH=h.DEFAULT_EDGE_LENGTH=be/Ne;else if(!_(o.idealEdgeLength))r.DEFAULT_EDGE_LENGTH=h.DEFAULT_EDGE_LENGTH=o.idealEdgeLength;else r.DEFAULT_EDGE_LENGTH=h.DEFAULT_EDGE_LENGTH=50;r.MIN_REPULSION_DIST=h.MIN_REPULSION_DIST=h.DEFAULT_EDGE_LENGTH/10,r.DEFAULT_RADIAL_SEPARATION=h.DEFAULT_EDGE_LENGTH}},ue=function(H,ne){if(ne.fixedNodeConstraint)H.constraints.fixedNodeConstraint=ne.fixedNodeConstraint;if(ne.alignmentConstraint)H.constraints.alignmentConstraint=ne.alignmentConstraint;if(ne.relativePlacementConstraint)H.constraints.relativePlacementConstraint=ne.relativePlacementConstraint};if(o.nestingFactor!=null)r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=h.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=o.nestingFactor;if(o.gravity!=null)r.DEFAULT_GRAVITY_STRENGTH=h.DEFAULT_GRAVITY_STRENGTH=o.gravity;if(o.numIter!=null)r.MAX_ITERATIONS=h.MAX_ITERATIONS=o.numIter;if(o.gravityRange!=null)r.DEFAULT_GRAVITY_RANGE_FACTOR=h.DEFAULT_GRAVITY_RANGE_FACTOR=o.gravityRange;if(o.gravityCompound!=null)r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=h.DEFAULT_COMPOUND_GRAVITY_STRENGTH=o.gravityCompound;if(o.gravityRangeCompound!=null)r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=h.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=o.gravityRangeCompound;if(o.initialEnergyOnIncremental!=null)r.DEFAULT_COOLING_FACTOR_INCREMENTAL=h.DEFAULT_COOLING_FACTOR_INCREMENTAL=o.initialEnergyOnIncremental;if(o.tilingCompareBy!=null)r.TILING_COMPARE_BY=o.tilingCompareBy;if(o.quality=="proof")u.QUALITY=2;else u.QUALITY=0;if(r.NODE_DIMENSIONS_INCLUDE_LABELS=h.NODE_DIMENSIONS_INCLUDE_LABELS=u.NODE_DIMENSIONS_INCLUDE_LABELS=o.nodeDimensionsIncludeLabels,r.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=u.DEFAULT_INCREMENTAL=!o.randomize,r.ANIMATE=h.ANIMATE=u.ANIMATE=o.animate,r.TILE=o.tile,r.TILING_PADDING_VERTICAL=typeof o.tilingPaddingVertical==="function"?o.tilingPaddingVertical.call():o.tilingPaddingVertical,r.TILING_PADDING_HORIZONTAL=typeof o.tilingPaddingHorizontal==="function"?o.tilingPaddingHorizontal.call():o.tilingPaddingHorizontal,r.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=u.DEFAULT_INCREMENTAL=!0,r.PURE_INCREMENTAL=!o.randomize,u.DEFAULT_UNIFORM_LEAF_NODE_SIZES=o.uniformNodeDimensions,o.step=="transformed")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,r.ENFORCE_CONSTRAINTS=!1,r.APPLY_LAYOUT=!1;if(o.step=="enforced")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,r.ENFORCE_CONSTRAINTS=!0,r.APPLY_LAYOUT=!1;if(o.step=="cose")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,r.ENFORCE_CONSTRAINTS=!1,r.APPLY_LAYOUT=!0;if(o.step=="all"){if(o.randomize)r.TRANSFORM_ON_CONSTRAINT_HANDLING=!0;else r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1;r.ENFORCE_CONSTRAINTS=!0,r.APPLY_LAYOUT=!0}if(o.fixedNodeConstraint||o.alignmentConstraint||o.relativePlacementConstraint)r.TREE_REDUCTION_ON_INCREMENTAL=!1;else r.TREE_REDUCTION_ON_INCREMENTAL=!0;var Ae=new l,Re=Ae.newGraphManager();return oe(Re.addRoot(),x.getTopMostNodes(S),Ae,o),ee(Ae,Re,Y),ue(Ae,o),Ae.runLayout(),w};T.exports={coseLayout:z}},212:(T,G,p)=>{var x=function(){function o(v,L){for(var a=0;a<L.length;a++){var S=L[a];if(S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S)S.writable=!0;Object.defineProperty(v,S.key,S)}}return function(v,L,a){if(L)o(v.prototype,L);if(a)o(v,a);return v}}();function l(o,v){if(!(o instanceof v))throw TypeError("Cannot call a class as a function")}var y=p(658),c=p(548),f=p(657),u=f.spectralLayout,h=p(816),r=h.coseLayout,z=Object.freeze({quality:"default",randomize:!0,animate:!0,animationDuration:1000,animationEasing:void 0,fit:!0,padding:30,nodeDimensionsIncludeLabels:!1,uniformNodeDimensions:!1,packComponents:!0,step:"all",samplingType:!0,sampleSize:25,nodeSeparation:75,piTol:0.0000001,nodeRepulsion:function(v){return 4500},idealEdgeLength:function(v){return 50},edgeElasticity:function(v){return 0.45},nestingFactor:0.1,gravity:0.25,numIter:2500,tile:!0,tilingCompareBy:void 0,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:0.3,fixedNodeConstraint:void 0,alignmentConstraint:void 0,relativePlacementConstraint:void 0,ready:function(){},stop:function(){}}),b=function(){function o(v){l(this,o),this.options=y({},z,v)}return x(o,[{key:"run",value:function(){var L=this,a=this.options,{cy:S,eles:Y}=a,C=[],U=void 0,B=void 0,w=[],_=void 0,X=[];if(a.fixedNodeConstraint&&(!Array.isArray(a.fixedNodeConstraint)||a.fixedNodeConstraint.length==0))a.fixedNodeConstraint=void 0;if(a.alignmentConstraint){if(a.alignmentConstraint.vertical&&(!Array.isArray(a.alignmentConstraint.vertical)||a.alignmentConstraint.vertical.length==0))a.alignmentConstraint.vertical=void 0;if(a.alignmentConstraint.horizontal&&(!Array.isArray(a.alignmentConstraint.horizontal)||a.alignmentConstraint.horizontal.length==0))a.alignmentConstraint.horizontal=void 0}if(a.relativePlacementConstraint&&(!Array.isArray(a.relativePlacementConstraint)||a.relativePlacementConstraint.length==0))a.relativePlacementConstraint=void 0;var j=a.fixedNodeConstraint||a.alignmentConstraint||a.relativePlacementConstraint;if(j)a.tile=!1,a.packComponents=!1;var oe=void 0,ee=!1;if(S.layoutUtilities&&a.packComponents){if(oe=S.layoutUtilities("get"),!oe)oe=S.layoutUtilities();ee=!0}if(Y.nodes().length>0)if(!ee){var ue=a.eles.boundingBox();if(X.push({x:ue.x1+ue.w/2,y:ue.y1+ue.h/2}),a.randomize){var Ae=u(a);C.push(Ae)}if(a.quality=="default"||a.quality=="proof")w.push(r(a,C[0])),c.relocateComponent(X[0],w[0],a);else c.relocateComponent(X[0],C[0],a)}else{var Re=c.getTopMostNodes(a.eles.nodes());if(_=c.connectComponents(S,a.eles,Re),_.forEach(function(W){var k=W.boundingBox();X.push({x:k.x1+k.w/2,y:k.y1+k.h/2})}),a.randomize)_.forEach(function(W){a.eles=W,C.push(u(a))});if(a.quality=="default"||a.quality=="proof"){var ce=S.collection();if(a.tile){var H=new Map,ne=[],Ie=[],be=0,Ne={nodeIndexes:H,xCoords:ne,yCoords:Ie},xe=[];if(_.forEach(function(W,k){if(W.edges().length==0)W.nodes().forEach(function(pe,se){if(ce.merge(W.nodes()[se]),!pe.isParent())Ne.nodeIndexes.set(W.nodes()[se].id(),be++),Ne.xCoords.push(W.nodes()[0].position().x),Ne.yCoords.push(W.nodes()[0].position().y)}),xe.push(k)}),ce.length>1){var V=ce.boundingBox();X.push({x:V.x1+V.w/2,y:V.y1+V.h/2}),_.push(ce),C.push(Ne);for(var Te=xe.length-1;Te>=0;Te--)_.splice(xe[Te],1),C.splice(xe[Te],1),X.splice(xe[Te],1)}}_.forEach(function(W,k){a.eles=W,w.push(r(a,C[k])),c.relocateComponent(X[k],w[k],a)})}else _.forEach(function(W,k){c.relocateComponent(X[k],C[k],a)});var te=new Set;if(_.length>1){var ve=[],ke=Y.filter(function(W){return W.css("display")=="none"});_.forEach(function(W,k){var pe=void 0;if(a.quality=="draft")pe=C[k].nodeIndexes;if(W.nodes().not(ke).length>0){var se={};se.edges=[],se.nodes=[];var me=void 0;if(W.nodes().not(ke).forEach(function(de){if(a.quality=="draft")if(!de.isParent())me=pe.get(de.id()),se.nodes.push({x:C[k].xCoords[me]-de.boundingbox().w/2,y:C[k].yCoords[me]-de.boundingbox().h/2,width:de.boundingbox().w,height:de.boundingbox().h});else{var he=c.calcBoundingBox(de,C[k].xCoords,C[k].yCoords,pe);se.nodes.push({x:he.topLeftX,y:he.topLeftY,width:he.width,height:he.height})}else if(w[k][de.id()])se.nodes.push({x:w[k][de.id()].getLeft(),y:w[k][de.id()].getTop(),width:w[k][de.id()].getWidth(),height:w[k][de.id()].getHeight()})}),W.edges().forEach(function(de){var he=de.source(),Ee=de.target();if(he.css("display")!="none"&&Ee.css("display")!="none"){if(a.quality=="draft"){var Pe=pe.get(he.id()),Ze=pe.get(Ee.id()),Me=[],Ge=[];if(he.isParent()){var Ve=c.calcBoundingBox(he,C[k].xCoords,C[k].yCoords,pe);Me.push(Ve.topLeftX+Ve.width/2),Me.push(Ve.topLeftY+Ve.height/2)}else Me.push(C[k].xCoords[Pe]),Me.push(C[k].yCoords[Pe]);if(Ee.isParent()){var Xe=c.calcBoundingBox(Ee,C[k].xCoords,C[k].yCoords,pe);Ge.push(Xe.topLeftX+Xe.width/2),Ge.push(Xe.topLeftY+Xe.height/2)}else Ge.push(C[k].xCoords[Ze]),Ge.push(C[k].yCoords[Ze]);se.edges.push({startX:Me[0],startY:Me[1],endX:Ge[0],endY:Ge[1]})}else if(w[k][he.id()]&&w[k][Ee.id()])se.edges.push({startX:w[k][he.id()].getCenterX(),startY:w[k][he.id()].getCenterY(),endX:w[k][Ee.id()].getCenterX(),endY:w[k][Ee.id()].getCenterY()})}}),se.nodes.length>0)ve.push(se),te.add(k)}});var $e=oe.packComponents(ve,a.randomize).shifts;if(a.quality=="draft")C.forEach(function(W,k){var pe=W.xCoords.map(function(me){return me+$e[k].dx}),se=W.yCoords.map(function(me){return me+$e[k].dy});W.xCoords=pe,W.yCoords=se});else{var We=0;te.forEach(function(W){Object.keys(w[W]).forEach(function(k){var pe=w[W][k];pe.setCenter(pe.getCenterX()+$e[We].dx,pe.getCenterY()+$e[We].dy)}),We++})}}}var Ue=function(k,pe){if(a.quality=="default"||a.quality=="proof"){if(typeof k==="number")k=pe;var se=void 0,me=void 0,de=k.data("id");if(w.forEach(function(Ee){if(de in Ee)se={x:Ee[de].getRect().getCenterX(),y:Ee[de].getRect().getCenterY()},me=Ee[de]}),a.nodeDimensionsIncludeLabels){if(me.labelWidth){if(me.labelPosHorizontal=="left")se.x+=me.labelWidth/2;else if(me.labelPosHorizontal=="right")se.x-=me.labelWidth/2}if(me.labelHeight){if(me.labelPosVertical=="top")se.y+=me.labelHeight/2;else if(me.labelPosVertical=="bottom")se.y-=me.labelHeight/2}}if(se==null)se={x:k.position("x"),y:k.position("y")};return{x:se.x,y:se.y}}else{var he=void 0;if(C.forEach(function(Ee){var Pe=Ee.nodeIndexes.get(k.id());if(Pe!=null)he={x:Ee.xCoords[Pe],y:Ee.yCoords[Pe]}}),he==null)he={x:k.position("x"),y:k.position("y")};return{x:he.x,y:he.y}}};if(a.quality=="default"||a.quality=="proof"||a.randomize){var rt=c.calcParentsWithoutChildren(S,Y),He=Y.filter(function(W){return W.css("display")=="none"});if(a.eles=Y.not(He),Y.nodes().not(":parent").not(He).layoutPositions(L,a,Ue),rt.length>0)rt.forEach(function(W){W.position(Ue(W))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),o}();T.exports=b},657:(T,G,p)=>{var x=p(548),l=p(140).layoutBase.Matrix,y=p(140).layoutBase.SVD,c=function(u){var{cy:h,eles:r}=u,z=r.nodes(),b=r.nodes(":parent"),o=new Map,v=new Map,L=new Map,a=[],S=[],Y=[],C=[],U=[],B=[],w=[],_=[],X=void 0,j=void 0,oe=1e8,ee=0.000000001,{piTol:ue,samplingType:Ae,nodeSeparation:Re}=u,ce=void 0,H=function(){var Q=0,K=0,re=!1;while(K<ce){Q=Math.floor(Math.random()*j),re=!1;for(var ie=0;ie<K;ie++)if(C[ie]==Q){re=!0;break}if(!re)C[K]=Q,K++;else continue}},ne=function(Q,K,re){var ie=[],we=0,ge=0,le=0,Le=void 0,Ce=[],De=0,Oe=1;for(var ze=0;ze<j;ze++)Ce[ze]=oe;ie[ge]=Q,Ce[Q]=0;while(ge>=we){le=ie[we++];var Ye=a[le];for(var Be=0;Be<Ye.length;Be++)if(Le=v.get(Ye[Be]),Ce[Le]==oe)Ce[Le]=Ce[le]+1,ie[++ge]=Le;B[le][K]=Ce[le]*Re}if(re){for(var Fe=0;Fe<j;Fe++)if(B[Fe][K]<U[Fe])U[Fe]=B[Fe][K];for(var Ke=0;Ke<j;Ke++)if(U[Ke]>De)De=U[Ke],Oe=Ke}return Oe},Ie=function(Q){var K=void 0;if(!Q){H();for(var re=0;re<ce;re++)ne(C[re],re,Q,!1)}else{K=Math.floor(Math.random()*j),X=K;for(var ie=0;ie<j;ie++)U[ie]=oe;for(var we=0;we<ce;we++)C[we]=K,K=ne(K,we,Q)}for(var ge=0;ge<j;ge++)for(var le=0;le<ce;le++)B[ge][le]*=B[ge][le];for(var Le=0;Le<ce;Le++)w[Le]=[];for(var Ce=0;Ce<ce;Ce++)for(var De=0;De<ce;De++)w[Ce][De]=B[C[De]][Ce]},be=function(){var Q=y.svd(w),{S:K,U:re,V:ie}=Q,we=K[0]*K[0]*K[0],ge=[];for(var le=0;le<ce;le++){ge[le]=[];for(var Le=0;Le<ce;Le++)if(ge[le][Le]=0,le==Le)ge[le][Le]=K[le]/(K[le]*K[le]+we/(K[le]*K[le]))}_=l.multMat(l.multMat(ie,ge),l.transpose(re))},Ne=function(){var Q=void 0,K=void 0,re=[],ie=[],we=[],ge=[];for(var le=0;le<j;le++)re[le]=Math.random(),ie[le]=Math.random();re=l.normalize(re),ie=l.normalize(ie);var Le=0,Ce=ee,De=ee,Oe=void 0;while(!0){Le++;for(var ze=0;ze<j;ze++)we[ze]=re[ze];if(re=l.multGamma(l.multL(l.multGamma(we),B,_)),Q=l.dotProduct(we,re),re=l.normalize(re),Ce=l.dotProduct(we,re),Oe=Math.abs(Ce/De),Oe<=1+ue&&Oe>=1)break;De=Ce}for(var Ye=0;Ye<j;Ye++)we[Ye]=re[Ye];Le=0,De=ee;while(!0){Le++;for(var Be=0;Be<j;Be++)ge[Be]=ie[Be];if(ge=l.minusOp(ge,l.multCons(we,l.dotProduct(we,ge))),ie=l.multGamma(l.multL(l.multGamma(ge),B,_)),K=l.dotProduct(ge,ie),ie=l.normalize(ie),Ce=l.dotProduct(ge,ie),Oe=Math.abs(Ce/De),Oe<=1+ue&&Oe>=1)break;De=Ce}for(var Fe=0;Fe<j;Fe++)ge[Fe]=ie[Fe];S=l.multCons(we,Math.sqrt(Math.abs(Q))),Y=l.multCons(ge,Math.sqrt(Math.abs(K)))};x.connectComponents(h,r,x.getTopMostNodes(z),o),b.forEach(function(ye){x.connectComponents(h,r,x.getTopMostNodes(ye.descendants().intersection(r)),o)});var xe=0;for(var V=0;V<z.length;V++)if(!z[V].isParent())v.set(z[V].id(),xe++);var Te=!0,te=!1,ve=void 0;try{for(var ke=o.keys()[Symbol.iterator](),$e;!(Te=($e=ke.next()).done);Te=!0){var We=$e.value;v.set(We,xe++)}}catch(ye){te=!0,ve=ye}finally{try{if(!Te&&ke.return)ke.return()}finally{if(te)throw ve}}for(var Ue=0;Ue<v.size;Ue++)a[Ue]=[];b.forEach(function(ye){var Q=ye.children().intersection(r);while(Q.nodes(":childless").length==0)Q=Q.nodes()[0].children().intersection(r);var K=0,re=Q.nodes(":childless")[0].connectedEdges().length;Q.nodes(":childless").forEach(function(ie,we){if(ie.connectedEdges().length<re)re=ie.connectedEdges().length,K=we}),L.set(ye.id(),Q.nodes(":childless")[K].id())}),z.forEach(function(ye){var Q=void 0;if(ye.isParent())Q=v.get(L.get(ye.id()));else Q=v.get(ye.id());ye.neighborhood().nodes().forEach(function(K){if(r.intersection(ye.edgesWith(K)).length>0)if(K.isParent())a[Q].push(L.get(K.id()));else a[Q].push(K.id())})});var rt=function(Q){var K=v.get(Q),re=void 0;o.get(Q).forEach(function(ie){if(h.getElementById(ie).isParent())re=L.get(ie);else re=ie;a[K].push(re),a[v.get(re)].push(Q)})},He=!0,W=!1,k=void 0;try{for(var pe=o.keys()[Symbol.iterator](),se;!(He=(se=pe.next()).done);He=!0){var me=se.value;rt(me)}}catch(ye){W=!0,k=ye}finally{try{if(!He&&pe.return)pe.return()}finally{if(W)throw k}}j=v.size;var de=void 0;if(j>2){ce=j<u.sampleSize?j:u.sampleSize;for(var he=0;he<j;he++)B[he]=[];for(var Ee=0;Ee<ce;Ee++)_[Ee]=[];if(u.quality=="draft"||u.step=="all")Ie(Ae),be(),Ne(),de={nodeIndexes:v,xCoords:S,yCoords:Y};else v.forEach(function(ye,Q){S.push(h.getElementById(Q).position("x")),Y.push(h.getElementById(Q).position("y"))}),de={nodeIndexes:v,xCoords:S,yCoords:Y};return de}else{var Pe=v.keys(),Ze=h.getElementById(Pe.next().value),Me=Ze.position(),Ge=Ze.outerWidth();if(S.push(Me.x),Y.push(Me.y),j==2){var Ve=h.getElementById(Pe.next().value),Xe=Ve.outerWidth();S.push(Me.x+Ge/2+Xe/2+u.idealEdgeLength),Y.push(Me.y)}return de={nodeIndexes:v,xCoords:S,yCoords:Y},de}};T.exports={spectralLayout:c}},579:(T,G,p)=>{var x=p(212),l=function(c){if(!c)return;c("layout","fcose",x)};if(typeof cytoscape<"u")l(cytoscape);T.exports=l},140:(T)=>{T.exports=e}},s={};function E(T){var G=s[T];if(G!==void 0)return G.exports;var p=s[T]={exports:{}};return n[T](p,p.exports,E),p.exports}var m=E(579);return m})()})});var mt=Qe(ct(),1);var dt={L:"left",R:"right",T:"top",B:"bottom"},ft={L:t((e)=>`${e},${e/2} 0,${e} 0,0`,"L"),R:t((e)=>`0,${e/2} ${e},0 ${e},${e}`,"R"),T:t((e)=>`0,0 ${e},0 ${e/2},${e}`,"T"),B:t((e)=>`${e/2},0 ${e},${e} 0,${e}`,"B")},it={L:t((e,n)=>e-n+2,"L"),R:t((e,n)=>e-2,"R"),T:t((e,n)=>e-n+2,"T"),B:t((e,n)=>e-2,"B")},It=t(function(e){if(Se(e))return e==="L"?"R":"L";else return e==="T"?"B":"T"},"getOppositeArchitectureDirection"),ut=t(function(e){let n=e;return n==="L"||n==="R"||n==="T"||n==="B"},"isArchitectureDirection"),Se=t(function(e){let n=e;return n==="L"||n==="R"},"isArchitectureDirectionX"),_e=t(function(e){let n=e;return n==="T"||n==="B"},"isArchitectureDirectionY"),st=t(function(e,n){let s=Se(e)&&_e(n),E=_e(e)&&Se(n);return s||E},"isArchitectureDirectionXY"),bt=t(function(e){let n=e[0],s=e[1],E=Se(n)&&_e(s),m=_e(n)&&Se(s);return E||m},"isArchitecturePairXY"),Nt=t(function(e){return e!=="LL"&&e!=="RR"&&e!=="TT"&&e!=="BB"},"isValidArchitectureDirectionPair"),at=t(function(e,n){let s=`${e}${n}`;return Nt(s)?s:void 0},"getArchitectureDirectionPair"),kt=t(function([e,n],s){let E=s[0],m=s[1];if(Se(E))if(_e(m))return[e+(E==="L"?-1:1),n+(m==="T"?1:-1)];else return[e+(E==="L"?-1:1),n];else if(Se(m))return[e+(m==="L"?1:-1),n+(E==="T"?1:-1)];else return[e,n+(E==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Dt=t(function(e){if(e==="LT"||e==="TL")return[1,1];else if(e==="BL"||e==="LB")return[1,-1];else if(e==="BR"||e==="RB")return[-1,-1];else return[-1,1]},"getArchitectureDirectionXYFactors"),Rt=t(function(e,n){if(st(e,n))return"bend";else if(Se(e))return"horizontal";return"vertical"},"getArchitectureDirectionAlignment"),Mt=t(function(e){return e.type==="service"},"isArchitectureService"),Ft=t(function(e){return e.type==="junction"},"isArchitectureJunction"),gt=t((e,n)=>{let[s,E]=[e,n].sort();return`${JSON.stringify(s)}-${JSON.stringify(E)}`},"architectureGroupAlignmentKey"),ht=t((e)=>e.data(),"edgeData"),qe=t((e)=>e.data(),"nodeData"),$t=F.architecture,vt=class{constructor(){this.nodes=new Map,this.groups=new Map,this.edges=[],this.layoutHints=[],this.registeredIds=new Map,this.elements=new Map,this.diagramId="",this.setAccTitle=M,this.getAccTitle=P,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getAccDescription=I,this.setAccDescription=R,this.clear()}static{t(this,"ArchitectureDB")}setDiagramId(e){this.diagramId=e}getDiagramId(){return this.diagramId}clear(){this.nodes=new Map,this.groups=new Map,this.edges=[],this.layoutHints=[],this.registeredIds=new Map,this.dataStructures=void 0,this.elements=new Map,this.diagramId="",N()}addService({id:e,icon:n,in:s,title:E,iconText:m}){if(this.registeredIds.has(e))throw Error(`The service id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(s!==void 0){if(e===s)throw Error(`The service [${e}] cannot be placed within itself`);if(!this.registeredIds.has(s))throw Error(`The service [${e}]'s parent does not exist. Please make sure the parent is created before this service`);if(this.registeredIds.get(s)==="node")throw Error(`The service [${e}]'s parent is not a group`)}this.registeredIds.set(e,"node"),this.nodes.set(e,{id:e,type:"service",icon:n,iconText:m,title:E,edges:[],in:s})}getServices(){return[...this.nodes.values()].filter(Mt)}addJunction({id:e,in:n}){if(this.registeredIds.has(e))throw Error(`The junction id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(n!==void 0){if(e===n)throw Error(`The junction [${e}] cannot be placed within itself`);if(!this.registeredIds.has(n))throw Error(`The junction [${e}]'s parent does not exist. Please make sure the parent is created before this junction`);if(this.registeredIds.get(n)==="node")throw Error(`The junction [${e}]'s parent is not a group`)}this.registeredIds.set(e,"node"),this.nodes.set(e,{id:e,type:"junction",edges:[],in:n})}getJunctions(){return[...this.nodes.values()].filter(Ft)}getNodes(){return[...this.nodes.values()]}getNode(e){return this.nodes.get(e)??null}addGroup({id:e,icon:n,in:s,title:E}){if(this.registeredIds.has(e))throw Error(`The group id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(s!==void 0){if(e===s)throw Error(`The group [${e}] cannot be placed within itself`);if(!this.registeredIds.has(s))throw Error(`The group [${e}]'s parent does not exist. Please make sure the parent is created before this group`);if(this.registeredIds.get(s)==="node")throw Error(`The group [${e}]'s parent is not a group`)}this.registeredIds.set(e,"group"),this.groups.set(e,{id:e,icon:n,title:E,in:s})}getGroups(){return[...this.groups.values()]}addEdge({lhsId:e,rhsId:n,lhsDir:s,rhsDir:E,lhsInto:m,rhsInto:T,lhsGroup:G,rhsGroup:p,title:x}){if(!ut(s))throw Error(`Invalid direction given for left hand side of edge ${e}--${n}. Expected (L,R,T,B) got ${String(s)}`);if(!ut(E))throw Error(`Invalid direction given for right hand side of edge ${e}--${n}. Expected (L,R,T,B) got ${String(E)}`);if(!this.nodes.has(e)&&!this.groups.has(e))throw Error(`The left-hand id [${e}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(!this.nodes.has(n)&&!this.groups.has(n))throw Error(`The right-hand id [${n}] does not yet exist. Please create the service/group before declaring an edge to it.`);let l=this.nodes.get(e).in,y=this.nodes.get(n).in;if(G&&l&&y&&l==y)throw Error(`The left-hand id [${e}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(p&&l&&y&&l==y)throw Error(`The right-hand id [${n}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);let c={lhsId:e,lhsDir:s,lhsInto:m,lhsGroup:G,rhsId:n,rhsDir:E,rhsInto:T,rhsGroup:p,title:x};this.edges.push(c);let f=this.nodes.get(e),u=this.nodes.get(n);if(f&&u)f.edges.push(this.edges[this.edges.length-1]),u.edges.push(this.edges[this.edges.length-1])}getEdges(){return this.edges}addLayoutHint(e){if(e.members.length<2)throw Error(`An align directive requires at least two members; got ${e.members.length}`);let n=new Set;e.members.forEach((s)=>{if(this.registeredIds.get(s)!=="node")throw Error(`align ${e.direction} references [${s}], which is not a service or junction`);if(n.has(s))throw Error(`align ${e.direction} lists [${s}] more than once`);n.add(s)}),this.layoutHints.push(e)}getLayoutHints(){return this.layoutHints}getDataStructures(){if(this.dataStructures===void 0){let e=new Map,n=new Map;for(let[G,p]of this.nodes.entries()){let x=new Map;for(let l of p.edges){let y=this.getNode(l.lhsId)?.in,c=this.getNode(l.rhsId)?.in;if(y&&c&&y!==c){let f=Rt(l.lhsDir,l.rhsDir);if(f!=="bend")e.set(gt(y,c),f)}if(l.lhsId===G){let f=at(l.lhsDir,l.rhsDir);if(f)x.set(f,l.rhsId)}else{let f=at(l.rhsDir,l.lhsDir);if(f)x.set(f,l.lhsId)}}n.set(G,x)}let s=new Set,E=new Set(n.keys()),m=t((G)=>{let p=new Map([[G,[0,0]]]),x=[G];while(x.length>0){let l=x.shift();if(l){s.add(l),E.delete(l);let y=n.get(l);if(!y)throw Error(`BFS error: adjacency list for id ${l} not found. Please report this as a bug.`);let c=p.get(l);if(!c)throw Error(`BFS error: position for id ${l} not found in spatial map. Please report this as a bug.`);let[f,u]=c;y.forEach((h,r)=>{if(!s.has(h))p.set(h,kt([f,u],r)),x.push(h)})}}return p},"BFS"),T=[];while(E.size>0){let G=E.values().next().value;T.push(m(G))}this.dataStructures={adjList:n,spatialMaps:T,groupAlignments:e}}return this.dataStructures}setElementForId(e,n){this.elements.set(e,n)}getElementById(e){return this.elements.get(e)}getConfig(){return Z({...$t,...A().architecture})}getConfigField(e){return this.getConfig()[e]}},Pt=t((e,n)=>{ae(e,n),e.groups.map((s)=>n.addGroup(s)),e.services.map((s)=>n.addService({...s,type:"service"})),e.junctions.map((s)=>n.addJunction({...s,type:"junction"})),e.edges.map((s)=>n.addEdge(s)),e.alignments?.map((s)=>n.addLayoutHint({direction:s.direction,members:[...s.members]}))},"populateDb"),pt={parser:{yy:void 0},parse:t(async(e)=>{let n=await fe("architecture",e);i.debug(n);let s=pt.parser?.yy;if(!(s instanceof vt))throw Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Pt(n,s)},"parse")},Ot=t((e)=>`
2
+ .edge {
3
+ stroke-width: ${e.archEdgeWidth};
4
+ stroke: ${e.archEdgeColor};
5
+ fill: none;
6
+ }
7
+
8
+ .arrow {
9
+ fill: ${e.archEdgeArrowColor};
10
+ }
11
+
12
+ .node-bkg {
13
+ fill: none;
14
+ stroke: ${e.archGroupBorderColor};
15
+ stroke-width: ${e.archGroupBorderWidth};
16
+ stroke-dasharray: 8;
17
+ }
18
+ .node-icon-text {
19
+ display: flex;
20
+ align-items: center;
21
+ }
22
+
23
+ .node-icon-text > div {
24
+ color: #fff;
25
+ margin: 1px;
26
+ height: fit-content;
27
+ text-align: center;
28
+ overflow: hidden;
29
+ display: -webkit-box;
30
+ -webkit-box-orient: vertical;
31
+ }
32
+ `,"getStyles"),Gt=Ot;function ot(e,n){if(e===0)return n();let s=Math.random,E=e>>>0;Math.random=function(){E=E+1831565813>>>0;let m=E;return m=Math.imul(m^m>>>15,m|1),m^=m+Math.imul(m^m>>>7,m|61),((m^m>>>14)>>>0)/4294967296};try{return n()}finally{Math.random=s}}t(ot,"withSeededRandom");var je=t((e)=>`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${e}</g>`,"wrapIcon"),tt={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:je('<path id="b" data-name="4" d="m20,57.86c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="c" data-name="3" d="m20,45.95c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="d" data-name="2" d="m20,34.05c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse id="e" data-name="1" cx="40" cy="22.14" rx="20" ry="7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="20" y1="57.86" x2="20" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="60" y1="57.86" x2="60" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},server:{body:je('<rect x="17.5" y="17.5" width="45" height="45" rx="2" ry="2" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="32.5" x2="62.5" y2="32.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="47.5" x2="62.5" y2="47.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><g><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g>')},disk:{body:je('<rect x="20" y="15" width="40" height="50" rx="1" ry="1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="14" ry="14.58" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="4" ry="4.17" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m37.51,42.52l-4.83,13.22c-.26.71-1.1,1.02-1.76.64l-4.18-2.42c-.66-.38-.81-1.26-.33-1.84l9.01-10.8c.88-1.05,2.56-.08,2.09,1.2Z" style="fill: #fff; stroke-width: 0px;"/>')},internet:{body:je('<circle cx="40" cy="40" r="22.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="40" y1="17.5" x2="40" y2="62.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="40" x2="62.5" y2="40" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m39.99,17.51c-15.28,11.1-15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m40.01,17.51c15.28,11.1,15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="30.1" x2="60.25" y2="30.1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="49.9" x2="60.25" y2="49.9" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},cloud:{body:je('<path d="m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},unknown:Js,blank:{body:je("")}}},zt=t(async function(e,n,s,E){let m=s.getConfigField("padding"),T=s.getConfigField("iconSize"),G=T/2,p=T/6,x=p/2;await Promise.all(n.edges().map(async(l)=>{let{source:y,sourceDir:c,sourceArrow:f,sourceGroup:u,target:h,targetDir:r,targetArrow:z,targetGroup:b,label:o}=ht(l),{x:v,y:L}=l[0].sourceEndpoint(),{x:a,y:S}=l[0].midpoint(),{x:Y,y:C}=l[0].targetEndpoint(),U=m+4;if(u)if(Se(c))v+=c==="L"?-U:U;else L+=c==="T"?-U:U+18;if(b)if(Se(r))Y+=r==="L"?-U:U;else C+=r==="T"?-U:U+18;if(!u&&s.getNode(y)?.type==="junction")if(Se(c))v+=c==="L"?G:-G;else L+=c==="T"?G:-G;if(!b&&s.getNode(h)?.type==="junction")if(Se(r))Y+=r==="L"?G:-G;else C+=r==="T"?G:-G;if(l[0]._private.rscratch){let B=e.insert("g");if(B.insert("path").attr("d",`M ${v},${L} L ${a},${S} L${Y},${C} `).attr("class","edge").attr("id",`${E}-${St(y,h,{prefix:"L"})}`),f){let w=Se(c)?it[c](v,p):v-x,_=_e(c)?it[c](L,p):L-x;B.insert("polygon").attr("points",ft[c](p)).attr("transform",`translate(${w},${_})`).attr("class","arrow")}if(z){let w=Se(r)?it[r](Y,p):Y-x,_=_e(r)?it[r](C,p):C-x;B.insert("polygon").attr("points",ft[r](p)).attr("transform",`translate(${w},${_})`).attr("class","arrow")}if(o){let w=!st(c,r)?Se(c)?"X":"Y":"XY",_=0;if(w==="X")_=Math.abs(v-Y);else if(w==="Y")_=Math.abs(L-C)/1.5;else _=Math.abs(v-Y)/2;let X=B.append("g");if(await lt(X,o,{useHtmlLabels:!1,width:_,classes:"architecture-service-label"},d()),X.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),w==="X")X.attr("transform","translate("+a+", "+S+")");else if(w==="Y")X.attr("transform","translate("+a+", "+S+") rotate(-90)");else if(w==="XY"){let j=at(c,r);if(j&&bt(j)){let oe=X.node().getBoundingClientRect(),[ee,ue]=Dt(j);X.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*ee*ue*45})`);let Ae=X.node().getBoundingClientRect();X.attr("transform",`
33
+ translate(${a}, ${S-oe.height/2})
34
+ translate(${ee*Ae.width/2}, ${ue*Ae.height/2})
35
+ rotate(${-1*ee*ue*45}, 0, ${oe.height/2})
36
+ `)}}}}}))},"drawEdges"),Bt=t(async function(e,n,s,E){let T=s.getConfigField("padding")*0.75,G=s.getConfigField("fontSize"),x=s.getConfigField("iconSize")/2;await Promise.all(n.nodes().map(async(l)=>{let y=qe(l);if(y.type==="group"){let{h:c,w:f,x1:u,y1:h}=l.boundingBox(),r=e.append("rect");r.attr("id",`${E}-group-${y.id}`).attr("x",u+x).attr("y",h+x).attr("width",f).attr("height",c).attr("class","node-bkg");let z=e.append("g"),b=u,o=h;if(y.icon){let v=z.append("g");v.html(`<g>${await Xt(y.icon,{height:T,width:T,fallbackPrefix:tt.prefix})}</g>`),v.attr("transform","translate("+(b+x+1)+", "+(o+x+1)+")"),b+=T,o+=G/2-1-2}if(y.label){let v=z.append("g");await lt(v,y.label,{useHtmlLabels:!1,width:f,classes:"architecture-service-label"},d()),v.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),v.attr("transform","translate("+(b+x+4)+", "+(o+x+2)+")")}s.setElementForId(y.id,r)}}))},"drawGroups"),_t=t(async function(e,n,s,E){let m=d();for(let T of s){let G=n.append("g"),p=e.getConfigField("iconSize");if(T.title){let c=G.append("g");await lt(c,T.title,{useHtmlLabels:!1,width:p*1.5,classes:"architecture-service-label"},m),c.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),c.attr("transform","translate("+p/2+", "+p+")")}let x=G.append("g");if(T.icon)x.html(`<g>${await Xt(T.icon,{height:p,width:p,fallbackPrefix:tt.prefix})}</g>`);else if(T.iconText){x.html(`<g>${await Xt("blank",{height:p,width:p,fallbackPrefix:tt.prefix})}</g>`);let u=x.append("g").append("foreignObject").attr("width",p).attr("height",p).append("div").attr("class","node-icon-text").attr("style",`height: ${p}px;`).append("div").html(q(T.iconText,m)),h=parseInt(window.getComputedStyle(u.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;u.attr("style",`-webkit-line-clamp: ${Math.floor((p-2)/h)};`)}else x.append("path").attr("class","node-bkg").attr("id",`${E}-node-${T.id}`).attr("d",`M0,${p} V5 Q0,0 5,0 H${p-5} Q${p},0 ${p},5 V${p} Z`);G.attr("id",`${E}-service-${T.id}`).attr("class","architecture-service");let{width:l,height:y}=G.node().getBBox();T.width=l,T.height=y,e.setElementForId(T.id,G)}return 0},"drawServices"),Yt=t(function(e,n,s,E){s.forEach((m)=>{let T=n.append("g"),G=e.getConfigField("iconSize");T.append("g").append("rect").attr("id",`${E}-node-${m.id}`).attr("fill-opacity","0").attr("width",G).attr("height",G),T.attr("class","architecture-junction");let{width:x,height:l}=T._groups[0][0].getBBox();T.width=x,T.height=l,e.setElementForId(m.id,T)})},"drawJunctions");Wr([{name:tt.prefix,icons:tt}]);hn.use(mt.default);function yt(e,n,s){e.forEach((E)=>{n.add({group:"nodes",data:{type:"service",id:E.id,icon:E.icon,label:E.title,parent:E.in,width:s.getConfigField("iconSize"),height:s.getConfigField("iconSize")},classes:"node-service"})})}t(yt,"addServices");function Et(e,n,s){e.forEach((E)=>{n.add({group:"nodes",data:{type:"junction",id:E.id,parent:E.in,width:s.getConfigField("iconSize"),height:s.getConfigField("iconSize")},classes:"node-junction"})})}t(Et,"addJunctions");function wt(e,n){n.nodes().map((s)=>{let E=qe(s);if(E.type==="group")return;E.x=s.position().x,E.y=s.position().y,e.getElementById(E.id).attr("transform","translate("+(E.x||0)+","+(E.y||0)+")")})}t(wt,"positionNodes");function xt(e,n){e.forEach((s)=>{n.add({group:"nodes",data:{type:"group",id:s.id,icon:s.icon,label:s.title,parent:s.in},classes:"node-group"})})}t(xt,"addGroups");function Tt(e,n){e.forEach((s)=>{let{lhsId:E,rhsId:m,lhsInto:T,lhsGroup:G,rhsInto:p,lhsDir:x,rhsDir:l,rhsGroup:y,title:c}=s,f=st(s.lhsDir,s.rhsDir)?"segments":"straight",u={id:`${E}-${m}`,label:c,source:E,sourceDir:x,sourceArrow:T,sourceGroup:G,sourceEndpoint:x==="L"?"0 50%":x==="R"?"100% 50%":x==="T"?"50% 0":"50% 100%",target:m,targetDir:l,targetArrow:p,targetGroup:y,targetEndpoint:l==="L"?"0 50%":l==="R"?"100% 50%":l==="T"?"50% 0":"50% 100%"};n.add({group:"edges",data:u,classes:f})})}t(Tt,"addEdges");function At(e,n,s,E=[]){let m=t((f,u)=>{let h=new Map;for(let[r,z]of f.entries()){let b=`${r}`,o=0,v=[...z.entries()];if(v.length===1){h.set(b,v[0][1]);continue}for(let L=0;L<v.length-1;L++)for(let a=L+1;a<v.length;a++){let[S,Y]=v[L],[C,U]=v[a];if(s.get(gt(S,C))===u)h.set(b,[...h.get(b)??[],...Y,...U]);else if(S==="default"||C==="default")h.set(b,[...h.get(b)??[],...Y,...U]);else{let w=`${b}-${o++}`;h.set(w,Y);let _=`${b}-${o++}`;h.set(_,U)}}}return h},"flattenAlignments"),T=n.map((f)=>{let u=new Map,h=new Map;return f.forEach(([r,z],b)=>{let o=e.getNode(b)?.in??"default",v=u.get(z)??new Map;if(!u.has(z))u.set(z,v);let L=h.get(r)??new Map;if(!h.has(r))h.set(r,L);for(let a of[v,L]){let S=a.get(o)??[];if(!a.has(o))a.set(o,S);S.push(b)}}),{horiz:[...m(u,"horizontal").values()].filter((r)=>r.length>1),vert:[...m(h,"vertical").values()].filter((r)=>r.length>1)}}),[G,p]=T.reduce(([f,u],{horiz:h,vert:r})=>[[...f,...h],[...u,...r]],[[],[]]),x=new Set;E.forEach((f)=>f.members.forEach((u)=>x.add(u)));let l=t((f)=>f.filter((u)=>!u.some((h)=>x.has(h))),"dropOverlapping"),y=l(G),c=l(p);return E.forEach((f)=>{if(f.members.length<2)return;if(f.direction==="row")y.push([...f.members]);else c.push([...f.members])}),{horizontal:y,vertical:c}}t(At,"getAlignments");function Lt(e,n,s=[]){let E=[],m=n.getConfigField("iconSize"),T=n.getConfigField("idealEdgeLengthMultiplier"),G=T*m,p=new Set;s.forEach((y)=>{for(let c=0;c<y.members.length-1;c++){let f=y.members[c],u=y.members[c+1];if(p.add(`${f}|${u}`),p.add(`${u}|${f}`),y.direction==="row")E.push({left:f,right:u,gap:G});else E.push({top:f,bottom:u,gap:G})}});let x=t((y)=>`${y[0]},${y[1]}`,"posToStr"),l=t((y)=>y.split(",").map((c)=>parseInt(c)),"strToPos");return e.forEach((y)=>{let c=new Map([...y.entries()].map(([r,z])=>[x(z),r])),f=[x([0,0])],u={},h={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};while(f.length>0){let r=f.shift();if(r){u[r]=1;let z=c.get(r);if(z){let b=l(r);Object.entries(h).forEach(([o,v])=>{let L=x([b[0]+v[0],b[1]+v[1]]),a=c.get(L);if(a&&!u[L]){if(f.push(L),p.has(`${z}|${a}`))return;E.push({[dt[o]]:a,[dt[It(o)]]:z,gap:T*m})}})}}}}),E}t(Lt,"getRelativeConstraints");function Ct(e,n,s,E,m,{spatialMaps:T,groupAlignments:G}){return new Promise((p)=>{let x=g("body").append("div").attr("id","cy").attr("style","display:none"),l=hn({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge[label]",style:{label:"data(label)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[0.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${m.getConfigField("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${m.getConfigField("padding")}px`}}],layout:{name:"grid",boundingBox:{x1:0,x2:100,y1:0,y2:100}}});x.remove(),xt(s,l),yt(e,l,m),Et(n,l,m),Tt(E,l);let y=m.getLayoutHints(),c=At(m,T,G,y),f=Lt(T,m,y),u=m.getConfigField("iconSize"),h=m.getConfigField("idealEdgeLengthMultiplier")*u,r=0.5*u,z=m.getConfigField("edgeElasticity"),b=m.getConfigField("seed"),o=l.layout({name:"fcose",quality:"proof",randomize:m.getConfigField("randomize"),nodeSeparation:m.getConfigField("nodeSeparation"),numIter:m.getConfigField("numIter"),styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(v){let[L,a]=v.connectedNodes(),{parent:S}=qe(L),{parent:Y}=qe(a);return S===Y?h:r},edgeElasticity(v){let[L,a]=v.connectedNodes(),{parent:S}=qe(L),{parent:Y}=qe(a);return S===Y?z:0.001},alignmentConstraint:c,relativePlacementConstraint:f});o.one("layoutstop",()=>{function v(L,a,S,Y){let C,U,{x:B,y:w}=L,{x:_,y:X}=a;U=(Y-w+(B-S)*(w-X)/(B-_))/Math.sqrt(1+Math.pow((w-X)/(B-_),2)),C=Math.sqrt(Math.pow(Y-w,2)+Math.pow(S-B,2)-Math.pow(U,2));let j=Math.sqrt(Math.pow(_-B,2)+Math.pow(X-w,2));C=C/j;let oe=(_-B)*(Y-w)-(X-w)*(S-B);switch(!0){case oe>=0:oe=1;break;case oe<0:oe=-1;break}let ee=(_-B)*(S-B)+(X-w)*(Y-w);switch(!0){case ee>=0:ee=1;break;case ee<0:ee=-1;break}return U=Math.abs(U)*oe,C=C*ee,{distances:U,weights:C}}t(v,"getSegmentWeights"),l.startBatch();for(let L of Object.values(l.edges()))if(L.data?.()){let{x:a,y:S}=L.source().position(),{x:Y,y:C}=L.target().position();if(a!==Y&&S!==C){let U=L.sourceEndpoint(),B=L.targetEndpoint(),{sourceDir:w}=ht(L),[_,X]=_e(w)?[U.x,B.y]:[B.x,U.y],{weights:j,distances:oe}=v(U,B,_,X);L.style("segment-distances",oe),L.style("segment-weights",j)}}l.endBatch(),ot(b,()=>o.run())});try{ot(b,()=>o.run())}catch(v){if(v instanceof RangeError&&v.message.includes("Invalid array length"))throw Error("Architecture layout failed: a declared `align row|column` directive likely contradicts the edge directions, or two declared alignments overlap on a shared node. Check that the order of members in each `align` chain is consistent with the edges between them, and that no node appears in two `align` directives along the same axis.");throw v}l.ready((v)=>{i.info("Ready",v),p(l)})})}t(Ct,"layoutArchitecture");var Ut=t(async(e,n,s,E)=>{let m=E.db;m.setDiagramId(n);let T=m.getServices(),G=m.getJunctions(),p=m.getGroups(),x=m.getEdges(),l=m.getDataStructures(),y=J(n),c=y.append("g");c.attr("class","architecture-edges");let f=y.append("g");f.attr("class","architecture-services");let u=y.append("g");u.attr("class","architecture-groups"),await _t(m,f,T,n),Yt(m,f,G,n);let h=await Ct(T,G,p,x,m,l);await zt(c,h,m,n),await Bt(u,h,m,n),wt(m,h),dn(void 0,y,m.getConfigField("padding"),m.getConfigField("useMaxWidth"))},"draw"),Ht={draw:Ut},ir={parser:pt,get db(){return new vt},renderer:Ht,styles:Gt};export{ir as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Ls}from"./chunk-x9mexzav.js";import"./chunk-6ycpdpfj.js";export{Ls as default};
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ import{r}from"./chunk-6ycpdpfj.js";var e=Object.freeze({displayName:"CSS",name:"css",patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#combinators"},{include:"#selector"},{include:"#at-rules"},{include:"#rule-list"}],repository:{"at-rules":{patterns:[{begin:/^\uFEFF?(?=\p{space}*@charset\b)/dgiv,end:/;|(?=(?=\n?$))/dgv,endCaptures:{"0":{name:"punctuation.terminator.rule.css"}},name:"meta.at-rule.charset.css",patterns:[{captures:{"1":{name:"invalid.illegal.not-lowercase.charset.css"},"2":{name:"invalid.illegal.leading-whitespace.charset.css"},"3":{name:"invalid.illegal.no-whitespace.charset.css"},"4":{name:"invalid.illegal.whitespace.charset.css"},"5":{name:"invalid.illegal.not-double-quoted.charset.css"},"6":{name:"invalid.illegal.unclosed-string.charset.css"},"7":{name:"invalid.illegal.unexpected-characters.charset.css"}},match:new r('^((?!@charset)@[\\p{L}\\p{M}\\p{N}\\p{Pc}]+)|^(\\p{space}+)|(@charset\\P{space}[^\\;]*)|(?<=@charset)( {2,}|\\t+)|(?<=@charset )([^"\\;]+)|("[^"]+)(?=\\n?$)|(?<=")([^\\;]+)',"dgv",{strategy:"clip_search"})},{captures:{"1":{name:"keyword.control.at-rule.charset.css"},"2":{name:"punctuation.definition.keyword.css"}},match:/((@)charset)(?=\p{space})/dgv},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.css"}},end:/"|(?=\n?$)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.css"}},name:"string.quoted.double.css",patterns:[{begin:new r('(?:^|^)(?=[^"]+(?=\\n?$))',"dgv",{strategy:"clip_search"}),end:/(?=\n?$)/dgv,name:"invalid.illegal.unclosed.string.css"}]}]},{begin:/((@)import)(?:\p{space}+|(?=\n?$)|(?=["']|\/\*))/dgiv,beginCaptures:{"1":{name:"keyword.control.at-rule.import.css"},"2":{name:"punctuation.definition.keyword.css"}},end:/;/dgv,endCaptures:{"0":{name:"punctuation.terminator.rule.css"}},name:"meta.at-rule.import.css",patterns:[{begin:/\p{space}*(?=\/\*)/dgvy,end:/(?<=\*\/)\p{space}*/dgv,patterns:[{include:"#comment-block"}]},{include:"#string"},{include:"#url"},{include:"#media-query-list"}]},{begin:/((@)font-face)(?=\p{space}*|\{|\/\*|(?=\n?$))/dgiv,beginCaptures:{"1":{name:"keyword.control.at-rule.font-face.css"},"2":{name:"punctuation.definition.keyword.css"}},end:new r("(?!^)","dgv",{strategy:"clip_search"}),name:"meta.at-rule.font-face.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#rule-list"}]},{begin:/(@)page(?=[\:\{\p{space}]|\/\*|(?=\n?$))/dgiv,captures:{"0":{name:"keyword.control.at-rule.page.css"},"1":{name:"punctuation.definition.keyword.css"}},end:/(?=\p{space}*((?=\n?$)|[\:\;\{]))/dgv,name:"meta.at-rule.page.css",patterns:[{include:"#rule-list"}]},{begin:/(?=@media([\(\p{space}]|\/\*|(?=\n?$)))/dgiv,end:new r("(?<=\\})(?!^)","dgv",{strategy:"clip_search"}),patterns:[{begin:/(@)media/dgivy,beginCaptures:{"0":{name:"keyword.control.at-rule.media.css"},"1":{name:"punctuation.definition.keyword.css"}},end:/(?=\p{space}*[\;\{])/dgv,name:"meta.at-rule.media.header.css",patterns:[{include:"#media-query-list"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.media.begin.bracket.curly.css"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.media.end.bracket.curly.css"}},name:"meta.at-rule.media.body.css",patterns:[{include:"$self"}]}]},{begin:/(?=@counter-style(["'\;\{\p{space}]|\/\*|(?=\n?$)))/dgiv,end:new r("(?<=\\})(?!^)","dgv",{strategy:"clip_search"}),patterns:[{begin:/(@)counter-style/dgivy,beginCaptures:{"0":{name:"keyword.control.at-rule.counter-style.css"},"1":{name:"punctuation.definition.keyword.css"}},end:/(?=\p{space}*\{)/dgv,name:"meta.at-rule.counter-style.header.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{captures:{"0":{patterns:[{include:"#escapes"}]}},match:/[\-A-Z_a-z[^\x00-\x7F]](?:[\-0-9A-Z_a-z[^\x00-\x7F]]|\\(?:\p{AHex}{1,6}|[^\n]))*/dgv,name:"variable.parameter.style-name.css"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.property-list.begin.bracket.curly.css"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.property-list.end.bracket.curly.css"}},name:"meta.at-rule.counter-style.body.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#rule-list-innards"}]}]},{begin:/(?=@document(["'\;\{\p{space}]|\/\*|(?=\n?$)))/dgiv,end:new r("(?<=\\})(?!^)","dgv",{strategy:"clip_search"}),patterns:[{begin:/(@)document/dgivy,beginCaptures:{"0":{name:"keyword.control.at-rule.document.css"},"1":{name:"punctuation.definition.keyword.css"}},end:/(?=\p{space}*[\;\{])/dgv,name:"meta.at-rule.document.header.css",patterns:[{begin:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(url-prefix|domain|regexp)(\()/dgiv,beginCaptures:{"1":{name:"support.function.document-rule.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.document-rule.css",patterns:[{include:"#string"},{include:"#comment-block"},{include:"#escapes"},{match:/[^"'\)\p{space}]+/dgv,name:"variable.parameter.document-rule.css"}]},{include:"#url"},{include:"#commas"},{include:"#comment-block"},{include:"#escapes"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.document.begin.bracket.curly.css"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.document.end.bracket.curly.css"}},name:"meta.at-rule.document.body.css",patterns:[{include:"$self"}]}]},{begin:/(?=@(?:-(?:webkit|moz|o|ms)-)?keyframes(["'\;\{\p{space}]|\/\*|(?=\n?$)))/dgiv,end:new r("(?<=\\})(?!^)","dgv",{strategy:"clip_search"}),patterns:[{begin:/(@)(?:-(?:webkit|moz|o|ms)-)?keyframes/dgivy,beginCaptures:{"0":{name:"keyword.control.at-rule.keyframes.css"},"1":{name:"punctuation.definition.keyword.css"}},end:/(?=\p{space}*\{)/dgv,name:"meta.at-rule.keyframes.header.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{captures:{"0":{patterns:[{include:"#escapes"}]}},match:/[\-A-Z_a-z[^\x00-\x7F]](?:[\-0-9A-Z_a-z[^\x00-\x7F]]|\\(?:\p{AHex}{1,6}|[^\n]))*/dgv,name:"variable.parameter.keyframe-list.css"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.keyframes.begin.bracket.curly.css"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.keyframes.end.bracket.curly.css"}},name:"meta.at-rule.keyframes.body.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{captures:{"1":{name:"entity.other.keyframe-offset.css"},"2":{name:"entity.other.keyframe-offset.percentage.css"}},match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(from|to)(?![\-\p{L}\p{M}\p{N}\p{Pc}])|([\-\+]?(?:\p{Nd}+(?:\.\p{Nd}+)?|\.\p{Nd}+)%)/dgiv},{include:"#rule-list"}]}]},{begin:/(?=@supports([\(\p{space}]|\/\*|(?=\n?$)))/dgiv,end:new r("(?<=\\})(?!^)|(?=;)","dgv",{strategy:"clip_search"}),patterns:[{begin:/(@)supports/dgivy,beginCaptures:{"0":{name:"keyword.control.at-rule.supports.css"},"1":{name:"punctuation.definition.keyword.css"}},end:/(?=\p{space}*[\;\{])/dgv,name:"meta.at-rule.supports.header.css",patterns:[{include:"#feature-query-operators"},{include:"#feature-query"},{include:"#comment-block"},{include:"#escapes"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.supports.begin.bracket.curly.css"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.supports.end.bracket.curly.css"}},name:"meta.at-rule.supports.body.css",patterns:[{include:"$self"}]}]},{begin:/((@)(-(ms|o)-)?viewport)(?=["'\;\{\p{space}]|\/\*|(?=\n?$))/dgiv,beginCaptures:{"1":{name:"keyword.control.at-rule.viewport.css"},"2":{name:"punctuation.definition.keyword.css"}},end:/(?=\p{space}*[\;\@\{])/dgv,name:"meta.at-rule.viewport.css",patterns:[{include:"#comment-block"},{include:"#escapes"}]},{begin:/((@)font-feature-values)(?=["'\;\{\p{space}]|\/\*|(?=\n?$))\p{space}*/dgiv,beginCaptures:{"1":{name:"keyword.control.at-rule.font-feature-values.css"},"2":{name:"punctuation.definition.keyword.css"}},contentName:"variable.parameter.font-name.css",end:/(?=\p{space}*[\;\@\{])/dgv,name:"meta.at-rule.font-features.css",patterns:[{include:"#comment-block"},{include:"#escapes"}]},{include:"#font-features"},{begin:/((@)namespace)(?=["'\;\p{space}]|\/\*|(?=\n?$))/dgiv,beginCaptures:{"1":{name:"keyword.control.at-rule.namespace.css"},"2":{name:"punctuation.definition.keyword.css"}},end:/;|(?=[\@\{])/dgv,endCaptures:{"0":{name:"punctuation.terminator.rule.css"}},name:"meta.at-rule.namespace.css",patterns:[{include:"#url"},{captures:{"1":{patterns:[{include:"#comment-block"}]},"2":{name:"entity.name.function.namespace-prefix.css",patterns:[{include:"#escapes"}]}},match:new r("(?:^|^|(?<=\\p{space}))(?=(?<=\\p{space}|^)[\\-A-Z_a-z[^\\x00-\\x7F]]|\\p{space}*/\\*(?:[^\\*]|\\*[^\\/])*\\*/)([^\\n]*?)([\\-A-Z_a-z[^\\x00-\\x7F]](?:[\\-0-9A-Z_a-z[^\\x00-\\x7F]]|\\\\(?:\\p{AHex}{1,6}|[^\\n]))*)","dgiv",{strategy:"clip_search"})},{include:"#comment-block"},{include:"#escapes"},{include:"#string"}]},{begin:/(?=@[\-\p{L}\p{M}\p{N}\p{Pc}]+[^\;]+;s*(?=\n?$))/dgiv,end:new r("(?<=;)(?!^)","dgv",{strategy:"clip_search"}),patterns:[{begin:/(@)[\-\p{L}\p{M}\p{N}\p{Pc}]+/dgvy,beginCaptures:{"0":{name:"keyword.control.at-rule.css"},"1":{name:"punctuation.definition.keyword.css"}},end:/;/dgv,endCaptures:{"0":{name:"punctuation.terminator.rule.css"}},name:"meta.at-rule.header.css"}]},{begin:/(?=@[\-\p{L}\p{M}\p{N}\p{Pc}]+([\(\{\p{space}]|\/\*|(?=\n?$)))/dgv,end:new r("(?<=\\})(?!^)","dgv",{strategy:"clip_search"}),patterns:[{begin:/(@)[\-\p{L}\p{M}\p{N}\p{Pc}]+/dgvy,beginCaptures:{"0":{name:"keyword.control.at-rule.css"},"1":{name:"punctuation.definition.keyword.css"}},end:/(?=\p{space}*[\;\{])/dgv,name:"meta.at-rule.header.css"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.begin.bracket.curly.css"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.end.bracket.curly.css"}},name:"meta.at-rule.body.css",patterns:[{include:"$self"}]}]}]},"color-keywords":{patterns:[{match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)(?![\-\p{L}\p{M}\p{N}\p{Pc}])/dgiv,name:"support.constant.color.w3c-standard-color-name.css"},{match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(aliceblue|antiquewhite|aquamarine|azure|beige|bisque|blanchedalmond|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|gainsboro|ghostwhite|gold|goldenrod|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|limegreen|linen|magenta|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|oldlace|olivedrab|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|rebeccapurple|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato|transparent|turquoise|violet|wheat|whitesmoke|yellowgreen)(?![\-\p{L}\p{M}\p{N}\p{Pc}])/dgiv,name:"support.constant.color.w3c-extended-color-name.css"},{match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])currentColor(?![\-\p{L}\p{M}\p{N}\p{Pc}])/dgiv,name:"support.constant.color.current.css"},{match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText)(?![\-\p{L}\p{M}\p{N}\p{Pc}])/dgiv,name:"invalid.deprecated.color.system.css"}]},combinators:{patterns:[{match:/\/deep\/|>>>/dgv,name:"invalid.deprecated.combinator.css"},{match:/>>|[\+\>\~]/dgv,name:"keyword.operator.combinator.css"}]},commas:{match:/,/dgv,name:"punctuation.separator.list.comma.css"},"comment-block":{begin:/\/\*/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.css"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.css"}},name:"comment.block.css"},escapes:{patterns:[{match:/\\\p{AHex}{1,6}/dgv,name:"constant.character.escape.codepoint.css"},{begin:/\\(?=\n?$)\p{space}*/dgv,end:new r("^(?<!^)","dgv",{strategy:"clip_search"}),name:"constant.character.escape.newline.css"},{match:/\\[^\n]/dgv,name:"constant.character.escape.css"}]},"feature-query":{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.condition.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.condition.end.bracket.round.css"}},name:"meta.feature-query.css",patterns:[{include:"#feature-query-operators"},{include:"#feature-query"}]},"feature-query-operators":{patterns:[{match:/(?<=[\(\)\p{space}]|^|\*\/)(and|not|or)(?=[\(\)\p{space}]|\/\*|(?=\n?$))/dgiv,name:"keyword.operator.logical.feature.$1.css"},{include:"#rule-list-innards"}]},"font-features":{begin:/((@)(annotation|character-variant|ornaments|styleset|stylistic|swash))(?=["'\;\@\{\p{space}]|\/\*|(?=\n?$))/dgiv,beginCaptures:{"1":{name:"keyword.control.at-rule.${3:/downcase}.css"},"2":{name:"punctuation.definition.keyword.css"}},end:/(?<=\})/dgv,name:"meta.at-rule.${3:/downcase}.css",patterns:[{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.property-list.begin.bracket.curly.css"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.property-list.end.bracket.curly.css"}},name:"meta.property-list.font-feature.css",patterns:[{captures:{"0":{patterns:[{include:"#escapes"}]}},match:/[\-A-Z_a-z[^\x00-\x7F]](?:[\-0-9A-Z_a-z[^\x00-\x7F]]|\\(?:\p{AHex}{1,6}|[^\n]))*/dgv,name:"variable.font-feature.css"},{include:"#rule-list-innards"}]}]},"functional-pseudo-classes":{patterns:[{begin:/((:)dir)(\()/dgiv,beginCaptures:{"1":{name:"entity.other.attribute-name.pseudo-class.css"},"2":{name:"punctuation.definition.entity.css"},"3":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},patterns:[{include:"#comment-block"},{include:"#escapes"},{match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(ltr|rtl)(?![\-\p{L}\p{M}\p{N}\p{Pc}])/dgiv,name:"support.constant.text-direction.css"},{include:"#property-values"}]},{begin:/((:)lang)(\()/dgiv,beginCaptures:{"1":{name:"entity.other.attribute-name.pseudo-class.css"},"2":{name:"punctuation.definition.entity.css"},"3":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},patterns:[{match:/(?<=[\(\,\p{space}])[A-Za-z]+(-[0-9A-Za-z]*|\\(?:\p{AHex}{1,6}|[^\n]))*(?=[\)\,\p{space}])/dgv,name:"support.constant.language-range.css"},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.css"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.css"}},name:"string.quoted.double.css",patterns:[{include:"#escapes"},{match:/(?<=["\p{space}])[\*A-Za-z]+(-[\*0-9A-Za-z]*)*(?=["\p{space}])/dgv,name:"support.constant.language-range.css"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.css"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.css"}},name:"string.quoted.single.css",patterns:[{include:"#escapes"},{match:/(?<=['\p{space}])[\*A-Za-z]+(-[\*0-9A-Za-z]*)*(?=['\p{space}])/dgv,name:"support.constant.language-range.css"}]},{include:"#commas"}]},{begin:/((:)(?:not|has|matches|where|is))(\()/dgiv,beginCaptures:{"1":{name:"entity.other.attribute-name.pseudo-class.css"},"2":{name:"punctuation.definition.entity.css"},"3":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},patterns:[{include:"#selector-innards"}]},{begin:/((:)nth-(?:last-)?(?:child|of-type))(\()/dgiv,beginCaptures:{"1":{name:"entity.other.attribute-name.pseudo-class.css"},"2":{name:"punctuation.definition.entity.css"},"3":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},patterns:[{match:/[\-\+]?(\p{Nd}+n?|n)(\p{space}*[\-\+]\p{space}*\p{Nd}+)?/dgiv,name:"constant.numeric.css"},{match:/even|odd/dgiv,name:"support.constant.parity.css"}]}]},functions:{patterns:[{begin:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(calc)(\()/dgiv,beginCaptures:{"1":{name:"support.function.calc.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.calc.css",patterns:[{match:/[\*\/]|(?<=\p{space}|^)[\-\+](?=\p{space}|(?=\n?$))/dgv,name:"keyword.operator.arithmetic.css"},{include:"#property-values"}]},{begin:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(rgba?|hsla?|hwb|lab|oklab|lch|oklch|color)(\()/dgiv,beginCaptures:{"1":{name:"support.function.misc.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.color.css",patterns:[{include:"#property-values"}]},{begin:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])((?:-(?:webkit-|moz-|o-))?(?:repeating-)?(?:linear|radial|conic)-gradient)(\()/dgiv,beginCaptures:{"1":{name:"support.function.gradient.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.gradient.css",patterns:[{match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(from|to|at|in|hue)(?![\-\p{L}\p{M}\p{N}\p{Pc}])/dgiv,name:"keyword.operator.gradient.css"},{include:"#property-values"}]},{begin:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(-webkit-gradient)(\()/dgiv,beginCaptures:{"1":{name:"invalid.deprecated.gradient.function.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.gradient.invalid.deprecated.gradient.css",patterns:[{begin:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(from|to|color-stop)(\()/dgiv,beginCaptures:{"1":{name:"invalid.deprecated.function.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},patterns:[{include:"#property-values"}]},{include:"#property-values"}]},{begin:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(annotation|attr|blur|brightness|character-variant|clamp|contrast|counters?|cross-fade|drop-shadow|element|fit-content|format|grayscale|hue-rotate|color-mix|image-set|invert|local|max|min|minmax|opacity|ornaments|repeat|saturate|sepia|styleset|stylistic|swash|symbols|cos|sin|tan|acos|asin|atan2??|hypot|sqrt|pow|log|exp|abs|sign)(\()/dgiv,beginCaptures:{"1":{name:"support.function.misc.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.misc.css",patterns:[{match:/(?<=["\,\p{space}]|\*\/|^)\p{Nd}+x(?=["'\)\,\p{space}]|\/\*|(?=\n?$))/dgiv,name:"constant.numeric.other.density.css"},{include:"#property-values"},{match:/[^"'\)\,\p{space}]+/dgv,name:"variable.parameter.misc.css"}]},{begin:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(circle|ellipse|inset|polygon|rect)(\()/dgiv,beginCaptures:{"1":{name:"support.function.shape.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.shape.css",patterns:[{match:/(?<=\p{space}|^|\*\/)(at|round)(?=\p{space}|\/\*|(?=\n?$))/dgiv,name:"keyword.operator.shape.css"},{include:"#property-values"}]},{begin:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(cubic-bezier|steps)(\()/dgiv,beginCaptures:{"1":{name:"support.function.timing-function.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.timing-function.css",patterns:[{match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(start|end)(?=\p{space}*\)|(?=\n?$))/dgiv,name:"support.constant.step-direction.css"},{include:"#property-values"}]},{begin:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])((?:translate|scale|rotate)(?:[XYZ]|3D)?|matrix(?:3D)?|skew[XY]?|perspective)(\()/dgiv,beginCaptures:{"1":{name:"support.function.transform.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},patterns:[{include:"#property-values"}]},{include:"#url"},{begin:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(var)(\()/dgiv,beginCaptures:{"1":{name:"support.function.misc.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.variable.css",patterns:[{match:/--[\-A-Z_a-z[^\x00-\x7F]](?:[\-0-9A-Z_a-z[^\x00-\x7F]]|\\(?:\p{AHex}{1,6}|[^\n]))*/dgv,name:"variable.argument.css"},{include:"#property-values"}]}]},"media-feature-keywords":{match:/(?<=^|[\:\p{space}]|\*\/)(?:portrait|landscape|progressive|interlace|fullscreen|standalone|minimal-ui|browser|hover)(?=[\)\p{space}]|(?=\n?$))/dgiv,name:"support.constant.property-value.css"},"media-features":{captures:{"1":{name:"support.type.property-name.media.css"},"2":{name:"support.type.property-name.media.css"},"3":{name:"support.type.vendored.property-name.media.css"}},match:/(?<=^|[\(\p{space}]|\*\/)(?:((?:m(?:in-|ax-))?(?:height|width|aspect-ratio|color|color-index|monochrome|resolution)|grid|scan|orientation|display-mode|hover)|((?:m(?:in-|ax-))?device-(?:height|width|aspect-ratio))|((?:[\-_](?:webkit|apple|khtml|epub|moz|ms|o|xv|ah|rim|atsc|hp|tc|wap|ro)|(?:mso|prince))-[\-\p{L}\p{M}\p{N}\p{Pc}]+(?=\p{space}*(?:\/\*(?:[^\*]|\*[^\/])*\*\/)?\p{space}*[\)\:])))(?=\p{space}|(?=\n?$)|[\)\:\<\=\>]|\/\*)/dgiv},"media-query":{begin:/(?:)/dgv,end:/(?=\p{space}*[\;\{])/dgv,patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#media-types"},{match:/(?<=\p{space}|^|,|\*\/)(only|not)(?=[\{\p{space}]|\/\*|(?=\n?$))/dgiv,name:"keyword.operator.logical.$1.media.css"},{match:/(?<=\p{space}|^|\*\/|\))and(?=\p{space}|\/\*|(?=\n?$))/dgiv,name:"keyword.operator.logical.and.media.css"},{match:/,(?:(?:\p{space}*,)+|(?=\p{space}*[\)\;\{]))/dgv,name:"invalid.illegal.comma.css"},{include:"#commas"},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.parameters.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.bracket.round.css"}},patterns:[{include:"#media-features"},{include:"#media-feature-keywords"},{match:/:/dgv,name:"punctuation.separator.key-value.css"},{match:/>=|<=|[\<\=\>]/dgv,name:"keyword.operator.comparison.css"},{captures:{"1":{name:"constant.numeric.css"},"2":{name:"keyword.operator.arithmetic.css"},"3":{name:"constant.numeric.css"}},match:/(\p{Nd}+)\p{space}*(\/)\p{space}*(\p{Nd}+)/dgv,name:"meta.ratio.css"},{include:"#numeric-values"},{include:"#comment-block"}]}]},"media-query-list":{begin:/(?=\p{space}*[^\;\{])/dgv,end:/(?=\p{space}*[\;\{])/dgv,patterns:[{include:"#media-query"}]},"media-types":{captures:{"1":{name:"support.constant.media.css"},"2":{name:"invalid.deprecated.constant.media.css"}},match:/(?<=^|[\,\p{space}]|\*\/)(?:(all|print|screen|speech)|(aural|braille|embossed|handheld|projection|tty|tv))(?=(?=\n?$)|[\,\;\{\p{space}]|\/\*)/dgiv},"numeric-values":{patterns:[{captures:{"1":{name:"punctuation.definition.constant.css"}},match:/(#)(?:\p{AHex}{3,4}|\p{AHex}{6}|\p{AHex}{8})\b/dgv,name:"constant.other.color.rgb-value.hex.css"},{captures:{"1":{name:"keyword.other.unit.percentage.css"},"2":{name:"keyword.other.unit.${2:/downcase}.css"}},match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])[\-\+]?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)(?:(?<=[0-9])E[\-\+]?[0-9]+)?(?:(%)|(deg|grad|rad|turn|Hz|kHz|ch|cm|em|ex|fr|in|mm|mozmm|pc|pt|px|q|rem|rch|rex|rlh|ic|ric|rcap|vh|vw|vb|vi|svh|svw|svb|svi|dvh|dvw|dvb|dvi|lvh|lvw|lvb|lvi|vmax|vmin|cqw|cqi|cqh|cqb|cqmin|cqmax|dpi|dpcm|dppx|s|ms)\b)?/dgiv,name:"constant.numeric.css"}]},"property-keywords":{patterns:[{match:new r("(?<![\\-\\p{L}\\p{M}\\p{N}\\p{Pc}])(above|absolute|active|add|additive|after-edge|alias|all|all-petite-caps|all-scroll|all-small-caps|alpha|alphabetic|alternate|alternate-reverse|always|antialiased|auto|auto-fill|auto-fit|auto-pos|available|avoid|avoid-column|avoid-page|avoid-region|backwards|balance|baseline|before-edge|below|bevel|bidi-override|blink|block|block-axis|block-start|block-end|bold|bolder|border|border-box|both|bottom|bottom-outside|break-all|break-word|bullets|butt|capitalize|caption|cell|center|central|char|circle|clip|clone|close-quote|closest-corner|closest-side|col-resize|collapse|color|color-burn|color-dodge|column|column-reverse|common-ligatures|compact|condensed|contain|content|content-box|contents|context-menu|contextual|copy|cover|crisp-edges|crispEdges|crosshair|cyclic|dark|darken|dashed|decimal|default|dense|diagonal-fractions|difference|digits|disabled|disc|discretionary-ligatures|distribute|distribute-all-lines|distribute-letter|distribute-space|dot|dotted|double|double-circle|downleft|downright|e-resize|each-line|ease|ease-in|ease-in-out|ease-out|economy|ellipse|ellipsis|embed|end|evenodd|ew-resize|exact|exclude|exclusion|expanded|extends|extra-condensed|extra-expanded|fallback|farthest-corner|farthest-side|fill|fill-available|fill-box|filled|fit-content|fixed|flat|flex|flex-end|flex-start|flip|flow|flow-root|forwards|freeze|from-image|full-width|geometricPrecision|georgian|grab|grabbing|grayscale|grid|groove|hand|hanging|hard-light|help|hidden|hide|historical-forms|historical-ligatures|horizontal|horizontal-tb|hue|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|infinite|inherit|initial|inline|inline-axis|inline-block|inline-end|inline-flex|inline-grid|inline-list-item|inline-start|inline-table|inset|inside|inter-character|inter-ideograph|inter-word|intersect|invert|isolate|isolate-override|italic|jis04|jis78|jis83|jis90|justify|justify-all|kannada|keep-all|landscape|larger??|left|light|lighten|lighter|line|line-edge|line-through|linear|linearRGB|lining-nums|list-item|local|loose|lowercase|lr|lr-tb|ltr|luminance|luminosity|main-size|mandatory|manipulation|manual|margin-box|match-parent|match-source|mathematical|max-content|medium|menu|message-box|middle|min-content|miter|mixed|move|multiply|n-resize|narrower|ne-resize|nearest-neighbor|nesw-resize|newspaper|no-change|no-clip|no-close-quote|no-common-ligatures|no-contextual|no-discretionary-ligatures|no-drop|no-historical-ligatures|no-open-quote|no-repeat|none|nonzero|normal|not-allowed|nowrap|ns-resize|numbers|numeric|nw-resize|nwse-resize|oblique|oldstyle-nums|open|open-quote|optimizeLegibility|optimizeQuality|optimizeSpeed|optional|ordinal|outset|outside|over|overlay|overline|padding|padding-box|page|painted|pan-down|pan-left|pan-right|pan-up|pan-x|pan-y|paused|petite-caps|pixelated|plaintext|pointer|portrait|pre|pre-line|pre-wrap|preserve-3d|progress|progressive|proportional-nums|proportional-width|proximity|radial|recto|region|relative|remove|repeat|repeat-[xy]|reset-size|reverse|revert|revert-layer|ridge|right|rl|rl-tb|round|row|row-resize|row-reverse|row-severse|rtl|ruby|ruby-base|ruby-base-container|ruby-text|ruby-text-container|run-in|running|s-resize|saturation|scale-down|screen|scroll|scroll-position|se-resize|semi-condensed|semi-expanded|separate|sesame|show|sideways|sideways-left|sideways-lr|sideways-right|sideways-rl|simplified|slashed-zero|slice|small|small-caps|small-caption|smaller|smooth|soft-light|solid|space|space-around|space-between|space-evenly|spell-out|square|sRGB|stacked-fractions|start|static|status-bar|swap|step-end|step-start|sticky|stretch|strict|stroke|stroke-box|style|sub|subgrid|subpixel-antialiased|subtract|super|sw-resize|symbolic|table|table-caption|table-cell|table-column|table-column-group|table-footer-group|table-header-group|table-row|table-row-group|tabular-nums|tb|tb-rl|text|text-after-edge|text-before-edge|text-bottom|text-top|thick|thin|titling-caps|top|top-outside|touch|traditional|transparent|triangle|ultra-condensed|ultra-expanded|under|underline|unicase|unset|upleft|uppercase|upright|use-glyph-orientation|use-script|verso|vertical|vertical-ideographic|vertical-lr|vertical-rl|vertical-text|view-box|visible|visibleFill|visiblePainted|visibleStroke|w-resize|wait|wavy|weight|whitespace|wider|words|wrap|wrap-reverse|x|x-large|x-small|xx-large|xx-small|y|zero|zoom-in|zoom-out)(?![\\-\\p{L}\\p{M}\\p{N}\\p{Pc}])","dgiv",{lazyCompile:!0}),name:"support.constant.property-value.css"},{match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(arabic-indic|armenian|bengali|cambodian|circle|cjk-decimal|cjk-earthly-branch|cjk-heavenly-stem|cjk-ideographic|decimal|decimal-leading-zero|devanagari|disc|disclosure-closed|disclosure-open|ethiopic-halehame-am|ethiopic-halehame-ti-e[rt]|ethiopic-numeric|georgian|gujarati|gurmukhi|hangul|hangul-consonant|hebrew|hiragana|hiragana-iroha|japanese-formal|japanese-informal|kannada|katakana|katakana-iroha|khmer|korean-hangul-formal|korean-hanja-formal|korean-hanja-informal|lao|lower-alpha|lower-armenian|lower-greek|lower-latin|lower-roman|malayalam|mongolian|myanmar|oriya|persian|simp-chinese-formal|simp-chinese-informal|square|tamil|telugu|thai|tibetan|trad-chinese-formal|trad-chinese-informal|upper-alpha|upper-armenian|upper-latin|upper-roman|urdu)(?![\-\p{L}\p{M}\p{N}\p{Pc}])/dgiv,name:"support.constant.property-value.list-style-type.css"},{match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(?:-(?:[Aa][Hh]|[Aa][Pp][Pp][Ll][Ee]|[Aa][Tt][Ssſ][Cc]|[Ee][Pp][Uu][Bb]|[Hh][Pp]|[KKk][Hh][Tt][Mm][Ll]|[Mm][Oo][Zz]|[Mm][Ssſ]|[Oo]|[Rr][Ii][Mm]|[Rr][Oo]|[Tt][Cc]|[Ww][Aa][Pp]|[Ww][Ee][Bb][KKk][Ii][Tt]|[Xx][Vv])|(?:[Mm][Ssſ][Oo]|[Pp][Rr][Ii][Nn][Cc][Ee]))-[\-A-Za-z]+/dgv,name:"support.constant.vendored.property-value.css"},{match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(?:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system-ui|system|tahoma|times|trebuchet|ui-monospace|ui-rounded|ui-sans-serif|ui-serif|utopia|verdana|webdings|sans-serif|serif|monospace)(?![\-\p{L}\p{M}\p{N}\p{Pc}])/dgiv,name:"support.constant.font-name.css"}]},"property-names":{patterns:[{match:new r("(?<![\\-\\p{L}\\p{M}\\p{N}\\p{Pc}])(?:accent-color|additive-symbols|align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|aspect-ratio|backdrop-filter|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-position-[xy]|background-repeat|background-size|bleed|block-size|border|border-block-end|border-block-end-color|border-block-end-style|border-block-end-width|border-block-start|border-block-start-color|border-block-start-style|border-block-start-width|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-end-end-radius|border-end-start-radius|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-inline-end|border-inline-end-color|border-inline-end-style|border-inline-end-width|border-inline-start|border-inline-start-color|border-inline-start-style|border-inline-start-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-start-end-radius|border-start-start-radius|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-decoration-break|box-shadow|box-sizing|break-after|break-before|break-inside|caption-side|caret-color|clear|clip|clip-path|clip-rule|color|color-adjust|color-interpolation-filters|color-scheme|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|contain|container|container-name|container-type|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|enable-background|fallback|fill|fill-opacity|fill-rule|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|flood-color|flood-opacity|font|font-display|font-family|font-feature-settings|font-kerning|font-language-override|font-optical-sizing|font-size|font-size-adjust|font-stretch|font-style|font-synthesis|font-variant|font-variant-alternates|font-variant-caps|font-variant-east-asian|font-variant-ligatures|font-variant-numeric|font-variant-position|font-variation-settings|font-weight|gap|glyph-orientation-horizontal|glyph-orientation-vertical|grid|grid-area|grid-auto-columns|grid-auto-flow|grid-auto-rows|grid-column|grid-column-end|grid-column-gap|grid-column-start|grid-gap|grid-row|grid-row-end|grid-row-gap|grid-row-start|grid-template|grid-template-areas|grid-template-columns|grid-template-rows|hanging-punctuation|height|hyphens|image-orientation|image-rendering|image-resolution|ime-mode|initial-letter|initial-letter-align|inline-size|inset|inset-block|inset-block-end|inset-block-start|inset-inline|inset-inline-end|inset-inline-start|isolation|justify-content|justify-items|justify-self|kerning|left|letter-spacing|lighting-color|line-break|line-clamp|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-block|margin-block-end|margin-block-start|margin-bottom|margin-inline|margin-inline-end|margin-inline-start|margin-left|margin-right|margin-top|marker-end|marker-mid|marker-start|marks|mask|mask-border|mask-border-mode|mask-border-outset|mask-border-repeat|mask-border-slice|mask-border-source|mask-border-width|mask-clip|mask-composite|mask-image|mask-mode|mask-origin|mask-position|mask-repeat|mask-size|mask-type|max-block-size|max-height|max-inline-size|max-lines|max-width|max-zoom|min-block-size|min-height|min-inline-size|min-width|min-zoom|mix-blend-mode|negative|object-fit|object-position|offset|offset-anchor|offset-distance|offset-path|offset-position|offset-rotation|opacity|order|orientation|orphans|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-anchor|overflow-block|overflow-inline|overflow-wrap|overflow-[xy]|overscroll-behavior|overscroll-behavior-block|overscroll-behavior-inline|overscroll-behavior-[xy]|pad|padding|padding-block|padding-block-end|padding-block-start|padding-bottom|padding-inline|padding-inline-end|padding-inline-start|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|paint-order|perspective|perspective-origin|place-content|place-items|place-self|pointer-events|position|prefix|quotes|range|resize|right|rotate|row-gap|ruby-align|ruby-merge|ruby-position|scale|scroll-behavior|scroll-margin|scroll-margin-block|scroll-margin-block-end|scroll-margin-block-start|scroll-margin-bottom|scroll-margin-inline|scroll-margin-inline-end|scroll-margin-inline-start|scroll-margin-left|scroll-margin-right|scroll-margin-top|scroll-padding|scroll-padding-block|scroll-padding-block-end|scroll-padding-block-start|scroll-padding-bottom|scroll-padding-inline|scroll-padding-inline-end|scroll-padding-inline-start|scroll-padding-left|scroll-padding-right|scroll-padding-top|scroll-snap-align|scroll-snap-coordinate|scroll-snap-destination|scroll-snap-stop|scroll-snap-type|scrollbar-color|scrollbar-gutter|scrollbar-width|shape-image-threshold|shape-margin|shape-outside|shape-rendering|size|speak-as|src|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit|stroke-opacity|stroke-width|suffix|symbols|system|tab-size|table-layout|text-align|text-align-last|text-anchor|text-combine-upright|text-decoration|text-decoration-color|text-decoration-line|text-decoration-skip|text-decoration-skip-ink|text-decoration-style|text-decoration-thickness|text-emphasis|text-emphasis-color|text-emphasis-position|text-emphasis-style|text-indent|text-justify|text-orientation|text-overflow|text-rendering|text-shadow|text-size-adjust|text-transform|text-underline-offset|text-underline-position|top|touch-action|transform|transform-box|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|translate|unicode-bidi|unicode-range|user-select|user-zoom|vertical-align|visibility|white-space|widows|width|will-change|word-break|word-spacing|word-wrap|writing-mode|z-index|zoom|alignment-baseline|baseline-shift|clip-rule|color-interpolation|color-interpolation-filters|color-profile|color-rendering|cx|cy|dominant-baseline|enable-background|fill|fill-opacity|fill-rule|flood-color|flood-opacity|glyph-orientation-horizontal|glyph-orientation-vertical|height|kerning|lighting-color|marker-end|marker-mid|marker-start|rx??|ry|shape-rendering|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit|stroke-opacity|stroke-width|text-anchor|width|[xy]|adjust|after|align|align-last|alignment|alignment-adjust|appearance|attachment|azimuth|background-break|balance|baseline|before|bidi|binding|bookmark|bookmark-label|bookmark-level|bookmark-target|border-length|bottom-color|bottom-left-radius|bottom-right-radius|bottom-style|bottom-width|box|box-align|box-direction|box-flex|box-flex-group|box-lines|box-ordinal-group|box-orient|box-pack|break|character|collapse|column|column-break-after|column-break-before|count|counter|crop|cue|cue-after|cue-before|decoration|decoration-break|delay|display-model|display-role|down|drop|drop-initial-after-adjust|drop-initial-after-align|drop-initial-before-adjust|drop-initial-before-align|drop-initial-size|drop-initial-value|duration|elevation|emphasis|family|fit|fit-position|flex-group|float-offset|gap|grid-columns|grid-rows|hanging-punctuation|header|hyphenate|hyphenate-after|hyphenate-before|hyphenate-character|hyphenate-lines|hyphenate-resource|icon|image|increment|indent|index|initial-after-adjust|initial-after-align|initial-before-adjust|initial-before-align|initial-size|initial-value|inline-box-align|iteration-count|justify|label|left-color|left-style|left-width|length|level|line|line-stacking|line-stacking-ruby|line-stacking-shift|line-stacking-strategy|lines|list|mark|mark-after|mark-before|marks|marquee|marquee-direction|marquee-play-count|marquee-speed|marquee-style|max|min|model|move-to|name|nav|nav-down|nav-index|nav-left|nav-right|nav-up|new|numeral|offset|ordinal-group|orient|origin|overflow-style|overhang|pack|page|page-policy|pause|pause-after|pause-before|phonemes|pitch|pitch-range|play-count|play-during|play-state|point|presentation|presentation-level|profile|property|punctuation|punctuation-trim|radius|rate|rendering-intent|repeat|replace|reset|resolution|resource|respond-to|rest|rest-after|rest-before|richness|right-color|right-style|right-width|role|rotation|rotation-point|rows|ruby|ruby-overhang|ruby-span|rule|rule-color|rule-style|rule-width|shadow|size|size-adjust|sizing|space|space-collapse|spacing|span|speak|speak-header|speak-numeral|speak-punctuation|speech|speech-rate|speed|stacking|stacking-ruby|stacking-shift|stacking-strategy|stress|stretch|string-set|style|style-image|style-position|style-type|target|target-name|target-new|target-position|text|text-height|text-justify|text-outline|text-replace|text-wrap|timing-function|top-color|top-left-radius|top-right-radius|top-style|top-width|trim|unicode|up|user-select|variant|voice|voice-balance|voice-duration|voice-family|voice-pitch|voice-pitch-range|voice-rate|voice-stress|voice-volume|volume|weight|white|white-space-collapse|word|wrap)(?![\\-\\p{L}\\p{M}\\p{N}\\p{Pc}])","dgiv",{lazyCompile:!0}),name:"support.type.property-name.css"},{match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])(?:-(?:[Aa][Hh]|[Aa][Pp][Pp][Ll][Ee]|[Aa][Tt][Ssſ][Cc]|[Ee][Pp][Uu][Bb]|[Hh][Pp]|[KKk][Hh][Tt][Mm][Ll]|[Mm][Oo][Zz]|[Mm][Ssſ]|[Oo]|[Rr][Ii][Mm]|[Rr][Oo]|[Tt][Cc]|[Ww][Aa][Pp]|[Ww][Ee][Bb][KKk][Ii][Tt]|[Xx][Vv])|(?:[Mm][Ssſ][Oo]|[Pp][Rr][Ii][Nn][Cc][Ee]))-[\-A-Za-z]+/dgv,name:"support.type.vendored.property-name.css"}]},"property-values":{patterns:[{include:"#commas"},{include:"#comment-block"},{include:"#escapes"},{include:"#functions"},{include:"#property-keywords"},{include:"#unicode-range"},{include:"#numeric-values"},{include:"#color-keywords"},{include:"#string"},{match:/!\p{space}*important(?![\-\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"keyword.other.important.css"}]},"pseudo-classes":{captures:{"1":{name:"punctuation.definition.entity.css"},"2":{name:"invalid.illegal.colon.css"}},match:/(:)(:*)(?:active|any-link|checked|default|disabled|empty|enabled|first|(?:first|last|only)-(?:child|of-type)|focus|focus-visible|focus-within|fullscreen|host|hover|in-range|indeterminate|invalid|left|link|optional|out-of-range|read-only|read-write|required|right|root|scope|target|unresolved|valid|visited)(?![\-\p{L}\p{M}\p{N}\p{Pc}]|\p{space}*[\;\}])/dgiv,name:"entity.other.attribute-name.pseudo-class.css"},"pseudo-elements":{captures:{"1":{name:"punctuation.definition.entity.css"},"2":{name:"punctuation.definition.entity.css"}},match:/(?:(::?)(?:after|before|first-letter|first-line|(?:-(?:ah|apple|atsc|epub|hp|khtml|moz|ms|o|rim|ro|tc|wap|webkit|xv)|(?:mso|prince))-[\-a-z]+)|(::)(?:backdrop|content|grammar-error|marker|placeholder|selection|shadow|spelling-error))(?![\-\p{L}\p{M}\p{N}\p{Pc}]|\p{space}*[\;\}])/dgiv,name:"entity.other.attribute-name.pseudo-element.css"},"rule-list":{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.property-list.begin.bracket.curly.css"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.property-list.end.bracket.curly.css"}},name:"meta.property-list.css",patterns:[{include:"#rule-list-innards"}]},"rule-list-innards":{patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#font-features"},{match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])--[\-A-Z_a-z[^\x00-\x7F]](?:[\-0-9A-Z_a-z[^\x00-\x7F]]|\\(?:\p{AHex}{1,6}|[^\n]))*/dgv,name:"variable.css"},{begin:/(?<![\-A-Za-z])(?=[\-A-Za-z])/dgv,end:/(?=\n?$)|(?![\-A-Za-z])/dgv,name:"meta.property-name.css",patterns:[{include:"#property-names"}]},{begin:/(:)\p{space}*/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.css"}},contentName:"meta.property-value.css",end:/\p{space}*(;)|\p{space}*(?=[\)\}])/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.css"}},patterns:[{include:"#comment-block"},{include:"#property-values"}]},{match:/;/dgv,name:"punctuation.terminator.rule.css"}]},selector:{begin:/(?=\|?(?:[\-\#\*\.\:A-\[_a-z[^\x00-\x7F]]|\\(?:\p{AHex}{1,6}|[^\n])))/dgv,end:/(?=\p{space}*[\)\/\@\{])/dgv,name:"meta.selector.css",patterns:[{include:"#selector-innards"}]},"selector-innards":{patterns:[{include:"#comment-block"},{include:"#commas"},{include:"#escapes"},{include:"#combinators"},{captures:{"1":{name:"entity.other.namespace-prefix.css"},"2":{name:"punctuation.separator.css"}},match:/(?:^|(?<=[\(\,\;\}\p{space}]))(?![\-\*\p{L}\p{M}\p{N}\p{Pc}]+\|(?![\-\#\*\.\:A-\[_a-z[^\x00-\x7F]]))([\-A-Z_a-z[^\x00-\x7F]](?:[\-0-9A-Z_a-z[^\x00-\x7F]]|\\(?:\p{AHex}{1,6}|[^\n]))*|\*)?(\|)/dgv},{include:"#tag-names"},{match:/\*/dgv,name:"entity.name.tag.wildcard.css"},{captures:{"1":{name:"punctuation.definition.entity.css"},"2":{patterns:[{include:"#escapes"}]}},match:/(?<![\-\@\p{L}\p{M}\p{N}\p{Pc}])([\#\.])((?:-?[0-9]|-(?=(?=\n?$)|[\#\)\+\,\.\:\>\[\{\|\~\p{space}]|\/\*)|(?:[\-0-9A-Z_a-z[^\x00-\x7F]]|\\(?:\p{AHex}{1,6}|[^\n]))*(?:[\]\!"\%-\(\*\;\<\?\@\^\`\|\}]|\/(?!\*))+)(?:[\-0-9A-Z_a-z[^\x00-\x7F]]|\\(?:\p{AHex}{1,6}|[^\n]))*)/dgv,name:"invalid.illegal.bad-identifier.css"},{captures:{"1":{name:"punctuation.definition.entity.css"},"2":{patterns:[{include:"#escapes"}]}},match:/(\.)((?:[\-0-9A-Z_a-z[^\x00-\x7F]]|\\(?:\p{AHex}{1,6}|[^\n]))+)(?=(?=\n?$)|[\#\)\+\,\.\:\>\[\{\|\~\p{space}]|\/\*)/dgv,name:"entity.other.attribute-name.class.css"},{captures:{"1":{name:"punctuation.definition.entity.css"},"2":{patterns:[{include:"#escapes"}]}},match:/(#)(-?(?![0-9])(?:[\-0-9A-Z_a-z[^\x00-\x7F]]|\\(?:\p{AHex}{1,6}|[^\n]))+)(?=(?=\n?$)|[\#\)\+\,\.\:\>\[\{\|\~\p{space}]|\/\*)/dgv,name:"entity.other.attribute-name.id.css"},{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.entity.begin.bracket.square.css"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.entity.end.bracket.square.css"}},name:"meta.attribute-selector.css",patterns:[{include:"#comment-block"},{include:"#string"},{captures:{"1":{name:"storage.modifier.ignore-case.css"}},match:/(?<=["'\p{space}]|^|\*\/)\p{space}*([Ii])\p{space}*(?=[\]\p{space}]|\/\*|(?=\n?$))/dgv},{captures:{"1":{name:"string.unquoted.attribute-value.css",patterns:[{include:"#escapes"}]}},match:/(?<==)\p{space}*((?!\/\*)(?:[^\]"'\\\p{space}]|\\[^\n])+)/dgv},{include:"#escapes"},{match:/[\$\*\^\|\~]?=/dgv,name:"keyword.operator.pattern.css"},{match:/\|/dgv,name:"punctuation.separator.css"},{captures:{"1":{name:"entity.other.namespace-prefix.css",patterns:[{include:"#escapes"}]}},match:/(-?(?!\p{Nd})(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]|\\(?:\p{AHex}{1,6}|[^\n]))+|\*)(?=\|(?![\=\p{space}]|(?=\n?$)|\])(?:-?(?!\p{Nd})|[\-\\\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]))/dgv},{captures:{"1":{name:"entity.other.attribute-name.css",patterns:[{include:"#escapes"}]}},match:new r("(-?(?!\\p{Nd})(?:(?=([\\-\\p{L}\\p{M}\\p{N}\\p{Pc}[^\\x00-\\x7F]]|\\\\(?:\\p{AHex}{1,6}|[^\\n])))\\2)+)\\p{space}*(?=[\\]\\$\\*\\=\\^\\|\\~]|/\\*)","dgv",{hiddenCaptures:[2]})}]},{include:"#pseudo-classes"},{include:"#pseudo-elements"},{include:"#functional-pseudo-classes"},{match:/(?<![\-\@\p{L}\p{M}\p{N}\p{Pc}])(?=[a-z][\p{L}\p{M}\p{N}\p{Pc}]*-)(?:(?![A-Z])[\-\p{L}\p{M}\p{N}\p{Pc}])+(?![\-\(\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"entity.name.tag.custom.css"}]},string:{patterns:[{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.css"}},end:/"|(?<!\\)(?=(?=\n?$)|\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.css"}},name:"string.quoted.double.css",patterns:[{begin:new r('(?:^|^)(?=(?:[^"\\\\]|\\\\[^\\n])+(?=\\n?$))',"dgv",{strategy:"clip_search"}),end:/(?=\n?$)/dgv,name:"invalid.illegal.unclosed.string.css",patterns:[{include:"#escapes"}]},{include:"#escapes"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.css"}},end:/'|(?<!\\)(?=(?=\n?$)|\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.css"}},name:"string.quoted.single.css",patterns:[{begin:new r("(?:^|^)(?=(?:[^'\\\\]|\\\\[^\\n])+(?=\\n?$))","dgv",{strategy:"clip_search"}),end:/(?=\n?$)/dgv,name:"invalid.illegal.unclosed.string.css",patterns:[{include:"#escapes"}]},{include:"#escapes"}]}]},"tag-names":{match:/(?<![\-\:\p{L}\p{M}\p{N}\p{Pc}])(?:a|abbr|acronym|address|applet|area|article|aside|audio|b|base|basefont|bdi|bdo|bgsound|big|blink|blockquote|body|br|button|canvas|caption|center|cite|code|col|colgroup|command|content|data|datalist|dd|del|details|dfn|dialog|dir|div|dl|dt|element|em|embed|fieldset|figcaption|figure|font|footer|form|frame|frameset|h[1-6]|head|header|hgroup|hr|html|i|iframe|image|img|input|ins|isindex|kbd|keygen|label|legend|li|link|listing|main|map|mark|marquee|math|menu|menuitem|meta|meter|multicol|nav|nextid|nobr|noembed|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|plaintext|pre|progress|q|rb|rp|rtc??|ruby|s|samp|script|section|select|shadow|slot|small|source|spacer|span|strike|strong|style|sub|summary|sup|table|tbody|td|template|textarea|tfoot|th|thead|time|title|tr|track|tt|ul??|var|video|wbr|xmp|altGlyph|altGlyphDef|altGlyphItem|animate|animateColor|animateMotion|animateTransform|circle|clipPath|color-profile|cursor|defs|desc|discard|ellipse|feBlend|feColorMatrix|feComponentTransfer|feComposite|feConvolveMatrix|feDiffuseLighting|feDisplacementMap|feDistantLight|feDropShadow|feFlood|feFuncA|feFuncB|feFuncG|feFuncR|feGaussianBlur|feImage|feMerge|feMergeNode|feMorphology|feOffset|fePointLight|feSpecularLighting|feSpotLight|feTile|feTurbulence|filter|font-face|font-face-format|font-face-name|font-face-src|font-face-uri|foreignObject|g|glyph|glyphRef|hatch|hatchpath|hkern|line|linearGradient|marker|mask|mesh|meshgradient|meshpatch|meshrow|metadata|missing-glyph|mpath|path|pattern|polygon|polyline|radialGradient|rect|set|solidcolor|stop|svg|switch|symbol|text|textPath|tref|tspan|use|view|vkern|annotation|annotation-xml|maction|maligngroup|malignmark|math|menclose|merror|mfenced|mfrac|mglyph|mi|mlabeledtr|mlongdiv|mmultiscripts|mn|mo|mover|mpadded|mphantom|mroot|mrow|ms|mscarries|mscarry|msgroup|msline|mspace|msqrt|msrow|mstack|mstyle|msub|msubsup|msup|mtable|mtd|mtext|mtr|munder|munderover|semantics)(?=[\#\)\+\,\.\:\>\[\{\|\~\p{space}]|\/\*|(?=\n?$))/dgiv,name:"entity.name.tag.css"},"unicode-range":{captures:{"0":{name:"constant.other.unicode-range.css"},"1":{name:"punctuation.separator.dash.unicode-range.css"}},match:/(?<![\-\p{L}\p{M}\p{N}\p{Pc}])[Uu]\+[\?\p{AHex}]{1,6}(?:(-)\p{AHex}{1,6})?(?![\-\p{L}\p{M}\p{N}\p{Pc}])/dgv},url:{begin:/(?<![\-\@\p{L}\p{M}\p{N}\p{Pc}])(url)(\()/dgiv,beginCaptures:{"1":{name:"support.function.url.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.function.end.bracket.round.css"}},name:"meta.function.url.css",patterns:[{match:/[^"'\)\p{space}]+/dgv,name:"variable.parameter.url.css"},{include:"#string"},{include:"#comment-block"},{include:"#escapes"}]}},scopeName:"source.css",embeddedLangs:void 0,aliases:void 0}),Nn=[e];
2
+ export{Nn};
Binary file
Binary file
@@ -0,0 +1,7 @@
1
+ import{t,i,Ke,F,A,q,W,N,M,P,R,I,O,D,ua,J,Z,ac}from"./chunk-tz4w2nh2.js";import"./chunk-q7wbksg4.js";import{bn}from"./chunk-vns6bpqm.js";import{jt}from"./chunk-shc8bv2k.js";import{Dn}from"./chunk-bw9crrb4.js";function vt(e,s,n){e=+e,s=+s,n=(o=arguments.length)<2?(s=e,e=0,1):o<3?1:+n;var a=-1,o=Math.max(0,Math.ceil((s-e)/n))|0,c=Array(o);while(++a<o)c[a]=e+a*n;return c}function xt(){var e=jt().unknown(void 0),{domain:s,range:n}=e,a=0,o=1,c,l,f=!1,g=0,b=0,v=0.5;delete e.unknown;function _(){var w=s().length,H=o<a,z=H?o:a,V=H?a:o;if(c=(V-z)/Math.max(1,w-g+b*2),f)c=Math.floor(c);if(z+=(V-z-c*(w-g))*v,l=c*(1-g),f)z=Math.round(z),l=Math.round(l);var U=vt(w).map(function(it){return z+c*it});return n(H?U.reverse():U)}return e.domain=function(w){return arguments.length?(s(w),_()):s()},e.range=function(w){return arguments.length?([a,o]=w,a=+a,o=+o,_()):[a,o]},e.rangeRound=function(w){return[a,o]=w,a=+a,o=+o,f=!0,_()},e.bandwidth=function(){return l},e.step=function(){return c},e.round=function(w){return arguments.length?(f=!!w,_()):f},e.padding=function(w){return arguments.length?(g=Math.min(1,b=+w),_()):g},e.paddingInner=function(w){return arguments.length?(g=Math.min(1,w),_()):g},e.paddingOuter=function(w){return arguments.length?(b=+w,_()):b},e.align=function(w){return arguments.length?(v=Math.max(0,Math.min(1,w)),_()):v},e.copy=function(){return xt(s(),[a,o]).round(f).paddingInner(g).paddingOuter(b).align(v)},Dn.apply(_(),arguments)}var Pt=function(){var e=t(function(K,h,u,x){for(u=u||{},x=K.length;x--;u[K[x]]=h);return u},"o"),s=[1,10,12,14,16,18,19,21,23],n=[2,6],a=[1,3],o=[1,5],c=[1,6],l=[1,7],f=[1,5,10,12,14,16,18,19,21,23,36,37,38],g=[1,25],b=[1,26],v=[1,28],_=[1,29],w=[1,30],H=[1,31],z=[1,32],V=[1,33],U=[1,34],it=[1,35],nt=[1,36],k=[1,37],j=[1,43],d=[1,42],G=[1,47],Q=[1,50],S=[1,10,12,14,16,18,19,21,23,36,37,38],ot=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],X=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],gt=[1,65],E=[26,28],C={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:t(function(h,u,x,p,T,r,rt){var m=r.length-1;switch(T){case 5:p.setOrientation(r[m]);break;case 9:p.setDiagramTitle(r[m].text.trim());break;case 12:p.setLineData({text:"",type:"text"},r[m]);break;case 13:p.setLineData(r[m-1],r[m]);break;case 14:p.setBarData({text:"",type:"text"},r[m]);break;case 15:p.setBarData(r[m-1],r[m]);break;case 16:this.$=r[m].trim(),p.setAccTitle(this.$);break;case 17:case 18:this.$=r[m].trim(),p.setAccDescription(this.$);break;case 19:this.$=r[m-1];break;case 20:case 30:this.$=[r[m-2],...r[m]];break;case 21:case 31:this.$=[r[m]];break;case 22:this.$={value:Number(r[m-1]),label:r[m]};break;case 23:this.$={value:Number(r[m]),label:""};break;case 24:p.setXAxisTitle(r[m]);break;case 25:p.setXAxisTitle(r[m-1]);break;case 26:p.setXAxisTitle({type:"text",text:""});break;case 27:p.setXAxisBand(r[m]);break;case 28:p.setXAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 29:this.$=r[m-1];break;case 32:p.setYAxisTitle(r[m]);break;case 33:p.setYAxisTitle(r[m-1]);break;case 34:p.setYAxisTitle({type:"text",text:""});break;case 35:p.setYAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 39:this.$={text:r[m],type:"text"};break;case 40:this.$={text:r[m],type:"text"};break;case 41:this.$={text:r[m],type:"markdown"};break;case 42:this.$=r[m];break;case 43:this.$=r[m-1]+""+r[m];break}},"anonymous"),table:[e(s,n,{3:1,4:2,7:4,5:a,36:o,37:c,38:l}),{1:[3]},e(s,n,{4:2,7:4,3:8,5:a,36:o,37:c,38:l}),e(s,n,{4:2,7:4,6:9,3:10,5:a,8:[1,11],36:o,37:c,38:l}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(f,[2,36]),e(f,[2,37]),e(f,[2,38]),{1:[2,1]},e(s,n,{4:2,7:4,3:21,5:a,36:o,37:c,38:l}),{1:[2,3]},e(f,[2,5]),e(s,[2,7],{4:22,36:o,37:c,38:l}),{11:23,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:39,13:38,24:j,29:d,30:g,31:40,32:41,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:45,15:44,29:G,30:g,35:46,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:49,17:48,24:Q,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:52,17:51,24:Q,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{20:[1,53]},{22:[1,54]},e(S,[2,18]),{1:[2,2]},e(S,[2,8]),e(S,[2,9]),e(ot,[2,39],{41:55,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k}),e(ot,[2,40]),e(ot,[2,41]),e(X,[2,42]),e(X,[2,44]),e(X,[2,45]),e(X,[2,46]),e(X,[2,47]),e(X,[2,48]),e(X,[2,49]),e(X,[2,50]),e(X,[2,51]),e(X,[2,52]),e(X,[2,53]),e(S,[2,10]),e(S,[2,24],{32:41,31:56,24:j,29:d}),e(S,[2,26]),e(S,[2,27]),{33:[1,57]},{11:59,30:g,34:58,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},e(S,[2,11]),e(S,[2,32],{35:60,29:G}),e(S,[2,34]),{33:[1,61]},e(S,[2,12]),{17:62,24:Q},{25:63,27:64,29:gt},e(S,[2,14]),{17:66,24:Q},e(S,[2,16]),e(S,[2,17]),e(X,[2,43]),e(S,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(S,[2,33]),{29:[1,70]},e(S,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(E,[2,23],{30:[1,73]}),e(S,[2,15]),e(S,[2,28]),e(S,[2,29]),{11:59,30:g,34:74,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},e(S,[2,35]),e(S,[2,19]),{25:75,27:64,29:gt},e(E,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:t(function(h,u){if(u.recoverable)this.trace(h);else{var x=Error(h);throw x.hash=u,x}},"parseError"),parse:t(function(h){var u=this,x=[0],p=[],T=[null],r=[],rt=this.table,m="",bt=0,Yt=0,Nt=0,xe=2,Ht=1,fe=r.slice.call(arguments,1),B=Object.create(this.lexer),ht={yy:{}};for(var St in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,St))ht.yy[St]=this.yy[St];if(B.setInput(h,ht.yy),ht.yy.lexer=B,ht.yy.parser=this,typeof B.yylloc>"u")B.yylloc={};var Rt=B.yylloc;r.push(Rt);var pe=B.options&&B.options.ranges;if(typeof ht.yy.parseError==="function")this.parseError=ht.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function me(et){x.length=x.length-2*et,T.length=T.length-et,r.length=r.length-et}t(me,"popStack");function $t(){var et=p.pop()||B.lex()||Ht;if(typeof et!=="number"){if(et instanceof Array)p=et,et=p.pop();et=u.symbols_[et]||et}return et}t($t,"lex");var Y,_t,lt,tt,Be,Tt,ut={},yt,at,Ut,wt;while(!0){if(lt=x[x.length-1],this.defaultActions[lt])tt=this.defaultActions[lt];else{if(Y===null||typeof Y>"u")Y=$t();tt=rt[lt]&&rt[lt][Y]}if(typeof tt>"u"||!tt.length||!tt[0]){var Dt="";wt=[];for(yt in rt[lt])if(this.terminals_[yt]&&yt>xe)wt.push("'"+this.terminals_[yt]+"'");if(B.showPosition)Dt="Parse error on line "+(bt+1)+`:
2
+ `+B.showPosition()+`
3
+ Expecting `+wt.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'";else Dt="Parse error on line "+(bt+1)+": Unexpected "+(Y==Ht?"end of input":"'"+(this.terminals_[Y]||Y)+"'");this.parseError(Dt,{text:B.match,token:this.terminals_[Y]||Y,line:B.yylineno,loc:Rt,expected:wt})}if(tt[0]instanceof Array&&tt.length>1)throw Error("Parse Error: multiple actions possible at state: "+lt+", token: "+Y);switch(tt[0]){case 1:if(x.push(Y),T.push(B.yytext),r.push(B.yylloc),x.push(tt[1]),Y=null,!_t){if(Yt=B.yyleng,m=B.yytext,bt=B.yylineno,Rt=B.yylloc,Nt>0)Nt--}else Y=_t,_t=null;break;case 2:if(at=this.productions_[tt[1]][1],ut.$=T[T.length-at],ut._$={first_line:r[r.length-(at||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(at||1)].first_column,last_column:r[r.length-1].last_column},pe)ut._$.range=[r[r.length-(at||1)].range[0],r[r.length-1].range[1]];if(Tt=this.performAction.apply(ut,[m,Yt,bt,ht.yy,tt[1],T,r].concat(fe)),typeof Tt<"u")return Tt;if(at)x=x.slice(0,-1*at*2),T=T.slice(0,-1*at),r=r.slice(0,-1*at);x.push(this.productions_[tt[1]][0]),T.push(ut.$),r.push(ut._$),Ut=rt[x[x.length-2]][x[x.length-1]],x.push(Ut);break;case 3:return!0}}return!0},"parse")},st=function(){var K={EOF:1,parseError:t(function(u,x){if(this.yy.parser)this.yy.parser.parseError(u,x);else throw Error(u)},"parseError"),setInput:t(function(h,u){if(this.yy=u||this.yy||{},this._input=h,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 h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var u=h.match(/(?:\r\n?|\n).*/g);if(u)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),h},"input"),unput:t(function(h){var u=h.length,x=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var p=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),x.length-1)this.yylineno-=x.length-1;var T=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:x?(x.length===p.length?this.yylloc.first_column:0)+p[p.length-x.length].length-x[0].length:this.yylloc.first_column-u},this.options.ranges)this.yylloc.range=[T[0],T[0]+this.yyleng-u];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(h){this.unput(this.match.slice(h))},"less"),pastInput:t(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var h=this.match;if(h.length<20)h+=this._input.substr(0,20-h.length);return(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var h=this.pastInput(),u=Array(h.length+1).join("-");return h+this.upcomingInput()+`
5
+ `+u+"^"},"showPosition"),test_match:t(function(h,u){var x,p,T;if(this.options.backtrack_lexer){if(T={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)T.yylloc.range=this.yylloc.range.slice(0)}if(p=h[0].match(/(?:\r\n?|\n).*/g),p)this.yylineno+=p.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:p?p[p.length-1].length-p[p.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+h[0].length},this.yytext+=h[0],this.match+=h[0],this.matches=h,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(h[0].length),this.matched+=h[0],x=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(x)return x;else if(this._backtrack){for(var r in T)this[r]=T[r];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var h,u,x,p;if(!this._more)this.yytext="",this.match="";var T=this._currentRules();for(var r=0;r<T.length;r++)if(x=this._input.match(this.rules[T[r]]),x&&(!u||x[0].length>u[0].length)){if(u=x,p=r,this.options.backtrack_lexer)if(h=this.test_match(x,T[r]),h!==!1)return h;else if(this._backtrack){u=!1;continue}else return!1;else if(!this.options.flex)break}if(u){if(h=this.test_match(u,T[p]),h!==!1)return h;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 u=this.next();if(u)return u;else return this.lex()},"lex"),begin:t(function(u){this.conditionStack.push(u)},"begin"),popState:t(function(){var u=this.conditionStack.length-1;if(u>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(u){if(u=this.conditionStack.length-1-Math.abs(u||0),u>=0)return this.conditionStack[u];else return"INITIAL"},"topState"),pushState:t(function(u){this.begin(u)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(u,x,p,T){var r=T;switch(p){case 0:break;case 1:break;case 2:return this.popState(),36;break;case 3:return this.popState(),36;break;case 4:return 36;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.pushState("acc_descr"),21;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";break;case 18:return this.pushState("axis_data"),"Y_AXIS";break;case 19:return this.pushState("axis_band_data"),24;break;case 20:return 33;case 21:return this.pushState("data"),16;break;case 22:return this.pushState("data"),18;break;case 23:return this.pushState("data_inner"),24;break;case 24:return 29;case 25:return this.popState(),26;break;case 26:this.popState();break;case 27:this.pushState("string");break;case 28:this.popState();break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 44;case 33:return"COLON";case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 44:break;case 45:return 37;case 46:return 38}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}};return K}();C.lexer=st;function L(){this.yy={}}return t(L,"Parser"),L.prototype=C,C.Parser=L,new L}();Pt.parser=Pt;var be=Pt;function kt(e){return e.type==="bar"}t(kt,"isBarPlot");function At(e){return e.type==="band"}t(At,"isBandAxisData");function dt(e){return e.type==="linear"}t(dt,"isLinearAxisData");var It=class{constructor(e){this.parentGroup=e}static{t(this,"TextDimensionCalculatorWithFont")}getMaxDimension(e,s){if(!this.parentGroup)return{width:e.reduce((g,b)=>Math.max(b.length,g),0)*s,height:s};let n={width:0,height:0},a=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",s),o=a.node()?.getScreenCTM?.(),c=t((g)=>g&&g>0?g:1,"toScale"),l=c(o?.a),f=c(o?.d);for(let g of e){let b=ac(a,1,g),v=b?b.width/l:g.length*s,_=b?b.height/f:s;n.width=Math.max(n.width,v),n.height=Math.max(n.height,_)}return a.remove(),n}},qt=0.7,Gt=0.2,Qt=class{constructor(e,s,n,a){this.axisConfig=e,this.title=s,this.textDimensionCalculator=n,this.axisThemeConfig=a,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.normalizedLabelRotationInRad=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}static{t(this,"BaseAxis")}setRange(e){if(this.range=e,this.axisPosition==="left"||this.axisPosition==="right")this.boundingRect.height=e[1]-e[0];else this.boundingRect.width=e[1]-e[0];this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(e){this.axisPosition=e,this.setRange(this.range)}getTickDistance(){let e=this.getRange();return Math.abs(e[0]-e[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e)=>e.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){if(qt*this.getTickDistance()>this.outerPadding*2)this.outerPadding=Math.floor(qt*this.getTickDistance()/2);this.recalculateScale()}calculateSpaceIfDrawnHorizontally(e){let s=e.height;if(this.axisConfig.showAxisLine&&s>this.axisConfig.axisLineWidth)s-=this.axisConfig.axisLineWidth,this.showAxisLine=!0;if(this.axisConfig.showLabel){let n=this.getLabelDimension(),a=Gt*e.width;this.outerPadding=Math.min(n.width/2,a);let o=n.height;if(this.axisPosition==="bottom"&&this.normalizedLabelRotationInRad!==0)o=Math.max(o,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*n.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*n.height));if(o+=this.axisConfig.labelPadding*2,this.labelTextHeight=n.height,o<=s)s-=o,this.showLabel=!0}if(this.axisConfig.showTick&&s>=this.axisConfig.tickLength)this.showTick=!0,s-=this.axisConfig.tickLength;if(this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),a=n.height+this.axisConfig.titlePadding*2;if(this.titleTextHeight=n.height,a<=s)s-=a,this.showTitle=!0}this.boundingRect.width=e.width,this.boundingRect.height=e.height-s}calculateSpaceIfDrawnVertical(e){let s=e.width;if(this.axisConfig.showAxisLine&&s>this.axisConfig.axisLineWidth)s-=this.axisConfig.axisLineWidth,this.showAxisLine=!0;if(this.axisConfig.showLabel){let n=this.getLabelDimension(),a=Gt*e.height;this.outerPadding=Math.min(n.height/2,a);let o=n.width+this.axisConfig.labelPadding*2;if(o<=s)s-=o,this.showLabel=!0}if(this.axisConfig.showTick&&s>=this.axisConfig.tickLength)this.showTick=!0,s-=this.axisConfig.tickLength;if(this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),a=n.height+this.axisConfig.titlePadding*2;if(this.titleTextHeight=n.height,a<=s)s-=a,this.showTitle=!0}this.boundingRect.width=e.width-s,this.boundingRect.height=e.height}calculateSpace(e){if(this.axisPosition==="left"||this.axisPosition==="right")this.calculateSpaceIfDrawnVertical(e);else this.calculateSpaceIfDrawnHorizontally(e);return this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateOffsetByRotation(e){let s=this.normalizedLabelRotationInRad;if(s===0)return 0;return Math.sin(s)*this.getLabelDimension()[e]/2}getDrawableElementsForLeftAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${s},${this.boundingRect.y} L ${s},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(s),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))});if(this.showTick){let s=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${s},${this.getScaleValue(n)} L ${s-this.axisConfig.tickLength},${this.getScaleValue(n)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElementsForBottomAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.y+this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${s} L ${this.boundingRect.x+this.boundingRect.width},${s}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.getScaleValue(s)+this.calculateOffsetByRotation("height"),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation("width")),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:this.normalizedLabelRotationInRad*180/Math.PI,verticalPos:"top",horizontalPos:"center"}))});if(this.showTick){let s=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${this.getScaleValue(n)},${s} L ${this.getScaleValue(n)},${s+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElementsForTopAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${s} L ${this.boundingRect.x+this.boundingRect.width},${s}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.getScaleValue(s),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))});if(this.showTick){let s=this.boundingRect.y;e.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${this.getScaleValue(n)},${s+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(n)},${s+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");if(this.axisPosition==="bottom")return this.getDrawableElementsForBottomAxis();if(this.axisPosition==="top")return this.getDrawableElementsForTopAxis();return[]}},ye=class extends Qt{static{t(this,"BandAxis")}constructor(e,s,n,a,o){super(e,a,o,s);this.categories=n,this.scale=xt().domain(this.categories).range(this.getRange())}setRange(e){super.setRange(e)}recalculateScale(){this.scale=xt().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5),i.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(e){return this.scale(e)??this.getRange()[0]}},we=class extends Qt{static{t(this,"LinearAxis")}constructor(e,s,n,a,o){super(e,a,o,s);this.domain=n,this.scale=bn().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let e=[...this.domain];if(this.axisPosition==="left")e.reverse();this.scale=bn().domain(e).range(this.getRange())}getScaleValue(e){return this.scale(e)}};function Lt(e,s,n,a){let o=new It(a);if(At(e))return new ye(s,n,e.categories,e.title,o);return new we(s,n,[e.min,e.max],e.title,o)}t(Lt,"getAxis");var ke=class{constructor(e,s,n,a){this.textDimensionCalculator=e,this.chartConfig=s,this.chartData=n,this.chartThemeConfig=a,this.titleWidth=0,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{t(this,"ChartTitle")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){let s=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),n=Math.max(s.width,e.width),a=s.height+2*this.chartConfig.titlePadding;if(a<=e.height&&this.chartConfig.showTitle&&this.chartData.title)this.boundingRect.width=n,this.boundingRect.height=a,this.titleWidth=s.width,this.showChartTitle=!0;return{width:this.boundingRect.width,height:this.boundingRect.height}}alignTo(e,s){let n=Math.min(this.titleWidth,this.chartConfig.width)/2,a=Math.min(Math.max((e+s)/2,n),this.chartConfig.width-n);this.boundingRect.x=a-n,this.boundingRect.width=n*2}getDrawableElements(){let e=[];if(this.showChartTitle)e.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]});return e}};function Kt(e,s,n,a){let o=new It(a);return new ke(o,e,s,n)}t(Kt,"getChartTitleComponent");var Ae=0.75,Ce=0.5,Se=0.35;function Et(e){return{fontSize:e,markerSize:e*Ae,markerSpacing:e*Se,itemSpacing:e*Ce}}t(Et,"getLegendLayout");var Re=class{constructor(e,s,n,a){this.textDimensionCalculator=e,this.chartConfig=s,this.chartData=n,this.chartThemeConfig=a,this.boundingRect={x:0,y:0,width:0,height:0},this.visiblePlots=[]}static{t(this,"ChartLegend")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){if(this.visiblePlots=this.chartConfig.showLegend?this.chartData.plots.filter((g)=>g.title):[],this.visiblePlots.length===0)return this.boundingRect.width=0,this.boundingRect.height=0,{width:0,height:0};let{fontSize:s,markerSize:n,markerSpacing:a,itemSpacing:o}=Et(this.chartConfig.legendFontSize),c=this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map((g)=>g.title),s),l=this.chartConfig.legendPadding*2+n+a+c.width,f=this.chartConfig.legendPadding*2+this.visiblePlots.length*s+(this.visiblePlots.length-1)*o;if(l<=e.width&&f<=e.height)this.boundingRect.width=l,this.boundingRect.height=f;else this.visiblePlots=[],this.boundingRect.width=0,this.boundingRect.height=0;return{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(this.visiblePlots.length===0)return[];let{fontSize:e,markerSize:s,markerSpacing:n,itemSpacing:a}=Et(this.chartConfig.legendFontSize),o=e+a,c=this.boundingRect.x+this.chartConfig.legendPadding,l=this.boundingRect.y+this.chartConfig.legendPadding,f=[],g=[];for(let[b,v]of this.visiblePlots.entries())if(kt(v))f.push({x:c,y:l+b*o,width:s,height:s,fill:v.fill,strokeFill:v.fill,strokeWidth:0});else{let _=l+b*o+s/2;g.push({path:`M ${c},${_} L ${c+s},${_}`,strokeFill:v.strokeFill,strokeWidth:v.strokeWidth})}return[{groupTexts:["legend","markers"],type:"rect",data:f},{groupTexts:["legend","markers"],type:"path",data:g},{groupTexts:["legend","label"],type:"text",data:this.visiblePlots.map((b,v)=>({text:b.title,x:c+s+n,y:l+v*o+s/2,fill:this.chartThemeConfig.legendTextColor,fontSize:e,rotation:0,verticalPos:"middle",horizontalPos:"left"}))}]}};function Zt(e,s,n,a){let o=new It(a);return new Re(o,e,s,n)}t(Zt,"getChartLegendComponent");var _e=class{constructor(e,s,n,a,o){this.plotData=e,this.xAxis=s,this.yAxis=n,this.orientation=a,this.plotIndex=o}static{t(this,"LinePlot")}getDrawableElement(){let e=this.plotData.data.map((a)=>[this.xAxis.getScaleValue(a[0]),this.yAxis.getScaleValue(a[1])]),s;if(this.orientation==="horizontal")s=ua().y((a)=>a[0]).x((a)=>a[1])(e);else s=ua().x((a)=>a[0]).y((a)=>a[1])(e);if(!s)return[];let n=[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:s,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){let c=[];for(let[l,[f,g]]of e.entries()){let b=this.plotData.pointLabels[l];if(!b)continue;if(this.orientation==="horizontal")c.push({x:g+10,y:f,text:b,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"left",fontSize:12,rotation:0});else c.push({x:f,y:g-10,text:b,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"center",fontSize:12,rotation:0})}if(c.length>0)n.push({groupTexts:["plot",`line-plot-${this.plotIndex}`,"labels"],type:"text",data:c})}return n}},Te=class{constructor(e,s,n,a,o,c){this.barData=e,this.boundingRect=s,this.xAxis=n,this.yAxis=a,this.orientation=o,this.plotIndex=c}static{t(this,"BarPlot")}getDrawableElement(){let e=this.barData.data.map((o)=>[this.xAxis.getScaleValue(o[0]),this.yAxis.getScaleValue(o[1])]),s=0.05,n=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*0.95,a=n/2;if(this.orientation==="horizontal")return[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map((o)=>({x:this.boundingRect.x,y:o[0]-a,height:n,width:o[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}];return[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map((o)=>({x:o[0]-a,y:o[1],width:n,height:this.boundingRect.y+this.boundingRect.height-o[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},De=class{constructor(e,s,n){this.chartConfig=e,this.chartData=s,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0}}static{t(this,"BasePlot")}setAxes(e,s){this.xAxis=e,this.yAxis=s}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){return this.boundingRect.width=e.width,this.boundingRect.height=e.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let e=[];for(let[s,n]of this.chartData.plots.entries())switch(n.type){case"line":{let a=new _e(n,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,s);e.push(...a.getDrawableElement())}break;case"bar":{let a=new Te(n,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,s);e.push(...a.getDrawableElement())}break}return e}};function Jt(e,s,n){return new De(e,s,n)}t(Jt,"getPlotComponent");var ve=class{constructor(e,s,n,a){this.chartConfig=e,this.chartData=s,this.componentStore={title:Kt(e,s,n,a),plot:Jt(e,s,n),legend:Zt(e,s,n,a),xAxis:Lt(s.xAxis,e.xAxis,{titleColor:n.xAxisTitleColor,labelColor:n.xAxisLabelColor,tickColor:n.xAxisTickColor,axisLineColor:n.xAxisLineColor},a),yAxis:Lt(s.yAxis,e.yAxis,{titleColor:n.yAxisTitleColor,labelColor:n.yAxisLabelColor,tickColor:n.yAxisTickColor,axisLineColor:n.yAxisLineColor},a)}}static{t(this,"Orchestrator")}calculateVerticalSpace(){let e=this.chartConfig.width,s=this.chartConfig.height,n=0,a=0,o={width:0,height:0},c=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),l=Math.floor(s*this.chartConfig.plotReservedSpacePercent/100),f=this.componentStore.plot.calculateSpace({width:c,height:l});if(e-=f.width,s-=f.height,f=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:s}),a=f.height,s-=f.height,this.componentStore.xAxis.setAxisPosition("bottom"),f=this.componentStore.xAxis.calculateSpace({width:e,height:s}),s-=f.height,this.componentStore.yAxis.setAxisPosition("left"),f=this.componentStore.yAxis.calculateSpace({width:e,height:s}),n=f.width,e-=f.width,o=this.componentStore.legend.calculateSpace({width:e,height:l}),e-=o.width,e>0)c+=e,e=0;if(s>0)l+=s,s=0;if(this.componentStore.plot.calculateSpace({width:c,height:l}),this.componentStore.plot.setBoundingBoxXY({x:n,y:a}),this.componentStore.title.alignTo(n,n+c),this.componentStore.legend.setBoundingBoxXY({x:n+c,y:a+Math.max((l-o.height)/2,0)}),this.componentStore.xAxis.setRange([n,n+c]),this.componentStore.xAxis.setBoundingBoxXY({x:n,y:a+l}),this.componentStore.yAxis.setRange([a,a+l]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:a}),this.chartData.plots.some((g)=>kt(g)))this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let e=this.chartConfig.width,s=this.chartConfig.height,n=0,a=0,o=0,c={width:0,height:0},l=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),f=Math.floor(s*this.chartConfig.plotReservedSpacePercent/100),g=this.componentStore.plot.calculateSpace({width:l,height:f});if(e-=g.width,s-=g.height,g=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:s}),n=g.height,s-=g.height,this.componentStore.xAxis.setAxisPosition("left"),g=this.componentStore.xAxis.calculateSpace({width:e,height:s}),e-=g.width,a=g.width,this.componentStore.yAxis.setAxisPosition("top"),g=this.componentStore.yAxis.calculateSpace({width:e,height:s}),s-=g.height,o=n+g.height,c=this.componentStore.legend.calculateSpace({width:e,height:f}),e-=c.width,e>0)l+=e,e=0;if(s>0)f+=s,s=0;if(this.componentStore.plot.calculateSpace({width:l,height:f}),this.componentStore.plot.setBoundingBoxXY({x:a,y:o}),this.componentStore.title.alignTo(a,a+l),this.componentStore.legend.setBoundingBoxXY({x:a+l,y:o+Math.max((f-c.height)/2,0)}),this.componentStore.yAxis.setRange([a,a+l]),this.componentStore.yAxis.setBoundingBoxXY({x:a,y:n}),this.componentStore.xAxis.setRange([o,o+f]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:o}),this.chartData.plots.some((b)=>kt(b)))this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){if(this.chartConfig.chartOrientation==="horizontal")this.calculateHorizontalSpace();else this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let e=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let s of Object.values(this.componentStore))e.push(...s.getDrawableElements());return e}},Pe=class{static{t(this,"XYChartBuilder")}static build(e,s,n,a){return new ve(e,s,n,a).getDrawableElement()}},ft=0,te,pt=Ot(),mt=zt(),y=Vt(),Mt=mt.plotColorPalette.split(",").map((e)=>e.trim()),Ct=!1,Bt=!1;function zt(){let e=Ke(),s=A();return Z(e.xyChart,s.themeVariables.xyChart)}t(zt,"getChartDefaultThemeConfig");function Ot(){let e=A();return Z(F.xyChart,e.xyChart)}t(Ot,"getChartDefaultConfig");function Vt(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}t(Vt,"getChartDefaultData");function ct(e){let s=A();return q(e.trim(),s)}t(ct,"textSanitizer");function ee(e){te=e}t(ee,"setTmpSVGG");function ie(e){if(e==="horizontal")pt.chartOrientation="horizontal";else pt.chartOrientation="vertical"}t(ie,"setOrientation");function se(e){y.xAxis.title=ct(e.text)}t(se,"setXAxisTitle");function Wt(e,s){y.xAxis={type:"linear",title:y.xAxis.title,min:e,max:s},Ct=!0}t(Wt,"setXAxisRangeData");function ne(e){y.xAxis={type:"band",title:y.xAxis.title,categories:e.map((s)=>ct(s.text))},Ct=!0}t(ne,"setXAxisBand");function ae(e){y.yAxis.title=ct(e.text)}t(ae,"setYAxisTitle");function oe(e,s){y.yAxis={type:"linear",title:y.yAxis.title,min:e,max:s},Bt=!0}t(oe,"setYAxisRangeData");function re(e){let s=Math.min(...e),n=Math.max(...e),a=dt(y.yAxis)?y.yAxis.min:1/0,o=dt(y.yAxis)?y.yAxis.max:-1/0;y.yAxis={type:"linear",title:y.yAxis.title,min:Math.min(a,s),max:Math.max(o,n)}}t(re,"setYAxisRangeFromPlotData");function Ft(e){let s=[];if(e.length===0)return s;if(!Ct){let n=dt(y.xAxis)?y.xAxis.min:1/0,a=dt(y.xAxis)?y.xAxis.max:-1/0;Wt(Math.min(n,1),Math.max(a,e.length))}if(At(y.xAxis)&&e.length>y.xAxis.categories.length)e=e.slice(0,y.xAxis.categories.length);if(!Bt)re(e);if(At(y.xAxis))s=y.xAxis.categories.map((n,a)=>[n,e[a]]);if(dt(y.xAxis)){let n=y.xAxis.min,a=y.xAxis.max;if(e.length===1)s=[[`${n}`,e[0]]];else{let o=(a-n)/(e.length-1);s=e.map((c,l)=>[`${n+l*o}`,c])}}return s}t(Ft,"transformDataWithoutCategory");function Xt(e){return Mt[e===0?0:e%Mt.length]}t(Xt,"getPlotColorFromPalette");function he(e,s){let n=s.map((l)=>l.value),a=s.map((l)=>l.label?ct(l.label):""),o=Ft(n),c=a.some((l)=>l!=="");y.plots.push({type:"line",title:ct(e.text),strokeFill:Xt(ft),strokeWidth:2,data:o,...c?{pointLabels:a}:{}}),ft++}t(he,"setLineData");function le(e,s){let n=s.map((o)=>o.value),a=Ft(n);y.plots.push({type:"bar",title:ct(e.text),fill:Xt(ft),data:a}),ft++}t(le,"setBarData");function ce(){if(y.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return y.title=D(),Pe.build(pt,y,mt,te)}t(ce,"getDrawableElem");function ge(){return mt}t(ge,"getChartThemeConfig");function ue(){return pt}t(ue,"getChartConfig");function de(){return y}t(de,"getXYChartData");var Le=t(function(){N(),ft=0,pt=Ot(),y=Vt(),mt=zt(),Mt=mt.plotColorPalette.split(",").map((e)=>e.trim()),Ct=!1,Bt=!1},"clear"),Ee={getDrawableElem:ce,clear:Le,setAccTitle:M,getAccTitle:P,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:R,setOrientation:ie,setXAxisTitle:se,setXAxisRangeData:Wt,setXAxisBand:ne,setYAxisTitle:ae,setYAxisRangeData:oe,setLineData:he,setBarData:le,setTmpSVGG:ee,getChartThemeConfig:ge,getChartConfig:ue,getXYChartData:de},Me=t((e,s,n,a)=>{let o=a.db,c=o.getChartThemeConfig(),l=o.getChartConfig(),f=o.getXYChartData().plots[0].data.map((k)=>k[1]);function g(k){return k==="top"?"text-before-edge":"middle"}t(g,"getDominantBaseLine");function b(k){return k==="left"?"start":k==="right"?"end":"middle"}t(b,"getTextAnchor");function v(k){return`translate(${k.x}, ${k.y}) rotate(${k.rotation||0})`}t(v,"getTextTransformation"),i.debug(`Rendering xychart chart
7
+ `+e);let _=J(s),w=_.append("g").attr("class","main"),H=w.append("rect").attr("width",l.width).attr("height",l.height).attr("class","background");W(_,l.height,l.width,!0),_.attr("viewBox",`0 0 ${l.width} ${l.height}`),H.attr("fill",c.backgroundColor),o.setTmpSVGG(_.append("g").attr("class","mermaid-tmp-group"));let z=o.getDrawableElem(),V={};function U(k){let j=w,d="";for(let[G]of k.entries()){let Q=w;if(G>0&&V[d])Q=V[d];if(d+=k[G],j=V[d],!j)j=V[d]=Q.append("g").attr("class",k[G])}return j}t(U,"getGroup");for(let k of z){if(k.data.length===0)continue;let j=U(k.groupTexts);switch(k.type){case"rect":if(j.selectAll("rect").data(k.data).enter().append("rect").attr("x",(d)=>d.x).attr("y",(d)=>d.y).attr("width",(d)=>d.width).attr("height",(d)=>d.height).attr("fill",(d)=>d.fill).attr("stroke",(d)=>d.strokeFill).attr("stroke-width",(d)=>d.strokeWidth),l.showDataLabel){let d=l.showDataLabelOutsideBar;if(l.chartOrientation==="horizontal"){let G=function(C,st){let{data:L,label:K}=C;return st*K.length*Q<=L.width-S};var it=G;t(G,"fitsHorizontally");let Q=0.7,S=10,ot=k.data.map((C,st)=>({data:C,label:f[st].toString()})).filter((C)=>C.data.width>0&&C.data.height>0),X=ot.map((C)=>{let{data:st}=C,L=st.height*0.7;while(!G(C,L)&&L>0)L-=1;return L}),gt=Math.floor(Math.min(...X)),E=t((C)=>{if(d)return C.data.x+C.data.width+S;else return C.data.x+C.data.width-S},"determineLabelXPosition");j.selectAll("text").data(ot).enter().append("text").attr("x",E).attr("y",(C)=>C.data.y+C.data.height/2).attr("text-anchor",d?"start":"end").attr("dominant-baseline","middle").attr("fill",c.dataLabelColor).attr("font-size",`${gt}px`).text((C)=>C.label)}else{let G=function(E,C,st){let{data:L,label:K}=E,h=0.7,u=C*K.length*0.7,x=L.x+L.width/2,p=x-u/2,T=x+u/2,r=p>=L.x&&T<=L.x+L.width,rt=L.y+st+C<=L.y+L.height;return r&&rt};var nt=G;t(G,"fitsInBar");let Q=10,S=k.data.map((E,C)=>({data:E,label:f[C].toString()})).filter((E)=>E.data.width>0&&E.data.height>0),ot=S.map((E)=>{let{data:C,label:st}=E,L=C.width/(st.length*0.7);while(!G(E,L,Q)&&L>0)L-=1;return L}),X=Math.floor(Math.min(...ot)),gt=t((E)=>{if(d)return E.data.y-Q;else return E.data.y+Q},"determineLabelYPosition");j.selectAll("text").data(S).enter().append("text").attr("x",(E)=>E.data.x+E.data.width/2).attr("y",gt).attr("text-anchor","middle").attr("dominant-baseline",d?"auto":"hanging").attr("fill",c.dataLabelColor).attr("font-size",`${X}px`).text((E)=>E.label)}}break;case"text":j.selectAll("text").data(k.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",(d)=>d.fill).attr("font-size",(d)=>d.fontSize).attr("dominant-baseline",(d)=>g(d.verticalPos)).attr("text-anchor",(d)=>b(d.horizontalPos)).attr("transform",(d)=>v(d)).text((d)=>d.text);break;case"path":j.selectAll("path").data(k.data).enter().append("path").attr("d",(d)=>d.path).attr("fill",(d)=>d.fill?d.fill:"none").attr("stroke",(d)=>d.strokeFill).attr("stroke-width",(d)=>d.strokeWidth);break}}},"draw"),Ie={draw:Me},Ze={parser:be,db:Ee,renderer:Ie};export{Ze as diagram};
Binary file
Binary file