import{c as o}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508097.js";const s=o()((t,a)=>({menuVerticalOpen:!1,setMenuVerticalOpen:e=>{localStorage.setItem("menuVerticalOpen",e.toString()),t({menuVerticalOpen:e})},ativeCRM:"Abas",setAtiveCRM:e=>{localStorage.setItem("crm",e),t({ativeCRM:e})},headerContents:{headerOpen:!0,activeTab:"tab",index:null},updateHeaderContents:(e,l,n,r)=>{localStorage.setItem("NavBarViewer",JSON.stringify({...a().headerContents,[e]:l,index:n===void 0?null:n,id:r===void 0?null:r})),t({headerContents:{...a().headerContents,[e]:l,index:n===void 0?null:n,id:r===void 0?null:r}})}}));(()=>{const t=localStorage.getItem("menuVerticalOpen")==="true",a=localStorage.getItem("crm")||"Abas",e=JSON.parse(localStorage.getItem("NavBarViewer"))||{headerOpen:!0,activeTab:"tab",index:null};s.setState({menuVerticalOpen:t,ativeCRM:a,headerContents:e})})();export{s as u};
