let vh=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",vh+"px"),window.addEventListener("resize",function(){var e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",e+"px")});const calculatePaddingParallax=()=>{var e=document.querySelector("section.section-parallax");e&&(document.querySelector("header").clientHeight,document.body.style.paddingTop=e.clientHeight+"px")},goToElem=(calculatePaddingParallax(),window.addEventListener("load",()=>{const n=document.querySelector(".main-menu-wrapper"),e=document.querySelector(".menu-btn"),t=(e?.addEventListener("click",()=>{if(window.scrollYjQuery(n).slideUp(350,"easeInOutCubic")),calculatePaddingParallax(),document.querySelectorAll("a.go-to"));o?.forEach(t=>{t.addEventListener("click",e=>{e.preventDefault(),jQuery(n).slideUp(350,"easeInOutCubic"),goToElem(t.getAttribute("data-href"))})});var l=window.location.hash;l&&goToElem(l)}),window.addEventListener("resize",()=>{calculatePaddingParallax()}),e=>{const t=document.querySelector(`[data-anchor="${e}"]`);var n;t&&(e=document.querySelector("header").clientHeight,n=t.getBoundingClientRect().top+window.scrollY,doScrolling(n-e))}),doScrolling=e=>{const o=window.scrollY,l=e-o;const i=.25*Math.abs(l);let r;window.requestAnimationFrame(function e(t){var t=t-(r=r||t),n=Math.min(t/i,1);window.scrollTo(0,o+l*n),t