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