Exploring the temporal dynamics of host energetics and metabolism during infection