"use strict";!function(t,l){var e;t(l),t(document),t(".js-sectionscroll").length&&(e=function(t,e){function n(t){return Math.floor(t.getBoundingClientRect().top+250)}var o,r,c=1<arguments.length&&void 0!==e?e:null,i=(i=c?c.getAttribute("href"):this.getAttribute("href")).substr(i.indexOf("#")),u=document.querySelector(i);u&&(o=n(u),l.scrollBy({top:o,left:0,behavior:"smooth"}),r=setInterval(function(){var t=l.innerHeight+l.pageYOffset>=document.body.offsetHeight+250;0!==n(u)&&!t||(u.tabIndex="-1",u.focus(),l.history.pushState("","",i),clearInterval(r))},100))},document.querySelectorAll(".js-sectionscroll").forEach(function(t){return t.onclick=e}))}(jQuery,window);