import{d as c}from"./chunk-HOYKEBNF.js";import{u as n}from"./chunk-YMOV4UGM.js";import{ga as o,la as r}from"./chunk-I3FGJX2C.js";var u=(()=>{let i=class i{constructor(s,e){this._permissionService=s,this._router=e}canActivate(s){return s.data.permissions.some(a=>this._permissionService.hasPermissions(a))||this._router.createUrlTree(["cabinet"])}};i.\u0275fac=function(e){return new(e||i)(r(c),r(n))},i.\u0275prov=o({token:i,factory:i.\u0275fac});let t=i;return t})();export{u as a};
//# sourceMappingURL=chunk-2FMQJJVH.js.map
