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