Fluxonium-resonator system in the nonperturbative regime