import{c as o}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c997.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};
