Stabilization of hybrid systems under state constraints. (May 2021)