PageSourceSearch

https://telemach.hr/account/233-es2015.54e25cb9b682c7ff02f0.js

js telemach.hr collected 2026-10-02 05:53:35 UTC 32,779 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunke_care=self.webpackChunke_care||[]).push([[233],{75367:function(e,t,l){l.d(t,{x:function(){return s}});var r=l(37716),a=l(38583);let s=(()=>{class e{constructor(){this.iconName="",this.text="",this.titleClass=""}ngOnInit(){}getTitleClass(){return this.titleClass?this.titleClass:"title-3"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-no-data"]],inputs:{iconName:"iconName",text:"text",titleClass:"titleClass"},decls:5,vars:4,consts:[[1,"error-wrapper","no-data"],[1,"mt-40","mb-60"],[3,"src","alt"],[1,"font-bold",3,"ngClass"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r._UZ(2,"img",2),r.qZA(),r.TgZ(3,"p",3),r._uU(4),r.qZA(),r.qZA()),2&e&&(r.xp6(2),r.MGl("src","assets/img/",t.iconName,"",r.LSH),r.s9C("alt",t.iconName),r.xp6(1),r.Q6J("ngClass",t.getTitleClass()),r.xp6(1),r.Oqu(t.text))},directives:[a.mk],styles:[""]}),e})()},90233:function(e,t,l){l.r(t),l.d(t,{DashboardModule:function(){return ae}});var r=l(25885),a=l(3679),s=(()=>{return(e=s||(s={})).CALLS_FIXED="CallsFixed",e.CALLS_NOVA="CallsNova",e.CALLS_TELEMACH="CallsTelemach",e.CALLS_OTHER_NATIONAL_NETWORKS="CallsOtherNationalNetworks",e.DATA="Data",e.OTHER="Other",e.SMS_MMS="SmsMms",s;var e})(),c=l(37716),o=l(48727),i=l(8481),n=l(14112),u=l(38583),d=l(4885),m=l(98295),p=l(67441),S=l(82613),g=l(72458),v=l(43220),f=l(95987),T=l(76627),h=l(29790);function y(e,t){if(1&e&&(c.TgZ(0,"div",9),c._uU(1),c.qZA()),2&e){const e=c.oxw();c.xp6(1),c.Oqu(e.duration)}}function R(e,t){1&e&&c._UZ(0,"div",9)}function Z(e,t){if(1&e&&(c.TgZ(0,"div",13),c.TgZ(1,"div",14),c.TgZ(2,"div",15),c.TgZ(3,"div",16),c._UZ(4,"div",17),c.qZA(),c.qZA(),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"div",9),c._uU(8),c.qZA(),c.qZA()),2&e){const e=c.oxw(2);c.xp6(5),c.hij(" ",c.lcZ(6,2,"usageSummary.callDurationInsidePlan")," "),c.xp6(3),c.Oqu(e.insidePlanDuration)}}function C(e,t){if(1&e&&(c.TgZ(0,"div",18),c.TgZ(1,"div",14),c.TgZ(2,"div",15),c.TgZ(3,"div",16),c._UZ(4,"div",19),c.qZA(),c.qZA(),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"div",9),c._uU(8),c.qZA(),c.qZA()),2&e){const e=c.oxw(2);c.xp6(5),c.hij(" ",c.lcZ(6,2,"usageSummary.callDurationOutsidePlan")," "),c.xp6(3),c.Oqu(e.outsidePlanDuration)}}function x(e,t){if(1&e&&(c.TgZ(0,"div",10),c.YNc(1,Z,9,4,"div",11),c.YNc(2,C,9,4,"div",12),c.qZA()),2&e){const e=c.oxw();c.xp6(1),c.Q6J("ngIf",e.insidePlanDuration),c.xp6(1),c.Q6J("ngIf",e.outsidePlanDuration)}}let A=(()=>{class e{constructor(){this.config=r.v,this.eCallRecords=s}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-usage-summary-list-card"]],inputs:{title:"title",duration:"duration",insidePlanDuration:"insidePlanDuration",outsidePlanDuration:"outsidePlanDuration",callRecordType:"callRecordType"},decls:11,vars:5,consts:[[1,"category-item","mb-20"],[1,"link",3,"routerLink"],[1,"flex-layout","flex-center"],[1,"title"],["class","desc ml-auto",4,"ngIf","ngIfElse"],["elseBlock",""],[1,"debt-arrow-right"],["svgIcon","arrow-right-icon",1,"arrow-right","blue"],["class","content",4,"ngIf"],[1,"desc","ml-auto"],[1,"content"],["class","flex-layout mb-8",4,"ngIf"],["class","flex-layout",4,"ngIf"],[1,"flex-layout","mb-8"],[1,"title","flex-layout"],[1,"charge-wrapper"],[1,"stats-info"],[1,"monthly-charge"],[1,"flex-layout"],[1,"extra-charge"]],template:function(e,t){if(1&e&&(c.TgZ(0,"article",0),c.TgZ(1,"a",1),c.TgZ(2,"header",2),c.TgZ(3,"div",3),c._uU(4),c.qZA(),c.YNc(5,y,2,1,"div",4),c.YNc(6,R,1,0,"ng-template",null,5,c.W1O),c.TgZ(8,"span",6),c._UZ(9,"mat-icon",7),c.qZA(),c.qZA(),c.qZA(),c.YNc(10,x,3,2,"div",8),c.qZA()),2&e){const e=c.MAs(7);c.xp6(1),c.Q6J("routerLink","./category-listing/"+t.callRecordType),c.xp6(3),c.Oqu(t.title),c.xp6(1),c.Q6J("ngIf","GR"===t.config.defaultLang||"GR"!==t.config.defaultLang&&t.callRecordType!==t.eCallRecords.OTHER)("ngIfElse",e),c.xp6(5),c.Q6J("ngIf",(t.insidePlanDuration||t.outsidePlanDuration)&&("GR"===t.config.defaultLang||"GR"!==t.config.defaultLang&&t.callRecordType!==t.eCallRecords.OTHER))}},directives:[f.yS,u.O5,T.Hw],pipes:[h.X$],encapsulation:2}),e})();var D=l(75367);function L(e,t){if(1&e&&(c.TgZ(0,"div",3),c._UZ(1,"mat-progress-spinner",4),c.qZA()),2&e){const e=c.oxw();c.xp6(1),c.Q6J("mode",e.commonService.mode)("strokeWidth",2)("diameter",80)}}function N(e,t){if(1&e&&(c.TgZ(0,"mat-option",13),c.TgZ(1,"mat-radio-button",14),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()),2&e){const e=c.oxw(4);c.Q6J("value",e.eCallRecords.CALLS_FIXED),c.xp6(1),c.Q6J("value",e.eCallRecords.CALLS_FIXED)("checked",e.customerService.filterRecordUsageSummary===e.eCallRecords.CALLS_FIXED),c.xp6(1),c.hij(" ",c.lcZ(3,4,"usageSummary.selectFixed")," ")}}function O(e,t){if(1&e&&(c.TgZ(0,"mat-option",13),c.TgZ(1,"mat-radio-button",14),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()),2&e){const e=c.oxw(4);c.Q6J("value",e.eCallRecords.CALLS_NOVA),c.xp6(1),c.Q6J("value",e.eCallRecords.CALLS_NOVA)("checked",e.customerService.filterRecordUsageSummary===e.eCallRecords.CALLS_NOVA),c.xp6(1),c.hij(" ",c.lcZ(3,4,"usageSummary.selectNova")," ")}}function J(e,t){if(1&e&&(c.TgZ(0,"mat-option",13),c.TgZ(1,"mat-radio-button",14),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()),2&e){const e=c.oxw(4);c.Q6J("value",e.eCallRecords.CALLS_TELEMACH),c.xp6(1),c.Q6J("value",e.eCallRecords.CALLS_TELEMACH)("checked",e.customerService.filterRecordUsageSummary===e.eCallRecords.CALLS_TELEMACH),c.xp6(1),c.hij(" ",c.lcZ(3,4,"usageSummary.selectNova")," ")}}function q(e,t){if(1&e&&(c.TgZ(0,"mat-option",13),c.TgZ(1,"mat-radio-button",14),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()),2&e){const e=c.oxw(4);c.Q6J("value",e.eCallRecords.CALLS_OTHER_NATIONAL_NETWORKS),c.xp6(1),c.Q6J("value",e.eCallRecords.CALLS_OTHER_NATIONAL_NETWORKS)("checked",e.customerService.filterRecordUsageSummary===e.eCallRecords.CALLS_OTHER_NATIONAL_NETWORKS),c.xp6(1),c.hij(" ",c.lcZ(3,4,"usageSummary.selectCallOther")," ")}}function Q(e,t){if(1&e&&(c.TgZ(0,"mat-option",13),c.TgZ(1,"mat-radio-button",14),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()),2&e){const e=c.oxw(4);c.Q6J("value",e.eCallRecords.DATA),c.xp6(1),c.Q6J("value",e.eCallRecords.DATA)("checked",e.customerService.filterRecordUsageSummary===e.eCallRecords.DATA),c.xp6(1),c.hij(" ",c.lcZ(3,4,"usageSummary.selectData")," ")}}function _(e,t){if(1&e&&(c.TgZ(0,"mat-option",13),c.TgZ(1,"mat-radio-button",14),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()),2&e){const e=c.oxw(4);c.Q6J("value",e.eCallRecords.OTHER),c.xp6(1),c.Q6J("value",e.eCallRecords.OTHER)("checked",e.customerService.filterRecordUsageSummary===e.eCallRecords.OTHER),c.xp6(1),c.hij(" ",c.lcZ(3,4,"usageSummary.selectOther")," ")}}function M(e,t){if(1&e&&(c.TgZ(0,"mat-option",13),c.TgZ(1,"mat-radio-button",14),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()),2&e){const e=c.oxw(4);c.Q6J("value",e.eCallRecords.SMS_MMS),c.xp6(1),c.Q6J("value",e.eCallRecords.SMS_MMS)("checked",e.customerService.filterRecordUsageSummary===e.eCallRecords.SMS_MMS),c.xp6(1),c.hij(" ",c.lcZ(3,4,"usageSummary.selectSmsMms")," ")}}function U(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",9),c.TgZ(1,"mat-form-field",10),c.TgZ(2,"mat-label"),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.TgZ(5,"mat-select",11),c.NdJ("selectionChange",function(t){return c.CHM(e),c.oxw(3).recordsSelectionChanged(t.value)}),c.TgZ(6,"mat-radio-group",12),c.TgZ(7,"mat-option",13),c.TgZ(8,"mat-radio-button",14),c._uU(9),c.ALo(10,"translate"),c.qZA(),c.qZA(),c.YNc(11,N,4,6,"mat-option",15),c.YNc(12,O,4,6,"mat-option",15),c.YNc(13,J,4,6,"mat-option",15),c.YNc(14,q,4,6,"mat-option",15),c.YNc(15,Q,4,6,"mat-option",15),c.YNc(16,_,4,6,"mat-option",15),c.YNc(17,M,4,6,"mat-option",15),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=c.oxw(3);c.xp6(3),c.Oqu(c.lcZ(4,14,"usageSummary.selectServiceTypeTitle")),c.xp6(2),c.Q6J("value",e.customerService.filterRecordUsageSummary)("panelClass","usage-summary-select"),c.xp6(2),c.Q6J("value","all"),c.xp6(1),c.Q6J("value","all")("checked","all"===e.customerService.filterRecordUsageSummary),c.xp6(1),c.hij(" ",c.lcZ(10,16,"usageSummary.selectAll")," "),c.xp6(2),c.Q6J("ngIf",null==e.customerService||null==e.customerService.callRecords||null==e.customerService.callRecords.Type||null==e.customerService.callRecords.Type.CallsFixed||null==e.customerService.callRecords.Type.CallsFixed.Calls?null:e.customerService.callRecords.Type.CallsFixed.Calls.length),c.xp6(1),c.Q6J("ngIf",null==e.customerService||null==e.customerService.callRecords||null==e.customerService.callRecords.Type||null==e.customerService.callRecords.Type.CallsNova||null==e.customerService.callRecords.Type.CallsNova.Calls?null:e.customerService.callRecords.Type.CallsNova.Calls.length),c.xp6(1),c.Q6J("ngIf",null==e.customerService||null==e.customerService.callRecords||null==e.customerService.callRecords.Type||null==e.customerService.callRecords.Type.CallsTelemach||null==e.customerService.callRecords.Type.CallsTelemach.Calls?null:e.customerService.callRecords.Type.CallsTelemach.Calls.length),c.xp6(1),c.Q6J("ngIf",null==e.customerService||null==e.customerService.callRecords||null==e.customerService.callRecords.Type||null==e.customerService.callRecords.Type.CallsOtherNationalNetworks||null==e.customerService.callRecords.Type.CallsOtherNationalNetworks.Calls?null:e.customerService.callRecords.Type.CallsOtherNationalNetworks.Calls.length),c.xp6(1),c.Q6J("ngIf",null==e.customerService||null==e.customerService.callRecords||null==e.customerService.callRecords.Type||null==e.customerService.callRecords.Type.Data||null==e.customerService.callRecords.Type.Data.Data?null:e.customerService.callRecords.Type.Data.Data.length),c.xp6(1),c.Q6J("ngIf",null==e.customerService||null==e.customerService.callRecords||null==e.customerService.callRecords.Type||null==e.customerService.callRecords.Type.Other||null==e.customerService.callRecords.Type.Other.Other?null:e.customerService.callRecords.Type.Other.Other.length),c.xp6(1),c.Q6J("ngIf",null==e.customerService||null==e.customerService.callRecords||null==e.customerService.callRecords.Type||null==e.customerService.callRecords.Type.SmsMms||null==e.customerService.callRecords.Type.SmsMms.SmsMms?null:e.customerService.callRecords.Type.SmsMms.SmsMms.length)}}function I(e,t){if(1&e&&(c.ynx(0),c.YNc(1,U,18,18,"div",8),c.BQk()),2&e){const e=c.oxw(2);let t;c.xp6(1),c.Q6J("ngIf",0!==(null==(t=e.object.keys(null==e.customerService||null==e.customerService.callRecords?null:e.customerService.callRecords.Type))?null:t.length))}}function w(e,t){if(1&e){const e=c.EpF();c.ynx(0),c.TgZ(1,"div",17),c.TgZ(2,"mat-form-field",10),c.TgZ(3,"mat-label"),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.TgZ(6,"mat-select",11),c.NdJ("selectionChange",function(t){return c.CHM(e),c.oxw(3).filterMsisdn(t.value)}),c.TgZ(7,"mat-radio-group",12),c.TgZ(8,"mat-option",13),c.TgZ(9,"mat-radio-button",14),c._uU(10),c.qZA(),c.qZA(),c.TgZ(11,"mat-option",13),c.TgZ(12,"mat-radio-button",14),c._uU(13),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.BQk()}if(2&e){const e=c.oxw(3);c.xp6(4),c.Oqu(c.lcZ(5,11,"usageSummary.selectNumber")),c.xp6(2),c.Q6J("value",e.msisdnSelected)("panelClass","usage-summary-select"),c.xp6(2),c.Q6J("value",e.msisdn1),c.xp6(1),c.Q6J("value",e.msisdn1)("checked",e.msisdnSelected===e.msisdn1),c.xp6(1),c.hij(" ",e.msisdn1," "),c.xp6(1),c.Q6J("value",e.msisdn),c.xp6(1),c.Q6J("value",e.msisdn)("checked",e.msisdnSelected===e.msisdn),c.xp6(1),c.hij(" ",e.msisdn," ")}}function b(e,t){if(1&e&&(c.TgZ(0,"mat-option",13),c.TgZ(1,"mat-radio-button",14),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()),2&e){const e=c.oxw(3);c.Q6J("value","CallsFixed"),c.xp6(1),c.Q6J("value","CallsFixed")("checked","CallsFixed"===e.serviceTypeSelected),c.xp6(1),c.hij(" ",c.lcZ(3,4,"usageSummary.selectFixed")," ")}}function k(e,t){if(1&e&&(c.TgZ(0,"mat-option",13),c.TgZ(1,"mat-radio-button",14),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()),2&e){const e=c.oxw(3);c.Q6J("value","CallsTelemach"),c.xp6(1),c.Q6J("value","CallsTelemach")("checked","CallsTelemach"===e.serviceTypeSelected),c.xp6(1),c.hij(" ",c.lcZ(3,4,"usageSummary.selectNova")," ")}}function F(e,t){if(1&e&&(c.TgZ(0,"mat-option",13),c.TgZ(1,"mat-radio-button",14),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()),2&e){const e=c.oxw(3);c.Q6J("value","Data"),c.xp6(1),c.Q6J("value","Data")("checked","Data"===e.serviceTypeSelected),c.xp6(1),c.hij(" ",c.lcZ(3,4,"usageSummary.selectData")," ")}}function E(e,t){if(1&e&&(c.TgZ(0,"mat-option",13),c.TgZ(1,"mat-radio-button",14),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()),2&e){const e=c.oxw(3);c.Q6J("value","Other"),c.xp6(1),c.Q6J("value","Other")("checked","Other"===e.serviceTypeSelected),c.xp6(1),c.hij(" ",c.lcZ(3,4,"usageSummary.selectOther")," ")}}function Y(e,t){if(1&e&&(c.TgZ(0,"mat-option",13),c.TgZ(1,"mat-radio-button",14),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()),2&e){const e=c.oxw(3);c.Q6J("value","SmsMms"),c.xp6(1),c.Q6J("value","SmsMms")("checked","SmsMms"===e.serviceTypeSelected),c.xp6(1),c.hij(" ",c.lcZ(3,4,"usageSummary.selectSmsMms")," ")}}function P(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",16),c.YNc(1,w,14,13,"ng-container",6),c.TgZ(2,"div",17),c.TgZ(3,"mat-form-field",10),c.TgZ(4,"mat-label"),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"mat-select",11),c.NdJ("selectionChange",function(t){return c.CHM(e),c.oxw(2).filterService(t.value)}),c.TgZ(8,"mat-radio-group",12),c.TgZ(9,"mat-option",13),c.TgZ(10,"mat-radio-button",14),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.qZA(),c.YNc(13,b,4,6,"mat-option",15),c.YNc(14,k,4,6,"mat-option",15),c.YNc(15,F,4,6,"mat-option",15),c.YNc(16,E,4,6,"mat-option",15),c.YNc(17,Y,4,6,"mat-option",15),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(18,"div",17),c.TgZ(19,"mat-form-field",10),c.TgZ(20,"mat-label"),c._uU(21),c.ALo(22,"translate"),c.qZA(),c.TgZ(23,"mat-select",18),c.NdJ("valueChange",function(t){return c.CHM(e),c.oxw(2).priceSelected=t})("selectionChange",function(t){return c.CHM(e),c.oxw(2).filterPrice(t.value)}),c.TgZ(24,"mat-radio-group",19),c.TgZ(25,"mat-option",13),c.TgZ(26,"mat-radio-button",14),c._uU(27),c.ALo(28,"translate"),c.qZA(),c.qZA(),c.TgZ(29,"mat-option",13),c.TgZ(30,"mat-radio-button",14),c._uU(31),c.ALo(32,"translate"),c.qZA(),c.qZA(),c.TgZ(33,"mat-option",13),c.TgZ(34,"mat-radio-button",14),c._uU(35),c.ALo(36,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(37,"div",17),c.TgZ(38,"form",20),c.TgZ(39,"mat-form-field",21),c.NdJ("click",function(){return c.CHM(e),c.MAs(50).open()}),c.TgZ(40,"mat-label"),c._uU(41),c.ALo(42,"translate"),c.qZA(),c.TgZ(43,"mat-date-range-input",22),c._UZ(44,"input",23),c.ALo(45,"translate"),c.TgZ(46,"input",24),c.NdJ("dateInput",function(){return c.CHM(e),c.oxw(2).submitDate()}),c.ALo(47,"translate"),c.qZA(),c.qZA(),c._UZ(48,"mat-datepicker-toggle",25),c._UZ(49,"mat-date-range-picker",null,26),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=c.MAs(50),t=c.oxw(2);c.xp6(1),c.Q6J("ngIf",t.hasDifferentMsisdn),c.xp6(4),c.Oqu(c.lcZ(6,36,"usageSummary.selectServiceTypeTitle")),c.xp6(2),c.Q6J("value","all")("panelClass","usage-summary-select"),c.xp6(2),c.Q6J("value","all"),c.xp6(1),c.Q6J("value","all")("checked","all"===t.serviceTypeSelected),c.xp6(1),c.hij(" ",c.lcZ(12,38,"usageSummary.selectAll")," "),c.xp6(2),c.Q6J("ngIf",t.customerService.callRecords.Type.CallsFixed&&t.customerService.callRecords.Type.CallsFixed.Calls&&t.customerService.callRecords.Type.CallsFixed.Calls.length),c.xp6(1),c.Q6J("ngIf",t.customerService.callRecords.Type.CallsTelemach&&t.customerService.callRecords.Type.CallsTelemach.Calls&&t.customerService.callRecords.Type.CallsTelemach.Calls.length),c.xp6(1),c.Q6J("ngIf",t.customerService.callRecords.Type.Data&&t.customerService.callRecords.Type.Data.Data&&t.customerService.callRecords.Type.Data.Data.length),c.xp6(1),c.Q6J("ngIf",t.customerService.callRecords.Type.Other&&t.customerService.callRecords.Type.Other.Other&&t.customerService.callRecords.Type.Other.Other.length),c.xp6(1),c.Q6J("ngIf",t.customerService.callRecords.Type.SmsMms&&t.customerService.callRecords.Type.SmsMms.SmsMms&&t.customerService.callRecords.Type.SmsMms.SmsMms.length),c.xp6(4),c.Oqu(c.lcZ(22,40,"usageSummary.selectServiceTypePrice")),c.xp6(2),c.Q6J("value",t.priceSelected)("panelClass","usage-summary-select"),c.xp6(2),c.Q6J("value","all"),c.xp6(1),c.Q6J("value","all")("checked","all"===t.priceSelected),c.xp6(1),c.hij(" ",c.lcZ(28,42,"usageSummary.sele
1ctAll")," "),c.xp6(2),c.Q6J("value","free"),c.xp6(1),c.Q6J("value","free")("checked","free"===t.priceSelected),c.xp6(1),c.hij(" ",c.lcZ(32,44,"usageSummary.freeOfCharge")," "),c.xp6(2),c.Q6J("value","notFree"),c.xp6(1),c.Q6J("value","notFree")("checked","notFree"===t.priceSelected),c.xp6(1),c.hij(" ",c.lcZ(36,46,"usageSummary.charged")," "),c.xp6(3),c.Q6J("formGroup",t.dateRangeForm),c.xp6(3),c.Oqu(c.lcZ(42,48,"usageSummary.selectServiceTypeTitlePeriod")),c.xp6(2),c.Q6J("rangePicker",e)("min",t.minDate)("max",t.maxDate),c.xp6(1),c.s9C("placeholder",c.lcZ(45,50,"usageSummary.startDate")),c.xp6(2),c.s9C("placeholder",c.lcZ(47,52,"usageSummary.endDate")),c.xp6(2),c.Q6J("for",e)}}function j(e,t){if(1&e&&(c.ynx(0),c._UZ(1,"app-usage-summary-list-card",27),c.ALo(2,"translate"),c.BQk()),2&e){const e=c.oxw(4);c.xp6(1),c.Q6J("title",c.lcZ(2,5,"usageSummary.callTitleLandLine"))("duration",e.customerService.filteredRecords.Type.CallsNova.callsDurationTotal)("insidePlanDuration",e.customerService.filteredRecords.Type.CallsNova.callsDurationFree)("outsidePlanDuration",e.customerService.filteredRecords.Type.CallsNova.callsDurationCharged)("callRecordType",e.eCallRecords.CALLS_NOVA)}}function H(e,t){if(1&e&&(c.ynx(0),c._UZ(1,"app-usage-summary-list-card",27),c.ALo(2,"translate"),c.BQk()),2&e){const e=c.oxw(4);c.xp6(1),c.Q6J("title",c.lcZ(2,5,"usageSummary.callTitleLandLine"))("duration","all"===e.priceSelected?e.customerService.filteredRecords.Type.CallsTelemach.callsDurationTotal:"free"===e.priceSelected?e.customerService.filteredRecords.Type.CallsTelemach.callsDurationFree:e.customerService.filteredRecords.Type.CallsTelemach.callsDurationCharged)("insidePlanDuration",e.customerService.filteredRecords.Type.CallsTelemach.callsDurationFree)("outsidePlanDuration",e.customerService.filteredRecords.Type.CallsTelemach.callsDurationCharged)("callRecordType",e.eCallRecords.CALLS_TELEMACH)}}function B(e,t){if(1&e&&(c.ynx(0),c._UZ(1,"app-usage-summary-list-card",27),c.ALo(2,"translate"),c.BQk()),2&e){const e=c.oxw(4);c.xp6(1),c.Q6J("title",c.lcZ(2,5,"usageSummary.callOtherTitle"))("duration",e.customerService.filteredRecords.Type.CallsOtherNationalNetworks.callsDurationTotal)("insidePlanDuration",e.customerService.filteredRecords.Type.CallsOtherNationalNetworks.callsDurationFree)("outsidePlanDuration",e.customerService.filteredRecords.Type.CallsOtherNationalNetworks.callsDurationCharged)("callRecordType",e.eCallRecords.CALLS_OTHER_NATIONAL_NETWORKS)}}function G(e,t){if(1&e&&(c.ynx(0),c._UZ(1,"app-usage-summary-list-card",27),c.ALo(2,"translate"),c.BQk()),2&e){const e=c.oxw(4);c.xp6(1),c.Q6J("title",c.lcZ(2,5,"usageSummary.callTitleNova"))("duration",e.customerService.filteredRecords.Type.CallsFixed.callsDurationTotal)("insidePlanDuration",e.customerService.filteredRecords.Type.CallsFixed.callsDurationFree)("outsidePlanDuration",e.customerService.filteredRecords.Type.CallsFixed.callsDurationCharged)("callRecordType",e.eCallRecords.CALLS_FIXED)}}function X(e,t){if(1&e&&(c.ynx(0),c._UZ(1,"app-usage-summary-list-card",28),c.ALo(2,"translate"),c.BQk()),2&e){const e=c.oxw(4);c.xp6(1),c.Q6J("title",c.lcZ(2,3,"usageSummary.messageTitle"))("duration",e.customerService.filteredRecords.Type.SmsMms.SmsMms.length)("callRecordType",e.eCallRecords.SMS_MMS)}}function W(e,t){if(1&e&&(c.ynx(0),c._UZ(1,"app-usage-summary-list-card",28),c.ALo(2,"translate"),c.BQk()),2&e){const e=c.oxw(4);c.xp6(1),c.Q6J("title",c.lcZ(2,3,"usageSummary.dataTitle"))("duration","GR"===e.config.defaultLang?e.getMb(e.customerService.filteredRecords.Type.Data.Data):e.customerService.filteredRecords.Type.Data.dataTraffic)("callRecordType",e.eCallRecords.DATA)}}function V(e,t){if(1&e&&(c.ynx(0),c._UZ(1,"app-usage-summary-list-card",27),c.ALo(2,"translate"),c.BQk()),2&e){const e=c.oxw(4);c.xp6(1),c.Q6J("title",c.lcZ(2,5,"usageSummary.selectOther"))("duration",e.customerService.filteredRecords.Type.Other.callsDurationTotal)("insidePlanDuration",e.customerService.filteredRecords.Type.Other.callsDurationFree)("outsidePlanDuration",e.customerService.filteredRecords.Type.Other.callsDurationCharged)("callRecordType",e.eCallRecords.OTHER)}}function $(e,t){if(1&e&&(c.ynx(0),c.YNc(1,j,3,7,"ng-container",6),c.YNc(2,H,3,7,"ng-container",6),c.YNc(3,B,3,7,"ng-container",6),c.YNc(4,G,3,7,"ng-container",6),c.YNc(5,X,3,5,"ng-container",6),c.YNc(6,W,3,5,"ng-container",6),c.YNc(7,V,3,7,"ng-container",6),c.BQk()),2&e){const e=c.oxw(3);c.xp6(1),c.Q6J("ngIf",(null==e.customerService||null==e.customerService.filteredRecords||null==e.customerService.filteredRecords.Type||null==e.customerService.filteredRecords.Type.CallsNova||null==e.customerService.filteredRecords.Type.CallsNova.Calls?null:e.customerService.filteredRecords.Type.CallsNova.Calls.length)&&("all"===e.customerService.filterRecordUsageSummary||e.customerService.filterRecordUsageSummary===e.eCallRecords.CALLS_NOVA)),c.xp6(1),c.Q6J("ngIf",(null==e.customerService||null==e.customerService.filteredRecords||null==e.customerService.filteredRecords.Type||null==e.customerService.filteredRecords.Type.CallsTelemach||null==e.customerService.filteredRecords.Type.CallsTelemach.Calls?null:e.customerService.filteredRecords.Type.CallsTelemach.Calls.length)&&("all"===e.customerService.filterRecordUsageSummary||e.customerService.filterRecordUsageSummary===e.eCallRecords.CALLS_TELEMACH)),c.xp6(1),c.Q6J("ngIf",(null==e.customerService||null==e.customerService.filteredRecords||null==e.customerService.filteredRecords.Type||null==e.customerService.filteredRecords.Type.CallsOtherNationalNetworks||null==e.customerService.filteredRecords.Type.CallsOtherNationalNetworks.Calls?null:e.customerService.filteredRecords.Type.CallsOtherNationalNetworks.Calls.length)&&("all"===e.customerService.filterRecordUsageSummary||e.customerService.filterRecordUsageSummary===e.eCallRecords.CALLS_OTHER_NATIONAL_NETWORKS)),c.xp6(1),c.Q6J("ngIf",(null==e.customerService||null==e.customerService.filteredRecords||null==e.customerService.filteredRecords.Type||null==e.customerService.filteredRecords.Type.CallsFixed||null==e.customerService.filteredRecords.Type.CallsFixed.Calls?null:e.customerService.filteredRecords.Type.CallsFixed.Calls.length)&&("all"===e.customerService.filterRecordUsageSummary||e.customerService.filterRecordUsageSummary===e.eCallRecords.CALLS_FIXED)),c.xp6(1),c.Q6J("ngIf",(null==e.customerService||null==e.customerService.filteredRecords||null==e.customerService.filteredRecords.Type||null==e.customerService.filteredRecords.Type.SmsMms||null==e.customerService.filteredRecords.Type.SmsMms.SmsMms?null:e.customerService.filteredRecords.Type.SmsMms.SmsMms.length)&&("all"===e.customerService.filterRecordUsageSummary||e.customerService.filterRecordUsageSummary===e.eCallRecords.SMS_MMS)),c.xp6(1),c.Q6J("ngIf",(null==e.customerService||null==e.customerService.filteredRecords||null==e.customerService.filteredRecords.Type||null==e.customerService.filteredRecords.Type.Data||null==e.customerService.filteredRecords.Type.Data.Data?null:e.customerService.filteredRecords.Type.Data.Data.length)&&("all"===e.customerService.filterRecordUsageSummary||e.customerService.filterRecordUsageSummary===e.eCallRecords.DATA)),c.xp6(1),c.Q6J("ngIf",(null==e.customerService||null==e.customerService.filteredRecords||null==e.customerService.filteredRecords.Type||null==e.customerService.filteredRecords.Type.Other||null==e.customerService.filteredRecords.Type.Other.Other?null:e.customerService.filteredRecords.Type.Other.Other.length)&&("all"===e.customerService.filterRecordUsageSummary||e.customerService.filterRecordUsageSummary===e.eCallRecords.OTHER))}}function K(e,t){if(1&e&&(c.ynx(0),c.YNc(1,$,8,7,"ng-container",6),c.BQk()),2&e){const e=c.oxw(2);let t;c.xp6(1),c.Q6J("ngIf",0!==(null==(t=e.object.keys(null==e.customerService||null==e.customerService.filteredRecords?null:e.customerService.filteredRecords.Type))?null:t.length))}}function z(e,t){if(1&e&&(c.TgZ(0,"div",5),c.YNc(1,I,2,1,"ng-container",6),c.YNc(2,P,51,54,"div",7),c.YNc(3,K,2,1,"ng-container",6),c.qZA()),2&e){const e=c.oxw();c.xp6(1),c.Q6J("ngIf",!e.noRecords()&&("GR"===e.config.defaultLang||"BG"===e.config.defaultLang)),c.xp6(1),c.Q6J("ngIf","GR"!==e.config.defaultLang&&"BG"!==e.config.defaultLang),c.xp6(1),c.Q6J("ngIf",!e.noRecords())}}function ee(e,t){1&e&&(c._UZ(0,"app-no-data",29),c.ALo(1,"translate")),2&e&&c.Q6J("iconName","payments-empty-icon.svg")("text",c.lcZ(1,2,"noRecords"))}let te=(()=>{class e{constructor(e,t,l,a,c,o){this.commonService=e,this.trs=t,this.renderer=l,this.customerService=a,this.formBuilder=c,this.elRef=o,this.object=Object,this.config=r.v,this.serviceTypeSelected="all",this.priceSelected="all",this.msisdnSelected="",this.position="",this.position1="",this.msisdn="",this.msisdn1="",this.hasDifferentMsisdn=!1,this.eCallRecords=s,this.commonService.setPageTitle(this.trs.trsTs("bills.billDetailCard.usageSummary"),"bills-usage-summary"),this.renderer.addClass(document.body,"select-with-radio-v3-body"),this.renderer.addClass(document.body,"calendar-picker-body")}ngOnInit(){const e=(new Date).getFullYear();
1this.minDate=new Date(e-1,0,1),this.maxDate=new Date(e,11,31);const t=this.customerService.startDateUsageSummary,l=this.customerService.endDateUsageSummary;this.dateRangeForm=this.formBuilder.group({startDate:[""!==t?t:"",[a.kI.required]],endDate:[""!==l?l:"",[a.kI.required]]}),this.getUsageSummary(),this.setMsisdnOptions()}setMsisdnOptions(){if(("HR"===this.config.defaultLang||"SI"===this.config.defaultLang)&&localStorage.getItem("positionAndMsisdn")){const e=JSON.parse(localStorage.getItem("positionAndMsisdn"));this.position=e.position,this.position1=e.position1,this.msisdn=e.msisdn,this.msisdn1=e.msisdn1,this.msisdnSelected=JSON.parse(localStorage.getItem("positionAndMsisdn")).activeMsisdn,this.position!==this.position1&&(this.hasDifferentMsisdn=!0)}}filterMsisdn(e){const t=JSON.parse(localStorage.getItem("positionAndMsisdn"));t.activeMsisdn=e,localStorage.setItem("msisdn",e),localStorage.setItem("position",e===this.msisdn?this.position:this.position1),localStorage.setItem("positionAndMsisdn",JSON.stringify(t)),this.customerService.callRecords=void 0,this.customerService.fetchUsageSummary().add(()=>{this.msisdnSelected=e})}getUsageSummary(){this.customerService.callRecords||this.customerService.fetchUsageSummary().add(()=>{!this.dateRangeForm.controls.startDate.value&&!this.dateRangeForm.controls.endDate.value&&(this.dateRangeForm.controls.startDate.setValue(this.customerService.startDateUsageSummary),this.dateRangeForm.controls.endDate.setValue(this.customerService.endDateUsageSummary))})}getMb(e){let t=0;return e.map(e=>t+=Number(e.data)),(t/1024).toFixed(2)}recordsSelectionChanged(e){return this.customerService.filterRecordUsageSummary=e}submitDate(){const e=this.dateRangeForm.controls.startDate.value,t=this.dateRangeForm.controls.endDate.value;if(this.customerService.startDateUsageSummary=this.dateRangeForm.controls.startDate.value,this.customerService.endDateUsageSummary=this.dateRangeForm.controls.endDate.value,null!==t){const l=new Date(e),r=String(l.getDate()).padStart(2,"0");let a=(l.getMonth()+1).toString();1===a.toString().length&&(a="0"+a);const s=l.getFullYear(),c=new Date(t),o=String(c.getDate()).padStart(2,"0");let i=(c.getMonth()+1).toString();1===i.toString().length&&(i="0"+i);const n=c.getFullYear();this.customerService.fetchUsageSummary(`${r}.${a}.${s}`,`${o}.${i}.${n}`),this.priceSelected="all",this.serviceTypeSelected="all"}}noRecords(){const{callRecords:e}=this.customerService;return!e||!e.Type&&!e.totalRecords||0===Object.keys(e.Type||{}).length&&"0"===e.totalRecords||"0"===e.totalRecords}filterService(e){if(this.priceSelected="all",this.serviceTypeSelected=e,this.allRecords=Object.assign({},this.customerService.callRecords),"all"===e)return this.customerService.filteredRecords=Object.assign({},this.allRecords);for(const t in this.allRecords.Type)if(t===e){const l=Object.assign({},this.allRecords);this.customerService.filteredRecords={Type:{[e]:l.Type[t]}}}}filterPrice(e){this.priceSelected=e,this.customerService.filterRecordCategoryListing=e,this.allRecords=Object.assign({},this.customerService.callRecords);const t=Object.assign({},this.allRecords);if(t.Type.CallsFixed.Calls&&("CallsFixed"===this.serviceTypeSelected||"all"===e)){const l=t.Type.CallsFixed.Calls.filter(t=>"free"===e?"0.0"===t.callPrice:"notFree"===e?"0.0"!==t.callPrice:"all"===e||void 0);l.length||(this.customerService.filteredRecords.Type.CallsFixed.Calls={}),this.customerService.filteredRecords.Type.CallsFixed.Calls=l}if(t.Type.CallsTelemach.Calls&&("CallsTelemach"===this.serviceTypeSelected||"all"===this.serviceTypeSelected)){const l=t.Type.CallsTelemach.Calls.filter(t=>"free"===e?"0.0"===t.callPrice:"notFree"===e?"0.0"!==t.callPrice:"all"===e||void 0);l.length||(this.customerService.filteredRecords.Type.CallsTelemach.Calls={}),this.customerService.filteredRecords.Type.CallsTelemach.Calls=l}if(t.Type.Data.Data&&("Data"===this.serviceTypeSelected||"all"===this.serviceTypeSelected)){const l=t.Type.Data.Data.filter(t=>"free"===e?"0.0"===t.callPrice:"notFree"===e?"0.0"!==t.callPrice:"all"===e||void 0);l.length||(this.customerService.filteredRecords.Type.Data.Data={}),this.customerService.filteredRecords.Type.Data.Data=l}if(t.Type.Other.Other&&("Other"===this.serviceTypeSelected||"all"===this.serviceTypeSelected)){const l=t.Type.Other.Other.filter(t=>"free"===e?"0.0"===t.callPrice:"notFree"===e?"0.0"!==t.callPrice:"all"===e||void 0);l.length||(this.customerService.filteredRecords.Type.Other.Other={}),this.customerService.filteredRecords.Type.Other.Other=l}if(t.Type.SmsMms.SmsMms&&("SmsMms"===this.serviceTypeSelected||"all"===this.serviceTypeSelected)){const l=t.Type.SmsMms.SmsMms.filter(t=>"free"===e?"0.0"===t.callPrice:"notFree"===e?"0.0"!==t.callPrice:"all"===e||void 0);l.length||(this.customerService.filteredRecords.Type.SmsMms.SmsMms=[]),this.customerService.filteredRecords.Type.SmsMms.SmsMms=l}this.customerService.callRecords=JSON.parse(JSON.stringify(this.customerService.callRecordsOriginal))}ngOnDestroy(){this.customerService.filterRecordUsageSummary="all",this.renderer.removeClass(document.body,"select-with-radio-v3-body"),this.renderer.removeClass(document.body,"calendar-picker-body")}}return e.\u0275fac=function(t){return new(t||e)(c.Y36(o.v),c.Y36(i.D),c.Y36(c.Qsj),c.Y36(n.v),c.Y36(a.qu),c.Y36(c.SBq))},e.\u0275cmp=c.Xpm({type:e,selectors:[["app-dashboard"]],decls:3,vars:3,consts:[["class","page-spinner",4,"ngIf"],["class","usage-summary-pages",4,"ngIf"],[3,"iconName","text",4,"ngIf"],[1,"page-spinner"],[3,"mode","strokeWidth","diameter"],[1,"usage-summary-pages"],[4,"ngIf"],["class","form-field-column-wrapper unifi-addon-history-page",4,"ngIf"],["class","container-400",4,"ngIf"],[1,"container-400"],["appearance","fill",1,"select-type","select-type-v3","select-with-label","select-with-radio"],[3,"value","panelClass","selectionChange"],["name","leftItem"],[3,"value"],[1,"variant-type-v3","not-absolute",3,"value","checked"],[3,"value",4,"ngIf"],[1,"form-field-column-wrapper","unifi-addon-history-page"],[1,"col-33"],[3,"value","panelClass","valueChange","selectionChange"],["name","rightItem"],[3,"formGroup"],["appearance","fill","floatLabel","never",1,"select-type","select-type-v3","select-with-label",3,"click"],[3,"rangePicker","min","max"],["matStartDate","","formControlName","startDate","readonly","",3,"placeholder"],["matEndDate","","formControlName","endDate","readonly","",3,"placeholder","dateInput"],["matIconSuffix","",3,"for"],["picker",""],[3,"title","duration","insidePlanDuration","outsidePlanDuration","callRecordType"],[3,"title","duration","callRecordType"],[3,"iconName","text"]],template:function(e,t){1&e&&(c.YNc(0,L,2,3,"div",0),c.YNc(1,z,4,3,"div",1),c.YNc(2,ee,2,4,"app-no-data",2)),2&e&&(c.Q6J("ngIf",!t.customerService.isCallRecordsLoaded),c.xp6(1),c.Q6J("ngIf",t.customerService.isCallRecordsLoaded),c.xp6(1),c.Q6J("ngIf",t.customerService.isCallRecordsLoaded&&t.noRecords()))},directives:[u.O5,d.Ou,m.KE,m.hX,p.gD,S.VQ,g.ey,S.U0,a._Y,a.JL,a.sg,v.wx,v.zY,a.Fj,a.JJ,a.u,v.By,v.nW,v._g,A,D.x],pipes:[h.X$],encapsulation:2}),e})();var le=l(81804);const re=[{path:"",redirectTo:"dashboard"},{path:"",component:te}];let ae=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[u.ez,f.Bz.forChild(re),le.m,v.FA],f.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.