Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces Globally analytic \(p\)-adic representations of the pro-\(p\)-Iwahori subgroup of \(\mathrm{GL}(2)\) and base change. I: Iwasawa algebras and a base change map 