1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4842],{60:(e,t,l)=>{"use strict";l.d(t,{Kg:()=>a,Rk:()=>o,go:()=>r,jT:()=>s});let a=e=>"string"==typeof e;function r(e){let{template:t,pattern:l,replaceWith:r}=e;return t&&a(t)&&l&&(r||""===r)?(null==t?void 0:t.includes(l))?t.replaceAll(l,r).toString():void 0:null==t?void 0:t.toString()}function o(e){if(null!=e)return e.replace(/\{\{[^}]*\}\}/g,"").replace(/\s{2,}/g," ").trim()||void 0}let i={"&":"&","<":"<",">":">",""":'"',"'":"'","'":"'","'":"'","/":"/"," ":" "},n=RegExp(Object.keys(i).join("|"),"gi");function s(e){let t;if(null==e)return;let l=e;do t=l,l=l.replace(n,e=>{var t;return null!=(t=i[e.toLowerCase()])?t:e});while(l!==t);return l}},220:(e,t,l)=>{"use strict";l.d(t,{YH:()=>C,fv:()=>L,gb:()=>I});var a=l(65897),r=l(52259),o=l(95125),i=l(24531),n=l(31794),s=l(33978),d=l(17247),c=l(87358);let u=c.env.CULTURE,m=c.env.ENVIRONMENT,h=async(e,t)=>{var l;if(!(null==e?void 0:e.length))return e;let a=p(e,t),r=await (0,s.q)(a);return(null==r||null==(l=r.data)?void 0:l.length)?y(e,r):e},g=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&(t.hasThumbnailPlaceholder&&(e=((e,t)=>{var l;let a={title:"no_image_available",templateUrl:null!=(l=(0,n.sW)(t,i.qY))?l:"",format:"",slug:"no_image_available"};return null==e||e.forEach(e=>{var t;(null==e||null==(t=e.coverImage)?void 0:t.templateUrl)||(e.coverImage=a)}),null!=e?e:[]})(e,t.variables)),t.hasLinkRules&&(e=await h(e,t.linkRuleVariations))),e},p=(e,t)=>{let l=[];for(let a of e)v([a],t),f(a,l);return l},v=(e,t)=>{e&&t&&t.forEach(t=>{e.forEach(e=>{e[t.key]=t.value})})},f=(e,t)=>{t.push({id:e.slug,entity:e,entityType:"blog",culture:u,environment:m})},y=(e,t)=>{for(let l of e)x(l,t);return e},x=(e,t)=>{var l,o,i,n,s;let u=null==(l=t.data)?void 0:l.find(t=>t.id===e.slug);if(e.url=null!=(o=null==u?void 0:u.url)?o:e.url,e.url&&(0,d.iO)(e.url)&&"true"===c.env.KEEP_LINK_RULES_LOCAL)try{let t=new URL(e.url);t.hostname=null!=(i=c.env.LINK_RULES_LOCAL_HOSTNAME)?i:"localhost",t.port=null!=(n=c.env.LINK_RULES_LOCAL_PORT)?n:"3000",t.protocol=null!=(s=c.env.LINK_RULES_LOCAL_PROTOCOL)?s:"http",e.url=t.toString()}catch(e){r.A.log("Error updating link rule URL",a.T.error)}};var b=l(15058),w=l(87358);let j=w.env.CULTURE,N="LIVEBLOGGING DISTRIBUTION API",T="{slug}",S="{postId}",A="api/distribution/v1/".concat(j,"/Blogs"),P="api/distribution/v1/".concat(j,"/Blogs/").concat(T),k="api/distribution/v1/".concat(j,"/Blogs/").concat(T,"/Posts/").concat(S),C=async(e,t)=>{let l="";try{l=P.replace(T,e),r.A.log("Getting Blog entity slug:".concat(e," data from LIVEBLOGGING DISTRIBUTION API ").concat(l),a.T.debug),l=new URL(l,w.env.LIVE_BLOGGING_DAPI_BASE_URL).href}catch(e){return t?{error:(0,b.y)({response:e,returnResponseError:t})}:(0,b.h)({response:e,apiName:N})}return await o.A.get(l).then(async t=>(r.A.log("Retrieved Blog entity slug:".concat(e," data from LIVEBLOGGING DISTRIBUTION API ").concat(l,". ").concat(JSON.stringify(t.data)),a.T.debug),t.data)).catch(e=>t?{error:(0,b.y)({response:e,returnResponseError:t})}:(0,b.h)({response:e,apiName:N,apiUrl:l}))},I=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t="";try{var l,i,n,s;let o,d=null!=(l=null==e?void 0:e.skip)?l:0,c=null!=(i=null==e?void 0:e.limit)?i:0,u=(n=null==e?void 0:e.tags,s=null==e?void 0:e.eventId,o=[],d&&o.push("$skip=".concat(d)),c&&o.push("$limit=".concat(c)),n&&(null==n?void 0:n.split(",")).forEach(e=>{o.push("tags.slug=".concat(e))}),s&&o.push("eventId=".concat(s)),o.join("&")),m=u.length?"?".concat(u):"";t=A+m,r.A.log("Getting Blogs data from LIVEBLOGGING DISTRIBUTION API ".concat(t),a.T.debug),t=new URL(t,w.env.LIVE_BLOGGING_DAPI_BASE_URL).href}catch(e){return(0,b.h)({response:e,apiName:N})}return await o.A.get(t).then(async l=>{r.A.log("Retrieved Blogs data from LIVEBLOGGING DISTRIBUTION API ".concat(t,". ").concat(JSON.stringify(l.data)),a.T.debug);let o=l.data.items;return await g(o,e)}).catch(e=>(0,b.h)({response:e,apiName:N,apiUrl:t}))},L=async(e,t)=>{let l="";try{l=k.replace(T,e).replace(S,t),r.A.log("Getting Blog entity slug:".concat(e," posts from LIVEBLOGGING DISTRIBUTION API ").concat(l),a.T.debug),l=new URL(l,w.env.LIVE_BLOGGING_DAPI_BASE_URL).href}catch(e){return(0,b.h)({response:e,apiName:N})}return await o.A.get(l).then(async t=>(r.A.log("Retrieved Blog entity slug:".concat(e," posts from LIVEBLOGGING DISTRIBUTION API ").concat(l,". ").concat(JSON.stringify(t.data)),a.T.debug),t.data)).catch(e=>(0,b.h)({response:e,apiName:N,apiUrl:l}))}},847:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var a=l(10253),r=l(1298),o=l(21636),i=l(22531),n=l(81442),s=l(66102),d=l(84380),c=l(12115);let u=function(){var e;let{favoritePlayersMaxLimit:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[l,u]=(0,c.useState)(null),[m,h]=(0,c.useState)({type:null,status:"IDLE",isLoading:!1}),g=(0,d.A)(),{userInfo:p,accessToken:v,accountConfiguration:f,updateUserInfoContext:y,broadcastFavoritesUpdate:x,isAuthenticated:b,login:w}=(0,a.A)(),{showToast:j,toast:N}=(0,o.d)(),T=null==p||null==(e=p.properties)?void 0:e[i.d.favoritePlayers],{isLoading:S,status:A,type:P}=m,k=e=>({[i.d.favoritePlayers]:(null==e?void 0:e.length)?e:null}),C=async e=>{var t;if(!v||!f)return;let l=k(null!=(t=null==T?void 0:T.filter(t=>t.id!==(0,r.iO)(e)))?t:[]);try{h({type:s.Sc.removeFavoritePlayer,isLoading:!0,status:"IDLE"}),await (0,n.bu)({accessToken:v,userPatch:l,config:f}),h({type:s.Sc.removeFavoritePlayer,isLoading:!1,status:"SUCCESS"});let e={...p,properties:{...null==p?void 0:p.properties,...l}};y(e),x(e)}catch(e){h({type:s.Sc.removeFavoritePlayer,isLoading:!1,status:"ERROR"}),console.error("Error removing favorite player:",e)}},I=async e=>{if(!v||!f)return;let t=k(e);try{h({type:s.Sc.addFavoritePlayer,isLoading:!0,status:"IDLE"}),await (0,n.bu)({accessToken:v,userPatch:t,config:f}),h({type:s.Sc.addFavoritePlayer,isLoading:!1,status:"SUCCESS"});let e={...p,properties:{...null==p?void 0:p.properties,...t}};y(e),x(e)}catch(e){h({type:s.Sc.addFavoritePlayer,isLoading:!1,status:"ERROR"}),console.error("Error adding favorite players:",e)}},L=()=>{j({title:g("favorite-players-max-limit-reached"),type:"error"})},F=e=>{var l;return!!t&&(null!=(l=null!=e?e:null==T?void 0:T.length)?l:0)>=t},B=async()=>
1{if(l){if("login-required"===l.type){await w(),u(null);return}if("remove"===l.type)await C(l.playerId);else{let e=[...null!=T?T:[],{id:(0,r.iO)(l.playerId),name:l.playerName}];await I(e)}u(null)}};return(0,c.useEffect)(()=>{P&&A!==s.nW.IDLE&&j({title:s.s5[P][A].message,type:A===s.nW.ERROR?"error":"success"})},[A,P,j]),{toggleFavoritePlayer:(e,t)=>{var l;if(S)return;if(!b)return void u({type:"login-required",playerId:e,playerName:t});let a=(0,r.iO)(e),o=null!=(l=null==T?void 0:T.some(e=>e.id===a))&&l;if(!o&&F())return void L();u({type:o?"remove":"add",playerId:e,playerName:t})},requestRemoveFavoritePlayer:e=>{S||u({type:"remove",playerId:e})},addFavoritePlayers:I,isMaxLimitReached:F,showMaxLimitToast:L,pendingAction:l,favoritePlayers:T,confirmAction:B,cancelAction:()=>u(null),isLoading:S,toast:N}}},1298:(e,t,l)=>{"use strict";l.d(t,{AF:()=>r,ZV:()=>o,iO:()=>a});let a=e=>{var t;return(null==e||null==(t=e.split("::"))?void 0:t.pop())||e},r=(e,t)=>{var l;return(null==t?void 0:t.length)&&null!=(l=null==e?void 0:e.filter(e=>null==t?void 0:t.some(t=>t.id===a(e.teamId))))?l:[]},o=(e,t)=>{var l;return(null==t?void 0:t.length)&&null!=(l=null==e?void 0:e.filter(e=>null==t?void 0:t.some(t=>t.id===a(e.playerId))))?l:[]}},2269:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var a=l(95155),r=l(12115);let o=()=>{let e="appview",t="true",l=[];return(0,r.useEffect)(()=>{let a=new URL(window.location.href).searchParams.get(e)===t,r=l=>{l.querySelectorAll("a").forEach(l=>{let a=l.getAttribute("href"),r=new URL(null!=a?a:"",window.location.href);r.hash||(r.searchParams.has(e)?r.searchParams.set(e,t):r.searchParams.append(e,t),l.setAttribute("href",r.toString()))})};if(a){r(document);let e=[];l.forEach(t=>{e.push(document.querySelectorAll(t))});let t=new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.length>0&&e.addedNodes.forEach(e=>{e instanceof HTMLElement&&r(e)})})});return e.forEach(e=>{e.forEach(e=>{t.observe(e,{childList:!0,subtree:!0})})}),()=>t.disconnect()}}),(0,a.jsx)(a.Fragment,{})}},3418:(e,t,l)=>{"use strict";l.d(t,{OP:()=>rB,Gx:()=>rL,_6:()=>rF});var a=l(95155),r=l(16547),o=l(65897),i=l(52259),n=l(31794),s=l(67909),d=l(35805);let c=(0,s.default)(()=>l.e(8632).then(l.bind(l,78632)),{loadableGenerated:{webpack:()=>[78632]}}),u=e=>{let{data:t}=e;return(0,a.jsx)(c,{data:t})},m=(0,s.default)(()=>l.e(8032).then(l.bind(l,88032)),{loadableGenerated:{webpack:()=>[88032]}}),h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"6-6";return t=>{let{data:l}=t;return(0,a.jsx)(m,{gridTemplate:e,componentProps:l},(0,d.Ak)())}},g=(0,s.default)(()=>l.e(6882).then(l.bind(l,6882)),{loadableGenerated:{webpack:()=>[6882]}}),p=e=>{let{data:t}=e;return(0,a.jsx)(g,{data:t})},v=(0,s.default)(()=>l.e(2648).then(l.bind(l,22648)),{loadableGenerated:{webpack:()=>[22648]}}),f=e=>{let{data:t}=e;return(0,a.jsx)(v,{data:t})},y=(0,s.default)(()=>l.e(1906).then(l.bind(l,61906)),{loadableGenerated:{webpack:()=>[61906]}}),x=e=>{let{data:t}=e;return(0,a.jsx)(y,{data:t})},b=(0,s.default)(()=>l.e(746).then(l.bind(l,20746)),{loadableGenerated:{webpack:()=>[20746]}}),w=e=>{let{data:t}=e;return(0,a.jsx)(b,{data:t})},j=(0,s.default)(()=>l.e(7890).then(l.bind(l,47890)),{loadableGenerated:{webpack:()=>[47890]}}),N=e=>{let{data:t}=e;return(0,a.jsx)(j,{data:t})},T=(0,s.default)(()=>l.e(8086).then(l.bind(l,68086)),{loadableGenerated:{webpack:()=>[68086]}}),S=e=>{let{data:t}=e;return(0,a.jsx)(T,{data:t})},A=(0,s.default)(()=>Promise.all([l.e(1604),l.e(2232)]).then(l.bind(l,52232)),{loadableGenerated:{webpack:()=>[52232]}}),P=e=>{let{data:t}=e;return(0,a.jsx)(A,{data:t})},k={...{FootballMatchCenter:e=>{let{data:t}=e;return t?(0,a.jsx)(P,{data:t},(0,d.Ak)()):null}},ConditionalInclude:e=>{let{data:t}=e;return t?(0,a.jsx)(u,{data:t},(0,d.Ak)()):null},Section:e=>{let{data:t}=e;return t?(0,a.jsx)(p,{data:t},(0,d.Ak)()):null},StickySection:e=>{let{data:t}=e;return t?(0,a.jsx)(f,{data:t},(0,d.Ak)()):null},Columns66:h("6-6"),Columns93:h("9-3"),Columns39:h("3-9"),Columns444:h("4-4-4"),Columns363:h("3-6-3"),Columns282:h("2-8-2"),Columns1101:h("1-10-1"),Columns1551:h("1-5-5-1"),Columns48:h("4-8"),C
1olumns84:h("8-4"),Header:e=>{let{data:t}=e;return t?(0,a.jsx)(x,{data:t},(0,d.Ak)()):null},HeaderTransparent:e=>{let{data:t}=e;return t?(0,a.jsx)(w,{data:t},(0,d.Ak)()):null},Hamburger:e=>{let{data:t}=e;return t?(0,a.jsx)(N,{data:t},(0,d.Ak)()):null},Footer:e=>{let{data:t}=e;return t?(0,a.jsx)(S,{data:t},(0,d.Ak)()):null}};var C=l(92946),I=l(62893),L=l(33019),F=l(95277),B=l(88697),E=l(38583),_=l(56396),R=l(44630),M=l(93377),D=l(67353),U=l(81884);let z=async e=>{var t;let{data:l}=e,{slug:r,ctaLink:o,ctaTitle:i,showCtaArrow:n,headerTitle:s,headerTitleHeadingLevel:d,hideHeaderTitle:c,sponsorLabel:u,sponsorAsset:m,isFullWidth:h,isAnimated:g,removeSpacingBottom:p,removeSpacingTop:v,expandFirstElement:f}=l.properties;if((0,C.g)(l,["slug"]))return null;let y=(0,L.fD)(l).partnerList,x=(0,L.kT)(l),b=await (0,R.QH)(_.aV.partners,m,{hasGadAssetsFields:!0,hasThumbnailPlaceholder:!0,variables:l.variables,hasLinkRules:!0}),w=await (0,R.QH)(_.aV.accordions,r),j=null==w||null==(t=w.fields)?void 0:t.accordions;return(null==j?void 0:j.length)?(0,a.jsx)(E.A,{childrenComponentName:"accordion",backgroundColor:y.background,textColor:y.text,removeSpacingTop:v,removeSpacingBottom:p,children:(0,a.jsxs)(B.A,{isFullWidth:(0,F.uo)(h),horizontalSpacing:(0,F.uo)(h)?I.jy.FullWidth:I.jy.Container,className:"flex flex-col gap-6 lg:gap-12",children:[(0,a.jsx)(D.A,{partnerEntity:b,sponsorLabel:u,headerTitle:s,headerTitleHeadingLevel:d,hideHeaderTitle:c,ctaLink:o,ctaTitle:i,showCtaArrow:n,colorSchemaKey:x,isAnimated:g}),(0,a.jsx)(U.default,{delay:.2,isAnimated:g,children:(0,a.jsx)(M.default,{items:j,colorSchemaKey:x,expandFirstElement:f})})]})}):null},O=e=>{let{data:t}=e;return(0,a.jsx)(z,{data:t})},H=(0,s.default)(()=>l.e(6629).then(l.bind(l,6629)),{loadableGenerated:{webpack:()=>[6629]}}),W=e=>{let{data:t}=e;return(0,a.jsx)(H,{data:t})},Q=(0,s.default)(()=>l.e(830).then(l.bind(l,60830)),{loadableGenerated:{webpack:()=>[60830]}}),G=e=>{let{data:t}=e;return(0,a.jsx)(Q,{data:t})},V=(0,s.default)(()=>Promise.all([l.e(5413),l.e(8537)]).then(l.bind(l,78537)),{loadableGenerated:{webpack:()=>[78537]}}),K=e=>{let{data:t}=e;return(0,a.jsx)(V,{data:t})},q=(0,s.default)(()=>l.e(2904).then(l.bind(l,82904)),{loadableGenerated:{webpack:()=>[82904]}}),J=(0,s.default)(()=>l.e(8912).then(l.bind(l,18912)),{loadableGenerated:{webpack:()=>[18912]}}),X=e=>{let{data:t}=e;return(0,a.jsx)(J,{data:t})},Y=(0,s.default)(()=>l.e(1132).then(l.bind(l,21132)),{loadableGenerated:{webpack:()=>[21132]}}),$=e=>{let{data:t}=e;return(0,a.jsx)(Y,{data:t})},Z=(0,s.default)(()=>l.e(4063).then(l.bind(l,24063)),{loadableGenerated:{webpack:()=>[24063]}}),ee=e=>{let{data:t}=e;return(0,a.jsx)(Z,{data:t})};var et=l(94659);let el=(0,s.default)(()=>l.e(852).then(l.bind(l,80852)),{loadableGenerated:{webpack:()=>[80852]}}),ea=e=>{var t,l;let{data:r}=e,o=(e=>{switch(e){case"EditorialCarouselFullImgLandscapeCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_16_9};case"EditorialCarouselFullImgPortraitCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_2_3};case"EditorialCarouselFullImgSquaredCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_1_1};case"EditorialCarouselRegularLandscapeCards":default:return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_16_9};case"EditorialCarouselRegularPortraitCards":return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_3_4};case"EditorialCarouselRegularSquaredCards":return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_1_1}}})(null==r||null==(t=r.itemKey)?void 0:t.id);return(null==r?void 0:r.properties)&&(r.properties.cardsType=null==o?void 0:o.cardsType,r.properties.cardsAspectRatio=null==o?void 0:o.cardsAspectRatio,r.properties.itemsPerRow=(0,F.ph)(null==r||null==(l=r.properties)?void 0:l.itemsPerRow,3)),(0,a.jsx)(el,{data:{...r}})},er=e=>{let{data:t}=e;return(0,a.jsx)(ea,{data:t},(0,d.Ak)())},eo=(0,s.default)(()=>l.e(2548).then(l.bind(l,22548)),{loadableGenerated:{webpack:()=>[22548]}}),ei=e=>{var t,l;let{data:r}=e,o=(e=>{switch(e){case"EditorialGridFullImgLandscapeCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_16_9};case"EditorialGridFullImgPortraitCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_2_3};case"EditorialGridFullImgSquaredCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_1_1};case"EditorialGridRegularLandscapeCards":default:return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_16_9};case"EditorialGridRegularPortraitCards":return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_3_4};case"EditorialGridRegularSquaredCards":return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_1_1}}})(null==r||null==(t=r.itemKey)?void 0:t.id);return(null==r?void 0:r.properties)&&(r.properties.cardsType=null==o?void 0:o.cardsType,r.properties.cardsAspectRatio=null==o?void 0:o.cardsAspectRatio,r.properties.itemsPerRow=(0,F.ph)(null==r||null==(l=r.properties)?void 0:l.itemsPerRow,3)),(0,a.jsx)(eo,{data:r})},en=e=>{let{data:t}=e;return(0,a.jsx)(ei,{data:t},(0,d.Ak)())},es=(0,s.default)(()=>l.e(53).then(l.bind(l,72434)),{loadableGenerated:{webpack:()=>[72434]}}),ed=e=>{let{data:t}=e;return(0,a.jsx)(es,{data:{...t}})};var ec=l(10020),eu=l(91193),em=l(83617),eh=l(37575),eg=l(75889),ep=l(15239),ev=l(24158),ef=l(81156);let ey=async e=>{var t,l,r,o,i;let{data:n}=e,{slug:s,isFullWidth:d,isAnimated:c,removeSpacingBottom:u,removeSpacingTop:m}=n.properties;if((0,C.g)(n,["slug"]))return null;let h=await (0,R.QH)(_.aV.events,s,{hasGadAssetsFields:!0});if(!h)return null;let g=null==h||null==(t=h.fields)?void 0:t.startDate,p=null==h?void 0:h.title,v=null==h||null==(l=h.fields)?void 0:l.headline,f=null==h||null==(r=h.fields)?void 0:r.url,y=await (0,ev.cb)(null==h||null==(o=h.fields)?void 0:o.backgroundImageDesktop),x=await (0,ev.cb)(null==h||null==(i=h.fields)?void 0:i.backgroundImageMobile);if(!g)return null;let b=(0,L.fD)(n).eventCountdown,w=(0,L.kT)(n);return(0,a.jsx)(E.A,{childrenComponentName:"eventCountdown",backgroundColor:b.background,textColor:b.text,removeSpacingTop:m,removeSpacingBottom:u,children:(0,a.jsxs)(B.A,{isFullWidth:(0,F.uo)(d),horizontalSpacing:(0,F.uo)(d)?I.jy.FullWidth:I.jy.Container,className:"flex flex-col items-center justify-center gap-6 lg:gap-12",children:[y&&x&&(0,a.jsxs)("picture",{className:"absolute h-full w-full object-cover",children:[(0,a.jsx)("source",{media:"(min-width: 769px)",srcSet:(0,eh.W)(y.assetUrl,eh.N.default_assets.desktop.transformation)}),(0,a.jsx)(ep.default,{src:(0,eh.W)(x.assetUrl,eh.N.default_assets.mobile.transformation),alt:"",loading:"lazy",fill:!0,className:"object-cover"})]}),(0,a.jsx)(ef.default,{href:null==f?void 0:f.url,target:(null==f?void 0:f.openInNewTab)?"_blank":"_self","aria-label":(null==f?void 0:f.accessibleText)||"",title:(null==f?void 0:f.displayText)||"",children:(0,a.jsxs)("div",{className:(0,eg.QP)(b.background,"backdrop-blur-lg","relative z-10","p-4","rounded-lg","flex flex-col items-center justify-center md:flex-row","gap-2 md:gap-8"),children:[p&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(em.Ay,{variant:em.PT["h3-uppercase"],className:"text-center text-balance md:text-left",children:(0,a.jsx)(ec.A,{stagger:.1,isAnimated:c,
1children:p})}),(0,a.jsx)("div",{className:(0,eg.QP)("hidden h-6 w-[1px] lg:block",b.line)})]}),v&&(0,a.jsx)(em.Ay,{variant:em.PT["h3-uppercase"],className:"hidden lg:block",children:(0,a.jsx)(ec.A,{stagger:.1,isAnimated:c,children:v})}),(0,a.jsx)(eu.default,{startDate:g,colorSchemaKey:w})]})})]})})},ex=e=>{let{data:t}=e;return(0,a.jsx)(ey,{data:t})},eb=(0,s.default)(()=>l.e(5266).then(l.bind(l,15266)),{loadableGenerated:{webpack:()=>[15266]}}),ew=e=>{var t,l;let{data:r}=e,o=(e=>{switch(e){case"FeaturedCarouselFullImgLandscapeCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_16_9};case"FeaturedCarouselFullImgPortraitCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_2_3};case"FeaturedCarouselFullImgSquaredCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_1_1};case"FeaturedCarouselRegularLandscapeCards":default:return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_16_9};case"FeaturedCarouselRegularPortraitCards":return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_3_4};case"FeaturedCarouselRegularSquaredCards":return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_1_1}}})(null==r||null==(t=r.itemKey)?void 0:t.id);return(null==r?void 0:r.properties)&&(r.properties.cardsType=null==o?void 0:o.cardsType,r.properties.cardsAspectRatio=null==o?void 0:o.cardsAspectRatio,r.properties.itemsPerRow=(0,F.ph)(null==r||null==(l=r.properties)?void 0:l.itemsPerRow,3)),(0,a.jsx)(eb,{data:r})},ej=e=>{let{data:t}=e;return(0,a.jsx)(ew,{data:t},(0,d.Ak)())},eN=(0,s.default)(()=>l.e(8766).then(l.bind(l,8766)),{loadableGenerated:{webpack:()=>[8766]}}),eT=e=>{var t,l;let{data:r}=e,o=(e=>{switch(e){case"FeaturedGridFullImgLandscapeCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_16_9};case"FeaturedGridFullImgPortraitCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_2_3};case"FeaturedGridFullImgSquaredCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_1_1};case"FeaturedGridRegularLandscapeCards":default:return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_16_9};case"FeaturedGridRegularPortraitCards":return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_3_4};case"FeaturedGridRegularSquaredCards":return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_1_1}}})(null==r||null==(t=r.itemKey)?void 0:t.id);return(null==r?void 0:r.properties)&&(r.properties.cardsType=null==o?void 0:o.cardsType,r.properties.cardsAspectRatio=null==o?void 0:o.cardsAspectRatio,r.properties.itemsPerRow=(0,F.ph)(null==r||null==(l=r.properties)?void 0:l.itemsPerRow,3)),(0,a.jsx)(eN,{data:r})},eS=e=>{let{data:t}=e;return(0,a.jsx)(eT,{data:t},(0,d.Ak)())},eA=(0,s.default)(()=>l.e(6323).then(l.bind(l,16323)),{loadableGenerated:{webpack:()=>[16323]}}),eP=e=>{var t;let{data:l}=e,r=(e=>{switch(e){case"FeaturedMasonryFullImgLandscapeCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_16_9};case"FeaturedMasonryFullImgPortraitCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_2_3};default:return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_1_1}}})(null==l||null==(t=l.itemKey)?void 0:t.id);return(null==l?void 0:l.properties)&&(l.properties.cardsType=null==r?void 0:r.cardsType,l.properties.cardsAspectRatio=null==r?void 0:r.cardsAspectRatio),(0,a.jsx)(eA,{data:l})},ek=e=>{let{data:t}=e;return(0,a.jsx)(eP,{data:t},(0,d.Ak)())},eC=(0,s.default)(()=>l.e(2154).then(l.bind(l,82154)),{loadableGenerated:{webpack:()=>[82154]}}),eI=e=>{let{data:t}=e;return(0,a.jsx)(eC,{data:t})},eL=(0,s.default)(()=>l.e(6774).then(l.bind(l,26774)),{loadableGenerated:{webpack:()=>[26774]}}),eF=e=>{let{data:t}=e;return(0,a.jsx)(eL,{data:t})};var eB=l(73261);let eE=e=>{let{data:t}=e,{content:l,isFullWidth:r,removeSpacingBottom:o,removeSpacingTop:i}=t.properties;if((0,F.NZ)(t)||!l)return null;let n=(0,L.fD)(t);return(0,a.jsx)(E.A,{childrenComponentName:"html-content",backgroundColor:n.background,textColor:n.text,removeSpacingTop:i,removeSpacingBottom:o,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(r),horizontalSpacing:(0,F.uo)(r)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(eB.default,{content:l})})})},e_=e=>{let{data:t}=e;return(0,a.jsx)(eE,{data:t})},eR=(0,s.default)(()=>l.e(3632).then(l.bind(l,83632)),{loadableGenerated:{webpack:()=>[83632]}}),eM=e=>{let{data:t}=e;return(0,a.jsx)(eR,{data:t})};var eD=l(87577),eU=l(32747);let ez=e=>{var t;let{data:l}=e,{imageAsset:r,ratio:n,size:s,alignment:d,isFullWidth:c,removeSpacingTop:u,removeSpacingBottom:m,isAnimated:h}=l.properties;if(!r||!r.assetUrl)return i.A.log("Image asset not found",o.T.warning),null;let g="".concat(n||"landscape","_").concat(s||"large"),p=eh.N["".concat("image_"+g)];if(!r||!p)return null;let v=(0,L.fD)(l),f=(0,L.kT)(l),y=null!=(t=null==r?void 0:r.altText)?t:r.name;return(0,a.jsx)(E.A,{childrenComponentName:"image-asset",textColor:v.text,removeSpacingBottom:m,removeSpacingTop:u,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(c),horizontalSpacing:(0,F.uo)(c)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(ef.default,{href:null==r?void 0:r.clickThroughUrl,title:y,"aria-label":y,children:(0,a.jsx)(U.default,{isAnimated:h,children:(0,a.jsx)("div",{className:(0,eg.QP)("grid-element relative col-start-1 row-start-1",(0,eU.c0)(d),eU.aB[g]),children:(0,a.jsx)(eD.A,{src:r.assetUrl,alt:(null==r?void 0:r.altText)&&r.altText?r.altText:r.name,transformations:p,description:null==r?void 0:r.caption,colorSchemaKey:f})})})})})})},eO=e=>{let{data:t}=e;return(0,a.jsx)(ez,{data:t})},eH=(0,s.default)(()=>l.e(7072).then(l.bind(l,87072)),{loadableGenerated:{webpack:()=>[87072]}}),eW=e=>{let{data:t}=e;return(0,a.jsx)(eH,{data:t})},eQ=(0,s.default)(()=>l.e(6012).then(l.bind(l,76012)),{loadableGenerated:{webpack:()=>[76012]}}),eG=e=>{let{data:t}=e;return(0,a.jsx)(eQ,{data:t})},eV=(0,s.default)(()=>
1l.e(1620).then(l.bind(l,11620)),{loadableGenerated:{webpack:()=>[11620]}}),eK=e=>{let{data:t}=e;return(0,a.jsx)(eV,{data:t})},eq=(0,s.default)(()=>l.e(2274).then(l.bind(l,2274)),{loadableGenerated:{webpack:()=>[2274]}}),eJ=e=>{let{data:t}=e;return(0,a.jsx)(eq,{data:t})},eX=(0,s.default)(()=>l.e(4648).then(l.bind(l,94648)),{loadableGenerated:{webpack:()=>[94648]}}),eY=e=>{let{data:t}=e;return(0,a.jsx)(eX,{data:t})},e$=(0,s.default)(()=>l.e(296).then(l.bind(l,90296)),{loadableGenerated:{webpack:()=>[90296]}}),eZ=(0,s.default)(()=>l.e(8774).then(l.bind(l,58774)),{loadableGenerated:{webpack:()=>[58774]}}),e0=e=>{let{data:t}=e;return(0,a.jsx)(eZ,{data:t})},e1=(0,s.default)(()=>l.e(5532).then(l.bind(l,5532)),{loadableGenerated:{webpack:()=>[5532]}}),e5=e=>{let{data:t}=e;return(0,a.jsx)(e1,{data:t})},e2=(0,s.default)(()=>l.e(4398).then(l.bind(l,94398)),{loadableGenerated:{webpack:()=>[94398]}}),e3=e=>{let{data:t}=e;return(0,a.jsx)(e2,{data:t})},e8=(0,s.default)(()=>Promise.all([l.e(1993),l.e(92)]).then(l.bind(l,20092)),{loadableGenerated:{webpack:()=>[20092]}}),e4=e=>{let{data:t}=e;return(0,a.jsx)(e8,{data:t})},e6=e=>{let{data:t}=e;return(0,a.jsx)(e4,{data:t},(0,d.Ak)())},e9=(0,s.default)(()=>l.e(5050).then(l.bind(l,5050)),{loadableGenerated:{webpack:()=>[5050]}}),e7=e=>{var t;let{data:l}=e,r=(e=>{switch(e){case"PromoEditorialCarouselFullImgLandscapeCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_16_9};case"PromoEditorialCarouselFullImgPortraitCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_2_3};case"PromoEditorialCarouselFullImgSquaredCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_1_1};case"PromoEditorialCarouselRegularLandscapeCards":default:return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_16_9};case"PromoEditorialCarouselRegularPortraitCards":return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_3_4};case"PromoEditorialCarouselRegularSquaredCards":return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_1_1}}})(null==l||null==(t=l.itemKey)?void 0:t.id);return(null==l?void 0:l.properties)&&(l.properties.cardsType=null==r?void 0:r.cardsType,l.properties.cardsAspectRatio=null==r?void 0:r.cardsAspectRatio),(0,a.jsx)(e9,{data:l})},te=e=>{let{data:t}=e;return(0,a.jsx)(e7,{data:t},(0,d.Ak)())},tt=(0,s.default)(()=>l.e(7416).then(l.bind(l,47416)),{loadableGenerated:{webpack:()=>[47416]}}),tl=e=>{let{data:t}=e;return(0,a.jsx)(tt,{data:t})},ta=(0,s.default)(()=>l.e(8772).then(l.bind(l,18772)),{loadableGenerated:{webpack:()=>[18772]}}),tr=e=>{let{data:t}=e;return(0,a.jsx)(ta,{data:t})},to=(0,s.default)(()=>l.e(7904).then(l.bind(l,57904)),{loadableGenerated:{webpack:()=>[57904]}}),ti=e=>{let{data:t}=e;return(0,a.jsx)(to,{data:t})},tn=(0,s.default)(()=>l.e(7448).then(l.bind(l,67448)),{loadableGenerated:{webpack:()=>[67448]}}),ts=e=>{let{data:t}=e;return(0,a.jsx)(tn,{data:t})},td=(0,s.default)(()=>l.e(9580).then(l.bind(l,29580)),{loadableGenerated:{webpack:()=>[29580]}}),tc=e=>{let{data:t}=e;return(0,a.jsx)(td,{data:t})},tu=(0,s.default)(()=>l.e(1974).then(l.bind(l,11974)),{loadableGenerated:{webpack:()=>[11974]}}),tm=e=>{let{data:t}=e;return(0,a.jsx)(tu,{data:t})},th=(0,s.default)(()=>l.e(6460).then(l.bind(l,76460)),{loadableGenerated:{webpack:()=>[76460]}}),tg=e=>{let{data:t}=e;return(0,a.jsx)(th,{data:t})},tp=(0,s.default)(()=>l.e(4034).then(l.bind(l,24034)),{loadableGenerated:{webpack:()=>[24034]}}),tv=e=>{let{data:t}=e;return(0,a.jsx)(tp,{data:t})},tf=(0,s.default)(()=>l.e(6392).then(l.bind(l,46392)),{loadableGenerated:{webpack:()=>[46392]}}),ty=e=>{let{data:t}=e;return(0,a.jsx)(tf,{data:t})},tx=(0,s.default)(()=>l.e(5914).then(l.bind(l,35914)),{loadableGenerated:{webpack:()=>[35914]}}),tb=e=>{let{data:t}=e;return(0,a.jsx)(tx,{data:t})},tw=(0,s.default)(()=>l.e(7482).then(l.bind(l,57482)),{loadableGenerated:{webpack:()=>[57482]}}),tj=e=>{let{data:t}=e;return(0,a.jsx)(tw,{data:t})},tN=(0,s.default)(()=>l.e(8216).then(l.bind(l,68216)),{loadableGenerated:{webpack:()=>[68216]}}),tT=e=>{let{data:t}=e;return(0,a.jsx)(tN,{data:t})},tS=(0,s.default)(()=>l.e(9324).then(l.bind(l,39324)),{loadableGenerated:{webpack:()=>[39324]}}),tA=e=>{let{data:t}=e;return(0,a.jsx)(tS,{data:t})},tP=(0,s.default)(()=>l.e(3360).then(l.bind(l,93360)),{loadableGenerated:{webpack:()=>[93360]}}),tk=e=>{let{data:t}=e;return(0,a.jsx)(tP,{data:t})},tC=(0,s.default)(()=>l.e(690).then(l.bind(l,690)),{loadableGenerated:{webpack:()=>[690]}}),tI=e=>{let{data:t}=e;return(0,a.jsx)(tC,{data:t})},tL=(0,s.default)(()=>l.e(4426).then(l.bind(l,14426)),{loadableGenerated:{webpack:()=>[14426]}}),tF=e=>{let{data:t}=e;return(0,a.jsx)(tL,{data:t})},tB=(0,s.default)(()=>l.e(8604).then(l.bind(l,78604)),{loadableGenerated:{webpack:()=>[78604]}}),tE=e=>{let{data:t}=e;return(0,a.jsx)(tB,{data:t})},t_=(0,s.default)(()=>l.e(7402).then(l.bind(l,67402)),{loadableGenerated:{webpack:()=>[67402]}}),tR=e=>{let{data:t}=e;return(0,a.jsx)(t_,{data:t})},tM=(0,s.default)(()=>l.e(1394).then(l.bind(l,91394)),{loadableGenerated:{webpack:()=>[91394]}}),tD=e=>{let{data:t}=e;return(0,a.jsx)(tM,{data:t})},tU=(0,s.default)(()=>l.e(3664).then(l.bind(l,13664)),{loadableGenerated:{webpack:()=>[13664]}}),tz=e=>{let{data:t}=e;return(0,a.jsx)(tU,{data:t})},tO=(0,s.default)(()=>l.e(3998).then(l.bind(l,83998)),{loadableGenerated:{webpack:()=>[83998]}}),tH=e=>{let{data:t}=e;return(0,a.jsx)(tO,{data:t})},tW=(0,s.default)(()=>l.e(9404).then(l.bind(l,79404)),{loadableGenerated:{webpack:()=>[79404]}}),tQ=e=>{let{data:t}=e;return(0,a.jsx)(tW,{data:t})},tG=(0,s.default)(()=>l.e(8956).then(l.bind(l,78956)),{loadableGenerated:{webpack:()=>[78956]}}),tV=e=>{let{data:t}=e;return(0,a.jsx)(tG,{data:t})},tK=(0,s.default)(()=>l.e(2702).then(l.bind(l,82702)),{loadableGenerated:{webpack:()=>[82702]}}),tq=e=>{let{data:t}=e;return(0,a.jsx)(tK,{data:t})},tJ=(0,s.default)(()=>l.e(8950).then(l.bind(l,68950)),{loadableGenerated:{webpack:()=>[68950]}}),tX=e=>{let{data:t}=e;return(0,a.jsx)(tJ,{data:t})},tY=async e=>{let{data:t}=e,{ctaLink:l,ctaTitle:r,showCtaArrow:n,headerTitle:s,headerTitleHeadingLevel:d,hideHeaderTitle:c,sponsorLabel:u,sponsorAsset:m,isFullWidth:h,isAnimated:g,removeSpacingBottom:p,removeSpacingTop:v,isBackgroun
1dTransparent:f}=t.properties;if((0,C.g)(t))return null;if(!s&&!l&&!r&&!m)return i.A.log("Cannot render SectionTitle because all mandatory property are missing",o.T.warning),null;let y=(0,L.fD)(t),x=await (0,R.QH)(_.aV.partners,m,{hasGadAssetsFields:!0,hasThumbnailPlaceholder:!0,variables:t.variables,hasLinkRules:!0});return(0,a.jsx)(E.A,{childrenComponentName:"section-title",backgroundColor:f?"bg-transparent":y.background,textColor:y.text,removeSpacingTop:v,removeSpacingBottom:p,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(h),horizontalSpacing:(0,F.uo)(h)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(D.A,{ctaLink:l,ctaTitle:r,showCtaArrow:n,headerTitle:s,headerTitleHeadingLevel:d,hideHeaderTitle:c,sponsorLabel:u,partnerEntity:x,isAnimated:g})})})},t$=e=>{let{data:t}=e;return(0,a.jsx)(tY,{data:t})};var tZ=l(54919),t0=l(49374),t1=l(5707);let t5=async e=>{var t,l;let r,{data:o}=e,{isFullWidth:n,headerTitle:s,headerTitleHeadingLevel:d=I.Fm.h2,hideHeaderTitle:c=!1,isAnimated:u,removeSpacingBottom:m,removeSpacingTop:h,ctaLink:g,ctaTitle:p,enableSortableColumns:v,enableTeamCodeVisualization:f,enableTeamCodeVisualizationOnMobile:y,enableMovementInsideRank:x,enableHomeAwayFilters:b,enableLivePolling:w=!0,limit:j,slug:N,seasonIdJson:T,competitionBackgroundTag:S="",qualificationOptions:A=""}=o.properties;if((0,C.g)(o))return null;let P=[];if(T)try{let e=JSON.parse(T),t=Array.isArray(e)?e[0]:e;r=Object.keys(t)[0],P=Object.entries(e).map(e=>{let[t,l]=e;return{id:t,season:String(l)}})}catch(e){i.A.log("seasonIdJson parsing error"),r=void 0}else r=(0,tZ.J)(o);if("string"!=typeof r||!r)return null;let[k,M]=await Promise.all([(0,R.PK)({entityCode:_.aV.teams}),Promise.all(P.map(async e=>{let t=await (0,t0.n)(e.id);return t?{...e,standings:t.standings}:null}))]);if(k||i.A.log("Failed to fetch all teams data for standings data."),!M.length)return i.A.log("Failed to fetch standings data."),null;let U=M.filter(e=>null!==e).map(e=>{var t,l;return{...e,standings:k&&(null==k?void 0:k.length)>0&&(null==e||null==(t=e.standings)?void 0:t.length)>0?null==e||null==(l=e.standings)?void 0:l.map(e=>{var t;return{...e,teams:null==e||null==(t=e.teams)?void 0:t.map(e=>{let t=null==k?void 0:k.find(t=>t.teamId===e.teamId);return{...e,teamUrl:(null==t?void 0:t.teamUrl)||"",logo:(null==t?void 0:t.logo)||"",logoLight:(null==t?void 0:t.logoLight)||""}})}}):e.standings}});if(!U.length)return i.A.log("Failed to render standing table without data."),null;let z=o.properties.columnList,O=(0,L.fD)(o),H=(0,L.kT)(o),W=await (0,ev.cb)(null==o||null==(t=o.properties)?void 0:t.competitionTag),Q=await (0,ev.cb)(null==o||null==(l=o.properties)?void 0:l.competitionMobileTag),G=await (0,ev.cb)(S);return(0,a.jsxs)(E.A,{childrenComponentName:"standing-module",backgroundColor:O.background,textColor:O.text,removeSpacingTop:h,removeSpacingBottom:m,children:[(0,a.jsx)("div",{className:"bg-mask-group"}),(0,a.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(n),horizontalSpacing:(0,F.uo)(n)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(D.A,{headerTitle:s,ctaLink:g,ctaTitle:p,hideHeaderTitle:c,headerTitleHeadingLevel:d,colorSchemaKey:H,isAnimated:(0,F.uo)(u)})}),(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(n),horizontalSpacing:(0,F.uo)(n)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)("div",{className:"-mx-4 md:mx-0",children:(0,a.jsx)(t1.StandingModuleWithPolling,{seasonIds:P.map(e=>e.id).join(","),initialStandings:U,enableLivePolling:w,competitionDesktopTagAssetUrl:W,competitionMobileTagAssetUrl:Q,headerTitle:s,ctaLink:g,ctaTitle:p,hideHeaderTitle:c,headerTitleHeadingLevel:d,colorSchemaKey:H,isAnimated:(0,F.uo)(u),columnList:String(z),limit:j,entityTeam:k&&N?k.find(e=>e.teamSlug===N):null,standings:U,enableHomeAwayFilters:null!=b&&b,enableSortableColumns:null!=v&&v,enableMovementInsideRank:null!=x&&x,enableTeamCodeVisualization:null!=f&&f,enableTeamCodeVisualizationOnMobile:null!=y&&y,seasonIdJsonArray:P,competitionBackgroundTagAssetUrl:G,qualificationOptionsString:A})})})]})]})},t2=e=>{let{data:t}=e;return(0,a.jsx)(t5,{data:t})},t3=(0,s.default)(()=>l.e(57).then(l.bind(l,90057)),{loadableGenerated:{webpack:()=>[90057]}}),t8=e=>{let{data:t}=e;return(0,a.jsx)(t3,{data:t})},t4=(0,s.default)(()=>l.e(9514).then(l.bind(l,9514)),{loadableGenerated:{webpack:()=>[9514]}}),t6=e=>{let{data:t}=e;return(0,a.jsx)(t4,{data:t})};var t9=l(49657);let t7=e=>{let{data:t}=e,{staticText:l,textAlignment:r}=t.properties;if(!l)return i.A.log("Static text not found",o.T.warning),null;let n=(0,L.fD)(t),s=(0,L.kT)(t),d={right:"text-end",left:"text-start",center:"text-center"},c=r&&d[r.toLowerCase()]?d[r.toLowerCase()]:"text-start";return(0,a.jsx)(E.A,{childrenComponentName:"static-text",textColor:n.text,removeSpacingBottom:!0,removeSpacingTop:!0,className:(0,eg.QP)(c,"list-position-inside"),children:(0,a.jsx)(t9.default,{markdownText:l,colorSchemaKey:s})})},le=e=>{let{data:t}=e;return(0,a.jsx)(t7,{data:t})},lt=(0,s.default)(()=>l.e(2728).then(l.bind(l,82728)),{loadableGenerated:{webpack:()=>[82728]}}),ll=(0,s.default)(()=>l.e(1084).then(l.bind(l,21084)),{loadableGenerated:{webpack:()=>[21084]}}),la=(0,s.default)(()=>l.e(9060).then(l.bind(l,59060)),{loadableGenerated:{webpack:()=>[59060]}}),lr=e=>{let{data:t}=e;return(0,a.jsx)(la,{data:t})};var lo=l(80767);let li=async(e,t)=>{var l;if(!e||!t)return;let a=await (0,lo.E)(e);return null==a||null==(l=a.teams)?void 0:l.find(e=>e.teamId===t)};var ln=l(97576),ls=l(80497),ld=l(19378),lc=l(28880);let lu=async e=>{var t,l,r,s,d;let{data:c}=e,{slug:u,hideModule:m,storytellerCategory:h,hideStoryteller:g,isAnimated:p,menuPath:v}=c.properties;if((0,C.g)(c)||m)return null;if(!u)return i.A.log("Cannot render team details from slug ".concat(u),o.T.warning),null;let f=await (0,R.PK)({entityCode:_.aV.teams}),y=null==f?void 0:f.find(e=>e.teamSlug===u);if(!y)return i.A.log("Cannot render the module without a team entity",o.T.warning),null;let x=(0,ld.s3)(null==y?void 0:y.theming,null==y?void 0:y.primaryColor),b=lc.B[null==x?void 0:x.theme],w=await (0,R.QH)(_.aV.competitions,y.competitionSlug,{hasGadAssetsFields:!0}),j=(null==x?void 0:x.theme)===_.fs.dark?null==w||null==(t=w.fields)?void 0:t.logoOnDark:null==w||null==(l=w.fields)?void 0:l.logoOnLight,N=(0,n.Yu)(c.variables,y.competitionSlug),T=await li(N,y.teamId),S=[];if(v)try{let e=await (0,ls.$)(v,null!=(s=null==c?void 0:c.previewToken)?s:"");S=null!=(d=null==e||null==(r=e.data)?void 0:r.items)?d:[]}catch(e){i.A.log("Error fetching menu structure for path ".concat(v),o.T.warning),S=[]}return(0,a.jsx)("div",{className:(0,eg.QP)("overflow-hidden"),style:{background:null==x?void 0:x.backgroundColor},children:(0,a.jsx)(E.A,{childrenComponentName:"team-header",removeSpacingTop:!0,isAnimated:p,removeSpacingBottom:!0,textColor:b.text,backgroundColor:b.background,children:(0,a.jsx)(ln.default,{team:y,clubTheme:x,menuData:S,variables:c.variables,isAnimated:p,teamStats:null==T?void 0:T.stats,colorSchema:b,competitionLogo:j,hideStoryteller:g,storytellerCategory:h})})})},lm=e=>{let{data:t}=e;return(0,a.jsx)(lu,{data:t})},lh=(0,s.default)(()=>l.e(2685).then(l.bind(l,62685)),{loadableGenerated:{webpack:()=>[62685]}}),lg=e=>{let{data:t}=e;return(0,a.jsx)(lh,{data:t})},lp=(0,s.default)(()=>l.e(1486).then(l.bind(l,29105)),{loadableGenerated:{webpack:()=>[29105]}}),lv=(0,s.default)(()=>l.e(9905).then(l.bind(l,32286)),{loadableGenerated:{webpack:()=>[32286]}}),lf=e=>{let{data:t}=e;return(0,a.jsx)(lv,{data:t})},ly=(0,s.default)(()=>l.e(2520).then(l.bind(l,82520)),{loadableGenerated:{webpack:()=>[82520]}}),lx=e=>{let{data:t}=e;return(0,a.jsx)(ly,{data:t})},lb=(0,s.default)(()=>l.e(8503).then(l.bind(l,38503)),{loadableGenerated:{webpack:()=>[38503]}}),lw=e=>{let{data:t}=e;return(0,a.jsx)(lb,{data:t})},lj=(0,s.default)(()=>l.e(8787).then(l.bind(l,88787)),{loadableGenerated:{webpack:()=>[88787]}}),lN=e=>{let{data:t}=e;return(0,a.jsx)(lj,{data:t})},lT=(0,s.default)(()=>l.e(2473).then(l.bind(l,92473)),{loadableGenerated:{webpack:()=>[92473]}}),lS=e=>{let{data:t}=e;return(0,a.jsx)(lT,{data:t})},lA=(0,s.default)(()=>l.e(7563).then(l.bind(l,97563)),{loadableGenerated:{webpack:()=>[97563]}}),lP=e=>{let{data:t}=e;return(0,a.jsx)(lA,{data:t})},lk=(0,s.default)(()=>l.e(6251).then(l.bind(l,96251)),{loadableGenerated:{webpack:()=>[96251]}}),lC=e=>{let{data:t}=e;return(0,a.jsx)(lk,{data:t})},lI=(0,s.default)(()=>l.e(9435).then(l.bind(l,79435)),{loadableGenerated:{webpack:()=>[79435]}}),lL=e=>{let{data:t}=e;return(0,a.jsx)(lI,{data:t})},lF=(0,s.default)(()=>l.e(9651).then(l.bind(l,39651)),{loadableGenerated:{webpack:()=>[39651]}}),lB=e=>{let{data:t}=e;return(0,a.jsx)(lF,{data:t})},lE=(0,s.default)(()=>l.e(8764).then(l.bind(l,48764)),{loadableGenerated:{webpack:()=>[48764]}}),l_=e=>{var t,l;let{data:r}=e,o=(e=>{switch(e){case"CarouselRelatedItemsFullImgLandscapeCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_16_9};case"CarouselRelatedItemsFullImgPortraitCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_2_3};case"CarouselRelatedItemsFullImgSquaredCards":return{cardsType:et.A3.fullImg,cardsAspectRatio:et.Mc.ASPECT_1_1};case"CarouselRelatedItemsRegularLandscapeCards":default:return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_16_9};case"CarouselRelatedItemsRegularPortraitCards":return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_3_4};case"CarouselRelatedItemsRegularSquaredCards":return{cardsType:et.A3.regular,cardsAspectRatio:et.Mc.ASPECT_1_1}}})(null==r||null==(t=r.itemKey)?void 0:t.id);return(null==r?void 0:r.properties)&&(r.properties.cardsType=null==o?void 0:o.cardsType,r.properties.cardsAspectRatio=null==o?void 0:o.cardsAspectRatio,r.properties.itemsPerRow=(0,F.ph)(null==r||null==(l=r.properties)?void 0:l.itemsPerRow,3)),(0,a.jsx)(lE,{data:r})},lR=e=>{let{data:t}=e;return(0,a.jsx)(l_,{data:t},(0,d.Ak)())},lM=(0,s.default)(()=>Promise.all([l.e(1604),l.e(1900)]).then(l.bind(l,21900)),{loadableGenerated:{webpack:()=>[21900]}}),lD=e=>{let{data:t}=e;return(0,a.jsx)(lM,{data:t})},lU=(0,s.default)(()=>Promise.all([l.e(1604),l.e(8027)]).then(l.bind(l,78027)),{loadableGenerated:{webpack:()=>[78027]}}),lz=e=>{let{data:t}=e;return(0,a.jsx)(lU,{data:t})},lO=(0,s.default)(()=>l.e(3859).then(l.bind(l,63859)),{loadableGenerated:{webpack:()=>[63859]}}),lH=e=>{let{data:t}=e;return(0,a.jsx)(lO,{data:t})},lW=(0,s.default)(()=>l.e(1007).then(l.bind(l,91007)),{loadableGenerated:{webpack:()=>[91007]}}),lQ=e=>{let{data:t}=e;return(0,a.jsx)(lW,{data:t})},lG=(0,s.default)(()=>l.e(9397).then(l.bind(l,49397)),{loadableGenerated:{webpack:()=>[49397]}}),lV=e=>{let{data:t}=e;return(0,a.jsx)(lG,{data:t})};var lK=l(24656),lq=l(85093),lJ=l(24531),lX=l(34597);let lY=async e=>{let{path:t}=e.properties;if(!(null==t?void 0:t.length))return null;try{let l=await (0,ls.$)((0,lX.t)(t,e.variables),e.previewToken);l||i.A.log("Cannot render Menu from path ".concat(t),o.T.error);let a=l?(0,lq.Hl)(l.data.items,e.variables):[],r=(0,n.sW)(e.variables,lJ.rd);return r&&(0,lq.pA)(a,r),a}catch(e){return i.A.log("Error fetching Menu from path ".concat(t,": ").concat(JSON.stringify(e)),o.T.error),null}};var l$=l(22331),lZ=l(27180);let l0=async e=>{let{data:t}=e,{isFullWidth:l,removeSpacingBottom:r,removeSpacingTop:o,headerImageTag:i,logo:s}=t.properties;if((0,F.NZ)(t))return null;let d=(0,L.kT)(t),c=await lY(t),u=await (0,ev.cb)(i),m=await (0,ev.cb)(s),h=await (0,R.PK)({entityCode:_.aV.teams}),g=await (0,R.PK)({entityCode:_.aV.players}),p=await (0,lZ.x)(),v=(0,n.s2)(t.variables,lJ.wO),f=(0,n.s2)(t.variables,lJ.HH);
1return(0,a.jsx)(lK.FavoritesProvider,{allClubs:h,allPlayers:g,allCompetitions:p,favoritesModalHeaderLogo:m,favoriteClubsMaxLimit:v,favoritePlayersMaxLimit:f,children:(0,a.jsx)(l$.default,{colorSchemaKey:d,isFullWidth:l,removeSpacingBottom:r,removeSpacingTop:o,menuItems:c,headerBackground:u})})},l1=e=>{let{data:t}=e;return(0,a.jsx)(l0,{data:t})},l5=(0,s.default)(()=>l.e(5525).then(l.bind(l,85525)),{loadableGenerated:{webpack:()=>[85525]}}),l2=e=>{let{data:t}=e;return(0,a.jsx)(l5,{data:t})};l(12115);let l3=(0,s.default)(()=>l.e(2331).then(l.bind(l,62331)),{loadableGenerated:{webpack:()=>[62331]}}),l8=e=>{let{data:t}=e;return(0,a.jsx)(l3,{data:t})},l4=e=>{let{data:t}=e;return(0,a.jsx)(l8,{data:t},(0,d.Ak)())},l6=(0,s.default)(()=>l.e(7318).then(l.bind(l,47318)),{loadableGenerated:{webpack:()=>[47318]}}),l9=e=>{var t;let{data:l}=e;return l.properties.itemsPerRow=(0,F.ph)(null==l||null==(t=l.properties)?void 0:t.itemsPerRow,3),(0,a.jsx)(l6,{data:l})},l7=(0,s.default)(()=>l.e(3996).then(l.bind(l,13996)),{loadableGenerated:{webpack:()=>[13996]}}),ae=e=>{let{data:t}=e;return(0,a.jsx)(l7,{data:t})},at=(0,s.default)(()=>l.e(6572).then(l.bind(l,16572)),{loadableGenerated:{webpack:()=>[16572]}});var al=l(70195);let aa=e=>{let{data:t}=e,{removeSpacingBottom:l,removeSpacingTop:r,isAnimated:o,isFullWidth:i,content:n,colorSchema:s}=null==t?void 0:t.properties;if((0,C.g)(t))return null;let d=(0,F.uo)(i),c=d?I.jy.FullWidth:I.jy.Container,u="dark"===(0,F.JJ)(s)?_.fs.dark:_.fs.light,m=(0,F.JJ)(n);return(0,a.jsx)(E.A,{childrenComponentName:"tally-form-embed",removeSpacingBottom:l,removeSpacingTop:r,isAnimated:o,children:(0,a.jsx)(B.A,{isFullWidth:d,horizontalSpacing:c,children:(0,a.jsx)(al.TallyFormEmbedView,{content:m,colorSchemaKey:u})})})},ar=e=>{let{data:t}=e;return(0,a.jsx)(aa,{data:t})},ao=(0,s.default)(()=>l.e(9748).then(l.bind(l,39748)),{loadableGenerated:{webpack:()=>[39748]}}),ai=e=>{let{data:t}=e;return(0,a.jsx)(ao,{data:t})},an=(0,s.default)(()=>l.e(2286).then(l.bind(l,2286)),{loadableGenerated:{webpack:()=>[2286]}}),as=e=>{let{data:t}=e;return(0,a.jsx)(an,{data:t})},ad=(0,s.default)(()=>l.e(9756).then(l.bind(l,29756)),{loadableGenerated:{webpack:()=>[29756]}}),ac=e=>{let{data:t}=e;return(0,a.jsx)(ad,{data:t})};var au=l(69736),am=l(38495);let ah=(e,t)=>t||(0,n.sW)(e.variables,"sdp_team_url_pattern"),ag=(e,t)=>t||(0,n.sW)(e.variables,"sdp_player_url_pattern"),ap=(e,t)=>t||(0,n.sW)(e.variables,"sdp_match_url_pattern"),av=(e,t)=>t||(0,n.sW)(e.variables,"sdp_predictor_url_pattern"),af=e=>{let{data:t}=e,{isFullWidth:l,removeSpacingBottom:r,removeSpacingTop:o,headerTitle:i,itemsToShow:n,ctaTitle:s,ctaLink:d,matchId:c,seasonId:u,headerTitleHeadingLevel:m,enableTeamLinks:h,enablePlayerLinks:g,teamUrlPattern:p,playerUrlPattern:v,showErrorMessage:f,showRetryButton:y}=t.properties;if((0,C.g)(t,["matchId","seasonId"]))return;let x=(0,L.fD)(t);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-match-events",removeSpacingTop:o,removeSpacingBottom:r,backgroundColor:x.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(l),horizontalSpacing:(0,F.uo)(l)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(au.default,{seasonIds:(0,am.fN)(u),matchId:(0,am.w$)(c),headerTitle:i,itemsToShow:(0,F.ph)(n,5),ctaTitle:s,ctaLink:(0,lX.t)(d,t.variables),headerTitleHeadingLevel:m,enableTeamLinks:(0,F.uo)(h),enablePlayerLinks:(0,F.uo)(g),teamUrlPattern:ah(t,p),playerUrlPattern:ag(t,v),showErrorMessage:(0,F.uo)(f),showRetryButton:(0,F.uo)(y)})})})},ay=e=>{let{data:t}=e;return(0,a.jsx)(af,{data:t})};l(37724);var ax=l(76468);let ab=async e=>{var t,l;let{data:r}=e,{isFullWidth:o,removeSpacingBottom:i,removeSpacingTop:n,matchId:s,seasonId:d,showHeadshot:c,showList:u,showTacticalOnly:m,ctaLink:h,headerTitleHeadingLevel:g,enableTeamLinks:p,enablePlayerLinks:v,teamUrlPattern:f,playerUrlPattern:y,showPlayerEvents:x,tacticalEventPlacement:b,useTeamAcronym:w,footballPitchShowBackgroundImage:j,footballPitchBackgroundImageTag:N,showErrorMessage:T,showRetryButton:S}=r.properties;if((0,C.g)(r,["matchId","seasonId"]))return;let A=await (0,ev.cb)(N),P=(0,eh.W)(null==A?void 0:A.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(l=eh.N.best_assets)||null==(t=l.desktop)?void 0:t.transformation),k=(0,L.fD)(r);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-match-lineups",removeSpacingTop:n,removeSpacingBottom:i,backgroundColor:k.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(o),horizontalSpacing:(0,F.uo)(o)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(ax.default,{seasonIds:(0,am.fN)(d),matchId:(0,am.w$)(s),showHeadshot:(0,F.uo)(c),showList:(0,F.uo)(u),showTacticalOnly:(0,F.uo)(m),ctaLink:h,headerTitleHeadingLevel:g,showPlayerEvents:(0,F.uo)(x),tacticalEventPlacement:b,useTeamAcronym:(0,F.uo)(w),enableTeamLinks:(0,F.uo)(p),enablePlayerLinks:(0,F.uo)(v),teamUrlPattern:ah(r,f),playerUrlPattern:ag(r,y),footballPitchShowBackgroun
1dImage:(0,F.uo)(j),showErrorMessage:(0,F.uo)(T),showRetryButton:(0,F.uo)(S),footballPitchBackgroundImageUrl:P})})})},aw=e=>{let{data:t}=e;return(0,a.jsx)(ab,{data:t})};var aj=l(39204);let aN=async e=>{var t,l;let{data:r}=e,{isFullWidth:o,removeSpacingBottom:i,removeSpacingTop:n,itemsToShow:s,matchId:d,seasonId:c,showAllButton:u,enableTeamLinks:m,enablePlayerLinks:h,teamUrlPattern:g,playerUrlPattern:p,cardBackgroundTag:v,showErrorMessage:f,showRetryButton:y}=r.properties;if((0,C.g)(r,["matchId","seasonId"]))return;let x=await (0,ev.cb)(v),b=(0,eh.W)(null==x?void 0:x.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(l=eh.N.best_assets)||null==(t=l.desktop)?void 0:t.transformation),w=(0,L.fD)(r);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-play-by-play",removeSpacingTop:n,removeSpacingBottom:i,backgroundColor:w.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(o),horizontalSpacing:(0,F.uo)(o)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(aj.default,{seasonIds:(0,am.fN)(c),matchId:(0,am.w$)(d),itemsToShow:(0,F.ph)(s,10),showAllButton:(0,F.uo)(u),enableTeamLinks:(0,F.uo)(m),enablePlayerLinks:(0,F.uo)(h),teamUrlPattern:ah(r,g),playerUrlPattern:ag(r,p),cardBackgroundUrl:b,showErrorMessage:(0,F.uo)(f),showRetryButton:(0,F.uo)(y)})})})},aT=e=>{let{data:t}=e;return(0,a.jsx)(aN,{data:t})};var aS=l(19452);let aA=e=>{let{data:t}=e,{isFullWidth:l,removeSpacingBottom:r,removeSpacingTop:o,matchId:i,seasonId:n,hideMissingInfo:s,showToast:d,headerTitleHeadingLevel:c,showErrorMessage:u,showRetryButton:m}=t.properties;if((0,C.g)(t,["matchId","seasonId"]))return;let h=(0,L.fD)(t);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-match-info",removeSpacingTop:o,removeSpacingBottom:r,backgroundColor:h.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(l),horizontalSpacing:(0,F.uo)(l)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(aS.default,{seasonIds:(0,am.fN)(n),matchId:(0,am.w$)(i),hideMissingInfo:(0,F.uo)(s),showToast:(0,F.uo)(d),headerTitleHeadingLevel:c,showErrorMessage:(0,F.uo)(u),showRetryButton:(0,F.uo)(m)})})})},aP=e=>{let{data:t}=e;return(0,a.jsx)(aA,{data:t})};var ak=l(42240);let aC=e=>{let{data:t}=e,{isFullWidth:l,removeSpacingBottom:r,removeSpacingTop:o,matchId:i,seasonId:n,dateFormat:s="iso",enableMatchLinks:d,matchUrlPattern:c,showErrorMessage:u,showRetryButton:m}=t.properties;if((0,C.g)(t,["matchId","seasonId"]))return;let h=(0,L.fD)(t);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-matchday-strip",removeSpacingTop:o,removeSpacingBottom:r,backgroundColor:h.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(l),horizontalSpacing:(0,F.uo)(l)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(ak.default,{seasonIds:(0,am.fN)(n),matchId:(0,am.w$)(i),dateFormat:s,enableMatchLinks:(0,F.uo)(d),matchUrlPattern:ap(t,c),showErrorMessage:(0,F.uo)(u),showRetryButton:(0,F.uo)(m)})})})},aI=e=>{let{data:t}=e;return(0,a.jsx)(aC,{data:t})};l(93872);var aL=l(22600);let aF=e=>(null!=e?e:[]).filter(e=>(null==e?void 0:e.entityCode)===_.et.broadcaster).map(e=>{var t,l,a,r,o;return{name:null==e||null==(t=e.fields)?void 0:t.broadcasterName,linkUrl:null==e||null==(a=e.fields)||null==(l=a.broadcasterLink)?void 0:l.url,logoSource:(0,eh.W)(null==e||null==(o=e.fields)||null==(r=o.broadcasterLogo)?void 0:r.assetUrl,eh.N.best_assets.desktop.transformation)}}),aB=async e=>{var t,l,r,o;let{data:i}=e,{isFullWidth:n,removeSpacingBottom:s,removeSpacingTop:d,backgroundTag:c,matchId:u,seasonId:m,dateFormat:h="iso",hideBroadcaster:g,hideCalendar:p,hideTickets:v,hideCompetitionLogo:f,hideGoalScorer:y,hideMatchday:x,timeFormat:b="12h",headerTitleHeadingLevel:w,compactView:j,compactViewOnScroll:N,enableTeamLinks:T,teamUrlPattern:S,enablePlayerLinks:A,playerUrlPattern:P,showErrorMessage:k,showRetryButton:_,competitionLogoTag:M,broadcasterListSelectionSlug:D}=i.properties;if((0,C.g)(i,["matchId","seasonId"]))return;let U=await (0,R.Lo)(D,{hasGadAssetsFields:!0}),z=aF(null==U?void 0:U.items),O=await (0,ev.cb)(c),H=(0,eh.W)(null==O?void 0:O.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(l=eh.N.best_assets)||null==(t=l.desktop)?void 0:t.transformation),W=await (0,ev.cb)(M),Q=(0,eh.W)(null==W?void 0:W.assetUrl,null===eh.N||void 0===eh.N||null==(o=eh.N.best_assets)||null==(r=o.desktop)?void 0:r.transformation),G=(0,L.fD)(i);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-match-header",removeSpacingTop:d,removeSpacingBottom:s,backgroundColor:G.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(n),horizontalSpacing:(0,F.uo)(n)?void 0:I.jy.Container,children:(0,a.jsx)(aL.default,{seasonIds:(0,am.fN)(m),matchId:(0,am.w$)(u),dateFormat:h,hideBroadcaster:(0,F.uo)(g),hideCalendar:(0,F.uo)(p),hideCompetitionLogo:(0,F.uo)(f),hideTickets:(0,F.uo)(v),hideGoalScorer:(0,F.uo)(y),hideMatchday:(0,F.uo)(x),timeFormat:b,backgroundUrl:H,headerTitleHeadingLevel:w,compactView:(0,F.uo)(j),compactViewOnScroll:(0,F.uo)(N),enableTeamLinks:(0,F.uo)(T),teamUrlPattern:ah(i,S),enablePlayerLinks:(0,F.uo)(A),playerUrlPattern:ag(i,P),showErrorMessage:(0,F.uo)(k),showRetryButton:(0,F.uo)(_),competitionLogoUrl:Q,broadcasterList:z})})})},aE=e=>{let{data:t}=e;return(0,a.jsx)(aB,{data:t})};var a_=l(46830);let aR=e=>{let{data:t}=e,{isFullWidth:l,removeSpacingBottom:r,removeSpacingTop:o,matchId:i,seasonId:n,headerTitleHeadingLevel:s,enableMatchLinks:d,enableTeamLinks:c,teamUrlPattern:u,matchUrlPattern:m,showErrorMessage:h,showRetryButton:g}=t.properties;if((0,C.g)(t,["matchId","seasonId"]))return;let p=(0,L.fD)(t);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-match-facts",removeSpacingTop:o,removeSpacingBottom:r,backgroundColor:p.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(l),horizontalSpacing:(0,F.uo)(l)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(a_.default,{seasonIds:(0,am.fN)(n),matchId:(0,am.w$)(i),headerTitleHeadingLevel:s,enableMatchLinks:(0,F.uo)(d),enableTeamLinks:(0,F.uo)(c),teamUrlPattern:ah(t,u),matchUrlPattern:ap(t,m),showErrorMessage:(0,F.uo)(h),showRetryButton:(0,F.uo)(g)})})})},aM=e=>{let{data:t}=e;return(0,a.jsx)(aR,{data:t})};var aD=l(31164);let aU=async e=>{var t,l,r,o;let{data:i}=e,{isFullWidth:n,removeSpacingBottom:s,removeSpacingTop:d,matchId:c,seasonId:u,cardBackgroun
1dTag:m,headerTitleHeadingLevel:h,layout:g,basicStatsSlots:p,basicStatsIds:v,generalStatsSlots:f,summaryStatsIds:y,workRateStatsIds:x,attackStatsSlots:b,attackStatsIds:w,passesStatsSlots:j,passesStatsIds:N,defenseStatsSlots:T,defenseStatsIds:S,showErrorMessage:A,showRetryButton:P,competitionIconTag:k}=i.properties;if((0,C.g)(i,["matchId","seasonId"]))return;let[_,R]=await Promise.all([(0,ev.cb)(m),(0,ev.cb)(k)]),M=(0,eh.W)(null==_?void 0:_.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(l=eh.N.best_assets)||null==(t=l.desktop)?void 0:t.transformation),D=(0,eh.W)(null==R?void 0:R.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(o=eh.N.best_assets)||null==(r=o.desktop)?void 0:r.transformation),U=(0,L.fD)(i);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-match-statistics",removeSpacingTop:d,removeSpacingBottom:s,backgroundColor:U.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(n),horizontalSpacing:(0,F.uo)(n)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(aD.default,{seasonIds:(0,am.fN)(u),matchId:(0,am.w$)(c),cardBackgroundUrl:M,headerTitleHeadingLevel:h,layout:g,basicStatsSlots:p,basicStatsIds:v,generalStatsSlots:f,summaryStatsIds:y,workRateStatsIds:x,attackStatsSlots:b,attackStatsIds:w,passesStatsSlots:j,passesStatsIds:N,defenseStatsSlots:T,defenseStatsIds:S,showErrorMessage:(0,F.uo)(A),showRetryButton:(0,F.uo)(P),competitionIconUrl:D})})})},az=e=>{let{data:t}=e;return(0,a.jsx)(aU,{data:t})};var aO=l(79058);let aH=async e=>{var t,l;let{data:r}=e,{isFullWidth:o,removeSpacingBottom:i,removeSpacingTop:n,matchId:s,seasonId:d,headerTitleHeadingLevel:c,statsSlots:u,playerInformationStatsIds:m,playerSummaryStatsIds:h,playerWorkRateStatsIds:g,enableTeamLinks:p,enablePlayerLinks:v,teamUrlPattern:f,playerUrlPattern:y,backgroundTag:x,defaultComparison:b="none",showErrorMessage:w,showRetryButton:j}=r.properties;if((0,C.g)(r,["matchId","seasonId"]))return;let N=await (0,ev.cb)(x),T=(0,eh.W)(null==N?void 0:N.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(l=eh.N.best_assets)||null==(t=l.desktop)?void 0:t.transformation),S=(0,L.fD)(r);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-match-player-stats-comparison",removeSpacingTop:n,removeSpacingBottom:i,backgroundColor:S.background,allowOverflow:!0,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(o),horizontalSpacing:(0,F.uo)(o)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(aO.default,{seasonIds:(0,am.fN)(d),matchId:(0,am.w$)(s),headerTitleHeadingLevel:c,statsSlots:u,playerInformationStatsIds:m,playerSummaryStatsIds:h,playerWorkRateStatsIds:g,enableTeamLinks:(0,F.uo)(p),enablePlayerLinks:(0,F.uo)(v),teamUrlPattern:ah(r,f),playerUrlPattern:ag(r,y),cardBackgroundUrl:T,defaultComparison:b,showErrorMessage:(0,F.uo)(w),showRetryButton:(0,F.uo)(j)})})})},aW=e=>{let{data:t}=e;return(0,a.jsx)(aH,{data:t})};var aQ=l(89652);l(50940);let aG=async e=>{let{data:t}=e,{isFullWidth:l,backgroundTag:r,removeSpacingBottom:o,removeSpacingTop:i,seasonId:n,headerTitleHeadingLevel:s,generalStatsToShow:d,attackStatsToShow:c,defenseStatsToShow:u,passesStatsToShow:m,enableTeamLinks:h,teamUrlPattern:g,useDarkHeader:p,useDarkSecondarySections:v,showErrorMessage:f,showRetryButton:y}=t.properties;if((0,C.g)(t,["seasonId"]))return;let x=await (0,ev.cb)(r),b=(0,L.fD)(t);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-all-team-statistics",removeSpacingTop:i,removeSpacingBottom:o,backgroundColor:b.background,backgroundImage:x,allowOverflow:!0,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(l),horizontalSpacing:(0,F.uo)(l)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(aQ.default,{seasonIds:(0,am.fN)(n),headerTitleHeadingLevel:s,generalStatsToShow:d,attackStatsToShow:c,defenseStatsToShow:u,passesStatsToShow:m,enableTeamLinks:(0,F.uo)(h),teamUrlPattern:ah(t,g),useDarkHeader:(0,F.uo)(p),useDarkSecondarySections:(0,F.uo)(v),showErrorMessage:(0,F.uo)(f),showRetryButton:(0,F.uo)(y)})})})},aV=e=>{let{data:t}=e;return(0,a.jsx)(aG,{data:t})};var aK=l(17160);let aq=async e=>{var t,l,r,o;let{data:i}=e,{isFullWidth:n,backgroundTag:s,removeSpacingBottom:d,removeSpacingTop:c,seasonId:u,matchId:m,headerTitleHeadingLevel:h,itemsToShow:g,showErrorMessage:p,showRetryButton:v,enableMatchLinks:f,enableTeamLinks:y,teamUrlPattern:x,matchUrlPattern:b,competitionLogoTag:w}=i.properties;if((0,C.g)(i,["matchId","seasonId"]))return;let j=await (0,ev.cb)(s),N=(0,eh.W)(null==j?void 0:j.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(l=eh.N.best_assets)||null==(t=l.desktop)?void 0:t.transformation),T=await (0,ev.cb)(w),S=(0,eh.W)(null==T?void 0:T.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(o=eh.N.best_assets)||null==(r=o.desktop)?void 0:r.transformation),A=(0,L.fD)(i);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-match-previous-meetings",removeSpacingTop:c,removeSpacingBottom:d,backgroundColor:A.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(n),horizontalSpacing:(0,F.uo)(n)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(aK.default,{seasonIds:(0,am.fN)(u),matchId:(0,am.w$)(m),cardBackgroun
1dUrl:N,headerTitleHeadingLevel:h,itemsToShow:(0,F.ph)(g,5),showErrorMessage:(0,F.uo)(p),showRetryButton:(0,F.uo)(v),enableMatchLinks:(0,F.uo)(f),enableTeamLinks:(0,F.uo)(y),matchUrlPattern:b,teamUrlPattern:x,competitionLogoUrl:S})})})},aJ=e=>{let{data:t}=e;return(0,a.jsx)(aq,{data:t})};var aX=l(25428);l(45868);let aY=async e=>{var t,l,r,o;let{data:i}=e,{isFullWidth:n,cardBackgroundTag:s,tableBackgroundTag:d,removeSpacingBottom:c,removeSpacingTop:u,seasonId:m,headerTitleHeadingLevel:h,clubDropdownStatsIds:g,clubStatsIds:p,playerDropdownStatsIds:v,playerStatsIds:f,enablePlayerLinks:y,enableTeamLinks:x,teamUrlPattern:b,playerUrlPattern:w,playerPageNumElement:j,clubPageNumElement:N,playerOrderBy:T,clubOrderBy:S,useDarkHeader:A,showErrorMessage:P,showRetryButton:k}=i.properties;if((0,C.g)(i,["seasonId"]))return;let _=await (0,ev.cb)(s),R=(0,eh.W)(null==_?void 0:_.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(l=eh.N.best_assets)||null==(t=l.desktop)?void 0:t.transformation),M=await (0,ev.cb)(d),D=(0,eh.W)(null==M?void 0:M.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(o=eh.N.best_assets)||null==(r=o.desktop)?void 0:r.transformation),U=(0,L.fD)(i);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-competition-statistics",removeSpacingTop:u,removeSpacingBottom:c,backgroundColor:U.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(n),horizontalSpacing:(0,F.uo)(n)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(aX.default,{seasonIds:(0,am.fN)(m),cardBackgroundUrl:R,tableBackgroundUrl:D,headerTitleHeadingLevel:h,clubDropdownStatsIds:g,clubStatsIds:p,playerDropdownStatsIds:v,playerStatsIds:f,enablePlayerLinks:(0,F.uo)(y),enableTeamLinks:(0,F.uo)(x),teamUrlPattern:ah(i,b),playerUrlPattern:ag(i,w),playerPageNumElement:(0,F.ph)(j,5),clubPageNumElement:(0,F.ph)(N,5),playerOrderBy:T,clubOrderBy:S,useDarkHeader:(0,F.uo)(A),showErrorMessage:(0,F.uo)(P),showRetryButton:(0,F.uo)(k)})})})},a$=e=>{let{data:t}=e;return(0,a.jsx)(aY,{data:t})};var aZ=l(22640);l(64976);let a0=async e=>{var t,l,r,o;let{data:i}=e,{isFullWidth:n,cardBackgroundTag:s,removeSpacingBottom:d,removeSpacingTop:c,seasonId:u,headerTitleHeadingLevel:m,teamGeneralStatsSlots:h,teamSummaryStatsIds:g,teamWorkRateStatsIds:p,teamAttackStatsSlots:v,teamAttackStatsIds:f,teamPassesStatsSlots:y,teamPassesStatsIds:x,teamDefenseStatsSlots:b,teamDefenseStatsIds:w,playerStatsSlots:j,playerSummaryStatsIds:N,playerWorkRateStatsIds:T,showErrorMessage:S,showRetryButton:A,competitionIconTag:P}=i.properties;if((0,C.g)(i,["seasonId"]))return;let k=await (0,ev.cb)(s),_=(0,eh.W)(null==k?void 0:k.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(l=eh.N.best_assets)||null==(t=l.desktop)?void 0:t.transformation),R=await (0,ev.cb)(P),M=(0,eh.W)(null==R?void 0:R.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(o=eh.N.best_assets)||null==(r=o.desktop)?void 0:r.transformation),D=(0,L.fD)(i);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-player-and-team-comparison",removeSpacingTop:c,removeSpacingBottom:d,backgroundColor:D.background,allowOverflow:!0,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(n),horizontalSpacing:(0,F.uo)(n)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(aZ.default,{seasonIds:(0,am.fN)(u),cardBackgroundUrl:_,headerTitleHeadingLevel:m,teamGeneralStatsSlots:h,teamSummaryStatsIds:g,teamWorkRateStatsIds:p,teamAttackStatsSlots:v,teamAttackStatsIds:f,teamPassesStatsSlots:y,teamPassesStatsIds:x,teamDefenseStatsSlots:b,teamDefenseStatsIds:w,playerStatsSlots:j,playerSummaryStatsIds:N,playerWorkRateStatsIds:T,showErrorMessage:(0,F.uo)(S),showRetryButton:(0,F.uo)(A),competitionIconUrl:M})})})},a1=e=>{let{data:t}=e;return(0,a.jsx)(a0,{data:t})};var a5=l(75144);l(68704);let a2=async e=>{let{data:t}=e,{isFullWidth:l,backgroundTag:r,removeSpacingBottom:o,removeSpacingTop:i,seasonId:n,headerTitleHeadingLevel:s,attackStatsToShow:d,defenseStatsToShow:c,generalStatsToShow:u,passesStatsToShow:m,enablePlayerLinks:h,enableTeamLinks:g,playerUrlPattern:p,teamUrlPattern:v,useDarkHeader:f,useDarkSecondarySections:y,showErrorMessage:x,showRetryButton:b,itemsToShow:w}=t.properties;if((0,C.g)(t,["seasonId"]))return;let j=await (0,ev.cb)(r),N=(0,L.fD)(t);
1return(0,a.jsx)(E.A,{childrenComponentName:"sdp-all-player-statistics",removeSpacingTop:i,removeSpacingBottom:o,backgroundColor:N.background,backgroundImage:j,allowOverflow:!0,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(l),horizontalSpacing:(0,F.uo)(l)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(a5.default,{seasonIds:(0,am.fN)(n),headerTitleHeadingLevel:s,attackStatsToShow:d,defenseStatsToShow:c,generalStatsToShow:u,passesStatsToShow:m,enablePlayerLinks:(0,F.uo)(h),enableTeamLinks:(0,F.uo)(g),playerUrlPattern:ag(t,p),teamUrlPattern:ah(t,v),useDarkHeader:(0,F.uo)(f),useDarkSecondarySections:(0,F.uo)(y),showErrorMessage:(0,F.uo)(x),showRetryButton:(0,F.uo)(b),itemsToShow:(0,F.ph)(w,25)})})})},a3=e=>{let{data:t}=e;return(0,a.jsx)(a2,{data:t})};var a8=l(40276);let a4=async e=>{var t,l;let{data:r}=e,{isFullWidth:o,removeSpacingBottom:i,removeSpacingTop:n,teamId:s,seasonId:d,cardBackgroundTag:c,headerTitleHeadingLevel:u,showErrorMessage:m,showRetryButton:h,componentConfig:g}=r.properties;if((0,C.g)(r,["teamId","seasonId"]))return;let p=await (0,ev.cb)(c),v=(0,eh.W)(null==p?void 0:p.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(l=eh.N.best_assets)||null==(t=l.desktop)?void 0:t.transformation),f=(0,L.fD)(r);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-club-stats",removeSpacingTop:n,removeSpacingBottom:i,backgroundColor:f.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(o),horizontalSpacing:(0,F.uo)(o)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(a8.default,{seasonIds:(0,am.fN)(d),teamId:(0,am.oN)(s),cardBackgroundUrl:v,headerTitleHeadingLevel:u,showErrorMessage:(0,F.uo)(m),showRetryButton:(0,F.uo)(h),componentConfig:g})})})},a6=e=>{let{data:t}=e;return(0,a.jsx)(a4,{data:t})};var a9=l(74276);let a7=async(e,t,l)=>{if(e){var a;let t=await (0,R.QH)(_.aV.players,e,{variables:l}),r=null==t||null==(a=t.fields)?void 0:a.externalPlayerId;if(r)return(0,am.s3)(r)}if(t)return(0,am.s3)(t)},re=["general-statistics","passing-accuracy","duels","tackles","balls-recovered","shots","shooting-accuracy"],rt=async e=>{var t,l;let{data:r}=e,{isFullWidth:o,removeSpacingBottom:i,removeSpacingTop:n,playerId:s,playerSlug:d,seasonId:c,cardBackgroundTag:u,headerTitleHeadingLevel:m,showErrorMessage:h,showRetryButton:g,componentConfig:p}=r.properties;if((0,C.g)(r,["seasonId"]))return;let v=await a7(d,s,r.variables);if(!v)return;let f=await (0,ev.cb)(u),y=(0,eh.W)(null==f?void 0:f.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(l=eh.N.best_assets)||null==(t=l.desktop)?void 0:t.transformation),x=null!=p?p:re.join(","),b=(0,L.fD)(r);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-player-stats",removeSpacingTop:n,removeSpacingBottom:i,backgroundColor:b.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(o),horizontalSpacing:(0,F.uo)(o)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(a9.default,{seasonIds:(0,am.fN)(c),playerId:v,cardBackgroundUrl:y,headerTitleHeadingLevel:m,showErrorMessage:(0,F.uo)(h),showRetryButton:(0,F.uo)(g),componentConfig:x})})})},rl=e=>{let{data:t}=e;return(0,a.jsx)(rt,{data:t})};var ra=l(62276);let rr=async e=>{var t,l;let{data:r}=e,{isFullWidth:o,removeSpacingBottom:i,removeSpacingTop:n,matchId:s,seasonId:d,headerTitleHeadingLevel:c,playerStatsIds:u,playerDropdownStatsIds:m,cardBackgroundTag:h,enableTeamLinks:g,enablePlayerLinks:p,teamUrlPattern:v,playerUrlPattern:f,showErrorMessage:y,showRetryButton:x}=r.properties;if((0,C.g)(r,["matchId","seasonId"]))return;let b=await (0,ev.cb)(h),w=(0,eh.W)(null==b?void 0:b.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(l=eh.N.best_assets)||null==(t=l.desktop)?void 0:t.transformation),j=(0,L.fD)(r);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-match-player-stats",removeSpacingTop:n,removeSpacingBottom:i,backgroundColor:j.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(o),horizontalSpacing:(0,F.uo)(o)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(ra.default,{seasonIds:(0,am.fN)(d),matchId:(0,am.w$)(s),headerTitleHeadingLevel:c,playerStatsIds:u,playerDropdownStatsIds:m,cardBackgroundUrl:w,enableTeamLinks:(0,F.uo)(g),enablePlayerLinks:(0,F.uo)(p),teamUrlPattern:ah(r,v),playerUrlPattern:ag(r,f),showErrorMessage:(0,F.uo)(y),showRetryButton:(0,F.uo)(x)})})})},ro=e=>{let{data:t}=e;return(0,a.jsx)(rr,{data:t})};var ri=l(46660);let rn=async e=>{var t,l;let{data:r}
1=e,{isFullWidth:o,backgroundTag:i,cardBackgroundTag:n,removeSpacingBottom:s,removeSpacingTop:d,seasonId:c,headerTitleHeadingLevel:u,predictorUrlPattern:m,dateFormat:h="iso",enableMatchLinks:g,matchUrlPattern:p,enableTeamLinks:v,teamUrlPattern:f,openBroadCastersInNewTab:y,openWhereToWatchInNewTab:x,openPredictorButtonInNewTab:b,openHighlightsButtonInNewTab:w,openTicketButtonInNewTab:j,useDarkHeader:N,showErrorMessage:T,showRetryButton:S,broadcasterListSelectionSlug:A,enableAddToCalendar:P,addToCalendarUrl:k}=r.properties;if(console.log("seasonId",c),(0,C.g)(r,["seasonId"]))return;console.log("valid seasonId",c);let _=await (0,R.Lo)(A,{hasGadAssetsFields:!0}),M=aF(null==_?void 0:_.items),D=await (0,ev.cb)(i),U=await (0,ev.cb)(n),z=(0,eh.W)(null==U?void 0:U.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(l=eh.N.best_assets)||null==(t=l.desktop)?void 0:t.transformation),O=(0,L.fD)(r);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-fixture-results",removeSpacingTop:d,removeSpacingBottom:s,backgroundColor:O.background,backgroundImage:D,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(o),horizontalSpacing:(0,F.uo)(o)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(ri.default,{seasonIds:(0,am.fN)(c),cardBackgroundUrl:z,headerTitleHeadingLevel:u,dateFormat:h,predictorUrlPattern:av(r,m),enableMatchLinks:(0,F.uo)(g),matchUrlPattern:ap(r,p),enableTeamLinks:(0,F.uo)(v),teamUrlPattern:ah(r,f),openBroadCastersInNewTab:(0,F.uo)(y),openWhereToWatchInNewTab:(0,F.uo)(x),openPredictorButtonInNewTab:(0,F.uo)(b),openHighlightsButtonInNewTab:(0,F.uo)(w),openTicketButtonInNewTab:(0,F.uo)(j),useDarkHeader:(0,F.uo)(N),showErrorMessage:(0,F.uo)(T),showRetryButton:(0,F.uo)(S),broadcasterList:M,enableAddToCalendar:(0,F.uo)(P),addToCalendarUrl:k})})})},rs=e=>{let{data:t}=e;return(0,a.jsx)(rn,{data:t})};var rd=l(62358);let rc=async e=>{let{data:t}=e,{isFullWidth:l,backgroundTag:r,removeSpacingBottom:o,removeSpacingTop:i,seasonId:n,competitionId:s,teamId:d,matchId:c,headerTitleHeadingLevel:u,enableMatchLinks:m,enableTeamLinks:h,matchUrlPattern:g,teamUrlPattern:p,columns:v,teamsToShow:f,useTeamCode:y,useTeamCodeMobile:x,layout:b,qualificationOptions:w,useDarkHeader:j,showErrorMessage:N,showRetryButton:T,ctaTitle:S,ctaLink:A}=t.properties;if(console.log("ASD",n),(0,C.g)(t,["seasonId"]))return;let P=await (0,ev.cb)(r),k=(0,L.fD)(t);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-match-standings",removeSpacingTop:i,removeSpacingBottom:o,backgroundColor:k.background,backgroundImage:P,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(l),horizontalSpacing:(0,F.uo)(l)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(rd.default,{seasonIds:(0,am.fN)(n),competitionId:(0,am.IW)(s),headerTitleHeadingLevel:u,matchId:(0,am.w$)(c),teamId:(0,am.oN)(d),enableMatchLinks:(0,F.uo)(m),matchUrlPattern:ap(t,g),enableTeamLinks:(0,F.uo)(h),teamUrlPattern:ah(t,p),columns:v,teamsToShow:f,useTeamCode:(0,F.uo)(y),useTeamCodeMobile:(0,F.uo)(x),layout:b,qualificationOptions:w,useDarkHeader:(0,F.uo)(j),showErrorMessage:(0,F.uo)(N),showRetryButton:(0,F.uo)(T),ctaTitle:S,ctaLink:A})})})},ru=e=>{let{data:t}=e;return(0,a.jsx)(rc,{data:t})};var rm=l(31380);let rh=async e=>{var t,l;let{data:r}=e,{isFullWidth:o,cardBackgroundTag:i,removeSpacingBottom:n,removeSpacingTop:s,seasonId:d,predictorUrlPattern:c,dateFormat:u="iso",enableMatchLinks:m,matchUrlPattern:h,enableTeamLinks:g,teamUrlPattern:p,openBroadCastersInNewTab:v,openWhereToWatchInNewTab:f,openPredictorButtonInNewTab:y,openHighlightsButtonInNewTab:x,openTicketButtonInNewTab:b,showErrorMessage:w,showRetryButton:j,showOnlyFinishedMatches:N,relevantTeamIds:T,predictorUrl:S,itemsToShow:A,broadcasterListSelectionSlug:P,enableAddToCalendar:k,addToCalendarUrl:_}=r.properties;if((0,C.g)(r,["seasonId"]))return;let M=await (0,R.Lo)(P,{hasGadAssetsFields:!0}),D=aF(null==M?void 0:M.items),U=await (0,ev.cb)(i),z=(0,eh.W)(null==U?void 0:U.assetThumbnailUrl,null===eh.N||void 0===eh.N||null==(l=eh.N.best_assets)||null==(t=l.desktop)?void 0:t.transformation),O=(0,L.fD)(r);return(0,a.jsx)(E.A,{childrenComponentName:"sdp-club-fixture",removeSpacingTop:s,removeSpacingBottom:n,backgroundColor:O.background,children:(0,a.jsx)(B.A,{isFullWidth:(0,F.uo)(o),horizontalSpacing:(0,F.uo)(o)?I.jy.FullWidth:I.jy.Container,children:(0,a.jsx)(rm.default,{seasonIds:(0,am.fN)(d),cardBackgroun
1dUrl:z,dateFormat:u,predictorUrlPattern:av(r,c),enableMatchLinks:(0,F.uo)(m),matchUrlPattern:ap(r,h),enableTeamLinks:(0,F.uo)(g),teamUrlPattern:ah(r,p),openBroadCastersInNewTab:(0,F.uo)(v),openWhereToWatchInNewTab:(0,F.uo)(f),openPredictorButtonInNewTab:(0,F.uo)(y),openHighlightsButtonInNewTab:(0,F.uo)(x),openTicketButtonInNewTab:(0,F.uo)(b),showErrorMessage:(0,F.uo)(w),showRetryButton:(0,F.uo)(j),showOnlyFinishedMatches:(0,F.uo)(N),relevantTeamIds:(0,am.xm)(T),predictorUrl:S,itemsToShow:A,broadcasterList:D,enableAddToCalendar:(0,F.uo)(k),addToCalendarUrl:_})})})},rg=e=>{let{data:t}=e;return(0,a.jsx)(rh,{data:t})},rp={FootballMatchEvents:e=>{let{data:t}=e;return(0,a.jsx)(ay,{data:t},(0,d.Ak)())},FootballMatchLineups:e=>{let{data:t}=e;return(0,a.jsx)(aw,{data:t},(0,d.Ak)())},FootballMatchPlayByPlay:e=>{let{data:t}=e;return(0,a.jsx)(aT,{data:t},(0,d.Ak)())},FootballMatchInfo:e=>{let{data:t}=e;return(0,a.jsx)(aP,{data:t},(0,d.Ak)())},FootballMatchdayStrip:e=>{let{data:t}=e;return(0,a.jsx)(aI,{data:t},(0,d.Ak)())},FootballMatchHeader:e=>{let{data:t}=e;return(0,a.jsx)(aE,{data:t},(0,d.Ak)())},FootballMatchFacts:e=>{let{data:t}=e;return(0,a.jsx)(aM,{data:t},(0,d.Ak)())},FootballMatchStatistics:e=>{let{data:t}=e;return(0,a.jsx)(az,{data:t},(0,d.Ak)())},FootballMatchPlayerStatsComparison:e=>{let{data:t}=e;return(0,a.jsx)(aW,{data:t},(0,d.Ak)())},FootballAllTeamStatistics:e=>{let{data:t}=e;return(0,a.jsx)(aV,{data:t},(0,d.Ak)())},FootballMatchPreviousMeetings:e=>{let{data:t}=e;return(0,a.jsx)(aJ,{data:t},(0,d.Ak)())},FootballCompetitionStatistics:e=>{let{data:t}=e;return(0,a.jsx)(a$,{data:t},(0,d.Ak)())},FootballPlayerAndTeamComparison:e=>{let{data:t}=e;return(0,a.jsx)(a1,{data:t},(0,d.Ak)())},FootballAllPlayerStatistics:e=>{let{data:t}=e;return(0,a.jsx)(a3,{data:t},(0,d.Ak)())},FootballClubStats:e=>{let{data:t}=e;return(0,a.jsx)(a6,{data:t},(0,d.Ak)())},FootballPlayerStats:e=>{let{data:t}=e;return(0,a.jsx)(rl,{data:t},(0,d.Ak)())},FootballMatchPlayerStats:e=>{let{data:t}=e;return(0,a.jsx)(ro,{data:t},(0,d.Ak)())},FootballFixtureResults:e=>{let{data:t}=e;return(0,a.jsx)(rs,{data:t},(0,d.Ak)())},FootballMatchStandings:e=>{let{data:t}=e;return(0,a.jsx)(ru,{data:t},(0,d.Ak)())},FootballClubFixture:e=>{let{data:t}=e;return(0,a.jsx)(rg,{data:t},(0,d.Ak)())}},rv=(0,s.default)(()=>l.e(9038).then(l.bind(l,49038)),{loadableGenerated:{webpack:()=>[49038]}}),rf=e=>{let{data:t}=e;return(0,a.jsx)(rv,{data:t})};var ry=l(69739);let rx=e=>{let{data:t}=e,{removeSpacingBottom:l,removeSpacingTop:r,isAnimated:o,isFullWidth:i}=null==t?void 0:t.properties;if((0,C.g)(t))return null;let n=(0,F.uo)(i),s=n?I.jy.None:I.jy.Container,d=(0,L.fD)(t);return(0,a.jsx)(E.A,{childrenComponentName:"fantasy-game",backgroundColor:d.background,textColor:d.text,removeSpacingBottom:l,removeSpacingTop:r,isAnimated:o,children:(0,a.jsx)(B.A,{isFullWidth:n,horizontalSpacing:s,children:(0,a.jsx)(ry.default,{})})})},rb=e=>{let{data:t}=e;return(0,a.jsx)(rx,{data:t})},rw=(0,s.default)(()=>l.e(136).then(l.bind(l,10136)),{loadableGenerated:{webpack:()=>[10136]}}),rj=e=>{let{data:t}=e;return(0,a.jsx)(rw,{data:t})},rN=(0,s.default)(()=>Promise.resolve().then(l.bind(l,61546)),{loadableGenerated:{webpack:()=>[61546]}}),rT=e=>{let{data:t}=e;return(0,a.jsx)(rN,{data:t})},rS={...rp,Accordion:e=>{let{data:t}=e;return(0,a.jsx)(O,{data:t},(0,d.Ak)())},Account:e=>{let{data:t}=e;return t?(0,a.jsx)(l1,{data:t},(0,d.Ak)()):null},AdvSlot:e=>{let{data:t}=e;return(0,a.jsx)(W,{data:t},(0,d.Ak)())},AlbumMosaic:e=>{let{data:t}=e;return(0,a.jsx)(lw,{data:t},(0,d.Ak)())},BrightcoveVideo:e=>{let{data:t}=e;return(0,a.jsx)(lH,{data:t},(0,d.Ak)())},CarouselRelatedItemsFullImgLandscapeCards:lR,CarouselRelatedItemsFullImgPortraitCards:lR,CarouselRelatedItemsFullImgSquaredCards:lR,CarouselRelatedItemsRegularLandscapeCards:lR,CarouselRelatedItemsRegularPortraitCards:lR,CarouselRelatedItemsRegularSquaredCards:lR,Tickaroo:e=>{let{data:t}=e;return(0,a.jsx)(rT,{data:t},(0,d.Ak)())},Cta:e=>{let{data:t}=e;return(0,a.jsx)(X,{data:t},(0,d.Ak)())},DocumentList:e=>{let{data:t}=e;return(0,a.jsx)($,{data:t},(0,d.Ak)())},EditorialCarouselFullImgLandscapeCards:er,EditorialCarouselFullImgPortraitCards:er,EditorialCarouselFullImgSquaredCards:er,EditorialCarouselRegularLandscapeCards:er,EditorialCarouselRegularPortraitCards:er,EditorialCarouselRegularSquaredCards:er,EditorialLinksCarousel:e=>{let{data:t}=e;return(0,a.jsx)(ed,{data:t},(0,d.Ak)())},EditorialGridFullImgLandscapeCards:en,EditorialGridFullImgPortraitCards:en,EditorialGridFullImgSquaredCards:en,EditorialGridRegularLandscapeCards:en,EditorialGridRegularPortraitCards:en,EditorialGridRegularSquaredCards:en,EventCountdown:e=>{let{data:t}=e;return(0,a.jsx)(ex,{data:t},(0,d.Ak)())},FeaturedCarouselFullImgLandscapeCards:ej,FeaturedCarouselFullImgPortraitCards:ej,FeaturedCarouselFullImgSquaredCards:ej,FeaturedCarouselRegularLandscapeCards:ej,FeaturedCarouselRegularPortraitCards:ej,FeaturedCarouselRegularSquaredCards:ej,FeaturedGridFullImgLandscapeCards:eS,FeaturedGridFullImgPortraitCards:eS,FeaturedGridFullImgSquaredCards:eS,FeaturedGridRegularLandscapeCards:eS,FeaturedGridRegularPortraitCards:eS,FeaturedGridRegularSquaredCards:eS,FeaturedMasonryFullImgLandscapeCards:ek,FeaturedMasonryFullImgPortraitCards:ek,FeaturedMasonryFullImgSquaredCards:ek,FeaturedShopCarouselPortraitCards:e=>{let{data:t}=e;return(0,a.jsx)(eI,{data:t},(0,d.Ak)())},GraphicAsset:e=>{let{data:t}=e;return(0,a.jsx)(eF,{data:t},(0,d.Ak)())},HeroDynamicThumbsLandscapeSmall:e=>{let{data:t}=e;return(0,a.jsx)(lN,{data:t},(0,d.Ak)())},HeroDynamicThumbsPortraitSmall:e=>{let{data:t}=e;return(0,a.jsx)(lS,{data:t},(0,d.Ak)())},HeroStaticCardsLandscapeBig:e=>{let{data:t}=e;return(0,a.jsx)(lP,{data:t},(0,d.Ak)())},HeroStaticCarouselCardsPortrait:e=>{let{data:t}=e;return(0,a.jsx)(lL,{data:t},(0,d.Ak)())},HeroWithCards:e=>{let{data:t}=e;return(0,a.jsx)(lC,{data:t},(0,d.Ak)())},HtmlContent:e=>{let{data:t}=e;return(0,a.jsx)(e_,{data:t},(0,d.Ak)())},Image:e=>{let{data:t}=e;return(0,a.jsx)(eM,{data:t},(0,d.Ak)())},ImageAsset:e=>{let{data:t}=e;return(0,a.jsx)(eO,{data:t},(0,d.Ak)())},ImageHeader:e=>{let{data:t}=e;return t?(0,a.jsx)(eW,{data:t},(0,d.Ak)()):null},JWPlayerVideo:e=>{let{data:t}=e;return(0,a.jsx)(lQ,{data:t},(0,d.Ak)())},LiveBlogging:l4,LiveBloggingGridList:e=>{let{data:t}=e;return(0,a.jsx)(l9,{data:t},(0,d.Ak)())},LiveBloggingMatchCenter:l4,Masthead:e=>{let{data:t}=e;return(0,a.jsx)(eG,{data:t},(0,d.Ak)())},Menu:e=>{let{data:t}=e;return(0,a.jsx)(eK,{data:t},(0,d.Ak)())},MenuHeader:e=>{let{data:t}=e;return(0,a.jsx)(eJ,{data:t},(0,d.Ak)())},PartnerList:e=>{let{data:t}=e;return(0,a.jsx)(eY,{data:t},(0,d.Ak)())},PlayersSelectionCarousel:e=>{let{data:t}=e;return(0,a.jsx)(e3,{data:t},(0,d.Ak)())},Promo:e6,PromoEditorialCarouselFullImgLandscapeCards:te,PromoEditorialCarouselFullImgPortraitCards:te,PromoEditorialCarouselFullImgSquaredCards:te,PromoEditorialCarouselRegularLandscapeCards:te,PromoEditorialCarouselRegularPortraitCards:te,PromoEditorialCarouselRegularSquaredCards:te,PromoModal:e6,PromoModalImage:e6,SDPAllPlayersWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tl,{data:t},(0,d.Ak)()):null},SDPLeagueLeadersPlayerWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tr,{data:t},(0,d.Ak)()):null},SDPLeagueLeadersTeamWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(ti,{data:t},(0,d.Ak)()):null},SDPMatchH2HWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(ts,{data:t},(0,d.Ak)()):null},SDPMatchHeaderWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tc,{data:t},(0,d.Ak)()):null},SDPMatchInfoWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tm,{data:t},(0,d.Ak)()):null},SDPMatchLineupWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tg,{data:t},(0,d.Ak)()):null},SDPMatchListAllMatchesWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tv,{data:t},(0,d.Ak)()):null},SDPMatchListByDateWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(ty,{data:t},(0,d.Ak)()):null},SDPMatchListByMatchdayWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tb,{data:t},(0,d.Ak)()):null},SDPMatchListHorizontalWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tj,{data:t},(0,d.Ak)()):null},SDPMatchPBPWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tT,{data:t},(0,d.Ak)()):null},SDPMatchStatsBasicWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tA,{data:t},(0,d.Ak)()):null},SDPMatchSummaryWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tk,{data:t},(0,d.Ak)()):null},SDPPlayerGameLogWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tI,{data:t},(0,d.Ak)()):null},SDPPlayerProfileStatisticsWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tF,{data:t},(0,d.Ak)()):null},SDPPlayerProfileWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tE,{data:t},(0,d.Ak)()):null},SDPPlayerStatisticsAllWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tR,{data:t},(0,d.Ak)()):null},SDPPlayerStatisticsCompareWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tD,{data:t},(0,d.Ak)()):null},SDPStandingWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tz,{data:t},(0,d.Ak)()):null},SDPTeamProfileStatisticsWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tH,{data:t},(0,d.Ak)()):null},SDPTeamProfileWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tQ,{data:t},(0,d.Ak)()):null},SDPTeamRosterWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tV,{data:t},(0,d.Ak)()):null},SDPTeamStatisticsAllWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tq,{data:t},(0,d.Ak)()):null},SDPTeamStatisticsCompareWidget:e=>{let{data:t}=e;return t?(0,a.jsx)(tX,{data:t},(0,d.Ak)()):null},SearchResults:e=>{let{data:t}=e;return(0,a.jsx)(l2,{data:t},(0,d.Ak)())},SectionTitle:e=>{let{data:t}=e;return(0,a.jsx)(t$,{data:t},(0,d.Ak)())},StandingModule:e=>{let{data:t}=e;return(0,a.jsx)(t2,{data:t},(0,d.Ak)())},StaticText:e=>{let{data:t}=e;return(0,a.jsx)(le,{data:t},(0,d.Ak)())},Story:e=>{let{data:t}=e;return(0,a.jsx)(lD,{data:t},(0,d.Ak)())},StoryHeroThumb:e=>{let{data:t}=e;return(0,a.jsx)(lz,{data:t},(0,d.Ak)())},TeamBio:e=>{let{data:t}=e;return(0,a.jsx)(lr,{data:t},(0,d.Ak)())},Teamkit:e=>{let{data:t}=e;return(0,a.jsx)(lg,{data:t},(0,d.Ak)())},TeamsStrip:e=>{let{data:t}=e;return(0,a.jsx)(lf,{data:t},(0,d.Ak)())},Text:e=>{let{data:t}=e;return(0,a.jsx)(lx,{data:t},(0,d.Ak)())},YouTubeVideo:e=>{let{data:t}=e;return(0,a.jsx)(lV,{data:t},(0,d.Ak)())},HeroStaticVideo:e=>{let{data:t}=e;return(0,a.jsx)(lB,{data:t},(0,d.Ak)())},DynamicClubList:e=>{let{data:t}=e;return(0,a.jsx)(ee,{data:t},(0,d.Ak)())},StaticClubList:e=>{let{data:t}=e;return(0,a.jsx)(t6,{data:t},(0,d.Ak)())},StaticCardClubList:e=>{let{data:t}=e;return(0,a.jsx)(t8,{data:t},(0,d.Ak)())},BigNumbers:e=>{let{data:t}=e;return(0,a.jsx)(G,{data:t},(0,d.Ak)())},BigNumbersPlayerStats:e=>{let{data:t}=e;return(0,a.jsx)(K,{data:t},(0,d.Ak)())},StorytellerStories:e=>{var t,l;let{data:r}=e;return(0,a.jsx)(ll,{data:r},"".concat(null==(t=r.itemKey)?void 0:t.namespace,":").concat(null==(l=r.itemKey)?void 0:l.id))},StorytellerClips:e=>{var t,l;let{data:r}=e;return(0,a.jsx)(lt,{data:r},"".concat(null==(t=r.itemKey)?void 0:t.namespace,":").concat(null==(l=r.itemKey)?void 0:l.id))},PlayerBio:e=>{let{data:t}=e;return(0,a.jsx)(e$,{data:t},(0,d.Ak)())},PlayerHeader:e=>{let{data:t}=e;return(0,a.jsx)(e0,{data:t},(0,d.Ak)())},TeamHeader:e=>{let{data:t}=e;return(0,a.jsx)(lm,{data:t},(0,d.Ak)())},ButtonMenu:e=>{let{data:t}=e;return(0,a.jsx)(q,{data:t},(0,d.Ak)())},PlayerList:e=>{let{data:t}=e;return(0,a.jsx)(e5,{data:t},(0,d.Ak)())},TeamRoster:e=>{let{data:t}=e;return(0,a.jsx)(lp,{data:t},(0,d.Ak)())},MatchListAllMatches:e=>{let{data:t}=e;return(0,a.jsx)(ae,{data:t},(0,d.Ak)())},MatchTicker:e=>{let{data:t}=e;return(0,a.jsx)(at,{data:t},(0,d.Ak)())},TallyFormEmbed:e=>{let{data:t}=e;return(0,a.jsx)(ar,{data:t},(0,d.Ak)())},Monterosa:e=>{let{data:t}=e;return(0,a.jsx)(ai,{data:t},(0,d.Ak)())},MatchListByDate:e=>{let{data:t}=e;return(0,a.jsx)(as,{data:t},(0,d.Ak)())},MatchDocuments:e=>{let{data:t}=e;return(0,a.jsx)(ac,{data:t},(0,d.Ak)())},YourFavourites:e=>{let{data:t}=e;return(0,a.jsx)(rf,{data:t},(0,d.Ak)())},FantasyGame:e=>{let{data:t}=e;return(0,a.jsx)(rb,{data:t},(0,d.Ak)())},StadiumAirbnb:e=>{let{data:t}=e;return(0,a.jsx)(rj,{data:t},(0,d.Ak)())}},rA=(0,s.default)(()=>l.e(9410).then(l.bind(l,19410)),{loadableGenerated:{webpack:()=>[19410]}}),rP=e=>{let{data:t}=e;return(0,a.jsx)(rA,{data:t})},rk=(0,s.default)(()=>l.e(6422).then(l.bind(l,56422)),{loadableGenerated:{webpack:()=>[56422]}}),rC=e=>{let{data:t}=e;return(0,a.jsx)(rk,{data:t})},rI={"No Template":e=>{let{data:t}=e;return(0,a.jsx)(rC,{data:t})},Default:e=>{let{data:t}=e;return t?(0,a.jsx)(rP,{data:t}):null}},rL=(e,t,l,a)=>e?e.type===r.ay.template?((e,t,l,a)=>{let r=rI[e.key.id];return r?r({data:{...e,variables:t,metadata:l,previewToken:a}}):(i.A.log("Cannot render template ".concat(e.key.id),o.T.warning),null)})(e,t,l,a):e.type===r.ay.layout?((e,t,l,a)=>{"FootballMatchCenter"===e.key.id&&((0,n.CW)(e.properties,"seasonId",t,"seasonId"),(0,n.CW)(e.properties,"matchI
1d",t,"matchId"));let r=k[e.key.id];return r?r({data:{...e,variables:t,metadata:l,previewToken:a}}):(i.A.log("Cannot render layout ".concat(e.key.id),o.T.warning),null)})(e,t,l,a):e.type===r.ay.module?((e,t,l,a)=>{let r=rS[e.key.id];return(Object.hasOwn(rp,e.key.id)&&((0,n.CW)(e.properties,"seasonId",t,"seasonId"),(0,n.CW)(e.properties,"matchId",t,"matchId"),(0,n.CW)(e.properties,"teamId",t,"teamId"),(0,n.CW)(e.properties,"relevantTeamIds",t,"teamId"),(0,n.CW)(e.properties,"matchUrlPattern",t,"matchUrlPattern"),(0,n.CW)(e.properties,"broadcasterListSelectionSlug",t,"broadcasterListSelectionSlug")),r)?r({data:{...e,variables:t,metadata:l,previewToken:a,itemKey:e.key}}):(i.A.log("Cannot render module ".concat(e.key.id),o.T.warning),null)})(e,t,l,a):rE():rE(),rF=(e,t,l,a,r)=>{if(void 0===e||!e.length)return null;let o=e.filter(e=>e.slot===t);return o.length?o.map(e=>rL(e,l,a,r)):null},rB=(e,t)=>void 0!==e&&!!e.length&&!!e.filter(e=>e.slot===t).length,rE=function(){return(0,a.jsx)("div",{})}},3581:(e,t,l)=>{"use strict";l.d(t,{default:()=>r});var a=l(12115);let r=e=>{let{headerId:t="header"}=e;return(0,a.useEffect)(()=>{if(!document.querySelector(".sticky-section"))return;let e=document.getElementById(t);if(e)return e.classList.remove("sticky"),e.classList.add("relative"),()=>{e.classList.remove("relative"),e.classList.add("sticky")}},[t]),null}},3896:(e,t,l)=>{"use strict";l.d(t,{default:()=>g});var a=l(95155),r=l(12115),o=l(53323),i=l(30926);let n=(0,i.createServerReference)("780c629e0ada08d7b3869802f9c03c1b2f24c49d3d",i.callServer,void 0,i.findSourceMapURL,"getSdpFootballMatchStatusAction");var s=l(52259),d=l(65897),c=l(56396);let u={light:{background:"bg-grey-on-light-50",text:"text-black",border:"border border-primary-on-light"},dark:{background:"bg-grey-on-dark-50",text:"text-white",border:"border border-primary-on-dark"}};var m=l(75889),h=l(83617);let g=e=>{let{matchId:t,seasonId:l,initialStatus:i,colorSchemaKey:g=c.fs.light}=e,[p,v]=(0,r.useState)(i),f=u[g],y=async()=>{if(t&&l)try{let{data:e,error:a}=await n(l,t,window.location.pathname,p);if(a)return void s.A.log("FootballMatchCenterBanner: error loading status",d.T.warning);v(e)}catch(e){s.A.log("Error FootballMatchCenterBanner fetch status:",d.T.error)}};return((0,r.useEffect)(()=>{y();let e=setInterval(()=>{y()},6e4);return()=>clearInterval(e)},[t,l]),p&&i&&p!==i)?(0,a.jsxs)("div",{className:(0,m.QP)("fixed top-4 left-1/2 z-60 flex -translate-x-1/2 flex-col items-center gap-1 rounded-lg p-4 shadow-xl lg:flex-row lg:gap-2",f.background,f.text,f.border),children:[(0,a.jsx)(h.Ay,{variant:h.PT["subtitle-6"],children:"The match has changed status. Update the page to view the current status"}),(0,a.jsx)(o.A,{onClick:()=>{let e=new URL(window.location.href);e.searchParams.set("status",null!=p?p:""),window.location.assign(e.toString())},variant:"link",size:"large",text:"Update now",colorSchemaKey:g,icon:"RotateClockwise"})]}):null}},4230:(e,t,l)=>{"use strict";l.d(t,{K:()=>s});var a=l(95155),r=l(75889),o=l(56396),i=l(60283),n=l(83617);let s=e=>{var t,l;let{player:s}=e;if(!s)return null;let d=(null==(l=s.team)||null==(t=l.theming)?void 0:t.toLowerCase())||o.fs.light,c={competitionLogo:(0,r.QP)("w-[21px] h-[123px] lg:h-[235px] lg:w-[42px]",d===o.fs.dark?"text-white":"text-black")};return(0,a.jsx)(i.A,{player:s,nameVariant:n.PT.h4,colorSchemaOverrides:c,shirtNumberVariant:n.PT["uber-2"],shirtNumberWrapperClassName:"-ml-[12px] lg:-ml-[16px]",className:"h-[252px] w-full max-w-[250px] md:h-[515px] md:max-w-[344px]",clubImgClassName:"h-4 w-4 lg:h-8 lg:w-8",nationImgClassName:"h-3.5 w-3.5 lg:h-6 lg:w-6"})}},4842:(e,t,l)=>{Promise.resolve().then(l.bind(l,17780)),Promise.resolve().then(l.t.bind(l,52619,23)),Promise.resolve().then(l.t.bind(l,81356,23)),Promise.resolve().then(l.t.bind(l,41402,23)),Promise.resolve().then(l.bind(l,24437)),Promise.resolve().then(l.bind(l,36552)),Promise.resolve().then(l.bind(l,14873)),Promise.resolve().then(l.bind(l,25302)),Promise.resolve().then(l.bind(l,55923)),Promise.resolve().then(l.bind(l,81884)),Promise.resolve().then(l.bind(l,93377)),Promise.resolve().then(l.bind(l,60990)),Promise.resolve().then(l.bind(l,2269)),Promise.resolve().then(l.bind(l,33915)),Promise.resolve().then(l.t.bind(l,9216,23)),Promise.resolve().then(l.bind(l,42801)),Promise.resolve().then(l.bind(l,55043)),Promise.resolve().then(l.bind(l,69739)),Promise.resolve().then(l.bind(l,36247)),Promise.resolve().then(l.t.bind(l,69357,23)),Promise.resolve().then(l.t.bind(l,34089,23)),Promise.resolve().then(l.t.bind(l,88969,23)),Promise.resolve().then(l.t.bind(l,94517,23)),Promise.resolve().then(l.t.bind(l,20473,23)),Promise.resolve().then(l.t.bind(l,49327,23)),Promise.resolve().then(l.t.bind(l,83185,23)),Promise.resolve().then(l.t.bind(l,8499,23)),Promise.resolve().then(l.t.bind(l,54553,23)),Promise.resolve().then(l.t.bind(l,60115,23)),Promise.resolve().then(l.t.bind(l,23567,23)),Promise.resolve().then(l.t.bind(l,72645,23)),Promise.resolve().then(l.t.bind(l,62401,23)),Promise.resolve().then(l.t.bind(l,60037,23)),Promise.resolve().then(l.t.bind(l,45955,23)),Promise.resolve().then(l.t.bind(l,30883,23)),Promise.resolve().then(l.t.bind(l,48265,23)),Promise.resolve().then(l.t.bind(l,56047,23)),Promise.resolve().then(l.t.bind(l,73563,23)),Promise.resolve().then(l.t.bind(l,86997,23)),Promise.resolve().then(l.t.bind(l,83915,23)),Promise.resolve().then(l.t.bind(l,53357,23)),Promise.resolve().then(l.t.bind(l,23545,23)),Promise.resolve().then(l.t.bind(l,99463,23)),Promise.resolve().then(l.t.bind(l,69875,23)),Promise.resolve().then(l.t.bind(l,70712,23)),Promise.resolve().then(l.t.bind(l,45553,23)),Promise.resolve().then(l.bind(l,84525)),Promise.resolve().then(l.bind(l,62557)),Promise.resolve().then(l.bind(l,81287)),Promise.resolve().then(l.bind(l,91193)),Promise.resolve().then(l.bind(l,74071)),Promise.resolve().then(l.bind(l,72670)),Promise.resolve().then(l.bind(l,50315)),Promise.resolve().then(l.bind(l,48467)),Promise.resolve().then(l.bind(l,3581)),Promise.resolve().then(l.bind(l,81156)),Promise.resolve().then(l.bind(l,63408)),Promise.resolve().then(l.bind(l,95147)),Promise.resolve().then(l.bind(l,40282)),Promise.resolve().then(l.bind(l,49211)),Promise.resolve().then(l.bind(l,6465)),Promise.resolve().then(l.bind(l,14889)),Promise.resolve().then(l.bind(l,85600)),Promise.resolve().then(l.bind(l,7641)),Promise.resolve().then(l.bind(l,85625)),Promise.resolve().then(l.bind(l,63033)),Promise.resolve().then(l.bind(l,60597)),Promise.resolve().then(l.bind(l,73015)),Promise.resolve().then(l.bind(l,19433)),Promise.resolve().then(l.bind(l,21905)),Promise.resolve().then(l.bind(l,64519)),Promise.resolve().then(l.bind(l,80652)),Promise.resolve().then(l.bind(l,6103)),Promise.resolve().then(l.bind(l,25241)),Promise.resolve().then(l.bind(l,94439)),Promise.resolve().then(l.bind(l,19550)),Promise.resolve().then(l.bind(l,18208)),Promise.resolve().then(l.bind(l,67838)),Promise.resolve().then(l.bind(l,16749)),Promise.resolve().then(l.bind(l,34574)),Promise.resolve().then(l.bind(l,37081)),Promise.resolve().then(l.bind(l,28328)),Promise.resolve().then(l.bind(l,12659)),Promise.resolve().then(l.bind(l,94825)),Promise.resolve().then(l.bind(l,54559)),Promise.resolve().then(l.bind(l,5707)),Promise.resolve().then(l.bind(l,53399)),Promise.resolve().then(l.bind(l,61165)),Promise.resolve().then(l.bind(l,70195)),Promise.resolve().then(l.bind(l,97576)),Promise.resolve().then(l.bind(l,50581)),Promise.resolve().then(l.bind(l,61546)),Promise.resolve().then(l.bind(l,49952)),Promise.resolve().then(l.bind(l,55887)),Promise.resolve().then(l.bind(l,91512)),Promise.resolve().then(l.bind(l,24656)),Promise.resolve().then(l.bind(l,99666)),Promise.resolve().then(l.bind(l,15702)),Promise.resolve().then(l.bind(l,42696)),Promise.resolve().then(l.bind(l,5606)),Promise.resolve().then(l.bind(l,11213)),Promise.resolve().then(l.bind(l,22331)),Promise.resolve().then(l.bind(l,44869)),Promise.resolve().then(l.bind(l,56081)),Promise.resolve().then(l.bind(l,63109)),Promise.resolve().then(l.bind(l,81248)),Promise.resolve().then(l.bind(l,3896)),Promise.resolve().then(l.bind(l,69919)),Promise.resolve().then(l.bind(l,75144)),Promise.resolve().then(l.bind(l,89652)),Promise.resolve().then(l.bind(l,31380)),Promise.resolve().then(l.bind(l,40276)),Promise.resolve().then(l.bind(l,25428)),Promise.resolve().then(l.bind(l,46660)),Promise.resolve().then(l.bind(l,42240)),Promise.resolve().then(l.bind(l,69736)),Promise.resolve().then(l.bind(l,46830)),Promise.resolve().then(l.bind(l,22600)),Promise.resolve().then(l.bind(l,19452)),Promise.resolve().then(l.t.bind(l,37724,23)),Promise.resolve().then(l.t.bind(l,93872,23)),Promise.resolve().then(l.t.bind(l,50940,23)),Promise.resolve().then(l.t.bind(l,45868,23)),Promise.resolve().then(l.bind(l,76468)),Promise.resolve().then(l.bind(l,39204)),Promise.resolve().then(l.bind(l,62276)),Promise.resolve().then(l.bind(l,79058)),Promise.resolve().then(l.bind(l,17160)),Promise.resolve().then(l.bind(l,62358)),Promise.resolve().then(l.bind(l,31164)),Promise.resolve().then(l.t.bind(l,64976,23)),Promise.resolve().then(l.t.bind(l,68704,23)),Promise.resolve().then(l.bind(l,22640)),Promise.resolve().then(l.bind(l,74276))},5606:(e,t,l)=>{"use strict";
1l.d(t,{YourFavouritesProvider:()=>s,z:()=>n});var a=l(95155),r=l(30927),o=l(12115);let i=(0,o.createContext)(void 0),n=()=>{let e=(0,o.useContext)(i);if(!e)throw Error("useYourFavourites must be used within a YourFavouritesProvider");return e},s=e=>{let{children:t,currentTab:l,hideStoryteller:n,storytellerLayout:s,isFullWidth:d,isAnimated:c,competitionLogos:u,playerShopLinks:m,teamStatsMap:h}=e,[g,p]=(0,o.useState)(l),[v,f]=(0,o.useState)(),[y,x]=(0,o.useState)(),b=e=>{p(e)},w=(0,o.useCallback)(e=>{f(e),e.theme?x(r.y[e.theme].yourFavourites):x(void 0)},[g]),j=(0,o.useMemo)(()=>({currentTab:g,activeClubTheme:v,activeFavouriteColorSchema:y,onActiveTabChange:b,hideStoryteller:n,storytellerLayout:s,isFullWidth:d,isAnimated:c,colorSchemaKey:null==v?void 0:v.theme,competitionLogos:u,playerShopLinks:m,teamStatsMap:h,updateActiveFavouriteTheme:w}),[g,v,y,b,n,s,d,c,u,m,h,w]);return(0,a.jsx)(i.Provider,{value:j,children:t})}},5707:(e,t,l)=>{"use strict";l.d(t,{StandingModuleWithPolling:()=>W});var a,r=l(95155),o=l(12115),i=l(41819),n=l(49374),s=l(86737);let d=(0,o.createContext)(void 0),c=e=>{let{children:t,seasonIds:l,enableLivePolling:a=!0,liveMatches:c=[]}=e,{FLAG_LIVE_POLLING_ENABLED:u}=(0,s.h)(),[m,h]=(0,o.useState)(new Map),g=(0,o.useMemo)(()=>!!a&&!!u&&(e=>!!(null==e?void 0:e.length)&&e.some(e=>["LIVE"].includes(e.status)))(c),[a,u,c]),p=(0,o.useMemo)(()=>l.split(",").filter(Boolean),[l]),v=(0,o.useCallback)(async()=>{if(0===p.length)return null;if(1===p.length)return await (0,n.n)(p[0]);let e=p.map(e=>(0,n.n)(e)),t=await Promise.allSettled(e),l=[];return t.forEach(e=>{var t;"fulfilled"===e.status&&(null==(t=e.value)?void 0:t.standings)&&l.push(...e.value.standings)}),l.length>0?{standings:l}:null},[p]),f=(0,o.useCallback)(e=>{(null==e?void 0:e.standings)&&h(new Map(e.standings.map(e=>{var t;return[(null==(t=e.competition)?void 0:t.competitionId)||"",e]})))},[]);(0,i.n)(v,f,{enabled:g,interval:3e4,featureFlagEnabled:u});let y=(0,o.useMemo)(()=>({polledStandings:m,isPollingEnabled:g}),[m,g]);return(0,r.jsx)(d.Provider,{value:y,children:t})};var u=l(73881),m=l(95277),h=l(55644),g=l(83617),p=l(56396),v=l(75889),f=l(67231),y=l(30927);let x=e=>{let{options:t,value:l=(null==(a=t[0])?void 0:a.value)||"",placeholder:o,colorSchemaKey:i=p.fs.light,setSelectedOption:n}=e,s=y.y[i].select;if(t&&0!==t.length)return(0,r.jsxs)(h.bL,{value:l,onValueChange:e=>{n&&n(e)},children:[(0,r.jsx)(h.l9,{"aria-label":"Select",className:"relative z-10 cursor-pointer",children:(0,r.jsxs)(g.Ay,{variant:g.PT["navigation-1"],className:(0,v.QP)("h-10 rounded-4xl px-4 py-1 md:px-6 md:py-2","flex items-center gap-2",s.border,s.triggerBackground),children:[(0,r.jsx)(h.WT,{placeholder:o}),(0,r.jsx)(h.In,{children:(0,f.a)("ChevronDown",{className:"h-3 w-3"})})]})}),(0,r.jsx)(h.ZL,{children:(0,r.jsxs)(h.UC,{className:(0,v.QP)("absolute z-20 w-full","flex flex-col gap-3 rounded-2xl p-2 md:rounded-4xl md:p-4",s.triggerBackground,s.border),children:[(0,r.jsx)(h.PP,{className:"flex -translate-y-1/2 cursor-default items-center justify-center",children:(0,f.a)("ChevronDown",{className:"h-3 w-3 rotate-180"})}),(0,r.jsx)(h.LM,{className:"flex flex-col gap-2",children:null==t?void 0:t.map((e,t)=>(0,r.jsx)(h.q7,{value:e.value,className:(0,v.QP)("cursor-pointer rounded-2xl p-2 outline-0",s.itemBackgroun
1d),children:(0,r.jsx)(h.p4,{className:"font-normal",children:(0,r.jsx)(g.Ay,{className:"font-normal",variant:g.PT["body-5"],children:e.label})})},e.value+t))}),(0,r.jsx)(h.wn,{className:"flex translate-y-1/2 cursor-default items-center justify-center",children:(0,f.a)("ChevronDown",{className:"h-3 w-3"})})]})})]})};var b=l(84380);let w=e=>{let{standings:t,enableHomeAwayFilters:l,seasonIdJsonArray:a,selectedType:o,selectedSeasonId:i,setSelectedType:n,setSelectedSeasonId:s}=e,d=(0,b.A)(),c=[],m=[];return l&&(null==t||t.forEach(e=>{c.push({value:e.type,label:d("sport-"+e.type)})})),a&&a.length>0&&(m=a.map(e=>({value:e.id,label:e.season}))),(0,r.jsxs)("div",{className:"mb-4 flex flex-row items-center justify-center gap-4 md:flex-row",children:[(0,r.jsx)(u.w,{condition:!!l,children:(0,r.jsx)(x,{options:c,value:o,setSelectedOption:n})}),(0,r.jsx)(u.w,{condition:!!a&&a.length>1,children:(0,r.jsx)(x,{options:m,value:i,setSelectedOption:s})})]})};var j=l(7641),N=l(37575);let T=e=>{var t;let{assetUrl:l}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(j.default,{fill:!0,className:"relative!",pictureClassName:"w-full relative",alt:"",src:null!=(t=null==l?void 0:l.assetUrl)?t:"",transformations:N.N.default_assets})})};var S=l(47520),A=l(19433),P=l(58944),k=l(78105);let C=e=>{let{colorSchemaKey:t=p.fs.light,children:l,tooltipText:a,align:i="center"}=e,[n,s]=(0,o.useState)(!1);if(!a)return(0,r.jsx)(r.Fragment,{children:l});let d=y.y[t].tooltip;return(0,r.jsxs)(S.bL,{open:n,onOpenChange:s,children:[(0,r.jsx)(S.l9,{asChild:!0,children:l}),(0,r.jsx)(S.ZL,{forceMount:!0,children:n&&(0,r.jsx)(P.N,{children:(0,r.jsx)(k.P.div,{exit:{opacity:0},initial:{opacity:0}
1,animate:{opacity:1},children:(0,r.jsxs)(S.UC,{className:(0,v.QP)(d.content,"relative z-10 max-w-[192px] rounded-lg p-4 text-center leading-none md:max-w-[317px] md:p-6","data-[state=open]:animate-slide-up"),sideOffset:5,alignOffset:-25,align:i,children:[(0,r.jsx)(g.Ay,{variant:g.PT["body-6"],children:a}),(0,r.jsx)(S.i3,{width:22,height:12,className:(0,v.QP)(d.arrow)})]})})})})]})};var I=l(74766),L=l(13285);l(58002);var F=function(e){return e.points="points",e.team="team",e.form="form",e.movement="movement",e.rank="rank",e}({});let B=(e,t)=>{var l,a;let{team:r,movement:o}=F;if(t===r)return{officialName:null==e?void 0:e.officialName,acronymNameLocalized:(null==e?void 0:e.acronymNameLocalized)||(null==e?void 0:e.officialName)};if(t===o){let l=null==(a=e.stats)?void 0:a.find(e=>e.statsId===t);return l?l.statsValue:null}let i=null==(l=e.stats)?void 0:l.find(e=>e.statsId===t);return i?i.statsValue:null},E=e=>e?"sticky left-[63px] z-10 after:absolute after:top-0 after:right-0 after:h-full after:w-2 after:bg-gradient-to-r after:from-black/10 after:to-transparent":"",_="sticky left-0 z-10 flex h-11 w-0.75 p-0 md:static md:h-14";var R=l(26556);let M=e=>{let{colorSchemaKey:t=p.fs.light,type:l,isAnimated:a=!1,data:i,columnList:n,enableSortableColumns:s=!1,enableTeamCodeVisualization:d=!1,enableTeamCodeVisualizationOnMobile:c=!1,enableMovementInsideRanking:m=!1,limit:h,entityTeam:x,qualificationOptionsMap:w}=e,j=(0,b.A)(),N=y.y[t].standingTable,[T,M]=(0,o.useState)(null),D=(0,I.I)(),[U,z]=(0,o.useState)(!1),O=(0,o.useRef)(null),H=(null==x?void 0:x.teamId)||null,W=(null==x?void 0:x.primaryColor)||"red",Q=JSON.stringify(i.teams.map(e=>e.teamId+e.stats)),G=((e,t)=>{let l=e.split(",").map(e=>e.trim());return"table"!==t&&(l=l.filter(e=>"movement"!==e&&"form"!==e)),l.includes("team")||l.splice(1,0,"team"),l})(n,l),V=((e,t,l,a)=>{let r="number"==typeof t&&t>0?e.slice(0,t):e;if(l&&a){let l=e.find(e=>e.teamId===a);l&&("number"!=typeof t||!(t>0)||r.some(e=>e.teamId===a)||(r=[...r,l]))}return r})(T?((e,t,l,a)=>{let r=[...e],o=(a&&a>0?r.slice(0,a):r).toSorted((e,a)=>{let r=B(e,t),o=B(a,t);if("form"===t){let e=Array.isArray(r)?r:[],t=Array.isArray(o)?o:[],a=e.filter(e=>"W"===e.formType).length,i=t.filter(e=>"W"===e.formType).length;return"asc"===l?a-i:i-a}if(null===r||null===o)return 0;if("number"==typeof r&&"number"==typeof o)return"asc"===l?r-o:o-r;if("string"==typeof r&&"string"==typeof o)return"asc"===l?r.localeCompare(o):o.localeCompare(r);if("team"===t){let e=null==r?void 0:r.officialName,t=null==o?void 0:o.officialName;return"asc"===l?e.localeCompare(t):t.localeCompare(e)}return 0});return a&&a>0?[...o,...r.slice(a)]:o})(i.teams,T.key,T.direction,h):i.teams,h,null!=x?x:null,H),{form:K,movement:q,rank:J,points:X,team:Y}=F;(0,o.useEffect)(()=>{let e=()=>{O.current&&z(O.current.scrollLeft>0)},t=O.current;if(t)return t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)},[]);let $=a?k.P.tbody:"tbody",Z=a?k.P.td:"td";return(0,r.jsx)(S.Kq,{delayDuration:0,children:(0,r.jsx)("div",{className:"overflow-x-auto overscroll-x-none",ref:O,children:(0,r.jsx)(P.N,{children:(0,r.jsxs)(k.P.table,{className:(0,v.QP)("min-w-full table-auto border-collapse"),initial:!!a&&{opacity:0},animate:!!a&&{opacity:1},transition:{duration:.3},children:[(0,r.jsx)("thead",{...a&&{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3}},className:N.thead,children:(0,r.jsxs)("tr",{className:"overflow-hidden",children:[(0,r.jsx)("th",{className:(0,v.QP)(N.thead,_)}),G.map((e,t)=>(0,r.jsx)("th",{className:((e,t,l,a)=>{let{movement:r,rank:o,team:i}=F;return(0,v.QP)("px-4 py-3.5 uppercase md:static",a.thead,e===o||e===i?"text-left":"text-center",e!==i&&e!==r&&t?"cursor-pointer":"",e===o&&"sticky left-0.75 z-10 w-[62px] min-w-[62px]",e===i&&E(l))})(e,s,U,N),onClick:()=>e!==Y&&e!==q&&s&&(e=>{if("team"===e)return;let t="asc";T&&T.key===e&&"asc"===T.direction&&(t="desc"),M({key:e,direction:t})})(e),children:(0,r.jsxs)(g.Ay,{variant:g.PT["subtitle-6"],className:"flex w-full items-center justify-center gap-1",children:[(0,r.jsx)(A.default,{translationTermKey:"sport-"+e}),e===K&&(0,r.jsx)(C,{tooltipText:j("sport-standings-tooltip"),align:"center",children:(0,r.jsx)("div",{className:"h-5 w-5",children:(0,f.a)("InfoCircle")})}
1),(null==T?void 0:T.key)===e&&e!==q&&(0,r.jsx)("span",{className:"ml-1",children:"asc"===T.direction?"↑":"↓"})]})},e+t))]})}),(0,r.jsx)($,{className:N.background,...a&&{initial:"hidden",animate:"visible",variants:{hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}}},children:V.map((e,t)=>{let l=(e=>{var t,l;return(null==e||null==(l=e.qualification)||null==(t=l.qualificationLabel)?void 0:t.split(" ").join("-").toLowerCase())||""})(e);return(0,r.jsxs)(k.P.tr,{className:(0,v.QP)(N.border,"border-b last:border-b-0"),initial:a&&{opacity:0,y:10},animate:a&&{opacity:1,y:0},transition:a?{duration:.3,delay:D?0:.1*t}:void 0,children:[(0,r.jsx)("td",{className:(0,v.QP)(_,(null==w?void 0:w[l])?"bg-[var(--qualification-color)]":N.qualificationLabelsBackground),style:w?(0,R.nj)(w[l]):void 0}),G.map((l,o)=>{let i=B(e,q),n=B(e,l);return(0,r.jsxs)(Z,{style:W?{borderColor:W}:void 0,className:((e,t,l,a,r)=>{let{rank:o,team:i,points:n}=F,{background:s,backgroundActive:d,pointsBackground:c}=a;return(0,v.QP)("h-11 px-4 text-center md:h-14","md:static",(null==l?void 0:l.teamId)===t?d:s,e===o&&"sticky left-0.75 z-10 pr-0 w-[62px] min-w-[62px]",e===i&&(0,v.QP)("pr-6",E(r)),e===n&&c)})(l,H,e,N,U),...a&&{variants:{hidden:{opacity:0,y:10},visible:{opacity:1,y:0,transition:{duration:.3,delay:D?0:.1*t+.02*o}}}},children:[(0,r.jsx)(u.w,{condition:l===Y,children:(0,r.jsx)(L.A,{team:e,enableTeamCodeVisualization:d,enableTeamCodeVisualizationOnMobile:c,colorSchema:{border:N.border},colorSchemaClass:"text-left uppercase",typographyVariant:g.PT.h6,className:"min-w-20 md:min-w-0"})}),(0,r.jsx)(u.w,{condition:l===K,children:(0,r.jsx)("div",{className:"flex items-center justify-center gap-1",children:Array.isArray(n)&&n.map((t,l)=>(0,r.jsx)("div",{className:(0,v.QP)("flex h-6 w-6 items-center justify-center","rounded-full border border-current text-center","W"===t.formType&&"text-green-500","L"===t.formType&&"text-red-500","D"===t.formType&&"text-gray-500"),title:t.formLabelAbbreviation,children:(0,r.jsx)(g.Ay,{variant:g.PT["navigation-3"],children:t.formLabelAbbreviation})},"".concat(e.teamId,"-form-").concat(l)))})}),(0,r.jsx)(u.w,{condition:l===J&&m,children:(0,r.jsxs)("div",{className:"flex w-fit items-center gap-2 tabular-nums",children:[(0,r.jsx)(u.w,{condition:"up"===i,children:(0,f.a)("Up",{className:"w-4 h-4"})}),(0,r.jsx)(u.w,{condition:"down"===i,children:(0,f.a)("Down",{className:"w-4 h-4"})}),(0,r.jsx)(u.w,{condition:"stable"===i,children:(0,f.a)("Stable",{className:"w-4 h-4"})}),(0,r.jsx)(g.Ay,{variant:g.PT["subtitle-3"],children:B(e,"rank")})]})}),(0,r.jsxs)(u.w,{condition:l===q,children:[(0,r.jsx)(u.w,{condition:"up"===n,children:(0,f.a)("Up")}),(0,r.jsx)(u.w,{condition:"down"===n,children:(0,f.a)("Down")}),(0,r.jsx)(u.w,{condition:"stable"===n,children:(0,f.a)("Stable")})]}),(0,r.jsx)(u.w,{condition:l===X,children:(0,r.jsx)(g.Ay,{variant:g.PT["subtitle-5"],children:B(e,"points")})}),(0,r.jsx)(u.w,{condition:l!==Y&&l!==K&&l!==J&&l!==q&&l!==X,children:(0,r.jsx)(r.Fragment,{children:("string"==typeof n||"number"==typeof n)&&(0,r.jsx)(g.Ay,{variant:g.PT["body-5"],className:N.secondaryText,children:B(e,l)})})})]},l+o)})]},e.teamId)})})]},Q)})})})},D=e=>{let{colorSchemaKey:t=p.fs.light,isAnimated:l,columnList:a,enableSortableColumns:o,enableTeamCodeVisualization:i,enableTeamCodeVisualizationOnMobile:n,enableMovementInsideRanking:s,entityTeam:d,limit:c,selectedStanding:u,qualificationOptionsMap:m}=e;return u?(0,r.jsx)(M,{colorSchemaKey:t,type:u.type,isAnimated:l,limit:c,data:u,columnList:a,enableSortableColumns:o,enableTeamCodeVisualization:i,enableTeamCodeVisualizationOnMobile:n,enableMovementInsideRanking:s,entityTeam:d,qualificationOptionsMap:m}):null},U=e=>{let{colorSchemaKey:t=p.fs.light,qualificationOptionsMap:l,teams:a}=e,o=(e=>e?e.filter(e=>{var t;return null==e||null==(t=e.qualification)?void 0:t.qualificationLabel}).map(e=>{var t,l,a;return null==e||null==(a=e.qualification)||null==(l=a.qualificationLabel)||null==(t=l.split(" ").join("-"))?void 0:t.toLowerCase()}).filter((e,t,l)=>l.indexOf(e)===t):[])(a),i=y.y[t].standingTable;return(null==o?void 0:o.length)?(0,r.jsxs)("div",{className:"mt-8 flex flex-col gap-4 px-4 pb-4 md:p-0",children:[(0,r.jsx)(g.Ay,{variant:g.PT["subtitle-3"],children:(0,r.jsx)(A.default,{translationTermKey:"qualification-key"})}),(0,r.jsx)("div",{className:"flex flex-wrap items-center gap-4",children:o.map(e=>(0,r.jsx)("div",{style:l&&(0,R.nj)(l[e]),children:(0,r.jsx)(g.Ay,{variant:g.PT["subtitle-5"],className:(0,v.QP)(i.qualificationLabelsBackgroun
1d,"rounded-sm border-l-4 p-3 whitespace-nowrap","border-[var(--qualification-color)]"),children:(0,r.jsx)(A.default,{translationTermKey:e})})},e))})]}):null},z=e=>{var t;let{competitionBackgroundTagAssetUrl:l}=e;return(0,r.jsx)("div",{className:"absolute top-0 -left-1/4 -z-1 flex h-full items-center",children:(0,r.jsx)(j.default,{fill:!0,className:"h-auto w-full",pictureClassName:"block w-135 h-137.5 relative",alt:"",src:null!=(t=null==l?void 0:l.assetUrl)?t:"",transformations:N.N.best_assets})})};var O=l(98412);let H=e=>{var t,l;let{colorSchemaKey:a,isAnimated:i,enableHomeAwayFilters:n=!1,enableSortableColumns:s=!1,enableTeamCodeVisualization:d=!1,enableTeamCodeVisualizationOnMobile:c=!1,enableMovementInsideRank:h=!1,competitionDesktopTagAssetUrl:g,competitionMobileTagAssetUrl:p,columnList:v,limit:f,entityTeam:y=null,standings:x,seasonIdJsonArray:b=[],competitionBackgroundTagAssetUrl:j,qualificationOptionsString:N}=e,[S,A]=(0,o.useState)("table"),[P,k]=(0,o.useState)(null==(t=b[0])?void 0:t.id),C=null==x||null==(l=x.find(e=>e.id===P))?void 0:l.standings,I=null==C?void 0:C.map(e=>{var t;return{...e,teams:null==e||null==(t=e.teams)?void 0:t.map(e=>{var t,l;return{...e,teamId:null!=(t=null==e?void 0:e.teamId)?t:"",officialName:null!=(l=null==e?void 0:e.officialName)?l:""}})}}),L=null==I?void 0:I.find(e=>e.type===S),F=(e=>(null==e?void 0:e.length)?e.reduce((e,t)=>(t.qualificationColor&&(e[t.qualificationLabel.split(" ").join("-").toLowerCase()]=t.qualificationColor),e),{}):{})((e=>(null==e?void 0:e.length)?e.map(e=>({qualificationLabel:e.qualificationLabel.split(" ").join("-").toLowerCase(),qualificationColor:e.qualificationColor})):[])((0,O.SQ)(N)));return(0,r.jsx)("div",{className:"flex flex-col gap-6",children:(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)(w,{enableHomeAwayFilters:n,standings:I,selectedType:S,setSelectedType:A,selectedSeasonId:P,setSelectedSeasonId:k,seasonIdJsonArray:b}),(0,r.jsxs)("div",{className:"z-1 lg:mx-auto lg:max-w-238",children:[(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(u.w,{condition:!!j,children:(0,r.jsx)(z,{competitionBackgroundTagAssetUrl:j})}),(0,r.jsx)("div",{className:"lg:hidden",children:(0,r.jsx)(u.w,{condition:!!p,children:(0,r.jsx)(T,{assetUrl:p})})}),(0,r.jsx)("div",{className:"hidden lg:block",children:(0,r.jsx)(u.w,{condition:!!g,children:(0,r.jsx)(T,{assetUrl:g})})}),(0,r.jsx)(D,{colorSchemaKey:a,selectedStanding:L,isAnimated:i,columnList:String(v),enableSortableColumns:(0,m.uo)(s),enableTeamCodeVisualization:(0,m.uo)(d),enableTeamCodeVisualizationOnMobile:(0,m.uo)(c),enableMovementInsideRanking:h,enableHomeAwayFilters:(0,m.uo)(n),limit:f,entityTeam:y,qualificationOptionsMap:F})]}),(0,r.jsx)(U,{colorSchemaKey:a,qualificationOptionsMap:F,teams:null==L?void 0:L.teams})]})]})})},W=e=>{let{seasonIds:t,initialStandings:l,enableLivePolling:a=!0,liveMatches:o=[],children:i,standings:n=[],isAnimated:s=!1,columnList:d="",enableSortableColumns:u=!1,enableTeamCodeVisualization:m=!1,enableTeamCodeVisualizationOnMobile:h=!1,enableHomeAwayFilters:g,enableMovementInsideRank:p,colorSchemaKey:v,limit:f,entityTeam:y,competitionDesktopTagAssetUrl:x,competitionMobileTagAssetUrl:b,seasonIdJsonArray:w,headerTitle:j,ctaLink:N,ctaTitle:T,hideHeaderTitle:S,headerTitleHeadingLevel:A,competitionBackgroundTagAssetUrl:P,qualificationOptionsString:k,...C}=e;return(0,r.jsx)(c,{seasonIds:t,initialStandings:l,enableLivePolling:a,liveMatches:o,children:i||(0,r.jsx)(H,{...C,standings:n,isAnimated:s,columnList:d,enableSortableColumns:u,enableTeamCodeVisualization:m,enableTeamCodeVisualizationOnMobile:h,enableHomeAwayFilters:g,enableMovementInsideRank:p,colorSchemaKey:v,limit:f,entityTeam:y,competitionDesktopTagAssetUrl:x,competitionMobileTagAssetUrl:b,seasonIdJsonArray:w,headerTitle:j,ctaLink:N,ctaTitle:T,hideHeaderTitle:S,headerTitleHeadingLevel:A,competitionBackgroundTagAssetUrl:P,qualificationOptionsString:k})})}},5767:(e,t,l)=>{"use strict";l.d(t,{B:()=>r});var a=l(12115);let r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,{threshold:l=0,rootMargin:r="0px",triggerOnce:o=!1,enabled:i=!0}=e,n=(0,a.useRef)(null),[s,d]=(0,a.useState)(!1),[c,u]=(0,a.useState)(null),[m,h]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=n.current;if(!e||!i||o&&m)return;let a=new IntersectionObserver(e=>{let[l]=e,r=l.isIntersecting;d(r),u(l),t&&t(l,a),o&&r&&h(!0)},{threshold:l,rootMargin:r});return a.observe(e),()=>{a.disconnect()}},[l,r,o,i,t,m]),{ref:n,isIntersecting:s,entry:c}}},6103:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var a=l(95155),r=l(10253);let o=e=>{let{userStatus:t,children:l}=e,{isAuthenticated:o,isLoading:i}=(0,r.A)();return"all"===t?(0,a.jsx)(a.Fragment,{children:l}):i||"loggedIn"===t&&!o||"loggedOut"===t&&o?null:(0,a.jsx)(a.Fragment,{children:l})}},6465:(e,t,l)=>{"use strict";l.d(t,{default:()=>n});var a=l(95155),r=l(12115),o=l(96532),i=l(68321);let n=e=>{let{...t}=e,{html:l}=t;return((0,r.useEffect)(()=>{var e,t,l;null==(l=window)||null==(t=l.instgrm)||null==(e=t.Embeds)||e.process()},[]),l)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.default,{src:"https://www.instagram.com/embed.js",strategy:"lazyOnload",id:"instagram-embed-script"}),(0,a.jsx)(o.A,{html:l})]}):null}},7114:(e,t,l)=>{"use strict";l.d(t,{K4:()=>n,Uc:()=>s});var a=l(31794),r=l(16547),o=l(14554);let i=(e,t,l)=>{let a=Object.entries(t);return e&&a.length?(Object.entries(t).forEach(t=>{let[l,a]=t;e=e.replace(l,a)}),l&&(e="".concat(e,"?").concat(r.OU.appView,"=true")),e):null},n=e=>{let{variables:t,widgetUrlEntities:l}=e;if(!l.length)return null;let n=(0,a.Df)(t),s=!!(0,a.jI)(t,r.OU.appView);return{teamLink:l.includes(o.gL.Team)?i(null==n?void 0:n.teams,o.kz,s):null,playerLink:l.includes(o.gL.Player)?i(null==n?void 0:n.players,o.SU,s):null,matchLink:l.includes(o.gL.Match)?i(null==n?void 0:n.matches,o.gF,s):null,liveLink:l.includes(o.gL.Live)?i(null==n?void 0:n.live,o.gF,s):null}},s=(e,t)=>new Promise((l,a)=>{if(document.getElementById(t))l();else{let r=document.createElement("script");r.src=e,r.id=t,r.async=!0,r.onload=()=>l(),r.onerror=e=>a(Error(String(e))),document.body.appendChild(r)}})},7600:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var a=l(24656),r=l(1298),o=l(7928),i=l(12115);let n=()=>{let[e,t]=(0,i.useState)(!1),{allClubs:l,favoriteClubsMaxLimit:n}=(0,a.useFavorites)(),{requestRemoveFavoriteClub:s,addFavoriteClubs:d,isMaxLimitReached:c,showMaxLimitToast:u,favoriteClubs:m,pendingAction:h,confirmAction:g,cancelAction:p,isLoading:v,toast:f}=(0,o.A)({favoriteClubsMaxLimit:n}),y=(0,r.AF)(l,m);return{onAddNew:()=>
1{if(!v){if(c(null==y?void 0:y.length))return void u();t(!0)}},isModalOpen:e,closeModal:()=>t(!1),onAddFavoriteClub:async e=>{await d(e)},requestRemoveFavoriteClub:s,pendingAction:h,confirmAction:g,cancelAction:p,isLoading:v,toast:f,favoriteClubs:m,filteredClubs:y}}},7928:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var a=l(10253),r=l(1298),o=l(21636),i=l(22531),n=l(81442),s=l(66102),d=l(84380),c=l(12115);let u=function(){var e;let{favoriteClubsMaxLimit:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[l,u]=(0,c.useState)(null),[m,h]=(0,c.useState)({type:null,status:"IDLE",isLoading:!1}),g=(0,d.A)(),{userInfo:p,accessToken:v,accountConfiguration:f,updateUserInfoContext:y,broadcastFavoritesUpdate:x,isAuthenticated:b,login:w}=(0,a.A)(),{showToast:j,toast:N}=(0,o.d)(),T=null==p||null==(e=p.properties)?void 0:e[i.d.favoriteTeams],{isLoading:S,status:A,type:P}=m,k=e=>({[i.d.favoriteTeams]:(null==e?void 0:e.length)?e:null}),C=async e=>{var t;if(!v||!f)return;let l=k(null!=(t=null==T?void 0:T.filter(t=>t.id!==(0,r.iO)(e)))?t:[]);try{h({type:s.Sc.removeFavoriteClub,isLoading:!0,status:"IDLE"}),await (0,n.bu)({accessToken:v,userPatch:l,config:f}),h({type:s.Sc.removeFavoriteClub,isLoading:!1,status:"SUCCESS"});let e={...p,properties:{...null==p?void 0:p.properties,...l}};y(e),x(e)}catch(e){h({type:s.Sc.removeFavoriteClub,isLoading:!1,status:"ERROR"}),console.error("Error removing favorite club:",e)}},I=async e=>{if(!v||!f)return;let t=k(e);try{h({type:s.Sc.addFavoriteClub,isLoading:!0,status:"IDLE"}),await (0,n.bu)({accessToken:v,userPatch:t,config:f}),h({type:s.Sc.addFavoriteClub,isLoading:!1,status:"SUCCESS"});let e={...p,properties:{...null==p?void 0:p.properties,...t}};y(e),x(e)}catch(e){h({type:s.Sc.addFavoriteClub,isLoading:!1,status:"ERROR"}),console.error("Error adding favorite clubs:",e)}},L=()=>{j({title:g("favorite-clubs-max-limit-reached"),type:"error"})},F=e=>{var l;return(null!=(l=null!=e?e:null==T?void 0:T.length)?l:0)>=(null!=t?t:0)},B=async()=>{if(l){if("login-required"===l.type){await w(),u(null);return}if("remove"===l.type)await C(l.clubId);else{let e=[...null!=T?T:[],{id:(0,r.iO)(l.clubId),name:l.clubName}];await I(e)}u(null)}};return(0,c.useEffect)(()=>{P&&A!==s.nW.IDLE&&j({title:s.s5[P][A].message,type:A===s.nW.ERROR?"error":"success"})},[A,P,j]),{toggleFavoriteClub:(e,t)=>{var l;if(S)return;if(!b)return void u({type:"login-required",clubId:e,clubName:t});let a=(0,r.iO)(e),o=null!=(l=null==T?void 0:T.some(e=>e.id===a))&&l;if(!o&&F())return void L();u({type:o?"remove":"add",clubId:e,clubName:t})},requestRemoveFavoriteClub:e=>{S||u({type:"remove",clubId:e})},addFavoriteClubs:I,isMaxLimitReached:F,showMaxLimitToast:L,pendingAction:l,favoriteClubs:T,confirmAction:B,cancelAction:()=>u(null),isLoading:S,toast:N}}},8173:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var a=l(95155),r=l(12115),o=l(51309),i=l(56396),n=l(7641),s=l(37575);let d=e=>{let{alt:t,fill:l=!1,width:d=140,height:c=200,className:u,imageTransformations:m,pictureClassName:h,colorSchemaKey:g=i.fs.light,playerImage:p}=e,[v,f]=(0,r.useState)(!1),{CLOUDINARY_BASE_URL:y,ENVIRONMENT:x}=(0,o.V)(),b="".concat(y,"/{formatInstructions}/").concat(x,"/").concat("assets/widgets/player-action-photo","/").concat(g===i.fs.light?"fallbacklogo.svg":"fallbacklogo-white.svg"),w=!p||v;return(0,a.jsx)(n.default,{fill:l,src:w?b:p,alt:t||"Player Image",width:l?void 0:d,height:l?void 0:c,className:u,pictureClassName:h,transformations:m||s.N.player,onError:e=>f(e)})}},8397:(e,t,l)=>{"use strict";l.d(t,{r:()=>a});var a=function(e){return e.day="day",e.shortMonth="shortMonth",e.shortDay="shortDay",e.month="month",e.year="year",e.short="short",e.standard="standard",e.time="time",e.shortTime="shortTime",e.shortStandard="shortStandard",e}({})},8499:()=>{},9216:()=>{},10020:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var a=l(95155),r=l(12115),o=l(81884),i=l(34993);let n=e=>{let{children:t,isAnimated:l=!1,from:n=i.E.HiddenFromBottom,stagger:s=.1}=e;if("string"==typeof t){let e=t.split(/\s+/);return(0,a.jsx)(a.Fragment,{children:e.map((t,i)=>(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)(o.default,{isAnimated:l,from:n,delay:i*s,className:"inline-block",children:t},i),i<e.length-1&&" "]},i))})}return(0,a.jsx)(a.Fragment,{children:t})}},11213:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var a=l(95155),r=l(67231),o=l(10253),i=l(84380),n=l(12115),s=l(75889),d=l(56396),c=l(56361);let u=e=>{let{accountUrl:t,className:l,colorSchemaKey:u=d.fs.light}=e,{login:m,accountInitialsChars:h}=(0,n.useContext)(o.c),g=(0,i.A)();return h?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("a",{href:t,className:(0,s.QP)("cursor-pointer transition duration-300",l),children:(0,a.jsx)(c.A,{accountInitialsChars:h,colorSchemaKey:u,hasLink:!0})})}):(0,a.jsx)("button",{className:(0,s.QP)("cursor-pointer transition duration-300",l),onClick:()=>m(),type:"button",title:g("account-sign-in"),"aria-label":g("account-sign-in"),children:(0,r.a)("User")})}},11377:(e,t,l)=>{"use strict";l.d(t,{SQ:()=>d,_2:()=>c,mB:()=>u,rI:()=>n,ty:()=>s});var a=l(95155),r=l(12115),o=l(30151),i=l(75889);let n=o.bL,s=o.l9;o.YJ,o.ZL,o.Pb,o.ZP,o.z6;let d=r.forwardRef((e,t)=>
1{let{className:l="",sideOffset:r=4,align:n="center",...s}=e;return(0,a.jsx)(o.ZL,{children:(0,a.jsx)(o.UC,{ref:t,sideOffset:r,align:n,className:(0,i.QP)("z-50 min-w-32 overflow-hidden rounded-md border border-gray-200 bg-white p-1 text-gray-950 shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",l),...s})})});d.displayName=o.UC.displayName;let c=r.forwardRef((e,t)=>{let{className:l="",inset:r=!1,...n}=e;return(0,a.jsx)(o.q7,{ref:t,className:(0,i.QP)("relative flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm transition-colors outline-none select-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r&&"pl-8",l),...n})});c.displayName=o.q7.displayName,r.forwardRef((e,t)=>{let{className:l="",children:r,checked:n,...s}=e;return(0,a.jsxs)(o.H_,{ref:t,className:(0,i.QP)("relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm transition-colors outline-none select-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",l),checked:n,...s,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(o.VF,{children:(0,a.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4",children:(0,a.jsx)("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})})}),r]})}).displayName=o.H_.displayName,r.forwardRef((e,t)=>{let{className:l="",children:r,...n}=e;return(0,a.jsxs)(o.hN,{ref:t,className:(0,i.QP)("relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm transition-colors outline-none select-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",l),...n,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(o.VF,{children:(0,a.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-2 w-2 fill-current",children:(0,a.jsx)("circle",{cx:"7.5",cy:"7.5",r:"3.75"})})})}),r]})}).displayName=o.hN.displayName,r.forwardRef((e,t)=>{let{className:l="",inset:r=!1,...n}=e;return(0,a.jsx)(o.JU,{ref:t,className:(0,i.QP)("px-2 py-1.5 text-sm font-semibold text-gray-900",r&&"pl-8",l),...n})}).displayName=o.JU.displayName;let u=r.forwardRef((e,t)=>{let{className:l="",...r}=e;return(0,a.jsx)(o.wv,{ref:t,className:(0,i.QP)("-mx-1 my-1 h-px bg-gray-100",l),...r})});u.displayName=o.wv.displayName,r.forwardRef((e,t)=>{let{className:l="",...r}=e;return(0,a.jsx)(o.G5,{ref:t,className:(0,i.QP)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-md border border-gray-200 bg-white p-1 text-gray-950 shadow-lg",l),...r})}).displayName=o.G5.displayName},11805:(e,t,l)=>{"use strict";l.d(t,{FU:()=>i,XD:()=>m,cW:()=>u,hi:()=>s,kh:()=>n,wX:()=>c,x6:()=>o}),l(99666);var a=l(14554),r=l(12115);let o={"barclays-wsl":{label:"Barclays WSL",logoIcon:"WslLogoColor"},"barclays-wsl2":{label:"Barclays WSL2",logoIcon:"WslLogo2Color"},"unknown-league":{label:"Unknown League"}},i=e=>{let t=[];return e.home&&e.away||t.push("Missing team data"),e.matchId&&e.status&&e.match
1DateUtc&&e.matchDateLocal||t.push("Missing required match fields"),{isValid:0===t.length,issues:t}},n=e=>e.reduce((e,t)=>{try{let l=new Date(t.matchDateLocal);if(isNaN(l.getTime()))return e;let a=l.toDateString();return e[a]||(e[a]=[]),e[a].push(t),e}catch(t){return e}},{}),s=e=>new Date(e).toLocaleDateString("en-US",{weekday:"long",day:"numeric",month:"long",year:"numeric"}),d=e=>null!=e&&"object"==typeof e&&"matchId"in e&&"matchDateUtc"in e&&"matchDateLocal"in e&&"status"in e&&"home"in e&&"away"in e&&"string"==typeof e.matchId&&"string"==typeof e.matchDateUtc&&"string"==typeof e.matchDateLocal&&"string"==typeof e.status&&null!==e.home&&void 0!==e.home&&"object"==typeof e.home&&"teamId"in e.home&&"string"==typeof e.home.teamId&&null!==e.away&&void 0!==e.away&&"object"==typeof e.away&&"teamId"in e.away&&"string"==typeof e.away.teamId,c=(e,t)=>{let l=e.filter(d);return((e,t)=>{let l=[a.Xh.FINISHED,a.Xh.ABANDONED,a.Xh.CANCELED,a.Xh.POSTPONED],r=[a.Xh.UPCOMING,a.Xh.TACTICAL,a.Xh.LINEUP,a.Xh.LIVE,a.Xh.SUSPENDED];return"results"===t?e.filter(e=>l.some(t=>t.toLowerCase()===e.status.toLowerCase())).toSorted((e,t)=>{let l=new Date(e.matchDateLocal).getTime();return new Date(t.matchDateLocal).getTime()-l}):e.filter(e=>r.some(t=>t.toLowerCase()===e.status.toLowerCase()))})(l=((e,t)=>(null==t?void 0:t.from)&&(null==t?void 0:t.to)?e.filter(e=>{try{let l=new Date(e.matchDateLocal);if(isNaN(l.getTime()))return!1;let a=new Date(t.from);a.setHours(0,0,0,0);let r=new Date(t.to);return r.setHours(23,59,59,999),l>=a&&l<=r}catch(e){return!1}}):e)(l=((e,t)=>0===t.length?e:e.filter(e=>{var l,a;let r=null==(l=e.home)?void 0:l.teamId,o=null==(a=e.away)?void 0:a.teamId;return r&&t.includes(r)||o&&t.includes(o)}))(l,t.selectedClubs),t.selectedDateRange),t.activeTab)},u=e=>{switch(e.toUpperCase()){case"FINISHED":return a.Xh.FINISHED;case"LIVE":return a.Xh.LIVE;case"UPCOMING":return a.Xh.UPCOMING;case"POSTPONED":return a.Xh.POSTPONED;case"CANCELED":return a.Xh.CANCELED;case"LINEUP":return a.Xh.LINEUP;case"TACTICAL":return a.Xh.TACTICAL;case"SUSPENDED":return a.Xh.SUSPENDED;case"ABANDONED":return a.Xh.ABANDONED;default:return a.Xh.UNKNOWN}},m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12,[l,a]=(0,r.useState)(1),[o,i]=(0,r.useState)(!1),s=(0,r.useMemo)(()=>n(e),[e]),d=(0,r.useMemo)(()=>Object.values(s).flat().slice(0,l*t),[s,l,t]),c=(0,r.useMemo)(()=>{let e=Object.values(s).flat();return d.length<e.length},[d.length,s]),u=(0,r.useMemo)(()=>0===e.length,[e.length]),m=(0,r.useCallback)(()=>{c&&!o&&(i(!0),setTimeout(()=>{a(e=>e+1),i(!1)},300))},[c,o]),h=(0,r.useCallback)(()=>{a(1),i(!1)},[]);return(0,r.useEffect)(()=>{h()},[e,h]),{visibleMatches:d,groupedMatches:s,isLoading:o,hasMore:c,loadMore:m,reset:h,isEmpty:u,totalCount:e.length,displayedCount:d.length}}},12225:(e,t,l)=>{"use strict";l.d(t,{p:()=>a});var a=function(e){return e.clubs="clubs",e.players="players",e}({})},12659:(e,t,l)=>{"use strict";l.d(t,{PlayerListView:()=>O});var a=l(95155),r=l(73881),o=l(67231),i=l(80155),n=l(12115);let s=e=>{let{placeholder:t="Search...",onSearch:l,className:s="",defaultValue:d=""}
1=e,[c,u]=(0,n.useState)(d),[m,h]=(0,n.useState)(!1),g=(0,i.d)(c,{delay:300});return(0,n.useEffect)(()=>{""!==g.trim()?(h(!0),Promise.resolve(l(g)).finally(()=>h(!1))):l("")},[g]),(0,a.jsxs)("div",{className:"relative col-span-2 flex w-full gap-1 rounded-[30px] border border-gray-200 bg-white px-4 py-[14px] lg:max-w-[342px] ".concat(s),children:[(0,o.a)("Search",{className:"h-4 min-w-4 min-h-4 w-4 md:h-5 md:w-5 md:min-h-5 md:min-w-5"}),(0,a.jsx)("input",{id:"search-input",type:"search",value:c,onChange:e=>{u(e.target.value)},onKeyDown:e=>{"Escape"===e.key&&u("")},placeholder:t,className:"focus:ring-none lg:body-4 w-full border-none text-base text-gray-600 focus:border-none focus:ring-0 focus:outline-none","aria-label":"Search"}),(0,a.jsx)(r.w,{condition:m,children:(0,o.a)("Loading",{className:"h-5 w-5 animate-spin"})})]})};var d=l(5767);let c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={threshold:0,rootMargin:"-1px 0px 0px 0px",...e},{ref:l,isIntersecting:a}=(0,d.B)(t);return{sentinelRef:l,hasBackground:!a}};var u=l(37165),m=l(83617),h=l(33047);let g=new WeakMap,p=e=>{if(g.has(e))return g.get(e);let t=new Set,l=new Map,a=new Set;e.forEach(e=>{var r,o;if((null==(r=e.team)?void 0:r.competitionSlug)&&t.add(e.team.competitionSlug),e.team){let t=e.team.teamId||e.team.shortName||e.team.officialName||"";t&&!l.has(t)&&l.set(t,{id:t,name:e.team.officialName||e.team.shortName||t,league:e.team.competitionSlug||"Unknown",teamId:e.team.teamId||"",logo:(null==(o=e.team)?void 0:o.logo)||""})}e.roleLabel&&a.add(e.roleLabel.toLowerCase())});let r={leagues:[{id:"all",label:"all-leagues"},...Array.from(t).sort((e,t)=>e.localeCompare(t)).map(e=>({id:e,label:e}))],clubs:Array.from(l.values()).sort((e,t)=>e.name.localeCompare(t.name)),positions:(e=>{let{positions:t,positionOrder:l}=e,a=[],r=[...Array.from(t)];return r.includes("all")||a.push({id:"all",label:"sport-position-all"}),[...a,...r.sort((e,t)=>l.indexOf(e)-l.indexOf(t)).map(e=>({id:e,label:"sport-position-".concat(e)}))]})({positions:a,positionOrder:["goalkeeper","defender","midfielder","forward"]})};return g.set(e,r),r},v={"barclays-wsl2":{label:"Barclays WSL2",logoIcon:"WslLogo2Color"},"barclays-wsl":{label:"Barclays WSL",logoIcon:"WslLogoColor"}};var f=l(91512);let y=(0,n.createContext)(void 0),x={search:"",league:"all",clubs:[],positions:[],limit:12,page:1},b=e=>{let{children:t,initialPlayers:l,pageSize:r=12}=e,[o,i]=(0,n.useState)({...x,limit:r}),{visiblePlayers:s,filteredPlayers:d,isLoading:c,hasMore:u,loadMore:m,isEmpty:h,totalCount:g,displayedCount:p}=(e=>{let{allPlayers:t,filters:l,pageSize:a=12}=e,[r,o]=(0,n.useState)(1),[i,s]=(0,n.useState)(!1),d=(0,n.useMemo)(()=>((e,t)=>e.filter(e=>{var l,a,r,o,i;if(t.search&&t.search.trim()){let r=t.search.toLowerCase().trim();if(![e.mediaFirstName,e.mediaLastName,e.shortName,null==(l=e.team)?void 0:l.officialName,null==(a=e.team)?void 0:a.shortName,e.role].filter(
1Boolean).join(" ").toLowerCase().includes(r))return!1}return(!t.league||"all"===t.league||(null==(r=e.team)?void 0:r.competitionSlug)===t.league)&&(!t.clubs||!(t.clubs.length>0)||!!t.clubs.includes((null==(o=e.team)?void 0:o.teamId)||""))&&(!t.positions||!(t.positions.length>0)||!!t.positions.includes((null==(i=e.roleLabel)?void 0:i.toLowerCase())||""))&&!0}))(t,l),[t,l]),c=(0,n.useMemo)(()=>d.slice(0,r*a),[d,r,a]),u=(0,n.useMemo)(()=>c.length<d.length,[c.length,d.length]),m=(0,n.useMemo)(()=>0===d.length,[d.length]),h=(0,n.useCallback)(()=>{u&&!i&&(s(!0),setTimeout(()=>{o(e=>e+1),s(!1)},300))},[u,i]),g=(0,n.useCallback)(()=>{o(1),s(!1)},[]);return(0,n.useMemo)(()=>{g()},[l,g]),{visiblePlayers:c,filteredPlayers:d,isLoading:i,hasMore:u,loadMore:h,reset:g,isEmpty:m,totalCount:d.length,displayedCount:c.length}})({allPlayers:l,filters:o,pageSize:r}),v=(0,n.useCallback)(e=>{let t={...o,...e,limit:r};t.clubs&&(t.clubs=Array.from(new Set(t.clubs))),t.positions&&(t.positions=Array.from(new Set(t.positions))),i(t)},[o,r]),f=(0,n.useCallback)(()=>{i({...x,limit:r})},[r]);return(0,a.jsx)(y.Provider,{value:{visiblePlayers:s,filteredPlayers:d,allPlayers:l,filters:o,isLoading:c,hasMore:u,isEmpty:h,totalCount:g,displayedCount:p,updateFilters:v,resetFilters:f,loadMore:m},children:t})},w=()=>{let e=(0,n.useContext)(y);if(void 0===e)throw Error("usePlayerFilters must be used within a PlayerFiltersProvider");return e};var j=l(84380);let N=e=>{let{colorSchemaKey:t,onApply:l,selectedClubs:r=[]}=e,{show:o}=(0,f.useDrawer)(),{allPlayers:i}=w(),n=(0,j.A)(),s=p(i).clubs.reduce((e,t)=>(e[t.league]||(e[t.league]=[]),e[t.league].push(t),e),{});return(0,a.jsx)("button",{className:h.C[t].button,onClick:()=>{o({component:(0,a.jsx)(u.w,{title:n("sport-clubs"),clubsByLeague:Object.fromEntries(Object.entries(s).map(e=>{let[t,l]=e;return[t,l.map(e=>({id:e.id,name:e.name}))]})),leagueLabels:v,initialClubs:r,onApply:e=>null==l?void 0:l(e)})})},children:(0,a.jsx)("div",{className:h.C[t].buttonText,children:(0,a.jsx)(m.Ay,{variant:m.PT["navigation-1"],children:n("all-clubs")})})})};var T=l(53323);let S=e=>{let{name:t,value:l,checked:r,onChange:i,className:n="",logoIcon:s}=e,d=(0,j.A)();return(0,a.jsxs)("label",{className:"flex cursor-pointer items-center gap-2 ".concat(n),children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{type:"radio",name:t,value:l,checked:r,onChange:()=>i(l),className:"sr-only"}),(0,a.jsx)("div",{className:"flex h-6 w-6 items-center justify-center rounded-full border-2 transition-all ".concat(r?"border-black/20 bg-transparent":"border-gray-300 bg-transparent hover:border-gray-400"),children:r&&(0,a.jsx)("div",{className:"h-3 w-3 rounded-full bg-black"})})]}),(0,a.jsx)("div",{className:"flex flex-col gap-1",children:s?(0,o.a)(s,{width:"135px"}):d("all-leagues")})]})},A=e=>{let{onApply:t,initialLeague:l="all",leagueOptions:r}=e,o=(0,j.A)(),[i,s]=(0,n.useState)(l);return(0,a.jsxs)("div",{className:"bg-secondary-on-light relative flex h-full flex-1 flex-col gap-6 py-6",children:[(0,a.jsx)("div",{className:"px-6",children:(0,a.jsx)("div",{className:"flex flex-col gap-4 border-b border-black/20 pt-1.5 pb-[14px]",children:(0,a.jsx)(m.Ay,{variant:m.PT["subtitle-3"],children:o("sport-leagues")})})}),(0,a.jsx)("div",{className:"flex flex-1 flex-col gap-6 overflow-y-auto px-6",children:null==r?void 0:r.map((e,t)=>{var l;return(0,a.jsx)(S,{name:"league",value:e.id,checked:i===e.id,onChange:s,logoIcon:null==(l=v[e.id])?void 0:l.logoIcon},"".concat(e.id,"-").concat(t))})}),(0,a.jsx)("div",{className:"flex justify-center px-6",children:(0,a.jsx)(T.A,{variant:"outline",text:o("apply-filter"),className:"w-full rounded-[30px]",onClick:()=>t(i)})})]})},P=e=>{let{colorSchemaKey:t,onApply:l,selectedLeague:r="all"}=e,{show:o,close:i}=(0,f.useDrawer)(),{allPlayers:n}=w(),s=(0,j.A)(),d=p(n).leagues;return(0,a.jsx)("button",{className:h.C[t].button,onClick:()=>{o({component:(0,a.jsx)(A,{initialLeague:r,leagueOptions:d,onApply:e=>{null==l||l(e),i()}})})},children:(0,a.jsx)("div",{className:h.C[t].buttonText,children:(0,a.jsx)(m.Ay,{variant:m.PT["navigation-1"],children:s("all-leagues")})})})};var k=l(44449),C=l(75889);let I=e=>{let{onApply:t,initialPositions:l=[],positionOptions:o}
1=e,i=(0,j.A)(),[s,d]=(0,n.useState)(l),c=e=>"all"===e?s.length===o.length-1:s.includes(e);return(0,a.jsxs)("div",{className:"bg-secondary-on-light relative flex h-full flex-1 flex-col gap-6 pt-6",children:[(0,a.jsx)("div",{className:"px-6",children:(0,a.jsx)("div",{className:"flex flex-col gap-4 border-b border-black/20 pt-1.5 pb-[14px]",children:(0,a.jsx)(m.Ay,{variant:m.PT["subtitle-3"],children:i("sport-positions")})})}),(0,a.jsx)("div",{className:"flex flex-1 flex-col gap-2 overflow-y-auto px-6",children:o.map(e=>(0,a.jsx)("div",{className:"rounded-[8px] bg-white/40 p-2",children:(0,a.jsx)(k.A,{id:e.id,name:"positions",value:e.id,label:i("".concat(e.label)),isChecked:c(e.id),onCheckedChange:()=>(e=>{"all"===e?s.length===o.length-1?d([]):d(o.filter(e=>"all"!==e.id).map(e=>e.id)):d(t=>t.includes(e)?t.filter(t=>t!==e&&"all"!==t):[...t.filter(e=>"all"!==e),e])})(e.id),iconClassName:c(e.id)?"text-white bg-primary-on-light":"",className:"border-primary-on-light data-[state=checked]:!border-primary-on-light data-[state=checked]:bg-primary-on-light data-[state=checked]:text-white"},e.id)},"".concat(e.id,"-").concat(e.label)))}),(0,a.jsxs)("div",{className:"flex justify-center gap-x-[10px] bg-white px-6 py-6",style:{boxShadow:"0px -1px 20px 0px rgba(0, 0, 0, 0.15)"},children:[(0,a.jsx)(r.w,{condition:s.length>0,children:(0,a.jsx)(T.A,{variant:"link",text:i("reset-all"),className:"w-full rounded-[30px]",onClick:()=>t([])})}),(0,a.jsx)(T.A,{variant:"outline",text:i("apply-filter"),className:"w-full rounded-[30px]",onClick:()=>t(s.includes("all")?o.map(e=>e.id).filter(e=>"all"!==e):s)})]})]})},L=e=>{let{colorSchemaKey:t,onApply:l,selectedPositions:r=[]}=e,{show:o,close:i}=(0,f.useDrawer)(),{allPlayers:n}=w(),s=(0,j.A)(),d=p(n).positions;return(0,a.jsx)("button",{className:(0,C.QP)(h.C[t].button,"col-span-2"),onClick:()=>{o({component:(0,a.jsx)(I,{initialPositions:r,positionOptions:d,onApply:e=>{null==l||l(e),i()}})})},children:(0,a.jsx)("div",{className:h.C[t].buttonText,children:(0,a.jsx)(m.Ay,{variant:m.PT["navigation-1"],children:s("all-positions")})})})};var F=l(56396);let B=()=>{let{sentinelRef:e,hasBackground:t}=c({rootMargin:"-48px 0px 0px 0px",threshold:.1}),{filters:l,updateFilters:r}=w();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:e,className:"h-[1px]"}),(0,a.jsxs)("div",{className:(0,C.QP)("sticky -top-[59px] z-30 grid grid-cols-2 justify-center gap-4 p-4 py-2 min-[408px]:-top-[46px] lg:top-[83px] lg:flex lg:flex-row lg:p-0 lg:py-4",t?"bg-white/70 backdrop-blur-md":""),children:[(0,a.jsx)(P,{colorSchemaKey:F.fs.light,onApply:e=>{r({league:e})},selectedLeague:l.league}),(0,a.jsx)(N,{colorSchemaKey:F.fs.light,onApply:e=>{r({clubs:e})},selectedClubs:l.clubs||[]}),(0,a.jsx)(L,{colorSchemaKey:F.fs.light,onApply:e=>{r({positions:e})},selectedPositions:l.positions||[]}),(0,a.jsx)(s,{placeholder:"Search",onSearch:e=>{r({search:e})},defaultValue:l.search||""})]})]})};var E=l(4230),_=l(88697),R=l(14347);let M=e=>{let{label:t,onRemove:l,ariaLabel:r,colorSchemaClass:i}=e;return(0,a.jsxs)("button",{onClick:l,"aria-label":r,className:(0,C.QP)("flex cursor-pointer items-center gap-1 rounded border p-2",i),children:[(0,a.jsx)(m.Ay,{variant:m.PT["subtitle-6"],children:t}),(0,o.a)("Close",{className:"h-[18px] w-[18px]",width:18,height:18})]})},D=e=>{var t,l,o;let{filters:i,colorSchemaKey:n=F.fs.light}=e,s=(0,j.A)(),{updateFilters:d,allPlayers:c}=w(),u=new Map(p(c).clubs.map(e=>[e.id,e.name])),m=h.C[n].filterTags,g=e=>u.get(e)||e,f=!!(i.search&&""!==i.search.trim()||i.league&&"all"!==i.league||i.clubs&&i.clubs.length>0||i.positions&&i.positions.length>0),y=e=>{var t;d({clubs:(null==(t=i.clubs)?void 0:t.filter(t=>t!==e))||[]})};return(0,a.jsx)(r.w,{condition:f,children:(0,a.jsx)(_.A,{removeSectionHtmlTag:!0,children:(0,a.jsxs)("div",{className:"mt-4 flex flex-wrap justify-center gap-2",children:[(0,a.jsx)(r.w,{condition:!!(i.league&&"all"!==i.league),children:(0,a.jsx)(M,{label:"all"===i.league?s("all-leagues"):null==(t=v[i.league])?void 0:t.label,onRemove:()=>d({league:"all"}),ariaLabel:"Remove league filter",colorSchemaClass:m})}),(0,a.jsxs)(r.w,{condition:!!(i.clubs&&i.clubs.length>0),children:[null==(l=i.clubs)?void 0:l.slice(0,2).map(e=>(0,a.jsx)(M,{label:g(e),onRemove:()=>y(e),ariaLabel:"Remove ".concat(g(e)," club filter"),colorSchemaClass:m},"club-".concat(e))),(0,a.jsx)(r.w,{condition:!!(i.clubs&&i.clubs.length>2),children:(0,a.jsx)(M,{label:"".concat(g(i.clubs[2])).concat(i.clubs.length>3?" +".concat(i.clubs.length-3):""),onRemove:()=>y(i.clubs[2]),ariaLabel:"Remove ".concat(g(i.clubs[2])," club filter"),colorSchemaClass:m},"club-overflow-".concat(i.clubs[2]))})]}),null==(o=i.positions)?void 0:o.map(e=>(0,a.jsx)(M,{label:s("sport-position-".concat(e)),onRemove:()=>(e=>{var t;d({positions:(null==(t=i.positions)?void 0:t.filter(t=>t!==e))||[]})})(e),ariaLabel:"Remove ".concat(e," position filter"),colorSchemaClass:m},"position-".concat(e)))]})})})},U=e=>{let{players:t,isLoading:l,hasMore:o=!1,onLoadMore:i,totalCount:n=0,displayedCount:s=0}=e,d=(0,j.A)();return 0!==t.length||l?(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(r.w,{condition:n>0,children:(0,a.jsx)("div",{className:"flex items-center justify-between text-sm text-gray-600",children:(0,a.jsxs)("span",{children:[d("showing")," ",s," ",d("of")," ",n," ",d("players")]})})}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-x-3 gap-y-4 lg:grid-cols-4 lg:gap-x-6 lg:gap-y-8",children:null==t?void 0:t.map((e,t)=>(0,a.jsx)(E.K,{player:e},"".concat(e.playerId,"-").concat(t)))}),(0,a.jsx)(r.w,{condition:!!l,children:(0,a.jsx)("div",{className:"grid grid-cols-2 gap-x-3 gap-y-4 lg:grid-cols-4 lg:gap-x-6 lg:gap-y-8",children:Array.from({length:4}).map((e,t)=>(0,a.jsx)("div",{className:"h-[252px] w-full max-w-[250px] animate-pulse rounded-2xl bg-gray-200 md:h-[515px] md:max-w-[344px]"},"loading-".concat(t)))})}),(0,a.jsx)(r.w,{condition:!!i,children:(0,a.jsx)(R.i,{onLoadMore:i,hasMore:o,isLoading:l||!1,className:"pt-2"})}),(0,a.jsx)(r.w,{condition:!o&&!l&&t.length>0,children:(0,a.jsx)("div",{className:"flex justify-center py-6",children:(0,a.jsxs)("p",{className:"text-sm text-gray-500",children:[d("all")," ",n," ",d("players-loaded")]})})})]}):(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center py-12",children:[(0,a.jsx)("p",{className:"text-lg font-medium text-gray-600",children:d("no-players-found")}),(0,a.jsx)("p",{className:"text-sm text-gray-500",children:d("try-adjusting-filters")})]})},z=e=>{let{isFullWidth:t,horizontalSpacing:l,colorSchemaKey:r}=e,{visiblePlayers:o,isLoading:i,hasMore:n,loadMore:s,totalCount:d,displayedCount:c,filters:u}=w();return(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(B,{}),(0,a.jsxs)("div",{className:"mt-4 flex flex-col gap-y-8",children:[(0,a.jsx)(D,{filters:u,colorSchemaKey:r}),(0,a.jsx)(_.A,{isFullWidth:t,horizontalSpacing:l,children:(0,a.jsx)(U,{players:o,isLoading:i,hasMore:n,onLoadMore:s,totalCount:d,displayedCount:c})})]})]})},O=e=>{let{players:t,isFullWidth:l,horizontalSpacing:r,pageSize:o=12,colorSchemaKey:i}=e;return t?(0,a.jsx)(b,{initialPlayers:t,pageSize:o,children:(0,a.jsx)(z,{isFullWidth:l,horizontalSpacing:r,colorSchemaKey:i})}):null}},13063:(e,t,l)=>{"use strict";l.d(t,{Sx:()=>i,cx:()=>n,lp:()=>o}),l(38495);var a=l(58002),r=l(1298);let o=e=>{var t;return"".concat(a.zd).concat(null==e||null==(t=e.fields)?void 0:t.teamId)},i=(e,t)=>{if(!(null==t?void 0:t.length))return e;let l=new Map(t.map(e=>[(0,r.iO)(e.teamId),e]));return e.map(e=>{var t,a,r,o,i;let n=null==(t=e.fields)?void 0:t.teamId,s=n?l.get(n):void 0;return s?{...e,fields:{...e.fields,logo:{...null==(a=e.fields)?void 0:a.logo,assetUrl:s.logo||(null==(r=e.fields)?void 0:r.logo)},logoLight:{...null==(o=e.fields)?void 0:o.logoLight,assetUrl:s.logoLight||(null==(i=e.fields)?void 0:i.logoLight)}}}:e})},n=(e,t)=>{if(!(null==t?void 0:t.length))return e;let l=new Map(t.map(e=>[e.teamId,e]));return e.map(e=>{var t,a;let r=(null==(t=e.home)?void 0:t.teamId)?l.get(e.home.teamId):void 0,o=(null==(a=e.away)?void 0:a.teamId)?l.get(e.away.teamId):void 0;return{...e,home:e.home?{...e.home,logo:(null==r?void 0:r.logo)||e.home.logo,logoLight:(null==r?void 0:r.logoLight)||e.home.logoLight}:e.home,away:e.away?{...e.away,logo:(null==o?void 0:o.logo)||e.away.logo,logoLight:(null==o?void 0:o.logoLight)||e.away.logoLight}:e.away}})}},13285:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var a=l(95155),r=l(81156),o=l(73881),i=l(83617),n=l(85285),s=l(51309),d=l(37575),c=l(15239);l(12115);var u=l(75889);let m=e=>{let{team:t,colorSchema:l,colorSchemaClass:m,enableTeamCodeVisualization:h,enableTeamCodeVisualizationOnMobile:g,typographyVariant:p=i.PT["h5-uppercase"],winTeamId:v,isShortTeamName:f=!1,isLosingTeamOpacity:y=!1,className:x}=e,{CLOUDINARY_BASE_URL:b,ENVIRONMENT:w}=(0,s.V)(),{teamId:j,teamUrl:N,officialName:T,mediaShortName:S,acronymNameLocalized:A,logo:P,logoLight:k}=t||{},C=A||T,I="".concat(b,"/{formatInstructions}/").concat(w,"/assets/widgets/teams/fallbacklogo.svg"),L=(0,d.W)(I,"t_w_120");return(0,a.jsxs)(r.default,{target:"_self",href:N,className:(0,u.QP)("flex items-center gap-2",null==l?void 0:l.border,x),title:T||A,"aria-label":T||A,children:[(0,a.jsx)(c.default,{className:"h-6 w-6 shrink-0",src:P||k||L,width:32,height:32,alt:C||""}),(0,a.jsx)(o.w,{condition:!!T,children:(0,a.jsx)(i.Ay,{variant:p,className:(0,u.QP)(m,h?"hidden":g?"hidden md:block":"block",y?(0,n.jx)({teamId:j,winTeamId:v}):""),children:f?S:T})}),(0,a.jsx)(i.Ay,{variant:p,className:(0,u.QP)(m,h?"block":g?"block md:hidden":"hidden",(0,n.jx)({teamId:j,winTeamId:v})),children:C})]})}},14233:(e,t,l)=>{"use strict";l.d(t,{A6:()=>r,BC:()=>h,Cl:()=>y,D1:()=>f,EQ:()=>b,Fn:()=>a,I1:()=>n,KA:()=>s,ND:()=>o,NX:()=>i,Nc:()=>p,Q5:()=>w,Td:()=>c,WI:()=>N,kQ:()=>g,oK:()=>m,p2:()=>d,tt:()=>j,vB:()=>v,ym:()=>u,zO:()=>x});let a="football",r="match-summary-and-events-widget",o="match-lineup-widget",i="play-by-play-widget",n="match-info-widget",s="match-day-widget",d="match-header-widget",c="match-facts-widget",u="match-statistics-widget",m="match-player-stats-comparison-widget",h="all-team-statistics-widget",g="match-previous-meetings-widget",p="competition-stats-widget",v="player-and-team-comparison-widget",f="all-player
1-statistics-widget",y="club-stats-widget",x="player-stats-widget",b="match-player-stats-widget",w="fixture-and-results-widget",j="match-standings-widget",N="club-fixtures-widget"},14347:(e,t,l)=>{"use strict";l.d(t,{i:()=>s});var a=l(95155),r=l(12115),o=l(5767),i=l(73881),n=l(84380);let s=e=>{let{onLoadMore:t,hasMore:l,isLoading:s,className:d="",threshold:c=.1,rootMargin:u="100px"}=e,m=(0,n.A)(),{ref:h,isIntersecting:g}=(0,o.B)({threshold:c,rootMargin:u,enabled:l&&!s});return((0,r.useEffect)(()=>{g&&l&&!s&&t()},[g,l,s,t]),l||s)?(0,a.jsx)("div",{ref:h,className:"flex justify-center py-4 ".concat(d),"aria-hidden":"true",children:(0,a.jsx)(i.w,{condition:s,children:(0,a.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,a.jsx)("div",{className:"h-4 w-4 animate-spin rounded-full border-2 border-gray-300 border-t-blue-600"}),(0,a.jsxs)("span",{className:"text-sm text-gray-600",children:[m("loading-more"),"..."]})]})})}):null}},14554:(e,t,l)=>{"use strict";l.d(t,{Qr:()=>u,SU:()=>s,Xh:()=>o,_Q:()=>r,gF:()=>d,gL:()=>i,kz:()=>n,qv:()=>c});var a=l(17503),r=function(e){return e.MatchesPlayed="matches-played",e.Wins="win",e.Rank="rank",e}({}),o=function(e){return e.UNKNOWN="Unknown",e.UPCOMING="Upcoming",e.POSTPONED="Postponed",e.CANCELED="Canceled",e.LINEUP="Lineup",e.TACTICAL="Tactical",e.LIVE="Live",e.SUSPENDED="Suspended",e.ABANDONED="Abandoned",e.FINISHED="Finished",e.ALL="All",e}({}),i=function(e){return e.Team="team",e.Match="match",e.Player="player",e.Live="live",e}({});let n={"{id}":(0,a.$h)("teamId"),"{slug}":(0,a.$h)("officialName")},s={"{id}":(0,a.$h)("playerId"),"{slug}":(0,a.$h)("playerName")},d={"{id}":(0,a.$h)("matchId"),"{slug}":"".concat((0,a.$h)("homeOfficialName"),"-vs-").concat((0,a.$h)("awayOfficialName"))};var c=function(e){return e.actionAreas="action-areas",e.attackingDefensiveAreas="attacking-defensive-areas",e.heatmapAndTrackingRun="heatmap-and-tracking-run",e.horizontalScoreboard="horizontal-scoreboard",e.lineUps="lineups",e.matchFacts="match-facts",e.matchFeed="match-feed",e.matchHeader="match-header",e.matchList="match-list",e.matchListAll="match-list-all",e.matchListByMatchDay="match-list-by-matchday",e.matchPreview="match-preview",e.matchStats="match-stats",e.matchSummary="match-summary",e.passMatrix="pass-matrix",e.playerCompare="player-compare",e.playerGameLog="player-game-log",e.playerProfile="player-profile",e.playerProfileHeader="player-profile-header",e.playerProfileStats="player-profile-stats",e.referees="referees",e.rosters="rosters",e.seasonPlayersStatsLeaders="season-players-stats-leaders",e.seasonTeamsStatsLeaders="season-teams-stats-leaders",e.seasonPlayersStatsTable="season-players-stats-table",e.seasonTeamsStatsTable="season-teams-stats-table",e.singleTeamPlayerSeasonStats="single-team-player-season-stats",e.singleTeamSeasonStatsTable="single-team-season-stats-table",e.standings="standings",e.teamCompare="team-compare",e.teamProfile="team-profile",e.teamProfileHeader="team-profile-header",e.teamProfileStats="team-profile-stats",e}({}),u=function(e){return e.broadcaster="broadcaster",e.playerHeader="player-header",e.playerHeaderHeadshot="player-header-headshot",e.playerHeadshot="player-headshot",e.stadium="stadium",e.teamHeader="team-header",e.teamLogo="team-logo",e}({})},14823:(e,t,l)=>{"use strict";l.d(t,{Nm:()=>a,Wk:()=>r}),l(38495),l(13063),l(58002),l(87358);let a={forward:["goals","assists","games-played"],midfielder:["games-played","assists","on-target-scoring-attempts"],defender:["games-played","tackle","interception"],goalkeeper:["saves","games-played","Clean Sheets"]},r=()=>({forward:[...a.forward,"minutes-played"],midfielder:[...a.midfielder,"minutes-played"],defender:[...a.defender,"minutes-played"],goalkeeper:[...a.goalkeeper,"minutes-played"]})},14889:(e,t,l)=>{"use strict";l.d(t,{default:()=>n});var a=l(95155),r=l(12115),o=l(96532),i=l(68321);let n=e=>{let{...t}=e,{html:l}=t;return((0,r.useEffect)(()=>{var e,t,l;let a=Array.from(document.querySelectorAll("blockquote.tiktok-embed")).filter(e=>!e.querySelector("iframe"));null==(l=window)||null==(t=l.tiktokEmbed)||null==(e=t.lib)||e.render(a)},[]),l)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.default,{src:"https://www.tiktok.com/embed.js",strategy:"lazyOnload",id:"tiktok-embed-script"}),(0,a.jsx)(o.A,{html:l})]}):null}},14933:()=>{},15058:(e,t,l)=>{"use strict";l.d(t,{h:()=>o,y:()=>i});var a=l(65897),r=l(52259);let o=e=>{var t;let{response:l,apiName:o,apiUrl:i}=e;return r.A.log("".concat(o," ").concat(i?i+" ":"").concat(null!=(t=null==l?void 0:l.message)?t:""," ").concat((null==l?void 0:l.stack)?JSON.stringify(l.stack):""),a.T.error),null},i=e=>{let{response:t,returnResponseError:l}=e;return l?(null==t?void 0:t.status)===404?{status:404,message:"Requested data not found."}:{status:500,message:"Something went wrong."}:null}},15126:(e,t,l)=>{"use strict";l.d(t,{I:()=>a});let a=(e,t,l)=>{if(!l)return new Map(e.map(e=>[e.matchId,e]));let a=new Map(t.map(e=>[e.matchId,e.matchUrl])),r=new Map(t.map(e=>[e.matchId,e.away.logo])),o=new Map(t.map(e=>[e.matchId,e.home.logo])),i=new Map(t.map(e=>[e.matchId,e.away.logoLight])),n=new Map(t.map(e=>[e.matchId,e.home.logoLight]));return new Map(e.map(e=>{var t,l,s,d,c;return[e.matchId,{...e,matchUrl:null!=(t=e.matchUrl)?t:a.get(e.matchI
1d),away:{...e.away,logo:null!=(l=e.away.logo)?l:r.get(e.matchId),logoLight:null!=(s=e.away.logoLight)?s:i.get(e.matchId)},home:{...e.home,logo:null!=(d=e.home.logo)?d:o.get(e.matchId),logoLight:null!=(c=e.home.logoLight)?c:n.get(e.matchId)}}]}))}},15702:(e,t,l)=>{"use strict";l.d(t,{MatchListByDateProvider:()=>h,Y:()=>m});var a=l(95155),r=l(50329),o=l(23183),i=l(15126),n=l(51309),s=l(86737),d=l(41819),c=l(12115);let u=(0,c.createContext)(void 0),m=()=>{let e=(0,c.useContext)(u);if(!e)throw Error("useMatchListByDate must be used within a MatchListByDateProvider");return e},h=e=>{let{children:t,initialMatches:l,seasonIds:m,disableLiveUpdates:h=!1}=e,{FLAG_LIVE_POLLING_ENABLED:g,FLAG_PRESERVE_SERVER_MATCH_URL:p}=(0,s.h)(),{LIVE_MATCH_POLLING_INTERVAL:v,LIVE_MATCH_POLLING_PRE_WINDOW_HOURS:f}=(0,n.V)(),[y,x]=(0,c.useState)(new Map),b=(0,c.useMemo)(()=>!h&&(0,o.Qd)(l,{preMatchWindowHours:f}),[l]),w=(0,c.useCallback)(async()=>{let e=new Date;e.setDate(e.getDate()-1);let t=new Date;return t.setDate(t.getDate()+1),await (0,r.O)({seasonIds:m,startDate:e.toISOString(),endDate:t.toISOString()})},[m]),j=(0,c.useCallback)(e=>{if(!(null==e?void 0:e.matches))return;let t=e.matches.map(e=>({...e,home:e.home||{},away:e.away||{}}));x((0,i.I)(t,l,p))},[l,p]);(0,d.n)(w,j,{enabled:b,interval:v,featureFlagEnabled:g});let N=(0,c.useMemo)(()=>({polledMatches:y}),[y]);return(0,a.jsx)(u.Provider,{value:N,children:t})}},16547:(e,t,l)=>{"use strict";l.d(t,{Hj:()=>a,OU:()=>n,aL:()=>r,ay:()=>o,tA:()=>i});var a=function(e){return e.KeyValue="keyValue",e.uri="uri",e}({}),r=function(e){return e.boolean="boolean",e.string="string",e.guid="guid",e.number="number",e.datetime="datetime",e}({}),o=function(e){return e.module="module",e.layout="layout",e.template="template",e}({}),i=function(e){return e.slug="slug",e.pagePath="pagePath",e.teamsPath="teams_path",e.playersPath="players_path",e.matchesPath="matches_path",e.livePath="live_path",e}({}),n=function(e){return e.appView="appView",e}({})},16749:(e,t,l)=>{"use strict";l.d(t,{default:()=>v});var a=l(95155),r=l(81884),o=l(30231),i=l(82438),n=l(61541),s=l(31360),d=l(94659),c=l(56396),u=l(75649),m=l(30927),h=l(12115),g=l(33648),p=l(75889);let v=e=>{let{items:t,colorSchemaKey:l=c.fs.light,isAnimated:v=!1}=e,f=(0,h.useRef)(null),y=(0,h.useRef)(null),[x,b]=(0,h.useState)(!0),[w,j]=(0,h.useState)(!0),[N,T]=(0,h.useState)(!1),S=m.y[l].carouselCards,A=(0,h.useCallback)(()=>{var e;return null==(e=y.current)?void 0:e.swiper.slidePrev()},[]),P=(0,h.useCallback)(()=>{var e;return null==(e=y.current)?void 0:e.swiper.slideNext()},[]),k=(0,h.useCallback)(e=>{0===e?(j(!0),b(N)):1===e?(j(!1),b(!0)):(j(!1),b(!1))},[N]);(0,h.useEffect)(()=>{let e=()=>{var e,t;let l=null==(e=y.current)?void 0:e.querySelectorAll(".swiper-slide");if(!(null==l?void 0:l.length))return;let a=l[0].offsetWidth*l.length+16*(l.length-1),r=(null==(t=y.current)?void 0:t.offsetWidth)>=a;T(r),b(r)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let C=(0,i.E)({paginationRef:f,handlePrev:A,handleNext:P,isBeginning:w,isEnd:x,navigationColor:S.navigation,progressColor:S.progress,paginationColor:S.pagination});return(0,a.jsxs)("div",{className:"carousel-cards",children:[(0,a.jsx)(g.IX,{slidesPerView:"auto",spaceBetween:16,resistanceRatio:0,ref:y,centerInsufficientSlides:!1,className:"w-full overflow-visible",slidesPerGroup:(0,s.A)(f)?1:3,pagination:{el:f.current,type:"progressbar"},onBeforeInit:e=>{e.params.pagination.el=f.current},onSliderMove:e=>k(e.progress),onProgress:e=>k(e.progress),children:t.map((e,t)=>{var i;let{aspectRatio:n,isLandscape:s}=(e=>{let t=(e=>{let t=(0,u.Ek)(e.type,e.entityCode);return t===d.A.play||t===d.A.gallery})(e);return{aspectRatio:t?d.Mc.ASPECT_16_9:d.Mc.ASPECT_2_3,isLandscape:t}})(e),c={entity:e,size:d.qJ.small,aspectRatio:n,colorSchemaKey:l};return(0,a.jsx)(g.qr,{className:(0,p.QP)("relative h-auto hover:z-10",s?"w-[320px] md:w-[360px]":"w-[160px] md:w-[200px]"),children:(0,a.jsx)(r.default,{isAnimated:v,delay:t<4?.1*t:.3,className:"flex h-full",children:(0,a.jsx)("div",{className:"h-[310px] w-full overflow-hidden md:h-[350px] [&_.line-clamp-3]:mt-2 [&_time]:text-white [&>a>div]:!aspect-auto",children:(0,o.T)(d.A3.fullImg,c)})})}
1,null!=(i=e._entityId)?i:t)})}),(0,a.jsx)(n.A,{options:C})]})}},17160:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233);let s=e=>{let{itemsToShow:t,seasonIds:l,matchId:s,cardBackgroundUrl:d,headerTitleHeadingLevel:c=o.v.h2,showErrorMessage:u,showRetryButton:m,enableMatchLinks:h,enableTeamLinks:g,teamUrlPattern:p,matchUrlPattern:v,competitionLogoUrl:f}=e,{SDP_PROJECT:y}=(0,i.V)(),x={title:"var(--color-widget-label-primary)",subtitle:"var(--color-widget-label-secondary)",sectionTitle:"var(--color-widget-label-primary)",noDataText:"var(--color-widget-label-secondary)",cardBackground:"var(--color-grey-on-light-900)",cardBorder:"var(--color-widget-border-primary)",divider:"var(--color-widget-border-primary)",homeWinsBg:"var(--color-primary-on-light-200)",homeWinsText:"var(--color-grey-on-light-900)",awayWinsBg:"var(--color-grey-on-light-100)",awayWinsText:"var(--color-grey-on-light-900)",drawsBg:"var(--color-grey-on-light-700)",drawsText:"var(--color-widget-label-primary)",homeVictoryLabel:"var(--color-widget-label-primary)",awayVictoryLabel:"var(--color-widget-label-primary)",drawLabel:"var(--color-widget-label-primary)",homeBarBg:"var(--color-primary-on-light-200)",awayBarBg:"var(--color-grey-on-light-100)",drawsBarBg:"var(--color-grey-on-light-700)",rowBackground:"var(--color-grey-on-light-800)",rowBorder:"var(--color-widget-border-primary)",rowHomeText:"var(--color-widget-label-primary)",rowAwayText:"var(--color-widget-label-primary)",rowScore:"var(--color-widget-label-primary)",rowDate:"var(--color-widget-label-secondary)"},b={type:n.kQ,sport:n.Fn,project:y,seasonIds:null!=l?l:[],cardBackgroundUrl:d,startHeadingLevel:Number(c),matchId:null!=s?s:"",showErrorMessage:u,showRetryButton:m,itemsToShow:t,enableMatchLinks:h,enableTeamLinks:g,teamUrlPattern:p,matchUrlPattern:v,competitionLogoUrl:f,theme:{widget:{lightColors:x,darkColors:x}}};return(0,a.jsx)(r.JE,{...b})}},17503:(e,t,l)=>{"use strict";l.d(t,{$h:()=>i,Gn:()=>o,wi:()=>r}),l(64558);let a=Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"});RegExp("[".concat(Object.keys(a).join(""),"]"),"g");let r=e=>e?e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([A-Z])([A-Z][a-z])/g,"$1-$2").replace(/([a-zA-Z])(\d)/g,"$1-$2").replace(/(\d)([a-zA-Z])/g,"$1-$2").replace(/[^a-zA-Z0-9]+/g,"-").toLowerCase():"",o=function(e){let t,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",";if(!(null==e?void 0:e.trim()))return[];let a=e.trim(),r=l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),o=RegExp("\"([^\"]*)\"|'([^']*)'|([^".concat(r,"]+)"),"g"),i=[];for(;null!==(t=o.exec(a));){var n,s,d;let e=(null==(n=null!=(d=null!=(s=t[1])?s:t[2])?d:t[3])?void 0:n.trim()).replace(/(?:^["'])|(?:["']$)/g,"").trim();e.length>0&&i.push(e)}return i},i=e=>"${"+e+"}"},18045:(e,t,l)=>{"use strict";l.d(t,{Z:()=>v});var a=l(95125),r=l(65897),o=l(52259),i=l(15058),n=l(87358);let s=n.env.CULTURE,d=n.env.ENVIRONMENT,c=n.env.PAGE_BUILDER_FRONTEND_API_SECRET,u="PAGE BUILDER FRONTEND API",m="{path}",h="{token}",g="api/v1/Page?path=".concat(m,"&culture=").concat(s,"&environment=").concat(d),p="api/v1/Page?path=".concat(m,"&culture=").concat(s,"&environment=").concat(d,"&token=").concat(h),v=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s="";try{s=t?p.replace(m,e).replace(h,t):g.replace(m,e),o.A.log("Getting SITE STRUCTURE data from PAGE BUILDER FRONTEND API ".concat(s),r.T.debug),s=new URL(s,n.env.PAGE_BUILDER_FRONTEND_API_BASE_URL).href}catch(e){return l?{error:(0,i.y)({response:e,returnResponseError:l})}:(0,i.h)({response:e,apiName:u})}return await a.A.get(s,{headers:{Authorization:c}}).then(e=>(o.A.log("Retrieved SITE STRUCTURE data from PAGE BUILDER FRONTEND API ".concat(s,". ").concat(JSON.stringify(e.data)),r.T.debug),e.data)).catch(e=>l?{error:(0,i.y)({response:e,returnResponseError:l})}:(0,i.h)({response:e,apiName:u,apiUrl:s}))}},18090:(e,t,l)=>{"use strict";l.d(t,{A:()=>E});var a=l(95155),r=l(53323),o=l(38932),i=l(7641),n=l(37575),s=l(26556),d=l(30927),c=l(75889);let u=e=>{let{colorSchemaKey:t,id:l,logo:r,logoLight:u,name:m,onSelectClub:h,selectedFavoriteClubs:g,competitionColor:p,secondaryColor:v}=e,{card:f}=d.y[t].favoriteClubsModal;
1return(0,a.jsx)("button",{type:"button",className:(0,c.QP)(f,"border-grey-on-light-100 flex size-20 cursor-pointer items-center justify-center rounded-lg border-2 hover:border-[var(--competition-color,var(--color-primary-on-light-200))] lg:size-30",(0,o.e2)({selectedFavoriteClubs:g,id:l})&&"border-[var(--competition-color,var(--color-primary-on-light-200))]"),style:(0,s.jK)(p||"primary-on-light-200",v||"secondary-on-light-200"),onClick:()=>h({id:l,name:m}),"aria-pressed":(0,o.e2)({selectedFavoriteClubs:g,id:l}),"aria-label":"Select ".concat(m||"club"),children:(0,a.jsx)(i.default,{alt:null!=m?m:"",src:r||u||"",className:"h-full w-full object-contain",pictureClassName:"w-auto block h-12 lg:h-15",transformations:n.N.club_card})},l)};var m=l(73015),h=l(24656),g=l(10253),p=l(22531),v=l(84380),f=l(12115);let y=e=>{var t;let{colorSchemaKey:l,onCloseModal:i,onAddFavoriteClub:n,isLoading:s}=e,[d,c]=(0,f.useState)([]),{userInfo:y}=(0,g.A)(),{allClubs:x,allCompetitions:b,favoriteClubsMaxLimit:w}=(0,h.useFavorites)(),j=(0,v.A)(),N=null==y||null==(t=y.properties)?void 0:t[p.d.favoriteTeams];if((0,f.useEffect)(()=>{c(null!=N?N:[])},[N]),!(null==b?void 0:b.length)||!(null==x?void 0:x.length))return null;let T=(0,o._E)(x),S=(0,o.XA)({allCompetitions:b,groupedClubs:T}),A=!(null==d?void 0:d.length)||(null==d?void 0:d.length)>(null!=w?w:0),P=e=>{let{id:t,name:l}=e;(0,o.e2)({selectedFavoriteClubs:d,id:t})?c(d.filter(e=>e.id!==t)):c([...d,{id:t,name:l}])},k=async()=>{n&&(await n(d),i())};return(null==S?void 0:S.length)?(0,a.jsxs)("div",{className:"flex flex-col gap-4 lg:gap-6",children:[(0,a.jsx)(m.default,{ariaLabel:"Favorite Clubs List Tabs",items:S.map(e=>{let{slug:t,title:r,fields:o}=e;return{trigger:{value:t,label:r},disabled:!1,defaultValue:!0,content:(0,a.jsx)("div",{className:"flex max-h-[45vh] flex-grow-2 flex-wrap items-center justify-center gap-4 overflow-y-auto p-4 lg:p-6",children:T[t].map(e=>{let{logo:t,logoLight:r,id:i,name:n}=e;return(0,a.jsx)(u,{colorSchemaKey:l,id:i,logo:t,logoLight:r,name:n,onSelectClub:P,selectedFavoriteClubs:d,competitionColor:null==o?void 0:o.competitionColor,secondaryColor:null==o?void 0:o.secondaryColor},i)})})}}),className:"gap-4 lg:gap-6",colorSchemaKey:l}),(0,a.jsx)(r.A,{text:"".concat(j("continue")," (").concat(null==d?void 0:d.length,"/").concat(w,")"),variant:"filled",rounding:"rounded",className:"mx-auto h-10.5",colorSchemaKey:l,disabled:A,onClick:k,isLoading:s})]}):null};var x=l(93377),b=l(1298);let w=e=>{let{selectedFavoritePlayers:t,id:l}=e;return -1!==t.findIndex(e=>e.id===l)};var j=l(44449),N=l(8173),T=l(83617),S=l(19378);let A=e=>{let{logo:t,logoLight:l,clubName:r,playerName:o,playerImage:s,colorSchemaKey:u,id:m,primaryColor:h,theming:g,selectedFavoritePlayers:p,onSelectPlayer:v}=e,{playerCard:f,playerCardImage:y}=d.y[u].favoritePlayersModal,{theme:x}=(0,S.s3)(g,h),{image_original_extraSmall:b}=n.N,A=w({id:m,selectedFavoritePlayers:p});return(0,a.jsxs)("div",{className:(0,c.QP)("flex items-center justify-between rounded-lg px-3 py-1.5 lg:px-4 lg:py-2",f),children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 lg:gap-3",children:[(0,a.jsx)(i.default,{className:"h-full w-full",alt:null!=r?r:"",pictureClassName:"block size-5 lg:size-6",src:t||l||"",transformations:b}),(0,a.jsx)(N.A,{alt:o,imageTransformations:b,className:(0,c.QP)("h-full w-full overflow-hidden rounded-full object-cover object-top",y),pictureClassName:"block size-8",colorSchemaKey:x,playerImage:s}),(0,a.jsx)(T.Ay,{variant:T.PT["subtitle-6"],children:o})]}),(0,a.jsx)(j.A,{colorSchemaKey:u,id:m,name:"clubs",value:m,isChecked:A,onCheckedChange:()=>v({id:m,name:o}),iconClassName:A?"text-white bg-primary-on-light":"",className:"border-primary-on-light data-[state=checked]:!border-primary-on-light data-[state=checked]:bg-primary-on-light rounded-full data-[state=checked]:text-white"})]})},P=e=>{let{logo:t,logoLight:l,name:r}=e;return(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(i.default,{className:"h-full w-full",alt:null!=r?r:"",pictureClassName:"block size-8",src:t||l||"",transformations:n.N.image_original_extraSmall}),(0,a.jsx)(T.Ay,{variant:T.PT.h6,children:r})]})},k=e=>{var t;let{slug:l,colorSchemaKey:r,groupedPlayers:o,groupedClubs:i,selectedFavoritePlayers:n,onSelectPlayer:s}=e,{clubCard:u}
1=d.y[r].favoritePlayersModal;return(0,a.jsx)(a.Fragment,{children:null==(t=i[l])?void 0:t.map(e=>{var t,l;let{id:i,logo:d,logoLight:m,name:h}=e;return(null==o||null==(t=o[i])?void 0:t.length)?(0,a.jsx)(x.default,{items:[{id:i,headerHtml:(0,a.jsx)(P,{logo:d,logoLight:m,name:h}),bodyHtml:(0,a.jsx)(a.Fragment,{children:null==o||null==(l=o[i])?void 0:l.map(e=>{let{id:t,name:l,primaryColor:o,theming:i,playerImage:c}=e;return(0,a.jsx)(A,{logo:d,logoLight:m,clubName:h,playerName:l,colorSchemaKey:r,id:t,primaryColor:o,theming:i,playerImage:c,selectedFavoritePlayers:n,onSelectPlayer:s},t)})})}],accordionItemClassName:(0,c.QP)(u,'rounded-lg data-[state="open"]:border-transparent py-2 px-3 lg:py-3 lg:px-4 flex flex-col gap-3'),accordionHeaderClassName:"!p-0",accordionBodyClassName:"!p-0 flex flex-col gap-2",accordionIconClassName:"border-none bg-transparent group-[[data-state='open']]/accordion-item:!bg-none"},i):null})})};var C=l(67231);let I=e=>{let{searchInput:t,setSearchInput:l,colorSchemaKey:o}=e;return(0,a.jsxs)(T.Ay,{variant:T.PT["body-4"],as:"div",className:"border-grey-on-light-200 relative flex h-9.5 w-full items-center gap-2.5 rounded-full border px-4 py-1 lg:h-12.5",children:[(0,C.a)("Search",{className:"size-4 lg:size-5"}),(0,a.jsx)("input",{placeholder:"Search by name...",className:"grow-2 border-transparent focus:outline-none",value:t,onChange:e=>{var t;return l(null==e||null==(t=e.target)?void 0:t.value)}}),(0,a.jsx)(r.A,{colorSchemaKey:o,rounding:"rounded",icon:"Close",variant:"outline",className:"border-none p-2 before:content-none",iconClassName:"size-4 lg:size-5",onClick:()=>{l("")}})]})};var L=l(80155);let F=e=>{var t;let{colorSchemaKey:l,onCloseModal:i,onAddFavoritePlayer:n,isLoading:s}=e,[d,c]=(0,f.useState)([]),[u,y]=(0,f.useState)({}),[x,j]=(0,f.useState)(""),N=(0,L.d)(x,{delay:300}),{allClubs:T,allCompetitions:S,favoritePlayersMaxLimit:A,allPlayers:P}=(0,h.useFavorites)(),C=(0,v.A)(),{userInfo:F}=(0,g.A)(),B=null==F||null==(t=F.properties)?void 0:t[p.d.favoritePlayers];if((0,f.useEffect)(()=>{(null==P?void 0:P.length)&&y((e=>{let{searchInput:t,allPlayers:l}=e;return(e=>null==e?void 0:e.reduce((e,t)=>{let{team:l,mediaFirstName:a,shortName:r,mediaLastName:o,playerId:i,playerImage:n}=t||{},{teamId:s,theming:d,primaryColor:c}=l||{};if(!s)return e;let u=(0,b.iO)(s);e[u]||(e[u]=[]);let m=(null==a?void 0:a.trim())||(null==r?void 0:r.trim()),h=null==o?void 0:o.trim(),g="".concat(m||""," ").concat(h||"").trim();return e[u].push({id:(0,b.iO)(i),name:g,theming:d,primaryColor:c,playerImage:n}),e},{}))(null==l?void 0:l.filter(e=>{var l;let{mediaFirstName:a,mediaLastName:r,shortName:o}=e,i=(null==a?void 0:a.trim())||(null==o?void 0:o.trim()),n=null==r?void 0:r.trim(),s="".concat(i||""," ").concat(n||"").trim();return null==s||null==(l=s.toLowerCase())?void 0:l.includes(null==t?void 0:t.toLowerCase())}))})({allPlayers:P,searchInput:N}))},[N]),(0,f.useEffect)(()=>{c(null!=B?B:[])},[B]),!(null==S?void 0:S.length)||!(null==T?void 0:T.length)||!(null==P?void 0:P.length))return null;let E=(0,o._E)(T),_=(0,o.XA)({allCompetitions:S,groupedClubs:E}),R=!(null==d?void 0:d.length)||(null==d?void 0:d.length)>(null!=A?A:0),M=e=>{let{id:t,name:l}=e;w({selectedFavoritePlayers:d,id:t})?c(d.filter(e=>e.id!==t)):c([...d,{id:t,name:l}])},D=async()=>{n&&(await n(d),i())};return(null==_?void 0:_.length)?(0,a.jsxs)("div",{className:"relative flex flex-col gap-4 lg:gap-6",children:[(0,a.jsx)(I,{searchInput:x,setSearchInput:j,colorSchemaKey:l}),(0,a.jsx)(m.default,{ariaLabel:"Favorite Players List Tabs",items:_.map(e=>{var t;let{slug:r,title:o}=e;return{trigger:{value:r,label:o},disabled:!1,defaultValue:!0,content:(0,a.jsx)("div",{className:"flex h-[35vh] flex-col gap-4 overflow-y-auto px-2 lg:px-3",children:!!(null==(t=Object.keys(u))?void 0:t.length)&&(0,a.jsx)(k,{slug:r,colorSchemaKey:l,groupedPlayers:u,groupedClubs:E,selectedFavoritePlayers:d,onSelectPlayer:M})})}}),className:"items-stretch gap-4 lg:gap-6",colorSchemaKey:l}),(0,a.jsx)(r.A,{text:"".concat(C("continue")," (").concat(null==d?void 0:d.length,"/").concat(A,")"),variant:"filled",rounding:"rounded",className:"absolute bottom-0 left-1/2 mx-auto h-10.5 -translate-x-1/2 transform",colorSchemaKey:l,disabled:R,onClick:D,isLoading:s})]}):null};var B=l(56396);let E=e=>{let{colorSchemaKey:t=B.fs.light,heading:l,description:o,onClose:s,onAddFavoriteClub:u,onAddFavoritePlayer:m,isLoading:g,type:p}=e,{favoritesModalHeaderLogo:v}
1=(0,h.useFavorites)(),x=(0,f.useRef)(null),{modalBackground:b,text:w,background:j,modalCloseIcon:N,border:S}=d.y[t].favoritesModal;return(0,f.useEffect)(()=>{let e=x.current;if(!e)return;let t=()=>Array.from(e.querySelectorAll('a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex="-1"])')).filter(e=>!e.hasAttribute("disabled")&&!e.getAttribute("aria-hidden"));(()=>{var l;(null!=(l=t()[0])?l:e).focus()})();let l=e=>{if("Escape"===e.key){e.preventDefault(),null==s||s();return}if("Tab"!==e.key)return;let l=t();if(0===l.length)return void e.preventDefault();let a=l[0],r=l[(null==l?void 0:l.length)-1],o=document.activeElement;if(e.shiftKey&&o===a){e.preventDefault(),r.focus();return}e.shiftKey||o!==r||(e.preventDefault(),a.focus())};return e.addEventListener("keydown",l),()=>e.removeEventListener("keydown",l)},[s]),(0,a.jsx)("dialog",{ref:x,"aria-modal":"true",tabIndex:-1,className:(0,c.QP)("fixed top-0 left-0 z-1055 flex h-screen w-screen items-center justify-center outline-2",b,w),children:(0,a.jsx)("div",{className:(0,c.QP)("shadow-4 pointer-events-auto relative flex w-86 flex-col gap-4 roun
1ded-2xl border-none px-4 py-6 outline-hidden md:w-177 md:gap-6 md:px-12 md:py-8",j,w,S),children:(0,a.jsxs)("div",{className:"relative flex flex-col gap-4 lg:gap-6",children:[(0,a.jsx)("div",{className:"self-end",children:(0,a.jsx)(r.A,{onClick:()=>null==s?void 0:s(),icon:"Close",variant:"link",rounding:"rounded",iconClassName:"size-8",className:(0,c.QP)("size-8 transition-opacity duration-300 hover:opacity-70 disabled:inline-flex",N),role:"button",disabled:g})}),(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(i.default,{src:null==v?void 0:v.assetUrl,alt:"",transformations:n.N.image_original_extraSmall,width:48,height:48,className:"mx-auto"}),(0,a.jsx)(T.Ay,{variant:T.PT.h3,className:"text-center",children:l}),(0,a.jsx)(T.Ay,{variant:T.PT["body-4"],className:"text-center",children:o})]}),"clubs"===p?(0,a.jsx)(y,{colorSchemaKey:t,onCloseModal:s,onAddFavoriteClub:u,isLoading:g}):"players"===p?(0,a.jsx)(F,{colorSchemaKey:t,onCloseModal:s,onAddFavoritePlayer:m,isLoading:g}):null]})})})}},18208:(e,t,l)=>{"use strict";l.d(t,{HeroDynamicThumbsLandscapeSmallView:()=>b});var a=l(95155),r=l(83617),o=l(75889),i=l(52579),n=l(93516),s=l(37575),d=l(51309),c=l(82252),u=l(12115),m=l(7641),h=l(84380),g=l(81884),p=l(74766),v=l(74540),f=l(81156),y=l(88697),x=l(62893);let b=e=>{let{slides:t,colorSchema:l=v.V.light,autoplayDuration:b=8,effect:w="slide",isAnimated:j=!1}=e,N=(0,h.A)(),{LANGUAGE:T}=(0,d.V)(),S=(0,u.useRef)(null),A=(0,u.useRef)(null),[P,k]=(0,u.useState)(null),C=(0,p.I)();return(0,u.useEffect)(()=>{setTimeout(()=>{if(A.current){var e;null==(e=A.current)||e.swiper.update()}},500)}),(0,a.jsx)(y.A,{isFullWidth:!0,horizontalSpacing:x.jy.FullWidth,className:"relative h-[80vh] md:min-h-[700px]",children:(0,a.jsxs)("div",{className:"relative h-full",children:[(0,a.jsx)(i.RC,{a11y:{enabled:!0,nextSlideMessage:N("next-slide"),prevSlideMessage:N("prev-slide")},ref:S,dir:(0,c.RQ)(T),style:{height:"100%","--swiper-pagination-bottom":"46px","--swiper-wrapper-transition-timing-function":"cubic-bezier(.62,-0.01,0,1.01)"},effect:C?"fade":w,modules:[n.Ij,n.WO,n._R],thumbs:{swiper:P},spaceBetween:0,slidesPerView:1,speed:750,keyboard:{enabled:!0,onlyInViewport:!0},autoplay:{delay:b<1?1e3:1e3*b,disableOnInteraction:!1},onAutoplayTimeLeft:(e,t,l)=>{var a,r;let o=null==(r=A.current)||null==(a=r.swiper)?void 0:a.slides[e.activeIndex],i=null==o?void 0:o.querySelector(".hero-pagination__progress-bar");null==i||i.style.setProperty("--progress","".concat(1-l))},children:t.map((e,t)=>{var n,d,c,u;return(0,a.jsx)(i.qr,{className:"group/swiper-slide",children:(0,a.jsx)(f.default,{href:e.url,title:e.title,"aria-label":e.title,children:(0,a.jsxs)("div",{className:"grid h-full w-full grid-cols-1 overflow-hidden",children:[e.thumbnail&&(0,a.jsx)("div",{className:(0,o.QP)("relative col-start-1 row-start-1 h-full w-full before:absolute before:z-10 before:block before:h-full before:w-full before:transform-gpu before:bg-linear-to-t before:from-[rgba(0,0,0,0.8)] before:content-['']"),children:(0,a.jsx)(m.default,{transformations:s.N.hero_background_image,className:"absolute inset-0 object-cover",src:null!=(u=null!=(c=null==(n=e.image)?void 0:n.templateUrl)?c:null==(d=e.thumbnail)?void 0:d.templateUrl)?u:"",alt:e.title,fill:!0,pictureClassName:"absolute inset-0"})}),(0,a.jsx)(y.A,{className:(0,o.QP)(l.text,"ease-power-4 absolute bottom-44 z-20 w-full transform text-center text-balance opacity-0 transition-all delay-100 duration-2000 group-[.swiper-slide-active]/swiper-slide:opacity-100 md:bottom-64 md:left-1/2 md:-translate-x-1/2"),horizontalSpacing:x.jy.Container,children:(0,a.jsx)(r.Ay,{variant:r.PT["uber-4"],className:"line-clamp-3 text-balance",children:e.title})})]})})},t)})}),t.length>1?(0,a.jsx)("div",{"js-swiper-controller":"thumbs",className:(0,o.QP)("absolute bottom-6 left-0 flex w-full justify-center md:bottom-14"),children:(0,a.jsx)(i.RC,{ref:A,slidesPerView:"auto",spaceBetween:16,modules:[n.WO],watchSlidesProgress:!0,slideToClickedSlide:!0,onSwiper:k,className:"px-4",dir:(0,c.RQ)(T),children:t.map((e,t)=>{var r,n,d,c,u,h,p,v;return(0,a.jsx)(i.qr,{className:(0,o.QP)("group/swiper-slide w-auto",l.thumbnailDecoration),children:(0,a.jsxs)(g.default,{delay:.1*t,isAnimated:j,children:[(0,a.jsxs)("div",{className:"ease-power-4 before:ease-power-4 relative z-10 h-[88px] w-[66px] cursor-pointer overflow-hidden rounded-md border-2 border-transparent transition-all delay-150 duration-500 group-[.swiper-slide-thumb-active]/swiper-slide:z-20 group-[.swiper-slide-thumb-active]/swiper-slide:w-[156px] group-[.swiper-slide-thumb-active]/swiper-slide:border-current before:absolute before:top-0 before:left-0 before:z-10 before:h-full before:w-full before:transform-gpu before:bg-black before:opacity-50 before:transition-opacity before:duration-500 before:content-[''] group-[.swiper-slide-thumb-active]/swiper-slide:before:opacity-0 hover:before:opacity-0 lg:h-[116px] lg:w-[88px] lg:group-[.swiper-slide-thumb-active]/swiper-slide:w-[206px]",children:[(0,a.jsx)("div",{className:"absolute inset-0 z-10 opacity-100 transition-opacity duration-500 group-[.swiper-slide-thumb-active]/swiper-slide:opacity-0",children:(0,a.jsx)(m.default,{transformations:s.N.image_portrait_small,src:null!=(h=null!=(u=null==(r=e.image)?void 0:r.templateUrl)?u:null==(n=e.thumbnail)?void 0:n.templateUrl)?h:"",alt:e.title,className:"h-auto w-full object-cover",height:112,width:84})}),(0,a.jsx)("div",{className:"ease-power-4 absolute inset-0 z-20 opacity-0 transition-opacity duration-500 group-[.swiper-slide-thumb-active]/swiper-slide:opacity-100",children:(0,a.jsx)(m.default,{transformations:s.N.image_landscape_small,src:null!=(v=null!=(p=null==(d=e.image)?void 0:d.templateUrl)?p:null==(c=e.thumbnail)?void 0:c.templateUrl)?v:"",alt:e.title,className:"h-auto w-full object-cover",height:112,width:202})})]}),(0,a.jsx)("div",{"aria-hidden":"true",className:"hero-pagination__progress-bar mt
1-4 h-[4px] w-full overflow-hidden rounded-lg bg-black/20 opacity-0 transition-all duration-500 group-[.swiper-slide-thumb-active]/swiper-slide:opacity-100 md:bottom-[-16px]",children:(0,a.jsx)("div",{className:(0,o.QP)("hero-pagination__progress-bar-percent h-full w-full origin-top-left scale-x-[var(--progress)] transform-gpu bg-current")})})]})},t)})})}):null]})})}},18300:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var a=l(95155),r=l(59485),o=l(44931),i=l(31070),n=l(78105),s=l(12115);let d=e=>{let{value:t,startAnimation:l,duration:d=1.5,isAnimated:c}=e,u=(0,r.d)(0),m=(0,o.G)(u,e=>Math.round(e));return((0,s.useEffect)(()=>{if(l){let e="number"==typeof t?t:parseFloat(t),l=(0,i.i)(u,e,{duration:d,ease:"easeOut"});return()=>l.stop()}u.set(0)},[l,t,u]),c)?(0,a.jsx)(n.P.div,{className:"tabular-nums",children:m}):(0,a.jsx)("div",{className:"tabular-nums",children:t})}},19378:(e,t,l)=>{"use strict";l.d(t,{Wt:()=>i,s3:()=>o});var a=l(56396),r=l(75889);let o=(e,t)=>{let l="Light"===e;return{isLight:l,primaryColor:t||"#000000",backgroundColor:t||"#000000",theme:l?a.fs.light:a.fs.dark}},i=(e,t)=>{let l=n[e.isLight?"light":"dark"].includes(t||"");return{src:l?"/assets/wsl-player-header-grey-background.png":"/assets/wsl-player-header-white-background.png",className:(0,r.QP)(l?"opacity-100":"opacity-10","object-cover object-center"),alt:"WSL player header background"}},n={light:["manchester-city","blackburn-rovers","london-city-lionesses"],dark:["all"]}},19452:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233);let s=e=>{let{matchId:t,seasonIds:l,hideMissingInfo:s,showToast:d,headerTitleHeadingLevel:c=o.v.h2,showErrorMessage:u,showRetryButton:m}=e,{SDP_PROJECT:h}=(0,i.V)(),g={heading:"#FFFFFF",noData:"#FFCC66",toastBg:"#FFE4B3",toastPrimaryLabel:"var(--color-grey-on-light-1000)",cardLabel:"#FFFFFF",cardValue:"#FFFFFF",cardAccent:"var(--color-primary-on-light-200)"},p={type:n.I1,sport:n.Fn,project:h,matchId:null!=t?t:"",seasonIds:null!=l?l:[],hideMissingInfo:s,showToast:d,startHeadingLevel:Number(c),showErrorMessage:u,showRetryButton:m,theme:{widget:{lightColors:g,darkColors:g}}};return(0,a.jsx)(r.EW,{...p})}},19550:(e,t,l)=>{"use strict";l.d(t,{default:()=>g});var a=l(95155),r=l(81884),o=l(45239),i=l(81156),n=l(26556),s=l(75889);let d=e=>{var t,l,r;let{entity:d,compEntity:c,showFavoriteButton:u,colorSchema:m,selectedFavoriteClubs:h,onToggleFavorite:g}=e;return(0,a.jsxs)("div",{className:(0,s.QP)(m.card,"club-card relative z-2 w-[109px] lg:w-[220px]"),style:(0,n.jK)((null==c||null==(t=c.fields)?void 0:t.competitionColor)||"primary-on-light-200",(null==c||null==(l=c.fields)?void 0:l.secondaryColor)||"secondary-on-light-200"),children:[(0,a.jsx)(i.default,{target:"_self",href:(null==d?void 0:d.url)||"",className:"absolute inset-0 z-3","aria-label":d.title}),(0,a.jsx)(o.A,{entity:d,pictureClassName:"w-auto block",imageClassName:"w-full h-full object-contain",showFavoriteButton:u,selectedFavoriteClubs:h,onToggleFavorite:g},null!=(r=d.id)?r:d._translationId)]})};var c=l(98147),u=l(7928),m=l(37575),h=l(15239);let g=e=>{let{items:t,isAnimated:l,compEntity:o,showFavoriteButton:i,colorSchema:n,compAsset:s,colorSchemaKey:g,favoriteClubsMaxLimit:p}=e,{favoriteClubs:v,toggleFavoriteClub:f,pendingAction:y,confirmAction:x,cancelAction:b,isLoading:w,toast:j}=(0,u.A)({favoriteClubsMaxLimit:p});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"flex flex-row flex-wrap items-center justify-center gap-2 lg:gap-6",children:t.map((e,t)=>(0,a.jsx)(r.default,{isAnimated:l,delay:.1*t,children:(0,a.jsx)(d,{entity:e,compEntity:o,showFavoriteButton:i,colorSchema:n,selectedFavoriteClubs:null!=v?v:[],onToggleFavorite:f})},e.id||e._entityId))}),(null==s?void 0:s.assetUrl)&&(0,a.jsx)("div",{className:"mt-6 flex items-center justify-center lg:mt-8",children:(0,a.jsx)(h.default,{width:null==s?void 0:s.width,height:null==s?void 0:s.height,alt:(null==o?void 0:o.title)||"",className:"h-10 w-auto object-contain lg:h-15",src:(0,m.W)(s.assetUrl,m.N.competition_logo.desktop.transformation)})}),(0,a.jsx)(c.A,{pendingAction:y,confirmAction:x,cancelAction:b,isLoading:w,toast:j,colorSchemaKey:g})]})}},20473:()=>{},20912:(e,t,l)=>{"use strict";l.d(t,{o:()=>f});var a=l(31794);let{FLAG_ACCOUNT_ENABLED:r,FLAG_AZURE_SEARCH_ENABLED:o,FLAG_ENABLE_AMPLITUDE_SCR
1IPT:i,FLAG_ENABLE_USERCENTRICS_CMP_SCRIPT:n,FLAG_ENABLE_BRAZE_SDK:s,FLAG_ENABLE_GTM_SCRIPT:d,FLAG_LIVE_POLLING_ENABLED:c,FLAG_AUTH0_ENABLED:u,FLAG_USER_NEWSLETTER_OPT_IN_ENABLED:m,FLAG_ENABLE_STORYTELLER_MATCH_CARD:h,FLAG_ENABLE_ECAL_SCRIPT:g,FLAG_PRESERVE_SERVER_MATCH_URL:p,FLAG_ENABLE_FAN_ASSIST_SCRIPT:v}=l(87358).env,f={FLAG_ACCOUNT_ENABLED:(0,a._4)(null!=r?r:"false"),FLAG_AZURE_SEARCH_ENABLED:(0,a._4)(null!=o?o:"false"),FLAG_ENABLE_AMPLITUDE_SCRIPT:(0,a._4)(null!=i?i:"false"),FLAG_ENABLE_USERCENTRICS_CMP_SCRIPT:(0,a._4)(null!=n?n:"false"),FLAG_ENABLE_BRAZE_SDK:(0,a._4)(null!=s?s:"false"),FLAG_ENABLE_GTM_SCRIPT:(0,a._4)(null!=d?d:"false"),FLAG_LIVE_POLLING_ENABLED:(0,a._4)(null!=c?c:"false"),FLAG_AUTH0_ENABLED:(0,a._4)(null!=u?u:"false"),FLAG_USER_NEWSLETTER_OPT_IN_ENABLED:(0,a._4)(null!=m?m:"false"),FLAG_ENABLE_STORYTELLER_MATCH_CARD:(0,a._4)(null!=h?h:"false"),FLAG_ENABLE_ECAL_SCRIPT:(0,a._4)(null!=g?g:"false"),FLAG_ENABLE_FAN_ASSIST_SCRIPT:(0,a._4)(null!=v?v:"false"),FLAG_PRESERVE_SERVER_MATCH_URL:(0,a._4)(null!=p?p:"false")}},21636:(e,t,l)=>{"use strict";l.d(t,{d:()=>r});var a=l(12115);function r(){let[e,t]=(0,a.useState)({title:"",type:"success",durationMs:3e3,visible:!1});return{showToast:(0,a.useCallback)(e=>{if(t({...e,type:e.type||"success",visible:!0}),0!==e.durationMs){var l;setTimeout(()=>{t(e=>({...e,visible:!1}))},null!=(l=e.durationMs)?l:3e3)}},[]),hideToast:(0,a.useCallback)(()=>{t(e=>({...e,visible:!1}))},[]),toast:e}}},21905:(e,t,l)=>{"use strict";l.d(t,{MobileUserMenu:()=>g});var a=l(95155),r=l(11377),o=l(81156),i=l(29069),n=l(10253),s=l(85093),d=l(59758),c=l(31075),u=l(12115),m=l(83329),h=l(51309);let g=e=>{let{accountData:t,colorSchemaKey:l}=e,{AUTH0_DEBUG:g}=(0,h.V)(),{isAuthenticated:p,isFullyAuthenticated:v,logout:f,login:y,accountInitialsChars:x,isLoading:b,isTokenExchangeLoading:w,isUserInfoAfterTokenExchangeLoading:j,hasUserInfoAfterTokenExchange:N}=(0,n.A)();if(b||w||j)return(0,a.jsx)(m.A,{type:"dots",className:"size-8 gap-0.5",itemsClassName:"bg-white opacity-70 h-1.5 w-1.5"});let T=!b&&!p&&!v;return!T&&(T||N)?(0,a.jsx)("div",{className:"lg:hidden",children:(0,a.jsxs)(r.rI,{children:[(0,a.jsx)(r.ty,{asChild:!0,children:(0,a.jsx)("button",{className:"flex cursor-pointer items-center justify-center rounded-md","aria-label":"User menu",children:(0,a.jsx)(i.H,{initials:x,colorSchemaKey:l})})}),(0,a.jsx)(r.SQ,{align:"end",className:"w-48 border border-gray-200 bg-white text-black shadow-lg",children:!!(null==t?void 0:t.length)&&(null==t?void 0:t.map((e,l)=>{var i;let n=(0,s.nB)(null==e||null==(i=e.properties)?void 0:i.data),c=(0,s.tf)(d.y.signOut,n);return(0,a.jsxs)(u.Fragment,{children:[(0,a.jsx)(r._2,{className:"w-full cursor-pointer text-gray-700 hover:bg-gray-100",onClick:e=>c?null==f?void 0:f():e.preventDefault(),children:(0,a.jsx)(o.default,{href:c?"#":null==e?void 0:e.link,className:"w-full",children:null==e?void 0:e.text})}),l<t.length-1&&(0,a.jsx)(r.mB,{})]},null==e?void 0:e.id)}))})]})}):(0,a.jsx)(c.A,{colorSchemaKey:l,onClick:()=>y()})}},22331:(e,t,l)=>{"use strict";l.d(t,{default:()=>es});var a=l(95155),r=l(38583),o=l(88697),i=l(53323),n=l(94940),s=l(19433),d=l(83617),c=l(75889);let u=e=>{let{type:t,name:l,defaultValue:r,colorSchema:o,translationLabelKey:i,disabled:n=!1,error:u,onChange:m}=e,{labelText:h,inputBorder:g,inputText:p,inputDisabledBackground:v,inputDisabledText:f,inputErrorBorder:y,errorText:x}=o;return r?(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)(d.Ay,{variant:d.PT["subtitle-5"],className:h,as:"div",children:(0,a.jsx)("label",{htmlFor:l,children:(0,a.jsx)(s.default,{translationTermKey:i})})}),(0,a.jsx)(d.Ay,{variant:d.PT["body-4"],as:"div",children:(0,a.jsx)("input",{className:(0,c.QP)("w-full rounded-3xl border px-5 py-3",g,p,n&&v,n&&f,u&&y),id:l,name:l,type:t,defaultValue:r,disabled:n,"aria-disabled":n,"aria-invalid":!!u,"aria-describedby":u?"".concat(l,"-error"):void 0,onChange:e=>null==m?void 0:m(l,e.target.value)})}),u&&(0,a.jsx)(d.Ay,{variant:d.PT["subtitle-6"],className:(0,c.QP)("ml-5",x),as:"p",children:(0,a.jsx)(s.default,{translationTermKey:u})})]}):null};var m=l(74677),h=l(66102);let g="flex w-full flex-col gap-6 lg:gap-8",p="flex flex-col gap-4",v=e=>h.Vh.test(e)&&e.length<=h.EM,f=e=>{let t=new Date(e);if(Number.isNaN(t.getTime()))return!1;let l=new Date;return l.setHours(0,0,0,0),t<l&&t>=new Date(h.AN)};var y=l(86737);let x=e=>{let{userInfo:t,colorSchema:l,onPreferenceChange:r}=e,{FLAG_USER_NEWSLETTER_OPT_IN_ENABLED:o}=(0,y.h)(),{heading:i,checkbox:n,checkmark:u,text:v}=l;return o&&(null===h.T4||void 0===h.T4?void 0:h.T4.length)?(0,a.jsxs)("div",{className:g,children:[(0,a.jsx)(d.Ay,{variant:d.PT["h3-uppercase"],className:i,children:(0,a.jsx)(s.default,{translationTermKey:"account-user-consent-title"})}),(0,a.jsx)("div",{className:p,children:h.T4.map(e=>{var l;let o=h.nq[e],i=null==t||null==(l=t.properties)?void 0:l[o];return(0,a.jsxs)("label",{htmlFor:h.nq[e],className:"flex items-center gap-2",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{id:h.nq[e],name:h.nq[e],type:"checkbox",defaultChecked:!!i,className:"peer sr-only",onChange:e=>null==r?void 0:r(e.target.name,e.target.checked)}
1),(0,a.jsx)("div",{className:(0,c.QP)("size-[0.875rem] cursor-pointer rounded border","peer-focus-visible:ring-2 peer-focus-visible:ring-offset-2","peer-disabled:cursor-not-allowed peer-disabled:opacity-50",n)}),(0,a.jsx)(m.A,{className:(0,c.QP)("absolute end-1/2 top-1/2 size-3 translate-x-1/2 -translate-y-1/2 scale-0 peer-checked:scale-100",u),"aria-hidden":"true"})]}),(0,a.jsx)(d.Ay,{variant:d.PT["body-4"],className:(0,c.QP)("leading-[1.4]",v),as:"p",children:(0,a.jsx)(s.default,{translationTermKey:h.UW[e]})})]},e)})})]}):null};var b=l(35213),w=l(10253),j=l(29290),N=l(84380),T=l(12115),S=l(81442),A=l(65897),P=l(52259),k=l(22531),C=l(30927);let I=e=>{var t;let{colorSchemaKey:l}=e,{userInfo:r,dateOfBirth:o,errors:c,hasChanges:m,handleFieldChange:I,handlePreferenceChange:L,onSubmit:F,onDelete:B,handleChangePassword:E,openDeleteModal:_,setOpenDeleteModal:R,showValidationError:M,status:D,type:U,isUserUpdating:z,isUserUpdatingDisabled:O,isUserDeleting:H,isUserDeletingDisabled:W,isUserChangingPassword:Q,isUserChangingPasswordDisabled:G}=(()=>{var e;let{accessToken:t,accountConfiguration:l,changePassword:a,deleteAccount:r,userInfo:o,updateUserInfoContext:i}=(0,w.A)(),{handleSubmit:n,handleDelete:s,handleChangePassword:d,userAction:c}=(e=>{let{accessToken:t,accountConfiguration:l,updateUserInfoContext:a,userInfo:r,deleteAccount:o,changePassword:i}=e,{FLAG_USER_NEWSLETTER_OPT_IN_ENABLED:n}=(0,y.h)(),[s,d]=(0,T.useState)({type:null,status:h.nW.IDLE,isLoading:!1});return{closeModal:()=>d({type:null,status:h.nW.IDLE,isLoading:!1}),handleSubmit:async e=>{if(e.preventDefault(),!t||!l)return;let o=(e=>{var t,l,a;let o={};for(let t of Array.from(e.target.elements)){let{value:e,name:i,checked:s,disabled:d}=t||{},c=Object.values(h.nq).includes(i);!c&&e&&i&&e!==(null==r||null==(l=r.properties)?void 0:l[i])&&!d&&(o[i]=e),n&&c&&!!(null==r||null==(a=r.properties)?void 0:a[i])!==s&&(o[i]=s)}return(null==(t=Object.keys(o))?void 0:t.length)?o:null})(e);if(o)try{d({type:h.Sc.updateUser,isLoading:!0,status:h.nW.IDLE}),await (0,S.bu)({accessToken:t,userPatch:o,config:l}),d({type:h.Sc.updateUser,isLoading:!1,status:h.nW.SUCCESS}),a({...r,properties:{...null==r?void 0:r.properties,...o}})}catch(e){d({type:h.Sc.updateUser,isLoading:!1,status:h.nW.ERROR}),P.A.log("Error updating user account: ".concat(e instanceof Error?e.message:String(e)),A.T.error)}},handleDelete:async()=>{try{d({type:h.Sc.deleteUser,isLoading:!0,status:h.nW.IDLE}),await o(),d({type:h.Sc.deleteUser,isLoading:!1,status:h.nW.SUCCESS})}catch(e){d({type:h.Sc.deleteUser,isLoading:!1,status:h.nW.ERROR}),P.A.log("Error deleting user account: ".concat(e instanceof Error?e.message:String(e)),A.T.error)}},handleChangePassword:async()=>{try{d({type:h.Sc.changeUserPassword,isLoading:!0,status:h.nW.IDLE}),await i(),d({type:h.Sc.changeUserPassword,isLoading:!1,status:h.nW.SUCCESS})}catch(e){d({type:h.Sc.changeUserPassword,isLoading:!1,status:h.nW.ERROR}),P.A.log("Error changing user password: ".concat(e instanceof Error?e.message:String(e)),A.T.error)}},userAction:s}})({accessToken:t,accountConfiguration:l,updateUserInfoContext:i,userInfo:o,deleteAccount:r,changePassword:a}),[u,m]=(0,T.useState)(!1),[g,p]=(0,T.useState)(0),{familyName:x,givenName:b,birthday:C}=k.d,I=(0,j.zT)(null!=(e=null==o?void 0:o.properties)?e:{}),{isLoading:L,status:F,type:B}=c,{errors:E,hasChanges:_,handleFieldChange:R,handlePreferenceChange:M,validate:D}=(e=>{let{initialValues:t,initialPreferences:l={},requiredFields:a,dateFields:r=[]}=e,[o,i]=(0,T.useState)({}),n=(0,T.useRef)({...t}),s=(0,T.useRef)({...l}),d=(0,T.useRef)({...t}),c=(0,T.useRef)({...l}),[u,m]=(0,T.useState)(!1),h=(0,N.A)();(0,T.useEffect)(()=>{d.current={...t},c.current={...l},n.current={...t},s.current={...l},m(!1)},[JSON.stringify(t),JSON.stringify(l)]);let g=()=>{let e=Object.keys(d.current).some(e=>{var t,l;return(null!=(t=n.current[e])?t:"")!==(null!=(l=d.current[e])?l:"")}),t=Object.keys(c.current).some(e=>s.current[e]!==c.current[e]);return e||t};return{errors:o,hasChanges:u,handleFieldChange:(e,t)=>
1{n.current[e]=t,m(g()),o[e]&&i(t=>{let l={...t};return delete l[e],l})},handlePreferenceChange:(e,t)=>{s.current[e]=t,m(g())},validate:()=>{let e={};for(let o of a){var t,l;let a=null!=(l=null==(t=n.current[o])?void 0:t.trim())?l:"";a?r.includes(o)?f(a)||(e[o]=h("account-field-invalid-date")):v(a)||(e[o]=h("account-field-invalid-name")):e[o]=h("account-field-required")}return i(e),0===Object.keys(e).length},resetErrors:()=>{i({})}}})({initialValues:{[b]:(null==o?void 0:o.properties[b])||"",[x]:(null==o?void 0:o.properties[x])||"",[C]:I},initialPreferences:h.T4.reduce((e,t)=>{var l;let a=h.nq[t];return e[a]=!!(null==o||null==(l=o.properties)?void 0:l[a]),e},{}),requiredFields:[b,x,C],dateFields:[C]}),U=B===h.Sc.updateUser&&L,z=null!==B&&B!==h.Sc.updateUser&&L,O=B===h.Sc.deleteUser&&L,H=null!==B&&B!==h.Sc.deleteUser&&L,W=B===h.Sc.changeUserPassword&&L,Q=null!==B&&B!==h.Sc.changeUserPassword&&L;return{userInfo:o,dateOfBirth:I,errors:E,hasChanges:_,handleFieldChange:R,handlePreferenceChange:M,onSubmit:e=>{if(e.preventDefault(),!D())return void p(e=>e+1);n(e)},onDelete:async()=>{await s(),m(!1)},handleChangePassword:d,openDeleteModal:u,setOpenDeleteModal:m,showValidationError:g,status:F,type:B,isUserUpdating:U,isUserUpdatingDisabled:z,isUserDeleting:O,isUserDeletingDisabled:H,isUserChangingPassword:W,isUserChangingPasswordDisabled:Q}})(),V=(0,N.A)(),K=C.y[l].accountForm,{heading:q}=K,{familyName:J,givenName:X,birthday:Y}=k.d;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("form",{className:"mx-auto flex w-full flex-col items-center justify-center gap-y-8 lg:w-[538px] lg:gap-y-12",onSubmit:F,children:[(0,a.jsxs)("div",{className:g,children:[(0,a.jsx)(d.Ay,{variant:d.PT["h3-uppercase"],className:q,children:(0,a.jsx)(s.default,{translationTermKey:"account-personal-info"})}),(0,a.jsxs)("div",{className:p,children:[(0,a.jsx)(u,{translationLabelKey:"account-given-name",type:"text",name:X,defaultValue:(null==r?void 0:r.properties[X])||"",colorSchema:K,error:c[X],onChange:I}),(0,a.jsx)(u,{translationLabelKey:"account-surname",type:"text",name:J,defaultValue:(null==r?void 0:r.properties[J])||"",colorSchema:K,error:c[J],onChange:I}),(0,a.jsx)(u,{translationLabelKey:"account-date-of-birth",type:"date",name:Y,defaultValue:o,colorSchema:K,error:c[Y],onChange:I}),(0,a.jsx)(u,{translationLabelKey:"account-email",type:"email",name:"email",defaultValue:null!=(t=null==r?void 0:r.email)?t:"",colorSchema:K,disabled:!0})]})]}),(0,a.jsxs)("div",{className:g,children:[(0,a.jsx)(d.Ay,{variant:d.PT["h3-uppercase"],className:q,children:(0,a.jsx)(s.default,{translationTermKey:"account-update-password"})}),(0,a.jsx)(i.A,{onClick:E,text:V("account-change-password"),variant:"outline",rounding:"rounded",className:"mx-auto h-10.5",colorSchemaKey:l,isLoading:Q,disabled:G})]}),(0,a.jsx)(x,{userInfo:r,colorSchema:K,onPreferenceChange:L}),(0,a.jsx)(i.A,{buttonType:"submit",isLoading:z,text:V("account-save-changes"),variant:"filled",rounding:"rounded",className:"mx-auto h-10.5 disabled:cursor-not-allowed",colorSchemaKey:l,disabled:O||!m}),(0,a.jsxs)("div",{className:g,children:[(0,a.jsx)(d.Ay,{variant:d.PT["h3-uppercase"],className:q,children:(0,a.jsx)(s.default,{translationTermKey:"account-management"})}),(0,a.jsx)(i.A,{onClick:()=>{R(!0)},icon:"Trash",iconPosition:"left",text:V("account-delete-account"),variant:"outline",className:"mx-auto gap-2 border-none px-6 py-3 before:content-none",colorSchemaKey:l,isLoading:H,disabled:W})]})]}),_&&(0,a.jsx)(b.A,{title:"delete-account-modal-title",paragraph:"delete-account-modal-paragraph",closeText:"delete-account-modal-cancel-cta",confirmText:"delete-account-modal-confirm-cta",callback:B,isLoading:H,onClose:()=>R(!1),colorSchemaKey:l}),D!==h.nW.IDLE&&null!==U&&(0,a.jsx)(n.A,{title:h.s5[U][D].message,type:D===h.nW.ERROR?"error":"success"}),M>0&&(0,a.jsx)(n.A,{title:"account-form-validation-error",type:"error"},M)]})};var L=l(81884),F=l(26097),B=l(81156),E=l(7641),_=l(73881),R=l(67231),M=l(56396),D=l(61719);let U=e=>{let{socials:t,colorSchema:l}=e,{facebookLink:r="",twitterLink:o="",tikTokLink:i="",instagramLink:n=""}=t||{};
1return(0,a.jsxs)("div",{className:(0,c.QP)("absolute bottom-4 z-50 hidden w-full justify-center gap-4 lg:flex",l),children:[(0,a.jsx)(_.w,{condition:!!(null==r?void 0:r.trim()),children:(0,a.jsx)(B.default,{target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook profile",href:(null==r?void 0:r.trim())||"#",className:"h-8 w-8 transition-opacity duration-300 hover:opacity-70",children:(0,R.a)("FacebookRounded")})}),(0,a.jsx)(_.w,{condition:!!(null==n?void 0:n.trim()),children:(0,a.jsx)(B.default,{target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram profile",href:(null==n?void 0:n.trim())||"#",className:"h-8 w-8 transition-opacity duration-300 hover:opacity-70",children:(0,R.a)("InstagramRounded")})}),(0,a.jsx)(_.w,{condition:!!(null==o?void 0:o.trim()),children:(0,a.jsx)(B.default,{target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter profile",href:(null==o?void 0:o.trim())||"#",className:"h-8 w-8 transition-opacity duration-300 hover:opacity-70",children:(0,R.a)("TwitterRounded")})}),(0,a.jsx)(_.w,{condition:!!(null==i?void 0:i.trim()),children:(0,a.jsx)(B.default,{target:"_blank",rel:"noopener noreferrer","aria-label":"TikTok profile",href:(null==i?void 0:i.trim())||"#",className:"h-8 w-8 transition-opacity duration-300 hover:opacity-70",children:(0,R.a)("TikTokRounded")})})]})};var z=l(37575),O=l(19378),H=l(24531);let W=e=>{var t;let{nameVariant:l=d.PT.h3,club:r,competitionIconStyle:o,colorSchemaOverrides:n,className:s="",showCloseButton:u=!1,onClose:m}=e;if(!r)return null;let h=(0,O.s3)(null==r?void 0:r.theming,null==r?void 0:r.primaryColor),{clubInfo:g,clubSocials:p,competitionLogo:v,cardBackground:f,closeButton:y}={...D.c[h.theme||M.fs.light],...n},x=null==r||null==(t=r.competitionSlug)?void 0:t.trim(),b=x===H.Z5,w=x===H.Hu,j=o||{className:(0,c.QP)("w-[22px] lg:h-[236px] lg:w-[44px]",v)},N=(0,c.QP)("w-56.5 lg:w-85.5 h-85 lg:h-128",s),{teamId:T,teamSlug:S,teamUrl:A,officialName:P,logoLight:k,logo:C,stadium:I,socials:L}=r||{},{name:F,city:W}=I||{};return(0,a.jsx)("div",{className:(0,c.QP)("relative overflow-hidden rounded-lg lg:rounded-2xl","transition-all duration-300 will-change-[width]",f,N),children:(0,a.jsxs)("div",{className:"relative z-20 h-full w-full",children:[(0,a.jsx)(B.default,{target:"_self",href:A||"",className:"absolute inset-0 z-30","aria-label":"".concat(P," profile link")}),(0,a.jsx)(_.w,{condition:u,children:(0,a.jsx)("div",{className:"absolute top-1 right-1 z-50 lg:top-4 lg:right-4",children:(0,a.jsx)(i.A,{onClick:()=>null==m?void 0:m(T),icon:"CloseRounded",variant:"link",rounding:"rounded",iconClassName:"size-8 lg:size-10",className:(0,c.QP)("size-10 transition-opacity duration-300 hover:opacity-70",y),role:"button"})})}),(0,a.jsxs)("div",{className:(0,c.QP)("absolute top-1/2 right-0 z-10 -translate-y-1/2",b?"text-black group-[.swiper-slide-active]/swiper-slide:text-black":j.className),children:[(0,a.jsx)(_.w,{condition:w,children:(0,R.a)("WslLogo",{...j})}),(0,a.jsx)(_.w,{condition:b,children:(0,R.a)("WslLogo2",{...j})})]}),(0,a.jsx)("div",{className:"absolute top-0 left-0 z-10 h-full w-full opacity-5",children:(0,R.a)("WslPlayerCardBg",{fill:"text-white"===g?"#000":"#fff"})}),(0,a.jsx)("div",{className:"absolute h-full w-full",style:{backgroundColor:h.backgroundColor}}),(0,a.jsx)(d.Ay,{variant:l,className:(0,c.QP)(g,"absolute top-12 left-0 w-full px-6 text-center lg:top-22 lg:px-12"),children:P}),(0,a.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform text-center",children:(0,a.jsx)(E.default,{className:"h-auto w-full",alt:null!=P?P:"",pictureClassName:"block w-37.5 lg:w-55",src:k||C||"",transformations:z.N.club_card})}),(0,a.jsx)(d.Ay,{variant:d.PT["body-5"],className:(0,c.QP)(g,"absolute bottom-15.5 left-0 w-full px-6 text-center lg:bottom-27 lg:px-12"),children:F}),(0,a.jsx)(d.Ay,{variant:d.PT["subtitle-5"],className:(0,c.QP)(g,"absolute bottom-11 left-0 w-full px-6 text-center lg:bottom-21 lg:px-12"),children:W}),(0,a.jsx)(U,{socials:L,colorSchema:p})]})},T||S)};var Q=l(61541),G=l(33648);let V=e=>{let{items:t,isAnimated:l=!1,colorSchemaKey:r=M.fs.light,showCloseButton:o,onClose:i,showAddFavoriteCard:n=!1,onAddFavorite:s}=e,{swiperRef:d,paginationRef:c,isBeginning:u,isEnd:m,handlePrev:h,handleNext:g,onSliderMove:p,onProgress:v}=(0,G.mT)(),{navigation:f,pagination:y,progress:x}=C.y[r].clubsSelectionCarousel;return(0,a.jsxs)("div",{className:"relative h-full",children:[(0,a.jsxs)(G.IX,{pagination:{el:c.
1current,type:"progressbar"},onBeforeInit:e=>{e.params.pagination&&"object"==typeof e.params.pagination&&(e.params.pagination.el=c.current)},onSliderMove:p,onProgress:v,ref:d,longSwipes:!1,slidesPerView:"auto",speed:800,initialSlide:0,centeredSlides:!1,simulateTouch:!0,followFinger:!1,updateOnWindowResize:!0,className:"gap-6 overflow-visible",wrapperClass:"duration-800!",children:[null==t?void 0:t.map((e,t)=>(0,a.jsx)(G.qr,{className:"group/swiper-slide mx-2 w-auto overflow-hidden md:mx-3",children:(0,a.jsx)(L.default,{isAnimated:l,stagger:!0,delay:.12*t,children:(0,a.jsx)(W,{club:e,showCloseButton:o,onClose:i})})},"club-".concat(e.teamId||t))),n&&(0,a.jsx)(G.qr,{className:"group/swiper-slide mx-2 w-auto overflow-hidden md:mx-3",children:(0,a.jsx)(L.default,{isAnimated:l,stagger:!0,delay:.36,children:(0,a.jsx)(F.A,{colorSchemaKey:r,onClick:s})})},"add-favorite")]}),(0,a.jsx)(Q.A,{options:{paginationRef:c,handlePrev:h,handleNext:g,isBeginning:u,isEnd:m,navigationColor:f,progressColor:x,paginationColor:y}})]})};var K=l(50757),q=l(7600);let J=e=>{let{isAnimated:t,colorSchemaKey:l}=e,r=(0,N.A)(),o=(0,q.A)(),{title:n,description:s}=C.y[l].favorites;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-col items-center gap-8 lg:flex-row",children:[(0,a.jsxs)("div",{className:"flex w-full shrink-0 flex-col gap-6 lg:w-1/3 lg:gap-8 xl:w-1/4",children:[(0,a.jsx)(d.Ay,{variant:d.PT["h1-uppercase"],className:n,children:r("favorite-clubs-title")}),(0,a.jsx)(d.Ay,{variant:d.PT["body-3"],className:s,children:r("favorite-clubs-description")}),(0,a.jsx)(i.A,{variant:"outline",rounding:"rounded",icon:"Plus",iconPosition:"left",text:r("favorite-clubs-cta"),className:"mr-auto ml-0",colorSchemaKey:l,onClick:o.onAddNew})]}),(0,a.jsx)("div",{className:"w-full overflow-hidden",children:(0,a.jsx)(V,{isAnimated:t,colorSchemaKey:l,items:o.filteredClubs,showCloseButton:!0,onClose:e=>o.requestRemoveFavoriteClub(e),showAddFavoriteCard:!0,onAddFavorite:o.onAddNew})})]}),(0,a.jsx)(K.A,{manager:o,colorSchemaKey:l})]})};var X=l(54559),Y=l(61949),$=l(35267);let Z=e=>{let{isAnimated:t,colorSchemaKey:l}=e,r=(0,N.A)(),o=(0,$.A)(),{title:n,description:s}=C.y[l].favorites;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-col items-center gap-8 lg:flex-row",children:[(0,a.jsxs)("div",{className:"flex w-full shrink-0 flex-col gap-6 lg:w-1/3 lg:gap-8 xl:w-1/4",children:[(0,a.jsx)(d.Ay,{variant:d.PT["h1-uppercase"],className:n,children:r("favorite-players-title")}),(0,a.jsx)(d.Ay,{variant:d.PT["body-3"],className:s,children:r("favorite-players-description")}),(0,a.jsx)(i.A,{variant:"outline",rounding:"rounded",icon:"Plus",iconPosition:"left",text:r("favorite-players-cta"),className:"mr-auto ml-0",colorSchemaKey:l,onClick:o.onAddNew})]}),(0,a.jsx)("div",{className:"w-full overflow-hidden",children:(0,a.jsx)(X.PlayersSelectionCarouselView,{colorSchemaKey:l,hideStats:!0,items:o.filteredPlayers,isAnimated:t,containerClassName:"rounded-lg lg:rounded-2xl w-56.5 lg:w-85.5 h-85 lg:h-128",playerClassName:"md:w-full",playerNameVariant:d.PT.h3,showCloseButton:!0,onClose:e=>o.requestRemoveFavoritePlayer(e),showAddFavoriteCard:!0,onAddFavorite:o.onAddNew})})]}),(0,a.jsx)(Y.A,{manager:o,colorSchemaKey:l})]})},ee=e=>{let{colorSchemaKey:t}=e;return(0,a.jsxs)("div",{className:"flex flex-col gap-14 lg:gap-12",children:[(0,a.jsx)(J,{colorSchemaKey:t}),(0,a.jsx)(Z,{colorSchemaKey:t})]})};var et=l(62893);let el=e=>{var t;let{menuItems:l,isFullWidth:r,colorSchemaKey:i}=e,n=null==l?void 0:l.filter(e=>e.isActive);if(!(null==n?void 0:n.length))return null;let{accountBodyBackground:s}=C.y[i].account,d=null==(t=n[0])?void 0:t.link;return(0,a.jsx)(o.A,{isFullWidth:r,horizontalSpacing:r?et.jy.FullWidth:et.jy.Container,className:(0,c.QP)("py-8 lg:py-12",s),children:(null==d?void 0:d.includes(h.Cn))?(0,a.jsx)(I,{colorSchemaKey:i}):(null==d?void 0:d.includes(h.YY))?(0,a.jsx)(ee,{colorSchemaKey:i}):null})};var ea=l(95147),er=l(56361),eo=l(59758);let ei=e=>{var t,l;let{colorSchemaKey:n,isFullWidth:c,menuItems:u,headerBackground:m}=e,{logout:h,accountInitialsChars:g,userInfo:p}=(0,T.useContext)(w.c),v=(0,N.A)(),f=C.y[n],{accountHeaderText:y}=C.y[n].account;return(0,a.jsx)(r.A,{childrenComponentName:"account-header",textColor:y,removeSpacingTop:!0,removeSpacingBottom:!0,backgroundImage:m,children:(0,a.jsx)(o.A,{isFullWidth:c,horizontalSpacing:c?et.jy.FullWidth:et.jy.Container,className:c?"":"xl:px-8",children:(0,a.jsxs)("div",{className:"flex w-full flex-col items-center justify-between gap-6 pt-6 pb-4 lg:flex-row lg:py-8",children:[(0,a.jsxs)("div",{className:"z-2 flex w-full shrink-0 flex-col items-center gap-2 lg:w-1/3 lg:flex-row lg:gap-3",children:[g&&(0,a.jsx)("div",{className:"h-12 w-12 shrink-0 lg:h-[56px] lg:w-[56px]",children:(0,a.jsx)(er.A,{accountInitialsChars:g,colorSchemaKey:n,textTypography:d.PT.h4})}),(0,a.jsxs)("div",{className:"flex flex-col items-center gap-0.5 lg:items-start",children:[(0,a.jsx)(d.Ay,{variant:d.PT["body-4"],className:"leading-[1.4]",children:(0,a.jsx)(s.default,{translationTermKey:"account-welcome"})}),(0,a.jsxs)(d.Ay,{variant:d.PT.h2,className:"text-center leading-tight whitespace-pre-wrap uppercase lg:text-left lg:leading-[1.1]",children:[null==p||null==(t=p.properties)?void 0:t[k.d.givenName]," ",null==p||null==(l=p.properties)?void 0:l[k.d.familyName]]})]})]}),(0,a.jsx)(i.A,{onClick:h,text:v("account-sign-out"),variant:"outline",size:"small",icon:"Logout",rounding:"rounded",colorSchemaKey:n,className:"lg:hidden"}),!!(null==u?void 0:u.length)&&(0,a.jsx)(ea.default,{menuItems:u,source:eo.Y.account,menuColorSchema:f.menu}),(0,a.jsx)("div",{className:"hidden w-full shrink-0 text-right lg:block lg:w-1/3",children:(0,a.jsx)(i.A,{onClick:h,text:v("account-sign-out"),variant:"outline",size:"small",icon:"Logout",rounding:"rounded",colorSchemaKey:n})})]})})})},en=e=>{let{colorSchemaKey:t,isFullWidth:l,removeSpacingBottom:i,removeSpacingTop:n,headerBackgroun
1d:s}=e,{accountHeaderText:d}=C.y[t].account;return(0,a.jsxs)(r.A,{childrenComponentName:"accountSkeleton",removeSpacingTop:n,removeSpacingBottom:i,children:[(0,a.jsx)(r.A,{childrenComponentName:"account-header",textColor:d,removeSpacingTop:!0,removeSpacingBottom:!0,backgroundImage:s,children:(0,a.jsx)(o.A,{isFullWidth:l,horizontalSpacing:l?et.jy.FullWidth:et.jy.Container,className:l?"":"xl:px-8",children:(0,a.jsxs)("div",{className:"flex w-full animate-pulse flex-col items-center justify-between gap-6 pt-6 pb-4 lg:flex-row lg:py-8",children:[(0,a.jsxs)("div",{className:"flex w-full shrink-0 flex-col items-center gap-2 lg:w-[450px] lg:flex-row lg:gap-3",children:[(0,a.jsx)("div",{className:"h-12 w-12 shrink-0 rounded-full bg-slate-200 lg:h-[56px] lg:w-[56px]"}),(0,a.jsxs)("div",{className:"flex w-full flex-col items-center gap-2 lg:items-start",children:[(0,a.jsx)("div",{className:"h-5 w-1/4 rounded-md bg-slate-200"}),(0,a.jsx)("div",{className:"h-8 w-3/4 rounded-md bg-slate-200 lg:h-10"})]})]}),(0,a.jsx)("div",{className:"h-8 w-[104px] rounded-full bg-slate-200 lg:hidden"}),(0,a.jsxs)("div",{className:"flex w-full items-center justify-center gap-2",children:[(0,a.jsx)("div",{className:"h-6 w-1/3 rounded-md bg-slate-200 lg:w-1/2"}),(0,a.jsx)("div",{className:"h-6 w-1/3 rounded-md bg-slate-200 lg:w-1/2"})]}),(0,a.jsx)("div",{className:"hidden w-full shrink-0 text-right lg:block lg:w-[450px]",children:(0,a.jsx)("div",{className:"ml-auto h-7 w-1/3 rounded-full bg-slate-200"})})]})})}),(0,a.jsx)("div",{className:"bg-grey-on-light-50",children:(0,a.jsx)(o.A,{isFullWidth:l,horizontalSpacing:l?et.jy.FullWidth:et.jy.Container,children:(0,a.jsx)("div",{className:"mx-auto flex w-full flex-col items-center justify-center gap-y-8 py-8 lg:w-[538px] lg:gap-y-12 lg:py-12",children:(0,a.jsxs)("div",{className:h._0,children:[(0,a.jsx)("div",{className:"mx-auto h-8 w-1/2 rounded-md bg-slate-200"}),(0,a.jsxs)("div",{className:h.fo,children:[(0,a.jsx)("div",{className:"h-12 w-full rounded-md bg-slate-200"}),(0,a.jsx)("div",{className:"h-12 w-full rounded-md bg-slate-200"}),(0,a.jsx)("div",{className:"h-12 w-full rounded-md bg-slate-200"}),(0,a.jsx)("div",{className:"h-12 w-full rounded-md bg-slate-200"})]}),(0,a.jsx)("div",{className:"mx-auto h-8 w-1/3 rounded-full bg-slate-200"})]})})})})]})},es=e=>{let{colorSchemaKey:t,isFullWidth:l,removeSpacingBottom:o,removeSpacingTop:i,menuItems:n,headerBackground:s}=e,{isLoading:d,userInfo:c}=(0,T.useContext)(w.c);return d||!c?(0,a.jsx)(en,{colorSchemaKey:t,isFullWidth:l,removeSpacingTop:i,removeSpacingBottom:o,headerBackground:s}):(0,a.jsxs)(r.A,{childrenComponentName:"account",removeSpacingTop:i,removeSpacingBottom:o,children:[(0,a.jsx)(ei,{isFullWidth:l,colorSchemaKey:t,menuItems:n,headerBackground:s}),(0,a.jsx)(el,{menuItems:n,isFullWidth:l,colorSchemaKey:t})]})}},22531:(e,t,l)=>{"use strict";l.d(t,{d:()=>a});var a=function(e){return e.givenName="given_name",e.familyName="family_name",e.birthday="birthday",e.favoriteTeams="favourite_team",e.favoritePlayers="favourite_player",e.country="country",e}({})},22600:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233),s=l(39996);let d=e=>{let{matchId:t,seasonIds:l,dateFormat:d="iso",hideBroadcaster:c,hideCalendar:u,hideTickets:m,hideCompetitionLogo:h,hideGoalScorer:g,hideMatchday:p,backgroundUrl:v,timeFormat:f="12h",headerTitleHeadingLevel:y=o.v.h2,compactView:x,compactViewOnScroll:b,enableTeamLinks:w,teamUrlPattern:j,enablePlayerLinks:N,playerUrlPattern:T,showErrorMessage:S,showRetryButton:A,competitionLogoUrl:P,broadcasterList:k}=e,{SDP_PROJECT:C}=(0,i.V)(),I=(0,s.A)(),L={primary:"var(--color-grey-on-light-0)",background:"var(--color-grey-on-dark-0)",bgOverlay:"color-mix(in oklab, #000 65%, transparent)",buttonOutlinedBorder:"#bb29bb",buttonOutlinedHoverBorder:"#bb29bb",buttonOutlinedText:"var(--color-grey-on-light-0)",buttonFilledBg:"#bb29bb",buttonFilledHoverBg:"#bb29bb",buttonFilledText:"var(--color-grey-on-light-0)"},F={type:n.p2,sport:n.Fn,project:C,matchId:null!=t?t:"",seasonIds:null!=l?l:[],dateFormat:"short"===d?"iso":d,timeFormat:f,hideBroadcaster:c,hideCalendar:u,hideTickets:m,hideCompetitionLogo:h,hideGoalScorer:g,hideMatchday:p,compact:x,compactViewOnScroll:b,compactViewExternalTrigger:b?"#sticky-section-trigger":void 0,enableTeamLinks:w,teamUrlPattern:j,enablePlayerLinks:N,playerUrlPattern:T,showErrorMessage:S,showRetryButton:A,competitionLogoUrl:P,broadcasterList:k,geoCountryCode:I,theme:{widget:{lightColors:L,darkColors:L}}};return(0,a.jsx)(r.Nr,{...F})}},22640:(e,t,l)=>{"use strict";l.d(t,{default:()=>c});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233),s=l(17503),d=l(98412);let c=e=>
1{let{seasonIds:t,cardBackgroundUrl:l,headerTitleHeadingLevel:c=o.v.h2,teamGeneralStatsSlots:u,teamSummaryStatsIds:m,teamWorkRateStatsIds:h,teamAttackStatsSlots:g,teamAttackStatsIds:p,teamPassesStatsSlots:v,teamPassesStatsIds:f,teamDefenseStatsSlots:y,teamDefenseStatsIds:x,playerStatsSlots:b,playerSummaryStatsIds:w,playerWorkRateStatsIds:j,showErrorMessage:N,showRetryButton:T,competitionIconUrl:S}=e,{SDP_PROJECT:A}=(0,i.V)(),P={"general-possession":["possession-perc"],"general-passing-accuracy":["passing-accuracy-perc"],"general-momentum":["momentum"],"general-summary":(0,s.Gn)(m),"general-player-movement":["player-movement-metric"],"general-work-rate":(0,s.Gn)(h)},k={"attack-shot-accuracy":["shot-accuracy-perc"],"attack-shot-map":["shot-map-data"],"attack-shots-in-out-box":["shots-at-goal-inside-box","shots-at-goal-outside-box"],"attack-stats":(0,s.Gn)(p),"attack-area":["attack-area-heatmap"]},C={"passes-possession":["possession-perc"],"passes-passing-accuracy":["passing-accuracy-perc"],"passes-stats":(0,s.Gn)(f),"passes-crosses-completed":["crosses-complete-perc"],"passes-ball-possession-time":void 0,"passes-ball-possession-area":["defHalfBallPossessionPerc","offHalfBallPossessionPerc"]},I={"defense-tackles-won":["wonTackle"],"defense-stats":(0,s.Gn)(x),"defense-duels-won":["groundDuelsWonPerc"],"defense-aerial-duels-won":["aerialDuelsWonPerc"]},L={general:(0,d.f)(P,u),attack:(0,d.f)(k,g),passes:(0,d.f)(C,v),defense:(0,d.f)(I,y)},F={"player-information":void 0,"player-passing-accuracy":void 0,"player-summary":(0,s.Gn)(w),"player-movement":void 0,"player-work-rate":(0,s.Gn)(j)},B=(0,d.f)(F,b),E={title:"var(--color-widget-label-primary)",barValue:"var(--color-widget-label-primary)",barHomeTeam:"var(--color-primary-on-light-200)",barAwayTeam:"var(--color-grey-on-light-100)",homeTeamPrimary:"var(--color-primary-on-light-200)",awayTeamPrimary:"var(--color-grey-on-light-100)",tabText:"var(--color-grey-on-light-900)",tabActiveText:"var(--color-grey-on-light-900)",tabActiveBg:"var(--color-primary-on-light-200)",tabActiveBgHover:"var(--color-primary-on-light-200)",tabActiveBorder:"var(--color-primary-on-light-200)",tabContainerBorder:"var(--color-widget-border-primary)",tabContainerBackground:"var(--color-primary-on-dark)",text:"var(--color-widget-label-primary)",textPrimary:"var(--color-widget-label-primary)",secondaryText:"var(--color-widget-label-secondary)",labelText:"var(--color-widget-label-primary)",icon:"var(--color-widget-label-primary)",divider:"var(--color-widget-border-primary)",dividerIcon:"var(--color-widget-label-secondary)",border:"var(--color-widget-border-primary)",cardBackground:"var(--color-grey-on-light-900)",cardBorder:"var(--color-widget-border-primary)",cardBackgroundTint:"var(--color-grey-on-light-900)",teamCardBackground:"var(--color-grey-on-light-900)",teamCardText:"var(--color-widget-label-primary)",teamCardBadgeText:"var(--color-widget-label-primary)",teamCardAccentBorder:"var(--color-primary-on-light-200)",teamCardDivider:"var(--color-widget-border-primary)",flexCardBackground:"var(--color-grey-on-light-900)",flexCardBorder:"var(--color-widget-border-primary)",comparisonTableTitle:"var(--color-widget-label-primary)",comparisonTableText:"var(--color-widget-label-primary)",comparisonTableDivider:"var(--color-widget-border-primary)",tableText:"var(--color-widget-label-primary)",tableDivider:"var(--color-widget-border-primary)",tableWinnerHomeBg:"var(--color-primary-on-light-200)",tableWinnerHomeText:"var(--color-grey-on-light-900)",tableWinnerAwayBg:"var(--color-grey-on-light-100)",tableWinnerAwayText:"var(--color-grey-on-light-900)",circularPanelTitle:"var(--color-widget-label-primary)",circularPanelIcon:"var(--color-widget-label-secondary)",circularProgressBackground:"var(--color-grey-on-light-700)",circularProgressText:"var(--color-widget-label-primary)",circularText:"var(--color-widget-label-primary)",circularProgressBg:"var(--color-grey-on-light-700)",playerMovementTitle:"var(--color-widget-label-primary)",playerMovementIcon:"var(--color-widget-label-secondary)",playerMovementText:"var(--color-widget-label-primary)",playerMovementChartHomePrimary:"var(--color-primary-on-light-200)",playerMovementChartHomeSecondary:"var(--color-primary-on-light-300)",playerMovementChartHomeTertiary:"var(--color-primary-on-light-200)",playerMovementChartAwayPrimary:"var(--color-grey-on-light-100)",playerMovementChartAwaySecondary:"var(--color-grey-on-light-300)",playerMovementChartAwayTertiary:"var(--color-grey-on-light-100)",linearComparisonTitle:"var(--color-widget-label-primary)",linearComparisonBarValue:"var(--color-widget-label-primary)",progressBackgroun
1d:"var(--color-grey-on-light-700)",pitchLines:"var(--color-grey-on-light-700)",pitchBackground:"var(--color-grey-on-light-800)",pitchBorder:"var(--color-grey-on-light-700)",pitchBg:"var(--color-grey-on-light-800)",pitchHighlight:"var(--color-primary-on-light-200)",shotsBoxTitle:"var(--color-widget-label-primary)",shotsBoxText:"var(--color-widget-label-primary)",attackAreaTitle:"var(--color-widget-label-primary)",attackAreaText:"var(--color-widget-label-primary)",backgroundTint:"var(--color-grey-on-light-900)",dropdownBackground:"var(--color-grey-on-light-1000)",dropdownBorder:"var(--color-widget-border-primary)",dropdownText:"#FFFFFF",dropdownPlaceholder:"var(--color-widget-label-secondary)",dropdownHoverBackground:"var(--color-grey-on-light-700)",dropdownFocusRing:"var(--color-primary-on-light-200)",resetButtonText:"var(--color-primary-on-light-200)",resetText:"var(--color-primary-on-light-200)",errorText:"var(--color-widget-label-primary)",errorMessage:"var(--color-widget-label-secondary)",retryButtonBackground:"var(--color-primary-on-light-200)",retryButtonText:"var(--color-grey-on-light-900)",retryButtonHoverBackground:"var(--color-primary-on-light-300)",retryBtnBg:"var(--color-primary-on-light-200)",retryBtnText:"var(--color-grey-on-light-900)",retryBtnHover:"var(--color-primary-on-light-300)",emptyMessage:"var(--color-widget-label-secondary)",playerCardText:"var(--color-widget-label-primary)",playerCardBorder:"var(--color-widget-border-primary)",playerCardBg:"var(--color-grey-on-light-900)",playerCardInnerShadow:"var(--color-grey-on-light-800)",playerCardInnerBorder:"var(--color-widget-border-primary)",selectText:"var(--color-widget-label-primary)",selectBackground:"var(--color-grey-on-light-900)",selectBorder:"var(--color-widget-border-primary)",selectFocusBorder:"var(--color-primary-on-light-200)",selectItemHoverBg:"var(--color-grey-on-light-700)"},_={type:n.vB,sport:n.Fn,project:A,seasonIds:null!=t?t:[],cardBackgroundUrl:l,startHeadingLevel:Number(c),teamTabsConfig:L,playerTabsConfig:B,showErrorMessage:N,showRetryButton:T,competitionIconUrl:S,theme:{widget:{lightColors:E,darkColors:E}}};return(0,a.jsx)(r.ff,{..._})}},23183:(e,t,l)=>{"use strict";l.d(t,{Gb:()=>h,Qd:()=>p,Rz:()=>a,WU:()=>d,i$:()=>s,lo:()=>u,mu:()=>m});let a=(e,t)=>{switch(t.type){case"SET_SELECTED_CLUBS":return{...e,selectedClubs:t.payload};case"SET_DATE_RANGE":return{...e,selectedDateRange:t.payload};case"SET_ACTIVE_TAB":return{...e,activeTab:t.payload};case"SELECT_CLUBS":return{...e,selectedClubs:[...e.selectedClubs,...t.payload.clubIds],selectedClubsMap:{...e.selectedClubsMap,...t.payload.clubsMap}};case"UNSELECT_CLUB":return{...e,selectedClubs:e.selectedClubs.filter(e=>e!==t.payload),selectedClubsMap:c(e.selectedClubsMap,t.payload)};case"RESET_FILTERS":return{selectedClubs:[],selectedClubsMap:{},selectedDateRange:void 0,activeTab:t.payload.defaultTab,polledMatches:e.polledMatches};case"UPDATE_POLLED_MATCHES":return{...e,polledMatches:t.payload};default:return e}},r=e=>null!=e&&"object"==typeof e&&"teamId"in e&&"string"==typeof e.teamId,o=(e,t)=>{var l;return t&&(null==e?void 0:e.length)&&null!=(l=e.find(e=>{var l,a;return(null==(l=e.home)?void 0:l.teamId)===t||(null==(a=e.away)?void 0:a.teamId)===t}))?l:null},i=(e,t)=>{var l,a;return e&&t?(null==(l=e.home)?void 0:l.teamId)===t&&r(e.home)?e.home:(null==(a=e.away)?void 0:a.teamId)===t&&r(e.away)?e.away:null:null},n=e=>({name:e.officialName||e.shortName||e.teamId,logo:(null==e?void 0:e.teamLogo)||"",competitionSlug:e.teamCompetition||""}),s=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!(null==e?void 0:e.length)||!(null==t?void 0:t.length))return{};let a=new Set(l),r={};for(let l of e){if(!l||a.has(l))continue;let e=o(t,l);if(!e)continue;let s=i(e,l);s&&(r[l]=n(s))}return r},d=(e,t)=>{if(!(null==e?void 0:e.length))return[];if(!(null==t?void 0:t.length))return e;let l=new Set(t);return e.filter(e=>e&&!l.has(e))},c=(e,t)=>{if(!e||!t||!(t in e))return e;let{[t]:l,...a}=e;return a},u=e=>e.reduce((e,t)=>t.teamId?e.set(t.teamId,t):e,new Map),m=(e,t)=>e.map(e=>({...e,home:e.home?{...e.home,...t.get(e.home.teamId)}:e.home,away:e.away?{...e.away,...t.get(e.away.teamId)}:e.away})),h=e=>e.reduce((e,t)=>
1{let l=t.competitionSlug||"Unknown";return e[l]||(e[l]=[]),e[l].push(t),e},{}),g=["UPCOMING","LINEUP","TACTICAL"],p=(e,t)=>{if(!(null==e?void 0:e.length))return!1;let{preMatchWindowHours:l=2,now:a=new Date}=t||{};return e.some(e=>"FINISHED"!==e.status&&("LIVE"===e.status||!!v(e.status)&&!!e.matchDateLocal&&f(e.matchDateLocal,a,l)))},v=e=>g.includes(e),f=(e,t,l)=>{let a=(new Date(e).getTime()-t.getTime())/36e5;return a<=l&&a>=0}},23545:()=>{},23567:()=>{},24155:()=>{},24158:(e,t,l)=>{"use strict";l.d(t,{cb:()=>c});var a=l(65897),r=l(52259),o=l(95125),i=l(15058),n=l(87358);let s="GAD API",d=async e=>{if(!e)return r.A.log("Cannot render GAD asset with no tag",a.T.warning),null;let t="/api/assets/tag?tags=".concat(e);try{r.A.log("Getting Asset from GAD ".concat(t),a.T.debug),t=new URL(t,n.env.GRAPHIC_ASSETS_DASHBOARD_API_BASE_URL).href}catch(e){return(0,i.h)({response:e,apiName:s})}return await o.A.get(t).then(e=>(r.A.log("Retrieved Asset from GAD ".concat(t,". ").concat(JSON.stringify(e.data)),a.T.debug),e.data)).catch(e=>(0,i.h)({response:e,apiName:s,apiUrl:t}))},c=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return u(await d(e))},u=e=>{var t;return null!=(t=null==e?void 0:e[0])?t:null}},24656:(e,t,l)=>{"use strict";l.r(t),l.d(t,{FavoritesProvider:()=>n,useFavorites:()=>i});var a=l(95155),r=l(12115);let o=(0,r.createContext)(void 0),i=()=>{let e=(0,r.useContext)(o);if(!e)throw Error("useFavorites must be used within a FavoritesProvider");return e},n=e=>{let{children:t,allClubs:l,allPlayers:i,allCompetitions:n,favoritesModalHeaderLogo:s,favoriteClubsMaxLimit:d,favoritePlayersMaxLimit:c}=e,u=(0,r.useMemo)(()=>({allClubs:l,allPlayers:i,allCompetitions:n,favoritesModalHeaderLogo:s,favoriteClubsMaxLimit:d,favoritePlayersMaxLimit:c}),[l,i,n,s,d,c]);return(0,a.jsx)(o.Provider,{value:u,children:t})}},25241:(e,t,l)=>{"use strict";l.d(t,{default:()=>S});var a=l(95155),r=l(53323),o=l(68663),i=l(7641),n=l(73881),s=l(67231),d=l(31794),c=l(85093),u=l(95277),m=l(33019),h=l(84380),g=l(56396),p=l(37575),v=l(24531),f=l(58944),y=l(78105),x=l(15239),b=l(75889),w=l(81156);let j=e=>{var t,l;let{isOpen:j,data:N,primaryNavigationItems:T,socialItems:S,serviceNavigationMenuData:A,serviceIcons:P,frontendConfiguration:k,backgroundDrawerImgUrl:C,logo:I,setIsOpen:L}=e,F=(0,h.A)();if((0,u.ZM)(N))return null;let B=(0,m.fD)(N);(0,m.kT)(N);let E=B.hamburger,_=(0,d.sW)(N.variables,v.L_);o.e[null!=_?_:g.fs.light],k&&(null==k||null==(t=k.allSites)||t.length);let R="\n ".concat(E.background," ").concat(E.text,"\n transition-transform duration-500 power-4 transform-gpu\n flex top-0 ltr:left-0 rtl:right-0\n w-full md:w-[390px] h-full\n fixed overflow-hidden ").concat(j?"drawer-open ltr:translate-x-0 rtl:transform-none ltr:left-0 rtl:right-0":"ltr:-translate-x-[100%] rtl:translate-x-[100%]","\n");return(0,a.jsxs)("div",{className:"z-50 flex flex-col",children:[(0,a.jsx)(f.N,{children:(0,a.jsx)(n.w,{condition:j,children:(0,a.jsx)(y.P.div,{exit:{opacity:0},initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.5},className:"cover-screen fixed inset-0 bg-black/60",onClick:()=>L(!1),"aria-hidden":"true"})})}),(0,a.jsxs)("div",{className:R,children:[(0,a.jsx)(n.w,{condition:!!C,children:(0,a.jsx)(x.default,{src:null!=C?C:"",alt:"",loading:"lazy",quality:100,fill:!0,className:"absolute object-cover"})}),(0,a.jsxs)("div",{className:"flex h-full w-full flex-col",children:[(0,a.jsxs)("div",{className:(0,b.QP)("flex w-full grow items-center justify-between px-8 pt-6 lg:px-12"),children:[(0,a.jsx)(n.w,{condition:!!I,children:(0,a.jsx)("div",{className:"flex w-full justify-start",children:(0,a.jsx)(w.default,{href:"/","aria-label":F("nav-home"),title:F("nav-home"),children:(0,a.jsx)(i.default,{src:null!=(l=null==I?void 0:I.assetUrl)?l:"",alt:"",transformations:null===p.N||void 0===p.N?void 0:p.N.default_assets,width:null==I?void 0:I.width,height:null==I?void 0:I.height,className:"h-auto w-32 md:w-40"})})})}),(0,a.jsxs)("div",{className:"relative flex h-14.5 w-full items-center justify-end",children:[(0,a.jsx)("button",{className:"cursor-pointer",onClick:()=>L(!1),id:"hamburger-close","aria-label":F("close"),title:F("close"),children:(0,a.jsx)("div",{className:"h-6 w-6",children:(0,s.a)("Close",{className:"fill-current transition duration-300 hover:rotate-90"})})}),(0,a.jsx)("div",{className:"flex items-center justify-end gap-4",children:P})]})]}),(0,a.jsxs)("div",{className:(0,b.QP)(E.scrollBar,"flex h-full flex-col overflow-auto px-8 pt-6 lg:px-12"),children:[T,(0,a.jsx)(n.w,{condition:!!A,children:(0,a.jsx)("nav",{"aria-label":"Service Navigation",className:"z-1 flex h-full flex-col justify-center gap-3 py-10",children:(A||[]).map((e,t)=>{var l,o,i,n,s;let d=null==e||null==(l=e.icon)?void 0:l.data,u=(0,c.nB)(null==e||null==(o=e.properties)?void 0:o.data),m=null==u?void 0:u.component;return(null==e?void 0:e.visible)&&(0,a.jsx)(r.A,{url:null!=(i=null==e?void 0:e.link)?i:"",target:null!=(n=null==e?void 0:e.target)?n:"_self",text:null!=(s=null==e?void 0:e.text)?s:"",icon:d,size:"responsive",className:"h-[42px] border-white text-white",variant:"outline",rounding:"rounded",buttonType:m,disabled:!(null==e?void 0:e.link)},t)})})})]}),(0,a.jsx)("footer",{className:"z-10 mx-auto flex w-full flex-col justify-center gap-4 px-4 pb-6 lg:px-12",children:(0,a.jsx)(n.w,{condition:!!(S&&(null==S?void 0:S.length)>0),children:(0,a.jsx)("div",{className:(0,b.QP)("border-t pt-4",null==E?void 0:E.border),children:S})})})]})]})]})};var N=l(85880),T=l(12115);let S=e=>{let{data:t,primaryNavigationItems:l,socialItems:r,serviceNavigationMenuData:i,serviceIcons:n,frontendConfiguration:c,backgroundDrawerImgUrl:u,logo:m}=e,[h,p]=(0,T.useState)(!1);(0,T.useEffect)(()=>{let e=e=>{"Escape"===e.key&&p(!1)};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]),(e=>{(0,T.useEffect)(()=>{let t=document.getElementsByTagName("html")[0];return t.classList.toggle("overflow-hidden",e),()=>{t.classList.remove("overflow-hidden")}},[e])})(h);let f=(0,d.sW)(t.variables,v.L_),y=(0,d.sW)(t.variables,v.dc),x=o.e[null!=f?f:g.fs.light];return(0,a.jsxs)("div",{className:"hamburger z-50 flex items-center justify-start",children:[(0,a.jsx)("button",{className:"group h-full w-full space-y-2",onClick:()=>p(!0),"aria-expanded":h,id:"hamburger","aria-label":(0,N.Tl)("open"),title:(0,N.Tl)("open"),children:(0,a.jsx)("div",{className:"h-6 w-6",children:(0,s.a)("HamburgerMenu",{className:"fill-current cursor-pointer transition duration-300 ".concat(y?x.transparentHeaderText:x.text," ").concat(x.hover)})})}),(0,a.jsx)(j,{headerColorSchema:x,isOpen:h,data:t,primaryNavigationItems:l,socialItems:r,serviceNavigationMenuData:i,serviceIcons:n,frontendConfiguration:c,setIsOpen:p,backgroundDrawerImgUrl:u,logo:m})]})}},25302:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var a=l(95155),r=l(12115);let o=function(){let{threshold:e=.1,rootMargin:t="0px",triggerOnce:l=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[a,o]=(0,r.useState)(!1),i=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let a=i.current;if(!a)return;let r=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting?(o(!0),l&&r.unobserve(a)):l||o(!1)},{threshold:e,rootMargin:t});return r.observe(a),()=>{r.unobserve(a)}},[e,t,l]),[i,a]};var i=l(49938);let n=e=>{let{as:t,ref:l,children:r,isAnimated:n=!0,threshold:s=.1,rootMargin:d="0px",triggerOnce:c=!0,className:u,onInView:m,render:h,...g}=e,[p,v]=o({threshold:s,rootMargin:d,triggerOnce:c}),f=(0,i.s)(p,l);return m&&n&&m(v),(0,a.jsx)(null!=t?t:"div",{ref:f,className:u,...g,children:h?h(!n||v):r})};n.displayName="ViewportAnimationWrapper";var s=l(18300);let d=e=>{let{value:t,duration:l=1.5,isAnimated:r=!0,threshold:o=.1,rootMargin:i="0px",triggerOnce:d=!0,className:c}=e;return(0,a.jsx)(n,{isAnimated:r,threshold:o,rootMargin:i,triggerOnce:d,className:c,render:e=>(0,a.jsx)(s.A,{value:t,startAnimation:e,duration:l,isAnimated:r})})}},25428:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233),s=l(17503);let d=e=>
1{let{seasonIds:t,cardBackgroundUrl:l,tableBackgroundUrl:d,headerTitleHeadingLevel:c=o.v.h2,clubDropdownStatsIds:u,clubStatsIds:m,playerDropdownStatsIds:h,playerStatsIds:g,enablePlayerLinks:p,enableTeamLinks:v,teamUrlPattern:f,playerUrlPattern:y,playerPageNumElement:x,clubPageNumElement:b,playerOrderBy:w,clubOrderBy:j,useDarkHeader:N,showErrorMessage:T,showRetryButton:S}=e,{SDP_PROJECT:A}=(0,i.V)(),P=(0,s.Gn)(u),k=(0,s.Gn)(m),C=(0,s.Gn)(h),I=(0,s.Gn)(g),L={title:"var(--color-widget-label-primary)",dropdownText:"var(--color-widget-label-primary)",dropdownBorder:"var(--color-widget-border-primary)",dropdownMenuItemText:"var(--color-widget-label-primary)",dropdownMenuItemHoverBg:"var(--color-grey-on-light-700)",tabContainerBg:"var(--color-primary-on-dark)",tabContainerBorder:"var(--color-widget-border-primary)",tabActiveBg:"var(--color-primary-on-light-200)",tabActiveBgHover:"var(--color-primary-on-light-200)",tabActiveBorder:"var(--color-primary-on-light-200)",tabActiveText:"var(--color-grey-on-light-900)",tabInactiveText:"var(--color-grey-on-light-900)",tableBackBtn:"var(--color-primary-on-light-200)",tableBg:"var(--color-grey-on-light-900)",tableBorder:"var(--color-widget-border-primary)",tableBgOverlay:"var(--color-grey-on-light-900)",tableDarkOverlay:"var(--color-grey-on-light-900)",tableStatDropdownBg:"var(--color-primary-on-light-200)",tableStatDropdownText:"var(--color-widget-label-primary)",tableStatDropdownBorder:"var(--color-widget-border-primary)",tableSeasonDropdownText:"var(--color-widget-label-primary)",tableSeasonDropdownBorder:"var(--color-widget-border-primary)",tableContainerBg:"var(--color-grey-on-light-900)",tableNoDataText:"var(--color-widget-label-secondary)",tableRowText:"var(--color-widget-label-primary)",tableRowFavoriteBg:"var(--color-primary-on-light-200)",tableRowFavoriteText:"var(--color-grey-on-light-900)",clcCardBg:"var(--color-grey-on-light-900)",clcCardBorder:"var(--color-widget-border-primary)",clcHeaderBg:"var(--color-grey-on-light-900)",clcHeaderBorder:"var(--color-widget-border-primary)",clcHeaderText:"var(--color-widget-label-primary)",clcLeaderBg:"var(--color-grey-on-light-900)",clcLeaderOverlay:"var(--color-grey-on-light-900)",clcLeaderText:"var(--color-widget-label-primary)",clcLeaderIcon:"var(--color-primary-on-light-200)",clcTableHeaderBg:"var(--color-grey-on-light-900)",clcTableHeaderText:"var(--color-widget-label-secondary)",clcTableHeaderBorder:"var(--color-widget-border-primary)",clcRowText:"var(--color-widget-label-primary)",clcRowIcon:"var(--color-primary-on-light-200)",clcRowDivider:"var(--color-widget-border-primary)",clcDropdownBg:"var(--color-grey-on-light-900)",clcDropdownBorder:"var(--color-widget-border-primary)",clcDropdownText:"var(--color-widget-label-primary)",clcFocusRing:"var(--color-primary-on-light-200)",plcCardBg:"var(--color-grey-on-light-900)",plcCardBorder:"var(--color-widget-border-primary)",plcHeaderBg:"var(--color-grey-on-light-900)",plcHeaderBorder:"var(--color-widget-border-primary)",plcHeaderText:"var(--color-widget-label-primary)",plcLeaderBg:"var(--color-grey-on-light-900)",plcLeaderOverlay:"var(--color-grey-on-light-900)",plcLeaderFirstName:"var(--color-widget-label-primary)",plcLeaderLastName:"var(--color-widget-label-primary)",plcLeaderClubText:"var(--color-primary-on-light-200)",plcLeaderBib:"var(--color-widget-label-primary)",plcLeaderText:"var(--color-widget-label-primary)",plcLeaderIcon:"var(--color-primary-on-light-200)",plcTableHeaderBg:"var(--color-grey-on-light-900)",plcTableHeaderText:"var(--color-widget-label-secondary)",plcTableHeaderBorder:"var(--color-widget-border-primary)",plcRowText:"var(--color-widget-label-primary)",plcRowBib:"var(--color-widget-label-primary)",plcRowClubText:"var(--color-widget-label-secondary)",plcRowIcon:"var(--color-primary-on-light-200)",plcRowDivider:"var(--color-widget-border-primary)",plcDropdownBg:"var(--color-grey-on-light-900)",plcDropdownBorder:"var(--color-widget-border-primary)",plcDropdownText:"var(--color-widget-label-primary)",plcFocusRing:"var(--color-primary-on-light-200)"},F={type:n.Nc,sport:n.Fn,project:A,seasonIds:null!=t?t:[],cardBackgroun
1dUrl:l,tableBackgroundUrl:d,startHeadingLevel:Number(c),clubDropdownStatsIds:P,clubStatsIds:k,playerDropdownStatsIds:C,playerStatsIds:I,enableTeamLinks:v,teamUrlPattern:f,enablePlayerLinks:p,playerUrlPattern:y,playerPageNumElement:null==x?void 0:x.toString(),clubPageNumElement:null==b?void 0:b.toString(),playerOrderBy:w,clubOrderBy:j,useTableDarkHeader:N,showErrorMessage:T,showRetryButton:S,theme:{widget:{lightColors:L,darkColors:L}}};return(0,a.jsx)(r.zm,{...F})}},26097:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var a=l(95155),r=l(53323),o=l(83617),i=l(84380),n=l(30927),s=l(75889);let d=e=>{let{colorSchemaKey:t,onClick:l}=e,d=(0,i.A)(),{container:c,innerContainer:u,text:m}=n.y[t].addFavoriteCard;return(0,a.jsx)("div",{className:(0,s.QP)(c,"h-85 w-56.5 shrink-0 overflow-hidden rounded-lg border-3 border-dashed lg:h-128 lg:w-85.5 lg:rounded-2xl"),children:(0,a.jsxs)("div",{className:(0,s.QP)(u,"flex h-full w-full flex-col items-center justify-center gap-5"),children:[(0,a.jsx)(r.A,{colorSchemaKey:t,rounding:"rounded",icon:"Plus",className:"size-13 rounded-full p-0 lg:size-14",iconClassName:"size-6 lg:size-8",onClick:l}),(0,a.jsx)(o.Ay,{variant:o.PT.h4,className:(0,s.QP)(m,"w-24.5 text-center break-words capitalize"),children:d("add-favorite")})]})})}},26556:(e,t,l)=>{"use strict";l.d(t,{cr:()=>o,jK:()=>r,nj:()=>i});let a=e=>!!e&&/^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/.test(e),r=(e,t)=>{let l={...a(e)&&{"--competition-color":e},...a(t)&&{"--competition-secondary-color":t}};return Object.keys(l).length>0?l:void 0},o=e=>{let t={...a(e)&&{"--club-color":e}};return Object.keys(t).length>0?t:void 0},i=e=>{let t={"--qualification-color":a(e)?e:"transparent"};return Object.keys(t).length>0?t:void 0}},26648:(e,t,l)=>{"use strict";l.d(t,{Bm:()=>c,R_:()=>u});var a=l(30699),r=l(24531),o=l(18045),i=l(56396),n=l(21124),s=l(87358);let d={allSites:[]},c=()=>d,u=async()=>{var e,t,l,n,c,u;if(!(null==d||null==(e=d.allSites)?void 0:e.length)){let e=await (0,o.Z)(null!=(n=s.env.PAGE_BUILDER_FRONTEND_PAGE_BASE_PATH)?n:r.lw);(e=>{let t=(0,a.hy)(e,i.jB.languages),l=[],r=[];return null==t||t.forEach(e=>{if((null==e?void 0:e.key.indexOf("culture"))!==-1){var t,l,a;r.push(null==e||null==(a=e.value)||null==(l=a.replace("-culture",""))||null==(t=l.replace("-","_"))?void 0:t.toLowerCase())}}),null==r||r.forEach(e=>{var a,r,o,i,n,s;let d=null!=(i=null==(a=t.find(t=>(null==t?void 0:t.key)===e+"_culture"))?void 0:a.value)?i:"",c=null!=(n=null==(r=t.find(t=>(null==t?void 0:t.key)===e+"_url"))?void 0:r.value)?n:"",u=null!=(s=null==(o=t.find(t=>(null==t?void 0:t.key)===e+"_voc_tag"))?void 0:o.value)?s:"";d&&c&&u&&l.push({culture:d,url:c,translation:u})}),d.allSites=l})(null!=(c=null==e||null==(l=e.data)?void 0:l.metadata)?c:[])}return null!=(u=null==(t=d.allSites.find(e=>e.culture===s.env.CULTURE))?void 0:t.url)?u:""};(0,n.unstable_cache)(async()=>{var e,t;let l=await (0,o.Z)(null!=(e=s.env.PAGE_BUILDER_FRONTEND_PAGE_BASE_PATH)?e:r.lw);return null!=(t=null==l?void 0:l.data.metadata)?t:[]},["getSiteMetadata"],{revalidate:60,tags:["getSiteMetadata"]})},27180:(e,t,l)=>{"use strict";l.d(t,{Q:()=>i,x:()=>o});var a=l(56396),r=l(44630);let o=async()=>{let e=await (0,r.Rk)(a.aV.competitions,{hasGadAssetsFields:!0});return(null==e?void 0:e.items)||[]},i=e=>e.reduce((e,t)=>{if(t.slug){var l,a,r,o;e[t.slug]={logoOnLight:null!=(r=null==(l=t.fields)?void 0:l.logoOnLight)?r:null,logoOnDark:null!=(o=null==(a=t.fields)?void 0:a.logoOnDark)?o:null}}return e},{})},28328:(e,t,l)=>{"use strict";l.d(t,{default:()=>M});var a=l(95155),r=l(15239),o=l(12115),i=l(75889),n=l(56396),s=l(67785),d=l(88697),c=l(73881),u=l(72634),m=l(19378),h=l(8173);let g=e=>{let{playerId:t,playerImage:l,alt:r,colorSchemaKey:o,isYourFavourite:n}=e;return(0,a.jsx)(c.w,{condition:!!t,children:(0,a.jsx)("div",{className:(0,i.QP)("absolute top-14 right-0 bottom-auto left-auto z-[-1] h-[200px] w-auto lg:top-0 lg:right-0 lg:bottom-0 lg:left-0 lg:h-full lg:w-full",n&&"top-54 lg:top-35"),children:(0,a.jsx)(h.A,{alt:r,colorSchemaKey:o,className:"h-full w-full rounded-2xl mask-b-from-70% mask-b-to-100% object-contain",playerImage:l})})})};var p=l(84380),v=l(83617),f=l(75179);let y=e=>{let{color:t}=e;return(0,a.jsx)("div",{className:"h-[1px] w-full ".concat(t)})},x=e=>{var t;let{player:l,colorSchema:r,className:o}=e,n=(0,p.A)(),s=!!l.roleLabel,d=!!l.homeTown,u=!!l.dateOfBirth,m=!!(null==l?void 0:l.height),h=u||m;return(0,a.jsxs)("div",{className:(0,i.QP)("flex w-full flex-col gap-3 lg:max-w-[290px]",o),children:[(0,a.jsx)(c.w,{condition:s,children:(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-1",children:[(0,a.jsxs)(v.Ay,{variant:v.PT["body-4"],children:[n("player-header-position"),":"]}),(0,a.jsx)(v.Ay,{variant:v.PT["h4-uppercase"],children:l.roleLabel})]})}),(0,a.jsxs)(c.w,{condition:!!(null==l?void 0:l.internationalCaps),children:[(0,a.jsx)(y,{color:(null==r?void 0:r.playerDetailsSeparator)||""}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-1",children:[(0,a.jsxs)(v.Ay,{variant:v.PT["body-4"],children:[n("player-header-international-caps"),":"]}),(0,a.jsx)(v.Ay,{variant:v.PT.h4,children:null!=(t=null==l?void 0:l.internationalCaps)?t:0})]})]}),(0,a.jsx)(c.w,{condition:s&&(d||h),children:(0,a.jsx)(y,{color:(null==r?void 0:r.playerDetailsSeparator)||""})}),(0,a.jsx)(c.w,{condition:d,children:(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-1",children:[(0,a.jsxs)(v.Ay,{variant:v.PT["body-4"],children:[n("player-header-birthplace"),":"]}),(0,a.jsx)(v.Ay,{variant:v.PT["h4-uppercase"],children:l.homeTown})]})}),(0,a.jsx)(c.w,{condition:d&&h,children:(0,a.jsx)(y,{color:(null==r?void 0:r.playerDetailsSeparator)||""})}),(0,a.jsx)(c.w,{condition:h,children:(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsx)(c.w,{condition:u,children:(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-1",children:[(0,a.jsxs)(v.Ay,{variant:v.PT["body-4"],children:[n("player-header-age"),":"]}),(0,a.jsx)(v.Ay,{variant:v.PT.h4,children:(0,f.yA)(l.dateOfBirth)})]})}),(0,a.jsx)(c.w,{condition:m,children:(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-1",children:[(0,a.jsxs)(v.Ay,{variant:v.PT["body-4"],children:[n("player-header-height"),":"]}),(0,a.jsx)(v.Ay,{variant:v.PT.h4,children:(0,f.bd)(l.height||"")})]})})]})})]})};var b=l(78441),w=l(68271);let j=e=>{var t,l,r,o;let{player:i,textStroke:n}=e;return(0,a.jsxs)("div",{className:"flex flex-col gap-y-4",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsx)(v.Ay,{variant:v.PT["uber-1"],className:n,children:i.bibNumber}),(0,a.jsxs)("h1",{children:[(0,a.jsx)(v.Ay,{as:"span",variant:v.PT["body-1"],className:"block",children:i.mediaFirstName}),(0,a.jsx)(v.Ay,{as:"span",variant:v.PT["uber-3"],className:"block",children:i.mediaLastName})]})]}),(0,a.jsxs)("div",{className:"flex gap-6",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"relative h-6 w-6 overflow-hidden rounded-full lg:h-7 lg:w-7",children:(0,a.jsx)(w.A,{fill:!0,alt:i.nationalityIsoCode||"",nationalityIsoCode:(null==i?void 0:i.nationalityIsoCode)||""})}),(0,a.jsx)(v.Ay,{variant:v.PT.h6,children:i.nationality})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"relative h-6 w-6 overflow-hidden rounded-full lg:h-8 lg:w-8",children:(0,a.jsx)(b.A,{fill:!0,alt:(null==i||null==(t=i.team)?void 0:t.mediaName)||"",clubId:(null==i||null==(l=i.team)?void 0:l.teamId)||"",logoLight:(null==i||null==(r=i.team)?void 0:r.logoLight)||""})}),(0,a.jsx)(v.Ay,{variant:v.PT.h6,children:null==i||null==(o=i.team)?void 0:o.mediaName})]})]})]})};var N=l(37575);let T=e=>{let{competitionLogo:t,isYourFavourite:l}=e;return t?(0,a.jsx)("div",{className:(0,i.QP)("absolute end-4 top-4 z-10 lg:end-12 lg:top-12",l&&"end-0 top-2.5"),children:(0,a.jsx)(r.default,{src:(0,N.W)(t.assetUrl,N.N.competition_logo.desktop.transformation),alt:t.name||"",width:t.width,height:t.height,className:(0,i.QP)("h-8 w-auto object-contain",l&&"h-5 w-30","lg:h-10 lg:w-auto")})}):null};var S=l(61165),A=l(62893);let P=e=>{let{category:t,clubTheme:l,storytellerLayout:r,isFullWidthLayout:o}=e;return(0,a.jsx)(d.A,{isFullWidth:!0,horizontalSpacing:A.jy.FullWidth,className:"px-0 pt-2 pb-4",children:(0,a.jsx)(S.default,{colorSchema:l,isFullWidthValue:o,storytellerLayout:r,storytellerCategory:t})})};var k=l(52619),C=l.n(k),I=l(53323),L=l(67231),F=l(50645);let B=e=>{let{socialIconColor:t,playerSocials:l}=e,r=(0,F.v)(l);return(0,a.jsx)("div",{className:"flex gap-4 lg:min-w-[32%]",children:r.map(e=>{let{icon:l,url:r,label:o}=e;return(0,a.jsx)(C(),{className:"flex h-10 w-10 items-center justify-center",href:r,target:"_blank",rel:"noopener noreferrer","aria-label":o,children:(0,L.a)(l,{className:"w-full h-full",color:t})},l)})})},E=e=>{let{colorSchema:t,shopLink:l}=e,r=(0,p.A)();return(null==l?void 0:l.url)?(0,a.jsx)("div",{className:"flex justify-center gap-2 lg:min-w-[32%]",children:(0,a.jsxs)(c.w,{condition:!!(null==l?void 0:l.url),children:[(0,a.jsx)("div",{className:"flex h-10 w-10 items-center justify-center",children:(0,L.a)("ShirtSport",{className:"w-full h-full"})}),(0,a.jsx)(I.A,{size:"small",variant:"outline",rounding:"rounded",icon:"ArrowUpRight",url:null==l?void 0:l.url,className:(0,i.QP)(null==t?void 0:t.ctaBtnColor,""),text:(null==l?void 0:l.displayText)||r("buy-shirt"),target:(null==l?void 0:l.openInNewTab)?"_blank":"_self"})]})}):null},_=e=>{let{colorSchema:t,className:l,url:r="",translatedLabelKey:o=""}=e,n=(0,p.A)();return r?(0,a.jsx)("div",{className:(0,i.QP)("flex items-center justify-center lg:min-w-[32%] lg:justify-end",l),children:(0,a.jsx)(I.A,{className:null==t?void 0:t.viewSquadBtnColor,rounding:"rounded",text:n(o),icon:"ArrowRight",size:"small",variant:"outline",url:r})}):null},R=e=>{var t,l;let{player:r,gradient:o,textColor:n,shopLink:s,colorSchema:d,socialIconColor:c,isYourFavourite:u}=e;return(0,a.jsx)("div",{className:"player-header-footer z-10 mt-10 lg:absolute lg:right-0 lg:bottom-0 lg:left-0 lg:mt-0 lg:pt-14 lg:pb-8",children:(0,a.jsxs)("div",{className:(0,i.QP)("flex flex-col items-center gap-3 lg:flex-row lg:justify-between",n),children:[(0,a.jsx)(B,{socialIconColor:c,playerSocials:r.socials}),(0,a.jsx)(E,{textColor:n,colorSchema:d,shopLink:s||(null==r||null==(t=r.links)?void 0:t.shopLink)||null}),(0,a.jsx)(_,{colorSchema:d,className:"hidden lg:flex",translatedLabelKey:u?"view-player-profile":"view-squad",url:u?null==r?void 0:r.playerUrl:null==r||null==(l=r.team)?void 0:l.teamUrl})]})})},M=e=>{var t,l;let{player:h,shopLink:p,clubTheme:v,colorSchema:f,categoryParam:y,hideStoryteller:b,competitionLogo:w,storytellerLayout:N,isFullWidthLayout:S,horizontalSpacing:A,isYourFavourite:k=!1}=e,C=(0,o.useMemo)(()=>{var e;return(0,m.Wt)(v||{isLight:!1},null==h||null==(e=h.team)?void 0:e.teamSlug)},[v,null==h||null==(t=h.team)?void 0:t.teamSlug]),I=f?void 0:{backgroundColor:null==v?void 0:v.backgroundColor};return(0,a.jsxs)("div",{className:"lg:min-h-[617px]",children:[(0,a.jsx)(d.A,{isFullWidth:S,horizontalSpacing:A,className:"px-0 lg:px-4",children:(0,a.jsx)("div",{className:"overflow-hidden",children:(0,a.jsxs)("div",{className:"relative p-4 px-4 lg:py-0 lg:pt-0 lg:pb-0",style:I,children:[(0,a.jsx)("div",{className:"absolute inset-0 flex h-full w-[900px] max-w-[1382px] items-center justify-center overflow-hidden lg:w-full",children:(0,a.jsx)(r.default,{fill:!0,src:C.src,alt:C.alt,className:(0,i.QP)(C.className,"h-full w-full -translate-x-1/2 object-cover object-center lg:-translate-x-0")})}),(0,a.jsxs)("div",{className:"relative z-10",children:[(0,a.jsxs)("div",{className:(0,i.QP)("w-full pt-24 lg:flex lg:h-[617px] lg:items-center lg:justify-between lg:pt-0",k&&"pt-59"),children:[(0,a.jsx)(j,{player:h,textStroke:(null==f?void 0:f.textStroke)||"text-stroke-black"}),(0,a.jsx)(g,{playerId:null==h?void 0:h.playerId,playerImage:null==h?void 0:h.playerImage,colorSchemaKey:null==v?void 0:v.theme,alt:"".concat(h.mediaFirstName," ").concat(h.mediaLastName),isYourFavourite:k}),(0,a.jsx)(x,{player:h,colorSchema:f,className:"hidden lg:flex"}),(0,a.jsx)(c.w,{condition:!!w,children:(0,a.jsx)(T,{competitionLogo:w,isYourFavourite:k})})]}),(0,a.jsx)(R,{player:h,shopLink:p,colorSchema:f,textColor:null==f?void 0:f.text,gradient:null==f?void 0:f.gradient,socialIconColor:null==f?void 0:f.socialIcon,isYourFavourite:k})]}),(0,a.jsxs)("div",{className:(0,i.QP)("px-4 lg:px-0",k&&"px-0"),children:[(0,a.jsx)(x,{player:h,colorSchema:f,className:(0,i.QP)("mt-4 lg:hidden",k&&"mt-10")}),(0,a.jsx)(_,{colorSchema:f,className:(0,i.QP)("mt-6 mb-0.5 lg:hidden",k&&"mt-8"),translatedLabelKey:k?"view-player-profile":"view-squad",url:k?null==h?void 0:h.playerUrl:null==h||null==(l=h.team)?void 0:l.teamUrl})]})]})})}),(0,a.jsx)(c.w,{condition:!b,children:(0,a.jsxs)("div",{className:"storyteller-container inv
1isible h-0",children:[(0,a.jsx)(d.A,{className:"px-0",isFullWidth:S,horizontalSpacing:A,children:(0,a.jsx)("hr",{className:(0,i.QP)("mt-[1px]",null==f?void 0:f.divider)})}),(0,a.jsx)(P,{isFullWidthLayout:S,category:y||(0,s.V)(null==h?void 0:h.playerId),clubTheme:(null==v?void 0:v.isLight)?n.fs.light:n.fs.dark,storytellerLayout:N||u.f.CIRCLE})]})})]})}},29069:(e,t,l)=>{"use strict";l.d(t,{H:()=>s});var a=l(95155),r=l(67231),o=l(56396),i=l(30927),n=l(75889);let s=e=>{let{isLoggedOut:t,initials:l,colorSchemaKey:s=o.fs.light}=e,{userAvatarBackground:d}=i.y[s].header;return(0,a.jsx)("span",{className:(0,n.QP)("flex size-8 items-center justify-center rounded-full text-sm",!t&&!l&&"border border-gray-200 bg-white shadow-sm",!t&&!!l&&"font-bold ".concat(d)),children:t||!l?(0,r.a)("User",{className:t?"size-[30px] text-white":"size-5 lg:size-4 text-gray-800"}):l||"U"})}},30231:(e,t,l)=>{"use strict";l.d(t,{T:()=>j});var a=l(95155),r=l(81156),o=l(7641),i=l(83617),n=l(75649),s=l(74071),d=l(67231);let c=e=>{let{entity:t,...l}=e,a=(0,n.Ek)(null==t?void 0:t.type,null==t?void 0:t.entityCode);return a?(0,d.a)(a,l):null};var u=l(75889);let m=e=>{let{entity:t,className:l}=e,r=(0,n.OQ)(t);return r?(0,a.jsxs)("div",{className:(0,u.QP)("pointer-events-none absolute right-2 bottom-2 z-20 inline-flex items-center gap-1.5 rounded-full bg-black/60 px-2.5 py-1 text-white backdrop-blur-sm sm:gap-2 sm:px-3 sm:py-1.5",l),"aria-label":"Video duration ".concat(r),children:[(0,a.jsx)("svg",{viewBox:"0 0 16 16","aria-hidden":"true",className:"h-3 w-3 shrink-0 sm:h-3.5 sm:w-3.5",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round",children:(0,a.jsx)("path",{d:"M5 3.5v9l7.5-4.5-7.5-4.5z"})}),(0,a.jsx)(i.Ay,{as:"span",variant:i.PT["date-4"],className:"leading-none normal-case tabular-nums",children:r})]}):null};var h=l(94659),g=l(8397),p=l(82873),v=l(30927),f=l(56396),y=l(73881);let x=e=>{var t,l,d,y,x,b;let{entity:w,thumbnailPlaceholder:j,aspectRatio:N=h.Mc.ASPECT_16_9,colorSchemaKey:T=f.fs.light,size:S=h.qJ.small,isHorizontal:A=!1,hideDate:P=!1}=e,k=(0,n._b)({image:w.image,thumbnail:w.thumbnail,coverImage:w.coverImage})||j;if(!k)return null;A=A&&N===h.Mc.ASPECT_4_3;let C=v.y[T].card.regular,I=(0,n.sT)(h.A3.regular,N,S,A);return(0,a.jsx)(r.default,{href:w.url,className:"group/card h-full w-full",title:w.title,"aria-label":w.title,children:(0,a.jsxs)("div",{className:(0,u.QP)("relative flex flex-col gap-2 overflow-hidden",A&&"flex-row"),children:[(0,a.jsx)("div",{className:(0,u.QP)(A&&"flex w-10/12 items-center"),children:(0,a.jsxs)("figure",{className:(0,u.QP)("relative z-10 overflow-hidden",N),children:[(0,a.jsx)("div",{className:(0,u.QP)("absolute z-10","aspect-1/1 absolute inset-2 z-10 max-w-[3rem] w-[15%]","large"===S&&"w-[18%]"),children:(0,a.jsx)(c,{entity:w,className:"h-full w-full"})}),(0,a.jsx)("div",{className:"h-full overflow-hidden rounded-lg",children:(0,a.jsx)(o.default,{src:k,transformations:(0,n.HL)(N),alt:w.title,className:(0,u.QP)("relative block h-full w-full object-cover object-center",w.url?"ease-power-4 transition-transform duration-2000 group-hover/card:scale-110":null),format:null!=(b=null==(t=w.thumbnail)?void 0:t.format)?b:null==(l=w.image)?void 0:l.format})}),(0,a.jsx)(m,{entity:w})]})}),(0,a.jsxs)("div",{className:(0,u.QP)("flex flex-col items-start pe-4",C.title,A?"w-full justify-center":"justify-end"),children:[(null==w||null==(d=w.context)?void 0:d.title)&&(0,a.jsx)(p.Ay,{competitionColor:null==(x=w.context)||null==(y=x.extraData)?void 0:y.competitionColor,badgeVariant:p.xU.radius,className:(0,u.QP)(C.tag,"mb-1"),size:p.vj.medium,children:w.context.title}),(0,a.jsx)(i.Ay,{variant:I.title,as:"p",className:(0,u.QP)("mb-2 line-clamp-3 text-ellipsis",C.title),children:w.title}),!!(null==w?void 0:w.contentDate)&&!P&&(0,a.jsx)(i.Ay,{variant:I.date,as:"div",className:C.date,children:(0,a.jsx)(s.default,{date:w.contentDate,dateType:g.r.standard})})]})]})})};var b=l(78105);l(12115);let w={[h.A3.fullImg]:e=>{var t,l,d,y,x,b;let{entity:w,thumbnailPlaceholder:j,aspectRatio:N=h.Mc.ASPECT_2_3,colorSchemaKey:T=f.fs.light,size:S=h.qJ.small,hideDate:A=!1}=e,P=(0,n._b)({image:w.image,thumbnail:w.thumbnail,coverImage:w.coverImage})||j;if(!P)return null;let k=v.y[T].card.fullImg,C=(0,n.sT)(h.A3.fullImg,N,S);return(0,a.jsx)(r.default,{href:w.url,className:"group/card @container/full-img-card block h-full w-full overflow-hidden rounded-lg",title:w.title,"aria-label":w.title,children:(0,a.jsxs)("div",{className:(0,u.QP)("relative flex h-full rounded-2xl before:absolute before:bottom-0 before:z-10 before:h-2/3 before:w-full before:transform-gpu before:rounded-lg before:bg-[linear-gradient(360deg,rgba(0,0,0,0.9)_0%,rgba(0,0,0,0.4)_50%,rgba(0,0,0,0)_100%)]",N),children:[(0,a.jsx)("div",{className:(0,u.QP)("absolute z-10","aspect-1/1 absolute inset-2 z-10 max-w-[3rem] w-[15%]","large"===S&&"inset-4 w-[18%]",N===h.Mc.ASPECT_16_9&&"hidden @xs/full-img-card:block"),children:(0,a.jsx)(c,{entity:w,className:"h-full w-full"})}),(0,a.jsx)(o.default,{src:P,transformations:(0,n.HL)(N),alt:w.title,className:(0,u.QP)("block h-full w-full rounded-lg object-cover object-center",w.url?"ease-power-4 transition-transform duration-2000 group-hover/card:scale-110":null),format:null!=(b=null==(t=w.thumbnail)?void 0:t.format)?b:null==(l=w.image)?void 0:l.format}),(0,a.jsx)(m,{entity:w}),(0,a.jsxs)("div",{className:"absolute bottom-0 z-20 flex flex-col items-start justify-end px-2 py-4 md:px-4",children:[(null==w||null==(d=w.context)?void 0:d.title)&&(0,a.jsx)(p.Ay,{competitionColor:null==(x=w.context)||null==(y=x.extraData)?void 0:y.competitionColor,badgeVariant:p.xU.radius,className:(0,u.QP)(k.tag,"mb-3"),size:p.vj.small,children:w.
1context.title}),!!w.title&&(0,a.jsx)(i.Ay,{variant:C.title,as:"p",className:(0,u.QP)("line-clamp-3 text-ellipsis",k.title),children:w.title}),!!(null==w?void 0:w.contentDate)&&!A&&(0,a.jsx)(i.Ay,{className:(0,u.QP)("mt-2","large"===S&&"mt-4",N===h.Mc.ASPECT_16_9&&"hidden @xs/full-img-card:block",k.date),variant:C.date,children:(0,a.jsx)(s.default,{date:null==w?void 0:w.contentDate,dateType:g.r.standard})})]})]})})},[h.A3.regular]:x,[h.A3.shop]:e=>{var t,l,s,d,c,m,g,y;let{entity:x,thumbnailPlaceholder:w,aspectRatio:j=h.Mc.ASPECT_1_1,colorSchemaKey:N=f.fs.light}=e,T=(0,n._b)({image:x.image,thumbnail:x.thumbnail,coverImage:x.coverImage})||w;if(!T)return null;let S=v.y[N].card.shop,A=x.tags&&(null==(t=x.tags)?void 0:t.length)>0?x.tags:void 0,P=null==(l=x.fields)?void 0:l.previousPrice,k=(null==(s=x.fields)?void 0:s.price)?null==(d=x.fields)?void 0:d.price:P;return k===P&&(P=void 0),(0,a.jsx)(b.P.div,{whileHover:{scale:1.05,boxShadow:"0 1rem 1rem rgba(0, 0, 0, 0.1)"},className:"w-full overflow-hidden rounded-lg shadow-md",children:(0,a.jsxs)(r.default,{href:x.fields.url,className:(0,u.QP)("group block h-full w-full",S.background),title:x.title,"aria-label":x.title,children:[(null==x||null==(c=x.c
1ontext)?void 0:c.title)&&(0,a.jsx)(p.Ay,{className:(0,u.QP)("absolute top-4 right-4"),badgeVariant:p.xU.radius,size:p.vj.large,children:x.context.title}),(0,a.jsxs)("div",{className:"relative flex h-full flex-col justify-between gap-4 overflow-hidden pt-14 pb-6",children:[(0,a.jsx)("div",{className:"px-6",children:(0,a.jsx)("figure",{className:(0,u.QP)("relative z-10 aspect-1/1 overflow-hidden"),children:(0,a.jsx)(o.default,{src:T,transformations:(0,n.HL)(j),alt:x.title,className:(0,u.QP)("relative block h-full w-full object-cover object-center"),format:null!=(y=null==(m=x.thumbnail)?void 0:m.format)?y:null==(g=x.image)?void 0:g.format})})}),(0,a.jsxs)("div",{className:(0,u.QP)("flex flex-col gap-2 px-6",S.title),children:[A&&(0,a.jsx)("div",{className:"flex gap-1",children:A.map((e,t)=>(0,a.jsx)(i.Ay,{variant:i.PT["subtitle-6"],className:(0,u.QP)("inline-block",S.tag),children:null==e?void 0:e.title},t))}),x.title&&(0,a.jsx)(i.Ay,{variant:i.PT["subtitle-3"],className:(0,u.QP)("text-ellipsis",S.title,"line-clamp-3"),children:x.title}),(0,a.jsxs)(i.Ay,{as:"div",variant:i.PT["subtitle-1"],className:(0,u.QP)("flex gap-2"),children:[P&&(0,a.jsx)("span",{className:"line-through opacity-50",children:P}),k]})]})]})]})})},[h.A3.linkFullImg]:e=>{var t,l;let{entity:s,thumbnailPlaceholder:d,aspectRatio:c=h.Mc.ASPECT_2_3,colorSchemaKey:m=f.fs.light}=e,{image:g,thumbnail:p,coverImage:x,fields:b}=s,w=(0,n._b)({image:g,thumbnail:p,coverImage:x})||d;if(!w)return null;let{url:j}=b,N=v.y[m].card.linkFullImg,T=null!=(t=null==j?void 0:j.accessibleText)?t:null==j?void 0:j.displayText,S=!!(null==j?void 0:j.openInNewTab),A=null==j?void 0:j.displayText,P=null==j?void 0:j.url;return(0,a.jsx)(r.default,{href:P,target:S?"_blank":void 0,className:"group/link-card block h-full w-full overflow-hidden rounded-lg md:rounded-2xl",title:A,"aria-label":T,children:(0,a.jsxs)("div",{className:(0,u.QP)("relative flex h-full rounded-lg before:absolute before:inset-0 before:z-10 before:rounded-lg lg:rounded-2xl lg:before:rounded-2xl",N.background,c),children:[(0,a.jsx)(y.w,{condition:!!w,children:(0,a.jsx)(o.default,{src:w,transformations:(0,n.HL)(c),alt:T,className:"ease-power-4 block h-full w-full rounded-lg object-cover object-center transition-transform duration-2000 group-hover/link-card:scale-110 lg:rounded-2xl",format:null!=(l=null==p?void 0:p.format)?l:null==g?void 0:g.format})}),(0,a.jsx)("div",{className:"absolute inset-0 z-20 flex items-end justify-center p-4 lg:p-8",children:(0,a.jsx)(y.w,{condition:!!A,children:(0,a.jsx)(i.Ay,{variant:i.PT.h5,as:"p",className:(0,u.QP)("line-clamp-3 text-center capitalize lg:line-clamp-2",N.title),children:A})})})]})})}},j=(e,t)=>{let l=w[e]||x;return(0,a.jsx)(l,{...t})}},30672:(e,t,l)=>{"use strict";l.d(t,{G:()=>a});let a=function(e){var t,l;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:25,r=new URLSearchParams(e.split("?")[1]);return{skip:parseInt(null!=(t=r.get("$skip"))?t:"")||0,limit:parseInt(null!=(l=r.get("$limit"))?l:"")||a}}},30699:(e,t,l)=>{"use strict";l.d(t,{hy:()=>a,yb:()=>r}),l(56396),l(26648),l(87358);let a=(e,t)=>{let l=[];return null==e||e.forEach(e=>{e.category===t&&l.push(e)}),l},r=(e,t,l)=>e?e.find(e=>e.category===t&&e.key===l):null},30883:()=>{},31075:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var a=l(95155),r=l(84380),o=l(29069);let i=e=>{let{colorSchemaKey:t,onClick:l}=e,i=(0,r.A)()("account-sign-in");return(0,a.jsx)("button",{onClick:l,title:i,"aria-label":i,className:"cursor-pointer",children:(0,a.jsx)(o.H,{isLoggedOut:!0,colorSchemaKey:t})})}},31164:(e,t,l)=>{"use strict";l.d(t,{default:()=>c});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233),s=l(98412),d=l(17503);let c=e=>{let{matchId:t,seasonIds:l,headerTitleHeadingLevel:c=o.v.h2,layout:u="primary",basicStatsSlots:m,basicStatsIds:h,generalStatsSlots:g,summaryStatsIds:p,workRateStatsIds:v,attackStatsSlots:f,attackStatsIds:y,passesStatsSlots:x,passesStatsIds:b,defenseStatsSlots:w,defenseStatsIds:j,cardBackgroundUrl:N,showErrorMessage:T,showRetryButton:S,competitionIconUrl:A}=e,{SDP_PROJECT:P}=(0,i.V)(),k={"general-possession":["possession-perc"],"general-passing-accuracy":["passing-accuracy-perc"],"general-momentum":["momentum"],"general-summary":(0,d.Gn)(p),"general-player-movement":["player-movement-metric"],"general-work-rate":(0,d.Gn)(v)},C={"basic-possession":void 0,"basic-stats":(0,d.Gn)(h)},I={"attack-shot-accuracy":["shot-accuracy-perc"],"attack-shot-map":["shot-map-data"],"attack-shots-in-out-box":["shots-at-goal-inside-box","shots-at-goal-outside-box"],"attack-stats":(0,d.Gn)(y),"attack-area":["attack-area-heatmap","offHalfLeftBallsPlayedPerc","offHalfCenterBallsPlayedPerc","offHalfRightBallsPlayedPerc"]},L={"passes-possession":["possession-perc"],"passes-passing-accuracy":["passing-accuracy-perc"],"passes-stats":(0,d.Gn)(b),"passes-crosses-completed":["crosses-successful"],"passes-ball-possession-time":void 0,"passes-ball-possession-area":["defHalfBallPossessionPerc","offHalfBallPossessionPerc"]},F={"defense-tackles-won":["tackles-successful"],"defense-stats":(0,d.Gn)(j),"defense-duels-won":["duels-won"],"defense-aerial-duels-won":["aerial-duels-won"]},B={general:(0,s.f)(k,g),basic:(0,s.f)(C,m),attack:(0,s.f)(I,f),passes:(0,s.f)(L,x),defense:(0,s.f)(F,w)},E={title:"var(--color-widget-label-primary)",barValue:"var(--color-widget-label-primary)",barHomeTeam:"var(--color-primary-on-light-200)",barAwayTeam:"var(--color-grey-on-light-100)",tableText:"var(--color-widget-label-primary)",tableDivider:"var(--color-widget-border-primary)",tableWinnerHomeBg:"var(--color-primary-on-light-200)",tableWinnerHomeText:"var(--color-grey-on-light-900)",tableWinnerAwayBg:"var(--color-grey-on-light-100)",tableWinnerAwayText:"var(--color-grey-on-light-900)",cardBorder:"var(--color-widget-border-primary)",cardBackgroun
1d:"var(--color-grey-on-light-900)",ctaText:"var(--color-primary-on-light-200)",ctaTextHover:"var(--color-primary-on-light-300)",homeTeamPrimary:"var(--color-primary-on-light-200)",homeTeamSecondary:"var(--color-primary-on-light-300)",awayTeamPrimary:"var(--color-grey-on-light-100)",awayTeamSecondary:"var(--color-grey-on-light-300)",homeTeamPrimaryColor:"var(--color-primary-on-light-200)",awayTeamPrimaryColor:"var(--color-secondary-on-light)",teamCardBackground:"var(--color-grey-on-light-900)",tabText:"var(--color-grey-on-light-900)",tabActiveText:"var(--color-grey-on-light-900)",tabActiveBg:"var(--color-primary-on-light-200)",tabActiveBgHover:"var(--color-primary-on-light-200)",tabActiveBorder:"var(--color-primary-on-light-200)",pitchLines:"var(--color-grey-on-light-700)",pitchBorder:"var(--color-grey-on-light-700)",pitchBackground:"var(--color-grey-on-light-800)",pitchHighlight:"var(--color-primary-on-light-200)",circleBackground:"var(--color-grey-on-light-700)",goalNet:"var(--color-grey-on-light-700)",crossbar:"var(--color-widget-label-primary)",textPrimary:"var(--color-widget-label-primary)",textSecondary:"var(--color-widget-label-secondary)",circleBg:"var(--color-grey-on-light-700)",divider:"var(--color-widget-border-primary)",barBackground:"var(--color-grey-on-light-700)",statLabel:"var(--color-widget-label-secondary)",statValue:"var(--color-widget-label-primary)",progressBg:"var(--color-grey-on-light-700)",hoverIndicator:"rgba(255, 255, 255, 0.2)",text:"var(--color-widget-label-primary)",secondaryText:"var(--color-widget-label-secondary)",labelText:"var(--color-widget-label-primary)",icon:"var(--color-widget-label-primary)",goalIcon:"var(--color-widget-label-primary)",dividerIcon:"var(--color-widget-label-secondary)",border:"var(--color-widget-border-primary)",pitchBg:"var(--color-grey-on-light-800)",playerAvatarBg:"var(--color-grey-on-light-700)",playerAvatarText:"var(--color-widget-label-primary)",tooltipBg:"var(--color-grey-on-light-900)",tooltipBorder:"var(--color-widget-border-primary)",cardBackgroundTint:"var(--color-grey-on-light-900)",toggleButtonBorder:"var(--color-widget-border-primary)",toggleButtonBg:"var(--color-grey-on-light-900)",teamCardText:"var(--color-widget-label-primary)",teamCardBadgeText:"var(--color-widget-label-primary)",teamCardBorderColor:"var(--color-widget-border-primary)",avatarBg:"var(--color-grey-on-light-700)",avatarText:"var(--color-widget-label-primary)",periodLabelBg:"var(--color-grey-on-light-700)",tabListBg:"var(--color-primary-on-dark)",ballPossessionAreaToggleBg:"var(--color-grey-on-light-100)"},_={type:n.ym,sport:n.Fn,project:P,matchId:null!=t?t:"",seasonIds:null!=l?l:[],startHeadingLevel:Number(c),layout:u,tabsConfig:B,cardBackgroundUrl:N,showErrorMessage:T,showRetryButton:S,competitionIconUrl:A,theme:{widget:{lightColors:E,darkColors:E}}};return(0,a.jsx)(r.LH,{..._})}},31360:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var a=l(24531),r=l(12115);let o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.jK,[l,o]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let l=new ResizeObserver(()=>{o(window.innerWidth<t)});return e.current&&l.observe(e.current),()=>{l.disconnect()}},[e,t]),l}},31380:(e,t,l)=>{"use strict";l.d(t,{default:()=>n});var a=l(95155),r=l(3314),o=l(51309),i=l(14233);let n=e=>{let{seasonIds:t,cardBackgroundUrl:l,predictorUrlPattern:n,predictorUrl:s,dateFormat:d="iso",enableMatchLinks:c,matchUrlPattern:u,enableTeamLinks:m,teamUrlPattern:h,openBroadCastersInNewTab:g,openWhereToWatchInNewTab:p,openPredictorButtonInNewTab:v,openHighlightsButtonInNewTab:f,openTicketButtonInNewTab:y,showErrorMessage:x,showRetryButton:b,itemsToShow:w,relevantTeamIds:j,showOnlyFinishedMatches:N,broadcasterList:T,enableAddToCalendar:S,addToCalendarUrl:A}=e,{SDP_PROJECT:P}=(0,o.V)(),k={title:"#FFFFFF",calendarButtonText:"var(--color-primary-on-light-200)",calendarButtonTextHover:"var(--color-primary-on-light-300)",calendarButtonIcon:"var(--color-primary-on-light-200)",dropdownText:"#FFFFFF",dropdownBorder:"var(--color-widget-border-primary)",dropdownBorderHover:"var(--color-primary-on-light-200)",dropdownBg:"var(--color-grey-on-light-900)",dropdownItemBg:"var(--color-grey-on-light-900)",dropdownItemText:"#FFFFFF",dropDownItemBorder:"var(--color-widget-border-primary)",dropdownItemHoverBg:"var(--color-grey-on-light-700)",cardBg:"var(--color-grey-on-light-900)",cardBorder:"var(--color-widget-border-primary)",match
1DayText:"#FFFFFF",matchDateText:"#FFFFFF",matchTimeText:"#FFFFFF",liveBadgeBg:"var(--color-primary-on-light-200)",liveBadgeText:"var(--color-grey-on-light-900)",liveBadgeIcon:"var(--color-grey-on-light-900)",liveTimeText:"var(--color-primary-on-light-200)",teamNameText:"#FFFFFF",scoreText:"#FFFFFF",penaltiesText:"var(--color-widget-label-secondary)",centerText:"#FFFFFF",aggregateText:"var(--color-widget-label-secondary)",divider:"var(--color-widget-border-primary)",broadcasterDivider:"var(--color-widget-border-primary)",whereToWatchText:"#FFFFFF",whereToWatchIcon:"var(--color-primary-on-light-200)",gradientButtonBg:"var(--color-primary-on-light-200)",gradientButtonText:"var(--color-grey-on-light-900)",gradientButtonIcon:"var(--color-grey-on-light-900)",outlinedButtonBorder:"var(--color-widget-border-primary)",outlinedButtonText:"#FFFFFF",outlinedButtonIcon:"#FFFFFF",outlinedButtonHoverBg:"var(--color-grey-on-light-700)",filledButtonBg:"var(--color-primary-on-light-200)",filledButtonText:"var(--color-grey-on-light-900)"},C={type:i.WI,sport:i.Fn,project:P,seasonIds:null!=t?t:[],rowBackgroundUrl:l,dateFormat:d,enableMatchLinks:c,matchUrlPattern:u,enableTeamLinks:m,teamUrlPattern:h,openBroadCastersInNewTab:g,openWhereToWatchInNewTab:p,openPredictorButtonInNewTab:v,openHighlightsButtonInNewTab:f,openTicketButtonInNewTab:y,showErrorMessage:x,showRetryButton:b,itemsToShow:w,predictorUrl:s,relevantTeamIds:null!=j?j:[],showOnlyFinishedMatches:N,broadcasterList:T,shouldAddToCalendar:S,addToCalendarUrl:A,theme:{widget:{lightColors:k,darkColors:k}}};return(0,a.jsx)(r.p7,{...C})}},31794:(e,t,l)=>{"use strict";l.d(t,{CW:()=>g,Df:()=>m,X8:()=>o,X9:()=>s,Yu:()=>h,_4:()=>u,bb:()=>c,jI:()=>i,s2:()=>d,sW:()=>n});var a=l(16547),r=l(24531);let o=(e,t)=>{var l,a,r;return String(null!=(r=null==e||null==(a=e.find(e=>e.key===t))||null==(l=a.keyValue)?void 0:l.value)?r:"")},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"appView";return s(e,t)},n=(e,t)=>{var l,r;let o=null==e?void 0:e.find(e=>e.key===t),i=[a.aL.string,a.aL.guid,a.aL.datetime],n=null==o||null==(l=o.keyValue)?void 0:l.value;if(o&&i.includes(null==(r=o.keyValue)?void 0:r.valueType)&&null!=n&&""!==n)return String(n)},s=(e,t)=>{var l;let r=null==e?void 0:e.find(e=>e.key===t);if(r&&(null==(l=r.keyValue)?void 0:l.valueType)===a.aL.boolean&&null!=r.keyValue.value&&""!==r.keyValue.value)return!0===r.keyValue.value||"true"==r.keyValue.value},d=(e,t)=>{var l,r;let o=null==e?void 0:e.find(e=>e.key===t);if(!o||(null==(l=o.keyValue)?void 0:l.valueType)!==a.aL.number)return;let i=null==(r=o.keyValue)?void 0:r.value;if(!0===i||"true"===i||!1===i||"false"===i)return;let n=null!=i&&""!==i?Number(i):void 0;return n&&!isNaN(n)?n:void 0},c=(e,t,l,r)=>({key:e,keyValue:{value:t,valueType:null!=l?l:a.aL.string},type:null!=r?r:a.Hj.KeyValue});function u(e){return(null==e?void 0:e.toLowerCase())==="true"}let m=e=>({teams:o(e,a.tA.teamsPath),players:o(e,a.tA.playersPath),matches:o(e,a.tA.matchesPath),live:o(e,a.tA.livePath)}),h=(e,t)=>{var l,a;let o=(e=>{switch(e){case r.Hu:return r.fr;case r.Z5:return r.l0;default:return}})(t);if(o)return null==e||null==(a=e.find(e=>e.key===o))||null==(l=a.keyValue)?void 0:l.value},g=(e,t,l,a)=>{if(!e||"object"!=typeof e)return;let r=e[t],i=null==r,n="string"==typeof r&&""===r.trim(),s="string"==typeof r&&r.startsWith("${")&&r.endsWith("}");(i||n||s)&&(null==l?void 0:l.some(e=>e.key===a))&&(e[t]=o(l,a))}},32555:(e,t,l)=>{"use strict";l.d(t,{M:()=>a,o:()=>r});let a="search_path",r="/search"},32747:(e,t,l)=>{"use strict";l.d(t,{aB:()=>o,c0:()=>r,sO:()=>a});let a=e=>{let t="flex flex-col items-";switch(null==e?void 0:e.toLowerCase()){case"left":default:t+="start";break;case"center":t+="center";break;case"right":t+="end"}return t},r=e=>{let t="flex justify-";switch(null==e?void 0:e.toLowerCase()){case"left":default:t+="start";break;case"center":t+="center";break;case"right":t+="end"}return t},o={square_extraSmall:"max-w-[208px]",square_small:"max-w-[416px]",square_medium:"max-w-[624px]",square_large:"max-w-[832px]",square_extraLarge:"max-w-[1280px]",square_extraExtraLarge:"max-w-[1920px]",portrait_extraSmall:"max-w-[210px]",portrait_small:"max-w-[420px]",portrait_medium:"max-w-[624px]",portrait_large:"max-w-[840px]",portrait_extraLarge:"max-w-[1260px]",portrait_extraExtraLarge:"max-w-[1920px]",landscape_extraSmall:"max-w-[280px]",landscape_small:"max-w-[416px]",landscape_medium:"max-w-[624px]",landscape_large:"max-w-[832px]",landscape_extraLarge:"max-w-[1280px]",landscape_extraExtraLarge:"max-w-[1920px]",hero_extraSmall:"max-w-[210px]",hero_small:"max-w-[420px]",hero_medium:"max-w-[630px]",hero_large:"max-w-[840px]",hero_extraLarge:"max-w-[1281px]",hero_extraExtraLarge:"max-w-[1932px]"}},33019:(e,t,l)=>{"use strict";l.d(t,{UT:()=>d,fD:()=>n,kT:()=>i});var a=l(56396),r=l(30927);l(87358).env.THEMING_SUFFIX_NAME;let o=e=>{var t,l;let{items:r,key:o}=e;return null!=(l=null==r||null==(t=r.find(e=>e.category===a.jB.theming&&e.key===o))?void 0:t.value)?l:""},i=e=>{var t,l,r;if(e.properties.colorSchema)return e.metadata=[{key:a.W5.color_schema,value:e.properties.colorSchema,type:"string",category:a.jB.theming},...null!=(r=e.metadata)?r:[]],e.properties.colorSchema;let o=null==(l=e.metadata)||null==(t=l.find(e=>e.key===a.W5.color_schema))?void 0:t.value;return null!=o?o:a.fs.light},n=e=>{var t;let l=i(e);return null!=(t=r.y[l])?t:r.y.light},s=e=>{let{color:t,schemaKey:l,lightClass:r,darkClass:o}=e,i=null==t?void 0:t.toLowerCase();return"#ffffff"===i||"white"===i?l===a.fs.light?r:"":("#000000"===i||"black"===i)&&l===a.fs.dark?o:""},d=e=>{let{colorSchemaKey:t,metadata:l}=e;if(!l||!t)return;let r={[a.fs.light]:{home:"primary_on_light",away:"secondary_on_light"},[a.fs.dark]:{home:"primary_on_dark",away:"secondary_on_dark"}},i=o({items:l,key:r[t].home}),n=o({items:l,key:r[t].away});return{homeClass:s({color:i,schemaKey:t,lightClass:"-home-color-light",darkClass:"-home-color-dark"}),awayClass:s({color:n,schemaKey:t,lightClass:"-away-color-light",darkClass:"-away-color-dark"})}}},33047:(e,t,l)=>{"use strict";l.d(t,{C:()=>a});let a={dark:{button:"bg-white py-1 rounded-[30px] px-4 cursor-pointer border border-gray-200 flex-1/2 lg:flex-none lg:w-fit",buttonText:"py-3 px-6",filterTags:"border-primary-on-dark"},light:{button:"bg-white py-1 rounded-[30px] px-4 cursor-pointer border border-gray-200 flex-1/2 lg:flex-none lg:w-fit",buttonText:"py-3 px-6",filterTags:"border-primary-on-light"}}},33292:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var a=l(95155),r=l(55923);let o=e=>{let{children:t,isAnimated:l=!1,...o}=e;if(!l)return(0,a.jsx)(a.Fragment,{children:t});let i={...o,isAnimated:l,children:t};return(0,a.jsx)(r.default,{...i})};o.displayName="Parallax";let i=o},33648:(e,t,l)=>{"use strict";l.d(t,{IX:()=>c,qr:()=>u,mT:()=>h});var a=l(95155),r=l(93516),o=l(52579),i=l(82252),n=l(51309),s=l(84380);let d=[r.dK,r.Ze,r.Ij,r._R,r.WO,r.s3],c=e=>{let{modules:t,a11y:l,dir:r,ref:c,children:u,...m}=e,h=(0,s.A)(),{LANGUAGE:g}
1=(0,n.V)(),p={enabled:!0,nextSlideMessage:h("next-slide"),prevSlideMessage:h("prev-slide")};return(0,a.jsx)(o.RC,{ref:c,modules:null!=t?t:d,a11y:null!=l?l:p,dir:null!=r?r:(0,i.RQ)(g),...m,children:u})};c.displayName="SwiperProvider";let u=o.qr;var m=l(12115);let h=()=>{let e=(0,m.useRef)(null),t=(0,m.useRef)(null),[l,a]=(0,m.useState)(!0),[r,o]=(0,m.useState)(!0);return{swiperRef:e,paginationRef:t,isBeginning:r,isEnd:l,handlePrev:()=>{e.current&&e.current.swiper.slidePrev()},handleNext:()=>{e.current&&e.current.swiper.slideNext()},onSliderMove:e=>{e.isLocked||(0===e.progress?o(!0):1===e.progress?(o(!1),a(!0)):(a(!1),o(!1)))},onProgress:e=>{if(e.isLocked){o(!0),a(!0);return}0===e.progress?(o(!0),a(!1)):1===e.progress?(o(!1),a(!0)):(a(!1),o(!1))}}}},33915:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});var a=l(95155),r=l(84380),o=l(83617),i=l(88697),n=l(53323);function s(){let e=(0,r.A)();return(0,a.jsxs)(i.A,{className:"flex h-screen flex-col items-center justify-center gap-4",children:[(0,a.jsx)(o.Ay,{variant:o.PT["uber-1"],children:e("500-error")}),(0,a.jsx)(o.Ay,{variant:o.PT["subtitle-2"],as:"h1",children:e("500-oops-error")}),(0,a.jsx)(o.Ay,{variant:o.PT["body-4"],as:"h2",children:e("500-error-message")}),(0,a.jsx)("div",{className:"mt-4 flex flex-col gap-4 md:flex-row",children:(0,a.jsx)(n.A,{url:"/",text:e("back-to-homepage"),variant:"filled",rounding:"rounded"})})]})}},33978:(e,t,l)=>{"use strict";l.d(t,{q:()=>c});var a=l(15058),r=l(65897),o=l(52259),i=l(95125),n=l(87358);let s=n.env.PAGE_BUILDER_FRONTEND_API_SECRET,d="PAGE BUILDER FRONTEND API",c=async e=>{let t="api/v1/LinkRules";try{o.A.log("Getting LINK RULES data from PAGE BUILDER FRONTEND API ".concat(t),r.T.debug),t=new URL(t,n.env.PAGE_BUILDER_FRONTEND_API_BASE_URL).href}catch(e){return(0,a.h)({response:e,apiName:d})}return await i.A.post(t,e,{headers:{Authorization:s}}).then(e=>(o.A.log("Retrieved LINK RULES data from PAGE BUILDER FRONTEND API ".concat(t,". ").concat(JSON.stringify(e.data)),r.T.debug),e.data)).catch(e=>(0,a.h)({response:e,apiName:d,apiUrl:t}))}},34089:()=>{},34574:(e,t,l)=>{"use strict";l.d(t,{MatchListAllMatchesView:()=>ek});var a=l(95155),r=function(e){return e.Single="single",e.Multiple="multiple",e.Range="range",e}({}),o=l(12115),i=l(75889),n=l(56396),s=l(73881),d=l(83617),c=l(32973),u=l(2231);l(22509);var m=l(53323);let h=e=>e.toLocaleDateString("en-US",{day:"numeric",month:"numeric",year:"numeric"}),g={formatCaption:e=>{var t,l;return null!=(l=null==(t=(0,c.GP)(e,"MMMM yyyy"))?void 0:t.toUpperCase())?l:""}},p={bg:{white:"bg-grey-on-light-0",lightGray:"bg-secondary-on-light",transparent:"bg-transparent",whiteHover:"hover:bg-grey-on-light-0",orangeToPurple:"bg-gradient-to-br from-primary-on-light-100 to-secondary-on-light-100",darkBrown:"!bg-primary-on-light"},text:{darkBrown:"text-primary-on-light",white:"text-grey-on-light-0",lightGray:"text-grey-on-light-200",mediumGray:"text-grey-on-light-400"},hover:{bgClip:"hover:bg-clip-text",orangeToPurple:"hover:bg-gradient-to-r hover:from-primary-on-light-100 hover:to-secondary-on-light-100",orangeOutline:"hover:outline hover:outline-2 hover:outline-offset-0 hover:outline-primary-on-light-100",textTransparent:"hover:text-transparent"},gradient:{transparent:"!from-transparent !to-transparent"}},v={full:"transition-colors transition-transform transition-opacity duration-300 ease-in-out",basic:"transition-colors transition-transform duration-300 ease-in-out"},f=e=>{let{className:t="",mode:l=r.Single,selected:o,onSelect:n,onReset:s,showOutsideDays:d=!0,numberOfMonths:c=1,disabled:m,animate:h=!0,required:f,wrapperClassName:x,...b}=e,w={month_caption:"subtitle-3 text-center flex items-center justify-center uppercase relative gap-2.5 px-8 py-[10px]",button_previous:"absolute flex items-center justify-center cursor-pointer z-10 h-[44px] w-[36px]",chevron:p.text.darkBrown,weekdays:"grid grid-cols-7 py-3",weekday:"navigation-3 text-center py-0.5",head_cell:"navigation-3 text-center py-0",weeks:"pb-1",week:"grid grid-cols-7 gap-2.5 py-1",day:"flex items-center justify-center",day_button:"subtitle-4 flex items-center justify-center uppercase border-none cursor-pointer rounded-full p-2.5 w-10 h-10 min-w-10 min-h-10 ".concat(p.bg.transparent," ").concat(v.full," ").concat(p.bg.whiteHover," ").concat(p.hover.textTransparent," ").concat(p.hover.bgClip," ").concat(p.hover.orangeToPurple),selected:"rounded-full ".concat(p.bg.orangeToPurple," !").concat(p.text.
1white," ").concat(v.full," ").concat(p.bg.whiteHover," ").concat(p.hover.textTransparent," ").concat(p.hover.bgClip," ").concat(p.hover.orangeToPurple," ").concat(p.hover.orangeOutline),today:"subtitle-4 ".concat(p.bg.transparent),outside:"cursor-pointer ".concat(p.text.mediumGray),disabled:"cursor-not-allowed opacity-50 ".concat(p.text.lightGray),range_start:"rounded-full ".concat(p.bg.orangeToPurple," ").concat(p.text.white," ").concat(v.basic),range_end:"rounded-full ".concat(p.bg.orangeToPurple," ").concat(p.text.white," ").concat(v.basic),range_middle:"rounded-full ".concat(p.bg.darkBrown," ").concat(p.text.white," ").concat(v.basic," ").concat(p.gradient.transparent),hidden:"invisible"};return(0,a.jsxs)("div",{className:(0,i.QP)("".concat(p.bg.white," w-fit rounded-lg border-2 border-gray-400 p-3 select-none"),x),children:[(()=>{let e={animate:h,showOutsideDays:d,numberOfMonths:c,disabled:m,navLayout:"around",required:f,formatters:g,classNames:w,className:t,weekStartsOn:1,defaultMonth:(()=>{if(o)switch(l){case r.Single:return o instanceof Date?o:void 0;case r.Range:return o&&"object"==typeof o&&"from"in o&&o.from?o.from:void 0;case r.Multiple:return Array.isArray(o)&&o.length>0?o[0]:void 0;default:return}})(),...b};switch(l){case r.Single:return(0,a.jsx)(u.h,{...e,mode:"single",selected:o,onSelect:n});case r.Multiple:return(0,a.jsx)(u.h,{...e,mode:"multiple",selected:o,onSelect:n});case r.Range:return(0,a.jsx)(u.h,{...e,mode:"range",selected:o,onSelect:n});default:return null}})(),(0,a.jsx)(y,{mode:l,selected:o,numberOfMonths:c,onReset:s})]})},y=e=>{let{mode:t,selected:l,numberOfMonths:o=1,onReset:i}=e;return l?(0,a.jsx)("div",{className:"mt-2 flex ".concat(t===r.Multiple?"flex-col":"items-center"," ").concat(p.bg.lightGray," justify-between gap-2 rounded-lg p-3 select-none"),children:(()=>{let e=l instanceof Date,n=Array.isArray(l)&&(null==l?void 0:l.length)>0,d=l&&"object"==typeof l&&"from"in l;switch(t){case r.Single:if(!e)return null;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,a.jsx)(x,{children:"Selected Date:"}),(0,a.jsx)(b,{children:h(l)})]}),(0,a.jsx)(m.A,{onClick:i,buttonType:"button",icon:"Close",variant:"link",className:"cursor-pointer text-black hover:text-black"})]});case r.Multiple:if(!n)return null;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(x,{children:"Selected Dates:"}),(0,a.jsx)(m.A,{onClick:i,buttonType:"button",icon:"Close",variant:"link",className:"cursor-pointer text-black hover:text-black"})]}),(0,a.jsx)("div",{className:"flex flex-col gap-2",children:Array.from({length:Math.ceil((null==l?void 0:l.length)/3)},(e,t)=>{let r=null==l?void 0:l.slice(3*t*o,(t+1)*3*o);return(0,a.jsx)("div",{className:"flex gap-2",children:null==r?void 0:r.map(e=>(0,a.jsx)(b,{children:h(e)},e.getTime()))},t)})})]});case r.Range:if(!d)return null;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.w,{condition:!!(null==l?void 0:l.from),children:(0,a.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,a.jsx)(x,{children:"From:"}),(0,a.jsx)(b,{children:h(null==l?void 0:l.from)})]})}),(0,a.jsx)(s.w,{condition:!!(null==l?void 0:l.to),children:(0,a.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,a.jsx)(x,{children:"To:"}),(0,a.jsx)(b,{children:h(null==l?void 0:l.to)})]})}),(0,a.jsx)(s.w,{condition:!!(null==l?void 0:l.from)&&!!l.to,children:(0,a.jsx)(m.A,{onClick:i,buttonType:"button",icon:"Close",variant:"link",className:"cursor-pointer text-black hover:text-black"})})]});default:return null}})()}):null},x=e=>{let{children:t}=e;return(0,a.jsx)(d.Ay,{variant:d.PT["subtitle-4"],className:p.text.darkBrown,children:t})},b=e=>{let{children:t}=e;return(0,a.jsx)(d.Ay,{variant:d.PT["subtitle-4"],className:"".concat(p.bg.white," ").concat(p.text.darkBrown," ml-1 inline-block rounded px-2 py-1"),children:t})};var w=l(82286);let j=w.bL,N=w.l9;w.Mz;let T=o.forwardRef((e,t)=>{let{className:l="",align:r="center",sideOffset:o=4,...n}=e;return(0,a.jsx)(w.ZL,{children:(0,a.jsx)(w.UC,{ref:t,align:r,sideOffset:o,className:(0,i.QP)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-w-full rounded-md border border-gray-200 bg-white p-4 text-gray-950 shadow-md outline-none",l),...n})})});T.displayName=w.UC.displayName;var S=l(67231),A=l(30927),P=l(84380);let k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";return e.toLocaleDateString(t,{year:"numeric",month:"short",day:"numeric"})},C=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";return e.from?!e.to||B(e.from,e.to)?k(e.from,t):"".concat(k(e.from,t)," - ").concat(k(e.to,t)):""},I=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if(0===e.length)return"";if(1===e.length)return k(e[0],t);let l=[...e].sort((e,t)=>e.getTime()-t.getTime());return e.length<=3?l.map(e=>k(e,t)).join(", "):"".concat(k(l[0],t)," and ").concat(e.length-1," more")},L=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Select date",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"en-US";if(!e)return l;switch(t){case r.Single:return e instanceof Date?k(e,a):l;case r.Range:return e&&"object"==typeof e&&"from"in e?C(e,a):l;case r.Multiple:return Array.isArray(e)?I(e,a):l;default:return l}},F=()=>{let e=new Date;return e.setHours(0,0,0,0),e},B=(e,t)=>e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),E=(e,t)=>{if(!e)return!1;switch(t){case r.Single:return e instanceof Date;case r.Range:return e&&"object"==typeof e&&"from"in e&&!!e.from&&!!e.to;case r.Multiple:return Array.isArray(e)&&e.length>0;default:return!1}},_=(e,t,l)=>!1!==l.closeOnSelect&&(t===r.Single||(t===r.Range?!0===l.closeOnSelect||E(e,t):t===r.Multiple&&!0===l.closeOnSelect)),R={mode:r.Single,placeholder:"date-input-select-date",showIcon:!0,iconPosition:"right",closeOnSelect:!0,showTodayButton:!1,showClearButton:!0,showApplyButton:!0,disabled:!1,readOnly:!1,autoApplyDefault:!1,defaultValue:void 0,popoverAlign:"start",calendarProps:{numberOfMonths:1,showOutsideDays:!0,disabled:void 0,animate:!0},buttonText:{today:"date-input-today",clear:"date-input-clear",apply:"date-input-apply"}},M=e=>{var t,l,c;let{name:u,selected:m,onSelect:h,colorSchemaKey:g=n.fs.light,className:p,options:v={},"aria-label":y,"aria-describedby":x,id:b}=e,w=(0,P.A)(),k=A.y[g].dateInput,C=(0,o.useMemo)(()=>({...R,...v}),[v]),I=C.mode||r.Single,B=(0,o.useMemo)(()=>{var e,t,l;return{...C,placeholder:w(C.placeholder),buttonText:{today:w((null==(e=C.buttonText)?void 0:e.today)||"date-input-today"),clear:w((null==(t=C.buttonText)?void 0:t.clear)||"date-input-clear"),apply:w((null==(l=C.buttonText)?void 0:l.apply)||"date-input-apply")}}},[C,w]),M=(0,o.useMemo)(()=>m||(C.autoApplyDefault?(e=>{if(e.defaultValue)return e.defaultValue;if(e.autoApplyDefault)switch(e.mode||r.Single){case r.Single:return F();case r.Range:return(()=>{let e=new Date,t=e.getDay(),l=new Date(e);l.setDate(e.getDate()-(0===t?6:t-1));let a=new Date(l);return a.setDate(l.getDate()+6),{from:l,to:a}})();case r.Multiple:return[F()];default:return}})(C):void 0),[m,C.autoApplyDefault,C.defaultValue]),[D,U]=(0,o.useState)(!1),[z,O]=(0,o.useState)(M),[H,W]=(0,o.useState)(null);(0,o.useEffect)(()=>{O(m||M)},[m,M]),(0,o.useEffect)(()=>{M&&C.autoApplyDefault&&!m&&h&&h(M)},[M,C.autoApplyDefault,m,h]);let Q=(0,o.useCallback)(e=>{if(!((e,t)=>{if(!e)return!0;switch(t){case r.Single:return e instanceof Date&&!isNaN(e.getTime());case r.Range:{if("object"!=typeof e||!("from"in e))return!1;let t=!e.from||e.from instanceof Date&&!isNaN(e.from.getTime()),l=!e.to||e.to instanceof Date&&!isNaN(e.to.getTime());return t&&l}case r.Multiple:if(!Array.isArray(e))return!1;return e.every(e=>e instanceof Date&&!isNaN(e.getTime()));default:return!1}})(e,I))return;if(I===r.Range&&e&&"object"==typeof e&&"from"in e){if(e.from&&H&&e.from.getTime()===H.getTime()&&(!e.to||e.from.getTime()===e.to.getTime())){let e=void 0;O(e),W(null),null==h||h(e),_(e,I,C)&&U(!1);return}e.from&&W(e.from)}O(e);let t=_(e,I,C),l=E(e,I);(I===r.Single||l)&&(null==h||h(e)),t&&U(!1)},[I,C,h,H,z]),G=(0,o.useCallback)(()=>{let e,t=F();switch(I){case r.Single:e=t;break;case r.Multiple:e=[t];break;case r.Range:e={from:t,to:t};break;default:e=t}W(null),Q(e)},[I,Q]),V=(0,o.useCallback)(()=>{let e=void 0;O(e),W(null),null==h||h(e),U(!1)}
1,[h]),K=(0,o.useCallback)(()=>{null==h||h(z),U(!1)},[z,h]),q=C.disabled||!1,J=C.customDisplayValue||L(z,I,B.placeholder),X=C.showTodayButton||C.showClearButton||I!==r.Single&&!1===C.closeOnSelect&&!!C.showApplyButton;return(0,a.jsxs)(j,{open:D&&!q,onOpenChange:U,children:[(0,a.jsx)(N,{asChild:!0,children:(0,a.jsx)("button",{type:"button",id:b,className:(0,i.QP)(p||(q?k.triggerDisabled:k.trigger)),disabled:q,"aria-label":y||"".concat(B.placeholder," for ").concat(u),"aria-describedby":x,"aria-expanded":D,"aria-haspopup":"dialog",children:C.useFilterButtonStyle?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"hidden lg:block",children:(0,a.jsx)(d.Ay,{variant:d.PT["navigation-1"],children:J})}),(0,a.jsx)(s.w,{condition:!!C.showIcon&&"right"===C.iconPosition,children:(0,a.jsx)("div",{className:"flex-shrink-0",children:(0,S.a)("Calendar",{width:"18",height:"18",className:"text-primary-on-light lg:hidden"})})})]}):(0,a.jsxs)("div",{className:"flex min-w-0 flex-1 items-center",children:[(0,a.jsx)(s.w,{condition:!!C.showIcon&&"left"===C.iconPosition,children:(0,a.jsx)("div",{className:(0,i.QP)("mr-2 flex-shrink-0",k.icon,!q&&k.iconHover),children:(0,S.a)("Calendar",{width:"16",height:"16"})})}),(0,a.jsx)(d.Ay,{variant:d.PT["body-2"],className:(0,i.QP)("truncate",z?k.triggerText:k.triggerPlaceholder),children:J}),(0,a.jsx)(s.w,{condition:!!C.showIcon&&"right"===C.iconPosition,children:(0,a.jsx)("div",{className:(0,i.QP)("ml-2 flex-shrink-0",k.icon,!q&&k.iconHover),children:(0,S.a)("Calendar",{width:"16",height:"16"})})})]})})}),(0,a.jsx)(T,{className:(0,i.QP)("p-0",k.popoverContent),align:C.popoverAlign,children:(0,a.jsxs)("div",{children:[(0,a.jsx)(f,{wrapperClassName:"border-0",mode:I,selected:z,onSelect:Q,onReset:V,numberOfMonths:null==(t=C.calendarProps)?void 0:t.numberOfMonths,showOutsideDays:null==(l=C.calendarProps)?void 0:l.showOutsideDays,animate:null==(c=C.calendarProps)?void 0:c.animate}),X?(0,a.jsxs)("div",{className:"mt-3 flex items-center justify-between border-t border-gray-200 pt-3",children:[(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(s.w,{condition:!!C.showTodayButton,children:(0,a.jsx)("button",{type:"button",onClick:G,className:(0,i.QP)(k.actionButton,k.todayButton),children:B.buttonText.today})}),(0,a.jsx)(s.w,{condition:!!C.showClearButton&&!!z,children:(0,a.jsx)("button",{type:"button",onClick:V,className:(0,i.QP)(k.actionButton,k.clearButton),children:B.buttonText.clear})})]}),(0,a.jsx)(s.w,{condition:I!==r.Single&&!1===C.closeOnSelect&&!!C.showApplyButton,children:(0,a.jsx)("button",{type:"button",onClick:K,className:(0,i.QP)(k.actionButton,k.applyButton),children:B.buttonText.apply})})]}):null]})})]})};var D=l(85880),U=l(51309);let z=e=>{let{colorSchemaKey:t,widgetID:l}=e,{ECAL_API_KEY:r}=(0,U.V)();return((0,o.useEffect)(()=>{l&&r&&window.EcalWidget&&window.EcalWidget.init({apiKey:r})},[]),l&&r)?(0,a.jsx)(m.A,{colorSchemaKey:t,text:(0,D.Tl)("add-to-calendar"),variant:"outline",rounding:"rounded",iconPosition:"left",icon:"MailUp",className:"ecal-sync-widget-button rounded-4xl px-5 py-2.5 lg:px-6 lg:py-3.5",labelClassName:"capitalize","data-ecal-widget-id":l,"data-ecal-no-styling":!0}):null},O={dark:{filterButton:"block bg-white lg:py-1 rounded-[30px] lg:px-4 cursor-pointer border border-gray-200 lg:flex-1/2 lg:flex-none lg:w-fit w-[46px] h-[46px] flex items-center justify-center",filterButtonText:"py-3 px-6 hidden lg:block"},light:{filterButton:"block bg-white lg:py-1 rounded-[30px] lg:px-4 cursor-pointer border border-gray-200 lg:flex-1/2 lg:flex-none lg:w-fit w-[46px] h-[46px] flex items-center justify-center",filterButtonText:"py-3 px-6 hidden lg:block"}};var H=l(37165),W=l(11805),Q=l(91512),G=l(99666);let V=e=>{let{colorSchemaKey:t,selectedClubs:l=[]}=e,{show:r}=(0,Q.useDrawer)(),{clubsByLeague:o,resetFilters:i,selectClubs:n}=(0,G.S)(),s=(0,P.A)(),c="".concat((0,D.Tl)("clubs")).concat((null==l?void 0:l.length)?" (".concat(l.length,")"):"");return(0,a.jsxs)("button",{className:O[t].filterButton,onClick:()=>{r({component:(0,a.jsx)(H.w,{title:s("all-clubs"),clubsByLeague:Object.fromEntries(Object.entries(o).map(e=>{let[t,l]=e;return[t,l.map(e=>({id:e.id,name:e.name||e.shortName||""}))]})),leagueLabels:W.x6,initialClubs:l,onApply:n,onReset:i})})},children:[(0,a.jsx)("div",{className:O[t].filterButtonText,children:(0,a.jsx)(d.Ay,{variant:d.PT["navigation-1"],children:c})}),(0,S.a)("AdjustmentsAlt",{width:"18",height:"18",className:"text-primary-on-light lg:hidden"})]})};var K=l(33047);let q=e=>{let{label:t,onRemoveAction:l,colorSchemaKey:r,ariaLabel:o}=e;return(0,a.jsxs)("div",{className:(0,i.QP)("border-primary-on-light flex cursor-pointer items-center gap-1 rounded-xl border p-2",K.C[r].filterTags),children:[(0,a.jsx)(d.Ay,{variant:d.PT["subtitle-6"],children:t}),(0,a.jsx)("button",{onClick:l,className:"ml-1 rounded-full","aria-label":o,children:(0,S.a)("Close",{className:"h-[18px] w-[18px] curs
1or-pointer",width:18,height:18})})]})},J=e=>{let{selectedClubs:t,selectedClubsMap:l,onRemoveClubAction:r,colorSchemaKey:o,className:n}=e;if(!t||0===t.length)return null;let s=e=>{var t;return null==(t=l[e])?void 0:t.name},d=t.slice(0,2),c=t[2],u=t.length-3;return(0,a.jsxs)("div",{className:(0,i.QP)("flex items-center gap-2 lg:gap-4",n),children:[d.map(e=>(0,a.jsx)(q,{label:s(e),onRemoveAction:()=>r(e),colorSchemaKey:o,ariaLabel:"Remove ".concat(s(e)," club filter")},"club-".concat(e))),c&&(0,a.jsx)(q,{label:"".concat(s(c)).concat(u>0?" +".concat(u):""),onRemoveAction:()=>r(c),colorSchemaKey:o,ariaLabel:"Remove ".concat(s(c)," club filter")},"club-".concat(c))]})};var X=l(59120);let Y=e=>{let{activeTab:t,onToggle:l,colorSchemaKey:r=n.fs.light,className:o}=e,i=(0,P.A)();return(0,a.jsx)(X.l,{id:"match-list-toggle",isOn:"results"===t,onToggle:e=>l(e?"results":"fixtures"),labelOn:i("results"),labelOff:i("fixtures"),colorSchemaKey:r,className:o})},$=e=>{let{colorSchemaKey:t=n.fs.light,widgetID:l}=e;(0,P.A)();let{selectedClubs:o,selectedClubsMap:s,selectedDateRange:d,activeTab:c,setSelectedDateRange:u,setActiveTab:m,unselectClub:h}=(0,G.S)(),g=e=>{(null==e?void 0:e.from)&&(null==e?void 0:e.to)?u({from:e.from,to:e.to}):e||u(void 0)},p=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(M,{name:"dateRange",selected:d,onSelect:g,colorSchemaKey:t,className:(0,i.QP)("flex items-center justify-between",O[t].filterButton),options:{placeholder:"sports-calendar",showIcon:!0,iconPosition:"right",showClearButton:!1,showApplyButton:!1,showTodayButton:!1,closeOnSelect:!1,useFilterButtonStyle:!0,mode:r.Range}}),(0,a.jsx)(V,{selectedClubs:o,colorSchemaKey:t})]});return(0,a.jsxs)("div",{className:"mb-2 flex flex-col gap-4 lg:mb-6",children:[(0,a.jsxs)("div",{className:"flex flex-row flex-wrap items-center justify-between gap-4 lg:flex-nowrap lg:gap-0",children:[(0,a.jsxs)("div",{className:"flex w-full items-center justify-center gap-2 lg:w-auto lg:justify-start lg:gap-10",children:[(0,a.jsx)(Y,{activeTab:c,onToggle:m,colorSchemaKey:t,className:"p-0"}),(0,a.jsx)("div",{className:"hidden items-center gap-3 lg:flex",children:(0,a.jsx)(p,{})})]}),(0,a.jsxs)("div",{className:"flex w-full items-center justify-center gap-4 lg:w-auto lg:justify-end lg:gap-0",children:[(0,a.jsx)(z,{colorSchemaKey:t,widgetID:l}),(0,a.jsx)("div",{className:"flex items-center gap-3 lg:hidden",children:(0,a.jsx)(p,{})})]})]}),(0,a.jsx)(J,{selectedClubs:o,selectedClubsMap:s,onRemoveClubAction:h,colorSchemaKey:t})]})};var Z=l(14347);let ee=e=>{var t;let{classNames:l,colorSchemaKey:r,match:o}=e,n=(0,P.A)(),d=A.y[r].matchLinks,c=(null==o||null==(t=o.editorial)?void 0:t.ticketsUrl)||"",u=(null==o?void 0:o.stadiumUrl)||"";return(0,a.jsx)(s.w,{condition:!!u||!!c,children:(0,a.jsxs)("div",{className:(0,i.QP)("flex w-full justify-center gap-2 pt-0.5",l),children:[(0,a.jsx)(s.w,{condition:!!u,children:(0,a.jsx)(m.A,{variant:"outline",rounding:"rounded",size:"small",icon:"Airbnb",text:n("match-stadium-cta"),className:(0,i.QP)("max-w-1/2 flex-1",d.ctaBorderColor),iconPosition:"left",url:u,colorSchemaKey:r})}),(0,a.jsx)(s.w,{condition:!!c,children:(0,a.jsx)(m.A,{variant:"outline",rounding:"rounded",size:"small",icon:"Ticket",text:n("sport-tickets"),className:(0,i.QP)("max-w-1/2 flex-1",d.ctaBorderColor),iconPosition:"left",url:c,target:"_blank",colorSchemaKey:r})})]})})};var et=l(38416),el=l(51761),ea=l(61165),er=l(86737),eo=l(72634);let ei=e=>{var t;let{match:l,showStoryteller:r=!1,colorSchemaKey:n,storytellerClasses:d="",storytellerContainerClasses:c=""}=e,[u,m]=(0,o.useState)(!1),{FLAG_ENABLE_STORYTELLER_MATCH_CARD:h}=(0,er.h)();return(0,a.jsx)(s.w,{condition:h&&r&&!u,children:(0,a.jsx)(ea.default,{colorSchema:n,storytellerCategory:null==l||null==(t=l.matchId)?void 0:t.split("::").pop(),storytellerLayout:eo.f.CIRCLE,isFullWidthValue:!1,customTheme:el.v6,className:d,containerClassName:(0,i.QP)("match-card",c),setIsStorytellerError:m,checkContentBeforeLoad:!0})})},en=e=>{let{status:t,match:l,colorSchema:r,showStoryteller:o=!1,colorSchemaKey:i}=e,{matchTeamText:n,matchScoreText:s}=r;return(0,a.jsxs)("div",{className:"flex w-full flex-col items-center gap-1 pr-4 pb-4 pl-4",children:[(0,a.jsxs)("div",{className:"flex w-full items-center gap-2 md:min-h-22.5 md:gap-3",children:[(0,a.jsx)(et.A,{containerClasses:"flex w-full grow-2 flex-col gap-2 md:gap-3",match:l,status:t,matchTeamText:n,matchScoreText:s,teamInfoTypographyVariant:d.PT.h5,scoreInfoTypographyVariant:d.PT.h4}),(0,a.jsx)(ei,{match:l,colorSchemaKey:i,showStoryteller:o,storytellerClasses:"!min-h-28 lg:!min-h-30",storytellerContainerClasses:"match-card-fixtures z-50 w-21 h-21 lg:w-22.5 lg:h-22.5 shrink-0"})]}),(0,a.jsx)(ee,{colorSchemaKey:i,classNames:"z-60",match:l})]})};var es=l(81156),ed=l(24531),ec=l(78097),eu=l(55887);let em=e=>{let{match:t,competition:l,colorSchema:r}=e,o=(0,eu.F)(),n=(0,ec.G8)(t.broadcasterData,o);return(0,a.jsx)(s.w,{condition:n.length>0,children:(0,a.jsx)("div",{className:(0,i.QP)("relative z-10","box-border flex h-11 items-center justify-center divide-x-1 divide-white/50 bg-cover bg-center py-4",(e=>{var t;let{slug:l}=e||{},a={[ed.Z5]:'bg-[url("/assets/wsl2-match-card-footer.png")]',[ed.Hu]:'bg-[url("/assets/wsl-match-card-footer.png")]',[ed.BK]:'bg-[url("/assets/subway-match-card-footer.png")]'};return l&&null!=(t=a[l])?t:"bg-primary-on-light"})(l)),children:n.map((e,t)=>{let{name:l,url:o,logo:n}=e;return(0,a.jsx)(es.default,{href:o,className:(0,i.QP)(r.links,"flex items-center px-3"),target:"_self",children:(0,a.jsx)(d.Ay,{variant:d.PT["navigation-3"],children:l})},t)})})})};var eh=l(74071),eg=l(45285),ep=l(85285),ev=l(19433),ef=l(8397),ey=l(14554),ex=l(37575),eb=l(15239);let ew=e=>{let{match:t,status:l,colorSchema:r,competition:o}=e,{headline:n,body:c}=r,{matchDateLocal:u,stadiumName:m}=t||{},{logo:h,name:g}=(null==o?void 0:o.fields)||{};return(0,a.jsxs)("div",{className:"p-4",children:[(0,a.jsxs)("div",{className:"mb-1.5 flex items-center justify-between",children:[(0,a.jsx)(s.w,{condition:l===ey.Xh.LIVE,children:(0,a.jsx)(eg.A,{})}),(0,a.jsx)(s.w,{condition:(0,ep.eZ)(l)||(0,ep.QJ)(l),children:(0,a.jsx)(d.Ay,{className:(0,i.QP)(n),variant:d.PT["h5-uppercase"],children:(0,a.jsx)(ev.default,{translationTermKey:"sport-".concat(l)})})}),(0,a.jsx)(s.w,{condition:(0,ep.jR)(l)&&!(0,ep.QJ)(l),children:(0,a.jsx)(d.Ay,{className:(0,i.QP)(n),variant:d.PT["h5-uppercase"],children:(0,a.jsx)(eh.default,{date:u,dateType:ef.r.time,isLocalDate:!0})})}),(0,a.jsx)("div",{className:"h-[27px]",children:(0,a.jsx)(s.w,{condition:!!o,children:(0,a.jsx)(eb.default,{width:150,height:27,className:"h-full w-auto",alt:g||"",src:(0,ex.W)((null==h?void 0:h.assetUrl)||"",ex.N.competition_logo.desktop.transformation)})})})]}),(0,a.jsx)(s.w,{condition:!!m,children:(0,a.jsx)(d.Ay,{variant:d.PT["body-5"],className:(0,i.QP)(c),children:m})})]})},ej=e=>{let{match:t,competition:l,colorSchemaKey:r=n.fs.light,showStoryteller:o=!1}=e,s=A.y[r].matchCard,d=(null==t?void 0:t.home)||null,c=(null==t?void 0:t.away)||null,u=(0,W.cW)(null==t?void 0:t.status);return(0,a.jsxs)("div",{className:(0,i.QP)("relative flex flex-col justify-between overflow-hidden rounded-2xl",s.background),children:[(0,a.jsx)("div",{className:(0,i.QP)("absolute inset-0 z-0","bg-cover bg-no-repeat",'bg-[url("/assets/wsl-player-header-grey-background.png")] bg-position-[center_left_150px]',"mask-t-from-30% mask-t-to-100%")}),(0,a.jsxs)("div",{className:"relative z-10 h-full",children:[(0,a.jsx)("a",{target:"_self",href:(null==t?void 0:t.matchUrl)||"",className:"absolute inset-0 z-20 h-full","aria-label":"".concat((null==d?void 0:d.officialName)||(null==d?void 0:d.acronymNameLocalized)," - ").concat((null==c?void 0:c.officialName)||(null==c?void 0:c.acronymNameLocalized)),children:"\xa0"}),(0,a.jsxs)("span",{className:"sr-only",children:[(0,a.jsx)(ev.default,{translationTermKey:"sport-match-details-for"})," ",d.officialName," ",(0,a.jsx)(ev.default,{translationTermKey:"sport-vs"})," ",c.officialName]}),(0,a.jsx)(ew,{match:t,status:u,colorSchema:s,competition:l}),(0,a.jsx)(en,{colorSchema:s,colorSchemaKey:r,match:t,status:u,competition:l,showStoryteller:o})]}),(0,a.jsx)(em,{match:t,competition:l,colorSchema:s})]})};var eN=l(67785);let eT=e=>{let{activeTab:t}=e,l=(0,P.A)();return(0,a.jsxs)("div",{children:[(0,a.jsx)(d.Ay,{variant:d.PT.h2,className:"mb-6 capitalize",children:t}),(0,a.jsx)("div",{className:"py-12 text-center",children:(0,a.jsx)(d.Ay,{variant:d.PT["body-1"],className:"text-gray-500",children:l("no-matches-found-for-filters")})})]})},eS=e=>{var t;let{match:l,showStoryteller:r}=e,{competitions:o}=(0,G.S)(),i=(0,eN.V)(null==l||null==(t=l.matchSet)?void 0:t.competitionId),s=(0,W.FU)(l),d=o.find(e=>{var t;return(null==e||null==(t=e.fields)?void 0:t.competitionId)===i});return s.isValid?(0,a.jsx)(ej,{match:l,competition:d,colorSchemaKey:n.fs.light,showStoryteller:r},l.matchId):null},eA=e=>{let{dateKey:t,matches:l,showStoryteller:r}=e,{polledMatches:o}=(0,G.S)();return(0,a.jsxs)("div",{className:"mb-8 lg:mb-6",children:[(0,a.jsx)(d.Ay,{variant:d.PT.h3,className:"mb-4 lg:mb-8",children:(0,W.hi)(t)}),(0,a.jsx)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3 lg:gap-x-6 lg:gap-y-8",children:l.map(e=>
1{let t=o.get(e.matchId);return(0,a.jsx)(eS,{match:t||e,showStoryteller:r},e.matchId)})})]})},eP=e=>{let{showStoryteller:t}=e,{filteredMatches:l,activeTab:r}=(0,G.S)(),i=(0,P.A)(),{visibleMatches:n,isLoading:c,hasMore:u,loadMore:m,isEmpty:h,totalCount:g}=(0,W.XD)(l,10),p=(0,o.useMemo)(()=>(0,W.kh)(n),[n]);return(0,a.jsxs)(s.w,{condition:!h,fallback:(0,a.jsx)(eT,{activeTab:r}),children:[(0,a.jsx)(d.Ay,{variant:d.PT.h2,className:"mb-6 capitalize",children:r}),Object.entries(p).map(e=>{let[l,r]=e;return(0,a.jsx)(eA,{dateKey:l,matches:r,showStoryteller:t},l)}),(0,a.jsx)(Z.i,{onLoadMore:m,hasMore:u,isLoading:c,className:"mt-8"}),(0,a.jsx)(s.w,{condition:!u&&g>0,children:(0,a.jsx)("div",{className:"mt-4 text-center text-gray-600",children:(0,a.jsx)(d.Ay,{variant:d.PT["body-4"],children:i("showing-all-matches")})})})]})},ek=e=>{let{className:t,colorSchemaKey:l=n.fs.light,showStoryteller:r,widgetID:o}=e;return(0,a.jsxs)("div",{className:(0,i.QP)("flex flex-col gap-6",t),children:[(0,a.jsx)($,{colorSchemaKey:l,widgetID:o}),(0,a.jsx)(eP,{showStoryteller:r})]})}},34597:(e,t,l)=>{"use strict";l.d(t,{t:()=>r});var a=l(31794);let r=(e,t)=>e?(null==t?void 0:t.length)?e.replace(/\$\{\s*([a-zA-Z_-][a-zA-Z0-9_-]*)\s*}/g,(e,l)=>(0,a.X8)(t,l)||e):e:""},34993:(e,t,l)=>{"use strict";l.d(t,{E:()=>a});var a=function(e){return e.HiddenFromTop="hiddenFromTop",e.HiddenFromBottom="hiddenFromBottom",e.HiddenFromLeft="hiddenFromLeft",e.HiddenFromRight="hiddenFromRight",e.MaskedFromBottom="maskedFromBottom",e.ScaleFromTop="scaleFromTop",e.ScaleFromBottom="scaleFromBottom",e.ScaleFromLeft="scaleFromLeft",e.ScaleFromRight="scaleFromRight",e.Visible="visible",e}({})},35213:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var a=l(95155),r=l(53323),o=l(73881),i=l(19433),n=l(83617),s=l(84380),d=l(30927),c=l(75889);let u=e=>{let{callback:t,onClose:l,title:u,paragraph:m,closeText:h,confirmText:g,colorSchemaKey:p,isLoading:v=!1}=e;(0,s.A)();let{modalBackground:f,text:y,background:x,border:b,modalCloseIcon:w}=d.y[p].confirmModal;return(0,a.jsx)("div",{className:(0,c.QP)("fixed top-0 left-0 z-1055 h-screen w-screen overflow-x-hidden overflow-y-auto outline-2",f,y),tabIndex:-1,"aria-modal":"true",children:(0,a.jsx)("div",{className:"pointer-events-none relative flex min-h-[calc(100%-1rem)] w-auto translate-y-[-50px] items-center transition-all duration-300 ease-in-out min-[576px]:mx-auto min-[576px]:mt-7 min-[576px]:min-h-[calc(100%-3.5rem)] min-[576px]:max-w-[500px]",children:(0,a.jsxs)("dialog",{className:(0,c.QP)("shadow-4 pointer-events-auto relative flex w-full flex-col rounded-xl border-none px-4 outline-hidden",x,y),children:[(0,a.jsxs)("div",{className:(0,c.QP)("flex shrink-0 items-center justify-between rounded-t-md border-b-2 py-4",b),children:[(0,a.jsx)(o.w,{condition:!!u,children:(0,a.jsx)(n.Ay,{variant:n.PT["h4-uppercase"],children:(0,a.jsx)(i.default,{translationTermKey:u})})}),(0,a.jsx)(r.A,{onClick:()=>null==l?void 0:l(),icon:"Close",variant:"link",rounding:"rounded",iconClassName:"size-6",className:(0,c.QP)("size-8 transition-opacity duration-300 hover:opacity-70",w),role:"button",disabled:v})]}),(0,a.jsx)(o.w,{condition:!!m,children:(0,a.jsx)("div",{className:"relative py-4",children:(0,a.jsx)(n.Ay,{variant:n.PT["body-4"],className:"leading-tight",children:(0,a.jsx)(i.default,{translationTermKey:m})})})}),(0,a.jsxs)("div",{className:(0,c.QP)("flex shrink-0 flex-wrap items-center justify-end gap-4 py-4",b),children:[t&&g&&(0,a.jsx)(r.A,{onClick:()=>t(),text:g,variant:"outline",rounding:"rounded",isLoading:v,className:"h-11",colorSchemaKey:p}),(0,a.jsx)(r.A,{onClick:()=>l(),text:h,variant:"outline",rounding:"rounded",disabled:v,colorSchemaKey:p})]})]})})})}},35267:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var a=l(24656),r=l(1298),o=l(847),i=l(12115);let n=()=>{let[e,t]=(0,i.useState)(!1),{allPlayers:l,favoritePlayersMaxLimit:n}=(0,a.useFavorites)(),{requestRemoveFavoritePlayer:s,addFavoritePlayers:d,isMaxLimitReached:c,showMaxLimitToast:u,favoritePlayers:m,pendingAction:h,confirmAction:g,cancelAction:p,isLoading:v,toast:f}=(0,o.A)({favoritePlayersMaxLimit:n}),y=(0,r.ZV)(l,m);return{onAddNew:()=>
1{if(!v){if(c(null==y?void 0:y.length))return void u();t(!0)}},isModalOpen:e,closeModal:()=>t(!1),onAddFavoritePlayer:async e=>{await d(e)},requestRemoveFavoritePlayer:s,pendingAction:h,confirmAction:g,cancelAction:p,isLoading:v,toast:f,favoritePlayers:m,filteredPlayers:y}}},36247:(e,t,l)=>{"use strict";l.d(t,{default:()=>p});var a=l(95155),r=l(12115),o=l(51309),i=l(25548),n=l(11064),s=l(3443);let d=async(e,t)=>{let l=e.current;if(!l)return;let a=(0,s.$e)({autoresizesHeight:!0,eventId:t});try{await (0,s.E6)(a,l)}catch(e){console.log("Error in loading experience",e),l&&(0,s.vs)(l)}},c=async e=>{try{return await (0,n.Zc)(e)}catch(e){return console.log("Error in fetching event",e),null}},u=async(e,t,l)=>{if(e&&null===await c(e))return void l(!1);d(t,e)};var m=l(38583),h=l(88697),g=l(67353);let p=e=>{let{textColor:t,backgroundImage:l,colorSchemaKey:n,horizontalSpacing:d,backgroundColor:c,isFullWidth:p,removeSpacingBottom:v,removeSpacingTop:f,isAnimated:y,ctaLink:x,ctaTitle:b,headerTitle:w,showCtaArrow:j,headerTitleHeadingLevel:N,hideHeaderTitle:T,experienceId:S}=e,[A,P]=(0,r.useState)(!0),k=(0,r.useRef)(null),{MONTEROSA_HOST:C,MONTEROSA_PROJECT_ID:I}=(0,o.V)(),L=!!(C&&I);return((0,r.useEffect)(()=>{if(L)return(()=>{try{(0,i.jK)({host:C,projectId:I}),u(S,k,P)}catch(e){console.error("\uD83D\uDD25 Monterosa SDK init failed",{host:C,project:I,error:e})}})(),()=>{k.current&&(0,s.vs)(k.current)}},[]),L&&A)?(0,a.jsx)(m.A,{childrenComponentName:"monterosa-container",removeSpacingBottom:v,removeSpacingTop:f,backgroundColor:c,textColor:t,isAnimated:y,backgroundImage:l,children:(0,a.jsxs)(h.A,{isFullWidth:p,horizontalSpacing:d,className:"relative z-2 flex flex-col gap-6",children:[(0,a.jsx)(g.A,{ctaLink:x,ctaTitle:b,showCtaArrow:j,isAnimated:y,headerTitle:w,headerTitleHeadingLevel:N,hideHeaderTitle:T,colorSchemaKey:n}),(0,a.jsx)("div",{ref:k})]})}):null}},37081:(e,t,l)=>{"use strict";l.d(t,{MatchTickerView:()=>C});var a=l(95155),r=l(81884),o=l(82438),i=l(61541),n=l(15239),s=l(75889),d=l(8397),c=l(74071),u=l(81156),m=l(56396),h=l(14554),g=l(30927),p=l(73881),v=l(13285),f=l(19433),y=l(45285),x=l(83617),b=l(37575),w=l(11805);let j=e=>{let{status:t,team:l,score:r,penaltyScore:o,colorSchemaClass:i}=e;return(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,a.jsx)(v.A,{team:l,colorSchemaClass:i,typographyVariant:x.PT["subtitle-5"]}),(0,a.jsx)(p.w,{condition:t===h.Xh.FINISHED||t===h.Xh.LIVE||t===h.Xh.SUSPENDED||t===h.Xh.ABANDONED,children:(0,a.jsx)(p.w,{condition:!!r,children:(0,a.jsxs)(x.Ay,{className:(0,s.QP)(i,t===h.Xh.LIVE&&"text-red-500","text-center"),variant:x.PT.h4,children:[r,(0,a.jsxs)(p.w,{condition:!!o,children:["(",o,")"]})]})})})]})},N=e=>{var t,l,r,o,i;let{match:v,competition:N,colorSchemaKey:T=m.fs.light}=e,S=g.y[T].matchCard,A=(0,w.cW)(null==v?void 0:v.status);return(0,a.jsxs)(u.default,{href:null==v?void 0:v.url,className:(0,s.QP)("relative w-full overflow-hidden px-4 py-2"),children:[(0,a.jsx)("div",{className:"mb-2",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)(x.Ay,{className:"flex gap-1",variant:x.PT["date-3"],children:[(0,a.jsx)(x.Ay,{className:(0,s.QP)(S.headline),variant:x.PT["date-3"],children:(0,a.jsx)(c.default,{date:null==v?void 0:v.matchDateLocal,dateType:d.r.shortMonth,isLocalDate:!0})}),(0,a.jsx)(x.Ay,{className:(0,s.QP)(S.headline),variant:x.PT["date-3"],children:(0,a.jsx)(c.default,{date:null==v?void 0:v.matchDateLocal,dateType:d.r.day,isLocalDate:!0})}),(0,a.jsx)(x.Ay,{className:(0,s.QP)(S.headline),variant:x.PT["date-3"],children:"-"}),(0,a.jsx)(x.Ay,{className:(0,s.QP)(S.headline),variant:x.PT["date-3"],children:(0,a.jsx)(c.default,{date:null==v?void 0:v.matchDateLocal,dateType:d.r.shortDay,isLocalDate:!0})})]}),(0,a.jsx)(p.w,{condition:A===h.Xh.POSTPONED||A===h.Xh.LINEUP||A===h.Xh.TACTICAL||A===h.Xh.UPCOMING,children:(0,a.jsx)(x.Ay,{className:(0,s.QP)(S.headline),variant:x.PT["h5-uppercase"],children:(0,a.jsx)(c.default,{date:null==v?void 0:v.matchDateLocal,dateType:d.r.time,isLocalDate:!0})})}),(0,a.jsx)(p.w,{condition:A===h.Xh.LIVE,children:(0,a.jsx)(y.A,{})}),(0,a.jsx)(p.w,{condition:A===h.Xh.FINISHED||A===h.Xh.CANCELED||A===h.Xh.ABANDONED||A===h.Xh.UNKNOWN||A===h.Xh.SUSPENDED||A===h.Xh.ALL,children:(0,a.jsx)(x.Ay,{className:(0,s.QP)(S.headline),variant:x.PT["h5-uppercase"],children:(0,a.jsx)(f.default,{translationTermKey:"sport-".concat(A)})})})]})}),(0,a.jsxs)("div",{className:"flex h-[95px] flex-col justify-between",children:[(0,a.jsx)("div",{className:"flex w-full items-center justify-between gap-2",children:(0,a.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(0,a.jsx)(p.w,{condition:!!(null==v?void 0:v.home),children:(0,a.jsx)(j,{status:A,team:null==v?void 0:v.home,score:(null==v||null==(t=v.homeScorePush)?void 0:t.toString())||void 0,penaltyScore:null==v?void 0:v.providerPenaltyScoreHome,colorSchemaClass:S.headline})}),(0,a.jsx)(p.w,{condition:!!(null==v?void 0:v.away),children:(0,a.jsx)(j,{status:A,team:null==v?void 0:v.away,score:(null==v||null==(l=v.awayScorePush)?void 0:l.toString())||void 0,penaltyScore:null==v?void 0:v.providerPenaltyScoreAway,colorSchemaClass:S.headline})})]})}),(0,a.jsx)(p.w,{condition:!!N,children:(0,a.jsx)("div",{className:"mt-2 flex h-[27px] justify-end",children:(0,a.jsx)(n.default,{className:"h-full w-auto",width:150,height:27,alt:(null==N||null==(r=N.fields)?void 0:r.name)||"",src:(0,b.W)((null==N||null==(i=N.fields)||null==(o=i.logo)?void 0:o.assetUrl)||"",b.N.competition_logo.desktop.transformation)})})})]})]})};var T=l(71789),S=l(12115),A=l(33648),P=l(42696),k=l(67785);let C=e=>{let{matches:t,colorSchemaKey:l=m.fs.light,isAnimated:n=!1,spaceBetween:d=33}=e,c=(0,S.useRef)(null),u=(0,S.useRef)(null),[h,p]=(0,S.useState)(!0),[v,f]=(0,S.useState)(!0),[y,x]=(0,S.useState)(!1),b=g.y[l].carouselCards,w=(0,S.useCallback)(()=>{u.current&&u.current.swiper.slidePrev()},[]),j=(0,S.useCallback)(()=>{u.current&&u.current.swiper.slideNext()},[]),C=(0,S.useCallback)((e,t)=>{0===e?(f(!0),(y||!1===t)&&p(y)):1===e?(f(!1),p(!0)):(p(!1),f(!1))},[y]),I=(0,S.useCallback)(()=>
1{if(!u.current)return;let e=u.current.swiper,t=null==e?void 0:e.el,l=null==t?void 0:t.querySelectorAll(".swiper-slide");if(t&&l&&0!==l.length)t.offsetWidth>=l[0].offsetWidth*l.length+d*(l.length-1)?(p(!0),x(!0)):(p(!1),x(!1))},[d,t.length]),L=(()=>{let[e,t]=(0,S.useState)({width:window.innerWidth,height:window.innerHeight});return(0,S.useEffect)(()=>{let e=()=>{t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),e})();(0,S.useEffect)(()=>{I()},[I,L]);let F=(0,o.E)({paginationRef:c,handlePrev:w,handleNext:j,isBeginning:v,isEnd:h,navigationColor:b.navigation,progressColor:b.progress,paginationColor:b.pagination,type:"edge-navigation"}),{competitions:B}=(0,P.V)();return(0,a.jsxs)("div",{className:"match-ticker-carousel",children:[(0,a.jsx)(A.IX,{slidesPerView:"auto",spaceBetween:d,breakpoints:T.KL,centeredSlides:!1,centeredSlidesBounds:!1,resistanceRatio:0,ref:u,centerInsufficientSlides:!0,className:"w-full overflow-visible",slidesPerGroup:1,pagination:{el:c.
1current,type:"progressbar"},onBeforeInit:e=>{e.params.pagination.el=c.current},onInit:()=>{I();let e=(0,T.An)(t);e>0&&setTimeout(()=>{u.current&&(u.current.swiper.slideTo(e),C(u.current.swiper.progress))},0)},onSliderMove:e=>{C(e.progress)},onProgress:e=>{C(e.progress,0!==e.progress&&void 0)},children:null==t?void 0:t.map((e,o)=>{var i,c;let u=(null==e||null==(i=e.fields)?void 0:i.matchData)||e;if(!u)return null;let m=(0,k.V)(null==e||null==(c=e.matchSet)?void 0:c.competitionId),h=B.find(e=>{var t;return(null==e||null==(t=e.fields)?void 0:t.competitionId)===m}),g=o===t.length-1;return(0,a.jsxs)(A.qr,{className:(0,s.QP)("relative h-auto w-auto hover:z-10"),children:[(0,a.jsx)(r.default,{isAnimated:n,delay:o<4?.1*o:.3,className:"flex h-full",children:(0,a.jsx)(N,{match:u,competition:h,colorSchemaKey:l})}),!g&&(0,a.jsx)("div",{className:"absolute top-1/2 z-10 h-20 w-px -translate-y-1/2 bg-black/20",style:{right:"".concat(-d/2,"px")}})]},(null==u?void 0:u.id)||(null==e?void 0:e.id)||o)})}),(0,a.jsx)(i.A,{options:F})]})}},37165:(e,t,l)=>{"use strict";l.d(t,{w:()=>Z});var a=l(95155),r=l(53323),o=l(44449),i=l(83617),n=l(51309),s=l(12115),d=l(67785);let{CULTURE:c,LANGUAGE:u,DIVA_PLAYER_VIDEO_SETTINGS_BASE_URL:m,ACCOUNT_TENANT_ID:h,ACCOUNT_BASE_URL:g,PAGE_TRANSITION:p,SDP_WIDGET_FOLDER:v,CLOUDINARY_BASE_URL:f,SDP_API_BASE_URL:y,SDP_PROJECT:x,SDP_API_URL_WITH_VERSION:b,SDP_IMAGERY_BASE_URL:w,ENVIRONMENT:j,STORYTELLER_API_KEY:N,USERCENTRICS_SETTINGS_ID:T,BRAZE_API_KEY:S,BRAZE_BASE_URL:A,AUTH0_DOMAIN:P,AUTH0_CLIENT_ID:k,AUTH0_AUDIENCE:C,AUTH0_DEBUG:I,VOLT_CLIENT_ID:L,MONTEROSA_HOST:F,MONTEROSA_PROJECT_ID:B,ECAL_API_KEY:E,LIVE_MATCH_POLLING_INTERVAL:_,LIVE_MATCH_POLLING_PRE_WINDOW_HOURS:R,FANTASY_GAME_SCRIPT_URL:M,NODE_ENV:D,FRONTEND_REDIRECT_BASE_URL:U}=l(87358).env,z={CLOUDINARY_BASE_URL:f};var O=l(37575),H=function(e){return e.Player="player",e.Club="club",e.Nation="nation",e}({});let W={player:{assetPath:"assets/widgets/player-action-photo",transformation:"t_w_720",fallbackFile:{light:"fallbacklogo-white.svg",dark:"fallbacklogo.svg"}},club:{assetPath:"assets/widgets/teams",transformation:"t_w_120",fallbackFile:{light:"fallbacklogo.svg",dark:"fallbacklogo.svg"}},nation:{assetPath:"assets/widgets/flags",transformation:"t_w_120",fallbackFile:{light:"fallbacklogo.svg",dark:"fallbacklogo.svg"}}},Q=async e=>{try{return(await fetch(e,{method:"HEAD"})).ok}catch(e){return!1}};function G(e){let{baseUrl:t,transformation:l,environment:a,assetPath:r,identifier:o}=e;return"".concat(t,"/").concat(l,"/").concat(a,"/").concat(r,"/").concat(o)}let V=async e=>{let t,{playerId:l,clubId:a,clubLogo:r=null,nationalityTriletter:o,cloudinaryBaseUrl:i=z.CLOUDINARY_BASE_URL,environment:n,imageType:s,transformation:d,theme:c}=e;if(!i)throw Error("Cloudinary base URL is required");let u=W[s],m=d||u.transformation;switch(s){case"player":t=l;break;case"club":t=a;break;case"nation":t=o}let h=u.assetPath,g=r?(0,O.W)(r,m):G({baseUrl:i,transformation:m,environment:n,assetPath:h,identifier:t||u.fallbackFile[c||"light"]}),p=G({baseUrl:i,transformation:m,environment:n,assetPath:h,identifier:u.fallbackFile[c||"light"]});try{let e=await Q(g);return{url:g,fallbackUrl:p,exists:e}}catch(e){console.error("Error checking image exists",e)}return{url:g,fallbackUrl:p,exists:!1}};var K=l(15239);let q=e=>{let{club:t,isChecked:l,onToggle:r}=e,{CLOUDINARY_BASE_URL:c,ENVIRONMENT:u}=(0,n.V)(),{clubImg:m}=(e=>{var t;let{playerEntity:l,cloudinaryUrl:a,cloudinaryEnv:r,theme:o="light"}=e,[i,n]=(0,s.useState)({playerImg:"/assets/widgets/players/fallbacklogo.svg",clubImg:"/assets/widgets/teams/fallbacklogo.svg",nationImg:"/assets/widgets/flags/fallbacklogo.svg"});return(0,s.useEffect)(()=>{(async()=>{var e,t,i,s,c;let u=[V({imageType:H.Player,environment:r,theme:o,cloudinaryBaseUrl:a,playerId:(0,d.V)(null!=(s=null==l?void 0:l.playerId)?s:"")}),V({imageType:H.Club,environment:r,cloudinaryBaseUrl:a,clubId:(0,d.V)(null!=(c=null==l||null==(e=l.team)?void 0:e.teamId)?c:""),clubLogo:(null==l||null==(t=l.team)?void 0:t.logoLight)||(null==l||null==(i=l.team)?void 0:i.logo)||null}),V({imageType:H.Nation,environment:r,cloudinaryBaseUrl:a,nationalityTriletter:null==l?void 0:l.nationalityIsoCode})];try{let[e,t,l]=await Promise.all(u);n({playerImg:e.exists?e.url:e.fallbackUrl,clubImg:t.exists?t.url:t.fallbackUrl,nationImg:l.exists?l.url:l.fallbackUrl})}catch(e){console.error("Error loading player images:",e)}})()},[null==l?void 0:l.entityHash,null==l||null==(t=l.team)?void 0:t.teamId,null==l?void 0:l.nationalityIsoCode,a,r]),i})({playerEntity:{team:{teamId:t.id}},cloudinaryUrl:c,cloudinaryEnv:u});return(0,a.jsxs)("label",{className:"flex cursor-pointer items-center gap-1 rounded-[8px] bg-white/40 p-2",children:[(0,a.jsx)(o.A,{id:t.id,name:"clubs",value:t.id,isChecked:l,onCheckedChange:r,iconClassName:l?"text-white bg-primary-on-light":"",className:"border-primary-on-light data-[state=checked]:!border-primary-on-light data-[state=checked]:bg-primary-on-light data-[state=checked]:text-white"}),(0,a.jsx)(K.default,{src:m,alt:t.name,width:24,height:24,className:"h-6 w-6 object-contain"}),(0,a.jsx)(i.Ay,{variant:i.PT["body-4"],children:t.name})]})};
1var J=l(73881),X=l(67231),Y=l(91512),$=l(84380);let Z=e=>{let{title:t,clubsByLeague:l,leagueLabels:o,initialClubs:n=[],onApply:d,onReset:c}=e,{close:u}=(0,Y.useDrawer)(),m=(0,$.A)(),[h,g]=(0,s.useState)(n);return(0,a.jsxs)("div",{className:"bg-secondary-on-light relative flex h-full flex-1 flex-col gap-6 pt-6",children:[(0,a.jsx)("div",{className:"px-6",children:(0,a.jsx)("div",{className:"flex flex-col gap-4 border-b border-black/20 pt-1.5 pb-[14px]",children:(0,a.jsx)(i.Ay,{variant:i.PT["subtitle-3"],children:t})})}),(0,a.jsx)("div",{className:"flex h-full flex-1 flex-col gap-6 overflow-y-auto px-6",children:Object.entries(l).map(e=>{var t;let[l,r]=e;return(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("div",{className:"mb-4 flex items-center gap-2",children:(0,X.a)(null==(t=o[l])?void 0:t.logoIcon,{width:"135px"})}),(0,a.jsx)("div",{className:"flex flex-col gap-2",children:r.map(e=>{let t;return(0,a.jsx)(q,{club:e,isChecked:(t=e.id,h.includes(t)),onToggle:()=>(e=>{g(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])})(e.id)},e.id)})})]},l)})}),(0,a.jsxs)("div",{className:"flex justify-center gap-x-[10px] bg-white px-6 py-6",style:{boxShadow:"0px -1px 20px 0px rgba(0, 0, 0, 0.15)"},children:[(0,a.jsx)(J.w,{condition:h.length>0,children:(0,a.jsx)(r.A,{variant:"link",text:m("reset-all"),className:"w-full rounded-[30px]",onClick:()=>{g(n),c?c():d([]),u()}})}),(0,a.jsx)(r.A,{variant:"outline",text:m("apply-filter"),className:"w-full rounded-[30px]",onClick:()=>{d(h),u()}})]})]})}},37566:(e,t,l)=>{"use strict";l.d(t,{v:()=>a});var a=function(e){return e[e.h1=1]="h1",e[e.h2=2]="h2",e[e.h3=3]="h3",e[e.h4=4]="h4",e[e.h5=5]="h5",e}({})},37724:()=>{},38416:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var a=l(95155),r=l(73881),o=l(13285),i=l(83617),n=l(85285),s=l(75889);let d=e=>{let{status:t,team:l,score:d,penaltyScore:c,matchTeamText:u,matchScoreText:m,winTeamId:h,isShortTeamName:g=!1,isLosingTeamOpacity:p=!1,containerClasses:v="",teamInfoTypographyVariant:f=i.PT.h5,scoreInfoTypographyVariant:y=i.PT.h4}=e;return(0,a.jsxs)("div",{className:(0,s.QP)("flex items-center justify-between gap-2",v),children:[(0,a.jsx)(o.A,{team:l,colorSchemaClass:u,typographyVariant:f,winTeamId:h,isShortTeamName:g,isLosingTeamOpacity:p}),(0,a.jsx)(r.w,{condition:(0,n.l3)(t)&&!!d,children:(0,a.jsxs)(i.Ay,{className:(0,s.QP)(m,"text-center",p?(0,n.jx)({teamId:null==l?void 0:l.teamId,winTeamId:h}):""),variant:y,children:[d,(0,a.jsxs)(r.w,{condition:!!c,children:["(",c,")"]})]})})]})},c=e=>{let{match:t,matchTeamText:l,matchScoreText:o,status:i,containerClasses:n="",isShortTeamName:s,isLosingTeamOpacity:c,teamInfoTypographyVariant:u,scoreInfoTypographyVariant:m}=e,{home:h,away:g,winTeamId:p,homeScorePush:v,providerPenaltyScoreHome:f,awayScorePush:y,providerPenaltyScoreAway:x}=t||{},b=Object.keys(h).length,w=Object.keys(g).length;return b||w?(0,a.jsxs)("div",{className:n,children:[(0,a.jsx)(r.w,{condition:!!b,children:(0,a.jsx)(d,{status:i,team:h,score:(null==v?void 0:v.toString())||void 0,penaltyScore:f,matchTeamText:l,matchScoreText:o,winTeamId:p,isLosingTeamOpacity:c,isShortTeamName:s,teamInfoTypographyVariant:u,scoreInfoTypographyVariant:m})}),(0,a.jsx)(r.w,{condition:!!w,children:(0,a.jsx)(d,{status:i,team:g,score:(null==y?void 0:y.toString())||void 0,penaltyScore:x,matchTeamText:l,matchScoreText:o,winTeamId:p,isLosingTeamOpacity:c,isShortTeamName:s,teamInfoTypographyVariant:u,scoreInfoTypographyVariant:m})})]}):null}},38495:(e,t,l)=>{"use strict";l.d(t,{Gc:()=>o,IW:()=>u,fN:()=>i,oN:()=>d,s3:()=>s,w$:()=>n,xm:()=>c});var a=l(17503);l(58002);var r=l(87358);let o=e=>{var t,l;let a="".concat(null==(t=r.env)?void 0:t.SDP_PROJECT,"::").concat(null==(l=r.env)?void 0:l.SDP_FOOTBALL_SEASON_ID_KEY);return e&&!e.startsWith(a)?"".concat(a,"::").concat(e):e},i=e=>(0,a.Gn)(e).map(e=>o(e)).filter(e=>!!e),n=e=>{var t,l;let a="".concat(null==(t=r.env)?void 0:t.SDP_PROJECT,"::").concat(null==(l=r.env)?void 0:l.SDP_FOOTBALL_MATCH_ID_KEY);return e&&!e.startsWith(a)?"".concat(a,"::").concat(e):e},s=e=>{var t,l;let a="".concat(null==(t=r.env)?void 0:t.SDP_PROJECT,"::").concat(null==(l=r.env)?void 0:l.SDP_FOOTBALL_PLAYER_ID_KEY);return e&&!e.startsWith(a)?"".concat(a,"::").concat(e):e},d=e=>{var t,l;let a="".concat(null==(t=r.env)?void 0:t.SDP_PROJECT,"::").concat(null==(l=r.env)?void 0:l.SDP_FOOTBALL_TEAM_ID_KEY);return e&&!e.startsWith(a)?"".concat(a,"::").concat(e):e},c=e=>(0,a.Gn)(e).map(e=>d(e)).filter(e=>!!e),u=e=>{var t,l;let a="".concat(null==(t=r.env)?void 0:t.SDP_PROJECT,"::").concat(null==(l=r.env)?void 0:l.SDP_FOOTBALL_COMPETITION_ID_KEY);return e&&!e.startsWith(a)?"".concat(a,"::").concat(e):e}},38583:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var a=l(95155),r=l(33292),o=l(7641),i=l(37575),n=l(75889);let s=e=>{var t;let{childrenComponentName:l,children:s,backgroundColor:d,textColor:c,removeSpacingBottom:u=!1,removeSpacingTop:m=!1,backgroundImage:h,isAnimated:g=!1,className:p,allowOverflow:v=!1,transformations:f=i.N.default_assets}=e;return(0,a.jsxs)("div",{className:(0,n.QP)(l,"relative w-full",v?"overflow-visible":"overflow-clip",m?"":"pt-6 lg:pt-12",u?"":"pb-6 lg:pb-12",d,c,p),children:[(null==h?void 0:h.assetUrl)&&(0,a.jsx)(r.A,{isAnimated:g,className:"pointer-events-none absolute inset-0",isScaled:!0,children:(0,a.jsx)(o.default,{src:h.assetUrl,alt:null!=(t=null==h?void 0:h.name)?t:"",className:"h-full w-full object-cover",transformations:f,fill:!0,pictureClassName:"contents"})}),s]})}},38932:(e,t,l)=>{"use strict";l.d(t,{XA:()=>o,_E:()=>r,e2:()=>i});var a=l(1298);let r=e=>e.reduce((e,t)=>
1((null==t?void 0:t.competitionSlug)&&(e[t.competitionSlug]||(e[t.competitionSlug]=[]),e[t.competitionSlug].push({id:(0,a.iO)(t.teamId),name:t.officialName,logo:t.logo,logoLight:t.logoLight})),e),{}),o=e=>{let{allCompetitions:t,groupedClubs:l}=e;return null==t?void 0:t.filter(e=>{var t;let{slug:a}=e;return null==(t=l[a])?void 0:t.length}).toSorted((e,t)=>{var l;return null==e||null==(l=e.title)?void 0:l.localeCompare(null==t?void 0:t.title)})},i=e=>{let{selectedFavoriteClubs:t,id:l}=e;return -1!==(null==t?void 0:t.findIndex(e=>e.id===l))}},39204:(e,t,l)=>{"use strict";l.d(t,{default:()=>n});var a=l(95155),r=l(3314),o=l(51309),i=l(14233);let n=e=>{let{itemsToShow:t,matchId:l,seasonIds:n,enableTeamLinks:s,enablePlayerLinks:d,teamUrlPattern:c,playerUrlPattern:u,showAllButton:m,cardBackgroundUrl:h,showErrorMessage:g,showRetryButton:p}=e,{SDP_PROJECT:v}=(0,o.V)(),f={primary:"var(--color-widget-label-primary)",eventRowBg:"transparent",noData:"var(--color-primary-on-light-200)",btnBorder:"var(--color-primary-on-light-200)",btnBorderHover:"var(--color-primary-on-light-300)",btnText:"var(--color-widget-label-primary)",btnBg:"var(--color-primary-on-light)",navBorder:"var(--color-widget-border-primary)",navBg:"var(--color-grey-on-light-0)",scoringBoxBg:"var(--color-grey-on-light-900)",scoringBoxBorder:"var(--color-grey-on-light-900)",textHome:"var(--color-widget-label-primary)",textAway:"var(--color-widget-label-primary)",timeBadgeBg:"var(--color-primary-on-light-200)",timeBadgeText:"var(--color-grey-on-light-900)",homeGoalColor:"var(--color-primary-on-light-200)",homeGoalText:"var(--color-grey-on-light-900)",homeGoalIcon:"var(--color-grey-on-light-900)",awayGoalColor:"var(--color-grey-on-light-100)",awayGoalText:"var(--color-grey-on-light-900)",awayGoalIcon:"var(--color-grey-on-light-900)",scoreInactive:"var(--color-grey-on-light-500)",tabActiveText:"var(--color-grey-on-light-900)",tabActiveBg:"var(--color-primary-on-light-200)",tabActiveBorder:"var(--color-primary-on-light-200)",tabInactiveText:"#000000",goalContentHomeBg:"var(--color-primary-on-light)",goalContentAwayBg:"var(--color-primary-on-light)"},y={type:i.NX,sport:i.Fn,project:v,matchId:null!=l?l:"",seasonIds:null!=n?n:[],itemsToShow:null==t?void 0:t.toString(),showAllButton:m,enableTeamLinks:s,enablePlayerLinks:d,teamUrlPattern:c,playerUrlPattern:u,cardBackgroundUrl:h,showErrorMessage:g,showRetryButton:p,theme:{widget:{lightColors:f,darkColors:f}}};return(0,a.jsx)(r.wL,{...y})}},39996:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var a=l(12115),r=l(51309),o=l(65897),i=l(52259),n=l(95125);let s=async e=>{try{let t=await n.A.head("".concat(e,"/geo.json")),l=null==t?void 0:t.headers;return(null==l?void 0:l["x-country-code"])||null}catch(e){return i.A.log("Error on getCountryCode service:".concat(e),o.T.error),null}},d=()=>{let[e,t]=(0,a.useState)("GB"),{FRONTEND_REDIRECT_BASE_URL:l}=(0,r.V)(),o=async()=>{let e=await s(l);t(null!=e?e:"GB")};return(0,a.useEffect)(()=>{o()},[]),e}},40276:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233),s=l(17503);let d=e=>{let{teamId:t,seasonIds:l,cardBackgroundUrl:d,headerTitleHeadingLevel:c=o.v.h2,showErrorMessage:u,showRetryButton:m,componentConfig:h}=e,{SDP_PROJECT:g}=(0,i.V)(),p={headerText:"var(--color-widget-label-primary)",dropdownBg:"var(--color-grey-on-light-900)",dropdownText:"var(--color-widget-label-primary)",dropdownBorder:"var(--color-widget-border-primary)",dropdownBorderHover:"var(--color-primary-on-light-200)",dropdownOptionBg:"var(--color-grey-on-light-900)",dropdownOptionText:"var(--color-widget-label-primary)",dropdownOptionBorder:"var(--color-widget-border-primary)",dropdownOptionHoverBg:"var(--color-grey-on-light-700)",pgTitle:"var(--color-widget-label-primary)",pgChartPrimary:"var(--color-primary-on-light-200)",pgChartSecondary:"var(--color-primary-on-light-300)",pgChartTertiary:"var(--color-primary-on-light-200)",pgCircularProgressBg:"var(--color-grey-on-light-700)",pgContentText:"var(--color-widget-label-primary)",pgCircularText:"var(--color-primary-on-light-200)",shotsTitle:"var(--color-widget-label-primary)",shotsChartPrimary:"var(--color-primary-on-light-200)",shotsChartSecondary:"var(--color-primary-on-light-300)",shotsChartTertiary:"var(--color-primary-on-light-200)",shotsCircularProgressBg:"var(--color-grey-on-light-700)",shotsContentText:"var(--color-widget-label-primary)",shotsCircularText:"var(--color-primary-on-light-200)",asTitle:"var(--color-widget-label-primary)",asStatCardTitle:"var(--color-widget-label-primary)",asStatText:"var(--color-widget-label-primary)",asStatCardSubtitle:"var(--color-widget-label-secondary)",asStatBg:"var(--color-grey-on-light-900)",asPitchBg:"var(--color-grey-on-light-800)",asPitchLegend:"var(--color-widget-label-primary)",asPitchHighlight:"var(--color-primary-on-light-200)",asPitchLines:"var(--color-grey-on-light-700)",perfTitle:"var(--color-widget-label-primary)",perfCircularStatLegend:"var(--color-widget-label-secondary)",perfCircularProgressBg:"var(--color-grey-on-light-700)",perfCircularText:"var(--color-primary-on-light-200)",perfCircularBorder:"var(--color-primary-on-light-200)",discTitle:"var(--color-widget-label-primary)",defStatCardTitle:"var(--color-widget-label-primary)",discStatText:"var(--color-widget-label-primary)",discStatCardSubtitle:"var(--color-widget-label-secondary)",discStatBg:"var(--color-grey-on-light-900)",defTitle:"var(--color-widget-label-primary)",defStatTextTop:"var(--color-widget-label-primary)",defStatBgTop:"var(--color-grey-on-light-900)",defStatTextBottom:"var(--color-widget-label-primary)",defStatBgBottom:"var(--color-grey-on-light-900)",defStatCardSubtitle:"var(--color-widget-label-secondary)",divider:"var(--color-widget-border-primary)"},v={type:n.Cl,sport:n.Fn,project:g,teamId:null!=t?t:"",seasonIds:null!=l?l:[],cardBackgroun
1dUrl:d,showErrorMessage:u,showRetryButton:m,startHeadingLevel:Number(c),componentConfig:(0,s.Gn)(h),theme:{widget:{lightColors:p,darkColors:p}}};return(0,a.jsx)(r.QL,{...v})}},40282:(e,t,l)=>{"use strict";l.d(t,{default:()=>g});var a=l(95155),r=l(12115),o=l(56396),i=l(81156),n=l(37575),s=l(75889),d=l(7641),c=l(83617),u=l(30927);let m=e=>{var t,l,r;let{colorSchemaKey:m=o.fs.light,imageAsset:h,isExpanded:g,labelTop:p,labelBottom:v,linkUrl:f}=e;if(!h&&!p)return null;let y=u.y[m].navBadgeItem,x=null!=(t=null==h?void 0:h.name)?t:null==h?void 0:h.publicId;return(0,a.jsx)(i.default,{href:f,title:x,"aria-label":x,className:"relative",children:(0,a.jsxs)("div",{className:(0,s.QP)(y.background,y.border,"group flex h-12 min-w-12 items-center justify-center","rounded-4xl px-2 py-1","cursor-pointer transition-all delay-75 duration-500",p&&"md:hover:px-4",g&&p?"px-2 md:px-4":"px-2",!(null==h?void 0:h.assetUrl)&&"px-4"),children:[(null==h?void 0:h.assetUrl)&&(0,a.jsx)("div",{className:"flex aspect-1/1 h-7 w-7 min-w-7 items-center",children:(0,a.jsx)(d.default,{pictureClassName:"h-full w-full",className:"h-full w-full object-contain",src:null==h?void 0:h.assetUrl,alt:x||"",transformations:n.N.default_assets,width:null!=(l=h.width)?l:n.N.default_assets.mobile.width,height:null!=(r=h.height)?r:n.N.default_assets.mobile.height})}),p&&(0,a.jsx)("div",{className:(0,s.QP)("h-full","ease-power-4 grid whitespace-nowrap transition-all delay-200 duration-500 group-hover:delay-75",g&&(null==h?void 0:h.assetUrl)?"grid-cols-[0fr] opacity-100 md:grid-cols-[1fr]":"grid-cols-[0fr] opacity-0",!(null==h?void 0:h.assetUrl)&&"flex grid-cols-[1fr] opacity-100","group-hover:opacity-100 md:group-hover:grid-cols-[1fr]"),children:(0,a.jsxs)("div",{className:"relative flex flex-col justify-center overflow-x-hidden",children:[(0,a.jsx)(c.Ay,{className:(0,s.QP)(y.textTop,"relative transition-transform duration-200",(null==h?void 0:h.assetUrl)&&"ps-2",g&&v&&"translate-y-1/2 group-hover:translate-y-0"),variant:c.PT["subtitle-6"],children:p}),v&&(0,a.jsx)(c.Ay,{className:(0,s.QP)(y.textBottom,"relative transition-all duration-200",(null==h?void 0:h.assetUrl)&&"ps-2",g&&"-translate-y-1/2 opacity-0 group-hover:translate-y-0 group-hover:opacity-100"),variant:c.PT["body-6"],children:v})]})})]})})};var h=l(81884);let g=e=>{let{items:t,firstElementText:l,firstElementLink:i,isAnimated:n,isExpanded:d,colorSchemaKey:c=o.fs.light}=e,g=u.y[c].navBadge,p=(0,r.useRef)(null),[v,f]=(0,r.useState)(!1),[y,x]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{let e=()=>{if(p.current){let{scrollLeft:e,scrollWidth:t,clientWidth:l}=p.current;f(e>0),x(e+l<t-1)}},t=p.current;return t&&(e(),t.addEventListener("scroll",e),x(t.scrollWidth>t.clientWidth)),()=>{t&&t.removeEventListener("scroll",e)}},[t]),(0,a.jsxs)("div",{ref:p,className:(0,s.QP)(g.background,g.scrollBar,"relative flex w-full gap-4 overflow-x-auto overflow-y-hidden py-2 whitespace-nowrap md:py-4 lg:justify-center"),children:[(0,a.jsx)("div",{"data-gradient-left":!0,className:(0,s.QP)("transition-opacity duration-300 ease-in-out","pointer-events-none sticky top-0 left-0 z-20 me-[-50px] h-12 min-w-14 bg-linear-to-r","md:hidden",g.gradient,!v&&"opacity-0")}),l&&(0,a.jsx)(h.default,{isAnimated:n,stagger:!0,delay:0,children:(0,a.jsx)(m,{labelTop:l,linkUrl:i,colorSchemaKey:c})}),null==t?void 0:t.map((e,t)=>{var l,r,o;return e&&(0,a.jsx)(h.default,{isAnimated:n,stagger:!0,delay:.05*t,children:(0,a.jsx)(m,{labelTop:null==e||null==(l=e.fields)?void 0:l.name,labelBottom:null==e||null==(r=e.fields)?void 0:r.location,colorSchemaKey:c,imageAsset:null==e||null==(o=e.fields)?void 0:o.logo,isExpanded:d})},t)}),(0,a.jsx)("div",{"data-gradient-right":!0,className:(0,s.QP)("transition-opacity duration-300 ease-in-out","pointer-events-none sticky top-0 right-0 z-20 ms-[-50px] h-12 min-w-14 bg-linear-to-l","md:hidden",g.gradient,!y&&"opacity-0")})]})}},41819:(e,t,l)=>{"use strict";l.d(t,{n:()=>r});var a=l(12115);let r=function(e,t){let{interval:l=3e4,enabled:r=!1,onError:o,immediate:i=!0,featureFlagEnabled:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[s,d]=(0,a.useState)(!1),[c,u]=(0,a.useState)(null),m=(0,a.useRef)(null),h=(0,a.useRef)(!0);(0,a.useEffect)(()=>()=>{h.current=!1},[]);let g=(0,a.useCallback)(async()=>
1{if(h.current)try{u(null);let l=await e();h.current&&t&&t(l)}catch(e){if(h.current){let t=e instanceof Error?e:Error("Unknown polling error");u(t),o?o(t):console.error("Polling error:",t)}}},[e,t,o]),p=(0,a.useCallback)(()=>{!m.current&&r&&n&&(d(!0),i&&g(),m.current=setInterval(g,l))},[g,l,r,i,n]),v=(0,a.useCallback)(()=>{m.current&&(clearInterval(m.current),m.current=null,d(!1))},[]);return(0,a.useEffect)(()=>(r&&n?p():v(),v),[r,n,p,v]),(0,a.useEffect)(()=>()=>{v()},[v]),{isPolling:s,error:c,startPolling:p,stopPolling:v}}},42240:(e,t,l)=>{"use strict";l.d(t,{default:()=>n});var a=l(95155),r=l(3314),o=l(51309),i=l(14233);let n=e=>{let{matchId:t,seasonIds:l,dateFormat:n,enableMatchLinks:s,matchUrlPattern:d,showErrorMessage:c,showRetryButton:u}=e,{SDP_PROJECT:m}=(0,o.V)(),h={gradientStart:"transparent",gradientEnd:"transparent",tabSelectedBg:"var(--color-primary-on-light-200)",tabSelectedText:"var(--color-grey-on-light-900)",tabSelectedBorder:"rgba(255, 255, 255, 0.1)",tabUnselectedBg:"#3C3C3C",tabUnselectedText:"#FFFFFF",tabUnselectedBorder:"rgba(255, 255, 255, 0.1)",tabDateText:"#FFFFFF",scrollButtonIcon:"#FFFFFF",liveBadgeBg:"var(--color-primary-on-light-200)",liveBadgeText:"var(--color-grey-on-light-900)"},g={type:i.KA,sport:i.Fn,project:m,seasonIds:null!=l?l:[],matchId:null!=t?t:"",selectedMatchId:null!=t?t:"",dateFormat:n,enableMatchLinks:s,matchUrlPattern:d,showErrorMessage:c,showRetryButton:u,theme:{widget:{lightColors:h,darkColors:h}}};return(0,a.jsx)(r.eo,{...g})}},42696:(e,t,l)=>{"use strict";l.d(t,{MatchTickerProvider:()=>m,V:()=>u});var a=l(95155),r=l(12115),o=l(41819),i=l(50329),n=l(86737),s=l(23183),d=l(15126);let c=(0,r.createContext)(void 0),u=()=>{let e=(0,r.useContext)(c);if(!e)throw Error("useMatchTicker must be used within a MatchTickerProvider");return e},m=e=>{let{children:t,initialMatches:l,seasonIds:u,competitions:m}=e,{FLAG_LIVE_POLLING_ENABLED:h,FLAG_PRESERVE_SERVER_MATCH_URL:g}=(0,n.h)(),[p,v]=(0,r.useState)(new Map),f=(0,r.useMemo)(()=>(0,s.Qd)(l,{preMatchWindowHours:2}),[l]),y=(0,r.useCallback)(async()=>{let e=new Date;e.setDate(e.getDate()-1);let t=new Date;return t.setDate(t.getDate()+1),await (0,i.O)({seasonIds:u,startDate:e.toISOString(),endDate:t.toISOString()})},[u]),x=(0,r.useCallback)(e=>{if(!(null==e?void 0:e.matches))return;let t=e.matches.map(e=>({...e,home:e.home||{},away:e.away||{}}));v((0,d.I)(t,l,g))},[l,g]);(0,o.n)(y,x,{enabled:f,interval:3e4,featureFlagEnabled:h});let b=(0,r.useMemo)(()=>({competitions:m,polledMatches:p}),[m,p]);return(0,a.jsx)(c.Provider,{value:b,children:t})}},42801:(e,t,l)=>{"use strict";l.d(t,{default:()=>i});var a=l(12115),r=l(24531),o=l(91286);function i(e){let{logoSrc:t}=e,{setLogo:l}=(0,o.A)();return(0,a.useEffect)(()=>{t?l(t):l(r.qe)},[t]),null}},44449:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var a=l(95155),r=l(38162),o=l(83617),i=l(67231),n=l(30927),s=l(56396),d=l(75889);let c=e=>{let{colorSchemaKey:t=s.fs.light,id:l,label:c,value:u,name:m,isChecked:h=!1,isDisabled:g=!1,isRequired:p=!1,onCheckedChange:v,className:f,iconClassName:y}=e,x=n.y[t].checkbox;return(0,a.jsxs)("div",{className:"inline-flex items-center gap-2",children:[(0,a.jsx)(r.bL,{className:(0,d.QP)(x.border,"data-[state=checked]:not-[disabled]:border-success","cursor-pointer data-[disabled]:cursor-not-allowed","relative flex size-4 min-w-4 appearance-none items-center justify-center overflow-hidden rounded-sm",f),defaultChecked:h,disabled:g,required:p,id:l,value:u,name:m,checked:h,onCheckedChange:v,children:(0,a.jsx)(r.C1,{asChild:!0,forceMount:!0,children:(0,a.jsx)("div",{className:(0,d.QP)(x.icon,"h-4 w-4 p-0.5","flex items-center justify-center","transition-all duration-200 ease-in-out","opacity-0 data-[state=checked]:opacity-100","scale-150 data-[state=checked]:scale-100",y),children:(0,i.a)("Check")})})}),c&&(0,a.jsx)("label",{htmlFor:l,children:(0,a.jsx)(o.Ay,{variant:o.PT["body-4"],className:x.text,children:c})})]})}},44630:(e,t,l)=>{"use strict";l.d(t,{Rk:()=>el,PK:()=>ei,QH:()=>ee,C9:()=>et,ae:()=>eo,Lo:()=>er});var a=l(15058),r=l(56396),o=l(24531),i=l(31794),n=function(e){return e.fields="fields",e.root="root",e}({}),s=l(33978),d=l(24158);let c=async e=>{for(let t of e)switch(t.entityCode){case r.et.team:await u(t);break;case r.et.promo:await m(t);break;case r.et.partner:await h(t);break;case r.et.heroVideo:await g(t);break;case r.et.competition:await p(t);break;case r.et.broadcaster:await v(t)}return e},u=async e=>{var t,l,a,r,o;let i=[{fieldPath:null==(t=e.fields)?void 0:t.logo,resultKey:"logo"},{fieldPath:null==(l=e.fields)?void 0:l.logoLight,resultKey:"logoLight"},{fieldPath:null==(a=e.fields)?void 0:a.homeKitImage,resultKey:"homeKitImage"},{fieldPath:null==(r=e.fields)?void 0:r.awayKitImage,resultKey:"awayKitImage"},{fieldPath:null==(o=e.fields)?void 0:o.thirdKitImage,resultKey:"thirdKitImage"}];return await f(e,i)},m=async e=>{var t,l;let a=[{fieldPath:null==(t=e.fields)?void 0:t.backgroundImage,resultKey:"backgroundImage"},{fieldPath:null==(l=e.fields)?void 0:l.frontImage,resultKey:"frontImage"}];return await f(e,a)},h=async e=>{var t;let l=[{fieldPath:null==(t=e.fields)?void 0:t.partnerLogo,resultKey:"partnerLogo"}];return await f(e,l)},g=async e=>{var t,l;let a=[{fieldPath:null==(t=e.fields)?void 0:t.mp4VideoAsset,resultKey:"mp4VideoAsset"},{fieldPath:null==(l=e.fields)?void 0:l.webmVideoAsset,resultKey:"webmVideoAsset"}];return await f(e,a)},p=async e=>{var t,l,a,r;let o=[{fieldPath:null==(t=e.fields)?void 0:t.logo,resultKey:"logo"},{fieldPath:null==(l=e.fields)?void 0:l.logoOnDark,resultKey:"logoOnDark"},{fieldPath:null==(a=e.fields)?void 0:a.logoOnLight,resultKey:"logoOnLight"},{fieldPath:null==(r=e.fields)?void 0:r.competitionStrip,resultKey:"c
1ompetitionStrip"}];return await f(e,o)},v=async e=>{var t;let l=[{fieldPath:null==(t=e.fields)?void 0:t.broadcasterLogo,resultKey:"broadcasterLogo"}];return await f(e,l)},f=async(e,t)=>{let l=await Promise.allSettled(t.map(e=>{let{fieldPath:t}=e;return t?(0,d.cb)(t):Promise.resolve(null)}));return t.forEach((t,a)=>{let{resultKey:r}=t,o=l[a];"fulfilled"===o.status&&o.value&&e.fields&&(e.fields[r]=o.value)}),e},y=async e=>{let t=[];for(let l of e)t.push(l);return t};var x=l(95277);let b=(e,t)=>t&&(0,x.uo)(e)?Number(t):1,w=(e,t,l)=>({...e,page:b(t,l),hasPagination:t});var j=l(52259),N=l(65897),T=l(17247),S=l(87358);let A=S.env.CULTURE,P=S.env.ENVIRONMENT,k=async function(e){var t;let l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2?arguments[2]:void 0;if(!(null==e?void 0:e.length))return e;let r=C(e,l,a),o=await (0,s.q)(r);return(null==o||null==(t=o.data)?void 0:t.length)?E(e,o):e},C=(e,t,l)=>{let a=[];for(let d of e)if(I([d],l),L(d,a),t){var o,i,n,s;let e=null!=(n=null==d||null==(o=d.relations)?void 0:o.filter(e=>e.type!==r.ns.external&&e.type!==r.ns.markdown))?n:[];I(e,l),B(e,a);let t=null!=(s=null==(i=d.parts)?void 0:i.filter(e=>e.type!==r.ns.external&&e.type!==r.ns.markdown))?s:[];I(t,l),B(t,a)}return a},I=(e,t)=>{e&&t&&t.forEach(t=>{e.forEach(e=>{switch(t.type){case n.fields:if(!e.fields)break;e.fields[t.key]=t.value;break;case n.root:e[t.key]=t.value}})})},L=(e,t)=>{t.push({id:z(e),entity:e,entityType:F(e),culture:A,environment:P})},F=e=>{var t,l;return null!=(l=null!=(t=e.entityCode)?t:e.type)?l:""},B=(e,t)=>{if(e&&0!==e.length)for(let l of e)L(l,t)},E=(e,t)=>{for(let o of e){var l,a;for(let e of(_(o,t),null!=(a=null==o?void 0:o.relations)?a:[]))_(e,t);let e=null==o||null==(l=o.parts)?void 0:l.filter(e=>e.type!==r.ns.external&&e.type!==r.ns.markdown);if(e)for(let l of e)_(l,t)}return e},_=(e,t)=>{var l,a,r,o,i;let n=null==(l=t.data)?void 0:l.find(t=>t.id===z(e));if(e.url=null!=(a=null==n?void 0:n.url)?a:e.url,e.url&&(0,T.iO)(e.url)&&"true"===S.env.KEEP_LINK_RULES_LOCAL)try{let t=new URL(e.url);t.hostname=null!=(r=S.env.LINK_RULES_LOCAL_HOSTNAME)?r:"localhost",t.port=null!=(o=S.env.LINK_RULES_LOCAL_PORT)?o:"3000",t.protocol=null!=(i=S.env.LINK_RULES_LOCAL_PROTOCOL)?i:"http",e.url=t.toString()}catch(e){j.A.log("Error updating link rule URL",N.T.error)}},R=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&(t.hasReferencesFieldsInList&&(e=await H(e)),t.hasGadAssetsFields&&(e=await O(e)),t.hasThumbnailPlaceholder&&(e=((e,t)=>{var l;let a={title:"no_image_available",templateUrl:null!=(l=(0,i.sW)(t,o.qY))?l:"",format:"",slug:"no_image_available"};return null==e||e.forEach(e=>{var t,l,o,i,n,s,d;(null==e||null==(t=e.thumbnail)?void 0:t.templateUrl)||(e.thumbnail=a),l=e,o=a,null==(i=l.relations)||i.forEach(e=>{var t;(null==e||null==(t=e.thumbnail)?void 0:t.templateUrl)||(e.thumbnail=o)}),n=e,s=a,null==(d=n.parts)||d.forEach(e=>{if(e.type!=r.ns.external&&e.type!=r.ns.markdown){var t;(null==e||null==(t=e.thumbnail)?void 0:t.templateUrl)||(e.thumbnail=s)}})}),null!=e?e:[]})(e,t.variables)),(t.hasLinkRules||t.hasLinkRulesForRelationsAndParts)&&(e=await k(e,t.hasLinkRulesForRelationsAndParts,t.linkRuleVariations))),e},M=e=>{var t,l,a,r;let o=null!=(t=null==e?void 0:e.skip)?t:0,i=null!=(l=null==e?void 0:e.limit)?l:0,n=null!=(a=null==e?void 0:e.tags)?a:"",s=null!=(r=null==e?void 0:e.context)?r:"",d=U({skip:o,limit:i,page:b(null==e?void 0:e.hasPagination,null==e?void 0:e.page),tags:n,context:s,fields:null==e?void 0:e.fields,extraData:null==e?void 0:e.extraData,sort:null==e?void 0:e.sort,range:null==e?void 0:e.range,listAvailability:null==e?void 0:e.listAvailability});return d.length?"?".concat(d):""},D=(e,t)=>{if(!t||!e)return;let l=[];for(let a in t)t.hasOwnProperty(a)&&l.push("".concat(e,".").concat(a,"=").concat(t[a]));return l},U=e=>{var t,l;let a=[];if((null==e?void 0:e.page)&&e.page>1){let l=null!=(t=null==e?void 0:e.limit)?t:0;e.skip=(e.page-1)*l}(null==e?void 0:e.skip)&&a.push("$skip=".concat(e.skip)),(null==e?void 0:e.limit)&&a.push("$limit=".concat(e.limit));let r=(e=>{if(!e||0===e.length)return;let t=[];
1return e.includes(",")?e.split(",").forEach(e=>{t.push("tags.slug=".concat(e))}):t.push("tags.slug=".concat(e)),t})(null==e?void 0:e.tags);r&&(a=a.concat(r));let o=(e=>{if(e)return"context.slug=".concat(e)})(null==e?void 0:e.context);o&&(a=a.concat(o));let i=D("fields",null==e?void 0:e.fields);i&&(a=a.concat(i));let n=D("tags.extraData",null==e?void 0:e.extraData);n&&(a=a.concat(n));let s=(e=>{if(!e)return;let t=e.order?":".concat(e.order):"";return e.prop?"$sort=".concat(e.prop).concat(t):e.field?"$sort=fields.".concat(e.field).concat(t):void 0})(null!=(l=null==e?void 0:e.sort)?l:{prop:"contentDate"});s&&a.push(s);let d=(e=>{var t,l;if(e&&(e.startDate||e.endDate))return"".concat(e.field,"=$range(").concat(null!=(t=e.startDate)?t:"",",").concat(null!=(l=e.endDate)?l:"",")")})(null==e?void 0:e.range);d&&a.push(d);let c=(e=>{if(void 0!==e)return"_listAvailability=".concat(e)})(null==e?void 0:e.listAvailability);return c&&a.push(c),a.join("&")},z=e=>{var t,l;return e.entityCode?"".concat(null!=(t=e.id)?t:e._entityId,"-").concat(e.type,"-").concat(e.entityCode):"".concat(null!=(l=e.id)?l:e._entityId,"-").concat(e.type)},O=async e=>(await c(e),e),H=async e=>y(e);var W=l(34597),Q=l(95125),G=l(87358);let V=G.env.CULTURE,K="FORGE DISTRIBUTION API",q=G.env.FORGE_DISTRIBUTION_API_LIMIT?parseInt(G.env.FORGE_DISTRIBUTION_API_LIMIT,10):100,J="{slug}",X="{entityCode}",Y="v2/content/".concat(V,"/").concat(X,"/").concat(J),$="v2/content/".concat(V,"/").concat(X),Z="v2/content/".concat(V,"/sel-").concat(J),ee=async function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return null;let r="";try{r=Y.replace(X,e).replace(J,(0,W.t)(t,null==l?void 0:l.variables)),j.A.log("Getting ".concat(e," entity slug:").concat(t," data from FORGE DISTRIBUTION API ").concat(r),N.T.debug),r=new URL(r,G.env.FORGE_DISTRIBUTION_API_BASE_URL).href}catch(e){return(null==l?void 0:l.returnResponseError)?{error:(0,a.y)({response:e,returnResponseError:null==l?void 0:l.returnResponseError})}:(0,a.h)({response:e,apiName:K})}return await Q.A.get(r).then(async a=>{var o;j.A.log("Retrieved ".concat(e," entity slug:").concat(t," data from FORGE DISTRIBUTION API ").concat(r,". ").concat(JSON.stringify(a.data)),N.T.debug);let i=await R([a.data],l);return null!=(o=null==i?void 0:i[0])?o:null}).catch(e=>(null==l?void 0:l.returnResponseError)?{error:(0,a.y)({response:e,returnResponseError:null==l?void 0:l.returnResponseError})}:(0,a.h)({response:e,apiName:K,apiUrl:r}))},et=async function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(t)return await ee(e,t,l);if(null==l?void 0:l.tags){var a,r;let t=await el(e,{...l,tags:Array.isArray(l.tags)?l.tags.join(","):l.tags});if(!(null==t?void 0:t.items)||!Array.isArray(t.items))return null;let o=null==(r=t.items)||null==(a=r[0])?void 0:a.slug;return await ee(e,o,l)}return null},el=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(null==t?void 0:t.limit)||t.limit<=q)return await ea(e,t);let l=t.limit;t.limit=q,null!=t.skip||(t.skip=0);let a=Math.ceil(l/q),r=0,o=await ea(e,t);if(!(null==o?void 0:o.items))return null;if(o.items.length<q)return o;do{t.skip+=q,t.limit=Math.min(q,l-o.items.length),j.A.log("Fetching page ".concat(r++," of ").concat(a," with limit ").concat(t.limit," for entity ").concat(e,". Total items so far: ").concat(o.items.length),N.T.debug);let i=await ea(e,t);if(!(null==i?void 0:i.items)||0===i.items.length||(o.items.push(...i.items),i.items.length<t.limit))break}while(o.items.length<l);return j.A.log("Fetched ".concat(o.items.length," items for entity ").concat(e," after ").concat(r," pages."),N.T.debug),o},ea=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,l="";try{let a=M(t);l=$.replace(X,e)+a,j.A.log("Getting ".concat(e," entity list data from FORGE DISTRIBUTION API ").concat(l),N.T.debug),l=new URL(l,G.env.FORGE_DISTRIBUTION_API_BASE_URL).href}catch(e){return(0,a.h)({response:e,apiName:K})}return await Q.A.get(l).then(async a=>(j.A.log("Retrieved ".concat(e," ").concat(e," entity list data from FORGE DISTRIBUTION API ").concat(l,". ").concat(JSON.stringify(a.data)),N.T.debug),a.data.pagination&&(a.data.pagination=w(a.data.pagination,null==t?void 0:t.hasPagination,a.data.pagination.page)),a.data.items=await R(a.data.items,t),a.data)).catch(e=>(0,a.h)({response:e,apiName:K,apiUrl:l}))},er=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!e)return null;let l="";try{let a=M(t);l=Z.replace(J,e)+a,j.A.log("Getting selection slug:".concat(e," data from FORGE DISTRIBUTION API ").concat(l),N.T.debug),l=new URL(l,G.env.FORGE_DISTRIBUTION_API_BASE_URL).href}catch(e){return(0,a.h)({response:e,apiName:K})}return await Q.A.get(l).then(async a=>(j.A.log("Retrieved selection slug:".concat(e," data from FORGE DISTRIBUTION API ").concat(l,". ").concat(JSON.stringify(a.data)),N.T.debug),a.data.pagination&&(a.data.pagination=w(a.data.pagination,null==t?void 0:t.hasPagination,a.data.pagination.page)),a.data.items=await R(a.data.items,t),a.data)).catch(e=>(0,a.h)({response:e,apiName:K,apiUrl:l}))},eo=async function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(e){let t=await er(e,l);return(null==l?void 0:l.hasPagination)?t:(null==t?void 0:t.items)||null}if(t){let e=await el(t,l);return(null==l?void 0:l.hasPagination)?e:null==e?void 0:e.items}return null},ei=async e=>{let{entityCode:t,frontEndBaseUrl:l}=e,r="";if(!G.env.FRONTEND_BASE_URL&&!l)return null;try{r="/api/sports/".concat(t);let e=new URL(r,l||G.env.FRONTEND_BASE_URL);e.searchParams.set("gadassets","true"),r=e.href,j.A.log("Getting static entities for ".concat(t," from ").concat(r),N.T.debug)}catch(e){return(0,a.h)({response:e,apiName:"Static Sport Entities"})}return await Q.A.get(r).then(async e=>(j.A.log("Retrieved static entities for ".concat(t," from ").concat(r,". ").concat(JSON.stringify(e.data)),N.T.debug),e.data)).catch(e=>(0,a.h)({response:e,apiName:"Static Sport Entities",apiUrl:r}))},en=async function(e,t){var l;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{items:[],pagination:{maxItems:0,page:0},meta:{apiVersion:"",generatedAt:""}},r=await el(e,t);return((null==r?void 0:r.items)&&a.items.push(...r.items),null==r||null==(l=r.pagination)?void 0:l.nextUrl)?((null==t?void 0:t.page)&&(t.page=t.page?t.page+1:1),en(e,t,a)):a}},44869:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var a=l(95155),r=l(95277),o=l(12115),i=l(75889),n=l(83617),s=l(67231),d=l(56396),c=l(30927),u=l(84380
1);let m=e=>{let{inputTitle:t="azure-search-input-title",inputValue:l="",redirectPath:m="/search",resultsCount:h=0,showResultsCount:g=!1,inputPlaceholder:p="azure-search-input-placeholder",resultsFoundMessage:v="azure-search-results-found",colorSchemaKey:f=d.fs.light}=e,y=(0,u.A)();g=(0,r.uo)(g),t=y(t),p=y(p),v=y(v);let x=(0,o.useRef)(null),b=c.y[f].searchBar;return(0,a.jsx)("div",{className:(0,i.QP)("flex w-full items-center justify-center"),children:(0,a.jsxs)("div",{className:"flex h-full w-full flex-col items-center justify-center gap-8 lg:w-2/4",children:[(0,a.jsxs)(n.Ay,{variant:n.PT["body-4"],className:"relative w-full",children:[(0,a.jsx)("input",{className:(0,i.QP)("h-12 w-full rounded-3xl border bg-transparent px-5 placeholder-current transition duration-300",b.inputText,b.inputActive,b.inputPlaceholder,b.inputBorder),title:t,placeholder:p,ref:x,onKeyUp:e=>{var t,l;let a=null!=(l=null==(t=e.target)?void 0:t.value)?l:"";"Enter"===e.key&&window.location.assign(m+"?q="+a)},defaultValue:l}),(0,s.a)("Search",{className:"w-6 h-6 absolute ltr:right-5 rtl:left-5 top-3"})]}),g&&(0,a.jsxs)(n.Ay,{variant:n.PT["subtitle-4"],className:(0,i.QP)(b.resultCount),children:[h," ",v]})]})})}},45239:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var a=l(95155),r=l(52259),o=l(65897),i=l(7641),n=l(37575),s=l(62951),d=l(73881),c=l(38932);let u=e=>{var t,l,u;let{entity:m,pictureClassName:h,imageClassName:g="w-full h-auto",showFavoriteButton:p=!1,selectedFavoriteClubs:v,onToggleFavorite:f}=e,y=null==m||null==(t=m.fields)?void 0:t.logo,x=null==m||null==(l=m.fields)?void 0:l.name,b=null==m||null==(u=m.fields)?void 0:u.teamId;return y?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.w,{condition:p,children:(0,a.jsx)("div",{className:"absolute top-0.5 right-0.5 z-4 lg:top-1 lg:right-1",children:(0,a.jsx)(s.A,{isFavorite:(0,c.e2)({selectedFavoriteClubs:v,id:b}),onToggle:()=>null==f?void 0:f(b,x),ariaLabel:"Add ".concat(x," to favorites"),className:"size-6 rounded-full text-[var(--competition-color,var(--color-primary-on-light-200))] hover:scale-110 hover:text-[var(--competition-color,var(--color-primary-on-light-200))] focus:text-[var(--competition-color,var(--color-primary-on-light-200))] active:text-[var(--competition-color,var(--color-primary-on-light-200))] lg:size-8",iconClassName:"size-4 lg:size-6"})})}),(0,a.jsx)(i.default,{alt:null!=x?x:"",src:y.assetUrl,className:g,pictureClassName:h,transformations:n.N.club_card})]}):(r.A.log("Cannot render Club with empty logo GAD tag",o.T.warning),null)}},45285:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var a=l(95155),r=l(83617),o=l(19433);let i=()=>(0,a.jsxs)(r.Ay,{className:"flex items-center gap-1 text-red-500",variant:r.PT["h5-uppercase"],children:[(0,a.jsxs)("div",{className:"relative h-2.5 w-2.5 rounded-full bg-red-500",children:[(0,a.jsx)("div",{className:"absolute inset-0 block animate-ping rounded-full bg-red-500"}),(0,a.jsx)("div",{className:"absolute top-1/2 left-1/2 block h-1 w-1 -translate-0.5 rounded-full bg-white"})]}),(0,a.jsx)(o.default,{translationTermKey:"sport-live"})]})},45849:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var a=l(95155),r=l(30231),o=l(81884),i=l(56396),n=l(58944),s=l(53991),d=l(75889);let c=e=>{let{aspectRatio:t,cardSize:l,cardsType:c,items:u,itemsPerRow:m=3,isAnimated:h=!1,forceAnimation:g=!1,colorSchemaKey:p=i.fs.light,centerInsufficientItems:v=!1}=e;return(0,a.jsx)(n.N,{mode:"wait",children:u.length<m&&v?(0,a.jsx)("div",{className:(0,d.QP)("grid grid-cols-1 md:grid-cols-2",u.length<m&&"md:flex md:flex-wrap","justify-center",u.length<m&&"md:justify-start lg:justify-center",u.length<m-1&&"md:justify-center","gap-6 md:gap-x-4 lg:gap-x-6 lg:gap-y-12"),children:null==u?void 0:u.map((e,i)=>{let n=(null==e?void 0:e.id)?e.id:(null==e?void 0:e._entityId)?e._entityId:i;return e&&(0,a.jsx)(o.default,{isAnimated:h,delay:.1*i,stagger:!0,forceAnimation:g,className:(0,d.QP)(3===m&&"md:w-[calc(100%/2-var(--spacing)*2)] lg:w-[calc(100%/3-var(--spacing)*4))]",4===m&&"md:w-[calc(100%/2-var(--spacing)*2)] lg:w-[calc(100%/4-var(--spacing)*4))]"),children:(0,r.T)(c,{entity:e,size:l,aspectRatio:t,colorSchemaKey:p,hideDate:!1,isHorizontal:!1})},n)})}):(0,a.jsx)(s.A,{itemsPerRow:m,children:u.map((e,i)=>
1{let n=(null==e?void 0:e.id)?e.id:(null==e?void 0:e._entityId)?e._entityId:i;return e&&(0,a.jsx)(o.default,{isAnimated:h,delay:.1*i,stagger:!0,forceAnimation:g,children:(0,r.T)(c,{entity:e,size:l,aspectRatio:t,colorSchemaKey:p,hideDate:!1,isHorizontal:!1})},n)})})})}},45868:()=>{},45955:()=>{},46660:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233);let s=e=>{let{seasonIds:t,cardBackgroundUrl:l,headerTitleHeadingLevel:s=o.v.h2,predictorUrlPattern:d,dateFormat:c="iso",enableMatchLinks:u,matchUrlPattern:m,enableTeamLinks:h,teamUrlPattern:g,openBroadCastersInNewTab:p,openWhereToWatchInNewTab:v,openPredictorButtonInNewTab:f,openHighlightsButtonInNewTab:y,openTicketButtonInNewTab:x,useDarkHeader:b,showErrorMessage:w,showRetryButton:j,broadcasterList:N,enableAddToCalendar:T,addToCalendarUrl:S}=e,{SDP_PROJECT:A}=(0,i.V)(),P={title:"var(--color-widget-label-primary)",calendarButtonText:"var(--color-primary-on-light-200)",calendarButtonTextHover:"var(--color-primary-on-light-300)",dropdownText:"var(--color-widget-label-primary)",dropdownBorder:"var(--color-widget-border-primary)",dropdownBorderHover:"var(--color-primary-on-light-200)",dateBadgeBg:"var(--color-primary-on-light-200)",dateBadgeText:"var(--color-grey-on-light-900)",navBorder:"var(--color-widget-border-primary)",navBg:"var(--color-grey-on-light-900)",navActiveText:"var(--color-widget-label-primary)",navInactiveText:"var(--color-widget-label-primary)",navArrowIcon:"var(--color-widget-label-primary)",dropdownTriggerText:"var(--color-widget-label-primary)",dropdownMenuBg:"var(--color-grey-on-light-900)",dropdownMenuBorder:"var(--color-widget-border-primary)",dropdownMenuItemText:"var(--color-widget-label-primary)",dropdownMenuItemHoverBg:"var(--color-grey-on-light-700)",cardBg:"var(--color-grey-on-light-900)",cardBorder:"var(--color-widget-border-primary)",matchDayText:"var(--color-widget-label-primary)",matchDateText:"var(--color-widget-label-primary)",matchTimeText:"var(--color-widget-label-primary)",liveBadgeBg:"var(--color-primary-on-light-200)",liveBadgeText:"var(--color-grey-on-light-900)",liveTimeText:"var(--color-primary-on-light-200)",teamNameText:"var(--color-widget-label-primary)",scoreText:"var(--color-widget-label-primary)",penaltiesText:"var(--color-widget-label-secondary)",centerText:"var(--color-widget-label-primary)",aggregateText:"var(--color-widget-label-secondary)",divider:"var(--color-widget-border-primary)",broadcasterDivider:"var(--color-widget-border-primary)",whereToWatchText:"var(--color-widget-label-primary)",whereToWatchIcon:"var(--color-primary-on-light-200)",gradientButtonBg:"var(--color-primary-on-light-200)",gradientButtonText:"var(--color-grey-on-light-900)",gradientButtonIcon:"var(--color-grey-on-light-900)",filledButtonBg:"var(--color-primary-on-light-200)",filledButtonText:"var(--color-grey-on-light-900)",outlinedButtonBorder:"var(--color-widget-border-primary)",outlinedButtonText:"var(--color-widget-label-primary)",outlinedButtonHoverBg:"var(--color-grey-on-light-700)"},k={type:n.Q5,sport:n.Fn,project:A,seasonIds:null!=t?t:[],rowBackgroundUrl:l,startHeadingLevel:Number(s),dateFormat:c,enableMatchLinks:u,matchUrlPattern:m,enableTeamLinks:h,teamUrlPattern:g,openBroadCastersInNewTab:p,openWhereToWatchInNewTab:v,openPredictorButtonInNewTab:f,openHighlightsButtonInNewTab:y,openTicketButtonInNewTab:x,useDarkHeader:b,showErrorMessage:w,showRetryButton:j,broadcasterList:N,shouldAddToCalendar:T,addToCalendarUrl:S,theme:{widget:{lightColors:P,darkColors:P}}};return(0,a.jsx)(r.ng,{...k})}},46830:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});var a=l(95155),r=l(37566),o=l(51309),i=l(14233),n=l(3314);let s=e=>{let{matchId:t,seasonIds:l,headerTitleHeadingLevel:s=r.v.h2,enableMatchLinks:d,enableTeamLinks:c,teamUrlPattern:u,matchUrlPattern:m,showErrorMessage:h,showRetryButton:g}=e,{SDP_PROJECT:p}=(0,o.V)(),v={bg:"var(--color-widget-background-tertiary)",border:"var(--color-widget-border-primary)",title:"var(--color-widget-label-primary)",subtitle:"var(--color-widget-label-secondary)",homeTeamName:"var(--color-widget-label-primary)",awayTeamName:"var(--color-widget-label-primary)",winBg:"var(--color-success)",drawBg:"var(--color-grey-on-light-300)",lossBg:"var(--color-error)",resultText:"#FFFFFF",tooltipBg:"var(--color-widget-background-tertiary)",tooltipBorder:"var(--color-widget-border-primary)",tooltipText:"var(--color-widget-label-primary)",tooltipDivider:"var(--color-widget-border-primary)",tooltipScoreBg:"var(--primary-on-light)",tooltipScoreText:"var(--color-widget-label-primary)"},f={type:i.Td,sport:i.Fn,project:p,matchId:null!=t?t:"",seasonIds:null!=l?l:[],startHeadingLevel:Number(s),enableMatchLinks:d,enableTeamLinks:c,teamUrlPattern:u,matchUrlPattern:m,showErrorMessage:h,showRetryButton:g,theme:{widget:{lightColors:v,darkColors:v}}};return(0,a.jsx)(n.vR,{...f})}},48265:()=>{},48467:(e,t,l)=>{"use strict";l.d(t,{HeaderScrollManager:()=>i});var a=l(95155),r=l(12115),o=l(67148);let i=e=>{let{defaultColor:t,colorSchema:l,transparentClasses:i=["bg-transparent"],headerId:n="header",headerNavId:s="header-nav"}=e;return(0,r.useEffect)(()=>{let e=()=>{var e,a,r,d;
1let c=null==(e=document)?void 0:e.getElementById(s),u=null==(a=document)?void 0:a.getElementById(n),m=null==(r=document)?void 0:r.getElementById(o.Y.serviceNavigation),h=(null==u?void 0:u.offsetHeight)||0;(null==(d=window)?void 0:d.scrollY)>h?(c&&(null==c||c.classList.add(t)),null==i||i.forEach(e=>{(null==c?void 0:c.classList.contains(e))&&c.classList.remove(e)}),m&&(m.classList.remove(l.transparentHeaderBorder),m.classList.add(l.border))):(c&&(null==c||c.classList.remove(t)),null==i||i.forEach(e=>{(null==c?void 0:c.classList.add(e))&&c.classList.remove(e)}),m&&(m.classList.remove(l.border),m.classList.add(l.transparentHeaderBorder)))};return window.addEventListener("scroll",e),window.addEventListener("touchmove",e),()=>{window.removeEventListener("scroll",e),window.removeEventListener("touchmove",e)}},[t,i,n,s]),(0,a.jsx)(a.Fragment,{})}},49211:(e,t,l)=>{"use strict";l.d(t,{default:()=>n});var a=l(95155),r=l(12115),o=l(96532),i=l(68321);let n=e=>{let{...t}=e,{html:l}=t;return((0,r.useEffect)(()=>{var e,t,l;null==(l=window)||null==(t=l.FB)||null==(e=t.xfbml)||e.parse()},[]),l)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.default,{src:"https://connect.facebook.net/en_US/sdk.js",strategy:"lazyOnload",id:"facebook-embed-script"}),(0,a.jsx)(o.A,{html:l})]}):null}},49327:()=>{},49374:(e,t,l)=>{"use strict";l.d(t,{n:()=>r});var a=l(30926);let r=(0,a.createServerReference)("7f00c40bc0b57ee99ec87d6dcdd1a1d6d600e053b9",a.callServer,void 0,a.findSourceMapURL,"getSDPStandingsOverallBySeasonIdAction")},49657:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>d});var a=l(95155),r=l(73261),o=l(64558);let i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!e)return"";if(!e)return"";let t={text:e.replace(/~~([^~]+)~~/g,(e,t)=>"@@STRIKE_".concat(t,"@@")).replace(/\^([^^]+)\^/g,(e,t)=>"@@SUP_".concat(t,"@@")).replace(/~([^~]+)~/g,(e,t)=>"@@SUB_".concat(t,"@@")).replace(/\+\+([^\+]+)\+\+/g,(e,t)=>"@@U_".concat(t,"@@")).replace(/==([^=]+)==/g,(e,t)=>"@@MARK_".concat(t,"@@")),links:[],strikeouts:[],superScripts:[],subScripts:[]};t=function(e){let t=Array.from(e.text.matchAll(/<\s*(sub)[^>]*>(.*?)<\s*\/\s*(sub)>/g)).map(e=>e[0]);return null==t||t.map(t=>{e.subScripts.push(t),e.text=e.text.replace(t,"[subscript-placeholder-".concat(e.subScripts.length-1,"]"))}),e}(t=function(e){let t=Array.from(e.text.matchAll(/<\s*(sup)[^>]*>(.*?)<\s*\/\s*(sup)>/g)).map(e=>e[0]);return null==t||t.map(t=>{e.superScripts.push(t),e.text=e.text.replace(t,"[superscript-placeholder-".concat(e.superScripts.length-1,"]"))}),e}(t=function(e){let t=Array.from(e.text.matchAll(/<\s*(s)[^>]*>(.*?)<\s*\/\s*(s)>/g)).map(e=>e[0]);return null==t||t.map(t=>{e.strikeouts.push(t),e.text=e.text.replace(t,"[strikeout-placeholder-".concat(e.strikeouts.length-1,"]"))}),e}(t=function(e){let t=Array.from(e.text.matchAll(/<\s*(a)[^>]*>(.*?)<\s*\/\s*(a)>/g)).map(e=>e[0]);return null==t||t.map(t=>{e.links.push(t),e.text=e.text.replace(t,"[link-placeholder-".concat(e.links.length-1,"]"))}),e}(t))));let l=o.xI.parse(t.text,{breaks:!0,gfm:!0});return t.text=l.replace(/@@STRIKE_(.+?)@@/g,"<s>$1</s>").replace(/@@SUP_(.+?)@@/g,"<sup>$1</sup>").replace(/@@SUB_(.+?)@@/g,"<sub>$1</sub>").replace(/@@U_(.+?)@@/g,"<u>$1</u>").replace(/@@MARK_(.+?)@@/g,"<mark>$1</mark>"),(t=function(e){for(let t=0;t<e.subScripts.length;t++){let l=e.subScripts[t];e.text=e.text.replace("[subscript-placeholder-".concat(t,"]"),l)}return e}(t=function(e){for(let t=0;t<e.superScripts.length;t++){let l=e.superScripts[t];e.text=e.text.replace("[superscript-placeholder-".concat(t,"]"),l)}return e}(t=function(e){for(let t=0;t<e.strikeouts.length;t++){let l=e.strikeouts[t];e.text=e.text.replace("[strikeout-placeholder-".concat(t,"]"),l)}return e}(t=function(e){for(let t=0;t<e.links.length;t++){let l=e.links[t];e.text=e.text.replace("[link-placeholder-".concat(t,"]"),l)}return e}(t))))).text};var n=l(75889),s=l(56396);let d=e=>{let{markdownText:t,classNames:l,containerClassName:o,removeDefaultCSSClass:d=!1,colorSchemaKey:c=s.fs.light}=e;if(!t)return null;let u=i(t);return u?(0,a.jsx)("div",{className:(0,n.QP)(o),children:(0,a.jsx)(r.default,{content:u,removeDefaultCSSClass:d,className:(0,n.QP)(l),colorSchemaKey:c})}):null}},49701:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var a=l(95155),r=l(81156),o=l(65897),i=l(37575),n=l(52259),s=l(75889),d=l(7641),c=l(44479);let u=e=>{var t,l,u;let{entity:m,pictureClassName:h,imageClassName:g="w-full h-auto",transformation:p=c.e.horizontal_partner,linkClassName:v}=e;if(!m)return n.A.log("The Partner entity is empty",o.T.warning),null;let f=null==m||null==(t=m.fields)?void 0:t.partnerLogo,y=null==m||null==(l=m.fields)?void 0:l.partnerName,x=null==m||null==(u=m.fields)?void 0:u.partnerLink;return f?(null==x?void 0:x.url)?(0,a.jsx)(r.default,{href:x.url,title:(null==x?void 0:x.accessibleText)?x.accessibleText:y,"aria-label":(null==x?void 0:x.accessibleText)?x.accessibleText:y,className:(0,s.QP)("relative cursor-pointer",v),children:(0,a.jsx)(d.default,{src:f.assetUrl,alt:null!=y?y:"",transformations:i.N[p],width:(null==f?void 0:f.width)?f.width:i.N[p].mobile.width,height:(null==f?void 0:f.height)?f.height:i.N[p].mobile.height,pictureClassName:h,className:g})}):(0,a.jsx)(d.default,{src:f.assetUrl,alt:null!=y?y:"",transformations:i.N[p],width:(null==f?void 0:f.width)?f.width:i.N[p].mobile.width,height:(null==f?void 0:f.height)?f.height:i.N[p].mobile.height,pictureClassName:h,className:g}):(n.A.log("Cannot render Partner with empty logo GAD tag",o.T.warning),null)}},49938:(e,t,l)=>{"use strict";l.d(t,{s:()=>r});var a=l(12115);let r=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return(0,a.useCallback)(e=>{t.forEach(t=>((e,t)=>{if("function"==typeof e)return void e(t);null!=e&&(e.current=t)})(t,e))},t)}},49952:(e,t,l)=>{"use strict";l.d(t,{default:()=>G});var a=l(95155),r=l(38583),o=l(59120),i=l(83617),n=l(53323),s=l(12225);let d=e=>e?"px-4 lg:px-8 left-0":"left-1/2 -translate-x-1/2 px-4 sm:max-w-160 md:max-w-192 md:px-8 lg:max-w-256 xl:max-w-320 xl:px-14 2xl:max-w-384";
1var c=l(5606),u=l(95277),m=l(84380),h=l(75889);let g=e=>{let{onAddNew:t,onManage:l}=e,r=(0,m.A)(),{activeFavouriteColorSchema:o,isFullWidth:i}=(0,c.z)();return(0,a.jsxs)("div",{className:(0,h.QP)("pointer-events-auto absolute top-15.75 z-10 flex w-full gap-2 lg:top-26",d((0,u.uo)(i))),children:[(0,a.jsx)(n.A,{variant:"outline",rounding:"rounded",size:"small",icon:"Plus",iconPosition:"left",text:r("your-favourites-add-new"),className:(0,h.QP)(null==o?void 0:o.ctaBtnColor,"w-1/2 lg:w-auto"),onClick:t}),(0,a.jsx)(n.A,{variant:"outline",rounding:"rounded",size:"small",icon:"ArrowRight",text:r("your-favourites-manage"),className:(0,h.QP)(null==o?void 0:o.ctaBtnColor,"w-1/2 lg:w-auto"),onClick:l})]})};var p=l(81884),v=l(67231);let f=e=>{let{currentIndex:t,totalSlides:l,onPrev:r,onNext:o,isBeginning:n,isEnd:s,className:d,totalSlidesNumber:c}=e,u=(0,m.A)();return l<=1?null:(0,a.jsxs)("fieldset",{className:(0,h.QP)("z-11 flex items-center justify-center gap-2 border-0",d),"aria-label":u("carousel-navigation"),children:[(0,a.jsx)("button",{type:"button",onClick:r,disabled:n,"aria-label":u("prev-slide"),className:(0,h.QP)("flex size-8 cursor-pointer items-center justify-center rounded-full bg-white/75 hover:cursor-pointer","rtl:rotate-180",n&&"pointer-events-none opacity-40"),children:(0,v.a)("ChevronLeft",{className:"size-4 text-black"})}),(0,a.jsx)("div",{className:"flex items-center rounded-full border border-gray-800 bg-gray-800 px-4 py-2","aria-live":"polite","aria-atomic":"true",children:(0,a.jsxs)(i.Ay,{variant:i.PT["h5-uppercase"],className:"text-secondary-on-light",children:[(0,a.jsx)("span",{children:t+1}),"/",(0,a.jsx)("span",{children:null!=c?c:l})]})}),(0,a.jsx)("button",{type:"button",onClick:o,disabled:s,"aria-label":u("next-slide"),className:(0,h.QP)("flex size-8 cursor-pointer items-center justify-center rounded-full bg-white/75 hover:cursor-pointer","rtl:rotate-180",s&&"pointer-events-none opacity-40"),children:(0,v.a)("ChevronRight",{className:"size-4 text-black"})})]})};var y=l(97576),x=l(56396),b=l(19378),w=l(28880);let j=e=>{var t;let{team:l}=e,{hideStoryteller:r,competitionLogos:o,isFullWidth:i,teamStatsMap:n}=(0,c.z)(),s=(0,b.s3)(null==l?void 0:l.theming,null==l?void 0:l.primaryColor),d=w.B[null==s?void 0:s.theme],u=null==l?void 0:l.competitionSlug,m=u?null==o?void 0:o[u]:void 0,h=(null==s?void 0:s.theme)===x.fs.dark?null==m?void 0:m.logoOnDark:null==m?void 0:m.logoOnLight,g=null==n||null==(t=n[l.teamId])?void 0:t.stats;return(0,a.jsx)(y.default,{team:l,teamStats:g,clubTheme:s,colorSchema:d,competitionLogo:h,hideStoryteller:r,isFullWidth:i,isYourFavourite:!0})};var N=l(24656),T=l(33648),S=l(12115);let A=e=>{var t;let{items:l,isAnimated:r=!1,onActiveClubChange:o,hasBothClubsAndPlayers:i}=e,{swiperRef:n,isBeginning:s,isEnd:d,handlePrev:c,handleNext:u,onSliderMove:m,onProgress:g}=(0,T.mT)(),{favoriteClubsMaxLimit:v}=(0,N.useFavorites)(),[y,x]=(0,S.useState)(0),b=(0,S.useMemo)(()=>{var e;return null!=(e=null==l?void 0:l.map(e=>null==e?void 0:e.teamId).join(","))?e:""},[l]),w=(0,S.useCallback)(e=>{x(e.activeIndex),o&&(null==l?void 0:l[e.activeIndex])&&o(l[e.activeIndex])},[o,l]);return(0,S.useEffect)(()=>{if(!(null==l?void 0:l.length))return;let e=Math.min(y,l.length-1);e!==y&&x(e),null==o||o(l[e])},[b]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f,{currentIndex:y,totalSlides:null!=(t=null==l?void 0:l.length)?t:0,onPrev:c,onNext:u,isBeginning:s,isEnd:d,className:(0,h.QP)("absolute left-1/2 -translate-x-1/2",i?"top-43 lg:top-29":"top-28 lg:top-12"),totalSlidesNumber:v}),(0,a.jsx)("div",{className:"relative h-full",children:(0,a.jsx)(T.IX,{onSlideChange:w,onSliderMove:m,onProgress:g,ref:n,longSwipes:!1,slidesPerView:1,speed:800,initialSlide:0,centeredSlides:!1,simulateTouch:!0,followFinger:!1,updateOnWindowResize:!0,className:"overflow-visible",wrapperClass:"duration-800!",children:null==l?void 0:l.map((e,t)=>(0,a.jsx)(T.qr,{children:(0,a.jsx)(p.default,{isAnimated:r,stagger:!0,delay:.12*t,children:(0,a.jsx)(j,{team:e})})},"club-slide-".concat(null==e?void 0:e.teamId)))})})]})};var P=l(50757),k=l(7600),C=l(66102),I=l(20063);let L=e=>{let{hasBothClubsAndPlayers:t}=e,{colorSchemaKey:l,isAnimated:r,updateActiveFavouriteTheme:o,activeFavouriteColorSchema:i}=(0,c.z)(),n=(0,k.A)(),s=(0,I.useRouter)(),d=(0,S.useCallback)(e=>{let t=(0,b.s3)(null==e?void 0:e.theming,null==e?void 0:e.primaryColor);null==o||o(t)},[o]);return(0,a.jsxs)("div",{className:null==i?void 0:i.background,children:[(0,a.jsx)(g,{onAddNew:n.onAddNew,onManage:()=>s.push(C.Ql)}),(0,a.jsx)(A,{items:n.filteredClubs,isAnimated:r,onActiveClubChange:d,hasBothClubsAndPlayers:t},"your-favourite-clubs"),(0,a.jsx)(P.A,{manager:n,colorSchemaKey:l})]})};var F=l(28328),B=l(67785),E=l(62893),_=l(30927);let R=e=>{var t,l,r,o;let{player:i}=e,{isFullWidth:n,hideStoryteller:s,competitionLogos:d,storytellerLayout:u,playerShopLinks:m}=(0,c.z)(),h=n?E.jy.FullWidth:E.jy.Container,g=(0,b.s3)(null==i||null==(t=i.team)?void 0:t.theming,null==i||null==(l=i.team)?void 0:l.primaryColor),p=g.theme?_.y[g.theme].playerHeader:void 0,v=null==i||null==(r=i.team)?void 0:r.competitionSlug,f=v?null==d?void 0:d[v]:void 0,y=g.isLight?null==f?void 0:f.logoOnLight:null==f?void 0:f.logoOnDark,x=(0,B.V)(i.playerId),w=(null==i||null==(o=i.links)?void 0:o.shopLink)||(null==m?void 0:m[null==i?void 0:i.playerSlug]);return(0,a.jsx)(F.default,{player:i,shopLink:w,clubTheme:g,colorSchema:p,competitionLogo:y,hideStoryteller:s,storytellerLayout:u,isFullWidthLayout:n,horizontalSpacing:h,categoryParam:x,isYourFavourite:!0})},M=e=>{var t;let{items:l,isAnimated:r=!1,onActivePlayerChange:o,hasBothClubsAndPlayers:i}
1=e,{swiperRef:n,isBeginning:s,isEnd:d,handlePrev:c,handleNext:u,onSliderMove:m,onProgress:g}=(0,T.mT)(),{favoritePlayersMaxLimit:v}=(0,N.useFavorites)(),[y,x]=(0,S.useState)(0),b=(0,S.useMemo)(()=>{var e;return null!=(e=null==l?void 0:l.map(e=>null==e?void 0:e.playerId).join(","))?e:""},[l]),w=(0,S.useCallback)(e=>{x(e.activeIndex),o&&(null==l?void 0:l[e.activeIndex])&&o(l[e.activeIndex])},[o,l]);return(0,S.useEffect)(()=>{if(!(null==l?void 0:l.length))return;let e=Math.min(y,l.length-1);e!==y&&x(e),null==o||o(l[e])},[b]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f,{currentIndex:y,totalSlides:null!=(t=null==l?void 0:l.length)?t:0,onPrev:c,onNext:u,isBeginning:s,isEnd:d,className:(0,h.QP)("absolute left-1/2 -translate-x-1/2",i?"top-43 lg:top-29":"top-28 lg:top-12"),totalSlidesNumber:v}),(0,a.jsx)("div",{className:"relative h-full",children:(0,a.jsx)(T.IX,{onSlideChange:w,onSliderMove:m,onProgress:g,ref:n,longSwipes:!1,slidesPerView:1,speed:800,initialSlide:0,centeredSlides:!1,simulateTouch:!0,followFinger:!1,updateOnWindowResize:!0,className:"overflow-visible",wrapperClass:"duration-800!",children:null==l?void 0:l.map((e,t)=>(0,a.jsx)(T.qr,{children:(0,a.jsx)(p.default,{isAnimated:r,stagger:!0,delay:.12*t,children:(0,a.jsx)(R,{player:e})})},"player-slide-".concat(null==e?void 0:e.playerId)))})})]})};var D=l(61949),U=l(35267);let z=e=>{let{hasBothClubsAndPlayers:t}=e,{colorSchemaKey:l,isAnimated:r,updateActiveFavouriteTheme:o}=(0,c.z)(),i=(0,U.A)(),n=(0,I.useRouter)(),s=(0,S.useCallback)(e=>{var t,l;let a=(0,b.s3)(null==e||null==(t=e.team)?void 0:t.theming,null==e||null==(l=e.team)?void 0:l.primaryColor);null==o||o(a)},[o]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{onAddNew:i.onAddNew,onManage:()=>n.push(C.Ql)}),(0,a.jsx)(M,{items:i.filteredPlayers,isAnimated:r,onActivePlayerChange:s,hasBothClubsAndPlayers:t},"your-favourite-players"),(0,a.jsx)(D.A,{manager:i,colorSchemaKey:l})]})};var O=l(10253),H=l(22531),W=l(26556);let Q=()=>{var e,t,l,r;let n=(0,m.A)(),{currentTab:u,onActiveTabChange:g,isFullWidth:p,colorSchemaKey:v,activeClubTheme:f}=(0,c.z)(),{userInfo:y}=(0,O.A)(),{clubs:x,players:b}=s.p,w=!!(null==y||null==(t=y.properties)||null==(e=t[H.d.favoriteTeams])?void 0:e.length),j=!!(null==y||null==(r=y.properties)||null==(l=r[H.d.favoritePlayers])?void 0:l.length),N=w&&j;return((0,S.useEffect)(()=>{!N&&(w&&u!==s.p.clubs?g(x):j&&u===s.p.clubs&&g(b))},[w,j]),w||j)?(0,a.jsxs)("div",{className:"your-favourites-container relative",style:(0,W.cr)((null==f?void 0:f.primaryColor)||(null==f?void 0:f.backgroundColor)),children:[(0,a.jsx)(i.Ay,{variant:i.PT["h2-uppercase"],className:(0,h.QP)("absolute top-6 z-11 w-full normal-case lg:top-12",d(p)),children:n("your-favourites-title")}),N&&(0,a.jsx)(o.l,{id:"match-list-toggle",isOn:u!==s.p.clubs,onToggle:e=>g(e?b:x),labelOff:n("your-favourites-tab-clubs"),labelOn:n("your-favourites-tab-players"),colorSchemaKey:v,className:(0,h.QP)("absolute top-28 left-1/2 z-11 w-[calc(100%-1.75rem)] -translate-x-1/2 md:w-176 lg:top-12 lg:w-auto"),labelClassName:(0,h.QP)(i.LR["navigation-2"],"normal-case"),buttonClassName:"w-1/2 lg:w-auto",isBackgroundBlurred:!0}),(0,a.jsx)("div",{children:u===s.p.clubs?(0,a.jsx)(L,{hasBothClubsAndPlayers:N}):(0,a.jsx)(z,{hasBothClubsAndPlayers:N})})]}):null},G=e=>{let{removeSpacingBottom:t,removeSpacingTop:l}=e,{activeFavouriteColorSchema:o,isAnimated:i,currentTab:n}=(0,c.z)(),{isFullyAuthenticated:d}=(0,O.A)();return d?(0,a.jsx)(r.A,{childrenComponentName:"your-favourites",removeSpacingTop:l,removeSpacingBottom:t,isAnimated:i,textColor:null==o?void 0:o.text,backgroundColor:n===s.p.clubs?null==o?void 0:o.background:void 0,children:(0,a.jsx)(Q,{})}):null}},50315:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>v});var a=l(95155),r=l(30231),o=l(81884),i=l(56396),n=l(53323),s=l(12115),d=l(52259),c=l(65897),u=l(30926);let m=(0,u.createServerReference)("70c95994672db9e7c87545d0e488164bbef2620cd0",u.callServer,void 0,u.findSourceMapURL,"getForgeEntityList");var h=l(30672),g=l(84380),p=l(53991);let v=e=>{let{aspectRatio:t,cardSize:l,cardsType:u,items:v,selectionSlug:f,tags:y,entityType:x,skip:b,limit:w,variables:j,nextUrl:N,itemsPerRow:T=3,isAnimated:S=!1,colorSchemaKey:A=i.fs.light}
1=e,P=(0,g.A)(),[k,C]=(0,s.useState)(v),[I,L]=(0,s.useState)(!1),[F,B]=(0,s.useState)(b),[E,_]=(0,s.useState)(N),R=async()=>{var e,t;if(!E)return void d.A.log("GridCardsLoadMore: No more pages to load",c.T.debug);L(!0);let{data:l,error:a}=await m(f,x,{hasPagination:!0,hasLinkRules:!0,hasLinkRulesForRelationsAndParts:!0,hasThumbnailPlaceholder:!0,skip:F,limit:w,variables:j,...!f&&{tags:null==y?void 0:y.join()},cacheOnCdn:!0});if(a)return void d.A.log("GridCardsLoadMore: error loading items ".concat(JSON.stringify(a)),c.T.warning);let r=(null==l?void 0:l.items)||[];C(e=>[...e,...r]);let o=null!=(t=null==l||null==(e=l.pagination)?void 0:e.nextUrl)?t:"";if(_(o),o){let{skip:e}=(0,h.G)(o);B(e)}L(!1)};return(0,a.jsxs)(p.A,{itemsPerRow:T,children:[null==k?void 0:k.map((e,i)=>e&&(0,a.jsx)(o.default,{isAnimated:S,delay:.1*i,children:(0,r.T)(u,{entity:e,size:l,aspectRatio:t,colorSchemaKey:A,hideDate:!1,isHorizontal:!1})},i)),E&&(0,a.jsx)("div",{className:"col-span-full flex h-fit justify-center",children:(0,a.jsx)(n.A,{text:P("load-more"),onClick:R,variant:"outline",rounding:"rounded",size:"large",disabled:I,isLoading:I})})]})}},50329:(e,t,l)=>{"use strict";l.d(t,{O:()=>r});var a=l(30926);let r=(0,a.createServerReference)("7f0701f287182a97854bb5b4766945caf06025ee73",a.callServer,void 0,a.findSourceMapURL,"getSDPMultipleSeasonMatchesAction")},50581:(e,t,l)=>{"use strict";l.d(t,{default:()=>c});var a=l(95155),r=l(83617),o=l(55331),i=l(12115),n=l(75889),s=l(81884),d=l(4230);let c=e=>{let{colorSchema:t,isAnimated:l,rolePositionOrder:c,players:u,error:m}=e,{groupedPlayers:h,sortedRoles:g}=(0,o.Ux)(u,c),p=(0,i.useMemo)(()=>{let e=m||(u&&0!==u.length?null:"No players found for this team");return e?(0,a.jsx)("div",{className:"team-roster rounded-lg p-4 md:p-6 lg:p-8",children:(0,a.jsx)(r.Ay,{variant:r.PT.h3,as:"h3",className:(0,n.QP)("text-center",(null==t?void 0:t.text)&&"text-".concat(t.text)),children:e})}):null},[m,u,null==t?void 0:t.text]);return p||(0,a.jsx)("div",{className:"space-y-2",children:g.map(e=>(0,a.jsxs)("div",{className:"mb-16",children:[(0,a.jsx)(r.Ay,{variant:r.PT.h2,as:"h2",className:(0,n.QP)("mb-8",(null==t?void 0:t.text)&&"text-".concat(t.text)),children:e}),(0,a.jsx)("div",{className:"flex flex-wrap justify-center gap-x-3 gap-y-4 lg:gap-x-6 lg:gap-y-8",children:h[e].map((e,t)=>(0,a.jsx)(s.default,{isAnimated:l,delay:.1*t,className:"basis-[calc(40%-0.375rem)] lg:basis-[calc(25%-1.125rem)]",children:(0,a.jsx)(d.K,{player:e})},"".concat(e.mediaFirstName||e.shortName||"","-").concat(e.mediaLastName||"","-").concat(e.playerId,"-").concat(t)))})]},e))})}},50645:(e,t,l)=>{"use strict";l.d(t,{v:()=>r});let a=[{field:"instagramLink",icon:"InstagramRounded",label:"Instagram"},{field:"twitterLink",icon:"TwitterRounded",label:"Twitter"},{field:"facebookLink",icon:"FacebookRounded",label:"Facebook"},{field:"tikTokLink",icon:"TikTokRounded",label:"TikTok"},{field:"youtubeLink",icon:"YouTubeRounded",label:"YouTube"}],r=e=>e?a.map(t=>{var l;let{field:a,icon:r,label:o}=t;return{field:a,icon:r,label:o,url:String(null!=(l=e[a])?l:"")}}).filter(e=>!!e.url):[]},50757:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var a=l(95155),r=l(98147),o=l(18090),i=l(84380),n=l(56396);let s=e=>{let{manager:t,colorSchemaKey:l=n.fs.light}=e,s=(0,i.A)(),{isModalOpen:d,closeModal:c,onAddFavoriteClub:u,isLoading:m,pendingAction:h,confirmAction:g,cancelAction:p,toast:v}=t;return(0,a.jsxs)(a.Fragment,{children:[d&&(0,a.jsx)(o.A,{heading:s("favorite-clubs-modal-title"),description:s("favorite-clubs-modal-description"),onClose:c,onAddFavoriteClub:u,isLoading:m,type:"clubs",colorSchemaKey:l}),(0,a.jsx)(r.A,{pendingAction:h,confirmAction:g,cancelAction:p,isLoading:m,toast:v,colorSchemaKey:l})]})}},50940:()=>{},51761:(e,t,l)=>{"use strict";l.d(t,{Eh:()=>i,Fm:()=>n,gJ:()=>o,v6:()=>d});var a=l(37764);let r=null,o=async(e,t)=>{if(!e)throw Error("API key is required");return a.sharedInstance.isInitialized?(a.sharedInstance.theme=s(t),!0):r||(r=(async()=>{try{return await a.sharedInstance.initialize(e),a.sharedInstance.theme=s(t),!0}catch(e){return console.error("Storyteller initialization failed:",e),!1}finally{r=null}})())},i=e=>{let t=document.getElementById(e),l=null==t?void 0:t.closest(".storyteller-container");null==l||l.classList.remove("invisible","h-0")},n=e=>{let t=document.getElementById(e),l=null==t?void 0:t.closest(".storyteller-container");null==l||l.classList.add("invisible","h-0")},s=e=>{let t=new a.UiTheme,l="var(--color-grey-on-light-0)",r="var(--color-grey-on-light-1000)";
1return[t.light,t.dark].forEach(e=>{e.storyTiles.circularTile.liveChip.unreadBackgroundColor="var(--color-error)",e.storyTiles.circularTile.liveChip.unreadTextColor=l,e.storyTiles.circularTile.liveChip.readTextColor=l,e.storyTiles.circularTile.unreadIndicatorColor="linear-gradient(135deg, var(--color-secondary-on-light-100) 0%, var(--color-primary-on-light-100) 100%)",e.storyTiles.circularTile.unreadStrokeWidth=4,e.storyTiles.circularTile.readStrokeWidth=4,e.storyTiles.rectangularTile.unreadIndicator.backgroundColor="var(--color-primary-on-light)",e.storyTiles.title.alignment=a.Alignment.start,e.storyTiles.title.textSize=14,e.storyTiles.title.fontWeight=700,e.lists.row.endInset=0,e.lists.row.startInset=0,e.storyTiles.chip.textSize=14,e.primitives.cornerRadius=8,e.lists.row.scrollIndicatorFade=!1}),t.light.storyTiles.circularTile.title.unreadTextColor=r,t.light.storyTiles.circularTile.title.readTextColor=r,t.dark.storyTiles.circularTile.title.unreadTextColor=l,t.dark.storyTiles.circularTile.title.readTextColor=l,e&&e(t),t},d=e=>([e.light,e.dark].forEach(e=>{e.storyTiles.title.show=!1}),e)},53357:()=>{},53399:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var a=l(95155);l(24155);var r=l(72634),o=l(51761),i=l(51309),n=l(65897),s=l(52259),d=l(37764);l(70712);var c=l(12115),u=l(75889);let m=e=>{let{colorSchema:t,storytellerCollectionId:l,isFullWidthValue:m,storytellerLayout:h=r.f.CARD,containerClassName:g,setIsStorytellerError:p,checkContentBeforeLoad:v,displayLimit:f}=e,{STORYTELLER_API_KEY:y}=(0,i.V)(),x=(0,c.useRef)(null),b=(0,c.useRef)(null),w=(0,c.useId)(),j="storyteller-clips-".concat(h,"-").concat(w),N="string"==typeof t?t:"light";if((0,c.useEffect)(()=>{if(!y||!l||!x.current)return;let e=!1;return(async()=>{try{if(!await (0,o.gJ)(y)||e)return;if(v)try{let t=await d.sharedInstance.getClipsCount(l);if(e)return;if(0===t){null==p||p(!0);return}}catch(e){s.A.log("Storyteller Clips content check failed, loading row as fallback: ".concat(JSON.stringify(e)),n.T.warning)}(0,o.Eh)(j),b.current=new d.StorytellerClipsRowView(j,l),b.current.configuration={basename:j,uiStyle:"light"===N?d.UiStyle.light:d.UiStyle.dark,...f&&f>0?{displayLimit:f}:{}},b.current.delegate={onDataLoadComplete:(t,l,a)=>{e||(t&&a>0?(0,o.Eh)(j):t?0===a&&((0,o.Fm)(j),null==p||p(!0)):((0,o.Fm)(j),null==p||p(!0),s.A.log("Clips loading failed: ".concat(JSON.stringify(l)),n.T.error)))},onUserActivityOccurred:e=>{"openedStory"===e||"openedClip"===e||"openedAd"===e?document.body.classList.add("storyteller-player-open"):("dismissedStory"===e||"dismissedClip"===e||"dismissedAd"===e)&&document.body.classList.remove("storyteller-player-open")}}}catch(e){s.A.log("Failed to create Storyteller Clips instance: ".concat(JSON.stringify(e)),n.T.error)}})(),()=>{e=!0,b.current&&(b.current.delegate=void 0,b.current=null)}},[y,v,N,j,f,p,l]),!l)return null;let T=h===r.f.CARD;return(0,a.jsx)("div",{className:(0,u.QP)("storyteller-wrapper",!m&&"storyteller-wrapper--overflow-visible",T?"card-layout":"circle-layout",N,g),children:(0,a.jsx)("div",{ref:x,id:j,className:(0,u.QP)("h-auto w-full",T?"min-h-[14.375rem] lg:min-h-[23.125rem]":"min-h-[120px]"),"data-uc-allowed":"true"})})}},53991:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var a=l(95155),r=l(75889);let o=e=>{let{children:t,itemsPerRow:l=3,className:o}=e;return(0,a.jsx)("div",{className:(0,r.QP)("grid w-full grid-cols-1 gap-6 md:grid-cols-2 md:gap-x-4 lg:gap-x-6 lg:gap-y-12",3===l&&"lg:grid-cols-3",4===l&&"lg:grid-cols-4",o),children:t})}},54553:()=>{},54559:(e,t,l)=>{"use strict";l.d(t,{PlayersSelectionCarouselView:()=>h});var a=l(95155),r=l(81884),o=l(33648),i=l(12115),n=l(61541),s=l(60283),d=l(56396),c=l(30927),u=l(26097),m=l(1298);let h=e=>{let{items:t,playersStats:l,hideStats:h=!1,isAnimated:g=!1,colorSchemaKey:p=d.fs.light,showCloseButton:v,onClose:f,containerClassName:y,playerNameVariant:x,showAddFavoriteCard:b=!1,onAddFavorite:w,playerClassName:j,showFavoriteButton:N=!1,favoritePlayerIds:T=[],onToggleFavorite:S}=e,[A,P]=(0,i.useState)(0),{swiperRef:k,paginationRef:C,isBeginning:I,isEnd:L,handlePrev:F,handleNext:B,onSliderMove:E,onProgress:_}=(0,o.mT)(),R=function(e,t){return e?null==e?void 0:e.map(e=>{let l=e.playerId;if(!l||!t)return e;let a=t.find(e=>e.playerId===l);return{...e,stats:(null==a?void 0:a.stats)||[]}}):[]}(t,l),{navigation:M,pagination:D,progress:U}=c.y[p].playersSelectionCarousel;return(0,a.jsxs)("div",{className:"relative h-full",children:[(0,a.jsxs)(o.IX,{pagination:{el:C.current,type:"progressbar"},onBeforeInit:e=>{e.params.pagination.el=C.current},onSliderMove:E,onProgress:_,ref:k,longSwipes:!1,slidesPerView:"auto",speed:800,initialSlide:0,centeredSlides:!h,simulateTouch:!0,followFinger:!1,updateOnWindowResize:!0,className:"gap-6 overflow-visible",wrapperClass:"duration-800!",onSlideChangeTransitionStart:e=>{P(e.activeIndex)},children:[null==R?void 0:R.map((e,t)=>(0,a.jsx)(o.qr,{className:"group/swiper-slide mx-2 w-auto overflow-hidden md:mx-3",children:(0,a.jsx)(r.default,{isAnimated:g,stagger:!0,delay:.12*t,children:(0,a.jsx)(s.A,{player:e,hide
1Stats:h,isActive:t===A,shirtNumberWrapperClassName:"scale-75 md:scale-100",clubImgClassName:"h-4 w-4 lg:h-8 lg:w-8",nationImgClassName:"h-3.5 w-3.5 lg:h-6 lg:w-6",className:y,nameVariant:x,showCloseButton:v,onClose:f,playerClassName:j,showFavoriteButton:N,isFavorite:T.includes((0,m.iO)(e.playerId)),onToggleFavorite:S})})},"player-".concat(e.playerSlug||t))),b&&(0,a.jsx)(o.qr,{className:"group/swiper-slide mx-2 w-auto overflow-hidden md:mx-3",children:(0,a.jsx)(r.default,{isAnimated:g,stagger:!0,delay:.36,children:(0,a.jsx)(u.A,{colorSchemaKey:p,onClick:w})})},"add-favorite")]}),(0,a.jsx)(n.A,{options:{paginationRef:C,handlePrev:F,handleNext:B,isBeginning:I,isEnd:L,navigationColor:M,progressColor:U,paginationColor:D}})]})}},54919:(e,t,l)=>{"use strict";l.d(t,{J:()=>o,K:()=>i});var a=l(58002),r=l(24531);let o=e=>{var t,l,a;return null==e||null==(a=e.variables)||null==(l=a.find(e=>e.key===r.UO))||null==(t=l.keyValue)?void 0:t.value},i=e=>e.map(e=>{var t;return"".concat(a.xK).concat(null==(t=e.fields)?void 0:t.externalPlayerId)}).join(",")},55043:(e,t,l)=>{"use strict";l.d(t,{default:()=>P});var a=l(95155),r=l(73881),o=l(81156),i=l(74071),n=l(83617),s=l(75889);let d=e=>{let{colorSchema:t,time:l,additionalTime:r}=e,{liveIconBackground:o,liveTimeBackground:i,liveTimeText:d}=t,c=isNaN(Number(l))?0:Number(l),u=isNaN(Number(r))?0:Number(r);return(0,a.jsx)("div",{className:"flex h-13 w-8 justify-center lg:h-13.75 lg:w-8.5",children:(0,a.jsx)("div",{className:(0,s.QP)("relative flex h-full w-4.5 flex-col justify-center rounded-full lg:w-5.25",i),children:(0,a.jsxs)(n.Ay,{className:(0,s.QP)("flex items-center justify-center",d),variant:n.PT["date-4"],children:[(0,a.jsxs)("div",{className:"absolute top-1/5 left-1/2 flex items-center justify-center",children:[(0,a.jsx)("div",{className:(0,s.QP)("absolute h-2.5 w-2.5 animate-ping rounded-full opacity-50",o)}),(0,a.jsx)("div",{className:(0,s.QP)("absolute h-1.75 w-1.75 rounded-full opacity-40",o)}),(0,a.jsx)("div",{className:(0,s.QP)("absolute h-0.75 w-0.75 rounded-full",o)})]}),(0,a.jsx)("span",{children:"".concat(c+u,"'")})]})})})};var c=l(19433),u=l(85285),m=l(8397);let h=e=>{let{match:t,colorSchema:l,status:o}=e,{shortStandard:s,shortTime:h,shortDay:g}=m.r,{matchDateLocal:p,time:v,additionalTime:f}=t||{};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.w,{condition:(0,u.Ey)(o),children:(0,a.jsx)(d,{colorSchema:l,time:v,additionalTime:f})}),(0,a.jsx)(r.w,{condition:(0,u.QJ)(o),children:(0,a.jsx)(n.Ay,{variant:n.PT["subtitle-6"],className:"flex w-8 flex-col items-center gap-0.5 lg:w-8.5",children:(0,a.jsx)(c.default,{translationTermKey:"sport-".concat(o)})})}),(0,a.jsx)(r.w,{condition:!(0,u.Ey)(o)&&!(0,u.QJ)(o),children:(0,a.jsxs)(n.Ay,{variant:n.PT["subtitle-6"],className:"flex w-8 flex-col items-center gap-0.5 lg:w-8.5",children:[(0,a.jsx)(r.w,{condition:(0,u.jR)(o),children:(0,a.jsx)(i.default,{date:p,dateType:g,isLocalDate:!0})}),(0,a.jsx)(i.default,{date:p,dateType:s,isLocalDate:!0}),(0,a.jsx)(i.default,{date:p,dateType:h,isLocalDate:!0}),(0,u.eZ)(o)&&(0,a.jsx)(c.default,{translationTermKey:"sport-".concat(o)})]})})]})};var g=l(38416),p=l(53323),v=l(51761),f=l(61165),y=l(86737),x=l(72634),b=l(12115);let w=e=>{var t,l;let{match:o,status:i,showStoryteller:n=!1,colorSchemaKey:d,storytellerClasses:c="",storytellerContainerClasses:m="",ticketPopover:h,ticketIcon:g,ticketClasses:w,ticketText:j,ticketVariant:N="outline"}=e,[T,S]=(0,b.useState)(!1),{FLAG_ENABLE_STORYTELLER_MATCH_CARD:A}=(0,y.h)(),P=A&&n,k=(null==o||null==(t=o.editorial)?void 0:t.ticketsUrl)||"";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.w,{condition:(0,u.dc)({isStoryteller:P,isStorytellerError:T,status:i,ticketsUrl:k}),children:(0,a.jsx)(p.A,{colorSchemaKey:d,variant:N,rounding:"rounded",size:"small",url:k,target:"_blank",text:j,className:w,icon:g,popover:h})}),(0,a.jsx)(r.w,{condition:P&&!T,children:(0,a.jsx)(f.default,{colorSchema:d,storytellerCategory:null==o||null==(l=o.matchId)?void 0:l.split("::").pop(),storytellerLayout:x.f.CIRCLE,isFullWidthValue:!1,customTheme:v.v6,className:c,containerClassName:(0,s.QP)("match-card",m),setIsStorytellerError:S,checkContentBeforeLo
1ad:!0})})]})};var j=l(11805),N=l(85880),T=l(30927);let S=e=>{let{match:t,colorSchemaKey:l,showStoryteller:r}=e,i=T.y[l].matchListByDateCard,d=(0,j.cW)(null==t?void 0:t.status),{home:m=null,away:p=null,matchUrl:v=""}=t||{},{officialName:f,acronymNameLocalized:y}=m||{},{officialName:x,acronymNameLocalized:b}=p||{},{cardItemContainer:S,matchScoreText:A,matchTeamText:P,liveMatchScoreText:k}=i;return(0,a.jsxs)("div",{className:(0,s.QP)("relative flex min-h-18.5 w-full items-center gap-4 p-2 first:pt-0 last:pb-0 md:mx-auto md:max-w-137 lg:min-h-21 lg:px-0 lg:py-3 xl:gap-6",S),children:[(0,a.jsx)(o.default,{target:"_self",href:v,className:"absolute inset-0 z-20","aria-label":"".concat(f||y," - ").concat(x||b)}),(0,a.jsxs)("span",{className:"sr-only",children:[(0,a.jsx)(c.default,{translationTermKey:"sport-match-details-for"})," ",f," ",(0,a.jsx)(c.default,{translationTermKey:"sport-vs"})," ",x]}),(0,a.jsx)(h,{status:d,match:t,colorSchema:i}),(0,a.jsx)(g.A,{containerClasses:"flex max-w-42.5 w-full flex-col gap-2 md:gap-3 md:max-w-62 mx-auto",match:t,status:d,matchTeamText:P,matchScoreText:(0,u.Ey)(d)?k:A,isShortTeamName:!0,isLosingTeamOpacity:!0,teamInfoTypographyVariant:n.PT.h6,scoreInfoTypographyVariant:n.PT.h5}),(0,a.jsx)(w,{match:t,status:d,colorSchemaKey:l,showStoryteller:r,storytellerClasses:"!min-h-25 lg:!min-h-27.5",storytellerContainerClasses:"match-card-list-by-date z-40 lg:w-14 w-13 h-13 lg:h-14 shrink-0",ticketIcon:"SoccerField",ticketClasses:"relative z-40 h-auto w-13 xl:w-15.75",ticketPopover:(0,N.Tl)("buy-tickets"),ticketVariant:"app"})]})};var A=l(15702);let P=e=>{let{matches:t,colorSchemaKey:l,showStoryteller:o,limit:i}=e,{polledMatches:n}=(0,A.Y)();return(0,a.jsx)(r.w,{condition:!!(null==t?void 0:t.length),children:(0,a.jsx)("div",{className:(0,s.QP)("p-4 lg:px-8 lg:py-6",(null==t?void 0:t.length)>i?"lg:max-h-168.75 lg:overflow-y-auto":""),children:null==t?void 0:t.map(e=>{let t=n.get(e.matchId);return(0,a.jsx)(S,{match:t||e,colorSchemaKey:l,showStoryteller:o},e.matchId)})})})}},55331:(e,t,l)=>{"use strict";l.d(t,{LI:()=>r,Ux:()=>i});var a=l(12115);let r=(e,t)=>e.filter(e=>{var l;return(null==(l=e.team)?void 0:l.teamSlug)===t}),o=e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase(),i=(e,t)=>{let l=(0,a.useMemo)(()=>e.reduce((e,t)=>{let l=o((null==t?void 0:t.roleLabel)||"");return e[l]||(e[l]=[]),e[l].push(t),e},{}),[e]),r=(0,a.useMemo)(()=>((e,t)=>{if(!t)return e;let l=t.split(",").map(e=>o(e.trim()));return e.sort((e,t)=>{let a=l.indexOf(e),r=l.indexOf(t);return -1!==a&&-1!==r?a-r:-1!==a?-1:-1!==r?1:e.localeCompare(t)})})(Object.keys(l),t),[l,t]);return{groupedPlayers:l,sortedRoles:r}}},55887:(e,t,l)=>{"use strict";l.d(t,{CountryCodeProvider:()=>n,F:()=>s});var a=l(95155),r=l(12115),o=l(39996);let i=(0,r.createContext)("GB");function n(e){let{children:t}=e,l=(0,o.A)();return(0,a.jsx)(i.Provider,{value:l,children:t})}let s=()=>(0,r.useContext)(i)},55923:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var a=l(95155),r=l(12115),o=l(44931),i=l(74766),n=l(78105),s=l(95408),d=l(75889),c=l(49938);let u=e=>{let{as:t,ref:l,children:u,amountOfPixels:m=75,className:h="",isScaled:g=!1,offsetTop:p="start end",offsetBottom:v="end start",...f}=e,y=(0,i.I)()?0:m,x=(0,r.useRef)(null),b=(0,c.s)(x,l),[w,j]=(0,r.useState)(!1),[N,T]=(0,r.useState)(0),S=null!=t?t:"div",A=(0,r.useMemo)(()=>n.P.create(S),[S]);(0,r.useEffect)(()=>{var e;if(!g||!(null==(e=x.current)?void 0:e.parentElement))return;let t=Math.abs(y),l=x.current.parentElement.clientHeight;l>=x.current.clientHeight&&(j(!0),T(2*t))},[g,y]);let{scrollYProgress:P}=(0,s.L)({target:x,offset:[p,v],layoutEffect:!1}),k=((e,t)=>(0,o.G)(e,[0,1],[-t,t]))(P,y);return(0,a.jsx)(A,{ref:b,className:(0,d.QP)("transform-gpu",w?"h-full":"",h),style:{y:k,...w?{marginTop:"-".concat(N/2,"px"),height:"calc(100% + ".concat(N,"px)")}:{}},...f,children:u})};u.displayName="ParallaxView";let m=u},56047:()=>{},56081:(e,t,l)=>{"use strict";l.d(t,{default:()=>w});var a=l(95155),r=l(33648),o=l(19433),i=l(12115),n=l(84380),s=l(75889),d=l(83617),c=l(56396),u=l(30927);let m=e=>{let{refreshSearch:t,setAzureSearchOption:l,azureSearchOption:m,types:h,setIsLoading:g,colorSchemaKey:p=c.fs.light}=e,v=(0,n.A)(),f="pb-1 cursor-pointer whitespace-nowrap after:block after:bottom-0 after:content-[''] after:absolute after:border after:border-primary-on-light after:w-full after:scale-x-0 hover:after:scale-x-100 after:transition-transform after:duration-300 after:origin-left",[y,x]=(0,i.useState)("all"),b=u.y[p].searchResults,w=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";g(!0),m.q=e,m.page=0,m.facetType=a,m.facetValue=r,l(m),x(r||"all"),t()},j=(0,s.QP)("relative h-full w-full rounded-full inset-0",b.categoryNavigationSwiperScrollbar);return(0,a.jsx)("div",{className:"search-categories mx-auto w-fit max-w-full",children:(0,a.jsx)("div",{className:"relative",children:(0,a.jsxs)(r.IX,{slidesPerView:"auto",className:"overflow-visible pb-2 md:overflow-hidden",scrollbar:{draggable:!0,dragClass:j},style:{"--swiper-scrollbar-bottom":"0px"},children:[(0,a.jsx)(r.qr,{className:"flex h-auto w-auto",children:(0,a.jsx)("button",{onClick:()=>
1w(m.q),children:(0,a.jsx)(d.Ay,{variant:d.PT["subtitle-4"],as:"div",className:(0,s.QP)("px-6",b.searchCategoryBorder),children:(0,a.jsx)("div",{className:(0,s.QP)(f,"all"===y&&"after:scale-x-100"),children:(0,a.jsx)(o.default,{translationTermKey:"all"})})})})},v("all")),null==h?void 0:h.map((e,t)=>(0,a.jsx)(r.qr,{className:"flex h-auto w-auto",children:(0,a.jsx)("button",{onClick:()=>w(m.q,["photo","album","document","story"].includes(e)?"type":"entityCode",e),children:(0,a.jsx)(d.Ay,{variant:d.PT["subtitle-4"],as:"div",className:(0,s.QP)("px-6",t!==(null==h?void 0:h.length)-1&&b.searchCategoryBorder),children:(0,a.jsx)("div",{className:(0,s.QP)(f,y===e&&"after:scale-x-100"),children:(0,a.jsx)(o.default,{translationTermKey:e})})})})},e))]})})})};var h=l(96408),g=l(30926);let p=(0,g.createServerReference)("602284b7da64ce9a6286ffd8798faf0411baa7c57b",g.callServer,void 0,g.findSourceMapURL,"azureSearchForgeEntities");var v=l(94659),f=l(45849),y=l(53323),x=l(52259),b=l(65897);let w=e=>{let{types:t,initialAzureSearchOption:l,variables:r,colorSchemaKey:o=c.fs.light,isAnimated:s=!1,itemsPerRow:d=3}=e,[u,g]=(0,i.useState)([]),[w,j]=(0,i.useState)(l),[N,T]=(0,i.useState)(!0),[S,A]=(0,i.useState)(!1),[P,k]=(0,i.useState)(0),C=(0,n.A)(),I=(0,i.useCallback)((e,t,l)=>{k((0,h.bd)(e,t,l))},[w]),L=async()=>{await F(w)},F=(0,i.useCallback)(async e=>{let t=await p(e,r);if(null==t?void 0:t.data){var l;let a=(0,h.S)(e.facetValue,null!=(l=null==t?void 0:t.data)?l:[]);S?g([...u,...a]):g(a),I(e,a,t.data.count),A(!1),T(!1)}},[I,r]);(0,i.useEffect)(()=>{w&&(T(!0),F(w).then(e=>e))},[F,w]);let B=async()=>{if(T(!0),!P)return void x.A.log("SearchResultsForgeEntitiesView: No more pages to load",b.T.debug);j({...w,page:P}),A(!0)};return u&&u.length>0&&(0,a.jsxs)("div",{className:"relative flex flex-col gap-8",children:[(0,a.jsx)(m,{types:t,azureSearchOption:l,setIsLoading:T,setAzureSearchOption:j,refreshSearch:L,colorSchemaKey:o}),(0,a.jsx)(f.A,{items:u,itemsPerRow:d,cardsType:v.A3.regular,cardSize:v.qJ.small,aspectRatio:v.Mc.ASPECT_16_9,colorSchemaKey:o,isAnimated:s,forceAnimation:!0,centerInsufficientItems:!0}),P?(0,a.jsx)("div",{className:"relative col-span-full flex h-11 justify-center",children:(0,a.jsx)(y.A,{text:C("load-more"),onClick:B,variant:"outline",rounding:"rounded",size:"large",disabled:N,isLoading:N})}):null]})}},56361:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var a=l(95155),r=l(83617),o=l(75889),i=l(56396),n=l(30927);let s=e=>{let{accountInitialsChars:t,textTypography:l=r.PT["navigation-3"],colorSchemaKey:s=i.fs.light,hasLink:d=!1}=e,{background:c,text:u}=n.y[s].accountAvatar;return t?(0,a.jsx)("div",{className:(0,o.QP)("flex h-full w-full items-center justify-center rounded-full",c,u,d&&"cursor-pointer transition duration-300"),children:(0,a.jsx)(r.Ay,{variant:l,as:"span",children:t})}):null}},58002:(e,t,l)=>{"use strict";l.d(t,{Q7:()=>o,jN:()=>s,kO:()=>r,so:()=>a,xK:()=>i,zd:()=>n});let a="sdp-widget",r="sdp-widgets",o=5,i="wpll::Football_Player::",n="wpll::Football_Team::",s="en-US"},59120:(e,t,l)=>{"use strict";l.d(t,{l:()=>d});var a=l(95155),r=l(75889),o=l(56396),i=l(30927),n=l(83617);let s={container:"inline-flex rounded-full p-1",button:"cursor-pointer rounded-full px-6 py-3 text-sm font-medium transition-all duration-200",focus:"focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-1 focus-visible:outline-none"},d=e=>{let{id:t,isOn:l,onToggle:d,labelOn:c="On",labelOff:u="Off",colorSchemaKey:m=o.fs.light,className:h,labelClassName:g,isBackgroundBlurred:p=!1,buttonClassName:v}=e,{activeButton:f,inactiveButton:y,blurredInactiveButton:x,container:b,blurredContainer:w}=i.y[m].toggle,j=(0,r.QP)(s.container,p?w:b,h),N=(0,r.QP)(s.button,s.focus,l?f:p?x:y,v),T=(0,r.QP)(s.button,s.focus,l?p?x:y:f,v);return(0,a.jsxs)("div",{id:t,className:j,children:[(0,a.jsx)("button",{onClick:()=>d(!1),className:T,children:(0,a.jsx)(n.Ay,{variant:n.PT["navigation-1"],className:g,children:u})}),(0,a.jsx)("button",{onClick:()=>d(!0),className:N,children:(0,a.jsx)(n.Ay,{variant:n.PT["navigation-1"],className:g,children:c})})]})}},59758:(e,t,l)=>{"use strict";l.d(t,{Y:()=>a,y:()=>r});var a=function(e){return e.default="default",e.header="header",e.headerService="headerService",e.hamburger="hamburger",e.footer="footer",e.footerLegalInfo="footerLegalInfo",e.social="social",e.masthead="masthead",e.buttonMenu="buttonMenu",e.account="account",e}({}),r=function(e){return e.hiddenMobile="hiddenMobile",e.hiddenDesktop="hiddenDesktop",e.onlyIcon="onlyIcon",e.signOut="signOut",e}({})},60037:()=>{},60115:()=>{},60283:(e,t,l)=>{"use strict";l.d(t,{A:()=>S});var a=l(95155),r=l(75889),o=l(12115),i=l(81156),n=l(73881),s=l(83617),d=l(67231),c=l(56396),u=l(37591),m=l(24531),h=l(19378),g=l(78441),p=l(68271),v=l(8173),f=l(18300),y=l(84380),x=l(14823);let b=e=>{let{stat:t,isActive:l,translate:r}
1=e,o=r("sport-".concat(t.statsId.toLowerCase().replace(/ /g,"-")))||t.statsId;return(0,a.jsxs)("div",{className:"flex flex-col justify-between gap-1 pb-6 last:pb-0",children:[(0,a.jsx)(s.Ay,{variant:s.PT["uber-2"],children:(0,a.jsx)(f.A,{value:t.statsValue,startAnimation:l,isAnimated:!0})}),(0,a.jsx)(s.Ay,{variant:s.PT["navigation-2"],className:"text-balance",children:o})]})},w=e=>{var t;let{player:l,isActive:o}=e,i=(0,y.A)();return(0,a.jsxs)("div",{className:(0,r.QP)("player-card-stats","absolute top-0 right-0 z-0","h-full w-[245px]","p-4 py-6","hidden flex-col justify-start md:flex"),children:[(0,a.jsx)(s.Ay,{variant:s.PT["h4-uppercase"],children:i("sport-key-stats")}),(0,a.jsx)(n.w,{condition:l.stats&&(null==(t=l.stats)?void 0:t.length)>0,children:(0,a.jsx)("div",{className:"mt-10 flex flex-col gap-6 divide-y-1 divide-white/10",children:l.stats&&l.stats.filter(e=>{var t;return((e,t)=>{var l;return!!t&&(null==(l=x.Nm[null==t?void 0:t.toLowerCase()])?void 0:l.includes(e.statsId))})(e,null==(t=l.roleLabel)?void 0:t.toLowerCase())}).map(e=>(0,a.jsx)(b,{stat:e,isActive:o,translate:i},"".concat(l.playerSlug,"-stat-").concat(e.statsId)))})})]})};var j=l(53323);let N=e=>{let{socials:t,colorSchema:l}=e,{facebookLink:o="",twitterLink:s="",tikTokLink:c="",instagramLink:u=""}=t||{};return(0,a.jsxs)("div",{className:(0,r.QP)("absolute bottom-4 z-50 hidden w-full justify-center gap-4 lg:flex",l),children:[(0,a.jsx)(n.w,{condition:!!(null==o?void 0:o.trim()),children:(0,a.jsx)(i.default,{target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook profile",href:(null==o?void 0:o.trim())||"#",className:"h-8 w-8 transition-opacity duration-300 hover:opacity-70",children:(0,d.a)("FacebookRounded")})}),(0,a.jsx)(n.w,{condition:!!(null==u?void 0:u.trim()),children:(0,a.jsx)(i.default,{target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram profile",href:(null==u?void 0:u.trim())||"#",className:"h-8 w-8 transition-opacity duration-300 hover:opacity-70",children:(0,d.a)("InstagramRounded")})}),(0,a.jsx)(n.w,{condition:!!(null==s?void 0:s.trim()),children:(0,a.jsx)(i.default,{target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter profile",href:(null==s?void 0:s.trim())||"#",className:"h-8 w-8 transition-opacity duration-300 hover:opacity-70",children:(0,d.a)("TwitterRounded")})}),(0,a.jsx)(n.w,{condition:!!(null==c?void 0:c.trim()),children:(0,a.jsx)(i.default,{target:"_blank",rel:"noopener noreferrer","aria-label":"TikTok profile",href:(null==c?void 0:c.trim())||"#",className:"h-8 w-8 transition-opacity duration-300 hover:opacity-70",children:(0,d.a)("TikTokRounded")})})]})};var T=l(62951);let S=e=>{var t,l,f,y,x,b,S,A,P,k,C,I,L,F;let{player:B,isActive:E=!1,hideStats:_=!0,nameVariant:R=s.PT.h2,shirtNumberVariant:M=s.PT["uber-1"],clubImgClassName:D,nationImgClassName:U,competitionIconStyle:z,colorSchemaOverrides:O,shirtNumberWrapperClassName:H,className:W="h-[300px] w-[200px] md:h-[530px] md:w-[344px]",showCloseButton:Q=!1,onClose:G,showFavoriteButton:V=!1,isFavorite:K=!1,onToggleFavorite:q,playerClassName:J}=e;if(!B)return null;let X=(0,h.s3)(null==B||null==(t=B.team)?void 0:t.theming,null==B||null==(l=B.team)?void 0:l.primaryColor),Y={...u.i[X.theme||c.fs.light],...O},$=null==(y=B.team)||null==(f=y.competitionSlug)?void 0:f.trim(),Z=$===m.Z5,ee=$===m.Hu,et=(null==B||null==(x=B.mediaFirstName)?void 0:x.trim())||(null==B||null==(b=B.shortName)?void 0:b.trim()),el=null==(S=B.mediaLastName)?void 0:S.trim(),ea="".concat(et||""," ").concat(el||"").trim(),er=!!(et&&el),eo=(null==(A=B.team)?void 0:A.acronymName)||(null==(P=B.team)?void 0:P.shortName)||"",ei=_||!(null==B?void 0:B.stats)||(null==B||null==(k=B.stats)?void 0:k.length)===0,en=z||{className:(0,r.QP)("w-[22px] md:h-[236px] md:w-[44px]",Y.competitionLogo)};return(0,a.jsxs)("div",{className:(0,r.QP)("relative overflow-hidden rounded-2xl","transition-all duration-300 will-change-[width]",Y.cardBackground,!ei&&"md:group-[.swiper-slide-active]/swiper-slide:w-[588px]",W),children:[(0,a.jsxs)("div",{className:(0,r.QP)("relative z-20 h-full w-full md:w-[344px]",J),children:[(0,a.jsx)(i.default,{target:"_self",href:(null==B?void 0:B.playerUrl)||"",className:"absolute inset-0 z-30","aria-label":"".concat(ea," profile link")}),(0,a.jsx)(n.w,{condition:Q,children:(0,a.jsx)("div",{className:"absolute top-1 right-1 z-50 lg:top-4 lg:right-4",children:(0,a.jsx)(j.A,{onClick:()=>null==G?void 0:G(B.playerId),icon:"CloseRounded",variant:"link",rounding:"rounded",iconClassName:"size-8 lg:size-10",className:(0,r.QP)("size-10 transition-opacity duration-300 hover:opacity-70",Y.closeButton),role:"button"})})}),(0,a.jsx)(n.w,{condition:V,children:(0,a.jsx)("div",{className:(0,r.QP)("pointer-events-auto absolute z-50",Q?"top-12 right-1 lg:top-16 lg:right-4":"top-1 right-1 lg:top-4 lg:right-4"),children:(0,a.jsx)(T.A,{isFavorite:K,onToggle:()=>null==q?void 0:q(B.playerId),className:(0,r.QP)("size-8 rounded-full hover:scale-110 lg:size-10",Y.favoriteButton),iconClassName:"size-5 lg:size-6"})})}),(0,a.jsxs)("div",{className:(0,r.QP)("absolute top-1/2 right-0 z-10 -translate-y-1/4",Z?"text-black group-[.swiper-slide-active]/swiper-slide:text-black":en.className),children:[(0,a.jsx)(n.w,{condition:ee,children:(0,d.a)("WslLogo",{...en})}),(0,a.jsx)(n.w,{condition:Z,children:(0,d.a)("WslLogo2",{...en})})]}),(0,a.jsxs)(o.Fragment,{children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 z-10 h-full w-full opacity-5",children:(0,d.a)("WslPlayerCardBg",{fill:"text-white"===Y.playerInfo?"#000":"#fff"})}),(0,a.jsx)("div",{className:"absolute h-full w-full",style:{backgroundColor:X.backgroundColor}})]}),(0,a.jsx)(v.A,{playerImage:null==B?void 0:B.playerImage,alt:ea,colorSchemaKey:X.theme,className:"absolute bottom-0 left-0 z-20 h-[70%] w-full mask-b-from-70% mask-b-to-100% object-contain object-bottom"},B.playerId),(0,a.jsxs)("div",{className:"absolute z-20 px-2 py-3 md:px-4 md:py-6",children:[(0,a.jsx)(n.w,{condition:er,children:(0,a.jsxs)(s.Ay,{variant:R,className:(0,r.QP)(Y.playerInfo),children:[(0,a.jsx)("div",{children:et}),(0,a.jsx)("div",{children:el})]})}),(0,a.jsxs)("div",{className:"mt-2 flex items-center gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(g.A,{width:32,height:32,alt:null==eo?void 0:eo.trim(),className:D||"h-8 w-8",clubId:(null==B||null==(C=B.team)?void 0:C.teamId)||"",logoLight:(null==B||null==(I=B.team)?void 0:I.logoLight)||""}),(0,a.jsx)(s.Ay,{variant:s.PT["navigation-3"],className:(0,r.QP)(Y.playerInfo),children:null==eo?void 0:eo.trim()})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(p.A,{width:24,height:24,className:U||"h-6
1w-6",nationalityIsoCode:(null==B||null==(L=B.nationalityIsoCode)?void 0:L.trim())||""}),(0,a.jsx)(s.Ay,{variant:s.PT["navigation-3"],className:(0,r.QP)(Y.playerInfo),children:null==B||null==(F=B.nationalityIsoCode)?void 0:F.trim()})]})]})]}),(0,a.jsx)(N,{socials:null==B?void 0:B.socials,colorSchema:Y.playerSocials}),(0,a.jsx)(n.w,{condition:!!(null==B?void 0:B.bibNumber),children:(0,a.jsx)("div",{className:(0,r.QP)("writing-vertical-lr pointer-events-none absolute top-1/2 left-0 z-0 -ml-5 -translate-y-1/4 leading-0",H||""),children:(0,a.jsx)(s.Ay,{variant:M,className:(0,r.QP)("origin-left -translate-x-1 scale-100 md:-translate-x-2 lg:scale-140",Y.shirtNumber),children:String(null==B?void 0:B.bibNumber)})})})]}),(0,a.jsx)(n.w,{condition:!ei,children:(0,a.jsx)(w,{player:B,isActive:E})})]},(null==B?void 0:B.playerId)||(null==B?void 0:B.playerSlug))}},60597:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>h});var a=l(95155),r=l(94940),o=l(67231),i=l(12115),n=l(19433),s=l(24443),d=l(75889),c=l(81884),u=l(84380),m=function(e){return e.FACEBOOK="facebook",e.X="x",e.WHATSAPP="whatsapp",e.COPY_LINK="copy-link",e}(m||{});let h=e=>{let{title:t,containerClassName:l,fbAppId:m,colorSchema:h=s.n.light,isAnimated:g=!1}=e,[p,v]=(0,i.useState)(""),[f,y]=(0,i.useState)(!1),x=(0,u.A)(),b=(0,d.QP)("cursor-pointer [&_circle]:group-hover:text-inherit [&_circle]:group-focus:text-inherit inline-flex",h.circle);(0,i.useEffect)(()=>{m&&!window.fbInit&&(window.fbInit=!0,window.fbAsyncInit=function(){window.FB.init({appId:m,version:"v10.0",xfbml:!0})},function(e,t,l){let a,r=e.getElementsByTagName(t)[0];e.getElementById(l)||((a=e.createElement(t)).id=l,a.src="//connect.facebook.net/en_US/sdk.js",null==r||r.parentNode.insertBefore(a,r))}(document,"script","facebook-jssdk"))},[m]),(0,i.useEffect)(()=>{v(window.location.href)},[]);let w=e=>{let l=encodeURIComponent(t);switch(e){case"x":return window.open("https://twitter.com/intent/tweet?text=".concat(l,"&url=").concat(p));case"facebook":var a,r,o;null==(o=window)||null==(r=o.FB)||null==(a=r.ui)||a.call(r,{method:"share",href:p});break;case"whatsapp":return window.open("https://api.whatsapp.com/send?text=".concat(l,"%20").concat(p));case"copy-link":navigator.clipboard.writeText(p),y(!0),setTimeout(()=>{y(!1)},1500)}return null};return(0,a.jsxs)("div",{className:(0,d.QP)("relative flex flex-row flex-wrap gap-4",l),children:[f&&(0,a.jsx)("div",{className:"absolute top-0 right-0",children:(0,a.jsx)(r.A,{type:"success",title:"link-copied"})}),[{id:"facebook",icon:"FacebookRounded"},{id:"x",icon:"XRounded"},{id:"whatsapp",icon:"WhatsAppRounded"},{id:"copy-link",icon:"CopyLinkRounded"}].map((e,t)=>(0,a.jsx)(c.default,{delay:.2*t,isAnimated:g,children:(0,a.jsxs)("button",{onClick:()=>w(e.id),onKeyDown:t=>"Enter"===t.key?w(e.id):void 0,className:"group rounded-full",title:x("share-".concat(e.id)),"aria-label":x("share-".concat(e.id)),children:[(0,a.jsx)("div",{className:"h-10 w-10",children:(0,o.a)(e.icon,{className:b})}),(0,a.jsx)("span",{className:"sr-only",children:(0,a.jsx)(n.default,{translationTermKey:"share-".concat(e.id)})})]})},e.id))]})}},60990:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>f});var a=l(95155),r=l(37575);let o=[{col:"col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-span-2",row:"row-span-2",transformation:r.N.image_landscape_large},{col:"col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-span-2",row:"row-span-2",transformation:r.N.image_landscape_large},{col:"col-span-2",row:"row-span-2",transformation:r.N.image_landscape_large},{col:"col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-span-2",row:"row-span-2",transformation:r.N.image_landscape_large},{col:"col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large}],i=[{col:"col-start-1 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-1 col-span-2",row:"row-span-2",transformation:r.N.image_landscape_large},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-1 col-span-2",row:"row-span-2",transformation:r.N.image_landscape_large},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-1 col-span-2",row:"row-span-2",transformation:r.N.image_landscape_large},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-1 col-span-2",row:"row-span-2",transformation:r.N.image_landscape_large},{col:"col-start-1 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large},{col:"col-start-2 col-span-1",row:"row-span-1",transformation:r.N.image_landscape_large}];var n=l(53323),s=l(81156),d=l(7641),c=l(95277),u=l(31360),m=l(95831),h=l(12115),g=l(56396),p=l(75889),v=l(81884);let f=e=>{let t,{entity:l,useLimit:f=!1,colorSchemaKey:y=g.fs.light,isAnimated:x=!1}=e,b=(0,h.useRef)(null),w=(0,u.A)(b),{fancyboxInit:j,handlerClickLightbox:N}=(()=>{let[e]=(0,h.useState)(!1);return{handlerClickLightbox:e=>{null==e||e.preventDefault()},fancyboxInit:()=>{e||m.lX.bind("[data-fancybox]",{animated:!1,compact:!1,wheel:!1,Thumbs:!1,Toolbar:{display:{left:[],middle:[],right:["close"]}}})}}})(),{elements:T}=l,S=T.filter(e=>e.image&&e.image.templateUrl),A=((e,t,l)=>e?t?l.length>7?7:l.length:l.length>10?10:l.length:l.length)(f,w,S),P=((e,t)=>{let l=t?i:o,a=[];for(let t=0;t<e;t++){let e=t%l.length,r=l[e],o={col:r.col,row:r.row,transformation:r.transformation};a.push(o)}return a})(A,w).map((e,t)=>{var l,a,r,o;return(null==(a=S[t])||null==(l=a.image)?void 0:l.templateUrl)?{...e,src:null==(r=S[t].image)?void 0:r.templateUrl,title:null==(o=S[t].image)?void 0:o.title}:e}),k="gallery-".concat(l.slug);switch((0,h.useEffect)(()=>{j()},[j]),P.length){case 1:t="lg:grid-cols-5 lg:before:col-span-2";break;case 2:t="lg:grid-cols-5 lg:before:col-span-1";break;case 3:t="lg:grid-cols-4";break;default:t="lg:grid-cols-5"}return(0,a.jsxs)("div",{className:"flex flex-col gap-6 lg:gap-8",children:[(0,a.jsx)("div",{className:(0,p.Id)("group pointer-events-none grid grid-cols-2 justify-center gap-1",t),children:P.map((e,t)=>{var l,o;return(0,a.jsx)("div",{className:(0,p.QP)(e.col,e.row,"pointer-events-auto relative"),ref:b,children:(0,a.jsx)(v.default,{isAnimated:x,delay:.1*t,children:e.src&&e.transformation&&(0,a.jsx)(s.default,{href:(0,r.W)(null==e?void 0:e.src,r.N.fancybox_image.desktop.transformation),"data-fancybox":k,"data-caption":null!=(o=null==(l=T[t].fields)?void 0:l.description)?o:"",onClick:N,"data-title":T[t].title,title:T[t].title,"aria-label":T[t].title,"data-srcset":"\n ".concat((0,r.W)(null==e?void 0:e.src,r.N.fancybox_image.mobile.transformation)," 480w,\n ").concat((0,r.W)(null==e?void 0:e.src,r.N.fancybox_image.tablet.transformation)," 720w,\n ").concat((0,r.W)(null==e?void 0:e.src,r.N.fancybox_image.desktop.transformation)," 1280w"),"data-sizes":"100vw",className:"block overflow-hidden rounded-lg",children:(0,a.jsx)(d.default,{src:e.src,alt:(0,c.JJ)(e.title),className:"ease-power-4 scale-100 rounded-lg object-cover object-top transition-all duration-1000 group-hover:opacity-50 hover:scale-110 hover:opacity-100",transformations:e.transformation})})})},"".concat(T[t]._entityId,"-").concat(t))})}),l.url&&A<S.length&&(0,a.jsx)(n.A,{colorSchemaKey:y,className:"mx-auto",url:l.url,rounding:"rounded",text:"cta-see-all",icon:"CaretRight",variant:"outline"})]})}},61165:(e,t,l)=>{"use strict";l.d(t,{default:()=>g});var a=l(95155);l(24155);var r=l(51761),o=l(65897),i=l(72634),n=l(52259),s=l(37764);let d=async e=>{let{STORYTELLER_API_KEY:t,customTheme:l,storytellerCategory:a,instanceRef:d,containerId:c,storytellerLayout:u,colorSchema:m,setIsStorytellerError:h,isCancelled:g,checkContentBeforeLo
1ad:p,displayLimit:v}=e;try{var f;if(!await (0,r.gJ)(t,l)||g())return;let e=null!=(f=null==a?void 0:a.split(",").map(e=>e.trim()).filter(Boolean))?f:[];if(p)try{let t=await s.sharedInstance.getStoriesCount(e);if(g())return;if(0===t){null==h||h(!0);return}}catch(e){n.A.log("Storyteller Stories content check failed, loading row as fallback: ".concat(JSON.stringify(e)),o.T.warning)}(0,r.Eh)(c),d.current=new s.StorytellerStoriesRowView(c,e);let y=new s.UiTheme;y.light.storyTiles.title.show=!1,y.dark.storyTiles.title.show=!1,d.current.theme=y,d.current.configuration={basename:c,cellType:u===i.f.CIRCLE?s.CellType.round:s.CellType.square,uiStyle:"light"===m?s.UiStyle.light:s.UiStyle.dark,preload:!1,...v&&v>0?{displayLimit:v}:{}},d.current.delegate={onDataLoadComplete:(e,t,l)=>{if(!g()){if(t||0===l){(0,r.Fm)(c),h&&h(!0);return}e&&l>0&&(0,r.Eh)(c)}},onUserActivityOccurred:e=>{"openedStory"===e||"openedClip"===e||"openedAd"===e?document.body.classList.add("storyteller-player-open"):("dismissedStory"===e||"dismissedClip"===e||"dismissedAd"===e)&&document.body.classList.remove("storyteller-player-open")}}}catch(e){n.A.log("Failed to create Storyteller Stories instance: ".concat(JSON.stringify(e)),o.T.error)}};var c=l(51309),u=l(56396);l(70712);var m=l(12115),h=l(75889);let g=e=>{let{colorSchema:t=u.fs.light,storytellerCategory:l,isFullWidthValue:r,storytellerLayout:o=i.f.CARD,customTheme:n,className:s,containerClassName:g,setIsStorytellerError:p,checkContentBeforeLoad:v,displayLimit:f}=e,{STORYTELLER_API_KEY:y}=(0,c.V)(),x=(0,m.useRef)(null),b=(0,m.useRef)(null),w=(0,m.useId)(),j="storyteller-stories-".concat(o,"-").concat(w),N=o===i.f.CARD;return((0,m.useEffect)(()=>{if(!y||!l||!x.current)return;let e=!1;return d({STORYTELLER_API_KEY:y,customTheme:n,storytellerCategory:l,instanceRef:b,containerId:j,storytellerLayout:o,colorSchema:t,setIsStorytellerError:p,isCancelled:()=>e,checkContentBeforeLoad:v,displayLimit:f}),()=>{e=!0,b.current&&(b.current.delegate=void 0,b.current=null)}},[y,v,t,j,n,f,p,l,o]),l)?(0,a.jsx)("div",{className:(0,h.QP)("storyteller-wrapper",!r&&"storyteller-wrapper--overflow-visible",N?"card-layout":"circle-layout",t,g),children:(0,a.jsx)("div",{id:j,ref:x,className:(0,h.QP)("h-auto w-full",N?"min-h-[14.375rem] lg:min-h-[23.125rem]":"min-h-[120px]",s),"data-uc-allowed":"true"})}):null}},61541:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var a=l(95155),r=l(24531),o=l(82438),i=l(67231),n=l(75889);let s=e=>{let{onClick:t,isHidden:l,icon:s,navigationColor:d=r.vf,label:c,className:u="",style:m={},iconClassName:h="h-8 w-8",buttonSize:g="h-8 w-8"}=e;return(0,a.jsx)("button",{onClick:t,className:(0,n.QP)("carousel-button-".concat(s===o._.PREV?"prev":"next"),"grid cursor-pointer place-items-center",g,"transition-all hover:scale-125 hover:opacity-60",d,l&&"pointer-events-none opacity-0","rtl:rotate-180",u),style:m,title:c,"aria-label":c,"aria-disabled":l,children:(0,i.a)(s,{className:h})})},d=e=>{let{reference:t,progressColor:l,paginationColor:r}=e;return(0,a.jsx)("div",{ref:t,style:{"--swiper-pagination-progressbar-bg-color":"transparent","--swiper-pagination-color":l},className:(0,n.QP)("carousel-pagination relative h-1 w-52 overflow-hidden rounded-2xl",r),role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0,"aria-label":"Carousel progress bar"})};var c=l(84380);let u=e=>{let{options:t}=e,{paginationRef:l,handlePrev:i=()=>{},handleNext:u=()=>{}
1,isBeginning:m=!1,isEnd:h=!1,navigationColor:g=r.vf,progressColor:p=r.Wg,paginationColor:v=r.HA,className:f="",type:y="default"}=t,x=(0,c.A)(),b=m&&h;return"edge-navigation"===y?(0,a.jsxs)("div",{className:(0,n.QP)(b?"hidden":"block","pointer-events-none absolute inset-0",f),children:[(0,a.jsx)(s,{onClick:i,isHidden:m,icon:o._.PREV,navigationColor:g,label:x("prev-slide"),buttonSize:"h-[42px] w-[42px]",iconClassName:"h-6 w-6",className:"pointer-events-auto absolute top-1/2 left-10 z-10 hidden -translate-y-1/2 justify-center rounded-full bg-gradient-to-br from-[var(--color-secondary-on-light-100)] to-[var(--color-primary-on-light-100)] shadow-md transition-transform hover:scale-110 md:!flex [&_svg_path]:stroke-[var(--color-grey-on-light-0)]"}),(0,a.jsx)(s,{onClick:u,isHidden:h,icon:o._.NEXT,navigationColor:g,label:x("next-slide"),buttonSize:"h-[42px] w-[42px]",iconClassName:"h-6 w-6",className:"pointer-events-auto absolute top-1/2 right-10 z-10 hidden -translate-y-1/2 justify-center rounded-full bg-gradient-to-br from-[var(--color-secondary-on-light-100)] to-[var(--color-primary-on-light-100)] shadow-md transition-transform hover:scale-110 md:!flex [&_svg_path]:stroke-[var(--color-grey-on-light-0)]"})]}):(0,a.jsxs)("div",{className:(0,n.QP)(b?"hidden":"flex","mt-6 w-auto items-center justify-center gap-4 lg:mt-8",f),role:"group","aria-label":x("carousel-navigation"),children:[(0,a.jsx)(s,{onClick:i,isHidden:m,icon:o._.PREV,navigationColor:g,label:x("prev-slide")}),(0,a.jsx)(d,{reference:l,progressColor:p,paginationColor:v}),(0,a.jsx)(s,{onClick:u,isHidden:h,icon:o._.NEXT,navigationColor:g,label:x("next-slide")})]})}},61546:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>d});var a=l(95155),r=l(62893),o=l(95277),i=l(38583),n=l(88697),s=l(68321);let d=e=>{let{data:t}=e,{clientId:l,liveblogId:d,themeId:c,isFullWidth:u,removeSpacingTop:m,removeSpacingBottom:h}=null==t?void 0:t.properties;if((0,o.NZ)(t)||!l||!d||!c)return null;let g=(0,o.uo)(u);return(0,a.jsx)(i.A,{childrenComponentName:"tickaroo-liveblog",removeSpacingTop:m,removeSpacingBottom:h,children:(0,a.jsxs)(n.A,{isFullWidth:g,horizontalSpacing:g?r.jy.FullWidth:r.jy.Container,children:[(0,a.jsx)(s.default,{strategy:"afterInteractive",src:"https://cdn.tickaroo.com/webng/embedjs/tik4.js"}),(0,a.jsx)("tickaroo-liveblog",{liveblogId:d,themeId:c,clientId:l})]})})}},61949:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var a=l(95155),r=l(68935),o=l(18090),i=l(84380),n=l(56396);let s=e=>{let{manager:t,colorSchemaKey:l=n.fs.light}=e,s=(0,i.A)(),{isModalOpen:d,closeModal:c,onAddFavoritePlayer:u,isLoading:m,pendingAction:h,confirmAction:g,cancelAction:p,toast:v}=t;return(0,a.jsxs)(a.Fragment,{children:[d&&(0,a.jsx)(o.A,{heading:s("favorite-players-modal-title"),description:s("favorite-players-modal-description"),onClose:c,onAddFavoritePlayer:u,type:"players",isLoading:m,colorSchemaKey:l}),(0,a.jsx)(r.A,{pendingAction:h,confirmAction:g,cancelAction:p,isLoading:m,toast:v,colorSchemaKey:l})]})}},62276:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233),s=l(17503);let d=e=>{let{matchId:t,seasonIds:l,headerTitleHeadingLevel:d=o.v.h2,playerStatsIds:c,playerDropdownStatsIds:u,cardBackgroundUrl:m,enableTeamLinks:h,enablePlayerLinks:g,teamUrlPattern:p,playerUrlPattern:v,showErrorMessage:f,showRetryButton:y}=e,{SDP_PROJECT:x}=(0,i.V)(),b={title:"var(--color-widget-label-primary)",dialogBackdrop:"rgba(0, 0, 0, 0.4)",tableBg:"var(--color-grey-on-light-900)",tableBorder:"var(--color-widget-border-primary)",tableHeaderBg:"var(--color-grey-on-light-900)",tableHeaderBorder:"var(--color-widget-border-primary)",tableHeaderText:"var(--color-widget-label-secondary)",tableRowText:"var(--color-widget-label-primary)",tableRowBorder:"var(--color-widget-border-primary)",tableDivider:"var(--color-widget-border-primary)",tableTitle:"var(--color-widget-label-primary)",tableCloseBtnBorder:"var(--color-widget-border-primary)",tableCloseBtnFocusRing:"var(--color-primary-on-light-200)",tableCloseIcon:"var(--color-widget-label-primary)",tableAvatarBg:"var(--color-grey-on-light-900)",tableAvatarBorder:"var(--color-widget-border-primary)",plcCardBg:"var(--color-grey-on-light-900)",plcCardBorder:"var(--color-widget-border-primary)",plcHeaderBg:"var(--color-grey-on-light-900)",plcHeaderBorder:"var(--color-widget-border-primary)",plcHeaderText:"var(--color-widget-label-primary)",plcLeaderBg:"var(--color-grey-on-light-900)",plcLeaderFirstName:"var(--color-widget-label-primary)",plcLeaderLastName:"var(--color-widget-label-primary)",plcLeaderClubText:"var(--color-primary-on-light-200)",plcLeaderBib:"var(--color-widget-label-primary)",plcLeaderText:"var(--color-widget-label-primary)",plcLeaderIcon:"var(--color-primary-on-light-200)",plcTableHeaderBg:"var(--color-grey-on-light-900)",plcTableHeaderText:"var(--color-widget-label-secondary)",plcTableHeaderBorder:"var(--color-widget-border-primary)",plcRowText:"var(--color-widget-label-primary)",plcRowBib:"var(--color-widget-label-primary)",plcRowClubText:"var(--color-widget-label-secondary)",plcRowIcon:"var(--color-primary-on-light-200)",plcRowDiv
1ider:"var(--color-widget-border-primary)",plcDropdownBg:"var(--color-grey-on-light-900)",plcDropdownBorder:"var(--color-widget-border-primary)",plcDropdownText:"var(--color-widget-label-primary)",plcFocusRing:"var(--color-primary-on-light-200)"},w={type:n.EQ,sport:n.Fn,project:x,matchId:null!=t?t:"",seasonIds:null!=l?l:[],startHeadingLevel:Number(d),playerStatsIds:(0,s.Gn)(c),playerDropdownStatsIds:(0,s.Gn)(u),cardBackgroundUrl:m,enableTeamLinks:h,enablePlayerLinks:g,teamUrlPattern:p,playerUrlPattern:v,showErrorMessage:f,showRetryButton:y,theme:{widget:{lightColors:b,darkColors:b}}};return(0,a.jsx)(r.m9,{...w})}},62358:(e,t,l)=>{"use strict";l.d(t,{default:()=>c});var a=l(95155),r=l(37566),o=l(51309),i=l(14233),n=l(17503),s=l(98412),d=l(3314);let c=e=>{let{seasonIds:t,matchId:l,competitionId:c,teamId:u,headerTitleHeadingLevel:m=r.v.h2,enableMatchLinks:h,matchUrlPattern:g,enableTeamLinks:p,teamUrlPattern:v,useTeamCode:f,useTeamCodeMobile:y,layout:x,columns:b,teamsToShow:w,qualificationOptions:j,showErrorMessage:N,showRetryButton:T,useDarkHeader:S,ctaTitle:A,ctaLink:P}=e,{SDP_PROJECT:k}=(0,o.V)(),C={title:"var(--color-widget-label-primary)",tableHeaderBg:"var(--color-grey-on-light-900)",tableHeaderText:"var(--color-widget-label-primary)",rowBg:"var(--color-grey-on-light-900)",rowMarker:"var(--color-widget-label-primary)",bgOverlay:"var(--color-grey-on-light-900)",rowText:"var(--color-widget-label-primary)",rowStatText:"var(--color-widget-label-primary)",rowStatTextInactive:"var(--color-widget-label-primary)",rowHighlightBg:"#BAA46933",rowTextHighlight:"var(--color-widget-label-primary)",rowStatTextHighlight:"var(--color-widget-label-primary)",rowStatTextInactiveHighlight:"var(--color-widget-label-primary)",goToBtn:"var(--color-widget-label-primary)"},I={type:i.tt,sport:i.Fn,project:k,seasonIds:null!=t?t:[],startHeadingLevel:Number(m),enableMatchLinks:h,matchUrlPattern:g,enableTeamLinks:p,teamUrlPattern:v,useTeamCode:f,useTeamCodeMobile:y,layout:x,useDarkHeader:S,showErrorMessage:N,showRetryButton:T,qualificationOptions:j?(0,s.SQ)(j):void 0,tabsConfig:{classifica:{competitionId:c,columns:(0,n.Gn)(b)},matchCentre:{matchId:null!=l?l:"",teamsToShow:w,columns:(0,n.Gn)(b),ctaUrl:P,ctaTextLabel:A},clubOverview:{teamId:u,columns:(0,n.Gn)(b),teamsToShow:w,ctaUrl:P,ctaTextLabel:A},tableOnly:{teamsToShow:w,columns:(0,n.Gn)(b)}},theme:{widget:{lightColors:C,darkColors:C}}};return(0,a.jsx)(d.FH,{...I})}},62401:()=>{},62557:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>g});var a=l(95155),r=l(81884),o=l(30231),i=l(82438),n=l(61541),s=l(31360),d=l(56396),c=l(30927),u=l(12115),m=l(33648),h=l(75889);let g=e=>{let{aspectRatio:t,cardSize:l,cardsType:g,cardsWidth:p="w-full",items:v,isAnimated:f=!1,removeFirstItem:y=!1,slidesPerView:x="auto",slidesPerGroupMobile:b=1,slidesPerGroupDesktop:w=1,centerInsufficientSlides:j=!0,colorSchemaKey:N=d.fs.light,spaceBetween:T=24,breakpoints:S,progressBarType:A="default"}=e,P=(0,u.useRef)(null),k=(0,u.useRef)(null),[C,I]=(0,u.useState)(!0),[L,F]=(0,u.useState)(!0),[B,E]=(0,u.useState)(!1),_=c.y[N].carouselCards,R=(0,u.useCallback)(()=>{k.current&&k.current.swiper.slidePrev()},[]),M=(0,u.useCallback)(()=>{k.current&&k.current.swiper.slideNext()},[]);(0,u.useEffect)(()=>{var e,t;let l=null==(e=k.current)?void 0:e.querySelectorAll(".swiper-slide");(null==(t=k.current)?void 0:t.offsetWidth)>=l[0].offsetWidth*l.length+T*(l.length-1)?(I(!0),E(!0)):(I(!1),E(!1)),window.addEventListener("resize",()=>{var e;(null==(e=k.current)?void 0:e.offsetWidth)>=l[0].offsetWidth*l.length+T*(l.length-1)?(I(!0),E(!0)):(I(!1),E(!1))})},[]);let D="auto"===x?4:x,U=(0,i.E)({paginationRef:P,handlePrev:R,handleNext:M,isBeginning:L,isEnd:C,navigationColor:_.navigation,progressColor:_.progress,paginationColor:_.pagination,type:A});return(0,a.jsxs)("div",{className:"carousel-cards",children:[(0,a.jsx)(m.IX,{slidesPerView:x,spaceBetween:T,breakpoints:S,resistanceRatio:0,ref:k,centerInsufficientSlides:j,className:"w-full overflow-visible",slidesPerGroup:(0,s.A)(k)?b:w,pagination:{el:P.current,type:"progressbar"},onBeforeInit:e=>{e.params.pagination.el=P.current},onSliderMove:e=>{0===e.progress?(F(!0),B&&I(!0)):1===e.progress?(F(!1),I(!0)):(I(!1),F(!1))},onProgress:e=>{0===e.progress?(F(!0),B?I(!0):I(!1)):1===e.progress?(F(!1),I(!0)):(I(!1),F(!1))},children:null==v?void 0:v.slice(+!!y,v.length).map((e,i)=>e&&(0,a.jsx)(m.qr,{className:(0,h.QP)("auto"===x?p:"w-auto","relative h-auto hover:z-10"),
1children:(0,a.jsx)(r.default,{isAnimated:f,delay:i<D?.1*i:.3,className:"flex h-full",children:(0,o.T)(g,{entity:e,size:l,aspectRatio:t,colorSchemaKey:N,hideDate:!1,isHorizontal:!1})})},(null==e?void 0:e.id)||i))}),(0,a.jsx)(n.A,{options:U})]})}},62951:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var a=l(95155),r=l(53323);let o=e=>{let{isFavorite:t,onToggle:l,ariaLabel:o,className:i,iconClassName:n}=e;return(0,a.jsx)(r.A,{variant:"link",icon:t?"HeartFilled":"Heart",onClick:l,className:i,iconClassName:n,"aria-label":null!=o?o:t?"Remove from favourites":"Add to favourites","aria-pressed":t,role:"button"})}},63033:(e,t,l)=>{"use strict";l.d(t,{default:()=>n});var a=l(51309),r=l(7114),o=l(12115);let i=null,n=e=>{let{widgetName:t,widgetElementId:l,commonScriptUrl:n,mainScriptUrl:s}=e,d=(0,o.useRef)(null),{SDP_WIDGET_FOLDER:c}=(0,a.V)(),u=()=>{var e,t,l;(null==d||null==(e=d.current)?void 0:e.parentNode)===document.head&&(null==(l=document)||null==(t=l.head)||t.removeChild(d.current))};return(0,o.useEffect)(()=>{let e=!1;return u(),((e,t)=>(i||(i=(async()=>{e&&await (0,r.Uc)(e,"sdp-widget-common-script"),t&&await (0,r.Uc)(t,"sdp-widget-main-script")})()),i))(n,s).then(()=>{var a,r;if(e)return;let o=document.createElement("script");o.src="".concat(c).concat(t,".bundle.js?wId=").concat(l),o.id="".concat(t,"_").concat(l),o.setAttribute("title",t),o.setAttribute("w-id",l),o.async=!0,null==(r=document)||null==(a=r.head)||a.appendChild(o),d.current=o}),()=>{e=!0,u()}},[t,l,n,s,c]),null}},63109:(e,t,l)=>{"use strict";l.d(t,{default:()=>p});var a=l(95155),r=l(96408),o=l(12115),i=l(30926);let n=(0,i.createServerReference)("409c2db6b497945ac719a7920b5cf1712fad84d0f6",i.callServer,void 0,i.findSourceMapURL,"azureSearchKeyPages");var s=l(56396),d=l(94659),c=l(45849),u=l(53323),m=l(84380),h=l(52259),g=l(65897);let p=e=>{let{initialAzureSearchOption:t,colorSchemaKey:l=s.fs.light,isAnimated:i=!1,itemsPerRow:p=3}=e,[v,f]=(0,o.useState)([]),[y,x]=(0,o.useState)(t),[b,w]=(0,o.useState)(!0),[j,N]=(0,o.useState)(!1),[T,S]=(0,o.useState)(0),A=(0,m.A)(),P=(0,o.useCallback)((e,t)=>{S((0,r.gt)(y,e,t))},[y]),k=(0,o.useCallback)(async e=>{let t=await n(e);if(null==t?void 0:t.data){let e=[];null==t||t.data.items.map(t=>{let l={title:t.Title,thumbnail:{title:t.Title,templateUrl:t.Image},url:t.Url};e.push(l)}),j?f([...v,...e]):f(e),P(null==t?void 0:t.data.items,null==t?void 0:t.data.count),w(!1)}},[P]);(0,o.useEffect)(()=>{y&&(w(!0),k(y).then(e=>e))},[k,y]);let C=async()=>{if(w(!0),!T)return void h.A.log("SearchResultsForgeEntitiesView: No more pages to load",g.T.debug);x({...y,keyPagesPage:T}),N(!0)};return v&&v.length>0&&(0,a.jsxs)("div",{className:"relative flex flex-col gap-8",children:[(0,a.jsx)(c.A,{items:v,itemsPerRow:p,cardsType:d.A3.regular,cardSize:d.qJ.small,aspectRatio:d.Mc.ASPECT_16_9,colorSchemaKey:l,isAnimated:i,centerInsufficientItems:!0}),T?(0,a.jsx)("div",{className:"relative col-span-full flex h-11 justify-center",children:(0,a.jsx)(u.A,{text:A("load-more"),onClick:C,variant:"outline",rounding:"rounded",size:"large",disabled:b,isLoading:b})}):null]})}},63293:(e,t,l)=>{"use strict";l.d(t,{Yg:()=>o,qt:()=>r,wF:()=>a});let a="post_id",r="/post/",o="live_blog_post_id_path"},63408:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var a=l(95155),r=l(81884),o=l(81156),i=l(73881),n=l(83617),s=l(19433),d=l(12115),c=l(75889);let u=e=>{let{menuItems:t,colorSchema:l,isAnimated:u=!1}=e,m=(0,d.useRef)(null),h=(0,d.useCallback)(()=>{let e=m.current;if(!e)return;let t=e.querySelector('[aria-selected="true"]');t&&t.scrollIntoView({inline:"center",block:"nearest",behavior:"smooth"})},[]);(0,d.useEffect)(()=>{h()},[h]);let g=null==t?void 0:t.filter(e=>null==e?void 0:e.visible);return(null==g?void 0:g.length)?(0,a.jsx)("div",{className:(0,c.QP)("flex w-full",null==l?void 0:l.background),children:(0,a.jsx)("div",{ref:m,className:"mx-auto flex w-auto flex-row items-center justify-start gap-0 overflow-x-auto bg-inherit px-4 py-4 whitespace-nowrap",children:null==g?void 0:g.map((e,t)=>{var m;let h=null==e?void 0:e.isActive;return(0,a.jsxs)(d.Fragment,{children:[(0,a.jsx)(r.default,{isAnimated:u,delay:.1*t,stagger:!0,children:(0,a.jsx)(o.default,{href:null==e?void 0:e.link,className:(0,
1c.QP)(null==l?void 0:l.text,h&&"".concat(null==l?void 0:l.activeMenu," px-4"),null==l?void 0:l.button),"aria-selected":h,role:"tab",tabIndex:0,children:(0,a.jsx)(n.Ay,{variant:n.PT["subtitle-4"],children:(0,a.jsx)(s.default,{translationTermKey:e.text})})})}),(0,a.jsx)(i.w,{condition:t<(null==g?void 0:g.length)-1,children:(0,a.jsx)("div",{className:(0,c.QP)("mx-4 h-4 w-[1px] opacity-50",(null==l||null==(m=l.text)?void 0:m.replace("text-","bg-"))||"bg-current")})})]},t)})})}):null}},64519:(e,t,l)=>{"use strict";l.d(t,{UserMenu:()=>g});var a=l(95155),r=l(11377),o=l(81156),i=l(29069),n=l(10253),s=l(85093),d=l(59758),c=l(31075),u=l(12115),m=l(83329),h=l(51309);let g=e=>{let{accountData:t,colorSchemaKey:l}=e,{AUTH0_DEBUG:g}=(0,h.V)(),{isAuthenticated:p,isFullyAuthenticated:v,logout:f,login:y,accountInitialsChars:x,isLoading:b,isTokenExchangeLoading:w,isUserInfoAfterTokenExchangeLoading:j,hasUserInfoAfterTokenExchange:N}=(0,n.A)();if("true"===g&&console.debug("Auth0 - UserMenu - useAuth params:",{_0_auth0:{loading:b,authenticated:p},_1_voltTokenExchange:{loading:w,exchanged:v},_2_userInfo:{loading:j,hasUserInfo:N}}),b||w||j)return(0,a.jsx)(m.A,{type:"dots",className:"size-8 gap-0.5",itemsClassName:"bg-white opacity-70 h-1.5 w-1.5"});let T=!b&&!p&&!v;return!T&&(T||N)?(0,a.jsxs)(r.rI,{children:[(0,a.jsx)(r.ty,{asChild:!0,children:(0,a.jsx)("button",{className:"flex cursor-pointer items-center justify-center rounded-md","aria-label":"User menu",children:(0,a.jsx)(i.H,{initials:x,colorSchemaKey:l})})}),(0,a.jsx)(r.SQ,{align:"end",className:"w-48 border border-gray-200 bg-white text-black shadow-lg",children:!!(null==t?void 0:t.length)&&(null==t?void 0:t.map((e,l)=>{var i;let n=(0,s.nB)(null==e||null==(i=e.properties)?void 0:i.data),c=(0,s.tf)(d.y.signOut,n);return(0,a.jsxs)(u.Fragment,{children:[(0,a.jsx)(r._2,{className:"w-full cursor-pointer text-gray-700 hover:bg-gray-100",onClick:e=>c?null==f?void 0:f():e.preventDefault(),children:(0,a.jsx)(o.default,{href:c?"#":null==e?void 0:e.link,className:"w-full",children:null==e?void 0:e.text})}),l<t.length-1&&(0,a.jsx)(r.mB,{})]},null==e?void 0:e.id)}))})]}):(0,a.jsx)(c.A,{colorSchemaKey:l,onClick:()=>y()})}},64976:()=>{},65926:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var a=l(95155),r=l(83617),o=l(67231),i=l(75889),n=l(56396),s=l(30927),d=l(19433),c=l(81884),u=l(85880);let m=e=>{var t,l,m,h;let{entity:g,downloadText:p="cta-download",className:v,colorSchemaKey:f=n.fs.light,isAnimated:y=!1,titleHeadingLevel:x,title:b}=e,w=s.y[f].document;return(null==g||null==(t=g.file)?void 0:t.downloadUrl)&&(0,a.jsx)(c.default,{isAnimated:y,delay:.2,children:(0,a.jsxs)("a",{"aria-label":"".concat((0,u.Tl)(p)," ").concat(null==g||null==(l=g.file)?void 0:l.originalFileName," ").concat(null==g||null==(m=g.file)?void 0:m.format),href:null==g||null==(h=g.file)?void 0:h.downloadUrl,className:(0,i.QP)("group flex min-h-28 items-center justify-center gap-2 rounded-2xl border px-4 py-6","transition delay-0 duration-300",w.border,w.text,w.background,w.hover,v),children:[(0,a.jsx)("div",{className:(0,i.QP)("box-content h-10 w-10 border-r-1 pe-2",w.divider),children:(0,o.a)("FileDownload")}),(0,a.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-2",children:[(b||(null==g?void 0:g.title))&&(0,a.jsx)(r.Ay,{as:x,variant:r.PT["subtitle-4"],className:(0,i.QP)("line-clamp-2 break-words text-current"),children:null!=b?b:null==g?void 0:g.title}),(0,a.jsx)(r.Ay,{as:"span",variant:r.PT["body-5"],className:"text-currents underline underline-offset-4",children:(0,a.jsx)(d.default,{translationTermKey:p})})]})]})})}},67148:(e,t,l)=>{"use strict";l.d(t,{Y:()=>D,A:()=>U});var a=l(95155),r=l(53323),o=l(88697),i=l(48467),n=l(3581),s=l(68663),d=l(81156),c=l(83617),u=l(7641),m=l(73881),h=l(95277),g=l(85880),p=l(62893),v=l(56396),f=l(18045),y=l(31794),x=l(24531);let b=async(e,t)=>{var l,a;let r=(0,y.sW)(e,x.uT);if(!(null==r?void 0:r.length))return null;let o=await (0,f.Z)(r,t);return(null==o||null==(l=o.data)?void 0:l.variables)&&(o.data.variables=w(e,o.data.variables)),null!=(a=null==o?void 0:o.data)?a:null},w=(e,t)=>Object.values([...e,...t].reduce((e,t)=>
1(e[t.key]=t,e),{}));var j=l(3418),N=l(75889),T=l(82252),S=l(16547),A=l(80497);let P=async(e,t)=>{if(!e)return null;try{var l;let a=await (0,A.$)(e,t);return null==a||null==(l=a.data)?void 0:l.items}catch(e){return console.error("Error fetching menu data:",e),null}};var k=l(19433),C=l(85093),I=l(24158),L=l(37575),F=l(64519),B=l(21905),E=l(20912),_=l(67231);let R=e=>{let{searchUrl:t,className:l}=e;return(0,a.jsx)(d.default,{href:t,title:(0,g.Tl)("search"),"aria-label":(0,g.Tl)("search"),className:(0,N.QP)("transition duration-300",l),children:(0,_.a)("Search")})};var M=l(32555),D=function(e){return e.hamburger="hamburger",e.primaryNavigation="primaryNavigation",e.logo="logo",e.secondaryNavigation="secondaryNavigation",e.serviceNavigation="serviceNavigation",e.accountNavigation="accountNavigation",e}({});let U=async e=>{var t,l,f,w,A,_,D,U,z,O,H,W,Q,G,V,K,q;let{data:J}=e;if((0,h.ZM)(J))return null;let{headerColorSchemaKey:X=v.fs.light,isTransparent:Y}=J,$=s.e[X],Z=null==J||null==(f=J.items)||null==(l=f.find(e=>(null==e?void 0:e.slot)==="serviceNavigation"))||null==(t=l.properties)?void 0:t.path,ee=null==J||null==(_=J.items)||null==(A=_.find(e=>(null==e?void 0:e.slot)==="primaryNavigation"))||null==(w=A.properties)?void 0:w.path,et=null==J||null==(z=J.items)||null==(U=z.find(e=>(null==e?void 0:e.slot)==="accountNavigation"))||null==(D=U.properties)?void 0:D.path,[el,ea,er,eo,ei]=await Promise.all([b(null!=(G=null==J?void 0:J.variables)?G:[],J.previewToken).catch(()=>null),(0,I.cb)(null==J||null==(O=J.properties)?void 0:O.logo).catch(()=>null),P(Z,null==J?void 0:J.previewToken),P(ee,null==J?void 0:J.previewToken),P(et,null==J?void 0:J.previewToken)]),en=null==el||null==(W=el.structure)||null==(H=W.items)?void 0:H.map(e=>({...e,slot:"hamburger"}));((e,t,l)=>{var a;return(0,T.UL)(null!=e?e:[],[{key:x.L_,type:S.Hj.KeyValue,keyValue:{valueType:S.aL.string,value:t}},{key:x.dc,type:S.Hj.KeyValue,keyValue:{valueType:S.aL.boolean,value:null!=(a=null==l?void 0:l.toString())&&a}}])})(null!=(V=null==el?void 0:el.variables)?V:[],X,Y);let es=en?(0,j._6)(en,"hamburger",null!=(K=null==el?void 0:el.variables)?K:[],null==el?void 0:el.metadata,null==J?void 0:J.previewToken):[],ed=(0,y.X9)(J.variables,x.Dp),ec=!!(null===E.o||void 0===E.o?void 0:E.o.FLAG_AUTH0_ENABLED)&&!ed,eu=!!(null===E.o||void 0===E.o?void 0:E.o.FLAG_AZURE_SEARCH_ENABLED)&&!!(null==J||null==(Q=J.properties)?void 0:Q.showSearch),em=null!=(q=(0,y.sW)(J.variables,M.M))?q:M.o;return(0,a.jsxs)("header",{id:"header",className:"header sticky top-0 z-50 w-full",children:[(0,a.jsx)(n.default,{}),(0,a.jsx)(m.w,{condition:(0,h.uo)(Y),children:(0,a.jsx)(i.HeaderScrollManager,{defaultColor:$.background,colorSchema:$,transparentClasses:$.transparentHeaderBackground})}),(0,a.jsx)("nav",{id:"header-nav",className:(0,N.QP)("flex flex-col justify-center",(0,h.uo)(Y)?"absolute right-0 left-0 transition-colors duration-200 ease-linear":$.background,(0,h.uo)(Y)?$.transparentHeaderText:$.text,(0,h.uo)(Y)&&$.transparentHeaderBackground),children:(0,a.jsxs)(o.A,{className:(0,N.QP)("grid grid-flow-row grid-cols-3 gap-4 md:items-center md:justify-between",x.QI),horizontalSpacing:p.jy.Container,removeSectionHtmlTag:!0,children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[es,(0,a.jsx)("div",{id:"primaryNavigation",className:"hidden justify-end lg:flex",children:(0,a.jsx)(m.w,{condition:!!eo,children:(0,a.jsx)("nav",{"aria-label":"Primary Navigation",className:"z-1 flex gap-6",children:(eo||[]).map((e,t)=>{var l,r;return(null==e?void 0:e.visible)&&(0,a.jsx)(d.default,{target:null!=(l=null==e?void 0:e.target)?l:"_self",className:(0,N.QP)(c.LR["subtitle-3"],(null==e?void 0:e.link)&&"hover:before:left-0 hover:before:w-full",'relative border-white text-white before:absolute before:top-6 before:left-1/2 before:h-[2px] before:w-0 before:bg-current before:transition-all before:duration-300 before:ease-in-out before:content-[""]'),href:null!=(r=null==e?void 0:e.link)?r:"",children:(0,a.jsx)(m.w,{condition:!!(null==e?void 0:e.text),children:(0,a.jsx)(k.default,{translationTermKey:null==e?void 0:e.text})})},t)})})})})]}),(0,a.jsx)("div",{id:"logo",className:"flex items-center justify-center",role:"presentation",children:(0,a.jsx)("div",{className:(0,N.QP)(x.nu),children:(0,a.jsx)(d.default,{href:"/","aria-label":(0,g.Tl)("nav-home"),title:(0,g.Tl)("nav-home"),children:(0,a.jsx)(u.default,{src:null==ea?void 0:ea.assetUrl,alt:"",transformations:L.N.default_assets,width:null==ea?void 0:ea.width,height:null==ea?void 0:ea.height,className:"h-full w-full object-contain"})})})}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-4",id:"accountNavigation",children:[(0,a.jsx)(m.w,{condition:eu,children:(0,a.jsx)("div",{className:"flex lg:hidden",children:(0,a.jsx)(R,{searchUrl:em,className:(0,N.QP)($.text,$.serviceNavigation,"h-6
1w-6")})})}),(0,a.jsx)(m.w,{condition:ec,children:(0,a.jsx)("div",{className:"flex lg:hidden",children:(0,a.jsx)(B.MobileUserMenu,{accountData:ei,colorSchemaKey:X})})}),(0,a.jsxs)("div",{className:"hidden items-center gap-4 lg:flex",children:[(0,a.jsx)("div",{id:"serviceNavigation",children:(0,a.jsx)(m.w,{condition:!!er,children:(0,a.jsx)("nav",{"aria-label":"Header Service Navigation",className:"z-1 flex gap-6",children:(er||[]).map((e,t)=>{var l,o,i,n;let s=null==e||null==(l=e.icon)?void 0:l.data,d=(0,C.nB)(null==e||null==(o=e.properties)?void 0:o.data),c=null==d?void 0:d.component;return(null==e?void 0:e.visible)&&(0,a.jsx)(r.A,{url:null==e?void 0:e.link,target:null!=(i=null==e?void 0:e.target)?i:"_self",text:null!=(n=null==e?void 0:e.text)?n:"",icon:s,size:"small",className:"border-white text-white",variant:"filled",rounding:"rounded",buttonType:c,disabled:!(null==e?void 0:e.link)},t)})})})}),(0,a.jsx)(m.w,{condition:eu||ec,children:(0,a.jsx)("div",{className:"h-[24px] w-[1px] bg-white/50 lg:mx-2"})}),(0,a.jsx)(m.w,{condition:eu,children:(0,a.jsx)(R,{searchUrl:em,className:(0,N.QP)($.text,$.serviceNavigation,"h-6 w-6")})}),(0,a.jsx)(m.w,{condition:ec,children:(0,a.jsx)(F.UserMenu,{accountData:ei,colorSchemaKey:X})})]})]})]})}),(0,a.jsx)("div",{className:(0,N.QP)("h-[3px]",$.borderGradient)})]})}},67353:(e,t,l)=>{"use strict";l.d(t,{A:()=>g});var a=l(95155),r=l(81884),o=l(53323),i=l(49701),n=l(19433),s=l(83617),d=l(85880),c=l(34993),u=l(73881),m=l(56396),h=l(75889);let g=e=>{let{ctaLink:t,ctaTitle:l,showCtaArrow:g=!1,icon:p="ChevronRight",colorSchemaKey:v=m.fs.light,headerTitle:f,headerTitleHeadingLevel:y,sponsorLabel:x,partnerEntity:b,hideHeaderTitle:w=!1,isAnimated:j=!1,ctaButtonVariant:N="outline"}=e;return f||t||l||b?(0,a.jsxs)("div",{className:"flex w-full items-center justify-between gap-4 lg:flex-wrap lg:gap-6",children:[(0,a.jsx)(u.w,{condition:!!f,children:(0,a.jsx)(r.default,{isAnimated:j,delay:0,from:c.E.HiddenFromLeft,className:"w-fit lg:flex-initial lg:shrink-0",children:(0,a.jsx)(s.Ay,{as:y,variant:s.PT.h2,className:(0,h.QP)(w&&"sr-only"),children:(0,a.jsx)(n.default,{translationTermKey:f})})})}),(0,a.jsx)(u.w,{condition:!!t&&!!l||!!b,children:(0,a.jsxs)("div",{className:"flex items-center justify-between gap-4 lg:grow lg:gap-6",children:[(0,a.jsx)(u.w,{condition:!!t&&!!l,children:(0,a.jsx)(r.default,{isAnimated:j,delay:.2,className:"shrink-0",from:c.E.HiddenFromRight,children:(0,a.jsx)(o.A,{url:t,rounding:"rounded",text:(0,d.Tl)(l),variant:N,size:"responsive",colorSchemaKey:v,icon:g?p:void 0})})}),(0,a.jsx)(u.w,{condition:!!b,children:(0,a.jsxs)("div",{className:"flex w-full items-center justify-end gap-4",children:[(0,a.jsx)(u.w,{condition:!!x,children:(0,a.jsx)(r.default,{isAnimated:j,delay:0,from:c.E.HiddenFromLeft,children:(0,a.jsx)(s.Ay,{variant:s.PT["subtitle-6"],children:(0,a.jsx)(n.default,{translationTermKey:x})})})}),(0,a.jsx)("div",{className:"relative w-15 lg:w-25",children:(0,a.jsx)(r.default,{delay:.2,isAnimated:j,className:"relative inset-0",from:c.E.HiddenFromRight,children:(0,a.jsx)(i.A,{entity:b||null})})})]})})]})})]}):null}},67785:(e,t,l)=>{"use strict";l.d(t,{J:()=>n,V:()=>i});var a=l(87358);let r=a.env.CULTURE,o=a.env.ENVIRONMENT;function i(e){if(!e||"string"!=typeof e)return"";let t=e.split("::");return t.length>0?t[t.length-1]:e}let n=(e,t,l,a,n)=>{e&&t&&l&&a.push({id:e,entity:{slug:t,id:i(e),...n?{...n}:{}},entityType:l,culture:r,environment:o})}},67838:(e,t,l)=>{"use strict";l.d(t,{HeroDynamicThumbsPortraitSmallView:()=>T});var a=l(95155),r=l(8397),o=l(74071),i=l(83617),n=l(75889),s=l(52579),d=l(93516),c=l(37575),u=l(81884),m=l(51309),h=l(82252),g=l(12115),p=l(7641),v=l(88697),f=l(84380),y=l(74540),x=l(74766),b=l(81156),w=l(82873),j=l(24531),N=l(62893);let T=e=>{let{slides:t,colorSchema:l=y.V.light,autoplayDuration:T=8,effect:S="slide",isAnimated:A=!1}=e,[P,k]=(0,g.useState)(0),[C,I]=(0,g.useState)(null),[L,F]=(0,g.useState)(null),B=(0,x.I)(),E=(0,g.useRef)(null),_=(0,f.A)(),{LANGUAGE:R}=(0,m.V)(),M=t;for(;M.length<12;)M=M.concat(t).concat(t);
1return(0,a.jsx)("div",{className:"relative h-[80vh] md:min-h-[700px]",children:(0,a.jsxs)("div",{className:"relative h-full",children:[(0,a.jsx)(s.RC,{a11y:{enabled:!0,nextSlideMessage:_("next-slide"),prevSlideMessage:_("prev-slide")},dir:(0,h.RQ)(R),style:{height:"100%","--swiper-pagination-bottom":"46px","--swiper-wrapper-transition-timing-function":"cubic-bezier(.62,-0.01,0,1.01)"},effect:B?"fade":S,modules:[d.WO,d._R],spaceBetween:0,slidesPerView:1,loop:!0,speed:750,centeredSlides:!1,simulateTouch:!1,followFinger:!1,thumbs:{swiper:L},updateOnWindowResize:!0,onSwiper:e=>{I(e)},children:M.map((e,t)=>{var d,u,m,h,g;return(0,a.jsx)(s.qr,{className:"group swiper-no-swiping",children:(0,a.jsx)(b.default,{href:e.url,title:e.title,"aria-label":e.title,children:(0,a.jsxs)("div",{className:"grid h-full w-full grid-cols-1 overflow-hidden",children:[e.thumbnail&&(0,a.jsx)("div",{className:(0,n.QP)("relative col-start-1 row-start-1 h-full w-full before:absolute before:z-10 before:block before:h-full before:w-full before:bg-linear-to-t before:from-[rgba(0,0,0,0.8)] before:content-['']"),children:(0,a.jsx)(p.default,{transformations:c.N.hero_background_image,className:"absolute inset-0 object-cover",src:null!=(g=null!=(h=null==(d=e.image)?void 0:d.templateUrl)?h:null==(u=e.thumbnail)?void 0:u.templateUrl)?g:"",alt:e.title,fill:!0,pictureClassName:"absolute inset-0"})}),(0,a.jsx)(v.A,{removeSectionHtmlTag:!0,horizontalSpacing:N.jy.Container,className:(0,n.QP)("absolute bottom-[160px] left-1/2 z-20 -translate-x-1/2 md:bottom-16 md:h-[267px]",j.HZ),children:(0,a.jsxs)("div",{className:(0,n.QP)(l.text,"ease-power-4 z-20 line-clamp-3 flex h-full flex-col justify-end gap-2 text-balance opacity-0 transition-all delay-100 duration-2000 group-[.swiper-slide-active]:-translate-y-0 group-[.swiper-slide-active]:opacity-100 md:w-2/5 lg:gap-4"),children:[(null==e||null==(m=e.context)?void 0:m.title)&&(0,a.jsx)(w.Ay,{badgeVariant:w.xU.radius,size:w.vj.large,className:"w-fit",children:e.context.title}),(0,a.jsx)(i.Ay,{variant:i.PT.h1,className:"line-clamp-3 text-balance",children:e.title}),(0,a.jsx)(i.Ay,{variant:i.PT["date-1"],children:(0,a.jsx)(o.default,{date:e.contentDate,dateType:r.r.standard})})]})})]})})},t)})}),M.length>1?(0,a.jsxs)("div",{"js-swiper-controller":"thumbs",className:(0,n.QP)("absolute bottom-6 z-10 w-full overflow-hidden px-4 md:bottom-14 md:left-[calc(50%_-_160px)] md:w-[calc(50%_+_160px)] md:[mask-image:linear-gradient(to_right,_transparent_0px,_black_210px)] md:px-0 md:[padding-inline-start:160px]"),children:[P>0&&(0,a.jsx)("button",{className:"absolute top-0 left-0 z-20 hidden h-full w-[160px] cursor-pointer md:block",onClick:()=>{null==L||L.slideToLoop(P-1),null==C||C.slideToLoop(P-1)},title:_("slide-to"),"aria-label":_("slide-to")}),(0,a.jsx)(u.default,{isAnimated:A,children:(0,a.jsx)(s.RC,{ref:E,onAutoplayTimeLeft:(e,t,l)=>{var a,r;let o=null==(r=E.current)||null==(a=r.swiper)?void 0:a.slides[e.activeIndex],i=null==o?void 0:o.querySelector(".hero-pagination__progress-bar");null==i||i.style.setProperty("--progress","".concat(1-l))},slidesPerView:"auto",spaceBetween:16,loop:!0,centeredSlides:!1,modules:[d.WO,d.Ij],watchSlidesProgress:!0,followFinger:!1,simulateTouch:!0,className:"overflow-visible",slideToClickedSlide:!1,keyboard:{enabled:!0,onlyInViewport:!0},autoplay:{delay:T<1?1e3:1e3*T,disableOnInteraction:!1},dir:(0,h.RQ)(R),updateOnWindowResize:!0,oneWayMovement:!1,observeParents:!0,onSlideChange:e=>{k(e.realIndex),C&&C.slideTo(e.realIndex)},onSwiper:e=>{F(e)},children:M.map((e,t)=>{var r,o,i,d;return(0,a.jsxs)(s.qr,{className:(0,n.QP)("group w-auto",l.thumbnailDecoration),onClick:()=>{null==L||L.slideToLoop(t),null==C||C.slideToLoop(t)},children:[(0,a.jsx)("div",{className:(0,n.QP)("transition-width ease-power-4 before:ease-power-4 relative z-10 h-[102px] w-[76px] cursor-pointer overflow-hidden rounded-md border-2 border-transparent delay-150 duration-500 group-[.swiper-slide-thumb-active]:z-20 group-[.swiper-slide-thumb-active]:border-current before:absolute before:top-0 before:left-0 before:z-1 before:h-full before:w-full before:bg-black before:opacity-50 before:transition-opacity before:duration-500 before:content-[''] group-[.swiper-slide-thumb-active]:before:opacity-0 hover:before:opacity-0 md:h-[267px] md:w-[200px]"),children:(0,a.jsx)(p.default,{transformations:c.N.image_portrait_small,src:null!=(d=null!=(i=null==(r=e.image)?void 0:r.templateUrl)?i:null==(o=e.thumbnail)?void 0:o.templateUrl)?d:"",alt:e.title,className:"h-full w-full object-cover"})}),(0,a.jsx)("div",{"aria-hidden":"true",className:"hero-pagination__progress-bar mt
1-4 h-[4px] w-full overflow-hidden rounded-lg bg-black/20 opacity-0 transition-all duration-500 group-[.swiper-slide-thumb-active]:opacity-100 md:bottom-[-16px]",children:(0,a.jsx)("div",{className:(0,n.QP)("hero-pagination__progress-bar-percent h-full w-full origin-top-left scale-x-[var(--progress)] transform-gpu bg-current")})})]},t)})})})]}):null]})})}},68271:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var a=l(95155),r=l(15239),o=l(75889),i=l(51309),n=l(54608),s=l(24531);let d=e=>{let{nationalityIsoCode:t,alt:l,fill:d=!1,width:c=24,height:u=24,className:m,transformation:h}=e,{CLOUDINARY_BASE_URL:g,ENVIRONMENT:p}=(0,i.V)(),v=h||n.q.w_120,f="".concat(g,"/").concat(v.transformation,"/").concat(p,"/").concat(s.nc,"/fallbacklogo.svg"),y="".concat(g,"/").concat(v.transformation,"/").concat(p,"/").concat(s.nc,"/").concat(t);return(0,a.jsx)(r.default,{fill:d,src:y,width:d?void 0:c,height:d?void 0:u,className:(0,o.QP)("object-contain object-center",m),alt:l||"Nationality Logo",onError:e=>{let t=e.target;t.src!==f&&(t.src=f)}})}},68704:()=>{},68935:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var a=l(95155),r=l(94940),o=l(35213);let i={"login-required":{title:"favorite-player-login-required-title",paragraph:"favorite-player-login-required-paragraph",confirmText:"favorite-player-login-required-confirm-cta",closeText:"favorite-player-login-required-cancel-cta"},remove:{title:"remove-favorite-player-modal-title",paragraph:"remove-favorite-player-modal-paragraph",confirmText:"remove-favorite-player-modal-confirm-cta",closeText:"remove-favorite-player-modal-cancel-cta"},add:{title:"add-favorite-player-modal-title",paragraph:"add-favorite-player-modal-paragraph",confirmText:"add-favorite-player-modal-confirm-cta",closeText:"add-favorite-player-modal-cancel-cta"}},n=e=>{let{pendingAction:t,confirmAction:l,cancelAction:n,isLoading:s,toast:d,colorSchemaKey:c}=e,u=t?i[t.type]:null;return(0,a.jsxs)(a.Fragment,{children:[t&&u&&(0,a.jsx)(o.A,{title:u.title,paragraph:u.paragraph,confirmText:u.confirmText,closeText:u.closeText,onClose:n,callback:l,colorSchemaKey:c,isLoading:s}),d.visible&&(0,a.jsx)(r.A,{title:d.title,type:d.type})]})}},69357:()=>{},69736:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233);let s=e=>{let{headerTitle:t,itemsToShow:l,ctaTitle:s,ctaLink:d,matchId:c,seasonIds:u,headerTitleHeadingLevel:m=o.v.h2,enableTeamLinks:h,enablePlayerLinks:g,teamUrlPattern:p,playerUrlPattern:v,showErrorMessage:f,showRetryButton:y}=e,{SDP_PROJECT:x}=(0,i.V)(),b={title:"var(--color-widget-label-primary)",ctaLink:"var(--color-widget-label-primary)",ctaBackground:"rgba(255, 255, 255, 0.1)",ctaBackgroundHover:"var(--color-widget-border-primary)",ctaBorder:"var(--color-widget-border-primary)",ctaChevron:"var(--color-widget-label-primary)",matchTime:"var(--color-widget-label-primary)",goalHomeBg:"var(--primary-on-light)",goalHomeText:"var(--color-widget-label-primary)",goalAwayBg:"var(--color-widget-label-primary)",goalAwayText:"var(--color-widget-background-tertiary)",commentary:"var(--color-widget-label-primary)",commentaryGoal:"var(--primary-on-light)",eventIcon:"var(--color-widget-label-primary)",noDataText:"var(--color-widget-label-secondary)",mainCardBackground:"var(--color-widget-background-tertiary)",mainCardBorder:"var(--color-widget-border-primary)",divider:"var(--color-widget-divider)",playerLink:"var(--color-widget-label-primary)",playerLinkHover:"var(--grey-on-light-300)",teamLink:"var(--color-widget-label-primary)",teamLinkHover:"var(--grey-on-light-300)"},w={type:n.A6,sport:n.Fn,project:x,matchId:null!=c?c:"",seasonIds:null!=u?u:[],ctaText:s,ctaLink:d,titleText:t,itemsToShow:l,startHeadingLevel:Number(m),enableTeamLinks:h,enablePlayerLinks:g,teamUrlPattern:p,playerUrlPattern:v,showErrorMessage:f,showRetryButton:y,theme:{widget:{lightColors:b,darkColors:b}}};return(0,a.jsx)(r.oW,{...w})}},69739:(e,t,l)=>{"use strict";l.d(t,{default:()=>i});var a=l(95155),r=l(68321),o=l(51309);let i=()=>{let{FANTASY_GAME_SCRIPT_URL:e}=(0,o.V)(),t="string"==typeof e?e:"";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{id:"wslf-classic-fantasy",className:"min-h-[600px]"}),t&&(0,a.jsx)(r.default,{id:"wslf-classic-fantasy-script",src:t,type:"module",strategy:"afterInteractive",crossOrigin:"anonymous"})]})}},69875:()=>{},69919:(e,t,l)=>{"use strict";l.d(t,{FootballWidgetsProvider:()=>s});var a=l(95155),r=l(51309),o=l(3314);let i={baseTypographies:{h1:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"3.5rem",lineHeight:"1.1",fontSizeMobile:"2.25rem"},h2:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"900",fontStyle:"normal",fontSize:"2.125rem",lineHeight:"1.1",fontSizeMobile:"1.75rem"},h3:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"1.875rem",lineHeight:"1.1",fontSizeMobile:"1.5rem"},h4:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"900",fontStyle:"normal",fontSize:"1.5rem",lineHeight:"1.1",fontSizeMobile:"1.125rem"},h5:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"1.25rem",lineHeight:"1.1",fontSizeMobile:"1rem"},h6:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"1rem",lineHeight:"1.1",fontSizeMobile:"0.875rem"},h7:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"0.875rem",lineHeight:"1.1",fontSizeMobile:"0.75rem"},subtitle1:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"1.5rem",lineHeight:"1.5",fontSizeMobile:"1.25rem"},subtitle2:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"1.25rem",lineHeight:"1.5",fontSizeMobile:"1.125rem"},subtitle3:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"1.125rem",lineHeight:"1.5",fontSizeMobile:"1rem"},subtitle4:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"1rem",lineHeight:"1.5",fontSizeMobile:"0.875rem"},subtitle5:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"0.875rem",lineHeight:"1.5",fontSizeMobile:"0.75rem"},subtitle6:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"0.75rem",lineHeight:"1.5",fontSizeMobile:"0.625rem"},nav1:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"1rem",lineHeight:"1.5",fontSizeMobile:"0.875rem"},nav2:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"0.875rem",lineHeight:"1.5",fontSizeMobile:"0.75rem"},nav3:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"0.75rem",lineHeight:"1.5",fontSizeMobile:"0.625rem"},body1:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"400",fontStyle:"normal",fontSize:"1.5rem",lineHeight:"1.5",fontSizeMobile:"1.25rem"},body2:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"400",fontStyle:"normal",fontSize:"1.25rem",lineHeight:"1.5",fontSizeMobile:"1.125rem"},body3:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"400",fontStyle:"normal",fontSize:"1.125rem",lineHeight:"1.5",fontSizeMobile:"1rem"},body4:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"400",fontStyle:"normal",fontSize:"1rem",lineHeight:"1.5",fontSizeMobile:"0.875rem"},body5:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"400",fontStyle:"normal",fontSize:"0.875rem",lineHeight:"1.5",fontSizeMobile:"0.75rem"},body6:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"400",fontStyle:"normal",fontSize:"0.75rem",lineHeight:"1.5",fontSizeMobile:"0.625rem"},quote:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"400",fontStyle:"italic",fontSize:"1.75rem",lineHeight:"1.5",fontSizeMobile:"1.375rem"},caption:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"500",fontStyle:"normal",fontSize:"0.875rem",lineHeight:"1.2",fontSizeMobile:"0.75rem"},date1:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"1rem",lineHeight:"1.2",fontSizeMobile:"0.875rem"},date2:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"0.875rem",lineHeight:"1.2",fontSizeMobile:"0.75rem"},date3:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"700",fontStyle:"normal",fontSize:"0.75rem",lineHeight:"1.2",fontSizeMobile:"0.625rem"},number1:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"400",fontStyle:"normal",fontSize:"1rem",lineHeight:"1.5",fontSizeMobile:"0.875rem"},number2:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"400",fontStyle:"normal",fontSize:"0.875rem",lineHeight:"1.5",fontSizeMobile:"0.75rem"},number3:{fontFamily:"var(--font-archivo), sans-serif",fontWeight:"400",fontStyle:"normal",fontSize:"0.75rem",lineHeight:"1.5",fontSizeMobile:"0.625rem"},uber1:{fontFamily:"var(--font-rg-ciron), sans-serif",fontWeight:"900",fontStyle:"italic",fontSize:"96px",lineHeight:"1.1",fontSizeMobile:"66
1px"},uber2:{fontFamily:"var(--font-rg-ciron), sans-serif",fontWeight:"900",fontStyle:"italic",fontSize:"6rem",lineHeight:"1.1",fontSizeMobile:"4.125rem"},uber3:{fontFamily:"var(--font-rg-ciron), sans-serif",fontWeight:"900",fontStyle:"italic",fontSize:"5.375rem",lineHeight:"1.1",fontSizeMobile:"3.5rem"},uber4:{fontFamily:"var(--font-rg-ciron), sans-serif",fontWeight:"900",fontStyle:"italic",fontSize:"2.625rem",lineHeight:"1.1",fontSizeMobile:"2.25rem"},uberLight1:{fontFamily:"var(--font-rg-ciron), sans-serif",fontWeight:"700",fontStyle:"italic",fontSize:"6rem",lineHeight:"1.1",fontSizeMobile:"4.125rem"},uberLight2:{fontFamily:"var(--font-rg-ciron), sans-serif",fontWeight:"700",fontStyle:"italic",fontSize:"5.375rem",lineHeight:"1.1",fontSizeMobile:"3.5rem"},uberLight3:{fontFamily:"var(--font-rg-ciron), sans-serif",fontWeight:"700",fontStyle:"italic",fontSize:"4.75rem",lineHeight:"1.1",fontSizeMobile:"2.875rem"},uberLight4:{fontFamily:"var(--font-rg-ciron), sans-serif",fontWeight:"700",fontStyle:"italic",fontSize:"2.625rem",lineHeight:"1.1",fontSizeMobile:"2.25rem"}}},n={brand:{primary:{main:"var(--primary-on-light)",mainOnBg:"var(--color-grey-on-light-0)",variant50:"var(--primary-100-on-light)",variant100:"var(--color-primary-on-light-100)",variant200:"var(--color-primary-on-light-200)",variant300:"var(--primary-300-on-light)",label:"var(--color-widget-label-primary)",inverse:"#FFFFFF"},secondary:{main:"var(--secondary-on-light)",mainOnBg:"var(--color-widget-label-primary)",variant50:"var(--color-secondary-on-light-50)",variant100:"var(--color-secondary-on-light-100)",variant200:"var(--color-secondary-on-light-200)",variant300:"var(--color-secondary-on-light-300)",label:"var(--color-widget-label-primary)"}}},s=e=>{let{children:t}=e,{SDP_API_URL_WITH_VERSION:l,CULTURE:s,SDP_IMAGERY_BASE_URL:d}=(0,r.V)(),c={baseTypographies:i.baseTypographies,lightColors:n,darkColors:n},u={lightColors:{brand:c.lightColors.brand},darkColors:{brand:c.darkColors.brand},baseTypographies:c.baseTypographies};return(0,a.jsx)(o.jX,{config:{locale:s,baseUrl:l,imageryBaseUrl:d,dark:!0,theme:u},children:t})}},70195:(e,t,l)=>{"use strict";l.d(t,{TallyFormEmbedView:()=>s});var a=l(95155),r=l(56396),o=l(12115),i=l(75889);let n="https://tally.so/widgets/embed.js",s=e=>{let{content:t,className:l,colorSchemaKey:s=r.fs.light,removeDefaultCSSClass:d=!1}=e,c=(0,o.useRef)(null),[u,m]=(0,o.useState)(!1);(0,o.useEffect)(()=>{m(!0)},[]),(0,o.useEffect)(()=>{if(!u||!c.current||!t)return;let e=c.current;e.innerHTML=t,t.includes("tally.so/embed")&&(h(e),g())},[u,t]);let h=e=>{e.querySelectorAll("iframe[data-tally-src]").forEach(e=>{let t=e.getAttribute("data-tally-src");t&&(e.src=t,e.removeAttribute("data-tally-src"))})},g=()=>{if(document.querySelector('script[src="'.concat(n,'"]')))return;let e=document.createElement("script");e.src=n,e.async=!0,document.head.appendChild(e)},p=(0,i.QP)("w-full",s,!d&&"html-content",l);return u?(0,a.jsx)("div",{ref:c,className:p}):(0,a.jsx)("div",{className:p,style:{minHeight:"400px"},children:"Loading..."})}},71789:(e,t,l)=>{"use strict";l.d(t,{An:()=>o,KL:()=>r,jd:()=>a});let a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:14,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:14,l=new Date;return{defaultStartDate:new Date(l.getTime()-24*e*36e5).toISOString().split("T")[0],defaultEndDate:new Date(l.getTime()+24*t*36e5).toISOString().split("T")[0]}},r={320:{slidesPerView:1.5,slidesPerGroup:1},480:{slidesPerView:2,slidesPerGroup:2},640:{slidesPerView:2.5,slidesPerGroup:2},768:{slidesPerView:3,slidesPerGroup:3},1024:{slidesPerView:3.5,slidesPerGroup:3},1280:{slidesPerView:4,slidesPerGroup:4},1440:{slidesPerView:5,slidesPerGroup:5},1920:{slidesPerView:5.5,slidesPerGroup:5}},o=e=>{if(!(null==e?void 0:e.length))return 0;let t=new Date().toISOString(),l=e=>{var t,l;return null==(t=(null==e||null==(l=e.fields)?void 0:l.matchData)||e)?void 0:t.matchDateUtc},a=-1;for(let r=0;r<e.length;r++){let o=l(e[r]);if(o){if(o>=t)return r;a=r}}return -1!==a?a:0}},72634:(e,t,l)=>{"use strict";l.d(t,{f:()=>a});var a=function(e){return e.CIRCLE="circle",e.CARD="card",e}({})},72645:()=>{},72670:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});
1var a=l(95155),r=l(56396),o=l(37575),i=l(12115),n=l(65926);let s=e=>{var t;let{entity:l,downloadText:s="cta-download",className:d,colorSchemaKey:c=r.fs.light,isAnimated:u=!1}=e,[m,h]=(0,i.useState)(null),[g,p]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{var e;h((0,o.W)(null==l||null==(e=l.file)?void 0:e.templateUrl,o.N.default_assets.desktop.transformation)),(/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&p(!0)},[l]),m)?(0,a.jsx)(a.Fragment,{children:!g&&(null==l||null==(t=l.file)?void 0:t.format.includes("pdf"))?(0,a.jsx)("iframe",{src:m,title:l.title,className:"aspect-16/9 w-full rounded-lg"}):(0,a.jsx)(n.A,{entity:l,downloadText:s,colorSchemaKey:c,isAnimated:u,className:d})}):null}},73015:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var a=l(95155),r=l(12115),o=l(83617),i=l(56396),n=l(78105),s=l(30927),d=l(60574),c=l(75889);let u={hidden:{opacity:0,y:10},visible:{opacity:1,y:0,transition:{duration:.4,ease:"easeInOut"}}},m=e=>{var t;let{colorSchemaKey:l=i.fs.light,className:m,items:h,ariaLabel:g="tabs",isAnimated:p=!1}=e,v=s.y[l].button,f=s.y[l].tabs,[y,x]=(0,r.useState)(h[0].trigger.value),b=(0,r.useRef)(null),w=(0,r.useRef)(null),j=()=>{if(b.current&&w.current){let e=b.current.querySelector('[data-state="active"]');if(e){let{offsetLeft:t,offsetWidth:l}=e;w.current.style.width="".concat(l,"px"),w.current.style.transform="translateX(".concat(t,"px)")}}};return((0,r.useEffect)(()=>{j();let e=((e,t)=>{let l;return function(){for(var a=arguments.length,r=Array(a),o=0;o<a;o++)r[o]=arguments[o];clearTimeout(l),l=setTimeout(()=>e(...r),t)}})(()=>{j()},100);return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[y]),1===h.length)?(0,a.jsx)(n.P.div,{className:"mt-4",initial:"hidden",animate:"visible",exit:"hidden",variants:p?u:{},children:h[0].content}):(0,a.jsxs)(d.bL,{className:(0,c.QP)("flex flex-col items-center justify-center",m),defaultValue:null==(t=h.find(e=>e.defaultValue))?void 0:t.trigger.value,onValueChange:x,ref:b,children:[(0,a.jsxs)(d.B8,{"aria-label":g,className:(0,c.QP)("relative inline-flex self-center rounded-full p-1",f.wrapper),children:[h.map((e,t)=>e&&(0,a.jsx)(d.l9,{className:(0,c.QP)("relative z-10 min-h-9.5 cursor-pointer rounded-full px-6 py-3 data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 lg:min-h-12",f.trigger,y===e.trigger.value&&v.default.filled),value:e.trigger.value,disabled:e.disabled,children:(0,a.jsx)(o.Ay,{variant:o.PT["navigation-2"],children:e.trigger.label})},t)),(0,a.jsx)("div",{className:(0,c.QP)("pointer-events-none absolute top-0 h-full p-1 transition-all duration-300"),ref:w,children:(0,a.jsx)("div",{className:(0,c.QP)(v.default.filled,"h-full w-full rounded-full")})})]}),h.map((e,t)=>e&&(0,a.jsx)(d.UC,{value:e.trigger.value,children:(0,a.jsx)(n.P.div,{initial:"hidden",animate:"visible",exit:"hidden",variants:p?u:{},children:e.content})},t))]})}},73261:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>i});var a=l(95155);l(9216);var r=l(56396),o=l(75889);let i=e=>{let{content:t,className:l,colorSchemaKey:i=r.fs.light,removeDefaultCSSClass:n=!1}=e;return(0,a.jsx)("div",{className:(0,o.QP)("w-full",i,!n&&"html-content",l||null),dangerouslySetInnerHTML:{__html:t||""}})}},73563:()=>{},74071:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>p});var a=l(95155),r=l(21001),o=l.n(r);let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e?(t||(t="YYYY/MM/DD HH:mm:ss"),l?o()(e).local().format(t):o()(e).utc(!1).format(t)):null},n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?(t||(t="DD"),o()(e).utc(!1).format(t)):null},s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?(t||(t="MMM"),o()(e).utc(!1).format(t)):null},d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?(t||(t="YYYY"),o()(e).utc(!1).format(t)):null};var c=l(82252),u=l(51309),m=l(84380),h=l(8397),g=l(9697);let p=e=>{var t,l,r,o,p,v,f,y,x,b,w,j,N;let{date:T,dateType:S,isLocalDate:A}=e,P=(0,m.A)(),{LANGUAGE:k}=(0,u.V)(),C=(0,c.Xi)(null!=k?k:""),I="";if(!T)return null;switch(S){case h.r.time:I=i(T,"h:mm A",A);break;case h.r.shortTime:I=i(T,"HH:mm",A);break;case h.r.day:I=n(T);break;case h.r.shortDay:I=i(T,"ddd");break;case h.r.shortMonth:I=P(null!=(l=null==(t=s(T))?void 0:t.toLowerCase())?l:"",g.t.short);break;case h.r.month:I=P(null!=(o=null==(r=s(T))?void 0:r.toLowerCase())?o:"");break;case h.r.year:I=d(T);break;case h.r.short:I=C?"".concat(P(null!=(v=null==(p=s(T))?void 0:p.toLowerCase())?v:"",g.t.short)," ").concat(d(T)," ").concat(n(T)):i(T,"DD MMM, YYYY");break;case h.r.standard:I=C?"".concat(P(null!=(y=null==(f=s(T))?void 0:f.toLowerCase())?y:"",g.t.short)," ").concat(d(T)," ").concat(n(T)):i(T,"DD/MM/YYYY");break;case h.r.shortStandard:I=C?"".concat(P(null!=(w=null==(x=s(T))?void 0:x.toLowerCase())?w:"",g.t.short)," ").concat(null==(b=d(T))?void 0:b.slice(-2)," ").concat(n(T)):i(T,"DD/MM/YY");break;default:I=C?"".concat(P(null!=(N=null==(j=s(T))?void 0:j.toLowerCase())?N:"")," ").concat(d(T)," ").concat(n(T)):i(T,"DD MMMM YYYY")}return I?(0,a.jsx)("time",{suppressHydrationWarning:!0,dateTime:T,children:I}):null}},74276:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233),s=l(17503);let d={title:"var(--color-grey-on-light-1000)",panelTitle:"var(--color-grey-on-light-1000)",dropdownText:"var(--color-grey-on-light-1000)",dropdownBorder:"var(--color-grey-on-light-300)",dropdownBorderHover:"var(--color-primary-on-light-200)",cardBg:"var(--color-grey-on-light-0)",cardBorder:"var(--color-grey-on-light-200)",bgTint:"var(--color-grey-on-light-100)",statCardBg:"var(--color-grey-on-light-0)",statCardBorder:"var(--color-grey-on-light-200)",statCardValueText:"var(--color-grey-on-light-1000)",statCardValueAccent:"var(--color-primary-on-light-200)",statCardLabelText:"var(--color-grey-on-light-400)",segmentFirst:"var(--color-primary-on-light-200)",segmentSecond:"var(--color-primary-on-light-300)",segmentThird:"var(--color-grey-on-light-200)",segmentLegendText:"var(--color-grey-on-light-400)",segmentLegendValue:"var(--color-grey-on-light-1000)",progressColor:"var(--color-primary-on-light-200)",progressBg:"var(--color-grey-on-light-200)",progressLabel:"var(--color-grey-on-light-1000)",circularProgressBg:"var(--color-grey-on-light-200)",segmentedCircleValue:"var(--color-primary-on-light-200)",segmentedCircleLabel:"var(--color-grey-on-light-400)",shotsAndAccuracyValue:"var(--color-grey-on-light-1000)",iconColor:"var(--color-primary-on-light-200)"},c={title:"var(--color-grey-on-light-0)",panelTitle:"var(--color-grey-on-light-0)",dropdownText:"var(--color-grey-on-light-0)",dropdownBorder:"var(--color-widget-border-primary)",dropdownBorderHover:"var(--color-primary-on-light-200)",cardBg:"var(--color-grey-on-light-900)",cardBorder:"var(--color-widget-border-primary)",bgTint:"var(--color-grey-on-light-800)",statCardBg:"var(--color-grey-on-light-900)",statCardBorder:"var(--color-widget-border-primary)",statCardValueText:"var(--color-grey-on-light-0)",statCardValueAccent:"var(--color-primary-on-light-200)",statCardLabelText:"var(--color-widget-label-secondary)",segmentFirst:"var(--color-primary-on-light-200)",segmentSecond:"var(--color-primary-on-light-300)",segmentThird:"var(--color-grey-on-light-700)",segmentLegendText:"var(--color-widget-label-secondary)",segmentLegendValue:"var(--color-grey-on-light-0)",progressColor:"var(--color-primary-on-light-200)",progressBg:"var(--color-grey-on-light-700)",progressLabel:"var(--color-grey-on-light-0)",circularProgressBg:"var(--color-grey-on-light-700)",segmentedCircleValue:"var(--color-primary-on-light-200)",segmentedCircleLabel:"var(--color-widget-label-secondary)",shotsAndAccuracyValue:"var(--color-grey-on-light-0)",iconColor:"var(--color-primary-on-light-200)"},u=e=>{let{playerId:t,seasonIds:l,headerTitleHeadingLevel:u=o.v.h2,cardBackgroun
1dUrl:m,componentConfig:h,showErrorMessage:g,showRetryButton:p}=e,{SDP_PROJECT:v}=(0,i.V)(),f={type:n.zO,sport:n.Fn,project:v,playerId:null!=t?t:"",seasonIds:null!=l?l:[],startHeadingLevel:Number(u),cardBackgroundUrl:m,componentConfig:(0,s.Gn)(h),showErrorMessage:g,showRetryButton:p,theme:{widget:{lightColors:d,darkColors:c}}};return(0,a.jsx)(r.$2,{...f})}},75144:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233),s=l(17503);let d=e=>{let{seasonIds:t,headerTitleHeadingLevel:l=o.v.h2,attackStatsToShow:d,defenseStatsToShow:c,generalStatsToShow:u,passesStatsToShow:m,enablePlayerLinks:h,enableTeamLinks:g,playerUrlPattern:p,teamUrlPattern:v,useDarkHeader:f,useDarkSecondarySections:y,showErrorMessage:x,showRetryButton:b,itemsToShow:w}=e,{SDP_PROJECT:j}=(0,i.V)(),N={title:"var(--color-widget-label-primary)",exploreTitle:"var(--color-widget-label-primary)",widgetBg:"var(--color-primary-on-light)",tabContainerBg:"var(--color-primary-on-dark)",tabContainerBorder:"var(--color-widget-border-primary)",tabActiveBg:"var(--color-primary-on-light-200)",tabActiveText:"var(--color-grey-on-light-900)",tabActiveBgHover:"var(--color-primary-on-light-200)",tabActiveBorder:"var(--color-primary-on-light-200)",tabInactiveText:"var(--color-grey-on-light-900)",filterBtnText:"#FFFFFF",filterBtnBorder:"var(--color-widget-border-primary)",filterBtnHoverBorder:"var(--color-primary-on-light-200)",dropdownText:"#FFFFFF",dropdownBorder:"var(--color-widget-border-primary)",dropdownHoverBorder:"var(--color-primary-on-light-200)",dropdownMenuBg:"var(--color-grey-on-light-900)",dropdownMenuBorder:"var(--color-widget-border-primary)",dropdownMenuItemText:"var(--color-widget-label-primary)",dropdownMenuItemHoverBg:"var(--color-grey-on-light-700)",tableContainerBg:"var(--color-grey-on-light-900)",noDataBg:"var(--color-grey-on-light-900)",noDataText:"var(--color-widget-label-secondary)",modalBackdrop:"rgba(0, 0, 0, 0.4)",modalBg:"var(--color-grey-on-light-900)",modalTitle:"var(--color-widget-label-primary)",modalCloseIcon:"var(--color-widget-label-primary)",modalDivider:"var(--color-widget-border-primary)",modalItemBg:"var(--color-grey-on-light-900)",modalItemHoverBg:"var(--color-grey-on-light-700)",modalItemText:"var(--color-widget-label-primary)",modalFooterBg:"var(--color-grey-on-light-800)",checkboxCheckedBg:"var(--color-primary-on-light-200)",checkboxBorder:"var(--color-widget-border-primary)",checkboxCheckmark:"var(--color-grey-on-light-900)",modalResetText:"var(--color-primary-on-light-200)",modalResetHoverText:"var(--color-primary-on-light-300)",tagBg:"var(--color-grey-on-light-700)",tagBorder:"var(--color-primary-on-light-200)",tagText:"var(--color-widget-label-primary)",tagRemoveIcon:"var(--color-widget-label-primary)",tagResetText:"var(--color-primary-on-light-200)",tagResetHoverText:"var(--color-primary-on-light-300)",tableBg:"var(--color-grey-on-light-900)",tableBorder:"var(--color-widget-border-primary)",tableRowBorder:"var(--color-widget-border-primary)",tableDivider:"var(--color-widget-border-primary)",tableShadowStart:"var(--color-grey-on-light-700)",tableRowText:"var(--color-widget-label-primary)",tableRowFavoriteBg:"var(--color-primary-on-light-200)",tableRowFavoriteText:"var(--color-grey-on-light-900)"},T={type:n.D1,sport:n.Fn,project:j,seasonIds:null!=t?t:[],startHeadingLevel:Number(l),playerUrlPattern:p,teamUrlPattern:v,enablePlayerLinks:h,enableTeamLinks:g,useDarkHeader:f,useDarkSecondarySection:y,showErrorMessage:x,showRetryButton:b,itemsToShow:w,tabsConfig:{defenseStatsToShow:(0,s.Gn)(c),attackStatsToShow:(0,s.Gn)(d),generalStatsToShow:(0,s.Gn)(u),passesStatsToShow:(0,s.Gn)(m)},theme:{widget:{lightColors:N,darkColors:N}}};return(0,a.jsx)(r.ko,{...T})}},75179:(e,t,l)=>{"use strict";l.d(t,{bd:()=>i,ks:()=>o,yA:()=>n});var a=l(44630),r=l(56396);async function o(e){try{let t=await (0,a.PK)({entityCode:r.aV.players}),l=null==t?void 0:t.find(t=>t.playerSlug===e);if(!l)return console.warn("Player entity not found for slug: ".concat(e)),null;return l}catch(e){return console.error("Error fetching player data:",e),null}}function i(e){let t=parseFloat(e);return isNaN(t)||t<=0?"n/a":"".concat((t/100).toFixed(2),"m")}function n(e){if(!e)return 0;let t=new Date(e);if(isNaN(t.getTime()))return 0;let l=new Date,a=l.getFullYear()-t.getFullYear(),r=l.getMonth()-t.getMonth();return(r<0||0===r&&l.getDate()<t.getDate())&&a--,a}},75649:(e,t,l)=>{"use strict";l.d(t,{Ek:()=>s,HL:()=>u,OQ:()=>d,_b:()=>c,sT:()=>m});
1var a=l(94659),r=l(56396),o=l(37575),i=l(83617);let n=[r.et.video,r.et.brightcoveVideo,r.et.divaVideo,r.et.jwPlayerVideo,r.et.youTubeVideo],s=(e,t)=>t&&n.includes(t)?a.A.play:e===r.ns.album?a.A.gallery:null,d=e=>{var t,l,a;if(!(null==e?void 0:e.entityCode)||!n.includes(e.entityCode))return null;let o=((e,t)=>{if(null==e||""===e)return null;if(t===r.et.youTubeVideo&&"string"==typeof e)return(e=>{if(!e)return null;let t=/^PT(?:(\d+)H)?(?:(\d+)M)?(?:(\d+(?:\.\d+)?)S)?$/.exec(e);if(!t)return null;let[,l="0",a="0",r="0"]=t,o=3600*Number(l)+60*Number(a)+Number(r);return o>0?o:null})(e);let l="number"==typeof e?e:Number(e);return!Number.isFinite(l)||l<=0?null:t===r.et.brightcoveVideo?l/1e3:l})(null!=(a=null==(t=e.fields)?void 0:t.duration)?a:null==(l=e.fields)?void 0:l.videoDuration,e.entityCode);return null===o?null:(e=>{if(!Number.isFinite(e)||e<=0)return null;let t=Math.floor(e),l=Math.floor(t/3600),a=Math.floor(t%3600/60),r=(t%60).toString().padStart(2,"0");if(l>0){let e=a.toString().padStart(2,"0");return"".concat(l,":").concat(e,":").concat(r)}return"".concat(a,":").concat(r)})(o)},c=e=>{var t,l,a,r;if(!e)return null;let o=null!=(a=null==e||null==(t=e.thumbnail)?void 0:t.templateUrl)?a:null==e||null==(l=e.image)?void 0:l.templateUrl;return(o||(o=null==e||null==(r=e.coverImage)?void 0:r.templateUrl),o)?o:null},u=e=>{switch(e){case a.Mc.ASPECT_1_1:return o.N.image_square_medium;case a.Mc.ASPECT_2_3:case a.Mc.ASPECT_3_4:case a.Mc.ASPECT_3_5:return o.N.image_portrait_medium;case a.Mc.ASPECT_3_2:case a.Mc.ASPECT_16_9:case a.Mc.ASPECT_4_3:return o.N.image_landscape_medium;default:return o.N.good_assets}},m=function(e,t,l){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return({[a.A3.fullImg]:{[a.Mc.ASPECT_1_1]:{[a.qJ.large]:{title:i.PT["subtitle-3"],date:i.PT["date-2"]},[a.qJ.small]:{title:i.PT["subtitle-4"],date:i.PT["date-2"]}},[a.Mc.ASPECT_2_3]:{[a.qJ.large]:{title:i.PT["subtitle-3"],date:i.PT["date-2"]},[a.qJ.small]:{title:i.PT["subtitle-4"],date:i.PT["date-2"]}},[a.Mc.ASPECT_3_2]:{[a.qJ.large]:{title:i.PT["subtitle-3"],date:i.PT["date-2"]},[a.qJ.small]:{title:i.PT["subtitle-4"],date:i.PT["date-2"]}},[a.Mc.ASPECT_3_4]:{[a.qJ.large]:{title:i.PT["subtitle-3"],date:i.PT["date-2"]},[a.qJ.small]:{title:i.PT["subtitle-4"],date:i.PT["date-2"]}},[a.Mc.ASPECT_3_5]:{[a.qJ.large]:{title:i.PT["subtitle-3"],date:i.PT["date-2"]},[a.qJ.small]:{title:i.PT["subtitle-4"],date:i.PT["date-2"]}},[a.Mc.ASPECT_4_3]:{[a.qJ.large]:{title:i.PT["subtitle-3"],date:i.PT["date-2"]},[a.qJ.small]:{title:i.PT["subtitle-4"],date:i.PT["date-2"]}},[a.Mc.ASPECT_16_9]:{[a.qJ.large]:{title:i.PT["subtitle-3"],date:i.PT["date-2"]},[a.qJ.small]:{title:i.PT["subtitle-4"],date:i.PT["date-2"]}}},[a.A3.regular]:{[a.Mc.ASPECT_1_1]:{[a.qJ.large]:{title:i.PT["subtitle-3"],date:r?i.PT["date-3"]:i.PT["date-1"]},[a.qJ.small]:{title:i.PT["subtitle-4"],date:i.PT["date-3"]}},[a.Mc.ASPECT_2_3]:{[a.qJ.large]:{title:r?i.PT["subtitle-5"]:i.PT["subtitle-3"],date:r?i.PT["date-3"]:i.PT["date-1"]},[a.qJ.small]:{title:r?i.PT["subtitle-5"]:i.PT["subtitle-4"],date:i.PT["date-3"]}},[a.Mc.ASPECT_3_2]:{[a.qJ.large]:{title:r?i.PT["subtitle-5"]:i.PT["subtitle-3"],date:r?i.PT["date-3"]:i.PT["date-1"]},[a.qJ.small]:{title:r?i.PT["subtitle-5"]:i.PT["subtitle-4"],date:i.PT["date-3"]}},[a.Mc.ASPECT_3_4]:{[a.qJ.large]:{title:r?i.PT["subtitle-5"]:i.PT["subtitle-3"],date:r?i.PT["date-3"]:i.PT["date-1"]},[a.qJ.small]:{title:r?i.PT["subtitle-5"]:i.PT["subtitle-4"],date:i.PT["date-3"]}},[a.Mc.ASPECT_3_5]:{[a.qJ.large]:{title:r?i.PT["subtitle-5"]:i.PT["subtitle-3"],date:r?i.PT["date-3"]:i.PT["date-1"]},[a.qJ.small]:{title:r?i.PT["subtitle-5"]:i.PT["subtitle-4"],date:i.PT["date-3"]}},[a.Mc.ASPECT_4_3]:{[a.qJ.large]:{title:r?i.PT["subtitle-5"]:i.PT["subtitle-3"],date:r?i.PT["date-3"]:i.PT["date-1"]},[a.qJ.small]:{title:r?i.PT["subtitle-5"]:i.PT["subtitle-4"],date:i.PT["date-3"]}},[a.Mc.ASPECT_16_9]:{[a.qJ.large]:{title:r?i.PT["subtitle-5"]:i.PT["subtitle-3"],date:r?i.PT["date-3"]:i.PT["date-1"]},[a.qJ.small]:{title:r?i.PT["subtitle-5"]:i.PT["subtitle-4"],date:i.PT["date-3"]}}}})[e][t][l]}},76468:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233);let s=e=>{let{ctaLink:t,matchId:l,seasonIds:s,showList:d,showTacticalOnly:c,showHeadshot:u,headerTitleHeadingLevel:m=o.v.h2,enableTeamLinks:h,enablePlayerLinks:g,teamUrlPattern:p,playerUrlPattern:v,showPlayerEvents:f,tacticalEventPlacement:y,useTeamAcronym:x,footballPitchShowBackgroun
1dImage:b,footballPitchBackgroundImageUrl:w,showErrorMessage:j,showRetryButton:N}=e,{SDP_PROJECT:T}=(0,i.V)(),S={bg:"var(--color-widget-background-tertiary)",headerText:"var(--color-widget-label-primary)",controlBg:"var(--color-widget-background-tertiary)",controlBorder:"var(--color-widget-border-primary)",pitchBg:"var(--color-grey-on-light-800)",pitchLine:"var(--color-grey-on-light-700)",homeAccentBg:"var(--color-primary-on-light-200)",homeAccentText:"var(--color-grey-on-light-900)",awayAccentBg:"var(--color-grey-on-light-100)",awayAccentText:"var(--color-grey-on-light-900)",playerHomeText:"var(--color-widget-label-primary)",playerAwayText:"var(--color-widget-label-primary)",separator:"var(--color-widget-border-primary)",avatarHomeBg:"var(--color-primary-on-light-200)",avatarHomeBorder:"var(--color-primary-on-light-200)",avatarAwayBg:"var(--color-grey-on-light-100)",avatarAwayBorder:"var(--color-grey-on-light-100)",btn:"var(--color-primary-on-light-200)",btnHover:"var(--color-primary-on-light-300)",teamCardBg:"var(--color-grey-on-light-700)",teamCardText:"var(--color-widget-label-primary)",teamCardDivider:"var(--color-widget-border-primary)",teamCardBadgeText:"var(--color-widget-label-primary)",teamCardHomeBorder:"var(--color-primary-on-light-200)",teamCardAwayBorder:"var(--color-grey-on-light-300)",coachText:"var(--color-widget-label-primary)",coachesTitle:"var(--color-widget-label-primary)",coachBorder:"var(--color-widget-border-primary)",coachBg:"var(--color-widget-background-tertiary)",tabText:"var(--color-widget-label-primary)",tabBg:"var(--color-grey-on-light-700)",tabListBg:"var(--color-grey-on-light-700)",tabActiveText:"var(--color-grey-on-light-900)",tabActiveBg:"var(--color-primary-on-light-200)",tabActiveBgHover:"var(--color-primary-on-light-200)",tabActiveBorder:"var(--color-primary-on-light-200)",playerAvatarBg:"var(--color-grey-on-light-800)",playerAvatarBorder:"var(--color-grey-on-light-100)",eventIconBg:"var(--color-widget-background-tertiary)",eventIconBorder:"var(--color-widget-border-primary)",eventIconText:"var(--color-primary-on-light-200)",noData:"var(--color-widget-label-secondary)"},A={type:n.ND,sport:n.Fn,project:T,matchId:null!=l?l:"",seasonIds:null!=s?s:[],showGoToLink:!!t,goToUrl:t,showPlayerAvatarBench:u,startHeadingLevel:Number(m),enableTeamLinks:h,enablePlayerLinks:g,teamUrlPattern:p,playerUrlPattern:v,showPlayerEvents:f,tacticalEventPlacement:y,useTeamAcronym:x,footballPitchShowBackgroundImage:b,footballPitchBackgroundImageUrl:w,showErrorMessage:j,showRetryButton:N,...{showBench:d?c:!c,showTacticalView:!d},theme:{widget:{lightColors:S,darkColors:S}}};return(0,a.jsx)(r.ly,{...A})}},78097:(e,t,l)=>{"use strict";l.d(t,{G8:()=>d,Nc:()=>o,kR:()=>s});var a=l(37575);let r=e=>(null!=e?e:"").split(",").map(e=>e.trim().toLowerCase()).filter(Boolean),o=e=>{let t=new Map;for(let d of null!=e?e:[]){var l,r,o,i,n,s;let e=null==d||null==(l=d.fields)?void 0:l.broadcasterName;if(!e)continue;let c=null==d||null==(o=d.fields)||null==(r=o.broadcasterLogo)?void 0:r.assetUrl;t.set(e.trim().toLowerCase(),{name:e,url:null!=(s=null==d||null==(n=d.fields)||null==(i=n.broadcasterLink)?void 0:i.url)?s:"",logo:c?(0,a.W)(c,a.N.best_assets.desktop.transformation):void 0})}return t},i=(e,t)=>{let l=t.get(e.toLowerCase());return(null==l?void 0:l.url)?{name:l.name,url:l.url,logo:l.logo}:null},n=(e,t)=>{var l;if(!e)return null;let a=null==(l=e.split("|")[0])?void 0:l.trim();return a?i(a,t):null},s=(e,t)=>e.map(e=>({...e,broadcasterData:((e,t)=>{var l,a;let o=e.editorial,s=[];for(let e of null!=(l=null==o?void 0:o.editorials)?l:[]){let l=null==e||null==(a=e.name)?void 0:a.trim();if(!l)continue;let o=i(l,t);o&&s.push({...o,countries:r(e.country)})}let d=null==o?void 0:o.broadcasters;return{geolocated:s,national:[n(null==d?void 0:d.broadcasterNational1,t),n(null==d?void 0:d.broadcasterNational2,t),n(null==d?void 0:d.broadcasterNational3,t)].filter(e=>null!==e),international:[n(null==d?void 0:d.broadcasterInternational1,t),n(null==d?void 0:d.broadcasterInternational2,t),n(null==d?void 0:d.broadcasterInternational3,t)].filter(e=>null!==e)}})(e,t)})),d=(e,t)=>{if(!e)return[];let l=t.toLowerCase(),a=e.geolocated.filter(e=>{var t;return null==(t=e.countries)?void 0:t.includes(l)});if(a.length)return a.slice(0,3);let{national:r,international:o}=e;return r.length||o.length?o.length?("gb"===l?r:[...r,...o]).slice(0,3):r.slice(0,3):[]}},78441:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var a=l(95155),r=l(15239),o=l(75889),i=l(67785),n=l(37575),s=l(54608),d=l(51309),c=l(24531);let u=e=>{let{clubId:t,alt:l,fill:u=!1,width:m=24,height:h=24,logoLight:g,className:p,transformation:v}=e,{CLOUDINARY_BASE_URL:f,ENVIRONMENT:y}=(0,d.V)(),x=v||s.q.w_120,b=g?(0,n.W)(g,x.transformation):"".concat(f,"/").concat(x.transformation,"/").concat(y,"/").concat(c.Eb,"/").concat((0,i.V)(t||""));return(0,a.jsx)(r.default,{fill:u,src:b,width:u?void 0:m,height:u?void 0:h,className:(0,o.QP)("object-contain object-center",p),alt:l||"Club Logo"})}},79058:(e,t,l)=>{"use strict";l.d(t,{default:()=>c});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233),s=l(98412),d=l(17503);let c=e=>{let{matchId:t,seasonIds:l,headerTitleHeadingLevel:c=o.v.h2,statsSlots:u,playerInformationStatsIds:m,playerSummaryStatsIds:h,playerWorkRateStatsIds:g,enableTeamLinks:p,enablePlayerLinks:v,teamUrlPattern:f,playerUrlPattern:y,cardBackgroun
1dUrl:x,defaultComparison:b="none",showErrorMessage:w,showRetryButton:j}=e,{SDP_PROJECT:N}=(0,i.V)(),T={"player-information":(0,d.Gn)(m),"player-passing-accuracy":["passing-accuracy-perc"],"player-summary":(0,d.Gn)(h),"player-movement":void 0,"player-work-rate":(0,d.Gn)(g)},S=(0,s.f)(T,u),A={title:"var(--color-widget-label-primary)",resetText:"var(--color-primary-on-light-200)",resetHoverText:"var(--color-primary-on-light-300)",playerCardText:"var(--color-widget-label-primary)",playerCardBorder:"var(--color-widget-border-primary)",playerCardBg:"var(--color-grey-on-light-900)",playerCardInnerShadow:"var(--color-grey-on-light-700)",playerCardInnerBorder:"var(--color-widget-border-primary)",selectText:"var(--color-widget-label-primary)",selectBackground:"var(--color-grey-on-light-1000)",selectBorder:"var(--color-widget-border-primary)",selectFocusBorder:"var(--color-primary-on-light-200)",selectItemHoverBg:"var(--color-grey-on-light-700)",comparisonTableTitle:"var(--color-widget-label-primary)",comparisonTableText:"var(--color-widget-label-primary)",comparisonTableDivider:"var(--color-widget-border-primary)",tableWinnerHomeBg:"var(--color-primary-on-light-200)",tableWinnerHomeText:"var(--color-grey-on-light-900)",tableWinnerAwayBg:"var(--color-grey-on-light-100)",tableWinnerAwayText:"var(--color-grey-on-light-900)",circularPanelTitle:"var(--color-widget-label-primary)",circularPanelIcon:"var(--color-widget-label-secondary)",circularProgressBackground:"var(--color-grey-on-light-700)",circularProgressText:"var(--color-widget-label-primary)",circularPanelHomeColor:"var(--color-primary-on-light-200)",circularPanelAwayColor:"var(--color-grey-on-light-100)",playerMovementTitle:"var(--color-widget-label-primary)",playerMovementIcon:"var(--color-widget-label-secondary)",playerMovementText:"var(--color-widget-label-primary)",segmentFirst:"#BAA469",segmentSecond:"rgba(186, 164, 105, 0.6)",segmentThird:"rgba(186, 164, 105, 0.3)",segmentFirstAway:"var(--color-grey-on-light-100)",segmentSecondAway:"var(--color-grey-on-light-300)",segmentThirdAway:"var(--color-grey-on-light-500)",segmentedCircleProgressBg:"var(--color-grey-on-light-700)",segmentedCircleValue:"var(--color-widget-label-primary)",segmentedCircleLabel:"var(--color-widget-label-secondary)",segmentedCircleText:"var(--color-widget-label-primary)",cardBg:"var(--color-grey-on-light-900)",cardBorder:"var(--color-widget-border-primary)",backgroundTint:"var(--color-grey-on-light-900)"},P={type:n.oK,sport:n.Fn,project:N,matchId:null!=t?t:"",seasonIds:null!=l?l:[],startHeadingLevel:Number(c),tabsConfig:S,enableTeamLinks:p,enablePlayerLinks:v,teamUrlPattern:f,playerUrlPattern:y,cardBackgroundUrl:x,defaultComparison:b,showErrorMessage:w,showRetryButton:j,theme:{widget:{lightColors:A,darkColors:A}}};return(0,a.jsx)(r.jy,{...P})}},80155:(e,t,l)=>{"use strict";l.d(t,{d:()=>r});var a=l(12115);let r=function(e){let{delay:t=300}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[l,r]=(0,a.useState)(e);return(0,a.useEffect)(()=>{let l=setTimeout(()=>{r(e)},t);return()=>{clearTimeout(l)}},[e,t]),l}},80497:(e,t,l)=>{"use strict";l.d(t,{$:()=>v});var a=l(95125),r=l(52259),o=l(65897),i=l(15058),n=l(87358);let s=n.env.CULTURE,d=n.env.ENVIRONMENT,c=n.env.PAGE_BUILDER_FRONTEND_API_SECRET,u="PAGE BUILDER FRONTEND API",m="{path}",h="{token}",g="api/v1/Menu?path=".concat(m,"&culture=").concat(s,"&environment=").concat(d),p="api/v1/Menu?path=".concat(m,"&culture=").concat(s,"&environment=").concat(d,"&token=").concat(h),v=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",l="";try{l=t?p.replace(m,e).replace(h,t):g.replace(m,e),r.A.log("Getting MENU STRUCTURE data from PAGE BUILDER FRONTEND API ".concat(l),o.T.debug),l=new URL(l,n.env.PAGE_BUILDER_FRONTEND_API_BASE_URL).href}catch(e){return(0,i.h)({response:e,apiName:u})}return await a.A.get(l,{headers:{Authorization:c}}).then(e=>(r.A.log("Retrieved MENU STRUCTURE data from PAGE BUILDER FRONTEND API ".concat(l,". ").concat(JSON.stringify(e.data)),o.T.debug),e.data)).catch(e=>(0,i.h)({response:e,apiName:u,apiUrl:l}))}},80652:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>i});var a=l(95155),r=l(12115),o=l(73881);let i=e=>
1{let{controls:t,autoplay:l,loop:i,srcMP4:n,srcWEBM:s,poster:d,playsInViewport:c,className:u,description:m}=e,h=(0,r.useRef)(null);return((0,r.useEffect)(()=>{if(!c||!h.current)return;let e=new IntersectionObserver(e=>{var t,l;let[a]=e;a.isIntersecting?null==(t=h.current)||t.play().catch(e=>{console.error("Error playing video:",e)}):null==(l=h.current)||l.pause()},{threshold:.5});return e.observe(h.current),()=>{e.disconnect()}},[c]),n)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("video",{ref:h,className:u,controls:t,autoPlay:!c&&l,loop:i,poster:d||void 0,playsInline:!0,muted:!0,children:[(0,a.jsx)("source",{src:n,type:"video/mp4"}),s&&(0,a.jsx)("source",{src:s,type:"video/webm"})]}),(0,a.jsx)(o.w,{condition:!!m,children:(0,a.jsx)("p",{className:"sr-only",children:m})})]}):null}},80767:(e,t,l)=>{"use strict";l.d(t,{E:()=>r});var a=l(30926);let r=(0,a.createServerReference)("7fcb58ebec73cf4d3f6a68625856518c331d8acc68",a.callServer,void 0,a.findSourceMapURL,"getSDPStandingsBySeasonIdAction")},81248:(e,t,l)=>{"use strict";l.d(t,{default:()=>L});var a=l(95155),r=l(32887),o=l(83617),i=l(75889),n=l(12115),s=l(56396);let d=(0,n.createContext)(s.fs.light),c=e=>{let{children:t,colorSchemaKey:l}=e;return(0,a.jsx)(d.Provider,{value:l,children:t})},u=()=>(0,n.useContext)(d);var m=l(30927);let h=e=>{let{title:t,keyMoments:l}=e,r=u(),n=m.y[r].liveBlogging;return(0,a.jsxs)("div",{className:"d3lb-sidebar",children:[t&&(0,a.jsx)(o.Ay,{className:(0,i.QP)("font-bold",null==n?void 0:n.keyMoments.title),variant:o.PT["subtitle-1"],children:t}),l&&(0,a.jsx)("ul",{className:"d3lb-sidebar__list",children:l.map(e=>(0,a.jsx)("li",{className:null==n?void 0:n.keyMoments.decoration,children:(0,a.jsxs)("button",{onClick:()=>e.handleClick(e.id,e.title),className:"text-left text-balance",children:[e.title&&(0,a.jsx)(o.Ay,{className:(0,i.QP)("block font-bold",null==n?void 0:n.keyMoments.title),variant:o.PT["subtitle-3"],children:e.title}),e.timestamp&&(0,a.jsx)(o.Ay,{variant:o.PT["date-3"],className:(0,i.QP)("mt-2 block font-bold",null==n?void 0:n.keyMoments.timestamp),children:(0,a.jsx)("time",{children:e.timestamp})})]})},e.id))})]})};var g=l(88697),p=l(62893);let v=e=>{let{loading:t,culture:l,showBlogDefinition:o,blogDefinitionHeaderProps:n,BlogHeader:s,showTimezoneSwitch:d,blogFiltersFields:c,renderBlogFiltersPart:h,keyMoments:v,renderKeyMomentsPart:f,renderPosts:y,renderPagination:x,renderBackToTop:b,renderUpdatedContent:w}=e,j=u(),N=m.y[j].liveBlogging;return(0,a.jsxs)("div",{className:(0,i.QP)(null==N?void 0:N.layout.background,t?"-loading":"","d3lb-culture-".concat(l)),children:[o&&(0,a.jsx)(s,{...n}),(0,a.jsxs)(g.A,{horizontalSpacing:p.jy.Container,removeSectionHtmlTag:!0,children:[d&&(0,a.jsx)("div",{className:"d3lb-page__time-filter",children:(0,a.jsx)(r.e6,{})}),c&&(0,a.jsx)("div",{className:"d3lb-page__filters",children:h()}),(0,a.jsx)("div",{className:"d3lb-page__container",children:(0,a.jsxs)("div",{className:"d3lb-page__wrapper",children:[v&&v.length>0&&(0,a.jsx)(a.Fragment,{children:f()}),(0,a.jsxs)("div",{className:"d3lb-page__posts",children:[y(),x()]})]})}),b(),w()]})]})};var f=l(67231);let y=e=>{var t,l;let{isSticky:r,properties:n,keyMoment:s,headerProps:d,footerProps:c,PostHeaderPart:h,PostFooterPart:g,PostTagsPart:p,parts:v,tags:y,renderPostPart:x}=e,b=u(),w=m.y[b].liveBlogging;return(0,a.jsx)("article",{className:(0,i.QP)("group/post w-full overflow-hidden",(null==n||null==(l=n.style)||null==(t=l.props)?void 0:t.highlighted_post)&&"blog-post-highlighted",r&&"blog-post-sticky"),children:(0,a.jsxs)("div",{className:(0,i.QP)(null==w?void 0:w.post.background,null==w?void 0:w.post.border,null==w?void 0:w.post.text,"flex flex-col gap-6 overflow-hidden p-8"),children:[d&&(0,a.jsx)("header",{className:"d3lb-post__header",children:(0,a.jsx)(h,{...d})}),s&&(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,f.a)("Star",{width:"100%",height:"100%",className:(0,i.QP)(null==w?void 0:w.keyMoments.decoration,"w-5")}),(0,a.jsx)(o.Ay,{className:(0,i.QP)(null==w?void 0:w.keyMoments.title),variant:o.PT["subtitle-3"],children:s.title})]}),v.length>0&&(0,a.jsx)("div",{className:"flex flex-col gap-3",children:x()}),y&&y.length>0&&(0,a.jsx)("div",{className:"d3lb-post__tags",children:(0,a.jsx)(p,{items:y})}),c&&(0,a.jsx)("footer",{className:"flex items-center justify-center",children:(0,a.jsx)(g,{...c})})]})})};l(9216);var x=l(64558);let b=e=>{let{content:t}=e,{text:l}=t;return(0,a.jsx)(o.Ay,{variant:o.PT["body-3"],as:"div",children:(0,a.jsx)("div",{className:"html-content text-inherit",dangerouslySetInnerHTML:{__html:(e=>e?x.xI.parse((e=>{let t=e.replace(/>/g,">");return(t=(t=(t=t.replace(/</g,"<")).replace(/"/g,'"')).replace(/'/g,"'")).replace(/&/g,"&")})(e)):"")(l)}})})},w=e=>{let{locale:t,timestamp:l}=e;return(0,a.jsx)("div",{className:"w-full",children:l&&t&&(0,a.jsx)(r.Dc,{timestamp:l,locale:t})})};var j=l(76123),N=l(32973);let T=e=>{let{timestamp:t,locale:l,isEventTime:r,offsetDate:n,showTimeFromNow:s,getDateFnsLocaleByCulture:d}=e,c=u(),h=m.y[c].liveBlogging;return(0,a.jsx)("div",{children:(0,a.jsx)("time",{dateTime:t,className:"flex items-center gap-4",children:s()?(0,a.jsx)(o.Ay,{variant:o.PT.h3,className:(0,i.QP)(null==h?void 0:h.post.timestampTime,"block border-b-2 border-current pb-3"),children:(0,j.m)(r?n:t,{locale:d(l)})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.Ay,{variant:o.PT.h3,className:(0,i.QP)(null==h?void 0:h.post.timestampTime,"block border-b-2 border-current pb-3"),children:(0,N.GP)(r?n:t,"p",{locale:d(l)})}),(0,a.jsx)(o.Ay,{variant:o.PT["date-1"],className:(0,i.QP)(null==h?void 0:h.post.timestampDate,"block pb-3"),children:(0,N.GP)(r?n:t,"PP",{locale:d(l)})})]})})})},S=e=>{var t;let{content:l,config:i}=e,n=(null==l?void 0:l.description)||(null==l?void 0:l.headline)||(null==l?void 0:l.summary)||(null==l||null==(t=l.fields)?void 0:t.description)||"",s=()=>{var e,t,s;return(0,a.jsxs)("div",{className:"d3lb-forge__inner",children:[(null==l?void 0:l.title)&&(0,a.jsx)(o.Ay,{variant:o.PT["subtitle-3"],children:l.title}),(0,a.jsxs)("picture",{children:[(0,a.jsx)("source",{media:"(min-width:650px)",srcSet:(0,r.sU)((0,r.hk)(l),(0,r.gV)("forgepart_customentity","tablet",null!=(e=null==i?void 0:i.photoFormats)?e:r.S3))}),(0,a.jsx)("source",{media:"(min-width:465px)",srcSet:(0,r.sU)((0,r.hk)(l),(0,r.gV)("forgepart_customentity","mobile",null!=(t=null==i?void 0:i.photoFormats)?t:r.S3))}),(0,a.jsx)("img",{src:(0,r.sU)((0,r.hk)(l),(0,r.gV)("forgepart_customentity","de
1sktop",null!=(s=null==i?void 0:i.photoFormats)?s:r.S3)),alt:l.title,loading:"lazy",className:"rounded-xl"})]}),n&&(0,a.jsx)(o.Ay,{variant:o.PT["body-3"],children:(0,a.jsx)("div",{className:"html-content text-inherit",dangerouslySetInnerHTML:{__html:(e=>e?x.xI.parse((e=>{let t=e.replace(/>/g,">");return(t=(t=(t=t.replace(/</g,"<")).replace(/"/g,'"')).replace(/'/g,"'")).replace(/&/g,"&")})(e)):"")(n)}})})]})};return(0,a.jsx)("div",{className:"d3lb-forge",children:(null==l?void 0:l.url)?(0,a.jsx)("a",{href:String(l.url),target:"_blank",rel:"noreferrer",children:s()}):s()})},A=e=>{var t,l,o;let{config:i,content:n}=e,{src:s,formatName:d,caption:c,showCaption:u,showCopyRight:m,copyright:h}=(0,r.MU)(i,n);return(0,a.jsxs)("figure",{children:[u&&c&&(0,a.jsx)("div",{className:"d3lb-media__caption",children:c}),s&&(0,a.jsx)("div",{className:"d3lb-media__asset",children:(0,a.jsxs)("picture",{children:[(0,a.jsx)("source",{media:"(min-width:650px)",srcSet:(0,r.sU)(s,(0,r.gV)(d,"tablet",null!=(t=null==i?void 0:i.photoFormats)?t:r.S3))}),(0,a.jsx)("source",{media:"(min-width:465px)",srcSet:(0,r.sU)(s,(0,r.gV)(d,"mobile",null!=(l=null==i?void 0:i.photoFormats)?l:r.S3))}),(0,a.jsx)("img",{src:(0,r.sU)(s,(0,r.gV)(d,"desktop",null!=(o=null==i?void 0:i.photoFormats)?o:r.S3)),alt:c,loading:"lazy"})]})}),m&&h&&(0,a.jsx)("div",{className:"d3lb-media__copyright",children:h})]})},P=e=>{var t;let{config:l,content:o}=e,{src:i,formatName:n,caption:s,showCaption:d,showCopyRight:c,copyright:u}=(0,r.MU)(l,o),m="".concat((0,r.sU)(i,(0,r.gV)(n,"desktop",null!=(t=null==l?void 0:l.videoFormats)?t:r.DU)),"#t=0.001");return(0,a.jsxs)("figure",{children:[d&&s&&(0,a.jsx)("div",{className:"d3lb-media__caption",children:s}),i&&(0,a.jsx)("div",{className:"d3lb-media__asset",children:(0,a.jsx)("video",{controls:!0,tabIndex:0,src:m,"aria-label":s||"Video player",onKeyDown:e=>{if("Space"===e.code||"Enter"===e.code){e.preventDefault();let t=e.currentTarget;t.paused?t.play():t.pause()}},children:(0,a.jsx)("track",{kind:"captions"})})}),c&&u&&(0,a.jsx)("div",{className:"d3lb-media__copyright",children:u})]})};var k=l(84525);let C=e=>{let{back_to_top_label:t}=e,l=u();return(0,a.jsx)(k.default,{backToTopLabel:t,colorSchemaKey:l})},I=e=>{let{content:t,config:l}=e,{html:r,provider_name:o}=t,{lastUpdateDate:i}=l;return(0,n.useEffect)(()=>{[{name:"X",slug:"x",script:"https://platform.x.com/widgets.js"},{name:"Instagram",slug:"instgrm",script:"https://www.instagram.com/embed.js"},{name:"TikTok",slug:"tiktok",script:"https://www.tiktok.com/embed.js"},{name:"Facebook",slug:"facebook",script:"https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v19.0"}].forEach(e=>{let t="".concat(e.slug,"-embed");if(!document.getElementById(t)){let l=document.createElement("script");l.id=t,l.src=e.script,l.async=!0,document.body.appendChild(l)}if("Instagram"==o&&window.instgrm&&window.instgrm&&window.instgrm.Embeds.process(),("Twitter"==o||"X"==o)&&window.twttr&&window.twttr&&window.twttr.widgets.load(),"Facebook"==o&&window.FB&&window.FB&&window.FB.XFBML.parse(),"TikTok"==o&&window.tiktokEmbed){let e=Array.from(document.querySelectorAll("blockquote.tiktok-embed")).filter(e=>!e.querySelector("iframe"));window.tiktokEmbed&&window.tiktokEmbed.lib.render(e)}})},[o,i]),(0,a.jsx)("div",{className:"d3lb-embed",children:(0,a.jsx)("div",{className:"d3lb-embed__wrapper d3lb-embed__wrapper--".concat(o),dangerouslySetInnerHTML:{__html:r}})})};l(14933);let L=e=>{let{blogData:t,colorSchemaKey:l,moduleId:o}=e,[s,d]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{void 0!==window&&d(!0)}),s?(0,a.jsx)(c,{colorSchemaKey:l,children:(0,a.jsx)("div",{className:(0,i.QP)("LiveBloggingMatchCenter"===o&&"custom-styles","custom-vars",l),children:(0,a.jsx)(r.x0,{...t,customizations:"LiveBloggingMatchCenter"===o?{postParts:{text:(0,n.memo)(b),"media-gif":(0,n.memo)(A),"media-video":(0,n.memo)(P),"forge-story":(0,n.memo)(S),"forge-divavideo":(0,n.memo)(S),"forge-youtubevideo":(0,n.memo)(S),"forge-brightcovevideo":(0,n.memo)(S),"forge-jwplayervideo":(0,n.memo)(S),"forge-photo":(0,n.memo)(S),"forge-promo":(0,n.memo)(S),"forge-album":(0,n.memo)(S),oembed:(0,n.memo)(I)},layout:v,post:y,postHeader:w,keyMoments:h,backToTop:C,timestamp:T}:null,disableCSSContext:"LiveBloggingMatchCenter"===o})})}):null}},81287:(e,t,l)=>{"use strict";l.d(t,{default:()=>f});var a=l(95155),r=l(15239),o=l(12115),i=l(75889),n=l(52259),s=l(65897),d=l(53323),c=l(7641),u=l(67231),m=l(73881),h=l(37575),g=l(19433),p=l(19378),v=l(83617);let f=e=>{var t,l,f,y,x,b,w,j,N;let{entity:T,rankPosition:S,imageClassName:A="w-full h-auto",pictureClassName:P="block w-[60
1px] lg:w-[72px]"}=e,k=(0,p.s3)(null==T?void 0:T.theming,null==T?void 0:T.primaryColor),C=(0,o.useMemo)(()=>(0,p.Wt)(k,null==T?void 0:T.teamSlug),[k,null==T?void 0:T.teamSlug]);return T?(0,a.jsxs)("div",{className:"club-card bg-primary-on-light-200 flex h-full max-h-56 w-full flex-col justify-between overflow-hidden rounded-lg lg:w-[342px]",style:{backgroundColor:k.backgroundColor},children:[(0,a.jsx)("div",{className:"absolute inset-0 z-0 flex h-[900px] max-h-[1382px] w-[900px] max-w-[1382px] items-center justify-center overflow-hidden lg:h-full lg:w-full",children:(0,a.jsx)(r.default,{fill:!0,src:C.src,alt:C.alt,className:(0,i.QP)(C.className,"h-full w-full -translate-x-1/2 object-cover object-center lg:-translate-x-0")})}),(0,a.jsxs)("div",{className:"relative z-10 p-4 lg:p-6",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,a.jsx)(c.default,{className:A,alt:null!=(N=null==T?void 0:T.officialName)?N:"",pictureClassName:P,src:(null==T?void 0:T.logoLight)||(null==T?void 0:T.logo)||"",transformations:h.N.club_card}),(0,a.jsxs)("div",{children:[(0,a.jsx)(v.Ay,{variant:v.PT.h4,className:(0,i.QP)(k.isLight?"text-black":"text-white"),children:null==T?void 0:T.officialName}),(0,a.jsx)(m.w,{condition:!!S,children:(0,a.jsxs)("div",{className:"mt-1 flex items-center gap-4",children:[(0,a.jsx)(v.Ay,{variant:v.PT["body-5"],className:(0,i.QP)(k.isLight?"text-black":"text-white"),children:(0,a.jsx)(g.default,{translationTermKey:"sport-team-position"})}),(0,a.jsx)(v.Ay,{variant:v.PT.h5,className:(0,i.QP)(k.isLight?"text-black":"text-white"),children:S})]})})]})]}),(0,a.jsxs)("div",{className:"mt-5 flex items-center justify-between gap-2",children:[(0,a.jsx)(v.Ay,{variant:v.PT["subtitle-5"],className:(0,i.QP)("flex-auto shrink grow-0",k.isLight?"text-black":"text-white"),children:null==T||null==(t=T.stadium)?void 0:t.name}),(0,a.jsxs)(v.Ay,{className:(0,i.QP)(k.isLight?"text-black":"text-white",k.isLight?"border-grey-on-light-1000/20":"border-grey-on-dark-1000/50","flex flex-auto shrink-0 grow-0 items-center justify-center gap-1 rounded-[40px] border px-3 py-1.5"),variant:v.PT["subtitle-5"],children:[(0,u.a)("MapPin",{className:(0,i.QP)("shrink-0 size-4.5 rtl:-scale-x-100",k.isLight?"text-black":"text-white")}),(0,a.jsx)("span",{className:"max-w-32 shrink-0 grow text-ellipsis",children:null==T||null==(l=T.stadium)?void 0:l.city})]})]})]}),(0,a.jsxs)("div",{className:"bg-grey-on-dark-0/30 relative z-10 flex h-9.5 items-center justify-between gap-2 px-4 py-1",children:[(0,a.jsx)(d.A,{size:"small",variant:"link",target:"_self",text:"club-profile",icon:"ChevronRight",className:"grow text-white",url:(null==T?void 0:T.teamUrl)||"",popover:null==T?void 0:T.officialName}),(0,a.jsx)("div",{className:"bg-grey-on-dark-1000/50 h-4.5 w-[1px]"}),(0,a.jsx)(d.A,{size:"small",variant:"link",icon:"ArrowUpRight",className:"grow text-white",url:null==T||null==(y=T.links)||null==(f=y.ticketLink)?void 0:f.url,text:null==T||null==(b=T.links)||null==(x=b.ticketLink)?void 0:x.displayText,target:(null==T||null==(j=T.links)||null==(w=j.ticketLink)?void 0:w.openInNewTab)?"_blank":"_self"})]})]}):(n.A.log("Cannot render Club entity is empty",s.T.warning),null)}},81884:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>v});var a=l(95155),r=l(12115),o=l(74766),i=l(78105),n=l(75889),s=l(34993),d=l(82252),c=l(51309),u=l(49938);let m={hiddenFromTop:{opacity:0,y:"-40px"},hiddenFromBottom:{opacity:0,y:"40px"},hiddenFromLeft:{opacity:0,x:"-40px"},hiddenFromRight:{opacity:0,x:"40px"},maskedFromBottom:{clipPath:"polygon(0 100%, 100% 100%, 100% 100%, 0 100%)"},scaleFromTop:{opacity:0,y:"40px",scale:.7},scaleFromBottom:{opacity:0,y:"40px",scale:.7},scaleFromLeft:{opacity:0,x:"-40px",scale:.7},scaleFromRight:{opacity:0,x:"40px",scale:.7},visibleFromHidden:{opacity:1,y:0,x:0,scale:1},visibleFromMasked:{clipPath:"polygon(0 0, 100% 0, 100% 100%, 0 100%)"}},h=[.16,1,.3,1],g=e=>e===s.E.MaskedFromBottom?"visibleFromMasked":"visibleFromHidden",p=e=>{let{as:t,ref:l,children:p,delay:v=.1,duration:f=1,from:y=s.E.HiddenFromBottom,isAnimated:x=!1,className:b,forceAnimation:w=!1,stagger:j=!1,...
1N}=e,{LANGUAGE:T}=(0,c.V)(),S=(0,r.useRef)(null),A=(0,u.s)(S,l),[P,k]=(0,r.useState)(!1),C=(0,o.I)(),I=null!=t?t:"div",L=(0,r.useMemo)(()=>i.P.create(I),[I]);(0,r.useEffect)(()=>{if(!j||!S.current)return;let e=S.current.getBoundingClientRect(),t=window.innerHeight||document.documentElement.clientHeight,l=window.innerWidth||document.documentElement.clientWidth;k(e.top<t&&e.bottom>0&&e.left<l&&e.right>0)},[j]);let F=y;F===s.E.HiddenFromLeft&&(F=(0,d.Xi)(null!=T?T:"")?s.E.HiddenFromRight:s.E.HiddenFromLeft),F===s.E.HiddenFromRight&&(F=(0,d.Xi)(null!=T?T:"")?s.E.HiddenFromLeft:s.E.HiddenFromRight),C&&(F=s.E.Visible);let B=j?P?v:.1:v;return x?(0,a.jsx)(L,{ref:A,variants:m,transition:{duration:f,ease:h,delay:B},initial:F,animate:w&&g(F),whileInView:g(F),viewport:{once:!0},className:(0,n.QP)("transform-gpu",b),...N,children:F===s.E.MaskedFromBottom?(0,a.jsx)(i.P.div,{initial:{scale:1.5,opacity:.8,transformOrigin:"bottom"},transition:{duration:2*f,ease:h,delay:B+.1},viewport:{once:!0},whileInView:{scale:1,opacity:1},children:p}):p}):(0,a.jsx)(I,{ref:A,className:b,...N,children:p})};p.displayName="Reveal";let v=p},82252:(e,t,l)=>{"use strict";l.d(t,{UL:()=>u,WD:()=>m,RQ:()=>h,Xi:()=>g});var a=l(16547);l(30699);var r=l(18045);l(85880),l(30672),l(37575);l(60);l(220);var o=l(20063),i=l(31794);l(63293),l(56396),l(44630),l(34597);l(91312),l(38495);l(75179);l(87358);let n=async(e,t,l)=>{if(null==e?void 0:e.length)for(let a of e)await s(a,t,l)},s=async(e,t,l)=>{e&&((e.type===PageStructureItemType.template||e.type===PageStructureItemType.layout)&&await n(e.items,t,l),e.type===PageStructureItemType.module&&await d(e,e.key.id,t,l))},d=async(e,t,l,a)=>{var r,o;((null==e||null==(r=e.properties)?void 0:r.preventSettingMetadata)===void 0||(null==e||null==(o=e.properties)?void 0:o.preventSettingMetadata)===!1)&&await c(t,l,null==e?void 0:e.properties,a)},c=async(e,t,l,a)=>{await customSetMetadataFromModule(e,t,l,a)};l(26648);let u=(e,t)=>{if(Array.isArray(t))return void t.forEach(t=>{e.some(e=>e.key===t.key)||e.push(t)});Object.entries(t).forEach(t=>{let[l,r]=t;if(null==r||e.some(e=>e.key===l))return;let o="boolean"==typeof r?a.aL.boolean:"number"==typeof r?a.aL.number:a.aL.string;e.push({key:l,type:a.Hj.KeyValue,keyValue:{value:r,valueType:o}})})},m=async(e,t,l)=>{var a;let o=(0,i.sW)(t,e);if(!o)return null;let n=await (0,r.Z)(o,l);return null!=(a=null==n?void 0:n.data)?a:null},h=e=>g(e)?"rtl":"ltr",g=e=>(null==e?void 0:e.toLowerCase())==="ar"},82438:(e,t,l)=>{"use strict";l.d(t,{E:()=>i,_:()=>o});var a=l(12115),r=l(24531),o=function(e){return e.PREV="CaretLeft",e.NEXT="CaretRight",e}({});let i=e=>{let{paginationRef:t,handlePrev:l,handleNext:o,isBeginning:i,isEnd:n,navigationColor:s=r.vf,progressColor:d=r.Wg,paginationColor:c=r.HA,className:u,type:m="default"}=e;return{paginationRef:t,handlePrev:(0,a.useCallback)(()=>{l&&l()},[l]),handleNext:(0,a.useCallback)(()=>{o&&o()},[o]),isBeginning:i,isEnd:n,navigationColor:s,progressColor:d,paginationColor:c,className:u,type:m}}},82873:(e,t,l)=>{"use strict";l.d(t,{Ay:()=>h,vj:()=>c,xU:()=>d});var a=l(95155),r=l(83617),o=l(75889),i=l(30927),n=l(56396),s=l(26556),d=function(e){return e.rounded="rounded",e.radius="radius",e}({}),c=function(e){return e.small="small",e.medium="medium",e.large="large",e}({});let u={small:r.PT["date-4"],medium:r.PT["date-2"],large:r.PT["date-1"]},m={rounded:"rounded-full px-3 py-2",radius:"rounded-sm px-2 py-1"},h=e=>{let{competitionColor:t,colorSchemaKey:l=n.fs.light,children:d,className:c,badgeVariant:h="rounded",size:g="large"}=e,p=t?"competition-badge":i.y[l].badgeColorSchema[h];return(0,a.jsx)(r.Ay,{variant:u[g],className:(0,o.QP)(t&&"competition-badge","uppercase font-bold inline-block z-10",m[h],p,c),style:(0,s.jK)(t),children:d})}},83185:()=>{},83915:()=>{},84525:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var a=l(95155),r=l(67231),o=l(83617),i=l(75889),n=l(30927),s=l(84380);let d=e=>{let{colorSchemaKey:t,backToTopLabel:l,containerClassName:d}=e,c=n.y[t].backToTop,u=(0,s.A)();return(0,a.jsxs)("button",{className:(0,i.QP)("group","inline-flex items-center","absolute right-4 bottom-4 z-50 lg:right-12 lg:bottom-6","cursor-pointer rounded-full","border-2 border-current",d,c.background,c.text),onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},title:null!=l?l:u("back-to-top"),"aria-label":null!=l?l:u("back-to-top"),children:[(0,a.jsx)("div",{className:"flex h-10 w-10 min-w-10 items-center justify-center",children:(0,a.jsx)("div",{className:"h-4 w-4",children:(0,r.a)("ArrowUp")})}),l&&(0,a.jsx)("div",{className:"grid grid-cols-[0fr] whitespace-nowrap opacity-0 transition-all duration-700 group-hover:grid-cols-[1fr] group-hover:pe-4 group-hover:opacity-100",children:(0,a.jsx)(o.Ay,{className:"overflow-hidden",variant:o.PT["navigation-1"],children:l})})]})}},85093:(e,t,l)=>{"use strict";l.d(t,{Hl:()=>o,nB:()=>s,pA:()=>r,tf:()=>d});var a=l(34597);let r=(e,t)=>(n(e,t),e),o=(e,t)=>
1(e.forEach(e=>{var l;if(e.link=e.link&&(0,a.t)(e.link,t),e.text=e.text&&(0,a.t)(e.text,t),e.tooltip=e.tooltip&&(0,a.t)(e.tooltip,t),null==(l=e.items)?void 0:l.length)return o(e.items,t)}),e),i=(e,t)=>{for(let l of e){if(l.link&&l.link===t)return l.isActive=!0,l;if(l.items.length>0){let e=i(l.items,t);if(e)return e.isActive=!0,e}}},n=(e,t)=>{let l=null==t?void 0:t.split("/").filter(Boolean);if(!l)return;let a=i(e,t);e.forEach(e=>{var r,o;if(!e.link||e.link===(null==a?void 0:a.link))return;let n=null==(r=e.link)?void 0:r.split("/").filter(Boolean);if(n&&n.every((e,t)=>e===l[t])){let l;e.isActive=!0,0!==e.items.length&&(l=i(e.items,t)),!l&&(null==a||null==(o=a.link)?void 0:o.length)>e.link.length&&(e.isActive=!1)}})},s=e=>{var t;return e?(null==(t=e.trim())?void 0:t.split(";")).reduce((e,t)=>{let l=t.split(":");return e[l[0]]=null==l?void 0:l[1],e},{}):null},d=(e,t)=>(null==t?void 0:t[e])==="true"},85285:(e,t,l)=>{"use strict";l.d(t,{BU:()=>u,Ey:()=>i,QJ:()=>o,dc:()=>c,eZ:()=>n,jR:()=>s,jx:()=>d,l3:()=>r});var a=l(14554);let r=e=>{let{FINISHED:t,LIVE:l,SUSPENDED:r,ABANDONED:o,CANCELED:i}=a.Xh;return[t,l,r,o,i].includes(e)},o=e=>e===a.Xh.POSTPONED,i=e=>e===a.Xh.LIVE,n=e=>{let{FINISHED:t,CANCELED:l,ABANDONED:r,UNKNOWN:o,SUSPENDED:i,ALL:n}=a.Xh;return[t,l,r,o,i,n].includes(e)},s=e=>{let{UPCOMING:t,TACTICAL:l,LINEUP:r,POSTPONED:o}=a.Xh;return[t,l,r,o].includes(e)},d=e=>{let{teamId:t,winTeamId:l}=e;return l&&t!==l?"opacity-30":""},c=e=>{let{isStoryteller:t,isStorytellerError:l,status:a,ticketsUrl:r}=e,o=s(a)&&!!r;return t?l&&o:o},u=e=>{if(!e)return"";let t={};try{t=JSON.parse(e||"{}")}catch(e){t={}}return Object.keys(t).join(",")||""}},85600:(e,t,l)=>{"use strict";l.d(t,{default:()=>n});var a=l(95155),r=l(12115),o=l(96532),i=l(68321);let n=e=>{let{...t}=e,{html:l}=t;return((0,r.useEffect)(()=>{var e,t,l;null==(l=window)||null==(t=l.twttr)||null==(e=t.widgets)||e.load()},[]),l)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.default,{src:"https://platform.twitter.com/widgets.js",strategy:"lazyOnload",id:"twitter-embed-script"}),(0,a.jsx)(o.A,{html:l})]}):null}},85625:(e,t,l)=>{"use strict";l.d(t,{default:()=>n});var a=l(95155),r=l(75889),o=l(81884),i=l(67231);let n=e=>{let{className:t,hasInteraction:l,isAnimated:n}=e;return(0,a.jsx)("button",{className:(0,r.QP)(t,l&&"cursor-pointer"),onClick:()=>l&&window.scrollTo({top:window.innerHeight,behavior:"smooth"}),"aria-label":"Scroll Down",children:(0,a.jsx)(o.default,{isAnimated:n,delay:1,children:(0,i.a)("Scroll")})})}},85880:(e,t,l)=>{"use strict";let a;l.d(t,{Tl:()=>n});var r=l(65897),o=l(9697),i=l(52259);l(15058),l(87358),l(87358);let n=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.t.standard;if(!t)return"";let n=null!=(e=null==a?void 0:a[null==t?void 0:t.toLowerCase()])?e:"";return""!==n&&n[l]?n[l]:(i.A.log("TRANSLATION not found for this key: '".concat(t,"' and this type: '").concat(l,"'"),r.T.debug),t)}},86737:(e,t,l)=>{"use strict";l.d(t,{h:()=>o});var a=l(51715),r=l(12115);let o=()=>(0,r.useContext)(a.Z)},86997:()=>{},87577:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var a=l(95155),r=l(7641),o=l(83617),i=l(75889),n=l(56396),s=l(30927);let d=e=>{let{src:t,alt:l,transformations:d,description:c,colorSchemaKey:u=n.fs.light}=e;if(!t||!d||!l)return null;let m=s.y[u].photo;return(0,a.jsxs)("figure",{children:[(0,a.jsx)(r.default,{src:t,alt:l,transformations:d,width:d.mobile.width,height:d.mobile.height,className:"h-auto w-full rounded-lg"}),c&&(0,a.jsx)(o.Ay,{variant:o.PT["date-2"],className:(0,i.QP)("mt-2 max-w-full truncate border-s-2 ps-2",m.border,m.text),as:"figcaption",children:c})]})}},88969:()=>{},89652:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var a=l(95155),r=l(3314),o=l(37566),i=l(51309),n=l(14233),s=l(17503);let d=e=>{let{seasonIds:t,headerTitleHeadingLevel:l=o.v.h2,generalStatsToShow:d,attackStatsToShow:c,defenseStatsToShow:u,passesStatsToShow:m,enableTeamLinks:h,teamUrlPattern:g,useDarkHeader:p,useDarkSecondarySections:v,showErrorMessage:f,showRetryButton:y}=e,{SDP_PROJECT:x}=(0,i.V)(),b={pageBg:"var(--color-primary-on-light)",overlayTint:"var(--color-primary-on-light)",headerText:"var(--color-widget-label-primary)",tabListBg:"var(--color-primary-on-dark)",tabListBorder:"var(--color-widget-border-primary)",tabActiveBg:"var(--color-primary-on-light-200)",tabActiveHoverBg:"var(--color-primary-on-light-200)",tabActiveText:"var(--color-grey-on-light-900)",tabInactiveText:"var(--color-grey-on-light-900)",dropdownBg:"var(--color-grey-on-light-900)",dropdownHeaderText:"#FFFFFF",dropdownHeaderBorder:"var(--color-widget-border-primary)",dropdownHeaderBg:"var(--color-grey-on-light-900)",dropdownBodyText:"#FFFFFF",dropdownBodyBorder:"var(--color-widget-border-primary)",dropdownBodyBorderHover:"var(--color-primary-on-light-200)",dropdownBodyBg:"var(--color-grey-on-light-900)",dropdownOptionBg:"var(--color-grey-on-light-900)",dropdownOptionHoverBg:"var(--color-grey-on-light-700)",dropdownOptionText:"#FFFFFF",dropdownOptionBorder:"var(--color-widget-border-primary)",dropdownMenuItemText:"var(--color-widget-label-primary)",dropdownMenuItemHoverBg:"var(--color-grey-on-light-700)",tableContainerBg:"var(--color-grey-on-light-900)",tableCardBg:"var(--color-grey-on-light-900)",sectionTitle:"var(--color-widget-label-primary)",messageBg:"var(--color-grey-on-light-900)",messageText:"var(--color-widget-label-secondary)",tableBg:"var(--color-grey-on-light-900)",tableBorder:"var(--color-widget-border-primary)",tableHeaderText:"var(--color-widget-label-secondary)",tableRowText:"var(--color-widget-label-primary)",tableRowBorder:"var(--color-widget-border-primary)",tableDivider:"var(--color-widget-border-primary)",tableStatValueText:"var(--color-widget-label-primary)",tableShadowStart:"var(--color-grey-on-light-700)",tableRowFavoriteBg:"var(--color-primary-on-light-200)",tableRowFavoriteText:"var(--color-grey-on-light-900)"},w={type:n.BC,sport:n.Fn,project:x,seasonIds:null!=t?t:[],startHeadingLevel:Number(l),useDarkHeader:p,useDarkSecondarySection:v,tabsConfig:{generalStatsToShow:(0,s.Gn)(d),attackStatsToShow:(0,s.Gn)(c),passesStatsToShow:(0,s.Gn)(m),defenseStatsToShow:(0,s.Gn)(u)},enableTeamLinks:h,teamUrlPattern:g,showErrorMessage:f,showRetryButton:y,theme:{widget:{lightColors:b,darkColors:b}}};return(0,a.jsx)(r.A8,{...w})}},91193:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});
1var a=l(95155),r=l(84380),o=l(83617),i=l(12115),n=l(56396),s=l(30927),d=l(67909),c=l(75889);let u=(0,d.default)(()=>l.e(3905).then(l.bind(l,73905)),{loadableGenerated:{webpack:()=>[73905]},ssr:!1}),m=e=>{let{className:t,startDate:l,colorSchemaKey:d=n.fs.light}=e,m=(0,r.A)(),[h,g]=(0,i.useState)(!1);if((0,i.useEffect)(()=>{g(!0)},[]),!l||!h)return null;let p=s.y[d];return(0,a.jsx)("div",{className:(0,c.QP)(t,p.text),children:(0,a.jsx)(u,{date:l,renderer:e=>(e=>{let{days:t,hours:l,minutes:r,seconds:i,completed:n,colorSchemaKey:d,translate:u}=e;return n?null:(0,a.jsxs)("div",{className:"flex md:gap-8",children:[(0,a.jsx)("div",{className:(0,c.QP)("hidden h-6 w-[1px] md:block",s.y[d].eventCountdown.line)}),(0,a.jsxs)("div",{className:"flex justify-center gap-2",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)(o.Ay,{className:"tabular-nums",variant:o.PT["subtitle-1"],children:t}),(0,a.jsx)(o.Ay,{variant:o.PT["body-6"],children:u("days")})]}),(0,a.jsx)(o.Ay,{variant:o.PT["subtitle-1"],children:":"}),(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)(o.Ay,{className:"tabular-nums",variant:o.PT["subtitle-1"],children:l}),(0,a.jsx)(o.Ay,{variant:o.PT["body-6"],children:u("hours")})]}),(0,a.jsx)(o.Ay,{variant:o.PT["subtitle-1"],children:":"}),(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)(o.Ay,{className:"tabular-nums",variant:o.PT["subtitle-1"],children:r}),(0,a.jsx)(o.Ay,{variant:o.PT["body-6"],children:u("minutes")})]}),(0,a.jsx)(o.Ay,{variant:o.PT["subtitle-1"],children:":"}),(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)(o.Ay,{className:"tabular-nums",variant:o.PT["subtitle-1"],children:i}),(0,a.jsx)(o.Ay,{variant:o.PT["body-6"],children:u("seconds")})]})]})]})})({...e,colorSchemaKey:d,translate:m})})})}},91286:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var a=l(12115),r=l(71434);let o=()=>(0,a.useContext)(r.A)},91312:(e,t,l)=>{"use strict";l.d(t,{dT:()=>g,ee:()=>m,tt:()=>h});var a=l(95125),r=l(65897),o=l(52259),i=l(15058),n=l(87358);let s="SDP API",d=new Set(["unknown","upcoming","lineup","postponed","tactical"]),c=new Set(["live","suspended"]),u=new Set(["finished","canceled","cancelled","abandoned"]),m=async(e,t)=>{var l,m;let h=null==(l=n.env)?void 0:l.SDP_PROJECT,g=null==(m=n.env)?void 0:m.SDP_SPORT;if(!e||!t||!h||!g)return null;let p="/v1/".concat(h,"/").concat(g,"/seasons/").concat(e,"/matches/").concat(t,"/header");try{o.A.log("Getting match header from ".concat(s," ").concat(p),r.T.debug),p=new URL(p,n.env.SDP_API_URL).href}catch(e){return(0,i.h)({response:e,apiName:s})}return await a.A.get(p).then(e=>{var t,l;if(o.A.log("Retrieved match status from ".concat(s," ").concat(p,". ").concat(JSON.stringify(e.data)),r.T.debug),null==(t=e.data)?void 0:t.status){let t=null==(l=e.data.status)?void 0:l.toLowerCase();return d.has(t)?"upcoming":c.has(t)?"live":u.has(t)?"completed":"upcoming"}return null}).catch(e=>(0,i.h)({response:e,apiName:s,apiUrl:p}))},h=async(e,t,l)=>{var d,c;let u=null==(d=n.env)?void 0:d.SDP_PROJECT,m=null==(c=n.env)?void 0:c.SDP_SPORT;if(!e||!t||!u||!m)return null;let h="/v1/".concat(u,"/").concat(m,"/seasons/").concat(e,"/matches/").concat(t,"/header");try{o.A.log("Getting match header from ".concat(s," ").concat(h),r.T.debug),h=new URL(h,n.env.SDP_API_URL).href}catch(e){return l?(0,i.y)({response:e,returnResponseError:l}):(0,i.h)({response:e,apiName:s})}return await a.A.get(h).then(e=>{var t,l,a,i,n,d,c,u;return(o.A.log("Retrieved match seo info from ".concat(s," ").concat(h,". ").concat(JSON.stringify(e.data)),r.T.debug),(null==(l=e.data)||null==(t=l.home)?void 0:t.shortName)&&(null==(i=e.data)||null==(a=i.away)?void 0:a.shortName))?"".concat(null==(d=e.data)||null==(n=d.home)?void 0:n.shortName," - ").concat(null==(u=e.data)||null==(c=u.away)?void 0:c.shortName):null}).catch(e=>l?(0,i.y)({response:e,returnResponseError:l}):(0,i.h)({response:e,apiName:s,apiUrl:h}))},g=async(e,t)=>{var l,d;let c=null==(l=n.env)?void 0:l.SDP_PROJECT,u=null==(d=n.env)?void 0:d.SDP_SPORT;if(!e||!t||!c||!u)return null;let m="/v1/".concat(c,"/").concat(u,"/seasons/").concat(e,"/matches/").concat(t,"/header");try{o.A.log("Getting match header data from ".concat(s," ").concat(m),r.T.debug),m=new URL(m,n.env.SDP_API_URL).href}catch(e){return(0,i.h)({response:e,apiName:s})}return await a.A.get(m).then(e=>(o.A.log("Retrieved match header data from ".concat(s," ").concat(m,". ").concat(JSON.stringify(e.data)),r.T.debug),e.data)).catch(e=>(0,i.h)({response:e,apiName:s,apiUrl:m}))}},91512:(e,t,l)=>{"use strict";l.r(t),l.d(t,{DrawerContext:()=>h,DrawerProvider:()=>g,initialDrawerState:()=>m,useDrawer:()=>p});var a=l(95155),r=l(12115),o=l(58944),i=l(78105),n=l(75889),s=l(73881),d=l(53323),c=l(56396);let u=e=>{let{isOpen:t,onClose:l,children:u,position:m="right",className:h,overlayClassName:g,width:p,height:v,showCloseButton:f=!0}=e,y=(0,r.useRef)(null),x=(0,r.useRef)(null),b=((e,t,l,a,r)=>{let o=(e=>{switch(e){case"left":case"right":default:return{width:"w-full md:w-[390px]",height:"h-full"};case"top":case"bottom":return{width:"w-full",height:"h-full md:h-[390px]"}}})(e),i=l||o.width,s=a||o.height;return(0,n.QP)(((e,t)=>{let l="fixed overflow-hidden z-[100]";switch(e){case"left":return(0,n.QP)(l,"top-0 start-0 h-full",t?"translate-x-0":"-translate-x-full");case"right":return(0,n.QP)(l,"top-0 end-0 h-full",t?"translate-x-0":"translate-x-full");case"top":return(0,n.QP)(l,"top-0 left-0 w-full",t?"translate-y-0":"-translate-y-full");case"bottom":return(0,n.QP)(l,"bottom-0 left-0 w-full",t?"translate-y-0":"translate-y-full");default:return l}})(e,t),i,s,"bg-white transition-transform duration-500 ease-in-out transform-gpu",r)})(m,t,p,v,h),w=(0,n.QP)("fixed inset-0 bg-black/20 z-[100]",g);return(0,r.useEffect)(()=>
1{if(!t)return;let{firstFocusable:e,lastFocusable:a}=((e,t)=>{let l,a;t.current=document.activeElement;let r=[];return e.current&&(l=(r=e.current.querySelectorAll("a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled])"))[0],a=r[r.length-1],null==l||l.focus()),{firstFocusable:l,lastFocusable:a}})(y,x),r=t=>((e,t,l,a)=>{let r="Tab"===e.key;if("Escape"===e.key)return void t();r&&(e.shiftKey||document.activeElement!==a?e.shiftKey&&document.activeElement===l&&(null==a||a.focus(),e.preventDefault()):(null==l||l.focus(),e.preventDefault()))})(t,l,e,a);return document.addEventListener("keydown",r),()=>{var e;document.removeEventListener("keydown",r),null==(e=x.current)||e.focus()}},[t,l]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.N,{children:(0,a.jsx)(s.w,{condition:t,children:(0,a.jsx)(i.P.div,{exit:{opacity:0},initial:{opacity:0},animate:{opacity:1},transition:{duration:.3},className:w,onClick:l,"aria-hidden":"true"})})}),(0,a.jsxs)("div",{className:b,ref:y,children:[(0,a.jsx)(s.w,{condition:f,children:(0,a.jsx)("div",{className:"absolute top-4 right-4 z-50",children:(0,a.jsx)(d.A,{onClick:l,icon:"Close",variant:"link",size:"small",rounding:"rounded",colorSchemaKey:c.fs.light,className:"!h-8 !w-8 !border-0 bg-white/80 !p-0 text-black shadow-none hover:bg-white hover:text-black [&>svg]:!h-4 [&>svg]:!w-4",role:"button"})})}),u]})]})},m={show:()=>{},close:()=>{},isOpen:!1},h=(0,r.createContext)(m),g=e=>{let{children:t}=e,[l,o]=(0,r.useState)(null),i=(0,r.useCallback)(e=>{o(e)},[]),n=(0,r.useCallback)(()=>{(null==l?void 0:l.onClose)&&l.onClose(),o(null)},[l]),s=(0,r.useMemo)(()=>({show:i,close:n,isOpen:!!l}),[i,n,l]);return(0,a.jsxs)(h.Provider,{value:s,children:[t,(0,a.jsx)(u,{isOpen:!!l,onClose:n,position:null==l?void 0:l.position,className:null==l?void 0:l.className,overlayClassName:null==l?void 0:l.overlayClassName,width:null==l?void 0:l.width,height:null==l?void 0:l.height,showCloseButton:null==l?void 0:l.showCloseButton,children:null==l?void 0:l.component})]})},p=()=>{let e=(0,r.useContext)(h);if(void 0===e)throw Error("useDrawer must be used within a DrawerProvider");return e}},92946:(e,t,l)=>{"use strict";l.d(t,{g:()=>i});var a=l(65897),r=l(52259),o=l(95277);let i=(e,t)=>{let l=!1;if((0,o.NZ)(e)){var i;return r.A.log("Cannot render ".concat(null==e||null==(i=e.itemKey)?void 0:i.id," module because it has been set as hidden"),a.T.warning),!0}return null==t||t.forEach(t=>{if(!Object.hasOwn(e.properties,t)){var o;r.A.log("Cannot render ".concat(null==e||null==(o=e.itemKey)?void 0:o.id," module with empty '").concat(t,"'"),a.T.warning),l=!0}}),l}},93377:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>u});var a=l(95155),r=l(49657),o=l(83617),i=l(67231),n=l(56396),s=l(30927),d=l(16083),c=l(75889);let u=e=>{var t;let{className:l,colorSchemaKey:u=n.fs.light,items:m=[],expandFirstElement:h=!1,accordionItemClassName:g,accordionHeaderClassName:p,accordionBodyClassName:v,accordionIconClassName:f}=e,y=s.y[u].accordion;return(0,a.jsx)(d.bL,{className:(0,c.QP)("accordions w-full",l),type:"single",collapsible:!0,defaultValue:h?null==(t=m[0])?void 0:t.id:void 0,children:null==m?void 0:m.map((e,t)=>{let{header:l,headerHtml:n,body:s,bodyHtml:u,id:m}=e;return(0,a.jsxs)(d.q7,{value:m,className:(0,c.QP)("group/accordion-item","relative transition-all","after:absolute after:top-[-1px] after:right-[-1px] after:origin-top after:scale-y-0","after:ease-power-4 after:transition-transform after:delay-100 after:duration-500","after:h-[calc(100%+1px)] after:w-[2px]",'data-[state="open"]:after:scale-y-100',y.border,y.background,y.text,g),children:[(0,a.jsx)(d.Y9,{children:(0,a.jsxs)(d.l9,{className:(0,c.QP)("flex w-full cursor-pointer items-center justify-between p-4 text-left md:p-6",p),children:[(0,a.jsx)(o.Ay,{variant:o.PT["subtitle-3"],children:n?(0,a.jsx)(a.Fragment,{children:n}):(0,a.jsx)(r.default,{markdownText:l,removeDefaultCSSClass:!0})}),(0,a.jsx)("div",{className:(0,c.QP)(y.icon,"relative aspect-1/1 h-10 w-10",'group-[[data-state="open"]]/accordion-item:rotate items-center justify-center rounded-full transition-all duration-500',f),children:(0,a.jsx)("div",{className:(0,
1c.QP)("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform transition-transform duration-500",'w-3 group-[[data-state="open"]]/accordion-item:rotate-180'),children:(0,i.a)("ChevronDown")})})]})}),(0,a.jsx)(d.UC,{className:(0,c.QP)("data-[state=closed]:animate-slide-up data-[state=open]:animate-slide-down overflow-hidden px-8",v),children:u?(0,a.jsx)(a.Fragment,{children:u}):(0,a.jsx)(r.default,{markdownText:s,classNames:"pb-6 lg:pb-8"})})]},t)})})}},93872:()=>{},94439:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var a=l(95155),r=l(12115),o=l(63408),i=l(73881),n=l(59758),s=l(85093),d=l(31794),c=l(24531);let u=e=>{let{menuData:t,variables:l,colorSchema:u,isAnimated:m=!1,onMenuStateChange:h}=e,g=(0,r.useMemo)(()=>{let e=(0,s.Hl)(t,l)||[],a=(0,d.sW)(l,c.rd)||window.location.pathname;return a&&(0,s.pA)(e,a),e},[t,l]);return(0,a.jsx)(i.w,{condition:!!(null==g?void 0:g.length)&&!!u,children:(0,a.jsx)(o.default,{menuItems:g,source:n.Y.buttonMenu,colorSchema:u,isMobile:!1,isAnimated:m,onMenuStateChange:h})})}},94517:()=>{},94659:(e,t,l)=>{"use strict";l.d(t,{A:()=>a,A3:()=>r,Mc:()=>o,qJ:()=>i});var a=function(e){return e.play="Play",e.gallery="Gallery",e}({}),r=function(e){return e.regular="regular",e.fullImg="fullImg",e.shop="shop",e.linkFullImg="linkFullImg",e}({}),o=function(e){return e.ASPECT_1_1="aspect-1/1",e.ASPECT_2_3="aspect-2/3",e.ASPECT_3_2="aspect-3/2",e.ASPECT_3_4="aspect-3/4",e.ASPECT_3_5="aspect-3/5",e.ASPECT_4_3="aspect-4/3",e.ASPECT_16_9="aspect-16/9",e}({}),i=function(e){return e.large="large",e.small="small",e}({})},94825:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var a=l(95155),r=l(54559),o=l(68935),i=l(847),n=l(56396),s=l(12115);let d=e=>{let{items:t,playersStats:l,isAnimated:d,hideStats:c,colorSchemaKey:u=n.fs.light,showFavoriteButton:m,favoritePlayersMaxLimit:h}=e,{favoritePlayers:g,toggleFavoritePlayer:p,pendingAction:v,confirmAction:f,cancelAction:y,isLoading:x,toast:b}=(0,i.A)({favoritePlayersMaxLimit:h}),w=(0,s.useMemo)(()=>{var e;return null!=(e=null==g?void 0:g.map(e=>e.id))?e:[]},[g]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.PlayersSelectionCarouselView,{isAnimated:d,colorSchemaKey:u,hideStats:c,playersStats:l,items:t,showFavoriteButton:m,favoritePlayerIds:w,onToggleFavorite:p}),(0,a.jsx)(o.A,{pendingAction:v,confirmAction:f,cancelAction:y,isLoading:x,toast:b,colorSchemaKey:u})]})}},94940:(e,t,l)=>{"use strict";l.d(t,{A:()=>g});var a=l(95155);let r={"top-right":"top-6 right-0 justify-end","top-left":"top-6 left-0 justify-start","bottom-right":"bottom-6 right-0 justify-end","bottom-left":"bottom-6 left-0 justify-start",inline:""},o={"top-right":"animate-[var(--animate-enter-from-right)]","top-left":"animate-[var(--animate-enter-from-left)]","bottom-right":"animate-[var(--animate-enter-from-right)]","bottom-left":"animate-[var(--animate-enter-from-left)]",fade:"animate-[var(--animate-fade-in)]",scale:"animate-[var(--animate-scale-in)]"},i={success:"bg-[#E5F9EB]",warning:"bg-[#FFF9E5]",info:"bg-[#ECF6FF]",error:"bg-[#FCE5E5]"},n={success:"Check",warning:"AlertCircle",info:"InfoCircle",error:"Close"};var s=l(19433),d=l(83617),c=l(67231),u=l(12115),m=l(47650),h=l(75889);let g=e=>{let{title:t,className:l,type:g,position:p="top-right",animation:v="top-right",containerClassName:f,animationClassName:y,durationMs:x=3e3,textClassName:b}=e,[w,j]=(0,u.useState)(!0);if((0,u.useEffect)(()=>{if(j(!0),x<=0)return;let e=globalThis.setTimeout(()=>{j(!1)},x);return()=>globalThis.clearTimeout(e)},[x,t,g]),!w||!g)return null;let N=(0,a.jsx)("div",{className:(0,h.QP)("inline"===p?"relative flex w-full items-center":"fixed z-100 flex w-full items-center px-4","inline"!==p&&r[p],f),role:"alert","aria-live":"polite","aria-atomic":"true",children:(0,a.jsxs)("div",{className:(0,h.QP)("flex w-full max-w-86 items-center gap-2 rounded-lg border px-2 py-3 text-black shadow-sm motion-reduce:animate-none",null!=y?y:o[v],"border-".concat(g),i[g],l),children:[(0,a.jsx)("div",{className:"inline-flex size-3 shrink-0 items-center justify-center rounded-lg",children:(0,c.a)(n[g])}),(0,a.jsx)(d.Ay,{variant:d.PT["subtitle-6"],className:(0,h.QP)("leading-tight",b),children:(0,a.jsx)(s.default,{translationTermKey:t})})]})});return"inline"===p?N:(0,m.createPortal)(N,document.body)}},95147:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>R});var a=l(95155),r=l(81884),o=l(81156),i=l(19433),n=l(67231),s=l(95277),d=l(59758),c=l(83617),u=l(12115),m=l(75889),h=l(85093);let g=e=>{var t;return!!(null==e||null==(t=e.items)?void 0:t.length)},p=(e,t)=>!!(null==e?void 0:e.link)&&t!==d.Y.masthead||!!(null==e?void 0:e.link)&&t===d.Y.masthead&&!g
1(e);var v=l(53323);let f=e=>{var t,l,r,g,f,y;let x,{menuItem:b,source:w,colorSchema:j,typographyVariant:N,isSubMenu:T,className:S,iconHeight:A=24,iconWidth:P=24}=e,{onFocusHandler:k,onKeyEnterHandler:C,onClickItemHandler:I}=(e=>{let[t,l]=(0,u.useState)(),a=(0,u.useCallback)(e=>{l(e)},[]);return(0,u.useEffect)(()=>{let e=e=>{"Escape"===e.key&&a()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[a]),{subMenuId:t,onClickHandler:e=>e.id===t?a():a(e.id),onClickItemHandler:e=>e.id===t?a():a(e.id),onHoverHandler:e=>(null==e?void 0:e.id)?a(e.id):a(),handleMenuSelection:a,onFocusHandler:e=>e&&e.items.some(e=>e.link||e.items.length>0)?a(e.id):a(),onKeyEnterHandler:e=>e&&!t?a(e.id):a()}})(0);if(!b)return null;let L=(0,s.uo)(null==b?void 0:b.isActive),F=(0,s.JJ)(null==b?void 0:b.text),B=(0,a.jsx)(c.Ay,{variant:N,children:(0,a.jsx)(i.default,{translationTermKey:F})}),E=null!=(g=null==b||null==(t=b.icon)?void 0:t.data)?g:"";E&&(x=(0,n.a)(E,{width:P,height:A}));let _={...(null==b?void 0:b.target)&&(null==b?void 0:b.link)?{target:b.target}:void 0,...!(null==b?void 0:b.target)&&(null==b?void 0:b.link)?{rel:"noopener"}:void 0},R=(0,h.nB)(null==b||null==(l=b.properties)?void 0:l.data),M=(0,h.tf)(d.y.onlyIcon,R),D=(0,a.jsxs)(a.Fragment,{children:[x,!M&&B]}),U=p(b,w)?o.default:"span",z={onMouseEnter:()=>k(b),onMouseLeave:()=>k(),onFocus:()=>k(b)};return((null==b?void 0:b.link)||(z.onClick=()=>I(b),z.onKeyDown=e=>"Enter"===e.key?C(b):void 0),(null==R?void 0:R.component)==="button")?(0,a.jsx)(v.A,{variant:R.variant,size:"small",role:"menuitem",className:(0,m.QP)("menu-nav-item",j.button),"data-id":null==b?void 0:b.id,url:null==b?void 0:b.link,rounding:"rounded",text:F}):(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(U,{href:p(b,w)?b.link:void 0,className:(0,m.QP)("menu-nav-item",p(b,w)&&"cursor-pointer",S,j.menuHover,L&&j.activeMenu,T&&j.subMenuHover,L&&T&&j.activeSubMenu),title:null!=(f=b.text)?f:"","aria-label":null!=(y=b.text)?y:"","data-id":null==b?void 0:b.id,tabIndex:p(b,w)&&(null==b?void 0:b.items)&&(null==(r=b.items)?void 0:r.length)>0?0:void 0,..._,...z,children:D})})},y=e=>{let{menuItems:t,source:l,colorSchema:o,isMobile:i,isAnimated:n=!1}=e;return(null==t?void 0:t.length)?(0,a.jsx)("ul",{className:"account-menu mx-auto flex justify-center gap-6",children:t.map((e,t)=>{var s;if(!e.visible)return null;let u=(0,h.nB)(null==e||null==(s=e.properties)?void 0:s.data);return i&&(0,h.tf)(d.y.hiddenMobile,u)||!i&&(0,h.tf)(d.y.hiddenDesktop,u)?null:(0,a.jsx)("li",{className:"relative w-fit",children:(0,a.jsx)(r.default,{isAnimated:n,delay:.1*t,children:(0,a.jsx)(f,{menuItem:e,source:l,colorSchema:o,isMobile:i,typographyVariant:c.PT["subtitle-3"],className:"flex w-fit flex-row items-center gap-2 py-1 transition duration-300"})})},e.id)})}):null};var x=l(63408);let b=e=>{let{menuItems:t,source:l,colorSchema:o,isMobile:i,isAnimated:n=!1}=e;return(null==t?void 0:t.length)?(0,a.jsx)("ul",{className:"social-menu relative flex w-full flex-row flex-wrap items-center justify-center gap-6",children:t.map((e,t)=>{var s;if(!e.visible)return null;let u=(0,h.nB)(null==e||null==(s=e.properties)?void 0:s.data);return i&&(0,h.tf)(d.y.hiddenMobile,u)||!i&&(0,h.tf)(d.y.hiddenDesktop,u)?null:(0,a.jsx)("li",{className:"relative w-fit",children:(0,a.jsx)(r.default,{isAnimated:n,delay:.1*t,children:(0,a.jsx)(f,{menuItem:e,source:l,colorSchema:o,isMobile:i,typographyVariant:c.PT["body-6"],iconHeight:14,iconWidth:14,className:"flex flex-row items-center gap-2 transition duration-300"})})},e.id)})}):null},w=e=>{var t;let{menuItem:l,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s}=e;if(!l||!l.visible)return null;let c=(0,h.nB)(null==l||null==(t=l.properties)?void 0:t.data);return i&&(0,h.tf)(d.y.hiddenMobile,c)||!i&&(0,h.tf)(d.y.hiddenDesktop,c)?null:(0,a.jsx)(f,{menuItem:l,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s,className:"relative flex w-fit flex-row items-center gap-2 pb-0.5 text-left"})},j=e=>{var t;let{menuItem:l,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s}=e;if(!l||!l.visible)return null;let u=(0,h.nB)(null==l||null==(t=l.properties)?void 0:t.data);return i&&(0,h.tf)(d.y.hiddenMobile,u)||!i&&(0,h.tf)(d.y.hiddenDesktop,u)?null:(0,a.jsx)("ul",{className:"footer-menu-item flex flex-col gap-1 py-2",children:l.items.map((e,t)=>{var l;if(!e.visible)return null;let u=(0,h.nB)(null==e||null==(l=e.properties)?void 0:l.data);return i&&(0,h.tf)(d.y.hiddenMobile,u)||!i&&(0,h.tf)(d.y.hiddenDesktop,u)?null:(0,a.jsxs)("li",{className:(0,m.QP)(g(e)&&"pt-4"),children:[(0,a.jsx)(w,{menuItem:e,source:r,colorSchema:o,isMobile:i,isSubMenu:!g(e),typographyVariant:g(e)?c.PT["subtitle-4"]:s,className:"relative flex w-fit cursor-pointer flex-row items-center gap-2 pb-0.5 text-left"}),g(e)&&(0,a.jsx)(j,{menuItem:e,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s})]},t)})})},N=e=>{let{menuItems:t,source:l,colorSchema:o,isMobile:i,isAnimated:n=!1}=e;return(null==t?void 0:t.length)?(0,a.jsx)("ul",{className:"footer-menu-list relative flex flex-col gap-4 p-4 md:p-0",children:t.map((e,t)=>{var s;if(!e.visible)return null;let u=(0,h.nB)(null==e||null==(s=e.properties)?void 0:s.data);return i&&(0,h.tf)(d.y.hiddenMobile,u)||!i&&(0,h.tf)(d.y.hiddenDesktop,u)?null:(0,a.jsx)("li",{className:"relative w-full",children:(0,a.jsxs)(r.default,{isAnimated:n,delay:.1*t,stagger:!0,className:"flex w-full items-center justify-center",children:[(0,a.jsx)(w,{menuItem:e,source:l,colorSchema:o,isMobile:i,isSubMenu:!1,typographyVariant:c.PT["subtitle-4"],className:"relative flex w-fit flex-row items-center gap-2 pb-0.5 text-center"}),g(e)&&(0,a.jsx)(j,{menuItem:e,source:l,colorSchema:o,isMobile:i,isSubMenu:!0,typographyVariant:c.PT["body-5"]})]})},t)})}):null};var T=l(16083);let S=e=>{var t;let{menuItem:l,source:r,colorSchema:o,isMobile:s,isSubMenu:u,typographyVariant:p}=e;if(!l||!l.visible)return null;let v=(0,h.nB)(null==l||null==(t=l.properties)?void 0:t.data);return s&&(0,h.tf)(d.y.hiddenMobile,v)||!s&&(0,h.tf)(d.y.hiddenDesktop,v)?null:(0,a.jsxs)(T.q7,{value:l.id,id:l.id,className:"hamburger-menu
1-item",children:[(0,a.jsx)(T.Y9,{asChild:!0,children:(0,a.jsxs)(T.l9,{className:"group flex w-full cursor-pointer items-center justify-between gap-2",children:[(0,a.jsx)(c.Ay,{variant:c.PT["subtitle-3"],as:"span",className:(0,m.QP)(o.accordionGroupHover,o.accordionOpen,"flex shrink-0 flex-row items-center gap-2 transition duration-300"),children:(0,a.jsx)(i.default,{translationTermKey:l.text})}),(0,a.jsx)("div",{className:(0,m.QP)(o.accordionGroupHover,o.accordionOpen,"relative -right-3 aspect-1/1 h-6 w-10","flex items-center justify-center rounded-full","accordion-open:rotate transition-all duration-500"),children:(0,a.jsx)("div",{className:(0,m.QP)("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transform transition-transform duration-500","accordion-open:rotate-180 child-accordion-open:rotate-0 w-3"),children:(0,n.a)("ChevronDown")})})]})}),(0,a.jsx)(T.UC,{className:"data-[state=closed]:animate-slide-up data-[state=open]:animate-slide-down overflow-hidden",children:g(l)?(0,a.jsx)(A,{menuItems:l.items,source:r,isMobile:s,colorSchema:o,isSubMenu:!0}):(0,a.jsx)(f,{menuItem:l,source:r,colorSchema:o,isMobile:s,isSubMenu:u,typographyVariant:p,className:(0,m.QP)(u?"flex w-fit cursor-pointer flex-row items-center gap-2 pl-5 transition duration-300":"flex cursor-pointer flex-row gap-2 transition duration-300")})})]})},A=e=>{let{menuItems:t,source:l,colorSchema:o,isMobile:i,isSubMenu:n=!1,isAnimated:s=!1}=e;return(null==t?void 0:t.length)?(0,a.jsx)(T.bL,{className:"hamburger-menu-list flex w-full flex-col",type:"single",collapsible:!0,children:t.map((e,t)=>{var u;if(!e.visible)return null;let p=(0,h.nB)(null==e||null==(u=e.properties)?void 0:u.data);return i&&(0,h.tf)(d.y.hiddenMobile,p)||!i&&(0,h.tf)(d.y.hiddenDesktop,p)?null:(0,a.jsx)("div",{className:(0,m.QP)("relative w-full",n?"pt-4":"py-4",n&&g(e)&&"px-4",!n&&o.accordionBorder),children:(0,a.jsx)(r.default,{isAnimated:s,delay:.1*t,children:g(e)?(0,a.jsx)(S,{menuItem:e,source:l,isMobile:i,colorSchema:o,isSubMenu:n,typographyVariant:c.PT["subtitle-3"]}):(0,a.jsx)(f,{menuItem:e,source:l,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:c.PT["subtitle-3"],className:(0,m.QP)(n?"flex w-fit flex-row items-center gap-2 pl-5 transition duration-300":"flex flex-row gap-2 transition duration-300")})})},t)})}):null},P=e=>{let{menuItems:t,source:l,colorSchema:o,isMobile:i,isAnimated:n=!1}=e;return(null==t?void 0:t.length)?(0,a.jsx)("ul",{className:"header-menu relative flex w-full flex-row items-center gap-4",children:t.map((e,t)=>{var s;if(!e.visible)return null;let u=(0,h.nB)(null==e||null==(s=e.properties)?void 0:s.data);return i&&(0,h.tf)(d.y.hiddenMobile,u)||!i&&(0,h.tf)(d.y.hiddenDesktop,u)?null:(0,a.jsx)("li",{className:"relative w-fit",children:(0,a.jsx)(r.default,{isAnimated:n,delay:.1*t,children:(0,a.jsx)(f,{menuItem:e,source:l,colorSchema:o,isMobile:i,typographyVariant:c.PT["subtitle-3"],className:"flex w-fit flex-row items-center gap-2 py-1 transition duration-300"})})},t)})}):null};var k=l(7649);let C=e=>{var t;let{menuItem:l,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s}=e;if(!l||!l.visible)return null;let c=(0,h.nB)(null==l||null==(t=l.properties)?void 0:t.data);return i&&(0,h.tf)(d.y.hiddenMobile,c)||!i&&(0,h.tf)(d.y.hiddenDesktop,c)?null:(0,a.jsx)("ul",{className:"flex flex-col gap-4",children:l.items.map((e,t)=>(0,a.jsx)("li",{className:"flex flex-col gap-2.5 whitespace-nowrap",children:(0,a.jsx)(k.Pb,{defaultValue:l.id,children:(0,a.jsx)(k.B8,{children:(0,a.jsxs)(k.q7,{value:e.id,className:"relative",children:[(0,a.jsx)(k.l9,{children:g(e)?(0,a.jsx)(f,{menuItem:e,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s,className:"flex w-fit cursor-pointer flex-row items-center gap-2 py-1 whitespace-nowrap transition duration-300"}):(0,a.jsx)(k.N_,{asChild:!0,children:(0,a.jsx)(f,{menuItem:l,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s,className:"flex w-fit cursor-pointer flex-row items-center gap-2 py-1 whitespace-nowrap transition duration-300"})})}),(0,a.jsx)(k.UC,{className:"data-[motion=from-end]:animate-enter-from-right data-[motion=from-start]:animate-enter-from-left data-[motion=to-end]:animate-exit-to-right data-[motion=to-start]:animate-exit-to-left w-auto ps-4 pt-4",children:g(e)?(0,a.jsx)(C,{menuItem:e,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s}):(0,a.jsx)(k.N_,{asChild:!0,children:(0,a.jsx)(f,{menuItem:e,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s,className:"flex w-fit flex-row items-center gap-2 py-1
1whitespace-nowrap transition duration-300"})})})]})})})},t))})},I=e=>{var t;let{menuItem:l,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s,handleMouseEnter:c,handleFocus:u}=e;if(!l||!l.visible)return null;let m=(0,h.nB)(null==l||null==(t=l.properties)?void 0:t.data);return i&&(0,h.tf)(d.y.hiddenMobile,m)||!i&&(0,h.tf)(d.y.hiddenDesktop,m)?null:(0,a.jsx)(k.q7,{className:"masthead-menu-item flex items-center",asChild:!0,children:(0,a.jsxs)("div",{className:"relative",children:[l.items.length>0?(0,a.jsx)(k.l9,{onMouseEnter:c,onFocus:u,className:"whitespace-nowrap",children:(0,a.jsx)(f,{menuItem:l,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s,className:"flex w-fit cursor-pointer flex-row items-center gap-2 py-2 whitespace-nowrap transition duration-300"})}):(0,a.jsx)(k.N_,{asChild:!0,children:(0,a.jsx)(f,{menuItem:l,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s,className:"flex w-fit flex-row items-center gap-2 py-2 whitespace-nowrap transition duration-300"})}),g(l)&&(0,a.jsx)(k.UC,{asChild:!0,className:"data-[motion=from-end]:animate-enter-from-right data-[motion=from-start]:animate-enter-from-left data-[motion=to-end]:animate-exit-to-right data-[motion=to-start]:animate-exit-to-left absolute top-0 left-0 w-auto px-6 py-4",children:(0,a.jsx)("ul",{className:"flex flex-col gap-4",children:l.items.map((e,t)=>(0,a.jsx)("li",{className:"flex flex-col gap-2.5 whitespace-nowrap",children:g(e)?(0,a.jsx)(C,{menuItem:e,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s}):(0,a.jsx)(k.N_,{asChild:!0,children:(0,a.jsx)(f,{menuItem:e,source:r,colorSchema:o,isMobile:i,isSubMenu:n,typographyVariant:s,className:"flex w-fit flex-row items-center gap-2 py-1 whitespace-nowrap transition duration-300"})})},t))})})]})})};var L=l(34993);let F=e=>{let{menuItems:t,source:l,colorSchema:o,isMobile:i,isAnimated:n=!1}=e,s=(0,u.useRef)(null),[g,p]=(0,u.useState)({left:void 0}),v=e=>{if(s.current){let t=s.current.getBoundingClientRect();p({left:e.getBoundingClientRect().left-t.left}),e.click()}},f=e=>{i||v(e.currentTarget)},y=e=>{i||v(e.currentTarget)};return t?(0,a.jsxs)(k.bL,{className:"masthead-menu-list relative",ref:s,children:[(0,a.jsx)(k.B8,{className:"relative",asChild:!0,children:(0,a.jsx)("div",{className:"overflow-hidden",children:(0,a.jsx)("ul",{className:"flex overflow-x-auto",children:t.map((e,t)=>{var s;let u=(0,h.nB)(null==e||null==(s=e.properties)?void 0:s.data);return i&&(0,h.tf)(d.y.hiddenMobile,u)||!i&&(0,h.tf)(d.y.hiddenDesktop,u)?null:(0,a.jsx)("li",{className:"me-4 flex h-auto w-auto items-center justify-center hover:cursor-pointer",children:(0,a.jsx)(r.default,{isAnimated:n,delay:.1*t,from:L.E.HiddenFromLeft,children:(0,a.jsx)(I,{menuItem:e,source:l,colorSchema:o,isMobile:i,handleMouseEnter:f,handleFocus:y,typographyVariant:c.PT["subtitle-4"]},t)})},t)})})})}),(0,a.jsx)("div",{style:{left:g.left},children:(0,a.jsx)(k.LM,{className:(0,m.QP)(o.navigationMenuBackground,"data-[state=closed]:animate-scale-out data-[state=open]:animate-scale-in relative left-0 mt-2.5 h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden transition-[width,_height] duration-300 sm:w-[var(--radix-navigation-menu-viewport-width)]")})})]}):null},B=e=>{let{menuItems:t,source:l,colorSchema:o,isMobile:i,isAnimated:n=!1}=e;return(null==t?void 0:t.length)?(0,a.jsx)("ul",{className:"social-menu relative flex w-full flex-row flex-wrap items-center justify-center gap-3",children:t.map((e,t)=>{var s;if(!e.visible)return null;let u=(0,h.nB)(null==e||null==(s=e.properties)?void 0:s.data);return i&&(0,h.tf)(d.y.hiddenMobile,u)||!i&&(0,h.tf)(d.y.hiddenDesktop,u)?null:(0,a.jsx)("li",{className:"relative w-fit",children:(0,a.jsx)(r.default,{isAnimated:n,delay:.1*t,children:(0,a.jsx)(f,{menuItem:e,source:l,colorSchema:o,isMobile:i,typographyVariant:c.PT["subtitle-3"],iconHeight:32,iconWidth:32,className:"flex flex-row items-center gap-2 transition duration-300"})})},e.id)})}):null};var E=l(31360),_=l(24531);let R=e=>{let{menuItems:t,source:l,menuColorSchema:r,isAnimated:o=!1}=e,i=(0,u.useRef)(null),n=(0,E.A)(i,_.Tx),s=r[l];return(null==t?void 0:t.length)?(0,a.jsx)("div",{ref:i,className:(0,m.QP)("menu-list",s.text,s.background),children:((e,t,l,r,o)=>
1{switch(e){case d.Y.default:case d.Y.footer:return(0,a.jsx)(N,{menuItems:t,source:e,colorSchema:l,isMobile:r,isAnimated:o});case d.Y.footerLegalInfo:return(0,a.jsx)(b,{menuItems:t,source:e,colorSchema:l,isMobile:r,isAnimated:o});case d.Y.social:return(0,a.jsx)(B,{menuItems:t,source:e,colorSchema:l,isMobile:r,isAnimated:o});case d.Y.masthead:return(0,a.jsx)(F,{menuItems:t,source:e,colorSchema:l,isMobile:r,isAnimated:o});case d.Y.header:case d.Y.headerService:return(0,a.jsx)(P,{menuItems:t,source:e,colorSchema:l,isMobile:r,isAnimated:o});case d.Y.buttonMenu:return(0,a.jsx)(x.default,{menuItems:t,source:e,colorSchema:l,isMobile:r,isAnimated:o});case d.Y.account:return(0,a.jsx)(y,{menuItems:t,source:e,colorSchema:l,isMobile:r,isAnimated:o});case d.Y.hamburger:default:return(0,a.jsx)(A,{menuItems:t,source:e,colorSchema:l,isMobile:r,isAnimated:o})}})(l,t,s,n,o)}):null}},96408:(e,t,l)=>{"use strict";l.d(t,{S:()=>n,bd:()=>d,gt:()=>c,iS:()=>s,og:()=>u});var a=l(31794),r=l(17247),o=l(32555),i=l(24531);let n=(e,t)=>{let l=[];if(e){var a,r;l=null!=(r=null==t||null==(a=t.items.filter(t=>t.type===e&&t.documents.length>0)[0])?void 0:a.documents)?r:[]}else null==t||t.items.forEach(e=>{e.documents.forEach(e=>{l.push(e)})}),l.sort((e,t)=>new Date(t.contentDate).getTime()-new Date(e.contentDate).getTime());return l},s=e=>{let t=(0,a.sW)(e,o.M);return t||(t=(0,a.sW)(e,i.rd)),t=t?String(t):o.o,(0,r.sD)(t)},d=(e,t,l)=>{let a=e.limit*(e.page+1)===l,r=e.page>0?e.page+1:1;return t.length&&t.length===e.limit&&!a?r:0},c=(e,t,l)=>{let a=e.keyPagesLimit*(e.keyPagesPage+1)===l,r=e.keyPagesPage>0?e.keyPagesPage+1:1;return(null==t?void 0:t.length)&&(null==t?void 0:t.length)===e.keyPagesLimit&&!a?r:0},u=(e,t)=>{var l,a,r,o;return e.facetType&&e.facetValue?(null!=(a=null==t||null==(l=t.forgeEntities.items.find(t=>t.type===e.facetValue))?void 0:l.count)?a:0)+(null!=(r=null==t?void 0:t.keyPages.count)?r:0):null!=(o=null==t?void 0:t.totalCount)?o:0}},96532:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var a=l(95155),r=l(73261);let o=e=>{let{html:t}=e;return t?(0,a.jsx)("div",{className:"relative grid w-full grid-cols-1 overflow-hidden",children:(0,a.jsx)(r.default,{content:t,className:"mx-auto flex flex-col items-center"})}):null}},97576:(e,t,l)=>{"use strict";l.d(t,{default:()=>F});var a=l(95155),r=l(88697),o=l(7641),i=l(83617),n=l(84380),s=l(75889),d=l(14554);let c=e=>{var t,l,r,o,c,u;let{teamStats:m,colorSchema:h}=e,g=(0,n.A)();if(!m)return null;let p=null!=(o=null==(t=m.find(e=>e.statsId===d._Q.MatchesPlayed))?void 0:t.statsValue)?o:"-",v=null!=(c=null==(l=m.find(e=>e.statsId===d._Q.Wins))?void 0:l.statsValue)?c:"-",f=null!=(u=null==(r=m.find(e=>e.statsId===d._Q.Rank))?void 0:r.statsValue)?u:"-",y=[{label:g("sport-team-position"),value:f},{label:g("sport-team-wins"),value:v},{label:g("sport-team-matches-played"),value:p}];return(0,a.jsx)(a.Fragment,{children:y.map(e=>(0,a.jsxs)("div",{className:(0,s.Id)("flex items-center pb-3 not-first:pt-3 not-last:border-b",h.text,h.border),children:[(0,a.jsx)(i.Ay,{variant:i.PT["body-4"],as:"p",children:e.label}),(0,a.jsx)(i.Ay,{variant:i.PT["h4-uppercase"],as:"p",className:"ms-auto",children:e.value.toString()})]},e.label))})};var u=l(73881),m=l(19433);let h=e=>{let{name:t,yearOfFoundation:l,stadium:r,coach:o,colorSchema:n}=e,d=(null==o?void 0:o.mediaFirstName)&&(null==o?void 0:o.mediaLastName)?"".concat(null==o?void 0:o.mediaFirstName," ").concat(null==o?void 0:o.mediaLastName):(null==o?void 0:o.shortName)?o.shortName:"";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(i.Ay,{className:(0,s.Id)("flex items-center gap-2","shrink-0","not-last:after:h-5 not-last:after:w-px","empty:hidden",n.divider),variant:i.PT["subtitle-3"],children:l}),(0,a.jsx)(i.Ay,{variant:i.PT["subtitle-3"],children:null==r?void 0:r.name})]}),(0,a.jsx)(u.w,{condition:!!t,children:(0,a.jsx)(i.Ay,{variant:i.PT["uber-4"],as:"h1",children:t})}),(0,a.jsx)(u.w,{condition:!!d,children:(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsx)(i.Ay,{variant:i.PT["body-5"],children:(0,a.jsx)(m.default,{translationTermKey:"team-coach-title"})}),(0,a.jsx)(i.Ay,{variant:i.PT["subtitle-3"],children:"".concat(null==o?void 0:o.mediaFirstName," ").concat(null==o?void 0:o.mediaLastName)})]})})]})};var g=l(85880),p=l(53323);let v=e=>{var t,l,r,o,i,n;let{teamLinks:d,colorSchemaKey:c}=e;return(0,a.jsxs)("div",{className:(0,s.Id)("mt-8 flex items-center lg:mx-auto lg:mt-0","gap-2 lg:gap-6","empty:hidden"),children:[(0,a.jsx)(p.A,{url:null==d||null==(t=d.websiteLink)?void 0:t.url,className:"relative mx-auto w-full",rounding:"rounded",text:(0,g.Tl)("website"),variant:"outline",size:"small",colorSchemaKey:c,icon:"ArrowUpRight",target:(null==d||null==(l=d.websiteLink)?void 0:l.openInNewTab)?"_blank":"_self"}),(0,a.jsx)(p.A,{url:null==d||null==(r=d.shopLink)?void 0:r.url,className:"relative mx-auto w-full",rounding:"rounded",text:(0,g.Tl)("shop"),variant:"outline",size:"small",colorSchemaKey:c,icon:"ArrowUpRight",target:(null==d||null==(o=d.shopLink)?void 0:o.openInNewTab)?"_blank":"_self"}),(0,a.jsx)(p.A,{url:null==d||null==(i=d.ticketLink)?void 0:i.url,className:"relative mx-auto w-full",rounding:"rounded",text:(0,g.Tl)("tickets"),variant:"outline",size:"small",colorSchemaKey:c,icon:"ArrowUpRight",target:(null==d||null==(n=d.ticketLink)?void 0:n.openInNewTab)?"_blank":"_self"})]})};var f=l(81156),y=l(50645),x=l(67231);let b=e=>{let{teamSocials:t,colorSchema:l}=e,r=(0,y.v)(t);return(0,a.jsx)("div",{className:(0,s.Id)("flex items-center","gap-4","empty:hidden",null==l?void 0:l.social),children:r.map(e=>(0,a.jsx)(f.default,{href:e.url,title:e.label,"aria-label":e.label,className:"hover:opacity-75",rel:"noopener noreferrer",target:"_blank",children:(0,x.a)(e.icon,{className:"border-current w-8 h-8"})},e.icon))})};var w=l(61165),j=l(62893);let N=e=>{let{category:t,teamThemeColor:l,layout:o,colorSchemaKey:i,isFullWidthLayout:n}=e;return(0,a.jsx)("div",{style:{backgroundColor:l}
1,className:"storyteller-container invisible h-0",children:(0,a.jsx)(r.A,{isFullWidth:!0,horizontalSpacing:j.jy.FullWidth,className:"relative px-0 py-6 lg:justify-center lg:py-12",children:(0,a.jsx)(w.default,{colorSchema:i,storytellerCategory:t,isFullWidthValue:n,storytellerLayout:o})})})};var T=l(15239),S=l(12115),A=l(37575),P=l(72634),k=l(43472),C=l(94439),I=l(19378),L=l(67785);let F=e=>{let{team:t,teamStats:l,clubTheme:i,colorSchema:n,competitionLogo:d,hideStoryteller:m,storytellerCategory:f,menuData:y,variables:x,isAnimated:w,isFullWidth:F=!1,isYourFavourite:B=!1}=e,E=(null==t?void 0:t.logoLight)||(null==t?void 0:t.logo),_=(0,S.useMemo)(()=>(0,I.Wt)(i,null==t?void 0:t.teamSlug),[i,null==t?void 0:t.teamSlug]),R={...(null==i?void 0:i.theme)&&k.Y[i.theme].buttonMenu,text:"text-white",background:"",menuHover:"",activeMenu:"bg-primary-on-dark text-black"},M=B&&(null==t?void 0:t.teamUrl);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(r.A,{isFullWidth:F,horizontalSpacing:F?j.jy.FullWidth:j.jy.Container,className:"relative flex flex-col gap-6 pt-6 lg:pt-12",children:[(0,a.jsx)("div",{className:"absolute inset-0 z-0 flex h-[900px] max-h-[1382px] w-[900px] max-w-[1382px] items-center justify-center overflow-hidden lg:h-full lg:w-full",children:(0,a.jsx)(T.default,{src:_.src,alt:_.alt,fill:!0,className:(0,s.QP)(_.className,"h-full w-full -translate-x-1/2 object-cover object-center lg:-translate-x-0")})}),(0,a.jsxs)("div",{className:(0,s.QP)("relative z-10 mb-6 flex flex-col lg:gap-14",B&&"px-0 md:px-4"),children:[(0,a.jsx)(o.default,{height:32,width:171.76,alt:"Competition Logo",src:(null==d?void 0:d.assetUrl)||"",transformations:A.N.competition_logo,className:(0,s.QP)("competition-logo ms-auto h-8 w-auto object-contain",B&&"h-5 w-30","lg:h-10 lg:w-auto")}),(0,a.jsxs)("div",{className:(0,s.QP)("grid grid-cols-1 gap-y-8 lg:grid-cols-12 lg:items-center lg:gap-x-6",B&&"mt-47 lg:mt-10"),children:[(0,a.jsxs)("div",{className:"col-span-1 lg:col-span-9 lg:flex lg:items-center lg:gap-4",children:[(0,a.jsx)(u.w,{condition:!!E,children:(0,a.jsx)("div",{className:(0,s.Id)("mb-2 flex shrink-0 items-center gap-2 lg:mb-0"),children:(0,a.jsx)(o.default,{width:40,height:40,src:E||"",transformations:A.N.image_square_large,alt:"".concat((0,g.Tl)("commons-logo"),": ").concat(t.officialName),className:(0,s.Id)("club-logo","object-contain object-center","size-[7.35rem] lg:size-[12.5rem]")})})}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)(h,{colorSchema:n,coach:(null==t?void 0:t.coach)||null,stadium:(null==t?void 0:t.stadium)||null,name:(null==t?void 0:t.officialName)||"",yearOfFoundation:(null==t?void 0:t.yearFoundation)||""}),(0,a.jsx)(b,{colorSchema:n,teamSocials:null==t?void 0:t.socials})]})]}),(0,a.jsx)("div",{className:"colspan-1 lg:col-span-3",children:(0,a.jsx)(c,{teamStats:l,colorSchema:n})})]}),(0,a.jsxs)("div",{className:(0,s.QP)("relative flex w-full justify-center",M&&"pb-13 lg:pb-0"),children:[(0,a.jsx)(v,{teamLinks:null==t?void 0:t.links,colorSchemaKey:null==i?void 0:i.theme}),M&&(0,a.jsx)("div",{className:"absolute top-21 right-1/2 translate-x-1/2 lg:top-0 lg:right-0 lg:translate-x-0",children:(0,a.jsx)(p.A,{className:n.viewBtnColor,rounding:"rounded",text:"View Club Profile",icon:"ArrowRight",size:"small",variant:"outline",url:null==t?void 0:t.teamUrl})})]})]})]}),(0,a.jsx)(u.w,{condition:!m,children:(0,a.jsx)(N,{category:f||(0,L.V)(null==t?void 0:t.teamId),teamThemeColor:null==i?void 0:i.primaryColor,layout:P.f.CIRCLE,colorSchemaKey:null==i?void 0:i.theme,isFullWidthLayout:!1})}),(0,a.jsx)(u.w,{condition:!!(null==y?void 0:y.length),children:(0,a.jsx)("div",{className:"border-t-[1px] border-white/50",children:(0,a.jsx)(C.default,{menuData:y||[],variables:null!=x?x:[],isAnimated:w,colorSchema:R})})})]})}},98147:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var a=l(95155),r=l(94940),o=l(35213);let i={"login-required":{title:"favorite-club-login-required-title",paragraph:"favorite-club-login-required-paragraph",confirmText:"favorite-club-login-required-confirm-cta",closeText:"favorite-club-login-required-cancel-cta"},remove:{title:"remove-favorite-club-modal-title",paragraph:"remove-favorite-club-modal-paragraph",confirmText:"remove-favorite-club-modal-confirm-cta",closeText:"remove-favorite-club-modal-cancel-cta"},add:{title:"add-favorite-club-modal-title",paragraph:"add-favorite-club-modal-paragraph",confirmText:"add-favorite-club-modal-confirm-cta",closeText:"add-favorite-club-modal-cancel-cta"}},n=e=>{let{pendingAction:t,confirmAction:l,cancelAction:n,isLoading:s,toast:d,colorSchemaKey:c}=e,u=t?i[t.type]:null;return(0,a.jsxs)(a.Fragment,{children:[t&&u&&(0,a.jsx)(o.A,{title:u.title,paragraph:u.paragraph,confirmText:u.confirmText,closeText:u.closeText,onClose:n,callback:l,colorSchemaKey:c,isLoading:s}),d.visible&&(0,a.jsx)(r.A,{title:d.title,type:d.type})]})}},98412:(e,t,l)=>{"use strict";l.d(t,{SQ:()=>o,f:()=>r});var a=l(17503);let r=(e,t)=>{let l=(0,a.Gn)(t);return Object.fromEntries(Object.entries(e).map(e=>
1{let[t,a]=e;return[t,((e,t,l)=>{let a={hidden:!t.includes(e)};return l&&l.length>0&&t.includes(e)&&(a.statsIds=l),a})(t,l,a)]}))},o=e=>e&&"string"==typeof e?e.split(",").map(e=>e.trim()).filter(Boolean).map(e=>{let t=e.split("|").map(e=>e.trim());return{qualificationLabel:t[0],qualificationColor:(t[1]||"").replace(/^['"]|['"]$/g,"")||void 0}}):[]},99463:()=>{},99666:(e,t,l)=>{"use strict";l.d(t,{MatchFiltersProvider:()=>h,S:()=>m});var a=l(95155),r=l(12115),o=l(11805),i=l(23183),n=l(41819),s=l(15126),d=l(50329),c=l(86737);let u=(0,r.createContext)(void 0),m=()=>{let e=(0,r.useContext)(u);if(!e)throw Error("useMatchFilters must be used within a MatchFiltersProvider");return e},h=e=>{let{children:t,initialMatches:l,defaultTab:m="fixtures",teamsWithCompetition:h,seasonIds:g,competitions:p}=e,{FLAG_LIVE_POLLING_ENABLED:v,FLAG_PRESERVE_SERVER_MATCH_URL:f}=(0,c.h)(),[y,x]=(0,r.useReducer)(i.Rz,{selectedClubs:[],selectedClubsMap:{},selectedDateRange:void 0,activeTab:m,polledMatches:new Map}),b=(0,r.useMemo)(()=>(0,i.Qd)(l,{preMatchWindowHours:2}),[l]),w=(0,r.useCallback)(async()=>{let e=new Date;e.setDate(e.getDate()-1);let t=new Date;return t.setDate(t.getDate()+1),await (0,d.O)({seasonIds:g,startDate:e.toISOString(),endDate:t.toISOString()})},[g]),j=(0,r.useCallback)(e=>{if(!(null==e?void 0:e.matches))return;let t=e.matches.map(e=>({...e,home:e.home||{},away:e.away||{}}));x({type:"UPDATE_POLLED_MATCHES",payload:(0,s.I)(t,l,f)})},[l,f]);(0,n.n)(w,j,{enabled:b,interval:3e4,featureFlagEnabled:v});let N=(0,r.useMemo)(()=>(0,i.lo)(h),[h]),T=(0,r.useMemo)(()=>(0,i.mu)(l,N),[l,N]),S=(0,r.useMemo)(()=>(0,o.wX)(l,{selectedClubs:y.selectedClubs,selectedDateRange:y.selectedDateRange,activeTab:y.activeTab}),[l,y.selectedClubs,y.selectedDateRange,y.activeTab]),A=(0,r.useMemo)(()=>{let e=new Map;T.forEach(t=>{[t.home,t.away].forEach(t=>{!(null==t?void 0:t.teamId)||e.has(t.teamId)||e.set(t.teamId,{id:t.teamId,name:t.officialName||t.mediaName||t.shortName||t.teamId,shortName:t.shortName,competitionSlug:null==t?void 0:t.teamCompetition})})});let t=Array.from(e.values()).sort((e,t)=>e.name.localeCompare(t.name));return(0,i.Gb)(t)},[T]),P=(0,r.useMemo)(()=>({setSelectedClubs:e=>x({type:"SET_SELECTED_CLUBS",payload:e}),setSelectedDateRange:e=>x({type:"SET_DATE_RANGE",payload:e}),setActiveTab:e=>x({type:"SET_ACTIVE_TAB",payload:e}),resetFilters:()=>x({type:"RESET_FILTERS",payload:{defaultTab:m}}),selectClubs:e=>{let t=(0,i.WU)(e,y.selectedClubs),a=(0,i.i$)(e,l,y.selectedClubs);t.length>0&&x({type:"SELECT_CLUBS",payload:{clubIds:t,clubsMap:a}})},unselectClub:e=>x({type:"UNSELECT_CLUB",payload:e})}),[m,l,y.selectedClubs]),k=(0,r.useMemo)(()=>({allMatches:l,filteredMatches:S,selectedClubs:y.selectedClubs,selectedClubsMap:y.selectedClubsMap,selectedDateRange:y.selectedDateRange,activeTab:y.activeTab,totalMatches:l.length,filteredCount:S.length,clubsByLeague:A,teamsMap:N,polledMatches:y.polledMatches,competitions:p,...P}),[l,S,y,A,P,N,p]);return(0,a.jsx)(u.Provider,{value:k,children:t})}}}]);
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.