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