text: var cbpAnimatedHeader=function(){function o(){window.addEventListener("scroll",function(t){i||(i=!0,setTimeout(s,250))},!1)}function s(){var t=r();t>=n?classie.add(e,"navbar-shrink"):classie.remove(e,"navbar-shrink"),i=!1}function r(){return window.pageYOffset||t.scrollTop}var t=document.documentElement,e=document.querySelector(".navbar-default"),i=!1,n=300;o()}();