1import{a as Y,A as N,v as P,x as h,q as o,f as l,j as t,y as e,i as b,B as c,H as Q,g,I as r,F as _,l as v,G as U,p as f,L as X,M as Z,b as y}from"./@vue-4474Gfnj.js";import{l as w}from"./@inertiajs-7zqq8wgj.js";import{_ as tt}from"./HotPickGames-BXKX5wGo.js";import st from"./Master-CIRRD0Oi.js";import{_ as et}from"./Slider-CUhWXoJd.js";import{u as ot}from"./useHome-CGmgKeII.js";import{_ as lt}from"./app-CC255QP7.js";import"./qs-C7saBnVC.js";import"./side-channel-BLCytySV.js";import"./es-errors-B3qLL4WI.js";import"./object-inspect--bXPCECa.js";import"./side-channel-list-BCZJqq54.js";import"./side-channel-map-D4vBmt7j.js";import"./get-intrinsic-DvtG1oIa.js";import"./es-object-atoms-BR76m4z7.js";import"./math-intrinsics-DP1tGiab.js";import"./gopd-C1lCZ5Qs.js";import"./es-define-property-D_7cP-M3.js";import"./has-symbols-BaUvM3gb.js";import"./get-proto-MZ3MALak.js";import"./dunder-proto-C6VzgWTX.js";import"./call-bind-apply-helpers-C9UlVOU4.js";import"./function-bind-CHqF18-c.js";import"./hasown-DwiY0sux.js";import"./call-bound-B0s5y60d.js";import"./side-channel-weakmap-Kf8cPeRJ.js";import"./axios-DjWHqwoD.js";import"./lodash-es-DY0-vtN4.js";import"./laravel-precognition-BqdyoEeO.js";import"./Header-DYxhB5ea.js";import"./InfoMarq-ch0ch5gJ.js";import"./laravel-vite-plugin-DEL3ZhID.js";import"./@iconify-DROonR5K.js";import"./vue-fast-marquee-CkwowO8X.js";import"./Sidebar--Ia97VH3.js";import"./Footer-C7ZI2w-8.js";/* empty css */const it=["innerHTML"],at={class:"container"},nt={class:"grid gap-6 lg:grid-cols-3"},rt={class:"col-span-3"},dt={key:0,class:"relative rounded-lg overflow-hidden shadow-xl"},ct={class:"relative h-[271px]"},pt={key:1,class:"rounded-lg bg-gradient-to-r from-blue-600 to-purple-600 p-8 text-white shadow-xl"},mt={class:"flex gap-4"},ut={class:"mt-4"},ht={class:"mt-4"},_t={class:"grid gap-2 lg:grid-cols-2"},gt={class:"col"},vt={class:"home1-box bg-cus-red2 block rounded w-full"},ft={class:"w-full py-1"},wt={class:"ourgames-marquee overflow-hidden"},xt={class:"ourgames-track flex items-center"},bt={class:"col flex"},yt={class:"w-full"},kt={class:"home1-box bg-cus-red2 flex rounded w-full"},At={class:"text-lg text-white w-full"},Tt={class:"text-lg bg-dark flex text-white w-full"},St={class:"bg-dark px-3 pt-3 mt-4"},Ct={class:"head-hotmatch flex"},Lt={class:"category-hotmatch !flex"},Bt=["onClick"],Ht=["href"],Nt=["id"],Pt=["id"],Dt={class:"head-matchdv flex"},Gt={class:"w-3/4"},Mt={class:"teamvs text-white"},jt={class:"text-white"},zt=["data-tooltip"],Et=["data-tooltip"],It={key:0,class:"promonih",style:{"background-color":"red"}},Rt={class:"promo-label text-white"},Ot={key:1,class:"promonih"},Vt={class:"homedv"},$t={class:"teamname text-white"},qt={class:"awaydv"},Ft={class:"teamname text-white"},Kt={class:"theodds flex gap-2"},Jt={class:"hdp w-1/2"},Wt={class:"odds w-1/2"},Yt={class:"footer-matchdv"},Qt={class:"mt-4 grid grid-cols-3 gap-3"},Ut={class:"col"},Xt={class:"home1-box"},Zt={class:"flex px-2"},ts={class:"flex gap-2 w-full"},ss={class:"w-4/6 flex"},es={class:"w-2/6"},os={class:"float-right text-right text-white"},ls={class:"bg-dark rounded flex justify-between px-4 py-7 max-h-88"},is={class:"w-5/6"},as={class:"w-1/6"},ns={class:"col"},rs={class:"w-full flex",style:{height:"24px"}},ds={class:"w-full"},cs={class:"latest_info_black max-h-88"},ps=["href"],ms={key:1,class:"alt-wrapper"},us={class:"col"},hs={class:"w-full flex",style:{height:"24px"}},_s={class:"w-full"},gs={class:"latest_info_black"},vs={class:"news-date text-white text-xs"},fs={class:"news-title hover:text-white text-sm"},ws={key:1,class:"news-wrapper"},xs={__name:"Home",props:{canLogin:{type:Boolean},canRegister:{type:Boolean},laravelVersion:{type:String,required:!0},phpVersion:{type:String,required:!0},runningText:{type:String,default:"Selamat datang di situs kami!"}},setup(bs){const{page:d,sliderList:S,currentSlide:D,goToSlide:G,getImageSrc:M,tournamentPrize:j,tournamentBlur:C,hotmatchCategories:L,activeHotmatchSlug:k,hotmatchEl:z,setActiveCategory:E,sortMatches:I,altlinkLoaded:x,sanitizedAltlinks:B,newsList:A,formatNewsDate:R,getNewsLink:O,decodeTitle:V}=ot(),H=Y(!!(d&&d.props&&d.props.bannerAdv)),$=()=>{H.value=!1},T=y(()=>{var i;return((i=d==null?void 0:d.props)==null?void 0:i.slotlist)??{}}),q=y(()=>{var i,s;return((s=(i=T.value)==null?void 0:i.popular)==null?void 0:s.games)??[]}),F=y(()=>{const i={};return Object.keys(T.value||{}
1).forEach(s=>{const p=String(s||"").toLowerCase().replace(/%/g,"").replace(/\s+/g,"-");i[s]=`/assets/img/general/game/prov-thumb/${p}.webp`}),i}),K=y(()=>new Intl.DateTimeFormat("en-GB",{day:"2-digit",month:"long",year:"numeric"}).format(new Date));function J(i){var p,u;const s=String(i||"").toLowerCase();(u=(p=d==null?void 0:d.props)==null?void 0:p.auth)!=null&&u.user?window.open(route("lobby.slots",{activetabs:s}),"_blank"):window.open(route("slots.rule"),"_blank")}function W(i){var s,p;(p=(s=d==null?void 0:d.props)==null?void 0:s.auth)!=null&&p.user?window.open(route("lobby.slots"),"_blank"):window.open(route("slots.rule"),"_blank")}return(i,s)=>{const p=N("image-component"),u=N("Icon");return o(),P(st,{title:"Home"},{default:h(()=>[H.value?(o(),l("div",{key:0,class:"modal_popbanner fixed inset-0 z-[99999] bg-black/60 w-full h-full top-0 left-0 right-0 pt-10",onClick:$},[t("div",{class:"flex justify-center items-center",innerHTML:e(d).props.bannerAdv},null,8,it)])):b("",!0),t("div",at,[t("div",nt,[t("div",rt,[e(S).length>0?(o(),l("div",dt,[t("div",ct,[c(et,{"slider-list":e(S),"current-slide":e(D),"get-image-src":e(M),"enable-go-to":!1,onGoTo:e(G)},null,8,["slider-list","current-slide","get-image-src","onGoTo"])])])):(o(),l("div",pt,[s[2]||(s[2]=t("h1",{class:"text-3xl font-bold mb-4"},"Selamat Datang!",-1)),s[3]||(s[3]=t("p",{class:"text-lg opacity-90 mb-6"}," Nikmati pengalaman bermain terbaik dengan berbagai pilihan permainan menarik. ",-1)),t("div",mt,[i.$page.props.auth.user?b("",!0):(o(),P(e(w),{key:0,href:i.route("register"),class:"inline-block bg-green-500 hover:bg-green-600 text-white font-bold py-3 px-6 rounded-lg transition-all"},{default:h(()=>[...s[0]||(s[0]=[Q(" DAFTAR SEKARANG ",-1)])]),_:1},8,["href"])),s[1]||(s[1]=t("a",{href:"#",class:"inline-block bg-blue-500 hover:bg-blue-600 text-white font-bold py-3 px-6 rounded-lg transition-all"}," CARA BERMAIN ",-1))])]))])]),t("div",ut,[c(tt,{"popular-games":q.value,slotlist:T.value,"provider-thumbs":F.value,onOpenProvider:J,onOpenGame:W},null,8,["popular-games","slotlist","provider-thumbs"])]),t("div",ht,[t("div",_t,[t("div",gt,[t("div",vt,[t("div",ft,[c(p,{"image-src":"/assets/img/ptnp/our-games-header.png",class:"w-full h-[20px]",alt:"Rolling Text"})]),t("div",wt,[t("div",xt,[c(p,{"image-src":"/assets/img/ptnp/our-games.webp",class:"h-auto w-auto mr-6",alt:"Rolling Text",lazy:"none"}),c(p,{"image-src":"/assets/img/ptnp/our-games.webp",class:"h-auto w-auto mr-6",alt:"Rolling Text",lazy:"none"})])])])]),t("div",bt,[t("div",yt,[t("div",kt,[t("div",At,[s[5]||(s[5]=t("div",{class:"text-left px-3 py-0.5"},[t("b",{class:"text-2xl italic"},"GLOBAL JACKPOT")],-1)),t("div",Tt,[t("div",{class:"text-left py-2 ml-10 text-5xl global-jackpot",style:g({filter:e(C)?"blur(4px)":"blur(0px)"})},[t("b",null,r(i.formatMoney(e(d).props.jack)),1)],4),c(e(w),{href:i.route("jackpot"),class:"bg-cus-red mx-auto text-xs grid grid-cols-1 my-auto text-center rounded py-1 px-4"},{default:h(()=>[...s[4]||(s[4]=[t("span",{class:"text-white hover:link"},"PEMENANG",-1),t("span",{class:"text-white hover:link"},"JACKPOT",-1)])]),_:1},8,["href"])])])])])])])]),t("div",St,[t("div",Ct,[s[6]||(s[6]=t("h3",{class:"mr-1 text-3xl"},"Hot Match",-1)),c(p,{"image-src":"/assets/images/hotmatch.webp",class:"w-auto h-5",alt:"Hot Match"}),t("ul",Lt,[(o(!0),l(_,null,v(e(L),(a,m)=>(o(),l("li",{key:a.slug||m,class:f(["catematch text-white !my-auto",{active:a.slug===e(k)}]),onClick:U(n=>e(E)(a.slug),["prevent"])},r(a.name),11,Bt))),128))]),e(d).props.auth.user?(o(),l("a",{key:0,href:e(d).props.PassData.livebolaurl,target:"_blank",class:"w-24"},[c(p,{"image-src":"/assets/images/livebola.svg",class:"translate-y-2.5",height:"18",width:"auto"})],8,Ht)):b("",!0)]),t("main",{class:"body-hotmatch",id:"body-hotmatch",ref_key:"hotmatchEl",ref:z},[(o(!0),l(_,null,v(e(L),(a,m)=>X((o(),l("div",{key:a.slug||m,id:a.slug,class:"hotmatchcontent",style:g(a.slug===e(k)?"display:inline-block;":"display:none;")},[(o(!0),l(_,null,v(e(I)(a.match||[]),n=>(o(),l(_,null,[n.is_active==1?(o(),l("div",{key:0,id:n.id,class:"matchdv"},[t("div",Dt,[t("div",Gt,[t("p",Mt,r(n.home_team)+" vs "+r(n.away_team),1),t("p",jt,r(n.match_time),1)]),t("div",{class:f(["w-1/4 text-right",{"m-auto":n.is_promo==1}])},[n.is_promo==1?(o(),l("div",{key:0,class:"promo-tag","data-tooltip":n.text_info},[s[7]||(s[7]=t("div",{class:"promo-tag-bg"},null,-1)),s[8]||(s[8]=t("span",{class:"promo-label"},"promo",-1)),c(u,{icon:"mingcute:information-fill",class:"text-white mx-auto mt-2",width:"30",height:"30"})],8,zt)):(o(),l("div",{key:1,class:"promo-tag","data-tooltip":n.text_info},[c(u,{icon:"mingcute:information-fill",class:"text-white mx-auto mt-2",width:"30",height:"30"})],8,Et))],2)]),t("div",{class:f(["body-matchdv",a.slug])}
1,[n.is_promo==1?(o(),l("div",It,[t("span",Rt,r(n.promo_title),1)])):(o(),l("div",Ot,[...s[9]||(s[9]=[t("span",{class:"promo-label text-white"},null,-1)])])),t("div",Vt,[s[10]||(s[10]=t("div",{class:"bgteam Hfont"},"H",-1)),t("div",$t,r(n.home_team),1)]),t("div",qt,[s[11]||(s[11]=t("div",{class:"bgteam Wfont"},"A",-1)),t("div",Ft,r(n.away_team),1)]),t("div",Kt,[t("div",Jt,r(n.handicap_home)+" HDP "+r(n.handicap_away),1),t("div",Wt,r(n.odds_home)+" Odds "+r(n.odds_away),1)]),s[12]||(s[12]=t("div",{class:"promonih"},[t("span",{class:"promo-label text-white"})],-1))],2),t("div",Yt,[c(e(w),{href:i.$page.props.auth.user?i.route("lobby.sportbooks"):i.route("register")},{default:h(()=>[...s[13]||(s[13]=[t("div",{class:"hotplay"},"PLAY",-1)])]),_:1},8,["href"])])],8,Pt)):b("",!0)],64))),256))],12,Nt)),[[Z,a.slug===e(k)]])),128))],512)]),t("div",Qt,[t("div",Ut,[t("div",Xt,[t("div",Zt,[t("div",ts,[t("div",ss,[c(u,{icon:"emojione:trophy",width:"12",height:"12",class:"my-auto mr-2"}),s[14]||(s[14]=t("label",{class:"text-left my-auto text-white text-sm"},"Tournament Poker Prizes",-1))]),t("div",es,[t("label",os,r(K.value),1)])])]),t("div",ls,[t("div",is,[t("label",{class:"tournament-prize whitespace-nowrap text-left text-white text-3xl",style:g({filter:e(C)?"blur(4px)":"blur(0px)"})},r(e(j)),5)]),t("div",as,[c(e(w),{href:i.route("tournament.list"),class:"tournament-btn-view !my-1 !px-4 !w-auto inline-block text-center flex items-center justify-center"},{default:h(()=>[...s[15]||(s[15]=[t("span",{class:"text-xs"},"VIEW",-1)])]),_:1},8,["href"])])])])]),t("div",ns,[t("div",rs,[c(p,{"image-src":"/assets/img/ptnp/icon-linkalt.png",class:"w-auto h-3 my-auto",alt:"News"})]),t("div",ds,[t("div",cs,[t("div",{class:f([["news-list p-1 grid grid-cols-1 gap-1","altlink-content",{"anm-blur":e(x)}],"text-left"]),style:g({filter:e(x)?"blur(0)":"blur(4px)"})},[e(B).length?(o(!0),l(_,{key:0},v(e(B),(a,m)=>(o(),l("div",{key:m,class:"alt-wrapper w-full"},[t("a",{href:a.url,target:"_blank",rel:"noopener",class:"hover:text-white"},r(a.name),9,ps)]))),128)):(o(),l("div",ms,[...s[16]||(s[16]=[t("a",{href:"#"},"loading...",-1)])]))],6)])])]),t("div",us,[t("div",hs,[c(p,{"image-src":"/assets/img/ptnp/icon-latestinfo.png",class:"w-auto h-3 my-auto",alt:"News"})]),t("div",_s,[t("div",gs,[t("div",{class:f([["news-list max-h-88 overflow-y-auto","altlink-content",{"anm-blur":e(x)}],"text-center"]),style:g({filter:e(x)?"blur(0)":"blur(4px)"})},[e(A)&&e(A).length?(o(!0),l(_,{key:0},v(e(A),(a,m)=>(o(),l("div",{key:a.id||m,class:"news-wrapper text-left py-3 px-1"},[t("span",vs,r(e(R)(a.news.waktu)),1),c(e(w),{href:e(O)(a.id)},{default:h(()=>[t("span",fs,r(e(V)(a.news.title)),1)]),_:2},1032,["href"])]))),128)):(o(),l("div",ws,[...s[17]||(s[17]=[t("a",{href:"#",class:"text-white"},"loading...",-1)])]))],6)])])])])])]),_:1})}}},ie=lt(xs,[["__scopeId","data-v-8c0f46ba"]]);export{ie as default};
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.