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