import{d as n}from"./chunk-LV5TYHZ7.js";import{b as s}from"./chunk-EYGXMMT2.js";import{ea as o,h as r,ja as e,w as i}from"./chunk-ZHRPBG7M.js";var l=(()=>{class t{$router=e(n);$settings=e(s);canActivate(){return r(this,null,function*(){return this.$settings.settingsLoaded||(yield i(this.$settings.onSettingsLoaded)),this.$settings.env.setupWizardComplete===!1||this.$router.navigate(["/"]),!0})}static \u0275fac=function(a){return new(a||t)};static \u0275prov=o({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{l as a};
