@bkm016/basalt 0.1.34 → 0.1.36

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 (1009) hide show
  1. package/README.md +2 -1
  2. package/chunk-082x3g29.js +3 -0
  3. package/chunk-0aaf270z.js +3 -0
  4. package/chunk-0dqv9x0y.js +51 -0
  5. package/chunk-0ns02fzq.js +2 -0
  6. package/chunk-0y13kfpt.js +5 -0
  7. package/chunk-1753m6xk.js +4179 -0
  8. package/chunk-24ae99b6.js +5 -0
  9. package/chunk-2cp8why4.js +2 -0
  10. package/chunk-3bdzn4h2.js +2 -0
  11. package/chunk-48m0w8xg.js +2 -0
  12. package/chunk-4pr7ykh0.js +2 -0
  13. package/chunk-4qtw5cga.js +12 -0
  14. package/chunk-4yqge35f.js +3 -0
  15. package/chunk-65rd9zn4.js +3 -0
  16. package/chunk-67ehvv4n.js +44 -0
  17. package/chunk-6wm62kte.js +18 -0
  18. package/chunk-6zkggkdm.js +13 -0
  19. package/chunk-78ferdza.js +3 -0
  20. package/chunk-794r8w6m.js +2 -0
  21. package/chunk-7azn0brs.js +7 -0
  22. package/chunk-7wh4n0yg.js +2 -0
  23. package/chunk-7z0wh161.js +25 -0
  24. package/chunk-95aqrqnh.js +2 -0
  25. package/chunk-a0zcps2d.js +2 -0
  26. package/chunk-a23pv6tv.js +3 -0
  27. package/chunk-adb2nbxk.js +2 -0
  28. package/chunk-as2ty5w5.js +3 -0
  29. package/chunk-b84y794v.js +3 -0
  30. package/chunk-bh80e336.js +3 -0
  31. package/chunk-c6azecvs.js +3 -0
  32. package/chunk-cc8h8mz9.js +2 -0
  33. package/chunk-cdb6caq7.js +3 -0
  34. package/chunk-cjdbsa9s.js +3 -0
  35. package/chunk-cnqgtmwm.js +10 -0
  36. package/chunk-cwn9vs1a.js +3 -0
  37. package/chunk-cxybp3fn.js +8 -0
  38. package/chunk-dea2htm4.js +2 -0
  39. package/chunk-e01wravf.js +12 -0
  40. package/chunk-f0pz8pvb.js +5 -0
  41. package/chunk-fvmrsrmq.js +3 -0
  42. package/chunk-fwdhn0gw.js +7 -0
  43. package/chunk-h7x8g57v.js +9 -0
  44. package/chunk-h8qhy3px.js +39 -0
  45. package/chunk-hsvchrh3.js +7 -0
  46. package/chunk-j1peg724.js +504 -0
  47. package/chunk-j2cse817.js +63 -0
  48. package/chunk-j3jzgw98.js +31 -0
  49. package/chunk-jmzdtefg.js +2 -0
  50. package/chunk-k0e6n6yy.js +3 -0
  51. package/chunk-mb2jqd5z.js +3 -0
  52. package/chunk-nbgtqpay.js +3 -0
  53. package/chunk-prfczhpq.js +10 -0
  54. package/chunk-pv25a7sw.js +2 -0
  55. package/chunk-q8m2x20d.js +286 -0
  56. package/chunk-qnkxeh37.js +3 -0
  57. package/chunk-qvfrv3rb.js +59 -0
  58. package/chunk-r14x07ez.js +2 -0
  59. package/chunk-r1kah65k.js +2 -0
  60. package/chunk-r6pt44wk.js +60 -0
  61. package/chunk-rhkw8ygf.js +3 -0
  62. package/chunk-rvqeb7gr.js +3 -0
  63. package/chunk-rwa7mfwa.js +2 -0
  64. package/chunk-sj46f002.js +2 -0
  65. package/chunk-sp89jja7.js +3 -0
  66. package/chunk-sss5x2ak.js +2 -0
  67. package/chunk-szn4y5mx.js +25 -0
  68. package/chunk-t05q9ksf.js +2 -0
  69. package/chunk-tb66q678.js +11 -0
  70. package/chunk-tej75y8n.js +2 -0
  71. package/chunk-tmfr2ym8.js +4 -0
  72. package/chunk-tnay319j.js +3 -0
  73. package/chunk-txwheg1n.js +2 -0
  74. package/chunk-ve6n38r4.js +16 -0
  75. package/chunk-vfa49qcy.js +3 -0
  76. package/chunk-wcy1r6vv.js +2 -0
  77. package/chunk-wj6am3ag.js +3 -0
  78. package/chunk-x0afp8wt.js +3 -0
  79. package/chunk-xe627eyp.js +20 -0
  80. package/chunk-y18ey7s9.js +8 -0
  81. package/chunk-y9r7tt53.js +3 -0
  82. package/chunk-yq20v3va.js +3 -0
  83. package/chunk-yyg4ygv7.js +2 -0
  84. package/chunk-z2zhr4e5.js +3 -0
  85. package/chunk-zdtg52xn.js +2 -0
  86. package/chunk-zrhdrkdb.js +5 -0
  87. package/compiled.js +10 -10
  88. package/package.json +1 -1
  89. package/ui-test-worker.js +44 -44
  90. package/web/chunk-0d0fwb7b.js +2 -0
  91. package/web/chunk-0d0fwb7b.js.br +0 -0
  92. package/web/chunk-0d0fwb7b.js.gz +0 -0
  93. package/web/chunk-0jm4zyrt.js +1 -0
  94. package/web/chunk-0jm4zyrt.js.br +0 -0
  95. package/web/chunk-0jm4zyrt.js.gz +0 -0
  96. package/web/chunk-0pp7dzx1.js +1 -0
  97. package/web/chunk-0pp7dzx1.js.br +0 -0
  98. package/web/chunk-0pp7dzx1.js.gz +0 -0
  99. package/web/chunk-0w73jp4n.js +1 -0
  100. package/web/chunk-0w73jp4n.js.br +0 -0
  101. package/web/chunk-0w73jp4n.js.gz +0 -0
  102. package/web/chunk-1416f30c.js +2 -0
  103. package/web/chunk-1416f30c.js.br +0 -0
  104. package/web/chunk-1416f30c.js.gz +0 -0
  105. package/web/chunk-18wyawez.js +30 -0
  106. package/web/chunk-18wyawez.js.br +0 -0
  107. package/web/chunk-18wyawez.js.gz +0 -0
  108. package/web/chunk-19ew9re5.js +1 -0
  109. package/web/chunk-19ew9re5.js.br +0 -0
  110. package/web/chunk-19ew9re5.js.gz +0 -0
  111. package/web/chunk-1mdtr9wk.js +8 -0
  112. package/web/chunk-1mdtr9wk.js.br +1 -0
  113. package/web/chunk-1mdtr9wk.js.gz +0 -0
  114. package/web/chunk-1p4egv85.js +1 -0
  115. package/web/chunk-1p4egv85.js.br +0 -0
  116. package/web/chunk-1p4egv85.js.gz +0 -0
  117. package/web/chunk-1x61dvvr.js +2 -0
  118. package/web/chunk-1x61dvvr.js.br +0 -0
  119. package/web/chunk-1x61dvvr.js.gz +0 -0
  120. package/web/chunk-241n0y1h.js +1 -0
  121. package/web/chunk-241n0y1h.js.br +0 -0
  122. package/web/chunk-241n0y1h.js.gz +0 -0
  123. package/web/chunk-26sgnzb2.js +1 -0
  124. package/web/chunk-26sgnzb2.js.br +0 -0
  125. package/web/chunk-26sgnzb2.js.gz +0 -0
  126. package/web/chunk-2p77pefd.js +1 -0
  127. package/web/chunk-2p77pefd.js.br +0 -0
  128. package/web/chunk-2p77pefd.js.gz +0 -0
  129. package/web/chunk-2ppe5znq.js +1 -0
  130. package/web/chunk-2ppe5znq.js.br +0 -0
  131. package/web/chunk-2ppe5znq.js.gz +0 -0
  132. package/web/chunk-2qzr943m.js +2 -0
  133. package/web/chunk-2qzr943m.js.br +0 -0
  134. package/web/chunk-2qzr943m.js.gz +0 -0
  135. package/web/chunk-32k44660.js +214 -0
  136. package/web/chunk-32k44660.js.br +0 -0
  137. package/web/chunk-32k44660.js.gz +0 -0
  138. package/web/chunk-33zb5a76.js +2 -0
  139. package/web/chunk-33zb5a76.js.br +0 -0
  140. package/web/chunk-33zb5a76.js.gz +0 -0
  141. package/web/chunk-38bzkv9k.js +7 -0
  142. package/web/chunk-38bzkv9k.js.br +0 -0
  143. package/web/chunk-38bzkv9k.js.gz +0 -0
  144. package/web/chunk-42ytz496.js +1 -0
  145. package/web/chunk-42ytz496.js.br +0 -0
  146. package/web/chunk-42ytz496.js.gz +0 -0
  147. package/web/chunk-4749rrqv.js +55 -0
  148. package/web/chunk-4749rrqv.js.br +0 -0
  149. package/web/chunk-4749rrqv.js.gz +0 -0
  150. package/web/chunk-4d57cnh5.js +40 -0
  151. package/web/chunk-4d57cnh5.js.br +0 -0
  152. package/web/chunk-4d57cnh5.js.gz +0 -0
  153. package/web/chunk-4gh3hcrc.js +1 -0
  154. package/web/chunk-4gh3hcrc.js.br +0 -0
  155. package/web/chunk-4gh3hcrc.js.gz +0 -0
  156. package/web/chunk-4hg08mj3.js +1 -0
  157. package/web/chunk-4hg08mj3.js.br +0 -0
  158. package/web/chunk-4hg08mj3.js.gz +0 -0
  159. package/web/chunk-4rra9tt7.js +78 -0
  160. package/web/chunk-4rra9tt7.js.br +0 -0
  161. package/web/chunk-4rra9tt7.js.gz +0 -0
  162. package/web/chunk-572kjbne.js +89 -0
  163. package/web/chunk-572kjbne.js.br +0 -0
  164. package/web/chunk-572kjbne.js.gz +0 -0
  165. package/web/chunk-5hqe3cct.js +98 -0
  166. package/web/chunk-5hqe3cct.js.br +0 -0
  167. package/web/chunk-5hqe3cct.js.gz +0 -0
  168. package/web/chunk-5k4vdcwk.js +24 -0
  169. package/web/chunk-5k4vdcwk.js.br +0 -0
  170. package/web/chunk-5k4vdcwk.js.gz +0 -0
  171. package/web/chunk-5z44jbdc.js +1 -0
  172. package/web/chunk-5z44jbdc.js.br +0 -0
  173. package/web/chunk-5z44jbdc.js.gz +0 -0
  174. package/web/chunk-600x58nm.js +1143 -0
  175. package/web/chunk-600x58nm.js.br +0 -0
  176. package/web/chunk-600x58nm.js.gz +0 -0
  177. package/web/chunk-61djfs0t.js +140 -0
  178. package/web/chunk-61djfs0t.js.br +0 -0
  179. package/web/chunk-61djfs0t.js.gz +0 -0
  180. package/web/chunk-6j4jdvtd.js +1 -0
  181. package/web/chunk-6j4jdvtd.js.br +0 -0
  182. package/web/chunk-6j4jdvtd.js.gz +0 -0
  183. package/web/chunk-74ymgabb.js +2 -0
  184. package/web/chunk-74ymgabb.js.br +0 -0
  185. package/web/chunk-74ymgabb.js.gz +0 -0
  186. package/web/chunk-768vchz5.js +169 -0
  187. package/web/chunk-768vchz5.js.br +0 -0
  188. package/web/chunk-768vchz5.js.gz +0 -0
  189. package/web/chunk-7f87paxe.js +36 -0
  190. package/web/chunk-7f87paxe.js.br +0 -0
  191. package/web/chunk-7f87paxe.js.gz +0 -0
  192. package/web/chunk-7ns0kj87.js +2 -0
  193. package/web/chunk-7ns0kj87.js.br +0 -0
  194. package/web/chunk-7ns0kj87.js.gz +0 -0
  195. package/web/chunk-7vpk9y00.js +1 -0
  196. package/web/chunk-7vpk9y00.js.br +0 -0
  197. package/web/chunk-7vpk9y00.js.gz +0 -0
  198. package/web/chunk-89mc1vj3.js +1 -0
  199. package/web/chunk-89mc1vj3.js.br +0 -0
  200. package/web/chunk-89mc1vj3.js.gz +0 -0
  201. package/web/chunk-8wgpesrk.js +139 -0
  202. package/web/chunk-8wgpesrk.js.br +0 -0
  203. package/web/chunk-8wgpesrk.js.gz +0 -0
  204. package/web/chunk-9nh1aeqs.js +303 -0
  205. package/web/chunk-9nh1aeqs.js.br +0 -0
  206. package/web/chunk-9nh1aeqs.js.gz +0 -0
  207. package/web/chunk-9pgq2ax4.js +1 -0
  208. package/web/chunk-9pgq2ax4.js.br +0 -0
  209. package/web/chunk-9pgq2ax4.js.gz +0 -0
  210. package/web/chunk-9tfs2dg1.js +1 -0
  211. package/web/chunk-9tfs2dg1.js.br +0 -0
  212. package/web/chunk-9tfs2dg1.js.gz +0 -0
  213. package/web/chunk-9wemd2wn.js +41 -0
  214. package/web/chunk-9wemd2wn.js.br +0 -0
  215. package/web/chunk-9wemd2wn.js.gz +0 -0
  216. package/web/chunk-9wsz2j8n.js +1 -0
  217. package/web/chunk-9wsz2j8n.js.br +0 -0
  218. package/web/chunk-9wsz2j8n.js.gz +0 -0
  219. package/web/chunk-9wzvqpre.js +2 -0
  220. package/web/chunk-9wzvqpre.js.br +0 -0
  221. package/web/chunk-9wzvqpre.js.gz +0 -0
  222. package/web/chunk-a48wgrb1.js +1 -0
  223. package/web/chunk-a48wgrb1.js.br +2 -0
  224. package/web/chunk-a48wgrb1.js.gz +0 -0
  225. package/web/chunk-a67d8w1k.js +14 -0
  226. package/web/chunk-a67d8w1k.js.br +0 -0
  227. package/web/chunk-a67d8w1k.js.gz +0 -0
  228. package/web/chunk-ah8e1y9j.js +4 -0
  229. package/web/chunk-ah8e1y9j.js.br +0 -0
  230. package/web/chunk-ah8e1y9j.js.gz +0 -0
  231. package/web/chunk-amsr9cg2.js +1 -0
  232. package/web/chunk-amsr9cg2.js.br +0 -0
  233. package/web/chunk-amsr9cg2.js.gz +0 -0
  234. package/web/chunk-aps2c5t2.js +16 -0
  235. package/web/chunk-aps2c5t2.js.br +0 -0
  236. package/web/chunk-aps2c5t2.js.gz +0 -0
  237. package/web/chunk-avfynf6y.js +1 -0
  238. package/web/chunk-avfynf6y.js.br +0 -0
  239. package/web/chunk-avfynf6y.js.gz +0 -0
  240. package/web/chunk-b5zrttcx.js +2 -0
  241. package/web/chunk-b5zrttcx.js.br +0 -0
  242. package/web/chunk-b5zrttcx.js.gz +0 -0
  243. package/web/chunk-bvvf024a.js +24 -0
  244. package/web/chunk-bvvf024a.js.br +0 -0
  245. package/web/chunk-bvvf024a.js.gz +0 -0
  246. package/web/chunk-by2dphx7.js +200 -0
  247. package/web/chunk-by2dphx7.js.br +0 -0
  248. package/web/chunk-by2dphx7.js.gz +0 -0
  249. package/web/chunk-c0sc2yy1.js +1 -0
  250. package/web/chunk-c0sc2yy1.js.br +0 -0
  251. package/web/chunk-c0sc2yy1.js.gz +0 -0
  252. package/web/chunk-c612n2pw.js +2 -0
  253. package/web/chunk-c612n2pw.js.br +0 -0
  254. package/web/chunk-c612n2pw.js.gz +0 -0
  255. package/web/chunk-c91rk85x.js +2 -0
  256. package/web/chunk-c91rk85x.js.br +0 -0
  257. package/web/chunk-c91rk85x.js.gz +0 -0
  258. package/web/chunk-catm30vp.js +2 -0
  259. package/web/chunk-catm30vp.js.br +0 -0
  260. package/web/chunk-catm30vp.js.gz +0 -0
  261. package/web/chunk-cbdxzddd.js +142 -0
  262. package/web/chunk-cbdxzddd.js.br +0 -0
  263. package/web/chunk-cbdxzddd.js.gz +0 -0
  264. package/web/chunk-cng693ts.js +2 -0
  265. package/web/chunk-cng693ts.js.br +0 -0
  266. package/web/chunk-cng693ts.js.gz +0 -0
  267. package/web/chunk-d5vcma5a.js +89 -0
  268. package/web/chunk-d5vcma5a.js.br +0 -0
  269. package/web/chunk-d5vcma5a.js.gz +0 -0
  270. package/web/chunk-d6d9cp71.js +1 -0
  271. package/web/chunk-d6d9cp71.js.br +2 -0
  272. package/web/chunk-d6d9cp71.js.gz +0 -0
  273. package/web/chunk-dsghhcew.js +1 -0
  274. package/web/chunk-dsghhcew.js.br +0 -0
  275. package/web/chunk-dsghhcew.js.gz +0 -0
  276. package/web/chunk-dt2e6evf.js +1 -0
  277. package/web/chunk-dt2e6evf.js.br +0 -0
  278. package/web/chunk-dt2e6evf.js.gz +0 -0
  279. package/web/chunk-dxrsmcah.js +1 -0
  280. package/web/chunk-dxrsmcah.js.br +0 -0
  281. package/web/chunk-dxrsmcah.js.gz +0 -0
  282. package/web/chunk-ent5zx24.js +1 -0
  283. package/web/chunk-ent5zx24.js.br +2 -0
  284. package/web/chunk-ent5zx24.js.gz +0 -0
  285. package/web/chunk-f4n1q3mf.js +1 -0
  286. package/web/chunk-f4n1q3mf.js.br +0 -0
  287. package/web/chunk-f4n1q3mf.js.gz +0 -0
  288. package/web/chunk-fdfrv6bc.js +1 -0
  289. package/web/chunk-fdfrv6bc.js.br +2 -0
  290. package/web/chunk-fdfrv6bc.js.gz +0 -0
  291. package/web/chunk-fh44xz70.js +1 -0
  292. package/web/chunk-fh44xz70.js.br +0 -0
  293. package/web/chunk-fh44xz70.js.gz +0 -0
  294. package/web/chunk-fkbp72gk.js +1 -0
  295. package/web/chunk-fkbp72gk.js.br +0 -0
  296. package/web/chunk-fkbp72gk.js.gz +0 -0
  297. package/web/chunk-fzkjgwzq.js +4 -0
  298. package/web/chunk-fzkjgwzq.js.br +0 -0
  299. package/web/chunk-fzkjgwzq.js.gz +0 -0
  300. package/web/chunk-gf2gznsb.js +38 -0
  301. package/web/chunk-gf2gznsb.js.br +0 -0
  302. package/web/chunk-gf2gznsb.js.gz +0 -0
  303. package/web/chunk-gne1ybac.js +2 -0
  304. package/web/chunk-gne1ybac.js.br +0 -0
  305. package/web/chunk-gne1ybac.js.gz +0 -0
  306. package/web/chunk-gws1fj71.js +106 -0
  307. package/web/chunk-gws1fj71.js.br +0 -0
  308. package/web/chunk-gws1fj71.js.gz +0 -0
  309. package/web/chunk-h4m88fg8.js +2 -0
  310. package/web/chunk-h4m88fg8.js.br +0 -0
  311. package/web/chunk-h4m88fg8.js.gz +0 -0
  312. package/web/chunk-h4vk09kd.js +2 -0
  313. package/web/chunk-h4vk09kd.js.br +0 -0
  314. package/web/chunk-h4vk09kd.js.gz +0 -0
  315. package/web/chunk-h6wzjfj2.js +34 -0
  316. package/web/chunk-h6wzjfj2.js.br +0 -0
  317. package/web/chunk-h6wzjfj2.js.gz +0 -0
  318. package/web/chunk-hajg1p0h.js +7 -0
  319. package/web/chunk-hajg1p0h.js.br +0 -0
  320. package/web/chunk-hajg1p0h.js.gz +0 -0
  321. package/web/chunk-hhmd6qrc.js +2 -0
  322. package/web/chunk-hhmd6qrc.js.br +0 -0
  323. package/web/chunk-hhmd6qrc.js.gz +0 -0
  324. package/web/chunk-hya0fh1r.js +1 -0
  325. package/web/chunk-hya0fh1r.js.br +0 -0
  326. package/web/chunk-hya0fh1r.js.gz +0 -0
  327. package/web/chunk-j469ky77.js +1 -0
  328. package/web/chunk-j469ky77.js.br +0 -0
  329. package/web/chunk-j469ky77.js.gz +0 -0
  330. package/web/chunk-j6ymcm3h.js +2 -0
  331. package/web/chunk-j6ymcm3h.js.br +0 -0
  332. package/web/chunk-j6ymcm3h.js.gz +0 -0
  333. package/web/chunk-j79z6bta.js +21 -0
  334. package/web/chunk-j79z6bta.js.br +0 -0
  335. package/web/chunk-j79z6bta.js.gz +0 -0
  336. package/web/chunk-jbxc5y3z.js +12 -0
  337. package/web/chunk-jbxc5y3z.js.br +0 -0
  338. package/web/chunk-jbxc5y3z.js.gz +0 -0
  339. package/web/chunk-jcc187d7.js +1 -0
  340. package/web/chunk-jcc187d7.js.br +0 -0
  341. package/web/chunk-jcc187d7.js.gz +0 -0
  342. package/web/chunk-jjvpdxhd.js +2 -0
  343. package/web/chunk-jjvpdxhd.js.br +0 -0
  344. package/web/chunk-jjvpdxhd.js.gz +0 -0
  345. package/web/chunk-jrh3mwmy.js +2 -0
  346. package/web/chunk-jrh3mwmy.js.br +0 -0
  347. package/web/chunk-jrh3mwmy.js.gz +0 -0
  348. package/web/chunk-jv3pgdp0.js +1 -0
  349. package/web/chunk-jv3pgdp0.js.br +2 -0
  350. package/web/chunk-jv3pgdp0.js.gz +0 -0
  351. package/web/chunk-ksxjhezb.js +1 -0
  352. package/web/chunk-ksxjhezb.js.br +0 -0
  353. package/web/chunk-ksxjhezb.js.gz +0 -0
  354. package/web/chunk-ktnd8t40.js +2 -0
  355. package/web/chunk-ktnd8t40.js.br +0 -0
  356. package/web/chunk-ktnd8t40.js.gz +0 -0
  357. package/web/chunk-mgwv3dp0.js +1 -0
  358. package/web/chunk-mgwv3dp0.js.br +0 -0
  359. package/web/chunk-mgwv3dp0.js.gz +0 -0
  360. package/web/chunk-mtjdfgjj.js +2 -0
  361. package/web/chunk-mtjdfgjj.js.br +0 -0
  362. package/web/chunk-mtjdfgjj.js.gz +0 -0
  363. package/web/chunk-mzkaanwd.js +2 -0
  364. package/web/chunk-mzkaanwd.js.br +0 -0
  365. package/web/chunk-mzkaanwd.js.gz +0 -0
  366. package/web/chunk-n22pg5xy.js +1 -0
  367. package/web/chunk-n22pg5xy.js.br +0 -0
  368. package/web/chunk-n22pg5xy.js.gz +0 -0
  369. package/web/chunk-n58ezsfb.js +2 -0
  370. package/web/chunk-n58ezsfb.js.br +0 -0
  371. package/web/chunk-n58ezsfb.js.gz +0 -0
  372. package/web/chunk-nhx74teq.js +3 -0
  373. package/web/chunk-nhx74teq.js.br +0 -0
  374. package/web/chunk-nhx74teq.js.gz +0 -0
  375. package/web/chunk-njjsgwfw.js +2 -0
  376. package/web/chunk-njjsgwfw.js.br +0 -0
  377. package/web/chunk-njjsgwfw.js.gz +0 -0
  378. package/web/chunk-nwhqcbnr.js +1 -0
  379. package/web/chunk-nwhqcbnr.js.br +0 -0
  380. package/web/chunk-nwhqcbnr.js.gz +0 -0
  381. package/web/chunk-pnghaajd.js +70 -0
  382. package/web/chunk-pnghaajd.js.br +0 -0
  383. package/web/chunk-pnghaajd.js.gz +0 -0
  384. package/web/chunk-pqfn8x7v.js +1 -0
  385. package/web/chunk-pqfn8x7v.js.br +0 -0
  386. package/web/chunk-pqfn8x7v.js.gz +0 -0
  387. package/web/chunk-ptk0jnyx.js +1 -0
  388. package/web/chunk-ptk0jnyx.js.br +0 -0
  389. package/web/chunk-ptk0jnyx.js.gz +0 -0
  390. package/web/chunk-pv7e5g4k.js +370 -0
  391. package/web/chunk-pv7e5g4k.js.br +0 -0
  392. package/web/chunk-pv7e5g4k.js.gz +0 -0
  393. package/web/chunk-pxnh5qgn.js +2 -0
  394. package/web/chunk-pxnh5qgn.js.br +0 -0
  395. package/web/chunk-pxnh5qgn.js.gz +0 -0
  396. package/web/chunk-q6eq5y2t.js +1 -0
  397. package/web/chunk-q6eq5y2t.js.br +2 -0
  398. package/web/chunk-q6eq5y2t.js.gz +0 -0
  399. package/web/chunk-qdwg9n1d.js +1 -0
  400. package/web/chunk-qdwg9n1d.js.br +0 -0
  401. package/web/chunk-qdwg9n1d.js.gz +0 -0
  402. package/web/chunk-qp42gtvd.js +1 -0
  403. package/web/chunk-qp42gtvd.js.br +0 -0
  404. package/web/chunk-qp42gtvd.js.gz +0 -0
  405. package/web/chunk-qzdw8vdp.js +1 -0
  406. package/web/chunk-qzdw8vdp.js.br +0 -0
  407. package/web/chunk-qzdw8vdp.js.gz +0 -0
  408. package/web/chunk-r571ywxq.js +1 -0
  409. package/web/chunk-r571ywxq.js.br +0 -0
  410. package/web/chunk-r571ywxq.js.gz +0 -0
  411. package/web/chunk-r9fx4cjw.js +1 -0
  412. package/web/chunk-r9fx4cjw.js.br +0 -0
  413. package/web/chunk-r9fx4cjw.js.gz +0 -0
  414. package/web/chunk-rhvq3c1c.js +1 -0
  415. package/web/chunk-rhvq3c1c.js.br +0 -0
  416. package/web/chunk-rhvq3c1c.js.gz +0 -0
  417. package/web/chunk-rjay9w1t.js +1 -0
  418. package/web/chunk-rjay9w1t.js.br +0 -0
  419. package/web/chunk-rjay9w1t.js.gz +0 -0
  420. package/web/chunk-rpvdnc3p.js +1 -0
  421. package/web/chunk-rpvdnc3p.js.br +0 -0
  422. package/web/chunk-rpvdnc3p.js.gz +0 -0
  423. package/web/chunk-rrfr4wyt.js +62 -0
  424. package/web/chunk-rrfr4wyt.js.br +0 -0
  425. package/web/chunk-rrfr4wyt.js.gz +0 -0
  426. package/web/chunk-rvngywg9.js +2 -0
  427. package/web/chunk-rvngywg9.js.br +0 -0
  428. package/web/chunk-rvngywg9.js.gz +0 -0
  429. package/web/chunk-rw7d025r.js +84 -0
  430. package/web/chunk-rw7d025r.js.br +0 -0
  431. package/web/chunk-rw7d025r.js.gz +0 -0
  432. package/web/chunk-s1g8acth.js +324 -0
  433. package/web/chunk-s1g8acth.js.br +0 -0
  434. package/web/chunk-s1g8acth.js.gz +0 -0
  435. package/web/chunk-s8572njv.js +2 -0
  436. package/web/chunk-s8572njv.js.br +1 -0
  437. package/web/chunk-s8572njv.js.gz +0 -0
  438. package/web/chunk-sb57e1m9.css +1 -0
  439. package/web/chunk-sb57e1m9.css.br +0 -0
  440. package/web/chunk-sb57e1m9.css.gz +0 -0
  441. package/web/chunk-sn3h5adt.js +2 -0
  442. package/web/chunk-sn3h5adt.js.br +0 -0
  443. package/web/chunk-sn3h5adt.js.gz +0 -0
  444. package/web/chunk-tb2v18q8.js +2 -0
  445. package/web/chunk-tb2v18q8.js.br +0 -0
  446. package/web/chunk-tb2v18q8.js.gz +0 -0
  447. package/web/chunk-tetbyky0.js +39 -0
  448. package/web/chunk-tetbyky0.js.br +0 -0
  449. package/web/chunk-tetbyky0.js.gz +0 -0
  450. package/web/chunk-tqvctvsv.js +1 -0
  451. package/web/chunk-tqvctvsv.js.br +0 -0
  452. package/web/chunk-tqvctvsv.js.gz +0 -0
  453. package/web/chunk-v9mj2pxz.js +1 -0
  454. package/web/chunk-v9mj2pxz.js.br +0 -0
  455. package/web/chunk-v9mj2pxz.js.gz +0 -0
  456. package/web/chunk-vkhah4nd.js +2 -0
  457. package/web/chunk-vkhah4nd.js.br +0 -0
  458. package/web/chunk-vkhah4nd.js.gz +0 -0
  459. package/web/chunk-vpnh7wmw.js +1 -0
  460. package/web/chunk-vpnh7wmw.js.br +0 -0
  461. package/web/chunk-vpnh7wmw.js.gz +0 -0
  462. package/web/chunk-w1qe2x5p.js +217 -0
  463. package/web/chunk-w1qe2x5p.js.br +0 -0
  464. package/web/chunk-w1qe2x5p.js.gz +0 -0
  465. package/web/chunk-werh47fw.js +99 -0
  466. package/web/chunk-werh47fw.js.br +0 -0
  467. package/web/chunk-werh47fw.js.gz +0 -0
  468. package/web/chunk-wfmf0dc8.js +1 -0
  469. package/web/chunk-wfmf0dc8.js.br +0 -0
  470. package/web/chunk-wfmf0dc8.js.gz +0 -0
  471. package/web/chunk-wna4vqp6.js +1 -0
  472. package/web/chunk-wna4vqp6.js.br +0 -0
  473. package/web/chunk-wna4vqp6.js.gz +0 -0
  474. package/web/chunk-wwhq09nf.js +1 -0
  475. package/web/chunk-wwhq09nf.js.br +0 -0
  476. package/web/chunk-wwhq09nf.js.gz +0 -0
  477. package/web/chunk-x6va53y6.js +291 -0
  478. package/web/chunk-x6va53y6.js.br +0 -0
  479. package/web/chunk-x6va53y6.js.gz +0 -0
  480. package/web/chunk-xefyzr9s.js +120 -0
  481. package/web/chunk-xefyzr9s.js.br +0 -0
  482. package/web/chunk-xefyzr9s.js.gz +0 -0
  483. package/web/chunk-xj1w9054.js +2 -0
  484. package/web/chunk-xj1w9054.js.br +0 -0
  485. package/web/chunk-xj1w9054.js.gz +0 -0
  486. package/web/chunk-xtb3xhxk.js +2 -0
  487. package/web/chunk-xtb3xhxk.js.br +2 -0
  488. package/web/chunk-xtb3xhxk.js.gz +0 -0
  489. package/web/chunk-y1eeptks.js +2 -0
  490. package/web/chunk-y1eeptks.js.br +0 -0
  491. package/web/chunk-y1eeptks.js.gz +0 -0
  492. package/web/chunk-y7z6zmvp.js +292 -0
  493. package/web/chunk-y7z6zmvp.js.br +0 -0
  494. package/web/chunk-y7z6zmvp.js.gz +0 -0
  495. package/web/chunk-yj8tkncg.js +7 -0
  496. package/web/chunk-yj8tkncg.js.br +0 -0
  497. package/web/chunk-yj8tkncg.js.gz +0 -0
  498. package/web/chunk-z0m2d74w.js +1 -0
  499. package/web/chunk-z0m2d74w.js.br +0 -0
  500. package/web/chunk-z0m2d74w.js.gz +0 -0
  501. package/web/chunk-z30kqv40.js +1 -0
  502. package/web/chunk-z30kqv40.js.br +0 -0
  503. package/web/chunk-z30kqv40.js.gz +0 -0
  504. package/web/chunk-z3a96d42.js +332 -0
  505. package/web/chunk-z3a96d42.js.br +0 -0
  506. package/web/chunk-z3a96d42.js.gz +0 -0
  507. package/web/index.html +1 -1
  508. package/web/index.html.br +0 -0
  509. package/web/index.html.gz +0 -0
  510. package/worker.js +1 -1
  511. package/chunk-0tr0cc6f.js +0 -3
  512. package/chunk-1f0mnggp.js +0 -3
  513. package/chunk-1ntcq7ed.js +0 -2
  514. package/chunk-1xkxfddg.js +0 -286
  515. package/chunk-1zz6akcm.js +0 -3
  516. package/chunk-2cd3qzny.js +0 -3
  517. package/chunk-2h2mvrw2.js +0 -3
  518. package/chunk-2sbmy31t.js +0 -2
  519. package/chunk-32s6agaj.js +0 -2
  520. package/chunk-37n62c4c.js +0 -3
  521. package/chunk-3w2902kg.js +0 -9
  522. package/chunk-43q7hq53.js +0 -2
  523. package/chunk-4ewh67qf.js +0 -25
  524. package/chunk-5277mfp2.js +0 -44
  525. package/chunk-54zpktrq.js +0 -3
  526. package/chunk-6f1zc4g6.js +0 -2
  527. package/chunk-6r4kw9x9.js +0 -60
  528. package/chunk-7qaavsga.js +0 -2
  529. package/chunk-88s6d1bz.js +0 -3
  530. package/chunk-9jw0km9r.js +0 -13
  531. package/chunk-a3h0mng1.js +0 -8
  532. package/chunk-acmtkg1q.js +0 -20
  533. package/chunk-adn9jbzj.js +0 -2
  534. package/chunk-anfhjdgv.js +0 -2
  535. package/chunk-apn5amfe.js +0 -498
  536. package/chunk-bsp6e8cv.js +0 -2
  537. package/chunk-bw2h35jd.js +0 -2
  538. package/chunk-bwx9m3ex.js +0 -51
  539. package/chunk-cezgvpja.js +0 -3
  540. package/chunk-cfhtmr6g.js +0 -31
  541. package/chunk-d5w3ntc3.js +0 -7
  542. package/chunk-dtks8c7v.js +0 -2
  543. package/chunk-e01g2yf9.js +0 -3
  544. package/chunk-e1rfd7jn.js +0 -3
  545. package/chunk-e8ehznx7.js +0 -2
  546. package/chunk-edp0svhf.js +0 -3
  547. package/chunk-evaew46c.js +0 -2
  548. package/chunk-ewhpfrgj.js +0 -3
  549. package/chunk-f7q6p7tp.js +0 -7
  550. package/chunk-fgpzy3fe.js +0 -3
  551. package/chunk-fm482h25.js +0 -3
  552. package/chunk-g3j6jdht.js +0 -39
  553. package/chunk-gejre6z5.js +0 -7
  554. package/chunk-gz5ssvjh.js +0 -3
  555. package/chunk-h32ca6cs.js +0 -11
  556. package/chunk-hab25nd9.js +0 -3
  557. package/chunk-jbfkv490.js +0 -8
  558. package/chunk-jem2kqdt.js +0 -3
  559. package/chunk-jrwezx0r.js +0 -16
  560. package/chunk-ka5dtn3w.js +0 -3
  561. package/chunk-kxmws6zx.js +0 -4068
  562. package/chunk-m0gk2b1f.js +0 -3
  563. package/chunk-mekgrca0.js +0 -25
  564. package/chunk-mkp20bwr.js +0 -2
  565. package/chunk-n4qxf40m.js +0 -2
  566. package/chunk-n9r9zzr4.js +0 -59
  567. package/chunk-ndca35jt.js +0 -5
  568. package/chunk-ng9vq9hy.js +0 -2
  569. package/chunk-nx1997s8.js +0 -2
  570. package/chunk-p99dt6kf.js +0 -12
  571. package/chunk-pnctvz58.js +0 -3
  572. package/chunk-ppgn9exm.js +0 -2
  573. package/chunk-pqq5znyp.js +0 -2
  574. package/chunk-q2429jd1.js +0 -3
  575. package/chunk-q3nmdtk4.js +0 -3
  576. package/chunk-q4r4nger.js +0 -3
  577. package/chunk-q6gq7g7m.js +0 -4
  578. package/chunk-qnejy3qp.js +0 -2
  579. package/chunk-sj0fqgjf.js +0 -10
  580. package/chunk-t5y3dqv3.js +0 -3
  581. package/chunk-t6vw73nv.js +0 -2
  582. package/chunk-t9zpdekw.js +0 -5
  583. package/chunk-v0xs5sy0.js +0 -2
  584. package/chunk-v8v2exqg.js +0 -2
  585. package/chunk-wgff8n0r.js +0 -2
  586. package/chunk-wpv679r1.js +0 -3
  587. package/chunk-wrw806wb.js +0 -3
  588. package/chunk-wsby70ce.js +0 -12
  589. package/chunk-xdbgpht7.js +0 -2
  590. package/chunk-y1b98tfk.js +0 -5
  591. package/chunk-y3m3w19s.js +0 -3
  592. package/chunk-y5p5jq48.js +0 -63
  593. package/chunk-ynf5sz68.js +0 -10
  594. package/chunk-zfk9az7y.js +0 -5
  595. package/chunk-zwse6b6t.js +0 -18
  596. package/web/chunk-016nkjwe.js +0 -2
  597. package/web/chunk-016nkjwe.js.br +0 -0
  598. package/web/chunk-016nkjwe.js.gz +0 -0
  599. package/web/chunk-0er8vdaw.js +0 -2
  600. package/web/chunk-0er8vdaw.js.br +0 -0
  601. package/web/chunk-0er8vdaw.js.gz +0 -0
  602. package/web/chunk-0sq0ed2h.js +0 -12
  603. package/web/chunk-0sq0ed2h.js.br +0 -0
  604. package/web/chunk-0sq0ed2h.js.gz +0 -0
  605. package/web/chunk-0w8swe64.js +0 -2
  606. package/web/chunk-0w8swe64.js.br +0 -0
  607. package/web/chunk-0w8swe64.js.gz +0 -0
  608. package/web/chunk-15pxdcz7.js +0 -1
  609. package/web/chunk-15pxdcz7.js.br +0 -0
  610. package/web/chunk-15pxdcz7.js.gz +0 -0
  611. package/web/chunk-1a1w9rth.js +0 -4
  612. package/web/chunk-1a1w9rth.js.br +0 -0
  613. package/web/chunk-1a1w9rth.js.gz +0 -0
  614. package/web/chunk-1e8tsn4c.js +0 -1
  615. package/web/chunk-1e8tsn4c.js.br +0 -0
  616. package/web/chunk-1e8tsn4c.js.gz +0 -0
  617. package/web/chunk-1jwp193e.js +0 -78
  618. package/web/chunk-1jwp193e.js.br +0 -0
  619. package/web/chunk-1jwp193e.js.gz +0 -0
  620. package/web/chunk-1wz0tepc.js +0 -106
  621. package/web/chunk-1wz0tepc.js.br +0 -0
  622. package/web/chunk-1wz0tepc.js.gz +0 -0
  623. package/web/chunk-20gcnbgn.js +0 -2
  624. package/web/chunk-20gcnbgn.js.br +0 -0
  625. package/web/chunk-20gcnbgn.js.gz +0 -0
  626. package/web/chunk-213m58wn.js +0 -1
  627. package/web/chunk-213m58wn.js.br +0 -0
  628. package/web/chunk-213m58wn.js.gz +0 -0
  629. package/web/chunk-2hat8cth.js +0 -1
  630. package/web/chunk-2hat8cth.js.br +0 -0
  631. package/web/chunk-2hat8cth.js.gz +0 -0
  632. package/web/chunk-2nwvdqxm.js +0 -1
  633. package/web/chunk-2nwvdqxm.js.br +0 -0
  634. package/web/chunk-2nwvdqxm.js.gz +0 -0
  635. package/web/chunk-3dj31vfh.js +0 -292
  636. package/web/chunk-3dj31vfh.js.br +0 -0
  637. package/web/chunk-3dj31vfh.js.gz +0 -0
  638. package/web/chunk-3g7waf75.js +0 -70
  639. package/web/chunk-3g7waf75.js.br +0 -0
  640. package/web/chunk-3g7waf75.js.gz +0 -0
  641. package/web/chunk-3x1zg1hk.js +0 -1
  642. package/web/chunk-3x1zg1hk.js.br +0 -0
  643. package/web/chunk-3x1zg1hk.js.gz +0 -0
  644. package/web/chunk-414npx47.js +0 -1
  645. package/web/chunk-414npx47.js.br +0 -0
  646. package/web/chunk-414npx47.js.gz +0 -0
  647. package/web/chunk-416ts17x.js +0 -2
  648. package/web/chunk-416ts17x.js.br +0 -0
  649. package/web/chunk-416ts17x.js.gz +0 -0
  650. package/web/chunk-47qwqp4f.js +0 -7
  651. package/web/chunk-47qwqp4f.js.br +0 -0
  652. package/web/chunk-47qwqp4f.js.gz +0 -0
  653. package/web/chunk-4k4c2se1.js +0 -2
  654. package/web/chunk-4k4c2se1.js.br +0 -0
  655. package/web/chunk-4k4c2se1.js.gz +0 -0
  656. package/web/chunk-4vsg8d4c.js +0 -4
  657. package/web/chunk-4vsg8d4c.js.br +0 -0
  658. package/web/chunk-4vsg8d4c.js.gz +0 -0
  659. package/web/chunk-53ag9hyw.js +0 -40
  660. package/web/chunk-53ag9hyw.js.br +0 -0
  661. package/web/chunk-53ag9hyw.js.gz +0 -0
  662. package/web/chunk-545zx869.js +0 -2
  663. package/web/chunk-545zx869.js.br +0 -0
  664. package/web/chunk-545zx869.js.gz +0 -0
  665. package/web/chunk-55mx05jg.js +0 -2
  666. package/web/chunk-55mx05jg.js.br +0 -0
  667. package/web/chunk-55mx05jg.js.gz +0 -0
  668. package/web/chunk-55phnzd7.js +0 -1
  669. package/web/chunk-55phnzd7.js.br +0 -0
  670. package/web/chunk-55phnzd7.js.gz +0 -0
  671. package/web/chunk-56a6njsk.js +0 -1
  672. package/web/chunk-56a6njsk.js.br +0 -0
  673. package/web/chunk-56a6njsk.js.gz +0 -0
  674. package/web/chunk-5hvs5kyx.js +0 -1
  675. package/web/chunk-5hvs5kyx.js.br +0 -0
  676. package/web/chunk-5hvs5kyx.js.gz +0 -0
  677. package/web/chunk-5nbyvd4t.js +0 -1
  678. package/web/chunk-5nbyvd4t.js.br +0 -0
  679. package/web/chunk-5nbyvd4t.js.gz +0 -0
  680. package/web/chunk-690qxds4.js +0 -1
  681. package/web/chunk-690qxds4.js.br +0 -0
  682. package/web/chunk-690qxds4.js.gz +0 -0
  683. package/web/chunk-6dr6eazd.js +0 -2
  684. package/web/chunk-6dr6eazd.js.br +0 -0
  685. package/web/chunk-6dr6eazd.js.gz +0 -0
  686. package/web/chunk-6nkegqxk.js +0 -139
  687. package/web/chunk-6nkegqxk.js.br +0 -0
  688. package/web/chunk-6nkegqxk.js.gz +0 -0
  689. package/web/chunk-6ypf5nq6.js +0 -140
  690. package/web/chunk-6ypf5nq6.js.br +0 -0
  691. package/web/chunk-6ypf5nq6.js.gz +0 -0
  692. package/web/chunk-70kws32b.js +0 -2
  693. package/web/chunk-70kws32b.js.br +0 -0
  694. package/web/chunk-70kws32b.js.gz +0 -0
  695. package/web/chunk-71tshjjr.js +0 -16
  696. package/web/chunk-71tshjjr.js.br +0 -0
  697. package/web/chunk-71tshjjr.js.gz +0 -0
  698. package/web/chunk-7fh9k75p.js +0 -1
  699. package/web/chunk-7fh9k75p.js.br +0 -0
  700. package/web/chunk-7fh9k75p.js.gz +0 -0
  701. package/web/chunk-7k8azd8z.js +0 -1
  702. package/web/chunk-7k8azd8z.js.br +0 -0
  703. package/web/chunk-7k8azd8z.js.gz +0 -0
  704. package/web/chunk-7mmebce4.js +0 -1
  705. package/web/chunk-7mmebce4.js.br +0 -0
  706. package/web/chunk-7mmebce4.js.gz +0 -0
  707. package/web/chunk-7mwghj09.js +0 -89
  708. package/web/chunk-7mwghj09.js.br +0 -0
  709. package/web/chunk-7mwghj09.js.gz +0 -0
  710. package/web/chunk-7y5kr56m.js +0 -1
  711. package/web/chunk-7y5kr56m.js.br +0 -0
  712. package/web/chunk-7y5kr56m.js.gz +0 -0
  713. package/web/chunk-8esqhp64.js +0 -1
  714. package/web/chunk-8esqhp64.js.br +0 -0
  715. package/web/chunk-8esqhp64.js.gz +0 -0
  716. package/web/chunk-8gxgpr3n.js +0 -214
  717. package/web/chunk-8gxgpr3n.js.br +0 -0
  718. package/web/chunk-8gxgpr3n.js.gz +0 -0
  719. package/web/chunk-8vnmk3y7.js +0 -1
  720. package/web/chunk-8vnmk3y7.js.br +0 -0
  721. package/web/chunk-8vnmk3y7.js.gz +0 -0
  722. package/web/chunk-99r862t8.js +0 -30
  723. package/web/chunk-99r862t8.js.br +0 -0
  724. package/web/chunk-99r862t8.js.gz +0 -0
  725. package/web/chunk-9cznsyf4.js +0 -7
  726. package/web/chunk-9cznsyf4.js.br +0 -0
  727. package/web/chunk-9cznsyf4.js.gz +0 -0
  728. package/web/chunk-9hmw91e9.js +0 -1
  729. package/web/chunk-9hmw91e9.js.br +0 -0
  730. package/web/chunk-9hmw91e9.js.gz +0 -0
  731. package/web/chunk-9j7v0e4v.js +0 -2
  732. package/web/chunk-9j7v0e4v.js.br +0 -0
  733. package/web/chunk-9j7v0e4v.js.gz +0 -0
  734. package/web/chunk-9pyad3tv.js +0 -1
  735. package/web/chunk-9pyad3tv.js.br +0 -0
  736. package/web/chunk-9pyad3tv.js.gz +0 -0
  737. package/web/chunk-9rf2smk2.js +0 -1142
  738. package/web/chunk-9rf2smk2.js.br +0 -0
  739. package/web/chunk-9rf2smk2.js.gz +0 -0
  740. package/web/chunk-aan5qk6x.js +0 -1
  741. package/web/chunk-aan5qk6x.js.br +0 -0
  742. package/web/chunk-aan5qk6x.js.gz +0 -0
  743. package/web/chunk-aaz4msca.js +0 -89
  744. package/web/chunk-aaz4msca.js.br +0 -0
  745. package/web/chunk-aaz4msca.js.gz +0 -0
  746. package/web/chunk-ag0ng2nt.js +0 -24
  747. package/web/chunk-ag0ng2nt.js.br +0 -0
  748. package/web/chunk-ag0ng2nt.js.gz +0 -0
  749. package/web/chunk-an9b0mhe.js +0 -55
  750. package/web/chunk-an9b0mhe.js.br +0 -0
  751. package/web/chunk-an9b0mhe.js.gz +0 -0
  752. package/web/chunk-apgvrfc2.js +0 -41
  753. package/web/chunk-apgvrfc2.js.br +0 -0
  754. package/web/chunk-apgvrfc2.js.gz +0 -0
  755. package/web/chunk-aq09zt1h.js +0 -332
  756. package/web/chunk-aq09zt1h.js.br +0 -0
  757. package/web/chunk-aq09zt1h.js.gz +0 -0
  758. package/web/chunk-ayy6rwm5.js +0 -1
  759. package/web/chunk-ayy6rwm5.js.br +0 -0
  760. package/web/chunk-ayy6rwm5.js.gz +0 -0
  761. package/web/chunk-azhw80d1.js +0 -1
  762. package/web/chunk-azhw80d1.js.br +0 -0
  763. package/web/chunk-azhw80d1.js.gz +0 -0
  764. package/web/chunk-b4bty1ns.js +0 -8
  765. package/web/chunk-b4bty1ns.js.br +0 -1
  766. package/web/chunk-b4bty1ns.js.gz +0 -0
  767. package/web/chunk-bs9934z7.js +0 -200
  768. package/web/chunk-bs9934z7.js.br +0 -0
  769. package/web/chunk-bs9934z7.js.gz +0 -0
  770. package/web/chunk-bvyjy17t.js +0 -14
  771. package/web/chunk-bvyjy17t.js.br +0 -0
  772. package/web/chunk-bvyjy17t.js.gz +0 -0
  773. package/web/chunk-c9nwfxrp.js +0 -1
  774. package/web/chunk-c9nwfxrp.js.br +0 -0
  775. package/web/chunk-c9nwfxrp.js.gz +0 -0
  776. package/web/chunk-capfyqch.js +0 -1
  777. package/web/chunk-capfyqch.js.br +0 -0
  778. package/web/chunk-capfyqch.js.gz +0 -0
  779. package/web/chunk-ckev38zc.js +0 -36
  780. package/web/chunk-ckev38zc.js.br +0 -0
  781. package/web/chunk-ckev38zc.js.gz +0 -0
  782. package/web/chunk-cnkerjp4.js +0 -370
  783. package/web/chunk-cnkerjp4.js.br +0 -0
  784. package/web/chunk-cnkerjp4.js.gz +0 -0
  785. package/web/chunk-d3bgcz6q.js +0 -1
  786. package/web/chunk-d3bgcz6q.js.br +0 -0
  787. package/web/chunk-d3bgcz6q.js.gz +0 -0
  788. package/web/chunk-d5n2yz4e.js +0 -2
  789. package/web/chunk-d5n2yz4e.js.br +0 -0
  790. package/web/chunk-d5n2yz4e.js.gz +0 -0
  791. package/web/chunk-d5xqtvb1.js +0 -2
  792. package/web/chunk-d5xqtvb1.js.br +0 -0
  793. package/web/chunk-d5xqtvb1.js.gz +0 -0
  794. package/web/chunk-daqfnvaw.js +0 -1
  795. package/web/chunk-daqfnvaw.js.br +0 -0
  796. package/web/chunk-daqfnvaw.js.gz +0 -0
  797. package/web/chunk-dqz580pg.js +0 -1
  798. package/web/chunk-dqz580pg.js.br +0 -0
  799. package/web/chunk-dqz580pg.js.gz +0 -0
  800. package/web/chunk-e54b48p5.js +0 -2
  801. package/web/chunk-e54b48p5.js.br +0 -0
  802. package/web/chunk-e54b48p5.js.gz +0 -0
  803. package/web/chunk-e8bgrjps.js +0 -2
  804. package/web/chunk-e8bgrjps.js.br +0 -0
  805. package/web/chunk-e8bgrjps.js.gz +0 -0
  806. package/web/chunk-efdg5mjf.js +0 -217
  807. package/web/chunk-efdg5mjf.js.br +0 -0
  808. package/web/chunk-efdg5mjf.js.gz +0 -0
  809. package/web/chunk-efhyygba.js +0 -7
  810. package/web/chunk-efhyygba.js.br +0 -0
  811. package/web/chunk-efhyygba.js.gz +0 -0
  812. package/web/chunk-en5n60qw.js +0 -2
  813. package/web/chunk-en5n60qw.js.br +0 -0
  814. package/web/chunk-en5n60qw.js.gz +0 -0
  815. package/web/chunk-eq0vm9vw.js +0 -2
  816. package/web/chunk-eq0vm9vw.js.br +0 -0
  817. package/web/chunk-eq0vm9vw.js.gz +0 -0
  818. package/web/chunk-eznkbqms.js +0 -1
  819. package/web/chunk-eznkbqms.js.br +0 -0
  820. package/web/chunk-eznkbqms.js.gz +0 -0
  821. package/web/chunk-f5wyg9zh.js +0 -2
  822. package/web/chunk-f5wyg9zh.js.br +0 -0
  823. package/web/chunk-f5wyg9zh.js.gz +0 -0
  824. package/web/chunk-f9rv8b13.js +0 -1
  825. package/web/chunk-f9rv8b13.js.br +0 -0
  826. package/web/chunk-f9rv8b13.js.gz +0 -0
  827. package/web/chunk-fnzyprme.js +0 -142
  828. package/web/chunk-fnzyprme.js.br +0 -0
  829. package/web/chunk-fnzyprme.js.gz +0 -0
  830. package/web/chunk-g63m3g5y.js +0 -1
  831. package/web/chunk-g63m3g5y.js.br +0 -2
  832. package/web/chunk-g63m3g5y.js.gz +0 -0
  833. package/web/chunk-g6gb3wz7.js +0 -1
  834. package/web/chunk-g6gb3wz7.js.br +0 -2
  835. package/web/chunk-g6gb3wz7.js.gz +0 -0
  836. package/web/chunk-g7ec62te.js +0 -2
  837. package/web/chunk-g7ec62te.js.br +0 -0
  838. package/web/chunk-g7ec62te.js.gz +0 -0
  839. package/web/chunk-gkj2bbdx.js +0 -1
  840. package/web/chunk-gkj2bbdx.js.br +0 -0
  841. package/web/chunk-gkj2bbdx.js.gz +0 -0
  842. package/web/chunk-gnx30bed.css +0 -1
  843. package/web/chunk-gnx30bed.css.br +0 -0
  844. package/web/chunk-gnx30bed.css.gz +0 -0
  845. package/web/chunk-gvndjaan.js +0 -2
  846. package/web/chunk-gvndjaan.js.br +0 -0
  847. package/web/chunk-gvndjaan.js.gz +0 -0
  848. package/web/chunk-h391pq6j.js +0 -1
  849. package/web/chunk-h391pq6j.js.br +0 -0
  850. package/web/chunk-h391pq6j.js.gz +0 -0
  851. package/web/chunk-h3kdr5mz.js +0 -21
  852. package/web/chunk-h3kdr5mz.js.br +0 -0
  853. package/web/chunk-h3kdr5mz.js.gz +0 -0
  854. package/web/chunk-hjs5pyye.js +0 -1
  855. package/web/chunk-hjs5pyye.js.br +0 -0
  856. package/web/chunk-hjs5pyye.js.gz +0 -0
  857. package/web/chunk-hxgtek0e.js +0 -2
  858. package/web/chunk-hxgtek0e.js.br +0 -0
  859. package/web/chunk-hxgtek0e.js.gz +0 -0
  860. package/web/chunk-j5a3jhp0.js +0 -120
  861. package/web/chunk-j5a3jhp0.js.br +0 -0
  862. package/web/chunk-j5a3jhp0.js.gz +0 -0
  863. package/web/chunk-jgdways6.js +0 -39
  864. package/web/chunk-jgdways6.js.br +0 -0
  865. package/web/chunk-jgdways6.js.gz +0 -0
  866. package/web/chunk-jybmjakj.js +0 -1
  867. package/web/chunk-jybmjakj.js.br +0 -2
  868. package/web/chunk-jybmjakj.js.gz +0 -0
  869. package/web/chunk-kasv56qe.js +0 -303
  870. package/web/chunk-kasv56qe.js.br +0 -0
  871. package/web/chunk-kasv56qe.js.gz +0 -0
  872. package/web/chunk-kmhbkjqx.js +0 -2
  873. package/web/chunk-kmhbkjqx.js.br +0 -0
  874. package/web/chunk-kmhbkjqx.js.gz +0 -0
  875. package/web/chunk-m06zdhdz.js +0 -1
  876. package/web/chunk-m06zdhdz.js.br +0 -0
  877. package/web/chunk-m06zdhdz.js.gz +0 -0
  878. package/web/chunk-mrnnq8dv.js +0 -1
  879. package/web/chunk-mrnnq8dv.js.br +0 -0
  880. package/web/chunk-mrnnq8dv.js.gz +0 -0
  881. package/web/chunk-mx1e3jgh.js +0 -1
  882. package/web/chunk-mx1e3jgh.js.br +0 -0
  883. package/web/chunk-mx1e3jgh.js.gz +0 -0
  884. package/web/chunk-n0tehchs.js +0 -3
  885. package/web/chunk-n0tehchs.js.br +0 -0
  886. package/web/chunk-n0tehchs.js.gz +0 -0
  887. package/web/chunk-n449ebhn.js +0 -38
  888. package/web/chunk-n449ebhn.js.br +0 -0
  889. package/web/chunk-n449ebhn.js.gz +0 -0
  890. package/web/chunk-ngsv0xfb.js +0 -1
  891. package/web/chunk-ngsv0xfb.js.br +0 -0
  892. package/web/chunk-ngsv0xfb.js.gz +0 -0
  893. package/web/chunk-ngy730n0.js +0 -1
  894. package/web/chunk-ngy730n0.js.br +0 -0
  895. package/web/chunk-ngy730n0.js.gz +0 -0
  896. package/web/chunk-nj9dtqyd.js +0 -2
  897. package/web/chunk-nj9dtqyd.js.br +0 -0
  898. package/web/chunk-nj9dtqyd.js.gz +0 -0
  899. package/web/chunk-nzaq0yae.js +0 -2
  900. package/web/chunk-nzaq0yae.js.br +0 -0
  901. package/web/chunk-nzaq0yae.js.gz +0 -0
  902. package/web/chunk-pgnfj8ea.js +0 -2
  903. package/web/chunk-pgnfj8ea.js.br +0 -0
  904. package/web/chunk-pgnfj8ea.js.gz +0 -0
  905. package/web/chunk-qtgen5c5.js +0 -24
  906. package/web/chunk-qtgen5c5.js.br +0 -0
  907. package/web/chunk-qtgen5c5.js.gz +0 -0
  908. package/web/chunk-qzn05afn.js +0 -169
  909. package/web/chunk-qzn05afn.js.br +0 -0
  910. package/web/chunk-qzn05afn.js.gz +0 -0
  911. package/web/chunk-r76we294.js +0 -1
  912. package/web/chunk-r76we294.js.br +0 -0
  913. package/web/chunk-r76we294.js.gz +0 -0
  914. package/web/chunk-r7st369j.js +0 -1
  915. package/web/chunk-r7st369j.js.br +0 -0
  916. package/web/chunk-r7st369j.js.gz +0 -0
  917. package/web/chunk-rj1rp0tc.js +0 -1
  918. package/web/chunk-rj1rp0tc.js.br +0 -0
  919. package/web/chunk-rj1rp0tc.js.gz +0 -0
  920. package/web/chunk-sgy3c5m7.js +0 -62
  921. package/web/chunk-sgy3c5m7.js.br +0 -0
  922. package/web/chunk-sgy3c5m7.js.gz +0 -0
  923. package/web/chunk-t7s9xrxt.js +0 -34
  924. package/web/chunk-t7s9xrxt.js.br +0 -0
  925. package/web/chunk-t7s9xrxt.js.gz +0 -0
  926. package/web/chunk-tmf1jnqz.js +0 -2
  927. package/web/chunk-tmf1jnqz.js.br +0 -0
  928. package/web/chunk-tmf1jnqz.js.gz +0 -0
  929. package/web/chunk-tn39vbcz.js +0 -2
  930. package/web/chunk-tn39vbcz.js.br +0 -0
  931. package/web/chunk-tn39vbcz.js.gz +0 -0
  932. package/web/chunk-tntwwpyh.js +0 -2
  933. package/web/chunk-tntwwpyh.js.br +0 -0
  934. package/web/chunk-tntwwpyh.js.gz +0 -0
  935. package/web/chunk-tpzyyc2z.js +0 -2
  936. package/web/chunk-tpzyyc2z.js.br +0 -0
  937. package/web/chunk-tpzyyc2z.js.gz +0 -0
  938. package/web/chunk-v95eqx92.js +0 -84
  939. package/web/chunk-v95eqx92.js.br +0 -0
  940. package/web/chunk-v95eqx92.js.gz +0 -0
  941. package/web/chunk-vcj5m1xb.js +0 -1
  942. package/web/chunk-vcj5m1xb.js.br +0 -0
  943. package/web/chunk-vcj5m1xb.js.gz +0 -0
  944. package/web/chunk-vndrjeyr.js +0 -2
  945. package/web/chunk-vndrjeyr.js.br +0 -0
  946. package/web/chunk-vndrjeyr.js.gz +0 -0
  947. package/web/chunk-vq0zf16h.js +0 -1
  948. package/web/chunk-vq0zf16h.js.br +0 -0
  949. package/web/chunk-vq0zf16h.js.gz +0 -0
  950. package/web/chunk-vqhtph6r.js +0 -1
  951. package/web/chunk-vqhtph6r.js.br +0 -0
  952. package/web/chunk-vqhtph6r.js.gz +0 -0
  953. package/web/chunk-vvsfwjrg.js +0 -1
  954. package/web/chunk-vvsfwjrg.js.br +0 -0
  955. package/web/chunk-vvsfwjrg.js.gz +0 -0
  956. package/web/chunk-vz2mgxs7.js +0 -1
  957. package/web/chunk-vz2mgxs7.js.br +0 -0
  958. package/web/chunk-vz2mgxs7.js.gz +0 -0
  959. package/web/chunk-wdd9pasx.js +0 -1
  960. package/web/chunk-wdd9pasx.js.br +0 -0
  961. package/web/chunk-wdd9pasx.js.gz +0 -0
  962. package/web/chunk-wry3q68j.js +0 -1
  963. package/web/chunk-wry3q68j.js.br +0 -2
  964. package/web/chunk-wry3q68j.js.gz +0 -0
  965. package/web/chunk-wrz0gqnv.js +0 -1
  966. package/web/chunk-wrz0gqnv.js.br +0 -0
  967. package/web/chunk-wrz0gqnv.js.gz +0 -0
  968. package/web/chunk-wvapb3r6.js +0 -98
  969. package/web/chunk-wvapb3r6.js.br +0 -0
  970. package/web/chunk-wvapb3r6.js.gz +0 -0
  971. package/web/chunk-x6qva9zc.js +0 -324
  972. package/web/chunk-x6qva9zc.js.br +0 -0
  973. package/web/chunk-x6qva9zc.js.gz +0 -0
  974. package/web/chunk-xa2ngtyg.js +0 -2
  975. package/web/chunk-xa2ngtyg.js.br +0 -0
  976. package/web/chunk-xa2ngtyg.js.gz +0 -0
  977. package/web/chunk-xhjf5ye0.js +0 -1
  978. package/web/chunk-xhjf5ye0.js.br +0 -0
  979. package/web/chunk-xhjf5ye0.js.gz +0 -0
  980. package/web/chunk-xkqekh81.js +0 -2
  981. package/web/chunk-xkqekh81.js.br +0 -0
  982. package/web/chunk-xkqekh81.js.gz +0 -0
  983. package/web/chunk-xsjvamcy.js +0 -1
  984. package/web/chunk-xsjvamcy.js.br +0 -0
  985. package/web/chunk-xsjvamcy.js.gz +0 -0
  986. package/web/chunk-xyfnr395.js +0 -1
  987. package/web/chunk-xyfnr395.js.br +0 -0
  988. package/web/chunk-xyfnr395.js.gz +0 -0
  989. package/web/chunk-y48mj5d7.js +0 -1
  990. package/web/chunk-y48mj5d7.js.br +0 -0
  991. package/web/chunk-y48mj5d7.js.gz +0 -0
  992. package/web/chunk-y4x1g94q.js +0 -1
  993. package/web/chunk-y4x1g94q.js.br +0 -0
  994. package/web/chunk-y4x1g94q.js.gz +0 -0
  995. package/web/chunk-yzbp4vpe.js +0 -1
  996. package/web/chunk-yzbp4vpe.js.br +0 -0
  997. package/web/chunk-yzbp4vpe.js.gz +0 -0
  998. package/web/chunk-z601k790.js +0 -291
  999. package/web/chunk-z601k790.js.br +0 -0
  1000. package/web/chunk-z601k790.js.gz +0 -0
  1001. package/web/chunk-zc9mxd01.js +0 -99
  1002. package/web/chunk-zc9mxd01.js.br +0 -0
  1003. package/web/chunk-zc9mxd01.js.gz +0 -0
  1004. package/web/chunk-zm1jfkcz.js +0 -2
  1005. package/web/chunk-zm1jfkcz.js.br +0 -0
  1006. package/web/chunk-zm1jfkcz.js.gz +0 -0
  1007. package/web/chunk-zz0d7377.js +0 -2
  1008. package/web/chunk-zz0d7377.js.br +0 -0
  1009. package/web/chunk-zz0d7377.js.gz +0 -0
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ import{X,ht}from"./chunk-9nh1aeqs.js";var n=(r,o)=>X.lang.round(ht.parse(r)[o]),Vn=n;
2
+ export{Vn};
Binary file
Binary file
@@ -0,0 +1,89 @@
1
+ import{t,i,he,h,g,z,G,vn,d,re,en,tn,Rn,bn,hr}from"./chunk-9nh1aeqs.js";import{Nt}from"./chunk-aps2c5t2.js";var se=function(){var e=t(function(A,s,r,o){for(r=r||{},o=A.length;o--;r[A[o]]=s);return r},"o"),f=[1,4],m=[1,13],a=[1,12],y=[1,15],N=[1,16],S=[1,20],u=[1,19],C=[6,7,8],T=[1,26],b=[1,24],P=[1,25],x=[6,7,11],X=[1,31],D=[6,7,11,24],U=[1,6,13,16,17,20,23],k=[1,35],V=[1,36],w=[1,6,7,11,13,16,17,20,23],K=[1,38],B={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:t(function(s,r,o,c,p,n,j){var l=n.length-1;switch(p){case 6:case 7:return c;case 8:c.getLogger().trace("Stop NL ");break;case 9:c.getLogger().trace("Stop EOF ");break;case 11:c.getLogger().trace("Stop NL2 ");break;case 12:c.getLogger().trace("Stop EOF2 ");break;case 15:c.getLogger().info("Node: ",n[l-1].id),c.addNode(n[l-2].length,n[l-1].id,n[l-1].descr,n[l-1].type,n[l]);break;case 16:c.getLogger().info("Node: ",n[l].id),c.addNode(n[l-1].length,n[l].id,n[l].descr,n[l].type);break;case 17:c.getLogger().trace("Icon: ",n[l]),c.decorateNode({icon:n[l]});break;case 18:case 23:c.decorateNode({class:n[l]});break;case 19:c.getLogger().trace("SPACELIST");break;case 20:c.getLogger().trace("Node: ",n[l-1].id),c.addNode(0,n[l-1].id,n[l-1].descr,n[l-1].type,n[l]);break;case 21:c.getLogger().trace("Node: ",n[l].id),c.addNode(0,n[l].id,n[l].descr,n[l].type);break;case 22:c.decorateNode({icon:n[l]});break;case 27:c.getLogger().trace("node found ..",n[l-2]),this.$={id:n[l-1],descr:n[l-1],type:c.getType(n[l-2],n[l])};break;case 28:this.$={id:n[l],descr:n[l],type:0};break;case 29:c.getLogger().trace("node found ..",n[l-3]),this.$={id:n[l-3],descr:n[l-1],type:c.getType(n[l-2],n[l])};break;case 30:this.$=n[l-1]+n[l];break;case 31:this.$=n[l];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:f},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:f},{6:m,7:[1,10],9:9,12:11,13:a,14:14,16:y,17:N,18:17,19:18,20:S,23:u},e(C,[2,3]),{1:[2,2]},e(C,[2,4]),e(C,[2,5]),{1:[2,6],6:m,12:21,13:a,14:14,16:y,17:N,18:17,19:18,20:S,23:u},{6:m,9:22,12:11,13:a,14:14,16:y,17:N,18:17,19:18,20:S,23:u},{6:T,7:b,10:23,11:P},e(x,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:S,23:u}),e(x,[2,19]),e(x,[2,21],{15:30,24:X}),e(x,[2,22]),e(x,[2,23]),e(D,[2,25]),e(D,[2,26]),e(D,[2,28],{20:[1,32]}),{21:[1,33]},{6:T,7:b,10:34,11:P},{1:[2,7],6:m,12:21,13:a,14:14,16:y,17:N,18:17,19:18,20:S,23:u},e(U,[2,14],{7:k,11:V}),e(w,[2,8]),e(w,[2,9]),e(w,[2,10]),e(x,[2,16],{15:37,24:X}),e(x,[2,17]),e(x,[2,18]),e(x,[2,20],{24:K}),e(D,[2,31]),{21:[1,39]},{22:[1,40]},e(U,[2,13],{7:k,11:V}),e(w,[2,11]),e(w,[2,12]),e(x,[2,15],{24:K}),e(D,[2,30]),{22:[1,41]},e(D,[2,27]),e(D,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(s,r){if(r.recoverable)this.trace(s);else{var o=Error(s);throw o.hash=r,o}},"parseError"),parse:t(function(s){var r=this,o=[0],c=[],p=[null],n=[],j=this.table,l="",Y=0,le=0,ue=0,be=2,ge=1,ye=n.slice.call(arguments,1),_=Object.create(this.lexer),F={yy:{}};for(var Z in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Z))F.yy[Z]=this.yy[Z];if(_.setInput(s,F.yy),F.yy.lexer=_,F.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var ee=_.yylloc;n.push(ee);var me=_.options&&_.options.ranges;if(typeof F.yy.parseError==="function")this.parseError=F.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ke(O){o.length=o.length-2*O,p.length=p.length-O,n.length=n.length-O}t(ke,"popStack");function de(){var O=c.pop()||_.lex()||ge;if(typeof O!=="number"){if(O instanceof Array)c=O,O=c.pop();O=r.symbols_[O]||O}return O}t(de,"lex");var v,te,M,L,je,ne,W={},J,R,pe,q;while(!0){if(M=o[o.length-1],this.defaultActions[M])L=this.defaultActions[M];else{if(v===null||typeof v>"u")v=de();L=j[M]&&j[M][v]}if(typeof L>"u"||!L.length||!L[0]){var ie="";q=[];for(J in j[M])if(this.terminals_[J]&&J>be)q.push("'"+this.terminals_[J]+"'");if(_.showPosition)ie="Parse error on line "+(Y+1)+`:
2
+ `+_.showPosition()+`
3
+ Expecting `+q.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else ie="Parse error on line "+(Y+1)+": Unexpected "+(v==ge?"end of input":"'"+(this.terminals_[v]||v)+"'");this.parseError(ie,{text:_.match,token:this.terminals_[v]||v,line:_.yylineno,loc:ee,expected:q})}if(L[0]instanceof Array&&L.length>1)throw Error("Parse Error: multiple actions possible at state: "+M+", token: "+v);switch(L[0]){case 1:if(o.push(v),p.push(_.yytext),n.push(_.yylloc),o.push(L[1]),v=null,!te){if(le=_.yyleng,l=_.yytext,Y=_.yylineno,ee=_.yylloc,ue>0)ue--}else v=te,te=null;break;case 2:if(R=this.productions_[L[1]][1],W.$=p[p.length-R],W._$={first_line:n[n.length-(R||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(R||1)].first_column,last_column:n[n.length-1].last_column},me)W._$.range=[n[n.length-(R||1)].range[0],n[n.length-1].range[1]];if(ne=this.performAction.apply(W,[l,le,Y,F.yy,L[1],p,n].concat(ye)),typeof ne<"u")return ne;if(R)o=o.slice(0,-1*R*2),p=p.slice(0,-1*R),n=n.slice(0,-1*R);o.push(this.productions_[L[1]][0]),p.push(W.$),n.push(W._$),pe=j[o[o.length-2]][o[o.length-1]],o.push(pe);break;case 3:return!0}}return!0},"parse")},Q=function(){var A={EOF:1,parseError:t(function(r,o){if(this.yy.parser)this.yy.parser.parseError(r,o);else throw Error(r)},"parseError"),setInput:t(function(s,r){if(this.yy=r||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var r=s.match(/(?:\r\n?|\n).*/g);if(r)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),s},"input"),unput:t(function(s){var r=s.length,o=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var c=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),o.length-1)this.yylineno-=o.length-1;var p=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===c.length?this.yylloc.first_column:0)+c[c.length-o.length].length-o[0].length:this.yylloc.first_column-r},this.options.ranges)this.yylloc.range=[p[0],p[0]+this.yyleng-r];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(s){this.unput(this.match.slice(s))},"less"),pastInput:t(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var s=this.match;if(s.length<20)s+=this._input.substr(0,20-s.length);return(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var s=this.pastInput(),r=Array(s.length+1).join("-");return s+this.upcomingInput()+`
5
+ `+r+"^"},"showPosition"),test_match:t(function(s,r){var o,c,p;if(this.options.backtrack_lexer){if(p={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)p.yylloc.range=this.yylloc.range.slice(0)}if(c=s[0].match(/(?:\r\n?|\n).*/g),c)this.yylineno+=c.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],o=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(o)return o;else if(this._backtrack){for(var n in p)this[n]=p[n];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var s,r,o,c;if(!this._more)this.yytext="",this.match="";var p=this._currentRules();for(var n=0;n<p.length;n++)if(o=this._input.match(this.rules[p[n]]),o&&(!r||o[0].length>r[0].length)){if(r=o,c=n,this.options.backtrack_lexer)if(s=this.test_match(o,p[n]),s!==!1)return s;else if(this._backtrack){r=!1;continue}else return!1;else if(!this.options.flex)break}if(r){if(s=this.test_match(r,p[c]),s!==!1)return s;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var r=this.next();if(r)return r;else return this.lex()},"lex"),begin:t(function(r){this.conditionStack.push(r)},"begin"),popState:t(function(){var r=this.conditionStack.length-1;if(r>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(r){if(r=this.conditionStack.length-1-Math.abs(r||0),r>=0)return this.conditionStack[r];else return"INITIAL"},"topState"),pushState:t(function(r){this.begin(r)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(r,o,c,p){var n=p;switch(c){case 0:return this.pushState("shapeData"),o.yytext="",24;break;case 1:return this.pushState("shapeDataStr"),24;break;case 2:return this.popState(),24;break;case 3:let j=/\n\s*/g;return o.yytext=o.yytext.replace(j,"<br/>"),24;break;case 4:return 24;case 5:this.popState();break;case 6:return r.getLogger().trace("Found comment",o.yytext),6;break;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;break;case 10:this.popState();break;case 11:r.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return r.getLogger().trace("SPACELINE"),6;break;case 13:return 7;case 14:return 16;case 15:r.getLogger().trace("end icon"),this.popState();break;case 16:return r.getLogger().trace("Exploding node"),this.begin("NODE"),20;break;case 17:return r.getLogger().trace("Cloud"),this.begin("NODE"),20;break;case 18:return r.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;break;case 19:return r.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;break;case 20:return this.begin("NODE"),20;break;case 21:return this.begin("NODE"),20;break;case 22:return this.begin("NODE"),20;break;case 23:return this.begin("NODE"),20;break;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:r.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return r.getLogger().trace("description:",o.yytext),"NODE_DESCR";break;case 32:this.popState();break;case 33:return this.popState(),r.getLogger().trace("node end ))"),"NODE_DEND";break;case 34:return this.popState(),r.getLogger().trace("node end )"),"NODE_DEND";break;case 35:return this.popState(),r.getLogger().trace("node end ...",o.yytext),"NODE_DEND";break;case 36:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 37:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";break;case 38:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";break;case 39:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 40:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 41:return r.getLogger().trace("Long description:",o.yytext),21;break;case 42:return r.getLogger().trace("Long description:",o.yytext),21;break}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return A}();B.lexer=Q;function H(){this.yy={}}return t(H,"Parser"),H.prototype=B,B.Parser=H,new H}();se.parser=se;var Ee=se,I=[],oe=[],ae=0,ce={},_e=t(()=>{I=[],oe=[],ae=0,ce={}},"clear"),Se=t((e)=>{if(I.length===0)return null;let f=I[0].level,m=null;for(let a=I.length-1;a>=0;a--){if(I[a].level===f&&!m)m=I[a];if(I[a].level<f)throw Error('Items without section detected, found section ("'+I[a].label+'")')}if(e===m?.level)return null;return m},"getSection"),fe=t(function(){return oe},"getSections"),Ne=t(function(){let e=[],f=[],m=fe(),a=d();for(let y of m){let N={id:y.id,label:G(y.label??"",a),labelType:"markdown",isGroup:!0,ticket:y.ticket,shape:"kanbanSection",level:y.level,look:a.look};f.push(N);let S=I.filter((u)=>u.parentId===y.id);for(let u of S){let C={id:u.id,parentId:y.id,label:G(u.label??"",a),labelType:"markdown",isGroup:!1,ticket:u?.ticket,priority:u?.priority,assigned:u?.assigned,icon:u?.icon,shape:"kanbanItem",level:u.level,rx:5,ry:5,cssStyles:["text-align: left"]};f.push(C)}}return{nodes:f,edges:e,other:{},config:d()}},"getData"),xe=t((e,f,m,a,y)=>{let N=d(),S=N.mindmap?.padding??z.mindmap.padding;switch(a){case E.ROUNDED_RECT:case E.RECT:case E.HEXAGON:S*=2}let u={id:G(f,N)||"kbn"+ae++,level:e,label:G(m,N),width:N.mindmap?.maxNodeWidth??z.mindmap.maxNodeWidth,padding:S,isGroup:!1};if(y!==void 0){let T;if(!y.includes(`
7
+ `))T=`{
8
+ `+y+`
9
+ }`;else T=y+`
10
+ `;let b=tn(T,{schema:en});if(b.shape&&(b.shape!==b.shape.toLowerCase()||b.shape.includes("_")))throw Error(`No such shape: ${b.shape}. Shape names should be lowercase.`);if(b?.shape&&b.shape==="kanbanItem")u.shape=b?.shape;if(b?.label)u.label=b?.label;if(b?.icon)u.icon=b?.icon.toString();if(b?.assigned)u.assigned=b?.assigned.toString();if(b?.ticket)u.ticket=b?.ticket.toString();if(b?.priority)u.priority=b?.priority}let C=Se(e);if(C)u.parentId=C.id||"kbn"+ae++;else oe.push(u);I.push(u)},"addNode"),E={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},ve=t((e,f)=>{switch(i.debug("In get type",e,f),e){case"[":return E.RECT;case"(":return f===")"?E.ROUNDED_RECT:E.CLOUD;case"((":return E.CIRCLE;case")":return E.CLOUD;case"))":return E.BANG;case"{{":return E.HEXAGON;default:return E.DEFAULT}},"getType"),De=t((e,f)=>{ce[e]=f},"setElementForId"),Le=t((e)=>{if(!e)return;let f=d(),m=I[I.length-1];if(e.icon)m.icon=G(e.icon,f);if(e.class)m.cssClasses=G(e.class,f)},"decorateNode"),Oe=t((e)=>{switch(e){case E.DEFAULT:return"no-border";case E.RECT:return"rect";case E.ROUNDED_RECT:return"rounded-rect";case E.CIRCLE:return"circle";case E.CLOUD:return"cloud";case E.BANG:return"bang";case E.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),Ie=t(()=>i,"getLogger"),Ce=t((e)=>ce[e],"getElementById"),we={clear:_e,addNode:xe,getSections:fe,getData:Ne,nodeType:E,getType:ve,setElementForId:De,decorateNode:Le,type2Str:Oe,getLogger:Ie,getElementById:Ce},Ae=we,Te=t(async(e,f,m,a)=>{i.debug(`Rendering kanban diagram
11
+ `+e);let N=a.db.getData(),S=d();S.htmlLabels=!1;let u=re(f);for(let k of N.nodes)k.domId=`${f}-${k.id}`;let C=u.append("g");C.attr("class","sections");let T=u.append("g");T.attr("class","items");let b=N.nodes.filter((k)=>k.isGroup),P=0,x=10,X=[],D=25;for(let k of b){let V=S?.kanban?.sectionWidth||200;P=P+1,k.x=V*P+(P-1)*x/2,k.width=V,k.y=0,k.height=V*3,k.rx=5,k.ry=5,k.cssClasses=k.cssClasses+" section-"+P;let w=await hr(C,k);D=Math.max(D,w?.labelBBox?.height),X.push(w)}let U=0;for(let k of b){let V=X[U];U=U+1;let w=S?.kanban?.sectionWidth||200,K=-w*3/2+D,B=K,Q=N.nodes.filter((s)=>s.parentId===k.id);for(let s of Q){if(s.isGroup)throw Error("Groups within groups are not allowed in Kanban diagrams");s.x=k.x,s.width=w-1.5*x;let o=(await Rn(T,s,{config:S})).node().getBBox();s.y=B+o.height/2,await bn(s),B=s.y+o.height/2+x/2}let H=V.cluster.select("rect"),A=Math.max(B-K+3*x,50)+(D-25);H.attr("height",A)}vn(void 0,u,S.mindmap?.padding??z.kanban.padding,S.mindmap?.useMaxWidth??z.kanban.useMaxWidth)},"draw"),Re={draw:Te},Pe=t((e)=>{let f="";for(let a=0;a<e.THEME_COLOR_LIMIT;a++)if(e["lineColor"+a]=e["lineColor"+a]||e["cScaleInv"+a],he(e["lineColor"+a]))e["lineColor"+a]=h(e["lineColor"+a],20);else e["lineColor"+a]=g(e["lineColor"+a],20);let m=t((a,y)=>e.darkMode?g(a,y):h(a,y),"adjuster");for(let a=0;a<e.THEME_COLOR_LIMIT;a++){let y=""+(17-3*a);f+=`
12
+ .section-${a-1} rect, .section-${a-1} path, .section-${a-1} circle, .section-${a-1} polygon, .section-${a-1} path {
13
+ fill: ${m(e["cScale"+a],10)};
14
+ stroke: ${m(e["cScale"+a],10)};
15
+
16
+ }
17
+ .section-${a-1} text {
18
+ fill: ${e["cScaleLabel"+a]};
19
+ }
20
+ .node-icon-${a-1} {
21
+ font-size: 40px;
22
+ color: ${e["cScaleLabel"+a]};
23
+ }
24
+ .section-edge-${a-1}{
25
+ stroke: ${e["cScale"+a]};
26
+ }
27
+ .edge-depth-${a-1}{
28
+ stroke-width: ${y};
29
+ }
30
+ .section-${a-1} line {
31
+ stroke: ${e["cScaleInv"+a]} ;
32
+ stroke-width: 3;
33
+ }
34
+
35
+ .disabled, .disabled circle, .disabled text {
36
+ fill: lightgray;
37
+ }
38
+ .disabled text {
39
+ fill: #efefef;
40
+ }
41
+
42
+ .node rect,
43
+ .node circle,
44
+ .node ellipse,
45
+ .node polygon,
46
+ .node path {
47
+ fill: ${e.background};
48
+ stroke: ${e.nodeBorder};
49
+ stroke-width: 1px;
50
+ }
51
+
52
+ .kanban-ticket-link {
53
+ fill: ${e.background};
54
+ stroke: ${e.nodeBorder};
55
+ text-decoration: underline;
56
+ }
57
+ `}return f},"genSections"),Ve=t((e)=>`
58
+ .edge {
59
+ stroke-width: 3;
60
+ }
61
+ ${Pe(e)}
62
+ .section-root rect, .section-root path, .section-root circle, .section-root polygon {
63
+ fill: ${e.git0};
64
+ }
65
+ .section-root text {
66
+ fill: ${e.gitBranchLabel0};
67
+ }
68
+ .icon-container {
69
+ height:100%;
70
+ display: flex;
71
+ justify-content: center;
72
+ align-items: center;
73
+ }
74
+ .edge {
75
+ fill: none;
76
+ }
77
+ .cluster-label, .label {
78
+ color: ${e.textColor};
79
+ fill: ${e.textColor};
80
+ }
81
+ .kanban-label {
82
+ dy: 1em;
83
+ alignment-baseline: middle;
84
+ text-anchor: middle;
85
+ dominant-baseline: middle;
86
+ text-align: center;
87
+ }
88
+ ${Nt()}
89
+ `,"getStyles"),Be=Ve,et={db:Ae,renderer:Re,parser:Ee,styles:Be};export{et as diagram};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{rl}from"./chunk-600x58nm.js";export{rl as QuestionDock};
@@ -0,0 +1,2 @@
1
+ ��import{rl}from"./chunk-600x58nm.js";export{rl as QuestionDock};
2
+ 
Binary file
@@ -0,0 +1 @@
1
+ import{Gs}from"./chunk-cbdxzddd.js";export{Gs as createPacketServices};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{s,Z,o,a,m,e,n,v,_e,ve}from"./chunk-600x58nm.js";import{co}from"./chunk-j6ymcm3h.js";var T=[{id:"exa",name:"Exa",description:"免密钥 · 综合搜索"},{id:"tavily",name:"Tavily",description:"免密钥 · 支持域名筛选"},{id:"parallel",name:"Parallel",description:"免密钥 · 网页搜索"},{id:"firecrawl",name:"Firecrawl",description:"免密钥 · 网页内容"},{id:"tinyfish",name:"TinyFish",description:"免密钥 · 搜索摘要"},{id:"searxng",name:"SearXNG",description:"免密钥 · 需自建服务"},{id:"brave",name:"Brave",description:"需密钥 · 独立搜索引擎"}];function D(t){return{enabled:t.search.provider!=="off",provider:t.search.provider==="off"?"auto":t.search.provider,searxngUrl:t.search.searxngUrl??"",proxy:t.proxy??"",acceptLanguage:t.acceptLanguage??""}}function G(t,c){return{search:{provider:t.enabled?t.provider:"off",searxngUrl:t.searxngUrl},keys:{...c},proxy:t.proxy,acceptLanguage:t.acceptLanguage}}function A(t,c,u){let p=D(t);if(c.enabled!==p.enabled)return!0;if(c.enabled&&c.provider!==p.provider)return!0;return c.searxngUrl!==p.searxngUrl||c.proxy!==p.proxy||c.acceptLanguage!==p.acceptLanguage||Object.keys(u).length>0}function z({notice:t}){let{cn:c}=v();if(!t)return null;let u=t.type==="success"?co:_e;return n("div",{role:t.type==="error"?"alert":"status",className:c("flex items-start gap-2 text-xs",t.type==="success"?"text-success":"text-danger"),children:[e(u,{className:"mt-0.5 size-4 shrink-0","aria-hidden":"true"}),e("span",{className:"min-w-0 break-words",children:t.text})]})}function I(t){let{Button:c,Input:u,Switch:p,Select:x,StatusChip:S,SettingActions:R,SettingGroup:P,SettingRow:C,cn:w}=v(),y=Z(),l=t.busy!==void 0;return n("form",{id:`${y}-form`,className:"min-w-0 space-y-5",onSubmit:async(r)=>{r.preventDefault(),await t.onSave()},children:[n(P,{title:"联网搜索",children:[e(C,{title:"启用搜索",description:"查询会发送至所选搜索服务",children:e(p,{label:"启用联网搜索",disabled:l,checked:t.draft.enabled,onCheckedChange:(r)=>t.onDraft({...t.draft,enabled:r})})}),e(C,{title:"搜索渠道",description:"自动:Exa → Tavily → Parallel → Firecrawl → TinyFish",children:e("div",{className:"w-48",children:e(x,{id:`${y}-provider`,value:t.draft.provider,disabled:l||!t.draft.enabled,className:"min-w-0",groups:[{options:[{value:"auto",label:"自动",description:"失败时依次切换渠道"},...T.map((r)=>({value:r.id,label:r.name}))]}],onValueChange:(r)=>{let i=r==="auto"?r:T.find((k)=>k.id===r)?.id;if(i)t.onDraft({...t.draft,provider:i})}})})}),(t.draft.provider==="searxng"||t.draft.searxngUrl)&&e(C,{vertical:!0,title:"自建 SearXNG 地址",children:e(u,{id:`${y}-searxng`,"aria-label":"自建 SearXNG 地址",type:"url",maxLength:2000,disabled:l||!t.draft.enabled,value:t.draft.searxngUrl,placeholder:"https://search.example.com",onChange:(r)=>t.onDraft({...t.draft,searxngUrl:r.target.value})})})]}),e(P,{title:"渠道与密钥",description:"检测使用已保存的配置",action:n(c,{type:"button",size:"sm",variant:"ghost",disabled:l,className:"text-dim",onClick:async()=>await t.onCheck("all"),children:[e(ve,{className:w("size-3.5",t.checking==="all"&&"animate-spin"),"aria-hidden":"true"}),t.checking==="all"?"正在检测…":"全部检测"]}),children:T.map((r)=>{let i=r.id,k=i==="searxng"?void 0:t.saved.keys[i],K=k?.source==="environment",W=i==="searxng"?void 0:t.keys[i],h=W==="",b=t.checks[i],L=t.checking==="all"||t.checking===i,f=k?.configured?"已配置密钥":"未配置";if(i==="searxng")f=t.saved.search.searxngUrl?"已配置地址":"未配置地址";if(K)f="来自环境变量";if(h)f="待移除";if(W)f="待保存密钥";let E=b&&!b.ok&&!L?b.error??(b.kind==="search"?b.meta?.failed[0]?.error:b.meta?.error)??"检测失败,请检查配置。":void 0;return n("div",{className:"min-w-0",children:[n(C,{title:r.name,description:n(m,{children:[r.description,K&&" · 请在服务端环境变量中更换或移除",E&&e("span",{role:"status",className:"block break-words text-danger",children:E})]}),children:[L?e(S,{tone:"neutral",pulse:!0,children:"检测中"}):b?e(S,{tone:b.ok?"success":"danger",children:b.ok?`可用 ${b.elapsedMs} ms`:"不可用"}):e("span",{className:w("text-xs",W!==void 0?"text-warning":"text-faint"),children:f}),i!=="searxng"&&!K&&n(m,{children:[e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,"aria-label":`${k?.configured?"更换":"设置"} ${r.name} 密钥`,"aria-expanded":t.editingKey===i,"aria-controls":`${y}-${i}-key-editor`,onClick:()=>t.onEditKey(t.editingKey===i?void 0:i),children:k?.configured?"更换":"设置密钥"}),k?.configured&&!h&&e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,"aria-label":`移除 ${r.name} 密钥`,onClick:()=>{t.onKeys({...t.keys,[i]:""}),t.onEditKey(void 0)},children:"移除"})]}),e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,"aria-label":`检测 ${r.name}`,onClick:async()=>await t.onCheck(i),children:"检测"})]}),i!=="searxng"&&t.editingKey===i&&n("div",{id:`${y}-${i}-key-editor`,className:"flex items-center gap-2 pb-3",children:[e(u,{id:`${y}-${i}-key`,"aria-label":`${r.name} API 密钥`,type:"password",autoComplete:"new-password",maxLength:4000,disabled:l,value:t.keys[i]??"",placeholder:"输入新密钥,保存后生效;只写入,不回显",onChange:(N)=>{let d={...t.keys};if(N.target.value.trim())d[i]=N.target.value;else delete d[i];t.onKeys(d)}}),e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,onClick:()=>{let N={...t.keys};delete N[i],t.onKeys(N),t.onEditKey(void 0)},children:"取消"})]})]},i)})}),n(P,{title:"网络",children:[e(C,{vertical:!0,title:"代理 URL",description:"留空使用服务端环境代理",children:e(u,{id:`${y}-proxy`,"aria-label":"代理 URL",type:"url",maxLength:2000,disabled:l,value:t.draft.proxy,placeholder:"http://127.0.0.1:7890",onChange:(r)=>t.onDraft({...t.draft,proxy:r.target.value})})}),e(C,{vertical:!0,title:"Accept-Language",children:e(u,{id:`${y}-language`,"aria-label":"Accept-Language",maxLength:200,disabled:l,value:t.draft.acceptLanguage,placeholder:"en-US,en;q=0.9",onChange:(r)=>t.onDraft({...t.draft,acceptLanguage:r.target.value})})})]}),n(R,{children:[e("div",{className:"mr-auto min-w-0",children:e(z,{notice:t.notice})}),t.dirty&&e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,onClick:t.onRestore,children:"撤销更改"}),e(c,{form:`${y}-form`,type:"submit",size:"sm",variant:"primary",disabled:l||!t.dirty,children:t.busy==="save"?"保存中…":"保存"})]})]})}function M({connection:t}){let{Button:c}=v(),[u,p]=a(),[x,S]=a(),[R,P]=a({}),[C,w]=a(),[y,l]=a("load"),[r,i]=a(),[k,K]=a({}),[W,h]=a(),[b,L]=a(0),f=o(void 0);s(()=>{let d=new AbortController;return f.current=d,l("load"),h(void 0),p(void 0),S(void 0),P({}),w(void 0),K({}),t.request("/api/plugins/webfetch/settings",{signal:d.signal,cache:b>0?"reload":"default"}).then((g)=>{if(d.signal.aborted)return;p(g),S(D(g))}).catch((g)=>{if(!d.signal.aborted)h({type:"error",text:g instanceof Error?g.message:"加载设置失败,请重试。"})}).finally(()=>{if(!d.signal.aborted)f.current=void 0,l(void 0)}),()=>{d.abort(),f.current?.abort(),f.current=void 0}},[t,b]);async function E(){if(f.current||!u||!x||!A(u,x,R))return;let d=new AbortController;f.current=d,l("save"),h(void 0);try{let g=await t.request("/api/plugins/webfetch/settings",{method:"PATCH",signal:d.signal,headers:{"Content-Type":"application/json"},body:JSON.stringify(G(x,R))});if(d.signal.aborted)return;p(g),S(D(g)),P({}),w(void 0),K({}),h({type:"success",text:"设置已保存。"})}catch(g){if(!d.signal.aborted)h({type:"error",text:g instanceof Error?g.message:"保存失败,请重试。"})}finally{if(!d.signal.aborted)f.current=void 0,l(void 0)}}async function N(d){if(f.current||!u)return;let g=new AbortController;f.current=g,l("test"),i(d),h(void 0);try{let U=await t.request(`/api/plugins/webfetch/test?provider=${d}`,{method:"POST",signal:g.signal});if(g.signal.aborted)return;K((q)=>{let F={...q};for(let B of U.checks)if(B.kind==="search"&&B.provider)F[B.provider]=B;return F})}catch(U){if(!g.signal.aborted)h({type:"error",text:U instanceof Error?U.message:"检测失败,请重试。"})}finally{if(!g.signal.aborted)f.current=void 0,l(void 0),i(void 0)}}if(!u||!x)return n("div",{className:"min-w-0 space-y-3",children:[y==="load"&&e("p",{role:"status",className:"text-sm text-dim",children:"正在加载设置…"}),e(z,{notice:W}),y!=="load"&&e(c,{type:"button",size:"sm",variant:"ghost",onClick:()=>L(b+1),children:"重新加载"})]});return e(I,{saved:u,draft:x,keys:R,editingKey:C,dirty:A(u,x,R),busy:y==="load"?void 0:y,checking:r,checks:k,notice:W,onDraft:(d)=>{S(d),h(void 0)},onKeys:(d)=>{P(d),h(void 0)},onEditKey:w,onSave:E,onCheck:N,onRestore:()=>{S(D(u)),P({}),w(void 0),h(void 0)}})}export{M as default};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{js}from"./chunk-cbdxzddd.js";export{js as createCynefinServices};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{zs}from"./chunk-cbdxzddd.js";export{zs as createRadarServices};
@@ -0,0 +1,2 @@
1
+ #�import{zs}from"./chunk-cbdxzddd.js";export{zs as createRadarServices};
2
+ 
Binary file
@@ -0,0 +1 @@
1
+ import{Z,e,n,v}from"./chunk-600x58nm.js";import{rr,fa}from"./chunk-33zb5a76.js";import"./chunk-j6ymcm3h.js";var s="session";function f({connection:d}){let{ModelSelector:a,SettingGroup:m,SettingRow:g}=v(),r=Z(),t=fa({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",trustedOnly:!0,models:c,value:l??s,onChange:(o)=>t.edit((i)=>({...i,model:o===s?null:o}))})})})}),e(rr,{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 @@
1
+ import{qs}from"./chunk-cbdxzddd.js";export{qs as createGitGraphServices};
@@ -0,0 +1,2 @@
1
+ �$�import{qs}from"./chunk-cbdxzddd.js";export{qs as createGitGraphServices};
2
+ 
Binary file
@@ -0,0 +1 @@
1
+ import{a,m,e,n,v,l,_e,ee,J,Yt}from"./chunk-600x58nm.js";var z=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]],h=l("circle-slash",z);function B(t){if(!t||typeof t!=="object")return;if(!("id"in t)||typeof t.id!=="string")return;if(!("state"in t)||typeof t.state!=="string")return;return{id:t.id,state:t.state,command:"command"in t&&typeof t.command==="string"?t.command:void 0,code:"code"in t&&(t.code===null||typeof t.code==="number")?t.code:void 0,output:"output"in t&&typeof t.output==="string"?t.output:void 0}}function U(t){let{Button:N,Panel:b,style:k}=v(),s=B(t.payload),[o,r]=a(!1),[C,P]=a(!1),[c,u]=a();if(!s)return null;let i=C?"killed":s.state,d=i==="running",f=i==="exited"&&s.code===0,p=i==="killed"||i==="timeout",g=s.output?.trim(),I=async()=>{if(o)return;r(!0),u(void 0);try{await t.connection.request(`/api/sessions/${encodeURIComponent(t.sessionID)}/jobs/${encodeURIComponent(s.id)}/kill`,{method:"POST"}),P(!0)}catch(x){u(x instanceof Error?x.message:"停止失败,后台任务可能已结束")}finally{r(!1)}};return n(b,{className:"my-2",header:n(m,{children:[e(Yt,{className:"size-3.5 shrink-0 text-faint"}),e("span",{className:"truncate font-mono text-ink/90",title:s.command??s.id,children:s.command??`任务 ${s.id}`})]}),actions:n(m,{children:[d&&n(m,{children:[n("span",{className:"flex items-center gap-1 text-warning",children:[e(ee,{className:"size-3.5 animate-spin"}),e("span",{children:"后台运行中"})]}),e(N,{size:"sm",variant:"danger-ghost",className:"h-6 rounded-md px-2 text-xs",disabled:o,onClick:()=>{I()},children:"停止"})]}),f&&n("span",{className:"flex items-center gap-1 text-success",children:[e(J,{className:"size-3.5"}),e("span",{children:"已完成"})]}),p&&n("span",{className:"flex items-center gap-1 text-faint",children:[e(h,{className:"size-3.5"}),e("span",{children:i==="timeout"?"已超时":"已停止"})]}),!d&&!f&&!p&&n("span",{className:"flex items-center gap-1 text-danger",children:[e(_e,{className:"size-3.5"}),n("span",{children:["退出码 ",s.code??"异常"]})]})]}),children:[c&&e("p",{role:"status",className:"border-b border-line px-4 py-2.5 text-xs text-danger",children:c}),g&&e("pre",{className:k("chat.toolOutput","max-h-60 text-ink/90 select-text"),children:g})]})}export{U as BashJobCard};
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import"./chunk-6ycpdpfj.js";import{lo}from"./chunk-0d0fwb7b.js";export{lo as default};
Binary file
Binary file
@@ -0,0 +1,4 @@
1
+ import{W,Kn,s,w,o,a,m,e,n,v,J,fs,hs,gs,Jc,bc,_i,eo,el,xc,tl,wi,to,vs,ys}from"./chunk-600x58nm.js";import{Zt}from"./chunk-c612n2pw.js";var O={sealed:"已封存",folded:"已折叠",archived:"已移出"};function U(t,l){if(t.startsWith("recent-"))return"json";let c=l.trimStart();if(!c)return"markdown";if(c.startsWith("{")||c.startsWith("["))return"json";if(/^<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?>/.test(c))return"xml";return"markdown"}function A(t){if(!t||t.length>32000)return t;if(!t.trimStart().startsWith("<"))return t;let c=[],r=0,i=(p)=>" ".repeat(p),d=/(<([a-zA-Z_][\w.-]*)(?:\s+[^>]*)?>([^\r\n<]*)<\/\2>)|(<\/[a-zA-Z_][\w.-]*>)|(<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?\/>)|(<[a-zA-Z_][\w.-]*(?:\s+[^>]*)?>)|([^<]+)/g;for(let p of t.matchAll(d)){let[,x,,,g,f,y,b]=p;if(x)c.push(`${i(r)}${x.trim()}`);else if(g)r=Math.max(0,r-1),c.push(`${i(r)}${g.trim()}`);else if(y)c.push(`${i(r)}${y.trim()}`),r++;else if(f)c.push(`${i(r)}${f.trim()}`);else if(b){let u=b.trim();if(u)for(let C of u.split(/\r?\n/)){let N=C.trim();if(N)c.push(`${i(r)}${N}`)}}}return c.length>0?c.join(`
2
+ `):t}function I(){return n("div",{role:"status","aria-busy":"true","aria-label":"正在加载上下文",className:"space-y-2 animate-pulse",children:[e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"}),e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"}),e("div",{className:"h-10 rounded-xl border border-line bg-panel/40"})]})}function k(t){let{style:l}=v();return e("p",{className:l("surface.empty"),children:t.children})}function E(t){let{Chevron:l,Collapsible:c,CollapsibleContent:r,CollapsibleTrigger:i,style:d}=v(),[p,x]=a(!1),[g,f]=a(!1);return n(c,{open:p,onOpenChange:(y)=>Kn(()=>{if(x(y),y)f(!0)}),className:d("surface.interactive","group/collapsible"),children:[n(i,{className:"flex w-full items-center gap-2 px-3 py-2 text-left text-xs",children:[t.header,e(l,{className:"-rotate-90 text-faint group-data-[state=open]/collapsible:rotate-90"})]}),e(r,{children:g&&e("div",{className:"border-t border-line/60 bg-raised/20 px-3 py-2 text-xs text-dim",children:t.children})})]})}function R(t){let{Code:l}=v();return e(l,{code:t.code,lang:t.lang,className:"text-2xs! leading-relaxed! [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_pre]:[overflow-wrap:anywhere]"})}function q(t){let{cn:l}=v(),c=t.items.filter((i)=>i.state!=="archived");if(!c.length)return e(k,{children:"当前没有上下文内容。"});let r=c.reduce((i,d)=>i+d.tokens,0)||1;return n("div",{className:"space-y-2.5",children:[e("div",{className:"flex h-2 overflow-hidden rounded-full bg-raised",children:c.map((i)=>e("span",{className:l(fs[hs(i)].color,"transition-[width] duration-300 ease-out-quint"),title:`${i.label}:${i.tokens.toLocaleString()} token`,style:{width:`${i.tokens/r*100}%`}},i.id))}),e("div",{className:"flex flex-wrap gap-x-3 gap-y-1 text-2xs text-dim",children:Object.entries(fs).filter(([i])=>c.some((d)=>hs(d)===i)).map(([i,d])=>n("span",{className:"inline-flex items-center gap-1.5",children:[e("span",{className:l("size-2 rounded-full",d.color),"aria-hidden":!0}),d.label]},i))}),e("div",{className:"space-y-1.5",children:c.map((i)=>e(te,{item:i,total:r,color:fs[hs(i)].color},i.id))})]})}function te(t){let{cn:l,style:c,useTheme:r}=v();r();let i=(t.item.tokens/t.total*100).toFixed(1);return e(E,{header:n(m,{children:[e("span",{className:l("size-2 shrink-0 rounded-full",t.color),"aria-hidden":!0}),e("span",{className:"min-w-0 flex-1 font-medium break-words text-ink [overflow-wrap:anywhere]",children:t.item.label}),t.item.state&&e("span",{className:c("control.badge","text-3xs"),children:O[t.item.state]}),e("span",{className:"font-mono tabular-nums text-dim",children:t.item.tokens.toLocaleString()}),n("span",{className:"w-10 text-right font-mono text-2xs tabular-nums text-faint",children:[i,"%"]})]}),children:e(ae,{item:t.item,percent:i,color:t.color})})}function ae(t){let{cn:l,CopyButton:c,style:r,useTheme:i}=v();i();let d=t.item.detail,p=w(()=>d?U(t.item.id,d):"markdown",[d,t.item.id]),x=w(()=>{if(!d)return"";return p==="xml"?A(d):d},[d,p]);return n(m,{children:[e("div",{className:"mb-2 h-1 overflow-hidden rounded-full bg-raised",children:e("div",{className:l("h-full",t.color),style:{width:`${t.percent}%`}})}),x?n("div",{className:r("surface.subtle","group/detail relative overflow-hidden rounded-lg bg-panel/70 p-2.5"),children:[e("div",{className:"absolute right-1.5 top-1.5 z-10",children:e(c,{text:t.item.detail,size:"icon-xs",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink backdrop-blur-sm"})}),e("div",{className:"max-h-80 overflow-y-auto pr-6 text-dim",children:e(R,{code:x,lang:p})})]}):e("p",{className:"py-2 text-center text-xs text-faint",children:"(空)"})]})}var M=40,se={accent:"bg-accent/15 text-accent",success:"bg-success/15 text-success",warning:"bg-warning/15 text-warning",danger:"bg-danger/15 text-danger",neutral:"bg-raised text-dim"};function F(t){let{Button:l,CopyButton:c,style:r,useTheme:i}=v();i();let[d,p]=a(M),x=o(null),g=w(()=>t.entries.filter((b)=>!(b.type==="extension"&&b.namespace==="session"&&b.kind==="request_budget")),[t.entries]),f=d<g.length;s(()=>{let b=x.current;if(!b||!f||typeof IntersectionObserver>"u")return;let u=new IntersectionObserver((C)=>{if(C.some((N)=>N.isIntersecting))p((N)=>Math.min(g.length,N+M))},{rootMargin:"480px"});return u.observe(b),()=>u.disconnect()},[f,g.length]);let y=w(()=>g.slice(-d).reverse(),[g,d]);if(!g.length)return e(k,{children:"还没有消息。"});return n("div",{className:"space-y-1.5",children:[n("div",{className:r("surface.subtle","flex items-center justify-between px-3 py-1.5 text-xs text-faint"),children:[n("span",{children:["共 ",g.length," 条记录"]}),e(c,{text:()=>t.entries.map((b)=>JSON.stringify(b,null,2)).join(`
3
+
4
+ `),size:"icon-xs",label:"复制全部原始 JSON",className:"hover:bg-raised text-faint hover:text-ink"})]}),y.map((b)=>e(ne,{entry:b},b.seq)),f&&n("div",{ref:x,className:r("surface.subtle","flex items-center justify-between bg-panel/40 px-3 py-2 text-xs text-faint"),children:[n("span",{children:["已显示 ",y.length," / ",g.length," 条"]}),n("div",{className:"flex items-center gap-1.5",children:[e(l,{size:"sm",variant:"ghost",onClick:()=>p((b)=>Math.min(g.length,b+M)),children:"加载更多"}),e(l,{size:"sm",variant:"ghost",onClick:()=>p(g.length),children:"显示全部"})]})]})]})}var ne=W(function(l){let{CopyButton:c,style:r,useTheme:i}=v();i();let d=el(l.entry),p=w(()=>Jc(l.entry.time),[l.entry.time]);return e(E,{header:n(m,{children:[n("span",{className:"shrink-0 font-mono text-2xs tabular-nums text-faint",children:["#",l.entry.seq]}),e("span",{className:r("control.badge","shrink-0 font-medium text-3xs",se[d.tone]),children:d.badge}),e("span",{className:"min-w-0 flex-1 truncate text-ink",children:d.title}),d.meta&&e("span",{className:r("control.badge","shrink-0 font-mono text-3xs text-faint"),children:d.meta}),e("span",{className:"shrink-0 font-mono text-2xs tabular-nums text-faint",children:p})]}),children:n("div",{className:"space-y-2",children:[n("div",{className:"flex items-center justify-between text-2xs text-faint",children:[n("span",{className:"font-mono",children:[l.entry.type," · #",l.entry.seq]}),e(c,{text:()=>JSON.stringify(l.entry,null,2),size:"icon-xs",label:"复制此条 JSON",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink"})]}),e(oe,{entry:l.entry})]})})});function oe(t){let{style:l,useTheme:c}=v();c();let r=t.entry;if(r.type==="user")return n("div",{className:"space-y-2",children:[r.text&&e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-sans text-xs leading-relaxed text-ink whitespace-pre-wrap break-words [overflow-wrap:anywhere]"),children:_i(r.text)}),r.attachments&&r.attachments.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-2xs font-medium text-faint",children:["附件(",r.attachments.length,")"]}),e("div",{className:"flex flex-wrap gap-1.5",children:r.attachments.map((i,d)=>{let p=i.kind==="image"?Math.floor(i.data.length*0.75):i.kind==="file"?i.size??0:i.data.length;return n("div",{className:l("surface.subtle","inline-flex items-center gap-1.5 px-2 py-1 text-2xs"),children:[e("span",{className:l("control.badge","text-3xs text-faint"),children:i.kind==="image"?"图片":i.kind==="path"?"路径":i.kind==="file"?"文件":"文本"}),e("span",{className:"max-w-40 truncate font-medium text-ink",children:i.name}),n("span",{className:"font-mono text-3xs text-faint",children:[i.mimeType," · ",bc(p)]})]},`${i.name}-${d}`)})})]}),r.notices&&r.notices.length>0&&n("div",{className:"space-y-1",children:[n("div",{className:"text-2xs font-medium text-faint",children:["通知来源(",r.notices.length,")"]}),r.notices.map((i)=>n("div",{className:l("surface.subtle","flex items-center justify-between px-2.5 py-1.5 font-mono text-2xs"),children:[n("span",{className:"truncate text-ink",children:[i.sourceKind,"/",i.sourceID]}),e("span",{className:"text-faint",children:i.state})]},i.dedupeKey))]})]});if(r.type==="assistant")return n("div",{className:"space-y-2",children:[n("div",{className:"font-mono text-2xs text-faint",children:["模型:",r.model]}),r.error&&e("div",{className:"rounded-lg border border-danger/30 bg-danger/8 px-2.5 py-2 text-xs text-danger",children:r.error}),r.parts.map((i,d)=>{if(i.type==="thinking")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-2xs font-medium text-faint",children:"思考"}),e("pre",{className:"max-h-60 overflow-y-auto font-sans text-xs italic leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:_i(i.text)})]},`thinking-${d}`);if(i.type==="text")return n("div",{className:l("surface.subtle","p-2.5 space-y-1"),children:[e("div",{className:"text-2xs font-medium text-faint",children:"回复"}),e("pre",{className:"max-h-60 overflow-y-auto font-sans text-xs leading-relaxed text-ink whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:_i(i.text)})]},`text-${d}`);return n("div",{className:l("surface.subtle","p-2.5 space-y-1.5"),children:[n("div",{className:"flex items-center justify-between gap-2 text-2xs",children:[n("span",{className:"font-mono font-medium text-ink",children:["工具调用 · ",i.name]}),e("span",{className:"truncate font-mono text-3xs text-faint",children:i.id})]}),e("div",{className:"max-h-60 overflow-y-auto text-dim",children:e(R,{code:eo(JSON.stringify(i.input,xc,2)),lang:"json"})})]},i.id||`tool-${d}`)})]});if(r.type==="tool_result")return n("div",{className:"space-y-2",children:[n("div",{className:"flex flex-wrap items-center gap-2 font-mono text-2xs text-faint",children:[e("span",{className:"text-ink",children:r.name}),e("span",{children:"·"}),e("span",{className:"truncate",children:r.callID}),e("span",{className:l("control.badge","ml-auto font-sans text-3xs",r.isError?"bg-danger/15 text-danger":"text-dim"),children:r.isError?"执行失败":"执行完成"})]}),r.images&&r.images.length>0&&e("div",{className:"flex flex-wrap gap-1.5",children:r.images.map((i,d)=>n("span",{className:l("surface.subtle","px-2 py-1 font-mono text-2xs text-faint"),children:["图片 #",d+1," · ",i.mimeType," · ",bc(Math.floor(i.data.length*0.75))]},`${i.mimeType}-${d}`))}),gs(r.output)?e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-2xs leading-relaxed whitespace-pre-wrap break-words [overflow-wrap:anywhere]",r.isError?"text-danger":"text-dim"),children:_i(r.output)}):e("p",{className:"py-1 text-faint",children:"(无文本输出)"})]});return e("pre",{className:l("surface.subtle","max-h-72 overflow-y-auto p-2.5 font-mono text-2xs leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]"),children:tl(r)})}function H(t){let{cn:l,style:c,useTheme:r}=v();if(r(),!t.todos.length)return e(k,{children:"暂无待办。"});return e("ul",{className:"space-y-1.5",children:t.todos.map((i)=>n("li",{className:c("surface.interactive","flex items-start gap-2.5 px-3 py-2 text-xs"),children:[n("span",{className:l("mt-0.5 flex size-4 shrink-0 items-center justify-center rounded-full border transition-colors duration-300",i.status==="completed"&&"border-success bg-success text-panel",i.status==="in_progress"&&"border-accent",i.status==="pending"&&"border-line-strong"),children:[i.status==="completed"&&e(J,{className:"size-2.5 animate-pop",strokeWidth:3.5}),i.status==="in_progress"&&e("span",{className:"size-1.5 animate-pulse rounded-full bg-accent"})]}),e("span",{className:l("min-w-0 flex-1 break-words leading-relaxed [overflow-wrap:anywhere]",i.status==="completed"&&"text-faint line-through decoration-faint/60",i.status==="in_progress"&&"font-medium text-ink",i.status==="pending"&&"text-dim"),children:i.content})]},`${i.status}-${i.content}`))})}function Z(t){let{cn:l,style:c,useTheme:r}=v();r();let[i,d]=a("all"),p=w(()=>t.tools.filter((f)=>f.deferred).length,[t.tools]),x=t.tools.length-p,g=w(()=>{if(i==="deferred")return t.tools.filter((f)=>f.deferred);if(i==="active")return t.tools.filter((f)=>!f.deferred);return t.tools},[t.tools,i]);if(!t.tools.length)return e(k,{children:"当前会话没有可用工具。"});return n("div",{className:"space-y-2",children:[p>0&&n("div",{className:"flex items-center gap-1 text-2xs",children:[n("button",{type:"button",onClick:()=>d("all"),className:l("rounded-lg px-2 py-1 transition-colors",i==="all"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["全部 (",t.tools.length,")"]}),n("button",{type:"button",onClick:()=>d("active"),className:l("rounded-lg px-2 py-1 transition-colors",i==="active"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["常驻 (",x,")"]}),n("button",{type:"button",onClick:()=>d("deferred"),className:l("rounded-lg px-2 py-1 transition-colors",i==="deferred"?"bg-raised font-medium text-ink":"text-faint hover:text-dim"),children:["延迟加载 (",p,")"]})]}),e("div",{className:"space-y-1.5",children:g.map((f)=>e(ie,{tool:f},`${f.group}-${f.name}`))})]})}function ie(t){let{style:l,useTheme:c}=v();return c(),e(E,{header:n("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 truncate font-mono text-ink",children:[e("span",{className:"truncate",children:t.tool.name}),t.tool.group&&e("span",{className:l("control.badge","font-sans text-3xs"),children:t.tool.group}),t.tool.deferred&&e("span",{className:l("control.badge","font-sans text-3xs"),children:"延迟加载"})]}),children:e(re,{tool:t.tool})})}function re(t){let{CopyButton:l,style:c,useTheme:r}=v();r();let i=w(()=>JSON.stringify(t.tool.schema,null,2),[t.tool.schema]);return n(m,{children:[t.tool.deferred&&e("div",{className:c("surface.subtle","mb-2 px-2.5 py-1.5 text-2xs text-faint"),children:"延迟加载:此工具默认以精简描述挂载,模型通过 toolsearch 取回定义后才向上下文注入完整参数 Schema。"}),t.tool.description&&e("pre",{className:"mb-2 max-h-60 overflow-y-auto font-sans text-xs leading-relaxed text-dim whitespace-pre-wrap break-words [overflow-wrap:anywhere]",children:eo(t.tool.description)}),n("div",{className:c("surface.subtle","group/schema relative overflow-hidden rounded-lg p-2.5"),children:[e("div",{className:"absolute right-1.5 top-1.5 z-10",children:e(l,{text:i,size:"icon-xs",className:"bg-raised/60 hover:bg-raised text-faint hover:text-ink backdrop-blur-sm"})}),e("div",{className:"max-h-72 overflow-y-auto pr-6 text-dim",children:e(R,{code:eo(i),lang:"json"})})]})]})}function le(){try{let t=localStorage.getItem("basalt.contextSidebar.tab");if(t==="tools"||t==="todos"||t==="raw")return t}catch{}return"breakdown"}function ce(t){let{style:l,useTheme:c}=v();return c(),n("div",{className:l("surface.panel","bg-panel/70 px-3 py-2"),children:[e("div",{className:"text-3xs font-medium uppercase tracking-wider text-faint",children:t.label}),e("div",{className:"mt-0.5 truncate font-mono text-xs font-semibold tabular-nums text-ink",children:t.value})]})}function Ze(t){let{Button:l,StatusChip:c,Segmented:r,cn:i,style:d,useTheme:p}=v();p();let[x,g]=a(le),f=ys({connection:t.connection,sessionID:t.session.id}),[y,b]=a(),u=f.snapshot??y,[C,N]=a(!1),[z,B]=a(!1),[_,P]=a(()=>crypto.randomUUID()),[K,V]=a(!1);s(()=>{let h=setTimeout(()=>Kn(()=>V(!0)),140);return()=>clearTimeout(h)},[]),s(()=>{if(t.session.id)b(void 0)},[t.session.id]),s(()=>{let h=!0;return N(!1),B(!0),vs(t.connection,t.session.id,`inspect:${_}`).then((D)=>{if(h)B(!1),Kn(()=>b(D))},()=>{if(h)B(!1),N(!0)}),()=>{h=!1}},[t.connection,t.session.id,_]);let S=wi(u?.items??[],u?.usableWindow,u?.calibratedTokens,u?.lastInputTokens,u?.hasPendingOutput),T=to(S.percent),j=u?.lastCacheHitRate,L=u?.usage?.cacheHitRate,X=j===void 0?"—":`${(j*100).toFixed(1)}%`,G=L===void 0?"—":`${(L*100).toFixed(1)}%`,Q=(h)=>{g(h);try{localStorage.setItem("basalt.contextSidebar.tab",h)}catch{}},Y=[{value:"breakdown",label:"构成"},{value:"tools",label:n("span",{className:"inline-flex items-center gap-1",children:["工具",u&&e("span",{className:"text-3xs text-faint tabular-nums",children:u.tools.length})]})},{value:"todos",label:n("span",{className:"inline-flex items-center gap-1",children:["待办",t.session.todos.length>0&&e("span",{className:"text-3xs text-faint tabular-nums",children:t.session.todos.length})]})},{value:"raw",label:"原始消息"}],ee=n("div",{className:"px-3.5 pt-1 pb-3",children:[n("div",{className:"flex items-start justify-between gap-3",children:[n("div",{children:[e("div",{className:"text-2xs font-medium uppercase tracking-wider text-faint",role:"status",children:z?"正在计算上下文":"预计下次输入"}),n("div",{className:"mt-0.5 flex items-baseline gap-1.5",children:[e("span",{className:"font-mono text-xl font-semibold tabular-nums text-ink",children:u?S.totalTokens.toLocaleString():"—"}),n("span",{className:"font-mono text-xs text-dim",children:["/ ",u?.usableWindow.toLocaleString()??"—"]})]})]}),e(c,{tone:T==="overflow"||T==="near_limit"?"danger":T==="sealing"?"warning":"success",children:T==="overflow"?"预计超限":T==="near_limit"?"接近上限":T==="sealing"?"接近封存":"正常"})]}),S.percent!==null&&e("meter",{className:"sr-only","aria-label":"可用上下文窗口占比",min:0,max:100,value:Math.min(100,S.percent)}),e("div",{"aria-hidden":!0,className:i("relative mt-2.5 h-2 w-full overflow-hidden rounded-full bg-raised",!u&&"animate-pulse"),children:e("div",{className:"h-full rounded-full bg-accent transition-[width] duration-500 ease-out-quint",style:{width:`${Math.min(100,S.percent??0)}%`}})}),n("div",{className:"mt-2 flex items-center justify-between text-2xs",children:[e("span",{className:"text-dim",children:S.percent===null?"暂无窗口数据":`${S.percent.toFixed(1)}% 可用窗口`}),n("span",{className:"text-faint",children:["总窗口 ",u?.contextWindow.toLocaleString()??"—"," · 80% 封存 · 97% 折叠"]})]}),n("div",{className:"mt-3 flex items-center justify-between gap-2 text-2xs",title:"最近实际发往模型的请求体大小(UTF-8 字节,图片优化后,不含 HTTP 头);重启后需重新发送请求才有记录。",children:[e("span",{className:"text-dim",children:"最近请求体"}),e("span",{className:"font-mono font-semibold tabular-nums text-ink",children:u?.lastRequestBodyBytes===void 0?"—":Zt(u.lastRequestBodyBytes)})]}),n("div",{className:"mt-2 flex items-center justify-between gap-2 text-2xs",children:[e("span",{className:"text-dim",children:"最近实际输入"}),n("span",{className:"font-mono tabular-nums text-ink",children:[u?.lastInputTokens?.toLocaleString()??"—"," tokens"]})]}),u?.usage&&(u.usage.input>0||u.usage.output>0||u.usage.cacheRead>0||u.usage.cacheWrite>0||u.usage.cost>0)&&e("div",{className:"mt-3 grid grid-cols-2 gap-2",children:[["Input",u.usage.input.toLocaleString()],["Output",u.usage.output.toLocaleString()],["缓存命中 当前 / 平均",`${X} / ${G}`],["平均 TPS",u.usage.tps!==void 0?`${u.usage.tps.toFixed(1)} tok/s`:"—"]].map(([h,D])=>e(ce,{label:h,value:D},h))})]});return n(m,{children:[ee,e("div",{className:"flex justify-end px-3",children:e(l,{size:"sm",variant:"ghost",disabled:z,onClick:()=>P(crypto.randomUUID()),children:z?"加载明细…":"刷新明细"})}),e("div",{className:"px-3 py-2",children:e(r,{value:x,onChange:Q,options:Y,className:"w-full grid grid-cols-4"})}),n("div",{className:"min-h-0 flex-1 overflow-y-auto px-3 py-3",children:[C&&!u&&n("div",{role:"alert",className:"flex items-center justify-between rounded-xl border border-danger/30 bg-danger/8 px-3 py-2 text-xs text-danger",children:[e("span",{children:"上下文加载失败。"}),e(l,{size:"sm",variant:"ghost",onClick:()=>P(crypto.randomUUID()),children:"重试"})]}),e("div",{children:!K?e(I,{}):n(m,{children:[x==="raw"&&e(F,{entries:t.entries}),x==="todos"&&e(H,{todos:t.session.todos}),x==="breakdown"&&(y?e(q,{items:wi(y.items,y.usableWindow).items}):!C?e(I,{}):null),x==="tools"&&(y?e(Z,{tools:y.tools}):!C?e(I,{}):null)]})},x)]})]})}export{Ze as ContextSidebar};
Binary file
Binary file
@@ -0,0 +1,38 @@
1
+ import{t,i,Ee,G,C,Y,M,P,R,I,d,y,oa,Yi,Ht,E,Zi}from"./chunk-9nh1aeqs.js";import{Cr}from"./chunk-xj1w9054.js";var Jt=function(){var e=t(function(wt,v,S,w){for(S=S||{},w=wt.length;w--;S[wt[w]]=v);return S},"o"),n=[1,24],a=[1,25],o=[1,26],p=[1,27],l=[1,28],r=[1,63],h=[1,64],s=[1,65],f=[1,66],m=[1,67],b=[1,68],x=[1,69],T=[1,29],B=[1,30],j=[1,31],V=[1,32],F=[1,33],q=[1,34],rt=[1,35],st=[1,36],at=[1,37],it=[1,38],ot=[1,39],lt=[1,40],ct=[1,41],ut=[1,42],ht=[1,43],dt=[1,44],pt=[1,45],ft=[1,46],yt=[1,47],_t=[1,48],bt=[1,50],mt=[1,51],gt=[1,52],xt=[1,53],vt=[1,54],kt=[1,55],Et=[1,56],St=[1,57],Tt=[1,58],Ct=[1,59],Rt=[1,60],Bt=[14,42],te=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Yt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],O=[1,82],D=[1,83],N=[1,84],A=[1,85],L=[12,14,42],ye=[12,14,33,42],Xt=[12,14,33,42,76,77,79,80],Nt=[12,33],ee=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ne={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:t(function(v,S,w,g,U,u,Ft){var _=u.length-1;switch(U){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(u[_-3]);break;case 19:g.setTitle(u[_].substring(6)),this.$=u[_].substring(6);break;case 20:g.setAccDescription(u[_].substring(15)),this.$=u[_].substring(15);break;case 21:this.$=u[_].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=u[_].trim(),g.setAccDescription(this.$);break;case 28:u[_].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...u[_]),this.$=u[_];break;case 29:u[_].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...u[_]),this.$=u[_];break;case 30:g.addPersonOrSystemBoundary(...u[_]),this.$=u[_];break;case 31:u[_].splice(2,0,"CONTAINER"),g.addContainerBoundary(...u[_]),this.$=u[_];break;case 32:g.addDeploymentNode("node",...u[_]),this.$=u[_];break;case 33:g.addDeploymentNode("nodeL",...u[_]),this.$=u[_];break;case 34:g.addDeploymentNode("nodeR",...u[_]),this.$=u[_];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...u[_]),this.$=u[_];break;case 40:g.addPersonOrSystem("external_person",...u[_]),this.$=u[_];break;case 41:g.addPersonOrSystem("system",...u[_]),this.$=u[_];break;case 42:g.addPersonOrSystem("system_db",...u[_]),this.$=u[_];break;case 43:g.addPersonOrSystem("system_queue",...u[_]),this.$=u[_];break;case 44:g.addPersonOrSystem("external_system",...u[_]),this.$=u[_];break;case 45:g.addPersonOrSystem("external_system_db",...u[_]),this.$=u[_];break;case 46:g.addPersonOrSystem("external_system_queue",...u[_]),this.$=u[_];break;case 47:g.addContainer("container",...u[_]),this.$=u[_];break;case 48:g.addContainer("container_db",...u[_]),this.$=u[_];break;case 49:g.addContainer("container_queue",...u[_]),this.$=u[_];break;case 50:g.addContainer("external_container",...u[_]),this.$=u[_];break;case 51:g.addContainer("external_container_db",...u[_]),this.$=u[_];break;case 52:g.addContainer("external_container_queue",...u[_]),this.$=u[_];break;case 53:g.addComponent("component",...u[_]),this.$=u[_];break;case 54:g.addComponent("component_db",...u[_]),this.$=u[_];break;case 55:g.addComponent("component_queue",...u[_]),this.$=u[_];break;case 56:g.addComponent("external_component",...u[_]),this.$=u[_];break;case 57:g.addComponent("external_component_db",...u[_]),this.$=u[_];break;case 58:g.addComponent("external_component_queue",...u[_]),this.$=u[_];break;case 60:g.addRel("rel",...u[_]),this.$=u[_];break;case 61:g.addRel("birel",...u[_]),this.$=u[_];break;case 62:g.addRel("rel_u",...u[_]),this.$=u[_];break;case 63:g.addRel("rel_d",...u[_]),this.$=u[_];break;case 64:g.addRel("rel_l",...u[_]),this.$=u[_];break;case 65:g.addRel("rel_r",...u[_]),this.$=u[_];break;case 66:g.addRel("rel_b",...u[_]),this.$=u[_];break;case 67:u[_].splice(0,1),g.addRel("rel",...u[_]),this.$=u[_];break;case 68:g.updateElStyle("update_el_style",...u[_]),this.$=u[_];break;case 69:g.updateRelStyle("update_rel_style",...u[_]),this.$=u[_];break;case 70:g.updateLayoutConfig("update_layout_config",...u[_]),this.$=u[_];break;case 71:this.$=[u[_]];break;case 72:u[_].unshift(u[_-1]),this.$=u[_];break;case 73:case 75:this.$=u[_].trim();break;case 74:let At={};At[u[_-1].trim()]=u[_].trim(),this.$=At;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:m,40:b,41:x,43:23,44:T,45:B,46:j,47:V,48:F,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{13:70,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:m,40:b,41:x,43:23,44:T,45:B,46:j,47:V,48:F,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{13:71,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:m,40:b,41:x,43:23,44:T,45:B,46:j,47:V,48:F,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{13:72,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:m,40:b,41:x,43:23,44:T,45:B,46:j,47:V,48:F,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{13:73,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:m,40:b,41:x,43:23,44:T,45:B,46:j,47:V,48:F,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{14:[1,74]},e(Bt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:h,37:s,38:f,39:m,40:b,41:x,44:T,45:B,46:j,47:V,48:F,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt}),e(Bt,[2,14]),e(te,[2,16],{12:[1,76]}),e(Bt,[2,36],{12:[1,77]}),e(Yt,[2,19]),e(Yt,[2,20]),{25:[1,78]},{27:[1,79]},e(Yt,[2,23]),{35:80,75:81,76:O,77:D,79:N,80:A},{35:86,75:81,76:O,77:D,79:N,80:A},{35:87,75:81,76:O,77:D,79:N,80:A},{35:88,75:81,76:O,77:D,79:N,80:A},{35:89,75:81,76:O,77:D,79:N,80:A},{35:90,75:81,76:O,77:D,79:N,80:A},{35:91,75:81,76:O,77:D,79:N,80:A},{35:92,75:81,76:O,77:D,79:N,80:A},{35:93,75:81,76:O,77:D,79:N,80:A},{35:94,75:81,76:O,77:D,79:N,80:A},{35:95,75:81,76:O,77:D,79:N,80:A},{35:96,75:81,76:O,77:D,79:N,80:A},{35:97,75:81,76:O,77:D,79:N,80:A},{35:98,75:81,76:O,77:D,79:N,80:A},{35:99,75:81,76:O,77:D,79:N,80:A},{35:100,75:81,76:O,77:D,79:N,80:A},{35:101,75:81,76:O,77:D,79:N,80:A},{35:102,75:81,76:O,77:D,79:N,80:A},{35:103,75:81,76:O,77:D,79:N,80:A},{35:104,75:81,76:O,77:D,79:N,80:A},e(L,[2,59]),{35:105,75:81,76:O,77:D,79:N,80:A},{35:106,75:81,76:O,77:D,79:N,80:A},{35:107,75:81,76:O,77:D,79:N,80:A},{35:108,75:81,76:O,77:D,79:N,80:A},{35:109,75:81,76:O,77:D,79:N,80:A},{35:110,75:81,76:O,77:D,79:N,80:A},{35:111,75:81,76:O,77:D,79:N,80:A},{35:112,75:81,76:O,77:D,79:N,80:A},{35:113,75:81,76:O,77:D,79:N,80:A},{35:114,75:81,76:O,77:D,79:N,80:A},{35:115,75:81,76:O,77:D,79:N,80:A},{20:116,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:m,40:b,41:x,43:23,44:T,45:B,46:j,47:V,48:F,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt},{12:[1,118],33:[1,117]},{35:119,75:81,76:O,77:D,79:N,80:A},{35:120,75:81,76:O,77:D,79:N,80:A},{35:121,75:81,76:O,77:D,79:N,80:A},{35:122,75:81,76:O,77:D,79:N,80:A},{35:123,75:81,76:O,77:D,79:N,80:A},{35:124,75:81,76:O,77:D,79:N,80:A},{35:125,75:81,76:O,77:D,79:N,80:A},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Bt,[2,15]),e(te,[2,17],{21:22,19:130,22:n,23:a,24:o,26:p,28:l}),e(Bt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:n,23:a,24:o,26:p,28:l,34:r,36:h,37:s,38:f,39:m,40:b,41:x,44:T,45:B,46:j,47:V,48:F,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:Rt}),e(Yt,[2,21]),e(Yt,[2,22]),e(L,[2,39]),e(ye,[2,71],{75:81,35:132,76:O,77:D,79:N,80:A}),e(Xt,[2,73]),{78:[1,133]},e(Xt,[2,75]),e(Xt,[2,76]),e(L,[2,40]),e(L,[2,41]),e(L,[2,42]),e(L,[2,43]),e(L,[2,44]),e(L,[2,45]),e(L,[2,46]),e(L,[2,47]),e(L,[2,48]),e(L,[2,49]),e(L,[2,50]),e(L,[2,51]),e(L,[2,52]),e(L,[2,53]),e(L,[2,54]),e(L,[2,55]),e(L,[2,56]),e(L,[2,57]),e(L,[2,58]),e(L,[2,60]),e(L,[2,61]),e(L,[2,62]),e(L,[2,63]),e(L,[2,64]),e(L,[2,65]),e(L,[2,66]),e(L,[2,67]),e(L,[2,68]),e(L,[2,69]),e(L,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(Nt,[2,28]),e(Nt,[2,29]),e(Nt,[2,30]),e(Nt,[2,31]),e(Nt,[2,32]),e(Nt,[2,33]),e(Nt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(te,[2,18]),e(Bt,[2,38]),e(ye,[2,72]),e(Xt,[2,74]),e(L,[2,24]),e(L,[2,35]),e(ee,[2,25]),e(ee,[2,26],{12:[1,138]}),e(ee,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:t(function(v,S){if(S.recoverable)this.trace(v);else{var w=Error(v);throw w.hash=S,w}},"parseError"),parse:t(function(v){var S=this,w=[0],g=[],U=[null],u=[],Ft=this.table,_="",At=0,_e=0,be=0,Ve=2,me=1,Ye=u.slice.call(arguments,1),z=Object.create(this.lexer),Lt={yy:{}};for(var re in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,re))Lt.yy[re]=this.yy[re];if(z.setInput(v,Lt.yy),Lt.yy.lexer=z,Lt.yy.parser=this,typeof z.yylloc>"u")z.yylloc={};var se=z.yylloc;u.push(se);var Fe=z.options&&z.options.ranges;if(typeof Lt.yy.parseError==="function")this.parseError=Lt.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ue(Q){w.length=w.length-2*Q,U.length=U.length-Q,u.length=u.length-Q}t(Ue,"popStack");function ge(){var Q=g.pop()||z.lex()||me;if(typeof Q!=="number"){if(Q instanceof Array)g=Q,Q=g.pop();Q=S.symbols_[Q]||Q}return Q}t(ge,"lex");var W,ae,It,H,X0,ie,Vt={},Qt,et,xe,Kt;while(!0){if(It=w[w.length-1],this.defaultActions[It])H=this.defaultActions[It];else{if(W===null||typeof W>"u")W=ge();H=Ft[It]&&Ft[It][W]}if(typeof H>"u"||!H.length||!H[0]){var oe="";Kt=[];for(Qt in Ft[It])if(this.terminals_[Qt]&&Qt>Ve)Kt.push("'"+this.terminals_[Qt]+"'");if(z.showPosition)oe="Parse error on line "+(At+1)+`:
2
+ `+z.showPosition()+`
3
+ Expecting `+Kt.join(", ")+", got '"+(this.terminals_[W]||W)+"'";else oe="Parse error on line "+(At+1)+": Unexpected "+(W==me?"end of input":"'"+(this.terminals_[W]||W)+"'");this.parseError(oe,{text:z.match,token:this.terminals_[W]||W,line:z.yylineno,loc:se,expected:Kt})}if(H[0]instanceof Array&&H.length>1)throw Error("Parse Error: multiple actions possible at state: "+It+", token: "+W);switch(H[0]){case 1:if(w.push(W),U.push(z.yytext),u.push(z.yylloc),w.push(H[1]),W=null,!ae){if(_e=z.yyleng,_=z.yytext,At=z.yylineno,se=z.yylloc,be>0)be--}else W=ae,ae=null;break;case 2:if(et=this.productions_[H[1]][1],Vt.$=U[U.length-et],Vt._$={first_line:u[u.length-(et||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(et||1)].first_column,last_column:u[u.length-1].last_column},Fe)Vt._$.range=[u[u.length-(et||1)].range[0],u[u.length-1].range[1]];if(ie=this.performAction.apply(Vt,[_,_e,At,Lt.yy,H[1],U,u].concat(Ye)),typeof ie<"u")return ie;if(et)w=w.slice(0,-1*et*2),U=U.slice(0,-1*et),u=u.slice(0,-1*et);w.push(this.productions_[H[1]][0]),U.push(Vt.$),u.push(Vt._$),xe=Ft[w[w.length-2]][w[w.length-1]],w.push(xe);break;case 3:return!0}}return!0},"parse")},Be=function(){var wt={EOF:1,parseError:t(function(S,w){if(this.yy.parser)this.yy.parser.parseError(S,w);else throw Error(S)},"parseError"),setInput:t(function(v,S){if(this.yy=S||this.yy||{},this._input=v,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 v=this._input[0];this.yytext+=v,this.yyleng++,this.offset++,this.match+=v,this.matched+=v;var S=v.match(/(?:\r\n?|\n).*/g);if(S)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),v},"input"),unput:t(function(v){var S=v.length,w=v.split(/(?:\r\n?|\n)/g);this._input=v+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-S),this.offset-=S;var g=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),w.length-1)this.yylineno-=w.length-1;var U=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:w?(w.length===g.length?this.yylloc.first_column:0)+g[g.length-w.length].length-w[0].length:this.yylloc.first_column-S},this.options.ranges)this.yylloc.range=[U[0],U[0]+this.yyleng-S];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(v){this.unput(this.match.slice(v))},"less"),pastInput:t(function(){var v=this.matched.substr(0,this.matched.length-this.match.length);return(v.length>20?"...":"")+v.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var v=this.match;if(v.length<20)v+=this._input.substr(0,20-v.length);return(v.substr(0,20)+(v.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var v=this.pastInput(),S=Array(v.length+1).join("-");return v+this.upcomingInput()+`
5
+ `+S+"^"},"showPosition"),test_match:t(function(v,S){var w,g,U;if(this.options.backtrack_lexer){if(U={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)U.yylloc.range=this.yylloc.range.slice(0)}if(g=v[0].match(/(?:\r\n?|\n).*/g),g)this.yylineno+=g.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+v[0].length},this.yytext+=v[0],this.match+=v[0],this.matches=v,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(v[0].length),this.matched+=v[0],w=this.performAction.call(this,this.yy,this,S,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(w)return w;else if(this._backtrack){for(var u in U)this[u]=U[u];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var v,S,w,g;if(!this._more)this.yytext="",this.match="";var U=this._currentRules();for(var u=0;u<U.length;u++)if(w=this._input.match(this.rules[U[u]]),w&&(!S||w[0].length>S[0].length)){if(S=w,g=u,this.options.backtrack_lexer)if(v=this.test_match(w,U[u]),v!==!1)return v;else if(this._backtrack){S=!1;continue}else return!1;else if(!this.options.flex)break}if(S){if(v=this.test_match(S,U[g]),v!==!1)return v;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 S=this.next();if(S)return S;else return this.lex()},"lex"),begin:t(function(S){this.conditionStack.push(S)},"begin"),popState:t(function(){var S=this.conditionStack.length-1;if(S>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(S){if(S=this.conditionStack.length-1-Math.abs(S||0),S>=0)return this.conditionStack[S];else return"INITIAL"},"topState"),pushState:t(function(S){this.begin(S)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(S,w,g,U){var u=U;switch(g){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),26;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:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;break;case 23:return this.begin("person"),44;break;case 24:return this.begin("system_ext_queue"),51;break;case 25:return this.begin("system_ext_db"),50;break;case 26:return this.begin("system_ext"),49;break;case 27:return this.begin("system_queue"),48;break;case 28:return this.begin("system_db"),47;break;case 29:return this.begin("system"),46;break;case 30:return this.begin("boundary"),37;break;case 31:return this.begin("enterprise_boundary"),34;break;case 32:return this.begin("system_boundary"),36;break;case 33:return this.begin("container_ext_queue"),57;break;case 34:return this.begin("container_ext_db"),56;break;case 35:return this.begin("container_ext"),55;break;case 36:return this.begin("container_queue"),54;break;case 37:return this.begin("container_db"),53;break;case 38:return this.begin("container"),52;break;case 39:return this.begin("container_boundary"),38;break;case 40:return this.begin("component_ext_queue"),63;break;case 41:return this.begin("component_ext_db"),62;break;case 42:return this.begin("component_ext"),61;break;case 43:return this.begin("component_queue"),60;break;case 44:return this.begin("component_db"),59;break;case 45:return this.begin("component"),58;break;case 46:return this.begin("node"),39;break;case 47:return this.begin("node"),39;break;case 48:return this.begin("node_l"),40;break;case 49:return this.begin("node_r"),41;break;case 50:return this.begin("rel"),64;break;case 51:return this.begin("birel"),65;break;case 52:return this.begin("rel_u"),66;break;case 53:return this.begin("rel_u"),66;break;case 54:return this.begin("rel_d"),67;break;case 55:return this.begin("rel_d"),67;break;case 56:return this.begin("rel_l"),68;break;case 57:return this.begin("rel_l"),68;break;case 58:return this.begin("rel_r"),69;break;case 59:return this.begin("rel_r"),69;break;case 60:return this.begin("rel_b"),70;break;case 61:return this.begin("rel_index"),71;break;case 62:return this.begin("update_el_style"),72;break;case 63:return this.begin("update_rel_style"),73;break;case 64:return this.begin("update_layout_config"),74;break;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";break;case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";break;case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[65,66,67,68],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return wt}();ne.lexer=Be;function qt(){this.yy={}}return t(qt,"Parser"),qt.prototype=ne,ne.Parser=qt,new qt}();Jt.parser=Jt;var je=Jt,Ce=t((e)=>d()[e],"getRequiredConfig"),K=new Set(["label","descr","techn","type"]),Mt=t((e,n)=>{for(let[a,o]of Object.entries(n)){if(o===void 0)continue;if(typeof o==="object"){let[p,l]=Object.entries(o)[0];e[p]=K.has(p)?{text:l}:l}else e[a]=o}},"assignAttributes"),Re=t(()=>({alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}),"createGlobalBoundary"),Z=[],Ot=[""],X="global",J="",tt=[Re()],Wt=[],de="",pe=!1,Zt=4,$t=2,we,ze=t(function(){return we},"getC4Type"),We=t(function(e){we=G(e,d())},"setC4Type"),Xe=t(function(e,n,a,o,p,l,r,h,s){if(e===void 0||e===null||n===void 0||n===null||a===void 0||a===null||o===void 0||o===null)return;let f={},m=Wt.find((b)=>b.from===n&&b.to===a);if(m)f=m;else Wt.push(f);if(f.type=e,f.from=n,f.to=a,f.label={text:o},p===void 0||p===null)f.techn??={text:""};else if(typeof p==="object"){let[b,x]=Object.entries(p)[0];f[b]=K.has(b)?{text:x}:x}else f.techn={text:p};if(l===void 0||l===null)f.descr??={text:""};else if(typeof l==="object"){let[b,x]=Object.entries(l)[0];f[b]=K.has(b)?{text:x}:x}else f.descr={text:l};Mt(f,{sprite:r,tags:h,link:s}),f.wrap=Dt()},"addRel"),qe=t(function(e,n,a,o,p,l,r){if(n===null||a===null)return;let h={},s=Z.find((f)=>f.alias===n);if(s&&n===s.alias)h=s;else h.alias=n,Z.push(h);if(a===void 0||a===null)h.label={text:""};else h.label={text:a};if(o===void 0||o===null)h.descr??={text:""};else if(typeof o==="object"){let[f,m]=Object.entries(o)[0];h[f]=K.has(f)?{text:m}:m}else h.descr={text:o};Mt(h,{sprite:p,tags:l,link:r}),h.typeC4Shape={text:e},h.parentBoundary=X,h.wrap=Dt()},"addPersonOrSystem"),He=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=Z.find((m)=>m.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,Z.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[m,b]=Object.entries(o)[0];s[m]=K.has(m)?{text:b}:b}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[m,b]=Object.entries(p)[0];s[m]=K.has(m)?{text:b}:b}else s.descr={text:p};Mt(s,{sprite:l,tags:r,link:h}),s.wrap=Dt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addContainer"),Qe=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=Z.find((m)=>m.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,Z.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[m,b]=Object.entries(o)[0];s[m]=K.has(m)?{text:b}:b}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[m,b]=Object.entries(p)[0];s[m]=K.has(m)?{text:b}:b}else s.descr={text:p};Mt(s,{sprite:l,tags:r,link:h}),s.wrap=Dt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addComponent"),Ke=t(function(e,n,a,o,p){if(e===null||n===null)return;let l={},r=tt.find((h)=>h.alias===e);if(r&&e===r.alias)l=r;else l.alias=e,tt.push(l);if(n===void 0||n===null)l.label={text:""};else l.label={text:n};if(a===void 0||a===null)l.type={text:"system"};else if(typeof a==="object"){let[h,s]=Object.entries(a)[0];l[h]=K.has(h)?{text:s}:s}else l.type={text:a};Mt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Dt(),J=X,X=e,Ot.push(J)},"addPersonOrSystemBoundary"),Ge=t(function(e,n,a,o,p){if(e===null||n===null)return;let l={},r=tt.find((h)=>h.alias===e);if(r&&e===r.alias)l=r;else l.alias=e,tt.push(l);if(n===void 0||n===null)l.label={text:""};else l.label={text:n};if(a===void 0||a===null)l.type={text:"container"};else if(typeof a==="object"){let[h,s]=Object.entries(a)[0];l[h]=K.has(h)?{text:s}:s}else l.type={text:a};Mt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Dt(),J=X,X=e,Ot.push(J)},"addContainerBoundary"),Je=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=tt.find((m)=>m.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,tt.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.type={text:"node"};else if(typeof o==="object"){let[m,b]=Object.entries(o)[0];s[m]=K.has(m)?{text:b}:b}else s.type={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[m,b]=Object.entries(p)[0];s[m]=K.has(m)?{text:b}:b}else s.descr={text:p};Mt(s,{tags:r,link:h}),s.nodeType=e,s.parentBoundary=X,s.wrap=Dt(),J=X,X=n,Ot.push(J)},"addDeploymentNode"),Ze=t(function(){X=J,Ot.pop(),J=Ot.pop(),Ot.push(J)},"popBoundaryParseStack"),$e=t(function(e,n,a,o,p,l,r,h,s,f,m){let b=Z.find((x)=>x.alias===n);if(b===void 0){if(b=tt.find((x)=>x.alias===n),b===void 0)return}if(a!==void 0&&a!==null)if(typeof a==="object"){let[x,T]=Object.entries(a)[0];b[x]=T}else b.bgColor=a;if(o!==void 0&&o!==null)if(typeof o==="object"){let[x,T]=Object.entries(o)[0];b[x]=T}else b.fontColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[x,T]=Object.entries(p)[0];b[x]=T}else b.borderColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[x,T]=Object.entries(l)[0];b[x]=T}else b.shadowing=l;if(r!==void 0&&r!==null)if(typeof r==="object"){let[x,T]=Object.entries(r)[0];b[x]=T}else b.shape=r;if(h!==void 0&&h!==null)if(typeof h==="object"){let[x,T]=Object.entries(h)[0];b[x]=T}else b.sprite=h;if(s!==void 0&&s!==null)if(typeof s==="object"){let[x,T]=Object.entries(s)[0];b[x]=T}else b.techn=s;if(f!==void 0&&f!==null)if(typeof f==="object"){let[x,T]=Object.entries(f)[0];b[x]=T}else b.legendText=f;if(m!==void 0&&m!==null)if(typeof m==="object"){let[x,T]=Object.entries(m)[0];b[x]=T}else b.legendSprite=m},"updateElStyle"),t0=t(function(e,n,a,o,p,l,r){let h=Wt.find((s)=>s.from===n&&s.to===a);if(h===void 0)return;if(o!==void 0&&o!==null)if(typeof o==="object"){let[s,f]=Object.entries(o)[0];h[s]=f}else h.textColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[s,f]=Object.entries(p)[0];h[s]=f}else h.lineColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[s,f]=Object.entries(l)[0];h[s]=parseInt(f)}else h.offsetX=parseInt(l);if(r!==void 0&&r!==null)if(typeof r==="object"){let[s,f]=Object.entries(r)[0];h[s]=parseInt(f)}else h.offsetY=parseInt(r)},"updateRelStyle"),e0=t(function(e,n,a){let o=Zt,p=$t;if(typeof n==="object"){let l=Object.values(n)[0];o=parseInt(l)}else o=parseInt(n);if(typeof a==="object"){let l=Object.values(a)[0];p=parseInt(l)}else p=parseInt(a);if(o>=1)Zt=o;if(p>=1)$t=p},"updateLayoutConfig"),n0=t(function(){return Zt},"getC4ShapeInRow"),r0=t(function(){return $t},"getC4BoundaryInRow"),s0=t(function(){return X},"getCurrentBoundaryParse"),a0=t(function(){return J},"getParentBoundaryParse"),Oe=t(function(e){if(e===void 0||e===null)return Z;else return Z.filter((n)=>n.parentBoundary===e)},"getC4ShapeArray"),i0=t(function(e){return Z.find((n)=>n.alias===e)??tt.find((n)=>n.alias===e)},"getC4Shape"),o0=t(function(e){return Object.keys(Oe(e))},"getC4ShapeKeys"),Pe=t(function(e){if(e===void 0||e===null)return tt;else return tt.filter((n)=>n.parentBoundary===e)},"getBoundaries"),l0=Pe,c0=t(function(){return Wt},"getRels"),u0=t(function(){return de},"getTitle"),h0=t(function(e){pe=e},"setWrap"),Dt=t(function(){return pe},"autoWrap"),d0=t(function(){Z=[],tt=[Re()],J="",X="global",Ot=[""],Wt=[],Ot=[""],de="",pe=!1,Zt=4,$t=2},"clear"),p0={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},f0={FILLED:0,OPEN:1},y0={LEFTOF:0,RIGHTOF:1,OVER:2},_0=t(function(e){de=G(e,d())},"setTitle"),ce={addPersonOrSystem:qe,addPersonOrSystemBoundary:Ke,addContainer:He,addContainerBoundary:Ge,addComponent:Qe,addDeploymentNode:Je,popBoundaryParseStack:Ze,addRel:Xe,updateElStyle:$e,updateRelStyle:t0,updateLayoutConfig:e0,autoWrap:Dt,setWrap:h0,getC4ShapeArray:Oe,getC4Shape:i0,getC4ShapeKeys:o0,getBoundaries:Pe,getBoundarys:l0,getCurrentBoundaryParse:s0,getParentBoundaryParse:a0,getRels:c0,getTitle:u0,getC4Type:ze,getC4ShapeInRow:n0,getC4BoundaryInRow:r0,setAccTitle:M,getAccTitle:P,getAccDescription:I,setAccDescription:R,getConfig:t(()=>Ce("c4"),"getConfig"),clear:d0,LINETYPE:p0,ARROWTYPE:f0,PLACEMENT:y0,setTitle:_0,setC4Type:We},De=t(function(e,n){return Cr(e,n)},"drawRect"),b0=t((e,n,a,o)=>{let p=e.append("g"),l=0;for(let r of n){let h=r.textColor?r.textColor:"#444444",s=r.lineColor?r.lineColor:"#444444",f=r.offsetX?parseInt(String(r.offsetX)):0,m=r.offsetY?parseInt(String(r.offsetY)):0,b="";if(l===0){let B=p.append("line");if(B.attr("x1",r.startPoint.x),B.attr("y1",r.startPoint.y),B.attr("x2",r.endPoint.x),B.attr("y2",r.endPoint.y),B.attr("stroke-width","1"),B.attr("stroke",s),B.style("fill","none"),r.type!=="rel_b")B.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")B.attr("marker-start","url(#"+o+"-arrowend)");l=-1}else{let B=p.append("path");if(B.attr("fill","none").attr("stroke-width","1").attr("stroke",s).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",r.startPoint.x).replaceAll("starty",r.startPoint.y).replaceAll("controlx",r.startPoint.x+(r.endPoint.x-r.startPoint.x)/2-(r.endPoint.x-r.startPoint.x)/4).replaceAll("controly",r.startPoint.y+(r.endPoint.y-r.startPoint.y)/2).replaceAll("stopx",r.endPoint.x).replaceAll("stopy",r.endPoint.y)),r.type!=="rel_b")B.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")B.attr("marker-start","url(#"+o+"-arrowend)")}let x=r.label.width,T=a.messageFont();if(Ut(a)(r.label.text,p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+f,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+m,x,r.label.height,{fill:h},T),r.techn&&r.techn.text!=="")T=a.messageFont(),Ut(a)("["+r.techn.text+"]",p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+f,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+a.messageFontSize+5+m,Math.max(x,r.techn.width),r.techn.height,{fill:h,"font-style":"italic"},T)}},"drawRels"),m0=t(function(e,n,a){let o=e.append("g"),p=n.bgColor?n.bgColor:"none",l=n.borderColor?n.borderColor:"#444444",r=n.fontColor?n.fontColor:"black",h={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};if(n.nodeType)h={"stroke-width":1};let s={x:n.x,y:n.y,fill:p,stroke:l,width:n.width,height:n.height,rx:2.5,ry:2.5,attrs:h};De(o,s);let f=a.boundaryFont();if(f.fontWeight="bold",f.fontSize=f.fontSize+2,f.fontColor=r,Ut(a)(n.label.text,o,n.x,n.y+n.label.Y,n.width,n.height,{fill:"#444444"},f),n.type&&n.type.text!=="")f=a.boundaryFont(),f.fontColor=r,Ut(a)(n.type.text,o,n.x,n.y+n.type.Y,n.width,n.height,{fill:"#444444"},f);if(n.descr&&n.descr.text!=="")f=a.boundaryFont(),f.fontSize=f.fontSize-2,f.fontColor=r,Ut(a)(n.descr.text,o,n.x,n.y+n.descr.Y,n.width,n.height,{fill:"#444444"},f)},"drawBoundary"),g0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),x0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),v0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),k0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},"insertArrowHead"),E0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},"insertArrowEnd"),S0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),T0=t(function(e,n){let o=e.append("defs").append("marker").attr("id",n+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);o.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),o.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},"insertArrowCrossHead"),Ut=function(){function e(p,l,r,h,s,f,m){let b=l.append("text").attr("x",r+s/2).attr("y",h+f/2+5).style("text-anchor","middle").text(p);o(b,m)}t(e,"byText");function n(p,l,r,h,s,f,m,b){let{fontSize:x,fontFamily:T,fontWeight:B}=b,j=p.split(C.lineBreakRegex);for(let V=0;V<j.length;V++){let F=V*x-x*(j.length-1)/2,q=l.append("text").attr("x",r+s/2).attr("y",h).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",x).style("font-weight",B).style("font-family",T);q.append("tspan").attr("dy",F).text(j[V]).attr("alignment-baseline","mathematical"),o(q,m)}}t(n,"byTspan");function a(p,l,r,h,s,f,m,b){let x=l.append("switch"),B=x.append("foreignObject").attr("x",r).attr("y",h).attr("width",s).attr("height",f).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");B.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(p),n(p,x,r,h,s,f,m,b),o(B,m)}t(a,"byFo");function o(p,l){for(let r in l)if(l.hasOwnProperty(r))p.attr(r,l[r])}return t(o,"_setTextAttrs"),function(p){return p.textPlacement==="fo"?a:p.textPlacement==="old"?e:n}}(),nt={drawRect:De,drawBoundary:m0,drawRels:b0,insertArrowHead:k0,insertArrowEnd:E0,insertArrowFilledHead:S0,insertArrowCrossHead:T0,insertDatabaseIcon:g0,insertComputerIcon:x0,insertClockIcon:v0},C0=t((e,n)=>{if(n==="sandbox"){let o=y("#i"+e).node()?.contentDocument;if(!o)throw Error(`Sandbox iframe #i${e} is missing its content document`);return{root:y(o.body),doc:o}}return{root:y("body"),doc:document}},"getDiagramRoot"),R0=new Set(["system_queue","external_system_queue","container_queue","external_container_queue","component_queue","external_component_queue"]),w0=new Set(["system_db","external_system_db","container_db","external_container_db","component_db","external_component_db"]),O0={person:"person",box:"rounded",rounded:"rounded",cylinder:"cylinder",database:"cylinder",db:"cylinder",queue:"h-cyl",pipe:"h-cyl",component:"fr-rect"},le=t((e)=>e?O0[e.toLowerCase()]:void 0,"keywordShape"),P0=t((e)=>{let n=le(e.shape)??le(e.sprite);if(n)return n;if(e.tags)for(let o of e.tags.split(",")){let p=le(o.trim());if(p)return p}let a=e.typeC4Shape.text;if(a==="person"||a==="external_person")return"person";if(w0.has(a))return"cylinder";if(R0.has(a))return"h-cyl";return"rounded"},"resolveNodeShape"),D0={person:"Person",system:"Software System",container:"Container",component:"Component"},N0=t((e)=>{let n=e.replace(/^external_/,"").replace(/_(db|queue)$/,"");return D0[n]??n.replace(/_/g," ")},"stereotypeLabel"),A0=t((e)=>e.startsWith("external_"),"isExternal"),L0=t((e)=>{let n=N0(e.typeC4Shape.text);return e.techn?.text?`[${n}: ${e.techn.text}]`:`[${n}]`},"stereotypeText"),Ne=["person","system","system_db","system_queue","container","container_db","container_queue","component","component_db","component_queue"].flatMap((e)=>[e,`external_${e}`]),I0=new Set(Ne),ve=t((e)=>I0.has(e),"isC4ElementType"),M0=t((e,n)=>{let a=e.typeC4Shape.text,o=e.bgColor??(ve(a)&&n[`${a}_bg_color`]),p=e.borderColor??(ve(a)&&n[`${a}_border_color`]),l=[];if(o)l.push(`fill:${o}`);if(p)l.push(`stroke:${p}`);return l.push(`color:${e.fontColor??"#FFFFFF"}`),l},"elementCssStyles"),ke=t((e,n,a,o,p)=>{let l=e.typeC4Shape.text,r=["c4-shape",`c4-${l}`];if(A0(l))r.push("c4-external");let h=P0(e),s=M0(e,n);if(h==="rounded"||h==="fr-rect")s.push("rx:12px","ry:12px");return{id:e.alias,label:e.label.text,stereotype:L0(e),description:e.descr?.text?[e.descr.text]:void 0,labelType:"string",isGroup:!1,shape:h,cssClasses:r.join(" "),cssStyles:s,padding:a,look:o,useHtmlLabels:!1,width:p}},"buildC4Node"),jt=0,zt=0,Ae=4,ue=2;Jt.yy=ce;var k={},Le=class{static{t(this,"Bounds")}constructor(e){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,he(e.db.getConfig())}setData(e,n,a,o){this.nextData.startx=this.data.startx=e,this.nextData.stopx=this.data.stopx=n,this.nextData.starty=this.data.starty=a,this.nextData.stopy=this.data.stopy=o}updateVal(e,n,a,o){if(e[n]===void 0)e[n]=a;else e[n]=o(a,e[n])}insert(e){this.nextData.cnt=this.nextData.cnt+1;let n=this.nextData.stopx,a=this.data.widthLimit,o=this.nextData.startx===this.nextData.stopx?n+e.margin:n+e.margin*2,p=o+e.width,l=this.nextData.starty+e.margin*2,r=l+e.height;if(o>=a||p>=a||this.nextData.cnt>Ae)o=this.nextData.startx+e.margin+k.nextLinePaddingX,l=this.nextData.stopy+e.margin*2,this.nextData.stopx=p=o+e.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=r=l+e.height,this.nextData.cnt=1;e.x=o,e.y=l,this.updateVal(this.data,"startx",o,Math.min),this.updateVal(this.data,"starty",l,Math.min),this.updateVal(this.data,"stopx",p,Math.max),this.updateVal(this.data,"stopy",r,Math.max),this.updateVal(this.nextData,"startx",o,Math.min),this.updateVal(this.nextData,"starty",l,Math.min),this.updateVal(this.nextData,"stopx",p,Math.max),this.updateVal(this.nextData,"stopy",r,Math.max)}init(e){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},he(e.db.getConfig())}bumpLastMargin(e){this.data.stopx+=e,this.data.stopy+=e}},he=t(function(e){if(Ee(k,e),e?.fontFamily)k.personFontFamily=k.systemFontFamily=k.messageFontFamily=e.fontFamily;if(e?.fontSize)k.personFontSize=k.systemFontSize=k.messageFontSize=e.fontSize;if(e?.fontWeight)k.personFontWeight=k.systemFontWeight=k.messageFontWeight=e.fontWeight},"setConf"),Gt=t((e)=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),"boundaryFont"),B0=t((e)=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight}),"messageFont");function Pt(e,n,a,o,p){let l=n[e];if(!l.width)if(a)l.text=oa(l.text,p,o),l.textLines=l.text.split(C.lineBreakRegex).length,l.width=p,l.height=Yi(l.text,o);else{let r=l.text.split(C.lineBreakRegex);l.textLines=r.length;let h=0;l.height=0,l.width=0;for(let s of r)l.width=Math.max(Ht(s,o),l.width),h=Yi(s,o),l.height=l.height+h}return l}t(Pt,"calcC4ShapeTextWH");var Ie=t(function(e,n,a){let o=a.data.startx,p=a.data.starty;n.x=o,n.y=p,n.width=a.data.stopx-o,n.height=a.data.stopy-p,n.intersect=(s)=>E.rect({x:n.x+n.width/2,y:n.y+n.height/2,width:n.width,height:n.height},s),n.label.y=k.c4ShapeMargin-35;let l=n.wrap&&k.wrap,r=Gt(k);r.fontSize=r.fontSize+2,r.fontWeight="bold";let h=Ht(n.label.text,r);Pt("label",n,l,r,h),nt.drawBoundary(e,n,k)},"drawBoundary"),Me=t(async function(e,n,a,o){let p=d(),l=p.look??"classic",r={config:p},h=n.attr("id")??"",s=o.map((m)=>a[Number(m)]),f=t((m)=>{let b=m.shape?Zi[m.shape]:void 0;if(!b)throw Error(`C4: no shape handler for "${m.shape}"`);return b},"shapeHandlerFor");await Promise.all(s.map(async(m)=>{let b=ke(m,k,k.c4ShapePadding,l,k.width);b.domId=`${h}-${b.id}`;let x=await f(b)(n,b,r);m.width=b.width??k.width,m.height=b.height??k.height,m.margin=k.c4ShapeMargin,x.remove()}));for(let m of s)e.insert(m);await Promise.all(s.map(async(m)=>{let b=ke(m,k,k.c4ShapePadding,l,k.width);b.domId=`${h}-${b.id}`,b.x=m.x+m.width/2,b.y=m.y+m.height/2;let x=n.append("g").attr("transform",`translate(${m.x+m.width/2}, ${m.y+m.height/2})`);await f(b)(x,b,r),m.intersect=b.intersect})),e.bumpLastMargin(k.c4ShapeMargin)},"drawC4ShapeArray"),V0=class{static{t(this,"Point")}constructor(e,n){this.x=e,this.y=n}},Se=t(function(e,n){if(!e.intersect)throw Error(`C4 element "${e.alias}" has no intersect function. Please report this to https://github.com/mermaid-js/mermaid/issues`);let{x:a,y:o}=e.intersect(n);return new V0(a,o)},"getIntersectPoint"),Y0=t(function(e,n){let a={x:0,y:0};a.x=n.x+n.width/2,a.y=n.y+n.height/2;let o=Se(e,a);a.x=e.x+e.width/2,a.y=e.y+e.height/2;let p=Se(n,a);return{startPoint:o,endPoint:p}},"getIntersectPoints"),F0=t(function(e,n,a,o,p){let l=o.db.getC4Type(),r=0;for(let h of n){r=r+1;let s=h.wrap&&k.wrap,f=B0(k);if(l==="C4Dynamic")h.label.text=r+": "+h.label.text;let m=Ht(h.label.text,f);if(Pt("label",h,s,f,m),h.techn&&h.techn.text!=="")m=Ht(h.techn.text,f),Pt("techn",h,s,f,m);if(h.descr&&h.descr.text!=="")m=Ht(h.descr.text,f),Pt("descr",h,s,f,m);let b=a(h.from),x=a(h.to);if(!b||!x)throw Error(`C4 rel "${h.from}" -> "${h.to}" references an unknown shape or boundary`);let T=Y0(b,x);if(!T.startPoint||!T.endPoint)throw Error(`Could not calculate intersection points for rel "${h.from}" -> "${h.to}"`);h.startPoint=T.startPoint,h.endPoint=T.endPoint}nt.drawRels(e,n,k,p)},"drawRels");async function fe(e,n,a,o,p){let l=p.db,r=new Le(p);r.data.widthLimit=a.data.widthLimit/Math.min(ue,o.length);for(let[h,s]of o.entries()){let f=0;if(s.image={width:0,height:0,Y:0},s.sprite)s.image.width=48,s.image.height=48,s.image.Y=f,f=s.image.Y+s.image.height;let m=s.wrap&&k.wrap,b=Gt(k);b.fontSize=b.fontSize+2,b.fontWeight="bold";let x=Pt("label",s,m,b,r.data.widthLimit);if(x.Y=f+8,f=x.Y+x.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let V=Gt(k),F=Pt("type",s,m,V,r.data.widthLimit);F.Y=f+5,f=F.Y+F.height}if(s.descr&&s.descr.text!==""){let V=Gt(k);V.fontSize=V.fontSize-2;let F=Pt("descr",s,m,V,r.data.widthLimit);F.Y=f+20,f=F.Y+F.height}if(h==0||h%ue===0){let V=a.data.startx+k.diagramMarginX,F=a.data.stopy+k.diagramMarginY+f;r.setData(V,V,F,F)}else{let V=r.data.stopx!==r.data.startx?r.data.stopx+k.diagramMarginX:r.data.startx,F=r.data.starty;r.setData(V,V,F,F)}r.name=s.alias;let T=l.getC4ShapeArray(s.alias),B=l.getC4ShapeKeys(s.alias);if(B.length>0)await Me(r,e,T,B);n=s.alias;let j=l.getBoundaries(n);if(j.length>0)await fe(e,n,r,j,p);if(s.alias!=="global")Ie(e,s,r);a.data.stopy=Math.max(r.data.stopy+k.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(r.data.stopx+k.c4ShapeMargin,a.data.stopx),jt=Math.max(jt,a.data.stopx),zt=Math.max(zt,a.data.stopy)}}t(fe,"drawInsideBoundary");var U0=t(async function(e,n,a,o){k=Ce("c4");let p=d().securityLevel,{root:l}=C0(n,p),r=o.db;r.setWrap(k.wrap),Ae=r.getC4ShapeInRow(),ue=r.getC4BoundaryInRow(),i.debug(`C:${JSON.stringify(k,null,2)}`);let h=l.select(`[id="${n}"]`);nt.insertComputerIcon(h,n),nt.insertDatabaseIcon(h,n),nt.insertClockIcon(h,n);let s=new Le(o);s.setData(k.diagramMarginX,k.diagramMarginX,k.diagramMarginY,k.diagramMarginY),s.data.widthLimit=screen.availWidth,jt=k.diagramMarginX,zt=k.diagramMarginY;let f=r.getTitle(),m=r.getBoundaries("");await fe(h,"",s,m,o),nt.insertArrowHead(h,n),nt.insertArrowEnd(h,n),nt.insertArrowCrossHead(h,n),nt.insertArrowFilledHead(h,n),F0(h,r.getRels(),r.getC4Shape,o,n),s.data.stopx=jt,s.data.stopy=zt;let b=s.data,{startx:x,starty:T}=b,j=zt-T+2*k.diagramMarginY,V=jt-x,F=V+2*k.diagramMarginX;if(f)h.append("text").text(f).attr("x",V/2-4*k.diagramMarginX).attr("y",T+k.diagramMarginY);Y(h,j,F,k.useMaxWidth);let q=f?60:0;h.attr("viewBox",x-k.diagramMarginX+" -"+(k.diagramMarginY+q)+" "+F+" "+(j+q)),i.debug("models:",b)},"draw"),Te={drawPersonOrSystemArray:Me,drawBoundary:Ie,setConf:he,draw:U0},j0=t(()=>{let e=d().c4??{},n=new CSSStyleSheet;for(let a of Ne){let o=n.cssRules[n.insertRule(`.c4-shape.c4-${a} .label {}`,n.cssRules.length)],p=e[`${a}FontFamily`],l=e[`${a}FontSize`],r=e[`${a}FontWeight`];if(p)o.style.setProperty("font-family",p);if(l)o.style.setProperty("font-size",typeof l==="number"?`${l}px`:l);if(r)o.style.setProperty("font-weight",String(r))}return[...n.cssRules].filter((a)=>a.style.length>0).map((a)=>` ${a.cssText}`).join(`
7
+ `)},"elementFontStyles"),z0=t((e)=>`.person {
8
+ stroke: ${e.personBorder};
9
+ fill: ${e.personBkg};
10
+ }
11
+ ${j0()}
12
+
13
+ /* The element font colour is set inline per element (default white); the
14
+ label text takes it via currentColor. */
15
+ .c4-shape .label,
16
+ .c4-shape .label text {
17
+ color: inherit;
18
+ fill: currentColor;
19
+ }
20
+ /* Structurizr typography: bold name, smaller stereotype/type and description lines. */
21
+ .c4-shape .label .c4-name {
22
+ font-weight: bold;
23
+ }
24
+ .c4-shape .label .c4-type {
25
+ font-size: 0.75em;
26
+ }
27
+ .c4-shape .label .c4-descr {
28
+ font-size: 0.82em;
29
+ }
30
+ .c4-shape .basic,
31
+ .c4-shape rect,
32
+ .c4-shape path,
33
+ .c4-shape circle,
34
+ .c4-shape ellipse,
35
+ .c4-shape line {
36
+ stroke-width: 2px;
37
+ }
38
+ `,"getStyles"),W0=z0,r1={parser:je,db:ce,renderer:Te,styles:W0,init:t(({c4:e,wrap:n})=>{Te.setConf(e),ce.setWrap(n)},"init")};export{r1 as diagram};
Binary file
Binary file