import{A as l,y as t,au as o,af as h}from "./index-f5e1fd05.js";function d(){const{$storage:a,$config:e}=l(),s=()=>{o().multiTagsCache&&(!a.tags||a.tags.length===0)&&(a.tags=h),a.layout||(a.layout={layout:(e==null?void 0:e.Layout)??"vertical",theme:(e==null?void 0:e.Theme)??"default",darkMode:(e==null?void 0:e.DarkMode)??!1,sidebarStatus:(e==null?void 0:e.SidebarStatus)??!0,epThemeColor:(e==null?void 0:e.EpThemeColor)??"#409EFF"}),a.configure||(a.configure={grey:(e==null?void 0:e.Grey)??!1,weak:(e==null?void 0:e.Weak)??!1,hideTabs:(e==null?void 0:e.HideTabs)??!1,showLogo:(e==null?void 0:e.ShowLogo)??!0,showModel:(e==null?void 0:e.ShowModel)??"smart",multiTagsCache:(e==null?void 0:e.MultiTagsCache)??!1})},u=t(()=>a==null?void 0:a.layout.layout),r=t(()=>a.layout);return{layout:u,layoutTheme:r,initStorage:s}}export{d as u};
