It's a Macbook, so presumably you can't deprive it of power completely by removing the battery, which is always the best thing you can do in the event of a spillage, to stop electrolytic corrosion.
If it happened to me, I'd squirt copious amounts of IPA[1] at it in the hope of displacing the liquid and follow up with compressed air. Judicious use of a hairdryer (not too hot) isn't a terrible idea. Distilled water is an improvement on squash, but will itself take ages to dry.
Sugar is sticky, but not ionic, so isn't itself conductive. I expect there's enough citric acid, minerals etc in it that are, though.
[1] Not the beer.