(function(){var i,n,t=function(n,t){return function(){return n.apply(t,arguments)}};i=function(){function n(){}return n.prototype.extend=function(n,t){var i,r;for(i in n)r=n[i],r!=null&&(t[i]=r);return t},n.prototype.isMobile=function(n){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(n)},n}();n=this.WeakMap||(n=function(){function n(){this.keys=[];this.values=[]}return n.prototype.get=function(n){var t,u,i,f,r;for(r=this.keys,t=i=0,f=r.length;i<f;t=++i)if(u=r[t],u===n)return this.values[t]},n.prototype.set=function(n,t){var i,f,r,e,u;for(u=this.keys,i=r=0,e=u.length;r<e;i=++r)if(f=u[i],f===n){this.values[i]=t;return}return this.keys.push(n),this.values.push(t)},n}());this.WOW=function(){function r(i){i==null&&(i={});this.scrollCallback=t(this.scrollCallback,this);this.scrollHandler=t(this.scrollHandler,this);this.start=t(this.start,this);this.scrolled=!0;this.config=this.util().extend(i,this.defaults);this.animationNameCache=new n}return r.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0},r.prototype.init=function(){var n;return this.element=window.document.documentElement,(n=document.readyState)==="interactive"||n==="complete"?this.start():document.addEventListener("DOMContentLoaded",this.start)},r.prototype.start=function(){var i,n,r,t;if(this.boxes=this.element.getElementsByClassName(this.config.boxClass),this.boxes.length){if(this.disabled())return this.resetStyle();for(t=this.boxes,n=0,r=t.length;n<r;n++)i=t[n],this.applyStyle(i,!0);return window.addEventListener("scroll",this.scrollHandler,!1),window.addEventListener("resize",this.scrollHandler,!1),this.interval=setInterval(this.scrollCallback,50)}},r.prototype.stop=function(){return window.removeEventListener("scroll",this.scrollHandler,!1),window.removeEventListener("resize",this.scrollHandler,!1),this.interval!=null?clearInterval(this.interval):void 0},r.prototype.show=function(n){return this.applyStyle(n),n.className=""+n.className+" "+this.config.animateClass},r.prototype.applyStyle=function(n,t){var i,r,u;return r=n.getAttribute("data-wow-duration"),i=n.getAttribute("data-wow-delay"),u=n.getAttribute("data-wow-iteration"),this.animate(function(f){return function(){return f.customStyle(n,t,r,i,u)}}(this))},r.prototype.animate=function(){return"requestAnimationFrame"in window?function(n){return window.requestAnimationFrame(n)}:function(n){return n()}}(),r.prototype.resetStyle=function(){var r,n,u,t,i;for(t=this.boxes,i=[],n=0,u=t.length;n<u;n++)r=t[n],i.push(r.setAttribute("style","visibility: visible;"));return i},r.prototype.customStyle=function(n,t,i,r,u){return t&&this.cacheAnimationName(n),n.style.visibility=t?"hidden":"visible",i&&this.vendorSet(n.style,{animationDuration:i}),r&&this.vendorSet(n.style,{animationDelay:r}),u&&this.vendorSet(n.style,{animationIterationCount:u}),this.vendorSet(n.style,{animationName:t?"none":this.cachedAnimationName(n)}),n},r.prototype.vendors=["moz","webkit"],r.prototype.vendorSet=function(n,t){var i,r,u,f=[];for(i in t)r=t[i],n[""+i]=r,f.push(function(){var t,o,f,e;for(f=this.vendors,e=[],t=0,o=f.length;t<o;t++)u=f[t],e.push(n[""+u+i.charAt(0).toUpperCase()+i.substr(1)]=r);return e}.call(this));return f},r.prototype.vendorCSS=function(n,t){var i,u,e,r,o,f;for(u=window.getComputedStyle(n),i=u.getPropertyCSSValue(t),f=this.vendors,r=0,o=f.length;r<o;r++)e=f[r],i=i||u.getPropertyCSSValue("-"+e+"-"+t);return i},r.prototype.animationName=function(n){var t;try{t=this.vendorCSS(n,"animation-name").cssText}catch(i){t=window.getComputedStyle(n).getPropertyValue("animation-name")}return t==="none"?"":t},r.prototype.cacheAnimationName=function(n){return this.animationNameCache.set(n,this.animationName(n))},r.prototype.cachedAnimationName=function(n){return this.animationNameCache.get(n)},r.prototype.scrollHandler=function(){return this.scrolled=!0},r.prototype.scrollCallback=function(){var n;if(this.scrolled&&(this.scrolled=!1,this.boxes=function(){var t,u,i,r;for(i=this.boxes,r=[],t=0,u=i.length;t<u;t++)if(n=i[t],n){if(this.isVisible(n)){this.show(n);continue}r.push(n)}return r}.call(this),!this.boxes.length))return this.stop()},r.prototype.offsetTop=function(n){for(var t;n.offsetTop===void 0;)n=n.parentNode;for(t=n.offsetTop;n=n.offsetParent;)t+=n.offsetTop;return t},r.prototype.isVisible=function(n){var r,u,t,f,i;return u=n.getAttribute("data-wow-offset")||this.config.offset,i=window.pageYOffset,f=i+this.element.clientHeight-u,t=this.offsetTop(n),r=t+n.clientHeight,t<=f&&r>=i},r.prototype.util=function(){return this._util||(this._util=new i)},r.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},r}()}).call(this);wow=new WOW({animateClass:"animated",offset:100});wow.init();$(".fade").hide();$("#navicon").click(function(){$("#navicon").hasClass("closed")?($("body").animate({left:"-200px"},400).css({overflow:"hidden"}),$(".MobileNavButton").animate({left:"-200px"},400),$(".SandhillsLogo").fadeOut(),$("#main-nav").animate({right:"0"},400),$(this).removeClass("closed").addClass("open").html("&#9776"),$(".fade").fadeIn()):$("#navicon").hasClass("open")&&($("body").animate({left:"0"},400).css({overflow:"scroll"}),$(".MobileNavButton").animate({left:"0px"},400),$(".SandhillsLogo").fadeIn(),$("#main-nav").animate({right:"-200px"},400),$(this).removeClass("open").addClass("closed").html("&#9776;"),$(".fade").fadeOut())});$(window).scroll(function(){$("#navicon").is(":visible")||($(this).scrollTop()>100?$(".scrollToTop").fadeIn():$(".scrollToTop").fadeOut())});$(".scrollToTop").click(function(){return $("html, body").animate({scrollTop:0},800),!1});$(".pagination > select").change(function(){var n=window.location.href;n=n.indexOf("page/")!=-1?n.replace(/page\/\d+/i,"page/"+$(this).val()):(n+"/page/"+$(this).val()).replace("//page","/page");window.location=n})