watch-tail 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +158 -0
- package/build/client/_app/immutable/assets/0.Dfts6BC4.css +2 -0
- package/build/client/_app/immutable/assets/0.Dfts6BC4.css.br +0 -0
- package/build/client/_app/immutable/assets/0.Dfts6BC4.css.gz +0 -0
- package/build/client/_app/immutable/assets/BrushContext.2tkUc39H.css +1 -0
- package/build/client/_app/immutable/assets/BrushContext.2tkUc39H.css.br +0 -0
- package/build/client/_app/immutable/assets/BrushContext.2tkUc39H.css.gz +0 -0
- package/build/client/_app/immutable/assets/ChartAnnotations.Bw8CGteN.css +1 -0
- package/build/client/_app/immutable/assets/ChartAnnotations.Bw8CGteN.css.br +0 -0
- package/build/client/_app/immutable/assets/ChartAnnotations.Bw8CGteN.css.gz +0 -0
- package/build/client/_app/immutable/assets/Circle.C5MKzgk2.css +1 -0
- package/build/client/_app/immutable/assets/Circle.C5MKzgk2.css.br +1 -0
- package/build/client/_app/immutable/assets/Circle.C5MKzgk2.css.gz +0 -0
- package/build/client/_app/immutable/assets/DefaultTooltip.CGOVIm3D.css +1 -0
- package/build/client/_app/immutable/assets/DefaultTooltip.CGOVIm3D.css.br +0 -0
- package/build/client/_app/immutable/assets/DefaultTooltip.CGOVIm3D.css.gz +0 -0
- package/build/client/_app/immutable/assets/EventScatter.DA5sZ1c0.css +1 -0
- package/build/client/_app/immutable/assets/EventScatter.DA5sZ1c0.css.br +0 -0
- package/build/client/_app/immutable/assets/EventScatter.DA5sZ1c0.css.gz +0 -0
- package/build/client/_app/immutable/assets/Labels.sEaJtb97.css +1 -0
- package/build/client/_app/immutable/assets/Labels.sEaJtb97.css.br +0 -0
- package/build/client/_app/immutable/assets/Labels.sEaJtb97.css.gz +0 -0
- package/build/client/_app/immutable/assets/Legend.DnhxhJ2I.css +1 -0
- package/build/client/_app/immutable/assets/Legend.DnhxhJ2I.css.br +0 -0
- package/build/client/_app/immutable/assets/Legend.DnhxhJ2I.css.gz +0 -0
- package/build/client/_app/immutable/assets/Path.B0wDzTrn.css +1 -0
- package/build/client/_app/immutable/assets/Path.B0wDzTrn.css.br +0 -0
- package/build/client/_app/immutable/assets/Path.B0wDzTrn.css.gz +0 -0
- package/build/client/_app/immutable/assets/TransformContext.1cjyViIk.css +1 -0
- package/build/client/_app/immutable/assets/TransformContext.1cjyViIk.css.br +0 -0
- package/build/client/_app/immutable/assets/TransformContext.1cjyViIk.css.gz +0 -0
- package/build/client/_app/immutable/assets/Voronoi.ce7atosu.css +1 -0
- package/build/client/_app/immutable/assets/Voronoi.ce7atosu.css.br +0 -0
- package/build/client/_app/immutable/assets/Voronoi.ce7atosu.css.gz +0 -0
- package/build/client/_app/immutable/chunks/Amq8zxdJ.js +1 -0
- package/build/client/_app/immutable/chunks/Amq8zxdJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Amq8zxdJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B3p3umIY.js +1 -0
- package/build/client/_app/immutable/chunks/B3p3umIY.js.br +0 -0
- package/build/client/_app/immutable/chunks/B3p3umIY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B43Eeyih.js +1 -0
- package/build/client/_app/immutable/chunks/B43Eeyih.js.br +0 -0
- package/build/client/_app/immutable/chunks/B43Eeyih.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B5q6rkQ-.js +1 -0
- package/build/client/_app/immutable/chunks/B5q6rkQ-.js.br +0 -0
- package/build/client/_app/immutable/chunks/B5q6rkQ-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BAynhd7i.js +1 -0
- package/build/client/_app/immutable/chunks/BAynhd7i.js.br +0 -0
- package/build/client/_app/immutable/chunks/BAynhd7i.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BDlvDAqe.js +1 -0
- package/build/client/_app/immutable/chunks/BDlvDAqe.js.br +0 -0
- package/build/client/_app/immutable/chunks/BDlvDAqe.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BGmgUZMc.js +10 -0
- package/build/client/_app/immutable/chunks/BGmgUZMc.js.br +0 -0
- package/build/client/_app/immutable/chunks/BGmgUZMc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BJpWBbAS.js +1 -0
- package/build/client/_app/immutable/chunks/BJpWBbAS.js.br +0 -0
- package/build/client/_app/immutable/chunks/BJpWBbAS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BOT2hFMn.js +1 -0
- package/build/client/_app/immutable/chunks/BOT2hFMn.js.br +0 -0
- package/build/client/_app/immutable/chunks/BOT2hFMn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BR2LaRms.js +1 -0
- package/build/client/_app/immutable/chunks/BR2LaRms.js.br +1 -0
- package/build/client/_app/immutable/chunks/BR2LaRms.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BZFYtRPj.js +1 -0
- package/build/client/_app/immutable/chunks/BZFYtRPj.js.br +0 -0
- package/build/client/_app/immutable/chunks/BZFYtRPj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BjxZ_neZ.js +5 -0
- package/build/client/_app/immutable/chunks/BjxZ_neZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BjxZ_neZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bl052uUt.js +1 -0
- package/build/client/_app/immutable/chunks/Bl052uUt.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bl052uUt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Bw_9uNRP.js → BsH4MNzX.js} +1 -1
- package/build/client/_app/immutable/chunks/BsH4MNzX.js.br +0 -0
- package/build/client/_app/immutable/chunks/BsH4MNzX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ByhwhtiG.js +1 -0
- package/build/client/_app/immutable/chunks/ByhwhtiG.js.br +0 -0
- package/build/client/_app/immutable/chunks/ByhwhtiG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C1lycbEF.js +1 -0
- package/build/client/_app/immutable/chunks/C1lycbEF.js.br +0 -0
- package/build/client/_app/immutable/chunks/C1lycbEF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C58PZtCD.js +4 -0
- package/build/client/_app/immutable/chunks/C58PZtCD.js.br +0 -0
- package/build/client/_app/immutable/chunks/C58PZtCD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CCch3uox.js +1 -0
- package/build/client/_app/immutable/chunks/CCch3uox.js.br +0 -0
- package/build/client/_app/immutable/chunks/CCch3uox.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CEU4ihsz.js +1 -0
- package/build/client/_app/immutable/chunks/CEU4ihsz.js.br +0 -0
- package/build/client/_app/immutable/chunks/CEU4ihsz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CG6rRxUy.js +2 -0
- package/build/client/_app/immutable/chunks/CG6rRxUy.js.br +0 -0
- package/build/client/_app/immutable/chunks/CG6rRxUy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CM5sQDq_.js +1 -0
- package/build/client/_app/immutable/chunks/CM5sQDq_.js.br +0 -0
- package/build/client/_app/immutable/chunks/CM5sQDq_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CT_NYh_-.js +1 -0
- package/build/client/_app/immutable/chunks/CT_NYh_-.js.br +0 -0
- package/build/client/_app/immutable/chunks/CT_NYh_-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CZIk93qi.js +1 -0
- package/build/client/_app/immutable/chunks/CZIk93qi.js.br +0 -0
- package/build/client/_app/immutable/chunks/CZIk93qi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_aXFBl3.js +1 -0
- package/build/client/_app/immutable/chunks/C_aXFBl3.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_aXFBl3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CqWPu3PG.js +1 -0
- package/build/client/_app/immutable/chunks/CqWPu3PG.js.br +1 -0
- package/build/client/_app/immutable/chunks/CqWPu3PG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CyncJW0D.js +1 -0
- package/build/client/_app/immutable/chunks/CyncJW0D.js.br +0 -0
- package/build/client/_app/immutable/chunks/CyncJW0D.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D4sC5v3c.js +1 -0
- package/build/client/_app/immutable/chunks/D4sC5v3c.js.br +0 -0
- package/build/client/_app/immutable/chunks/D4sC5v3c.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D76YLq-2.js +1 -0
- package/build/client/_app/immutable/chunks/D76YLq-2.js.br +0 -0
- package/build/client/_app/immutable/chunks/D76YLq-2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D8H_ivbb.js +1 -0
- package/build/client/_app/immutable/chunks/D8H_ivbb.js.br +0 -0
- package/build/client/_app/immutable/chunks/D8H_ivbb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DU0OQtdJ.js +1 -0
- package/build/client/_app/immutable/chunks/DU0OQtdJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DU0OQtdJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Db0q5_zr.js +1 -0
- package/build/client/_app/immutable/chunks/Db0q5_zr.js.br +0 -0
- package/build/client/_app/immutable/chunks/Db0q5_zr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dfvzj6n2.js +1 -0
- package/build/client/_app/immutable/chunks/Dfvzj6n2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dfvzj6n2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/HclGiUj8.js +1 -0
- package/build/client/_app/immutable/chunks/HclGiUj8.js.br +0 -0
- package/build/client/_app/immutable/chunks/HclGiUj8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/RobXhXPM.js +1 -0
- package/build/client/_app/immutable/chunks/RobXhXPM.js.br +1 -0
- package/build/client/_app/immutable/chunks/RobXhXPM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Y5urAfNy.js +1 -0
- package/build/client/_app/immutable/chunks/Y5urAfNy.js.br +0 -0
- package/build/client/_app/immutable/chunks/Y5urAfNy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Yk6ZJZnu.js +1 -0
- package/build/client/_app/immutable/chunks/Yk6ZJZnu.js.br +0 -0
- package/build/client/_app/immutable/chunks/Yk6ZJZnu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/jO4fmY1N.js +1 -0
- package/build/client/_app/immutable/chunks/jO4fmY1N.js.br +0 -0
- package/build/client/_app/immutable/chunks/jO4fmY1N.js.gz +0 -0
- package/build/client/_app/immutable/chunks/pqiPC7Y8.js +3 -0
- package/build/client/_app/immutable/chunks/pqiPC7Y8.js.br +0 -0
- package/build/client/_app/immutable/chunks/pqiPC7Y8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/snfmbqby.js +1 -0
- package/build/client/_app/immutable/chunks/snfmbqby.js.br +0 -0
- package/build/client/_app/immutable/chunks/snfmbqby.js.gz +0 -0
- package/build/client/_app/immutable/chunks/wx-wtMGx.js +15 -0
- package/build/client/_app/immutable/chunks/wx-wtMGx.js.br +0 -0
- package/build/client/_app/immutable/chunks/wx-wtMGx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/yCfI4PCa.js +1 -0
- package/build/client/_app/immutable/chunks/yCfI4PCa.js.br +0 -0
- package/build/client/_app/immutable/chunks/yCfI4PCa.js.gz +0 -0
- package/build/client/_app/immutable/chunks/zHL7lw4G.js +1 -0
- package/build/client/_app/immutable/chunks/zHL7lw4G.js.br +0 -0
- package/build/client/_app/immutable/chunks/zHL7lw4G.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.DFSifnlU.js +2 -0
- package/build/client/_app/immutable/entry/app.DFSifnlU.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DFSifnlU.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.2H5s3Lol.js +1 -0
- package/build/client/_app/immutable/entry/start.2H5s3Lol.js.br +1 -0
- package/build/client/_app/immutable/entry/start.2H5s3Lol.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.BN3NguWs.js +1 -0
- package/build/client/_app/immutable/nodes/0.BN3NguWs.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.BN3NguWs.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.Djdw1GzA.js +1 -0
- package/build/client/_app/immutable/nodes/1.Djdw1GzA.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.Djdw1GzA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CjvaJDQJ.js +4 -0
- package/build/client/_app/immutable/nodes/2.CjvaJDQJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CjvaJDQJ.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +9 -7
- package/build/handler.js.map +1 -1
- package/build/index.js +9 -7
- package/build/index.js.map +1 -1
- package/build/server/chunks/chunks/Arc.canvas.js-D6g58nSp.js +701 -0
- package/build/server/chunks/chunks/Arc.canvas.js-D6g58nSp.js.map +1 -0
- package/build/server/chunks/chunks/Arc.js-D78Cf_4M.js +31 -0
- package/build/server/chunks/chunks/Arc.js-D78Cf_4M.js.map +1 -0
- package/build/server/chunks/chunks/Bar.js-Cv73T8_D.js +448 -0
- package/build/server/chunks/chunks/Bar.js-Cv73T8_D.js.map +1 -0
- package/build/server/chunks/chunks/ChartAnnotations.js-Ci22VB_6.js +983 -0
- package/build/server/chunks/chunks/ChartAnnotations.js-Ci22VB_6.js.map +1 -0
- package/build/server/chunks/chunks/Circle.html.js-BjwyNRG3.js +355 -0
- package/build/server/chunks/chunks/Circle.html.js-BjwyNRG3.js.map +1 -0
- package/build/server/chunks/chunks/ClipPath.canvas.js-CFTBDWVU.js +170 -0
- package/build/server/chunks/chunks/ClipPath.canvas.js-CFTBDWVU.js.map +1 -0
- package/build/server/chunks/chunks/DefaultTooltip.js-0r5rbE-1.js +352 -0
- package/build/server/chunks/chunks/DefaultTooltip.js-0r5rbE-1.js.map +1 -0
- package/build/server/chunks/chunks/EventScatter.js-D3Jaw_Cw.js +7308 -0
- package/build/server/chunks/chunks/EventScatter.js-D3Jaw_Cw.js.map +1 -0
- package/build/server/chunks/chunks/Labels.js-DpagpV6d.js +497 -0
- package/build/server/chunks/chunks/Labels.js-DpagpV6d.js.map +1 -0
- package/build/server/chunks/chunks/Legend.js-BOpwpe5s.js +343 -0
- package/build/server/chunks/chunks/Legend.js-BOpwpe5s.js.map +1 -0
- package/build/server/chunks/chunks/Line.html.js-BM5tR11G.js +423 -0
- package/build/server/chunks/chunks/Line.html.js-BM5tR11G.js.map +1 -0
- package/build/server/chunks/chunks/Link.canvas.js-P8ySzEAw.js +756 -0
- package/build/server/chunks/chunks/Link.canvas.js-P8ySzEAw.js.map +1 -0
- package/build/server/chunks/chunks/Path.canvas.js-DNAtnEBt.js +1259 -0
- package/build/server/chunks/chunks/Path.canvas.js-DNAtnEBt.js.map +1 -0
- package/build/server/chunks/chunks/Points.html.js-CLbHD6OP.js +228 -0
- package/build/server/chunks/chunks/Points.html.js-CLbHD6OP.js.map +1 -0
- package/build/server/chunks/chunks/Points.js-e6g0Re6H.js +14 -0
- package/build/server/chunks/chunks/Points.js-e6g0Re6H.js.map +1 -0
- package/build/server/chunks/chunks/Points2.js-BMGdkzTE.js +25 -0
- package/build/server/chunks/chunks/Points2.js-BMGdkzTE.js.map +1 -0
- package/build/server/chunks/chunks/Rect.html.js-Q3UvRwNn.js +547 -0
- package/build/server/chunks/chunks/Rect.html.js-Q3UvRwNn.js.map +1 -0
- package/build/server/chunks/chunks/Spline.js-BuZPz2PJ.js +516 -0
- package/build/server/chunks/chunks/Spline.js-BuZPz2PJ.js.map +1 -0
- package/build/server/chunks/chunks/Text.html.js-C8xO5Nz6.js +847 -0
- package/build/server/chunks/chunks/Text.html.js-C8xO5Nz6.js.map +1 -0
- package/build/server/chunks/chunks/TooltipItem.js-T0cKLjLu.js +314 -0
- package/build/server/chunks/chunks/TooltipItem.js-T0cKLjLu.js.map +1 -0
- package/build/server/chunks/chunks/Voronoi.js-DevTsXQE.js +2052 -0
- package/build/server/chunks/chunks/Voronoi.js-DevTsXQE.js.map +1 -0
- package/build/server/chunks/chunks/archive.js-C2D-5edp.js +823 -0
- package/build/server/chunks/chunks/archive.js-C2D-5edp.js.map +1 -0
- package/build/server/chunks/chunks/array.js-CBp0H4t3.js +8 -0
- package/build/server/chunks/chunks/array.js-CBp0H4t3.js.map +1 -0
- package/build/server/chunks/chunks/attributes.js-BVWo7wbg.js +25 -0
- package/build/server/chunks/chunks/attributes.js-BVWo7wbg.js.map +1 -0
- package/build/server/chunks/chunks/{env2.js-DXveJt1Y.js → aws.js-DkPqAybc.js} +2 -59
- package/build/server/chunks/chunks/aws.js-DkPqAybc.js.map +1 -0
- package/build/server/chunks/chunks/band.js-C7izXphE.js +155 -0
- package/build/server/chunks/chunks/band.js-C7izXphE.js.map +1 -0
- package/build/server/chunks/chunks/centroid.js-BnGN3LH0.js +1356 -0
- package/build/server/chunks/chunks/centroid.js-BnGN3LH0.js.map +1 -0
- package/build/server/chunks/chunks/common.js-BWQB8Die.js +5760 -0
- package/build/server/chunks/chunks/common.js-BWQB8Die.js.map +1 -0
- package/build/server/chunks/chunks/env2.js-CcIskxOZ.js +60 -0
- package/build/server/chunks/chunks/env2.js-CcIskxOZ.js.map +1 -0
- package/build/server/chunks/chunks/{exports.js-CvFPPbaH.js → exports.js-ClPPfcHj.js} +6 -1
- package/build/server/chunks/chunks/exports.js-ClPPfcHj.js.map +1 -0
- package/build/server/chunks/chunks/group.js-DBFzWAox.js +30 -0
- package/build/server/chunks/chunks/group.js-DBFzWAox.js.map +1 -0
- package/build/server/chunks/chunks/index-server.js-DNLOKvM0.js +248 -0
- package/build/server/chunks/chunks/index-server.js-DNLOKvM0.js.map +1 -0
- package/build/server/chunks/chunks/index-server2.js-l0sNRNKZ.js +2 -0
- package/build/server/chunks/chunks/index-server2.js-l0sNRNKZ.js.map +1 -0
- package/build/server/chunks/chunks/{internal2.js-DZ8ZzzjN.js → internal.js-DZ8ZzzjN.js} +1 -1
- package/build/server/chunks/chunks/internal.js-DZ8ZzzjN.js.map +1 -0
- package/build/server/chunks/chunks/internal2.js-BPo5dcDi.js +188 -0
- package/build/server/chunks/chunks/internal2.js-BPo5dcDi.js.map +1 -0
- package/build/server/chunks/chunks/key.svelte.js-CWIvXc6L.js +695 -0
- package/build/server/chunks/chunks/key.svelte.js-CWIvXc6L.js.map +1 -0
- package/build/server/chunks/chunks/{internal.js-Cc3oBhL-.js → legacy-client.js-DJmDw3Zx.js} +13 -439
- package/build/server/chunks/chunks/legacy-client.js-DJmDw3Zx.js.map +1 -0
- package/build/server/chunks/chunks/level-filter.js-B3o2hyWD.js +313 -0
- package/build/server/chunks/chunks/level-filter.js-B3o2hyWD.js.map +1 -0
- package/build/server/chunks/chunks/lineRadial.js-Dm0GMqo3.js +126 -0
- package/build/server/chunks/chunks/lineRadial.js-Dm0GMqo3.js.map +1 -0
- package/build/server/chunks/chunks/linear.js-CTOKrHn9.js +1046 -0
- package/build/server/chunks/chunks/linear.js-CTOKrHn9.js.map +1 -0
- package/build/server/chunks/chunks/log-buffer.js-BI_gQOls.js +587 -0
- package/build/server/chunks/chunks/log-buffer.js-BI_gQOls.js.map +1 -0
- package/build/server/chunks/chunks/math.js-BqujbaBs.js +50 -0
- package/build/server/chunks/chunks/math.js-BqujbaBs.js.map +1 -0
- package/build/server/chunks/chunks/max.js-CuS0BpRI.js +11 -0
- package/build/server/chunks/chunks/max.js-CuS0BpRI.js.map +1 -0
- package/build/server/chunks/chunks/min.js-DZWt5tPl.js +11 -0
- package/build/server/chunks/chunks/min.js-DZWt5tPl.js.map +1 -0
- package/build/server/chunks/chunks/motion.svelte.js-DCHSFMu-.js +677 -0
- package/build/server/chunks/chunks/motion.svelte.js-DCHSFMu-.js.map +1 -0
- package/build/server/chunks/chunks/occlusion.js-DJ-AdK9u.js +33 -0
- package/build/server/chunks/chunks/occlusion.js-DJ-AdK9u.js.map +1 -0
- package/build/server/chunks/chunks/path.js-BizMrlzb.js +488 -0
- package/build/server/chunks/chunks/path.js-BizMrlzb.js.map +1 -0
- package/build/server/chunks/chunks/path2.js-pquT2Kg6.js +27 -0
- package/build/server/chunks/chunks/path2.js-pquT2Kg6.js.map +1 -0
- package/build/server/chunks/chunks/pointRadial.js-Deeu1LXx.js +7 -0
- package/build/server/chunks/chunks/pointRadial.js-Deeu1LXx.js.map +1 -0
- package/build/server/chunks/chunks/rect.svelte.js-zeS7FWjB.js +187 -0
- package/build/server/chunks/chunks/rect.svelte.js-zeS7FWjB.js.map +1 -0
- package/build/server/chunks/chunks/scales.svelte.js-D_1popPi.js +276 -0
- package/build/server/chunks/chunks/scales.svelte.js-D_1popPi.js.map +1 -0
- package/build/server/chunks/chunks/series-buckets.js-BjigySff.js +290 -0
- package/build/server/chunks/chunks/series-buckets.js-BjigySff.js.map +1 -0
- package/build/server/chunks/chunks/{server.js-ByNB8uti.js → server.js-CAEBuMIH.js} +167 -2
- package/build/server/chunks/chunks/server.js-CAEBuMIH.js.map +1 -0
- package/build/server/chunks/chunks/source.js-DZEVvuho.js +21 -0
- package/build/server/chunks/chunks/source.js-DZEVvuho.js.map +1 -0
- package/build/server/chunks/chunks/{state.js-9DxsWxU-.js → state.js-DgkwfYFo.js} +5 -4
- package/build/server/chunks/chunks/state.js-DgkwfYFo.js.map +1 -0
- package/build/server/chunks/chunks/types.js-x3GyGPOz.js +11 -0
- package/build/server/chunks/chunks/types.js-x3GyGPOz.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/archive/_server.ts.js-83Ch7djd.js +39 -0
- package/build/server/chunks/entries/endpoints/api/archive/_server.ts.js-83Ch7djd.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/health/{_server.ts.js-BOjix7GN.js → _server.ts.js-VctnBhIJ.js} +5 -4
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-VctnBhIJ.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/identity/{_server.ts.js-g13uvmrX.js → _server.ts.js-Dt540Sio.js} +4 -3
- package/build/server/chunks/entries/endpoints/api/identity/_server.ts.js-Dt540Sio.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/log-groups/{_server.ts.js-CmHRxdZK.js → _server.ts.js-drLgUdvB.js} +57 -8
- package/build/server/chunks/entries/endpoints/api/log-groups/_server.ts.js-drLgUdvB.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/regions/{_server.ts.js-BgUwioxp.js → _server.ts.js-CBqfN6Pg.js} +5 -4
- package/build/server/chunks/entries/endpoints/api/regions/_server.ts.js-CBqfN6Pg.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/series/_server.ts.js-DOvBhEDU.js +225 -0
- package/build/server/chunks/entries/endpoints/api/series/_server.ts.js-DOvBhEDU.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/stream/{_server.ts.js-CIYo4C-0.js → _server.ts.js-BWRHawY8.js} +324 -223
- package/build/server/chunks/entries/endpoints/api/stream/_server.ts.js-BWRHawY8.js.map +1 -0
- package/build/server/chunks/entries/fallbacks/{error.svelte.js-CFonuZkV.js → error.svelte.js-CsCL5PMW.js} +7 -5
- package/build/server/chunks/entries/fallbacks/{error.svelte.js-CFonuZkV.js.map → error.svelte.js-CsCL5PMW.js.map} +1 -1
- package/build/server/chunks/entries/pages/{_layout.svelte.js-Dzluuq12.js → _layout.svelte.js-CBQpEToy.js} +2 -2
- package/build/server/chunks/entries/pages/{_layout.svelte.js-Dzluuq12.js.map → _layout.svelte.js-CBQpEToy.js.map} +1 -1
- package/build/server/chunks/entries/pages/_page.svelte.js-qqtU0apo.js +1641 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-qqtU0apo.js.map +1 -0
- package/build/server/chunks/{handler-DS32NMsJ.js → handler-DlfTB05m.js} +3 -3
- package/build/server/chunks/{handler-DS32NMsJ.js.map → handler-DlfTB05m.js.map} +1 -1
- package/build/server/chunks/{index.js-HHu-yOEK.js → index.js-BMrd9hfO.js} +6 -5
- package/build/server/chunks/index.js-BMrd9hfO.js.map +1 -0
- package/build/server/chunks/{manifest.js-BUrA7Zyr.js → manifest.js-D1kCuVe5.js} +24 -10
- package/build/server/chunks/manifest.js-D1kCuVe5.js.map +1 -0
- package/build/server/chunks/nodes/0.js-CNFDDPj5.js +9 -0
- package/build/server/chunks/nodes/{0.js-gSRmrAt_.js.map → 0.js-CNFDDPj5.js.map} +1 -1
- package/build/server/chunks/nodes/1.js-B5FPLYnf.js +9 -0
- package/build/server/chunks/nodes/{1.js-D68K7Ad_.js.map → 1.js-B5FPLYnf.js.map} +1 -1
- package/build/server/chunks/nodes/2.js-BEuxzw6b.js +9 -0
- package/build/server/chunks/nodes/2.js-BEuxzw6b.js.map +1 -0
- package/dist/cli/completions.js +6 -0
- package/dist/cli/index.js +131 -88
- package/dist/cli/options.js +28 -2
- package/dist/cli/preflight.js +30 -0
- package/dist/cli/ui.js +18 -3
- package/dist/lib/cli/aws.js +12 -4
- package/dist/lib/log-buffer.js +443 -0
- package/dist/lib/log-format.js +185 -0
- package/dist/lib/types.js +0 -4
- package/package.json +6 -2
- package/build/client/_app/immutable/assets/0.BPmQoXaO.css +0 -2
- package/build/client/_app/immutable/assets/0.BPmQoXaO.css.br +0 -0
- package/build/client/_app/immutable/assets/0.BPmQoXaO.css.gz +0 -0
- package/build/client/_app/immutable/chunks/Bw_9uNRP.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bw_9uNRP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/De_x7GQi.js +0 -1
- package/build/client/_app/immutable/chunks/De_x7GQi.js.br +0 -0
- package/build/client/_app/immutable/chunks/De_x7GQi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ZAD2y5xJ.js +0 -3
- package/build/client/_app/immutable/chunks/ZAD2y5xJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/ZAD2y5xJ.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.Be166AxG.js +0 -2
- package/build/client/_app/immutable/entry/app.Be166AxG.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Be166AxG.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.clEDpQL9.js +0 -1
- package/build/client/_app/immutable/entry/start.clEDpQL9.js.br +0 -0
- package/build/client/_app/immutable/entry/start.clEDpQL9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.BJ6Zdc8H.js +0 -1
- package/build/client/_app/immutable/nodes/0.BJ6Zdc8H.js.br +0 -4
- package/build/client/_app/immutable/nodes/0.BJ6Zdc8H.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.xMNWuLLz.js +0 -1
- package/build/client/_app/immutable/nodes/1.xMNWuLLz.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.xMNWuLLz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CaxDXwmh.js +0 -5
- package/build/client/_app/immutable/nodes/2.CaxDXwmh.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CaxDXwmh.js.gz +0 -0
- package/build/server/chunks/chunks/env2.js-DXveJt1Y.js.map +0 -1
- package/build/server/chunks/chunks/exports.js-CvFPPbaH.js.map +0 -1
- package/build/server/chunks/chunks/internal.js-Cc3oBhL-.js.map +0 -1
- package/build/server/chunks/chunks/internal2.js-DZ8ZzzjN.js.map +0 -1
- package/build/server/chunks/chunks/server.js-ByNB8uti.js.map +0 -1
- package/build/server/chunks/chunks/state.js-9DxsWxU-.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-BOjix7GN.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/identity/_server.ts.js-g13uvmrX.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/log-groups/_server.ts.js-CmHRxdZK.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/regions/_server.ts.js-BgUwioxp.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/stream/_server.ts.js-CIYo4C-0.js.map +0 -1
- package/build/server/chunks/entries/pages/_page.svelte.js-CpwYbxbM.js +0 -1291
- package/build/server/chunks/entries/pages/_page.svelte.js-CpwYbxbM.js.map +0 -1
- package/build/server/chunks/index.js-HHu-yOEK.js.map +0 -1
- package/build/server/chunks/manifest.js-BUrA7Zyr.js.map +0 -1
- package/build/server/chunks/nodes/0.js-gSRmrAt_.js +0 -9
- package/build/server/chunks/nodes/1.js-D68K7Ad_.js +0 -9
- package/build/server/chunks/nodes/2.js-ChYsaaoC.js +0 -9
- package/build/server/chunks/nodes/2.js-ChYsaaoC.js.map +0 -1
package/README.md
CHANGED
|
@@ -47,6 +47,10 @@ work for every line.
|
|
|
47
47
|
actions, and binds to loopback. Throwaway keys are used for a local emulator and only there.
|
|
48
48
|
- **It is one command and it goes away.** `npx watch-tail`, Ctrl+C. Nothing is deployed, nothing is
|
|
49
49
|
sent anywhere, and there is no agent, sidecar or daemon to clean up.
|
|
50
|
+
- **You keep what you have seen.** Logs you stream are appended to a local DuckDB file, so the incident
|
|
51
|
+
you looked at last week is still there - no re-scanning AWS, no 14-day cliff, no credentials needed
|
|
52
|
+
to read it back. Switch the source to **Local archive** in the UI and the same window controls work
|
|
53
|
+
against that file.
|
|
50
54
|
|
|
51
55
|
Use it when you are debugging a Lambda, chasing an API Gateway 5xx, watching a worker drain a queue,
|
|
52
56
|
or handing a teammate a link that shows exactly the window you are staring at.
|
|
@@ -62,6 +66,21 @@ or handing a teammate a link that shows exactly the window you are staring at.
|
|
|
62
66
|
- **Shareable views** - region, group, mode and window all live in the URL.
|
|
63
67
|
- **Local emulation friendly** - `--floci` points at [floci](https://floci.io) on port 4566 for
|
|
64
68
|
development without an AWS account.
|
|
69
|
+
- **History that outlives the window** - everything you stream is archived to a local
|
|
70
|
+
[DuckDB](https://duckdb.org) file, so you can come back to it later - after the 14-day CloudWatch
|
|
71
|
+
limit, with no AWS credentials at all - and query it with plain SQL.
|
|
72
|
+
- **See the shape of an incident before you read it.** A scatter chart above the log view plots events
|
|
73
|
+
over time, coloured by level, so a spike is visible in one glance. Drag across it to zoom into that
|
|
74
|
+
moment - the log view follows the brush, and a click clears it.
|
|
75
|
+
- **Follow more than one group at once.** Tick extra groups in the sidebar and the chart and the log
|
|
76
|
+
view cover all of them, with a group column and a merged stream; the selection lives in the URL.
|
|
77
|
+
- **One request, one row.** Lines that share a request id are grouped - in the log view and in the
|
|
78
|
+
chart - and coloured by the most critical line in the request, so you read requests instead of the
|
|
79
|
+
twenty lines each one wrote. Toggle it off to see every line.
|
|
80
|
+
- **Severity you can filter on.** Every archived line is tagged `error`, `warn`, `info` or `debug`,
|
|
81
|
+
and the viewer has chips to narrow to one level. A level the log itself declares
|
|
82
|
+
(`{"level":"error"}`) is trusted; otherwise it is read from the line, and a line that carries no
|
|
83
|
+
level at all stays unclassified instead of being called `info`.
|
|
65
84
|
|
|
66
85
|
## Install
|
|
67
86
|
|
|
@@ -93,10 +112,16 @@ watch-tail [options]
|
|
|
93
112
|
--print Print the environment that would be used, then exit
|
|
94
113
|
--list List the AWS profiles found on disk, then exit
|
|
95
114
|
--verbose Log the server's own output
|
|
115
|
+
--db <path> Database file for local history (default: app data dir)
|
|
116
|
+
--no-archive Do not keep a local history archive
|
|
96
117
|
-h, --help Show this help
|
|
97
118
|
-v, --version Show the version
|
|
98
119
|
```
|
|
99
120
|
|
|
121
|
+
The CLI keeps the terminal while it runs: `Ctrl+C` stops the server and exits, whether it is idle or
|
|
122
|
+
waiting at one of its questions (the login offer, the profile picker) - cancelling a question is a stop,
|
|
123
|
+
not a "no".
|
|
124
|
+
|
|
100
125
|
Shell completions come from [`@bomb.sh/tab`](https://bomb.sh): flags, `--region` values from the
|
|
101
126
|
CloudWatch Logs region list, and `--profile` values from your own `~/.aws/config`. zsh, bash, fish and
|
|
102
127
|
powershell are supported.
|
|
@@ -206,11 +231,132 @@ npx watch-tail --floci # throwaway credentials are supplied automati
|
|
|
206
231
|
sets `AWS_ENDPOINT_URL` - as this repository's `pnpm floci:up` writes for the dev server - the CLI
|
|
207
232
|
ignores it, says so, and runs against real AWS; your own exported variables always win over that file.
|
|
208
233
|
|
|
234
|
+
## Local history
|
|
235
|
+
|
|
236
|
+
While a stream is open, every event that arrives is appended to a local DuckDB file. Nothing else
|
|
237
|
+
changes: the live tail, the historic scan and the UI work exactly as before. What the archive adds is
|
|
238
|
+
a **second source** you can read later.
|
|
239
|
+
|
|
240
|
+
In the UI, a **Local archive** toggle appears next to the mode controls whenever the archive is
|
|
241
|
+
available. Choosing it:
|
|
242
|
+
|
|
243
|
+
- lists the log groups the archive holds for the current region, with how many events are stored
|
|
244
|
+
locally,
|
|
245
|
+
- replays a window from the file instead of calling CloudWatch - instant, and **no credentials
|
|
246
|
+
needed**, so it works with an expired SSO session, offline, or on a machine that never had AWS
|
|
247
|
+
access,
|
|
248
|
+
- keeps the same range controls (`15m` … `5d`, or a custom `from`/`to`), and puts the source in the URL
|
|
249
|
+
so `…&source=archive&range=24h` is a shareable view of the archive.
|
|
250
|
+
|
|
251
|
+
```bash
|
|
252
|
+
watch-tail # archive on, file in your app data directory
|
|
253
|
+
watch-tail --db ./logs.duckdb # keep the archive next to the project instead
|
|
254
|
+
watch-tail --no-archive # do not archive anything
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
The default file is `archive.duckdb` inside your platform's data directory:
|
|
258
|
+
|
|
259
|
+
| Platform | Path |
|
|
260
|
+
| -------- | ------------------------------------------------------------ |
|
|
261
|
+
| macOS | `~/Library/Application Support/watch-tail/archive.duckdb` |
|
|
262
|
+
| Linux | `${XDG_DATA_HOME:-~/.local/share}/watch-tail/archive.duckdb` |
|
|
263
|
+
| Windows | `%LOCALAPPDATA%\watch-tail\archive.duckdb` |
|
|
264
|
+
|
|
265
|
+
`WATCH_STREAM_ARCHIVE=off` turns the archive off for the server, and `WATCH_STREAM_ARCHIVE_DB` sets the
|
|
266
|
+
file, for people who drive the server directly.
|
|
267
|
+
|
|
268
|
+
Because it is a DuckDB database, you can point any DuckDB client at the same file - with the app
|
|
269
|
+
stopped, since DuckDB allows one writer:
|
|
270
|
+
|
|
271
|
+
```bash
|
|
272
|
+
duckdb ~/Library/Application\ Support/watch-tail/archive.duckdb
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
```sql
|
|
276
|
+
SELECT log_group, count(*) AS events, max(timestamp_ms) AS newest
|
|
277
|
+
FROM log_events
|
|
278
|
+
GROUP BY log_group
|
|
279
|
+
ORDER BY events DESC;
|
|
280
|
+
|
|
281
|
+
SELECT to_timestamp(timestamp_ms / 1000) AS at, message
|
|
282
|
+
FROM log_events
|
|
283
|
+
WHERE log_group = '/aws/lambda/checkout' AND message ILIKE '%timeout%'
|
|
284
|
+
ORDER BY timestamp_ms;
|
|
285
|
+
|
|
286
|
+
-- how many errors per group, ignoring levels that were never detected
|
|
287
|
+
SELECT log_group, level, count(*) AS events
|
|
288
|
+
FROM log_events
|
|
289
|
+
WHERE level = 'error'
|
|
290
|
+
GROUP BY log_group, level
|
|
291
|
+
ORDER BY events DESC;
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
Three things worth knowing:
|
|
295
|
+
|
|
296
|
+
- **DuckDB is an optional dependency.** It is a native module (roughly 114 MB installed, prebuilt for
|
|
297
|
+
every supported platform - no compiler needed). If it cannot be installed or loaded, `watch-tail`
|
|
298
|
+
runs exactly as it did before, without history, and says so in the startup banner. To skip it
|
|
299
|
+
deliberately: `npm install -g watch-tail --no-optional`.
|
|
300
|
+
- **One process owns the file.** DuckDB takes an exclusive lock, so a second `watch-tail` on the same
|
|
301
|
+
archive runs without history while the first is up; `--db` is the way to keep two instances
|
|
302
|
+
separate.
|
|
303
|
+
- Levels are detected, not received: CloudWatch Logs does not report a severity, so `error`/`warn`/
|
|
304
|
+
`info`/`debug` come from the line itself, and `NULL` means nothing could be read from it.
|
|
305
|
+
- **The archive is as wide as what you watched.** Events are recorded as they stream, so history covers
|
|
306
|
+
the windows you have actually visited. It is also local, unencrypted and outside your AWS account -
|
|
307
|
+
treat the file like the logs themselves.
|
|
308
|
+
|
|
309
|
+
## Requests, not lines
|
|
310
|
+
|
|
311
|
+
Log lines that belong to the same request are one thing, not twenty. watch-tail reads a request id out
|
|
312
|
+
of each line - a declared `requestId` (also `request_id`, `awsRequestId`, an `x-request-id`) or the
|
|
313
|
+
`RequestId: ...` that a Lambda prints - and groups the lines that share it:
|
|
314
|
+
|
|
315
|
+
- **The log view** collapses each request into a single row: its request id, how many lines it wrote,
|
|
316
|
+
how long it took, and the level of its **most critical line**, so a request with one error among
|
|
317
|
+
twenty info lines reads as an error. Click the row to open it and see every line, indented, in order.
|
|
318
|
+
- **The chart** counts **one mark per request**, placed at the request's first line and coloured by
|
|
319
|
+
that same most critical level, so a spike of failing requests is a spike of marks rather than a spike
|
|
320
|
+
of log volume.
|
|
321
|
+
- **By request** in the log view's toolbar turns it off, and the view goes back to one row per line
|
|
322
|
+
(and the chart back to one mark per line). Your choice is remembered.
|
|
323
|
+
|
|
324
|
+
Grouping is on by default. Lines with no request id are never grouped: each keeps its own row and its
|
|
325
|
+
own mark, so nothing is hidden by a request id the log did not have. A request whose lines span more
|
|
326
|
+
than one bucket is counted once, where it started, which is why the chart's total can be lower than
|
|
327
|
+
the number of lines.
|
|
328
|
+
|
|
329
|
+
## The chart
|
|
330
|
+
|
|
331
|
+
In **Historic** mode (and for the local archive) a scatter chart sits above the log view: X is time, Y
|
|
332
|
+
is the number of requests in a bucket, and each level is its own colour. Drag across it to brush a
|
|
333
|
+
range - the log view, the window chip and the URL all follow, so a brush is a shareable view of the
|
|
334
|
+
spike you just found. Click the chart to clear the brush, or press **Reset zoom** to go back to the
|
|
335
|
+
preset window. The level chips filter the chart and the log view together.
|
|
336
|
+
|
|
337
|
+
A drag only counts as a zoom when it is a real drag: a click, or a pointer that slips a couple of
|
|
338
|
+
pixels, clears the brush instead of zooming into a sliver of a window, and the view is re-scoped when
|
|
339
|
+
you release rather than while you drag - so the stream is not restarted mid-gesture.
|
|
340
|
+
|
|
341
|
+
With several groups selected, the counts cover all of them and the chart's legend splits the totals by
|
|
342
|
+
level. The level chips filter requests by their most critical level, which is the level the marks are
|
|
343
|
+
drawn in, so the legend and the filter never disagree. The archive answers the chart with one SQL query over the whole window; a CloudWatch view has no
|
|
344
|
+
aggregate API, so there the chart counts the events already in the view.
|
|
345
|
+
|
|
346
|
+
The panel has a header you can click to collapse it, and it remembers that choice: collapsed, it is
|
|
347
|
+
just one line of totals and per-level counts, and the space goes back to the log view.
|
|
348
|
+
|
|
349
|
+
The chart is drawn with [layerchart](https://www.layerchart.com), which is **loaded on demand**: the
|
|
350
|
+
charting code is fetched in the browser only once the panel is open, so it never delays the log view's
|
|
351
|
+
first paint. Measured on the production build, an open panel pulls about 235 KiB of chart code after
|
|
352
|
+
the page has started, and a collapsed one pulls none at all.
|
|
353
|
+
|
|
209
354
|
## Development
|
|
210
355
|
|
|
211
356
|
```bash
|
|
212
357
|
pnpm install
|
|
213
358
|
pnpm dev # SvelteKit dev server on http://localhost:5173
|
|
359
|
+
# (its history archive lives in .watch-tail/)
|
|
214
360
|
pnpm seed # fixtures in the local emulator (--watch for live traffic)
|
|
215
361
|
pnpm dev:aws --profile my-profile # dev server against a real profile
|
|
216
362
|
pnpm build # adapter-node build + the CLI in dist/
|
|
@@ -258,6 +404,13 @@ SvelteKit server routes (Node)
|
|
|
258
404
|
v
|
|
259
405
|
CloudWatch Logs API -- ambient AWS credentials
|
|
260
406
|
or floci on http://localhost:4566
|
|
407
|
+
|
|
408
|
+
Everything streamed is also appended to a local archive,
|
|
409
|
+
which the UI can read back without AWS:
|
|
410
|
+
|
|
411
|
+
SvelteKit server ---- @duckdb/node-api ----> archive.duckdb (DuckDB file)
|
|
412
|
+
^
|
|
413
|
+
Browser -- GET /api/stream?source=archive -+
|
|
261
414
|
```
|
|
262
415
|
|
|
263
416
|
The CLI (`src/cli/`) boots the packaged adapter-node server, waits for `/api/health` and opens a
|
|
@@ -273,6 +426,11 @@ browser. Full details, including the HTTP and SSE contract, are in [ARCHITECTURE
|
|
|
273
426
|
Binding elsewhere prints a warning - only do it on a trusted network.
|
|
274
427
|
- floci omits `logStreamName` in `FilterLogEvents`, so the stream column stays empty locally; real AWS
|
|
275
428
|
fills it.
|
|
429
|
+
- The archive is written from the same process that serves the UI, so it only grows while something is
|
|
430
|
+
streaming. A window you never opened is not in it, and events dropped by the 10 000-event cap of a
|
|
431
|
+
historic scan are not archived either.
|
|
432
|
+
- Archived events are de-duplicated by CloudWatch event id (or by a hash of timestamp, stream and
|
|
433
|
+
message when an emulator omits ids), so re-scanning the same window does not duplicate rows.
|
|
276
434
|
|
|
277
435
|
## License
|
|
278
436
|
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-amber-950:oklch(27.9% .077 45.635);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-900:oklch(37.8% .077 168.94);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-300:oklch(85.5% .138 181.071);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-700:oklch(51.1% .096 186.391);--color-teal-900:oklch(38.6% .063 188.416);--color-teal-950:oklch(27.7% .046 192.524);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-700:oklch(50% .134 242.749);--color-sky-800:oklch(44.3% .11 240.79);--color-sky-900:oklch(39.1% .09 240.876);--color-sky-950:oklch(29.3% .066 243.157);--color-violet-300:oklch(81.1% .111 293.571);--color-violet-900:oklch(38% .189 293.745);--color-violet-950:oklch(28.3% .141 291.089);--color-fuchsia-300:oklch(83.3% .145 321.434);--color-neutral-100:oklch(97% 0 none);--color-neutral-200:oklch(92.2% 0 none);--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--tracking-wider:.05em;--radius-md:.375rem;--radius-lg:.5rem;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-y-0{inset-block:0}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.ml-1{margin-left:var(--spacing)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.h-2{height:calc(var(--spacing) * 2)}.h-5{height:calc(var(--spacing) * 5)}.h-dvh{height:100dvh}.min-h-0{min-height:0}.min-h-\[30rem\]{min-height:30rem}.min-h-full{min-height:100%}.w-2{width:calc(var(--spacing) * 2)}.w-40{width:calc(var(--spacing) * 40)}.w-\[7\.5rem\]{width:7.5rem}.w-\[9rem\]{width:9rem}.w-full{width:100%}.w-max{width:max-content}.max-w-\[22rem\]{max-width:22rem}.min-w-0{min-width:0}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-none{flex:none}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.animate-pulse{animation:var(--animate-pulse)}.cursor-col-resize{cursor:col-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-amber-700{border-color:var(--color-amber-700)}.border-amber-800{border-color:var(--color-amber-800)}.border-amber-900{border-color:var(--color-amber-900)}.border-emerald-900{border-color:var(--color-emerald-900)}.border-neutral-700{border-color:var(--color-neutral-700)}.border-neutral-800{border-color:var(--color-neutral-800)}.border-neutral-900{border-color:var(--color-neutral-900)}.border-red-800{border-color:var(--color-red-800)}.border-red-900{border-color:var(--color-red-900)}.border-sky-700{border-color:var(--color-sky-700)}.border-sky-800{border-color:var(--color-sky-800)}.border-sky-900{border-color:var(--color-sky-900)}.border-teal-700{border-color:var(--color-teal-700)}.border-teal-900{border-color:var(--color-teal-900)}.border-transparent{border-color:#0000}.border-violet-900{border-color:var(--color-violet-900)}.bg-amber-400{background-color:var(--color-amber-400)}.bg-amber-950\/40{background-color:#46190166}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\/40{background-color:color-mix(in oklab, var(--color-amber-950) 40%, transparent)}}.bg-amber-950\/50{background-color:#46190180}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\/50{background-color:color-mix(in oklab, var(--color-amber-950) 50%, transparent)}}.bg-amber-950\/70{background-color:#461901b3}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\/70{background-color:color-mix(in oklab, var(--color-amber-950) 70%, transparent)}}.bg-emerald-400{background-color:var(--color-emerald-400)}.bg-emerald-950\/70{background-color:#002c22b3}@supports (color:color-mix(in lab, red, red)){.bg-emerald-950\/70{background-color:color-mix(in oklab, var(--color-emerald-950) 70%, transparent)}}.bg-neutral-500{background-color:var(--color-neutral-500)}.bg-neutral-800{background-color:var(--color-neutral-800)}.bg-neutral-800\/60{background-color:#26262699}@supports (color:color-mix(in lab, red, red)){.bg-neutral-800\/60{background-color:color-mix(in oklab, var(--color-neutral-800) 60%, transparent)}}.bg-neutral-800\/80{background-color:#262626cc}@supports (color:color-mix(in lab, red, red)){.bg-neutral-800\/80{background-color:color-mix(in oklab, var(--color-neutral-800) 80%, transparent)}}.bg-neutral-900{background-color:var(--color-neutral-900)}.bg-neutral-900\/40{background-color:#17171766}@supports (color:color-mix(in lab, red, red)){.bg-neutral-900\/40{background-color:color-mix(in oklab, var(--color-neutral-900) 40%, transparent)}}.bg-neutral-900\/60{background-color:#17171799}@supports (color:color-mix(in lab, red, red)){.bg-neutral-900\/60{background-color:color-mix(in oklab, var(--color-neutral-900) 60%, transparent)}}.bg-neutral-900\/70{background-color:#171717b3}@supports (color:color-mix(in lab, red, red)){.bg-neutral-900\/70{background-color:color-mix(in oklab, var(--color-neutral-900) 70%, transparent)}}.bg-neutral-950{background-color:var(--color-neutral-950)}.bg-neutral-950\/60{background-color:#0a0a0a99}@supports (color:color-mix(in lab, red, red)){.bg-neutral-950\/60{background-color:color-mix(in oklab, var(--color-neutral-950) 60%, transparent)}}.bg-neutral-950\/90{background-color:#0a0a0ae6}@supports (color:color-mix(in lab, red, red)){.bg-neutral-950\/90{background-color:color-mix(in oklab, var(--color-neutral-950) 90%, transparent)}}.bg-red-400{background-color:var(--color-red-400)}.bg-red-950\/50{background-color:#46080980}@supports (color:color-mix(in lab, red, red)){.bg-red-950\/50{background-color:color-mix(in oklab, var(--color-red-950) 50%, transparent)}}.bg-red-950\/70{background-color:#460809b3}@supports (color:color-mix(in lab, red, red)){.bg-red-950\/70{background-color:color-mix(in oklab, var(--color-red-950) 70%, transparent)}}.bg-sky-400{background-color:var(--color-sky-400)}.bg-sky-950\/50{background-color:#052f4a80}@supports (color:color-mix(in lab, red, red)){.bg-sky-950\/50{background-color:color-mix(in oklab, var(--color-sky-950) 50%, transparent)}}.bg-sky-950\/60{background-color:#052f4a99}@supports (color:color-mix(in lab, red, red)){.bg-sky-950\/60{background-color:color-mix(in oklab, var(--color-sky-950) 60%, transparent)}}.bg-sky-950\/70{background-color:#052f4ab3}@supports (color:color-mix(in lab, red, red)){.bg-sky-950\/70{background-color:color-mix(in oklab, var(--color-sky-950) 70%, transparent)}}.bg-teal-950\/50{background-color:#022f2e80}@supports (color:color-mix(in lab, red, red)){.bg-teal-950\/50{background-color:color-mix(in oklab, var(--color-teal-950) 50%, transparent)}}.bg-teal-950\/60{background-color:#022f2e99}@supports (color:color-mix(in lab, red, red)){.bg-teal-950\/60{background-color:color-mix(in oklab, var(--color-teal-950) 60%, transparent)}}.bg-transparent{background-color:#0000}.bg-violet-950\/60{background-color:#2f0d6899}@supports (color:color-mix(in lab, red, red)){.bg-violet-950\/60{background-color:color-mix(in oklab, var(--color-violet-950) 60%, transparent)}}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.pr-1{padding-right:var(--spacing)}.pl-8{padding-left:calc(var(--spacing) * 8)}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[0\.625rem\]{font-size:.625rem}.text-\[0\.6875rem\]{font-size:.6875rem}.leading-4{--tw-leading:calc(var(--spacing) * 4);line-height:calc(var(--spacing) * 4)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-words{overflow-wrap:break-word}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-200{color:var(--color-amber-200)}.text-amber-300{color:var(--color-amber-300)}.text-amber-300\/80{color:#ffd236cc}@supports (color:color-mix(in lab, red, red)){.text-amber-300\/80{color:color-mix(in oklab, var(--color-amber-300) 80%, transparent)}}.text-amber-400\/80{color:#fcbb00cc}@supports (color:color-mix(in lab, red, red)){.text-amber-400\/80{color:color-mix(in oklab, var(--color-amber-400) 80%, transparent)}}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-400\/80{color:#00d294cc}@supports (color:color-mix(in lab, red, red)){.text-emerald-400\/80{color:color-mix(in oklab, var(--color-emerald-400) 80%, transparent)}}.text-fuchsia-300{color:var(--color-fuchsia-300)}.text-neutral-100{color:var(--color-neutral-100)}.text-neutral-200{color:var(--color-neutral-200)}.text-neutral-300{color:var(--color-neutral-300)}.text-neutral-400{color:var(--color-neutral-400)}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-600{color:var(--color-neutral-600)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-sky-200{color:var(--color-sky-200)}.text-sky-300{color:var(--color-sky-300)}.text-sky-400{color:var(--color-sky-400)}.text-sky-400\/80{color:#00bcfecc}@supports (color:color-mix(in lab, red, red)){.text-sky-400\/80{color:color-mix(in oklab, var(--color-sky-400) 80%, transparent)}}.text-teal-300{color:var(--color-teal-300)}.text-teal-300\/80{color:#46ecd5cc}@supports (color:color-mix(in lab, red, red)){.text-teal-300\/80{color:color-mix(in oklab, var(--color-teal-300) 80%, transparent)}}.text-teal-400\/80{color:#00d3bdcc}@supports (color:color-mix(in lab, red, red)){.text-teal-400\/80{color:color-mix(in oklab, var(--color-teal-400) 80%, transparent)}}.text-violet-300{color:var(--color-violet-300)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.accent-sky-500{accent-color:var(--color-sky-500)}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.selection\:bg-sky-900\/60 ::selection{background-color:#024a7099}@supports (color:color-mix(in lab, red, red)){.selection\:bg-sky-900\/60 ::selection{background-color:color-mix(in oklab, var(--color-sky-900) 60%, transparent)}}.selection\:bg-sky-900\/60::selection{background-color:#024a7099}@supports (color:color-mix(in lab, red, red)){.selection\:bg-sky-900\/60::selection{background-color:color-mix(in oklab, var(--color-sky-900) 60%, transparent)}}.placeholder\:text-neutral-600::placeholder{color:var(--color-neutral-600)}@media (hover:hover){.hover\:border-neutral-700:hover{border-color:var(--color-neutral-700)}.hover\:border-neutral-800:hover{border-color:var(--color-neutral-800)}.hover\:border-sky-600:hover{border-color:var(--color-sky-600)}.hover\:bg-neutral-900\/60:hover{background-color:#17171799}@supports (color:color-mix(in lab, red, red)){.hover\:bg-neutral-900\/60:hover{background-color:color-mix(in oklab, var(--color-neutral-900) 60%, transparent)}}.hover\:bg-sky-500\/30:hover{background-color:#00a5ef4d}@supports (color:color-mix(in lab, red, red)){.hover\:bg-sky-500\/30:hover{background-color:color-mix(in oklab, var(--color-sky-500) 30%, transparent)}}.hover\:text-neutral-100:hover{color:var(--color-neutral-100)}.hover\:text-neutral-200:hover{color:var(--color-neutral-200)}}.focus\:border-sky-600:focus{border-color:var(--color-sky-600)}.focus\:bg-sky-500\/50:focus{background-color:#00a5ef80}@supports (color:color-mix(in lab, red, red)){.focus\:bg-sky-500\/50:focus{background-color:color-mix(in oklab, var(--color-sky-500) 50%, transparent)}}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}@media (width>=40rem){.sm\:inline{display:inline}.sm\:px-4{padding-inline:calc(var(--spacing) * 4)}}@media (width>=64rem){.lg\:block{display:block}.lg\:w-2{width:calc(var(--spacing) * 2)}.lg\:shrink-0{flex-shrink:0}.lg\:flex-row{flex-direction:row}}@media (width>=80rem){.xl\:inline{display:inline}}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer base{:where(.lc-brush-context.svelte-13b5ode){touch-action:none;position:absolute}:where(.lc-brush-container.svelte-13b5ode),:where(.lc-brush-panel.svelte-13b5ode){position:absolute}:where(.lc-brush-range.svelte-13b5ode){cursor:move;-webkit-user-select:none;user-select:none;z-index:10;background:color-mix(in oklab, var(--color-surface-content,currentColor) 10%, transparent);position:absolute}:where(.lc-brush-handle.svelte-13b5ode){-webkit-user-select:none;user-select:none;z-index:10;position:absolute}:where(.lc-brush-handle.svelte-13b5ode)[data-position=top],:where(.lc-brush-handle.svelte-13b5ode)[data-position=bottom]{cursor:ns-resize}:where(.lc-brush-handle.svelte-13b5ode)[data-position=left],:where(.lc-brush-handle.svelte-13b5ode)[data-position=right]{cursor:ew-resize}}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer components{:where(.lc-annotation-line){--stroke-color:var(--color-surface-content,currentColor)}:where(.lc-annotation-line-label){pointer-events:none;font-size:12px}:where(.lc-annotation-point-label){pointer-events:none}:where(.lc-annotation-point-ring){--fill-color:none;--stroke-color:var(--color-surface-content,currentColor)}:where(.lc-annotation-point-link){--stroke-color:var(--color-surface-content,currentColor);fill:none;pointer-events:none}:where(.lc-annotation-range-label){pointer-events:none;font-size:12px}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer base{:where(.lc-layout-svg .lc-circle,svg.lc-circle):not([fill]){fill:var(--fill-color)}:where(.lc-layout-svg .lc-circle,svg.lc-circle):not([stroke]){stroke:var(--stroke-color)}:where(.lc-circle){--fill-color:var(--color-surface-content,currentColor);--stroke-color:initial}:where(.lc-layout-html .lc-circle){box-sizing:border-box}:where(.lc-layout-html .lc-circle):not([background]){background:var(--fill-color)}:where(.lc-layout-html .lc-circle):not([border-color]){border-color:var(--stroke-color)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
�`d�Oh�>������e���}�}� �Bz~�j�m� '�����B�.$BJ�t�"ѥ���(a����c9��R3D���<�qްI���Y�els�Ǭ����Ay�OYY�$�:(h���N�`1'�u�>�Pʴ���&O�$a�����9�UHde?��
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer components{:where(.lc-tooltip-separator.svelte-168nzpv){background-color:color-mix(in oklab, var(--color-surface-content,currentColor) 20%, transparent);border-radius:4px;grid-column:1/-1;height:1px;margin-top:4px;margin-bottom:4px}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer base{:where(.lc-layout-svg .lc-rect,svg.lc-rect):not([fill]){fill:var(--fill-color)}:where(.lc-layout-svg .lc-rect,svg.lc-rect):not([stroke]){stroke:var(--stroke-color)}:where(.lc-rect){--fill-color:var(--color-surface-content,currentColor);--stroke-color:initial}:where(.lc-layout-html .lc-rect){box-sizing:border-box}:where(.lc-layout-html .lc-rect):not([background]){background:var(--fill-color)}:where(.lc-layout-html .lc-rect):not([border-color]){border-color:var(--stroke-color)}:where(.lc-text-svg){paint-order:stroke;overflow:visible}:where(.lc-layout-svg .lc-text,svg.lc-text):not([fill]){color:var(--fill-color);fill:currentColor}:where(.lc-layout-svg .lc-text,svg.lc-text):not([stroke]){stroke:var(--stroke-color)}:where(.lc-text){--fill-color:var(--color-surface-content,currentColor);--stroke-color:initial}:where(.lc-layout-html .lc-text){text-box:trim-both cap alphabetic}:where(.lc-layout-html .lc-text):not([background-color]){color:var(--fill-color)}:where(.lc-layout-html .lc-text):not([border-color]){border-color:var(--stroke-color)}:where(.lc-layout-svg .lc-line,svg.lc-line):not([stroke]){stroke:var(--stroke-color)}:where(.lc-line){--stroke-color:var(--color-surface-content,currentColor)}:where(.lc-layout-html .lc-line):not([background-color]){background-color:var(--stroke-color)}:where(.lc-layout-svg.svelte-1gsduri){position:absolute;inset:0;overflow:visible}:where(.lc-layout-svg.svelte-1gsduri).disablePointerEvents{pointer-events:none}:where(.lc-layout-svg.svelte-1gsduri).clip{overflow:hidden}:where(.lc-layout-canvas.svelte-t1ysbs){position:absolute;inset:0}:where(.lc-layout-canvas.svelte-t1ysbs).disablePointerEvents{pointer-events:none}:where(.lc-hit-canvas.svelte-t1ysbs){pointer-events:none;image-rendering:pixelated;opacity:0;position:absolute;inset:0}:where(.lc-hit-canvas.svelte-t1ysbs).debug{border:1px solid var(--color-danger,red);opacity:1}:where(.lc-layout-html.svelte-93izsv){position:absolute;inset:0}:where(.lc-layout-html.svelte-93izsv).disablePointerEvents{pointer-events:none}:where(.lc-layout-html.svelte-93izsv).clip{overflow:hidden}}@layer components{:where(.lc-tooltip-root.svelte-1p9vmt8){z-index:50;-webkit-user-select:none;user-select:none;position:absolute}:where(.lc-tooltip-root.svelte-1p9vmt8).portaled{position:fixed}:where(.lc-tooltip-root.svelte-1p9vmt8).disablePointerEvents{pointer-events:none}:where(.lc-tooltip-container.svelte-1p9vmt8):not([data-variant=none]){-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border-radius:.25rem;height:100%;padding:4px 8px;font-size:.875rem;line-height:1.25rem;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}:where(.lc-tooltip-container.svelte-1p9vmt8)[data-variant=default]{color:var(--color-surface-content,currentColor);background-color:color-mix(in oklab, var(--lightningcss-light,var(--color-surface-100,white))var(--lightningcss-dark,var(--color-surface-300,black)) 90%, transparent)}:where(.lc-tooltip-container.svelte-1p9vmt8)[data-variant=default] .label{color:color-mix(in oklab, var(--color-surface-content,currentColor) 75%, transparent)}:where(.lc-tooltip-container.svelte-1p9vmt8)[data-variant=invert]{color:var(--color-surface-100,var(--lightningcss-light,#fff)var(--lightningcss-dark,#000));background-color:color-mix(in oklab, var(--color-surface-content,currentColor) 90%, transparent)}:where(.lc-tooltip-container.svelte-1p9vmt8)[data-variant=invert] .label{color:color-mix(in oklab, var(--color-surface-100,var(--lightningcss-light,#fff)var(--lightningcss-dark,#000)) 50%, transparent)}:where(.lc-tooltip-header.svelte-2lbpvv){white-space:nowrap;border-bottom:1px solid color-mix(in oklab, var(--color-surface-content,currentColor) 20%, transparent);align-items:center;gap:8px;margin-bottom:4px;padding-bottom:4px;font-weight:600;display:flex}:where(.lc-tooltip-header-color.svelte-2lbpvv){background-color:var(--color);border-radius:9999px;flex-shrink:0;width:8px;height:8px;display:inline-block}:where(.lc-tooltip-list.svelte-1x98x0g){grid-template-columns:1fr auto;align-items:start;gap:4px 8px;display:grid}:where(.lc-tooltip-item-root.svelte-1vsi2t9){display:contents}:where(.lc-tooltip-item-root[data-highlighted].svelte-1vsi2t9)>:where(.lc-tooltip-item-label.svelte-1vsi2t9,.lc-tooltip-item-value.svelte-1vsi2t9){opacity:1;transition:opacity .15s}:where(.lc-tooltip-item-root[data-highlighted=false].svelte-1vsi2t9)>:where(.lc-tooltip-item-label.svelte-1vsi2t9,.lc-tooltip-item-value.svelte-1vsi2t9){opacity:.1}:where(.lc-tooltip-item-color.svelte-1vsi2t9){background-color:var(--color);border-radius:9999px;width:8px;height:8px;display:inline-block}:where(.lc-tooltip-item-label.svelte-1vsi2t9){white-space:nowrap;align-items:center;gap:8px;display:flex}:where(.lc-tooltip-item-value.svelte-1vsi2t9){font-variant-numeric:tabular-nums}:where(.lc-tooltip-item-value.svelte-1vsi2t9)[data-align=right]{text-align:right}:where(.lc-tooltip-item-value.svelte-1vsi2t9)[data-align=center]{text-align:center}:where(.lc-tooltip-context-container.svelte-1jgq1k7){position:absolute}:where(.lc-tooltip-context.svelte-1jgq1k7){touch-action:var(--touch-action);position:absolute}:where(.lc-tooltip-context.svelte-1jgq1k7).debug{outline:1px solid var(--color-danger);background-color:color-mix(in oklab, var(--color-danger) 10%, transparent)}:where(.lc-tooltip-voronoi-path).debug{stroke:var(--color-danger);fill:color-mix(in oklab, var(--color-danger) 10%, transparent)}:where(.lc-tooltip-rect.svelte-1jgq1k7){fill:#0000}:where(.lc-tooltip-rect.svelte-1jgq1k7).debug{stroke:var(--color-danger);fill:color-mix(in oklab, var(--color-danger) 10%, transparent)}:where(.lc-tooltip-quadtree-rect.svelte-1jgq1k7){fill:#0000}:where(.lc-tooltip-quadtree-rect.svelte-1jgq1k7).debug{stroke:var(--color-danger);fill:color-mix(in oklab, var(--color-danger) 10%, transparent)}:where(.lc-axis-rule),:where(.lc-axis-tick){--stroke-color:color-mix(in oklab, var(--color-surface-content,currentColor) 50%, transparent)}:where(.lc-axis-grid){--stroke-color:color-mix(in oklab, var(--color-surface-content,currentColor) 10%, transparent)}:where(.lc-axis-label,.lc-axis-tick-label){stroke:var(--color-surface-100,var(--lightningcss-light,#fff)var(--lightningcss-dark,#000));stroke-width:2px;font-size:10px;font-weight:300}:where(.lc-rule-x-line,.lc-rule-y-line,.lc-rule-x-radial-line,.lc-rule-y-radial-circle):not([class*=lc-axis],[class*=lc-grid]){--stroke-color:color-mix(in oklab, var(--color-surface-content,currentColor) 50%, transparent)}:where(.lc-rule-y-radial-circle){--fill-color:none}:where(.lc-debug-frame){--fill-color:color-mix(in oklab, var(--color-danger) 10%, transparent)}:where(.lc-grid-x-rule,.lc-grid-x-end-rule,.lc-grid-x-radial-line,.lc-grid-y-rule,.lc-grid-y-end-rule,.lc-grid-y-radial-line){--stroke-color:color-mix(in oklab, var(--color-surface-content,currentColor) 10%, transparent)}:where(.lc-grid-y-radial-circle){--fill-color:none;--stroke-color:color-mix(in oklab, var(--color-surface-content,currentColor) 10%, transparent)}:where(.lc-highlight-area){--fill-color:color-mix(in oklab, var(--color-surface-content,currentColor) 5%, transparent)}:where(.lc-highlight-bar){--fill-color:var(--color-primary,currentColor)}:where(.lc-highlight-line){--stroke-color:color-mix(in oklab, var(--color-surface-content,currentColor) 20%, transparent);stroke-width:2px;stroke-dasharray:2 2;pointer-events:none}:where(.lc-highlight-point){--stroke-color:white;--fill-color:var(--color-primary,currentColor);paint-order:stroke;filter:drop-shadow(var(--drop-shadow-sm,0 1px 2px #00000026))}}.lc-root-container.svelte-15q3ff,.lc-root-container.svelte-15q3ff *{box-sizing:border-box}.lc-root-container.svelte-15q3ff{-webkit-user-select:var(--lc-user-select,none);user-select:var(--lc-user-select,none)}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer components{:where(.lc-labels-text){font-size:var(--labels-font-size,12px);--fill-color:var(--color-surface-content,currentColor);--stroke-color:var(--color-surface-100,var(--lightningcss-light,#fff)var(--lightningcss-dark,#000))}:where(.lc-labels-text)[data-placement=inside],:where(.lc-labels-text)[data-placement=center]{--fill-color:var(--color-surface-100,var(--lightningcss-light,#fff)var(--lightningcss-dark,#000));--stroke-color:var(--color-surface-content,currentColor)}:where(.lc-labels-link){--stroke-color:var(--color-surface-content,currentColor);fill:none;opacity:.4;pointer-events:none}}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer components{:where(.lc-legend-container.svelte-1i67e7g){z-index:1;display:inline-block}:where(.lc-legend-container.svelte-1i67e7g)[data-placement]{position:absolute}:where(.lc-legend-container.svelte-1i67e7g)[data-placement=top-left]{top:0;left:0}:where(.lc-legend-container.svelte-1i67e7g)[data-placement=top]{top:0;left:50%;transform:translate(-50%)}:where(.lc-legend-container.svelte-1i67e7g)[data-placement=top-right]{top:0;right:0}:where(.lc-legend-container.svelte-1i67e7g)[data-placement=left]{top:50%;left:0;transform:translateY(-50%)}:where(.lc-legend-container.svelte-1i67e7g)[data-placement=center]{top:50%;left:50%;transform:translate(-50%,-50%)}:where(.lc-legend-container.svelte-1i67e7g)[data-placement=right]{top:50%;right:0;transform:translateY(-50%)}:where(.lc-legend-container.svelte-1i67e7g)[data-placement=bottom-left]{bottom:0;left:0}:where(.lc-legend-container.svelte-1i67e7g)[data-placement=bottom]{bottom:0;left:50%;transform:translate(-50%)}:where(.lc-legend-container.svelte-1i67e7g)[data-placement=bottom-right]{bottom:0;right:0}:where(.lc-legend-title.svelte-1i67e7g){font-size:10px;font-weight:600}:where(.lc-legend-ramp-svg.svelte-1i67e7g){overflow:visible}:where(.lc-legend-tick-text.svelte-1i67e7g){fill:var(--color-surface-content,currentColor);font-size:10px}:where(.lc-legend-tick-line.svelte-1i67e7g){stroke:var(--color-surface-content,currentColor)}:where(.lc-legend-indicator.svelte-1i67e7g){fill:var(--color-surface-content,currentColor)}:where(.lc-legend-swatch-group.svelte-1i67e7g){gap:.25rem 1rem;display:flex}:where(.lc-legend-swatch-group.svelte-1i67e7g)[data-orientation=vertical]{flex-direction:column}:where(.lc-legend-swatch-button.svelte-1i67e7g){white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:.25rem;display:flex;overflow:hidden}:where(.lc-legend-swatch.svelte-1i67e7g){border-radius:9999px;flex-shrink:0;width:16px;height:16px}:where(.lc-legend-swatch-label.svelte-1i67e7g){color:var(--color-surface-content,currentColor);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1.33333;overflow:hidden}}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer base{:where(.lc-group-div.svelte-1mg96lr){position:absolute}:where(.lc-marker){overflow:visible}:where(.lc-marker)[data-type=arrow],:where(.lc-marker)[data-type=circle-stroke],:where(.lc-marker)[data-type=square-stroke],:where(.lc-marker)[data-type=line]{fill:none;stroke:context-stroke;stroke-linecap:round;stroke-linejoin:round}:where(.lc-marker)[data-type=circle]{stroke:var(--color-surface-100,var(--lightningcss-light,#fff)var(--lightningcss-dark,#000))}:where(.lc-marker)[data-type=triangle],:where(.lc-marker)[data-type=dot],:where(.lc-marker)[data-type=circle],:where(.lc-marker)[data-type=square]{fill:context-stroke}:where(.lc-marker)[data-type=circle-stroke],:where(.lc-marker)[data-type=square-stroke]{fill:var(--color-surface-100,var(--lightningcss-light,#fff)var(--lightningcss-dark,#000))}:where(.lc-path){--fill-color:transparent;--stroke-color:var(--color-surface-content,currentColor)}:where(.lc-layout-svg .lc-path,svg.lc-path):not([fill]){fill:var(--fill-color)}:where(.lc-layout-svg .lc-path,svg.lc-path):not([stroke]){stroke:var(--stroke-color)}}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer base{:where(.lc-transform-context.svelte-1ckwaxu){height:100%}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer components{:where(.lc-voronoi-path,.lc-voronoi-geo-path){fill:#0000;stroke:#0000}}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as e,At as t,B as n,Et as r,J as i,P as a,R as o,a as s,bt as c,f as l,ft as u,ht as d,i as f,it as p,j as m,k as h,lt as g,mt as _,o as v,ot as y,s as b,st as x,yt as S,z as C}from"./pqiPC7Y8.js";import"./xihTtKlq.js";import{i as w,t as T}from"./CyncJW0D.js";import{c as E,n as D,o as O,t as k}from"./snfmbqby.js";import{a as A,i as j,n as M,o as N,r as P}from"./BGmgUZMc.js";function F(e,t){let n=0;if(t===void 0)for(let t of e)(t=+t)&&(n+=t);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&(n+=i)}return n}var I=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),L=n(`<div><!></div>`);function R(n,a){c(a,!0);let d=f(a,`ref`,15),m=s(a,I),h=_(void 0);p(()=>{d(i(h))});var g=L();l(g,e=>({class:e,...m}),[()=>E(`lc-tooltip-separator`,a.class)],void 0,void 0,`svelte-168nzpv`);var v=y(g);e(v,()=>a.children??t),r(g),b(g,e=>u(h,e),()=>i(h)),o(n,g),S()}var z=n(`<!> <!> <!>`,1),B=n(`<!> <!>`,1);function V(e,t){c(t,!0);let n={Root:A,Header:j,List:P,Item:M,Separator:R},r=f(t,`canHaveTotal`,3,!1),s=T(),l=d(()=>s.tooltip.series.filter(e=>e.visible));function u(e){if(s.facetBand)return s.facet.panels.find(t=>t.has(e))?.data??[e];let t=s.props.x1==null?s.props.y1==null?s.cKey(e)==null?null:s.valueAxis===`y`?s.x:s.y:s.y:s.x;if(!t)return[e];let n=t(e);return(s.facet.enabled?s.facet.panels.find(t=>t.has(e))?.data??D(s.data):D(s.data)).filter(e=>O(t(e),n))}function p(e){let t=u(e);if(t.length>1&&s.series.isDefaultSeries){let e=s.valueAxis===`y`?s.y:s.x,n=s.facetBand?s.valueAxis===`y`?s.x:s.y:s.props.x1==null?s.props.y1==null?s.c:s.y1:s.x1;return t.map((t,r)=>({key:[n(t),s.cKey(t)??r].join(`\0`),seriesKey:s.cKey(t)??null,label:s.cKey(t)??n(t),value:e(t),color:s.cChannel?s.cGet(t):void 0}))}return(t.length===1&&e===s.tooltip.data?i(l):i(l).map(e=>{let n=e.config,r=k(n?.value??(n?.data?s.props.y??s.props.x:n?.key)),i=t.find(e=>r(e)!=null);return{...e,value:i==null?void 0:r(i)}})).filter(e=>e.value!=null).map(e=>({key:e.key,seriesKey:e.key,label:e.label,value:e.value,color:e.color}))}let _=d(()=>N(s.tooltip.mode)),y=d(()=>i(_)?s.tooltip.series.find(e=>e.key===s.tooltip.data?.seriesKey)??s.tooltip.series[0]:null);function b(e){if(e)return s.facetBand?s.facet.tooltipLabel(e):s.valueAxis===`y`?s.x(e):s.y(e)}function E(e){if(e&&!s.facetBand&&s.facet.enabled)return s.facet.tooltipLabel(e)}function I(e){let n=E(e);return n==null?void 0:`${n} · ${w(b(e),t.tooltipProps?.header?.format)}`}function L(e){return e?s.series.isHighlighted(e,!0):void 0}function V(e){return s.cKey(e)??i(y)?.key??null}var H=C(),U=x(H);{let e=(e,c)=>{let l=()=>(c?.()).data;var u=C(),f=x(u),S=e=>{var r=B(),c=x(r),u=e=>{var r=C(),a=x(r);{let e=d(()=>i(y).label??i(y).key);h(a,()=>n.Header,(n,r)=>{r(n,v({get value(){return i(e)},get color(){return i(y).color}},()=>t.tooltipProps?.header))})}o(e,r)};a(c,e=>{i(y)&&i(y).key!=="default"&&e(u)});var f=g(c,2);h(f,()=>n.List,(e,r)=>{r(e,v(()=>t.tooltipProps?.list,{children:(e,r)=>{var c=z(),u=x(c);{let e=d(()=>typeof s.config.x==`string`?s.config.x:`x`),r=d(()=>s.x(l())),a=d(()=>L(V(l())));h(u,()=>n.Item,(n,o)=>{o(n,v({get label(){return i(e)},get value(){return i(r)},get"data-highlighted"(){return i(a)},get format(){return w},onpointerenter:()=>s.series.highlightKey=V(l()),onpointerleave:()=>s.series.highlightKey=null},()=>t.tooltipProps?.item))})}var f=g(u,2);{let e=d(()=>typeof s.config.y==`string`?s.config.y:`y`),r=d(()=>s.y(l())),a=d(()=>L(V(l())));h(f,()=>n.Item,(n,o)=>{o(n,v({get label(){return i(e)},get value(){return i(r)},get"data-highlighted"(){return i(a)},get format(){return w},onpointerenter:()=>s.series.highlightKey=V(l()),onpointerleave:()=>s.series.highlightKey=null},()=>t.tooltipProps?.item))})}var p=g(f,2),m=e=>{var r=C(),a=x(r);{let e=d(()=>typeof s.config.r==`string`?s.config.r:`r`),r=d(()=>s.r(l())),o=d(()=>L(V(l())));h(a,()=>n.Item,(n,a)=>{a(n,v({get label(){return i(e)},get value(){return i(r)},get"data-highlighted"(){return i(o)},get format(){return w},onpointerenter:()=>s.series.highlightKey=V(l()),onpointerleave:()=>s.series.highlightKey=null},()=>t.tooltipProps?.item))})}o(e,r)};a(p,e=>{s.config.r&&e(m)}),o(e,c)},$$slots:{default:!0}}))}),o(e,r)},T=e=>{let c=d(()=>I(l()));var u=B(),f=x(u),_=e=>{var r=C(),a=x(r);h(a,()=>n.Header,(e,n)=>{n(e,v(()=>t.tooltipProps?.header,{get value(){return i(c)},format:void 0}))}),o(e,r)},y=e=>{var r=C(),a=x(r);{let e=d(()=>b(l()));h(a,()=>n.Header,(n,r)=>{r(n,v({get value(){return i(e)},get format(){return w}},()=>t.tooltipProps?.header))})}o(e,r)};a(f,e=>{i(c)==null?e(y,-1):e(_)});var S=g(f,2);h(S,()=>n.List,(e,c)=>{c(e,v(()=>t.tooltipProps?.list,{children:(e,c)=>{var u=B(),f=x(u);m(f,19,()=>p(l()),(e,t)=>e.key??t,(e,r)=>{var a=C(),c=x(a);{let e=d(()=>i(r).seriesKey==null?void 0:s.series.isHighlighted(i(r).seriesKey,!0));h(c,()=>n.Item,(n,a)=>{a(n,v({get label(){return i(r).label},get value(){return i(r).value},get color(){return i(r).color},get"data-highlighted"(){return i(e)},get format(){return w},valueAlign:`right`,onpointerenter:()=>s.series.highlightKey=i(r).seriesKey,onpointerleave:()=>s.series.highlightKey=null},()=>t.tooltipProps?.item))})}o(e,a)});var _=g(f,2),y=e=>{var r=B(),a=x(r);h(a,()=>n.Separator,(e,n)=>{n(e,v(()=>t.tooltipProps?.separator,{children:void 0}))});var s=g(a,2);{let e=d(()=>F(p(l()),e=>e.value??0));h(s,()=>n.Item,(n,r)=>{r(n,v({label:`total`,get value(){return i(e)},format:`integer`,valueAlign:`right`},()=>t.tooltipProps?.item))})}o(e,r)},b=d(()=>r()&&p(l()).length>1&&!t.tooltipProps?.hideTotal);a(_,e=>{i(b)&&e(y)}),o(e,u)},$$slots:{default:!0}}))}),o(e,u)};a(f,e=>{i(_)?e(S):e(T,-1)}),o(e,u)};h(U,()=>n.Root,(n,r)=>{r(n,v({get context(){return s}},()=>t.tooltipProps?.root,{children:e,$$slots:{default:!0}}))})}o(e,H),S()}export{V as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{At as e,D as t,Dt as n,J as r,O as i,ft as a,mt as o,tt as s}from"./pqiPC7Y8.js";import"./CyncJW0D.js";function c(e){return Object.prototype.toString.call(e)===`[object Date]`}function l(e,t,n,r){if(typeof n==`number`||c(n)){let i=r-n,a=(n-t)/(e.dt||1/60),o=(a+(e.opts.stiffness*i-e.opts.damping*a)*e.inv_mass)*e.dt;return Math.abs(o)<e.opts.precision&&Math.abs(i)<e.opts.precision?r:(e.settled=!1,c(n)?new Date(n.getTime()+o):n+o)}if(Array.isArray(n))return n.map((i,a)=>l(e,t[a],n[a],r[a]));if(typeof n==`object`){let i={};for(let a in n)i[a]=l(e,t[a],n[a],r[a]);return i}throw Error(`Cannot spring ${typeof n} values`)}var u=class c{#e=o(.15);#t=o(.8);#n=o(.01);#r;#i;#a=void 0;#o=0;#s=1;#c=0;#l=null;#u=null;constructor(e,t={}){this.#r=o(e),this.#i=o(e),typeof t.stiffness==`number`&&(this.#e.v=d(t.stiffness,0,1)),typeof t.damping==`number`&&(this.#t.v=d(t.damping,0,1)),typeof t.precision==`number`&&(this.#n.v=t.precision)}static of(e,t){let n=new c(e(),t);return s(()=>{n.set(e())}),n}#d(e){if(a(this.#i,e),this.#r.v??=e,this.#a??=this.#r.v,!this.#l){this.#o=i.now();var n=1e3/(this.#c*60);this.#l??=t(e=>{this.#s=Math.min(this.#s+n,1);let t=Math.min(e-this.#o,1e3/30),r={inv_mass:this.#s,opts:{stiffness:this.#e.v,damping:this.#t.v,precision:this.#n.v},settled:!0,dt:t*60/1e3};var i=l(r,this.#a,this.#r.v,this.#i.v);return this.#a=this.#r.v,this.#o=e,a(this.#r,i),r.settled&&(this.#l=null),!r.settled})}return this.#l.promise}set(t,r){if(this.#u?.reject(Error(`Aborted`)),r?.instant||this.#r.v===void 0)return this.#l?.abort(),this.#l=null,a(this.#r,a(this.#i,t)),this.#a=t,Promise.resolve();r?.preserveMomentum&&(this.#s=0,this.#c=r.preserveMomentum);var i=this.#u=n();return i.promise.catch(e),this.#d(t).then(()=>{i===this.#u&&i.resolve(void 0)}),i.promise}get current(){return r(this.#r)}get damping(){return r(this.#t)}set damping(e){a(this.#t,d(e,0,1))}get precision(){return r(this.#n)}set precision(e){a(this.#n,e)}get stiffness(){return r(this.#e)}set stiffness(e){a(this.#e,d(e,0,1))}get target(){return r(this.#i)}set target(e){this.set(e)}};function d(e,t,n){return Math.max(t,Math.min(n,e))}function f(e){return e}function p(e){return e<.5?4*e*e*e:.5*(2*e-2)**3+1}function m(e){return e*e*e}function h(e,t){if(e===t||e!==e)return()=>e;let n=typeof e;if(n!==typeof t||Array.isArray(e)!==Array.isArray(t))throw Error(`Cannot interpolate values of different type`);if(Array.isArray(e)){let n=t.map((t,n)=>h(e[n],t));return e=>n.map(t=>t(e))}if(n===`object`){if(!e||!t)throw Error(`Object cannot be null`);if(c(e)&&c(t)){let n=e.getTime(),r=t.getTime()-n;return e=>new Date(n+e*r)}let n=Object.keys(t),r={};return n.forEach(n=>{r[n]=h(e[n],t[n])}),e=>{let t={};return n.forEach(n=>{t[n]=r[n](e)}),t}}if(n===`number`){let n=t-e;return t=>e+t*n}return()=>t}var g=class e{#e;#t;#n;#r=null;constructor(e,t={}){this.#e=o(e),this.#t=o(e),this.#n=t}static of(t,n){let r=new e(t(),n);return s(()=>{r.set(t())}),r}set(e,n){a(this.#t,e);let{delay:r=0,duration:o=400,easing:s=f,interpolate:c=h}={...this.#n,...n};if(o===0)return this.#r?.abort(),a(this.#e,e),Promise.resolve();let l=i.now()+r,u,d=!1,p=this.#r;return this.#r=t(t=>{if(t<l)return!0;if(!d){d=!0;let t=this.#e.v;u=c(t,e),typeof o==`function`&&(o=o(t,e)),p?.abort(),p=null}let n=t-l;return n>o?(a(this.#e,e),!1):(a(this.#e,u(s(n/o))),!0)}),this.#r.promise}get current(){return r(this.#e)}get target(){return r(this.#t)}set target(e){this.set(e)}};export{u as i,m as n,p as r,g as t};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as e,B as t,J as n,P as r,R as i,a,bt as o,ft as s,ht as c,i as l,j as u,k as d,lt as f,o as p,st as m,yt as h,z as g}from"./pqiPC7Y8.js";import"./xihTtKlq.js";import{i as _,t as v}from"./CyncJW0D.js";import{D as y}from"./BAynhd7i.js";import{c as b,t as x}from"./snfmbqby.js";import{i as S}from"./DU0OQtdJ.js";import{t as C}from"./zHL7lw4G.js";import{c as w,o as T,s as E}from"./CG6rRxUy.js";import{i as D,n as O,r as k,t as A}from"./D76YLq-2.js";import{n as j}from"./C_aXFBl3.js";import{n as M,r as N,t as P}from"./yCfI4PCa.js";import{n as F,r as I,t as L}from"./BZFYtRPj.js";import{_ as R,g as z,h as B,m as V,p as H,v as U}from"./BGmgUZMc.js";var W=class{#e=()=>({});ctx=v();constructor(e){this.#e=e,this.ctx.registerComponent({name:`Labels`,kind:`composite-mark`})}#t=c(()=>j(this.ctx,()=>({x:this.#e().x,y:this.#e().y})));get getDimensions(){return n(this.#t)}set getDimensions(e){s(this.#t,e)}#n=c(()=>{let e=this.#e().seriesKey;return e?this.ctx.series.series.find(t=>t.key===e):void 0});get series(){return n(this.#n)}set series(e){s(this.#n,e)}#r=c(()=>this.#e().opacity??(this.series?.key==null||this.ctx.series.visibleSeries.length<=1||this.ctx.series.isHighlighted(this.series.key,!0)?1:.1));get derivedOpacity(){return n(this.#r)}set derivedOpacity(e){s(this.#r,e)}getTextProps(e,t,n){let r=this.#e(),i=r.placement??`outside`,a=r.offset??(i===`center`||i===`middle`?0:4),o=S(this.ctx.yScale)?e.xValue:e.yValue,s=e.edgeIndex==null?o<0:e.edgeIndex===0,c=typeof r.fill==`function`?x(r.fill)(e.data):r.fill,l=r.value?x(r.value)(e.data):S(this.ctx.yScale)?e.xValue:e.yValue,u=_(l,r.format??(r.value?void 0:S(this.ctx.yScale)?this.ctx.xScale.tickFormat?.():this.ctx.yScale.tickFormat?.())),d;if(S(this.ctx.yScale)){if(i===`center`){let t=this.getDimensions(e.data)??{x:e.x,y:e.y,width:0,height:0};d={value:u,fill:c,x:t.x+t.width/2,y:t.y+t.height/2,textAnchor:`middle`,verticalAnchor:`middle`,capHeight:`.6rem`}}else d=s?{value:u,fill:c,x:e.x+(i===`outside`?-a:a),y:e.y,textAnchor:i===`middle`?`middle`:i===`outside`?`end`:`start`,verticalAnchor:`middle`,capHeight:`.6rem`}:{value:u,fill:c,x:e.x+(i===`outside`?a:-a),y:e.y,textAnchor:i===`middle`?`middle`:i===`outside`?`start`:`end`,verticalAnchor:`middle`,capHeight:`.6rem`}}else if(i===`center`){let t=this.getDimensions(e.data)??{x:e.x,y:e.y,width:0,height:0};d={value:u,fill:c,x:t.x+t.width/2,y:t.y+t.height/2,capHeight:`.6rem`,textAnchor:`middle`,verticalAnchor:`middle`}}else d=s?{value:u,fill:c,x:e.x,y:e.y+(i===`outside`?a:-a),capHeight:`.6rem`,textAnchor:`middle`,verticalAnchor:i===`middle`?`middle`:i===`outside`?`start`:`end`}:{value:u,fill:c,x:e.x,y:e.y+(i===`outside`?-a:a),capHeight:`.6rem`,textAnchor:`middle`,verticalAnchor:i===`middle`?`middle`:i===`outside`?`end`:`start`};if(i===`smart`&&t!=null&&n!=null){let r=e=>S(this.ctx.yScale)?e.xValue:e.yValue,i=r(e),o=n>0?r(t[n-1]):i,s=n<t.length-1?r(t[n+1]):i,c=Math.abs(o-i)<a,l=Math.abs(i-s)<a,u=o<=i&&i>=s||c&&l,f=o>=i&&i<=s||c&&l,p=!u&&!f&&o<i,m=!u&&!f&&o>=i,h=(e.r??0)+a;return{...d,x:e.x,y:e.y,dx:p?c?h:-h:m?l?-h:h:0,dy:u?-h:f?h:0,textAnchor:p?c?`start`:`end`:m?l?`end`:`start`:`middle`,verticalAnchor:u?`end`:f?`start`:`middle`}}return d}getVoronoiLabels(e){let t=this.#e(),n=t.offset??4,r=z(t.fontSize??12),i=t.links!=null&&t.links!==!1,a=this.ctx.width*.2,o=[{textAnchor:`start`,dx:n,dy:0},{textAnchor:`middle`,dx:0,dy:n+r/2},{textAnchor:`end`,dx:-n,dy:0},{textAnchor:`middle`,dx:0,dy:-(n+r/2)}],s=N.from(e,e=>e.x,e=>e.y).voronoi([0,0,this.ctx.width,this.ctx.height]),c=e.map((e,n)=>{let c=s.cellPolygon(n),l=c?P(c):[e.x,e.y],u=c?Math.abs(M(c)):0,d=t.value?x(t.value)(e.data):S(this.ctx.yScale)?e.xValue:e.yValue,f=String(_(d,t.format)),p=typeof t.fill==`function`?x(t.fill)(e.data):t.fill;if(i){let t=Math.hypot(l[0]-e.x,l[1]-e.y),i=c!=null&&t>1e-6&&t<=a,o={x:e.x,y:e.y,labelPlacement:`smart`,labelX:i?l[0]:e.x,labelY:i?l[1]:e.y,fontSize:r,link:i},s=k(o);return{point:e,i:n,area:u,textProps:{value:f,fill:p,x:s.text.x,y:s.text.y,textAnchor:s.text.textAnchor,verticalAnchor:s.text.verticalAnchor},box:D(f,o),link:i?{x1:e.x,y1:e.y,x2:s.anchor.x,y2:s.anchor.y}:null}}let m=(Math.round(Math.atan2(l[1]-e.y,l[0]-e.x)/Math.PI*2)+4)%4,h=o[m];return{point:e,i:n,area:u,textProps:{value:f,fill:p,x:e.x,y:e.y,dx:h.dx,dy:h.dy,textAnchor:h.textAnchor,verticalAnchor:`middle`},box:R(f,e.x,e.y,{dx:h.dx,dy:h.dy,textAnchor:h.textAnchor,fontSize:r}),link:null}}),l=t.occlude!=null&&t.occlude!==!1,u=typeof t.occlude==`object`?t.occlude.padding??2:2,d=l?new Set(U(c,e=>e.box,{priority:e=>e.area,padding:u}).map(e=>e.i)):null;return c.map(e=>({textProps:e.textProps,link:e.link,visible:d==null||d.has(e.i)}))}},G=new Set([`$$slots`,`$$events`,`$$legacy`,`Text`,`Group`,`Points`,`Link`,`data`,`value`,`x`,`y`,`seriesKey`,`placement`,`layout`,`occlude`,`links`,`offset`,`format`,`key`,`children`,`class`,`fill`,`opacity`]),K=t(`<!> <!>`,1);function q(t,s){o(s,!0);let _=l(s,`placement`,3,`outside`),v=l(s,`offset`,19,()=>_()===`center`||_()===`middle`?0:4),y=l(s,`key`,3,(e,t)=>t),x=a(s,G),S=c(()=>typeof s.links==`object`?s.links:{}),w=new W(()=>({data:s.data,value:s.value,x:s.x,y:s.y,seriesKey:s.seriesKey,placement:_(),layout:s.layout,occlude:s.occlude,links:s.links,offset:v(),format:s.format,fill:s.fill,opacity:s.opacity,fontSize:s.fontSize})),T=c(()=>s.fontSize==null?void 0:`--labels-font-size: ${z(s.fontSize)}px`);var E=g(),D=m(E);d(D,()=>s.Group,(t,a)=>{a(t,{class:`lc-labels-g`,get opacity(){return w.derivedOpacity},get style(){return n(T)},children:(t,a)=>{var o=g(),l=m(o);{let t=(t,a)=>{let o=()=>(a?.()).points;var l=g(),h=m(l),v=t=>{let a=c(()=>w.getVoronoiLabels(o()));var l=g(),h=m(l);u(h,19,o,(e,t)=>y()(e.data,t),(t,o,l)=>{let u=c(()=>n(a)[n(l)]);var h=g(),_=m(h),v=t=>{let a=c(()=>C(n(u).textProps,`lc-labels-text`));var l=g(),h=m(l),_=t=>{var r=g(),c=m(r);e(c,()=>s.children,()=>({data:n(o),textProps:n(a),link:n(u).link})),i(t,r)},v=e=>{var t=K(),o=m(t),l=e=>{var t=g(),r=m(t);{let e=c(()=>b(`lc-labels-link`,typeof n(S).class==`string`?n(S).class:void 0));d(r,()=>s.Link,(t,r)=>{r(t,p({get x1(){return n(u).link.x1},get y1(){return n(u).link.y1},get x2(){return n(u).link.x2},get y2(){return n(u).link.y2},type:`straight`},()=>n(S),{get class(){return n(e)}}))})}i(e,t)};r(o,e=>{n(u).link&&s.Link&&e(l)});var h=f(o,2);{let e=c(()=>C(n(u).textProps,`lc-labels-text`,s.class??``));d(h,()=>s.Text,(t,r)=>{r(t,p(()=>n(a),()=>x,()=>n(e)))})}i(e,t)};r(h,e=>{s.children?e(_):e(v,-1)}),i(t,l)};r(_,e=>{n(u).visible&&e(v)}),i(t,h)}),i(t,l)},T=t=>{var a=g(),l=m(a);u(l,19,o,(e,t)=>y()(e.data,t),(t,a,l)=>{let u=c(()=>w.getTextProps(n(a),o(),n(l))),f=c(()=>C(n(u),`lc-labels-text`));var h=g(),v=m(h),y=t=>{var r=g(),o=m(r);e(o,()=>s.children,()=>({data:n(a),textProps:n(f)})),i(t,r)},b=e=>{var t=g(),r=m(t);{let e=c(()=>C(n(u),`lc-labels-text`,s.class??``));d(r,()=>s.Text,(t,r)=>{r(t,p({get"data-placement"(){return _()}},()=>n(f),()=>x,()=>n(e)))})}i(e,t)};r(v,e=>{s.children?e(y):e(b,-1)}),i(t,h)}),i(t,a)};r(h,e=>{s.layout===`voronoi`?e(v):e(T,-1)}),i(t,l)};d(l,()=>s.Points,(e,n)=>{n(e,{get data(){return s.data},get x(){return s.x},get y(){return s.y},get seriesKey(){return s.seriesKey},children:t,$$slots:{default:!0}})})}i(t,o)},$$slots:{default:!0}})}),i(t,E),h()}var J=new Set([`$$slots`,`$$events`,`$$legacy`]);function Y(e,t){let n=a(t,J);q(e,p({get Text(){return B},get Group(){return w},get Points(){return I},get Link(){return O}},()=>n))}var X=new Set([`$$slots`,`$$events`,`$$legacy`]);function Z(e,t){let n=a(t,X);q(e,p({get Text(){return V},get Group(){return E},get Points(){return F},get Link(){return A}},()=>n))}var Q=new Set([`$$slots`,`$$events`,`$$legacy`]);function $(e,t){let n=a(t,Q);q(e,p({get Text(){return H},get Group(){return T},get Points(){return L}},()=>n))}var ee=new Set([`$$slots`,`$$events`,`$$legacy`]);function te(e,t){o(t,!0);let n=y(),s=a(t,ee);var c=g(),l=m(c),u=e=>{Y(e,p(()=>s))},d=e=>{Z(e,p(()=>s))},f=e=>{$(e,p(()=>s))};r(l,e=>{n===`svg`?e(u):n===`canvas`?e(d,1):n===`html`&&e(f,2)}),i(e,c),h()}export{te as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{J as e,Z as t,ft as n,mt as r,rt as i}from"./pqiPC7Y8.js";import{i as a,t as o}from"./B3p3umIY.js";var s=class extends a{type=`spring`;constructor(e,t){super(e,t)}},c=class extends o{type=`tween`;constructor(e,t){super(e,t)}},l=class{type=`none`;#e=r(null);#t=r(null);constructor(e,t={}){n(this.#e,e,!0),n(this.#t,e,!0)}set(e,t={}){return n(this.#e,e,!0),n(this.#t,e,!0),Promise.resolve()}get current(){return e(this.#e)}get target(){return e(this.#t)}set target(e){this.set(e)}};function u(e,n,r){if(!r.controlled){if(typeof window>`u`){try{let t=n();t!=null&&e.set(t,{instant:!0})}catch{}return}i(()=>{let r=n();r!=null&&t(()=>{e.set(r,{instant:e.target==null})})})}}function d(e,t,n,r={}){if(n===void 0)return{type:`none`,get current(){return t()},get target(){return t()},set target(e){},set(e,t){return Promise.resolve()}};let i=_(n),a=i.type===`spring`?new s(e,i.options):i.type===`tween`?new c(e,i.options):new l(e);return u(a,t,r),a}function f(e,t){return d(e,()=>e,t,{controlled:!0})}function p(){let t=0,i=r(!1);function a(e){if(t+=1,!e){n(i,!1);return}let r=t;n(i,!0),e.then(()=>{r===t&&n(i,!1)}).catch(()=>{})}return{handle:a,get current(){return e(i)}}}function m(e){if(e===void 0)return null;let t=_(e);if(t.type===`none`)return null;let n=new Map;function r(e){return t.type===`spring`?new s(e,t.options):new c(e,t.options)}return{update(e,t){let i=n.get(e);i||(i=new Map,n.set(e,i));for(let[e,n]of Object.entries(t)){let t=i.get(e);t?t.set(n):(t=r(n),i.set(e,t))}},get(e){let t=n.get(e);if(!t)return null;let r={};for(let[e,n]of t)r[e]=n.current;return r},cleanup(e){for(let t of n.keys())e.has(t)||n.delete(t)}}}function h(e,t){let n=g(e);if(!n)return null;let r=new Map;return{update(e,i,a){let o=r.get(e);o||(o=new c(a?.()??i,{interpolate:t,...n.options}),r.set(e,o)),o.set(i)},get(e){return r.get(e)?.current??null},cleanup(e){for(let t of r.keys())e.has(t)||r.delete(t)}}}function g(e){let t=_(e);if(t.type===`tween`)return t}function _(e,t){if(typeof e==`object`&&`type`in e&&`options`in e)return typeof e.options==`object`?e:{type:e.type,options:{}};if(e===void 0)return{type:`none`,options:{}};if(typeof e==`string`)return e===`spring`?{type:`spring`,options:{}}:e===`tween`?{type:`tween`,options:{}}:{type:`none`,options:{}};if(typeof e==`object`&&`type`in e){if(e.type===`spring`){let{type:t,...n}=e;return{type:`spring`,options:n}}if(e.type===`tween`){let{type:t,...n}=e;return{type:`tween`,options:n}}return{type:`none`,options:{}}}if(t){let n=e[t];if(n!==void 0)return _(n)}return{type:`none`,options:{}}}export{h as a,p as i,m as n,g as o,d as r,_ as s,f as t};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{J as e,ht as t}from"./pqiPC7Y8.js";import{F as n,H as r,L as i,t as a}from"./CyncJW0D.js";import{c as o,n as s}from"./snfmbqby.js";var c=new r(`LayerContext`);function l(){return c.get()}function u(e){return c.set(e)}function d(e){return typeof e==`string`||typeof e==`function`}function f(...e){return e.some(e=>e!==void 0&&d(e))}function ee(e,t,n,r=0){if(e==null)return r;if(typeof e==`number`)return e;let a;if(typeof e==`string`)a=i(t,e);else if(typeof e==`function`)a=e(t);else return r;if(n){let e=n(a);return typeof e==`number`&&isFinite(e)?e:r}return typeof a==`number`?a:r}function p(e,t){if(e!=null){if(typeof e==`number`)return e;if(typeof e==`string`)return i(t,e);if(typeof e==`function`)return e(t)}}function m(e,t,n,r,i=[0,0]){let a=p(e,n),o=p(t,n);return a==null||o==null?i:r([a,o])??i}function h(e){return e.startsWith(`#`)||e.includes(`(`)}function g(e,t){if(!(typeof e!=`string`||h(e)))return t!=null&&i(t,e)!==void 0?e:void 0}function te(e,t,n,...r){if(e!=null){if(typeof e==`function`){let i=e(t,...r);return i==null?void 0:typeof i==`string`&&h(i)?i:_(i,n)}if(typeof e==`string`){if(h(e))return e;let r=i(t,e);return r===void 0?e:_(r,n)}}}function _(e,t){let n=t?t(e):void 0;return String(n??e)}function v(e,t,...n){if(e!==void 0)return typeof e==`function`?e(t,...n):e}var y=new r(`FacetPanelContext`);function b(){return y.getOr(void 0)??void 0}function x(e){return y.set(e)}function S(){let e=a(),t=b();return n=>s(n??t?.().data??e.data)}var C=new r(`GeoContext`);function ne(){return C.getOr({projection:void 0})}function re(e){return C.set(e)}function w(e,t,n,r,[i,a,o,s]){let c=n-i-a,l=r-a-o,u=n-o-s,d=r-s-i;return[`M${e+i},${t}`,`h${c}`,a>0?`a${a},${a} 0 0 1 ${a},${a}`:``,`v${l}`,o>0?`a${o},${o} 0 0 1 ${-o},${o}`:``,`h${-u}`,s>0?`a${s},${s} 0 0 1 ${-s},${-s}`:``,`v${-d}`,i>0?`a${i},${i} 0 0 1 ${i},${-i}`:``,`z`].filter(Boolean).join(` `)}function ie(e){if(e==null||e===``||e===`none`)return null;let t;return t=typeof e==`number`?[e,e]:Array.isArray(e)?e.filter(e=>Number.isFinite(e)):e.split(/[\s,]+/).filter(e=>e.length>0).map(e=>Number(e.replace(`px`,``))).filter(e=>Number.isFinite(e)),t.length===0||t.every(e=>e===0)?null:(t.length%2==1&&(t=[...t,...t]),t)}function ae(e,t,n=`to right`){let r=[],i=0;for(let n=0;n<e.length;n++){let a=e[n],o=n%2==0?t:`transparent`;r.push(`${o} ${i}px ${i+a}px`),i+=a}return`repeating-linear-gradient(${n}, ${r.join(`, `)})`}function T(e,t=0){let n=e;return n=n.replace(/([MLTQCSAZ])(-?\d*\.?\d+),(-?\d*\.?\d+)/g,(e,n,r,i)=>`${n}${r},${t}`),n=n.replace(/([v])(-?\d*\.?\d+)/g,(e,t,n)=>`${t}0`),n=n.replace(/a(-?\d*\.?\d+),(-?\d*\.?\d+) (\d+) (\d+) (\d+) (-?\d*\.?\d+),(-?\d*\.?\d+)/g,(e,t,n,r,i,a,o,s)=>`a${t},0 ${r} ${i} ${a} ${o},0`),n}var E=(e,t,n,r)=>{if(n===`length`||n===`prototype`||n===`arguments`||n===`caller`)return;let i=Object.getOwnPropertyDescriptor(e,n),a=Object.getOwnPropertyDescriptor(t,n);(D(i,a)||!r)&&Object.defineProperty(e,n,a)},D=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},O=(e,t)=>{let n=Object.getPrototypeOf(t);n!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,n)},k=(e,t)=>`/* Wrapped ${e}*/\n${t}`,A=Object.getOwnPropertyDescriptor(Function.prototype,`toString`),j=Object.getOwnPropertyDescriptor(Function.prototype.toString,`name`),M=(e,t,n)=>{let r=n===``?``:`with ${n.trim()}() `,i=k.bind(null,r,t.toString());Object.defineProperty(i,"name",j);let{writable:a,enumerable:o,configurable:s}=A;Object.defineProperty(e,"toString",{value:i,writable:a,enumerable:o,configurable:s})};function N(e,t,{ignoreNonConfigurable:n=!1}={}){let{name:r}=e;for(let r of Reflect.ownKeys(t))E(e,t,r,n);return O(e,t),M(e,t,r),e}var P=2147483647,F=new WeakMap,I=new WeakMap,L=new WeakMap;function R(e,t){let n=e.get(t);if(n){if(n.maxAge<=Date.now()){e.delete(t);return}return n}}function z(e,{cacheKey:t,cache:n=new Map,maxAge:r}={}){if(r===0)return e;if(typeof r==`number`&&Number.isFinite(r)){if(r>P)throw TypeError(`The \`maxAge\` option cannot exceed ${P}.`);if(r<0)throw TypeError("The `maxAge` option should not be a negative number.")}let i=function(...a){let o=t?t(a):a[0],s=R(n,o);if(s)return s.data;let c=e.apply(this,a),l=typeof r==`function`?r(...a):r;if(l!==void 0&&l!==1/0){if(!Number.isFinite(l))throw TypeError("The `maxAge` function must return a finite number, `0`, or `Infinity`.");if(l<=0)return c;if(l>P)throw TypeError(`The \`maxAge\` function result cannot exceed ${P}.`)}if(n.set(o,{data:c,maxAge:l===void 0||l===1/0?1/0:Date.now()+l}),l!==void 0&&l!==1/0){let e=setTimeout(()=>{n.delete(o),I.get(i)?.delete(e)},l);e.unref?.();let t=I.get(i)??new Set;t.add(e),I.set(i,t)}return c};return N(i,e,{ignoreNonConfigurable:!0}),F.set(i,n),L.set(i,t??(e=>e[0])),i}function B(e){return!e||e===`none`||e===`transparent`||/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*0\s*\)/.test(e)}function V(e){return typeof e==`string`?e.includes(`var(`)||e.toLowerCase()===`currentcolor`:!1}var H=`__layerchart_canvas_styles_id`;function U(e){if(!e)return{};let t={},n=e.split(`;`).filter(e=>e.trim());for(let e of n){let n=e.indexOf(`:`);if(n===-1)continue;let r=e.slice(0,n).trim(),i=e.slice(n+1).trim();if(!r||!i)continue;let a=r.replace(/-([a-z])/g,(e,t)=>t.toUpperCase());t[a]=i}return t}var W=[`fill`,`fillOpacity`,`stroke`,`strokeOpacity`,`strokeWidth`,`strokeDasharray`,`opacity`,`fontWeight`,`fontSize`,`fontFamily`,`textAnchor`,`textAlign`,`paintOrder`];function G(e,{styles:t,classes:n}={}){if(typeof document>`u`){let e={...t};return e.fontSize||=`10px`,e.fontFamily||=`sans-serif`,e}try{let r=document.getElementById(H);return r||(r=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`),r.setAttribute(`id`,H),r.style.display=`none`,e.after(r)),r=r,r.removeAttribute(`style`),r.removeAttribute(`class`),t&&Object.assign(r.style,t),r.style.display=`none`,n&&r.setAttribute(`class`,o(n).split(` `).filter(e=>!e.startsWith(`transition-`)).join(` `)),W.reduce((e,t)=>(e[t]=window.getComputedStyle(r)[t],e),{})}catch(e){return console.error(`Unable to get computed styles`,e),{}}}function K(e,{styles:t,classes:n}={}){return JSON.stringify({canvasId:e.id,styles:t,classes:n})}var q=z(G,{cacheKey:([e,t])=>K(e,t)});function J(e,t,n={},{applyText:r}={}){let i=U(n.style),a={...n.styles,...i},o;if(typeof document>`u`||n.classes==null&&!Object.values(a).some(V))o=a,typeof document>`u`&&!o.stroke&&!o.fill&&(o={...o,stroke:`black`});else{let{constantStyles:t,variableStyles:r}=Object.entries(a).reduce((e,[t,n])=>(V(n)?e.variableStyles[t]=n:(typeof n==`number`||typeof n==`string`)&&(e.constantStyles[t]=n),e),{constantStyles:{},variableStyles:{}});o={...q(e.canvas,{styles:r,classes:n.classes}),...t}}let s=o?.paintOrder===`stroke`?[`stroke`,`fill`]:[`fill`,`stroke`];if(o?.opacity&&(e.globalAlpha*=Number(o?.opacity)),r){let t=o.fontSize||`10px`,n=o.fontFamily||`sans-serif`;e.font=`${o.fontWeight||``} ${t} ${n}`.trim(),o.textAnchor===`middle`?e.textAlign=`center`:o.textAnchor===`end`?e.textAlign=`right`:o.textAnchor===`start`?e.textAlign=`left`:o.textAlign&&(e.textAlign=o.textAlign)}if(o.strokeDasharray&&o.strokeDasharray!==`none`){let t=o.strokeDasharray.split(/[\s,]+/).filter(e=>e.length>0).map(e=>Number(e.replace(`px`,``)));t.length>0&&t.every(e=>!isNaN(e))&&e.setLineDash(t)}for(let r of s)if(r===`fill`){let r=n.styles?.fill&&(typeof CanvasGradient<`u`&&n.styles?.fill instanceof CanvasGradient||typeof CanvasPattern<`u`&&n.styles?.fill instanceof CanvasPattern||!V(n.styles?.fill))?n.styles.fill:o?.fill;if(r&&!B(r)){let n=e.globalAlpha,i=Number(o?.fillOpacity);e.globalAlpha*=isNaN(i)?1:i,e.fillStyle=r,t.fill(e),e.globalAlpha=n}}else if(r===`stroke`){let r=n.styles?.stroke&&(typeof CanvasGradient<`u`&&n.styles?.stroke instanceof CanvasGradient||!V(n.styles?.stroke))?n.styles?.stroke:o?.stroke;if(r&&![`none`].includes(r)){let n=e.globalAlpha,i=Number(o?.strokeOpacity);Number(o?.opacity),!isNaN(i)&&i!==1&&(e.globalAlpha*=i),e.lineWidth=typeof o?.strokeWidth==`string`?Number(o?.strokeWidth?.replace(`px`,``)):o?.strokeWidth??1,e.strokeStyle=r,t.stroke(e),e.globalAlpha=n}}}function Y(e,t,n={}){let r=new Path2D(t??``);J(e,{fill:e=>e.fill(r),stroke:e=>e.stroke(r)},n)}function oe(e,t,n,r={}){t&&J(e,{fill:e=>e.fillText(t.toString(),n.x,n.y),stroke:e=>e.strokeText(t.toString(),n.x,n.y)},r,{applyText:!0})}function X(e,t,n={}){let{x:r,y:i,width:a,height:o,corners:s}=t,c=t.rx??0,l=t.ry??c;if((!s||s.every(e=>e===s[0]))&&c===0&&l===0&&!s){J(e,{fill:e=>e.fillRect(r,i,a,o),stroke:e=>e.strokeRect(r,i,a,o)},n);return}if(typeof e.roundRect==`function`){e.beginPath(),e.roundRect(r,i,a,o,s??[c,l]),J(e,{fill:e=>e.fill(),stroke:e=>e.stroke()},n),e.closePath();return}if(s){Y(e,w(r,i,a,o,s),n);return}let u=Math.min(c,a/2),d=Math.min(l,o/2);Y(e,[`M${r+u},${i}`,`h${a-2*u}`,`a${u},${d} 0 0 1 ${u},${d}`,`v${o-2*d}`,`a${u},${d} 0 0 1 ${-u},${d}`,`h${2*u-a}`,`a${u},${d} 0 0 1 ${-u},${-d}`,`v${2*d-o}`,`a${u},${d} 0 0 1 ${u},${-d}`,`z`].join(` `),n)}function Z(e,t,n={}){e.beginPath(),e.arc(t.cx,t.cy,t.r,0,2*Math.PI),J(e,{fill:e=>{e.fill()},stroke:e=>{e.stroke()}},n),e.closePath()}function se(e,t,n){let r=typeof window<`u`&&window.devicePixelRatio||1;return e.canvas.width=t*r,e.canvas.height=n*r,e.canvas.style.width=`${t}px`,e.canvas.style.height=`${n}px`,e.scale(r,r),{width:e.canvas.width,height:e.canvas.height}}function Q(e,t,n){let r=(typeof window<`u`?window.devicePixelRatio:null)??1,[i,a,o,s]=e.getImageData(t*r,n*r,1,1).data;return{r:i,g:a,b:o,a:s}}function ce(e,t,n,r,i,a){let o=e.createLinearGradient(t,n,r,i);for(let{offset:e,color:t}of a)o.addColorStop(e,t);return o}var le=z(ce,{cacheKey:e=>JSON.stringify(e.slice(1))});function ue(e,t,n,r,i){let a=document.createElement(`canvas`),o=a.getContext(`2d`);e.canvas.after(a);let s=(typeof window<`u`?window.devicePixelRatio:1)||1;a.width=Math.max(1,Math.round(t*s)),a.height=Math.max(1,Math.round(n*s)),o.scale(s,s),i&&(o.fillStyle=i,o.fillRect(0,0,t,n));for(let e of r){if(o.save(),e.type===`circle`)Z(o,{cx:e.cx,cy:e.cy,r:e.r},{styles:{fill:e.fill,opacity:e.opacity}});else if(e.type===`line`)Y(o,e.path,{styles:{stroke:e.stroke,strokeWidth:e.strokeWidth,opacity:e.opacity}});else if(e.type===`rect`){let t=typeof e.rx==`string`?$(e.rx,e.width):e.rx,n=typeof e.ry==`string`?$(e.ry,e.height):e.ry??t;X(o,{x:e.x,y:e.y,width:e.width,height:e.height,rx:t,ry:n},{styles:{fill:e.fill,opacity:e.opacity}})}o.restore()}let c=e.createPattern(a,`repeat`);if(c){let e=t/a.width,r=n/a.height;c.setTransform(new DOMMatrix([e,0,0,r,0,0]))}return e.canvas.parentElement?.removeChild(a),c}var de=z(ue,{cacheKey:e=>JSON.stringify(e.slice(1))});function $(e,t){if(e.endsWith(`%`)){let n=parseFloat(e);return Number.isFinite(n)?t/2*(n/100):0}let n=parseFloat(e);return Number.isFinite(n)?n:0}function fe(r){let i=t(r),a=t(()=>e(i)&&typeof e(i)==`object`?n(e(i)):e(i));return{get current(){return e(a)}}}export{te as C,l as D,v as E,u as O,f as S,m as T,re as _,Q as a,x as b,X as c,z as d,ae as f,ne as g,w as h,q as i,oe as l,ie as m,le as n,Z as o,T as p,de as r,Y as s,fe as t,se as u,b as v,ee as w,g as x,S as y};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{P as e,R as t,a as n,bt as r,o as i,st as a,yt as o,z as s}from"./pqiPC7Y8.js";import"./xihTtKlq.js";import{D as c}from"./BAynhd7i.js";import{C as l,w as u}from"./BGmgUZMc.js";var d=new Set([`$$slots`,`$$events`,`$$legacy`]);function f(f,p){r(p,!0);let m=c(),h=n(p,d);var g=s(),_=a(g),v=e=>{u(e,i(()=>h))},y=e=>{l(e,i(()=>h))};e(_,e=>{m===`svg`?e(v):m===`canvas`&&e(y,1)}),t(f,g),o()}export{f as default};
|
|
Binary file
|
|
Binary file
|