import{c as o}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e7.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};
