"use strict";!function(e,t){var o;e(t),o=e(document),e(".js-sectionscroll").length&&o.on("click",".js-sectionscroll",function(t){if(console.log("sectionscroll"),location.pathname.replace(/^\//,"")===this.pathname.replace(/^\//,"")&&location.hostname===this.hostname){var o=e(this.hash);(o=o.length?o:e("[name="+this.hash.slice(1)+"]")).length&&(t.preventDefault(),e("html, body").animate({scrollTop:o.offset().top},400,function(){var t=e(o);if(t.focus(),t.is(":focus"))return!1;t.attr("tabindex","-1"),t.focus()}))}})}(jQuery,window);