1"use strict";(self.webpackChunke_care=self.webpackChunke_care||[]).push([[2228],{96290:function(t,e,n){n.d(e,{i:function(){return o}});var i=n(37716);let o=(()=>{class t{transform(t){const e=new Intl.NumberFormat("de-DE",{minimumFractionDigits:2,maximumFractionDigits:2}).format(t);if("NaN"===e){t=t.replace(",",".");const e=parseFloat(t);return new Intl.NumberFormat("de-DE",{minimumFractionDigits:2,maximumFractionDigits:2}).format(e)}return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"formatPriceTwoFractionDigits",type:t,pure:!0}),t})()},72228:function(t,e,n){n.r(e),n.d(e,{ConsumptionModule:function(){return S}});var i=n(38583),o=n(54655),c=n(41075),r=n(25885),s=n(37716),a=n(26684),m=n(32751),u=n(8481),p=n(34541),l=n(29790),g=n(96290);function f(t,e){if(1&t&&(s.ynx(0),s.TgZ(1,"p",7),s._uU(2),s.TgZ(3,"span",5),s._uU(4),s.ALo(5,"formatPriceTwoFractionDigits"),s.TgZ(6,"span",6),s._uU(7),s.qZA(),s.qZA(),s.qZA(),s.BQk()),2&t){const t=e.$implicit,n=s.oxw(2);s.xp6(2),s.hij("",t.name," "),s.xp6(2),s.hij("",s.lcZ(5,3,t.amount)," "),s.xp6(3),s.Oqu(n.config.currencySymbol)}}function h(t,e){if(1&t&&(s.ynx(0),s.TgZ(1,"article",1),s.TgZ(2,"header"),s.TgZ(3,"h2"),s._uU(4),s.ALo(5,"titlecase"),s.qZA(),s.qZA(),s.TgZ(6,"div",2),s.YNc(7,f,8,5,"ng-container",3),s.TgZ(8,"p",4),s._uU(9),s.ALo(10,"translate"),s.TgZ(11,"span",5),s._uU(12),s.ALo(13,"formatPriceTwoFractionDigits"),s.TgZ(14,"span",6),s._uU(15),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.BQk()),2&t){const t=s.oxw();s.xp6(4),s.Oqu(s.lcZ(5,5,t.contractDetailsService.currentMonth)),s.xp6(3),s.Q6J("ngForOf",t.contractDetailsService.itemCharges),s.xp6(2),s.hij("",s.lcZ(10,7,"consumption.total")," "),s.xp6(3),s.hij("",s.lcZ(13,9,t.total)," "),s.xp6(3),s.Oqu(t.config.currencySymbol)}}function v(t,e){1&t&&(s.ynx(0),s.TgZ(1,"div",8),s.TgZ(2,"div",9),s._UZ(3,"img",10),s.qZA(),s.TgZ(4,"p",11),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.BQk()),2&t&&(s.xp6(5),s.Oqu(s.lcZ(6,1,"consumption.noData")))}const Z=[{path:"",redirectTo:"consumption"},{path:"consumption",component:(()=>{class t{constructor(t,e,n,i){this.commonService=t,this.contractDetailsService=e,this.trs=n,this.customerService=i,this.config=r.v,this.total=0,this.commonService.setPageTitle(this.trs.trsTs("consumption.pageTitle"),"consumption-page"),this.commonService.isPageSubtitleActivated=!0,this.commonService.isBackButtonActivated=!0,this.commonService.pageSubtitle=this.customerService.selectedContractObj.contractMsisdn}ngOnInit(){this.sumTotalAmount()}sumTotalAmount(){return this.contractDetailsService.itemCharges.forEach(t=>{this.total+=Number(t.amount)}),this.total}ngOnDestroy(){this.commonService.isBackButtonActivated=!1,this.commonService.isPageSubtitleActivated=!1,this.commonService.pageTitle="",this.commonService.pageSubtitle="",this.commonService.setPageTitle("","")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(a.v),s.Y36(m.T),s.Y36(u.D),s.Y36(p.v))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-consumption"]],decls:2,vars:2,consts:[[4,"ngIf"],[1,"consumption-card"],[1,"content"],[4,"ngFor","ngForOf"],[1,"total","font-size-16","font-bold"],[1,"price","font-size-14"],[1,"currency"],[1,"font-size-16"],[1,"error-wrapper","no-data"],[1,"mt-40","mb-60"],["src","assets/img/payments-empty-icon.svg","alt","empty payment"],[1,"font-bold","font-size-16"]],template:function(t,e){1&t&&(s.YNc(0,h,16,11,"ng-container",0),s.YNc(1,v,7,3,"ng-container",0)),2&t&&(s.Q6J("ngIf",e.contractDetailsService.itemCharges),s.xp6(1),s.Q6J("ngIf",!e.contractDetailsService.itemCharges))},directives:[i.O5,i.sg],pipes:[i.rS,l.X$,g.i],encapsulation:2}),t})()}];let S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ez,o.Bz.forChild(Z),c.m],o.Bz]}),t})()}}]);
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.