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