import{m as u}from"./chunk-BEITCLQT.js";import{c as S}from"./chunk-EZFUKPLV.js";import{m as i}from"./chunk-ALPCJSJV.js";import{a as f,b as l}from"./chunk-CKUQY5IU.js";import{u as h}from"./chunk-IQZCMWOL.js";import{da as c,h as s,ja as p,ka as r,r as n,s as m}from"./chunk-AO7NUUXN.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};
