import{c as a}from"./chunk-4WBIDQ26.js";import{u as n}from"./chunk-Z2AWIQRI.js";import{ia as s,na as c}from"./chunk-C2QKZJOP.js";var m=(()=>{let e=class e{constructor(i,t){this._retailStoreService=i,this._router=t}canActivate(i){let t=i.data.licenses,o=this._retailStoreService.selectedStore?.license?.prefix;return o&&(!t||!t.includes(o))||this._router.createUrlTree(["cabinet"])}};e.\u0275fac=function(t){return new(t||e)(c(a),c(n))},e.\u0275prov=s({token:e,factory:e.\u0275fac});let r=e;return r})();export{m as a};
//# sourceMappingURL=chunk-BJYRO3MV.js.map
