import{a as Tt}from"./chunk-7F4EMYHG.js";import{a as Ct,b as vt}from"./chunk-QSIVP57B.js";import{d as wt}from"./chunk-QW4LUA7P.js";import{a as ft,b as Et,f as St}from"./chunk-B7SSGZRS.js";import{a as yt}from"./chunk-NOHFQP3R.js";import{a as ne}from"./chunk-V5H3D4QO.js";import{b as _t}from"./chunk-QJMD2SGW.js";import{o as mt,t as pt}from"./chunk-Y4TQXMUD.js";import{d as ut,e as ht,h as gt,i as ie}from"./chunk-F46V5MTM.js";import{A as at,B as st,D as dt,E as ct,b as He,c as Ge,g as Qe,h as Ye,j as Je,l as je,m as Xe,n as Ze,p as $e,t as et,u as tt,v as it,w as nt,x as rt,y as ot,z as lt}from"./chunk-EYGQBKHN.js";import{$b as Ke,Aa as Te,Da as Fe,Sb as We,Tb as Re,Ua as De,Ub as qe,Va as Pe,Vb as ze,Wa as Be,Ya as xe,Za as Ne,_a as Ve,db as Le,eb as Ae,f as ye,ha as be,i as we,l as Ce,lb as Ue,mb as Ie,nb as Oe,t as ve,xa as ke,za as Me}from"./chunk-3H2Q52KW.js";import{$b as I,$c as he,A as se,Ab as ce,Cc as x,Da as N,Dd as te,Ec as r,Fc as w,Gc as M,Hb as C,Hd as _e,Ia as de,Kc as g,Lc as f,Mc as E,Qc as ue,Rb as p,Rc as b,Sb as X,Sc as T,Tc as H,Zb as Q,_b as oe,ac as O,bc as t,cc as i,dc as _,ec as me,fc as pe,hc as D,lb as a,mb as B,nc as h,pc as y,sa as d,sc as V,ta as c,td as ge,ud as fe,vd as Ee,wc as q,xc as z,yc as K,zd as Se}from"./chunk-DF3EMM3Z.js";import{a as A,b as U,g as Mt,i as ae}from"./chunk-2AVGQ2MQ.js";var Y=Mt(Tt());var Ft=["matSelectEdit"],Dt=["matSelectCreate"],Pt=["matSelectCreateNoBackup"],Bt=["matSelectEditNoBackup"],xt=["matSelectBlukryptHost"],Nt=["matSelectCreateFilter"],Vt=["matSelectEditFilter"],k=()=>({standalone:!0}),Z=(u,S)=>({"pointer-events":u,opacity:S}),$=u=>({hide:u}),bt=(u,S)=>({"fa-eye":u,"fa-eye-slash":S}),L=u=>({display:u}),kt=u=>({redAlert:u});function Lt(u,S){if(u&1&&(t(0,"li")(1,"h3")(2,"a",497),r(3),i()()()),u&2){let o=y();a(3),w(o.parent)}}function At(u,S){if(u&1&&(t(0,"li")(1,"a",498),r(2),i()()),u&2){let o=y();a(2),w(o.child)}}function Ut(u,S){if(u&1&&(t(0,"li")(1,"span"),r(2),i()()),u&2){let o=y();a(2),w(o.subchild)}}function It(u,S){if(u&1&&(t(0,"small"),r(1),i()),u&2){let o=y(2);a(),M(`
                        `,o.errortext,`
                      `)}}function Ot(u,S){u&1&&(t(0,"small"),r(1,`
                        Policy Name must be at least 3 characters long.
                      `),i())}function Wt(u,S){if(u&1&&(t(0,"div",499),r(1,`
                      `),C(2,It,2,1,"small",18),r(3,`
                      `),C(4,Ot,2,0,"small",18),r(5,`
                    `),i()),u&2){y();let o=x(25);a(2),p("ngIf",o.errors&&o.errors.pattern),a(2),p("ngIf",o.errors&&o.errors.minlength)}}function Rt(u,S){u&1&&(t(0,"small",500),r(1,`
                        This value is too short. It should have 5 characters or more.
                    `),i())}function qt(u,S){u&1&&(t(0,"small",500),r(1,`
                        This value is too long. It should have 512 characters or fewer.
                    `),i())}function zt(u,S){u&1&&(t(0,"th",504),r(1,"Server Quota"),i())}function Kt(u,S){u&1&&(t(0,"td",506)(1,"span"),r(2,"-"),i()())}function Ht(u,S){if(u&1&&(t(0,"tr"),r(1,`
                    `),t(2,"td",506),r(3,`
                      `),t(4,"div"),r(5),i(),r(6,`
                    `),i(),r(7,`
                    `),t(8,"td",506),r(9,`
                        `),t(10,"div"),r(11),i(),r(12,`
                    `),i(),r(13,`
                    `),t(14,"td",506),r(15,`
                      `),t(16,"div"),r(17),i(),r(18,`
                    `),i(),r(19,`
                    `),t(20,"td",506),r(21,`
                      `),t(22,"div"),r(23),i(),r(24,`
                    `),i(),r(25,`
                    `),t(26,"td",506),r(27,`
                      `),t(28,"div"),r(29,"-"),i(),r(30,`
                    `),i(),r(31,`
                    `),t(32,"td",506)(33,"span"),r(34),i()(),r(35,`
                  `),i()),u&2){let o=S.$implicit,m=y(2);a(5),w(o.skuCode),a(6),w(o.skuName),a(6),w(o.storageSize),a(6),w(o.minUserCount),a(11),w(m.getFormattedDate(o.subscriptionStartDate))}}function Gt(u,S){if(u&1&&(t(0,"tr"),r(1,`
                      `),t(2,"td",506),r(3,`
                        `),t(4,"div"),r(5),i(),r(6,`
                      `),i(),r(7,`
                      `),t(8,"td",506),r(9,`
                        `),t(10,"div"),r(11),i(),r(12,`
                      `),i(),r(13,`
                      `),t(14,"td",506),r(15,`
                        `),t(16,"div"),r(17,"-"),i(),r(18,`
                      `),i(),r(19,`
                      `),t(20,"td",506),r(21,`
                        `),t(22,"div"),r(23),i(),r(24,`
                      `),i(),r(25,`
                      `),t(26,"td",506),r(27,`
                        `),t(28,"div"),r(29),i(),r(30,`
                      `),i(),r(31,`
                      `),t(32,"td",506)(33,"span"),r(34),i()(),r(35,`
                    `),i()),u&2){let o=S.$implicit,m=y(3);a(5),w(o.skuCode),a(6),w(o.skuName),a(12),w(o.storageSize),a(6),w(o.minUserCount),a(5),w(m.getFormattedDate(o.subscriptionStartDate))}}function Qt(u,S){if(u&1&&(me(0),r(1,`
                    `),C(2,Gt,36,5,"tr",508),r(3,`
                  `),pe()),u&2){let o=y(2);a(2),p("ngForOf",o.serverPacks)}}function Yt(u,S){if(u&1&&(t(0,"td",506)(1,"span")(2,"b"),r(3),i()()()),u&2){let o=y(2);a(3),w(o.totalServer)}}function Jt(u,S){if(u&1&&(t(0,"div",501),r(1,`
            `),t(2,"div"),r(3,`
                `),t(4,"h5"),r(5,"Subscription Details"),i(),r(6,`
            `),i(),r(7,`
            `),t(8,"table",502),r(9,`
                `),t(10,"thead",503),r(11,`
                  `),t(12,"tr"),r(13,`
                    `),t(14,"th",504),r(15,"Pack Name "),i(),r(16,`
                    `),t(17,"th",504),r(18,"Pack Description "),i(),r(19,`
                    `),t(20,"th",504),r(21,"Managed Data (GB)"),i(),r(22,`
                    `),t(23,"th",504),r(24,"User Quota"),i(),r(25,`
                    `),C(26,zt,2,0,"th",505),r(27,`
                    `),t(28,"th",504),r(29,"Pack Subscribed on"),i(),r(30,`
                  `),i(),r(31,`
                `),i(),r(32,`
                `),t(33,"tbody"),r(34,`
                  `),t(35,"tr"),r(36,`
                    `),t(37,"td",506),r(38,`
                        `),t(39,"div"),r(40),i(),r(41,`
                    `),i(),r(42,`
                    `),t(43,"td",506),r(44,`
                        `),t(45,"div"),r(46),i(),r(47,`
                    `),i(),r(48,`
                    `),t(49,"td",506)(50,"span"),r(51),i()(),r(52,`
                    `),t(53,"td",506)(54,"span"),r(55),i()(),r(56,`
                    `),C(57,Kt,3,0,"td",507),r(58,`
                    `),t(59,"td",506)(60,"span"),r(61),i()(),r(62,`
                  `),i(),r(63,`
                  `),C(64,Ht,36,5,"tr",508),r(65,`
                  `),C(66,Qt,4,1,"ng-container",18),r(67,`
                  `),t(68,"tr",506),r(69,`
                    `),t(70,"td",509)(71,"span")(72,"b"),r(73,"Total"),i()()(),r(74,`
                    `),t(75,"td",506)(76,"span")(77,"b"),r(78),i()()(),r(79,`
                    `),t(80,"td",506)(81,"span")(82,"b"),r(83),i()()(),r(84,`
                    `),C(85,Yt,4,1,"td",507),r(86,`
                  `),i(),r(87,`
                `),i(),r(88,`
              `),i(),r(89,`
            `),r(90,`
        `),i()),u&2){let o=y();a(8),p("hover",!0)("responsive",!0)("striped",!0),a(18),p("ngIf",o.inclusionLicenses.includes("windows_server_backup_enabled")),a(14),w(o.skuCode),a(6),w(o.skuName),a(5),w(o.storageSize),a(4),w(o.minUserCount),a(2),p("ngIf",o.inclusionLicenses.includes("windows_server_backup_enabled")),a(4),w(o.getFormattedDate(o.subscriptionStartDate)),a(3),p("ngForOf",o.userPacks),a(2),p("ngIf",o.inclusionLicenses.includes("windows_server_backup_enabled")),a(12),w(o.totalStorage),a(5),w(o.totalUser),a(2),p("ngIf",o.inclusionLicenses.includes("windows_server_backup_enabled"))}}function jt(u,S){if(u&1&&(t(0,"mat-option",416),r(1),i()),u&2){let o=S.$implicit;V("value",o.scheduleName),a(),w(o.scheduleName)}}function Xt(u,S){if(u&1){let o=D();t(0,"tr")(1,"td"),r(2),i(),t(3,"td"),r(4),i(),t(5,"td")(6,"button",513),h("click",function(){let e=d(o).$implicit,l=y(2);return c(l.editSchedule(e.scheduleName))}),r(7," Edit"),i()()()}if(u&2){let o=S.$implicit;a(2),w(o.scheduleName),a(2),M("",o.time," hrs")}}function Zt(u,S){if(u&1&&(t(0,"div",15)(1,"div",106)(2,"div",510)(3,"div",109)(4,"h5"),_(5,"i",511),r(6," Schedule Details"),i()(),t(7,"div",111)(8,"div",112)(9,"table",512)(10,"tbody"),I(11,Xt,8,2,"tr",null,Q),i()()()()()()()),u&2){let o=y();a(11),O(o.defaultSchedules)}}function $t(u,S){if(u&1&&(t(0,"mat-option",416),r(1),i()),u&2){let o=S.$implicit;V("value",o.scheduleName),a(),w(o.scheduleName)}}function ei(u,S){if(u&1){let o=D();t(0,"tr")(1,"td"),r(2),i(),t(3,"td"),r(4),i(),t(5,"td"),r(6),i(),t(7,"td")(8,"button",513),h("click",function(){let e=d(o).$implicit,l=y(2);return c(l.editNoBackupSchedule(e.scheduleName))}),r(9," Edit"),i()()()}if(u&2){let o=S.$implicit;a(2),w(o.scheduleName),a(2),M("",o.fromTime," hrs"),a(2),M("",o.toTime," hrs")}}function ti(u,S){if(u&1&&(t(0,"div",15)(1,"div",106)(2,"div",514)(3,"div",109)(4,"h5"),_(5,"i",511),r(6," Schedule Details"),i()(),t(7,"div",111)(8,"div",112)(9,"table",512)(10,"tbody"),I(11,ei,10,3,"tr",null,Q),i()()()()()()()),u&2){let o=y();a(11),O(o.defaultNoBackupSchedules)}}function ii(u,S){if(u&1){let o=D();t(0,"div",24)(1,"label",515),r(2,"Default Folders to Backup for MS SQL"),i(),t(3,"a",516),h("click",function(){d(o);let e=y();return c(e.addSqlServer())}),r(4,"Configure SQL Server"),i(),t(5,"c-input-group",21)(6,"input",517),E("ngModelChange",function(e){d(o);let l=y();return f(l.sqlBackupFolders,e)||(l.sqlBackupFolders=e),c(e)}),h("keyup.enter",function(){d(o);let e=y();return c(e.addDefaultFolderSQL())}),i(),t(7,"button",518),h("click",function(){d(o);let e=y();return c(e.addDefaultFolderSQL())}),r(8,"Add"),i()()()}if(u&2){let o=y();a(6),g("ngModel",o.sqlBackupFolders)}}function ni(u,S){if(u&1){let o=D();t(0,"li",520),r(1),t(2,"a",521),h("click",function(){let e=d(o).$implicit,l=y(2);return c(l.removeDefaultFolder(e))}),_(3,"i",522),i()()}if(u&2){let o=S.$implicit;a(),M(" ",o," ")}}function ri(u,S){if(u&1&&(t(0,"ul",519),I(1,ni,4,1,"li",520,Q),i()),u&2){let o=y();a(),O(o.defaultUniversalFolders)}}function oi(u,S){u&1&&(t(0,"span"),r(1,"There are no default folders to backup"),i())}function li(u,S){if(u&1){let o=D();t(0,"li",520),r(1),t(2,"a",521),h("click",function(){let e=d(o).$implicit,l=y(3);return c(l.removeDefaultFolderSQL(e))}),_(3,"i",522),i()()}if(u&2){let o=S.$implicit;a(),M(" ",o," ")}}function ai(u,S){if(u&1&&(t(0,"ul",519),I(1,li,4,1,"li",520,oe),i()),u&2){let o=y(2);a(),O(o.sqlBackupFoldersList)}}function si(u,S){u&1&&(t(0,"span"),r(1,"There are no default folders for SQL to backup"),i())}function di(u,S){if(u&1&&(t(0,"div",523)(1,"div",109)(2,"h5"),_(3,"i",110),r(4," Default MS SQL Folders"),i()(),t(5,"div",111)(6,"div",112)(7,"div"),C(8,ai,3,0,"ul",113)(9,si,2,0,"span",18),i()()()()),u&2){let o=y();a(8),p("ngIf",o.sqlBackupFoldersList.length>=1),a(),p("ngIf",o.sqlBackupFoldersList.length<=0)}}function ci(u,S){if(u&1){let o=D();t(0,"li",520),r(1),t(2,"a",521),h("click",function(){let e=d(o).$implicit,l=y(2);return c(l.removeExclusionFolder(e))}),_(3,"i",522),i()()}if(u&2){let o=S.$implicit;a(),M(" ",o," ")}}function mi(u,S){if(u&1&&(t(0,"ul",519),I(1,ci,4,1,"li",520,Q),i()),u&2){let o=y();a(),O(o.userExcludedFoldersUniversal)}}function pi(u,S){u&1&&(t(0,"span"),r(1,"These folders will be excluded"),i())}function ui(u,S){if(u&1){let o=D();t(0,"li",520),r(1),t(2,"a",521),h("click",function(){let e=d(o).$implicit,l=y(2);return c(l.removeExceptionFolder(e))}),_(3,"i",522),i()()}if(u&2){let o=S.$implicit;a(),M(" ",o,"")}}function hi(u,S){if(u&1&&(t(0,"ul",519),I(1,ui,4,1,"li",520,oe),i()),u&2){let o=y();a(),O(o.userExceptionsFoldersUniversal)}}function gi(u,S){u&1&&(t(0,"span"),r(1,"These folders will be Exceptions to exclusions"),i())}function fi(u,S){u&1&&(t(0,"h5",524)(1,"label",525),_(2,"i",526),i()())}function Ei(u,S){u&1&&(t(0,"h5",527)(1,"label",528),_(2,"i",529),i()())}function Si(u,S){if(u&1&&(t(0,"mat-option",416),r(1),i()),u&2){let o=S.$implicit;V("value",o.filterName),a(),w(o.filterName)}}function _i(u,S){if(u&1){let o=D();t(0,"tr",534)(1,"td",535)(2,"p")(3,"b"),r(4),i()(),t(5,"span",536),r(6),i()(),t(7,"td",537)(8,"button",538),h("click",function(){let e=d(o).$implicit,l=y(2);return c(l.editFilter(e.filterName))}),r(9," Edit"),i()()()}if(u&2){let o=S.$implicit;a(4),M("",o.filterName," :"),a(2),w(o.filters),a(2),p("disabled",o.filterName==="all_files")}}function yi(u,S){if(u&1){let o=D();t(0,"div",530)(1,"div",106)(2,"div",108)(3,"div",109)(4,"h5"),_(5,"i",531),r(6," Filters "),i()(),t(7,"div",532)(8,"div",218)(9,"span"),r(10,"Backup files without an extension"),i(),t(11,"div",55)(12,"label",252)(13,"input",533),E("ngModelChange",function(e){d(o);let l=y();return f(l.backupFilesWithoutExtension,e)||(l.backupFilesWithoutExtension=e),c(e)}),i(),_(14,"div",254),i()()(),t(15,"div",112)(16,"table",512)(17,"tbody"),I(18,_i,10,3,"tr",534,Q),i()()()()()()()}if(u&2){let o=y();a(13),g("ngModel",o.backupFilesWithoutExtension),a(5),O(o.defaultFilters)}}function wi(u,S){u&1&&(t(0,"h5",539)(1,"label",525),_(2,"i",526),i()())}function Ci(u,S){u&1&&(t(0,"h5",540)(1,"label",528),_(2,"i",529),i()())}function vi(u,S){if(u&1&&(t(0,"mat-option",416),r(1),i()),u&2){let o=S.$implicit;V("value",o.filterName),a(),w(o.filterName)}}function bi(u,S){if(u&1){let o=D();t(0,"tr")(1,"td",535)(2,"p")(3,"b"),r(4),i()(),t(5,"span",536),r(6),i()(),t(7,"td",537)(8,"button",538),h("click",function(){let e=d(o).$implicit,l=y(2);return c(l.editFilter(e.filterName))}),r(9," Edit"),i()()()}if(u&2){let o=S.$implicit;a(4),M("",o.filterName," :"),a(2),w(o.filters),a(2),p("disabled",o.filterName==="all_files")}}function ki(u,S){if(u&1&&(t(0,"div",530)(1,"div",106)(2,"div",108)(3,"div",109)(4,"h5"),_(5,"i",531),r(6," Filters "),i()(),t(7,"div",532)(8,"div",112)(9,"table",512)(10,"tbody"),I(11,bi,10,3,"tr",null,Q),i()()()()()()()),u&2){let o=y();a(11),O(o.defaultSearchFilters)}}function Mi(u,S){if(u&1){let o=D();t(0,"div",257)(1,"span",134),r(2,"Unusual Activity Detection Enabled"),i(),t(3,"div",541)(4,"c-form-check",56)(5,"input",542),E("ngModelChange",function(e){d(o);let l=y();return f(l.rwDetectionEnabled,e)||(l.rwDetectionEnabled=e),c(e)}),i()()()()}if(u&2){let o=y();a(4),p("switch",!0),a(),p("ngModelOptions",b(3,k)),g("ngModel",o.rwDetectionEnabled)}}function Ti(u,S){if(u&1){let o=D();t(0,"div",72)(1,"label",543),r(2,"Dedup"),i(),t(3,"select",544),E("ngModelChange",function(e){d(o);let l=y();return f(l.dedup,e)||(l.dedup=e),c(e)}),t(4,"option",545),r(5,"Disabled"),i(),t(6,"option",546),r(7,"User"),i()()()}if(u&2){let o=y();a(3),g("ngModel",o.dedup)}}function Fi(u,S){if(u&1){let o=D();t(0,"div",72)(1,"label",543),r(2,"dedup"),i(),t(3,"select",544),E("ngModelChange",function(e){d(o);let l=y();return f(l.dedup,e)||(l.dedup=e),c(e)}),t(4,"option",545),r(5,"Disabled"),i(),t(6,"option",547),r(7,"User"),i(),t(8,"option",548),r(9,"Global"),i()()()}if(u&2){let o=y();a(3),g("ngModel",o.dedup)}}function Di(u,S){if(u&1&&(t(0,"mat-option",416),r(1),i()),u&2){let o=S.$implicit;V("value",o.gatewayName),a(),w(o.gatewayName)}}function Pi(u,S){if(u&1){let o=D();t(0,"div",24)(1,"label",549),r(2,"Preferred BluKrypt Hostnames"),i(),t(3,"mat-form-field",52)(4,"mat-select",478,13),E("ngModelChange",function(e){d(o);let l=y();return f(l.checkedListPg,e)||(l.checkedListPg=e),c(e)}),h("selectionChange",function(){d(o);let e=y();return c(e.onBlukryptChange())}),C(6,Di,2,2,"mat-option",47),i()()()}if(u&2){let o=y();X("display",o.userType=="superAdmin"?"block":"none"),a(4),g("ngModel",o.checkedListPg),p("ngModelOptions",b(5,k)),a(2),p("ngForOf",o.pgs)}}function Bi(u,S){u&1&&(t(0,"div")(1,"div",500),r(2,"Password must be at least 5 characters long."),i()())}function xi(u,S){u&1&&(t(0,"div")(1,"div"),r(2,"Passwords must match."),i()())}function Ni(u,S){u&1&&(t(0,"small"),r(1," Schedule Name is required. "),i())}function Vi(u,S){if(u&1&&(t(0,"div",499),C(1,Ni,2,0,"small",18),i()),u&2){y();let o=x(1419);a(),p("ngIf",o.errors==null?null:o.errors.required)}}function Li(u,S){if(u&1&&(t(0,"small",499),r(1),i()),u&2){let o=y();a(),M(" ",o.errortext," ")}}function Ai(u,S){u&1&&(t(0,"small"),r(1," Schedule Name is required. "),i())}function Ui(u,S){if(u&1&&(t(0,"small"),r(1),i()),u&2){let o=y(2);a(),M(" ",o.errortext," ")}}function Ii(u,S){if(u&1&&(t(0,"div",499),C(1,Ai,2,0,"small",18)(2,Ui,2,1,"small",18),i()),u&2){y();let o=x(1419);a(),p("ngIf",o.errors==null?null:o.errors.required),a(),p("ngIf",o.errors&&o.errors.pattern)}}function Oi(u,S){if(u&1&&(t(0,"small",500),r(1),i()),u&2){let o=y();a(),M(" ",o.errortext," ")}}function Wi(u,S){if(u&1&&(t(0,"mat-option",416),r(1),i()),u&2){let o=S.$implicit;V("value",o.extensionName),a(),w(o.filterName)}}function Ri(u,S){if(u&1){let o=D();t(0,"span",550),r(1),t(2,"a",551),h("click",function(){let e=d(o).$implicit,l=y();return c(l.removeExtensionCreate(e))}),_(3,"i",522),i()()}if(u&2){let o=S.$implicit;a(),M("",o," ")}}function qi(u,S){if(u&1&&(t(0,"mat-option",416),r(1),i()),u&2){let o=S.$implicit;V("value",o.extensionName),a(),w(o.filterName)}}function zi(u,S){if(u&1){let o=D();t(0,"span",552),r(1),t(2,"a",551),h("click",function(){let e=d(o).$implicit,l=y();return c(l.removeExtension(e))}),_(3,"i",522),i()()}if(u&2){let o=S.$implicit;a(),M("",o," ")}}var kn=(()=>{class u{constructor(o,m,e,l,s,n,v,F,W,G,P,R,J){this.http=o,this.datePipe=m,this.titleService=e,this.toastr=l,this.apiService=s,this.AuthService=n,this.globalConstantsService=v,this.cdr=F,this.router=W,this.sharedService=G,this.el=P,this.licenseCheckService=R,this.userRoleService=J,this.parent="Policy Management",this.child="BluVault Policies",this.subchild="Edit Policy",this.title="Policy Management",this.errortext="Only letters, numbers, and @, -, _, . are allowed. The input must be at least 3 characters long.",this.menuOptionsEdit={open:!0,view:!0,versions:!0,share:!0,download:!0,restore:!0},this.policygroupName="",this.description="",this.policyStorageSizeAllowed="0",this.policyUsersAllowed="0",this.osType="universal",this.defaultUniversalFolders=["/users/","/home/","C:\\","D:\\"],this.userExcludedFoldersUniversal=[],this.userExceptionsFoldersUniversal=[],this.sqlBackupFoldersList=[],this.noOfDevicesAllowed="1",this.deviceAllowedError="",this.noOfDevicesAllowedCloud="3",this.canUserChangePassword=!1,this.canAdminChangeUserPassword=!1,this.canDelegatedAdminChangeUserPassword="true",this.passwordChangeEnforce=!0,this.canAdminRestoreAll=!0,this.isAdminDeleteBackupFile=!1,this.searchEnabled=!1,this.overridePolicySettings=!0,this.showUserConsentFieldInPolicies=!1,this.storageProvider="ParaBlu",this.hostedSetup=!0,this.allowEndUserTocontrolRestore=!1,this.showDropDownSchedule=!1,this.checkedListSchedule=[],this.currentSelectedSchedule={},this.schedules=[],this.showDropDownNoBackupSchedule=!1,this.checkedListNoBackupSchedule=[],this.currentSelectedNoBackupSchedule={},this.noBackupSchedules=[],this.shareCheckedList=new N,this.shareIndividualCheckedList=new N,this.shareCheckedListNoBackup=new N,this.shareIndividualCheckedListNoBackup=new N,this.showDropDownFilter=!1,this.checkedListFilter=[],this.currentSelectedFilter={},this.shareCheckedListFilter=new N,this.shareIndividualCheckedListFilter=new N,this.showDropDownSearchFilter=!1,this.checkedListSearchFilter=[],this.currentSelectedSearchFilter={},this.shareCheckedListSearchFilter=new N,this.shareIndividualCheckedListSearchFilter=new N,this.searchAlgorithm="NEAREST",this.showDropDownPg=!1,this.checkedListPg=[],this.currentSelectedPg={},this.pgs=[],this.shareCheckedListPg=new N,this.shareIndividualCheckedListPg=new N,this.filters=[{filterName:"Filter1",checked:!1},{filterName:"Filter2",checked:!1},{filterName:"Filter3",checked:!1}],this.searchfilters=[{filterName:"Filter1",checked:!1},{filterName:"Filter2",checked:!1},{filterName:"Filter3",checked:!1}],this.defaultSchedules=[],this.defaultNoBackupSchedules=[],this.defaultFilters=[],this.defaultSearchFilters=[],this.inclusionFilter=!0,this.exclusionFilter=!1,this.inclusionSearchFilter=!0,this.exclusionSearchFilter=!1,this.isThrottleEnabled=!1,this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps",this.nwFromClientToPGMBFinal="",this.switchError="",this.switchWarning="",this.isVersionEnabled=!0,this.versions="3",this.verError="",this.isSizeEnabled=!1,this.maxPermissibleFileSize="UNLIMITED",this.sizeError="",this.isLimitEnabled=!1,this.perUserBackupStorageLimit="250",this.limitError="",this.cpuThrottling="5",this.defaultFoldersBackup="",this.exclusionFolderName="",this.exceptionFolderName="",this.sqlBackupFolders="",this.applyFilterToExceptionsToExclusion=!0,this.backupFilesWithoutExtension=!0,this.legalHold=!1,this.rwDetectionEnabled=!1,this.switchnoOfDaysToKeepDeviceNotHeard=!0,this.noOfDaysToKeepDeviceNotHeard="60",this.switchnoOfDaysToKeepUserDeviceNotActive=!1,this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED",this.deviceNotHeardError="",this.deviceNotActiveError="",this.switchAllowedDomains=!1,this.allowedDomains="",this.isPasswordEnabled=!1,this.agentPassword="",this.agentRePassword="",this.passwordsDoNotMatch=!1,this.deletedFilesError="",this.switchnoOfDaysToKeepDeletedFiles=!1,this.noOfDaysToKeepDeletedFiles="UNLIMITED",this.switchuserConsentEnabled=!1,this.userConsentDisplayText="",this.preScanCommandEnabled=!1,this.preScanCommand="",this.continueOnPreScan=!1,this.preBackupCommandEnabled=!1,this.preBackupCommand="",this.continueOnPreBkp=!1,this.postBackupCommandEnabled=!1,this.postBackupCommand="",this.continueOnPostBkp=!1,this.memoryUtilization="128",this.cpuUtilization="80",this.dcmEnabled=!1,this.clientDedup="true",this.maxFileSizeForBkpBatch="50",this.createUserAdmins="admins",this.createUserReadonlyadmins="readonlyadmins",this.createUserUsers="",this.userDeletedAdmins="admins",this.userDeletedReadonlyadmins="readonlyadmins",this.userDeletedUsers="",this.userBlockedAdmins="admins",this.userBlockedReadonlyadmins="readonlyadmins",this.userBlockedUsers="",this.userLimitReachedAdmins="admins",this.userLimitReachedReadonlyadmins="readonlyadmins",this.userLimitReachedUsers="",this.deviceDeletedAdmins="admins",this.deviceDeletedReadonlyadmins="readonlyadmins",this.deviceDeletedUsers="",this.deviceBlockedAdmins="admins",this.deviceBlockedReadonlyadmins="readonlyadmins",this.deviceBlockedUsers="",this.deviceDecoupledAdmins="admins",this.deviceDecoupledReadonlyadmins="readonlyadmins",this.deviceDecoupledUsers="",this.deviceLimitReachedAdmins="admins",this.deviceLimitReachedReadonlyadmins="readonlyadmins",this.deviceLimitReachedUsers="",this.weeklyBkpreportAdmins="admins",this.weeklyBkpreportReadonlyadmins="readonlyadmins",this.weeklyBkpreportUsers="",this.firstBkpCompletedAdmins="admins",this.firstBkpCompletedReadonlyadmins="readonlyadmins",this.firstBkpCompletedUsers="",this.restoreInitiatedAdmins="admins",this.restoreInitiatedReadonlyadmins="readonlyadmins",this.restoreInitiatedUsers="",this.restoreCompletedAdmins="admins",this.restoreCompletedReadonlyadmins="readonlyadmins",this.restoreCompletedUsers="",this.storageLimitReachedAdmins="admins",this.storageLimitReachedReadonlyadmins="readonlyadmins",this.storageLimitReachedUsers="",this.endpointUiPreferences=[],this.endpointDisabledUiPreferences=[],this.menuOptions={},this.webBasedLogin="true",this.numberOfThreadsAllowedForBackup="1",this.dedup="user",this.vssEnabled="true",this.compEnabled="true",this.privacyGatewayMappingElement={},this.policyRefresh="4",this.switchlogUnaccessedFiles="true",this.autoUpdateAgent="false",this.canBackupHiddenFiles="true",this.downloadAgent="true",this.displayScheduleConfStyle="none",this.displaySchEditStyle="none",this.scheduleNameToEdit="",this.scheduleElement={},this.scheduleDaysListEdit=[],this.myTime=new Date,this.myDate=new Date,this.allDays=["1","2","3","4","5","6","7"],this.showDailyEdit=!0,this.displaySchCreateStyle="none",this.scheduleDaysList=[],this.showDaily=!0,this.scheduleModel={scheduleName:"",time:"",timeZone:Y.default.tz.guess(),backupType:"INCR",dayArray:[]},this.scheduleEditModel={scheduleName:"",time:"",timeZone:Y.default.tz.guess(),backupType:"INCR",dayArray:[]},this.displayNoBackupConfStyle="none",this.displayNoBackupCreateStyle="none",this.displayNoBackupEditStyle="none",this.nobackupscheduleNameToEdit="",this.nobackupscheduleDaysList=[],this.nobackupscheduleDaysListEdit=[],this.nobackupmyTime=new Date,this.nobackupmyTimeEnd=new Date,this.nobackupallDays=["1","2","3","4","5","6","7"],this.nobackupshowDaily=!0,this.nobackupshowDailyEdit=!0,this.nobackupscheduleElement={},this.nobackupscheduleModel={scheduleName:"",fromTime:"",toTime:"",timeZone:Y.default.tz.guess(),backupType:"INCR",dayArray:[]},this.nobackupscheduleEditModel={scheduleName:"",fromTime:"",toTime:"",timeZone:Y.default.tz.guess(),backupType:"INCR",dayArray:[]},this.displayFilterConfStyle="none",this.displayFilterCreateStyle="none",this.displayFilterEditStyle="none",this.filterModel={filterName:"",filterType:"inclusion",filters:""},this.filterEditModel={filterName:"",filterType:"inclusion",filters:""},this.filterToEdit="",this.extensionsVisible=!0,this.filterElement={},this.checkedList=[],this.cannedFiltersCreate=["doc","docx","ppt","pptx","txt","pdf","jpg","png"],this.checkedListExtensionCreate=[],this.cannedFilters=[],this.checkedListExtensionEdit=[],this.userDefinedExtensionsCreate=[],this.userDefinedExtensionsEdit=[],this.cannedFiltersTemplateCreate=[],this.cannedFiltersTemplateEdit=[],this.newFilterExtensionCreate="",this.newFilterExtensionEdit="",this.checkedListExtension=[],this.contentIndexEnabled="true",this.searchFilterType="inclusion",this.filterType="inclusion",this.storage_type="",this.userType="",this.invalidScheduleName=!1,this.invalidFilterName=!1,this.isPasswordVisible=!1,this.isRePasswordVisible=!1,this.policyNameToEdit="",this.displayConfirmPolicySave="none",this.displayConfigSQLStyle="none",this.serverUserNameToSave="",this.serverPasswordToSave="",this.serverUserName="",this.serverPassword="",this.serverRePassword="",this.preScanError="",this.preBackupError="",this.postBackupError="",this.policyRefreshError="",this.domainError="",this.statistics={},this.skuCode="",this.skuName="",this.packModel="",this.totalStorage=0,this.totalUser=0,this.totalServer=0,this.storageSize="",this.minUserCount="-",this.customerId="-",this.referenceNumber="-",this.serverMgmt=!1,this.addons=[],this.userPacks=[],this.serverPacks=[],this.isMspEnabled=!1,this.endpointUiPreferencesEdit=["DECOUPLE","SUPPORT","INTIATE_BACKUP","RESTORE","BACKUP_SETTINGS","BACKUP_FILES","REFRESH_BACKUP_POLICY","PAUSE_BACKUP","ABOUT","SYSTRAYICON","EXIT","STOP_BACKUP","UPDATE_AGENT"],this.endpointDisabledUiPreferencesEdit=["DISALLOW_ADMIN_RESTORES","BLOCK_NOTIFICATIONS"],this.preferencesEdit={DECOUPLE:!0,SUPPORT:!0,INTIATE_BACKUP:!0,RESTORE:!0,BACKUP_SETTINGS:!0,BACKUP_FILES:!0,REFRESH_BACKUP_POLICY:!0,PAUSE_BACKUP:!0,ABOUT:!0,SYSTRAYICON:!0,EXIT:!0,NETWORK_SETTINGS:!1,UPDATE_AGENT:!0,STOP_BACKUP:!0,DISALLOW_ADMIN_RESTORES:!1,BLOCK_NOTIFICATIONS:!1},this.inclusionLicenses=[],this.exclusionLicenses=[],this.policyModel={sqlBackupFolders:[],backupSystemFilesEnabled:"false",legalHoldEnabled:"false",sqlbkpEnabled:"false",shareEnabled:"false",highSecureShareEnabled:"true",complexPassword:!0,allowDownload:!1,shareExpireDateEnable:!0,googleAuth:!0,maxFileSizeForBkpBatch:"50",clientDedup:"true",policygroupName:"test123",description:"",cloudCredential:"",dcmEnabled:!1,destination:"",backupFolderPaths:["/users/","/home/","C:\\","D:\\"],maxVersions:"-1",maxFileSize:"1048576",osType:"universal",pftEnabled:"true",pftSize:"9",dedup:"User",fullBackupEnabled:"false",fullBackupStartDate:"",fileChunkableSize:"8",nwFromPGToCloud:"4",nwFromClientToPG:1e4,nwFromClientToPGMB:1e4,filterInclusionName:["all_files"],searchFilterInclusionName:["all_files"],vssEnabled:"true",networkThrottlingNames:["DEFAULT_NETWORK_THROTTLE"],scheduleNames:[],noBkpScheduleNames:[],userSizeAllowed:"250",memoryUtilization:"128",cpuUtilization:"80",fullBackupSchedule:"",compressionEnabled:"true",privacyGatewayMappingElement:{gatewayNwThrottlingName:"Default",privacyGatewayNames:[]},endpointUiPreferences:["EXIT","DECOUPLE","SUPPORT","INTIATE_BACKUP","RESTORE","STOP_BACKUP","BACKUP_SETTINGS","BACKUP_FILES","REFRESH_BACKUP_POLICY","PAUSE_BACKUP","ABOUT","UPDATE_AGENT","SYSTRAYICON"],endpointDisabledUiPreferences:["DISALLOW_ADMIN_RESTORES","BLOCK_NOTIFICATIONS"],menuOptions:{open:"true",view:"true",versions:"true",share:"false",download:"true",restore:"true"},calloutScripts:[],crawlLimit:"500",policyRefresh:"4:00",canUserChangePassword:!1,canAdminChangeUserPassword:!1,canDelegatedAdminChangeUserPassword:"true",canBackupHiddenFiles:"true",downloadAgent:"true",searchAlgoForPg:"NEAREST",cpuThrottling:"5",daysToWaitForNextBackup:0,noOfDevicesAllowed:"1",endpointDomainCheck:"false",allowedDomains:"",webBasedLogin:"true",canAdminRestore:"true",canAdminDelete:"true",contentIndexEnabled:"true",noOfDaysToKeepDeviceNotHeard:"60",noOfDaysToKeepUserDeviceNotActive:"-1",noOfDaysToKeepDeletedFiles:"-1",filterType:"inclusion",searchFilterType:"inclusion",preScanCommand:"",preBackupCommand:"",postBackupCommand:"",continueOnPreScan:"false",continueOnPreBkp:"false",continueOnPostBkp:"false",preScanCommandEnabled:"false",preBackupCommandEnabled:"false",postBackupCommandEnabled:"false",switchAgentPassword:"false",agentPassword:"",shareDomainType:"Share only with these Email domains",shareDomainIncExclusions:[""],allowEndUserTocontrolRestore:"false",showShareLink:"false",userConsentEnabled:!1,userConsentDisplayText:"",numberOfThreadsAllowedForBackup:"1",shareDomainsEnabled:"false",logUnaccessedFiles:"false",rwDetectionEnabled:"false",backupFilesWithoutExtension:!0,applyFilterToExceptionsToExclusion:"true",serverUserName:"",serverPassword:"",autoUpdateAgent:"false",policyStorageSizeAllowed:"0",policyUsersAllowed:"0",excludedFolderpaths:["{OneDrive}","{user.home}\\Documents\\My Pictures","{user.home}\\Documents\\My Videos","{user.home}\\Documents\\My Music","{user.home}\\Templates","{user.home}\\Local Settings","{user.home}\\Cookies","{user.home}\\NetHood","{user.home}\\PrintHood","{user.home}\\Application Data","{user.home}\\My Documents","{user.home}\\Start Menu","{user.home}\\SendTo","{Local Settings}","{swapfile.sys}","{credDB.cef}","{thumbs.db}","{NTUSER.DAT}","{desktop.ini}","{pagefile.sys}","{UsrClass.dat}","{hiberfil.sys}","{$RECYCLE.BIN}","{AppData}","{temp}","{win\\system.root\\Users\\all users}","{win\\system.root\\ProgramData}","{win\\system.root\\Program Files}","{win\\system.root\\Windows}","{user.home}\\recent","{mac/system.root/Network}","{mac.com.apple.Network}","{user.home}\\recent","{.Trashes}","{.webtmp}","{.MobileBackups.trash}","{.MobileBackups}","{Backups.backupdb}","{net}","{.vol}","{automount}","{.com.apple.NetBootX}","{.DS_Store}","{.hotfiles.btree}","{.fseventsd}","{.Spotlight-V100}","{.DocumentRevisions-V100}","{Network Trash Folder}","{lost+found}","{.AppleDB}","{.AppleDouble}","{.journal_info_block}","{.journal}","{.HFS+ Private Directory Data}","{mac/system.root/var}","{.trash}","{tmp}","{dev}","{mac/system.root/etc}","{mac/system.root/opt}","{cores}","{mac/system.root/private}","{mac/system.root/usr}","{Volumes}","{mac/system.root/Applications}","{mac/system.root/System}","{mac/system.root/sbin}","{mac/system.root/bin}","{mac/system.root/Library}","{mac/.ParaBlu}","{mac/Trash}","{mac/System}","{mac/Applications}","{mac/Library}","{linux/.ParaBlu}","{linux/system.root/opt/parablu-epa}","{linux/system.root/var}","{linux/system.root/boot}","{linux/system.root/media}","{linux/system.root/run}","{linux/system.root/tmp}","{linux/system.root/sys}","{linux/system.root/proc}","{linux/system.root/dev}"],exceptionsToExclusions:[],emailsRestriction:{createUser:"admins,readonlyadmins,users",userDeleted:"admins,readonlyadmins,users",userBlocked:"admins,readonlyadmins,users",userLimitReached:"admins,readonlyadmins",deviceDeleted:"admins,readonlyadmins,users",deviceBlocked:"admins,readonlyadmins,users",deviceDecoupled:"admins,readonlyadmins",deviceLimitReached:"admins,readonlyadmins,users",weeklyBkpreport:"admins,readonlyadmins",firstBkpCompleted:"admins,readonlyadmins",restoreInitiated:"admins,readonlyadmins,users",restoreCompleted:"admins,readonlyadmins,users",storageLimitReached:"admins,readonlyadmins"},policyType:""},this.output={createUser:"",userDeleted:"",userBlocked:"",userLimitReached:"",deviceDeleted:"",deviceBlocked:"",deviceDecoupled:"",deviceLimitReached:"",weeklyBkpreport:"",firstBkpCompleted:"",restoreInitiated:"",restoreCompleted:"",storageLimitReached:""},this.titleService.setTitle(this.title)}ngOnInit(){return ae(this,null,function*(){yield new Promise(o=>{this.globalConstantsService.fetchConstants().subscribe(()=>{this.storage_type=this.globalConstantsService.getConstant("STORAGE_TYPE"),this.storage_type=="ONE_DRIVE"||this.storage_type=="GOOGLE_DRIVE"?this.dedup="User":this.dedup="Global",o()})}),this.policyNameToEdit=this.sharedService.getDataByKey("currentPolicyName"),this.callApis(),this.inclusionLicenses=yield this.licenseCheckService.getInclusionLicensesNew(),this.userType=yield this.userRoleService.getUserRole()})}getFormattedDate(o){return this.datePipe.transform(o,"dd-MMM-yyyy HH:mm:ss")||""}sendMeTo(o){this.router.navigate([o])}onSelectChangeFilterType(o){let e=o.target.value;e==="inclusion"?(this.inclusionFilter=!0,this.exclusionFilter=!1):e==="exclusion"&&(this.inclusionFilter=!1,this.exclusionFilter=!0)}onSelectChangeSearchFilterType(o){let e=o.target.value;e==="inclusion"?(this.inclusionSearchFilter=!0,this.exclusionSearchFilter=!1):e==="exclusion"&&(this.inclusionSearchFilter=!1,this.exclusionSearchFilter=!0)}onSliderChange(o){this.cpuThrottling=o.target.value}toggleThrottle(){this.isThrottleEnabled?this.nwFromClientToPGMB="4":(this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps"),this.validateInput()}validateInput(){this.switchError="",this.switchWarning="";let o=Number(this.nwFromClientToPGMB);if(isNaN(o))this.nwFromClientToPGMB!=="UNLIMITED"&&(this.switchError="Input can be any integer");else if(o.toString().includes("."))this.switchError="Please enter an integral value";else switch(this.networkThrottlingUnit){case"kbps":case"mbps":o<1||o>1024?this.switchError="Value must be between 1 and 1024 for kbps or mbps":o<256&&this.networkThrottlingUnit==="kbps"&&(this.switchWarning="Recommended value is 1Mbps or greater. You should consider increasing this value to at least 256kbps");break;case"gbps":(o<1||o>9)&&(this.switchError="Value must be between 1 and 9 for gbps");break;default:break}}toggleVersion(){this.verError="",this.isVersionEnabled?this.versions="3":this.versions="UNLIMITED",this.myFunctionVer()}myFunctionVer(){console.log("versions : "+this.versions),this.verError="";let o=Number(this.versions);console.log("inputValue : "+o),isNaN(o)?this.versions!=="UNLIMITED"&&(this.verError="Input can be any integer"):o>1e7?this.verError="Maximum number of Versions Allowed is 1 Crore":this.versions.includes(".")?this.verError="Please enter an integral value":o<1&&!isNaN(o)?this.verError="Minimum number of Versions Allowed is 1":this.verError=""}toggleSize(){this.sizeError="",this.isSizeEnabled?this.maxPermissibleFileSize="":this.maxPermissibleFileSize="UNLIMITED"}myFunctionMPS(){console.log("maxPermissibleFileSize : "+this.maxPermissibleFileSize),this.sizeError="";let o=Number(this.maxPermissibleFileSize);console.log("inputValue : "+o),isNaN(o)?this.maxPermissibleFileSize!=="UNLIMITED"&&(this.sizeError='Input can be either "UNLIMITED" or a positive integer.'):o>999999?this.sizeError="Maximum Permissible File Size Allowed is 999999":this.maxPermissibleFileSize.includes(".")?this.sizeError="Please enter an integral value":o<1&&!isNaN(o)?this.sizeError="Minimum File Size Allowed is 1":this.sizeError=""}toggleLimit(){this.limitError="",this.isLimitEnabled?this.perUserBackupStorageLimit="":this.perUserBackupStorageLimit="UNLIMITED"}myFunctionUBS(){console.log("perUserBackupStorageLimit : "+this.perUserBackupStorageLimit),this.limitError="";let o=Number(this.perUserBackupStorageLimit);console.log("inputValue : "+o),isNaN(o)?this.perUserBackupStorageLimit!=="UNLIMITED"&&(this.limitError='Input can be either "UNLIMITED" or a positive integer.'):o>99999?this.limitError="Maximum Per User Backup Storage Limit Allowed is 99999":this.perUserBackupStorageLimit.includes(".")?this.limitError="Please enter an integral value":o<1&&!isNaN(o)?this.limitError="Minimum Per User Backup Storage Limit Allowed is 1":this.limitError=""}myFunctionDevice(){parseInt(this.noOfDevicesAllowed)<=0||this.noOfDevicesAllowed==null?this.deviceAllowedError="This value should be greater than or equal to 1.":this.noOfDevicesAllowed>this.noOfDevicesAllowedCloud?this.deviceAllowedError="This value exceeds the number of devices licensable per user. Please enter a value lower than or equal to "+this.noOfDevicesAllowedCloud:this.deviceAllowedError=""}updateOutput(){this.output.createUser=this.getEnabledOptions(["createUserAdmins","createUserReadonlyadmins","createUserUsers"]),this.output.userDeleted=this.getEnabledOptions(["userDeletedAdmins","userDeletedReadonlyadmins","userDeletedUsers"]),this.output.userBlocked=this.getEnabledOptions(["userBlockedAdmins","userBlockedReadonlyadmins","userBlockedUsers"]),this.output.userLimitReached=this.getEnabledOptions(["userLimitReachedAdmins","userLimitReachedReadonlyadmins","userLimitReachedUsers"]),this.output.deviceDeleted=this.getEnabledOptions(["deviceDeletedAdmins","deviceDeletedReadonlyadmins","deviceDeletedUsers"]),this.output.deviceBlocked=this.getEnabledOptions(["deviceBlockedAdmins","deviceBlockedReadonlyadmins","deviceBlockedUsers"]),this.output.deviceDecoupled=this.getEnabledOptions(["deviceDecoupledAdmins","deviceDecoupledReadonlyadmins","deviceDecoupledUsers"]),this.output.deviceLimitReached=this.getEnabledOptions(["deviceLimitReachedAdmins","deviceLimitReachedReadonlyadmins","deviceLimitReachedUsers"]),this.output.weeklyBkpreport=this.getEnabledOptions(["weeklyBkpreportAdmins","weeklyBkpreportReadonlyadmins","weeklyBkpreportUsers"]),this.output.firstBkpCompleted=this.getEnabledOptions(["firstBkpCompletedAdmins","firstBkpCompletedReadonlyadmins","firstBkpCompletedUsers"]),this.output.restoreInitiated=this.getEnabledOptions(["restoreInitiatedAdmins","restoreInitiatedReadonlyadmins","restoreInitiatedUsers"]),this.output.restoreCompleted=this.getEnabledOptions(["restoreCompletedAdmins","restoreCompletedReadonlyadmins","restoreCompletedUsers"]),this.output.storageLimitReached=this.getEnabledOptions(["storageLimitReachedAdmins","storageLimitReachedReadonlyadmins","storageLimitReachedUsers"])}getEnabledOptions(o){return o.map(m=>this[m]).filter(m=>m!=="").join(",")}updatePreferences(){let o=["bkpfiles","bkpsettings","initiatebackup","stopbackup","support","about","systrayIcon","restore","refbkppolicy","pauseBackup","updateAgent","decouple","network_settings","exitt","disallowAdminRestores","blockNotifications"];this.endpointUiPreferences=[],this.endpointDisabledUiPreferences=[],this.getSelectedValues(o),console.log("Enabled Preferences:",this.endpointUiPreferences),console.log("Disabled Preferences:",this.endpointDisabledUiPreferences)}getSelectedValues(o){o.forEach(m=>{let e=document.getElementById(m);if(e){let l=this.mapIdToPreference(m);e.value==="true"?this.endpointUiPreferences.push(l):this.endpointDisabledUiPreferences.push(l)}})}mapIdToPreference(o){switch(o){case"pauseBackup":return"PAUSE_BACKUP";case"stopbackup":return"STOP_BACKUP";case"initiatebackup":return"INTIATE_BACKUP";case"updateAgent":return"UPDATE_AGENT";case"systrayIcon":return"SYSTRAYICON";case"bkpfiles":return"BACKUP_FILES";case"bkpsettings":return"BACKUP_SETTINGS";case"decouple":return"DECOUPLE";case"network_settings":return"NETWORK_SETTINGS";case"refbkppolicy":return"REFRESH_BACKUP_POLICY";case"blockNotifications":return"BLOCK_NOTIFICATIONS";case"disallowAdminRestores":return"DISALLOW_ADMIN_RESTORES";case"exitt":return"EXIT";default:return o.toUpperCase()}}updateMenuOptions(){let o=["Open","View","Versions","Share","Download","portalRestore"];this.menuOptions=this.getSelectedMenuOptions(o),console.log("Menu Options:",this.menuOptions)}getSelectedMenuOptions(o){let m={};return o.forEach(e=>{let l=document.getElementById(e);l&&(console.log("element : "+l.getAttribute("id")),l.getAttribute("id")=="portalRestore"?m.restore=l.value:m[e.toLowerCase()]=l.value)}),m}getprivacyElement(){let o={};return o.gatewayNwThrottlingName="Default",o.privacyGatewayNames=this.checkedListPg,o}flipAllowEndUserTocontrolRestore(){this.canAdminRestoreAll||(this.allowEndUserTocontrolRestore=!1,this.isAdminDeleteBackupFile=!1)}toggleDeviceNotHeard(){this.switchnoOfDaysToKeepDeviceNotHeard?this.noOfDaysToKeepDeviceNotHeard="60":this.noOfDaysToKeepDeviceNotHeard="UNLIMITED",this.myFunctionnoOfDaysToKeepDeviceNotHeard()}myFunctionnoOfDaysToKeepDeviceNotHeard(){console.log("noOfDaysToKeepDeviceNotHeard : "+this.noOfDaysToKeepDeviceNotHeard),this.deviceNotHeardError="";let o=Number(this.noOfDaysToKeepDeviceNotHeard);console.log("inputValue : "+o),isNaN(o)?this.noOfDaysToKeepDeviceNotHeard!=="UNLIMITED"&&(this.deviceNotHeardError='Input can be either "UNLIMITED" or a positive integer.'):o>1e7?this.deviceNotHeardError="Maximum No. of Days To Keep Device Not Heard Allowed is 1 Crore":this.noOfDaysToKeepDeviceNotHeard.includes(".")?this.deviceNotHeardError="Please enter an integral value":o<7&&!isNaN(o)?this.deviceNotHeardError="Minimum value allowed is 7":this.deviceNotHeardError=""}toggleDeviceNotActive(){this.switchnoOfDaysToKeepUserDeviceNotActive?this.noOfDaysToKeepUserDeviceNotActive="60":this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED",this.myFunctionnoOfDaysToKeepUserDeviceNotActive()}myFunctionnoOfDaysToKeepUserDeviceNotActive(){console.log("noOfDaysToKeepUserDeviceNotActive : "+this.noOfDaysToKeepUserDeviceNotActive),this.deviceNotActiveError="";let o=Number(this.noOfDaysToKeepUserDeviceNotActive);console.log("inputValue : "+o),isNaN(o)?this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.deviceNotActiveError='Input can be either "UNLIMITED" or a positive integer.'):o>1e7?this.deviceNotActiveError="Maximum No. of Days To Keep Device Not Heard Allowed is 1 Crore":this.noOfDaysToKeepUserDeviceNotActive.includes(".")?this.deviceNotActiveError="Please enter an integral value":o<7&&!isNaN(o)?this.deviceNotActiveError="Minimum value allowed is 7":this.deviceNotActiveError=""}togglePasswordFields(){this.isPasswordEnabled||(this.agentPassword="",this.agentRePassword="",this.passwordsDoNotMatch=!1)}checkPasswordsMatch(){this.passwordsDoNotMatch=this.agentPassword!==this.agentRePassword}toggleDeletedFiles(){this.switchnoOfDaysToKeepDeletedFiles?(console.log("iffffffffffff"),this.noOfDaysToKeepDeletedFiles="90"):(console.log("elseeeeeee"),this.noOfDaysToKeepDeletedFiles="UNLIMITED"),this.myFunctionnoOfDaysToKeepDeletedFiles()}myFunctionnoOfDaysToKeepDeletedFiles(){console.log("noOfDaysToKeepDeletedFiles : "+this.noOfDaysToKeepDeletedFiles),this.deletedFilesError="";let o=Number(this.noOfDaysToKeepDeletedFiles);console.log("inputValue : "+o),isNaN(o)?this.noOfDaysToKeepDeletedFiles!=="UNLIMITED"&&(this.deletedFilesError='Input can be either "UNLIMITED" or a positive integer.'):this.noOfDaysToKeepDeletedFiles.includes(".")?this.deletedFilesError="Please enter an integral value":o<1&&!isNaN(o)?this.deletedFilesError="Minimum value allowed is 1":this.deletedFilesError=""}togglePreScan(){this.preScanCommandEnabled?this.continueOnPreScan=!0:this.continueOnPreScan=!1}checkPreScanCommand(){this.preScanError="",this.preScanCommand==""&&(this.preScanError="This value is required.")}togglePreBackup(){this.preBackupCommandEnabled?this.continueOnPreBkp=!0:this.continueOnPreBkp=!1}checkPreBackupCommand(){this.preBackupError="",this.preBackupCommand==""&&(this.preBackupError="This value is required.")}togglePostBackup(){this.postBackupCommandEnabled?this.continueOnPostBkp=!0:this.continueOnPostBkp=!1}checkPostBackupCommand(){this.postBackupError="",this.postBackupCommand==""&&(this.postBackupError="This value is required.")}addDefaultFolder(){var o=new RegExp("^.:"),m=new RegExp("[^/]([A-Za-z]:)"),e="{user.home}";if(this.defaultFoldersBackup.trim()!==""){if(this.defaultFoldersBackup.includes(e)||this.defaultFoldersBackup==="ALL")this.defaultUniversalFolders.push(this.defaultFoldersBackup);else{if(this.defaultFoldersBackup=this.defaultFoldersBackup.replace(/\/+$/,"").replace(/\\+$/,""),m.test(this.defaultFoldersBackup)){this.toastr.error("Invalid folder path. Drive letters must be at the beginning.","Error");return}o.test(this.defaultFoldersBackup)?(this.defaultFoldersBackup=this.defaultFoldersBackup.replace(/\//g,"\\"),this.defaultFoldersBackup=this.defaultFoldersBackup.concat("\\")):(this.defaultFoldersBackup=this.defaultFoldersBackup.replace(/\\/g,"/"),this.defaultFoldersBackup=this.defaultFoldersBackup.concat("/")),this.defaultFoldersBackup=this.defaultFoldersBackup.replace(/\\+([A-Za-z]:)/,"/$1"),this.defaultUniversalFolders.push(this.defaultFoldersBackup)}this.defaultFoldersBackup="",this.toastr.success("Selected Folder has been added successfully","Success")}else this.toastr.error("Please enter a valid folder path.","Error")}removeDefaultFolder(o){var m=this.defaultUniversalFolders.indexOf(o);m>-1&&(this.defaultUniversalFolders.splice(m,1),this.toastr.success("Selected Folder has been removed successfully.","Success"))}addExclusionFolder(){var o=new RegExp("^.:"),m=new RegExp("[^/]([A-Za-z]:)");if(this.exclusionFolderName.trim()!==""){if(this.exclusionFolderName=this.exclusionFolderName.replace(/\/+$/,"").replace(/\\+$/,""),m.test(this.exclusionFolderName)){this.toastr.error("Invalid folder path. Drive letters must be at the beginning.","Error");return}o.test(this.exclusionFolderName)?(this.exclusionFolderName=this.exclusionFolderName.replace(/\//g,"\\"),this.exclusionFolderName=this.exclusionFolderName.concat("\\")):(this.exclusionFolderName=this.exclusionFolderName.replace(/\\/g,"/"),!this.exclusionFolderName.endsWith("}")&&!this.exclusionFolderName.endsWith("/")&&(this.exclusionFolderName=this.exclusionFolderName.concat("/"))),this.exclusionFolderName=this.exclusionFolderName.replace(/\\+([A-Za-z]:)/,"/$1"),this.userExcludedFoldersUniversal.reverse(),this.userExcludedFoldersUniversal.push(this.exclusionFolderName),this.userExcludedFoldersUniversal.reverse(),this.exclusionFolderName="",this.toastr.success("Selected Folder has been added successfully","Success")}else this.toastr.error("Please enter a valid folder path.","Error")}removeExclusionFolder(o){var m=this.userExcludedFoldersUniversal.indexOf(o);m>-1&&(this.userExcludedFoldersUniversal.splice(m,1),this.toastr.success("Selected Folder has been removed successfully.","Success"))}addExceptionFolder(){var o=new RegExp("^.:"),m=new RegExp("[^/]([A-Za-z]:)");if(this.exceptionFolderName.trim()!==""){if(this.exceptionFolderName=this.exceptionFolderName.replace(/\/+$/,"").replace(/\\+$/,""),m.test(this.exceptionFolderName)){this.toastr.error("Invalid folder path. Drive letters must be at the beginning.","Error");return}o.test(this.exceptionFolderName)?(this.exceptionFolderName=this.exceptionFolderName.replace(/\//g,"\\"),this.exceptionFolderName=this.exceptionFolderName.concat("\\")):(this.exceptionFolderName=this.exceptionFolderName.replace(/\\/g,"/"),!this.exceptionFolderName.endsWith("}")&&!this.exceptionFolderName.endsWith("/")&&(this.exceptionFolderName=this.exceptionFolderName.concat("/"))),this.exceptionFolderName=this.exceptionFolderName.replace(/\\+([A-Za-z]:)/,"/$1"),this.userExceptionsFoldersUniversal.push(this.exceptionFolderName),this.exceptionFolderName="",this.toastr.success("Selected Folder has been added successfully","Success")}else this.toastr.error("Please enter a valid folder path.","Error")}removeExceptionFolder(o){var m=this.userExceptionsFoldersUniversal.indexOf(o);m>-1&&(this.userExceptionsFoldersUniversal.splice(m,1),this.toastr.success("Selected Folder has been removed successfully.","Success"))}addDefaultFolderSQL(){this.sqlBackupFolders!=""?(this.sqlBackupFoldersList.push(this.sqlBackupFolders),this.sqlBackupFoldersList.reverse(),this.sqlBackupFolders="",this.toastr.success("Selected Folder has been added successfully","Success")):this.toastr.error("Please enter a valid folder path.","Error")}removeDefaultFolderSQL(o){var m=this.sqlBackupFoldersList.indexOf(o);m>-1&&(this.sqlBackupFoldersList.splice(m,1),this.toastr.success("Selected Folder has been removed successfully.","Success"))}callApis(){let o=this.apiService.getAllSchedules(),m=this.apiService.getAllFilters(),e=this.apiService.getPgs(),l=this.apiService.cloudProperties(),s=this.apiService.getGlobalExclusion(),n=this.apiService.getPolicy(this.sharedService.getDataByKey("currentPolicyName")),v=this.apiService.getAllNoBackupSchedules();se([o,m,e,l,s,n,v]).subscribe(([F,W,G,P,R,J,re])=>{console.log("API 1 response status:",F.status),console.log("API 1 response body:",F.body.scheduleElementList),console.log("API 1 response headers:",F.headers),console.log("API 2 response body:",W.body.inclusionFilterElementList),console.log("API 2 response headers:",W.headers),console.log("API 3 response body:",G.body.privacyGatewayElementList),console.log("API 3 response headers:",G.headers),console.log("API 4 response body:",P.body),console.log("API 4 response headers:",P.headers),console.log("API 5 response body:",R.body),console.log("API 5 response headers:",R.headers),console.log("API 6 response body:",J.body.backupPolicyElement),console.log("API 6 response headers:",J.headers),console.log("API 7 response body:",re.body.noBkpScheduleElementList),console.log("API 7 response headers:",re.headers);let le=G.body.privacyGatewayElementList.map(j=>({gatewayName:j.gatewayName,status:!1}));console.log("Transformed Data:",le),this.schedules=F.body.scheduleElementList,this.noBackupSchedules=re.body.noBkpScheduleElementList,this.filters=W.body.inclusionFilterElementList.map(j=>U(A({},j),{status:!1})),console.log("filterssssssssss : "+JSON.stringify(this.filters)),this.searchfilters=W.body.inclusionFilterElementList.map(j=>U(A({},j),{status:!1})),this.pgs=le,console.log("API 5 response body:",JSON.stringify(R.body.globalExcludedFoldersElement.globalExcludedFoldersList.win));let ee=[...new Set([...R.body.globalExcludedFoldersElement.globalExcludedFoldersList.win,...R.body.globalExcludedFoldersElement.globalExcludedFoldersList.mac])];ee=[...new Set([...ee,...R.body.globalExcludedFoldersElement.globalExcludedFoldersList.linux])],console.log("CombinedExclusions :",JSON.stringify(ee)),this.userExcludedFoldersUniversal=ee.reverse(),this.noOfDevicesAllowedCloud=P.body.cloudPropertyElement.noOfDevicesAllowed,this.passwordChangeEnforce=P.body.cloudPropertyElement.passwordChangeEnforce,this.passwordChangeEnforce&&(this.canUserChangePassword=P.body.cloudPropertyElement.canUserChangePassword,this.canAdminChangeUserPassword=P.body.cloudPropertyElement.canAdminChangeUserPassword),this.searchEnabled=P.body.cloudPropertyElement.searchEnabled,this.overridePolicySettings=P.body.cloudPropertyElement.overridePolicySettings,this.overridePolicySettings&&(this.canAdminRestoreAll=P.body.cloudPropertyElement.canAdminRestoreAll,this.isAdminDeleteBackupFile=P.body.cloudPropertyElement.isAdminDeleteBackupFile),this.showUserConsentFieldInPolicies=P.body.cloudPropertyElement.showUserConsentFieldInPolicies,this.storageProvider=P.body.cloudPropertyElement.storageProvider,this.hostedSetup=P.body.cloudPropertyElement.hostedSetup,this.getPolicy(J.body.backupPolicyElement)},F=>{switch(console.error("Error from Api's call: ",F),F.status){case 400:console.error("Bad Request: ",F.message);break;case 401:console.error("Unauthorized: ",F.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",F.message);break;case 404:console.error("Not Found: ",F.message);break;case 500:console.error("Internal Server Error: ",F.message);break;case 503:console.error("Internal Server Error: ",F.message);break;default:console.error("Unknown Error: ",F.message);break}})}getSelectedValueSchedule(o,m){if(o)this.checkedListSchedule.push(m);else{var e=this.checkedListSchedule.indexOf(m);this.checkedListSchedule.splice(e,1)}console.log("this.checkedList1111 : "+this.checkedListSchedule),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.currentSelectedSchedule={checked:o,name:m},this.shareCheckedlistCreate(),this.shareIndividualStatusCreate()}shareCheckedlistCreate(){this.shareCheckedList.emit(this.checkedListSchedule)}shareIndividualStatusCreate(){this.shareIndividualCheckedList.emit(this.currentSelectedSchedule)}getSelectedValueNoBackupSchedule(o,m){if(o)this.checkedListNoBackupSchedule.push(m),console.log("this.checkedList1 : "+this.checkedListNoBackupSchedule);else{var e=this.checkedListNoBackupSchedule.indexOf(m);this.checkedListNoBackupSchedule.splice(e,1)}this.getMultipleNoBackupSchedules(this.checkedListNoBackupSchedule.toString()),this.currentSelectedNoBackupSchedule={checked:o,name:m},this.shareCheckedlistCreateNoBackup(),this.shareIndividualStatusCreateNoBackup()}shareCheckedlistCreateNoBackup(){this.shareCheckedListNoBackup.emit(this.checkedListNoBackupSchedule)}shareIndividualStatusCreateNoBackup(){this.shareIndividualCheckedListNoBackup.emit(this.currentSelectedNoBackupSchedule)}getMultipleSchedules(o){this.apiService.getMultipleSchedules(o).subscribe(m=>{var e=JSON.stringify(m.body),l=JSON.parse(e);console.log("scheduleElementList from  getMultipleSchedules: "+JSON.stringify(l.scheduleElementList)),this.defaultSchedules=l.scheduleElementList,this.cdr.detectChanges()},m=>{switch(console.error("Error from getMultipleSchedules: ",m),m.status){case 400:console.error("Bad Request: ",m.message);break;case 401:console.error("Unauthorized: ",m.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",m.message);break;case 404:console.error("Not Found: ",m.message);break;case 500:console.error("Internal Server Error: ",m.message);break;case 503:console.error("Internal Server Error: ",m.message);break;default:console.error("Unknown Error: ",m.message);break}})}getMultipleNoBackupSchedules(o){this.apiService.getMultipleNoBackupSchedules(o).subscribe(m=>{var e=JSON.stringify(m.body),l=JSON.parse(e);l.noBkpScheduleElementList?(console.log("scheduleElementList from  getMultipleNoBackupSchedules: "+JSON.stringify(l.noBkpScheduleElementList)),this.defaultNoBackupSchedules=l.noBkpScheduleElementList):(console.log("scheduleElementList from  getMultipleNoBackupSchedules:  empty"),this.defaultNoBackupSchedules=[]),this.cdr.detectChanges()},m=>{switch(console.error("Error from getMultipleNoBackupSchedules: ",m),m.status){case 400:console.error("Bad Request: ",m.message);break;case 401:console.error("Unauthorized: ",m.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",m.message);break;case 404:console.error("Not Found: ",m.message);break;case 500:console.error("Internal Server Error: ",m.message);break;case 503:console.error("Internal Server Error: ",m.message);break;default:console.error("Unknown Error: ",m.message);break}})}getSelectedValueFilter(o,m){if(o)this.checkedListFilter.push(m),console.log("this.checkedList1 : "+this.checkedListFilter);else{var e=this.checkedListFilter.indexOf(m);e>-1&&this.checkedListFilter.splice(e,1)}this.getMultipleFilters(this.checkedListFilter.toString()),this.currentSelectedFilter={checked:o,name:m},this.shareCheckedlistFilter(),this.shareIndividualStatusFilter()}shareCheckedlistFilter(){this.shareCheckedListFilter.emit(this.checkedListFilter)}shareIndividualStatusFilter(){this.shareIndividualCheckedListFilter.emit(this.currentSelectedFilter)}getMultipleFilters(o){this.apiService.getMultipleFilters(o).subscribe(m=>{var e=JSON.stringify(m.body),l=JSON.parse(e);console.log("inclusionFilterElementList from  getMultipleFilters: "+JSON.stringify(l.inclusionFilterElementList)),this.defaultFilters=l.inclusionFilterElementList,this.cdr.detectChanges()},m=>{switch(console.error("Error from getMultipleFilters: ",m),m.status){case 400:console.error("Bad Request: ",m.message);break;case 401:console.error("Unauthorized: ",m.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",m.message);break;case 404:console.error("Not Found: ",m.message);break;case 500:console.error("Internal Server Error: ",m.message);break;case 503:console.error("Internal Server Error: ",m.message);break;default:console.error("Unknown Error: ",m.message);break}})}getSelectedValueSearchFilter(o,m){if(o)this.checkedListSearchFilter.push(m),console.log("this.checkedList1Search : "+this.checkedListSearchFilter);else{var e=this.checkedListSearchFilter.indexOf(m);e>-1&&this.checkedListSearchFilter.splice(e,1)}this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()),this.currentSelectedSearchFilter={checked:o,name:m},this.shareCheckedlistSearchFilter(),this.shareIndividualStatusSearchFilter()}shareCheckedlistSearchFilter(){this.shareCheckedListSearchFilter.emit(this.checkedListSearchFilter)}shareIndividualStatusSearchFilter(){this.shareIndividualCheckedListSearchFilter.emit(this.currentSelectedSearchFilter)}getMultipleSearchFilters(o){this.apiService.getMultipleFilters(o).subscribe(m=>{var e=JSON.stringify(m.body),l=JSON.parse(e);console.log("inclusionFilterElementList from  getMultipleFilters: "+JSON.stringify(l.inclusionFilterElementList)),this.defaultSearchFilters=l.inclusionFilterElementList,this.cdr.detectChanges()},m=>{switch(console.error("Error from getMultipleFilters: ",m),m.status){case 400:console.error("Bad Request: ",m.message);break;case 401:console.error("Unauthorized: ",m.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",m.message);break;case 404:console.error("Not Found: ",m.message);break;case 500:console.error("Internal Server Error: ",m.message);break;case 503:console.error("Internal Server Error: ",m.message);break;default:console.error("Unknown Error: ",m.message);break}})}getSelectedValuePg(o,m){if(o)this.checkedListPg.push(m),console.log("this.checkedListPg : "+this.checkedListPg);else{var e=this.checkedListPg.indexOf(m);this.checkedListPg.splice(e,1),console.log("this.checkedListPg : "+this.checkedListPg)}this.currentSelectedPg={checked:o,name:m},this.shareCheckedlistCreatePg(),this.shareIndividualStatusCreatePg()}shareCheckedlistCreatePg(){this.shareCheckedListPg.emit(this.checkedListPg)}shareIndividualStatusCreatePg(){this.shareIndividualCheckedListPg.emit(this.currentSelectedSchedule)}onSearchAlgorithmChange(){this.searchAlgorithm==="NEAREST"&&(this.checkedListPg=[],this.pgs.forEach(o=>o.checked=!1))}validatePolicyGroupName(){return!!/^[a-zA-Z0-9@._-]*$/.test(this.policygroupName)}validateDescription(){return!this.description||this.description.length>=5&&this.description.length<=512}submitPolicy(){this.displayConfirmPolicySave="block"}closePolicySaveConfirmPopup(){this.displayConfirmPolicySave="none"}submitEditPolicy(o){this.displayConfirmPolicySave="none",this.verError="",this.limitError="",this.sizeError="",this.switchError="",this.deviceNotHeardError="",this.deviceNotActiveError="",this.preScanError="",this.preBackupError="",this.postBackupError="",this.policyRefreshError="",this.domainError="";let m=!1;if(!this.validatePolicyGroupName()||!this.validateDescription())return;if(this.checkedListSchedule.length<=0||this.checkedListFilter.length<=0){this.checkedListSchedule.length<=0&&this.toastr.error("Please select at least one schedule."),this.checkedListFilter.length<=0&&this.toastr.error("Please select at least one filter.");return}if(this.searchEnabled&&this.checkedListSearchFilter.length<=0){this.toastr.error("Please select at least one search filter.");return}if(this.searchAlgorithm=="PRIORITY"&&this.checkedListPg.length<=0){this.toastr.error("Please select at least one BluKrypt Hostname.");return}if((this.verError!=""||Number(this.versions)<1)&&(this.verError="Minimum number of Versions Allowed is 1",this.toastr.error("Please check the value for Maximum number of Versions Allowed."),m=!0),(this.limitError!=""||Number(this.perUserBackupStorageLimit)<1||isNaN(Number(this.perUserBackupStorageLimit))&&this.perUserBackupStorageLimit!=="UNLIMITED")&&(this.limitError='Input can be either "UNLIMITED" or a positive integer.',this.toastr.error("Please check the value for Per Asset Backup Storage Limit."),m=!0),(this.sizeError!=""||Number(this.maxPermissibleFileSize)<1||isNaN(Number(this.maxPermissibleFileSize))&&this.maxPermissibleFileSize!=="UNLIMITED")&&(this.sizeError='Input can be either "UNLIMITED" or a positive integer.',this.toastr.error("Please check the value for Maximum Permissible File Size."),m=!0),this.deviceAllowedError!=""){this.toastr.error("Please check the value for Maximum Assets Allowed.");return}if(this.switchError!=""&&(this.toastr.error("Please check the value for Throttle traffic at endpoint agent."),m=!0),this.defaultUniversalFolders.length==0){this.toastr.error("Please add at-least one default folders to backup up");return}if((this.deviceNotHeardError!=""||Number(this.noOfDaysToKeepDeviceNotHeard)<7)&&(this.toastr.error("Please check the value for Block assets which have not been heard from in."),this.deviceNotHeardError="Minimum value allowed is 7",m=!0),isNaN(Number(this.noOfDaysToKeepDeviceNotHeard))&&this.noOfDaysToKeepDeviceNotHeard!=="UNLIMITED"&&(this.toastr.error("Please check the value for Block assets which have not been heard from in."),this.deviceNotHeardError="Input can be either 'UNLIMITED' or any integer",m=!0),(this.deviceNotActiveError!=""||Number(this.noOfDaysToKeepUserDeviceNotActive)<7)&&(this.toastr.error("Please check the value for Delete users/assets which have not been active for."),this.deviceNotActiveError="Minimum value allowed is 7",m=!0),isNaN(Number(this.noOfDaysToKeepUserDeviceNotActive))&&this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.toastr.error("Please check the value for Delete users/assets which have not been active for."),this.deviceNotActiveError="Input can be either 'UNLIMITED' or any integer",m=!0),(this.policyRefresh===null||this.policyRefresh==="")&&(this.toastr.error("Please check the value for Policy Refresh Frequency."),this.policyRefreshError="This value is required",m=!0),(Number(this.policyRefresh)<=0||Number(this.policyRefresh)>23)&&(this.toastr.error("Please check the value for Policy Refresh Frequency."),this.policyRefreshError="This allowed range is 1 to 23",m=!0),this.switchAllowedDomains&&(this.allowedDomains==null||this.allowedDomains.trim()==="")&&(this.toastr.error("Please check the value for Allowed Domains."),this.domainError="This value is required",m=!0),this.canUserChangePassword===!1&&this.canAdminChangeUserPassword===!1){this.toastr.error("Please check password enforcement.");return}this.preScanCommandEnabled&&this.preScanCommand==""&&(this.toastr.error("Please check Pre Scan Command Path."),this.preScanError="This value is required",m=!0),this.preBackupCommandEnabled&&this.preBackupCommand==""&&(this.toastr.error("Please check Pre Backup Command Path."),this.preBackupError="This value is required",m=!0),this.postBackupCommandEnabled&&this.postBackupCommand==""&&(this.toastr.error("Please check Post Backup Command Path."),this.postBackupError="This value is required",m=!0),(this.deletedFilesError!=""||Number(this.noOfDaysToKeepDeletedFiles)<1)&&(this.toastr.error("Please check the value for Purge deleted files from the catalog after."),this.deletedFilesError="Minimum value allowed is 1",m=!0),isNaN(Number(this.noOfDaysToKeepDeletedFiles))&&this.noOfDaysToKeepDeletedFiles!=="UNLIMITED"&&(this.toastr.error("Please check the value for Purge deleted files from the catalog after."),this.deletedFilesError="Input can be either 'UNLIMITED' or any integer",m=!0),this.inclusionLicenses.includes("issqlbkpenabled")&&this.sqlBackupFoldersList.length>0&&(this.serverUserNameToSave==""||this.serverPasswordToSave=="")&&(this.displayConfigSQLStyle="block",this.toastr.error("Please configure the SQL Server.","Error"),m=!0);let e=document.querySelector(".ng-invalid, .text-danger");e&&(e.scrollIntoView({behavior:"smooth",block:"center"}),e.focus());let l=Array.from(document.querySelectorAll('span[style*="color: #f55753"]'));for(let s of l)if(s.textContent?.trim()){s.scrollIntoView({behavior:"smooth",block:"center"});break}if(!m){if(o.invalid){o.control.markAllAsTouched(),this.toastr.error("Please fill in all required fields.");return}this.updateOutput(),this.updatePreferences(),this.updateMenuOptions(),this.policyModel.policygroupName=this.policyNameToEdit,this.policyModel.description=this.description,this.policyModel.maxVersions=this.versions==="UNLIMITED"?"-1":this.versions,this.policyModel.maxFileSize=this.maxPermissibleFileSize==="UNLIMITED"?"1048576":this.maxPermissibleFileSize,this.policyModel.userSizeAllowed=this.perUserBackupStorageLimit==="UNLIMITED"?"102400":this.perUserBackupStorageLimit,this.policyModel.noOfDevicesAllowed=this.noOfDevicesAllowed.toString(),this.policyModel.osType="universal",this.policyModel.backupFolderPaths=this.defaultUniversalFolders,this.policyModel.sqlBackupFolders=this.sqlBackupFoldersList,this.policyModel.excludedFolderpaths=this.userExcludedFoldersUniversal,this.policyModel.exceptionsToExclusions=this.userExceptionsFoldersUniversal,this.policyModel.memoryUtilization=this.memoryUtilization.toString(),this.policyModel.cpuUtilization=this.cpuUtilization.toString(),this.policyModel.dcmEnabled=this.dcmEnabled,this.policyModel.clientDedup=this.clientDedup.toString(),this.policyModel.dedup=this.dedup,this.policyModel.maxFileSizeForBkpBatch=this.maxFileSizeForBkpBatch,this.policyModel.filterType=this.inclusionFilter?"inclusion":"exclusion",this.policyModel.searchFilterType=this.inclusionSearchFilter?"inclusion":"exclusion",this.policyModel.applyFilterToExceptionsToExclusion=this.applyFilterToExceptionsToExclusion?"true":"false",this.policyModel.backupFilesWithoutExtension=this.backupFilesWithoutExtension,this.policyModel.emailsRestriction=this.output,this.policyModel.endpointUiPreferences=this.endpointUiPreferences,this.policyModel.endpointDisabledUiPreferences=this.endpointDisabledUiPreferences,this.policyModel.menuOptions=this.menuOptions,this.policyModel.cpuThrottling=this.cpuThrottling.toString(),this.policyModel.legalHoldEnabled=this.legalHold?"true":"false",this.policyModel.rwDetectionEnabled=this.rwDetectionEnabled?"true":"false",this.policyModel.noOfDaysToKeepDeviceNotHeard=this.noOfDaysToKeepDeviceNotHeard==="UNLIMITED"?"-1":this.noOfDaysToKeepDeviceNotHeard.toString(),this.policyModel.noOfDaysToKeepUserDeviceNotActive=this.noOfDaysToKeepUserDeviceNotActive==="UNLIMITED"?"-1":this.noOfDaysToKeepUserDeviceNotActive,this.policyModel.webBasedLogin=this.webBasedLogin.toString(),this.policyModel.compressionEnabled=this.compEnabled.toString(),this.policyModel.vssEnabled=this.vssEnabled.toString(),this.policyModel.searchAlgoForPg=this.searchAlgorithm,this.policyModel.privacyGatewayMappingElement=this.getprivacyElement(),this.policyModel.policyRefresh=this.policyRefresh+":00",this.policyModel.logUnaccessedFiles=this.switchlogUnaccessedFiles?"true":"false",this.policyModel.endpointDomainCheck=this.switchAllowedDomains?"true":"false",this.policyModel.allowedDomains=this.allowedDomains,this.policyModel.switchAgentPassword=this.isPasswordEnabled?"true":"false",this.policyModel.agentPassword=this.agentPassword,this.policyModel.canBackupHiddenFiles=this.canBackupHiddenFiles,this.policyModel.downloadAgent=this.downloadAgent.toString(),this.policyModel.noOfDaysToKeepDeletedFiles=this.noOfDaysToKeepDeletedFiles==="UNLIMITED"?"-1":this.noOfDaysToKeepDeletedFiles.toString(),this.policyModel.userConsentDisplayText=this.userConsentDisplayText,this.policyModel.userConsentEnabled=this.switchuserConsentEnabled,this.policyModel.preScanCommand=this.preScanCommand,this.policyModel.preBackupCommand=this.preBackupCommand,this.policyModel.postBackupCommand=this.postBackupCommand,this.policyModel.continueOnPreScan=this.continueOnPreScan==!0?"true":"false",this.policyModel.continueOnPreBkp=this.continueOnPreBkp==!0?"true":"false",this.policyModel.continueOnPostBkp=this.continueOnPostBkp==!0?"true":"false",this.policyModel.preScanCommandEnabled=this.preScanCommandEnabled==!0?"true":"false",this.policyModel.preBackupCommandEnabled=this.preBackupCommandEnabled==!0?"true":"false",this.policyModel.postBackupCommandEnabled=this.postBackupCommandEnabled==!0?"true":"false",this.policyModel.canUserChangePassword=this.canUserChangePassword,this.policyModel.canAdminChangeUserPassword=this.canAdminChangeUserPassword,this.policyModel.canDelegatedAdminChangeUserPassword="true",this.policyModel.filterInclusionName=this.checkedListFilter,this.policyModel.scheduleNames=this.checkedListSchedule,this.policyModel.noBkpScheduleNames=this.checkedListNoBackupSchedule.length>0?this.checkedListNoBackupSchedule:[],this.policyModel.searchFilterInclusionName=this.checkedListSearchFilter>0?this.checkedListSearchFilter:["all_files"],this.policyModel.backupFolderPaths=this.defaultUniversalFolders,this.policyModel.excludedFolderpaths=this.userExcludedFoldersUniversal,this.policyModel.exceptionsToExclusions=this.userExceptionsFoldersUniversal,this.policyModel.autoUpdateAgent=this.autoUpdateAgent,this.policyModel.canAdminRestore=this.canAdminRestoreAll?"true":"false",this.policyModel.allowEndUserTocontrolRestore=this.allowEndUserTocontrolRestore?"true":"false",this.policyModel.canAdminDelete=this.isAdminDeleteBackupFile?"true":"false",this.policyModel.nwFromClientToPGMB=parseFloat(this.nwFromClientToPGMB),this.policyModel.contentIndexEnabled=this.contentIndexEnabled,this.onUnitChange(),this.policyModel.serverUserName=this.serverUserNameToSave?btoa(this.serverUserNameToSave):"",this.policyModel.serverPassword=this.serverPasswordToSave?btoa(this.serverPasswordToSave):"",console.log("Policy Details : "+JSON.stringify(this.policyModel)),this.apiService.editPolicy(this.policyModel).subscribe(s=>{console.log("Policy edited successfully:",s),this.toastr.success("Policy edited successfully.","Info"),setTimeout(()=>{this.router.navigate(["/pms/policy"])},5e3)},s=>{switch(s.status){case 400:console.error("Bad Request: ",s.message);break;case 401:console.error("Unauthorized: ",s.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error("Policy with same name already exists .","Error");break;case 331:this.toastr.error("Policy with same name already exists and is blocked.","Error");break;case 421:this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 500:console.error("Internal Server Error: ",s.message);break;case 503:console.error("Internal Server Error: ",s.message);break;default:console.error("Unknown Error: ",s.message);break}})}}onUnitChange(){this.validateInput();let o=Number(this.nwFromClientToPGMB);if(console.log("nwvalue : "+this.nwFromClientToPGMB),this.nwFromClientToPGMB=="UNLIMITED")this.policyModel.nwFromClientToPG=1e4,this.policyModel.nwFromClientToPGMB=1e4;else switch(this.networkThrottlingUnit){case"kbps":this.policyModel.nwFromClientToPG=parseFloat((o/1024).toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat((o/1024).toFixed(4));break;case"mbps":this.policyModel.nwFromClientToPG=parseFloat(o.toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat(o.toFixed(4)),console.log("123 : "+parseFloat(o.toFixed(4)));break;case"gbps":this.policyModel.nwFromClientToPG=parseFloat((o*1024).toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat((o*1024).toFixed(4));break;default:break}}getPolicy(o){this.policygroupName=o.policygroupName,this.description=o.description,this.checkedListSchedule=o.scheduleNames,this.checkedListNoBackupSchedule=o.noBkpScheduleNames?o.noBkpScheduleNames:[],this.schedules=this.schedules.map(l=>U(A({},l),{checked:this.checkedListSchedule.includes(l.scheduleName)})),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.getMultipleNoBackupSchedules(this.checkedListNoBackupSchedule.toString()),this.versions=o.maxVersions,o.maxVersions=="-1"?(this.isVersionEnabled=!1,this.versions="UNLIMITED"):this.isVersionEnabled=!0,this.maxPermissibleFileSize=o.maxFileSize,o.maxFileSize=="1048576"||o.maxFileSize=="-1"?(this.isSizeEnabled=!1,this.maxPermissibleFileSize="UNLIMITED"):this.isSizeEnabled=!0,this.perUserBackupStorageLimit=o.userSizeAllowed,o.userSizeAllowed=="102400"?(this.isLimitEnabled=!1,this.perUserBackupStorageLimit="UNLIMITED"):this.isLimitEnabled=!0,this.noOfDevicesAllowed=o.noOfDevicesAllowed,this.defaultUniversalFolders=o.backupFolderPaths,this.userExcludedFoldersUniversal=o.excludedFolderpaths,this.userExceptionsFoldersUniversal=o.exceptionsToExclusions?o.exceptionsToExclusions:[],this.sqlBackupFoldersList=o.sqlBackupFolders?o.sqlBackupFolders:[],this.serverUserNameToSave=o.serverUserName,this.serverPasswordToSave=o.serverPassword,this.serverUserName=o.serverUserName?atob(o.serverUserName):"",this.serverPassword=o.serverPassword?atob(o.serverPassword):"",this.serverRePassword=o.serverPassword?atob(o.serverPassword):"",this.memoryUtilization=o.memoryUtilization,this.cpuUtilization=o.cpuUtilization,this.dcmEnabled=o.dcmEnabled,this.clientDedup=o.clientDedup,this.inclusionFilter=o.filterType=="inclusion",this.checkedListFilter=o.filterInclusionName,this.filters=this.filters.map(l=>U(A({},l),{checked:this.checkedListFilter.includes(l.filterName)})),this.getMultipleFilters(this.checkedListFilter.toString()),this.inclusionSearchFilter=o.searchFilterType=="inclusion",this.checkedListSearchFilter=o.searchFilterInclusionName,this.filters=this.filters.map(l=>U(A({},l),{checked:this.checkedListSearchFilter.includes(l.filterName)})),this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()),this.applyFilterToExceptionsToExclusion=o.applyFilterToExceptionsToExclusion,this.backupFilesWithoutExtension=o.backupFilesWithoutExtension,this.nwFromClientToPGMB=o.nwFromClientToPGMB;let m=Math.round(o.nwFromClientToPGMB*1e4)/1e4,e="mbps";m<1?(m=Math.round(m*1024),e="kbps"):m>1024&&m===1e4?(m=-1,e="mbps"):m>1024?(m=Math.round(m/1024),e="gbps"):m=Math.round(m),m==-1?(this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps",this.isThrottleEnabled=!1):(this.nwFromClientToPGMB=m.toString(),this.networkThrottlingUnit=e,this.isThrottleEnabled=!0),this.contentIndexEnabled=o.contentIndexEnabled,this.cpuThrottling=o.cpuThrottling,this.legalHold=o.legalHoldEnabled,this.rwDetectionEnabled=o.rwDetectionEnabled,o.noOfDaysToKeepDeviceNotHeard==-1?this.noOfDaysToKeepDeviceNotHeard="UNLIMITED":this.noOfDaysToKeepDeviceNotHeard=o.noOfDaysToKeepDeviceNotHeard,o.noOfDaysToKeepUserDeviceNotActive==-1||o.noOfDaysToKeepUserDeviceNotActive==0?(this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED",this.switchnoOfDaysToKeepUserDeviceNotActive=!1):(this.noOfDaysToKeepUserDeviceNotActive=o.noOfDaysToKeepUserDeviceNotActive,this.switchnoOfDaysToKeepUserDeviceNotActive=!0),this.numberOfThreadsAllowedForBackup=o.numberOfThreadsAllowedForBackup,this.webBasedLogin=o.webBasedLogin,this.compEnabled=o.compressionEnabled,this.vssEnabled=o.vssEnabled,this.policyRefresh=o.policyRefresh.split(":")[0],this.switchlogUnaccessedFiles=o.logUnaccessedFiles,this.switchAllowedDomains=o.endpointDomainCheck,this.allowedDomains=o.allowedDomains,this.autoUpdateAgent=o.autoUpdateAgent,this.isPasswordEnabled=o.switchAgentPassword,this.agentPassword=o.agentPassword,this.agentRePassword=o.agentPassword,this.canBackupHiddenFiles=o.canBackupHiddenFiles,this.downloadAgent=o.downloadAgent,o.noOfDaysToKeepDeletedFiles==-1?(this.switchnoOfDaysToKeepDeletedFiles=!1,this.noOfDaysToKeepDeletedFiles="UNLIMITED"):(this.switchnoOfDaysToKeepDeletedFiles=!0,this.noOfDaysToKeepDeletedFiles=o.noOfDaysToKeepDeletedFiles),this.switchuserConsentEnabled=o.userConsentEnabled,o.userConsentEnabled&&(this.userConsentDisplayText=o.userConsentDisplayText),this.preScanCommand=o.preScanCommand,this.preBackupCommand=o.preBackupCommand,this.postBackupCommand=o.postBackupCommand,this.continueOnPreScan=o.continueOnPreScan,this.continueOnPreBkp=o.continueOnPreBkp,this.continueOnPostBkp=o.continueOnPostBkp,this.preScanCommandEnabled=o.preScanCommandEnabled,this.preBackupCommandEnabled=o.preBackupCommandEnabled,this.postBackupCommandEnabled=o.postBackupCommandEnabled,this.passwordChangeEnforce||(this.canUserChangePassword=o.canUserChangePassword,this.canAdminChangeUserPassword=o.canAdminChangeUserPassword),this.canAdminRestoreAll=o.canAdminRestore,this.allowEndUserTocontrolRestore=o.allowEndUserTocontrolRestore,this.isAdminDeleteBackupFile=o.canAdminDelete,this.searchAlgorithm=o.searchAlgoForPg,this.checkedListPg=o.privacyGatewayMappingElement.privacyGatewayNames,this.pgs=this.pgs.map(l=>U(A({},l),{checked:this.checkedListPg.includes(l.gatewayName)})),console.log("policyElement.privacyGatewayMappingElement.privacyGatewayNames : "+o.privacyGatewayMappingElement.privacyGatewayNames),this.endpointUiPreferencesEdit=o.endpointUiPreferences,this.endpointDisabledUiPreferencesEdit=o.endpointDisabledUiPreferences,this.updatePreferencesEdit(),this.menuOptionsEdit=o.menuOptions,this.createUserAdmins=o.emailsRestriction.createUser.includes("admins")?"admins":"",this.createUserReadonlyadmins=o.emailsRestriction.createUser.includes("readonlyadmins")?"readonlyadmins":"",this.createUserUsers=o.emailsRestriction.createUser.includes("users")?"users":"",this.userDeletedAdmins=o.emailsRestriction.userDeleted.includes("admins")?"admins":"",this.userDeletedReadonlyadmins=o.emailsRestriction.userDeleted.includes("readonlyadmins")?"readonlyadmins":"",this.userDeletedUsers=o.emailsRestriction.userDeleted.includes("users")?"users":"",this.userBlockedAdmins=o.emailsRestriction.userBlocked.includes("admins")?"admins":"",this.userBlockedReadonlyadmins=o.emailsRestriction.userBlocked.includes("readonlyadmins")?"readonlyadmins":"",this.userBlockedUsers=o.emailsRestriction.userBlocked.includes("users")?"users":"",this.userLimitReachedAdmins=o.emailsRestriction.userLimitReached.includes("admins")?"admins":"",this.userLimitReachedReadonlyadmins=o.emailsRestriction.userLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.userLimitReachedUsers=o.emailsRestriction.userLimitReached.includes("users")?"users":"",this.deviceDeletedAdmins=o.emailsRestriction.deviceDeleted.includes("admins")?"admins":"",this.deviceDeletedReadonlyadmins=o.emailsRestriction.deviceDeleted.includes("readonlyadmins")?"readonlyadmins":"",this.deviceDeletedUsers=o.emailsRestriction.deviceDeleted.includes("users")?"users":"",this.deviceBlockedAdmins=o.emailsRestriction.deviceBlocked.includes("admins")?"admins":"",this.deviceBlockedReadonlyadmins=o.emailsRestriction.deviceBlocked.includes("readonlyadmins")?"readonlyadmins":"",this.deviceBlockedUsers=o.emailsRestriction.deviceBlocked.includes("users")?"users":"",this.deviceDecoupledAdmins=o.emailsRestriction.deviceDecoupled.includes("admins")?"admins":"",this.deviceDecoupledReadonlyadmins=o.emailsRestriction.deviceDecoupled.includes("readonlyadmins")?"readonlyadmins":"",this.deviceDecoupledUsers=o.emailsRestriction.deviceDecoupled.includes("users")?"users":"",this.deviceLimitReachedAdmins=o.emailsRestriction.deviceLimitReached.includes("admins")?"admins":"",this.deviceLimitReachedReadonlyadmins=o.emailsRestriction.deviceLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.deviceLimitReachedUsers=o.emailsRestriction.deviceLimitReached.includes("users")?"users":"",this.weeklyBkpreportAdmins=o.emailsRestriction.weeklyBkpreport.includes("admins")?"admins":"",this.weeklyBkpreportReadonlyadmins=o.emailsRestriction.weeklyBkpreport.includes("readonlyadmins")?"readonlyadmins":"",this.weeklyBkpreportUsers=o.emailsRestriction.weeklyBkpreport.includes("users")?"users":"",this.firstBkpCompletedAdmins=o.emailsRestriction.firstBkpCompleted.includes("admins")?"admins":"",this.firstBkpCompletedReadonlyadmins=o.emailsRestriction.firstBkpCompleted.includes("readonlyadmins")?"readonlyadmins":"",this.firstBkpCompletedUsers=o.emailsRestriction.firstBkpCompleted.includes("users")?"users":"",this.restoreInitiatedAdmins=o.emailsRestriction.restoreInitiated.includes("admins")?"admins":"",this.restoreInitiatedReadonlyadmins=o.emailsRestriction.restoreInitiated.includes("readonlyadmins")?"readonlyadmins":"",this.restoreInitiatedUsers=o.emailsRestriction.restoreInitiated.includes("users")?"users":"",this.restoreCompletedAdmins=o.emailsRestriction.restoreCompleted.includes("admins")?"admins":"",this.restoreCompletedReadonlyadmins=o.emailsRestriction.restoreCompleted.includes("readonlyadmins")?"readonlyadmins":"",this.restoreCompletedUsers=o.emailsRestriction.restoreCompleted.includes("users")?"users":"",this.storageLimitReachedAdmins=o.emailsRestriction.storageLimitReached.includes("admins")?"admins":"",this.storageLimitReachedReadonlyadmins=o.emailsRestriction.storageLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.storageLimitReachedUsers=o.emailsRestriction.storageLimitReached.includes("users")?"users":"",o?.pack&&o.pack.length>0&&(console.log("userPacks : "+JSON.stringify(this.userPacks)),console.log("serverPacks : "+JSON.stringify(this.serverPacks)),o.pack.forEach((l,s)=>{if(l.subscriptionActive){console.log(`PPPPP : ${s}`),this.skuCode=l.skuCode,this.skuName=l.skuName,this.packModel=l.skuCode.startsWith("FR")?"FREMIUM":"PREMIUM",console.log(`PACKCODE : ${l.skuCode}`),this.totalStorage=Number(l.storageSize),this.totalUser=Number(l.minUserCount),this.storageSize=l.storageSize.toString(),this.minUserCount=l.minUserCount.toString(),this.customerId=l.customerId,this.referenceNumber=l.referenceNumber,this.subscriptionStartDate=l.subscriptionStartDate,l.addons&&l.addons.length>0&&(this.addons=l.addons),l.addons&&l.addons.length>0&&l.addons.forEach(v=>{v.subscriptionActive&&!v.skuCode.startsWith("ADSER")&&(console.log("skucodeddddd : "+v.skuCode),this.userPacks.push({skuCode:v.skuCode,skuName:v.skuName,minUserCount:Number(v.minUserCount)||0,storageSize:Number(v.storageSize)||0,subscriptionStartDate:v.subscriptionStartDate}),this.totalUser=(Number(this.totalUser)||0)+Number(v.minUserCount),this.totalStorage=(Number(this.totalStorage)||0)+Number(v.storageSize))});let n=0;l.addons&&l.addons.length>0&&l.addons.forEach(v=>{v.skuCode.startsWith("ADSER")&&v.subscriptionActive&&(console.log("skucodeddddd : "+v.skuCode),this.serverPacks.push({skuCode:v.skuCode,skuName:v.skuName,minUserCount:Number(v.minUserCount)||0,storageSize:Number(v.storageSize)||0,subscriptionStartDate:v.subscriptionStartDate}),this.totalServer=(Number(this.totalServer)||0)+Number(v.minUserCount),this.totalStorage=(Number(this.totalStorage)||0)+Number(v.storageSize))}),console.log(`TOTALSTORAGE : ${this.totalStorage}`),console.log(`TOTALUSERXXXXXXXXXXXX : ${this.totalUser}`)}}))}updatePreferencesEdit(){this.endpointUiPreferencesEdit.forEach(o=>{this.preferencesEdit[o]=!0}),this.endpointDisabledUiPreferencesEdit.forEach(o=>{this.preferencesEdit[o]=!1})}newFilterEdit(o){console.log("filterName : "+o)}onScheduleChange(){let o=this.el.nativeElement.querySelector(".mainSchedules"),m=o.querySelector("mat-select");m.classList.remove("redAlert"),o.classList.remove("redAlert"),this.checkedListSchedule.length>0?this.getMultipleSchedules(this.checkedListSchedule.toString()):(this.defaultSchedules=[],m&&(m.classList.add("redAlert"),o.classList.add("redAlert")),this.toastr.error("No schedules selected. Please select at least one schedule.","Info"))}onNoBackupScheduleChange(){this.checkedListNoBackupSchedule.length>0?this.getMultipleNoBackupSchedules(this.checkedListNoBackupSchedule.toString()):(this.defaultNoBackupSchedules=[],this.toastr.info("No schedules selected. Please select at least one filter.","Info"))}onFilterChange(){let o=this.el.nativeElement.querySelector(".mainFilters"),m=o.querySelector("mat-select");m.classList.remove("redAlert"),o.classList.remove("redAlert"),this.checkedListFilter.length>0?this.getMultipleFilters(this.checkedListFilter.toString()):(this.defaultFilters=[],m&&(m.classList.add("redAlert"),o.classList.add("redAlert")),this.toastr.error("No filters selected. Please select at least one filter.","Info"))}onSearchFilterChange(){let o=this.el.nativeElement.querySelector(".mainSearchFilters"),m=o.querySelector("mat-select");m.classList.remove("redAlert"),o.classList.remove("redAlert"),this.checkedListSearchFilter.length>0?this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()):(this.defaultSearchFilters=[],m&&(m.classList.add("redAlert"),o.classList.add("redAlert")),this.toastr.error("No filters selected. Please select at least one filter.","Info"))}addNewSchedule(){this.displaySchCreateStyle="block"}closeSchCreateModal(){this.displaySchCreateStyle="none",this.scheduleDaysList=[],this.myTime=new Date,this.showDaily=!0,this.resetScheduleModel()}resetScheduleModel(){this.el.nativeElement.querySelector(".scheduleName").classList.remove("redAlert");let m=this.el.nativeElement.querySelector(".backupdays"),e=m.querySelector("mat-select");e&&(e.classList.remove("redAlert"),m.classList.remove("redAlert")),this.scheduleModel={scheduleName:"",time:"",timeZone:Y.default.tz.guess(),backupType:"INCR",dayArray:[]}}onScheduleDayChange(){this.updateShowDailyLabel()}updateShowDailyLabel(){this.showDaily=this.scheduleDaysList.length===0}toggleSelectAllDays(){this.showDaily?this.scheduleDaysList=[...this.allDays]:this.scheduleDaysList=[],this.updateShowDailyLabel()}validateRequiredFieldsSchedule(){let o=!0,m=this.el.nativeElement.querySelector(".scheduleName");m&&(m.value.trim()?m.classList.remove("redAlert"):(m.classList.add("redAlert"),o=!1));let e=this.el.nativeElement.querySelector(".backupdays"),l=e.querySelector("mat-select");return l&&(this.scheduleDaysList.length<=0?(l.classList.add("redAlert"),e.classList.add("redAlert"),o=!1):(l.classList.remove("redAlert"),e.classList.remove("redAlert"))),o}validateTime(){(!this.myTime||!(this.myTime instanceof Date))&&(this.myTime=new Date);let o=this.myTime.getHours(),m=this.myTime.getMinutes();o>23&&this.myTime.setHours(23),m>59&&this.myTime.setMinutes(59)}submitCreateSchedule(o){if(!this.validateRequiredFieldsSchedule()){this.toastr.error("Please fill all required fields.","Error");return}if(console.log("save called11 : "),o.invalid){o.control.markAllAsTouched(),this.toastr.error("Please check all fields.");return}if(this.scheduleModel.scheduleName==""){this.toastr.error("Please enter Schedule Name.");return}if(this.scheduleDaysList.length<=0){this.scheduleDaysList.length<=0&&this.toastr.error("Please select at least one day for the schedule.");return}console.log("save called22 : ");let e=this.myTime.getHours().toString().padStart(2,"0"),l=this.myTime.getMinutes().toString().padStart(2,"0");this.scheduleModel.time=`${e}:${l}`,this.scheduleModel.dayArray=this.scheduleDaysList,this.apiService.saveSchedule(this.scheduleModel).subscribe(s=>{console.log("Schedule created successfully:",s),this.toastr.success("Schedule created successfully.","Info"),this.checkedListSchedule.push(this.scheduleModel.scheduleName),this.getAllSchedules(),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.closeSchCreateModal()},s=>{switch(s.status){case 400:console.error("Bad Request: ",s.message);break;case 401:console.error("Unauthorized: ",s.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error("Schedule with same name already exists .","Error");break;case 421:this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 500:console.error("Internal Server Error: ",s.message);break;case 503:console.error("Internal Server Error: ",s.message);break;default:console.error("Unknown Error: ",s.message);break}})}getAllSchedules(){this.apiService.getAllSchedules().subscribe(o=>{this.schedules=o.body.scheduleElementList,this.cdr.detectChanges()},o=>{switch(console.error("Error from getAllSchedules: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}closeScheduleConfPopup(){this.displayScheduleConfStyle="none"}closeEditModal(){this.displaySchEditStyle="none"}editSchedule(o){console.log("schedule to edit : "+o),this.scheduleNameToEdit=o,this.displayScheduleConfStyle="block"}getParticularSchedule(){this.displayScheduleConfStyle="none",this.apiService.getParticularSchedule(this.scheduleNameToEdit).subscribe(o=>{var m=JSON.stringify(o.body),e=JSON.parse(m);this.scheduleElement=e.scheduleElement,this.displaySchEditStyle="block";let l=this.scheduleElement.time,[s,n]=l.split(":").map(Number);this.myTime=new Date,this.myTime.setHours(s),this.myTime.setMinutes(n),this.scheduleDaysListEdit=this.scheduleElement.dayArray.map(v=>v.toString()),this.cdr.detectChanges()},o=>{switch(console.error("Error from getParticularSchedule: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}onScheduleDayChangeEdit(){this.updateShowDailyLabelEdit()}updateShowDailyLabelEdit(){this.showDailyEdit=this.scheduleDaysListEdit.length===0}toggleSelectAllDaysEdit(){this.showDailyEdit?this.scheduleDaysListEdit=[...this.allDays]:this.scheduleDaysListEdit=[],this.updateShowDailyLabelEdit()}validateRequiredFieldsScheduleEdit(){let o=!0,m=this.el.nativeElement.querySelector(".scheduleNameEdit");m&&(m.value.trim()?m.classList.remove("redAlert"):(m.classList.add("redAlert"),o=!1));let e=this.el.nativeElement.querySelector(".backupdaysEdit"),l=e.querySelector("mat-select");return l&&(this.scheduleDaysListEdit.length<=0?(l.classList.add("redAlert"),e.classList.add("redAlert"),o=!1):(l.classList.remove("redAlert"),e.classList.remove("redAlert"))),o}submitEditSchedule(o){if(!this.validateRequiredFieldsScheduleEdit()){this.toastr.error("Please fill all required fields.","Error");return}if(this.scheduleDaysListEdit.length<=0){this.scheduleDaysListEdit.length<=0&&this.toastr.error("Please select at least one day for the schedule.");return}let e=this.myTime.getHours().toString().padStart(2,"0"),l=this.myTime.getMinutes().toString().padStart(2,"0");this.scheduleEditModel.time=`${e}:${l}`,this.scheduleEditModel.scheduleName=this.scheduleNameToEdit,this.scheduleEditModel.dayArray=this.scheduleDaysListEdit,this.apiService.editSchedule(this.scheduleEditModel).subscribe(s=>{console.log("Schedule updated successfully:",s),this.closeEditModal(),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.toastr.success("Schedule updated successfully.","Info")},s=>{switch(s.status){case 400:console.error("Bad Request: ",s.message);break;case 401:console.error("Unauthorized: ",s.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error("Schedule with same name already exists .","Error");break;case 421:this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 500:console.error("Internal Server Error: ",s.message);break;case 503:console.error("Internal Server Error: ",s.message);break;default:console.error("Unknown Error: ",s.message);break}})}addNewNoBackupSchedule(){this.displayNoBackupCreateStyle="block"}closeNoBackupSchCreateModal(){this.displayNoBackupCreateStyle="none",this.nobackupscheduleDaysList=[],this.nobackupmyTime=new Date,this.nobackupshowDaily=!0,this.resetNoBackupScheduleModel()}resetNoBackupScheduleModel(){this.el.nativeElement.querySelector(".scheduleNameNoBackup").classList.remove("redAlert");let m=this.el.nativeElement.querySelector(".nobackupdays"),e=m.querySelector("mat-select");e&&(e.classList.remove("redAlert"),m.classList.remove("redAlert")),this.nobackupscheduleModel={scheduleName:"",fromTime:"",toTime:"",timeZone:Y.default.tz.guess(),backupType:"INCR",dayArray:[]}}onNoBackupScheduleDayChange(){this.updateShowDailyLabelNoBackup(),this.matSelectCreateNoBackup.close()}updateShowDailyLabelNoBackup(){this.nobackupshowDaily=this.nobackupscheduleDaysList.length===0}toggleSelectAllDaysNoBackup(){this.nobackupshowDaily?this.nobackupscheduleDaysList=[...this.nobackupallDays]:this.nobackupscheduleDaysList=[],this.updateShowDailyLabelNoBackup()}convertToTime(o){let[m,e]=o.split(":").map(Number),l=new Date;return l.setHours(m,e,0,0),l.getTime()}validateRequiredFieldsCreateNoBackup(){let o=!0,m=this.el.nativeElement.querySelector(".scheduleNameNoBackup");m&&(m.value.trim()?m.classList.remove("redAlert"):(m.classList.add("redAlert"),o=!1));let e=this.el.nativeElement.querySelector(".nobackupdays"),l=e.querySelector("mat-select");return l&&(this.nobackupscheduleDaysList.length<=0?(l.classList.add("redAlert"),e.classList.add("redAlert"),o=!1):(l.classList.remove("redAlert"),e.classList.remove("redAlert"))),o}validateTimeNBST(){(!this.nobackupmyTime||!(this.nobackupmyTime instanceof Date))&&(this.nobackupmyTime=new Date);let o=this.nobackupmyTime.getHours(),m=this.nobackupmyTime.getMinutes();o>23&&this.nobackupmyTime.setHours(23),m>59&&this.nobackupmyTime.setMinutes(59)}validateTimeNBET(){(!this.nobackupmyTimeEnd||!(this.nobackupmyTimeEnd instanceof Date))&&(this.nobackupmyTimeEnd=new Date);let o=this.nobackupmyTimeEnd.getHours(),m=this.nobackupmyTimeEnd.getMinutes();o>23&&this.nobackupmyTimeEnd.setHours(23),m>59&&this.nobackupmyTimeEnd.setMinutes(59)}submitCreateNoBackupSchedule(o){if(!this.validateRequiredFieldsCreateNoBackup()){this.toastr.error("Please fill all required fields.","Error");return}if(o.invalid){o.control.markAllAsTouched(),this.toastr.error("Please check all fields.");return}if(this.nobackupscheduleModel.scheduleName==""){this.toastr.error("Please enter Schedule Name.");return}if(this.nobackupscheduleDaysList.length<=0){this.nobackupscheduleDaysList.length<=0&&this.toastr.error("Please select at least one day for the schedule.");return}let e=this.nobackupmyTime.getHours().toString().padStart(2,"0"),l=this.nobackupmyTime.getMinutes().toString().padStart(2,"0");this.nobackupscheduleModel.fromTime=`${e}:${l}`,this.nobackupscheduleModel.dayArray=this.nobackupscheduleDaysList;let s=this.nobackupmyTimeEnd.getHours().toString().padStart(2,"0"),n=this.nobackupmyTimeEnd.getMinutes().toString().padStart(2,"0");if(this.nobackupscheduleModel.toTime=`${s}:${n}`,this.convertToTime(this.nobackupscheduleModel.toTime)===this.convertToTime(this.nobackupscheduleModel.fromTime)){this.toastr.error("Start time and End time cannot be the same. Please check.");return}if(this.convertToTime(this.nobackupscheduleModel.toTime)<this.convertToTime(this.nobackupscheduleModel.fromTime)){this.toastr.error("End time is less than start time. Please check End time");return}this.apiService.saveNoBackupSchedule(this.nobackupscheduleModel).subscribe(v=>{this.toastr.success("Schedule created successfully.","Info"),this.checkedListNoBackupSchedule.push(this.nobackupscheduleModel.scheduleName),this.getAllNoBackupSchedules(),this.getMultipleNoBackupSchedules(this.checkedListNoBackupSchedule.toString()),this.closeNoBackupSchCreateModal(),this.cdr.detectChanges()},v=>{console.error("Error creating filter:",v)})}getAllNoBackupSchedules(){this.apiService.getAllNoBackupSchedules().subscribe(o=>{this.noBackupSchedules=o.body.noBkpScheduleElementList,this.cdr.detectChanges()},o=>{switch(console.error("Error from getAllNoBackupSchedules: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}closeNoBackupScheduleConfPopup(){this.displayNoBackupConfStyle="none"}closeNoBackupEditModal(){this.displayNoBackupEditStyle="none"}editNoBackupSchedule(o){console.log("schedule to edit : "+o),this.nobackupscheduleNameToEdit=o,this.displayNoBackupConfStyle="block"}getParticularNoBackupSchedule(){this.displayNoBackupConfStyle="none",this.apiService.getParticularNoBackupSchedule(this.nobackupscheduleNameToEdit).subscribe(o=>{var m=JSON.stringify(o.body),e=JSON.parse(m);this.nobackupscheduleElement=e.noBkpScheduleElement,this.displayNoBackupEditStyle="block";let l=this.nobackupscheduleElement.fromTime,[s,n]=l.split(":").map(Number);this.nobackupmyTime=new Date,this.nobackupmyTime.setHours(s),this.nobackupmyTime.setMinutes(n);let v=this.nobackupscheduleElement.toTime,[F,W]=v.split(":").map(Number);this.nobackupmyTimeEnd=new Date,this.nobackupmyTimeEnd.setHours(F),this.nobackupmyTimeEnd.setMinutes(W),this.nobackupscheduleDaysListEdit=this.nobackupscheduleElement.dayArray.map(G=>G.toString()),this.cdr.detectChanges()},o=>{switch(console.error("Error from getParticularSchedule: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}onNoBackupScheduleDayChangeEdit(){this.updateShowDailyLabelEditNoBackup(),this.matSelectEditNoBackup.close()}updateShowDailyLabelEditNoBackup(){this.nobackupshowDailyEdit=this.nobackupscheduleDaysListEdit.length===0}toggleSelectAllDaysEditNoBackup(){this.nobackupshowDailyEdit?this.nobackupscheduleDaysListEdit=[...this.allDays]:this.nobackupscheduleDaysListEdit=[],this.updateShowDailyLabelEditNoBackup()}validateRequiredFieldsEditNoBackup(){let o=!0,m=this.el.nativeElement.querySelector(".scheduleNameNoBackupEdit");if(m){let s=m.value.trim();console.log("value---- : "+s),s?m.classList.remove("redAlert"):(m.classList.add("redAlert"),o=!1)}console.log("isValid00000 : "+o);let e=this.el.nativeElement.querySelector(".nobackupdaysEdit"),l=e.querySelector("mat-select");return l&&(this.nobackupscheduleDaysListEdit.length<=0?(l.classList.add("redAlert"),e.classList.add("redAlert"),o=!1):(l.classList.remove("redAlert"),e.classList.remove("redAlert"))),console.log("isValid1111111 : "+o),o}submitEditNoBackupSchedule(o){let m=this.validateRequiredFieldsEditNoBackup();if(console.log("isFormValid : "+m),console.log("len : "+this.nobackupscheduleDaysListEdit.length),!m){this.toastr.error("Please fill all required fields.","Error");return}if(this.nobackupscheduleDaysListEdit.length<=0){this.nobackupscheduleDaysListEdit.length<=0&&this.toastr.error("Please select at least one day for the schedule.");return}let e=this.nobackupmyTime.getHours().toString().padStart(2,"0"),l=this.nobackupmyTime.getMinutes().toString().padStart(2,"0");this.nobackupscheduleEditModel.fromTime=`${e}:${l}`,this.nobackupscheduleEditModel.scheduleName=this.nobackupscheduleNameToEdit,this.nobackupscheduleEditModel.dayArray=this.nobackupscheduleDaysListEdit;let s=this.nobackupmyTimeEnd.getHours().toString().padStart(2,"0"),n=this.nobackupmyTimeEnd.getMinutes().toString().padStart(2,"0");if(this.nobackupscheduleEditModel.toTime=`${s}:${n}`,this.convertToTime(this.nobackupscheduleModel.toTime)===this.convertToTime(this.nobackupscheduleModel.fromTime)){this.toastr.error("Start time and End time cannot be the same. Please check.");return}if(this.convertToTime(this.nobackupscheduleModel.toTime)<this.convertToTime(this.nobackupscheduleModel.fromTime)){this.toastr.error("End time is less than start time. Please check End time");return}this.apiService.editNoBackupSchedule(this.nobackupscheduleEditModel).subscribe(v=>{this.toastr.success("Schedule updated successfully.","Info"),this.getAllNoBackupSchedules(),this.getMultipleNoBackupSchedules(this.checkedListNoBackupSchedule.toString()),this.closeNoBackupEditModal(),this.cdr.detectChanges()},v=>{console.error("Error creating filter:",v)})}addNewFilter(){this.displayFilterCreateStyle="block",this.getAllCannedFilters()}closeCreateFilterModal(){this.displayFilterCreateStyle="none",this.resetFilterModel()}resetFilterModel(){this.filterModel={filterName:"",filterType:"inclusion",filters:""}}onFilterCreateChange(){if(this.checkedList.length>0){let o=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionCreate=o,this.showExtensions(),this.cannedFiltersCreate=o.concat(this.userDefinedExtensionsCreate)}else this.cannedFiltersCreate=this.userDefinedExtensionsCreate,this.checkedListExtensionCreate=[]}showExtensions(){this.extensionsVisible=!0}validateScheduleName(){let o=/^[a-zA-Z0-9@._-]{3,}$/;this.scheduleModel.scheduleName?this.invalidScheduleName=!o.test(this.scheduleModel.scheduleName):this.invalidScheduleName=!1}validateFilterName(){let o=/^[a-zA-Z0-9@._-]{3,}$/;this.invalidFilterName=!!this.filterModel.filterName&&!o.test(this.filterModel.filterName)}isFilterNameValid(o){let m=/^[a-zA-Z0-9@._-]{3,}$/;return new RegExp(m).test(o)}submitCreateFilter(){if(this.filterModel.filterName==""||!this.isFilterNameValid(this.filterModel.filterName)){this.invalidFilterName=!0,this.toastr.error("Please check filter name.","Error");return}if(this.cannedFiltersCreate.length==0){this.toastr.error("Please check filter extensions.","Error");return}this.filterModel.filters=this.cannedFiltersCreate.join(","),this.apiService.saveFilter(this.filterModel).subscribe(o=>{this.checkedListFilter.push(this.filterModel.filterName),this.getMultipleFilters(this.checkedListFilter.toString()),this.closeCreateFilterModal(),this.toastr.success("Filter created successfully.","Info"),this.getAllFilters()},o=>{switch(o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error("Filter with same name already exists .","Error");break;case 421:this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}getAllFilters(){this.apiService.getAllFilters().subscribe(o=>{var m=JSON.stringify(o.body),e=JSON.parse(m);this.filters=e.inclusionFilterElementList,this.cdr.detectChanges(),this.getAllCannedFilters()},o=>{switch(console.error("Error from getAllFilters: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}getAllCannedFilters(){this.apiService.getAllCannedFilters().subscribe(o=>{var m=JSON.stringify(o.body),e=JSON.parse(m);this.cannedFiltersTemplateCreate=e.filterTemplateElementList.map(l=>U(A({},l),{status:!1})),this.cannedFiltersTemplateCreate.sort((l,s)=>l.filterName.localeCompare(s.filterName)),this.cannedFiltersTemplateEdit=e.filterTemplateElementList.map(l=>U(A({},l),{status:!1})),this.cannedFiltersTemplateEdit.sort((l,s)=>l.filterName.localeCompare(s.filterName)),this.cdr.detectChanges()},o=>{switch(console.error("Error from getAllCannedFilters: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}editFilter(o){this.filterToEdit=o,this.displayFilterConfStyle="block"}closeConfFilterPopup(){this.filterToEdit="",this.displayFilterConfStyle="none"}closeEditFilterModal(){this.displayFilterEditStyle="none"}getFilter(){this.displayFilterConfStyle="none",this.apiService.getFilter(this.filterToEdit).subscribe(o=>{var m=JSON.stringify(o.body),e=JSON.parse(m);this.filterElement=e.inclusionFilterElement,this.filterEditModel.filterName=this.filterElement.filterName,this.filterEditModel.filterType="inclusion",this.filterEditModel.filters=this.filterElement.filters,this.cannedFilters=this.filterElement.filters.split(","),this.userDefinedExtensionsEdit=this.filterElement.filters.split(","),this.displayFilterEditStyle="block",this.cdr.detectChanges(),this.getAllCannedFilters()},o=>{switch(console.error("Error from getFilter: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}onFilterChangeEdit(){if(this.checkedList.length>0){let o=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionEdit=o,this.showExtensions(),o.some(m=>this.userDefinedExtensionsEdit.includes(m))||(this.cannedFilters=o.concat(this.userDefinedExtensionsEdit))}else this.cannedFilters=this.userDefinedExtensionsEdit,this.checkedListExtensionEdit=[]}submitEditFilter(){if(this.cannedFilters.length==0){this.toastr.error("Please check filter extensions.","Error");return}this.filterEditModel.filters=this.cannedFilters.join(","),this.apiService.editFilter(this.filterEditModel).subscribe(o=>{console.log("Filter updated successfully:",o),this.closeEditFilterModal(),this.toastr.success("Filter updated successfully.","Info"),this.getMultipleFilters(this.checkedListFilter.toString())},o=>{switch(o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error("Filter with same name already exists .","Error");break;case 421:this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}removeExtension(o){var m=this.checkedListExtensionEdit.indexOf(o);this.checkedListExtensionEdit.splice(m,1),this.userDefinedExtensionsEdit.splice(m,1);var e=this.cannedFilters.indexOf(o);this.cannedFilters.splice(e,1)}removeExtensionCreate(o){var m=this.checkedListExtension.indexOf(o);this.checkedListExtension.splice(m,1);var e=this.cannedFiltersCreate.indexOf(o);this.cannedFiltersCreate.splice(e,1)}addFilterExtensionCreate(){this.newFilterExtensionCreate.trim()&&(this.userDefinedExtensionsCreate.push(this.newFilterExtensionCreate.trim()),this.checkedListExtensionCreate.length>0?this.cannedFiltersCreate=this.userDefinedExtensionsCreate.concat(this.checkedListExtensionCreate):this.cannedFiltersCreate=this.userDefinedExtensionsCreate,this.newFilterExtensionCreate="",this.showExtensions())}addFilterExtensionEdit(){this.newFilterExtensionEdit.trim()&&(this.userDefinedExtensionsEdit.push(this.newFilterExtensionEdit.trim()),this.checkedListExtensionEdit.length>0?this.cannedFilters=this.userDefinedExtensionsEdit.concat(this.checkedListExtensionEdit):this.cannedFilters=this.userDefinedExtensionsEdit,this.newFilterExtensionEdit="",this.showExtensions())}showPassword(o){let m=document.getElementById(o);m.type="text",o==="agentPassword"?this.isPasswordVisible=!0:this.isRePasswordVisible=!0}hidePassword(o){let m=document.getElementById(o);m.type="password",o==="agentPassword"?this.isPasswordVisible=!1:this.isRePasswordVisible=!1}handleBlur(){this.newFilterExtensionCreate.trim()&&this.addFilterExtensionCreate()}handleKeyUp(){this.newFilterExtensionCreate.trim()&&this.addFilterExtensionCreate()}handleBlurEdit(){this.newFilterExtensionEdit.trim()&&this.addFilterExtensionEdit()}handleKeyUpEdit(){this.newFilterExtensionEdit.trim()&&this.addFilterExtensionEdit()}onBlukryptChange(){if(this.checkedList.length>0){let o=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionEdit=o,this.showExtensions(),o.some(m=>this.userDefinedExtensionsEdit.includes(m))||(this.cannedFilters=o.concat(this.userDefinedExtensionsEdit))}else this.cannedFilters=this.userDefinedExtensionsEdit,this.checkedListExtensionEdit=[];this.matSelectBlukryptHost.close()}closeSqlServerDetails(){this.displayConfigSQLStyle="none",this.serverPassword="",this.serverRePassword="",this.serverUserName=""}addSqlServer(){this.displayConfigSQLStyle="block",this.serverPassword=this.serverPassword,this.serverRePassword=this.serverPassword,this.serverUserName=this.serverUserName}addSqlServerDetails(){this.displayConfigSQLStyle="none",this.serverUserNameToSave=this.serverUserName,this.serverPasswordToSave=this.serverPassword}showPasswordSQL(o){let m=document.getElementById(o);m.type="text",o==="serverPassword"?this.isPasswordVisible=!0:this.isRePasswordVisible=!0}hidePasswordSQL(o){let m=document.getElementById(o);m.type="password",o==="serverPassword"?this.isPasswordVisible=!1:this.isRePasswordVisible=!1}static{this.\u0275fac=function(m){return new(m||u)(B(ye),B(te),B(Ce),B(_t),B(ie),B(ut),B(ne),B(he),B(ve),B(ht),B(de),B(yt),B(gt))}}static{this.\u0275cmp=ce({type:u,selectors:[["app-edit"]],viewQuery:function(m,e){if(m&1&&(q(Ft,5),q(Dt,5),q(Pt,5),q(Bt,5),q(xt,5),q(Nt,5),q(Vt,5)),m&2){let l;z(l=K())&&(e.matSelectEdit=l.first),z(l=K())&&(e.matSelectCreate=l.first),z(l=K())&&(e.matSelectCreateNoBackup=l.first),z(l=K())&&(e.matSelectEditNoBackup=l.first),z(l=K())&&(e.matSelectBlukryptHost=l.first),z(l=K())&&(e.matSelectCreateFilter=l.first),z(l=K())&&(e.matSelectEditFilter=l.first)}},inputs:{schedules:"schedules",noBackupSchedules:"noBackupSchedules",pgs:"pgs"},outputs:{shareCheckedList:"shareCheckedList",shareIndividualCheckedList:"shareIndividualCheckedList",shareCheckedListNoBackup:"shareCheckedListNoBackup",shareIndividualCheckedListNoBackup:"shareIndividualCheckedListNoBackup",shareCheckedListFilter:"shareCheckedListFilter",shareIndividualCheckedListFilter:"shareIndividualCheckedListFilter",shareCheckedListSearchFilter:"shareCheckedListSearchFilter",shareIndividualCheckedListSearchFilter:"shareIndividualCheckedListSearchFilter",shareCheckedListPg:"shareCheckedListPg",shareIndividualCheckedListPg:"shareIndividualCheckedListPg"},features:[ue([te,ie,ne])],decls:1755,vars:465,consts:[["myForm","ngForm"],["policyNameInput","ngModel"],["tabContent1","cTabContent"],["myScheduleForm","ngForm"],["scheduleNameInput","ngModel"],["matSelectCreate",""],["myScheduleEditForm","ngForm"],["matSelectEdit",""],["myNoBackupScheduleForm","ngForm"],["matSelectCreateNoBackup",""],["matSelectEditNoBackup",""],["matSelectCreateFilter",""],["matSelectEditFilter",""],["matSelectBlukryptHost",""],[1,"container"],[1,"row"],[1,"col-lg-6"],[1,"breadcrumb"],[4,"ngIf"],[3,"ngSubmit"],["xs","12"],[1,"mb-3"],[1,"row",2,"margin-top","10px"],[1,"col-lg-7"],[1,"form-group"],["for","policyName"],["type","text","name","policyName","id","policyName","minlength","3","maxlength","50","placeholder","Enter Policy Name","required","","autocomplete","off","autofocus","","pattern","^[a-zA-Z0-9@._-]*$","title","Only letters, numbers, and @, -, _, . are allowed","readonly","",1,"form-control",3,"ngModelChange","ngModel"],["class","text-danger",4,"ngIf"],["cLabel","","for","description"],["cFormControl","","name","description","id","description","minlength","5","maxlength","512","rows","3",3,"ngModelChange","input","ngModel"],["style","color: red;",4,"ngIf"],[1,"form-group","hide","d-none"],["for","policyStorageSizeAllowed"],["type","number","name","policyStorageSizeAllowed","id","policyStorageSizeAllowed","placeholder","","value","0","autocomplete","off","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","policyUsersAllowed"],["type","number","name","policyUsersAllowed","id","policyUsersAllowed","placeholder","","value","0","autocomplete","off","required","",1,"form-control",3,"ngModelChange","ngModel"],["class","form-group componentWrapper",4,"ngIf"],["variant","tabs","role","tablist"],["cNavLink","",3,"cTabContent","tabPaneIdx"],[1,"d-none"],["cRounded","bottom",3,"activeTabPaneIdx"],[1,"p-3","preview"],[1,"h4",2,"color","#585f69"],["for","schedules"],[1,"clickAble",2,"font-size","small","font-weight","600",3,"click"],["appearance","fill",1,"mainSchedules",2,"width","100%"],["multiple","","placeholder","Select Schedules",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],[3,"value",4,"ngFor","ngForOf"],[1,"col-lg-5"],["class","row",4,"ngIf"],["for","noBackupSchedules"],[1,"clickAble",2,"cursor","pointer","font-size","small","font-weight","600",3,"click"],["appearance","fill",2,"width","100%"],["multiple","","placeholder","Select 'No Backup' windows",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],["for","maxVersions",1,"col-lg-12"],[1,"col-lg-2"],[3,"switch"],["cFormCheckInput","","id","switchver","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],[1,"col-lg-8"],["type","text","name","maxVersions","id","maxVersions","placeholder","Enter maxVersions","required","","autocomplete","off","value","3",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","vererror",2,"color","#f55753","font-size","0.9em"],["for","maxPermissibleFileSize",1,"col-lg-12"],["cFormCheckInput","","id","switchsize","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","maxPermissibleFileSize","id","maxPermissibleFileSize","placeholder","Enter Maximum Permissible File Size","required","","autocomplete","off","value","UNLIMITED",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","sizeerror",2,"color","#f55753","font-size","0.9em"],["for","perUserBackupStorageLimit",1,"col-lg-12"],["cFormCheckInput","","id","switchlimit","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","perUserBackupStorageLimit","id","perUserBackupStorageLimit","placeholder","Enter Per Asset Backup Storage Limit","required","","autocomplete","off","value","250",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","limiterror",2,"color","#f55753","font-size","0.9em"],["for","noOfDevicesAllowed"],["type","number","name","noOfDevicesAllowed","id","noOfDevicesAllowed","placeholder","Maximum Assets Allowed","required","","autocomplete","off","value","10","data-parsley-type","integer","min","1",1,"form-control",3,"ngModelChange","blur","ngModel"],["id","deviceerror",2,"color","#f55753","font-size","0.9em"],[1,"form-group","d-none"],["for","osType"],["cSelect","","name","osType","id","osType","required","","title","Select OS Type",1,"form-control","selectOsTypePicker",3,"ngModelChange","ngModel"],["value","universal","selected",""],["for","defaultFoldersBackup"],["aria-describedby","defaultFoldersBackupBtn","name","defaultFoldersBackup","id","defaultFoldersBackup","aria-label","Default Folders to Backup","cFormControl","","placeholder","Enter Default Folders to Backup",3,"ngModelChange","keyup.enter","ngModel"],["cButton","","color","secondary","id","defaultFoldersBackupBtn","type","button","variant","outline",3,"click"],["class","form-group",4,"ngIf"],[1,"form-group","hide"],["for","serverUserNameToSave"],["type","text","name","serverUserNameToSave","id","serverUserNameToSave","value","","placeholder","Enter Server User Name","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel"],["for","serverPasswordToSave"],["type","password","name","serverPasswordToSave","id","serverPasswordToSave","value","","placeholder","Enter Password","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel"],["for","exclusionFolderName"],["aria-describedby","exclusionFoldersBtn","name","exclusionFolderName","id","exclusionFolderName","aria-label","Exclusion Folder Name","cFormControl","","placeholder","Enter the full path of the folder",3,"ngModelChange","keyup.enter","ngModel"],["cButton","","color","secondary","id","exclusionFoldersBtn","type","button","variant","outline",3,"click"],[1,"form-group","col-lg-12"],["for","exceptionFolderName"],["aria-describedby","exceptionFoldersBtn","name","exceptionFolderName","id","exceptionFolderName","aria-label","Exceptions to exclusions","cFormControl","","placeholder","Enter the full path of the folder",3,"ngModelChange","keyup.enter","ngModel"],["cButton","","color","secondary","id","exceptionFoldersBtn","type","button","variant","outline",3,"click"],["for","memoryUtilization"],["type","text","name","memoryUtilization","id","memoryUtilization","placeholder","Enter memoryUtilization","required","","autocomplete","off","value","128","data-parsley-min","128","data-parsley-max","1024","data-parsley-type","integer",1,"form-control",3,"ngModelChange","ngModel"],["for","cpuUtilization"],["type","text","name","cpuUtilization","id","cpuUtilization","placeholder","Enter cpuUtilization","required","","autocomplete","off","value","80","data-parsley-min","20","data-parsley-max","100","data-parsley-type","integer",1,"form-control",3,"ngModelChange","ngModel"],["for","dcmEnabled"],["cSelect","","name","dcmEnabled","id","dcmEnabled","required","","title","Select dcmEnabled",1,"form-control","dcmEnabled",3,"ngModelChange","ngModel"],["value","true"],["value","false","selected",""],["for","clientDedup"],["cSelect","","name","clientDedup","id","clientDedup","title","Select clientDedup",1,"form-control","clientDedup",3,"ngModelChange","ngModel"],["value","true","selected",""],["value","false"],["for","maxFileSizeForBkpBatch"],["type","text","name","maxFileSizeForBkpBatch","id","maxFileSizeForBkpBatch","placeholder","Enter maxFileSizeForBkpBatch","autocomplete","off","value","50",1,"form-control"],[1,"col-lg-12"],[1,"panel","panel-default",2,"overflow-y","scroll","height","450px"],[1,"panel","panel-default"],[1,"panel-heading"],[1,"fa","fa-folder-open"],[1,"panel-body"],[1,"table-responsive"],["class","list-group",4,"ngIf"],[1,"form-group","hide",2,"margin-left","10px"],[1,"checkbox","check-primary"],["id","sqlbkpEnabled","name","sqlbkpEnabled","type","checkbox","value","enabled"],["for","sqlbkpEnabled"],["class","panel panel-default","style","overflow-y: scroll;height: 150px;",4,"ngIf"],[1,"panel-body",2,"overflow-y","scroll","height","150px"],["cTooltip","These sub-folders will be backed up even if their parent folders have been excluded above.","cTooltipPlacement","right",2,"color","#062D4D","cursor","pointer"],["aria-hidden","true",1,"fa","fa-question-circle"],["cTooltip","File extensions that you wish to include or exclude.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["for","filters"],["cSelect","","name","filtersType","id","filtersType","title","Select Filter Type",1,"form-control","selectFilterTypePicker",3,"ngModelChange","change","ngModel"],["value","inclusion",3,"selected"],["value","exclusion",3,"selected"],[1,"row","col-lg-12"],["class","col-lg-1 inclusionBadge","style","margin-top: 10px;",4,"ngIf"],["class","col-lg-1 exclusionBadge","style","margin-top:10px;",4,"ngIf"],["appearance","fill",1,"mainFilters",2,"width","100%"],["multiple","","placeholder","Select Filters",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],[1,"col-lg-12","row",2,"margin-top","20px"],["cFormCheckInput","","id","applyFilterToExceptionsToExclusion","type","checkbox",3,"ngModelChange","ngModelOptions","ngModel"],[2,"margin-top","5px"],["class","row allFilters",4,"ngIf"],[1,"col-lg-6","d-none"],["cSelect","","name","createUser[]",1,"form-control","userCreateAdmins",3,"ngModelChange","change","ngModel"],["value","admins","selected",""],["value",""],["cSelect","","name","createUser[]",1,"form-control","userCreateReadonlyadmins",3,"ngModelChange","change","ngModel"],["value","readonlyadmins","selected",""],["for","userCreateUsers"],["cSelect","","name","createUser[]",1,"form-control","userCreateUsers",3,"ngModelChange","change","ngModel"],["value","users"],["value","","selected",""],["cSelect","","name","userDeleted[]",1,"form-control","userDeletedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","userDeleted[]",1,"form-control","userDeletedReadonlyadmins",3,"ngModelChange","change","ngModel"],["for","userDeletedUsers"],["cSelect","","name","userDeleted[]",1,"form-control","userDeletedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","userBlocked[]",1,"form-control","userBlockedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","userBlocked[]",1,"form-control","userBlockedReadonlyadmins",3,"ngModelChange","change","ngModel"],["for","userBlockedUsers"],["cSelect","","name","userBlocked[]",1,"form-control","userBlockedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","userLimitReached[]",1,"form-control","userLimitReachedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","userLimitReached[]",1,"form-control","userLimitReachedReadonlyadmins",3,"ngModelChange","change","ngModel"],["for","userLimitReachedUsers"],["cSelect","","name","userLimitReached[]",1,"form-control","userLimitReachedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceDeleted[]",1,"form-control","deviceDeletedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceDeleted[]",1,"form-control","deviceDeletedReadonlyadmins",3,"ngModelChange","change","ngModel"],["for","deviceDeletedUsers"],["cSelect","","name","deviceDeleted[]",1,"form-control","deviceDeletedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceBlocked[]",1,"form-control","deviceBlockedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceBlocked[]",1,"form-control","deviceBlockedReadonlyadmins",3,"ngModelChange","change","ngModel"],["for","deviceBlockedUsers"],["cSelect","","name","deviceBlocked[]",1,"form-control","deviceBlockedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceDecoupled[]",1,"form-control","deviceDecoupledAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceDecoupled[]",1,"form-control","deviceDecoupledReadonlyadmins",3,"ngModelChange","change","ngModel"],["for","deviceDecoupledUsers"],["cSelect","","name","deviceDecoupled[]",1,"form-control","deviceDecoupledUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceLimitReached[]",1,"form-control","deviceLimitReachedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","deviceLimitReached[]",1,"form-control","deviceLimitReachedReadonlyadmins",3,"ngModelChange","change","ngModel"],["for","deviceLimitReachedUsers"],["cSelect","","name","deviceLimitReached[]",1,"form-control","deviceLimitReachedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","weeklyBkpreport[]",1,"form-control","weeklyBkpreportAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","weeklyBkpreport[]",1,"form-control","weeklyBkpreportReadonlyadmins",3,"ngModelChange","change","ngModel"],["for","weeklyBkpreportUsers"],["cSelect","","name","weeklyBkpreport[]",1,"form-control","weeklyBkpreportUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","firstBkpCompleted[]",1,"form-control","firstBkpCompletedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","firstBkpCompleted[]",1,"form-control","firstBkpCompletedReadonlyadmins",3,"ngModelChange","change","ngModel"],["for","firstBkpCompletedUsers"],["cSelect","","name","firstBkpCompleted[]",1,"form-control","firstBkpCompletedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","restoreInitiated[]",1,"form-control","restoreInitiatedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","restoreInitiated[]",1,"form-control","restoreInitiatedReadonlyadmins",3,"ngModelChange","change","ngModel"],["for","restoreInitiatedUsers"],["cSelect","","name","restoreInitiated[]",1,"form-control","restoreInitiatedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","restoreCompleted[]",1,"form-control","restoreCompletedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","restoreCompleted[]",1,"form-control","restoreCompletedReadonlyadmins",3,"ngModelChange","change","ngModel"],["for","restoreCompletedUsers"],["cSelect","","name","restoreCompleted[]",1,"form-control","restoreCompletedUsers",3,"ngModelChange","change","ngModel"],["cSelect","","name","storageLimitReached[]",1,"form-control","storageLimitReachedAdmins",3,"ngModelChange","change","ngModel"],["cSelect","","name","storageLimitReached[]",1,"form-control","storageLimitReachedReadonlyadmins",3,"ngModelChange","change","ngModel"],["for","storageLimitReachedUsers"],["cSelect","","name","storageLimitReached[]",1,"form-control","storageLimitReachedUsers",3,"ngModelChange","change","ngModel"],["cTooltip","Changes will reflect on next relaunch of agent.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["for","shareEnabled"],["cSelect","","name","bkpfiles","id","bkpfiles","required","","title","Select share",1,"form-control","bkpfiles",3,"ngModelChange","change","ngModel"],["cSelect","","name","bkpsettings","id","bkpsettings","required","","title","Select share",1,"form-control","bkpsettings",3,"ngModelChange","change","ngModel"],["cSelect","","name","initiatebackup","id","initiatebackup","required","","title","Select share",1,"form-control","initiatebackup",3,"ngModelChange","change","ngModel"],["cSelect","","name","stopbackup","id","stopbackup","required","","title","Select share",1,"form-control","stopbackup",3,"ngModelChange","change","ngModel"],["cSelect","","name","support","id","support","required","","title","Select support",1,"form-control","support",3,"ngModelChange","change","ngModel"],["for","about"],["cSelect","","name","about","id","about","required","","title","Select about",1,"form-control","about",3,"ngModelChange","change","ngModel"],["for","blockNotifications"],["cSelect","","name","blockNotifications","id","blockNotifications","title","Select share",1,"form-control","blockNotifications",3,"ngModelChange","change","ngModel"],["for","systrayIcon"],["cSelect","","name","systrayIcon","id","systrayIcon","required","","title","Select systrayIcon",1,"form-control","systrayIcon",3,"ngModelChange","change","ngModel"],["cSelect","","name","restore","id","restore","required","","title","Select restore",1,"form-control","restore",3,"ngModelChange","change","ngModel"],["cSelect","","name","refbkppolicy","id","refbkppolicy","required","","title","Select share",1,"form-control","refbkppolicy",3,"ngModelChange","change","ngModel"],["for","pauseBackup"],["cSelect","","name","pauseBackup","id","pauseBackup","required","","title","Select pauseBackup",1,"form-control","pauseBackup",3,"ngModelChange","change","ngModel"],["for","updateAgent"],["cSelect","","name","updateAgent","id","updateAgent","required","","title","Select updateAgent",1,"form-control","updateAgent",3,"ngModelChange","change","ngModel"],["cSelect","","name","decouple","id","decouple","required","","title","Select decouple",1,"form-control","decouple",3,"ngModelChange","change","ngModel"],["cSelect","","name","network_settings","id","network_settings","required","","title","Select Network Settings",1,"form-control","network_settings",3,"ngModelChange","change","ngModel"],["for","disallowAdminRestores"],["cSelect","","name","disallowAdminRestores","id","disallowAdminRestores","required","","title","Select Disallow Admin Restores",1,"form-control","disallowAdminRestores",3,"ngModelChange","change","ngModel"],["cSelect","","name","exitt","id","exitt","required","","title","Select exit",1,"form-control","exitt",3,"ngModelChange","change","ngModel"],[1,"col-lg-12","row"],["cTooltip","Portal changes will reflect on user login.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],[1,"form-group","Open"],["for","Open"],["cSelect","","name","Open","id","Open","required","","title","Select Open",1,"form-control","Open",3,"ngModelChange","change","ngModel"],[1,"form-group","Versions"],["for","Versions"],["cSelect","","name","Versions","id","Versions","required","","title","Select Versions",1,"form-control","Versions",3,"ngModelChange","change","ngModel"],[1,"form-group","Download"],["for","Download"],["cSelect","","name","Download","id","Download","required","","title","Select Download",1,"form-control","Download",3,"ngModelChange","change","ngModel"],[1,"form-group","View"],["for","View"],["cSelect","","name","View","id","View","required","","title","Select View",1,"form-control","View",3,"ngModelChange","change","ngModel"],[1,"form-group","Share","hide"],["for","Share"],["cSelect","","name","Share","id","Share","required","","title","Select Share",1,"form-control","Share",3,"ngModelChange","change","ngModel"],[1,"form-group","portalRestore"],["for","portalRestore"],["cSelect","","name","portalRestore","id","portalRestore","required","","title","Select Restore",1,"form-control","portalRestore",3,"ngModelChange","change","ngModel"],[1,"row","shareDetailsLabel","hide"],[1,"col-lg-12",2,"border","1px dashed grey","border-radius","10px"],["id","shareDomainsEnabled","name","shareDomainsEnabled","type","checkbox","value","enabled"],["for","shareDomainsEnabled"],[1,"form-group","col-lg-6"],["for","shareDomainIncExclusions"],["type","text","name","shareDomainIncExclusions","id","shareDomainIncExclusions","placeholder","","autocomplete","off","value","",1,"form-control"],[1,"col-lg-6",2,"margin-left","-14px","margin-top","20px"],[1,"col-lg-12",2,"margin-bottom","15px"],["type","radio","name","shareDomainType","id","only","value","Share only with these Email domains"],["for","link"],["type","radio","name","shareDomainType","id","withall","value","Share with all Email domains excepting these"],[1,"col-lg-6","row",2,"margin-top","10px"],[1,"col-lg-2","controllerSLBlock"],[1,"switch"],["id","controllerSL","type","checkbox","name","controllerSL","value","true"],[1,"slider","round"],["id","highSecureShareEnabled","name","highSecureShareEnabled","type","checkbox","value","enabled","checked",""],["for","highSecureShareEnabled"],[1,"col-lg-6","row"],[1,"col-lg-2","controllerCPBlock"],["id","controllerCP","type","checkbox","name","controllerCP","value","true","checked",""],[1,"col-lg-2","controllerADBlock"],["id","controllerAD","type","checkbox","name","controllerAD","value","true"],[1,"col-lg-2","controllerEDBlock"],["id","controllerED","type","checkbox","name","controllerED","value","true","checked",""],[1,"col-lg-2","controllerMFABlock"],["id","controllerMFA","type","checkbox","name","controllerMFA","value","true","checked",""],["cTooltip","Related to search.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],[1,"form-group","contentIndexEnabled"],["for","contentIndexEnabled"],["cSelect","","name","contentIndexEnabled","id","contentIndexEnabled","required","","title","Select Content Index Enabled",1,"form-control","contentIndexEnabled",3,"ngModelChange","ngModel"],["for","filters",1,"d-none"],[1,"clickAble","d-none",2,"font-size","small","font-weight","600",3,"click"],["cSelect","","name","searchFilterType","id","searchfiltersType","title","Select Filter Type",1,"form-control","selectSearchFilterTypePicker",3,"ngModelChange","change","ngModel"],["class","col-lg-1 inclusionBadgeCS","style","margin-top: 10px;",4,"ngIf"],["class","col-lg-1 exclusionBadgeCS","style","margin-top:10px;",4,"ngIf"],["appearance","fill",1,"mainSearchFilters",2,"width","100%"],["multiple","","placeholder","Select Search Filters",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],[1,"h4","d-none",2,"color","#585f69"],[1,"form-group","partial","d-none"],["for","incrementalFileTransfer"],["cSelect","","name","incrementalFileTransfer","id","incrementalFileTransfer","required","","title","Select incrementalFileTransfer",1,"form-control","incrementalFileTransfer"],["data-role","controlgroup","data-type","horizontal"],["for","nwFromClientToPG",1,"col-lg-12"],[1,"col-lg-8",2,"margin-bottom","10px"],["cFormCheckInput","","id","switch","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","nwFromClientToPGMB","id","nwFromClientToPGMB","placeholder","","required","","autocomplete","off",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","switcherror",2,"color","#f55753","font-size","0.9em"],["id","switchwarning",2,"color","#062D4D","font-size","0.9em"],["cSelect","","name","networkThrottlingUnit","id","networkThrottlingUnit",1,"form-control",3,"ngModelChange","change","ngModel","disabled"],["value","kbps"],["value","mbps"],["value","gbps"],["for","cpuThrottling"],[1,"slidecontainer"],["type","range","min","1","max","10","name","cpuThrottling","id","myRange",1,"slidercpu",3,"ngModelChange","input","ngModel"],["id","demo"],["for","nwFromPGToCloud"],["type","text","name","nwFromPGToCloud","id","nwFromPGToCloud","placeholder","Enter nwFromPGToCloud","required","","autocomplete","off","value","4","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","10",1,"form-control"],["for","filesCrawlLimit"],["type","text","name","filesCrawlLimit","id","filesCrawlLimit","placeholder","Enter filesCrawlLimit","required","","autocomplete","off","value","500","data-parsley-type","integer","data-parsley-min","1",1,"form-control"],["for","networkThrottling"],["cSelect","","name","networkThrottling","id","networkThrottling","required","","title","Select networkThrottling",1,"form-control","networkThrottling"],[1,"col-lg-5","d-none"],[1,"row","partialfileattributerow"],[1,"panel","panel-default",2,"margin-top","30px"],["for","partialFileSize"],["type","text","name","partialFileSize","id","partialFileSize","placeholder","Enter partialFileSize","required","","autocomplete","off","value","9","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","<?=MAX_ENABLE_PARTIAL_FILE_TRANSFER?>",1,"form-control"],["for","fileChunkableSize"],["type","text","name","fileChunkableSize","id","fileChunkableSize","placeholder","Enter fileChunkableSize","required","","autocomplete","off","value","8","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","<?=MAX_PARTIAL_FILE_TRANSFER_CHUNK_SIZE?>",1,"form-control"],[1,"col-lg-1"],["cFormCheckInput","","id","legalHold","type","checkbox",3,"ngModelChange","ngModelOptions","ngModel"],[1,"col-lg-11"],[1,"systemFolders",2,"display","none"],["id","systemFolders","name","systemFolders","type","checkbox","value","enabled"],["for","systemFolders"],["class","col-lg-6 row",4,"ngIf"],["for","noOfDaysToKeepDeviceNotHeard",1,"col-lg-12"],["cFormCheckInput","","id","switchnoOfDaysToKeepDeviceNotHeard","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],[1,"col-lg-4"],["type","text","name","noOfDaysToKeepDeviceNotHeard","id","noOfDaysToKeepDeviceNotHeard","placeholder","Enter No. of Days To Keep Device Not Heard","required","","autocomplete","off","value","60",1,"form-control",3,"ngModelChange","blur","ngModel"],["id","noOfDaysToKeepDeviceNotHearderror",2,"color","#f55753","font-size","0.9em"],[1,"col-lg-2",2,"margin-top","10px"],["for","noOfDaysToKeepUserDeviceNotActive",1,"col-lg-12"],["cFormCheckInput","","id","switchnoOfDaysToKeepUserDeviceNotActive","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","noOfDaysToKeepUserDeviceNotActive","id","noOfDaysToKeepUserDeviceNotActive","placeholder","Enter No. of Days To Keep Device Not Heard","required","","autocomplete","off","value","60",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","noOfDaysToKeepUserDeviceNotActiveerror",2,"color","#f55753","font-size","0.9em"],["for","numberOfThreadsAllowedForBackup"],["type","number","name","numberOfThreadsAllowedForBackup","id","numberOfThreadsAllowedForBackup","placeholder","Enter Number of threads allowed for Backup","required","","autocomplete","off","value","1","min","1","max","5",1,"form-control",3,"ngModelChange","ngModel"],["for","webBasedLogin"],["cSelect","","name","webBasedLogin","id","webBasedLogin","required","","title","Select Web Based Login",1,"form-control","webBasedLogin",3,"ngModelChange","ngModel"],[1,"form-group",3,"ngStyle"],["for","canAdminRestore"],["name","canAdminRestore","id","canAdminRestore","required","","title","Select Can Admin Restore",1,"form-control","canAdminRestore",3,"ngModelChange","ngModel","ngClass"],[3,"ngValue"],[1,"form-group",2,"margin-left","30px",3,"ngStyle"],["for","allowEndUserTocontrolRestore"],["name","allowEndUserTocontrolRestore","id","allowEndUserTocontrolRestore","required","","title","Select option",1,"form-control","allowEndUserTocontrolRestore",3,"ngModelChange","ngModel","ngClass"],["for","canAdminDelete"],["name","canAdminDelete","id","canAdminDelete","required","","title","Select Can Admin Delete",1,"form-control","canAdminDelete",3,"ngModelChange","ngModel","ngClass"],["class","form-group d-none",4,"ngIf"],["for","compEnabled"],["cSelect","","name","compEnabled","id","compEnabled","required","","title","Select compEnabled",1,"form-control","compEnabled",3,"ngModelChange","ngModel"],[1,"form-group","vssContainer","d-none",2,"display","none"],["for","vssEnabled"],["cSelect","","name","vssEnabled","id","vssEnabled","required","","title","Select vss",1,"form-control","vssEnabled",3,"ngModelChange","ngModel"],[1,"form-group","searchAlgoForPg"],["for","searchAlgoForPg"],["cSelect","","name","searchAlgoForPg","id","sortAlgoForPg","required","",1,"form-control","searchAlgoForPg",3,"ngModelChange","change","ngModel"],["value","NEAREST"],["value","PRIORITY"],["class","form-group",3,"display",4,"ngIf"],["for","policyRefresh"],["type","number","id","policyRefresh","name","policyRefresh","value","4","min","1","max","23","required","",1,"form-control","input-small",3,"ngModelChange","ngModel"],[2,"color","#f55753","font-size","0.9em"],["for","logUnaccessedFiles",1,"col-lg-12",2,"margin-top","10px"],["id","switchlogUnaccessedFiles","name","switchlogUnaccessedFiles","type","checkbox",3,"ngModelChange","ngModel"],["for","endpointDomainCheck",1,"col-lg-12"],["cFormCheckInput","","id","switchAllowedDomains","type","checkbox",3,"ngModelChange","ngModelOptions","ngModel"],["for","allowedDomains"],["type","text","name","allowedDomains","id","allowedDomains","placeholder","","autocomplete","off","value","",1,"form-control",3,"ngModelChange","ngModel","disabled"],["for","autoupdateAgent"],["cSelect","","name","autoUpdateAgent","id","autoUpdateAgent","required","","title","Select Auto Update Agent",1,"form-control","autoUpdateAgent",3,"ngModelChange","ngModel"],["cFormCheckInput","","id","switchAgentPassword","type","checkbox","name","isPasswordEnabled",3,"ngModelChange","ngModel"],[1,"col-lg-10"],["type","password","name","agentPassword","id","agentPassword","placeholder","Enter Password","autocomplete","off","minlength","5",1,"form-control",2,"margin-bottom","10px",3,"ngModelChange","ngModel","required","disabled"],["title","Toggle password visibility",1,"fa","fa-fw","field-icon",2,"line-height","0px","cursor","pointer",3,"mousedown","mouseup","mouseleave","ngClass"],["type","password","name","agentRePassword","id","agentRePassword","placeholder","Re-Type Password","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel","required","disabled"],["for","canBackupHiddenFiles"],["cSelect","","name","canBackupHiddenFiles","id","canBackupHiddenFiles","required","","title","Select canBackupHiddenFiles",1,"form-control","canBackupHiddenFiles",3,"ngModelChange","ngModel"],[1,"form-group","row","d-none",2,"padding-left","3%"],[2,"color","#93a3b5"],[1,"col-lg-4",2,"padding-left","0%"],["id","switchFairnessAlgorithm","type","checkbox"],["type","number","min","0","name","daysToWaitForNextBackup","id","daysToWaitForNextBackup","autocomptocomplete","off","value","0","disabled","",1,"form-control"],["for","downloadAgent"],["cTooltip","Relogin on portal is required","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["cSelect","","name","downloadAgent","id","downloadAgent","required","","title","Select downloadAgent",1,"form-control","downloadAgent",3,"ngModelChange","ngModel"],[1,"row",2,"margin-left","0px"],[1,"col-lg-2",2,"padding-left","0%"],["cFormCheckInput","","id","switchnoOfDaysToKeepDeletedFiles","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],["type","text","name","noOfDaysToKeepDeletedFiles","id","noOfDaysToKeepDeletedFiles","autocomptocomplete","off","value","UNLIMITED",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","sizenoOfDaysToKeepDeletedFiles",2,"color","#f55753","font-size","0.9em"],["cFormCheckInput","","id","switchuserConsentEnabled","type","checkbox",3,"ngModelChange","ngModelOptions","ngModel"],["cFormControl","","name","userConsentDisplayText","id","userConsentDisplayText","maxlength","8000","rows","3","placeholder","Enter User Consent Display Text",3,"ngModelChange","ngModel","disabled"],["for","preScanCommandEnabled"],["cFormCheckInput","","id","preScanCommandEnabled","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],[1,"col-lg-5","form-group"],["for","preScanCommand"],["type","text","name","preScanCommand","id","preScanCommand","placeholder","","autocomplete","off",1,"form-control",3,"ngModelChange","input","ngModel","disabled"],["id","preScanError",2,"color","#f55753","font-size","0.9em"],[1,"col-lg-3"],["for","continueOnPreScan"],["id","continueOnPreScan","name","continueOnPreScan","type","checkbox",3,"ngModelChange","ngModel","disabled"],["for","preBackupCommandEnabled"],["cFormCheckInput","","id","preBackupCommandEnabled","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],["for","preBackupCommand"],["type","text","name","preBackupCommand","id","preBackupCommand","placeholder","","autocomplete","off",1,"form-control",3,"ngModelChange","input","ngModel","disabled"],["id","preBackupError",2,"color","#f55753","font-size","0.9em"],["for","continueOnPreBkp"],["id","continueOnPreBkp","name","continueOnPreBkp","type","checkbox",3,"ngModelChange","ngModel","disabled"],["for","postBackupCommandEnabled"],["cFormCheckInput","","id","postBackupCommandEnabled","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],["for","postBackupCommand"],["type","text","name","postBackupCommand","id","postBackupCommand","placeholder","","autocomplete","off",1,"form-control",3,"ngModelChange","input","ngModel","disabled"],["id","postBackupError",2,"color","#f55753","font-size","0.9em"],["for","continueOnPostBkp"],["id","continueOnPostBkp","name","continueOnPostBkp","type","checkbox",3,"ngModelChange","ngModel","disabled"],["for","fullBackupEnabled"],["cSelect","","name","fullBackupEnabled","id","fullBackupEnabled","required","","title","Select fullBackupEnabled",1,"form-control","fullBackupEnabled"],[1,"form-group","backupDate","d-none",2,"display","none"],["for","fullBackupStartDate"],["type","text","id","fullBackupStartDate","name","fullBackupStartDate","placeholder","Select date for full backup","autocomplete","off",1,"form-control","backupDatePicker","input-small"],["cTooltip","Go to Global settings to enable this option.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["for","canUserChangePassword"],["cSelect","","name","canUserChangePassword","id","canUserChangePassword","required","","title","Select Can User Change Password",1,"form-control","canUserChangePassword",3,"ngModelChange","ngModel","ngClass"],["selected","",3,"value"],[3,"value"],["for","canAdminChangeUserPassword"],["cSelect","","name","canAdminChangeUserPassword","id","canAdminChangeUserPassword","required","","title","Select Allow Admin To Change User Password",1,"form-control","canAdminChangeUserPassword",3,"ngModelChange","ngModel","ngClass"],["color","warning"],[1,"btn","btn-primary","pull-right",3,"click"],[1,"btn","btn-default","pull-right",2,"margin-right","10px",3,"click"],[1,"main"],["tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal",2,"--cui-modal-width","50% !important",3,"ngStyle"],["role","document",1,"modal-dialog"],[1,"modal-content"],[1,"modal-header"],["id","myModalLabel",1,"modal-title"],[1,"modal-body"],["for","serverUserName"],["type","text","name","serverUserName","id","serverUserName","placeholder","Enter Server User Name","autocomplete","off","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","serverPassword"],["type","password","name","serverPassword","id","serverPassword","placeholder","Enter Server Password","autocomplete","off","required","",1,"form-control",3,"ngModelChange","ngModel"],["title","Toggle password visibility",1,"fa","fa-fw","field-icon",2,"cursor","pointer",3,"mousedown","mouseup","mouseleave","ngClass"],["for","serverRePassword"],["type","password","name","serverRePassword","id","serverRePassword","placeholder","Re-Type Server Password","autocomplete","off","data-parsley-equalto","#serverPassword","data-parsley-trigger","change","required","",1,"form-control",3,"ngModelChange","ngModel"],[1,"modal-footer"],["type","button",1,"btn","btn-default",3,"click"],["type","submit",1,"btn","btn-primary",3,"click"],["id","confirmAdd","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["ng-submit","addDefaultFolderConfirm(defaultFoldersBackup)",1,""],[1,"modal-content","smallModal"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],["aria-hidden","true"],["type","button","data-dismiss","modal",1,"btn","btn-default"],["type","submit",1,"saveRename","btn","btn-primary"],["id","confirmAdd1","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["ng-submit","addExclusionFolderConfirm(exclusionFolderName)",1,""],["id","confirmAdd2","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["ng-submit","addExceptionFolderConfirm(exceptionFolderName)",1,""],["id","modalCreateSchedule","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["role","document",1,"modal-dialog","modal-lg"],[1,"modal-header","header-container"],[1,"modal-title"],[2,"cursor","pointer",3,"click"],[1,"fa-solid","fa-xmark"],["for","filterName"],["type","text","name","scheduleName","id","scheduleName","value","","placeholder","Enter Schedule Name","required","","autocomplete","off","pattern","^[a-zA-Z0-9@._-]*$",1,"form-control",3,"ngModelChange","input","ngClass","ngModel"],["for","filterTemplate"],["required","",3,"ngModelChange","ngModel","showMeridian","minuteStep","ngModelOptions"],[1,"form-group","col-lg-12",2,"margin-top","20px"],["appearance","fill",1,"backupdays",2,"width","70%"],["multiple","","required","",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],["type","button",1,"btn","btn-link",3,"click"],["type","submit",1,"btn","btn-primary"],["id","modalConfirmation","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["type","button",1,"btn","btn-primary",3,"click"],["id","modalEditSchedule","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["type","text","name","scheduleNameEdit","placeholder","Enter Filter Name","required","","autocomplete","off","readonly","",1,"form-control","scheduleNameEdit",3,"value"],["appearance","fill",1,"backupdaysEdit",2,"width","70%"],["id","modalCreateNoBackupSchedule","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["type","text","name","scheduleNameNoBackup","value","","placeholder","Enter Schedule Name","required","","autocomplete","off","pattern","^[a-zA-Z0-9@._-]*$",1,"form-control","scheduleNameNoBackup",3,"ngModelChange","ngModel"],["cTooltip","The above schedule will be honored in the time zone under which the CrashPlan endpoint agent is operating.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["appearance","fill",1,"nobackupdays",2,"width","70%"],["id","modalEditNoBackupSchedule","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["type","text","name","scheduleNameNoBackupEdit","placeholder","Enter Filter Name","required","","autocomplete","off","readonly","",1,"form-control","scheduleNameNoBackupEdit",3,"value"],[3,"ngModelChange","ngModel","showMeridian","minuteStep","ngModelOptions"],["appearance","fill",1,"nobackupdaysEdit",2,"width","70%"],["multiple","",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],["id","modalCreateFilter","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["type","text","name","filterName","value","","placeholder","Enter Filter Name","required","","autocomplete","off",1,"form-control",3,"ngModelChange","input","ngClass","ngModel"],["for","filterType"],["name","filterType","required","",1,"form-control","filterType",3,"ngModelChange","ngModel"],["value","inclusion"],["value","exclusion"],["cTooltip","Enter filter extension and press enter to add.","cTooltipPlacement","right",2,"color","#062D4D","cursor","pointer"],[1,"form-control",2,"border","1px solid rgba(8, 10, 12, 0.175)","border-radius","10px"],["id","extensionsSpanCreate"],["style","word-wrap: break-word;width: fit-content;margin-right: 10px;",4,"ngFor","ngForOf"],["type","text","name","newFilterExtensionCreate","placeholder","Enter filters","required","","autocomplete","off",1,"form-control",2,"margin-top","10px","width","25%","margin-bottom","10px",3,"ngModelChange","blur","keyup.enter","ngModel"],["id","modal2","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["type","text","name","filterName","placeholder","Enter Filter Name","required","","autocomplete","off","readonly","",1,"form-control",3,"ngModelChange","ngModel","value"],["cTooltip","Enter filter extension and press enter to add.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],[1,"form-control",2,"border","1px solid rgba(8, 10, 12, 0.175)","border-radius","10px","display","block","word-break","break-all"],["style","white-space:nowrap;word-wrap: break-word;width: fit-content;margin-right: 10px;","class","",4,"ngFor","ngForOf"],["type","text","name","newFilterExtensionEdit","placeholder","Enter filters","required","","autocomplete","off",1,"form-control",2,"margin-top","10px","width","25%","margin-bottom","10px",3,"ngModelChange","blur","keyup.enter","ngModel"],["tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["href","pms"],["href","pms/policy"],[1,"text-danger"],[2,"color","red"],[1,"form-group","componentWrapper"],["bordered","","align","middle","cTable","",1,"mb-0","border",3,"hover","responsive","striped"],[1,"text-nowrap","text-truncate"],[1,"bg-body-tertiary","text-center"],["class","bg-body-tertiary text-center",4,"ngIf"],[1,"text-center"],["class","text-center",4,"ngIf"],[4,"ngFor","ngForOf"],["colspan","2",1,"text-center"],[1,"panel","panel-default",2,"margin-top","45px"],[1,"fa","fa-clock"],[1,"table","table-bordered","table-responsive",2,"display","table"],["cButton","","color","primary","size","sm",2,"margin-right","10px",3,"click"],[1,"panel","panel-default",2,"margin-top","20px"],["for","sqlBackupFolders"],[1,"clickAble","showSQLSettings",2,"font-size","small","font-weight","600",3,"click"],["aria-describedby","sqlBackupFoldersBtn","name","sqlBackupFolders","id","sqlBackupFolders","aria-label","Default Folders to Backup for MS SQL","cFormControl","","placeholder","Enter defaultFoldersBackup for SQL",3,"ngModelChange","keyup.enter","ngModel"],["cButton","","color","secondary","id","sqlBackupFoldersBtn","type","button","variant","outline",3,"click"],[1,"list-group"],[1,"list-group-item",2,"word-wrap","break-word"],[1,"pull-right","clickAble",2,"color","#062D4D",3,"click"],[1,"fa","fa-times-circle"],[1,"panel","panel-default",2,"overflow-y","scroll","height","150px"],[1,"col-lg-1","inclusionBadge",2,"margin-top","10px"],[1,"badge","badge-success"],[1,"fa","fa-plus-circle"],[1,"col-lg-1","exclusionBadge",2,"margin-top","10px"],[1,"badge","badge-danger"],[1,"fa","fa-minus-circle"],[1,"row","allFilters"],[1,"fa","fa-filter"],[1,"panel-body",2,"word-break","break-all"],["id","backupFilesWithoutExtension","type","checkbox","name","backupFilesWithoutExtension","value","true",3,"ngModelChange","ngModel"],["ng-repeat"," in "],[2,"white-space","unset !important"],[2,"word-break","break-all"],[2,"white-space","nowrap !important"],["cButton","","color","primary","size","sm",2,"margin-right","10px",3,"click","disabled"],[1,"col-lg-1","inclusionBadgeCS",2,"margin-top","10px"],[1,"col-lg-1","exclusionBadgeCS",2,"margin-top","10px"],[1,"col-lg-2","rwDetectionEnabledBlock"],["cFormCheckInput","","id","rwDetectionEnabled","type","checkbox",3,"ngModelChange","ngModelOptions","ngModel"],["for","dedup"],["cSelect","","name","dedup","id","dedup","required","","title","Select dedup",1,"form-control","dedup",3,"ngModelChange","ngModel"],["value","Disabled"],["value","User","selected",""],["value","User"],["value","Global","selected",""],["for","Blukryptipaddress"],[2,"word-wrap","break-word","width","fit-content","margin-right","10px"],[1,"clickAble",2,"color","#062D4D","cursor","pointer",3,"click"],[1,"",2,"white-space","nowrap","word-wrap","break-word","width","fit-content","margin-right","10px"]],template:function(m,e){if(m&1){let l=D();t(0,"div",14)(1,"div",15)(2,"div",16)(3,"ol",17),C(4,Lt,4,1,"li",18)(5,At,3,1,"li",18)(6,Ut,3,1,"li",18),i()()()(),t(7,"c-row")(8,"form",19,0),h("ngSubmit",function(){d(l);let n=x(9);return c(e.submitEditPolicy(n))}),t(10,"c-col",20)(11,"c-card",21)(12,"c-card-header"),r(13,`
          `),r(14,`
          `),t(15,"div",22),r(16,`
            `),t(17,"div",23),r(18,`
                `),t(19,"div",24),r(20,`
                    `),t(21,"label",25),r(22,"Policy Name"),i(),r(23,`
                    `),t(24,"input",26,1),E("ngModelChange",function(n){return d(l),f(e.policygroupName,n)||(e.policygroupName=n),c(n)}),i(),r(26,`
                    `),C(27,Wt,6,2,"div",27),r(28,`
                `),i(),r(29,`
                `),r(30,`
                `),t(31,"div",21),r(32,`
                    `),t(33,"label",28),r(34,"Description"),i(),r(35,`
                    `),t(36,"textarea",29),E("ngModelChange",function(n){return d(l),f(e.description,n)||(e.description=n),c(n)}),h("input",function(){return d(l),c(e.validateDescription())}),i(),r(37,`
                    `),C(38,Rt,2,0,"small",30),r(39,`
                    `),C(40,qt,2,0,"small",30),r(41,`
                `),i(),r(42,`
                `),t(43,"div",31),r(44,`
                    `),t(45,"label",32),r(46,"Maximum Backup Size(GB)"),i(),r(47,`
                    `),t(48,"input",33),E("ngModelChange",function(n){return d(l),f(e.policyStorageSizeAllowed,n)||(e.policyStorageSizeAllowed=n),c(n)}),i(),r(49,`
                    `),t(50,"label",34),r(51,"Number of Users Allowed"),i(),r(52,`
                    `),t(53,"input",35),E("ngModelChange",function(n){return d(l),f(e.policyUsersAllowed,n)||(e.policyUsersAllowed=n),c(n)}),i(),r(54,`
                `),i(),r(55,`
            `),i(),r(56,`
        `),i(),r(57,`
        `),C(58,Jt,91,15,"div",36),r(59,`
        `),i(),t(60,"c-card-body")(61,"c-nav",37)(62,"c-nav-item")(63,"button",38),r(64," General "),i()(),t(65,"c-nav-item")(66,"button",38),r(67," Email Alert Configurations "),i()(),t(68,"c-nav-item")(69,"button",38),r(70," User action preferences "),i()(),t(71,"c-nav-item",39)(72,"button",38),r(73," Search "),i()(),t(74,"c-nav-item")(75,"button",38),r(76," Advanced "),i()()(),t(77,"c-tab-content",40,2)(79,"c-tab-pane",41)(80,"div",15)(81,"div",23),_(82,"br"),t(83,"legend",42),r(84,"Backup Information"),i(),t(85,"div",24)(86,"label",43),r(87,"Schedules - "),t(88,"a",44),h("click",function(){return d(l),c(e.addNewSchedule())}),r(89,"Create New Schedule"),i()(),t(90,"mat-form-field",45)(91,"mat-select",46),E("ngModelChange",function(n){return d(l),f(e.checkedListSchedule,n)||(e.checkedListSchedule=n),c(n)}),h("selectionChange",function(){return d(l),c(e.onScheduleChange())}),C(92,jt,2,2,"mat-option",47),i()()()(),t(93,"div",48),_(94,"br")(95,"br"),C(96,Zt,13,0,"div",49),i(),t(97,"div",23)(98,"div",24)(99,"label",50),r(100,"'No Backup' windows - "),t(101,"a",51),h("click",function(){return d(l),c(e.addNewNoBackupSchedule())}),r(102,"Create New 'No backp' window"),i()(),t(103,"mat-form-field",52)(104,"mat-select",53),E("ngModelChange",function(n){return d(l),f(e.checkedListNoBackupSchedule,n)||(e.checkedListNoBackupSchedule=n),c(n)}),h("selectionChange",function(){return d(l),c(e.onNoBackupScheduleChange())}),C(105,$t,2,2,"mat-option",47),i()()()(),t(106,"div",48),C(107,ti,13,0,"div",49),i(),t(108,"div",23)(109,"div",24)(110,"label",54),r(111,"Maximum number of Versions Allowed"),i(),t(112,"div",15)(113,"div",55)(114,"c-form-check",56)(115,"input",57),E("ngModelChange",function(n){return d(l),f(e.isVersionEnabled,n)||(e.isVersionEnabled=n),c(n)}),h("change",function(){return d(l),c(e.toggleVersion())}),i()()(),t(116,"div",58)(117,"input",59),E("ngModelChange",function(n){return d(l),f(e.versions,n)||(e.versions=n),c(n)}),h("blur",function(){return d(l),c(e.myFunctionVer())}),i(),t(118,"span",60),r(119),i()()()(),t(120,"div",24)(121,"label",61),r(122,"Maximum Permissible File Size (In MB)"),i(),t(123,"div",15)(124,"div",55)(125,"c-form-check",56)(126,"input",62),E("ngModelChange",function(n){return d(l),f(e.isSizeEnabled,n)||(e.isSizeEnabled=n),c(n)}),h("change",function(){return d(l),c(e.toggleSize())}),i()()(),t(127,"div",58)(128,"input",63),E("ngModelChange",function(n){return d(l),f(e.maxPermissibleFileSize,n)||(e.maxPermissibleFileSize=n),c(n)}),h("blur",function(){return d(l),c(e.myFunctionMPS())}),i(),t(129,"span",64),r(130),i()()()(),t(131,"div",24)(132,"label",65),r(133,"Per Asset Backup Storage Limit (In GB)"),i(),t(134,"div",15)(135,"div",55)(136,"c-form-check",56)(137,"input",66),E("ngModelChange",function(n){return d(l),f(e.isLimitEnabled,n)||(e.isLimitEnabled=n),c(n)}),h("change",function(){return d(l),c(e.toggleLimit())}),i()()(),t(138,"div",58)(139,"input",67),E("ngModelChange",function(n){return d(l),f(e.perUserBackupStorageLimit,n)||(e.perUserBackupStorageLimit=n),c(n)}),h("blur",function(){return d(l),c(e.myFunctionUBS())}),i(),t(140,"span",68),r(141),i()()()()()(),t(142,"div",15)(143,"div",23)(144,"legend",42),r(145,"Asset Information"),i(),t(146,"div",24)(147,"label",69),r(148,"Maximum Assets Allowed"),i(),t(149,"input",70),E("ngModelChange",function(n){return d(l),f(e.noOfDevicesAllowed,n)||(e.noOfDevicesAllowed=n),c(n)}),h("blur",function(){return d(l),c(e.myFunctionDevice())}),i(),t(150,"span",71),r(151),i()(),t(152,"div",72)(153,"label",73),r(154,"Operating System Type"),i(),t(155,"select",74),E("ngModelChange",function(n){return d(l),f(e.osType,n)||(e.osType=n),c(n)}),t(156,"option",75),r(157,"Universal"),i()()(),t(158,"div",24)(159,"label",76),r(160,"Default Folders to Backup"),i(),t(161,"c-input-group",21)(162,"input",77),E("ngModelChange",function(n){return d(l),f(e.defaultFoldersBackup,n)||(e.defaultFoldersBackup=n),c(n)}),h("keyup.enter",function(){return d(l),c(e.addDefaultFolder())}),i(),t(163,"button",78),h("click",function(){return d(l),c(e.addDefaultFolder())}),r(164,"Add"),i()()(),C(165,ii,9,1,"div",79),t(166,"div",80)(167,"label",81),r(168,"Server User Name"),i(),t(169,"input",82),E("ngModelChange",function(n){return d(l),f(e.serverUserNameToSave,n)||(e.serverUserNameToSave=n),c(n)}),i()(),t(170,"div",80)(171,"label",83),r(172,"Server Password"),i(),t(173,"input",84),E("ngModelChange",function(n){return d(l),f(e.serverPasswordToSave,n)||(e.serverPasswordToSave=n),c(n)}),i()(),t(174,"div",24)(175,"label",85),r(176,"Exclusion Folder Name"),i(),t(177,"c-input-group",21)(178,"input",86),E("ngModelChange",function(n){return d(l),f(e.exclusionFolderName,n)||(e.exclusionFolderName=n),c(n)}),h("keyup.enter",function(){return d(l),c(e.addExclusionFolder())}),i(),t(179,"button",87),h("click",function(){return d(l),c(e.addExclusionFolder())}),r(180,"Add"),i()()(),t(181,"div")(182,"div",88)(183,"label",89),r(184,"Exceptions to exclusions"),i(),t(185,"c-input-group",21)(186,"input",90),E("ngModelChange",function(n){return d(l),f(e.exceptionFolderName,n)||(e.exceptionFolderName=n),c(n)}),h("keyup.enter",function(){return d(l),c(e.addExceptionFolder())}),i(),t(187,"button",91),h("click",function(){return d(l),c(e.addExceptionFolder())}),r(188,"Add"),i()()()(),t(189,"div",72)(190,"label",92),r(191,"Memory Utilization (In MB)"),i(),t(192,"input",93),E("ngModelChange",function(n){return d(l),f(e.memoryUtilization,n)||(e.memoryUtilization=n),c(n)}),i()(),t(193,"div",72)(194,"label",94),r(195,"CPU Utilization (In Percentage)"),i(),t(196,"input",95),E("ngModelChange",function(n){return d(l),f(e.cpuUtilization,n)||(e.cpuUtilization=n),c(n)}),i()(),t(197,"div",72)(198,"label",96),r(199,"DCM Enabled"),i(),t(200,"select",97),E("ngModelChange",function(n){return d(l),f(e.dcmEnabled,n)||(e.dcmEnabled=n),c(n)}),t(201,"option",98),r(202,"Enabled"),i(),t(203,"option",99),r(204,"Disabled"),i()()(),t(205,"div",72)(206,"label",100),r(207,"Client Dedup"),i(),t(208,"select",101),E("ngModelChange",function(n){return d(l),f(e.clientDedup,n)||(e.clientDedup=n),c(n)}),t(209,"option",102),r(210,"Enabled"),i(),t(211,"option",103),r(212,"Disabled"),i()()(),t(213,"div",72)(214,"label",104),r(215,"Maximun File Size For Backup Batch"),i(),_(216,"input",105),i()(),t(217,"div",48),_(218,"br")(219,"br"),t(220,"div",15)(221,"div",106)(222,"div",107)(223,"div",108)(224,"div",109)(225,"h5"),_(226,"i",110),r(227," Default Folders"),i()(),t(228,"div",111)(229,"div",112)(230,"div"),C(231,ri,3,0,"ul",113)(232,oi,2,0,"span",18),i()()()(),t(233,"div",114)(234,"div",115),_(235,"input",116),t(236,"label",117),r(237,"Backup SQL Database"),i()()(),C(238,di,10,2,"div",118),t(239,"div",108)(240,"div",109)(241,"h5"),_(242,"i",110),r(243," Excluded Folders"),i()(),t(244,"div",119)(245,"div",112)(246,"div"),C(247,mi,3,0,"ul",113)(248,pi,2,0,"span",18),i()()()(),t(249,"div",108)(250,"div",109)(251,"h5"),_(252,"i",110),r(253," Exceptions to exclusions "),t(254,"a",120),_(255,"i",121),i()()(),t(256,"div",119)(257,"div"),C(258,hi,3,0,"ul",113)(259,gi,2,0,"span",18),i()()()()()()()(),t(260,"div",15)(261,"div",23)(262,"legend",42),r(263,"Filters "),t(264,"a",122),_(265,"i",121),i()(),t(266,"div",24)(267,"label",123),r(268,"Filters - "),t(269,"a",51),h("click",function(){return d(l),c(e.addNewFilter())}),r(270,"Create New Filter"),i()(),_(271,"br"),t(272,"label",123),r(273,"Filter type"),i(),t(274,"select",124),E("ngModelChange",function(n){return d(l),f(e.filterType,n)||(e.filterType=n),c(n)}),h("change",function(n){return d(l),c(e.onSelectChangeFilterType(n))}),t(275,"option",125),r(276,"Inclusion"),i(),t(277,"option",126),r(278,"Exclusion"),i()(),t(279,"div",127),C(280,fi,3,0,"h5",128)(281,Ei,3,0,"h5",129),t(282,"mat-form-field",130)(283,"mat-select",131),E("ngModelChange",function(n){return d(l),f(e.checkedListFilter,n)||(e.checkedListFilter=n),c(n)}),h("selectionChange",function(){return d(l),c(e.onFilterChange())}),C(284,Si,2,2,"mat-option",47),i()()(),t(285,"div",132)(286,"div",55)(287,"c-form-check",56)(288,"input",133),E("ngModelChange",function(n){return d(l),f(e.applyFilterToExceptionsToExclusion,n)||(e.applyFilterToExceptionsToExclusion=n),c(n)}),i()()(),t(289,"span",134),r(290,"Apply filters to Exceptions To Exclusions"),i()()()(),t(291,"div",48),_(292,"br")(293,"br"),C(294,yi,20,1,"div",135),i()()(),t(295,"c-tab-pane",41)(296,"div",15)(297,"div",106)(298,"legend",42),r(299,"Email Alert Configurations"),i()(),t(300,"div",136)(301,"div",24)(302,"select",137),E("ngModelChange",function(n){return d(l),f(e.createUserAdmins,n)||(e.createUserAdmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(303,"option",138),r(304,"Enabled"),i(),t(305,"option",139),r(306,"Disabled"),i()()()(),t(307,"div",136)(308,"div",24)(309,"select",140),E("ngModelChange",function(n){return d(l),f(e.createUserReadonlyadmins,n)||(e.createUserReadonlyadmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(310,"option",141),r(311,"Enabled"),i(),t(312,"option",139),r(313,"Disabled"),i()()()(),t(314,"div",16)(315,"div",24)(316,"label",142),r(317,"User Created"),i(),t(318,"select",143),E("ngModelChange",function(n){return d(l),f(e.createUserUsers,n)||(e.createUserUsers=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(319,"option",144),r(320,"Enabled"),i(),t(321,"option",145),r(322,"Disabled"),i()()()(),t(323,"div",136)(324,"div",24)(325,"select",146),E("ngModelChange",function(n){return d(l),f(e.userDeletedAdmins,n)||(e.userDeletedAdmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(326,"option",138),r(327,"Enabled"),i(),t(328,"option",139),r(329,"Disabled"),i()()()(),t(330,"div",136)(331,"div",24)(332,"select",147),E("ngModelChange",function(n){return d(l),f(e.userDeletedReadonlyadmins,n)||(e.userDeletedReadonlyadmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(333,"option",141),r(334,"Enabled"),i(),t(335,"option",139),r(336,"Disabled"),i()()()(),t(337,"div",16)(338,"div",24)(339,"label",148),r(340,"User Deleted"),i(),t(341,"select",149),E("ngModelChange",function(n){return d(l),f(e.userDeletedUsers,n)||(e.userDeletedUsers=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(342,"option",144),r(343,"Enabled"),i(),t(344,"option",145),r(345,"Disabled"),i()()()(),t(346,"div",136)(347,"div",24)(348,"select",150),E("ngModelChange",function(n){return d(l),f(e.userBlockedAdmins,n)||(e.userBlockedAdmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(349,"option",138),r(350,"Enabled"),i(),t(351,"option",139),r(352,"Disabled"),i()()()(),t(353,"div",136)(354,"div",24)(355,"select",151),E("ngModelChange",function(n){return d(l),f(e.userBlockedReadonlyadmins,n)||(e.userBlockedReadonlyadmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(356,"option",141),r(357,"Enabled"),i(),t(358,"option",139),r(359,"Disabled"),i()()()(),t(360,"div",16)(361,"div",24)(362,"label",152),r(363,"User Blocked"),i(),t(364,"select",153),E("ngModelChange",function(n){return d(l),f(e.userBlockedUsers,n)||(e.userBlockedUsers=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(365,"option",144),r(366,"Enabled"),i(),t(367,"option",145),r(368,"Disabled"),i()()()(),t(369,"div",136)(370,"div",24)(371,"select",154),E("ngModelChange",function(n){return d(l),f(e.userLimitReachedAdmins,n)||(e.userLimitReachedAdmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(372,"option",138),r(373,"Enabled"),i(),t(374,"option",139),r(375,"Disabled"),i()()()(),t(376,"div",136)(377,"div",24)(378,"select",155),E("ngModelChange",function(n){return d(l),f(e.userLimitReachedReadonlyadmins,n)||(e.userLimitReachedReadonlyadmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(379,"option",141),r(380,"Enabled"),i(),t(381,"option",139),r(382,"Disabled"),i()()()(),t(383,"div",136)(384,"div",24)(385,"label",156),r(386,"User Limit Reached"),i(),t(387,"select",157),E("ngModelChange",function(n){return d(l),f(e.userLimitReachedUsers,n)||(e.userLimitReachedUsers=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(388,"option",144),r(389,"Enabled"),i(),t(390,"option",145),r(391,"Disabled"),i()()()(),t(392,"div",136)(393,"div",24)(394,"select",158),E("ngModelChange",function(n){return d(l),f(e.deviceDeletedAdmins,n)||(e.deviceDeletedAdmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(395,"option",138),r(396,"Enabled"),i(),t(397,"option",139),r(398,"Disabled"),i()()()(),t(399,"div",136)(400,"div",24)(401,"select",159),E("ngModelChange",function(n){return d(l),f(e.deviceDeletedReadonlyadmins,n)||(e.deviceDeletedReadonlyadmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(402,"option",141),r(403,"Enabled"),i(),t(404,"option",139),r(405,"Disabled"),i()()()(),t(406,"div",16)(407,"div",24)(408,"label",160),r(409,"Asset Deleted"),i(),t(410,"select",161),E("ngModelChange",function(n){return d(l),f(e.deviceDeletedUsers,n)||(e.deviceDeletedUsers=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(411,"option",144),r(412,"Enabled"),i(),t(413,"option",145),r(414,"Disabled"),i()()()(),t(415,"div",136)(416,"div",24)(417,"select",162),E("ngModelChange",function(n){return d(l),f(e.deviceBlockedAdmins,n)||(e.deviceBlockedAdmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(418,"option",138),r(419,"Enabled"),i(),t(420,"option",139),r(421,"Disabled"),i()()()(),t(422,"div",136)(423,"div",24)(424,"select",163),E("ngModelChange",function(n){return d(l),f(e.deviceBlockedReadonlyadmins,n)||(e.deviceBlockedReadonlyadmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(425,"option",141),r(426,"Enabled"),i(),t(427,"option",139),r(428,"Disabled"),i()()()(),t(429,"div",16)(430,"div",24)(431,"label",164),r(432,"Asset Blocked"),i(),t(433,"select",165),E("ngModelChange",function(n){return d(l),f(e.deviceBlockedUsers,n)||(e.deviceBlockedUsers=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(434,"option",144),r(435,"Enabled"),i(),t(436,"option",145),r(437,"Disabled"),i()()()(),t(438,"div",136)(439,"div",24)(440,"select",166),E("ngModelChange",function(n){return d(l),f(e.deviceDecoupledAdmins,n)||(e.deviceDecoupledAdmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(441,"option",138),r(442,"Enabled"),i(),t(443,"option",139),r(444,"Disabled"),i()()()(),t(445,"div",136)(446,"div",24)(447,"select",167),E("ngModelChange",function(n){return d(l),f(e.deviceDecoupledReadonlyadmins,n)||(e.deviceDecoupledReadonlyadmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(448,"option",141),r(449,"Enabled"),i(),t(450,"option",139),r(451,"Disabled"),i()()()(),t(452,"div",16)(453,"div",24)(454,"label",168),r(455,"Asset de-couple"),i(),t(456,"select",169),E("ngModelChange",function(n){return d(l),f(e.deviceDecoupledUsers,n)||(e.deviceDecoupledUsers=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(457,"option",144),r(458,"Enabled"),i(),t(459,"option",145),r(460,"Disabled"),i()()()(),t(461,"div",136)(462,"div",24)(463,"select",170),E("ngModelChange",function(n){return d(l),f(e.deviceLimitReachedAdmins,n)||(e.deviceLimitReachedAdmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(464,"option",138),r(465,"Enabled"),i(),t(466,"option",139),r(467,"Disabled"),i()()()(),t(468,"div",136)(469,"div",24)(470,"select",171),E("ngModelChange",function(n){return d(l),f(e.deviceLimitReachedReadonlyadmins,n)||(e.deviceLimitReachedReadonlyadmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(471,"option",141),r(472,"Enabled"),i(),t(473,"option",139),r(474,"Disabled"),i()()()(),t(475,"div",16)(476,"div",24)(477,"label",172),r(478,"Asset Limit Reached"),i(),t(479,"select",173),E("ngModelChange",function(n){return d(l),f(e.deviceLimitReachedUsers,n)||(e.deviceLimitReachedUsers=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(480,"option",144),r(481,"Enabled"),i(),t(482,"option",145),r(483,"Disabled"),i()()()(),t(484,"div",136)(485,"div",24)(486,"select",174),E("ngModelChange",function(n){return d(l),f(e.weeklyBkpreportAdmins,n)||(e.weeklyBkpreportAdmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(487,"option",138),r(488,"Enabled"),i(),t(489,"option",139),r(490,"Disabled"),i()()()(),t(491,"div",136)(492,"div",24)(493,"select",175),E("ngModelChange",function(n){return d(l),f(e.weeklyBkpreportReadonlyadmins,n)||(e.weeklyBkpreportReadonlyadmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(494,"option",141),r(495,"Enabled"),i(),t(496,"option",139),r(497,"Disabled"),i()()()(),t(498,"div",16)(499,"div",24)(500,"label",176),r(501,"Weekly backup report"),i(),t(502,"select",177),E("ngModelChange",function(n){return d(l),f(e.weeklyBkpreportUsers,n)||(e.weeklyBkpreportUsers=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(503,"option",144),r(504,"Enabled"),i(),t(505,"option",145),r(506,"Disabled"),i()()()(),t(507,"div",136)(508,"div",24)(509,"select",178),E("ngModelChange",function(n){return d(l),f(e.firstBkpCompletedAdmins,n)||(e.firstBkpCompletedAdmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(510,"option",138),r(511,"Enabled"),i(),t(512,"option",139),r(513,"Disabled"),i()()()(),t(514,"div",136)(515,"div",24)(516,"select",179),E("ngModelChange",function(n){return d(l),f(e.firstBkpCompletedReadonlyadmins,n)||(e.firstBkpCompletedReadonlyadmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(517,"option",141),r(518,"Enabled"),i(),t(519,"option",139),r(520,"Disabled"),i()()()(),t(521,"div",16)(522,"div",24)(523,"label",180),r(524,"First backup completed"),i(),t(525,"select",181),E("ngModelChange",function(n){return d(l),f(e.firstBkpCompletedUsers,n)||(e.firstBkpCompletedUsers=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(526,"option",144),r(527,"Enabled"),i(),t(528,"option",145),r(529,"Disabled"),i()()()(),t(530,"div",136)(531,"div",24)(532,"select",182),E("ngModelChange",function(n){return d(l),f(e.restoreInitiatedAdmins,n)||(e.restoreInitiatedAdmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(533,"option",138),r(534,"Enabled"),i(),t(535,"option",139),r(536,"Disabled"),i()()()(),t(537,"div",136)(538,"div",24)(539,"select",183),E("ngModelChange",function(n){return d(l),f(e.restoreInitiatedReadonlyadmins,n)||(e.restoreInitiatedReadonlyadmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(540,"option",141),r(541,"Enabled"),i(),t(542,"option",139),r(543,"Disabled"),i()()()(),t(544,"div",16)(545,"div",24)(546,"label",184),r(547,"Restore initiated"),i(),t(548,"select",185),E("ngModelChange",function(n){return d(l),f(e.restoreInitiatedUsers,n)||(e.restoreInitiatedUsers=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(549,"option",144),r(550,"Enabled"),i(),t(551,"option",145),r(552,"Disabled"),i()()()(),t(553,"div",136)(554,"div",24)(555,"select",186),E("ngModelChange",function(n){return d(l),f(e.restoreCompletedAdmins,n)||(e.restoreCompletedAdmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(556,"option",138),r(557,"Enabled"),i(),t(558,"option",139),r(559,"Disabled"),i()()()(),t(560,"div",136)(561,"div",24)(562,"select",187),E("ngModelChange",function(n){return d(l),f(e.restoreCompletedReadonlyadmins,n)||(e.restoreCompletedReadonlyadmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(563,"option",141),r(564,"Enabled"),i(),t(565,"option",139),r(566,"Disabled"),i()()()(),t(567,"div",16)(568,"div",24)(569,"label",188),r(570,"Restore completed"),i(),t(571,"select",189),E("ngModelChange",function(n){return d(l),f(e.restoreCompletedUsers,n)||(e.restoreCompletedUsers=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(572,"option",144),r(573,"Enabled"),i(),t(574,"option",145),r(575,"Disabled"),i()()()(),t(576,"div",136)(577,"div",24)(578,"select",190),E("ngModelChange",function(n){return d(l),f(e.storageLimitReachedAdmins,n)||(e.storageLimitReachedAdmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(579,"option",138),r(580,"Enabled"),i(),t(581,"option",139),r(582,"Disabled"),i()()()(),t(583,"div",136)(584,"div",24)(585,"select",191),E("ngModelChange",function(n){return d(l),f(e.storageLimitReachedReadonlyadmins,n)||(e.storageLimitReachedReadonlyadmins=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(586,"option",141),r(587,"Enabled"),i(),t(588,"option",139),r(589,"Disabled"),i()()()(),t(590,"div",16)(591,"div",24)(592,"label",192),r(593,"Storage limit reached"),i(),t(594,"select",193),E("ngModelChange",function(n){return d(l),f(e.storageLimitReachedUsers,n)||(e.storageLimitReachedUsers=n),c(n)}),h("change",function(){return d(l),c(e.updateOutput())}),t(595,"option",144),r(596,"Enabled"),i(),t(597,"option",145),r(598,"Disabled"),i()()()()()(),t(599,"c-tab-pane",41)(600,"div",15)(601,"div",106)(602,"legend",42),r(603,"Agent "),t(604,"a",194),_(605,"i",121),i()()(),t(606,"div",16)(607,"div",24)(608,"label",195),r(609,"My Backup Files"),i(),t(610,"select",196),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.BACKUP_FILES,n)||(e.preferencesEdit.BACKUP_FILES=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(611,"option",102),r(612,"Enabled"),i(),t(613,"option",103),r(614,"Disabled"),i()()(),t(615,"div",24)(616,"label",195),r(617,"Settings"),i(),t(618,"select",197),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.BACKUP_SETTINGS,n)||(e.preferencesEdit.BACKUP_SETTINGS=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(619,"option",102),r(620,"Enabled"),i(),t(621,"option",103),r(622,"Disabled"),i()()(),t(623,"div",24)(624,"label",195),r(625,"Initiate Backup"),i(),t(626,"select",198),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.INTIATE_BACKUP,n)||(e.preferencesEdit.INTIATE_BACKUP=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(627,"option",102),r(628,"Enabled"),i(),t(629,"option",103),r(630,"Disabled"),i()()(),t(631,"div",24)(632,"label",195),r(633,"Stop Backup"),i(),t(634,"select",199),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.STOP_BACKUP,n)||(e.preferencesEdit.STOP_BACKUP=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(635,"option",102),r(636,"Enabled"),i(),t(637,"option",103),r(638,"Disabled"),i()()(),t(639,"div",24)(640,"label",195),r(641,"Support"),i(),t(642,"select",200),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.SUPPORT,n)||(e.preferencesEdit.SUPPORT=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(643,"option",102),r(644,"Enabled"),i(),t(645,"option",103),r(646,"Disabled"),i()()(),t(647,"div",24)(648,"label",201),r(649,"About"),i(),t(650,"select",202),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.ABOUT,n)||(e.preferencesEdit.ABOUT=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(651,"option",102),r(652,"Enabled"),i(),t(653,"option",103),r(654,"Disabled"),i()()(),t(655,"div",72)(656,"label",203),r(657,"Block Notifications"),i(),t(658,"select",204),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.BLOCK_NOTIFICATIONS,n)||(e.preferencesEdit.BLOCK_NOTIFICATIONS=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(659,"option",98),r(660,"Enabled"),i(),t(661,"option",99),r(662,"Disabled"),i()()(),t(663,"div",24)(664,"label",205),r(665,"Systray Icon"),i(),t(666,"select",206),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.SYSTRAYICON,n)||(e.preferencesEdit.SYSTRAYICON=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(667,"option",102),r(668,"Enabled"),i(),t(669,"option",103),r(670,"Disabled"),i()()()(),t(671,"div",16)(672,"div",24)(673,"label",195),r(674,"Restore"),i(),t(675,"select",207),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.RESTORE,n)||(e.preferencesEdit.RESTORE=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(676,"option",102),r(677,"Enabled"),i(),t(678,"option",103),r(679,"Disabled"),i()()(),t(680,"div",24)(681,"label",195),r(682,"Refresh Policy"),i(),t(683,"select",208),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.REFRESH_BACKUP_POLICY,n)||(e.preferencesEdit.REFRESH_BACKUP_POLICY=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(684,"option",102),r(685,"Enabled"),i(),t(686,"option",103),r(687,"Disabled"),i()()(),t(688,"div",24)(689,"label",209),r(690,"Pause Backup"),i(),t(691,"select",210),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.PAUSE_BACKUP,n)||(e.preferencesEdit.PAUSE_BACKUP=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(692,"option",102),r(693,"Enabled"),i(),t(694,"option",103),r(695,"Disabled"),i()()(),t(696,"div",24)(697,"label",211),r(698,"Update Agent"),i(),t(699,"select",212),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.UPDATE_AGENT,n)||(e.preferencesEdit.UPDATE_AGENT=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(700,"option",102),r(701,"Enabled"),i(),t(702,"option",103),r(703,"Disabled"),i()()(),t(704,"div",24)(705,"label",195),r(706,"Decouple"),i(),t(707,"select",213),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.DECOUPLE,n)||(e.preferencesEdit.DECOUPLE=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(708,"option",102),r(709,"Enabled"),i(),t(710,"option",103),r(711,"Disabled"),i()()(),t(712,"div",24)(713,"label",195),r(714,"Network Settings"),i(),t(715,"select",214),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.NETWORK_SETTINGS,n)||(e.preferencesEdit.NETWORK_SETTINGS=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(716,"option",102),r(717,"Enabled"),i(),t(718,"option",103),r(719,"Disabled"),i()()(),t(720,"div",80)(721,"label",215),r(722,"Disallow Admin Restores"),i(),t(723,"select",216),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.DISALLOW_ADMIN_RESTORES,n)||(e.preferencesEdit.DISALLOW_ADMIN_RESTORES=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(724,"option",98),r(725,"Enabled"),i(),t(726,"option",99),r(727,"Disabled"),i()()(),t(728,"div",24)(729,"label",195),r(730,"Exit"),i(),t(731,"select",217),E("ngModelChange",function(n){return d(l),f(e.preferencesEdit.EXIT,n)||(e.preferencesEdit.EXIT=n),c(n)}),h("change",function(){return d(l),c(e.updatePreferences())}),t(732,"option",102),r(733,"Enabled"),i(),t(734,"option",103),r(735,"Disabled"),i()()()()(),t(736,"div",15)(737,"div",218)(738,"legend",42),r(739,"Portal "),t(740,"a",219),_(741,"i",121),i()(),t(742,"div",16)(743,"div",220)(744,"label",221),r(745,"Open"),i(),t(746,"select",222),E("ngModelChange",function(n){return d(l),f(e.menuOptionsEdit.open,n)||(e.menuOptionsEdit.open=n),c(n)}),h("change",function(){return d(l),c(e.updateMenuOptions())}),t(747,"option",102),r(748,"Enabled"),i(),t(749,"option",103),r(750,"Disabled"),i()()(),t(751,"div",223)(752,"label",224),r(753,"Versions"),i(),t(754,"select",225),E("ngModelChange",function(n){return d(l),f(e.menuOptionsEdit.versions,n)||(e.menuOptionsEdit.versions=n),c(n)}),h("change",function(){return d(l),c(e.updateMenuOptions())}),t(755,"option",102),r(756,"Enabled"),i(),t(757,"option",103),r(758,"Disabled"),i()()(),t(759,"div",226)(760,"label",227),r(761,"Download"),i(),t(762,"select",228),E("ngModelChange",function(n){return d(l),f(e.menuOptionsEdit.download,n)||(e.menuOptionsEdit.download=n),c(n)}),h("change",function(){return d(l),c(e.updateMenuOptions())}),t(763,"option",102),r(764,"Enabled"),i(),t(765,"option",103),r(766,"Disabled"),i()()()(),t(767,"div",16)(768,"div",229)(769,"label",230),r(770,"View"),i(),t(771,"select",231),E("ngModelChange",function(n){return d(l),f(e.menuOptionsEdit.view,n)||(e.menuOptionsEdit.view=n),c(n)}),h("change",function(){return d(l),c(e.updateMenuOptions())}),t(772,"option",102),r(773,"Enabled"),i(),t(774,"option",103),r(775,"Disabled"),i()()(),t(776,"div",232)(777,"label",233),r(778,"Share"),i(),t(779,"select",234),E("ngModelChange",function(n){return d(l),f(e.menuOptionsEdit.share,n)||(e.menuOptionsEdit.share=n),c(n)}),h("change",function(){return d(l),c(e.updateMenuOptions())}),t(780,"option",98),r(781,"Enabled"),i(),t(782,"option",99),r(783,"Disabled"),i()()(),t(784,"div",235)(785,"label",236),r(786,"Restore"),i(),t(787,"select",237),E("ngModelChange",function(n){return d(l),f(e.menuOptionsEdit.restore,n)||(e.menuOptionsEdit.restore=n),c(n)}),h("change",function(){return d(l),c(e.updateMenuOptions())}),t(788,"option",102),r(789,"Enabled"),i(),t(790,"option",103),r(791,"Disabled"),i()()()()()(),t(792,"div",238)(793,"div",106)(794,"legend",42),r(795,"Share Details"),i(),t(796,"div",239)(797,"div",24)(798,"div",115),_(799,"input",240),t(800,"label",241),r(801,"Enable Domain Control"),i()()(),t(802,"div",15)(803,"div",242)(804,"label",243),r(805,"Share Domain Inclusions/Exclusions"),i(),_(806,"input",244),i(),t(807,"div",245)(808,"div",246),_(809,"input",247),t(810,"label",248),r(811,"Share only with these Email domains"),i(),_(812,"br")(813,"input",249),t(814,"label",248),r(815,"Share with all Email domains excepting these"),i()()()()(),t(816,"div",250)(817,"div",251)(818,"label",252),_(819,"input",253)(820,"div",254),i()(),t(821,"span",134),r(822,"Allow sharer visibility to the shared link"),i()(),t(823,"div",239)(824,"div",24)(825,"div",115),_(826,"input",255),t(827,"label",256),r(828,"Highly Secure Sharing"),i()()(),t(829,"div",218)(830,"div",257)(831,"div",258)(832,"label",252),_(833,"input",259)(834,"div",254),i()(),t(835,"span",134),r(836,"Complex Password"),i()(),t(837,"div",257)(838,"div",260)(839,"label",252),_(840,"input",261)(841,"div",254),i()(),t(842,"span",134),r(843,"Allow Download"),i()(),t(844,"div",257)(845,"div",262)(846,"label",252),_(847,"input",263)(848,"div",254),i()(),t(849,"span",134),r(850,"Require Expiration Date for shared data"),i()(),t(851,"div",257)(852,"div",264)(853,"label",252),_(854,"input",265)(855,"div",254),i()(),t(856,"span",134),r(857,"Enable multi-factor authentication"),i()()()()()()(),t(858,"c-tab-pane",41)(859,"div",15)(860,"div",106)(861,"legend",42),r(862,"Search "),t(863,"a",266),_(864,"i",121),i()(),t(865,"div",16)(866,"div",267)(867,"label",268),r(868,"Content Index"),i(),t(869,"select",269),E("ngModelChange",function(n){return d(l),f(e.contentIndexEnabled,n)||(e.contentIndexEnabled=n),c(n)}),t(870,"option",102),r(871,"Enabled"),i(),t(872,"option",103),r(873,"Disabled"),i()()()()()(),t(874,"div",15)(875,"div",23)(876,"legend",42),r(877,"Search Filters"),i(),t(878,"div",24)(879,"label",270),r(880,"filters - "),t(881,"a",271),h("click",function(){return d(l),c(e.addNewFilter())}),r(882,"Create New Filter"),i()(),_(883,"br"),t(884,"label",123),r(885,"Filter type"),i(),t(886,"select",272),E("ngModelChange",function(n){return d(l),f(e.searchFilterType,n)||(e.searchFilterType=n),c(n)}),h("change",function(n){return d(l),c(e.onSelectChangeSearchFilterType(n))}),t(887,"option",125),r(888,"Inclusion"),i(),t(889,"option",126),r(890,"Exclusion"),i()()(),t(891,"div",127),C(892,wi,3,0,"h5",273)(893,Ci,3,0,"h5",274),t(894,"mat-form-field",275)(895,"mat-select",276),E("ngModelChange",function(n){return d(l),f(e.checkedListSearchFilter,n)||(e.checkedListSearchFilter=n),c(n)}),h("selectionChange",function(){return d(l),c(e.onSearchFilterChange())}),C(896,vi,2,2,"mat-option",47),i()()()(),t(897,"div",48),_(898,"br")(899,"br"),C(900,ki,13,0,"div",135),i()()(),t(901,"c-tab-pane",41)(902,"div",15)(903,"div",23)(904,"legend",277),r(905,"partialFileAttributes"),i(),t(906,"div",278)(907,"label",279),r(908,"incrementalFileTransfer"),i(),t(909,"select",280)(910,"option",102),r(911,"Enabled"),i(),t(912,"option",103),r(913,"Disabled"),i()()(),_(914,"br"),t(915,"legend",42),r(916,"Throttling Attributes"),i(),t(917,"div",24)(918,"fieldset",281)(919,"label",282),r(920,"Throttle traffic at endpoint agent to"),i(),t(921,"div",283)(922,"c-form-check",56)(923,"input",284),E("ngModelChange",function(n){return d(l),f(e.isThrottleEnabled,n)||(e.isThrottleEnabled=n),c(n)}),h("change",function(){return d(l),c(e.toggleThrottle())}),i()()(),t(924,"div",15)(925,"div",16)(926,"input",285),E("ngModelChange",function(n){return d(l),f(e.nwFromClientToPGMB,n)||(e.nwFromClientToPGMB=n),c(n)}),h("blur",function(){return d(l),c(e.validateInput())}),i(),t(927,"span",286),r(928),i(),t(929,"span",287),r(930),i()(),t(931,"div",16)(932,"select",288),E("ngModelChange",function(n){return d(l),f(e.networkThrottlingUnit,n)||(e.networkThrottlingUnit=n),c(n)}),h("change",function(){return d(l),c(e.onUnitChange())}),t(933,"option",289),r(934,"Kbps"),i(),t(935,"option",290),r(936,"Mbps"),i(),t(937,"option",291),r(938,"Gbps"),i()()()()()(),t(939,"div",88)(940,"label",292),r(941,"CPU Throttling"),i(),_(942,"br"),t(943,"div",293)(944,"input",294),E("ngModelChange",function(n){return d(l),f(e.cpuThrottling,n)||(e.cpuThrottling=n),c(n)}),h("input",function(n){return d(l),c(e.onSliderChange(n))}),i(),t(945,"p"),r(946,"Value: "),t(947,"span",295),r(948),i()()()(),t(949,"div",72)(950,"label",296),r(951,"nwFromPGToCloud (In MBPS)"),i(),_(952,"input",297),i(),t(953,"div",72)(954,"label",298),r(955,"filesCrawlLimit"),i(),_(956,"input",299),i(),t(957,"div",72)(958,"label",300),r(959,"networkThrottling"),i(),t(960,"select",301)(961,"option",102),r(962,"Enabled"),i(),t(963,"option",103),r(964,"Disabled"),i()()()(),t(965,"div",302),_(966,"br")(967,"br"),t(968,"div",303)(969,"div",106)(970,"div",304)(971,"div",111)(972,"div",24)(973,"label",305),r(974,"partialFileSize (In MB)"),i(),_(975,"input",306),i(),t(976,"div",24)(977,"label",307),r(978,"fileChunkableSize (In MB)"),i(),_(979,"input",308),i()()()()()()(),t(980,"div",15)(981,"div",23)(982,"legend",42),r(983,"Options"),i(),t(984,"div",218)(985,"div",309)(986,"c-form-check",56)(987,"input",310),E("ngModelChange",function(n){return d(l),f(e.legalHold,n)||(e.legalHold=n),c(n)}),i()()(),t(988,"span",311),r(989,"Legal Hold"),i()(),t(990,"div",24)(991,"div",115)(992,"span",312),_(993,"input",313),t(994,"label",314),r(995,"System Folders"),i()()()(),C(996,Mi,6,4,"div",315),t(997,"div",88)(998,"label",316),r(999,"Block assets which have not been heard from in"),i(),t(1e3,"div",15)(1001,"div",55)(1002,"c-form-check",56)(1003,"input",317),E("ngModelChange",function(n){return d(l),f(e.switchnoOfDaysToKeepDeviceNotHeard,n)||(e.switchnoOfDaysToKeepDeviceNotHeard=n),c(n)}),h("change",function(){return d(l),c(e.toggleDeviceNotHeard())}),i()()(),t(1004,"div",318)(1005,"input",319),E("ngModelChange",function(n){return d(l),f(e.noOfDaysToKeepDeviceNotHeard,n)||(e.noOfDaysToKeepDeviceNotHeard=n),c(n)}),h("blur",function(){return d(l),c(e.myFunctionnoOfDaysToKeepDeviceNotHeard())}),i(),t(1006,"span",320),r(1007),i()(),t(1008,"div",321)(1009,"label"),r(1010,"days"),i()()()(),t(1011,"div",88)(1012,"label",322),r(1013,"Delete users/assets which have not been active for"),i(),t(1014,"div",15)(1015,"div",55)(1016,"c-form-check",56)(1017,"input",323),E("ngModelChange",function(n){return d(l),f(e.switchnoOfDaysToKeepUserDeviceNotActive,n)||(e.switchnoOfDaysToKeepUserDeviceNotActive=n),c(n)}),h("change",function(){return d(l),c(e.toggleDeviceNotActive())}),i()()(),t(1018,"div",318)(1019,"input",324),E("ngModelChange",function(n){return d(l),f(e.noOfDaysToKeepUserDeviceNotActive,n)||(e.noOfDaysToKeepUserDeviceNotActive=n),c(n)}),h("blur",function(){return d(l),c(e.myFunctionnoOfDaysToKeepUserDeviceNotActive())}),i(),t(1020,"span",325),r(1021),i()(),t(1022,"div",321)(1023,"label"),r(1024,"days"),i()()()(),t(1025,"div",72)(1026,"label",326),r(1027,"Number of threads allowed for Backup"),i(),t(1028,"input",327),E("ngModelChange",function(n){return d(l),f(e.numberOfThreadsAllowedForBackup,n)||(e.numberOfThreadsAllowedForBackup=n),c(n)}),i()(),t(1029,"div",24)(1030,"label",328),r(1031,"Web Based Login"),i(),t(1032,"select",329),E("ngModelChange",function(n){return d(l),f(e.webBasedLogin,n)||(e.webBasedLogin=n),c(n)}),t(1033,"option",102),r(1034,"Enabled"),i(),t(1035,"option",103),r(1036,"Disabled"),i()()(),t(1037,"div",330)(1038,"label",331),r(1039,"Can Administrator Restore User Data"),i(),t(1040,"select",332),E("ngModelChange",function(n){return d(l),f(e.canAdminRestoreAll,n)||(e.canAdminRestoreAll=n),c(n)}),h("ngModelChange",function(){return d(l),c(e.flipAllowEndUserTocontrolRestore())}),t(1041,"option",333),r(1042,"Yes"),i(),t(1043,"option",333),r(1044,"No"),i()()(),t(1045,"div",334)(1046,"label",335),r(1047,"Allow end-user over-ride"),i(),t(1048,"select",336),E("ngModelChange",function(n){return d(l),f(e.allowEndUserTocontrolRestore,n)||(e.allowEndUserTocontrolRestore=n),c(n)}),t(1049,"option",333),r(1050,"Yes"),i(),t(1051,"option",333),r(1052,"No"),i()()(),t(1053,"div",330)(1054,"label",337),r(1055,"Can Administrator Delete User Data"),i(),t(1056,"select",338),E("ngModelChange",function(n){return d(l),f(e.isAdminDeleteBackupFile,n)||(e.isAdminDeleteBackupFile=n),c(n)}),t(1057,"option",333),r(1058,"Yes"),i(),t(1059,"option",333),r(1060,"No"),i()()(),C(1061,Ti,8,1,"div",339)(1062,Fi,10,1,"div",339),t(1063,"div",72)(1064,"label",340),r(1065,"Compression Enabled"),i(),t(1066,"select",341),E("ngModelChange",function(n){return d(l),f(e.compEnabled,n)||(e.compEnabled=n),c(n)}),t(1067,"option",102),r(1068,"Enabled"),i(),t(1069,"option",103),r(1070,"Disabled"),i()()(),t(1071,"div",342)(1072,"label",343),r(1073,"VSS"),i(),t(1074,"select",344),E("ngModelChange",function(n){return d(l),f(e.vssEnabled,n)||(e.vssEnabled=n),c(n)}),t(1075,"option",102),r(1076,"Enabled"),i(),t(1077,"option",103),r(1078,"Disabled"),i()()(),t(1079,"div",345)(1080,"label",346),r(1081,"Blukrypt Search Algorithm"),i(),t(1082,"select",347),E("ngModelChange",function(n){return d(l),f(e.searchAlgorithm,n)||(e.searchAlgorithm=n),c(n)}),h("change",function(){return d(l),c(e.onSearchAlgorithmChange())}),t(1083,"option",348),r(1084,"Nearest"),i(),t(1085,"option",349),r(1086,"Priority"),i()()(),C(1087,Pi,7,6,"div",350),t(1088,"div",24)(1089,"label",351),r(1090,"Policy Refresh Frequency (In Hours)"),i(),t(1091,"input",352),E("ngModelChange",function(n){return d(l),f(e.policyRefresh,n)||(e.policyRefresh=n),c(n)}),i(),t(1092,"span",353),r(1093),i()(),t(1094,"div",72)(1095,"label",354),r(1096,"Capture Unaccessed Items"),i(),t(1097,"div",58)(1098,"label",252)(1099,"input",355),E("ngModelChange",function(n){return d(l),f(e.switchlogUnaccessedFiles,n)||(e.switchlogUnaccessedFiles=n),c(n)}),i(),_(1100,"div",254),i()()(),t(1101,"div",24)(1102,"fieldset",281)(1103,"label",356),r(1104,"Endpoint Domain Check"),i(),t(1105,"div",58)(1106,"c-form-check",56)(1107,"input",357),E("ngModelChange",function(n){return d(l),f(e.switchAllowedDomains,n)||(e.switchAllowedDomains=n),c(n)}),i()()(),t(1108,"div",106)(1109,"label",358),r(1110,"Allowed Domains"),i(),t(1111,"input",359),E("ngModelChange",function(n){return d(l),f(e.allowedDomains,n)||(e.allowedDomains=n),c(n)}),i(),t(1112,"span",353),r(1113),i()()()(),t(1114,"div",24)(1115,"label",360),r(1116,"Auto Update Agent"),i(),t(1117,"select",361),E("ngModelChange",function(n){return d(l),f(e.autoUpdateAgent,n)||(e.autoUpdateAgent=n),c(n)}),t(1118,"option",98),r(1119,"Enabled"),i(),t(1120,"option",99),r(1121,"Disabled"),i()()(),t(1122,"div",24)(1123,"div",127)(1124,"label",106),r(1125,"Agent uninstallation password"),i(),t(1126,"div",55)(1127,"c-form-check",56)(1128,"input",362),E("ngModelChange",function(n){return d(l),f(e.isPasswordEnabled,n)||(e.isPasswordEnabled=n),c(n)}),h("ngModelChange",function(){return d(l),c(e.togglePasswordFields())}),i()()(),t(1129,"div",363)(1130,"input",364),E("ngModelChange",function(n){return d(l),f(e.agentPassword,n)||(e.agentPassword=n),c(n)}),i(),t(1131,"span",365),h("mousedown",function(){return d(l),c(e.showPassword("agentPassword"))})("mouseup",function(){return d(l),c(e.hidePassword("agentPassword"))})("mouseleave",function(){return d(l),c(e.hidePassword("agentPassword"))}),i(),C(1132,Bi,3,0,"div",18),t(1133,"input",366),E("ngModelChange",function(n){return d(l),f(e.agentRePassword,n)||(e.agentRePassword=n),c(n)}),h("ngModelChange",function(){return d(l),c(e.checkPasswordsMatch())}),i(),C(1134,xi,3,0,"div",18),i()()(),t(1135,"div",24)(1136,"label",367),r(1137,"Backup Hidden Files"),i(),t(1138,"select",368),E("ngModelChange",function(n){return d(l),f(e.canBackupHiddenFiles,n)||(e.canBackupHiddenFiles=n),c(n)}),t(1139,"option",102),r(1140,"Enabled"),i(),t(1141,"option",103),r(1142,"Disabled"),i()()(),t(1143,"div",369)(1144,"span",370)(1145,"p"),r(1146,"Fairness Algorithm"),i()(),t(1147,"div",371)(1148,"label",252),_(1149,"input",372)(1150,"div",254),i()(),t(1151,"div",58),_(1152,"input",373)(1153,"span",64),i()(),t(1154,"div",24)(1155,"label",374),r(1156,"Enable Download Agent"),i(),t(1157,"a",375),_(1158,"i",121),i(),t(1159,"select",376),E("ngModelChange",function(n){return d(l),f(e.downloadAgent,n)||(e.downloadAgent=n),c(n)}),t(1160,"option",102),r(1161,"Enabled"),i(),t(1162,"option",103),r(1163,"Disabled"),i()()(),t(1164,"div",24)(1165,"span",15)(1166,"p"),r(1167,"Purge deleted files from the catalog after"),i()(),t(1168,"div",377)(1169,"div",378)(1170,"c-form-check",56)(1171,"input",379),E("ngModelChange",function(n){return d(l),f(e.switchnoOfDaysToKeepDeletedFiles,n)||(e.switchnoOfDaysToKeepDeletedFiles=n),c(n)}),h("change",function(){return d(l),c(e.toggleDeletedFiles())}),i()()(),t(1172,"div",16)(1173,"input",380),E("ngModelChange",function(n){return d(l),f(e.noOfDaysToKeepDeletedFiles,n)||(e.noOfDaysToKeepDeletedFiles=n),c(n)}),h("blur",function(){return d(l),c(e.myFunctionnoOfDaysToKeepDeletedFiles())}),i(),t(1174,"span",381),r(1175),i()(),t(1176,"div",55),r(1177," days "),i()(),t(1178,"div",24)(1179,"span",15)(1180,"p"),r(1181,"User Consent Display Text"),i()(),t(1182,"div",377)(1183,"div",378)(1184,"c-form-check",56)(1185,"input",382),E("ngModelChange",function(n){return d(l),f(e.switchuserConsentEnabled,n)||(e.switchuserConsentEnabled=n),c(n)}),i()()(),t(1186,"div",363)(1187,"textarea",383),E("ngModelChange",function(n){return d(l),f(e.userConsentDisplayText,n)||(e.userConsentDisplayText=n),c(n)}),i()()()()(),t(1188,"div",15)(1189,"div",318)(1190,"label",384),r(1191,"Enable Pre Scan Command"),i(),_(1192,"br"),t(1193,"c-form-check",56)(1194,"input",385),E("ngModelChange",function(n){return d(l),f(e.preScanCommandEnabled,n)||(e.preScanCommandEnabled=n),c(n)}),h("change",function(){return d(l),c(e.togglePreScan())}),i()()(),t(1195,"div",386)(1196,"label",387),r(1197,"Pre Scan Command Path"),i(),t(1198,"input",388),E("ngModelChange",function(n){return d(l),f(e.preScanCommand,n)||(e.preScanCommand=n),c(n)}),h("input",function(){return d(l),c(e.checkPreScanCommand())}),i(),t(1199,"span",389),r(1200),i()(),t(1201,"div",390)(1202,"div",24)(1203,"label",391),r(1204,"Continue backup on command-failure"),i(),t(1205,"input",392),E("ngModelChange",function(n){return d(l),f(e.continueOnPreScan,n)||(e.continueOnPreScan=n),c(n)}),i()()()(),t(1206,"div",15)(1207,"div",318)(1208,"label",393),r(1209,"Enable Pre Backup Command"),i(),_(1210,"br"),t(1211,"c-form-check",56)(1212,"input",394),E("ngModelChange",function(n){return d(l),f(e.preBackupCommandEnabled,n)||(e.preBackupCommandEnabled=n),c(n)}),h("change",function(){return d(l),c(e.togglePreBackup())}),i()()(),t(1213,"div",386)(1214,"label",395),r(1215,"Pre Backup Command Path"),i(),t(1216,"input",396),E("ngModelChange",function(n){return d(l),f(e.preBackupCommand,n)||(e.preBackupCommand=n),c(n)}),h("input",function(){return d(l),c(e.checkPreBackupCommand())}),i(),t(1217,"span",397),r(1218),i()(),t(1219,"div",390)(1220,"div",24)(1221,"label",398),r(1222,"Continue backup on command-failure"),i(),t(1223,"input",399),E("ngModelChange",function(n){return d(l),f(e.continueOnPreBkp,n)||(e.continueOnPreBkp=n),c(n)}),i()()()(),t(1224,"div",15)(1225,"div",318)(1226,"label",400),r(1227,"Enable Post Backup Command"),i(),_(1228,"br"),t(1229,"c-form-check",56)(1230,"input",401),E("ngModelChange",function(n){return d(l),f(e.postBackupCommandEnabled,n)||(e.postBackupCommandEnabled=n),c(n)}),h("change",function(){return d(l),c(e.togglePostBackup())}),i()()(),t(1231,"div",386)(1232,"label",402),r(1233,"Post Backup Command Path"),i(),t(1234,"input",403),E("ngModelChange",function(n){return d(l),f(e.postBackupCommand,n)||(e.postBackupCommand=n),c(n)}),h("input",function(){return d(l),c(e.checkPostBackupCommand())}),i(),t(1235,"span",404),r(1236),i()(),t(1237,"div",390)(1238,"div",24)(1239,"label",405),r(1240,"Continue backup on command-failure"),i(),t(1241,"input",406),E("ngModelChange",function(n){return d(l),f(e.continueOnPostBkp,n)||(e.continueOnPostBkp=n),c(n)}),i()()()(),t(1242,"div",72)(1243,"label",407),r(1244,"Full Backup Enabled"),i(),t(1245,"select",408)(1246,"option",98),r(1247,"Enabled"),i(),t(1248,"option",99),r(1249,"Disabled"),i()()(),t(1250,"div",409)(1251,"label",410),r(1252,"Full Backup Start Date"),i(),_(1253,"input",411),i()()(),t(1254,"div",15)(1255,"div",23)(1256,"legend",42),r(1257,"Password Enforcement "),t(1258,"a",412),_(1259,"i",121),i()(),t(1260,"div",330)(1261,"label",413),r(1262,"Can User Change Password"),i(),t(1263,"select",414),E("ngModelChange",function(n){return d(l),f(e.canUserChangePassword,n)||(e.canUserChangePassword=n),c(n)}),t(1264,"option",415),r(1265,"Enabled"),i(),t(1266,"option",416),r(1267,"Disabled"),i()()(),t(1268,"div",330)(1269,"label",417),r(1270,"Can Admin Change User Password"),i(),t(1271,"select",418),E("ngModelChange",function(n){return d(l),f(e.canAdminChangeUserPassword,n)||(e.canAdminChangeUserPassword=n),c(n)}),t(1272,"option",416),r(1273,"Enabled"),i(),t(1274,"option",415),r(1275,"Disabled"),i()()()()(),t(1276,"div",15)(1277,"div",106)(1278,"c-callout",419),r(1279," Grayed out options are currently controlled in Cloud Properties. Please speak to you Administrator or visit the Cloud Properties page to change their behavior. "),_(1280,"br"),r(1281,"Both password enforcement options cannot be disabled at same time. "),i()()()()(),t(1282,"div",15)(1283,"div",16)(1284,"a",420),h("click",function(){return d(l),c(e.submitPolicy())}),r(1285,"Save"),i(),t(1286,"a",421),h("click",function(){return d(l),c(e.sendMeTo("/pms/policy"))}),r(1287,"Cancel"),i()()()()()()()(),t(1288,"div",422)(1289,"div",423)(1290,"div",424)(1291,"div",425)(1292,"div",426)(1293,"h4",427),r(1294,"Configure SQL Server123"),i()(),t(1295,"div",428)(1296,"div",88)(1297,"label",429),r(1298,"SQL Server User Name"),i(),t(1299,"input",430),E("ngModelChange",function(n){return d(l),f(e.serverUserName,n)||(e.serverUserName=n),c(n)}),i()(),t(1300,"div",88)(1301,"label",431),r(1302,"SQL Server Password"),i(),t(1303,"input",432),E("ngModelChange",function(n){return d(l),f(e.serverPassword,n)||(e.serverPassword=n),c(n)}),i(),t(1304,"span",433),h("mousedown",function(){return d(l),c(e.showPasswordSQL("serverPassword"))})("mouseup",function(){return d(l),c(e.hidePasswordSQL("serverPassword"))})("mouseleave",function(){return d(l),c(e.hidePasswordSQL("serverPassword"))}),i()(),t(1305,"div",88)(1306,"label",434),r(1307,"Re-Type SQL Server Password"),i(),t(1308,"input",435),E("ngModelChange",function(n){return d(l),f(e.serverRePassword,n)||(e.serverRePassword=n),c(n)}),i()()(),t(1309,"div",436)(1310,"button",437),h("click",function(){return d(l),c(e.closeSqlServerDetails())}),r(1311,"Close"),i(),t(1312,"button",438),h("click",function(){return d(l),c(e.addSqlServerDetails())}),r(1313,"Save"),i()()()()(),t(1314,"div",439)(1315,"div",424)(1316,"form",440)(1317,"div",441)(1318,"div",426)(1319,"h4",427),r(1320,"Confirm Add"),i(),t(1321,"button",442)(1322,"span",443),r(1323,"\xD7"),i()()(),t(1324,"div",428)(1325,"p"),r(1326,"Are you sure, you want to add the folder path"),i()(),t(1327,"div",436)(1328,"button",444),r(1329,"Close"),i(),t(1330,"button",445),r(1331,"Save"),i()()()()()(),t(1332,"div",446)(1333,"div",424)(1334,"form",447)(1335,"div",441)(1336,"div",426)(1337,"h4",427),r(1338,"Confirm Add"),i(),t(1339,"button",442)(1340,"span",443),r(1341,"\xD7"),i()()(),t(1342,"div",428)(1343,"p"),r(1344,"Are you sure, you want to add the folder path"),i()(),t(1345,"div",436)(1346,"button",444),r(1347,"Close"),i(),t(1348,"button",445),r(1349,"Save"),i()()()()()(),t(1350,"div",439)(1351,"div",424)(1352,"form",440)(1353,"div",441)(1354,"div",426)(1355,"h4",427),r(1356,"Confirm Add"),i(),t(1357,"button",442)(1358,"span",443),r(1359,"\xD7"),i()()(),t(1360,"div",428)(1361,"p"),r(1362,"Are you sure, you want to add the folder path"),i()(),t(1363,"div",436)(1364,"button",444),r(1365,"Close"),i(),t(1366,"button",445),r(1367,"Save"),i()()()()()(),t(1368,"div",446)(1369,"div",424)(1370,"form",447)(1371,"div",441)(1372,"div",426)(1373,"h4",427),r(1374,"Confirm Add"),i(),t(1375,"button",442)(1376,"span",443),r(1377,"\xD7"),i()()(),t(1378,"div",428)(1379,"p"),r(1380,"Are you sure, you want to add the folder path"),i()(),t(1381,"div",436)(1382,"button",444),r(1383,"Close"),i(),t(1384,"button",445),r(1385,"Save"),i()()()()()(),t(1386,"div",448)(1387,"div",424)(1388,"form",449)(1389,"div",441)(1390,"div",426)(1391,"h4",427),r(1392,"Confirm Add"),i(),t(1393,"button",442)(1394,"span",443),r(1395,"\xD7"),i()()(),t(1396,"div",428)(1397,"p"),r(1398,"Are you sure, you want to add the folder path"),i()(),t(1399,"div",436)(1400,"button",444),r(1401,"Close"),i(),t(1402,"button",445),r(1403,"Save"),i()()()()()()(),t(1404,"div",450)(1405,"div",451)(1406,"div",425)(1407,"div",452)(1408,"h4",453),r(1409,"Create Schedule"),i(),t(1410,"a",454),h("click",function(){return d(l),c(e.closeSchCreateModal())}),_(1411,"i",455),i()(),t(1412,"form",19,3),h("ngSubmit",function(){d(l);let n=x(1413);return c(e.submitCreateSchedule(n))}),t(1414,"div",428)(1415,"div",24)(1416,"label",456),r(1417,"Schedule Name"),i(),t(1418,"input",457,4),E("ngModelChange",function(n){return d(l),f(e.scheduleModel.scheduleName,n)||(e.scheduleModel.scheduleName=n),c(n)}),h("input",function(){return d(l),c(e.validateScheduleName())}),i(),C(1420,Vi,2,1,"div",27)(1421,Li,2,1,"small",27),i(),t(1422,"div",24)(1423,"label",458),r(1424,"Schedule Start Time"),i(),t(1425,"timepicker",459),E("ngModelChange",function(n){return d(l),f(e.myTime,n)||(e.myTime=n),c(n)}),h("ngModelChange",function(){return d(l),c(e.validateTime())}),i()(),t(1426,"div",460)(1427,"label",123),r(1428,"Days"),i(),t(1429,"mat-form-field",461)(1430,"mat-select",462,5),E("ngModelChange",function(n){return d(l),f(e.scheduleDaysList,n)||(e.scheduleDaysList=n),c(n)}),h("selectionChange",function(){return d(l),c(e.onScheduleDayChange())}),t(1432,"mat-option",416),r(1433,"Sunday"),i(),t(1434,"mat-option",416),r(1435,"Monday"),i(),t(1436,"mat-option",416),r(1437,"Tuesday"),i(),t(1438,"mat-option",416),r(1439,"Wednesday"),i(),t(1440,"mat-option",416),r(1441,"Thursday"),i(),t(1442,"mat-option",416),r(1443,"Friday"),i(),t(1444,"mat-option",416),r(1445,"Saturday"),i()()(),r(1446," - "),t(1447,"button",463),h("click",function(){return d(l),c(e.toggleSelectAllDays())}),r(1448),i()()(),t(1449,"div",436)(1450,"button",437),h("click",function(){return d(l),c(e.closeSchCreateModal())}),r(1451,"Close"),i(),t(1452,"button",464),r(1453,"Save changes"),i()()()()()(),t(1454,"div",465)(1455,"div",451)(1456,"div",425)(1457,"div",426)(1458,"h4",453),r(1459,"Confirmation"),i()(),t(1460,"div",428)(1461,"h4"),r(1462,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),i()(),t(1463,"div",436)(1464,"button",437),h("click",function(){return d(l),c(e.closeScheduleConfPopup())}),r(1465,"Cancel"),i(),t(1466,"button",466),h("click",function(){return d(l),c(e.getParticularSchedule())}),r(1467,"Ok"),i()()()()(),t(1468,"div",467)(1469,"div",451)(1470,"div",425)(1471,"div",452)(1472,"h4",453),r(1473,"Edit Schedule"),i(),t(1474,"a",454),h("click",function(){return d(l),c(e.closeEditModal())}),_(1475,"i",455),i()(),t(1476,"form",19,6),h("ngSubmit",function(){d(l);let n=x(1477);return c(e.submitEditSchedule(n))}),t(1478,"div",428)(1479,"div",24)(1480,"label",456),r(1481,"Schedule Name"),i(),_(1482,"input",468),i(),t(1483,"div",24)(1484,"label",458),r(1485,"Schedule Start Time"),i(),t(1486,"timepicker",459),E("ngModelChange",function(n){return d(l),f(e.myTime,n)||(e.myTime=n),c(n)}),h("ngModelChange",function(){return d(l),c(e.validateTime())}),i()(),t(1487,"div",460)(1488,"label",123),r(1489,"Days"),i(),t(1490,"mat-form-field",469)(1491,"mat-select",462,7),E("ngModelChange",function(n){return d(l),f(e.scheduleDaysListEdit,n)||(e.scheduleDaysListEdit=n),c(n)}),h("selectionChange",function(){return d(l),c(e.onScheduleDayChangeEdit())}),t(1493,"mat-option",416),r(1494,"Sunday"),i(),t(1495,"mat-option",416),r(1496,"Monday"),i(),t(1497,"mat-option",416),r(1498,"Tuesday"),i(),t(1499,"mat-option",416),r(1500,"Wednesday"),i(),t(1501,"mat-option",416),r(1502,"Thursday"),i(),t(1503,"mat-option",416),r(1504,"Friday"),i(),t(1505,"mat-option",416),r(1506,"Saturday"),i()()(),r(1507," - "),t(1508,"button",463),h("click",function(){return d(l),c(e.toggleSelectAllDaysEdit())}),r(1509),i()()(),t(1510,"div",436)(1511,"button",437),h("click",function(){return d(l),c(e.closeEditModal())}),r(1512,"Close"),i(),t(1513,"button",464),r(1514,"Save changes"),i()()()()()(),t(1515,"div",465)(1516,"div",451)(1517,"div",425)(1518,"div",426)(1519,"h4",453),r(1520,"Confirmation"),i()(),t(1521,"div",428)(1522,"h4"),r(1523,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),i()(),t(1524,"div",436)(1525,"button",437),h("click",function(){return d(l),c(e.closeNoBackupScheduleConfPopup())}),r(1526,"Cancel"),i(),t(1527,"button",466),h("click",function(){return d(l),c(e.getParticularNoBackupSchedule())}),r(1528,"Ok"),i()()()()(),t(1529,"div",470)(1530,"div",451)(1531,"div",425)(1532,"div",452)(1533,"h4",453),r(1534,"Create Schedule"),i(),t(1535,"a",454),h("click",function(){return d(l),c(e.closeNoBackupSchCreateModal())}),_(1536,"i",455),i()(),t(1537,"form",19,8),h("ngSubmit",function(){d(l);let n=x(1538);return c(e.submitCreateNoBackupSchedule(n))}),t(1539,"div",428)(1540,"div",24)(1541,"label",456),r(1542,"Schedule Name"),i(),t(1543,"input",471,4),E("ngModelChange",function(n){return d(l),f(e.nobackupscheduleModel.scheduleName,n)||(e.nobackupscheduleModel.scheduleName=n),c(n)}),i(),C(1545,Ii,3,2,"div",27),i(),t(1546,"div",24)(1547,"label",458),r(1548,"Schedule Start Time "),t(1549,"a",472),_(1550,"i",121),i()(),t(1551,"timepicker",459),E("ngModelChange",function(n){return d(l),f(e.nobackupmyTime,n)||(e.nobackupmyTime=n),c(n)}),h("ngModelChange",function(){return d(l),c(e.validateTimeNBST())}),i()(),t(1552,"div",24)(1553,"label",458),r(1554,"Schedule End Time "),t(1555,"a",472),_(1556,"i",121),i()(),t(1557,"timepicker",459),E("ngModelChange",function(n){return d(l),f(e.nobackupmyTimeEnd,n)||(e.nobackupmyTimeEnd=n),c(n)}),h("ngModelChange",function(){return d(l),c(e.validateTimeNBET())}),i()(),t(1558,"div",460)(1559,"label",123),r(1560,"Days"),i(),t(1561,"mat-form-field",473)(1562,"mat-select",462,9),E("ngModelChange",function(n){return d(l),f(e.nobackupscheduleDaysList,n)||(e.nobackupscheduleDaysList=n),c(n)}),h("selectionChange",function(){return d(l),c(e.onNoBackupScheduleDayChange())}),t(1564,"mat-option",416),r(1565,"Sunday"),i(),t(1566,"mat-option",416),r(1567,"Monday"),i(),t(1568,"mat-option",416),r(1569,"Tuesday"),i(),t(1570,"mat-option",416),r(1571,"Wednesday"),i(),t(1572,"mat-option",416),r(1573,"Thursday"),i(),t(1574,"mat-option",416),r(1575,"Friday"),i(),t(1576,"mat-option",416),r(1577,"Saturday"),i()()(),r(1578," - "),t(1579,"button",463),h("click",function(){return d(l),c(e.toggleSelectAllDaysNoBackup())}),r(1580),i()()(),t(1581,"div",436)(1582,"button",437),h("click",function(){return d(l),c(e.closeNoBackupSchCreateModal())}),r(1583,"Close"),i(),t(1584,"button",464),r(1585,"Save changes"),i()()()()()(),t(1586,"div",474)(1587,"div",451)(1588,"div",425)(1589,"div",452)(1590,"h4",453),r(1591,"Edit Schedule"),i(),t(1592,"a",454),h("click",function(){return d(l),c(e.closeEditModal())}),_(1593,"i",455),i()(),t(1594,"form",19,6),h("ngSubmit",function(){d(l);let n=x(1477);return c(e.submitEditNoBackupSchedule(n))}),t(1596,"div",428)(1597,"div",24)(1598,"label",456),r(1599,"Schedule Name"),i(),_(1600,"input",475),i(),t(1601,"div",24)(1602,"label",458),r(1603,"Schedule Start Time "),t(1604,"a",472),_(1605,"i",121),i()(),t(1606,"timepicker",476),E("ngModelChange",function(n){return d(l),f(e.nobackupmyTime,n)||(e.nobackupmyTime=n),c(n)}),h("ngModelChange",function(){return d(l),c(e.validateTimeNBST())}),i()(),t(1607,"div",24)(1608,"label",458),r(1609,"Schedule End Time "),t(1610,"a",472),_(1611,"i",121),i()(),t(1612,"timepicker",476),E("ngModelChange",function(n){return d(l),f(e.nobackupmyTimeEnd,n)||(e.nobackupmyTimeEnd=n),c(n)}),h("ngModelChange",function(){return d(l),c(e.validateTimeNBET())}),i()(),t(1613,"div",460)(1614,"label",123),r(1615,"Days"),i(),t(1616,"mat-form-field",477)(1617,"mat-select",478,10),E("ngModelChange",function(n){return d(l),f(e.nobackupscheduleDaysListEdit,n)||(e.nobackupscheduleDaysListEdit=n),c(n)}),h("selectionChange",function(){return d(l),c(e.onNoBackupScheduleDayChangeEdit())}),t(1619,"mat-option",416),r(1620,"Sunday"),i(),t(1621,"mat-option",416),r(1622,"Monday"),i(),t(1623,"mat-option",416),r(1624,"Tuesday"),i(),t(1625,"mat-option",416),r(1626,"Wednesday"),i(),t(1627,"mat-option",416),r(1628,"Thursday"),i(),t(1629,"mat-option",416),r(1630,"Friday"),i(),t(1631,"mat-option",416),r(1632,"Saturday"),i()()(),r(1633," - "),t(1634,"button",463),h("click",function(){return d(l),c(e.toggleSelectAllDaysEditNoBackup())}),r(1635),i()()(),t(1636,"div",436)(1637,"button",437),h("click",function(){return d(l),c(e.closeNoBackupEditModal())}),r(1638,"Close"),i(),t(1639,"button",464),r(1640,"Save changes"),i()()()()()(),t(1641,"div",465)(1642,"div",451)(1643,"div",425)(1644,"div",426)(1645,"h4",453),r(1646,"Confirmation"),i()(),t(1647,"div",428)(1648,"h4"),r(1649,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),i()(),t(1650,"div",436)(1651,"button",437),h("click",function(){return d(l),c(e.closeConfFilterPopup())}),r(1652,"Cancel"),i(),t(1653,"button",466),h("click",function(){return d(l),c(e.getFilter())}),r(1654,"Ok"),i()()()()(),t(1655,"div",479)(1656,"div",451)(1657,"div",425)(1658,"div",452)(1659,"h4",453),r(1660,"Create Filter"),i(),t(1661,"a",454),h("click",function(){return d(l),c(e.closeCreateFilterModal())}),_(1662,"i",455),i()(),t(1663,"div",428)(1664,"div",24)(1665,"label",456),r(1666,"Filter Name"),i(),t(1667,"input",480),E("ngModelChange",function(n){return d(l),f(e.filterModel.filterName,n)||(e.filterModel.filterName=n),c(n)}),h("input",function(){return d(l),c(e.validateFilterName())}),i(),C(1668,Oi,2,1,"small",30),i(),t(1669,"div",72)(1670,"label",481),r(1671,"Filter Type"),i(),t(1672,"select",482),E("ngModelChange",function(n){return d(l),f(e.filterModel.filterType,n)||(e.filterModel.filterType=n),c(n)}),t(1673,"option",483),r(1674,"Inclusion Filter"),i(),t(1675,"option",484),r(1676,"Exclusion Filter"),i()()(),t(1677,"div",24)(1678,"label",458),r(1679,"Select Filter Template"),i(),t(1680,"mat-form-field",52)(1681,"mat-select",478,11),E("ngModelChange",function(n){return d(l),f(e.checkedList,n)||(e.checkedList=n),c(n)}),h("selectionChange",function(){return d(l),c(e.onFilterCreateChange())}),C(1683,Wi,2,2,"mat-option",47),i()()(),t(1684,"div",24)(1685,"label",123),r(1686,"Filters"),i(),t(1687,"a",485),_(1688,"i",121),i(),t(1689,"div",486)(1690,"span",487),C(1691,Ri,4,1,"span",488),i(),t(1692,"input",489),E("ngModelChange",function(n){return d(l),f(e.newFilterExtensionCreate,n)||(e.newFilterExtensionCreate=n),c(n)}),h("blur",function(){return d(l),c(e.handleBlur())})("keyup.enter",function(){return d(l),c(e.handleKeyUp())}),i()(),_(1693,"br"),i()(),t(1694,"div",436)(1695,"button",437),h("click",function(){return d(l),c(e.closeCreateFilterModal())}),r(1696,"Close"),i(),t(1697,"button",438),h("click",function(){return d(l),c(e.submitCreateFilter())}),r(1698,"Save changes"),i()()()()(),t(1699,"div",490)(1700,"div",451)(1701,"div",425)(1702,"div",452)(1703,"h4",453),r(1704,"Edit Filter"),i(),t(1705,"a",454),h("click",function(){return d(l),c(e.closeEditFilterModal())}),_(1706,"i",455),i()(),t(1707,"div",428)(1708,"div",24)(1709,"label",456),r(1710,"Filter Name"),i(),t(1711,"input",491),E("ngModelChange",function(n){return d(l),f(e.filterEditModel.filterName,n)||(e.filterEditModel.filterName=n),c(n)}),i()(),t(1712,"div",72)(1713,"label",481),r(1714,"Filter Type"),i(),t(1715,"select",482),E("ngModelChange",function(n){return d(l),f(e.filterEditModel.filterType,n)||(e.filterEditModel.filterType=n),c(n)}),t(1716,"option",483),r(1717,"Inclusion Filter"),i(),t(1718,"option",484),r(1719,"Exclusion Filter"),i()()(),t(1720,"div",24)(1721,"label",458),r(1722,"Select Filter Template"),i(),t(1723,"mat-form-field",52)(1724,"mat-select",478,12),E("ngModelChange",function(n){return d(l),f(e.checkedList,n)||(e.checkedList=n),c(n)}),h("selectionChange",function(){return d(l),c(e.onFilterChangeEdit())}),C(1726,qi,2,2,"mat-option",47),i()()(),t(1727,"div",24)(1728,"label",123),r(1729,"Filters"),i(),t(1730,"a",492),_(1731,"i",121),i(),_(1732,"br"),t(1733,"div",493),C(1734,zi,4,1,"span",494),t(1735,"input",495),E("ngModelChange",function(n){return d(l),f(e.newFilterExtensionEdit,n)||(e.newFilterExtensionEdit=n),c(n)}),h("blur",function(){return d(l),c(e.handleBlurEdit())})("keyup.enter",function(){return d(l),c(e.handleKeyUpEdit())}),i()()()(),t(1736,"div",436)(1737,"button",437),h("click",function(){return d(l),c(e.closeEditFilterModal())}),r(1738,"Close"),i(),t(1739,"button",438),h("click",function(){return d(l),c(e.submitEditFilter())}),r(1740,"Save changes"),i()()()()(),t(1741,"div",496)(1742,"div",451)(1743,"div",425)(1744,"div",426)(1745,"h4",453),r(1746,"Confirmation"),i()(),t(1747,"div",428)(1748,"h4"),r(1749,"Will be effective on next policy refresh, for immediate effect manually refresh policy."),i()(),t(1750,"div",436)(1751,"button",437),h("click",function(){return d(l),c(e.closePolicySaveConfirmPopup())}),r(1752,"Cancel"),i(),t(1753,"button",466),h("click",function(){d(l);let n=x(9);return c(e.submitEditPolicy(n))}),r(1754,"Ok"),i()()()()()}if(m&2){let l=x(25),s=x(78),n=x(1419);a(4),p("ngIf",e.parent!=""),a(),p("ngIf",e.child!=""),a(),p("ngIf",e.subchild!=""),a(18),g("ngModel",e.policygroupName),a(3),p("ngIf",l.invalid&&l.dirty),a(9),g("ngModel",e.description),a(2),p("ngIf",e.description.length>0&&e.description.length<5),a(2),p("ngIf",e.description.length>0&&e.description.length>512),a(8),g("ngModel",e.policyStorageSizeAllowed),a(5),g("ngModel",e.policyUsersAllowed),a(5),p("ngIf",e.inclusionLicenses.includes("msp_environment_enabled")),a(5),p("cTabContent",s)("tabPaneIdx",0),a(3),p("cTabContent",s)("tabPaneIdx",1),a(3),p("cTabContent",s)("tabPaneIdx",2),a(3),p("cTabContent",s)("tabPaneIdx",3),a(3),p("cTabContent",s)("tabPaneIdx",4),a(2),p("activeTabPaneIdx",0),a(14),g("ngModel",e.checkedListSchedule),p("ngModelOptions",b(378,k)),a(),p("ngForOf",e.schedules),a(4),p("ngIf",e.defaultSchedules.length>=1),a(8),g("ngModel",e.checkedListNoBackupSchedule),p("ngModelOptions",b(379,k)),a(),p("ngForOf",e.noBackupSchedules),a(2),p("ngIf",e.defaultNoBackupSchedules.length>=1),a(7),p("switch",!0),a(),g("ngModel",e.isVersionEnabled),p("ngModelOptions",b(380,k)),a(2),g("ngModel",e.versions),p("disabled",!e.isVersionEnabled),a(2),w(e.verError),a(6),p("switch",!0),a(),g("ngModel",e.isSizeEnabled),p("ngModelOptions",b(381,k)),a(2),g("ngModel",e.maxPermissibleFileSize),p("disabled",!e.isSizeEnabled),a(2),w(e.sizeError),a(6),p("switch",!0),a(),g("ngModel",e.isLimitEnabled),p("ngModelOptions",b(382,k)),a(2),g("ngModel",e.perUserBackupStorageLimit),p("disabled",!e.isLimitEnabled),a(2),w(e.limitError),a(8),g("ngModel",e.noOfDevicesAllowed),a(2),w(e.deviceAllowedError),a(4),g("ngModel",e.osType),a(7),g("ngModel",e.defaultFoldersBackup),a(3),p("ngIf",e.inclusionLicenses.includes("issqlbkpenabled")),a(4),g("ngModel",e.serverUserNameToSave),a(4),g("ngModel",e.serverPasswordToSave),a(5),g("ngModel",e.exclusionFolderName),a(8),g("ngModel",e.exceptionFolderName),a(6),g("ngModel",e.memoryUtilization),a(4),g("ngModel",e.cpuUtilization),a(4),g("ngModel",e.dcmEnabled),a(8),g("ngModel",e.clientDedup),a(23),p("ngIf",e.defaultUniversalFolders.length>=1),a(),p("ngIf",e.defaultUniversalFolders.length<=0),a(6),p("ngIf",e.inclusionLicenses.includes("issqlbkpenabled")),a(9),p("ngIf",e.userExcludedFoldersUniversal.length>=1),a(),p("ngIf",e.userExcludedFoldersUniversal.length<=0),a(10),p("ngIf",e.userExceptionsFoldersUniversal.length>=1),a(),p("ngIf",e.userExceptionsFoldersUniversal.length<=0),a(15),g("ngModel",e.filterType),a(),p("selected",e.inclusionFilter),a(2),p("selected",!e.inclusionFilter),a(3),p("ngIf",e.inclusionFilter),a(),p("ngIf",!e.inclusionFilter),a(2),g("ngModel",e.checkedListFilter),p("ngModelOptions",b(383,k)),a(),p("ngForOf",e.filters),a(3),p("switch",!0),a(),p("ngModelOptions",b(384,k)),g("ngModel",e.applyFilterToExceptionsToExclusion),a(6),p("ngIf",e.defaultFilters.length>=1),a(8),g("ngModel",e.createUserAdmins),a(7),g("ngModel",e.createUserReadonlyadmins),a(9),g("ngModel",e.createUserUsers),a(7),g("ngModel",e.userDeletedAdmins),a(7),g("ngModel",e.userDeletedReadonlyadmins),a(9),g("ngModel",e.userDeletedUsers),a(7),g("ngModel",e.userBlockedAdmins),a(7),g("ngModel",e.userBlockedReadonlyadmins),a(9),g("ngModel",e.userBlockedUsers),a(7),g("ngModel",e.userLimitReachedAdmins),a(7),g("ngModel",e.userLimitReachedReadonlyadmins),a(9),g("ngModel",e.userLimitReachedUsers),a(7),g("ngModel",e.deviceDeletedAdmins),a(7),g("ngModel",e.deviceDeletedReadonlyadmins),a(9),g("ngModel",e.deviceDeletedUsers),a(7),g("ngModel",e.deviceBlockedAdmins),a(7),g("ngModel",e.deviceBlockedReadonlyadmins),a(9),g("ngModel",e.deviceBlockedUsers),a(7),g("ngModel",e.deviceDecoupledAdmins),a(7),g("ngModel",e.deviceDecoupledReadonlyadmins),a(9),g("ngModel",e.deviceDecoupledUsers),a(7),g("ngModel",e.deviceLimitReachedAdmins),a(7),g("ngModel",e.deviceLimitReachedReadonlyadmins),a(9),g("ngModel",e.deviceLimitReachedUsers),a(7),g("ngModel",e.weeklyBkpreportAdmins),a(7),g("ngModel",e.weeklyBkpreportReadonlyadmins),a(9),g("ngModel",e.weeklyBkpreportUsers),a(7),g("ngModel",e.firstBkpCompletedAdmins),a(7),g("ngModel",e.firstBkpCompletedReadonlyadmins),a(9),g("ngModel",e.firstBkpCompletedUsers),a(7),g("ngModel",e.restoreInitiatedAdmins),a(7),g("ngModel",e.restoreInitiatedReadonlyadmins),a(9),g("ngModel",e.restoreInitiatedUsers),a(7),g("ngModel",e.restoreCompletedAdmins),a(7),g("ngModel",e.restoreCompletedReadonlyadmins),a(9),g("ngModel",e.restoreCompletedUsers),a(7),g("ngModel",e.storageLimitReachedAdmins),a(7),g("ngModel",e.storageLimitReachedReadonlyadmins),a(9),g("ngModel",e.storageLimitReachedUsers),a(16),g("ngModel",e.preferencesEdit.BACKUP_FILES),a(8),g("ngModel",e.preferencesEdit.BACKUP_SETTINGS),a(8),g("ngModel",e.preferencesEdit.INTIATE_BACKUP),a(8),g("ngModel",e.preferencesEdit.STOP_BACKUP),a(8),g("ngModel",e.preferencesEdit.SUPPORT),a(8),g("ngModel",e.preferencesEdit.ABOUT),a(8),g("ngModel",e.preferencesEdit.BLOCK_NOTIFICATIONS),a(8),g("ngModel",e.preferencesEdit.SYSTRAYICON),a(9),g("ngModel",e.preferencesEdit.RESTORE),a(8),g("ngModel",e.preferencesEdit.REFRESH_BACKUP_POLICY),a(8),g("ngModel",e.preferencesEdit.PAUSE_BACKUP),a(8),g("ngModel",e.preferencesEdit.UPDATE_AGENT),a(8),g("ngModel",e.preferencesEdit.DECOUPLE),a(8),g("ngModel",e.preferencesEdit.NETWORK_SETTINGS),a(8),g("ngModel",e.preferencesEdit.DISALLOW_ADMIN_RESTORES),a(8),g("ngModel",e.preferencesEdit.EXIT),a(15),g("ngModel",e.menuOptionsEdit.open),a(8),g("ngModel",e.menuOptionsEdit.versions),a(8),g("ngModel",e.menuOptionsEdit.download),a(9),g("ngModel",e.menuOptionsEdit.view),a(8),g("ngModel",e.menuOptionsEdit.share),a(8),g("ngModel",e.menuOptionsEdit.restore),a(82),g("ngModel",e.contentIndexEnabled),a(17),g("ngModel",e.searchFilterType),a(),p("selected",e.inclusionSearchFilter),a(2),p("selected",!e.inclusionSearchFilter),a(3),p("ngIf",e.inclusionSearchFilter),a(),p("ngIf",e.exclusionSearchFilter),a(2),g("ngModel",e.checkedListSearchFilter),p("ngModelOptions",b(385,k)),a(),p("ngForOf",e.searchfilters),a(4),p("ngIf",e.defaultSearchFilters.length>=1),a(22),p("switch",!0),a(),g("ngModel",e.isThrottleEnabled),p("ngModelOptions",b(386,k)),a(3),g("ngModel",e.nwFromClientToPGMB),p("disabled",!e.isThrottleEnabled),a(2),w(e.switchError),a(2),w(e.switchWarning),a(2),g("ngModel",e.networkThrottlingUnit),p("disabled",!e.isThrottleEnabled),a(12),g("ngModel",e.cpuThrottling),a(4),w(e.cpuThrottling),a(38),p("switch",!0),a(),p("ngModelOptions",b(387,k)),g("ngModel",e.legalHold),a(9),p("ngIf",e.inclusionLicenses.includes("rwdetectionenabled")),a(6),p("switch",!0),a(),p("ngModelOptions",b(388,k)),g("ngModel",e.switchnoOfDaysToKeepDeviceNotHeard),a(2),g("ngModel",e.noOfDaysToKeepDeviceNotHeard),a(2),w(e.deviceNotHeardError),a(9),p("switch",!0),a(),g("ngModel",e.switchnoOfDaysToKeepUserDeviceNotActive),p("ngModelOptions",b(389,k)),a(2),g("ngModel",e.noOfDaysToKeepUserDeviceNotActive),p("disabled",!e.switchnoOfDaysToKeepUserDeviceNotActive),a(2),w(e.deviceNotActiveError),a(7),g("ngModel",e.numberOfThreadsAllowedForBackup),a(4),g("ngModel",e.webBasedLogin),a(5),p("ngStyle",H(390,Z,e.overridePolicySettings?"none":"auto",e.overridePolicySettings?"0.4":"1")),a(3),g("ngModel",e.canAdminRestoreAll),p("ngClass",T(393,$,e.overridePolicySettings)),a(),p("ngValue",!0),a(2),p("ngValue",!1),a(2),p("ngStyle",H(395,Z,e.overridePolicySettings||!e.canAdminRestoreAll?"none":"auto",e.overridePolicySettings||!e.canAdminRestoreAll?"0.5":"1")),a(3),g("ngModel",e.allowEndUserTocontrolRestore),p("ngClass",T(398,$,e.overridePolicySettings)),a(),p("ngValue",!0),a(2),p("ngValue",!1),a(2),p("ngStyle",H(400,Z,e.overridePolicySettings||!e.canAdminRestoreAll?"none":"auto",e.overridePolicySettings||!e.canAdminRestoreAll?"0.5":"1")),a(3),g("ngModel",e.isAdminDeleteBackupFile),p("ngClass",T(403,$,e.overridePolicySettings)),a(),p("ngValue",!0),a(2),p("ngValue",!1),a(2),p("ngIf",e.storage_type=="GOOGLE_DRIVE"||e.storage_type=="ONE_DRIVE"),a(),p("ngIf",e.storage_type=="ANY"||e.storage_type=="AZURE"),a(4),g("ngModel",e.compEnabled),a(8),g("ngModel",e.vssEnabled),a(5),X("display",e.userType=="superAdmin"?"block":"none"),a(3),g("ngModel",e.searchAlgorithm),a(5),p("ngIf",e.searchAlgorithm==="PRIORITY"),a(4),g("ngModel",e.policyRefresh),a(2),w(e.policyRefreshError),a(6),g("ngModel",e.switchlogUnaccessedFiles),a(7),p("switch",!0),a(),p("ngModelOptions",b(405,k)),g("ngModel",e.switchAllowedDomains),a(4),g("ngModel",e.allowedDomains),p("disabled",!e.switchAllowedDomains),a(2),w(e.domainError),a(4),g("ngModel",e.autoUpdateAgent),a(10),p("switch",!0),a(),g("ngModel",e.isPasswordEnabled),a(2),g("ngModel",e.agentPassword),p("required",e.isPasswordEnabled)("disabled",!e.isPasswordEnabled),a(),p("ngClass",H(406,bt,e.isPasswordVisible,!e.isPasswordVisible)),a(),p("ngIf",e.isPasswordEnabled&&e.agentPassword.length<5),a(),g("ngModel",e.agentRePassword),p("required",e.isPasswordEnabled)("disabled",!e.isPasswordEnabled),a(),p("ngIf",e.isPasswordEnabled&&e.passwordsDoNotMatch),a(4),g("ngModel",e.canBackupHiddenFiles),a(21),g("ngModel",e.downloadAgent),a(11),p("switch",!0),a(),p("ngModelOptions",b(409,k)),g("ngModel",e.switchnoOfDaysToKeepDeletedFiles),a(2),g("ngModel",e.noOfDaysToKeepDeletedFiles),p("disabled",!e.switchnoOfDaysToKeepDeletedFiles),a(2),w(e.deletedFilesError),a(3),X("display",e.showUserConsentFieldInPolicies?"block":"none"),a(6),p("switch",!0),a(),p("ngModelOptions",b(410,k)),g("ngModel",e.switchuserConsentEnabled),a(2),g("ngModel",e.userConsentDisplayText),p("disabled",!e.switchuserConsentEnabled),a(6),p("switch",!0),a(),p("ngModelOptions",b(411,k)),g("ngModel",e.preScanCommandEnabled),a(4),g("ngModel",e.preScanCommand),p("disabled",!e.preScanCommandEnabled),a(2),w(e.preScanError),a(5),g("ngModel",e.continueOnPreScan),p("disabled",!e.preScanCommandEnabled),a(6),p("switch",!0),a(),p("ngModelOptions",b(412,k)),g("ngModel",e.preBackupCommandEnabled),a(4),g("ngModel",e.preBackupCommand),p("disabled",!e.preBackupCommandEnabled),a(2),w(e.preBackupError),a(5),g("ngModel",e.continueOnPreBkp),p("disabled",!e.preBackupCommandEnabled),a(6),p("switch",!0),a(),p("ngModelOptions",b(413,k)),g("ngModel",e.postBackupCommandEnabled),a(4),g("ngModel",e.postBackupCommand),p("disabled",!e.postBackupCommandEnabled),a(2),w(e.postBackupError),a(5),g("ngModel",e.continueOnPostBkp),p("disabled",!e.postBackupCommandEnabled),a(19),p("ngStyle",H(414,Z,e.passwordChangeEnforce?"none":"auto",e.passwordChangeEnforce?"0.4":"1")),a(3),g("ngModel",e.canUserChangePassword),p("ngClass",T(417,$,e.passwordChangeEnforce)),a(),p("value",!0),a(2),p("value",!1),a(2),p("ngStyle",H(419,Z,e.passwordChangeEnforce?"none":"auto",e.passwordChangeEnforce?"0.4":"1")),a(3),g("ngModel",e.canAdminChangeUserPassword),p("ngClass",T(422,$,e.passwordChangeEnforce)),a(),p("value",!0),a(2),p("value",!1),a(15),p("ngStyle",T(424,L,e.displayConfigSQLStyle)),a(10),g("ngModel",e.serverUserName),a(4),g("ngModel",e.serverPassword),a(),p("ngClass",H(426,bt,e.isPasswordVisible,!e.isPasswordVisible)),a(4),g("ngModel",e.serverRePassword),a(96),p("ngStyle",T(429,L,e.displaySchCreateStyle)),a(14),p("ngClass",T(431,kt,e.invalidScheduleName)),g("ngModel",e.scheduleModel.scheduleName),a(2),p("ngIf",n.invalid&&(n.dirty||n.touched)),a(),p("ngIf",e.invalidScheduleName),a(4),g("ngModel",e.myTime),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",b(433,k)),a(5),g("ngModel",e.scheduleDaysList),p("ngModelOptions",b(434,k)),a(2),p("value","1"),a(2),p("value","2"),a(2),p("value","3"),a(2),p("value","4"),a(2),p("value","5"),a(2),p("value","6"),a(2),p("value","7"),a(4),M(" ",e.showDaily?"Daily":"De Select All"," "),a(6),p("ngStyle",T(435,L,e.displayScheduleConfStyle)),a(14),p("ngStyle",T(437,L,e.displaySchEditStyle)),a(14),V("value",e.scheduleElement.scheduleName),a(4),g("ngModel",e.myTime),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",b(439,k)),a(5),g("ngModel",e.scheduleDaysListEdit),p("ngModelOptions",b(440,k)),a(2),p("value","1"),a(2),p("value","2"),a(2),p("value","3"),a(2),p("value","4"),a(2),p("value","5"),a(2),p("value","6"),a(2),p("value","7"),a(4),M(" ",e.showDailyEdit?"Daily":"De Select All"," "),a(6),p("ngStyle",T(441,L,e.displayNoBackupConfStyle)),a(14),p("ngStyle",T(443,L,e.displayNoBackupCreateStyle)),a(14),g("ngModel",e.nobackupscheduleModel.scheduleName),a(2),p("ngIf",n.invalid&&(n.dirty||n.touched)),a(6),g("ngModel",e.nobackupmyTime),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",b(445,k)),a(6),g("ngModel",e.nobackupmyTimeEnd),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",b(446,k)),a(5),g("ngModel",e.nobackupscheduleDaysList),p("ngModelOptions",b(447,k)),a(2),p("value","1"),a(2),p("value","2"),a(2),p("value","3"),a(2),p("value","4"),a(2),p("value","5"),a(2),p("value","6"),a(2),p("value","7"),a(4),M(" ",e.nobackupshowDaily?"Daily":"De Select All"," "),a(6),p("ngStyle",T(448,L,e.displayNoBackupEditStyle)),a(14),V("value",e.nobackupscheduleElement.scheduleName),a(6),g("ngModel",e.nobackupmyTime),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",b(450,k)),a(6),g("ngModel",e.nobackupmyTimeEnd),p("showMeridian",!1)("minuteStep",1)("ngModelOptions",b(451,k)),a(5),g("ngModel",e.nobackupscheduleDaysListEdit),p("ngModelOptions",b(452,k)),a(2),p("value","1"),a(2),p("value","2"),a(2),p("value","3"),a(2),p("value","4"),a(2),p("value","5"),a(2),p("value","6"),a(2),p("value","7"),a(4),M(" ",e.nobackupshowDailyEdit?"Daily":"De Select All"," "),a(6),p("ngStyle",T(453,L,e.displayFilterConfStyle)),a(14),p("ngStyle",T(455,L,e.displayFilterCreateStyle)),a(12),p("ngClass",T(457,kt,e.invalidFilterName)),g("ngModel",e.filterModel.filterName),a(),p("ngIf",e.invalidFilterName),a(4),g("ngModel",e.filterModel.filterType),a(9),g("ngModel",e.checkedList),p("ngModelOptions",b(459,k)),a(2),p("ngForOf",e.cannedFiltersTemplateCreate),a(7),X("display",e.extensionsVisible?"block":"none"),a(),p("ngForOf",e.cannedFiltersCreate),a(),g("ngModel",e.newFilterExtensionCreate),a(7),p("ngStyle",T(460,L,e.displayFilterEditStyle)),a(12),V("value",e.filterElement.filterName),g("ngModel",e.filterEditModel.filterName),a(4),g("ngModel",e.filterEditModel.filterType),a(9),g("ngModel",e.checkedList),p("ngModelOptions",b(462,k)),a(2),p("ngForOf",e.cannedFiltersTemplateEdit),a(8),p("ngForOf",e.cannedFilters),a(),g("ngModel",e.newFilterExtensionEdit),a(6),p("ngStyle",T(463,L,e.displayConfirmPolicySave))}},dependencies:[Me,Te,Ae,Le,be,ct,Xe,tt,it,Ge,Ze,$e,He,et,Qe,Ye,ot,lt,at,st,rt,nt,Se,Fe,pt,we,qe,ze,Re,Oe,Ie,Ue,_e,ge,fe,Ee,Ke,dt,je,Je,Be,Ve,xe,Ne,De,Pe,vt,wt,Ct,mt,Et,ft,St,ke,We],styles:['@charset "UTF-8";.switch[_ngcontent-%COMP%]{position:relative;display:inline-block;width:50px;height:22px}.switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:none}.slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;inset:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.slider[_ngcontent-%COMP%]:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#062d4d}input[_ngcontent-%COMP%]:focus + .slider[_ngcontent-%COMP%]{box-shadow:0 0 1px #062d4d}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translate(26px)}.slider.round[_ngcontent-%COMP%]{border-radius:34px}.slider.round[_ngcontent-%COMP%]:before{border-radius:50%}.slidecontainer[_ngcontent-%COMP%]{width:100%}.slidercpu[_ngcontent-%COMP%]{width:100%;height:15px;border-radius:5px;background:#d3d3d3;outline:none;opacity:.7;-webkit-transition:.2s;transition:opacity .2s}.slidercpu[_ngcontent-%COMP%]:hover{opacity:1}.slidercpu[_ngcontent-%COMP%]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:25px;height:25px;border-radius:50%;background:#2196f3;cursor:pointer}.slidercpu[_ngcontent-%COMP%]::-moz-range-thumb{width:25px;height:25px;border-radius:50%;background:#2196f3;cursor:pointer}.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.6}h5[_ngcontent-%COMP%]{color:#000}breadcrumb[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]:before{padding:0 5px;color:#ccc;content:"/\\a0"}.breadcrumb[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:inline-block}.breadcrumb[_ngcontent-%COMP%]{display:list-item!important}.breadcrumb[_ngcontent-%COMP%]{background:transparent;padding:0;margin-top:10px}.form-group[_ngcontent-%COMP%]{margin-bottom:20px}.drop-toggle[_ngcontent-%COMP%]{background-color:#fff;border:none;padding:5px 10px;border-radius:4px;cursor:pointer;cursor:hand;border:1px solid #ccc;width:233px;text-align:left}.drop-toggle[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{float:right}.drop-show[_ngcontent-%COMP%]{padding:4px;width:222px;background-color:#fff;border:1px solid #BABABA;position:absolute;z-index:100;-webkit-box-shadow:0 6px 10px rgba(0,0,0,.15);-moz-box-shadow:0 6px 10px rgba(0,0,0,.15);box-shadow:0 6px 10px #00000026;margin-left:1px}.drop-show[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:block;font-size:15px;cursor:pointer}.drop-show[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{vertical-align:top}.drop-show[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block}.panel-default[_ngcontent-%COMP%]{border:1px solid rgba(8,10,12,.175);border-radius:10px;padding:10px}.panel-default[_ngcontent-%COMP%] > .panel-heading[_ngcontent-%COMP%]{color:#444;background-color:#fff;border:none}.panel-heading[_ngcontent-%COMP%]{padding:10px 15px 0}.panel-body[_ngcontent-%COMP%]{padding:5px 15px 15px}.form-check-input[_ngcontent-%COMP%]{height:22px!important}.form-switch[_ngcontent-%COMP%]   .form-check-input[_ngcontent-%COMP%]{width:50px!important}.componentTitle[_ngcontent-%COMP%]{font-size:18px;margin-top:-1.2em;background-color:#fff;display:inline-block;padding:.5em .3em}.componentContent[_ngcontent-%COMP%]{margin-top:-1.2em}']})}}return u})();export{kn as EditComponent};
