import{a as bt}from"./chunk-7F4EMYHG.js";import{a as St,c as yt}from"./chunk-NO3NTK2R.js";import{g as Et,m as _t}from"./chunk-JM23TNSL.js";import{a as ht,b as pt,f as ut}from"./chunk-FITPDU3A.js";import{a as ft}from"./chunk-DZCRME5F.js";import{a as $}from"./chunk-3HNYH5UC.js";import{b as gt}from"./chunk-P26KST3Z.js";import{l as at}from"./chunk-35ZOE3OZ.js";import{e as dt,f as ct,i as mt,j as X}from"./chunk-2QHWGTUH.js";import{A as rt,B as lt,D as ot,E as st,b as ze,c as Ge,g as Ke,h as qe,j as He,l as je,m as Ye,n as Je,p as Ze,t as Qe,u as Xe,v as $e,w as et,x as tt,y as it,z as nt}from"./chunk-7RPCZF4K.js";import{Bb as Oe,C as _e,Cb as xe,Db as Ie,F as Se,N as ye,Na as be,Pa as ve,Qa as Te,Ta as Me,h as he,hc as Ue,ib as Fe,ic as Ne,jb as ke,jc as Re,k as pe,kb as Le,mb as De,nb as Pe,o as ue,ob as Ve,p as ge,pc as We,q as fe,ta as we,tb as Ae,u as Ee,ub as Be,xa as Ce,y as Q}from"./chunk-6564DHLL.js";import{$b as z,A as se,Ba as O,Dc as P,Eb as y,Fc as l,Ga as ae,Gc as C,Hc as L,Lc as g,Mc as f,Nc as E,Qb as u,Rb as U,Rc as ce,Sc as b,Tc as M,Uc as Z,Yb as R,_b as W,ac as t,bc as i,cc as _,cd as me,gc as D,ib as a,ob as k,oc as h,qa as d,qc as w,ra as c,tc as V,xc as G,yb as de,yc as K,zc as q}from"./chunk-YRCUNHHT.js";import{a as A,b as B,g as Ct,i as oe}from"./chunk-2AVGQ2MQ.js";var ie=Ct(bt());var vt=["matSelectEdit"],Tt=["matSelectCreate"],Mt=["matSelectCreateFilter"],Ft=["matSelectEditFilter"],kt=["matSelectBlukryptHost"],v=()=>({standalone:!0}),I=p=>({display:p}),ee=(p,S)=>({"pointer-events":p,opacity:S}),te=p=>({hide:p}),wt=p=>({redAlert:p});function Lt(p,S){if(p&1&&(t(0,"li")(1,"h3")(2,"a",411),l(3),i()()()),p&2){let r=w();a(3),C(r.parent)}}function Dt(p,S){if(p&1&&(t(0,"li")(1,"a",412),l(2),i()()),p&2){let r=w();a(2),C(r.child)}}function Pt(p,S){if(p&1&&(t(0,"li")(1,"span"),l(2),i()()),p&2){let r=w();a(2),C(r.subchild)}}function Vt(p,S){p&1&&(t(0,"small"),l(1,`
                            Policy Name is required.
                        `),i())}function At(p,S){if(p&1&&(t(0,"small"),l(1),i()),p&2){let r=w(2);a(),L(`
                            `,r.errortext,`
                        `)}}function Bt(p,S){p&1&&(t(0,"small"),l(1,`
                            Policy Name must be at least 3 characters long.
                        `),i())}function Ot(p,S){if(p&1&&(t(0,"div",413),l(1,`
                        `),y(2,Vt,2,0,"small",15),l(3,`
                        `),y(4,At,2,1,"small",15),l(5,`
                        `),y(6,Bt,2,0,"small",15),l(7,`
                    `),i()),p&2){w();let r=P(25);a(2),u("ngIf",r.errors==null?null:r.errors.required),a(2),u("ngIf",r.errors&&r.errors.pattern),a(2),u("ngIf",r.errors&&r.errors.minlength)}}function xt(p,S){p&1&&(t(0,"small",414),l(1,`
                        This value is too short. It should have 5 characters or more.
                    `),i())}function It(p,S){p&1&&(t(0,"small",414),l(1,`
                        This value is too long. It should have 512 characters or fewer.
                    `),i())}function Ut(p,S){if(p&1&&(t(0,"c-nav-item")(1,"button",41),l(2," Search "),i()()),p&2){w();let r=P(96);a(),u("cTabContent",r)("tabPaneIdx",3)}}function Nt(p,S){if(p&1&&(t(0,"mat-option",381),l(1),i()),p&2){let r=S.$implicit;V("value",r.scheduleName),a(),C(r.scheduleName)}}function Rt(p,S){if(p&1){let r=D();t(0,"tr")(1,"td"),l(2),i(),t(3,"td"),l(4),i(),t(5,"td")(6,"button",418),h("click",function(){let e=d(r).$implicit,o=w(2);return c(o.editSchedule(e.scheduleName))}),l(7," Edit"),i()()()}if(p&2){let r=S.$implicit;a(2),C(r.scheduleName),a(2),L("",r.time," hrs")}}function Wt(p,S){if(p&1&&(t(0,"div",12)(1,"div",20)(2,"div",415)(3,"div",114)(4,"h5"),_(5,"i",416),l(6," Schedule Details"),i()(),t(7,"div",116)(8,"div",117)(9,"table",417)(10,"tbody"),W(11,Rt,8,2,"tr",null,R),i()()()()()()()),p&2){let r=w();a(11),z(r.defaultSchedules)}}function zt(p,S){if(p&1&&(t(0,"option",381),l(1),i()),p&2){let r=S.$implicit;V("value",r.host),a(),C(r.host)}}function Gt(p,S){if(p&1){let r=D();t(0,"li",420),l(1),t(2,"a",421),h("click",function(){let e=d(r).$implicit,o=w(2);return c(o.removeDefaultFolder(e))}),_(3,"i",422),i()()}if(p&2){let r=S.$implicit;a(),L(" ",r," ")}}function Kt(p,S){if(p&1&&(t(0,"ul",419),W(1,Gt,4,1,"li",420,R),i()),p&2){let r=w();a(),z(r.defaultUniversalFolders)}}function qt(p,S){p&1&&(t(0,"span"),l(1,"There are no default folders to backup"),i())}function Ht(p,S){if(p&1){let r=D();t(0,"li",420),l(1),t(2,"a",421),h("click",function(){let e=d(r).$implicit,o=w(2);return c(o.removeExclusionFolder(e))}),_(3,"i",422),i()()}if(p&2){let r=S.$implicit;a(),L(" ",r," ")}}function jt(p,S){if(p&1&&(t(0,"ul",419),W(1,Ht,4,1,"li",420,R),i()),p&2){let r=w();a(),z(r.userExcludedFoldersUniversal)}}function Yt(p,S){p&1&&(t(0,"span"),l(1,"These folders will be excluded"),i())}function Jt(p,S){p&1&&(t(0,"h5",423)(1,"label",424),_(2,"i",425),i()())}function Zt(p,S){p&1&&(t(0,"h5",426)(1,"label",427),_(2,"i",428),i()())}function Qt(p,S){if(p&1&&(t(0,"mat-option",381),l(1),i()),p&2){let r=S.$implicit;V("value",r.filterName),a(),C(r.filterName)}}function Xt(p,S){if(p&1){let r=D();t(0,"tr",432)(1,"td",433)(2,"p")(3,"b"),l(4),i()(),t(5,"span",434),l(6),i()(),t(7,"td",435)(8,"button",436),h("click",function(){let e=d(r).$implicit,o=w(2);return c(o.editFilter(e.filterName))}),l(9," Edit"),i()()()}if(p&2){let r=S.$implicit;a(4),L("",r.filterName," :"),a(2),C(r.filters),a(2),u("disabled",r.filterName==="all_files")}}function $t(p,S){if(p&1&&(t(0,"div",429)(1,"div",20)(2,"div",113)(3,"div",114)(4,"h5"),_(5,"i",430),l(6," Filters "),i()(),t(7,"div",431)(8,"div",117)(9,"table",417)(10,"tbody"),W(11,Xt,10,3,"tr",432,R),i()()()()()()()),p&2){let r=w();a(11),z(r.defaultFilters)}}function ei(p,S){p&1&&(t(0,"h5",437)(1,"label",424),_(2,"i",425),i()())}function ti(p,S){p&1&&(t(0,"h5",438)(1,"label",427),_(2,"i",428),i()())}function ii(p,S){if(p&1&&(t(0,"mat-option",381),l(1),i()),p&2){let r=S.$implicit;V("value",r.filterName),a(),C(r.filterName)}}function ni(p,S){if(p&1){let r=D();t(0,"tr")(1,"td",433)(2,"p")(3,"b"),l(4),i()(),t(5,"span",434),l(6),i()(),t(7,"td",435)(8,"button",436),h("click",function(){let e=d(r).$implicit,o=w(2);return c(o.editFilter(e.filterName))}),l(9," Edit"),i()()()}if(p&2){let r=S.$implicit;a(4),L("",r.filterName," :"),a(2),C(r.filters),a(2),u("disabled",r.filterName==="all_files")}}function ri(p,S){if(p&1&&(t(0,"div",429)(1,"div",20)(2,"div",113)(3,"div",114)(4,"h5"),_(5,"i",430),l(6," Filters "),i()(),t(7,"div",431)(8,"div",117)(9,"table",417)(10,"tbody"),W(11,ni,10,3,"tr",null,R),i()()()()()()()),p&2){let r=w();a(11),z(r.defaultSearchFilters)}}function li(p,S){if(p&1){let r=D();t(0,"div",99)(1,"label",439),l(2,"Dedup"),i(),t(3,"select",440),E("ngModelChange",function(e){d(r);let o=w();return f(o.dedup,e)||(o.dedup=e),c(e)}),t(4,"option",441),l(5,"Disabled"),i(),t(6,"option",442),l(7,"User"),i()()()}if(p&2){let r=w();a(3),g("ngModel",r.dedup)}}function oi(p,S){if(p&1){let r=D();t(0,"div",99)(1,"label",439),l(2,"dedup"),i(),t(3,"select",440),E("ngModelChange",function(e){d(r);let o=w();return f(o.dedup,e)||(o.dedup=e),c(e)}),t(4,"option",441),l(5,"Disabled"),i(),t(6,"option",443),l(7,"User"),i(),t(8,"option",444),l(9,"Global"),i()()()}if(p&2){let r=w();a(3),g("ngModel",r.dedup)}}function si(p,S){if(p&1&&(t(0,"mat-option",381),l(1),i()),p&2){let r=S.$implicit;V("value",r.gatewayName),a(),C(r.gatewayName)}}function ai(p,S){if(p&1){let r=D();t(0,"div",46)(1,"label",445),l(2,"Preferred BluKrypt Hostnames"),i(),t(3,"mat-form-field",396)(4,"mat-select",397,10),E("ngModelChange",function(e){d(r);let o=w();return f(o.checkedListPg,e)||(o.checkedListPg=e),c(e)}),h("selectionChange",function(){d(r);let e=w();return c(e.onBlukryptChange())}),y(6,si,2,2,"mat-option",51),i()()()}if(p&2){let r=w();U("display",r.userType=="superAdmin"?"block":"none"),a(4),g("ngModel",r.checkedListPg),u("ngModelOptions",b(5,v)),a(2),u("ngForOf",r.pgs)}}function di(p,S){p&1&&(t(0,"small"),l(1," Schedule Name is required. "),i())}function ci(p,S){if(p&1&&(t(0,"div",413),y(1,di,2,0,"small",15),i()),p&2){w();let r=P(1224);a(),u("ngIf",r.errors==null?null:r.errors.required)}}function mi(p,S){if(p&1&&(t(0,"small",413),l(1),i()),p&2){let r=w();a(),L(" ",r.errortext," ")}}function hi(p,S){if(p&1&&(t(0,"small",414),l(1),i()),p&2){let r=w();a(),L(" ",r.errortext," ")}}function pi(p,S){if(p&1&&(t(0,"mat-option",381),l(1),i()),p&2){let r=S.$implicit;V("value",r.extensionName),a(),C(r.filterName)}}function ui(p,S){if(p&1){let r=D();t(0,"span",446),l(1),t(2,"a",447),h("click",function(){let e=d(r).$implicit,o=w();return c(o.removeExtensionCreate(e))}),_(3,"i",422),i()()}if(p&2){let r=S.$implicit;a(),L("",r," ")}}function gi(p,S){if(p&1&&(t(0,"mat-option",381),l(1),i()),p&2){let r=S.$implicit;V("value",r.extensionName),a(),C(r.filterName)}}function fi(p,S){if(p&1){let r=D();t(0,"span",448),l(1),t(2,"a",447),h("click",function(){let e=d(r).$implicit,o=w();return c(o.removeExtension(e))}),_(3,"i",422),i()()}if(p&2){let r=S.$implicit;a(),L("",r," ")}}var Ji=(()=>{class p{constructor(r,m,e,o,s,n,H,T,N,j,F,x,Y){this.http=r,this.datePipe=m,this.titleService=e,this.toastr=o,this.apiService=s,this.AuthService=n,this.globalConstantsService=H,this.cdr=T,this.router=N,this.sharedService=j,this.el=F,this.licenseCheckService=x,this.userRoleService=Y,this.parent="Policy Management",this.child="OneDrive for Business 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.msStorageBackupEnabled=!1,this.policyStorageSizeAllowed="0",this.policyUsersAllowed="0",this.osType="universal",this.defaultUniversalFolders=["/"],this.userExcludedFoldersUniversal=[],this.noOfDevicesAllowed="1",this.deviceAllowedError="",this.noOfDevicesAllowedCloud="3",this.canUserChangePassword=!0,this.canAdminChangeUserPassword=!0,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.shareCheckedList=new O,this.shareIndividualCheckedList=new O,this.showDropDownFilter=!1,this.checkedListFilter=[],this.currentSelectedFilter={},this.shareCheckedListFilter=new O,this.shareIndividualCheckedListFilter=new O,this.showDropDownSearchFilter=!1,this.checkedListSearchFilter=[],this.currentSelectedSearchFilter={},this.shareCheckedListSearchFilter=new O,this.shareIndividualCheckedListSearchFilter=new O,this.searchAlgorithm="NEAREST",this.showDropDownPg=!1,this.checkedListPg=[],this.currentSelectedPg={},this.pgs=[],this.shareCheckedListPg=new O,this.shareIndividualCheckedListPg=new O,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.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=!0,this.perUserBackupStorageLimit="250",this.limitError="",this.cpuThrottling="5",this.defaultFoldersBackup="",this.exclusionFolderName="",this.legalHold=!1,this.rwDetectionEnabled=!1,this.deviceNotHeardError="",this.deletedFilesError="",this.switchnoOfDaysToKeepDeletedFiles=!1,this.noOfDaysToKeepDeletedFiles="UNLIMITED",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.storageLimitReachedAdmins="admins",this.storageLimitReachedReadonlyadmins="readonlyadmins",this.storageLimitReachedUsers="",this.endpointUiPreferences=[],this.endpointDisabledUiPreferences=[],this.menuOptions={},this.webBasedLogin="true",this.dedup="user",this.vssEnabled="false",this.compEnabled="true",this.privacyGatewayMappingElement={},this.policyRefresh="4",this.switchlogUnaccessedFiles="true",this.canBackupHiddenFiles="true",this.createLinkEnabled=!1,this.includethreshholdLimit=!1,this.threshholdLimit="80",this.includepurgeFilesOlderThan=!1,this.purgeFilesOlderThan="365",this.includepurgeFilesSizeGTThan=!1,this.purgeFilesSizeGTThan="5",this.itemVisible=[!1,!1,!1,!1,!1,!1,!1,!1],this.includethreshholdLimitCheck=!0,this.includepurgeFilesOlderThanCheck=!0,this.includepurgeFilesSizeGTThanCheck=!0,this.switchnoOfDaysToKeepUserDeviceNotActive=!1,this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED",this.deletedAssetsError="",this.switchpurgeDeletedFilesOlderThan=!1,this.purgeDeletedFilesOlderThan="UNLIMITED",this.msAppBluKrypt="",this.msAppAgentList=[],this.inclusionLicenses=[],this.exclusionLicenses=[],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,UPDATE_AGENT:!0,STOP_BACKUP:!0,DISALLOW_ADMIN_RESTORES:!1,BLOCK_NOTIFICATIONS:!1},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:ie.default.tz.guess(),backupType:"INCR",dayArray:[]},this.scheduleEditModel={scheduleName:"",time:"",timeZone:ie.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.filterType="inclusion",this.searchFilterType="inclusion",this.threshholdLimitOld="",this.purgeFilesOlderThanOld="",this.purgeFilesSizeGTThanOld="",this.storage_type="",this.userType="",this.invalidScheduleName=!1,this.invalidFilterName=!1,this.policyNameToEdit="",this.displayConfirmPolicySave="none",this.threshholdLimitError="",this.purgeFilesOlderThanError="",this.purgeFilesSizeGTThanError="",this.policyModel={backupSystemFilesEnabled:"false",legalHoldEnabled:"false",shareEnabled:"false",highSecureShareEnabled:"true",complexPassword:!0,allowDownload:!1,shareExpireDateEnable:!0,googleAuth:!0,policygroupName:"test123",description:"",destination:"",backupFolderPaths:["/"],maxVersions:"-1",backupAllVersions:!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:"false",networkThrottlingNames:["DEFAULT_NETWORK_THROTTLE"],scheduleNames:[],userSizeAllowed:"250",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,canBackupHiddenFiles:"true",searchAlgoForPg:"NEAREST",cpuThrottling:"5",daysToWaitForNextBackup:0,noOfDevicesAllowed:"1",endpointDomainCheck:"false",webBasedLogin:"true",canAdminRestore:"true",canAdminDelete:"true",contentIndexEnabled:"true",noOfDaysToKeepDeletedFiles:"-1",filterType:"inclusion",searchFilterType:"inclusion",shareDomainType:"Share only with these Email domains",shareDomainIncExclusions:[""],allowEndUserTocontrolRestore:"false",showShareLink:"false",shareDomainsEnabled:"false",logUnaccessedFiles:"false",rwDetectionEnabled:"false",policyStorageSizeAllowed:"0",policyUsersAllowed:"0",excludedFolderpaths:[],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",storageLimitReached:"admins,readonlyadmins"},policyType:"ODB",createMailLinkEnabled:!1,createLinkEnabled:!1,threshholdLimit:"80",purgeFilesOlderThan:"365",purgeFilesSizeGTThan:"5",cpThresHoldFlagEnabled:!1,cpPurgeFilesOlderThanEnabled:!1,cpPurgeFilesSizeGTThanFlagEnabled:!1,outlookFilters:{from:"",to:"",subject:""},msAppBluKrypt:"",noOfDaysToKeepUserDeviceNotActive:"-1",purgeDeletedFilesOlderThan:-1,msStorageBackupEnabled:!1},this.output={createUser:"",userDeleted:"",userBlocked:"",userLimitReached:"",deviceDeleted:"",deviceBlocked:"",deviceDecoupled:"",deviceLimitReached:"",weeklyBkpreport:"",firstBkpCompleted:"",restoreInitiated:"",storageLimitReached:""},this.collapses=[!1,!1,!1,!1],this.titleService.setTitle(this.title)}ngOnInit(){return oe(this,null,function*(){yield new Promise(r=>{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",r()})}),this.policyNameToEdit=this.sharedService.getDataByKey("currentPolicyName"),this.callApis(),this.inclusionLicenses=yield this.licenseCheckService.getInclusionLicensesNew(),this.userType=yield this.userRoleService.getUserRole()})}sendMeTo(r){this.router.navigate([r])}onSelectChangeFilterType(r){let e=r.target.value;e==="inclusion"?(this.inclusionFilter=!0,this.exclusionFilter=!1):e==="exclusion"&&(this.inclusionFilter=!1,this.exclusionFilter=!0)}onSelectChangeSearchFilterType(r){let e=r.target.value;e==="inclusion"?(this.inclusionSearchFilter=!0,this.exclusionSearchFilter=!1):e==="exclusion"&&(this.inclusionSearchFilter=!1,this.exclusionSearchFilter=!0)}onSliderChange(r){this.cpuThrottling=r.target.value}toggleThrottle(){this.isThrottleEnabled?this.nwFromClientToPGMB="4":(this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps"),this.validateInput()}validateInput(){this.switchError="",this.switchWarning="";let r=Number(this.nwFromClientToPGMB);isNaN(r)?this.nwFromClientToPGMB!=="UNLIMITED"&&(this.switchError="Input can be any integer"):r>9999?this.switchError="Network Throttle Setting from Client to BluKrypt Allowed is 9999":this.nwFromClientToPGMB.includes(".")?this.switchError="Please enter an integral value":r<256&&this.networkThrottlingUnit==="kbps"&&(this.switchWarning="Recommended value is 1Mbps or greater. You should consider increasing this value to at least 256kbps")}toggleVersion(){this.verError="",this.isVersionEnabled?this.versions="3":this.versions="UNLIMITED",this.myFunctionVer()}myFunctionVer(){console.log("versions : "+this.versions),this.verError="";let r=Number(this.versions);console.log("inputValue : "+r),isNaN(r)?this.versions!=="UNLIMITED"&&(this.verError="Input can be any integer"):r>1e7?this.verError="Maximum number of Versions Allowed is 1 Crore":this.versions.includes(".")?this.verError="Please enter an integral value":r<1&&!isNaN(r)?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 r=Number(this.maxPermissibleFileSize);console.log("inputValue : "+r),isNaN(r)?this.maxPermissibleFileSize!=="UNLIMITED"&&(this.sizeError='Input can be either "UNLIMITED" or a positive integer.'):r>999999?this.sizeError="Maximum Permissible File Size Allowed is 999999":this.maxPermissibleFileSize.includes(".")?this.sizeError="Please enter an integral value":r<1&&!isNaN(r)?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 r=Number(this.perUserBackupStorageLimit);console.log("inputValue : "+r),isNaN(r)?this.perUserBackupStorageLimit!=="UNLIMITED"&&(this.limitError='Input can be either "UNLIMITED" or a positive integer.'):r>99999?this.limitError="Maximum Per User Backup Storage Limit Allowed is 99999":this.perUserBackupStorageLimit.includes(".")?this.limitError="Please enter an integral value":r<1&&!isNaN(r)?this.limitError="Minimum Per User Backup Storage Limit Allowed is 1":this.limitError=""}myFunctionDevice(){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=""}togglePurgeDeletedFilesOlderThan(){this.switchpurgeDeletedFilesOlderThan?(console.log("iffffffffffff"),this.purgeDeletedFilesOlderThan="90"):(console.log("elseeeeeee"),this.purgeDeletedFilesOlderThan="UNLIMITED"),this.myFunctionpurgeDeletedFilesOlderThan()}myFunctionpurgeDeletedFilesOlderThan(){console.log("purgeDeletedFilesOlderThan : "+this.purgeDeletedFilesOlderThan),this.deletedFilesError="";let r=Number(this.purgeDeletedFilesOlderThan);console.log("inputValue : "+r),isNaN(r)?this.purgeDeletedFilesOlderThan!=="UNLIMITED"&&(this.deletedFilesError='Input can be either "UNLIMITED" or a positive integer.'):this.purgeDeletedFilesOlderThan.includes(".")?this.deletedFilesError="Please enter an integral value":r<1&&!isNaN(r)?this.deletedFilesError="Minimum value allowed is 1":this.deletedFilesError=""}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.storageLimitReached=this.getEnabledOptions(["storageLimitReachedAdmins","storageLimitReachedReadonlyadmins","storageLimitReachedUsers"])}getEnabledOptions(r){return r.map(m=>this[m]).filter(m=>m!=="").join(",")}updatePreferences(){let r=["bkpfiles","bkpsettings","initiatebackup","stopbackup","support","about","systrayIcon","restore","refbkppolicy","pauseBackup","updateAgent","decouple","exitt","disallowAdminRestores","blockNotifications"];this.endpointUiPreferences=[],this.endpointDisabledUiPreferences=[],this.getSelectedValues(r),console.log("Enabled Preferences:",this.endpointUiPreferences),console.log("Disabled Preferences:",this.endpointDisabledUiPreferences)}getSelectedValues(r){r.forEach(m=>{let e=document.getElementById(m);if(e){let o=this.mapIdToPreference(m);e.value==="true"?this.endpointUiPreferences.push(o):this.endpointDisabledUiPreferences.push(o)}})}mapIdToPreference(r){switch(r){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"refbkppolicy":return"REFRESH_BACKUP_POLICY";case"blockNotifications":return"BLOCK_NOTIFICATIONS";case"disallowAdminRestores":return"DISALLOW_ADMIN_RESTORES";case"exitt":return"EXIT";default:return r.toUpperCase()}}updateMenuOptions(){let r=["Open","View","Versions","Share","Download","portalRestore"];this.menuOptions=this.getSelectedMenuOptions(r),console.log("Menu Options:",this.menuOptions)}getSelectedMenuOptions(r){let m={};return r.forEach(e=>{let o=document.getElementById(e);o&&(console.log("element : "+o.getAttribute("id")),o.getAttribute("id")=="portalRestore"?m.restore=o.value:m[e.toLowerCase()]=o.value)}),m}getprivacyElement(){let r={};return r.gatewayNwThrottlingName="Default",r.privacyGatewayNames=this.checkedListPg,r}flipAllowEndUserTocontrolRestore(){this.canAdminRestoreAll||(this.allowEndUserTocontrolRestore=!1,this.isAdminDeleteBackupFile=!1)}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 r=Number(this.noOfDaysToKeepDeletedFiles);console.log("inputValue : "+r),isNaN(r)?this.noOfDaysToKeepDeletedFiles!=="UNLIMITED"&&(this.deletedFilesError='Input can be either "UNLIMITED" or a positive integer.'):this.noOfDaysToKeepDeletedFiles.includes(".")?this.deletedFilesError="Please enter an integral value":r<1&&!isNaN(r)?this.deletedFilesError="Minimum number of Versions Allowed is 1":this.deletedFilesError=""}toggleNoOfDaysToKeepUserDeviceNotActive(){this.switchnoOfDaysToKeepUserDeviceNotActive?(console.log("iffffffffffff"),this.noOfDaysToKeepUserDeviceNotActive="60"):(console.log("elseeeeeee"),this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED"),this.myFunctionnoOfDaysToKeepUserDeviceNotActive()}myFunctionnoOfDaysToKeepUserDeviceNotActive(){console.log("noOfDaysToKeepUserDeviceNotActive : "+this.noOfDaysToKeepUserDeviceNotActive),this.deletedAssetsError="";let r=Number(this.noOfDaysToKeepUserDeviceNotActive);console.log("inputValue : "+r),isNaN(r)?this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.deletedAssetsError='Input can be either "UNLIMITED" or a positive integer.'):this.noOfDaysToKeepUserDeviceNotActive.includes(".")?this.deletedAssetsError="Please enter an integral value":r<7&&!isNaN(r)?this.deletedAssetsError="Minimum value allowed is 7":this.deletedAssetsError=""}addDefaultFolder(){let r=new RegExp("^[A-Za-z]:[^/\\\\]");if(this.defaultFoldersBackup=this.defaultFoldersBackup.trim(),this.defaultFoldersBackup!==""){let m=this.defaultFoldersBackup.replace(/[\/\\]+$/,""),e=this.defaultUniversalFolders.some(o=>o.replace(/[\/\\]+$/,"")===m);if(r.test(m)){this.toastr.error("Invalid folder path.","Error");return}if(e)this.toastr.error("Folder already exists or conflicts with an existing folder structure.","Error");else{if(m.includes(":")){if(this.defaultUniversalFolders.length===1&&this.defaultUniversalFolders[0]==="/"){this.toastr.info('In order to add, please remove "/" from Default folders.',"Info");return}this.defaultFoldersBackup=m+"\\",this.defaultFoldersBackup=this.defaultFoldersBackup.replace(/\//g,"\\")}else{if(this.defaultUniversalFolders.length===1&&this.defaultUniversalFolders[0]==="/"){this.toastr.info('In order to add, please remove "/" from Default folders.',"Info");return}this.defaultFoldersBackup=m+"/",this.defaultFoldersBackup=this.defaultFoldersBackup.replace(/\\/g,"/")}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(r){var m=this.defaultUniversalFolders.indexOf(r);m>-1&&(this.defaultUniversalFolders.splice(m,1),this.toastr.success("Selected Folder has been removed successfully.","Success"))}addExclusionFolder(){var r=new RegExp(":"),m=new RegExp("[^/]([A-Za-z]:)");if(this.exclusionFolderName!=""){if(m.test(this.exclusionFolderName)){this.toastr.error("Invalid folder path.","Error");return}r.test(this.exclusionFolderName)?(this.exclusionFolderName=this.exclusionFolderName.replace(/\/+$/,""),this.exclusionFolderName=this.exclusionFolderName.replace(/\\+$/,""),this.exclusionFolderName=this.exclusionFolderName.concat("\\"),this.exclusionFolderName=this.exclusionFolderName.replace(/\//g,"\\")):(this.exclusionFolderName=this.exclusionFolderName.replace(/\/+$/,""),this.exclusionFolderName=this.exclusionFolderName.replace(/\\+$/,""),!this.exclusionFolderName.endsWith("}")&&!this.exclusionFolderName.endsWith("/")&&(this.exclusionFolderName=this.exclusionFolderName.concat("/")),this.exclusionFolderName=this.exclusionFolderName.replace(/\\/g,"/")),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(r){var m=this.userExcludedFoldersUniversal.indexOf(r);m>-1&&(this.userExcludedFoldersUniversal.splice(m,1),this.toastr.success("Selected Folder has been removed successfully.","Success"))}callApis(){let r=this.apiService.getAllSchedules(),m=this.apiService.getAllFilters(),e=this.apiService.getPgs(),o=this.apiService.cloudProperties(),s=this.apiService.getGlobalExclusion(),n=this.apiService.getOfficePolicy(this.sharedService.getDataByKey("currentPolicyName"),"ODB"),H=this.apiService.getMSAgentSettings();se([r,m,e,o,s,n,H]).subscribe(([T,N,j,F,x,Y,ne])=>{console.log("API 1 response status:",T.status),console.log("API 1 response body:",T.body.scheduleElementList),console.log("API 1 response headers:",T.headers),console.log("API 2 response body:",N.body.inclusionFilterElementList),console.log("API 2 response headers:",N.headers),console.log("API 3 response body:",j.body.privacyGatewayElementList),console.log("API 3 response headers:",j.headers),console.log("API 4 response body:",F.body),console.log("API 4 response headers:",F.headers),console.log("API 5 response body:",x.body),console.log("API 5 response headers:",x.headers),console.log("API 6 response body:",Y.body.officeBackupPolicyElement),console.log("API 6 response headers:",Y.headers),console.log("API 7 response body:",ne.body.MSAppBluKryptElementList),console.log("API 7 response headers:",ne.headers);let le=j.body.privacyGatewayElementList.map(J=>({gatewayName:J.gatewayName,status:!1}));console.log("Transformed Data:",le),this.msAppAgentList=ne.body.MSAppBluKryptElementList,this.schedules=T.body.scheduleElementList,this.filters=N.body.inclusionFilterElementList.map(J=>B(A({},J),{status:!1})),console.log("filterssssssssss : "+JSON.stringify(this.filters)),this.searchfilters=N.body.inclusionFilterElementList.map(J=>B(A({},J),{status:!1})),this.pgs=le,console.log("API 5 response body:",JSON.stringify(x.body.globalExcludedFoldersElement.globalExcludedFoldersList.win));let re=[...new Set([...x.body.globalExcludedFoldersElement.globalExcludedFoldersList.win,...x.body.globalExcludedFoldersElement.globalExcludedFoldersList.mac])];re=[...new Set([...re,...x.body.globalExcludedFoldersElement.globalExcludedFoldersList.linux])],console.log("CombinedExclusions :",JSON.stringify(re)),this.noOfDevicesAllowedCloud=F.body.cloudPropertyElement.noOfDevicesAllowed,this.canUserChangePassword=F.body.cloudPropertyElement.canUserChangePassword,this.canAdminChangeUserPassword=F.body.cloudPropertyElement.canAdminChangeUserPassword,this.passwordChangeEnforce=F.body.cloudPropertyElement.passwordChangeEnforce,this.canAdminRestoreAll=F.body.cloudPropertyElement.canAdminRestoreAll,this.isAdminDeleteBackupFile=F.body.cloudPropertyElement.isAdminDeleteBackupFile,this.overridePolicySettings=F.body.cloudPropertyElement.overridePolicySettings,this.showUserConsentFieldInPolicies=F.body.cloudPropertyElement.showUserConsentFieldInPolicies,this.storageProvider=F.body.cloudPropertyElement.storageProvider,this.hostedSetup=F.body.cloudPropertyElement.hostedSetup,this.getPolicy(Y.body.officeBackupPolicyElement)},T=>{switch(console.error("Error from Api's call: ",T),T.status){case 400:console.error("Bad Request: ",T.message);break;case 401:console.error("Unauthorized: ",T.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",T.message);break;case 404:console.error("Not Found: ",T.message);break;case 500:console.error("Internal Server Error: ",T.message);break;case 503:console.error("Internal Server Error: ",T.message);break;default:console.error("Unknown Error: ",T.message);break}})}getSelectedValueSchedule(r,m){if(r)this.checkedListSchedule.push(m),console.log("this.checkedList1 : "+this.checkedListSchedule);else{var e=this.checkedListSchedule.indexOf(m);this.checkedListSchedule.splice(e,1)}this.getMultipleSchedules(this.checkedListSchedule.toString()),this.currentSelectedSchedule={checked:r,name:m},this.shareCheckedlistCreate(),this.shareIndividualStatusCreate()}shareCheckedlistCreate(){this.shareCheckedList.emit(this.checkedListSchedule)}shareIndividualStatusCreate(){this.shareIndividualCheckedList.emit(this.currentSelectedSchedule)}getMultipleSchedules(r){this.apiService.getMultipleSchedules(r).subscribe(m=>{var e=JSON.stringify(m.body),o=JSON.parse(e);console.log("scheduleElementList from  getMultipleSchedules: "+JSON.stringify(o.scheduleElementList)),this.defaultSchedules=o.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}})}getSelectedValueFilter(r,m){if(r)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:r,name:m},this.shareCheckedlistFilter(),this.shareIndividualStatusFilter()}shareCheckedlistFilter(){this.shareCheckedListFilter.emit(this.checkedListFilter)}shareIndividualStatusFilter(){this.shareIndividualCheckedListFilter.emit(this.currentSelectedFilter)}getMultipleFilters(r){this.apiService.getMultipleFilters(r).subscribe(m=>{var e=JSON.stringify(m.body),o=JSON.parse(e);console.log("inclusionFilterElementList from  getMultipleFilters: "+JSON.stringify(o.inclusionFilterElementList)),this.defaultFilters=o.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(r,m){if(r)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:r,name:m},this.shareCheckedlistSearchFilter(),this.shareIndividualStatusSearchFilter()}shareCheckedlistSearchFilter(){this.shareCheckedListSearchFilter.emit(this.checkedListSearchFilter)}shareIndividualStatusSearchFilter(){this.shareIndividualCheckedListSearchFilter.emit(this.currentSelectedSearchFilter)}getMultipleSearchFilters(r){this.apiService.getMultipleFilters(r).subscribe(m=>{var e=JSON.stringify(m.body),o=JSON.parse(e);console.log("inclusionFilterElementList from  getMultipleFilters: "+JSON.stringify(o.inclusionFilterElementList)),this.defaultSearchFilters=o.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(r,m){if(r)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:r,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(r=>r.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(r){this.displayConfirmPolicySave="none",this.verError="",this.limitError="",this.sizeError="",this.deletedAssetsError="",this.deletedFilesError="",this.threshholdLimitError="",this.purgeFilesOlderThanError="",this.purgeFilesSizeGTThanError="";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.inclusionLicenses.includes("contentsearchenabledforonedrive")&&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.defaultUniversalFolders.length==0){this.toastr.error("Please add at-least one default folders to backup up");return}(this.deletedAssetsError!=""||Number(this.noOfDaysToKeepUserDeviceNotActive)<7)&&(this.toastr.error("Please check the value for Delete assets which have not been active for."),this.deletedAssetsError="Minimum value allowed is 7",m=!0),isNaN(Number(this.noOfDaysToKeepUserDeviceNotActive))&&this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.toastr.error("Please check the value for Delete assets which have not been active for."),this.deletedAssetsError="Input can be either 'UNLIMITED' or any integer",m=!0),(this.deletedFilesError!=""||Number(this.purgeDeletedFilesOlderThan)<1)&&(this.toastr.error("Please check the value for Purge deleted files from the catalog after."),this.deletedFilesError="Minimum number of allowed is 1",m=!0),isNaN(Number(this.purgeDeletedFilesOlderThan))&&this.purgeDeletedFilesOlderThan!=="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.createLinkEnabled&&(this.includethreshholdLimitCheck&&(Number(this.threshholdLimit)<1||Number(this.threshholdLimit)>100)&&(this.toastr.error("Please check the value for OneDrive consumption is higher than (%)."),this.threshholdLimitError="This value should be between 1 and 100.",m=!0),this.includepurgeFilesOlderThanCheck&&(Number(this.purgeFilesOlderThan)<1||Number(this.purgeFilesOlderThan)>9131)&&(this.toastr.error("Please check the value for Files have not been modified in (days)."),this.purgeFilesOlderThanError="This value should be between 1 and 9131.",m=!0),this.includepurgeFilesSizeGTThanCheck&&Number(this.purgeFilesSizeGTThan)<1&&(this.toastr.error("Please check the value for Files are of size greater than (MB)."),this.purgeFilesSizeGTThanError="This value should be greater than or equal to 1.",m=!0),!this.includethreshholdLimitCheck&&!this.includepurgeFilesOlderThanCheck&&!this.includepurgeFilesSizeGTThanCheck&&(this.toastr.error("Please ensure that at least one option is selected.","Info"),m=!0));let e=document.querySelector(".ng-invalid, .text-danger");e&&(e.scrollIntoView({behavior:"smooth",block:"center"}),e.focus());let o=Array.from(document.querySelectorAll('span[style*="color: #f55753"]'));for(let s of o)if(s.textContent?.trim()){s.scrollIntoView({behavior:"smooth",block:"center"});break}if(!m){if(r.invalid){r.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.msStorageBackupEnabled=this.msStorageBackupEnabled,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.noOfDevicesAllowedCloud,this.policyModel.osType="universal",this.policyModel.backupFolderPaths=this.defaultUniversalFolders,this.policyModel.excludedFolderpaths=this.userExcludedFoldersUniversal,this.policyModel.filterType=this.inclusionFilter?"inclusion":"exclusion",this.policyModel.searchFilterType=this.inclusionSearchFilter?"inclusion":"exclusion",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.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.dedup=this.dedup,this.policyModel.logUnaccessedFiles=this.switchlogUnaccessedFiles?"true":"false",this.policyModel.canBackupHiddenFiles=this.canBackupHiddenFiles,this.policyModel.canUserChangePassword=this.canUserChangePassword,this.policyModel.canAdminChangeUserPassword=this.canAdminChangeUserPassword,this.policyModel.filterInclusionName=this.checkedListFilter,this.policyModel.scheduleNames=this.checkedListSchedule,this.policyModel.searchFilterInclusionName=this.checkedListSearchFilter.length>0?this.checkedListSearchFilter:["all_files"],this.policyModel.backupFolderPaths=this.defaultUniversalFolders,this.policyModel.excludedFolderpaths=this.userExcludedFoldersUniversal,this.policyModel.nwFromClientToPGMB=parseFloat(this.nwFromClientToPGMB),this.onUnitChange(),this.policyModel.noOfDaysToKeepUserDeviceNotActive=this.noOfDaysToKeepUserDeviceNotActive==="UNLIMITED"?"-1":this.noOfDaysToKeepUserDeviceNotActive,this.policyModel.purgeDeletedFilesOlderThan=this.purgeDeletedFilesOlderThan==="UNLIMITED"?-1:parseInt(this.purgeDeletedFilesOlderThan),this.policyModel.msAppBluKrypt=this.msAppBluKrypt,this.policyModel.contentIndexEnabled=this.contentIndexEnabled,this.policyModel.createLinkEnabled=this.createLinkEnabled,this.policyModel.threshholdLimit=this.includethreshholdLimitCheck?this.threshholdLimit:this.threshholdLimitOld,this.policyModel.purgeFilesOlderThan=this.includepurgeFilesOlderThanCheck?this.purgeFilesOlderThan:this.purgeFilesOlderThanOld,this.policyModel.purgeFilesSizeGTThan=this.includepurgeFilesSizeGTThanCheck?this.purgeFilesSizeGTThan:this.purgeFilesSizeGTThanOld,this.policyModel.cpThresHoldFlagEnabled=this.includethreshholdLimitCheck,this.policyModel.cpPurgeFilesOlderThanEnabled=this.includepurgeFilesOlderThanCheck,this.policyModel.cpPurgeFilesSizeGTThanFlagEnabled=this.includepurgeFilesSizeGTThanCheck,this.policyModel.canAdminRestore=this.canAdminRestoreAll?"true":"false",this.policyModel.allowEndUserTocontrolRestore=this.allowEndUserTocontrolRestore?"true":"false",this.policyModel.canAdminDelete=this.isAdminDeleteBackupFile?"true":"false",console.log("Policy Details : "+JSON.stringify(this.policyModel)),this.apiService.editOfficePolicy(this.policyModel).subscribe(s=>{console.log("Policy edited successfully:",s),this.toastr.success("Policy edited successfully.","Info"),setTimeout(()=>{this.router.navigate(["/pms/oneDrivePolicy"])},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(){let r=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((r/1024).toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat((r/1024).toFixed(4));break;case"mbps":this.policyModel.nwFromClientToPG=parseFloat(r.toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat(r.toFixed(4)),console.log("123 : "+parseFloat(r.toFixed(4)));break;case"gbps":this.policyModel.nwFromClientToPG=parseFloat((r*1024).toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat((r*1024).toFixed(4));break;default:break}}getPolicy(r){this.policygroupName=r.policygroupName,this.description=r.description,this.msStorageBackupEnabled=r.msStorageBackupEnabled,this.checkedListSchedule=r.scheduleNames,this.schedules=this.schedules.map(o=>B(A({},o),{checked:this.checkedListSchedule.includes(o.scheduleName)})),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.versions=r.maxVersions,r.maxVersions=="-1"?(this.isVersionEnabled=!1,this.versions="UNLIMITED"):this.isVersionEnabled=!0,this.maxPermissibleFileSize=r.maxFileSize,r.maxFileSize=="1048576"||r.maxFileSize=="-1"?(this.isSizeEnabled=!1,this.maxPermissibleFileSize="UNLIMITED"):this.isSizeEnabled=!0,this.perUserBackupStorageLimit=r.userSizeAllowed,r.userSizeAllowed=="102400"?(this.isLimitEnabled=!1,this.perUserBackupStorageLimit="UNLIMITED"):this.isLimitEnabled=!0,this.noOfDevicesAllowed=r.noOfDevicesAllowed?r.noOfDevicesAllowed:this.noOfDevicesAllowedCloud,this.defaultUniversalFolders=r.backupFolderPaths,this.userExcludedFoldersUniversal=r.excludedFolderpaths?r.excludedFolderpaths:[],this.inclusionFilter=r.filterType=="inclusion",this.checkedListFilter=r.filterInclusionName,this.filters=this.filters.map(o=>B(A({},o),{checked:this.checkedListFilter.includes(o.filterName)})),this.getMultipleFilters(this.checkedListFilter.toString()),this.inclusionSearchFilter=r.searchFilterType=="inclusion",this.checkedListSearchFilter=r.searchFilterInclusionName,this.filters=this.filters.map(o=>B(A({},o),{checked:this.checkedListSearchFilter.includes(o.filterName)})),this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()),this.nwFromClientToPGMB=r.nwFromClientToPGMB;let m=Math.round(r.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=r.contentIndexEnabled,this.cpuThrottling=r.cpuThrottling,this.legalHold=r.legalHoldEnabled,this.rwDetectionEnabled=r.rwDetectionEnabled,this.webBasedLogin=r.webBasedLogin,this.compEnabled=r.compressionEnabled,this.vssEnabled=r.vssEnabled,this.policyRefresh=r.policyRefresh.split(":")[0],this.switchlogUnaccessedFiles=r.logUnaccessedFiles,this.canBackupHiddenFiles=r.canBackupHiddenFiles,r.purgeDeletedFilesOlderThan==-1?(this.switchpurgeDeletedFilesOlderThan=!1,this.purgeDeletedFilesOlderThan="UNLIMITED"):(this.switchpurgeDeletedFilesOlderThan=!0,this.purgeDeletedFilesOlderThan=r.purgeDeletedFilesOlderThan),r.noOfDaysToKeepDeletedFiles=="-1"?(this.switchnoOfDaysToKeepDeletedFiles=!1,this.noOfDaysToKeepDeletedFiles="UNLIMITED"):(this.switchnoOfDaysToKeepDeletedFiles=!0,this.noOfDaysToKeepDeletedFiles=r.noOfDaysToKeepDeletedFiles),r.noOfDaysToKeepUserDeviceNotActive==-1?(this.switchnoOfDaysToKeepUserDeviceNotActive=!1,this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED"):(this.switchnoOfDaysToKeepUserDeviceNotActive=!0,this.noOfDaysToKeepUserDeviceNotActive=r.noOfDaysToKeepUserDeviceNotActive),this.canUserChangePassword=r.canUserChangePassword,this.canAdminChangeUserPassword=r.canAdminChangeUserPassword,this.canAdminRestoreAll=r.canAdminRestore,this.allowEndUserTocontrolRestore=r.allowEndUserTocontrolRestore,this.isAdminDeleteBackupFile=r.canAdminDelete,this.searchAlgorithm=r.searchAlgoForPg,this.checkedListPg=r.privacyGatewayMappingElement.privacyGatewayNames,this.pgs=this.pgs.map(o=>B(A({},o),{checked:this.checkedListPg.includes(o.gatewayName)})),console.log("policyElement.privacyGatewayMappingElement.privacyGatewayNames : "+r.privacyGatewayMappingElement.privacyGatewayNames),this.endpointUiPreferencesEdit=r.endpointUiPreferences?r.endpointUiPreferences:[],this.endpointDisabledUiPreferencesEdit=r.endpointDisabledUiPreferences?r.endpointDisabledUiPreferences:[],this.updatePreferencesEdit(),this.menuOptionsEdit=r.menuOptions,this.createUserAdmins=r.emailsRestriction.createUser.includes("admins")?"admins":"",this.createUserReadonlyadmins=r.emailsRestriction.createUser.includes("readonlyadmins")?"readonlyadmins":"",this.createUserUsers=r.emailsRestriction.createUser.includes("users")?"users":"",this.userDeletedAdmins=r.emailsRestriction.userDeleted.includes("admins")?"admins":"",this.userDeletedReadonlyadmins=r.emailsRestriction.userDeleted.includes("readonlyadmins")?"readonlyadmins":"",this.userDeletedUsers=r.emailsRestriction.userDeleted.includes("users")?"users":"",this.userBlockedAdmins=r.emailsRestriction.userBlocked.includes("admins")?"admins":"",this.userBlockedReadonlyadmins=r.emailsRestriction.userBlocked.includes("readonlyadmins")?"readonlyadmins":"",this.userBlockedUsers=r.emailsRestriction.userBlocked.includes("users")?"users":"",this.userLimitReachedAdmins=r.emailsRestriction.userLimitReached.includes("admins")?"admins":"",this.userLimitReachedReadonlyadmins=r.emailsRestriction.userLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.userLimitReachedUsers=r.emailsRestriction.userLimitReached.includes("users")?"users":"",this.deviceDeletedAdmins=r.emailsRestriction.deviceDeleted.includes("admins")?"admins":"",this.deviceDeletedReadonlyadmins=r.emailsRestriction.deviceDeleted.includes("readonlyadmins")?"readonlyadmins":"",this.deviceDeletedUsers=r.emailsRestriction.deviceDeleted.includes("users")?"users":"",this.deviceBlockedAdmins=r.emailsRestriction.deviceBlocked.includes("admins")?"admins":"",this.deviceBlockedReadonlyadmins=r.emailsRestriction.deviceBlocked.includes("readonlyadmins")?"readonlyadmins":"",this.deviceBlockedUsers=r.emailsRestriction.deviceBlocked.includes("users")?"users":"",this.deviceDecoupledAdmins=r.emailsRestriction.deviceDecoupled.includes("admins")?"admins":"",this.deviceDecoupledReadonlyadmins=r.emailsRestriction.deviceDecoupled.includes("readonlyadmins")?"readonlyadmins":"",this.deviceDecoupledUsers=r.emailsRestriction.deviceDecoupled.includes("users")?"users":"",this.deviceLimitReachedAdmins=r.emailsRestriction.deviceLimitReached.includes("admins")?"admins":"",this.deviceLimitReachedReadonlyadmins=r.emailsRestriction.deviceLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.deviceLimitReachedUsers=r.emailsRestriction.deviceLimitReached.includes("users")?"users":"",this.weeklyBkpreportAdmins=r.emailsRestriction.weeklyBkpreport.includes("admins")?"admins":"",this.weeklyBkpreportReadonlyadmins=r.emailsRestriction.weeklyBkpreport.includes("readonlyadmins")?"readonlyadmins":"",this.weeklyBkpreportUsers=r.emailsRestriction.weeklyBkpreport.includes("users")?"users":"",this.firstBkpCompletedAdmins=r.emailsRestriction.firstBkpCompleted.includes("admins")?"admins":"",this.firstBkpCompletedReadonlyadmins=r.emailsRestriction.firstBkpCompleted.includes("readonlyadmins")?"readonlyadmins":"",this.firstBkpCompletedUsers=r.emailsRestriction.firstBkpCompleted.includes("users")?"users":"",this.restoreInitiatedAdmins=r.emailsRestriction.restoreInitiated.includes("admins")?"admins":"",this.restoreInitiatedReadonlyadmins=r.emailsRestriction.restoreInitiated.includes("readonlyadmins")?"readonlyadmins":"",this.restoreInitiatedUsers=r.emailsRestriction.restoreInitiated.includes("users")?"users":"",this.storageLimitReachedAdmins=r.emailsRestriction.storageLimitReached.includes("admins")?"admins":"",this.storageLimitReachedReadonlyadmins=r.emailsRestriction.storageLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.storageLimitReachedUsers=r.emailsRestriction.storageLimitReached.includes("users")?"users":"",this.msAppBluKrypt=r.msAppBluKrypt,this.createLinkEnabled=r.createLinkEnabled,this.threshholdLimitOld=r.threshholdLimit,this.purgeFilesOlderThanOld=r.purgeFilesOlderThan,this.purgeFilesSizeGTThanOld=r.purgeFilesSizeGTThan,this.includethreshholdLimitCheck=r.cpThresHoldFlagEnabled,this.includepurgeFilesOlderThanCheck=r.cpPurgeFilesOlderThanEnabled,this.includepurgeFilesSizeGTThanCheck=r.cpPurgeFilesSizeGTThanFlagEnabled,r.createLinkEnabled&&(this.threshholdLimit=r.threshholdLimit,this.purgeFilesOlderThan=r.purgeFilesOlderThan,this.purgeFilesSizeGTThan=r.purgeFilesSizeGTThan,this.toggleCollapse(0),console.log("hzjvcjhsdvchjsdvchjsvchjvsdj00 : "+r.cpThresHoldFlagEnabled),r.cpThresHoldFlagEnabled==!1&&(console.log("hzjvcjhsdvchjsdvchjsvchjvsdj : "+r.cpThresHoldFlagEnabled),this.threshholdLimit=""),r.cpPurgeFilesOlderThanEnabled==!1&&(this.purgeFilesOlderThan=""),r.cpPurgeFilesSizeGTThanFlagEnabled==!1&&(this.purgeFilesSizeGTThan=""))}updatePreferencesEdit(){this.endpointUiPreferencesEdit.forEach(r=>{this.preferencesEdit[r]=!0}),this.endpointDisabledUiPreferencesEdit.forEach(r=>{this.preferencesEdit[r]=!1})}newFilterEdit(r){console.log("filterName : "+r)}toggleCollapse(r){this.collapses[r]=!this.collapses[r],this.includethreshholdLimitCheck==!1?this.threshholdLimit="":this.threshholdLimit=this.threshholdLimitOld,this.includepurgeFilesOlderThanCheck==!1?this.purgeFilesOlderThan="":this.purgeFilesOlderThan=this.purgeFilesOlderThanOld,this.includepurgeFilesSizeGTThanCheck==!1?this.purgeFilesSizeGTThan="":this.purgeFilesSizeGTThan=this.purgeFilesSizeGTThanOld}toggleAccordion(r){this.itemVisible=this.itemVisible.map((m,e)=>e===r?!m:!1),this.itemVisible[r]?(this.onAccordionOpen(r),this.createLinkEnabled=!0):this.createLinkEnabled=!1}onAccordionOpen(r){switch(r){case 0:this.handleBackupAccordionOpen();break;default:console.log("Unknown accordion item opened")}}handleBackupAccordionOpen(){console.log("First accordion item opened")}includethreshholdLimitChange(){this.threshholdLimitError="",this.includethreshholdLimitCheck?this.threshholdLimitOld!=""?this.threshholdLimit=this.threshholdLimitOld:this.threshholdLimit="80":this.threshholdLimit="",!this.includethreshholdLimitCheck&&!this.includepurgeFilesOlderThanCheck&&!this.includepurgeFilesSizeGTThanCheck&&this.toastr.error("Please ensure that at least one option is selected.","Info")}checkthreshholdLimit(){let r=Number(this.threshholdLimit);this.threshholdLimitError="",r<1&&(this.threshholdLimitError="This value should be between 1 and 100.")}includepurgeFilesOlderThanChange(){this.purgeFilesOlderThanError="",this.includepurgeFilesOlderThanCheck?this.purgeFilesOlderThanOld!=""?this.purgeFilesOlderThan=this.purgeFilesOlderThanOld:this.purgeFilesOlderThan="365":this.purgeFilesOlderThan="",!this.includethreshholdLimitCheck&&!this.includepurgeFilesOlderThanCheck&&!this.includepurgeFilesSizeGTThanCheck&&this.toastr.error("Please ensure that at least one option is selected.","Info")}checkpurgeFilesOlderThan(){let r=Number(this.purgeFilesOlderThan);this.purgeFilesOlderThanError="",(r<1||r>9131)&&(this.purgeFilesOlderThanError="This value should be between 1 and 9131.")}includepurgeFilesSizeGTThanChange(){this.purgeFilesSizeGTThanError="",this.includepurgeFilesSizeGTThanCheck?this.purgeFilesSizeGTThanOld!=""?this.purgeFilesSizeGTThan=this.purgeFilesSizeGTThanOld:this.purgeFilesSizeGTThan="5":this.purgeFilesSizeGTThan="",!this.includethreshholdLimitCheck&&!this.includepurgeFilesOlderThanCheck&&!this.includepurgeFilesSizeGTThanCheck&&this.toastr.error("Please ensure that at least one option is selected.","Info")}checkpurgeFilesSizeGTThan(){let r=Number(this.purgeFilesSizeGTThan);this.purgeFilesSizeGTThanError="",r<1&&(this.purgeFilesSizeGTThanError="This value should be greater than or equal to 1.")}onScheduleChange(){let r=this.el.nativeElement.querySelector(".mainSchedules"),m=r.querySelector("mat-select");m.classList.remove("redAlert"),r.classList.remove("redAlert"),this.checkedListSchedule.length>0?this.getMultipleSchedules(this.checkedListSchedule.toString()):(this.defaultSchedules=[],m&&(m.classList.add("redAlert"),r.classList.add("redAlert")),this.toastr.error("No schedules selected. Please select at least one schedule.","Info"))}onFilterChange(){let r=this.el.nativeElement.querySelector(".mainFilters"),m=r.querySelector("mat-select");m.classList.remove("redAlert"),r.classList.remove("redAlert"),this.checkedListFilter.length>0?this.getMultipleFilters(this.checkedListFilter.toString()):(this.defaultFilters=[],m&&(m.classList.add("redAlert"),r.classList.add("redAlert")),this.toastr.error("No filters selected. Please select at least one filter.","Info"))}onSearchFilterChange(){let r=this.el.nativeElement.querySelector(".mainSearchFilters"),m=r.querySelector("mat-select");m.classList.remove("redAlert"),r.classList.remove("redAlert"),this.checkedListSearchFilter.length>0?this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()):(this.defaultSearchFilters=[],m&&(m.classList.add("redAlert"),r.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:ie.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 r=!0,m=this.el.nativeElement.querySelector(".scheduleName");m&&(m.value.trim()?m.classList.remove("redAlert"):(m.classList.add("redAlert"),r=!1));let e=this.el.nativeElement.querySelector(".backupdays"),o=e.querySelector("mat-select");return o&&(this.scheduleDaysList.length<=0?(o.classList.add("redAlert"),e.classList.add("redAlert"),r=!1):(o.classList.remove("redAlert"),e.classList.remove("redAlert"))),r}validateTime(){(!this.myTime||!(this.myTime instanceof Date))&&(this.myTime=new Date);let r=this.myTime.getHours(),m=this.myTime.getMinutes();r>23&&this.myTime.setHours(23),m>59&&this.myTime.setMinutes(59)}submitCreateSchedule(r){if(console.log("save called11 : "),!this.validateRequiredFieldsSchedule()){this.toastr.error("Please fill all required fields.","Error");return}if(r.invalid){r.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"),o=this.myTime.getMinutes().toString().padStart(2,"0");this.scheduleModel.time=`${e}:${o}`,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(r=>{this.schedules=r.body.scheduleElementList,this.cdr.detectChanges()},r=>{switch(console.error("Error from getAllSchedules: ",r),r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",r.message);break;case 404:console.error("Not Found: ",r.message);break;case 500:console.error("Internal Server Error: ",r.message);break;case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.message);break}})}closeScheduleConfPopup(){this.displayScheduleConfStyle="none"}closeEditModal(){this.displaySchEditStyle="none"}editSchedule(r){console.log("schedule to edit : "+r),this.scheduleNameToEdit=r,this.displayScheduleConfStyle="block"}getParticularSchedule(){this.displayScheduleConfStyle="none",this.apiService.getParticularSchedule(this.scheduleNameToEdit).subscribe(r=>{var m=JSON.stringify(r.body),e=JSON.parse(m);this.scheduleElement=e.scheduleElement,this.displaySchEditStyle="block";let o=this.scheduleElement.time,[s,n]=o.split(":").map(Number);this.myTime=new Date,this.myTime.setHours(s),this.myTime.setMinutes(n),this.scheduleDaysListEdit=this.scheduleElement.dayArray.map(H=>H.toString()),this.cdr.detectChanges()},r=>{switch(console.error("Error from getParticularSchedule: ",r),r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",r.message);break;case 404:console.error("Not Found: ",r.message);break;case 500:console.error("Internal Server Error: ",r.message);break;case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.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 r=!0,m=this.el.nativeElement.querySelector(".scheduleNameEdit");m&&(m.value.trim()?m.classList.remove("redAlert"):(m.classList.add("redAlert"),r=!1));let e=this.el.nativeElement.querySelector(".backupdaysEdit"),o=e.querySelector("mat-select");return o&&(this.scheduleDaysListEdit.length<=0?(o.classList.add("redAlert"),e.classList.add("redAlert"),r=!1):(o.classList.remove("redAlert"),e.classList.remove("redAlert"))),r}submitEditSchedule(r){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"),o=this.myTime.getMinutes().toString().padStart(2,"0");this.scheduleEditModel.time=`${e}:${o}`,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}})}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 r=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionCreate=r,this.showExtensions(),this.cannedFiltersCreate=r.concat(this.userDefinedExtensionsCreate)}else this.cannedFiltersCreate=this.userDefinedExtensionsCreate,this.checkedListExtensionCreate=[]}showExtensions(){this.extensionsVisible=!0}validateScheduleName(){let r=/^[a-zA-Z0-9@._-]{3,}$/;this.scheduleModel.scheduleName?this.invalidScheduleName=!r.test(this.scheduleModel.scheduleName):this.invalidScheduleName=!1}validateFilterName(){let r=/^[a-zA-Z0-9@._-]{3,}$/;this.invalidFilterName=!!this.filterModel.filterName&&!r.test(this.filterModel.filterName)}isFilterNameValid(r){let m=/^[a-zA-Z0-9@._-]{3,}$/;return new RegExp(m).test(r)}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(r=>{this.checkedListFilter.push(this.filterModel.filterName),this.getMultipleFilters(this.checkedListFilter.toString()),this.closeCreateFilterModal(),this.toastr.success("Filter created successfully.","Info"),this.getAllFilters()},r=>{switch(r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.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: ",r.message);break;case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.message);break}})}getAllFilters(){this.apiService.getAllFilters().subscribe(r=>{var m=JSON.stringify(r.body),e=JSON.parse(m);this.filters=e.inclusionFilterElementList,this.cdr.detectChanges(),this.getAllCannedFilters()},r=>{switch(console.error("Error from getAllFilters: ",r),r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",r.message);break;case 404:console.error("Not Found: ",r.message);break;case 500:console.error("Internal Server Error: ",r.message);break;case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.message);break}})}getAllCannedFilters(){this.apiService.getAllCannedFilters().subscribe(r=>{var m=JSON.stringify(r.body),e=JSON.parse(m);this.cannedFiltersTemplateCreate=e.filterTemplateElementList.map(o=>B(A({},o),{status:!1})),this.cannedFiltersTemplateCreate.sort((o,s)=>o.filterName.localeCompare(s.filterName)),this.cannedFiltersTemplateEdit=e.filterTemplateElementList.map(o=>B(A({},o),{status:!1})),this.cannedFiltersTemplateEdit.sort((o,s)=>o.filterName.localeCompare(s.filterName)),this.cdr.detectChanges()},r=>{switch(console.error("Error from getAllCannedFilters: ",r),r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",r.message);break;case 404:console.error("Not Found: ",r.message);break;case 500:console.error("Internal Server Error: ",r.message);break;case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.message);break}})}editFilter(r){this.filterToEdit=r,this.displayFilterConfStyle="block"}closeConfFilterPopup(){this.filterToEdit="",this.displayFilterConfStyle="none"}closeEditFilterModal(){this.displayFilterEditStyle="none"}getFilter(){this.displayFilterConfStyle="none",this.apiService.getFilter(this.filterToEdit).subscribe(r=>{var m=JSON.stringify(r.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()},r=>{switch(console.error("Error from getFilter: ",r),r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",r.message);break;case 404:console.error("Not Found: ",r.message);break;case 500:console.error("Internal Server Error: ",r.message);break;case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.message);break}})}onFilterChangeEdit(){if(this.checkedList.length>0){let r=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionEdit=r,this.showExtensions(),r.some(m=>this.userDefinedExtensionsEdit.includes(m))||(this.cannedFilters=r.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(r=>{console.log("Filter updated successfully:",r),this.closeEditFilterModal(),this.toastr.success("Filter updated successfully.","Info"),this.getMultipleFilters(this.checkedListFilter.toString())},r=>{switch(r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.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: ",r.message);break;case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.message);break}})}removeExtension(r){var m=this.checkedListExtensionEdit.indexOf(r);this.checkedListExtensionEdit.splice(m,1),this.userDefinedExtensionsEdit.splice(m,1);var e=this.cannedFilters.indexOf(r);this.cannedFilters.splice(e,1)}removeExtensionCreate(r){var m=this.checkedListExtension.indexOf(r);this.checkedListExtension.splice(m,1);var e=this.cannedFiltersCreate.indexOf(r);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())}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 r=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionEdit=r,this.showExtensions(),r.some(m=>this.userDefinedExtensionsEdit.includes(m))||(this.cannedFilters=r.concat(this.userDefinedExtensionsEdit))}else this.cannedFilters=this.userDefinedExtensionsEdit,this.checkedListExtensionEdit=[];this.matSelectBlukryptHost.close()}static{this.\u0275fac=function(m){return new(m||p)(k(he),k(Q),k(Se),k(gt),k(X),k(dt),k($),k(me),k(ye),k(ct),k(ae),k(ft),k(mt))}}static{this.\u0275cmp=de({type:p,selectors:[["app-edit"]],viewQuery:function(m,e){if(m&1&&(G(vt,5),G(Tt,5),G(Mt,5),G(Ft,5),G(kt,5)),m&2){let o;K(o=q())&&(e.matSelectEdit=o.first),K(o=q())&&(e.matSelectCreate=o.first),K(o=q())&&(e.matSelectCreateFilter=o.first),K(o=q())&&(e.matSelectEditFilter=o.first),K(o=q())&&(e.matSelectBlukryptHost=o.first)}},inputs:{schedules:"schedules",pgs:"pgs"},outputs:{shareCheckedList:"shareCheckedList",shareIndividualCheckedList:"shareIndividualCheckedList",shareCheckedListFilter:"shareCheckedListFilter",shareIndividualCheckedListFilter:"shareIndividualCheckedListFilter",shareCheckedListSearchFilter:"shareCheckedListSearchFilter",shareIndividualCheckedListSearchFilter:"shareIndividualCheckedListSearchFilter",shareCheckedListPg:"shareCheckedListPg",shareIndividualCheckedListPg:"shareIndividualCheckedListPg"},features:[ce([Q,X,$])],decls:1434,vars:330,consts:[["myForm","ngForm"],["policyNameInput","ngModel"],["tabContent1","cTabContent"],["myScheduleForm","ngForm"],["scheduleNameInput","ngModel"],["matSelectCreate",""],["myScheduleEditForm","ngForm"],["matSelectEdit",""],["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-12"],[1,"col-lg-6","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,"row","col-lg-6"],["cTooltip","Microsoft 365 Backup Storage can enable very fast bulk-restores of assets like all Mailboxes, all SharePoint Sites or all OneDrive accounts and can be highly useful for fast disaster recovery.Microsoft 365 Backup Storage provides recovery speeds of up to 2TB per hour at scale.* Source: Microsoft internal research, 2025","cTooltipPlacement","right",2,"color","#062D4D","cursor","pointer"],["aria-hidden","true",1,"fa","fa-question-circle"],[1,"col-lg-1"],[3,"switch"],["cFormCheckInput","","id","msStorageBackupEnabled","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],["color","warning"],[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"],["variant","tabs","role","tablist"],["cNavLink","",3,"cTabContent","tabPaneIdx"],["cRounded","bottom",3,"activeTabPaneIdx"],[1,"p-3","preview"],[1,"col-lg-7"],[1,"h4",2,"color","#585f69"],[1,"form-group"],["for","schedules"],[1,"clickAble",2,"cursor","pointer","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","maxVersions",1,"col-lg-12"],[1,"col-lg-2"],["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"],[1,"row",2,"margin-left","0px"],[1,"col-lg-2",2,"padding-left","0%"],["cFormCheckInput","","id","switchpurgeDeletedFilesOlderThan","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","purgeDeletedFilesOlderThan","id","purgeDeletedFilesOlderThan","autocomptocomplete","off","value","UNLIMITED",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","deletedFilesError",2,"color","#f55753","font-size","0.9em"],["for","msAppBluKrypt"],["cSelect","","name","msAppBluKrypt","id","msAppBluKrypt","title","Select Backup Agent",1,"form-control","msAppBluKrypt",3,"ngModelChange","ngModel"],[1,"row",2,"margin-bottom","10px",3,"ngStyle"],[1,"row","col-lg-12",2,"border","1px solid lightgray","border-radius","10px"],[1,"h4","col-lg-11",2,"color","#585f69","padding","5px"],[1,"col-lg-1",3,"switch"],["cFormCheckInput","","id","createLinkEnabled","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["cCollapse","",1,"row",3,"visible"],[1,"shadow","mb-4"],["for","threshholdLimit"],[1,"checkbox","check-primary",2,"display","inline","float","right"],["id","includethreshholdLimit","name","includethreshholdLimit","type","checkbox","value","enabled","checked","",3,"ngModelChange","change","ngModel"],["for","includethreshholdLimit",2,"margin-left","5px"],["type","number","id","threshholdLimit","name","threshholdLimit","min","1","max","100","value","80",1,"form-control","input-small",3,"ngModelChange","input","ngModel","disabled"],["id","threshholdLimitError",2,"color","#f55753","font-size","0.9em"],[1,"text-center"],["for","purgeFilesOlderThan"],["id","includepurgeFilesOlderThan","name","includepurgeFilesOlderThan","type","checkbox","value","enabled","checked","",3,"ngModelChange","change","ngModel"],["for","includepurgeFilesOlderThan",2,"margin-left","5px"],["type","number","id","purgeFilesOlderThan","name","purgeFilesOlderThan","min","1","value","90","max","9131",1,"form-control","input-small",3,"ngModelChange","input","ngModel","disabled"],["id","purgeFilesOlderThanError",2,"color","#f55753","font-size","0.9em"],["for","purgeFilesSizeGTThan"],["id","includepurgeFilesSizeGTThan","name","includepurgeFilesSizeGTThan","type","checkbox","value","enabled","checked","",3,"ngModelChange","change","ngModel"],["for","includepurgeFilesSizeGTThan",2,"margin-left","5px"],["type","number","id","purgeFilesSizeGTThan","name","purgeFilesSizeGTThan","min","1","value","5",1,"form-control","input-small",3,"ngModelChange","input","ngModel","disabled"],["id","purgeFilesSizeGTThanError",2,"color","#f55753","font-size","0.9em"],[1,"form-group","d-none"],["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"],["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"],["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,"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,"panel-body",2,"overflow-y","scroll","height","150px"],["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"],["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",""],["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"],["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"],["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"],["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"],["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"],["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"],["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"],["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"],["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"],["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"],["cSelect","","name","restoreInitiated[]",1,"form-control","restoreInitiatedUsers",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"],["cSelect","","name","storageLimitReached[]",1,"form-control","storageLimitReachedUsers",3,"ngModelChange","change","ngModel"],[1,"row","d-none"],["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"],["value","true","selected",""],["value","false"],["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"],["value","true"],["value","false","selected",""],["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"],[1,"form-group","hide"],["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"],[1,"checkbox","check-primary"],["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"],[2,"margin-top","5px"],["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"],[1,"form-group","col-lg-12","d-none"],["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"],["cFormCheckInput","","id","legalHold","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],[1,"col-lg-11"],[1,"systemFolders",2,"display","none"],["id","systemFolders","name","systemFolders","type","checkbox","value","enabled"],["for","systemFolders"],[1,"col-lg-6","row","d-none"],[1,"col-lg-2","rwDetectionEnabledBlock"],["cFormCheckInput","","id","rwDetectionEnabled","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],["for","webBasedLogin"],["cSelect","","name","webBasedLogin","id","webBasedLogin","required","","title","Select Web Based Login",1,"form-control","webBasedLogin",3,"ngModelChange","ngModel"],["cFormCheckInput","","id","switchnoOfDaysToKeepUserDeviceNotActive","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","noOfDaysToKeepUserDeviceNotActive","id","noOfDaysToKeepUserDeviceNotActive","autocomptocomplete","off","value","UNLIMITED",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],[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"],["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"],["for","logUnaccessedFiles",1,"col-lg-12",2,"margin-top","10px"],["id","switchlogUnaccessedFiles","name","switchlogUnaccessedFiles","type","checkbox",3,"ngModelChange","ngModel"],["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","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"],["for","canAdminChangeUserPassword"],["cSelect","","name","canAdminChangeUserPassword","id","canAdminChangeUserPassword","required","","title","Select Allow Admin To Change User Password",1,"form-control","canAdminChangeUserPassword",3,"ngModelChange","ngModel","ngClass"],[1,"bs-callout","bs-callout-primary",2,"padding-top","10px","padding-bottom","1px"],[1,"btn","btn-primary","pull-right",3,"click"],[1,"btn","btn-default","pull-right",2,"margin-right","10px",3,"click"],[1,"main"],["id","confirmAdd","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["role","document",1,"modal-dialog"],["ng-submit","addDefaultFolderConfirm(defaultFoldersBackup)",1,""],[1,"modal-content","smallModal"],[1,"modal-header"],["id","myModalLabel",1,"modal-title"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],["aria-hidden","true"],[1,"modal-body"],[1,"modal-footer"],["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-content"],[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"],[3,"value"],["type","button",1,"btn","btn-link",3,"click"],["type","button",1,"btn","btn-default",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","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"],["appearance","fill",2,"width","100%"],["multiple","",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],["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"],["type","submit",1,"btn","btn-primary",3,"click"],["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/oneDrivePolicy"],[1,"text-danger"],[2,"color","red"],[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,"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,"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"],["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"],["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 o=D();t(0,"div",11)(1,"div",12)(2,"div",13)(3,"ol",14),y(4,Lt,4,1,"li",15)(5,Dt,3,1,"li",15)(6,Pt,3,1,"li",15),i()()()(),t(7,"c-row")(8,"form",16,0),h("ngSubmit",function(){d(o);let n=P(9);return c(e.submitEditPolicy(n))}),t(10,"c-col",17)(11,"c-card",18)(12,"c-card-header"),l(13,`
          `),l(14,`
          `),t(15,"div",19),l(16,`
            `),t(17,"div",20),l(18,`
                `),t(19,"div",21),l(20,`
                    `),t(21,"label",22),l(22,"Policy Name"),i(),l(23,`
                    `),t(24,"input",23,1),E("ngModelChange",function(n){return d(o),f(e.policygroupName,n)||(e.policygroupName=n),c(n)}),i(),l(26,`
                    `),y(27,Ot,8,3,"div",24),l(28,`
                `),i(),l(29,`
                `),l(30,`
                `),t(31,"div",18),l(32,`
                    `),t(33,"label",25),l(34,"Description"),i(),l(35,`
                    `),t(36,"textarea",26),E("ngModelChange",function(n){return d(o),f(e.description,n)||(e.description=n),c(n)}),h("input",function(){return d(o),c(e.validateDescription())}),i(),l(37,`
                    `),y(38,xt,2,0,"small",27),l(39,`
                    `),y(40,It,2,0,"small",27),l(41,`
                `),i(),l(42,`
                `),t(43,"div",28),l(44,`
                    `),t(45,"span",13),l(46,"Enable backups to Microsoft 365 Backup Storage "),t(47,"a",29),l(48," "),_(49,"i",30),i()(),l(50,`
                    `),t(51,"div",31),l(52,`
                            `),t(53,"c-form-check",32),l(54,`
                                `),t(55,"input",33),E("ngModelChange",function(n){return d(o),f(e.msStorageBackupEnabled,n)||(e.msStorageBackupEnabled=n),c(n)}),i(),l(56,`
                            `),i(),l(57,`
                    `),i(),l(58,`
                `),i(),l(59,`
                `),t(60,"c-callout",34),l(61,`
                    Please note that backups to Microsoft 365 Backup Storage are controlled by a pre-determined Microsoft schedule and not by the policy schedules defined on this page.`),_(62,"br"),l(63,` Microsoft 365 Backup Storage enables ultra-fast backups by creating a secondary copy within the Microsoft 365 service data boundary.
                `),i(),l(64,`
                `),t(65,"div",35),l(66,`
                    `),t(67,"label",36),l(68,"Maximum Backup Size(GB)"),i(),l(69,`
                    `),t(70,"input",37),E("ngModelChange",function(n){return d(o),f(e.policyStorageSizeAllowed,n)||(e.policyStorageSizeAllowed=n),c(n)}),i(),l(71,`
                    `),t(72,"label",38),l(73,"Number of Users Allowed"),i(),l(74,`
                    `),t(75,"input",39),E("ngModelChange",function(n){return d(o),f(e.policyUsersAllowed,n)||(e.policyUsersAllowed=n),c(n)}),i(),l(76,`
                `),i(),l(77,`
            `),i(),l(78,`
        `),i(),l(79,`
        `),i(),t(80,"c-card-body")(81,"c-nav",40)(82,"c-nav-item")(83,"button",41),l(84," General "),i()(),t(85,"c-nav-item")(86,"button",41),l(87," Email Alert Configurations "),i()(),t(88,"c-nav-item")(89,"button",41),l(90," User action preferences "),i()(),y(91,Ut,3,2,"c-nav-item",15),t(92,"c-nav-item")(93,"button",41),l(94," Advanced "),i()()(),t(95,"c-tab-content",42,2)(97,"c-tab-pane",43)(98,"div",12)(99,"div",44),_(100,"br"),t(101,"legend",45),l(102,"Backup Information"),i(),t(103,"div",46)(104,"label",47),l(105,"Schedules - "),t(106,"a",48),h("click",function(){return d(o),c(e.addNewSchedule())}),l(107,"Create New Schedule"),i()(),t(108,"mat-form-field",49)(109,"mat-select",50),E("ngModelChange",function(n){return d(o),f(e.checkedListSchedule,n)||(e.checkedListSchedule=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onScheduleChange())}),y(110,Nt,2,2,"mat-option",51),i()()()(),t(111,"div",52),_(112,"br")(113,"br"),y(114,Wt,13,0,"div",53),i(),t(115,"div",44)(116,"div",46)(117,"label",54),l(118,"Maximum number of Versions Allowed"),i(),t(119,"div",12)(120,"div",55)(121,"c-form-check",32)(122,"input",56),E("ngModelChange",function(n){return d(o),f(e.isVersionEnabled,n)||(e.isVersionEnabled=n),c(n)}),h("change",function(){return d(o),c(e.toggleVersion())}),i()()(),t(123,"div",57)(124,"input",58),E("ngModelChange",function(n){return d(o),f(e.versions,n)||(e.versions=n),c(n)}),h("blur",function(){return d(o),c(e.myFunctionVer())}),i(),t(125,"span",59),l(126),i()()()(),t(127,"div",46)(128,"label",60),l(129,"Maximum Permissible File Size (In MB)"),i(),t(130,"div",12)(131,"div",55)(132,"c-form-check",32)(133,"input",61),E("ngModelChange",function(n){return d(o),f(e.isSizeEnabled,n)||(e.isSizeEnabled=n),c(n)}),h("change",function(){return d(o),c(e.toggleSize())}),i()()(),t(134,"div",57)(135,"input",62),E("ngModelChange",function(n){return d(o),f(e.maxPermissibleFileSize,n)||(e.maxPermissibleFileSize=n),c(n)}),h("blur",function(){return d(o),c(e.myFunctionMPS())}),i(),t(136,"span",63),l(137),i()()()(),t(138,"div",46)(139,"label",64),l(140,"Per Asset Backup Storage Limit (In GB)"),i(),t(141,"div",12)(142,"div",55)(143,"c-form-check",32)(144,"input",65),E("ngModelChange",function(n){return d(o),f(e.isLimitEnabled,n)||(e.isLimitEnabled=n),c(n)}),h("change",function(){return d(o),c(e.toggleLimit())}),i()()(),t(145,"div",57)(146,"input",66),E("ngModelChange",function(n){return d(o),f(e.perUserBackupStorageLimit,n)||(e.perUserBackupStorageLimit=n),c(n)}),h("blur",function(){return d(o),c(e.myFunctionUBS())}),i(),t(147,"span",67),l(148),i()()()(),t(149,"div",46)(150,"span",12)(151,"p"),l(152,"Purge deleted files from the catalog after"),i()(),t(153,"div",68)(154,"div",69)(155,"c-form-check",32)(156,"input",70),E("ngModelChange",function(n){return d(o),f(e.switchpurgeDeletedFilesOlderThan,n)||(e.switchpurgeDeletedFilesOlderThan=n),c(n)}),h("change",function(){return d(o),c(e.togglePurgeDeletedFilesOlderThan())}),i()()(),t(157,"div",13)(158,"input",71),E("ngModelChange",function(n){return d(o),f(e.purgeDeletedFilesOlderThan,n)||(e.purgeDeletedFilesOlderThan=n),c(n)}),h("blur",function(){return d(o),c(e.myFunctionpurgeDeletedFilesOlderThan())}),i(),t(159,"span",72),l(160),i()(),t(161,"div",55),l(162," days "),i()()(),t(163,"div",46)(164,"label",73),l(165,"M365 Backup Agent"),i(),t(166,"select",74),E("ngModelChange",function(n){return d(o),f(e.msAppBluKrypt,n)||(e.msAppBluKrypt=n),c(n)}),y(167,zt,2,2,"option",51),i()()()(),t(168,"div",75)(169,"div",44)(170,"div",76)(171,"legend",77),l(172,"Archive files from OneDrive if"),i(),t(173,"c-form-check",78)(174,"input",79),E("ngModelChange",function(n){return d(o),f(e.createLinkEnabled,n)||(e.createLinkEnabled=n),c(n)}),h("change",function(){return d(o),c(e.toggleCollapse(0))}),i()()(),t(175,"div",80)(176,"c-card",81)(177,"c-card-body")(178,"div",46)(179,"label",82),l(180,"OneDrive consumption is higher than (%)"),i(),t(181,"div",83)(182,"input",84),E("ngModelChange",function(n){return d(o),f(e.includethreshholdLimitCheck,n)||(e.includethreshholdLimitCheck=n),c(n)}),h("change",function(){return d(o),c(e.includethreshholdLimitChange())}),i(),t(183,"label",85),l(184,"Include Site consumption limit"),i()(),t(185,"input",86),E("ngModelChange",function(n){return d(o),f(e.threshholdLimit,n)||(e.threshholdLimit=n),c(n)}),h("input",function(){return d(o),c(e.checkthreshholdLimit())}),i(),t(186,"span",87),l(187),i()(),t(188,"div",88)(189,"span"),l(190,"AND"),i()(),t(191,"div",46)(192,"label",89),l(193,"Files have not been modified in (days)"),i(),t(194,"div",83)(195,"input",90),E("ngModelChange",function(n){return d(o),f(e.includepurgeFilesOlderThanCheck,n)||(e.includepurgeFilesOlderThanCheck=n),c(n)}),h("change",function(){return d(o),c(e.includepurgeFilesOlderThanChange())}),i(),t(196,"label",91),l(197,"Include days"),i()(),t(198,"input",92),E("ngModelChange",function(n){return d(o),f(e.purgeFilesOlderThan,n)||(e.purgeFilesOlderThan=n),c(n)}),h("input",function(){return d(o),c(e.checkpurgeFilesOlderThan())}),i(),t(199,"span",93),l(200),i()(),t(201,"div",88)(202,"span"),l(203,"AND"),i()(),t(204,"div",46)(205,"label",94),l(206,"Files are of size greater than (MB)"),i(),t(207,"div",83)(208,"input",95),E("ngModelChange",function(n){return d(o),f(e.includepurgeFilesSizeGTThanCheck,n)||(e.includepurgeFilesSizeGTThanCheck=n),c(n)}),h("change",function(){return d(o),c(e.includepurgeFilesSizeGTThanChange())}),i(),t(209,"label",96),l(210,"Include size"),i()(),t(211,"input",97),E("ngModelChange",function(n){return d(o),f(e.purgeFilesSizeGTThan,n)||(e.purgeFilesSizeGTThan=n),c(n)}),h("input",function(){return d(o),c(e.checkpurgeFilesSizeGTThan())}),i(),t(212,"span",98),l(213),i()()()()()()(),t(214,"div",12)(215,"div",44)(216,"legend",45),l(217,"Asset Information"),i(),t(218,"div",99)(219,"label",100),l(220,"Maximum Assets Allowed"),i(),t(221,"input",101),E("ngModelChange",function(n){return d(o),f(e.noOfDevicesAllowed,n)||(e.noOfDevicesAllowed=n),c(n)}),h("blur",function(){return d(o),c(e.myFunctionDevice())}),i(),t(222,"span",102),l(223),i()(),t(224,"div",99)(225,"label",103),l(226,"Operating System Type"),i(),t(227,"select",104),E("ngModelChange",function(n){return d(o),f(e.osType,n)||(e.osType=n),c(n)}),t(228,"option",105),l(229,"Universal"),i()()(),t(230,"div",46)(231,"label",106),l(232,"Default Folders to Backup"),i(),t(233,"c-input-group",18)(234,"input",107),E("ngModelChange",function(n){return d(o),f(e.defaultFoldersBackup,n)||(e.defaultFoldersBackup=n),c(n)}),h("keyup.enter",function(){return d(o),c(e.addDefaultFolder())}),i(),t(235,"button",108),h("click",function(){return d(o),c(e.addDefaultFolder())}),l(236,"Add"),i()()(),t(237,"div",46)(238,"label",109),l(239,"Exclusion Folder Name"),i(),t(240,"c-input-group",18)(241,"input",110),E("ngModelChange",function(n){return d(o),f(e.exclusionFolderName,n)||(e.exclusionFolderName=n),c(n)}),h("keyup.enter",function(){return d(o),c(e.addExclusionFolder())}),i(),t(242,"button",111),h("click",function(){return d(o),c(e.addExclusionFolder())}),l(243,"Add"),i()()(),_(244,"div"),i(),t(245,"div",52),_(246,"br")(247,"br"),t(248,"div",12)(249,"div",20)(250,"div",112)(251,"div",113)(252,"div",114)(253,"h5"),_(254,"i",115),l(255," Default Folders"),i()(),t(256,"div",116)(257,"div",117)(258,"div"),y(259,Kt,3,0,"ul",118)(260,qt,2,0,"span",15),i()()()(),t(261,"div",113)(262,"div",114)(263,"h5"),_(264,"i",115),l(265," Excluded Folders"),i()(),t(266,"div",119)(267,"div",117)(268,"div"),y(269,jt,3,0,"ul",118)(270,Yt,2,0,"span",15),i()()()()()()()()(),t(271,"div",12)(272,"div",44)(273,"legend",45),l(274,"Filters "),t(275,"a",120),_(276,"i",30),i()(),t(277,"div",46)(278,"label",121),l(279,"Filters - "),t(280,"a",48),h("click",function(){return d(o),c(e.addNewFilter())}),l(281,"Create New Filter"),i()(),_(282,"br"),t(283,"label",121),l(284,"Filter type"),i(),t(285,"select",122),E("ngModelChange",function(n){return d(o),f(e.filterType,n)||(e.filterType=n),c(n)}),h("change",function(n){return d(o),c(e.onSelectChangeFilterType(n))}),t(286,"option",123),l(287,"Inclusion"),i(),t(288,"option",124),l(289,"Exclusion"),i()(),t(290,"div",125),y(291,Jt,3,0,"h5",126)(292,Zt,3,0,"h5",127),t(293,"mat-form-field",128)(294,"mat-select",129),E("ngModelChange",function(n){return d(o),f(e.checkedListFilter,n)||(e.checkedListFilter=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onFilterChange())}),y(295,Qt,2,2,"mat-option",51),i()()()()(),t(296,"div",52),_(297,"br")(298,"br"),y(299,$t,13,0,"div",130),i()()(),t(300,"c-tab-pane",43)(301,"div",12)(302,"div",20)(303,"legend",45),l(304,"Email Alert Configurations"),i()(),t(305,"div",131)(306,"div",46)(307,"select",132),E("ngModelChange",function(n){return d(o),f(e.createUserAdmins,n)||(e.createUserAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(308,"option",133),l(309,"Enabled"),i(),t(310,"option",134),l(311,"Disabled"),i()()()(),t(312,"div",131)(313,"div",46)(314,"select",135),E("ngModelChange",function(n){return d(o),f(e.createUserReadonlyadmins,n)||(e.createUserReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(315,"option",136),l(316,"Enabled"),i(),t(317,"option",134),l(318,"Disabled"),i()()()(),t(319,"div",13)(320,"div",46)(321,"label"),l(322,"User Created"),i(),t(323,"select",137),E("ngModelChange",function(n){return d(o),f(e.createUserUsers,n)||(e.createUserUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(324,"option",138),l(325,"Enabled"),i(),t(326,"option",139),l(327,"Disabled"),i()()()(),t(328,"div",131)(329,"div",46)(330,"select",140),E("ngModelChange",function(n){return d(o),f(e.userDeletedAdmins,n)||(e.userDeletedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(331,"option",133),l(332,"Enabled"),i(),t(333,"option",134),l(334,"Disabled"),i()()()(),t(335,"div",131)(336,"div",46)(337,"select",141),E("ngModelChange",function(n){return d(o),f(e.userDeletedReadonlyadmins,n)||(e.userDeletedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(338,"option",136),l(339,"Enabled"),i(),t(340,"option",134),l(341,"Disabled"),i()()()(),t(342,"div",13)(343,"div",46)(344,"label"),l(345,"User Deleted"),i(),t(346,"select",142),E("ngModelChange",function(n){return d(o),f(e.userDeletedUsers,n)||(e.userDeletedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(347,"option",138),l(348,"Enabled"),i(),t(349,"option",139),l(350,"Disabled"),i()()()(),t(351,"div",131)(352,"div",46)(353,"select",143),E("ngModelChange",function(n){return d(o),f(e.userBlockedAdmins,n)||(e.userBlockedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(354,"option",133),l(355,"Enabled"),i(),t(356,"option",134),l(357,"Disabled"),i()()()(),t(358,"div",131)(359,"div",46)(360,"select",144),E("ngModelChange",function(n){return d(o),f(e.userBlockedReadonlyadmins,n)||(e.userBlockedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(361,"option",136),l(362,"Enabled"),i(),t(363,"option",134),l(364,"Disabled"),i()()()(),t(365,"div",13)(366,"div",46)(367,"label"),l(368,"User Blocked"),i(),t(369,"select",145),E("ngModelChange",function(n){return d(o),f(e.userBlockedUsers,n)||(e.userBlockedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(370,"option",138),l(371,"Enabled"),i(),t(372,"option",139),l(373,"Disabled"),i()()()(),t(374,"div",131)(375,"div",46)(376,"select",146),E("ngModelChange",function(n){return d(o),f(e.userLimitReachedAdmins,n)||(e.userLimitReachedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(377,"option",133),l(378,"Enabled"),i(),t(379,"option",134),l(380,"Disabled"),i()()()(),t(381,"div",131)(382,"div",46)(383,"select",147),E("ngModelChange",function(n){return d(o),f(e.userLimitReachedReadonlyadmins,n)||(e.userLimitReachedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(384,"option",136),l(385,"Enabled"),i(),t(386,"option",134),l(387,"Disabled"),i()()()(),t(388,"div",131)(389,"div",46)(390,"label"),l(391,"User Limit Reached"),i(),t(392,"select",148),E("ngModelChange",function(n){return d(o),f(e.userLimitReachedUsers,n)||(e.userLimitReachedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(393,"option",138),l(394,"Enabled"),i(),t(395,"option",139),l(396,"Disabled"),i()()()(),t(397,"div",131)(398,"div",46)(399,"select",149),E("ngModelChange",function(n){return d(o),f(e.deviceDeletedAdmins,n)||(e.deviceDeletedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(400,"option",133),l(401,"Enabled"),i(),t(402,"option",134),l(403,"Disabled"),i()()()(),t(404,"div",131)(405,"div",46)(406,"select",150),E("ngModelChange",function(n){return d(o),f(e.deviceDeletedReadonlyadmins,n)||(e.deviceDeletedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(407,"option",136),l(408,"Enabled"),i(),t(409,"option",134),l(410,"Disabled"),i()()()(),t(411,"div",13)(412,"div",46)(413,"label"),l(414,"Asset Deleted"),i(),t(415,"select",151),E("ngModelChange",function(n){return d(o),f(e.deviceDeletedUsers,n)||(e.deviceDeletedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(416,"option",138),l(417,"Enabled"),i(),t(418,"option",139),l(419,"Disabled"),i()()()(),t(420,"div",131)(421,"div",46)(422,"select",152),E("ngModelChange",function(n){return d(o),f(e.deviceBlockedAdmins,n)||(e.deviceBlockedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(423,"option",133),l(424,"Enabled"),i(),t(425,"option",134),l(426,"Disabled"),i()()()(),t(427,"div",131)(428,"div",46)(429,"select",153),E("ngModelChange",function(n){return d(o),f(e.deviceBlockedReadonlyadmins,n)||(e.deviceBlockedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(430,"option",136),l(431,"Enabled"),i(),t(432,"option",134),l(433,"Disabled"),i()()()(),t(434,"div",13)(435,"div",46)(436,"label"),l(437,"Asset Blocked"),i(),t(438,"select",154),E("ngModelChange",function(n){return d(o),f(e.deviceBlockedUsers,n)||(e.deviceBlockedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(439,"option",138),l(440,"Enabled"),i(),t(441,"option",139),l(442,"Disabled"),i()()()(),t(443,"div",131)(444,"div",46)(445,"select",155),E("ngModelChange",function(n){return d(o),f(e.deviceDecoupledAdmins,n)||(e.deviceDecoupledAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(446,"option",133),l(447,"Enabled"),i(),t(448,"option",134),l(449,"Disabled"),i()()()(),t(450,"div",131)(451,"div",46)(452,"select",156),E("ngModelChange",function(n){return d(o),f(e.deviceDecoupledReadonlyadmins,n)||(e.deviceDecoupledReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(453,"option",136),l(454,"Enabled"),i(),t(455,"option",134),l(456,"Disabled"),i()()()(),t(457,"div",131)(458,"div",46)(459,"label"),l(460,"Asset de-couple"),i(),t(461,"select",157),E("ngModelChange",function(n){return d(o),f(e.deviceDecoupledUsers,n)||(e.deviceDecoupledUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(462,"option",138),l(463,"Enabled"),i(),t(464,"option",139),l(465,"Disabled"),i()()()(),t(466,"div",131)(467,"div",46)(468,"select",158),E("ngModelChange",function(n){return d(o),f(e.deviceLimitReachedAdmins,n)||(e.deviceLimitReachedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(469,"option",133),l(470,"Enabled"),i(),t(471,"option",134),l(472,"Disabled"),i()()()(),t(473,"div",131)(474,"div",46)(475,"select",159),E("ngModelChange",function(n){return d(o),f(e.deviceLimitReachedReadonlyadmins,n)||(e.deviceLimitReachedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(476,"option",136),l(477,"Enabled"),i(),t(478,"option",134),l(479,"Disabled"),i()()()(),t(480,"div",131)(481,"div",46)(482,"label"),l(483,"Asset Limit Reached"),i(),t(484,"select",160),E("ngModelChange",function(n){return d(o),f(e.deviceLimitReachedUsers,n)||(e.deviceLimitReachedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(485,"option",138),l(486,"Enabled"),i(),t(487,"option",139),l(488,"Disabled"),i()()()(),t(489,"div",131)(490,"div",46)(491,"select",161),E("ngModelChange",function(n){return d(o),f(e.weeklyBkpreportAdmins,n)||(e.weeklyBkpreportAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(492,"option",133),l(493,"Enabled"),i(),t(494,"option",134),l(495,"Disabled"),i()()()(),t(496,"div",131)(497,"div",46)(498,"select",162),E("ngModelChange",function(n){return d(o),f(e.weeklyBkpreportReadonlyadmins,n)||(e.weeklyBkpreportReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(499,"option",136),l(500,"Enabled"),i(),t(501,"option",134),l(502,"Disabled"),i()()()(),t(503,"div",13)(504,"div",46)(505,"label"),l(506,"Weekly backup report"),i(),t(507,"select",163),E("ngModelChange",function(n){return d(o),f(e.weeklyBkpreportUsers,n)||(e.weeklyBkpreportUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(508,"option",138),l(509,"Enabled"),i(),t(510,"option",139),l(511,"Disabled"),i()()()(),t(512,"div",131)(513,"div",46)(514,"select",164),E("ngModelChange",function(n){return d(o),f(e.firstBkpCompletedAdmins,n)||(e.firstBkpCompletedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(515,"option",133),l(516,"Enabled"),i(),t(517,"option",134),l(518,"Disabled"),i()()()(),t(519,"div",131)(520,"div",46)(521,"select",165),E("ngModelChange",function(n){return d(o),f(e.firstBkpCompletedReadonlyadmins,n)||(e.firstBkpCompletedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(522,"option",136),l(523,"Enabled"),i(),t(524,"option",134),l(525,"Disabled"),i()()()(),t(526,"div",13)(527,"div",46)(528,"label"),l(529,"First backup completed"),i(),t(530,"select",166),E("ngModelChange",function(n){return d(o),f(e.firstBkpCompletedUsers,n)||(e.firstBkpCompletedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(531,"option",138),l(532,"Enabled"),i(),t(533,"option",139),l(534,"Disabled"),i()()()(),t(535,"div",131)(536,"div",46)(537,"select",167),E("ngModelChange",function(n){return d(o),f(e.restoreInitiatedAdmins,n)||(e.restoreInitiatedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(538,"option",133),l(539,"Enabled"),i(),t(540,"option",134),l(541,"Disabled"),i()()()(),t(542,"div",131)(543,"div",46)(544,"select",168),E("ngModelChange",function(n){return d(o),f(e.restoreInitiatedReadonlyadmins,n)||(e.restoreInitiatedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(545,"option",136),l(546,"Enabled"),i(),t(547,"option",134),l(548,"Disabled"),i()()()(),t(549,"div",13)(550,"div",46)(551,"label"),l(552,"Restore initiated"),i(),t(553,"select",169),E("ngModelChange",function(n){return d(o),f(e.restoreInitiatedUsers,n)||(e.restoreInitiatedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(554,"option",138),l(555,"Enabled"),i(),t(556,"option",139),l(557,"Disabled"),i()()()(),t(558,"div",131)(559,"div",46)(560,"select",170),E("ngModelChange",function(n){return d(o),f(e.storageLimitReachedAdmins,n)||(e.storageLimitReachedAdmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(561,"option",133),l(562,"Enabled"),i(),t(563,"option",134),l(564,"Disabled"),i()()()(),t(565,"div",131)(566,"div",46)(567,"select",171),E("ngModelChange",function(n){return d(o),f(e.storageLimitReachedReadonlyadmins,n)||(e.storageLimitReachedReadonlyadmins=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(568,"option",136),l(569,"Enabled"),i(),t(570,"option",134),l(571,"Disabled"),i()()()(),t(572,"div",13)(573,"div",46)(574,"label"),l(575,"Storage limit reached"),i(),t(576,"select",172),E("ngModelChange",function(n){return d(o),f(e.storageLimitReachedUsers,n)||(e.storageLimitReachedUsers=n),c(n)}),h("change",function(){return d(o),c(e.updateOutput())}),t(577,"option",138),l(578,"Enabled"),i(),t(579,"option",139),l(580,"Disabled"),i()()()()()(),t(581,"c-tab-pane",43)(582,"div",173)(583,"div",20)(584,"legend",45),l(585,"Agent "),t(586,"a",174),_(587,"i",30),i()()(),t(588,"div",13)(589,"div",46)(590,"label",175),l(591,"My Backup Files"),i(),t(592,"select",176),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.BACKUP_FILES,n)||(e.preferencesEdit.BACKUP_FILES=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(593,"option",177),l(594,"Enabled"),i(),t(595,"option",178),l(596,"Disabled"),i()()(),t(597,"div",46)(598,"label",175),l(599,"Settings"),i(),t(600,"select",179),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.BACKUP_SETTINGS,n)||(e.preferencesEdit.BACKUP_SETTINGS=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(601,"option",177),l(602,"Enabled"),i(),t(603,"option",178),l(604,"Disabled"),i()()(),t(605,"div",46)(606,"label",175),l(607,"Initiate Backup"),i(),t(608,"select",180),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.INTIATE_BACKUP,n)||(e.preferencesEdit.INTIATE_BACKUP=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(609,"option",177),l(610,"Enabled"),i(),t(611,"option",178),l(612,"Disabled"),i()()(),t(613,"div",46)(614,"label",175),l(615,"Stop Backup"),i(),t(616,"select",181),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.STOP_BACKUP,n)||(e.preferencesEdit.STOP_BACKUP=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(617,"option",177),l(618,"Enabled"),i(),t(619,"option",178),l(620,"Disabled"),i()()(),t(621,"div",46)(622,"label",175),l(623,"Support"),i(),t(624,"select",182),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.SUPPORT,n)||(e.preferencesEdit.SUPPORT=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(625,"option",177),l(626,"Enabled"),i(),t(627,"option",178),l(628,"Disabled"),i()()(),t(629,"div",46)(630,"label",183),l(631,"About"),i(),t(632,"select",184),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.ABOUT,n)||(e.preferencesEdit.ABOUT=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(633,"option",177),l(634,"Enabled"),i(),t(635,"option",178),l(636,"Disabled"),i()()(),t(637,"div",46)(638,"label",185),l(639,"Block Notifications"),i(),t(640,"select",186),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.BLOCK_NOTIFICATIONS,n)||(e.preferencesEdit.BLOCK_NOTIFICATIONS=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(641,"option",187),l(642,"Enabled"),i(),t(643,"option",188),l(644,"Disabled"),i()()(),t(645,"div",46)(646,"label",189),l(647,"Systray Icon"),i(),t(648,"select",190),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.SYSTRAYICON,n)||(e.preferencesEdit.SYSTRAYICON=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(649,"option",177),l(650,"Enabled"),i(),t(651,"option",178),l(652,"Disabled"),i()()()(),t(653,"div",13)(654,"div",46)(655,"label",175),l(656,"Restore"),i(),t(657,"select",191),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.RESTORE,n)||(e.preferencesEdit.RESTORE=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(658,"option",177),l(659,"Enabled"),i(),t(660,"option",178),l(661,"Disabled"),i()()(),t(662,"div",46)(663,"label",175),l(664,"Refresh Policy"),i(),t(665,"select",192),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.REFRESH_BACKUP_POLICY,n)||(e.preferencesEdit.REFRESH_BACKUP_POLICY=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(666,"option",177),l(667,"Enabled"),i(),t(668,"option",178),l(669,"Disabled"),i()()(),t(670,"div",46)(671,"label",193),l(672,"Pause Backup"),i(),t(673,"select",194),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.PAUSE_BACKUP,n)||(e.preferencesEdit.PAUSE_BACKUP=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(674,"option",177),l(675,"Enabled"),i(),t(676,"option",178),l(677,"Disabled"),i()()(),t(678,"div",46)(679,"label",195),l(680,"Update Agent"),i(),t(681,"select",196),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.UPDATE_AGENT,n)||(e.preferencesEdit.UPDATE_AGENT=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(682,"option",177),l(683,"Enabled"),i(),t(684,"option",178),l(685,"Disabled"),i()()(),t(686,"div",46)(687,"label",175),l(688,"Decouple"),i(),t(689,"select",197),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.DECOUPLE,n)||(e.preferencesEdit.DECOUPLE=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(690,"option",177),l(691,"Enabled"),i(),t(692,"option",178),l(693,"Disabled"),i()()(),t(694,"div",198)(695,"label",199),l(696,"Disallow Admin Restores"),i(),t(697,"select",200),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.DISALLOW_ADMIN_RESTORES,n)||(e.preferencesEdit.DISALLOW_ADMIN_RESTORES=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(698,"option",187),l(699,"Enabled"),i(),t(700,"option",188),l(701,"Disabled"),i()()(),t(702,"div",46)(703,"label",175),l(704,"Exit"),i(),t(705,"select",201),E("ngModelChange",function(n){return d(o),f(e.preferencesEdit.EXIT,n)||(e.preferencesEdit.EXIT=n),c(n)}),h("change",function(){return d(o),c(e.updatePreferences())}),t(706,"option",177),l(707,"Enabled"),i(),t(708,"option",178),l(709,"Disabled"),i()()()()(),t(710,"div",12)(711,"div",202)(712,"legend",45),l(713,"Portal "),t(714,"a",203),_(715,"i",30),i()(),t(716,"div",13)(717,"div",204)(718,"label",205),l(719,"Open"),i(),t(720,"select",206),E("ngModelChange",function(n){return d(o),f(e.menuOptionsEdit.open,n)||(e.menuOptionsEdit.open=n),c(n)}),h("change",function(){return d(o),c(e.updateMenuOptions())}),t(721,"option",177),l(722,"Enabled"),i(),t(723,"option",178),l(724,"Disabled"),i()()(),t(725,"div",207)(726,"label",208),l(727,"Versions"),i(),t(728,"select",209),E("ngModelChange",function(n){return d(o),f(e.menuOptionsEdit.versions,n)||(e.menuOptionsEdit.versions=n),c(n)}),h("change",function(){return d(o),c(e.updateMenuOptions())}),t(729,"option",177),l(730,"Enabled"),i(),t(731,"option",178),l(732,"Disabled"),i()()(),t(733,"div",210)(734,"label",211),l(735,"Download"),i(),t(736,"select",212),E("ngModelChange",function(n){return d(o),f(e.menuOptionsEdit.download,n)||(e.menuOptionsEdit.download=n),c(n)}),h("change",function(){return d(o),c(e.updateMenuOptions())}),t(737,"option",177),l(738,"Enabled"),i(),t(739,"option",178),l(740,"Disabled"),i()()()(),t(741,"div",13)(742,"div",213)(743,"label",214),l(744,"View"),i(),t(745,"select",215),E("ngModelChange",function(n){return d(o),f(e.menuOptionsEdit.view,n)||(e.menuOptionsEdit.view=n),c(n)}),h("change",function(){return d(o),c(e.updateMenuOptions())}),t(746,"option",177),l(747,"Enabled"),i(),t(748,"option",178),l(749,"Disabled"),i()()(),t(750,"div",216)(751,"label",217),l(752,"Share"),i(),t(753,"select",218),E("ngModelChange",function(n){return d(o),f(e.menuOptionsEdit.share,n)||(e.menuOptionsEdit.share=n),c(n)}),h("change",function(){return d(o),c(e.updateMenuOptions())}),t(754,"option",187),l(755,"Enabled"),i(),t(756,"option",188),l(757,"Disabled"),i()()(),t(758,"div",219)(759,"label",220),l(760,"Restore"),i(),t(761,"select",221),E("ngModelChange",function(n){return d(o),f(e.menuOptionsEdit.restore,n)||(e.menuOptionsEdit.restore=n),c(n)}),h("change",function(){return d(o),c(e.updateMenuOptions())}),t(762,"option",177),l(763,"Enabled"),i(),t(764,"option",178),l(765,"Disabled"),i()()()()()(),t(766,"div",222)(767,"div",20)(768,"legend",45),l(769,"Share Details"),i(),t(770,"div",223)(771,"div",46)(772,"div",224),_(773,"input",225),t(774,"label",226),l(775,"Enable Domain Control"),i()()(),t(776,"div",12)(777,"div",227)(778,"label",228),l(779,"Share Domain Inclusions/Exclusions"),i(),_(780,"input",229),i(),t(781,"div",230)(782,"div",231),_(783,"input",232),t(784,"label",233),l(785,"Share only with these Email domains"),i(),_(786,"br")(787,"input",234),t(788,"label",233),l(789,"Share with all Email domains excepting these"),i()()()()(),t(790,"div",235)(791,"div",236)(792,"label",237),_(793,"input",238)(794,"div",239),i()(),t(795,"span",240),l(796,"Allow sharer visibility to the shared link"),i()(),t(797,"div",223)(798,"div",46)(799,"div",224),_(800,"input",241),t(801,"label",242),l(802,"Highly Secure Sharing"),i()()(),t(803,"div",202)(804,"div",243)(805,"div",244)(806,"label",237),_(807,"input",245)(808,"div",239),i()(),t(809,"span",240),l(810,"Complex Password"),i()(),t(811,"div",243)(812,"div",246)(813,"label",237),_(814,"input",247)(815,"div",239),i()(),t(816,"span",240),l(817,"Allow Download"),i()(),t(818,"div",243)(819,"div",248)(820,"label",237),_(821,"input",249)(822,"div",239),i()(),t(823,"span",240),l(824,"Require Expiration Date for shared data"),i()(),t(825,"div",243)(826,"div",250)(827,"label",237),_(828,"input",251)(829,"div",239),i()(),t(830,"span",240),l(831,"Enable multi-factor authentication"),i()()()()()()(),t(832,"c-tab-pane",43)(833,"div",12)(834,"div",20)(835,"legend",45),l(836,"Search "),t(837,"a",252),_(838,"i",30),i()(),t(839,"div",13)(840,"div",253)(841,"label",254),l(842,"Content Index"),i(),t(843,"select",255),E("ngModelChange",function(n){return d(o),f(e.contentIndexEnabled,n)||(e.contentIndexEnabled=n),c(n)}),t(844,"option",177),l(845,"Enabled"),i(),t(846,"option",178),l(847,"Disabled"),i()()()()()(),t(848,"div",12)(849,"div",44)(850,"legend",45),l(851,"Search Filters"),i(),t(852,"div",46)(853,"label",256),l(854,"filters - "),t(855,"a",257),h("click",function(){return d(o),c(e.addNewFilter())}),l(856,"Create New Filter"),i()(),_(857,"br"),t(858,"label",121),l(859,"Filter type"),i(),t(860,"select",258),E("ngModelChange",function(n){return d(o),f(e.searchFilterType,n)||(e.searchFilterType=n),c(n)}),h("change",function(n){return d(o),c(e.onSelectChangeSearchFilterType(n))}),t(861,"option",123),l(862,"Inclusion"),i(),t(863,"option",124),l(864,"Exclusion"),i()()(),t(865,"div",125),y(866,ei,3,0,"h5",259)(867,ti,3,0,"h5",260),t(868,"mat-form-field",261)(869,"mat-select",262),E("ngModelChange",function(n){return d(o),f(e.checkedListSearchFilter,n)||(e.checkedListSearchFilter=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onSearchFilterChange())}),y(870,ii,2,2,"mat-option",51),i()()()(),t(871,"div",52),_(872,"br")(873,"br"),y(874,ri,13,0,"div",130),i()()(),t(875,"c-tab-pane",43)(876,"div",173)(877,"div",44)(878,"legend",263),l(879,"partialFileAttributes"),i(),t(880,"div",264)(881,"label",265),l(882,"incrementalFileTransfer"),i(),t(883,"select",266)(884,"option",177),l(885,"Enabled"),i(),t(886,"option",178),l(887,"Disabled"),i()()(),_(888,"br"),t(889,"legend",263),l(890,"Throttling Attributes"),i(),t(891,"div",99)(892,"fieldset",267)(893,"label",268),l(894,"Throttle traffic at endpoint agent to"),i(),t(895,"div",269)(896,"c-form-check",32)(897,"input",270),E("ngModelChange",function(n){return d(o),f(e.isThrottleEnabled,n)||(e.isThrottleEnabled=n),c(n)}),h("change",function(){return d(o),c(e.toggleThrottle())}),i()()(),t(898,"div",12)(899,"div",13)(900,"input",271),E("ngModelChange",function(n){return d(o),f(e.nwFromClientToPGMB,n)||(e.nwFromClientToPGMB=n),c(n)}),h("blur",function(){return d(o),c(e.validateInput())}),i(),t(901,"span",272),l(902),i(),t(903,"span",273),l(904),i()(),t(905,"div",13)(906,"select",274),E("ngModelChange",function(n){return d(o),f(e.networkThrottlingUnit,n)||(e.networkThrottlingUnit=n),c(n)}),h("change",function(){return d(o),c(e.onUnitChange())}),t(907,"option",275),l(908,"Kbps"),i(),t(909,"option",276),l(910,"Mbps"),i(),t(911,"option",277),l(912,"Gbps"),i()()()()()(),t(913,"div",278)(914,"label",279),l(915,"CPU Throttling"),i(),_(916,"br"),t(917,"div",280)(918,"input",281),E("ngModelChange",function(n){return d(o),f(e.cpuThrottling,n)||(e.cpuThrottling=n),c(n)}),h("input",function(n){return d(o),c(e.onSliderChange(n))}),i(),t(919,"p"),l(920,"Value: "),t(921,"span",282),l(922),i()()()(),t(923,"div",99)(924,"label",283),l(925,"nwFromPGToCloud (In MBPS)"),i(),_(926,"input",284),i(),t(927,"div",99)(928,"label",285),l(929,"filesCrawlLimit"),i(),_(930,"input",286),i(),t(931,"div",99)(932,"label",287),l(933,"networkThrottling"),i(),t(934,"select",288)(935,"option",177),l(936,"Enabled"),i(),t(937,"option",178),l(938,"Disabled"),i()()()(),t(939,"div",289),_(940,"br")(941,"br"),t(942,"div",290)(943,"div",20)(944,"div",291)(945,"div",116)(946,"div",46)(947,"label",292),l(948,"partialFileSize (In MB)"),i(),_(949,"input",293),i(),t(950,"div",46)(951,"label",294),l(952,"fileChunkableSize (In MB)"),i(),_(953,"input",295),i()()()()()()(),t(954,"div",12)(955,"div",44)(956,"legend",45),l(957,"Options"),i(),t(958,"div",202)(959,"div",31)(960,"c-form-check",32)(961,"input",296),E("ngModelChange",function(n){return d(o),f(e.legalHold,n)||(e.legalHold=n),c(n)}),i()()(),t(962,"span",297),l(963,"Legal Hold"),i()(),t(964,"div",46)(965,"div",224)(966,"span",298),_(967,"input",299),t(968,"label",300),l(969,"System Folders"),i()()()(),t(970,"div",301)(971,"span",240),l(972,"Unusual Activity Detection Enabled"),i(),t(973,"div",302)(974,"c-form-check",32)(975,"input",303),E("ngModelChange",function(n){return d(o),f(e.rwDetectionEnabled,n)||(e.rwDetectionEnabled=n),c(n)}),i()()()(),t(976,"div",46)(977,"label",304),l(978,"Web Based Login"),i(),t(979,"select",305),E("ngModelChange",function(n){return d(o),f(e.webBasedLogin,n)||(e.webBasedLogin=n),c(n)}),t(980,"option",177),l(981,"Enabled"),i(),t(982,"option",178),l(983,"Disabled"),i()()(),t(984,"div",46)(985,"span",12)(986,"p"),l(987,"Delete assets which have not been active for"),i()(),t(988,"div",68)(989,"div",69)(990,"c-form-check",32)(991,"input",306),E("ngModelChange",function(n){return d(o),f(e.switchnoOfDaysToKeepUserDeviceNotActive,n)||(e.switchnoOfDaysToKeepUserDeviceNotActive=n),c(n)}),h("change",function(){return d(o),c(e.toggleNoOfDaysToKeepUserDeviceNotActive())}),i()()(),t(992,"div",13)(993,"input",307),E("ngModelChange",function(n){return d(o),f(e.noOfDaysToKeepUserDeviceNotActive,n)||(e.noOfDaysToKeepUserDeviceNotActive=n),c(n)}),h("blur",function(){return d(o),c(e.myFunctionnoOfDaysToKeepUserDeviceNotActive())}),i(),t(994,"span",72),l(995),i()(),t(996,"div",55),l(997," days "),i()()(),t(998,"div",308)(999,"label",309),l(1e3,"Can Administrator Restore User Data"),i(),t(1001,"select",310),E("ngModelChange",function(n){return d(o),f(e.canAdminRestoreAll,n)||(e.canAdminRestoreAll=n),c(n)}),h("ngModelChange",function(){return d(o),c(e.flipAllowEndUserTocontrolRestore())}),t(1002,"option",311),l(1003,"Yes"),i(),t(1004,"option",311),l(1005,"No"),i()()(),t(1006,"div",308)(1007,"label",312),l(1008,"Can Administrator Delete User Data"),i(),t(1009,"select",313),E("ngModelChange",function(n){return d(o),f(e.isAdminDeleteBackupFile,n)||(e.isAdminDeleteBackupFile=n),c(n)}),t(1010,"option",311),l(1011,"Yes"),i(),t(1012,"option",311),l(1013,"No"),i()()(),y(1014,li,8,1,"div",314)(1015,oi,10,1,"div",314),t(1016,"div",99)(1017,"label",315),l(1018,"Compression Enabled"),i(),t(1019,"select",316),E("ngModelChange",function(n){return d(o),f(e.compEnabled,n)||(e.compEnabled=n),c(n)}),t(1020,"option",177),l(1021,"Enabled"),i(),t(1022,"option",178),l(1023,"Disabled"),i()()(),t(1024,"div",317)(1025,"label",318),l(1026,"VSS"),i(),t(1027,"select",319),E("ngModelChange",function(n){return d(o),f(e.vssEnabled,n)||(e.vssEnabled=n),c(n)}),t(1028,"option",177),l(1029,"Enabled"),i(),t(1030,"option",178),l(1031,"Disabled"),i()()(),t(1032,"div",320)(1033,"label",321),l(1034,"Blukrypt Search Algorithm"),i(),t(1035,"select",322),E("ngModelChange",function(n){return d(o),f(e.searchAlgorithm,n)||(e.searchAlgorithm=n),c(n)}),h("change",function(){return d(o),c(e.onSearchAlgorithmChange())}),t(1036,"option",323),l(1037,"Nearest"),i(),t(1038,"option",324),l(1039,"Priority"),i()()(),y(1040,ai,7,6,"div",325),t(1041,"div",99)(1042,"label",326),l(1043,"Policy Refresh Frequency (In Hours)"),i(),t(1044,"input",327),E("ngModelChange",function(n){return d(o),f(e.policyRefresh,n)||(e.policyRefresh=n),c(n)}),i()(),t(1045,"div",99)(1046,"label",328),l(1047,"Capture Unaccessed Items"),i(),t(1048,"div",57)(1049,"label",237)(1050,"input",329),E("ngModelChange",function(n){return d(o),f(e.switchlogUnaccessedFiles,n)||(e.switchlogUnaccessedFiles=n),c(n)}),i(),_(1051,"div",239),i()()(),t(1052,"div",99)(1053,"label",330),l(1054,"Backup Hidden Files"),i(),t(1055,"select",331),E("ngModelChange",function(n){return d(o),f(e.canBackupHiddenFiles,n)||(e.canBackupHiddenFiles=n),c(n)}),t(1056,"option",177),l(1057,"Enabled"),i(),t(1058,"option",178),l(1059,"Disabled"),i()()(),t(1060,"div",332)(1061,"span",333)(1062,"p"),l(1063,"Fairness Algorithm"),i()(),t(1064,"div",334)(1065,"label",237),_(1066,"input",335)(1067,"div",239),i()(),t(1068,"div",57),_(1069,"input",336)(1070,"span",63),i()(),t(1071,"div",99)(1072,"label",337),l(1073,"Full Backup Enabled"),i(),t(1074,"select",338)(1075,"option",187),l(1076,"Enabled"),i(),t(1077,"option",188),l(1078,"Disabled"),i()()(),t(1079,"div",339)(1080,"label",340),l(1081,"Full Backup Start Date"),i(),_(1082,"input",341),i()()(),t(1083,"div",173)(1084,"div",44)(1085,"legend",45),l(1086,"Password Enforcement "),t(1087,"a",342),_(1088,"i",30),i()(),t(1089,"div",308)(1090,"label",343),l(1091,"Can User Change Password"),i(),t(1092,"select",344),E("ngModelChange",function(n){return d(o),f(e.canUserChangePassword,n)||(e.canUserChangePassword=n),c(n)}),t(1093,"option",177),l(1094,"Enabled"),i(),t(1095,"option",178),l(1096,"Disabled"),i()()(),t(1097,"div",308)(1098,"label",345),l(1099,"Can Admin Change User Password"),i(),t(1100,"select",346),E("ngModelChange",function(n){return d(o),f(e.canAdminChangeUserPassword,n)||(e.canAdminChangeUserPassword=n),c(n)}),t(1101,"option",187),l(1102,"Enabled"),i(),t(1103,"option",188),l(1104,"Disabled"),i()()()()(),t(1105,"div",173)(1106,"div",20)(1107,"div",347)(1108,"p"),l(1109," Grayed out options are currently controlled in Cloud Properties. Please speak to you Administrator or visit the Cloud Properties page to change their behavior. "),_(1110,"br"),l(1111,"Both password enforcement options cannot be disabled at same time. "),i()()()()()(),t(1112,"div",12)(1113,"div",13)(1114,"a",348),h("click",function(){return d(o),c(e.submitPolicy())}),l(1115,"Save"),i(),t(1116,"a",349),h("click",function(){return d(o),c(e.sendMeTo("/pms/oneDrivePolicy"))}),l(1117,"Cancel"),i()()()()()()()(),t(1118,"div",350)(1119,"div",351)(1120,"div",352)(1121,"form",353)(1122,"div",354)(1123,"div",355)(1124,"h4",356),l(1125,"Confirm Add"),i(),t(1126,"button",357)(1127,"span",358),l(1128,"\xD7"),i()()(),t(1129,"div",359)(1130,"p"),l(1131,"Are you sure, you want to add the folder path"),i()(),t(1132,"div",360)(1133,"button",361),l(1134,"Close"),i(),t(1135,"button",362),l(1136,"Save"),i()()()()()(),t(1137,"div",363)(1138,"div",352)(1139,"form",364)(1140,"div",354)(1141,"div",355)(1142,"h4",356),l(1143,"Confirm Add"),i(),t(1144,"button",357)(1145,"span",358),l(1146,"\xD7"),i()()(),t(1147,"div",359)(1148,"p"),l(1149,"Are you sure, you want to add the folder path"),i()(),t(1150,"div",360)(1151,"button",361),l(1152,"Close"),i(),t(1153,"button",362),l(1154,"Save"),i()()()()()(),t(1155,"div",351)(1156,"div",352)(1157,"form",353)(1158,"div",354)(1159,"div",355)(1160,"h4",356),l(1161,"Confirm Add"),i(),t(1162,"button",357)(1163,"span",358),l(1164,"\xD7"),i()()(),t(1165,"div",359)(1166,"p"),l(1167,"Are you sure, you want to add the folder path"),i()(),t(1168,"div",360)(1169,"button",361),l(1170,"Close"),i(),t(1171,"button",362),l(1172,"Save"),i()()()()()(),t(1173,"div",363)(1174,"div",352)(1175,"form",364)(1176,"div",354)(1177,"div",355)(1178,"h4",356),l(1179,"Confirm Add"),i(),t(1180,"button",357)(1181,"span",358),l(1182,"\xD7"),i()()(),t(1183,"div",359)(1184,"p"),l(1185,"Are you sure, you want to add the folder path"),i()(),t(1186,"div",360)(1187,"button",361),l(1188,"Close"),i(),t(1189,"button",362),l(1190,"Save"),i()()()()()(),t(1191,"div",365)(1192,"div",352)(1193,"form",366)(1194,"div",354)(1195,"div",355)(1196,"h4",356),l(1197,"Confirm Add"),i(),t(1198,"button",357)(1199,"span",358),l(1200,"\xD7"),i()()(),t(1201,"div",359)(1202,"p"),l(1203,"Are you sure, you want to add the folder path"),i()(),t(1204,"div",360)(1205,"button",361),l(1206,"Close"),i(),t(1207,"button",362),l(1208,"Save"),i()()()()()()(),t(1209,"div",367)(1210,"div",368)(1211,"div",369)(1212,"div",370)(1213,"h4",371),l(1214,"Create Schedule"),i(),t(1215,"a",372),h("click",function(){return d(o),c(e.closeSchCreateModal())}),_(1216,"i",373),i()(),t(1217,"form",16,3),h("ngSubmit",function(){d(o);let n=P(1218);return c(e.submitCreateSchedule(n))}),t(1219,"div",359)(1220,"div",46)(1221,"label",374),l(1222,"Schedule Name"),i(),t(1223,"input",375,4),E("ngModelChange",function(n){return d(o),f(e.scheduleModel.scheduleName,n)||(e.scheduleModel.scheduleName=n),c(n)}),h("input",function(){return d(o),c(e.validateScheduleName())}),i(),y(1225,ci,2,1,"div",24)(1226,mi,2,1,"small",24),i(),t(1227,"div",46)(1228,"label",376),l(1229,"Schedule Start Time"),i(),t(1230,"timepicker",377),E("ngModelChange",function(n){return d(o),f(e.myTime,n)||(e.myTime=n),c(n)}),h("ngModelChange",function(){return d(o),c(e.validateTime())}),i()(),t(1231,"div",378)(1232,"label",121),l(1233,"Days"),i(),t(1234,"mat-form-field",379)(1235,"mat-select",380,5),E("ngModelChange",function(n){return d(o),f(e.scheduleDaysList,n)||(e.scheduleDaysList=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onScheduleDayChange())}),t(1237,"mat-option",381),l(1238,"Sunday"),i(),t(1239,"mat-option",381),l(1240,"Monday"),i(),t(1241,"mat-option",381),l(1242,"Tuesday"),i(),t(1243,"mat-option",381),l(1244,"Wednesday"),i(),t(1245,"mat-option",381),l(1246,"Thursday"),i(),t(1247,"mat-option",381),l(1248,"Friday"),i(),t(1249,"mat-option",381),l(1250,"Saturday"),i()()(),l(1251," - "),t(1252,"button",382),h("click",function(){return d(o),c(e.toggleSelectAllDays())}),l(1253),i()()(),t(1254,"div",360)(1255,"button",383),h("click",function(){return d(o),c(e.closeSchCreateModal())}),l(1256,"Close"),i(),t(1257,"button",384),l(1258,"Save changes"),i()()()()()(),t(1259,"div",385)(1260,"div",368)(1261,"div",369)(1262,"div",355)(1263,"h4",371),l(1264,"Confirmation"),i()(),t(1265,"div",359)(1266,"h4"),l(1267,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),i()(),t(1268,"div",360)(1269,"button",383),h("click",function(){return d(o),c(e.closeScheduleConfPopup())}),l(1270,"Cancel"),i(),t(1271,"button",386),h("click",function(){return d(o),c(e.getParticularSchedule())}),l(1272,"Ok"),i()()()()(),t(1273,"div",387)(1274,"div",368)(1275,"div",369)(1276,"div",370)(1277,"h4",371),l(1278,"Edit Schedule"),i(),t(1279,"a",372),h("click",function(){return d(o),c(e.closeEditModal())}),_(1280,"i",373),i()(),t(1281,"form",16,6),h("ngSubmit",function(){d(o);let n=P(1282);return c(e.submitEditSchedule(n))}),t(1283,"div",359)(1284,"div",46)(1285,"label",374),l(1286,"Schedule Name"),i(),_(1287,"input",388),i(),t(1288,"div",46)(1289,"label",376),l(1290,"Schedule Start Time"),i(),t(1291,"timepicker",377),E("ngModelChange",function(n){return d(o),f(e.myTime,n)||(e.myTime=n),c(n)}),h("ngModelChange",function(){return d(o),c(e.validateTime())}),i()(),t(1292,"div",378)(1293,"label",121),l(1294,"Days"),i(),t(1295,"mat-form-field",389)(1296,"mat-select",380,7),E("ngModelChange",function(n){return d(o),f(e.scheduleDaysListEdit,n)||(e.scheduleDaysListEdit=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onScheduleDayChangeEdit())}),t(1298,"mat-option",381),l(1299,"Sunday"),i(),t(1300,"mat-option",381),l(1301,"Monday"),i(),t(1302,"mat-option",381),l(1303,"Tuesday"),i(),t(1304,"mat-option",381),l(1305,"Wednesday"),i(),t(1306,"mat-option",381),l(1307,"Thursday"),i(),t(1308,"mat-option",381),l(1309,"Friday"),i(),t(1310,"mat-option",381),l(1311,"Saturday"),i()()(),l(1312," - "),t(1313,"button",382),h("click",function(){return d(o),c(e.toggleSelectAllDaysEdit())}),l(1314),i()()(),t(1315,"div",360)(1316,"button",383),h("click",function(){return d(o),c(e.closeEditModal())}),l(1317,"Close"),i(),t(1318,"button",384),l(1319,"Save changes"),i()()()()()(),t(1320,"div",385)(1321,"div",368)(1322,"div",369)(1323,"div",355)(1324,"h4",371),l(1325,"Confirmation"),i()(),t(1326,"div",359)(1327,"h4"),l(1328,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),i()(),t(1329,"div",360)(1330,"button",383),h("click",function(){return d(o),c(e.closeConfFilterPopup())}),l(1331,"Cancel"),i(),t(1332,"button",386),h("click",function(){return d(o),c(e.getFilter())}),l(1333,"Ok"),i()()()()(),t(1334,"div",390)(1335,"div",368)(1336,"div",369)(1337,"div",370)(1338,"h4",371),l(1339,"Create Filter"),i(),t(1340,"a",372),h("click",function(){return d(o),c(e.closeCreateFilterModal())}),_(1341,"i",373),i()(),t(1342,"div",359)(1343,"div",46)(1344,"label",374),l(1345,"Filter Name"),i(),t(1346,"input",391),E("ngModelChange",function(n){return d(o),f(e.filterModel.filterName,n)||(e.filterModel.filterName=n),c(n)}),h("input",function(){return d(o),c(e.validateFilterName())}),i(),y(1347,hi,2,1,"small",27),i(),t(1348,"div",99)(1349,"label",392),l(1350,"Filter Type"),i(),t(1351,"select",393),E("ngModelChange",function(n){return d(o),f(e.filterModel.filterType,n)||(e.filterModel.filterType=n),c(n)}),t(1352,"option",394),l(1353,"Inclusion Filter"),i(),t(1354,"option",395),l(1355,"Exclusion Filter"),i()()(),t(1356,"div",46)(1357,"label",376),l(1358,"Select Filter Template"),i(),t(1359,"mat-form-field",396)(1360,"mat-select",397,8),E("ngModelChange",function(n){return d(o),f(e.checkedList,n)||(e.checkedList=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onFilterCreateChange())}),y(1362,pi,2,2,"mat-option",51),i()()(),t(1363,"div",46)(1364,"label",121),l(1365,"Filters"),i(),t(1366,"a",398),_(1367,"i",30),i(),t(1368,"div",399)(1369,"span",400),y(1370,ui,4,1,"span",401),i(),t(1371,"input",402),E("ngModelChange",function(n){return d(o),f(e.newFilterExtensionCreate,n)||(e.newFilterExtensionCreate=n),c(n)}),h("blur",function(){return d(o),c(e.handleBlur())})("keyup.enter",function(){return d(o),c(e.handleKeyUp())}),i()(),_(1372,"br"),i()(),t(1373,"div",360)(1374,"button",383),h("click",function(){return d(o),c(e.closeCreateFilterModal())}),l(1375,"Close"),i(),t(1376,"button",403),h("click",function(){return d(o),c(e.submitCreateFilter())}),l(1377,"Save changes"),i()()()()(),t(1378,"div",404)(1379,"div",368)(1380,"div",369)(1381,"div",370)(1382,"h4",371),l(1383,"Edit Filter"),i(),t(1384,"a",372),h("click",function(){return d(o),c(e.closeEditFilterModal())}),_(1385,"i",373),i()(),t(1386,"div",359)(1387,"div",46)(1388,"label",374),l(1389,"Filter Name"),i(),t(1390,"input",405),E("ngModelChange",function(n){return d(o),f(e.filterEditModel.filterName,n)||(e.filterEditModel.filterName=n),c(n)}),i()(),t(1391,"div",99)(1392,"label",392),l(1393,"Filter Type"),i(),t(1394,"select",393),E("ngModelChange",function(n){return d(o),f(e.filterEditModel.filterType,n)||(e.filterEditModel.filterType=n),c(n)}),t(1395,"option",394),l(1396,"Inclusion Filter"),i(),t(1397,"option",395),l(1398,"Exclusion Filter"),i()()(),t(1399,"div",46)(1400,"label",376),l(1401,"Select Filter Template"),i(),t(1402,"mat-form-field",396)(1403,"mat-select",397,9),E("ngModelChange",function(n){return d(o),f(e.checkedList,n)||(e.checkedList=n),c(n)}),h("selectionChange",function(){return d(o),c(e.onFilterChangeEdit())}),y(1405,gi,2,2,"mat-option",51),i()()(),t(1406,"div",46)(1407,"label",121),l(1408,"Filters"),i(),t(1409,"a",406),_(1410,"i",30),i(),_(1411,"br"),t(1412,"div",407),y(1413,fi,4,1,"span",408),t(1414,"input",409),E("ngModelChange",function(n){return d(o),f(e.newFilterExtensionEdit,n)||(e.newFilterExtensionEdit=n),c(n)}),h("blur",function(){return d(o),c(e.handleBlurEdit())})("keyup.enter",function(){return d(o),c(e.handleKeyUpEdit())}),i()()()(),t(1415,"div",360)(1416,"button",383),h("click",function(){return d(o),c(e.closeEditFilterModal())}),l(1417,"Close"),i(),t(1418,"button",403),h("click",function(){return d(o),c(e.submitEditFilter())}),l(1419,"Save changes"),i()()()()(),t(1420,"div",410)(1421,"div",368)(1422,"div",369)(1423,"div",355)(1424,"h4",371),l(1425,"Confirmation"),i()(),t(1426,"div",359)(1427,"h4"),l(1428,"Are you sure you want to continue?"),i()(),t(1429,"div",360)(1430,"button",383),h("click",function(){return d(o),c(e.closePolicySaveConfirmPopup())}),l(1431,"Cancel"),i(),t(1432,"button",386),h("click",function(){d(o);let n=P(9);return c(e.submitEditPolicy(n))}),l(1433,"Ok"),i()()()()()}if(m&2){let o=P(25),s=P(96),n=P(1224);a(4),u("ngIf",e.parent!=""),a(),u("ngIf",e.child!=""),a(),u("ngIf",e.subchild!=""),a(18),g("ngModel",e.policygroupName),a(3),u("ngIf",o.invalid&&o.dirty),a(9),g("ngModel",e.description),a(2),u("ngIf",e.description.length>0&&e.description.length<5),a(2),u("ngIf",e.description.length>0&&e.description.length>512),a(3),U("display",e.inclusionLicenses.includes("ismsstorageapienabled")?"flex":"none"),a(10),u("switch",!0),a(2),g("ngModel",e.msStorageBackupEnabled),u("ngModelOptions",b(271,v)),a(5),U("display",e.inclusionLicenses.includes("ismsstorageapienabled")?"block":"none"),a(10),g("ngModel",e.policyStorageSizeAllowed),a(5),g("ngModel",e.policyUsersAllowed),a(8),u("cTabContent",s)("tabPaneIdx",0),a(3),u("cTabContent",s)("tabPaneIdx",1),a(3),u("cTabContent",s)("tabPaneIdx",2),a(2),u("ngIf",e.inclusionLicenses.includes("contentsearchenabledforonedrive")),a(2),u("cTabContent",s)("tabPaneIdx",4),a(2),u("activeTabPaneIdx",0),a(14),g("ngModel",e.checkedListSchedule),u("ngModelOptions",b(272,v)),a(),u("ngForOf",e.schedules),a(4),u("ngIf",e.defaultSchedules.length>=1),a(7),u("switch",!0),a(),g("ngModel",e.isVersionEnabled),u("ngModelOptions",b(273,v)),a(2),g("ngModel",e.versions),u("disabled",!e.isVersionEnabled),a(2),C(e.verError),a(6),u("switch",!0),a(),g("ngModel",e.isSizeEnabled),u("ngModelOptions",b(274,v)),a(2),g("ngModel",e.maxPermissibleFileSize),u("disabled",!e.isSizeEnabled),a(2),C(e.sizeError),a(6),u("switch",!0),a(),g("ngModel",e.isLimitEnabled),u("ngModelOptions",b(275,v)),a(2),g("ngModel",e.perUserBackupStorageLimit),u("disabled",!e.isLimitEnabled),a(2),C(e.limitError),a(7),u("switch",!0),a(),g("ngModel",e.switchpurgeDeletedFilesOlderThan),u("ngModelOptions",b(276,v)),a(2),g("ngModel",e.purgeDeletedFilesOlderThan),u("disabled",!e.switchpurgeDeletedFilesOlderThan),a(2),C(e.deletedFilesError),a(3),U("display",e.userType=="superAdmin"?"block":"none"),a(3),g("ngModel",e.msAppBluKrypt),a(),u("ngForOf",e.msAppAgentList),a(),u("ngStyle",M(277,I,e.inclusionLicenses.includes("onedrivearchivingenabled")?"block":"none")),a(5),u("switch",!0),a(),g("ngModel",e.createLinkEnabled),u("ngModelOptions",b(279,v)),a(),u("visible",e.collapses[0]),a(7),g("ngModel",e.includethreshholdLimitCheck),a(3),g("ngModel",e.threshholdLimit),u("disabled",!e.includethreshholdLimitCheck),a(2),C(e.threshholdLimitError),a(8),g("ngModel",e.includepurgeFilesOlderThanCheck),a(3),g("ngModel",e.purgeFilesOlderThan),u("disabled",!e.includepurgeFilesOlderThanCheck),a(2),C(e.purgeFilesOlderThanError),a(8),g("ngModel",e.includepurgeFilesSizeGTThanCheck),a(3),g("ngModel",e.purgeFilesSizeGTThan),u("disabled",!e.includepurgeFilesSizeGTThanCheck),a(2),C(e.purgeFilesSizeGTThanError),a(8),g("ngModel",e.noOfDevicesAllowed),a(2),C(e.deviceAllowedError),a(4),g("ngModel",e.osType),a(7),g("ngModel",e.defaultFoldersBackup),a(7),g("ngModel",e.exclusionFolderName),a(18),u("ngIf",e.defaultUniversalFolders.length>=1),a(),u("ngIf",e.defaultUniversalFolders.length<=0),a(9),u("ngIf",e.userExcludedFoldersUniversal.length>=1),a(),u("ngIf",e.userExcludedFoldersUniversal.length<=0),a(15),g("ngModel",e.filterType),a(),u("selected",e.inclusionFilter),a(2),u("selected",!e.inclusionFilter),a(3),u("ngIf",e.inclusionFilter),a(),u("ngIf",!e.inclusionFilter),a(2),g("ngModel",e.checkedListFilter),u("ngModelOptions",b(280,v)),a(),u("ngForOf",e.filters),a(4),u("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.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.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(),u("selected",e.inclusionSearchFilter),a(2),u("selected",!e.inclusionSearchFilter),a(3),u("ngIf",e.inclusionSearchFilter),a(),u("ngIf",!e.inclusionSearchFilter),a(2),g("ngModel",e.checkedListSearchFilter),u("ngModelOptions",b(281,v)),a(),u("ngForOf",e.searchfilters),a(4),u("ngIf",e.defaultSearchFilters.length>=1),a(22),u("switch",!0),a(),g("ngModel",e.isThrottleEnabled),u("ngModelOptions",b(282,v)),a(3),g("ngModel",e.nwFromClientToPGMB),u("disabled",!e.isThrottleEnabled),a(2),C(e.switchError),a(2),C(e.switchWarning),a(2),g("ngModel",e.networkThrottlingUnit),u("disabled",!e.isThrottleEnabled),a(12),g("ngModel",e.cpuThrottling),a(4),C(e.cpuThrottling),a(38),u("switch",!0),a(),g("ngModel",e.legalHold),u("ngModelOptions",b(283,v)),a(13),u("switch",!0),a(),g("ngModel",e.rwDetectionEnabled),u("ngModelOptions",b(284,v)),a(4),g("ngModel",e.webBasedLogin),a(11),u("switch",!0),a(),g("ngModel",e.switchnoOfDaysToKeepUserDeviceNotActive),u("ngModelOptions",b(285,v)),a(2),g("ngModel",e.noOfDaysToKeepUserDeviceNotActive),u("disabled",!e.switchnoOfDaysToKeepUserDeviceNotActive),a(2),C(e.deletedAssetsError),a(3),u("ngStyle",Z(286,ee,e.overridePolicySettings?"none":"auto",e.overridePolicySettings?"0.4":"1")),a(3),g("ngModel",e.canAdminRestoreAll),u("ngClass",M(289,te,e.overridePolicySettings)),a(),u("ngValue",!0),a(2),u("ngValue",!1),a(2),u("ngStyle",Z(291,ee,e.overridePolicySettings||!e.canAdminRestoreAll?"none":"auto",e.overridePolicySettings||!e.canAdminRestoreAll?"0.5":"1")),a(3),g("ngModel",e.isAdminDeleteBackupFile),u("ngClass",M(294,te,e.overridePolicySettings)),a(),u("ngValue",!0),a(2),u("ngValue",!1),a(2),u("ngIf",e.storage_type=="GOOGLE_DRIVE"||e.storage_type=="ONE_DRIVE"),a(),u("ngIf",e.storage_type=="ANY"||e.storage_type=="AZURE"),a(4),g("ngModel",e.compEnabled),a(8),g("ngModel",e.vssEnabled),a(5),U("display",e.userType=="superAdmin"?"block":"none"),a(3),g("ngModel",e.searchAlgorithm),a(5),u("ngIf",e.searchAlgorithm==="PRIORITY"),a(4),g("ngModel",e.policyRefresh),a(6),g("ngModel",e.switchlogUnaccessedFiles),a(5),g("ngModel",e.canBackupHiddenFiles),a(34),u("ngStyle",Z(296,ee,e.passwordChangeEnforce?"none":"auto",e.passwordChangeEnforce?"0.4":"1")),a(3),g("ngModel",e.canUserChangePassword),u("ngClass",M(299,te,e.passwordChangeEnforce)),a(5),u("ngStyle",Z(301,ee,e.passwordChangeEnforce?"none":"auto",e.passwordChangeEnforce?"0.4":"1")),a(3),g("ngModel",e.canAdminChangeUserPassword),u("ngClass",M(304,te,e.passwordChangeEnforce)),a(109),u("ngStyle",M(306,I,e.displaySchCreateStyle)),a(14),u("ngClass",M(308,wt,e.invalidScheduleName)),g("ngModel",e.scheduleModel.scheduleName),a(2),u("ngIf",n.invalid&&(n.dirty||n.touched)),a(),u("ngIf",e.invalidScheduleName),a(4),g("ngModel",e.myTime),u("showMeridian",!1)("minuteStep",1)("ngModelOptions",b(310,v)),a(5),g("ngModel",e.scheduleDaysList),u("ngModelOptions",b(311,v)),a(2),u("value","1"),a(2),u("value","2"),a(2),u("value","3"),a(2),u("value","4"),a(2),u("value","5"),a(2),u("value","6"),a(2),u("value","7"),a(4),L(" ",e.showDaily?"Daily":"De Select All"," "),a(6),u("ngStyle",M(312,I,e.displayScheduleConfStyle)),a(14),u("ngStyle",M(314,I,e.displaySchEditStyle)),a(14),V("value",e.scheduleElement.scheduleName),a(4),g("ngModel",e.myTime),u("showMeridian",!1)("minuteStep",1)("ngModelOptions",b(316,v)),a(5),g("ngModel",e.scheduleDaysListEdit),u("ngModelOptions",b(317,v)),a(2),u("value","1"),a(2),u("value","2"),a(2),u("value","3"),a(2),u("value","4"),a(2),u("value","5"),a(2),u("value","6"),a(2),u("value","7"),a(4),L(" ",e.showDailyEdit?"Daily":"De Select All"," "),a(6),u("ngStyle",M(318,I,e.displayFilterConfStyle)),a(14),u("ngStyle",M(320,I,e.displayFilterCreateStyle)),a(12),u("ngClass",M(322,wt,e.invalidFilterName)),g("ngModel",e.filterModel.filterName),a(),u("ngIf",e.invalidFilterName),a(4),g("ngModel",e.filterModel.filterType),a(9),g("ngModel",e.checkedList),u("ngModelOptions",b(324,v)),a(2),u("ngForOf",e.cannedFiltersTemplateCreate),a(7),U("display",e.extensionsVisible?"block":"none"),a(),u("ngForOf",e.cannedFiltersCreate),a(),g("ngModel",e.newFilterExtensionCreate),a(7),u("ngStyle",M(325,I,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),u("ngModelOptions",b(327,v)),a(2),u("ngForOf",e.cannedFiltersTemplateEdit),a(8),u("ngForOf",e.cannedFilters),a(),g("ngModel",e.newFilterExtensionEdit),a(6),u("ngStyle",M(328,I,e.displayConfirmPolicySave))}},dependencies:[ve,Te,Be,Ae,Ce,st,Ye,Xe,$e,Ge,Je,Ze,ze,Qe,Ke,qe,it,nt,rt,lt,tt,et,Ee,Me,at,pe,Ne,Re,Ue,Ie,xe,Oe,_e,ue,ge,fe,We,ot,je,He,Le,Ve,De,Pe,Fe,ke,yt,_t,St,Et,pt,ht,ut,we,be],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}']})}}return p})();export{Ji as EditComponent};
