(function(a){a('a.js-scroll-trigger[href*\x3d"#"]:not([href\x3d"#"])').click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var b=a(this.hash),b=b.length?b:a("[name\x3d"+this.hash.slice(1)+"]");if(b.length)return a("html, body").animate({scrollTop:b.offset().top-70},1E3,"easeInOutExpo"),!1}});a(document).scroll(function(){100<a(this).scrollTop()?a(".scroll-to-top").fadeIn():a(".scroll-to-top").fadeOut()});a(".js-scroll-trigger").click(function(){a(".navbar-collapse").collapse("hide")});a("body").scrollspy({target:"#mainNav",offset:80});var c=function(){100<a("#mainNav").offset().top?a("#mainNav").addClass("navbar-shrink"):a("#mainNav").removeClass("navbar-shrink")};c();a(window).scroll(c);a(function(){a("body").on("input propertychange",".floating-label-form-group",function(b){a(this).toggleClass("floating-label-form-group-with-value",!!a(b.target).val())}).on("focus",".floating-label-form-group",function(){a(this).addClass("floating-label-form-group-with-focus")}).on("blur",".floating-label-form-group",function(){a(this).removeClass("floating-label-form-group-with-focus")})})})(jQuery);