PageSourceSearch

https://www.telkomsel.com/shops/4810.2237bff9c643f9e0.js

js telkomsel.com collected 2026-10-01 10:19:04 UTC 8,362 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkshops=self.webpackChunkshops||[]).push([[4810],{4810:(A,p,i)=>{i.r(p),i.d(p,{FlashSaleModule:()=>O});var o=i(14042),r=i(60177),d=i(21073),e=i(17705),f=i(42732),m=i(96697),c=i(52168),u=i(77155);let v=(()=>{var n;class a{constructor(s){(0,o.A)(this,"flashSaleRepository",void 0),this.flashSaleRepository=s}execute(s){return this.flashSaleRepository.GetFlashSaleContent(s)}}return n=a,(0,o.A)(a,"\u0275fac",function(s){return new(s||n)(e.KVO(u.g))}),(0,o.A)(a,"\u0275prov",e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})),a})();function C(n,a){if(1&n&&(e.j41(0,"span",20),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(1),e.JRh(t.days)}}function x(n,a){1&n&&(e.j41(0,"span"),e.EFF(1," : "),e.k0s())}function b(n,a){if(1&n&&(e.j41(0,"div",15)(1,"div",16),e.EFF(2),e.k0s(),e.j41(3,"div",17),e.DNE(4,C,2,1,"span",18),e.DNE(5,x,2,0,"span",19),e.j41(6,"span",20),e.EFF(7),e.k0s(),e.EFF(8," : "),e.j41(9,"span",20),e.EFF(10),e.k0s(),e.EFF(11," : "),e.j41(12,"span",20),e.EFF(13),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.contentResonse[t.activeLang].countdown_text),e.R7$(2),e.Y8G("ngIf",t.days),e.R7$(1),e.Y8G("ngIf",t.days),e.R7$(2),e.JRh(t.hours),e.R7$(3),e.JRh(t.minutes),e.R7$(3),e.JRh(t.seconds)}}function M(n,a){1&n&&(e.j41(0,"div",15)(1,"div",16),e.EFF(2,"Promo telah berakhir"),e.k0s()())}function F(n,a){if(1&n&&(e.j41(0,"div",1)(1,"div"),e.nrm(2,"img",2),e.k0s(),e.j41(3,"div",3)(4,"div",4)(5,"div",5),e.nrm(6,"img",6),e.j41(7,"span",7),e.EFF(8),e.k0s()(),e.j41(9,"div",8),e.EFF(10),e.k0s(),e.j41(11,"div",9),e.EFF(12),e.k0s()(),e.DNE(13,b,14,6,"div",10),e.DNE(14,M,3,0,"div",10),e.k0s(),e.j41(15,"div",11),e.EFF(16),e.k0s(),e.j41(17,"div",12)(18,"a",13)(19,"button",14),e.EFF(20),e.k0s()()()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("src",t.contentResonse[t.activeLang].banner,e.B4B)("ngClass",t.isExpired?"grayscale":""),e.R7$(6),e.SpI(" ",t.contentResonse[t.activeLang].flash_sale_prefix_text," "),e.R7$(2),e.SpI("Rp ",t.numberSeparatorPipe.transform(t.contentResonse[t.activeLang].price),""),e.R7$(2),e.SpI("Rp ",t.numberSeparatorPipe.transform(t.contentResonse[t.activeLang].originalprice),""),e.R7$(1),e.Y8G("ngIf",t.showCounter&&!t.isExpired),e.R7$(1),e.Y8G("ngIf",t.showCounter&&t.isExpired),e.R7$(2),e.JRh(t.contentResonse[t.activeLang].title),e.R7$(2),e.Y8G("href",t.isExpired?"":t.contentResonse[t.activeLang].deeplink,e.B4B),e.R7$(1),e.Y8G("disabled",t.isExpired),e.R7$(1),e.JRh(t.contentResonse[t.activeLang].button_text)}}let h=(()=>{var n;class a{constructor(s,l,g){(0,o.A)(this,"platformId",void 0),(0,o.A)(this,"activeRoute",void 0),(0,o.A)(this,"flashSaleUsecase",void 0),(0,o.A)(this,"contentResonse",void 0),(0,o.A)(this,"activeLang","lang_id"),(0,o.A)(this,"numberSeparatorPipe",new f.Cl),(0,o.A)(this,"days",void 0),(0,o.A)(this,"hours",void 0),(0,o.A)(this,"minutes",void 0),(0,o.A)(this,"seconds",void 0),(0,o.A)(this,"expiredDate",void 0),(0,o.A)(this,"intervalTime",void 0),(0,o.A)(this,"detailJson",""),(0,o.A)(this,"isExpired",!1),(0,o.A)(this,"showCounter",!1),this.platformId=s,this.activeRoute=l,this.flashSaleUsecase=g}ngOnInit(){this.detailJson=this.activeRoute.snapshot.paramMap.get("saleId")+".json",this.getContent()}getTimeRemaining(){const s=(new Date).getTime(),l=this.expiredDate-s,g=Math.floor(l/1e3%60),_=Math.floor(l/1e3/60%60),S=Math.floor(l/36e5%24);return{days:Math.floor(l/864e5),hours:S,minutes:_,seconds:g}}initializeClock(){this.intervalTime=setInterval(()=>{const s=this.getTimeRemaining();s.hours<1&&s.minutes<1&&s.seconds<1?(clearInterval(this.intervalTime),this.isExpired=!0,this.showCounter=!0):(this.days=String(s.days),this.hours=("0"+s.hours).slice(-2),this.minutes=("0"+s.minutes).slice(-2),this.seconds=("0"+s.seconds).slice(-2),this.showCounter=!0)},1e3)}getContent(){this.flashSaleUsecase.execute({data:this.detailJson}).pipe((0,m.s)(1)).subscribe(l=>{this.contentResonse=l,this.expiredDate=new Date(this.contentResonse.lang_en.end_date.replace(/-/g,"/")).getTime(),(0,r.UE)(this.platformId)&&this.initializeClock()})}}return n=a,(0,o.A)(a,"\u0275fac",function(s){return new(s||n)(e.rXU(e.Agw),e.rXU(c.nX),e.rXU(v))}),(0,o.A)(a,"\u0275cmp",e.VBU({type:n,selectors:[["app-flash-sale"]],decls:1,vars:1,consts:[["class","flash-sale-page",4,"ngIf"],[1,"flash-sale-page"],["alt","banner-image",1,"w-full",3,"src","ngClass"],[1,"price-box"],[1,"left-price"],[1,"left-box-prefix","text-mobile-body2"],["src","assets/icons/lightning.svg","alt","lightning-icon"],[1,"text-mobile-body2","flash-sale"],[1,"text-desktop-h5-small","final-price"],[1,"original-price","text-mobile-body-small"],["class","right-price",4,"ngIf"],[1,"promo-title","text-desktop-h6"],[1,"action-box"],[3,"href"],[1,"btn-primary-submit",3,"disabled"],[1,"right-price"],[1,"text-mobile-body-small"],[1,"counter"],["class","counter-box",4,"ngIf"],[4,"ngIf"],[1,"counter-box"]],template:function(s,l){1&s&&e.DNE(0,F,21,11,"div",0),2&s&&e.Y8G("ngIf",l.contentResonse)},dependencies:[r.YU,r.bT],styles:[".flash-sale-page[_ngcontent-%COMP%]{max-width:500px;height:100%;margin:auto}.flash-sale-page[_ngcontent-%COMP%]   .grayscale[_ngcontent-%COMP%]{filter:grayscale(1)}.flash-sale-page[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]{background:linear-gradient(76.81deg,#B90024 15.71%,#FF0025 68.97%,#FD195E 94.61%);display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;font-family:poppins-regular,Arial,sans-serif;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.flash-sale-page[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .left-price[_ngcontent-%COMP%]   .left-box-prefix[_ngcontent-%COMP%]{display:flex;align-items:center;font-family:telkomsel-batik-bold,Arial,sans-serif}.flash-sale-page[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .left-price[_ngcontent-%COMP%]   .final-price[_ngcontent-%COMP%]{margin-top:.25rem;font-family:poppins-bold,Arial,sans-serif}.flash-sale-page[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .left-price[_ngcontent-%COMP%]   .original-price[_ngcontent-%COMP%]{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.flash-sale-page[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .right-price[_ngcontent-%COMP%]   .counter[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;font-family:telkomsel-batik-regular,Arial,sans-serif}.flash-sale-page[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .right-price[_ngcontent-%COMP%]   .counter[_ngcontent-%COMP%]   .counter-box[_ngcontent-%COMP%]{width:38px;height:28px;margin-left:.25rem;margin-right:.25rem;display:flex;align-items:center;justify-content:center;border-radius:.25rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.flash-sale-page[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .right-price[_ngcontent-%COMP%]   .counter[_ngcontent-%COMP%]   .counter-box[_ngcontent-%COMP%]:first-child{margin-left:0}.flash-sale-page[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .right-price[_ngcontent-%COMP%]   .counter[_ngcontent-%COMP%]   .counter-box[_ngcontent-%COMP%]:last-child{margin-right:0}.flash-sale-page[_ngcontent-%COMP%]   .promo-title[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(252 244 244 / var(--tw-bg-opacity, 1));padding:1rem;font-family:telkomsel-batik-bold,Arial,sans-serif;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.flash-sale-page[_ngcontent-%COMP%]   .action-box[_ngcontent-%COMP%]{box-shadow:0 -4px 24px #99a0a780;position:fixed;bottom:0;left:0;right:0;padding:1rem 1.5rem}.flash-sale-page[_ngcontent-%COMP%]   .action-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:0}.flash-sale-page[_ngcontent-%COMP%]   .action-box[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{--tw-bg-opacity: 1;background-color:rgb(204 207 211 / var(--tw-bg-opacity, 1))}"]})),a})();var y=i(56555);const P=[{path:":saleId",component:h}];let R=(()=>{var n;class a{}return n=a,(0,o.A)(a,"\u0275fac",function(s){return new(s||n)}),(0,o.A)(a,"\u0275mod",e.$C({type:n}
1)),(0,o.A)(a,"\u0275inj",e.G2t({imports:[c.iI.forChild(P),c.iI]})),a})(),O=(()=>{var n;class a{}return n=a,(0,o.A)(a,"\u0275fac",function(s){return new(s||n)}),(0,o.A)(a,"\u0275mod",e.$C({type:n,bootstrap:[h]})),(0,o.A)(a,"\u0275inj",e.G2t({imports:[r.MD,y.N,R,d.IconComponent]})),a})()}}]);

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.