Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces Injectivity of the torsion cycle map of codimension two of varieties over \(p\)-adic fields with semi-stable reduction 