import{a as ht,b as ut}from"./chunk-WVRLQQ4N.js";import"./chunk-D7VLJMRE.js";import{a as dt,b as ct}from"./chunk-LAD52AFK.js";import{d as lt}from"./chunk-EGQPQR7M.js";import{h as ot,i as at}from"./chunk-S7UHX74Y.js";import{b as Qe,f as et}from"./chunk-QIYRFUHF.js";import{a as it}from"./chunk-3EXHVD7Y.js";import{a as tt}from"./chunk-SG57LVFY.js";import{a as nt}from"./chunk-XJT2HBYX.js";import{b as rt,d as X}from"./chunk-ZPVXFWNY.js";import{d as H}from"./chunk-GMKZ3DSG.js";import{a as st}from"./chunk-EBQOR3N4.js";import{o as je,t as He}from"./chunk-GWTA5FCR.js";import{b as Ae,c as ke,g as we,h as Ie,i as Fe,j as De,k as Le,l as xe,p as Re,q as Be,r as Ue,u as Ge,v as Ve,w as Ke,x as ze,y as We,z as $e}from"./chunk-FDIG6A72.js";import{b as Xe,c as qe,d as Je,h as Ye,i as Ze}from"./chunk-4XY6XJYY.js";import{Ba as Se,Ca as Te,Ea as Pe,Fa as Ce,Ga as ve,Ja as Ne,Ka as ye,cb as be,db as Ee,f as ce,fb as Oe,i as he,ka as ge,l as ue,ma as fe,na as _e,qa as Me,r as pe,u as me}from"./chunk-2ZHEK5W4.js";import{A as Q,Ab as ie,Da as y,Eb as re,Ec as x,Fd as j,Gc as r,Hb as S,Hc as K,Ia as ee,Ic as z,Jd as de,Lc as b,Mc as E,Nc as O,Rb as h,Rc as se,Sb as U,Sc as J,Tc as Y,Uc as ne,Wc as W,Xc as $,bc as o,bd as oe,cc as a,dc as G,gb as te,hc as V,lb as l,mb as p,mc as P,qc as F,rc as T,sa as _,ta as M,uc as q,wd as ae,xd as le}from"./chunk-W5V4LLSY.js";import{a as w,b as I,i as Z}from"./chunk-DFE67JWZ.js";var pt=()=>({standalone:!0}),mt=s=>({label:"Cancel",class:"btn btn-default",action:s}),gt=s=>({label:"Ok",class:"btn btn-primary",action:s}),ft=(s,m)=>[s,m];function _t(s,m){if(s&1&&(o(0,"li")(1,"h3")(2,"a",54),r(3),W(4,"translate"),a()()()),s&2){let e=T();l(3),K($(4,1,e.parent));}}function Mt(s,m){if(s&1&&(o(0,"li")(1,"a",55),r(2),W(3,"translate"),a()()),s&2){let e=T();l(),h("href","pms/"+(e.selectedProduct==null||e.selectedProduct.routes==null?null:e.selectedProduct.routes.policy),te),l(),K($(3,2,e.child));}}function St(s,m){if(s&1&&(o(0,"li")(1,"span"),r(2),W(3,"translate"),a()()),s&2){let e=T();l(2),K($(3,1,e.subchild));}}function Tt(s,m){s&1&&(o(0,"small"),r(1,`
                    Policy Name is required.
                  `),a());}function Pt(s,m){if(s&1&&(o(0,"small"),r(1),a()),s&2){let e=T(2);l(),z(`
                    `,e.errortext,`
                  `);}}function Ct(s,m){s&1&&(o(0,"small"),r(1,`
                    Policy Name must be at least 3 characters long.
                  `),a());}function vt(s,m){if(s&1&&(o(0,"div",56),r(1,`
                  `),S(2,Tt,2,0,"small",18),r(3,`
                  `),S(4,Pt,2,1,"small",18),r(5,`
                  `),S(6,Ct,2,0,"small",18),r(7,`
                `),a()),s&2){T();let e=x(25);l(2),h("ngIf",e.errors==null?null:e.errors.required),l(2),h("ngIf",e.errors&&e.errors.pattern),l(2),h("ngIf",e.errors&&e.errors.minlength);}}function Nt(s,m){s&1&&(o(0,"small",57),r(1,`
                  This value is too short. It should have 5 characters or more.
                `),a());}function yt(s,m){s&1&&(o(0,"small",57),r(1,`
                  This value is too long. It should have 512 characters or fewer.
                `),a());}function bt(s,m){if(s&1){let e=V();o(0,"div",58),r(1,`
                                `),o(2,"span",16),r(3,"Enable backups to Microsoft 365 Backup Storage "),o(4,"a",59),r(5," "),G(6,"i",60),a()(),r(7,`
                `),o(8,"div",61),r(9,`
                  `),o(10,"c-form-check",62),r(11,`
                    `),o(12,"input",63),O("ngModelChange",function(t){_(e);let c=T();return E(c.msStorageBackupEnabled,t)||(c.msStorageBackupEnabled=t),M(t);}),a(),r(13,`
                  `),a(),r(14,`
                `),a(),r(15,`
              `),a();}if(s&2){let e=T();l(10),h("switch",!0),l(2),b("ngModel",e.msStorageBackupEnabled),h("ngModelOptions",J(3,pt));}}function Et(s,m){s&1&&(o(0,"c-callout",64),r(1,`
                Please note that backups to Microsoft 365 Backup Storage are controlled by a
                pre-determined Microsoft
                schedule and not by the policy schedules defined on this page.`),G(2,"br"),r(3,` Microsoft 365 Backup
                Storage enables
                ultra-fast backups by creating a secondary copy within the Microsoft 365 service data
                boundary.
              `),a());}function Ot(s,m){if(s&1&&(o(0,"mat-option",68),r(1),a()),s&2){let e=m.$implicit;q("value",e.gatewayName),l(),z("",e.gatewayName," ");}}function At(s,m){if(s&1){let e=V();o(0,"div",24)(1,"label",65),P(2,13),a(),o(3,"mat-form-field",66)(4,"mat-select",67,3),O("ngModelChange",function(t){_(e);let c=T();return E(c.checkedListPg,t)||(c.checkedListPg=t),M(t);}),F("selectionChange",function(){_(e);let t=T();return M(t.onBlukryptChange());}),S(6,Ot,2,2,"mat-option",50),a()()();}if(s&2){let e=T();U("display",e.userType=="superAdmin"&&e.productKey=="backup"?"block":"none"),l(4),b("ngModel",e.checkedListPg),h("ngModelOptions",J(5,pt)),l(2),h("ngForOf",e.pgs);}}function kt(s,m){if(s&1&&(o(0,"option",68),r(1),a()),s&2){let e=m.$implicit;q("value",e.gatewayName),l(),z("",e.gatewayName," ");}}function wt(s,m){if(s&1&&G(0,"app-modal",69),s&2){let e=T(),i=x(9);h("footerButtons",ne(5,ft,Y(1,mt,e.closePolicySaveConfirmPopup),Y(3,gt,e.submitCreatePolicy(i))));}}var fi=(()=>{class s extends ut{constructor(e,i,t,c,n,d,A,u,C,v,g,f,N,D,B,R,L,k){super(i,t,c,n,d,A,u,C,v,d,f,N,D,B,g,R,L),this.http=e,this.datePipe=i,this.titleService=t,this.toastr=c,this.apiService=n,this.AuthService=d,this.globalConstantsService=A,this.cdr=u,this.router=C,this.sharedService=v,this.el=g,this.configService=f,this.licenseCheckService=N,this.translatorService=D,this.userRoleService=B,this.policyManagementService=R,this.dataModel=L,this.activatedRoute=k,this.parent="Policy Management",this.child=" Policies",this.subchild="Edit Policy",this.title="Policy Management",this.PRODUCTS=[],this.policyModel={},this.numberOfThreadsAllowedForBackup="",this.showDropDownSchedule=!1,this.currentSelectedSchedule={},this.shareCheckedList=new y(),this.shareIndividualCheckedList=new y(),this.showDropDownFilter=!1,this.currentSelectedFilter={},this.shareCheckedListFilter=new y(),this.shareIndividualCheckedListFilter=new y(),this.showDropDownSearchFilter=!1,this.currentSelectedSearchFilter={},this.shareCheckedListSearchFilter=new y(),this.shareIndividualCheckedListSearchFilter=new y(),this.shareCheckedListPg=new y(),this.shareIndividualCheckedListPg=new y(),this.includepurgeFilesOlderThan=!1,this.switchpurgeDeletedFilesOlderThan=!1,this.purgeDeletedFilesOlderThan="UNLIMITED",this.productKey="",this.productTitle="",this.selectedProduct={},t.setTitle(this.title);}ngOnInit(){return Z(this,null,function*(){this.inclusionLicenses=yield this.licenseCheckService.getInclusionLicensesNew(),this.PRODUCTS=yield this.licenseCheckService.getLicensedProductsDetails(),this.activatedRoute.params.subscribe(e=>{this.selectedProduct=this.PRODUCTS.find(i=>i.routes.policy===e.productKey),console.log("selectedProduct : "+this.selectedProduct),this.productKey=this.selectedProduct.key,this.policyModel=this.dataModel.commonPolicyModel(this.productKey),this.sharedService.setData("selectedProductType",this.productKey),console.log("policyModel : "+JSON.stringify(this.policyModel)),this.selectedProduct?.defaultUniversalFolders&&Object.assign(this.defaultUniversalFolders,this.selectedProduct?.defaultUniversalFolders),this.child=this.selectedProduct?.title+this.child,this.productTitle=this.selectedProduct?.title||"";}),yield new Promise(e=>{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",e();});}),this.policyNameToEdit=this.sharedService.getDataByKey("currentPolicyName"),this.callApis(),this.userType=yield this.userRoleService.getUserRole();});}toggleLimit(){this.limitError="",this.isLimitEnabled?this.perUserBackupStorageLimit="":this.perUserBackupStorageLimit="UNLIMITED";}myFunctionUBS(){console.log("perUserBackupStorageLimit : "+this.perUserBackupStorageLimit),this.limitError="";let e=Number(this.perUserBackupStorageLimit);console.log("inputValue : "+e),isNaN(e)?this.perUserBackupStorageLimit!=="UNLIMITED"&&(this.limitError='Input can be either "UNLIMITED" or any integer'):e>99999?this.limitError="Maximum Per User Backup Storage Limit Allowed is 99999":this.perUserBackupStorageLimit.includes(".")?this.limitError="Please enter an integral value":e<1&&!isNaN(e)?this.limitError="Minimum Per User Backup Storage Limit Allowed is 1":this.limitError="";}myFunctionDevice(){this.noOfDevicesAllowed>this.noOfDevicesAllowedCloud?this.deviceAllowedError="This value exceeds the number of devices licensable per user. Please enter a value lower than or equal to "+this.noOfDevicesAllowedCloud:this.deviceAllowedError="";}togglePurgeDeletedFilesOlderThan(){this.switchpurgeDeletedFilesOlderThan?(console.log("iffffffffffff"),this.purgeDeletedFilesOlderThan="90"):(console.log("elseeeeeee"),this.purgeDeletedFilesOlderThan="UNLIMITED"),this.myFunctionpurgeDeletedFilesOlderThan();}myFunctionpurgeDeletedFilesOlderThan(){console.log("purgeDeletedFilesOlderThan : "+this.purgeDeletedFilesOlderThan),this.deletedFilesError="";let e=Number(this.purgeDeletedFilesOlderThan);console.log("inputValue : "+e),isNaN(e)?this.purgeDeletedFilesOlderThan!=="UNLIMITED"&&(this.deletedFilesError='Input can be either "UNLIMITED" or any integer'):this.purgeDeletedFilesOlderThan.includes(".")?this.deletedFilesError="Please enter an integral value":e<1&&!isNaN(e)?this.deletedFilesError="Minimum value allowed is 1":this.deletedFilesError="";}flipAllowEndUserTocontrolRestore(){this.canAdminRestoreAll||(this.allowEndUserTocontrolRestore=!1,this.isAdminDeleteBackupFile=!1);}toggleNoOfDaysToKeepUserDeviceNotActive(){this.switchnoOfDaysToKeepUserDeviceNotActive?(console.log("iffffffffffff"),this.noOfDaysToKeepUserDeviceNotActive="60"):(console.log("elseeeeeee"),this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED"),this.myFunctionnoOfDaysToKeepUserDeviceNotActive();}callApis(){let e=this.policyManagementService.getAllSchedules(),i=this.policyManagementService.getAllFilters(),t=this.apiService.getPgs(),c=this.apiService.cloudProperties(),n=this.policyManagementService.getGlobalExclusion(),d=this.policyManagementService.getPolicyCommon(this.sharedService.getDataByKey("currentPolicyName"),this.productKey),A=[e,i,t,c,n,d];if(this.selectedProduct.key==="backup"){let u=this.policyManagementService.getAllNoBackupSchedules();A.push(u);}Q(A).subscribe(u=>{let[C,v,g,f,N,D,B]=u;console.log("API 1 response status:",C.status),console.log("API 1 response body:",C.body.scheduleElementList),console.log("API 1 response headers:",C.headers),console.log("API 2 response body:",v.body.inclusionFilterElementList),console.log("API 2 response headers:",v.headers),console.log("API 3 response body:",g.body.privacyGatewayElementList),console.log("API 3 response headers:",g.headers),console.log("API 4 response body:",f.body),console.log("API 4 response headers:",f.headers),console.log("API 5 response body:",N.body),console.log("API 5 response headers:",N.headers),console.log("API 6 response body:",D.body.data),console.log("API 6 response headers:",D.headers);let R=g.body.privacyGatewayElementList.map(k=>({gatewayName:k.gatewayName,status:!1}));console.log("Transformed Data:",R),this.schedules=C.body.scheduleElementList,this.selectedProduct.key==="backup"&&(this.noBackupSchedules=B.body.noBkpScheduleElementList),this.filters=v.body.inclusionFilterElementList.map(k=>I(w({},k),{status:!1})),console.log("filterssssssssss : "+JSON.stringify(this.filters)),this.searchfilters=v.body.inclusionFilterElementList.map(k=>I(w({},k),{status:!1})),this.pgs=R,console.log("API 5 response body:",JSON.stringify(N.body.globalExcludedFoldersElement.globalExcludedFoldersList.win));let L=[...new Set([...N.body.globalExcludedFoldersElement.globalExcludedFoldersList.win,...N.body.globalExcludedFoldersElement.globalExcludedFoldersList.mac])];L=[...new Set([...L,...N.body.globalExcludedFoldersElement.globalExcludedFoldersList.linux])],console.log("CombinedExclusions :",JSON.stringify(L)),this.noOfDevicesAllowedCloud=f.body.cloudPropertyElement.noOfDevicesAllowed,this.canUserChangePassword=f.body.cloudPropertyElement.canUserChangePassword,this.canAdminChangeUserPassword=f.body.cloudPropertyElement.canAdminChangeUserPassword,this.passwordChangeEnforce=f.body.cloudPropertyElement.passwordChangeEnforce,this.canAdminRestoreAll=f.body.cloudPropertyElement.canAdminRestoreAll,this.isAdminDeleteBackupFile=f.body.cloudPropertyElement.isAdminDeleteBackupFile,this.overridePolicySettings=f.body.cloudPropertyElement.overridePolicySettings,this.showUserConsentFieldInPolicies=f.body.cloudPropertyElement.showUserConsentFieldInPolicies,this.storageProvider=f.body.cloudPropertyElement.storageProvider,this.hostedSetup=f.body.cloudPropertyElement.hostedSetup,at(this.productKey,D.body.data,this);},u=>{switch(console.error("Error from Api's call: ",u),u.status){case 400:console.error("Bad Request: ",u.message);break;case 401:console.error("Unauthorized: ",u.message),this.toastr.error(this.translatorService.getTranslation("Token expired, navigating to logout page."),this.translatorService.getTranslation("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;}});}submitCreatePolicy(e){return()=>{this.displayConfirmPolicySave=!1;let i=!1;if(!this.validatePolicyGroupName()||!this.validateDescription())return;if(this.checkedListSchedule.length<=0||this.checkedListFilter.length<=0){this.checkedListSchedule.length<=0&&this.toastr.error(this.translatorService.getTranslation("Please select at least one schedule.")),this.checkedListFilter.length<=0&&this.toastr.error(this.translatorService.getTranslation("Please select at least one filter."));return;}if(this.searchAlgorithm=="PRIORITY"&&this.checkedListPg.length<=0){this.toastr.error(this.translatorService.getTranslation("Please select at least one BluKrypt Hostname."));return;}if((this.verError!=""||Number(this.versions)<1)&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Maximum number of Versions Allowed.")),i=!0),(this.limitError!=""||Number(this.perUserBackupStorageLimit)<1||isNaN(Number(this.perUserBackupStorageLimit))&&this.perUserBackupStorageLimit!=="UNLIMITED")&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Backup Storage Limit.")),i=!0),(this.sizeError!=""||Number(this.maxPermissibleFileSize)<1||isNaN(Number(this.maxPermissibleFileSize))&&this.maxPermissibleFileSize!=="UNLIMITED")&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Maximum Permissible File Size.")),i=!0),this.defaultUniversalFolders.length==0){this.toastr.error(this.translatorService.getTranslation("Please add at-least one default folders to backup up"));return;}if(typeof this.policyModel.noOfDaysToKeepUserDeviceNotActive<"u"&&((this.deletedAssetsError!=""||Number(this.noOfDaysToKeepUserDeviceNotActive)<7)&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Delete assets which have not been active for.")),i=!0),isNaN(Number(this.noOfDaysToKeepUserDeviceNotActive))&&this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Delete assets which have not been active for.")),i=!0)),typeof this.policyModel.purgeDeletedFilesOlderThan<"u"&&((this.deletedFilesError!=""||Number(this.purgeDeletedFilesOlderThan)<1)&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Purge deleted items from the catalog after.")),i=!0),isNaN(Number(this.purgeDeletedFilesOlderThan))&&this.purgeDeletedFilesOlderThan!=="UNLIMITED"&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Purge deleted items from the catalog after.")),i=!0)),this.noOfDevicesAllowed>this.noOfDevicesAllowedCloud&&(this.toastr.error(this.translatorService.getTranslation("This value exceeds the number of devices licensable per user. Please enter a value lower than or equal to ")+this.noOfDevicesAllowedCloud),i=!0),this.threshholdLimitError!=""&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for {{productTitle}} consumption is higher than (%).")),i=!0),this.purgeFilesOlderThanError!=""&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Files have not been modified in (days).")),i=!0),this.purgeFilesSizeGTThanError!=""&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Files are of size greater than (MB).")),i=!0),typeof this.policyModel.purgeDeletedMailsOlderThan<"u"&&((this.deletedFilesError!=""||Number(this.purgeDeletedMailsOlderThan)<1)&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Purge deleted items from the catalog after.")),i=!0),isNaN(Number(this.purgeDeletedMailsOlderThan))&&this.purgeDeletedMailsOlderThan!=="UNLIMITED"&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Purge deleted items from the catalog after.")),i=!0)),typeof this.policyModel.deletedMailsOlderThan<"u"&&((this.deletedMailsError!=""||Number(this.deletedMailsOlderThan)<1)&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Delete emails from the archive after.")),i=!0),isNaN(Number(this.deletedMailsOlderThan))&&this.deletedMailsOlderThan!=="UNLIMITED"&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Delete emails from the archive after.")),i=!0)),(this.purgeError!=""||this.createMailLinkEnabled&&this.purgeFilesOlderThan=="")&&(this.toastr.error(this.translatorService.getTranslation("Please check the value of days for attachment archiving.")),i=!0),this.policyModel.noOfDaysToKeepUserDeviceNotActive,(this.deletedAssetsError!=""||Number(this.noOfDaysToKeepUserDeviceNotActive)<7)&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Delete assets which have not been active for.")),i=!0),isNaN(Number(this.noOfDaysToKeepUserDeviceNotActive))&&this.noOfDaysToKeepUserDeviceNotActive!=="UNLIMITED"&&(this.toastr.error(this.translatorService.getTranslation("Please check the value for Delete assets which have not been active for.")),i=!0),this.selectedProduct?.featureLicenceKey?.contentSearch&&this.inclusionLicenses.includes(this.selectedProduct.featureLicenceKey.contentSearch)&&this.checkedListSearchFilter.length<=0){this.toastr.error(this.translatorService.getTranslation("Please select at least one search filter."));return;}let t=document.querySelector(".ng-invalid, .text-danger");t&&(t.scrollIntoView({behavior:"smooth",block:"center"}),t.focus());let c=Array.from(document.querySelectorAll('span[style*="color: #f55753"]'));for(let n of c)if(n.textContent?.trim()){n.scrollIntoView({behavior:"smooth",block:"center"});break;}if(!i){if(e.invalid){e.control.markAllAsTouched(),this.toastr.error(this.translatorService.getTranslation("Please fill in all required fields."));return;}this.verError="",this.limitError="",this.sizeError="",this.deletedAssetsError="",this.deletedFilesError="",this.deletedMailsError="",this.threshholdLimitError="",this.purgeFilesOlderThanError="",this.purgeFilesSizeGTThanError="",this.updateOutput(),this.updatePreferences(),this.updateMenuOptions(),console.log(JSON.stringify(this.policyModel)),ot(this,this.dataModel.commonPolicyModelToComponentScopeMap(),this.policyModel),console.log(JSON.stringify(this.policyModel)),this.onUnitChange(),this.policyManagementService.editPolicyCommon(this.policyModel,this.productKey).subscribe(n=>{console.log("Policy edited successfully:",n),this.toastr.success(this.translatorService.getTranslation("Policy edited successfully."),this.translatorService.getTranslation("Info")),setTimeout(()=>{this.router.navigate(["/pms/"+this.selectedProduct.routes.policy]);},5e3);},n=>{switch(n.status){case 400:console.error("Bad Request: ",n.message);break;case 401:console.error("Unauthorized: ",n.message),this.toastr.error(this.translatorService.getTranslation("Token expired, navigating to logout page."),this.translatorService.getTranslation("Error")),setTimeout(()=>{this.router.navigate(["/logout"]);},3e3);break;case 406:this.toastr.error(this.translatorService.getTranslation("Policy with same name already exists ."),this.translatorService.getTranslation("Error"));break;case 331:this.toastr.error(this.translatorService.getTranslation("Policy with same name already exists and is blocked."),this.translatorService.getTranslation("Error"));break;case 421:this.toastr.error(this.translatorService.getTranslation("Token expired, navigating to logout page."),this.translatorService.getTranslation("Error")),setTimeout(()=>{this.router.navigate(["/logout"]);},3e3);break;case 500:console.error("Internal Server Error: ",n.message);break;case 503:console.error("Internal Server Error: ",n.message);break;default:console.error("Unknown Error: ",n.message);break;}});}};}getPolicy(e){this.policygroupName=e.policygroupName,this.description=e.description,this.checkedListSchedule=e.scheduleNames,this.schedules=this.schedules.map(n=>I(w({},n),{checked:this.checkedListSchedule.includes(n.scheduleName)})),this.getMultipleSchedules(this.checkedListSchedule.toString()),this.versions=e.maxVersions,e.maxVersions=="-1"?(this.isVersionEnabled=!1,this.versions="UNLIMITED"):this.isVersionEnabled=!0,this.maxPermissibleFileSize=e.maxFileSize,e.maxFileSize=="1048576"||e.maxFileSize=="-1"?(this.isSizeEnabled=!1,this.maxPermissibleFileSize="UNLIMITED"):this.isSizeEnabled=!0,this.perUserBackupStorageLimit=e.userSizeAllowed,e.userSizeAllowed=="102400"?(this.isLimitEnabled=!1,this.perUserBackupStorageLimit="UNLIMITED"):this.isLimitEnabled=!0,this.noOfDevicesAllowed=e.noOfDevicesAllowed?e.noOfDevicesAllowed:this.noOfDevicesAllowedCloud,this.defaultUniversalFolders=e.backupFolderPaths,this.userExcludedFoldersUniversal=e.excludedFolderpaths?e.excludedFolderpaths:[],this.inclusionFilter=e.filterType=="inclusion",this.checkedListFilter=e.filterInclusionName,this.filters=this.filters.map(n=>I(w({},n),{checked:this.checkedListFilter.includes(n.filterName)})),this.getMultipleFilters(this.checkedListFilter.toString()),this.inclusionSearchFilter=e.searchFilterType=="inclusion",this.checkedListSearchFilter=e.searchFilterInclusionName,this.filters=this.filters.map(n=>I(w({},n),{checked:this.checkedListSearchFilter.includes(n.filterName)})),this.getMultipleSearchFilters(this.checkedListSearchFilter.toString()),this.nwFromClientToPGMB=e.nwFromClientToPGMB;let i=Math.round(e.nwFromClientToPGMB*1e4)/1e4,t="mbps";i<1?(i=Math.round(i*1024),t="kbps"):i>1024&&i===1e4?(i=-1,t="mbps"):i>1024?(i=Math.round(i/1024),t="gbps"):i=Math.round(i),i==-1?(this.nwFromClientToPGMB="UNLIMITED",this.networkThrottlingUnit="mbps",this.isThrottleEnabled=!1):(this.nwFromClientToPGMB=i.toString(),this.networkThrottlingUnit=t,this.isThrottleEnabled=!0),this.contentIndexEnabled=e.contentIndexEnabled,this.cpuThrottling=e.cpuThrottling,this.legalHold=e.legalHoldEnabled,this.rwDetectionEnabled=e.rwDetectionEnabled,this.numberOfThreadsAllowedForBackup=e.numberOfThreadsAllowedForBackup,this.webBasedLogin=e.webBasedLogin,this.compEnabled=e.compressionEnabled,this.vssEnabled=e.vssEnabled,this.policyRefresh=e.policyRefresh.split(":")[0],this.switchlogUnaccessedFiles=e.logUnaccessedFiles,this.canBackupHiddenFiles=e.canBackupHiddenFiles,e.purgeDeletedFilesOlderThan==-1?(this.switchpurgeDeletedFilesOlderThan=!1,this.purgeDeletedFilesOlderThan="UNLIMITED"):(this.switchpurgeDeletedFilesOlderThan=!0,this.purgeDeletedFilesOlderThan=e.purgeDeletedFilesOlderThan),e.noOfDaysToKeepDeletedFiles=="-1"?(this.switchnoOfDaysToKeepDeletedFiles=!1,this.noOfDaysToKeepDeletedFiles="UNLIMITED"):(this.switchnoOfDaysToKeepDeletedFiles=!0,this.noOfDaysToKeepDeletedFiles=e.noOfDaysToKeepDeletedFiles),e.noOfDaysToKeepUserDeviceNotActive==-1?(this.switchnoOfDaysToKeepUserDeviceNotActive=!1,this.noOfDaysToKeepUserDeviceNotActive="UNLIMITED"):(this.switchnoOfDaysToKeepUserDeviceNotActive=!0,this.noOfDaysToKeepUserDeviceNotActive=e.noOfDaysToKeepUserDeviceNotActive),this.canUserChangePassword=e.canUserChangePassword,this.canAdminChangeUserPassword=e.canAdminChangeUserPassword,this.canAdminRestoreAll=e.canAdminRestore,this.allowEndUserTocontrolRestore=e.allowEndUserTocontrolRestore,this.isAdminDeleteBackupFile=e.canAdminDelete,this.searchAlgorithm=e.searchAlgoForPg,this.checkedListPg=e.privacyGatewayMappingElement.privacyGatewayNames,this.pgs=this.pgs.map(n=>I(w({},n),{checked:this.checkedListPg.includes(n.gatewayName)})),console.log("policyElement.privacyGatewayMappingElement.privacyGatewayNames : "+e.privacyGatewayMappingElement.privacyGatewayNames),this.endpointUiPreferencesEdit=e.endpointUiPreferences?e.endpointUiPreferences:[],this.endpointDisabledUiPreferencesEdit=e.endpointDisabledUiPreferences?e.endpointDisabledUiPreferences:[],this.updatePreferencesEdit(),this.menuOptions=e.menuOptions,this.createUserAdmins=e.emailsRestriction.createUser.includes("admins")?"admins":"",this.createUserReadonlyadmins=e.emailsRestriction.createUser.includes("readonlyadmins")?"readonlyadmins":"",this.createUserUsers=e.emailsRestriction.createUser.includes("users")?"users":"",this.userDeletedAdmins=e.emailsRestriction.userDeleted.includes("admins")?"admins":"",this.userDeletedReadonlyadmins=e.emailsRestriction.userDeleted.includes("readonlyadmins")?"readonlyadmins":"",this.userDeletedUsers=e.emailsRestriction.userDeleted.includes("users")?"users":"",this.userBlockedAdmins=e.emailsRestriction.userBlocked.includes("admins")?"admins":"",this.userBlockedReadonlyadmins=e.emailsRestriction.userBlocked.includes("readonlyadmins")?"readonlyadmins":"",this.userBlockedUsers=e.emailsRestriction.userBlocked.includes("users")?"users":"",this.userLimitReachedAdmins=e.emailsRestriction.userLimitReached.includes("admins")?"admins":"",this.userLimitReachedReadonlyadmins=e.emailsRestriction.userLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.userLimitReachedUsers=e.emailsRestriction.userLimitReached.includes("users")?"users":"",this.deviceDeletedAdmins=e.emailsRestriction.deviceDeleted.includes("admins")?"admins":"",this.deviceDeletedReadonlyadmins=e.emailsRestriction.deviceDeleted.includes("readonlyadmins")?"readonlyadmins":"",this.deviceDeletedUsers=e.emailsRestriction.deviceDeleted.includes("users")?"users":"",this.deviceBlockedAdmins=e.emailsRestriction.deviceBlocked.includes("admins")?"admins":"",this.deviceBlockedReadonlyadmins=e.emailsRestriction.deviceBlocked.includes("readonlyadmins")?"readonlyadmins":"",this.deviceBlockedUsers=e.emailsRestriction.deviceBlocked.includes("users")?"users":"",this.deviceDecoupledAdmins=e.emailsRestriction.deviceDecoupled.includes("admins")?"admins":"",this.deviceDecoupledReadonlyadmins=e.emailsRestriction.deviceDecoupled.includes("readonlyadmins")?"readonlyadmins":"",this.deviceDecoupledUsers=e.emailsRestriction.deviceDecoupled.includes("users")?"users":"",this.deviceLimitReachedAdmins=e.emailsRestriction.deviceLimitReached.includes("admins")?"admins":"",this.deviceLimitReachedReadonlyadmins=e.emailsRestriction.deviceLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.deviceLimitReachedUsers=e.emailsRestriction.deviceLimitReached.includes("users")?"users":"",this.weeklyBkpreportAdmins=e.emailsRestriction.weeklyBkpreport.includes("admins")?"admins":"",this.weeklyBkpreportReadonlyadmins=e.emailsRestriction.weeklyBkpreport.includes("readonlyadmins")?"readonlyadmins":"",this.weeklyBkpreportUsers=e.emailsRestriction.weeklyBkpreport.includes("users")?"users":"",this.firstBkpCompletedAdmins=e.emailsRestriction.firstBkpCompleted.includes("admins")?"admins":"",this.firstBkpCompletedReadonlyadmins=e.emailsRestriction.firstBkpCompleted.includes("readonlyadmins")?"readonlyadmins":"",this.firstBkpCompletedUsers=e.emailsRestriction.firstBkpCompleted.includes("users")?"users":"",this.restoreInitiatedAdmins=e.emailsRestriction.restoreInitiated.includes("admins")?"admins":"",this.restoreInitiatedReadonlyadmins=e.emailsRestriction.restoreInitiated.includes("readonlyadmins")?"readonlyadmins":"",this.restoreInitiatedUsers=e.emailsRestriction.restoreInitiated.includes("users")?"users":"",this.storageLimitReachedAdmins=e.emailsRestriction.storageLimitReached.includes("admins")?"admins":"",this.storageLimitReachedReadonlyadmins=e.emailsRestriction.storageLimitReached.includes("readonlyadmins")?"readonlyadmins":"",this.storageLimitReachedUsers=e.emailsRestriction.storageLimitReached.includes("users")?"users":"",this.msAppBluKrypt=e.msAppBluKrypt,this.createLinkEnabled=e.createLinkEnabled,this.threshholdLimitOld=e.threshholdLimit,this.purgeFilesOlderThanOld=e.purgeFilesOlderThan,this.purgeFilesSizeGTThanOld=e.purgeFilesSizeGTThan,this.includethreshholdLimitCheck=e.cpThresHoldFlagEnabled,this.includepurgeFilesOlderThanCheck=e.cpPurgeFilesOlderThanEnabled,this.includepurgeFilesSizeGTThanCheck=e.cpPurgeFilesSizeGTThanFlagEnabled,e.createLinkEnabled&&(this.threshholdLimit=e.threshholdLimit,this.purgeFilesOlderThan=e.purgeFilesOlderThan,this.purgeFilesSizeGTThan=e.purgeFilesSizeGTThan,this.toggleCollapse(0),console.log("hzjvcjhsdvchjsdvchjsvchjvsdj00 : "+e.cpThresHoldFlagEnabled),e.cpThresHoldFlagEnabled==!1&&(console.log("hzjvcjhsdvchjsdvchjsvchjvsdj : "+e.cpThresHoldFlagEnabled),this.threshholdLimit=""),e.cpPurgeFilesOlderThanEnabled==!1&&(this.purgeFilesOlderThan=""),e.cpPurgeFilesSizeGTThanFlagEnabled==!1&&(this.purgeFilesSizeGTThan=""));let c=this.dataModel.commonPolicyModelToComponentScopeMap();}newFilterEdit(e){console.log("filterName : "+e);}checkpurgeFilesOlderThan(){let e=Number(this.purgeFilesOlderThan);this.purgeFilesOlderThanError="",(e<1||e>9131)&&(this.purgeFilesOlderThanError="This value should be between 1 and 9131.");}checkpurgeFilesSizeGTThan(){let e=Number(this.purgeFilesSizeGTThan);this.purgeFilesSizeGTThanError="",e<1&&(this.purgeFilesSizeGTThanError="This value should be greater than or equal to 1.");}static{this.ɵfac=function(i){return new(i||s)(p(ce),p(j),p(ue),p(rt),p(H),p(Xe),p(X),p(oe),p(me),p(qe),p(ee),p(Je),p(nt),p(Ye),p(Ze),p(st),p(ht),p(pe));};}static{this.ɵcmp=ie({type:s,selectors:[["app-msedit"]],outputs:{shareCheckedList:"shareCheckedList",shareIndividualCheckedList:"shareIndividualCheckedList",shareCheckedListFilter:"shareCheckedListFilter",shareIndividualCheckedListFilter:"shareIndividualCheckedListFilter",shareCheckedListSearchFilter:"shareCheckedListSearchFilter",shareIndividualCheckedListSearchFilter:"shareIndividualCheckedListSearchFilter",shareCheckedListPg:"shareCheckedListPg",shareIndividualCheckedListPg:"shareIndividualCheckedListPg"},features:[se([j,H,X]),re],decls:88,vars:22,consts:()=>{let e;e="Policy Name";let i;i="Description";let t;t="Maximum backup Size(GB)";let c;c="Number of Users Allowed";let n;n="Storage Node Search Algorithm";let d;d="Nearest";let A;A="Priority";let u;u="Microsoft 365 backup Agent";let C;C="Cancel";let v;return v="Preferred Storage Node Hostnames",[["myForm","ngForm"],["policyNameInput","ngModel"],["tabContent1","cTabContent"],["matSelectBlukryptHost",""],e,i,t,c,n,d,A,u,C,v,[1,"container"],[1,"row"],[1,"col-lg-6"],[1,"breadcrumb"],[4,"ngIf"],[3,"ngSubmit"],["xs","12"],[1,"mb-3"],[1,"row",2,"margin-top","10px"],[1,"col-lg-7"],[1,"form-group"],["for","policyName"],["type","text","name","policyName","id","policyName","minlength","3","maxlength","50","placeholder","Enter Policy Name","required","","autocomplete","off","autofocus","","pattern","^[a-zA-Z0-9@._-]*$","title","Only letters, numbers, and @, -, _, . are allowed","readonly","",1,"form-control",3,"ngModelChange","ngModel"],["class","text-danger",4,"ngIf"],[1,"mb-3","d-none"],["cLabel","","for","description"],["cFormControl","","name","description","id","description","minlength","5","maxlength","512","rows","3",3,"ngModelChange","input","ngModel"],["style","color: red;",4,"ngIf"],["class","row col-lg-6","style","display: flex",4,"ngIf"],["color","warning",4,"ngIf"],[1,"form-group","hide","d-none"],["for","policyStorageSizeAllowed"],["type","number","name","policyStorageSizeAllowed","id","policyStorageSizeAllowed","placeholder","","value","0","autocomplete","off","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","policyUsersAllowed"],["type","number","name","policyUsersAllowed","id","policyUsersAllowed","placeholder","","value","0","autocomplete","off","required","",1,"form-control",3,"ngModelChange","ngModel"],["cRounded","bottom",3,"activeTabPaneIdx"],[1,"p-3","preview"],[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",3,"display",4,"ngIf"],[1,"form-group","col-lg-7"],["for","msAppBluKrypt"],["cSelect","","name","msAppBluKrypt","id","msAppBluKrypt","title","Select Backup Agent",1,"form-control","msAppBluKrypt",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"btn","btn-primary","pull-right",3,"click"],[1,"btn","btn-default","pull-right",2,"margin-right","10px",3,"click"],["headerH4","Confirmation","bodyH4","Are you sure you want to continue?",3,"footerButtons",4,"ngIf"],["href","pms"],[3,"href"],[1,"text-danger"],[2,"color","red"],[1,"row","col-lg-6",2,"display","flex"],["cTooltip","Microsoft 365 Backup Storage can enable very fast bulk-restores of assets like all Mailboxes, all SharePoint Sites or all OneDrive accounts and can be highly useful for fast disaster recovery.Microsoft 365 Backup Storage provides recovery speeds of up to 2TB per hour at scale.* Source: Microsoft internal research, 2025","cTooltipPlacement","right",2,"color","#062D4D","cursor","pointer"],["aria-hidden","true",1,"fa","fa-question-circle"],[1,"col-lg-1"],[3,"switch"],["cFormCheckInput","","id","msStorageBackupEnabled","type","checkbox",3,"ngModelChange","ngModel","ngModelOptions"],["color","warning"],["for","Blukryptipaddress"],["appearance","fill",2,"width","100%"],["multiple","",3,"ngModelChange","selectionChange","ngModel","ngModelOptions"],[3,"value"],["headerH4","Confirmation","bodyH4","Are you sure you want to continue?",3,"footerButtons"]];},template:function(i,t){if(i&1){let c=V();o(0,"div",14)(1,"div",15)(2,"div",16)(3,"ol",17),S(4,_t,5,3,"li",18)(5,Mt,4,4,"li",18)(6,St,4,3,"li",18),a()()()(),o(7,"c-row")(8,"form",19,0),F("ngSubmit",function(){_(c);let d=x(9);return M(t.submitCreatePolicy(d));}),o(10,"c-col",20)(11,"c-card",21)(12,"c-card-header"),r(13,`
          `),r(14,`
          `),o(15,"div",22),r(16,`
            `),o(17,"div",23),r(18,`
              `),o(19,"div",24),r(20,`
                `),o(21,"label",25),P(22,4),a(),r(23,`
                `),o(24,"input",26,1),O("ngModelChange",function(d){return _(c),E(t.policygroupName,d)||(t.policygroupName=d),M(d);}),a(),r(26,`
                `),S(27,vt,8,3,"div",27),r(28,`
              `),a(),r(29,`
              `),o(30,"div",28),r(31,`
                `),o(32,"label",29),P(33,5),a(),r(34,`
                `),o(35,"textarea",30),O("ngModelChange",function(d){return _(c),E(t.description,d)||(t.description=d),M(d);}),F("input",function(){return _(c),M(t.validateDescription());}),a(),r(36,`
                `),S(37,Nt,2,0,"small",31),r(38,`
                `),S(39,yt,2,0,"small",31),r(40,`
              `),a(),r(41,`
              `),S(42,bt,16,4,"div",32),r(43,`
              `),S(44,Et,4,0,"c-callout",33),r(45,`
              `),o(46,"div",34),r(47,`
                `),o(48,"label",35),P(49,6),a(),r(50,`
                `),o(51,"input",36),O("ngModelChange",function(d){return _(c),E(t.policyStorageSizeAllowed,d)||(t.policyStorageSizeAllowed=d),M(d);}),a(),r(52,`
                `),o(53,"label",37),P(54,7),a(),r(55,`
                `),o(56,"input",38),O("ngModelChange",function(d){return _(c),E(t.policyUsersAllowed,d)||(t.policyUsersAllowed=d),M(d);}),a(),r(57,`
              `),a(),r(58,`
            `),a(),r(59,`
          `),a(),r(60,`
        `),a(),o(61,"c-card-body")(62,"c-tab-content",39,2)(64,"c-tab-pane",40)(65,"div",15)(66,"div",23)(67,"div",41)(68,"label",42),P(69,8),a(),o(70,"select",43),O("ngModelChange",function(d){return _(c),E(t.searchAlgorithm,d)||(t.searchAlgorithm=d),M(d);}),F("change",function(){return _(c),M(t.onSearchAlgorithmChange());}),o(71,"option",44),P(72,9),a(),o(73,"option",45),P(74,10),a()()(),S(75,At,7,6,"div",46),a(),o(76,"div",47)(77,"label",48),P(78,11),a(),o(79,"select",49),O("ngModelChange",function(d){return _(c),E(t.msAppBluKrypt,d)||(t.msAppBluKrypt=d),M(d);}),S(80,kt,2,2,"option",50),a()()()()(),o(81,"div",15)(82,"div",16)(83,"a",51),F("click",function(){return _(c),M(t.submitPolicy());}),r(84,"Save"),a(),o(85,"a",52),F("click",function(){return _(c),M(t.sendMeTo("/pms/"+t.productKey));}),P(86,12),a()()()()()()()(),S(87,wt,1,8,"app-modal",53);}if(i&2){let c=x(9),n=x(25);l(4),h("ngIf",t.parent!=""),l(),h("ngIf",t.child!=""),l(),h("ngIf",t.subchild!=""),l(18),b("ngModel",t.policygroupName),l(3),h("ngIf",n.invalid&&(n.dirty||n.touched||c.submitted)),l(8),b("ngModel",t.description),l(2),h("ngIf",t.description.length>0&&t.description.length<5),l(2),h("ngIf",t.description.length>0&&t.description.length>512),l(3),h("ngIf",(t.selectedProduct==null||t.selectedProduct.featureLicenceKey==null?null:t.selectedProduct.featureLicenceKey.msStorageAPI)&&t.inclusionLicenses.includes(t.selectedProduct.featureLicenceKey.msStorageAPI)),l(2),h("ngIf",(t.selectedProduct==null||t.selectedProduct.featureLicenceKey==null?null:t.selectedProduct.featureLicenceKey.msStorageAPI)&&t.inclusionLicenses.includes(t.selectedProduct.featureLicenceKey.msStorageAPI)),l(7),b("ngModel",t.policyStorageSizeAllowed),l(5),b("ngModel",t.policyUsersAllowed),l(6),h("activeTabPaneIdx",0),l(5),U("display",t.userType=="superAdmin"&&t.productKey=="backup"?"block":"none"),l(3),b("ngModel",t.searchAlgorithm),l(5),h("ngIf",t.searchAlgorithm==="PRIORITY"),l(),U("display",t.userType=="superAdmin"&&t.productKey!="backup"?"block":"none"),l(3),b("ngModel",t.msAppBluKrypt),l(),h("ngForOf",t.pgs),l(7),h("ngIf",t.displayConfirmPolicySave);}},dependencies:[fe,_e,ye,Ne,$e,Le,Be,Ue,ke,xe,Ae,Re,we,Ie,Ge,Ve,Ke,ze,Me,He,he,Ee,be,de,ae,le,Oe,We,De,Fe,Te,ve,Pe,Ce,Se,ct,lt,dt,je,Qe,et,it,ge,tt],styles:['@charset "UTF-8";.switch[_ngcontent-%COMP%]{position:relative;display:inline-block;width:50px;height:22px}.switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:none}.slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;inset:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.slider[_ngcontent-%COMP%]:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#062d4d}input[_ngcontent-%COMP%]:focus + .slider[_ngcontent-%COMP%]{box-shadow:0 0 1px #062d4d}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translate(26px)}.slider.round[_ngcontent-%COMP%]{border-radius:34px}.slider.round[_ngcontent-%COMP%]:before{border-radius:50%}.slidecontainer[_ngcontent-%COMP%]{width:100%}.slidercpu[_ngcontent-%COMP%]{width:100%;height:15px;border-radius:5px;background:#d3d3d3;outline:none;opacity:.7;-webkit-transition:.2s;transition:opacity .2s}.slidercpu[_ngcontent-%COMP%]:hover{opacity:1}.slidercpu[_ngcontent-%COMP%]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:25px;height:25px;border-radius:50%;background:#2196f3;cursor:pointer}.slidercpu[_ngcontent-%COMP%]::-moz-range-thumb{width:25px;height:25px;border-radius:50%;background:#2196f3;cursor:pointer}.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.6}h5[_ngcontent-%COMP%]{color:#000}breadcrumb[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]:before{padding:0 5px;color:#ccc;content:"/\\a0"}.breadcrumb[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:inline-block}.breadcrumb[_ngcontent-%COMP%]{display:list-item!important}.breadcrumb[_ngcontent-%COMP%]{background:transparent;padding:0;margin-top:10px}.form-group[_ngcontent-%COMP%]{margin-bottom:20px}.drop-toggle[_ngcontent-%COMP%]{background-color:#fff;border:none;padding:5px 10px;border-radius:4px;cursor:pointer;cursor:hand;border:1px solid #ccc;width:233px;text-align:left}.drop-toggle[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{float:right}.drop-show[_ngcontent-%COMP%]{padding:4px;width:222px;background-color:#fff;border:1px solid #BABABA;position:absolute;z-index:100;-webkit-box-shadow:0 6px 10px rgba(0,0,0,.15);-moz-box-shadow:0 6px 10px rgba(0,0,0,.15);box-shadow:0 6px 10px #00000026;margin-left:1px}.drop-show[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:block;font-size:15px;cursor:pointer}.drop-show[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{vertical-align:top}.drop-show[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block}.panel-default[_ngcontent-%COMP%]{border:1px solid rgba(8,10,12,.175);border-radius:10px;padding:10px}.panel-default[_ngcontent-%COMP%] > .panel-heading[_ngcontent-%COMP%]{color:#444;background-color:#fff;border:none}.panel-heading[_ngcontent-%COMP%]{padding:10px 15px 0}.panel-body[_ngcontent-%COMP%]{padding:5px 15px 15px}.form-check-input[_ngcontent-%COMP%]{height:22px!important}.form-switch[_ngcontent-%COMP%]   .form-check-input[_ngcontent-%COMP%]{width:50px!important}.accordion-header[_ngcontent-%COMP%]{padding:5px!important}']});}}return s;})();export{fi as MsAgentComponent};/**i18n:0c85d88e1c63ff70ec487b533ab43e97f8cd56e4c41bc493c1dbcaa27295944a*/