PageSourceSearch

https://www.vivacom.bg/account/chunk-6ESUOU6S.js

js vivacom.bg collected 2026-09-24 09:31:38 UTC 5,880 bytes, 1 lines download raw bytes

1import{a as U}from"./chunk-GH4N2UGX.js";import{b as K}from"./chunk-T6LG4NDE.js";import{c as G}from"./chunk-KMQAZ5NW.js";import"./chunk-XXOG4KZN.js";import"./chunk-IWX7PRJF.js";import"./chunk-QU6N6CDS.js";import"./chunk-ZDWREZ6A.js";import{a as H}from"./chunk-QNZMYQEL.js";import"./chunk-MS2WZDPF.js";import"./chunk-6X2DWUIE.js";import{a as W}from"./chunk-WKSI6BXT.js";import"./chunk-66H72EV2.js";import"./chunk-QZZRNXAP.js";import"./chunk-E5C3DMEE.js";import"./chunk-YCWVNKHW.js";import"./chunk-IKP3GIDA.js";import{a as z}from"./chunk-FAYJO6ZN.js";import{a as O}from"./chunk-6FDE4EML.js";import{$a as L,Ob as M,ab as j,b as x,ia as A,lb as B,oc as N,tb as $,wc as R}from"./chunk-UMFZ3LLX.js";import"./chunk-BWEGVNY2.js";import"./chunk-AG6QEAUI.js";import{Q as V}from"./chunk-SAUKD7DD.js";import{Jb as m,Lb as g,Nb as E,Ob as T,Pb as b,Qb as D,Qc as C,Rb as o,Rc as _,Sb as r,Tb as I,_b as k,db as n,dc as P,fc as c,oa as v,ob as l,pa as u,sc as w,tc as p,ub as y,uc as S,vc as h,xc as F}from"./chunk-KKSGD2T6.js";import"./chunk-EQDQRRRY.js";function X(t,s){if(t&1&&(o(0,"div",0),I(1,"mat-progress-spinner",3),r()),t&2){let e=c();n(),D("mode",e.commonService.mode)("strokeWidth",2)("diameter",80)}}function Y(t,s){if(t&1){let e=k();o(0,"app-server-error",4),P("click",function(){v(e);let i=c();return u(i.eonService.fetchEonPrepaidPackage())}),r()}t&2&&D("type","click")}function Z(t,s){if(t&1&&(o(0,"span"),p(1),C(2,"translate"),C(3,"translate"),r()),t&2){let e=c(2).$implicit;n(),F("",_(2,3,"eonPrepaid.tvChannels")," (",e.hd," ",_(3,5,"eonPrepaid.tvChannelsHD"),") ")}}function ee(t,s){if(t&1){let e=k();o(0,"li"),p(1),m(2,Z,4,7,"span"),o(3,"button",15),P("click",function(){v(e);let i=c().$implicit,d=c(2);return u(d.openChannelListDialog(i.ppCode))}),p(4),C(5,"translate"),r()()}if(t&2){let e=c().$implicit;n(),h("",e.tv," "),n(),g(e.hd?2:-1),n(2),S(_(5,3,"eonPrepaid.channelList"))}}function te(t,s){if(t&1&&(o(0,"li")(1,"strong"),p(2),r()()),t&2){let e=s.$implicit;n(),w(e.textDecoration==="regular"?"regular":"bold"),n(),h(" ",e.text," ")}}function ie(t,s){if(t&1){let e=k();o(0,"article",6)(1,"header",7)(2,"h4",8),p(3),r(),o(4,"p",9)(5,"span",10),p(6),C(7,"formatPriceTwoFractionDigits"),r(),o(8,"span",11),p(9),r(),o(10,"span",12),p(11),r()()(),o(12,"ul",13),m(13,ee,6,5,"li"),T(14,te,3,3,"li",null,E),r(),o(16,"button",14),P("click",function(){let i=v(e).$implicit,d=c(2);return u(d.openChangePackageDialog(i.ppName,i.ppCode,i.price))}),p(17),C(18,"translate"),r()()}if(t&2){let e=s.$implicit,a=s.$index,i=c(2);n(3),S(e.ppName),n(3),S(_(7,6,i.commonService.formatValueFractionDigits(e.price))),n(3),h(" ",i.config.currencySymbol," "),n(2),h("/ ",i.config.monthShort,"."),n(2),g(e.tv?13:-1),n(),b(i.eonService.eonDescriptionObject[a].packageConfig),n(3),h(" ",_(18,8,"eonPrepaid.buyNow")," ")}}function ne(t,s){if(t&1&&(o(0,"div",2)(1,"div",5),T(2,ie,19,10,"article",6,E),r()()),t&2){let e=c();n(2),b(e.eonService.eonPrepaidPackage)}}var q=(()=>{class t{constructor(e,a,i,d,f,J,Q){this.dialog=e,this.trs=a,this.commonService=i,this.eonService=d,this.packageService=f,this.customerService=J,this.router=Q,this.config=x,this.commonService.isPageTitleActivated=!0,this.commonService.isFindNumberActivated=!1,this.commonService.setPageTitle(this.trs.trsTs("eonPrepaid.changePackageTitle"),"eon-prepaid-change-package")}ngOnInit(){this.eonService.fetchEonPrepaidPackage()}openChangePackageDialog(e,a,i){this.dialog.open(K,{width:"420px",panelClass:["global-dialog","blue-bg","fix-confirmation-dialog"],data:{title:this.checkEonPrepaidStatus(),description:this.changePackageDescription(e,i),confirmButtonText:this.trs.trsTs("confirm"),productPackageCode:a,prepaidEonStatus:this.customerService.getSelectedContract().prepaidEonStatus,productPackagePrice:i,transactionType:$.DOWNSELL}}).afterClosed().subscribe(f=>{console.log("result",f),f==="success"&&this.router.navigate(["/contract-details/dashboard"])})}checkEonPrepaidStatus(){return G(this.customerService.getSelectedContract().prepaidEonStatus)?this.trs.trsTs("eonPrepaid.resumePackageTitle"):this.trs.trsTs("eonPrepaid.changePackageTitle")}changePackageDescription(e,a){let i={packageName:e,packagePrice:this.commonService.formatValueFractionDigits(a)+" "+x.currencySymbol+"/"+x.monthShort};return this.trs.trsTsParams("eonPrepaid.changePackageDescription",i)}openChannelListDialog(e){this.packageService.tvChannels=void 0,this.packageService.radioChannels=void 0,this.dialog.open(U,{width:"1400px",panelClass:["global-dialog","channel-list-dialog"],data:{productPackageCode:e}}).afterClosed().subscribe(()=>{this.packageService.tvChannels=void 0,this.packageService.radioChannels=void 0})}ngOnDestroy(){this.commonService.isPageTitleActivated=!1}static{this.\u0275fac=function(a){return new(a||t)(l(A),l(B),l(R),l(M),l(H),l(N),l(V))}}static{this.\u0275cmp=y({type:t,selectors:[["app-change-package"]],decls:3,vars:3,consts:[[1,"page-spinner"],[3,"type"],[1,"eon-change-package-page"],[3,"mode","strokeWidth","diameter"],[3,"click","type"],[1,"flex-wrap"],[1,"package-item"],[1,"item-heading"],[1,"title-3","font-bold"],[1,"text-color-2"],[1,"title-5","font-bold"],[1,"font-bold","font-size-12"],[1,"font-regular","font-size-12"],[1,"item-list"],[1,"btn-radius","font-regular","background-2","radius2
10","submit-btn",3,"click"],[1,"reset-btn","text-color-2","text-underline",3,"click"]],template:function(a,i){a&1&&(m(0,X,2,3,"div",0),m(1,Y,1,1,"app-server-error",1),m(2,ne,4,0,"div",2)),a&2&&(g(i.eonService.isEonPrepaidPackagesLoaded?-1:0),n(),g(i.eonService.isEonPrepaidPackagesLoaded&&i.eonService.showErrorEonPrepaid?1:-1),n(),g(i.eonService.isEonPrepaidPackagesLoaded&&!i.eonService.showErrorEonPrepaid?2:-1))},dependencies:[O,W,j,L,z],encapsulation:2})}}return t})();var Ee=[{path:"",redirectTo:"eon-change-package",pathMatch:"full"},{path:"eon-change-package",component:q}];export{Ee as CHANGE_PACKAGE_ROUTES};

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.