import{r as e}from"./router.chunk.YsRm4bSN.js";const n=()=>{const n=()=>({adminMenu:document.getElementById("adminmenumain"),adminBar:document.getElementById("wpadminbar"),content:document.getElementById("wpcontent"),toolbar:document.querySelector(".wp-toolbar"),fundraiserSidebar:document.getElementById("fundraiser-sidebar"),fundraiserContent:document.getElementById("fundraiser-content")});return{showWordpressLayout:e.useCallback(()=>{const{adminMenu:e,adminBar:t,content:a,toolbar:r,fundraiserSidebar:d,fundraiserContent:o}=n();e&&(e.style.display="block"),t&&(t.style.display="block"),a&&(a.style.marginLeft="160px"),r&&(r.style.paddingTop="32px"),d&&(d.style.display="block"),o&&(o.style.marginLeft="")},[]),hideWordpressLayout:e.useCallback(()=>{const{adminMenu:e,adminBar:t,content:a,toolbar:r,fundraiserSidebar:d,fundraiserContent:o}=n();e&&(e.style.display="none"),t&&(t.style.display="none"),a&&(a.style.marginLeft="0"),r&&(r.style.paddingTop="0"),d&&(d.style.display="none"),o&&(o.style.marginLeft="0")},[])}};export{n as u};
