import{a as f,b as l}from"./chunk-LJIIRAVZ.js";import{l as u}from"./chunk-4SIJUOYU.js";import{c as S}from"./chunk-6GCD7JC6.js";import{m as i}from"./chunk-A7R3CFJO.js";import{M as h}from"./chunk-OIJW4GMG.js";import{ca as c,h as s,ia as p,ja as r,r as n,s as m}from"./chunk-3FIHWXA5.js";import{b as a,i as y}from"./chunk-QOJKCMZT.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};
