@bkm016/basalt 0.1.28 → 0.1.30

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 (972) hide show
  1. package/README.md +2 -2
  2. package/chunk-01xyv3ct.js +7 -0
  3. package/chunk-06gjy5s2.js +5 -0
  4. package/chunk-0pztrs5x.js +11 -0
  5. package/chunk-0v6seb9q.js +20 -0
  6. package/chunk-0z138vnr.js +12 -0
  7. package/chunk-1c8yqctx.js +3 -0
  8. package/chunk-1wt8pbns.js +2 -0
  9. package/chunk-1yvgmxew.js +2 -0
  10. package/chunk-229men2n.js +31 -0
  11. package/chunk-29x35nj4.js +5 -0
  12. package/chunk-3ee7dyh4.js +18 -0
  13. package/chunk-3gf3g0xt.js +3 -0
  14. package/chunk-3gts3ja0.js +8 -0
  15. package/chunk-4stj480w.js +3 -0
  16. package/chunk-4t2t0hcp.js +3 -0
  17. package/chunk-57b764s0.js +5 -0
  18. package/chunk-63mr2aa2.js +50 -0
  19. package/chunk-64h4gw8d.js +3 -0
  20. package/chunk-7gxx6829.js +2 -0
  21. package/chunk-898tss1j.js +51 -0
  22. package/chunk-9em1sne5.js +2 -0
  23. package/chunk-9p8n1xjn.js +4048 -0
  24. package/chunk-a0h0x1dn.js +3 -0
  25. package/chunk-a2r89pk2.js +12 -0
  26. package/chunk-a5mtw4y5.js +2 -0
  27. package/chunk-bbqhx91f.js +3 -0
  28. package/chunk-c9q0y8hp.js +4 -0
  29. package/chunk-cgzez9a5.js +2 -0
  30. package/chunk-drjajr57.js +3 -0
  31. package/chunk-dsnz6mzt.js +25 -0
  32. package/chunk-ee18zzzv.js +3 -0
  33. package/chunk-eg161ep9.js +3 -0
  34. package/chunk-ej42zg82.js +2 -0
  35. package/chunk-ejw7k7nn.js +2 -0
  36. package/chunk-f95j1a8x.js +3 -0
  37. package/chunk-fdgrayj5.js +3 -0
  38. package/chunk-fnxstmm5.js +2 -0
  39. package/chunk-gtjtkfjk.js +3 -0
  40. package/chunk-h4rve6x4.js +63 -0
  41. package/chunk-hp9bcx4x.js +2 -0
  42. package/chunk-hvxc1wyv.js +3 -0
  43. package/chunk-je4cjwhm.js +3 -0
  44. package/chunk-jn1zdamp.js +9 -0
  45. package/chunk-jpah46d1.js +2 -0
  46. package/chunk-jvsrda4n.js +16 -0
  47. package/chunk-jyhsae16.js +2 -0
  48. package/chunk-k7n6bhkz.js +3 -0
  49. package/chunk-kvv3mvk5.js +2 -0
  50. package/chunk-kzv5cgqz.js +286 -0
  51. package/chunk-mz3zt06w.js +7 -0
  52. package/chunk-n4crb1x3.js +2 -0
  53. package/chunk-nmmf0w14.js +5 -0
  54. package/chunk-nr5p4pvp.js +3 -0
  55. package/chunk-p39fex1r.js +2 -0
  56. package/chunk-pefgy360.js +7 -0
  57. package/chunk-psr71nf8.js +2 -0
  58. package/chunk-qsgc7b7x.js +3 -0
  59. package/chunk-qygv2jqa.js +2 -0
  60. package/chunk-r0gsb1qs.js +3 -0
  61. package/chunk-r449z8pj.js +2 -0
  62. package/chunk-r49sxmnc.js +3 -0
  63. package/chunk-rd52y45c.js +8 -0
  64. package/chunk-repjnwda.js +10 -0
  65. package/chunk-rh6yvdwz.js +3 -0
  66. package/chunk-s2d5zp37.js +44 -0
  67. package/chunk-s68eamf1.js +2 -0
  68. package/chunk-sacdpkwc.js +3 -0
  69. package/chunk-tey1hftz.js +490 -0
  70. package/chunk-vhvzyxx5.js +25 -0
  71. package/chunk-vytm86v0.js +2 -0
  72. package/chunk-x4bc1xkx.js +39 -0
  73. package/chunk-xa23zmzv.js +2 -0
  74. package/chunk-xq7zspqs.js +3 -0
  75. package/chunk-xqz8ac7j.js +2 -0
  76. package/chunk-ycce2a81.js +2 -0
  77. package/chunk-z99s31w5.js +2 -0
  78. package/chunk-zs6ytk7b.js +59 -0
  79. package/chunk-ztm5hqwh.js +2 -0
  80. package/chunk-zv29qg1q.js +10 -0
  81. package/compiled.js +9 -9
  82. package/package.json +4 -1
  83. package/ui-test-worker.js +79 -77
  84. package/web/chunk-02z3bqps.js +1 -0
  85. package/web/chunk-02z3bqps.js.br +0 -0
  86. package/web/chunk-02z3bqps.js.gz +0 -0
  87. package/web/chunk-0dg4qqe3.js +1 -0
  88. package/web/chunk-0dg4qqe3.js.br +2 -0
  89. package/web/chunk-0dg4qqe3.js.gz +0 -0
  90. package/web/chunk-0qar8vwc.js +2 -0
  91. package/web/chunk-0qar8vwc.js.br +0 -0
  92. package/web/chunk-0qar8vwc.js.gz +0 -0
  93. package/web/chunk-0qmgmqzd.js +2 -0
  94. package/web/chunk-0qmgmqzd.js.br +0 -0
  95. package/web/chunk-0qmgmqzd.js.gz +0 -0
  96. package/web/chunk-1pffd2va.js +2 -0
  97. package/web/chunk-1pffd2va.js.br +0 -0
  98. package/web/chunk-1pffd2va.js.gz +0 -0
  99. package/web/chunk-1q82849a.js +1 -0
  100. package/web/chunk-1q82849a.js.br +0 -0
  101. package/web/chunk-1q82849a.js.gz +0 -0
  102. package/web/chunk-2ajkzs3d.js +12 -0
  103. package/web/chunk-2ajkzs3d.js.br +0 -0
  104. package/web/chunk-2ajkzs3d.js.gz +0 -0
  105. package/web/chunk-2ttatv42.js +2 -0
  106. package/web/chunk-2ttatv42.js.br +0 -0
  107. package/web/chunk-2ttatv42.js.gz +0 -0
  108. package/web/chunk-2xrkfj8n.js +291 -0
  109. package/web/chunk-2xrkfj8n.js.br +0 -0
  110. package/web/chunk-2xrkfj8n.js.gz +0 -0
  111. package/web/chunk-45xqp3dn.js +1 -0
  112. package/web/chunk-45xqp3dn.js.br +0 -0
  113. package/web/chunk-45xqp3dn.js.gz +0 -0
  114. package/web/chunk-4fdgpye3.js +2 -0
  115. package/web/chunk-4fdgpye3.js.br +0 -0
  116. package/web/chunk-4fdgpye3.js.gz +0 -0
  117. package/web/chunk-4fzpmw3f.js +89 -0
  118. package/web/chunk-4fzpmw3f.js.br +0 -0
  119. package/web/chunk-4fzpmw3f.js.gz +0 -0
  120. package/web/chunk-51njd9f8.js +89 -0
  121. package/web/chunk-51njd9f8.js.br +0 -0
  122. package/web/chunk-51njd9f8.js.gz +0 -0
  123. package/web/chunk-66zw8mqe.js +2 -0
  124. package/web/chunk-66zw8mqe.js.br +0 -0
  125. package/web/chunk-66zw8mqe.js.gz +0 -0
  126. package/web/chunk-6f9btq4p.js +1 -0
  127. package/web/chunk-6f9btq4p.js.br +0 -0
  128. package/web/chunk-6f9btq4p.js.gz +0 -0
  129. package/web/chunk-6x73jtw7.js +7 -0
  130. package/web/chunk-6x73jtw7.js.br +0 -0
  131. package/web/chunk-6x73jtw7.js.gz +0 -0
  132. package/web/chunk-6y389kg6.js +1 -0
  133. package/web/chunk-6y389kg6.js.br +0 -0
  134. package/web/chunk-6y389kg6.js.gz +0 -0
  135. package/web/chunk-73peavw3.js +1 -0
  136. package/web/chunk-73peavw3.js.br +0 -0
  137. package/web/chunk-73peavw3.js.gz +0 -0
  138. package/web/chunk-7p7qtp6d.js +1 -0
  139. package/web/chunk-7p7qtp6d.js.br +0 -0
  140. package/web/chunk-7p7qtp6d.js.gz +0 -0
  141. package/web/chunk-81zj375g.js +1 -0
  142. package/web/chunk-81zj375g.js.br +0 -0
  143. package/web/chunk-81zj375g.js.gz +0 -0
  144. package/web/chunk-89dwrkrr.js +1 -0
  145. package/web/chunk-89dwrkrr.js.br +0 -0
  146. package/web/chunk-89dwrkrr.js.gz +0 -0
  147. package/web/chunk-8e829p0a.css +1 -0
  148. package/web/chunk-8e829p0a.css.br +0 -0
  149. package/web/chunk-8e829p0a.css.gz +0 -0
  150. package/web/chunk-9j7v0e4v.js +2 -0
  151. package/web/chunk-9j7v0e4v.js.br +0 -0
  152. package/web/chunk-9j7v0e4v.js.gz +0 -0
  153. package/web/chunk-9mgqrwwh.js +1 -0
  154. package/web/chunk-9mgqrwwh.js.br +0 -0
  155. package/web/chunk-9mgqrwwh.js.gz +0 -0
  156. package/web/chunk-ag97fhx1.js +1 -0
  157. package/web/chunk-ag97fhx1.js.br +0 -0
  158. package/web/chunk-ag97fhx1.js.gz +0 -0
  159. package/web/chunk-anm2706b.js +139 -0
  160. package/web/chunk-anm2706b.js.br +0 -0
  161. package/web/chunk-anm2706b.js.gz +0 -0
  162. package/web/chunk-aqz2exas.js +142 -0
  163. package/web/chunk-aqz2exas.js.br +0 -0
  164. package/web/chunk-aqz2exas.js.gz +0 -0
  165. package/web/chunk-at6wp72y.js +1 -0
  166. package/web/chunk-at6wp72y.js.br +0 -0
  167. package/web/chunk-at6wp72y.js.gz +0 -0
  168. package/web/chunk-ayfqxte8.js +1 -0
  169. package/web/chunk-ayfqxte8.js.br +2 -0
  170. package/web/chunk-ayfqxte8.js.gz +0 -0
  171. package/web/chunk-b564qxgk.js +98 -0
  172. package/web/chunk-b564qxgk.js.br +0 -0
  173. package/web/chunk-b564qxgk.js.gz +0 -0
  174. package/web/chunk-b9atg5sw.js +1 -0
  175. package/web/chunk-b9atg5sw.js.br +0 -0
  176. package/web/chunk-b9atg5sw.js.gz +0 -0
  177. package/web/chunk-bg2k54a5.js +70 -0
  178. package/web/chunk-bg2k54a5.js.br +0 -0
  179. package/web/chunk-bg2k54a5.js.gz +0 -0
  180. package/web/chunk-c2vtzhbs.js +1 -0
  181. package/web/chunk-c2vtzhbs.js.br +0 -0
  182. package/web/chunk-c2vtzhbs.js.gz +0 -0
  183. package/web/chunk-cb0g87b5.js +2 -0
  184. package/web/chunk-cb0g87b5.js.br +3 -0
  185. package/web/chunk-cb0g87b5.js.gz +0 -0
  186. package/web/chunk-cgm44rx8.js +2 -0
  187. package/web/chunk-cgm44rx8.js.br +0 -0
  188. package/web/chunk-cgm44rx8.js.gz +0 -0
  189. package/web/chunk-ctckn7gz.js +2 -0
  190. package/web/chunk-ctckn7gz.js.br +0 -0
  191. package/web/chunk-ctckn7gz.js.gz +0 -0
  192. package/web/chunk-def5mk0w.js +2 -0
  193. package/web/chunk-def5mk0w.js.br +0 -0
  194. package/web/chunk-def5mk0w.js.gz +0 -0
  195. package/web/chunk-e2nhv6bb.js +2 -0
  196. package/web/chunk-e2nhv6bb.js.br +0 -0
  197. package/web/chunk-e2nhv6bb.js.gz +0 -0
  198. package/web/chunk-e7djq8rb.js +2 -0
  199. package/web/chunk-e7djq8rb.js.br +0 -0
  200. package/web/chunk-e7djq8rb.js.gz +0 -0
  201. package/web/chunk-eagbq8k2.js +1 -0
  202. package/web/chunk-eagbq8k2.js.br +0 -0
  203. package/web/chunk-eagbq8k2.js.gz +0 -0
  204. package/web/chunk-fbxw7w0z.js +1 -0
  205. package/web/chunk-fbxw7w0z.js.br +0 -0
  206. package/web/chunk-fbxw7w0z.js.gz +0 -0
  207. package/web/chunk-fn95dxq2.js +1 -0
  208. package/web/chunk-fn95dxq2.js.br +0 -0
  209. package/web/chunk-fn95dxq2.js.gz +0 -0
  210. package/web/chunk-g3n4tbbv.js +1 -0
  211. package/web/chunk-g3n4tbbv.js.br +2 -0
  212. package/web/chunk-g3n4tbbv.js.gz +0 -0
  213. package/web/chunk-gp0xqyh2.js +62 -0
  214. package/web/chunk-gp0xqyh2.js.br +0 -0
  215. package/web/chunk-gp0xqyh2.js.gz +0 -0
  216. package/web/chunk-h2rv3exr.js +84 -0
  217. package/web/chunk-h2rv3exr.js.br +0 -0
  218. package/web/chunk-h2rv3exr.js.gz +0 -0
  219. package/web/chunk-h47k4j7f.js +1 -0
  220. package/web/chunk-h47k4j7f.js.br +0 -0
  221. package/web/chunk-h47k4j7f.js.gz +0 -0
  222. package/web/chunk-h888hb33.js +41 -0
  223. package/web/chunk-h888hb33.js.br +0 -0
  224. package/web/chunk-h888hb33.js.gz +0 -0
  225. package/web/chunk-hc9ep8b0.js +4 -0
  226. package/web/chunk-hc9ep8b0.js.br +0 -0
  227. package/web/chunk-hc9ep8b0.js.gz +0 -0
  228. package/web/chunk-hp0jfbty.js +1 -0
  229. package/web/chunk-hp0jfbty.js.br +0 -0
  230. package/web/chunk-hp0jfbty.js.gz +0 -0
  231. package/web/chunk-hx7rh5c1.js +2 -0
  232. package/web/chunk-hx7rh5c1.js.br +0 -0
  233. package/web/chunk-hx7rh5c1.js.gz +0 -0
  234. package/web/chunk-hzxz7smg.js +24 -0
  235. package/web/chunk-hzxz7smg.js.br +0 -0
  236. package/web/chunk-hzxz7smg.js.gz +0 -0
  237. package/web/chunk-j4w9gj2v.js +1 -0
  238. package/web/chunk-j4w9gj2v.js.br +0 -0
  239. package/web/chunk-j4w9gj2v.js.gz +0 -0
  240. package/web/chunk-j8m3c1s4.js +2 -0
  241. package/web/chunk-j8m3c1s4.js.br +0 -0
  242. package/web/chunk-j8m3c1s4.js.gz +0 -0
  243. package/web/chunk-jamb9e79.js +1 -0
  244. package/web/chunk-jamb9e79.js.br +0 -0
  245. package/web/chunk-jamb9e79.js.gz +0 -0
  246. package/web/chunk-jg19frxn.js +55 -0
  247. package/web/chunk-jg19frxn.js.br +0 -0
  248. package/web/chunk-jg19frxn.js.gz +0 -0
  249. package/web/chunk-jm2pevt8.js +1 -0
  250. package/web/chunk-jm2pevt8.js.br +0 -0
  251. package/web/chunk-jm2pevt8.js.gz +0 -0
  252. package/web/chunk-jmr00kdm.js +214 -0
  253. package/web/chunk-jmr00kdm.js.br +0 -0
  254. package/web/chunk-jmr00kdm.js.gz +0 -0
  255. package/web/chunk-jsff72z2.js +1 -0
  256. package/web/chunk-jsff72z2.js.br +0 -0
  257. package/web/chunk-jsff72z2.js.gz +0 -0
  258. package/web/chunk-jv83dscd.js +1 -0
  259. package/web/chunk-jv83dscd.js.br +0 -0
  260. package/web/chunk-jv83dscd.js.gz +0 -0
  261. package/web/chunk-k0da3cb3.js +1 -0
  262. package/web/chunk-k0da3cb3.js.br +0 -0
  263. package/web/chunk-k0da3cb3.js.gz +0 -0
  264. package/web/chunk-k6ks8zqg.js +1 -0
  265. package/web/chunk-k6ks8zqg.js.br +0 -0
  266. package/web/chunk-k6ks8zqg.js.gz +0 -0
  267. package/web/chunk-kdzew6g1.js +1 -0
  268. package/web/chunk-kdzew6g1.js.br +2 -0
  269. package/web/chunk-kdzew6g1.js.gz +0 -0
  270. package/web/chunk-ktmnzrpf.js +1 -0
  271. package/web/chunk-ktmnzrpf.js.br +2 -0
  272. package/web/chunk-ktmnzrpf.js.gz +0 -0
  273. package/web/chunk-kxezmcn5.js +30 -0
  274. package/web/chunk-kxezmcn5.js.br +0 -0
  275. package/web/chunk-kxezmcn5.js.gz +0 -0
  276. package/web/chunk-kyj99nqq.js +2 -0
  277. package/web/chunk-kyj99nqq.js.br +0 -0
  278. package/web/chunk-kyj99nqq.js.gz +0 -0
  279. package/web/chunk-m1009k4x.js +16 -0
  280. package/web/chunk-m1009k4x.js.br +0 -0
  281. package/web/chunk-m1009k4x.js.gz +0 -0
  282. package/web/chunk-mfsdyw6v.js +2 -0
  283. package/web/chunk-mfsdyw6v.js.br +0 -0
  284. package/web/chunk-mfsdyw6v.js.gz +0 -0
  285. package/web/chunk-mgr8wt71.js +370 -0
  286. package/web/chunk-mgr8wt71.js.br +0 -0
  287. package/web/chunk-mgr8wt71.js.gz +0 -0
  288. package/web/chunk-mya0w8tm.js +1 -0
  289. package/web/chunk-mya0w8tm.js.br +0 -0
  290. package/web/chunk-mya0w8tm.js.gz +0 -0
  291. package/web/chunk-n1wgda90.js +7 -0
  292. package/web/chunk-n1wgda90.js.br +0 -0
  293. package/web/chunk-n1wgda90.js.gz +0 -0
  294. package/web/chunk-n7hk5sxm.js +120 -0
  295. package/web/chunk-n7hk5sxm.js.br +0 -0
  296. package/web/chunk-n7hk5sxm.js.gz +0 -0
  297. package/web/chunk-n99yz498.js +36 -0
  298. package/web/chunk-n99yz498.js.br +0 -0
  299. package/web/chunk-n99yz498.js.gz +0 -0
  300. package/web/chunk-nnvqz2dh.js +1 -0
  301. package/web/chunk-nnvqz2dh.js.br +0 -0
  302. package/web/chunk-nnvqz2dh.js.gz +0 -0
  303. package/web/chunk-nx439rde.js +1 -0
  304. package/web/chunk-nx439rde.js.br +0 -0
  305. package/web/chunk-nx439rde.js.gz +0 -0
  306. package/web/chunk-pn50cj2y.js +1 -0
  307. package/web/chunk-pn50cj2y.js.br +0 -0
  308. package/web/chunk-pn50cj2y.js.gz +0 -0
  309. package/web/chunk-pph3x232.js +38 -0
  310. package/web/chunk-pph3x232.js.br +0 -0
  311. package/web/chunk-pph3x232.js.gz +0 -0
  312. package/web/chunk-pt2vfgkr.js +1 -0
  313. package/web/chunk-pt2vfgkr.js.br +0 -0
  314. package/web/chunk-pt2vfgkr.js.gz +0 -0
  315. package/web/chunk-pzvg5xnk.js +21 -0
  316. package/web/chunk-pzvg5xnk.js.br +0 -0
  317. package/web/chunk-pzvg5xnk.js.gz +0 -0
  318. package/web/chunk-q5hj3y5k.js +2 -0
  319. package/web/chunk-q5hj3y5k.js.br +0 -0
  320. package/web/chunk-q5hj3y5k.js.gz +0 -0
  321. package/web/chunk-qafnz668.js +1 -0
  322. package/web/chunk-qafnz668.js.br +0 -0
  323. package/web/chunk-qafnz668.js.gz +0 -0
  324. package/web/chunk-qkfqcr10.js +1 -0
  325. package/web/chunk-qkfqcr10.js.br +0 -0
  326. package/web/chunk-qkfqcr10.js.gz +0 -0
  327. package/web/chunk-qkgp0da2.js +1 -0
  328. package/web/chunk-qkgp0da2.js.br +0 -0
  329. package/web/chunk-qkgp0da2.js.gz +0 -0
  330. package/web/chunk-qpqdn0a8.js +1 -0
  331. package/web/chunk-qpqdn0a8.js.br +0 -0
  332. package/web/chunk-qpqdn0a8.js.gz +0 -0
  333. package/web/chunk-r0ch05x8.js +3 -0
  334. package/web/chunk-r0ch05x8.js.br +0 -0
  335. package/web/chunk-r0ch05x8.js.gz +0 -0
  336. package/web/chunk-r6s2vcby.js +8 -0
  337. package/web/chunk-r6s2vcby.js.br +6 -0
  338. package/web/chunk-r6s2vcby.js.gz +0 -0
  339. package/web/chunk-r71mdnq3.js +1 -0
  340. package/web/chunk-r71mdnq3.js.br +0 -0
  341. package/web/chunk-r71mdnq3.js.gz +0 -0
  342. package/web/chunk-r9m8jh7x.js +2 -0
  343. package/web/chunk-r9m8jh7x.js.br +0 -0
  344. package/web/chunk-r9m8jh7x.js.gz +0 -0
  345. package/web/chunk-rd60971b.js +2 -0
  346. package/web/chunk-rd60971b.js.br +0 -0
  347. package/web/chunk-rd60971b.js.gz +0 -0
  348. package/web/chunk-rdz21xd5.js +99 -0
  349. package/web/chunk-rdz21xd5.js.br +0 -0
  350. package/web/chunk-rdz21xd5.js.gz +0 -0
  351. package/web/chunk-rmzb9edh.js +303 -0
  352. package/web/chunk-rmzb9edh.js.br +0 -0
  353. package/web/chunk-rmzb9edh.js.gz +0 -0
  354. package/web/chunk-rqkd1h2n.js +2 -0
  355. package/web/chunk-rqkd1h2n.js.br +0 -0
  356. package/web/chunk-rqkd1h2n.js.gz +0 -0
  357. package/web/chunk-rz2cq4g2.js +2 -0
  358. package/web/chunk-rz2cq4g2.js.br +0 -0
  359. package/web/chunk-rz2cq4g2.js.gz +0 -0
  360. package/web/chunk-rzeh9b1q.js +2 -0
  361. package/web/chunk-rzeh9b1q.js.br +0 -0
  362. package/web/chunk-rzeh9b1q.js.gz +0 -0
  363. package/web/chunk-s6ax6yty.js +1 -0
  364. package/web/chunk-s6ax6yty.js.br +0 -0
  365. package/web/chunk-s6ax6yty.js.gz +0 -0
  366. package/web/chunk-s75zvbh9.js +1 -0
  367. package/web/chunk-s75zvbh9.js.br +0 -0
  368. package/web/chunk-s75zvbh9.js.gz +0 -0
  369. package/web/chunk-s7cz1q7g.js +324 -0
  370. package/web/chunk-s7cz1q7g.js.br +0 -0
  371. package/web/chunk-s7cz1q7g.js.gz +0 -0
  372. package/web/chunk-sh6xh1kh.js +1 -0
  373. package/web/chunk-sh6xh1kh.js.br +0 -0
  374. package/web/chunk-sh6xh1kh.js.gz +0 -0
  375. package/web/chunk-shc8bv2k.js +2 -0
  376. package/web/chunk-shc8bv2k.js.br +0 -0
  377. package/web/chunk-shc8bv2k.js.gz +0 -0
  378. package/web/chunk-sqa50cfh.js +2 -0
  379. package/web/chunk-sqa50cfh.js.br +0 -0
  380. package/web/chunk-sqa50cfh.js.gz +0 -0
  381. package/web/chunk-stp6j8y9.js +39 -0
  382. package/web/chunk-stp6j8y9.js.br +0 -0
  383. package/web/chunk-stp6j8y9.js.gz +0 -0
  384. package/web/chunk-t7wae2xz.js +332 -0
  385. package/web/chunk-t7wae2xz.js.br +0 -0
  386. package/web/chunk-t7wae2xz.js.gz +0 -0
  387. package/web/chunk-t8p7d5vk.js +2 -0
  388. package/web/chunk-t8p7d5vk.js.br +0 -0
  389. package/web/chunk-t8p7d5vk.js.gz +0 -0
  390. package/web/chunk-t9twwgfe.js +1 -0
  391. package/web/chunk-t9twwgfe.js.br +0 -0
  392. package/web/chunk-t9twwgfe.js.gz +0 -0
  393. package/web/chunk-tbj4d6qe.js +292 -0
  394. package/web/chunk-tbj4d6qe.js.br +0 -0
  395. package/web/chunk-tbj4d6qe.js.gz +0 -0
  396. package/web/chunk-v0wb751t.js +2 -0
  397. package/web/chunk-v0wb751t.js.br +0 -0
  398. package/web/chunk-v0wb751t.js.gz +0 -0
  399. package/web/chunk-v1vghfec.js +1 -0
  400. package/web/chunk-v1vghfec.js.br +0 -0
  401. package/web/chunk-v1vghfec.js.gz +0 -0
  402. package/web/chunk-v890rh1e.js +2 -0
  403. package/web/chunk-v890rh1e.js.br +0 -0
  404. package/web/chunk-v890rh1e.js.gz +0 -0
  405. package/web/chunk-vd2kng8p.js +4 -0
  406. package/web/chunk-vd2kng8p.js.br +0 -0
  407. package/web/chunk-vd2kng8p.js.gz +0 -0
  408. package/web/chunk-vfqmec16.js +217 -0
  409. package/web/chunk-vfqmec16.js.br +0 -0
  410. package/web/chunk-vfqmec16.js.gz +0 -0
  411. package/web/chunk-vhmcx472.js +1 -0
  412. package/web/chunk-vhmcx472.js.br +0 -0
  413. package/web/chunk-vhmcx472.js.gz +0 -0
  414. package/web/chunk-vtvf1x6b.js +2 -0
  415. package/web/chunk-vtvf1x6b.js.br +0 -0
  416. package/web/chunk-vtvf1x6b.js.gz +0 -0
  417. package/web/chunk-w0ae9ggt.js +40 -0
  418. package/web/chunk-w0ae9ggt.js.br +0 -0
  419. package/web/chunk-w0ae9ggt.js.gz +0 -0
  420. package/web/chunk-ws8rv0tb.js +1141 -0
  421. package/web/chunk-ws8rv0tb.js.br +0 -0
  422. package/web/chunk-ws8rv0tb.js.gz +0 -0
  423. package/web/chunk-wvnvh4a5.js +78 -0
  424. package/web/chunk-wvnvh4a5.js.br +0 -0
  425. package/web/chunk-wvnvh4a5.js.gz +0 -0
  426. package/web/chunk-x11ewabg.js +1 -0
  427. package/web/chunk-x11ewabg.js.br +0 -0
  428. package/web/chunk-x11ewabg.js.gz +0 -0
  429. package/web/chunk-x2tcf0r1.js +1 -0
  430. package/web/chunk-x2tcf0r1.js.br +2 -0
  431. package/web/chunk-x2tcf0r1.js.gz +0 -0
  432. package/web/chunk-x9mexzav.js +2 -0
  433. package/web/chunk-x9mexzav.js.br +0 -0
  434. package/web/chunk-x9mexzav.js.gz +0 -0
  435. package/web/chunk-xbrj4mk1.js +140 -0
  436. package/web/chunk-xbrj4mk1.js.br +0 -0
  437. package/web/chunk-xbrj4mk1.js.gz +0 -0
  438. package/web/chunk-xh8q1bcj.js +34 -0
  439. package/web/chunk-xh8q1bcj.js.br +0 -0
  440. package/web/chunk-xh8q1bcj.js.gz +0 -0
  441. package/web/chunk-xha3t633.js +1 -0
  442. package/web/chunk-xha3t633.js.br +0 -0
  443. package/web/chunk-xha3t633.js.gz +0 -0
  444. package/web/chunk-xk8637wb.js +1 -0
  445. package/web/chunk-xk8637wb.js.br +0 -0
  446. package/web/chunk-xk8637wb.js.gz +0 -0
  447. package/web/chunk-xmr18f18.js +1 -0
  448. package/web/chunk-xmr18f18.js.br +0 -0
  449. package/web/chunk-xmr18f18.js.gz +0 -0
  450. package/web/chunk-y372dg1e.js +7 -0
  451. package/web/chunk-y372dg1e.js.br +0 -0
  452. package/web/chunk-y372dg1e.js.gz +0 -0
  453. package/web/chunk-y48mj5d7.js +1 -0
  454. package/web/chunk-y48mj5d7.js.br +0 -0
  455. package/web/chunk-y48mj5d7.js.gz +0 -0
  456. package/web/chunk-y778wckc.js +24 -0
  457. package/web/chunk-y778wckc.js.br +0 -0
  458. package/web/chunk-y778wckc.js.gz +0 -0
  459. package/web/chunk-yerpvhym.js +169 -0
  460. package/web/chunk-yerpvhym.js.br +0 -0
  461. package/web/chunk-yerpvhym.js.gz +0 -0
  462. package/web/chunk-yrhe7a7c.js +106 -0
  463. package/web/chunk-yrhe7a7c.js.br +0 -0
  464. package/web/chunk-yrhe7a7c.js.gz +0 -0
  465. package/web/chunk-z2aazpzj.js +2 -0
  466. package/web/chunk-z2aazpzj.js.br +0 -0
  467. package/web/chunk-z2aazpzj.js.gz +0 -0
  468. package/web/chunk-z43td5ad.js +1 -0
  469. package/web/chunk-z43td5ad.js.br +0 -0
  470. package/web/chunk-z43td5ad.js.gz +0 -0
  471. package/web/chunk-z8fgdsx5.js +1 -0
  472. package/web/chunk-z8fgdsx5.js.br +0 -0
  473. package/web/chunk-z8fgdsx5.js.gz +0 -0
  474. package/web/chunk-zf42y65m.js +1 -0
  475. package/web/chunk-zf42y65m.js.br +0 -0
  476. package/web/chunk-zf42y65m.js.gz +0 -0
  477. package/web/chunk-zj2rhf4b.js +200 -0
  478. package/web/chunk-zj2rhf4b.js.br +0 -0
  479. package/web/chunk-zj2rhf4b.js.gz +0 -0
  480. package/web/chunk-zkn84jhm.js +2 -0
  481. package/web/chunk-zkn84jhm.js.br +0 -0
  482. package/web/chunk-zkn84jhm.js.gz +0 -0
  483. package/web/index.html +27 -2
  484. package/web/index.html.br +0 -0
  485. package/web/index.html.gz +0 -0
  486. package/web/sw.js +39 -24
  487. package/web/sw.js.br +0 -0
  488. package/web/sw.js.gz +0 -0
  489. package/worker.js +1 -1
  490. package/chunk-00jhevnt.js +0 -3
  491. package/chunk-04tx0etc.js +0 -2
  492. package/chunk-0r86p29p.js +0 -7
  493. package/chunk-10x1zefx.js +0 -25
  494. package/chunk-1amcz1cz.js +0 -10
  495. package/chunk-1pfdps04.js +0 -2
  496. package/chunk-206g40v9.js +0 -59
  497. package/chunk-2364s958.js +0 -7
  498. package/chunk-3fv2qcpg.js +0 -12
  499. package/chunk-3zz4a5tn.js +0 -31
  500. package/chunk-45wfmdts.js +0 -44
  501. package/chunk-4hkwjw05.js +0 -2
  502. package/chunk-4n4wn5cj.js +0 -4014
  503. package/chunk-4pq7ycp2.js +0 -5
  504. package/chunk-5e0qfdgx.js +0 -5
  505. package/chunk-78yngmvf.js +0 -51
  506. package/chunk-7hpf9qq2.js +0 -3
  507. package/chunk-82dkdvs9.js +0 -2
  508. package/chunk-8913dkey.js +0 -3
  509. package/chunk-8g1sbmwf.js +0 -3
  510. package/chunk-8hfch7d0.js +0 -2
  511. package/chunk-90arpvgz.js +0 -2
  512. package/chunk-912knnfg.js +0 -11
  513. package/chunk-97bazdk3.js +0 -20
  514. package/chunk-9akexjfn.js +0 -2
  515. package/chunk-9dgmbwcc.js +0 -2
  516. package/chunk-a454ntda.js +0 -50
  517. package/chunk-acd2cwza.js +0 -3
  518. package/chunk-ach16jbw.js +0 -2
  519. package/chunk-ax823t5v.js +0 -3
  520. package/chunk-b03hg30w.js +0 -2
  521. package/chunk-bh29df86.js +0 -5
  522. package/chunk-bhpg72c4.js +0 -2
  523. package/chunk-bwww6j2q.js +0 -2
  524. package/chunk-c126k8wc.js +0 -2
  525. package/chunk-cb3jgak9.js +0 -3
  526. package/chunk-cjeyy6da.js +0 -3
  527. package/chunk-cs4gb2hb.js +0 -2
  528. package/chunk-en5t6hwd.js +0 -3
  529. package/chunk-f4n1csz0.js +0 -3
  530. package/chunk-j01t6mnq.js +0 -3
  531. package/chunk-j16smb6d.js +0 -2
  532. package/chunk-j7eqp97m.js +0 -2
  533. package/chunk-jdrqn8m1.js +0 -2
  534. package/chunk-jp1gqkbp.js +0 -4
  535. package/chunk-jrcvxscb.js +0 -9
  536. package/chunk-k8zq95wr.js +0 -2
  537. package/chunk-ken7ras9.js +0 -8
  538. package/chunk-kqgpjmcf.js +0 -2
  539. package/chunk-krbdx24j.js +0 -3
  540. package/chunk-ky2ym708.js +0 -8
  541. package/chunk-kzfy666j.js +0 -16
  542. package/chunk-n0stnnxv.js +0 -2
  543. package/chunk-n9m2pagh.js +0 -2
  544. package/chunk-nedvy6yk.js +0 -10
  545. package/chunk-ng5g0fy3.js +0 -3
  546. package/chunk-nqeqasyt.js +0 -7
  547. package/chunk-nt30x5a7.js +0 -3
  548. package/chunk-q1s5r204.js +0 -3
  549. package/chunk-qj0vfk01.js +0 -2
  550. package/chunk-qqfdg01g.js +0 -3
  551. package/chunk-rj6qknjx.js +0 -12
  552. package/chunk-rvrj0nrs.js +0 -3
  553. package/chunk-sbhj5h2q.js +0 -2
  554. package/chunk-t71zzafh.js +0 -3
  555. package/chunk-t7fwvzmh.js +0 -3
  556. package/chunk-tpv5hz99.js +0 -5
  557. package/chunk-tx2rrrtq.js +0 -2
  558. package/chunk-tyzzbhr5.js +0 -3
  559. package/chunk-tzbefwf0.js +0 -286
  560. package/chunk-v4p8807b.js +0 -18
  561. package/chunk-vnxjcym9.js +0 -17
  562. package/chunk-w35r8v6x.js +0 -39
  563. package/chunk-wbygknv2.js +0 -3
  564. package/chunk-wk63htqy.js +0 -2
  565. package/chunk-wwazj6mz.js +0 -3
  566. package/chunk-xpc75mkw.js +0 -25
  567. package/chunk-ypxn8bec.js +0 -3
  568. package/chunk-yztc2q9q.js +0 -490
  569. package/web/chunk-02z7yrhn.js +0 -2
  570. package/web/chunk-02z7yrhn.js.br +0 -0
  571. package/web/chunk-02z7yrhn.js.gz +0 -0
  572. package/web/chunk-0an1eqtf.js +0 -1
  573. package/web/chunk-0an1eqtf.js.br +0 -0
  574. package/web/chunk-0an1eqtf.js.gz +0 -0
  575. package/web/chunk-128zy60g.js +0 -99
  576. package/web/chunk-128zy60g.js.br +0 -0
  577. package/web/chunk-128zy60g.js.gz +0 -0
  578. package/web/chunk-1e2jy7m2.js +0 -139
  579. package/web/chunk-1e2jy7m2.js.br +0 -0
  580. package/web/chunk-1e2jy7m2.js.gz +0 -0
  581. package/web/chunk-1hmw1eaw.js +0 -1
  582. package/web/chunk-1hmw1eaw.js.br +0 -0
  583. package/web/chunk-1hmw1eaw.js.gz +0 -0
  584. package/web/chunk-1v3e001f.js +0 -1
  585. package/web/chunk-1v3e001f.js.br +0 -0
  586. package/web/chunk-1v3e001f.js.gz +0 -0
  587. package/web/chunk-20gcnbgn.js +0 -2
  588. package/web/chunk-20gcnbgn.js.br +0 -0
  589. package/web/chunk-20gcnbgn.js.gz +0 -0
  590. package/web/chunk-214p3rj6.js +0 -41
  591. package/web/chunk-214p3rj6.js.br +0 -0
  592. package/web/chunk-214p3rj6.js.gz +0 -0
  593. package/web/chunk-29byd5kf.js +0 -89
  594. package/web/chunk-29byd5kf.js.br +0 -0
  595. package/web/chunk-29byd5kf.js.gz +0 -0
  596. package/web/chunk-2nwvdqxm.js +0 -1
  597. package/web/chunk-2nwvdqxm.js.br +0 -0
  598. package/web/chunk-2nwvdqxm.js.gz +0 -0
  599. package/web/chunk-2wvgy7f4.js +0 -1
  600. package/web/chunk-2wvgy7f4.js.br +0 -0
  601. package/web/chunk-2wvgy7f4.js.gz +0 -0
  602. package/web/chunk-3fbh1wxk.js +0 -62
  603. package/web/chunk-3fbh1wxk.js.br +0 -0
  604. package/web/chunk-3fbh1wxk.js.gz +0 -0
  605. package/web/chunk-3fnrzj1h.js +0 -98
  606. package/web/chunk-3fnrzj1h.js.br +0 -0
  607. package/web/chunk-3fnrzj1h.js.gz +0 -0
  608. package/web/chunk-3g1095m7.js +0 -78
  609. package/web/chunk-3g1095m7.js.br +0 -0
  610. package/web/chunk-3g1095m7.js.gz +0 -0
  611. package/web/chunk-3nn7w4hw.js +0 -2
  612. package/web/chunk-3nn7w4hw.js.br +0 -0
  613. package/web/chunk-3nn7w4hw.js.gz +0 -0
  614. package/web/chunk-3qa8xcdr.js +0 -1
  615. package/web/chunk-3qa8xcdr.js.br +0 -0
  616. package/web/chunk-3qa8xcdr.js.gz +0 -0
  617. package/web/chunk-3x69jfmh.js +0 -332
  618. package/web/chunk-3x69jfmh.js.br +0 -0
  619. package/web/chunk-3x69jfmh.js.gz +0 -0
  620. package/web/chunk-414npx47.js +0 -1
  621. package/web/chunk-414npx47.js.br +0 -0
  622. package/web/chunk-414npx47.js.gz +0 -0
  623. package/web/chunk-4v6m77sv.css +0 -1
  624. package/web/chunk-4v6m77sv.css.br +0 -0
  625. package/web/chunk-4v6m77sv.css.gz +0 -0
  626. package/web/chunk-4vk6xma5.js +0 -1
  627. package/web/chunk-4vk6xma5.js.br +0 -0
  628. package/web/chunk-4vk6xma5.js.gz +0 -0
  629. package/web/chunk-50pdas2t.js +0 -1
  630. package/web/chunk-50pdas2t.js.br +0 -0
  631. package/web/chunk-50pdas2t.js.gz +0 -0
  632. package/web/chunk-56a6zytc.js +0 -1139
  633. package/web/chunk-56a6zytc.js.br +0 -0
  634. package/web/chunk-56a6zytc.js.gz +0 -0
  635. package/web/chunk-5ckj4zez.js +0 -1
  636. package/web/chunk-5ckj4zez.js.br +0 -2
  637. package/web/chunk-5ckj4zez.js.gz +0 -0
  638. package/web/chunk-5mr8z024.js +0 -2
  639. package/web/chunk-5mr8z024.js.br +0 -0
  640. package/web/chunk-5mr8z024.js.gz +0 -0
  641. package/web/chunk-5q4pemdh.js +0 -1
  642. package/web/chunk-5q4pemdh.js.br +0 -0
  643. package/web/chunk-5q4pemdh.js.gz +0 -0
  644. package/web/chunk-63ft76vs.js +0 -1
  645. package/web/chunk-63ft76vs.js.br +0 -0
  646. package/web/chunk-63ft76vs.js.gz +0 -0
  647. package/web/chunk-67ynxnvq.js +0 -8
  648. package/web/chunk-67ynxnvq.js.br +0 -0
  649. package/web/chunk-67ynxnvq.js.gz +0 -0
  650. package/web/chunk-6c2pv79h.js +0 -1
  651. package/web/chunk-6c2pv79h.js.br +0 -0
  652. package/web/chunk-6c2pv79h.js.gz +0 -0
  653. package/web/chunk-719tz8xw.js +0 -1
  654. package/web/chunk-719tz8xw.js.br +0 -0
  655. package/web/chunk-719tz8xw.js.gz +0 -0
  656. package/web/chunk-77nxgqqb.js +0 -4
  657. package/web/chunk-77nxgqqb.js.br +0 -0
  658. package/web/chunk-77nxgqqb.js.gz +0 -0
  659. package/web/chunk-7c59jb8d.js +0 -2
  660. package/web/chunk-7c59jb8d.js.br +0 -0
  661. package/web/chunk-7c59jb8d.js.gz +0 -0
  662. package/web/chunk-7ed5jf6e.js +0 -36
  663. package/web/chunk-7ed5jf6e.js.br +0 -0
  664. package/web/chunk-7ed5jf6e.js.gz +0 -0
  665. package/web/chunk-891bpx3c.js +0 -70
  666. package/web/chunk-891bpx3c.js.br +0 -0
  667. package/web/chunk-891bpx3c.js.gz +0 -0
  668. package/web/chunk-8h4dc48v.js +0 -292
  669. package/web/chunk-8h4dc48v.js.br +0 -0
  670. package/web/chunk-8h4dc48v.js.gz +0 -0
  671. package/web/chunk-96n00vam.js +0 -1
  672. package/web/chunk-96n00vam.js.br +0 -0
  673. package/web/chunk-96n00vam.js.gz +0 -0
  674. package/web/chunk-99c0h3v7.js +0 -1
  675. package/web/chunk-99c0h3v7.js.br +0 -0
  676. package/web/chunk-99c0h3v7.js.gz +0 -0
  677. package/web/chunk-9bs7khrr.js +0 -24
  678. package/web/chunk-9bs7khrr.js.br +0 -0
  679. package/web/chunk-9bs7khrr.js.gz +0 -0
  680. package/web/chunk-9ctyqr3n.js +0 -169
  681. package/web/chunk-9ctyqr3n.js.br +0 -0
  682. package/web/chunk-9ctyqr3n.js.gz +0 -0
  683. package/web/chunk-9qdx0ekk.js +0 -142
  684. package/web/chunk-9qdx0ekk.js.br +0 -0
  685. package/web/chunk-9qdx0ekk.js.gz +0 -0
  686. package/web/chunk-9r0rnt6d.js +0 -214
  687. package/web/chunk-9r0rnt6d.js.br +0 -0
  688. package/web/chunk-9r0rnt6d.js.gz +0 -0
  689. package/web/chunk-aan5qk6x.js +0 -1
  690. package/web/chunk-aan5qk6x.js.br +0 -0
  691. package/web/chunk-aan5qk6x.js.gz +0 -0
  692. package/web/chunk-ac9g3w7v.js +0 -1
  693. package/web/chunk-ac9g3w7v.js.br +0 -0
  694. package/web/chunk-ac9g3w7v.js.gz +0 -0
  695. package/web/chunk-ackts7ph.js +0 -24
  696. package/web/chunk-ackts7ph.js.br +0 -0
  697. package/web/chunk-ackts7ph.js.gz +0 -0
  698. package/web/chunk-asyqrf38.js +0 -1
  699. package/web/chunk-asyqrf38.js.br +0 -0
  700. package/web/chunk-asyqrf38.js.gz +0 -0
  701. package/web/chunk-b13crsv9.js +0 -1
  702. package/web/chunk-b13crsv9.js.br +0 -0
  703. package/web/chunk-b13crsv9.js.gz +0 -0
  704. package/web/chunk-brg2zcv5.js +0 -55
  705. package/web/chunk-brg2zcv5.js.br +0 -0
  706. package/web/chunk-brg2zcv5.js.gz +0 -0
  707. package/web/chunk-c3d08dw1.js +0 -1
  708. package/web/chunk-c3d08dw1.js.br +0 -0
  709. package/web/chunk-c3d08dw1.js.gz +0 -0
  710. package/web/chunk-cgwnzse1.js +0 -16
  711. package/web/chunk-cgwnzse1.js.br +0 -0
  712. package/web/chunk-cgwnzse1.js.gz +0 -0
  713. package/web/chunk-cm4fjb6j.js +0 -2
  714. package/web/chunk-cm4fjb6j.js.br +0 -0
  715. package/web/chunk-cm4fjb6j.js.gz +0 -0
  716. package/web/chunk-cys4n4sv.js +0 -1
  717. package/web/chunk-cys4n4sv.js.br +0 -0
  718. package/web/chunk-cys4n4sv.js.gz +0 -0
  719. package/web/chunk-d5n2yz4e.js +0 -2
  720. package/web/chunk-d5n2yz4e.js.br +0 -0
  721. package/web/chunk-d5n2yz4e.js.gz +0 -0
  722. package/web/chunk-djrvdzsb.js +0 -89
  723. package/web/chunk-djrvdzsb.js.br +0 -0
  724. package/web/chunk-djrvdzsb.js.gz +0 -0
  725. package/web/chunk-dsffzc1e.js +0 -2
  726. package/web/chunk-dsffzc1e.js.br +0 -0
  727. package/web/chunk-dsffzc1e.js.gz +0 -0
  728. package/web/chunk-e1wy8050.js +0 -370
  729. package/web/chunk-e1wy8050.js.br +0 -0
  730. package/web/chunk-e1wy8050.js.gz +0 -0
  731. package/web/chunk-e4cwyn1g.js +0 -2
  732. package/web/chunk-e4cwyn1g.js.br +0 -0
  733. package/web/chunk-e4cwyn1g.js.gz +0 -0
  734. package/web/chunk-ebknmxdp.js +0 -2
  735. package/web/chunk-ebknmxdp.js.br +0 -0
  736. package/web/chunk-ebknmxdp.js.gz +0 -0
  737. package/web/chunk-efjc9mga.js +0 -2
  738. package/web/chunk-efjc9mga.js.br +0 -0
  739. package/web/chunk-efjc9mga.js.gz +0 -0
  740. package/web/chunk-egjv760p.js +0 -2
  741. package/web/chunk-egjv760p.js.br +0 -0
  742. package/web/chunk-egjv760p.js.gz +0 -0
  743. package/web/chunk-etpd8y98.js +0 -1
  744. package/web/chunk-etpd8y98.js.br +0 -0
  745. package/web/chunk-etpd8y98.js.gz +0 -0
  746. package/web/chunk-f5kr9p2k.js +0 -1
  747. package/web/chunk-f5kr9p2k.js.br +0 -2
  748. package/web/chunk-f5kr9p2k.js.gz +0 -0
  749. package/web/chunk-f5wyg9zh.js +0 -2
  750. package/web/chunk-f5wyg9zh.js.br +0 -0
  751. package/web/chunk-f5wyg9zh.js.gz +0 -0
  752. package/web/chunk-fjhqg9ag.js +0 -2
  753. package/web/chunk-fjhqg9ag.js.br +0 -0
  754. package/web/chunk-fjhqg9ag.js.gz +0 -0
  755. package/web/chunk-ftdzs90e.js +0 -1
  756. package/web/chunk-ftdzs90e.js.br +0 -0
  757. package/web/chunk-ftdzs90e.js.gz +0 -0
  758. package/web/chunk-fyr6rm2p.js +0 -2
  759. package/web/chunk-fyr6rm2p.js.br +0 -0
  760. package/web/chunk-fyr6rm2p.js.gz +0 -0
  761. package/web/chunk-grjq1g15.js +0 -1
  762. package/web/chunk-grjq1g15.js.br +0 -0
  763. package/web/chunk-grjq1g15.js.gz +0 -0
  764. package/web/chunk-gvndjaan.js +0 -2
  765. package/web/chunk-gvndjaan.js.br +0 -0
  766. package/web/chunk-gvndjaan.js.gz +0 -0
  767. package/web/chunk-h4bzgvbg.js +0 -303
  768. package/web/chunk-h4bzgvbg.js.br +0 -0
  769. package/web/chunk-h4bzgvbg.js.gz +0 -0
  770. package/web/chunk-heen0v5d.js +0 -12
  771. package/web/chunk-heen0v5d.js.br +0 -0
  772. package/web/chunk-heen0v5d.js.gz +0 -0
  773. package/web/chunk-henez15c.js +0 -4
  774. package/web/chunk-henez15c.js.br +0 -0
  775. package/web/chunk-henez15c.js.gz +0 -0
  776. package/web/chunk-hpcvwdkg.js +0 -1
  777. package/web/chunk-hpcvwdkg.js.br +0 -0
  778. package/web/chunk-hpcvwdkg.js.gz +0 -0
  779. package/web/chunk-hpvyk6rz.js +0 -324
  780. package/web/chunk-hpvyk6rz.js.br +0 -0
  781. package/web/chunk-hpvyk6rz.js.gz +0 -0
  782. package/web/chunk-hzvff525.js +0 -2
  783. package/web/chunk-hzvff525.js.br +0 -0
  784. package/web/chunk-hzvff525.js.gz +0 -0
  785. package/web/chunk-j0dyf1g8.js +0 -2
  786. package/web/chunk-j0dyf1g8.js.br +0 -3
  787. package/web/chunk-j0dyf1g8.js.gz +0 -0
  788. package/web/chunk-jb89v31q.js +0 -1
  789. package/web/chunk-jb89v31q.js.br +0 -0
  790. package/web/chunk-jb89v31q.js.gz +0 -0
  791. package/web/chunk-jb949ewp.js +0 -217
  792. package/web/chunk-jb949ewp.js.br +0 -0
  793. package/web/chunk-jb949ewp.js.gz +0 -0
  794. package/web/chunk-je4bf95v.js +0 -1
  795. package/web/chunk-je4bf95v.js.br +0 -0
  796. package/web/chunk-je4bf95v.js.gz +0 -0
  797. package/web/chunk-js6c1973.js +0 -1
  798. package/web/chunk-js6c1973.js.br +0 -0
  799. package/web/chunk-js6c1973.js.gz +0 -0
  800. package/web/chunk-k140nr54.js +0 -1
  801. package/web/chunk-k140nr54.js.br +0 -0
  802. package/web/chunk-k140nr54.js.gz +0 -0
  803. package/web/chunk-k89686qj.js +0 -2
  804. package/web/chunk-k89686qj.js.br +0 -0
  805. package/web/chunk-k89686qj.js.gz +0 -0
  806. package/web/chunk-kknrn2wb.js +0 -84
  807. package/web/chunk-kknrn2wb.js.br +0 -0
  808. package/web/chunk-kknrn2wb.js.gz +0 -0
  809. package/web/chunk-mhtzdq9d.js +0 -140
  810. package/web/chunk-mhtzdq9d.js.br +0 -0
  811. package/web/chunk-mhtzdq9d.js.gz +0 -0
  812. package/web/chunk-mqdvg55y.js +0 -2
  813. package/web/chunk-mqdvg55y.js.br +0 -0
  814. package/web/chunk-mqdvg55y.js.gz +0 -0
  815. package/web/chunk-mrnj2k3v.js +0 -2
  816. package/web/chunk-mrnj2k3v.js.br +0 -0
  817. package/web/chunk-mrnj2k3v.js.gz +0 -0
  818. package/web/chunk-my0k5w7f.js +0 -39
  819. package/web/chunk-my0k5w7f.js.br +0 -0
  820. package/web/chunk-my0k5w7f.js.gz +0 -0
  821. package/web/chunk-n08727ym.js +0 -34
  822. package/web/chunk-n08727ym.js.br +0 -0
  823. package/web/chunk-n08727ym.js.gz +0 -0
  824. package/web/chunk-n5ghyxwk.js +0 -38
  825. package/web/chunk-n5ghyxwk.js.br +0 -0
  826. package/web/chunk-n5ghyxwk.js.gz +0 -0
  827. package/web/chunk-ngsv0xfb.js +0 -1
  828. package/web/chunk-ngsv0xfb.js.br +0 -0
  829. package/web/chunk-ngsv0xfb.js.gz +0 -0
  830. package/web/chunk-nt21rjrm.js +0 -21
  831. package/web/chunk-nt21rjrm.js.br +0 -0
  832. package/web/chunk-nt21rjrm.js.gz +0 -0
  833. package/web/chunk-nzgj9qx5.js +0 -2
  834. package/web/chunk-nzgj9qx5.js.br +0 -0
  835. package/web/chunk-nzgj9qx5.js.gz +0 -0
  836. package/web/chunk-p9wm0dv3.js +0 -1
  837. package/web/chunk-p9wm0dv3.js.br +0 -0
  838. package/web/chunk-p9wm0dv3.js.gz +0 -0
  839. package/web/chunk-pqh9yszs.js +0 -106
  840. package/web/chunk-pqh9yszs.js.br +0 -0
  841. package/web/chunk-pqh9yszs.js.gz +0 -0
  842. package/web/chunk-q0vsqq43.js +0 -1
  843. package/web/chunk-q0vsqq43.js.br +0 -0
  844. package/web/chunk-q0vsqq43.js.gz +0 -0
  845. package/web/chunk-qv5d69fn.js +0 -2
  846. package/web/chunk-qv5d69fn.js.br +0 -0
  847. package/web/chunk-qv5d69fn.js.gz +0 -0
  848. package/web/chunk-r7afv22v.js +0 -2
  849. package/web/chunk-r7afv22v.js.br +0 -0
  850. package/web/chunk-r7afv22v.js.gz +0 -0
  851. package/web/chunk-rc6at4k5.js +0 -291
  852. package/web/chunk-rc6at4k5.js.br +0 -0
  853. package/web/chunk-rc6at4k5.js.gz +0 -0
  854. package/web/chunk-rj1rp0tc.js +0 -1
  855. package/web/chunk-rj1rp0tc.js.br +0 -0
  856. package/web/chunk-rj1rp0tc.js.gz +0 -0
  857. package/web/chunk-rnsvrehz.js +0 -30
  858. package/web/chunk-rnsvrehz.js.br +0 -0
  859. package/web/chunk-rnsvrehz.js.gz +0 -0
  860. package/web/chunk-rsmhn1fq.js +0 -1
  861. package/web/chunk-rsmhn1fq.js.br +0 -0
  862. package/web/chunk-rsmhn1fq.js.gz +0 -0
  863. package/web/chunk-s00gxcxn.js +0 -2
  864. package/web/chunk-s00gxcxn.js.br +0 -0
  865. package/web/chunk-s00gxcxn.js.gz +0 -0
  866. package/web/chunk-s1p271av.js +0 -1
  867. package/web/chunk-s1p271av.js.br +0 -0
  868. package/web/chunk-s1p271av.js.gz +0 -0
  869. package/web/chunk-s6a13wxe.js +0 -2
  870. package/web/chunk-s6a13wxe.js.br +0 -0
  871. package/web/chunk-s6a13wxe.js.gz +0 -0
  872. package/web/chunk-sc4kwbnh.js +0 -1
  873. package/web/chunk-sc4kwbnh.js.br +0 -2
  874. package/web/chunk-sc4kwbnh.js.gz +0 -0
  875. package/web/chunk-scebh2ee.js +0 -1
  876. package/web/chunk-scebh2ee.js.br +0 -0
  877. package/web/chunk-scebh2ee.js.gz +0 -0
  878. package/web/chunk-shtkgxz6.js +0 -2
  879. package/web/chunk-shtkgxz6.js.br +0 -0
  880. package/web/chunk-shtkgxz6.js.gz +0 -0
  881. package/web/chunk-spmfwbhd.js +0 -1
  882. package/web/chunk-spmfwbhd.js.br +0 -0
  883. package/web/chunk-spmfwbhd.js.gz +0 -0
  884. package/web/chunk-svtenejf.js +0 -1
  885. package/web/chunk-svtenejf.js.br +0 -0
  886. package/web/chunk-svtenejf.js.gz +0 -0
  887. package/web/chunk-szwh742y.js +0 -2
  888. package/web/chunk-szwh742y.js.br +0 -0
  889. package/web/chunk-szwh742y.js.gz +0 -0
  890. package/web/chunk-t9z1bp8j.js +0 -3
  891. package/web/chunk-t9z1bp8j.js.br +0 -0
  892. package/web/chunk-t9z1bp8j.js.gz +0 -0
  893. package/web/chunk-tnttdgsc.js +0 -1
  894. package/web/chunk-tnttdgsc.js.br +0 -0
  895. package/web/chunk-tnttdgsc.js.gz +0 -0
  896. package/web/chunk-tntwwpyh.js +0 -2
  897. package/web/chunk-tntwwpyh.js.br +0 -0
  898. package/web/chunk-tntwwpyh.js.gz +0 -0
  899. package/web/chunk-tp3fpa0t.js +0 -1
  900. package/web/chunk-tp3fpa0t.js.br +0 -0
  901. package/web/chunk-tp3fpa0t.js.gz +0 -0
  902. package/web/chunk-txdkp6yc.js +0 -7
  903. package/web/chunk-txdkp6yc.js.br +0 -0
  904. package/web/chunk-txdkp6yc.js.gz +0 -0
  905. package/web/chunk-v34mwgx8.js +0 -1
  906. package/web/chunk-v34mwgx8.js.br +0 -0
  907. package/web/chunk-v34mwgx8.js.gz +0 -0
  908. package/web/chunk-vayamfxv.js +0 -1
  909. package/web/chunk-vayamfxv.js.br +0 -0
  910. package/web/chunk-vayamfxv.js.gz +0 -0
  911. package/web/chunk-vndrjeyr.js +0 -2
  912. package/web/chunk-vndrjeyr.js.br +0 -0
  913. package/web/chunk-vndrjeyr.js.gz +0 -0
  914. package/web/chunk-vtp01n96.js +0 -1
  915. package/web/chunk-vtp01n96.js.br +0 -0
  916. package/web/chunk-vtp01n96.js.gz +0 -0
  917. package/web/chunk-vx1qmkbm.js +0 -120
  918. package/web/chunk-vx1qmkbm.js.br +0 -0
  919. package/web/chunk-vx1qmkbm.js.gz +0 -0
  920. package/web/chunk-vxx451tt.js +0 -1
  921. package/web/chunk-vxx451tt.js.br +0 -0
  922. package/web/chunk-vxx451tt.js.gz +0 -0
  923. package/web/chunk-w8epfc0c.js +0 -1
  924. package/web/chunk-w8epfc0c.js.br +0 -0
  925. package/web/chunk-w8epfc0c.js.gz +0 -0
  926. package/web/chunk-wdd9pasx.js +0 -1
  927. package/web/chunk-wdd9pasx.js.br +0 -0
  928. package/web/chunk-wdd9pasx.js.gz +0 -0
  929. package/web/chunk-whgh2r7d.js +0 -200
  930. package/web/chunk-whgh2r7d.js.br +0 -0
  931. package/web/chunk-whgh2r7d.js.gz +0 -0
  932. package/web/chunk-x0p1n5ws.js +0 -1
  933. package/web/chunk-x0p1n5ws.js.br +0 -2
  934. package/web/chunk-x0p1n5ws.js.gz +0 -0
  935. package/web/chunk-x2tk9zeq.js +0 -1
  936. package/web/chunk-x2tk9zeq.js.br +0 -0
  937. package/web/chunk-x2tk9zeq.js.gz +0 -0
  938. package/web/chunk-xbt045kt.js +0 -1
  939. package/web/chunk-xbt045kt.js.br +0 -2
  940. package/web/chunk-xbt045kt.js.gz +0 -0
  941. package/web/chunk-xh3agbvb.js +0 -7
  942. package/web/chunk-xh3agbvb.js.br +0 -0
  943. package/web/chunk-xh3agbvb.js.gz +0 -0
  944. package/web/chunk-xpw1spgj.js +0 -40
  945. package/web/chunk-xpw1spgj.js.br +0 -0
  946. package/web/chunk-xpw1spgj.js.gz +0 -0
  947. package/web/chunk-y2jkaf1e.js +0 -2
  948. package/web/chunk-y2jkaf1e.js.br +0 -0
  949. package/web/chunk-y2jkaf1e.js.gz +0 -0
  950. package/web/chunk-yp2jydfj.js +0 -1
  951. package/web/chunk-yp2jydfj.js.br +0 -0
  952. package/web/chunk-yp2jydfj.js.gz +0 -0
  953. package/web/chunk-yxp1es3b.js +0 -1
  954. package/web/chunk-yxp1es3b.js.br +0 -0
  955. package/web/chunk-yxp1es3b.js.gz +0 -0
  956. package/web/chunk-yzrww95m.js +0 -7
  957. package/web/chunk-yzrww95m.js.br +0 -0
  958. package/web/chunk-yzrww95m.js.gz +0 -0
  959. package/web/chunk-z502b5p0.js +0 -1
  960. package/web/chunk-z502b5p0.js.br +0 -0
  961. package/web/chunk-z502b5p0.js.gz +0 -0
  962. package/web/chunk-zny7cya7.js +0 -1
  963. package/web/chunk-zny7cya7.js.br +0 -2
  964. package/web/chunk-zny7cya7.js.gz +0 -0
  965. package/web/chunk-zq1qbaxb.js +0 -2
  966. package/web/chunk-zq1qbaxb.js.br +0 -0
  967. package/web/chunk-zq1qbaxb.js.gz +0 -0
  968. /package/{chunk-h4bvkm6p.js → chunk-2h2mvrw2.js} +0 -0
  969. /package/{chunk-51f8zbj5.js → chunk-54zpktrq.js} +0 -0
  970. /package/{chunk-fqfjjhkj.js → chunk-aq6xkc1w.js} +0 -0
  971. /package/{chunk-chfzk1fx.js → chunk-et2s8y6a.js} +0 -0
  972. /package/{chunk-pa7yh2q3.js → chunk-fgpzy3fe.js} +0 -0
@@ -1,84 +0,0 @@
1
- import{t,nr,i,A,L,M,R,P,I,O,D,d,H,De,Ne,Me,dn,He,Ue}from"./chunk-h4bzgvbg.js";import{ze}from"./chunk-r7afv22v.js";import{Re}from"./chunk-qv5d69fn.js";var Be=function(){var e=t(function(X,a,l,c){for(l=l||{},c=X.length;c--;l[X[c]]=a);return l},"o"),f=[1,3],m=[1,4],u=[1,5],n=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],_=[1,22],q=[2,7],E=[1,26],S=[1,27],T=[1,28],x=[1,29],w=[1,33],F=[1,34],U=[1,35],Y=[1,36],B=[1,37],Q=[1,38],K=[1,24],W=[1,31],j=[1,32],G=[1,30],k=[1,39],g=[1,40],b=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],J=[1,61],ce=[89,90],Qe=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ce=[27,29],Ke=[1,70],We=[1,71],je=[1,72],Ge=[1,73],Xe=[1,74],Je=[1,75],Ze=[1,76],ue=[1,83],Z=[1,80],me=[1,84],fe=[1,85],de=[1,86],pe=[1,87],Ee=[1,88],be=[1,89],ke=[1,90],ge=[1,91],ye=[1,92],Ae=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],ee=[63,64],et=[1,101],tt=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],C=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],te=[1,110],se=[1,106],ie=[1,107],re=[1,108],ne=[1,109],ae=[1,111],_e=[1,116],Se=[1,117],Ie=[1,114],Te=[1,115],we={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:t(function(a,l,c,r,p,s,qe){var o=s.length-1;switch(p){case 4:this.$=s[o].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[o].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:r.setDirection("TB");break;case 18:r.setDirection("BT");break;case 19:r.setDirection("RL");break;case 20:r.setDirection("LR");break;case 21:r.addRequirement(s[o-3],s[o-4]);break;case 22:r.addRequirement(s[o-5],s[o-6]),r.setClass([s[o-5]],s[o-3]);break;case 23:r.setNewReqId(s[o-2]);break;case 24:r.setNewReqText(s[o-2]);break;case 25:r.setNewReqRisk(s[o-2]);break;case 26:r.setNewReqVerifyMethod(s[o-2]);break;case 29:this.$=r.RequirementType.REQUIREMENT;break;case 30:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=r.RiskLevel.LOW_RISK;break;case 36:this.$=r.RiskLevel.MED_RISK;break;case 37:this.$=r.RiskLevel.HIGH_RISK;break;case 38:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=r.VerifyType.VERIFY_TEST;break;case 42:r.addElement(s[o-3]);break;case 43:r.addElement(s[o-5]),r.setClass([s[o-5]],s[o-3]);break;case 44:r.setNewElementType(s[o-2]);break;case 45:r.setNewElementDocRef(s[o-2]);break;case 48:r.addRelationship(s[o-2],s[o],s[o-4]);break;case 49:r.addRelationship(s[o-2],s[o-4],s[o]);break;case 50:this.$=r.Relationships.CONTAINS;break;case 51:this.$=r.Relationships.COPIES;break;case 52:this.$=r.Relationships.DERIVES;break;case 53:this.$=r.Relationships.SATISFIES;break;case 54:this.$=r.Relationships.VERIFIES;break;case 55:this.$=r.Relationships.REFINES;break;case 56:this.$=r.Relationships.TRACES;break;case 57:this.$=s[o-2],r.defineClass(s[o-1],s[o]);break;case 58:r.setClass(s[o-1],s[o]);break;case 59:r.setClass([s[o-2]],s[o]);break;case 60:case 62:this.$=[s[o]];break;case 61:case 63:this.$=s[o-2].concat([s[o]]);break;case 64:this.$=s[o-2],r.setCssStyle(s[o-1],s[o]);break;case 65:this.$=[s[o]];break;case 66:s[o-2].push(s[o]),this.$=s[o-2];break;case 68:this.$=s[o-1]+s[o];break}},"anonymous"),table:[{3:1,4:2,6:f,9:m,11:u,13:n},{1:[3]},{3:8,4:2,5:[1,7],6:f,9:m,11:u,13:n},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(h,[2,6]),{3:12,4:2,6:f,9:m,11:u,13:n},{1:[2,2]},{4:17,5:_,7:13,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},e(h,[2,4]),e(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:_,7:42,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:43,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:44,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:45,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:46,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:47,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:48,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:49,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{4:17,5:_,7:50,8:q,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:S,23:T,24:x,25:23,33:25,41:w,42:F,43:U,44:Y,45:B,46:Q,54:K,72:W,74:j,77:G,89:k,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(b,[2,17]),e(b,[2,18]),e(b,[2,19]),e(b,[2,20]),{30:60,33:62,75:J,89:k,90:g},{30:63,33:62,75:J,89:k,90:g},{30:64,33:62,75:J,89:k,90:g},e(ce,[2,29]),e(ce,[2,30]),e(ce,[2,31]),e(ce,[2,32]),e(ce,[2,33]),e(ce,[2,34]),e(Qe,[2,81]),e(Qe,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ce,[2,79]),e(Ce,[2,80]),{27:[1,67],29:[1,68]},e(Ce,[2,85]),e(Ce,[2,86]),{62:69,65:Ke,66:We,67:je,68:Ge,69:Xe,70:Je,71:Ze},{62:77,65:Ke,66:We,67:je,68:Ge,69:Xe,70:Je,71:Ze},{30:78,33:62,75:J,89:k,90:g},{73:79,75:ue,76:Z,78:81,79:82,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye},e(Ae,[2,60]),e(Ae,[2,62]),{73:93,75:ue,76:Z,78:81,79:82,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye},{30:94,33:62,75:J,76:Z,89:k,90:g},{5:[1,95]},{30:96,33:62,75:J,89:k,90:g},{5:[1,97]},{30:98,33:62,75:J,89:k,90:g},{63:[1,99]},e(ee,[2,50]),e(ee,[2,51]),e(ee,[2,52]),e(ee,[2,53]),e(ee,[2,54]),e(ee,[2,55]),e(ee,[2,56]),{64:[1,100]},e(b,[2,59],{76:Z}),e(b,[2,64],{76:et}),{33:103,75:[1,102],89:k,90:g},e(tt,[2,65],{79:104,75:ue,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye}),e(C,[2,67]),e(C,[2,69]),e(C,[2,70]),e(C,[2,71]),e(C,[2,72]),e(C,[2,73]),e(C,[2,74]),e(C,[2,75]),e(C,[2,76]),e(C,[2,77]),e(C,[2,78]),e(b,[2,57],{76:et}),e(b,[2,58],{76:Z}),{5:te,28:105,31:se,34:ie,36:re,38:ne,40:ae},{27:[1,112],76:Z},{5:_e,40:Se,56:113,57:Ie,59:Te},{27:[1,118],76:Z},{33:119,89:k,90:g},{33:120,89:k,90:g},{75:ue,78:121,79:82,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye},e(Ae,[2,61]),e(Ae,[2,63]),e(C,[2,68]),e(b,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:te,28:126,31:se,34:ie,36:re,38:ne,40:ae},e(b,[2,28]),{5:[1,127]},e(b,[2,42]),{32:[1,128]},{32:[1,129]},{5:_e,40:Se,56:130,57:Ie,59:Te},e(b,[2,47]),{5:[1,131]},e(b,[2,48]),e(b,[2,49]),e(tt,[2,66],{79:104,75:ue,80:me,81:fe,82:de,83:pe,84:Ee,85:be,86:ke,87:ge,88:ye}),{33:132,89:k,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(b,[2,27]),{5:te,28:145,31:se,34:ie,36:re,38:ne,40:ae},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(b,[2,46]),{5:_e,40:Se,56:152,57:Ie,59:Te},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(b,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(b,[2,43]),{5:te,28:159,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:160,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:161,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:162,31:se,34:ie,36:re,38:ne,40:ae},{5:_e,40:Se,56:163,57:Ie,59:Te},{5:_e,40:Se,56:164,57:Ie,59:Te},e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),e(b,[2,26]),e(b,[2,44]),e(b,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:t(function(a,l){if(l.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=l,c}},"parseError"),parse:t(function(a){var l=this,c=[0],r=[],p=[null],s=[],qe=this.table,o="",ve=0,st=0,it=0,ct=2,rt=1,ht=s.slice.call(arguments,1),y=Object.create(this.lexer),le={yy:{}};for(var Oe in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Oe))le.yy[Oe]=this.yy[Oe];if(y.setInput(a,le.yy),le.yy.lexer=y,le.yy.parser=this,typeof y.yylloc>"u")y.yylloc={};var Fe=y.yylloc;s.push(Fe);var ut=y.options&&y.options.ranges;if(typeof le.yy.parseError==="function")this.parseError=le.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function mt(v){c.length=c.length-2*v,p.length=p.length-v,s.length=s.length-v}t(mt,"popStack");function nt(){var v=r.pop()||y.lex()||rt;if(typeof v!=="number"){if(v instanceof Array)r=v,v=r.pop();v=l.symbols_[v]||v}return v}t(nt,"lex");var N,$e,oe,V,kt,Pe,he={},Le,z,at,xe;while(!0){if(oe=c[c.length-1],this.defaultActions[oe])V=this.defaultActions[oe];else{if(N===null||typeof N>"u")N=nt();V=qe[oe]&&qe[oe][N]}if(typeof V>"u"||!V.length||!V[0]){var Ye="";xe=[];for(Le in qe[oe])if(this.terminals_[Le]&&Le>ct)xe.push("'"+this.terminals_[Le]+"'");if(y.showPosition)Ye="Parse error on line "+(ve+1)+`:
2
- `+y.showPosition()+`
3
- Expecting `+xe.join(", ")+", got '"+(this.terminals_[N]||N)+"'";else Ye="Parse error on line "+(ve+1)+": Unexpected "+(N==rt?"end of input":"'"+(this.terminals_[N]||N)+"'");this.parseError(Ye,{text:y.match,token:this.terminals_[N]||N,line:y.yylineno,loc:Fe,expected:xe})}if(V[0]instanceof Array&&V.length>1)throw Error("Parse Error: multiple actions possible at state: "+oe+", token: "+N);switch(V[0]){case 1:if(c.push(N),p.push(y.yytext),s.push(y.yylloc),c.push(V[1]),N=null,!$e){if(st=y.yyleng,o=y.yytext,ve=y.yylineno,Fe=y.yylloc,it>0)it--}else N=$e,$e=null;break;case 2:if(z=this.productions_[V[1]][1],he.$=p[p.length-z],he._$={first_line:s[s.length-(z||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(z||1)].first_column,last_column:s[s.length-1].last_column},ut)he._$.range=[s[s.length-(z||1)].range[0],s[s.length-1].range[1]];if(Pe=this.performAction.apply(he,[o,st,ve,le.yy,V[1],p,s].concat(ht)),typeof Pe<"u")return Pe;if(z)c=c.slice(0,-1*z*2),p=p.slice(0,-1*z),s=s.slice(0,-1*z);c.push(this.productions_[V[1]][0]),p.push(he.$),s.push(he._$),at=qe[c[c.length-2]][c[c.length-1]],c.push(at);break;case 3:return!0}}return!0},"parse")},ot=function(){var X={EOF:1,parseError:t(function(l,c){if(this.yy.parser)this.yy.parser.parseError(l,c);else throw Error(l)},"parseError"),setInput:t(function(a,l){if(this.yy=l||this.yy||{},this._input=a,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 a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var l=a.match(/(?:\r\n?|\n).*/g);if(l)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),a},"input"),unput:t(function(a){var l=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var r=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),c.length-1)this.yylineno-=c.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:c?(c.length===r.length?this.yylloc.first_column:0)+r[r.length-c.length].length-c[0].length:this.yylloc.first_column-l},this.options.ranges)this.yylloc.range=[p[0],p[0]+this.yyleng-l];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(a){this.unput(this.match.slice(a))},"less"),pastInput:t(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var a=this.match;if(a.length<20)a+=this._input.substr(0,20-a.length);return(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var a=this.pastInput(),l=Array(a.length+1).join("-");return a+this.upcomingInput()+`
5
- `+l+"^"},"showPosition"),test_match:t(function(a,l){var c,r,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(r=a[0].match(/(?:\r\n?|\n).*/g),r)this.yylineno+=r.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,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(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,l,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(c)return c;else if(this._backtrack){for(var s in p)this[s]=p[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var a,l,c,r;if(!this._more)this.yytext="",this.match="";var p=this._currentRules();for(var s=0;s<p.length;s++)if(c=this._input.match(this.rules[p[s]]),c&&(!l||c[0].length>l[0].length)){if(l=c,r=s,this.options.backtrack_lexer)if(a=this.test_match(c,p[s]),a!==!1)return a;else if(this._backtrack){l=!1;continue}else return!1;else if(!this.options.flex)break}if(l){if(a=this.test_match(l,p[r]),a!==!1)return a;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 l=this.next();if(l)return l;else return this.lex()},"lex"),begin:t(function(l){this.conditionStack.push(l)},"begin"),popState:t(function(){var l=this.conditionStack.length-1;if(l>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(l){if(l=this.conditionStack.length-1-Math.abs(l||0),l>=0)return this.conditionStack[l];else return"INITIAL"},"topState"),pushState:t(function(l){this.begin(l)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(l,c,r,p){var s=p;switch(r){case 0:return"title";case 1:return this.begin("acc_title"),9;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),11;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;break;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;break;case 60:return this.begin("style"),74;break;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return c.yytext=c.yytext.trim(),89;break;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,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,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}};return X}();we.lexer=ot;function Ve(){this.yy={}}return t(Ve,"Parser"),Ve.prototype=we,we.Parser=Ve,new Ve}();Be.parser=Be;var ft=Be,dt=class{constructor(){this.relations=[],this.latestRequirement=this.getInitialRequirement(),this.requirements=new Map,this.latestElement=this.getInitialElement(),this.elements=new Map,this.classes=new Map,this.direction="TB",this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},this.setAccTitle=M,this.getAccTitle=R,this.setAccDescription=P,this.getAccDescription=I,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getConfig=t(()=>d().requirement,"getConfig"),this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{t(this,"RequirementDB")}getDirection(){return this.direction}setDirection(e){this.direction=e}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(e,f){if(!this.requirements.has(e))this.requirements.set(e,{name:e,type:f,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]});return this.resetLatestRequirement(),this.requirements.get(e)}getRequirements(){return this.requirements}setNewReqId(e){if(this.latestRequirement!==void 0)this.latestRequirement.requirementId=e}setNewReqText(e){if(this.latestRequirement!==void 0)this.latestRequirement.text=e}setNewReqRisk(e){if(this.latestRequirement!==void 0)this.latestRequirement.risk=e}setNewReqVerifyMethod(e){if(this.latestRequirement!==void 0)this.latestRequirement.verifyMethod=e}addElement(e){if(!this.elements.has(e))this.elements.set(e,{name:e,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),i.info("Added new element: ",e);return this.resetLatestElement(),this.elements.get(e)}getElements(){return this.elements}setNewElementType(e){if(this.latestElement!==void 0)this.latestElement.type=e}setNewElementDocRef(e){if(this.latestElement!==void 0)this.latestElement.docRef=e}addRelationship(e,f,m){this.relations.push({type:e,src:f,dst:m})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,L()}setCssStyle(e,f){for(let m of e){let u=this.requirements.get(m)??this.elements.get(m);if(!f||!u)return;for(let n of f)if(n.includes(","))u.cssStyles.push(...n.split(","));else u.cssStyles.push(n)}}setClass(e,f){for(let m of e){let u=this.requirements.get(m)??this.elements.get(m);if(u)for(let n of f){u.classes.push(n);let h=this.classes.get(n)?.styles;if(h)u.cssStyles.push(...h)}}}defineClass(e,f){for(let m of e){let u=this.classes.get(m);if(u===void 0)u={id:m,styles:[],textStyles:[]},this.classes.set(m,u);if(f)f.forEach(function(n){if(/color/.exec(n)){let h=n.replace("fill","bgFill");u.textStyles.push(h)}u.styles.push(n)});this.requirements.forEach((n)=>{if(n.classes.includes(m))n.cssStyles.push(...f.flatMap((h)=>h.split(",")))}),this.elements.forEach((n)=>{if(n.classes.includes(m))n.cssStyles.push(...f.flatMap((h)=>h.split(",")))})}}getClasses(){return this.classes}getData(){let e=d(),f=[],m=[];for(let n of this.requirements.values()){let h=n;h.id=n.name,h.cssStyles=n.cssStyles,h.cssClasses=n.classes.join(" "),h.shape="requirementBox",h.look=e.look,h.colorIndex=f.length,f.push(h)}for(let n of this.elements.values()){let h=n;h.shape="requirementBox",h.look=e.look,h.id=n.name,h.cssStyles=n.cssStyles,h.cssClasses=n.classes.join(" "),h.colorIndex=f.length,f.push(h)}let u=0;for(let n of this.relations){let h=n.type===this.Relationships.CONTAINS,_={id:`${n.src}-${n.dst}-${u++}`,start:this.requirements.get(n.src)?.name??this.elements.get(n.src)?.name,end:this.requirements.get(n.dst)?.name??this.elements.get(n.dst)?.name,label:`&lt;&lt;${n.type}&gt;&gt;`,classes:"relationshipLine",style:["fill:none",h?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:h?"normal":"dashed",arrowTypeStart:h?"requirement_contains":"",arrowTypeEnd:h?"":"requirement_arrow",look:e.look,labelType:"markdown"};m.push(_)}return{nodes:f,edges:m,other:{},config:e,direction:this.getDirection()}}},pt=t(()=>{let e=A(),{theme:f,themeVariables:m}=e,{bkgColorArray:u,borderColorArray:n}=m;if(!Ne(f,n))return"";let h=Me(e.look),_="",q=De(u);for(let E=0;E<dn(n);E++){let S=n[E],T=q?`fill: ${u[E%u.length]};`:"";_+=`
7
-
8
- [data-look="${h}"][data-color-id="color-${E}"].node path {
9
- stroke: ${S};
10
- ${T}
11
- }
12
-
13
- [data-look="${h}"][data-color-id="color-${E}"].node rect {
14
- stroke: ${S};
15
- ${T}
16
- }
17
- `}return _},"genColor"),Et=t((e)=>{let f=A(),{look:m,themeVariables:u}=f,{requirementEdgeLabelBackground:n}=u;return`
18
- ${pt()}
19
- marker {
20
- fill: ${e.relationColor};
21
- stroke: ${e.relationColor};
22
- }
23
-
24
- marker.cross {
25
- stroke: ${e.lineColor};
26
- }
27
-
28
- svg {
29
- font-family: ${e.fontFamily};
30
- font-size: ${e.fontSize};
31
- }
32
-
33
- .reqBox {
34
- fill: ${e.requirementBackground};
35
- fill-opacity: 1.0;
36
- stroke: ${e.requirementBorderColor};
37
- stroke-width: ${e.requirementBorderSize};
38
- }
39
-
40
- .reqTitle, .reqLabel{
41
- fill: ${e.requirementTextColor};
42
- }
43
- .reqLabelBox {
44
- fill: ${e.relationLabelBackground};
45
- fill-opacity: 1.0;
46
- }
47
-
48
- .req-title-line {
49
- stroke: ${e.requirementBorderColor};
50
- stroke-width: ${e.requirementBorderSize};
51
- }
52
- .relationshipLine {
53
- stroke: ${e.relationColor};
54
- stroke-width: ${m==="neo"?e.strokeWidth:"1px"};
55
- }
56
- .relationshipLabel {
57
- fill: ${e.relationLabelColor};
58
- }
59
- .edgeLabel {
60
- background-color: ${e.edgeLabelBackground};
61
- }
62
- .edgeLabel .label rect {
63
- fill: ${e.edgeLabelBackground};
64
- }
65
- .edgeLabel .label text {
66
- fill: ${e.relationLabelColor};
67
- }
68
- .divider {
69
- stroke: ${e.nodeBorder};
70
- stroke-width: 1;
71
- }
72
- .label {
73
- font-family: ${e.fontFamily};
74
- color: ${e.nodeTextColor||e.textColor};
75
- }
76
- .label text,span {
77
- fill: ${e.nodeTextColor||e.textColor};
78
- color: ${e.nodeTextColor||e.textColor};
79
- }
80
- .labelBkg {
81
- background-color: ${n??e.edgeLabelBackground};
82
- }
83
-
84
- `},"getStyles"),bt=Et,lt={};nr(lt,{draw:()=>Rt});var Rt=t(async function(e,f,m,u){i.info("REF0:"),i.info("Drawing requirement diagram (unified)",f);let{securityLevel:n,state:h,layout:_,look:q}=d(),E=u.db.getData(),S=ze(f,n);E.type=u.type,E.layoutAlgorithm=Ue(_),E.nodeSpacing=h?.nodeSpacing??50,E.rankSpacing=h?.rankSpacing??50,E.markers=q==="neo"?["requirement_contains_neo","requirement_arrow_neo"]:["requirement_contains","requirement_arrow"],E.diagramId=f,await He(E,S);let T=8;H.insertTitle(S,"requirementDiagramTitleText",h?.titleTopMargin??25,u.db.getDiagramTitle()),Re(S,T,"requirementDiagram",h?.useMaxWidth??!0)},"draw"),Ot={parser:ft,get db(){return new dt},renderer:lt,styles:bt};export{Ot as diagram};
Binary file
Binary file
@@ -1,140 +0,0 @@
1
- import{t,i,Ie,A,C,Y,L,d,g,Po,Wr,br,Ro,ni,ri,ai,ii,Io,Do,Oo,$o,Bo,Fo,zo,Ho,Uo,jo,qo,Vo,Go,Wo,Yo,Xo,Ko,xr,Qo,De,Ne,Me,Ot,$t,kn,mn,Cn,fa,or,ha}from"./chunk-h4bzgvbg.js";import{_e}from"./chunk-fyr6rm2p.js";import{Et}from"./chunk-cgwnzse1.js";import{$n}from"./chunk-j0dyf1g8.js";function ye(e){return Array.isArray(e)}function we(e){if(Wr(e))return e;let o=br(e);if(!qe(e))return{};if(ye(e)){let a=Array.from(e);if(e.length>0&&typeof e[0]==="string"&&Object.hasOwn(e,"index"))a.index=e.index,a.input=e.input;return a}if(xr(e)){let a=e;return new a.constructor(a.buffer,a.byteOffset,a.length)}if(o==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(o==="[object DataView]"){let a=e,{buffer:h,byteOffset:f,byteLength:r}=a,p=new ArrayBuffer(r),y=new Uint8Array(h,f,r);return new Uint8Array(p).set(y),new DataView(p)}if(o==="[object Boolean]"||o==="[object Number]"||o==="[object String]"){let h=new e.constructor(e.valueOf());if(o==="[object String]")Ze(h,e);else ce(h,e);return h}if(o==="[object Date]")return new Date(Number(e));if(o==="[object RegExp]"){let a=e,h=new RegExp(a.source,a.flags);return h.lastIndex=a.lastIndex,h}if(o==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(o==="[object Map]"){let a=e,h=new Map;return a.forEach((f,r)=>{h.set(r,f)}),h}if(o==="[object Set]"){let a=e,h=new Set;return a.forEach((f)=>{h.add(f)}),h}if(o==="[object Arguments]"){let a=e,h={};return ce(h,a),h.length=a.length,h[Symbol.iterator]=a[Symbol.iterator],h}let c={};return Qe(c,e),ce(c,e),Je(c,e),c}function qe(e){switch(br(e)){case ii:case Bo:case Fo:case Ho:case ai:case Do:case Xo:case Ko:case Go:case Wo:case Yo:case Oo:case ri:case zo:case Ro:case $o:case ni:case Io:case Uo:case jo:case qo:case Vo:return!0;default:return!1}}function ce(e,o){for(let c in o)if(Object.hasOwn(o,c))e[c]=o[c]}function Je(e,o){let c=Object.getOwnPropertySymbols(o);for(let a=0;a<c.length;a++){let h=c[a];if(Object.prototype.propertyIsEnumerable.call(o,h))e[h]=o[h]}}function Ze(e,o){let c=o.valueOf().length;for(let a in o)if(Object.hasOwn(o,a)&&(Number.isNaN(Number(a))||Number(a)>=c))e[a]=o[a]}function Qe(e,o){let c=Object.getPrototypeOf(o);if(c!==null){if(typeof o.constructor==="function")Object.setPrototypeOf(e,c)}}var he=function(){var e=t(function(B,b,n,u){for(n=n||{},u=B.length;u--;n[B[u]]=b);return n},"o"),o=[1,15],c=[1,7],a=[1,13],h=[1,14],f=[1,19],r=[1,16],p=[1,17],y=[1,18],w=[8,30],m=[8,10,21,28,29,30,31,39,43,46],x=[1,23],E=[1,24],D=[8,10,15,16,21,28,29,30,31,39,43,46],k=[8,10,15,16,21,27,28,29,30,31,39,43,46],N=[1,49],T={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:t(function(b,n,u,S,_,s,H){var l=s.length-1;switch(_){case 4:S.getLogger().debug("Rule: separator (NL) ");break;case 5:S.getLogger().debug("Rule: separator (Space) ");break;case 6:S.getLogger().debug("Rule: separator (EOF) ");break;case 7:S.getLogger().debug("Rule: hierarchy: ",s[l-1]),S.setHierarchy(s[l-1]);break;case 8:S.getLogger().debug("Stop NL ");break;case 9:S.getLogger().debug("Stop EOF ");break;case 10:S.getLogger().debug("Stop NL2 ");break;case 11:S.getLogger().debug("Stop EOF2 ");break;case 12:S.getLogger().debug("Rule: statement: ",s[l]),typeof s[l].length==="number"?this.$=s[l]:this.$=[s[l]];break;case 13:S.getLogger().debug("Rule: statement #2: ",s[l-1]),this.$=[s[l-1]].concat(s[l]);break;case 14:S.getLogger().debug("Rule: link: ",s[l],b),this.$={edgeTypeStr:s[l],label:""};break;case 15:S.getLogger().debug("Rule: LABEL link: ",s[l-3],s[l-1],s[l]),this.$={edgeTypeStr:s[l],label:s[l-1]};break;case 18:let V=parseInt(s[l]),j=S.generateId();this.$={id:j,type:"space",label:"",width:V,children:[]};break;case 23:S.getLogger().debug("Rule: (nodeStatement link node) ",s[l-2],s[l-1],s[l]," typestr: ",s[l-1].edgeTypeStr);let G=S.edgeStrToEdgeData(s[l-1].edgeTypeStr),re=S.edgeStrToEdgeStartData(s[l-1].edgeTypeStr),q=S.edgeStrToThickness(s[l-1].edgeTypeStr),se=S.edgeStrToPattern(s[l-1].edgeTypeStr);this.$=[{id:s[l-2].id,label:s[l-2].label,type:s[l-2].type,directions:s[l-2].directions},{id:s[l-2].id+"-"+s[l].id,start:s[l-2].id,end:s[l].id,label:s[l-1].label,type:"edge",thickness:q,pattern:se,directions:s[l].directions,arrowTypeEnd:G,arrowTypeStart:re},{id:s[l].id,label:s[l].label,type:S.typeStr2Type(s[l].typeStr),directions:s[l].directions}];break;case 24:S.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[l-1],s[l]),this.$={id:s[l-1].id,label:s[l-1].label,type:S.typeStr2Type(s[l-1].typeStr),directions:s[l-1].directions,widthInColumns:parseInt(s[l],10)};break;case 25:S.getLogger().debug("Rule: nodeStatement (node) ",s[l]),this.$={id:s[l].id,label:s[l].label,type:S.typeStr2Type(s[l].typeStr),directions:s[l].directions,widthInColumns:1};break;case 26:S.getLogger().debug("APA123",this?this:"na"),S.getLogger().debug("COLUMNS: ",s[l]),this.$={type:"column-setting",columns:s[l]==="auto"?-1:parseInt(s[l])};break;case 27:S.getLogger().debug("Rule: id-block statement : ",s[l-2],s[l-1]);let I=S.generateId();this.$={...s[l-2],type:"composite",children:s[l-1]};break;case 28:S.getLogger().debug("Rule: blockStatement : ",s[l-2],s[l-1],s[l]);let M=S.generateId();this.$={id:M,type:"composite",label:"",children:s[l-1]};break;case 29:S.getLogger().debug("Rule: node (NODE_ID separator): ",s[l]),this.$={id:s[l]};break;case 30:S.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[l-1],s[l]),this.$={id:s[l-1],label:s[l].label,typeStr:s[l].typeStr,directions:s[l].directions};break;case 31:S.getLogger().debug("Rule: dirList: ",s[l]),this.$=[s[l]];break;case 32:S.getLogger().debug("Rule: dirList: ",s[l-1],s[l]),this.$=[s[l-1]].concat(s[l]);break;case 33:S.getLogger().debug("Rule: nodeShapeNLabel: ",s[l-2],s[l-1],s[l]),this.$={typeStr:s[l-2]+s[l],label:s[l-1]};break;case 34:S.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[l-3],s[l-2]," #3:",s[l-1],s[l]),this.$={typeStr:s[l-3]+s[l],label:s[l-2],directions:s[l-1]};break;case 35:case 36:this.$={type:"classDef",id:s[l-1].trim(),css:s[l].trim()};break;case 37:this.$={type:"applyClass",id:s[l-1].trim(),styleClass:s[l].trim()};break;case 38:this.$={type:"applyStyles",id:s[l-1].trim(),stylesStr:s[l].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:o,11:3,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:f,39:r,43:p,46:y},{8:[1,20]},e(w,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:o,21:c,28:a,29:h,31:f,39:r,43:p,46:y}),e(m,[2,16],{14:22,15:x,16:E}),e(m,[2,17]),e(m,[2,18]),e(m,[2,19]),e(m,[2,20]),e(m,[2,21]),e(m,[2,22]),e(D,[2,25],{27:[1,25]}),e(m,[2,26]),{19:26,26:12,31:f},{10:o,11:27,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:f,39:r,43:p,46:y},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(k,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(w,[2,13]),{26:35,31:f},{31:[2,14]},{17:[1,36]},e(D,[2,24]),{10:o,11:37,13:4,14:22,15:x,16:E,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:f,39:r,43:p,46:y},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(k,[2,30]),{18:[1,43]},{18:[1,44]},e(D,[2,23]),{18:[1,45]},{30:[1,46]},e(m,[2,28]),e(m,[2,35]),e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{36:[1,47]},{33:48,34:N},{15:[1,50]},e(m,[2,27]),e(k,[2,33]),{38:[1,51]},{33:52,34:N,38:[2,31]},{31:[2,15]},e(k,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:t(function(b,n){if(n.recoverable)this.trace(b);else{var u=Error(b);throw u.hash=n,u}},"parseError"),parse:t(function(b){var n=this,u=[0],S=[],_=[null],s=[],H=this.table,l="",V=0,j=0,G=0,re=2,q=1,se=s.slice.call(arguments,1),I=Object.create(this.lexer),M={yy:{}};for(var ie in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ie))M.yy[ie]=this.yy[ie];if(I.setInput(b,M.yy),M.yy.lexer=I,M.yy.parser=this,typeof I.yylloc>"u")I.yylloc={};var ae=I.yylloc;s.push(ae);var je=I.options&&I.options.ranges;if(typeof M.yy.parseError==="function")this.parseError=M.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ge(P){u.length=u.length-2*P,_.length=_.length-P,s.length=s.length-P}t(Ge,"popStack");function Le(){var P=S.pop()||I.lex()||q;if(typeof P!=="number"){if(P instanceof Array)S=P,P=S.pop();P=n.symbols_[P]||P}return P}t(Le,"lex");var v,ne,W,R,Nt,oe,U={},J,K,ke,Z;while(!0){if(W=u[u.length-1],this.defaultActions[W])R=this.defaultActions[W];else{if(v===null||typeof v>"u")v=Le();R=H[W]&&H[W][v]}if(typeof R>"u"||!R.length||!R[0]){var le="";Z=[];for(J in H[W])if(this.terminals_[J]&&J>re)Z.push("'"+this.terminals_[J]+"'");if(I.showPosition)le="Parse error on line "+(V+1)+`:
2
- `+I.showPosition()+`
3
- Expecting `+Z.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else le="Parse error on line "+(V+1)+": Unexpected "+(v==q?"end of input":"'"+(this.terminals_[v]||v)+"'");this.parseError(le,{text:I.match,token:this.terminals_[v]||v,line:I.yylineno,loc:ae,expected:Z})}if(R[0]instanceof Array&&R.length>1)throw Error("Parse Error: multiple actions possible at state: "+W+", token: "+v);switch(R[0]){case 1:if(u.push(v),_.push(I.yytext),s.push(I.yylloc),u.push(R[1]),v=null,!ne){if(j=I.yyleng,l=I.yytext,V=I.yylineno,ae=I.yylloc,G>0)G--}else v=ne,ne=null;break;case 2:if(K=this.productions_[R[1]][1],U.$=_[_.length-K],U._$={first_line:s[s.length-(K||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(K||1)].first_column,last_column:s[s.length-1].last_column},je)U._$.range=[s[s.length-(K||1)].range[0],s[s.length-1].range[1]];if(oe=this.performAction.apply(U,[l,j,V,M.yy,R[1],_,s].concat(se)),typeof oe<"u")return oe;if(K)u=u.slice(0,-1*K*2),_=_.slice(0,-1*K),s=s.slice(0,-1*K);u.push(this.productions_[R[1]][0]),_.push(U.$),s.push(U._$),ke=H[u[u.length-2]][u[u.length-1]],u.push(ke);break;case 3:return!0}}return!0},"parse")},O=function(){var B={EOF:1,parseError:t(function(n,u){if(this.yy.parser)this.yy.parser.parseError(n,u);else throw Error(n)},"parseError"),setInput:t(function(b,n){if(this.yy=n||this.yy||{},this._input=b,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 b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var n=b.match(/(?:\r\n?|\n).*/g);if(n)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),b},"input"),unput:t(function(b){var n=b.length,u=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var S=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1)this.yylineno-=u.length-1;var _=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===S.length?this.yylloc.first_column:0)+S[S.length-u.length].length-u[0].length:this.yylloc.first_column-n},this.options.ranges)this.yylloc.range=[_[0],_[0]+this.yyleng-n];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(b){this.unput(this.match.slice(b))},"less"),pastInput:t(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var b=this.match;if(b.length<20)b+=this._input.substr(0,20-b.length);return(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var b=this.pastInput(),n=Array(b.length+1).join("-");return b+this.upcomingInput()+`
5
- `+n+"^"},"showPosition"),test_match:t(function(b,n){var u,S,_;if(this.options.backtrack_lexer){if(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)_.yylloc.range=this.yylloc.range.slice(0)}if(S=b[0].match(/(?:\r\n?|\n).*/g),S)this.yylineno+=S.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:S?S[S.length-1].length-S[S.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,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(b[0].length),this.matched+=b[0],u=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(u)return u;else if(this._backtrack){for(var s in _)this[s]=_[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var b,n,u,S;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var s=0;s<_.length;s++)if(u=this._input.match(this.rules[_[s]]),u&&(!n||u[0].length>n[0].length)){if(n=u,S=s,this.options.backtrack_lexer)if(b=this.test_match(u,_[s]),b!==!1)return b;else if(this._backtrack){n=!1;continue}else return!1;else if(!this.options.flex)break}if(n){if(b=this.test_match(n,_[S]),b!==!1)return b;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 n=this.next();if(n)return n;else return this.lex()},"lex"),begin:t(function(n){this.conditionStack.push(n)},"begin"),popState:t(function(){var n=this.conditionStack.length-1;if(n>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(n){if(n=this.conditionStack.length-1-Math.abs(n||0),n>=0)return this.conditionStack[n];else return"INITIAL"},"topState"),pushState:t(function(n){this.begin(n)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(n,u,S,_){var s=_;switch(S){case 0:return n.getLogger().debug("Found block-beta"),10;break;case 1:return n.getLogger().debug("Found id-block"),29;break;case 2:return n.getLogger().debug("Found block"),10;break;case 3:n.getLogger().debug(".",u.yytext);break;case 4:n.getLogger().debug("_",u.yytext);break;case 5:return 5;case 6:return u.yytext=-1,28;break;case 7:return u.yytext=u.yytext.replace(/columns\s+/,""),n.getLogger().debug("COLUMNS (LEX)",u.yytext),28;break;case 8:this.pushState("md_string");break;case 9:return"MD_STR";case 10:this.popState();break;case 11:this.pushState("string");break;case 12:n.getLogger().debug("LEX: POPPING STR:",u.yytext),this.popState();break;case 13:return n.getLogger().debug("LEX: STR end:",u.yytext),"STR";break;case 14:return u.yytext=u.yytext.replace(/space\:/,""),n.getLogger().debug("SPACE NUM (LEX)",u.yytext),21;break;case 15:return u.yytext="1",n.getLogger().debug("COLUMNS (LEX)",u.yytext),21;break;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;break;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 21:return this.popState(),this.pushState("CLASSDEFID"),40;break;case 22:return this.popState(),41;break;case 23:return this.pushState("CLASS"),43;break;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;break;case 25:return this.popState(),45;break;case 26:return this.pushState("STYLE_STMNT"),46;break;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;break;case 28:return this.popState(),48;break;case 29:return this.pushState("acc_title"),"acc_title";break;case 30:return this.popState(),"acc_title_value";break;case 31:return this.pushState("acc_descr"),"acc_descr";break;case 32:return this.popState(),"acc_descr_value";break;case 33:this.pushState("acc_descr_multiline");break;case 34:this.popState();break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 38:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 39:return this.popState(),n.getLogger().debug("Lex: ))"),"NODE_DEND";break;case 40:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 41:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 42:return this.popState(),n.getLogger().debug("Lex: (-"),"NODE_DEND";break;case 43:return this.popState(),n.getLogger().debug("Lex: -)"),"NODE_DEND";break;case 44:return this.popState(),n.getLogger().debug("Lex: (("),"NODE_DEND";break;case 45:return this.popState(),n.getLogger().debug("Lex: ]]"),"NODE_DEND";break;case 46:return this.popState(),n.getLogger().debug("Lex: ("),"NODE_DEND";break;case 47:return this.popState(),n.getLogger().debug("Lex: ])"),"NODE_DEND";break;case 48:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 49:return this.popState(),n.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 50:return this.popState(),n.getLogger().debug("Lex: )]"),"NODE_DEND";break;case 51:return this.popState(),n.getLogger().debug("Lex: )"),"NODE_DEND";break;case 52:return this.popState(),n.getLogger().debug("Lex: ]>"),"NODE_DEND";break;case 53:return this.popState(),n.getLogger().debug("Lex: ]"),"NODE_DEND";break;case 54:return n.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;break;case 55:return n.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;break;case 56:return n.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;break;case 57:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 58:return n.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;break;case 59:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 60:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 61:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 62:return n.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;break;case 63:return n.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;break;case 64:return n.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 65:return this.pushState("NODE"),35;break;case 66:return this.pushState("NODE"),35;break;case 67:return this.pushState("NODE"),35;break;case 68:return this.pushState("NODE"),35;break;case 69:return this.pushState("NODE"),35;break;case 70:return this.pushState("NODE"),35;break;case 71:return this.pushState("NODE"),35;break;case 72:return n.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;break;case 73:return this.pushState("BLOCK_ARROW"),n.getLogger().debug("LEX ARR START"),37;break;case 74:return n.getLogger().debug("Lex: NODE_ID",u.yytext),31;break;case 75:return n.getLogger().debug("Lex: EOF",u.yytext),8;break;case 76:this.pushState("md_string");break;case 77:this.pushState("md_string");break;case 78:return"NODE_DESCR";case 79:this.popState();break;case 80:n.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:n.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return n.getLogger().debug("LEX: NODE_DESCR:",u.yytext),"NODE_DESCR";break;case 83:n.getLogger().debug("LEX POPPING"),this.popState();break;case 84:n.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (right): dir:",u.yytext),"DIR";break;case 86:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (left):",u.yytext),"DIR";break;case 87:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (x):",u.yytext),"DIR";break;case 88:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (y):",u.yytext),"DIR";break;case 89:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (up):",u.yytext),"DIR";break;case 90:return u.yytext=u.yytext.replace(/^,\s*/,""),n.getLogger().debug("Lex (down):",u.yytext),"DIR";break;case 91:return u.yytext="]>",n.getLogger().debug("Lex (ARROW_DIR end):",u.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";break;case 92:return n.getLogger().debug("Lex: LINK","#"+u.yytext+"#"),15;break;case 93:return n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 94:return n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 95:return n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 96:return n.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 97:return n.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 98:return n.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 99:this.pushState("md_string");break;case 100:return n.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";break;case 101:return this.popState(),n.getLogger().debug("Lex: LINK","#"+u.yytext+"#"),15;break;case 102:return this.popState(),n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 103:return this.popState(),n.getLogger().debug("Lex: LINK",u.yytext),15;break;case 104:return n.getLogger().debug("Lex: COLON",u.yytext),u.yytext=u.yytext.slice(1),27;break}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}};return B}();T.lexer=O;function z(){this.yy={}}return t(z,"Parser"),z.prototype=T,T.Parser=z,new z}();he.parser=he;var $e=he,F=new Map,pe=[],ge=new Map,Ee="color",Te="fill",et="bgFill",Ce=",",Q=new Map,fe="",tt=t((e)=>C.sanitizeText(e,d()),"sanitizeText"),rt=t(function(e,o=""){let c=Q.get(e);if(!c)c={id:e,styles:[],textStyles:[]},Q.set(e,c);if(o!==void 0&&o!==null)o.split(Ce).forEach((a)=>{let h=a.replace(/([^;]*);/,"$1").trim();if(RegExp(Ee).exec(a)){let r=h.replace(Te,et).replace(Ee,Te);c.textStyles.push(r)}c.styles.push(h)})},"addStyleClass"),st=t(function(e,o=""){let c=F.get(e);if(o!==void 0&&o!==null)c.styles=o.split(Ce)},"addStyle2Node"),it=t(function(e,o){e.split(",").forEach(function(c){let a=F.get(c);if(a===void 0){let h=c.trim();a={id:h,type:"na",children:[]},F.set(h,a)}if(!a.classes)a.classes=[];a.classes.push(o)})},"setCssClass"),ve=0,Ae=t((e,o)=>{let c=e.flat(),a=[],f=c.find((r)=>r?.type==="column-setting")?.columns??-1;for(let r of c){if(typeof f==="number"&&f>0&&r.type!=="column-setting"&&typeof r.widthInColumns==="number"&&r.widthInColumns>f)i.warn(`Block ${r.id} width ${r.widthInColumns} exceeds configured column width ${f}`);if(r.label)r.label=tt(r.label);if(r.type==="classDef"){rt(r.id,r.css);continue}if(r.type==="applyClass"){it(r.id,r?.styleClass??"");continue}if(r.type==="applyStyles"){if(r?.stylesStr)st(r.id,r?.stylesStr);continue}if(r.type==="column-setting")o.columns=r.columns??-1;else if(r.type==="edge"){let p=(ge.get(r.id)??0)+1;ge.set(r.id,p),r.id=p+"-"+r.id,pe.push(r)}else{if(!r.label)if(r.type==="composite")r.label="";else r.label=r.id;let p=F.get(r.id);if(p===void 0){if(r.type==="composite")r.colorIndex=ve++;F.set(r.id,r)}else{if(r.type!=="na")p.type=r.type;if(r.label!==r.id)p.label=r.label}if(r.children)Ae(r.children,r);if(r.type==="space"){let y=r.width??1;for(let w=0;w<y;w++){let m=we(r);m.id=m.id+"-"+w,F.set(m.id,m),a.push(m)}}else if(p===void 0)a.push(r)}}o.children=a},"populateBlockDatabase"),be=[],X={id:"root",type:"composite",children:[],columns:-1},at=t(()=>{i.debug("Clear called"),L(),X={id:"root",type:"composite",children:[],columns:-1},F=new Map([["root",X]]),be=[],Q=new Map,pe=[],ge=new Map,fe="",ve=0},"clear");function ze(e){switch(i.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return i.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}t(ze,"typeStr2Type");function Be(e){switch(i.debug("typeStr2Type",e),e){case"==":return"thick";default:return"normal"}}t(Be,"edgeTypeStr2Type");function Re(e){switch(e.trim().slice(-1)){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}t(Re,"edgeStrToEdgeData");function Pe(e){switch(e.trim().charAt(0)){case"x":return"arrow_cross";case"o":return"arrow_circle";case"<":return"arrow_point";default:return"arrow_open"}}t(Pe,"edgeStrToEdgeStartData");function Fe(e){return e.includes("==")?"thick":"normal"}t(Fe,"edgeStrToThickness");function Ke(e){if(e.includes(".-"))return"dotted";return"solid"}t(Ke,"edgeStrToPattern");var Oe=0,nt=t(()=>(Oe++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Oe),"generateId"),ot=t((e)=>{X.children=e,Ae(e,X),be=X.children},"setHierarchy"),lt=t((e)=>{let o=F.get(e);if(!o)return-1;if(o.columns)return o.columns;if(!o.children)return-1;return o.children.length},"getColumns"),ct=t(()=>[...F.values()],"getBlocksFlat"),ut=t(()=>be||[],"getBlocks"),ht=t(()=>pe,"getEdges"),gt=t((e)=>F.get(e),"getBlock"),dt=t((e)=>{F.set(e.id,e)},"setBlock"),pt=t((e)=>{fe=e},"setDiagramId"),ft=t(()=>fe,"getDiagramId"),bt=t(()=>i,"getLogger"),St=t(function(){return Q},"getClasses"),xt={getConfig:t(()=>A().block,"getConfig"),typeStr2Type:ze,edgeTypeStr2Type:Be,edgeStrToEdgeData:Re,edgeStrToEdgeStartData:Pe,edgeStrToThickness:Fe,edgeStrToPattern:Ke,getLogger:bt,getBlocksFlat:ct,getBlocks:ut,getEdges:ht,setHierarchy:ot,getBlock:gt,setBlock:dt,getColumns:lt,getClasses:St,clear:at,generateId:nt,setDiagramId:pt,getDiagramId:ft},mt=xt,Lt=t((e)=>{let{theme:o,bkgColorArray:c,borderColorArray:a}=e;if(!Ne(o,a))return"";let h=Me(e.look),f=De(c),r="";for(let p=0;p<Ot(e.THEME_COLOR_LIMIT,a);p++){let y=a[p%a.length],w=f?`fill: ${c[p%c.length]};`:"",m=`[data-look="${h}"][data-color-id="color-${p}"]`;r+=`
7
-
8
- ${m}.node rect.composite {
9
- stroke: ${y};
10
- ${w}
11
- }
12
- `}return r},"genColor"),ue=t((e,o)=>{let c=$n,a=c(e,"r"),h=c(e,"g"),f=c(e,"b");return Ie(a,h,f,o)},"fade"),kt=t((e)=>`${Lt(e)}
13
- .label {
14
- font-family: ${e.fontFamily};
15
- color: ${e.nodeTextColor||e.textColor};
16
- }
17
- .cluster-label text {
18
- fill: ${e.titleColor};
19
- }
20
- .cluster-label span {
21
- color: ${e.titleColor};
22
- }
23
-
24
-
25
-
26
- .label text,span {
27
- fill: ${e.nodeTextColor||e.textColor};
28
- color: ${e.nodeTextColor||e.textColor};
29
- }
30
-
31
- .node rect,
32
- .node circle,
33
- .node ellipse,
34
- .node polygon,
35
- .node path {
36
- fill: ${e.mainBkg};
37
- stroke: ${e.nodeBorder};
38
- /* From the theme, as every other diagram does. Pinned at 1px here, so block drew a
39
- thinner border than an identical flowchart node under any theme asking for more --
40
- the neo theme asks for 2. Nothing downstream corrected it: the neo rules set stroke
41
- and filter, never stroke-width. */
42
- stroke-width: ${e.strokeWidth??1}px;
43
- }
44
- .flowchart-label text {
45
- text-anchor: middle;
46
- }
47
- // .flowchart-label .text-outer-tspan {
48
- // text-anchor: middle;
49
- // }
50
- // .flowchart-label .text-inner-tspan {
51
- // text-anchor: start;
52
- // }
53
-
54
- .node .label {
55
- text-align: center;
56
- }
57
- .node.clickable {
58
- cursor: pointer;
59
- }
60
-
61
- .arrowheadPath {
62
- fill: ${e.arrowheadColor};
63
- }
64
-
65
- .edgePaths .path {
66
- stroke: ${e.lineColor};
67
- stroke-width: 2.0px;
68
- }
69
-
70
- .flowchart-link {
71
- stroke: ${e.lineColor};
72
- fill: none;
73
- }
74
-
75
- .edgeLabel {
76
- background-color: ${e.edgeLabelBackground};
77
- /*
78
- * This is for backward compatibility with existing code that didn't
79
- * add a \`<p>\` around edge labels.
80
- *
81
- * TODO: We should probably remove this in a future release.
82
- */
83
- p {
84
- margin: 0;
85
- padding: 0;
86
- display: inline;
87
- }
88
- rect {
89
- opacity: 0.5;
90
- background-color: ${e.edgeLabelBackground};
91
- fill: ${e.edgeLabelBackground};
92
- }
93
- text-align: center;
94
- }
95
-
96
- /* For html labels only */
97
- .labelBkg {
98
- background-color: ${e.edgeLabelBackground};
99
- }
100
-
101
- .node .cluster {
102
- // fill: ${ue(e.mainBkg,0.5)};
103
- fill: ${ue(e.clusterBkg,0.5)};
104
- stroke: ${ue(e.clusterBorder,0.2)};
105
- box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
106
- stroke-width: 1px;
107
- }
108
-
109
- .cluster text {
110
- fill: ${e.titleColor};
111
- }
112
-
113
- .cluster span {
114
- color: ${e.titleColor};
115
- }
116
- /* .cluster div {
117
- color: ${e.titleColor};
118
- } */
119
-
120
- div.mermaidTooltip {
121
- position: absolute;
122
- text-align: center;
123
- max-width: 200px;
124
- padding: 2px;
125
- font-family: ${e.fontFamily};
126
- font-size: 12px;
127
- background: ${e.tertiaryColor};
128
- border: 1px solid ${e.border2};
129
- border-radius: 2px;
130
- pointer-events: none;
131
- z-index: 100;
132
- }
133
-
134
- .flowchartTitleText {
135
- text-anchor: middle;
136
- font-size: 18px;
137
- fill: ${e.textColor};
138
- }
139
- ${Et()}
140
- `,"getStyles"),yt=kt;function de(e,o){if(e===0||!Number.isInteger(e))throw Error("Columns must be an integer !== 0.");if(o<0||!Number.isInteger(o))throw Error("Position must be a non-negative integer."+o);if(e<0)return{px:o,py:0};if(e===1)return{px:0,py:o};let c=o%e,a=Math.floor(o/e);return{px:c,py:a}}t(de,"calculateBlockPosition");var wt=t((e)=>{let o=0,c=0;for(let a of e.children){let{width:h,height:f,x:r,y:p}=a.size??{width:0,height:0,x:0,y:0};if(i.debug("getMaxChildSize abc95 child:",a.id,"width:",h,"height:",f,"x:",r,"y:",p,a.type),a.type==="space")continue;let y=h/(a.widthInColumns??1);if(y>o)o=y;if(f>c)c=f}return{width:o,height:c}},"getMaxChildSize");function ee(e,o,c=0,a=0,h=8){if(i.debug("setBlockSizes abc95 (start)",e.id,e?.size?.x,"block width =",e?.size,"siblingWidth",c),!e?.size?.width)e.size={width:c,height:a,x:0,y:0};let f=0,r=0;if(e.children?.length>0){for(let k of e.children)ee(k,o,0,0,h);let p=wt(e);f=p.width,r=p.height,i.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",f,r);for(let k of e.children)if(k.size)i.debug(`abc95 Setting size of children of ${e.id} id=${k.id} ${f} ${r} ${JSON.stringify(k.size)}`),k.size.width=f*(k.widthInColumns??1)+h*((k.widthInColumns??1)-1),k.size.height=r,k.size.x=0,k.size.y=0,i.debug(`abc95 updating size of ${e.id} children child:${k.id} maxWidth:${f} maxHeight:${r}`);for(let k of e.children)ee(k,o,f,r,h);let y=e.columns??-1,w=0;for(let k of e.children)w+=k.widthInColumns??1;let m=e.children.length;if(y>0&&y<w)m=y;let x=Math.ceil(w/m),E=m*(f+h)+h,D=x*(r+h)+h;if(E<c){i.debug(`Detected to small sibling: abc95 ${e.id} siblingWidth ${c} siblingHeight ${a} width ${E}`),E=c,D=a;let k=(c-m*h-h)/m,N=(a-x*h-h)/x;i.debug("Size indata abc88",e.id,"childWidth",k,"maxWidth",f),i.debug("Size indata abc88",e.id,"childHeight",N,"maxHeight",r),i.debug("Size indata abc88 xSize",m,"padding",h);for(let T of e.children)if(T.size)T.size.width=k,T.size.height=N,T.size.x=0,T.size.y=0}if(i.debug(`abc95 (finale calc) ${e.id} xSize ${m} ySize ${x} columns ${y}${e.children.length} width=${Math.max(E,e.size?.width||0)}`),E<(e?.size?.width||0)){E=e?.size?.width||0;let k=y>0?Math.min(e.children.length,y):e.children.length;if(k>0){let N=(E-k*h-h)/k;i.debug("abc95 (growing to fit) width",e.id,E,e.size?.width,N);for(let T of e.children)if(T.size)T.size.width=N}}e.size={width:E,height:D,x:0,y:0}}i.debug("setBlockSizes abc94 (done)",e.id,e?.size?.x,e?.size?.width,e?.size?.y,e?.size?.height)}t(ee,"setBlockSizes");function Se(e,o,c=8){i.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`);let a=e.columns??-1;if(i.debug("layoutBlocks columns abc95",e.id,"=>",a,e),e.children&&e.children.length>0){let h=e?.children[0]?.size?.width??0,f=e.children.length*h+(e.children.length-1)*c;i.debug("widthOfChildren 88",f,"posX");let r=new Map;{let x=0;for(let E of e.children){if(!E.size)continue;let{py:D}=de(a,x),k=r.get(D)??0;if(E.size.height>k)r.set(D,E.size.height);let N=E?.widthInColumns??1;if(a>0)N=Math.min(N,a-x%a);x+=N}}let p=new Map;{let x=0,E=[...r.keys()].sort((D,k)=>D-k);for(let D of E)p.set(D,x),x+=(r.get(D)??0)+c}let y=0;i.debug("abc91 block?.size?.x",e.id,e?.size?.x);let w=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,m=0;for(let x of e.children){let E=e;if(!x.size)continue;let{width:D,height:k}=x.size,{px:N,py:T}=de(a,y);if(T!=m)m=T,w=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,i.debug("New row in layout for block",e.id," and child ",x.id,m);if(i.debug(`abc89 layout blocks (child) id: ${x.id} Pos: ${y} (px, py) ${N},${T} (${E?.size?.x},${E?.size?.y}) parent: ${E.id} width: ${D}${c}`),E.size){let z=D/2;x.size.x=w+c+z,i.debug(`abc91 layout blocks (calc) px, pyid:${x.id} startingPos=X${w} new startingPosX${x.size.x} ${z} padding=${c} width=${D} halfWidth=${z} => x:${x.size.x} y:${x.size.y} ${x.widthInColumns} (width * (child?.w || 1)) / 2 ${D*(x?.widthInColumns??1)/2}`),w=x.size.x+z;let B=p.get(T)??0,b=r.get(T)??k;x.size.y=E.size.y-E.size.height/2+B+b/2+c,i.debug(`abc88 layout blocks (calc) px, pyid:${x.id}startingPosX${w}${c}${z}=>x:${x.size.x}y:${x.size.y}${x.widthInColumns}(width * (child?.w || 1)) / 2${D*(x?.widthInColumns??1)/2}`)}if(x.children)Se(x,o,c);let O=x?.widthInColumns??1;if(a>0)O=Math.min(O,a-y%a);y+=O,i.debug("abc88 columnsPos",x,y)}}i.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`)}t(Se,"layoutBlocks");function xe(e,{minX:o,minY:c,maxX:a,maxY:h}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&e.id!=="root"){let{x:f,y:r,width:p,height:y}=e.size;if(f-p/2<o)o=f-p/2;if(r-y/2<c)c=r-y/2;if(f+p/2>a)a=f+p/2;if(r+y/2>h)h=r+y/2}if(e.children)for(let f of e.children)({minX:o,minY:c,maxX:a,maxY:h}=xe(f,{minX:o,minY:c,maxX:a,maxY:h}));return{minX:o,minY:c,maxX:a,maxY:h}}t(xe,"findBounds");function Ye(e){let o=e.getBlock("root");if(!o)return;let c=d()?.block?.padding??8;ee(o,e,0,0,c),Se(o,e,c),i.debug("getBlocks",JSON.stringify(o,null,2));let{minX:a,minY:h,maxX:f,maxY:r}=xe(o),p=r-h,y=f-a;return{x:a,y:h,width:y,height:p}}t(Ye,"layout");function me(e,o,c=!1){let a=e,h="default";if((a?.classes?.length||0)>0)h=(a?.classes??[]).join(" ");h=h+" flowchart-label";let f=(a?.classes??[]).flatMap((k)=>o.getClasses().get(k)?.styles??[]),r=0,p="rect",y;switch(a.type){case"round":r=5,p="rect";break;case"composite":r=0,p="composite",y=0;break;case"square":p="rect";break;case"diamond":p="question";break;case"hexagon":p="hexagon";break;case"block_arrow":p="block_arrow";break;case"odd":p="rect_left_inv_arrow";break;case"lean_right":p="lean_right";break;case"lean_left":p="lean_left";break;case"trapezoid":p="trapezoid";break;case"inv_trapezoid":p="inv_trapezoid";break;case"rect_left_inv_arrow":p="rect_left_inv_arrow";break;case"circle":p="circle";break;case"ellipse":p="ellipse";break;case"stadium":p="stadium";break;case"subroutine":p="subroutine";break;case"cylinder":p="cylinder";break;case"group":p="rect";break;case"doublecircle":p="doublecircle";break;default:p="rect"}let w=Qo(a?.styles??[]),m=a.label,x=a.size??{width:0,height:0,x:0,y:0},E=o.getDiagramId();return{labelStyle:w.labelStyle,shape:p,label:m,labelText:m,rx:r,ry:r,class:h,cssClasses:h,cssStyles:a?.styles??[],cssCompiledStyles:f,style:w.style,id:a.id,domId:E?`${E}-${a.id}`:a.id,isGroup:!1,directions:a.directions,width:x.width||void 0,height:x.height||void 0,wrappingWidth:x.width||Number.POSITIVE_INFINITY,x:x.x,y:x.y,positioned:c,intersect:void 0,padding:y??A()?.block?.padding??0,widthInColumns:a.widthInColumns??1,colorIndex:a.colorIndex,look:A().look}}t(me,"getNodeFromBlock");async function We(e,o,c){let a=me(o,c,!1);if(o.type==="group")return;let h=A(),f=await kn(e,a,{config:h}),r=f.node()?.getBBox()??{width:0,height:0},p=c.getBlock(a.id);p.size={width:r.width,height:r.height,x:0,y:0,node:f},c.setBlock(p),f.remove()}t(We,"calculateBlockSize");async function Ve(e,o,c){let a=me(o,c,!0);if(c.getBlock(a.id).type!=="space"){let f=A(),r=await kn(e,a,{config:f});if(a.colorIndex!==void 0)$t(r,a.colorIndex,f.theme,f.themeVariables?.borderColorArray);o.intersect=a?.intersect,mn(a)}}t(Ve,"insertBlockPositioned");async function te(e,o,c,a){for(let h of o)if(await a(e,h,c),h.children)await te(e,h.children,c,a)}t(te,"performOperations");async function Ue(e,o,c){await te(e,o,c,We)}t(Ue,"calculateBlockSizes");async function He(e,o,c){await te(e,o,c,Ve)}t(He,"insertBlocks");async function Xe(e,o,c,a,h){let f=new _e({multigraph:!0,compound:!0});f.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(let r of c)if(r.size)f.setNode(r.id,{width:r.size.width,height:r.size.height,intersect:r.intersect});for(let r of o)if(r.start&&r.end){let p=a.getBlock(r.start),y=a.getBlock(r.end);if(p?.size&&y?.size){let w=p.size,m=y.size,x=[{x:w.x,y:w.y},{x:w.x+(m.x-w.x)/2,y:w.y+(m.y-w.y)/2},{x:m.x,y:m.y}],E=h?`${h}-${r.id}`:r.id,D=r.thickness==="thick"?"edge-thickness-thick":"edge-thickness-normal",k=r.pattern==="dotted"?"edge-pattern-dotted":"edge-pattern-solid",N=`${D} ${k} flowchart-link LS-a1 LE-b1`;if(or(e,{...r,id:E,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N},{},"block",f.node(r.start),f.node(r.end),h),r.label)await Cn(e,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N}),fa({...r,x:x[1].x,y:x[1].y},{originalPath:x})}}}t(Xe,"insertEdges");var _t=t(function(e,o){return o.db.getClasses()},"getClasses"),Dt=t(async function(e,o,c,a){let{securityLevel:h,block:f}=A(),r=a.db;r.setDiagramId(o);let p;if(h==="sandbox")p=g("#i"+o);let y=h==="sandbox"?g(p.nodes()[0].contentDocument.body):g("body"),w=h==="sandbox"?y.select(`[id="${o}"]`):g(`[id="${o}"]`);Po(w,A()),ha(w,["point","circle","cross"],a.type,o);let x=r.getBlocks(),E=r.getBlocksFlat(),D=r.getEdges(),k=w.insert("g").attr("class","block");await Ue(k,x,r);let N=Ye(r);await He(k,x,r),await Xe(k,D,E,r,o);let T=k.node()?.getBBox(),O=T&&Number.isFinite(T.width)&&Number.isFinite(T.height)?T:N;if(O){let z=Math.max(1,Math.round(0.125*(O.width/O.height))),B=O.height+z+10,b=O.width+10,{useMaxWidth:n}=f;Y(w,B,b,!!n),i.debug("Here Bounds",N,O),w.attr("viewBox",`${O.x-5} ${O.y-5} ${O.width+10} ${O.height+10}`)}},"draw"),Tt={draw:Dt,getClasses:_t},tr={parser:$e,db:mt,renderer:Tt,styles:yt};export{tr as diagram};
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- import{r}from"./chunk-6ycpdpfj.js";var e=Object.freeze({displayName:"Shell",name:"shellscript",patterns:[{include:"#initial_context"}],repository:{alias_statement:{begin:new r("(?:(?=([\\t ]*))\\1)(alias)(?:(?=([\\t ]*))\\3)((?:((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])-[\\p{L}\\p{M}\\p{N}\\p{Pc}]+)\\b(?:(?=([\\t ]*))\\6))*)(?:(?=([\\t ]*))\\7)((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))(?:(\\[)((?:(?:\\$?(?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}])|@)|\\*)|(-?\\p{Nd}+))(\\]))?(?:(?:(=)|(\\+=))|(-=))","dgv",{hiddenCaptures:[1,3,6,7]}),beginCaptures:{"1":{name:"storage.type.alias.shell"},"2":{patterns:[{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])-[\p{L}\p{M}\p{N}\p{Pc}]+\b/dgv,name:"string.unquoted.argument.shell constant.other.option.shell"}]},"3":{name:"string.unquoted.argument.shell constant.other.option.shell"},"4":{name:"variable.other.assignment.shell"},"5":{name:"punctuation.definition.array.access.shell"},"6":{name:"variable.other.assignment.shell"},"7":{name:"constant.numeric.shell constant.numeric.integer.shell"},"8":{name:"punctuation.definition.array.access.shell"},"9":{name:"keyword.operator.assignment.shell"},"10":{name:"keyword.operator.assignment.compound.shell"},"11":{name:"keyword.operator.assignment.compound.shell"}},end:/(?=[\t ]|(?=\n?$))|(?:(?:(?:(;)|(&&))|(\|\|))|(&))/dgv,endCaptures:{"1":{name:"punctuation.terminator.statement.semicolon.shell"},"2":{name:"punctuation.separator.statement.and.shell"},"3":{name:"punctuation.separator.statement.or.shell"},"4":{name:"punctuation.separator.statement.background.shell"}},name:"meta.expression.assignment.alias.shell",patterns:[{include:"#normal_context"}]},argument:{begin:new r("(?:(?=([\\t ]+))\\1)(?![\\n\\#\\&\\(\\[\\|]|(?=\\n?$)|;)","dgv",{hiddenCaptures:[1]}),beginCaptures:{},end:/(?=[\t \&\;\|]|(?=\n?$)|[\n\)\`])/dgv,endCaptures:{},name:"meta.argument.shell",patterns:[{include:"#argument_context"},{include:"#line_continuation"}]},argument_context:{patterns:[{captures:{"1":{name:"string.unquoted.argument.shell",patterns:[{match:/\*/dgv,name:"variable.language.special.wildcard.shell"},{include:"#variable"},{include:"#numeric_literal"},{captures:{"1":{name:"constant.language.$1.shell"}},match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])\b(true|false)\b(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv}]}},match:new r('(?:(?=([\\t ]*))\\1)([^\\t\\n "\\$\\&-\\)\\;\\<\\>\\\\\\`\\|]+(?!>))',"dgv",{hiddenCaptures:[1]})},{include:"#normal_context"}]},arithmetic_double:{patterns:[{begin:/\(\(/dgv,beginCaptures:{"0":{name:"punctuation.section.arithmetic.double.shell"}},end:/\)\p{space}*\)/dgv,endCaptures:{"0":{name:"punctuation.section.arithmetic.double.shell"}},name:"meta.arithmetic.shell",patterns:[{include:"#math"},{include:"#string"}]}]},arithmetic_no_dollar:{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.arithmetic.single.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.arithmetic.single.shell"}},name:"meta.arithmetic.shell",patterns:[{include:"#math"},{include:"#string"}]}]},array_access_inline:{captures:{"1":{name:"punctuation.section.array.shell"},"2":{patterns:[{include:"#special_expansion"},{include:"#string"},{include:"#variable"}]},"3":{name:"punctuation.section.array.shell"}},match:/(\[)([^\]\[]+)(\])/dgv},array_value:{begin:new r("(?:(?=([\\t ]*))\\1)((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))(?:(\\[)((?:(?:\\$?(?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}])|@)|\\*)|(-?\\p{Nd}+))(\\]))?(?:(?:(=)|(\\+=))|(-=))(?:(?=([\\t ]*))\\10)(\\()","dgv",{hiddenCaptures:[1,10]}),beginCaptures:{"1":{name:"variable.other.assignment.shell"},"2":{name:"punctuation.definition.array.access.shell"},"3":{name:"variable.other.assignment.shell"},"4":{name:"constant.numeric.shell constant.numeric.integer.shell"},"5":{name:"punctuation.definition.array.access.shell"},"6":{name:"keyword.operator.assignment.shell"},"7":{name:"keyword.operator.assignment.compound.shell"},"8":{name:"keyword.operator.assignment.compound.shell"},"9":{name:"punctuation.definition.array.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.array.shell"}},patterns:[{include:"#comment"},{captures:{"1":{name:"variable.other.assignment.array.shell entity.other.attribute-name.shell"},"2":{name:"keyword.operator.assignment.shell punctuation.definition.assignment.shell"}},match:/((?<![\p{L}\p{M}\p{N}\p{Pc}])[\-0-9A-Z_a-z]+(?![\p{L}\p{M}\p{N}\p{Pc}]))(=)/dgv},{captures:{"1":{name:"punctuation.definition.bracket.named-array.shell"},"2":{name:"string.unquoted.shell entity.other.attribute-name.bracket.shell"},"3":{name:"punctuation.definition.bracket.named-array.shell"},"4":{name:"punctuation.definition.assignment.shell"}},match:/(\[)([^\n]+?)(\])(=)/dgv},{include:"#normal_context"},{include:"#simple_unquoted"}]},assignment_statement:{patterns:[{include:"#array_value"},{include:"#modified_assignment_statement"},{include:"#normal_assignment_statement"}]},basic_command_name:{captures:{"1":{name:"storage.modifier.$1.shell"},"2":{name:"entity.name.function.call.shell entity.name.command.shell",patterns:[{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?:continue|return|break)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"keyword.control.$0.shell"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[\.\:])(?!\/)(?![\p{L}\p{M}\p{N}\p{Pc}])(?!-)/dgv,name:"support.function.builtin.shell"},{include:"#variable"}]}},match:/(?![\n\!\#\&\(\)\<\>\[\{\|]|(?=\n?$)|[\t \;])(?!nocorrect |nocorrect\t|nocorrect(?=\n?$)|readonly |readonly\t|readonly(?=\n?$)|function |function\t|function(?=\n?$)|foreach |foreach\t|foreach(?=\n?$)|coproc |coproc\t|coproc(?=\n?$)|logout |logout\t|logout(?=\n?$)|export |export\t|export(?=\n?$)|select |select\t|select(?=\n?$)|repeat |repeat\t|repeat(?=\n?$)|pushd |pushd\t|pushd(?=\n?$)|until |until\t|until(?=\n?$)|while |while\t|while(?=\n?$)|local |local\t|local(?=\n?$)|case |case\t|case(?=\n?$)|done |done\t|done(?=\n?$)|elif |elif\t|elif(?=\n?$)|else |else\t|else(?=\n?$)|esac |esac\t|esac(?=\n?$)|popd |popd\t|popd(?=\n?$)|then |then\t|then(?=\n?$)|time |time\t|time(?=\n?$)|for |for\t|for(?=\n?$)|end |end\t|end(?=\n?$)|fi |fi\t|fi(?=\n?$)|do |do\t|do(?=\n?$)|in |in\t|in(?=\n?$)|if |if\t|if(?=\n?$))(?:((?<=^|[\t \&\;])(?:readonly|declare|typeset|export|local)(?=[\t \&\;]|(?=\n?$)))|((?!["']|\\\n?(?=\n?$))[^\t\n\r \!"'\<\>]+?))(?:(?=[\t ])|(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\))/dgv,name:"meta.statement.command.name.basic.shell"},block_comment:{begin:new r("(?:(?=(\\p{space}*))\\1)(/\\*)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.begin.shell"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.shell"}},name:"comment.block.shell"},boolean:{match:/\b(?:true|false)\b/dgv,name:"constant.language.$0.shell"},case_statement:{begin:new r("\\b(case)\\b(?:(?=([\\t ]*))\\2)([^\\n]+?)(?:(?=([\\t ]*))\\4)\\b(in)\\b","dgv",{hiddenCaptures:[2,4]}),beginCaptures:{"1":{name:"keyword.control.case.shell"},"2":{patterns:[{include:"#initial_context"}]},"3":{name:"keyword.control.in.shell"}},end:/\besac\b/dgv,endCaptures:{"0":{name:"keyword.control.esac.shell"}},name:"meta.case.shell",patterns:[{include:"#comment"},{captures:{"1":{name:"keyword.operator.pattern.case.default.shell"}},match:new r("(?:(?=([\\t ]*))\\1)(\\* *\\))","dgv",{hiddenCaptures:[1]})},{begin:new r("(?<!\\))(?!(?:(?=([\\t ]*))\\1)(?:esac\\b|(?=\\n?$)))","dgv",{hiddenCaptures:[1]}),beginCaptures:{},end:/(?=\besac\b)|(\))/dgv,endCaptures:{"1":{name:"keyword.operator.pattern.case.shell"}},name:"meta.case.entry.pattern.shell",patterns:[{include:"#case_statement_context"}]},{begin:/(?<=\))/dgv,beginCaptures:{},end:/(;;)|(?=\besac\b)/dgv,endCaptures:{"1":{name:"punctuation.terminator.statement.case.shell"}},name:"meta.case.entry.body.shell",patterns:[{include:"#typical_statements"},{include:"#initial_context"}]}]},case_statement_context:{patterns:[{match:/\*/dgv,name:"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:/\+/dgv,name:"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:/\?/dgv,name:"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:/@/dgv,name:"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{match:/\|/dgv,name:"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{match:/\\[^\n]/dgv,name:"constant.character.escape.shell"},{match:/(?<=\tin| in|[\t ]|;;)\(/dgv,name:"keyword.operator.pattern.case.shell"},{begin:/(?<=\P{space})(\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},name:"meta.parenthese.shell",patterns:[{include:"#case_statement_context"}]},{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.character-class.shell"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.character-class.shell"}},name:"string.regexp.character-class.shell",patterns:[{match:/\\[^\n]/dgv,name:"constant.character.escape.shell"}]},{include:"#string"},{match:/[^\t\n \)\*\?\@\[\|]/dgv,name:"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},command_name_range:{begin:/(?:)/dgv,beginCaptures:{},end:/(?=[\t \&\;\|]|(?=\n?$)|[\n\)\`])|(?=<)/dgv,endCaptures:{},name:"meta.statement.command.name.shell",patterns:[{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?:continue|return|break)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[\.\:])(?!\/)(?![\p{L}\p{M}\p{N}\p{Pc}])(?!-)/dgv,name:"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{include:"#variable"},{captures:{"1":{name:"entity.name.function.call.shell entity.name.command.shell"}},match:new r(`(?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])(?<=^|["'\\)\\}])([^\\t\\n\\r "\\&'\\)\\;-\\>\\\`\\{\\|]+)`,"dgv",{strategy:"clip_search"})},{begin:new r(`(?:^|(?<![\\t\\n \\#\\&\\;\\{\\|]))(\\$?)((")|('))`,"dgv",{strategy:"clip_search"}),beginCaptures:{"1":{name:"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},"2":{},"3":{name:"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},"4":{name:"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},end:new r("(?<!^)(?<=\\2)()()","dgv",{strategy:"clip_search"}),endCaptures:{},patterns:[{include:"#continuation_of_single_quoted_command_name"},{include:"#continuation_of_double_quoted_command_name"}]},{include:"#line_continuation"},{include:"#simple_unquoted"}]},command_statement:{begin:new r("(?:(?=([\\t ]*))\\1)(?![\\n\\!\\#\\&\\(\\)\\<\\>\\[\\{\\|]|(?=\\n?$)|[\\t \\;])(?!nocorrect |nocorrect\\t|nocorrect(?=\\n?$)|readonly |readonly\\t|readonly(?=\\n?$)|function |function\\t|function(?=\\n?$)|foreach |foreach\\t|foreach(?=\\n?$)|coproc |coproc\\t|coproc(?=\\n?$)|logout |logout\\t|logout(?=\\n?$)|export |export\\t|export(?=\\n?$)|select |select\\t|select(?=\\n?$)|repeat |repeat\\t|repeat(?=\\n?$)|pushd |pushd\\t|pushd(?=\\n?$)|until |until\\t|until(?=\\n?$)|while |while\\t|while(?=\\n?$)|local |local\\t|local(?=\\n?$)|case |case\\t|case(?=\\n?$)|done |done\\t|done(?=\\n?$)|elif |elif\\t|elif(?=\\n?$)|else |else\\t|else(?=\\n?$)|esac |esac\\t|esac(?=\\n?$)|popd |popd\\t|popd(?=\\n?$)|then |then\\t|then(?=\\n?$)|time |time\\t|time(?=\\n?$)|for |for\\t|for(?=\\n?$)|end |end\\t|end(?=\\n?$)|fi |fi\\t|fi(?=\\n?$)|do |do\\t|do(?=\\n?$)|in |in\\t|in(?=\\n?$)|if |if\\t|if(?=\\n?$))(?!\\\\\\n?(?=\\n?$))","dgv",{hiddenCaptures:[1]}),beginCaptures:{},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.statement.command.shell",patterns:[{include:"#command_name_range"},{include:"#line_continuation"},{include:"#option"},{include:"#argument"},{include:"#string"},{include:"#heredoc"}]},comment:{captures:{"1":{name:"comment.line.number-sign.shell meta.shebang.shell"},"2":{name:"punctuation.definition.comment.shebang.shell"},"3":{name:"comment.line.number-sign.shell"},"4":{name:"punctuation.definition.comment.shell"}},match:new r("(?:^|(?:(?=([\\t ]+))\\1))(?:((#!)[^\\n]*)|((#)[^\\n]*))","dgv",{hiddenCaptures:[1]})},comments:{patterns:[{include:"#block_comment"},{include:"#line_comment"}]},"compound-command":{patterns:[{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.logical-expression.shell"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical-expression"},{include:"#initial_context"}]},{begin:/(?<=\p{space}|^)\{(?=\p{space}|(?=\n?$))/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.shell"}},end:/(?<=^|;)\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.group.shell"}},name:"meta.scope.group.shell",patterns:[{include:"#initial_context"}]}]},continuation_of_double_quoted_command_name:{begin:/(?<=")/dgvy,beginCaptures:{},contentName:"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command",end:/"/dgv,endCaptures:{"0":{name:"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},patterns:[{match:/\\[\n"\$\\\`]/dgv,name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},continuation_of_single_quoted_command_name:{begin:/(?<=')/dgvy,beginCaptures:{},contentName:"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command",end:/'/dgv,endCaptures:{"0":{name:"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},custom_command_names:{patterns:[]},custom_commands:{patterns:[]},double_quote_context:{patterns:[{match:/\\[\n"\$\\\`]/dgv,name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},double_quote_escape_char:{match:/\\[\n"\$\\\`]/dgv,name:"constant.character.escape.shell"},floating_keyword:{patterns:[{match:/(?<=^|[\t \&\;])(?:then|elif|else|done|end|do|if|fi)(?=[\t \&\;]|(?=\n?$))/dgv,name:"keyword.control.$0.shell"}]},for_statement:{patterns:[{begin:new r("\\b(for)\\b(?:(?=([\\t ]*))\\2)((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))(?:(?=([\\t ]*))\\4)\\b(in)\\b","dgv",{hiddenCaptures:[2,4]}),beginCaptures:{"1":{name:"keyword.control.for.shell"},"2":{name:"variable.other.for.shell"},"3":{name:"keyword.control.in.shell"}},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.for.in.shell",patterns:[{include:"#string"},{include:"#simple_unquoted"},{include:"#normal_context"}]},{begin:/\b(for)\b/dgv,beginCaptures:{"1":{name:"keyword.control.for.shell"}},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.for.shell",patterns:[{include:"#arithmetic_double"},{include:"#normal_context"}]}]},function_definition:{applyEndPatternLast:1,begin:new r(`(?:(?=([\\t ]*))\\1)(?:\\b(function)\\b(?:(?=([\\t ]*))\\3)([^\\t\\n\\r "'\\(\\)\\=]+)(?:(\\()(?:(?=([\\t ]*))\\6)(\\)))?|([^\\t\\n\\r "'\\(\\)\\=]+)(?:(?=([\\t ]*))\\9)(\\()(?:(?=([\\t ]*))\\11)(\\)))`,"dgv",{hiddenCaptures:[1,3,6,9,11]}),beginCaptures:{"1":{name:"storage.type.function.shell"},"2":{name:"entity.name.function.shell"},"3":{name:"punctuation.definition.arguments.shell"},"4":{name:"punctuation.definition.arguments.shell"},"5":{name:"entity.name.function.shell"},"6":{name:"punctuation.definition.arguments.shell"},"7":{name:"punctuation.definition.arguments.shell"}},end:/(?<=[\)\}])/dgv,endCaptures:{},name:"meta.function.shell",patterns:[{match:/[\t\n ]/dgvy},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},name:"meta.function.body.shell",patterns:[{include:"#initial_context"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},name:"meta.function.body.shell",patterns:[{include:"#initial_context"}]},{include:"#initial_context"}]},heredoc:{patterns:[{begin:new r(`((?<!<)<<-)(?:(?=([\\t ]*))\\2)(["'])(?:(?=([\\t ]*))\\4)([^"']+?)(?=["\\&'\\;\\<\\p{space}])(\\3)([^\\n]*)`,"dgv",{hiddenCaptures:[2,4]}),beginCaptures:{"1":{name:"keyword.operator.heredoc.shell"},"2":{name:"punctuation.definition.string.heredoc.quote.shell"},"3":{name:"punctuation.definition.string.heredoc.delimiter.shell"},"4":{name:"punctuation.definition.string.heredoc.quote.shell"},"5":{patterns:[{include:"#redirect_fix"},{include:"#typical_statements"}]}},contentName:"string.quoted.heredoc.indent.$3",end:/^\t*\3(?=[\&\;\p{space}]|(?=\n?$))()()()/dgv,endCaptures:{"0":{name:"punctuation.definition.string.heredoc.$0.shell"}},patterns:[]},{begin:new r(`((?<!<)<<(?!<))(?:(?=([\\t ]*))\\2)(["'])(?:(?=([\\t ]*))\\4)([^"']+?)(?=["\\&'\\;\\<\\p{space}])(\\3)([^\\n]*)`,"dgv",{hiddenCaptures:[2,4]}),beginCaptures:{"1":{name:"keyword.operator.heredoc.shell"},"2":{name:"punctuation.definition.string.heredoc.quote.shell"},"3":{name:"punctuation.definition.string.heredoc.delimiter.shell"},"4":{name:"punctuation.definition.string.heredoc.quote.shell"},"5":{patterns:[{include:"#redirect_fix"},{include:"#typical_statements"}]}},contentName:"string.quoted.heredoc.no-indent.$3",end:/^\3(?=[\&\;\p{space}]|(?=\n?$))()()()/dgv,endCaptures:{"0":{name:"punctuation.definition.string.heredoc.delimiter.shell"}},patterns:[]},{begin:new r(`((?<!<)<<-)(?:(?=([\\t ]*))\\2)([^\\t "']+)(?=["\\&'\\;\\<\\p{space}])([^\\n]*)`,"dgv",{hiddenCaptures:[2]}),beginCaptures:{"1":{name:"keyword.operator.heredoc.shell"},"2":{name:"punctuation.definition.string.heredoc.delimiter.shell"},"3":{patterns:[{include:"#redirect_fix"},{include:"#typical_statements"}]}},contentName:"string.unquoted.heredoc.indent.$2",end:/^\t*\2(?=[\&\;\p{space}]|(?=\n?$))()()/dgv,endCaptures:{"0":{name:"punctuation.definition.string.heredoc.delimiter.shell"}},patterns:[{include:"#double_quote_escape_char"},{include:"#variable"},{include:"#interpolation"}]},{begin:new r(`((?<!<)<<(?!<))(?:(?=([\\t ]*))\\2)([^\\t "']+)(?=["\\&'\\;\\<\\p{space}])([^\\n]*)`,"dgv",{hiddenCaptures:[2]}),beginCaptures:{"1":{name:"keyword.operator.heredoc.shell"},"2":{name:"punctuation.definition.string.heredoc.delimiter.shell"},"3":{patterns:[{include:"#redirect_fix"},{include:"#typical_statements"}]}},contentName:"string.unquoted.heredoc.no-indent.$2",end:/^\2(?=[\&\;\p{space}]|(?=\n?$))()()/dgv,endCaptures:{"0":{name:"punctuation.definition.string.heredoc.delimiter.shell"}},patterns:[{include:"#double_quote_escape_char"},{include:"#variable"},{include:"#interpolation"}]}]},herestring:{patterns:[{begin:/(<<<)\p{space}*(('))/dgv,beginCaptures:{"1":{name:"keyword.operator.herestring.shell"},"2":{name:"string.quoted.single.shell"},"3":{name:"punctuation.definition.string.begin.shell"}},contentName:"string.quoted.single.shell",end:/(')/dgv,endCaptures:{"0":{name:"string.quoted.single.shell"},"1":{name:"punctuation.definition.string.end.shell"}},name:"meta.herestring.shell"},{begin:/(<<<)\p{space}*(("))/dgv,beginCaptures:{"1":{name:"keyword.operator.herestring.shell"},"2":{name:"string.quoted.double.shell"},"3":{name:"punctuation.definition.string.begin.shell"}},contentName:"string.quoted.double.shell",end:/(")/dgv,endCaptures:{"0":{name:"string.quoted.double.shell"},"1":{name:"punctuation.definition.string.end.shell"}},name:"meta.herestring.shell",patterns:[{include:"#double_quote_context"}]},{captures:{"1":{name:"keyword.operator.herestring.shell"},"2":{name:"string.unquoted.herestring.shell",patterns:[{include:"#initial_context"}]}},match:/(<<<)\p{space}*(([^\)\\\p{space}]|\\[^\n])+)/dgv,name:"meta.herestring.shell"}]},initial_context:{patterns:[{include:"#comment"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#logical_expression_double"},{include:"#logical_expression_single"},{include:"#assignment_statement"},{include:"#case_statement"},{include:"#for_statement"},{include:"#loop"},{include:"#function_definition"},{include:"#line_continuation"},{include:"#arithmetic_double"},{include:"#misc_ranges"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#floating_keyword"},{include:"#alias_statement"},{include:"#normal_statement"},{include:"#string"},{include:"#support"}]},inline_comment:{captures:{"1":{name:"comment.block.shell punctuation.definition.comment.begin.shell"},"2":{name:"comment.block.shell"},"3":{patterns:[{match:/\*\//dgv,name:"comment.block.shell punctuation.definition.comment.end.shell"},{match:/\*/dgv,name:"comment.block.shell"}]}},match:new r("(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\4)[^\\/])*))\\3)((?:(?=(\\*+))\\6)/))","dgv",{hiddenCaptures:[3,4,6]})},interpolation:{patterns:[{include:"#arithmetic_dollar"},{include:"#subshell_dollar"},{begin:/`/dgv,beginCaptures:{"0":{name:"punctuation.definition.evaluation.backticks.shell"}},end:/`/dgv,endCaptures:{"0":{name:"punctuation.definition.evaluation.backticks.shell"}},name:"string.interpolated.backtick.shell",patterns:[{match:/\\[\$\\\`]/dgv,name:"constant.character.escape.shell"},{begin:/(?<=[^\p{L}\p{M}\p{N}\p{Pc}])(?=#)(?!#\{)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.shell"}},end:new r("(?!^)","dgv",{strategy:"clip_search"}),patterns:[{begin:/#/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.shell"}},end:/(?=`)/dgv,name:"comment.line.number-sign.shell"}]},{include:"#initial_context"}]}]},keyword:{patterns:[{match:/(?<=^|[\&\;\p{space}])(then|else|elif|fi|for|in|do|done|select|continue|esac|while|until|return)(?=[\&\;\p{space}]|(?=\n?$))/dgv,name:"keyword.control.shell"},{match:/(?<=^|[\&\;\p{space}])(?:export|declare|typeset|local|readonly)(?=[\&\;\p{space}]|(?=\n?$))/dgv,name:"storage.modifier.shell"}]},line_comment:{begin:new r("(?:(?=(\\p{space}*))\\1)(//)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.shell"}},end:/(?<=\n)(?<!\\\n)/dgv,endCaptures:{},name:"comment.line.double-slash.shell",patterns:[{include:"#line_continuation_character"}]},line_continuation:{match:/\\(?=\n)/dgv,name:"constant.character.escape.line-continuation.shell"},"logical-expression":{patterns:[{include:"#arithmetic_no_dollar"},{match:/=[\=\~]?|!=?|[\<\>]|&&|\|\|/dgv,name:"keyword.operator.logical.shell"},{match:/(?<!\P{space})-(nt|ot|ef|eq|ne|l[et]|g[et]|[GLNOSa-hknopr-uwxz])\b/dgv,name:"keyword.operator.logical.shell"}]},logical_expression_context:{patterns:[{include:"#regex_comparison"},{include:"#arithmetic_no_dollar"},{include:"#logical-expression"},{include:"#logical_expression_single"},{include:"#logical_expression_double"},{include:"#comment"},{include:"#boolean"},{include:"#redirect_number"},{include:"#numeric_literal"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#pathname"},{include:"#floating_keyword"},{include:"#support"}]},logical_expression_double:{begin:/\[\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.logical-expression.shell"}},end:/\]\]/dgv,endCaptures:{"0":{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical_expression_context"}]},logical_expression_single:{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.logical-expression.shell"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical_expression_context"}]},loop:{patterns:[{begin:/(?<=^|[\&\;\p{space}])(for)\p{space}+([^\n]+?)\p{space}+(in)(?=[\&\;\p{space}]|(?=\n?$))/dgv,beginCaptures:{"1":{name:"keyword.control.shell"},"2":{name:"variable.other.loop.shell",patterns:[{include:"#string"}]},"3":{name:"keyword.control.shell"}},end:/(?<=^|[\&\;\p{space}])done(?=[\&\;\p{space}]|(?=\n?$)|\))/dgv,endCaptures:{"0":{name:"keyword.control.shell"}},name:"meta.scope.for-in-loop.shell",patterns:[{include:"#initial_context"}]},{begin:/(?<=^|[\&\;\p{space}])(while|until)(?=[\&\;\p{space}]|(?=\n?$))/dgv,beginCaptures:{"1":{name:"keyword.control.shell"}},end:/(?<=^|[\&\;\p{space}])done(?=[\&\;\p{space}]|(?=\n?$)|\))/dgv,endCaptures:{"0":{name:"keyword.control.shell"}},name:"meta.scope.while-loop.shell",patterns:[{include:"#initial_context"}]},{begin:/(?<=^|[\&\;\p{space}])(select)\p{space}+((?:[^\\\p{space}]|\\[^\n])+)(?=[\&\;\p{space}]|(?=\n?$))/dgv,beginCaptures:{"1":{name:"keyword.control.shell"},"2":{name:"variable.other.loop.shell"}},end:/(?<=^|[\&\;\p{space}])(done)(?=[\&\;\p{space}]|(?=\n?$)|\))/dgv,endCaptures:{"1":{name:"keyword.control.shell"}},name:"meta.scope.select-block.shell",patterns:[{include:"#initial_context"}]},{begin:/(?<=^|[\&\;\p{space}])if(?=[\&\;\p{space}]|(?=\n?$))/dgv,beginCaptures:{"0":{name:"keyword.control.if.shell"}},end:/(?<=^|[\&\;\p{space}])fi(?=[\&\;\p{space}]|(?=\n?$))/dgv,endCaptures:{"0":{name:"keyword.control.fi.shell"}},name:"meta.scope.if-block.shell",patterns:[{include:"#initial_context"}]}]},math:{patterns:[{include:"#variable"},{match:/\+{1,2}|-{1,2}|[\!\~]|\*{1,2}|[\%\/]|<[\<\=]?|>[\=\>]?|==|!=|^|\|{1,2}|&{1,2}|[\,\:\=\?]|[\-\%\&\*\+\/\^\|]=|<<=|>>=/dgv,name:"keyword.operator.arithmetic.shell"},{match:/0[Xx]\p{AHex}+/dgv,name:"constant.numeric.hex.shell"},{match:/;/dgv,name:"punctuation.separator.semicolon.range"},{match:/0\p{Nd}+/dgv,name:"constant.numeric.octal.shell"},{match:/\p{Nd}{1,2}#[0-9\@-Z_a-z]+/dgv,name:"constant.numeric.other.shell"},{match:/\p{Nd}+/dgv,name:"constant.numeric.integer.shell"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])[0-9A-Z_a-z]+(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"variable.other.normal.shell"}]},math_operators:{patterns:[{match:/\+{1,2}|-{1,2}|[\!\~]|\*{1,2}|[\%\/]|<[\<\=]?|>[\=\>]?|==|!=|^|\|{1,2}|&{1,2}|[\,\:\=\?]|[\-\%\&\*\+\/\^\|]=|<<=|>>=/dgv,name:"keyword.operator.arithmetic.shell"},{match:/0[Xx]\p{AHex}+/dgv,name:"constant.numeric.hex.shell"},{match:/0\p{Nd}+/dgv,name:"constant.numeric.octal.shell"},{match:/\p{Nd}{1,2}#[0-9\@-Z_a-z]+/dgv,name:"constant.numeric.other.shell"},{match:/\p{Nd}+/dgv,name:"constant.numeric.integer.shell"}]},misc_ranges:{patterns:[{include:"#logical_expression_single"},{include:"#logical_expression_double"},{include:"#subshell_dollar"},{begin:/(?<![^\t ])(\{)(?![\$\p{L}\p{M}\p{N}\p{Pc}])/dgv,beginCaptures:{"1":{name:"punctuation.definition.group.shell"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.group.shell"}},name:"meta.scope.group.shell",patterns:[{include:"#initial_context"}]}]},modified_assignment_statement:{begin:/(?<=^|[\t \&\;])(?:readonly|declare|typeset|export|local)(?=[\t \&\;]|(?=\n?$))/dgv,beginCaptures:{"0":{name:"storage.modifier.$0.shell"}},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.statement.shell meta.expression.assignment.modified.shell",patterns:[{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])-[\p{L}\p{M}\p{N}\p{Pc}]+\b/dgv,name:"string.unquoted.argument.shell constant.other.option.shell"},{include:"#array_value"},{captures:{"1":{name:"variable.other.assignment.shell"},"2":{name:"punctuation.definition.array.access.shell"},"3":{name:"variable.other.assignment.shell"},"4":{name:"constant.numeric.shell constant.numeric.integer.shell"},"5":{name:"punctuation.definition.array.access.shell"},"6":{name:"keyword.operator.assignment.shell"},"7":{name:"keyword.operator.assignment.compound.shell"},"8":{name:"keyword.operator.assignment.compound.shell"},"9":{name:"constant.numeric.shell constant.numeric.hex.shell"},"10":{name:"constant.numeric.shell constant.numeric.octal.shell"},"11":{name:"constant.numeric.shell constant.numeric.other.shell"},"12":{name:"constant.numeric.shell constant.numeric.decimal.shell"},"13":{name:"constant.numeric.shell constant.numeric.version.shell"},"14":{name:"constant.numeric.shell constant.numeric.integer.shell"}},match:/((?<![\p{L}\p{M}\p{N}\p{Pc}])[\-0-9A-Z_a-z]+(?![\p{L}\p{M}\p{N}\p{Pc}]))(?:(\[)((?:(?:\$?(?<![\p{L}\p{M}\p{N}\p{Pc}])[\-0-9A-Z_a-z]+(?![\p{L}\p{M}\p{N}\p{Pc}])|@)|\*)|(-?\p{Nd}+))(\]))?(?:(?:(=)|(\+=))|(-=))?(?:(?<=[\t \=]|^|[\(\[\{])(?:(?:(?:(?:(?:(0[Xx]\p{AHex}+)|(0\p{Nd}+))|(\p{Nd}{1,2}#[0-9\@-Z_a-z]+))|(-?\p{Nd}+\.\p{Nd}+))|(-?\p{Nd}+(?:\.\p{Nd}+)+))|(-?\p{Nd}+))(?=[\t ]|(?=\n?$)|[\)\;\}]))?/dgv},{include:"#normal_context"}]},modifiers:{match:/(?<=^|[\t \&\;])(?:readonly|declare|typeset|export|local)(?=[\t \&\;]|(?=\n?$))/dgv,name:"storage.modifier.$0.shell"},normal_assignment_statement:{begin:new r("(?:(?=([\\t ]*))\\1)((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))(?:(\\[)((?:(?:\\$?(?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[\\-0-9A-Z_a-z]+(?![\\p{L}\\p{M}\\p{N}\\p{Pc}])|@)|\\*)|(-?\\p{Nd}+))(\\]))?(?:(?:(=)|(\\+=))|(-=))","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"variable.other.assignment.shell"},"2":{name:"punctuation.definition.array.access.shell"},"3":{name:"variable.other.assignment.shell"},"4":{name:"constant.numeric.shell constant.numeric.integer.shell"},"5":{name:"punctuation.definition.array.access.shell"},"6":{name:"keyword.operator.assignment.shell"},"7":{name:"keyword.operator.assignment.compound.shell"},"8":{name:"keyword.operator.assignment.compound.shell"}},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.expression.assignment.shell",patterns:[{include:"#comment"},{include:"#string"},{include:"#normal_assignment_statement"},{begin:/(?<=[\t ])(?![\t ]|[\p{L}\p{M}\p{N}\p{Pc}]+=)/dgv,beginCaptures:{},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.statement.command.env.shell",patterns:[{include:"#command_name_range"},{include:"#line_continuation"},{include:"#option"},{include:"#argument"},{include:"#string"}]},{include:"#simple_unquoted"},{include:"#normal_context"}]},normal_context:{patterns:[{include:"#comment"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#misc_ranges"},{include:"#boolean"},{include:"#redirect_number"},{include:"#numeric_literal"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#floating_keyword"},{include:"#support"},{include:"#parenthese"}]},normal_statement:{begin:new r("(?!^(?:(?=([\\t ]*))\\1)(?=\\n?$))(?:(?<=(?:^until| until|\\tuntil|^while| while|\\twhile|^elif| elif|\\telif|^else| else|\\telse|^then| then|\\tthen|^do| do|\\tdo|^if| if|\\tif) )|(?<=^|[\\!\\&\\(\\;\\`\\{\\|]))(?:(?=([\\t ]*))\\2)(?!nocorrect[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|nocorrect\\$|function[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|function\\$|foreach[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|foreach\\$|repeat[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|repeat\\$|logout[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|logout\\$|coproc[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|coproc\\$|select[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|select\\$|while[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|while\\$|pushd[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|pushd\\$|until[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|until\\$|case[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|case\\$|done[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|done\\$|elif[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|elif\\$|else[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|else\\$|esac[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|esac\\$|popd[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|popd\\$|then[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|then\\$|time[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|time\\$|for[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|for\\$|end[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|end\\$|fi[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|fi\\$|do[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|do\\$|in[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|in\\$|if[^\\p{L}\\p{M}\\p{N}\\p{Pc}]|if\\$)","dgv",{hiddenCaptures:[1,2]}),beginCaptures:{},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.statement.shell",patterns:[{include:"#typical_statements"}]},normal_statement_seperator:{captures:{"1":{name:"punctuation.terminator.statement.semicolon.shell"},"2":{name:"punctuation.separator.statement.and.shell"},"3":{name:"punctuation.separator.statement.or.shell"},"4":{name:"punctuation.separator.statement.background.shell"}},match:/(?:(?:(;)|(&&))|(\|\|))|(&)/dgv},numeric_literal:{captures:{"1":{name:"constant.numeric.shell constant.numeric.hex.shell"},"2":{name:"constant.numeric.shell constant.numeric.octal.shell"},"3":{name:"constant.numeric.shell constant.numeric.other.shell"},"4":{name:"constant.numeric.shell constant.numeric.decimal.shell"},"5":{name:"constant.numeric.shell constant.numeric.version.shell"},"6":{name:"constant.numeric.shell constant.numeric.integer.shell"}},match:/(?<=[\t \=]|^|[\(\[\{])(?:(?:(?:(?:(?:(0[Xx]\p{AHex}+)|(0\p{Nd}+))|(\p{Nd}{1,2}#[0-9\@-Z_a-z]+))|(-?\p{Nd}+\.\p{Nd}+))|(-?\p{Nd}+(?:\.\p{Nd}+)+))|(-?\p{Nd}+))(?=[\t ]|(?=\n?$)|[\)\;\}])/dgv},option:{begin:new r("(?:(?=([\\t ]+))\\1)(-)((?![\\n\\!\\#\\&\\(\\)\\<\\>\\[\\{\\|]|(?=\\n?$)|[\\t \\;]))","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{name:"string.unquoted.argument.shell constant.other.option.shell"}},contentName:"string.unquoted.argument constant.other.option",end:/(?=[\t ])|(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},patterns:[{include:"#option_context"}]},option_context:{patterns:[{include:"#misc_ranges"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#floating_keyword"},{include:"#support"}]},parenthese:{patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parenthese.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parenthese.shell"}},name:"meta.parenthese.group.shell",patterns:[{include:"#initial_context"}]}]},pathname:{patterns:[{match:/(?<=[\:\=\p{space}]|^)~/dgv,name:"keyword.operator.tilde.shell"},{match:/[\*\?]/dgv,name:"keyword.operator.glob.shell"},{begin:/([\!\*\+\?\@])(\()/dgv,beginCaptures:{"1":{name:"keyword.operator.extglob.shell"},"2":{name:"punctuation.definition.extglob.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.extglob.shell"}},name:"meta.structure.extglob.shell",patterns:[{include:"#initial_context"}]}]},pipeline:{patterns:[{match:/(?<=^|[\&\;\p{space}])(time)(?=[\&\;\p{space}]|(?=\n?$))/dgv,name:"keyword.other.shell"},{match:/[\!\|]/dgv,name:"keyword.operator.pipe.shell"}]},redirect_fix:{captures:{"1":{name:"keyword.operator.redirect.shell"},"2":{name:"string.unquoted.argument.shell"}},match:new r('(>>?)(?:(?=([\\t ]*))\\2)([^\\t\\n "\\$\\&-\\)\\;\\<\\>\\\\\\`\\|]+)',"dgv",{hiddenCaptures:[2]})},redirect_number:{captures:{"1":{name:"keyword.operator.redirect.stdout.shell"},"2":{name:"keyword.operator.redirect.stderr.shell"},"3":{name:"keyword.operator.redirect.$3.shell"}},match:/(?<=[\t ])(?:(1)|(2)|(\p{Nd}+))(?=>)/dgv},redirection:{patterns:[{begin:/[\<\>]\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.shell"}},name:"string.interpolated.process-substitution.shell",patterns:[{include:"#initial_context"}]},{match:/(?<![\<\>])(&>|\p{Nd}*>&\p{Nd}*|\p{Nd}*(>>|[\<\>])|\p{Nd}*<&|\p{Nd}*<>)(?![\<\>])/dgv,name:"keyword.operator.redirect.shell"}]},regex_comparison:{match:/=~/dgv,name:"keyword.operator.logical.regex.shell"},regexp:{patterns:[{match:/[^\n]+/dgv}]},simple_options:{captures:{"0":{patterns:[{captures:{"1":{name:"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{name:"string.unquoted.argument.shell constant.other.option.shell"}},match:new r("(?:(?=([\\t ]+))\\1)(-)([\\p{L}\\p{M}\\p{N}\\p{Pc}]+)","dgv",{hiddenCaptures:[1]})}]}},match:new r("(?:(?:(?=([\\t ]+))\\1)-[\\p{L}\\p{M}\\p{N}\\p{Pc}]+)*","dgv",{hiddenCaptures:[1]})},simple_unquoted:{match:/[^\t\n "\$\&-\)\;\<\>\\\`\|]/dgv,name:"string.unquoted.shell"},special_expansion:{match:/!|:[\-\=\?]?|[\*\@]|##?|%%|[\%\/]/dgv,name:"keyword.operator.expansion.shell"},start_of_command:{match:new r("(?:(?=([\\t ]*))\\1)(?![\\n\\!\\#\\&\\(\\)\\<\\>\\[\\{\\|]|(?=\\n?$)|[\\t \\;])(?!nocorrect |nocorrect\\t|nocorrect(?=\\n?$)|readonly |readonly\\t|readonly(?=\\n?$)|function |function\\t|function(?=\\n?$)|foreach |foreach\\t|foreach(?=\\n?$)|coproc |coproc\\t|coproc(?=\\n?$)|logout |logout\\t|logout(?=\\n?$)|export |export\\t|export(?=\\n?$)|select |select\\t|select(?=\\n?$)|repeat |repeat\\t|repeat(?=\\n?$)|pushd |pushd\\t|pushd(?=\\n?$)|until |until\\t|until(?=\\n?$)|while |while\\t|while(?=\\n?$)|local |local\\t|local(?=\\n?$)|case |case\\t|case(?=\\n?$)|done |done\\t|done(?=\\n?$)|elif |elif\\t|elif(?=\\n?$)|else |else\\t|else(?=\\n?$)|esac |esac\\t|esac(?=\\n?$)|popd |popd\\t|popd(?=\\n?$)|then |then\\t|then(?=\\n?$)|time |time\\t|time(?=\\n?$)|for |for\\t|for(?=\\n?$)|end |end\\t|end(?=\\n?$)|fi |fi\\t|fi(?=\\n?$)|do |do\\t|do(?=\\n?$)|in |in\\t|in(?=\\n?$)|if |if\\t|if(?=\\n?$))(?!\\\\\\n?(?=\\n?$))","dgv",{hiddenCaptures:[1]})},string:{patterns:[{match:/\\[^\n]/dgv,name:"constant.character.escape.shell"},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.shell"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.single.shell"},{begin:/\$?"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.shell"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.double.shell",patterns:[{match:/\\[\n"\$\\\`]/dgv,name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},{begin:/\$'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.shell"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.single.dollar.shell",patterns:[{match:/\\['\\abefnrtv]/dgv,name:"constant.character.escape.ansi-c.shell"},{match:/\\[0-9]{3}"/dgv,name:"constant.character.escape.octal.shell"},{match:/\\x\p{AHex}{2}"/dgv,name:"constant.character.escape.hex.shell"},{match:/\\c[^\n]"/dgv,name:"constant.character.escape.control-char.shell"}]}]},subshell_dollar:{patterns:[{begin:/\$\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.subshell.single.shell"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.subshell.single.shell"}},name:"meta.scope.subshell",patterns:[{include:"#parenthese"},{include:"#initial_context"}]}]},support:{patterns:[{match:/(?<=^|[\&\;\p{space}])[\.\:](?=[\&\;\p{space}]|(?=\n?$))/dgv,name:"support.function.builtin.shell"}]},typical_statements:{patterns:[{include:"#assignment_statement"},{include:"#case_statement"},{include:"#for_statement"},{include:"#while_statement"},{include:"#function_definition"},{include:"#command_statement"},{include:"#line_continuation"},{include:"#arithmetic_double"},{include:"#normal_context"}]},variable:{patterns:[{captures:{"1":{name:"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},"2":{name:"variable.parameter.positional.all.shell"}},match:/(\$)(@(?![\p{L}\p{M}\p{N}\p{Pc}]))/dgv},{captures:{"1":{name:"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{name:"variable.parameter.positional.shell"}},match:/(\$)([0-9](?![\p{L}\p{M}\p{N}\p{Pc}]))/dgv},{captures:{"1":{name:"punctuation.definition.variable.shell variable.language.special.shell"},"2":{name:"variable.language.special.shell"}},match:/(\$)([\-\!\#\$\*0\?_](?![\p{L}\p{M}\p{N}\p{Pc}]))/dgv},{begin:new r("(\\$)(\\{)(?:(?=([\\t ]*))\\3)(?=\\p{Nd})","dgv",{hiddenCaptures:[3]}),beginCaptures:{"1":{name:"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{name:"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},contentName:"meta.parameter-expansion",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},patterns:[{include:"#special_expansion"},{include:"#array_access_inline"},{match:/[0-9]+/dgv,name:"variable.parameter.positional.shell"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])[\-0-9A-Z_a-z]+(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"variable.other.normal.shell"},{include:"#variable"},{include:"#string"}]},{begin:/(\$)(\{)/dgv,beginCaptures:{"1":{name:"punctuation.definition.variable.shell"},"2":{name:"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},contentName:"meta.parameter-expansion",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},patterns:[{include:"#special_expansion"},{include:"#array_access_inline"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])[\-0-9A-Z_a-z]+(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"variable.other.normal.shell"},{include:"#variable"},{include:"#string"}]},{captures:{"1":{name:"punctuation.definition.variable.shell variable.other.normal.shell"},"2":{name:"variable.other.normal.shell"}},match:/(\$)([\p{L}\p{M}\p{N}\p{Pc}]+(?![\p{L}\p{M}\p{N}\p{Pc}]))/dgv}]},while_statement:{patterns:[{begin:/\b(while)\b/dgv,beginCaptures:{"1":{name:"keyword.control.while.shell"}},end:/(?=[\n\&\)\;\`\{\|\}]|[\t ]*#|\])(?<!\\)/dgv,endCaptures:{},name:"meta.while.shell",patterns:[{include:"#line_continuation"},{include:"#math_operators"},{include:"#option"},{include:"#simple_unquoted"},{include:"#normal_context"},{include:"#string"}]}]}},scopeName:"source.shell",embeddedLangs:void 0,aliases:["bash","sh","shell","zsh"]}),eo=[e];
2
- export{eo};
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- import{t}from"./chunk-h4bzgvbg.js";var Nr=class{constructor(i){this.init=i,this.records=this.init()}static{t(this,"ImperativeState")}reset(){this.records=this.init()}};
2
- export{Nr};
Binary file
Binary file
@@ -1,39 +0,0 @@
1
- import{ie}from"./chunk-nzgj9qx5.js";import{t,i,F,Y,L,M,R,P,I,O,D,d,we,ca,Oi,J,Pt,Q}from"./chunk-h4bzgvbg.js";import{ge}from"./chunk-9qdx0ekk.js";import{Ut}from"./chunk-k89686qj.js";import{yn}from"./chunk-dsffzc1e.js";function tt(e,o){return o<e?-1:o>e?1:o>=e?0:NaN}function et(e){return e}function rt(){var e=et,o=tt,A=null,E=we(0),u=we(ca),h=we(0);function l(r){var n,c=(r=Oi(r)).length,m,C,k=0,v=Array(c),s=Array(c),z=+E.apply(this,arguments),N=Math.min(ca,Math.max(-ca,u.apply(this,arguments)-z)),W,B=Math.min(Math.abs(N)/c,h.apply(this,arguments)),p=B*(N<0?-1:1),T;for(n=0;n<c;++n)if((T=s[v[n]=n]=+e(r[n],n,r))>0)k+=T;if(o!=null)v.sort(function(_,x){return o(s[_],s[x])});else if(A!=null)v.sort(function(_,x){return A(r[_],r[x])});for(n=0,C=k?(N-c*p)/k:0;n<c;++n,z=W)m=v[n],T=s[m],W=z+(T>0?T*C:0)+p,s[m]={data:r[m],index:n,value:T,startAngle:z,endAngle:W,padAngle:B};return s}return l.value=function(r){return arguments.length?(e=typeof r==="function"?r:we(+r),l):e},l.sortValues=function(r){return arguments.length?(o=r,A=null,l):o},l.sort=function(r){return arguments.length?(A=r,o=null,l):A},l.startAngle=function(r){return arguments.length?(E=typeof r==="function"?r:we(+r),l):E},l.endAngle=function(r){return arguments.length?(u=typeof r==="function"?r:we(+r),l):u},l.padAngle=function(r){return arguments.length?(h=typeof r==="function"?r:we(+r),l):h},l}var ct=F.pie,at={sections:new Map,showData:!1,config:ct},{sections:j,showData:nt}=at,mt=structuredClone(ct),vt=t(()=>structuredClone(mt),"getConfig"),xt=t(()=>{j=new Map,nt=at.showData,L()},"clear"),St=t(({label:e,value:o})=>{if(o<0)throw Error(`"${e}" has invalid value: ${o}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);if(!j.has(e))j.set(e,o),i.debug(`added new section: ${e}, with value: ${o}`)},"addSection"),yt=t(()=>j,"getSections"),wt=t((e)=>{nt=e},"setShowData"),At=t(()=>nt,"getShowData"),ut={getConfig:vt,clear:xt,setDiagramTitle:O,getDiagramTitle:D,setAccTitle:M,getAccTitle:R,setAccDescription:P,getAccDescription:I,addSection:St,getSections:yt,setShowData:wt,getShowData:At},Ct=t((e,o)=>{ie(e,o),o.setShowData(e.showData),e.sections.map(o.addSection)},"populateDb"),$t={parse:t(async(e)=>{let o=await ge("pie",e);i.debug(o),Ct(o,ut)},"parse")},Dt=t((e)=>`
2
- .pieCircle{
3
- stroke: ${e.pieStrokeColor};
4
- stroke-width : ${e.pieStrokeWidth};
5
- opacity : ${e.pieOpacity};
6
- }
7
- .pieCircle.highlighted{
8
- scale: 1.05;
9
- opacity: 1;
10
- }
11
- .pieCircle.highlightedOnHover:hover{
12
- transition-duration: 250ms;
13
- scale: 1.05;
14
- opacity: 1;
15
- }
16
- .pieOuterCircle{
17
- stroke: ${e.pieOuterStrokeColor};
18
- stroke-width: ${e.pieOuterStrokeWidth};
19
- fill: none;
20
- }
21
- .pieTitleText {
22
- text-anchor: middle;
23
- font-size: ${e.pieTitleTextSize};
24
- fill: ${e.pieTitleTextColor};
25
- font-family: ${e.fontFamily};
26
- }
27
- .slice {
28
- font-family: ${e.fontFamily};
29
- fill: ${e.pieSectionTextColor};
30
- font-size:${e.pieSectionTextSize};
31
- // fill: white;
32
- }
33
- .legend text {
34
- fill: ${e.pieLegendTextColor};
35
- font-family: ${e.fontFamily};
36
- font-size: ${e.pieLegendTextSize};
37
- }
38
- `,"getStyles"),Tt=Dt,bt=t((e)=>{let o=[...e.values()].reduce((u,h)=>u+h,0),A=[...e.entries()].map(([u,h])=>({label:u,value:h})).filter((u)=>u.value/o*100>=1);return rt().value((u)=>u.value).sort(null)(A)},"createPieArcs"),kt=t((e,o,A,E)=>{i.debug(`rendering pie chart
39
- `+e);let u=E.db,h=d(),l=Q(u.getConfig(),h.pie),r=40,n=18,c=4,m=450,C=m,k=J(o),v=k.append("g");v.attr("transform","translate("+C/2+","+m/2+")");let{themeVariables:s}=h,[z]=Pt(s.pieOuterStrokeWidth);z??=2;let{legendPosition:N,textPosition:W}=l,B=l.donutHole>0&&l.donutHole<=0.9?l.donutHole:0,p=Math.min(C,m)/2-r,T=yn().innerRadius(B*p).outerRadius(p),_=yn().innerRadius(p*W).outerRadius(p*W),x=v.append("g");x.append("circle").attr("cx",0).attr("cy",0).attr("r",p+z/2).attr("class","pieOuterCircle");let V=u.getSections(),gt=bt(V),dt=[s.pie1,s.pie2,s.pie3,s.pie4,s.pie5,s.pie6,s.pie7,s.pie8,s.pie9,s.pie10,s.pie11,s.pie12],X=0;V.forEach((a)=>{X+=a});let it=gt.filter((a)=>(a.data.value/X*100).toFixed(0)!=="0"),Z=Ut(dt).domain([...V.keys()]);x.selectAll("mySlices").data(it).enter().append("path").attr("d",T).attr("fill",(a)=>Z(a.data.label)).attr("class",(a)=>{let g="pieCircle";if(l.highlightSlice==="hover")g+=" highlightedOnHover";else if(l.highlightSlice===a.data.label)g+=" highlighted";return g}),x.selectAll("mySlices").data(it).enter().append("text").text((a)=>(a.data.value/X*100).toFixed(0)+"%").attr("transform",(a)=>"translate("+_.centroid(a)+")").style("text-anchor","middle").attr("class","slice");let pt=v.append("text").text(u.getDiagramTitle()).attr("x",0).attr("y",-(m-50)/2).attr("class","pieTitleText"),G=[...V.entries()].map(([a,g])=>({label:a,value:g})),b=v.selectAll(".legend").data(G).enter().append("g").attr("class","legend");b.append("rect").attr("width",n).attr("height",n).style("fill",(a)=>Z(a.label)).style("stroke",(a)=>Z(a.label)),b.append("text").attr("x",n+c).attr("y",n-c).text((a)=>{if(u.getShowData())return`${a.label} [${a.value}]`;return a.label});let H=Math.max(...b.selectAll("text").nodes().map((a)=>a?.getBoundingClientRect().width??0)),U=m,q=C+r,f=n+c,K=G.length*f;switch(N){case"center":b.attr("transform",(a,g)=>{let S=f*G.length/2,y=-H/2-(n+c),w=g*f-S;return"translate("+y+","+w+")"});break;case"top":U+=K,b.attr("transform",(a,g)=>{let S=p,y=-H/2-(n+c),w=g*f-S;return`translate(${y}, ${w})`}),x.attr("transform",()=>`translate(0, ${K+f})`);break;case"bottom":U+=K,b.attr("transform",(a,g)=>{let S=-p-f,y=-H/2-(n+c),w=g*f-S;return"translate("+y+","+w+")"});break;case"left":q+=n+c+H,b.attr("transform",(a,g)=>{let S=f*G.length/2,y=-p-(n+c),w=g*f-S;return"translate("+y+","+w+")"}),x.attr("transform",()=>`translate(${H+n+c}, 0)`);break;case"right":default:q+=n+c+H,b.attr("transform",(a,g)=>{let S=f*G.length/2,y=12*n,w=g*f-S;return"translate("+y+","+w+")"});break}let ot=pt.node()?.getBoundingClientRect().width??0,ft=C/2-ot/2,ht=C/2+ot/2,lt=Math.min(0,ft),st=Math.max(q,ht)-lt;k.attr("viewBox",`${lt} 0 ${st} ${U}`),Y(k,U,st,l.useMaxWidth)},"draw"),zt={draw:kt},qt={parser:$t,db:ut,renderer:zt,styles:Tt};export{qt as diagram};
Binary file
Binary file