window.addEventListener("DOMContentLoaded",(()=>{const t=document.querySelectorAll(".wp-block-gutenkit-nav-menu-item"),e=document.body.classList;let i="";e.forEach((t=>{t.includes("page-id-")&&(i=t.split("page-id-")[1]),t.includes("postid-")&&(i=t.split("postid-")[1])})),t.forEach((t=>{i&&t.getAttribute("data-id")===i&&setTimeout((()=>{t.classList.add("gkit-nav-menu-item-active")}))}))}));