Middle-aged and older adults’ psychosocial functioning trajectories before and during the COVID-19 pandemic: Evidence for multidirectional trends. · Study