!function(e,t,r){"use strict";function n(r){if(o=t.documentElement,a=t.body,_(),$=this,r=r||{},R=r.constants||{},r.easing)for(var n in r.easing)F[n]=r.easing[n];Q=r.edgeStrategy||"set",K={beforerender:r.beforerender,render:r.render,keyframe:r.keyframe},Y=r.forceHeight!==!1,Y&&(ge=r.scale||1),U=r.mobileDeceleration||p,j=r.smoothScrolling!==!1,W=r.smoothScrollingDuration||g,Z={targetTop:$.getScrollTop()},xe=(r.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||e.opera)})(),xe?(G=t.getElementById(r.skrollrBody||v),G&&M(),C(),fe(o,[f,m],[u])):fe(o,[f,d],[u]),$.refresh(),re(e,"resize orientationchange",function(){var e=o.clientWidth,t=o.clientHeight;t===ke&&e===Te||(ke=t,Te=e,Se=!0)});var l=E();return function e(){I(),te=l(e)}(),$}var o,a,l={get:function(){return $},init:function(e){return $||new n(e)},VERSION:"0.6.30"},i=Object.prototype.hasOwnProperty,s=e.Math,c=e.getComputedStyle,f="skrollr",u="no-"+f,d=f+"-desktop",m=f+"-mobile",p=.004,v="skrollr-body",g=200,h=/^(?:input|textarea|button|select)$/i,y=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,b=function(e,t){return t.toUpperCase()},T=/\{\?\}/g,k=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,S=/[a-z\-]+-gradient/g,w="",x="",_=function(){var e=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(c){var t=c(a,null);for(var r in t)if(w=r.match(e)||+r==r&&t[r].match(e))break;if(!w)return void(w=x="");w=w[0],"-"===w.slice(0,1)?(x=w,w={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[w]):x="-"+w.toLowerCase()+"-"}},E=function(){var t=e.requestAnimationFrame||e[w.toLowerCase()+"RequestAnimationFrame"],r=me();return!xe&&t||(t=function(t){var n=me()-r,o=s.max(0,1e3/60-n);return e.setTimeout(function(){r=me(),t()},o)}),t},A=function(){var t=e.cancelAnimationFrame||e[w.toLowerCase()+"CancelAnimationFrame"];return!xe&&t||(t=function(t){return e.clearTimeout(t)}),t},F={begin:function(){return 0},end:function(){return 1},linear:function(e){return e},quadratic:function(e){return e*e},cubic:function(e){return e*e*e},swing:function(e){return-s.cos(e*s.PI)/2+.5},sqrt:function(e){return s.sqrt(e)},outCubic:function(e){return s.pow(e-1,3)+1},bounce:function(e){var t;if(e<=.5083)t=3;else if(e<=.8489)t=9;else if(e<=.96208)t=27;else{if(!(e<=.99981))return 1;t=91}return 1-s.abs(3*s.cos(e*t*1.028)/t)}};n.prototype.refresh=function(e){var r,n,o=!1;for(void 0===e?(o=!0,B=[],we=0,e=t.getElementsByTagName("*")):void 0===e.length&&(e=[e]),r=0,n=e.length;rve?(x=(ve-w)/S,w=ve):w<0&&(x=-w/S,w=0),k*=1-x,$.animateTo(w+.5|0,{easing:"outCubic",duration:k})}}),e.scrollTo(0,0),o.style.overflow=a.style.overflow="hidden"},H=function(){var e,t,r,n,a,l,i,c,f,u,d,m=o.clientHeight,p=ie();for(c=0,f=B.length;cve&&(ve=i.frame);for(ve=s.max(ve,se()),c=0,f=B.length;cp.frame,h=v?m:p,y=s.emitEvents,b=s.lastFrameIndex;if(v||g){if(v&&s.edge===-1||g&&1===s.edge)continue;switch(v?(fe(c,["skrollable-before"],["skrollable-after","skrollable-between"]),y&&b>-1&&(ae(c,m.eventType,he),s.lastFrameIndex=-1)):(fe(c,["skrollable-after"],["skrollable-before","skrollable-between"]),y&&b=u[k].frame&&f<=u[k+1].frame){var S=u[k],w=u[k+1];for(o in S.props)if(i.call(S.props,o)){var x=(f-S.frame)/(w.frame-S.frame);x=S.props[o].easing(x),a=V(S.props[o].value,w.props[o].value,x),a=q(a),0===o.indexOf("@")?c.setAttribute(o.substr(1),a):l.setStyle(c,o,a)}y&&b!==k&&("down"===he?ae(c,S.eventType,he):ae(c,w.eventType,he),s.lastFrameIndex=k);break}}},I=function(){Se&&(Se=!1,le());var e,t,r=$.getScrollTop(),n=me();if(X)n>=X.endTime?(r=X.targetTop,e=X.done,X=void 0):(t=X.easing((n-X.startTime)/X.duration),r=X.startTop+t*X.topDiff|0),$.setScrollTop(r,!0);else if(!J){var o=Z.targetTop-r;o&&(Z={startTop:ye,topDiff:r-ye,targetTop:r,startTime:be,endTime:be+W}),n<=Z.endTime&&(t=F.sqrt((n-Z.startTime)/W),r=Z.startTop+t*Z.topDiff|0)}if(J||ye!==r){he=r>ye?"down":r=0;t--)O(e.keyFrames[t],n)},O=function(e,t){var r;for(r in t)i.call(e.props,r)||(e.props[r]=t[r]);for(r in e.props)t[r]=e.props[r]},V=function(e,t,r){var n,o=e.length;if(o!==t.length)throw"Can't interpolate between \""+e[0]+'" and "'+t[0]+'"';var a=[e[0]];for(n=1;n