A woman has been spared jail after pleading guilty to assault by beating for throwing a milkshake over Reform UK leader Nigel Farage outside an Essex pub during the British general election campaign.