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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacy-client.js-DJmDw3Zx.js","sources":["../../../../.svelte-kit/output/server/chunks/legacy-client.js"],"sourcesContent":["import { i as handle_event_propagation, o as root_event_handles, r as all_registered_events } from \"./index-server.js\";\nimport { $ as increment, At as hydration_mismatch, B as destroy_effect, Bt as define_property, Ct as hydrate_next, Dt as set_hydrate_node, Et as next, F as set_active_reaction, Ft as EFFECT_TRANSPARENT, G as render_effect, H as effect_tracking, I as untrack, It as LEGACY_PROPS, K as invoke_error_boundary, L as block, M as active_reaction, Mt as svelte_boundary_reset_noop, N as get, Nt as HYDRATION_ERROR, O as is_passive_event, Ot as set_hydrating, P as set_active_effect, Pt as EFFECT_PRESERVED, Q as init_operations, R as branch, Rt as array_from, Tt as hydrating, U as move_effect, W as pause_effect, X as get_first_child, Y as create_text, Z as get_next_sibling, at as Batch, dt as component_context, et as internal_set, ft as mark_as_component, ht as set_component_context, j as active_effect, kt as skip_nodes, lt as defer_effect, mt as push, nt as set, ot as current_batch, pt as pop, q as clear_text_content, rt as source, st as flushSync, tt as mutable_source, ut as queue_micro_task, vt as async_mode_flag, wt as hydrate_node, xt as svelte_boundary_reset_onerror, yt as hydration_failed, z as component_root } from \"./server.js\";\nglobalThis?.window?.trustedTypes;\n//#endregion\n//#region node_modules/.pnpm/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/template.js\n/** @import { Effect, EffectNodes, TemplateNode } from '#client' */\n/** @import { TemplateStructure } from './types' */\n/**\n* @param {TemplateNode} start\n* @param {TemplateNode | null} end\n*/\nfunction assign_nodes(start, end) {\n\tvar effect = active_effect;\n\tif (effect.nodes === null) effect.nodes = {\n\t\tstart,\n\t\tend,\n\t\ta: null,\n\t\tt: null\n\t};\n}\n/**\n* Assign the created (or in hydration mode, traversed) dom elements to the current block\n* and insert the elements into the dom (in client mode).\n* @param {Text | Comment | Element} anchor\n* @param {DocumentFragment | Element} dom\n*/\nfunction append(anchor, dom) {\n\tif (hydrating) {\n\t\tvar effect = active_effect;\n\t\tif ((effect.f & 32768) === 0 || effect.nodes.end === null) effect.nodes.end = hydrate_node;\n\t\thydrate_next();\n\t\treturn;\n\t}\n\tif (anchor === null) return;\n\tanchor.before(dom);\n}\n//#endregion\n//#region node_modules/.pnpm/svelte@5.57.0/node_modules/svelte/src/reactivity/create-subscriber.js\n/**\n* Returns a `subscribe` function that integrates external event-based systems with Svelte's reactivity.\n* It's particularly useful for integrating with web APIs like `MediaQuery`, `IntersectionObserver`, or `WebSocket`.\n*\n* If `subscribe` is called inside an effect (including indirectly, for example inside a getter),\n* the `start` callback will be called with an `update` function. Whenever `update` is called, the effect re-runs.\n*\n* If `start` returns a cleanup function, it will be called when the effect is destroyed.\n*\n* If `subscribe` is called in multiple effects, `start` will only be called once as long as the effects\n* are active, and the returned teardown function will only be called when all effects are destroyed.\n*\n* It's best understood with an example. Here's an implementation of [`MediaQuery`](https://svelte.dev/docs/svelte/svelte-reactivity#MediaQuery):\n*\n* ```js\n* import { createSubscriber } from 'svelte/reactivity';\n* import { on } from 'svelte/events';\n*\n* export class MediaQuery {\n* \t#query;\n* \t#subscribe;\n*\n* \tconstructor(query) {\n* \t\tthis.#query = window.matchMedia(`(${query})`);\n*\n* \t\tthis.#subscribe = createSubscriber((update) => {\n* \t\t\t// when the `change` event occurs, re-run any effects that read `this.current`\n* \t\t\tconst off = on(this.#query, 'change', update);\n*\n* \t\t\t// stop listening when all the effects are destroyed\n* \t\t\treturn () => off();\n* \t\t});\n* \t}\n*\n* \tget current() {\n* \t\t// This makes the getter reactive, if read in an effect\n* \t\tthis.#subscribe();\n*\n* \t\t// Return the current state of the query, whether or not we're in an effect\n* \t\treturn this.#query.matches;\n* \t}\n* }\n* ```\n* @param {(update: () => void) => (() => void) | void} start\n* @since 5.7.0\n*/\nfunction createSubscriber(start) {\n\tlet subscribers = 0;\n\tlet version = source(0);\n\t/** @type {(() => void) | void} */\n\tlet stop;\n\treturn () => {\n\t\tif (effect_tracking()) {\n\t\t\tget(version);\n\t\t\trender_effect(() => {\n\t\t\t\tif (subscribers === 0) stop = untrack(() => start(() => increment(version)));\n\t\t\t\tsubscribers += 1;\n\t\t\t\treturn () => {\n\t\t\t\t\tqueue_micro_task(() => {\n\t\t\t\t\t\tsubscribers -= 1;\n\t\t\t\t\t\tif (subscribers === 0) {\n\t\t\t\t\t\t\tstop?.();\n\t\t\t\t\t\t\tstop = void 0;\n\t\t\t\t\t\t\tincrement(version);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t});\n\t\t}\n\t};\n}\n//#endregion\n//#region node_modules/.pnpm/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/blocks/boundary.js\n/** @import { Effect, Source, TemplateNode, } from '#client' */\n/**\n* @typedef {{\n* \t onerror?: ((error: unknown, reset: () => void) => void) | null;\n* failed?: ((anchor: Node, error: () => unknown, reset: () => () => void) => void) | null;\n* pending?: ((anchor: Node) => void) | null;\n* }} BoundaryProps\n*/\nvar flags = EFFECT_TRANSPARENT | EFFECT_PRESERVED;\n/**\n* @param {TemplateNode} node\n* @param {BoundaryProps} props\n* @param {((anchor: Node) => void)} children\n* @param {((error: unknown) => unknown) | undefined} [transform_error]\n* @returns {void}\n*/\nfunction boundary(node, props, children, transform_error) {\n\tnew Boundary(node, props, children, transform_error);\n}\nvar Boundary = class {\n\t/** @type {Boundary | null} */\n\tparent;\n\tis_pending = false;\n\t/**\n\t* API-level transformError transform function. Transforms errors before they reach the `failed` snippet.\n\t* Inherited from parent boundary, or defaults to identity.\n\t* @type {(error: unknown) => unknown}\n\t*/\n\ttransform_error;\n\t/** @type {TemplateNode} */\n\t#anchor;\n\t/** @type {TemplateNode | null} */\n\t#hydrate_open = hydrating ? hydrate_node : null;\n\t/** @type {BoundaryProps} */\n\t#props;\n\t/** @type {((anchor: Node) => void)} */\n\t#children;\n\t/** @type {Effect} */\n\t#effect;\n\t/** @type {Effect | null} */\n\t#main_effect = null;\n\t/** @type {Effect | null} */\n\t#pending_effect = null;\n\t/** @type {Effect | null} */\n\t#failed_effect = null;\n\t/** @type {DocumentFragment | null} */\n\t#offscreen_fragment = null;\n\t#local_pending_count = 0;\n\t#pending_count = 0;\n\t#pending_count_update_queued = false;\n\t/** @type {Set<Effect>} */\n\t#dirty_effects = /* @__PURE__ */ new Set();\n\t/** @type {Set<Effect>} */\n\t#maybe_dirty_effects = /* @__PURE__ */ new Set();\n\t/**\n\t* A source containing the number of pending async deriveds/expressions.\n\t* Only created if `$effect.pending()` is used inside the boundary,\n\t* otherwise updating the source results in needless `Batch.ensure()`\n\t* calls followed by no-op flushes\n\t* @type {Source<number> | null}\n\t*/\n\t#effect_pending = null;\n\t#effect_pending_subscriber = createSubscriber(() => {\n\t\tthis.#effect_pending = source(this.#local_pending_count);\n\t\treturn () => {\n\t\t\tthis.#effect_pending = null;\n\t\t};\n\t});\n\t/**\n\t* @param {TemplateNode} node\n\t* @param {BoundaryProps} props\n\t* @param {((anchor: Node) => void)} children\n\t* @param {((error: unknown) => unknown) | undefined} [transform_error]\n\t*/\n\tconstructor(node, props, children, transform_error) {\n\t\tthis.#anchor = node;\n\t\tthis.#props = props;\n\t\tthis.#children = (anchor) => {\n\t\t\tvar effect = active_effect;\n\t\t\teffect.b = this;\n\t\t\teffect.f |= 128;\n\t\t\tchildren(anchor);\n\t\t};\n\t\tthis.parent = active_effect.b;\n\t\tthis.transform_error = transform_error ?? this.parent?.transform_error ?? ((e) => e);\n\t\tthis.#effect = block(() => {\n\t\t\tif (hydrating) {\n\t\t\t\tconst comment = this.#hydrate_open;\n\t\t\t\thydrate_next();\n\t\t\t\tconst server_rendered_pending = comment.data === \"[!\";\n\t\t\t\tif (comment.data.startsWith(\"[?\")) {\n\t\t\t\t\tconst serialized_error = JSON.parse(comment.data.slice(2));\n\t\t\t\t\tthis.#hydrate_failed_content(serialized_error);\n\t\t\t\t} else if (server_rendered_pending) this.#hydrate_pending_content();\n\t\t\t\telse this.#hydrate_resolved_content();\n\t\t\t} else this.#render();\n\t\t}, flags);\n\t\tif (hydrating) this.#anchor = hydrate_node;\n\t}\n\t#hydrate_resolved_content() {\n\t\ttry {\n\t\t\tthis.#main_effect = branch(() => this.#children(this.#anchor));\n\t\t} catch (error) {\n\t\t\tthis.error(error);\n\t\t}\n\t}\n\t/**\n\t* @param {unknown} error The deserialized error from the server's hydration comment\n\t*/\n\t#hydrate_failed_content(error) {\n\t\tconst failed = this.#props.failed;\n\t\tconst { reset, invoke_onerror } = this.#create_reset(error);\n\t\tqueue_micro_task(invoke_onerror);\n\t\tif (!failed) return;\n\t\tthis.#failed_effect = branch(() => {\n\t\t\tfailed(this.#anchor, () => error, () => reset);\n\t\t});\n\t}\n\t/**\n\t* Creates the `reset` function for a failed boundary, along with a function\n\t* that invokes `onerror` with it (if provided)\n\t* @param {unknown} error\n\t* @returns {{ reset: () => void, invoke_onerror: () => void }}\n\t*/\n\t#create_reset(error) {\n\t\tvar did_reset = false;\n\t\tvar calling_on_error = false;\n\t\tconst reset = () => {\n\t\t\tif (did_reset) {\n\t\t\t\tsvelte_boundary_reset_noop();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tdid_reset = true;\n\t\t\tif (calling_on_error) svelte_boundary_reset_onerror();\n\t\t\tif (this.#failed_effect !== null) pause_effect(this.#failed_effect, () => {\n\t\t\t\tthis.#failed_effect = null;\n\t\t\t});\n\t\t\tthis.#run(() => {\n\t\t\t\tthis.#render();\n\t\t\t});\n\t\t};\n\t\tconst invoke_onerror = () => {\n\t\t\ttry {\n\t\t\t\tcalling_on_error = true;\n\t\t\t\tthis.#props.onerror?.(error, reset);\n\t\t\t\tcalling_on_error = false;\n\t\t\t} catch (err) {\n\t\t\t\tinvoke_error_boundary(err, this.#effect && this.#effect.parent);\n\t\t\t}\n\t\t};\n\t\treturn {\n\t\t\treset,\n\t\t\tinvoke_onerror\n\t\t};\n\t}\n\t#hydrate_pending_content() {\n\t\tconst pending = this.#props.pending;\n\t\tif (!pending) return;\n\t\tthis.is_pending = true;\n\t\tthis.#pending_effect = branch(() => pending(this.#anchor));\n\t\tqueue_micro_task(() => {\n\t\t\tvar fragment = this.#offscreen_fragment = document.createDocumentFragment();\n\t\t\tvar anchor = create_text();\n\t\t\tvar handled = false;\n\t\t\tfragment.append(anchor);\n\t\t\tthis.#main_effect = this.#run(() => {\n\t\t\t\ttry {\n\t\t\t\t\treturn branch(() => this.#children(anchor));\n\t\t\t\t} catch (error) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tthis.error(error);\n\t\t\t\t\t\thandled = true;\n\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\tinvoke_error_boundary(error, this.#effect.parent);\n\t\t\t\t\t}\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t});\n\t\t\tif (this.#main_effect === null) {\n\t\t\t\tthis.#offscreen_fragment = null;\n\t\t\t\tif (handled) this.#resolve(current_batch);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (this.#pending_count === 0) {\n\t\t\t\tthis.#anchor.before(fragment);\n\t\t\t\tthis.#offscreen_fragment = null;\n\t\t\t\tpause_effect(this.#pending_effect, () => {\n\t\t\t\t\tthis.#pending_effect = null;\n\t\t\t\t});\n\t\t\t\tthis.#resolve(current_batch);\n\t\t\t}\n\t\t});\n\t}\n\t#render() {\n\t\ttry {\n\t\t\tthis.is_pending = this.has_pending_snippet();\n\t\t\tthis.#pending_count = 0;\n\t\t\tthis.#local_pending_count = 0;\n\t\t\tthis.#main_effect = branch(() => {\n\t\t\t\tthis.#children(this.#anchor);\n\t\t\t});\n\t\t\tif (this.#pending_count > 0) {\n\t\t\t\tvar fragment = this.#offscreen_fragment = document.createDocumentFragment();\n\t\t\t\tmove_effect(this.#main_effect, fragment);\n\t\t\t\tconst pending = this.#props.pending;\n\t\t\t\tthis.#pending_effect = branch(() => pending(this.#anchor));\n\t\t\t} else this.#resolve(current_batch);\n\t\t} catch (error) {\n\t\t\tthis.error(error);\n\t\t}\n\t}\n\t/**\n\t* @param {Batch} batch\n\t*/\n\t#resolve(batch) {\n\t\tthis.is_pending = false;\n\t\tbatch.transfer_effects(this.#dirty_effects, this.#maybe_dirty_effects);\n\t}\n\t/**\n\t* Defer an effect inside a pending boundary until the boundary resolves\n\t* @param {Effect} effect\n\t*/\n\tdefer_effect(effect) {\n\t\tdefer_effect(effect, this.#dirty_effects, this.#maybe_dirty_effects);\n\t}\n\t/**\n\t* Returns `false` if the effect exists inside a boundary whose pending snippet is shown\n\t* @returns {boolean}\n\t*/\n\tis_rendered() {\n\t\treturn !this.is_pending && (!this.parent || this.parent.is_rendered());\n\t}\n\thas_pending_snippet() {\n\t\treturn !!this.#props.pending;\n\t}\n\t/**\n\t* @template T\n\t* @param {() => T} fn\n\t*/\n\t#run(fn) {\n\t\tvar previous_effect = active_effect;\n\t\tvar previous_reaction = active_reaction;\n\t\tvar previous_ctx = component_context;\n\t\tset_active_effect(this.#effect);\n\t\tset_active_reaction(this.#effect);\n\t\tset_component_context(this.#effect.ctx);\n\t\ttry {\n\t\t\tBatch.ensure();\n\t\t\treturn fn();\n\t\t} finally {\n\t\t\tset_active_effect(previous_effect);\n\t\t\tset_active_reaction(previous_reaction);\n\t\t\tset_component_context(previous_ctx);\n\t\t}\n\t}\n\t/**\n\t* Updates the pending count associated with the currently visible pending snippet,\n\t* if any, such that we can replace the snippet with content once work is done\n\t* @param {1 | -1} d\n\t* @param {Batch} batch\n\t*/\n\t#update_pending_count(d, batch) {\n\t\tif (!this.has_pending_snippet()) {\n\t\t\tif (this.parent) this.parent.#update_pending_count(d, batch);\n\t\t\treturn;\n\t\t}\n\t\tthis.#pending_count += d;\n\t\tif (this.#pending_count === 0) {\n\t\t\tthis.#resolve(batch);\n\t\t\tif (this.#pending_effect) pause_effect(this.#pending_effect, () => {\n\t\t\t\tthis.#pending_effect = null;\n\t\t\t});\n\t\t\tif (this.#offscreen_fragment) {\n\t\t\t\tthis.#anchor.before(this.#offscreen_fragment);\n\t\t\t\tthis.#offscreen_fragment = null;\n\t\t\t}\n\t\t}\n\t}\n\t/**\n\t* Update the source that powers `$effect.pending()` inside this boundary,\n\t* and controls when the current `pending` snippet (if any) is removed.\n\t* Do not call from inside the class\n\t* @param {1 | -1} d\n\t* @param {Batch} batch\n\t*/\n\tupdate_pending_count(d, batch) {\n\t\tthis.#update_pending_count(d, batch);\n\t\tthis.#local_pending_count += d;\n\t\tif (!this.#effect_pending || this.#pending_count_update_queued) return;\n\t\tthis.#pending_count_update_queued = true;\n\t\tqueue_micro_task(() => {\n\t\t\tthis.#pending_count_update_queued = false;\n\t\t\tif (this.#effect_pending) internal_set(this.#effect_pending, this.#local_pending_count);\n\t\t});\n\t}\n\tget_effect_pending() {\n\t\tthis.#effect_pending_subscriber();\n\t\treturn get(this.#effect_pending);\n\t}\n\t/** @param {unknown} error */\n\terror(error) {\n\t\tif (!this.#props.onerror && !this.#props.failed) throw error;\n\t\tif (current_batch?.is_fork) {\n\t\t\tif (this.#main_effect) current_batch.skip_effect(this.#main_effect);\n\t\t\tif (this.#pending_effect) current_batch.skip_effect(this.#pending_effect);\n\t\t\tif (this.#failed_effect) current_batch.skip_effect(this.#failed_effect);\n\t\t\tcurrent_batch.oncommit(() => {\n\t\t\t\tthis.#handle_error(error);\n\t\t\t});\n\t\t} else this.#handle_error(error);\n\t}\n\t/**\n\t* @param {unknown} error\n\t*/\n\t#handle_error(error) {\n\t\tif (this.#main_effect) {\n\t\t\tdestroy_effect(this.#main_effect);\n\t\t\tthis.#main_effect = null;\n\t\t}\n\t\tif (this.#pending_effect) {\n\t\t\tdestroy_effect(this.#pending_effect);\n\t\t\tthis.#pending_effect = null;\n\t\t}\n\t\tif (this.#failed_effect) {\n\t\t\tdestroy_effect(this.#failed_effect);\n\t\t\tthis.#failed_effect = null;\n\t\t}\n\t\tif (hydrating) {\n\t\t\tset_hydrate_node(this.#hydrate_open);\n\t\t\tnext();\n\t\t\tset_hydrate_node(skip_nodes());\n\t\t}\n\t\tlet failed = this.#props.failed;\n\t\t/** @param {unknown} transformed_error */\n\t\tconst handle_error_result = (transformed_error) => {\n\t\t\tconst { reset, invoke_onerror } = this.#create_reset(transformed_error);\n\t\t\tinvoke_onerror();\n\t\t\tif (failed) this.#failed_effect = this.#run(() => {\n\t\t\t\ttry {\n\t\t\t\t\treturn branch(() => {\n\t\t\t\t\t\tvar effect = active_effect;\n\t\t\t\t\t\teffect.b = this;\n\t\t\t\t\t\teffect.f |= 128;\n\t\t\t\t\t\tfailed(this.#anchor, () => transformed_error, () => reset);\n\t\t\t\t\t});\n\t\t\t\t} catch (error) {\n\t\t\t\t\tinvoke_error_boundary(error, this.#effect.parent);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\t\tqueue_micro_task(() => {\n\t\t\t/** @type {unknown} */\n\t\t\tvar result;\n\t\t\ttry {\n\t\t\t\tresult = this.transform_error(error);\n\t\t\t} catch (e) {\n\t\t\t\tinvoke_error_boundary(e, this.#effect && this.#effect.parent);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (result !== null && typeof result === \"object\" && typeof result.then === \"function\")\n /** @type {any} */ result.then(\n\t\t\t\thandle_error_result,\n\t\t\t\t/** @param {unknown} e */\n\t\t\t\t(e) => invoke_error_boundary(e, this.#effect && this.#effect.parent)\n\t\t\t);\n\t\t\telse handle_error_result(result);\n\t\t});\n\t}\n};\n/**\n* Mounts a component to the given target and returns the exports and potentially the props (if compiled with `accessors: true`) of the component.\n* Transitions will play during the initial render unless the `intro` option is set to `false`.\n*\n* @template {Record<string, any>} Props\n* @template {Record<string, any>} Exports\n* @param {ComponentType<SvelteComponent<Props>> | Component<Props, Exports, any>} component\n* @param {MountOptions<Props>} options\n* @returns {Exports}\n*/\nfunction mount(component, options) {\n\treturn _mount(component, options);\n}\n/**\n* Hydrates a component on the given target and returns the exports and potentially the props (if compiled with `accessors: true`) of the component\n*\n* @template {Record<string, any>} Props\n* @template {Record<string, any>} Exports\n* @param {ComponentType<SvelteComponent<Props>> | Component<Props, Exports, any>} component\n* @param {{} extends Props ? {\n* \t\ttarget: Document | Element | ShadowRoot;\n* \t\tprops?: Props;\n* \t\tevents?: Record<string, (e: any) => any>;\n* \tcontext?: Map<any, any>;\n* \t\tintro?: boolean;\n* \t\trecover?: boolean;\n*\t\ttransformError?: (error: unknown) => unknown;\n* \t} : {\n* \t\ttarget: Document | Element | ShadowRoot;\n* \t\tprops: Props;\n* \t\tevents?: Record<string, (e: any) => any>;\n* \tcontext?: Map<any, any>;\n* \t\tintro?: boolean;\n* \t\trecover?: boolean;\n*\t\ttransformError?: (error: unknown) => unknown;\n* \t}} options\n* @returns {Exports}\n*/\nfunction hydrate(component, options) {\n\tinit_operations();\n\toptions.intro = options.intro ?? false;\n\tconst target = options.target;\n\tconst was_hydrating = hydrating;\n\tconst previous_hydrate_node = hydrate_node;\n\ttry {\n\t\tvar anchor = /* @__PURE__ */ get_first_child(target);\n\t\twhile (anchor && (anchor.nodeType !== 8 || anchor.data !== \"[\")) anchor = /* @__PURE__ */ get_next_sibling(anchor);\n\t\tif (!anchor) throw HYDRATION_ERROR;\n\t\tset_hydrating(true);\n\t\tset_hydrate_node(anchor);\n\t\tconst instance = _mount(component, {\n\t\t\t...options,\n\t\t\tanchor\n\t\t});\n\t\tset_hydrating(false);\n\t\treturn instance;\n\t} catch (error) {\n\t\tif (error instanceof Error && error.message.split(\"\\n\").some((line) => line.startsWith(\"https://svelte.dev/e/\"))) throw error;\n\t\tif (error !== HYDRATION_ERROR) console.warn(\"Failed to hydrate: \", error);\n\t\tif (options.recover === false) hydration_failed();\n\t\tinit_operations();\n\t\tclear_text_content(target);\n\t\tset_hydrating(false);\n\t\treturn mount(component, options);\n\t} finally {\n\t\tset_hydrating(was_hydrating);\n\t\tset_hydrate_node(previous_hydrate_node);\n\t}\n}\n/** @type {Map<EventTarget, Map<string, number>>} */\nvar listeners = /* @__PURE__ */ new Map();\n/**\n* @template {Record<string, any>} Exports\n* @param {ComponentType<SvelteComponent<any>> | Component<any>} Component\n* @param {MountOptions} options\n* @returns {Exports}\n*/\nfunction _mount(Component, { target, anchor, props = {}, events, context, intro = true, transformError }) {\n\tinit_operations();\n\t/** @type {Exports} */\n\tvar component = void 0;\n\tvar unmount = component_root(() => {\n\t\tvar anchor_node = anchor ?? target.appendChild(create_text());\n\t\tboundary(anchor_node, { pending: () => {} }, (anchor_node) => {\n\t\t\tpush({});\n\t\t\tvar ctx = component_context;\n\t\t\tif (context) ctx.c = context;\n\t\t\tif (events)\n /** @type {any} */ props.$$events = events;\n\t\t\tif (hydrating) assign_nodes(anchor_node, null);\n\t\t\tcomponent = Component(anchor_node, props) || mark_as_component();\n\t\t\tif (hydrating) {\n\t\t\t\t/** @type {Effect & { nodes: EffectNodes }} */ active_effect.nodes.end = hydrate_node;\n\t\t\t\tif (hydrate_node === null || hydrate_node.nodeType !== 8 || hydrate_node.data !== \"]\") {\n\t\t\t\t\thydration_mismatch();\n\t\t\t\t\tthrow HYDRATION_ERROR;\n\t\t\t\t}\n\t\t\t}\n\t\t\tpop();\n\t\t}, transformError);\n\t\t/** @type {Set<string>} */\n\t\tvar registered_events = /* @__PURE__ */ new Set();\n\t\t/** @param {Array<string>} events */\n\t\tvar event_handle = (events) => {\n\t\t\tfor (var i = 0; i < events.length; i++) {\n\t\t\t\tvar event_name = events[i];\n\t\t\t\tif (registered_events.has(event_name)) continue;\n\t\t\t\tregistered_events.add(event_name);\n\t\t\t\tvar passive = is_passive_event(event_name);\n\t\t\t\tfor (const node of [target, document]) {\n\t\t\t\t\tvar counts = listeners.get(node);\n\t\t\t\t\tif (counts === void 0) {\n\t\t\t\t\t\tcounts = /* @__PURE__ */ new Map();\n\t\t\t\t\t\tlisteners.set(node, counts);\n\t\t\t\t\t}\n\t\t\t\t\tvar count = counts.get(event_name);\n\t\t\t\t\tif (count === void 0) {\n\t\t\t\t\t\tnode.addEventListener(event_name, handle_event_propagation, { passive });\n\t\t\t\t\t\tcounts.set(event_name, 1);\n\t\t\t\t\t} else counts.set(event_name, count + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tevent_handle(array_from(all_registered_events));\n\t\troot_event_handles.add(event_handle);\n\t\treturn () => {\n\t\t\tfor (var event_name of registered_events) for (const node of [target, document]) {\n\t\t\t\tvar counts = listeners.get(node);\n\t\t\t\tvar count = counts.get(event_name);\n\t\t\t\tif (--count == 0) {\n\t\t\t\t\tnode.removeEventListener(event_name, handle_event_propagation);\n\t\t\t\t\tcounts.delete(event_name);\n\t\t\t\t\tif (counts.size === 0) listeners.delete(node);\n\t\t\t\t} else counts.set(event_name, count);\n\t\t\t}\n\t\t\troot_event_handles.delete(event_handle);\n\t\t\tif (anchor_node !== anchor) anchor_node.parentNode?.removeChild(anchor_node);\n\t\t};\n\t});\n\tmounted_components.set(component, unmount);\n\treturn component;\n}\n/**\n* References of the components that were mounted or hydrated.\n* Uses a `WeakMap` to avoid memory leaks.\n*/\nvar mounted_components = /* @__PURE__ */ new WeakMap();\n/**\n* Unmounts a component that was previously mounted using `mount` or `hydrate`.\n*\n* Since 5.13.0, if `options.outro` is `true`, [transitions](https://svelte.dev/docs/svelte/transition) will play before the component is removed from the DOM.\n*\n* Returns a `Promise` that resolves after transitions have completed if `options.outro` is true, or immediately otherwise (prior to 5.13.0, returns `void`).\n*\n* ```js\n* import { mount, unmount } from 'svelte';\n* import App from './App.svelte';\n*\n* const app = mount(App, { target: document.body });\n*\n* // later...\n* unmount(app, { outro: true });\n* ```\n* @param {Record<string, any>} component\n* @param {{ outro?: boolean }} [options]\n* @returns {Promise<void>}\n*/\nfunction unmount(component, options) {\n\tconst fn = mounted_components.get(component);\n\tif (fn) {\n\t\tmounted_components.delete(component);\n\t\treturn fn(options);\n\t}\n\treturn Promise.resolve();\n}\n//#endregion\n//#region node_modules/.pnpm/svelte@5.57.0/node_modules/svelte/src/legacy/legacy-client.js\n/** @import { ComponentConstructorOptions, ComponentType, SvelteComponent, Component } from 'svelte' */\n/**\n* Takes the same options as a Svelte 4 component and the component function and returns a Svelte 4 compatible component.\n*\n* @deprecated Use this only as a temporary solution to migrate your imperative component code to Svelte 5.\n*\n* @template {Record<string, any>} Props\n* @template {Record<string, any>} Exports\n* @template {Record<string, any>} Events\n* @template {Record<string, any>} Slots\n*\n* @param {ComponentConstructorOptions<Props> & {\n* \tcomponent: ComponentType<SvelteComponent<Props, Events, Slots>> | Component<Props>;\n* }} options\n* @returns {SvelteComponent<Props, Events, Slots> & Exports}\n*/\nfunction createClassComponent(options) {\n\treturn new Svelte4Component(options);\n}\n/**\n* Takes the component function and returns a Svelte 4 compatible component constructor.\n*\n* @deprecated Use this only as a temporary solution to migrate your imperative component code to Svelte 5.\n*\n* @template {Record<string, any>} Props\n* @template {Record<string, any>} Exports\n* @template {Record<string, any>} Events\n* @template {Record<string, any>} Slots\n*\n* @param {SvelteComponent<Props, Events, Slots> | Component<Props>} component\n* @returns {ComponentType<SvelteComponent<Props, Events, Slots> & Exports>}\n*/\nfunction asClassComponent(component) {\n\treturn class extends Svelte4Component {\n\t\t/** @param {any} options */\n\t\tconstructor(options) {\n\t\t\tsuper({\n\t\t\t\tcomponent,\n\t\t\t\t...options\n\t\t\t});\n\t\t}\n\t};\n}\n/**\n* Support using the component as both a class and function during the transition period\n* @typedef {{new (o: ComponentConstructorOptions): SvelteComponent;(...args: Parameters<Component<Record<string, any>>>): ReturnType<Component<Record<string, any>, Record<string, any>>>;}} LegacyComponentType\n*/\nvar Svelte4Component = class {\n\t/** @type {any} */\n\t#events;\n\t/** @type {Record<string, any>} */\n\t#instance;\n\t/**\n\t* @param {ComponentConstructorOptions & {\n\t* component: any;\n\t* }} options\n\t*/\n\tconstructor(options) {\n\t\tvar sources = /* @__PURE__ */ new Map();\n\t\t/**\n\t\t* @param {string | symbol} key\n\t\t* @param {unknown} value\n\t\t*/\n\t\tvar add_source = (key, value) => {\n\t\t\tvar s = /* @__PURE__ */ mutable_source(value, false, false);\n\t\t\tsources.set(key, s);\n\t\t\treturn s;\n\t\t};\n\t\tconst props = new Proxy({\n\t\t\t...options.props || {},\n\t\t\t$$events: {}\n\t\t}, {\n\t\t\tget(target, prop) {\n\t\t\t\treturn get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));\n\t\t\t},\n\t\t\thas(target, prop) {\n\t\t\t\tif (prop === LEGACY_PROPS) return true;\n\t\t\t\tget(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));\n\t\t\t\treturn Reflect.has(target, prop);\n\t\t\t},\n\t\t\tset(target, prop, value) {\n\t\t\t\tset(sources.get(prop) ?? add_source(prop, value), value);\n\t\t\t\treturn Reflect.set(target, prop, value);\n\t\t\t}\n\t\t});\n\t\tthis.#instance = (options.hydrate ? hydrate : mount)(options.component, {\n\t\t\ttarget: options.target,\n\t\t\tanchor: options.anchor,\n\t\t\tprops,\n\t\t\tcontext: options.context,\n\t\t\tintro: options.intro ?? false,\n\t\t\trecover: options.recover,\n\t\t\ttransformError: options.transformError\n\t\t});\n\t\tif (!async_mode_flag && (!options?.props?.$$host || options.sync === false)) flushSync();\n\t\tthis.#events = props.$$events;\n\t\tfor (const key of Object.keys(this.#instance)) {\n\t\t\tif (key === \"$set\" || key === \"$destroy\" || key === \"$on\") continue;\n\t\t\tdefine_property(this, key, {\n\t\t\t\tget() {\n\t\t\t\t\treturn this.#instance[key];\n\t\t\t\t},\n\t\t\t\t/** @param {any} value */\n\t\t\t\tset(value) {\n\t\t\t\t\tthis.#instance[key] = value;\n\t\t\t\t},\n\t\t\t\tenumerable: true\n\t\t\t});\n\t\t}\n\t\tthis.#instance.$set = (next) => {\n\t\t\tObject.assign(props, next);\n\t\t};\n\t\tthis.#instance.$destroy = () => {\n\t\t\tunmount(this.#instance);\n\t\t};\n\t}\n\t/** @param {Record<string, any>} props */\n\t$set(props) {\n\t\tthis.#instance.$set(props);\n\t}\n\t/**\n\t* @param {string} event\n\t* @param {(...args: any[]) => any} callback\n\t* @returns {any}\n\t*/\n\t$on(event, callback) {\n\t\tthis.#events[event] = this.#events[event] || [];\n\t\t/** @param {any[]} args */\n\t\tconst cb = (...args) => callback.call(this, ...args);\n\t\tthis.#events[event].push(cb);\n\t\treturn () => {\n\t\t\tthis.#events[event] = this.#events[event].filter(\n\t\t\t\t/** @param {any} fn */\n\t\t\t\t(fn) => fn !== cb\n\t\t\t);\n\t\t};\n\t}\n\t$destroy() {\n\t\tthis.#instance.$destroy();\n\t}\n};\n//#endregion\nexport { createClassComponent as n, append as r, asClassComponent as t };\n"],"names":["push","pop"],"mappings":";;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,YAAY,CAAC,KAAK,EAAE,GAAG,EAAE;AAClC,CAAC,IAAI,MAAM,GAAG,aAAa;AAC3B,CAAC,IAAI,MAAM,CAAC,KAAK,KAAK,IAAI,EAAE,MAAM,CAAC,KAAK,GAAG;AAC3C,EAAE,KAAK;AACP,EAAE,GAAG;AACL,EAAE,CAAC,EAAE,IAAI;AACT,EAAE,CAAC,EAAE;AACL,EAAE;AACF;AAiBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,gBAAgB,CAAC,KAAK,EAAE;AACjC,CAAC,IAAI,WAAW,GAAG,CAAC;AACpB,CAAC,IAAI,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC;AAC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evel, b as detectLevel, d as detectRequestId } from './log-buffer.js-BI_gQOls.js';
|
|
2
|
+
import { H as HISTORIC_PRESETS, p as presetDurationMs, i as isHistoricPreset } from './time-range.js-BLMT8aU3.js';
|
|
3
|
+
|
|
4
|
+
//#region src/lib/server/filter.ts
|
|
5
|
+
/** Default lookback window when neither `startTime` nor `lookback` is usable. */
|
|
6
|
+
var DEFAULT_LOOKBACK_MS = 3e5;
|
|
7
|
+
/** CloudWatch Logs rejects `startTime` older than 14 days. */
|
|
8
|
+
var MAX_LOOKBACK_MS = 12096e5;
|
|
9
|
+
var DEFAULT_POLL_MS = 1e3;
|
|
10
|
+
var MIN_POLL_MS = 250;
|
|
11
|
+
var MAX_POLL_MS = 15e3;
|
|
12
|
+
var DURATION_UNITS = {
|
|
13
|
+
ms: 1,
|
|
14
|
+
s: 1e3,
|
|
15
|
+
m: 6e4,
|
|
16
|
+
h: 36e5,
|
|
17
|
+
d: 864e5,
|
|
18
|
+
w: 6048e5
|
|
19
|
+
};
|
|
20
|
+
var DURATION_PATTERN = /^(\d+(?:\.\d+)?)\s*(ms|s|m|h|d|w)$/i;
|
|
21
|
+
var EPOCH_PATTERN = /^\d+$/;
|
|
22
|
+
/**
|
|
23
|
+
* Parses a single-unit duration such as `500ms`, `30s`, `15m`, `2h`, `3d` or
|
|
24
|
+
* `1w`. Returns `null` for anything invalid, negative or zero.
|
|
25
|
+
*/
|
|
26
|
+
function parseDurationMs(value) {
|
|
27
|
+
if (typeof value !== "string") return null;
|
|
28
|
+
const match = DURATION_PATTERN.exec(value.trim());
|
|
29
|
+
if (match === null) return null;
|
|
30
|
+
const amount = Number(match[1]);
|
|
31
|
+
const unit = DURATION_UNITS[match[2].toLowerCase()];
|
|
32
|
+
if (unit === void 0 || !Number.isFinite(amount)) return null;
|
|
33
|
+
const ms = amount * unit;
|
|
34
|
+
if (!Number.isFinite(ms) || ms <= 0) return null;
|
|
35
|
+
return Math.round(ms);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Parses a start point into epoch milliseconds.
|
|
39
|
+
*
|
|
40
|
+
* Accepts epoch milliseconds (`1700000000000`), a duration relative to `now`
|
|
41
|
+
* (`15m`) and ISO 8601 timestamps. Returns `null` when the value is missing or
|
|
42
|
+
* cannot be understood.
|
|
43
|
+
*/
|
|
44
|
+
function parseStartTime(value, now) {
|
|
45
|
+
if (typeof value !== "string") return null;
|
|
46
|
+
const trimmed = value.trim();
|
|
47
|
+
if (trimmed.length === 0) return null;
|
|
48
|
+
if (EPOCH_PATTERN.test(trimmed)) return Number(trimmed);
|
|
49
|
+
const duration = parseDurationMs(trimmed);
|
|
50
|
+
if (duration !== null) return now - duration;
|
|
51
|
+
const parsed = Date.parse(trimmed);
|
|
52
|
+
return Number.isNaN(parsed) ? null : parsed;
|
|
53
|
+
}
|
|
54
|
+
/** Resolves the effective start time, clamped to the last 14 days and to `now`. */
|
|
55
|
+
function resolveStartTime(input) {
|
|
56
|
+
const { now } = input;
|
|
57
|
+
let start = parseStartTime(input.startTime, now);
|
|
58
|
+
if (start === null) start = now - (parseDurationMs(input.lookback ?? "") ?? DEFAULT_LOOKBACK_MS);
|
|
59
|
+
if (start > now) start = now;
|
|
60
|
+
const maxLookback = input.maxLookbackMs === void 0 ? MAX_LOOKBACK_MS : input.maxLookbackMs;
|
|
61
|
+
if (maxLookback !== null) {
|
|
62
|
+
const oldestAllowed = now - maxLookback;
|
|
63
|
+
if (start < oldestAllowed) start = oldestAllowed;
|
|
64
|
+
}
|
|
65
|
+
return Math.round(start);
|
|
66
|
+
}
|
|
67
|
+
/** Parses a poll interval in milliseconds, defaulting to 1000 and clamped to 250..15000. */
|
|
68
|
+
function clampPollMs(value) {
|
|
69
|
+
if (typeof value !== "string") return DEFAULT_POLL_MS;
|
|
70
|
+
const trimmed = value.trim();
|
|
71
|
+
if (trimmed.length === 0) return DEFAULT_POLL_MS;
|
|
72
|
+
const parsed = Number(trimmed);
|
|
73
|
+
if (!Number.isFinite(parsed)) return DEFAULT_POLL_MS;
|
|
74
|
+
return Math.min(Math.max(Math.round(parsed), MIN_POLL_MS), MAX_POLL_MS);
|
|
75
|
+
}
|
|
76
|
+
/** Default historic window when neither `range` nor `from`/`to` is given. */
|
|
77
|
+
var DEFAULT_HISTORIC_PRESET = "15m";
|
|
78
|
+
/** Parses the `mode` parameter; `null` for an unrecognised value. */
|
|
79
|
+
function parseMode(value) {
|
|
80
|
+
if (typeof value !== "string") return null;
|
|
81
|
+
const trimmed = value.trim().toLowerCase();
|
|
82
|
+
if (trimmed === "live" || trimmed === "historic") return trimmed;
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Parses an absolute instant: epoch milliseconds or an ISO 8601 timestamp.
|
|
87
|
+
*
|
|
88
|
+
* Relative durations are deliberately rejected here so an end bound can never
|
|
89
|
+
* move with the clock.
|
|
90
|
+
*/
|
|
91
|
+
function parseInstant(value) {
|
|
92
|
+
if (typeof value !== "string") return null;
|
|
93
|
+
const trimmed = value.trim();
|
|
94
|
+
if (trimmed.length === 0) return null;
|
|
95
|
+
if (EPOCH_PATTERN.test(trimmed)) return Number(trimmed);
|
|
96
|
+
const parsed = Date.parse(trimmed);
|
|
97
|
+
return Number.isNaN(parsed) ? null : parsed;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Clamps a window to what CloudWatch Logs can return: 14 days back, ending now.
|
|
101
|
+
*
|
|
102
|
+
* Returns `null` when the requested window ends before the retention floor, so
|
|
103
|
+
* a request for month-old data fails loudly instead of returning a stub window.
|
|
104
|
+
*/
|
|
105
|
+
function clampWindow(start, end, now, maxLookbackMs = MAX_LOOKBACK_MS) {
|
|
106
|
+
if (maxLookbackMs === null) {
|
|
107
|
+
const clampedEnd = Math.max(end, start + 1);
|
|
108
|
+
return {
|
|
109
|
+
start: Math.round(start),
|
|
110
|
+
end: Math.round(clampedEnd),
|
|
111
|
+
clamped: false
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
const oldest = now - maxLookbackMs;
|
|
115
|
+
if (end <= oldest) return null;
|
|
116
|
+
const clampedStart = Math.min(Math.max(start, oldest), now);
|
|
117
|
+
const clampedEnd = Math.min(Math.max(end, clampedStart + 1), now);
|
|
118
|
+
return {
|
|
119
|
+
start: Math.round(clampedStart),
|
|
120
|
+
end: Math.round(clampedEnd),
|
|
121
|
+
clamped: clampedStart !== Math.round(start) || clampedEnd !== Math.round(end)
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Resolves the request window into a start time plus, for historic mode, an end
|
|
126
|
+
* time.
|
|
127
|
+
*
|
|
128
|
+
* Historic windows come from a preset (`range=24h`), from explicit bounds
|
|
129
|
+
* (`from`/`to`, epoch ms or ISO 8601) or, when neither is given, from the
|
|
130
|
+
* smallest preset. Windows are clamped to the last 14 days and to `now` so the
|
|
131
|
+
* request can never ask CloudWatch for data it will not return.
|
|
132
|
+
*/
|
|
133
|
+
function resolveWindow(input, options = {}) {
|
|
134
|
+
const maxLookbackMs = options.maxLookbackMs === void 0 ? MAX_LOOKBACK_MS : options.maxLookbackMs;
|
|
135
|
+
const { now } = input;
|
|
136
|
+
const requestedMode = input.mode === null || input.mode === void 0 ? "live" : input.mode.trim();
|
|
137
|
+
const mode = requestedMode === "" ? "live" : parseMode(requestedMode);
|
|
138
|
+
if (mode === null) return {
|
|
139
|
+
ok: false,
|
|
140
|
+
code: "invalid-mode",
|
|
141
|
+
message: "Invalid mode: expected \"live\" or \"historic\""
|
|
142
|
+
};
|
|
143
|
+
if (mode === "live") return {
|
|
144
|
+
ok: true,
|
|
145
|
+
mode,
|
|
146
|
+
startTime: resolveStartTime({
|
|
147
|
+
startTime: input.startTime,
|
|
148
|
+
lookback: input.lookback,
|
|
149
|
+
now,
|
|
150
|
+
maxLookbackMs
|
|
151
|
+
}),
|
|
152
|
+
endTime: null,
|
|
153
|
+
preset: null,
|
|
154
|
+
clamped: false
|
|
155
|
+
};
|
|
156
|
+
const from = input.from?.trim() ?? "";
|
|
157
|
+
const to = input.to?.trim() ?? "";
|
|
158
|
+
if (from.length > 0 || to.length > 0) {
|
|
159
|
+
if (from.length === 0 || to.length === 0) return {
|
|
160
|
+
ok: false,
|
|
161
|
+
code: "invalid-window",
|
|
162
|
+
message: "A custom window needs both \"from\" and \"to\""
|
|
163
|
+
};
|
|
164
|
+
const parsedFrom = parseStartTime(from, now);
|
|
165
|
+
const parsedTo = parseInstant(to);
|
|
166
|
+
if (parsedFrom === null) return {
|
|
167
|
+
ok: false,
|
|
168
|
+
code: "invalid-time",
|
|
169
|
+
message: `Invalid "from": expected epoch milliseconds, a duration such as 3h, or an ISO 8601 timestamp`
|
|
170
|
+
};
|
|
171
|
+
if (parsedTo === null) return {
|
|
172
|
+
ok: false,
|
|
173
|
+
code: "invalid-time",
|
|
174
|
+
message: "Invalid \"to\": expected epoch milliseconds or an ISO 8601 timestamp"
|
|
175
|
+
};
|
|
176
|
+
if (parsedTo <= parsedFrom) return {
|
|
177
|
+
ok: false,
|
|
178
|
+
code: "invalid-window",
|
|
179
|
+
message: "The end of the window must be after its start"
|
|
180
|
+
};
|
|
181
|
+
const clamped = clampWindow(parsedFrom, parsedTo, now, maxLookbackMs);
|
|
182
|
+
if (clamped === null || clamped.end <= clamped.start) return {
|
|
183
|
+
ok: false,
|
|
184
|
+
code: "invalid-window",
|
|
185
|
+
message: maxLookbackMs === null ? "The end of the window must be after its start" : "The requested window is outside the 14 days CloudWatch Logs keeps"
|
|
186
|
+
};
|
|
187
|
+
return {
|
|
188
|
+
ok: true,
|
|
189
|
+
mode,
|
|
190
|
+
startTime: clamped.start,
|
|
191
|
+
endTime: clamped.end,
|
|
192
|
+
preset: null,
|
|
193
|
+
clamped: clamped.clamped
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
const requestedRange = input.range?.trim() ?? "";
|
|
197
|
+
const preset = requestedRange === "" ? DEFAULT_HISTORIC_PRESET : isHistoricPreset(requestedRange) ? requestedRange : null;
|
|
198
|
+
if (preset === null) return {
|
|
199
|
+
ok: false,
|
|
200
|
+
code: "invalid-range",
|
|
201
|
+
message: `Invalid range: expected one of ${HISTORIC_PRESETS.join(", ")} or an explicit from/to window`
|
|
202
|
+
};
|
|
203
|
+
const end = Math.round(now);
|
|
204
|
+
return {
|
|
205
|
+
ok: true,
|
|
206
|
+
mode,
|
|
207
|
+
startTime: Math.round(now - presetDurationMs(preset)),
|
|
208
|
+
endTime: end,
|
|
209
|
+
preset,
|
|
210
|
+
clamped: false
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
/** Message used when a request names no group at all. */
|
|
214
|
+
var GROUP_PARAM_HINT = "Query parameter \"group\" or \"groups\" is required";
|
|
215
|
+
/** Message used when a request names too many groups. */
|
|
216
|
+
var TOO_MANY_GROUPS_HINT = `Too many groups: at most 10 can be selected at once`;
|
|
217
|
+
/**
|
|
218
|
+
* Parses the group selection.
|
|
219
|
+
*
|
|
220
|
+
* `groups` may repeat the same name as `group`; duplicates are removed and the
|
|
221
|
+
* order of the request is preserved, because it is the order the UI shows.
|
|
222
|
+
*/
|
|
223
|
+
function parseGroupParams(group, groups) {
|
|
224
|
+
const names = [];
|
|
225
|
+
const collect = (value) => {
|
|
226
|
+
if (typeof value !== "string") return;
|
|
227
|
+
for (const part of value.split(",")) {
|
|
228
|
+
const name = part.trim();
|
|
229
|
+
if (name.length === 0) continue;
|
|
230
|
+
if (!names.includes(name)) names.push(name);
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
collect(group);
|
|
234
|
+
collect(groups);
|
|
235
|
+
if (names.length === 0) return {
|
|
236
|
+
ok: false,
|
|
237
|
+
code: "missing-group",
|
|
238
|
+
message: GROUP_PARAM_HINT
|
|
239
|
+
};
|
|
240
|
+
if (names.length > 10) return {
|
|
241
|
+
ok: false,
|
|
242
|
+
code: "too-many-groups",
|
|
243
|
+
message: TOO_MANY_GROUPS_HINT
|
|
244
|
+
};
|
|
245
|
+
return {
|
|
246
|
+
ok: true,
|
|
247
|
+
names
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
//#endregion
|
|
251
|
+
//#region src/lib/server/level-filter.ts
|
|
252
|
+
/**
|
|
253
|
+
* Detection for the stream route: the `level` parameter, and the fields the
|
|
254
|
+
* archive stores.
|
|
255
|
+
*
|
|
256
|
+
* SvelteKit only allows HTTP method exports from a `+server.ts`, so the helpers
|
|
257
|
+
* live here: parsing the `level` parameter, and tagging outgoing events with the
|
|
258
|
+
* level and the request id that the archive will store for them.
|
|
259
|
+
*/
|
|
260
|
+
/** Message used when `level` cannot be understood, or when it is misapplied. */
|
|
261
|
+
var LEVEL_PARAM_HINT = "Invalid level: expected one or more of error, warn, info, debug (comma separated)";
|
|
262
|
+
/**
|
|
263
|
+
* Parses the `level` parameter into the levels to include.
|
|
264
|
+
*
|
|
265
|
+
* Returns `null` when the parameter is absent or blank (every level) and
|
|
266
|
+
* `undefined` when it names something that is not a level, so the caller can
|
|
267
|
+
* answer 400 instead of silently ignoring a filter the user asked for.
|
|
268
|
+
*/
|
|
269
|
+
function parseLevelParam(value) {
|
|
270
|
+
if (value === null || value === void 0) return null;
|
|
271
|
+
const trimmed = value.trim();
|
|
272
|
+
if (trimmed.length === 0) return null;
|
|
273
|
+
const levels = [];
|
|
274
|
+
for (const part of trimmed.split(",")) {
|
|
275
|
+
const word = part.trim().toLowerCase();
|
|
276
|
+
if (word.length === 0) continue;
|
|
277
|
+
if (!isLogLevel(word)) return void 0;
|
|
278
|
+
if (!levels.includes(word)) levels.push(word);
|
|
279
|
+
}
|
|
280
|
+
return levels.length === 0 ? null : levels;
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Fills in the fields the archive stores for an event: its level and its request
|
|
284
|
+
* id.
|
|
285
|
+
*
|
|
286
|
+
* This is where a live CloudWatch event gets what the archive will hold, so the
|
|
287
|
+
* UI, the chart and the database all describe the same line the same way. It runs
|
|
288
|
+
* for every batch, whatever the source, because the two fields are decided one
|
|
289
|
+
* by one:
|
|
290
|
+
*
|
|
291
|
+
* - `level` is only detected when the event does not already carry one. A row
|
|
292
|
+
* replayed from the archive has the level that was stored, including an
|
|
293
|
+
* explicit `null` for "no signal", and re-guessing it would contradict the
|
|
294
|
+
* database.
|
|
295
|
+
* - `requestId` is only detected when it is absent. An explicit `null` from the
|
|
296
|
+
* archive stays `null`, since that is what the row says; a row written before
|
|
297
|
+
* the column existed has no property at all and is detected here.
|
|
298
|
+
*/
|
|
299
|
+
function withDetections(events) {
|
|
300
|
+
return events.map((event) => {
|
|
301
|
+
const level = event.level === void 0 ? detectLevel(event.message) : event.level;
|
|
302
|
+
const requestId = event.requestId === void 0 ? detectRequestId(event.message) : event.requestId;
|
|
303
|
+
if (level === event.level && requestId === event.requestId) return event;
|
|
304
|
+
return {
|
|
305
|
+
...event,
|
|
306
|
+
level,
|
|
307
|
+
requestId
|
|
308
|
+
};
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export { LEVEL_PARAM_HINT as L, parseLevelParam as a, parseDurationMs as b, clampPollMs as c, parseGroupParams as p, resolveWindow as r, withDetections as w };
|
|
313
|
+
//# sourceMappingURL=level-filter.js-B3o2hyWD.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"level-filter.js-B3o2hyWD.js","sources":["../../../../.svelte-kit/output/server/chunks/level-filter.js"],"sourcesContent":["import { d as isLogLevel, i as detectLevel, o as detectRequestId } from \"./log-buffer.js\";\nimport { a as presetDurationMs, i as isHistoricPreset, t as HISTORIC_PRESETS } from \"./time-range.js\";\n//#region src/lib/server/filter.ts\n/** Default lookback window when neither `startTime` nor `lookback` is usable. */\nvar DEFAULT_LOOKBACK_MS = 3e5;\n/** CloudWatch Logs rejects `startTime` older than 14 days. */\nvar MAX_LOOKBACK_MS = 12096e5;\nvar DEFAULT_POLL_MS = 1e3;\nvar MIN_POLL_MS = 250;\nvar MAX_POLL_MS = 15e3;\nvar DURATION_UNITS = {\n\tms: 1,\n\ts: 1e3,\n\tm: 6e4,\n\th: 36e5,\n\td: 864e5,\n\tw: 6048e5\n};\nvar DURATION_PATTERN = /^(\\d+(?:\\.\\d+)?)\\s*(ms|s|m|h|d|w)$/i;\nvar EPOCH_PATTERN = /^\\d+$/;\n/**\n* Parses a single-unit duration such as `500ms`, `30s`, `15m`, `2h`, `3d` or\n* `1w`. Returns `null` for anything invalid, negative or zero.\n*/\nfunction parseDurationMs(value) {\n\tif (typeof value !== \"string\") return null;\n\tconst match = DURATION_PATTERN.exec(value.trim());\n\tif (match === null) return null;\n\tconst amount = Number(match[1]);\n\tconst unit = DURATION_UNITS[match[2].toLowerCase()];\n\tif (unit === void 0 || !Number.isFinite(amount)) return null;\n\tconst ms = amount * unit;\n\tif (!Number.isFinite(ms) || ms <= 0) return null;\n\treturn Math.round(ms);\n}\n/**\n* Parses a start point into epoch milliseconds.\n*\n* Accepts epoch milliseconds (`1700000000000`), a duration relative to `now`\n* (`15m`) and ISO 8601 timestamps. Returns `null` when the value is missing or\n* cannot be understood.\n*/\nfunction parseStartTime(value, now) {\n\tif (typeof value !== \"string\") return null;\n\tconst trimmed = value.trim();\n\tif (trimmed.length === 0) return null;\n\tif (EPOCH_PATTERN.test(trimmed)) return Number(trimmed);\n\tconst duration = parseDurationMs(trimmed);\n\tif (duration !== null) return now - duration;\n\tconst parsed = Date.parse(trimmed);\n\treturn Number.isNaN(parsed) ? null : parsed;\n}\n/** Resolves the effective start time, clamped to the last 14 days and to `now`. */\nfunction resolveStartTime(input) {\n\tconst { now } = input;\n\tlet start = parseStartTime(input.startTime, now);\n\tif (start === null) start = now - (parseDurationMs(input.lookback ?? \"\") ?? DEFAULT_LOOKBACK_MS);\n\tif (start > now) start = now;\n\tconst maxLookback = input.maxLookbackMs === void 0 ? MAX_LOOKBACK_MS : input.maxLookbackMs;\n\tif (maxLookback !== null) {\n\t\tconst oldestAllowed = now - maxLookback;\n\t\tif (start < oldestAllowed) start = oldestAllowed;\n\t}\n\treturn Math.round(start);\n}\n/** Parses a poll interval in milliseconds, defaulting to 1000 and clamped to 250..15000. */\nfunction clampPollMs(value) {\n\tif (typeof value !== \"string\") return DEFAULT_POLL_MS;\n\tconst trimmed = value.trim();\n\tif (trimmed.length === 0) return DEFAULT_POLL_MS;\n\tconst parsed = Number(trimmed);\n\tif (!Number.isFinite(parsed)) return DEFAULT_POLL_MS;\n\treturn Math.min(Math.max(Math.round(parsed), MIN_POLL_MS), MAX_POLL_MS);\n}\n/** Default historic window when neither `range` nor `from`/`to` is given. */\nvar DEFAULT_HISTORIC_PRESET = \"15m\";\n/** Parses the `mode` parameter; `null` for an unrecognised value. */\nfunction parseMode(value) {\n\tif (typeof value !== \"string\") return null;\n\tconst trimmed = value.trim().toLowerCase();\n\tif (trimmed === \"live\" || trimmed === \"historic\") return trimmed;\n\treturn null;\n}\n/**\n* Parses an absolute instant: epoch milliseconds or an ISO 8601 timestamp.\n*\n* Relative durations are deliberately rejected here so an end bound can never\n* move with the clock.\n*/\nfunction parseInstant(value) {\n\tif (typeof value !== \"string\") return null;\n\tconst trimmed = value.trim();\n\tif (trimmed.length === 0) return null;\n\tif (EPOCH_PATTERN.test(trimmed)) return Number(trimmed);\n\tconst parsed = Date.parse(trimmed);\n\treturn Number.isNaN(parsed) ? null : parsed;\n}\n/**\n* Clamps a window to what CloudWatch Logs can return: 14 days back, ending now.\n*\n* Returns `null` when the requested window ends before the retention floor, so\n* a request for month-old data fails loudly instead of returning a stub window.\n*/\nfunction clampWindow(start, end, now, maxLookbackMs = MAX_LOOKBACK_MS) {\n\tif (maxLookbackMs === null) {\n\t\tconst clampedEnd = Math.max(end, start + 1);\n\t\treturn {\n\t\t\tstart: Math.round(start),\n\t\t\tend: Math.round(clampedEnd),\n\t\t\tclamped: false\n\t\t};\n\t}\n\tconst oldest = now - maxLookbackMs;\n\tif (end <= oldest) return null;\n\tconst clampedStart = Math.min(Math.max(start, oldest), now);\n\tconst clampedEnd = Math.min(Math.max(end, clampedStart + 1), now);\n\treturn {\n\t\tstart: Math.round(clampedStart),\n\t\tend: Math.round(clampedEnd),\n\t\tclamped: clampedStart !== Math.round(start) || clampedEnd !== Math.round(end)\n\t};\n}\n/**\n* Resolves the request window into a start time plus, for historic mode, an end\n* time.\n*\n* Historic windows come from a preset (`range=24h`), from explicit bounds\n* (`from`/`to`, epoch ms or ISO 8601) or, when neither is given, from the\n* smallest preset. Windows are clamped to the last 14 days and to `now` so the\n* request can never ask CloudWatch for data it will not return.\n*/\nfunction resolveWindow(input, options = {}) {\n\tconst maxLookbackMs = options.maxLookbackMs === void 0 ? MAX_LOOKBACK_MS : options.maxLookbackMs;\n\tconst { now } = input;\n\tconst requestedMode = input.mode === null || input.mode === void 0 ? \"live\" : input.mode.trim();\n\tconst mode = requestedMode === \"\" ? \"live\" : parseMode(requestedMode);\n\tif (mode === null) return {\n\t\tok: false,\n\t\tcode: \"invalid-mode\",\n\t\tmessage: \"Invalid mode: expected \\\"live\\\" or \\\"historic\\\"\"\n\t};\n\tif (mode === \"live\") return {\n\t\tok: true,\n\t\tmode,\n\t\tstartTime: resolveStartTime({\n\t\t\tstartTime: input.startTime,\n\t\t\tlookback: input.lookback,\n\t\t\tnow,\n\t\t\tmaxLookbackMs\n\t\t}),\n\t\tendTime: null,\n\t\tpreset: null,\n\t\tclamped: false\n\t};\n\tconst from = input.from?.trim() ?? \"\";\n\tconst to = input.to?.trim() ?? \"\";\n\tif (from.length > 0 || to.length > 0) {\n\t\tif (from.length === 0 || to.length === 0) return {\n\t\t\tok: false,\n\t\t\tcode: \"invalid-window\",\n\t\t\tmessage: \"A custom window needs both \\\"from\\\" and \\\"to\\\"\"\n\t\t};\n\t\tconst parsedFrom = parseStartTime(from, now);\n\t\tconst parsedTo = parseInstant(to);\n\t\tif (parsedFrom === null) return {\n\t\t\tok: false,\n\t\t\tcode: \"invalid-time\",\n\t\t\tmessage: `Invalid \"from\": expected epoch milliseconds, a duration such as 3h, or an ISO 8601 timestamp`\n\t\t};\n\t\tif (parsedTo === null) return {\n\t\t\tok: false,\n\t\t\tcode: \"invalid-time\",\n\t\t\tmessage: \"Invalid \\\"to\\\": expected epoch milliseconds or an ISO 8601 timestamp\"\n\t\t};\n\t\tif (parsedTo <= parsedFrom) return {\n\t\t\tok: false,\n\t\t\tcode: \"invalid-window\",\n\t\t\tmessage: \"The end of the window must be after its start\"\n\t\t};\n\t\tconst clamped = clampWindow(parsedFrom, parsedTo, now, maxLookbackMs);\n\t\tif (clamped === null || clamped.end <= clamped.start) return {\n\t\t\tok: false,\n\t\t\tcode: \"invalid-window\",\n\t\t\tmessage: maxLookbackMs === null ? \"The end of the window must be after its start\" : \"The requested window is outside the 14 days CloudWatch Logs keeps\"\n\t\t};\n\t\treturn {\n\t\t\tok: true,\n\t\t\tmode,\n\t\t\tstartTime: clamped.start,\n\t\t\tendTime: clamped.end,\n\t\t\tpreset: null,\n\t\t\tclamped: clamped.clamped\n\t\t};\n\t}\n\tconst requestedRange = input.range?.trim() ?? \"\";\n\tconst preset = requestedRange === \"\" ? DEFAULT_HISTORIC_PRESET : isHistoricPreset(requestedRange) ? requestedRange : null;\n\tif (preset === null) return {\n\t\tok: false,\n\t\tcode: \"invalid-range\",\n\t\tmessage: `Invalid range: expected one of ${HISTORIC_PRESETS.join(\", \")} or an explicit from/to window`\n\t};\n\tconst end = Math.round(now);\n\treturn {\n\t\tok: true,\n\t\tmode,\n\t\tstartTime: Math.round(now - presetDurationMs(preset)),\n\t\tendTime: end,\n\t\tpreset,\n\t\tclamped: false\n\t};\n}\n/** Message used when a request names no group at all. */\nvar GROUP_PARAM_HINT = \"Query parameter \\\"group\\\" or \\\"groups\\\" is required\";\n/** Message used when a request names too many groups. */\nvar TOO_MANY_GROUPS_HINT = `Too many groups: at most 10 can be selected at once`;\n/**\n* Parses the group selection.\n*\n* `groups` may repeat the same name as `group`; duplicates are removed and the\n* order of the request is preserved, because it is the order the UI shows.\n*/\nfunction parseGroupParams(group, groups) {\n\tconst names = [];\n\tconst collect = (value) => {\n\t\tif (typeof value !== \"string\") return;\n\t\tfor (const part of value.split(\",\")) {\n\t\t\tconst name = part.trim();\n\t\t\tif (name.length === 0) continue;\n\t\t\tif (!names.includes(name)) names.push(name);\n\t\t}\n\t};\n\tcollect(group);\n\tcollect(groups);\n\tif (names.length === 0) return {\n\t\tok: false,\n\t\tcode: \"missing-group\",\n\t\tmessage: GROUP_PARAM_HINT\n\t};\n\tif (names.length > 10) return {\n\t\tok: false,\n\t\tcode: \"too-many-groups\",\n\t\tmessage: TOO_MANY_GROUPS_HINT\n\t};\n\treturn {\n\t\tok: true,\n\t\tnames\n\t};\n}\n//#endregion\n//#region src/lib/server/level-filter.ts\n/**\n* Detection for the stream route: the `level` parameter, and the fields the\n* archive stores.\n*\n* SvelteKit only allows HTTP method exports from a `+server.ts`, so the helpers\n* live here: parsing the `level` parameter, and tagging outgoing events with the\n* level and the request id that the archive will store for them.\n*/\n/** Message used when `level` cannot be understood, or when it is misapplied. */\nvar LEVEL_PARAM_HINT = \"Invalid level: expected one or more of error, warn, info, debug (comma separated)\";\n/**\n* Parses the `level` parameter into the levels to include.\n*\n* Returns `null` when the parameter is absent or blank (every level) and\n* `undefined` when it names something that is not a level, so the caller can\n* answer 400 instead of silently ignoring a filter the user asked for.\n*/\nfunction parseLevelParam(value) {\n\tif (value === null || value === void 0) return null;\n\tconst trimmed = value.trim();\n\tif (trimmed.length === 0) return null;\n\tconst levels = [];\n\tfor (const part of trimmed.split(\",\")) {\n\t\tconst word = part.trim().toLowerCase();\n\t\tif (word.length === 0) continue;\n\t\tif (!isLogLevel(word)) return void 0;\n\t\tif (!levels.includes(word)) levels.push(word);\n\t}\n\treturn levels.length === 0 ? null : levels;\n}\n/**\n* Fills in the fields the archive stores for an event: its level and its request\n* id.\n*\n* This is where a live CloudWatch event gets what the archive will hold, so the\n* UI, the chart and the database all describe the same line the same way. It runs\n* for every batch, whatever the source, because the two fields are decided one\n* by one:\n*\n* - `level` is only detected when the event does not already carry one. A row\n* replayed from the archive has the level that was stored, including an\n* explicit `null` for \"no signal\", and re-guessing it would contradict the\n* database.\n* - `requestId` is only detected when it is absent. An explicit `null` from the\n* archive stays `null`, since that is what the row says; a row written before\n* the column existed has no property at all and is detected here.\n*/\nfunction withDetections(events) {\n\treturn events.map((event) => {\n\t\tconst level = event.level === void 0 ? detectLevel(event.message) : event.level;\n\t\tconst requestId = event.requestId === void 0 ? detectRequestId(event.message) : event.requestId;\n\t\tif (level === event.level && requestId === event.requestId) return event;\n\t\treturn {\n\t\t\t...event,\n\t\t\tlevel,\n\t\t\trequestId\n\t\t};\n\t});\n}\n//#endregion\nexport { clampPollMs as a, parseGroupParams as i, parseLevelParam as n, parseDurationMs as o, withDetections as r, resolveWindow as s, LEVEL_PARAM_HINT as t };\n"],"names":[],"mappings":";;;AAEA;AACA;AACA,IAAI,mBAAmB,GAAG,GAAG;AAC7B;AACA,IAAI,eAAe,GAAG,OAAO;AAC7B,IAAI,eAAe,GAAG,GAAG;AACzB,IAAI,WAAW,GAAG,GAAG;AACrB,IAAI,WAAW,GAAG,IAAI;AACtB,IAAI,cAAc,GAAG;AACrB,CAAC,EAAE,EAAE,CAAC;AACN,CAAC,CAAC,EAAE,GAAG;AACP,CAAC,CAAC,EAAE,GAAG;AACP,CAAC,CAAC,EAAE,IAAI;AACR,CAAC,CAAC,EAAE,KAAK;AACT,CAAC,CAAC,EAAE;AACJ,CAAC;AACD,IAAI,gBAAgB,GAAG,qCAAqC;AAC5D,IAAI,aAAa,GAAG,OAAO;AAC3B;AACA;AACA;AACA;AACA,SAAS,eAAe,CAAC,KAAK,EAAE;AAChC,CAAC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,OAAO,IAAI;AAC3C,CAAC,MAAM,KAAK,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;AAClD,CAAC,IAAI,KAAK,KAAK,IAAI,EAAE,OAAO,IAAI;AAChC,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,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EAAE,OAAO,KAAK;AAC1E,EAAE,OAAO;AACT,GAAG,GAAG,KAAK;AACX,GAAG,KAAK;AACR,GAAG;AACH,GAAG;AACH,CAAC,CAAC,CAAC;AACH;;"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { w as withPath, c as constant_default } from './path2.js-pquT2Kg6.js';
|
|
2
|
+
import { a as array_default } from './array.js-CBp0H4t3.js';
|
|
3
|
+
|
|
4
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.js
|
|
5
|
+
function Linear(context) {
|
|
6
|
+
this._context = context;
|
|
7
|
+
}
|
|
8
|
+
Linear.prototype = {
|
|
9
|
+
areaStart: function() {
|
|
10
|
+
this._line = 0;
|
|
11
|
+
},
|
|
12
|
+
areaEnd: function() {
|
|
13
|
+
this._line = NaN;
|
|
14
|
+
},
|
|
15
|
+
lineStart: function() {
|
|
16
|
+
this._point = 0;
|
|
17
|
+
},
|
|
18
|
+
lineEnd: function() {
|
|
19
|
+
if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
|
|
20
|
+
this._line = 1 - this._line;
|
|
21
|
+
},
|
|
22
|
+
point: function(x, y) {
|
|
23
|
+
x = +x, y = +y;
|
|
24
|
+
switch (this._point) {
|
|
25
|
+
case 0:
|
|
26
|
+
this._point = 1;
|
|
27
|
+
this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
|
|
28
|
+
break;
|
|
29
|
+
case 1: this._point = 2;
|
|
30
|
+
default: this._context.lineTo(x, y);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
function linear_default(context) {
|
|
35
|
+
return new Linear(context);
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.js
|
|
39
|
+
function x(p) {
|
|
40
|
+
return p[0];
|
|
41
|
+
}
|
|
42
|
+
function y(p) {
|
|
43
|
+
return p[1];
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.js
|
|
47
|
+
function line_default(x$1, y$1) {
|
|
48
|
+
var defined = constant_default(true), context = null, curve = linear_default, output = null, path = withPath(line);
|
|
49
|
+
x$1 = typeof x$1 === "function" ? x$1 : x$1 === void 0 ? x : constant_default(x$1);
|
|
50
|
+
y$1 = typeof y$1 === "function" ? y$1 : y$1 === void 0 ? y : constant_default(y$1);
|
|
51
|
+
function line(data) {
|
|
52
|
+
var i, n = (data = array_default(data)).length, d, defined0 = false, buffer;
|
|
53
|
+
if (context == null) output = curve(buffer = path());
|
|
54
|
+
for (i = 0; i <= n; ++i) {
|
|
55
|
+
if (!(i < n && defined(d = data[i], i, data)) === defined0) {
|
|
56
|
+
if (defined0 = !defined0) output.lineStart();
|
|
57
|
+
else output.lineEnd();
|
|
58
|
+
}
|
|
59
|
+
if (defined0) output.point(+x$1(d, i, data), +y$1(d, i, data));
|
|
60
|
+
}
|
|
61
|
+
if (buffer) return output = null, buffer + "" || null;
|
|
62
|
+
}
|
|
63
|
+
line.x = function(_) {
|
|
64
|
+
return arguments.length ? (x$1 = typeof _ === "function" ? _ : constant_default(+_), line) : x$1;
|
|
65
|
+
};
|
|
66
|
+
line.y = function(_) {
|
|
67
|
+
return arguments.length ? (y$1 = typeof _ === "function" ? _ : constant_default(+_), line) : y$1;
|
|
68
|
+
};
|
|
69
|
+
line.defined = function(_) {
|
|
70
|
+
return arguments.length ? (defined = typeof _ === "function" ? _ : constant_default(!!_), line) : defined;
|
|
71
|
+
};
|
|
72
|
+
line.curve = function(_) {
|
|
73
|
+
return arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve;
|
|
74
|
+
};
|
|
75
|
+
line.context = function(_) {
|
|
76
|
+
return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context;
|
|
77
|
+
};
|
|
78
|
+
return line;
|
|
79
|
+
}
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/radial.js
|
|
82
|
+
var curveRadialLinear = curveRadial(linear_default);
|
|
83
|
+
function Radial(curve) {
|
|
84
|
+
this._curve = curve;
|
|
85
|
+
}
|
|
86
|
+
Radial.prototype = {
|
|
87
|
+
areaStart: function() {
|
|
88
|
+
this._curve.areaStart();
|
|
89
|
+
},
|
|
90
|
+
areaEnd: function() {
|
|
91
|
+
this._curve.areaEnd();
|
|
92
|
+
},
|
|
93
|
+
lineStart: function() {
|
|
94
|
+
this._curve.lineStart();
|
|
95
|
+
},
|
|
96
|
+
lineEnd: function() {
|
|
97
|
+
this._curve.lineEnd();
|
|
98
|
+
},
|
|
99
|
+
point: function(a, r) {
|
|
100
|
+
this._curve.point(r * Math.sin(a), r * -Math.cos(a));
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
function curveRadial(curve) {
|
|
104
|
+
function radial(context) {
|
|
105
|
+
return new Radial(curve(context));
|
|
106
|
+
}
|
|
107
|
+
radial._curve = curve;
|
|
108
|
+
return radial;
|
|
109
|
+
}
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/lineRadial.js
|
|
112
|
+
function lineRadial(l) {
|
|
113
|
+
var c = l.curve;
|
|
114
|
+
l.angle = l.x, delete l.x;
|
|
115
|
+
l.radius = l.y, delete l.y;
|
|
116
|
+
l.curve = function(_) {
|
|
117
|
+
return arguments.length ? c(curveRadial(_)) : c()._curve;
|
|
118
|
+
};
|
|
119
|
+
return l;
|
|
120
|
+
}
|
|
121
|
+
function lineRadial_default() {
|
|
122
|
+
return lineRadial(line_default().curve(curveRadialLinear));
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export { line_default as a, lineRadial_default as l, x, y };
|
|
126
|
+
//# sourceMappingURL=lineRadial.js-Dm0GMqo3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lineRadial.js-Dm0GMqo3.js","sources":["../../../../.svelte-kit/output/server/chunks/lineRadial.js"],"sourcesContent":["import { n as constant_default, t as withPath } from \"./path2.js\";\nimport { t as array_default } from \"./array.js\";\n//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.js\nfunction Linear(context) {\n\tthis._context = context;\n}\nLinear.prototype = {\n\tareaStart: function() {\n\t\tthis._line = 0;\n\t},\n\tareaEnd: function() {\n\t\tthis._line = NaN;\n\t},\n\tlineStart: function() {\n\t\tthis._point = 0;\n\t},\n\tlineEnd: function() {\n\t\tif (this._line || this._line !== 0 && this._point === 1) this._context.closePath();\n\t\tthis._line = 1 - this._line;\n\t},\n\tpoint: function(x, y) {\n\t\tx = +x, y = +y;\n\t\tswitch (this._point) {\n\t\t\tcase 0:\n\t\t\t\tthis._point = 1;\n\t\t\t\tthis._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n\t\t\t\tbreak;\n\t\t\tcase 1: this._point = 2;\n\t\t\tdefault: this._context.lineTo(x, y);\n\t\t}\n\t}\n};\nfunction linear_default(context) {\n\treturn new Linear(context);\n}\n//#endregion\n//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.js\nfunction x(p) {\n\treturn p[0];\n}\nfunction y(p) {\n\treturn p[1];\n}\n//#endregion\n//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.js\nfunction line_default(x$1, y$1) {\n\tvar defined = constant_default(true), context = null, curve = linear_default, output = null, path = withPath(line);\n\tx$1 = typeof x$1 === \"function\" ? x$1 : x$1 === void 0 ? x : constant_default(x$1);\n\ty$1 = typeof y$1 === \"function\" ? y$1 : y$1 === void 0 ? y : constant_default(y$1);\n\tfunction line(data) {\n\t\tvar i, n = (data = array_default(data)).length, d, defined0 = false, buffer;\n\t\tif (context == null) output = curve(buffer = path());\n\t\tfor (i = 0; i <= n; ++i) {\n\t\t\tif (!(i < n && defined(d = data[i], i, data)) === defined0) {\n\t\t\t\tif (defined0 = !defined0) output.lineStart();\n\t\t\t\telse output.lineEnd();\n\t\t\t}\n\t\t\tif (defined0) output.point(+x$1(d, i, data), +y$1(d, i, data));\n\t\t}\n\t\tif (buffer) return output = null, buffer + \"\" || null;\n\t}\n\tline.x = function(_) {\n\t\treturn arguments.length ? (x$1 = typeof _ === \"function\" ? _ : constant_default(+_), line) : x$1;\n\t};\n\tline.y = function(_) {\n\t\treturn arguments.length ? (y$1 = typeof _ === \"function\" ? _ : constant_default(+_), line) : y$1;\n\t};\n\tline.defined = function(_) {\n\t\treturn arguments.length ? (defined = typeof _ === \"function\" ? _ : constant_default(!!_), line) : defined;\n\t};\n\tline.curve = function(_) {\n\t\treturn arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve;\n\t};\n\tline.context = function(_) {\n\t\treturn arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context;\n\t};\n\treturn line;\n}\n//#endregion\n//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/radial.js\nvar curveRadialLinear = curveRadial(linear_default);\nfunction Radial(curve) {\n\tthis._curve = curve;\n}\nRadial.prototype = {\n\tareaStart: function() {\n\t\tthis._curve.areaStart();\n\t},\n\tareaEnd: function() {\n\t\tthis._curve.areaEnd();\n\t},\n\tlineStart: function() {\n\t\tthis._curve.lineStart();\n\t},\n\tlineEnd: function() {\n\t\tthis._curve.lineEnd();\n\t},\n\tpoint: function(a, r) {\n\t\tthis._curve.point(r * Math.sin(a), r * -Math.cos(a));\n\t}\n};\nfunction curveRadial(curve) {\n\tfunction radial(context) {\n\t\treturn new Radial(curve(context));\n\t}\n\tradial._curve = curve;\n\treturn radial;\n}\n//#endregion\n//#region node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/lineRadial.js\nfunction lineRadial(l) {\n\tvar c = l.curve;\n\tl.angle = l.x, delete l.x;\n\tl.radius = l.y, delete l.y;\n\tl.curve = function(_) {\n\t\treturn arguments.length ? c(curveRadial(_)) : c()._curve;\n\t};\n\treturn l;\n}\nfunction lineRadial_default() {\n\treturn lineRadial(line_default().curve(curveRadialLinear));\n}\n//#endregion\nexport { y as i, line_default as n, x as r, lineRadial_default as t };\n"],"names":[],"mappings":";;;AAEA;AACA,SAAS,MAAM,CAAC,OAAO,EAAE;AACzB,CAAC,IAAI,CAAC,QAAQ,GAAG,OAAO;AACxB;AACA,MAAM,CAAC,SAAS,GAAG;AACnB,CAAC,SAAS,EAAE,WAAW;AACvB,EAAE,IAAI,CAAC,KAAK,GAAG,CAAC;AAChB,CAAC,CAAC;AACF,CAAC,OAAO,EAAE,WAAW;AACrB,EAAE,IAAI,CAAC,KAAK,GAAG,GAAG;AAClB,CAAC,CAAC;AACF,CAAC,SAAS,EAAE,WAAW;AACvB,EAAE,IAAI,CAAC,MAAM,GAAG,CAAC;AACjB,CAAC,CAAC;AACF,CAAC,OAAO,EAAE,WAAW;AACrB,EAAE,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE;AACpF,EAAE,IAAI,CAAC,KAAK,GAAG,CAAC,GAAG,IAAI,CAAC,KAAK;AAC7B,CAAC,CAAC;AACF,CAAC,KAAK,EAAE,SAAS,CAAC,EAAE,CAAC,EAAE;AACvB,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AAChB,EAAE,QAAQ,IAAI,CAAC,MAAM;AACrB,GAAG,KAAK,CAAC;AACT,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC;AACnB,IAAI,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC;AACxE,IAAI;AACJ,GAAG,KAAK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