Hong Kong’s High Court has sentenced 45 pro-democracy activists to up to 10 years in prison.