(f) Every elector who, before or during any election, directly or indirectly, by himself or herself or by any other person on his or her behalf, receives, agrees, or contracts for any money, gift, loan or valuable consideration, office, place, or employment for himself or herself or for any other person, for voting or agreeing to vote, or for refraining or agreeing to refrain from voting at any such election.