Continuous Hecke algebras