const s=document.documentElement,a=localStorage.getItem("theme");document.querySelector(".sidebar-wrapper");a==="dark"?(s.classList.add("dark"),s.classList.remove("light"),s.classList.remove("semiDark")):a==="semiDark"?(s.classList.add("semiDark"),s.classList.add("light"),s.classList.remove("dark")):(s.classList.add(a),s.classList.remove("dark"),s.classList.remove("semiDark"));localStorage.effect==="grayScale"?s.classList.add("grayScale"):s.classList.remove("grayScale");localStorage.dir==="rtl"?s.dir="rtl":s.dir="ltr";localStorage.menuLayout=="horizontalMenu"?s.classList.add("horizontalMenu"):s.classList.remove("horizontalMenu");localStorage.contentLayout=="layout-boxed"&&s.classList.add("layout-boxed");localStorage.navbar=="floating"?(s.classList.add("nav-floating"),s.classList.remove("nav-sticky"),s.classList.remove("nav-hidden"),s.classList.remove("nav-static")):localStorage.navbar=="sticky"?(s.classList.add("nav-sticky"),s.classList.remove("nav-floating"),s.classList.remove("nav-hidden"),s.classList.remove("nav-static")):localStorage.navbar=="hidden"?(s.classList.add("nav-hidden"),s.classList.remove("nav-floating"),s.classList.remove("nav-sticky"),s.classList.remove("nav-static")):(s.classList.add("nav-static"),s.classList.remove("nav-floating"),s.classList.remove("nav-sticky"),s.classList.remove("nav-hidden"));
