1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{75557:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(98291)}])},84904:function(e,r){"use strict";r.Z={src:"/_next/static/media/arrow-left-transparent.7e8ecdee.svg",height:55,width:55,blurWidth:0,blurHeight:0}},24136:function(e,r,n){"use strict";var t=n(85893);n(67294);var a=n(8176),i=n.n(a);r.Z=function(e){let{styles:r=i()}=e;return(0,t.jsx)("div",{className:r.divider})}},89336:function(e,r,n){"use strict";var t=n(85893);n(67294);var a=n(12775),i=n.n(a);r.Z=function(e){let{title:r="",needH2:n=!1,ariaLive:a=""}=e;return n?(0,t.jsx)("h2",{className:i()["sr-only-title"],"aria-live":a,tabIndex:"1",children:r}):(0,t.jsx)("h1",{className:i()["sr-only-title"],"aria-live":a,children:r})}},98291:function(e,r,n){"use strict";n.r(r),n.d(r,{__N_SSG:function(){return A},default:function(){return B}});var t=n(85893),a=n(67294),i=n(2261),s=n(94135),l=n(83077),o=n(62528),c=n(86589),d=n(66522),u=n(21513),_=n(49896),p=n(25675),v=n.n(p),w=n(41664),h=n.n(w),x=n(14416),b=n(79975),f=n(25678),event_card=function(e){var r,n;let{styles:a,event:i={}}=e,{name:s,image:p,id:w,categories:b,match_id:m,banner_type:g,seller_id:y,subscription:j=!1,alt:E="",redirect_url:Z=""}=i;(0,d.Z)(),(0,u.Z)();let N=(0,x.v9)(e=>e.search),S=(0,_.Z)(y,Z),k=null==N?void 0:N.results,P=g===c.I.SELLER,R=g===c.I.ARTIST,T=g===c.I.EVENT;"string"==typeof m&&m.length;let C=!!Array.isArray(b)&&b[0],I=(null==C?void 0:C.hasOwnProperty("category_id"))&&C.category_id===l.Z.SPORT,W=!!("object"==typeof C&&Array.isArray(null==C?void 0:C.subcategories))&&(null==C?void 0:null===(r=C.subcategories)||void 0===r?void 0:r.length)>0,L=!!W&&C.subcategories[0],G=L?"".concat(L.category_name):"",O=null!==(n=(()=>{let e="";if(Z&&T)return Z;if(T)e=(j?o.Z.SUBSCRIPTIONS:o.Z.EVENTS)+"/"+(0,f.w6)(null==s?void 0:s.replaceAll("/","%2F"))+"/".concat(w);else if(e="".concat(o.Z.CATEGORY,"/").concat((0,f.w6)(null==C?void 0:C.category_name)),(R||P)&&!I)e+="/".concat((0,f.w6)(s));else if(W&&(e+="/".concat((0,f.w6)(G))),P){let r=k.find(e=>e.id==w&&"sellers"==e.type);e+="/".concat((0,f.w6)(null==r?void 0:r.name))}return e})())&&void 0!==n?n:"";return(0,t.jsxs)(h(),{className:a["card-wrapper"],onClick:e=>{if(Z&&T){e.preventDefault();let r=w&&"[6479]".includes(w);r?window.open(Z,"_self"):S()}},prefetch:!!parseInt("1"),href:O,shallow:!0,"aria-label":s,children:[(0,t.jsx)(v(),{sizes:"(max-width: 768px) 50vw, 50vw (max-width: 1200px) 50vw, 80vw",fill:!0,priority:!0,src:null!=p?p:"",alt:E}),(0,t.jsx)("div",{className:a.overlay})]})},m=n(84904),g=n(24136),y={DESKTOP:1200},j=n(89336),E=n(32367),event_carousel=function(e){let{styles:r}=e,n=(0,E.Z)(),l=(0,x.v9)(e=>e.events),o=(0,x.v9)(e=>e.deviceState),[c,d]=(0,a.useState)(!0),[u,_]=(0,a.useState)(!1),p=(0,a.useRef)(),w=(0,a.useRef)(),h=(0,a.useRef)(),b=(0,a.useMemo)(()=>o.isDesktopLarge||o.isDesktopMax?4.5:o.isDesktop?4.2:2.1,[o]),Z=l.length>b,N=l.length<=b;(0,a.useEffect)(()=>(window.addEventListener("resize",()=>onWindowResize),()=>window.removeEventListener("resize",()=>onWindowResize)),[]);let onWindowResize=()=>{var e,r;return null==h?void 0:null===(r=h.current)||void 0===r?void 0:null===(e=r.swiper)||void 0===e?void 0:e.updateSize()},S=(0,a.useCallback)((e,n)=>(0,t.jsx)(i.o5,{children:(0,t.jsx)(event_card,{event:e,styles:r})},n),[]);return l.length?(0,t.jsxs)("div",{className:r["event-carousel-wrapper"],children:[(0,t.jsx)(j.Z,{needH2:!0,title:n("accessibility_event_carousel_title")}),(0,t.jsxs)("div",{className:(0,f.Wy)(r["carousel-wrapper"],Z&&r["show-nav"]),children:[(0,t.jsx)("div",{className:(0,f.Wy)(r["slider-wrapper"],N&&r.centered),children:(0,t.jsx)(i.tq,{modules:[s.s5,s.W_],enabled:!N,navigation:!1,grabCursor:!0,onSlideChange:function(e){let{isBeginning:r,isEnd:n}=e;r&&(_(!1),d(!0)),n&&(d(!1),_(!0)),n||r||(d(!0),_(!0))},onFromEdge:()=>{d(!0),_(!0)},onReachBeginning:()=>{_(!1),d(!0)},onReachEnd:()=>{d(!1),_(!0)},slidesPerView:"auto",breakpoints:{[y.DESKTOP]:{slidesPerView:4.2,spaceBetween:16,navigation:!!Z&&{prevEl:"#event-carousel-prev-button",nextEl:"#event-carou
1sel-next-button"}}},ref:h,children:l.map(S)})}),(0,t.jsx)("button",{id:"event-carousel-prev-button","aria-label":"×××××× ×××ר×",className:(0,f.Wy)(r["prev-arrow-wrapper"],u?r.show:""),ref:w,children:(0,t.jsx)(v(),{src:m.Z.src,alt:"Prev arrow",width:55,height:55,className:r["prev-arrow"]})}),(0,t.jsx)("button",{id:"event-carousel-next-button","aria-label":"×××××× ×§××××",className:(0,f.Wy)(r["next-arrow-wrapper"],c?r.show:""),ref:p,children:(0,t.jsx)(v(),{src:m.Z.src,alt:"Next arrow",width:55,height:55,className:r["next-arrow"]})})]}),(0,t.jsx)(g.Z,{styles:r})]}):null},Z=n(68975),N=n(29384),S=n(7500),k=n(71581),P=n.n(k),R=n(5152),T=n.n(R);let C=T()(()=>Promise.all([n.e(6417),n.e(3740),n.e(9244)]).then(n.bind(n,87315)),{loadableGenerated:{webpack:()=>[87315]}}),I=T()(()=>n.e(2490).then(n.bind(n,82490)),{loadableGenerated:{webpack:()=>[82490]}}),W=T()(()=>n.e(9873).then(n.bind(n,29873)),{loadableGenerated:{webpack:()=>[29873]}}),L=T()(()=>Promise.all([n.e(5683),n.e(2198)]).then(n.bind(n,12198)),{loadableGenerated:{webpack:()=>[12198]}}),G=T()(()=>n.e(523).then(n.bind(n,50523)),{loadableGenerated:{webpack:()=>[50523]}}),O=T()(()=>n.e(1961).then(n.bind(n,71961)),{loadableGenerated:{webpack:()=>[71961]}}),z=T()(()=>n.e(1209).then(n.bind(n,71209)),{loadableGenerated:{webpack:()=>[71209]}}),Home=e=>{let r=(0,x.I0)(),n=(0,E.Z)(),i=(0,x.v9)(e=>e.deviceState);return(0,x.v9)(e=>e.userData),(0,a.useEffect)(()=>{r(N.Z.setShowBlur({isSearchVisible:!0,showBackButton:!1,isCategoriesVisible:!0})),(i.isMobile||i.isTablet)&&r(N.Z.setIsStickeyHeader(!0))},[]),(0,a.useEffect)(()=>{parseInt("1")||b.s.call.getHomePage({payload:{},onSuccess:e=>{let{banners:n,sports_teams:t,upcoming_matches:a,comedy:i,music_events:s,kids:l,culture:o}=e;r(N.Z.setEvents(n)),r(N.Z.setSportsTeam(t)),r(N.Z.setUpcomingMatches(a)),r(N.Z.setComedy(i)),r(N.Z.setMusicEvents(s)),r(N.Z.setKidsEvents(l)),r(N.Z.setShowsEvents(o))}})},[]),(0,t.jsxs)("main",{id:"home",className:P().home,...Z.H,children:[(0,t.jsx)(j.Z,{title:n("accessibility_homepage_title")}),(0,t.jsx)(event_carousel,{styles:P()}),(0,t.jsx)(C,{}),(0,t.jsx)(I,{}),(0,t.jsx)(W,{}),(0,t.jsx)(L,{}),(0,t.jsx)(G,{}),(0,t.jsx)(O,{}),(0,t.jsx)(z,{})]})};var A=!0,B=Home;Home.getLayout=function(e){return(0,t.jsx)(S.Z,{children:e})}},8176:function(e){e.exports={divider:"divider_divider__lLBbM"}},12775:function(e){e.exports={"sr-only-title":"sr-only-title_sr-only-title__yKdP_"}},71581:function(e){e.exports={"breadcrumbs-container":"index_breadcrumbs-container__esdPQ","crumb-container":"index_crumb-container__WLBlc","custom-behavior":"index_custom-behavior__IWbP2",crumb:"index_crumb__n3z2D","category-chip-wrapper":"index_category-chip-wrapper__uCkp_","chip-icon":"index_chip-icon__XB5kt","chip-text":"index_chip-text__AnJLg",selected:"index_selected__imnE_","row-wrapper":"index_row-wrapper__OG4iY",visible:"index_visible__QWKnN",subcategory:"index_subcategory__bufnZ",divider:"index_divider__E6xnL","card-wrapper":"index_card-wrapper__RKVbA",overlay:"index_overlay__2K9Va","generic-carousel-wrapper":"index_generic-carousel-wrapper__wEn_4","prev-arrow-wrapper":"index_prev-arrow-wrapper___v9ng","next-arrow-wrapper":"index_next-arrow-wrapper__K1Uwx","show-nav":"index_show-nav__CrmDT",disabled:"index_disabled__b5ZXr","event-carousel-wrapper":"index_event-carousel-wrapper__czb4u","carousel-wrapper":"index_carousel-wrapper__g1f_e","slider-wrapper":"index_slider-wrapper__MopOg",show:"index_show__rY5dL",home:"index_home__34uZM"}}},function(e){e.O(0,[5675,4882,7394,6502,7659,5752,9774,2888,179],function(){return e(e.s=75557)}),_N_E=e.O()}]);
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.