@bkm016/basalt 0.1.20 → 0.1.22
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/{chunk-tb3zsqe8.js → chunk-09tdbx7b.js} +1 -1
- package/{chunk-cks36jdh.js → chunk-0rsyawz5.js} +2 -2
- package/{chunk-nszq2z0w.js → chunk-16yz5ebn.js} +1 -1
- package/chunk-1kdd7xry.js +2 -0
- package/chunk-1td9hjn9.js +25 -0
- package/{chunk-s819vmwh.js → chunk-1xjkzzyh.js} +2 -2
- package/{chunk-gg3kfa12.js → chunk-38932kzp.js} +2 -2
- package/chunk-3qxq264t.js +2 -0
- package/{chunk-cwrf78vs.js → chunk-3s8rpc1w.js} +2 -2
- package/{chunk-5ja0vsam.js → chunk-5415fcz7.js} +3 -3
- package/{chunk-3phf8eg6.js → chunk-5kezbmgw.js} +2 -2
- package/{chunk-bkhsva5n.js → chunk-5m51j40e.js} +3 -3
- package/{chunk-2fts9k52.js → chunk-5mt8xxex.js} +2 -2
- package/{chunk-tp885r8h.js → chunk-5ph58x6w.js} +11 -11
- package/{chunk-eps1epfr.js → chunk-6jdqe7sz.js} +2 -2
- package/{chunk-mde2dd79.js → chunk-6ztgzx9s.js} +1 -1
- package/{chunk-3r38vbt5.js → chunk-7dzcdpdt.js} +1 -1
- package/{chunk-w9fdcchk.js → chunk-82djd5fk.js} +1 -1
- package/{chunk-x1y4s01x.js → chunk-86vhsd3y.js} +11 -11
- package/chunk-8rfv9mm1.js +15 -0
- package/{chunk-30bbdzma.js → chunk-8tvz5ht1.js} +12 -12
- package/{chunk-a2z1cy84.js → chunk-9pjmwz01.js} +1 -1
- package/{chunk-7kz9435k.js → chunk-9w1m9av8.js} +3 -3
- package/{chunk-w6nc3jn7.js → chunk-9wjd9bxm.js} +1 -1
- package/chunk-b49005n2.js +471 -0
- package/{chunk-w045zk55.js → chunk-bdz2561d.js} +1 -1
- package/{chunk-wj09qkyw.js → chunk-bkvhwgeb.js} +2 -2
- package/{chunk-1gaj43fx.js → chunk-bp9tfav3.js} +1 -1
- package/chunk-cc9htxzx.js +3557 -0
- package/chunk-chfzk1fx.js +3 -0
- package/{chunk-p0e82mee.js → chunk-cr0tqn6j.js} +2 -2
- package/{chunk-e3bgzeb3.js → chunk-cv5kdnsw.js} +2 -2
- package/{chunk-svx7mz0w.js → chunk-d79s1s4t.js} +4 -4
- package/{chunk-29g01nrz.js → chunk-ec6bzt7w.js} +5 -5
- package/{chunk-h2pp8mnh.js → chunk-eq54cmsa.js} +1 -1
- package/{chunk-1tbv5t08.js → chunk-g54nd4fd.js} +1 -1
- package/{chunk-v7da0aqn.js → chunk-g8p5c4vx.js} +5 -5
- package/chunk-g9bemxpt.js +3 -0
- package/{chunk-fgjw0r6g.js → chunk-hk5p2eee.js} +4 -4
- package/{chunk-0bgg0hdd.js → chunk-jerp4pj5.js} +1 -1
- package/{chunk-3sg32v3n.js → chunk-jsvqp20s.js} +1 -1
- package/{chunk-0g8rtf05.js → chunk-k9x1r69s.js} +8 -8
- package/{chunk-5e7yegea.js → chunk-kb526065.js} +1 -1
- package/{chunk-y83tnkr3.js → chunk-kpw1qa2n.js} +3 -3
- package/chunk-mbvy2t23.js +2 -0
- package/{chunk-sm9fpy18.js → chunk-mmnsdje8.js} +9 -9
- package/{chunk-d2f0hq8z.js → chunk-nffwakxq.js} +1 -1
- package/chunk-nfj8sj53.js +2 -0
- package/{chunk-ak9rkrf3.js → chunk-pzwaz2ew.js} +2 -2
- package/{chunk-yk29stq0.js → chunk-qtgc74er.js} +2 -2
- package/chunk-qtrd33pp.js +7 -0
- package/{chunk-6en06hkk.js → chunk-rbk6jxcr.js} +1 -1
- package/{chunk-y3vap4a1.js → chunk-rpbxbb92.js} +1 -1
- package/{chunk-agb771ak.js → chunk-rx812nrp.js} +2 -2
- package/{chunk-tpetsqzt.js → chunk-scy1p7x2.js} +3 -3
- package/{chunk-4dgqcp6q.js → chunk-sfgw0vmt.js} +1 -1
- package/chunk-tmefdwxy.js +2 -0
- package/chunk-tvg54x0x.js +2 -0
- package/{chunk-eyyxqb6y.js → chunk-v878x8zr.js} +2 -2
- package/chunk-v89f2k9b.js +2 -0
- package/{chunk-ewr51fwc.js → chunk-vhe16b65.js} +2 -2
- package/{chunk-z9p2ry9w.js → chunk-w3skxmvx.js} +2 -2
- package/{chunk-qxpx8dn6.js → chunk-w4kasz4j.js} +5 -5
- package/chunk-w4zkgn1c.js +4 -0
- package/chunk-we5emq6f.js +2 -0
- package/{chunk-11xxfc0x.js → chunk-x0dcabw6.js} +2 -2
- package/chunk-xtj7b70y.js +5 -0
- package/{chunk-a1vdrgsh.js → chunk-xwew53k7.js} +5 -5
- package/{chunk-np2xnt1g.js → chunk-xyhr89y5.js} +2 -2
- package/chunk-yce46csn.js +2 -0
- package/{chunk-s8m4svhf.js → chunk-yetcb1z9.js} +2 -2
- package/chunk-ypmpf75h.js +2 -0
- package/chunk-zz48zvk5.js +2 -0
- package/compiled.js +8 -8
- package/package.json +1 -1
- package/ui-test-worker.js +16 -16
- package/web/chunk-04c54f1s.js +1 -0
- package/web/chunk-04c54f1s.js.br +2 -0
- package/web/chunk-04c54f1s.js.gz +0 -0
- package/web/chunk-04m1cb8w.js +1 -0
- package/web/chunk-04m1cb8w.js.br +0 -0
- package/web/chunk-04m1cb8w.js.gz +0 -0
- package/web/{chunk-js940jjj.js → chunk-08z6mkgz.js} +4 -4
- package/web/chunk-08z6mkgz.js.br +0 -0
- package/web/chunk-08z6mkgz.js.gz +0 -0
- package/web/{chunk-x2hxq5yr.js → chunk-0g9m3rpw.js} +1 -1
- package/web/chunk-0g9m3rpw.js.br +0 -0
- package/web/chunk-0g9m3rpw.js.gz +0 -0
- package/web/{chunk-gk1bc3c3.js → chunk-0jccrdw3.js} +1 -1
- package/web/chunk-0jccrdw3.js.br +0 -0
- package/web/chunk-0jccrdw3.js.gz +0 -0
- package/web/{chunk-59h87pvn.js → chunk-0vweazdh.js} +1 -1
- package/web/chunk-0vweazdh.js.br +0 -0
- package/web/chunk-0vweazdh.js.gz +0 -0
- package/web/chunk-1vtf555r.js +1 -0
- package/web/chunk-1vtf555r.js.br +0 -0
- package/web/chunk-1vtf555r.js.gz +0 -0
- package/web/{chunk-znrsm604.js → chunk-29z0ft67.js} +17 -17
- package/web/chunk-29z0ft67.js.br +0 -0
- package/web/chunk-29z0ft67.js.gz +0 -0
- package/web/{chunk-tg3f9xmp.js → chunk-2q3m4btb.js} +1 -1
- package/web/chunk-2q3m4btb.js.br +0 -0
- package/web/chunk-2q3m4btb.js.gz +0 -0
- package/web/{chunk-qjg6dw46.js → chunk-2s6fhjjc.js} +94 -94
- package/web/chunk-2s6fhjjc.js.br +0 -0
- package/web/chunk-2s6fhjjc.js.gz +0 -0
- package/web/{chunk-fjrgg82c.js → chunk-2vdx4ykn.js} +4 -4
- package/web/chunk-2vdx4ykn.js.br +0 -0
- package/web/chunk-2vdx4ykn.js.gz +0 -0
- package/web/{chunk-zthww0ws.js → chunk-2zgqe8r7.js} +1 -1
- package/web/chunk-2zgqe8r7.js.br +0 -0
- package/web/chunk-2zgqe8r7.js.gz +0 -0
- package/web/{chunk-mbpv2w5h.js → chunk-3kqpmg83.js} +2 -2
- package/web/chunk-3kqpmg83.js.br +0 -0
- package/web/chunk-3kqpmg83.js.gz +0 -0
- package/web/chunk-3rmqxna0.js +1 -0
- package/web/chunk-3rmqxna0.js.br +0 -0
- package/web/chunk-3rmqxna0.js.gz +0 -0
- package/web/{chunk-jmnzcm1f.js → chunk-3xmv2349.js} +4 -4
- package/web/chunk-3xmv2349.js.br +0 -0
- package/web/chunk-3xmv2349.js.gz +0 -0
- package/web/{chunk-08w40agf.js → chunk-46cdys11.js} +7 -7
- package/web/chunk-46cdys11.js.br +0 -0
- package/web/chunk-46cdys11.js.gz +0 -0
- package/web/chunk-46mw23f0.js +8 -0
- package/web/chunk-46mw23f0.js.br +0 -0
- package/web/chunk-46mw23f0.js.gz +0 -0
- package/web/{chunk-mwfrxgbs.js → chunk-4r0dvjrr.js} +1 -1
- package/web/chunk-4r0dvjrr.js.br +0 -0
- package/web/chunk-4r0dvjrr.js.gz +0 -0
- package/web/{chunk-aw9bwd4w.js → chunk-4v6m84pg.js} +2 -2
- package/web/chunk-4v6m84pg.js.br +0 -0
- package/web/chunk-4v6m84pg.js.gz +0 -0
- package/web/{chunk-wvqcbp4a.js → chunk-4ye31s2w.js} +1 -1
- package/web/chunk-4ye31s2w.js.br +4 -0
- package/web/chunk-4ye31s2w.js.gz +0 -0
- package/web/{chunk-ezj5rjqr.js → chunk-5kavsn22.js} +1 -1
- package/web/chunk-5kavsn22.js.br +0 -0
- package/web/chunk-5kavsn22.js.gz +0 -0
- package/web/{chunk-vxadngbp.js → chunk-5q2h4tg8.js} +1 -1
- package/web/chunk-5q2h4tg8.js.br +4 -0
- package/web/chunk-5q2h4tg8.js.gz +0 -0
- package/web/{chunk-dmzvhbpn.js → chunk-5tbk6dx6.js} +3 -3
- package/web/chunk-5tbk6dx6.js.br +0 -0
- package/web/chunk-5tbk6dx6.js.gz +0 -0
- package/web/{chunk-9n1nsdqs.js → chunk-5yb0sm1r.js} +1 -1
- package/web/chunk-5yb0sm1r.js.br +0 -0
- package/web/chunk-5yb0sm1r.js.gz +0 -0
- package/web/chunk-5yz46tjw.js +2 -0
- package/web/chunk-5yz46tjw.js.br +0 -0
- package/web/chunk-5yz46tjw.js.gz +0 -0
- package/web/{chunk-3fd6mgf0.js → chunk-619a8t38.js} +1 -1
- package/web/chunk-619a8t38.js.br +0 -0
- package/web/chunk-619a8t38.js.gz +0 -0
- package/web/{chunk-cmhxtckb.js → chunk-6areryyn.js} +1 -1
- package/web/chunk-6areryyn.js.br +0 -0
- package/web/chunk-6areryyn.js.gz +0 -0
- package/web/{chunk-tgeeggkh.js → chunk-6ms78sx5.js} +1 -1
- package/web/chunk-6ms78sx5.js.br +0 -0
- package/web/chunk-6ms78sx5.js.gz +0 -0
- package/web/{chunk-bks2k04k.js → chunk-6ts9mtye.js} +1 -1
- package/web/chunk-6ts9mtye.js.br +0 -0
- package/web/chunk-6ts9mtye.js.gz +0 -0
- package/web/{chunk-kedjfh66.js → chunk-79whhay2.js} +1 -1
- package/web/chunk-79whhay2.js.br +0 -0
- package/web/chunk-79whhay2.js.gz +0 -0
- package/web/{chunk-ye7vge7s.js → chunk-7n1abr86.js} +1 -1
- package/web/chunk-7n1abr86.js.br +0 -0
- package/web/chunk-7n1abr86.js.gz +0 -0
- package/web/chunk-7qxfx983.js +1 -0
- package/web/chunk-7qxfx983.js.br +0 -0
- package/web/chunk-7qxfx983.js.gz +0 -0
- package/web/chunk-91k30q92.js +1 -0
- package/web/chunk-91k30q92.js.br +0 -0
- package/web/chunk-91k30q92.js.gz +0 -0
- package/web/{chunk-k6fwzn0z.js → chunk-91nyvkrb.js} +1 -1
- package/web/chunk-91nyvkrb.js.br +0 -0
- package/web/chunk-91nyvkrb.js.gz +0 -0
- package/web/{chunk-ahdca62g.js → chunk-9mbr6znb.js} +1 -1
- package/web/chunk-9mbr6znb.js.br +0 -0
- package/web/chunk-9mbr6znb.js.gz +0 -0
- package/web/{chunk-1yvcxpp2.js → chunk-9mvw6a5v.js} +4 -4
- package/web/chunk-9mvw6a5v.js.br +0 -0
- package/web/chunk-9mvw6a5v.js.gz +0 -0
- package/web/{chunk-kdegb6pd.js → chunk-a6hdn8tb.js} +5 -5
- package/web/chunk-a6hdn8tb.js.br +0 -0
- package/web/chunk-a6hdn8tb.js.gz +0 -0
- package/web/{chunk-37hmswdk.js → chunk-ar6m9fza.js} +5 -5
- package/web/chunk-ar6m9fza.js.br +0 -0
- package/web/chunk-ar6m9fza.js.gz +0 -0
- package/web/{chunk-q0srq8g5.js → chunk-ayqakyyq.js} +1 -1
- package/web/chunk-ayqakyyq.js.br +0 -0
- package/web/chunk-ayqakyyq.js.gz +0 -0
- package/web/{chunk-1ps9fj5n.js → chunk-cc6hn5xv.js} +2 -2
- package/web/chunk-cc6hn5xv.js.br +0 -0
- package/web/chunk-cc6hn5xv.js.gz +0 -0
- package/web/{chunk-d7f85w1y.js → chunk-ccymg1hp.js} +1 -1
- package/web/chunk-ccymg1hp.js.br +0 -0
- package/web/chunk-ccymg1hp.js.gz +0 -0
- package/web/{chunk-mhzqgzh0.js → chunk-cg9fe42b.js} +1 -1
- package/web/chunk-cg9fe42b.js.br +0 -0
- package/web/chunk-cg9fe42b.js.gz +0 -0
- package/web/chunk-cmcgmf94.js +1 -0
- package/web/chunk-cmcgmf94.js.br +0 -0
- package/web/chunk-cmcgmf94.js.gz +0 -0
- package/web/chunk-cnbbvd6n.js +1 -0
- package/web/chunk-cnbbvd6n.js.br +0 -0
- package/web/chunk-cnbbvd6n.js.gz +0 -0
- package/web/{chunk-wa8wr2y9.js → chunk-cxp2nbtc.js} +9 -9
- package/web/chunk-cxp2nbtc.js.br +0 -0
- package/web/chunk-cxp2nbtc.js.gz +0 -0
- package/web/{chunk-vh2prc6k.js → chunk-dj2b64aj.js} +1 -1
- package/web/chunk-dj2b64aj.js.br +0 -0
- package/web/chunk-dj2b64aj.js.gz +0 -0
- package/web/{chunk-gbcf0rdk.js → chunk-dsga6rp3.js} +1 -1
- package/web/chunk-dsga6rp3.js.br +0 -0
- package/web/chunk-dsga6rp3.js.gz +0 -0
- package/web/chunk-ek6q6a08.js +1 -0
- package/web/chunk-ek6q6a08.js.br +2 -0
- package/web/chunk-ek6q6a08.js.gz +0 -0
- package/web/{chunk-53cg6pxm.js → chunk-et1nm6h1.js} +2 -2
- package/web/chunk-et1nm6h1.js.br +0 -0
- package/web/chunk-et1nm6h1.js.gz +0 -0
- package/web/chunk-f1016wh6.js +1 -0
- package/web/chunk-f1016wh6.js.br +0 -0
- package/web/chunk-f1016wh6.js.gz +0 -0
- package/web/{chunk-6pbhqbv0.js → chunk-f42mwg61.js} +1 -1
- package/web/chunk-f42mwg61.js.br +0 -0
- package/web/chunk-f42mwg61.js.gz +0 -0
- package/web/{chunk-1ratg1jd.js → chunk-fk35d3bz.js} +1 -1
- package/web/chunk-fk35d3bz.js.br +0 -0
- package/web/chunk-fk35d3bz.js.gz +0 -0
- package/web/{chunk-e2z3kdhw.js → chunk-fpwztdhn.js} +3 -3
- package/web/chunk-fpwztdhn.js.br +0 -0
- package/web/chunk-fpwztdhn.js.gz +0 -0
- package/web/{chunk-1cwyy3gh.js → chunk-g30nqfka.js} +1 -1
- package/web/chunk-g30nqfka.js.br +0 -0
- package/web/chunk-g30nqfka.js.gz +0 -0
- package/web/chunk-gbwy4pfg.css +1 -0
- package/web/chunk-gbwy4pfg.css.br +0 -0
- package/web/chunk-gbwy4pfg.css.gz +0 -0
- package/web/{chunk-gj6bdv1y.js → chunk-gepgx19m.js} +9 -9
- package/web/chunk-gepgx19m.js.br +0 -0
- package/web/chunk-gepgx19m.js.gz +0 -0
- package/web/{chunk-v5p2fds9.js → chunk-grz69q28.js} +4 -4
- package/web/chunk-grz69q28.js.br +0 -0
- package/web/chunk-grz69q28.js.gz +0 -0
- package/web/{chunk-vhpzp7zd.js → chunk-gt62acsh.js} +1 -1
- package/web/chunk-gt62acsh.js.br +0 -0
- package/web/chunk-gt62acsh.js.gz +0 -0
- package/web/{chunk-81xbfpbq.js → chunk-h28xrvmg.js} +1 -1
- package/web/chunk-h28xrvmg.js.br +0 -0
- package/web/chunk-h28xrvmg.js.gz +0 -0
- package/web/{chunk-gpjytpyw.js → chunk-h80ypke7.js} +2 -2
- package/web/chunk-h80ypke7.js.br +0 -0
- package/web/chunk-h80ypke7.js.gz +0 -0
- package/web/chunk-k1cd6e24.js +1 -0
- package/web/chunk-k1cd6e24.js.br +0 -0
- package/web/chunk-k1cd6e24.js.gz +0 -0
- package/web/chunk-k9248573.js +1 -0
- package/web/chunk-k9248573.js.br +0 -0
- package/web/chunk-k9248573.js.gz +0 -0
- package/web/{chunk-6n1ha6ta.js → chunk-kqgn9dsa.js} +1 -1
- package/web/chunk-kqgn9dsa.js.br +0 -0
- package/web/chunk-kqgn9dsa.js.gz +0 -0
- package/web/chunk-kqngpw5m.js +1 -0
- package/web/chunk-kqngpw5m.js.br +0 -0
- package/web/chunk-kqngpw5m.js.gz +0 -0
- package/web/{chunk-dmhezjv3.js → chunk-kzj105r1.js} +4 -4
- package/web/chunk-kzj105r1.js.br +0 -0
- package/web/chunk-kzj105r1.js.gz +0 -0
- package/web/chunk-m14v2en1.js +1 -0
- package/web/chunk-m14v2en1.js.br +0 -0
- package/web/chunk-m14v2en1.js.gz +0 -0
- package/web/{chunk-1ghnag5v.js → chunk-m34et8g4.js} +1 -1
- package/web/chunk-m34et8g4.js.br +0 -0
- package/web/chunk-m34et8g4.js.gz +0 -0
- package/web/{chunk-esckazz2.js → chunk-md1f6gmk.js} +1 -1
- package/web/chunk-md1f6gmk.js.br +0 -0
- package/web/chunk-md1f6gmk.js.gz +0 -0
- package/web/{chunk-vpbnyz43.js → chunk-n05xf20n.js} +1 -1
- package/web/chunk-n05xf20n.js.br +0 -0
- package/web/chunk-n05xf20n.js.gz +0 -0
- package/web/{chunk-mh3nkkpx.js → chunk-n2k1gd6n.js} +6 -6
- package/web/chunk-n2k1gd6n.js.br +0 -0
- package/web/chunk-n2k1gd6n.js.gz +0 -0
- package/web/{chunk-apr33amc.js → chunk-nm8yza3v.js} +1 -1
- package/web/chunk-nm8yza3v.js.br +0 -0
- package/web/chunk-nm8yza3v.js.gz +0 -0
- package/web/chunk-pbg9rdwv.js +1 -0
- package/web/chunk-pbg9rdwv.js.br +2 -0
- package/web/chunk-pbg9rdwv.js.gz +0 -0
- package/web/chunk-qj9nd038.js +1 -0
- package/web/chunk-qj9nd038.js.br +0 -0
- package/web/chunk-qj9nd038.js.gz +0 -0
- package/web/chunk-qjaex9c0.js +1 -0
- package/web/chunk-qjaex9c0.js.br +2 -0
- package/web/chunk-qjaex9c0.js.gz +0 -0
- package/web/{chunk-72st75n7.js → chunk-qq79vsm8.js} +3 -3
- package/web/chunk-qq79vsm8.js.br +0 -0
- package/web/chunk-qq79vsm8.js.gz +0 -0
- package/web/{chunk-6a3wt5c5.js → chunk-qs5wnwd6.js} +3 -3
- package/web/chunk-qs5wnwd6.js.br +0 -0
- package/web/chunk-qs5wnwd6.js.gz +0 -0
- package/web/{chunk-wbxz2bjb.js → chunk-r381n550.js} +1 -1
- package/web/chunk-r381n550.js.br +0 -0
- package/web/chunk-r381n550.js.gz +0 -0
- package/web/{chunk-2rnnvxa5.js → chunk-r48vazdm.js} +3 -3
- package/web/chunk-r48vazdm.js.br +0 -0
- package/web/chunk-r48vazdm.js.gz +0 -0
- package/web/{chunk-hqt1f3fm.js → chunk-r55seq42.js} +1 -1
- package/web/chunk-r55seq42.js.br +0 -0
- package/web/chunk-r55seq42.js.gz +0 -0
- package/web/{chunk-82q4e8ff.js → chunk-r79zekav.js} +1 -1
- package/web/chunk-r79zekav.js.br +0 -0
- package/web/chunk-r79zekav.js.gz +0 -0
- package/web/{chunk-nb58m79v.js → chunk-r8qyvcks.js} +1 -1
- package/web/chunk-r8qyvcks.js.br +0 -0
- package/web/chunk-r8qyvcks.js.gz +0 -0
- package/web/chunk-r9dt0730.js +1 -0
- package/web/chunk-r9dt0730.js.br +0 -0
- package/web/chunk-r9dt0730.js.gz +0 -0
- package/web/chunk-rpjzwknn.js +1 -0
- package/web/chunk-rpjzwknn.js.br +0 -0
- package/web/chunk-rpjzwknn.js.gz +0 -0
- package/web/{chunk-186rp10x.js → chunk-sk3065js.js} +1 -1
- package/web/chunk-sk3065js.js.br +0 -0
- package/web/chunk-sk3065js.js.gz +0 -0
- package/web/{chunk-hwxj58j5.js → chunk-smywa1zw.js} +1 -1
- package/web/chunk-smywa1zw.js.br +0 -0
- package/web/chunk-smywa1zw.js.gz +0 -0
- package/web/{chunk-a8qe7kvz.js → chunk-trssyq9a.js} +1 -1
- package/web/chunk-trssyq9a.js.br +0 -0
- package/web/chunk-trssyq9a.js.gz +0 -0
- package/web/{chunk-0h0whn75.js → chunk-v329f8df.js} +1 -1
- package/web/chunk-v329f8df.js.br +0 -0
- package/web/chunk-v329f8df.js.gz +0 -0
- package/web/{chunk-zbzgd8kn.js → chunk-vb2feptd.js} +1 -1
- package/web/chunk-vb2feptd.js.br +0 -0
- package/web/chunk-vb2feptd.js.gz +0 -0
- package/web/chunk-vff33vj3.js +1 -0
- package/web/chunk-vff33vj3.js.br +2 -0
- package/web/chunk-vff33vj3.js.gz +0 -0
- package/web/{chunk-k4pknkvp.js → chunk-w9adyaze.js} +1 -1
- package/web/chunk-w9adyaze.js.br +0 -0
- package/web/chunk-w9adyaze.js.gz +0 -0
- package/web/{chunk-v6snw1sw.js → chunk-wgc8z5jv.js} +1 -1
- package/web/chunk-wgc8z5jv.js.br +0 -0
- package/web/chunk-wgc8z5jv.js.gz +0 -0
- package/web/{chunk-recfg8af.js → chunk-wvdk3w03.js} +1 -1
- package/web/chunk-wvdk3w03.js.br +0 -0
- package/web/chunk-wvdk3w03.js.gz +0 -0
- package/web/{chunk-bg0qgabv.js → chunk-wxmaw4ht.js} +1 -1
- package/web/chunk-wxmaw4ht.js.br +0 -0
- package/web/chunk-wxmaw4ht.js.gz +0 -0
- package/web/{chunk-7h59ac2b.js → chunk-x19jdqnt.js} +1 -1
- package/web/chunk-x19jdqnt.js.br +0 -0
- package/web/chunk-x19jdqnt.js.gz +0 -0
- package/web/{chunk-mj8dzc8q.js → chunk-x4153gx3.js} +5 -5
- package/web/chunk-x4153gx3.js.br +0 -0
- package/web/chunk-x4153gx3.js.gz +0 -0
- package/web/{chunk-qx5ab39c.js → chunk-x7wmb5d3.js} +2 -2
- package/web/chunk-x7wmb5d3.js.br +0 -0
- package/web/chunk-x7wmb5d3.js.gz +0 -0
- package/web/{chunk-v2bkkhb8.js → chunk-xp2zpmpp.js} +41 -41
- package/web/chunk-xp2zpmpp.js.br +0 -0
- package/web/chunk-xp2zpmpp.js.gz +0 -0
- package/web/chunk-y09v3sz7.js +1 -0
- package/web/chunk-y09v3sz7.js.br +0 -0
- package/web/chunk-y09v3sz7.js.gz +0 -0
- package/web/{chunk-h1c0m3g4.js → chunk-ywmsxe5z.js} +3 -3
- package/web/chunk-ywmsxe5z.js.br +0 -0
- package/web/chunk-ywmsxe5z.js.gz +0 -0
- package/web/{chunk-0tcmnvab.js → chunk-yzyxa823.js} +1 -1
- package/web/chunk-yzyxa823.js.br +0 -0
- package/web/chunk-yzyxa823.js.gz +0 -0
- package/web/{chunk-c28crzwk.js → chunk-zwx48gb8.js} +1 -1
- package/web/chunk-zwx48gb8.js.br +0 -0
- package/web/chunk-zwx48gb8.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-0wwd4q6h.js +0 -5
- package/chunk-204c01mz.js +0 -25
- package/chunk-4wc2gbhe.js +0 -2
- package/chunk-51pfvmhh.js +0 -470
- package/chunk-5tsfqsmf.js +0 -2
- package/chunk-6hatfwsq.js +0 -2
- package/chunk-78ky455y.js +0 -4
- package/chunk-8mqaq042.js +0 -2
- package/chunk-as2mwf79.js +0 -2
- package/chunk-b516bp7n.js +0 -3
- package/chunk-c5pg2875.js +0 -3552
- package/chunk-g9hsrrj5.js +0 -2
- package/chunk-gpceyezp.js +0 -2
- package/chunk-h4n0gg11.js +0 -2
- package/chunk-jzya0e5n.js +0 -7
- package/chunk-ncb0tyaw.js +0 -2
- package/chunk-tpeg9fkd.js +0 -2
- package/chunk-v0mw006s.js +0 -15
- package/chunk-ys2fds2x.js +0 -3
- package/chunk-yshdvnsp.js +0 -2
- package/web/chunk-08w40agf.js.br +0 -0
- package/web/chunk-08w40agf.js.gz +0 -0
- package/web/chunk-0bfypmyv.js +0 -1
- package/web/chunk-0bfypmyv.js.br +0 -2
- package/web/chunk-0bfypmyv.js.gz +0 -0
- package/web/chunk-0h0whn75.js.br +0 -0
- package/web/chunk-0h0whn75.js.gz +0 -0
- package/web/chunk-0pzs9k06.js +0 -1
- package/web/chunk-0pzs9k06.js.br +0 -0
- package/web/chunk-0pzs9k06.js.gz +0 -0
- package/web/chunk-0tcmnvab.js.br +0 -0
- package/web/chunk-0tcmnvab.js.gz +0 -0
- package/web/chunk-186rp10x.js.br +0 -0
- package/web/chunk-186rp10x.js.gz +0 -0
- package/web/chunk-1cwyy3gh.js.br +0 -0
- package/web/chunk-1cwyy3gh.js.gz +0 -0
- package/web/chunk-1ecsxh85.js +0 -1
- package/web/chunk-1ecsxh85.js.br +0 -0
- package/web/chunk-1ecsxh85.js.gz +0 -0
- package/web/chunk-1ghnag5v.js.br +0 -0
- package/web/chunk-1ghnag5v.js.gz +0 -0
- package/web/chunk-1ps9fj5n.js.br +0 -0
- package/web/chunk-1ps9fj5n.js.gz +0 -0
- package/web/chunk-1ratg1jd.js.br +0 -0
- package/web/chunk-1ratg1jd.js.gz +0 -0
- package/web/chunk-1yvcxpp2.js.br +0 -0
- package/web/chunk-1yvcxpp2.js.gz +0 -0
- package/web/chunk-2r3w0pt0.js +0 -8
- package/web/chunk-2r3w0pt0.js.br +0 -0
- package/web/chunk-2r3w0pt0.js.gz +0 -0
- package/web/chunk-2rnnvxa5.js.br +0 -0
- package/web/chunk-2rnnvxa5.js.gz +0 -0
- package/web/chunk-2stffcvc.js +0 -1
- package/web/chunk-2stffcvc.js.br +0 -0
- package/web/chunk-2stffcvc.js.gz +0 -0
- package/web/chunk-2svqgkqw.js +0 -1
- package/web/chunk-2svqgkqw.js.br +0 -0
- package/web/chunk-2svqgkqw.js.gz +0 -0
- package/web/chunk-37hmswdk.js.br +0 -0
- package/web/chunk-37hmswdk.js.gz +0 -0
- package/web/chunk-3fd6mgf0.js.br +0 -0
- package/web/chunk-3fd6mgf0.js.gz +0 -0
- package/web/chunk-53cg6pxm.js.br +0 -0
- package/web/chunk-53cg6pxm.js.gz +0 -0
- package/web/chunk-59h87pvn.js.br +0 -0
- package/web/chunk-59h87pvn.js.gz +0 -0
- package/web/chunk-6a3wt5c5.js.br +0 -0
- package/web/chunk-6a3wt5c5.js.gz +0 -0
- package/web/chunk-6n1ha6ta.js.br +0 -0
- package/web/chunk-6n1ha6ta.js.gz +0 -0
- package/web/chunk-6pbhqbv0.js.br +0 -0
- package/web/chunk-6pbhqbv0.js.gz +0 -0
- package/web/chunk-72st75n7.js.br +0 -0
- package/web/chunk-72st75n7.js.gz +0 -0
- package/web/chunk-7h59ac2b.js.br +0 -0
- package/web/chunk-7h59ac2b.js.gz +0 -0
- package/web/chunk-81xbfpbq.js.br +0 -0
- package/web/chunk-81xbfpbq.js.gz +0 -0
- package/web/chunk-82q4e8ff.js.br +0 -0
- package/web/chunk-82q4e8ff.js.gz +0 -0
- package/web/chunk-89e8629e.js +0 -1
- package/web/chunk-89e8629e.js.br +0 -0
- package/web/chunk-89e8629e.js.gz +0 -0
- package/web/chunk-9n1nsdqs.js.br +0 -0
- package/web/chunk-9n1nsdqs.js.gz +0 -0
- package/web/chunk-a8qe7kvz.js.br +0 -0
- package/web/chunk-a8qe7kvz.js.gz +0 -0
- package/web/chunk-ahdca62g.js.br +0 -0
- package/web/chunk-ahdca62g.js.gz +0 -0
- package/web/chunk-apr33amc.js.br +0 -0
- package/web/chunk-apr33amc.js.gz +0 -0
- package/web/chunk-aw9bwd4w.js.br +0 -0
- package/web/chunk-aw9bwd4w.js.gz +0 -0
- package/web/chunk-bg0qgabv.js.br +0 -0
- package/web/chunk-bg0qgabv.js.gz +0 -0
- package/web/chunk-bks2k04k.js.br +0 -0
- package/web/chunk-bks2k04k.js.gz +0 -0
- package/web/chunk-c28crzwk.js.br +0 -0
- package/web/chunk-c28crzwk.js.gz +0 -0
- package/web/chunk-cmhxtckb.js.br +0 -0
- package/web/chunk-cmhxtckb.js.gz +0 -0
- package/web/chunk-d7f85w1y.js.br +0 -0
- package/web/chunk-d7f85w1y.js.gz +0 -0
- package/web/chunk-dmhezjv3.js.br +0 -0
- package/web/chunk-dmhezjv3.js.gz +0 -0
- package/web/chunk-dmzvhbpn.js.br +0 -0
- package/web/chunk-dmzvhbpn.js.gz +0 -0
- package/web/chunk-e2z3kdhw.js.br +0 -0
- package/web/chunk-e2z3kdhw.js.gz +0 -0
- package/web/chunk-eqmghkwh.js +0 -1
- package/web/chunk-eqmghkwh.js.br +0 -0
- package/web/chunk-eqmghkwh.js.gz +0 -0
- package/web/chunk-esckazz2.js.br +0 -0
- package/web/chunk-esckazz2.js.gz +0 -0
- package/web/chunk-ezj5rjqr.js.br +0 -0
- package/web/chunk-ezj5rjqr.js.gz +0 -0
- package/web/chunk-fjrgg82c.js.br +0 -0
- package/web/chunk-fjrgg82c.js.gz +0 -0
- package/web/chunk-gbcf0rdk.js.br +0 -0
- package/web/chunk-gbcf0rdk.js.gz +0 -0
- package/web/chunk-gj6bdv1y.js.br +0 -0
- package/web/chunk-gj6bdv1y.js.gz +0 -0
- package/web/chunk-gk1bc3c3.js.br +0 -0
- package/web/chunk-gk1bc3c3.js.gz +0 -0
- package/web/chunk-gpjytpyw.js.br +0 -0
- package/web/chunk-gpjytpyw.js.gz +0 -0
- package/web/chunk-h1c0m3g4.js.br +0 -0
- package/web/chunk-h1c0m3g4.js.gz +0 -0
- package/web/chunk-h1qv0cpd.css +0 -1
- package/web/chunk-h1qv0cpd.css.br +0 -0
- package/web/chunk-h1qv0cpd.css.gz +0 -0
- package/web/chunk-hq7e5xgd.js +0 -1
- package/web/chunk-hq7e5xgd.js.br +0 -0
- package/web/chunk-hq7e5xgd.js.gz +0 -0
- package/web/chunk-hqt1f3fm.js.br +0 -0
- package/web/chunk-hqt1f3fm.js.gz +0 -0
- package/web/chunk-hwxj58j5.js.br +0 -0
- package/web/chunk-hwxj58j5.js.gz +0 -0
- package/web/chunk-hxzb25a8.js +0 -1
- package/web/chunk-hxzb25a8.js.br +0 -0
- package/web/chunk-hxzb25a8.js.gz +0 -0
- package/web/chunk-jmnzcm1f.js.br +0 -0
- package/web/chunk-jmnzcm1f.js.gz +0 -0
- package/web/chunk-js940jjj.js.br +0 -0
- package/web/chunk-js940jjj.js.gz +0 -0
- package/web/chunk-jy9vkfbf.js +0 -1
- package/web/chunk-jy9vkfbf.js.br +0 -0
- package/web/chunk-jy9vkfbf.js.gz +0 -0
- package/web/chunk-k4pknkvp.js.br +0 -0
- package/web/chunk-k4pknkvp.js.gz +0 -0
- package/web/chunk-k6fwzn0z.js.br +0 -0
- package/web/chunk-k6fwzn0z.js.gz +0 -0
- package/web/chunk-kdegb6pd.js.br +0 -0
- package/web/chunk-kdegb6pd.js.gz +0 -0
- package/web/chunk-kedjfh66.js.br +0 -0
- package/web/chunk-kedjfh66.js.gz +0 -0
- package/web/chunk-mbpv2w5h.js.br +0 -0
- package/web/chunk-mbpv2w5h.js.gz +0 -0
- package/web/chunk-mh3nkkpx.js.br +0 -0
- package/web/chunk-mh3nkkpx.js.gz +0 -0
- package/web/chunk-mhzqgzh0.js.br +0 -0
- package/web/chunk-mhzqgzh0.js.gz +0 -0
- package/web/chunk-mj8dzc8q.js.br +0 -0
- package/web/chunk-mj8dzc8q.js.gz +0 -0
- package/web/chunk-mwfrxgbs.js.br +0 -0
- package/web/chunk-mwfrxgbs.js.gz +0 -0
- package/web/chunk-nb58m79v.js.br +0 -0
- package/web/chunk-nb58m79v.js.gz +0 -0
- package/web/chunk-nsna2v2r.js +0 -1
- package/web/chunk-nsna2v2r.js.br +0 -0
- package/web/chunk-nsna2v2r.js.gz +0 -0
- package/web/chunk-nxdp58nf.js +0 -1
- package/web/chunk-nxdp58nf.js.br +0 -0
- package/web/chunk-nxdp58nf.js.gz +0 -0
- package/web/chunk-nytgs01h.js +0 -1
- package/web/chunk-nytgs01h.js.br +0 -0
- package/web/chunk-nytgs01h.js.gz +0 -0
- package/web/chunk-pkxn54jm.js +0 -1
- package/web/chunk-pkxn54jm.js.br +0 -0
- package/web/chunk-pkxn54jm.js.gz +0 -0
- package/web/chunk-q0srq8g5.js.br +0 -0
- package/web/chunk-q0srq8g5.js.gz +0 -0
- package/web/chunk-qjg6dw46.js.br +0 -0
- package/web/chunk-qjg6dw46.js.gz +0 -0
- package/web/chunk-qjjxevxe.js +0 -1
- package/web/chunk-qjjxevxe.js.br +0 -0
- package/web/chunk-qjjxevxe.js.gz +0 -0
- package/web/chunk-qx5ab39c.js.br +0 -0
- package/web/chunk-qx5ab39c.js.gz +0 -0
- package/web/chunk-recfg8af.js.br +0 -0
- package/web/chunk-recfg8af.js.gz +0 -0
- package/web/chunk-tg3f9xmp.js.br +0 -0
- package/web/chunk-tg3f9xmp.js.gz +0 -0
- package/web/chunk-tgeeggkh.js.br +0 -0
- package/web/chunk-tgeeggkh.js.gz +0 -0
- package/web/chunk-v2bkkhb8.js.br +0 -0
- package/web/chunk-v2bkkhb8.js.gz +0 -0
- package/web/chunk-v5p2fds9.js.br +0 -0
- package/web/chunk-v5p2fds9.js.gz +0 -0
- package/web/chunk-v6snw1sw.js.br +0 -0
- package/web/chunk-v6snw1sw.js.gz +0 -0
- package/web/chunk-veadbga2.js +0 -1
- package/web/chunk-veadbga2.js.br +0 -2
- package/web/chunk-veadbga2.js.gz +0 -0
- package/web/chunk-vh2prc6k.js.br +0 -0
- package/web/chunk-vh2prc6k.js.gz +0 -0
- package/web/chunk-vhpzp7zd.js.br +0 -0
- package/web/chunk-vhpzp7zd.js.gz +0 -0
- package/web/chunk-vpbnyz43.js.br +0 -0
- package/web/chunk-vpbnyz43.js.gz +0 -0
- package/web/chunk-vxadngbp.js.br +0 -3
- package/web/chunk-vxadngbp.js.gz +0 -0
- package/web/chunk-wa8wr2y9.js.br +0 -0
- package/web/chunk-wa8wr2y9.js.gz +0 -0
- package/web/chunk-wbxz2bjb.js.br +0 -0
- package/web/chunk-wbxz2bjb.js.gz +0 -0
- package/web/chunk-wgzatts8.js +0 -1
- package/web/chunk-wgzatts8.js.br +0 -0
- package/web/chunk-wgzatts8.js.gz +0 -0
- package/web/chunk-whczyxqw.js +0 -1
- package/web/chunk-whczyxqw.js.br +0 -0
- package/web/chunk-whczyxqw.js.gz +0 -0
- package/web/chunk-wmzz2crn.js +0 -1
- package/web/chunk-wmzz2crn.js.br +0 -0
- package/web/chunk-wmzz2crn.js.gz +0 -0
- package/web/chunk-wvqcbp4a.js.br +0 -0
- package/web/chunk-wvqcbp4a.js.gz +0 -0
- package/web/chunk-x2hxq5yr.js.br +0 -0
- package/web/chunk-x2hxq5yr.js.gz +0 -0
- package/web/chunk-x8bnp6vr.js +0 -1
- package/web/chunk-x8bnp6vr.js.br +0 -0
- package/web/chunk-x8bnp6vr.js.gz +0 -0
- package/web/chunk-xvmzsftt.js +0 -2
- package/web/chunk-xvmzsftt.js.br +0 -0
- package/web/chunk-xvmzsftt.js.gz +0 -0
- package/web/chunk-ye7vge7s.js.br +0 -0
- package/web/chunk-ye7vge7s.js.gz +0 -0
- package/web/chunk-zbzgd8kn.js.br +0 -0
- package/web/chunk-zbzgd8kn.js.gz +0 -0
- package/web/chunk-zhwqscat.js +0 -1
- package/web/chunk-zhwqscat.js.br +0 -0
- package/web/chunk-zhwqscat.js.gz +0 -0
- package/web/chunk-znrsm604.js.br +0 -0
- package/web/chunk-znrsm604.js.gz +0 -0
- package/web/chunk-zthww0ws.js.br +0 -0
- package/web/chunk-zthww0ws.js.gz +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{t,vo,a,k,G,A,R,I,L,D,P,M,u,h,Pr,Ua,Or,$s,St,pl,dr,oa,F}from"./chunk-v2bkkhb8.js";import"./chunk-89crtpnw.js";import{Kr,kr}from"./chunk-5cp4n5ck.js";import{_a,mi,Xi,fi,fn}from"./chunk-hwxj58j5.js";import{Ln}from"./chunk-9y9nwaqj.js";import{Ze,Xe}from"./chunk-qjg6dw46.js";var pn=Xe(function(tr,er){(function(e,r){typeof tr=="object"&&typeof er<"u"?er.exports=r():typeof define=="function"&&define.amd?define(r):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_isoWeek=r()})(tr,function(){var e="day";return function(r,n,i){var s=function(w){return w.add(4-w.isoWeekday(),e)},o=n.prototype;o.isoWeekYear=function(){return s(this).year()},o.isoWeek=function(w){if(!this.$utils().u(w))return this.add(7*(w-this.isoWeek()),e);var C,z,W,X,E=s(this),V=(C=this.isoWeekYear(),z=this.$u,W=(z?i.utc:i)().year(C).startOf("year"),X=4-W.isoWeekday(),W.isoWeekday()>4&&(X+=7),W.add(X,e));return E.diff(V,"week")+1},o.isoWeekday=function(w){return this.$utils().u(w)?this.day()||7:this.day(this.day()%7?w:w-7)};var l=o.startOf;o.startOf=function(w,C){var z=this.$utils(),W=!!z.u(C)||C;return z.p(w)==="isoweek"?W?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):l.bind(this)(w,C)}}})});var Tn=Xe(function(rr,nr){(function(e,r){typeof rr=="object"&&typeof nr<"u"?nr.exports=r():typeof define=="function"&&define.amd?define(r):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_customParseFormat=r()})(rr,function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,i=/\d\d/,s=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,l={},w=function(U){return(U=+U)+(U>68?1900:2000)},C=function(U){return function(B){this[U]=+B}},z=[/[+-]\d\d:?(\d\d)?|Z/,function(U){(this.zone||(this.zone={})).offset=function(B){if(!B)return 0;if(B==="Z")return 0;var O=B.match(/([+-]|\d\d)/g),tt=60*O[1]+(+O[2]||0);return tt===0?0:O[0]==="+"?-tt:tt}(U)}],W=function(U){var B=l[U];return B&&(B.indexOf?B:B.s.concat(B.f))},X=function(U,B){var O,tt=l.meridiem;if(tt){for(var ft=1;ft<=24;ft+=1)if(U.indexOf(tt(ft,0,B))>-1){O=ft>12;break}}else O=U===(B?"pm":"PM");return O},E={A:[o,function(U){this.afternoon=X(U,!1)}],a:[o,function(U){this.afternoon=X(U,!0)}],Q:[n,function(U){this.month=3*(U-1)+1}],S:[n,function(U){this.milliseconds=100*+U}],SS:[i,function(U){this.milliseconds=10*+U}],SSS:[/\d{3}/,function(U){this.milliseconds=+U}],s:[s,C("seconds")],ss:[s,C("seconds")],m:[s,C("minutes")],mm:[s,C("minutes")],H:[s,C("hours")],h:[s,C("hours")],HH:[s,C("hours")],hh:[s,C("hours")],D:[s,C("day")],DD:[i,C("day")],Do:[o,function(U){var B=l.ordinal,O=U.match(/\d+/);if(this.day=O[0],B)for(var tt=1;tt<=31;tt+=1)B(tt).replace(/\[|\]/g,"")===U&&(this.day=tt)}],w:[s,C("week")],ww:[i,C("week")],M:[s,C("month")],MM:[i,C("month")],MMM:[o,function(U){var B=W("months"),O=(W("monthsShort")||B.map(function(tt){return tt.slice(0,3)})).indexOf(U)+1;if(O<1)throw Error();this.month=O%12||O}],MMMM:[o,function(U){var B=W("months").indexOf(U)+1;if(B<1)throw Error();this.month=B%12||B}],Y:[/[+-]?\d+/,C("year")],YY:[i,function(U){this.year=w(U)}],YYYY:[/\d{4}/,C("year")],Z:z,ZZ:z};function V(U){var B,O;B=U,O=l&&l.formats;for(var tt=(U=B.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(rt,nt,x){var Y=x&&x.toUpperCase();return nt||O[x]||e[x]||O[Y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(_,N,d){return N||d.slice(1)})})).match(r),ft=tt.length,at=0;at<ft;at+=1){var Z=tt[at],S=E[Z],f=S&&S[0],H=S&&S[1];tt[at]=H?{regex:f,parser:H}:Z.replace(/^\[|\]$/g,"")}return function(rt){for(var nt={},x=0,Y=0;x<ft;x+=1){var _=tt[x];if(typeof _=="string")Y+=_.length;else{var{regex:N,parser:d}=_,b=rt.slice(Y),v=N.exec(b)[0];d.call(nt,v),rt=rt.replace(v,"")}}return function(T){var Q=T.afternoon;if(Q!==void 0){var c=T.hours;Q?c<12&&(T.hours+=12):c===12&&(T.hours=0),delete T.afternoon}}(nt),nt}}return function(U,B,O){O.p.customParseFormat=!0,U&&U.parseTwoDigitYear&&(w=U.parseTwoDigitYear);var tt=B.prototype,ft=tt.parse;tt.parse=function(at){var{date:Z,utc:S,args:f}=at;this.$u=S;var H=f[1];if(typeof H=="string"){var rt=f[2]===!0,nt=f[3]===!0,x=rt||nt,Y=f[2];nt&&(Y=f[2]),l=this.$locale(),!rt&&Y&&(l=O.Ls[Y]),this.$d=function(b,v,T,Q){try{if(["x","X"].indexOf(v)>-1)return new Date((v==="X"?1000:1)*b);var c=V(v)(b),{year:J,month:y,day:mt,hours:m,minutes:q,seconds:K,milliseconds:ut,zone:lt,week:it}=c,p=new Date,j=mt||(J||y?1:p.getDate()),et=J||p.getFullYear(),g=0;J&&!y||(g=y>0?y-1:p.getMonth());var ht,st=m||0,ot=q||0,yt=K||0,gt=ut||0;return lt?new Date(Date.UTC(et,g,j,st,ot,yt,gt+60*lt.offset*1000)):T?new Date(Date.UTC(et,g,j,st,ot,yt,gt)):(ht=new Date(et,g,j,st,ot,yt,gt),it&&(ht=Q(ht).week(it).toDate()),ht)}catch(Tt){return new Date("")}}(Z,H,S,O),this.init(),Y&&Y!==!0&&(this.$L=this.locale(Y).$L),x&&Z!=this.format(H)&&(this.$d=new Date("")),l={}}else if(H instanceof Array)for(var _=H.length,N=1;N<=_;N+=1){f[1]=H[N-1];var d=O.apply(this,f);if(d.isValid()){this.$d=d.$d,this.$L=d.$L,this.init();break}N===_&&(this.$d=new Date(""))}else ft.call(this,at)}}})});var vn=Xe(function(ir,ar){(function(e,r){typeof ir=="object"&&typeof ar<"u"?ar.exports=r():typeof define=="function"&&define.amd?define(r):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_advancedFormat=r()})(ir,function(){return function(e,r){var n=r.prototype,i=n.format;n.format=function(s){var o=this,l=this.$locale();if(!this.isValid())return i.bind(this)(s);var w=this.$utils(),C=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(z){switch(z){case"Q":return Math.ceil((o.$M+1)/3);case"Do":return l.ordinal(o.$D);case"gggg":return o.weekYear();case"GGGG":return o.isoWeekYear();case"wo":return l.ordinal(o.week(),"W");case"w":case"ww":return w.s(o.week(),z==="w"?1:2,"0");case"W":case"WW":return w.s(o.isoWeek(),z==="W"?1:2,"0");case"k":case"kk":return w.s(String(o.$H===0?24:o.$H),z==="k"?1:2,"0");case"X":return Math.floor(o.$d.getTime()/1000);case"x":return o.$d.getTime();case"z":return"["+o.offsetName()+"]";case"zzz":return"["+o.offsetName("long")+"]";default:return z}});return i.bind(this)(C)}}})});var xn=Xe(function(sr,or){(function(e,r){typeof sr=="object"&&typeof or<"u"?or.exports=r():typeof define=="function"&&define.amd?define(r):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_duration=r()})(sr,function(){var e,r,n=1000,i=60000,s=3600000,o=86400000,l=31536000000,w=2628000000,C=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,z=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,W={years:l,months:w,days:o,hours:s,minutes:i,seconds:n,milliseconds:1,weeks:604800000},X=function(Z){return Z instanceof ft},E=function(Z,S,f){return new ft(Z,f,S.$l)},V=function(Z){return r.p(Z)+"s"},U=function(Z){return Z<0},B=function(Z){return U(Z)?Math.ceil(Z):Math.floor(Z)},O=function(Z){return Math.abs(Z)},tt=function(Z,S){return Z?U(Z)?{negative:!0,format:""+O(Z)+S}:{negative:!1,format:""+Z+S}:{negative:!1,format:""}},ft=function(){function Z(f,H,rt){var nt=this;if(this.$d={},this.$l=rt,f===void 0&&(this.$ms=0,this.parseFromMilliseconds()),H)return E(f*W[V(H)],this);if(typeof f=="number")return this.$ms=f,this.parseFromMilliseconds(),this;if(typeof f=="object")return Object.keys(f).forEach(function(_){nt.$d[V(_)]=f[_]}),this.calMilliseconds(),this;if(typeof f=="string"){var x=f.match(C);if(x){var Y=x.slice(2).map(function(_){return _!=null?Number(_):0});return this.$d.years=Y[0],this.$d.months=Y[1],this.$d.weeks=Y[2],this.$d.days=Y[3],this.$d.hours=Y[4],this.$d.minutes=Y[5],this.$d.seconds=Y[6],this.calMilliseconds(),this}}return this}var S=Z.prototype;return S.calMilliseconds=function(){var f=this;this.$ms=Object.keys(this.$d).reduce(function(H,rt){return H+(f.$d[rt]||0)*W[rt]},0)},S.parseFromMilliseconds=function(){var f=this.$ms;this.$d.years=B(f/l),f%=l,this.$d.months=B(f/w),f%=w,this.$d.days=B(f/o),f%=o,this.$d.hours=B(f/s),f%=s,this.$d.minutes=B(f/i),f%=i,this.$d.seconds=B(f/n),f%=n,this.$d.milliseconds=f},S.toISOString=function(){var f=tt(this.$d.years,"Y"),H=tt(this.$d.months,"M"),rt=+this.$d.days||0;this.$d.weeks&&(rt+=7*this.$d.weeks);var nt=tt(rt,"D"),x=tt(this.$d.hours,"H"),Y=tt(this.$d.minutes,"M"),_=this.$d.seconds||0;this.$d.milliseconds&&(_+=this.$d.milliseconds/1000,_=Math.round(1000*_)/1000);var N=tt(_,"S"),d=f.negative||H.negative||nt.negative||x.negative||Y.negative||N.negative,b=x.format||Y.format||N.format?"T":"",v=(d?"-":"")+"P"+f.format+H.format+nt.format+b+x.format+Y.format+N.format;return v==="P"||v==="-P"?"P0D":v},S.toJSON=function(){return this.toISOString()},S.format=function(f){var H=f||"YYYY-MM-DDTHH:mm:ss",rt={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return H.replace(z,function(nt,x){return x||String(rt[nt])})},S.as=function(f){return this.$ms/W[V(f)]},S.get=function(f){var H=this.$ms,rt=V(f);return rt==="milliseconds"?H%=1000:H=rt==="weeks"?B(H/W[rt]):this.$d[rt],H||0},S.add=function(f,H,rt){var nt;return nt=H?f*W[V(H)]:X(f)?f.$ms:E(f,this).$ms,E(this.$ms+nt*(rt?-1:1),this)},S.subtract=function(f,H){return this.add(f,H,!0)},S.locale=function(f){var H=this.clone();return H.$l=f,H},S.clone=function(){return E(this.$ms,this)},S.humanize=function(f){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!f)},S.valueOf=function(){return this.asMilliseconds()},S.milliseconds=function(){return this.get("milliseconds")},S.asMilliseconds=function(){return this.as("milliseconds")},S.seconds=function(){return this.get("seconds")},S.asSeconds=function(){return this.as("seconds")},S.minutes=function(){return this.get("minutes")},S.asMinutes=function(){return this.as("minutes")},S.hours=function(){return this.get("hours")},S.asHours=function(){return this.as("hours")},S.days=function(){return this.get("days")},S.asDays=function(){return this.as("days")},S.weeks=function(){return this.get("weeks")},S.asWeeks=function(){return this.as("weeks")},S.months=function(){return this.get("months")},S.asMonths=function(){return this.as("months")},S.years=function(){return this.get("years")},S.asYears=function(){return this.as("years")},Z}(),at=function(Z,S,f){return Z.add(S.years()*f,"y").add(S.months()*f,"M").add(S.days()*f,"d").add(S.hours()*f,"h").add(S.minutes()*f,"m").add(S.seconds()*f,"s").add(S.milliseconds()*f,"ms")};return function(Z,S,f){e=f,r=f().$utils(),f.duration=function(nt,x){var Y=f.locale();return E(nt,{$l:Y},x)},f.isDuration=X;var H=S.prototype.add,rt=S.prototype.subtract;S.prototype.add=function(nt,x){return X(nt)?at(this,nt,1):H.bind(this)(nt,x)},S.prototype.subtract=function(nt,x){return X(nt)?at(this,nt,-1):rt.bind(this)(nt,x)}}})});function Ue(e){return e}var he=1,Le=2,We=3,me=4,Cr=0.000001;function Pn(e){return"translate("+e+",0)"}function Vn(e){return"translate(0,"+e+")"}function zn(e){return(r)=>+e(r)}function Rn(e,r){if(r=Math.max(0,e.bandwidth()-r*2)/2,e.round())r=Math.round(r);return(n)=>+e(n)+r}function Bn(){return!this.__axis}function Sr(e,r){var n=[],i=null,s=null,o=6,l=6,w=3,C=typeof window<"u"&&window.devicePixelRatio>1?0:0.5,z=e===he||e===me?-1:1,W=e===me||e===Le?"x":"y",X=e===he||e===We?Pn:Vn;function E(V){var U=i==null?r.ticks?r.ticks.apply(r,n):r.domain():i,B=s==null?r.tickFormat?r.tickFormat.apply(r,n):Ue:s,O=Math.max(o,0)+w,tt=r.range(),ft=+tt[0]+C,at=+tt[tt.length-1]+C,Z=(r.bandwidth?Rn:zn)(r.copy(),C),S=V.selection?V.selection():V,f=S.selectAll(".domain").data([null]),H=S.selectAll(".tick").data(U,r).order(),rt=H.exit(),nt=H.enter().append("g").attr("class","tick"),x=H.select("line"),Y=H.select("text");if(f=f.merge(f.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),H=H.merge(nt),x=x.merge(nt.append("line").attr("stroke","currentColor").attr(W+"2",z*o)),Y=Y.merge(nt.append("text").attr("fill","currentColor").attr(W,z*O).attr("dy",e===he?"0em":e===We?"0.71em":"0.32em")),V!==S)f=f.transition(V),H=H.transition(V),x=x.transition(V),Y=Y.transition(V),rt=rt.transition(V).attr("opacity",Cr).attr("transform",function(_){return isFinite(_=Z(_))?X(_+C):this.getAttribute("transform")}),nt.attr("opacity",Cr).attr("transform",function(_){var N=this.parentNode.__axis;return X((N&&isFinite(N=N(_))?N:Z(_))+C)});rt.remove(),f.attr("d",e===me||e===Le?l?"M"+z*l+","+ft+"H"+C+"V"+at+"H"+z*l:"M"+C+","+ft+"V"+at:l?"M"+ft+","+z*l+"V"+C+"H"+at+"V"+z*l:"M"+ft+","+C+"H"+at),H.attr("opacity",1).attr("transform",function(_){return X(Z(_)+C)}),x.attr(W+"2",z*o),Y.attr(W,z*O).text(B),S.filter(Bn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===Le?"start":e===me?"end":"middle"),S.each(function(){this.__axis=Z})}return E.scale=function(V){return arguments.length?(r=V,E):r},E.ticks=function(){return n=Array.from(arguments),E},E.tickArguments=function(V){return arguments.length?(n=V==null?[]:Array.from(V),E):n.slice()},E.tickValues=function(V){return arguments.length?(i=V==null?null:Array.from(V),E):i&&i.slice()},E.tickFormat=function(V){return arguments.length?(s=V,E):s},E.tickSize=function(V){return arguments.length?(o=l=+V,E):o},E.tickSizeInner=function(V){return arguments.length?(o=+V,E):o},E.tickSizeOuter=function(V){return arguments.length?(l=+V,E):l},E.tickPadding=function(V){return arguments.length?(w=+V,E):w},E.offset=function(V){return arguments.length?(C=+V,E):C},E}function Ee(e){return Sr(he,e)}function Ae(e){return Sr(We,e)}var _r=Math.PI/180,Yr=180/Math.PI;var ye=18,Fr=0.96422,Ir=1,Ur=0.82521,Lr=0.13793103448275862,qt=0.20689655172413793,Wr=3*qt*qt,Zn=qt*qt*qt;function Er(e){if(e instanceof Ft)return new Ft(e.l,e.a,e.b,e.opacity);if(e instanceof At)return $r(e);if(!(e instanceof St))e=$s(e);var r=Ne(e.r),n=Ne(e.g),i=Ne(e.b),s=Oe((0.2225045*r+0.7168786*n+0.0606169*i)/Ir),o,l;if(r===n&&n===i)o=l=s;else o=Oe((0.4360747*r+0.3850649*n+0.1430804*i)/Fr),l=Oe((0.0139322*r+0.0971045*n+0.7141733*i)/Ur);return new Ft(116*s-16,500*(o-s),200*(s-l),e.opacity)}function Ar(e,r,n,i){return arguments.length===1?Er(e):new Ft(e,r,n,i==null?1:i)}function Ft(e,r,n,i){this.l=+e,this.a=+r,this.b=+n,this.opacity=+i}Pr(Ft,Ar,Ua(Or,{brighter(e){return new Ft(this.l+ye*(e==null?1:e),this.a,this.b,this.opacity)},darker(e){return new Ft(this.l-ye*(e==null?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,r=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return r=Fr*$e(r),e=Ir*$e(e),n=Ur*$e(n),new St(He(3.1338561*r-1.6168667*e-0.4906146*n),He(-0.9787684*r+1.9161415*e+0.033454*n),He(0.0719453*r-0.2289914*e+1.4052427*n),this.opacity)}}));function Oe(e){return e>Zn?Math.pow(e,0.3333333333333333):e/Wr+Lr}function $e(e){return e>qt?e*e*e:Wr*(e-Lr)}function He(e){return 255*(e<=0.0031308?12.92*e:1.055*Math.pow(e,0.4166666666666667)-0.055)}function Ne(e){return(e/=255)<=0.04045?e/12.92:Math.pow((e+0.055)/1.055,2.4)}function jn(e){if(e instanceof At)return new At(e.h,e.c,e.l,e.opacity);if(!(e instanceof Ft))e=Er(e);if(e.a===0&&e.b===0)return new At(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var r=Math.atan2(e.b,e.a)*Yr;return new At(r<0?r+360:r,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function ge(e,r,n,i){return arguments.length===1?jn(e):new At(e,r,n,i==null?1:i)}function At(e,r,n,i){this.h=+e,this.c=+r,this.l=+n,this.opacity=+i}function $r(e){if(isNaN(e.h))return new Ft(e.l,0,0,e.opacity);var r=e.h*_r;return new Ft(e.l,Math.cos(r)*e.c,Math.sin(r)*e.c,e.opacity)}Pr(At,ge,Ua(Or,{brighter(e){return new At(this.h,this.c,this.l+ye*(e==null?1:e),this.opacity)},darker(e){return new At(this.h,this.c,this.l-ye*(e==null?1:e),this.opacity)},rgb(){return $r(this).rgb()}}));function Hr(e){return function(r,n){var i=e((r=ge(r)).h,(n=ge(n)).h),s=dr(r.c,n.c),o=dr(r.l,n.l),l=dr(r.opacity,n.opacity);return function(w){return r.h=i(w),r.c=s(w),r.l=o(w),r.opacity=l(w),r+""}}}var Nr=Hr(pl),Is=Hr(dr);function Pe(e,r){e=e.slice();var n=0,i=e.length-1,s=e[n],o=e[i],l;if(o<s)l=n,n=i,i=l,l=s,s=o,o=l;return e[n]=r.floor(s),e[i]=r.ceil(o),e}var Ve=new Date,ze=new Date;function dt(e,r,n,i){function s(o){return e(o=arguments.length===0?new Date:new Date(+o)),o}if(s.floor=(o)=>(e(o=new Date(+o)),o),s.ceil=(o)=>(e(o=new Date(o-1)),r(o,1),e(o),o),s.round=(o)=>{let l=s(o),w=s.ceil(o);return o-l<w-o?l:w},s.offset=(o,l)=>(r(o=new Date(+o),l==null?1:Math.floor(l)),o),s.range=(o,l,w)=>{let C=[];if(o=s.ceil(o),w=w==null?1:Math.floor(w),!(o<l)||!(w>0))return C;let z;do C.push(z=new Date(+o)),r(o,w),e(o);while(z<o&&o<l);return C},s.filter=(o)=>dt((l)=>{if(l>=l)while(e(l),!o(l))l.setTime(l-1)},(l,w)=>{if(l>=l)if(w<0)while(++w<=0)while(r(l,-1),!o(l));else while(--w>=0)while(r(l,1),!o(l));}),n)s.count=(o,l)=>(Ve.setTime(+o),ze.setTime(+l),e(Ve),e(ze),Math.floor(n(Ve,ze))),s.every=(o)=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:!(o>1)?s:s.filter(i?(l)=>i(l)%o===0:(l)=>s.count(0,l)%o===0));return s}var It=dt(()=>{},(e,r)=>{e.setTime(+e+r)},(e,r)=>r-e);It.every=(e)=>{if(e=Math.floor(e),!isFinite(e)||!(e>0))return null;if(!(e>1))return It;return dt((r)=>{r.setTime(Math.floor(r/e)*e)},(r,n)=>{r.setTime(+r+n*e)},(r,n)=>(n-r)/e)};var Vr=It.range;var Dt=1000,vt=60000,Ut=3600000,Pt=86400000,ae=604800000,Re=2592000000,ke=31536000000;var xt=dt((e)=>{e.setTime(e-e.getMilliseconds())},(e,r)=>{e.setTime(+e+r*Dt)},(e,r)=>(r-e)/Dt,(e)=>e.getUTCSeconds()),zr=xt.range;var Ot=dt((e)=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Dt)},(e,r)=>{e.setTime(+e+r*vt)},(e,r)=>(r-e)/vt,(e)=>e.getMinutes()),Xn=Ot.range,pe=dt((e)=>{e.setUTCSeconds(0,0)},(e,r)=>{e.setTime(+e+r*vt)},(e,r)=>(r-e)/vt,(e)=>e.getUTCMinutes()),Gn=pe.range;var $t=dt((e)=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Dt-e.getMinutes()*vt)},(e,r)=>{e.setTime(+e+r*Ut)},(e,r)=>(r-e)/Ut,(e)=>e.getHours()),qn=$t.range,Te=dt((e)=>{e.setUTCMinutes(0,0,0)},(e,r)=>{e.setTime(+e+r*Ut)},(e,r)=>(r-e)/Ut,(e)=>e.getUTCHours()),Qn=Te.range;var Ct=dt((e)=>e.setHours(0,0,0,0),(e,r)=>e.setDate(e.getDate()+r),(e,r)=>(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*vt)/Pt,(e)=>e.getDate()-1),Jn=Ct.range,se=dt((e)=>{e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r)},(e,r)=>(r-e)/Pt,(e)=>e.getUTCDate()-1),Kn=se.range,ve=dt((e)=>{e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r)},(e,r)=>(r-e)/Pt,(e)=>Math.floor(e/Pt)),ti=ve.range;function Rt(e){return dt((r)=>{r.setDate(r.getDate()-(r.getDay()+7-e)%7),r.setHours(0,0,0,0)},(r,n)=>{r.setDate(r.getDate()+n*7)},(r,n)=>(n-r-(n.getTimezoneOffset()-r.getTimezoneOffset())*vt)/ae)}var _t=Rt(0),Vt=Rt(1),xe=Rt(2),be=Rt(3),Lt=Rt(4),we=Rt(5),Me=Rt(6),Rr=_t.range,ei=Vt.range,ri=xe.range,ni=be.range,ii=Lt.range,ai=we.range,si=Me.range;function Bt(e){return dt((r)=>{r.setUTCDate(r.getUTCDate()-(r.getUTCDay()+7-e)%7),r.setUTCHours(0,0,0,0)},(r,n)=>{r.setUTCDate(r.getUTCDate()+n*7)},(r,n)=>(n-r)/ae)}var Zt=Bt(0),Qt=Bt(1),Br=Bt(2),Zr=Bt(3),zt=Bt(4),jr=Bt(5),Xr=Bt(6),Gr=Zt.range,oi=Qt.range,ci=Br.range,ui=Zr.range,li=zt.range,di=jr.range,hi=Xr.range;var Ht=dt((e)=>{e.setDate(1),e.setHours(0,0,0,0)},(e,r)=>{e.setMonth(e.getMonth()+r)},(e,r)=>r.getMonth()-e.getMonth()+(r.getFullYear()-e.getFullYear())*12,(e)=>e.getMonth()),yi=Ht.range,De=dt((e)=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCMonth(e.getUTCMonth()+r)},(e,r)=>r.getUTCMonth()-e.getUTCMonth()+(r.getUTCFullYear()-e.getUTCFullYear())*12,(e)=>e.getUTCMonth()),gi=De.range;var bt=dt((e)=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r)},(e,r)=>r.getFullYear()-e.getFullYear(),(e)=>e.getFullYear());bt.every=(e)=>!isFinite(e=Math.floor(e))||!(e>0)?null:dt((r)=>{r.setFullYear(Math.floor(r.getFullYear()/e)*e),r.setMonth(0,1),r.setHours(0,0,0,0)},(r,n)=>{r.setFullYear(r.getFullYear()+n*e)});var ki=bt.range,Yt=dt((e)=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r)},(e,r)=>r.getUTCFullYear()-e.getUTCFullYear(),(e)=>e.getUTCFullYear());Yt.every=(e)=>!isFinite(e=Math.floor(e))||!(e>0)?null:dt((r)=>{r.setUTCFullYear(Math.floor(r.getUTCFullYear()/e)*e),r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},(r,n)=>{r.setUTCFullYear(r.getUTCFullYear()+n*e)});var pi=Yt.range;function qr(e,r,n,i,s,o){let l=[[xt,1,Dt],[xt,5,5*Dt],[xt,15,15*Dt],[xt,30,30*Dt],[o,1,vt],[o,5,5*vt],[o,15,15*vt],[o,30,30*vt],[s,1,Ut],[s,3,3*Ut],[s,6,6*Ut],[s,12,12*Ut],[i,1,Pt],[i,2,2*Pt],[n,1,ae],[r,1,Re],[r,3,3*Re],[e,1,ke]];function w(z,W,X){let E=W<z;if(E)[z,W]=[W,z];let V=X&&typeof X.range==="function"?X:C(z,W,X),U=V?V.range(z,+W+1):[];return E?U.reverse():U}function C(z,W,X){let E=Math.abs(W-z)/X,V=_a(([,,O])=>O).right(l,E);if(V===l.length)return e.every(mi(z/ke,W/ke,X));if(V===0)return It.every(Math.max(mi(z,W,X),1));let[U,B]=l[E/l[V-1][2]<l[V][2]/E?V-1:V];return U.every(B)}return[w,C]}var[Ti,vi]=qr(Yt,De,Zt,ve,Te,pe),[Be,je]=qr(bt,Ht,_t,Ct,$t,Ot);function Ge(e){if(0<=e.y&&e.y<100){var r=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return r.setFullYear(e.y),r}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function qe(e){if(0<=e.y&&e.y<100){var r=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return r.setUTCFullYear(e.y),r}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function oe(e,r,n){return{y:e,m:r,d:n,H:0,M:0,S:0,L:0}}function Qe(e){var{dateTime:r,date:n,time:i,periods:s,days:o,shortDays:l,months:w,shortMonths:C}=e,z=ce(s),W=ue(s),X=ce(o),E=ue(o),V=ce(l),U=ue(l),B=ce(w),O=ue(w),tt=ce(C),ft=ue(C),at={a:T,A:Q,b:c,B:J,c:null,d:nn,e:nn,f:zi,g:ta,G:ra,H:Ni,I:Pi,j:Vi,L:un,m:Ri,M:Bi,p:y,q:mt,Q:on,s:cn,S:Zi,u:ji,U:Gi,V:qi,w:Qi,W:Ji,x:null,X:null,y:Ki,Y:ea,Z:na,"%":sn},Z={a:m,A:q,b:K,B:ut,c:null,d:an,e:an,f:ca,g:pa,G:va,H:ia,I:aa,j:sa,L:dn,m:ua,M:la,p:lt,q:it,Q:on,s:cn,S:fa,u:da,U:ma,V:ha,w:ya,W:ga,x:null,X:null,y:ka,Y:Ta,Z:xa,"%":sn},S={a:x,A:Y,b:_,B:N,c:d,d:en,e:en,f:Ai,g:tn,G:Jr,H:rn,I:rn,j:Ui,L:Ei,m:Ii,M:Li,p:nt,q:Fi,Q:$i,s:Hi,S:Wi,u:Di,U:Ci,V:Si,w:Mi,W:_i,x:b,X:v,y:tn,Y:Jr,Z:Yi,"%":Oi};at.x=f(n,at),at.X=f(i,at),at.c=f(r,at),Z.x=f(n,Z),Z.X=f(i,Z),Z.c=f(r,Z);function f(p,j){return function(et){var g=[],ht=-1,st=0,ot=p.length,yt,gt,Tt;if(!(et instanceof Date))et=new Date(+et);while(++ht<ot)if(p.charCodeAt(ht)===37){if(g.push(p.slice(st,ht)),(gt=Qr[yt=p.charAt(++ht)])!=null)yt=p.charAt(++ht);else gt=yt==="e"?" ":"0";if(Tt=j[yt])yt=Tt(et,gt);g.push(yt),st=ht+1}return g.push(p.slice(st,ht)),g.join("")}}function H(p,j){return function(et){var g=oe(1900,void 0,1),ht=rt(g,p,et+="",0),st,ot;if(ht!=et.length)return null;if("Q"in g)return new Date(g.Q);if("s"in g)return new Date(g.s*1000+("L"in g?g.L:0));if(j&&!("Z"in g))g.Z=0;if("p"in g)g.H=g.H%12+g.p*12;if(g.m===void 0)g.m="q"in g?g.q:0;if("V"in g){if(g.V<1||g.V>53)return null;if(!("w"in g))g.w=1;if("Z"in g)st=qe(oe(g.y,0,1)),ot=st.getUTCDay(),st=ot>4||ot===0?Qt.ceil(st):Qt(st),st=se.offset(st,(g.V-1)*7),g.y=st.getUTCFullYear(),g.m=st.getUTCMonth(),g.d=st.getUTCDate()+(g.w+6)%7;else st=Ge(oe(g.y,0,1)),ot=st.getDay(),st=ot>4||ot===0?Vt.ceil(st):Vt(st),st=Ct.offset(st,(g.V-1)*7),g.y=st.getFullYear(),g.m=st.getMonth(),g.d=st.getDate()+(g.w+6)%7}else if("W"in g||"U"in g){if(!("w"in g))g.w="u"in g?g.u%7:("W"in g)?1:0;ot="Z"in g?qe(oe(g.y,0,1)).getUTCDay():Ge(oe(g.y,0,1)).getDay(),g.m=0,g.d="W"in g?(g.w+6)%7+g.W*7-(ot+5)%7:g.w+g.U*7-(ot+6)%7}if("Z"in g)return g.H+=g.Z/100|0,g.M+=g.Z%100,qe(g);return Ge(g)}}function rt(p,j,et,g){var ht=0,st=j.length,ot=et.length,yt,gt;while(ht<st){if(g>=ot)return-1;if(yt=j.charCodeAt(ht++),yt===37){if(yt=j.charAt(ht++),gt=S[yt in Qr?j.charAt(ht++):yt],!gt||(g=gt(p,et,g))<0)return-1}else if(yt!=et.charCodeAt(g++))return-1}return g}function nt(p,j,et){var g=z.exec(j.slice(et));return g?(p.p=W.get(g[0].toLowerCase()),et+g[0].length):-1}function x(p,j,et){var g=V.exec(j.slice(et));return g?(p.w=U.get(g[0].toLowerCase()),et+g[0].length):-1}function Y(p,j,et){var g=X.exec(j.slice(et));return g?(p.w=E.get(g[0].toLowerCase()),et+g[0].length):-1}function _(p,j,et){var g=tt.exec(j.slice(et));return g?(p.m=ft.get(g[0].toLowerCase()),et+g[0].length):-1}function N(p,j,et){var g=B.exec(j.slice(et));return g?(p.m=O.get(g[0].toLowerCase()),et+g[0].length):-1}function d(p,j,et){return rt(p,r,j,et)}function b(p,j,et){return rt(p,n,j,et)}function v(p,j,et){return rt(p,i,j,et)}function T(p){return l[p.getDay()]}function Q(p){return o[p.getDay()]}function c(p){return C[p.getMonth()]}function J(p){return w[p.getMonth()]}function y(p){return s[+(p.getHours()>=12)]}function mt(p){return 1+~~(p.getMonth()/3)}function m(p){return l[p.getUTCDay()]}function q(p){return o[p.getUTCDay()]}function K(p){return C[p.getUTCMonth()]}function ut(p){return w[p.getUTCMonth()]}function lt(p){return s[+(p.getUTCHours()>=12)]}function it(p){return 1+~~(p.getUTCMonth()/3)}return{format:function(p){var j=f(p+="",at);return j.toString=function(){return p},j},parse:function(p){var j=H(p+="",!1);return j.toString=function(){return p},j},utcFormat:function(p){var j=f(p+="",Z);return j.toString=function(){return p},j},utcParse:function(p){var j=H(p+="",!0);return j.toString=function(){return p},j}}}var Qr={"-":"",_:" ","0":"0"},pt=/^\s*\d+/,xi=/^%/,bi=/[\\^$*+?|[\]().{}]/g;function ct(e,r,n){var i=e<0?"-":"",s=(i?-e:e)+"",o=s.length;return i+(o<n?Array(n-o+1).join(r)+s:s)}function wi(e){return e.replace(bi,"\\$&")}function ce(e){return new RegExp("^(?:"+e.map(wi).join("|")+")","i")}function ue(e){return new Map(e.map((r,n)=>[r.toLowerCase(),n]))}function Mi(e,r,n){var i=pt.exec(r.slice(n,n+1));return i?(e.w=+i[0],n+i[0].length):-1}function Di(e,r,n){var i=pt.exec(r.slice(n,n+1));return i?(e.u=+i[0],n+i[0].length):-1}function Ci(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.U=+i[0],n+i[0].length):-1}function Si(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.V=+i[0],n+i[0].length):-1}function _i(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.W=+i[0],n+i[0].length):-1}function Jr(e,r,n){var i=pt.exec(r.slice(n,n+4));return i?(e.y=+i[0],n+i[0].length):-1}function tn(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.y=+i[0]+(+i[0]>68?1900:2000),n+i[0].length):-1}function Yi(e,r,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(r.slice(n,n+6));return i?(e.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function Fi(e,r,n){var i=pt.exec(r.slice(n,n+1));return i?(e.q=i[0]*3-3,n+i[0].length):-1}function Ii(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.m=i[0]-1,n+i[0].length):-1}function en(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.d=+i[0],n+i[0].length):-1}function Ui(e,r,n){var i=pt.exec(r.slice(n,n+3));return i?(e.m=0,e.d=+i[0],n+i[0].length):-1}function rn(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.H=+i[0],n+i[0].length):-1}function Li(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.M=+i[0],n+i[0].length):-1}function Wi(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.S=+i[0],n+i[0].length):-1}function Ei(e,r,n){var i=pt.exec(r.slice(n,n+3));return i?(e.L=+i[0],n+i[0].length):-1}function Ai(e,r,n){var i=pt.exec(r.slice(n,n+6));return i?(e.L=Math.floor(i[0]/1000),n+i[0].length):-1}function Oi(e,r,n){var i=xi.exec(r.slice(n,n+1));return i?n+i[0].length:-1}function $i(e,r,n){var i=pt.exec(r.slice(n));return i?(e.Q=+i[0],n+i[0].length):-1}function Hi(e,r,n){var i=pt.exec(r.slice(n));return i?(e.s=+i[0],n+i[0].length):-1}function nn(e,r){return ct(e.getDate(),r,2)}function Ni(e,r){return ct(e.getHours(),r,2)}function Pi(e,r){return ct(e.getHours()%12||12,r,2)}function Vi(e,r){return ct(1+Ct.count(bt(e),e),r,3)}function un(e,r){return ct(e.getMilliseconds(),r,3)}function zi(e,r){return un(e,r)+"000"}function Ri(e,r){return ct(e.getMonth()+1,r,2)}function Bi(e,r){return ct(e.getMinutes(),r,2)}function Zi(e,r){return ct(e.getSeconds(),r,2)}function ji(e){var r=e.getDay();return r===0?7:r}function Gi(e,r){return ct(_t.count(bt(e)-1,e),r,2)}function ln(e){var r=e.getDay();return r>=4||r===0?Lt(e):Lt.ceil(e)}function qi(e,r){return e=ln(e),ct(Lt.count(bt(e),e)+(bt(e).getDay()===4),r,2)}function Qi(e){return e.getDay()}function Ji(e,r){return ct(Vt.count(bt(e)-1,e),r,2)}function Ki(e,r){return ct(e.getFullYear()%100,r,2)}function ta(e,r){return e=ln(e),ct(e.getFullYear()%100,r,2)}function ea(e,r){return ct(e.getFullYear()%1e4,r,4)}function ra(e,r){var n=e.getDay();return e=n>=4||n===0?Lt(e):Lt.ceil(e),ct(e.getFullYear()%1e4,r,4)}function na(e){var r=e.getTimezoneOffset();return(r>0?"-":(r*=-1,"+"))+ct(r/60|0,"0",2)+ct(r%60,"0",2)}function an(e,r){return ct(e.getUTCDate(),r,2)}function ia(e,r){return ct(e.getUTCHours(),r,2)}function aa(e,r){return ct(e.getUTCHours()%12||12,r,2)}function sa(e,r){return ct(1+se.count(Yt(e),e),r,3)}function dn(e,r){return ct(e.getUTCMilliseconds(),r,3)}function ca(e,r){return dn(e,r)+"000"}function ua(e,r){return ct(e.getUTCMonth()+1,r,2)}function la(e,r){return ct(e.getUTCMinutes(),r,2)}function fa(e,r){return ct(e.getUTCSeconds(),r,2)}function da(e){var r=e.getUTCDay();return r===0?7:r}function ma(e,r){return ct(Zt.count(Yt(e)-1,e),r,2)}function mn(e){var r=e.getUTCDay();return r>=4||r===0?zt(e):zt.ceil(e)}function ha(e,r){return e=mn(e),ct(zt.count(Yt(e),e)+(Yt(e).getUTCDay()===4),r,2)}function ya(e){return e.getUTCDay()}function ga(e,r){return ct(Qt.count(Yt(e)-1,e),r,2)}function ka(e,r){return ct(e.getUTCFullYear()%100,r,2)}function pa(e,r){return e=mn(e),ct(e.getUTCFullYear()%100,r,2)}function Ta(e,r){return ct(e.getUTCFullYear()%1e4,r,4)}function va(e,r){var n=e.getUTCDay();return e=n>=4||n===0?zt(e):zt.ceil(e),ct(e.getUTCFullYear()%1e4,r,4)}function xa(){return"+0000"}function sn(){return"%"}function on(e){return+e}function cn(e){return Math.floor(+e/1000)}var Jt,jt,hn,yn,gn;Je({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Je(e){return Jt=Qe(e),jt=Jt.format,hn=Jt.parse,yn=Jt.utcFormat,gn=Jt.utcParse,Jt}function ba(e){return new Date(e)}function wa(e){return e instanceof Date?+e:+new Date(+e)}function kn(e,r,n,i,s,o,l,w,C,z){var W=fi(),{invert:X,domain:E}=W,V=z(".%L"),U=z(":%S"),B=z("%I:%M"),O=z("%I %p"),tt=z("%a %d"),ft=z("%b %d"),at=z("%B"),Z=z("%Y");function S(f){return(C(f)<f?V:w(f)<f?U:l(f)<f?B:o(f)<f?O:i(f)<f?s(f)<f?tt:ft:n(f)<f?at:Z)(f)}return W.invert=function(f){return new Date(X(f))},W.domain=function(f){return arguments.length?E(Array.from(f,wa)):E().map(ba)},W.ticks=function(f){var H=E();return e(H[0],H[H.length-1],f==null?10:f)},W.tickFormat=function(f,H){return H==null?S:z(H)},W.nice=function(f){var H=E();if(!f||typeof f.range!=="function")f=r(H[0],H[H.length-1],f==null?10:f);return f?E(Pe(H,f)):W},W.copy=function(){return Xi(W,kn(e,r,n,i,s,o,l,w,C,z))},W}function Ke(){return Ln.apply(kn(Be,je,bt,Ht,_t,Ct,$t,Ot,xt,jt).domain([new Date(2000,0,1),new Date(2000,0,2)]),arguments)}var Dn=Ze(oa(),1),wt=Ze(vo(),1),Cn=Ze(pn(),1),Sn=Ze(Tn(),1),_n=Ze(vn(),1),te=Ze(vo(),1),Nn=Ze(xn(),1);var ur=function(){var e=t(function(N,d,b,v){for(b=b||{},v=N.length;v--;b[N[v]]=d);return b},"o"),r=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],i=[1,27],s=[1,28],o=[1,29],l=[1,30],w=[1,31],C=[1,32],z=[1,33],W=[1,34],X=[1,9],E=[1,10],V=[1,11],U=[1,12],B=[1,13],O=[1,14],tt=[1,15],ft=[1,16],at=[1,19],Z=[1,20],S=[1,21],f=[1,22],H=[1,23],rt=[1,25],nt=[1,35],x={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:t(function(d,b,v,T,Q,c,J){var y=c.length-1;switch(Q){case 1:return c[y-1];case 2:this.$=[];break;case 3:c[y-1].push(c[y]),this.$=c[y-1];break;case 4:case 5:this.$=c[y];break;case 6:case 7:this.$=[];break;case 8:T.setWeekday("monday");break;case 9:T.setWeekday("tuesday");break;case 10:T.setWeekday("wednesday");break;case 11:T.setWeekday("thursday");break;case 12:T.setWeekday("friday");break;case 13:T.setWeekday("saturday");break;case 14:T.setWeekday("sunday");break;case 15:T.setWeekend("friday");break;case 16:T.setWeekend("saturday");break;case 17:T.setDateFormat(c[y].substr(11)),this.$=c[y].substr(11);break;case 18:T.enableInclusiveEndDates(),this.$=c[y].substr(18);break;case 19:T.TopAxis(),this.$=c[y].substr(8);break;case 20:T.setAxisFormat(c[y].substr(11)),this.$=c[y].substr(11);break;case 21:T.setTickInterval(c[y].substr(13)),this.$=c[y].substr(13);break;case 22:T.setExcludes(c[y].substr(9)),this.$=c[y].substr(9);break;case 23:T.setIncludes(c[y].substr(9)),this.$=c[y].substr(9);break;case 24:T.setTodayMarker(c[y].substr(12)),this.$=c[y].substr(12);break;case 27:T.setDiagramTitle(c[y].substr(6)),this.$=c[y].substr(6);break;case 28:this.$=c[y].trim(),T.setAccTitle(this.$);break;case 29:case 30:this.$=c[y].trim(),T.setAccDescription(this.$);break;case 31:T.addSection(c[y].substr(8)),this.$=c[y].substr(8);break;case 33:T.addTask(c[y-1],c[y]),this.$="task";break;case 34:this.$=c[y-1],T.setClickEvent(c[y-1],c[y],null);break;case 35:this.$=c[y-2],T.setClickEvent(c[y-2],c[y-1],c[y]);break;case 36:this.$=c[y-2],T.setClickEvent(c[y-2],c[y-1],null),T.setLink(c[y-2],c[y]);break;case 37:this.$=c[y-3],T.setClickEvent(c[y-3],c[y-2],c[y-1]),T.setLink(c[y-3],c[y]);break;case 38:this.$=c[y-2],T.setClickEvent(c[y-2],c[y],null),T.setLink(c[y-2],c[y-1]);break;case 39:this.$=c[y-3],T.setClickEvent(c[y-3],c[y-1],c[y]),T.setLink(c[y-3],c[y-2]);break;case 40:this.$=c[y-1],T.setLink(c[y-1],c[y]);break;case 41:case 47:this.$=c[y-1]+" "+c[y];break;case 42:case 43:case 45:this.$=c[y-2]+" "+c[y-1]+" "+c[y];break;case 44:case 46:this.$=c[y-3]+" "+c[y-2]+" "+c[y-1]+" "+c[y];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},e(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:i,14:s,15:o,16:l,17:w,18:C,19:18,20:z,21:W,22:X,23:E,24:V,25:U,26:B,27:O,28:tt,29:ft,30:at,31:Z,33:S,35:f,36:H,37:24,38:rt,40:nt},e(r,[2,7],{1:[2,1]}),e(r,[2,3]),{9:36,11:17,12:n,13:i,14:s,15:o,16:l,17:w,18:C,19:18,20:z,21:W,22:X,23:E,24:V,25:U,26:B,27:O,28:tt,29:ft,30:at,31:Z,33:S,35:f,36:H,37:24,38:rt,40:nt},e(r,[2,5]),e(r,[2,6]),e(r,[2,17]),e(r,[2,18]),e(r,[2,19]),e(r,[2,20]),e(r,[2,21]),e(r,[2,22]),e(r,[2,23]),e(r,[2,24]),e(r,[2,25]),e(r,[2,26]),e(r,[2,27]),{32:[1,37]},{34:[1,38]},e(r,[2,30]),e(r,[2,31]),e(r,[2,32]),{39:[1,39]},e(r,[2,8]),e(r,[2,9]),e(r,[2,10]),e(r,[2,11]),e(r,[2,12]),e(r,[2,13]),e(r,[2,14]),e(r,[2,15]),e(r,[2,16]),{41:[1,40],43:[1,41]},e(r,[2,4]),e(r,[2,28]),e(r,[2,29]),e(r,[2,33]),e(r,[2,34],{42:[1,42],43:[1,43]}),e(r,[2,40],{41:[1,44]}),e(r,[2,35],{43:[1,45]}),e(r,[2,36]),e(r,[2,38],{42:[1,46]}),e(r,[2,37]),e(r,[2,39])],defaultActions:{},parseError:t(function(d,b){if(b.recoverable)this.trace(d);else{var v=Error(d);throw v.hash=b,v}},"parseError"),parse:t(function(d){var b=this,v=[0],T=[],Q=[null],c=[],J=this.table,y="",mt=0,m=0,q=0,K=2,ut=1,lt=c.slice.call(arguments,1),it=Object.create(this.lexer),p={yy:{}};for(var j in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,j))p.yy[j]=this.yy[j];if(it.setInput(d,p.yy),p.yy.lexer=it,p.yy.parser=this,typeof it.yylloc>"u")it.yylloc={};var et=it.yylloc;c.push(et);var g=it.options&&it.options.ranges;if(typeof p.yy.parseError==="function")this.parseError=p.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ht(Mt){v.length=v.length-2*Mt,Q.length=Q.length-Mt,c.length=c.length-Mt}t(ht,"popStack");function st(){var Mt=T.pop()||it.lex()||ut;if(typeof Mt!=="number"){if(Mt instanceof Array)T=Mt,Mt=T.pop();Mt=b.symbols_[Mt]||Mt}return Mt}t(st,"lex");var ot,yt,gt,Tt,gs,Fe,Gt={},fe,Et,Dr,de;while(!0){if(gt=v[v.length-1],this.defaultActions[gt])Tt=this.defaultActions[gt];else{if(ot===null||typeof ot>"u")ot=st();Tt=J[gt]&&J[gt][ot]}if(typeof Tt>"u"||!Tt.length||!Tt[0]){var Ie="";de=[];for(fe in J[gt])if(this.terminals_[fe]&&fe>K)de.push("'"+this.terminals_[fe]+"'");if(it.showPosition)Ie="Parse error on line "+(mt+1)+`:
|
|
1
|
+
import{t,vo,a,k,G,A,R,I,L,D,P,N,u,h,Pr,Ua,Or,$s,St,pl,dr,oa,F}from"./chunk-xp2zpmpp.js";import"./chunk-89crtpnw.js";import{Kr,kr}from"./chunk-5cp4n5ck.js";import{_a,mi,Xi,fi,fn}from"./chunk-smywa1zw.js";import{Ln}from"./chunk-9y9nwaqj.js";import{Ze,Xe}from"./chunk-2s6fhjjc.js";var pn=Xe(function(tr,er){(function(e,r){typeof tr=="object"&&typeof er<"u"?er.exports=r():typeof define=="function"&&define.amd?define(r):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_isoWeek=r()})(tr,function(){var e="day";return function(r,n,i){var s=function(w){return w.add(4-w.isoWeekday(),e)},o=n.prototype;o.isoWeekYear=function(){return s(this).year()},o.isoWeek=function(w){if(!this.$utils().u(w))return this.add(7*(w-this.isoWeek()),e);var M,z,U,X,W=s(this),V=(M=this.isoWeekYear(),z=this.$u,U=(z?i.utc:i)().year(M).startOf("year"),X=4-U.isoWeekday(),U.isoWeekday()>4&&(X+=7),U.add(X,e));return W.diff(V,"week")+1},o.isoWeekday=function(w){return this.$utils().u(w)?this.day()||7:this.day(this.day()%7?w:w-7)};var l=o.startOf;o.startOf=function(w,M){var z=this.$utils(),U=!!z.u(M)||M;return z.p(w)==="isoweek"?U?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):l.bind(this)(w,M)}}})});var Tn=Xe(function(rr,nr){(function(e,r){typeof rr=="object"&&typeof nr<"u"?nr.exports=r():typeof define=="function"&&define.amd?define(r):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_customParseFormat=r()})(rr,function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,i=/\d\d/,s=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,l={},w=function(Y){return(Y=+Y)+(Y>68?1900:2000)},M=function(Y){return function(B){this[Y]=+B}},z=[/[+-]\d\d:?(\d\d)?|Z/,function(Y){(this.zone||(this.zone={})).offset=function(B){if(!B)return 0;if(B==="Z")return 0;var E=B.match(/([+-]|\d\d)/g),tt=60*E[1]+(+E[2]||0);return tt===0?0:E[0]==="+"?-tt:tt}(Y)}],U=function(Y){var B=l[Y];return B&&(B.indexOf?B:B.s.concat(B.f))},X=function(Y,B){var E,tt=l.meridiem;if(tt){for(var ft=1;ft<=24;ft+=1)if(Y.indexOf(tt(ft,0,B))>-1){E=ft>12;break}}else E=Y===(B?"pm":"PM");return E},W={A:[o,function(Y){this.afternoon=X(Y,!1)}],a:[o,function(Y){this.afternoon=X(Y,!0)}],Q:[n,function(Y){this.month=3*(Y-1)+1}],S:[n,function(Y){this.milliseconds=100*+Y}],SS:[i,function(Y){this.milliseconds=10*+Y}],SSS:[/\d{3}/,function(Y){this.milliseconds=+Y}],s:[s,M("seconds")],ss:[s,M("seconds")],m:[s,M("minutes")],mm:[s,M("minutes")],H:[s,M("hours")],h:[s,M("hours")],HH:[s,M("hours")],hh:[s,M("hours")],D:[s,M("day")],DD:[i,M("day")],Do:[o,function(Y){var B=l.ordinal,E=Y.match(/\d+/);if(this.day=E[0],B)for(var tt=1;tt<=31;tt+=1)B(tt).replace(/\[|\]/g,"")===Y&&(this.day=tt)}],w:[s,M("week")],ww:[i,M("week")],M:[s,M("month")],MM:[i,M("month")],MMM:[o,function(Y){var B=U("months"),E=(U("monthsShort")||B.map(function(tt){return tt.slice(0,3)})).indexOf(Y)+1;if(E<1)throw Error();this.month=E%12||E}],MMMM:[o,function(Y){var B=U("months").indexOf(Y)+1;if(B<1)throw Error();this.month=B%12||B}],Y:[/[+-]?\d+/,M("year")],YY:[i,function(Y){this.year=w(Y)}],YYYY:[/\d{4}/,M("year")],Z:z,ZZ:z};function V(Y){var B,E;B=Y,E=l&&l.formats;for(var tt=(Y=B.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(rt,nt,x){var _=x&&x.toUpperCase();return nt||E[x]||e[x]||E[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,H,d){return H||d.slice(1)})})).match(r),ft=tt.length,at=0;at<ft;at+=1){var Z=tt[at],C=W[Z],f=C&&C[0],O=C&&C[1];tt[at]=O?{regex:f,parser:O}:Z.replace(/^\[|\]$/g,"")}return function(rt){for(var nt={},x=0,_=0;x<ft;x+=1){var S=tt[x];if(typeof S=="string")_+=S.length;else{var{regex:H,parser:d}=S,b=rt.slice(_),v=H.exec(b)[0];d.call(nt,v),rt=rt.replace(v,"")}}return function(T){var Q=T.afternoon;if(Q!==void 0){var c=T.hours;Q?c<12&&(T.hours+=12):c===12&&(T.hours=0),delete T.afternoon}}(nt),nt}}return function(Y,B,E){E.p.customParseFormat=!0,Y&&Y.parseTwoDigitYear&&(w=Y.parseTwoDigitYear);var tt=B.prototype,ft=tt.parse;tt.parse=function(at){var{date:Z,utc:C,args:f}=at;this.$u=C;var O=f[1];if(typeof O=="string"){var rt=f[2]===!0,nt=f[3]===!0,x=rt||nt,_=f[2];nt&&(_=f[2]),l=this.$locale(),!rt&&_&&(l=E.Ls[_]),this.$d=function(b,v,T,Q){try{if(["x","X"].indexOf(v)>-1)return new Date((v==="X"?1000:1)*b);var c=V(v)(b),{year:J,month:y,day:mt,hours:m,minutes:q,seconds:K,milliseconds:ut,zone:lt,week:it}=c,p=new Date,j=mt||(J||y?1:p.getDate()),et=J||p.getFullYear(),g=0;J&&!y||(g=y>0?y-1:p.getMonth());var ht,st=m||0,ot=q||0,yt=K||0,gt=ut||0;return lt?new Date(Date.UTC(et,g,j,st,ot,yt,gt+60*lt.offset*1000)):T?new Date(Date.UTC(et,g,j,st,ot,yt,gt)):(ht=new Date(et,g,j,st,ot,yt,gt),it&&(ht=Q(ht).week(it).toDate()),ht)}catch(Tt){return new Date("")}}(Z,O,C,E),this.init(),_&&_!==!0&&(this.$L=this.locale(_).$L),x&&Z!=this.format(O)&&(this.$d=new Date("")),l={}}else if(O instanceof Array)for(var S=O.length,H=1;H<=S;H+=1){f[1]=O[H-1];var d=E.apply(this,f);if(d.isValid()){this.$d=d.$d,this.$L=d.$L,this.init();break}H===S&&(this.$d=new Date(""))}else ft.call(this,at)}}})});var vn=Xe(function(ir,ar){(function(e,r){typeof ir=="object"&&typeof ar<"u"?ar.exports=r():typeof define=="function"&&define.amd?define(r):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_advancedFormat=r()})(ir,function(){return function(e,r){var n=r.prototype,i=n.format;n.format=function(s){var o=this,l=this.$locale();if(!this.isValid())return i.bind(this)(s);var w=this.$utils(),M=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(z){switch(z){case"Q":return Math.ceil((o.$M+1)/3);case"Do":return l.ordinal(o.$D);case"gggg":return o.weekYear();case"GGGG":return o.isoWeekYear();case"wo":return l.ordinal(o.week(),"W");case"w":case"ww":return w.s(o.week(),z==="w"?1:2,"0");case"W":case"WW":return w.s(o.isoWeek(),z==="W"?1:2,"0");case"k":case"kk":return w.s(String(o.$H===0?24:o.$H),z==="k"?1:2,"0");case"X":return Math.floor(o.$d.getTime()/1000);case"x":return o.$d.getTime();case"z":return"["+o.offsetName()+"]";case"zzz":return"["+o.offsetName("long")+"]";default:return z}});return i.bind(this)(M)}}})});var xn=Xe(function(sr,or){(function(e,r){typeof sr=="object"&&typeof or<"u"?or.exports=r():typeof define=="function"&&define.amd?define(r):(e=typeof globalThis<"u"?globalThis:e||self).dayjs_plugin_duration=r()})(sr,function(){var e,r,n=1000,i=60000,s=3600000,o=86400000,l=31536000000,w=2628000000,M=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,z=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,U={years:l,months:w,days:o,hours:s,minutes:i,seconds:n,milliseconds:1,weeks:604800000},X=function(Z){return Z instanceof ft},W=function(Z,C,f){return new ft(Z,f,C.$l)},V=function(Z){return r.p(Z)+"s"},Y=function(Z){return Z<0},B=function(Z){return Y(Z)?Math.ceil(Z):Math.floor(Z)},E=function(Z){return Math.abs(Z)},tt=function(Z,C){return Z?Y(Z)?{negative:!0,format:""+E(Z)+C}:{negative:!1,format:""+Z+C}:{negative:!1,format:""}},ft=function(){function Z(f,O,rt){var nt=this;if(this.$d={},this.$l=rt,f===void 0&&(this.$ms=0,this.parseFromMilliseconds()),O)return W(f*U[V(O)],this);if(typeof f=="number")return this.$ms=f,this.parseFromMilliseconds(),this;if(typeof f=="object")return Object.keys(f).forEach(function(S){nt.$d[V(S)]=f[S]}),this.calMilliseconds(),this;if(typeof f=="string"){var x=f.match(M);if(x){var _=x.slice(2).map(function(S){return S!=null?Number(S):0});return this.$d.years=_[0],this.$d.months=_[1],this.$d.weeks=_[2],this.$d.days=_[3],this.$d.hours=_[4],this.$d.minutes=_[5],this.$d.seconds=_[6],this.calMilliseconds(),this}}return this}var C=Z.prototype;return C.calMilliseconds=function(){var f=this;this.$ms=Object.keys(this.$d).reduce(function(O,rt){return O+(f.$d[rt]||0)*U[rt]},0)},C.parseFromMilliseconds=function(){var f=this.$ms;this.$d.years=B(f/l),f%=l,this.$d.months=B(f/w),f%=w,this.$d.days=B(f/o),f%=o,this.$d.hours=B(f/s),f%=s,this.$d.minutes=B(f/i),f%=i,this.$d.seconds=B(f/n),f%=n,this.$d.milliseconds=f},C.toISOString=function(){var f=tt(this.$d.years,"Y"),O=tt(this.$d.months,"M"),rt=+this.$d.days||0;this.$d.weeks&&(rt+=7*this.$d.weeks);var nt=tt(rt,"D"),x=tt(this.$d.hours,"H"),_=tt(this.$d.minutes,"M"),S=this.$d.seconds||0;this.$d.milliseconds&&(S+=this.$d.milliseconds/1000,S=Math.round(1000*S)/1000);var H=tt(S,"S"),d=f.negative||O.negative||nt.negative||x.negative||_.negative||H.negative,b=x.format||_.format||H.format?"T":"",v=(d?"-":"")+"P"+f.format+O.format+nt.format+b+x.format+_.format+H.format;return v==="P"||v==="-P"?"P0D":v},C.toJSON=function(){return this.toISOString()},C.format=function(f){var O=f||"YYYY-MM-DDTHH:mm:ss",rt={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return O.replace(z,function(nt,x){return x||String(rt[nt])})},C.as=function(f){return this.$ms/U[V(f)]},C.get=function(f){var O=this.$ms,rt=V(f);return rt==="milliseconds"?O%=1000:O=rt==="weeks"?B(O/U[rt]):this.$d[rt],O||0},C.add=function(f,O,rt){var nt;return nt=O?f*U[V(O)]:X(f)?f.$ms:W(f,this).$ms,W(this.$ms+nt*(rt?-1:1),this)},C.subtract=function(f,O){return this.add(f,O,!0)},C.locale=function(f){var O=this.clone();return O.$l=f,O},C.clone=function(){return W(this.$ms,this)},C.humanize=function(f){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!f)},C.valueOf=function(){return this.asMilliseconds()},C.milliseconds=function(){return this.get("milliseconds")},C.asMilliseconds=function(){return this.as("milliseconds")},C.seconds=function(){return this.get("seconds")},C.asSeconds=function(){return this.as("seconds")},C.minutes=function(){return this.get("minutes")},C.asMinutes=function(){return this.as("minutes")},C.hours=function(){return this.get("hours")},C.asHours=function(){return this.as("hours")},C.days=function(){return this.get("days")},C.asDays=function(){return this.as("days")},C.weeks=function(){return this.get("weeks")},C.asWeeks=function(){return this.as("weeks")},C.months=function(){return this.get("months")},C.asMonths=function(){return this.as("months")},C.years=function(){return this.get("years")},C.asYears=function(){return this.as("years")},Z}(),at=function(Z,C,f){return Z.add(C.years()*f,"y").add(C.months()*f,"M").add(C.days()*f,"d").add(C.hours()*f,"h").add(C.minutes()*f,"m").add(C.seconds()*f,"s").add(C.milliseconds()*f,"ms")};return function(Z,C,f){e=f,r=f().$utils(),f.duration=function(nt,x){var _=f.locale();return W(nt,{$l:_},x)},f.isDuration=X;var O=C.prototype.add,rt=C.prototype.subtract;C.prototype.add=function(nt,x){return X(nt)?at(this,nt,1):O.bind(this)(nt,x)},C.prototype.subtract=function(nt,x){return X(nt)?at(this,nt,-1):rt.bind(this)(nt,x)}}})});function Ue(e){return e}var he=1,Le=2,We=3,me=4,Cr=0.000001;function Pn(e){return"translate("+e+",0)"}function Vn(e){return"translate(0,"+e+")"}function zn(e){return(r)=>+e(r)}function Rn(e,r){if(r=Math.max(0,e.bandwidth()-r*2)/2,e.round())r=Math.round(r);return(n)=>+e(n)+r}function Bn(){return!this.__axis}function Sr(e,r){var n=[],i=null,s=null,o=6,l=6,w=3,M=typeof window<"u"&&window.devicePixelRatio>1?0:0.5,z=e===he||e===me?-1:1,U=e===me||e===Le?"x":"y",X=e===he||e===We?Pn:Vn;function W(V){var Y=i==null?r.ticks?r.ticks.apply(r,n):r.domain():i,B=s==null?r.tickFormat?r.tickFormat.apply(r,n):Ue:s,E=Math.max(o,0)+w,tt=r.range(),ft=+tt[0]+M,at=+tt[tt.length-1]+M,Z=(r.bandwidth?Rn:zn)(r.copy(),M),C=V.selection?V.selection():V,f=C.selectAll(".domain").data([null]),O=C.selectAll(".tick").data(Y,r).order(),rt=O.exit(),nt=O.enter().append("g").attr("class","tick"),x=O.select("line"),_=O.select("text");if(f=f.merge(f.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),O=O.merge(nt),x=x.merge(nt.append("line").attr("stroke","currentColor").attr(U+"2",z*o)),_=_.merge(nt.append("text").attr("fill","currentColor").attr(U,z*E).attr("dy",e===he?"0em":e===We?"0.71em":"0.32em")),V!==C)f=f.transition(V),O=O.transition(V),x=x.transition(V),_=_.transition(V),rt=rt.transition(V).attr("opacity",Cr).attr("transform",function(S){return isFinite(S=Z(S))?X(S+M):this.getAttribute("transform")}),nt.attr("opacity",Cr).attr("transform",function(S){var H=this.parentNode.__axis;return X((H&&isFinite(H=H(S))?H:Z(S))+M)});rt.remove(),f.attr("d",e===me||e===Le?l?"M"+z*l+","+ft+"H"+M+"V"+at+"H"+z*l:"M"+M+","+ft+"V"+at:l?"M"+ft+","+z*l+"V"+M+"H"+at+"V"+z*l:"M"+ft+","+M+"H"+at),O.attr("opacity",1).attr("transform",function(S){return X(Z(S)+M)}),x.attr(U+"2",z*o),_.attr(U,z*E).text(B),C.filter(Bn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===Le?"start":e===me?"end":"middle"),C.each(function(){this.__axis=Z})}return W.scale=function(V){return arguments.length?(r=V,W):r},W.ticks=function(){return n=Array.from(arguments),W},W.tickArguments=function(V){return arguments.length?(n=V==null?[]:Array.from(V),W):n.slice()},W.tickValues=function(V){return arguments.length?(i=V==null?null:Array.from(V),W):i&&i.slice()},W.tickFormat=function(V){return arguments.length?(s=V,W):s},W.tickSize=function(V){return arguments.length?(o=l=+V,W):o},W.tickSizeInner=function(V){return arguments.length?(o=+V,W):o},W.tickSizeOuter=function(V){return arguments.length?(l=+V,W):l},W.tickPadding=function(V){return arguments.length?(w=+V,W):w},W.offset=function(V){return arguments.length?(M=+V,W):M},W}function Ee(e){return Sr(he,e)}function Ae(e){return Sr(We,e)}var _r=Math.PI/180,Yr=180/Math.PI;var ye=18,Fr=0.96422,Ir=1,Ur=0.82521,Lr=0.13793103448275862,qt=0.20689655172413793,Wr=3*qt*qt,Zn=qt*qt*qt;function Er(e){if(e instanceof Ft)return new Ft(e.l,e.a,e.b,e.opacity);if(e instanceof At)return $r(e);if(!(e instanceof St))e=$s(e);var r=Ne(e.r),n=Ne(e.g),i=Ne(e.b),s=Oe((0.2225045*r+0.7168786*n+0.0606169*i)/Ir),o,l;if(r===n&&n===i)o=l=s;else o=Oe((0.4360747*r+0.3850649*n+0.1430804*i)/Fr),l=Oe((0.0139322*r+0.0971045*n+0.7141733*i)/Ur);return new Ft(116*s-16,500*(o-s),200*(s-l),e.opacity)}function Ar(e,r,n,i){return arguments.length===1?Er(e):new Ft(e,r,n,i==null?1:i)}function Ft(e,r,n,i){this.l=+e,this.a=+r,this.b=+n,this.opacity=+i}Pr(Ft,Ar,Ua(Or,{brighter(e){return new Ft(this.l+ye*(e==null?1:e),this.a,this.b,this.opacity)},darker(e){return new Ft(this.l-ye*(e==null?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,r=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return r=Fr*$e(r),e=Ir*$e(e),n=Ur*$e(n),new St(He(3.1338561*r-1.6168667*e-0.4906146*n),He(-0.9787684*r+1.9161415*e+0.033454*n),He(0.0719453*r-0.2289914*e+1.4052427*n),this.opacity)}}));function Oe(e){return e>Zn?Math.pow(e,0.3333333333333333):e/Wr+Lr}function $e(e){return e>qt?e*e*e:Wr*(e-Lr)}function He(e){return 255*(e<=0.0031308?12.92*e:1.055*Math.pow(e,0.4166666666666667)-0.055)}function Ne(e){return(e/=255)<=0.04045?e/12.92:Math.pow((e+0.055)/1.055,2.4)}function jn(e){if(e instanceof At)return new At(e.h,e.c,e.l,e.opacity);if(!(e instanceof Ft))e=Er(e);if(e.a===0&&e.b===0)return new At(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var r=Math.atan2(e.b,e.a)*Yr;return new At(r<0?r+360:r,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function ge(e,r,n,i){return arguments.length===1?jn(e):new At(e,r,n,i==null?1:i)}function At(e,r,n,i){this.h=+e,this.c=+r,this.l=+n,this.opacity=+i}function $r(e){if(isNaN(e.h))return new Ft(e.l,0,0,e.opacity);var r=e.h*_r;return new Ft(e.l,Math.cos(r)*e.c,Math.sin(r)*e.c,e.opacity)}Pr(At,ge,Ua(Or,{brighter(e){return new At(this.h,this.c,this.l+ye*(e==null?1:e),this.opacity)},darker(e){return new At(this.h,this.c,this.l-ye*(e==null?1:e),this.opacity)},rgb(){return $r(this).rgb()}}));function Hr(e){return function(r,n){var i=e((r=ge(r)).h,(n=ge(n)).h),s=dr(r.c,n.c),o=dr(r.l,n.l),l=dr(r.opacity,n.opacity);return function(w){return r.h=i(w),r.c=s(w),r.l=o(w),r.opacity=l(w),r+""}}}var Nr=Hr(pl),Is=Hr(dr);function Pe(e,r){e=e.slice();var n=0,i=e.length-1,s=e[n],o=e[i],l;if(o<s)l=n,n=i,i=l,l=s,s=o,o=l;return e[n]=r.floor(s),e[i]=r.ceil(o),e}var Ve=new Date,ze=new Date;function dt(e,r,n,i){function s(o){return e(o=arguments.length===0?new Date:new Date(+o)),o}if(s.floor=(o)=>(e(o=new Date(+o)),o),s.ceil=(o)=>(e(o=new Date(o-1)),r(o,1),e(o),o),s.round=(o)=>{let l=s(o),w=s.ceil(o);return o-l<w-o?l:w},s.offset=(o,l)=>(r(o=new Date(+o),l==null?1:Math.floor(l)),o),s.range=(o,l,w)=>{let M=[];if(o=s.ceil(o),w=w==null?1:Math.floor(w),!(o<l)||!(w>0))return M;let z;do M.push(z=new Date(+o)),r(o,w),e(o);while(z<o&&o<l);return M},s.filter=(o)=>dt((l)=>{if(l>=l)while(e(l),!o(l))l.setTime(l-1)},(l,w)=>{if(l>=l)if(w<0)while(++w<=0)while(r(l,-1),!o(l));else while(--w>=0)while(r(l,1),!o(l));}),n)s.count=(o,l)=>(Ve.setTime(+o),ze.setTime(+l),e(Ve),e(ze),Math.floor(n(Ve,ze))),s.every=(o)=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:!(o>1)?s:s.filter(i?(l)=>i(l)%o===0:(l)=>s.count(0,l)%o===0));return s}var It=dt(()=>{},(e,r)=>{e.setTime(+e+r)},(e,r)=>r-e);It.every=(e)=>{if(e=Math.floor(e),!isFinite(e)||!(e>0))return null;if(!(e>1))return It;return dt((r)=>{r.setTime(Math.floor(r/e)*e)},(r,n)=>{r.setTime(+r+n*e)},(r,n)=>(n-r)/e)};var Vr=It.range;var Dt=1000,vt=60000,Ut=3600000,Pt=86400000,ae=604800000,Re=2592000000,ke=31536000000;var xt=dt((e)=>{e.setTime(e-e.getMilliseconds())},(e,r)=>{e.setTime(+e+r*Dt)},(e,r)=>(r-e)/Dt,(e)=>e.getUTCSeconds()),zr=xt.range;var Ot=dt((e)=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Dt)},(e,r)=>{e.setTime(+e+r*vt)},(e,r)=>(r-e)/vt,(e)=>e.getMinutes()),Xn=Ot.range,pe=dt((e)=>{e.setUTCSeconds(0,0)},(e,r)=>{e.setTime(+e+r*vt)},(e,r)=>(r-e)/vt,(e)=>e.getUTCMinutes()),Gn=pe.range;var $t=dt((e)=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Dt-e.getMinutes()*vt)},(e,r)=>{e.setTime(+e+r*Ut)},(e,r)=>(r-e)/Ut,(e)=>e.getHours()),qn=$t.range,Te=dt((e)=>{e.setUTCMinutes(0,0,0)},(e,r)=>{e.setTime(+e+r*Ut)},(e,r)=>(r-e)/Ut,(e)=>e.getUTCHours()),Qn=Te.range;var Ct=dt((e)=>e.setHours(0,0,0,0),(e,r)=>e.setDate(e.getDate()+r),(e,r)=>(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*vt)/Pt,(e)=>e.getDate()-1),Jn=Ct.range,se=dt((e)=>{e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r)},(e,r)=>(r-e)/Pt,(e)=>e.getUTCDate()-1),Kn=se.range,ve=dt((e)=>{e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCDate(e.getUTCDate()+r)},(e,r)=>(r-e)/Pt,(e)=>Math.floor(e/Pt)),ti=ve.range;function Rt(e){return dt((r)=>{r.setDate(r.getDate()-(r.getDay()+7-e)%7),r.setHours(0,0,0,0)},(r,n)=>{r.setDate(r.getDate()+n*7)},(r,n)=>(n-r-(n.getTimezoneOffset()-r.getTimezoneOffset())*vt)/ae)}var _t=Rt(0),Vt=Rt(1),xe=Rt(2),be=Rt(3),Lt=Rt(4),we=Rt(5),Me=Rt(6),Rr=_t.range,ei=Vt.range,ri=xe.range,ni=be.range,ii=Lt.range,ai=we.range,si=Me.range;function Bt(e){return dt((r)=>{r.setUTCDate(r.getUTCDate()-(r.getUTCDay()+7-e)%7),r.setUTCHours(0,0,0,0)},(r,n)=>{r.setUTCDate(r.getUTCDate()+n*7)},(r,n)=>(n-r)/ae)}var Zt=Bt(0),Qt=Bt(1),Br=Bt(2),Zr=Bt(3),zt=Bt(4),jr=Bt(5),Xr=Bt(6),Gr=Zt.range,oi=Qt.range,ci=Br.range,ui=Zr.range,li=zt.range,di=jr.range,hi=Xr.range;var Ht=dt((e)=>{e.setDate(1),e.setHours(0,0,0,0)},(e,r)=>{e.setMonth(e.getMonth()+r)},(e,r)=>r.getMonth()-e.getMonth()+(r.getFullYear()-e.getFullYear())*12,(e)=>e.getMonth()),yi=Ht.range,De=dt((e)=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCMonth(e.getUTCMonth()+r)},(e,r)=>r.getUTCMonth()-e.getUTCMonth()+(r.getUTCFullYear()-e.getUTCFullYear())*12,(e)=>e.getUTCMonth()),gi=De.range;var bt=dt((e)=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r)},(e,r)=>r.getFullYear()-e.getFullYear(),(e)=>e.getFullYear());bt.every=(e)=>!isFinite(e=Math.floor(e))||!(e>0)?null:dt((r)=>{r.setFullYear(Math.floor(r.getFullYear()/e)*e),r.setMonth(0,1),r.setHours(0,0,0,0)},(r,n)=>{r.setFullYear(r.getFullYear()+n*e)});var ki=bt.range,Yt=dt((e)=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r)},(e,r)=>r.getUTCFullYear()-e.getUTCFullYear(),(e)=>e.getUTCFullYear());Yt.every=(e)=>!isFinite(e=Math.floor(e))||!(e>0)?null:dt((r)=>{r.setUTCFullYear(Math.floor(r.getUTCFullYear()/e)*e),r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},(r,n)=>{r.setUTCFullYear(r.getUTCFullYear()+n*e)});var pi=Yt.range;function qr(e,r,n,i,s,o){let l=[[xt,1,Dt],[xt,5,5*Dt],[xt,15,15*Dt],[xt,30,30*Dt],[o,1,vt],[o,5,5*vt],[o,15,15*vt],[o,30,30*vt],[s,1,Ut],[s,3,3*Ut],[s,6,6*Ut],[s,12,12*Ut],[i,1,Pt],[i,2,2*Pt],[n,1,ae],[r,1,Re],[r,3,3*Re],[e,1,ke]];function w(z,U,X){let W=U<z;if(W)[z,U]=[U,z];let V=X&&typeof X.range==="function"?X:M(z,U,X),Y=V?V.range(z,+U+1):[];return W?Y.reverse():Y}function M(z,U,X){let W=Math.abs(U-z)/X,V=_a(([,,E])=>E).right(l,W);if(V===l.length)return e.every(mi(z/ke,U/ke,X));if(V===0)return It.every(Math.max(mi(z,U,X),1));let[Y,B]=l[W/l[V-1][2]<l[V][2]/W?V-1:V];return Y.every(B)}return[w,M]}var[Ti,vi]=qr(Yt,De,Zt,ve,Te,pe),[Be,je]=qr(bt,Ht,_t,Ct,$t,Ot);function Ge(e){if(0<=e.y&&e.y<100){var r=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return r.setFullYear(e.y),r}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function qe(e){if(0<=e.y&&e.y<100){var r=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return r.setUTCFullYear(e.y),r}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function oe(e,r,n){return{y:e,m:r,d:n,H:0,M:0,S:0,L:0}}function Qe(e){var{dateTime:r,date:n,time:i,periods:s,days:o,shortDays:l,months:w,shortMonths:M}=e,z=ce(s),U=ue(s),X=ce(o),W=ue(o),V=ce(l),Y=ue(l),B=ce(w),E=ue(w),tt=ce(M),ft=ue(M),at={a:T,A:Q,b:c,B:J,c:null,d:nn,e:nn,f:zi,g:ta,G:ra,H:Ni,I:Pi,j:Vi,L:un,m:Ri,M:Bi,p:y,q:mt,Q:on,s:cn,S:Zi,u:ji,U:Gi,V:qi,w:Qi,W:Ji,x:null,X:null,y:Ki,Y:ea,Z:na,"%":sn},Z={a:m,A:q,b:K,B:ut,c:null,d:an,e:an,f:ca,g:pa,G:va,H:ia,I:aa,j:sa,L:dn,m:ua,M:la,p:lt,q:it,Q:on,s:cn,S:fa,u:da,U:ma,V:ha,w:ya,W:ga,x:null,X:null,y:ka,Y:Ta,Z:xa,"%":sn},C={a:x,A:_,b:S,B:H,c:d,d:en,e:en,f:Ai,g:tn,G:Jr,H:rn,I:rn,j:Ui,L:Ei,m:Ii,M:Li,p:nt,q:Fi,Q:$i,s:Hi,S:Wi,u:Di,U:Ci,V:Si,w:Mi,W:_i,x:b,X:v,y:tn,Y:Jr,Z:Yi,"%":Oi};at.x=f(n,at),at.X=f(i,at),at.c=f(r,at),Z.x=f(n,Z),Z.X=f(i,Z),Z.c=f(r,Z);function f(p,j){return function(et){var g=[],ht=-1,st=0,ot=p.length,yt,gt,Tt;if(!(et instanceof Date))et=new Date(+et);while(++ht<ot)if(p.charCodeAt(ht)===37){if(g.push(p.slice(st,ht)),(gt=Qr[yt=p.charAt(++ht)])!=null)yt=p.charAt(++ht);else gt=yt==="e"?" ":"0";if(Tt=j[yt])yt=Tt(et,gt);g.push(yt),st=ht+1}return g.push(p.slice(st,ht)),g.join("")}}function O(p,j){return function(et){var g=oe(1900,void 0,1),ht=rt(g,p,et+="",0),st,ot;if(ht!=et.length)return null;if("Q"in g)return new Date(g.Q);if("s"in g)return new Date(g.s*1000+("L"in g?g.L:0));if(j&&!("Z"in g))g.Z=0;if("p"in g)g.H=g.H%12+g.p*12;if(g.m===void 0)g.m="q"in g?g.q:0;if("V"in g){if(g.V<1||g.V>53)return null;if(!("w"in g))g.w=1;if("Z"in g)st=qe(oe(g.y,0,1)),ot=st.getUTCDay(),st=ot>4||ot===0?Qt.ceil(st):Qt(st),st=se.offset(st,(g.V-1)*7),g.y=st.getUTCFullYear(),g.m=st.getUTCMonth(),g.d=st.getUTCDate()+(g.w+6)%7;else st=Ge(oe(g.y,0,1)),ot=st.getDay(),st=ot>4||ot===0?Vt.ceil(st):Vt(st),st=Ct.offset(st,(g.V-1)*7),g.y=st.getFullYear(),g.m=st.getMonth(),g.d=st.getDate()+(g.w+6)%7}else if("W"in g||"U"in g){if(!("w"in g))g.w="u"in g?g.u%7:("W"in g)?1:0;ot="Z"in g?qe(oe(g.y,0,1)).getUTCDay():Ge(oe(g.y,0,1)).getDay(),g.m=0,g.d="W"in g?(g.w+6)%7+g.W*7-(ot+5)%7:g.w+g.U*7-(ot+6)%7}if("Z"in g)return g.H+=g.Z/100|0,g.M+=g.Z%100,qe(g);return Ge(g)}}function rt(p,j,et,g){var ht=0,st=j.length,ot=et.length,yt,gt;while(ht<st){if(g>=ot)return-1;if(yt=j.charCodeAt(ht++),yt===37){if(yt=j.charAt(ht++),gt=C[yt in Qr?j.charAt(ht++):yt],!gt||(g=gt(p,et,g))<0)return-1}else if(yt!=et.charCodeAt(g++))return-1}return g}function nt(p,j,et){var g=z.exec(j.slice(et));return g?(p.p=U.get(g[0].toLowerCase()),et+g[0].length):-1}function x(p,j,et){var g=V.exec(j.slice(et));return g?(p.w=Y.get(g[0].toLowerCase()),et+g[0].length):-1}function _(p,j,et){var g=X.exec(j.slice(et));return g?(p.w=W.get(g[0].toLowerCase()),et+g[0].length):-1}function S(p,j,et){var g=tt.exec(j.slice(et));return g?(p.m=ft.get(g[0].toLowerCase()),et+g[0].length):-1}function H(p,j,et){var g=B.exec(j.slice(et));return g?(p.m=E.get(g[0].toLowerCase()),et+g[0].length):-1}function d(p,j,et){return rt(p,r,j,et)}function b(p,j,et){return rt(p,n,j,et)}function v(p,j,et){return rt(p,i,j,et)}function T(p){return l[p.getDay()]}function Q(p){return o[p.getDay()]}function c(p){return M[p.getMonth()]}function J(p){return w[p.getMonth()]}function y(p){return s[+(p.getHours()>=12)]}function mt(p){return 1+~~(p.getMonth()/3)}function m(p){return l[p.getUTCDay()]}function q(p){return o[p.getUTCDay()]}function K(p){return M[p.getUTCMonth()]}function ut(p){return w[p.getUTCMonth()]}function lt(p){return s[+(p.getUTCHours()>=12)]}function it(p){return 1+~~(p.getUTCMonth()/3)}return{format:function(p){var j=f(p+="",at);return j.toString=function(){return p},j},parse:function(p){var j=O(p+="",!1);return j.toString=function(){return p},j},utcFormat:function(p){var j=f(p+="",Z);return j.toString=function(){return p},j},utcParse:function(p){var j=O(p+="",!0);return j.toString=function(){return p},j}}}var Qr={"-":"",_:" ","0":"0"},pt=/^\s*\d+/,xi=/^%/,bi=/[\\^$*+?|[\]().{}]/g;function ct(e,r,n){var i=e<0?"-":"",s=(i?-e:e)+"",o=s.length;return i+(o<n?Array(n-o+1).join(r)+s:s)}function wi(e){return e.replace(bi,"\\$&")}function ce(e){return new RegExp("^(?:"+e.map(wi).join("|")+")","i")}function ue(e){return new Map(e.map((r,n)=>[r.toLowerCase(),n]))}function Mi(e,r,n){var i=pt.exec(r.slice(n,n+1));return i?(e.w=+i[0],n+i[0].length):-1}function Di(e,r,n){var i=pt.exec(r.slice(n,n+1));return i?(e.u=+i[0],n+i[0].length):-1}function Ci(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.U=+i[0],n+i[0].length):-1}function Si(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.V=+i[0],n+i[0].length):-1}function _i(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.W=+i[0],n+i[0].length):-1}function Jr(e,r,n){var i=pt.exec(r.slice(n,n+4));return i?(e.y=+i[0],n+i[0].length):-1}function tn(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.y=+i[0]+(+i[0]>68?1900:2000),n+i[0].length):-1}function Yi(e,r,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(r.slice(n,n+6));return i?(e.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function Fi(e,r,n){var i=pt.exec(r.slice(n,n+1));return i?(e.q=i[0]*3-3,n+i[0].length):-1}function Ii(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.m=i[0]-1,n+i[0].length):-1}function en(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.d=+i[0],n+i[0].length):-1}function Ui(e,r,n){var i=pt.exec(r.slice(n,n+3));return i?(e.m=0,e.d=+i[0],n+i[0].length):-1}function rn(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.H=+i[0],n+i[0].length):-1}function Li(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.M=+i[0],n+i[0].length):-1}function Wi(e,r,n){var i=pt.exec(r.slice(n,n+2));return i?(e.S=+i[0],n+i[0].length):-1}function Ei(e,r,n){var i=pt.exec(r.slice(n,n+3));return i?(e.L=+i[0],n+i[0].length):-1}function Ai(e,r,n){var i=pt.exec(r.slice(n,n+6));return i?(e.L=Math.floor(i[0]/1000),n+i[0].length):-1}function Oi(e,r,n){var i=xi.exec(r.slice(n,n+1));return i?n+i[0].length:-1}function $i(e,r,n){var i=pt.exec(r.slice(n));return i?(e.Q=+i[0],n+i[0].length):-1}function Hi(e,r,n){var i=pt.exec(r.slice(n));return i?(e.s=+i[0],n+i[0].length):-1}function nn(e,r){return ct(e.getDate(),r,2)}function Ni(e,r){return ct(e.getHours(),r,2)}function Pi(e,r){return ct(e.getHours()%12||12,r,2)}function Vi(e,r){return ct(1+Ct.count(bt(e),e),r,3)}function un(e,r){return ct(e.getMilliseconds(),r,3)}function zi(e,r){return un(e,r)+"000"}function Ri(e,r){return ct(e.getMonth()+1,r,2)}function Bi(e,r){return ct(e.getMinutes(),r,2)}function Zi(e,r){return ct(e.getSeconds(),r,2)}function ji(e){var r=e.getDay();return r===0?7:r}function Gi(e,r){return ct(_t.count(bt(e)-1,e),r,2)}function ln(e){var r=e.getDay();return r>=4||r===0?Lt(e):Lt.ceil(e)}function qi(e,r){return e=ln(e),ct(Lt.count(bt(e),e)+(bt(e).getDay()===4),r,2)}function Qi(e){return e.getDay()}function Ji(e,r){return ct(Vt.count(bt(e)-1,e),r,2)}function Ki(e,r){return ct(e.getFullYear()%100,r,2)}function ta(e,r){return e=ln(e),ct(e.getFullYear()%100,r,2)}function ea(e,r){return ct(e.getFullYear()%1e4,r,4)}function ra(e,r){var n=e.getDay();return e=n>=4||n===0?Lt(e):Lt.ceil(e),ct(e.getFullYear()%1e4,r,4)}function na(e){var r=e.getTimezoneOffset();return(r>0?"-":(r*=-1,"+"))+ct(r/60|0,"0",2)+ct(r%60,"0",2)}function an(e,r){return ct(e.getUTCDate(),r,2)}function ia(e,r){return ct(e.getUTCHours(),r,2)}function aa(e,r){return ct(e.getUTCHours()%12||12,r,2)}function sa(e,r){return ct(1+se.count(Yt(e),e),r,3)}function dn(e,r){return ct(e.getUTCMilliseconds(),r,3)}function ca(e,r){return dn(e,r)+"000"}function ua(e,r){return ct(e.getUTCMonth()+1,r,2)}function la(e,r){return ct(e.getUTCMinutes(),r,2)}function fa(e,r){return ct(e.getUTCSeconds(),r,2)}function da(e){var r=e.getUTCDay();return r===0?7:r}function ma(e,r){return ct(Zt.count(Yt(e)-1,e),r,2)}function mn(e){var r=e.getUTCDay();return r>=4||r===0?zt(e):zt.ceil(e)}function ha(e,r){return e=mn(e),ct(zt.count(Yt(e),e)+(Yt(e).getUTCDay()===4),r,2)}function ya(e){return e.getUTCDay()}function ga(e,r){return ct(Qt.count(Yt(e)-1,e),r,2)}function ka(e,r){return ct(e.getUTCFullYear()%100,r,2)}function pa(e,r){return e=mn(e),ct(e.getUTCFullYear()%100,r,2)}function Ta(e,r){return ct(e.getUTCFullYear()%1e4,r,4)}function va(e,r){var n=e.getUTCDay();return e=n>=4||n===0?zt(e):zt.ceil(e),ct(e.getUTCFullYear()%1e4,r,4)}function xa(){return"+0000"}function sn(){return"%"}function on(e){return+e}function cn(e){return Math.floor(+e/1000)}var Jt,jt,hn,yn,gn;Je({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Je(e){return Jt=Qe(e),jt=Jt.format,hn=Jt.parse,yn=Jt.utcFormat,gn=Jt.utcParse,Jt}function ba(e){return new Date(e)}function wa(e){return e instanceof Date?+e:+new Date(+e)}function kn(e,r,n,i,s,o,l,w,M,z){var U=fi(),{invert:X,domain:W}=U,V=z(".%L"),Y=z(":%S"),B=z("%I:%M"),E=z("%I %p"),tt=z("%a %d"),ft=z("%b %d"),at=z("%B"),Z=z("%Y");function C(f){return(M(f)<f?V:w(f)<f?Y:l(f)<f?B:o(f)<f?E:i(f)<f?s(f)<f?tt:ft:n(f)<f?at:Z)(f)}return U.invert=function(f){return new Date(X(f))},U.domain=function(f){return arguments.length?W(Array.from(f,wa)):W().map(ba)},U.ticks=function(f){var O=W();return e(O[0],O[O.length-1],f==null?10:f)},U.tickFormat=function(f,O){return O==null?C:z(O)},U.nice=function(f){var O=W();if(!f||typeof f.range!=="function")f=r(O[0],O[O.length-1],f==null?10:f);return f?W(Pe(O,f)):U},U.copy=function(){return Xi(U,kn(e,r,n,i,s,o,l,w,M,z))},U}function Ke(){return Ln.apply(kn(Be,je,bt,Ht,_t,Ct,$t,Ot,xt,jt).domain([new Date(2000,0,1),new Date(2000,0,2)]),arguments)}var Dn=Ze(oa(),1),wt=Ze(vo(),1),Cn=Ze(pn(),1),Sn=Ze(Tn(),1),_n=Ze(vn(),1),te=Ze(vo(),1),Nn=Ze(xn(),1);var ur=function(){var e=t(function(H,d,b,v){for(b=b||{},v=H.length;v--;b[H[v]]=d);return b},"o"),r=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],i=[1,27],s=[1,28],o=[1,29],l=[1,30],w=[1,31],M=[1,32],z=[1,33],U=[1,34],X=[1,9],W=[1,10],V=[1,11],Y=[1,12],B=[1,13],E=[1,14],tt=[1,15],ft=[1,16],at=[1,19],Z=[1,20],C=[1,21],f=[1,22],O=[1,23],rt=[1,25],nt=[1,35],x={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:t(function(d,b,v,T,Q,c,J){var y=c.length-1;switch(Q){case 1:return c[y-1];case 2:this.$=[];break;case 3:c[y-1].push(c[y]),this.$=c[y-1];break;case 4:case 5:this.$=c[y];break;case 6:case 7:this.$=[];break;case 8:T.setWeekday("monday");break;case 9:T.setWeekday("tuesday");break;case 10:T.setWeekday("wednesday");break;case 11:T.setWeekday("thursday");break;case 12:T.setWeekday("friday");break;case 13:T.setWeekday("saturday");break;case 14:T.setWeekday("sunday");break;case 15:T.setWeekend("friday");break;case 16:T.setWeekend("saturday");break;case 17:T.setDateFormat(c[y].substr(11)),this.$=c[y].substr(11);break;case 18:T.enableInclusiveEndDates(),this.$=c[y].substr(18);break;case 19:T.TopAxis(),this.$=c[y].substr(8);break;case 20:T.setAxisFormat(c[y].substr(11)),this.$=c[y].substr(11);break;case 21:T.setTickInterval(c[y].substr(13)),this.$=c[y].substr(13);break;case 22:T.setExcludes(c[y].substr(9)),this.$=c[y].substr(9);break;case 23:T.setIncludes(c[y].substr(9)),this.$=c[y].substr(9);break;case 24:T.setTodayMarker(c[y].substr(12)),this.$=c[y].substr(12);break;case 27:T.setDiagramTitle(c[y].substr(6)),this.$=c[y].substr(6);break;case 28:this.$=c[y].trim(),T.setAccTitle(this.$);break;case 29:case 30:this.$=c[y].trim(),T.setAccDescription(this.$);break;case 31:T.addSection(c[y].substr(8)),this.$=c[y].substr(8);break;case 33:T.addTask(c[y-1],c[y]),this.$="task";break;case 34:this.$=c[y-1],T.setClickEvent(c[y-1],c[y],null);break;case 35:this.$=c[y-2],T.setClickEvent(c[y-2],c[y-1],c[y]);break;case 36:this.$=c[y-2],T.setClickEvent(c[y-2],c[y-1],null),T.setLink(c[y-2],c[y]);break;case 37:this.$=c[y-3],T.setClickEvent(c[y-3],c[y-2],c[y-1]),T.setLink(c[y-3],c[y]);break;case 38:this.$=c[y-2],T.setClickEvent(c[y-2],c[y],null),T.setLink(c[y-2],c[y-1]);break;case 39:this.$=c[y-3],T.setClickEvent(c[y-3],c[y-1],c[y]),T.setLink(c[y-3],c[y-2]);break;case 40:this.$=c[y-1],T.setLink(c[y-1],c[y]);break;case 41:case 47:this.$=c[y-1]+" "+c[y];break;case 42:case 43:case 45:this.$=c[y-2]+" "+c[y-1]+" "+c[y];break;case 44:case 46:this.$=c[y-3]+" "+c[y-2]+" "+c[y-1]+" "+c[y];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},e(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:i,14:s,15:o,16:l,17:w,18:M,19:18,20:z,21:U,22:X,23:W,24:V,25:Y,26:B,27:E,28:tt,29:ft,30:at,31:Z,33:C,35:f,36:O,37:24,38:rt,40:nt},e(r,[2,7],{1:[2,1]}),e(r,[2,3]),{9:36,11:17,12:n,13:i,14:s,15:o,16:l,17:w,18:M,19:18,20:z,21:U,22:X,23:W,24:V,25:Y,26:B,27:E,28:tt,29:ft,30:at,31:Z,33:C,35:f,36:O,37:24,38:rt,40:nt},e(r,[2,5]),e(r,[2,6]),e(r,[2,17]),e(r,[2,18]),e(r,[2,19]),e(r,[2,20]),e(r,[2,21]),e(r,[2,22]),e(r,[2,23]),e(r,[2,24]),e(r,[2,25]),e(r,[2,26]),e(r,[2,27]),{32:[1,37]},{34:[1,38]},e(r,[2,30]),e(r,[2,31]),e(r,[2,32]),{39:[1,39]},e(r,[2,8]),e(r,[2,9]),e(r,[2,10]),e(r,[2,11]),e(r,[2,12]),e(r,[2,13]),e(r,[2,14]),e(r,[2,15]),e(r,[2,16]),{41:[1,40],43:[1,41]},e(r,[2,4]),e(r,[2,28]),e(r,[2,29]),e(r,[2,33]),e(r,[2,34],{42:[1,42],43:[1,43]}),e(r,[2,40],{41:[1,44]}),e(r,[2,35],{43:[1,45]}),e(r,[2,36]),e(r,[2,38],{42:[1,46]}),e(r,[2,37]),e(r,[2,39])],defaultActions:{},parseError:t(function(d,b){if(b.recoverable)this.trace(d);else{var v=Error(d);throw v.hash=b,v}},"parseError"),parse:t(function(d){var b=this,v=[0],T=[],Q=[null],c=[],J=this.table,y="",mt=0,m=0,q=0,K=2,ut=1,lt=c.slice.call(arguments,1),it=Object.create(this.lexer),p={yy:{}};for(var j in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,j))p.yy[j]=this.yy[j];if(it.setInput(d,p.yy),p.yy.lexer=it,p.yy.parser=this,typeof it.yylloc>"u")it.yylloc={};var et=it.yylloc;c.push(et);var g=it.options&&it.options.ranges;if(typeof p.yy.parseError==="function")this.parseError=p.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ht(Mt){v.length=v.length-2*Mt,Q.length=Q.length-Mt,c.length=c.length-Mt}t(ht,"popStack");function st(){var Mt=T.pop()||it.lex()||ut;if(typeof Mt!=="number"){if(Mt instanceof Array)T=Mt,Mt=T.pop();Mt=b.symbols_[Mt]||Mt}return Mt}t(st,"lex");var ot,yt,gt,Tt,gs,Fe,Gt={},fe,Et,Dr,de;while(!0){if(gt=v[v.length-1],this.defaultActions[gt])Tt=this.defaultActions[gt];else{if(ot===null||typeof ot>"u")ot=st();Tt=J[gt]&&J[gt][ot]}if(typeof Tt>"u"||!Tt.length||!Tt[0]){var Ie="";de=[];for(fe in J[gt])if(this.terminals_[fe]&&fe>K)de.push("'"+this.terminals_[fe]+"'");if(it.showPosition)Ie="Parse error on line "+(mt+1)+`:
|
|
2
2
|
`+it.showPosition()+`
|
|
3
|
-
Expecting `+de.join(", ")+", got '"+(this.terminals_[ot]||ot)+"'";else Ie="Parse error on line "+(mt+1)+": Unexpected "+(ot==ut?"end of input":"'"+(this.terminals_[ot]||ot)+"'");this.parseError(Ie,{text:it.match,token:this.terminals_[ot]||ot,line:it.yylineno,loc:et,expected:de})}if(Tt[0]instanceof Array&&Tt.length>1)throw Error("Parse Error: multiple actions possible at state: "+gt+", token: "+ot);switch(Tt[0]){case 1:if(v.push(ot),Q.push(it.yytext),c.push(it.yylloc),v.push(Tt[1]),ot=null,!yt){if(m=it.yyleng,y=it.yytext,mt=it.yylineno,et=it.yylloc,q>0)q--}else ot=yt,yt=null;break;case 2:if(Et=this.productions_[Tt[1]][1],Gt.$=Q[Q.length-Et],Gt._$={first_line:c[c.length-(Et||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(Et||1)].first_column,last_column:c[c.length-1].last_column},g)Gt._$.range=[c[c.length-(Et||1)].range[0],c[c.length-1].range[1]];if(Fe=this.performAction.apply(Gt,[y,m,mt,p.yy,Tt[1],Q,c].concat(lt)),typeof Fe<"u")return Fe;if(Et)v=v.slice(0,-1*Et*2),Q=Q.slice(0,-1*Et),c=c.slice(0,-1*Et);v.push(this.productions_[Tt[1]][0]),Q.push(Gt.$),c.push(Gt._$),Dr=J[v[v.length-2]][v[v.length-1]],v.push(Dr);break;case 3:return!0}}return!0},"parse")},
|
|
3
|
+
Expecting `+de.join(", ")+", got '"+(this.terminals_[ot]||ot)+"'";else Ie="Parse error on line "+(mt+1)+": Unexpected "+(ot==ut?"end of input":"'"+(this.terminals_[ot]||ot)+"'");this.parseError(Ie,{text:it.match,token:this.terminals_[ot]||ot,line:it.yylineno,loc:et,expected:de})}if(Tt[0]instanceof Array&&Tt.length>1)throw Error("Parse Error: multiple actions possible at state: "+gt+", token: "+ot);switch(Tt[0]){case 1:if(v.push(ot),Q.push(it.yytext),c.push(it.yylloc),v.push(Tt[1]),ot=null,!yt){if(m=it.yyleng,y=it.yytext,mt=it.yylineno,et=it.yylloc,q>0)q--}else ot=yt,yt=null;break;case 2:if(Et=this.productions_[Tt[1]][1],Gt.$=Q[Q.length-Et],Gt._$={first_line:c[c.length-(Et||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(Et||1)].first_column,last_column:c[c.length-1].last_column},g)Gt._$.range=[c[c.length-(Et||1)].range[0],c[c.length-1].range[1]];if(Fe=this.performAction.apply(Gt,[y,m,mt,p.yy,Tt[1],Q,c].concat(lt)),typeof Fe<"u")return Fe;if(Et)v=v.slice(0,-1*Et*2),Q=Q.slice(0,-1*Et),c=c.slice(0,-1*Et);v.push(this.productions_[Tt[1]][0]),Q.push(Gt.$),c.push(Gt._$),Dr=J[v[v.length-2]][v[v.length-1]],v.push(Dr);break;case 3:return!0}}return!0},"parse")},_=function(){var H={EOF:1,parseError:t(function(b,v){if(this.yy.parser)this.yy.parser.parseError(b,v);else throw Error(b)},"parseError"),setInput:t(function(d,b){if(this.yy=b||this.yy||{},this._input=d,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 d=this._input[0];this.yytext+=d,this.yyleng++,this.offset++,this.match+=d,this.matched+=d;var b=d.match(/(?:\r\n?|\n).*/g);if(b)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),d},"input"),unput:t(function(d){var b=d.length,v=d.split(/(?:\r\n?|\n)/g);this._input=d+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var T=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),v.length-1)this.yylineno-=v.length-1;var Q=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:v?(v.length===T.length?this.yylloc.first_column:0)+T[T.length-v.length].length-v[0].length:this.yylloc.first_column-b},this.options.ranges)this.yylloc.range=[Q[0],Q[0]+this.yyleng-b];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
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(d){this.unput(this.match.slice(d))},"less"),pastInput:t(function(){var d=this.matched.substr(0,this.matched.length-this.match.length);return(d.length>20?"...":"")+d.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var d=this.match;if(d.length<20)d+=this._input.substr(0,20-d.length);return(d.substr(0,20)+(d.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var d=this.pastInput(),b=Array(d.length+1).join("-");return d+this.upcomingInput()+`
|
|
5
5
|
`+b+"^"},"showPosition"),test_match:t(function(d,b){var v,T,Q;if(this.options.backtrack_lexer){if(Q={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)Q.yylloc.range=this.yylloc.range.slice(0)}if(T=d[0].match(/(?:\r\n?|\n).*/g),T)this.yylineno+=T.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:T?T[T.length-1].length-T[T.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+d[0].length},this.yytext+=d[0],this.match+=d[0],this.matches=d,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(d[0].length),this.matched+=d[0],v=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(v)return v;else if(this._backtrack){for(var c in Q)this[c]=Q[c];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var d,b,v,T;if(!this._more)this.yytext="",this.match="";var Q=this._currentRules();for(var c=0;c<Q.length;c++)if(v=this._input.match(this.rules[Q[c]]),v&&(!b||v[0].length>b[0].length)){if(b=v,T=c,this.options.backtrack_lexer)if(d=this.test_match(v,Q[c]),d!==!1)return d;else if(this._backtrack){b=!1;continue}else return!1;else if(!this.options.flex)break}if(b){if(d=this.test_match(b,Q[T]),d!==!1)return d;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 b=this.next();if(b)return b;else return this.lex()},"lex"),begin:t(function(b){this.conditionStack.push(b)},"begin"),popState:t(function(){var b=this.conditionStack.length-1;if(b>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(b){if(b=this.conditionStack.length-1-Math.abs(b||0),b>=0)return this.conditionStack[b];else return"INITIAL"},"topState"),pushState:t(function(b){this.begin(b)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(b,v,T,Q){var c=Q;switch(T){case 0:return this.begin("open_directive"),"open_directive";break;case 1:return this.begin("acc_title"),31;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),33;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 43;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 21:this.popState();break;case 22:return 42;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return N}();x.lexer=Y;function _(){this.yy={}}return t(_,"Parser"),_.prototype=x,x.Parser=_,new _}();ur.parser=ur;var Ma=ur;wt.default.extend(Cn.default);wt.default.extend(Sn.default);wt.default.extend(_n.default);var bn={friday:5,saturday:6},Wt="",hr="",yr=void 0,gr="",re=[],ne=[],pr=new Map,Tr=[],_e=[],ie="",vr="",Yn=["active","done","crit","milestone","vert"],xr=[],Kt="",le=!1,br=!1,wr="sunday",Ye="saturday",lr=0,Da=t(function(){Tr=[],_e=[],ie="",xr=[],Ce=0,mr=void 0,Se=void 0,kt=[],Wt="",hr="",vr="",yr=void 0,gr="",re=[],ne=[],le=!1,br=!1,lr=0,pr=new Map,Kt="",A(),wr="sunday",Ye="saturday"},"clear"),Ca=t(function(e){Kt=e},"setDiagramId"),Sa=t(function(e){hr=e},"setAxisFormat"),Ya=t(function(){return hr},"getAxisFormat"),Fa=t(function(e){yr=e},"setTickInterval"),Ia=t(function(){return yr},"getTickInterval"),La=t(function(e){gr=e},"setTodayMarker"),Wa=t(function(){return gr},"getTodayMarker"),Ea=t(function(e){Wt=e},"setDateFormat"),Aa=t(function(){le=!0},"enableInclusiveEndDates"),Oa=t(function(){return le},"endDatesAreInclusive"),$a=t(function(){br=!0},"enableTopAxis"),Ha=t(function(){return br},"topAxisEnabled"),Na=t(function(e){vr=e},"setDisplayMode"),Pa=t(function(){return vr},"getDisplayMode"),Va=t(function(){return Wt},"getDateFormat"),Fn=t((e,r)=>{let n=r.toLowerCase().split(/[\s,]+/).filter((i)=>i!=="");return[...new Set([...e,...n])]},"mergeTokens"),za=t(function(e){re=Fn(re,e)},"setIncludes"),Ra=t(function(){return re},"getIncludes"),Ba=t(function(e){ne=Fn(ne,e)},"setExcludes"),Za=t(function(){return ne},"getExcludes"),ja=t(function(){return pr},"getLinks"),Xa=t(function(e){ie=e,Tr.push(e)},"addSection"),Ga=t(function(){return Tr},"getSections"),qa=t(function(){let e=wn(),r=10,n=0;while(!e&&n<r)e=wn(),n++;return _e=kt,_e},"getTasks"),In=t(function(e,r,n,i){let s=e.format(r.trim()),o=e.format("YYYY-MM-DD");if(i.includes(s)||i.includes(o))return!1;if(n.includes("weekends")&&(e.isoWeekday()===bn[Ye]||e.isoWeekday()===bn[Ye]+1))return!0;if(n.includes(e.format("dddd").toLowerCase()))return!0;return n.includes(s)||n.includes(o)},"isInvalidDate"),Qa=t(function(e){wr=e},"setWeekday"),Ja=t(function(){return wr},"getWeekday"),Ka=t(function(e){Ye=e},"setWeekend"),Un=t(function(e,r,n,i){if(!n.length||e.manualEndTime)return;let s;if(e.startTime instanceof Date)s=wt.default(e.startTime);else s=wt.default(e.startTime,r,!0);s=s.add(1,"d");let o;if(e.endTime instanceof Date)o=wt.default(e.endTime);else o=wt.default(e.endTime,r,!0);let[l,w]=ts(s,o,r,n,i);e.endTime=l.toDate(),e.renderEndTime=w},"checkTaskDates"),ts=t(function(e,r,n,i,s){let o=!1,l=null,w=r.add(1e4,"d");while(e<=r){if(!o)l=r.toDate();if(o=In(e,n,i,s),o){if(r=r.add(1,"d"),r>w)throw Error("Failed to find a valid date that was not excluded by `excludes` after 10,000 iterations.")}e=e.add(1,"d")}return[r,l]},"fixTaskDates"),Wn=t(function(e,r){a.warn(`Gantt: the "${e}" statement references unknown task id(s): ${r.join(", ")}. Make sure the referenced tasks exist and declare an id. Milestones need both an id and a duration, e.g. "Milestone :milestone, m1, 2023-01-01, 0d".`)},"warnAboutUnknownTaskIds"),fr=t(function(e,r,n){if(n=n.trim(),t((w)=>{let C=w.trim();return C==="x"||C==="X"},"isTimestampFormat")(r)&&/^\d+$/.test(n))return new Date(Number(n));let o=/^after\s+(?<ids>[\d\w- ]+)/.exec(n);if(o!==null){let w=null,C=[],z=o.groups.ids.split(" ").filter((X)=>X!=="");for(let X of z){let E=Xt(X);if(E===void 0){C.push(X);continue}if(!w||E.endTime>w.endTime)w=E}if(C.length>0)Wn("after",C);if(w)return w.endTime;let W=new Date;return W.setHours(0,0,0,0),W}let l=wt.default(n,r.trim(),!0);if(l.isValid())return l.toDate();else{a.debug("Invalid date:"+n),a.debug("With date format:"+r.trim());let w=new Date(n);if(w===void 0||isNaN(w.getTime())||w.getFullYear()<-1e4||w.getFullYear()>1e4)throw Error("Invalid date:"+n);return w}},"getStartDate"),En=t(function(e){let r=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(e.trim());if(r!==null)return[Number.parseFloat(r[1]),r[2]];return[NaN,"ms"]},"parseDuration"),An=t(function(e,r,n,i=!1){n=n.trim();let o=/^until\s+(?<ids>[\d\w- ]+)/.exec(n);if(o!==null){let W=null,X=[],E=o.groups.ids.split(" ").filter((U)=>U!=="");for(let U of E){let B=Xt(U);if(B===void 0){X.push(U);continue}if(!W||B.startTime<W.startTime)W=B}if(X.length>0)Wn("until",X);if(W)return W.startTime;let V=new Date;return V.setHours(0,0,0,0),V}let l=wt.default(n,r.trim(),!0);if(l.isValid()){if(i)l=l.add(1,"d");return l.toDate()}let w=wt.default(e),[C,z]=En(n);if(Number.isNaN(C))a.warn(`Gantt: "${n}" is neither a valid date for the "${r.trim()}" date format nor a valid duration (e.g. "3d"), so it is ignored and the task gets a zero duration. Milestones need a duration too, e.g. "Milestone :milestone, m1, 2023-01-01, 0d".`);else{let W=w.add(C,z);if(W.isValid())w=W}return w.toDate()},"getEndDate"),Ce=0,ee=t(function(e){if(e===void 0)return Ce=Ce+1,"task"+Ce;return e},"parseId"),es=t(function(e,r){let n;if(r.substr(0,1)===":")n=r.substr(1,r.length);else n=r;let i=n.split(","),s={};Mr(i,s,Yn);for(let l=0;l<i.length;l++)i[l]=i[l].trim();let o="";switch(i.length){case 1:s.id=ee(),s.startTime=e.endTime,o=i[0];break;case 2:s.id=ee(),s.startTime=fr(void 0,Wt,i[0]),o=i[1];break;case 3:s.id=ee(i[0]),s.startTime=fr(void 0,Wt,i[1]),o=i[2];break;default:}if(o)s.endTime=An(s.startTime,Wt,o,le),s.manualEndTime=wt.default(o,"YYYY-MM-DD",!0).isValid(),Un(s,Wt,ne,re);return s},"compileData"),rs=t(function(e,r){let n;if(r.substr(0,1)===":")n=r.substr(1,r.length);else n=r;let i=n.split(","),s={};Mr(i,s,Yn);for(let o=0;o<i.length;o++)i[o]=i[o].trim();switch(i.length){case 1:s.id=ee(),s.startTime={type:"prevTaskEnd",id:e},s.endTime={data:i[0]};break;case 2:s.id=ee(),s.startTime={type:"getStartDate",startData:i[0]},s.endTime={data:i[1]};break;case 3:s.id=ee(i[0]),s.startTime={type:"getStartDate",startData:i[1]},s.endTime={data:i[2]};break;default:}return s},"parseData"),mr,Se,kt=[],On={},ns=t(function(e,r){let n={section:ie,type:ie,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:r},task:e,classes:[]},i=rs(Se,r);if(n.raw.startTime=i.startTime,n.raw.endTime=i.endTime,n.id=i.id,n.prevTaskId=Se,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,n.vert=i.vert,n.vert)n.order=-1;else n.order=lr,lr++;let s=kt.push(n);Se=n.id,On[n.id]=s-1},"addTask"),Xt=t(function(e){let r=On[e];return kt[r]},"findTaskById"),is=t(function(e,r){let n={section:ie,type:ie,description:e,task:e,classes:[]},i=es(mr,r);n.startTime=i.startTime,n.endTime=i.endTime,n.id=i.id,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,n.vert=i.vert,mr=n,_e.push(n)},"addTaskOrg"),wn=t(function(){let e=t(function(n){let i=kt[n],s="";switch(kt[n].raw.startTime.type){case"prevTaskEnd":{let o=Xt(i.prevTaskId);i.startTime=o.endTime;break}case"getStartDate":if(s=fr(void 0,Wt,kt[n].raw.startTime.startData),s)kt[n].startTime=s;break}if(kt[n].startTime){if(kt[n].endTime=An(kt[n].startTime,Wt,kt[n].raw.endTime.data,le),kt[n].endTime)kt[n].processed=!0,kt[n].manualEndTime=wt.default(kt[n].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),Un(kt[n],Wt,ne,re)}return kt[n].processed},"compileTask"),r=!0;for(let[n,i]of kt.entries())e(n),r=r&&i.processed;return r},"compileTasks"),as=t(function(e,r){let n=r;if(u().securityLevel!=="loose")n=Dn.sanitizeUrl(r);e.split(",").forEach(function(i){if(Xt(i)!==void 0)Hn(i,()=>{window.open(n,"_self")}),pr.set(i,n)}),$n(e,"clickable")},"setLink"),$n=t(function(e,r){e.split(",").forEach(function(n){let i=Xt(n);if(i!==void 0)i.classes.push(r)})},"setClass"),ss=t(function(e,r,n){if(u().securityLevel!=="loose")return;if(r===void 0)return;let i=[];if(typeof n==="string"){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let o=0;o<i.length;o++){let l=i[o].trim();if(l.startsWith('"')&&l.endsWith('"'))l=l.substr(1,l.length-2);i[o]=l}}if(i.length===0)i.push(e);if(Xt(e)!==void 0)Hn(e,()=>{F.runFunc(r,...i)})},"setClickFun"),Hn=t(function(e,r){xr.push(function(){let n=Kt?`${Kt}-${e}`:e,i=document.querySelector(`[id="${n}"]`);if(i!==null)i.addEventListener("click",function(){r()})},function(){let n=Kt?`${Kt}-${e}`:e,i=document.querySelector(`[id="${n}-text"]`);if(i!==null)i.addEventListener("click",function(){r()})})},"pushFun"),os=t(function(e,r,n){e.split(",").forEach(function(i){ss(i,r,n)}),$n(e,"clickable")},"setClickEvent"),cs=t(function(e){xr.forEach(function(r){r(e)})},"bindFunctions"),us={getConfig:t(()=>u().gantt,"getConfig"),clear:Da,setDateFormat:Ea,getDateFormat:Va,enableInclusiveEndDates:Aa,endDatesAreInclusive:Oa,enableTopAxis:$a,topAxisEnabled:Ha,setAxisFormat:Sa,getAxisFormat:Ya,setTickInterval:Fa,getTickInterval:Ia,setTodayMarker:La,getTodayMarker:Wa,setAccTitle:R,getAccTitle:I,setDiagramTitle:P,getDiagramTitle:M,setDiagramId:Ca,setDisplayMode:Na,getDisplayMode:Pa,setAccDescription:L,getAccDescription:D,addSection:Xa,getSections:Ga,getTasks:qa,addTask:ns,findTaskById:Xt,addTaskOrg:is,setIncludes:za,getIncludes:Ra,setExcludes:Ba,getExcludes:Za,setClickEvent:os,setLink:as,getLinks:ja,bindFunctions:cs,parseDuration:En,isInvalidDate:In,setWeekday:Qa,getWeekday:Ja,setWeekend:Ka};function Mr(e,r,n){let i=!0;while(i)i=!1,n.forEach(function(s){let o="^\\s*"+s+"\\s*$",l=new RegExp(o);if(e[0].match(l))r[s]=!0,e.shift(1),i=!0})}t(Mr,"getTaskTags");te.default.extend(Nn.default);var ls=t(function(){a.debug("Something is calling, setConf, remove the call")},"setConf"),Mn={monday:Vt,tuesday:xe,wednesday:be,thursday:Lt,friday:we,saturday:Me,sunday:_t},fs=t((e,r)=>{let n=[...e].map(()=>-1/0),i=[...e].sort((o,l)=>o.startTime-l.startTime||o.order-l.order),s=0;for(let o of i)for(let l=0;l<n.length;l++)if(o.startTime>=n[l]){if(n[l]=o.endTime,o.order=l+r,l>s)s=l;break}return s},"getMaxIntersections"),Nt,cr=1e4,ds=t(function(e,r,n,i){let s=u().gantt;i.db.setDiagramId(r);let o=u().securityLevel,l;if(o==="sandbox")l=h("#i"+r);let w=o==="sandbox"?h(l.nodes()[0].contentDocument.body):h("body"),C=o==="sandbox"?l.nodes()[0].contentDocument:document,z=C.getElementById(r);if(Nt=z.parentElement.offsetWidth,Nt===void 0)Nt=1200;if(s.useWidth!==void 0)Nt=s.useWidth;let W=i.db.getTasks(),X=W.filter((x)=>!x.vert),E=[];for(let x of X)E.push(x.type);E=nt(E);let V={},U=2*s.topPadding;if(i.db.getDisplayMode()==="compact"||s.displayMode==="compact"){let x={};for(let _ of X)if(x[_.section]===void 0)x[_.section]=[_];else x[_.section].push(_);let Y=0;for(let _ of Object.keys(x)){let N=fs(x[_],Y)+1;Y+=N,U+=N*(s.barHeight+s.barGap),V[_]=N}}else{U+=X.length*(s.barHeight+s.barGap);for(let x of E)V[x]=X.filter((Y)=>Y.type===x).length}z.setAttribute("viewBox","0 0 "+Nt+" "+U);let B=w.select(`[id="${r}"]`),O=Ke().domain([kr(W,function(x){return x.startTime}),Kr(W,function(x){return x.endTime})]).rangeRound([0,Nt-s.leftPadding-s.rightPadding]);function tt(x,Y){let _=x.startTime,N=Y.startTime,d=0;if(_>N)d=1;else if(_<N)d=-1;return d}t(tt,"taskCompare"),W.sort(tt),ft(W,Nt,U),G(B,U,Nt,s.useMaxWidth),B.append("text").text(i.db.getDiagramTitle()).attr("x",Nt/2).attr("y",s.titleTopMargin).attr("class","titleText");function ft(x,Y,_){let N=s.barHeight,d=N+s.barGap,{topPadding:b,leftPadding:v}=s,T=fn().domain([0,E.length]).range(["#00B9FA","#F95002"]).interpolate(Nr);Z(d,b,v,Y,_,x,i.db.getExcludes(),i.db.getIncludes()),f(v,b,Y,_),at(x,d,b,v,N,T,Y,_),H(d,b,v,N,T),rt(v,b,Y,_)}t(ft,"makeGantt");function at(x,Y,_,N,d,b,v){x.sort((m,q)=>m.vert===q.vert?0:m.vert?1:-1);let T=x.filter((m)=>!m.vert),c=[...new Set(T.map((m)=>m.order))].map((m)=>T.find((q)=>q.order===m));B.append("g").selectAll("rect").data(c).enter().append("rect").attr("x",0).attr("y",function(m,q){return q=m.order,q*Y+_-2}).attr("width",function(){return v-s.rightPadding/2}).attr("height",Y).attr("class",function(m){for(let[q,K]of E.entries())if(m.type===K)return"section section"+q%s.numberSectionStyles;return"section section0"}).enter();let J=B.append("g").selectAll("rect").data(x).enter(),y=i.db.getLinks();if(J.append("rect").attr("id",function(m){return r+"-"+m.id}).attr("rx",3).attr("ry",3).attr("x",function(m){if(m.milestone)return O(m.startTime)+N+0.5*(O(m.endTime)-O(m.startTime))-0.5*d;return O(m.startTime)+N}).attr("y",function(m,q){if(q=m.order,m.vert)return s.gridLineStartPadding;return q*Y+_}).attr("width",function(m){if(m.milestone)return d;if(m.vert)return 0.08*d;return O(m.renderEndTime||m.endTime)-O(m.startTime)}).attr("height",function(m){if(m.vert)return T.length*(s.barHeight+s.barGap)+s.barHeight*2;return d}).attr("transform-origin",function(m,q){return q=m.order,(O(m.startTime)+N+0.5*(O(m.endTime)-O(m.startTime))).toString()+"px "+(q*Y+_+0.5*d).toString()+"px"}).attr("class",function(m){let K="";if(m.classes.length>0)K=m.classes.join(" ");let ut=0;for(let[it,p]of E.entries())if(m.type===p)ut=it%s.numberSectionStyles;let lt="";if(m.active)if(m.crit)lt+=" activeCrit";else lt=" active";else if(m.done)if(m.crit)lt=" doneCrit";else lt=" done";else if(m.crit)lt+=" crit";if(lt.length===0)lt=" task";if(m.milestone)lt=" milestone "+lt;if(m.vert)lt=" vert "+lt;return lt+=ut,lt+=" "+K,"task"+lt}),J.append("text").attr("id",function(m){return r+"-"+m.id+"-text"}).text(function(m){return m.task}).attr("font-size",s.fontSize).attr("x",function(m){let q=O(m.startTime),K=O(m.renderEndTime||m.endTime);if(m.milestone)q+=0.5*(O(m.endTime)-O(m.startTime))-0.5*d,K=q+d;if(m.vert)return O(m.startTime)+N;let ut=this.getBBox().width;if(ut>K-q)if(K+ut+1.5*s.leftPadding>v)return q+N-5;else return K+N+5;else return(K-q)/2+q+N}).attr("y",function(m,q){if(m.vert)return s.gridLineStartPadding+T.length*(s.barHeight+s.barGap)+60;return q=m.order,q*Y+s.barHeight/2+(s.fontSize/2-2)+_}).attr("text-height",d).attr("class",function(m){let q=O(m.startTime),K=O(m.endTime);if(m.milestone)K=q+d;let ut=this.getBBox().width,lt="";if(m.classes.length>0)lt=m.classes.join(" ");let it=0;for(let[j,et]of E.entries())if(m.type===et)it=j%s.numberSectionStyles;let p="";if(m.active)if(m.crit)p="activeCritText"+it;else p="activeText"+it;if(m.done)if(m.crit)p=p+" doneCritText"+it;else p=p+" doneText"+it;else if(m.crit)p=p+" critText"+it;if(m.milestone)p+=" milestoneText";if(m.vert)p+=" vertText";if(ut>K-q)if(K+ut+1.5*s.leftPadding>v)return lt+" taskTextOutsideLeft taskTextOutside"+it+" "+p;else return lt+" taskTextOutsideRight taskTextOutside"+it+" "+p+" width-"+ut;else return lt+" taskText taskText"+it+" "+p+" width-"+ut}),u().securityLevel==="sandbox"){let m;m=h("#i"+r);let q=m.nodes()[0].contentDocument;J.filter(function(K){return y.has(K.id)}).each(function(K){var ut=q.querySelector("#"+CSS.escape(r+"-"+K.id)),lt=q.querySelector("#"+CSS.escape(r+"-"+K.id+"-text"));let it=ut.parentNode;var p=q.createElement("a");p.setAttribute("xlink:href",y.get(K.id)),p.setAttribute("target","_top"),it.appendChild(p),p.appendChild(ut),p.appendChild(lt)})}}t(at,"drawRects");function Z(x,Y,_,N,d,b,v,T){if(v.length===0&&T.length===0)return;let Q,c;for(let{startTime:K,endTime:ut}of b){if(Q===void 0||K<Q)Q=K;if(c===void 0||ut>c)c=ut}if(!Q||!c)return;if(te.default(c).diff(te.default(Q),"year")>5){a.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}let J=i.db.getDateFormat(),y=[],mt=null,m=te.default(Q);while(m.valueOf()<=c){if(i.db.isInvalidDate(m,J,v,T))if(!mt)mt={start:m,end:m};else mt.end=m;else if(mt)y.push(mt),mt=null;m=m.add(1,"d")}B.append("g").selectAll("rect").data(y).enter().append("rect").attr("id",(K)=>r+"-exclude-"+K.start.format("YYYY-MM-DD")).attr("x",(K)=>O(K.start.startOf("day"))+_).attr("y",s.gridLineStartPadding).attr("width",(K)=>O(K.end.endOf("day"))-O(K.start.startOf("day"))).attr("height",d-Y-s.gridLineStartPadding).attr("transform-origin",function(K,ut){return(O(K.start)+_+0.5*(O(K.end)-O(K.start))).toString()+"px "+(ut*x+0.5*d).toString()+"px"}).attr("class","exclude-range")}t(Z,"drawExcludeDays");function S(x,Y,_,N){if(_<=0||x>Y)return 1/0;let d=Y-x,b=te.default.duration({[N??"day"]:_}).asMilliseconds();if(b<=0)return 1/0;return Math.ceil(d/b)}t(S,"getEstimatedTickCount");function f(x,Y,_,N){let d=i.db.getDateFormat(),b=i.db.getAxisFormat(),v;if(b)v=b;else if(d==="D")v="%d";else v=s.axisFormat??"%Y-%m-%d";let T=Ae(O).tickSize(-N+Y+s.gridLineStartPadding).tickFormat(jt(v)),c=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||s.tickInterval);if(c!==null){let J=parseInt(c[1],10);if(isNaN(J)||J<=0)a.warn(`Invalid tick interval value: "${c[1]}". Skipping custom tick interval.`);else{let y=c[2],mt=i.db.getWeekday()||s.weekday,m=O.domain(),q=m[0],K=m[1],ut=S(q,K,J,y);if(ut>cr)a.warn(`The tick interval "${J}${y}" would generate ${ut} ticks, which exceeds the maximum allowed (${cr}). This may indicate an invalid date or time range. Skipping custom tick interval.`);else switch(y){case"millisecond":T.ticks(It.every(J));break;case"second":T.ticks(xt.every(J));break;case"minute":T.ticks(Ot.every(J));break;case"hour":T.ticks($t.every(J));break;case"day":T.ticks(Ct.every(J));break;case"week":T.ticks(Mn[mt].every(J));break;case"month":T.ticks(Ht.every(J));break}}}if(B.append("g").attr("class","grid").attr("transform","translate("+x+", "+(N-50)+")").call(T).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||s.topAxis){let J=Ee(O).tickSize(-N+Y+s.gridLineStartPadding).tickFormat(jt(v));if(c!==null){let y=parseInt(c[1],10);if(isNaN(y)||y<=0)a.warn(`Invalid tick interval value: "${c[1]}". Skipping custom tick interval.`);else{let mt=c[2],m=i.db.getWeekday()||s.weekday,q=O.domain(),K=q[0],ut=q[1];if(S(K,ut,y,mt)<=cr)switch(mt){case"millisecond":J.ticks(It.every(y));break;case"second":J.ticks(xt.every(y));break;case"minute":J.ticks(Ot.every(y));break;case"hour":J.ticks($t.every(y));break;case"day":J.ticks(Ct.every(y));break;case"week":J.ticks(Mn[m].every(y));break;case"month":J.ticks(Ht.every(y));break}}}B.append("g").attr("class","grid").attr("transform","translate("+x+", "+Y+")").call(J).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}t(f,"makeGrid");function H(x,Y){let _=0,N=Object.keys(V).map((d)=>[d,V[d]]);B.append("g").selectAll("text").data(N).enter().append(function(d){let b=d[0].split(k.lineBreakRegex),v=-(b.length-1)/2,T=C.createElementNS("http://www.w3.org/2000/svg","text");T.setAttribute("dy",v+"em");for(let[Q,c]of b.entries()){let J=C.createElementNS("http://www.w3.org/2000/svg","tspan");if(J.setAttribute("alignment-baseline","central"),J.setAttribute("x","10"),Q>0)J.setAttribute("dy","1em");J.textContent=c,T.appendChild(J)}return T}).attr("x",10).attr("y",function(d,b){if(b>0)for(let v=0;v<b;v++)return _+=N[b-1][1],d[1]*x/2+_*x+Y;else return d[1]*x/2+Y}).attr("font-size",s.sectionFontSize).attr("class",function(d){for(let[b,v]of E.entries())if(d[0]===v)return"sectionTitle sectionTitle"+b%s.numberSectionStyles;return"sectionTitle"})}t(H,"vertLabels");function rt(x,Y,_,N){let d=i.db.getTodayMarker();if(d==="off")return;let b=B.append("g").attr("class","today"),v=new Date,T=b.append("line");if(T.attr("x1",O(v)+x).attr("x2",O(v)+x).attr("y1",s.titleTopMargin).attr("y2",N-s.titleTopMargin).attr("class","today"),d!=="")T.attr("style",d.replace(/,/g,";"))}t(rt,"drawToday");function nt(x){let Y={},_=[];for(let N=0,d=x.length;N<d;++N)if(!Object.prototype.hasOwnProperty.call(Y,x[N]))Y[x[N]]=!0,_.push(x[N]);return _}t(nt,"checkUnique")},"draw"),ms={setConf:ls,draw:ds},hs=t((e)=>`
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var b=this.next();if(b)return b;else return this.lex()},"lex"),begin:t(function(b){this.conditionStack.push(b)},"begin"),popState:t(function(){var b=this.conditionStack.length-1;if(b>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(b){if(b=this.conditionStack.length-1-Math.abs(b||0),b>=0)return this.conditionStack[b];else return"INITIAL"},"topState"),pushState:t(function(b){this.begin(b)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(b,v,T,Q){var c=Q;switch(T){case 0:return this.begin("open_directive"),"open_directive";break;case 1:return this.begin("acc_title"),31;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),33;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 43;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 21:this.popState();break;case 22:return 42;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return H}();x.lexer=_;function S(){this.yy={}}return t(S,"Parser"),S.prototype=x,x.Parser=S,new S}();ur.parser=ur;var Ma=ur;wt.default.extend(Cn.default);wt.default.extend(Sn.default);wt.default.extend(_n.default);var bn={friday:5,saturday:6},Wt="",hr="",yr=void 0,gr="",re=[],ne=[],pr=new Map,Tr=[],_e=[],ie="",vr="",Yn=["active","done","crit","milestone","vert"],xr=[],Kt="",le=!1,br=!1,wr="sunday",Ye="saturday",lr=0,Da=t(function(){Tr=[],_e=[],ie="",xr=[],Ce=0,mr=void 0,Se=void 0,kt=[],Wt="",hr="",vr="",yr=void 0,gr="",re=[],ne=[],le=!1,br=!1,lr=0,pr=new Map,Kt="",A(),wr="sunday",Ye="saturday"},"clear"),Ca=t(function(e){Kt=e},"setDiagramId"),Sa=t(function(e){hr=e},"setAxisFormat"),Ya=t(function(){return hr},"getAxisFormat"),Fa=t(function(e){yr=e},"setTickInterval"),Ia=t(function(){return yr},"getTickInterval"),La=t(function(e){gr=e},"setTodayMarker"),Wa=t(function(){return gr},"getTodayMarker"),Ea=t(function(e){Wt=e},"setDateFormat"),Aa=t(function(){le=!0},"enableInclusiveEndDates"),Oa=t(function(){return le},"endDatesAreInclusive"),$a=t(function(){br=!0},"enableTopAxis"),Ha=t(function(){return br},"topAxisEnabled"),Na=t(function(e){vr=e},"setDisplayMode"),Pa=t(function(){return vr},"getDisplayMode"),Va=t(function(){return Wt},"getDateFormat"),Fn=t((e,r)=>{let n=r.toLowerCase().split(/[\s,]+/).filter((i)=>i!=="");return[...new Set([...e,...n])]},"mergeTokens"),za=t(function(e){re=Fn(re,e)},"setIncludes"),Ra=t(function(){return re},"getIncludes"),Ba=t(function(e){ne=Fn(ne,e)},"setExcludes"),Za=t(function(){return ne},"getExcludes"),ja=t(function(){return pr},"getLinks"),Xa=t(function(e){ie=e,Tr.push(e)},"addSection"),Ga=t(function(){return Tr},"getSections"),qa=t(function(){let e=wn(),r=10,n=0;while(!e&&n<r)e=wn(),n++;return _e=kt,_e},"getTasks"),In=t(function(e,r,n,i){let s=e.format(r.trim()),o=e.format("YYYY-MM-DD");if(i.includes(s)||i.includes(o))return!1;if(n.includes("weekends")&&(e.isoWeekday()===bn[Ye]||e.isoWeekday()===bn[Ye]+1))return!0;if(n.includes(e.format("dddd").toLowerCase()))return!0;return n.includes(s)||n.includes(o)},"isInvalidDate"),Qa=t(function(e){wr=e},"setWeekday"),Ja=t(function(){return wr},"getWeekday"),Ka=t(function(e){Ye=e},"setWeekend"),Un=t(function(e,r,n,i){if(!n.length||e.manualEndTime)return;let s;if(e.startTime instanceof Date)s=wt.default(e.startTime);else s=wt.default(e.startTime,r,!0);s=s.add(1,"d");let o;if(e.endTime instanceof Date)o=wt.default(e.endTime);else o=wt.default(e.endTime,r,!0);let[l,w]=ts(s,o,r,n,i);e.endTime=l.toDate(),e.renderEndTime=w},"checkTaskDates"),ts=t(function(e,r,n,i,s){let o=!1,l=null,w=r.add(1e4,"d");while(e<=r){if(!o)l=r.toDate();if(o=In(e,n,i,s),o){if(r=r.add(1,"d"),r>w)throw Error("Failed to find a valid date that was not excluded by `excludes` after 10,000 iterations.")}e=e.add(1,"d")}return[r,l]},"fixTaskDates"),Wn=t(function(e,r){a.warn(`Gantt: the "${e}" statement references unknown task id(s): ${r.join(", ")}. Make sure the referenced tasks exist and declare an id. Milestones need both an id and a duration, e.g. "Milestone :milestone, m1, 2023-01-01, 0d".`)},"warnAboutUnknownTaskIds"),fr=t(function(e,r,n){if(n=n.trim(),t((w)=>{let M=w.trim();return M==="x"||M==="X"},"isTimestampFormat")(r)&&/^\d+$/.test(n))return new Date(Number(n));let o=/^after\s+(?<ids>[\d\w- ]+)/.exec(n);if(o!==null){let w=null,M=[],z=o.groups.ids.split(" ").filter((X)=>X!=="");for(let X of z){let W=Xt(X);if(W===void 0){M.push(X);continue}if(!w||W.endTime>w.endTime)w=W}if(M.length>0)Wn("after",M);if(w)return w.endTime;let U=new Date;return U.setHours(0,0,0,0),U}let l=wt.default(n,r.trim(),!0);if(l.isValid())return l.toDate();else{a.debug("Invalid date:"+n),a.debug("With date format:"+r.trim());let w=new Date(n);if(w===void 0||isNaN(w.getTime())||w.getFullYear()<-1e4||w.getFullYear()>1e4)throw Error("Invalid date:"+n);return w}},"getStartDate"),En=t(function(e){let r=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(e.trim());if(r!==null)return[Number.parseFloat(r[1]),r[2]];return[NaN,"ms"]},"parseDuration"),An=t(function(e,r,n,i=!1){n=n.trim();let o=/^until\s+(?<ids>[\d\w- ]+)/.exec(n);if(o!==null){let U=null,X=[],W=o.groups.ids.split(" ").filter((Y)=>Y!=="");for(let Y of W){let B=Xt(Y);if(B===void 0){X.push(Y);continue}if(!U||B.startTime<U.startTime)U=B}if(X.length>0)Wn("until",X);if(U)return U.startTime;let V=new Date;return V.setHours(0,0,0,0),V}let l=wt.default(n,r.trim(),!0);if(l.isValid()){if(i)l=l.add(1,"d");return l.toDate()}let w=wt.default(e),[M,z]=En(n);if(Number.isNaN(M))a.warn(`Gantt: "${n}" is neither a valid date for the "${r.trim()}" date format nor a valid duration (e.g. "3d"), so it is ignored and the task gets a zero duration. Milestones need a duration too, e.g. "Milestone :milestone, m1, 2023-01-01, 0d".`);else{let U=w.add(M,z);if(U.isValid())w=U}return w.toDate()},"getEndDate"),Ce=0,ee=t(function(e){if(e===void 0)return Ce=Ce+1,"task"+Ce;return e},"parseId"),es=t(function(e,r){let n;if(r.substr(0,1)===":")n=r.substr(1,r.length);else n=r;let i=n.split(","),s={};Mr(i,s,Yn);for(let l=0;l<i.length;l++)i[l]=i[l].trim();let o="";switch(i.length){case 1:s.id=ee(),s.startTime=e.endTime,o=i[0];break;case 2:s.id=ee(),s.startTime=fr(void 0,Wt,i[0]),o=i[1];break;case 3:s.id=ee(i[0]),s.startTime=fr(void 0,Wt,i[1]),o=i[2];break;default:}if(o)s.endTime=An(s.startTime,Wt,o,le),s.manualEndTime=wt.default(o,"YYYY-MM-DD",!0).isValid(),Un(s,Wt,ne,re);return s},"compileData"),rs=t(function(e,r){let n;if(r.substr(0,1)===":")n=r.substr(1,r.length);else n=r;let i=n.split(","),s={};Mr(i,s,Yn);for(let o=0;o<i.length;o++)i[o]=i[o].trim();switch(i.length){case 1:s.id=ee(),s.startTime={type:"prevTaskEnd",id:e},s.endTime={data:i[0]};break;case 2:s.id=ee(),s.startTime={type:"getStartDate",startData:i[0]},s.endTime={data:i[1]};break;case 3:s.id=ee(i[0]),s.startTime={type:"getStartDate",startData:i[1]},s.endTime={data:i[2]};break;default:}return s},"parseData"),mr,Se,kt=[],On={},ns=t(function(e,r){let n={section:ie,type:ie,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:r},task:e,classes:[]},i=rs(Se,r);if(n.raw.startTime=i.startTime,n.raw.endTime=i.endTime,n.id=i.id,n.prevTaskId=Se,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,n.vert=i.vert,n.vert)n.order=-1;else n.order=lr,lr++;let s=kt.push(n);Se=n.id,On[n.id]=s-1},"addTask"),Xt=t(function(e){let r=On[e];return kt[r]},"findTaskById"),is=t(function(e,r){let n={section:ie,type:ie,description:e,task:e,classes:[]},i=es(mr,r);n.startTime=i.startTime,n.endTime=i.endTime,n.id=i.id,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,n.vert=i.vert,mr=n,_e.push(n)},"addTaskOrg"),wn=t(function(){let e=t(function(n){let i=kt[n],s="";switch(kt[n].raw.startTime.type){case"prevTaskEnd":{let o=Xt(i.prevTaskId);i.startTime=o.endTime;break}case"getStartDate":if(s=fr(void 0,Wt,kt[n].raw.startTime.startData),s)kt[n].startTime=s;break}if(kt[n].startTime){if(kt[n].endTime=An(kt[n].startTime,Wt,kt[n].raw.endTime.data,le),kt[n].endTime)kt[n].processed=!0,kt[n].manualEndTime=wt.default(kt[n].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),Un(kt[n],Wt,ne,re)}return kt[n].processed},"compileTask"),r=!0;for(let[n,i]of kt.entries())e(n),r=r&&i.processed;return r},"compileTasks"),as=t(function(e,r){let n=r;if(u().securityLevel!=="loose")n=Dn.sanitizeUrl(r);e.split(",").forEach(function(i){if(Xt(i)!==void 0)Hn(i,()=>{window.open(n,"_self")}),pr.set(i,n)}),$n(e,"clickable")},"setLink"),$n=t(function(e,r){e.split(",").forEach(function(n){let i=Xt(n);if(i!==void 0)i.classes.push(r)})},"setClass"),ss=t(function(e,r,n){if(u().securityLevel!=="loose")return;if(r===void 0)return;let i=[];if(typeof n==="string"){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let o=0;o<i.length;o++){let l=i[o].trim();if(l.startsWith('"')&&l.endsWith('"'))l=l.substr(1,l.length-2);i[o]=l}}if(i.length===0)i.push(e);if(Xt(e)!==void 0)Hn(e,()=>{F.runFunc(r,...i)})},"setClickFun"),Hn=t(function(e,r){xr.push(function(){let n=Kt?`${Kt}-${e}`:e,i=document.querySelector(`[id="${n}"]`);if(i!==null)i.addEventListener("click",function(){r()})},function(){let n=Kt?`${Kt}-${e}`:e,i=document.querySelector(`[id="${n}-text"]`);if(i!==null)i.addEventListener("click",function(){r()})})},"pushFun"),os=t(function(e,r,n){e.split(",").forEach(function(i){ss(i,r,n)}),$n(e,"clickable")},"setClickEvent"),cs=t(function(e){xr.forEach(function(r){r(e)})},"bindFunctions"),us={getConfig:t(()=>u().gantt,"getConfig"),clear:Da,setDateFormat:Ea,getDateFormat:Va,enableInclusiveEndDates:Aa,endDatesAreInclusive:Oa,enableTopAxis:$a,topAxisEnabled:Ha,setAxisFormat:Sa,getAxisFormat:Ya,setTickInterval:Fa,getTickInterval:Ia,setTodayMarker:La,getTodayMarker:Wa,setAccTitle:R,getAccTitle:I,setDiagramTitle:P,getDiagramTitle:N,setDiagramId:Ca,setDisplayMode:Na,getDisplayMode:Pa,setAccDescription:L,getAccDescription:D,addSection:Xa,getSections:Ga,getTasks:qa,addTask:ns,findTaskById:Xt,addTaskOrg:is,setIncludes:za,getIncludes:Ra,setExcludes:Ba,getExcludes:Za,setClickEvent:os,setLink:as,getLinks:ja,bindFunctions:cs,parseDuration:En,isInvalidDate:In,setWeekday:Qa,getWeekday:Ja,setWeekend:Ka};function Mr(e,r,n){let i=!0;while(i)i=!1,n.forEach(function(s){let o="^\\s*"+s+"\\s*$",l=new RegExp(o);if(e[0].match(l))r[s]=!0,e.shift(1),i=!0})}t(Mr,"getTaskTags");te.default.extend(Nn.default);var ls=t(function(){a.debug("Something is calling, setConf, remove the call")},"setConf"),Mn={monday:Vt,tuesday:xe,wednesday:be,thursday:Lt,friday:we,saturday:Me,sunday:_t},fs=t((e,r)=>{let n=[...e].map(()=>-1/0),i=[...e].sort((o,l)=>o.startTime-l.startTime||o.order-l.order),s=0;for(let o of i)for(let l=0;l<n.length;l++)if(o.startTime>=n[l]){if(n[l]=o.endTime,o.order=l+r,l>s)s=l;break}return s},"getMaxIntersections"),Nt,cr=1e4,ds=t(function(e,r,n,i){let s=u().gantt;i.db.setDiagramId(r);let o=u().securityLevel,l;if(o==="sandbox")l=h("#i"+r);let w=o==="sandbox"?h(l.nodes()[0].contentDocument.body):h("body"),M=o==="sandbox"?l.nodes()[0].contentDocument:document,z=M.getElementById(r);if(Nt=z.parentElement.offsetWidth,Nt===void 0)Nt=1200;if(s.useWidth!==void 0)Nt=s.useWidth;let U=i.db.getTasks(),X=U.filter((x)=>!x.vert),W=[];for(let x of X)W.push(x.type);W=nt(W);let V={},Y=2*s.topPadding;if(i.db.getDisplayMode()==="compact"||s.displayMode==="compact"){let x={};for(let S of X)if(x[S.section]===void 0)x[S.section]=[S];else x[S.section].push(S);let _=0;for(let S of Object.keys(x)){let H=fs(x[S],_)+1;_+=H,Y+=H*(s.barHeight+s.barGap),V[S]=H}}else{Y+=X.length*(s.barHeight+s.barGap);for(let x of W)V[x]=X.filter((_)=>_.type===x).length}z.setAttribute("viewBox","0 0 "+Nt+" "+Y);let B=w.select(`[id="${r}"]`),E=Ke().domain([kr(U,function(x){return x.startTime}),Kr(U,function(x){return x.endTime})]).rangeRound([0,Nt-s.leftPadding-s.rightPadding]);function tt(x,_){let S=x.startTime,H=_.startTime,d=0;if(S>H)d=1;else if(S<H)d=-1;return d}t(tt,"taskCompare"),U.sort(tt),ft(U,Nt,Y),G(B,Y,Nt,s.useMaxWidth),B.append("text").text(i.db.getDiagramTitle()).attr("x",Nt/2).attr("y",s.titleTopMargin).attr("class","titleText");function ft(x,_,S){let H=s.barHeight,d=H+s.barGap,{topPadding:b,leftPadding:v}=s,T=fn().domain([0,W.length]).range(["#00B9FA","#F95002"]).interpolate(Nr);Z(d,b,v,_,S,x,i.db.getExcludes(),i.db.getIncludes()),f(v,b,_,S),at(x,d,b,v,H,T,_,S),O(d,b,v,H,T),rt(v,b,_,S)}t(ft,"makeGantt");function at(x,_,S,H,d,b,v){x.sort((m,q)=>m.vert===q.vert?0:m.vert?1:-1);let T=x.filter((m)=>!m.vert),c=[...new Set(T.map((m)=>m.order))].map((m)=>T.find((q)=>q.order===m));B.append("g").selectAll("rect").data(c).enter().append("rect").attr("x",0).attr("y",function(m,q){return q=m.order,q*_+S-2}).attr("width",function(){return v-s.rightPadding/2}).attr("height",_).attr("class",function(m){for(let[q,K]of W.entries())if(m.type===K)return"section section"+q%s.numberSectionStyles;return"section section0"}).enter();let J=B.append("g").selectAll("rect").data(x).enter(),y=i.db.getLinks();if(J.append("rect").attr("id",function(m){return r+"-"+m.id}).attr("rx",3).attr("ry",3).attr("x",function(m){if(m.milestone)return E(m.startTime)+H+0.5*(E(m.endTime)-E(m.startTime))-0.5*d;return E(m.startTime)+H}).attr("y",function(m,q){if(q=m.order,m.vert)return s.gridLineStartPadding;return q*_+S}).attr("width",function(m){if(m.milestone)return d;if(m.vert)return 0.08*d;return E(m.renderEndTime||m.endTime)-E(m.startTime)}).attr("height",function(m){if(m.vert)return T.length*(s.barHeight+s.barGap)+s.barHeight*2;return d}).attr("transform-origin",function(m,q){return q=m.order,(E(m.startTime)+H+0.5*(E(m.endTime)-E(m.startTime))).toString()+"px "+(q*_+S+0.5*d).toString()+"px"}).attr("class",function(m){let K="";if(m.classes.length>0)K=m.classes.join(" ");let ut=0;for(let[it,p]of W.entries())if(m.type===p)ut=it%s.numberSectionStyles;let lt="";if(m.active)if(m.crit)lt+=" activeCrit";else lt=" active";else if(m.done)if(m.crit)lt=" doneCrit";else lt=" done";else if(m.crit)lt+=" crit";if(lt.length===0)lt=" task";if(m.milestone)lt=" milestone "+lt;if(m.vert)lt=" vert "+lt;return lt+=ut,lt+=" "+K,"task"+lt}),J.append("text").attr("id",function(m){return r+"-"+m.id+"-text"}).text(function(m){return m.task}).attr("font-size",s.fontSize).attr("x",function(m){let q=E(m.startTime),K=E(m.renderEndTime||m.endTime);if(m.milestone)q+=0.5*(E(m.endTime)-E(m.startTime))-0.5*d,K=q+d;if(m.vert)return E(m.startTime)+H;let ut=this.getBBox().width;if(ut>K-q)if(K+ut+1.5*s.leftPadding>v)return q+H-5;else return K+H+5;else return(K-q)/2+q+H}).attr("y",function(m,q){if(m.vert)return s.gridLineStartPadding+T.length*(s.barHeight+s.barGap)+60;return q=m.order,q*_+s.barHeight/2+(s.fontSize/2-2)+S}).attr("text-height",d).attr("class",function(m){let q=E(m.startTime),K=E(m.endTime);if(m.milestone)K=q+d;let ut=this.getBBox().width,lt="";if(m.classes.length>0)lt=m.classes.join(" ");let it=0;for(let[j,et]of W.entries())if(m.type===et)it=j%s.numberSectionStyles;let p="";if(m.active)if(m.crit)p="activeCritText"+it;else p="activeText"+it;if(m.done)if(m.crit)p=p+" doneCritText"+it;else p=p+" doneText"+it;else if(m.crit)p=p+" critText"+it;if(m.milestone)p+=" milestoneText";if(m.vert)p+=" vertText";if(ut>K-q)if(K+ut+1.5*s.leftPadding>v)return lt+" taskTextOutsideLeft taskTextOutside"+it+" "+p;else return lt+" taskTextOutsideRight taskTextOutside"+it+" "+p+" width-"+ut;else return lt+" taskText taskText"+it+" "+p+" width-"+ut}),u().securityLevel==="sandbox"){let m;m=h("#i"+r);let q=m.nodes()[0].contentDocument;J.filter(function(K){return y.has(K.id)}).each(function(K){var ut=q.querySelector("#"+CSS.escape(r+"-"+K.id)),lt=q.querySelector("#"+CSS.escape(r+"-"+K.id+"-text"));let it=ut.parentNode;var p=q.createElement("a");p.setAttribute("xlink:href",y.get(K.id)),p.setAttribute("target","_top"),it.appendChild(p),p.appendChild(ut),p.appendChild(lt)})}}t(at,"drawRects");function Z(x,_,S,H,d,b,v,T){if(v.length===0&&T.length===0)return;let Q,c;for(let{startTime:K,endTime:ut}of b){if(Q===void 0||K<Q)Q=K;if(c===void 0||ut>c)c=ut}if(!Q||!c)return;if(te.default(c).diff(te.default(Q),"year")>5){a.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}let J=i.db.getDateFormat(),y=[],mt=null,m=te.default(Q);while(m.valueOf()<=c){if(i.db.isInvalidDate(m,J,v,T))if(!mt)mt={start:m,end:m};else mt.end=m;else if(mt)y.push(mt),mt=null;m=m.add(1,"d")}B.append("g").selectAll("rect").data(y).enter().append("rect").attr("id",(K)=>r+"-exclude-"+K.start.format("YYYY-MM-DD")).attr("x",(K)=>E(K.start.startOf("day"))+S).attr("y",s.gridLineStartPadding).attr("width",(K)=>E(K.end.endOf("day"))-E(K.start.startOf("day"))).attr("height",d-_-s.gridLineStartPadding).attr("transform-origin",function(K,ut){return(E(K.start)+S+0.5*(E(K.end)-E(K.start))).toString()+"px "+(ut*x+0.5*d).toString()+"px"}).attr("class","exclude-range")}t(Z,"drawExcludeDays");function C(x,_,S,H){if(S<=0||x>_)return 1/0;let d=_-x,b=te.default.duration({[H??"day"]:S}).asMilliseconds();if(b<=0)return 1/0;return Math.ceil(d/b)}t(C,"getEstimatedTickCount");function f(x,_,S,H){let d=i.db.getDateFormat(),b=i.db.getAxisFormat(),v;if(b)v=b;else if(d==="D")v="%d";else v=s.axisFormat??"%Y-%m-%d";let T=Ae(E).tickSize(-H+_+s.gridLineStartPadding).tickFormat(jt(v)),c=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||s.tickInterval);if(c!==null){let J=parseInt(c[1],10);if(isNaN(J)||J<=0)a.warn(`Invalid tick interval value: "${c[1]}". Skipping custom tick interval.`);else{let y=c[2],mt=i.db.getWeekday()||s.weekday,m=E.domain(),q=m[0],K=m[1],ut=C(q,K,J,y);if(ut>cr)a.warn(`The tick interval "${J}${y}" would generate ${ut} ticks, which exceeds the maximum allowed (${cr}). This may indicate an invalid date or time range. Skipping custom tick interval.`);else switch(y){case"millisecond":T.ticks(It.every(J));break;case"second":T.ticks(xt.every(J));break;case"minute":T.ticks(Ot.every(J));break;case"hour":T.ticks($t.every(J));break;case"day":T.ticks(Ct.every(J));break;case"week":T.ticks(Mn[mt].every(J));break;case"month":T.ticks(Ht.every(J));break}}}if(B.append("g").attr("class","grid").attr("transform","translate("+x+", "+(H-50)+")").call(T).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||s.topAxis){let J=Ee(E).tickSize(-H+_+s.gridLineStartPadding).tickFormat(jt(v));if(c!==null){let y=parseInt(c[1],10);if(isNaN(y)||y<=0)a.warn(`Invalid tick interval value: "${c[1]}". Skipping custom tick interval.`);else{let mt=c[2],m=i.db.getWeekday()||s.weekday,q=E.domain(),K=q[0],ut=q[1];if(C(K,ut,y,mt)<=cr)switch(mt){case"millisecond":J.ticks(It.every(y));break;case"second":J.ticks(xt.every(y));break;case"minute":J.ticks(Ot.every(y));break;case"hour":J.ticks($t.every(y));break;case"day":J.ticks(Ct.every(y));break;case"week":J.ticks(Mn[m].every(y));break;case"month":J.ticks(Ht.every(y));break}}}B.append("g").attr("class","grid").attr("transform","translate("+x+", "+_+")").call(J).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}t(f,"makeGrid");function O(x,_){let S=0,H=Object.keys(V).map((d)=>[d,V[d]]);B.append("g").selectAll("text").data(H).enter().append(function(d){let b=d[0].split(k.lineBreakRegex),v=-(b.length-1)/2,T=M.createElementNS("http://www.w3.org/2000/svg","text");T.setAttribute("dy",v+"em");for(let[Q,c]of b.entries()){let J=M.createElementNS("http://www.w3.org/2000/svg","tspan");if(J.setAttribute("alignment-baseline","central"),J.setAttribute("x","10"),Q>0)J.setAttribute("dy","1em");J.textContent=c,T.appendChild(J)}return T}).attr("x",10).attr("y",function(d,b){if(b>0)for(let v=0;v<b;v++)return S+=H[b-1][1],d[1]*x/2+S*x+_;else return d[1]*x/2+_}).attr("font-size",s.sectionFontSize).attr("class",function(d){for(let[b,v]of W.entries())if(d[0]===v)return"sectionTitle sectionTitle"+b%s.numberSectionStyles;return"sectionTitle"})}t(O,"vertLabels");function rt(x,_,S,H){let d=i.db.getTodayMarker();if(d==="off")return;let b=B.append("g").attr("class","today"),v=new Date,T=b.append("line");if(T.attr("x1",E(v)+x).attr("x2",E(v)+x).attr("y1",s.titleTopMargin).attr("y2",H-s.titleTopMargin).attr("class","today"),d!=="")T.attr("style",d.replace(/,/g,";"))}t(rt,"drawToday");function nt(x){let _={},S=[];for(let H=0,d=x.length;H<d;++H)if(!Object.prototype.hasOwnProperty.call(_,x[H]))_[x[H]]=!0,S.push(x[H]);return S}t(nt,"checkUnique")},"draw"),ms={setConf:ls,draw:ds},hs=t((e)=>`
|
|
7
7
|
.mermaid-main-font {
|
|
8
8
|
font-family: ${e.fontFamily};
|
|
9
9
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ee,e,n,y}from"./chunk-
|
|
1
|
+
import{ee,e,n,y}from"./chunk-2s6fhjjc.js";import{jn,Hr}from"./chunk-79whhay2.js";import"./chunk-wvdk3w03.js";function b({connection:p}){let{ModelSelector:d,Select:c,SettingGroup:s,SettingRow:l}=y(),m=ee(),i=Hr({connection:p,endpoint:"/api/plugins/prompt-optimizer/settings",loadError:"读取优化插件设置失败",toBody:(o)=>({schemaVersion:1,revision:o.revision,primaryModel:o.primaryModel,maxClarificationRounds:o.maxClarificationRounds}),differs:(o,t)=>o.primaryModel?.providerID!==t.primaryModel?.providerID||o.primaryModel?.modelID!==t.primaryModel?.modelID||o.maxClarificationRounds!==t.maxClarificationRounds}),r=i.settings?.primaryModel??null,u=r?`${r.providerID}/${r.modelID}`:"";return n("form",{id:m,onSubmit:i.save,className:"min-w-0 space-y-5",children:[e(s,{title:"模型",children:e(l,{title:"优化模型",description:"未选择时拒绝改写,不会自动回退到其他模型",children:e("div",{className:"w-56",children:e(d,{variant:"field",models:i.modelList,value:u,onChange:(o)=>{let t=o.indexOf("/"),a=t<0?"":o.slice(0,t),g=t<0?o:o.slice(t+1);i.edit((f)=>({...f,primaryModel:{providerID:a,modelID:g}}))}})})})}),e(s,{title:"交互",children:e(l,{title:"澄清提问轮数",description:"草稿有关键歧义时,模型最多可反问几轮",children:e("div",{className:"w-56",children:e(c,{value:String(i.settings?.maxClarificationRounds??1),disabled:i.loading||i.saving,onValueChange:(o)=>{let t=o==="2"?2:1;i.edit((a)=>({...a,maxClarificationRounds:t}))},groups:[{options:[{value:"1",label:"单轮澄清(推荐)",description:"提问一次后直接输出改写结果"},{value:"2",label:"最多两轮澄清",description:"首轮澄清后可针对残留疑问追问一次"}]}]})})})}),e(jn,{formID:m,notice:i.notice,dirty:i.dirty,busy:i.loading||i.saving,saving:i.saving,onReset:i.reset})]})}export{b as PromptOptimizerSettingsSection};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,a}from"./chunk-
|
|
1
|
+
import{t,a}from"./chunk-xp2zpmpp.js";import{he,Tn,En}from"./chunk-cg9fe42b.js";import{re}from"./chunk-4r0dvjrr.js";import{wa,gn}from"./chunk-et1nm6h1.js";var o=wa().Railroad.parser.LangiumParser,n=t((e)=>{switch(e.$type){case"RailroadTerminalExpr":return{type:"terminal",value:e.value};case"RailroadNonTerminalExpr":return{type:"nonterminal",name:e.name};case"RailroadSpecialExpr":return{type:"special",text:e.text};case"RailroadSequenceExpr":{let r=e.elements.map(n);return r.length===1?r[0]:{type:"sequence",elements:r}}case"RailroadChoiceExpr":{let r=e.alternatives.map(n);return r.length===1?r[0]:{type:"choice",alternatives:r}}case"RailroadOptionalExpr":return{type:"optional",element:n(e.element)};case"RailroadOneOrMoreExpr":return{type:"repetition",element:n(e.element),min:1,max:1/0};case"RailroadZeroOrMoreExpr":return{type:"repetition",element:n(e.element),min:0,max:1/0};default:throw Error(`Unsupported railroad expression: ${e.$type}`)}},"transformExpression"),l=t((e)=>({name:e.name,definition:n(e.definition)}),"transformRule"),s=t((e)=>{if(re(e,he),e.title)he.setTitle(e.title);e.rules.map((r)=>he.addRule(l(r)))},"populateDb"),m={parse:t((e)=>{he.clear(),a.debug("[Railroad Parser] Starting Langium parse");let r=o.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new gn(r);let i=r.value;a.debug("[Railroad Parser] Parsed rules:",i.rules.length),s(i),a.debug("[Railroad Parser] Parse complete")},"parse"),parser:{yy:he}},R={parser:m,db:he,renderer:En,styles:Tn};export{R as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t}from"./chunk-
|
|
1
|
+
import{t}from"./chunk-xp2zpmpp.js";var wr=class{constructor(i){this.init=i,this.records=this.init()}static{t(this,"ImperativeState")}reset(){this.records=this.init()}};
|
|
2
2
|
export{wr};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o,i,r,ie,p,e,n,d,Dt,Z,w,l,x,te,ue,me,$i,
|
|
1
|
+
import{o,i,r,ie,p,e,n,d,Dt,Z,w,l,x,te,ue,me,$i,lt,fs}from"./chunk-2s6fhjjc.js";var P=30;function W(t){let m=new Date(t),b=new Date,c=new Date(m.getFullYear(),m.getMonth(),m.getDate()).getTime(),v=new Date(b.getFullYear(),b.getMonth(),b.getDate()).getTime(),u=86400000,h=Math.round((v-c)/86400000),g=`${m.getMonth()+1}月${m.getDate()}日`;if(h===0)return`今天 · ${g}`;if(h===1)return`昨天 · ${g}`;if(h>1&&h<7)return`${h} 天前 · ${g}`;if(m.getFullYear()===b.getFullYear())return g;return`${m.getFullYear()}年${g}`}function q(t){if(!t)return"";let m=new Date(t),b=(u)=>String(u).padStart(2,"0"),c=b(m.getHours()),v=b(m.getMinutes());return`${c}:${v}`}function Q(t){if(!t)return"";return new Date(t).toLocaleString()}function V(t,m=t.length){let b=[],c=new Map;for(let v=0;v<t.length;v++){let u=t[v];if(!u)continue;let h=u.archivedAt??0,g=new Date(h),D=`${g.getFullYear()}-${g.getMonth()+1}-${g.getDate()}`,N=c.get(D);if(!N){if(v>=m)continue;N={key:D,title:W(h),total:0,sessions:[]},c.set(D,N),b.push(N)}if(N.total+=1,v<m)N.sessions.push(u)}return b}function le(t){w();let[m,b]=r(""),[c,v]=r(!1),[u,h]=r(new Set),[g,D]=r(!1),N=i(null),S=ie(t.conn.state),A=t.projectID??"chat",T=t.projectID?t.projects.find((s)=>s.id===t.projectID)?.name??"项目":"聊天",I=$i(t.sessions,A),f=$i(I,A,m),z=`${A}\x00${m.trim().toLocaleLowerCase()}`,[F,R]=r({key:z,count:P}),O=F.key===z?F.count:P,B=Math.min(O,f.length),L=B<f.length;o(()=>{let s=N.current;if(!s||!L||typeof IntersectionObserver>"u")return;let y=s.closest(".minimal-scroll-area"),a=new IntersectionObserver((j)=>{if(j.some((M)=>M.isIntersecting))R({key:z,count:Math.min(f.length,B+P)})},{root:y,rootMargin:"320px 0px"});return a.observe(s),()=>a.disconnect()},[z,L,B,f.length]);let E=f.filter((s)=>u.has(s.id)),C=f.length>0&&u.size===f.length;function H(){if(C)h(new Set);else h(new Set(f.map((s)=>s.id)))}function Y(s){h((y)=>{let a=new Set(y);if(a.has(s))a.delete(s);else a.add(s);return a})}async function G(s){if(s.length===0||g)return;D(!0);try{if(t.onBatchDelete)await t.onBatchDelete(s);else for(let y of s)t.onDelete(y);if(h(new Set),c&&s.length===f.length)v(!1)}finally{D(!1)}}async function _(s){if(s.length===0||g)return;D(!0);try{if(t.onBatchRestore)await t.onBatchRestore(s);else for(let y of s)t.onRestore(y);if(h(new Set),c&&s.length===f.length)v(!1)}finally{D(!1)}}function K(){if(S.indexError)return n("div",{role:"alert",className:"animate-fade space-y-2 rounded-2xl border border-danger/20 bg-danger/5 p-6 text-sm text-danger",children:[n("p",{children:["加载失败:",S.indexError]}),e(x,{loading:S.indexLoading,disabled:S.indexLoading,onClick:()=>{if(!t.conn.state.get().indexLoading)t.conn.refreshIndex()},children:"重试"})]});if(S.status!=="open"||S.indexLoading)return e("div",{className:"flex justify-center py-12 text-xs text-faint",children:"正在连接…"});if(f.length===0)return n("div",{className:l("surface.emptyDashed","animate-fade"),children:[e("div",{className:"grid size-11 place-items-center rounded-xl bg-raised text-dim",children:e(Dt,{className:"size-5"})}),n("div",{children:[e("p",{className:"text-[15px] font-medium",children:I.length===0?`${T}里暂无归档会话`:"没有匹配结果"}),e("p",{className:"mt-1 text-sm text-dim",children:I.length===0?"归档的会话会安全存放在这里,不干扰日常列表。":"尝试更换关键词重新搜索。"})]})]});let s=V(f,B);return n("div",{className:"space-y-6 animate-fade",children:[s.map((y)=>n("section",{className:"space-y-2",children:[n("div",{className:"flex items-center justify-between px-1 text-xs text-dim",children:[e("h2",{className:"font-medium text-ink",children:y.title}),n("span",{className:"tabular-nums text-faint",children:[y.total," 个会话"]})]}),e("div",{className:l("settings.groupBox"),children:e("ul",{className:"divide-y divide-line/60",children:y.sessions.map((a)=>{let j=u.has(a.id),M=t.projects.find((k)=>k.id===a.projectID)?.name;return n("li",{tabIndex:c?0:void 0,className:d("group flex flex-wrap items-center justify-between gap-x-3 gap-y-1 px-4 py-2.5 transition-colors sm:flex-nowrap",c?"cursor-pointer hover:bg-raised/70 focus:outline-hidden focus:bg-raised/70":"hover:bg-raised/50",c&&j&&"bg-accent/5"),onClick:c?()=>Y(a.id):void 0,onKeyDown:c?(k)=>{if(k.key==="Enter"||k.key===" ")k.preventDefault(),Y(a.id)}:void 0,children:[n("div",{className:"flex min-w-0 flex-1 basis-48 items-center gap-2.5",children:[c&&e("span",{className:d("flex size-4 shrink-0 items-center justify-center rounded-md border transition-colors",j?"border-accent bg-accent text-accent-ink":"border-line-strong bg-panel"),children:j&&e(Z,{className:"size-3",strokeWidth:3})}),e(lt,{modelID:a.model,className:"size-4 shrink-0 text-dim"}),e("button",{type:"button",disabled:c,className:d("block max-w-full truncate text-left text-sm font-medium text-ink transition-colors focus:outline-hidden",!c&&"hover:text-accent"),onClick:()=>!c&&t.onOpen(a.id),children:me(a)}),M&&e("span",{className:l("control.badge","shrink-0 text-[11px] text-dim"),children:M})]}),n("div",{className:"flex shrink-0 items-center justify-end gap-1.5 sm:grid sm:justify-items-end",children:[e("time",{dateTime:a.archivedAt?new Date(a.archivedAt).toISOString():void 0,title:a.archivedAt?`归档于 ${Q(a.archivedAt)}`:void 0,className:d("text-xs tabular-nums text-faint cursor-default sm:col-start-1 sm:row-start-1",!c&&"transition-opacity sm:group-hover:opacity-0 sm:group-focus-within:opacity-0"),children:q(a.archivedAt)}),!c&&n("div",{className:"flex items-center gap-1.5 opacity-90 transition-opacity sm:pointer-events-none sm:col-start-1 sm:row-start-1 sm:opacity-0 sm:group-hover:pointer-events-auto sm:group-hover:opacity-100 sm:group-focus-within:pointer-events-auto sm:group-focus-within:opacity-100",children:[e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",disabled:t.pending.has(a.id),onClick:(k)=>{k.stopPropagation(),t.onRestore(a)},children:"恢复"}),e(x,{size:"sm",variant:"danger-ghost",className:"h-7 px-2 text-xs",disabled:t.pending.has(a.id),onClick:(k)=>{k.stopPropagation(),t.onDelete(a)},children:"永久删除"})]})]})]},a.id)})})})]},y.key)),L&&n("div",{ref:N,className:"flex items-center justify-between rounded-xl border border-line/60 bg-panel/40 px-4 py-2.5 text-xs text-faint",children:[n("span",{className:"tabular-nums",children:["已显示 ",B," / ",f.length," 个会话"]}),n("div",{className:"flex items-center gap-1.5",children:[e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",onClick:()=>R({key:z,count:Math.min(f.length,B+P)}),children:"加载更多"}),e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",onClick:()=>R({key:z,count:f.length}),children:"显示全部"})]})]})]})}return n(fs,{"aria-label":"已归档会话",title:n(p,{children:["已归档 ",n("span",{className:"text-dim",children:["· ",T]})]}),description:"浏览和管理已归档的会话,可随时恢复到聊天列表或彻底删除。",children:[n("div",{className:"mb-6 space-y-2",children:[e(ue,{label:"搜索标题",children:(s)=>e(te,{id:s,value:m,onChange:(y)=>b(y.target.value),placeholder:"搜索归档会话…"})}),I.length>0&&(c?n("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-xl border border-line bg-panel p-2.5 shadow-xs",children:[n("button",{type:"button",className:"flex items-center gap-2 text-xs font-medium text-ink hover:text-accent focus:outline-hidden",onClick:H,children:[n("span",{className:d("flex size-4 shrink-0 items-center justify-center rounded-md border transition-colors",C?"border-accent bg-accent text-accent-ink":u.size>0?"border-accent bg-accent/20 text-accent":"border-line-strong bg-panel"),children:[C&&e(Z,{className:"size-3",strokeWidth:3}),!C&&u.size>0&&e("span",{className:"size-1.5 rounded-xs bg-accent"})]}),n("span",{children:[C?"取消全选":"全选",n("span",{className:"ml-1 text-dim",children:["(",u.size,"/",f.length,")"]})]})]}),n("div",{className:"flex items-center gap-2",children:[n(x,{size:"sm",variant:"secondary",className:"h-7 px-2.5 text-xs",loading:g,disabled:u.size===0||g,onClick:()=>void _(E),children:["批量恢复",u.size>0?` (${u.size})`:""]}),n(x,{size:"sm",variant:"danger",className:"h-7 px-2.5 text-xs",loading:g,disabled:u.size===0||g,onClick:()=>void G(E),children:["彻底删除",u.size>0?` (${u.size})`:""]}),e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",disabled:g,onClick:()=>{v(!1),h(new Set)},children:"退出管理"})]})]}):n("div",{className:"flex items-center justify-between px-0.5 text-xs text-dim",children:[e("span",{children:m.trim()?`匹配 ${f.length} 个会话(共 ${I.length} 个)`:`共 ${I.length} 个归档会话`}),f.length>0&&n("div",{className:"flex items-center gap-2",children:[e(x,{size:"sm",variant:"ghost",className:"h-7 px-2 text-xs",onClick:()=>v(!0),children:"批量管理"}),e(x,{size:"sm",variant:"danger-ghost",className:"h-7 px-2 text-xs",onClick:()=>void G(f),children:m.trim()?"清空匹配结果":"清空全部"})]})]}))]}),K()]})}export{le as ArchivePage};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_e,Bs,Tt,$r,ml,Co,Pn,ta,vt,Va,ki,na,fl,Fs,ra}from"./chunk-
|
|
1
|
+
import{_e,Bs,Tt,$r,ml,Co,Pn,ta,vt,Va,ki,na,fl,Fs,ra}from"./chunk-xp2zpmpp.js";function Z(l){return l.innerRadius}function k(l){return l.outerRadius}function b(l){return l.startAngle}function _(l){return l.endAngle}function nn(l){return l&&l.padAngle}function en(l,d,q,P,x,h,S,r){var D=q-l,a=P-d,n=S-x,y=r-h,u=y*D-n*a;if(u*u<vt)return;return u=(n*(d-h)-y*(l-x))/u,[l+u*D,d+u*a]}function L(l,d,q,P,x,h,S){var r=l-q,D=d-P,a=(S?h:-h)/ta(r*r+D*D),n=a*D,y=-a*r,u=l+n,s=d+y,t=q+n,f=P+y,j=(u+t)/2,o=(s+f)/2,g=t-u,c=f-s,v=g*g+c*c,A=x-h,R=u*f-t*s,E=(c<0?-1:1)*ta(ml(0,A*A*v-R*R)),I=(R*c-g*E)/v,O=(-R*g-c*E)/v,T=(R*c+g*E)/v,m=(-R*g+c*E)/v,p=I-j,e=O-o,i=T-j,z=m-o;if(p*p+e*e>i*i+z*z)I=T,O=m;return{cx:I,cy:O,x01:-n,y01:-y,x11:I*(x/A-1),y11:O*(x/A-1)}}function hn(){var l=Z,d=k,q=_e(0),P=null,x=b,h=_,S=nn,r=null,D=ra(a);function a(){var n,y,u=+l.apply(this,arguments),s=+d.apply(this,arguments),t=x.apply(this,arguments)-ki,f=h.apply(this,arguments)-ki,j=Bs(f-t),o=f>t;if(!r)r=n=D();if(s<u)y=s,s=u,u=y;if(!(s>vt))r.moveTo(0,0);else if(j>na-vt){if(r.moveTo(s*$r(t),s*Pn(t)),r.arc(0,0,s,t,f,!o),u>vt)r.moveTo(u*$r(f),u*Pn(f)),r.arc(0,0,u,f,t,o)}else{var g=t,c=f,v=t,A=f,R=j,E=j,I=S.apply(this,arguments)/2,O=I>vt&&(P?+P.apply(this,arguments):ta(u*u+s*s)),T=Co(Bs(s-u)/2,+q.apply(this,arguments)),m=T,p=T,e,i;if(O>vt){var z=Fs(O/u*Pn(I)),F=Fs(O/s*Pn(I));if((R-=z*2)>vt)z*=o?1:-1,v+=z,A-=z;else R=0,v=A=(t+f)/2;if((E-=F*2)>vt)F*=o?1:-1,g+=F,c-=F;else E=0,g=c=(t+f)/2}var B=s*$r(g),C=s*Pn(g),G=u*$r(A),H=u*Pn(A);if(T>vt){var J=s*$r(c),K=s*Pn(c),M=u*$r(v),N=u*Pn(v),w;if(j<Va)if(w=en(B,C,M,N,J,K,G,H)){var Q=B-w[0],U=C-w[1],V=J-w[0],W=K-w[1],X=1/Pn(fl((Q*V+U*W)/(ta(Q*Q+U*U)*ta(V*V+W*W)))/2),Y=ta(w[0]*w[0]+w[1]*w[1]);m=Co(T,(u-Y)/(X-1)),p=Co(T,(s-Y)/(X+1))}else m=p=0}if(!(E>vt))r.moveTo(B,C);else if(p>vt)if(e=L(M,N,B,C,s,p,o),i=L(J,K,G,H,s,p,o),r.moveTo(e.cx+e.x01,e.cy+e.y01),p<T)r.arc(e.cx,e.cy,p,Tt(e.y01,e.x01),Tt(i.y01,i.x01),!o);else r.arc(e.cx,e.cy,p,Tt(e.y01,e.x01),Tt(e.y11,e.x11),!o),r.arc(0,0,s,Tt(e.cy+e.y11,e.cx+e.x11),Tt(i.cy+i.y11,i.cx+i.x11),!o),r.arc(i.cx,i.cy,p,Tt(i.y11,i.x11),Tt(i.y01,i.x01),!o);else r.moveTo(B,C),r.arc(0,0,s,g,c,!o);if(!(u>vt)||!(R>vt))r.lineTo(G,H);else if(m>vt)if(e=L(G,H,J,K,u,-m,o),i=L(B,C,M,N,u,-m,o),r.lineTo(e.cx+e.x01,e.cy+e.y01),m<T)r.arc(e.cx,e.cy,m,Tt(e.y01,e.x01),Tt(i.y01,i.x01),!o);else r.arc(e.cx,e.cy,m,Tt(e.y01,e.x01),Tt(e.y11,e.x11),!o),r.arc(0,0,u,Tt(e.cy+e.y11,e.cx+e.x11),Tt(i.cy+i.y11,i.cx+i.x11),o),r.arc(i.cx,i.cy,m,Tt(i.y11,i.x11),Tt(i.y01,i.x01),!o);else r.arc(0,0,u,A,v,o)}if(r.closePath(),n)return r=null,n+""||null}return a.centroid=function(){var n=(+l.apply(this,arguments)+ +d.apply(this,arguments))/2,y=(+x.apply(this,arguments)+ +h.apply(this,arguments))/2-Va/2;return[$r(y)*n,Pn(y)*n]},a.innerRadius=function(n){return arguments.length?(l=typeof n==="function"?n:_e(+n),a):l},a.outerRadius=function(n){return arguments.length?(d=typeof n==="function"?n:_e(+n),a):d},a.cornerRadius=function(n){return arguments.length?(q=typeof n==="function"?n:_e(+n),a):q},a.padRadius=function(n){return arguments.length?(P=n==null?null:typeof n==="function"?n:_e(+n),a):P},a.startAngle=function(n){return arguments.length?(x=typeof n==="function"?n:_e(+n),a):x},a.endAngle=function(n){return arguments.length?(h=typeof n==="function"?n:_e(+n),a):h},a.padAngle=function(n){return arguments.length?(S=typeof n==="function"?n:_e(+n),a):S},a.context=function(n){return arguments.length?(r=n==null?null:n,a):r},a}
|
|
2
2
|
export{hn};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{v,o,r,e,n,y,be}from"./chunk-
|
|
1
|
+
import{v,o,r,e,n,y,be}from"./chunk-2s6fhjjc.js";import{ji}from"./chunk-wvdk3w03.js";function jn(t){let{Button:i,SettingActions:l,cn:d}=y();return n(l,{children:[t.notice&&n("span",{role:t.notice.type==="error"?"alert":"status",className:d("mr-auto flex min-w-0 items-center gap-1.5 text-xs",t.notice.type==="success"?"text-success":"text-danger"),children:[t.notice.type==="success"?e(ji,{className:"size-3.5 shrink-0"}):e(be,{className:"size-3.5 shrink-0"}),e("span",{className:"min-w-0 break-words",children:t.notice.text})]}),t.dirty&&e(i,{type:"button",variant:"ghost",size:"sm",disabled:t.busy,onClick:t.onReset,children:"撤销更改"}),e(i,{form:t.formID,type:"submit",variant:"primary",size:"sm",disabled:t.busy||!t.dirty,children:t.saving?"保存中…":"保存"})]})}function Hr(t){let{connection:i,endpoint:l,loadError:d}=t,[g,S]=r(null),[c,f]=r(null),[N,P]=r({models:[]}),[b,p]=r(!0),[M,T]=r(!1),[h,x]=r(!1),[k,a]=r(null),m=v(async(u=!1)=>{if(u)T(!0);else p(!0);a(null);try{let[s,C]=await Promise.all([i.request(l),i.request("/api/models")]);S(s),f(s),P(C)}catch(s){a({type:"error",text:s instanceof Error?s.message:d})}finally{p(!1),T(!1)}},[i,l,d]);o(()=>{m()},[m]);let w=c&&g?t.differs(c,g):!1;return{settings:c,modelList:N,loading:b,refreshing:M,saving:h,notice:k,dirty:w,load:m,save:async(u)=>{if(u?.preventDefault(),!c||h||b)return;x(!0),a(null);try{let s=await i.request(l,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.toBody(c))});S(s),f(s),a({type:"success",text:"设置已保存"})}catch(s){a({type:"error",text:s instanceof Error?s.message:"保存设置失败"})}finally{x(!1)}},reset:()=>{f(g),a(null)},edit:(u)=>{f((s)=>s?u(s):null),a(null)}}}
|
|
2
2
|
export{jn,Hr};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{v,o,ee,i,r,e,n,y,Sn,ye}from"./chunk-
|
|
1
|
+
import{v,o,ee,i,r,e,n,y,Sn,ye}from"./chunk-2s6fhjjc.js";import{jn}from"./chunk-79whhay2.js";import"./chunk-wvdk3w03.js";var F={config:"自定义路径",env:"环境变量",system:"系统预装"},x="chrome://inspect/#remote-debugging";function H({connection:d}){let{Button:w,Input:B,Switch:E,SettingGroup:h,SettingRow:b,cn:S}=y(),N=ee(),[f,R]=r({}),[s,g]=r({}),[a,C]=r(null),[u,A]=r(!0),[k,O]=r(!1),[p,P]=r(!1),[I,c]=r(null),D=i(null),T=(s.executable??"")!==(f.executable??"")||Boolean(s.noSandbox)!==Boolean(f.noSandbox)||Boolean(s.ignoreCertErrors)!==Boolean(f.ignoreCertErrors)||(s.cdpEndpoint??"")!==(f.cdpEndpoint??""),G=v(async(t)=>{O(!0);try{let l=await d.request("/api/plugins/browser/status",{signal:t});C(l)}catch(l){if(!t?.aborted)C({available:!1,error:l instanceof Error?l.message:"无法获取浏览器状态"})}finally{if(!t?.aborted)O(!1)}},[d]);o(()=>{let t=new AbortController;return D.current=t,Promise.all([d.request("/api/plugins/browser/settings",{signal:t.signal}),d.request("/api/plugins/browser/status",{signal:t.signal})]).then(([l,m])=>{if(!t.signal.aborted)R(l),g(l),C(m)}).catch((l)=>{if(!t.signal.aborted)c({type:"error",text:l instanceof Error?l.message:"读取浏览器设置失败"})}).finally(()=>{if(!t.signal.aborted)A(!1)}),()=>t.abort()},[d]);let q=async(t)=>{if(t?.preventDefault(),p||u)return;let l=new AbortController;P(!0),c(null);try{if(await d.request("/api/plugins/browser/settings",{method:"PATCH",signal:l.signal,headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}),!l.signal.aborted)R(s),c({type:"success",text:"设置已保存,将在浏览器进程下次启动时生效。"}),await G(l.signal)}catch(m){if(!l.signal.aborted)c({type:"error",text:m instanceof Error?m.message:"保存设置失败"})}finally{if(!l.signal.aborted)P(!1)}},U=()=>{g(f),c(null)},L=async()=>{try{await navigator.clipboard.writeText(x),c({type:"success",text:"已复制,粘贴到 Chrome 地址栏打开后开启远程调试。"})}catch{c({type:"error",text:`无法写入剪贴板,请手动复制:${x}`})}},_=a?.user?.available===!1,z="首次连接时在 Chrome 弹窗中点「允许」";if(_)z=s.cdpEndpoint?e("span",{className:"break-words text-danger",children:a?.user?.error}):"在 Chrome 打开远程调试设置页并开启";return n("form",{id:N,onSubmit:q,className:"min-w-0 space-y-5",children:[e(h,{title:"运行环境",children:e(b,{title:n("span",{className:"flex items-center gap-2",children:[e("span",{className:S("size-2 shrink-0 rounded-full",a?.available?"bg-success":"bg-danger")}),a?a.available?"浏览器可用":"未检测到可用浏览器":"正在检测…"]}),description:a&&!a.available&&a.error?e("span",{className:"text-danger",children:a.error}):a?.available&&a.source?`来源:${F[a.source]??a.source}`:void 0,children:n(w,{type:"button",size:"sm",variant:"ghost",disabled:u||k,onClick:()=>void G(),className:"text-dim",children:[e(ye,{className:S("size-3.5",k&&"animate-spin")}),"重新检测"]})})}),n(h,{title:"用户浏览器",children:[e(b,{title:n("span",{className:"flex items-center gap-2",children:[e("span",{className:S("size-2 shrink-0 rounded-full",a?.user?.available?"bg-success":"bg-danger")}),a?.user?a.user.available?"可以连接":"暂不可连接":"正在检测…"]}),description:z,children:!s.cdpEndpoint&&n(w,{type:"button",size:"sm",variant:"secondary",title:x,onClick:()=>void L(),children:[e(Sn,{className:"size-3.5"}),"复制远程调试地址"]})}),e(b,{vertical:!0,title:"调试地址",description:"可选,连接以 --remote-debugging-port 启动的本机浏览器",children:e(B,{id:"browser-cdp-endpoint","aria-label":"浏览器调试地址",disabled:u||p,value:s.cdpEndpoint??"",placeholder:"留空连接日常 Chrome",onChange:(t)=>{g({...s,cdpEndpoint:t.target.value}),c(null)}})})]}),n(h,{title:"启动参数",children:[e(b,{vertical:!0,title:"可执行文件路径",description:"留空时自动探测系统浏览器",children:n("div",{className:"flex gap-2",children:[e(B,{id:"browser-executable",disabled:u||p,value:s.executable??"",placeholder:"自动探测",onChange:(t)=>{g({...s,executable:t.target.value}),c(null)}}),s.executable&&e(w,{type:"button",variant:"ghost",size:"sm",disabled:u||p,onClick:()=>{g({...s,executable:""}),c(null)},className:"shrink-0",children:"清空"})]})}),e(b,{title:"禁用沙箱 (--no-sandbox)",description:"容器或 root 环境使用",children:e(E,{label:"禁用沙箱",disabled:u||p,checked:s.noSandbox??!1,onCheckedChange:(t)=>{g({...s,noSandbox:t}),c(null)}})}),e(b,{title:"忽略证书错误 (--ignore-certificate-errors)",description:"跳过自签名与证书有效性检查",children:e(E,{label:"忽略证书错误",disabled:u||p,checked:s.ignoreCertErrors??!1,onCheckedChange:(t)=>{g({...s,ignoreCertErrors:t}),c(null)}})})]}),e(jn,{formID:N,notice:I,dirty:T,busy:u||p,saving:p,onReset:U})]})}export{H as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-xp2zpmpp.js";import"./chunk-cc6hn5xv.js";import"./chunk-g30nqfka.js";import{rl}from"./chunk-5kavsn22.js";export{rl as render};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ks}from"./chunk-et1nm6h1.js";export{ks as createInfoServices};
|
|
Binary file
|
|
Binary file
|