import{a as j}from"./chunk-OVX6YK2A.js";import"./chunk-XP7D2PRA.js";import"./chunk-F3LHNBNX.js";import{c as M}from"./chunk-NSCP3SOQ.js";import"./chunk-JF5AT3NK.js";import{q as u}from"./chunk-N4F42HDL.js";import{y as l,z as d}from"./chunk-YLEC7AUG.js";import{d as h,g as a}from"./chunk-T3GI7KUT.js";import"./chunk-2H7B6BX7.js";import{h as v,k as y}from"./chunk-WFMP2IAA.js";import"./chunk-HA6CO5NZ.js";import{a as g,c as C}from"./chunk-675OFXLW.js";import{h as s,ha as c,ia as i,kd as p,na as e,vb as n,w as f}from"./chunk-CKNHTRCL.js";var m=(()=>{class o{$api=e(y);$router=e(h);$toastr=e(v);$translate=e(g);constructor(){}resolve(){return s(this,null,function*(){try{let r=yield f(this.$api.get("/config-editor"));return JSON.stringify(r,null,4)}catch(r){console.error(r),this.$toastr.error(r.message,this.$translate.instant("toast.title_error")),this.$router.navigate(["/"])}})}static \u0275fac=function(t){return new(t||o)};static \u0275prov=c({token:o,factory:o.\u0275fac})}return o})();var $=[{path:"",loadComponent:()=>import("./chunk-Y4QRD23K.js").then(o=>o.ConfigEditorComponent),resolve:{config:m}}],R=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=n({type:o});static \u0275inj=i({imports:[a.forChild($),a]})}return o})();var Q=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=n({type:o});static \u0275inj=i({providers:[m],imports:[p,l,d,M,u,C.forChild(),R,j]})}return o})();export{Q as ConfigEditorModule};
