PageSourceSearch

https://xlbola16.com/chunk-WR5W2WMG.js

js xlbola16.com collected 2026-10-09 22:45:14 UTC 58,651 bytes, 1 lines download raw bytes

1import{a as Lt}from"./chunk-VCUXWNTA.js";import{a as Dt,b as Bt}from"./chunk-DU4XWMAQ.js";import{a as Tt,b as kt,c as Et}from"./chunk-Y6426G3T.js";import{a as It}from"./chunk-LBSVRQJZ.js";import{b as wt}from"./chunk-KNN255RW.js";import{a as Ae}from"./chunk-S6DAEVXJ.js";import{a as bt}from"./chunk-L6PFBMCK.js";import{a as Ct}from"./chunk-PO4BCA7V.js";import{a as yt,b as xt}from"./chunk-5LWFT2LT.js";import{a as oe}from"./chunk-57OVZNJD.js";import"./chunk-IPIW3WPU.js";import"./chunk-7RS7W2IG.js";import{a as tt}from"./chunk-WQGKT4QG.js";import{d as St,e as Ee}from"./chunk-EJMX6GXD.js";import{h as ft,j as Le}from"./chunk-LBFZVMBI.js";import{b as Te,m as ht,o as vt,p as ke}from"./chunk-SQXH55RY.js";import"./chunk-FZLMV5FP.js";import{L as ut,O as ne,b as it,c as nt,d as ot,e as Ie,f as we,g as at,h as rt,i as st,j as lt,k as be,l as De,m as pt,n as ct,o as mt,p as dt,q as gt,s as _t,x as $}from"./chunk-2RZNBXEW.js";import"./chunk-WUS6VI32.js";import{B as Ke,C as xe,F as Ce,ca as Ze,e as Ye,ea as et,i as W,j as V,k as ie,p as R,q as Q,r as E,sa as j,v as N,y as ye}from"./chunk-LKIBVTZY.js";import{b as Se}from"./chunk-IXSVJUWF.js";import"./chunk-VXMZGT4Q.js";import{$ as Me,$a as te,A as D,Aa as X,B as L,Ba as K,Ca as le,Da as p,Ea as he,Ia as s,Ja as l,K as Qe,Ka as g,La as I,Lb as Je,Ma as w,Oa as M,Ra as b,Sa as d,Sb as Xe,Za as Z,_a as ee,aa as q,ab as ce,bb as c,cb as u,db as T,eb as U,ga as i,ha as S,nb as G,ob as A,p as H,pb as k,qb as ze,sb as f,tb as v,ub as qe,vb as ve,xa as _,xb as me,ya as J,z as $e,za as se}from"./chunk-LZGEQQYD.js";import{Za as pe,_b as Y,la as je}from"./chunk-BW2TMJN6.js";import{a as He,b as Ge,j as fe}from"./chunk-RNQ7BUHW.js";function Rt(e,r){if(e&1&&g(0,"img",7),e&2){let t=d(2);p("src",t.imgUrlBefore,q)}}function Nt(e,r){if(e&1&&g(0,"img",7),e&2){let t=d(2);p("src",t.imgUrlAfter,q)}}function jt(e,r){if(e&1){let t=M();I(0),s(1,"div",1)(2,"div",2),_(3,Rt,1,1,"img",3)(4,Nt,1,1,"img",3),s(5,"button",4),b("click",function(){D(t);let o=d();return L(o.close())}),g(6,"i",5),l()()(),s(7,"div",6),b("click",function(){D(t);let o=d();return L(o.close())}),l(),w()}if(e&2){let t=d();i(),p("@loadFadeIn",void 0),i(2),p("ngIf",!t.globalData.isLogin),i(),p("ngIf",t.globalData.isLogin),i(),p("ngClass",t.globalData.isMobileStyle?"select-close-btn":"popup-close-btn")}}var Pt=(()=>{let r=class r{constructor(n,o,a,m){this.globalData=n,this.cmsService=o,this.langService=a,this.cdr=m,this.imgUrlBefore="",this.imgUrlAfter="",Xe(()=>{let h=this.cmsService.cmsSettingSignal();this.globalData.isLogin?(this.imgUrlAfter&&sessionStorage.afterPopupClosed==="false"&&h&&h.merchantCode&&this.showHomePop(h.merchantCode),this.imgUrlAfter&&sessionStorage.getItem("afterPopupClosed")===null&&(this.isShow=!0),this.imgUrlAfter===""&&(this.isShow=!1)):(this.imgUrlBefore&&sessionStorage.beforePopupClosed==="false"&&h&&h.merchantCode&&this.showHomePop(h.merchantCode),this.imgUrlBefore&&sessionStorage.getItem("beforePopupClosed")===null&&(this.isShow=!0),this.imgUrlBefore===""&&(this.isShow=!1)),this.cdr.detectChanges()})}ngOnInit(){this.globalData.isShowedHomepagePopup=!1}ngOnChanges(n){n.imgUrlAfter&&(this.imgUrlAfter&&(sessionStorage.getItem("afterPopupClosed")===null||sessionStorage.getItem("afterPopupClosed")==="false")?this.isShow=!0:this.isShow=!1)}showHomePop(n){this.isShow=!0}close(){this.isShow=!1,this.globalData.isShowedHomepagePopup=!0,this.globalData.isLogin?sessionStorage.setItem("afterPopupClosed","true"):sessionStorage.setItem("beforePopupClosed","true")}};r.\u0275fac=function(o){return new(o||r)(S(j),S(ne),S(ie),S(Je))},r.\u0275cmp=H({type:r,selectors:[["app-home-popup"]],inputs:{imgUrlBefore:"imgUrlBefore",imgUrlAfter:"imgUrlAfter",isShow:"isShow",isOverContainer:"isOverContainer"},standalone:!0,features:[$e,G],decls:1,vars:1,consts:[[4,"ngIf"],[1,"popup-box","full-width","home-popup-box"],[1,"popup-block"],["alt","","class","original-width",3,"src",4,"ngIf"],[1,"popup-close-btn",3,"click","ngClass"],[1,"icon-Close"],[1,"mask","popup",3,"click"],["alt","",1,"original-width",3,"src"]],template:function(o,a){o&1&&_(0,jt,8,4,"ng-container",0),o&2&&p("ngIf",a.isS
1how&&(a.globalData.isLogin&&a.imgUrlAfter||!a.globalData.isLogin&&a.imgUrlBefore))},dependencies:[E,V,R],styles:['@charset "UTF-8";.popup-box[_ngcontent-%COMP%]{background-color:transparent;display:flex;justify-content:center;max-width:calc(100vw - 60px)}.popup-block[_ngcontent-%COMP%]{position:relative;display:inline-block}.popup-close-btn[_ngcontent-%COMP%]{background-color:red}.popup-close-btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#fff;font-size:1.5rem}.select-close-btn[_ngcontent-%COMP%]{width:28px;height:28px;top:-15px;right:-11px}.select-close-btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.3rem}img[_ngcontent-%COMP%]{max-width:calc(100vw - 65px)}img.original-width[_ngcontent-%COMP%]{width:auto;max-height:80vh;object-fit:contain;display:block;margin:0 auto}.popup-title[_ngcontent-%COMP%]{margin-bottom:0;min-height:0}.popup-box.home-popup-box[_ngcontent-%COMP%]{border:none;box-shadow:none}'],data:{animation:[Le]}});let e=r;return e})();function $t(e,r){e&1&&g(0,"span",2)}function Qt(e,r){if(e&1&&(s(0,"div",5)(1,"swiper-container",6)(2,"swiper-slide")(3,"div",7),g(4,"i",8),s(5,"div",9)(6,"div",10)(7,"strong",11),c(8),l()(),s(9,"p",12),c(10),f(11,"translate"),l()(),s(12,"span",13),c(13,"Live"),l()()(),s(14,"swiper-slide")(15,"div",7),g(16,"i",14),s(17,"div",9)(18,"div",10)(19,"strong",11),c(20),l()(),s(21,"p",12),c(22),f(23,"translate"),l()(),s(24,"span",15),c(25,"Live"),l()()(),s(26,"swiper-slide")(27,"div",7),g(28,"i",16),s(29,"div",9)(30,"div",10)(31,"strong",11),c(32),f(33,"number"),l()(),s(34,"p",12),c(35),f(36,"translate"),l()(),s(37,"span",17),c(38),f(39,"translate"),l()()()()()),e&2){let t=d(2);i(),p("config",t.config),i(7),U("",t.tnDeposit,"m ",t.dgDeposit,"s"),i(2),u(v(11,10,"serviceAdvantages.AverageDepositTime")),i(10),U("",t.tnWithdrawal,"m ",t.tnWithdrawal,"s"),i(2),u(v(23,12,"serviceAdvantages.AverageWithdrawalTime")),i(10),u(v(33,14,t.randomPersons)),i(3),T("Persons / Per Hour ",v(36,16,"serviceAdvantages.OnlineUsers"),""),i(3),u(v(39,18,"reportDateRange.today"))}}function zt(e,r){if(e&1&&(I(0),s(1,"div",5)(2,"div",7),g(3,"i",8),s(4,"div",9)(5,"div",10)(6,"strong",11),c(7),l()(),s(8,"p",12),c(9),f(10,"translate"),l()(),s(11,"span",13),c(12,"Live"),l()(),s(13,"div",7),g(14,"i",14),s(15,"div",9)(16,"div",10)(17,"strong",11),c(18),l()(),s(19,"p",12),c(20),f(21,"translate"),l()(),s(22,"span",15),c(23,"Live"),l()(),s(24,"div",7),g(25,"i",16),s(26,"div",9)(27,"div",10)(28,"strong",11),c(29),f(30,"number"),l()(),s(31,"p",12),c(32),f(33,"translate"),f(34,"translate"),l()(),s(35,"span",17),c(36),f(37,"translate"),l()()(),w()),e&2){let t=d(2);i(7),U("",t.tnDeposit,"m ",t.dgDeposit,"s"),i(2),u(v(10,10,"serviceAdvantages.AverageDepositTime")),i(9),U("",t.tnWithdrawal,"m ",t.tnWithdrawal,"s"),i(2),u(v(21,12,"serviceAdvantages.AverageWithdrawalTime")),i(9),u(v(30,14,t.randomPersons)),i(3),U("",v(33,16,"serviceAdvantages.PersonsPerHour")," ",v(34,18,"serviceAdvantages.OnlineUsers"),""),i(4),u(v(37,20,"reportDateRange.today"))}}function qt(e,r){if(e&1&&(I(0),s(1,"p",3),c(2),f(3,"translate"),l(),_(4,Qt,40,20,"div",4)(5,zt,38,22,"ng-container",1),w()),e&2){let t=d();i(2),u(v(3,3,"serviceAdvantages.Service")),i(2),p("ngIf",t.isSwipe()),i(),p("ngIf",!t.isSwipe())}}var Ht=(()=>{let r=class r{constructor(n){this.httpService=n,this.LayoutType="",this.config={slidesPerView:1,autoHeight:!0,autoplay:!0,loop:!0},this.showLoading=!0,setInterval(()=>this.loadServiceAdvantagesData(),36e5)}ngOnInit(){this.loadServiceAdvantagesData()}isSwipe(){return this.LayoutType===De||this.LayoutType===be}loadServiceAdvantagesData(){let o=new Date().getHours();this.getStaticFiles("assets/mock/HomeServiceData.json").then(m=>{var C;(C=m==null?void 0:m.OnlineUserCount)!=null&&C.MinData&&(this.minData=m.OnlineUserCount.MinData);let h=parseInt(this.minData[o]),x=0;o<3||o>13?(x=h+52e3,h=x-5e3):(h+=2e4,x=h+5e3),this.randomPersons=this.randomizator(h,x),this.randomDeposit=this.randomizator(m.AverageDepositTime.MinData,m.AverageDepositTime.MaxData),this.tnDeposit=this.randomDeposit,this.dgDeposit=this.randomDeposit*10%10,this.randomWithdrawal=this.randomizator(m.AverageWithrawlTime.MinData,m.AverageWithrawlTime.MaxData),this.tnWithdrawal=this.randomWithdrawal,this.dgWithdrawal=this.randomWithdrawal*10%10,this.showLoading=!1})}getStaticFiles(n){return new Promise((o,a)=>{this.httpService.httpGet(n).subscribe(m=>{m?o(m):a()})})}randomizator(n,o){var a=Math.ceil(n),m=Math.floor(o);return Math.floor(Math.random()*(m-a))+a}};r.\u0275fac=function(o){return new(o||r)(S($))},r.\u0275cmp=H({type:r,selectors:[["app-service-advantage"]],inputs:{LayoutType:"LayoutType"},standalone:!0,features:[G],decls:2,vars:2,consts:[["class","loading-img",4,"ngIf"],[4,"ngIf"],[1,"loading-img"],[1,"index_title"],["class","wrap",4,"ngIf"],[1,"wrap"],["appSwiper","","autoplay","true",1,"swiper-service",3,"config"],[1,"item"],[1,"icon-Deposit"],["height","43px",1,"box"],["height","24px"],[1,"title"],[1,"detail"],[1,"service-tag","green"],[1,"icon-Withdraw"],[1,"service-tag","red"],[1,"icon-onlinepersons"],[1,"service-tag","purple"]],template:function(o,a){o&1&&_(0,$t,1,0,"span",0)(1,qt,6,5,"ng-container",1),o&2&&(p("ngIf",a.showLoading),i(),p("ngIf",!a.showLoading))},dependencies:[E,oe,xe,V,W],encapsulation:2});let e=r;return e})();var Gt=e=>({disable:e}),Be=(()=>
1{let r=class r{constructor(){this.newItemEvent=new Qe,this.isDisabled=!1}movingHandle(n){this.newItemEvent.emit(n)}};r.\u0275fac=function(o){return new(o||r)},r.\u0275cmp=H({type:r,selectors:[["app-swiper-button"]],inputs:{isDisabled:"isDisabled"},outputs:{newItemEvent:"newItemEvent"},standalone:!0,features:[G],decls:6,vars:6,consts:[[1,"page-arrows-group"],["aria-label","Swiper Pre Button",1,"page-arrow","left",3,"click","ngClass"],[1,"icon-btnarrow"],["aria-label","Swiper Next Button",1,"page-arrow","right",3,"click","ngClass"]],template:function(o,a){o&1&&(I(0),s(1,"div",0)(2,"button",1),b("click",function(){return a.movingHandle("-")}),g(3,"i",2),l(),s(4,"button",3),b("click",function(){return a.movingHandle("+")}),g(5,"i",2),l()(),w()),o&2&&(i(2),p("ngClass",k(2,Gt,a.isDisabled)),i(2),p("ngClass",k(4,Gt,a.isDisabled)))},dependencies:[R],encapsulation:2});let e=r;return e})();var Yt=["slickModal"],Kt=["upcomSwiper"],Zt=["upcomSwiper2"],ei=()=>({marginBottom:"15px"}),Mt=e=>({"height.px":e});function ti(e,r){e&1&&g(0,"span",8)}function ii(e,r){if(e&1){let t=M();s(0,"swiper-slide",13)(1,"a",14),b("click",function(){let o=D(t).$implicit,a=d(4);return L(a.clickMatch(o.matchUrlForClassicEdition))}),s(2,"div",15)(3,"strong",16),c(4),l(),s(5,"div",17)(6,"strong",18),c(7),l(),g(8,"i",19),s(9,"strong",18),c(10),l()(),s(11,"div",20)(12,"div",21)(13,"span",22),c(14),f(15,"translate"),l(),s(16,"strong",23),c(17),l()(),s(18,"div",21)(19,"span",22),c(20),f(21,"translate"),l(),s(22,"strong",23),c(23),l()(),s(24,"div",21)(25,"span",22),c(26),f(27,"translate"),l(),s(28,"strong",23),c(29),l()()(),s(30,"p",24),c(31),l()()()()}if(e&2){let t=r.$implicit;i(4),u(t.leagueName),i(3),u(t.homeTeamName),i(3),u(t.awayTeamName),i(4),u(v(15,10,"upcomingMatch.home")),i(3),u(t.x12OddsValue1Ft),i(3),u(v(21,12,"upcomingMatch.draw")),i(3),u(t.x12OddsValueXFt),i(3),u(v(27,14,"upcomingMatch.away")),i(3),u(t.x12OddsValue2Ft),i(2),u(t.matchDate)}}function ni(e,r){if(e&1&&(I(0),s(1,"swiper-container",11,0),_(3,ii,32,16,"swiper-slide",12),l(),w()),e&2){let t=d(3);i(),p("config",t.config),i(2),p("ngForOf",t.upcomingList)}}function oi(e,r){e&1&&(I(0),s(1,"div",15)(2,"div",25)(3,"span",26),c(4),f(5,"translate"),l()()(),w()),e&2&&(i(4),u(v(5,1,"upcomingMatch.comingSoon")))}function ai(e,r){if(e&1&&(s(0,"div",9),_(1,ni,4,2,"ng-container",10)(2,oi,
16,3,"ng-container",10),l()),e&2){let t=d(2);i(),p("ngIf",!t.showComingSoon),i(),p("ngIf",t.showComingSoon)}}function ri(e,r){if(e&1&&(s(0,"div",5),_(1,ti,1,0,"span",6)(2,ai,3,2,"div",7),l()),e&2){let t=d();p("ngStyle",k(3,Mt,t.setUpcomingHeight())),i(),p("ngIf",t.showLoading),i(),p("ngIf",!t.showLoading)}}function si(e,r){e&1&&g(0,"span",8)}function li(e,r){if(e&1){let t=M();s(0,"swiper-slide")(1,"a",14),b("click",function(){let o=D(t).$implicit,a=d(4);return L(a.clickMatch(o.matchUrlForClassicEdition))}),s(2,"div",15)(3,"strong",16),c(4),l(),s(5,"div",17)(6,"strong",18),c(7),l(),g(8,"i",19),s(9,"strong",18),c(10),l()(),s(11,"div",20)(12,"div",21)(13,"span",22),c(14),f(15,"translate"),l(),s(16,"strong",23),c(17),l()(),s(18,"div",21)(19,"span",22),c(20),f(21,"translate"),l(),s(22,"strong",23),c(23),l()(),s(24,"div",21)(25,"span",22),c(26),f(27,"translate"),l(),s(28,"strong",23),c(29),l()()(),s(30,"p",24),c(31),l()()()()}if(e&2){let t=r.$implicit;i(4),u(t.leagueName),i(3),u(t.homeTeamName),i(3),u(t.awayTeamName),i(4),u(v(15,10,"upcomingMatch.home")),i(3),u(t.x12OddsValue1Ft),i(3),u(v(21,12,"upcomingMatch.draw")),i(3),u(t.x12OddsValueXFt),i(3),u(v(27,14,"upcomingMatch.away")),i(3),u(t.x12OddsValue2Ft),i(2),u(t.matchDate)}}function pi(e,r){if(e&1&&(I(0),s(1,"swiper-container",11,0),_(3,li,32,16,"swiper-slide",27),l(),w()),e&2){let t=d(3);i(),p("config",t.configlist),i(2),p("ngForOf",t.upcomingList)}}function ci(e,r){e&1&&(I(0),s(1,"div",15)(2,"div",25)(3,"span",26),c(4),f(5,"translate"),l()()(),w()),e&2&&(i(4),u(v(5,1,"upcomingMatch.comingSoon")))}function mi(e,r){if(e&1&&(s(0,"div",9),_(1,pi,4,2,"ng-container",10)(2,ci,6,3,"ng-container",10),l()),e&2){let t=d(2);i(),p("ngIf",!t.showComingSoon),i(),p("ngIf",t.showComingSoon)}}function di(e,r){if(e&1&&(s(0,"div",5),_(1,si,1,0,"span",6)(2,mi,3,2,"div",7),l()),e&2){let t=d();p("ngStyle",k(3,Mt,t.setUpcomingHeight())),i(),p("ngIf",t.showLoading),i(),p("ngIf",!t.showLoading)}}var At=(()=>{let r=class r{constructor(n,o,a,m){this.httpService=n,this.transferService=o,this.globalData=a,this.menuService=m,this.LayoutType="",this.config={slidesPerGroup:1,slidesPerView:"auto",spaceBetween:10,rewind:!0,updateOnWindowResize:!1,autoplay:{delay:3e3,disableOnInteraction:!1}},this.configlist={slidesPerGroup:1,slidesPerView:"auto",spaceBetween:5,rewind:!0,updateOnWindowResize:!1,autoplay:{delay:3e3,disableOnInteraction:!1},direction:"vertical"},this.UPDATE_INTERVAL=12e4,this.upcomingList=[],this.isVertical=!1,this.showComingSoon=!1,this.isComponentAlive=!0,this.isShowMockSlickItem=!1,this.slideConfig={slidesToShow:3,slidesToScroll:1,infinite:!0,variableWidth:!0,autoplay:!0,autoplaySpeed:2e3,arrows:!1,swipe:!0,swipeToSlide:!0,touchMove:!0,draggable:!0},this.showLoading=!0}ngOnInit(){this.loadUpcomingData(),this.updateUpcomingDataPeriodically()}updateUpcomingDataPeriodically(){je(this.UPDATE_INTERVAL).pipe(Y(()=>!!this.isComponentAlive)).subscribe(()=>{this.loadUpcomingData()})}trackByMatchId(n,o){return o.matchId}loadUpcomingData(){let n=this.upcomingList.length;this.setUpcomingLayout(),this.httpService.getUpcoming({}).subscribe(o=>{var a,m,h;((a=o==null?void 0:o.data)==null?void 0:a.code)===0&&((h=(m=o==null?void 0:o.data)==null?void 0:m.hotEventList)!=null&&h.length)?(this.showComingSoon=!1,o.data.hotEventList.forEach(x=>this.upcomingList.push(x)),this.upcomingList.splice(0,n)):this.showComingSoon=!0,this.setUpcomingLayout(),this.showLoading=!1})}setUpcomingLayout(){switch(this.LayoutType){case nt:case ot:this.carouselWidth=593,this.slideConfig.vertical=!0,this.slideConfig.verticalSwiping=!0,this.slideConfig.adaptiveHeight=!1,this.slideConfig.slidesToShow=3,this.slideConfig.variableWidth=!1,this.isVertical=!0;break;case Ie:case we:this.carouselWidth="100%",this.slideConfig.slidesToShow=4,this.isVertical=!1,this.upcomingList.length===4&&(this.isShowMockSlickItem=!0);break;case at:case rt:case st:case lt:this.carouselWidth="100%",this.slideConfig.slidesToShow=3,this.isVertical=!1,this.upcomingList.length===3&&(this.isShowMockSlickItem=!0);break}}movingAddorSub(n){this.normalClickView(n)}normalClickView(n){n==="+"?this.upcomSwiper.nativeElement.swiper.slideNext(500):n==="-"&&this.upcomSwiper.nativeElement.swiper.slidePrev(500)}checkSwiperButtonIsDisable(){return!!(gt.includes(this.LayoutType)&&this.upcomingList.length<4||this.upcomingList.length<=1||this.upcomingList.length<3)}clickMatch(n){var m,h;let o=(h=(m=this.menuService.getMenuData("home"))==null?void 0:m.find(x=>x.position=="SportsBook"))==null?void 0:h.subMenu.find(x=>x.providerId=="CDL"),a=(this.globalData.isLogin?"&":"")+n.split("?")[1];this.transferService.getGameMenuLink(o,a)}setUpcomingHeight(){switch(window.layoutSetting[0].type){case 2:case 3:return 470;
1case 4:case 5:case 6:return 210}}ngOnDestroy(){this.isComponentAlive=!1}};r.\u0275fac=function(o){return new(o||r)(S($),S(Ee),S(j),S(ke))},r.\u0275cmp=H({type:r,selectors:[["app-upcoming"]],viewQuery:function(o,a){if(o&1&&(Z(Yt,5),Z(Kt,5),Z(Zt,5)),o&2){let m;ee(m=te())&&(a.slickModal=m.first),ee(m=te())&&(a.upcomSwiper=m.first),ee(m=te())&&(a.upcomSwiper2=m.first)}},inputs:{LayoutType:"LayoutType"},standalone:!0,features:[G],decls:8,vars:8,consts:[["upcomSwiper",""],[1,"head",3,"ngStyle"],[1,"index_title"],[3,"newItemEvent","isDisabled"],["class","gallery",3,"ngStyle",4,"ngIf"],[1,"gallery",3,"ngStyle"],["class","loading-img",4,"ngIf"],["class","row",4,"ngIf"],[1,"loading-img"],[1,"row"],[4,"ngIf"],["appSwiper","","autoplay","true",1,"row",3,"config"],["class","upcoming-slide",4,"ngFor","ngForOf"],[1,"upcoming-slide"],[3,"click"],[1,"upcoming-item"],[1,"heading"],[1,"vs-box"],[1,"name"],[1,"icon-vs"],[1,"upcoming-info"],[1,"item"],[1,"title"],[1,"value"],[1,"date"],[1,"upcoming-mask"],[1,"upcoming-mask-heading"],[4,"ngFor","ngForOf"]],template:function(o,a){o&1&&(I(0),s(1,"div",1)(2,"p",2),c(3),f(4,"translate"),l(),s(5,"app-swiper-button",3),b("newItemEvent",function(h){return a.movingAddorSub(h)}),l()(),_(6,ri,3,5,"div",4)(7,di,3,5,"div",4),w()),o&2&&(i(),p("ngStyle",A(7,ei)),i(2),u(v(4,5,"title_UpcomingMatch")),i(2),p("isDisabled",a.checkSwiperButtonIsDisable()),i(),p("ngIf",!a.isVertical),i(),p("ngIf",a.isVertical))},dependencies:[N,Be,E,Dt,Q,V,W,oe],styles:[".slick-list{display:inline-flex}  .slick-slider{margin-top:-15px}  .slick-vertical .slick-slide{border:solid 1px var(--border-color);width:363px!important}.upcoming-slide[_ngcontent-%COMP%]{width:100%;max-width:365px}"]});let e=r;return e})();var Ot=e=>({active:e});function _i(e,r){e&1&&g(0,"span",5)}function ui(e,r){if(e&1&&(s(0,"p",9),c(1),f(2,"translate"),s(3,"strong"),c(4),f(5,"date"),l()()),e&2){let t=d(2);i(),T(" ",v(2,2,"rewardPage.rewardWinnerDesc"),""),i(3),u(ve(5,4,t.startDate,"dd MMM yyyy","en-US"))}}function fi(e,r){if(e&1&&(s(0,"p",9)(1,"strong"),c(2),f(3,"date"),l(),c(4),f(5,"translate"),l()),e&2){let t=d(2);i(2),u(ve(3,2,t.startDate,"dd MMM yyyy","en-US")),i(2),T("",v(5,6,"rewardPage.rewardWinnerDesc")," ")}}function hi(e,r){if(e&1&&(s(0,"div",10),g(1,"div",11)(2,"app-vip-level",12),s(3,"div",13)(4,"strong",14),c(5),l(),s(6,"span",15),c(7),f(8,"translate"),l()(),s(9,"strong",16),c(10),l()()),e&2){let t=d(2);i(2),p("isQQPool",!0)("vipInfo",t.topWinner[0].vipIconInfo1st),i(3),u(t.topWinner[0].loginId1St),i(2),T(" ",v(8,6,"country."+t.toCountry(t.topWinner[0].currId1St))," "),i(3),U("",t.topWinner[0].realBonus1St," ",t.topWinner[0].currId1St,"")}}function vi(e,r){if(e&1&&(s(0,"div",10),g(1,"div",11)(2,"app-vip-level",12),s(3,"div",13)(4,"strong",14),c(5),l(),s(6,"span",15),c(7),f(8,"translate"),l()(),s(9,"strong",16),c(10),l()()),e&2){let t=d(2);i(2),p("isQQPool",!0)("vipInfo",t.topWinner[0].vipIconInfo2nd),i(3),u(t.topWinner[0].loginId2St),i(2),T(" ",v(8,6,"country."+t.toCountry(t.topWinner[0].currId2St))," "),i(3),U("",t.topWinner[0].realBonus2St," ",t.topWinner[0].currId2St,"")}}function Si(e,r){if(e&1&&(s(0,"div",10),g(1,"div",11)(2,"app-vip-level",12),s(3,"div",13)(4,"strong",14),c(5),l(),s(6,"span",15),c(7),f(8,"translate"),l()(),s(9,"strong",16),c(10),l()()),e&2){let t=d(2);i(2),p("isQQPool",!0)("vipInfo",t.topWinner[0].vipIconInfo3rd),i(3),u(t.topWinner[0].loginId3St),i(2),T(" ",v(8,6,"country."+t.toCountry(t.topWinner[0].currId3St))," "),i(3),U("",t.topWinner[0].realBonus3St," ",t.topWinner[0].currId3St,"")}}function yi(e,r){if(e&1&&(s(0,"div",10),g(1,"div",11)(2,"app-vip-level",12),s(3,"div",13)(4,"strong",14),c(5),l(),s(6,"span",15),c(7),f(8,"translate"),l()(),s(9,"strong",16),c(10),l()()),e&2){let t=r.$implicit,n=d(3);i(2),p("isQQPool",!0)("vipInfo",t.vipIconInfo),i(3),u(t.loginId),i(2),T(" ",v(8,6,"country."+n.toCountry(t.currId))," "),i(3),U("",t.realBonus," ",t.currId,"")}}function xi(e,r){if(e&1&&(I(0),_(1,yi,11,8,"div",17),w()),e&2){let t=d(2);i(),p("ngForOf",t.specialList)("ngForTrackBy",t.trackByIndex)}}function Ci(e,r){if(e&1&&(I(0),_(1,ui,6,8,"p",6)(2,fi,6,8,"p",6),s(3,"div",7),_(4,hi,11,8,"div",8)(5,vi,11,8,"div",8)(6,Si,
111,8,"div",8)(7,xi,2,2,"ng-container",4),l(),w()),e&2){let t=d();i(),p("ngIf",t.langService.language!=="zh-CN"),i(),p("ngIf",t.langService.language==="zh-CN"),i(2),p("ngIf",t.topWinner[0]==null?null:t.topWinner[0].currId1St),i(),p("ngIf",t.topWinner[0]==null?null:t.topWinner[0].currId2St),i(),p("ngIf",t.topWinner[0]==null?null:t.topWinner[0].currId3St),i(),p("ngIf",t.specialList.length)}}function Ii(e,r){if(e&1&&(s(0,"div",10),g(1,"span",22),s(2,"div",13)(3,"strong",14),c(4),l(),s(5,"span",15),c(6),f(7,"translate"),l()(),s(8,"strong",16),c(9),l()()),e&2){let t=d().$implicit,n=d(2);i(4),u(t.loginId1St),i(2),T(" ",v(7,4,"country."+n.toCountry(t.currId1St))," "),i(3),U("",t.realBonus1St," ",t.currId1St,"")}}function wi(e,r){if(e&1&&(s(0,"div",10),g(1,"span",23),s(2,"div",13)(3,"strong",14),c(4),l(),s(5,"span",15),c(6),f(7,"translate"),l()(),s(8,"strong",16),c(9),l()()),e&2){let t=d().$implicit,n=d(2);i(4),u(t.loginId2St),i(2),T(" ",v(7,4,"country."+n.toCountry(t.currId2St))," "),i(3),U("",t.realBonus2St," ",t.currId2St,"")}}function bi(e,r){if(e&1&&(s(0,"div",10),g(1,"span",24),s(2,"div",13)(3,"strong",14),c(4),l(),s(5,"span",15),c(6),f(7,"translate"),l()(),s(8,"strong",16),c(9),l()()),e&2){let t=d().$implicit,n=d(2);i(4),u(t.loginId3St),i(2),T(" ",v(7,4,"country."+n.toCountry(t.currId3St))," "),i(3),U("",t.realBonus3St," ",t.currId3St,"")}}function Di(e,r){if(e&1&&(s(0,"div",20)(1,"div",21)(2,"span"),c(3),f(4,"translate"),l(),s(5,"strong"),c(6),f(7,"date"),l()(),_(8,Ii,10,6,"div",8)(9,wi,10,6,"div",8)(10,bi,10,6,"div",8),l()),e&2){let t=r.$implicit;i(3),T("",v(4,5,"rewardPage.period")," : "),i(3),u(ve(7,7,t.startDate,"dd MMM yyyy","en-US")),i(2),p("ngIf",t.currId1St),i(),p("ngIf",t.currId2St),i(),p("ngIf",t.currId3St)}}function Li(e,r){if(e&1&&(I(0),s(1,"div",7)(2,"div",18),_(3,Di,11,11,"div",19),l()(),w()),e&2){let t=d();i(3),p("ngForOf",t.winnerLists)("ngForTrackBy",t.trackByIndex)}}var Ft=(()=>{let r=class r{constructor(n,o){this.httpService=n,this.langService=o,this.periodDetails=null,this.winnerLists=[],this.topWinner=[],this.tag="topWinners",this.specialList=[],this.showLoading=!0}ngOnInit(){this.initPageData()}trackByIndex(n){return n}initPageData(){this.httpService.getPlayerRanking({}).subscribe(n=>{var o,a,m,h;if(n.code===0){let x=(m=(a=(o=n.data)==null?void 0:o.winnerList)==null?void 0:a.map(C=>Ge(He({},C),{jackpotPeriod:this.formatPeriod(C.jackpotPeriod)})))!=null?m:[];this.periodDetails=Ge(He({},n.data),{startDate:this.formatPeriod((h=n.data)==null?void 0:h.startDate)}),this.winnerLists=x,this.topWinner=this.winnerLists.filter(C=>C.jackpotPeriod===this.formatPeriod(this.periodDetails.periodNumber)),this.startDate=this.periodDetails.startDate,this.specialList=this.periodDetails.specialWinnerList,this.topWinner.length===0&&(this.topWinner[0]=this.winnerLists[0],this.specialList=[])}else this.periodDetails=null,this.winnerLists=[];this.showLoading=!1})}formatPeriod(n){if(n==null)return"";let o=String(n).trim();if(!o)return"";if(/^\d{8}$/.test(o)){let m=o.slice(0,4),h=o.slice(4,6),x=o.slice(6,8);return"".concat(m,"-").concat(h,"-").concat(x)}let a=o.match(/^(\d{4})-(\d{2})-(\d{2})/);if(a){let[,m,h,x]=a;return"".concat(m,"-").concat(h,"-").concat(x)}return o}toCountry(n){return _t(n)}ngOnDestroy(){}};r.\u0275fac=function(o){return new(o||r)(S($),S(ie))},r.\u0275cmp=H({type:r,selectors:[["app-ranking"]],standalone:!0,features:[G],decls:12,vars:15,consts:[[1,"ranking-list"],["class","loading-img",4,"ngIf"],[1,"ranking-tab"],[3,"click","ngClass"],[4,"ngIf"],[1,"loading-img"],["class","ranking-head",4,"ngIf"],[1,"wrap"],["class","ranking-col",4,"ngIf"],[1,"ranking-head"],[1,"ranking-col"],[1,"ranking-order"],[3,"isQQPool","vipInfo"],[1,"content"],[1,"name"],[1,"info"],[1,"money"],["class","ranking-col",4,"ngFor","ngForOf","ngForTrackBy"],[1,"rank-result-list",2,"width","100%"],["class","item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"item"],[1,"date"],[1,"img-no1"],[1,"img-no2"],[1,"img-no3"]],template:function(o,a){o&1&&(s(0,"div",0),_(1,_i,1,0,"span",1),s(2,"div",2)(3,"ul")(4,"li",3),b("click",function(){return a.tag="topWinners"}),c(5),f(6,"translate"),l(),s(7,"li",3),b("click",function(){return a.tag="lastWinnerList"}),c(8),f(9,"translate"),l()()(),_(10,Ci,8,6,"ng-container",4)(11,Li,4,2,"ng-container",4),l()),o&2&&(i(),p("ngIf",a.showLoading),i(3),p("ngClass",k(11,Ot,a.tag==="topWinners")),i(),T(" ",v(6,7,"rewardPage.topWinners")," "),i(2),p("ngClass",k(13,Ot,a.tag==="lastWinnerList")),i(),T(" ",v(9,9,"rewardPage.lastWinnerList")," "),i(2),p("ngIf",a.tag==="topWinners"&&(a.winnerLists==null?null:a.winnerLists.length)),i(),p("ngIf",a.tag==="lastWinnerList"&&(a.winnerLists==null?null:a.winnerLists.length)))},dependencies:[R,E,Q,V,W,xt,Ce,Ke],styles:["[_nghost-%COMP%]{display:block}.wrap[_ngcontent-%COMP%]{scrollbar-width:none;overflow:auto;overflow:overlay}"]});let e=r;return e})();var Ti=(e,r)=>({online:e,offline:r});function ki(e,r){e&1&&g(0,"span",2)}function Ei(e,r){if(e&1&&(s(0,"swiper-slide")(1,"div",6)(2,"a")(3,"span",7),c(4,"signal"),l(),s(5,"i",8),f(6,"lowercase"),f(7,"lowercase"),c(8),l()()()()),e&2){let t=r.$implicit;i(),p("ngClass",ze(7,Ti,t.match===!1,t.match===!0)),i(4),p("className","bk_"+v(6,3,t.currId)+"_"+v(7,5,t.bankId)),i(3),u(t.bankName)}}function Bi(e,r){if(e&1&&(I(0),s(1,"h3",3),c(2),f(3,"translate"),l(),s(4,"swiper-container",4),_(5,Ei,9,10,"swiper-slide",5),l(),w()),e&2){let t=d();i(2),u(v(3,5,"supportedBank")),i(2),he("height",t.globalData.isMobileStyle?"80%":(t.config==null||t.config.grid==null?null:t.config.grid.rows)==2?"108px":"80px"),p("config",t.config),i(),p("ngForOf",t.supportedBankList)}}var We=(()=>
1{let r=class r{constructor(n,o,a){this.globalData=n,this.httpService=o,this.langService=a,this.LayoutType="",this.showSupportBankLoading=!0,this.config={},this.showLoading=!0,this.isComponentAlive=!0}ngOnInit(){this.globalData.loginSub$.pipe(pe(),Y(()=>!!this.isComponentAlive)).subscribe(n=>{this.loadSupportBank()})}loadSupportBank(){let n={language:this.langService.language};this.httpService.getSupportBank(n).subscribe(o=>{o.code===0&&(this.supportedBankList=o.data.supportedBankList,this.setSupportBankLayout()),this.showSupportBankLoading=!1})}setSupportBankLayout(){var n,o,a,m,h,x,C,O,y,B,P,F,z,re,ue;if(this.globalData.isMobileStyle)this.config={loop:!(((n=this.supportedBankList)==null?void 0:n.length)<4),loopAddBlankSlides:!0,slidesPerView:((o=this.supportedBankList)==null?void 0:o.length)<4?(a=this.supportedBankList)==null?void 0:a.length:4,slidesPerGroup:((m=this.supportedBankList)==null?void 0:m.length)<4?(h=this.supportedBankList)==null?void 0:h.length:4,spaceBetween:5,pagination:{clickable:!0},speed:1500,autoplay:((x=this.supportedBankList)==null?void 0:x.length)<4?!1:{delay:5e3,disableOnInteraction:!1}},this.showSupportBankLoading=!1;else switch(this.LayoutType){case pt:case be:case De:this.config={slidesPerGroup:((C=this.supportedBankList)==null?void 0:C.length)<6?(O=this.supportedBankList)==null?void 0:O.length:6,slidesPerView:((y=this.supportedBankList)==null?void 0:y.length)<6?(B=this.supportedBankList)==null?void 0:B.length:6,pagination:{clickable:!0},autoHeight:!0,loop:!1,spaceBetween:10,speed:1500,autoplay:{delay:5e3,disableOnInteraction:!1}};break;default:this.config={slidesPerGroup:((P=this.supportedBankList)==null?void 0:P.length)<3?(F=this.supportedBankList)==null?void 0:F.length:3,slidesPerView:((z=this.supportedBankList)==null?void 0:z.length)<3?(re=this.supportedBankList)==null?void 0:re.length:3,grid:{rows:((ue=this.supportedBankList)==null?void 0:ue.length)<=3?1:2,fill:"row"},pagination:{clickable:!0},height:200,loop:!1,spaceBetween:10,speed:1500,autoplay:{delay:5e3,disableOnInteraction:!1}};break}}ngOnDestroy(){this.isComponentAlive=!1}};r.\u0275fac=function(o){return new(o||r)(S(j),S($),S(ie))},r.\u0275cmp=H({type:r,selectors:[["app-support-bank"]],inputs:{LayoutType:"LayoutType"},standalone:!0,features:[G],decls:2,vars:2,consts:[["class","loading-img",4,"ngIf"],[4,"ngIf"],[1,"loading-img"],[1,"payments-title"],["appSwiper","","autoplay","true",1,"payments-wrap",3,"config"],[4,"ngFor","ngForOf"],[1,"item",3,"ngClass"],[1,"signal"],[3,"className"]],template:function(o,a){o&1&&_(0,ki,1,0,"span",0)(1,Bi,6,7,"ng-container",1),o&2&&(p("ngIf",a.showSupportBankLoading),i(),p("ngIf",!a.showSupportBankLoading))},dependencies:[E,oe,Q,R,ye,V,W],encapsulation:2});let e=r;return e})();var Hi=["usefulSwiper"],Gi=["usefulSwiper2"],Mi=["gameLink"],Ut=()=>[E,oe,Q,N,W],Ai=()=>[E,Q,N,W],Oi=e=>({"height.px":e}),Ve=()=>({display:"none"}),Re=()=>({display:"block"});function Fi(e,r){if(e&1&&g(0,"app-hotgame-banner",9),e&2){let t=d(2);p("bannerArray",t.hotGameBannerService.bannerArray)}}function Ui(e,r){e&1&&g(0,"span",10)}function Wi(e,r){if(e&1){let t=M();s(0,"button",28),b("click",function(o){D(t);let a=d(2).$implicit,m=d(5);return L(m.openGameFun(a,o))}),c(1),f(2,"translate"),l()}if(e&2){let t=d(2).$implicit;le("data-axq",t.gameCode),i(),T(" ",v(2,2,"hotgame.trynow")," ")}}function Vi(e,r){if(e&1){let t=M();s(0,"div",25)(1,"button",26),b("click",function(o){D(t);let a=d().$implicit,m=d(5);return L(m.openGameReal(a,o))}),c(2),f(3,"translate"),l(),_(4,Wi,3,4,"button",27),l()}if(e&2){let t=d().$implicit;i(),le("data-axq",t.gameCode),i(),u(v(3,3,"hotgame.play")),i(2),p("ngIf",t.isFun===1)}}function Ri(e,r){e&1&&(s(0,"span",29),g(1,"i",30),l())}function Ni(e,r){e&1&&g(0,"span",10)}function ji(e,r){if(e&1){let t=M();s(0,"swiper-slide")(1,"div",14)(2,"a",15),b("click",function(){let o=D(t).$implicit,a=d(5);return a.openGame(o.providerId,o.gameCode,o.index,o.nameByLang,o),L(a.traceGameClick(o))}),s(3,"div",16)(4,"div",17),_(5,Vi,5,5,"div",18),l(),s(6,"img",19),b("load",function(){let o=D(t).index,a=d(5);return L(a.setLoadImgStatus(o,"success","first"))})("error",function(){let o=D(t).index,a=d(5);
1return L(a.setLoadImgStatus(o,"error","first"))}),l(),g(7,"div",20),_(8,Ri,2,0,"span",21)(9,Ni,1,0,"span",8),l()(),s(10,"div",22),g(11,"span",23),l(),g(12,"strong",24),l()()}if(e&2){let t=r.$implicit,n=d(5);i(5),p("ngIf",!n.globalData.isMobileStyle),i(),p("src",t.imageUrl,q)("ngStyle",t.loadImgStatus==="error"?A(7,Ve):A(8,Re)),i(2),p("ngIf",t.loadImgStatus==="error"),i(),p("ngIf",t.loadImgStatus===null),i(2),p("className","logo-"+t.providerId),i(),p("innerHTML",t.nameByLang,Me)}}function $i(e,r){if(e&1&&(s(0,"swiper-container",12,0),_(2,ji,13,9,"swiper-slide",13),l()),e&2){let t=d(4);p("config",t.config),i(2),p("ngForOf",t.hotGameData.firstRow)}}function Qi(e,r){e&1&&g(0,"div",31)}function zi(e,r){e&1&&(_(0,$i,3,2)(1,Qi,1,0),J(2,0,Ut,null,1),X(),K())}function qi(e,r){if(e&1){let t=M();s(0,"button",28),b("click",function(o){D(t);let a=d().$implicit,m=d(5);return L(m.openGameFun(a,o))}),c(1),f(2,"translate"),l()}if(e&2){let t=d().$implicit;le("data-axq",t.gameCode),i(),T(" ",v(2,2,"hotgame.trynow")," ")}}function Ji(e,r){e&1&&(s(0,"span",34),g(1,"i",30),l())}function Xi(e,r){e&1&&g(0,"span",10)}function Yi(e,r){if(e&1){let t=M();s(0,"swiper-slide")(1,"div",14)(2,"a",15),b("click",function(){let o=D(t).$implicit,a=d(5);return a.openGame(o.providerId,o.gameCode,o.index,o.nameByLang,o),L(a.traceGameClick(o))}),s(3,"div",16)(4,"div",17)(5,"button",26),b("click",function(o){let a=D(t).$implicit,m=d(5);return L(m.openGameReal(a,o))}),c(6),f(7,"translate"),l(),_(8,qi,3,4,"button",27),l(),s(9,"img",32),b("load",function(){let o=D(t).index,a=d(5);return L(a.setLoadImgStatus(o,"success","second"))})("error",function(){let o=D(t).index,a=d(5);return L(a.setLoadImgStatus(o,"error","second"))}),l(),g(10,"div",20),_(11,Ji,2,0,"span",33)(12,Xi,1,0,"span",8),l()(),s(13,"div",22),g(14,"span",23),l(),g(15,"strong",24),l()()}if(e&2){let t=r.$implicit;i(5),le("data-axq",t.gameCode),i(),u(v(7,9,"hotgame.play")),i(2),p("ngIf",t.isFun===1),i(),p("src",t.imageUrl,q)("ngStyle",t.loadImgStatus==="error"?A(11,Ve):A(12,Re)),i(2),p("ngIf",t.loadImgStatus==="error"),i(),p("ngIf",t.loadImgStatus===null),i(2),p("className","logo-"+t.providerId),i(),p("innerHTML",t.nameByLang,Me)}}function Ki(e,r){if(e&1&&(s(0,"swiper-container",12,1),_(2,Yi,16,13,"swiper-slide",13),l()),e&2){let t=d(4);p("config",t.config),i(2),p("ngForOf",t.hotGameData.secondRow)}}function Zi(e,r){e&1&&g(0,"div",35)}function en(e,r){e&1&&(_(0,Ki,3,2)(1,Zi,1,0),J(2,0,Ut,null,1),X(),K())}function tn(e,r){if(e&1&&(I(0),_(1,zi,4,0,"ng-template",11)(2,en,4,0,"ng-template",11),w()),e&2){let t=d(2);i(),p("ngIf",t.hotGameData.firstRow.length>0),i(),p("ngIf",t.hotGameData.secondRow.length>0)}}function nn(e,r){if(e&1){let t=M();I(0)(1),s(2,"div",3)(3,"p",4),c(4),f(5,"translate"),l(),s(6,"app-swiper-button",5),b("newItemEvent",function(o){D(t);let a=d();return L(a.movingAddorSub(o))}),l()(),_(7,Fi,1,1,"app-hotgame-banner",6),s(8,"div",7),_(9,Ui,1,0,"span",8)(10,tn,3,2,"ng-container",2),l(),w()()}if(e&2){let t=d();i(4),u(v(5,6,"title_HotGame")),i(2),p("isDisabled",t.checkSwiperButtonIsDisable()),i(),p("ngIf",t.hasHotGameBanner()),i(),p("ngStyle",k(8,Oi,t.setHotGameHeight())),i(),p("ngIf",t.showLoading),i(),p("ngIf",!t.showLoading)}}function on(e,r){e&1&&(s(0,"span",29),g(1,"i",30),l())}function an(e,r){e&1&&g(0,"span",10)}function rn(e,r){if(e&1){let t=M();s(0,"div",40)(1,"div",41),b("click",function(){let o=D(t).$implicit,a=d(3);return a.openGame(o.providerId,o.gameCode,o.index,o.nameByLang,o),L(a.traceGameClick(o))}),s(2,"img",42),b("load",function(){let o=D(t).index,a=d(3);return L(a.setLoadImgStatus(o,"success"))})("error",function(){let o=D(t).index,a=d(3);return L(a.setLoadImgStatus(o,"error"))}),l(),_(3,on,2,0,"span",21)(4,an,1,0,"span",8),l(),s(5,"div",43),g(6,"span",23),l()()}if(e&2){let t=r.$implicit;le("data-axq",t.gameCode),i(2),p("src",t.imageUrl,q)("ngStyle",t.loadImgStatus==="error"?A(6,Ve):A(7,Re)),i(),p("ngIf",t.loadImgStatus==="error"),i(),p("ngIf",t.loadImgStatus===null),i(2),p("className","logo-"+t.providerId)}}function sn(e,r){if(e&1&&(s(0,"h3",36),g(1,"i",37),c(2),f(3,"translate"),l(),s(4,"div",38),_(5,rn,7,8,"div",39),l()),e&2){let t=d(2);i(2),u(v(3,2,"title_HotGame")),i(3),p("ngForOf",t.hotGameListService.hotGameList)}}function ln(e,r){e&1&&g(0,"div",44)}function pn(e,r){if(e&1&&(I(0),_(1,sn,6,4)(2,ln,1,0),J(3,1,Ai,null,2),X(),K(),w()),e&2){let t=d();i(3),se(t.globalData.isApp||t.globalData.isMobileStyle)}}var Ne=(()=>
1{let r=class r{constructor(n,o,a,m,h,x,C,O){this.globalData=n,this.transferService=o,this.loginService=a,this.hotGameBannerService=m,this.router=h,this.hotGameListService=x,this.cmsService=C,this.recordGameService=O,this.LayoutType="",this.HOME_PAGE=0,this.config={slidesPerGroup:1,spaceBetween:10,speed:1500,rewind:!0,updateOnWindowResize:!1,autoplay:{delay:5e3,disableOnInteraction:!1}},this.hotGameData={firstRow:[],secondRow:[]},this.isComponentAlive=!0,this.hotGameBanners=[],this.hotGameList=[],this.showLoading=!0,this.hasTriggered=!1,this.setHotGameAndHotGameBanner=(y,B)=>{var P;(P=this.streamingProviderMapSubscription)==null||P.unsubscribe(),this.streamingProviderMapSubscription=this.cmsService.streamingProviderMap$.pipe(pe((F,z)=>JSON.stringify(F)===JSON.stringify(z))).subscribe(F=>{this.hotGameListService.loadHotGameList(this.HOME_PAGE,y,F).subscribe(({hotGameList:z})=>{this.hotGameList=z,this.hotGameBannerService.loadHotGameBannerData("home","").subscribe(({hotGameBanners:re})=>{this.hotGameBanners=re,this.setHotGameLayout(),this.handleHotGameRows(this.hotGameList),this.showLoading=!1})})})},this.setLoadImgStatus=(y,B,P)=>{switch(P){case"first":this.hotGameData.firstRow[y]&&(this.hotGameData.firstRow[y].loadImgStatus=B);break;case"second":this.hotGameData.secondRow[y]&&(this.hotGameData.secondRow[y].loadImgStatus=B);break;default:this.hotGameList[y]&&(this.hotGameList[y].loadImgStatus=B)}},this.handleHotGameRows=y=>{this.cmsService.setLayout().subscribe(({layouts:B})=>{if(!(!B.aboveLayout||!y))if(mt.includes(B.aboveLayout)){this.hotGameData.firstRow=[],this.hotGameData.secondRow=[];for(let P=0;P<y.length;P++)P%2===0?this.hotGameData.firstRow.push(y[P]):this.hotGameData.secondRow.push(y[P])}else this.hotGameData.firstRow=[...y]})}}ngOnInit(){this.globalData.loginSub$.pipe(pe(),Y(()=>!!this.isComponentAlive)).subscribe(n=>{this.hotGameListService.handleHotGameWithStreamAcct(n,this.setHotGameAndHotGameBanner)})}setHotGameLayout(){switch(this.config.slidesPerView=this.hasHotGameBanner()?3:5,this.config.width=this.hasHotGameBanner()?565:950,this.LayoutType){case Ie:case we:this.config.slidesPerView=this.hasHotGameBanner()?5:7,this.config.width=this.hasHotGameBanner()?950:1335;break;case it:this.config.slidesPerView=this.hasHotGameBanner()?5:7,this.config.width=this.hasHotGameBanner()?950:1335;break}}openGame(n,o,a,m,h,x=!0){if(this.globalData.isRealMoney=x,h.gameType=="PPC"&&(n="PPC"),!this.globalData.isLogin)this.loginService.isOpenLogin=!0;else{let C={providerId:n,gameCode:o,gameName:m};if(this.globalData.isRealMoney)this.transferService.popupFastTransfer(C,a,n,"EGAME",!1,!0,"",!1);else{let O="";this.transferService.getGameSite(C,!1).then(y=>{if(O=y.gameInfo?y.gameInfo.gameUrl:"",O===""){this.router.navigate(["/"]);return}this.transferService.popupFastTransfer(C,a,n,"EGAME",!1,!1,"",!1)})}}}openGameReal(n,o){o.stopPropagation(),this.openGame(n.providerId,n.gameCode,n.index,n.nameByLang,n,!0),this.traceGameClick(n)}openGameFun(n,o){o.stopPropagation(),this.openGame(n.providerId,n.gameCode,n.index,n.nameByLang,n,!1),this.traceGameClick(n)}traceGameClick(n){this.recordGameService.traceGameClick(n.providerId,n.gameCode,n.nameByLang,n.index,"H")}hasHotGameBanner(){return ct.includes(this.LayoutType)&&this.hotGameBanners.length&&!this.globalData.isMobileStyle}movingAddorSub(n){let o=this.hotGameData.secondRow.length;n==="+"?(this.usefulSwiper.nativeElement.swiper.slideNext(500),o>0&&this.usefulSwiper2.nativeElement.swiper.slideNext(500)):n==="-"&&(this.usefulSwiper.nativeElement.swiper.slidePrev(500),o>0&&this.usefulSwiper2.nativeElement.swiper.slidePrev(500))}checkSwiperButtonIsDisable(){let n=this.hotGameData.firstRow.length;if(dt.includes(this.LayoutType)){if(this.hasHotGameBanner()){if(n<=5)return!0}else if(n<=7)return!0}else if(this.hasHotGameBanner()){if(n<=3)return!0}else if(n<=5)return!0;return!1}setHotGameHeight(){switch(window.layoutSetting[0].type){case 1:return 485;case 2:case 3:return 458;case 4:case 5:return 240;case 6:return 218;case 7:case 8:return 458}}ngOnDestroy(){var n;this.isComponentAlive=!1,(n=this.streamingProviderMapSubscription)==null||n.unsubscribe()}};r.\u0275fac=function(o){return new(o||r)(S(j),S(Ee),S(ht),S(kt),S(et),S(Et),S(ne),S(St))},r.\u0275cmp=H({type:r,selectors:[["app-hot-game"]],viewQuery:function(o,a){if(o&1&&(Z(Hi,5),Z(Gi,5),Z(Mi,5)),o&2){let m;
1ee(m=te())&&(a.usefulSwiper=m.first),ee(m=te())&&(a.usefulSwiper2=m.first),ee(m=te())&&(a.gameLink=m.first)}},inputs:{LayoutType:"LayoutType"},standalone:!0,features:[G],decls:2,vars:2,consts:[["usefulSwiper",""],["usefulSwiper2",""],[4,"ngIf"],[1,"head"],[1,"index_title"],[3,"newItemEvent","isDisabled"],["removeHost","",3,"bannerArray",4,"ngIf"],[1,"gallery",3,"ngStyle"],["class","loading-img",4,"ngIf"],["removeHost","",3,"bannerArray"],[1,"loading-img"],[3,"ngIf"],["appSwiper","","autoplay","true","lazy","true",1,"row","swiper-lazystyle",3,"config"],[4,"ngFor","ngForOf"],[1,"game-item"],[3,"click"],[1,"img"],["data-show","web",1,"active-mask"],["class","active-mask",4,"ngIf"],["fetchpriority","high","alt","homeHotGame","loading","lazy",2,"height","180px","width","180px",3,"load","error","src","ngStyle"],[1,"swiper-lazy-preloader"],["class","default-img",4,"ngIf"],["data-show","web",1,"game-item-avatar"],[3,"className"],[1,"name",3,"innerHTML"],[1,"active-mask"],[1,"game-play-btn",3,"click"],["class","game-try-btn",3,"click",4,"ngIf"],[1,"game-try-btn",3,"click"],[1,"default-img"],[1,"icon-img_default",2,"animation","'none'"],[2,"height","240px"],["fetchpriority","high","alt","homeHotGame","loading","lazy",3,"load","error","src","ngStyle"],["class","default-img","style","height: 180px;width: 180px;",4,"ngIf"],[1,"default-img",2,"height","180px","width","180px"],[2,"height","218px"],["data-show","mobile",1,"home_title","no-border"],[1,"icon-hot"],["data-show","mobile",1,"game-catogory","home-type"],["class","game-item no-name",4,"ngFor","ngForOf"],[1,"game-item","no-name"],[1,"img",3,"click"],["fetchpriority","high","alt","openGameImg",2,"height","300px","width","300px",3,"load","error","src","ngStyle"],[1,"game-item-avatar"],[2,"min-height","1360px"]],template:function(o,a){o&1&&_(0,nn,11,10,"ng-container",2)(1,pn,5,1,"ng-container",2),o&2&&(p("ngIf",!a.globalData.isMobileStyle&&a.LayoutType),i(),p("ngIf",a.globalData.isMobileStyle&&a.hotGameListService.hotGameList.length))},dependencies:[E,Be,Tt,Lt,N,V,W],encapsulation:2});let e=r;return e})();var dn=e=>({adjustment:e}),gn=e=>({"member-icon--has-icon":e}),_n=e=>({"background-image":e}),un=e=>({load:e});function fn(e,r){if(e&1&&(I(0),g(1,"img",20),w()),e&2){let t=d(2);i(),p("src",t.vipIconInfo.imageFilePath,q)}}function hn(e,r){if(e&1&&g(0,"span",21),e&2){let t=d(2);p("ngClass",t.vipIconInfo.icon)}}function vn(e,r){if(e&1&&(I(0),_(1,fn,2,1,"ng-container",7)(2,hn,1,1,"ng-template",null,1,me),w()),e&2){let t=ce(3),n=d();i(),p("ngIf",n.vipIconInfo.imageFilePath)("ngIfElse",t)}}function Sn(e,r){e&1&&(s(0,"span",22),c(1),f(2,"translate"),l()),e&2&&(i(),T(" ",v(2,1,"sideMenu.hi"),", "))}function yn(e,r){if(e&1&&(s(0,"div",23)(1,"div",24)(2,"div",25),g(3,"div",26),l()()()),e&2){let t=d();i(3),he("width",t.memberInfo==null||t.memberInfo.vipInfo==null||t.memberInfo.vipInfo.bannerInfo==null?null:t.memberInfo.vipInfo.bannerInfo.completionPercentage,"%")}}function xn(e,r){if(e&1&&(s(0,"div",27)(1,"div",28),c(2),f(3,"translate"),l(),s(4,"div",29),c(5),l()()),e&2){let t=d();i(2),u(v(3,2,"vipInfos.vipProgress")),i(3),T("",t.memberInfo==null||t.memberInfo.vipInfo==null||t.memberInfo.vipInfo.bannerInfo==null?null:t.memberInfo.vipInfo.bannerInfo.completionPercentage,"%")}}var Wt=(()=>{let r=class r{constructor(n,o,a,m,h){this.globalData=n,this.httpService=o,this.accountInfoService=a,this.appConfigService=m,this.cmsService=h,this.iconCurUrl="assets/images/vip/icon_cur.png"}ngOnInit(){this.accountInfoService.loadAccountData().then(n=>{var o;this.memberInfo=n,this.setVipIconInfo((o=this.memberInfo)==null?void 0:o.vipInfo)}),this.accountInfoService.getBalance()}setVipIconInfo(n){if(!n)return;let o=yt[n.level]||"",a=this.appConfigService.getConfig("staticResourceUrl")||"",m="".concat(a.replace(/\/$/,""),"/static/vip_icon"),h=n.iconFilePath?"".concat(m,"/").concat(n.iconFilePath.replace(/^\/+/,"")):"";this.vipIconInfo={imageFilePath:h,icon:o}}fetchBalance(){this.httpService.getBalance({}).subscribe(n=>{var o,a;this.balance=(a=(o=n==null?void 0:n.data)==null?void 0:o.balance)!=null?a:0})}getVipBarTotalBalance(){var a,m,h;let n=Number((a=this.globalData.acctInfo)==null?void 0:a.balance)||0,o=Number((m=this.globalData.acctInfo)==null?void 0:m.bonus)||0;
1return(h=this.cmsService.cmsSetting)!=null&&h.isAutoTransfer?n+o:n}};r.\u0275fac=function(o){return new(o||r)(S(j),S($),S(Te),S(Se),S(ne))},r.\u0275cmp=H({type:r,selectors:[["app-mobile-detail"]],standalone:!0,features:[G],decls:24,vars:22,consts:[["noVipInfo",""],["iconClass",""],[1,"mobile-detail-container",3,"ngClass"],[1,"mobile-detail"],[1,"member-detail"],[1,"member-info-left"],[1,"member-icon",3,"ngClass"],[4,"ngIf","ngIfElse"],[1,"member-name"],[1,"member-info-right"],[1,"member-balance"],[1,"member-balance-info"],[1,"member-currency-icon"],[1,"icon_cur",3,"ngStyle"],[1,"member-currency"],[1,"member-money"],["app-debounce-click","",1,"member-reload-btn",3,"debounceClick","ngClass"],[1,"icon-Refresh"],["class","vip-progress",4,"ngIf"],["class","vip-bar-bottom",4,"ngIf"],[3,"src"],[1,"coin",3,"ngClass"],[1,"member-hi-text"],[1,"vip-progress"],[1,"vip-bar-wrap"],[1,"vip-progressbar"],[1,"vip-progressbar-fill"],[1,"vip-bar-bottom"],[1,"vip-progress-label"],[1,"vip-progress-percent"]],template:function(o,a){if(o&1){let m=M();s(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"div",6),_(5,vn,4,2,"ng-container",7)(6,Sn,3,3,"ng-template",null,0,me),l(),s(8,"div",8),c(9),l()(),s(10,"div",9)(11,"div",10)(12,"div",11)(13,"div",12),g(14,"i",13),l(),s(15,"div",14),c(16),l(),s(17,"div",15),c(18),f(19,"number"),l()(),s(20,"button",16),b("debounceClick",function(){return D(m),L(a.accountInfoService.getBalance())}),g(21,"i",17),l()()()(),_(22,yn,4,2,"div",18)(23,xn,6,4,"div",19),l()()}if(o&2){let m=ce(7);p("ngClass",k(14,dn,(a.memberInfo==null||a.memberInfo.vipInfo==null||a.memberInfo.vipInfo.bannerInfo==null?null:a.memberInfo.vipInfo.bannerInfo.completionPercentage)==null)),i(4),p("ngClass",k(16,gn,a.vipIconInfo&&a.vipIconInfo.level!==null)),i(),p("ngIf",a.vipIconInfo&&a.vipIconInfo.level!==null)("ngIfElse",m),i(4),u(a.memberInfo==null?null:a.memberInfo.loginId),i(5),p("ngStyle",k(18,_n,"url("+a.iconCurUrl+")")),i(2),u(a.memberInfo==null?null:a.memberInfo.currId),i(2),u(qe(19,11,a.getVipBarTotalBalance(),"1.2-2")),i(2),p("ngClass",k(20,un,a.globalData.walletLoading)),i(2),p("ngIf",(a.memberInfo==null||a.memberInfo.vipInfo==null||a.memberInfo.vipInfo.bannerInfo==null?null:a.memberInfo.vipInfo.bannerInfo.completionPercentage)!==null),i(),p("ngIf",(a.memberInfo==null||a.memberInfo.vipInfo==null||a.memberInfo.vipInfo.bannerInfo==null?null:a.memberInfo.vipInfo.bannerInfo.completionPercentage)!==null)}},dependencies:[Ce,R,E,N,xe,tt,V,W]});let e=r;return e})();var Cn=()=>[Ae],In=()=>[E,N,bt],wn=()=>[Ae,E,Q,Ne,We,ye],bn=()=>[E,Ne,We,R,N,Ft,At,Ht],Dn=()=>({"height.px":36}),Ln=()=>({"height.px":38}),Tn=()=>({"height.px":316}),kn=()=>({"height.px":426}),Vt=()=>({"height.px":1670}),Pe=e=>({"height.px":e});function En(e,r){e&1&&g(0,"app-mobile-detail")}function Bn(e,r){e&1&&g(0,"app-banner",5),e&2&&p("bannerType","main")}function Pn(e,r){if(e&1&&g(0,"div",2),e&2){let t=d();p("ngStyle",t.globalData.isMobileStyle?A(1,Tn):A(2,kn))}}function Hn(e,r){e&1&&(I(0),g(1,"i",14),w()),e&2&&(i(),p("className","icon-QQpool"))}function Gn(e,r){if(e&1&&(g(0,"i",14),f(1,"lowercase")),e&2){let t=d().$implicit;p("className","icon-"+v(1,1,t.position))}}function Mn(e,r){if(e&1&&(s(0,"strong"),c(1),l()),e&2){let t=d().$implicit;i(),T(" ",t.settingLang[0]==null?null:t.settingLang[0].name," ")}}function An(e,r){if(e&1){let t=M();s(0,"li")(1,"a",12),b("click",function(){let o=D(t).$implicit,a=d(5);return L(a.cmsService.openMenu(o))}),_(2,Hn,2,1,"ng-container",13)(3,Gn,2,3,"ng-template",null,0,me)(5,Mn,2,1,"strong",1),l()()}if(e&2){let t=r.$implicit,n=ce(4);i(2),p("ngIf",t.position==="Reward")("ngIfElse",n),i(3),p("ngIf",t.settingLang)}}function On(e,r){if(e&1&&(s(0,"ul"),_(1,An,6,3,"li",11),l()),e&2){let t=d(4);i(),p("ngForOf",t.menuService.getMenuData("gamehome"))("ngForTrackBy",t.trackByPosition)}}function Fn(e,r){if(e&1&&(s(0,"div",7),_(1,On,2,2,"ul",1),l(),g(2,"app-banner",5)(3,"app-hot-game"),s(4,"div",8)(5,"div",9),g(6,"app-support-bank",10),l()()),e&2){let t=d(3);i(),p("ngIf",t.menuService.getMenuData("gamehome")),i(),p("bannerType","mini")}}function Un(e,r){e&1&&g(0,"div",2),e&2&&p("ngStyle",A(1,Vt))}function Wn(e,r){if(e&1&&(I(0),_(1,Fn,7,2)(2,Un,1,2),J(3,1,wn,null,2),X(),K(),w()),e&2){let t=d(2);i(3),se(t.globalData.isApp||t.globalData.isMobileStyle)}}function Vn(e,r){if(e&1&&g(0,"app-hot-game",22),e&2){let t=d(4);p("ngClass",t.layoutMapping.HotGame)("LayoutType",t.aboveLayout)}}function Rn(e,r){if(e&1&&g(0,"app-ranking",23),e&2){let t=d(4);p("ngClass",t.layoutMapping.PlayerRanking)}}function Nn(e,r){if(e&1&&g(0,"app-upcoming",24),e&2){let t=d(4);p("ngClass",t.layoutMapping.UpcomingMatch)("LayoutType",t.aboveLayout)}}function jn(e,r){if(e&1&&g(0,"app-service-advantage",25),e&2){let t=d(4);p("ngClass",t.layoutMapping.ServiceAdvantage)("LayoutType",t.belowLayout)}}function $n(e,r){if(e&1&&g(0,"app-support-bank",26),e&2){let t=d(4);p("ngClass",t.layoutMapping.SupportBank)("LayoutType",t.belowLayout)}}function Qn(e,r){if(e&1&&(s(0,"div",15),_(1,Vn,1,2,"app-hot-game",16)(2,Rn,1,1,"app-ranking",17)(3,Nn,1,2,"app-upcoming",18),l(),s(4,"div",19),_(5,jn,1,2,"app-service-advantage",20)(6,$n,1,2,"app-support-bank",21),l()),e&2){let t=d(3);p("ngStyle",k(7,Pe,t.setBlockAHeight())),i(),p("ngIf",(t.aboveLayout&&t.layoutMapping.HotGame)!==void 0),i(),p("ngIf",t.layoutMapping.PlayerRanking),i(),p("ngIf",t.layoutMapping.UpcomingMatch),i(),p("ngStyle",k(9,Pe,t.setSupportBankServiceHeight())),i(),p("ngIf",t.layoutMapping.ServiceAdvantage),i(),p("ngIf",t.layoutMapping.SupportBank)}}function zn(e,r){if(e&1&&g(0,"div",2),e&2){let t=d(3);p("ngStyle",k(1,Pe,t.setBlockAHeight()+t.setSupportBankServiceHeight()))}}
1function qn(e,r){e&1&&(I(0),_(1,Qn,7,11)(2,zn,1,3),J(3,1,bn,null,2),X(),K(),w())}function Jn(e,r){e&1&&g(0,"app-seo-footer")}function Xn(e,r){if(e&1&&(s(0,"div",6),_(1,Wn,5,1,"ng-container",1)(2,qn,5,0,"ng-container",1)(3,Jn,1,0,"app-seo-footer",1),l()),e&2){let t=d();i(),p("ngIf",t.globalData.isMobileStyle),i(),p("ngIf",!t.globalData.isMobileStyle),i(),p("ngIf",t.cmsService.seoSetting)}}function Yn(e,r){if(e&1&&g(0,"div",2),e&2){let t=d();p("ngStyle",t.globalData.isMobileStyle?A(1,Vt):k(2,Pe,t.setBlockAHeight()+t.setSupportBankServiceHeight()))}}function Kn(e,r){e&1&&g(0,"app-floating-menu")}function Zn(e,r){e&1&&g(0,"app-maintenance-info",27),e&2&&p("type","home")}var Sa=(()=>{let r=class r{constructor(n,o,a,m,h,x,C,O,y,B,P){this.globalData=n,this.httpService=o,this.cmsService=a,this.menuService=m,this.route=h,this.storageService=x,this.langService=C,this.bannerService=O,this.appConfigService=y,this.homepagePopupSettingService=B,this.accountInfoService=P,this.isAnnouncementOpen=!1,this.aboveLayout="",this.belowLayout="",this.layoutMapping={},this.isComponentAlive=!0,this.isShow=!1,this.imgUrl="",this.imgUrlBefore="",this.imgUrlAfter="",this.displayTiming="",this.imgUrlAfterGroup={},this.memInfo=this.storageService.getMemberInfoFromCookie(),this.memGroup="",this.resourceInfoPrefix=this.appConfigService.getConfig("resourceInfoPrefix"),this.isOverContainer=!1,this.isLogin=this.globalData.isLogin,this.resourceAssetSharedPrefix=this.appConfigService.getConfig("resourceAssetSharedPrefix"),this.cmsService.setLayout().subscribe(({layouts:F})=>{this.aboveLayout=F.aboveLayout,this.belowLayout=F.belowLayout,this.layoutMapping=F.layoutMapping})}ngOnInit(){return fe(this,null,function*(){var a,m;this.initSubscription(),this.setReferralAndAdCookies(),this.memGroup=(m=(a=this.storageService.getMemberInfoFromCookie())==null?void 0:a.memGroup)==null?void 0:m.toUpperCase();let n=this.getPopupStatus();if(this.isShow=!!n,this.isShow||(this.globalData.isShowedHomepagePopup=!0),yield this.fetchHomepagePopupData(),this.globalData.isLogin?(this.imgUrlAfter&&sessionStorage.getItem("afterPopupClosed")===null?this.isShow=!0:sessionStorage.getItem("afterPopupClosed")===null&&(this.globalData.isShowedHomepagePopup=!0),sessionStorage.getItem("afterPopupClosed")==="false"&&(this.globalData.isShowedHomepagePopup=!0)):(this.imgUrlBefore&&sessionStorage.getItem("beforePopupClosed")===null?this.isShow=!0:sessionStorage.getItem("beforePopupClosed")===null&&(this.globalData.isShowedHomepagePopup=!0),sessionStorage.getItem("beforePopupClosed")==="false"&&(this.globalData.isShowedHomepagePopup=!0)),sessionStorage.getItem("isReload")==="true"){sessionStorage.setItem("isReload","false");let h=(x,C)=>{let O=x;sessionStorage.setItem(C,O!==""?"false":"true")};h(this.imgUrlAfterGroup,"afterPopupClosed"),h(this.imgUrlBefore,"beforePopupClosed"),!this.globalData.isLogin&&sessionStorage.getItem("beforePopupClosed")!=="true"&&sessionStorage.getItem("afterPopupClosed")!==null&&(this.globalData.isShowedHomepagePopup=!1,this.isShow=!0),this.globalData.isLogin&&this.imgUrlAfter&&sessionStorage.getItem("afterPopupClosed")!=="true"&&sessionStorage.getItem("beforePopupClosed")!==null&&(this.globalData.isShowedHomepagePopup=!1,this.isShow=!0),this.isShow||(this.globalData.isShowedHomepagePopup=!0)}})}ngDoCheck(){return fe(this,null,function*(){var o;let n=this.globalData.isLogin;this.isLogin!==n&&(this.isLogin=n,n&&(yield this.accountInfoService.loadAccountData(),this.memGroup=(o=this.accountInfoService.memData)==null?void 0:o.memGroup,this.memGroup&&this.memGroup.trim()!==""&&(yield this.fetchHomepagePopupData())))})}getMemGroupFromStorage(){return fe(this,null,function*(){return new Promise(n=>{setTimeout(()=>{var a,m;let o=(m=(a=this.storageService.getMemberInfoFromCookie())==null?void 0:a.memGroup)==null?void 0:m.toUpperCase();n(o||"")},500)})})}trackByPosition(n,o){return o.position}fetchHomepagePopupData(){let n="".concat(this.resourceInfoPrefix,"/all_platform/json/HomepagePopupJson.json?v=").concat(this.globalData.getOneMinuteCache());return new Promise((o,a)=>{this.homepagePopupSettingService.getJsonData({name:"homepagePopupSetting",url:n}).subscribe(m=>{if(m&&m.length>0){let h=m,x=localStorage.getItem("language").toLowerCase(),O=h.filter(y=>y.language.toLowerCase()==x&&y.status==1).map(y=>{let B=y.imgFileName,P=y.displayTiming,F=y.memGroup;if(B){let z="".concat(this.resourceAssetSharedPrefix,"/all_platform/homepage_popup/").concat(B),re=new Image;return new Promise(ue=>{re.onload=()=>{P==="Before"?this.imgUrlBefore=z:P==="After"&&F&&(this.imgUrlAfterGroup[F]||(this.imgUrlAfterGroup[F]=[]),this.imgUrlAfterGroup[F].push(z),this.imgUrlAfterGroup[this.memGroup]&&(this.imgUrlAfter=this.imgUrlAfterGroup[this.memGroup][0])),ue()},re.src=z})}return Promise.resolve()});Promise.all(O).then(()=>{o()})}else this.isShow=!0,this.globalData.isShowedHomepagePopup=!0,o()},m=>{this.isShow=!0,this.globalData.isShowedHomepagePopup=!1,o(),a(m)})})}getPopupStatus(){return this.globalData.isLogin?sessionStorage.getItem("afterPopupClosed")!=="true"&&sessionStorage.getItem("afterPopupClosed")!==null:sessionStorage.getItem("beforePopupClosed")!=="true"&&sessionStorage.getItem("afterPopupClosed")!==null}initSubscription(){this.cmsService.initPageCMS(),this.globalData.loginSub$.pipe(Y(()=>!!this.isComponentAlive)).subscribe(()=>{this.setPromotionRetarget()})}setReferralAndAdCookies(){this.route.queryParams.subscribe(n=>{if(n){(n.orderNo||null)!=null&&(window.location.href=window.location.origin+window.location.pathname);let a=n.R||null;a!=null&&this.storageService.setStorage("ReferralId",a,!1);let m=n.AdType||null,h=n.Id||null;if(m!=null&&h!=null){this.storageService.setStorage("AdType",m,!1),this.storageService.setStorage("AdId",h,!1);let x={AdId:h,AdType:m,UrlReferrer:document.referrer};this.httpService.TrackAdAccess(x).subscribe(C=>{if(C.code===0&&C.data&&(this.storageService.setCookie("ReferrerHasTripleW",C.data.referrerHasTripleW),C.data.adId!=null&&C.data.adId!="")){let O={AdId:C.data.adId},y=JSON.stringify(O),B=this.storageService.getCookie("Cash_Cookie");B&&(B.AdId=C.data.adId,y=JSON.stringify(B)),this.storageService.setCookie("Cash_Cookie",y,.04),this.storageService.setStorage("AdId",C.data.adId,!1)}})}}})}addRetargetingPromotion(n){history.pushState({},document.title,window.location.pathname),this.storageService.delCookie("retargeting"),this.httpService.addRetargetingPromotion({retargetingEncryptedParam:n}).subscribe()}setPromotionRetarget(){let n="";this.route.queryParams.subscribe(o=>{n=o.retargeting,this.globalData.isLogin?n?this.addRetargetingPromotion(n):(n=this.storageService.getCookie("retargeting"),n&&this.addRetargetingPromotion(n)):n&&this.storageService.setCookie("retargeting",n)})}setBlockAHeight(){switch(window.layoutSetting[0].type){case 1:return 509;case 2:case 3:return 523;case 4:return 541;
1case 5:case 6:case 7:case 8:return 582}}setSupportBankServiceHeight(){switch(window.layoutSetting[1].type){case 1:case 2:case 3:return window.layoutSetting[1].block1==3&&window.layoutSetting[1].block2==0?0:234}}ngOnDestroy(){this.isComponentAlive=!1}};r.\u0275fac=function(o){return new(o||r)(S(j),S($),S(ne),S(ke),S(Ze),S(Ye),S(ie),S(vt),S(Se),S(ut),S(Te))},r.\u0275cmp=H({type:r,selectors:[["app-home"]],standalone:!0,features:[G],decls:15,vars:12,consts:[["iconContent",""],[4,"ngIf"],[3,"ngStyle"],[3,"type",4,"ngIf"],[3,"isShow","imgUrlBefore","imgUrlAfter","isOverContainer"],[3,"bannerType"],[1,"container"],["data-show","mobile",1,"home_menu"],[1,"home_sub_index"],[1,"payments","col-large"],[2,"height","120px"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"click"],[4,"ngIf","ngIfElse"],[3,"className"],["data-show","web",1,"home_index",3,"ngStyle"],["class","hot-game index-col",3,"ngClass","LayoutType",4,"ngIf"],["class","ranking index-col",3,"ngClass",4,"ngIf"],["class","upcoming index-col",3,"ngClass","LayoutType",4,"ngIf"],["data-show","web",1,"home_sub_index",3,"ngStyle"],["class","service-block","style","position: relative",3,"ngClass","LayoutType",4,"ngIf"],["class","payments","style","position: relative",3,"ngClass","LayoutType",4,"ngIf"],[1,"hot-game","index-col",3,"ngClass","LayoutType"],[1,"ranking","index-col",3,"ngClass"],[1,"upcoming","index-col",3,"ngClass","LayoutType"],[1,"service-block",2,"position","relative",3,"ngClass","LayoutType"],[1,"payments",2,"position","relative",3,"ngClass","LayoutType"],[3,"type"]],template:function(o,a){o&1&&(s(0,"main"),_(1,En,1,0,"app-mobile-detail",1)(2,Bn,1,1)(3,Pn,1,3),J(4,2,Cn,null,3),X(),K(),g(6,"app-announcement",2),_(7,Xn,4,3)(8,Yn,1,4),J(9,7,In,null,8),X(),l(),g(11,"app-footer"),_(12,Kn,1,0,"app-floating-menu",1)(13,Zn,1,1,"app-maintenance-info",3),g(14,"app-home-popup",4)),o&2&&(i(),p("ngIf",a.isLogin&&a.globalData.isMobileStyle),i(3),se(a.globalData.isApp||a.globalData.isMobileStyle),i(2),p("ngStyle",a.globalData.isMobileStyle?A(10,Dn):A(11,Ln)),i(3),se(a.globalData.isApp||a.globalData.isMobileStyle),i(3),p("ngIf",!a.globalData.isMobileStyle),i(),p("ngIf",a.cmsService.cmsSetting==null?null:a.cmsService.cmsSetting.homeMaintenancePopup),i(),p("isShow",a.isShow)("imgUrlBefore",a.imgUrlBefore)("imgUrlAfter",a.imgUrlAfter)("isOverContainer",a.isOverContainer))},dependencies:[Bt,E,N,wt,It,Ct,Pt,Wt],styles:["[_nghost-%COMP%]     .index-col{overflow:hidden}"],data:{animation:[Le,ft]}});let e=r;return e})();export{Sa as HomeComponent};

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.