import{a as mt,b as pt}from"./chunk-QSIVP57B.js";import{d as ct}from"./chunk-QW4LUA7P.js";import{b as at,f as st}from"./chunk-B7SSGZRS.js";import{a as X}from"./chunk-V5H3D4QO.js";import{b as dt}from"./chunk-QJMD2SGW.js";import{o as it,t as nt}from"./chunk-Y4TQXMUD.js";import{d as rt,e as ot,h as lt,i as Q}from"./chunk-F46V5MTM.js";import{A as Ze,B as $e,D as et,E as tt,b as Ne,c as Oe,g as Ue,h as Ie,j as We,l as Re,m as ze,n as Ke,p as qe,t as He,u as Ge,v as je,w as Je,x as Ye,y as Qe,z as Xe}from"./chunk-EYGQBKHN.js";import{$b as Le,Aa as _e,Da as Ee,Tb as Ve,Ub as Be,Va as be,Vb as Ae,Wa as Se,Ya as ve,Za as Me,_a as ke,db as Fe,eb as Te,f as he,ha as we,i as ge,l as fe,lb as Pe,mb as De,nb as xe,t as ye,za as Ce}from"./chunk-3H2Q52KW.js";import{$b as $,$c as se,A as re,Ab as le,Cc as N,Da as T,Dd as Y,Ec as n,Fc as b,Gc as B,Hb as _,Hd as ue,Ia as oe,Kc as g,Lc as f,Mc as y,Qc as ae,Rb as m,Rc as S,Sb as H,Sc as D,Tc as A,Zb as Z,ac as ee,bc as e,cc as i,dc as w,hc as P,lb as a,mb as F,nc as h,pc as E,sa as d,sc as V,ta as c,td as de,ud as ce,vd as me,wc as G,xc as j,yc as J,zd as pe}from"./chunk-DF3EMM3Z.js";import{a as I,b as W,i as ne}from"./chunk-2AVGQ2MQ.js";var ut=["matSelectBlukryptHost"],ht=["matSelectCreateFilter"],gt=["matSelectEditFilter"],v=()=>({standalone:!0}),R=(p,C)=>({"pointer-events":p,opacity:C}),z=p=>({hide:p}),ft=(p,C)=>({"fa-eye":p,"fa-eye-slash":C}),te=p=>({display:p}),yt=p=>({redAlert:p});function wt(p,C){if(p&1&&(e(0,"li")(1,"h3")(2,"a",380),n(3),i()()()),p&2){let o=E();a(3),b(o.parent)}}function Ct(p,C){if(p&1&&(e(0,"li")(1,"a",381),n(2),i()()),p&2){let o=E();a(2),b(o.child)}}function _t(p,C){if(p&1&&(e(0,"li")(1,"span"),n(2),i()()),p&2){let o=E();a(2),b(o.subchild)}}function Et(p,C){p&1&&(e(0,"small"),n(1,`
                            Policy Name is required.
                        `),i())}function bt(p,C){if(p&1&&(e(0,"small"),n(1),i()),p&2){let o=E(2);a(),B(`
                        `,o.errortext,`
                      `)}}function St(p,C){p&1&&(e(0,"small"),n(1,`
                        Policy Name must be at least 3 characters long.
                      `),i())}function vt(p,C){if(p&1&&(e(0,"div",382),n(1,`
                        `),_(2,Et,2,0,"small",10),n(3,`
                      `),_(4,bt,2,1,"small",10),n(5,`
                      `),_(6,St,2,0,"small",10),n(7,`
                    `),i()),p&2){E();let o=N(24);a(2),m("ngIf",o.errors==null?null:o.errors.required),a(2),m("ngIf",o.errors&&o.errors.pattern),a(2),m("ngIf",o.errors&&o.errors.minlength)}}function Mt(p,C){p&1&&(e(0,"small",383),n(1,`
                        This value is too short. It should have 5 characters or more.
                    `),i())}function kt(p,C){p&1&&(e(0,"small",383),n(1,`
                        This value is too long. It should have 512 characters or fewer.
                    `),i())}function Ft(p,C){p&1&&(e(0,"h5",384)(1,"label",385),w(2,"i",386),i()())}function Tt(p,C){p&1&&(e(0,"h5",387)(1,"label",388),w(2,"i",389),i()())}function Pt(p,C){if(p&1&&(e(0,"mat-option",390),n(1),i()),p&2){let o=C.$implicit;V("value",o.filterName),a(),b(o.filterName)}}function Dt(p,C){if(p&1){let o=P();e(0,"tr",399)(1,"td",400)(2,"p")(3,"b"),n(4),i()(),e(5,"span",401),n(6),i()(),e(7,"td",402)(8,"button",403),h("click",function(){let t=d(o).$implicit,l=E(2);return c(l.editFilter(t.filterName))}),n(9," Edit"),i()()()}if(p&2){let o=C.$implicit;a(4),B("",o.filterName," :"),a(2),b(o.filters),a(2),m("disabled",o.filterName==="all_files")}}function xt(p,C){if(p&1){let o=P();e(0,"div",391)(1,"div",80)(2,"div",392)(3,"div",393)(4,"h5"),w(5,"i",394),n(6," Filters "),i()(),e(7,"div",395)(8,"div",124)(9,"span"),n(10,"Backup files without an extension"),i(),e(11,"div",29)(12,"label",159)(13,"input",396),y("ngModelChange",function(t){d(o);let l=E();return f(l.backupFilesWithoutExtension,t)||(l.backupFilesWithoutExtension=t),c(t)}),i(),w(14,"div",161),i()()(),e(15,"div",397)(16,"table",398)(17,"tbody"),$(18,Dt,10,3,"tr",399,Z),i()()()()()()()}if(p&2){let o=E();a(13),g("ngModel",o.backupFilesWithoutExtension),a(5),ee(o.defaultFilters)}}function Vt(p,C){p&1&&(e(0,"h5",404)(1,"label",385),w(2,"i",386),i()())}function Bt(p,C){p&1&&(e(0,"h5",405)(1,"label",388),w(2,"i",389),i()())}function At(p,C){if(p&1&&(e(0,"mat-option",390),n(1),i()),p&2){let o=C.$implicit;V("value",o.filterName),a(),b(o.filterName)}}function Lt(p,C){if(p&1){let o=P();e(0,"tr")(1,"td",400)(2,"p")(3,"b"),n(4),i()(),e(5,"span",401),n(6),i()(),e(7,"td",402)(8,"button",403),h("click",function(){let t=d(o).$implicit,l=E(2);return c(l.editFilter(t.filterName))}),n(9," Edit"),i()()()}if(p&2){let o=C.$implicit;a(4),B("",o.filterName," :"),a(2),b(o.filters),a(2),m("disabled",o.filterName==="all_files")}}function Nt(p,C){if(p&1&&(e(0,"div",391)(1,"div",80)(2,"div",392)(3,"div",393)(4,"h5"),w(5,"i",394),n(6," Filters "),i()(),e(7,"div",395)(8,"div",397)(9,"table",398)(10,"tbody"),$(11,Lt,10,3,"tr",null,Z),i()()()()()()()),p&2){let o=E();a(11),ee(o.defaultSearchFilters)}}function Ot(p,C){if(p&1){let o=P();e(0,"div",165)(1,"span",162),n(2,"Unusual Activity Detection Enabled"),i(),e(3,"div",406)(4,"c-form-check",30)(5,"input",407),y("ngModelChange",function(t){d(o);let l=E();return f(l.rwDetectionEnabled,t)||(l.rwDetectionEnabled=t),c(t)}),i()()()()}if(p&2){let o=E();a(4),m("switch",!0),a(),g("ngModel",o.rwDetectionEnabled),m("ngModelOptions",S(3,v))}}function Ut(p,C){if(p&1){let o=P();e(0,"div",47)(1,"label",408),n(2,"Dedup"),i(),e(3,"select",409),y("ngModelChange",function(t){d(o);let l=E();return f(l.dedup,t)||(l.dedup=t),c(t)}),e(4,"option",410),n(5,"Disabled"),i(),e(6,"option",411),n(7,"User"),i()()()}if(p&2){let o=E();a(3),g("ngModel",o.dedup)}}function It(p,C){if(p&1){let o=P();e(0,"div",47)(1,"label",408),n(2,"dedup"),i(),e(3,"select",409),y("ngModelChange",function(t){d(o);let l=E();return f(l.dedup,t)||(l.dedup=t),c(t)}),e(4,"option",410),n(5,"Disabled"),i(),e(6,"option",412),n(7,"User"),i(),e(8,"option",413),n(9,"Global"),i()()()}if(p&2){let o=E();a(3),g("ngModel",o.dedup)}}function Wt(p,C){if(p&1&&(e(0,"mat-option",390),n(1),i()),p&2){let o=C.$implicit;V("value",o.gatewayName),a(),b(o.gatewayName)}}function Rt(p,C){if(p&1){let o=P();e(0,"div",16)(1,"label",414),n(2,"Preferred BluKrypt Hostnames"),i(),e(3,"mat-form-field",75)(4,"mat-select",367,5),y("ngModelChange",function(t){d(o);let l=E();return f(l.checkedListPg,t)||(l.checkedListPg=t),c(t)}),h("selectionChange",function(){d(o);let t=E();return c(t.onBlukryptChange())}),_(6,Wt,2,2,"mat-option",77),i()()()}if(p&2){let o=E();a(4),g("ngModel",o.checkedListPg),m("ngModelOptions",S(3,v)),a(2),m("ngForOf",o.pgs)}}function zt(p,C){p&1&&(e(0,"div")(1,"div"),n(2,"Password must be at least 5 characters long."),i()())}function Kt(p,C){p&1&&(e(0,"div")(1,"div"),n(2,"Passwords must match."),i()())}function qt(p,C){if(p&1&&(e(0,"small",383),n(1),i()),p&2){let o=E();a(),B(" ",o.errortext," ")}}function Ht(p,C){if(p&1&&(e(0,"mat-option",390),n(1),i()),p&2){let o=C.$implicit;V("value",o.extensionName),a(),b(o.filterName)}}function Gt(p,C){if(p&1){let o=P();e(0,"span",415),n(1),e(2,"a",416),h("click",function(){let t=d(o).$implicit,l=E();return c(l.removeExtensionCreate(t))}),w(3,"i",417),i()()}if(p&2){let o=C.$implicit;a(),B("",o," ")}}function jt(p,C){if(p&1&&(e(0,"mat-option",390),n(1),i()),p&2){let o=C.$implicit;V("value",o.extensionName),a(),b(o.filterName)}}function Jt(p,C){if(p&1){let o=P();e(0,"span",418),n(1),e(2,"a",416),h("click",function(){let t=d(o).$implicit,l=E();return c(l.removeExtension(t))}),w(3,"i",417),i()()}if(p&2){let o=C.$implicit;a(),B("",o," ")}}var Fi=(()=>{class p{constructor(o,u,t,l,s,r,M,L,O,k,x,K){this.http=o,this.datePipe=u,this.titleService=t,this.toastr=l,this.apiService=s,this.AuthService=r,this.globalConstantsService=M,this.cdr=L,this.router=O,this.sharedService=k,this.el=x,this.userRoleService=K,this.parent="Policy Management",this.child="BluVault Policies",this.subchild="Create Policy",this.title="Policy Management",this.errortext="Only letters, numbers, and @, -, _, . are allowed. The input must be at least 3 characters long.",this.policygroupName="",this.description="",this.descriptionLengthError=!1,this.policyStorageSizeAllowed="0",this.policyUsersAllowed="0",this.osType="universal",this.defaultUniversalFolders=["/users/","/home/","C:\\","D:\\"],this.userExcludedFoldersUniversal=[],this.userExceptionsFoldersUniversal=[],this.sqlBackupFoldersList=[],this.noOfDevicesAllowed="1",this.deviceAllowedError="",this.noOfDevicesAllowedCloud="3",this.canUserChangePassword=!0,this.canAdminChangeUserPassword=!0,this.canDelegatedAdminChangeUserPassword=!0,this.passwordChangeEnforce=!0,this.canAdminRestoreAll=!0,this.isAdminDeleteBackupFile=!0,this.searchEnabled=!1,this.overridePolicySettings=!0,this.showUserConsentFieldInPolicies=!1,this.storageProvider="ParaBlu",this.hostedSetup=!0,this.allowEndUserTocontrolRestore=!1,this.shareCheckedList=new T,this.shareIndividualCheckedList=new T,this.shareCheckedListNoBackup=new T,this.shareIndividualCheckedListNoBackup=new T,this.showDropDownFilter=!1,this.checkedListFilter=["all_files"],this.currentSelectedFilter={},this.shareCheckedListFilter=new T,this.shareIndividualCheckedListFilter=new T,this.showDropDownSearchFilter=!1,this.checkedListSearchFilter=["all_files"],this.currentSelectedSearchFilter={},this.shareCheckedListSearchFilter=new T,this.shareIndividualCheckedListSearchFilter=new T,this.searchAlgorithm="NEAREST",this.showDropDownPg=!1,this.checkedListPg=[],this.currentSelectedPg={},this.pgs=[],this.shareCheckedListPg=new T,this.shareIndividualCheckedListPg=new T,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.defaultFilters=[],this.defaultSearchFilters=[],this.inclusionFilter=!0,this.exclusionFilter=!1,this.inclusionSearchFilter=!0,this.exclusionSearchFilter=!1,this.isThrottleEnabled=!1,this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps",this.switchError="",this.switchWarning="",this.isVersionEnabled=!0,this.versions="3",this.verError="",this.isSizeEnabled=!1,this.maxPermissibleFileSize="UNLIMITED",this.sizeError="",this.isLimitEnabled=!0,this.perUserBackupStorageLimit="250",this.limitError="",this.cpuThrottling="5",this.defaultFoldersBackup="",this.exclusionFolderName="",this.exceptionFolderName="",this.sqlBackupFolders="",this.applyFilterToExceptionsToExclusion=!0,this.backupFilesWithoutExtension=!0,this.legalHold=!1,this.rwDetectionEnabled=!1,this.switchnoOfDaysToKeepDeviceNotHeard=!0,this.noOfDaysToKeepDeviceNotHeard="60",this.switchnoOfDaysToKeepUserDeviceNotActive=!1,this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED",this.deviceNotHeardError="",this.deviceNotActiveError="",this.switchAllowedDomains=!1,this.allowedDomains="",this.isPasswordEnabled=!1,this.agentPassword="",this.agentRePassword="",this.passwordsDoNotMatch=!1,this.deletedFilesError="",this.switchnoOfDaysToKeepDeletedFiles=!1,this.noOfDaysToKeepDeletedFiles="UNLIMITED",this.switchuserConsentEnabled=!1,this.userConsentDisplayText="",this.preScanCommandEnabled=!1,this.preScanCommand="",this.continueOnPreScan=!1,this.preBackupCommandEnabled=!1,this.preBackupCommand="",this.continueOnPreBkp=!1,this.postBackupCommandEnabled=!1,this.postBackupCommand="",this.continueOnPostBkp=!1,this.memoryUtilization="128",this.cpuUtilization="80",this.dcmEnabled=!1,this.clientDedup="true",this.maxFileSizeForBkpBatch="50",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.contentIndexEnabled="true",this.endpointUiPreferences=[],this.endpointDisabledUiPreferences=[],this.menuOptions={},this.webBasedLogin="true",this.numberOfThreadsAllowedForBackup="1",this.dedup="User",this.vssEnabled="true",this.compEnabled="true",this.privacyGatewayMappingElement={},this.policyRefresh="4",this.switchlogUnaccessedFiles="true",this.autoUpdateAgent="false",this.canBackupHiddenFiles="true",this.downloadAgent="true",this.issqlbkpenabled="false",this.rwdetectionenabledLicense="false",this.displayFilterConfStyle="none",this.displayFilterCreateStyle="none",this.displayFilterEditStyle="none",this.filterModel={filterName:"",filterType:"inclusion",filters:""},this.filterEditModel={filterName:"",filterType:"inclusion",filters:""},this.filterToEdit="",this.extensionsVisible=!0,this.filterElement={},this.checkedList=[],this.cannedFiltersCreate=["doc","docx","ppt","pptx","txt","pdf","jpg","png"],this.checkedListExtensionCreate=[],this.cannedFilters=[],this.checkedListExtensionEdit=[],this.userDefinedExtensionsCreate=[],this.userDefinedExtensionsEdit=[],this.cannedFiltersTemplateCreate=[],this.cannedFiltersTemplateEdit=[],this.newFilterExtensionCreate="",this.newFilterExtensionEdit="",this.checkedListExtension=[],this.searchFilterType="inclusion",this.filterType="inclusion",this.storage_type="",this.userType="",this.invalidScheduleName=!1,this.invalidFilterName=!1,this.isPasswordVisible=!1,this.isRePasswordVisible=!1,this.policyModel={sqlBackupFolders:[],backupSystemFilesEnabled:"false",legalHoldEnabled:"false",sqlbkpEnabled:"false",shareEnabled:"false",highSecureShareEnabled:"true",complexPassword:!0,allowDownload:!1,shareExpireDateEnable:!0,googleAuth:!0,maxFileSizeForBkpBatch:"50",clientDedup:"true",policygroupName:"test123",description:"",cloudCredential:"",dcmEnabled:!1,destination:"",backupFolderPaths:["/users/","/home/","C:\\","D:\\"],maxVersions:"-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:"true",networkThrottlingNames:["DEFAULT_NETWORK_THROTTLE"],userSizeAllowed:"250",memoryUtilization:"128",cpuUtilization:"80",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,canDelegatedAdminChangeUserPassword:!0,canBackupHiddenFiles:"true",downloadAgent:"true",searchAlgoForPg:"NEAREST",cpuThrottling:"5",daysToWaitForNextBackup:0,noOfDevicesAllowed:"1",endpointDomainCheck:"false",allowedDomains:"",webBasedLogin:"true",canAdminRestore:"true",canAdminDelete:"true",contentIndexEnabled:"true",noOfDaysToKeepDeviceNotHeard:"60",noOfDaysToKeepUserDeviceNotActive:"-1",noOfDaysToKeepDeletedFiles:"-1",filterType:"inclusion",searchFilterType:"inclusion",preScanCommand:"",preBackupCommand:"",postBackupCommand:"",continueOnPreScan:"false",continueOnPreBkp:"false",continueOnPostBkp:"false",preScanCommandEnabled:"false",preBackupCommandEnabled:"false",postBackupCommandEnabled:"false",switchAgentPassword:"false",agentPassword:"",shareDomainType:"Share only with these Email domains",shareDomainIncExclusions:[""],allowEndUserTocontrolRestore:"false",showShareLink:"false",userConsentEnabled:!1,userConsentDisplayText:"",numberOfThreadsAllowedForBackup:"1",shareDomainsEnabled:"false",logUnaccessedFiles:"false",rwDetectionEnabled:"false",backupFilesWithoutExtension:"true",applyFilterToExceptionsToExclusion:"true",serverUserName:"",serverPassword:"",autoUpdateAgent:"false",policyStorageSizeAllowed:"0",policyUsersAllowed:"0",excludedFolderpaths:["{OneDrive}","{user.home}\\Documents\\My Pictures","{user.home}\\Documents\\My Videos","{user.home}\\Documents\\My Music","{user.home}\\Templates","{user.home}\\Local Settings","{user.home}\\Cookies","{user.home}\\NetHood","{user.home}\\PrintHood","{user.home}\\Application Data","{user.home}\\My Documents","{user.home}\\Start Menu","{user.home}\\SendTo","{Local Settings}","{swapfile.sys}","{credDB.cef}","{thumbs.db}","{NTUSER.DAT}","{desktop.ini}","{pagefile.sys}","{UsrClass.dat}","{hiberfil.sys}","{$RECYCLE.BIN}","{AppData}","{temp}","{win\\system.root\\Users\\all users}","{win\\system.root\\ProgramData}","{win\\system.root\\Program Files}","{win\\system.root\\Windows}","{user.home}\\recent","{mac/system.root/Network}","{mac.com.apple.Network}","{user.home}\\recent","{.Trashes}","{.webtmp}","{.MobileBackups.trash}","{.MobileBackups}","{Backups.backupdb}","{net}","{.vol}","{automount}","{.com.apple.NetBootX}","{.DS_Store}","{.hotfiles.btree}","{.fseventsd}","{.Spotlight-V100}","{.DocumentRevisions-V100}","{Network Trash Folder}","{lost+found}","{.AppleDB}","{.AppleDouble}","{.journal_info_block}","{.journal}","{.HFS+ Private Directory Data}","{mac/system.root/var}","{.trash}","{tmp}","{dev}","{mac/system.root/etc}","{mac/system.root/opt}","{cores}","{mac/system.root/private}","{mac/system.root/usr}","{Volumes}","{mac/system.root/Applications}","{mac/system.root/System}","{mac/system.root/sbin}","{mac/system.root/bin}","{mac/system.root/Library}","{mac/.ParaBlu}","{mac/Trash}","{mac/System}","{mac/Applications}","{mac/Library}","{linux/.ParaBlu}","{linux/system.root/opt/parablu-epa}","{linux/system.root/var}","{linux/system.root/boot}","{linux/system.root/media}","{linux/system.root/run}","{linux/system.root/tmp}","{linux/system.root/sys}","{linux/system.root/proc}","{linux/system.root/dev}"],exceptionsToExclusions:[],emailsRestriction:{createUser:"admins,readonlyadmins,users",userDeleted:"admins,readonlyadmins,users",userBlocked:"admins,readonlyadmins,users",userLimitReached:"admins,readonlyadmins"},policyType:""},this.output={createUser:"",userDeleted:"",userBlocked:"",userLimitReached:""},this.titleService.setTitle(this.title)}ngOnInit(){return ne(this,null,function*(){yield new Promise(o=>{this.globalConstantsService.fetchConstants().subscribe(()=>{this.storage_type=this.globalConstantsService.getConstant("STORAGE_TYPE"),this.storage_type=="ONE_DRIVE"||this.storage_type=="GOOGLE_DRIVE"?this.dedup="User":this.dedup="Global",o()})}),this.callApis(),this.userType=yield this.userRoleService.getUserRole(),this.getMultipleFilters(this.checkedListFilter.toString()),this.getMultipleSearchFilters(this.checkedListSearchFilter.toString())})}sendMeTo(o){this.router.navigate([o])}onSelectChangeFilterType(o){let t=o.target.value;t==="inclusion"?(this.inclusionFilter=!0,this.exclusionFilter=!1):t==="exclusion"&&(this.inclusionFilter=!1,this.exclusionFilter=!0)}onSelectChangeSearchFilterType(o){let t=o.target.value;t==="inclusion"?(this.inclusionSearchFilter=!0,this.exclusionSearchFilter=!1):t==="exclusion"&&(this.inclusionSearchFilter=!1,this.exclusionSearchFilter=!0)}onSliderChange(o){this.cpuThrottling=o.target.value}toggleThrottle(){this.isThrottleEnabled?this.nwFromClientToPGMB="4":(this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps"),this.validateInput()}validateInput(){this.switchError="",this.switchWarning="";let o=Number(this.nwFromClientToPGMB);if(isNaN(o))this.nwFromClientToPGMB!=="UNLIMITED"&&(this.switchError="Input can be any integer");else if(o.toString().includes("."))this.switchError="Please enter an integral value";else switch(this.networkThrottlingUnit){case"kbps":case"mbps":o<1||o>1024?this.switchError="Value must be between 1 and 1024.":o<256&&this.networkThrottlingUnit==="kbps"&&(this.switchWarning="Recommended value is 1Mbps or greater. You should consider increasing this value to at least 256kbps");break;case"gbps":(o<1||o>9)&&(this.switchError="Value must be between 1 and 9.");break;default:break}}toggleVersion(){this.verError="",this.isVersionEnabled?this.versions="3":this.versions="UNLIMITED",this.myFunctionVer()}myFunctionVer(){console.log("versions : "+this.versions),this.verError="";let o=Number(this.versions);console.log("inputValue : "+o),isNaN(o)?this.versions!=="UNLIMITED"&&(this.verError="Input can be any integer"):o>1e7?this.verError="Maximum number of Versions Allowed is 1 Crore":this.versions.includes(".")?this.verError="Please enter an integral value":o<1&&!isNaN(o)?this.verError="Minimum number of Versions Allowed is 1":this.verError=""}toggleSize(){this.sizeError="",this.isSizeEnabled?this.maxPermissibleFileSize="":this.maxPermissibleFileSize="UNLIMITED"}myFunctionMPS(){console.log("maxPermissibleFileSize : "+this.maxPermissibleFileSize),this.sizeError="";let o=Number(this.maxPermissibleFileSize);console.log("inputValue : "+o),isNaN(o)?this.maxPermissibleFileSize!=="UNLIMITED"&&(this.sizeError='Input can be either "UNLIMITED" or a positive integer.'):o>999999?this.sizeError="Maximum Permissible File Size Allowed is 999999":this.maxPermissibleFileSize.includes(".")?this.sizeError="Please enter an integral value":o<1&&!isNaN(o)?this.sizeError="Minimum File Size Allowed is 1":this.sizeError=""}toggleLimit(){this.limitError="",this.isLimitEnabled?this.perUserBackupStorageLimit="":this.perUserBackupStorageLimit="UNLIMITED"}myFunctionUBS(){console.log("perUserBackupStorageLimit : "+this.perUserBackupStorageLimit),this.limitError="";let o=Number(this.perUserBackupStorageLimit);console.log("inputValue : "+o),isNaN(o)?this.perUserBackupStorageLimit!=="UNLIMITED"&&(this.limitError='Input can be either "UNLIMITED" or a positive integer.'):o>99999?this.limitError="Maximum Per User Backup Storage Limit Allowed is 99999":this.perUserBackupStorageLimit.includes(".")?this.limitError="Please enter an integral value":o<1&&!isNaN(o)?this.limitError="Minimum Per User Backup Storage Limit Allowed is 1":this.limitError=""}myFunctionDevice(){parseInt(this.noOfDevicesAllowed)<=0?this.deviceAllowedError="This value should be greater than or equal to 1.":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=""}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"])}getEnabledOptions(o){return o.map(u=>this[u]).filter(u=>u!=="").join(",")}updatePreferences(){let o=["bkpfiles","bkpsettings","initiatebackup","stopbackup","support","about","systrayIcon","restore","refbkppolicy","pauseBackup","updateAgent","decouple","network_settings","exitt","disallowAdminRestores","blockNotifications"];this.endpointUiPreferences=[],this.endpointDisabledUiPreferences=[],this.getSelectedValues(o),console.log("Enabled Preferences:",this.endpointUiPreferences),console.log("Disabled Preferences:",this.endpointDisabledUiPreferences)}getSelectedValues(o){o.forEach(u=>{let t=document.getElementById(u);if(t){let l=this.mapIdToPreference(u);t.value==="true"?this.endpointUiPreferences.push(l):this.endpointDisabledUiPreferences.push(l)}})}mapIdToPreference(o){switch(o){case"pauseBackup":return"PAUSE_BACKUP";case"stopbackup":return"STOP_BACKUP";case"initiatebackup":return"INTIATE_BACKUP";case"updateAgent":return"UPDATE_AGENT";case"systrayIcon":return"SYSTRAYICON";case"bkpfiles":return"BACKUP_FILES";case"bkpsettings":return"BACKUP_SETTINGS";case"decouple":return"DECOUPLE";case"network_settings":return"NETWORK_SETTINGS";case"refbkppolicy":return"REFRESH_BACKUP_POLICY";case"blockNotifications":return"BLOCK_NOTIFICATIONS";case"disallowAdminRestores":return"DISALLOW_ADMIN_RESTORES";case"exitt":return"EXIT";default:return o.toUpperCase()}}updateMenuOptions(){let o=["Open","View","Versions","Share","Download","portalRestore"];this.menuOptions=this.getSelectedMenuOptions(o),console.log("Menu Options:",this.menuOptions)}getSelectedMenuOptions(o){let u={};return o.forEach(t=>{let l=document.getElementById(t);l&&(console.log("element : "+l.getAttribute("id")),l.getAttribute("id")=="portalRestore"?u.restore=l.value:u[t.toLowerCase()]=l.value)}),u}getprivacyElement(){let o={};return o.gatewayNwThrottlingName="Default",o.privacyGatewayNames=this.checkedListPg,o}flipAllowEndUserTocontrolRestore(){this.canAdminRestoreAll||(this.allowEndUserTocontrolRestore=!1,this.isAdminDeleteBackupFile=!1)}toggleDeviceNotHeard(){this.switchnoOfDaysToKeepDeviceNotHeard?this.noOfDaysToKeepDeviceNotHeard="60":this.noOfDaysToKeepDeviceNotHeard="UNLIMITED",this.myFunctionnoOfDaysToKeepDeviceNotHeard()}myFunctionnoOfDaysToKeepDeviceNotHeard(){console.log("noOfDaysToKeepDeviceNotHeard : "+this.noOfDaysToKeepDeviceNotHeard),this.deviceNotHeardError="";let o=Number(this.noOfDaysToKeepDeviceNotHeard);console.log("inputValue : "+o),isNaN(o)?this.noOfDaysToKeepDeviceNotHeard!=="UNLIMITED"&&(this.deviceNotHeardError='Input can be either "UNLIMITED" or a positive integer.'):o>1e7?this.deviceNotHeardError="Maximum No. of Days To Keep Device Not Heard Allowed is 1 Crore":this.noOfDaysToKeepDeviceNotHeard.includes(".")?this.deviceNotHeardError="Please enter an integral value":o<7&&!isNaN(o)?this.deviceNotHeardError="Minimum value allowed is 7":this.deviceNotHeardError=""}toggleDeviceNotActive(){this.switchnoOfDaysToKeepUserDeviceNotActive?this.noOfDaysToKeepUserDeviceNotActive="60":this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED",this.myFunctionnoOfDaysToKeepUserDeviceNotActive()}myFunctionnoOfDaysToKeepUserDeviceNotActive(){console.log("noOfDaysToKeepUserDeviceNotActive : "+this.noOfDaysToKeepUserDeviceNotActive),this.deviceNotActiveError="";let o=Number(this.noOfDaysToKeepUserDeviceNotActive);console.log("inputValue : "+o),isNaN(o)?this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.deviceNotActiveError='Input can be either "UNLIMITED" or a positive integer.'):o>1e7?this.deviceNotActiveError="Maximum No. of Days To Keep Device Not Heard Allowed is 1 Crore":this.noOfDaysToKeepUserDeviceNotActive.includes(".")?this.deviceNotActiveError="Please enter an integral value":o<7&&!isNaN(o)?this.deviceNotActiveError="Minimum value allowed is 7":this.deviceNotActiveError=""}togglePasswordFields(){this.isPasswordEnabled||(this.agentPassword="",this.agentRePassword="",this.passwordsDoNotMatch=!1)}checkPasswordsMatch(){this.passwordsDoNotMatch=this.agentPassword!==this.agentRePassword}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 o=Number(this.noOfDaysToKeepDeletedFiles);console.log("inputValue : "+o),isNaN(o)?this.noOfDaysToKeepDeletedFiles!=="UNLIMITED"&&(this.deletedFilesError='Input can be either "UNLIMITED" or a positive integer.'):this.noOfDaysToKeepDeletedFiles.includes(".")?this.deletedFilesError="Please enter an integral value":o<1&&!isNaN(o)?this.deletedFilesError="Minimum number of Versions Allowed is 1":this.deletedFilesError=""}togglePreScan(){this.preScanCommandEnabled?this.continueOnPreScan=!0:this.continueOnPreScan=!1}togglePreBackup(){this.preBackupCommandEnabled?this.continueOnPreBkp=!0:this.continueOnPreBkp=!1}togglePostBackup(){this.postBackupCommandEnabled?this.continueOnPostBkp=!0:this.continueOnPostBkp=!1}callApis(){let o=this.apiService.getAllSchedules(),u=this.apiService.getAllFilters(),t=this.apiService.getPgs(),l=this.apiService.cloudProperties(),s=this.apiService.getGlobalExclusion(),r=this.apiService.getAllNoBackupSchedules();re([o,u,t,l,s,r]).subscribe(([M,L,O,k,x,K])=>{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:",L.body.inclusionFilterElementList),console.log("API 2 response headers:",L.headers),console.log("API 3 response body:",O.body.privacyGatewayElementList),console.log("API 3 response headers:",O.headers),console.log("API 4 response body:",k.body),console.log("API 4 response headers:",k.headers),console.log("API 5 response body:",x.body),console.log("API 5 response headers:",x.headers),console.log("API 6 response body:",K.body.noBkpScheduleElementList),console.log("API 6 response headers:",K.headers);let ie=O.body.privacyGatewayElementList.map(U=>({gatewayName:U.gatewayName,status:!1}));console.log("Transformed Data:",ie),this.filters=L.body.inclusionFilterElementList.map(U=>W(I({},U),{status:!1})),this.searchfilters=L.body.inclusionFilterElementList.map(U=>W(I({},U),{status:!1})),this.pgs=ie,console.log("API 5 response body:",JSON.stringify(x.body.globalExcludedFoldersElement.globalExcludedFoldersList.win));let q=[...new Set([...x.body.globalExcludedFoldersElement.globalExcludedFoldersList.win,...x.body.globalExcludedFoldersElement.globalExcludedFoldersList.mac])];q=[...new Set([...q,...x.body.globalExcludedFoldersElement.globalExcludedFoldersList.linux])],console.log("CombinedExclusions :",JSON.stringify(q)),this.userExcludedFoldersUniversal=q.reverse(),this.noOfDevicesAllowedCloud=k.body.cloudPropertyElement.noOfDevicesAllowed,this.canUserChangePassword=k.body.cloudPropertyElement.canUserChangePassword,this.canAdminChangeUserPassword=k.body.cloudPropertyElement.canAdminChangeUserPassword,this.passwordChangeEnforce=k.body.cloudPropertyElement.passwordChangeEnforce,this.searchEnabled=k.body.cloudPropertyElement.searchEnabled,this.overridePolicySettings=k.body.cloudPropertyElement.overridePolicySettings,this.overridePolicySettings&&(this.canAdminRestoreAll=k.body.cloudPropertyElement.canAdminRestoreAll,this.isAdminDeleteBackupFile=k.body.cloudPropertyElement.isAdminDeleteBackupFile),this.showUserConsentFieldInPolicies=k.body.cloudPropertyElement.showUserConsentFieldInPolicies,this.storageProvider=k.body.cloudPropertyElement.storageProvider,this.hostedSetup=k.body.cloudPropertyElement.hostedSetup},M=>{switch(console.error("Error from Api's call: ",M),M.status){case 400:console.error("Bad Request: ",M.message);break;case 401:console.error("Unauthorized: ",M.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",M.message);break;case 404:console.error("Not Found: ",M.message);break;case 500:console.error("Internal Server Error: ",M.message);break;case 503:console.error("Internal Server Error: ",M.message);break;default:console.error("Unknown Error: ",M.message);break}})}getMultipleFilters(o){this.apiService.getMultipleFilters(o).subscribe(u=>{var t=JSON.stringify(u.body),l=JSON.parse(t);console.log("inclusionFilterElementList from  getMultipleFilters: "+JSON.stringify(l.inclusionFilterElementList)),this.defaultFilters=l.inclusionFilterElementList,this.cdr.detectChanges()},u=>{switch(console.error("Error from getMultipleFilters: ",u),u.status){case 400:console.error("Bad Request: ",u.message);break;case 401:console.error("Unauthorized: ",u.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",u.message);break;case 404:console.error("Not Found: ",u.message);break;case 500:console.error("Internal Server Error: ",u.message);break;case 503:console.error("Internal Server Error: ",u.message);break;default:console.error("Unknown Error: ",u.message);break}})}getSelectedValueSearchFilter(o,u){if(o)this.checkedListSearchFilter.push(u),console.log("this.checkedList1Search : "+this.checkedListSearchFilter);else{var t=this.checkedListSearchFilter.indexOf(u);t>-1&&this.checkedListSearchFilter.splice(t,1)}this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()),this.currentSelectedSearchFilter={checked:o,name:u},this.shareCheckedlistSearchFilter(),this.shareIndividualStatusSearchFilter()}shareCheckedlistSearchFilter(){this.shareCheckedListSearchFilter.emit(this.checkedListSearchFilter)}shareIndividualStatusSearchFilter(){this.shareIndividualCheckedListSearchFilter.emit(this.currentSelectedSearchFilter)}getMultipleSearchFilters(o){this.apiService.getMultipleFilters(o).subscribe(u=>{var t=JSON.stringify(u.body),l=JSON.parse(t);console.log("inclusionFilterElementList from  getMultipleFilters: "+JSON.stringify(l.inclusionFilterElementList)),this.defaultSearchFilters=l.inclusionFilterElementList,this.cdr.detectChanges()},u=>{switch(console.error("Error from getMultipleFilters: ",u),u.status){case 400:console.error("Bad Request: ",u.message);break;case 401:console.error("Unauthorized: ",u.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",u.message);break;case 404:console.error("Not Found: ",u.message);break;case 500:console.error("Internal Server Error: ",u.message);break;case 503:console.error("Internal Server Error: ",u.message);break;default:console.error("Unknown Error: ",u.message);break}})}onSearchAlgorithmChange(){this.searchAlgorithm==="NEAREST"&&(this.checkedListPg=[],this.pgs.forEach(o=>o.checked=!1))}validatePolicyGroupName(){return!!/^[a-zA-Z0-9@._-]*$/.test(this.policygroupName)}validateDescription(){return!this.description||this.description.length>=5&&this.description.length<=512}submitCreatePolicy(o){if(o.invalid){o.control.markAllAsTouched(),this.toastr.error("Please fill in all required fields.");return}if(!(!this.validatePolicyGroupName()||!this.validateDescription())){if(this.checkedListFilter.length<=0){this.checkedListFilter.length<=0&&this.toastr.error("Please select at least one filter.");return}if(this.searchAlgorithm=="PRIORITY"&&this.checkedListPg.length<=0){this.toastr.error("Please select at least one BluKrypt Hostname.");return}if(this.limitError!=""){this.toastr.error("Please check the value for Per Asset Backup Storage Limit.");return}if(this.sizeError!=""){this.toastr.error("Please check the value for Maximum Permissible File Size.");return}if(this.deviceAllowedError!=""){this.toastr.error("Please check the value for Maximum Assets Allowed.");return}if(this.switchError!=""){this.toastr.error("Please check the value for Throttle traffic at endpoint agent.");return}if(this.defaultUniversalFolders.length==0){this.toastr.error("Please add at-least one default folders to backup up");return}if(this.deviceNotHeardError!=""){this.toastr.error("Please check the value for Block assets which have not been heard from in.");return}if(this.deviceNotActiveError!=""){this.toastr.error("Please check the value for Block assets which have not been heard from in.");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.noOfDevicesAllowed,this.policyModel.osType="universal",this.policyModel.sqlBackupFolders=this.sqlBackupFoldersList,this.policyModel.serverUserName="",this.policyModel.serverPassword="",this.policyModel.excludedFolderpaths=this.userExcludedFoldersUniversal,this.policyModel.exceptionsToExclusions=this.userExceptionsFoldersUniversal,this.policyModel.memoryUtilization=this.memoryUtilization,this.policyModel.cpuUtilization=this.cpuUtilization,this.policyModel.dcmEnabled=this.dcmEnabled,this.policyModel.clientDedup=this.clientDedup,this.policyModel.dedup=this.dedup,this.policyModel.maxFileSizeForBkpBatch=this.maxFileSizeForBkpBatch,this.policyModel.filterType=this.inclusionFilter?"inclusion":"exclusion",this.policyModel.searchFilterType=this.inclusionSearchFilter?"inclusion":"exclusion",this.policyModel.applyFilterToExceptionsToExclusion=this.applyFilterToExceptionsToExclusion?"true":"false",this.policyModel.backupFilesWithoutExtension=this.backupFilesWithoutExtension?"true":"false",this.policyModel.emailsRestriction=this.output,this.policyModel.endpointUiPreferences=this.endpointUiPreferences,this.policyModel.endpointDisabledUiPreferences=this.endpointDisabledUiPreferences,this.policyModel.menuOptions=this.menuOptions,this.policyModel.cpuThrottling=this.cpuThrottling,this.policyModel.legalHoldEnabled=this.legalHold?"true":"false",this.policyModel.rwDetectionEnabled=this.rwDetectionEnabled?"true":"false",this.policyModel.noOfDaysToKeepDeviceNotHeard=this.noOfDaysToKeepDeviceNotHeard==="UNLIMITED"?"-1":this.noOfDaysToKeepDeviceNotHeard,this.policyModel.noOfDaysToKeepUserDeviceNotActive=this.noOfDaysToKeepUserDeviceNotActive==="UNLIMITED"?"-1":this.noOfDaysToKeepUserDeviceNotActive,this.policyModel.webBasedLogin=this.webBasedLogin,this.policyModel.compressionEnabled=this.compEnabled,this.policyModel.vssEnabled=this.vssEnabled,this.policyModel.searchAlgoForPg=this.searchAlgorithm,this.policyModel.privacyGatewayMappingElement=this.getprivacyElement(),this.policyModel.policyRefresh=this.policyRefresh+":00",this.policyModel.logUnaccessedFiles=this.switchlogUnaccessedFiles,this.policyModel.endpointDomainCheck=this.switchAllowedDomains?"true":"false",this.policyModel.allowedDomains=this.allowedDomains,this.policyModel.switchAgentPassword=this.isPasswordEnabled?"true":"false",this.policyModel.agentPassword=this.agentPassword,this.policyModel.canBackupHiddenFiles=this.canBackupHiddenFiles,this.policyModel.downloadAgent=this.downloadAgent,this.policyModel.noOfDaysToKeepDeletedFiles=this.noOfDaysToKeepDeletedFiles==="UNLIMITED"?"-1":this.noOfDaysToKeepDeletedFiles,this.policyModel.userConsentDisplayText=this.userConsentDisplayText,this.policyModel.userConsentEnabled=this.switchuserConsentEnabled,this.policyModel.preScanCommand=this.preScanCommand,this.policyModel.preBackupCommand=this.preBackupCommand,this.policyModel.postBackupCommand=this.postBackupCommand,this.policyModel.continueOnPreScan=this.continueOnPreScan==!0?"true":"false",this.policyModel.continueOnPreBkp=this.continueOnPreBkp==!0?"true":"false",this.policyModel.continueOnPostBkp=this.continueOnPostBkp==!0?"true":"false",this.policyModel.preScanCommandEnabled=this.preScanCommandEnabled==!0?"true":"false",this.policyModel.preBackupCommandEnabled=this.preBackupCommandEnabled==!0?"true":"false",this.policyModel.postBackupCommandEnabled=this.postBackupCommandEnabled==!0?"true":"false",this.policyModel.canUserChangePassword=this.canUserChangePassword,this.policyModel.canAdminChangeUserPassword=this.canAdminChangeUserPassword,this.policyModel.canDelegatedAdminChangeUserPassword=!0,this.policyModel.filterInclusionName=this.checkedListFilter,this.policyModel.searchFilterInclusionName=this.checkedListSearchFilter>0?this.checkedListSearchFilter:["all_files"],this.policyModel.backupFolderPaths=this.defaultUniversalFolders,this.policyModel.excludedFolderpaths=this.userExcludedFoldersUniversal,this.policyModel.exceptionsToExclusions=this.userExceptionsFoldersUniversal,this.policyModel.sqlBackupFolders=this.sqlBackupFoldersList,this.policyModel.autoUpdateAgent=this.autoUpdateAgent,this.policyModel.contentIndexEnabled=this.contentIndexEnabled,this.policyModel.canAdminRestore=this.canAdminRestoreAll?"true":"false",this.policyModel.allowEndUserTocontrolRestore=this.allowEndUserTocontrolRestore?"true":"false",this.policyModel.canAdminDelete=this.isAdminDeleteBackupFile?"true":"false",this.onUnitChange(),console.log("Policy Details : "+JSON.stringify(this.policyModel)),this.apiService.createPolicy(this.policyModel).subscribe(u=>{console.log("Policy created successfully:",u),this.toastr.success("Policy created successfully.","Info"),setTimeout(()=>{this.router.navigate(["/pms/policy"])},5e3)},u=>{switch(u.status){case 400:console.error("Bad Request: ",u.message);break;case 401:console.error("Unauthorized: ",u.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error("Policy with same name already exists .","Error");break;case 331:this.toastr.error("Policy with same name already exists and is blocked.","Error");break;case 421:this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 500:console.error("Internal Server Error: ",u.message);break;case 503:console.error("Internal Server Error: ",u.message);break;default:console.error("Unknown Error: ",u.message);break}})}}onUnitChange(){this.validateInput();let o=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((o/1024).toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat((o/1024).toFixed(4));break;case"mbps":this.policyModel.nwFromClientToPG=parseFloat(o.toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat(o.toFixed(4)),console.log("123 : "+parseFloat(o.toFixed(4)));break;case"gbps":this.policyModel.nwFromClientToPG=parseFloat((o*1024).toFixed(4)),this.policyModel.nwFromClientToPGMB=parseFloat((o*1024).toFixed(4));break;default:break}}newFilterEdit(o){console.log("filterName : "+o)}onFilterChange(){this.checkedListFilter.length>0?this.getMultipleFilters(this.checkedListFilter.toString()):this.defaultFilters=[]}onSearchFilterChange(){let o=this.el.nativeElement.querySelector(".mainSearchFilters"),u=o.querySelector("mat-select");u.classList.remove("redAlert"),o.classList.remove("redAlert"),this.checkedListSearchFilter.length>0?this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()):(this.defaultSearchFilters=[],u&&(u.classList.add("redAlert"),o.classList.add("redAlert")),this.toastr.error("No filters selected. Please select at least one filter.","Info"))}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 o=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionCreate=o,this.showExtensions(),this.cannedFiltersCreate=o.concat(this.userDefinedExtensionsCreate)}else this.cannedFiltersCreate=this.userDefinedExtensionsCreate,this.checkedListExtensionCreate=[]}showExtensions(){this.extensionsVisible=!0}validateFilterName(){let o=/^[a-zA-Z0-9@._-]{3,}$/;this.invalidFilterName=!!this.filterModel.filterName&&!o.test(this.filterModel.filterName)}isFilterNameValid(o){let u=/^[a-zA-Z0-9@._-]{3,}$/;return new RegExp(u).test(o)}submitCreateFilter(){if(this.filterModel.filterName==""||!this.isFilterNameValid(this.filterModel.filterName)){this.invalidFilterName=!0,this.toastr.error("Please check filter name.","Error");return}if(this.cannedFiltersCreate.length==0){this.toastr.error("Please check filter extensions.","Error");return}this.filterModel.filters=this.cannedFiltersCreate.join(","),this.apiService.saveFilter(this.filterModel).subscribe(o=>{this.checkedListFilter.push(this.filterModel.filterName),this.getMultipleFilters(this.checkedListFilter.toString()),this.closeCreateFilterModal(),this.toastr.success("Filter created successfully.","Info"),this.getAllFilters()},o=>{switch(o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error("Filter with same name already exists .","Error");break;case 421:this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}getAllFilters(){this.apiService.getAllFilters().subscribe(o=>{var u=JSON.stringify(o.body),t=JSON.parse(u);this.filters=t.inclusionFilterElementList,this.cdr.detectChanges(),this.getAllCannedFilters()},o=>{switch(console.error("Error from getAllFilters: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}getAllCannedFilters(){this.apiService.getAllCannedFilters().subscribe(o=>{var u=JSON.stringify(o.body),t=JSON.parse(u);this.cannedFiltersTemplateCreate=t.filterTemplateElementList.map(l=>W(I({},l),{status:!1})),this.cannedFiltersTemplateCreate.sort((l,s)=>l.filterName.localeCompare(s.filterName)),this.cannedFiltersTemplateEdit=t.filterTemplateElementList.map(l=>W(I({},l),{status:!1})),this.cannedFiltersTemplateEdit.sort((l,s)=>l.filterName.localeCompare(s.filterName)),this.cdr.detectChanges()},o=>{switch(console.error("Error from getAllCannedFilters: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}editFilter(o){this.filterToEdit=o,this.displayFilterConfStyle="block"}closeConfFilterPopup(){this.filterToEdit="",this.displayFilterConfStyle="none"}closeEditFilterModal(){this.displayFilterEditStyle="none"}getFilter(){this.displayFilterConfStyle="none",this.apiService.getFilter(this.filterToEdit).subscribe(o=>{var u=JSON.stringify(o.body),t=JSON.parse(u);this.filterElement=t.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()},o=>{switch(console.error("Error from getFilter: ",o),o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",o.message);break;case 404:console.error("Not Found: ",o.message);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}onFilterChangeEdit(){if(this.checkedList.length>0){let o=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionEdit=o,this.showExtensions(),o.some(u=>this.userDefinedExtensionsEdit.includes(u))||(this.cannedFilters=o.concat(this.userDefinedExtensionsEdit))}else this.cannedFilters=this.userDefinedExtensionsEdit,this.checkedListExtensionEdit=[]}submitEditFilter(){if(this.cannedFilters.length==0){this.toastr.error("Please check filter extensions.","Error");return}this.filterEditModel.filters=this.cannedFilters.join(","),this.apiService.editFilter(this.filterEditModel).subscribe(o=>{console.log("Filter updated successfully:",o),this.closeEditFilterModal(),this.toastr.success("Filter updated successfully.","Info"),this.getMultipleFilters(this.checkedListFilter.toString())},o=>{switch(o.status){case 400:console.error("Bad Request: ",o.message);break;case 401:console.error("Unauthorized: ",o.message),this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 406:this.toastr.error("Filter with same name already exists .","Error");break;case 421:this.toastr.error("Token expired, navigating to logout page.","Error"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 500:console.error("Internal Server Error: ",o.message);break;case 503:console.error("Internal Server Error: ",o.message);break;default:console.error("Unknown Error: ",o.message);break}})}removeExtension(o){var u=this.checkedListExtensionEdit.indexOf(o);this.checkedListExtensionEdit.splice(u,1),this.userDefinedExtensionsEdit.splice(u,1);var t=this.cannedFilters.indexOf(o);this.cannedFilters.splice(t,1)}removeExtensionCreate(o){var u=this.checkedListExtension.indexOf(o);this.checkedListExtension.splice(u,1);var t=this.cannedFiltersCreate.indexOf(o);this.cannedFiltersCreate.splice(t,1)}addFilterExtensionCreate(){this.newFilterExtensionCreate.trim()&&(this.userDefinedExtensionsCreate.push(this.newFilterExtensionCreate.trim()),this.checkedListExtensionCreate.length>0?this.cannedFiltersCreate=this.userDefinedExtensionsCreate.concat(this.checkedListExtensionCreate):this.cannedFiltersCreate=this.userDefinedExtensionsCreate,this.newFilterExtensionCreate="",this.showExtensions())}addFilterExtensionEdit(){this.newFilterExtensionEdit.trim()&&(this.userDefinedExtensionsEdit.push(this.newFilterExtensionEdit.trim()),this.checkedListExtensionEdit.length>0?this.cannedFilters=this.userDefinedExtensionsEdit.concat(this.checkedListExtensionEdit):this.cannedFilters=this.userDefinedExtensionsEdit,this.newFilterExtensionEdit="",this.showExtensions())}addSqlServer(){}showPassword(o){let u=document.getElementById(o);u.type="text",o==="agentPassword"?this.isPasswordVisible=!0:this.isRePasswordVisible=!0}hidePassword(o){let u=document.getElementById(o);u.type="password",o==="agentPassword"?this.isPasswordVisible=!1:this.isRePasswordVisible=!1}handleBlur(){this.newFilterExtensionCreate.trim()&&this.addFilterExtensionCreate()}handleKeyUp(){this.newFilterExtensionCreate.trim()&&this.addFilterExtensionCreate()}handleBlurEdit(){this.newFilterExtensionEdit.trim()&&this.addFilterExtensionEdit()}handleKeyUpEdit(){this.newFilterExtensionEdit.trim()&&this.addFilterExtensionEdit()}onBlukryptChange(){if(this.checkedList.length>0){let o=this.checkedList.length>0?this.checkedList.toString().split(","):[];this.checkedListExtensionEdit=o,this.showExtensions(),o.some(u=>this.userDefinedExtensionsEdit.includes(u))||(this.cannedFilters=o.concat(this.userDefinedExtensionsEdit))}else this.cannedFilters=this.userDefinedExtensionsEdit,this.checkedListExtensionEdit=[];this.matSelectBlukryptHost.close()}static{this.\u0275fac=function(u){return new(u||p)(F(he),F(Y),F(fe),F(dt),F(Q),F(rt),F(X),F(se),F(ye),F(ot),F(oe),F(lt))}}static{this.\u0275cmp=le({type:p,selectors:[["app-create"]],viewQuery:function(u,t){if(u&1&&(G(ut,5),G(ht,5),G(gt,5)),u&2){let l;j(l=J())&&(t.matSelectBlukryptHost=l.first),j(l=J())&&(t.matSelectCreateFilter=l.first),j(l=J())&&(t.matSelectEditFilter=l.first)}},inputs:{pgs:"pgs"},outputs:{shareCheckedList:"shareCheckedList",shareIndividualCheckedList:"shareIndividualCheckedList",shareCheckedListNoBackup:"shareCheckedListNoBackup",shareIndividualCheckedListNoBackup:"shareIndividualCheckedListNoBackup",shareCheckedListFilter:"shareCheckedListFilter",shareIndividualCheckedListFilter:"shareIndividualCheckedListFilter",shareCheckedListSearchFilter:"shareCheckedListSearchFilter",shareIndividualCheckedListSearchFilter:"shareIndividualCheckedListSearchFilter",shareCheckedListPg:"shareCheckedListPg",shareIndividualCheckedListPg:"shareIndividualCheckedListPg"},features:[ae([Y,Q,X])],decls:1167,vars:259,consts:[["myForm","ngForm"],["policyNameInput","ngModel"],["tabContent1","cTabContent"],["matSelectCreateFilter",""],["matSelectEditFilter",""],["matSelectBlukryptHost",""],[1,"container"],[1,"row"],[1,"col-lg-6"],[1,"breadcrumb"],[4,"ngIf"],[3,"ngSubmit"],["xs","12"],[1,"mb-3"],[1,"row",2,"margin-top","10px"],[1,"col-lg-7"],[1,"form-group"],["for","policyName"],["type","text","name","policyName","id","policyName","minlength","3","maxlength","50","placeholder","Enter Policy Name","required","","autocomplete","off","autofocus","","pattern","^[a-zA-Z0-9@._-]*$","title","Only letters, numbers, and @, -, _, . are allowed",1,"form-control",3,"ngModelChange","ngModel"],["class","text-danger",4,"ngIf"],["cLabel","","for","description"],["cFormControl","","name","description","id","description","minlength","5","maxlength","512","rows","3",3,"ngModelChange","input","ngModel"],["style","color: red;",4,"ngIf"],["variant","tabs","role","tablist"],["cNavLink","",3,"cTabContent","tabPaneIdx"],[1,"d-none"],["cRounded","bottom",3,"activeTabPaneIdx"],[1,"p-3","preview"],["for","maxVersions",1,"col-lg-12"],[1,"col-lg-2"],[3,"switch"],["cFormCheckInput","","id","switchver","type","checkbox",3,"ngModelChange","change","ngModelOptions","ngModel"],[1,"col-lg-8"],["type","text","name","maxVersions","id","maxVersions","placeholder","Enter maxVersions","required","","autocomplete","off",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,"h4",2,"color","#585f69"],["for","noOfDevicesAllowed"],["type","number","name","noOfDevicesAllowed","id","noOfDevicesAllowed","placeholder","Maximum Assets Allowed","required","","autocomplete","off","value","10","min","1",1,"form-control",3,"ngModelChange","blur","ngModel"],["id","deviceerror",2,"color","#f55753","font-size","0.9em"],[1,"form-group","d-none"],["for","osType"],["cSelect","","name","osType","id","osType","required","","title","Select OS Type",1,"form-control","selectOsTypePicker",3,"ngModelChange","ngModel"],["value","universal","selected",""],["for","memoryUtilization"],["type","text","name","memoryUtilization","id","memoryUtilization","placeholder","Enter memoryUtilization","required","","autocomplete","off","value","128","data-parsley-min","128","data-parsley-max","1024","data-parsley-type","integer",1,"form-control",3,"ngModelChange","ngModel"],["for","cpuUtilization"],["type","text","name","cpuUtilization","id","cpuUtilization","placeholder","Enter cpuUtilization","required","","autocomplete","off","value","80","data-parsley-min","20","data-parsley-max","100","data-parsley-type","integer",1,"form-control",3,"ngModelChange","ngModel"],["for","dcmEnabled"],["cSelect","","name","dcmEnabled","id","dcmEnabled","required","","title","Select dcmEnabled",1,"form-control","dcmEnabled",3,"ngModelChange","ngModel"],["value","true"],["value","false","selected",""],["for","clientDedup"],["cSelect","","name","clientDedup","id","clientDedup","title","Select clientDedup",1,"form-control","clientDedup",3,"ngModelChange","ngModel"],["value","true","selected",""],["value","false"],["for","maxFileSizeForBkpBatch"],["type","text","name","maxFileSizeForBkpBatch","id","maxFileSizeForBkpBatch","placeholder","Enter maxFileSizeForBkpBatch","autocomplete","off","value","50",1,"form-control"],["cTooltip","File extensions that you wish to include or exclude.","cTooltipPlacement","bottom",2,"color","#062D4D","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,"ngModelChange","change","ngModel"],["value","inclusion"],["value","exclusion"],[1,"row","col-lg-12"],["class","col-lg-1 inclusionBadge","style","margin-top: 10px;",4,"ngIf"],["class","col-lg-1 exclusionBadge","style","margin-top:10px;",4,"ngIf"],["appearance","fill",2,"width","100%"],["multiple","","placeholder","Select Filters",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],[3,"value",4,"ngFor","ngForOf"],[1,"col-lg-5"],["class","row allFilters",4,"ngIf"],[1,"col-lg-12"],[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"],["cTooltip","Changes will reflect on next relaunch of agent.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["for","shareEnabled"],["cSelect","","name","bkpfiles","id","bkpfiles","required","","title","Select share",1,"form-control","bkpfiles",3,"change"],["cSelect","","name","bkpsettings","id","bkpsettings","required","","title","Select share",1,"form-control","bkpsettings",3,"change"],["cSelect","","name","initiatebackup","id","initiatebackup","required","","title","Select share",1,"form-control","initiatebackup",3,"change"],["cSelect","","name","stopbackup","id","stopbackup","required","","title","Select share",1,"form-control","stopbackup",3,"change"],["cSelect","","name","support","id","support","required","","title","Select share",1,"form-control","support",3,"change"],["for","about"],["cSelect","","name","about","id","about","required","","title","Select about",1,"form-control","about",3,"change"],["for","blockNotifications"],["cSelect","","name","blockNotifications","id","blockNotifications","title","Select share",1,"form-control","blockNotifications",3,"change"],["for","systrayIcon"],["cSelect","","name","systrayIcon","id","systrayIcon","required","","title","Select systrayIcon",1,"form-control","systrayIcon",3,"change"],["cSelect","","name","restore","id","restore","required","","title","Select share",1,"form-control","restore",3,"change"],["cSelect","","name","refbkppolicy","id","refbkppolicy","required","","title","Select share",1,"form-control","refbkppolicy",3,"change"],["for","pauseBackup"],["cSelect","","name","pauseBackup","id","pauseBackup","required","","title","Select pauseBackup",1,"form-control","pauseBackup",3,"change"],["for","updateAgent"],["cSelect","","name","updateAgent","id","updateAgent","required","","title","Select updateAgent",1,"form-control","updateAgent",3,"change"],["cSelect","","name","decouple","id","decouple","required","","title","Select share",1,"form-control","decouple",3,"change"],["cSelect","","name","network_settings","id","network_settings","required","","title","Select Network Settings",1,"form-control","network_settings",3,"change"],[1,"form-group","hide"],["for","disallowAdminRestores"],["cSelect","","name","disallowAdminRestores","id","disallowAdminRestores","required","","title","Select Disallow Admin Restores",1,"form-control","disallowAdminRestores",3,"change"],["cSelect","","name","exitt","id","exitt","required","","title","Select share",1,"form-control","exitt",3,"change"],[1,"col-lg-12","row"],["cTooltip","Portal changes will reflect on user login.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],[1,"form-group","Open"],["for","Open"],["cSelect","","name","Open","id","Open","required","","title","Select Open",1,"form-control","Open",3,"change"],[1,"form-group","Versions"],["for","Versions"],["cSelect","","name","Versions","id","Versions","required","","title","Select Versions",1,"form-control","Versions",3,"change"],[1,"form-group","Download"],["for","Download"],["cSelect","","name","Download","id","Download","required","","title","Select Download",1,"form-control","Download",3,"change"],[1,"form-group","View"],["for","View"],["cSelect","","name","View","id","View","required","","title","Select View",1,"form-control","View",3,"change"],[1,"form-group","Share","hide"],["for","Share"],["cSelect","","name","Share","id","Share","required","","title","Select Share",1,"form-control","Share",3,"change"],[1,"form-group","portalRestore"],["for","portalRestore"],["cSelect","","name","portalRestore","id","portalRestore","required","","title","Select Restore",1,"form-control","portalRestore",3,"change"],[1,"row","shareDetailsLabel","hide"],[1,"col-lg-12",2,"border","1px dashed grey","border-radius","10px"],[1,"checkbox","check-primary"],["id","shareDomainsEnabled","name","shareDomainsEnabled","type","checkbox","value","enabled"],["for","shareDomainsEnabled"],[1,"form-group","col-lg-6"],["for","shareDomainIncExclusions"],["type","text","name","shareDomainIncExclusions","id","shareDomainIncExclusions","placeholder","","autocomplete","off","value","",1,"form-control"],[1,"col-lg-6",2,"margin-left","-14px","margin-top","20px"],[1,"col-lg-12",2,"margin-bottom","15px"],["type","radio","name","shareDomainType","id","only","value","Share only with these Email domains"],["for","link"],["type","radio","name","shareDomainType","id","withall","value","Share with all Email domains excepting these"],[1,"col-lg-6","row",2,"margin-top","10px"],[1,"col-lg-2","controllerSLBlock"],[1,"switch"],["id","controllerSL","type","checkbox","name","controllerSL","value","true"],[1,"slider","round"],[2,"margin-top","5px"],["id","highSecureShareEnabled","name","highSecureShareEnabled","type","checkbox","value","enabled","checked",""],["for","highSecureShareEnabled"],[1,"col-lg-6","row"],[1,"col-lg-2","controllerCPBlock"],["id","controllerCP","type","checkbox","name","controllerCP","value","true","checked",""],[1,"col-lg-2","controllerADBlock"],["id","controllerAD","type","checkbox","name","controllerAD","value","true"],[1,"col-lg-2","controllerEDBlock"],["id","controllerED","type","checkbox","name","controllerED","value","true","checked",""],[1,"col-lg-2","controllerMFABlock"],["id","controllerMFA","type","checkbox","name","controllerMFA","value","true","checked",""],["cTooltip","Related to search.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],[1,"form-group","contentIndexEnabled"],["for","contentIndexEnabled"],["cSelect","","name","contentIndexEnabled","id","contentIndexEnabled","required","","title","Select Content Index Enabled",1,"form-control","contentIndexEnabled",3,"ngModelChange","ngModel"],["for","filters",1,"d-none"],[1,"clickAble","d-none",2,"font-size","small","font-weight","600",3,"click"],["cSelect","","name","searchFilterType","id","searchfiltersType","title","Select Filter Type",1,"form-control","selectSearchFilterTypePicker",3,"ngModelChange","change","ngModel"],["class","col-lg-1 inclusionBadgeCS","style","margin-top: 10px;",4,"ngIf"],["class","col-lg-1 exclusionBadgeCS","style","margin-top:10px;",4,"ngIf"],["placeholder","Select Search Filters","multiple","",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],[1,"h4","d-none",2,"color","#585f69"],[1,"form-group","partial","d-none"],["for","incrementalFileTransfer"],["cSelect","","name","incrementalFileTransfer","id","incrementalFileTransfer","required","","title","Select incrementalFileTransfer",1,"form-control","incrementalFileTransfer"],["data-role","controlgroup","data-type","horizontal"],["for","nwFromClientToPG",1,"col-lg-12"],[1,"col-lg-8",2,"margin-bottom","10px"],["cFormCheckInput","","id","switch","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","nwFromClientToPGMB","id","nwFromClientToPGMB","placeholder","","required","","autocomplete","off",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","switcherror",2,"color","#f55753","font-size","0.9em"],["id","switchwarning",2,"color","#062D4D","font-size","0.9em"],["cSelect","","name","networkThrottlingUnit","id","networkThrottlingUnit",1,"form-control",3,"ngModelChange","change","ngModel","disabled"],["value","kbps"],["value","mbps"],["value","gbps"],[1,"form-group","col-lg-12"],["for","cpuThrottling"],[1,"slidecontainer"],["type","range","min","1","max","10","name","cpuThrottling","id","myRange",1,"slidercpu",3,"ngModelChange","input","ngModel"],["id","demo"],["for","nwFromPGToCloud"],["type","text","name","nwFromPGToCloud","id","nwFromPGToCloud","placeholder","Enter nwFromPGToCloud","required","","autocomplete","off","value","4","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","10",1,"form-control"],["for","filesCrawlLimit"],["type","text","name","filesCrawlLimit","id","filesCrawlLimit","placeholder","Enter filesCrawlLimit","required","","autocomplete","off","value","500","data-parsley-type","integer","data-parsley-min","1",1,"form-control"],["for","networkThrottling"],["cSelect","","name","networkThrottling","id","networkThrottling","required","","title","Select networkThrottling",1,"form-control","networkThrottling"],[1,"col-lg-5","d-none"],[1,"row","partialfileattributerow"],[1,"panel","panel-default",2,"margin-top","30px"],[1,"panel-body"],["for","partialFileSize"],["type","text","name","partialFileSize","id","partialFileSize","placeholder","Enter partialFileSize","required","","autocomplete","off","value","9","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","<?=MAX_ENABLE_PARTIAL_FILE_TRANSFER?>",1,"form-control"],["for","fileChunkableSize"],["type","text","name","fileChunkableSize","id","fileChunkableSize","placeholder","Enter fileChunkableSize","required","","autocomplete","off","value","8","data-parsley-type","integer","data-parsley-min","1","data-parsley-max","<?=MAX_PARTIAL_FILE_TRANSFER_CHUNK_SIZE?>",1,"form-control"],[1,"col-lg-1"],["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"],["class","col-lg-6 row",4,"ngIf"],["for","noOfDaysToKeepDeviceNotHeard",1,"col-lg-12"],["cFormCheckInput","","id","switchnoOfDaysToKeepDeviceNotHeard","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],[1,"col-lg-4"],["type","text","name","noOfDaysToKeepDeviceNotHeard","id","noOfDaysToKeepDeviceNotHeard","placeholder","Enter No. of Days To Keep Device Not Heard","required","","autocomplete","off","value","60",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","noOfDaysToKeepDeviceNotHearderror",2,"color","#f55753","font-size","0.9em"],[1,"col-lg-2",2,"margin-top","10px"],["for","noOfDaysToKeepUserDeviceNotActive",1,"col-lg-12"],["cFormCheckInput","","id","switchnoOfDaysToKeepUserDeviceNotActive","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","noOfDaysToKeepUserDeviceNotActive","id","noOfDaysToKeepUserDeviceNotActive","placeholder","Enter No. of Days To Keep Device Not Heard","required","","autocomplete","off","value","60",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","noOfDaysToKeepUserDeviceNotActiveerror",2,"color","#f55753","font-size","0.9em"],["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"],[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"],["class","form-group d-none",4,"ngIf"],["for","compEnabled"],["cSelect","","name","compEnabled","id","compEnabled","required","","title","Select compEnabled",1,"form-control","compEnabled",3,"ngModelChange","ngModel"],[1,"form-group","vssContainer","d-none",2,"display","none"],["for","vssEnabled"],["cSelect","","name","vssEnabled","id","vssEnabled","required","","title","Select vss",1,"form-control","vssEnabled",3,"ngModelChange","ngModel"],[1,"form-group","searchAlgoForPg"],["for","searchAlgoForPg"],["cSelect","","name","searchAlgoForPg","id","sortAlgoForPg","required","",1,"form-control","searchAlgoForPg",3,"ngModelChange","change","ngModel"],["value","NEAREST"],["value","PRIORITY"],["class","form-group",4,"ngIf"],["for","policyRefresh"],["type","number","id","policyRefresh","name","policyRefresh","value","4","min","1","max","23","required","",1,"form-control","input-small",3,"ngModelChange","ngModel"],["for","logUnaccessedFiles",1,"col-lg-12",2,"margin-top","10px"],["id","switchlogUnaccessedFiles","name","switchlogUnaccessedFiles","type","checkbox",3,"ngModelChange","ngModel"],["for","endpointDomainCheck",1,"col-lg-12"],["cFormCheckInput","","id","switchAllowedDomains","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],["for","allowedDomains"],["type","text","name","allowedDomains","id","allowedDomains","placeholder","","autocomplete","off","value","",1,"form-control",3,"ngModelChange","ngModel","disabled"],["for","autoupdateAgent"],["cSelect","","name","autoUpdateAgent","id","autoUpdateAgent","required","","title","Select Auto Update Agent",1,"form-control","autoUpdateAgent",3,"ngModelChange","ngModel"],["for","switchAgentPassword",1,"col-lg-12"],["cFormCheckInput","","id","switchAgentPassword","type","checkbox","name","isPasswordEnabled",3,"ngModelChange","ngModel"],[1,"col-lg-10"],["type","password","name","agentPassword","id","agentPassword","placeholder","Enter Password","autocomplete","off","minlength","5",1,"form-control",2,"margin-bottom","10px",3,"ngModelChange","ngModel","required","disabled"],["title","Toggle password visibility",1,"fa","fa-fw","field-icon",2,"line-height","0px","cursor","pointer",3,"mousedown","mouseup","mouseleave","ngClass"],["type","password","name","agentRePassword","id","agentRePassword","placeholder","Re-Type Password","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel","required","disabled"],["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","downloadAgent"],["cTooltip","Relogin on portal is required","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["cSelect","","name","downloadAgent","id","downloadAgent","required","","title","Select downloadAgent",1,"form-control","downloadAgent",3,"ngModelChange","ngModel"],[1,"row",2,"margin-left","0px"],[1,"col-lg-2",2,"padding-left","0%"],["cFormCheckInput","","id","switchnoOfDaysToKeepDeletedFiles","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["type","text","name","noOfDaysToKeepDeletedFiles","id","noOfDaysToKeepDeletedFiles","autocomptocomplete","off","value","UNLIMITED",1,"form-control",3,"ngModelChange","blur","ngModel","disabled"],["id","sizenoOfDaysToKeepDeletedFiles",2,"color","#f55753","font-size","0.9em"],["cFormCheckInput","","id","switchuserConsentEnabled","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],["cFormControl","","name","userConsentDisplayText","id","userConsentDisplayText","maxlength","8000","rows","3","placeholder","Enter User Consent Display Text",3,"ngModelChange","ngModel","disabled"],["for","preScanCommandEnabled"],["cFormCheckInput","","id","preScanCommandEnabled","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],[1,"col-lg-5","form-group"],["for","preScanCommand"],["type","text","name","preScanCommand","id","preScanCommand","placeholder","","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel","disabled"],[1,"col-lg-3"],["for","continueOnPreScan"],["id","continueOnPreScan","name","continueOnPreScan","type","checkbox",3,"ngModelChange","ngModel","disabled"],["for","preBackupCommandEnabled"],["cFormCheckInput","","id","preBackupCommandEnabled","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["for","preBackupCommand"],["type","text","name","preBackupCommand","id","preBackupCommand","placeholder","","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel","disabled"],["for","continueOnPreBkp"],["id","continueOnPreBkp","name","continueOnPreBkp","type","checkbox",3,"ngModelChange","ngModel","disabled"],["for","postBackupCommandEnabled"],["cFormCheckInput","","id","postBackupCommandEnabled","type","checkbox",3,"ngModelChange","change","ngModel","ngModelOptions"],["for","postBackupCommand"],["type","text","name","postBackupCommand","id","postBackupCommand","placeholder","","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel","disabled"],["for","continueOnPostBkp"],["id","continueOnPostBkp","name","continueOnPostBkp","type","checkbox",3,"ngModelChange","ngModel","disabled"],["for","fullBackupEnabled"],["cSelect","","name","fullBackupEnabled","id","fullBackupEnabled","required","","title","Select fullBackupEnabled",1,"form-control","fullBackupEnabled"],[1,"form-group","backupDate","d-none",2,"display","none"],["for","fullBackupStartDate"],["type","text","id","fullBackupStartDate","name","fullBackupStartDate","placeholder","Select date for full backup","autocomplete","off",1,"form-control","backupDatePicker","input-small"],["cTooltip","Go to Global settings to enable this option.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],["for","canUserChangePassword"],["cSelect","","name","canUserChangePassword","id","canUserChangePassword","required","","title","Select Can User Change Password",1,"form-control","canUserChangePassword",3,"ngModelChange","ngModel","ngClass"],["for","canAdminChangeUserPassword"],["cSelect","","name","canAdminChangeUserPassword","id","canAdminChangeUserPassword","required","","title","Select Allow Admin To Change User Password",1,"form-control","canAdminChangeUserPassword",3,"ngModelChange","ngModel","ngClass"],[1,"bs-callout","bs-callout-primary",2,"padding-top","10px","padding-bottom","1px"],["type","submit",1,"btn","btn-primary","pull-right"],[1,"btn","btn-default","pull-right",2,"margin-right","10px",3,"click"],[1,"main"],["id","configureSqlServer","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["role","document",1,"modal-dialog"],[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"],["for","serverUserName"],["type","text","name","serverUserName","id","serverUserName","value","","placeholder","Enter Server User Name","autocomplete","off","required","",1,"form-control"],["for","serverPassword"],["type","password","name","serverPassword","id","serverPassword","value","","placeholder","Enter Server Password","autocomplete","off","required","",1,"form-control"],["toggle","#serverPasswordphrase","title","show password",1,"fa","fa-fw","fa-eye-slash","field-icon","toggle-serverPasswordphrase"],["for","serverRePassword"],["type","password","name","serverRePassword","id","serverRePassword","placeholder","Re-Type Server Password","autocomplete","off","value","","data-parsley-equalto","#serverPassword","data-parsley-trigger","change","required","",1,"form-control"],[1,"modal-footer"],["type","button","data-dismiss","modal",1,"btn","btn-default"],["type","submit",1,"saveSqlServer","btn","btn-primary"],["id","confirmAdd","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["ng-submit","addDefaultFolderConfirm(defaultFoldersBackup)",1,""],["type","submit",1,"saveRename","btn","btn-primary"],["id","confirmAdd1","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["ng-submit","addExclusionFolderConfirm(exclusionFolderName)",1,""],["id","confirmAdd2","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","data-backdrop","static","data-keyboard","false",1,"modal","fade"],["ng-submit","addExceptionFolderConfirm(exceptionFolderName)",1,""],["id","modalConfirmation","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-title"],["type","button",1,"btn","btn-default",3,"click"],["type","button",1,"btn","btn-primary",3,"click"],["id","modalCreateFilter","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],[1,"modal-header","header-container"],[2,"cursor","pointer",3,"click"],[1,"fa-solid","fa-xmark"],["for","filterName"],["type","text","name","filterName","value","","placeholder","Enter Filter Name","required","","autocomplete","off",1,"form-control",3,"ngModelChange","input","ngClass","ngModel"],["for","filterType"],["name","filterType","required","",1,"form-control","filterType",3,"ngModelChange","ngModel"],["for","filterTemplate"],["multiple","",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],["cTooltip","Enter filter extension and press enter to add.","cTooltipPlacement","right",2,"color","#062D4D","cursor","pointer"],[1,"form-control",2,"border","1px solid rgba(8, 10, 12, 0.175)","border-radius","10px"],["id","extensionsSpanCreate"],["style","word-wrap: break-word;width: fit-content;margin-right: 10px;",4,"ngFor","ngForOf"],["type","text","name","newFilterExtensionCreate","placeholder","Enter filters","required","","autocomplete","off",1,"form-control",2,"margin-top","10px","width","25%","margin-bottom","10px",3,"ngModelChange","blur","keyup.enter","ngModel"],["type","submit",1,"btn","btn-primary",3,"click"],["id","modal2","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["type","text","name","filterName","placeholder","Enter Filter Name","required","","autocomplete","off","readonly","",1,"form-control",3,"ngModelChange","ngModel","value"],["cTooltip","Enter filter extension and press enter to add.","cTooltipPlacement","bottom",2,"color","#062D4D","cursor","pointer"],[1,"form-control",2,"border","1px solid rgba(8, 10, 12, 0.175)","border-radius","10px","display","block","word-break","break-all"],["style","white-space:nowrap;word-wrap: break-word;width: fit-content;margin-right: 10px;","class","",4,"ngFor","ngForOf"],["type","text","name","newFilterExtensionEdit","placeholder","Enter filters","required","","autocomplete","off",1,"form-control",2,"margin-top","10px","width","25%","margin-bottom","10px",3,"ngModelChange","blur","keyup.enter","ngModel"],["href","pms"],["href","pms/policy"],[1,"text-danger"],[2,"color","red"],[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"],[3,"value"],[1,"row","allFilters"],[1,"panel","panel-default"],[1,"panel-heading"],[1,"fa","fa-filter"],[1,"panel-body",2,"word-break","break-all"],["id","backupFilesWithoutExtension","type","checkbox","name","backupFilesWithoutExtension","value","true","checked","",3,"ngModelChange","ngModel"],[1,"table-responsive"],[1,"table","table-bordered","table-responsive",2,"display","table"],["ng-repeat"," in "],[2,"white-space","unset !important"],[2,"word-break","break-all"],[2,"white-space","nowrap !important"],["cButton","","color","primary","size","sm",2,"margin-right","10px",3,"click","disabled"],[1,"col-lg-1","inclusionBadgeCS",2,"margin-top","10px"],[1,"col-lg-1","exclusionBadgeCS",2,"margin-top","10px"],[1,"col-lg-2","rwDetectionEnabledBlock"],["cFormCheckInput","","id","rwDetectionEnabled","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],["for","dedup"],["cSelect","","name","dedup","id","dedup","required","","title","Select dedup",1,"form-control","dedup",3,"ngModelChange","ngModel"],["value","Disabled"],["value","User","selected",""],["value","User"],["value","Global","selected",""],["for","Blukryptipaddress"],[2,"word-wrap","break-word","width","fit-content","margin-right","10px"],[1,"clickAble",2,"color","#062D4D","cursor","pointer",3,"click"],[1,"fa","fa-times-circle"],[1,"",2,"white-space","nowrap","word-wrap","break-word","width","fit-content","margin-right","10px"]],template:function(u,t){if(u&1){let l=P();e(0,"div",6)(1,"div",7)(2,"div",8)(3,"ol",9),_(4,wt,4,1,"li",10)(5,Ct,3,1,"li",10)(6,_t,3,1,"li",10),i()()()(),e(7,"c-row")(8,"form",11,0),h("ngSubmit",function(){d(l);let r=N(9);return c(t.submitCreatePolicy(r))}),e(10,"c-col",12)(11,"c-card",13)(12,"c-card-header"),n(13,`
          `),e(14,"div",14),n(15,`
            `),e(16,"div",15),n(17,`
                `),e(18,"div",16),n(19,`
                    `),e(20,"label",17),n(21,"Policy Name"),i(),n(22,`
                    `),e(23,"input",18,1),y("ngModelChange",function(r){return d(l),f(t.policygroupName,r)||(t.policygroupName=r),c(r)}),i(),n(25,`
                    `),_(26,vt,8,3,"div",19),n(27,`
                `),i(),n(28,`                
                `),e(29,"div",13),n(30,`
                    `),e(31,"label",20),n(32,"Description"),i(),n(33,`
                    `),e(34,"textarea",21),y("ngModelChange",function(r){return d(l),f(t.description,r)||(t.description=r),c(r)}),h("input",function(){return d(l),c(t.validateDescription())}),i(),n(35,`
                    `),_(36,Mt,2,0,"small",22),n(37,`
                    `),_(38,kt,2,0,"small",22),n(39,`
                `),i(),n(40,`
            `),i(),n(41,`
        `),i(),n(42,`
        `),i(),e(43,"c-card-body")(44,"c-nav",23)(45,"c-nav-item")(46,"button",24),n(47," General "),i()(),e(48,"c-nav-item")(49,"button",24),n(50," Email Alert Configurations "),i()(),e(51,"c-nav-item")(52,"button",24),n(53," User action preferences "),i()(),e(54,"c-nav-item",25)(55,"button",24),n(56," Search "),i()(),e(57,"c-nav-item")(58,"button",24),n(59," Advanced "),i()()(),e(60,"c-tab-content",26,2)(62,"c-tab-pane",27)(63,"div",7)(64,"div",15)(65,"div",16)(66,"label",28),n(67,"Maximum number of Versions Allowed"),i(),e(68,"div",7)(69,"div",29)(70,"c-form-check",30)(71,"input",31),y("ngModelChange",function(r){return d(l),f(t.isVersionEnabled,r)||(t.isVersionEnabled=r),c(r)}),h("change",function(){return d(l),c(t.toggleVersion())}),i()()(),e(72,"div",32)(73,"input",33),y("ngModelChange",function(r){return d(l),f(t.versions,r)||(t.versions=r),c(r)}),h("blur",function(){return d(l),c(t.myFunctionVer())}),i(),e(74,"span",34),n(75),i()()()(),e(76,"div",16)(77,"label",35),n(78,"Maximum Permissible File Size (In MB)"),i(),e(79,"div",7)(80,"div",29)(81,"c-form-check",30)(82,"input",36),y("ngModelChange",function(r){return d(l),f(t.isSizeEnabled,r)||(t.isSizeEnabled=r),c(r)}),h("change",function(){return d(l),c(t.toggleSize())}),i()()(),e(83,"div",32)(84,"input",37),y("ngModelChange",function(r){return d(l),f(t.maxPermissibleFileSize,r)||(t.maxPermissibleFileSize=r),c(r)}),h("blur",function(){return d(l),c(t.myFunctionMPS())}),i(),e(85,"span",38),n(86),i()()()(),e(87,"div",16)(88,"label",39),n(89,"Per Asset Backup Storage Limit (In GB)"),i(),e(90,"div",7)(91,"div",29)(92,"c-form-check",30)(93,"input",40),y("ngModelChange",function(r){return d(l),f(t.isLimitEnabled,r)||(t.isLimitEnabled=r),c(r)}),h("change",function(){return d(l),c(t.toggleLimit())}),i()()(),e(94,"div",32)(95,"input",41),y("ngModelChange",function(r){return d(l),f(t.perUserBackupStorageLimit,r)||(t.perUserBackupStorageLimit=r),c(r)}),h("blur",function(){return d(l),c(t.myFunctionUBS())}),i(),e(96,"span",42),n(97),i()()()()()(),e(98,"div",7)(99,"div",15)(100,"legend",43),n(101,"Asset Information"),i(),e(102,"div",16)(103,"label",44),n(104,"Maximum Assets Allowed"),i(),e(105,"input",45),y("ngModelChange",function(r){return d(l),f(t.noOfDevicesAllowed,r)||(t.noOfDevicesAllowed=r),c(r)}),h("blur",function(){return d(l),c(t.myFunctionDevice())}),i(),e(106,"span",46),n(107),i()(),e(108,"div",47)(109,"label",48),n(110,"Operating System Type"),i(),e(111,"select",49),y("ngModelChange",function(r){return d(l),f(t.osType,r)||(t.osType=r),c(r)}),e(112,"option",50),n(113,"Universal"),i()()(),e(114,"div",47)(115,"label",51),n(116,"Memory Utilization (In MB)"),i(),e(117,"input",52),y("ngModelChange",function(r){return d(l),f(t.memoryUtilization,r)||(t.memoryUtilization=r),c(r)}),i()(),e(118,"div",47)(119,"label",53),n(120,"CPU Utilization (In Percentage)"),i(),e(121,"input",54),y("ngModelChange",function(r){return d(l),f(t.cpuUtilization,r)||(t.cpuUtilization=r),c(r)}),i()(),e(122,"div",47)(123,"label",55),n(124,"DCM Enabled"),i(),e(125,"select",56),y("ngModelChange",function(r){return d(l),f(t.dcmEnabled,r)||(t.dcmEnabled=r),c(r)}),e(126,"option",57),n(127,"Enabled"),i(),e(128,"option",58),n(129,"Disabled"),i()()(),e(130,"div",47)(131,"label",59),n(132,"Client Dedup"),i(),e(133,"select",60),y("ngModelChange",function(r){return d(l),f(t.clientDedup,r)||(t.clientDedup=r),c(r)}),e(134,"option",61),n(135,"Enabled"),i(),e(136,"option",62),n(137,"Disabled"),i()()(),e(138,"div",47)(139,"label",63),n(140,"Maximun File Size For Backup Batch"),i(),w(141,"input",64),i()()(),e(142,"div",7)(143,"div",15)(144,"legend",43),n(145,"Filters "),e(146,"a",65),w(147,"i",66),i()(),e(148,"div",16)(149,"label",67),n(150,"Filters - "),e(151,"a",68),h("click",function(){return d(l),c(t.addNewFilter())}),n(152,"Create New Filter"),i()(),w(153,"br"),e(154,"label",67),n(155,"Filter type"),i(),e(156,"select",69),y("ngModelChange",function(r){return d(l),f(t.filterType,r)||(t.filterType=r),c(r)}),h("change",function(r){return d(l),c(t.onSelectChangeFilterType(r))}),e(157,"option",70),n(158,"Inclusion"),i(),e(159,"option",71),n(160,"Exclusion"),i()(),e(161,"div",72),_(162,Ft,3,0,"h5",73)(163,Tt,3,0,"h5",74),e(164,"mat-form-field",75)(165,"mat-select",76),y("ngModelChange",function(r){return d(l),f(t.checkedListFilter,r)||(t.checkedListFilter=r),c(r)}),h("selectionChange",function(){return d(l),c(t.onFilterChange())}),_(166,Pt,2,2,"mat-option",77),i()()()()(),e(167,"div",78),w(168,"br")(169,"br"),_(170,xt,20,1,"div",79),i()()(),e(171,"c-tab-pane",27)(172,"div",7)(173,"div",80)(174,"legend",43),n(175,"Email Alert Configurations"),i()(),e(176,"div",81)(177,"div",16)(178,"select",82),y("ngModelChange",function(r){return d(l),f(t.createUserAdmins,r)||(t.createUserAdmins=r),c(r)}),h("change",function(){return d(l),c(t.updateOutput())}),e(179,"option",83),n(180,"Enabled"),i(),e(181,"option",84),n(182,"Disabled"),i()()()(),e(183,"div",81)(184,"div",16)(185,"select",85),y("ngModelChange",function(r){return d(l),f(t.createUserReadonlyadmins,r)||(t.createUserReadonlyadmins=r),c(r)}),h("change",function(){return d(l),c(t.updateOutput())}),e(186,"option",86),n(187,"Enabled"),i(),e(188,"option",84),n(189,"Disabled"),i()()()(),e(190,"div",8)(191,"div",16)(192,"label"),n(193,"User Created"),i(),e(194,"select",87),y("ngModelChange",function(r){return d(l),f(t.createUserUsers,r)||(t.createUserUsers=r),c(r)}),h("change",function(){return d(l),c(t.updateOutput())}),e(195,"option",88),n(196,"Enabled"),i(),e(197,"option",89),n(198,"Disabled"),i()()()(),e(199,"div",81)(200,"div",16)(201,"select",90),y("ngModelChange",function(r){return d(l),f(t.userDeletedAdmins,r)||(t.userDeletedAdmins=r),c(r)}),h("change",function(){return d(l),c(t.updateOutput())}),e(202,"option",83),n(203,"Enabled"),i(),e(204,"option",84),n(205,"Disabled"),i()()()(),e(206,"div",81)(207,"div",16)(208,"select",91),y("ngModelChange",function(r){return d(l),f(t.userDeletedReadonlyadmins,r)||(t.userDeletedReadonlyadmins=r),c(r)}),h("change",function(){return d(l),c(t.updateOutput())}),e(209,"option",86),n(210,"Enabled"),i(),e(211,"option",84),n(212,"Disabled"),i()()()(),e(213,"div",8)(214,"div",16)(215,"label"),n(216,"User Deleted"),i(),e(217,"select",92),y("ngModelChange",function(r){return d(l),f(t.userDeletedUsers,r)||(t.userDeletedUsers=r),c(r)}),h("change",function(){return d(l),c(t.updateOutput())}),e(218,"option",88),n(219,"Enabled"),i(),e(220,"option",89),n(221,"Disabled"),i()()()(),e(222,"div",81)(223,"div",16)(224,"select",93),y("ngModelChange",function(r){return d(l),f(t.userBlockedAdmins,r)||(t.userBlockedAdmins=r),c(r)}),h("change",function(){return d(l),c(t.updateOutput())}),e(225,"option",83),n(226,"Enabled"),i(),e(227,"option",84),n(228,"Disabled"),i()()()(),e(229,"div",81)(230,"div",16)(231,"select",94),y("ngModelChange",function(r){return d(l),f(t.userBlockedReadonlyadmins,r)||(t.userBlockedReadonlyadmins=r),c(r)}),h("change",function(){return d(l),c(t.updateOutput())}),e(232,"option",86),n(233,"Enabled"),i(),e(234,"option",84),n(235,"Disabled"),i()()()(),e(236,"div",8)(237,"div",16)(238,"label"),n(239,"User Blocked"),i(),e(240,"select",95),y("ngModelChange",function(r){return d(l),f(t.userBlockedUsers,r)||(t.userBlockedUsers=r),c(r)}),h("change",function(){return d(l),c(t.updateOutput())}),e(241,"option",88),n(242,"Enabled"),i(),e(243,"option",89),n(244,"Disabled"),i()()()(),e(245,"div",81)(246,"div",16)(247,"select",96),y("ngModelChange",function(r){return d(l),f(t.userLimitReachedAdmins,r)||(t.userLimitReachedAdmins=r),c(r)}),h("change",function(){return d(l),c(t.updateOutput())}),e(248,"option",83),n(249,"Enabled"),i(),e(250,"option",84),n(251,"Disabled"),i()()()(),e(252,"div",81)(253,"div",16)(254,"select",97),y("ngModelChange",function(r){return d(l),f(t.userLimitReachedReadonlyadmins,r)||(t.userLimitReachedReadonlyadmins=r),c(r)}),h("change",function(){return d(l),c(t.updateOutput())}),e(255,"option",86),n(256,"Enabled"),i(),e(257,"option",84),n(258,"Disabled"),i()()()(),e(259,"div",81)(260,"div",16)(261,"label"),n(262,"User Limit Reached"),i(),e(263,"select",98),y("ngModelChange",function(r){return d(l),f(t.userLimitReachedUsers,r)||(t.userLimitReachedUsers=r),c(r)}),h("change",function(){return d(l),c(t.updateOutput())}),e(264,"option",88),n(265,"Enabled"),i(),e(266,"option",89),n(267,"Disabled"),i()()()()()(),e(268,"c-tab-pane",27)(269,"div",7)(270,"div",80)(271,"legend",43),n(272,"Agent "),e(273,"a",99),w(274,"i",66),i()()(),e(275,"div",8)(276,"div",16)(277,"label",100),n(278,"My Backup Files"),i(),e(279,"select",101),h("change",function(){return d(l),c(t.updatePreferences())}),e(280,"option",61),n(281,"Enabled"),i(),e(282,"option",62),n(283,"Disabled"),i()()(),e(284,"div",16)(285,"label",100),n(286,"Settings"),i(),e(287,"select",102),h("change",function(){return d(l),c(t.updatePreferences())}),e(288,"option",61),n(289,"Enabled"),i(),e(290,"option",62),n(291,"Disabled"),i()()(),e(292,"div",16)(293,"label",100),n(294,"Initiate Backup"),i(),e(295,"select",103),h("change",function(){return d(l),c(t.updatePreferences())}),e(296,"option",61),n(297,"Enabled"),i(),e(298,"option",62),n(299,"Disabled"),i()()(),e(300,"div",16)(301,"label",100),n(302,"Stop Backup"),i(),e(303,"select",104),h("change",function(){return d(l),c(t.updatePreferences())}),e(304,"option",61),n(305,"Enabled"),i(),e(306,"option",62),n(307,"Disabled"),i()()(),e(308,"div",16)(309,"label",100),n(310,"Support"),i(),e(311,"select",105),h("change",function(){return d(l),c(t.updatePreferences())}),e(312,"option",61),n(313,"Enabled"),i(),e(314,"option",62),n(315,"Disabled"),i()()(),e(316,"div",16)(317,"label",106),n(318,"About"),i(),e(319,"select",107),h("change",function(){return d(l),c(t.updatePreferences())}),e(320,"option",61),n(321,"Enabled"),i(),e(322,"option",62),n(323,"Disabled"),i()()(),e(324,"div",47)(325,"label",108),n(326,"Block Notifications"),i(),e(327,"select",109),h("change",function(){return d(l),c(t.updatePreferences())}),e(328,"option",57),n(329,"Enabled"),i(),e(330,"option",58),n(331,"Disabled"),i()()(),e(332,"div",16)(333,"label",110),n(334,"Systray Icon"),i(),e(335,"select",111),h("change",function(){return d(l),c(t.updatePreferences())}),e(336,"option",61),n(337,"Enabled"),i(),e(338,"option",62),n(339,"Disabled"),i()()()(),e(340,"div",8)(341,"div",16)(342,"label",100),n(343,"Restore"),i(),e(344,"select",112),h("change",function(){return d(l),c(t.updatePreferences())}),e(345,"option",61),n(346,"Enabled"),i(),e(347,"option",62),n(348,"Disabled"),i()()(),e(349,"div",16)(350,"label",100),n(351,"Refresh Policy"),i(),e(352,"select",113),h("change",function(){return d(l),c(t.updatePreferences())}),e(353,"option",61),n(354,"Enabled"),i(),e(355,"option",62),n(356,"Disabled"),i()()(),e(357,"div",16)(358,"label",114),n(359,"Pause Backup"),i(),e(360,"select",115),h("change",function(){return d(l),c(t.updatePreferences())}),e(361,"option",61),n(362,"Enabled"),i(),e(363,"option",62),n(364,"Disabled"),i()()(),e(365,"div",16)(366,"label",116),n(367,"Update Agent"),i(),e(368,"select",117),h("change",function(){return d(l),c(t.updatePreferences())}),e(369,"option",61),n(370,"Enabled"),i(),e(371,"option",62),n(372,"Disabled"),i()()(),e(373,"div",16)(374,"label",100),n(375,"Decouple"),i(),e(376,"select",118),h("change",function(){return d(l),c(t.updatePreferences())}),e(377,"option",61),n(378,"Enabled"),i(),e(379,"option",62),n(380,"Disabled"),i()()(),e(381,"div",16)(382,"label",100),n(383,"Network Settings"),i(),e(384,"select",119),h("change",function(){return d(l),c(t.updatePreferences())}),e(385,"option",61),n(386,"Enabled"),i(),e(387,"option",62),n(388,"Disabled"),i()()(),e(389,"div",120)(390,"label",121),n(391,"Disallow Admin Restores"),i(),e(392,"select",122),h("change",function(){return d(l),c(t.updatePreferences())}),e(393,"option",57),n(394,"Enabled"),i(),e(395,"option",58),n(396,"Disabled"),i()()(),e(397,"div",16)(398,"label",100),n(399,"Exit"),i(),e(400,"select",123),h("change",function(){return d(l),c(t.updatePreferences())}),e(401,"option",61),n(402,"Enabled"),i(),e(403,"option",62),n(404,"Disabled"),i()()()()(),e(405,"div",7)(406,"div",124)(407,"legend",43),n(408,"Portal "),e(409,"a",125),w(410,"i",66),i()(),e(411,"div",8)(412,"div",126)(413,"label",127),n(414,"Open"),i(),e(415,"select",128),h("change",function(){return d(l),c(t.updateMenuOptions())}),e(416,"option",61),n(417,"Enabled"),i(),e(418,"option",62),n(419,"Disabled"),i()()(),e(420,"div",129)(421,"label",130),n(422,"Versions"),i(),e(423,"select",131),h("change",function(){return d(l),c(t.updateMenuOptions())}),e(424,"option",61),n(425,"Enabled"),i(),e(426,"option",62),n(427,"Disabled"),i()()(),e(428,"div",132)(429,"label",133),n(430,"Download"),i(),e(431,"select",134),h("change",function(){return d(l),c(t.updateMenuOptions())}),e(432,"option",61),n(433,"Enabled"),i(),e(434,"option",62),n(435,"Disabled"),i()()()(),e(436,"div",8)(437,"div",135)(438,"label",136),n(439,"View"),i(),e(440,"select",137),h("change",function(){return d(l),c(t.updateMenuOptions())}),e(441,"option",61),n(442,"Enabled"),i(),e(443,"option",62),n(444,"Disabled"),i()()(),e(445,"div",138)(446,"label",139),n(447,"Share"),i(),e(448,"select",140),h("change",function(){return d(l),c(t.updateMenuOptions())}),e(449,"option",57),n(450,"Enabled"),i(),e(451,"option",58),n(452,"Disabled"),i()()(),e(453,"div",141)(454,"label",142),n(455,"Restore"),i(),e(456,"select",143),h("change",function(){return d(l),c(t.updateMenuOptions())}),e(457,"option",61),n(458,"Enabled"),i(),e(459,"option",62),n(460,"Disabled"),i()()()()()(),e(461,"div",144)(462,"div",80)(463,"legend",43),n(464,"Share Details"),i(),e(465,"div",145)(466,"div",16)(467,"div",146),w(468,"input",147),e(469,"label",148),n(470,"Enable Domain Control"),i()()(),e(471,"div",7)(472,"div",149)(473,"label",150),n(474,"Share Domain Inclusions/Exclusions"),i(),w(475,"input",151),i(),e(476,"div",152)(477,"div",153),w(478,"input",154),e(479,"label",155),n(480,"Share only with these Email domains"),i(),w(481,"br")(482,"input",156),e(483,"label",155),n(484,"Share with all Email domains excepting these"),i()()()()(),e(485,"div",157)(486,"div",158)(487,"label",159),w(488,"input",160)(489,"div",161),i()(),e(490,"span",162),n(491,"Allow sharer visibility to the shared link"),i()(),e(492,"div",145)(493,"div",16)(494,"div",146),w(495,"input",163),e(496,"label",164),n(497,"Highly Secure Sharing"),i()()(),e(498,"div",124)(499,"div",165)(500,"div",166)(501,"label",159),w(502,"input",167)(503,"div",161),i()(),e(504,"span",162),n(505,"Complex Password"),i()(),e(506,"div",165)(507,"div",168)(508,"label",159),w(509,"input",169)(510,"div",161),i()(),e(511,"span",162),n(512,"Allow Download"),i()(),e(513,"div",165)(514,"div",170)(515,"label",159),w(516,"input",171)(517,"div",161),i()(),e(518,"span",162),n(519,"Require Expiration Date for shared data"),i()(),e(520,"div",165)(521,"div",172)(522,"label",159),w(523,"input",173)(524,"div",161),i()(),e(525,"span",162),n(526,"Enable multi-factor authentication"),i()()()()()()(),e(527,"c-tab-pane",27)(528,"div",7)(529,"div",80)(530,"legend",43),n(531,"Search "),e(532,"a",174),w(533,"i",66),i()(),e(534,"div",8)(535,"div",175)(536,"label",176),n(537,"Content Index"),i(),e(538,"select",177),y("ngModelChange",function(r){return d(l),f(t.contentIndexEnabled,r)||(t.contentIndexEnabled=r),c(r)}),e(539,"option",61),n(540,"Enabled"),i(),e(541,"option",62),n(542,"Disabled"),i()()()()()(),e(543,"div",7)(544,"div",15)(545,"legend",43),n(546,"Search Filters"),i(),e(547,"div",16)(548,"label",178),n(549,"filters - "),e(550,"a",179),h("click",function(){return d(l),c(t.addNewFilter())}),n(551,"Create New Filter"),i()(),w(552,"br"),e(553,"label",67),n(554,"Filter type"),i(),e(555,"select",180),y("ngModelChange",function(r){return d(l),f(t.searchFilterType,r)||(t.searchFilterType=r),c(r)}),h("change",function(r){return d(l),c(t.onSelectChangeSearchFilterType(r))}),e(556,"option",70),n(557,"Inclusion"),i(),e(558,"option",71),n(559,"Exclusion"),i()()(),e(560,"div",72),_(561,Vt,3,0,"h5",181)(562,Bt,3,0,"h5",182),e(563,"mat-form-field",75)(564,"mat-select",183),y("ngModelChange",function(r){return d(l),f(t.checkedListSearchFilter,r)||(t.checkedListSearchFilter=r),c(r)}),h("selectionChange",function(){return d(l),c(t.onSearchFilterChange())}),_(565,At,2,2,"mat-option",77),i()()()(),e(566,"div",78),w(567,"br")(568,"br"),_(569,Nt,13,0,"div",79),i()()(),e(570,"c-tab-pane",27)(571,"div",7)(572,"div",15)(573,"legend",184),n(574,"partialFileAttributes"),i(),e(575,"div",185)(576,"label",186),n(577,"incrementalFileTransfer"),i(),e(578,"select",187)(579,"option",61),n(580,"Enabled"),i(),e(581,"option",62),n(582,"Disabled"),i()()(),w(583,"br"),e(584,"legend",43),n(585,"Throttling Attributes"),i(),e(586,"div",16)(587,"fieldset",188)(588,"label",189),n(589,"Throttle traffic at endpoint agent to"),i(),e(590,"div",190)(591,"c-form-check",30)(592,"input",191),y("ngModelChange",function(r){return d(l),f(t.isThrottleEnabled,r)||(t.isThrottleEnabled=r),c(r)}),h("change",function(){return d(l),c(t.toggleThrottle())}),i()()(),e(593,"div",7)(594,"div",8)(595,"input",192),y("ngModelChange",function(r){return d(l),f(t.nwFromClientToPGMB,r)||(t.nwFromClientToPGMB=r),c(r)}),h("blur",function(){return d(l),c(t.validateInput())}),i(),e(596,"span",193),n(597),i(),e(598,"span",194),n(599),i()(),e(600,"div",8)(601,"select",195),y("ngModelChange",function(r){return d(l),f(t.networkThrottlingUnit,r)||(t.networkThrottlingUnit=r),c(r)}),h("change",function(){return d(l),c(t.onUnitChange())}),e(602,"option",196),n(603,"Kbps"),i(),e(604,"option",197),n(605,"Mbps"),i(),e(606,"option",198),n(607,"Gbps"),i()()()()()(),e(608,"div",199)(609,"label",200),n(610,"CPU Throttling"),i(),w(611,"br"),e(612,"div",201)(613,"input",202),y("ngModelChange",function(r){return d(l),f(t.cpuThrottling,r)||(t.cpuThrottling=r),c(r)}),h("input",function(r){return d(l),c(t.onSliderChange(r))}),i(),e(614,"p"),n(615,"Value: "),e(616,"span",203),n(617),i()()()(),e(618,"div",47)(619,"label",204),n(620,"nwFromPGToCloud (In MBPS)"),i(),w(621,"input",205),i(),e(622,"div",47)(623,"label",206),n(624,"filesCrawlLimit"),i(),w(625,"input",207),i(),e(626,"div",47)(627,"label",208),n(628,"networkThrottling"),i(),e(629,"select",209)(630,"option",61),n(631,"Enabled"),i(),e(632,"option",62),n(633,"Disabled"),i()()()(),e(634,"div",210),w(635,"br")(636,"br"),e(637,"div",211)(638,"div",80)(639,"div",212)(640,"div",213)(641,"div",16)(642,"label",214),n(643,"partialFileSize (In MB)"),i(),w(644,"input",215),i(),e(645,"div",16)(646,"label",216),n(647,"fileChunkableSize (In MB)"),i(),w(648,"input",217),i()()()()()()(),e(649,"div",7)(650,"div",15)(651,"legend",43),n(652,"Options"),i(),e(653,"div",124)(654,"div",218)(655,"c-form-check",30)(656,"input",219),y("ngModelChange",function(r){return d(l),f(t.legalHold,r)||(t.legalHold=r),c(r)}),i()()(),e(657,"span",220),n(658,"Legal Hold"),i()(),e(659,"div",16)(660,"div",146)(661,"span",221),w(662,"input",222),e(663,"label",223),n(664,"System Folders"),i()()()(),_(665,Ot,6,4,"div",224),e(666,"div",199)(667,"label",225),n(668,"Block assets which have not been heard from in"),i(),e(669,"div",7)(670,"div",29)(671,"c-form-check",30)(672,"input",226),y("ngModelChange",function(r){return d(l),f(t.switchnoOfDaysToKeepDeviceNotHeard,r)||(t.switchnoOfDaysToKeepDeviceNotHeard=r),c(r)}),h("change",function(){return d(l),c(t.toggleDeviceNotHeard())}),i()()(),e(673,"div",227)(674,"input",228),y("ngModelChange",function(r){return d(l),f(t.noOfDaysToKeepDeviceNotHeard,r)||(t.noOfDaysToKeepDeviceNotHeard=r),c(r)}),h("blur",function(){return d(l),c(t.myFunctionnoOfDaysToKeepDeviceNotHeard())}),i(),e(675,"span",229),n(676),i()(),e(677,"div",230)(678,"label"),n(679,"days"),i()()()(),e(680,"div",199)(681,"label",231),n(682,"Delete users/assets which have not been active for"),i(),e(683,"div",7)(684,"div",29)(685,"c-form-check",30)(686,"input",232),y("ngModelChange",function(r){return d(l),f(t.switchnoOfDaysToKeepUserDeviceNotActive,r)||(t.switchnoOfDaysToKeepUserDeviceNotActive=r),c(r)}),h("change",function(){return d(l),c(t.toggleDeviceNotActive())}),i()()(),e(687,"div",227)(688,"input",233),y("ngModelChange",function(r){return d(l),f(t.noOfDaysToKeepUserDeviceNotActive,r)||(t.noOfDaysToKeepUserDeviceNotActive=r),c(r)}),h("blur",function(){return d(l),c(t.myFunctionnoOfDaysToKeepUserDeviceNotActive())}),i(),e(689,"span",234),n(690),i()(),e(691,"div",230)(692,"label"),n(693,"days"),i()()()(),e(694,"div",47)(695,"label",235),n(696,"Number of threads allowed for Backup"),i(),e(697,"input",236),y("ngModelChange",function(r){return d(l),f(t.numberOfThreadsAllowedForBackup,r)||(t.numberOfThreadsAllowedForBackup=r),c(r)}),i()(),e(698,"div",16)(699,"label",237),n(700,"Web Based Login"),i(),e(701,"select",238),y("ngModelChange",function(r){return d(l),f(t.webBasedLogin,r)||(t.webBasedLogin=r),c(r)}),e(702,"option",61),n(703,"Enabled"),i(),e(704,"option",62),n(705,"Disabled"),i()()(),e(706,"div",239)(707,"label",240),n(708,"Can Administrator Restore User Data"),i(),e(709,"select",241),y("ngModelChange",function(r){return d(l),f(t.canAdminRestoreAll,r)||(t.canAdminRestoreAll=r),c(r)}),h("ngModelChange",function(){return d(l),c(t.flipAllowEndUserTocontrolRestore())}),e(710,"option",242),n(711,"Yes"),i(),e(712,"option",242),n(713,"No"),i()()(),e(714,"div",243)(715,"label",244),n(716,"Allow end-user over-ride"),i(),e(717,"select",245),y("ngModelChange",function(r){return d(l),f(t.allowEndUserTocontrolRestore,r)||(t.allowEndUserTocontrolRestore=r),c(r)}),e(718,"option",242),n(719,"Yes"),i(),e(720,"option",242),n(721,"No"),i()()(),e(722,"div",239)(723,"label",246),n(724,"Can Administrator Delete User Data"),i(),e(725,"select",247),y("ngModelChange",function(r){return d(l),f(t.isAdminDeleteBackupFile,r)||(t.isAdminDeleteBackupFile=r),c(r)}),e(726,"option",242),n(727,"Yes"),i(),e(728,"option",242),n(729,"No"),i()()(),_(730,Ut,8,1,"div",248)(731,It,10,1,"div",248),e(732,"div",47)(733,"label",249),n(734,"Compression Enabled"),i(),e(735,"select",250),y("ngModelChange",function(r){return d(l),f(t.compEnabled,r)||(t.compEnabled=r),c(r)}),e(736,"option",61),n(737,"Enabled"),i(),e(738,"option",62),n(739,"Disabled"),i()()(),e(740,"div",251)(741,"label",252),n(742,"VSS"),i(),e(743,"select",253),y("ngModelChange",function(r){return d(l),f(t.vssEnabled,r)||(t.vssEnabled=r),c(r)}),e(744,"option",61),n(745,"Enabled"),i(),e(746,"option",62),n(747,"Disabled"),i()()(),e(748,"div",254)(749,"label",255),n(750,"Blukrypt Search Algorithm"),i(),e(751,"select",256),y("ngModelChange",function(r){return d(l),f(t.searchAlgorithm,r)||(t.searchAlgorithm=r),c(r)}),h("change",function(){return d(l),c(t.onSearchAlgorithmChange())}),e(752,"option",257),n(753,"Nearest"),i(),e(754,"option",258),n(755,"Priority"),i()()(),_(756,Rt,7,4,"div",259),e(757,"div",16)(758,"label",260),n(759,"Policy Refresh Frequency (In Hours)"),i(),e(760,"input",261),y("ngModelChange",function(r){return d(l),f(t.policyRefresh,r)||(t.policyRefresh=r),c(r)}),i()(),e(761,"div",47)(762,"label",262),n(763,"Capture Unaccessed Items"),i(),e(764,"div",32)(765,"label",159)(766,"input",263),y("ngModelChange",function(r){return d(l),f(t.switchlogUnaccessedFiles,r)||(t.switchlogUnaccessedFiles=r),c(r)}),i(),w(767,"div",161),i()()(),e(768,"div",16)(769,"fieldset",188)(770,"label",264),n(771,"Endpoint Domain Check"),i(),e(772,"div",32)(773,"c-form-check",30)(774,"input",265),y("ngModelChange",function(r){return d(l),f(t.switchAllowedDomains,r)||(t.switchAllowedDomains=r),c(r)}),i()()(),e(775,"div",80)(776,"label",266),n(777,"Allowed Domains"),i(),e(778,"input",267),y("ngModelChange",function(r){return d(l),f(t.allowedDomains,r)||(t.allowedDomains=r),c(r)}),i()()()(),e(779,"div",16)(780,"label",268),n(781,"Auto Update Agent"),i(),e(782,"select",269),y("ngModelChange",function(r){return d(l),f(t.autoUpdateAgent,r)||(t.autoUpdateAgent=r),c(r)}),e(783,"option",57),n(784,"Enabled"),i(),e(785,"option",58),n(786,"Disabled"),i()()(),e(787,"div",16)(788,"div",72)(789,"label",270),n(790,"Agent uninstallation password"),i(),e(791,"div",29)(792,"c-form-check",30)(793,"input",271),y("ngModelChange",function(r){return d(l),f(t.isPasswordEnabled,r)||(t.isPasswordEnabled=r),c(r)}),h("ngModelChange",function(){return d(l),c(t.togglePasswordFields())}),i()()(),e(794,"div",272)(795,"input",273),y("ngModelChange",function(r){return d(l),f(t.agentPassword,r)||(t.agentPassword=r),c(r)}),i(),e(796,"span",274),h("mousedown",function(){return d(l),c(t.showPassword("agentPassword"))})("mouseup",function(){return d(l),c(t.hidePassword("agentPassword"))})("mouseleave",function(){return d(l),c(t.hidePassword("agentPassword"))}),i(),_(797,zt,3,0,"div",10),e(798,"input",275),y("ngModelChange",function(r){return d(l),f(t.agentRePassword,r)||(t.agentRePassword=r),c(r)}),h("ngModelChange",function(){return d(l),c(t.checkPasswordsMatch())}),i(),_(799,Kt,3,0,"div",10),i()()(),e(800,"div",16)(801,"label",276),n(802,"Backup Hidden Files"),i(),e(803,"select",277),y("ngModelChange",function(r){return d(l),f(t.canBackupHiddenFiles,r)||(t.canBackupHiddenFiles=r),c(r)}),e(804,"option",61),n(805,"Enabled"),i(),e(806,"option",62),n(807,"Disabled"),i()()(),e(808,"div",278)(809,"span",279)(810,"p"),n(811,"Fairness Algorithm"),i()(),e(812,"div",280)(813,"label",159),w(814,"input",281)(815,"div",161),i()(),e(816,"div",32),w(817,"input",282)(818,"span",38),i()(),e(819,"div",16)(820,"label",283),n(821,"Enable Download Agent"),i(),e(822,"a",284),w(823,"i",66),i(),e(824,"select",285),y("ngModelChange",function(r){return d(l),f(t.downloadAgent,r)||(t.downloadAgent=r),c(r)}),e(825,"option",61),n(826,"Enabled"),i(),e(827,"option",62),n(828,"Disabled"),i()()(),e(829,"div",16)(830,"span",7)(831,"p"),n(832,"Purge deleted files from the catalog after"),i()(),e(833,"div",286)(834,"div",287)(835,"c-form-check",30)(836,"input",288),y("ngModelChange",function(r){return d(l),f(t.switchnoOfDaysToKeepDeletedFiles,r)||(t.switchnoOfDaysToKeepDeletedFiles=r),c(r)}),h("change",function(){return d(l),c(t.toggleDeletedFiles())}),i()()(),e(837,"div",8)(838,"input",289),y("ngModelChange",function(r){return d(l),f(t.noOfDaysToKeepDeletedFiles,r)||(t.noOfDaysToKeepDeletedFiles=r),c(r)}),h("blur",function(){return d(l),c(t.myFunctionnoOfDaysToKeepDeletedFiles())}),i(),e(839,"span",290),n(840),i()(),e(841,"div",29),n(842," days "),i()(),e(843,"div",16)(844,"span",7)(845,"p"),n(846,"User Consent Display Text"),i()(),e(847,"div",286)(848,"div",287)(849,"c-form-check",30)(850,"input",291),y("ngModelChange",function(r){return d(l),f(t.switchuserConsentEnabled,r)||(t.switchuserConsentEnabled=r),c(r)}),i()()(),e(851,"div",272)(852,"textarea",292),y("ngModelChange",function(r){return d(l),f(t.userConsentDisplayText,r)||(t.userConsentDisplayText=r),c(r)}),i()()()()(),e(853,"div",7)(854,"div",227)(855,"label",293),n(856,"Enable Pre Scan Command"),i(),w(857,"br"),e(858,"c-form-check",30)(859,"input",294),y("ngModelChange",function(r){return d(l),f(t.preScanCommandEnabled,r)||(t.preScanCommandEnabled=r),c(r)}),h("change",function(){return d(l),c(t.togglePreScan())}),i()()(),e(860,"div",295)(861,"label",296),n(862,"Pre Scan Command Path"),i(),e(863,"input",297),y("ngModelChange",function(r){return d(l),f(t.preScanCommand,r)||(t.preScanCommand=r),c(r)}),i()(),e(864,"div",298)(865,"div",16)(866,"label",299),n(867,"Continue backup on command-failure"),i(),e(868,"input",300),y("ngModelChange",function(r){return d(l),f(t.continueOnPreScan,r)||(t.continueOnPreScan=r),c(r)}),i()()()(),e(869,"div",7)(870,"div",227)(871,"label",301),n(872,"Enable Pre Backup Command"),i(),w(873,"br"),e(874,"c-form-check",30)(875,"input",302),y("ngModelChange",function(r){return d(l),f(t.preBackupCommandEnabled,r)||(t.preBackupCommandEnabled=r),c(r)}),h("change",function(){return d(l),c(t.togglePreBackup())}),i()()(),e(876,"div",295)(877,"label",303),n(878,"Pre Backup Command Path"),i(),e(879,"input",304),y("ngModelChange",function(r){return d(l),f(t.preBackupCommand,r)||(t.preBackupCommand=r),c(r)}),i()(),e(880,"div",298)(881,"div",16)(882,"label",305),n(883,"Continue backup on command-failure"),i(),e(884,"input",306),y("ngModelChange",function(r){return d(l),f(t.continueOnPreBkp,r)||(t.continueOnPreBkp=r),c(r)}),i()()()(),e(885,"div",7)(886,"div",227)(887,"label",307),n(888,"Enable Post Backup Command"),i(),w(889,"br"),e(890,"c-form-check",30)(891,"input",308),y("ngModelChange",function(r){return d(l),f(t.postBackupCommandEnabled,r)||(t.postBackupCommandEnabled=r),c(r)}),h("change",function(){return d(l),c(t.togglePostBackup())}),i()()(),e(892,"div",295)(893,"label",309),n(894,"Post Backup Command Path"),i(),e(895,"input",310),y("ngModelChange",function(r){return d(l),f(t.postBackupCommand,r)||(t.postBackupCommand=r),c(r)}),i()(),e(896,"div",298)(897,"div",16)(898,"label",311),n(899,"Continue backup on command-failure"),i(),e(900,"input",312),y("ngModelChange",function(r){return d(l),f(t.continueOnPostBkp,r)||(t.continueOnPostBkp=r),c(r)}),i()()()(),e(901,"div",47)(902,"label",313),n(903,"Full Backup Enabled"),i(),e(904,"select",314)(905,"option",57),n(906,"Enabled"),i(),e(907,"option",58),n(908,"Disabled"),i()()(),e(909,"div",315)(910,"label",316),n(911,"Full Backup Start Date"),i(),w(912,"input",317),i()()(),e(913,"div",7)(914,"div",15)(915,"legend",43),n(916,"Password Enforcement "),e(917,"a",318),w(918,"i",66),i()(),e(919,"div",239)(920,"label",319),n(921,"Can User Change Password"),i(),e(922,"select",320),y("ngModelChange",function(r){return d(l),f(t.canUserChangePassword,r)||(t.canUserChangePassword=r),c(r)}),e(923,"option",61),n(924,"Enabled"),i(),e(925,"option",62),n(926,"Disabled"),i()()(),e(927,"div",239)(928,"label",321),n(929,"Can Admin Change User Password"),i(),e(930,"select",322),y("ngModelChange",function(r){return d(l),f(t.canAdminChangeUserPassword,r)||(t.canAdminChangeUserPassword=r),c(r)}),e(931,"option",57),n(932,"Enabled"),i(),e(933,"option",58),n(934,"Disabled"),i()()()()(),e(935,"div",7)(936,"div",80)(937,"div",323)(938,"p"),n(939," Grayed out options are currently controlled in Cloud Properties. Please speak to you Administrator or visit the Cloud Properties page to change their behavior. "),w(940,"br"),n(941,"Both password enforcement options cannot be disabled at same time. "),i()()()()()(),e(942,"div",7)(943,"div",8)(944,"button",324),n(945,"Submit"),i(),e(946,"a",325),h("click",function(){return d(l),c(t.sendMeTo("/pms/policy"))}),n(947,"Cancel"),i()()()()()()()(),e(948,"div",326)(949,"div",327)(950,"div",328)(951,"div",329)(952,"div",330)(953,"h4",331),n(954,"Configure SQL Server"),i(),e(955,"button",332)(956,"span",333),n(957,"\xD7"),i()()(),e(958,"div",334)(959,"div",199)(960,"label",335),n(961,"SQL Server User Name"),i(),w(962,"input",336),i(),e(963,"div",199)(964,"label",337),n(965,"SQL Server Password"),i(),w(966,"input",338)(967,"span",339),i(),e(968,"div",199)(969,"label",340),n(970,"Re-Type SQL Server Password"),i(),w(971,"input",341),i()(),e(972,"div",342)(973,"button",343),n(974,"Close"),i(),e(975,"button",344),n(976,"Save"),i()()()()(),e(977,"div",345)(978,"div",328)(979,"form",346)(980,"div",329)(981,"div",330)(982,"h4",331),n(983,"Confirm Add"),i(),e(984,"button",332)(985,"span",333),n(986,"\xD7"),i()()(),e(987,"div",334)(988,"p"),n(989,"Are you sure, you want to add the folder path"),i()(),e(990,"div",342)(991,"button",343),n(992,"Close"),i(),e(993,"button",347),n(994,"Save"),i()()()()()(),e(995,"div",348)(996,"div",328)(997,"form",349)(998,"div",329)(999,"div",330)(1e3,"h4",331),n(1001,"Confirm Add"),i(),e(1002,"button",332)(1003,"span",333),n(1004,"\xD7"),i()()(),e(1005,"div",334)(1006,"p"),n(1007,"Are you sure, you want to add the folder path"),i()(),e(1008,"div",342)(1009,"button",343),n(1010,"Close"),i(),e(1011,"button",347),n(1012,"Save"),i()()()()()(),e(1013,"div",345)(1014,"div",328)(1015,"form",346)(1016,"div",329)(1017,"div",330)(1018,"h4",331),n(1019,"Confirm Add"),i(),e(1020,"button",332)(1021,"span",333),n(1022,"\xD7"),i()()(),e(1023,"div",334)(1024,"p"),n(1025,"Are you sure, you want to add the folder path"),i()(),e(1026,"div",342)(1027,"button",343),n(1028,"Close"),i(),e(1029,"button",347),n(1030,"Save"),i()()()()()(),e(1031,"div",348)(1032,"div",328)(1033,"form",349)(1034,"div",329)(1035,"div",330)(1036,"h4",331),n(1037,"Confirm Add"),i(),e(1038,"button",332)(1039,"span",333),n(1040,"\xD7"),i()()(),e(1041,"div",334)(1042,"p"),n(1043,"Are you sure, you want to add the folder path"),i()(),e(1044,"div",342)(1045,"button",343),n(1046,"Close"),i(),e(1047,"button",347),n(1048,"Save"),i()()()()()(),e(1049,"div",350)(1050,"div",328)(1051,"form",351)(1052,"div",329)(1053,"div",330)(1054,"h4",331),n(1055,"Confirm Add"),i(),e(1056,"button",332)(1057,"span",333),n(1058,"\xD7"),i()()(),e(1059,"div",334)(1060,"p"),n(1061,"Are you sure, you want to add the folder path"),i()(),e(1062,"div",342)(1063,"button",343),n(1064,"Close"),i(),e(1065,"button",347),n(1066,"Save"),i()()()()()(),e(1067,"div",352)(1068,"div",353)(1069,"div",354)(1070,"div",330)(1071,"h4",355),n(1072,"Confirmation"),i()(),e(1073,"div",334)(1074,"h4"),n(1075,"If edited in one place across all the policy it will take effect. Are you sure you want to proceed?"),i()(),e(1076,"div",342)(1077,"button",356),h("click",function(){return d(l),c(t.closeConfFilterPopup())}),n(1078,"Cancel"),i(),e(1079,"button",357),h("click",function(){return d(l),c(t.getFilter())}),n(1080,"Ok"),i()()()()(),e(1081,"div",358)(1082,"div",353)(1083,"div",354)(1084,"div",359)(1085,"h4",355),n(1086,"Create Filter"),i(),e(1087,"a",360),h("click",function(){return d(l),c(t.closeCreateFilterModal())}),w(1088,"i",361),i()(),e(1089,"div",334)(1090,"div",16)(1091,"label",362),n(1092,"Filter Name"),i(),e(1093,"input",363),y("ngModelChange",function(r){return d(l),f(t.filterModel.filterName,r)||(t.filterModel.filterName=r),c(r)}),h("input",function(){return d(l),c(t.validateFilterName())}),i(),_(1094,qt,2,1,"small",22),i(),e(1095,"div",47)(1096,"label",364),n(1097,"Filter Type"),i(),e(1098,"select",365),y("ngModelChange",function(r){return d(l),f(t.filterModel.filterType,r)||(t.filterModel.filterType=r),c(r)}),e(1099,"option",70),n(1100,"Inclusion Filter"),i(),e(1101,"option",71),n(1102,"Exclusion Filter"),i()()(),e(1103,"div",16)(1104,"label",366),n(1105,"Select Filter Template"),i(),e(1106,"mat-form-field",75)(1107,"mat-select",367,3),y("ngModelChange",function(r){return d(l),f(t.checkedList,r)||(t.checkedList=r),c(r)}),h("selectionChange",function(){return d(l),c(t.onFilterCreateChange())}),_(1109,Ht,2,2,"mat-option",77),i()()(),e(1110,"div",16)(1111,"label",67),n(1112,"Filters"),i(),e(1113,"a",368),w(1114,"i",66),i(),e(1115,"div",369)(1116,"span",370),_(1117,Gt,4,1,"span",371),i(),e(1118,"input",372),y("ngModelChange",function(r){return d(l),f(t.newFilterExtensionCreate,r)||(t.newFilterExtensionCreate=r),c(r)}),h("blur",function(){return d(l),c(t.handleBlur())})("keyup.enter",function(){return d(l),c(t.handleKeyUp())}),i()(),w(1119,"br"),i()(),e(1120,"div",342)(1121,"button",356),h("click",function(){return d(l),c(t.closeCreateFilterModal())}),n(1122,"Close"),i(),e(1123,"button",373),h("click",function(){return d(l),c(t.submitCreateFilter())}),n(1124,"Save changes"),i()()()()(),e(1125,"div",374)(1126,"div",353)(1127,"div",354)(1128,"div",359)(1129,"h4",355),n(1130,"Edit Filter"),i(),e(1131,"a",360),h("click",function(){return d(l),c(t.closeEditFilterModal())}),w(1132,"i",361),i()(),e(1133,"div",334)(1134,"div",16)(1135,"label",362),n(1136,"Filter Name"),i(),e(1137,"input",375),y("ngModelChange",function(r){return d(l),f(t.filterEditModel.filterName,r)||(t.filterEditModel.filterName=r),c(r)}),i()(),e(1138,"div",47)(1139,"label",364),n(1140,"Filter Type"),i(),e(1141,"select",365),y("ngModelChange",function(r){return d(l),f(t.filterEditModel.filterType,r)||(t.filterEditModel.filterType=r),c(r)}),e(1142,"option",70),n(1143,"Inclusion Filter"),i(),e(1144,"option",71),n(1145,"Exclusion Filter"),i()()(),e(1146,"div",16)(1147,"label",366),n(1148,"Select Filter Template"),i(),e(1149,"mat-form-field",75)(1150,"mat-select",367,4),y("ngModelChange",function(r){return d(l),f(t.checkedList,r)||(t.checkedList=r),c(r)}),h("selectionChange",function(){return d(l),c(t.onFilterChangeEdit())}),_(1152,jt,2,2,"mat-option",77),i()()(),e(1153,"div",16)(1154,"label",67),n(1155,"Filters"),i(),e(1156,"a",376),w(1157,"i",66),i(),w(1158,"br"),e(1159,"div",377),_(1160,Jt,4,1,"span",378),e(1161,"input",379),y("ngModelChange",function(r){return d(l),f(t.newFilterExtensionEdit,r)||(t.newFilterExtensionEdit=r),c(r)}),h("blur",function(){return d(l),c(t.handleBlurEdit())})("keyup.enter",function(){return d(l),c(t.handleKeyUpEdit())}),i()()()(),e(1162,"div",342)(1163,"button",356),h("click",function(){return d(l),c(t.closeEditFilterModal())}),n(1164,"Close"),i(),e(1165,"button",373),h("click",function(){return d(l),c(t.submitEditFilter())}),n(1166,"Save changes"),i()()()()()()}if(u&2){let l=N(9),s=N(24),r=N(61);a(4),m("ngIf",t.parent!=""),a(),m("ngIf",t.child!=""),a(),m("ngIf",t.subchild!=""),a(17),g("ngModel",t.policygroupName),a(3),m("ngIf",s.invalid&&(s.dirty||s.touched||l.submitted)),a(8),g("ngModel",t.description),a(2),m("ngIf",t.description.length>0&&t.description.length<5),a(2),m("ngIf",t.description.length>0&&t.description.length>512),a(8),m("cTabContent",r)("tabPaneIdx",0),a(3),m("cTabContent",r)("tabPaneIdx",1),a(3),m("cTabContent",r)("tabPaneIdx",2),a(3),m("cTabContent",r)("tabPaneIdx",3),a(3),m("cTabContent",r)("tabPaneIdx",4),a(2),m("activeTabPaneIdx",0),a(10),m("switch",!0),a(),m("ngModelOptions",S(206,v)),g("ngModel",t.isVersionEnabled),a(2),g("ngModel",t.versions),m("disabled",!t.isVersionEnabled),a(2),b(t.verError),a(6),m("switch",!0),a(),g("ngModel",t.isSizeEnabled),m("ngModelOptions",S(207,v)),a(2),g("ngModel",t.maxPermissibleFileSize),m("disabled",!t.isSizeEnabled),a(2),b(t.sizeError),a(6),m("switch",!0),a(),g("ngModel",t.isLimitEnabled),m("ngModelOptions",S(208,v)),a(2),g("ngModel",t.perUserBackupStorageLimit),m("disabled",!t.isLimitEnabled),a(2),b(t.limitError),a(8),g("ngModel",t.noOfDevicesAllowed),a(2),b(t.deviceAllowedError),a(4),g("ngModel",t.osType),a(6),g("ngModel",t.memoryUtilization),a(4),g("ngModel",t.cpuUtilization),a(4),g("ngModel",t.dcmEnabled),a(8),g("ngModel",t.clientDedup),a(23),g("ngModel",t.filterType),a(6),m("ngIf",t.inclusionFilter),a(),m("ngIf",t.exclusionFilter),a(2),g("ngModel",t.checkedListFilter),m("ngModelOptions",S(209,v)),a(),m("ngForOf",t.filters),a(4),m("ngIf",t.defaultFilters.length>=1),a(8),g("ngModel",t.createUserAdmins),a(7),g("ngModel",t.createUserReadonlyadmins),a(9),g("ngModel",t.createUserUsers),a(7),g("ngModel",t.userDeletedAdmins),a(7),g("ngModel",t.userDeletedReadonlyadmins),a(9),g("ngModel",t.userDeletedUsers),a(7),g("ngModel",t.userBlockedAdmins),a(7),g("ngModel",t.userBlockedReadonlyadmins),a(9),g("ngModel",t.userBlockedUsers),a(7),g("ngModel",t.userLimitReachedAdmins),a(7),g("ngModel",t.userLimitReachedReadonlyadmins),a(9),g("ngModel",t.userLimitReachedUsers),a(275),g("ngModel",t.contentIndexEnabled),a(17),g("ngModel",t.searchFilterType),a(6),m("ngIf",t.inclusionSearchFilter),a(),m("ngIf",t.exclusionSearchFilter),a(2),g("ngModel",t.checkedListSearchFilter),m("ngModelOptions",S(210,v)),a(),m("ngForOf",t.searchfilters),a(4),m("ngIf",t.defaultSearchFilters.length>=1),a(22),m("switch",!0),a(),g("ngModel",t.isThrottleEnabled),m("ngModelOptions",S(211,v)),a(3),g("ngModel",t.nwFromClientToPGMB),m("disabled",!t.isThrottleEnabled),a(2),b(t.switchError),a(2),b(t.switchWarning),a(2),g("ngModel",t.networkThrottlingUnit),m("disabled",!t.isThrottleEnabled),a(12),g("ngModel",t.cpuThrottling),a(4),b(t.cpuThrottling),a(38),m("switch",!0),a(),g("ngModel",t.legalHold),m("ngModelOptions",S(212,v)),a(9),m("ngIf",t.rwdetectionenabledLicense=="true"),a(6),m("switch",!0),a(),g("ngModel",t.switchnoOfDaysToKeepDeviceNotHeard),m("ngModelOptions",S(213,v)),a(2),g("ngModel",t.noOfDaysToKeepDeviceNotHeard),m("disabled",!t.switchnoOfDaysToKeepDeviceNotHeard),a(2),b(t.deviceNotHeardError),a(9),m("switch",!0),a(),g("ngModel",t.switchnoOfDaysToKeepUserDeviceNotActive),m("ngModelOptions",S(214,v)),a(2),g("ngModel",t.noOfDaysToKeepUserDeviceNotActive),m("disabled",!t.switchnoOfDaysToKeepUserDeviceNotActive),a(2),b(t.deviceNotActiveError),a(7),g("ngModel",t.numberOfThreadsAllowedForBackup),a(4),g("ngModel",t.webBasedLogin),a(5),m("ngStyle",A(215,R,t.overridePolicySettings?"none":"auto",t.overridePolicySettings?"0.4":"1")),a(3),g("ngModel",t.canAdminRestoreAll),m("ngClass",D(218,z,t.overridePolicySettings)),a(),m("ngValue",!0),a(2),m("ngValue",!1),a(2),m("ngStyle",A(220,R,t.overridePolicySettings||!t.canAdminRestoreAll?"none":"auto",t.overridePolicySettings||!t.canAdminRestoreAll?"0.5":"1")),a(3),g("ngModel",t.allowEndUserTocontrolRestore),m("ngClass",D(223,z,t.overridePolicySettings)),a(),m("ngValue",!0),a(2),m("ngValue",!1),a(2),m("ngStyle",A(225,R,t.overridePolicySettings||!t.canAdminRestoreAll?"none":"auto",t.overridePolicySettings||!t.canAdminRestoreAll?"0.5":"1")),a(3),g("ngModel",t.isAdminDeleteBackupFile),m("ngClass",D(228,z,t.overridePolicySettings)),a(),m("ngValue",!0),a(2),m("ngValue",!1),a(2),m("ngIf",t.storage_type=="GOOGLE_DRIVE"||t.storage_type=="ONE_DRIVE"),a(),m("ngIf",t.storage_type=="ANY"||t.storage_type=="AZURE"),a(4),g("ngModel",t.compEnabled),a(8),g("ngModel",t.vssEnabled),a(5),H("display",t.userType=="superAdmin"?"block":"none"),a(3),g("ngModel",t.searchAlgorithm),a(5),m("ngIf",t.searchAlgorithm==="PRIORITY"),a(4),g("ngModel",t.policyRefresh),a(6),g("ngModel",t.switchlogUnaccessedFiles),a(7),m("switch",!0),a(),g("ngModel",t.switchAllowedDomains),m("ngModelOptions",S(230,v)),a(4),g("ngModel",t.allowedDomains),m("disabled",!t.switchAllowedDomains),a(4),g("ngModel",t.autoUpdateAgent),a(10),m("switch",!0),a(),g("ngModel",t.isPasswordEnabled),a(2),g("ngModel",t.agentPassword),m("required",t.isPasswordEnabled)("disabled",!t.isPasswordEnabled),a(),m("ngClass",A(231,ft,t.isPasswordVisible,!t.isPasswordVisible)),a(),m("ngIf",t.isPasswordEnabled&&t.agentPassword.length<5),a(),g("ngModel",t.agentRePassword),m("required",t.isPasswordEnabled)("disabled",!t.isPasswordEnabled),a(),m("ngIf",t.isPasswordEnabled&&t.passwordsDoNotMatch),a(4),g("ngModel",t.canBackupHiddenFiles),a(21),g("ngModel",t.downloadAgent),a(11),m("switch",!0),a(),g("ngModel",t.switchnoOfDaysToKeepDeletedFiles),m("ngModelOptions",S(234,v)),a(2),g("ngModel",t.noOfDaysToKeepDeletedFiles),m("disabled",!t.switchnoOfDaysToKeepDeletedFiles),a(2),b(t.deletedFilesError),a(3),H("display",t.showUserConsentFieldInPolicies?"block":"none"),a(6),m("switch",!0),a(),g("ngModel",t.switchuserConsentEnabled),m("ngModelOptions",S(235,v)),a(2),g("ngModel",t.userConsentDisplayText),m("disabled",!t.switchuserConsentEnabled),a(6),m("switch",!0),a(),g("ngModel",t.preScanCommandEnabled),m("ngModelOptions",S(236,v)),a(4),g("ngModel",t.preScanCommand),m("disabled",!t.preScanCommandEnabled),a(5),g("ngModel",t.continueOnPreScan),m("disabled",!t.preScanCommandEnabled),a(6),m("switch",!0),a(),g("ngModel",t.preBackupCommandEnabled),m("ngModelOptions",S(237,v)),a(4),g("ngModel",t.preBackupCommand),m("disabled",!t.preBackupCommandEnabled),a(5),g("ngModel",t.continueOnPreBkp),m("disabled",!t.preBackupCommandEnabled),a(6),m("switch",!0),a(),g("ngModel",t.postBackupCommandEnabled),m("ngModelOptions",S(238,v)),a(4),g("ngModel",t.postBackupCommand),m("disabled",!t.postBackupCommandEnabled),a(5),g("ngModel",t.continueOnPostBkp),m("disabled",!t.postBackupCommandEnabled),a(19),m("ngStyle",A(239,R,t.passwordChangeEnforce?"none":"auto",t.passwordChangeEnforce?"0.4":"1")),a(3),g("ngModel",t.canUserChangePassword),m("ngClass",D(242,z,t.passwordChangeEnforce)),a(5),m("ngStyle",A(244,R,t.passwordChangeEnforce?"none":"auto",t.passwordChangeEnforce?"0.4":"1")),a(3),g("ngModel",t.canAdminChangeUserPassword),m("ngClass",D(247,z,t.passwordChangeEnforce)),a(137),m("ngStyle",D(249,te,t.displayFilterConfStyle)),a(14),m("ngStyle",D(251,te,t.displayFilterCreateStyle)),a(12),m("ngClass",D(253,yt,t.invalidFilterName)),g("ngModel",t.filterModel.filterName),a(),m("ngIf",t.invalidFilterName),a(4),g("ngModel",t.filterModel.filterType),a(9),g("ngModel",t.checkedList),m("ngModelOptions",S(255,v)),a(2),m("ngForOf",t.cannedFiltersTemplateCreate),a(7),H("display",t.extensionsVisible?"block":"none"),a(),m("ngForOf",t.cannedFiltersCreate),a(),g("ngModel",t.newFilterExtensionCreate),a(7),m("ngStyle",D(256,te,t.displayFilterEditStyle)),a(12),V("value",t.filterElement.filterName),g("ngModel",t.filterEditModel.filterName),a(4),g("ngModel",t.filterEditModel.filterType),a(9),g("ngModel",t.checkedList),m("ngModelOptions",S(258,v)),a(2),m("ngForOf",t.cannedFiltersTemplateEdit),a(8),m("ngForOf",t.cannedFilters),a(),g("ngModel",t.newFilterExtensionEdit)}},dependencies:[Ce,_e,Te,Fe,we,tt,ze,Ge,je,Oe,Ke,qe,Ne,He,Ue,Ie,Qe,Xe,Ze,$e,Ye,Je,pe,Ee,nt,ge,Be,Ae,Ve,xe,De,Pe,ue,de,ce,me,Le,et,Re,We,Se,ke,ve,Me,be,pt,ct,mt,it,at,st],styles:['@charset "UTF-8";.switch[_ngcontent-%COMP%]{position:relative;display:inline-block;width:50px;height:22px}.switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:none}.slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;inset:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.slider[_ngcontent-%COMP%]:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#062d4d}input[_ngcontent-%COMP%]:focus + .slider[_ngcontent-%COMP%]{box-shadow:0 0 1px #062d4d}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translate(26px)}.slider.round[_ngcontent-%COMP%]{border-radius:34px}.slider.round[_ngcontent-%COMP%]:before{border-radius:50%}.slidecontainer[_ngcontent-%COMP%]{width:100%}.slidercpu[_ngcontent-%COMP%]{width:100%;height:15px;border-radius:5px;background:#d3d3d3;outline:none;opacity:.7;-webkit-transition:.2s;transition:opacity .2s}.slidercpu[_ngcontent-%COMP%]:hover{opacity:1}.slidercpu[_ngcontent-%COMP%]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:25px;height:25px;border-radius:50%;background:#2196f3;cursor:pointer}.slidercpu[_ngcontent-%COMP%]::-moz-range-thumb{width:25px;height:25px;border-radius:50%;background:#2196f3;cursor:pointer}.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.6}h5[_ngcontent-%COMP%]{color:#000}breadcrumb[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]:before{padding:0 5px;color:#ccc;content:"/\\a0"}.breadcrumb[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:inline-block}.breadcrumb[_ngcontent-%COMP%]{display:list-item!important}.breadcrumb[_ngcontent-%COMP%]{background:transparent;padding:0;margin-top:10px}.form-group[_ngcontent-%COMP%]{margin-bottom:20px}.drop-toggle[_ngcontent-%COMP%]{background-color:#fff;border:none;padding:5px 10px;border-radius:4px;cursor:pointer;cursor:hand;border:1px solid #ccc;width:233px;text-align:left}.drop-toggle[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{float:right}.drop-show[_ngcontent-%COMP%]{padding:4px;width:222px;background-color:#fff;border:1px solid #BABABA;position:absolute;z-index:100;-webkit-box-shadow:0 6px 10px rgba(0,0,0,.15);-moz-box-shadow:0 6px 10px rgba(0,0,0,.15);box-shadow:0 6px 10px #00000026;margin-left:1px}.drop-show[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:block;font-size:15px;cursor:pointer}.drop-show[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{vertical-align:top}.drop-show[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block}.panel-default[_ngcontent-%COMP%]{border:1px solid rgba(8,10,12,.175);border-radius:10px;padding:10px}.panel-default[_ngcontent-%COMP%] > .panel-heading[_ngcontent-%COMP%]{color:#444;background-color:#fff;border:none}.panel-heading[_ngcontent-%COMP%]{padding:10px 15px 0}.panel-body[_ngcontent-%COMP%]{padding:5px 15px 15px}.form-check-input[_ngcontent-%COMP%]{height:22px!important}.form-switch[_ngcontent-%COMP%]   .form-check-input[_ngcontent-%COMP%]{width:50px!important}']})}}return p})();export{Fi as CreateComponent};
