Report of the Topical Group on Top quark physics and heavy flavor production for Snowmass 2021