1import{g as s,S as x,$ as r}from"./main-1ec20545.js";function S(t){const l=parseInt(window.getComputedStyle(t).getPropertyValue("--navigation-height"))||0,c=window.matchMedia("(min-width: 1024px)");c.addEventListener("change",d),d();function d(){c.matches&&w()}function w(){const o=document.getElementById("wpadminbar")?l+document.getElementById("wpadminbar").offsetHeight:l;document.documentElement.style.scrollPaddingTop=`${o}px`}s.utils.toArray(["#mainContent flynt-component",".single-post #mainContent article",".single-people #mainContent article"]).forEach(o=>{s.to(o,{scrollTrigger:{trigger:o,start:"top-=100 top",end:"bottom top+=70",onToggle:e=>{var a,n,u,m,b,y,h,v,C,f;if(e.isActive){const i=t.querySelector("#ctaMenu");t.querySelectorAll(".logo").forEach(L=>L.classList.remove("flex","hidden")),t.classList.remove("bg-bgColor/50","backdrop-blur-xl","text-textColor","text-bgColor"),i.classList.remove("[&_a]:bg-accentColor","[&_a]:hover:bg-brandColor","[&_a]:hover:text-bgColor","[&_a]:bg-bgColor","[&_a]:hover:bg-accentColor"),(n=(a=e.trigger.dataset)==null?void 0:a.navstyle)!=null&&n.includes("blur")&&t.classList.add("backdrop-blur-xl"),(m=(u=e.trigger.dataset)==null?void 0:u.navstyle)!=null&&m.includes("dark")?t.querySelector(".logo_dark").classList.add("hidden"):t.querySelector(".logo_dark").classList.add("flex"),(y=(b=e.trigger.dataset)==null?void 0:b.navstyle)!=null&&y.includes("dark")?t.querySelector(".logo_light").classList.add("flex"):t.querySelector(".logo_light").classList.add("hidden"),(v=(h=e.trigger.dataset)==null?void 0:h.navstyle)!=null&&v.includes("dark")?t.classList.add("text-bgColor"):t.classList.add("bg-bgColor/50","text-textColor"),(f=(C=e.trigger.dataset)==null?void 0:C.navstyle)!=null&&f.includes("dark")?i.classList.add("[&_a]:bg-bgColor","[&_a]:hover:bg-accentColor"):i.classList.add("[&_a]:bg-accentColor","[&_a]:hover:bg-brandColor","[&_a]:hover:text-bgColor")}}}})});const g=s.from('[name="NavigationMain"]',{yPercent:-100,paused:!0,duration:.4}).progress(1);x.create({start:"center top-=100",endTrigger:".pageWrapper",end:"bottom bottom",onUpdate:o=>{const e=document.querySelector(".submenu-wrapper");o.direction===-1&&!e.classList.contains("open")?g.play():o.direction===1&&!e.classList.contains("open")&&g.reverse()},onRefresh:o=>{const e=window.location.href,a=e.substring(e.indexOf("#")+1);if(a){const n=document.getElementById(a);n&&n.scrollIntoView()}}});const p=s.from("#ctaMain",{yPercent:300,paused:!0,duration:.4}).progress(1);x.create({start:"center top-=100",end:"bottom bottom",endTrigger:".pageWrapper",onUpdate:o=>{o.direction===-1?p.play():p.reverse()}})}r(document).ready(()=>{r(".submenuItemLink").on("click",()=>{r(".mainNavBlock").removeClass("backdrop-blur-xl"),r(".menu").removeClass("text-bgColor"),r(".submenu-wrapper").removeClass("open"),r(".submenu-wrapper").css("display","none"),r(".tab-control").removeClass("open"),r(".tab-control").removeClass("underline"),r("#blur-overlay").css("display","none"),r("body").css("overflow","auto")})});export{S as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.