"use strict";!function(){var e,t=100,i=150,n="255, 255, 255",o=2,a=.5,d=.3,r=.5,s=!0,l=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};window.requestAnimationFrame=l;var h=document.getElementById("snow"),w=h.getContext("2d"),m=t,v=-100,c=-100,u=[];h.width=window.innerWidth,h.height=window.innerHeight;var f=function p(){if(s){w.clearRect(0,0,h.width,h.height);for(var e=i,t=0;t.01&&(o.velY+=.01*(o.speed-o.velY)),o.velX+=Math.cos(o.step+=.05)*o.stepSize;w.fillStyle="rgba("+n+", "+o.opacity+")",o.y+=o.velY,o.x+=o.velX,(o.y>=h.height||o.y<=0)&&g(o),(o.x>=h.width||o.x<=0)&&g(o),w.beginPath(),w.arc(o.x,o.y,o.size,0,2*Math.PI),w.fill()}l(p)}},g=function(e){e.x=Math.floor(Math.random()*h.width),e.y=0,e.size=3*Math.random()+2,e.speed=1*Math.random()+.5,e.velY=e.speed,e.velX=0,e.opacity=.5*Math.random()+.3},M=function(){for(var e=0;e