@bkm016/basalt 0.1.25 → 0.1.26

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 (901) hide show
  1. package/chunk-05bkyxh9.js +3 -0
  2. package/chunk-080kr9ct.js +15 -0
  3. package/chunk-1a4rrb2v.js +10 -0
  4. package/chunk-1s560041.js +2 -0
  5. package/chunk-2expw9m3.js +3 -0
  6. package/chunk-2fm6g0ga.js +3 -0
  7. package/chunk-2scbc5yh.js +3 -0
  8. package/chunk-33jk5rw1.js +3 -0
  9. package/chunk-377w9fhp.js +3 -0
  10. package/chunk-3wqncn58.js +3 -0
  11. package/chunk-43n3k72q.js +2 -0
  12. package/chunk-44pv8c0b.js +5 -0
  13. package/chunk-5gk93yp2.js +3 -0
  14. package/chunk-5z5sbry2.js +7 -0
  15. package/chunk-6qvg49rk.js +51 -0
  16. package/chunk-7d6fdzs3.js +50 -0
  17. package/chunk-7h6k7vac.js +3 -0
  18. package/chunk-7t5yqsgn.js +5 -0
  19. package/chunk-7th9y456.js +2 -0
  20. package/chunk-7v98r8ft.js +2 -0
  21. package/chunk-82bb3whz.js +3 -0
  22. package/chunk-8e061pr3.js +2 -0
  23. package/chunk-8n83nvpa.js +7 -0
  24. package/chunk-9nng543t.js +3 -0
  25. package/chunk-a0ex6znf.js +18 -0
  26. package/chunk-a25etmgf.js +3 -0
  27. package/chunk-awzaxv88.js +2 -0
  28. package/chunk-b2s9aksm.js +2 -0
  29. package/chunk-bfrpy5jd.js +4 -0
  30. package/chunk-br64f072.js +2 -0
  31. package/chunk-btza2hna.js +5 -0
  32. package/chunk-c9bjdydc.js +3 -0
  33. package/chunk-cww7drfr.js +2 -0
  34. package/chunk-d0az9pq0.js +2 -0
  35. package/chunk-d47bpkyz.js +12 -0
  36. package/chunk-dkfpqbcr.js +3 -0
  37. package/chunk-dsk3r1s8.js +2 -0
  38. package/chunk-dw8p4zcz.js +2 -0
  39. package/chunk-edz2cxtp.js +5 -0
  40. package/chunk-epqgd8d0.js +3 -0
  41. package/chunk-f7tn67ff.js +2 -0
  42. package/chunk-fevkmd0j.js +3 -0
  43. package/chunk-fzdvrsvn.js +482 -0
  44. package/chunk-ghat319t.js +25 -0
  45. package/chunk-h19mfxzq.js +7 -0
  46. package/chunk-h6sh9pkr.js +2 -0
  47. package/chunk-jdazqwft.js +2 -0
  48. package/chunk-je52rmxs.js +9 -0
  49. package/chunk-jj5pkfgm.js +2 -0
  50. package/chunk-jp7f2kak.js +2 -0
  51. package/chunk-jqpb4q7h.js +3 -0
  52. package/chunk-jzf3qp0g.js +2 -0
  53. package/chunk-k5qg9az8.js +8 -0
  54. package/chunk-m51tryxx.js +3 -0
  55. package/chunk-mna7mgdw.js +3 -0
  56. package/chunk-nfgg1ksw.js +3 -0
  57. package/chunk-npd8k692.js +2 -0
  58. package/chunk-nqzqm9ad.js +3 -0
  59. package/chunk-nsrdzz1p.js +20 -0
  60. package/chunk-qdwzmvcq.js +3923 -0
  61. package/chunk-qgyjffh0.js +16 -0
  62. package/chunk-qnq3xa4h.js +286 -0
  63. package/chunk-r0gyd40q.js +2 -0
  64. package/chunk-ra4kx253.js +7 -0
  65. package/chunk-rq2b2a6n.js +11 -0
  66. package/chunk-s1m4dt0z.js +3 -0
  67. package/chunk-s78m24h4.js +2 -0
  68. package/chunk-sd9r82h2.js +3 -0
  69. package/chunk-smygzsyr.js +10 -0
  70. package/chunk-t0zexn7n.js +2 -0
  71. package/chunk-t2s0yyw0.js +3 -0
  72. package/chunk-v9a2y9rn.js +3 -0
  73. package/chunk-vkn4bfyp.js +2 -0
  74. package/chunk-vpzs9trn.js +3 -0
  75. package/chunk-w3tzsrkw.js +12 -0
  76. package/chunk-x0t8h6vv.js +5 -0
  77. package/chunk-x23g9em9.js +39 -0
  78. package/chunk-x316ag7c.js +25 -0
  79. package/chunk-x5zgyewh.js +2 -0
  80. package/chunk-xr35av3b.js +59 -0
  81. package/chunk-yd190t0s.js +31 -0
  82. package/chunk-zhvw8efz.js +3 -0
  83. package/chunk-zyqsqwn7.js +2 -0
  84. package/compiled.js +10 -10
  85. package/package.json +1 -1
  86. package/ui-test-worker.js +37 -37
  87. package/web/chunk-08tgd17j.js +12 -0
  88. package/web/chunk-08tgd17j.js.br +0 -0
  89. package/web/chunk-08tgd17j.js.gz +0 -0
  90. package/web/chunk-0mqyt9m7.js +1 -0
  91. package/web/chunk-0mqyt9m7.js.br +0 -0
  92. package/web/chunk-0mqyt9m7.js.gz +0 -0
  93. package/web/chunk-0n99y9n5.js +1 -0
  94. package/web/chunk-0n99y9n5.js.br +0 -0
  95. package/web/chunk-0n99y9n5.js.gz +0 -0
  96. package/web/chunk-0qjj75v7.js +1 -0
  97. package/web/chunk-0qjj75v7.js.br +0 -0
  98. package/web/chunk-0qjj75v7.js.gz +0 -0
  99. package/web/chunk-0x3wtwhf.js +291 -0
  100. package/web/chunk-0x3wtwhf.js.br +0 -0
  101. package/web/chunk-0x3wtwhf.js.gz +0 -0
  102. package/web/chunk-0zd5g2yw.js +1 -0
  103. package/web/chunk-0zd5g2yw.js.br +0 -0
  104. package/web/chunk-0zd5g2yw.js.gz +0 -0
  105. package/web/chunk-146ww24y.js +55 -0
  106. package/web/chunk-146ww24y.js.br +0 -0
  107. package/web/chunk-146ww24y.js.gz +0 -0
  108. package/web/chunk-1d8r3aeh.js +3 -0
  109. package/web/chunk-1d8r3aeh.js.br +0 -0
  110. package/web/chunk-1d8r3aeh.js.gz +0 -0
  111. package/web/chunk-1qs4nh4c.js +1 -0
  112. package/web/chunk-1qs4nh4c.js.br +0 -0
  113. package/web/chunk-1qs4nh4c.js.gz +0 -0
  114. package/web/chunk-1v13225a.js +1 -0
  115. package/web/chunk-1v13225a.js.br +2 -0
  116. package/web/chunk-1v13225a.js.gz +0 -0
  117. package/web/chunk-22caavs1.js +1 -0
  118. package/web/chunk-22caavs1.js.br +0 -0
  119. package/web/chunk-22caavs1.js.gz +0 -0
  120. package/web/chunk-28e0vn8m.js +1 -0
  121. package/web/chunk-28e0vn8m.js.br +0 -0
  122. package/web/chunk-28e0vn8m.js.gz +0 -0
  123. package/web/chunk-28sta4gj.js +142 -0
  124. package/web/chunk-28sta4gj.js.br +0 -0
  125. package/web/chunk-28sta4gj.js.gz +0 -0
  126. package/web/chunk-3781tgyt.js +21 -0
  127. package/web/chunk-3781tgyt.js.br +0 -0
  128. package/web/chunk-3781tgyt.js.gz +0 -0
  129. package/web/chunk-3gt60qmf.js +370 -0
  130. package/web/chunk-3gt60qmf.js.br +0 -0
  131. package/web/chunk-3gt60qmf.js.gz +0 -0
  132. package/web/chunk-3rg8d23d.js +2 -0
  133. package/web/chunk-3rg8d23d.js.br +0 -0
  134. package/web/chunk-3rg8d23d.js.gz +0 -0
  135. package/web/chunk-40wx2kxh.js +1 -0
  136. package/web/chunk-40wx2kxh.js.br +0 -0
  137. package/web/chunk-40wx2kxh.js.gz +0 -0
  138. package/web/chunk-44kgdrrk.js +1 -0
  139. package/web/chunk-44kgdrrk.js.br +0 -0
  140. package/web/chunk-44kgdrrk.js.gz +0 -0
  141. package/web/chunk-4vqmgjbf.js +1 -0
  142. package/web/chunk-4vqmgjbf.js.br +0 -0
  143. package/web/chunk-4vqmgjbf.js.gz +0 -0
  144. package/web/chunk-55h6ya95.js +1 -0
  145. package/web/chunk-55h6ya95.js.br +2 -0
  146. package/web/chunk-55h6ya95.js.gz +0 -0
  147. package/web/chunk-5fed8tt3.js +1 -0
  148. package/web/chunk-5fed8tt3.js.br +0 -0
  149. package/web/chunk-5fed8tt3.js.gz +0 -0
  150. package/web/chunk-5y1v9ycq.js +2 -0
  151. package/web/chunk-5y1v9ycq.js.br +0 -0
  152. package/web/chunk-5y1v9ycq.js.gz +0 -0
  153. package/web/chunk-61wasm9a.js +1 -0
  154. package/web/chunk-61wasm9a.js.br +0 -0
  155. package/web/chunk-61wasm9a.js.gz +0 -0
  156. package/web/chunk-66mcaz0p.js +7 -0
  157. package/web/chunk-66mcaz0p.js.br +0 -0
  158. package/web/chunk-66mcaz0p.js.gz +0 -0
  159. package/web/chunk-6ew2qvxb.js +1 -0
  160. package/web/chunk-6ew2qvxb.js.br +0 -0
  161. package/web/chunk-6ew2qvxb.js.gz +0 -0
  162. package/web/chunk-6hkgy8ej.js +36 -0
  163. package/web/chunk-6hkgy8ej.js.br +0 -0
  164. package/web/chunk-6hkgy8ej.js.gz +0 -0
  165. package/web/chunk-75v6mnzm.js +40 -0
  166. package/web/chunk-75v6mnzm.js.br +0 -0
  167. package/web/chunk-75v6mnzm.js.gz +0 -0
  168. package/web/chunk-7ddgm832.js +41 -0
  169. package/web/chunk-7ddgm832.js.br +0 -0
  170. package/web/chunk-7ddgm832.js.gz +0 -0
  171. package/web/chunk-80htbw45.js +1 -0
  172. package/web/chunk-80htbw45.js.br +0 -0
  173. package/web/chunk-80htbw45.js.gz +0 -0
  174. package/web/chunk-8304998z.js +1 -0
  175. package/web/chunk-8304998z.js.br +0 -0
  176. package/web/chunk-8304998z.js.gz +0 -0
  177. package/web/chunk-84wf0ej8.js +2 -0
  178. package/web/chunk-84wf0ej8.js.br +0 -0
  179. package/web/chunk-84wf0ej8.js.gz +0 -0
  180. package/web/chunk-859ry2p4.js +1 -0
  181. package/web/chunk-859ry2p4.js.br +0 -0
  182. package/web/chunk-859ry2p4.js.gz +0 -0
  183. package/web/chunk-883weqxg.js +2 -0
  184. package/web/chunk-883weqxg.js.br +0 -0
  185. package/web/chunk-883weqxg.js.gz +0 -0
  186. package/web/chunk-8a46b2ww.js +303 -0
  187. package/web/chunk-8a46b2ww.js.br +0 -0
  188. package/web/chunk-8a46b2ww.js.gz +0 -0
  189. package/web/chunk-8cajyrkw.js +1 -0
  190. package/web/chunk-8cajyrkw.js.br +0 -0
  191. package/web/chunk-8cajyrkw.js.gz +0 -0
  192. package/web/chunk-8ejwy8g3.js +30 -0
  193. package/web/chunk-8ejwy8g3.js.br +0 -0
  194. package/web/chunk-8ejwy8g3.js.gz +0 -0
  195. package/web/chunk-951dg5kq.js +8 -0
  196. package/web/chunk-951dg5kq.js.br +1 -0
  197. package/web/chunk-951dg5kq.js.gz +0 -0
  198. package/web/chunk-97ccteq4.js +106 -0
  199. package/web/chunk-97ccteq4.js.br +0 -0
  200. package/web/chunk-97ccteq4.js.gz +0 -0
  201. package/web/chunk-98kr0bw8.js +98 -0
  202. package/web/chunk-98kr0bw8.js.br +0 -0
  203. package/web/chunk-98kr0bw8.js.gz +0 -0
  204. package/web/chunk-9bq7xgjz.js +1 -0
  205. package/web/chunk-9bq7xgjz.js.br +0 -0
  206. package/web/chunk-9bq7xgjz.js.gz +0 -0
  207. package/web/chunk-9g5jgnfe.js +2 -0
  208. package/web/chunk-9g5jgnfe.js.br +0 -0
  209. package/web/chunk-9g5jgnfe.js.gz +0 -0
  210. package/web/chunk-an6adjgz.js +24 -0
  211. package/web/chunk-an6adjgz.js.br +0 -0
  212. package/web/chunk-an6adjgz.js.gz +0 -0
  213. package/web/chunk-arp4g43b.js +1 -0
  214. package/web/chunk-arp4g43b.js.br +0 -0
  215. package/web/chunk-arp4g43b.js.gz +0 -0
  216. package/web/chunk-b2ads9ra.js +1 -0
  217. package/web/chunk-b2ads9ra.js.br +0 -0
  218. package/web/chunk-b2ads9ra.js.gz +0 -0
  219. package/web/chunk-bd90pxqc.js +169 -0
  220. package/web/chunk-bd90pxqc.js.br +0 -0
  221. package/web/chunk-bd90pxqc.js.gz +0 -0
  222. package/web/chunk-bmtzds29.js +1 -0
  223. package/web/chunk-bmtzds29.js.br +0 -0
  224. package/web/chunk-bmtzds29.js.gz +0 -0
  225. package/web/chunk-brsvdef4.js +1 -0
  226. package/web/chunk-brsvdef4.js.br +0 -0
  227. package/web/chunk-brsvdef4.js.gz +0 -0
  228. package/web/chunk-bv0vs331.js +332 -0
  229. package/web/chunk-bv0vs331.js.br +0 -0
  230. package/web/chunk-bv0vs331.js.gz +0 -0
  231. package/web/chunk-bzvserky.js +89 -0
  232. package/web/chunk-bzvserky.js.br +0 -0
  233. package/web/chunk-bzvserky.js.gz +0 -0
  234. package/web/chunk-cd3hhgn9.js +2 -0
  235. package/web/chunk-cd3hhgn9.js.br +0 -0
  236. package/web/chunk-cd3hhgn9.js.gz +0 -0
  237. package/web/chunk-cdwn0hd1.js +2 -0
  238. package/web/chunk-cdwn0hd1.js.br +0 -0
  239. package/web/chunk-cdwn0hd1.js.gz +0 -0
  240. package/web/chunk-ckpx6ky8.js +2 -0
  241. package/web/chunk-ckpx6ky8.js.br +0 -0
  242. package/web/chunk-ckpx6ky8.js.gz +0 -0
  243. package/web/chunk-d11xvhrx.js +140 -0
  244. package/web/chunk-d11xvhrx.js.br +0 -0
  245. package/web/chunk-d11xvhrx.js.gz +0 -0
  246. package/web/chunk-d25jazap.js +89 -0
  247. package/web/chunk-d25jazap.js.br +0 -0
  248. package/web/chunk-d25jazap.js.gz +0 -0
  249. package/web/chunk-d5jk5ftp.js +2 -0
  250. package/web/chunk-d5jk5ftp.js.br +0 -0
  251. package/web/chunk-d5jk5ftp.js.gz +0 -0
  252. package/web/chunk-dkdedpn5.js +1 -0
  253. package/web/chunk-dkdedpn5.js.br +0 -0
  254. package/web/chunk-dkdedpn5.js.gz +0 -0
  255. package/web/chunk-dxejr2wc.js +7 -0
  256. package/web/chunk-dxejr2wc.js.br +0 -0
  257. package/web/chunk-dxejr2wc.js.gz +0 -0
  258. package/web/chunk-dym50nnh.js +292 -0
  259. package/web/chunk-dym50nnh.js.br +0 -0
  260. package/web/chunk-dym50nnh.js.gz +0 -0
  261. package/web/chunk-e1fv9zdp.js +1 -0
  262. package/web/chunk-e1fv9zdp.js.br +0 -0
  263. package/web/chunk-e1fv9zdp.js.gz +0 -0
  264. package/web/chunk-e9ycc491.js +120 -0
  265. package/web/chunk-e9ycc491.js.br +0 -0
  266. package/web/chunk-e9ycc491.js.gz +0 -0
  267. package/web/chunk-eww9ygx5.js +2 -0
  268. package/web/chunk-eww9ygx5.js.br +0 -0
  269. package/web/chunk-eww9ygx5.js.gz +0 -0
  270. package/web/chunk-ey2fy3vm.js +4 -0
  271. package/web/chunk-ey2fy3vm.js.br +0 -0
  272. package/web/chunk-ey2fy3vm.js.gz +0 -0
  273. package/web/chunk-ez498328.js +39 -0
  274. package/web/chunk-ez498328.js.br +0 -0
  275. package/web/chunk-ez498328.js.gz +0 -0
  276. package/web/chunk-f0x62xvv.js +84 -0
  277. package/web/chunk-f0x62xvv.js.br +0 -0
  278. package/web/chunk-f0x62xvv.js.gz +0 -0
  279. package/web/chunk-f1z92c2d.js +1 -0
  280. package/web/chunk-f1z92c2d.js.br +2 -0
  281. package/web/chunk-f1z92c2d.js.gz +0 -0
  282. package/web/chunk-fwvar7a7.js +1 -0
  283. package/web/chunk-fwvar7a7.js.br +0 -0
  284. package/web/chunk-fwvar7a7.js.gz +0 -0
  285. package/web/chunk-g8bw60t3.js +324 -0
  286. package/web/chunk-g8bw60t3.js.br +0 -0
  287. package/web/chunk-g8bw60t3.js.gz +0 -0
  288. package/web/chunk-g8se5rtx.js +2 -0
  289. package/web/chunk-g8se5rtx.js.br +0 -0
  290. package/web/chunk-g8se5rtx.js.gz +0 -0
  291. package/web/chunk-gkwkbkr4.js +217 -0
  292. package/web/chunk-gkwkbkr4.js.br +0 -0
  293. package/web/chunk-gkwkbkr4.js.gz +0 -0
  294. package/web/chunk-h50zbzfg.js +24 -0
  295. package/web/chunk-h50zbzfg.js.br +0 -0
  296. package/web/chunk-h50zbzfg.js.gz +0 -0
  297. package/web/chunk-j3vqhfgg.js +1 -0
  298. package/web/chunk-j3vqhfgg.js.br +0 -0
  299. package/web/chunk-j3vqhfgg.js.gz +0 -0
  300. package/web/chunk-jk6j68wv.js +1 -0
  301. package/web/chunk-jk6j68wv.js.br +0 -0
  302. package/web/chunk-jk6j68wv.js.gz +0 -0
  303. package/web/chunk-jrdx4yfq.js +2 -0
  304. package/web/chunk-jrdx4yfq.js.br +0 -0
  305. package/web/chunk-jrdx4yfq.js.gz +0 -0
  306. package/web/chunk-k2by2sj0.css +1 -0
  307. package/web/chunk-k2by2sj0.css.br +0 -0
  308. package/web/chunk-k2by2sj0.css.gz +0 -0
  309. package/web/chunk-kc4ymfvv.js +2 -0
  310. package/web/chunk-kc4ymfvv.js.br +1 -0
  311. package/web/chunk-kc4ymfvv.js.gz +0 -0
  312. package/web/chunk-kh9d9x20.js +1 -0
  313. package/web/chunk-kh9d9x20.js.br +0 -0
  314. package/web/chunk-kh9d9x20.js.gz +0 -0
  315. package/web/chunk-kkv1h28t.js +2 -0
  316. package/web/chunk-kkv1h28t.js.br +0 -0
  317. package/web/chunk-kkv1h28t.js.gz +0 -0
  318. package/web/chunk-kzkjfngw.js +7 -0
  319. package/web/chunk-kzkjfngw.js.br +0 -0
  320. package/web/chunk-kzkjfngw.js.gz +0 -0
  321. package/web/chunk-mj8xb4z9.js +2 -0
  322. package/web/chunk-mj8xb4z9.js.br +0 -0
  323. package/web/chunk-mj8xb4z9.js.gz +0 -0
  324. package/web/chunk-mv0pwdz6.js +1 -0
  325. package/web/chunk-mv0pwdz6.js.br +0 -0
  326. package/web/chunk-mv0pwdz6.js.gz +0 -0
  327. package/web/chunk-n8qc0chz.js +34 -0
  328. package/web/chunk-n8qc0chz.js.br +0 -0
  329. package/web/chunk-n8qc0chz.js.gz +0 -0
  330. package/web/chunk-nf83ezt5.js +1136 -0
  331. package/web/chunk-nf83ezt5.js.br +0 -0
  332. package/web/chunk-nf83ezt5.js.gz +0 -0
  333. package/web/chunk-nh3m09b1.js +1 -0
  334. package/web/chunk-nh3m09b1.js.br +0 -0
  335. package/web/chunk-nh3m09b1.js.gz +0 -0
  336. package/web/chunk-nqvjw71s.js +1 -0
  337. package/web/chunk-nqvjw71s.js.br +0 -0
  338. package/web/chunk-nqvjw71s.js.gz +0 -0
  339. package/web/chunk-nyydkfyf.js +1 -0
  340. package/web/chunk-nyydkfyf.js.br +0 -0
  341. package/web/chunk-nyydkfyf.js.gz +0 -0
  342. package/web/chunk-p0zneef1.js +2 -0
  343. package/web/chunk-p0zneef1.js.br +0 -0
  344. package/web/chunk-p0zneef1.js.gz +0 -0
  345. package/web/chunk-pjd16rfv.js +1 -0
  346. package/web/chunk-pjd16rfv.js.br +0 -0
  347. package/web/chunk-pjd16rfv.js.gz +0 -0
  348. package/web/chunk-praang0j.js +214 -0
  349. package/web/chunk-praang0j.js.br +0 -0
  350. package/web/chunk-praang0j.js.gz +0 -0
  351. package/web/chunk-prynwp2t.js +1 -0
  352. package/web/chunk-prynwp2t.js.br +0 -0
  353. package/web/chunk-prynwp2t.js.gz +0 -0
  354. package/web/chunk-qd3x1kbw.js +1 -0
  355. package/web/chunk-qd3x1kbw.js.br +2 -0
  356. package/web/chunk-qd3x1kbw.js.gz +0 -0
  357. package/web/chunk-qgqg2kr5.js +1 -0
  358. package/web/chunk-qgqg2kr5.js.br +0 -0
  359. package/web/chunk-qgqg2kr5.js.gz +0 -0
  360. package/web/chunk-qha5j25q.js +2 -0
  361. package/web/chunk-qha5j25q.js.br +0 -0
  362. package/web/chunk-qha5j25q.js.gz +0 -0
  363. package/web/chunk-qhf717ek.js +2 -0
  364. package/web/chunk-qhf717ek.js.br +0 -0
  365. package/web/chunk-qhf717ek.js.gz +0 -0
  366. package/web/chunk-qt2ktkps.js +1 -0
  367. package/web/chunk-qt2ktkps.js.br +0 -0
  368. package/web/chunk-qt2ktkps.js.gz +0 -0
  369. package/web/chunk-scnew5q6.js +1 -0
  370. package/web/chunk-scnew5q6.js.br +0 -0
  371. package/web/chunk-scnew5q6.js.gz +0 -0
  372. package/web/chunk-scrrgk6n.js +2 -0
  373. package/web/chunk-scrrgk6n.js.br +0 -0
  374. package/web/chunk-scrrgk6n.js.gz +0 -0
  375. package/web/chunk-sy1ta5rp.js +1 -0
  376. package/web/chunk-sy1ta5rp.js.br +0 -0
  377. package/web/chunk-sy1ta5rp.js.gz +0 -0
  378. package/web/chunk-t092etr1.js +2 -0
  379. package/web/chunk-t092etr1.js.br +0 -0
  380. package/web/chunk-t092etr1.js.gz +0 -0
  381. package/web/chunk-t34g8qj4.js +2 -0
  382. package/web/chunk-t34g8qj4.js.br +0 -0
  383. package/web/chunk-t34g8qj4.js.gz +0 -0
  384. package/web/chunk-tfdwgjr1.js +2 -0
  385. package/web/chunk-tfdwgjr1.js.br +0 -0
  386. package/web/chunk-tfdwgjr1.js.gz +0 -0
  387. package/web/chunk-ty54ph0y.js +1 -0
  388. package/web/chunk-ty54ph0y.js.br +2 -0
  389. package/web/chunk-ty54ph0y.js.gz +0 -0
  390. package/web/chunk-v7nv1ve8.js +1 -0
  391. package/web/chunk-v7nv1ve8.js.br +0 -0
  392. package/web/chunk-v7nv1ve8.js.gz +0 -0
  393. package/web/chunk-vchzf900.js +2 -0
  394. package/web/chunk-vchzf900.js.br +0 -0
  395. package/web/chunk-vchzf900.js.gz +0 -0
  396. package/web/chunk-vtn7g6n0.js +2 -0
  397. package/web/chunk-vtn7g6n0.js.br +0 -0
  398. package/web/chunk-vtn7g6n0.js.gz +0 -0
  399. package/web/chunk-w1bp9wwx.js +1 -0
  400. package/web/chunk-w1bp9wwx.js.br +0 -0
  401. package/web/chunk-w1bp9wwx.js.gz +0 -0
  402. package/web/chunk-w4h1c0eb.js +200 -0
  403. package/web/chunk-w4h1c0eb.js.br +0 -0
  404. package/web/chunk-w4h1c0eb.js.gz +0 -0
  405. package/web/chunk-wx0jmdbq.js +62 -0
  406. package/web/chunk-wx0jmdbq.js.br +0 -0
  407. package/web/chunk-wx0jmdbq.js.gz +0 -0
  408. package/web/chunk-xdns99dp.js +99 -0
  409. package/web/chunk-xdns99dp.js.br +0 -0
  410. package/web/chunk-xdns99dp.js.gz +0 -0
  411. package/web/chunk-xnhzragz.js +1 -0
  412. package/web/chunk-xnhzragz.js.br +0 -0
  413. package/web/chunk-xnhzragz.js.gz +0 -0
  414. package/web/chunk-xq241z8c.js +38 -0
  415. package/web/chunk-xq241z8c.js.br +0 -0
  416. package/web/chunk-xq241z8c.js.gz +0 -0
  417. package/web/chunk-xve7x5x1.js +2 -0
  418. package/web/chunk-xve7x5x1.js.br +0 -0
  419. package/web/chunk-xve7x5x1.js.gz +0 -0
  420. package/web/chunk-xvn1wg8g.js +2 -0
  421. package/web/chunk-xvn1wg8g.js.br +0 -0
  422. package/web/chunk-xvn1wg8g.js.gz +0 -0
  423. package/web/chunk-xwy6m9v6.js +1 -0
  424. package/web/chunk-xwy6m9v6.js.br +0 -0
  425. package/web/chunk-xwy6m9v6.js.gz +0 -0
  426. package/web/chunk-y7zvyd6m.js +1 -0
  427. package/web/chunk-y7zvyd6m.js.br +0 -0
  428. package/web/chunk-y7zvyd6m.js.gz +0 -0
  429. package/web/chunk-yh07726r.js +78 -0
  430. package/web/chunk-yh07726r.js.br +0 -0
  431. package/web/chunk-yh07726r.js.gz +0 -0
  432. package/web/chunk-yr94dbhk.js +1 -0
  433. package/web/chunk-yr94dbhk.js.br +0 -0
  434. package/web/chunk-yr94dbhk.js.gz +0 -0
  435. package/web/chunk-ysqfkg2v.js +70 -0
  436. package/web/chunk-ysqfkg2v.js.br +0 -0
  437. package/web/chunk-ysqfkg2v.js.gz +0 -0
  438. package/web/chunk-yxax25q6.js +4 -0
  439. package/web/chunk-yxax25q6.js.br +0 -0
  440. package/web/chunk-yxax25q6.js.gz +0 -0
  441. package/web/chunk-z7024nm8.js +16 -0
  442. package/web/chunk-z7024nm8.js.br +0 -0
  443. package/web/chunk-z7024nm8.js.gz +0 -0
  444. package/web/chunk-z91sdj83.js +139 -0
  445. package/web/chunk-z91sdj83.js.br +0 -0
  446. package/web/chunk-z91sdj83.js.gz +0 -0
  447. package/web/chunk-zw958xwq.js +1 -0
  448. package/web/chunk-zw958xwq.js.br +0 -0
  449. package/web/chunk-zw958xwq.js.gz +0 -0
  450. package/web/index.html +1 -1
  451. package/web/index.html.br +0 -0
  452. package/web/index.html.gz +0 -0
  453. package/worker.js +1 -1
  454. package/chunk-0ecs4nme.js +0 -18
  455. package/chunk-0mrd775t.js +0 -3
  456. package/chunk-0p12aad6.js +0 -3
  457. package/chunk-0vdz9j55.js +0 -7
  458. package/chunk-1v0dv855.js +0 -3
  459. package/chunk-2c6seev1.js +0 -3
  460. package/chunk-2jeg8h8d.js +0 -3
  461. package/chunk-2q3tewbg.js +0 -59
  462. package/chunk-3hqka8zs.js +0 -2
  463. package/chunk-3ktcgaec.js +0 -2
  464. package/chunk-3v0ezmaw.js +0 -39
  465. package/chunk-3zv7ryz0.js +0 -2
  466. package/chunk-4mwx4pet.js +0 -15
  467. package/chunk-5h96jz3p.js +0 -3
  468. package/chunk-5kd940f5.js +0 -3
  469. package/chunk-61e7nvw9.js +0 -2
  470. package/chunk-628vymvd.js +0 -3
  471. package/chunk-6h9dxrr4.js +0 -2
  472. package/chunk-6ka4m0ax.js +0 -2
  473. package/chunk-6q0ak8d1.js +0 -12
  474. package/chunk-768vwfc3.js +0 -3
  475. package/chunk-7k4xghss.js +0 -5
  476. package/chunk-8jv34hrx.js +0 -7
  477. package/chunk-8np9b2y8.js +0 -3
  478. package/chunk-8yv55y6g.js +0 -3
  479. package/chunk-93bcazsp.js +0 -2
  480. package/chunk-95rqa8r8.js +0 -2
  481. package/chunk-9fccgczj.js +0 -3
  482. package/chunk-akf8x16s.js +0 -5
  483. package/chunk-bkmd5d8p.js +0 -3
  484. package/chunk-df7ye0xb.js +0 -9
  485. package/chunk-drbd6485.js +0 -3
  486. package/chunk-dsd6pd2m.js +0 -2
  487. package/chunk-eejgn4ye.js +0 -2
  488. package/chunk-eek8fqvj.js +0 -2
  489. package/chunk-ewjrnvjb.js +0 -10
  490. package/chunk-f4tqhvff.js +0 -3
  491. package/chunk-ff293dj0.js +0 -4
  492. package/chunk-g23dnf4y.js +0 -4
  493. package/chunk-gha8wd63.js +0 -11
  494. package/chunk-gwcstcqs.js +0 -3566
  495. package/chunk-gwrpahes.js +0 -2
  496. package/chunk-hz92pdms.js +0 -2
  497. package/chunk-jepxf22f.js +0 -7
  498. package/chunk-keq5kv9b.js +0 -3
  499. package/chunk-khdch9sx.js +0 -25
  500. package/chunk-m1w7f6d3.js +0 -5
  501. package/chunk-m839588n.js +0 -2
  502. package/chunk-mah60ek9.js +0 -3
  503. package/chunk-mmm1jh57.js +0 -20
  504. package/chunk-mmt11y21.js +0 -2
  505. package/chunk-mny4xyb0.js +0 -3
  506. package/chunk-mq0p4ssz.js +0 -3
  507. package/chunk-mzta1jts.js +0 -10
  508. package/chunk-n0qwj5gm.js +0 -12
  509. package/chunk-n19ec95n.js +0 -3
  510. package/chunk-n5b822pn.js +0 -3
  511. package/chunk-nvxx397h.js +0 -2
  512. package/chunk-nwfhbcme.js +0 -4
  513. package/chunk-pjv9mppd.js +0 -473
  514. package/chunk-pr1hfw3a.js +0 -2
  515. package/chunk-q2re8mn9.js +0 -31
  516. package/chunk-qgg3wk8h.js +0 -2
  517. package/chunk-r9gkfk6f.js +0 -16
  518. package/chunk-rjfph4m5.js +0 -3
  519. package/chunk-rkn6bven.js +0 -390
  520. package/chunk-rmy489b1.js +0 -7
  521. package/chunk-sf2cp0m6.js +0 -8
  522. package/chunk-sfwy8rqg.js +0 -3
  523. package/chunk-sj2q2amm.js +0 -11
  524. package/chunk-sqfs6z7c.js +0 -3
  525. package/chunk-sy980cjq.js +0 -2
  526. package/chunk-t64hda7b.js +0 -2
  527. package/chunk-tbhqhejq.js +0 -2
  528. package/chunk-trxaygjr.js +0 -5
  529. package/chunk-v7ehjbxx.js +0 -2
  530. package/chunk-vjegsy9q.js +0 -2
  531. package/chunk-vt4xyc4q.js +0 -2
  532. package/chunk-w430z452.js +0 -25
  533. package/chunk-xycq2q8m.js +0 -2
  534. package/chunk-y6mng74k.js +0 -2
  535. package/chunk-y8aq7mb7.js +0 -3
  536. package/chunk-ynt6najh.js +0 -3
  537. package/chunk-z1y43t2s.js +0 -3
  538. package/chunk-z6v2pcc0.js +0 -3
  539. package/web/chunk-00wh99xz.js +0 -78
  540. package/web/chunk-00wh99xz.js.br +0 -0
  541. package/web/chunk-00wh99xz.js.gz +0 -0
  542. package/web/chunk-0a1t2j8h.js +0 -2
  543. package/web/chunk-0a1t2j8h.js.br +0 -0
  544. package/web/chunk-0a1t2j8h.js.gz +0 -0
  545. package/web/chunk-0g9ycv0h.js +0 -2
  546. package/web/chunk-0g9ycv0h.js.br +0 -0
  547. package/web/chunk-0g9ycv0h.js.gz +0 -0
  548. package/web/chunk-1ar2phwa.js +0 -1
  549. package/web/chunk-1ar2phwa.js.br +0 -0
  550. package/web/chunk-1ar2phwa.js.gz +0 -0
  551. package/web/chunk-1jfydncj.js +0 -24
  552. package/web/chunk-1jfydncj.js.br +0 -0
  553. package/web/chunk-1jfydncj.js.gz +0 -0
  554. package/web/chunk-1p1jtvrt.js +0 -2
  555. package/web/chunk-1p1jtvrt.js.br +0 -0
  556. package/web/chunk-1p1jtvrt.js.gz +0 -0
  557. package/web/chunk-1x38r11w.js +0 -1
  558. package/web/chunk-1x38r11w.js.br +0 -2
  559. package/web/chunk-1x38r11w.js.gz +0 -0
  560. package/web/chunk-25rf3svt.js +0 -2
  561. package/web/chunk-25rf3svt.js.br +0 -0
  562. package/web/chunk-25rf3svt.js.gz +0 -0
  563. package/web/chunk-2cfv55j2.js +0 -1
  564. package/web/chunk-2cfv55j2.js.br +0 -0
  565. package/web/chunk-2cfv55j2.js.gz +0 -0
  566. package/web/chunk-2q37qdq2.js +0 -2
  567. package/web/chunk-2q37qdq2.js.br +0 -0
  568. package/web/chunk-2q37qdq2.js.gz +0 -0
  569. package/web/chunk-2yhmab75.js +0 -7
  570. package/web/chunk-2yhmab75.js.br +0 -0
  571. package/web/chunk-2yhmab75.js.gz +0 -0
  572. package/web/chunk-39rtp0f4.js +0 -1
  573. package/web/chunk-39rtp0f4.js.br +0 -0
  574. package/web/chunk-39rtp0f4.js.gz +0 -0
  575. package/web/chunk-3at57qna.js +0 -1
  576. package/web/chunk-3at57qna.js.br +0 -0
  577. package/web/chunk-3at57qna.js.gz +0 -0
  578. package/web/chunk-3z9kpkec.js +0 -1
  579. package/web/chunk-3z9kpkec.js.br +0 -0
  580. package/web/chunk-3z9kpkec.js.gz +0 -0
  581. package/web/chunk-43shp7zx.js +0 -2
  582. package/web/chunk-43shp7zx.js.br +0 -0
  583. package/web/chunk-43shp7zx.js.gz +0 -0
  584. package/web/chunk-4ncnt1c2.js +0 -2
  585. package/web/chunk-4ncnt1c2.js.br +0 -0
  586. package/web/chunk-4ncnt1c2.js.gz +0 -0
  587. package/web/chunk-4vc07x6t.js +0 -1
  588. package/web/chunk-4vc07x6t.js.br +0 -0
  589. package/web/chunk-4vc07x6t.js.gz +0 -0
  590. package/web/chunk-4ytc5sth.js +0 -1
  591. package/web/chunk-4ytc5sth.js.br +0 -0
  592. package/web/chunk-4ytc5sth.js.gz +0 -0
  593. package/web/chunk-54vdfmx0.js +0 -2
  594. package/web/chunk-54vdfmx0.js.br +0 -0
  595. package/web/chunk-54vdfmx0.js.gz +0 -0
  596. package/web/chunk-5c5h90k0.js +0 -1
  597. package/web/chunk-5c5h90k0.js.br +0 -0
  598. package/web/chunk-5c5h90k0.js.gz +0 -0
  599. package/web/chunk-5zpn3n5a.js +0 -1
  600. package/web/chunk-5zpn3n5a.js.br +0 -0
  601. package/web/chunk-5zpn3n5a.js.gz +0 -0
  602. package/web/chunk-64k06g43.js +0 -1
  603. package/web/chunk-64k06g43.js.br +0 -0
  604. package/web/chunk-64k06g43.js.gz +0 -0
  605. package/web/chunk-6pbrtp4e.js +0 -30
  606. package/web/chunk-6pbrtp4e.js.br +0 -0
  607. package/web/chunk-6pbrtp4e.js.gz +0 -0
  608. package/web/chunk-6sehssym.js +0 -1
  609. package/web/chunk-6sehssym.js.br +0 -2
  610. package/web/chunk-6sehssym.js.gz +0 -0
  611. package/web/chunk-7hxj251q.js +0 -1
  612. package/web/chunk-7hxj251q.js.br +0 -0
  613. package/web/chunk-7hxj251q.js.gz +0 -0
  614. package/web/chunk-7qcmg5ns.js +0 -2
  615. package/web/chunk-7qcmg5ns.js.br +0 -0
  616. package/web/chunk-7qcmg5ns.js.gz +0 -0
  617. package/web/chunk-7ycp549b.js +0 -2
  618. package/web/chunk-7ycp549b.js.br +0 -0
  619. package/web/chunk-7ycp549b.js.gz +0 -0
  620. package/web/chunk-811qc5bs.js +0 -1
  621. package/web/chunk-811qc5bs.js.br +0 -0
  622. package/web/chunk-811qc5bs.js.gz +0 -0
  623. package/web/chunk-82gjgy45.js +0 -1
  624. package/web/chunk-82gjgy45.js.br +0 -0
  625. package/web/chunk-82gjgy45.js.gz +0 -0
  626. package/web/chunk-82j6713x.js +0 -214
  627. package/web/chunk-82j6713x.js.br +0 -0
  628. package/web/chunk-82j6713x.js.gz +0 -0
  629. package/web/chunk-9vexd52p.js +0 -324
  630. package/web/chunk-9vexd52p.js.br +0 -0
  631. package/web/chunk-9vexd52p.js.gz +0 -0
  632. package/web/chunk-ajj3nc80.js +0 -2
  633. package/web/chunk-ajj3nc80.js.br +0 -0
  634. package/web/chunk-ajj3nc80.js.gz +0 -0
  635. package/web/chunk-amrkb4dd.js +0 -1
  636. package/web/chunk-amrkb4dd.js.br +0 -0
  637. package/web/chunk-amrkb4dd.js.gz +0 -0
  638. package/web/chunk-amrt87c9.js +0 -1
  639. package/web/chunk-amrt87c9.js.br +0 -0
  640. package/web/chunk-amrt87c9.js.gz +0 -0
  641. package/web/chunk-b7d5k9sp.js +0 -370
  642. package/web/chunk-b7d5k9sp.js.br +0 -0
  643. package/web/chunk-b7d5k9sp.js.gz +0 -0
  644. package/web/chunk-bavn0z5d.js +0 -1
  645. package/web/chunk-bavn0z5d.js.br +0 -0
  646. package/web/chunk-bavn0z5d.js.gz +0 -0
  647. package/web/chunk-bjw74xvy.js +0 -4
  648. package/web/chunk-bjw74xvy.js.br +0 -0
  649. package/web/chunk-bjw74xvy.js.gz +0 -0
  650. package/web/chunk-bn68ks4x.js +0 -1
  651. package/web/chunk-bn68ks4x.js.br +0 -0
  652. package/web/chunk-bn68ks4x.js.gz +0 -0
  653. package/web/chunk-c59d2j14.js +0 -8
  654. package/web/chunk-c59d2j14.js.br +0 -0
  655. package/web/chunk-c59d2j14.js.gz +0 -0
  656. package/web/chunk-cfz9ftze.js +0 -70
  657. package/web/chunk-cfz9ftze.js.br +0 -0
  658. package/web/chunk-cfz9ftze.js.gz +0 -0
  659. package/web/chunk-chq476ch.js +0 -98
  660. package/web/chunk-chq476ch.js.br +0 -0
  661. package/web/chunk-chq476ch.js.gz +0 -0
  662. package/web/chunk-cqr2kq2c.js +0 -1
  663. package/web/chunk-cqr2kq2c.js.br +0 -0
  664. package/web/chunk-cqr2kq2c.js.gz +0 -0
  665. package/web/chunk-cxhcrhqc.js +0 -1
  666. package/web/chunk-cxhcrhqc.js.br +0 -0
  667. package/web/chunk-cxhcrhqc.js.gz +0 -0
  668. package/web/chunk-d0ey112q.js +0 -140
  669. package/web/chunk-d0ey112q.js.br +0 -0
  670. package/web/chunk-d0ey112q.js.gz +0 -0
  671. package/web/chunk-d71z7s5r.js +0 -16
  672. package/web/chunk-d71z7s5r.js.br +0 -0
  673. package/web/chunk-d71z7s5r.js.gz +0 -0
  674. package/web/chunk-dembnhph.js +0 -2
  675. package/web/chunk-dembnhph.js.br +0 -0
  676. package/web/chunk-dembnhph.js.gz +0 -0
  677. package/web/chunk-dfq4w8mf.js +0 -1
  678. package/web/chunk-dfq4w8mf.js.br +0 -0
  679. package/web/chunk-dfq4w8mf.js.gz +0 -0
  680. package/web/chunk-dwdxczxc.js +0 -99
  681. package/web/chunk-dwdxczxc.js.br +0 -0
  682. package/web/chunk-dwdxczxc.js.gz +0 -0
  683. package/web/chunk-e3b2krd7.js +0 -1
  684. package/web/chunk-e3b2krd7.js.br +0 -0
  685. package/web/chunk-e3b2krd7.js.gz +0 -0
  686. package/web/chunk-e4wbkc1x.js +0 -55
  687. package/web/chunk-e4wbkc1x.js.br +0 -0
  688. package/web/chunk-e4wbkc1x.js.gz +0 -0
  689. package/web/chunk-ee67ps6t.js +0 -1
  690. package/web/chunk-ee67ps6t.js.br +0 -0
  691. package/web/chunk-ee67ps6t.js.gz +0 -0
  692. package/web/chunk-ef0wf92p.js +0 -2
  693. package/web/chunk-ef0wf92p.js.br +0 -0
  694. package/web/chunk-ef0wf92p.js.gz +0 -0
  695. package/web/chunk-ekwmp0s0.js +0 -1
  696. package/web/chunk-ekwmp0s0.js.br +0 -0
  697. package/web/chunk-ekwmp0s0.js.gz +0 -0
  698. package/web/chunk-f2qrf0he.js +0 -7
  699. package/web/chunk-f2qrf0he.js.br +0 -0
  700. package/web/chunk-f2qrf0he.js.gz +0 -0
  701. package/web/chunk-f88vhwan.js +0 -34
  702. package/web/chunk-f88vhwan.js.br +0 -0
  703. package/web/chunk-f88vhwan.js.gz +0 -0
  704. package/web/chunk-fpp6jtb4.js +0 -1
  705. package/web/chunk-fpp6jtb4.js.br +0 -0
  706. package/web/chunk-fpp6jtb4.js.gz +0 -0
  707. package/web/chunk-ft62hfnt.js +0 -1
  708. package/web/chunk-ft62hfnt.js.br +0 -0
  709. package/web/chunk-ft62hfnt.js.gz +0 -0
  710. package/web/chunk-g3fahpjw.js +0 -2
  711. package/web/chunk-g3fahpjw.js.br +0 -0
  712. package/web/chunk-g3fahpjw.js.gz +0 -0
  713. package/web/chunk-g5b4wjwp.js +0 -1135
  714. package/web/chunk-g5b4wjwp.js.br +0 -0
  715. package/web/chunk-g5b4wjwp.js.gz +0 -0
  716. package/web/chunk-ga3tn73a.js +0 -1
  717. package/web/chunk-ga3tn73a.js.br +0 -0
  718. package/web/chunk-ga3tn73a.js.gz +0 -0
  719. package/web/chunk-gf4vtpw2.js +0 -1
  720. package/web/chunk-gf4vtpw2.js.br +0 -0
  721. package/web/chunk-gf4vtpw2.js.gz +0 -0
  722. package/web/chunk-ghxfjwhq.js +0 -1
  723. package/web/chunk-ghxfjwhq.js.br +0 -0
  724. package/web/chunk-ghxfjwhq.js.gz +0 -0
  725. package/web/chunk-gxqs7zmy.js +0 -1
  726. package/web/chunk-gxqs7zmy.js.br +0 -0
  727. package/web/chunk-gxqs7zmy.js.gz +0 -0
  728. package/web/chunk-htn0dt64.js +0 -2
  729. package/web/chunk-htn0dt64.js.br +0 -0
  730. package/web/chunk-htn0dt64.js.gz +0 -0
  731. package/web/chunk-jpdp0xkd.js +0 -1
  732. package/web/chunk-jpdp0xkd.js.br +0 -0
  733. package/web/chunk-jpdp0xkd.js.gz +0 -0
  734. package/web/chunk-jtzbk251.js +0 -291
  735. package/web/chunk-jtzbk251.js.br +0 -0
  736. package/web/chunk-jtzbk251.js.gz +0 -0
  737. package/web/chunk-k8yyb4wc.js +0 -2
  738. package/web/chunk-k8yyb4wc.js.br +0 -0
  739. package/web/chunk-k8yyb4wc.js.gz +0 -0
  740. package/web/chunk-kc6k0ect.js +0 -1
  741. package/web/chunk-kc6k0ect.js.br +0 -0
  742. package/web/chunk-kc6k0ect.js.gz +0 -0
  743. package/web/chunk-kk7k8xc8.js +0 -21
  744. package/web/chunk-kk7k8xc8.js.br +0 -0
  745. package/web/chunk-kk7k8xc8.js.gz +0 -0
  746. package/web/chunk-kmpyntam.js +0 -169
  747. package/web/chunk-kmpyntam.js.br +0 -0
  748. package/web/chunk-kmpyntam.js.gz +0 -0
  749. package/web/chunk-mejpj22t.js +0 -89
  750. package/web/chunk-mejpj22t.js.br +0 -0
  751. package/web/chunk-mejpj22t.js.gz +0 -0
  752. package/web/chunk-mm10pm0x.js +0 -106
  753. package/web/chunk-mm10pm0x.js.br +0 -0
  754. package/web/chunk-mm10pm0x.js.gz +0 -0
  755. package/web/chunk-mpve4748.js +0 -1
  756. package/web/chunk-mpve4748.js.br +0 -0
  757. package/web/chunk-mpve4748.js.gz +0 -0
  758. package/web/chunk-ms022qq9.js +0 -1
  759. package/web/chunk-ms022qq9.js.br +0 -2
  760. package/web/chunk-ms022qq9.js.gz +0 -0
  761. package/web/chunk-mxf122px.js +0 -1
  762. package/web/chunk-mxf122px.js.br +0 -0
  763. package/web/chunk-mxf122px.js.gz +0 -0
  764. package/web/chunk-mzv41kv9.js +0 -1
  765. package/web/chunk-mzv41kv9.js.br +0 -2
  766. package/web/chunk-mzv41kv9.js.gz +0 -0
  767. package/web/chunk-mzyg8zga.js +0 -332
  768. package/web/chunk-mzyg8zga.js.br +0 -0
  769. package/web/chunk-mzyg8zga.js.gz +0 -0
  770. package/web/chunk-n8j9jdsh.js +0 -2
  771. package/web/chunk-n8j9jdsh.js.br +0 -0
  772. package/web/chunk-n8j9jdsh.js.gz +0 -0
  773. package/web/chunk-n8ts6ra2.js +0 -36
  774. package/web/chunk-n8ts6ra2.js.br +0 -0
  775. package/web/chunk-n8ts6ra2.js.gz +0 -0
  776. package/web/chunk-nefchfa1.js +0 -1
  777. package/web/chunk-nefchfa1.js.br +0 -0
  778. package/web/chunk-nefchfa1.js.gz +0 -0
  779. package/web/chunk-ng0bsm6n.js +0 -1
  780. package/web/chunk-ng0bsm6n.js.br +0 -0
  781. package/web/chunk-ng0bsm6n.js.gz +0 -0
  782. package/web/chunk-nz1mm18x.js +0 -1
  783. package/web/chunk-nz1mm18x.js.br +0 -0
  784. package/web/chunk-nz1mm18x.js.gz +0 -0
  785. package/web/chunk-pdxqp4rh.js +0 -2
  786. package/web/chunk-pdxqp4rh.js.br +0 -0
  787. package/web/chunk-pdxqp4rh.js.gz +0 -0
  788. package/web/chunk-pe2zvyjt.js +0 -2
  789. package/web/chunk-pe2zvyjt.js.br +0 -0
  790. package/web/chunk-pe2zvyjt.js.gz +0 -0
  791. package/web/chunk-q8ve5wqt.js +0 -292
  792. package/web/chunk-q8ve5wqt.js.br +0 -0
  793. package/web/chunk-q8ve5wqt.js.gz +0 -0
  794. package/web/chunk-qh93t9tv.js +0 -1
  795. package/web/chunk-qh93t9tv.js.br +0 -0
  796. package/web/chunk-qh93t9tv.js.gz +0 -0
  797. package/web/chunk-qqewmk3y.js +0 -62
  798. package/web/chunk-qqewmk3y.js.br +0 -0
  799. package/web/chunk-qqewmk3y.js.gz +0 -0
  800. package/web/chunk-qzb06me8.js +0 -303
  801. package/web/chunk-qzb06me8.js.br +0 -0
  802. package/web/chunk-qzb06me8.js.gz +0 -0
  803. package/web/chunk-r2zernvz.js +0 -7
  804. package/web/chunk-r2zernvz.js.br +0 -0
  805. package/web/chunk-r2zernvz.js.gz +0 -0
  806. package/web/chunk-r8ykja8v.js +0 -139
  807. package/web/chunk-r8ykja8v.js.br +0 -0
  808. package/web/chunk-r8ykja8v.js.gz +0 -0
  809. package/web/chunk-r9b7eh2j.js +0 -1
  810. package/web/chunk-r9b7eh2j.js.br +0 -0
  811. package/web/chunk-r9b7eh2j.js.gz +0 -0
  812. package/web/chunk-ry1wp3v8.js +0 -2
  813. package/web/chunk-ry1wp3v8.js.br +0 -0
  814. package/web/chunk-ry1wp3v8.js.gz +0 -0
  815. package/web/chunk-s2bfc2vk.js +0 -1
  816. package/web/chunk-s2bfc2vk.js.br +0 -0
  817. package/web/chunk-s2bfc2vk.js.gz +0 -0
  818. package/web/chunk-s4c6nzj9.js +0 -120
  819. package/web/chunk-s4c6nzj9.js.br +0 -0
  820. package/web/chunk-s4c6nzj9.js.gz +0 -0
  821. package/web/chunk-ss23nnmc.js +0 -217
  822. package/web/chunk-ss23nnmc.js.br +0 -0
  823. package/web/chunk-ss23nnmc.js.gz +0 -0
  824. package/web/chunk-sxmv80th.js +0 -2
  825. package/web/chunk-sxmv80th.js.br +0 -0
  826. package/web/chunk-sxmv80th.js.gz +0 -0
  827. package/web/chunk-sy2cdka3.js +0 -24
  828. package/web/chunk-sy2cdka3.js.br +0 -0
  829. package/web/chunk-sy2cdka3.js.gz +0 -0
  830. package/web/chunk-sysebfkg.js +0 -41
  831. package/web/chunk-sysebfkg.js.br +0 -0
  832. package/web/chunk-sysebfkg.js.gz +0 -0
  833. package/web/chunk-t3620hrb.js +0 -39
  834. package/web/chunk-t3620hrb.js.br +0 -0
  835. package/web/chunk-t3620hrb.js.gz +0 -0
  836. package/web/chunk-t5srz1hs.js +0 -3
  837. package/web/chunk-t5srz1hs.js.br +0 -0
  838. package/web/chunk-t5srz1hs.js.gz +0 -0
  839. package/web/chunk-ta913rgd.js +0 -2
  840. package/web/chunk-ta913rgd.js.br +0 -0
  841. package/web/chunk-ta913rgd.js.gz +0 -0
  842. package/web/chunk-v25k7n3r.js +0 -12
  843. package/web/chunk-v25k7n3r.js.br +0 -0
  844. package/web/chunk-v25k7n3r.js.gz +0 -0
  845. package/web/chunk-vf0p4ayw.js +0 -1
  846. package/web/chunk-vf0p4ayw.js.br +0 -0
  847. package/web/chunk-vf0p4ayw.js.gz +0 -0
  848. package/web/chunk-vr6n4pvt.js +0 -1
  849. package/web/chunk-vr6n4pvt.js.br +0 -0
  850. package/web/chunk-vr6n4pvt.js.gz +0 -0
  851. package/web/chunk-vrtdjg91.js +0 -1
  852. package/web/chunk-vrtdjg91.js.br +0 -0
  853. package/web/chunk-vrtdjg91.js.gz +0 -0
  854. package/web/chunk-vx6qbmd7.js +0 -2
  855. package/web/chunk-vx6qbmd7.js.br +0 -0
  856. package/web/chunk-vx6qbmd7.js.gz +0 -0
  857. package/web/chunk-vx9g94x2.js +0 -200
  858. package/web/chunk-vx9g94x2.js.br +0 -0
  859. package/web/chunk-vx9g94x2.js.gz +0 -0
  860. package/web/chunk-w5v80bmk.js +0 -89
  861. package/web/chunk-w5v80bmk.js.br +0 -0
  862. package/web/chunk-w5v80bmk.js.gz +0 -0
  863. package/web/chunk-wj0ck0pa.js +0 -40
  864. package/web/chunk-wj0ck0pa.js.br +0 -0
  865. package/web/chunk-wj0ck0pa.js.gz +0 -0
  866. package/web/chunk-wjzdpyhs.css +0 -1
  867. package/web/chunk-wjzdpyhs.css.br +0 -0
  868. package/web/chunk-wjzdpyhs.css.gz +0 -0
  869. package/web/chunk-wmt8d7zv.js +0 -38
  870. package/web/chunk-wmt8d7zv.js.br +0 -0
  871. package/web/chunk-wmt8d7zv.js.gz +0 -0
  872. package/web/chunk-wqf0qjbv.js +0 -4
  873. package/web/chunk-wqf0qjbv.js.br +0 -0
  874. package/web/chunk-wqf0qjbv.js.gz +0 -0
  875. package/web/chunk-xsyrxa45.js +0 -2
  876. package/web/chunk-xsyrxa45.js.br +0 -0
  877. package/web/chunk-xsyrxa45.js.gz +0 -0
  878. package/web/chunk-y5f7gy03.js +0 -142
  879. package/web/chunk-y5f7gy03.js.br +0 -0
  880. package/web/chunk-y5f7gy03.js.gz +0 -0
  881. package/web/chunk-yg78fas7.js +0 -2
  882. package/web/chunk-yg78fas7.js.br +0 -0
  883. package/web/chunk-yg78fas7.js.gz +0 -0
  884. package/web/chunk-yvkbc3s5.js +0 -1
  885. package/web/chunk-yvkbc3s5.js.br +0 -0
  886. package/web/chunk-yvkbc3s5.js.gz +0 -0
  887. package/web/chunk-yygayy5a.js +0 -1
  888. package/web/chunk-yygayy5a.js.br +0 -0
  889. package/web/chunk-yygayy5a.js.gz +0 -0
  890. package/web/chunk-z9nj64n7.js +0 -2
  891. package/web/chunk-z9nj64n7.js.br +0 -0
  892. package/web/chunk-z9nj64n7.js.gz +0 -0
  893. package/web/chunk-zc0e01j4.js +0 -1
  894. package/web/chunk-zc0e01j4.js.br +0 -0
  895. package/web/chunk-zc0e01j4.js.gz +0 -0
  896. package/web/chunk-zj9s9w76.js +0 -1
  897. package/web/chunk-zj9s9w76.js.br +0 -0
  898. package/web/chunk-zj9s9w76.js.gz +0 -0
  899. package/web/chunk-znwpavn5.js +0 -84
  900. package/web/chunk-znwpavn5.js.br +0 -0
  901. package/web/chunk-znwpavn5.js.gz +0 -0
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{M,a,e,n,nt,Zt,Z,he,lc}from"./chunk-nf83ezt5.js";function Q(s){let i=M(nt);i?.useTheme?.();let t=s.payload,[o,m]=a(!1);if(!t||t.state==="pending")return null;let h=t.questions.map((r)=>r.header).join(" · "),l=t.state==="answered",u=l?Z:Zt,d=l?"text-success":"text-faint",f=l?"已回答":t.state==="dismissed"?"已忽略提问":"提问已取消",p=l?g(t):h;if(i){let{Collapsible:r,CollapsibleTrigger:y,CollapsibleContent:N,Chevron:v,cn:b}=i;return n(r,{open:o,onOpenChange:m,className:"w-full text-xs text-ink/90 animate-fade",children:[n(y,{className:i.style("chat.timelineRow","cursor-pointer select-none"),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:b("size-3.5",d)})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(v,{className:"size-3.5 shrink-0 text-faint opacity-0 transition-opacity group-hover/collapsible:opacity-100 group-data-[state=open]/collapsible:opacity-100"})]}),e(N,{children:e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:t})})})]})}return n("div",{role:"status",className:"w-full animate-fade",children:[n("button",{type:"button","aria-expanded":o,className:"group -mx-2 flex w-[calc(100%+1rem)] cursor-pointer items-center gap-2 rounded-lg px-2 py-1 text-left text-[12.5px] text-faint transition-colors select-none hover:bg-raised/60 hover:text-dim",onClick:()=>m((r)=>!r),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:`size-3.5 shrink-0 ${d}`})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(he,{className:`size-3.5 shrink-0 text-faint opacity-0 transition-[opacity,transform] group-hover:opacity-100 ${o?"rotate-180 opacity-100":""}`})]}),o&&e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:t})})]})}function c(s){if(!s)return"未作答";let i=s.selected.map((t)=>lc(t).title);if(s.other)i.push(`其他:${s.other}`);return i.length?i.join("、"):"未作答"}function g(s){if(s.questions.length===1)return`${s.questions[0]?.header??""} · ${c(s.answers?.[0])}`;return s.questions.map((i,t)=>`${i.header} → ${c(s.answers?.[t])}`).join(";")}function x(s){let i=s.question;return e("div",{className:"space-y-2 text-xs",children:i.questions.map((t,o)=>n("div",{className:"space-y-0.5",children:[n("div",{className:"text-dim",children:[e("span",{className:"font-medium text-ink/90",children:t.header})," · ",t.question]}),e("div",{className:"text-ink",children:c(i.answers?.[o])})]},t.header))})}export{Q as QuestionCard};
Binary file
Binary file
@@ -0,0 +1,7 @@
1
+ import{t,i,Ye,F,q,Y,L,N,R,P,I,O,D,d,g}from"./chunk-8a46b2ww.js";import"./chunk-5a80hcah.js";import{gn}from"./chunk-mj8xb4z9.js";var Ut=function(){var e=t(function(st,o,h,f){for(h=h||{},f=st.length;f--;h[st[f]]=o);return h},"o"),r=[1,3],T=[1,4],y=[1,5],l=[1,6],p=[1,7],E=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],c=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],u=[55,56,57],v=[2,36],_=[1,37],A=[1,36],m=[1,38],k=[1,35],S=[1,43],b=[1,41],z=[1,45],St=[1,14],_t=[1,23],At=[1,18],Ft=[1,19],mt=[1,20],zt=[1,21],qt=[1,22],n=[1,24],Ot=[1,25],Ht=[1,26],Xt=[1,27],Mt=[1,28],Yt=[1,29],tt=[1,32],et=[1,33],V=[1,34],w=[1,39],B=[1,40],W=[1,42],U=[1,44],at=[1,63],nt=[1,62],Q=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],jt=[1,66],Gt=[1,67],Kt=[1,68],Zt=[1,69],Jt=[1,70],$t=[1,71],te=[1,72],ee=[1,73],ie=[1,74],ae=[1,75],ne=[1,76],re=[1,77],G=[4,5,6,7,8,9,10,11,12,13,14,15,18],ht=[1,91],ct=[1,92],dt=[1,93],ut=[1,100],xt=[1,94],ft=[1,97],gt=[1,95],pt=[1,96],yt=[1,98],bt=[1,99],Vt=[1,103],se=[10,55,56,57],K=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],It={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:t(function(o,h,f,x,C,a,kt){var s=a.length-1;switch(C){case 23:this.$=a[s];break;case 24:this.$=a[s-1]+""+a[s];break;case 26:this.$=a[s-1]+a[s];break;case 27:this.$=[a[s].trim()];break;case 28:a[s-2].push(a[s].trim()),this.$=a[s-2];break;case 29:this.$=a[s-4],x.addClass(a[s-2],a[s]);break;case 37:this.$=[];break;case 42:this.$=a[s].trim(),x.setDiagramTitle(this.$);break;case 43:this.$=a[s].trim(),x.setAccTitle(this.$);break;case 44:case 45:this.$=a[s].trim(),x.setAccDescription(this.$);break;case 46:x.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 47:x.addPoint(a[s-3],"",a[s-1],a[s],[]);break;case 48:x.addPoint(a[s-4],a[s-3],a[s-1],a[s],[]);break;case 49:x.addPoint(a[s-4],"",a[s-2],a[s-1],a[s]);break;case 50:x.addPoint(a[s-5],a[s-4],a[s-2],a[s-1],a[s]);break;case 51:x.setXAxisLeftText(a[s-2]),x.setXAxisRightText(a[s]);break;case 52:a[s-1].text+=" ⟶ ",x.setXAxisLeftText(a[s-1]);break;case 53:x.setXAxisLeftText(a[s]);break;case 54:x.setYAxisBottomText(a[s-2]),x.setYAxisTopText(a[s]);break;case 55:a[s-1].text+=" ⟶ ",x.setYAxisBottomText(a[s-1]);break;case 56:x.setYAxisBottomText(a[s]);break;case 57:x.setQuadrant1Text(a[s]);break;case 58:x.setQuadrant2Text(a[s]);break;case 59:x.setQuadrant3Text(a[s]);break;case 60:x.setQuadrant4Text(a[s]);break;case 64:this.$={text:a[s],type:"text"};break;case 65:this.$={text:a[s-1].text+""+a[s],type:a[s-1].type};break;case 66:this.$={text:a[s],type:"text"};break;case 67:this.$={text:a[s],type:"markdown"};break;case 68:this.$=a[s];break;case 69:this.$=a[s-1]+""+a[s];break}},"anonymous"),table:[{18:r,26:1,27:2,28:T,55:y,56:l,57:p},{1:[3]},{18:r,26:8,27:2,28:T,55:y,56:l,57:p},{18:r,26:9,27:2,28:T,55:y,56:l,57:p},e(E,[2,33],{29:10}),e(c,[2,61]),e(c,[2,62]),e(c,[2,63]),{1:[2,30]},{1:[2,31]},e(u,v,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:_,5:A,10:m,12:k,13:S,14:b,15:z,18:St,25:_t,35:At,37:Ft,39:mt,41:zt,42:qt,48:n,50:Ot,51:Ht,52:Xt,53:Mt,54:Yt,60:tt,61:et,63:V,64:w,65:B,66:W,67:U}),e(E,[2,34]),{27:46,55:y,56:l,57:p},e(u,[2,37]),e(u,v,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:_,5:A,10:m,12:k,13:S,14:b,15:z,18:St,25:_t,35:At,37:Ft,39:mt,41:zt,42:qt,48:n,50:Ot,51:Ht,52:Xt,53:Mt,54:Yt,60:tt,61:et,63:V,64:w,65:B,66:W,67:U}),e(u,[2,39]),e(u,[2,40]),e(u,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},e(u,[2,45]),e(u,[2,46]),{18:[1,51]},{4:_,5:A,10:m,12:k,13:S,14:b,15:z,43:52,58:31,60:tt,61:et,63:V,64:w,65:B,66:W,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:z,43:53,58:31,60:tt,61:et,63:V,64:w,65:B,66:W,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:z,43:54,58:31,60:tt,61:et,63:V,64:w,65:B,66:W,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:z,43:55,58:31,60:tt,61:et,63:V,64:w,65:B,66:W,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:z,43:56,58:31,60:tt,61:et,63:V,64:w,65:B,66:W,67:U},{4:_,5:A,10:m,12:k,13:S,14:b,15:z,43:57,58:31,60:tt,61:et,63:V,64:w,65:B,66:W,67:U},{4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,44:[1,58],47:[1,59],58:61,59:60,63:V,64:w,65:B,66:W,67:U},e(Q,[2,64]),e(Q,[2,66]),e(Q,[2,67]),e(Q,[2,70]),e(Q,[2,71]),e(Q,[2,72]),e(Q,[2,73]),e(Q,[2,74]),e(Q,[2,75]),e(Q,[2,76]),e(Q,[2,77]),e(Q,[2,78]),e(Q,[2,79]),e(Q,[2,80]),e(Q,[2,81]),e(E,[2,35]),e(u,[2,38]),e(u,[2,42]),e(u,[2,43]),e(u,[2,44]),{3:65,4:jt,5:Gt,6:Kt,7:Zt,8:Jt,9:$t,10:te,11:ee,12:ie,13:ae,14:ne,15:re,21:64},e(u,[2,53],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,49:[1,78],63:V,64:w,65:B,66:W,67:U}),e(u,[2,56],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,49:[1,79],63:V,64:w,65:B,66:W,67:U}),e(u,[2,57],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,63:V,64:w,65:B,66:W,67:U}),e(u,[2,58],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,63:V,64:w,65:B,66:W,67:U}),e(u,[2,59],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,63:V,64:w,65:B,66:W,67:U}),e(u,[2,60],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,63:V,64:w,65:B,66:W,67:U}),{45:[1,80]},{44:[1,81]},e(Q,[2,65]),e(Q,[2,82]),e(Q,[2,83]),e(Q,[2,84]),{3:83,4:jt,5:Gt,6:Kt,7:Zt,8:Jt,9:$t,10:te,11:ee,12:ie,13:ae,14:ne,15:re,18:[1,82]},e(G,[2,23]),e(G,[2,1]),e(G,[2,2]),e(G,[2,3]),e(G,[2,4]),e(G,[2,5]),e(G,[2,6]),e(G,[2,7]),e(G,[2,8]),e(G,[2,9]),e(G,[2,10]),e(G,[2,11]),e(G,[2,12]),e(u,[2,52],{58:31,43:84,4:_,5:A,10:m,12:k,13:S,14:b,15:z,60:tt,61:et,63:V,64:w,65:B,66:W,67:U}),e(u,[2,55],{58:31,43:85,4:_,5:A,10:m,12:k,13:S,14:b,15:z,60:tt,61:et,63:V,64:w,65:B,66:W,67:U}),{46:[1,86]},{45:[1,87]},{4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,16:90,17:gt,18:pt,19:yt,20:bt,22:89,23:88},e(G,[2,24]),e(u,[2,51],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,63:V,64:w,65:B,66:W,67:U}),e(u,[2,54],{59:60,58:61,4:_,5:A,8:at,10:m,12:k,13:S,14:b,15:z,18:nt,63:V,64:w,65:B,66:W,67:U}),e(u,[2,47],{22:89,16:90,23:101,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt}),{46:[1,102]},e(u,[2,29],{10:Vt}),e(se,[2,27],{16:104,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt}),e(K,[2,25]),e(K,[2,13]),e(K,[2,14]),e(K,[2,15]),e(K,[2,16]),e(K,[2,17]),e(K,[2,18]),e(K,[2,19]),e(K,[2,20]),e(K,[2,21]),e(K,[2,22]),e(u,[2,49],{10:Vt}),e(u,[2,48],{22:89,16:90,23:105,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt}),{4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,16:90,17:gt,18:pt,19:yt,20:bt,22:106},e(K,[2,26]),e(u,[2,50],{10:Vt}),e(se,[2,28],{16:104,4:ht,5:ct,6:dt,8:ut,11:xt,13:ft,17:gt,18:pt,19:yt,20:bt})],defaultActions:{8:[2,30],9:[2,31]},parseError:t(function(o,h){if(h.recoverable)this.trace(o);else{var f=Error(o);throw f.hash=h,f}},"parseError"),parse:t(function(o){var h=this,f=[0],x=[],C=[null],a=[],kt=this.table,s="",vt=0,oe=0,le=0,ve=2,he=1,Ce=a.slice.call(arguments,1),H=Object.create(this.lexer),ot={yy:{}};for(var wt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,wt))ot.yy[wt]=this.yy[wt];if(H.setInput(o,ot.yy),ot.yy.lexer=H,ot.yy.parser=this,typeof H.yylloc>"u")H.yylloc={};var Bt=H.yylloc;a.push(Bt);var Le=H.options&&H.options.ranges;if(typeof ot.yy.parseError==="function")this.parseError=ot.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ee(J){f.length=f.length-2*J,C.length=C.length-J,a.length=a.length-J}t(Ee,"popStack");function ce(){var J=x.pop()||H.lex()||he;if(typeof J!=="number"){if(J instanceof Array)x=J,J=x.pop();J=h.symbols_[J]||J}return J}t(ce,"lex");var M,Rt,lt,Z,Re,Nt,Tt={},Ct,rt,de,Lt;while(!0){if(lt=f[f.length-1],this.defaultActions[lt])Z=this.defaultActions[lt];else{if(M===null||typeof M>"u")M=ce();Z=kt[lt]&&kt[lt][M]}if(typeof Z>"u"||!Z.length||!Z[0]){var Wt="";Lt=[];for(Ct in kt[lt])if(this.terminals_[Ct]&&Ct>ve)Lt.push("'"+this.terminals_[Ct]+"'");if(H.showPosition)Wt="Parse error on line "+(vt+1)+`:
2
+ `+H.showPosition()+`
3
+ Expecting `+Lt.join(", ")+", got '"+(this.terminals_[M]||M)+"'";else Wt="Parse error on line "+(vt+1)+": Unexpected "+(M==he?"end of input":"'"+(this.terminals_[M]||M)+"'");this.parseError(Wt,{text:H.match,token:this.terminals_[M]||M,line:H.yylineno,loc:Bt,expected:Lt})}if(Z[0]instanceof Array&&Z.length>1)throw Error("Parse Error: multiple actions possible at state: "+lt+", token: "+M);switch(Z[0]){case 1:if(f.push(M),C.push(H.yytext),a.push(H.yylloc),f.push(Z[1]),M=null,!Rt){if(oe=H.yyleng,s=H.yytext,vt=H.yylineno,Bt=H.yylloc,le>0)le--}else M=Rt,Rt=null;break;case 2:if(rt=this.productions_[Z[1]][1],Tt.$=C[C.length-rt],Tt._$={first_line:a[a.length-(rt||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(rt||1)].first_column,last_column:a[a.length-1].last_column},Le)Tt._$.range=[a[a.length-(rt||1)].range[0],a[a.length-1].range[1]];if(Nt=this.performAction.apply(Tt,[s,oe,vt,ot.yy,Z[1],C,a].concat(Ce)),typeof Nt<"u")return Nt;if(rt)f=f.slice(0,-1*rt*2),C=C.slice(0,-1*rt),a=a.slice(0,-1*rt);f.push(this.productions_[Z[1]][0]),C.push(Tt.$),a.push(Tt._$),de=kt[f[f.length-2]][f[f.length-1]],f.push(de);break;case 3:return!0}}return!0},"parse")},Pe=function(){var st={EOF:1,parseError:t(function(h,f){if(this.yy.parser)this.yy.parser.parseError(h,f);else throw Error(h)},"parseError"),setInput:t(function(o,h){if(this.yy=h||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var h=o.match(/(?:\r\n?|\n).*/g);if(h)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),o},"input"),unput:t(function(o){var h=o.length,f=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var x=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),f.length-1)this.yylineno-=f.length-1;var C=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:f?(f.length===x.length?this.yylloc.first_column:0)+x[x.length-f.length].length-f[0].length:this.yylloc.first_column-h},this.options.ranges)this.yylloc.range=[C[0],C[0]+this.yyleng-h];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),h=Array(o.length+1).join("-");return o+this.upcomingInput()+`
5
+ `+h+"^"},"showPosition"),test_match:t(function(o,h){var f,x,C;if(this.options.backtrack_lexer){if(C={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)C.yylloc.range=this.yylloc.range.slice(0)}if(x=o[0].match(/(?:\r\n?|\n).*/g),x)this.yylineno+=x.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:x?x[x.length-1].length-x[x.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],f=this.performAction.call(this,this.yy,this,h,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(f)return f;else if(this._backtrack){for(var a in C)this[a]=C[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,h,f,x;if(!this._more)this.yytext="",this.match="";var C=this._currentRules();for(var a=0;a<C.length;a++)if(f=this._input.match(this.rules[C[a]]),f&&(!h||f[0].length>h[0].length)){if(h=f,x=a,this.options.backtrack_lexer)if(o=this.test_match(f,C[a]),o!==!1)return o;else if(this._backtrack){h=!1;continue}else return!1;else if(!this.options.flex)break}if(h){if(o=this.test_match(h,C[x]),o!==!1)return o;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var h=this.next();if(h)return h;else return this.lex()},"lex"),begin:t(function(h){this.conditionStack.push(h)},"begin"),popState:t(function(){var h=this.conditionStack.length-1;if(h>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(h){if(h=this.conditionStack.length-1-Math.abs(h||0),h>=0)return this.conditionStack[h];else return"INITIAL"},"topState"),pushState:t(function(h){this.begin(h)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(h,f,x,C){var a=C;switch(x){case 0:break;case 1:break;case 2:return 55;case 3:break;case 4:return this.begin("title"),35;break;case 5:return this.popState(),"title_value";break;case 6:return this.begin("acc_title"),37;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),39;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin("md_string");break;case 22:return"MD_STR";case 23:this.popState();break;case 24:this.begin("string");break;case 25:this.popState();break;case 26:return"STR";case 27:this.begin("class_name");break;case 28:return this.popState(),47;break;case 29:return this.begin("point_start"),44;break;case 30:return this.begin("point_x"),45;break;case 31:this.popState();break;case 32:this.popState(),this.begin("point_y");break;case 33:return this.popState(),46;break;case 34:return 28;case 35:return 4;case 36:return 15;case 37:return 11;case 38:return 64;case 39:return 10;case 40:return 65;case 41:return 65;case 42:return 14;case 43:return 13;case 44:return 67;case 45:return 66;case 46:return 12;case 47:return 8;case 48:return 5;case 49:return 18;case 50:return 56;case 51:return 63;case 52:return 57}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?:[^\x00-\x7F]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return st}();It.lexer=Pe;function Pt(){this.yy={}}return t(Pt,"Parser"),Pt.prototype=It,It.Parser=Pt,new Pt}();Ut.parser=Ut;var De=Ut,j=Ye(),ze=class{constructor(){this.classes=new Map,this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{t(this,"QuadrantBuilder")}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:F.quadrantChart?.chartWidth||500,chartWidth:F.quadrantChart?.chartHeight||500,titlePadding:F.quadrantChart?.titlePadding||10,titleFontSize:F.quadrantChart?.titleFontSize||20,quadrantPadding:F.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:F.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:F.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:F.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:F.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:F.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:F.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:F.quadrantChart?.pointTextPadding||5,pointLabelFontSize:F.quadrantChart?.pointLabelFontSize||12,pointRadius:F.quadrantChart?.pointRadius||5,xAxisPosition:F.quadrantChart?.xAxisPosition||"top",yAxisPosition:F.quadrantChart?.yAxisPosition||"left",quadrantInternalBorderStrokeWidth:F.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:F.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:j.quadrant1Fill,quadrant2Fill:j.quadrant2Fill,quadrant3Fill:j.quadrant3Fill,quadrant4Fill:j.quadrant4Fill,quadrant1TextFill:j.quadrant1TextFill,quadrant2TextFill:j.quadrant2TextFill,quadrant3TextFill:j.quadrant3TextFill,quadrant4TextFill:j.quadrant4TextFill,quadrantPointFill:j.quadrantPointFill,quadrantPointTextFill:j.quadrantPointTextFill,quadrantXAxisTextFill:j.quadrantXAxisTextFill,quadrantYAxisTextFill:j.quadrantYAxisTextFill,quadrantTitleFill:j.quadrantTitleFill,quadrantInternalBorderStrokeFill:j.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:j.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,i.info("clear called")}setData(e){this.data={...this.data,...e}}addPoints(e){this.data.points=[...e,...this.data.points]}addClass(e,r){this.classes.set(e,r)}setConfig(e){i.trace("setConfig called with: ",e),this.config={...this.config,...e}}setThemeConfig(e){i.trace("setThemeConfig called with: ",e),this.themeConfig={...this.themeConfig,...e}}calculateSpace(e,r,T,y){let l=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,p={top:e==="top"&&r?l:0,bottom:e==="bottom"&&r?l:0},E=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,c={left:this.config.yAxisPosition==="left"&&T?E:0,right:this.config.yAxisPosition==="right"&&T?E:0},u=this.config.titleFontSize+this.config.titlePadding*2,v={top:y?u:0},_=this.config.quadrantPadding+c.left,A=this.config.quadrantPadding+p.top+v.top,m=this.config.chartWidth-this.config.quadrantPadding*2-c.left-c.right,k=this.config.chartHeight-this.config.quadrantPadding*2-p.top-p.bottom-v.top,S=m/2,b=k/2;return{xAxisSpace:p,yAxisSpace:c,titleSpace:v,quadrantSpace:{quadrantLeft:_,quadrantTop:A,quadrantWidth:m,quadrantHalfWidth:S,quadrantHeight:k,quadrantHalfHeight:b}}}getAxisLabels(e,r,T,y){let{quadrantSpace:l,titleSpace:p}=y,{quadrantHalfHeight:E,quadrantHeight:c,quadrantLeft:u,quadrantHalfWidth:v,quadrantTop:_,quadrantWidth:A}=l,m=Boolean(this.data.xAxisRightText),k=Boolean(this.data.yAxisTopText),S=[];if(this.data.xAxisLeftText&&r)S.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:u+(m?v/2:0),y:e==="top"?this.config.xAxisLabelPadding+p.top:this.config.xAxisLabelPadding+_+c+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0});if(this.data.xAxisRightText&&r)S.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:u+v+(m?v/2:0),y:e==="top"?this.config.xAxisLabelPadding+p.top:this.config.xAxisLabelPadding+_+c+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0});if(this.data.yAxisBottomText&&T)S.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+u+A+this.config.quadrantPadding,y:_+c-(k?E/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:k?"center":"left",horizontalPos:"top",rotation:-90});if(this.data.yAxisTopText&&T)S.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition==="left"?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+u+A+this.config.quadrantPadding,y:_+E-(k?E/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:k?"center":"left",horizontalPos:"top",rotation:-90});return S}getQuadrants(e){let{quadrantSpace:r}=e,{quadrantHalfHeight:T,quadrantLeft:y,quadrantHalfWidth:l,quadrantTop:p}=r,E=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y+l,y:p,width:l,height:T,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y,y:p,width:l,height:T,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y,y:p+T,width:l,height:T,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:y+l,y:p+T,width:l,height:T,fill:this.themeConfig.quadrant4Fill}];for(let c of E)if(c.text.x=c.x+c.width/2,this.data.points.length===0)c.text.y=c.y+c.height/2,c.text.horizontalPos="middle";else c.text.y=c.y+this.config.quadrantTextTopPadding,c.text.horizontalPos="top";return E}getQuadrantPoints(e){let{quadrantSpace:r}=e,{quadrantHeight:T,quadrantLeft:y,quadrantTop:l,quadrantWidth:p}=r,E=gn().domain([0,1]).range([y,p+y]),c=gn().domain([0,1]).range([T+l,l]);return this.data.points.map((v)=>{let _=this.classes.get(v.className);if(_)v={..._,...v};return{x:E(v.x),y:c(v.y),fill:v.color??this.themeConfig.quadrantPointFill,radius:v.radius??this.config.pointRadius,text:{text:v.text,fill:this.themeConfig.quadrantPointTextFill,x:E(v.x),y:c(v.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:v.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:v.strokeWidth??"0px"}})}getBorders(e){let r=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:T}=e,{quadrantHalfHeight:y,quadrantHeight:l,quadrantLeft:p,quadrantHalfWidth:E,quadrantTop:c,quadrantWidth:u}=T;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p-r,y1:c,x2:p+u+r,y2:c},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p+u,y1:c+r,x2:p+u,y2:c+l-r},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p-r,y1:c+l,x2:p+u+r,y2:c+l},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:p,y1:c+r,x2:p,y2:c+l-r},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:p+E,y1:c+r,x2:p+E,y2:c+l-r},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:p+r,y1:c+y,x2:p+u-r,y2:c+y}]}getTitle(e){if(e)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2};return}build(){let e=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),r=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),T=this.config.showTitle&&!!this.data.titleText,y=this.data.points.length>0?"bottom":this.config.xAxisPosition,l=this.calculateSpace(y,e,r,T);return{points:this.getQuadrantPoints(l),quadrants:this.getQuadrants(l),axisLabels:this.getAxisLabels(y,e,r,l),borderLines:this.getBorders(l),title:this.getTitle(T)}}},Et=class extends Error{static{t(this,"InvalidStyleError")}constructor(e,r,T){super(`value for ${e} ${r} is invalid, please use a valid ${T}`);this.name="InvalidStyleError"}};function Qt(e){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(e)}t(Qt,"validateHexCode");function ue(e){return!/^\d+$/.test(e)}t(ue,"validateNumber");function xe(e){return!/^\d+px$/.test(e)}t(xe,"validateSizeInPixels");function it(e){return q(e.trim(),d())}t(it,"textSanitizer");var X=new ze;function fe(e){X.setData({quadrant1Text:it(e.text)})}t(fe,"setQuadrant1Text");function ge(e){X.setData({quadrant2Text:it(e.text)})}t(ge,"setQuadrant2Text");function pe(e){X.setData({quadrant3Text:it(e.text)})}t(pe,"setQuadrant3Text");function ye(e){X.setData({quadrant4Text:it(e.text)})}t(ye,"setQuadrant4Text");function be(e){X.setData({xAxisLeftText:it(e.text)})}t(be,"setXAxisLeftText");function Te(e){X.setData({xAxisRightText:it(e.text)})}t(Te,"setXAxisRightText");function me(e){X.setData({yAxisTopText:it(e.text)})}t(me,"setYAxisTopText");function qe(e){X.setData({yAxisBottomText:it(e.text)})}t(qe,"setYAxisBottomText");function Dt(e){let r={};for(let T of e){let[y,l]=T.trim().split(/\s*:\s*/);if(y==="radius"){if(ue(l))throw new Et(y,l,"number");r.radius=parseInt(l)}else if(y==="color"){if(Qt(l))throw new Et(y,l,"hex code");r.color=l}else if(y==="stroke-color"){if(Qt(l))throw new Et(y,l,"hex code");r.strokeColor=l}else if(y==="stroke-width"){if(xe(l))throw new Et(y,l,"number of pixels (eg. 10px)");r.strokeWidth=l}else throw Error(`style named ${y} is not supported.`)}return r}t(Dt,"parseStyles");function ke(e,r,T,y,l){let p=Dt(l);X.addPoints([{x:T,y,text:it(e.text),className:r,...p}])}t(ke,"addPoint");function Se(e,r){X.addClass(e,Dt(r))}t(Se,"addClass");function _e(e){X.setConfig({chartWidth:e})}t(_e,"setWidth");function Ae(e){X.setConfig({chartHeight:e})}t(Ae,"setHeight");function Fe(){let e=d(),{themeVariables:r,quadrantChart:T}=e;if(T)X.setConfig(T);return X.setThemeConfig({quadrant1Fill:r.quadrant1Fill,quadrant2Fill:r.quadrant2Fill,quadrant3Fill:r.quadrant3Fill,quadrant4Fill:r.quadrant4Fill,quadrant1TextFill:r.quadrant1TextFill,quadrant2TextFill:r.quadrant2TextFill,quadrant3TextFill:r.quadrant3TextFill,quadrant4TextFill:r.quadrant4TextFill,quadrantPointFill:r.quadrantPointFill,quadrantPointTextFill:r.quadrantPointTextFill,quadrantXAxisTextFill:r.quadrantXAxisTextFill,quadrantYAxisTextFill:r.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:r.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:r.quadrantInternalBorderStrokeFill,quadrantTitleFill:r.quadrantTitleFill}),X.setData({titleText:D()}),X.build()}t(Fe,"getQuadrantData");var Ve=t(function(){X.clear(),L()},"clear"),Ie={setWidth:_e,setHeight:Ae,setQuadrant1Text:fe,setQuadrant2Text:ge,setQuadrant3Text:pe,setQuadrant4Text:ye,setXAxisLeftText:be,setXAxisRightText:Te,setYAxisTopText:me,setYAxisBottomText:qe,parseStyles:Dt,addPoint:ke,addClass:Se,getQuadrantData:Fe,clear:Ve,setAccTitle:N,getAccTitle:R,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:P},we=t((e,r,T,y)=>{function l(n){return n==="top"?"hanging":"middle"}t(l,"getDominantBaseLine");function p(n){return n==="left"?"start":"middle"}t(p,"getTextAnchor");function E(n){return`translate(${n.x}, ${n.y}) rotate(${n.rotation||0})`}t(E,"getTransformation");let c=d();i.debug(`Rendering quadrant chart
7
+ `+e);let u=c.securityLevel,v;if(u==="sandbox")v=g("#i"+r);let A=(u==="sandbox"?g(v.nodes()[0].contentDocument.body):g("body")).select(`[id="${r}"]`),m=A.append("g").attr("class","main"),k=c.quadrantChart?.chartWidth??500,S=c.quadrantChart?.chartHeight??500;Y(A,S,k,c.quadrantChart?.useMaxWidth??!0),A.attr("viewBox","0 0 "+k+" "+S),y.db.setHeight(S),y.db.setWidth(k);let b=y.db.getQuadrantData(),z=m.append("g").attr("class","quadrants"),St=m.append("g").attr("class","border"),_t=m.append("g").attr("class","data-points"),At=m.append("g").attr("class","labels"),Ft=m.append("g").attr("class","title");if(b.title)Ft.append("text").attr("x",0).attr("y",0).attr("fill",b.title.fill).attr("font-size",b.title.fontSize).attr("dominant-baseline",l(b.title.horizontalPos)).attr("text-anchor",p(b.title.verticalPos)).attr("transform",E(b.title)).text(b.title.text);if(b.borderLines)St.selectAll("line").data(b.borderLines).enter().append("line").attr("x1",(n)=>n.x1).attr("y1",(n)=>n.y1).attr("x2",(n)=>n.x2).attr("y2",(n)=>n.y2).style("stroke",(n)=>n.strokeFill).style("stroke-width",(n)=>n.strokeWidth);let mt=z.selectAll("g.quadrant").data(b.quadrants).enter().append("g").attr("class","quadrant");mt.append("rect").attr("x",(n)=>n.x).attr("y",(n)=>n.y).attr("width",(n)=>n.width).attr("height",(n)=>n.height).attr("fill",(n)=>n.fill),mt.append("text").attr("x",0).attr("y",0).attr("fill",(n)=>n.text.fill).attr("font-size",(n)=>n.text.fontSize).attr("dominant-baseline",(n)=>l(n.text.horizontalPos)).attr("text-anchor",(n)=>p(n.text.verticalPos)).attr("transform",(n)=>E(n.text)).text((n)=>n.text.text),At.selectAll("g.label").data(b.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text((n)=>n.text).attr("fill",(n)=>n.fill).attr("font-size",(n)=>n.fontSize).attr("dominant-baseline",(n)=>l(n.horizontalPos)).attr("text-anchor",(n)=>p(n.verticalPos)).attr("transform",(n)=>E(n));let qt=_t.selectAll("g.data-point").data(b.points).enter().append("g").attr("class","data-point");qt.append("circle").attr("cx",(n)=>n.x).attr("cy",(n)=>n.y).attr("r",(n)=>n.radius).attr("fill",(n)=>n.fill).attr("stroke",(n)=>n.strokeColor).attr("stroke-width",(n)=>n.strokeWidth),qt.append("text").attr("x",0).attr("y",0).text((n)=>n.text.text).attr("fill",(n)=>n.text.fill).attr("font-size",(n)=>n.text.fontSize).attr("dominant-baseline",(n)=>l(n.text.horizontalPos)).attr("text-anchor",(n)=>p(n.text.verticalPos)).attr("transform",(n)=>E(n.text))},"draw"),Be={draw:we},He={parser:De,db:Ie,renderer:Be,styles:t(()=>"","styles")};export{He as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{Sa}from"./chunk-scrrgk6n.js";import"./chunk-84wf0ej8.js";import"./chunk-6ycpdpfj.js";export{Sa as default};
Binary file
Binary file
@@ -0,0 +1,36 @@
1
+ import{ae}from"./chunk-p0zneef1.js";import{t,i,F,A,q,pn,L,N,R,P,I,O,D,d,g,J,Zs,jr,Wt,Q,wt,ct}from"./chunk-8a46b2ww.js";import{ge}from"./chunk-28sta4gj.js";import{mn,ai}from"./chunk-bv0vs331.js";import{Ke,Ze}from"./chunk-nf83ezt5.js";var lt=Ze(function(et,nt){(function(n,s){if(typeof et==="object"&&typeof nt==="object")nt.exports=s(ai());else if(typeof define==="function"&&define.amd)define(["cose-base"],s);else if(typeof et==="object")et.cytoscapeFcose=s(ai());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,S=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(C){z=!0,S=C}finally{try{if(!r&&o.return)o.return()}finally{if(z)throw S}}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 S=r.parent()[0];while(S!=null){if(f[S.id()])return!1;S=S.parent()[0]}return!0});return h},y.connectComponents=function(c,f,u,h){var r=new l,z=new Set,S=[],o=void 0,v=void 0,C=void 0,a=!1,k=1,Y=[],b=[],U=function(){var w=c.collection();b.push(w);var _=u[0],X=c.collection();X.merge(_).merge(_.descendants().intersection(f)),S.push(_),X.forEach(function(ee){r.push(ee),z.add(ee),w.merge(ee)});var j=function(){_=r.shift();var fe=c.collection();_.neighborhood().nodes().forEach(function(H){if(f.intersection(_.edgesWith(H)).length>0)fe.merge(H)});for(var Ae=0;Ae<fe.length;Ae++){var Re=fe[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))S.push(H)})}}};while(r.length!=0)j();if(w.forEach(function(ee){f.intersection(ee.connectedEdges()).forEach(function(fe){if(w.has(fe.source())&&w.has(fe.target()))w.merge(fe)})}),S.length==u.length)a=!0;if(!a||a&&k>1){v=S[0],C=v.connectedEdges().length,S.forEach(function(ee){if(ee.connectedEdges().length<C)C=ee.connectedEdges().length,v=ee}),Y.push(v.id());var oe=c.collection();oe.merge(S[0]),S.forEach(function(ee){oe.merge(ee)}),S=[],u=u.difference(oe),k++}};do U();while(!a);if(h){if(Y.length>0)h.set("dummy"+(h.size+1),Y)}return b},y.relocateComponent=function(c,f,u){if(!u.fixedNodeConstraint){var{POSITIVE_INFINITY:h,NEGATIVE_INFINITY:r,POSITIVE_INFINITY:z,NEGATIVE_INFINITY:S}=Number;if(u.quality=="draft"){var o=!0,v=!1,C=void 0;try{for(var a=f.nodeIndexes[Symbol.iterator](),k;!(o=(k=a.next()).done);o=!0){var Y=k.value,b=x(Y,2),U=b[0],B=b[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>S)S=ee}}}catch(H){v=!0,C=H}finally{try{if(!o&&a.return)a.return()}finally{if(v)throw C}}var fe=c.x-(r+h)/2,Ae=c.y-(S+z)/2;f.xCoords=f.xCoords.map(function(H){return H+fe}),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>S)S=xe});var Re=c.x-(r+h)/2,ce=c.y-(S+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:S,MIN_SAFE_INTEGER:o}=Number,v=void 0,C=void 0,a=void 0,k=void 0,Y=c.descendants().not(":parent"),b=Y.length;for(var U=0;U<b;U++){var B=Y[U];if(v=f[h.get(B.id())]-B.width()/2,C=f[h.get(B.id())]+B.width()/2,a=u[h.get(B.id())]-B.height()/2,k=u[h.get(B.id())]+B.height()/2,r>v)r=v;if(z<C)z=C;if(S>a)S=a;if(o<k)o=k}var w={};return w.topLeftX=r,w.topLeftY=S,w.width=z-r,w.height=o-S,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:C,eles:a}=o,k=a.nodes(),Y=a.edges(),b=void 0,U=void 0,B=void 0,w={};if(o.randomize)b=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(C,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[b.get(V.id())]-ve.w/2,B[b.get(V.id())]-ve.h/2),new f(parseFloat(ve.w),parseFloat(ve.h))));else{var ke=x.calcBoundingBox(V,U,B,b);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}},fe=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(k),Ae,o),ee(Ae,Re,Y),fe(Ae,o),Ae.runLayout(),w};T.exports={coseLayout:z}},212:(T,G,p)=>{var x=function(){function o(v,C){for(var a=0;a<C.length;a++){var k=C[a];if(k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k)k.writable=!0;Object.defineProperty(v,k.key,k)}}return function(v,C,a){if(C)o(v.prototype,C);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(){}}),S=function(){function o(v){l(this,o),this.options=y({},z,v)}return x(o,[{key:"run",value:function(){var C=this,a=this.options,{cy:k,eles:Y}=a,b=[],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(k.layoutUtilities&&a.packComponents){if(oe=k.layoutUtilities("get"),!oe)oe=k.layoutUtilities();ee=!0}if(Y.nodes().length>0)if(!ee){var fe=a.eles.boundingBox();if(X.push({x:fe.x1+fe.w/2,y:fe.y1+fe.h/2}),a.randomize){var Ae=u(a);b.push(Ae)}if(a.quality=="default"||a.quality=="proof")w.push(r(a,b[0])),c.relocateComponent(X[0],w[0],a);else c.relocateComponent(X[0],b[0],a)}else{var Re=c.getTopMostNodes(a.eles.nodes());if(_=c.connectComponents(k,a.eles,Re),_.forEach(function(W){var M=W.boundingBox();X.push({x:M.x1+M.w/2,y:M.y1+M.h/2})}),a.randomize)_.forEach(function(W){a.eles=W,b.push(u(a))});if(a.quality=="default"||a.quality=="proof"){var ce=k.collection();if(a.tile){var H=new Map,ne=[],Ie=[],be=0,Ne={nodeIndexes:H,xCoords:ne,yCoords:Ie},xe=[];if(_.forEach(function(W,M){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(M)}),ce.length>1){var V=ce.boundingBox();X.push({x:V.x1+V.w/2,y:V.y1+V.h/2}),_.push(ce),b.push(Ne);for(var Te=xe.length-1;Te>=0;Te--)_.splice(xe[Te],1),b.splice(xe[Te],1),X.splice(xe[Te],1)}}_.forEach(function(W,M){a.eles=W,w.push(r(a,b[M])),c.relocateComponent(X[M],w[M],a)})}else _.forEach(function(W,M){c.relocateComponent(X[M],b[M],a)});var te=new Set;if(_.length>1){var ve=[],ke=Y.filter(function(W){return W.css("display")=="none"});_.forEach(function(W,M){var pe=void 0;if(a.quality=="draft")pe=b[M].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:b[M].xCoords[me]-de.boundingbox().w/2,y:b[M].yCoords[me]-de.boundingbox().h/2,width:de.boundingbox().w,height:de.boundingbox().h});else{var he=c.calcBoundingBox(de,b[M].xCoords,b[M].yCoords,pe);se.nodes.push({x:he.topLeftX,y:he.topLeftY,width:he.width,height:he.height})}else if(w[M][de.id()])se.nodes.push({x:w[M][de.id()].getLeft(),y:w[M][de.id()].getTop(),width:w[M][de.id()].getWidth(),height:w[M][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()),Je=pe.get(Ee.id()),Me=[],Ge=[];if(he.isParent()){var Ve=c.calcBoundingBox(he,b[M].xCoords,b[M].yCoords,pe);Me.push(Ve.topLeftX+Ve.width/2),Me.push(Ve.topLeftY+Ve.height/2)}else Me.push(b[M].xCoords[Pe]),Me.push(b[M].yCoords[Pe]);if(Ee.isParent()){var Xe=c.calcBoundingBox(Ee,b[M].xCoords,b[M].yCoords,pe);Ge.push(Xe.topLeftX+Xe.width/2),Ge.push(Xe.topLeftY+Xe.height/2)}else Ge.push(b[M].xCoords[Je]),Ge.push(b[M].yCoords[Je]);se.edges.push({startX:Me[0],startY:Me[1],endX:Ge[0],endY:Ge[1]})}else if(w[M][he.id()]&&w[M][Ee.id()])se.edges.push({startX:w[M][he.id()].getCenterX(),startY:w[M][he.id()].getCenterY(),endX:w[M][Ee.id()].getCenterX(),endY:w[M][Ee.id()].getCenterY()})}}),se.nodes.length>0)ve.push(se),te.add(M)}});var $e=oe.packComponents(ve,a.randomize).shifts;if(a.quality=="draft")b.forEach(function(W,M){var pe=W.xCoords.map(function(me){return me+$e[M].dx}),se=W.yCoords.map(function(me){return me+$e[M].dy});W.xCoords=pe,W.yCoords=se});else{var We=0;te.forEach(function(W){Object.keys(w[W]).forEach(function(M){var pe=w[W][M];pe.setCenter(pe.getCenterX()+$e[We].dx,pe.getCenterY()+$e[We].dy)}),We++})}}}var Ue=function(M,pe){if(a.quality=="default"||a.quality=="proof"){if(typeof M==="number")M=pe;var se=void 0,me=void 0,de=M.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:M.position("x"),y:M.position("y")};return{x:se.x,y:se.y}}else{var he=void 0;if(b.forEach(function(Ee){var Pe=Ee.nodeIndexes.get(M.id());if(Pe!=null)he={x:Ee.xCoords[Pe],y:Ee.yCoords[Pe]}}),he==null)he={x:M.position("x"),y:M.position("y")};return{x:he.x,y:he.y}}};if(a.quality=="default"||a.quality=="proof"||a.randomize){var rt=c.calcParentsWithoutChildren(k,Y),He=Y.filter(function(W){return W.css("display")=="none"});if(a.eles=Y.not(He),Y.nodes().not(":parent").not(He).layoutPositions(C,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=S},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(),S=r.nodes(":parent"),o=new Map,v=new Map,C=new Map,a=[],k=[],Y=[],b=[],U=[],B=[],w=[],_=[],X=void 0,j=void 0,oe=1e8,ee=0.000000001,{piTol:fe,samplingType:Ae,nodeSeparation:Re}=u,ce=void 0,H=function(){var Z=0,K=0,re=!1;while(K<ce){Z=Math.floor(Math.random()*j),re=!1;for(var ie=0;ie<K;ie++)if(b[ie]==Z){re=!0;break}if(!re)b[K]=Z,K++;else continue}},ne=function(Z,K,re){var ie=[],we=0,ue=0,le=0,Le=void 0,Ce=[],De=0,Oe=1;for(var ze=0;ze<j;ze++)Ce[ze]=oe;ie[ue]=Z,Ce[Z]=0;while(ue>=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[++ue]=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 Qe=0;Qe<j;Qe++)if(U[Qe]>De)De=U[Qe],Oe=Qe}return Oe},Ie=function(Z){var K=void 0;if(!Z){H();for(var re=0;re<ce;re++)ne(b[re],re,Z,!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++)b[we]=K,K=ne(K,we,Z)}for(var ue=0;ue<j;ue++)for(var le=0;le<ce;le++)B[ue][le]*=B[ue][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[b[De]][Ce]},be=function(){var Z=y.svd(w),{S:K,U:re,V:ie}=Z,we=K[0]*K[0]*K[0],ue=[];for(var le=0;le<ce;le++){ue[le]=[];for(var Le=0;Le<ce;Le++)if(ue[le][Le]=0,le==Le)ue[le][Le]=K[le]/(K[le]*K[le]+we/(K[le]*K[le]))}_=l.multMat(l.multMat(ie,ue),l.transpose(re))},Ne=function(){var Z=void 0,K=void 0,re=[],ie=[],we=[],ue=[];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,_)),Z=l.dotProduct(we,re),re=l.normalize(re),Ce=l.dotProduct(we,re),Oe=Math.abs(Ce/De),Oe<=1+fe&&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++)ue[Be]=ie[Be];if(ue=l.minusOp(ue,l.multCons(we,l.dotProduct(we,ue))),ie=l.multGamma(l.multL(l.multGamma(ue),B,_)),K=l.dotProduct(ue,ie),ie=l.normalize(ie),Ce=l.dotProduct(ue,ie),Oe=Math.abs(Ce/De),Oe<=1+fe&&Oe>=1)break;De=Ce}for(var Fe=0;Fe<j;Fe++)ue[Fe]=ie[Fe];k=l.multCons(we,Math.sqrt(Math.abs(Z))),Y=l.multCons(ue,Math.sqrt(Math.abs(K)))};x.connectComponents(h,r,x.getTopMostNodes(z),o),S.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]=[];S.forEach(function(ye){var Z=ye.children().intersection(r);while(Z.nodes(":childless").length==0)Z=Z.nodes()[0].children().intersection(r);var K=0,re=Z.nodes(":childless")[0].connectedEdges().length;Z.nodes(":childless").forEach(function(ie,we){if(ie.connectedEdges().length<re)re=ie.connectedEdges().length,K=we}),C.set(ye.id(),Z.nodes(":childless")[K].id())}),z.forEach(function(ye){var Z=void 0;if(ye.isParent())Z=v.get(C.get(ye.id()));else Z=v.get(ye.id());ye.neighborhood().nodes().forEach(function(K){if(r.intersection(ye.edgesWith(K)).length>0)if(K.isParent())a[Z].push(C.get(K.id()));else a[Z].push(K.id())})});var rt=function(Z){var K=v.get(Z),re=void 0;o.get(Z).forEach(function(ie){if(h.getElementById(ie).isParent())re=C.get(ie);else re=ie;a[K].push(re),a[v.get(re)].push(Z)})},He=!0,W=!1,M=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,M=ye}finally{try{if(!He&&pe.return)pe.return()}finally{if(W)throw M}}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:k,yCoords:Y};else v.forEach(function(ye,Z){k.push(h.getElementById(Z).position("x")),Y.push(h.getElementById(Z).position("y"))}),de={nodeIndexes:v,xCoords:k,yCoords:Y};return de}else{var Pe=v.keys(),Je=h.getElementById(Pe.next().value),Me=Je.position(),Ge=Je.outerWidth();if(k.push(Me.x),Y.push(Me.y),j==2){var Ve=h.getElementById(Pe.next().value),Xe=Ve.outerWidth();k.push(Me.x+Ge/2+Xe/2+u.idealEdgeLength),Y.push(Me.y)}return de={nodeIndexes:v,xCoords:k,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=Ke(lt(),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")},bt=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"),Nt=t(function(e){let n=e[0],s=e[1],E=Se(n)&&_e(s),m=_e(n)&&Se(s);return E||m},"isArchitecturePairXY"),St=t(function(e){return e!=="LL"&&e!=="RR"&&e!=="TT"&&e!=="BB"},"isValidArchitectureDirectionPair"),at=t(function(e,n){let s=`${e}${n}`;return St(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=N,this.getAccTitle=R,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getAccDescription=I,this.setAccDescription=P,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="",L()}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 Q({...$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 ge("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:Zs,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:S,label:o}=ht(l),{x:v,y:C}=l[0].sourceEndpoint(),{x:a,y:k}=l[0].midpoint(),{x:Y,y:b}=l[0].targetEndpoint(),U=m+4;if(u)if(Se(c))v+=c==="L"?-U:U;else C+=c==="T"?-U:U+18;if(S)if(Se(r))Y+=r==="L"?-U:U;else b+=r==="T"?-U:U+18;if(!u&&s.getNode(y)?.type==="junction")if(Se(c))v+=c==="L"?G:-G;else C+=c==="T"?G:-G;if(!S&&s.getNode(h)?.type==="junction")if(Se(r))Y+=r==="L"?G:-G;else b+=r==="T"?G:-G;if(l[0]._private.rscratch){let B=e.insert("g");if(B.insert("path").attr("d",`M ${v},${C} L ${a},${k} L${Y},${b} `).attr("class","edge").attr("id",`${E}-${wt(y,h,{prefix:"L"})}`),f){let w=Se(c)?it[c](v,p):v-x,_=_e(c)?it[c](C,p):C-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](b,p):b-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(C-b)/1.5;else _=Math.abs(v-Y)/2;let X=B.append("g");if(await ct(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+", "+k+")");else if(w==="Y")X.attr("transform","translate("+a+", "+k+") rotate(-90)");else if(w==="XY"){let j=at(c,r);if(j&&Nt(j)){let oe=X.node().getBoundingClientRect(),[ee,fe]=Dt(j);X.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*ee*fe*45})`);let Ae=X.node().getBoundingClientRect();X.attr("transform",`
33
+ translate(${a}, ${k-oe.height/2})
34
+ translate(${ee*Ae.width/2}, ${fe*Ae.height/2})
35
+ rotate(${-1*ee*fe*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"),S=u,o=h;if(y.icon){let v=z.append("g");v.html(`<g>${await Wt(y.icon,{height:T,width:T,fallbackPrefix:tt.prefix})}</g>`),v.attr("transform","translate("+(S+x+1)+", "+(o+x+1)+")"),S+=T,o+=G/2-1-2}if(y.label){let v=z.append("g");await ct(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("+(S+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 ct(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 Wt(T.icon,{height:p,width:p,fallbackPrefix:tt.prefix})}</g>`);else if(T.iconText){x.html(`<g>${await Wt("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");jr([{name:tt.prefix,icons:tt}]);mn.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 xt(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(xt,"positionNodes");function Tt(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(Tt,"addGroups");function At(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(At,"addEdges");function Lt(e,n,s,E=[]){let m=t((f,u)=>{let h=new Map;for(let[r,z]of f.entries()){let S=`${r}`,o=0,v=[...z.entries()];if(v.length===1){h.set(S,v[0][1]);continue}for(let C=0;C<v.length-1;C++)for(let a=C+1;a<v.length;a++){let[k,Y]=v[C],[b,U]=v[a];if(s.get(gt(k,b))===u)h.set(S,[...h.get(S)??[],...Y,...U]);else if(k==="default"||b==="default")h.set(S,[...h.get(S)??[],...Y,...U]);else{let w=`${S}-${o++}`;h.set(w,Y);let _=`${S}-${o++}`;h.set(_,U)}}}return h},"flattenAlignments"),T=n.map((f)=>{let u=new Map,h=new Map;return f.forEach(([r,z],S)=>{let o=e.getNode(S)?.in??"default",v=u.get(z)??new Map;if(!u.has(z))u.set(z,v);let C=h.get(r)??new Map;if(!h.has(r))h.set(r,C);for(let a of[v,C]){let k=a.get(o)??[];if(!a.has(o))a.set(o,k);k.push(S)}}),{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(Lt,"getAlignments");function Ct(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 S=l(r);Object.entries(h).forEach(([o,v])=>{let C=x([S[0]+v[0],S[1]+v[1]]),a=c.get(C);if(a&&!u[C]){if(f.push(C),p.has(`${z}|${a}`))return;E.push({[dt[o]]:a,[dt[bt(o)]]:z,gap:T*m})}})}}}}),E}t(Ct,"getRelativeConstraints");function It(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=mn({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(),Tt(s,l),yt(e,l,m),Et(n,l,m),At(E,l);let y=m.getLayoutHints(),c=Lt(m,T,G,y),f=Ct(T,m,y),u=m.getConfigField("iconSize"),h=m.getConfigField("idealEdgeLengthMultiplier")*u,r=0.5*u,z=m.getConfigField("edgeElasticity"),S=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[C,a]=v.connectedNodes(),{parent:k}=qe(C),{parent:Y}=qe(a);return k===Y?h:r},edgeElasticity(v){let[C,a]=v.connectedNodes(),{parent:k}=qe(C),{parent:Y}=qe(a);return k===Y?z:0.001},alignmentConstraint:c,relativePlacementConstraint:f});o.one("layoutstop",()=>{function v(C,a,k,Y){let b,U,{x:B,y:w}=C,{x:_,y:X}=a;U=(Y-w+(B-k)*(w-X)/(B-_))/Math.sqrt(1+Math.pow((w-X)/(B-_),2)),b=Math.sqrt(Math.pow(Y-w,2)+Math.pow(k-B,2)-Math.pow(U,2));let j=Math.sqrt(Math.pow(_-B,2)+Math.pow(X-w,2));b=b/j;let oe=(_-B)*(Y-w)-(X-w)*(k-B);switch(!0){case oe>=0:oe=1;break;case oe<0:oe=-1;break}let ee=(_-B)*(k-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,b=b*ee,{distances:U,weights:b}}t(v,"getSegmentWeights"),l.startBatch();for(let C of Object.values(l.edges()))if(C.data?.()){let{x:a,y:k}=C.source().position(),{x:Y,y:b}=C.target().position();if(a!==Y&&k!==b){let U=C.sourceEndpoint(),B=C.targetEndpoint(),{sourceDir:w}=ht(C),[_,X]=_e(w)?[U.x,B.y]:[B.x,U.y],{weights:j,distances:oe}=v(U,B,_,X);C.style("segment-distances",oe),C.style("segment-weights",j)}}l.endBatch(),ot(S,()=>o.run())});try{ot(S,()=>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(It,"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 It(T,G,p,x,m,l);await zt(c,h,m,n),await Bt(u,h,m,n),xt(m,h),pn(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,40 @@
1
+ import{t,C,pn,L,N,R,P,I,O,D,d,Fr,g,we,oa,Ec,Ao,To,ca}from"./chunk-8a46b2ww.js";import{ea,Er}from"./chunk-q0kx0wyj.js";import{Ht}from"./chunk-883weqxg.js";function nt(n,l){let p=0;if(l===void 0){for(let m of n)if(m=+m)p+=m}else{let m=-1;for(let v of n)if(v=+l(v,++m,n))p+=v}return p}function ht(n){var l=n.length/6|0,p=Array(l),m=0;while(m<l)p[m]="#"+n.slice(m*6,++m*6);return p}var dt=ht("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function Lt(n){return n.source}function Et(n){return n.target}function Pt(n){let l=Lt,p=Et,m=Ao,v=To,S=null,y=null,T=oa(i);function i(){let o,u=Ec.call(arguments),b=l.apply(this,u),x=p.apply(this,u);if(S==null)y=n(o=T());if(y.lineStart(),u[0]=b,y.point(+m.apply(this,u),+v.apply(this,u)),u[0]=x,y.point(+m.apply(this,u),+v.apply(this,u)),y.lineEnd(),o)return y=null,o+""||null}return i.source=function(o){return arguments.length?(l=o,i):l},i.target=function(o){return arguments.length?(p=o,i):p},i.x=function(o){return arguments.length?(m=typeof o==="function"?o:we(+o),i):m},i.y=function(o){return arguments.length?(v=typeof o==="function"?o:we(+o),i):v},i.context=function(o){return arguments.length?(o==null?S=y=null:y=n(S=o),i):S},i}function kt(){return Pt(ca)}function At(n){return n.target.depth}function pt(n){return n.depth}function yt(n,l){return l-1-n.height}function rt(n,l){return n.sourceLinks.length?n.depth:l-1}function mt(n){return n.targetLinks.length?n.depth:n.sourceLinks.length?Er(n.sourceLinks,At)-1:0}function tt(n){return function(){return n}}function bt(n,l){return st(n.source,l.source)||n.index-l.index}function vt(n,l){return st(n.target,l.target)||n.index-l.index}function st(n,l){return n.y0-l.y0}function gt(n){return n.value}function Tt(n){return n.index}function Ct(n){return n.nodes}function Bt(n){return n.links}function _t(n,l){let p=n.get(l);if(!p)throw Error("missing: "+l);return p}function St({nodes:n}){for(let l of n){let p=l.y0,m=p;for(let v of l.sourceLinks)v.y0=p+v.width/2,p+=v.width;for(let v of l.targetLinks)v.y1=m+v.width/2,m+=v.width}}function ot(){let n=0,l=0,p=1,m=1,v=24,S=8,y,T=Tt,i=rt,o,u,b=Ct,x=Bt,f=6;function _(){let e={nodes:b.apply(null,arguments),links:x.apply(null,arguments)};return B(e),G(e),W(e),U(e),z(e),St(e),e}_.update=function(e){return St(e),e},_.nodeId=function(e){return arguments.length?(T=typeof e==="function"?e:tt(e),_):T},_.nodeAlign=function(e){return arguments.length?(i=typeof e==="function"?e:tt(e),_):i},_.nodeSort=function(e){return arguments.length?(o=e,_):o},_.nodeWidth=function(e){return arguments.length?(v=+e,_):v},_.nodePadding=function(e){return arguments.length?(S=y=+e,_):S},_.nodes=function(e){return arguments.length?(b=typeof e==="function"?e:tt(e),_):b},_.links=function(e){return arguments.length?(x=typeof e==="function"?e:tt(e),_):x},_.linkSort=function(e){return arguments.length?(u=e,_):u},_.size=function(e){return arguments.length?(n=l=0,p=+e[0],m=+e[1],_):[p-n,m-l]},_.extent=function(e){return arguments.length?(n=+e[0][0],p=+e[1][0],l=+e[0][1],m=+e[1][1],_):[[n,l],[p,m]]},_.iterations=function(e){return arguments.length?(f=+e,_):f};function B({nodes:e,links:a}){for(let[r,s]of e.entries())s.index=r,s.sourceLinks=[],s.targetLinks=[];let c=new Map(e.map((r,s)=>[T(r,s,e),r]));for(let[r,s]of a.entries()){s.index=r;let{source:h,target:k}=s;if(typeof h!=="object")h=s.source=_t(c,h);if(typeof k!=="object")k=s.target=_t(c,k);h.sourceLinks.push(s),k.targetLinks.push(s)}if(u!=null)for(let{sourceLinks:r,targetLinks:s}of e)r.sort(u),s.sort(u)}function G({nodes:e}){for(let a of e)a.value=a.fixedValue===void 0?Math.max(nt(a.sourceLinks,gt),nt(a.targetLinks,gt)):a.fixedValue}function W({nodes:e}){let a=e.length,c=new Set(e),r=new Set,s=0;while(c.size){for(let h of c){h.depth=s;for(let{target:k}of h.sourceLinks)r.add(k)}if(++s>a)throw Error("circular link");c=r,r=new Set}}function U({nodes:e}){let a=e.length,c=new Set(e),r=new Set,s=0;while(c.size){for(let h of c){h.height=s;for(let{source:k}of h.targetLinks)r.add(k)}if(++s>a)throw Error("circular link");c=r,r=new Set}}function Q({nodes:e}){let a=ea(e,(s)=>s.depth)+1,c=(p-n-v)/(a-1),r=Array(a);for(let s of e){let h=Math.max(0,Math.min(a-1,Math.floor(i.call(null,s,a))));if(s.layer=h,s.x0=n+h*c,s.x1=s.x0+v,r[h])r[h].push(s);else r[h]=[s]}if(o)for(let s of r)s.sort(o);return r}function q(e){let a=Er(e,(c)=>(m-l-(c.length-1)*y)/nt(c,gt));for(let c of e){let r=l;for(let s of c){s.y0=r,s.y1=r+s.value*a,r=s.y1+y;for(let h of s.sourceLinks)h.width=h.value*a}r=(m-r+y)/(c.length+1);for(let s=0;s<c.length;++s){let h=c[s];h.y0+=r*(s+1),h.y1+=r*(s+1)}K(c)}}function z(e){let a=Q(e);y=Math.min(S,(m-l)/(ea(a,(c)=>c.length)-1)),q(a);for(let c=0;c<f;++c){let r=Math.pow(0.99,c),s=Math.max(1-r,(c+1)/f);Y(a,r,s),w(a,r,s)}}function w(e,a,c){for(let r=1,s=e.length;r<s;++r){let h=e[r];for(let k of h){let J=0,M=0;for(let{source:A,value:ft}of k.targetLinks){let et=ft*(k.layer-A.layer);J+=E(A,k)*et,M+=et}if(!(M>0))continue;let F=(J/M-k.y0)*a;k.y0+=F,k.y1+=F,Z(k)}if(o===void 0)h.sort(st);H(h,c)}}function Y(e,a,c){for(let r=e.length,s=r-2;s>=0;--s){let h=e[s];for(let k of h){let J=0,M=0;for(let{target:A,value:ft}of k.sourceLinks){let et=ft*(A.layer-k.layer);J+=V(k,A)*et,M+=et}if(!(M>0))continue;let F=(J/M-k.y0)*a;k.y0+=F,k.y1+=F,Z(k)}if(o===void 0)h.sort(st);H(h,c)}}function H(e,a){let c=e.length>>1,r=e[c];j(e,r.y0-y,c-1,a),X(e,r.y1+y,c+1,a),j(e,m,e.length-1,a),X(e,l,0,a)}function X(e,a,c,r){for(;c<e.length;++c){let s=e[c],h=(a-s.y0)*r;if(h>0.000001)s.y0+=h,s.y1+=h;a=s.y1+y}}function j(e,a,c,r){for(;c>=0;--c){let s=e[c],h=(s.y1-a)*r;if(h>0.000001)s.y0-=h,s.y1-=h;a=s.y0-y}}function Z({sourceLinks:e,targetLinks:a}){if(u===void 0){for(let{source:{sourceLinks:c}}of a)c.sort(vt);for(let{target:{targetLinks:c}}of e)c.sort(bt)}}function K(e){if(u===void 0)for(let{sourceLinks:a,targetLinks:c}of e)a.sort(vt),c.sort(bt)}function E(e,a){let c=e.y0-(e.sourceLinks.length-1)*y/2;for(let{target:r,width:s}of e.sourceLinks){if(r===a)break;c+=s+y}for(let{source:r,width:s}of a.targetLinks){if(r===e)break;c-=s}return c}function V(e,a){let c=a.y0-(a.targetLinks.length-1)*y/2;for(let{source:r,width:s}of a.targetLinks){if(r===e)break;c+=s+y}for(let{target:r,width:s}of e.sourceLinks){if(r===a)break;c-=s}return c}return _}function Ot(n){return[n.source.x1,n.y0]}function Rt(n){return[n.target.x0,n.y1]}function it(){return kt().source(Ot).target(Rt)}var xt=function(){var n=t(function(T,i,o,u){for(o=o||{},u=T.length;u--;o[T[u]]=i);return o},"o"),l=[1,9],p=[1,10],m=[1,5,10,12],v={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:t(function(i,o,u,b,x,f,_){var B=f.length-1;switch(x){case 7:let G=b.findOrCreateNode(f[B-4].trim().replaceAll('""','"')),W=b.findOrCreateNode(f[B-2].trim().replaceAll('""','"')),U=parseFloat(f[B].trim());b.addLink(G,W,U);break;case 8:case 9:case 11:this.$=f[B];break;case 10:this.$=f[B-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:l,20:p},{1:[2,6],7:11,10:[1,12]},n(p,[2,4],{9:13,5:[1,14]}),{12:[1,15]},n(m,[2,8]),n(m,[2,9]),{19:[1,16]},n(m,[2,11]),{1:[2,1]},{1:[2,5]},n(p,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:l,20:p},{15:18,16:7,17:8,18:l,20:p},{18:[1,19]},n(p,[2,3]),{12:[1,20]},n(m,[2,10]),{15:21,16:7,17:8,18:l,20:p},n([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:t(function(i,o){if(o.recoverable)this.trace(i);else{var u=Error(i);throw u.hash=o,u}},"parseError"),parse:t(function(i){var o=this,u=[0],b=[],x=[null],f=[],_=this.table,B="",G=0,W=0,U=0,Q=2,q=1,z=f.slice.call(arguments,1),w=Object.create(this.lexer),Y={yy:{}};for(var H in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,H))Y.yy[H]=this.yy[H];if(w.setInput(i,Y.yy),Y.yy.lexer=w,Y.yy.parser=this,typeof w.yylloc>"u")w.yylloc={};var X=w.yylloc;f.push(X);var j=w.options&&w.options.ranges;if(typeof Y.yy.parseError==="function")this.parseError=Y.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Z(A){u.length=u.length-2*A,x.length=x.length-A,f.length=f.length-A}t(Z,"popStack");function K(){var A=b.pop()||w.lex()||q;if(typeof A!=="number"){if(A instanceof Array)b=A,A=b.pop();A=o.symbols_[A]||A}return A}t(K,"lex");var E,V,e,a,c,r,s={},h,k,J,M;while(!0){if(e=u[u.length-1],this.defaultActions[e])a=this.defaultActions[e];else{if(E===null||typeof E>"u")E=K();a=_[e]&&_[e][E]}if(typeof a>"u"||!a.length||!a[0]){var F="";M=[];for(h in _[e])if(this.terminals_[h]&&h>Q)M.push("'"+this.terminals_[h]+"'");if(w.showPosition)F="Parse error on line "+(G+1)+`:
2
+ `+w.showPosition()+`
3
+ Expecting `+M.join(", ")+", got '"+(this.terminals_[E]||E)+"'";else F="Parse error on line "+(G+1)+": Unexpected "+(E==q?"end of input":"'"+(this.terminals_[E]||E)+"'");this.parseError(F,{text:w.match,token:this.terminals_[E]||E,line:w.yylineno,loc:X,expected:M})}if(a[0]instanceof Array&&a.length>1)throw Error("Parse Error: multiple actions possible at state: "+e+", token: "+E);switch(a[0]){case 1:if(u.push(E),x.push(w.yytext),f.push(w.yylloc),u.push(a[1]),E=null,!V){if(W=w.yyleng,B=w.yytext,G=w.yylineno,X=w.yylloc,U>0)U--}else E=V,V=null;break;case 2:if(k=this.productions_[a[1]][1],s.$=x[x.length-k],s._$={first_line:f[f.length-(k||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(k||1)].first_column,last_column:f[f.length-1].last_column},j)s._$.range=[f[f.length-(k||1)].range[0],f[f.length-1].range[1]];if(r=this.performAction.apply(s,[B,W,G,Y.yy,a[1],x,f].concat(z)),typeof r<"u")return r;if(k)u=u.slice(0,-1*k*2),x=x.slice(0,-1*k),f=f.slice(0,-1*k);u.push(this.productions_[a[1]][0]),x.push(s.$),f.push(s._$),J=_[u[u.length-2]][u[u.length-1]],u.push(J);break;case 3:return!0}}return!0},"parse")},S=function(){var T={EOF:1,parseError:t(function(o,u){if(this.yy.parser)this.yy.parser.parseError(o,u);else throw Error(o)},"parseError"),setInput:t(function(i,o){if(this.yy=o||this.yy||{},this._input=i,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 i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var o=i.match(/(?:\r\n?|\n).*/g);if(o)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),i},"input"),unput:t(function(i){var o=i.length,u=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var b=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),u.length-1)this.yylineno-=u.length-1;var x=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:u?(u.length===b.length?this.yylloc.first_column:0)+b[b.length-u.length].length-u[0].length:this.yylloc.first_column-o},this.options.ranges)this.yylloc.range=[x[0],x[0]+this.yyleng-o];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(i){this.unput(this.match.slice(i))},"less"),pastInput:t(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var i=this.match;if(i.length<20)i+=this._input.substr(0,20-i.length);return(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var i=this.pastInput(),o=Array(i.length+1).join("-");return i+this.upcomingInput()+`
5
+ `+o+"^"},"showPosition"),test_match:t(function(i,o){var u,b,x;if(this.options.backtrack_lexer){if(x={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)x.yylloc.range=this.yylloc.range.slice(0)}if(b=i[0].match(/(?:\r\n?|\n).*/g),b)this.yylineno+=b.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:b?b[b.length-1].length-b[b.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,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(i[0].length),this.matched+=i[0],u=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(u)return u;else if(this._backtrack){for(var f in x)this[f]=x[f];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var i,o,u,b;if(!this._more)this.yytext="",this.match="";var x=this._currentRules();for(var f=0;f<x.length;f++)if(u=this._input.match(this.rules[x[f]]),u&&(!o||u[0].length>o[0].length)){if(o=u,b=f,this.options.backtrack_lexer)if(i=this.test_match(u,x[f]),i!==!1)return i;else if(this._backtrack){o=!1;continue}else return!1;else if(!this.options.flex)break}if(o){if(i=this.test_match(o,x[b]),i!==!1)return i;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 o=this.next();if(o)return o;else return this.lex()},"lex"),begin:t(function(o){this.conditionStack.push(o)},"begin"),popState:t(function(){var o=this.conditionStack.length-1;if(o>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(o){if(o=this.conditionStack.length-1-Math.abs(o||0),o>=0)return this.conditionStack[o];else return"INITIAL"},"topState"),pushState:t(function(o){this.begin(o)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(o,u,b,x){var f=x;switch(b){case 0:return this.pushState("csv"),4;break;case 1:return this.pushState("csv"),4;break;case 2:return 10;case 3:return 5;case 4:return 12;case 5:return this.pushState("escaped_text"),18;break;case 6:return 20;case 7:return this.popState("escaped_text"),18;break;case 8:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:sankey\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[2,3,4,5,6,7,8],inclusive:!1},escaped_text:{rules:[7,8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8],inclusive:!0}}};return T}();v.lexer=S;function y(){this.yy={}}return t(y,"Parser"),y.prototype=v,v.Parser=y,new y}();xt.parser=xt;var at=xt,ct=[],ut=[],lt=new Map,Nt=t(()=>{ct=[],ut=[],lt=new Map,L()},"clear"),Gt=class{constructor(n,l,p=0){this.source=n,this.target=l,this.value=p}static{t(this,"SankeyLink")}},It=t((n,l,p)=>{ct.push(new Gt(n,l,p))},"addLink"),Mt=class{constructor(n){this.ID=n}static{t(this,"SankeyNode")}},Yt=t((n)=>{n=C.sanitizeText(n,d());let l=lt.get(n);if(l===void 0)l=new Mt(n),lt.set(n,l),ut.push(l);return l},"findOrCreateNode"),Dt=t(()=>ut,"getNodes"),jt=t(()=>ct,"getLinks"),$t=t(()=>({nodes:ut.map((n)=>({id:n.ID})),links:ct.map((n)=>({source:n.source.ID,target:n.target.ID,value:n.value}))}),"getGraph"),zt={nodesMap:lt,getConfig:t(()=>d().sankey,"getConfig"),getNodes:Dt,getLinks:jt,getGraph:$t,addLink:It,findOrCreateNode:Yt,getAccTitle:R,setAccTitle:N,getAccDescription:I,setAccDescription:P,getDiagramTitle:D,setDiagramTitle:O,clear:Nt},wt=class n{static{t(this,"Uid")}static{this.count=0}static next(l){return new n(l+ ++n.count)}constructor(l){this.id=l,this.href=`#${l}`}toString(){return"url("+this.href+")"}},Vt={left:pt,right:yt,center:mt,justify:rt},Ft=t((n)=>{let l=0,p=0;for(let m of n){let v=m.value??0;if(v>l)l=v,p=m.layer??0}return p},"findCentralNodeLayer"),Wt=t(function(n,l,p,m){let{securityLevel:v,sankey:S}=d(),y=Fr.sankey,T;if(v==="sandbox")T=g("#i"+l);let i=v==="sandbox"?g(T.nodes()[0].contentDocument.body):g("body"),o=v==="sandbox"?i.select(`[id="${l}"]`):g(`[id="${l}"]`),u=S?.width??y.width,b=S?.height??y.width,x=S?.useMaxWidth??y.useMaxWidth,f=S?.nodeAlignment??y.nodeAlignment,_=S?.prefix??y.prefix,B=S?.suffix??y.suffix,G=S?.showValues??y.showValues,W=S?.nodeWidth??y.nodeWidth??10,U=S?.nodePadding??y.nodePadding??12,Q=S?.labelStyle??y.labelStyle??"legacy",q=S?.nodeColors??{},z=m.db.getGraph(),w=Vt[f];ot().nodeId((r)=>r.id).nodeWidth(W).nodePadding(U+(G?15:0)).nodeAlign(w).extent([[0,0],[u,b]])(z);let H=Ft(z.nodes),X=Ht(dt),j=t((r)=>q[r]??X(r),"getNodeColor");o.append("g").attr("class","nodes").selectAll(".node").data(z.nodes).join("g").attr("class","node").attr("id",(r)=>(r.uid=wt.next("node-")).id).attr("transform",function(r){return"translate("+r.x0+","+r.y0+")"}).attr("x",(r)=>r.x0).attr("y",(r)=>r.y0).append("rect").attr("height",(r)=>r.y1-r.y0).attr("width",(r)=>r.x1-r.x0).attr("fill",(r)=>j(r.id));let Z=t(({id:r,value:s})=>{if(!G)return r;return`${r}
7
+ ${_}${Math.round(s*100)/100}${B}`},"getText"),K=t((r)=>{if(Q==="outlined"){if((r.layer??0)<H)return{x:r.x0-6,anchor:"end"};return{x:r.x1+6,anchor:"start"}}if(r.x0<u/2)return{x:r.x1+6,anchor:"start"};return{x:r.x0-6,anchor:"end"}},"getLabelPosition"),E=o.append("g").attr("class","node-labels").attr("font-size",14),V=t((r)=>E.selectAll(r?`.${r}`:"text").data(z.nodes).join("text").attr("class",r??null).attr("x",(s)=>K(s).x).attr("y",(s)=>(s.y1+s.y0)/2).attr("dy",`${G?"0":"0.35"}em`).attr("text-anchor",(s)=>K(s).anchor).text(Z),"appendLabel");if(Q==="outlined")V("sankey-label-bg"),V("sankey-label-fg");else V();let e=o.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",0.5).selectAll(".link").data(z.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),a=S?.linkColor??"gradient";if(a==="gradient"){let r=e.append("linearGradient").attr("id",(s)=>(s.uid=wt.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",(s)=>s.source.x1).attr("x2",(s)=>s.target.x0);r.append("stop").attr("offset","0%").attr("stop-color",(s)=>j(s.source.id)),r.append("stop").attr("offset","100%").attr("stop-color",(s)=>j(s.target.id))}let c;switch(a){case"gradient":c=t((r)=>r.uid,"coloring");break;case"source":c=t((r)=>j(r.source.id),"coloring");break;case"target":c=t((r)=>j(r.target.id),"coloring");break;default:c=a}e.append("path").attr("d",it()).attr("stroke",c).attr("stroke-width",(r)=>Math.max(1,r.width)),pn(void 0,o,0,x)},"draw"),Ut={draw:Wt},Xt=t((n)=>n.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,`
8
+ `).trim(),"prepareTextForParsing"),Jt=t((n)=>`.label {
9
+ font-family: ${n.fontFamily};
10
+ }
11
+
12
+ .node-labels {
13
+ font-family: ${n.fontFamily};
14
+ }
15
+
16
+ /* Outlined label style - background stroke for better readability */
17
+ .sankey-label-bg {
18
+ stroke: ${n.mainBkg||n.background||"#fff"};
19
+ stroke-width: 4px;
20
+ stroke-linejoin: round;
21
+ paint-order: stroke;
22
+ }
23
+
24
+ /* Foreground label text */
25
+ .sankey-label-fg {
26
+ fill: ${n.textColor};
27
+ }
28
+
29
+ /* Node styling */
30
+ .node rect {
31
+ shape-rendering: crispEdges;
32
+ }
33
+
34
+ /* Link styling */
35
+ .link {
36
+ fill: none;
37
+ stroke-opacity: 0.5;
38
+ mix-blend-mode: multiply;
39
+ }
40
+ `,"getStyles"),Kt=Jt,Qt=at.parse.bind(at);at.parse=(n)=>Qt(Xt(n));var Be={styles:Kt,parser:at,db:zt,renderer:Ut};export{Be as diagram};
Binary file
Binary file
@@ -0,0 +1,41 @@
1
+ import{ae}from"./chunk-p0zneef1.js";import{t,i,Ye,F,A,Y,L,N,R,P,I,O,D,J,Q}from"./chunk-8a46b2ww.js";import{ge}from"./chunk-28sta4gj.js";var h={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"},C=32,b={axes:[],curves:[],options:h},x=structuredClone(b),G=F.radar,B=t(()=>Q({...G,...A().radar}),"getConfig"),M=t(()=>x.axes,"getAxes"),W=t(()=>x.curves,"getCurves"),V=t(()=>x.options,"getOptions"),H=t((r)=>{x.axes=r.map((e)=>({name:e.name,label:e.label??e.name}))},"setAxes"),j=t((r)=>{x.curves=r.map((e)=>({name:e.name,label:e.label??e.name,entries:U(e.entries)}))},"setCurves"),U=t((r)=>{if(r[0].axis==null)return r.map((a)=>a.value);let e=M();if(e.length===0)throw Error("Axes must be populated before curves for reference entries");return e.map((a)=>{let n=r.find((s)=>s.axis?.$refText===a.name);if(n===void 0)throw Error("Missing entry for axis "+a.label);return n.value})},"computeCurveEntries"),X=t((r)=>{let e=r.reduce((a,n)=>(a[n.name]=n,a),{});if(x.options={showLegend:e.showLegend?.value??h.showLegend,ticks:e.ticks?.value??h.ticks,max:e.max?.value??h.max,min:e.min?.value??h.min,graticule:e.graticule?.value??h.graticule},x.options.ticks>C)i.warn(`Radar diagram ticks (${x.options.ticks}) exceeds maximum allowed (${C}). Using ${C} instead.`),x.options.ticks=C},"setOptions"),K=t(()=>{L(),x=structuredClone(b)},"clear"),y={getAxes:M,getCurves:W,getOptions:V,setAxes:H,setCurves:j,setOptions:X,getConfig:B,clear:K,setAccTitle:N,getAccTitle:R,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:P},Z=t((r)=>{ae(r,y);let{axes:e,curves:a,options:n}=r;y.setAxes(e),y.setCurves(a),y.setOptions(n)},"populate"),q={parse:t(async(r)=>{let e=await ge("radar",r);i.debug(e),Z(e)},"parse")},tt=t((r,e,a,n)=>{let s=n.db,c=s.getAxes(),d=s.getCurves(),o=s.getOptions(),l=s.getConfig(),u=s.getDiagramTitle(),m=J(e),p=et(m,l),g=o.max??Math.max(...d.map((w)=>Math.max(...w.entries))),v=o.min,f=Math.min(l.width,l.height)/2;at(p,c,f,o.ticks,o.graticule),rt(p,c,f,l),T(p,c,d,v,g,o.graticule,l),_(p,d,o.showLegend,l),p.append("text").attr("class","radarTitle").text(u).attr("x",0).attr("y",-l.height/2-l.marginTop)},"draw"),et=t((r,e)=>{let a=e.width+e.marginLeft+e.marginRight,n=e.height+e.marginTop+e.marginBottom,s={x:e.marginLeft+e.width/2,y:e.marginTop+e.height/2};return Y(r,n,a,e.useMaxWidth??!0),r.attr("viewBox",`0 0 ${a} ${n}`).attr("overflow","visible"),r.append("g").attr("transform",`translate(${s.x}, ${s.y})`)},"drawFrame"),at=t((r,e,a,n,s)=>{if(s==="circle")for(let c=0;c<n;c++){let d=a*(c+1)/n;r.append("circle").attr("r",d).attr("class","radarGraticule")}else if(s==="polygon"){let c=e.length;for(let d=0;d<n;d++){let o=a*(d+1)/n,l=e.map((u,m)=>{let p=2*m*Math.PI/c-Math.PI/2,g=o*Math.cos(p),v=o*Math.sin(p);return`${g},${v}`}).join(" ");r.append("polygon").attr("points",l).attr("class","radarGraticule")}}},"drawGraticule"),rt=t((r,e,a,n)=>{let s=e.length;for(let c=0;c<s;c++){let d=e[c].label,o=2*c*Math.PI/s-Math.PI/2,l=Math.cos(o),u=Math.sin(o);r.append("line").attr("x1",0).attr("y1",0).attr("x2",a*n.axisScaleFactor*l).attr("y2",a*n.axisScaleFactor*u).attr("class","radarAxisLine");let m=l>0.01?"start":l<-0.01?"end":"middle",p=u>0.01?"hanging":u<-0.01?"auto":"central",g=4;r.append("text").text(d).attr("x",a*n.axisLabelFactor*l+g*l).attr("y",a*n.axisLabelFactor*u+g*u).attr("text-anchor",m).attr("dominant-baseline",p).attr("class","radarAxisLabel")}},"drawAxes");function T(r,e,a,n,s,c,d){let o=e.length,l=Math.min(d.width,d.height)/2;a.forEach((u,m)=>{if(u.entries.length!==o)return;let p=u.entries.map((g,v)=>{let f=2*Math.PI*v/o-Math.PI/2,w=S(g,n,s,l),E=w*Math.cos(f),z=w*Math.sin(f);return{x:E,y:z}});if(c==="circle")r.append("path").attr("d",k(p,d.curveTension)).attr("class",`radarCurve-${m}`);else if(c==="polygon")r.append("polygon").attr("points",p.map((g)=>`${g.x},${g.y}`).join(" ")).attr("class",`radarCurve-${m}`)})}t(T,"drawCurves");function S(r,e,a,n){let s=Math.min(Math.max(r,e),a);return n*(s-e)/(a-e)}t(S,"relativeRadius");function k(r,e){let a=r.length,n=`M${r[0].x},${r[0].y}`;for(let s=0;s<a;s++){let c=r[(s-1+a)%a],d=r[s],o=r[(s+1)%a],l=r[(s+2)%a],u={x:d.x+(o.x-c.x)*e,y:d.y+(o.y-c.y)*e},m={x:o.x-(l.x-d.x)*e,y:o.y-(l.y-d.y)*e};n+=` C${u.x},${u.y} ${m.x},${m.y} ${o.x},${o.y}`}return`${n} Z`}t(k,"closedRoundCurve");function _(r,e,a,n){if(!a)return;let s=(n.width/2+n.marginRight)*3/4,c=-(n.height/2+n.marginTop)*3/4,d=20;e.forEach((o,l)=>{let u=r.append("g").attr("transform",`translate(${s}, ${c+l*d})`);u.append("rect").attr("width",12).attr("height",12).attr("class",`radarLegendBox-${l}`),u.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(o.label)})}t(_,"drawLegend");var nt={draw:tt},st=t((r,e)=>{let a="";for(let n=0;n<r.THEME_COLOR_LIMIT;n++){let s=r[`cScale${n}`];a+=`
2
+ .radarCurve-${n} {
3
+ color: ${s};
4
+ fill: ${s};
5
+ fill-opacity: ${e.curveOpacity};
6
+ stroke: ${s};
7
+ stroke-width: ${e.curveStrokeWidth};
8
+ }
9
+ .radarLegendBox-${n} {
10
+ fill: ${s};
11
+ fill-opacity: ${e.curveOpacity};
12
+ stroke: ${s};
13
+ }
14
+ `}return a},"genIndexStyles"),ot=t((r)=>{let e=Ye(),a=A(),n=Q(e,a.themeVariables),s=Q(n.radar,r);return{themeVariables:n,radarOptions:s}},"buildRadarStyleOptions"),it=t(({radar:r}={})=>{let{themeVariables:e,radarOptions:a}=ot(r);return`
15
+ .radarTitle {
16
+ font-size: ${e.fontSize};
17
+ color: ${e.titleColor};
18
+ dominant-baseline: hanging;
19
+ text-anchor: middle;
20
+ }
21
+ .radarAxisLine {
22
+ stroke: ${a.axisColor};
23
+ stroke-width: ${a.axisStrokeWidth};
24
+ }
25
+ .radarAxisLabel {
26
+ font-size: ${a.axisLabelFontSize}px;
27
+ color: ${a.axisColor};
28
+ }
29
+ .radarGraticule {
30
+ fill: ${a.graticuleColor};
31
+ fill-opacity: ${a.graticuleOpacity};
32
+ stroke: ${a.graticuleColor};
33
+ stroke-width: ${a.graticuleStrokeWidth};
34
+ }
35
+ .radarLegendText {
36
+ text-anchor: start;
37
+ font-size: ${a.legendFontSize}px;
38
+ dominant-baseline: hanging;
39
+ }
40
+ ${st(e,a)}
41
+ `},"styles"),xt={parser:q,db:y,renderer:nt,styles:it};export{xt as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{$s}from"./chunk-28sta4gj.js";export{$s as createArchitectureServices};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{te,e,n,y}from"./chunk-nf83ezt5.js";import{qn,Jr}from"./chunk-t092etr1.js";import"./chunk-3rg8d23d.js";var s="session";function f({connection:d}){let{ModelSelector:a,SettingGroup:m,SettingRow:g}=y(),r=te(),t=Jr({connection:d,endpoint:"/api/plugins/title-generator/settings",loadError:"读取标题生成设置失败",toBody:(o)=>({schemaVersion:1,revision:o.revision,model:o.model}),differs:(o,i)=>o.model!==i.model}),l=t.settings?.model??null,c={models:[{id:s,name:"跟随会话模型"},...t.modelList.models.filter((o)=>o.available===!0||o.id===l)]};return n("form",{id:r,onSubmit:t.save,className:"min-w-0 space-y-5",children:[e(m,{title:"标题生成",children:e(g,{title:"标题模型",description:"首次输入直接命名;后续输入识别为独立需求时自动改名。请求始终使用 None 思考。",children:e("div",{className:"w-56",children:e(a,{variant:"field",models:c,value:l??s,onChange:(o)=>t.edit((i)=>({...i,model:o===s?null:o}))})})})}),e(qn,{formID:r,notice:t.notice,dirty:t.dirty,busy:t.loading||t.saving,saving:t.saving,onReset:t.reset})]})}export{f as TitleGeneratorSettingsSection};
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ import{r}from"./chunk-6ycpdpfj.js";var e=Object.freeze({displayName:"Java",name:"java",patterns:[{begin:/\b(package)\b\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.other.package.java"}},contentName:"storage.modifier.package.java",end:/\p{space}*(;)/dgv,endCaptures:{"1":{name:"punctuation.terminator.java"}},name:"meta.package.java",patterns:[{include:"#comments"},{match:/(?<=\.)\p{space}*\.|\.(?=\p{space}*;)/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/(?<!_)_(?=\p{space}*([\.\;]))|\b\p{Nd}+|-+/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/[A-Z]+/dgv,name:"invalid.deprecated.package_name_not_lowercase.java"},{match:/\b(?<!\$)(abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|non-sealed|package|permits|private|protected|public|return|sealed|short|static|strictfp|super|switch|syncronized|this|throws??|transient|try|void|volatile|while|yield|true|false|null)\b/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/\./dgv,name:"punctuation.separator.java"}]},{begin:/\b(import)\b\p{space}*\b(static)?\b\p{space}/dgv,beginCaptures:{"1":{name:"keyword.other.import.java"},"2":{name:"storage.modifier.java"}},contentName:"storage.modifier.import.java",end:/\p{space}*(;)/dgv,endCaptures:{"1":{name:"punctuation.terminator.java"}},name:"meta.import.java",patterns:[{include:"#comments"},{match:/(?<=\.)\p{space}*\.|\.(?=\p{space}*;)/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/(?<!\.)\p{space}*\*/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/(?<!_)_(?=\p{space}*([\.\;]))|\b\p{Nd}+|-+/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/\b(?<!\$)(abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|non-sealed|package|permits|private|protected|public|return|sealed|short|static|strictfp|super|switch|syncronized|this|throws??|transient|try|void|volatile|while|yield|true|false|null)\b/dgv,name:"invalid.illegal.character_not_allowed_here.java"},{match:/\./dgv,name:"punctuation.separator.java"},{match:/\*/dgv,name:"variable.language.wildcard.java"}]},{include:"#comments-javadoc"},{include:"#code"},{include:"#module"}],repository:{"all-types":{patterns:[{include:"#primitive-arrays"},{include:"#primitive-types"},{include:"#object-types"}]},annotations:{patterns:[{begin:/((@)\p{space}*([^\(\p{space}]+))(\()/dgv,beginCaptures:{"2":{name:"punctuation.definition.annotation.java"},"3":{name:"storage.type.annotation.java"},"4":{name:"punctuation.definition.annotation-arguments.begin.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.annotation-arguments.end.bracket.round.java"}},name:"meta.declaration.annotation.java",patterns:[{captures:{"1":{name:"constant.other.key.java"},"2":{name:"keyword.operator.assignment.java"}},match:/([\p{L}\p{M}\p{N}\p{Pc}]*)\p{space}*(=)/dgv},{include:"#code"}]},{captures:{"1":{name:"punctuation.definition.annotation.java"},"2":{name:"storage.modifier.java"},"3":{name:"storage.type.annotation.java"},"5":{name:"punctuation.definition.annotation.java"},"6":{name:"storage.type.annotation.java"}},match:/(@)(interface)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]*)|((@)\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+))/dgv,name:"meta.declaration.annotation.java"}]},"anonymous-block-and-instance-initializer":{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.block.begin.bracket.curly.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.block.end.bracket.curly.java"}},patterns:[{include:"#code"}]},"anonymous-classes-and-new":{begin:/\bnew\b/dgv,beginCaptures:{"0":{name:"keyword.control.new.java"}},end:/(?=[\]\)-\.\:\;\?\}]|\/(?![\*\/])|[\!\%\&\=\^\|])/dgv,patterns:[{include:"#comments"},{include:"#function-call"},{include:"#all-types"},{begin:/(?<=\))/dgv,end:/(?=[\]\)-\.\:\;\?\}]|\/(?![\*\/])|[\!\%\&\=\^\|])/dgv,patterns:[{include:"#comments"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.inner-class.begin.bracket.curly.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.inner-class.end.bracket.curly.java"}},name:"meta.inner-class.java",patterns:[{include:"#class-body"}]}]},{begin:/(?<=\])/dgv,end:/(?=[\]\)-\.\:\;\?\}]|\/(?![\*\/])|[\!\%\&\=\^\|])/dgv,patterns:[{include:"#comments"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.array-initializer.begin.bracket.curly.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.array-initializer.end.bracket.curly.java"}},name:"meta.array-initializer.java",patterns:[{include:"#code"}]}]},{include:"#parens"}]},assertions:{patterns:[{begin:/\b(assert)\p{space}/dgv,beginCaptures:{"1":{name:"keyword.control.assert.java"}},end:/(?=\n?$)/dgv,name:"meta.declaration.assertion.java",patterns:[{match:/:/dgv,name:"keyword.operator.assert.expression-separator.java"},{include:"#code"}]}]},class:{begin:/(?=[\p{L}\p{M}\p{N}\p{Pc}]?[\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]*\b(?:class|(?<!@)interface|enum)\p{space}+[\$\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.class.end.bracket.curly.java"}},name:"meta.class.java",patterns:[{include:"#storage-modifiers"},{include:"#generics"},{include:"#comments"},{captures:{"1":{name:"storage.modifier.java"},"2":{name:"entity.name.type.class.java"}},match:/(class|(?<!@)interface|enum)\p{space}+([\$\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,name:"meta.class.identifier.java"},{begin:/extends/dgv,beginCaptures:{"0":{name:"storage.modifier.extends.java"}},end:/(?=\{|implements|permits)/dgv,name:"meta.definition.class.inherited.classes.java",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{begin:/(implements)\p{space}/dgv,beginCaptures:{"1":{name:"storage.modifier.implements.java"}},end:/(?=\p{space}*extends|permits|\{)/dgv,name:"meta.definition.class.implemented.interfaces.java",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{begin:/(permits)\p{space}/dgv,beginCaptures:{"1":{name:"storage.modifier.permits.java"}},end:/(?=\p{space}*extends|implements|\{)/dgv,name:"meta.definition.class.permits.classes.java",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.class.begin.bracket.curly.java"}},contentName:"meta.class.body.java",end:/(?=\})/dgv,patterns:[{include:"#class-body"}]}]},"class-body":{patterns:[{include:"#comments-javadoc"},{include:"#comments"},{include:"#enums"},{include:"#class"},{include:"#generics"},{include:"#static-initializer"},{include:"#class-fields-and-methods"},{include:"#annotations"},{include:"#storage-modifiers"},{include:"#member-variables"},{include:"#code"}]},"class-fields-and-methods":{patterns:[{begin:/(?==)/dgv,end:/(?=;)/dgv,patterns:[{include:"#code"}]},{include:"#methods"}]},code:{patterns:[{include:"#annotations"},{include:"#comments"},{include:"#enums"},{include:"#class"},{include:"#record"},{include:"#anonymous-block-and-instance-initializer"},{include:"#try-catch-finally"},{include:"#assertions"},{include:"#parens"},{include:"#constants-and-special-vars"},{include:"#numbers"},{include:"#anonymous-classes-and-new"},{include:"#lambda-expression"},{include:"#keywords"},{include:"#storage-modifiers"},{include:"#method-call"},{include:"#function-call"},{include:"#variables"},{include:"#variables-local"},{include:"#objects"},{include:"#properties"},{include:"#strings"},{include:"#all-types"},{match:/,/dgv,name:"punctuation.separator.delimiter.java"},{match:/\./dgv,name:"punctuation.separator.period.java"},{match:/;/dgv,name:"punctuation.terminator.java"}]},comments:{patterns:[{captures:{"0":{name:"punctuation.definition.comment.java"}},match:/\/\*\*\//dgv,name:"comment.block.empty.java"},{include:"#comments-inline"}]},"comments-inline":{patterns:[{begin:/\/\*/dgv,captures:{"0":{name:"punctuation.definition.comment.java"}},end:/\*\//dgv,name:"comment.block.java"},{begin:/(^[\t ]+)?(?=\/\/)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.java"}},end:new r("(?!^)","dgv",{strategy:"clip_search"}),patterns:[{begin:/\/\//dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.java"}},end:/\n/dgv,name:"comment.line.double-slash.java"}]}]},"comments-javadoc":{patterns:[{begin:/^\p{space}*(\/\*\*)(?!\/)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.java"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.java"}},name:"comment.block.javadoc.java",patterns:[{match:/@(author|deprecated|return|see|serial|since|version)\b/dgv,name:"keyword.other.documentation.javadoc.java"},{captures:{"1":{name:"keyword.other.documentation.javadoc.java"},"2":{name:"variable.parameter.java"}},match:/(@param)\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"keyword.other.documentation.javadoc.java"},"2":{name:"entity.name.type.class.java"}},match:/(@(?:exception|throws))\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"keyword.other.documentation.javadoc.java"},"2":{name:"entity.name.type.class.java"},"3":{name:"variable.parameter.java"}},match:/\{(@link)\p{space}+(\P{space}+)?#([\$\p{L}\p{M}\p{N}\p{Pc}]+\p{space}*\([^\(\)]*\))[^\n]*?\}/dgv}]}]},"constants-and-special-vars":{patterns:[{match:/\b(true|false|null)\b/dgv,name:"constant.language.java"},{match:/\bthis\b/dgv,name:"variable.language.this.java"},{match:/\bsuper\b/dgv,name:"variable.language.java"}]},enums:{begin:/^\p{space}*([\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)(enum)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,beginCaptures:{"1":{patterns:[{include:"#storage-modifiers"}]},"2":{name:"storage.modifier.java"},"3":{name:"entity.name.type.enum.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.enum.end.bracket.curly.java"}},name:"meta.enum.java",patterns:[{begin:/\b(extends)\b/dgv,beginCaptures:{"1":{name:"storage.modifier.extends.java"}},end:/(?=\{|\bimplements\b)/dgv,name:"meta.definition.class.inherited.classes.java",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{begin:/\b(implements)\b/dgv,beginCaptures:{"1":{name:"storage.modifier.implements.java"}},end:/(?=\{|\bextends\b)/dgv,name:"meta.definition.class.implemented.interfaces.java",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.enum.begin.bracket.curly.java"}},end:/(?=\})/dgv,patterns:[{begin:/(?<=\{)/dgv,end:/(?=[\;\}])/dgv,patterns:[{include:"#comments-javadoc"},{include:"#comments"},{begin:/\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgv,beginCaptures:{"1":{name:"constant.other.enum.java"}},end:/(,)|(?=[\;\}])/dgv,endCaptures:{"1":{name:"punctuation.separator.delimiter.java"}},patterns:[{include:"#comments-javadoc"},{include:"#comments"},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.bracket.round.java"}},patterns:[{include:"#code"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.bracket.curly.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.bracket.curly.java"}},patterns:[{include:"#class-body"}]}]}]},{include:"#class-body"}]}]},"function-call":{begin:/([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)\p{space}*(\()/dgv,beginCaptures:{"1":{name:"entity.name.function.java"},"2":{name:"punctuation.definition.parameters.begin.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.bracket.round.java"}},name:"meta.function-call.java",patterns:[{include:"#code"}]},generics:{begin:/</dgv,beginCaptures:{"0":{name:"punctuation.bracket.angle.java"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.bracket.angle.java"}},patterns:[{match:/\b(extends|super)\b/dgv,name:"storage.modifier.$1.java"},{captures:{"1":{name:"storage.type.java"}},match:/(?<!\.)([\$A-Z_a-z][\$0-9A-Z_a-z]*)(?=\p{space}*<)/dgv},{include:"#primitive-arrays"},{match:/[\$A-Z_a-z][\$0-9A-Z_a-z]*/dgv,name:"storage.type.generic.java"},{match:/\?/dgv,name:"storage.type.generic.wildcard.java"},{match:/&/dgv,name:"punctuation.separator.types.java"},{match:/,/dgv,name:"punctuation.separator.delimiter.java"},{match:/\./dgv,name:"punctuation.separator.period.java"},{include:"#parens"},{include:"#generics"},{include:"#comments"}]},keywords:{patterns:[{match:/\bthrow\b/dgv,name:"keyword.control.throw.java"},{match:/[\:\?]/dgv,name:"keyword.control.ternary.java"},{match:/\b(return|yield|break|case|continue|default|do|while|for|switch|if|else)\b/dgv,name:"keyword.control.java"},{match:/\b(instanceof)\b/dgv,name:"keyword.operator.instanceof.java"},{match:/(<<|>>>?|[\^\~])/dgv,name:"keyword.operator.bitwise.java"},{match:/(([\&\^\|]|<<|>>>?)=)/dgv,name:"keyword.operator.assignment.bitwise.java"},{match:/(===?|!=|<=|>=|<>|[\<\>])/dgv,name:"keyword.operator.comparison.java"},{match:/([\-\%\*\+\/]=)/dgv,name:"keyword.operator.assignment.arithmetic.java"},{match:/(=)/dgv,name:"keyword.operator.assignment.java"},{match:/(--|\+\+)/dgv,name:"keyword.operator.increment-decrement.java"},{match:/([\-\%\*\+\/])/dgv,name:"keyword.operator.arithmetic.java"},{match:/(!|&&|\|\|)/dgv,name:"keyword.operator.logical.java"},{match:/([\&\|])/dgv,name:"keyword.operator.bitwise.java"},{match:/\b(const|goto)\b/dgv,name:"keyword.reserved.java"}]},"lambda-expression":{patterns:[{match:/->/dgv,name:"storage.type.function.arrow.java"}]},"member-variables":{begin:/(?=private|protected|public|native|synchronized|abstract|threadsafe|transient|static|final)/dgv,end:/(?=[\;\=])/dgv,patterns:[{include:"#storage-modifiers"},{include:"#variables"},{include:"#primitive-arrays"},{include:"#object-types"}]},"method-call":{begin:/(\.)\p{space}*([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)\p{space}*(\()/dgv,beginCaptures:{"1":{name:"punctuation.separator.period.java"},"2":{name:"entity.name.function.java"},"3":{name:"punctuation.definition.parameters.begin.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.bracket.round.java"}},name:"meta.method-call.java",patterns:[{include:"#code"}]},methods:{begin:/(?!new)(?=[\<\p{L}\p{M}\p{N}\p{Pc}][^\n]*\p{space}+)(?=([^\/\=]|\/(?!\/))+\()/dgv,end:/(\})|(?=;)/dgv,endCaptures:{"1":{name:"punctuation.section.method.end.bracket.curly.java"}},name:"meta.method.java",patterns:[{include:"#storage-modifiers"},{begin:/([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\()/dgv,beginCaptures:{"1":{name:"entity.name.function.java"},"2":{name:"punctuation.definition.parameters.begin.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.bracket.round.java"}},name:"meta.method.identifier.java",patterns:[{include:"#parameters"},{include:"#parens"},{include:"#comments"}]},{include:"#generics"},{begin:/(?=[\p{L}\p{M}\p{N}\p{Pc}][^\n]*\p{space}+[\p{L}\p{M}\p{N}\p{Pc}]+\p{space}*\()/dgv,end:/(?=\p{space}+[\p{L}\p{M}\p{N}\p{Pc}]+\p{space}*\()/dgv,name:"meta.method.return-type.java",patterns:[{include:"#all-types"},{include:"#parens"},{include:"#comments"}]},{include:"#throws"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.method.begin.bracket.curly.java"}},contentName:"meta.method.body.java",end:/(?=\})/dgv,patterns:[{include:"#code"}]},{include:"#comments"}]},module:{begin:/((open)\p{space})?(module)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,beginCaptures:{"1":{name:"storage.modifier.java"},"3":{name:"storage.modifier.java"},"4":{name:"entity.name.type.module.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.module.end.bracket.curly.java"}},name:"meta.module.java",patterns:[{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.module.begin.bracket.curly.java"}},contentName:"meta.module.body.java",end:/(?=\})/dgv,patterns:[{include:"#comments"},{include:"#comments-javadoc"},{match:/\b(requires|transitive|exports|opens|to|uses|provides|with)\b/dgv,name:"keyword.module.java"}]}]},numbers:{patterns:[{match:/\b(?<!\$)0([Xx])((?<!\.)\p{AHex}([_\p{AHex}]*\p{AHex})?[Ll]?(?!\.)|(\p{AHex}([_\p{AHex}]*\p{AHex})?\.?|(\p{AHex}([_\p{AHex}]*\p{AHex})?)?\.\p{AHex}([_\p{AHex}]*\p{AHex})?)[Pp][\-\+]?[0-9]([0-9_]*[0-9])?[DFdf]?)\b(?!\$)/dgv,name:"constant.numeric.hex.java"},{match:/\b(?<!\$)0([Bb])[01]([01_]*[01])?[Ll]?\b(?!\$)/dgv,name:"constant.numeric.binary.java"},{match:/\b(?<!\$)0[0-7]([0-7_]*[0-7])?[Ll]?\b(?!\$)/dgv,name:"constant.numeric.octal.java"},{match:/(?<!\$)(\b[0-9]([0-9_]*[0-9])?\.\B(?!\.)|\b[0-9]([0-9_]*[0-9])?\.([Ee][\-\+]?[0-9]([0-9_]*[0-9])?)[DFdf]?\b|\b[0-9]([0-9_]*[0-9])?\.([Ee][\-\+]?[0-9]([0-9_]*[0-9])?)?[DFdf]\b|\b[0-9]([0-9_]*[0-9])?\.([0-9]([0-9_]*[0-9])?)([Ee][\-\+]?[0-9]([0-9_]*[0-9])?)?[DFdf]?\b|(?<!\.)\B\.[0-9]([0-9_]*[0-9])?([Ee][\-\+]?[0-9]([0-9_]*[0-9])?)?[DFdf]?\b|\b[0-9]([0-9_]*[0-9])?([Ee][\-\+]?[0-9]([0-9_]*[0-9])?)[DFdf]?\b|\b[0-9]([0-9_]*[0-9])?([Ee][\-\+]?[0-9]([0-9_]*[0-9])?)?[DFdf]\b|\b(0|[1-9]([0-9_]*[0-9])?)(?!\.)[Ll]?\b)(?!\$)/dgv,name:"constant.numeric.decimal.java"}]},"object-types":{patterns:[{include:"#generics"},{begin:/\b((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*\.\p{space}*)*)([A-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\p{space}*(?=\[)/dgv,beginCaptures:{"1":{patterns:[{match:/[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"storage.type.java"},{match:/\./dgv,name:"punctuation.separator.period.java"}]},"2":{name:"storage.type.object.array.java"}},end:/(?!\p{space}*\[)/dgv,patterns:[{include:"#comments"},{include:"#parens"}]},{captures:{"1":{patterns:[{match:/[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"storage.type.java"},{match:/\./dgv,name:"punctuation.separator.period.java"}]}},match:/\b((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*\.\p{space}*)*[A-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\p{space}*(?=<)/dgv},{captures:{"1":{patterns:[{match:/[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"storage.type.java"},{match:/\./dgv,name:"punctuation.separator.period.java"}]}},match:/\b((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*\.\p{space}*)*[A-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b((?=\p{space}*[\n\$A-Z_a-z])|(?=\p{space}*\.\.\.))/dgv}]},"object-types-inherited":{patterns:[{include:"#generics"},{captures:{"1":{name:"punctuation.separator.period.java"}},match:/\b(?:[A-Z][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*(\.)\p{space}*)*[A-Z][\p{L}\p{M}\p{N}\p{Pc}]*\b/dgv,name:"entity.other.inherited-class.java"},{match:/,/dgv,name:"punctuation.separator.delimiter.java"}]},objects:{match:/(?<![\$\p{L}\p{M}\p{N}\p{Pc}])[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*(?=\p{space}*\.\p{space}*[\$\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,name:"variable.other.object.java"},parameters:{patterns:[{match:/\bfinal\b/dgv,name:"storage.modifier.java"},{include:"#annotations"},{include:"#all-types"},{include:"#strings"},{match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.parameter.java"},{match:/,/dgv,name:"punctuation.separator.delimiter.java"},{match:/\.\.\./dgv,name:"punctuation.definition.parameters.varargs.java"}]},parens:{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.bracket.round.java"}},patterns:[{include:"#code"}]},{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.bracket.square.java"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.bracket.square.java"}},patterns:[{include:"#code"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.bracket.curly.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.bracket.curly.java"}},patterns:[{include:"#code"}]}]},"primitive-arrays":{patterns:[{begin:/\b(void|boolean|byte|char|short|int|float|long|double)\b\p{space}*(?=\[)/dgv,beginCaptures:{"1":{name:"storage.type.primitive.array.java"}},end:/(?!\p{space}*\[)/dgv,patterns:[{include:"#comments"},{include:"#parens"}]}]},"primitive-types":{match:/\b(void|boolean|byte|char|short|int|float|long|double)\b/dgv,name:"storage.type.primitive.java"},properties:{patterns:[{captures:{"1":{name:"punctuation.separator.period.java"},"2":{name:"keyword.control.new.java"}},match:/(\.)\p{space}*(new)/dgv},{captures:{"1":{name:"punctuation.separator.period.java"},"2":{name:"variable.other.object.property.java"}},match:/(\.)\p{space}*([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)(?=\p{space}*\.\p{space}*[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)/dgv},{captures:{"1":{name:"punctuation.separator.period.java"},"2":{name:"variable.other.object.property.java"}},match:/(\.)\p{space}*([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)/dgv},{captures:{"1":{name:"punctuation.separator.period.java"},"2":{name:"invalid.illegal.identifier.java"}},match:/(\.)\p{space}*([0-9][\$\p{L}\p{M}\p{N}\p{Pc}]*)/dgv}]},record:{begin:/(?=[\p{L}\p{M}\p{N}\p{Pc}]?[\p{L}\p{M}\p{N}\p{Pc}\p{space}]*\brecord\p{space}+[\$\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.class.end.bracket.curly.java"}},name:"meta.record.java",patterns:[{include:"#storage-modifiers"},{include:"#generics"},{include:"#comments"},{begin:/(record)\p{space}+([\$\p{L}\p{M}\p{N}\p{Pc}]+)(<[\$\p{L}\p{M}\p{N}\p{Pc}]+>)?(\()/dgv,beginCaptures:{"1":{name:"storage.modifier.java"},"2":{name:"entity.name.type.record.java"},"3":{patterns:[{include:"#generics"}]},"4":{name:"punctuation.definition.parameters.begin.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.bracket.round.java"}},name:"meta.record.identifier.java",patterns:[{include:"#code"}]},{begin:/(implements)\p{space}/dgv,beginCaptures:{"1":{name:"storage.modifier.implements.java"}},end:/(?=\p{space}*\{)/dgv,name:"meta.definition.class.implemented.interfaces.java",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{include:"#record-body"}]},"record-body":{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.class.begin.bracket.curly.java"}},end:/(?=\})/dgv,name:"meta.record.body.java",patterns:[{include:"#record-constructor"},{include:"#class-body"}]},"record-constructor":{begin:/(?!new)(?=[\<\p{L}\p{M}\p{N}\p{Pc}][^\n]*\p{space}+)(?=([^\(\/\=]|\/(?!\/))+(?=\{))/dgv,end:/(\})|(?=;)/dgv,endCaptures:{"1":{name:"punctuation.section.method.end.bracket.curly.java"}},name:"meta.method.java",patterns:[{include:"#storage-modifiers"},{begin:/([\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,beginCaptures:{"1":{name:"entity.name.function.java"}},end:/(?=\p{space}*\{)/dgv,name:"meta.method.identifier.java",patterns:[{include:"#comments"}]},{include:"#comments"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.method.begin.bracket.curly.java"}},contentName:"meta.method.body.java",end:/(?=\})/dgv,patterns:[{include:"#code"}]}]},"static-initializer":{patterns:[{include:"#anonymous-block-and-instance-initializer"},{match:/static/dgv,name:"storage.modifier.java"}]},"storage-modifiers":{match:/\b(public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient|volatile|default|strictfp|sealed|non-sealed)\b/dgv,name:"storage.modifier.java"},strings:{patterns:[{begin:/"""/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.java"}},end:/"""/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.java"}},name:"string.quoted.triple.java",patterns:[{match:/(\\""")(?!")|(\\[^\n])/dgv,name:"constant.character.escape.java"}]},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.java"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.java"}},name:"string.quoted.double.java",patterns:[{match:/\\[^\n]/dgv,name:"constant.character.escape.java"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.java"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.java"}},name:"string.quoted.single.java",patterns:[{match:/\\[^\n]/dgv,name:"constant.character.escape.java"}]}]},throws:{begin:/throws/dgv,beginCaptures:{"0":{name:"storage.modifier.java"}},end:/(?=[\;\{])/dgv,name:"meta.throwables.java",patterns:[{match:/,/dgv,name:"punctuation.separator.delimiter.java"},{match:/[\$A-Z_a-z][\$\.0-9A-Z_a-z]*/dgv,name:"storage.type.java"},{include:"#comments"}]},"try-catch-finally":{patterns:[{begin:/\btry\b/dgv,beginCaptures:{"0":{name:"keyword.control.try.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.try.end.bracket.curly.java"}},name:"meta.try.java",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.try.resources.begin.bracket.round.java"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.try.resources.end.bracket.round.java"}},name:"meta.try.resources.java",patterns:[{include:"#code"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.try.begin.bracket.curly.java"}},contentName:"meta.try.body.java",end:/(?=\})/dgv,patterns:[{include:"#code"}]}]},{begin:/\b(catch)\b/dgv,beginCaptures:{"1":{name:"keyword.control.catch.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.catch.end.bracket.curly.java"}},name:"meta.catch.java",patterns:[{include:"#comments"},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.parameters.begin.bracket.round.java"}},contentName:"meta.catch.parameters.java",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.bracket.round.java"}},patterns:[{include:"#comments"},{include:"#storage-modifiers"},{begin:/[\$A-Z_a-z][\$\.0-9A-Z_a-z]*/dgv,beginCaptures:{"0":{name:"storage.type.java"}},end:/(\|)|(?=\))/dgv,endCaptures:{"1":{name:"punctuation.catch.separator.java"}},patterns:[{include:"#comments"},{captures:{"0":{name:"variable.parameter.java"}},match:/[\p{L}\p{M}\p{N}\p{Pc}]+/dgv}]}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.catch.begin.bracket.curly.java"}},contentName:"meta.catch.body.java",end:/(?=\})/dgv,patterns:[{include:"#code"}]}]},{begin:/\bfinally\b/dgv,beginCaptures:{"0":{name:"keyword.control.finally.java"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.finally.end.bracket.curly.java"}},name:"meta.finally.java",patterns:[{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.finally.begin.bracket.curly.java"}},contentName:"meta.finally.body.java",end:/(?=\})/dgv,patterns:[{include:"#code"}]}]}]},variables:{begin:new r("(?=\\b((void|boolean|byte|char|short|int|float|long|double)|(?:(?=(([\\p{L}\\p{M}\\p{N}\\p{Pc}]+\\.)*[A-Z_]+[\\p{L}\\p{M}\\p{N}\\p{Pc}]*))\\3))\\b\\p{space}*(<[\\]\\,\\.\\<\\>\\?\\[\\p{L}\\p{M}\\p{N}\\p{Pc}\\p{space}]*>)?\\p{space}*((\\[\\])*)?\\p{space}+[\\$A-Z_a-z][\\$\\p{L}\\p{M}\\p{N}\\p{Pc}]*([\\]\\$\\,\\[\\p{L}\\p{M}\\p{N}\\p{Pc}][\\]\\,\\[\\p{L}\\p{M}\\p{N}\\p{Pc}\\p{space}]*)?\\p{space}*([\\:\\;\\=]))","dgv",{hiddenCaptures:[3]}),end:/(?=[\:\;\=])/dgv,name:"meta.definition.variable.java",patterns:[{captures:{"1":{name:"variable.other.definition.java"}},match:/([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)(?=\p{space}*(\[\])*\p{space}*([\,\:\;\=]))/dgv},{include:"#all-types"},{include:"#code"}]},"variables-local":{begin:/(?=\b(var)\b\p{space}+[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*([\:\;\=]))/dgv,end:/(?=[\:\;\=])/dgv,name:"meta.definition.variable.local.java",patterns:[{match:/\bvar\b/dgv,name:"storage.type.local.java"},{captures:{"1":{name:"variable.other.definition.java"}},match:/([\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*)(?=\p{space}*(\[\])*\p{space}*([\:\;\=]))/dgv},{include:"#code"}]}},scopeName:"source.java",embeddedLangs:void 0,aliases:void 0}),ws=[e];
2
+ export{ws};
Binary file
Binary file