watch-tail 0.4.0 → 0.5.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 +130 -0
- package/build/client/_app/immutable/assets/0.BQQ1YLPc.css +2 -0
- package/build/client/_app/immutable/assets/0.BQQ1YLPc.css.br +0 -0
- package/build/client/_app/immutable/assets/0.BQQ1YLPc.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/AUlz4-kZ.js +1 -0
- package/build/client/_app/immutable/chunks/AUlz4-kZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/AUlz4-kZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B1t8v2wP.js +1 -0
- package/build/client/_app/immutable/chunks/B1t8v2wP.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1t8v2wP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B6nyufJR.js +1 -0
- package/build/client/_app/immutable/chunks/B6nyufJR.js.br +0 -0
- package/build/client/_app/immutable/chunks/B6nyufJR.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/BR7qH0F5.js +1 -0
- package/build/client/_app/immutable/chunks/BR7qH0F5.js.br +0 -0
- package/build/client/_app/immutable/chunks/BR7qH0F5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BkXArOra.js +1 -0
- package/build/client/_app/immutable/chunks/BkXArOra.js.br +0 -0
- package/build/client/_app/immutable/chunks/BkXArOra.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/Bmk_Voz6.js +1 -0
- package/build/client/_app/immutable/chunks/Bmk_Voz6.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bmk_Voz6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bp63j1zN.js +1 -0
- package/build/client/_app/immutable/chunks/Bp63j1zN.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bp63j1zN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BwntJtbK.js +1 -0
- package/build/client/_app/immutable/chunks/BwntJtbK.js.br +0 -0
- package/build/client/_app/immutable/chunks/BwntJtbK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C20WvNRq.js +1 -0
- package/build/client/_app/immutable/chunks/C20WvNRq.js.br +0 -0
- package/build/client/_app/immutable/chunks/C20WvNRq.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/CDbeYGlD.js +1 -0
- package/build/client/_app/immutable/chunks/CDbeYGlD.js.br +0 -0
- package/build/client/_app/immutable/chunks/CDbeYGlD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJFHBop_.js +1 -0
- package/build/client/_app/immutable/chunks/CJFHBop_.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJFHBop_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CYw9ugj1.js +1 -0
- package/build/client/_app/immutable/chunks/CYw9ugj1.js.br +0 -0
- package/build/client/_app/immutable/chunks/CYw9ugj1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CjJd0uRB.js +1 -0
- package/build/client/_app/immutable/chunks/CjJd0uRB.js.br +1 -0
- package/build/client/_app/immutable/chunks/CjJd0uRB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CoEFQJcr.js +1 -0
- package/build/client/_app/immutable/chunks/CoEFQJcr.js.br +0 -0
- package/build/client/_app/immutable/chunks/CoEFQJcr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D-JtVVAo.js +1 -0
- package/build/client/_app/immutable/chunks/D-JtVVAo.js.br +0 -0
- package/build/client/_app/immutable/chunks/D-JtVVAo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DJDlf6lC.js +1 -0
- package/build/client/_app/immutable/chunks/DJDlf6lC.js.br +0 -0
- package/build/client/_app/immutable/chunks/DJDlf6lC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DJLYkl5w.js +1 -0
- package/build/client/_app/immutable/chunks/DJLYkl5w.js.br +0 -0
- package/build/client/_app/immutable/chunks/DJLYkl5w.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DPKdNiYi.js +1 -0
- package/build/client/_app/immutable/chunks/DPKdNiYi.js.br +0 -0
- package/build/client/_app/immutable/chunks/DPKdNiYi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQi7bc16.js +1 -0
- package/build/client/_app/immutable/chunks/DQi7bc16.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQi7bc16.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DVTgeA2y.js +2 -0
- package/build/client/_app/immutable/chunks/DVTgeA2y.js.br +0 -0
- package/build/client/_app/immutable/chunks/DVTgeA2y.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/Di37PX72.js +1 -0
- package/build/client/_app/immutable/chunks/Di37PX72.js.br +0 -0
- package/build/client/_app/immutable/chunks/Di37PX72.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Bw_9uNRP.js → DkyYNO4U.js} +1 -1
- package/build/client/_app/immutable/chunks/DkyYNO4U.js.br +0 -0
- package/build/client/_app/immutable/chunks/DkyYNO4U.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DmRhEzIa.js +1 -0
- package/build/client/_app/immutable/chunks/DmRhEzIa.js.br +0 -0
- package/build/client/_app/immutable/chunks/DmRhEzIa.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dp8S9ymS.js +1 -0
- package/build/client/_app/immutable/chunks/Dp8S9ymS.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dp8S9ymS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DslUcEd-.js +1 -0
- package/build/client/_app/immutable/chunks/DslUcEd-.js.br +0 -0
- package/build/client/_app/immutable/chunks/DslUcEd-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dt_Zd6U2.js +1 -0
- package/build/client/_app/immutable/chunks/Dt_Zd6U2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dt_Zd6U2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DwezeuNE.js +5 -0
- package/build/client/_app/immutable/chunks/DwezeuNE.js.br +0 -0
- package/build/client/_app/immutable/chunks/DwezeuNE.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/PYzEcuyd.js +10 -0
- package/build/client/_app/immutable/chunks/PYzEcuyd.js.br +0 -0
- package/build/client/_app/immutable/chunks/PYzEcuyd.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/UySfXNq7.js +1 -0
- package/build/client/_app/immutable/chunks/UySfXNq7.js.br +0 -0
- package/build/client/_app/immutable/chunks/UySfXNq7.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/_Zq76xnA.js +15 -0
- package/build/client/_app/immutable/chunks/_Zq76xnA.js.br +0 -0
- package/build/client/_app/immutable/chunks/_Zq76xnA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/dbhDrJmm.js +1 -0
- package/build/client/_app/immutable/chunks/dbhDrJmm.js.br +0 -0
- package/build/client/_app/immutable/chunks/dbhDrJmm.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/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/entry/app.vMZB8_Zr.js +2 -0
- package/build/client/_app/immutable/entry/app.vMZB8_Zr.js.br +0 -0
- package/build/client/_app/immutable/entry/app.vMZB8_Zr.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.pM5lNk_5.js +1 -0
- package/build/client/_app/immutable/entry/start.pM5lNk_5.js.br +0 -0
- package/build/client/_app/immutable/entry/start.pM5lNk_5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.CZO0sIxX.js +1 -0
- package/build/client/_app/immutable/nodes/0.CZO0sIxX.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CZO0sIxX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.zcN3R_zF.js +1 -0
- package/build/client/_app/immutable/nodes/1.zcN3R_zF.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.zcN3R_zF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.DxevVqut.js +2 -0
- package/build/client/_app/immutable/nodes/2.DxevVqut.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DxevVqut.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-DqCMPeHG.js +7304 -0
- package/build/server/chunks/chunks/EventScatter.js-DqCMPeHG.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-C6rz09rJ.js +584 -0
- package/build/server/chunks/chunks/archive.js-C6rz09rJ.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-DDcktblR.js +188 -0
- package/build/server/chunks/chunks/internal2.js-DDcktblR.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-H_AdNbCw.js +297 -0
- package/build/server/chunks/chunks/level-filter.js-H_AdNbCw.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-CpI7gyom.js +471 -0
- package/build/server/chunks/chunks/log-buffer.js-CpI7gyom.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-CX_rWCeH.js +123 -0
- package/build/server/chunks/chunks/series-buckets.js-CX_rWCeH.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-Dves8H8h.js} +5 -4
- package/build/server/chunks/chunks/state.js-Dves8H8h.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-sNd3lS0y.js +39 -0
- package/build/server/chunks/entries/endpoints/api/archive/_server.ts.js-sNd3lS0y.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-BGyWbj78.js} +57 -8
- package/build/server/chunks/entries/endpoints/api/log-groups/_server.ts.js-BGyWbj78.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-DjGMqXKo.js +194 -0
- package/build/server/chunks/entries/endpoints/api/series/_server.ts.js-DjGMqXKo.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/stream/{_server.ts.js-CIYo4C-0.js → _server.ts.js-C-XDemlx.js} +324 -223
- package/build/server/chunks/entries/endpoints/api/stream/_server.ts.js-C-XDemlx.js.map +1 -0
- package/build/server/chunks/entries/fallbacks/{error.svelte.js-CFonuZkV.js → error.svelte.js-DdUYlUJV.js} +7 -5
- package/build/server/chunks/entries/fallbacks/{error.svelte.js-CFonuZkV.js.map → error.svelte.js-DdUYlUJV.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-CpwYbxbM.js → _page.svelte.js-B-kVwiNh.js} +538 -351
- package/build/server/chunks/entries/pages/_page.svelte.js-B-kVwiNh.js.map +1 -0
- package/build/server/chunks/{handler-DS32NMsJ.js → handler-BHf-eLnl.js} +3 -3
- package/build/server/chunks/{handler-DS32NMsJ.js.map → handler-BHf-eLnl.js.map} +1 -1
- package/build/server/chunks/{index.js-HHu-yOEK.js → index.js-D6Auup1Z.js} +6 -5
- package/build/server/chunks/index.js-D6Auup1Z.js.map +1 -0
- package/build/server/chunks/{manifest.js-BUrA7Zyr.js → manifest.js-B3Q7n9I6.js} +24 -10
- package/build/server/chunks/manifest.js-B3Q7n9I6.js.map +1 -0
- package/build/server/chunks/nodes/0.js-BMP_Yttt.js +9 -0
- package/build/server/chunks/nodes/{0.js-gSRmrAt_.js.map → 0.js-BMP_Yttt.js.map} +1 -1
- package/build/server/chunks/nodes/1.js-2HQHUOse.js +9 -0
- package/build/server/chunks/nodes/{1.js-D68K7Ad_.js.map → 1.js-2HQHUOse.js.map} +1 -1
- package/build/server/chunks/nodes/2.js-7RtHpiHN.js +9 -0
- package/build/server/chunks/nodes/2.js-7RtHpiHN.js.map +1 -0
- package/dist/cli/completions.js +6 -0
- package/dist/cli/index.js +21 -1
- package/dist/cli/options.js +28 -2
- package/dist/cli/preflight.js +30 -0
- package/dist/lib/cli/aws.js +12 -4
- package/dist/lib/log-buffer.js +314 -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.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,1046 @@
|
|
|
1
|
+
import { d as ascending } from './common.js-BWQB8Die.js';
|
|
2
|
+
|
|
3
|
+
//#region node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.js
|
|
4
|
+
function descending(a, b) {
|
|
5
|
+
return a == null || b == null ? NaN : b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.js
|
|
9
|
+
function bisector(f) {
|
|
10
|
+
let compare1, compare2, delta;
|
|
11
|
+
if (f.length !== 2) {
|
|
12
|
+
compare1 = ascending;
|
|
13
|
+
compare2 = (d, x) => ascending(f(d), x);
|
|
14
|
+
delta = (d, x) => f(d) - x;
|
|
15
|
+
} else {
|
|
16
|
+
compare1 = f === ascending || f === descending ? f : zero$1;
|
|
17
|
+
compare2 = f;
|
|
18
|
+
delta = f;
|
|
19
|
+
}
|
|
20
|
+
function left(a, x, lo = 0, hi = a.length) {
|
|
21
|
+
if (lo < hi) {
|
|
22
|
+
if (compare1(x, x) !== 0) return hi;
|
|
23
|
+
do {
|
|
24
|
+
const mid = lo + hi >>> 1;
|
|
25
|
+
if (compare2(a[mid], x) < 0) lo = mid + 1;
|
|
26
|
+
else hi = mid;
|
|
27
|
+
} while (lo < hi);
|
|
28
|
+
}
|
|
29
|
+
return lo;
|
|
30
|
+
}
|
|
31
|
+
function right(a, x, lo = 0, hi = a.length) {
|
|
32
|
+
if (lo < hi) {
|
|
33
|
+
if (compare1(x, x) !== 0) return hi;
|
|
34
|
+
do {
|
|
35
|
+
const mid = lo + hi >>> 1;
|
|
36
|
+
if (compare2(a[mid], x) <= 0) lo = mid + 1;
|
|
37
|
+
else hi = mid;
|
|
38
|
+
} while (lo < hi);
|
|
39
|
+
}
|
|
40
|
+
return lo;
|
|
41
|
+
}
|
|
42
|
+
function center(a, x, lo = 0, hi = a.length) {
|
|
43
|
+
const i = left(a, x, lo, hi - 1);
|
|
44
|
+
return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
left,
|
|
48
|
+
center,
|
|
49
|
+
right
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function zero$1() {
|
|
53
|
+
return 0;
|
|
54
|
+
}
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.js
|
|
57
|
+
function number$1(x) {
|
|
58
|
+
return x === null ? NaN : +x;
|
|
59
|
+
}
|
|
60
|
+
function* numbers(values, valueof) {
|
|
61
|
+
{
|
|
62
|
+
for (let value of values) if (value != null && (value = +value) >= value) yield value;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.js
|
|
67
|
+
var ascendingBisect = bisector(ascending);
|
|
68
|
+
var bisectRight = ascendingBisect.right;
|
|
69
|
+
bisector(number$1).center;
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.js
|
|
72
|
+
var e10 = Math.sqrt(50);
|
|
73
|
+
var e5 = Math.sqrt(10);
|
|
74
|
+
var e2 = Math.sqrt(2);
|
|
75
|
+
function tickSpec(start, stop, count) {
|
|
76
|
+
const step = (stop - start) / Math.max(0, count), power = Math.floor(Math.log10(step)), error = step / Math.pow(10, power), factor = error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1;
|
|
77
|
+
let i1, i2, inc;
|
|
78
|
+
if (power < 0) {
|
|
79
|
+
inc = Math.pow(10, -power) / factor;
|
|
80
|
+
i1 = Math.round(start * inc);
|
|
81
|
+
i2 = Math.round(stop * inc);
|
|
82
|
+
if (i1 / inc < start) ++i1;
|
|
83
|
+
if (i2 / inc > stop) --i2;
|
|
84
|
+
inc = -inc;
|
|
85
|
+
} else {
|
|
86
|
+
inc = Math.pow(10, power) * factor;
|
|
87
|
+
i1 = Math.round(start / inc);
|
|
88
|
+
i2 = Math.round(stop / inc);
|
|
89
|
+
if (i1 * inc < start) ++i1;
|
|
90
|
+
if (i2 * inc > stop) --i2;
|
|
91
|
+
}
|
|
92
|
+
if (i2 < i1 && .5 <= count && count < 2) return tickSpec(start, stop, count * 2);
|
|
93
|
+
return [
|
|
94
|
+
i1,
|
|
95
|
+
i2,
|
|
96
|
+
inc
|
|
97
|
+
];
|
|
98
|
+
}
|
|
99
|
+
function ticks(start, stop, count) {
|
|
100
|
+
stop = +stop, start = +start, count = +count;
|
|
101
|
+
if (!(count > 0)) return [];
|
|
102
|
+
if (start === stop) return [start];
|
|
103
|
+
const reverse = stop < start, [i1, i2, inc] = reverse ? tickSpec(stop, start, count) : tickSpec(start, stop, count);
|
|
104
|
+
if (!(i2 >= i1)) return [];
|
|
105
|
+
const n = i2 - i1 + 1, ticks = new Array(n);
|
|
106
|
+
if (reverse) {
|
|
107
|
+
if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) / -inc;
|
|
108
|
+
else for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) * inc;
|
|
109
|
+
} else if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) / -inc;
|
|
110
|
+
else for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) * inc;
|
|
111
|
+
return ticks;
|
|
112
|
+
}
|
|
113
|
+
function tickIncrement(start, stop, count) {
|
|
114
|
+
stop = +stop, start = +start, count = +count;
|
|
115
|
+
return tickSpec(start, stop, count)[2];
|
|
116
|
+
}
|
|
117
|
+
function tickStep(start, stop, count) {
|
|
118
|
+
stop = +stop, start = +start, count = +count;
|
|
119
|
+
const reverse = stop < start, inc = reverse ? tickIncrement(stop, start, count) : tickIncrement(start, stop, count);
|
|
120
|
+
return (reverse ? -1 : 1) * (inc < 0 ? 1 / -inc : inc);
|
|
121
|
+
}
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.js
|
|
124
|
+
function initRange(domain, range) {
|
|
125
|
+
switch (arguments.length) {
|
|
126
|
+
case 0: break;
|
|
127
|
+
case 1:
|
|
128
|
+
this.range(domain);
|
|
129
|
+
break;
|
|
130
|
+
default: this.range(range).domain(domain);
|
|
131
|
+
}
|
|
132
|
+
return this;
|
|
133
|
+
}
|
|
134
|
+
//#endregion
|
|
135
|
+
//#region node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.js
|
|
136
|
+
function define_default(constructor, factory, prototype) {
|
|
137
|
+
constructor.prototype = factory.prototype = prototype;
|
|
138
|
+
prototype.constructor = constructor;
|
|
139
|
+
}
|
|
140
|
+
function extend(parent, definition) {
|
|
141
|
+
var prototype = Object.create(parent.prototype);
|
|
142
|
+
for (var key in definition) prototype[key] = definition[key];
|
|
143
|
+
return prototype;
|
|
144
|
+
}
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.js
|
|
147
|
+
function Color() {}
|
|
148
|
+
var darker = .7;
|
|
149
|
+
var brighter = 1 / darker;
|
|
150
|
+
var reI = "\\s*([+-]?\\d+)\\s*";
|
|
151
|
+
var reN = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*";
|
|
152
|
+
var reP = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*";
|
|
153
|
+
var reHex = /^#([0-9a-f]{3,8})$/;
|
|
154
|
+
var reRgbInteger = new RegExp(`^rgb\\(${reI},${reI},${reI}\\)$`);
|
|
155
|
+
var reRgbPercent = new RegExp(`^rgb\\(${reP},${reP},${reP}\\)$`);
|
|
156
|
+
var reRgbaInteger = new RegExp(`^rgba\\(${reI},${reI},${reI},${reN}\\)$`);
|
|
157
|
+
var reRgbaPercent = new RegExp(`^rgba\\(${reP},${reP},${reP},${reN}\\)$`);
|
|
158
|
+
var reHslPercent = new RegExp(`^hsl\\(${reN},${reP},${reP}\\)$`);
|
|
159
|
+
var reHslaPercent = new RegExp(`^hsla\\(${reN},${reP},${reP},${reN}\\)$`);
|
|
160
|
+
var named = {
|
|
161
|
+
aliceblue: 15792383,
|
|
162
|
+
antiquewhite: 16444375,
|
|
163
|
+
aqua: 65535,
|
|
164
|
+
aquamarine: 8388564,
|
|
165
|
+
azure: 15794175,
|
|
166
|
+
beige: 16119260,
|
|
167
|
+
bisque: 16770244,
|
|
168
|
+
black: 0,
|
|
169
|
+
blanchedalmond: 16772045,
|
|
170
|
+
blue: 255,
|
|
171
|
+
blueviolet: 9055202,
|
|
172
|
+
brown: 10824234,
|
|
173
|
+
burlywood: 14596231,
|
|
174
|
+
cadetblue: 6266528,
|
|
175
|
+
chartreuse: 8388352,
|
|
176
|
+
chocolate: 13789470,
|
|
177
|
+
coral: 16744272,
|
|
178
|
+
cornflowerblue: 6591981,
|
|
179
|
+
cornsilk: 16775388,
|
|
180
|
+
crimson: 14423100,
|
|
181
|
+
cyan: 65535,
|
|
182
|
+
darkblue: 139,
|
|
183
|
+
darkcyan: 35723,
|
|
184
|
+
darkgoldenrod: 12092939,
|
|
185
|
+
darkgray: 11119017,
|
|
186
|
+
darkgreen: 25600,
|
|
187
|
+
darkgrey: 11119017,
|
|
188
|
+
darkkhaki: 12433259,
|
|
189
|
+
darkmagenta: 9109643,
|
|
190
|
+
darkolivegreen: 5597999,
|
|
191
|
+
darkorange: 16747520,
|
|
192
|
+
darkorchid: 10040012,
|
|
193
|
+
darkred: 9109504,
|
|
194
|
+
darksalmon: 15308410,
|
|
195
|
+
darkseagreen: 9419919,
|
|
196
|
+
darkslateblue: 4734347,
|
|
197
|
+
darkslategray: 3100495,
|
|
198
|
+
darkslategrey: 3100495,
|
|
199
|
+
darkturquoise: 52945,
|
|
200
|
+
darkviolet: 9699539,
|
|
201
|
+
deeppink: 16716947,
|
|
202
|
+
deepskyblue: 49151,
|
|
203
|
+
dimgray: 6908265,
|
|
204
|
+
dimgrey: 6908265,
|
|
205
|
+
dodgerblue: 2003199,
|
|
206
|
+
firebrick: 11674146,
|
|
207
|
+
floralwhite: 16775920,
|
|
208
|
+
forestgreen: 2263842,
|
|
209
|
+
fuchsia: 16711935,
|
|
210
|
+
gainsboro: 14474460,
|
|
211
|
+
ghostwhite: 16316671,
|
|
212
|
+
gold: 16766720,
|
|
213
|
+
goldenrod: 14329120,
|
|
214
|
+
gray: 8421504,
|
|
215
|
+
green: 32768,
|
|
216
|
+
greenyellow: 11403055,
|
|
217
|
+
grey: 8421504,
|
|
218
|
+
honeydew: 15794160,
|
|
219
|
+
hotpink: 16738740,
|
|
220
|
+
indianred: 13458524,
|
|
221
|
+
indigo: 4915330,
|
|
222
|
+
ivory: 16777200,
|
|
223
|
+
khaki: 15787660,
|
|
224
|
+
lavender: 15132410,
|
|
225
|
+
lavenderblush: 16773365,
|
|
226
|
+
lawngreen: 8190976,
|
|
227
|
+
lemonchiffon: 16775885,
|
|
228
|
+
lightblue: 11393254,
|
|
229
|
+
lightcoral: 15761536,
|
|
230
|
+
lightcyan: 14745599,
|
|
231
|
+
lightgoldenrodyellow: 16448210,
|
|
232
|
+
lightgray: 13882323,
|
|
233
|
+
lightgreen: 9498256,
|
|
234
|
+
lightgrey: 13882323,
|
|
235
|
+
lightpink: 16758465,
|
|
236
|
+
lightsalmon: 16752762,
|
|
237
|
+
lightseagreen: 2142890,
|
|
238
|
+
lightskyblue: 8900346,
|
|
239
|
+
lightslategray: 7833753,
|
|
240
|
+
lightslategrey: 7833753,
|
|
241
|
+
lightsteelblue: 11584734,
|
|
242
|
+
lightyellow: 16777184,
|
|
243
|
+
lime: 65280,
|
|
244
|
+
limegreen: 3329330,
|
|
245
|
+
linen: 16445670,
|
|
246
|
+
magenta: 16711935,
|
|
247
|
+
maroon: 8388608,
|
|
248
|
+
mediumaquamarine: 6737322,
|
|
249
|
+
mediumblue: 205,
|
|
250
|
+
mediumorchid: 12211667,
|
|
251
|
+
mediumpurple: 9662683,
|
|
252
|
+
mediumseagreen: 3978097,
|
|
253
|
+
mediumslateblue: 8087790,
|
|
254
|
+
mediumspringgreen: 64154,
|
|
255
|
+
mediumturquoise: 4772300,
|
|
256
|
+
mediumvioletred: 13047173,
|
|
257
|
+
midnightblue: 1644912,
|
|
258
|
+
mintcream: 16121850,
|
|
259
|
+
mistyrose: 16770273,
|
|
260
|
+
moccasin: 16770229,
|
|
261
|
+
navajowhite: 16768685,
|
|
262
|
+
navy: 128,
|
|
263
|
+
oldlace: 16643558,
|
|
264
|
+
olive: 8421376,
|
|
265
|
+
olivedrab: 7048739,
|
|
266
|
+
orange: 16753920,
|
|
267
|
+
orangered: 16729344,
|
|
268
|
+
orchid: 14315734,
|
|
269
|
+
palegoldenrod: 15657130,
|
|
270
|
+
palegreen: 10025880,
|
|
271
|
+
paleturquoise: 11529966,
|
|
272
|
+
palevioletred: 14381203,
|
|
273
|
+
papayawhip: 16773077,
|
|
274
|
+
peachpuff: 16767673,
|
|
275
|
+
peru: 13468991,
|
|
276
|
+
pink: 16761035,
|
|
277
|
+
plum: 14524637,
|
|
278
|
+
powderblue: 11591910,
|
|
279
|
+
purple: 8388736,
|
|
280
|
+
rebeccapurple: 6697881,
|
|
281
|
+
red: 16711680,
|
|
282
|
+
rosybrown: 12357519,
|
|
283
|
+
royalblue: 4286945,
|
|
284
|
+
saddlebrown: 9127187,
|
|
285
|
+
salmon: 16416882,
|
|
286
|
+
sandybrown: 16032864,
|
|
287
|
+
seagreen: 3050327,
|
|
288
|
+
seashell: 16774638,
|
|
289
|
+
sienna: 10506797,
|
|
290
|
+
silver: 12632256,
|
|
291
|
+
skyblue: 8900331,
|
|
292
|
+
slateblue: 6970061,
|
|
293
|
+
slategray: 7372944,
|
|
294
|
+
slategrey: 7372944,
|
|
295
|
+
snow: 16775930,
|
|
296
|
+
springgreen: 65407,
|
|
297
|
+
steelblue: 4620980,
|
|
298
|
+
tan: 13808780,
|
|
299
|
+
teal: 32896,
|
|
300
|
+
thistle: 14204888,
|
|
301
|
+
tomato: 16737095,
|
|
302
|
+
turquoise: 4251856,
|
|
303
|
+
violet: 15631086,
|
|
304
|
+
wheat: 16113331,
|
|
305
|
+
white: 16777215,
|
|
306
|
+
whitesmoke: 16119285,
|
|
307
|
+
yellow: 16776960,
|
|
308
|
+
yellowgreen: 10145074
|
|
309
|
+
};
|
|
310
|
+
define_default(Color, color, {
|
|
311
|
+
copy(channels) {
|
|
312
|
+
return Object.assign(new this.constructor(), this, channels);
|
|
313
|
+
},
|
|
314
|
+
displayable() {
|
|
315
|
+
return this.rgb().displayable();
|
|
316
|
+
},
|
|
317
|
+
hex: color_formatHex,
|
|
318
|
+
formatHex: color_formatHex,
|
|
319
|
+
formatHex8: color_formatHex8,
|
|
320
|
+
formatHsl: color_formatHsl,
|
|
321
|
+
formatRgb: color_formatRgb,
|
|
322
|
+
toString: color_formatRgb
|
|
323
|
+
});
|
|
324
|
+
function color_formatHex() {
|
|
325
|
+
return this.rgb().formatHex();
|
|
326
|
+
}
|
|
327
|
+
function color_formatHex8() {
|
|
328
|
+
return this.rgb().formatHex8();
|
|
329
|
+
}
|
|
330
|
+
function color_formatHsl() {
|
|
331
|
+
return hslConvert(this).formatHsl();
|
|
332
|
+
}
|
|
333
|
+
function color_formatRgb() {
|
|
334
|
+
return this.rgb().formatRgb();
|
|
335
|
+
}
|
|
336
|
+
function color(format) {
|
|
337
|
+
var m, l;
|
|
338
|
+
format = (format + "").trim().toLowerCase();
|
|
339
|
+
return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) : l === 3 ? new Rgb(m >> 8 & 15 | m >> 4 & 240, m >> 4 & 15 | m & 240, (m & 15) << 4 | m & 15, 1) : l === 8 ? rgba(m >> 24 & 255, m >> 16 & 255, m >> 8 & 255, (m & 255) / 255) : l === 4 ? rgba(m >> 12 & 15 | m >> 8 & 240, m >> 8 & 15 | m >> 4 & 240, m >> 4 & 15 | m & 240, ((m & 15) << 4 | m & 15) / 255) : null) : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) : named.hasOwnProperty(format) ? rgbn(named[format]) : format === "transparent" ? new Rgb(NaN, NaN, NaN, 0) : null;
|
|
340
|
+
}
|
|
341
|
+
function rgbn(n) {
|
|
342
|
+
return new Rgb(n >> 16 & 255, n >> 8 & 255, n & 255, 1);
|
|
343
|
+
}
|
|
344
|
+
function rgba(r, g, b, a) {
|
|
345
|
+
if (a <= 0) r = g = b = NaN;
|
|
346
|
+
return new Rgb(r, g, b, a);
|
|
347
|
+
}
|
|
348
|
+
function rgbConvert(o) {
|
|
349
|
+
if (!(o instanceof Color)) o = color(o);
|
|
350
|
+
if (!o) return new Rgb();
|
|
351
|
+
o = o.rgb();
|
|
352
|
+
return new Rgb(o.r, o.g, o.b, o.opacity);
|
|
353
|
+
}
|
|
354
|
+
function rgb(r, g, b, opacity) {
|
|
355
|
+
return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);
|
|
356
|
+
}
|
|
357
|
+
function Rgb(r, g, b, opacity) {
|
|
358
|
+
this.r = +r;
|
|
359
|
+
this.g = +g;
|
|
360
|
+
this.b = +b;
|
|
361
|
+
this.opacity = +opacity;
|
|
362
|
+
}
|
|
363
|
+
define_default(Rgb, rgb, extend(Color, {
|
|
364
|
+
brighter(k) {
|
|
365
|
+
k = k == null ? brighter : Math.pow(brighter, k);
|
|
366
|
+
return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
|
|
367
|
+
},
|
|
368
|
+
darker(k) {
|
|
369
|
+
k = k == null ? darker : Math.pow(darker, k);
|
|
370
|
+
return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
|
|
371
|
+
},
|
|
372
|
+
rgb() {
|
|
373
|
+
return this;
|
|
374
|
+
},
|
|
375
|
+
clamp() {
|
|
376
|
+
return new Rgb(clampi(this.r), clampi(this.g), clampi(this.b), clampa(this.opacity));
|
|
377
|
+
},
|
|
378
|
+
displayable() {
|
|
379
|
+
return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
|
|
380
|
+
},
|
|
381
|
+
hex: rgb_formatHex,
|
|
382
|
+
formatHex: rgb_formatHex,
|
|
383
|
+
formatHex8: rgb_formatHex8,
|
|
384
|
+
formatRgb: rgb_formatRgb,
|
|
385
|
+
toString: rgb_formatRgb
|
|
386
|
+
}));
|
|
387
|
+
function rgb_formatHex() {
|
|
388
|
+
return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}`;
|
|
389
|
+
}
|
|
390
|
+
function rgb_formatHex8() {
|
|
391
|
+
return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}${hex((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
392
|
+
}
|
|
393
|
+
function rgb_formatRgb() {
|
|
394
|
+
const a = clampa(this.opacity);
|
|
395
|
+
return `${a === 1 ? "rgb(" : "rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${a === 1 ? ")" : `, ${a})`}`;
|
|
396
|
+
}
|
|
397
|
+
function clampa(opacity) {
|
|
398
|
+
return isNaN(opacity) ? 1 : Math.max(0, Math.min(1, opacity));
|
|
399
|
+
}
|
|
400
|
+
function clampi(value) {
|
|
401
|
+
return Math.max(0, Math.min(255, Math.round(value) || 0));
|
|
402
|
+
}
|
|
403
|
+
function hex(value) {
|
|
404
|
+
value = clampi(value);
|
|
405
|
+
return (value < 16 ? "0" : "") + value.toString(16);
|
|
406
|
+
}
|
|
407
|
+
function hsla(h, s, l, a) {
|
|
408
|
+
if (a <= 0) h = s = l = NaN;
|
|
409
|
+
else if (l <= 0 || l >= 1) h = s = NaN;
|
|
410
|
+
else if (s <= 0) h = NaN;
|
|
411
|
+
return new Hsl(h, s, l, a);
|
|
412
|
+
}
|
|
413
|
+
function hslConvert(o) {
|
|
414
|
+
if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);
|
|
415
|
+
if (!(o instanceof Color)) o = color(o);
|
|
416
|
+
if (!o) return new Hsl();
|
|
417
|
+
if (o instanceof Hsl) return o;
|
|
418
|
+
o = o.rgb();
|
|
419
|
+
var r = o.r / 255, g = o.g / 255, b = o.b / 255, min = Math.min(r, g, b), max = Math.max(r, g, b), h = NaN, s = max - min, l = (max + min) / 2;
|
|
420
|
+
if (s) {
|
|
421
|
+
if (r === max) h = (g - b) / s + (g < b) * 6;
|
|
422
|
+
else if (g === max) h = (b - r) / s + 2;
|
|
423
|
+
else h = (r - g) / s + 4;
|
|
424
|
+
s /= l < .5 ? max + min : 2 - max - min;
|
|
425
|
+
h *= 60;
|
|
426
|
+
} else s = l > 0 && l < 1 ? 0 : h;
|
|
427
|
+
return new Hsl(h, s, l, o.opacity);
|
|
428
|
+
}
|
|
429
|
+
function hsl(h, s, l, opacity) {
|
|
430
|
+
return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);
|
|
431
|
+
}
|
|
432
|
+
function Hsl(h, s, l, opacity) {
|
|
433
|
+
this.h = +h;
|
|
434
|
+
this.s = +s;
|
|
435
|
+
this.l = +l;
|
|
436
|
+
this.opacity = +opacity;
|
|
437
|
+
}
|
|
438
|
+
define_default(Hsl, hsl, extend(Color, {
|
|
439
|
+
brighter(k) {
|
|
440
|
+
k = k == null ? brighter : Math.pow(brighter, k);
|
|
441
|
+
return new Hsl(this.h, this.s, this.l * k, this.opacity);
|
|
442
|
+
},
|
|
443
|
+
darker(k) {
|
|
444
|
+
k = k == null ? darker : Math.pow(darker, k);
|
|
445
|
+
return new Hsl(this.h, this.s, this.l * k, this.opacity);
|
|
446
|
+
},
|
|
447
|
+
rgb() {
|
|
448
|
+
var h = this.h % 360 + (this.h < 0) * 360, s = isNaN(h) || isNaN(this.s) ? 0 : this.s, l = this.l, m2 = l + (l < .5 ? l : 1 - l) * s, m1 = 2 * l - m2;
|
|
449
|
+
return new Rgb(hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2), hsl2rgb(h, m1, m2), hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2), this.opacity);
|
|
450
|
+
},
|
|
451
|
+
clamp() {
|
|
452
|
+
return new Hsl(clamph(this.h), clampt(this.s), clampt(this.l), clampa(this.opacity));
|
|
453
|
+
},
|
|
454
|
+
displayable() {
|
|
455
|
+
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
|
|
456
|
+
},
|
|
457
|
+
formatHsl() {
|
|
458
|
+
const a = clampa(this.opacity);
|
|
459
|
+
return `${a === 1 ? "hsl(" : "hsla("}${clamph(this.h)}, ${clampt(this.s) * 100}%, ${clampt(this.l) * 100}%${a === 1 ? ")" : `, ${a})`}`;
|
|
460
|
+
}
|
|
461
|
+
}));
|
|
462
|
+
function clamph(value) {
|
|
463
|
+
value = (value || 0) % 360;
|
|
464
|
+
return value < 0 ? value + 360 : value;
|
|
465
|
+
}
|
|
466
|
+
function clampt(value) {
|
|
467
|
+
return Math.max(0, Math.min(1, value || 0));
|
|
468
|
+
}
|
|
469
|
+
function hsl2rgb(h, m1, m2) {
|
|
470
|
+
return (h < 60 ? m1 + (m2 - m1) * h / 60 : h < 180 ? m2 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 : m1) * 255;
|
|
471
|
+
}
|
|
472
|
+
//#endregion
|
|
473
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.js
|
|
474
|
+
var constant_default = (x) => () => x;
|
|
475
|
+
//#endregion
|
|
476
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.js
|
|
477
|
+
function linear$1(a, d) {
|
|
478
|
+
return function(t) {
|
|
479
|
+
return a + t * d;
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
function exponential(a, b, y) {
|
|
483
|
+
return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function(t) {
|
|
484
|
+
return Math.pow(a + t * b, y);
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
function gamma(y) {
|
|
488
|
+
return (y = +y) === 1 ? nogamma : function(a, b) {
|
|
489
|
+
return b - a ? exponential(a, b, y) : constant_default(isNaN(a) ? b : a);
|
|
490
|
+
};
|
|
491
|
+
}
|
|
492
|
+
function nogamma(a, b) {
|
|
493
|
+
var d = b - a;
|
|
494
|
+
return d ? linear$1(a, d) : constant_default(isNaN(a) ? b : a);
|
|
495
|
+
}
|
|
496
|
+
//#endregion
|
|
497
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.js
|
|
498
|
+
var rgb_default = (function rgbGamma(y) {
|
|
499
|
+
var color = gamma(y);
|
|
500
|
+
function rgb$1(start, end) {
|
|
501
|
+
var r = color((start = rgb(start)).r, (end = rgb(end)).r), g = color(start.g, end.g), b = color(start.b, end.b), opacity = nogamma(start.opacity, end.opacity);
|
|
502
|
+
return function(t) {
|
|
503
|
+
start.r = r(t);
|
|
504
|
+
start.g = g(t);
|
|
505
|
+
start.b = b(t);
|
|
506
|
+
start.opacity = opacity(t);
|
|
507
|
+
return start + "";
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
rgb$1.gamma = rgbGamma;
|
|
511
|
+
return rgb$1;
|
|
512
|
+
})(1);
|
|
513
|
+
//#endregion
|
|
514
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.js
|
|
515
|
+
function numberArray_default(a, b) {
|
|
516
|
+
if (!b) b = [];
|
|
517
|
+
var n = a ? Math.min(b.length, a.length) : 0, c = b.slice(), i;
|
|
518
|
+
return function(t) {
|
|
519
|
+
for (i = 0; i < n; ++i) c[i] = a[i] * (1 - t) + b[i] * t;
|
|
520
|
+
return c;
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
function isNumberArray(x) {
|
|
524
|
+
return ArrayBuffer.isView(x) && !(x instanceof DataView);
|
|
525
|
+
}
|
|
526
|
+
//#endregion
|
|
527
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.js
|
|
528
|
+
function genericArray(a, b) {
|
|
529
|
+
var nb = b ? b.length : 0, na = a ? Math.min(nb, a.length) : 0, x = new Array(na), c = new Array(nb), i = 0;
|
|
530
|
+
for (; i < na; ++i) x[i] = value_default(a[i], b[i]);
|
|
531
|
+
for (; i < nb; ++i) c[i] = b[i];
|
|
532
|
+
return function(t) {
|
|
533
|
+
for (i = 0; i < na; ++i) c[i] = x[i](t);
|
|
534
|
+
return c;
|
|
535
|
+
};
|
|
536
|
+
}
|
|
537
|
+
//#endregion
|
|
538
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.js
|
|
539
|
+
function date_default(a, b) {
|
|
540
|
+
var d = /* @__PURE__ */ new Date();
|
|
541
|
+
return a = +a, b = +b, function(t) {
|
|
542
|
+
return d.setTime(a * (1 - t) + b * t), d;
|
|
543
|
+
};
|
|
544
|
+
}
|
|
545
|
+
//#endregion
|
|
546
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.js
|
|
547
|
+
function number_default(a, b) {
|
|
548
|
+
return a = +a, b = +b, function(t) {
|
|
549
|
+
return a * (1 - t) + b * t;
|
|
550
|
+
};
|
|
551
|
+
}
|
|
552
|
+
//#endregion
|
|
553
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.js
|
|
554
|
+
function object_default(a, b) {
|
|
555
|
+
var i = {}, c = {}, k;
|
|
556
|
+
if (a === null || typeof a !== "object") a = {};
|
|
557
|
+
if (b === null || typeof b !== "object") b = {};
|
|
558
|
+
for (k in b) if (k in a) i[k] = value_default(a[k], b[k]);
|
|
559
|
+
else c[k] = b[k];
|
|
560
|
+
return function(t) {
|
|
561
|
+
for (k in i) c[k] = i[k](t);
|
|
562
|
+
return c;
|
|
563
|
+
};
|
|
564
|
+
}
|
|
565
|
+
//#endregion
|
|
566
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.js
|
|
567
|
+
var reA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g;
|
|
568
|
+
var reB = new RegExp(reA.source, "g");
|
|
569
|
+
function zero(b) {
|
|
570
|
+
return function() {
|
|
571
|
+
return b;
|
|
572
|
+
};
|
|
573
|
+
}
|
|
574
|
+
function one(b) {
|
|
575
|
+
return function(t) {
|
|
576
|
+
return b(t) + "";
|
|
577
|
+
};
|
|
578
|
+
}
|
|
579
|
+
function string_default(a, b) {
|
|
580
|
+
var bi = reA.lastIndex = reB.lastIndex = 0, am, bm, bs, i = -1, s = [], q = [];
|
|
581
|
+
a = a + "", b = b + "";
|
|
582
|
+
while ((am = reA.exec(a)) && (bm = reB.exec(b))) {
|
|
583
|
+
if ((bs = bm.index) > bi) {
|
|
584
|
+
bs = b.slice(bi, bs);
|
|
585
|
+
if (s[i]) s[i] += bs;
|
|
586
|
+
else s[++i] = bs;
|
|
587
|
+
}
|
|
588
|
+
if ((am = am[0]) === (bm = bm[0])) {
|
|
589
|
+
if (s[i]) s[i] += bm;
|
|
590
|
+
else s[++i] = bm;
|
|
591
|
+
} else {
|
|
592
|
+
s[++i] = null;
|
|
593
|
+
q.push({
|
|
594
|
+
i,
|
|
595
|
+
x: number_default(am, bm)
|
|
596
|
+
});
|
|
597
|
+
}
|
|
598
|
+
bi = reB.lastIndex;
|
|
599
|
+
}
|
|
600
|
+
if (bi < b.length) {
|
|
601
|
+
bs = b.slice(bi);
|
|
602
|
+
if (s[i]) s[i] += bs;
|
|
603
|
+
else s[++i] = bs;
|
|
604
|
+
}
|
|
605
|
+
return s.length < 2 ? q[0] ? one(q[0].x) : zero(b) : (b = q.length, function(t) {
|
|
606
|
+
for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);
|
|
607
|
+
return s.join("");
|
|
608
|
+
});
|
|
609
|
+
}
|
|
610
|
+
//#endregion
|
|
611
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.js
|
|
612
|
+
function value_default(a, b) {
|
|
613
|
+
var t = typeof b, c;
|
|
614
|
+
return b == null || t === "boolean" ? constant_default(b) : (t === "number" ? number_default : t === "string" ? (c = color(b)) ? (b = c, rgb_default) : string_default : b instanceof color ? rgb_default : b instanceof Date ? date_default : isNumberArray(b) ? numberArray_default : Array.isArray(b) ? genericArray : typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? object_default : number_default)(a, b);
|
|
615
|
+
}
|
|
616
|
+
//#endregion
|
|
617
|
+
//#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.js
|
|
618
|
+
function round_default(a, b) {
|
|
619
|
+
return a = +a, b = +b, function(t) {
|
|
620
|
+
return Math.round(a * (1 - t) + b * t);
|
|
621
|
+
};
|
|
622
|
+
}
|
|
623
|
+
//#endregion
|
|
624
|
+
//#region node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.js
|
|
625
|
+
function constants(x) {
|
|
626
|
+
return function() {
|
|
627
|
+
return x;
|
|
628
|
+
};
|
|
629
|
+
}
|
|
630
|
+
//#endregion
|
|
631
|
+
//#region node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.js
|
|
632
|
+
function number(x) {
|
|
633
|
+
return +x;
|
|
634
|
+
}
|
|
635
|
+
//#endregion
|
|
636
|
+
//#region node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.js
|
|
637
|
+
var unit = [0, 1];
|
|
638
|
+
function identity(x) {
|
|
639
|
+
return x;
|
|
640
|
+
}
|
|
641
|
+
function normalize(a, b) {
|
|
642
|
+
return (b -= a = +a) ? function(x) {
|
|
643
|
+
return (x - a) / b;
|
|
644
|
+
} : constants(isNaN(b) ? NaN : .5);
|
|
645
|
+
}
|
|
646
|
+
function clamper(a, b) {
|
|
647
|
+
var t;
|
|
648
|
+
if (a > b) t = a, a = b, b = t;
|
|
649
|
+
return function(x) {
|
|
650
|
+
return Math.max(a, Math.min(b, x));
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
function bimap(domain, range, interpolate) {
|
|
654
|
+
var d0 = domain[0], d1 = domain[1], r0 = range[0], r1 = range[1];
|
|
655
|
+
if (d1 < d0) d0 = normalize(d1, d0), r0 = interpolate(r1, r0);
|
|
656
|
+
else d0 = normalize(d0, d1), r0 = interpolate(r0, r1);
|
|
657
|
+
return function(x) {
|
|
658
|
+
return r0(d0(x));
|
|
659
|
+
};
|
|
660
|
+
}
|
|
661
|
+
function polymap(domain, range, interpolate) {
|
|
662
|
+
var j = Math.min(domain.length, range.length) - 1, d = new Array(j), r = new Array(j), i = -1;
|
|
663
|
+
if (domain[j] < domain[0]) {
|
|
664
|
+
domain = domain.slice().reverse();
|
|
665
|
+
range = range.slice().reverse();
|
|
666
|
+
}
|
|
667
|
+
while (++i < j) {
|
|
668
|
+
d[i] = normalize(domain[i], domain[i + 1]);
|
|
669
|
+
r[i] = interpolate(range[i], range[i + 1]);
|
|
670
|
+
}
|
|
671
|
+
return function(x) {
|
|
672
|
+
var i = bisectRight(domain, x, 1, j) - 1;
|
|
673
|
+
return r[i](d[i](x));
|
|
674
|
+
};
|
|
675
|
+
}
|
|
676
|
+
function copy(source, target) {
|
|
677
|
+
return target.domain(source.domain()).range(source.range()).interpolate(source.interpolate()).clamp(source.clamp()).unknown(source.unknown());
|
|
678
|
+
}
|
|
679
|
+
function transformer() {
|
|
680
|
+
var domain = unit, range = unit, interpolate = value_default, transform, untransform, unknown, clamp = identity, piecewise, output, input;
|
|
681
|
+
function rescale() {
|
|
682
|
+
var n = Math.min(domain.length, range.length);
|
|
683
|
+
if (clamp !== identity) clamp = clamper(domain[0], domain[n - 1]);
|
|
684
|
+
piecewise = n > 2 ? polymap : bimap;
|
|
685
|
+
output = input = null;
|
|
686
|
+
return scale;
|
|
687
|
+
}
|
|
688
|
+
function scale(x) {
|
|
689
|
+
return x == null || isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate)))(transform(clamp(x)));
|
|
690
|
+
}
|
|
691
|
+
scale.invert = function(y) {
|
|
692
|
+
return clamp(untransform((input || (input = piecewise(range, domain.map(transform), number_default)))(y)));
|
|
693
|
+
};
|
|
694
|
+
scale.domain = function(_) {
|
|
695
|
+
return arguments.length ? (domain = Array.from(_, number), rescale()) : domain.slice();
|
|
696
|
+
};
|
|
697
|
+
scale.range = function(_) {
|
|
698
|
+
return arguments.length ? (range = Array.from(_), rescale()) : range.slice();
|
|
699
|
+
};
|
|
700
|
+
scale.rangeRound = function(_) {
|
|
701
|
+
return range = Array.from(_), interpolate = round_default, rescale();
|
|
702
|
+
};
|
|
703
|
+
scale.clamp = function(_) {
|
|
704
|
+
return arguments.length ? (clamp = _ ? true : identity, rescale()) : clamp !== identity;
|
|
705
|
+
};
|
|
706
|
+
scale.interpolate = function(_) {
|
|
707
|
+
return arguments.length ? (interpolate = _, rescale()) : interpolate;
|
|
708
|
+
};
|
|
709
|
+
scale.unknown = function(_) {
|
|
710
|
+
return arguments.length ? (unknown = _, scale) : unknown;
|
|
711
|
+
};
|
|
712
|
+
return function(t, u) {
|
|
713
|
+
transform = t, untransform = u;
|
|
714
|
+
return rescale();
|
|
715
|
+
};
|
|
716
|
+
}
|
|
717
|
+
function continuous() {
|
|
718
|
+
return transformer()(identity, identity);
|
|
719
|
+
}
|
|
720
|
+
//#endregion
|
|
721
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatDecimal.js
|
|
722
|
+
function formatDecimal_default(x) {
|
|
723
|
+
return Math.abs(x = Math.round(x)) >= 1e21 ? x.toLocaleString("en").replace(/,/g, "") : x.toString(10);
|
|
724
|
+
}
|
|
725
|
+
function formatDecimalParts(x, p) {
|
|
726
|
+
if (!isFinite(x) || x === 0) return null;
|
|
727
|
+
var i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf("e"), coefficient = x.slice(0, i);
|
|
728
|
+
return [coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient, +x.slice(i + 1)];
|
|
729
|
+
}
|
|
730
|
+
//#endregion
|
|
731
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/exponent.js
|
|
732
|
+
function exponent_default(x) {
|
|
733
|
+
return x = formatDecimalParts(Math.abs(x)), x ? x[1] : NaN;
|
|
734
|
+
}
|
|
735
|
+
//#endregion
|
|
736
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatGroup.js
|
|
737
|
+
function formatGroup_default(grouping, thousands) {
|
|
738
|
+
return function(value, width) {
|
|
739
|
+
var i = value.length, t = [], j = 0, g = grouping[0], length = 0;
|
|
740
|
+
while (i > 0 && g > 0) {
|
|
741
|
+
if (length + g + 1 > width) g = Math.max(1, width - length);
|
|
742
|
+
t.push(value.substring(i -= g, i + g));
|
|
743
|
+
if ((length += g + 1) > width) break;
|
|
744
|
+
g = grouping[j = (j + 1) % grouping.length];
|
|
745
|
+
}
|
|
746
|
+
return t.reverse().join(thousands);
|
|
747
|
+
};
|
|
748
|
+
}
|
|
749
|
+
//#endregion
|
|
750
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatNumerals.js
|
|
751
|
+
function formatNumerals_default(numerals) {
|
|
752
|
+
return function(value) {
|
|
753
|
+
return value.replace(/[0-9]/g, function(i) {
|
|
754
|
+
return numerals[+i];
|
|
755
|
+
});
|
|
756
|
+
};
|
|
757
|
+
}
|
|
758
|
+
//#endregion
|
|
759
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatSpecifier.js
|
|
760
|
+
var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
761
|
+
function formatSpecifier(specifier) {
|
|
762
|
+
if (!(match = re.exec(specifier))) throw new Error("invalid format: " + specifier);
|
|
763
|
+
var match;
|
|
764
|
+
return new FormatSpecifier({
|
|
765
|
+
fill: match[1],
|
|
766
|
+
align: match[2],
|
|
767
|
+
sign: match[3],
|
|
768
|
+
symbol: match[4],
|
|
769
|
+
zero: match[5],
|
|
770
|
+
width: match[6],
|
|
771
|
+
comma: match[7],
|
|
772
|
+
precision: match[8] && match[8].slice(1),
|
|
773
|
+
trim: match[9],
|
|
774
|
+
type: match[10]
|
|
775
|
+
});
|
|
776
|
+
}
|
|
777
|
+
formatSpecifier.prototype = FormatSpecifier.prototype;
|
|
778
|
+
function FormatSpecifier(specifier) {
|
|
779
|
+
this.fill = specifier.fill === void 0 ? " " : specifier.fill + "";
|
|
780
|
+
this.align = specifier.align === void 0 ? ">" : specifier.align + "";
|
|
781
|
+
this.sign = specifier.sign === void 0 ? "-" : specifier.sign + "";
|
|
782
|
+
this.symbol = specifier.symbol === void 0 ? "" : specifier.symbol + "";
|
|
783
|
+
this.zero = !!specifier.zero;
|
|
784
|
+
this.width = specifier.width === void 0 ? void 0 : +specifier.width;
|
|
785
|
+
this.comma = !!specifier.comma;
|
|
786
|
+
this.precision = specifier.precision === void 0 ? void 0 : +specifier.precision;
|
|
787
|
+
this.trim = !!specifier.trim;
|
|
788
|
+
this.type = specifier.type === void 0 ? "" : specifier.type + "";
|
|
789
|
+
}
|
|
790
|
+
FormatSpecifier.prototype.toString = function() {
|
|
791
|
+
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
|
|
792
|
+
};
|
|
793
|
+
//#endregion
|
|
794
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatTrim.js
|
|
795
|
+
function formatTrim_default(s) {
|
|
796
|
+
out: for (var n = s.length, i = 1, i0 = -1, i1; i < n; ++i) switch (s[i]) {
|
|
797
|
+
case ".":
|
|
798
|
+
i0 = i1 = i;
|
|
799
|
+
break;
|
|
800
|
+
case "0":
|
|
801
|
+
if (i0 === 0) i0 = i;
|
|
802
|
+
i1 = i;
|
|
803
|
+
break;
|
|
804
|
+
default:
|
|
805
|
+
if (!+s[i]) break out;
|
|
806
|
+
if (i0 > 0) i0 = 0;
|
|
807
|
+
}
|
|
808
|
+
return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s;
|
|
809
|
+
}
|
|
810
|
+
//#endregion
|
|
811
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatPrefixAuto.js
|
|
812
|
+
var prefixExponent;
|
|
813
|
+
function formatPrefixAuto_default(x, p) {
|
|
814
|
+
var d = formatDecimalParts(x, p);
|
|
815
|
+
if (!d) return prefixExponent = void 0, x.toPrecision(p);
|
|
816
|
+
var coefficient = d[0], exponent = d[1], i = exponent - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1, n = coefficient.length;
|
|
817
|
+
return i === n ? coefficient : i > n ? coefficient + new Array(i - n + 1).join("0") : i > 0 ? coefficient.slice(0, i) + "." + coefficient.slice(i) : "0." + new Array(1 - i).join("0") + formatDecimalParts(x, Math.max(0, p + i - 1))[0];
|
|
818
|
+
}
|
|
819
|
+
//#endregion
|
|
820
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatRounded.js
|
|
821
|
+
function formatRounded_default(x, p) {
|
|
822
|
+
var d = formatDecimalParts(x, p);
|
|
823
|
+
if (!d) return x + "";
|
|
824
|
+
var coefficient = d[0], exponent = d[1];
|
|
825
|
+
return exponent < 0 ? "0." + new Array(-exponent).join("0") + coefficient : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + "." + coefficient.slice(exponent + 1) : coefficient + new Array(exponent - coefficient.length + 2).join("0");
|
|
826
|
+
}
|
|
827
|
+
//#endregion
|
|
828
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatTypes.js
|
|
829
|
+
var formatTypes_default = {
|
|
830
|
+
"%": (x, p) => (x * 100).toFixed(p),
|
|
831
|
+
"b": (x) => Math.round(x).toString(2),
|
|
832
|
+
"c": (x) => x + "",
|
|
833
|
+
"d": formatDecimal_default,
|
|
834
|
+
"e": (x, p) => x.toExponential(p),
|
|
835
|
+
"f": (x, p) => x.toFixed(p),
|
|
836
|
+
"g": (x, p) => x.toPrecision(p),
|
|
837
|
+
"o": (x) => Math.round(x).toString(8),
|
|
838
|
+
"p": (x, p) => formatRounded_default(x * 100, p),
|
|
839
|
+
"r": formatRounded_default,
|
|
840
|
+
"s": formatPrefixAuto_default,
|
|
841
|
+
"X": (x) => Math.round(x).toString(16).toUpperCase(),
|
|
842
|
+
"x": (x) => Math.round(x).toString(16)
|
|
843
|
+
};
|
|
844
|
+
//#endregion
|
|
845
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/identity.js
|
|
846
|
+
function identity_default(x) {
|
|
847
|
+
return x;
|
|
848
|
+
}
|
|
849
|
+
//#endregion
|
|
850
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/locale.js
|
|
851
|
+
var map = Array.prototype.map;
|
|
852
|
+
var prefixes = [
|
|
853
|
+
"y",
|
|
854
|
+
"z",
|
|
855
|
+
"a",
|
|
856
|
+
"f",
|
|
857
|
+
"p",
|
|
858
|
+
"n",
|
|
859
|
+
"µ",
|
|
860
|
+
"m",
|
|
861
|
+
"",
|
|
862
|
+
"k",
|
|
863
|
+
"M",
|
|
864
|
+
"G",
|
|
865
|
+
"T",
|
|
866
|
+
"P",
|
|
867
|
+
"E",
|
|
868
|
+
"Z",
|
|
869
|
+
"Y"
|
|
870
|
+
];
|
|
871
|
+
function locale_default(locale) {
|
|
872
|
+
var group = locale.grouping === void 0 || locale.thousands === void 0 ? identity_default : formatGroup_default(map.call(locale.grouping, Number), locale.thousands + ""), currencyPrefix = locale.currency === void 0 ? "" : locale.currency[0] + "", currencySuffix = locale.currency === void 0 ? "" : locale.currency[1] + "", decimal = locale.decimal === void 0 ? "." : locale.decimal + "", numerals = locale.numerals === void 0 ? identity_default : formatNumerals_default(map.call(locale.numerals, String)), percent = locale.percent === void 0 ? "%" : locale.percent + "", minus = locale.minus === void 0 ? "−" : locale.minus + "", nan = locale.nan === void 0 ? "NaN" : locale.nan + "";
|
|
873
|
+
function newFormat(specifier, options) {
|
|
874
|
+
specifier = formatSpecifier(specifier);
|
|
875
|
+
var fill = specifier.fill, align = specifier.align, sign = specifier.sign, symbol = specifier.symbol, zero = specifier.zero, width = specifier.width, comma = specifier.comma, precision = specifier.precision, trim = specifier.trim, type = specifier.type;
|
|
876
|
+
if (type === "n") comma = true, type = "g";
|
|
877
|
+
else if (!formatTypes_default[type]) precision === void 0 && (precision = 12), trim = true, type = "g";
|
|
878
|
+
if (zero || fill === "0" && align === "=") zero = true, fill = "0", align = "=";
|
|
879
|
+
var prefix = (options && options.prefix !== void 0 ? options.prefix : "") + (symbol === "$" ? currencyPrefix : symbol === "#" && /[boxX]/.test(type) ? "0" + type.toLowerCase() : ""), suffix = (symbol === "$" ? currencySuffix : /[%p]/.test(type) ? percent : "") + (options && options.suffix !== void 0 ? options.suffix : "");
|
|
880
|
+
var formatType = formatTypes_default[type], maybeSuffix = /[defgprs%]/.test(type);
|
|
881
|
+
precision = precision === void 0 ? 6 : /[gprs]/.test(type) ? Math.max(1, Math.min(21, precision)) : Math.max(0, Math.min(20, precision));
|
|
882
|
+
function format(value) {
|
|
883
|
+
var valuePrefix = prefix, valueSuffix = suffix, i, n, c;
|
|
884
|
+
if (type === "c") {
|
|
885
|
+
valueSuffix = formatType(value) + valueSuffix;
|
|
886
|
+
value = "";
|
|
887
|
+
} else {
|
|
888
|
+
value = +value;
|
|
889
|
+
var valueNegative = value < 0 || 1 / value < 0;
|
|
890
|
+
value = isNaN(value) ? nan : formatType(Math.abs(value), precision);
|
|
891
|
+
if (trim) value = formatTrim_default(value);
|
|
892
|
+
if (valueNegative && +value === 0 && sign !== "+") valueNegative = false;
|
|
893
|
+
valuePrefix = (valueNegative ? sign === "(" ? sign : minus : sign === "-" || sign === "(" ? "" : sign) + valuePrefix;
|
|
894
|
+
valueSuffix = (type === "s" && !isNaN(value) && prefixExponent !== void 0 ? prefixes[8 + prefixExponent / 3] : "") + valueSuffix + (valueNegative && sign === "(" ? ")" : "");
|
|
895
|
+
if (maybeSuffix) {
|
|
896
|
+
i = -1, n = value.length;
|
|
897
|
+
while (++i < n) if (c = value.charCodeAt(i), 48 > c || c > 57) {
|
|
898
|
+
valueSuffix = (c === 46 ? decimal + value.slice(i + 1) : value.slice(i)) + valueSuffix;
|
|
899
|
+
value = value.slice(0, i);
|
|
900
|
+
break;
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
if (comma && !zero) value = group(value, Infinity);
|
|
905
|
+
var length = valuePrefix.length + value.length + valueSuffix.length, padding = length < width ? new Array(width - length + 1).join(fill) : "";
|
|
906
|
+
if (comma && zero) value = group(padding + value, padding.length ? width - valueSuffix.length : Infinity), padding = "";
|
|
907
|
+
switch (align) {
|
|
908
|
+
case "<":
|
|
909
|
+
value = valuePrefix + value + valueSuffix + padding;
|
|
910
|
+
break;
|
|
911
|
+
case "=":
|
|
912
|
+
value = valuePrefix + padding + value + valueSuffix;
|
|
913
|
+
break;
|
|
914
|
+
case "^":
|
|
915
|
+
value = padding.slice(0, length = padding.length >> 1) + valuePrefix + value + valueSuffix + padding.slice(length);
|
|
916
|
+
break;
|
|
917
|
+
default: value = padding + valuePrefix + value + valueSuffix;
|
|
918
|
+
}
|
|
919
|
+
return numerals(value);
|
|
920
|
+
}
|
|
921
|
+
format.toString = function() {
|
|
922
|
+
return specifier + "";
|
|
923
|
+
};
|
|
924
|
+
return format;
|
|
925
|
+
}
|
|
926
|
+
function formatPrefix(specifier, value) {
|
|
927
|
+
var e = Math.max(-8, Math.min(8, Math.floor(exponent_default(value) / 3))) * 3, k = Math.pow(10, -e), f = newFormat((specifier = formatSpecifier(specifier), specifier.type = "f", specifier), { suffix: prefixes[8 + e / 3] });
|
|
928
|
+
return function(value) {
|
|
929
|
+
return f(k * value);
|
|
930
|
+
};
|
|
931
|
+
}
|
|
932
|
+
return {
|
|
933
|
+
format: newFormat,
|
|
934
|
+
formatPrefix
|
|
935
|
+
};
|
|
936
|
+
}
|
|
937
|
+
//#endregion
|
|
938
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/defaultLocale.js
|
|
939
|
+
var locale;
|
|
940
|
+
var format;
|
|
941
|
+
var formatPrefix;
|
|
942
|
+
defaultLocale({
|
|
943
|
+
thousands: ",",
|
|
944
|
+
grouping: [3],
|
|
945
|
+
currency: ["$", ""]
|
|
946
|
+
});
|
|
947
|
+
function defaultLocale(definition) {
|
|
948
|
+
locale = locale_default(definition);
|
|
949
|
+
format = locale.format;
|
|
950
|
+
formatPrefix = locale.formatPrefix;
|
|
951
|
+
return locale;
|
|
952
|
+
}
|
|
953
|
+
//#endregion
|
|
954
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/precisionFixed.js
|
|
955
|
+
function precisionFixed_default(step) {
|
|
956
|
+
return Math.max(0, -exponent_default(Math.abs(step)));
|
|
957
|
+
}
|
|
958
|
+
//#endregion
|
|
959
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/precisionPrefix.js
|
|
960
|
+
function precisionPrefix_default(step, value) {
|
|
961
|
+
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(exponent_default(value) / 3))) * 3 - exponent_default(Math.abs(step)));
|
|
962
|
+
}
|
|
963
|
+
//#endregion
|
|
964
|
+
//#region node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/precisionRound.js
|
|
965
|
+
function precisionRound_default(step, max) {
|
|
966
|
+
step = Math.abs(step), max = Math.abs(max) - step;
|
|
967
|
+
return Math.max(0, exponent_default(max) - exponent_default(step)) + 1;
|
|
968
|
+
}
|
|
969
|
+
//#endregion
|
|
970
|
+
//#region node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.js
|
|
971
|
+
function tickFormat(start, stop, count, specifier) {
|
|
972
|
+
var step = tickStep(start, stop, count), precision;
|
|
973
|
+
specifier = formatSpecifier(specifier == null ? ",f" : specifier);
|
|
974
|
+
switch (specifier.type) {
|
|
975
|
+
case "s":
|
|
976
|
+
var value = Math.max(Math.abs(start), Math.abs(stop));
|
|
977
|
+
if (specifier.precision == null && !isNaN(precision = precisionPrefix_default(step, value))) specifier.precision = precision;
|
|
978
|
+
return formatPrefix(specifier, value);
|
|
979
|
+
case "":
|
|
980
|
+
case "e":
|
|
981
|
+
case "g":
|
|
982
|
+
case "p":
|
|
983
|
+
case "r":
|
|
984
|
+
if (specifier.precision == null && !isNaN(precision = precisionRound_default(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === "e");
|
|
985
|
+
break;
|
|
986
|
+
case "f":
|
|
987
|
+
case "%": if (specifier.precision == null && !isNaN(precision = precisionFixed_default(step))) specifier.precision = precision - (specifier.type === "%") * 2;
|
|
988
|
+
}
|
|
989
|
+
return format(specifier);
|
|
990
|
+
}
|
|
991
|
+
//#endregion
|
|
992
|
+
//#region node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.js
|
|
993
|
+
function linearish(scale) {
|
|
994
|
+
var domain = scale.domain;
|
|
995
|
+
scale.ticks = function(count) {
|
|
996
|
+
var d = domain();
|
|
997
|
+
return ticks(d[0], d[d.length - 1], count == null ? 10 : count);
|
|
998
|
+
};
|
|
999
|
+
scale.tickFormat = function(count, specifier) {
|
|
1000
|
+
var d = domain();
|
|
1001
|
+
return tickFormat(d[0], d[d.length - 1], count == null ? 10 : count, specifier);
|
|
1002
|
+
};
|
|
1003
|
+
scale.nice = function(count) {
|
|
1004
|
+
if (count == null) count = 10;
|
|
1005
|
+
var d = domain();
|
|
1006
|
+
var i0 = 0;
|
|
1007
|
+
var i1 = d.length - 1;
|
|
1008
|
+
var start = d[i0];
|
|
1009
|
+
var stop = d[i1];
|
|
1010
|
+
var prestep;
|
|
1011
|
+
var step;
|
|
1012
|
+
var maxIter = 10;
|
|
1013
|
+
if (stop < start) {
|
|
1014
|
+
step = start, start = stop, stop = step;
|
|
1015
|
+
step = i0, i0 = i1, i1 = step;
|
|
1016
|
+
}
|
|
1017
|
+
while (maxIter-- > 0) {
|
|
1018
|
+
step = tickIncrement(start, stop, count);
|
|
1019
|
+
if (step === prestep) {
|
|
1020
|
+
d[i0] = start;
|
|
1021
|
+
d[i1] = stop;
|
|
1022
|
+
return domain(d);
|
|
1023
|
+
} else if (step > 0) {
|
|
1024
|
+
start = Math.floor(start / step) * step;
|
|
1025
|
+
stop = Math.ceil(stop / step) * step;
|
|
1026
|
+
} else if (step < 0) {
|
|
1027
|
+
start = Math.ceil(start * step) / step;
|
|
1028
|
+
stop = Math.floor(stop * step) / step;
|
|
1029
|
+
} else break;
|
|
1030
|
+
prestep = step;
|
|
1031
|
+
}
|
|
1032
|
+
return scale;
|
|
1033
|
+
};
|
|
1034
|
+
return scale;
|
|
1035
|
+
}
|
|
1036
|
+
function linear() {
|
|
1037
|
+
var scale = continuous();
|
|
1038
|
+
scale.copy = function() {
|
|
1039
|
+
return copy(scale, linear());
|
|
1040
|
+
};
|
|
1041
|
+
initRange.apply(scale, arguments);
|
|
1042
|
+
return linearish(scale);
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
export { copy as a, bisector as b, continuous as c, transformer as d, linearish as e, identity as f, round_default as g, initRange as i, linear as l, numbers as n, rgb as r, tickStep as t, value_default as v };
|
|
1046
|
+
//# sourceMappingURL=linear.js-CTOKrHn9.js.map
|