!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0c748428-bc40-4021-a53b-f084c28724d8",e._sentryDebugIdIdentifier="sentry-dbid-0c748428-bc40-4021-a53b-f084c28724d8")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[45151,97565],{7643:(e,t,n)=>{n.d(t,{Ay:()=>d});var s=n(55729),l=n(45860),r=n(17259),i=n(27133);let a=e=>(0,r.lK)(e?e(0,null):null)[0],o=Promise.resolve(),d=(0,r.Ht)(l.Ay,e=>(t,n,l)=>{let d,u=(0,s.useRef)(!1),{cache:c,initialSize:m=1,revalidateAll:p=!1,persistSize:x=!1,revalidateFirstPage:h=!0,revalidateOnMount:v=!1,parallel:f=!1}=l,[,,,g]=r.bZ.get(r.PP);try{(d=a(t))&&(d=r.q9+d)}catch(e){}let[j,b,y]=(0,r.r9)(c,d),I=(0,s.useCallback)(()=>(0,r.b0)(j()._l)?m:j()._l,[c,d,m]);(0,i.useSyncExternalStore)((0,s.useCallback)(e=>d?y(d,()=>{e()}):()=>{},[c,d]),I,I);let T=(0,s.useCallback)(()=>{let e=j()._l;return(0,r.b0)(e)?m:e},[d,m]),_=(0,s.useRef)(T());(0,r.Es)(()=>{if(!u.current){u.current=!0;return}d&&b({_l:x?_.current:T()})},[d,c]);let w=v&&!u.current,M=e(d,async e=>{let s=j()._i,i=[],a=T(),[o]=(0,r.r9)(c,e),d=o().data,u=[],m=null;for(let e=0;e{if(a in g){let e=g[a];delete g[a],j=await e}else j=await n(o);v({data:j,_k:o}),i[e]=j};f?u.push(t):await t()}else i[e]=j;f||(m=j)}return f&&await Promise.all(u.map(e=>e())),b({_i:r.ZH}),i},l),k=(0,s.useCallback)(function(e,t){let n="boolean"==typeof t?{revalidate:t}:t||{},s=!1!==n.revalidate;return d?(s&&((0,r.b0)(e)?b({_i:!0}):b({_i:!1})),arguments.length?M.mutate(e,{...n,revalidate:s}):M.mutate()):o},[d,c]),C=(0,s.useCallback)(e=>{let n;if(!d)return o;let[,s]=(0,r.r9)(c,d);if((0,r.Tn)(e)?n=e(T()):"number"==typeof e&&(n=e),"number"!=typeof n)return o;s({_l:n}),_.current=n;let l=[],[i]=(0,r.r9)(c,d),a=null;for(let e=0;e{n.d(t,{L:()=>i});var s=n(55729),l=n(76523),r=n(62827);let i=()=>{let[e,t]=(0,r.bL)(l.L,!1);(0,s.useEffect)(()=>(t(!0),()=>{t(!1)}),[])}},45151:(e,t,n)=>{n.r(t),n.d(t,{default:()=>x});var s=n(6029),l=n(21377),r=n(99064),i=n(55729),a=n(90248),o=n(62859),d=n(12047),u=n(70683),c=n(35959),m=function(e){return e[e.Results=0]="Results",e[e.Fixtures=1]="Fixtures",e[e.All=2]="All",e[e.Singles=3]="Singles",e[e.Doubles=4]="Doubles",e}(m||{});let p=[l.QCR.Tennis];function x(e){var t;let{hasSingles:n=!1,hasDoubles:m=!1}=e,x=(0,i.useContext)(o.Ws),h=p.includes(x),[v,f]=(0,i.useState)(h?2:1),g=(0,d.Ay)(),j=async()=>{let t=l.lX$.eventListRoutes({entity:e.entity,id:e.id,seasonId:e.seasonId,isPast:!1,page:0});if(!t)return;let n=(0,l.Lo9)(t),s=await fetch(n,{method:"HEAD",headers:l.jAu});(null==s?void 0:s.ok)||f(2*!!h)};return(0,i.useEffect)(()=>{e.entity===l.wNW.Player||h||j()},[]),(0,c.L)(),(0,s.jsxs)(r.tU,{variant:h?"quaternary":"tertiary",initialValue:h?2:1,value:v,onChange:e=>f(e),children:[(!h||n&&m)&&(0,s.jsx)(r.PI,{top:null!=(t=e.top)?t:g,bg:"surface.s1",p:"sm",children:h&&n&&m?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.tU.Tab,{tabKey:2,children:(0,s.jsx)(a.A,{id:"basic.all"})}),(0,s.jsx)(r.tU.Tab,{tabKey:3,children:(0,s.jsx)(a.A,{id:"tennis_singles"})}),(0,s.jsx)(r.tU.Tab,{tabKey:4,children:(0,s.jsx)(a.A,{id:"tennis_doubles"})})]}):h?null:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.tU.Tab,{tabKey:0,children:(0,s.jsx)(a.A,{id:"basic.results"})}),(0,s.jsx)(r.tU.Tab,{tabKey:1,children:(0,s.jsx)(a.A,{id:"basic.fixtures"})})]})}),h&&n&&m?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.tU.Panel,{tabKey:2,children:(0,s.jsx)(u.l,{...e,isPast:!0,matchesTypeFilter:void 0})}),(0,s.jsx)(r.tU.Panel,{tabKey:3,children:(0,s.jsx)(u.l,{...e,isPast:!0,matchesTypeFilter:l.nJ5.Singles})}),(0,s.jsx)(r.tU.Panel,{tabKey:4,children:(0,s.jsx)(u.l,{...e,isPast:!0,matchesTypeFilter:l.nJ5.Doubles})})]}):h?(0,s.jsx)(u.l,{...e,isPast:!0,matchesTypeFilter:void 0}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.tU.Panel,{tabKey:0,children:(0,s.jsx)(u.l,{...e,isPast:!0})}),(0,s.jsx)(r.tU.Panel,{tabKey:1,children:(0,s.jsx)(u.l,{...e,isPast:!1})})]})]})}},70683:(e,t,n)=>{n.d(t,{l:()=>j});var s=n(6029),l=n(21377),r=n(99064),i=n(48683),a=n(76868),o=n(22648),d=n(75508),u=n(55729),c=n(43072),m=n(494),p=n(7643),x=n(95211);let h=(e,t,n)=>(s,r)=>t===l.wNW.Team?s===e:t===l.wNW.Manager&&!!n&&s===n[r],v=e=>{let{id:t,entity:n,statisticsMap:s,playedForTeamMap:r,managedTeamMap:i,onBenchMap:a,incidentsMap:o,player:d,statisticFilter:u}=e;return n===l.wNW.Team?(0,x.ey)({isReferenceTeamId:h(t,n)}):n===l.wNW.Manager&&i?(0,x.ey)({isReferenceTeamId:h(t,n,i),incidentsMap:o,entity:n}):n===l.wNW.Player?e=>{var t;return(0,x.G)({selectedStatistic:u,statistics:null==s?void 0:s[e],isOnBench:null!=(t=null==a?void 0:a[e])&&t,playedFor:r?r[e]:void 0,incidents:o?o[e]:void 0,player:d})}:x.gY},f=(e,t)=>({managedTeamMap:{...e.managedTeamMap||{},...t.managedTeamMap||{}},statisticsMap:{...e.statisticsMap||{},...t.statisticsMap||{}},playedForTeamMap:{...e.playedForTeamMap||{},...t.playedForTeamMap||{}},incidentsMap:{...e.incidentsMap||{},...t.incidentsMap||{}},onBenchMap:{...e.onBenchMap||{},...t.onBenchMap||{}}});var g=n(89489);let j=e=>{var t;let{entity:n,id:x,uniqueTournamentId:h,seasonId:j,player:b,transfers:y,isPast:I,hideHeader:T,matchesTypeFilter:_,statisticFilter:w}=e,M=function(e){let{entity:t,id:n,uniqueTournamentId:s,seasonId:r,isPast:i,matchesTypeFilter:a}=e,o=(0,m.wA)(),{flatEvents:d,setSize:x,maps:h,hasMore:v,isValidating:j,error:b,...y}=function(e){let{entity:t,id:n,uniqueTournamentId:s,seasonId:r,isPast:i,matchesTypeFilter:a}=e,{data:o,size:d,setSize:u,isValidating:c,error:m}=(0,p.Ay)((e,o)=>0===e||(null==o?void 0:o.hasNextPage)?l.lX$.eventListRoutes({entity:t,id:n,uniqueTournamentId:s,seasonId:r,isPast:i,page:e,matchesTypeFilter:a}):null,l.TtD),x=o||[],h=x.reduce((e,t)=>[...e,...t.events],[]),v=x.reduce((e,t)=>f(e,t),{statisticsMap:{},playedForTeamMap:{},managedTeamMap:{},onBenchMap:{},incidentsMap:{}}),g=!!x.length&&x[x.length-1].hasNextPage;return{flatEvents:h,data:x||[],size:d,setSize:u,maps:v,hasMore:g,isValidating:c,error:m}}({entity:t,id:n,uniqueTournamentId:s,seasonId:r,isPast:i,matchesTypeFilter:a}),{ref:I,inView:T}=(0,c.Wx)(),_=v&&d.length?d.length-10:void 0;return(0,u.useEffect)(()=>{T&&v&&!j&&x(e=>e+1)},[T]),(0,u.useEffect)(()=>{o((0,g.oU)(d))},[d.length]),{flatEvents:d,hasMore:v,maps:h,triggerRef:I,triggerIndex:_,isLoadingInitial:!b&&!d.length,isValidating:j,setSize:x,error:b,...y}}({entity:n,id:x,uniqueTournamentId:h,seasonId:j,isPast:I,matchesTypeFilter:_});return(null==M||null==(t=M.flatEvents)?void 0:t.length)||M.isLoadingInitial?(0,s.jsxs)(r.az,{children:[(0,s.jsx)(d.b,{descending:I,events:M.flatEvents,isMobile:!0,eventCell:v({entity:n,id:x,player:b,statisticFilter:w,...M.maps}),isEventCellFactory:n===l.wNW.Player,triggerRef:M.triggerRef,triggerIndex:M.triggerIndex,transfers:y,hideHeader:T,asCards:!0}),M.hasMore&&(0,s.jsx)(r.az,{pb:"sm",children:(0,s.jsx)(o.a,{})})]}):(0,s.jsx)(r.az,{p:"sm",children:(0,s.jsx)(i.Zp,{children:(0,s.jsx)(a.p,{graphic:"no-data",titleMessageId:"basic.noEvents"})})})}},97565:(e,t,n)=>{n.r(t),n.d(t,{EventListContainer:()=>H,default:()=>z});var s=n(6029),l=n(21377),r=n(28349),i=n(99064),a=n(55729),o=n(90248),d=n(48683),u=n(62859),c=n(97944),m=n(45151),p=n(61836),x=n(62827),h=n(86679),v=n(12047),f=n(76356);function g(e){let{uniqueTournamentId:t,seasonId:n}=e;return(0,s.jsxs)(d.WC,{variant:"square",children:[(0,s.jsx)(f.cG,{color:"neutrals.nLv4",borderBlockEndStyle:"solid"}),(0,s.jsx)(c.S,{id:t,seasonId:n,entity:l.wNW.UniqueTournament,hideHeader:!0}),(0,s.jsx)(d.Zp.Footer,{})]})}var j=n(494),b=n(45860),y=n(89489),I=n(47530),T=n(78383),_=n.n(T),w=n(54409),M=n(75508),k=n(95211),C=n(31254);function A(e){let{events:t,eventCell:n,header:l,onClick:r,isMobile:o,currentRound:d,lastClickedEvent:u}=e,c=n||k.gY,m=l||C.sm,p=null;if(!t||!t.length)return null;let x=t[0].tournament.category.sport.slug;return(0,s.jsxs)(s.Fragment,{children:[!!d&&(0,s.jsx)(i.EY,{font:"assistive.default",color:"onSurface.nLv3",p:"lg",pb:"sm",block:!0,children:(0,s.jsx)(I.DT,{round:d,sport:x})}),t.map(e=>{var t;let n=null!=(t=e.tournament.id)?t:null,l=null;return n!==p&&(l=(0,s.jsx)(m,{tournament:e.tournament,sport:e.tournament.category.sport,preferTournamentName:!0}),p=n),(0,s.jsxs)(a.Fragment,{children:[l,(0,s.jsx)(c,{event:e,onClick:r,isMobile:o,isSelected:u===e.id})]},e.id)})]})}function P(e){let{round:t,sport:n}=e;return(0,s.jsx)(i.EY,{font:"assistive.default",color:"onSurface.nLv3",px:"lg",pt:"lg",pb:"sm",block:!0,children:(0,s.jsx)(I.DT,{round:t,sport:n})})}function S(e){let{events:t,eventCell:n,onClick:l,isMobile:r,lastClickedEvent:o}=e,d=n||k.gY,u=-1;if(!t||!t.length)return null;let c=t[0].tournament.category.sport.slug;return(0,s.jsx)(s.Fragment,{children:t.sort((e,t)=>e.roundInfo&&t.roundInfo?e.roundInfo.round-t.roundInfo.round:e.startTimestamp-t.startTimestamp).map((e,t)=>{var n,m;let p=null!=(m=null==(n=e.roundInfo)?void 0:n.round)?m:null,x=null;return p&&p!==u&&(x=(0,s.jsx)(P,{round:e.roundInfo,sport:c}),u=p),(0,s.jsxs)(a.Fragment,{children:[!!x&&(0,s.jsxs)(a.Fragment,{children:[0!==t&&(0,s.jsx)(i.cG,{}),x]}),(0,s.jsx)(d,{event:e,onClick:l,isMobile:r,isSelected:o===e.id})]},e.id)})})}var U=n(6354),E=n(99325);function F(e){let t,{items:n,events:l,currentItemIndex:o,setCurrentItemIndex:u,renderItem:c,groupBy:m,top:p}=e,x=(0,a.useRef)(null),{isMobile:h}=(0,r.$c)(),v=(0,a.useContext)(U.O),f=v.editor&&v.seasonId&&v.uniqueTournamentId,g=null!=n&&!!n.length&&o===n.length-1,j=(null==n?void 0:n.length)&&-1!==o,b=_(),y=_();return -1!==o&&(t=null==n?void 0:n[o],b=()=>u(o-1),y=()=>u(o+1)),(0,s.jsxs)(i.az,{children:[(0,s.jsxs)("div",{className:"list-wrapper",ref:x,children:[h?!!j&&(0,s.jsx)(i.PI,{top:p,bg:"surface.s1",p:"sm",zIndex:i.Py.Sticky-2,children:(0,s.jsx)(i.ms,{items:n,onSelectedItemChange:e=>{let{selectedItemIndex:t}=e;void 0!==t&&u(t)},selectedItem:t,renderItem:c,scrollToHighlighted:!0,forceMenuBelow:!0})}):(0,s.jsx)(d.Zp,{variant:"mobile-only",children:(0,s.jsxs)(i.so,{py:"sm",px:"lg",borderTop:[void 0,"onSurface.nLv4"],borderBottom:[void 0,"onSurface.nLv4"],justify:"space-between",children:[(0,s.jsx)(i.$n,{variant:"outline",h:"32",py:"xs",px:"sm",onClick:b,style:{visibility:"".concat(0===o?"hidden":"visible")},children:(0,s.jsx)(w.pa2,{fill:"primary.default"})}),!!j&&(0,s.jsx)(i.ms,{items:n,onSelectedItemChange:e=>{let{selectedItemIndex:t}=e;void 0!==t&&u(t)},selectedItem:t,renderItem:c,scrollToHighlighted:!0,forceMenuBelow:!0}),(0,s.jsx)(i.$n,{variant:"outline",h:"32",py:"xs",px:"sm",onClick:y,style:{visibility:"".concat(g?"hidden":"visible")},children:(0,s.jsx)(w.CCT,{fill:"primary.default"})})]})}),(0,s.jsx)(i.az,{px:["sm",0],pb:["sm",0],children:(0,s.jsx)(d.Zp,{variant:"mobile-only",children:(0,s.jsx)(i.az,{mt:["sm",0],pb:[l&&l.length?"sm":0,"lg"],minH:["auto",600],children:(()=>{switch(m){case"groups":return(0,s.jsx)(A,{events:l,isMobile:h,currentRound:t});case"rounds":return(0,s.jsx)(S,{events:l,isMobile:h});default:return(0,s.jsx)(M.b,{events:l,isMobile:h})}})()})})})]}),f&&(0,s.jsx)(i.az,{h:110*!!f,p:"sm",children:(0,s.jsx)(E.G,{tournamentId:v.uniqueTournamentId,seasonId:v.seasonId})})]})}function N(e){let{uniqueTournamentId:t,seasonId:n,top:r,sport:i}=e,[o,d]=(0,a.useState)(-1),u=(0,j.wA)(),{data:c}=(0,b.Ay)(l.V3t.seasonGroups(t,n)),m=c?c.groups:[];(0,a.useEffect)(()=>{c&&d(0)},[c]);let p=-1!==o?m[o]:null,{data:x}=(0,b.Ay)(p&&l.yKR.seasonEvents(p.tournamentId,n));(0,a.useEffect)(()=>{x&&u((0,y.oU)(x.events))},[x]);let h=x?x.events:[];return(0,s.jsx)(F,{items:m,events:h,currentItemIndex:o,setCurrentItemIndex:d,renderItem:e=>e?(0,s.jsx)(I.__,{name:e.groupName,sport:i}):"",groupBy:"rounds",top:r})}function K(e){let{uniqueTournamentId:t,seasonId:n,top:r,sport:i}=e,[o,d]=(0,a.useState)(-1),u=(0,j.wA)(),{data:c}=(0,b.Ay)(l.V3t.seasonRounds(t,n));(0,a.useEffect)(()=>{if(c){let{currentRound:e,rounds:t}=c;d(Math.max(0,t.findIndex(t=>t.name===e.name&&t.round===e.round&&t.prefix===e.prefix)))}},[c]);let m=null==c?void 0:c.rounds[o],{data:p}=(0,b.Ay)(m?l.V3t.roundEvents(t,n,m.round,m.slug,m.prefix):null);(0,a.useEffect)(()=>{p&&u((0,y.oU)(p.events))},[p]);let x=p?p.events:[];return(0,s.jsx)(F,{items:null==c?void 0:c.rounds,events:x,currentItemIndex:o,setCurrentItemIndex:d,renderItem:e=>(0,s.jsx)(I.DT,{round:e,sport:i}),groupBy:"groups",top:r})}var L=n(74761),R=n(90510),B=n(60988),V=n(8973);function D(e){let{events:t,eventCell:n,onClick:l,isMobile:r,lastClickedEvent:a}=e,o=n||k.gY,{isNarrow:u}=(0,B.lv)();if(!t||!t.length)return null;let c=t.reduce((e,t)=>{let n=new Date(1e3*t.startTimestamp).setHours(0,0,0,0);return e[n]||(e[n]=[]),e[n].push(t),e},{});return(0,s.jsx)(k.MC.Provider,{value:{statusTimeOnly:!0,location:V.y.MatchesSection},children:(0,s.jsx)(i.so,{direction:"column",gap:"sm",children:Object.entries(c).sort((e,t)=>{let[n]=e,[s]=t;return Number(s)-Number(n)}).map(e=>{let[t,n]=e;return(0,s.jsxs)(d.Zp,{variant:"mobile-only",children:[(0,s.jsx)(i.EY,{font:"display.micro",color:"onSurface.nLv3",p:"lg",pb:"sm",block:!0,children:(0,s.jsx)(R.XU,{value:Number(t)/1e3*1e3,year:"numeric",month:"numeric",day:"2-digit"})}),n.map(e=>(0,s.jsx)(o,{event:e,onClick:l,isMobile:r,isSelected:a===e.id,isNarrow:u},e.id))]},t)})})})}function W(e){var t,n,u;let{uniqueTournamentId:c,seasonId:m,top:p}=e,[x,h]=(0,a.useState)(void 0),v=(0,j.wA)(),{isMobile:f}=(0,r.$c)(),g=(0,a.useRef)(null),{data:I}=(0,b.Ay)(l.V3t.seasonVenues(c,m)),{data:T}=(0,b.Ay)(void 0!==x?l.V3t.venueEvents(c,m,x,"all"):null),_=null!=(n=null==I?void 0:I.venues)?n:[],w=null==_?void 0:_.findIndex(e=>e.id===x),M=null==_?void 0:_[w],k=null!=(u=null==T?void 0:T.events)?u:[];return((0,a.useEffect)(()=>{var e;(null==I||null==(e=I.venues)?void 0:e.length)&&void 0===x&&h(null==I?void 0:I.venues[0].id)},[I,x]),(0,a.useEffect)(()=>{T&&v((0,y.oU)(k))},[T,v]),null==I||null==(t=I.venues)?void 0:t.length)?(0,s.jsx)(i.az,{children:(0,s.jsxs)("div",{className:"list-wrapper",ref:g,children:[f?!!(null==_?void 0:_.length)&&(0,s.jsx)(i.PI,{top:p,bg:"surface.s1",p:"sm",zIndex:i.Py.Sticky-2,children:(0,s.jsxs)(i.so,{direction:"column",gap:"lg",children:[(0,s.jsx)(i.ms,{items:_,onSelectedItemChange:e=>{let{selectedItemIndex:t}=e;void 0!==t&&h(_[t].id)},selectedItem:M,renderItem:e=>e?(0,s.jsx)(o.A,{id:null==e?void 0:e.name}):"",scrollToHighlighted:!0,forceMenuBelow:!0}),(0,s.jsx)(L.$,{messageId:"tennis_disclaimer_not_before_times"})]})}):(0,s.jsxs)(d.Zp,{variant:"mobile-only",children:[(0,s.jsx)(i.so,{py:"sm",px:"sm",borderTop:[void 0,"onSurface.nLv4"],borderBottom:[void 0,"onSurface.nLv4"],direction:"column",gap:"lg",children:!!(null==_?void 0:_.length)&&(0,s.jsx)(i.ms,{items:_,onSelectedItemChange:e=>{let{selectedItemIndex:t}=e;void 0!==t&&h(_[t].id)},selectedItem:M,renderItem:e=>e?(0,s.jsx)(o.A,{id:null==e?void 0:e.name}):"",scrollToHighlighted:!0,forceMenuBelow:!0})}),(0,s.jsx)(i.az,{p:"sm",children:(0,s.jsx)(L.$,{messageId:"tennis_disclaimer_not_before_times"})})]}),(0,s.jsx)(i.az,{px:["sm",0],pb:[k&&k.length?"sm":0,"lg"],mt:["sm",0],minH:["auto",600],children:(0,s.jsx)(D,{events:k,isMobile:f})})]})}):null}var q=function(e){return e.Date="date",e.Round="round",e.Group="group",e.Venue="venue",e}(q||{});function H(e){let{uniqueTournamentId:t,seasonId:n}=e,{isMobile:f}=(0,r.$c)(),j=(0,a.useContext)(u.Ws),b=j===l.QCR.Tennis,y=(0,v.Ay)(),I=j===l.QCR.AmericanFootball,{hasByRound:T,hasByGroup:_,hasByVenue:w}=(0,h.A)({hasByRound:{route:l.V3t.seasonRounds(t,n)},hasByGroup:{route:l.V3t.seasonGroups(t,n)},hasByVenue:{route:l.V3t.seasonVenues(t,n)}},[t,n]);return void 0===T||void 0===_||void 0===w?null:T||_||w?(0,s.jsxs)(d.Zp,{variant:"desktop-only",children:[(0,s.jsx)(d.Zp.Header,{titleId:"matches",values:{sport:(0,x.ap)(j)},visibility:"desktop-only"}),(0,s.jsxs)(i.tU,{variant:"quaternary",initialValue:T?"round":"date",onChange:()=>{f&&window.scrollTo({top:0})},children:[(0,s.jsxs)(r.PI,{top:y,p:"sm",bg:"surface.s1",borderBottom:{mdDown:"1px solid {colors.neutrals.nLv4}"},children:[(0,s.jsx)(i.tU.Tab,{tabKey:"date",onClick:()=>(0,p.ke)({action:"click",location:"matches_screen",type:"date"}),children:(0,s.jsx)(o.A,{id:"chip_by_date"})}),w&&b&&(0,s.jsx)(i.tU.Tab,{tabKey:"venue",onClick:()=>(0,p.ke)({action:"click",location:"matches_screen",type:"court"}),children:(0,s.jsx)(o.A,{id:"chip_by_tennis_court"})}),T&&(0,s.jsx)(i.tU.Tab,{tabKey:"round",onClick:()=>(0,p.ke)({action:"click",location:"matches_screen",type:"round"}),children:(0,s.jsx)(o.A,{id:I?"chip_by_week":"chip_by_round"})}),_&&(0,s.jsx)(i.tU.Tab,{tabKey:"group",onClick:()=>(0,p.ke)({action:"click",location:"matches_screen",type:"group"}),children:(0,s.jsx)(o.A,{id:"chip_by_group"})})]}),(0,s.jsx)(i.tU.Panel,{tabKey:"date",children:f?(0,s.jsx)(m.default,{id:t,seasonId:n,entity:l.wNW.UniqueTournament,top:y+51}):(0,s.jsx)(g,{uniqueTournamentId:t,seasonId:n})}),T&&(0,s.jsx)(i.tU.Panel,{tabKey:"round",children:(0,s.jsx)(K,{uniqueTournamentId:t,seasonId:n,sport:j,top:y+51})}),_&&(0,s.jsx)(i.tU.Panel,{tabKey:"group",children:(0,s.jsx)(N,{uniqueTournamentId:t,seasonId:n,sport:j,top:y+51})}),w&&(0,s.jsx)(i.tU.Panel,{tabKey:"venue",children:(0,s.jsx)(W,{uniqueTournamentId:t,seasonId:n,sport:j,top:y+51})})]})]}):f?(0,s.jsx)(m.default,{id:t,seasonId:n,entity:l.wNW.UniqueTournament}):(0,s.jsx)(c.S,{id:t,seasonId:n,entity:l.wNW.UniqueTournament})}let z=H},97944:(e,t,n)=>{n.d(t,{S:()=>s.A});var s=n(73463)}}]);