import{c as n}from"./chunk-FELXYIYL.js";import{u as s}from"./chunk-IQZCMWOL.js";import{da as o,ja as r}from"./chunk-AO7NUUXN.js";var h=(()=>{class t{constructor(i,e){this._retailStoreService=i,this._router=e}canActivate(i){let e=i.data.licenses,c=this._retailStoreService.selectedStore?.license?.prefix;return c&&(!e||!e.includes(c))||this._router.createUrlTree(["cabinet"])}static{this.\u0275fac=function(e){return new(e||t)(r(n),r(s))}}static{this.\u0275prov=o({token:t,factory:t.\u0275fac})}}return t})();export{h as a};
