The confinement of star-forming galaxies into a main sequence through episodes of gas compaction, depletion and replenishment | Publicación