Dissipative quantum phase transitions of light in a generalized Jaynes-Cummings-Rabi model | Synapse