1import{q as g,u as h,w as y,c as x,o as w,d as S,e as a,g as t,f as k,h as m,i,k as v,l as C,_ as G,m as n,p as N}from"./5hkCUdGJ.js";import Q from"./NyH1uSMI.js";import $ from"./CFhPIUoP.js";import B from"./DlwCluEJ.js";import{m as D}from"./Dnr3RqfT.js";import{l as b,o as A,h as V,p as q}from"./1rqTrsDv.js";import{u as F}from"./3yzX6ue1.js";import"./5So1ndvF.js";import"./Bvz7sIHe.js";import"./CoZUlRCQ.js";import"./SCNYkBh_.js";import"./D3cC-Xwd.js";import"./CSYupJMO.js";import"./C31yVawJ.js";import"./BUt8myDH.js";import"./D2VzSHNh.js";import"./CmUYLL3K.js";import"./DCrNUc8i.js";import"./CRfLl107.js";import"./DiGXwvRr.js";import"./k2sfp7dM.js";import"./OJVAzObl.js";import"./GWBda50H.js";import"./dzeG9nIo.js";import"./xwm9Z_6q.js";import"./BigZP86k.js";import"./ER3ZhFit.js";import"./B7HFo6Zv.js";import"./B54G4zSn.js";import"./B_j4PtmI.js";import"./CVPx-pvq.js";const H=g.stringify({populate:{metaData:D,hero:q,newsletterSignup:V,cardsContent:A,featuredGamesSlider:b}}),M={class:"bg-paper"},ye={__name:"index",async setup(P){let o,s;const{$bus:p}=h(),r=([o,s]=y(()=>v(`/api/home-page?${H}`)),o=await o,s(),o);F(r.value?.data);const e=C(()=>{if(r?.value?.data)return r.value.data}),{setPageTheme:c}=x();return c(e?.value?.theme),w(()=>{p.emit("loadingDone")}),(T,E)=>{const u=G,_=Q,l=$,d=B,f=N;return n(),S("div",M,[a(u,{tagline:t(e)?.hero?.heading},null,8,["tagline"]),k("main",null,[t(e)?.hero?(n(),m(_,{key:0,section:t(e).hero,index:0},null,8,["section"])):i("",!0),a(l,{"cards-content":t(e)?.cardsContent,"newsletter-signup":t(e)?.newsletterSignup,index:2},null,8,["cards-content","newsletter-signup"]),t(e)?.featuredGamesSlider?(n(),m(d,{key:1,section:t(e).featuredGamesSlider,index:3},null,8,["section"])):i("",!0)]),a(f)])}}};export{ye 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.