import{a as C,b as y,c as $,d as j}from"./chunk-ZRMHN5VF.js";import"./chunk-ZEGJJ2QZ.js";import{q as d}from"./chunk-U3XAGOD7.js";import{y as l,z as u}from"./chunk-DVN556RD.js";import{d as v,g as n}from"./chunk-2IW5LNPB.js";import"./chunk-3BSCFEML.js";import"./chunk-YM6242MC.js";import{h as g,k as h}from"./chunk-P3JWYVN7.js";import"./chunk-G75CPMPQ.js";import{a as M,c as U}from"./chunk-QIWZD5HO.js";import{ga as f,gd as c,h as a,ha as i,ma as e,ub as s,w as p}from"./chunk-6JZDPQRU.js";var m=(()=>{class r{$api=e(h);$router=e(v);$toastr=e(g);$translate=e(M);constructor(){}resolve(){return a(this,null,function*(){try{return yield p(this.$api.get("/users"))}catch(o){console.error(o),this.$toastr.error(o.message,this.$translate.instant("toast.title_error")),this.$router.navigate(["/"])}})}static \u0275fac=function(t){return new(t||r)};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})();var F=[{path:"",loadComponent:()=>import("./chunk-VQOZGPK6.js").then(r=>r.UsersComponent),resolve:{homebridgeUsers:m}}],b=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=s({type:r});static \u0275inj=i({imports:[n.forChild(F),n]})}return r})();var Y=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=s({type:r});static \u0275inj=i({providers:[m],imports:[c,l,u,U.forChild(),d,b,$,j,y,C]})}return r})();export{Y as UsersModule};
