!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]="b5a0a5a1-f3a0-49e6-a316-a07fd791a476",e._sentryDebugIdIdentifier="sentry-dbid-b5a0a5a1-f3a0-49e6-a316-a07fd791a476")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2661],{5641:(e,t,a)=>{a.d(t,{A:()=>r,s:()=>n});var n=function(e){return e.DISCOVERY_PLUS="DISCOVERY_PLUS",e.MAX="MAX",e.HBO_MAX="HBO_MAX",e}({}),r=function(e){return e.SQUARE="SQUARE",e.RATIO_16x9="RATIO_16x9",e}({})},22611:(e,t,a)=>{a.d(t,{A6:()=>l,Du:()=>i,My:()=>n,Xt:()=>r});var n="TemplateSectionButtonLink",r="TemplateSectionButtonTab",i=function(e){return e.EXTRA_EXTRA_LARGE="EXTRA_EXTRA_LARGE",e.EXTRA_LARGE="EXTRA_LARGE",e.LARGE="LARGE",e.MEDIUM="MEDIUM",e.SMALL="SMALL",e}({}),l=function(e){return e.DEFAULT="DEFAULT",e.H1="H1",e.H2="H2",e.H3="H3",e}({})},23005:(e,t,a)=>{a.d(t,{A:()=>O});var n=a(7620),r=a(12973),i=a(77785),l=a.n(i),o=a(69292);let s=function(e){var t=e.text,a=e.className,i=e.tokenVariant,s=(0,o.P)(),c=s.isEurosport,u=s.isTNTSports;return n.createElement("div",{className:l()("ml-4 line-clamp-4 max-w-17.5 break-words text-center md:ml-16 lg:max-w-30",{"caps-s7-fx lg:caps-s5-fx":c,"caption-3 lg:caption-2":u},a,{"text-onDark-02":i===r.N.ON_DARK,"text-onLight-01":i===r.N.ON_LIGHT}),"data-testid":"vertical-head-to-head-score-atom-no-score-content-box"},t)};var c=a(14615),u=a(73493);let m=function(e){var t=e.score,a=e.tieBreak,i=e.status,s=e.dataTestid,m=e.className,d=e.isWinner,p=e.tokenVariant,f=e.textStyleVariant,h=i===c.g.LIVE,v=i===c.g.FINISHED,g=i===c.g.UPCOMING,b=v&&!d,E=(0,o.P)(),x=E.isTNTSports,y=E.isEurosport,O=l()({"text-onDark-02":!b,"text-onDark-03":b}),w=l()("rounded-2",{"text-onLight-02 bg-fill-03":g,"text-onDark-01":!b&&!g,"text-onDark-03":b&&!g,"bg-fill-15":h,"bg-fill-10":v});return n.createElement("div",{className:l()("flex-center h-full min-h-[25px] min-w-[25px] font-bold uppercase lg:min-h-8 lg:min-w-8 lg:p-1",p===r.N.ON_LIGHT&&w,p===r.N.ON_DARK&&O,m,{"caps-s6-fx lg:caps-s5-fx":f===u.w.SMALL&&y,"label-3 lg:label-2":f===u.w.SMALL&&x,"caps-s5-fx lg:caps-s4-fx":f===u.w.LARGE&&y,"label-2 lg:label-1":f===u.w.LARGE&&x}),"data-testid":s},n.createElement("div",{className:"truncate px-0.75 leading-16"},t,a&&n.createElement("sup",{className:l()({"caps-s7-fx":y,"label-4":x})},a)))};function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t1;return n.createElement("div",{className:l()({"grid-row-gap grid grid-rows-[repeat(3,minmax(1px,auto))] gap-x-px gap-y-0.5 text-center":s},{"flex flex-col space-y-0.5":!s}),style:s?{gridTemplateColumns:"repeat(".concat(o,",minmax(0,auto))")}:void 0,"data-testid":"vertical-head-to-head-score-grid"},t.map(function(e,t){return n.createElement(m,d({},e,{tokenVariant:r,className:l()({"self-end":!s}),key:t,textStyleVariant:i,dataTestid:"vertical-head-to-head-score-atom-score-home-content-box-".concat(t+1)}),e.score)}),n.createElement("div",{className:l()(s&&"col-span-full row-start-2")},n.createElement("hr",{className:"h-0.5 bg-onLight-04"})),a.map(function(e,t){return n.createElement(m,d({},e,{tokenVariant:r,className:l()({"self-end":!s}),key:t,textStyleVariant:i,dataTestid:"vertical-head-to-head-score-atom-score-away-content-box-".concat(t+1)}),e.score)}))};var f=a(60348),h=a(40071),v=a(56621),g=a(88607);function b(){return(b=Object.assign?Object.assign.bind():function(e){for(var t=1;t0||v.length>0;return n.createElement("div",{className:"flex flex-1 items-center","data-testid":"vertical-head-to-head-match-card-score-atom"},n.createElement("div",{className:"relative flex min-w-11 flex-1 flex-col"},a&&n.createElement(y,{tennisParticipant:a,verticalHeadToHeadScoreVariant:u.y.HOME,status:t,isClickable:o,tokenVariant:m}),n.createElement("hr",{className:"my-0.5 h-0.5 bg-onLight-04"}),i&&n.createElement(y,{tennisParticipant:i,verticalHeadToHeadScoreVariant:u.y.AWAY,status:t,isClickable:o,tokenVariant:m})),g&&n.createElement(p,{homeSets:h,awaySets:v,tokenVariant:m,textStyleVariant:f}),l&&n.createElement(s,{text:l,tokenVariant:m}))}},23308:(e,t,a)=>{a.d(t,{A:()=>h});var n=a(7620),r=a(77785),i=a.n(r),l=a(97509),o=a(1634),s=a(82275),c=a(94770),u=a(94327),m=a(83681);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var a=0,n=Array(t);a=v&&L>=0,j=(0,n.useMemo)(function(){return h===u.F.ELEMENT_ON_TOP?R:h===u.F.CUSTOM_SCROLL_POSITION&&D},[R,D,h]),H=n.createElement("div",{className:i()("fixed",a),"data-testid":"sticky-portal-content"},f),V=b?n.createElement(c.A,null,n.createElement(s.A,d({className:"mx-[-1px] contain-layout"},b),H)):H,G=_?V:f,B=j?"-sticked":"";return n.createElement(m.r.Provider,{value:{isSticked:j}},n.createElement("div",{className:t,"data-testid":"atom-sticky".concat(B),ref:M},n.createElement("div",{className:i()({"sticky bottom-0 w-full":j&&!_})},x&&j&&_?l.createPortal(G,_):f)))}},31200:(e,t,a)=>{a.d(t,{A:()=>p});var n=a(7620),r=a(77785),i=a.n(r),l=a(274),o=a(84397),s=a(12973);let c=function(e){return n.createElement("div",{className:i()("lg:w-cols lg:w-cols-4 w-full lg:m-auto",e.className),"data-testid":"atom-template-section-button"},"TemplateSectionButtonLink"===e._type&&n.createElement(l.A,{tokenVariant:s.N.ON_LIGHT,variant:o.A.OUTLINE,href:e.url,target:"_blank",fullWidth:!0,size:o.M.RESPONSIVE,className:"flex w-full justify-center","data-testid":"atom-template-section-button-link"},e.title),"TemplateSectionButtonTab"===e._type&&n.createElement(l.A,{tokenVariant:s.N.ON_LIGHT,variant:o.A.OUTLINE,onClick:function(){window.scrollTo(0,0),e.callback()},size:o.M.RESPONSIVE,fullWidth:!0,"data-testid":"atom-template-section-button-tab"},e.title))};var u=a(90719),m=a(52);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.d(t,{A:()=>s});var n=a(7620),r=a(77785),i=a.n(r),l=a(52),o=Object.assign((0,n.forwardRef)(function(e,t){var a=e.children,r=(0,l.A)(a).filter(function(e){return e.type===o.Section});return n.createElement("div",{"data-testid":"atom-template-sections",ref:t},r)}),{Section:function(e){var t=e.children,a=e.hasTopDivider,r=e.hasTopMargin,l=e.breakpoints||{},o=l.displayOnDesktop,s=l.displayOnTablet,c=l.displayOnMobile;return n.createElement("div",{className:i()({"-md:hidden":!(void 0===c||c),"md-lg:hidden":!(void 0===s||s),"lg:hidden":!(void 0===o||o),"mt-5 md:mt-10":r,"lg:border-t lg:border-solid lg:border-br-2-30 lg:pt-10":a})},t)}});let s=o},60005:(e,t,a)=>{a.d(t,{A:()=>h});var n=a(7620),r=a(77785),i=a.n(r),l=a(88607),o=a(60348),s=a(40071),c=a(12973),u=function(e){return e.DISCOVERY_PLUS="DISCOVERY_PLUS",e.MAX="MAX",e.HBO_MAX="HBO_MAX",e}({}),m=function(e){return e.SQUARE="SQUARE",e.RATIO_16x9="RATIO_16x9",e}({});function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.d(t,{C:()=>eF,R:()=>eB});var n,r=a(7620),i=a(84399),l=a(78049),o=a(28621),s=a(44852),c=a(75072),u=a(17681),m=a(12062),d=a(30857),p=a(1756),f=a(52518),h=a(15135),v=a(48958),g=a(50577),b=a(81799),E=a(93294),x=a(98150),y=a(98146),O=function(e){var t,a,n,r=e.showLabel,i=e.hideLabel,l=e.analyticsId,o=e.openedByDefault,s=e.options,c=e.size,u=void 0===c?y.p.SMALL:c;return{analyticsId:l,hideCallback:null!==(t=null==s?void 0:s.hideCallback)&&void 0!==t?t:function(){},hideLabel:i,isLoading:null!==(a=null==s?void 0:s.isLoading)&&void 0!==a&&a,openedByDefault:void 0!==o&&o,showCallback:null!==(n=null==s?void 0:s.showCallback)&&void 0!==n?n:function(){},showLabel:r,size:u}},w=function(e){var t=e.match,a=e.utils,n=e.options;if((0,l.PZ)(t)&&0!==t.matchCardIds.length)return O({analyticsId:i.Rm,showLabel:a.t("multiplex.matches.common.show_matches"),hideLabel:a.t("multiplex.matches.common.hide_matches"),size:y.p.LARGE,openedByDefault:t.status===h.v.LIVE,options:n})},N=a(48053),A=a(81441),L=a(8897),T=a(81790),I=a(5641),S=function(e){var t,a=e.match,n=e.utils,r=a.watchBanner;if(null!=r&&null!==(t=r.platform)&&void 0!==t&&t.link){var i=r.label,l=r.status,o=r.platform,s=r.shortLabel,c=o.link,u=o.pictureFormatIds,m=o.type,d=l===L.D.REPLAY?N.M.VOD_SECTION:N.M.VIDEO_INDICATOR,p=(0,x.A)(m,I.s),f=(0,T.t)({pictureFormatIds:u,type:m,utils:n});return p?{_type:"StreamingButton",id:"streaming-button",left:{icon:d,text:{label:i,shortLabel:s}},link:c,right:{logo:f},type:p}:void 0}},k=function(e){var t=e.match,a=e.utils,n=S({match:t,utils:a}),r=[t.hasLiveCommentary?{_type:i.R3,id:"live-commentary",icon:N.M.LIVE_COMMENTARY,label:a.t("multiplex.matches.common.live_commentary")}:void 0,n].filter(A.V);return r.length>0?{buttons:r}:void 0},M=a(20583),_=a(57820),R=function(e){return e.LARGE="LARGE",e.SMALL="SMALL",e}({}),C=function(e){var t,a=e.match,n=e.headerContext;if(((0,l.gM)(a)||(0,l.mq)(a))&&(n===M.f.DEFAULT?t=a.defaultHeader:n===M.f.GROUP?t=a.groupHeader:n===M.f.HISTORY?t=a.historyHeader:n===M.f.LIVE_EVENT?t=a.liveEventHeader:n===M.f.LIVE_NOW&&(t=a.liveNowHeader),t&&(t.text1||t.text2)))return{variant:R.SMALL,left:t.text1?[{id:"text-left",_type:_.L$,text:t.text1}]:void 0,right:t.text2}},P=function(e){var t,a=e.match,n=e.options,r=e.utils;return{id:"".concat(a.id),analyticsId:i.Mo,status:null!==(t=(0,x.A)(a.status,E.r))&&void 0!==t?t:E.r.UPCOMING,header:C({match:a,headerContext:null==n?void 0:n.headerContext}),footer:k({match:a,utils:r}),detailsButton:w({match:a,options:null==n?void 0:n.details,utils:r}),url:a.url}};function D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function j(e){for(var t=1;t0?(0,K.Ay)(c,function(e){return Q({participant:e,utils:n})}):[{id:a}],result:{isServing:void 0!==l&&l,isWinner:void 0!==o&&o,sets:(0,K.Ay)(u,Z)}}};function J(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function ee(e){for(var t=1;t0,x=b.matchCardIds);var y=ea({match:b,options:(null==r?void 0:r.normalizeOptions)||{},utils:{t:p,getPictureFormatById:h,brand:v,overriddenPremiumUrl:g}});if(y)return E&&(t={_type:i.ci,matchIds:x,options:r}),{matchCard:y,details:t,useMobileView:f}}},er=a(83058),ei=a(52),el=function(e){var t=e.children,a=e.className,n=(0,ei.A)(t),i=n.filter(function(e){return e.type===el.Match}),l=n.find(function(e){return e.type===el.ViewMore});return r.createElement("div",{className:a,"data-testid":"organism-matches"},i,l&&r.createElement("div",{className:"mt-3 lg:mt-5"},l))};el.Match=function(e){var t=e.children;return r.createElement("div",{className:"mt-3 first:mt-0 lg:mt-5"},t)},el.ViewMore=er.A;var eo=a(98872),es=a(77785),ec=a.n(es);let eu=function(e){var t=e.children,a=e.withBackground;return r.createElement("div",{className:ec()({"bg-onLight-01 py-3":a}),"data-testid":"atom-match-card-details"},a?r.createElement("div",{className:"px-2 lg:px-5"},t):t)};var em=["children","withBackground"],ed=a(69292),ep=a(60005),ef=a(60348),eh=a(40071);let ev=function(e){var t=e.label,a=e.icon,n=e.className,i=(0,ed.P)(),l=i.isEurosport,o=i.isTNTSports;return r.createElement("div",{className:ec()("flex h-6.5 overflow-hidden border border-onLight-02 text-onLight-02",{"caps-s7-fx":l,"label-4":o},n),"data-testid":"atom-match-card-footer-live-commentary-button"},r.createElement("div",{className:"flex h-full min-w-[24px] items-center justify-center bg-onLight-01"},r.createElement(ef.A,{size:12,variant:eh.l.INHERIT,type:a})),r.createElement("span",{className:"flex h-full items-center truncate bg-onLight-02 px-1.5"},t))};function eg(){return(eg=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&r.createElement("div",{className:ec()("flex w-full justify-between px-2 py-2 font-bold text-onLight-02 lg:px-5",{"caps-s6-fx lg:caps-s5-fx bg-fill-02":i,"title-5 lg:title-4 bg-fill-03":n}),"data-testid":"atom-match-card-footer"},t.map(function(e){return r.createElement(eb,eE({key:e.id},e))}))},ew.Content=function(e){var t=e.children,a=e.info,n=(0,ed.P)(),i=n.isEurosport,l=n.isTNTSports;return r.createElement("div",{className:"bg-onLight-01 py-2 lg:py-3","data-testid":"atom-match-card-content"},r.createElement("div",{className:"px-2 lg:px-5"},t,a&&a.length>0&&r.createElement("div",{className:"mt-1 space-y-1 text-center"},a.map(function(e,t){return r.createElement("span",{key:t,className:ec()("block text-onLight-04",{"caps-s7-fx lg:caps-s5-fx":i,"caption-3 lg:caption-1":l}),"data-testid":"atom-match-card-content-info"},e)}))))},ew.Details=eu,ew.AccordionDetails=function(e){var t=e.children,a=e.withBackground,n=function(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;a[n]=e[n]}return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{a.d(t,{w:()=>n,y:()=>r});var n=function(e){return e.LARGE="LARGE",e.SMALL="SMALL",e}({}),r=function(e){return e.AWAY="AWAY",e.HOME="HOME",e}({})},81790:(e,t,a)=>{a.d(t,{t:()=>l});var n=a(8e4),r=a(91061),i=a(5641),l=function(e){var t,a=e.pictureFormatIds,l=e.type,o=e.utils,s=o.brand,c=(0,o.getPictureFormatById)(a[0]),u=(0,r.k)((0,r.Qc)({placeholderType:void 0,brand:s,height:38,src:null==c?void 0:c.url,withThumbnail:!1}));(null==c?void 0:c.format)===n.V.XXL_16_9?t=i.A.RATIO_16x9:(null==c?void 0:c.format)===n.V.L_1_1&&(t=i.A.SQUARE);var m=l.toLowerCase().replace(/_/g," ");return t?{alt:m,picture:u,ratio:t}:void 0}},83681:(e,t,a)=>{a.d(t,{c:()=>i,r:()=>r});var n=a(7620),r=(0,n.createContext)(null),i=function(){return(0,n.useContext)(r)}},84399:(e,t,a)=>{a.d(t,{Ad:()=>i,Mo:()=>f,PM:()=>r,Qm:()=>s,R3:()=>g,Rm:()=>v,Vy:()=>m,XX:()=>u,_f:()=>c,ci:()=>n,fO:()=>o,hH:()=>l,or:()=>h,qx:()=>p,t:()=>d});var n="TemplateMatchCards",r="MatchCardContainerInput",i="HorizontalHeadToHeadMatchCard",l=30,o="VerticalHeadToHeadMatchCard",s=20,c=24,u="HorizontalHeadToHeadSuperMatchCard",m=44,d=64,p=10,f="match-card",h="DefaultMatchCard",v="matches-accordion",g="LiveCommentaryButton"},90719:(e,t,a)=>{a.d(t,{A:()=>b});var n=a(7620),r=a(77785),i=a.n(r),l=a(88607),o=a(57780),s=a(10207),c=a(12973),u=a(69292),m=a(52),d=a(60180),p=function(e){return e.EXTRA_EXTRA_LARGE="EXTRA_EXTRA_LARGE",e.EXTRA_LARGE="EXTRA_LARGE",e.LARGE="LARGE",e.MEDIUM="MEDIUM",e.SMALL="SMALL",e}({}),f=function(e){return e.DEFAULT="DEFAULT",e.H1="H1",e.H2="H2",e.H3="H3",e}({});function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t*]:line-clamp-2":"[&>*]:line-clamp-3",D)},n.createElement(C,{className:D},t)),n.createElement(o.A,{title:(0,d.r)(O.label),href:O.href,role:O.href?"link":"button",alignment:s.C1.RIGHT,tokenVariant:c.N.ON_LIGHT,variant:s.LT.NEUTRAL,className:i()("hidden h-full items-center whitespace-nowrap font-bold [&>svg]:static",{"ml-8 md:flex":!w,"ml-0":w},j)},(0,d.r)(O.label))),A&&n.createElement("div",{className:"ml-2 mr-auto"},A))),P&&n.createElement("div",{className:i()("mt-2 h-px w-full",{"bg-br-2-30":T,"bg-neutral-04":I})}))};g.FavoritesStarButton=function(e){var t=e.children;return n.createElement(n.Fragment,null,t)};let b=g},94327:(e,t,a)=>{a.d(t,{F:()=>n});var n=function(e){return e.ELEMENT_ON_TOP="ELEMENT_ON_TOP",e.CUSTOM_SCROLL_POSITION="CUSTOM_SCROLL_POSITION",e}({})},98146:(e,t,a)=>{a.d(t,{p:()=>n});var n=function(e){return e.LARGE="LARGE",e.SMALL="SMALL",e}({})}}]); //# sourceMappingURL=2661-62e1f2ecdff6e328.js.map