Generalized Vaidya spacetime in Lovelock gravity and thermodynamics on the apparent horizon | Synapse