@bkm016/basalt 0.1.30 → 0.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/chunk-04326385.js +39 -0
- package/chunk-0er07d2g.js +51 -0
- package/chunk-0ge4k9gq.js +2 -0
- package/chunk-11zc1b2w.js +3 -0
- package/chunk-12203fgm.js +2 -0
- package/chunk-194d4z7x.js +7 -0
- package/chunk-1apm7p2e.js +2 -0
- package/chunk-1t0yzkg7.js +4 -0
- package/chunk-2csz31nh.js +2 -0
- package/chunk-2rqpfv4h.js +3 -0
- package/chunk-39cfcar4.js +3 -0
- package/chunk-3gw871zb.js +2 -0
- package/chunk-4a5xttdp.js +3 -0
- package/chunk-4st5xeee.js +2 -0
- package/chunk-5h17n6g1.js +3 -0
- package/chunk-5rn18vrq.js +5 -0
- package/chunk-5tdnvdmz.js +2 -0
- package/chunk-6gzvp0f6.js +50 -0
- package/chunk-6qavr39k.js +2 -0
- package/chunk-6xn0r0dd.js +3 -0
- package/chunk-71pz02bd.js +8 -0
- package/chunk-7h76jrss.js +7 -0
- package/chunk-7hss4hs3.js +7 -0
- package/chunk-7vdq0wye.js +2 -0
- package/chunk-7w187ycz.js +10 -0
- package/chunk-81s7mvf2.js +16 -0
- package/chunk-8j8acxde.js +2 -0
- package/chunk-9nfz04yr.js +2 -0
- package/chunk-9nkb5q43.js +3 -0
- package/chunk-9zcfam20.js +2 -0
- package/chunk-a6zvmsbh.js +12 -0
- package/chunk-anr8aghq.js +59 -0
- package/chunk-av8zh9yp.js +2 -0
- package/chunk-bwv97dtf.js +2 -0
- package/chunk-cjy4rssa.js +10 -0
- package/chunk-dmdyqq1k.js +2 -0
- package/chunk-dzvq7vt6.js +2 -0
- package/chunk-ejrksf6g.js +3 -0
- package/chunk-erxka5vh.js +18 -0
- package/chunk-fc41dvhp.js +12 -0
- package/chunk-fsekbhqb.js +3 -0
- package/chunk-fwcqcecb.js +8 -0
- package/chunk-hhwnmhbb.js +2 -0
- package/chunk-jm2bn5mq.js +3 -0
- package/chunk-jm5j5jfy.js +3 -0
- package/chunk-jsvr3s4q.js +5 -0
- package/chunk-jwk5a5tk.js +25 -0
- package/chunk-khy3j5kp.js +63 -0
- package/chunk-mwc59w50.js +31 -0
- package/chunk-mypbpphn.js +3 -0
- package/chunk-ng5ncy65.js +2 -0
- package/chunk-nmvayfq3.js +3 -0
- package/chunk-nw4h0wm9.js +2 -0
- package/chunk-pxsgm6ff.js +2 -0
- package/chunk-rbfpa63e.js +3 -0
- package/chunk-rsrh5dgx.js +2 -0
- package/chunk-s2pm97nk.js +286 -0
- package/chunk-s6tnmg6x.js +3 -0
- package/chunk-se548edt.js +20 -0
- package/chunk-tsdeeqb8.js +3 -0
- package/chunk-vnv3a6t2.js +3 -0
- package/chunk-vrsh8cx1.js +3 -0
- package/chunk-vx4v71t4.js +498 -0
- package/chunk-w3v8zahw.js +2 -0
- package/chunk-w6m8c4vf.js +11 -0
- package/chunk-wd7sj5cv.js +2 -0
- package/chunk-we8v9wkw.js +9 -0
- package/chunk-wvn68m5f.js +4058 -0
- package/chunk-x055cas0.js +5 -0
- package/chunk-x2ry671h.js +44 -0
- package/chunk-x5vrtxkj.js +3 -0
- package/chunk-xedzsj31.js +5 -0
- package/chunk-xp83v3zm.js +2 -0
- package/chunk-ykzm5g1b.js +25 -0
- package/chunk-yq2bwebb.js +3 -0
- package/chunk-yygcpnwc.js +3 -0
- package/chunk-zjf34acb.js +2 -0
- package/compiled.js +8 -8
- package/package.json +1 -1
- package/ui-test-worker.js +18 -18
- package/web/chunk-01mrggts.js +1 -0
- package/web/chunk-01mrggts.js.br +0 -0
- package/web/chunk-01mrggts.js.gz +0 -0
- package/web/chunk-0b25tje3.js +1 -0
- package/web/chunk-0b25tje3.js.br +0 -0
- package/web/chunk-0b25tje3.js.gz +0 -0
- package/web/chunk-0g46ww9d.js +1 -0
- package/web/chunk-0g46ww9d.js.br +0 -0
- package/web/chunk-0g46ww9d.js.gz +0 -0
- package/web/chunk-0grg8w51.js +200 -0
- package/web/chunk-0grg8w51.js.br +0 -0
- package/web/chunk-0grg8w51.js.gz +0 -0
- package/web/chunk-0qf3m69c.js +24 -0
- package/web/chunk-0qf3m69c.js.br +0 -0
- package/web/chunk-0qf3m69c.js.gz +0 -0
- package/web/chunk-14yejkcn.js +7 -0
- package/web/chunk-14yejkcn.js.br +0 -0
- package/web/chunk-14yejkcn.js.gz +0 -0
- package/web/chunk-1ffzwm6m.js +106 -0
- package/web/chunk-1ffzwm6m.js.br +0 -0
- package/web/chunk-1ffzwm6m.js.gz +0 -0
- package/web/chunk-1ncaw3hk.js +3 -0
- package/web/chunk-1ncaw3hk.js.br +0 -0
- package/web/chunk-1ncaw3hk.js.gz +0 -0
- package/web/chunk-1x2kh4he.js +1 -0
- package/web/chunk-1x2kh4he.js.br +0 -0
- package/web/chunk-1x2kh4he.js.gz +0 -0
- package/web/chunk-23atmwvk.js +2 -0
- package/web/chunk-23atmwvk.js.br +0 -0
- package/web/chunk-23atmwvk.js.gz +0 -0
- package/web/chunk-2gfgrjy6.js +142 -0
- package/web/chunk-2gfgrjy6.js.br +0 -0
- package/web/chunk-2gfgrjy6.js.gz +0 -0
- package/web/chunk-2vqn82nw.js +139 -0
- package/web/chunk-2vqn82nw.js.br +0 -0
- package/web/chunk-2vqn82nw.js.gz +0 -0
- package/web/chunk-2wzvn2ne.js +1 -0
- package/web/chunk-2wzvn2ne.js.br +0 -0
- package/web/chunk-2wzvn2ne.js.gz +0 -0
- package/web/chunk-3at8qbcv.js +89 -0
- package/web/chunk-3at8qbcv.js.br +0 -0
- package/web/chunk-3at8qbcv.js.gz +0 -0
- package/web/chunk-3b97pd97.js +120 -0
- package/web/chunk-3b97pd97.js.br +0 -0
- package/web/chunk-3b97pd97.js.gz +0 -0
- package/web/chunk-3q5j14ah.js +1 -0
- package/web/chunk-3q5j14ah.js.br +0 -0
- package/web/chunk-3q5j14ah.js.gz +0 -0
- package/web/chunk-4wpvkw6b.js +1141 -0
- package/web/chunk-4wpvkw6b.js.br +0 -0
- package/web/chunk-4wpvkw6b.js.gz +0 -0
- package/web/chunk-51m79xhr.js +2 -0
- package/web/chunk-51m79xhr.js.br +2 -0
- package/web/chunk-51m79xhr.js.gz +0 -0
- package/web/chunk-5c6q7asc.js +1 -0
- package/web/chunk-5c6q7asc.js.br +0 -0
- package/web/chunk-5c6q7asc.js.gz +0 -0
- package/web/chunk-5vbnqhs0.js +38 -0
- package/web/chunk-5vbnqhs0.js.br +0 -0
- package/web/chunk-5vbnqhs0.js.gz +0 -0
- package/web/chunk-688a15p4.js +2 -0
- package/web/chunk-688a15p4.js.br +0 -0
- package/web/chunk-688a15p4.js.gz +0 -0
- package/web/chunk-6geede02.js +217 -0
- package/web/chunk-6geede02.js.br +0 -0
- package/web/chunk-6geede02.js.gz +0 -0
- package/web/chunk-6j37ynfq.js +1 -0
- package/web/chunk-6j37ynfq.js.br +0 -0
- package/web/chunk-6j37ynfq.js.gz +0 -0
- package/web/chunk-7j7btfha.js +292 -0
- package/web/chunk-7j7btfha.js.br +0 -0
- package/web/chunk-7j7btfha.js.gz +0 -0
- package/web/chunk-8299qcyc.js +1 -0
- package/web/chunk-8299qcyc.js.br +0 -0
- package/web/chunk-8299qcyc.js.gz +0 -0
- package/web/chunk-8mncz9c6.js +89 -0
- package/web/chunk-8mncz9c6.js.br +0 -0
- package/web/chunk-8mncz9c6.js.gz +0 -0
- package/web/chunk-8pygn7wf.js +1 -0
- package/web/chunk-8pygn7wf.js.br +0 -0
- package/web/chunk-8pygn7wf.js.gz +0 -0
- package/web/chunk-8ye62j8m.js +2 -0
- package/web/chunk-8ye62j8m.js.br +3 -0
- package/web/chunk-8ye62j8m.js.gz +0 -0
- package/web/chunk-982457hh.js +1 -0
- package/web/chunk-982457hh.js.br +2 -0
- package/web/chunk-982457hh.js.gz +0 -0
- package/web/chunk-9f9pp12b.js +1 -0
- package/web/chunk-9f9pp12b.js.br +0 -0
- package/web/chunk-9f9pp12b.js.gz +0 -0
- package/web/chunk-9k6d95ab.js +1 -0
- package/web/chunk-9k6d95ab.js.br +0 -0
- package/web/chunk-9k6d95ab.js.gz +0 -0
- package/web/chunk-9z4tf6fd.js +1 -0
- package/web/chunk-9z4tf6fd.js.br +0 -0
- package/web/chunk-9z4tf6fd.js.gz +0 -0
- package/web/chunk-ayamka39.js +1 -0
- package/web/chunk-ayamka39.js.br +0 -0
- package/web/chunk-ayamka39.js.gz +0 -0
- package/web/chunk-b6k80wbw.js +1 -0
- package/web/chunk-b6k80wbw.js.br +0 -0
- package/web/chunk-b6k80wbw.js.gz +0 -0
- package/web/chunk-b6w2gmw0.js +2 -0
- package/web/chunk-b6w2gmw0.js.br +0 -0
- package/web/chunk-b6w2gmw0.js.gz +0 -0
- package/web/chunk-ba22js10.js +84 -0
- package/web/chunk-ba22js10.js.br +0 -0
- package/web/chunk-ba22js10.js.gz +0 -0
- package/web/chunk-bq7y294e.js +34 -0
- package/web/chunk-bq7y294e.js.br +0 -0
- package/web/chunk-bq7y294e.js.gz +0 -0
- package/web/chunk-c0vc50pd.js +4 -0
- package/web/chunk-c0vc50pd.js.br +0 -0
- package/web/chunk-c0vc50pd.js.gz +0 -0
- package/web/chunk-cf9886tj.js +2 -0
- package/web/chunk-cf9886tj.js.br +0 -0
- package/web/chunk-cf9886tj.js.gz +0 -0
- package/web/chunk-cqf4fzk6.js +16 -0
- package/web/chunk-cqf4fzk6.js.br +0 -0
- package/web/chunk-cqf4fzk6.js.gz +0 -0
- package/web/chunk-ct9sq4ka.js +1 -0
- package/web/chunk-ct9sq4ka.js.br +0 -0
- package/web/chunk-ct9sq4ka.js.gz +0 -0
- package/web/chunk-cy60hc6q.js +2 -0
- package/web/chunk-cy60hc6q.js.br +0 -0
- package/web/chunk-cy60hc6q.js.gz +0 -0
- package/web/chunk-cygtgz2r.js +2 -0
- package/web/chunk-cygtgz2r.js.br +0 -0
- package/web/chunk-cygtgz2r.js.gz +0 -0
- package/web/chunk-dgf0f0er.js +214 -0
- package/web/chunk-dgf0f0er.js.br +0 -0
- package/web/chunk-dgf0f0er.js.gz +0 -0
- package/web/chunk-dscn4mpq.js +4 -0
- package/web/chunk-dscn4mpq.js.br +0 -0
- package/web/chunk-dscn4mpq.js.gz +0 -0
- package/web/chunk-e7683p83.js +1 -0
- package/web/chunk-e7683p83.js.br +0 -0
- package/web/chunk-e7683p83.js.gz +0 -0
- package/web/chunk-eanfvatc.js +1 -0
- package/web/chunk-eanfvatc.js.br +0 -0
- package/web/chunk-eanfvatc.js.gz +0 -0
- package/web/chunk-egfn5522.js +1 -0
- package/web/chunk-egfn5522.js.br +3 -0
- package/web/chunk-egfn5522.js.gz +0 -0
- package/web/chunk-ejk5ec5n.js +1 -0
- package/web/chunk-ejk5ec5n.js.br +0 -0
- package/web/chunk-ejk5ec5n.js.gz +0 -0
- package/web/chunk-en5n60qw.js +2 -0
- package/web/chunk-en5n60qw.js.br +0 -0
- package/web/chunk-en5n60qw.js.gz +0 -0
- package/web/chunk-fzffxer1.js +41 -0
- package/web/chunk-fzffxer1.js.br +0 -0
- package/web/chunk-fzffxer1.js.gz +0 -0
- package/web/chunk-g19dt2gr.js +55 -0
- package/web/chunk-g19dt2gr.js.br +0 -0
- package/web/chunk-g19dt2gr.js.gz +0 -0
- package/web/chunk-g6cj4czr.js +2 -0
- package/web/chunk-g6cj4czr.js.br +0 -0
- package/web/chunk-g6cj4czr.js.gz +0 -0
- package/web/chunk-gbv8v3z7.js +78 -0
- package/web/chunk-gbv8v3z7.js.br +0 -0
- package/web/chunk-gbv8v3z7.js.gz +0 -0
- package/web/chunk-h1w081tm.js +12 -0
- package/web/chunk-h1w081tm.js.br +0 -0
- package/web/chunk-h1w081tm.js.gz +0 -0
- package/web/chunk-h87t8gsr.js +1 -0
- package/web/chunk-h87t8gsr.js.br +0 -0
- package/web/chunk-h87t8gsr.js.gz +0 -0
- package/web/chunk-haewrbm7.js +1 -0
- package/web/chunk-haewrbm7.js.br +0 -0
- package/web/chunk-haewrbm7.js.gz +0 -0
- package/web/chunk-hahz28y7.js +2 -0
- package/web/chunk-hahz28y7.js.br +0 -0
- package/web/chunk-hahz28y7.js.gz +0 -0
- package/web/chunk-hqz75fkz.js +1 -0
- package/web/chunk-hqz75fkz.js.br +0 -0
- package/web/chunk-hqz75fkz.js.gz +0 -0
- package/web/chunk-hr4fa514.js +2 -0
- package/web/chunk-hr4fa514.js.br +0 -0
- package/web/chunk-hr4fa514.js.gz +0 -0
- package/web/chunk-j7vtqbbc.js +1 -0
- package/web/chunk-j7vtqbbc.js.br +0 -0
- package/web/chunk-j7vtqbbc.js.gz +0 -0
- package/web/chunk-jt33d37t.js +1 -0
- package/web/chunk-jt33d37t.js.br +0 -0
- package/web/chunk-jt33d37t.js.gz +0 -0
- package/web/chunk-k3qt0rx5.js +2 -0
- package/web/chunk-k3qt0rx5.js.br +0 -0
- package/web/chunk-k3qt0rx5.js.gz +0 -0
- package/web/chunk-kgmw7sh4.js +1 -0
- package/web/chunk-kgmw7sh4.js.br +0 -0
- package/web/chunk-kgmw7sh4.js.gz +0 -0
- package/web/chunk-kjvk8prw.js +1 -0
- package/web/chunk-kjvk8prw.js.br +0 -0
- package/web/chunk-kjvk8prw.js.gz +0 -0
- package/web/chunk-kq7snx3t.js +1 -0
- package/web/chunk-kq7snx3t.js.br +0 -0
- package/web/chunk-kq7snx3t.js.gz +0 -0
- package/web/chunk-kvteqhz2.js +1 -0
- package/web/chunk-kvteqhz2.js.br +2 -0
- package/web/chunk-kvteqhz2.js.gz +0 -0
- package/web/chunk-kypct03a.js +169 -0
- package/web/chunk-kypct03a.js.br +0 -0
- package/web/chunk-kypct03a.js.gz +0 -0
- package/web/chunk-m4hz4v80.js +370 -0
- package/web/chunk-m4hz4v80.js.br +0 -0
- package/web/chunk-m4hz4v80.js.gz +0 -0
- package/web/chunk-m5k8jhya.js +40 -0
- package/web/chunk-m5k8jhya.js.br +0 -0
- package/web/chunk-m5k8jhya.js.gz +0 -0
- package/web/chunk-mr38k717.js +140 -0
- package/web/chunk-mr38k717.js.br +0 -0
- package/web/chunk-mr38k717.js.gz +0 -0
- package/web/chunk-mtcet6gc.js +2 -0
- package/web/chunk-mtcet6gc.js.br +0 -0
- package/web/chunk-mtcet6gc.js.gz +0 -0
- package/web/chunk-mtfv8gjh.js +291 -0
- package/web/chunk-mtfv8gjh.js.br +0 -0
- package/web/chunk-mtfv8gjh.js.gz +0 -0
- package/web/chunk-nnyjx4ef.js +1 -0
- package/web/chunk-nnyjx4ef.js.br +0 -0
- package/web/chunk-nnyjx4ef.js.gz +0 -0
- package/web/chunk-npn3fk69.js +1 -0
- package/web/chunk-npn3fk69.js.br +2 -0
- package/web/chunk-npn3fk69.js.gz +0 -0
- package/web/chunk-p2gdfpjs.js +2 -0
- package/web/chunk-p2gdfpjs.js.br +0 -0
- package/web/chunk-p2gdfpjs.js.gz +0 -0
- package/web/chunk-q0by2m1w.js +21 -0
- package/web/chunk-q0by2m1w.js.br +0 -0
- package/web/chunk-q0by2m1w.js.gz +0 -0
- package/web/chunk-q6k872kv.js +7 -0
- package/web/chunk-q6k872kv.js.br +0 -0
- package/web/chunk-q6k872kv.js.gz +0 -0
- package/web/chunk-q7krdwy7.js +332 -0
- package/web/chunk-q7krdwy7.js.br +0 -0
- package/web/chunk-q7krdwy7.js.gz +0 -0
- package/web/chunk-q7wbksg4.js +1 -0
- package/web/chunk-q7wbksg4.js.br +0 -0
- package/web/chunk-q7wbksg4.js.gz +0 -0
- package/web/chunk-qdxa0c4c.js +1 -0
- package/web/chunk-qdxa0c4c.js.br +0 -0
- package/web/chunk-qdxa0c4c.js.gz +0 -0
- package/web/chunk-r76we294.js +1 -0
- package/web/chunk-r76we294.js.br +0 -0
- package/web/chunk-r76we294.js.gz +0 -0
- package/web/chunk-rnhbck1h.js +99 -0
- package/web/chunk-rnhbck1h.js.br +0 -0
- package/web/chunk-rnhbck1h.js.gz +0 -0
- package/web/chunk-rxtzde6n.js +62 -0
- package/web/chunk-rxtzde6n.js.br +0 -0
- package/web/chunk-rxtzde6n.js.gz +0 -0
- package/web/chunk-ryds6qnb.js +2 -0
- package/web/chunk-ryds6qnb.js.br +0 -0
- package/web/chunk-ryds6qnb.js.gz +0 -0
- package/web/chunk-stnwzrqv.js +98 -0
- package/web/chunk-stnwzrqv.js.br +0 -0
- package/web/chunk-stnwzrqv.js.gz +0 -0
- package/web/chunk-sy28z9pe.js +2 -0
- package/web/chunk-sy28z9pe.js.br +2 -0
- package/web/chunk-sy28z9pe.js.gz +0 -0
- package/web/chunk-szwh742y.js +2 -0
- package/web/chunk-szwh742y.js.br +0 -0
- package/web/chunk-szwh742y.js.gz +0 -0
- package/web/chunk-t60hp0qs.js +36 -0
- package/web/chunk-t60hp0qs.js.br +0 -0
- package/web/chunk-t60hp0qs.js.gz +0 -0
- package/web/chunk-tjma3e4d.js +7 -0
- package/web/chunk-tjma3e4d.js.br +0 -0
- package/web/chunk-tjma3e4d.js.gz +0 -0
- package/web/chunk-tn39vbcz.js +2 -0
- package/web/chunk-tn39vbcz.js.br +0 -0
- package/web/chunk-tn39vbcz.js.gz +0 -0
- package/web/chunk-tv9rz73h.js +30 -0
- package/web/chunk-tv9rz73h.js.br +0 -0
- package/web/chunk-tv9rz73h.js.gz +0 -0
- package/web/chunk-twgzayjk.js +1 -0
- package/web/chunk-twgzayjk.js.br +0 -0
- package/web/chunk-twgzayjk.js.gz +0 -0
- package/web/chunk-tz4w2nh2.js +303 -0
- package/web/chunk-tz4w2nh2.js.br +0 -0
- package/web/chunk-tz4w2nh2.js.gz +0 -0
- package/web/chunk-v0egh6d3.js +1 -0
- package/web/chunk-v0egh6d3.js.br +0 -0
- package/web/chunk-v0egh6d3.js.gz +0 -0
- package/web/chunk-vayamfxv.js +1 -0
- package/web/chunk-vayamfxv.js.br +0 -0
- package/web/chunk-vayamfxv.js.gz +0 -0
- package/web/chunk-vcawg8d2.js +1 -0
- package/web/chunk-vcawg8d2.js.br +0 -0
- package/web/chunk-vcawg8d2.js.gz +0 -0
- package/web/chunk-vh8s2rek.js +1 -0
- package/web/chunk-vh8s2rek.js.br +2 -0
- package/web/chunk-vh8s2rek.js.gz +0 -0
- package/web/chunk-vns6bpqm.js +2 -0
- package/web/chunk-vns6bpqm.js.br +0 -0
- package/web/chunk-vns6bpqm.js.gz +0 -0
- package/web/chunk-vvbte0a5.css +1 -0
- package/web/chunk-vvbte0a5.css.br +0 -0
- package/web/chunk-vvbte0a5.css.gz +0 -0
- package/web/chunk-vxzw2t1r.js +1 -0
- package/web/chunk-vxzw2t1r.js.br +0 -0
- package/web/chunk-vxzw2t1r.js.gz +0 -0
- package/web/chunk-w40atygt.js +2 -0
- package/web/chunk-w40atygt.js.br +0 -0
- package/web/chunk-w40atygt.js.gz +0 -0
- package/web/chunk-w4bxgcwm.js +1 -0
- package/web/chunk-w4bxgcwm.js.br +0 -0
- package/web/chunk-w4bxgcwm.js.gz +0 -0
- package/web/chunk-w5t00pns.js +70 -0
- package/web/chunk-w5t00pns.js.br +0 -0
- package/web/chunk-w5t00pns.js.gz +0 -0
- package/web/chunk-wpmzdqba.js +324 -0
- package/web/chunk-wpmzdqba.js.br +0 -0
- package/web/chunk-wpmzdqba.js.gz +0 -0
- package/web/chunk-xc74f1nj.js +1 -0
- package/web/chunk-xc74f1nj.js.br +0 -0
- package/web/chunk-xc74f1nj.js.gz +0 -0
- package/web/chunk-xs4cyb71.js +1 -0
- package/web/chunk-xs4cyb71.js.br +0 -0
- package/web/chunk-xs4cyb71.js.gz +0 -0
- package/web/chunk-xthg4efe.js +1 -0
- package/web/chunk-xthg4efe.js.br +0 -0
- package/web/chunk-xthg4efe.js.gz +0 -0
- package/web/chunk-yet0bbyh.js +1 -0
- package/web/chunk-yet0bbyh.js.br +0 -0
- package/web/chunk-yet0bbyh.js.gz +0 -0
- package/web/chunk-yzcxmqy3.js +1 -0
- package/web/chunk-yzcxmqy3.js.br +0 -0
- package/web/chunk-yzcxmqy3.js.gz +0 -0
- package/web/chunk-z2a9zwwx.js +24 -0
- package/web/chunk-z2a9zwwx.js.br +0 -0
- package/web/chunk-z2a9zwwx.js.gz +0 -0
- package/web/chunk-zeyw59b9.js +2 -0
- package/web/chunk-zeyw59b9.js.br +0 -0
- package/web/chunk-zeyw59b9.js.gz +0 -0
- package/web/chunk-zftk5ww7.js +8 -0
- package/web/chunk-zftk5ww7.js.br +0 -0
- package/web/chunk-zftk5ww7.js.gz +0 -0
- package/web/chunk-zmbp3phd.js +2 -0
- package/web/chunk-zmbp3phd.js.br +0 -0
- package/web/chunk-zmbp3phd.js.gz +0 -0
- package/web/chunk-zpxh70dj.js +1 -0
- package/web/chunk-zpxh70dj.js.br +0 -0
- package/web/chunk-zpxh70dj.js.gz +0 -0
- package/web/chunk-zqhdf12s.js +39 -0
- package/web/chunk-zqhdf12s.js.br +0 -0
- package/web/chunk-zqhdf12s.js.gz +0 -0
- package/web/chunk-zr2xst5w.js +1 -0
- package/web/chunk-zr2xst5w.js.br +0 -0
- package/web/chunk-zr2xst5w.js.gz +0 -0
- package/web/index.html +1 -1
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/worker.js +1 -1
- package/chunk-01xyv3ct.js +0 -7
- package/chunk-06gjy5s2.js +0 -5
- package/chunk-0pztrs5x.js +0 -11
- package/chunk-0v6seb9q.js +0 -20
- package/chunk-0z138vnr.js +0 -12
- package/chunk-1c8yqctx.js +0 -3
- package/chunk-1wt8pbns.js +0 -2
- package/chunk-1yvgmxew.js +0 -2
- package/chunk-229men2n.js +0 -31
- package/chunk-29x35nj4.js +0 -5
- package/chunk-3ee7dyh4.js +0 -18
- package/chunk-3gf3g0xt.js +0 -3
- package/chunk-3gts3ja0.js +0 -8
- package/chunk-4stj480w.js +0 -3
- package/chunk-4t2t0hcp.js +0 -3
- package/chunk-57b764s0.js +0 -5
- package/chunk-63mr2aa2.js +0 -50
- package/chunk-64h4gw8d.js +0 -3
- package/chunk-7gxx6829.js +0 -2
- package/chunk-898tss1j.js +0 -51
- package/chunk-9em1sne5.js +0 -2
- package/chunk-9p8n1xjn.js +0 -4048
- package/chunk-a0h0x1dn.js +0 -3
- package/chunk-a2r89pk2.js +0 -12
- package/chunk-a5mtw4y5.js +0 -2
- package/chunk-aq6xkc1w.js +0 -3
- package/chunk-bbqhx91f.js +0 -3
- package/chunk-c9q0y8hp.js +0 -4
- package/chunk-cgzez9a5.js +0 -2
- package/chunk-drjajr57.js +0 -3
- package/chunk-dsnz6mzt.js +0 -25
- package/chunk-ee18zzzv.js +0 -3
- package/chunk-eg161ep9.js +0 -3
- package/chunk-ej42zg82.js +0 -2
- package/chunk-ejw7k7nn.js +0 -2
- package/chunk-et2s8y6a.js +0 -3
- package/chunk-f95j1a8x.js +0 -3
- package/chunk-fnxstmm5.js +0 -2
- package/chunk-gtjtkfjk.js +0 -3
- package/chunk-h4rve6x4.js +0 -63
- package/chunk-hp9bcx4x.js +0 -2
- package/chunk-je4cjwhm.js +0 -3
- package/chunk-jn1zdamp.js +0 -9
- package/chunk-jpah46d1.js +0 -2
- package/chunk-jvsrda4n.js +0 -16
- package/chunk-jyhsae16.js +0 -2
- package/chunk-k7n6bhkz.js +0 -3
- package/chunk-kvv3mvk5.js +0 -2
- package/chunk-kzv5cgqz.js +0 -286
- package/chunk-mz3zt06w.js +0 -7
- package/chunk-n4crb1x3.js +0 -2
- package/chunk-nmmf0w14.js +0 -5
- package/chunk-nr5p4pvp.js +0 -3
- package/chunk-p39fex1r.js +0 -2
- package/chunk-pefgy360.js +0 -7
- package/chunk-psr71nf8.js +0 -2
- package/chunk-qsgc7b7x.js +0 -3
- package/chunk-qygv2jqa.js +0 -2
- package/chunk-r449z8pj.js +0 -2
- package/chunk-rd52y45c.js +0 -8
- package/chunk-repjnwda.js +0 -10
- package/chunk-rh6yvdwz.js +0 -3
- package/chunk-s2d5zp37.js +0 -44
- package/chunk-s68eamf1.js +0 -2
- package/chunk-sacdpkwc.js +0 -3
- package/chunk-tey1hftz.js +0 -490
- package/chunk-vhvzyxx5.js +0 -25
- package/chunk-vytm86v0.js +0 -2
- package/chunk-x4bc1xkx.js +0 -39
- package/chunk-xa23zmzv.js +0 -2
- package/chunk-xq7zspqs.js +0 -3
- package/chunk-xqz8ac7j.js +0 -2
- package/chunk-ycce2a81.js +0 -2
- package/chunk-z99s31w5.js +0 -2
- package/chunk-zs6ytk7b.js +0 -59
- package/chunk-ztm5hqwh.js +0 -2
- package/chunk-zv29qg1q.js +0 -10
- package/web/chunk-02z3bqps.js +0 -1
- package/web/chunk-02z3bqps.js.br +0 -0
- package/web/chunk-02z3bqps.js.gz +0 -0
- package/web/chunk-0dg4qqe3.js +0 -1
- package/web/chunk-0dg4qqe3.js.br +0 -2
- package/web/chunk-0dg4qqe3.js.gz +0 -0
- package/web/chunk-0qar8vwc.js +0 -2
- package/web/chunk-0qar8vwc.js.br +0 -0
- package/web/chunk-0qar8vwc.js.gz +0 -0
- package/web/chunk-0qmgmqzd.js +0 -2
- package/web/chunk-0qmgmqzd.js.br +0 -0
- package/web/chunk-0qmgmqzd.js.gz +0 -0
- package/web/chunk-1q82849a.js +0 -1
- package/web/chunk-1q82849a.js.br +0 -0
- package/web/chunk-1q82849a.js.gz +0 -0
- package/web/chunk-2ajkzs3d.js +0 -12
- package/web/chunk-2ajkzs3d.js.br +0 -0
- package/web/chunk-2ajkzs3d.js.gz +0 -0
- package/web/chunk-2xrkfj8n.js +0 -291
- package/web/chunk-2xrkfj8n.js.br +0 -0
- package/web/chunk-2xrkfj8n.js.gz +0 -0
- package/web/chunk-4fzpmw3f.js +0 -89
- package/web/chunk-4fzpmw3f.js.br +0 -0
- package/web/chunk-4fzpmw3f.js.gz +0 -0
- package/web/chunk-51njd9f8.js +0 -89
- package/web/chunk-51njd9f8.js.br +0 -0
- package/web/chunk-51njd9f8.js.gz +0 -0
- package/web/chunk-66zw8mqe.js +0 -2
- package/web/chunk-66zw8mqe.js.br +0 -0
- package/web/chunk-66zw8mqe.js.gz +0 -0
- package/web/chunk-6x73jtw7.js +0 -7
- package/web/chunk-6x73jtw7.js.br +0 -0
- package/web/chunk-6x73jtw7.js.gz +0 -0
- package/web/chunk-6y389kg6.js +0 -1
- package/web/chunk-6y389kg6.js.br +0 -0
- package/web/chunk-6y389kg6.js.gz +0 -0
- package/web/chunk-73peavw3.js +0 -1
- package/web/chunk-73peavw3.js.br +0 -0
- package/web/chunk-73peavw3.js.gz +0 -0
- package/web/chunk-7p7qtp6d.js +0 -1
- package/web/chunk-7p7qtp6d.js.br +0 -0
- package/web/chunk-7p7qtp6d.js.gz +0 -0
- package/web/chunk-81zj375g.js +0 -1
- package/web/chunk-81zj375g.js.br +0 -0
- package/web/chunk-81zj375g.js.gz +0 -0
- package/web/chunk-89dwrkrr.js +0 -1
- package/web/chunk-89dwrkrr.js.br +0 -0
- package/web/chunk-89dwrkrr.js.gz +0 -0
- package/web/chunk-8e829p0a.css +0 -1
- package/web/chunk-8e829p0a.css.br +0 -0
- package/web/chunk-8e829p0a.css.gz +0 -0
- package/web/chunk-9mgqrwwh.js +0 -1
- package/web/chunk-9mgqrwwh.js.br +0 -0
- package/web/chunk-9mgqrwwh.js.gz +0 -0
- package/web/chunk-ag97fhx1.js +0 -1
- package/web/chunk-ag97fhx1.js.br +0 -0
- package/web/chunk-ag97fhx1.js.gz +0 -0
- package/web/chunk-anm2706b.js +0 -139
- package/web/chunk-anm2706b.js.br +0 -0
- package/web/chunk-anm2706b.js.gz +0 -0
- package/web/chunk-aqz2exas.js +0 -142
- package/web/chunk-aqz2exas.js.br +0 -0
- package/web/chunk-aqz2exas.js.gz +0 -0
- package/web/chunk-at6wp72y.js +0 -1
- package/web/chunk-at6wp72y.js.br +0 -0
- package/web/chunk-at6wp72y.js.gz +0 -0
- package/web/chunk-ayfqxte8.js +0 -1
- package/web/chunk-ayfqxte8.js.br +0 -2
- package/web/chunk-ayfqxte8.js.gz +0 -0
- package/web/chunk-b564qxgk.js +0 -98
- package/web/chunk-b564qxgk.js.br +0 -0
- package/web/chunk-b564qxgk.js.gz +0 -0
- package/web/chunk-b9atg5sw.js +0 -1
- package/web/chunk-b9atg5sw.js.br +0 -0
- package/web/chunk-b9atg5sw.js.gz +0 -0
- package/web/chunk-bg2k54a5.js +0 -70
- package/web/chunk-bg2k54a5.js.br +0 -0
- package/web/chunk-bg2k54a5.js.gz +0 -0
- package/web/chunk-cb0g87b5.js +0 -2
- package/web/chunk-cb0g87b5.js.br +0 -3
- package/web/chunk-cb0g87b5.js.gz +0 -0
- package/web/chunk-cgm44rx8.js +0 -2
- package/web/chunk-cgm44rx8.js.br +0 -0
- package/web/chunk-cgm44rx8.js.gz +0 -0
- package/web/chunk-ctckn7gz.js +0 -2
- package/web/chunk-ctckn7gz.js.br +0 -0
- package/web/chunk-ctckn7gz.js.gz +0 -0
- package/web/chunk-def5mk0w.js +0 -2
- package/web/chunk-def5mk0w.js.br +0 -0
- package/web/chunk-def5mk0w.js.gz +0 -0
- package/web/chunk-e2nhv6bb.js +0 -2
- package/web/chunk-e2nhv6bb.js.br +0 -0
- package/web/chunk-e2nhv6bb.js.gz +0 -0
- package/web/chunk-e7djq8rb.js +0 -2
- package/web/chunk-e7djq8rb.js.br +0 -0
- package/web/chunk-e7djq8rb.js.gz +0 -0
- package/web/chunk-eagbq8k2.js +0 -1
- package/web/chunk-eagbq8k2.js.br +0 -0
- package/web/chunk-eagbq8k2.js.gz +0 -0
- package/web/chunk-fbxw7w0z.js +0 -1
- package/web/chunk-fbxw7w0z.js.br +0 -0
- package/web/chunk-fbxw7w0z.js.gz +0 -0
- package/web/chunk-fn95dxq2.js +0 -1
- package/web/chunk-fn95dxq2.js.br +0 -0
- package/web/chunk-fn95dxq2.js.gz +0 -0
- package/web/chunk-g3n4tbbv.js +0 -1
- package/web/chunk-g3n4tbbv.js.br +0 -2
- package/web/chunk-g3n4tbbv.js.gz +0 -0
- package/web/chunk-gp0xqyh2.js +0 -62
- package/web/chunk-gp0xqyh2.js.br +0 -0
- package/web/chunk-gp0xqyh2.js.gz +0 -0
- package/web/chunk-h2rv3exr.js +0 -84
- package/web/chunk-h2rv3exr.js.br +0 -0
- package/web/chunk-h2rv3exr.js.gz +0 -0
- package/web/chunk-h888hb33.js +0 -41
- package/web/chunk-h888hb33.js.br +0 -0
- package/web/chunk-h888hb33.js.gz +0 -0
- package/web/chunk-hc9ep8b0.js +0 -4
- package/web/chunk-hc9ep8b0.js.br +0 -0
- package/web/chunk-hc9ep8b0.js.gz +0 -0
- package/web/chunk-hp0jfbty.js +0 -1
- package/web/chunk-hp0jfbty.js.br +0 -0
- package/web/chunk-hp0jfbty.js.gz +0 -0
- package/web/chunk-hx7rh5c1.js +0 -2
- package/web/chunk-hx7rh5c1.js.br +0 -0
- package/web/chunk-hx7rh5c1.js.gz +0 -0
- package/web/chunk-hzxz7smg.js +0 -24
- package/web/chunk-hzxz7smg.js.br +0 -0
- package/web/chunk-hzxz7smg.js.gz +0 -0
- package/web/chunk-j4w9gj2v.js +0 -1
- package/web/chunk-j4w9gj2v.js.br +0 -0
- package/web/chunk-j4w9gj2v.js.gz +0 -0
- package/web/chunk-j8m3c1s4.js +0 -2
- package/web/chunk-j8m3c1s4.js.br +0 -0
- package/web/chunk-j8m3c1s4.js.gz +0 -0
- package/web/chunk-jamb9e79.js +0 -1
- package/web/chunk-jamb9e79.js.br +0 -0
- package/web/chunk-jamb9e79.js.gz +0 -0
- package/web/chunk-jg19frxn.js +0 -55
- package/web/chunk-jg19frxn.js.br +0 -0
- package/web/chunk-jg19frxn.js.gz +0 -0
- package/web/chunk-jm2pevt8.js +0 -1
- package/web/chunk-jm2pevt8.js.br +0 -0
- package/web/chunk-jm2pevt8.js.gz +0 -0
- package/web/chunk-jmr00kdm.js +0 -214
- package/web/chunk-jmr00kdm.js.br +0 -0
- package/web/chunk-jmr00kdm.js.gz +0 -0
- package/web/chunk-jsff72z2.js +0 -1
- package/web/chunk-jsff72z2.js.br +0 -0
- package/web/chunk-jsff72z2.js.gz +0 -0
- package/web/chunk-jv83dscd.js +0 -1
- package/web/chunk-jv83dscd.js.br +0 -0
- package/web/chunk-jv83dscd.js.gz +0 -0
- package/web/chunk-k0da3cb3.js +0 -1
- package/web/chunk-k0da3cb3.js.br +0 -0
- package/web/chunk-k0da3cb3.js.gz +0 -0
- package/web/chunk-k6ks8zqg.js +0 -1
- package/web/chunk-k6ks8zqg.js.br +0 -0
- package/web/chunk-k6ks8zqg.js.gz +0 -0
- package/web/chunk-kdzew6g1.js +0 -1
- package/web/chunk-kdzew6g1.js.br +0 -2
- package/web/chunk-kdzew6g1.js.gz +0 -0
- package/web/chunk-ktmnzrpf.js +0 -1
- package/web/chunk-ktmnzrpf.js.br +0 -2
- package/web/chunk-ktmnzrpf.js.gz +0 -0
- package/web/chunk-kxezmcn5.js +0 -30
- package/web/chunk-kxezmcn5.js.br +0 -0
- package/web/chunk-kxezmcn5.js.gz +0 -0
- package/web/chunk-kyj99nqq.js +0 -2
- package/web/chunk-kyj99nqq.js.br +0 -0
- package/web/chunk-kyj99nqq.js.gz +0 -0
- package/web/chunk-m1009k4x.js +0 -16
- package/web/chunk-m1009k4x.js.br +0 -0
- package/web/chunk-m1009k4x.js.gz +0 -0
- package/web/chunk-mgr8wt71.js +0 -370
- package/web/chunk-mgr8wt71.js.br +0 -0
- package/web/chunk-mgr8wt71.js.gz +0 -0
- package/web/chunk-mya0w8tm.js +0 -1
- package/web/chunk-mya0w8tm.js.br +0 -0
- package/web/chunk-mya0w8tm.js.gz +0 -0
- package/web/chunk-n1wgda90.js +0 -7
- package/web/chunk-n1wgda90.js.br +0 -0
- package/web/chunk-n1wgda90.js.gz +0 -0
- package/web/chunk-n7hk5sxm.js +0 -120
- package/web/chunk-n7hk5sxm.js.br +0 -0
- package/web/chunk-n7hk5sxm.js.gz +0 -0
- package/web/chunk-n99yz498.js +0 -36
- package/web/chunk-n99yz498.js.br +0 -0
- package/web/chunk-n99yz498.js.gz +0 -0
- package/web/chunk-nnvqz2dh.js +0 -1
- package/web/chunk-nnvqz2dh.js.br +0 -0
- package/web/chunk-nnvqz2dh.js.gz +0 -0
- package/web/chunk-nx439rde.js +0 -1
- package/web/chunk-nx439rde.js.br +0 -0
- package/web/chunk-nx439rde.js.gz +0 -0
- package/web/chunk-pn50cj2y.js +0 -1
- package/web/chunk-pn50cj2y.js.br +0 -0
- package/web/chunk-pn50cj2y.js.gz +0 -0
- package/web/chunk-pph3x232.js +0 -38
- package/web/chunk-pph3x232.js.br +0 -0
- package/web/chunk-pph3x232.js.gz +0 -0
- package/web/chunk-pt2vfgkr.js +0 -1
- package/web/chunk-pt2vfgkr.js.br +0 -0
- package/web/chunk-pt2vfgkr.js.gz +0 -0
- package/web/chunk-pzvg5xnk.js +0 -21
- package/web/chunk-pzvg5xnk.js.br +0 -0
- package/web/chunk-pzvg5xnk.js.gz +0 -0
- package/web/chunk-qafnz668.js +0 -1
- package/web/chunk-qafnz668.js.br +0 -0
- package/web/chunk-qafnz668.js.gz +0 -0
- package/web/chunk-qkfqcr10.js +0 -1
- package/web/chunk-qkfqcr10.js.br +0 -0
- package/web/chunk-qkfqcr10.js.gz +0 -0
- package/web/chunk-qkgp0da2.js +0 -1
- package/web/chunk-qkgp0da2.js.br +0 -0
- package/web/chunk-qkgp0da2.js.gz +0 -0
- package/web/chunk-qpqdn0a8.js +0 -1
- package/web/chunk-qpqdn0a8.js.br +0 -0
- package/web/chunk-qpqdn0a8.js.gz +0 -0
- package/web/chunk-r0ch05x8.js +0 -3
- package/web/chunk-r0ch05x8.js.br +0 -0
- package/web/chunk-r0ch05x8.js.gz +0 -0
- package/web/chunk-r6s2vcby.js +0 -8
- package/web/chunk-r6s2vcby.js.br +0 -6
- package/web/chunk-r6s2vcby.js.gz +0 -0
- package/web/chunk-r71mdnq3.js +0 -1
- package/web/chunk-r71mdnq3.js.br +0 -0
- package/web/chunk-r71mdnq3.js.gz +0 -0
- package/web/chunk-rd60971b.js +0 -2
- package/web/chunk-rd60971b.js.br +0 -0
- package/web/chunk-rd60971b.js.gz +0 -0
- package/web/chunk-rdz21xd5.js +0 -99
- package/web/chunk-rdz21xd5.js.br +0 -0
- package/web/chunk-rdz21xd5.js.gz +0 -0
- package/web/chunk-rmzb9edh.js +0 -303
- package/web/chunk-rmzb9edh.js.br +0 -0
- package/web/chunk-rmzb9edh.js.gz +0 -0
- package/web/chunk-rqkd1h2n.js +0 -2
- package/web/chunk-rqkd1h2n.js.br +0 -0
- package/web/chunk-rqkd1h2n.js.gz +0 -0
- package/web/chunk-rz2cq4g2.js +0 -2
- package/web/chunk-rz2cq4g2.js.br +0 -0
- package/web/chunk-rz2cq4g2.js.gz +0 -0
- package/web/chunk-rzeh9b1q.js +0 -2
- package/web/chunk-rzeh9b1q.js.br +0 -0
- package/web/chunk-rzeh9b1q.js.gz +0 -0
- package/web/chunk-s6ax6yty.js +0 -1
- package/web/chunk-s6ax6yty.js.br +0 -0
- package/web/chunk-s6ax6yty.js.gz +0 -0
- package/web/chunk-s75zvbh9.js +0 -1
- package/web/chunk-s75zvbh9.js.br +0 -0
- package/web/chunk-s75zvbh9.js.gz +0 -0
- package/web/chunk-s7cz1q7g.js +0 -324
- package/web/chunk-s7cz1q7g.js.br +0 -0
- package/web/chunk-s7cz1q7g.js.gz +0 -0
- package/web/chunk-sh6xh1kh.js +0 -1
- package/web/chunk-sh6xh1kh.js.br +0 -0
- package/web/chunk-sh6xh1kh.js.gz +0 -0
- package/web/chunk-sqa50cfh.js +0 -2
- package/web/chunk-sqa50cfh.js.br +0 -0
- package/web/chunk-sqa50cfh.js.gz +0 -0
- package/web/chunk-stp6j8y9.js +0 -39
- package/web/chunk-stp6j8y9.js.br +0 -0
- package/web/chunk-stp6j8y9.js.gz +0 -0
- package/web/chunk-t7wae2xz.js +0 -332
- package/web/chunk-t7wae2xz.js.br +0 -0
- package/web/chunk-t7wae2xz.js.gz +0 -0
- package/web/chunk-t8p7d5vk.js +0 -2
- package/web/chunk-t8p7d5vk.js.br +0 -0
- package/web/chunk-t8p7d5vk.js.gz +0 -0
- package/web/chunk-tbj4d6qe.js +0 -292
- package/web/chunk-tbj4d6qe.js.br +0 -0
- package/web/chunk-tbj4d6qe.js.gz +0 -0
- package/web/chunk-v0wb751t.js +0 -2
- package/web/chunk-v0wb751t.js.br +0 -0
- package/web/chunk-v0wb751t.js.gz +0 -0
- package/web/chunk-v1vghfec.js +0 -1
- package/web/chunk-v1vghfec.js.br +0 -0
- package/web/chunk-v1vghfec.js.gz +0 -0
- package/web/chunk-v890rh1e.js +0 -2
- package/web/chunk-v890rh1e.js.br +0 -0
- package/web/chunk-v890rh1e.js.gz +0 -0
- package/web/chunk-vd2kng8p.js +0 -4
- package/web/chunk-vd2kng8p.js.br +0 -0
- package/web/chunk-vd2kng8p.js.gz +0 -0
- package/web/chunk-vfqmec16.js +0 -217
- package/web/chunk-vfqmec16.js.br +0 -0
- package/web/chunk-vfqmec16.js.gz +0 -0
- package/web/chunk-vhmcx472.js +0 -1
- package/web/chunk-vhmcx472.js.br +0 -0
- package/web/chunk-vhmcx472.js.gz +0 -0
- package/web/chunk-vtvf1x6b.js +0 -2
- package/web/chunk-vtvf1x6b.js.br +0 -0
- package/web/chunk-vtvf1x6b.js.gz +0 -0
- package/web/chunk-w0ae9ggt.js +0 -40
- package/web/chunk-w0ae9ggt.js.br +0 -0
- package/web/chunk-w0ae9ggt.js.gz +0 -0
- package/web/chunk-ws8rv0tb.js +0 -1141
- package/web/chunk-ws8rv0tb.js.br +0 -0
- package/web/chunk-ws8rv0tb.js.gz +0 -0
- package/web/chunk-wvnvh4a5.js +0 -78
- package/web/chunk-wvnvh4a5.js.br +0 -0
- package/web/chunk-wvnvh4a5.js.gz +0 -0
- package/web/chunk-x11ewabg.js +0 -1
- package/web/chunk-x11ewabg.js.br +0 -0
- package/web/chunk-x11ewabg.js.gz +0 -0
- package/web/chunk-x2tcf0r1.js +0 -1
- package/web/chunk-x2tcf0r1.js.br +0 -2
- package/web/chunk-x2tcf0r1.js.gz +0 -0
- package/web/chunk-xbrj4mk1.js +0 -140
- package/web/chunk-xbrj4mk1.js.br +0 -0
- package/web/chunk-xbrj4mk1.js.gz +0 -0
- package/web/chunk-xh8q1bcj.js +0 -34
- package/web/chunk-xh8q1bcj.js.br +0 -0
- package/web/chunk-xh8q1bcj.js.gz +0 -0
- package/web/chunk-xha3t633.js +0 -1
- package/web/chunk-xha3t633.js.br +0 -0
- package/web/chunk-xha3t633.js.gz +0 -0
- package/web/chunk-xmr18f18.js +0 -1
- package/web/chunk-xmr18f18.js.br +0 -0
- package/web/chunk-xmr18f18.js.gz +0 -0
- package/web/chunk-y372dg1e.js +0 -7
- package/web/chunk-y372dg1e.js.br +0 -0
- package/web/chunk-y372dg1e.js.gz +0 -0
- package/web/chunk-y778wckc.js +0 -24
- package/web/chunk-y778wckc.js.br +0 -0
- package/web/chunk-y778wckc.js.gz +0 -0
- package/web/chunk-yerpvhym.js +0 -169
- package/web/chunk-yerpvhym.js.br +0 -0
- package/web/chunk-yerpvhym.js.gz +0 -0
- package/web/chunk-yrhe7a7c.js +0 -106
- package/web/chunk-yrhe7a7c.js.br +0 -0
- package/web/chunk-yrhe7a7c.js.gz +0 -0
- package/web/chunk-z2aazpzj.js +0 -2
- package/web/chunk-z2aazpzj.js.br +0 -0
- package/web/chunk-z2aazpzj.js.gz +0 -0
- package/web/chunk-z43td5ad.js +0 -1
- package/web/chunk-z43td5ad.js.br +0 -0
- package/web/chunk-z43td5ad.js.gz +0 -0
- package/web/chunk-zf42y65m.js +0 -1
- package/web/chunk-zf42y65m.js.br +0 -0
- package/web/chunk-zf42y65m.js.gz +0 -0
- package/web/chunk-zj2rhf4b.js +0 -200
- package/web/chunk-zj2rhf4b.js.br +0 -0
- package/web/chunk-zj2rhf4b.js.gz +0 -0
- package/web/chunk-zkn84jhm.js +0 -2
- package/web/chunk-zkn84jhm.js.br +0 -0
- package/web/chunk-zkn84jhm.js.gz +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import{ae}from"./chunk-zmbp3phd.js";import{t,i,F,A,q,dn,N,M,P,R,I,O,D,d,g,J,Js,Wr,Xt,Z,St,lt}from"./chunk-tz4w2nh2.js";import{fe}from"./chunk-2gfgrjy6.js";import{hn,si}from"./chunk-q7krdwy7.js";import{Qe,Je}from"./chunk-4wpvkw6b.js";var ct=Je(function(et,nt){(function(n,s){if(typeof et==="object"&&typeof nt==="object")nt.exports=s(si());else if(typeof define==="function"&&define.amd)define(["cose-base"],s);else if(typeof et==="object")et.cytoscapeFcose=s(si());else n.cytoscapeFcose=s(n.coseBase)})(et,function(e){return(()=>{var n={658:(T)=>{T.exports=Object.assign!=null?Object.assign.bind(Object):function(G){for(var p=arguments.length,x=Array(p>1?p-1:0),l=1;l<p;l++)x[l-1]=arguments[l];return x.forEach(function(y){Object.keys(y).forEach(function(c){return G[c]=y[c]})}),G}},548:(T,G,p)=>{var x=function(){function c(f,u){var h=[],r=!0,z=!1,b=void 0;try{for(var o=f[Symbol.iterator](),v;!(r=(v=o.next()).done);r=!0)if(h.push(v.value),u&&h.length===u)break}catch(L){z=!0,b=L}finally{try{if(!r&&o.return)o.return()}finally{if(z)throw b}}return h}return function(f,u){if(Array.isArray(f))return f;else if(Symbol.iterator in Object(f))return c(f,u);else throw TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=p(140).layoutBase.LinkedList,y={};y.getTopMostNodes=function(c){var f={};for(var u=0;u<c.length;u++)f[c[u].id()]=!0;var h=c.filter(function(r,z){if(typeof r==="number")r=z;var b=r.parent()[0];while(b!=null){if(f[b.id()])return!1;b=b.parent()[0]}return!0});return h},y.connectComponents=function(c,f,u,h){var r=new l,z=new Set,b=[],o=void 0,v=void 0,L=void 0,a=!1,S=1,Y=[],C=[],U=function(){var w=c.collection();C.push(w);var _=u[0],X=c.collection();X.merge(_).merge(_.descendants().intersection(f)),b.push(_),X.forEach(function(ee){r.push(ee),z.add(ee),w.merge(ee)});var j=function(){_=r.shift();var ue=c.collection();_.neighborhood().nodes().forEach(function(H){if(f.intersection(_.edgesWith(H)).length>0)ue.merge(H)});for(var Ae=0;Ae<ue.length;Ae++){var Re=ue[Ae];if(o=u.intersection(Re.union(Re.ancestors())),o!=null&&!z.has(o[0])){var ce=o.union(o.descendants());ce.forEach(function(H){if(r.push(H),z.add(H),w.merge(H),u.has(H))b.push(H)})}}};while(r.length!=0)j();if(w.forEach(function(ee){f.intersection(ee.connectedEdges()).forEach(function(ue){if(w.has(ue.source())&&w.has(ue.target()))w.merge(ue)})}),b.length==u.length)a=!0;if(!a||a&&S>1){v=b[0],L=v.connectedEdges().length,b.forEach(function(ee){if(ee.connectedEdges().length<L)L=ee.connectedEdges().length,v=ee}),Y.push(v.id());var oe=c.collection();oe.merge(b[0]),b.forEach(function(ee){oe.merge(ee)}),b=[],u=u.difference(oe),S++}};do U();while(!a);if(h){if(Y.length>0)h.set("dummy"+(h.size+1),Y)}return C},y.relocateComponent=function(c,f,u){if(!u.fixedNodeConstraint){var{POSITIVE_INFINITY:h,NEGATIVE_INFINITY:r,POSITIVE_INFINITY:z,NEGATIVE_INFINITY:b}=Number;if(u.quality=="draft"){var o=!0,v=!1,L=void 0;try{for(var a=f.nodeIndexes[Symbol.iterator](),S;!(o=(S=a.next()).done);o=!0){var Y=S.value,C=x(Y,2),U=C[0],B=C[1],w=u.cy.getElementById(U);if(w){var _=w.boundingBox(),X=f.xCoords[B]-_.w/2,j=f.xCoords[B]+_.w/2,oe=f.yCoords[B]-_.h/2,ee=f.yCoords[B]+_.h/2;if(X<h)h=X;if(j>r)r=j;if(oe<z)z=oe;if(ee>b)b=ee}}}catch(H){v=!0,L=H}finally{try{if(!o&&a.return)a.return()}finally{if(v)throw L}}var ue=c.x-(r+h)/2,Ae=c.y-(b+z)/2;f.xCoords=f.xCoords.map(function(H){return H+ue}),f.yCoords=f.yCoords.map(function(H){return H+Ae})}else{Object.keys(f).forEach(function(H){var ne=f[H],Ie=ne.getRect().x,be=ne.getRect().x+ne.getRect().width,Ne=ne.getRect().y,xe=ne.getRect().y+ne.getRect().height;if(Ie<h)h=Ie;if(be>r)r=be;if(Ne<z)z=Ne;if(xe>b)b=xe});var Re=c.x-(r+h)/2,ce=c.y-(b+z)/2;Object.keys(f).forEach(function(H){var ne=f[H];ne.setCenter(ne.getCenterX()+Re,ne.getCenterY()+ce)})}}},y.calcBoundingBox=function(c,f,u,h){var{MAX_SAFE_INTEGER:r,MIN_SAFE_INTEGER:z,MAX_SAFE_INTEGER:b,MIN_SAFE_INTEGER:o}=Number,v=void 0,L=void 0,a=void 0,S=void 0,Y=c.descendants().not(":parent"),C=Y.length;for(var U=0;U<C;U++){var B=Y[U];if(v=f[h.get(B.id())]-B.width()/2,L=f[h.get(B.id())]+B.width()/2,a=u[h.get(B.id())]-B.height()/2,S=u[h.get(B.id())]+B.height()/2,r>v)r=v;if(z<L)z=L;if(b>a)b=a;if(o<S)o=S}var w={};return w.topLeftX=r,w.topLeftY=b,w.width=z-r,w.height=o-b,w},y.calcParentsWithoutChildren=function(c,f){var u=c.collection();return f.nodes(":parent").forEach(function(h){var r=!1;if(h.children().forEach(function(z){if(z.css("display")!="none")r=!0}),!r)u.merge(h)}),u},T.exports=y},816:(T,G,p)=>{var x=p(548),l=p(140).CoSELayout,y=p(140).CoSENode,c=p(140).layoutBase.PointD,f=p(140).layoutBase.DimensionD,u=p(140).layoutBase.LayoutConstants,h=p(140).layoutBase.FDLayoutConstants,r=p(140).CoSEConstants,z=function(o,v){var{cy:L,eles:a}=o,S=a.nodes(),Y=a.edges(),C=void 0,U=void 0,B=void 0,w={};if(o.randomize)C=v.nodeIndexes,U=v.xCoords,B=v.yCoords;var _=function(H){return typeof H==="function"},X=function(H,ne){if(_(H))return H(ne);else return H},j=x.calcParentsWithoutChildren(L,a),oe=function ce(H,ne,Ie,be){var Ne=ne.length;for(var xe=0;xe<Ne;xe++){var V=ne[xe],Te=null;if(V.intersection(j).length==0)Te=V.children();var te=void 0,ve=V.layoutDimensions({nodeDimensionsIncludeLabels:be.nodeDimensionsIncludeLabels});if(V.outerWidth()!=null&&V.outerHeight()!=null)if(be.randomize)if(!V.isParent())te=H.add(new y(Ie.graphManager,new c(U[C.get(V.id())]-ve.w/2,B[C.get(V.id())]-ve.h/2),new f(parseFloat(ve.w),parseFloat(ve.h))));else{var ke=x.calcBoundingBox(V,U,B,C);if(V.intersection(j).length==0)te=H.add(new y(Ie.graphManager,new c(ke.topLeftX,ke.topLeftY),new f(ke.width,ke.height)));else te=H.add(new y(Ie.graphManager,new c(ke.topLeftX,ke.topLeftY),new f(parseFloat(ve.w),parseFloat(ve.h))))}else te=H.add(new y(Ie.graphManager,new c(V.position("x")-ve.w/2,V.position("y")-ve.h/2),new f(parseFloat(ve.w),parseFloat(ve.h))));else te=H.add(new y(this.graphManager));if(te.id=V.data("id"),te.nodeRepulsion=X(be.nodeRepulsion,V),te.paddingLeft=parseInt(V.css("padding")),te.paddingTop=parseInt(V.css("padding")),te.paddingRight=parseInt(V.css("padding")),te.paddingBottom=parseInt(V.css("padding")),be.nodeDimensionsIncludeLabels)te.labelWidth=V.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).w,te.labelHeight=V.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).h,te.labelPosVertical=V.css("text-valign"),te.labelPosHorizontal=V.css("text-halign");if(w[V.data("id")]=te,isNaN(te.rect.x))te.rect.x=0;if(isNaN(te.rect.y))te.rect.y=0;if(Te!=null&&Te.length>0){var $e=void 0;$e=Ie.getGraphManager().add(Ie.newGraph(),te),ce($e,Te,Ie,be)}}},ee=function(H,ne,Ie){var be=0,Ne=0;for(var xe=0;xe<Ie.length;xe++){var V=Ie[xe],Te=w[V.data("source")],te=w[V.data("target")];if(Te&&te&&Te!==te&&Te.getEdgesBetween(te).length==0){var ve=ne.add(H.newEdge(),Te,te);ve.id=V.id(),ve.idealLength=X(o.idealEdgeLength,V),ve.edgeElasticity=X(o.edgeElasticity,V),be+=ve.idealLength,Ne++}}if(o.idealEdgeLength!=null){if(Ne>0)r.DEFAULT_EDGE_LENGTH=h.DEFAULT_EDGE_LENGTH=be/Ne;else if(!_(o.idealEdgeLength))r.DEFAULT_EDGE_LENGTH=h.DEFAULT_EDGE_LENGTH=o.idealEdgeLength;else r.DEFAULT_EDGE_LENGTH=h.DEFAULT_EDGE_LENGTH=50;r.MIN_REPULSION_DIST=h.MIN_REPULSION_DIST=h.DEFAULT_EDGE_LENGTH/10,r.DEFAULT_RADIAL_SEPARATION=h.DEFAULT_EDGE_LENGTH}},ue=function(H,ne){if(ne.fixedNodeConstraint)H.constraints.fixedNodeConstraint=ne.fixedNodeConstraint;if(ne.alignmentConstraint)H.constraints.alignmentConstraint=ne.alignmentConstraint;if(ne.relativePlacementConstraint)H.constraints.relativePlacementConstraint=ne.relativePlacementConstraint};if(o.nestingFactor!=null)r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=h.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=o.nestingFactor;if(o.gravity!=null)r.DEFAULT_GRAVITY_STRENGTH=h.DEFAULT_GRAVITY_STRENGTH=o.gravity;if(o.numIter!=null)r.MAX_ITERATIONS=h.MAX_ITERATIONS=o.numIter;if(o.gravityRange!=null)r.DEFAULT_GRAVITY_RANGE_FACTOR=h.DEFAULT_GRAVITY_RANGE_FACTOR=o.gravityRange;if(o.gravityCompound!=null)r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=h.DEFAULT_COMPOUND_GRAVITY_STRENGTH=o.gravityCompound;if(o.gravityRangeCompound!=null)r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=h.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=o.gravityRangeCompound;if(o.initialEnergyOnIncremental!=null)r.DEFAULT_COOLING_FACTOR_INCREMENTAL=h.DEFAULT_COOLING_FACTOR_INCREMENTAL=o.initialEnergyOnIncremental;if(o.tilingCompareBy!=null)r.TILING_COMPARE_BY=o.tilingCompareBy;if(o.quality=="proof")u.QUALITY=2;else u.QUALITY=0;if(r.NODE_DIMENSIONS_INCLUDE_LABELS=h.NODE_DIMENSIONS_INCLUDE_LABELS=u.NODE_DIMENSIONS_INCLUDE_LABELS=o.nodeDimensionsIncludeLabels,r.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=u.DEFAULT_INCREMENTAL=!o.randomize,r.ANIMATE=h.ANIMATE=u.ANIMATE=o.animate,r.TILE=o.tile,r.TILING_PADDING_VERTICAL=typeof o.tilingPaddingVertical==="function"?o.tilingPaddingVertical.call():o.tilingPaddingVertical,r.TILING_PADDING_HORIZONTAL=typeof o.tilingPaddingHorizontal==="function"?o.tilingPaddingHorizontal.call():o.tilingPaddingHorizontal,r.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=u.DEFAULT_INCREMENTAL=!0,r.PURE_INCREMENTAL=!o.randomize,u.DEFAULT_UNIFORM_LEAF_NODE_SIZES=o.uniformNodeDimensions,o.step=="transformed")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,r.ENFORCE_CONSTRAINTS=!1,r.APPLY_LAYOUT=!1;if(o.step=="enforced")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,r.ENFORCE_CONSTRAINTS=!0,r.APPLY_LAYOUT=!1;if(o.step=="cose")r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,r.ENFORCE_CONSTRAINTS=!1,r.APPLY_LAYOUT=!0;if(o.step=="all"){if(o.randomize)r.TRANSFORM_ON_CONSTRAINT_HANDLING=!0;else r.TRANSFORM_ON_CONSTRAINT_HANDLING=!1;r.ENFORCE_CONSTRAINTS=!0,r.APPLY_LAYOUT=!0}if(o.fixedNodeConstraint||o.alignmentConstraint||o.relativePlacementConstraint)r.TREE_REDUCTION_ON_INCREMENTAL=!1;else r.TREE_REDUCTION_ON_INCREMENTAL=!0;var Ae=new l,Re=Ae.newGraphManager();return oe(Re.addRoot(),x.getTopMostNodes(S),Ae,o),ee(Ae,Re,Y),ue(Ae,o),Ae.runLayout(),w};T.exports={coseLayout:z}},212:(T,G,p)=>{var x=function(){function o(v,L){for(var a=0;a<L.length;a++){var S=L[a];if(S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S)S.writable=!0;Object.defineProperty(v,S.key,S)}}return function(v,L,a){if(L)o(v.prototype,L);if(a)o(v,a);return v}}();function l(o,v){if(!(o instanceof v))throw TypeError("Cannot call a class as a function")}var y=p(658),c=p(548),f=p(657),u=f.spectralLayout,h=p(816),r=h.coseLayout,z=Object.freeze({quality:"default",randomize:!0,animate:!0,animationDuration:1000,animationEasing:void 0,fit:!0,padding:30,nodeDimensionsIncludeLabels:!1,uniformNodeDimensions:!1,packComponents:!0,step:"all",samplingType:!0,sampleSize:25,nodeSeparation:75,piTol:0.0000001,nodeRepulsion:function(v){return 4500},idealEdgeLength:function(v){return 50},edgeElasticity:function(v){return 0.45},nestingFactor:0.1,gravity:0.25,numIter:2500,tile:!0,tilingCompareBy:void 0,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:0.3,fixedNodeConstraint:void 0,alignmentConstraint:void 0,relativePlacementConstraint:void 0,ready:function(){},stop:function(){}}),b=function(){function o(v){l(this,o),this.options=y({},z,v)}return x(o,[{key:"run",value:function(){var L=this,a=this.options,{cy:S,eles:Y}=a,C=[],U=void 0,B=void 0,w=[],_=void 0,X=[];if(a.fixedNodeConstraint&&(!Array.isArray(a.fixedNodeConstraint)||a.fixedNodeConstraint.length==0))a.fixedNodeConstraint=void 0;if(a.alignmentConstraint){if(a.alignmentConstraint.vertical&&(!Array.isArray(a.alignmentConstraint.vertical)||a.alignmentConstraint.vertical.length==0))a.alignmentConstraint.vertical=void 0;if(a.alignmentConstraint.horizontal&&(!Array.isArray(a.alignmentConstraint.horizontal)||a.alignmentConstraint.horizontal.length==0))a.alignmentConstraint.horizontal=void 0}if(a.relativePlacementConstraint&&(!Array.isArray(a.relativePlacementConstraint)||a.relativePlacementConstraint.length==0))a.relativePlacementConstraint=void 0;var j=a.fixedNodeConstraint||a.alignmentConstraint||a.relativePlacementConstraint;if(j)a.tile=!1,a.packComponents=!1;var oe=void 0,ee=!1;if(S.layoutUtilities&&a.packComponents){if(oe=S.layoutUtilities("get"),!oe)oe=S.layoutUtilities();ee=!0}if(Y.nodes().length>0)if(!ee){var ue=a.eles.boundingBox();if(X.push({x:ue.x1+ue.w/2,y:ue.y1+ue.h/2}),a.randomize){var Ae=u(a);C.push(Ae)}if(a.quality=="default"||a.quality=="proof")w.push(r(a,C[0])),c.relocateComponent(X[0],w[0],a);else c.relocateComponent(X[0],C[0],a)}else{var Re=c.getTopMostNodes(a.eles.nodes());if(_=c.connectComponents(S,a.eles,Re),_.forEach(function(W){var k=W.boundingBox();X.push({x:k.x1+k.w/2,y:k.y1+k.h/2})}),a.randomize)_.forEach(function(W){a.eles=W,C.push(u(a))});if(a.quality=="default"||a.quality=="proof"){var ce=S.collection();if(a.tile){var H=new Map,ne=[],Ie=[],be=0,Ne={nodeIndexes:H,xCoords:ne,yCoords:Ie},xe=[];if(_.forEach(function(W,k){if(W.edges().length==0)W.nodes().forEach(function(pe,se){if(ce.merge(W.nodes()[se]),!pe.isParent())Ne.nodeIndexes.set(W.nodes()[se].id(),be++),Ne.xCoords.push(W.nodes()[0].position().x),Ne.yCoords.push(W.nodes()[0].position().y)}),xe.push(k)}),ce.length>1){var V=ce.boundingBox();X.push({x:V.x1+V.w/2,y:V.y1+V.h/2}),_.push(ce),C.push(Ne);for(var Te=xe.length-1;Te>=0;Te--)_.splice(xe[Te],1),C.splice(xe[Te],1),X.splice(xe[Te],1)}}_.forEach(function(W,k){a.eles=W,w.push(r(a,C[k])),c.relocateComponent(X[k],w[k],a)})}else _.forEach(function(W,k){c.relocateComponent(X[k],C[k],a)});var te=new Set;if(_.length>1){var ve=[],ke=Y.filter(function(W){return W.css("display")=="none"});_.forEach(function(W,k){var pe=void 0;if(a.quality=="draft")pe=C[k].nodeIndexes;if(W.nodes().not(ke).length>0){var se={};se.edges=[],se.nodes=[];var me=void 0;if(W.nodes().not(ke).forEach(function(de){if(a.quality=="draft")if(!de.isParent())me=pe.get(de.id()),se.nodes.push({x:C[k].xCoords[me]-de.boundingbox().w/2,y:C[k].yCoords[me]-de.boundingbox().h/2,width:de.boundingbox().w,height:de.boundingbox().h});else{var he=c.calcBoundingBox(de,C[k].xCoords,C[k].yCoords,pe);se.nodes.push({x:he.topLeftX,y:he.topLeftY,width:he.width,height:he.height})}else if(w[k][de.id()])se.nodes.push({x:w[k][de.id()].getLeft(),y:w[k][de.id()].getTop(),width:w[k][de.id()].getWidth(),height:w[k][de.id()].getHeight()})}),W.edges().forEach(function(de){var he=de.source(),Ee=de.target();if(he.css("display")!="none"&&Ee.css("display")!="none"){if(a.quality=="draft"){var Pe=pe.get(he.id()),Ze=pe.get(Ee.id()),Me=[],Ge=[];if(he.isParent()){var Ve=c.calcBoundingBox(he,C[k].xCoords,C[k].yCoords,pe);Me.push(Ve.topLeftX+Ve.width/2),Me.push(Ve.topLeftY+Ve.height/2)}else Me.push(C[k].xCoords[Pe]),Me.push(C[k].yCoords[Pe]);if(Ee.isParent()){var Xe=c.calcBoundingBox(Ee,C[k].xCoords,C[k].yCoords,pe);Ge.push(Xe.topLeftX+Xe.width/2),Ge.push(Xe.topLeftY+Xe.height/2)}else Ge.push(C[k].xCoords[Ze]),Ge.push(C[k].yCoords[Ze]);se.edges.push({startX:Me[0],startY:Me[1],endX:Ge[0],endY:Ge[1]})}else if(w[k][he.id()]&&w[k][Ee.id()])se.edges.push({startX:w[k][he.id()].getCenterX(),startY:w[k][he.id()].getCenterY(),endX:w[k][Ee.id()].getCenterX(),endY:w[k][Ee.id()].getCenterY()})}}),se.nodes.length>0)ve.push(se),te.add(k)}});var $e=oe.packComponents(ve,a.randomize).shifts;if(a.quality=="draft")C.forEach(function(W,k){var pe=W.xCoords.map(function(me){return me+$e[k].dx}),se=W.yCoords.map(function(me){return me+$e[k].dy});W.xCoords=pe,W.yCoords=se});else{var We=0;te.forEach(function(W){Object.keys(w[W]).forEach(function(k){var pe=w[W][k];pe.setCenter(pe.getCenterX()+$e[We].dx,pe.getCenterY()+$e[We].dy)}),We++})}}}var Ue=function(k,pe){if(a.quality=="default"||a.quality=="proof"){if(typeof k==="number")k=pe;var se=void 0,me=void 0,de=k.data("id");if(w.forEach(function(Ee){if(de in Ee)se={x:Ee[de].getRect().getCenterX(),y:Ee[de].getRect().getCenterY()},me=Ee[de]}),a.nodeDimensionsIncludeLabels){if(me.labelWidth){if(me.labelPosHorizontal=="left")se.x+=me.labelWidth/2;else if(me.labelPosHorizontal=="right")se.x-=me.labelWidth/2}if(me.labelHeight){if(me.labelPosVertical=="top")se.y+=me.labelHeight/2;else if(me.labelPosVertical=="bottom")se.y-=me.labelHeight/2}}if(se==null)se={x:k.position("x"),y:k.position("y")};return{x:se.x,y:se.y}}else{var he=void 0;if(C.forEach(function(Ee){var Pe=Ee.nodeIndexes.get(k.id());if(Pe!=null)he={x:Ee.xCoords[Pe],y:Ee.yCoords[Pe]}}),he==null)he={x:k.position("x"),y:k.position("y")};return{x:he.x,y:he.y}}};if(a.quality=="default"||a.quality=="proof"||a.randomize){var rt=c.calcParentsWithoutChildren(S,Y),He=Y.filter(function(W){return W.css("display")=="none"});if(a.eles=Y.not(He),Y.nodes().not(":parent").not(He).layoutPositions(L,a,Ue),rt.length>0)rt.forEach(function(W){W.position(Ue(W))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),o}();T.exports=b},657:(T,G,p)=>{var x=p(548),l=p(140).layoutBase.Matrix,y=p(140).layoutBase.SVD,c=function(u){var{cy:h,eles:r}=u,z=r.nodes(),b=r.nodes(":parent"),o=new Map,v=new Map,L=new Map,a=[],S=[],Y=[],C=[],U=[],B=[],w=[],_=[],X=void 0,j=void 0,oe=1e8,ee=0.000000001,{piTol:ue,samplingType:Ae,nodeSeparation:Re}=u,ce=void 0,H=function(){var Q=0,K=0,re=!1;while(K<ce){Q=Math.floor(Math.random()*j),re=!1;for(var ie=0;ie<K;ie++)if(C[ie]==Q){re=!0;break}if(!re)C[K]=Q,K++;else continue}},ne=function(Q,K,re){var ie=[],we=0,ge=0,le=0,Le=void 0,Ce=[],De=0,Oe=1;for(var ze=0;ze<j;ze++)Ce[ze]=oe;ie[ge]=Q,Ce[Q]=0;while(ge>=we){le=ie[we++];var Ye=a[le];for(var Be=0;Be<Ye.length;Be++)if(Le=v.get(Ye[Be]),Ce[Le]==oe)Ce[Le]=Ce[le]+1,ie[++ge]=Le;B[le][K]=Ce[le]*Re}if(re){for(var Fe=0;Fe<j;Fe++)if(B[Fe][K]<U[Fe])U[Fe]=B[Fe][K];for(var Ke=0;Ke<j;Ke++)if(U[Ke]>De)De=U[Ke],Oe=Ke}return Oe},Ie=function(Q){var K=void 0;if(!Q){H();for(var re=0;re<ce;re++)ne(C[re],re,Q,!1)}else{K=Math.floor(Math.random()*j),X=K;for(var ie=0;ie<j;ie++)U[ie]=oe;for(var we=0;we<ce;we++)C[we]=K,K=ne(K,we,Q)}for(var ge=0;ge<j;ge++)for(var le=0;le<ce;le++)B[ge][le]*=B[ge][le];for(var Le=0;Le<ce;Le++)w[Le]=[];for(var Ce=0;Ce<ce;Ce++)for(var De=0;De<ce;De++)w[Ce][De]=B[C[De]][Ce]},be=function(){var Q=y.svd(w),{S:K,U:re,V:ie}=Q,we=K[0]*K[0]*K[0],ge=[];for(var le=0;le<ce;le++){ge[le]=[];for(var Le=0;Le<ce;Le++)if(ge[le][Le]=0,le==Le)ge[le][Le]=K[le]/(K[le]*K[le]+we/(K[le]*K[le]))}_=l.multMat(l.multMat(ie,ge),l.transpose(re))},Ne=function(){var Q=void 0,K=void 0,re=[],ie=[],we=[],ge=[];for(var le=0;le<j;le++)re[le]=Math.random(),ie[le]=Math.random();re=l.normalize(re),ie=l.normalize(ie);var Le=0,Ce=ee,De=ee,Oe=void 0;while(!0){Le++;for(var ze=0;ze<j;ze++)we[ze]=re[ze];if(re=l.multGamma(l.multL(l.multGamma(we),B,_)),Q=l.dotProduct(we,re),re=l.normalize(re),Ce=l.dotProduct(we,re),Oe=Math.abs(Ce/De),Oe<=1+ue&&Oe>=1)break;De=Ce}for(var Ye=0;Ye<j;Ye++)we[Ye]=re[Ye];Le=0,De=ee;while(!0){Le++;for(var Be=0;Be<j;Be++)ge[Be]=ie[Be];if(ge=l.minusOp(ge,l.multCons(we,l.dotProduct(we,ge))),ie=l.multGamma(l.multL(l.multGamma(ge),B,_)),K=l.dotProduct(ge,ie),ie=l.normalize(ie),Ce=l.dotProduct(ge,ie),Oe=Math.abs(Ce/De),Oe<=1+ue&&Oe>=1)break;De=Ce}for(var Fe=0;Fe<j;Fe++)ge[Fe]=ie[Fe];S=l.multCons(we,Math.sqrt(Math.abs(Q))),Y=l.multCons(ge,Math.sqrt(Math.abs(K)))};x.connectComponents(h,r,x.getTopMostNodes(z),o),b.forEach(function(ye){x.connectComponents(h,r,x.getTopMostNodes(ye.descendants().intersection(r)),o)});var xe=0;for(var V=0;V<z.length;V++)if(!z[V].isParent())v.set(z[V].id(),xe++);var Te=!0,te=!1,ve=void 0;try{for(var ke=o.keys()[Symbol.iterator](),$e;!(Te=($e=ke.next()).done);Te=!0){var We=$e.value;v.set(We,xe++)}}catch(ye){te=!0,ve=ye}finally{try{if(!Te&&ke.return)ke.return()}finally{if(te)throw ve}}for(var Ue=0;Ue<v.size;Ue++)a[Ue]=[];b.forEach(function(ye){var Q=ye.children().intersection(r);while(Q.nodes(":childless").length==0)Q=Q.nodes()[0].children().intersection(r);var K=0,re=Q.nodes(":childless")[0].connectedEdges().length;Q.nodes(":childless").forEach(function(ie,we){if(ie.connectedEdges().length<re)re=ie.connectedEdges().length,K=we}),L.set(ye.id(),Q.nodes(":childless")[K].id())}),z.forEach(function(ye){var Q=void 0;if(ye.isParent())Q=v.get(L.get(ye.id()));else Q=v.get(ye.id());ye.neighborhood().nodes().forEach(function(K){if(r.intersection(ye.edgesWith(K)).length>0)if(K.isParent())a[Q].push(L.get(K.id()));else a[Q].push(K.id())})});var rt=function(Q){var K=v.get(Q),re=void 0;o.get(Q).forEach(function(ie){if(h.getElementById(ie).isParent())re=L.get(ie);else re=ie;a[K].push(re),a[v.get(re)].push(Q)})},He=!0,W=!1,k=void 0;try{for(var pe=o.keys()[Symbol.iterator](),se;!(He=(se=pe.next()).done);He=!0){var me=se.value;rt(me)}}catch(ye){W=!0,k=ye}finally{try{if(!He&&pe.return)pe.return()}finally{if(W)throw k}}j=v.size;var de=void 0;if(j>2){ce=j<u.sampleSize?j:u.sampleSize;for(var he=0;he<j;he++)B[he]=[];for(var Ee=0;Ee<ce;Ee++)_[Ee]=[];if(u.quality=="draft"||u.step=="all")Ie(Ae),be(),Ne(),de={nodeIndexes:v,xCoords:S,yCoords:Y};else v.forEach(function(ye,Q){S.push(h.getElementById(Q).position("x")),Y.push(h.getElementById(Q).position("y"))}),de={nodeIndexes:v,xCoords:S,yCoords:Y};return de}else{var Pe=v.keys(),Ze=h.getElementById(Pe.next().value),Me=Ze.position(),Ge=Ze.outerWidth();if(S.push(Me.x),Y.push(Me.y),j==2){var Ve=h.getElementById(Pe.next().value),Xe=Ve.outerWidth();S.push(Me.x+Ge/2+Xe/2+u.idealEdgeLength),Y.push(Me.y)}return de={nodeIndexes:v,xCoords:S,yCoords:Y},de}};T.exports={spectralLayout:c}},579:(T,G,p)=>{var x=p(212),l=function(c){if(!c)return;c("layout","fcose",x)};if(typeof cytoscape<"u")l(cytoscape);T.exports=l},140:(T)=>{T.exports=e}},s={};function E(T){var G=s[T];if(G!==void 0)return G.exports;var p=s[T]={exports:{}};return n[T](p,p.exports,E),p.exports}var m=E(579);return m})()})});var mt=Qe(ct(),1);var dt={L:"left",R:"right",T:"top",B:"bottom"},ft={L:t((e)=>`${e},${e/2} 0,${e} 0,0`,"L"),R:t((e)=>`0,${e/2} ${e},0 ${e},${e}`,"R"),T:t((e)=>`0,0 ${e},0 ${e/2},${e}`,"T"),B:t((e)=>`${e/2},0 ${e},${e} 0,${e}`,"B")},it={L:t((e,n)=>e-n+2,"L"),R:t((e,n)=>e-2,"R"),T:t((e,n)=>e-n+2,"T"),B:t((e,n)=>e-2,"B")},It=t(function(e){if(Se(e))return e==="L"?"R":"L";else return e==="T"?"B":"T"},"getOppositeArchitectureDirection"),ut=t(function(e){let n=e;return n==="L"||n==="R"||n==="T"||n==="B"},"isArchitectureDirection"),Se=t(function(e){let n=e;return n==="L"||n==="R"},"isArchitectureDirectionX"),_e=t(function(e){let n=e;return n==="T"||n==="B"},"isArchitectureDirectionY"),st=t(function(e,n){let s=Se(e)&&_e(n),E=_e(e)&&Se(n);return s||E},"isArchitectureDirectionXY"),bt=t(function(e){let n=e[0],s=e[1],E=Se(n)&&_e(s),m=_e(n)&&Se(s);return E||m},"isArchitecturePairXY"),Nt=t(function(e){return e!=="LL"&&e!=="RR"&&e!=="TT"&&e!=="BB"},"isValidArchitectureDirectionPair"),at=t(function(e,n){let s=`${e}${n}`;return Nt(s)?s:void 0},"getArchitectureDirectionPair"),kt=t(function([e,n],s){let E=s[0],m=s[1];if(Se(E))if(_e(m))return[e+(E==="L"?-1:1),n+(m==="T"?1:-1)];else return[e+(E==="L"?-1:1),n];else if(Se(m))return[e+(m==="L"?1:-1),n+(E==="T"?1:-1)];else return[e,n+(E==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Dt=t(function(e){if(e==="LT"||e==="TL")return[1,1];else if(e==="BL"||e==="LB")return[1,-1];else if(e==="BR"||e==="RB")return[-1,-1];else return[-1,1]},"getArchitectureDirectionXYFactors"),Rt=t(function(e,n){if(st(e,n))return"bend";else if(Se(e))return"horizontal";return"vertical"},"getArchitectureDirectionAlignment"),Mt=t(function(e){return e.type==="service"},"isArchitectureService"),Ft=t(function(e){return e.type==="junction"},"isArchitectureJunction"),gt=t((e,n)=>{let[s,E]=[e,n].sort();return`${JSON.stringify(s)}-${JSON.stringify(E)}`},"architectureGroupAlignmentKey"),ht=t((e)=>e.data(),"edgeData"),qe=t((e)=>e.data(),"nodeData"),$t=F.architecture,vt=class{constructor(){this.nodes=new Map,this.groups=new Map,this.edges=[],this.layoutHints=[],this.registeredIds=new Map,this.elements=new Map,this.diagramId="",this.setAccTitle=M,this.getAccTitle=P,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getAccDescription=I,this.setAccDescription=R,this.clear()}static{t(this,"ArchitectureDB")}setDiagramId(e){this.diagramId=e}getDiagramId(){return this.diagramId}clear(){this.nodes=new Map,this.groups=new Map,this.edges=[],this.layoutHints=[],this.registeredIds=new Map,this.dataStructures=void 0,this.elements=new Map,this.diagramId="",N()}addService({id:e,icon:n,in:s,title:E,iconText:m}){if(this.registeredIds.has(e))throw Error(`The service id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(s!==void 0){if(e===s)throw Error(`The service [${e}] cannot be placed within itself`);if(!this.registeredIds.has(s))throw Error(`The service [${e}]'s parent does not exist. Please make sure the parent is created before this service`);if(this.registeredIds.get(s)==="node")throw Error(`The service [${e}]'s parent is not a group`)}this.registeredIds.set(e,"node"),this.nodes.set(e,{id:e,type:"service",icon:n,iconText:m,title:E,edges:[],in:s})}getServices(){return[...this.nodes.values()].filter(Mt)}addJunction({id:e,in:n}){if(this.registeredIds.has(e))throw Error(`The junction id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(n!==void 0){if(e===n)throw Error(`The junction [${e}] cannot be placed within itself`);if(!this.registeredIds.has(n))throw Error(`The junction [${e}]'s parent does not exist. Please make sure the parent is created before this junction`);if(this.registeredIds.get(n)==="node")throw Error(`The junction [${e}]'s parent is not a group`)}this.registeredIds.set(e,"node"),this.nodes.set(e,{id:e,type:"junction",edges:[],in:n})}getJunctions(){return[...this.nodes.values()].filter(Ft)}getNodes(){return[...this.nodes.values()]}getNode(e){return this.nodes.get(e)??null}addGroup({id:e,icon:n,in:s,title:E}){if(this.registeredIds.has(e))throw Error(`The group id [${e}] is already in use by another ${this.registeredIds.get(e)}`);if(s!==void 0){if(e===s)throw Error(`The group [${e}] cannot be placed within itself`);if(!this.registeredIds.has(s))throw Error(`The group [${e}]'s parent does not exist. Please make sure the parent is created before this group`);if(this.registeredIds.get(s)==="node")throw Error(`The group [${e}]'s parent is not a group`)}this.registeredIds.set(e,"group"),this.groups.set(e,{id:e,icon:n,title:E,in:s})}getGroups(){return[...this.groups.values()]}addEdge({lhsId:e,rhsId:n,lhsDir:s,rhsDir:E,lhsInto:m,rhsInto:T,lhsGroup:G,rhsGroup:p,title:x}){if(!ut(s))throw Error(`Invalid direction given for left hand side of edge ${e}--${n}. Expected (L,R,T,B) got ${String(s)}`);if(!ut(E))throw Error(`Invalid direction given for right hand side of edge ${e}--${n}. Expected (L,R,T,B) got ${String(E)}`);if(!this.nodes.has(e)&&!this.groups.has(e))throw Error(`The left-hand id [${e}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(!this.nodes.has(n)&&!this.groups.has(n))throw Error(`The right-hand id [${n}] does not yet exist. Please create the service/group before declaring an edge to it.`);let l=this.nodes.get(e).in,y=this.nodes.get(n).in;if(G&&l&&y&&l==y)throw Error(`The left-hand id [${e}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(p&&l&&y&&l==y)throw Error(`The right-hand id [${n}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);let c={lhsId:e,lhsDir:s,lhsInto:m,lhsGroup:G,rhsId:n,rhsDir:E,rhsInto:T,rhsGroup:p,title:x};this.edges.push(c);let f=this.nodes.get(e),u=this.nodes.get(n);if(f&&u)f.edges.push(this.edges[this.edges.length-1]),u.edges.push(this.edges[this.edges.length-1])}getEdges(){return this.edges}addLayoutHint(e){if(e.members.length<2)throw Error(`An align directive requires at least two members; got ${e.members.length}`);let n=new Set;e.members.forEach((s)=>{if(this.registeredIds.get(s)!=="node")throw Error(`align ${e.direction} references [${s}], which is not a service or junction`);if(n.has(s))throw Error(`align ${e.direction} lists [${s}] more than once`);n.add(s)}),this.layoutHints.push(e)}getLayoutHints(){return this.layoutHints}getDataStructures(){if(this.dataStructures===void 0){let e=new Map,n=new Map;for(let[G,p]of this.nodes.entries()){let x=new Map;for(let l of p.edges){let y=this.getNode(l.lhsId)?.in,c=this.getNode(l.rhsId)?.in;if(y&&c&&y!==c){let f=Rt(l.lhsDir,l.rhsDir);if(f!=="bend")e.set(gt(y,c),f)}if(l.lhsId===G){let f=at(l.lhsDir,l.rhsDir);if(f)x.set(f,l.rhsId)}else{let f=at(l.rhsDir,l.lhsDir);if(f)x.set(f,l.lhsId)}}n.set(G,x)}let s=new Set,E=new Set(n.keys()),m=t((G)=>{let p=new Map([[G,[0,0]]]),x=[G];while(x.length>0){let l=x.shift();if(l){s.add(l),E.delete(l);let y=n.get(l);if(!y)throw Error(`BFS error: adjacency list for id ${l} not found. Please report this as a bug.`);let c=p.get(l);if(!c)throw Error(`BFS error: position for id ${l} not found in spatial map. Please report this as a bug.`);let[f,u]=c;y.forEach((h,r)=>{if(!s.has(h))p.set(h,kt([f,u],r)),x.push(h)})}}return p},"BFS"),T=[];while(E.size>0){let G=E.values().next().value;T.push(m(G))}this.dataStructures={adjList:n,spatialMaps:T,groupAlignments:e}}return this.dataStructures}setElementForId(e,n){this.elements.set(e,n)}getElementById(e){return this.elements.get(e)}getConfig(){return Z({...$t,...A().architecture})}getConfigField(e){return this.getConfig()[e]}},Pt=t((e,n)=>{ae(e,n),e.groups.map((s)=>n.addGroup(s)),e.services.map((s)=>n.addService({...s,type:"service"})),e.junctions.map((s)=>n.addJunction({...s,type:"junction"})),e.edges.map((s)=>n.addEdge(s)),e.alignments?.map((s)=>n.addLayoutHint({direction:s.direction,members:[...s.members]}))},"populateDb"),pt={parser:{yy:void 0},parse:t(async(e)=>{let n=await fe("architecture",e);i.debug(n);let s=pt.parser?.yy;if(!(s instanceof vt))throw Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Pt(n,s)},"parse")},Ot=t((e)=>`
|
|
2
|
+
.edge {
|
|
3
|
+
stroke-width: ${e.archEdgeWidth};
|
|
4
|
+
stroke: ${e.archEdgeColor};
|
|
5
|
+
fill: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.arrow {
|
|
9
|
+
fill: ${e.archEdgeArrowColor};
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.node-bkg {
|
|
13
|
+
fill: none;
|
|
14
|
+
stroke: ${e.archGroupBorderColor};
|
|
15
|
+
stroke-width: ${e.archGroupBorderWidth};
|
|
16
|
+
stroke-dasharray: 8;
|
|
17
|
+
}
|
|
18
|
+
.node-icon-text {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.node-icon-text > div {
|
|
24
|
+
color: #fff;
|
|
25
|
+
margin: 1px;
|
|
26
|
+
height: fit-content;
|
|
27
|
+
text-align: center;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
display: -webkit-box;
|
|
30
|
+
-webkit-box-orient: vertical;
|
|
31
|
+
}
|
|
32
|
+
`,"getStyles"),Gt=Ot;function ot(e,n){if(e===0)return n();let s=Math.random,E=e>>>0;Math.random=function(){E=E+1831565813>>>0;let m=E;return m=Math.imul(m^m>>>15,m|1),m^=m+Math.imul(m^m>>>7,m|61),((m^m>>>14)>>>0)/4294967296};try{return n()}finally{Math.random=s}}t(ot,"withSeededRandom");var je=t((e)=>`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${e}</g>`,"wrapIcon"),tt={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:je('<path id="b" data-name="4" d="m20,57.86c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="c" data-name="3" d="m20,45.95c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="d" data-name="2" d="m20,34.05c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse id="e" data-name="1" cx="40" cy="22.14" rx="20" ry="7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="20" y1="57.86" x2="20" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="60" y1="57.86" x2="60" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},server:{body:je('<rect x="17.5" y="17.5" width="45" height="45" rx="2" ry="2" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="32.5" x2="62.5" y2="32.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="47.5" x2="62.5" y2="47.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><g><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g>')},disk:{body:je('<rect x="20" y="15" width="40" height="50" rx="1" ry="1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="14" ry="14.58" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="4" ry="4.17" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m37.51,42.52l-4.83,13.22c-.26.71-1.1,1.02-1.76.64l-4.18-2.42c-.66-.38-.81-1.26-.33-1.84l9.01-10.8c.88-1.05,2.56-.08,2.09,1.2Z" style="fill: #fff; stroke-width: 0px;"/>')},internet:{body:je('<circle cx="40" cy="40" r="22.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="40" y1="17.5" x2="40" y2="62.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="40" x2="62.5" y2="40" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m39.99,17.51c-15.28,11.1-15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m40.01,17.51c15.28,11.1,15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="30.1" x2="60.25" y2="30.1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="49.9" x2="60.25" y2="49.9" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},cloud:{body:je('<path d="m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>')},unknown:Js,blank:{body:je("")}}},zt=t(async function(e,n,s,E){let m=s.getConfigField("padding"),T=s.getConfigField("iconSize"),G=T/2,p=T/6,x=p/2;await Promise.all(n.edges().map(async(l)=>{let{source:y,sourceDir:c,sourceArrow:f,sourceGroup:u,target:h,targetDir:r,targetArrow:z,targetGroup:b,label:o}=ht(l),{x:v,y:L}=l[0].sourceEndpoint(),{x:a,y:S}=l[0].midpoint(),{x:Y,y:C}=l[0].targetEndpoint(),U=m+4;if(u)if(Se(c))v+=c==="L"?-U:U;else L+=c==="T"?-U:U+18;if(b)if(Se(r))Y+=r==="L"?-U:U;else C+=r==="T"?-U:U+18;if(!u&&s.getNode(y)?.type==="junction")if(Se(c))v+=c==="L"?G:-G;else L+=c==="T"?G:-G;if(!b&&s.getNode(h)?.type==="junction")if(Se(r))Y+=r==="L"?G:-G;else C+=r==="T"?G:-G;if(l[0]._private.rscratch){let B=e.insert("g");if(B.insert("path").attr("d",`M ${v},${L} L ${a},${S} L${Y},${C} `).attr("class","edge").attr("id",`${E}-${St(y,h,{prefix:"L"})}`),f){let w=Se(c)?it[c](v,p):v-x,_=_e(c)?it[c](L,p):L-x;B.insert("polygon").attr("points",ft[c](p)).attr("transform",`translate(${w},${_})`).attr("class","arrow")}if(z){let w=Se(r)?it[r](Y,p):Y-x,_=_e(r)?it[r](C,p):C-x;B.insert("polygon").attr("points",ft[r](p)).attr("transform",`translate(${w},${_})`).attr("class","arrow")}if(o){let w=!st(c,r)?Se(c)?"X":"Y":"XY",_=0;if(w==="X")_=Math.abs(v-Y);else if(w==="Y")_=Math.abs(L-C)/1.5;else _=Math.abs(v-Y)/2;let X=B.append("g");if(await lt(X,o,{useHtmlLabels:!1,width:_,classes:"architecture-service-label"},d()),X.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),w==="X")X.attr("transform","translate("+a+", "+S+")");else if(w==="Y")X.attr("transform","translate("+a+", "+S+") rotate(-90)");else if(w==="XY"){let j=at(c,r);if(j&&bt(j)){let oe=X.node().getBoundingClientRect(),[ee,ue]=Dt(j);X.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*ee*ue*45})`);let Ae=X.node().getBoundingClientRect();X.attr("transform",`
|
|
33
|
+
translate(${a}, ${S-oe.height/2})
|
|
34
|
+
translate(${ee*Ae.width/2}, ${ue*Ae.height/2})
|
|
35
|
+
rotate(${-1*ee*ue*45}, 0, ${oe.height/2})
|
|
36
|
+
`)}}}}}))},"drawEdges"),Bt=t(async function(e,n,s,E){let T=s.getConfigField("padding")*0.75,G=s.getConfigField("fontSize"),x=s.getConfigField("iconSize")/2;await Promise.all(n.nodes().map(async(l)=>{let y=qe(l);if(y.type==="group"){let{h:c,w:f,x1:u,y1:h}=l.boundingBox(),r=e.append("rect");r.attr("id",`${E}-group-${y.id}`).attr("x",u+x).attr("y",h+x).attr("width",f).attr("height",c).attr("class","node-bkg");let z=e.append("g"),b=u,o=h;if(y.icon){let v=z.append("g");v.html(`<g>${await Xt(y.icon,{height:T,width:T,fallbackPrefix:tt.prefix})}</g>`),v.attr("transform","translate("+(b+x+1)+", "+(o+x+1)+")"),b+=T,o+=G/2-1-2}if(y.label){let v=z.append("g");await lt(v,y.label,{useHtmlLabels:!1,width:f,classes:"architecture-service-label"},d()),v.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),v.attr("transform","translate("+(b+x+4)+", "+(o+x+2)+")")}s.setElementForId(y.id,r)}}))},"drawGroups"),_t=t(async function(e,n,s,E){let m=d();for(let T of s){let G=n.append("g"),p=e.getConfigField("iconSize");if(T.title){let c=G.append("g");await lt(c,T.title,{useHtmlLabels:!1,width:p*1.5,classes:"architecture-service-label"},m),c.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),c.attr("transform","translate("+p/2+", "+p+")")}let x=G.append("g");if(T.icon)x.html(`<g>${await Xt(T.icon,{height:p,width:p,fallbackPrefix:tt.prefix})}</g>`);else if(T.iconText){x.html(`<g>${await Xt("blank",{height:p,width:p,fallbackPrefix:tt.prefix})}</g>`);let u=x.append("g").append("foreignObject").attr("width",p).attr("height",p).append("div").attr("class","node-icon-text").attr("style",`height: ${p}px;`).append("div").html(q(T.iconText,m)),h=parseInt(window.getComputedStyle(u.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;u.attr("style",`-webkit-line-clamp: ${Math.floor((p-2)/h)};`)}else x.append("path").attr("class","node-bkg").attr("id",`${E}-node-${T.id}`).attr("d",`M0,${p} V5 Q0,0 5,0 H${p-5} Q${p},0 ${p},5 V${p} Z`);G.attr("id",`${E}-service-${T.id}`).attr("class","architecture-service");let{width:l,height:y}=G.node().getBBox();T.width=l,T.height=y,e.setElementForId(T.id,G)}return 0},"drawServices"),Yt=t(function(e,n,s,E){s.forEach((m)=>{let T=n.append("g"),G=e.getConfigField("iconSize");T.append("g").append("rect").attr("id",`${E}-node-${m.id}`).attr("fill-opacity","0").attr("width",G).attr("height",G),T.attr("class","architecture-junction");let{width:x,height:l}=T._groups[0][0].getBBox();T.width=x,T.height=l,e.setElementForId(m.id,T)})},"drawJunctions");Wr([{name:tt.prefix,icons:tt}]);hn.use(mt.default);function yt(e,n,s){e.forEach((E)=>{n.add({group:"nodes",data:{type:"service",id:E.id,icon:E.icon,label:E.title,parent:E.in,width:s.getConfigField("iconSize"),height:s.getConfigField("iconSize")},classes:"node-service"})})}t(yt,"addServices");function Et(e,n,s){e.forEach((E)=>{n.add({group:"nodes",data:{type:"junction",id:E.id,parent:E.in,width:s.getConfigField("iconSize"),height:s.getConfigField("iconSize")},classes:"node-junction"})})}t(Et,"addJunctions");function wt(e,n){n.nodes().map((s)=>{let E=qe(s);if(E.type==="group")return;E.x=s.position().x,E.y=s.position().y,e.getElementById(E.id).attr("transform","translate("+(E.x||0)+","+(E.y||0)+")")})}t(wt,"positionNodes");function xt(e,n){e.forEach((s)=>{n.add({group:"nodes",data:{type:"group",id:s.id,icon:s.icon,label:s.title,parent:s.in},classes:"node-group"})})}t(xt,"addGroups");function Tt(e,n){e.forEach((s)=>{let{lhsId:E,rhsId:m,lhsInto:T,lhsGroup:G,rhsInto:p,lhsDir:x,rhsDir:l,rhsGroup:y,title:c}=s,f=st(s.lhsDir,s.rhsDir)?"segments":"straight",u={id:`${E}-${m}`,label:c,source:E,sourceDir:x,sourceArrow:T,sourceGroup:G,sourceEndpoint:x==="L"?"0 50%":x==="R"?"100% 50%":x==="T"?"50% 0":"50% 100%",target:m,targetDir:l,targetArrow:p,targetGroup:y,targetEndpoint:l==="L"?"0 50%":l==="R"?"100% 50%":l==="T"?"50% 0":"50% 100%"};n.add({group:"edges",data:u,classes:f})})}t(Tt,"addEdges");function At(e,n,s,E=[]){let m=t((f,u)=>{let h=new Map;for(let[r,z]of f.entries()){let b=`${r}`,o=0,v=[...z.entries()];if(v.length===1){h.set(b,v[0][1]);continue}for(let L=0;L<v.length-1;L++)for(let a=L+1;a<v.length;a++){let[S,Y]=v[L],[C,U]=v[a];if(s.get(gt(S,C))===u)h.set(b,[...h.get(b)??[],...Y,...U]);else if(S==="default"||C==="default")h.set(b,[...h.get(b)??[],...Y,...U]);else{let w=`${b}-${o++}`;h.set(w,Y);let _=`${b}-${o++}`;h.set(_,U)}}}return h},"flattenAlignments"),T=n.map((f)=>{let u=new Map,h=new Map;return f.forEach(([r,z],b)=>{let o=e.getNode(b)?.in??"default",v=u.get(z)??new Map;if(!u.has(z))u.set(z,v);let L=h.get(r)??new Map;if(!h.has(r))h.set(r,L);for(let a of[v,L]){let S=a.get(o)??[];if(!a.has(o))a.set(o,S);S.push(b)}}),{horiz:[...m(u,"horizontal").values()].filter((r)=>r.length>1),vert:[...m(h,"vertical").values()].filter((r)=>r.length>1)}}),[G,p]=T.reduce(([f,u],{horiz:h,vert:r})=>[[...f,...h],[...u,...r]],[[],[]]),x=new Set;E.forEach((f)=>f.members.forEach((u)=>x.add(u)));let l=t((f)=>f.filter((u)=>!u.some((h)=>x.has(h))),"dropOverlapping"),y=l(G),c=l(p);return E.forEach((f)=>{if(f.members.length<2)return;if(f.direction==="row")y.push([...f.members]);else c.push([...f.members])}),{horizontal:y,vertical:c}}t(At,"getAlignments");function Lt(e,n,s=[]){let E=[],m=n.getConfigField("iconSize"),T=n.getConfigField("idealEdgeLengthMultiplier"),G=T*m,p=new Set;s.forEach((y)=>{for(let c=0;c<y.members.length-1;c++){let f=y.members[c],u=y.members[c+1];if(p.add(`${f}|${u}`),p.add(`${u}|${f}`),y.direction==="row")E.push({left:f,right:u,gap:G});else E.push({top:f,bottom:u,gap:G})}});let x=t((y)=>`${y[0]},${y[1]}`,"posToStr"),l=t((y)=>y.split(",").map((c)=>parseInt(c)),"strToPos");return e.forEach((y)=>{let c=new Map([...y.entries()].map(([r,z])=>[x(z),r])),f=[x([0,0])],u={},h={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};while(f.length>0){let r=f.shift();if(r){u[r]=1;let z=c.get(r);if(z){let b=l(r);Object.entries(h).forEach(([o,v])=>{let L=x([b[0]+v[0],b[1]+v[1]]),a=c.get(L);if(a&&!u[L]){if(f.push(L),p.has(`${z}|${a}`))return;E.push({[dt[o]]:a,[dt[It(o)]]:z,gap:T*m})}})}}}}),E}t(Lt,"getRelativeConstraints");function Ct(e,n,s,E,m,{spatialMaps:T,groupAlignments:G}){return new Promise((p)=>{let x=g("body").append("div").attr("id","cy").attr("style","display:none"),l=hn({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge[label]",style:{label:"data(label)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[0.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${m.getConfigField("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${m.getConfigField("padding")}px`}}],layout:{name:"grid",boundingBox:{x1:0,x2:100,y1:0,y2:100}}});x.remove(),xt(s,l),yt(e,l,m),Et(n,l,m),Tt(E,l);let y=m.getLayoutHints(),c=At(m,T,G,y),f=Lt(T,m,y),u=m.getConfigField("iconSize"),h=m.getConfigField("idealEdgeLengthMultiplier")*u,r=0.5*u,z=m.getConfigField("edgeElasticity"),b=m.getConfigField("seed"),o=l.layout({name:"fcose",quality:"proof",randomize:m.getConfigField("randomize"),nodeSeparation:m.getConfigField("nodeSeparation"),numIter:m.getConfigField("numIter"),styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(v){let[L,a]=v.connectedNodes(),{parent:S}=qe(L),{parent:Y}=qe(a);return S===Y?h:r},edgeElasticity(v){let[L,a]=v.connectedNodes(),{parent:S}=qe(L),{parent:Y}=qe(a);return S===Y?z:0.001},alignmentConstraint:c,relativePlacementConstraint:f});o.one("layoutstop",()=>{function v(L,a,S,Y){let C,U,{x:B,y:w}=L,{x:_,y:X}=a;U=(Y-w+(B-S)*(w-X)/(B-_))/Math.sqrt(1+Math.pow((w-X)/(B-_),2)),C=Math.sqrt(Math.pow(Y-w,2)+Math.pow(S-B,2)-Math.pow(U,2));let j=Math.sqrt(Math.pow(_-B,2)+Math.pow(X-w,2));C=C/j;let oe=(_-B)*(Y-w)-(X-w)*(S-B);switch(!0){case oe>=0:oe=1;break;case oe<0:oe=-1;break}let ee=(_-B)*(S-B)+(X-w)*(Y-w);switch(!0){case ee>=0:ee=1;break;case ee<0:ee=-1;break}return U=Math.abs(U)*oe,C=C*ee,{distances:U,weights:C}}t(v,"getSegmentWeights"),l.startBatch();for(let L of Object.values(l.edges()))if(L.data?.()){let{x:a,y:S}=L.source().position(),{x:Y,y:C}=L.target().position();if(a!==Y&&S!==C){let U=L.sourceEndpoint(),B=L.targetEndpoint(),{sourceDir:w}=ht(L),[_,X]=_e(w)?[U.x,B.y]:[B.x,U.y],{weights:j,distances:oe}=v(U,B,_,X);L.style("segment-distances",oe),L.style("segment-weights",j)}}l.endBatch(),ot(b,()=>o.run())});try{ot(b,()=>o.run())}catch(v){if(v instanceof RangeError&&v.message.includes("Invalid array length"))throw Error("Architecture layout failed: a declared `align row|column` directive likely contradicts the edge directions, or two declared alignments overlap on a shared node. Check that the order of members in each `align` chain is consistent with the edges between them, and that no node appears in two `align` directives along the same axis.");throw v}l.ready((v)=>{i.info("Ready",v),p(l)})})}t(Ct,"layoutArchitecture");var Ut=t(async(e,n,s,E)=>{let m=E.db;m.setDiagramId(n);let T=m.getServices(),G=m.getJunctions(),p=m.getGroups(),x=m.getEdges(),l=m.getDataStructures(),y=J(n),c=y.append("g");c.attr("class","architecture-edges");let f=y.append("g");f.attr("class","architecture-services");let u=y.append("g");u.attr("class","architecture-groups"),await _t(m,f,T,n),Yt(m,f,G,n);let h=await Ct(T,G,p,x,m,l);await zt(c,h,m,n),await Bt(u,h,m,n),wt(m,h),dn(void 0,y,m.getConfigField("padding"),m.getConfigField("useMaxWidth"))},"draw"),Ht={draw:Ut},ir={parser:pt,get db(){return new vt},renderer:Ht,styles:Gt};export{ir as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{t,i,Ke,F,A,q,W,N,M,P,R,I,O,D,ua,J,Z,ac}from"./chunk-tz4w2nh2.js";import"./chunk-q7wbksg4.js";import{bn}from"./chunk-vns6bpqm.js";import{jt}from"./chunk-shc8bv2k.js";import{Dn}from"./chunk-bw9crrb4.js";function vt(e,s,n){e=+e,s=+s,n=(o=arguments.length)<2?(s=e,e=0,1):o<3?1:+n;var a=-1,o=Math.max(0,Math.ceil((s-e)/n))|0,c=Array(o);while(++a<o)c[a]=e+a*n;return c}function xt(){var e=jt().unknown(void 0),{domain:s,range:n}=e,a=0,o=1,c,l,f=!1,g=0,b=0,v=0.5;delete e.unknown;function _(){var w=s().length,H=o<a,z=H?o:a,V=H?a:o;if(c=(V-z)/Math.max(1,w-g+b*2),f)c=Math.floor(c);if(z+=(V-z-c*(w-g))*v,l=c*(1-g),f)z=Math.round(z),l=Math.round(l);var U=vt(w).map(function(it){return z+c*it});return n(H?U.reverse():U)}return e.domain=function(w){return arguments.length?(s(w),_()):s()},e.range=function(w){return arguments.length?([a,o]=w,a=+a,o=+o,_()):[a,o]},e.rangeRound=function(w){return[a,o]=w,a=+a,o=+o,f=!0,_()},e.bandwidth=function(){return l},e.step=function(){return c},e.round=function(w){return arguments.length?(f=!!w,_()):f},e.padding=function(w){return arguments.length?(g=Math.min(1,b=+w),_()):g},e.paddingInner=function(w){return arguments.length?(g=Math.min(1,w),_()):g},e.paddingOuter=function(w){return arguments.length?(b=+w,_()):b},e.align=function(w){return arguments.length?(v=Math.max(0,Math.min(1,w)),_()):v},e.copy=function(){return xt(s(),[a,o]).round(f).paddingInner(g).paddingOuter(b).align(v)},Dn.apply(_(),arguments)}var Pt=function(){var e=t(function(K,h,u,x){for(u=u||{},x=K.length;x--;u[K[x]]=h);return u},"o"),s=[1,10,12,14,16,18,19,21,23],n=[2,6],a=[1,3],o=[1,5],c=[1,6],l=[1,7],f=[1,5,10,12,14,16,18,19,21,23,36,37,38],g=[1,25],b=[1,26],v=[1,28],_=[1,29],w=[1,30],H=[1,31],z=[1,32],V=[1,33],U=[1,34],it=[1,35],nt=[1,36],k=[1,37],j=[1,43],d=[1,42],G=[1,47],Q=[1,50],S=[1,10,12,14,16,18,19,21,23,36,37,38],ot=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],X=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],gt=[1,65],E=[26,28],C={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:t(function(h,u,x,p,T,r,rt){var m=r.length-1;switch(T){case 5:p.setOrientation(r[m]);break;case 9:p.setDiagramTitle(r[m].text.trim());break;case 12:p.setLineData({text:"",type:"text"},r[m]);break;case 13:p.setLineData(r[m-1],r[m]);break;case 14:p.setBarData({text:"",type:"text"},r[m]);break;case 15:p.setBarData(r[m-1],r[m]);break;case 16:this.$=r[m].trim(),p.setAccTitle(this.$);break;case 17:case 18:this.$=r[m].trim(),p.setAccDescription(this.$);break;case 19:this.$=r[m-1];break;case 20:case 30:this.$=[r[m-2],...r[m]];break;case 21:case 31:this.$=[r[m]];break;case 22:this.$={value:Number(r[m-1]),label:r[m]};break;case 23:this.$={value:Number(r[m]),label:""};break;case 24:p.setXAxisTitle(r[m]);break;case 25:p.setXAxisTitle(r[m-1]);break;case 26:p.setXAxisTitle({type:"text",text:""});break;case 27:p.setXAxisBand(r[m]);break;case 28:p.setXAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 29:this.$=r[m-1];break;case 32:p.setYAxisTitle(r[m]);break;case 33:p.setYAxisTitle(r[m-1]);break;case 34:p.setYAxisTitle({type:"text",text:""});break;case 35:p.setYAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 39:this.$={text:r[m],type:"text"};break;case 40:this.$={text:r[m],type:"text"};break;case 41:this.$={text:r[m],type:"markdown"};break;case 42:this.$=r[m];break;case 43:this.$=r[m-1]+""+r[m];break}},"anonymous"),table:[e(s,n,{3:1,4:2,7:4,5:a,36:o,37:c,38:l}),{1:[3]},e(s,n,{4:2,7:4,3:8,5:a,36:o,37:c,38:l}),e(s,n,{4:2,7:4,6:9,3:10,5:a,8:[1,11],36:o,37:c,38:l}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(f,[2,36]),e(f,[2,37]),e(f,[2,38]),{1:[2,1]},e(s,n,{4:2,7:4,3:21,5:a,36:o,37:c,38:l}),{1:[2,3]},e(f,[2,5]),e(s,[2,7],{4:22,36:o,37:c,38:l}),{11:23,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:39,13:38,24:j,29:d,30:g,31:40,32:41,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:45,15:44,29:G,30:g,35:46,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:49,17:48,24:Q,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{11:52,17:51,24:Q,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},{20:[1,53]},{22:[1,54]},e(S,[2,18]),{1:[2,2]},e(S,[2,8]),e(S,[2,9]),e(ot,[2,39],{41:55,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k}),e(ot,[2,40]),e(ot,[2,41]),e(X,[2,42]),e(X,[2,44]),e(X,[2,45]),e(X,[2,46]),e(X,[2,47]),e(X,[2,48]),e(X,[2,49]),e(X,[2,50]),e(X,[2,51]),e(X,[2,52]),e(X,[2,53]),e(S,[2,10]),e(S,[2,24],{32:41,31:56,24:j,29:d}),e(S,[2,26]),e(S,[2,27]),{33:[1,57]},{11:59,30:g,34:58,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},e(S,[2,11]),e(S,[2,32],{35:60,29:G}),e(S,[2,34]),{33:[1,61]},e(S,[2,12]),{17:62,24:Q},{25:63,27:64,29:gt},e(S,[2,14]),{17:66,24:Q},e(S,[2,16]),e(S,[2,17]),e(X,[2,43]),e(S,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(S,[2,33]),{29:[1,70]},e(S,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(E,[2,23],{30:[1,73]}),e(S,[2,15]),e(S,[2,28]),e(S,[2,29]),{11:59,30:g,34:74,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:z,47:V,48:U,49:it,50:nt,51:k},e(S,[2,35]),e(S,[2,19]),{25:75,27:64,29:gt},e(E,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:t(function(h,u){if(u.recoverable)this.trace(h);else{var x=Error(h);throw x.hash=u,x}},"parseError"),parse:t(function(h){var u=this,x=[0],p=[],T=[null],r=[],rt=this.table,m="",bt=0,Yt=0,Nt=0,xe=2,Ht=1,fe=r.slice.call(arguments,1),B=Object.create(this.lexer),ht={yy:{}};for(var St in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,St))ht.yy[St]=this.yy[St];if(B.setInput(h,ht.yy),ht.yy.lexer=B,ht.yy.parser=this,typeof B.yylloc>"u")B.yylloc={};var Rt=B.yylloc;r.push(Rt);var pe=B.options&&B.options.ranges;if(typeof ht.yy.parseError==="function")this.parseError=ht.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function me(et){x.length=x.length-2*et,T.length=T.length-et,r.length=r.length-et}t(me,"popStack");function $t(){var et=p.pop()||B.lex()||Ht;if(typeof et!=="number"){if(et instanceof Array)p=et,et=p.pop();et=u.symbols_[et]||et}return et}t($t,"lex");var Y,_t,lt,tt,Be,Tt,ut={},yt,at,Ut,wt;while(!0){if(lt=x[x.length-1],this.defaultActions[lt])tt=this.defaultActions[lt];else{if(Y===null||typeof Y>"u")Y=$t();tt=rt[lt]&&rt[lt][Y]}if(typeof tt>"u"||!tt.length||!tt[0]){var Dt="";wt=[];for(yt in rt[lt])if(this.terminals_[yt]&&yt>xe)wt.push("'"+this.terminals_[yt]+"'");if(B.showPosition)Dt="Parse error on line "+(bt+1)+`:
|
|
2
|
+
`+B.showPosition()+`
|
|
3
|
+
Expecting `+wt.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'";else Dt="Parse error on line "+(bt+1)+": Unexpected "+(Y==Ht?"end of input":"'"+(this.terminals_[Y]||Y)+"'");this.parseError(Dt,{text:B.match,token:this.terminals_[Y]||Y,line:B.yylineno,loc:Rt,expected:wt})}if(tt[0]instanceof Array&&tt.length>1)throw Error("Parse Error: multiple actions possible at state: "+lt+", token: "+Y);switch(tt[0]){case 1:if(x.push(Y),T.push(B.yytext),r.push(B.yylloc),x.push(tt[1]),Y=null,!_t){if(Yt=B.yyleng,m=B.yytext,bt=B.yylineno,Rt=B.yylloc,Nt>0)Nt--}else Y=_t,_t=null;break;case 2:if(at=this.productions_[tt[1]][1],ut.$=T[T.length-at],ut._$={first_line:r[r.length-(at||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(at||1)].first_column,last_column:r[r.length-1].last_column},pe)ut._$.range=[r[r.length-(at||1)].range[0],r[r.length-1].range[1]];if(Tt=this.performAction.apply(ut,[m,Yt,bt,ht.yy,tt[1],T,r].concat(fe)),typeof Tt<"u")return Tt;if(at)x=x.slice(0,-1*at*2),T=T.slice(0,-1*at),r=r.slice(0,-1*at);x.push(this.productions_[tt[1]][0]),T.push(ut.$),r.push(ut._$),Ut=rt[x[x.length-2]][x[x.length-1]],x.push(Ut);break;case 3:return!0}}return!0},"parse")},st=function(){var K={EOF:1,parseError:t(function(u,x){if(this.yy.parser)this.yy.parser.parseError(u,x);else throw Error(u)},"parseError"),setInput:t(function(h,u){if(this.yy=u||this.yy||{},this._input=h,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var u=h.match(/(?:\r\n?|\n).*/g);if(u)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),h},"input"),unput:t(function(h){var u=h.length,x=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var p=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),x.length-1)this.yylineno-=x.length-1;var T=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:x?(x.length===p.length?this.yylloc.first_column:0)+p[p.length-x.length].length-x[0].length:this.yylloc.first_column-u},this.options.ranges)this.yylloc.range=[T[0],T[0]+this.yyleng-u];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(h){this.unput(this.match.slice(h))},"less"),pastInput:t(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var h=this.match;if(h.length<20)h+=this._input.substr(0,20-h.length);return(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var h=this.pastInput(),u=Array(h.length+1).join("-");return h+this.upcomingInput()+`
|
|
5
|
+
`+u+"^"},"showPosition"),test_match:t(function(h,u){var x,p,T;if(this.options.backtrack_lexer){if(T={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)T.yylloc.range=this.yylloc.range.slice(0)}if(p=h[0].match(/(?:\r\n?|\n).*/g),p)this.yylineno+=p.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:p?p[p.length-1].length-p[p.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+h[0].length},this.yytext+=h[0],this.match+=h[0],this.matches=h,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(h[0].length),this.matched+=h[0],x=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(x)return x;else if(this._backtrack){for(var r in T)this[r]=T[r];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var h,u,x,p;if(!this._more)this.yytext="",this.match="";var T=this._currentRules();for(var r=0;r<T.length;r++)if(x=this._input.match(this.rules[T[r]]),x&&(!u||x[0].length>u[0].length)){if(u=x,p=r,this.options.backtrack_lexer)if(h=this.test_match(x,T[r]),h!==!1)return h;else if(this._backtrack){u=!1;continue}else return!1;else if(!this.options.flex)break}if(u){if(h=this.test_match(u,T[p]),h!==!1)return h;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var u=this.next();if(u)return u;else return this.lex()},"lex"),begin:t(function(u){this.conditionStack.push(u)},"begin"),popState:t(function(){var u=this.conditionStack.length-1;if(u>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(u){if(u=this.conditionStack.length-1-Math.abs(u||0),u>=0)return this.conditionStack[u];else return"INITIAL"},"topState"),pushState:t(function(u){this.begin(u)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(u,x,p,T){var r=T;switch(p){case 0:break;case 1:break;case 2:return this.popState(),36;break;case 3:return this.popState(),36;break;case 4:return 36;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.pushState("acc_descr"),21;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";break;case 18:return this.pushState("axis_data"),"Y_AXIS";break;case 19:return this.pushState("axis_band_data"),24;break;case 20:return 33;case 21:return this.pushState("data"),16;break;case 22:return this.pushState("data"),18;break;case 23:return this.pushState("data_inner"),24;break;case 24:return 29;case 25:return this.popState(),26;break;case 26:this.popState();break;case 27:this.pushState("string");break;case 28:this.popState();break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 44;case 33:return"COLON";case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 44:break;case 45:return 37;case 46:return 38}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}};return K}();C.lexer=st;function L(){this.yy={}}return t(L,"Parser"),L.prototype=C,C.Parser=L,new L}();Pt.parser=Pt;var be=Pt;function kt(e){return e.type==="bar"}t(kt,"isBarPlot");function At(e){return e.type==="band"}t(At,"isBandAxisData");function dt(e){return e.type==="linear"}t(dt,"isLinearAxisData");var It=class{constructor(e){this.parentGroup=e}static{t(this,"TextDimensionCalculatorWithFont")}getMaxDimension(e,s){if(!this.parentGroup)return{width:e.reduce((g,b)=>Math.max(b.length,g),0)*s,height:s};let n={width:0,height:0},a=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",s),o=a.node()?.getScreenCTM?.(),c=t((g)=>g&&g>0?g:1,"toScale"),l=c(o?.a),f=c(o?.d);for(let g of e){let b=ac(a,1,g),v=b?b.width/l:g.length*s,_=b?b.height/f:s;n.width=Math.max(n.width,v),n.height=Math.max(n.height,_)}return a.remove(),n}},qt=0.7,Gt=0.2,Qt=class{constructor(e,s,n,a){this.axisConfig=e,this.title=s,this.textDimensionCalculator=n,this.axisThemeConfig=a,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.normalizedLabelRotationInRad=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}static{t(this,"BaseAxis")}setRange(e){if(this.range=e,this.axisPosition==="left"||this.axisPosition==="right")this.boundingRect.height=e[1]-e[0];else this.boundingRect.width=e[1]-e[0];this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(e){this.axisPosition=e,this.setRange(this.range)}getTickDistance(){let e=this.getRange();return Math.abs(e[0]-e[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e)=>e.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){if(qt*this.getTickDistance()>this.outerPadding*2)this.outerPadding=Math.floor(qt*this.getTickDistance()/2);this.recalculateScale()}calculateSpaceIfDrawnHorizontally(e){let s=e.height;if(this.axisConfig.showAxisLine&&s>this.axisConfig.axisLineWidth)s-=this.axisConfig.axisLineWidth,this.showAxisLine=!0;if(this.axisConfig.showLabel){let n=this.getLabelDimension(),a=Gt*e.width;this.outerPadding=Math.min(n.width/2,a);let o=n.height;if(this.axisPosition==="bottom"&&this.normalizedLabelRotationInRad!==0)o=Math.max(o,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*n.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*n.height));if(o+=this.axisConfig.labelPadding*2,this.labelTextHeight=n.height,o<=s)s-=o,this.showLabel=!0}if(this.axisConfig.showTick&&s>=this.axisConfig.tickLength)this.showTick=!0,s-=this.axisConfig.tickLength;if(this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),a=n.height+this.axisConfig.titlePadding*2;if(this.titleTextHeight=n.height,a<=s)s-=a,this.showTitle=!0}this.boundingRect.width=e.width,this.boundingRect.height=e.height-s}calculateSpaceIfDrawnVertical(e){let s=e.width;if(this.axisConfig.showAxisLine&&s>this.axisConfig.axisLineWidth)s-=this.axisConfig.axisLineWidth,this.showAxisLine=!0;if(this.axisConfig.showLabel){let n=this.getLabelDimension(),a=Gt*e.height;this.outerPadding=Math.min(n.height/2,a);let o=n.width+this.axisConfig.labelPadding*2;if(o<=s)s-=o,this.showLabel=!0}if(this.axisConfig.showTick&&s>=this.axisConfig.tickLength)this.showTick=!0,s-=this.axisConfig.tickLength;if(this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),a=n.height+this.axisConfig.titlePadding*2;if(this.titleTextHeight=n.height,a<=s)s-=a,this.showTitle=!0}this.boundingRect.width=e.width-s,this.boundingRect.height=e.height}calculateSpace(e){if(this.axisPosition==="left"||this.axisPosition==="right")this.calculateSpaceIfDrawnVertical(e);else this.calculateSpaceIfDrawnHorizontally(e);return this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateOffsetByRotation(e){let s=this.normalizedLabelRotationInRad;if(s===0)return 0;return Math.sin(s)*this.getLabelDimension()[e]/2}getDrawableElementsForLeftAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${s},${this.boundingRect.y} L ${s},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(s),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))});if(this.showTick){let s=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${s},${this.getScaleValue(n)} L ${s-this.axisConfig.tickLength},${this.getScaleValue(n)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElementsForBottomAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.y+this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${s} L ${this.boundingRect.x+this.boundingRect.width},${s}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.getScaleValue(s)+this.calculateOffsetByRotation("height"),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation("width")),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:this.normalizedLabelRotationInRad*180/Math.PI,verticalPos:"top",horizontalPos:"center"}))});if(this.showTick){let s=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${this.getScaleValue(n)},${s} L ${this.getScaleValue(n)},${s+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElementsForTopAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${s} L ${this.boundingRect.x+this.boundingRect.width},${s}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.getScaleValue(s),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))});if(this.showTick){let s=this.boundingRect.y;e.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${this.getScaleValue(n)},${s+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(n)},${s+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");if(this.axisPosition==="bottom")return this.getDrawableElementsForBottomAxis();if(this.axisPosition==="top")return this.getDrawableElementsForTopAxis();return[]}},ye=class extends Qt{static{t(this,"BandAxis")}constructor(e,s,n,a,o){super(e,a,o,s);this.categories=n,this.scale=xt().domain(this.categories).range(this.getRange())}setRange(e){super.setRange(e)}recalculateScale(){this.scale=xt().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5),i.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(e){return this.scale(e)??this.getRange()[0]}},we=class extends Qt{static{t(this,"LinearAxis")}constructor(e,s,n,a,o){super(e,a,o,s);this.domain=n,this.scale=bn().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let e=[...this.domain];if(this.axisPosition==="left")e.reverse();this.scale=bn().domain(e).range(this.getRange())}getScaleValue(e){return this.scale(e)}};function Lt(e,s,n,a){let o=new It(a);if(At(e))return new ye(s,n,e.categories,e.title,o);return new we(s,n,[e.min,e.max],e.title,o)}t(Lt,"getAxis");var ke=class{constructor(e,s,n,a){this.textDimensionCalculator=e,this.chartConfig=s,this.chartData=n,this.chartThemeConfig=a,this.titleWidth=0,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{t(this,"ChartTitle")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){let s=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),n=Math.max(s.width,e.width),a=s.height+2*this.chartConfig.titlePadding;if(a<=e.height&&this.chartConfig.showTitle&&this.chartData.title)this.boundingRect.width=n,this.boundingRect.height=a,this.titleWidth=s.width,this.showChartTitle=!0;return{width:this.boundingRect.width,height:this.boundingRect.height}}alignTo(e,s){let n=Math.min(this.titleWidth,this.chartConfig.width)/2,a=Math.min(Math.max((e+s)/2,n),this.chartConfig.width-n);this.boundingRect.x=a-n,this.boundingRect.width=n*2}getDrawableElements(){let e=[];if(this.showChartTitle)e.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]});return e}};function Kt(e,s,n,a){let o=new It(a);return new ke(o,e,s,n)}t(Kt,"getChartTitleComponent");var Ae=0.75,Ce=0.5,Se=0.35;function Et(e){return{fontSize:e,markerSize:e*Ae,markerSpacing:e*Se,itemSpacing:e*Ce}}t(Et,"getLegendLayout");var Re=class{constructor(e,s,n,a){this.textDimensionCalculator=e,this.chartConfig=s,this.chartData=n,this.chartThemeConfig=a,this.boundingRect={x:0,y:0,width:0,height:0},this.visiblePlots=[]}static{t(this,"ChartLegend")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){if(this.visiblePlots=this.chartConfig.showLegend?this.chartData.plots.filter((g)=>g.title):[],this.visiblePlots.length===0)return this.boundingRect.width=0,this.boundingRect.height=0,{width:0,height:0};let{fontSize:s,markerSize:n,markerSpacing:a,itemSpacing:o}=Et(this.chartConfig.legendFontSize),c=this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map((g)=>g.title),s),l=this.chartConfig.legendPadding*2+n+a+c.width,f=this.chartConfig.legendPadding*2+this.visiblePlots.length*s+(this.visiblePlots.length-1)*o;if(l<=e.width&&f<=e.height)this.boundingRect.width=l,this.boundingRect.height=f;else this.visiblePlots=[],this.boundingRect.width=0,this.boundingRect.height=0;return{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(this.visiblePlots.length===0)return[];let{fontSize:e,markerSize:s,markerSpacing:n,itemSpacing:a}=Et(this.chartConfig.legendFontSize),o=e+a,c=this.boundingRect.x+this.chartConfig.legendPadding,l=this.boundingRect.y+this.chartConfig.legendPadding,f=[],g=[];for(let[b,v]of this.visiblePlots.entries())if(kt(v))f.push({x:c,y:l+b*o,width:s,height:s,fill:v.fill,strokeFill:v.fill,strokeWidth:0});else{let _=l+b*o+s/2;g.push({path:`M ${c},${_} L ${c+s},${_}`,strokeFill:v.strokeFill,strokeWidth:v.strokeWidth})}return[{groupTexts:["legend","markers"],type:"rect",data:f},{groupTexts:["legend","markers"],type:"path",data:g},{groupTexts:["legend","label"],type:"text",data:this.visiblePlots.map((b,v)=>({text:b.title,x:c+s+n,y:l+v*o+s/2,fill:this.chartThemeConfig.legendTextColor,fontSize:e,rotation:0,verticalPos:"middle",horizontalPos:"left"}))}]}};function Zt(e,s,n,a){let o=new It(a);return new Re(o,e,s,n)}t(Zt,"getChartLegendComponent");var _e=class{constructor(e,s,n,a,o){this.plotData=e,this.xAxis=s,this.yAxis=n,this.orientation=a,this.plotIndex=o}static{t(this,"LinePlot")}getDrawableElement(){let e=this.plotData.data.map((a)=>[this.xAxis.getScaleValue(a[0]),this.yAxis.getScaleValue(a[1])]),s;if(this.orientation==="horizontal")s=ua().y((a)=>a[0]).x((a)=>a[1])(e);else s=ua().x((a)=>a[0]).y((a)=>a[1])(e);if(!s)return[];let n=[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:s,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){let c=[];for(let[l,[f,g]]of e.entries()){let b=this.plotData.pointLabels[l];if(!b)continue;if(this.orientation==="horizontal")c.push({x:g+10,y:f,text:b,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"left",fontSize:12,rotation:0});else c.push({x:f,y:g-10,text:b,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"center",fontSize:12,rotation:0})}if(c.length>0)n.push({groupTexts:["plot",`line-plot-${this.plotIndex}`,"labels"],type:"text",data:c})}return n}},Te=class{constructor(e,s,n,a,o,c){this.barData=e,this.boundingRect=s,this.xAxis=n,this.yAxis=a,this.orientation=o,this.plotIndex=c}static{t(this,"BarPlot")}getDrawableElement(){let e=this.barData.data.map((o)=>[this.xAxis.getScaleValue(o[0]),this.yAxis.getScaleValue(o[1])]),s=0.05,n=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*0.95,a=n/2;if(this.orientation==="horizontal")return[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map((o)=>({x:this.boundingRect.x,y:o[0]-a,height:n,width:o[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}];return[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map((o)=>({x:o[0]-a,y:o[1],width:n,height:this.boundingRect.y+this.boundingRect.height-o[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},De=class{constructor(e,s,n){this.chartConfig=e,this.chartData=s,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0}}static{t(this,"BasePlot")}setAxes(e,s){this.xAxis=e,this.yAxis=s}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){return this.boundingRect.width=e.width,this.boundingRect.height=e.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let e=[];for(let[s,n]of this.chartData.plots.entries())switch(n.type){case"line":{let a=new _e(n,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,s);e.push(...a.getDrawableElement())}break;case"bar":{let a=new Te(n,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,s);e.push(...a.getDrawableElement())}break}return e}};function Jt(e,s,n){return new De(e,s,n)}t(Jt,"getPlotComponent");var ve=class{constructor(e,s,n,a){this.chartConfig=e,this.chartData=s,this.componentStore={title:Kt(e,s,n,a),plot:Jt(e,s,n),legend:Zt(e,s,n,a),xAxis:Lt(s.xAxis,e.xAxis,{titleColor:n.xAxisTitleColor,labelColor:n.xAxisLabelColor,tickColor:n.xAxisTickColor,axisLineColor:n.xAxisLineColor},a),yAxis:Lt(s.yAxis,e.yAxis,{titleColor:n.yAxisTitleColor,labelColor:n.yAxisLabelColor,tickColor:n.yAxisTickColor,axisLineColor:n.yAxisLineColor},a)}}static{t(this,"Orchestrator")}calculateVerticalSpace(){let e=this.chartConfig.width,s=this.chartConfig.height,n=0,a=0,o={width:0,height:0},c=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),l=Math.floor(s*this.chartConfig.plotReservedSpacePercent/100),f=this.componentStore.plot.calculateSpace({width:c,height:l});if(e-=f.width,s-=f.height,f=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:s}),a=f.height,s-=f.height,this.componentStore.xAxis.setAxisPosition("bottom"),f=this.componentStore.xAxis.calculateSpace({width:e,height:s}),s-=f.height,this.componentStore.yAxis.setAxisPosition("left"),f=this.componentStore.yAxis.calculateSpace({width:e,height:s}),n=f.width,e-=f.width,o=this.componentStore.legend.calculateSpace({width:e,height:l}),e-=o.width,e>0)c+=e,e=0;if(s>0)l+=s,s=0;if(this.componentStore.plot.calculateSpace({width:c,height:l}),this.componentStore.plot.setBoundingBoxXY({x:n,y:a}),this.componentStore.title.alignTo(n,n+c),this.componentStore.legend.setBoundingBoxXY({x:n+c,y:a+Math.max((l-o.height)/2,0)}),this.componentStore.xAxis.setRange([n,n+c]),this.componentStore.xAxis.setBoundingBoxXY({x:n,y:a+l}),this.componentStore.yAxis.setRange([a,a+l]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:a}),this.chartData.plots.some((g)=>kt(g)))this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let e=this.chartConfig.width,s=this.chartConfig.height,n=0,a=0,o=0,c={width:0,height:0},l=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),f=Math.floor(s*this.chartConfig.plotReservedSpacePercent/100),g=this.componentStore.plot.calculateSpace({width:l,height:f});if(e-=g.width,s-=g.height,g=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:s}),n=g.height,s-=g.height,this.componentStore.xAxis.setAxisPosition("left"),g=this.componentStore.xAxis.calculateSpace({width:e,height:s}),e-=g.width,a=g.width,this.componentStore.yAxis.setAxisPosition("top"),g=this.componentStore.yAxis.calculateSpace({width:e,height:s}),s-=g.height,o=n+g.height,c=this.componentStore.legend.calculateSpace({width:e,height:f}),e-=c.width,e>0)l+=e,e=0;if(s>0)f+=s,s=0;if(this.componentStore.plot.calculateSpace({width:l,height:f}),this.componentStore.plot.setBoundingBoxXY({x:a,y:o}),this.componentStore.title.alignTo(a,a+l),this.componentStore.legend.setBoundingBoxXY({x:a+l,y:o+Math.max((f-c.height)/2,0)}),this.componentStore.yAxis.setRange([a,a+l]),this.componentStore.yAxis.setBoundingBoxXY({x:a,y:n}),this.componentStore.xAxis.setRange([o,o+f]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:o}),this.chartData.plots.some((b)=>kt(b)))this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){if(this.chartConfig.chartOrientation==="horizontal")this.calculateHorizontalSpace();else this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let e=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let s of Object.values(this.componentStore))e.push(...s.getDrawableElements());return e}},Pe=class{static{t(this,"XYChartBuilder")}static build(e,s,n,a){return new ve(e,s,n,a).getDrawableElement()}},ft=0,te,pt=Ot(),mt=zt(),y=Vt(),Mt=mt.plotColorPalette.split(",").map((e)=>e.trim()),Ct=!1,Bt=!1;function zt(){let e=Ke(),s=A();return Z(e.xyChart,s.themeVariables.xyChart)}t(zt,"getChartDefaultThemeConfig");function Ot(){let e=A();return Z(F.xyChart,e.xyChart)}t(Ot,"getChartDefaultConfig");function Vt(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}t(Vt,"getChartDefaultData");function ct(e){let s=A();return q(e.trim(),s)}t(ct,"textSanitizer");function ee(e){te=e}t(ee,"setTmpSVGG");function ie(e){if(e==="horizontal")pt.chartOrientation="horizontal";else pt.chartOrientation="vertical"}t(ie,"setOrientation");function se(e){y.xAxis.title=ct(e.text)}t(se,"setXAxisTitle");function Wt(e,s){y.xAxis={type:"linear",title:y.xAxis.title,min:e,max:s},Ct=!0}t(Wt,"setXAxisRangeData");function ne(e){y.xAxis={type:"band",title:y.xAxis.title,categories:e.map((s)=>ct(s.text))},Ct=!0}t(ne,"setXAxisBand");function ae(e){y.yAxis.title=ct(e.text)}t(ae,"setYAxisTitle");function oe(e,s){y.yAxis={type:"linear",title:y.yAxis.title,min:e,max:s},Bt=!0}t(oe,"setYAxisRangeData");function re(e){let s=Math.min(...e),n=Math.max(...e),a=dt(y.yAxis)?y.yAxis.min:1/0,o=dt(y.yAxis)?y.yAxis.max:-1/0;y.yAxis={type:"linear",title:y.yAxis.title,min:Math.min(a,s),max:Math.max(o,n)}}t(re,"setYAxisRangeFromPlotData");function Ft(e){let s=[];if(e.length===0)return s;if(!Ct){let n=dt(y.xAxis)?y.xAxis.min:1/0,a=dt(y.xAxis)?y.xAxis.max:-1/0;Wt(Math.min(n,1),Math.max(a,e.length))}if(At(y.xAxis)&&e.length>y.xAxis.categories.length)e=e.slice(0,y.xAxis.categories.length);if(!Bt)re(e);if(At(y.xAxis))s=y.xAxis.categories.map((n,a)=>[n,e[a]]);if(dt(y.xAxis)){let n=y.xAxis.min,a=y.xAxis.max;if(e.length===1)s=[[`${n}`,e[0]]];else{let o=(a-n)/(e.length-1);s=e.map((c,l)=>[`${n+l*o}`,c])}}return s}t(Ft,"transformDataWithoutCategory");function Xt(e){return Mt[e===0?0:e%Mt.length]}t(Xt,"getPlotColorFromPalette");function he(e,s){let n=s.map((l)=>l.value),a=s.map((l)=>l.label?ct(l.label):""),o=Ft(n),c=a.some((l)=>l!=="");y.plots.push({type:"line",title:ct(e.text),strokeFill:Xt(ft),strokeWidth:2,data:o,...c?{pointLabels:a}:{}}),ft++}t(he,"setLineData");function le(e,s){let n=s.map((o)=>o.value),a=Ft(n);y.plots.push({type:"bar",title:ct(e.text),fill:Xt(ft),data:a}),ft++}t(le,"setBarData");function ce(){if(y.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return y.title=D(),Pe.build(pt,y,mt,te)}t(ce,"getDrawableElem");function ge(){return mt}t(ge,"getChartThemeConfig");function ue(){return pt}t(ue,"getChartConfig");function de(){return y}t(de,"getXYChartData");var Le=t(function(){N(),ft=0,pt=Ot(),y=Vt(),mt=zt(),Mt=mt.plotColorPalette.split(",").map((e)=>e.trim()),Ct=!1,Bt=!1},"clear"),Ee={getDrawableElem:ce,clear:Le,setAccTitle:M,getAccTitle:P,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:R,setOrientation:ie,setXAxisTitle:se,setXAxisRangeData:Wt,setXAxisBand:ne,setYAxisTitle:ae,setYAxisRangeData:oe,setLineData:he,setBarData:le,setTmpSVGG:ee,getChartThemeConfig:ge,getChartConfig:ue,getXYChartData:de},Me=t((e,s,n,a)=>{let o=a.db,c=o.getChartThemeConfig(),l=o.getChartConfig(),f=o.getXYChartData().plots[0].data.map((k)=>k[1]);function g(k){return k==="top"?"text-before-edge":"middle"}t(g,"getDominantBaseLine");function b(k){return k==="left"?"start":k==="right"?"end":"middle"}t(b,"getTextAnchor");function v(k){return`translate(${k.x}, ${k.y}) rotate(${k.rotation||0})`}t(v,"getTextTransformation"),i.debug(`Rendering xychart chart
|
|
7
|
+
`+e);let _=J(s),w=_.append("g").attr("class","main"),H=w.append("rect").attr("width",l.width).attr("height",l.height).attr("class","background");W(_,l.height,l.width,!0),_.attr("viewBox",`0 0 ${l.width} ${l.height}`),H.attr("fill",c.backgroundColor),o.setTmpSVGG(_.append("g").attr("class","mermaid-tmp-group"));let z=o.getDrawableElem(),V={};function U(k){let j=w,d="";for(let[G]of k.entries()){let Q=w;if(G>0&&V[d])Q=V[d];if(d+=k[G],j=V[d],!j)j=V[d]=Q.append("g").attr("class",k[G])}return j}t(U,"getGroup");for(let k of z){if(k.data.length===0)continue;let j=U(k.groupTexts);switch(k.type){case"rect":if(j.selectAll("rect").data(k.data).enter().append("rect").attr("x",(d)=>d.x).attr("y",(d)=>d.y).attr("width",(d)=>d.width).attr("height",(d)=>d.height).attr("fill",(d)=>d.fill).attr("stroke",(d)=>d.strokeFill).attr("stroke-width",(d)=>d.strokeWidth),l.showDataLabel){let d=l.showDataLabelOutsideBar;if(l.chartOrientation==="horizontal"){let G=function(C,st){let{data:L,label:K}=C;return st*K.length*Q<=L.width-S};var it=G;t(G,"fitsHorizontally");let Q=0.7,S=10,ot=k.data.map((C,st)=>({data:C,label:f[st].toString()})).filter((C)=>C.data.width>0&&C.data.height>0),X=ot.map((C)=>{let{data:st}=C,L=st.height*0.7;while(!G(C,L)&&L>0)L-=1;return L}),gt=Math.floor(Math.min(...X)),E=t((C)=>{if(d)return C.data.x+C.data.width+S;else return C.data.x+C.data.width-S},"determineLabelXPosition");j.selectAll("text").data(ot).enter().append("text").attr("x",E).attr("y",(C)=>C.data.y+C.data.height/2).attr("text-anchor",d?"start":"end").attr("dominant-baseline","middle").attr("fill",c.dataLabelColor).attr("font-size",`${gt}px`).text((C)=>C.label)}else{let G=function(E,C,st){let{data:L,label:K}=E,h=0.7,u=C*K.length*0.7,x=L.x+L.width/2,p=x-u/2,T=x+u/2,r=p>=L.x&&T<=L.x+L.width,rt=L.y+st+C<=L.y+L.height;return r&&rt};var nt=G;t(G,"fitsInBar");let Q=10,S=k.data.map((E,C)=>({data:E,label:f[C].toString()})).filter((E)=>E.data.width>0&&E.data.height>0),ot=S.map((E)=>{let{data:C,label:st}=E,L=C.width/(st.length*0.7);while(!G(E,L,Q)&&L>0)L-=1;return L}),X=Math.floor(Math.min(...ot)),gt=t((E)=>{if(d)return E.data.y-Q;else return E.data.y+Q},"determineLabelYPosition");j.selectAll("text").data(S).enter().append("text").attr("x",(E)=>E.data.x+E.data.width/2).attr("y",gt).attr("text-anchor","middle").attr("dominant-baseline",d?"auto":"hanging").attr("fill",c.dataLabelColor).attr("font-size",`${X}px`).text((E)=>E.label)}}break;case"text":j.selectAll("text").data(k.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",(d)=>d.fill).attr("font-size",(d)=>d.fontSize).attr("dominant-baseline",(d)=>g(d.verticalPos)).attr("text-anchor",(d)=>b(d.horizontalPos)).attr("transform",(d)=>v(d)).text((d)=>d.text);break;case"path":j.selectAll("path").data(k.data).enter().append("path").attr("d",(d)=>d.path).attr("fill",(d)=>d.fill?d.fill:"none").attr("stroke",(d)=>d.strokeFill).attr("stroke-width",(d)=>d.strokeWidth);break}}},"draw"),Ie={draw:Me},Ze={parser:be,db:Ee,renderer:Ie};export{Ze as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r}from"./chunk-6ycpdpfj.js";var e=Object.freeze({displayName:"C",name:"c",patterns:[{include:"#preprocessor-rule-enabled"},{include:"#preprocessor-rule-disabled"},{include:"#preprocessor-rule-conditional"},{include:"#predefined_macros"},{include:"#comments"},{include:"#switch_statement"},{include:"#anon_pattern_1"},{include:"#storage_types"},{include:"#anon_pattern_2"},{include:"#anon_pattern_3"},{include:"#anon_pattern_4"},{include:"#anon_pattern_5"},{include:"#anon_pattern_6"},{include:"#anon_pattern_7"},{include:"#operators"},{include:"#numbers"},{include:"#strings"},{include:"#anon_pattern_range_1"},{include:"#anon_pattern_range_2"},{include:"#anon_pattern_range_3"},{include:"#pragma-mark"},{include:"#anon_pattern_range_4"},{include:"#anon_pattern_range_5"},{include:"#anon_pattern_range_6"},{include:"#anon_pattern_8"},{include:"#anon_pattern_9"},{include:"#anon_pattern_10"},{include:"#anon_pattern_11"},{include:"#anon_pattern_12"},{include:"#anon_pattern_13"},{include:"#block"},{include:"#parens"},{include:"#anon_pattern_range_7"},{include:"#line_continuation_character"},{include:"#anon_pattern_range_8"},{include:"#anon_pattern_range_9"},{include:"#anon_pattern_14"},{include:"#anon_pattern_15"}],repository:{"access-method":{begin:/([A-Z_a-z][0-9A-Z_a-z]*|(?<=[\]\)]))\p{space}*(?:(\.)|(->))((?:[A-Z_a-z][0-9A-Z_a-z]*\p{space}*(?:\.|->))*)\p{space}*([A-Z_a-z][0-9A-Z_a-z]*)(\()/dgv,beginCaptures:{"1":{name:"variable.object.c"},"2":{name:"punctuation.separator.dot-access.c"},"3":{name:"punctuation.separator.pointer-access.c"},"4":{patterns:[{match:/\./dgv,name:"punctuation.separator.dot-access.c"},{match:/->/dgv,name:"punctuation.separator.pointer-access.c"},{match:/[A-Z_a-z][0-9A-Z_a-z]*/dgv,name:"variable.object.c"},{match:/[^\n]+/dgv,name:"everything.else.c"}]},"5":{name:"entity.name.function.member.c"},"6":{name:"punctuation.section.arguments.begin.bracket.round.function.member.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.arguments.end.bracket.round.function.member.c"}},name:"meta.function-call.member.c",patterns:[{include:"#function-call-innards"}]},anon_pattern_1:{match:/\b(break|continue|do|else|for|goto|if|_Pragma|return|while)\b/dgv,name:"keyword.control.c"},anon_pattern_10:{match:/\b((?:int8|int16|int32|int64|uint8|uint16|uint32|uint64|int_least8|int_least16|int_least32|int_least64|uint_least8|uint_least16|uint_least32|uint_least64|int_fast8|int_fast16|int_fast32|int_fast64|uint_fast8|uint_fast16|uint_fast32|uint_fast64|intptr|uintptr|intmax|uintmax)_t)\b/dgv,name:"support.type.stdint.c"},anon_pattern_11:{match:/\b(noErr|kNilOptions|kInvalidID|kVariableLengthArray)\b/dgv,name:"support.constant.mac-classic.c"},anon_pattern_12:{match:/\b(AbsoluteTime|Boolean|Byte|ByteCount|ByteOffset|BytePtr|CompTimeValue|ConstLogicalAddress|ConstStrFileNameParam|ConstStringPtr|Duration|Fixed|FixedPtr|Float32|Float32Point|Float64|Float80|Float96|FourCharCode|Fract|FractPtr|Handle|ItemCount|LogicalAddress|OptionBits|OSErr|OSStatus|OSType|OSTypePtr|PhysicalAddress|ProcessSerialNumber|ProcessSerialNumberPtr|ProcHandle|Ptr|ResType|ResTypePtr|ShortFixed|ShortFixedPtr|SignedByte|SInt16|SInt32|SInt64|SInt8|Size|StrFileName|StringHandle|StringPtr|TimeBase|TimeRecord|TimeScale|TimeValue|TimeValue64|UInt16|UInt32|UInt64|UInt8|UniChar|UniCharCount|UniCharCountPtr|UniCharPtr|UnicodeScalarValue|UniversalProcHandle|UniversalProcPtr|UnsignedFixed|UnsignedFixedPtr|UnsignedWide|UTF16Char|UTF32Char|UTF8Char)\b/dgv,name:"support.type.mac-classic.c"},anon_pattern_13:{match:/\b([0-9A-Z_a-z]+_t)\b/dgv,name:"support.type.posix-reserved.c"},anon_pattern_14:{match:/;/dgv,name:"punctuation.terminator.statement.c"},anon_pattern_15:{match:/,/dgv,name:"punctuation.separator.delimiter.c"},anon_pattern_2:{match:/typedef/dgv,name:"keyword.other.typedef.c"},anon_pattern_3:{match:/\b(const|extern|register|restrict|static|volatile|inline)\b/dgv,name:"storage.modifier.c"},anon_pattern_4:{match:/\bk[A-Z][\p{L}\p{M}\p{N}\p{Pc}]*\b/dgv,name:"constant.other.variable.mac-classic.c"},anon_pattern_5:{match:/\bg[A-Z][\p{L}\p{M}\p{N}\p{Pc}]*\b/dgv,name:"variable.other.readwrite.global.mac-classic.c"},anon_pattern_6:{match:/\bs[A-Z][\p{L}\p{M}\p{N}\p{Pc}]*\b/dgv,name:"variable.other.readwrite.static.mac-classic.c"},anon_pattern_7:{match:/\b(NULL|true|false|TRUE|FALSE)\b/dgv,name:"constant.language.c"},anon_pattern_8:{match:/\b(u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|div_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_t|id_t|clock_t|size_t|ssize_t|time_t|useconds_t|suseconds_t)\b/dgv,name:"support.type.sys-types.c"},anon_pattern_9:{match:/\b(pthread_(?:attr_|cond_|condattr_|mutex_|mutexattr_|once_|rwlock_|rwlockattr_||key_)t)\b/dgv,name:"support.type.pthread.c"},anon_pattern_range_1:{begin:new r("((?:(?:(?=(\\p{space}+))\\2)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\6)[^\\/])*))\\5)((?:(?=(\\*+))\\8)/)))+?|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$)))((#)\\p{space}*define)\\b\\p{space}+((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])[A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))(?:(\\()([^\\(\\)\\\\]+)(\\)))?","dgv",{hiddenCaptures:[2,5,6,8]}),beginCaptures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"5":{name:"keyword.control.directive.define.c"},"6":{name:"punctuation.definition.directive.c"},"7":{name:"entity.name.function.preprocessor.c"},"8":{name:"punctuation.definition.parameters.begin.c"},"9":{patterns:[{captures:{"1":{name:"variable.parameter.preprocessor.c"}},match:/(?<=[\(\,])\p{space}*((?<![\p{L}\p{M}\p{N}\p{Pc}])[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*(?![\p{L}\p{M}\p{N}\p{Pc}]))\p{space}*/dgv},{match:/,/dgv,name:"punctuation.separator.parameters.c"},{match:/\.\.\./dgv,name:"ellipses.c punctuation.vararg-ellipses.variable.parameter.preprocessor.c"}]},"10":{name:"punctuation.definition.parameters.end.c"}},end:/(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.macro.c",patterns:[{include:"#preprocessor-rule-define-line-contents"}]},anon_pattern_range_2:{begin:/^\p{space}*((#)\p{space}*(error|warning))\b\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.control.directive.diagnostic.$3.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.diagnostic.c",patterns:[{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/"|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.double.c",patterns:[{include:"#line_continuation_character"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/'|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.single.c",patterns:[{include:"#line_continuation_character"}]},{begin:/[^"']/dgv,end:/(?<!\\)(?=\p{space}*\n)/dgv,name:"string.unquoted.single.c",patterns:[{include:"#line_continuation_character"},{include:"#comments"}]}]},anon_pattern_range_3:{begin:/^\p{space}*((#)\p{space}*(i(?:nclude(?:_next)?|mport)))\b\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.control.directive.$3.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=\/[\*\/])|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.include.c",patterns:[{include:"#line_continuation_character"},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.double.include.c"},{begin:/</dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.other.lt-gt.include.c"}]},anon_pattern_range_4:{begin:/^\p{space}*((#)\p{space}*line)\b/dgv,beginCaptures:{"1":{name:"keyword.control.directive.line.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=\/[\*\/])|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#strings"},{include:"#numbers"},{include:"#line_continuation_character"}]},anon_pattern_range_5:{begin:/^\p{space}*((#)\p{space}*undef)\b/dgv,beginCaptures:{"1":{name:"keyword.control.directive.undef.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=\/[\*\/])|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{match:/[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"entity.name.function.preprocessor.c"},{include:"#line_continuation_character"}]},anon_pattern_range_6:{begin:/^\p{space}*((#)\p{space}*pragma)\b/dgv,beginCaptures:{"1":{name:"keyword.control.directive.pragma.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=\/[\*\/])|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.pragma.c",patterns:[{include:"#strings"},{match:/[\$A-Z_a-z][\-\$\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"entity.other.attribute-name.pragma.preprocessor.c"},{include:"#numbers"},{include:"#line_continuation_character"}]},anon_pattern_range_7:{begin:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?!\p{space}*(?:atomic_uint_least64_t|atomic_uint_least16_t|atomic_uint_least32_t|atomic_uint_least8_t|atomic_int_least16_t|atomic_uint_fast64_t|atomic_uint_fast32_t|atomic_int_least64_t|atomic_int_least32_t|pthread_rwlockattr_t|atomic_uint_fast16_t|pthread_mutexattr_t|atomic_int_fast16_t|atomic_uint_fast8_t|atomic_int_fast64_t|atomic_int_least8_t|atomic_int_fast32_t|atomic_int_fast8_t|pthread_condattr_t|pthread_rwlock_t|atomic_uintptr_t|atomic_ptrdiff_t|atomic_uintmax_t|atomic_intmax_t|atomic_char32_t|atomic_intptr_t|atomic_char16_t|pthread_mutex_t|pthread_cond_t|atomic_wchar_t|uint_least64_t|uint_least32_t|uint_least16_t|pthread_once_t|pthread_attr_t|uint_least8_t|int_least32_t|int_least16_t|pthread_key_t|uint_fast32_t|uint_fast64_t|uint_fast16_t|atomic_size_t|atomic_ushort|atomic_ullong|int_least64_t|atomic_ulong|int_least8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t|memory_order|atomic_schar|atomic_uchar|atomic_short|atomic_llong|thread_local|atomic_bool|atomic_uint|atomic_long|int_fast8_t|suseconds_t|atomic_char|atomic_int|useconds_t|_Imaginary|uintmax_t|in_addr_t|in_port_t|_Noreturn|blksize_t|pthread_t|uintptr_t|volatile|u_quad_t|blkcnt_t|intmax_t|intptr_t|_Complex|uint16_t|uint32_t|uint64_t|_Alignof|_Alignas|continue|unsigned|restrict|intmax_t|register|int64_t|qaddr_t|segsz_t|_Atomic|alignas|default|caddr_t|nlink_t|typedef|u_short|fixpt_t|clock_t|swblk_t|ssize_t|alignof|daddr_t|int16_t|int32_t|uint8_t|struct|mode_t|size_t|time_t|ushort|u_long|u_char|int8_t|double|signed|static|extern|inline|return|switch|xor_eq|and_eq|bitand|not_eq|sizeof|quad_t|uid_t|bitor|union|off_t|key_t|ino_t|compl|u_int|short|const|false|while|float|pid_t|break|_Bool|or_eq|div_t|dev_t|gid_t|id_t|long|case|goto|else|bool|auto|id_t|enum|uint|true|NULL|void|char|for|not|int|and|xor|do|or|if)\p{space}*\()(?=[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*\()/dgv,end:new r("(?!^)(?<=\\))","dgv",{strategy:"clip_search"}),name:"meta.function.c",patterns:[{include:"#function-innards"}]},anon_pattern_range_8:{begin:/([A-Z_a-z][0-9A-Z_a-z]*|(?<=[\]\)]))?(\[)(?!\])/dgv,beginCaptures:{"1":{name:"variable.object.c"},"2":{name:"punctuation.definition.begin.bracket.square.c"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.end.bracket.square.c"}},name:"meta.bracket.square.access.c",patterns:[{include:"#function-call-innards"}]},anon_pattern_range_9:{match:/\[\p{space}*\]/dgv,name:"storage.modifier.array.bracket.square.c"},backslash_escapes:{match:/\\(["'\?\\abefnprtv]|[0-3][0-7]{0,2}|[4-7]\p{Nd}?|x\p{AHex}{0,2}|u\p{AHex}{0,4}|U\p{AHex}{0,8})/dgv,name:"constant.character.escape.c"},block:{patterns:[{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.block.begin.bracket.curly.c"}},end:/\}|(?=\p{space}*#\p{space}*e(?:lif|lse|ndif)\b)/dgv,endCaptures:{"0":{name:"punctuation.section.block.end.bracket.curly.c"}},name:"meta.block.c",patterns:[{include:"#block_innards"}]}]},block_comment:{patterns:[{begin:new r("(?:(?=(\\p{space}*))\\1)(/\\*)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.begin.c"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.c"}},name:"comment.block.c"},{begin:new r("(?:(?=(\\p{space}*))\\1)(/\\*)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.begin.c"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.c"}},name:"comment.block.c"}]},block_innards:{patterns:[{include:"#preprocessor-rule-enabled-block"},{include:"#preprocessor-rule-disabled-block"},{include:"#preprocessor-rule-conditional-block"},{include:"#method_access"},{include:"#member_access"},{include:"#c_function_call"},{begin:new r("(?=\\p{space})(?<!else|new|return)(?<=[\\p{L}\\p{M}\\p{N}\\p{Pc}])\\p{space}+(and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)((?:(?=((?:[A-Z_a-z](?:(?=([0-9A-Z_a-z]*))\\4)|::)+))\\3)|(?<=operator)(?:[\\-\\!\\&\\*\\+\\<\\=\\>]+|\\(\\)|\\[\\]))\\p{space}*(\\()","dgv",{hiddenCaptures:[3,4]}),beginCaptures:{"1":{name:"variable.other.c"},"2":{name:"punctuation.section.parens.begin.bracket.round.initialization.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.bracket.round.initialization.c"}},name:"meta.initialization.c",patterns:[{include:"#function-call-innards"}]},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.block.begin.bracket.curly.c"}},end:/\}|(?=\p{space}*#\p{space}*e(?:lif|lse|ndif)\b)/dgv,endCaptures:{"0":{name:"punctuation.section.block.end.bracket.curly.c"}},patterns:[{include:"#block_innards"}]},{include:"#parens-block"},{include:"$self"}]},c_conditional_context:{patterns:[{include:"$self"},{include:"#block_innards"}]},c_function_call:{begin:new r("(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\p{space}*\\()(?=(?:(?=((?:[A-Z_a-z](?:(?=([0-9A-Z_a-z]*))\\2)|::)+))\\1)\\p{space}*\\(|(?<=operator)(?:[\\-\\!\\&\\*\\+\\<\\=\\>]+|\\(\\)|\\[\\])\\p{space}*\\()","dgv",{hiddenCaptures:[1,2]}),end:/(?<=\))(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.function-call.c",patterns:[{include:"#function-call-innards"}]},case_statement:{begin:new r("((?:(?=((?:(?:(?=((?<!\\p{space})\\p{space}+))\\3)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\7)[^\\/])*))\\6)((?:(?=(\\*+))\\9)/)))+|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$))))\\2))((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])case(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))","dgv",{hiddenCaptures:[2,3,6,7,9]}),beginCaptures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"5":{name:"keyword.control.case.c"}},end:/(:)/dgv,endCaptures:{"1":{name:"punctuation.separator.colon.case.c"}},name:"meta.conditional.case.c",patterns:[{include:"#evaluation_context"},{include:"#c_conditional_context"}]},comments:{patterns:[{patterns:[{patterns:[{begin:new r("^(?:(?=(\\p{space}*))\\1)(//[\\!\\/]+)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.documentation.c"}},end:/(?<=\n)(?<!\\\n)/dgv,name:"comment.line.double-slash.documentation.c",patterns:[{include:"#line_continuation_character"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:callergraph|callgraph|else|endif|f\$|f\[|f\]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|["-\%\.\<\=\>]|::|\||---??)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.italic.doxygen.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\](?:a|em?))\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.bold.doxygen.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\]b)\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.inline.raw.string.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\][cp])\p{space}+(\P{space}+)/dgv},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:a|anchor|[bc]|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|em??|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{patterns:[{match:/in|out/dgv,name:"keyword.other.parameter.direction.$0.c"}]},"3":{name:"variable.parameter.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\]param)(?:\p{space}*\[((?:,?\p{space}*(?:in|out)\p{space}*)+)\])?\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgv},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:arg|attention|authors??|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remarks??|result|returns??|retval|sa|see|short|since|test|throw|todo|tparam|version|warning|xrefitem)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|uml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/\b[A-Z]+:|@[_a-z]+:/dgv,name:"storage.type.class.gtkdoc"}]},{captures:{"1":{name:"punctuation.definition.comment.begin.documentation.c"},"2":{patterns:[{match:/(?<=[\!\*\/\p{space}])[\@\\](?:callergraph|callgraph|else|endif|f\$|f\[|f\]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|["-\%\.\<\=\>]|::|\||---??)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.italic.doxygen.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\](?:a|em?))\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.bold.doxygen.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\]b)\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.inline.raw.string.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\][cp])\p{space}+(\P{space}+)/dgv},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:a|anchor|[bc]|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|em??|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{patterns:[{match:/in|out/dgv,name:"keyword.other.parameter.direction.$0.c"}]},"3":{name:"variable.parameter.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\]param)(?:\p{space}*\[((?:,?\p{space}*(?:in|out)\p{space}*)+)\])?\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgv},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:arg|attention|authors??|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remarks??|result|returns??|retval|sa|see|short|since|test|throw|todo|tparam|version|warning|xrefitem)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|uml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/\b[A-Z]+:|@[_a-z]+:/dgv,name:"storage.type.class.gtkdoc"}]},"3":{name:"punctuation.definition.comment.end.documentation.c"}},match:/(\/\*[\!\*]+(?=\p{space}))([^\n]+)([\!\*]*\*\/)/dgv,name:"comment.block.documentation.c"},{begin:new r("((?:(?=(\\p{space}*))\\2)/\\*[\\!\\*]+(?:(?:\\n|(?=\\n?$))|(?=\\p{space})))","dgv",{hiddenCaptures:[2]}),beginCaptures:{"1":{name:"punctuation.definition.comment.begin.documentation.c"}},end:/([\!\*]*\*\/)/dgv,endCaptures:{"1":{name:"punctuation.definition.comment.end.documentation.c"}},name:"comment.block.documentation.c",patterns:[{match:/(?<=[\!\*\/\p{space}])[\@\\](?:callergraph|callgraph|else|endif|f\$|f\[|f\]|hidecallergraph|hidecallgraph|hiderefby|hiderefs|hideinitializer|htmlinclude|n|nosubgrouping|private|privatesection|protected|protectedsection|public|publicsection|pure|showinitializer|showrefby|showrefs|tableofcontents|["-\%\.\<\=\>]|::|\||---??)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.italic.doxygen.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\](?:a|em?))\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.bold.doxygen.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\]b)\p{space}+(\P{space}+)/dgv},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{name:"markup.inline.raw.string.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\][cp])\p{space}+(\P{space}+)/dgv},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:a|anchor|[bc]|cite|copybrief|copydetail|copydoc|def|dir|dontinclude|em??|emoji|enum|example|extends|file|idlexcept|implements|include|includedoc|includelineno|latexinclude|link|memberof|namespace|p|package|ref|refitem|related|relates|relatedalso|relatesalso|verbinclude)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:addindex|addtogroup|category|class|defgroup|diafile|dotfile|elseif|fn|headerfile|if|ifnot|image|ingroup|interface|line|mainpage|mscfile|name|overload|page|property|protocol|section|skip|skipline|snippet|snippetdoc|snippetlineno|struct|subpage|subsection|subsubsection|typedef|union|until|vhdlflow|weakgroup)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{captures:{"1":{name:"storage.type.class.doxygen.c"},"2":{patterns:[{match:/in|out/dgv,name:"keyword.other.parameter.direction.$0.c"}]},"3":{name:"variable.parameter.c"}},match:/((?<=[\!\*\/\p{space}])[\@\\]param)(?:\p{space}*\[((?:,?\p{space}*(?:in|out)\p{space}*)+)\])?\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgv},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:arg|attention|authors??|brief|bug|copyright|date|deprecated|details|exception|invariant|li|note|par|paragraph|param|post|pre|remarks??|result|returns??|retval|sa|see|short|since|test|throw|todo|tparam|version|warning|xrefitem)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/(?<=[\!\*\/\p{space}])[\@\\](?:code|cond|docbookonly|dot|htmlonly|internal|latexonly|link|manonly|msc|parblock|rtfonly|secreflist|uml|verbatim|xmlonly|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|enduml|endverbatim|endxmlonly)\b(?:\{[^\}]*\})?/dgv,name:"storage.type.class.doxygen.c"},{match:/\b[A-Z]+:|@[_a-z]+:/dgv,name:"storage.type.class.gtkdoc"}]},{captures:{"1":{name:"meta.toc-list.banner.block.c"}},match:/^\/\* =(\p{space}*[^\n]*?)\p{space}*= \*\/(?=\n?$)\n?/dgv,name:"comment.block.banner.c"},{begin:/(\/\*)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.begin.c"}},end:/(\*\/)/dgv,endCaptures:{"1":{name:"punctuation.definition.comment.end.c"}},name:"comment.block.c"},{captures:{"1":{name:"meta.toc-list.banner.line.c"}},match:/^\/\/ =(\p{space}*[^\n]*?)\p{space}*=(?=\n?$)\n?/dgv,name:"comment.line.banner.c"},{begin:/((?:^[\t ]+)?)(?=\/\/)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.c"}},end:new r("(?!^)","dgv",{strategy:"clip_search"}),patterns:[{begin:/(\/\/)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.c"}},end:/(?=\n)/dgv,name:"comment.line.double-slash.c",patterns:[{include:"#line_continuation_character"}]}]}]},{include:"#block_comment"},{include:"#line_comment"}]},{include:"#block_comment"},{include:"#line_comment"}]},default_statement:{begin:new r("((?:(?=((?:(?:(?=((?<!\\p{space})\\p{space}+))\\3)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\7)[^\\/])*))\\6)((?:(?=(\\*+))\\9)/)))+|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$))))\\2))((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])default(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))","dgv",{hiddenCaptures:[2,3,6,7,9]}),beginCaptures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"5":{name:"keyword.control.default.c"}},end:/(:)/dgv,endCaptures:{"1":{name:"punctuation.separator.colon.case.default.c"}},name:"meta.conditional.case.c",patterns:[{include:"#evaluation_context"},{include:"#c_conditional_context"}]},disabled:{begin:/^\p{space}*#\p{space}*if(n?def)?\b[^\n]*(?=\n?$)/dgv,end:/^\p{space}*#\p{space}*endif\b/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},evaluation_context:{patterns:[{include:"#function-call-innards"},{include:"$self"}]},"function-call-innards":{patterns:[{include:"#comments"},{include:"#storage_types"},{include:"#method_access"},{include:"#member_access"},{include:"#operators"},{begin:new r("(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\p{space}*\\()((?:(?=((?:[A-Z_a-z](?:(?=([0-9A-Z_a-z]*))\\3)|::)+))\\2)|(?<=operator)(?:[\\-\\!\\&\\*\\+\\<\\=\\>]+|\\(\\)|\\[\\]))\\p{space}*(\\()","dgv",{hiddenCaptures:[2,3]}),beginCaptures:{"1":{name:"entity.name.function.c"},"2":{name:"punctuation.section.arguments.begin.bracket.round.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.arguments.end.bracket.round.c"}},patterns:[{include:"#function-call-innards"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.bracket.round.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.bracket.round.c"}},patterns:[{include:"#function-call-innards"}]},{include:"#block_innards"}]},"function-innards":{patterns:[{include:"#comments"},{include:"#storage_types"},{include:"#operators"},{include:"#vararg_ellipses"},{begin:new r("(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\p{space}*\\()((?:(?=((?:[A-Z_a-z](?:(?=([0-9A-Z_a-z]*))\\3)|::)+))\\2)|(?<=operator)(?:[\\-\\!\\&\\*\\+\\<\\=\\>]+|\\(\\)|\\[\\]))\\p{space}*(\\()","dgv",{hiddenCaptures:[2,3]}),beginCaptures:{"1":{name:"entity.name.function.c"},"2":{name:"punctuation.section.parameters.begin.bracket.round.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parameters.end.bracket.round.c"}},name:"meta.function.definition.parameters.c",patterns:[{include:"#probably_a_parameter"},{include:"#function-innards"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.bracket.round.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.bracket.round.c"}},patterns:[{include:"#function-innards"}]},{include:"$self"}]},inline_comment:{patterns:[{patterns:[{captures:{"1":{name:"comment.block.c punctuation.definition.comment.begin.c"},"2":{name:"comment.block.c"},"3":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]}},match:new r("(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\4)[^\\/])*))\\3)((?:(?=(\\*+))\\6)/))","dgv",{hiddenCaptures:[3,4,6]})},{captures:{"1":{name:"comment.block.c punctuation.definition.comment.begin.c"},"2":{name:"comment.block.c"},"3":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]}},match:new r("(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\4)[^\\/])*))\\3)((?:(?=(\\*+))\\6)/))","dgv",{hiddenCaptures:[3,4,6]})}]},{captures:{"1":{name:"comment.block.c punctuation.definition.comment.begin.c"},"2":{name:"comment.block.c"},"3":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]}},match:new r("(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\4)[^\\/])*))\\3)((?:(?=(\\*+))\\6)/))","dgv",{hiddenCaptures:[3,4,6]})}]},line_comment:{patterns:[{begin:new r("(?:(?=(\\p{space}*))\\1)(//)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.c"}},end:/(?<=\n)(?<!\\\n)/dgv,endCaptures:{},name:"comment.line.double-slash.c",patterns:[{include:"#line_continuation_character"}]},{begin:new r("(?:(?=(\\p{space}*))\\1)(//)","dgv",{hiddenCaptures:[1]}),beginCaptures:{"1":{name:"punctuation.definition.comment.c"}},end:/(?<=\n)(?<!\\\n)/dgv,endCaptures:{},name:"comment.line.double-slash.c",patterns:[{include:"#line_continuation_character"}]}]},line_continuation_character:{patterns:[{captures:{"1":{name:"constant.character.escape.line-continuation.c"}},match:/(\\)\n/dgv}]},member_access:{captures:{"1":{name:"variable.other.object.access.c"},"2":{name:"punctuation.separator.dot-access.c"},"3":{name:"punctuation.separator.pointer-access.c"},"4":{patterns:[{include:"#member_access"},{include:"#method_access"},{captures:{"1":{name:"variable.other.object.access.c"},"2":{name:"punctuation.separator.dot-access.c"},"3":{name:"punctuation.separator.pointer-access.c"}},match:/((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*|(?<=[\]\)]))\p{space}*)(?:(\.\*?)|(->\*?))/dgv}]},"5":{name:"variable.other.member.c"}},match:/((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*|(?<=[\]\)]))\p{space}*)(?:(\.\*?)|(->\*?))((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*(?:\.\*?|->\*?)\p{space}*)*)\p{space}*\b((?!(?:atomic_uint_least64_t|atomic_uint_least16_t|atomic_uint_least32_t|atomic_uint_least8_t|atomic_int_least16_t|atomic_uint_fast64_t|atomic_uint_fast32_t|atomic_int_least64_t|atomic_int_least32_t|pthread_rwlockattr_t|atomic_uint_fast16_t|pthread_mutexattr_t|atomic_int_fast16_t|atomic_uint_fast8_t|atomic_int_fast64_t|atomic_int_least8_t|atomic_int_fast32_t|atomic_int_fast8_t|pthread_condattr_t|atomic_uintptr_t|atomic_ptrdiff_t|pthread_rwlock_t|atomic_uintmax_t|pthread_mutex_t|atomic_intmax_t|atomic_intptr_t|atomic_char32_t|atomic_char16_t|pthread_attr_t|atomic_wchar_t|uint_least64_t|uint_least32_t|uint_least16_t|pthread_cond_t|pthread_once_t|uint_fast64_t|uint_fast16_t|atomic_size_t|uint_least8_t|int_least64_t|int_least32_t|int_least16_t|pthread_key_t|atomic_ullong|atomic_ushort|uint_fast32_t|atomic_schar|atomic_short|uint_fast8_t|int_fast64_t|int_fast32_t|int_fast16_t|atomic_ulong|atomic_llong|int_least8_t|atomic_uchar|memory_order|suseconds_t|int_fast8_t|atomic_bool|atomic_char|atomic_uint|atomic_long|atomic_int|useconds_t|_Imaginary|blksize_t|pthread_t|in_addr_t|uintptr_t|in_port_t|uintmax_t|blkcnt_t|uint16_t|unsigned|_Complex|uint32_t|intptr_t|intmax_t|uint64_t|u_quad_t|int64_t|int32_t|ssize_t|caddr_t|clock_t|uint8_t|u_short|swblk_t|segsz_t|int16_t|fixpt_t|daddr_t|nlink_t|qaddr_t|size_t|time_t|mode_t|signed|quad_t|ushort|u_long|u_char|double|int8_t|ino_t|uid_t|pid_t|_Bool|float|dev_t|div_t|short|gid_t|off_t|u_int|key_t|id_t|uint|long|void|char|bool|id_t|int)\b)[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*\b(?!\())/dgv},method_access:{begin:/((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*|(?<=[\]\)]))\p{space}*)(?:(\.\*?)|(->\*?))((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*(?:\.\*?|->\*?)\p{space}*)*)\p{space}*([A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*)(\()/dgv,beginCaptures:{"1":{name:"variable.other.object.access.c"},"2":{name:"punctuation.separator.dot-access.c"},"3":{name:"punctuation.separator.pointer-access.c"},"4":{patterns:[{include:"#member_access"},{include:"#method_access"},{captures:{"1":{name:"variable.other.object.access.c"},"2":{name:"punctuation.separator.dot-access.c"},"3":{name:"punctuation.separator.pointer-access.c"}},match:/((?:[A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*|(?<=[\]\)]))\p{space}*)(?:(\.\*?)|(->\*?))/dgv}]},"5":{name:"entity.name.function.member.c"},"6":{name:"punctuation.section.arguments.begin.bracket.round.function.member.c"}},contentName:"meta.function-call.member.c",end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.section.arguments.end.bracket.round.function.member.c"}},patterns:[{include:"#function-call-innards"}]},numbers:{captures:{"0":{patterns:[{begin:/(?=[^\n])/dgv,end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"keyword.other.unit.hexadecimal.c"},"2":{name:"constant.numeric.hexadecimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"3":{name:"punctuation.separator.constant.numeric"},"4":{name:"constant.numeric.hexadecimal.c"},"5":{name:"constant.numeric.hexadecimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"6":{name:"punctuation.separator.constant.numeric"},"8":{name:"keyword.other.unit.exponent.hexadecimal.c"},"9":{name:"keyword.operator.plus.exponent.hexadecimal.c"},"10":{name:"keyword.operator.minus.exponent.hexadecimal.c"},"11":{name:"constant.numeric.exponent.hexadecimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"12":{name:"keyword.other.unit.suffix.floating-point.c"}},match:/(0[Xx])(\p{AHex}(?:\p{AHex}|((?<=\p{AHex})'(?=\p{AHex})))*)?((?<=\p{AHex})\.|\.(?=\p{AHex}))(\p{AHex}(?:\p{AHex}|((?<=\p{AHex})'(?=\p{AHex})))*)?((?<!')([Pp])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})'(?=\p{AHex}))*))?([FLfl](?![\p{L}\p{M}\p{N}\p{Pc}]))?(?=\n?$)/dgvy},{captures:{"2":{name:"constant.numeric.decimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"3":{name:"punctuation.separator.constant.numeric"},"4":{name:"constant.numeric.decimal.point.c"},"5":{name:"constant.numeric.decimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"6":{name:"punctuation.separator.constant.numeric"},"8":{name:"keyword.other.unit.exponent.decimal.c"},"9":{name:"keyword.operator.plus.exponent.decimal.c"},"10":{name:"keyword.operator.minus.exponent.decimal.c"},"11":{name:"constant.numeric.exponent.decimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"12":{name:"keyword.other.unit.suffix.floating-point.c"}},match:/((?=[\.0-9])(?!0[BXbx]))([0-9](?:[0-9]|((?<=\p{AHex})'(?=\p{AHex})))*)?((?<=[0-9])\.|\.(?=[0-9]))([0-9](?:[0-9]|((?<=\p{AHex})'(?=\p{AHex})))*)?((?<!')([Ee])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})'(?=\p{AHex}))*))?([FLfl](?![\p{L}\p{M}\p{N}\p{Pc}]))?(?=\n?$)/dgvy},{captures:{"1":{name:"keyword.other.unit.binary.c"},"2":{name:"constant.numeric.binary.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"3":{name:"punctuation.separator.constant.numeric"},"4":{name:"keyword.other.unit.suffix.integer.c"}},match:/(0[Bb])([01](?:[01]|((?<=\p{AHex})'(?=\p{AHex})))*)((?:(?:(?:(?:(?:[Uu]|[Uu]ll?)|[Uu]LL?)|ll?[Uu]?)|LL?[Uu]?)|[Ff])(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?=\n?$)/dgvy},{captures:{"1":{name:"keyword.other.unit.octal.c"},"2":{name:"constant.numeric.octal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"3":{name:"punctuation.separator.constant.numeric"},"4":{name:"keyword.other.unit.suffix.integer.c"}},match:/(0)((?:[0-7]|((?<=\p{AHex})'(?=\p{AHex})))+)((?:(?:(?:(?:(?:[Uu]|[Uu]ll?)|[Uu]LL?)|ll?[Uu]?)|LL?[Uu]?)|[Ff])(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?=\n?$)/dgvy},{captures:{"1":{name:"keyword.other.unit.hexadecimal.c"},"2":{name:"constant.numeric.hexadecimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"3":{name:"punctuation.separator.constant.numeric"},"5":{name:"keyword.other.unit.exponent.hexadecimal.c"},"6":{name:"keyword.operator.plus.exponent.hexadecimal.c"},"7":{name:"keyword.operator.minus.exponent.hexadecimal.c"},"8":{name:"constant.numeric.exponent.hexadecimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"9":{name:"keyword.other.unit.suffix.integer.c"}},match:/(0[Xx])(\p{AHex}(?:\p{AHex}|((?<=\p{AHex})'(?=\p{AHex})))*)((?<!')([Pp])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})'(?=\p{AHex}))*))?((?:(?:(?:(?:(?:[Uu]|[Uu]ll?)|[Uu]LL?)|ll?[Uu]?)|LL?[Uu]?)|[Ff])(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?=\n?$)/dgvy},{captures:{"2":{name:"constant.numeric.decimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"3":{name:"punctuation.separator.constant.numeric"},"5":{name:"keyword.other.unit.exponent.decimal.c"},"6":{name:"keyword.operator.plus.exponent.decimal.c"},"7":{name:"keyword.operator.minus.exponent.decimal.c"},"8":{name:"constant.numeric.exponent.decimal.c",patterns:[{match:/(?<=\p{AHex})'(?=\p{AHex})/dgv,name:"punctuation.separator.constant.numeric"}]},"9":{name:"keyword.other.unit.suffix.integer.c"}},match:/((?=[\.0-9])(?!0[BXbx]))([0-9](?:[0-9]|((?<=\p{AHex})'(?=\p{AHex})))*)((?<!')([Ee])(\+?)(-?)([0-9](?:[0-9]|(?<=\p{AHex})'(?=\p{AHex}))*))?((?:(?:(?:(?:(?:[Uu]|[Uu]ll?)|[Uu]LL?)|ll?[Uu]?)|LL?[Uu]?)|[Ff])(?![\p{L}\p{M}\p{N}\p{Pc}]))?(?=\n?$)/dgvy},{match:/(?:['\.0-9A-Z_a-z]|(?<=[EPep])[\-\+])+/dgv,name:"invalid.illegal.constant.numeric"}]}]}},match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])\.?\p{Nd}(?:['\.0-9A-Z_a-z]|(?<=[EPep])[\-\+])*/dgv},operators:{patterns:[{match:/(?<![\$\p{L}\p{M}\p{N}\p{Pc}])(sizeof)(?![\$\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"keyword.operator.sizeof.c"},{match:/--/dgv,name:"keyword.operator.decrement.c"},{match:/\+\+/dgv,name:"keyword.operator.increment.c"},{match:/(?:[\-\%\*\+]|(?<!\()\/)=/dgv,name:"keyword.operator.assignment.compound.c"},{match:/(?:[\&\^]|<<|>>|\|)=/dgv,name:"keyword.operator.assignment.compound.bitwise.c"},{match:/<<|>>/dgv,name:"keyword.operator.bitwise.shift.c"},{match:/!=|<=|>=|==|[\<\>]/dgv,name:"keyword.operator.comparison.c"},{match:/&&|!|\|\|/dgv,name:"keyword.operator.logical.c"},{match:/[\&\^\|\~]/dgv,name:"keyword.operator.c"},{match:/=/dgv,name:"keyword.operator.assignment.c"},{match:/[\-\%\*\+\/]/dgv,name:"keyword.operator.c"},{begin:/(\?)/dgv,beginCaptures:{"1":{name:"keyword.operator.ternary.c"}},end:/(:)/dgv,endCaptures:{"1":{name:"keyword.operator.ternary.c"}},patterns:[{include:"#function-call-innards"},{include:"$self"}]}]},parens:{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.bracket.round.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.bracket.round.c"}},name:"meta.parens.c",patterns:[{include:"$self"}]},"parens-block":{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.bracket.round.c"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.bracket.round.c"}},name:"meta.parens.block.c",patterns:[{include:"#block_innards"},{match:/(?<!:):(?!:)/dgv,name:"punctuation.range-based.c"}]},"pragma-mark":{captures:{"1":{name:"meta.preprocessor.pragma.c"},"2":{name:"keyword.control.directive.pragma.pragma-mark.c"},"3":{name:"punctuation.definition.directive.c"},"4":{name:"entity.name.tag.pragma-mark.c"}},match:/^\p{space}*(((#)\p{space}*pragma\p{space}+mark)\p{space}+([^\n]*))/dgv,name:"meta.section.c"},predefined_macros:{patterns:[{captures:{"1":{name:"entity.name.other.preprocessor.macro.predefined.$1.c"}},match:new r("\\b(__cplusplus|__DATE__|__FILE__|__LINE__|__STDC__|__STDC_HOSTED__|__STDC_NO_COMPLEX__|__STDC_VERSION__|__STDCPP_THREADS__|__TIME__|NDEBUG|__OBJC__|__ASSEMBLER__|__ATOM__|__AVX__|__AVX2__|_CHAR_UNSIGNED|__CLR_VER|_CONTROL_FLOW_GUARD|__COUNTER__|__cplusplus_cli|__cplusplus_winrt|_CPPRTTI|_CPPUNWIND|_DEBUG|_DLL|__FUNCDNAME__|__FUNCSIG__|__FUNCTION__|_INTEGRAL_MAX_BITS|__INTELLISENSE__|_ISO_VOLATILE|_KERNEL_MODE|_M_AMD64|_M_ARM|_M_ARM_ARMV7VE|_M_ARM_FP|_M_ARM64|_M_CEE|_M_CEE_PURE|_M_CEE_SAFE|_M_FP_EXCEPT|_M_FP_FAST|_M_FP_PRECISE|_M_FP_STRICT|_M_IX86|_M_IX86_FP|_M_X64|_MANAGED|_MSC_BUILD|_MSC_EXTENSIONS|_MSC_FULL_VER|_MSC_VER|_MSVC_LANG|__MSVC_RUNTIME_CHECKS|_MT|_NATIVE_WCHAR_T_DEFINED|_OPENMP|_PREFAST|__TIMESTAMP__|_VC_NO_DEFAULTLIB|_WCHAR_T_DEFINED|_WIN32|_WIN64|_WINRT_DLL|_ATL_VER|_MFC_VER|__GFORTRAN__|__GNUC__|__GNUC_MINOR__|__GNUC_PATCHLEVEL__|__GNUG__|__STRICT_ANSI__|__BASE_FILE__|__INCLUDE_LEVEL__|__ELF__|__VERSION__|__OPTIMIZE__|__OPTIMIZE_SIZE__|__NO_INLINE__|__GNUC_STDC_INLINE__|__CHAR_UNSIGNED__|__WCHAR_UNSIGNED__|__REGISTER_PREFIX__|__SIZE_TYPE__|__PTRDIFF_TYPE__|__WCHAR_TYPE__|__WINT_TYPE__|__INTMAX_TYPE__|__UINTMAX_TYPE__|__SIG_ATOMIC_TYPE__|__INT8_TYPE__|__INT16_TYPE__|__INT32_TYPE__|__INT64_TYPE__|__UINT8_TYPE__|__UINT16_TYPE__|__UINT32_TYPE__|__UINT64_TYPE__|__INT_LEAST8_TYPE__|__INT_LEAST16_TYPE__|__INT_LEAST32_TYPE__|__INT_LEAST64_TYPE__|__UINT_LEAST8_TYPE__|__UINT_LEAST16_TYPE__|__UINT_LEAST32_TYPE__|__UINT_LEAST64_TYPE__|__INT_FAST8_TYPE__|__INT_FAST16_TYPE__|__INT_FAST32_TYPE__|__INT_FAST64_TYPE__|__UINT_FAST8_TYPE__|__UINT_FAST16_TYPE__|__UINT_FAST32_TYPE__|__UINT_FAST64_TYPE__|__INTPTR_TYPE__|__UINTPTR_TYPE__|__CHAR_BIT__|__SCHAR_MAX__|__WCHAR_MAX__|__SHRT_MAX__|__INT_MAX__|__LONG_MAX__|__LONG_LONG_MAX__|__WINT_MAX__|__SIZE_MAX__|__PTRDIFF_MAX__|__INTMAX_MAX__|__UINTMAX_MAX__|__SIG_ATOMIC_MAX__|__INT8_MAX__|__INT16_MAX__|__INT32_MAX__|__INT64_MAX__|__UINT8_MAX__|__UINT16_MAX__|__UINT32_MAX__|__UINT64_MAX__|__INT_LEAST8_MAX__|__INT_LEAST16_MAX__|__INT_LEAST32_MAX__|__INT_LEAST64_MAX__|__UINT_LEAST8_MAX__|__UINT_LEAST16_MAX__|__UINT_LEAST32_MAX__|__UINT_LEAST64_MAX__|__INT_FAST8_MAX__|__INT_FAST16_MAX__|__INT_FAST32_MAX__|__INT_FAST64_MAX__|__UINT_FAST8_MAX__|__UINT_FAST16_MAX__|__UINT_FAST32_MAX__|__UINT_FAST64_MAX__|__INTPTR_MAX__|__UINTPTR_MAX__|__WCHAR_MIN__|__WINT_MIN__|__SIG_ATOMIC_MIN__|__SCHAR_WIDTH__|__SHRT_WIDTH__|__INT_WIDTH__|__LONG_WIDTH__|__LONG_LONG_WIDTH__|__PTRDIFF_WIDTH__|__SIG_ATOMIC_WIDTH__|__SIZE_WIDTH__|__WCHAR_WIDTH__|__WINT_WIDTH__|__INT_LEAST8_WIDTH__|__INT_LEAST16_WIDTH__|__INT_LEAST32_WIDTH__|__INT_LEAST64_WIDTH__|__INT_FAST8_WIDTH__|__INT_FAST16_WIDTH__|__INT_FAST32_WIDTH__|__INT_FAST64_WIDTH__|__INTPTR_WIDTH__|__INTMAX_WIDTH__|__SIZEOF_INT__|__SIZEOF_LONG__|__SIZEOF_LONG_LONG__|__SIZEOF_SHORT__|__SIZEOF_POINTER__|__SIZEOF_FLOAT__|__SIZEOF_DOUBLE__|__SIZEOF_LONG_DOUBLE__|__SIZEOF_SIZE_T__|__SIZEOF_WCHAR_T__|__SIZEOF_WINT_T__|__SIZEOF_PTRDIFF_T__|__BYTE_ORDER__|__ORDER_LITTLE_ENDIAN__|__ORDER_BIG_ENDIAN__|__ORDER_PDP_ENDIAN__|__FLOAT_WORD_ORDER__|__DEPRECATED|__EXCEPTIONS|__GXX_RTTI|__USING_SJLJ_EXCEPTIONS__|__GXX_EXPERIMENTAL_CXX0X__|__GXX_WEAK__|__NEXT_RUNTIME__|__LP64__|_LP64|__SSP__|__SSP_ALL__|__SSP_STRONG__|__SSP_EXPLICIT__|__SANITIZE_ADDRESS__|__SANITIZE_THREAD__|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8|__GCC_HAVE_SYNC_COMPARE_AND_SWAP_16|__HAVE_SPECULATION_SAFE_VALUE|__GCC_HAVE_DWARF2_CFI_ASM|__FP_FAST_FMAF??|__FP_FAST_FMAL|__FP_FAST_FMAF16|__FP_FAST_FMAF32|__FP_FAST_FMAF64|__FP_FAST_FMAF128|__FP_FAST_FMAF32X|__FP_FAST_FMAF64X|__FP_FAST_FMAF128X|__GCC_IEC_559|__GCC_IEC_559_COMPLEX|__NO_MATH_ERRNO__|__has_builtin|__has_feature|__has_extension|__has_cpp_attribute|__has_c_attribute|__has_attribute|__has_declspec_attribute|__is_identifier|__has_include|__has_include_next|__has_warning|__BASE_FILE__|__FILE_NAME__|__clang__|__clang_major__|__clang_minor__|__clang_patchlevel__|__clang_version__|__fp16|_Float16)\\b","dgv",{lazyCompile:!0})},{match:/\b__([A-Z_]+)__\b/dgv,name:"entity.name.other.preprocessor.macro.predefined.probably.$1.c"}]},"preprocessor-rule-conditional":{patterns:[{begin:/^\p{space}*((#)\p{space}*if(?:n?def)?)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/^\p{space}*((#)\p{space}*endif)\b/dgv,endCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#preprocessor-rule-enabled-elif"},{include:"#preprocessor-rule-enabled-else"},{include:"#preprocessor-rule-disabled-elif"},{begin:/^\p{space}*((#)\p{space}*elif)\b/dgv,beginCaptures:{"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"$self"}]},{captures:{"0":{name:"invalid.illegal.stray-$1.c"}},match:/^\p{space}*#\p{space}*(e(?:lse|lif|ndif))\b/dgv}]},"preprocessor-rule-conditional-block":{patterns:[{begin:/^\p{space}*((#)\p{space}*if(?:n?def)?)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/^\p{space}*((#)\p{space}*endif)\b/dgv,endCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#preprocessor-rule-enabled-elif-block"},{include:"#preprocessor-rule-enabled-else-block"},{include:"#preprocessor-rule-disabled-elif"},{begin:/^\p{space}*((#)\p{space}*elif)\b/dgv,beginCaptures:{"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#block_innards"}]},{captures:{"0":{name:"invalid.illegal.stray-$1.c"}},match:/^\p{space}*#\p{space}*(e(?:lse|lif|ndif))\b/dgv}]},"preprocessor-rule-conditional-line":{patterns:[{match:/\bdefined\b(?:\p{space}*(?=\n?$)|(?=\p{space}*\(*\p{space}*(?!defined\b)[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*\b\p{space}*\)*\p{space}*(?:\n|\/\/|\/\*|[\:\?]|&&|\|\||\\\p{space}*\n)))/dgv,name:"keyword.control.directive.conditional.c"},{match:/\bdefined\b/dgv,name:"invalid.illegal.macro-name.c"},{include:"#comments"},{include:"#strings"},{include:"#numbers"},{begin:/\?/dgv,beginCaptures:{"0":{name:"keyword.operator.ternary.c"}},end:/:/dgv,endCaptures:{"0":{name:"keyword.operator.ternary.c"}},patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#operators"},{match:/\b(NULL|true|false|TRUE|FALSE)\b/dgv,name:"constant.language.c"},{match:/[\$A-Z_a-z][\$\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"entity.name.function.preprocessor.c"},{include:"#line_continuation_character"},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.bracket.round.c"}},end:/\)|(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.bracket.round.c"}},patterns:[{include:"#preprocessor-rule-conditional-line"}]}]},"preprocessor-rule-define-line-blocks":{patterns:[{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.block.begin.bracket.curly.c"}},end:/\}|(?=\p{space}*#\p{space}*e(?:lif|lse|ndif)\b)|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"0":{name:"punctuation.section.block.end.bracket.curly.c"}},patterns:[{include:"#preprocessor-rule-define-line-blocks"},{include:"#preprocessor-rule-define-line-contents"}]},{include:"#preprocessor-rule-define-line-contents"}]},"preprocessor-rule-define-line-contents":{patterns:[{include:"#vararg_ellipses"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.block.begin.bracket.curly.c"}},end:/\}|(?=\p{space}*#\p{space}*e(?:lif|lse|ndif)\b)|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"0":{name:"punctuation.section.block.end.bracket.curly.c"}},name:"meta.block.c",patterns:[{include:"#preprocessor-rule-define-line-blocks"}]},{match:/\(/dgv,name:"punctuation.section.parens.begin.bracket.round.c"},{match:/\)/dgv,name:"punctuation.section.parens.end.bracket.round.c"},{begin:new r("(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas|asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|long|short|signed|struct|typedef|union|unsigned|void)\\p{space}*\\()(?=(?:(?=((?:[A-Z_a-z](?:(?=([0-9A-Z_a-z]*))\\2)|::)+))\\1)\\p{space}*\\(|(?<=operator)(?:[\\-\\!\\&\\*\\+\\<\\=\\>]+|\\(\\)|\\[\\])\\p{space}*\\()","dgv",{hiddenCaptures:[1,2]}),end:/(?<=\))(?![\p{L}\p{M}\p{N}\p{Pc}])|(?<!\\)(?=\p{space}*\n)/dgv,name:"meta.function.c",patterns:[{include:"#preprocessor-rule-define-line-functions"}]},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/"|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.double.c",patterns:[{include:"#string_escaped_char"},{include:"#string_placeholder"},{include:"#line_continuation_character"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/'|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.single.c",patterns:[{include:"#string_escaped_char"},{include:"#line_continuation_character"}]},{include:"#method_access"},{include:"#member_access"},{include:"$self"}]},"preprocessor-rule-define-line-functions":{patterns:[{include:"#comments"},{include:"#storage_types"},{include:"#vararg_ellipses"},{include:"#method_access"},{include:"#member_access"},{include:"#operators"},{begin:new r("(?!(?:while|for|do|if|else|switch|catch|enumerate|return|typeid|alignof|alignas|sizeof|[cr]?iterate|and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|alignof|alignas)\\p{space}*\\()((?:(?=((?:[A-Z_a-z](?:(?=([0-9A-Z_a-z]*))\\3)|::)+))\\2)|(?<=operator)(?:[\\-\\!\\&\\*\\+\\<\\=\\>]+|\\(\\)|\\[\\]))\\p{space}*(\\()","dgv",{hiddenCaptures:[2,3]}),beginCaptures:{"1":{name:"entity.name.function.c"},"2":{name:"punctuation.section.arguments.begin.bracket.round.c"}},end:/(\))|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"1":{name:"punctuation.section.arguments.end.bracket.round.c"}},patterns:[{include:"#preprocessor-rule-define-line-functions"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.bracket.round.c"}},end:/(\))|(?<!\\)(?=\p{space}*\n)/dgv,endCaptures:{"1":{name:"punctuation.section.parens.end.bracket.round.c"}},patterns:[{include:"#preprocessor-rule-define-line-functions"}]},{include:"#preprocessor-rule-define-line-contents"}]},"preprocessor-rule-disabled":{patterns:[{begin:/^\p{space}*((#)\p{space}*if)\b(?=\p{space}*\(*\b0+\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/^\p{space}*((#)\p{space}*endif)\b/dgv,endCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{include:"#preprocessor-rule-enabled-elif"},{include:"#preprocessor-rule-enabled-else"},{include:"#preprocessor-rule-disabled-elif"},{begin:/^\p{space}*((#)\p{space}*elif)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*e(?:lif|lse|ndif))\b)/dgv,patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"$self"}]},{begin:/\n/dgv,contentName:"comment.block.preprocessor.if-branch.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]}]}]},"preprocessor-rule-disabled-block":{patterns:[{begin:/^\p{space}*((#)\p{space}*if)\b(?=\p{space}*\(*\b0+\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/^\p{space}*((#)\p{space}*endif)\b/dgv,endCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{include:"#preprocessor-rule-enabled-elif-block"},{include:"#preprocessor-rule-enabled-else-block"},{include:"#preprocessor-rule-disabled-elif"},{begin:/^\p{space}*((#)\p{space}*elif)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*e(?:lif|lse|ndif))\b)/dgv,patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#block_innards"}]},{begin:/\n/dgv,contentName:"comment.block.preprocessor.if-branch.in-block.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]}]}]},"preprocessor-rule-disabled-elif":{begin:/^\p{space}*((#)\p{space}*elif)\b(?=\p{space}*\(*\b0+\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*e(?:lif|lse|ndif))\b)/dgv,patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{begin:/\n/dgv,contentName:"comment.block.preprocessor.elif-branch.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]}]},"preprocessor-rule-enabled":{patterns:[{begin:/^\p{space}*((#)\p{space}*if)\b(?=\p{space}*\(*\b0*1\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"},"3":{name:"constant.numeric.preprocessor.c"}},end:/^\p{space}*((#)\p{space}*endif)\b/dgv,endCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{begin:/^\p{space}*((#)\p{space}*else)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.else-branch.c",end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{begin:/^\p{space}*((#)\p{space}*elif)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.if-branch.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{begin:/\n/dgv,end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"$self"}]}]}]},"preprocessor-rule-enabled-block":{patterns:[{begin:/^\p{space}*((#)\p{space}*if)\b(?=\p{space}*\(*\b0*1\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/^\p{space}*((#)\p{space}*endif)\b/dgv,endCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{begin:/^\p{space}*((#)\p{space}*else)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.else-branch.in-block.c",end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{begin:/^\p{space}*((#)\p{space}*elif)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.if-branch.in-block.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{begin:/\n/dgv,end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#block_innards"}]}]}]},"preprocessor-rule-enabled-elif":{begin:/^\p{space}*((#)\p{space}*elif)\b(?=\p{space}*\(*\b0*1\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{begin:/\n/dgv,end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{begin:/^\p{space}*((#)\p{space}*(else))\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.elif-branch.c",end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{begin:/^\p{space}*((#)\p{space}*(elif))\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.elif-branch.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{include:"$self"}]}]},"preprocessor-rule-enabled-elif-block":{begin:/^\p{space}*((#)\p{space}*elif)\b(?=\p{space}*\(*\b0*1\b\)*\p{space}*(?:(?=\n?$)|\/\/|\/\*))/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{begin:/(?=[^\n])(?!\/(?:\/|\*(?![^\n]*\\\p{space}*\n)))/dgvy,end:/(?=\/\/)|(?=\/\*(?![^\n]*\\\p{space}*\n))|(?<!\\)(?=\n)/dgv,name:"meta.preprocessor.c",patterns:[{include:"#preprocessor-rule-conditional-line"}]},{include:"#comments"},{begin:/\n/dgv,end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{begin:/^\p{space}*((#)\p{space}*(else))\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.elif-branch.in-block.c",end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{begin:/^\p{space}*((#)\p{space}*(elif))\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},contentName:"comment.block.preprocessor.elif-branch.c",end:/(?=^\p{space}*((#)\p{space}*e(?:lse|lif|ndif))\b)/dgv,patterns:[{include:"#disabled"},{include:"#pragma-mark"}]},{include:"#block_innards"}]}]},"preprocessor-rule-enabled-else":{begin:/^\p{space}*((#)\p{space}*else)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{include:"$self"}]},"preprocessor-rule-enabled-else-block":{begin:/^\p{space}*((#)\p{space}*else)\b/dgv,beginCaptures:{"0":{name:"meta.preprocessor.c"},"1":{name:"keyword.control.directive.conditional.c"},"2":{name:"punctuation.definition.directive.c"}},end:/(?=^\p{space}*((#)\p{space}*endif)\b)/dgv,patterns:[{include:"#block_innards"}]},probably_a_parameter:{captures:{"1":{name:"variable.parameter.probably.c"}},match:/(?<=[0-9A-Z_a-z] |[\]\&\)\*\>])\p{space}*([A-Z_a-z][\p{L}\p{M}\p{N}\p{Pc}]*)\p{space}*(?=(?:\[\]\p{space}*)?[\)\,])/dgv},static_assert:{begin:new r("((?:(?=((?:(?:(?=((?<!\\p{space})\\p{space}+))\\3)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\7)[^\\/])*))\\6)((?:(?=(\\*+))\\9)/)))+|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$))))\\2))((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])static_assert|_Static_assert(?![\\p{L}\\p{M}\\p{N}\\p{Pc}]))((?:(?=((?:(?:(?=((?<!\\p{space})\\p{space}+))\\13)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\17)[^\\/])*))\\16)((?:(?=(\\*+))\\19)/)))+|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$))))\\12))(\\()","dgv",{hiddenCaptures:[2,3,6,7,9,12,13,16,17,19]}),beginCaptures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"5":{name:"keyword.other.static_assert.c"},"6":{patterns:[{include:"#inline_comment"}]},"7":{name:"comment.block.c punctuation.definition.comment.begin.c"},"8":{name:"comment.block.c"},"9":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"10":{name:"punctuation.section.arguments.begin.bracket.round.static_assert.c"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.section.arguments.end.bracket.round.static_assert.c"}},patterns:[{begin:/(,)\p{space}*(?=(?:L|u8?|U\p{space}*")?)/dgv,beginCaptures:{"1":{name:"punctuation.separator.delimiter.comma.c"}},end:/(?=\))/dgv,name:"meta.static_assert.message.c",patterns:[{include:"#string_context"}]},{include:"#evaluation_context"}]},storage_types:{patterns:[{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?:unsigned|signed|double|_Bool|short|float|long|void|char|bool|int)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"storage.type.built-in.primitive.c"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(?:atomic_uint_least64_t|atomic_uint_least16_t|atomic_uint_least32_t|pthread_rwlockattr_t|atomic_uint_fast64_t|atomic_uint_fast32_t|atomic_uint_fast16_t|atomic_int_least64_t|atomic_int_least32_t|atomic_int_least16_t|atomic_uint_least8_t|atomic_uint_fast8_t|atomic_int_least8_t|atomic_int_fast16_t|pthread_mutexattr_t|atomic_int_fast32_t|atomic_int_fast64_t|atomic_int_fast8_t|pthread_condattr_t|atomic_ptrdiff_t|pthread_rwlock_t|atomic_uintptr_t|atomic_uintmax_t|atomic_intmax_t|atomic_intptr_t|atomic_char32_t|atomic_char16_t|pthread_mutex_t|pthread_cond_t|atomic_wchar_t|uint_least64_t|uint_least32_t|uint_least16_t|pthread_once_t|pthread_attr_t|int_least32_t|pthread_key_t|int_least16_t|int_least64_t|uint_least8_t|uint_fast16_t|uint_fast32_t|uint_fast64_t|atomic_ushort|atomic_ullong|atomic_size_t|int_fast16_t|int_fast64_t|uint_fast8_t|atomic_short|atomic_uchar|atomic_schar|int_least8_t|memory_order|atomic_llong|atomic_ulong|int_fast32_t|atomic_long|atomic_uint|atomic_char|int_fast8_t|suseconds_t|atomic_bool|atomic_int|_Imaginary|useconds_t|in_port_t|uintmax_t|pthread_t|blksize_t|in_addr_t|uintptr_t|blkcnt_t|uint16_t|uint32_t|uint64_t|u_quad_t|_Complex|intptr_t|intmax_t|segsz_t|u_short|nlink_t|uint8_t|int64_t|int32_t|int16_t|fixpt_t|daddr_t|caddr_t|qaddr_t|ssize_t|clock_t|swblk_t|u_long|mode_t|int8_t|time_t|ushort|u_char|quad_t|size_t|pid_t|gid_t|uid_t|dev_t|div_t|off_t|u_int|key_t|ino_t|uint|id_t)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"storage.type.built-in.c"},{match:/\b(enum|struct|union)\b/dgv,name:"storage.type.$1.c"},{begin:/\b(__asm__|asm)\b\p{space}*((?:volatile)?)/dgv,beginCaptures:{"1":{name:"storage.type.asm.c"},"2":{name:"storage.modifier.c"}},end:new r("(?!^)","dgv",{strategy:"clip_search"}),name:"meta.asm.c",patterns:[{captures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]}},match:new r("^((?:(?:(?=(\\p{space}+))\\2)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\6)[^\\/])*))\\5)((?:(?=(\\*+))\\8)/)))+?|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$)))(?:\\n|(?=\\n?$))","dgv",{hiddenCaptures:[2,5,6,8]})},{include:"#comments"},{begin:new r("(((?:(?:(?=(\\p{space}+))\\3)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\7)[^\\/])*))\\6)((?:(?=(\\*+))\\9)/)))+?|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$)))\\()","dgv",{hiddenCaptures:[3,6,7,9]}),beginCaptures:{"1":{name:"punctuation.section.parens.begin.bracket.round.assembly.c"},"2":{patterns:[{include:"#inline_comment"}]},"3":{name:"comment.block.c punctuation.definition.comment.begin.c"},"4":{name:"comment.block.c"},"5":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.section.parens.end.bracket.round.assembly.c"}},patterns:[{begin:/(R?)(")/dgv,beginCaptures:{"1":{name:"meta.encoding.c"},"2":{name:"punctuation.definition.string.begin.assembly.c"}},contentName:"meta.embedded.assembly.c",end:/(")/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.assembly.c"}},name:"string.quoted.double.c",patterns:[{include:"source.asm"},{include:"source.x86"},{include:"source.x86_64"},{include:"source.arm"},{include:"#backslash_escapes"},{include:"#string_escaped_char"}]},{begin:/(\()/dgv,beginCaptures:{"1":{name:"punctuation.section.parens.begin.bracket.round.assembly.inner.c"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.section.parens.end.bracket.round.assembly.inner.c"}},patterns:[{include:"#evaluation_context"}]},{captures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"5":{name:"variable.other.asm.label.c"},"6":{patterns:[{include:"#inline_comment"}]},"7":{name:"comment.block.c punctuation.definition.comment.begin.c"},"8":{name:"comment.block.c"},"9":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]}},match:new r("\\[((?:(?:(?=(\\p{space}+))\\2)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\6)[^\\/])*))\\5)((?:(?=(\\*+))\\8)/)))+?|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$)))([A-Z_a-z][\\p{L}\\p{M}\\p{N}\\p{Pc}]*)((?:(?:(?=(\\p{space}+))\\11)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\15)[^\\/])*))\\14)((?:(?=(\\*+))\\17)/)))+?|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$)))\\]","dgv",{hiddenCaptures:[2,5,6,8,11,14,15,17]})},{match:/:/dgv,name:"punctuation.separator.delimiter.colon.assembly.c"},{include:"#comments"}]}]}]},string_escaped_char:{patterns:[{match:/\\(["'\?\\abefnprtv]|[0-3]\p{Nd}{0,2}|[4-7]\p{Nd}?|x\p{AHex}{0,2}|u\p{AHex}{0,4}|U\p{AHex}{0,8})/dgv,name:"constant.character.escape.c"},{match:/\\[^\n]/dgv,name:"invalid.illegal.unknown-escape.c"}]},string_placeholder:{patterns:[{match:/%(\p{Nd}+\$)?[\- \#'\+0]*[\,\:\;_]?((-?\p{Nd}+)|\*(-?\p{Nd}+\$)?)?(\.((-?\p{Nd}+)|\*(-?\p{Nd}+\$)?)?)?(hh?|ll|[Ljlqtz]|vh|vl?|hv|hl)?[\%AC-GOSUXac-ginopsux]/dgv,name:"constant.other.placeholder.c"},{captures:{"1":{name:"invalid.illegal.placeholder.c"}},match:/(%)(?!"\p{space}*(PRI|SCN))/dgv}]},strings:{patterns:[{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.double.c",patterns:[{include:"#string_escaped_char"},{include:"#string_placeholder"},{include:"#line_continuation_character"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.c"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.c"}},name:"string.quoted.single.c",patterns:[{include:"#string_escaped_char"},{include:"#line_continuation_character"}]}]},switch_conditional_parentheses:{begin:new r("((?:(?=((?:(?:(?=((?<!\\p{space})\\p{space}+))\\3)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\7)[^\\/])*))\\6)((?:(?=(\\*+))\\9)/)))+|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$))))\\2))(\\()","dgv",{hiddenCaptures:[2,3,6,7,9]}),beginCaptures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{name:"comment.block.c punctuation.definition.comment.begin.c"},"3":{name:"comment.block.c"},"4":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"5":{name:"punctuation.section.parens.begin.bracket.round.conditional.switch.c"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.section.parens.end.bracket.round.conditional.switch.c"}},name:"meta.conditional.switch.c",patterns:[{include:"#evaluation_context"},{include:"#c_conditional_context"}]},switch_statement:{begin:new r("(((?:(?=((?:(?:(?=((?<!\\p{space})\\p{space}+))\\4)|(/\\*)((?:(?=((?:[^\\*]|(?:(?=(\\*+))\\8)[^\\/])*))\\7)((?:(?=(\\*+))\\10)/)))+|(?:(?:(?:(?:\\b|(?<=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|(?=[^\\p{L}\\p{M}\\p{N}\\p{Pc}]))|^)|(?=\\n?$))))\\3))((?<![\\p{L}\\p{M}\\p{N}\\p{Pc}])switch(?![\\p{L}\\p{M}\\p{N}\\p{Pc}])))","dgv",{hiddenCaptures:[3,4,7,8,10]}),beginCaptures:{"1":{name:"meta.head.switch.c"},"2":{patterns:[{include:"#inline_comment"}]},"3":{name:"comment.block.c punctuation.definition.comment.begin.c"},"4":{name:"comment.block.c"},"5":{patterns:[{match:/\*\//dgv,name:"comment.block.c punctuation.definition.comment.end.c"},{match:/\*/dgv,name:"comment.block.c"}]},"6":{name:"keyword.control.switch.c"}},end:/(?<=\}|%>|\?\?>)|(?=[\]\;\=\>\[])/dgv,name:"meta.block.switch.c",patterns:[{begin:/ ?/dgvy,end:/(\{|<%|\?\?<|(?=;))/dgv,endCaptures:{"1":{name:"punctuation.section.block.begin.bracket.curly.switch.c"}},name:"meta.head.switch.c",patterns:[{include:"#switch_conditional_parentheses"},{include:"$self"}]},{begin:/(?<=\{|<%|\?\?<)/dgv,end:/(\}|%>|\?\?>)/dgv,endCaptures:{"1":{name:"punctuation.section.block.end.bracket.curly.switch.c"}},name:"meta.body.switch.c",patterns:[{include:"#default_statement"},{include:"#case_statement"},{include:"$self"},{include:"#block_innards"}]},{begin:/(?<=\}|%>|\?\?>)[\n\p{space}]*/dgv,end:/[\n\p{space}]*(?=;)/dgv,name:"meta.tail.switch.c",patterns:[{include:"$self"}]}]},vararg_ellipses:{match:/(?<!\.)\.\.\.(?!\.)/dgv,name:"punctuation.vararg-ellipses.c"}},scopeName:"source.c",embeddedLangs:void 0,aliases:void 0}),Nr=[e];
|
|
2
|
+
export{Nr};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import{Mr}from"./chunk-zeyw59b9.js";import{ae}from"./chunk-zmbp3phd.js";import{t,i,F,A,q,W,N,M,P,R,I,O,D,J,Wr,Xt,Z}from"./chunk-tz4w2nh2.js";import{fe}from"./chunk-2gfgrjy6.js";var S=/[─━│┃└┗├┣]/,H=/[└┗├┣]/,K=/[─━]/,k=/^[\s│┃]+$/,E=/^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/,L=/^\s*%%/,Q=" ";function X(n){return n.some((r)=>S.test(r))}t(X,"isBoxDrawingFormat");function z(n){for(let r of n){let e=H.exec(r);if(e?.index&&e.index>0)return e.index}return 4}t(z,"inferSegmentWidth");function G(n,r){return n.replace(/\bline\s+(\d+)\b/gi,(e,o)=>{let c=parseInt(o,10),s=r.get(c);return s?`line ${s}`:e})}t(G,"remapErrorLines");function Y(n){let r=n.split(`
|
|
2
|
+
`),e=new Map,o=-1;for(let[g,d]of r.entries())if(d.trim()==="treeView-beta"){o=g;break}if(o===-1)return{text:n,lineMap:e};let c=[];for(let g=o+1;g<r.length;g++){let d=r[g];if(d.trim()===""||L.test(d)||E.test(d))continue;if(k.test(d))continue;c.push(d.replace(/\t/g," "))}if(!X(c))return{text:n,lineMap:e};let s=z(c),a=[],l=0;for(let g=0;g<=o;g++)a.push(r[g]),l++,e.set(l,g+1);for(let g=o+1;g<r.length;g++){let d=r[g],p=d.trim(),f=g+1;if(p===""){a.push(d),l++,e.set(l,f);continue}if(L.test(d)){a.push(d),l++,e.set(l,f);continue}if(E.test(d)){a.push(d),l++,e.set(l,f);continue}if(k.test(d))continue;let h=d.replace(/\t/g," "),w=H.exec(h);if(w?.index!==void 0){let u=w.index,x=Math.round(u/s)+1,m=u+1;while(m<h.length&&K.test(h[m]))m++;while(m<h.length&&h[m]===" ")m++;let b=h.slice(m).trimEnd();if(!b)throw Error(`Line ${f}: Empty node — expected a filename or directory name after the box-drawing prefix`);let j=Q.repeat(x);a.push(j+b),l++,e.set(l,f)}else if(/^[\s─━│┃└┗├┣]+$/.test(h))continue;else if(S.test(h))a.push(d),l++,e.set(l,f);else if(/^\s+/.test(h))throw Error(`Line ${f}: Unexpected indentation without box-drawing characters. In box-drawing format, use ├── or └── prefixes for indented nodes.`);else a.push(d),l++,e.set(l,f)}return{text:a.join(`
|
|
3
|
+
`),lineMap:e}}t(Y,"preprocessBoxDrawing");var v=new Mr(()=>({cnt:1,stack:[{id:0,level:-1,name:"/",nodeType:"directory",children:[]}]})),ee=t(()=>{v.reset(),N()},"clear"),te=t(()=>v.records.stack[0],"getRoot"),re=t(()=>v.records.cnt,"getCount"),ne=F.treeView,ie=t(()=>Z(ne,A().treeView),"getConfig"),oe=t((n,r,e,o,c,s)=>{while(n<=v.records.stack[v.records.stack.length-1].level)v.records.stack.pop();let a={id:v.records.cnt++,level:n,name:r,nodeType:e,icon:c,cssClass:o,description:s,children:[]};v.records.stack[v.records.stack.length-1].children.push(a),v.records.stack.push(a)},"addNode"),se={clear:ee,addNode:oe,getRoot:te,getCount:re,getConfig:ie,getAccTitle:P,getAccDescription:I,getDiagramTitle:D,setAccDescription:R,setAccTitle:M,setDiagramTitle:O},y=se,ce=t((n)=>{ae(n,y);for(let r of n.nodes){let e=typeof r.indent==="number"?r.indent:0,o=r.name,c=o.endsWith("/");if(c)o=o.slice(0,-1);let s=c?"directory":"file",a=r.classAnnotation||void 0,l=r.iconAnnotation,g=l!==void 0?l||"none":void 0,d=r.descAnnotation||void 0,p=d?q(d,A()):void 0;y.addNode(e,o,s,a,g,p)}},"populate"),le={parse:t(async(n)=>{let{text:r,lineMap:e}=Y(n);try{let o=await fe("treeView",r);i.debug(o),ce(o)}catch(o){if(e.size>0&&o instanceof Error)o.message=G(o.message,e);throw o}},"parse")},C={prefix:"mermaid-treeview",height:24,width:24,icons:{folder:{body:'<path fill="currentColor" d="M10.59 4.59A2 2 0 0 0 9.17 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.17z"/>'},file:{body:'<path fill="currentColor" fill-rule="evenodd" d="M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.83a2 2 0 0 0-.59-1.42l-4.82-4.82A2 2 0 0 0 13.17 2H6Zm7.5 1.9l4.6 4.6h-3.6a1 1 0 0 1-1-1V3.9Z" clip-rule="evenodd"/>'}}};function U(n,r){let e=r?.filenameIcons?.[n];if(e)return e;let o=n.lastIndexOf(".");if(o>0){let c=n.substring(o).toLowerCase(),s=r?.extensionIcons;return s?.[c]??s?.[c.slice(1)]}return}t(U,"detectIcon");function B(n,r){if(n.includes(":"))return n;if(n in C.icons||!r)return`${C.prefix}:${n}`;return`${r}:${n}`}t(B,"qualifyIcon");function V(n,r){if(n.icon==="none")return;if(n.icon)return B(n.icon,r.defaultIconPack);if(!r.showIcons)return;if(n.nodeType==="file"){let e=U(n.name,r);if(e==="none")return;if(e)return B(e,r.defaultIconPack)}return`${C.prefix}:${n.nodeType==="directory"?"folder":"file"}`}t(V,"getNodeIcon");Wr([{name:C.prefix,icons:C}]);var T=14,de=4,he=16,pe=t(async(n,r)=>{let e=[],o=t((s)=>{let a=V(s,r);if(a)e.push({icon:a,node:s});s.children.forEach(o)},"collect");o(n);let c=await Promise.all(e.map(async({icon:s,node:a})=>({id:a.id,svg:await Xt(s,{height:T,width:T})})));return new Map(c.map(({id:s,svg:a})=>[s,a]))},"resolveNodeIcons"),ge=t((n,r,e,o,c,s)=>{let a=o.append("g"),l="treeView-node-label";if(e.nodeType==="directory")l+=" treeView-node-dir";if(e.cssClass)l+=` ${e.cssClass}`;let g=T+de,d=V(e,c),p=d!==void 0;if(d)a.append("g").attr("class","treeView-node-icon").attr("transform",`translate(${n+c.paddingX}, ${r+c.paddingY})`).html(s.get(e.id)??"");let f=a.append("text").text(e.name).attr("dominant-baseline","middle").attr("class",l),{height:h,width:w}=f.node().getBBox(),u=h+c.paddingY*2,x=n+c.paddingX+(p?g:0);f.attr("x",x),f.attr("y",r+u/2);let m=x+w,b=w+c.paddingX*2+(p?g:0);if(e.BBox={x:n,y:r,width:b,height:u},e.cssClass?.split(/\s+/).includes("highlight"))a.insert("rect",":first-child").attr("x",n).attr("y",r+1).attr("width",0).attr("height",u-2).attr("rx",3).attr("class","treeView-highlight-bg");return{node:e,nodeGroup:a,labelRightEdge:m,centerY:r+u/2}},"positionLabel"),_=t((n,r,e,o,c,s)=>n.append("line").attr("x1",r).attr("y1",e).attr("x2",o).attr("y2",c).attr("stroke-width",s).attr("class","treeView-node-line"),"positionLine"),ue=t((n,r,e,o)=>{let c=0,s=0,a=[],l=t((p,f,h,w)=>{let u=w*(h.rowIndent+h.paddingX),x=ge(u,c,f,p,h,o);a.push(x);let{height:m,width:b}=f.BBox;_(p,u-h.rowIndent,c+m/2,u,c+m/2,h.lineThickness),s=Math.max(s,u+b),c+=m},"drawNode"),g=t((p,f=0)=>{l(n,p,e,f),p.children.forEach((x)=>{g(x,f+1)});let{x:h,y:w,height:u}=p.BBox;if(p.children.length){let{y:x,height:m}=p.children[p.children.length-1].BBox;_(n,h+e.paddingX,w+u,h+e.paddingX,x+m/2+e.lineThickness/2,e.lineThickness)}},"processNode");g(r);let d=a.filter((p)=>p.node.description);if(d.length>0){let f=Math.max(...a.map((h)=>h.labelRightEdge))+he;for(let h of d){let u=h.nodeGroup.append("text").text(h.node.description).attr("dominant-baseline","middle").attr("class","treeView-node-description").attr("x",f).attr("y",h.centerY).node().getBBox();s=Math.max(s,f+u.width+e.paddingX)}}for(let p of a)if(p.node.cssClass?.split(/\s+/).includes("highlight")){let f=p.nodeGroup.select(".treeView-highlight-bg");if(!f.empty()){let h=s-p.node.BBox.x+8;f.attr("width",h),s=Math.max(s,p.node.BBox.x+h+2)}}return{totalHeight:c,totalWidth:s}},"drawTree"),me=t(async(n,r,e,o)=>{i.debug(`Rendering treeView diagram
|
|
4
|
+
`+n);let c=o.db,s=c.getRoot(),a=c.getConfig(),l=J(r),g=l.append("g");g.attr("class","tree-view");let d=await pe(s,a),{totalHeight:p,totalWidth:f}=ue(g,s,a,d);l.attr("viewBox",`-${a.lineThickness/2} 0 ${f} ${p}`),W(l,p,f,a.useMaxWidth)},"draw"),we={draw:me},xe=we,ve={labelFontSize:"16px",labelColor:"black",lineColor:"black",iconColor:"#546e7a",descriptionColor:"#6a9955",highlightBg:"rgba(255, 193, 7, 0.15)",highlightStroke:"#ffc107"},be=t(({treeView:n})=>{let{labelFontSize:r,labelColor:e,lineColor:o,iconColor:c,descriptionColor:s,highlightBg:a,highlightStroke:l}=Z(ve,n);return`
|
|
5
|
+
.treeView-node-label {
|
|
6
|
+
font-size: ${r};
|
|
7
|
+
fill: ${e};
|
|
8
|
+
white-space: pre;
|
|
9
|
+
}
|
|
10
|
+
.treeView-node-dir {
|
|
11
|
+
font-weight: bold;
|
|
12
|
+
}
|
|
13
|
+
.treeView-node-line {
|
|
14
|
+
stroke: ${o};
|
|
15
|
+
}
|
|
16
|
+
.treeView-node-icon {
|
|
17
|
+
color: ${c};
|
|
18
|
+
}
|
|
19
|
+
.treeView-node-description {
|
|
20
|
+
font-size: ${r};
|
|
21
|
+
fill: ${s};
|
|
22
|
+
font-style: italic;
|
|
23
|
+
white-space: pre;
|
|
24
|
+
}
|
|
25
|
+
.treeView-highlight-bg {
|
|
26
|
+
fill: ${a};
|
|
27
|
+
stroke: ${l};
|
|
28
|
+
stroke-width: 1;
|
|
29
|
+
}
|
|
30
|
+
`},"styles"),Ce=be,Ee={db:y,renderer:xe,parser:le,styles:Ce};export{Ee as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Os}from"./chunk-2gfgrjy6.js";export{Os as createPacketServices};
|
|
Binary file
|
|
Binary file
|