1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Vc7JtQ0y.js","./PjHeAahW.js","./entry.C5JZ-Z7c.css","./BePWzHsW.js","./DMLG4uht.js","./DialogBlockGame.CsZa9r_n.css","./KSEWBXUf.js","./ctOUjxRo.js","./D0x2qATU.js","./BL1jjX13.js","./Swiper.B3fDMBX8.css","./DZwmWWoh.js","./BiuuBtV1.js","./VqpLvbqU.js","./tu14gX6p.js","./CNQifXP9.js","./B0TEmISJ.js","./DJl6rppK.js","./Desktop.Z2301eeM.css","./BfOch_PI.js","./Bz1PCj25.js","./7W78i2Pq.js","./B0ZzwWQx.js","./Mobile.D6pxgL-v.css","./Duvhehnd.js","./Mobile.C4VYAx11.css"])))=>i.map(i=>d[i]); 2import{cn as z,f9 as He,eT as Ne,dw as ae,ex as je,dy as _e,eN as e,dA as n,c5 as f,g1 as ge,cg as g,b0 as K,c2 as h,M as w,dP as B,c4 as T,fp as se,dN as F,aS as N,eC as R,cf as ce,c0 as E,cR as Re,b4 as ne,eX as Q,eY as te,u as he,fh as Je,fS as Ve,fZ as x,c3 as k,bb as oe,cm as U,b3 as j,dk as G,b_ as O,dQ as Ue,f6 as ie,b,N as A,dn as Fe,eV as We,fb as fe,fx as be,dj as ve,di as J,dB as Ke,fF as qe,dg as ke,bc as Ye,dK as Qe,cT as me,aF as V,fw as Xe,Q as ye,d0 as Ze,d3 as et,e_ as we,_ as tt,fY as Se,fn as at,eS as st,fB as nt,bd as ot,ew as pe,eq as it}from"./PjHeAahW.js";import{u as lt,f as rt,g as ct}from"./BiuuBtV1.js";import{u as mt,_ as pt,f as ut}from"./VqpLvbqU.js";import{_ as le,A as dt,a as H}from"./BL1jjX13.js";import{_ as _t}from"./DZwmWWoh.js";import{u as gt}from"./tu14gX6p.js";import{u as ht}from"./CNQifXP9.js";import{u as xe}from"./B0TEmISJ.js";import{_ as ft}from"./DJl6rppK.js";const bt={class:"marquee-track flex h-full w-max items-center justify-start whitespace-nowrap text-sm font-medium will-change-transform sm:text-base sm:font-bold"},vt={class:"mx-8 flex items-center gap-1 sm:mx-16 sm:gap-2"},kt={class:"text-white"},yt={class:"flex items-center gap-2"},wt={class:"font-normal text-white"},St={class:"font-bold"},xt="warp_banner_notification_home",At=120*1e3,ee=7200*1e3,Tt=z({__name:"WarpNotificationBanner",setup(t){const{checkIsWarpIp:r}=lt(),{MAIN_PAGE_WARP:d}=He(),_=se(),i=F(!1);let l=null,m=null;const p=Ne(xt,{maxAge:ee/1e3}),o=async()=>{await r()||(i.value=!0,p.value=String(Date.now()),l&&clearTimeout(l),l=setTimeout(()=>{i.value=!1},At))};ae(async()=>{if(!_.public.ENABLE_NATIVE_NOTIFICATION_WARP)return;const s=Number(p.value)||0,a=Date.now()-s;(!s||a>=ee)&&await o(),m=je(()=>{o()},ee)}),_e(()=>{l&&clearTimeout(l),m&&clearInterval(m)});const c=E(()=>{{const s=window.location.host;return Re(s,_.public.WARP_DOMAIN_EXTENSION||"").toUpperCase()}});return(s,a)=>{const u=K,y=N;return e(i)?(n(),f("div",{key:0,class:"group relative z-40 h-accountSubNav cursor-pointer overflow-hidden bg-[#000000] py-[8px] text-white opacity-90 shadow-md sm:h-[38px]",onClick:ge(()=>{},["self"])},[g(u,{to:e(d),target:"_blank",class:"absolute inset-0 z-10"},null,8,["to"]),h("div",bt,[(n(),f(w,null,B(50,S=>(n(),f(w,{key:S},[h("div",vt,[a[0]||(a[0]=h("div",{class:"size-2 rounded-full bg-[#18f99e]"},null,-1)),a[1]||(a[1]=h("span",{class:"font-normal text-white"},"Tải app ",-1)),g(y,{src:"warp/warp.webp",alt:"1.1.1.1","img-class":"size-[24px] object-contain"}),a[2]||(a[2]=h("span",{class:"highlight-text-gradient mx-0.5 text-lg font-black"},"1.1.1.1",-1)),a[3]||(a[3]=h("span",{class:"text-sm font-normal text-white"},"và truy cáºp",-1)),h("span",kt,R(e(c)),1),a[4]||(a[4]=h("div",{class:"mx-1 h-3 w-px bg-white/50 sm:mx-2"},null,-1)),a[5]||(a[5]=h("span",{class:"highlight-text-gradient text-lg"},"ChÃnh chá»§ - An toà n - Bảo máºt",-1))]),h("div",yt,[a[8]||(a[8]=h("div",{class:"size-2 rounded-full bg-[#18f99e]"},null,-1)),h("p",wt,[a[6]||(a[6]=ce(" Truy cáºp link chÃnh chá»§ ",-1)),h("span",St,R(e(c)),1),a[7]||(a[7]=ce(" Äá» tránh bá» lừa Äảo ",-1))])])],64))),64))])])):T("",!0)}}}),Ae=ne(Tt,[["__scopeId","data-v-1522ced8"]]),zt=U(()=>j(()=>import("./Vc7JtQ0y.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url).then(t=>t.default||t)),Lt={class:"relative size-full pc:bg-[#6d0a00]"},Bt=z({__name:"BannerJackpot",props:{jackpotBannerGame:{},isStartAutoplay:{type:Boolean},sizes:{},sizeThumbnailGame:{}},setup(t){const r=t,d=Q().isDesktop,i=`/images/jackpot/banner/${d?"desktop":"mobile"}/background.mp4`,l=te(he.LOGIN),m=te(),{playGame:p}=Je(),o={modules:[dt],direction:"vertical",loop:!0,autoplay:!1,speed:500,allowTouchMove:!1,pagination:!1};let c=null;const s=u=>{c=u};Ve(()=>r.isStartAutoplay,u=>{if(c?.autoplay&&u){const S=(r.jackpotBannerGame?.length??0)===1?6e3:3e3;c.params.autoplay={delay:S,disableOnInteraction:!1},c.autoplay.start()}},{immediate:!0});const a=(u,y)=>{p({game:u,isTrial:y,openLoginDialogFn:l.openDialog,openBlockGameDialogFn:m.openDialog})};return(u,y)=>{const S=N,P=oe,C=le,L=zt;return n(),f("div",Lt,[h("video",{src:i,class:"absolute inset-0 z-front size-full cursor-default object-fill pc:mx-auto pc:max-w-[1920px] pc:object-cover",autoplay:"",loop:"",muted:"",playsinline:"",preload:"metadata",disablePictureInPicture:""}),g(C,{id:"flipThumbnailGame",class:"absolute left-1/2 top-[43%] z-10 !mx-0 h-[42%] w-[88.5%] -translate-x-1/2 pc:top-[126px] pc:h-[90px] pc:w-[620px]",options:o,onSwiper:s},{default:x(()=>[(n(!0),f(w,null,B(t.jackpotBannerGame,(D,v)=>(n(),k(e(H),{key:v,class:"!flex cursor-pointer flex-row",onClick:I=>a(D)},{default:x(()=>[g(S,{src:D.img,loading:"eager",sizes:t.sizeThumbnailGame??(e(d)?"68px":"35px"),preload:!0,class:"z-[3] aspect-[35/47] w-[10.5%] min-w-[35px] flex-center pc:aspect-[68/91] pc:w-[75px]"},null,8,["src","sizes"]),g(P,{class:"z-[3] w-[79%] bg-gradient-banner-jackpot bg-clip-text text-2xl font-extrabold text-transparent flex-center pc:w-[470px] pc:text-[44px] pc:leading-[38px] sm:text-2xl",value:D.jackpot,"init-number":0,"number-class":"bg-gradient-banner-jackpot bg-clip-text text-2xl font-extrabold text-transparent pc:text-[44px] pc:leading-[38px] sm:text-2xl"},null,8,["value"])]),_:2},1032,["onClick"]))),128))]),_:1}),g(L,{"auth-dialog-controller":e(l),"block-game-dialog-controller":e(m),onHandlePlayGame:a},null,8,["auth-dialog-controller","block-game-dialog-controller"])])}}}),Pt=z({__name:"BannerWrapper",props:{class:{}},setup(t){const r=t;return(d,_)=>(n(),f("button",{type:"button",class:G(("cn"in d?d.cn:e(O))("size-full",r.class))},[Ue(d.$slots,"default")],2))}}),Ot="/jackpot/banner/text-pc.webp",Et=z({__name:"BannerSportJackpot",props:{wrapperClass:{},textClass:{},customTextBg:{},positionAmount:{},customStyleTextAmount:{},listJackpotClass:{},customSizeListJackpot:{},preload:{type:Boolean,default:!1}},setup(t){const r={width:"365px",height:"230px",size:"304px"},d={medal:{width:"64px",height:"64px",size:"sm:84px"}},_=t,i=E(()=>({..._,customTextBg:{...r,..._.customTextBg??{}},customSizeListJackpot:{...d,..._.customSizeListJackpot??{},medal:{...d.medal,..._.customSizeListJackpot?.medal??{}}}})),{getJackpotSummaryByAlias:l,getJackpotBySportType:m}=ie(),{isDesktop:p}=Q(),o=p?"pc":"mb",c=`/jackpot/banner/background-sport-jackpot-${o}.webp`,s=`/jackpot/banner/amount-${o}.webp`,a=F([{type:"goldAmount",label:"siêu hÅ© - 5 sá»",bgImg:"images/jackpot/banner/goldAmount.webp?v1",medalImg:"/jackpot/banner/mdl-goldAmount.webp"},{type:"silverAmount",label:"HÅ© lá»n - 5 sá»",bgImg:"images/jackpot/banner/silverAmount.webp?v1",medalImg:"/jackpot/banner/mdl-silverAmount.webp"}
2,{type:"minorAmount",label:"HÅ© nhá» - 3 sá»",bgImg:"images/jackpot/banner/minorAmount.webp?v1",medalImg:"/jackpot/banner/mdl-minorAmount.webp"}]);return(u,y)=>{const S=N,P=oe,C=K;return n(),k(C,{to:("APP_PATH"in u?u.APP_PATH:e(b)).PROMOTION_SUPER_JACKPOT_SPORT,prefetch:!1,class:"relative block size-full"},{default:x(()=>[g(S,{src:c,height:"100%",alt:"Siêu hÅ© thá» thao","img-class":"object-cover",loading:t.preload?"eager":"lazy",preload:t.preload?{fetchPriority:"high"}:void 0,sizes:e(p)?"1440px":"412px",fit:"cover",class:"z-0"},null,8,["loading","preload","sizes"]),h("div",{class:G(("cn"in u?u.cn:e(O))("container absolute left-1/2 top-0 size-full -translate-x-1/2 text-base-white",e(i).wrapperClass))},[e(p)?(n(),k(S,{key:0,class:G(("cn"in u?u.cn:e(O))("absolute left-[8%] top-[50%] -translate-y-1/2",e(i).textClass)),src:Ot,alt:"sieu-hu-the-thao-text",width:e(i).customTextBg.width,height:e(i).customTextBg.height,"img-class":"object-cover ",sizes:e(i).customTextBg.size,loading:t.preload?"eager":"lazy",preload:t.preload?{fetchPriority:"high"}:void 0,fit:"cover"},null,8,["class","width","height","sizes","loading","preload"])):T("",!0),h("div",{class:G(("cn"in u?u.cn:e(O))("absolute -translate-x-1/2 -translate-y-1/2 bg-cover bg-center font-svn-kimberley",e(p)?"-bottom-[40px] left-1/2 h-[111px] w-[394px]":"bottom-[calc(-4*(100vw/375))] left-[calc(110*(100vw/375))] h-[calc(37*(100vw/375))] w-[calc(167*(100vw/375))]",e(i).positionAmount))},[e(p)?(n(),k(S,{key:0,src:s,height:"100%",width:"100%",alt:"amount","img-class":"object-contain",loading:t.preload?"eager":"lazy",preload:t.preload?{fetchPriority:"high"}:void 0,sizes:e(p)?"214px":"167px",fit:"contain",class:"z-0"},null,8,["loading","preload","sizes"])):T("",!0),g(P,{"number-class":("cn"in u?u.cn:e(O))("jackpotAmount absolute left-1/2 -translate-x-1/2 -translate-y-1/2 font-normal",e(p)?"top-[78px] pc:text-[38px] pc:leading-normal":"top-[calc(22*(100vw/375))] text-[calc(16*(100vw/375))] leading-[calc(24*(100vw/375))] left-[60%]",e(i).customStyleTextAmount?.amountClass),value:e(l)(("GameAliasEnum"in u?u.GameAliasEnum:e(A)).SPORTS)??0,"init-number":0},null,8,["number-class","value"])],2),e(p)?(n(),f("ul",{key:1,class:G(("cn"in u?u.cn:e(O))("absolute bottom-0 right-[4%] flex h-full w-[312px] flex-col gap-4 font-svn-kimberley flex-center",e(i).listJackpotClass))},[(n(!0),f(w,null,B(e(a),L=>(n(),f("li",{key:L.type,class:"h-fit w-full"},[h("div",{class:G(("cn"in u?u.cn:e(O))("relative flex h-[72px] w-[280px] flex-col rounded-lg bg-cover bg-center",e(i).customSizeListJackpot?.bgMedal?.class)),style:Fe({backgroundImage:`url(${L.bgImg})`})},[g(S,{src:L.medalImg,class:G(("cn"in u?u.cn:e(O))("absolute left-[8%] top-1",e(i).customSizeListJackpot?.medal?.class)),alt:"medal",width:e(i).customSizeListJackpot?.medal?.width,height:e(i).customSizeListJackpot?.medal?.height,sizes:e(i).customSizeListJackpot?.medal?.size,"img-class":"object-cover",loading:"lazy",fit:"cover"},null,8,["src","class","width","height","sizes"]),h("div",{class:G(("cn"in u?u.cn:e(O))("absolute right-2 flex h-full w-[165px] flex-col items-start font-svn-kimberley",e(i).customSizeListJackpot?.amount?.wrapperClass))},[h("span",{class:G(("cn"in u?u.cn:e(O))("mt-1.5 uppercase drop-shadow-jack-label pc:text-base pc:font-normal",e(i).customSizeListJackpot?.amount?.textClass))},R(L.label),3),g(P,{class:G(("cn"in u?u.cn:e(O))("jackpotAmount",e(i).customSizeListJackpot?.amount?.amountClass)),"number-class":"font-primary leading-[27px] pc:text-lg pc:font-bold",value:e(m)(L.type)??0,"init-number":0},null,8,["class","value"])],2)],6)]))),128))],2)):T("",!0)],2)]),_:1},8,["to"])}}}),Ct=ne(Et,[["__scopeId","data-v-c79d6d57"]]),Te=()=>{const{isLoggedIn:t}=We(),{createToast:r}=qe(),{$systemService:d}=fe(),_=be("banner-list"),i=async()=>{try{return _.value||(_.value=await d.getHeroBanners()),_.value}catch(o){_.value=[];const c=o;399<c.statusCode&&c.statusCode<500&&r({variant:"destructive",description:c.message})}},l=F();return{fetchBanners:i,banners:_,handleSelect:o=>{const{banner:c,openLoginDialogFn:s}=o;if(!c?.api_url)return;let a=c.api_url;if(a.startsWith("/")||(a="/"+a),a.includes("partnerprovider")&&a.includes("partnergameid")){Ke(a);return}if(a.includes("account")){if(!t.value){l.value=a,s&&s();return}J(a);return}J(a)},handlePostLogin:async()=>
2{l.value&&t.value&&(await ve(),J(l.value),l.value=void 0)}}},Gt=[{name:"SÄn Túi Thần Tà i",imgDesktop:"banner-than-tai.webp",imgMobile:"banner-than-tai-mb.webp",api_url:"/khuyen-mai/san-tui-than-tai"},{name:"Lá»ch thi Äấu",imgDesktop:"banner-schedule.webp",imgMobile:"banner-schedule-mb.webp",api_url:"/khuyen-mai/free-code-tran-dau-hot"}],Dt={class:"el-scope"},ze=z({__name:"BannerSwiper",props:{sizes:{},banners:{}},setup(t){const{isDesktop:r}=Q()||{},{jackpotMap:d}=ie(),{show:_}=mt(),i=te(he.LOGIN),{handleSelect:l,handlePostLogin:m}=Te(),p=v=>{l({banner:v,openLoginDialogFn:i.openDialog})},o=se().public,c=o.ENABLE_JACKPOT_SPORT,s=E(()=>o.ENABLE_BANNER_JACKPOT&&a.value.length>0),a=E(()=>d.value?.banner_jackpot||[]),u=F(!1),y=Qe({pagination:{clickable:!0,el:".swiper-pagination"},autoplay:!1}),S=v=>v===0&&s.value,P=v=>{const I=v.realIndex,M=S(I);u.value=M;const W=a.value?.length??0,X=M?me(W):3e3;v.params.autoplay={delay:X,disableOnInteraction:!1}};let C;const L=v=>{C=setTimeout(()=>{u.value=S(0);const I=a.value?.length??0,M=u.value?me(I):3e3;v.params&&(v.params.autoplay={delay:M,disableOnInteraction:!1}),v.on("slideChange",()=>P(v)),v.autoplay.start()},1e4)},D=E(()=>Gt.map(v=>({name:v.name,img:r?v.imgDesktop:v.imgMobile,api_url:v.api_url})));return _e(()=>clearTimeout(C)),(v,I)=>{const M=N,W=K,X=pt,Ce=ut,Ge=Bt,De=Pt,Ie=Ct,Me=le,$e=Ye;return n(),f(w,null,[g(Me,ke({class:"aspect-hero-banner-mb size-full pc:aspect-hero-banner-pc pc:h-70"},e(y),{"show-pagination":!0,onSwiper:L}),{default:x(()=>[(n(!0),f(w,null,B(e(D),($,Z)=>(n(),k(e(H),{key:$.name},{default:x(()=>[g(W,{to:$.api_url,class:"block size-full"},{default:x(()=>[g(M,{preload:Z===0?{fetchPriority:"high"}:!1,src:$.img,loading:Z===0?"eager":"lazy",height:"100%",alt:$.name,"img-class":"object-cover",fit:"cover",sizes:t.sizes},null,8,["preload","src","loading","alt","sizes"])]),_:2},1032,["to"])]),_:2},1024))),128)),e(_)?(n(),k(e(H),{key:"dua-top-cuoc-dinh"},{default:x(()=>[h("div",Dt,[e(r)?(n(),k(X,{key:0,"show-rules":!1,redirect:!0,"img-height":"280px","number-class":"bottom-[23%]"})):(n(),k(Ce,{key:1,"show-rules":!1,redirect:!0,"img-height":"125px","hero-image":"dua-top/hero-dua-top-mb.webp","number-class":"bottom-[20%] !text-[calc(20*(100vw/375))] !leading-none"}))])]),_:1})):T("",!0),e(s)?(n(),k(e(H),{key:1,slide:""},{default:x(()=>[g(De,null,{default:x(()=>[g(Ge,{id:"BannerJackpotHasThumbnailGame","jackpot-banner-game":e(a),sizes:t.sizes,"is-start-autoplay":e(u)},null,8,["jackpot-banner-game","sizes","is-start-autoplay"])]),_:1})]),_:1})):T("",!0),e(c)?(n(),k(e(H),{key:"sieu-hu-the-thao"},{default:x(()=>[g(Ie)]),_:1})):T("",!0),(n(!0),f(w,null,B(t.banners,$=>(n(),k(e(H),{key:$.name},{default:x(()=>[g(M,{src:$.img,height:"100%",alt:$.name,"img-class":"object-cover",fit:"cover",sizes:t.sizes,onClick:Z=>p($)},null,8,["src","alt","sizes","onClick"])]),_:2},1024))),128))]),_:1},16),e(i).isOpen.value?(n(),k($e,{key:0,controller:e(i),onLogin:e(m)},null,8,["controller","onLogin"])):T("",!0)],64)}}}),It={key:0,class:"absolute bottom-7 left-0 z-30 flex h-5 w-full items-center justify-center bg-base-black/50 font-semibold backdrop-blur-lg pc:bottom-11 pc:h-7.5"},Mt=z({__name:"index",props:{item:{}},setup(t){const{getJackpotSummaryByAlias:r}=ie();return(d,_)=>{const i=oe,l=N,m=K;return n(),k(m,{to:t.item.path,class:"aspect-1 cursor-pointer"},{default:x(()=>[g(l,{preload:!0,src:t.item.image,alt:t.item.name,height:"100%",width:"100%",effect:d.$device.isDesktop?"mirror":void 0,loading:"eager",sizes:`${t.item.width?+t.item.width:185}px`,modifiers:{animated:t.item.animated},class:"size-full"},{sub:x(()=>[t.item.alias&&e(r)(t.item.alias)?(n(),f("div",It,[g(i,{value:e(r)(t.item.alias)||0,"init-number":0,"number-class":"pc:text-base text-2xs uppercase text-secondary"},null,8,["value"])])):T("",!0)]),_:1},8,["src","alt","effect","sizes","modifiers"])]),_:1},8,["to"])}}}),$t=[{image:"games/desktop/featured-aliases/ksport.webp",name:V.KSPORTS,path:b.K_SPORTS,alt:"ksports",width:"185",animated:!1},{image:"games/desktop/featured-aliases/asport.webp",name:V.ASPORTS,path:b.A_SPORTS,alt:"asports",width:"185",animated:!1},{image:"games/desktop/featured-aliases/psport.webp",name:V.PSPORTS,path:b.P_SPORTS,alt:"psports",width:"185",animated:!1},{image:"games/desktop/featured-aliases/live-casino.webp",name:"Live Casino",path:b.CASINO,alias:A.CASINO,alt:"casino",width:"185",animated:!1},{image:"games/desktop/featured-aliases/game-bai.webp",name:"Game bà i",path:b.GAME_BAI,alias:A.GAME_BAI,alt:"game-bai",width:"185",animated:!1},{image:"games/desktop/featured-aliases/no-hu.webp",name:"Ná» hÅ©",path:b.NO_HU,alias:A.NO_HU,alt:"no-hu",width:"185",animated:!1},{image:"games/desktop/featured-aliases/slots.webp",name:"Slots",path:b.SLOTS_GAME,alias:A.SLOTS,alt:"slots",width:"185",animated:!1},{image:"games/desktop/featured-aliases/lo-de.webp",name:"Lô Äá»",path:b.LO_DE,alias:A.LO_DE,alt:"lo-de",width:"185",animated:!1},{image:"games/desktop/featured-aliases/ban-ca.webp",name:"Bắn cá",path:b.BAN_CA,alias:A.BAN_CA,alt:"ban-ca",width:"185",animated:!1},{image:"games/desktop/featured-aliases/quay-so.webp",name:"Quay sá»",path:b.QUAY_SO,alias:A.QUAY_SO,alt:"quay-so",width:"185",animated:!1},{image:"games/desktop/featured-aliases/table-games.webp",name:"Table game",path:b.TABLE_GAME,alias:A.TABLE_GAME,alt:"table-game",width:"185",animated:!1},{image:"games/desktop/featured-aliases/cockfighting.webp",name:"Äá gà ",path:b.DA_GA,alt:"cockfighting",width:"185",animated:!1}],Ht=[{image:"games/mobile/featured-aliases/ksport.webp",name:V.KSPORTS,path:b.K_SPORTS,alt:"ksports",width:"109",animated:!1,isSport:!0},{image:"games/mobile/featured-aliases/asport.webp",name:V.ASPORTS,path:b.A_SPORTS,alt:"asport",width:"109",animated:!1,isSport:!0},{image:"games/mobile/featured-aliases/psport.webp",name:V.PSPORTS,path:b.P_SPORTS,alt:"psports",width:"109",animated:!1,isSport:!0},{image:"games/mobile/featured-aliases/live-casino.webp",name:"Live Casino",path:b.CASINO,alias:A.CASINO,alt:"casino",width:"109",animated:!1},{image:"games/mobile/featured-aliases/game-bai.webp",name:"Game bà i",path:b.GAME_BAI,alias:A.GAME_BAI,alt:"game-bai",width:"109",animated:!1},{image:"games/mobile/featured-aliases/no-hu.webp",name:"Ná» hÅ©",path:b.NO_HU,alias:A.NO_HU,alt:"no-hu",width:"109",animated:!1},{image:"games/mobile/featured-aliases/slots.webp",name:"Slots",path:b.SLOTS_GAME,alias:A.SLOTS,alt:"slots",width:"109",animated:!1},{image:"games/mobile/featured-aliases/lo-de.webp",name:"Lô Äá»",path:b.LO_DE,alias:A.LO_DE,alt:"lo-de",width:"109",animated:!1},{image:"games/mobile/featured-aliases/ban-ca.webp",name:"Bắn cá",path:b.BAN_CA,alias:A.BAN_CA,alt:"ban-ca",width:"109",animated:!1},{image:"games/mobile/featured-aliases/quay-so.webp",name:"Quay sá»",path:b.QUAY_SO,alias:A.QUAY_SO,alt:"quay-so",width:"109",animated:!1},{image:"games/mobile/featured-aliases/table-games.webp",name:"Table game",path:b.TABLE_GAME,alias:A.TABLE_GAME,alt:"table-game",width:"109",animated:!1},{image:"games/mobile/featured-aliases/cockfighting.webp",name:"Äá gà ",path:b.DA_GA,alt:"cockfighting",width:"109",animated:!1}],Nt={class:"container"},jt={class:"grid grid-cols-3 gap-2 pc:grid-cols-6 pc:gap-4"},Le=z({__name:"index",setup(t){const d=Q().isDesktop?$t:Ht,{getSportUrlProvider:_}=Xe(),i=async m=>{const p=window.open("about:blank","_blank"),o=await _(m.name);o?.maintenance?(p?.close(),J(b.MAINTENANCE)):!o?.url||o?.url.includes("undefined")?(p?.close(),J(b.HOME)):p.location.href=o.url},l=async m=>{m.isSport?i(m):(await ve(),J(m.path))};return(m,p)=>{const o=Mt;return n(),f("div",Nt,[p[0]||(p[0]=h("h2",{class:"sr-only"},"Featured Aliases",-1)),h("div",jt,[(n(!0),f(w,null,B(e(d),c=>(n(),k(o,{key:c.name,item:c,onClickCapture:ge(s=>l(c),["prevent"])},null,8,["item","onClickCapture"]))),128))])])}}}),Be="horizontal",ue={horizontal:"aspect-[163/123] lg:aspect-[236/176]",vertical:"aspect-[125/166]",square:"aspect-square"},de={horizontal:"aspect-[411/230]",vertical:"aspect-[9/16]",square:"aspect-square"},Rt=t=>ue[t??Be]??ue.horizontal,Jt=t=>de[t??Be]??de.horizontal,Y=(t=[])=>[...t].sort((r,d)=>r.position-d.position),q=()=>{const{$gameService:t}=fe(),r=be("homepage-sections"),d=async()=>{try{if(r.value)return r.value;const o=await t.getHomepageSections();return r.value=Object.values(o??{}).filter(c=>!!c&&Array.isArray(c.groups)).sort((c,s)=>c.position-s.position),r.value}catch{r.value=[]}},_=E(()=>r.value?.find(o=>o.section_type==="livestream")),i=E(()=>r.value?.filter(o=>o.section_type==="normal")??[]);return{sections:r,liveStreamSection:_,normalSections:i,fetchSections:d,getSectionGames:o=>o?Y(o.groups).flatMap(c=>Y(c.games)):[],getSectionLiveStreams:o=>o?Y(o.groups).flatMap(c=>Y(c.games).map(s=>({groupId:s.livestream_config?.groupId??"",streamName:s.livestream_config?.streamId??"",partner:s.partner_provider,partner_provider:s.partner_provider,partner_game_id:s.partner_game_id,name:s.name,deny_info:s.deny_info,game_type:s.type??ye.GAME,id_jackpot:`${s.partner_provider}_${s.partner_game_id}
2`,defaultThumb:s.thumbnail_img||void 0,defaultBackground:s.img,img:s.img,api:`/gameUrl?partnerProvider=${s.partner_provider}&partnerGameId=${s.partner_game_id}`}))):[],getSectionViewMoreUrl:o=>o?.has_cta&&o.cta_url?o.cta_url:void 0,getHomepageThumbAspect:Rt,getHomepageLiveStreamAspect:Jt}},Vt=U(()=>j(()=>import("./KSEWBXUf.js"),__vite__mapDeps([6,1,2]),import.meta.url).then(t=>t.default||t)),Ut={key:1,class:"grid grid-cols-3 gap-4"},Pe=z({__name:"index",props:{section:{}},setup(t){const r=t,{getSectionLiveStreams:d,getHomepageLiveStreamAspect:_}=q(),i=E(()=>d(r.section)),l=E(()=>_(r.section.thumb_style));return(m,p)=>{const o=Vt,c=le,s=_t;return e(i).length?(n(),k(s,{key:0,title:t.section.display_name||"Livestream","heading-class":"mb-3 pc:mb-5"},{default:x(()=>[t.section.has_slider?(n(),k(c,{key:0,"show-navigation":!1,pagination:!1,class:"w-full select-none",options:{slidesPerView:m.$device.isMobile?1.1:3,slidesPerGroup:m.$device.isMobile?1:3,spaceBetween:16,loop:!1}},{default:x(()=>[(n(!0),f(w,null,B(e(i),a=>(n(),k(e(H),{key:a.streamName},{default:x(()=>[g(o,{"data-live-stream":a,"default-thumb":a.defaultThumb,"wrapper-class":e(l),sizes:m.$device.isMobile?"343px":"416px"},null,8,["data-live-stream","default-thumb","wrapper-class","sizes"])]),_:2},1024))),128))]),_:1},8,["options"])):(n(),f(w,{key:1},[m.$device.isMobile?(n(),k(o,{key:0,"data-live-stream":e(i)[0],"default-thumb":e(i)[0]?.defaultThumb,"wrapper-class":e(l),sizes:"343px"},null,8,["data-live-stream","default-thumb","wrapper-class"])):(n(),f("div",Ut,[(n(!0),f(w,null,B(e(i),a=>(n(),k(o,{key:a.streamName,"data-live-stream":a,"default-thumb":a.defaultThumb,"wrapper-class":e(l),sizes:"416px"},null,8,["data-live-stream","default-thumb","wrapper-class"]))),128))]))],64))]),_:1},8,["title"])):T("",!0)}}});function Ft(t,r){return(d,_)=>z({inheritAttrs:!1,props:t,emits:["hydrated"],setup(i,l){const m=U({loader:_}),p=U({hydrate:r(i),loader:()=>Promise.resolve(m)}),o=()=>{l.emit("hydrated")};return()=>Ze(p,ke(l.attrs,{onVnodeMounted:o}),l.slots)}})}const re=Ft({hydrateOnVisible:{type:[Object,Boolean],required:!1,default:!0}},t=>et(t.hydrateOnVisible===!0?void 0:t.hydrateOnVisible)),Wt=U(()=>j(()=>import("./ctOUjxRo.js"),__vite__mapDeps([7,1,2,8,9,10,11,12,13,14,15,16,17,18]),import.meta.url).then(t=>t.default||t)),Kt=["id"],qt=z({__name:"Desktop",props:{sections:{}},setup(t){const r=t,{getSectionGames:d,getSectionViewMoreUrl:_}=q(),{setCurrentGameJackpot:i,findAndSetFirstFlipGame:l}=we(),m=E(()=>r.sections.map(s=>({section:s,games:d(s)}))),p=new Map,o=s=>(p.has(s)||p.set(s,F()),p.get(s)),c=(s,a)=>i(o(s),a);return ae(()=>{setTimeout(()=>{m.value.forEach(({section:s,games:a})=>l(o(s.code),a))},300)}),(s,a)=>{const u=Wt;return n(!0),f(w,null,B(e(m),({section:y,games:S})=>(n(),f(w,{key:y.code},[S.length?(n(),f("section",{key:0,id:y.code,class:"mt-6"},[g(u,{uuid:y.code,title:y.display_name,games:S,slider:y.has_slider,"display-type":y.display_type,"thumb-style":y.thumb_style,"view-more-url":e(_)(y),"cta-title":y.cta_title,onOnHoverGame:P=>c(y.code,P)},null,8,["uuid","title","games","slider","display-type","thumb-style","view-more-url","cta-title","onOnHoverGame"])],8,Kt)):T("",!0)],64))),128)}}});var Oe=(t=>(t.KHUYEN_MAI_HOT="khuyen-mai-hot",t))(Oe||{});const Ee=()=>{const{fetchBanners:t,banners:r}=Te(),{fetchPromotions:d,promotions:_}=gt({alias:Oe.KHUYEN_MAI_HOT}),{fetchGames:i,games:l,onHoverGameItem:m}=ht({type:ye.GAME,alias:A.NO_HU,limit:tt},{cache:!0,key:"game-no-hu"});return{banners:r,fetchBanners:t,jackpotGames:l,fetchJackpotGames:i,onHoveJackpotGame:m,promotions:_,fetchPromotions:d}},Yt=re("components/pages/home/jackpot-coming/Desktop.vue",()=>j(()=>import("./BfOch_PI.js"),__vite__mapDeps([19,1,2,20,9,10]),import.meta.url).then(t=>t.default||t)),Qt=re("components/pages/home/promotions/index.vue",()=>j(()=>import("./7W78i2Pq.js"),__vite__mapDeps([21,1,2,11]),import.meta.url).then(t=>t.default||t)),Xt={id:"warp-notification"},Zt={id:"hero-banner",class:"mb-6 w-full"},ea={id:"featured-aliases",class:"mb-6"},ta={key:0,id:"home-live-stream",class:"relative pb-12 pt-6"},aa={id:"jackpot-coming-soon"},sa={id:"promotions",class:"my-6"},na=z({__name:"Desktop",async setup(t){let r,d;const{banners:_,fetchBanners:i,jackpotGames:l,fetchJackpotGames:m,onHoveJackpotGame:p,promotions:o,fetchPromotions:c}=Ee(),{liveStreamSection:s,normalSections:a,fetchSections:u}=q();return[r,d]=Se(async()=>xe("getHomeData",async()=>await Promise.all([i(),m(),c(),u()]))),await r,d(),(y,S)=>{const P=Ae,C=ze,L=Le,D=N,v=Pe,I=Yt,M=qt,W=Qt;return n(),f(w,null,[h("section",Xt,[g(P)]),h("section",Zt,[g(C,{banners:e(_),sizes:"1440px"},null,8,["banners"])]),h("section",ea,[g(L)]),e(s)?(n(),f("section",ta,[g(D,{src:"livestream/desktop/resize-bg-section-casino.webp",class:"absolute inset-0 z-behind block size-full","img-class":"object-cover object-bottom","enable-placeholder":!1,loading:"eager",alt:"background live stream section"}),g(v,{"hydrate-on-visible":"",section:e(s)},null,8,["section"])])):T("",!0),h("section",aa,[g(I,{"hydrate-on-visible":"",games:e(l),onOnHoverGame:e(p)},null,8,["games","onOnHoverGame"])]),g(M,{sections:e(a)},null,8,["sections"]),h("section",sa,[g(W,{"hydrate-on-visible":"",promotions:e(o)},null,8,["promotions"])])],64)}}}),oa=U(()=>j(()=>import("./B0ZzwWQx.js"),__vite__mapDeps([22,1,2,12,13,9,10,11,14,15,16,17,23]),import.meta.url).then(t=>t.default||t)),ia=["id"],la=z({__name:"Mobile",props:{sections:{}},setup(t){const r=t,{getSectionGames:d,getSectionViewMoreUrl:_}=q(),{findAndSetFirstFlipGame:i}=we(),l=E(()=>r.sections.map(p=>({section:p,games:d(p)}))),m=new Map;return ae(()=>{setTimeout(()=>{l.value.forEach(({section:p,games:o})=>{const c=m.get(p.code)??F();m.set(p.code,c),i(c,o)})},300)}),(p,o)=>{const c=oa;return n(!0),f(w,null,B(e(l),({section:s,games:a})=>(n(),f(w,{key:s.code},[a.length?(n(),f("section",{key:0,id:s.code,class:"mb-3"},[g(c,{uuid:s.code,title:s.display_name,games:a,slider:s.has_slider,"display-type":s.display_type,"thumb-style":s.thumb_style,"view-more-url":e(_)(s),"cta-title":s.cta_title},null,8,["uuid","title","games","slider","display-type","thumb-style","view-more-url","cta-title"])],8,ia)):T("",!0)],64))),128)}}}),ra={class:"container"},ca={class:"mb-3 grid w-full grid-cols-2 gap-2"},ma={class:"text-sm font-medium text-neutral-900-title"},pa={class:"mb-3 grid w-full grid-cols-2 gap-2"},ua={class:"truncate text-sm font-medium text-neutral-900-title"},da={class:"mb-1 gap-x-5 flex-center"},_a={class:"mb-3 text-center text-2xs text-neutral-500"},ga=z({__name:"FooterMobile",setup(t){const r=at(),d=se(),{contacts:_}=st(),{systemSeoByPage:i}=nt(r);return(l,m)=>{const p=K,o=N,c=ot,s=ft;return n(),f("div",ra,[m[0]||(m[0]=h("h2",{class:"mb-1 text-base font-bold text-neutral-900-title"},"VỠchúng tôi",-1)),h("div",ca,[(n(!0),f(w,null,B(("footerMenus"in l?l.footerMenus:e(rt)).mb,(a,u)=>
2(n(),k(p,{key:u,to:a.link,class:"flex h-10 items-center gap-1.5 rounded-sm bg-neutral-100 px-2"},{default:x(()=>[(n(),k(it(a.icon),{filled:"",class:"text-2xl text-neutral-700-body-text"})),h("h3",ma,R(a.name),1)]),_:2},1032,["to"]))),128))]),m[1]||(m[1]=h("h2",{class:"mb-1 text-base font-bold text-neutral-900-title"},"Liên há»",-1)),h("div",pa,[(n(!0),f(w,null,B(e(_),a=>(n(),k(p,{key:a.name,to:a.url,target:"_blank",rel:"noopener noreferrer",class:"flex h-10 items-center gap-1.5 rounded-sm bg-neutral-100 px-2"},{default:x(()=>[g(o,{src:a.img},null,8,["src"]),h("h3",ua,R(a.display_name),1)]),_:2},1032,["to"]))),128))]),g(c,{class:"text-sm font-bold text-neutral-900-title",content:("sanitizeHTMLContent"in l?l.sanitizeHTMLContent:e(pe))(e(i).content_title)},null,8,["content"]),g(c,{class:"mb-6 text-2xs text-neutral-700-body-text",content:("sanitizeHTMLContent"in l?l.sanitizeHTMLContent:e(pe))(e(i).content_description)},null,8,["content"]),h("div",da,[g(s,{height:"26px"}),(n(!0),f(w,null,B("gamblingRegulationLogos"in l?l.gamblingRegulationLogos:e(ct),a=>(n(),k(o,{key:a.image,src:a.image,alt:a.image,height:a.height},null,8,["src","alt","height"]))),128))]),h("div",_a,R(`Copyright © 2026 Powered By ${e(d).public.BRAND_NAME} - All rights reserved.`),1)])}}}),ha=re("components/pages/home/jackpot-coming/Mobile.vue",()=>j(()=>import("./Duvhehnd.js"),__vite__mapDeps([24,1,2,25]),import.meta.url).then(t=>t.default||t)),fa={id:"warp-notification"},ba={id:"hero-banner",class:"mb-3 w-full"},va={id:"featured-aliases",class:"mb-3"},ka={key:0,id:"home-live-stream",class:"mb-3"},ya={id:"jackpot-coming-soon",class:"mb-3"},wa={id:"footer"},Sa=z({__name:"Mobile",async setup(t){let r,d;const{banners:_,fetchBanners:i,jackpotGames:l,fetchJackpotGames:m,onHoveJackpotGame:p,fetchPromotions:o}=Ee(),{liveStreamSection:c,normalSections:s,fetchSections:a}=q();return[r,d]=Se(async()=>xe("getHomeData",async()=>await Promise.all([i(),m(),o(),a()]))),await r,d(),(u,y)=>{const S=Ae,P=ze,C=Le,L=Pe,D=ha,v=la,I=ga;return n(),f(w,null,[h("section",fa,[g(S)]),h("section",ba,[g(P,{banners:e(_),sizes:"375px"},null,8,["banners"])]),h("section",va,[g(C)]),e(c)?(n(),f("section",ka,[g(L,{"hydrate-on-visible":"",section:e(c)},null,8,["section"])])):T("",!0),h("section",ya,[g(D,{"hydrate-on-visible":"",games:e(l),onOnHoverGame:e(p)},null,8,["games","onOnHoverGame"])]),g(v,{sections:e(s)},null,8,["sections"]),h("section",wa,[g(I)])],64)}}}),xa={};function Aa(t,r){const d=na,_=Sa;return t.$device.isDesktop?(n(),k(d,{key:0})):(n(),k(_,{key:1}))}const Ta=ne(xa,[["render",Aa]]),Ia=Object.freeze(Object.defineProperty({__proto__:null,default:Ta},Symbol.toStringTag,{value:"Module"}));export{Rt as g,Ia as i};
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.