Thermal spin photonics in the near-field of nonreciprocal media