import{m as u}from"./chunk-7ZPBEA5T.js";import{c as S}from"./chunk-3K5ADQHQ.js";import{m as i}from"./chunk-SOETE4NY.js";import{a as f,b as l}from"./chunk-XVWHZ5TH.js";import{u as h}from"./chunk-GYAYEJFB.js";import{ea as c,h as s,ka as p,la as r,r as n,s as m}from"./chunk-LEOKSAW2.js";import{d as a,n as y}from"./chunk-HE7HQ6LI.js";y();var b=class e{get hasCompanyButton$(){return m([this._companies$,this._stores$]).pipe(l(this),n(([t,o])=>o?.length>1||t?.length>1))}constructor(t){this._router=t,this.isOpenSidebar$$=new s(!0),this._stores$=r(i).select(S.selectedStoreId),this._companies$=r(i).select(u.companies)}exitToChooseCompany(){this._router.navigate(["/employee"])}static{this.\u0275fac=function(o){return new(o||e)(p(h))}}static{this.\u0275prov=c({token:e,factory:e.\u0275fac})}};b=a([f()],b);export{b as a};
