import{a as H}from"./chunk-DZCRME5F.js";import{a as u}from"./chunk-3HNYH5UC.js";import{b as G}from"./chunk-P26KST3Z.js";import{l as F}from"./chunk-35ZOE3OZ.js";import{e as R,f as V,j as f}from"./chunk-2QHWGTUH.js";import{D as P,E as O}from"./chunk-7RPCZF4K.js";import{C as j,F as w,N as A,Pa as B,Qa as D,h as k,k as b,q as E,ub as L,y as S}from"./chunk-6564DHLL.js";import{Eb as v,Fc as o,Gc as g,Qb as l,Rc as I,ac as e,bc as i,cd as y,gc as T,ib as s,ob as r,oc as m,qa as C,qc as d,ra as x,yb as M}from"./chunk-YRCUNHHT.js";import{i as _}from"./chunk-2AVGQ2MQ.js";function W(t,h){if(t&1&&(e(0,"li")(1,"h3")(2,"a",11),o(3),i()()()),t&2){let n=d();s(3),g(n.parent)}}function X(t,h){if(t&1&&(e(0,"li")(1,"a",12),o(2),i()()),t&2){let n=d();s(2),g(n.child)}}function Y(t,h){if(t&1&&(e(0,"li")(1,"span"),o(2),i()()),t&2){let n=d();s(2),g(n.subchild)}}function Z(t,h){if(t&1){let n=T();e(0,"div",5)(1,"c-card",6)(2,"c-card-body",7),m("click",function(){C(n);let c=d();return x(c.sendMeTo("/settings/m365BackupStorage"))}),e(3,"h5",8),o(4," M365 Backup Storage Settings"),i(),e(5,"p",9),o(6," Change your M365 Backup Storage Settings "),i()()()()}}var _e=(()=>{class t{constructor(n,a,c,p,N,q,z,J,K,Q,U){this.http=n,this.datePipe=a,this.titleService=c,this.toastr=p,this.apiService=N,this.AuthService=q,this.globalConstantsService=z,this.cdr=J,this.router=K,this.sharedService=Q,this.licenseCheckService=U,this.title="Settings",this.parent="Settings",this.child="M365 Settings",this.subchild="",this.inclusionLicenses=[],this.exclusionLicenses=[]}ngOnInit(){return _(this,null,function*(){this.inclusionLicenses=yield this.licenseCheckService.getInclusionLicensesNew()})}sendMeTo(n){this.router.navigate([n])}static{this.\u0275fac=function(a){return new(a||t)(r(k),r(S),r(w),r(G),r(f),r(R),r(u),r(y),r(A),r(V),r(H))}}static{this.\u0275cmp=M({type:t,selectors:[["app-m365Settings"]],features:[I([S,f,u])],decls:30,vars:4,consts:[[1,"container"],[1,"row"],[1,"col-lg-6"],[1,"breadcrumb"],[4,"ngIf"],[1,"col-lg-4","d-flex"],[1,"tile","flex-fill"],[2,"cursor","pointer",3,"click"],["cCardTitle",""],["cCardText",""],["class","col-lg-4 d-flex",4,"ngIf"],["href","settings"],["href","settings/m365Settings"]],template:function(a,c){a&1&&(e(0,"div",0)(1,"div",1)(2,"div",2)(3,"ol",3),v(4,W,4,1,"li",4)(5,X,3,1,"li",4)(6,Y,3,1,"li",4),i()()()(),e(7,"c-row")(8,"div",5)(9,"c-card",6)(10,"c-card-body",7),m("click",function(){return c.sendMeTo("/settings/m365Settings/m365TenantSettings")}),e(11,"h5",8),o(12," M365 Tenant Settings"),i(),e(13,"p",9),o(14," Change your M365 Tenant Settings "),i()()()(),e(15,"div",5)(16,"c-card",6)(17,"c-card-body",7),m("click",function(){return c.sendMeTo("/settings/m365Settings/exchangeSettings")}),e(18,"h5",8),o(19," Exchange Online Settings"),i(),e(20,"p",9),o(21," Change your Exchange Online Tenant Settings "),i()()()(),e(22,"div",5)(23,"c-card",6)(24,"c-card-body",7),m("click",function(){return c.sendMeTo("/settings/m365Settings/m365BackupAgentSettings")}),e(25,"h5",8),o(26," M365 Backup Agent Settings"),i(),e(27,"p",9),o(28," Change your M365 Backup Agent Settings "),i()()()(),v(29,Z,7,0,"div",10),i()),a&2&&(s(4),l("ngIf",c.parent!=""),s(),l("ngIf",c.child!=""),s(),l("ngIf",c.subchild!=""),s(23),l("ngIf",c.inclusionLicenses.includes("ismsstorageapienabled")))},dependencies:[B,D,L,O,F,b,j,E,P],styles:[".col-lg-4[_ngcontent-%COMP%], .col-lg-3[_ngcontent-%COMP%]{padding:5px}"]})}}return t})();export{_e as M365SettingsComponent};
