The S1 heart sound (“lubb”) is produced during