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