1"use strict";(self.webpackChunke_care=self.webpackChunke_care||[]).push([[2349],{42349:function(e,t,s){s.r(t),s.d(t,{IpAddressSettingsModule:function(){return Y}});var i=s(38583),r=s(95987),d=s(32789),n=s(81804),o=s(3679),a=(()=>{return(e=a||(a={})).OPEN="OPEN",e.STATIC="RESTRICTED_STATIC",e.DYNAMIC="RESTRICTED_DYNAMIC",a;var e})(),c=s(75319),l=s(3172),p=(()=>{return(e=p||(p={})).ADD="Add",e.DELETE="Delete",p;var e})(),g=s(37716),u=s(48727),h=s(8481),A=s(14112),m=s(89393),v=s(22238),S=s(4885),f=s(45396),b=s(98295),I=s(83166),Z=s(35290),F=s(90171),D=s(29790);function T(e,t){if(1&e&&(g.TgZ(0,"div",2),g._UZ(1,"mat-progress-spinner",3),g.qZA()),2&e){const e=g.oxw();g.xp6(1),g.Q6J("mode",e.commonService.mode)("strokeWidth",2)("diameter",80)}}function x(e,t){1&e&&(g.ynx(0),g.TgZ(1,"div",4),g.TgZ(2,"div",5),g._UZ(3,"img",6),g.qZA(),g.TgZ(4,"p",7),g._uU(5),g.ALo(6,"translate"),g.qZA(),g.qZA(),g.BQk()),2&e&&(g.xp6(5),g.Oqu(g.lcZ(6,1,"ipAddressSettings.notAvailable")))}function C(e,t){if(1&e&&g._UZ(0,"p",19),2&e){const e=g.oxw(3);g.Q6J("innerHTML",e.pageDescription,g.oJD)}}function y(e,t){1&e&&(g.TgZ(0,"mat-error",28),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&e&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"validationMessage.requiredField")," "))}function q(e,t){if(1&e&&(g.ynx(0),g.YNc(1,y,3,3,"mat-error",27),g.BQk()),2&e){const e=g.oxw(5);g.xp6(1),g.Q6J("ngIf",e.ipAddressSettingsForm.controls.macAddress.errors.required)}}function N(e,t){1&e&&(g.TgZ(0,"mat-error",30),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&e&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"validationMessage.requiredField")," "))}function w(e,t){if(1&e&&(g.ynx(0),g.YNc(1,N,3,3,"mat-error",29),g.BQk()),2&e){const e=g.oxw(5);g.xp6(1),g.Q6J("ngIf",e.ipAddressSettingsForm.controls.note.errors.required)}}function V(e,t){if(1&e){const e=g.EpF();g.ynx(0),g.TgZ(1,"div",20),g.TgZ(2,"mat-form-field",21),g.TgZ(3,"label"),g._uU(4),g.ALo(5,"translate"),g.qZA(),g._UZ(6,"input",22),g.qZA(),g.YNc(7,q,2,1,"ng-container",1),g.qZA(),g.TgZ(8,"div",20),g.TgZ(9,"mat-form-field",23),g.TgZ(10,"label"),g._uU(11),g.ALo(12,"translate"),g.qZA(),g._UZ(13,"input",24),g.qZA(),g.YNc(14,w,2,1,"ng-container",1),g.qZA(),g.TgZ(15,"div",25),g.TgZ(16,"button",26),g.NdJ("click",function(){g.CHM(e);const t=g.oxw(4);return t.ipAddressAction(t.eIpAddressAction.ADD)}),g._uU(17),g.ALo(18,"translate"),g.qZA(),g.qZA(),g.BQk()}if(2&e){const e=g.oxw(4);g.xp6(4),g.Oqu(g.lcZ(5,9,"ipAddressSettings.macAddress")),g.xp6(2),g.Q6J("readonly",e.addIpAddressLoader||e.deleteIpAddressLoader),g.xp6(1),g.Q6J("ngIf",e.ipAddressSettingsFormSubmitted&&e.ipAddressSettingsForm.controls.macAddress.errors),g.xp6(4),g.Oqu(g.lcZ(12,11,"ipAddressSettings.note")),g.xp6(2),g.Q6J("readonly",e.addIpAddressLoader||e.deleteIpAddressLoader),g.xp6(1),g.Q6J("ngIf",e.ipAddressSettingsFormSubmitted&&e.ipAddressSettingsForm.controls.note.errors),g.xp6(2),g.Q6J("ladda",e.addIpAddressLoader)("disabled",e.deleteIpAddressLoader),g.xp6(1),g.hij(" ",g.lcZ(18,13,"ipAddressSettings.add")," ")}}const L=function(e){return{"mb-25":e}};function O(e,t){if(1&e){const e=g.EpF();g.TgZ(0,"div",33),g.TgZ(1,"mat-accordion",34),g.TgZ(2,"mat-expansion-panel",35),g.TgZ(3,"mat-expansion-panel-header",36),g.TgZ(4,"mat-panel-title"),g.TgZ(5,"div"),g.TgZ(6,"p",37),g._uU(7),g.ALo(8,"translate"),g.qZA(),g.TgZ(9,"p",14),g._uU(10),g.qZA(),g.qZA(),g.qZA(),g.qZA(),g.TgZ(11,"div",38),g.TgZ(12,"p",37),g._uU(13),g.ALo(14,"translate"),g.qZA(),g.TgZ(15,"p",39),g._uU(16),g.qZA(),g.TgZ(17,"div",40),g.TgZ(18,"button",26),g.NdJ("click",function(){const t=g.CHM(e).$implicit,s=g.oxw(5);return s.ipAddressAction(s.eIpAddressAction.DELETE,t)}),g._uU(19),g.ALo(20,"translate"),g.qZA(),g.qZA(),g.qZA(),g.qZA(),g.qZA(),g.qZA()}if(2&e){const e=t.$implicit,s=t.index,i=g.oxw(5);g.Q6J("ngClass",g.VKq(16,L,s!==i.ipReservation.length-1)),g.xp6(3),g.Q6J("collapsedHeight","60px")("expandedHeight","60px"),g.xp6(4),g.Oqu(g.lcZ(8,10,"ipAddressSettings.macAddress")),g.xp6(3),g.Oqu(e.macAddress),g.xp6(3),g.Oqu(g.lcZ(14,12,"ipAddressSettings.note")),g.xp6(3),g.Oqu(e.macNote||"/"),g.xp6(2),g.Q6J("ladda",i.deleteIpAddressLoader)("disabled",i.ipReservation.length===+i.internetService.ipAddressDetail
1s.maxFreeDynamicIp),g.xp6(1),g.hij(" ",g.lcZ(20,14,"ipAddressSettings.deleteMacAddress")," ")}}function E(e,t){if(1&e&&(g.ynx(0),g.TgZ(1,"p",31),g._uU(2),g.ALo(3,"translate"),g.qZA(),g.YNc(4,O,21,18,"div",32),g.BQk()),2&e){const e=g.oxw(4);g.xp6(2),g.Oqu(g.lcZ(3,2,"ipAddressSettings.youMacAddress")),g.xp6(2),g.Q6J("ngForOf",e.ipReservation)}}function J(e,t){if(1&e&&(g.ynx(0),g.YNc(1,V,19,15,"ng-container",1),g.YNc(2,E,5,4,"ng-container",1),g.BQk()),2&e){const e=g.oxw(3);g.xp6(1),g.Q6J("ngIf",e.showAddAddress),g.xp6(1),g.Q6J("ngIf",e.ipReservation.length)}}function P(e,t){if(1&e){const e=g.EpF();g.ynx(0),g.TgZ(1,"div",25),g.TgZ(2,"button",41),g.NdJ("click",function(){g.CHM(e);const t=g.oxw(3);return t.ipAddressAction(t.eIpAddressAction.ADD)}),g._uU(3),g.ALo(4,"translate"),g.qZA(),g.qZA(),g.BQk()}if(2&e){const e=g.oxw(3);g.xp6(2),g.Q6J("ladda",e.addIpAddressLoader),g.xp6(1),g.hij(" ",g.lcZ(4,2,"ipAddressSettings.add")," ")}}function Q(e,t){if(1&e){const e=g.EpF();g.ynx(0),g.TgZ(1,"div",8),g.TgZ(2,"div",9),g.YNc(3,C,1,1,"p",10),g.TgZ(4,"p",11),g._uU(5),g.ALo(6,"translate"),g.qZA(),g.TgZ(7,"form",12),g.TgZ(8,"div",13),g.TgZ(9,"p",14),g._uU(10),g.ALo(11,"translate"),g.qZA(),g.TgZ(12,"mat-slide-toggle",15),g.NdJ("change",function(t){return g.CHM(e),g.oxw(2).openChange(t)}
1),g.qZA(),g.qZA(),g.TgZ(13,"div",16),g.TgZ(14,"p",14),g._uU(15),g.ALo(16,"translate"),g.qZA(),g.TgZ(17,"mat-slide-toggle",17),g.NdJ("change",function(t){return g.CHM(e),g.oxw(2).restrictedDynamicChange(t)}),g.qZA(),g.qZA(),g.TgZ(18,"div",16),g.TgZ(19,"p",14),g._uU(20),g.ALo(21,"translate"),g.qZA(),g.TgZ(22,"mat-slide-toggle",18),g.NdJ("change",function(t){return g.CHM(e),g.oxw(2).restrictedStaticChange(t)}),g.qZA(),g.qZA(),g.YNc(23,J,3,2,"ng-container",1),g.YNc(24,P,5,4,"ng-container",1),g.qZA(),g.qZA(),g.qZA(),g.BQk()}if(2&e){const e=g.oxw(2);g.xp6(3),g.Q6J("ngIf",e.pageDescription),g.xp6(2),g.hij(" ",g.lcZ(6,8,"ipAddressSettings.accessType")," "),g.xp6(2),g.Q6J("formGroup",e.ipAddressSettingsForm),g.xp6(3),g.Oqu(g.lcZ(11,10,"ipAddressSettings.open")),g.xp6(5),g.Oqu(g.lcZ(16,12,"ipAddressSettings.restricted")),g.xp6(5),g.Oqu(g.lcZ(21,14,"ipAddressSettings.restrictedStatic")),g.xp6(3),g.Q6J("ngIf",!e.hideOnOpen),g.xp6(1),g.Q6J("ngIf",e.hideOnOpen&&e.changeTriggered)}}function _(e,t){if(1&e&&(g.ynx(0),g.YNc(1,x,7,3,"ng-container",1),g.YNc(2,Q,25,16,"ng-container",1),g.BQk()),2&e){const e=g.oxw();g.xp6(1),g.Q6J("ngIf",e.internetService.serviceError),g.xp6(1),g.Q6J("ngIf",!e.internetService.serviceError&&e.internetService.ipAddressDetails)}}const k=[{path:"",redirectTo:"ip-address-settings"},{path:"ip-address-settings",component:(()=>{class e{constructor(e,t,s,i,r,d){this.commonService=e,this.fb=t,this.trs=s,this.customerService=i,this.internetService=r,this.dialog=d,this.subscriptions=new c.w,this.ipAddressSettingsFormSubmitted=!1,this.changeTriggered=!1,this.showAddAddress=!1,this.hideOnOpen=!1,this.pageDescriptionInit="",this.pageDescription="",this.isIpSettingsLoaded=!1,this.addDynamicIpAddress=!0,this.eServiceFlavour=a,this.serviceFlavourValue="",this.ipReservation=[],this.addIpAddressLoader=!1,this.deleteIpAddressLoader=!1,this.eIpAddressAction=p,this.commonService.isPageTitleActivated=!0,this.commonService.isBackButtonActivated=!0,this.commonService.setPageTitle(this.trs.trsTs("ipAddressSettings.pageTitle"),"ip-address-settings")}ngOnInit(){this.fetchIPSettings(),this.ipAddressSettingsForm=this.fb.group({open:[{value:!1,disabled:!1}],restrictedDynamic:[{value:!1,disabled:!1}],restrictedStatic:[{value:!1,disabled:!1}],macAddress:[],note:[]})}updateShowAddAddress(e){var t,s,i,r,d,n;const o=e!==a.STATIC&&(null===(t=this.ipAddressSettingsForm.get("restrictedStatic"))||void 0===t?void 0:t.value),c=e!==a.DYNAMIC&&(null===(s=this.ipAddressSettingsForm.get("restrictedDynamic"))||void 0===s?void 0:s.value),l=e!==a.OPEN&&(null===(i=this.ipAddressSettingsForm.get("open"))||void 0===i?void 0:i.value);this.showAddAddress=o||c||(null===(r=this.ipAddressSettingsForm.get("restrictedDynamic"))||void 0===r?void 0:r.value)&&(null===(d=this.ipReservation)||void 0===d?void 0:d.length)<Number(null===(n=this.internetService.ipAddressDetails)||void 0===n?void 0:n.maxFreeDynamicIp),this.hideOnOpen=l}fetchIPSettings(){var e;this.internetService.fetchIPSettings(null===(e=this.customerService.selectedContractObj)||void 0===e?void 0:e.contractIdentity).subscribe(e=>{var t;console.log("response fetchIPSettings",e),e.status&&"OK"===e.status?(this.internetService.ipAddressDetails=(null==e?void 0:e.IPAddressDetails)&&(null===(t=null==e?void 0:e.IPAddressDetails)||void 0===t?void 0:t.emailSpaceQuota)?null==e?void 0:e.IPAddressDetails:void 0,this.ipReservation=(null==e?void 0:e.IPReservations)||[],this.serviceFlavourValue=(null==e?void 0:e.serviceFlavour)||"",this.serviceFlavourValue===a.DYNAMIC||this.serviceFlavourValue===a.STATIC?this.addValidators():this.clearValidators(),this.setShowAddAddress(e),this.setAccessType(e),this.pageDescriptionInit=this.pageDescription):(this.internetService.ipAddressDetails=void 0,this.ipReservation=[],this.serviceFlavourValue="",this.internetService.serviceError=!0),this.isIpSettingsLoaded=!0},e=>{console.log("Error occurred while fetching IP Settings: ",e),this.isIpSettingsLoaded=!0,this.internetService.ipAddressDetails=void 0,this.ipReservation=[],this.serviceFlavourValue="",this.internetService.serviceError=!0})}setShowAddAddress(e){if(!e)return void(this.showAddAddress=!1);
1const{serviceFlavour:t,IPReservations:s,IPAddressDetails:i}=e,r=(null==s?void 0:s.length)||0;switch(t){case a.DYNAMIC:const e=(null==i?void 0:i.maxFreeDynamicIp)?Number(null==i?void 0:i.maxFreeDynamicIp):0;return void(this.showAddAddress=(0!==r||0!==e)&&r<e);case a.STATIC:const t=(null==i?void 0:i.maxFreeStaticIp)?Number(null==i?void 0:i.maxFreeStaticIp):0;return void(this.showAddAddress=(0!==r||0!==e)&&r<t);default:return void(this.showAddAddress=!1)}}setAccessType(e){var t,s,i,r,d,n,o,l,p,g,u;switch(this.subscriptions.unsubscribe(),this.subscriptions=new c.w,null==e?void 0:e.serviceFlavour){case a.STATIC:return this.pageDescription=this.trs.trsTsParams("ipAddressSettings.pageDesc",{number:null===(t=this.internetService.ipAddressDetails)||void 0===t?void 0:t.maxFreeStaticIp,type:"static"}),null===(s=this.ipAddressSettingsForm.get("restrictedStatic"))||void 0===s||s.disable(),this.ipAddressSettingsForm.patchValue({open:!1,restrictedStatic:!0,restrictedDynamic:!1}),this.subscriptions.add(null===(i=this.ipAddressSettingsForm.get("restrictedDynamic"))||void 0===i?void 0:i.valueChanges.subscribe(()=>{this.updateShowAddAddress(a.STATIC)})),void this.subscriptions.add(null===(r=this.ipAddressSettingsForm.get("open"))||void 0===r?void 0:r.valueChanges.subscribe(()=>{this.updateShowAddAddress(a.STATIC)}));case a.DYNAMIC:return this.pageDescription=this.trs.trsTsParams("ipAddressSettings.pageDesc",{number:null===(d=this.internetService.ipAddressDetails)||void 0===d?void 0:d.maxFreeDynamicIp,type:"dynamic"}),null===(n=this.ipAddressSettingsForm.get("restrictedDynamic"))||void 0===n||n.disable(),this.ipAddressSettingsForm.patchValue({open:!1,restrictedStatic:!1,restrictedDynamic:!0}),this.subscriptions.add(null===(o=this.ipAddressSettingsForm.get("restrictedStatic"))||void 0===o?void 0:o.valueChanges.subscribe(()=>{this.updateShowAddAddress(a.DYNAMIC)})),void this.subscriptions.add(null===(l=this.ipAddressSettingsForm.get("open"))||void 0===l?void 0:l.valueChanges.subscribe(()=>{this.updateShowAddAddress(a.DYNAMIC)}));case a.OPEN:return this.pageDescription="",null===(p=this.ipAddressSettingsForm.get("open"))||void 0===p||p.disable(),this.ipAddressSettingsForm.patchValue({open:!0,restrictedStatic:!1,restrictedDynamic:!1}),this.subscriptions.add(null===(g=this.ipAddressSettingsForm.get("restrictedStatic"))||void 0===g?void 0:g.valueChanges.subscribe(()=>{this.updateShowAddAddress(a.OPEN)})),void this.subscriptions.add(null===(u=this.ipAddressSettingsForm.get("restrictedDynamic"))||void 0===u?void 0:u.valueChanges.subscribe(()=>{this.updateShowAddAddress(a.OPEN)}));default:return this.pageDescription="",void this.ipAddressSettingsForm.patchValue({open:!1,restrictedStatic:!1,restrictedDynamic:!1})}}restrictedStaticChange(e){var t,s,i,r,d;this.ipAddressSettingsFormSubmitted=!1,e.checked?(this.pageDescription=this.trs.trsTsParams("ipAddressSettings.pageDesc",{number:null===(t=this.internetService.ipAddressDetails)||void 0===t?void 0:t.maxFreeStaticIp,type:"static"}),null===(s=this.ipAddressSettingsForm.get("restrictedDynamic"))||void 0===s||s.disable(),null===(i=this.ipAddressSettingsForm.get("open"))||void 0===i||i.disable(),this.changeTriggered=!0,this.addValidators()):(this.serviceFlavourValue!==a.DYNAMIC&&(null===(r=this.ipAddressSettingsForm.get("restrictedDynamic"))||void 0===r||r.enable(),this.addValidators()),this.serviceFlavourValue!==a.OPEN&&(null===(d=this.ipAddressSettingsForm.get("open"))||void 0===d||d.enable(),this.clearValidators()),this.pageDescription=this.pageDescriptionInit,this.changeTriggered=!1)}restrictedDynamicChange(e){var t,s,i,r,d;this.ipAddressSettingsFormSubmitted=!1,e.checked?(this.pageDescription=this.trs.trsTsParams("ipAddressSettings.pageDesc",{number:null===(t=this.internetService.ipAddressDetails)||void 0===t?void 0:t.maxFreeDynamicIp,type:"dynamic"}),null===(s=this.ipAddressSettingsForm.get("restrictedStatic"))||void 0===s||s.disable(),null===(i=this.ipAddressSettingsForm.get("open"))||void 0===i||i.disable(),this.changeTriggered=!0,this.addValidators()):(this.serviceFlavourValue!==a.STATIC&&(null===(r=this.ipAddressSettingsForm.get("restrictedStatic"))||void 0===r||r.enable(),this.addValidators()),this.serviceFlavourValue!==a.OPEN&&(null===(d=this.ipAddressSettingsForm.get("open"))||void 0===d||d.enable(),this.clearValidators()),this.pageDescription=this.pageDescriptionInit,this.changeTriggered=!1)}openChange(e){var t,s,i,r;this.ipAddressSettingsFormSubmitted=!1,e.checked?(this.pageDescription="",null===(t=this.ipAddressSettingsForm.get("restrictedDynamic"))||void 0===t||t.disable(),null===(s=this.ipAddressSettingsForm.get("restrictedStatic"))||void 0===s||s.disable(),this.changeTriggered=!0,this.clearValidators()):(this.serviceFlavourValue!==a.DYNAMIC&&(null===(i=this.ipAddressSettingsForm.get("restrictedDynamic"))||void 0===i||i.enable()),this.serviceFlavourValue!==a.STATIC&&(null===(r=this.ipAddressSettingsForm.get("restrictedStatic"))||void 0===r||r.enable()),this.pageDescription=this.pageDescriptionInit,this.changeTriggered=!1,this.addValidators())}addValidators(){const e=this.ipAddressSettingsForm.get("macAddress"),t=this.ipAddressSettingsForm.get("note");e&&t&&(e.setValidators(o.kI.required),t.setValidators(o.kI.required),e.updateValueAndValidity(),t.updateValueAndValidity())}clearValidators(){const e=this.ipAddressSettingsForm.get("macAddress"),t=this.ipAddressSettingsForm.get("note");e&&t&&(e.clearValidators(),t.clearValidators(),e.updateValueAndValidity(),t.updateValueAndValidity())}ipAddressAction(e,t){console.log("this.ipAddressSettingsForm",this.ipAddressSettingsForm),this.addIpAddressLoader=!0,this.ipAddressSettingsFormSubmitted=!0;const s=Object.keys(this.ipAddressSettingsForm.controls).filter(e=>this.ipAddressSettingsForm.controls[e].valid).map(e=>({controlName:e,controlValue:this.ipAddressSettingsForm.controls[e].value}));if(e===p.DELETE&&(this.addIpAddressLoader=!1,this.deleteIpAddressLoader=!0,this.clearValidators()),this.ipAddressSettingsForm.invali
1d)this.addIpAddressLoader=!1;else{let i="",r="";e===p.ADD?(i=this.ipAddressSettingsForm.controls.macAddress.value.trim(),r=this.ipAddressSettingsForm.controls.note.value):(i=t.macAddress,r=t.macNote);const d={macAddress:i,note:r,action:e,flavourChange:this.changeTriggered?"restrictedDynamic"===s[0].controlName?a.DYNAMIC:"restrictedStatic"===s[0].controlName?a.STATIC:a.OPEN:this.serviceFlavourValue};this.serviceFlavourValue===d.flavourChange&&delete d.flavourChange;const n=this.removeNullValues(d);console.log("cleanedRequest request",n),this.internetService.changeIPSettings(this.customerService.selectedContractObj.contractIdentity,n).subscribe(t=>{t.status&&"OK"===t.status?(console.log("this.serviceFlavourValue",this.serviceFlavourValue),console.log("ipAddressRequest.flavourChange",d.flavourChange),this.serviceFlavourValue===d.flavourChange?(e===p.ADD?this.ipReservation.push({macAddress:d.macAddress,macNote:d.note,ipAddress:null}):this.ipReservation=this.ipReservation.filter(e=>e.macAddress===n.macAddress),this.openConfirmationDialog("success",d,0===this.ipReservation.length)):(this.refreshForm(),this.openConfirmationDialog("success",d,!0),this.changeTriggered=!1),this.ipAddressSettingsFormSubmitted=!1):this.openConfirmationDialog("error"),this.addIpAddressLoader=!1,this.deleteIpAddressLoader=!1},e=>{console.log("Error occurred while changing/adding IP Settings address: ",e),this.addIpAddressLoader=!1,this.deleteIpAddressLoader=!1,this.openConfirmationDialog("error")})}}refreshForm(){var e,t,s,i,r;this.clearValidators(),null===(e=this.ipAddressSettingsForm.get("macAddress"))||void 0===e||e.setValue(""),null===(t=this.ipAddressSettingsForm.get("note"))||void 0===t||t.setValue(""),null===(s=this.ipAddressSettingsForm.get("open"))||void 0===s||s.enable(),null===(i=this.ipAddressSettingsForm.get("restrictedDynamic"))||void 0===i||i.enable(),null===(r=this.ipAddressSettingsForm.get("restrictedStatic"))||void 0===r||r.enable()}removeNullValues(e){return Object.keys(e).reduce((t,s)=>(null!==e[s]&&(t[s]=e[s]),t),{})}openConfirmationDialog(e,t,s){this.dialog.open(l.k,{width:"812px",hasBackdrop:!1,panelClass:["global-dialog","gd-v3","text-align-center","confirmation-dialog-v3"],data:{image:"success"===e?"assets/img/success-dialog-icon.svg":"assets/img/unsuccess-dialog-icon.svg",desc:this.trs.trsTs("success"===e?t.action===p.ADD?"ipAddressSettings.ipAddressAdded":"ipAddressSettings.ipAddressDeleted":"httpErrorCode.ipAddress409"),close:this.trs.trsTs("close")}}).afterClosed().subscribe(()=>{s&&(this.isIpSettingsLoaded=!1,this.fetchIPSettings())})}ngOnDestroy(){this.internetService.ipAddressDetails=void 0,this.subscriptions.unsubscribe(),this.internetService.serviceError=!1}}return e.\u0275fac=function(t){return new(t||e)(g.Y36(u.v),g.Y36(o.qu),g.Y36(h.D),g.Y36(A.v),g.Y36(m.W),g.Y36(v.uw))},e.\u0275cmp=g.Xpm({type:e,selectors:[["app-ip-address-settings"]],decls:2,vars:2,consts:[["class","page-spinner",4,"ngIf"],[4,"ngIf"],[1,"page-spinner"],[3,"mode","strokeWidth","diameter"],[1,"no-user-available-content","text-align-center"],[1,"mb-45"],["src","assets/img/no-user-available.png","alt","no user available"],[1,"font-size-16","font-bold"],[1,"ip-address-settings-page","gp-pt-70"],[1,"container-460"],["class","font-size-14 font-light mb-30",3,"innerHTML",4,"ngIf"],[1,"font-size-14","font-bold","mb-25"],[3,"formGroup"],[1,"slide-wrapper"],[1,"font-size-14","font-bold"],["formControlName","open",1,"global-mat-slide-toggle",3,"change"],[1,"slide-wrapper","restricted"],["formControlName","restrictedDynamic",1,"global-mat-slide-toggle",3,"change"],["formControlName","restrictedStatic",1,"global-mat-slide-toggle",3,"change"],[1,"font-size-14","font-light","mb-30",3,"innerHTML"],[1,"relative"],["floatLabel","never",1,"style-type-v3","reset-margin"],["matInput","","autocomplete","off","type","text","formControlName","macAddress",3,"readonly"],["floatLabel","never",1,"style-type-v3","reset-margin","note"],["matInput","","autocomplete","off","type","text","formControlName","note",3,"readonly"],[1,"text-align-center","mb-35"],[1,"radius16","btn-1-v3","bg-main","ladda-fix-v3","black-with-ladda",3,"ladda","disabled","click"],["class","error-v3",4,"ngIf"],[1,"error-v3"],["class","error-v3 note-error",4,"ngIf"],[1,"error-v3","note-error"],[1,"font-size-14","font-light","mb-10"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[1,"mat-accordion-v3","internet-subs-acc","custom-arrow"],[1,"with-radius"],[3,"collapsedHeight","expandedHeight"],[1,"font-size-11","font-medium","text-color-10"],[1,"accordion-content"],[1,"font-size-14","font-bold","mb-40"],[1,"text-align-center","mb-10"],[1,"radius16","btn-1-v3","bg-main","ladda-fix-v3","black-with-ladda",3,"ladda","click"]],template:function(e,t){1&e&&(g.YNc(0,T,2,3,"div",0),g.YNc(1,_,3,2,"ng-container",1)),2&e&&(g.Q6J("ngIf",!t.isIpSettingsLoaded),g.xp6(1),g.Q6J("ngIf",t.isIpSettingsLoaded))},directives:[i.O5,S.Ou,o._Y,o.JL,o.sg,f.Rr,o.JJ,o.u,b.KE,I.Nt,o.Fj,Z.d_,b.TO,i.sg,i.mk,F.pp,F.ib,F.yz,F.yK],pipes:[D.X$],styles:[".slide-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding-left:10px;margin-bottom:30px}.slide-wrapper.restricted[_ngcontent-%COMP%]{margin-bottom:70px}.mat-form-field-type-mat-input[_ngcontent-%COMP%]{margin-bottom:20px}.mat-form-field-type-mat-input.note[_ngcontent-%COMP%]{margin-bottom:40px}.error-v3[_ngcontent-%COMP%]{bottom:-40px}.note-error[_ngcontent-%COMP%]{bottom:-20px}"]}),e})()}];let Y=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=g.oAB({type:e}),e.\u0275inj=g.cJS({imports:[[i.ez,r.Bz.forChild(k),n.m,d.p0,Z.o5,F.To],r.Bz]}),e})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.