"use strict";(()=>{var S=()=>{let e=document.querySelector("[el-menu-nav]"),t=document.querySelectorAll("[menu-dark]"),r=document.querySelectorAll("[menu-light]"),o=document.querySelector("[el-menu-logo-dark]"),n=document.querySelector("[el-menu-logo-light]");if(!e||t.length===0&&r.length===0)return;let l=e;l.style.transition="background-color 100ms ease",o&&(o.style.transition="opacity 100ms ease"),n&&(n.style.transition="opacity 100ms ease");let d=!1,m="default",c=()=>{let y=e.getBoundingClientRect(),g=y.top+window.scrollY,E=g+y.height,u=!1,f=!1;for(let s of t){let i=s.getBoundingClientRect(),a=i.top+window.scrollY,h=a+i.height;if(ga){u=!0,s.getAttribute("menu-dark")==="logo-light"&&(f=!0);break}}if(!u)for(let s of r){let i=s.getBoundingClientRect(),a=i.top+window.scrollY,h=a+i.height;if(ga){s.getAttribute("menu-light")==="logo-light"&&(f=!0);break}}u!==d&&(d=u,d?l.style.backgroundColor="rgba(0, 0, 0, 0.3)":l.style.backgroundColor="");let w=f?"light":"default";w!==m&&(m=w,o&&n&&(m==="light"?(o.style.opacity="0",n.style.opacity="1"):(o.style.opacity="",n.style.opacity="")))};return c(),window.addEventListener("scroll",c),window.addEventListener("resize",c),()=>{window.removeEventListener("scroll",c),window.removeEventListener("resize",c)}};var p=()=>{let e=document.getElementById("current-year");if(!e)return;let t=new Date().getFullYear();e.textContent=t.toString()};var L=()=>{let e=document.querySelector(".colored-cards-grid");if(!e)return;let t=e.querySelectorAll(".colored-cards-grid_item");if(!t.length)return;let r=["#E8E9EA","#FEFCE8","#E0F2FE","#FCE7F3","#E0F2E9","#D1D5DB"];t.forEach((o,n)=>{let l=n%r.length;o.style.backgroundColor=r[l]})};window.Webflow||(window.Webflow=[]);window.Webflow.push(()=>{S(),p(),L()});})();