(window.webpackJsonp=window.webpackJsonp||[]).push([[143],{"5Sd5":function(e,t,n){"use strict";var r=n("tOpy"),a=n("FvK5"),i=n("Siuj"),o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var d=function(e){function t(){var e,n,r;s(this,t);for(var a=arguments.length,c=Array(a),d=0;d0){var r=function(e,t){var n=s(e,t,i.Rb),r=n.eventId,a=n.provider;return{videoEventId:r,videoProvider:i.li[a]||null}}(e,t),a=r.videoEventId,c=r.videoProvider,u=s(e,t,i.Sb),d=u.provider,m=u.eventId;return o.Bd&&(n=e.some((function(e){return"GBVISION"===e.get("provider")&&e.get("type")===i.Qb}))),{vizEventId:d===i.Ob?m:null,performEventId:d===i.li.PERFORM_V2?m:null,statsEventId:l(e,i.Pb,i.Tb,t),videoEventId:a,videoProvider:c,audioCommentaryAvailable:n}}return{vizEventId:null,statsEventId:null,videoEventId:null,audioCommentaryAvailable:n}}))},MHjO:function(e,t,n){"use strict";var r=n("tOpy"),a=n("FvK5"),i=n("Siuj"),o=Object.assign||function(e){for(var t=1;th.size&&(h=h.push("empty")),h.size>v.size&&(v=v.push("empty"));v.size>5;)v=v.shift();for(;h.size>5;)h=h.shift()}var g={};if(l.size){var b=l.first().getIn(["statistics","leaguePosition"]),E=l.last().getIn(["statistics","leaguePosition"]),O=l.first().getIn(["statistics","form"],Object(a.List)()),S=l.last().getIn(["statistics","form"],Object(a.List)());b&&E&&(g.teamOneLeaguePosition=b,g.teamTwoLeaguePosition=E),O.size>0&&S.size>0&&(g.teamOneLastFiveGamesForm=O,g.teamTwoLastFiveGamesForm=S)}return o({},e,g,{hRedCards:s,aRedCards:u,teamOnePenalties:v.toArray(),teamTwoPenalties:h.toArray(),teamOneTotalPenaltyGoals:p,teamTwoTotalPenaltyGoals:f,teamOneScore:i.get(0,""),teamTwoScore:i.get(1,""),score:i.toList()})}))},MSyb:function(e,t,n){"use strict";var r=n("mXGw"),a=n.n(r),i=n("iZzW"),o=n("Qi1R"),c=n("wurE"),l=n.n(c),s=n("rOcY"),u=n("g6nF"),d=l.a.div.withConfig({componentId:"sc-1forjg9-0"})(["display:flex;justify-content:center;padding:",";",";"],Object(o.H)(0,4),(function(e){var t=e.headerRow,n=e.periodFinished,r=e.mainScore,a=e.withScore,i=e.currentSetScore,l=e.eventFinished,d=e.firstColumn,m=e.highestScore,p=e.textBold,f=e.mevView,v="",h=30,g="";return p?(r||!n&&!a)&&(g="font-weight: 800;"):(n&&m||r)&&(g="font-weight: 700;"),l?v=u.Kn:i?v=s.s?u.u:u.nm:n||t||a||(v=u.u),s.w&&d&&(h=110),f&&(h="auto"),Object(c.css)(["",";color:",";width:",";",";"],t&&"padding-bottom: "+Object(o.H)(2),v,Object(o.H)(h),g)})),m=l.a.div.withConfig({componentId:"sc-1forjg9-1"})(["position:relative;top:",";right:",";font-size:",";margin:0;"],Object(o.H)(-12),Object(o.H)(4),Object(o.H)(20)),p=function(e){var t=e.gameScore,n=e.tieBreakEnding,o=e.highestScore,c=e.periodFinished,l=e.headerRow,s=e.mainScore,u=e.text,p=e.withScore,f=e.currentSetScore,v=e.eventFinished,h=e.firstColumn,g=e.textBold,b=e.mevView;return a.a.createElement(r.Fragment,null,a.a.createElement(d,{highestScore:o,periodFinished:c,headerRow:l,mainScore:s,withScore:p,currentSetScore:f,eventFinished:v,firstColumn:h,textBold:g,mevView:b},a.a.createElement(i.a,{id:t||u})),n&&a.a.createElement(m,null,n))};p.defaultProps={highestScore:!1};var f=p;t.a=f},Rqpn:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("wurE"),a=n.n(r),i=n("Qi1R"),o=n("g6nF"),c=a.a.div.withConfig({componentId:"sc-10y2rsg-0"})(["position:relative;left:",";top:",";height:",";width:",";border-radius:50%;background-color:",";visibility:",";"],Object(i.H)(10),Object(i.H)(14),Object(i.H)(12),Object(i.H)(12),(function(e){return e.serve?o.u:"transparent"}),(function(e){return e.servingIndicatorVisible?"visible":"hidden"})),l=n("rOcY"),s=n("uXGu"),u=a()(s.a).attrs((function(e){var t=e.sportId;return{name:l.Ch[t],size:l.Dh[t]||"xxs32"}})).withConfig({componentId:"sc-1fpbjwa-0"})(["justify-content:center;align-items:center;display:",";"],(function(e){var t=e.servingIndicatorVisible,n=e.serve;return t&&n?"block":"none"}));t.b=c},TP4V:function(e,t,n){"use strict";n.d(t,"g",(function(){return p})),n.d(t,"a",(function(){return f})),n.d(t,"j",(function(){return v})),n.d(t,"l",(function(){return h})),n.d(t,"q",(function(){return g})),n.d(t,"i",(function(){return b})),n.d(t,"k",(function(){return E})),n.d(t,"p",(function(){return O})),n.d(t,"d",(function(){return S})),n.d(t,"n",(function(){return I})),n.d(t,"b",(function(){return y})),n.d(t,"h",(function(){return j})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return T})),n.d(t,"f",(function(){return R})),n.d(t,"o",(function(){return M})),n.d(t,"m",(function(){return P})),n.d(t,"r",(function(){return _}));var r=n("wurE"),a=n.n(r),i=n("Qi1R"),o=n("g6nF"),c=n("2FW6"),l=n("zF6H"),s=n("xlnk"),u=n("9lff"),d=n("oRiN"),m=function(){return Object(r.css)(["& *:last-child{margin-bottom:0;}"])},p=a()(c.a).withConfig({componentId:"sc-1ec3qhn-0"})(["flex-direction:column;flex:5;justify-content:flex-start;overflow:hidden;gap:",";"],Object(i.H)(14)),f=a()(l.a).withConfig({componentId:"sc-1ec3qhn-1"})(["flex:0;justify-content:flex-end;gap:",";padding-left:",";"],Object(i.H)(14),Object(i.H)(4)),v=a.a.div.withConfig({componentId:"sc-1ec3qhn-2"})(["",";",";"],(function(e){return e.visualizationArea&&Object(r.css)(["color:",";"],o.Sl)}),Object(i.K)()),h=a()(d.a).withConfig({componentId:"sc-1ec3qhn-3"})(["height:",";font-size:",";font-weight:bold;line-height:",";"],Object(i.H)(28),Object(i.H)(20),Object(i.H)(28)),g=a()(s.a).withConfig({componentId:"sc-1ec3qhn-4"})(["color:",";font-weight:bold;"],o.Wl),b=a()(s.a).withConfig({componentId:"sc-1ec3qhn-5"})(["display:flex;align-items:center;justify-content:space-between;gap:",";"],Object(i.H)(8)),E=a.a.div.withConfig({componentId:"sc-1ec3qhn-6"})(["display:flex;flex-direction:column;justify-content:center;gap:",";padding-right:",";"],Object(i.H)(14),Object(i.H)(16)),O=a.a.div.withConfig({componentId:"sc-1ec3qhn-7"})(["display:flex;flex-direction:column;justify-content:center;align-items:stretch;margin-right:",";",";& >:not(:last-child){margin-bottom:",";}"],(function(e){return e.margin?Object(i.H)(12):0}),m,Object(i.H)(14)),S=a.a.div.withConfig({componentId:"sc-1ec3qhn-8"})(["display:flex;flex-direction:column;justify-content:center;padding:",";font-weight:800;font-size:",";",";& >:not(:last-child){margin-bottom:",";}"],Object(i.H)(0,16,0,4),Object(i.H)(24),m,Object(i.H)(14)),I=a.a.div.withConfig({componentId:"sc-1ec3qhn-9"})(["display:flex;justify-content:center;align-items:center;line-height:",";font-size:",";",";"],Object(i.H)(34),Object(i.H)(24),(function(e){return e.headerRow&&Object(r.css)(["font-weight:normal;font-size:",";color:",";"],Object(i.H)(24),o.Rn)})),y=a()(I).withConfig({componentId:"sc-1ec3qhn-10"})(["margin:0;"]),j=a.a.div.withConfig({componentId:"sc-1ec3qhn-11"})(["display:flex;align-items:center;gap:",";line-height:",";font-weight:bold;color:",";overflow:hidden;"],Object(i.H)(12),Object(i.H)(34),o.Wl),w=a.a.div.withConfig({componentId:"sc-1ec3qhn-12"})(["font-weight:800;color:",";padding:",";text-align:center;"],o.u,Object(i.H)(0,4,0,8)),T=a.a.div.withConfig({componentId:"sc-1ec3qhn-13"})(["color:",";text-align:center;border-radius:",";"],(function(e){return e.eventFinished?o.Kn:o.u}),Object(i.H)(4)),R=a.a.div.withConfig({componentId:"sc-1ec3qhn-14"})(["padding:",";border-radius:",";align-items:center;flex-shrink:0;background:",";color:",";font-size:",";line-height:",";"],Object(i.H)(4,8),Object(i.H)(16),Object(i.ue)(.95,o.Fn),Object(i.ue)(.15,o.Yl),Object(i.H)(20),Object(i.H)(24)),M=a.a.div.withConfig({componentId:"sc-1ec3qhn-15"})(["display:flex;flex-direction:column;align-items:center;gap:",";line-height:",";margin:",";"],Object(i.H)(14),Object(i.H)(32),Object(i.H)(0,16,0,8)),P=a()(u.a).withConfig({componentId:"sc-1ec3qhn-16"})(["font-size:",";font-weight:800;line-height:",";margin:",";"],Object(i.H)(24),Object(i.H)(34),Object(i.H)(0)),_=a.a.div.withConfig({componentId:"sc-1ec3qhn-17"})(["display:flex;padding-left:",";"],Object(i.H)(4));t.s=a.a.div.withConfig({componentId:"sc-1ec3qhn-18"})(["display:flex;justify-content:space-between;width:100%;color:",";"],o.nm)},WBb7:function(e,t,n){"use strict";var r=n("mpt1"),a=n("Qi1R"),i=n("mXGw"),o=n.n(i),c=n("wurE"),l=n.n(c),s=n("rOcY"),u=n("g6nF"),d=l.a.iframe.attrs((function(e){return{scrolling:a.Bd||e.showScrolling||e.pageInModal?"auto":"no"}})).withConfig({componentId:"dxxfk7-0"})(["display:block;width:100%;border:0;",";"],(function(e){if(e.fullScreenView)return Object(c.css)(["height:100vh;"]);if(e.pageInModal){var t=e.bottomOffset+s.jc+4;return Object(c.css)(["height:calc(90vh - ",");"],Object(a.H)(t))}if(e.height&&!1===e.rulesLoaded)return Object(c.css)(["height:0;"]);if(e.height)return Object(c.css)(["height:",";"],e.height);if(a.Bd&&!e.height&&!1===e.rulesLoaded)return Object(c.css)(["height:0;"]);var n=e.bottomOffset+(e.hasBottomNavigation?s.r+s.dc:0)+(e.hasLoginBar?s.Eb:0)+(e.hasTopBar?s.kb:4+s.jc);return Object(c.css)(["height:calc(100vh - ",");"],Object(a.H)(n))})),m=l.a.div.withConfig({componentId:"dxxfk7-1"})(["box-sizing:border-box;z-index:1;color:",";background-color:",";",";",";",";",";"],u.nm,u.ii,(function(e){if(!e.pageInModal&&e.height&&0!==e.height){var t=e.height<600?"100%":Object(a.H)(Object(a.ae)(e.height));return Object(c.css)(["height:",";"],t)}return null}),(function(e){return!e.fullScreenView&&!e.noPaddings&&Object(c.css)(["border:"," solid ",";"],Object(a.H)(2),u.Sl)}),(function(e){return e.noMargins?Object(c.css)([""]):Object(c.css)(["margin-bottom:",";"],a.Bd&&Object(a.H)(36))}),(function(e){return e.hasTopNavigation?Object(c.css)(["padding-top:",";"],Object(a.H)(80)):null})),p=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["url","onRef","fullScreenView","hasBottomNavigation","hasTopNavigation","hasTopBar","hasLoginBar","bottomOffset","containerHeight","iframeHeight"]);return o.a.createElement(m,p({hasBottomNavigation:a,hasTopNavigation:i,fullScreenView:r,height:u},v),o.a.createElement(d,p({src:t,ref:n,fullScreenView:r,hasBottomNavigation:a,hasTopBar:c,hasLoginBar:l,bottomOffset:s,height:f},v)))}}]),t}(i.PureComponent);g.defaultProps={onRef:function(){},fullScreenView:!1,hasBottomNavigation:!1,hasTopNavigation:!1,hasTopBar:!1,hasLoginBar:!1,bottomOffset:0};var b=g,E={componentDidUpdate:function(e){var t=this.props,n=t.heightPx,r=t.rerenderLocked,a=t.setContainerHeight,i=t.setIframeHeight,o=t.setRerenderLocked;r||e.heightPx===n||(a(n),i("100%"),o(!0),setTimeout((function(){o(!1)}),50))}},O=Object(r.compose)(Object(r.setDisplayName)("IFrameContainer"),Object(r.withState)("rerenderLocked","setRerenderLocked",!1),Object(r.withState)("containerHeight","setContainerHeight",0),Object(r.withState)("iframeHeight","setIframeHeight",(function(e){var t=e.iframeHeight;return t||(a.Bd?null:"100vh")})),Object(r.lifecycle)(E),Object(r.mapProps)((function(e){return{url:e.url,onRef:e.onRef,fullScreenView:e.fullScreenView,hasBottomNavigation:e.hasBottomNavigation,hasTopNavigation:e.hasTopNavigation,hasTopBar:e.hasTopBar,hasLoginBar:e.hasLoginBar,bottomOffset:e.bottomOffset,pageInModal:e.pageInModal,rulesLoaded:e.rulesLoaded,onLoad:e.onLoad,onError:e.onError,showScrolling:e.showScrolling,containerHeight:e.containerHeight,iframeHeight:e.iframeHeight,noPaddings:e.noPaddings,noMargins:e.noMargins}})))(b);t.a=O},WDf2:function(e,t,n){"use strict";var r=n("mXGw"),a=n.n(r),i=n("wurE"),o=n.n(i),c=n("Qi1R"),l=n("g6nF"),s=o.a.div.withConfig({componentId:"sc-1ldbxjj-0"})(["display:inline-block;margin-right:",";border-radius:50%;",";",";"],Object(c.H)(6),(function(e){var t=e.mevView?12:16;return Object(i.css)(["height:",";width:",";"],Object(c.H)(t),Object(c.H)(t))}),(function(e){var t=e.goal;return"empty"===t?Object(i.css)(["border:"," solid ",";background-color:",";"],Object(c.H)(2),l.Qn,l.On):Object(i.css)(["background-color:",";"],Number(t)?l.Pn:l.Qn)})),u=o.a.span.withConfig({componentId:"sc-1ldbxjj-1"})(["margin-left:",";font-weight:bold;color:",";line-height:1;"],Object(c.H)(6),(function(e){return e.inplay?l.u:l.nm})),d=o.a.div.withConfig({componentId:"sc-1ldbxjj-2"})(["display:flex;align-items:center;justify-content:flex-start;width:",";"],(function(e){return e.mevView?Object(c.H)(100):Object(c.H)(120)})),m=o()(d).withConfig({componentId:"sc-1ldbxjj-3"})(["justify-content:flex-end;width:fit-content;"]),p=function(e){var t=e.penaltyShoots,n=void 0===t?[]:t,r=e.mevView,i=void 0!==r&&r,o=e.penaltyScore,c=void 0===o?null:o,l=e.inplay,p=void 0!==l&&l;return a.a.createElement(m,null,a.a.createElement(d,{mevView:i},n.map((function(e,t){return a.a.createElement(s,{key:t,goal:e,mevView:i})}))),c>=0&&a.a.createElement(u,{inplay:p},c))};t.a=p},"Y1g+":function(e,t,n){"use strict";var r=n("mXGw"),a=n.n(r),i=n("XSEl"),o=n("Qi1R"),c=n("tOpy"),l=n("FvK5"),s=n("bVOX"),u=Object(c.createSelector)(s.a,(function(e,t){return e.getIn(["removedEntities","events"],Object(l.Set)()).includes(t)}),(function(e,t){var n=e.get("scoreboard",Object(l.Map)()).get("timer",Object(l.Map)()),r=e.getIn(["eventNotes","isScoreBoardTimerVisible"],!0);return{inplay:e.get("inplay",!1),clockValue:n.get("value",0),clockCountsDown:n.get("countsDown",!1),clockValueTimestamp:Object(o.Kc)(n.get("timestamp","")),clockVisible:n.get("visible",!0)&&r,timerRunning:!t&&!n.get("stopped",!0),timerExist:n.size>0}})),d=n("wurE"),m=n.n(d).a.span.withConfig({componentId:"vnimhi-0"})(["white-space:nowrap;margin-left:0 !important;"]),p=function(){function e(e,t){for(var n=0;n0?g.get(0,0).toString():"",p2Nsets:g.size>0?g.get(1,0).toString():"",p1Serve:r.getIn(["servingIndicator","homeServing"],!1),p2Serve:r.getIn(["servingIndicator","awayServing"],!1),servingIndicatorVisible:r.getIn(["servingIndicator","visible"],!1),periodsList:h,eventProvider:t.get("provider",null)})}))},xlnk:function(e,t,n){"use strict";var r=n("wurE"),a=n.n(r),i=n("Qi1R"),o=n("g6nF"),c=a.a.div.withConfig({componentId:"sc-1lugp45-0"})(["font-size:",";",";display:block;color:",";"],Object(i.H)(28),Object(i.K)(),o.Xl);t.a=c},yIDL:function(e,t,n){"use strict";n.r(t);var r,a=n("XSEl"),i=n("mpt1"),o=n("ymme"),c=n("BmqR"),l=n("FvK5"),s=n("rOcY"),u=n("Qi1R"),d=n("YMdE"),m=n("tOpy"),p=Object(m.createSelector)((function(e,t){return e.getIn(["eventEntities",t],Object(l.Map)())}),(function(e){var t=e.get("participants",Object(l.List)());return{sportId:e.get("categories",Object(l.List)()).last(Object(l.Map)()).get("id"),inplay:e.get("inplay",!1),startTime:e.get("startTime",""),teamOneName:t.size?t.first().get("name",""):"",teamTwoName:t.size?t.last().get("name",""):"",eventName:e.get("name",""),eventType:e.get("type",""),participants:t,twoParticipants:"headtohead"===e.get("type","").toLowerCase()&&2===t.size,racetrackName:e.getIn(["racingData","racetrackName"],""),raceHour:e.getIn(["racingData","raceHour"],""),periodId:e.getIn(["scoreboard","period","id"],""),eventCountryCode:e.get("categories",Object(l.OrderedSet)()).find((function(e){return"Country"===e.get("type")}),null,Object(l.Map)()).get("countryCode","")}})),f=n("Tgit"),v=n("A9fm"),h=n("mXGw"),g=n.n(h),b=n("PBYb"),E=n.n(b),O=(n("Pdmf"),n("g6nF")),S=n("iZzW"),I=n("rR46"),y=n("jedm"),j=n("+wJ6"),w=n("wurE"),T=n.n(w),R=n("uXGu"),M=n("I2FV"),P=n("goda"),_=n("co3k"),A=n("WBb7"),z=n("TP4V"),N=s.ri.IFRAME_VIDEO_STREAM,C=s.ri.SPORT_RADAR_WIDGET,V=s.ri.IFRAME_PERFORM_V2_VIDEO_STREAM,H=s.ri.IFRAME_PERFORM_RMG_VIDEO_STREAM,x=function(e){var t=e.mode,n=e.maxPlayerSizePercentage;if(t===V)return Object(w.css)(["width:","px;"],s.yc/100*n);if(t===N||t===H){var r=Object(u.H)(s.bd);return Object(w.css)(["height:calc(","vw / "," + ",");"],n,s.fd,r)}return Object(w.css)([""])},k=T.a.div.withConfig({componentId:"sc-3s96ha-0"})(["",";"],(function(){return u.Bd?Object(w.css)(["border:0 none;transform-origin:top left;will-change:transform;transform:",";"],(function(e){return"scale("+(e.minimized?s.ad:1)+")"})):null})),F=T.a.div.withConfig({componentId:"sc-3s96ha-1"})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;overflow:hidden;padding:",";color:",";"],Object(u.H)(20,0,20,20),O.rq),B=T()(M.a).withConfig({componentId:"sc-3s96ha-2"})(["display:flex;flex-direction:column;width:100%;"]),L=T.a.div.withConfig({componentId:"sc-3s96ha-3"})(["display:flex;align-items:center;width:100%;& > div:first-child > ","{margin-left:",";}"],z.o,Object(u.H)(0)),U=T.a.div.withConfig({componentId:"sc-3s96ha-4"})(["position:absolute;width:100%;height:",";display:flex;justify-content:flex-end;align-items:start;padding:",";box-sizing:border-box;white-space:nowrap;z-index:10;color:",";background:linear-gradient(179deg,rgba(0,0,0,0.75) -6%,rgba(0,0,0,0) 90%);"],Object(u.H)(194),Object(u.H)(20),O.sq),D=T()(U).withConfig({componentId:"sc-3s96ha-5"})(["align-items:flex-end;flex-direction:row-reverse;justify-content:space-between;bottom:0;background:linear-gradient(359deg,rgba(0,0,0,0.75) -6%,rgba(0,0,0,0) 90%);& > *{color:",";}"],O.sq),G=T()(M.a).withConfig({componentId:"sc-3s96ha-6"})(["display:flex;align-items:center;margin-left:",";font-size:",";"],Object(u.H)(12),Object(u.H)(28)),W=T()(R.a).attrs((function(e){var t=e.fill,n=void 0===t?O.sq:t,r=e.stroke,a=void 0===r?"none":r;return{fill:n,width:Object(u.H)(40),height:Object(u.H)(40),stroke:a}})).withConfig({componentId:"sc-3s96ha-7"})(["margin-left:",";cursor:pointer;"],(function(e){return"arrow02"===e.name?Object(u.H)(4):Object(u.H)(40)})),q=T()(W).attrs((function(e){var t=e.pinned;return{name:t?s.If.PIN_SELECTED:s.If.PIN,fill:t?O.Zl:O.dq,stroke:t?O.Zl:O.Pi}})).withConfig({componentId:"sc-3s96ha-8"})([""]),K=T.a.div.withConfig({componentId:"sc-3s96ha-9"})(["display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;flex-shrink:0;padding:",";box-sizing:border-box;z-index:10;"],Object(u.H)(20,20,20,0)),Y=T.a.div.withConfig({componentId:"sc-3s96ha-10"})(["display:flex;"]),X=T.a.div.withConfig({componentId:"sc-3s96ha-11"})(["flex:1;margin-left:",";font-size:",";font-weight:bold;",";"],Object(u.H)(12),Object(u.H)(28),Object(u.K)()),Q=T.a.div.withConfig({componentId:"sc-3s96ha-12"})(["",";color:",";"],Object(u.K)(),O.fk),Z=T.a.div.withConfig({componentId:"sc-3s96ha-13"})(["color:",";"],O.fk),J=T.a.div.withConfig({componentId:"sc-3s96ha-14"})(["position:absolute;top:0;left:",";right:0;height:100%;display:flex;justify-content:space-between;background:",";color:",";"],Object(u.H)(s.Zc*s.Hc),O.ek,O.fk),$=T.a.div.withConfig({componentId:"sc-3s96ha-15"})(["width:100%;min-height:",";display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;padding:",";box-sizing:border-box;text-align:center;background:",";color:",";z-index:10;& > a{color:",";}"],Object(u.H)(u.Bd?s.Yc:s.S),Object(u.H)(20),O.rq,O.sq,O.sq),ee=T()(P.a).attrs((function(){return{color:O.sq}})).withConfig({componentId:"sc-3s96ha-16"})([""]),te=T.a.div.withConfig({componentId:"sc-3s96ha-17"})(["display:flex;justify-content:center;align-items:center;min-height:",";width:100%;background:",";"],Object(u.H)(u.Bd?s.Yc:s.S),O.rq),ne=T()(R.a).attrs((function(){return{name:"warning",fill:O.sq,width:Object(u.H)(100),height:Object(u.H)(100)}})).withConfig({componentId:"sc-3s96ha-18"})([""]),re=T()(S.a).withConfig({componentId:"sc-3s96ha-19"})(["text-decoration:underline;"]),ae=T.a.div.withConfig({componentId:"sc-3s96ha-20"})(["display:flex;flex-direction:column;align-items:center;"]),ie=T()(_.a).withConfig({componentId:"sc-3s96ha-21"})(["flex:0 0 ",";width:",";margin-top:",";"],Object(u.H)(64),Object(u.H)(349),Object(u.H)(40)),oe=T()(ie).attrs((function(){return{buttonStyle:"secondary"}})).withConfig({componentId:"sc-3s96ha-22"})([""]),ce=T()(ie).attrs((function(){return{buttonStyle:"primary"}})).withConfig({componentId:"sc-3s96ha-23"})([""]),le=function(e){var t=e.fullScreen,n=e.maxPlayerSizePercentage,r=e.provider,a=e.mode;return r===s.li.PERFORM_V2&&a!==s.ri.IFRAME_PERFORM_RMG_VIDEO_STREAM?t?"calc("+n+"vw / "+s.nc+")":Object(u.H)(s.lc-s.bd):t?"calc("+n+"vw / "+s.fd+")":Object(u.H)(s.dd-s.bd)},se=T()(A.a).attrs((function(e){var t=e.fullScreen,n=e.maxPlayerSizePercentage,r=e.provider,a=e.mode;return{iframeHeight:le({fullScreen:t,maxPlayerSizePercentage:n,provider:r,mode:a}),noPaddings:!0,noMargins:!0}})).withConfig({componentId:"sc-3s96ha-24"})([""]),ue=T()(U).withConfig({componentId:"sc-3s96ha-25"})(["position:static;align-items:start;height:",";background:",";"],Object(u.H)(s.bd),O.rq),de=T.a.div.withConfig({componentId:"sc-3s96ha-26"})(["",";"],(function(e){var t=e.height,n=e.messagesHeight,r=e.maxPlayerSizePercentage,a=e.fullScreen,i=e.mode;return a&&!u.Bd&&i!==C?Object(w.css)(["position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:",";",";z-index:121;"],r?r+"%":"100%",x):u.Bd?Object(w.css)(["position:fixed;top:",";height:",";width:100%;background:",";z-index:15;"],n?Object(u.H)(n):"0",Object(u.H)(t),O.rq):Object(w.css)(["position:relative;"])}));function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pe=(me(r={},s.Db,"videoStream.error.youNeedToLogIn"),me(r,s.ii.NOT_AVAILABLE,"videoStream.error.notAvailable"),me(r,s.ii.IMG_NOT_AVAILABLE,"videoStream.error.StreamNotAvailableLocation"),me(r,s.ii.IMG_WILL_START_SOON,"videoStream.error.willStartSoon"),me(r,s.ii.BET_1_TO_WATCH,"videoStream.error.bet1"),me(r,s.ji.EVENT_NOT_STARTED,"videoStream.error.notYetAvailable"),me(r,s.ji.USAGE_LIMITS_BREACHED,"videoStream.error.maxAttemptsExceeded"),me(r,s.ji.EVENT_OVER,"videoStream.error.streamFinished"),me(r,s.ji.EVENT_NO_STREAMS,"videoStream.error.noStreamAvailable"),me(r,s.ji.GENERIC_ERROR,"videoStream.error.anErrorHasOccurred"),me(r,s.ki.INVALID_EVENT_ID,"videoStream.error.notAvailable"),me(r,s.ki.EVENT_OVER,"videoStream.error.streamFinished"),me(r,s.ki.GEO_BLOCKED,"videoStream.error.streamNotAvailableInThisLocation"),me(r,s.ki.EVENT_NOT_STARTED,"videoStream.error.notYetAvailable"),me(r,s.ki.FAIRUSE_BREACH,"videoStream.error.maxAttemptsExceeded"),r),fe=function(e){return pe.hasOwnProperty(e)?pe[e]:"videoStream.error.videoEventNotStartedTextForLoggedInUser"},ve=function(e){var t=e.errorCode,n=e.onContactUs,r=e.currency,a=Object(j.a)(),i=a.openLogin,o=a.openRegistration,c=Intl.NumberFormat(s.Ud.locale,{style:"currency",currency:r}).formatToParts(0).find((function(e){return"currency"===e.type})).value;return g.a.createElement($,null,function(){switch(t){case s.ii.NO_MONEY:return g.a.createElement(h.Fragment,null,g.a.createElement(ne,null),g.a.createElement("div",{onClick:n},g.a.createElement(S.a,{id:"videoStream.error.noMoney.a"}),g.a.createElement("br",null),g.a.createElement(re,{id:"videoStream.error.noMoney.b"})," ",g.a.createElement(S.a,{id:"videoStream.error.noMoney.c"})));case s.Db:return g.a.createElement(ae,null,g.a.createElement(S.a,{id:fe(t),enabled:!0,values:{currency:c}}),g.a.createElement(oe,{onClick:i},g.a.createElement(S.a,{id:"login.button.login"})),g.a.createElement(ce,{onClick:o},g.a.createElement(S.a,{id:"generic.registration"})));default:return g.a.createElement(h.Fragment,null,g.a.createElement(ne,null),g.a.createElement(S.a,{id:fe(t),enabled:!0,breakSpaces:!0,values:{currency:c}}))}}())},he=n("5bUc"),ge=T.a.video.withConfig({componentId:"sc-14x81uh-0"})(["display:block;width:100%;",";background:",";"],(function(e){var t=e.maxPlayerSizePercentage;return t?Object(w.css)(["height:'","%';"],t):Object(w.css)(["height:",";"],Object(u.H)(u.Bd?s.Yc:s.S))}),O.oq),be=function(){function e(e,t){for(var n=0;n1?t-1:0),r=1;r1?t-1:0),r=1;r50||0===a?50:a),(n===p&&Object(u.T)("streaming.enableRUKiFrame",s.Ud.features.streaming.enableRUKiFrame)||n===h)&&0===r.resultCode&&r.data)return n===h?void Ze(He({},e,{urlFromGateway:r.data.url})):void Ge(He({},e,{urlRmgIFrame:r.data.urlRmgIFrame}));0===r.resultCode&&r.data&&r.data.url?-1!==[g,f].indexOf(n)?(We(e,r.data.url),o(!1)):n===b?(Qe(e,r.data),o(!1)):i(r.data.url).then((function(t){switch(n){case p:qe(e,t);break;case m:Ke(e,t);break;case v:Ye(e,t);break;default:Xe(e,t)}o(!1)})):(r.response&&r.response.resultCode?c(r.response.resultCode):r.resultCode?c(r.resultCode):c(s.Pc),o(!1))}))},Ge=function(e){var t=e.urlRmgIFrame,n=e.getRmgHtml,r=e.setWatchAndBetIframeUrl,a=e.setSpinner,i=e.setError,o=e.provider,c=e.fullScreen,l=e.maxPlayerSizePercentage,d=s.li.PERFORM_V2;n(t).then((function(e){try{e.payload.text().then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=document.createElement("html");t.innerHTML=e;var n=t.getElementsByTagName("iframe")[0],i=new URL(n.getAttribute("src"));o===d&&(c?i.searchParams.set("width",s.yc/100*l):(i.searchParams.set("width",Object(u.Zd)(s.gd)),i.searchParams.set("height",Object(u.Zd)(s.lc)))),r(o===d?i.href:n.getAttribute("src")),a(!1)}))}catch(t){a(!1),i(s.Pc)}}))},We=function(e,t){e.setVideoStreamUrl(t),Je(e.setShowBar)},qe=function(e,t){if(Object.values(s.ki).indexOf(t.payload)>-1)e.setError(t.payload);else try{var n=(new DOMParser).parseFromString(t.payload,"application/xml").getElementById("854").getElementsByTagName("streamLaunchCode")[0].textContent;e.setVideoStreamUrl(n),Je(e.setShowBar)}catch(r){e.setError(s.Pc)}},Ke=function(e,t){if(t.payload.IsOK)try{e.setVideoStreamUrl(t.payload.EventInfo.Streams.find((function(e){return"Adaptive"===e.BitrateLevel&&e.MediaFormat===s.mi.HLS})).Url),Je(e.setShowBar)}catch(r){e.setError(s.Pc)}else{var n=t.payload.Error&&t.payload.Error.ErrorCode||s.Pc;e.setError(n)}},Ye=function(e,t){var n=Object(u.ec)("payload.hlsUrl",t);n?e.setVideoStreamUrl(n):e.setError(s.Pc)},Xe=function(e,t){try{200===t.payload.statusCode&&t.payload.hlsUrl?(e.setVideoStreamUrl(t.payload.hlsUrl),Je(e.setShowBar)):200!==t.payload.statusCode||t.payload.hlsUrl?403===t.payload.response.statusCode?e.setError(t.payload.response.statusCode):e.setError(s.Pc):e.setError(s.ii.IMG_WILL_START_SOON)}catch(n){e.setError(s.Pc)}},Qe=function(e,t){try{var n=t.protocol===s.mi.DASH,r=t.drm;if(t.url&&(!n&&r&&u.ee||!n&&!r||n&&!u.ee)){var a=n?"application/dash+xml":"application/x-mpegURL",i={src:t.url,type:a,withCredentials:!0};r&&(i.keySystems={"com.apple.fps.1_0":{certificateUri:r.fairplayCertificate,getLicense:function(e,t,n,a){window.videojs&&window.videojs.xhr({url:r.fairplay,method:"POST",responseType:"arraybuffer",body:n,headers:{"Content-type":"application/octet-stream"}},(function(e,t,n){e?a(e):a(null,n)}))}},"com.widevine.alpha":r.widevine,"com.microsoft.playready":r.playready}),e.setBetGeniusStreamSources(i)}else e.setError(s.Pc)}catch(o){e.setError(s.Pc)}},Ze=function(e){var t=e.setWatchAndBetIframeUrl,n=e.setSpinner,r=e.urlFromGateway,a=new URL(r);t(new URL(s.Ud.host+s.Ud.country+s.Ud.performV2TemplatePage+a.search).href),n(!1)},Je=function(e){e(!0),Be&&clearTimeout(Be),Be=setTimeout((function(){return e(!1)}),2e3)},$e=function(e){return function(t){var n=at(e);e.minimizeVisualization(n),t&&!e.minimized&&Fe(e,s.Rh.SHRINK,t)}},et={onPin:function(e){return function(){e.pinned?(e.unpinVisualization(),Fe(e,s.Rh.UNPIN,s.bi.TAP)):(e.pinVisualization(),Fe(e,s.Rh.PIN,s.bi.TAP))}},onVizualization:function(e){return function(){Le?function(e){if(clearTimeout(Le),Le=null,e.error)return e.sendStreamEnd(s.Sh.STREAM),e.resetVisualization(),void(e.fullScreen&&!u.Bd&&e.hideModal("VisualizationAreaModal"));if(u.Bd)if(e.minimized)e.maximizeVisualization(ke[e.mode]),Fe(e,s.Rh.ENLARGE,s.bi.DOUBLE_TAP);else{var t=at(e);e.minimizeVisualization(t),Fe(e,s.Rh.SHRINK,s.bi.DOUBLE_TAP)}}(e):Le=setTimeout((function(){Le=null,Je(e.setShowBar)}),500)}},onClose:function(e){return function(){e.fullScreen?(u.Bd&&e.setFullScreen(!1),!u.Bd&&e.setVideoStreamUrl(null),!u.Bd&&e.hideModal("VisualizationAreaModal")):(e.sendStreamEnd(s.Sh.STREAM),e.resetVisualization())}},onVideoError:function(e){return function(){e.setError(s.Pc)}},onSoundMute:function(e){return function(){e.setSoundMute(!e.soundMute)}},onContactUs:function(e){var t=e.showModal,n=e.showLiveChat,r=e.contactUsEnabled;return function(){r&&Object(u.Id)({showModal:t,showLiveChat:n})}},onMouseOver:function(e){var t=e.showBar,n=e.setShowBar;return function(e){e.stopPropagation(),!t&&Je(n)}},onIframeTopBar:function(){return function(e){e.stopPropagation()}},onMinimizeVisualization:$e,onMaximizeVisualization:function(e){return function(t){e.maximizeVisualization(ke[e.mode]),e.setShowBar(!1),e.minimized&&Fe(e,s.Rh.ENLARGE,t)}},onOpenViewMarkets:function(e){return function(){e.fullScreen&&!u.Bd&&e.hideModal("VisualizationAreaModal"),function(e){Fe(e,s.Rh.VIEW_MARKETS,s.bi.TAP)}(e)}},onFullScreen:function(e){var t=e.showModal,n=e.setFullScreen,r=e.setVideoStreamUrl;return function(){u.Bd||(n(!0),!u.Bd&&r(null),!u.Bd&&t("VisualizationAreaModal",{overlay:!0}))}}},tt=function(e){var t=e.eventId,n=e.eventExist,r=e.fetchEvent,a=e.resetVisualization,i=e.sendStreamEnd;t&&!n&&r({eventId:t,alive:!0}).then((function(e){Object(u.ec)("payload.event.sportId",e)||(i(s.Sh.STREAM),a())}))},nt={componentDidMount:function(){var e=this.props,t=e.eventId,n=e.subscribeToEventDetails,r=e.subscribeToEventScoreboard,a=e.eventExist,i=this.props,o=i.videoStream,c=i.videoStreamUrl,l=i.loggedIn,u=i.setError;o&&c&&!l?u(s.Db):(tt(this.props),a&&(n(t),r(t)),o&&!c&&Ue(this.props),rt(this.props),it(this.props))},componentDidUpdate:function(e){var t=this;tt(this.props);var n=this.props,r=n.betPlacementResultCode,a=n.minimized,i=n.keyboardShown,o=n.resetVisualization,l=n.sportradarWidgetId,d=this.props,m=d.eventExist,p=d.eventId,f=d.subscribeToEventDetails,v=d.subscribeToEventScoreboard,h=d.error,g=d.loggedIn,b=this.props,E=b.videoStream,O=b.setError,S=b.setSpinner,I=b.setVideoStreamUrl,y=b.setWatchAndBetIframeUrl,j=b.mode,w=this.props,T=w.videoStreamUrl,R=w.watchAndBetIframeUrl,M=w.soundMute,P=w.setSoundMute,_=w.fullScreen,A=w.hideModal,z=this.props,N=z.maximizeVisualization,C=z.sendStreamEnd,V=z.provider,H=z.performMatchTracker,x=z.performWidgetId,k=this.props,F=k.pinned,B=k.location,L=k.betGeniusStreamSources;!e.eventExist&&m&&(f(p),v(p)),function(e,t){var n=e.location,r=e.pinned,a=e.visualizationEnabledState,i=e.resetVisualization,o=e.sendStreamEnd,l=n.pathname,u=t.location.pathname,d=Object(c.matchPath)(l,{path:s.uh}),m=d&&d.params.eventId,p=d&&e.eventId===m,f=!!Object(c.matchPath)(l,{path:s.kg.login}),v=!!Object(c.matchPath)(u,{path:s.kg.login});!r&&(l!==u&&!(f||v))&&!p&&a&&(o(s.Sh.STREAM),i()),e.visEventId||e.videoStream||(o(s.Sh.STREAM),i())}(this.props,e),(h===s.Db&&!e.loggedIn&&g||h&&e.videoStream&&!E)&&O(null),e.videoStream&&!E&&(O(null),S(!1),I(null),y(null));var U=e.eventId!==p,D=e.mode!==s.ri.UNKNOWN&&j!==s.ri.UNKNOWN&&e.mode!==j,G=e.loggedIn!==g&&E;(U||D||G)&&a&&N(ke[j]);var W=!e.videoStream&&E,q=U&&E,K=e.performMatchTracker&&!H&&E,Y=e.betPlacementResultCode!==r&&h===s.ii.BET_1_TO_WATCH;if(W||G||q||K){var X=ot(this.props);M!==X&&P(X),Ue(this.props)}Y&&setTimeout((function(){Ue(t.props)}),1e3),u.Bd&&!a&&!e.keyboardShown&&i&&(h?(C(s.Sh.STREAM),o()):$e(this.props)()),e.error===h&&e.eventExist===m&&e.videoStream===E&&e.videoStreamUrl===T&&e.sportradarWidgetId===l&&e.watchAndBetIframeUrl===R&&e.performMatchTracker===H&&e.performWidgetId===x&&e.betGeniusStreamSources===L||rt(this.props,e),e.mode!==j&&it(this.props),(E&&!e.provider&&e.provider!==V||!e.performMatchTracker&&e.performMatchTracker!==H)&&Ue(this.props),_&&e.location.pathname!==B.pathname&&(A("VisualizationAreaModal"),!F&&o())},componentWillUnmount:function(){var e=this.props,t=e.eventId,n=e.unsubscribeFromEventDetails,r=e.unsubscribeFromEventScoreboard,a=e.setVisualizationHeight;clearTimeout(Be),clearTimeout(Le),n(t),r(t),a(0),Le=null}},rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.error,r=e.videoStream,a=e.videoStreamUrl,i=e.watchAndBetIframeUrl,o=e.sendStreamStart,c=e.sendStreamEnd,l=e.mode,u=e.setMode,d=e.startUIElement,m=e.provider,p=e.performMatchTracker,f=e.betGeniusStreamSources,v=s.li.RUK,h=s.li.PERFORM_V2,g=s.li.BETGENIUS,b=s.ri.UNKNOWN;if(!n)if(r&&a)b=s.ri.VIDEO_STREAM;else if(p||i&&m===h){var E=new URLSearchParams(e.watchAndBetIframeUrl).get("rmg");b="true"===E?s.ri.IFRAME_PERFORM_RMG_VIDEO_STREAM:s.ri.IFRAME_PERFORM_V2_VIDEO_STREAM}else i&&m===v?b=s.ri.IFRAME_VIDEO_STREAM:r&&m===g&&f?b=s.ri.VIDEO_STREAM_BETGENIUS:r||p||(b=s.ri.SPORT_RADAR_WIDGET);l!==b&&(b===s.ri.UNKNOWN&&c(s.Sh.STREAM),u(b));var O=b===s.ri.SPORT_RADAR_WIDGET&&!t.videoStream&&!r,S=b!==s.ri.UNKNOWN&&t.videoStream&&r&&(!!a||!!i);(O||S)&&o(d)},at=function(e){switch(e.mode){case s.ri.IFRAME_VIDEO_STREAM:case s.ri.IFRAME_PERFORM_RMG_VIDEO_STREAM:return s.ed;case s.ri.IFRAME_PERFORM_V2_VIDEO_STREAM:return s.mc;default:return s.Zc}},it=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.setVisualizationHeight,r=e.mode,a=e.minimized,i=a?at(e):ke[r];n(null===t?i:t)},ot=function(e){var t=e.autoPlaySoundOnSportVideo,n=e.autoPlaySoundOnHorseVideo,r=e.eventDetails.sportId;return s.Bg.includes(r)?!n:!t},ct=Object(i.compose)(Object(i.setDisplayName)("VisualizationAreaContainer"),c.withRouter,Object(a.connect)((function(e){var t=e.getIn(["visualization","eventId"],null),n=p(e,t),r=e.getIn(["eventEntities",t],Object(l.Map)()),a=Object(v.a)(e,t);return{minimized:e.getIn(["visualization","minimized"],!1),height:e.getIn(["visualization","height"],0),pinned:e.getIn(["visualization","pinned"],!1),sportradarWidgetId:e.getIn(["visualization","sportradarWidgetId"],null),performWidgetId:e.getIn(["visualization","performWidgetId"],null),videoStream:e.getIn(["visualization","videoStream"],!1),videoStreamUrl:e.getIn(["visualization","videoStreamUrl"],""),performMatchTracker:e.getIn(["visualization","performMatchTracker"],!1),eventRemoved:e.getIn(["removedEntities","events"],Object(l.Set)()).includes(t),visualizationEnabledState:e.getIn(["visualization","enabled"],!1),visEventId:a.vizEventId,videoProvider:a.videoProvider,videoEventId:a.videoEventId,maxPlayerSizePercentage:e.getIn(["visualization","maxPlayerSizePercentage"],50),disableEventStats:n.sportId===s.Dc,event:r,eventExist:!r.isEmpty(),eventDetails:n,eventId:t,loggedIn:Object(f.a)(e),betPlacementResultCode:e.getIn(["betplacement","resultCode"],null),keyboardShown:e.getIn(["keyboardState","keyboardShown"],!1),mode:e.getIn(["visualization","mode"],0),startUIElement:e.getIn(["visualization","startUIElement"],null),sportRadarWidgetType:n.sportId===s.G?"match.lmtLight":"match.lmtEssential",fullScreen:e.getIn(["visualization","fullScreen"],!1),betGeniusStreamSources:e.getIn(["visualization","betGeniusStreamSources"]),autoPlaySoundOnSportVideo:e.getIn(["userSettings","settings","media","autoPlaySoundOnSportVideo"]),autoPlaySoundOnHorseVideo:e.getIn(["userSettings","settings","media","autoPlaySoundOnHorseVideo"]),contactUsEnabled:e.getIn(["appConfig","featuresEnabled","contactUs"],!0),currency:e.getIn(["user","balance","currency"],"GBP")}}),(function(e){return Object(o.bindActionCreators)({resetVisualization:d.sd.resetVisualization,minimizeVisualization:d.sd.minimizeVisualization,maximizeVisualization:d.sd.maximizeVisualization,pinVisualization:d.sd.pinVisualization,unpinVisualization:d.sd.unpinVisualization,fetchEvent:d.eb.fetchEvent,getVideoUrl:d.sd.getVideoUrl,getVideoStreamingUrl:d.sd.getVideoStreamingUrl,disableVideoStream:d.sd.disableVideoStream,showModal:d.fc.showModal,hideModal:d.fc.hideModal,setVideoStreamUrl:d.sd.setVideoStreamUrl,setBetGeniusStreamSources:d.sd.setBetGeniusStreamSources,setMaxPlayerSizePercentage:d.sd.setMaxPlayerSizePercentage,setVisualizationHeight:d.sd.setVisualizationHeight,getRmgHtml:d.sd.getRmgHtml,setMode:d.sd.setMode,setFullScreen:d.sd.setFullScreen,subscribeToEventDetails:d.J.subscribeToEventDetails,unsubscribeFromEventDetails:d.J.unsubscribeFromEventDetails,subscribeToEventScoreboard:d.J.subscribeToEventScoreboard,unsubscribeFromEventScoreboard:d.J.unsubscribeFromEventScoreboard,sendStreamStart:d.Wc.sendStreamStart,sendStreamEnd:d.Wc.sendStreamEnd,statisticsPush:d.Wc.statisticsPush,showLiveChat:d.Ob.showLiveChat},e)})),Object(i.branch)((function(e){var t=e.visualizationEnabledState,n=e.location;return!Object(u.Sc)(t,n)}),i.renderNothing),Object(i.withState)("showBar","setShowBar",!1),Object(i.withState)("error","setError",null),Object(i.withState)("spinner","setSpinner",!1),Object(i.withState)("soundMute","setSoundMute",ot),Object(i.withState)("watchAndBetIframeUrl","setWatchAndBetIframeUrl",null),Object(i.withHandlers)(et),Object(i.withProps)((function(e){var t=e.onVizualization,n=e.minimized,r=e.showBar,a=e.eventId,i=e.location,o=e.eventDetails,d=e.event,m=e.performWidgetId,p=e.performMatchTracker,f=Object(c.matchPath)(i.pathname,{path:[s.kg.horseRacingSev,s.kg.greyhoundsSev,s.kg.sev],exact:!0}),v=f&&f.params.eventId!==a,h=!n&&r&&(!f||v),g=o.sportId===s.lb&&s.kg.horseRacingSev||o.sportId===s.fb&&s.kg.greyhoundsSev||s.kg.sev,b=Object(u.D)({pathname:g,rawParams:{sportName:d.get("categories",Object(l.OrderedSet)()).last(Object(l.Map)()).get("name"),categoryName:d.get("categories",Object(l.OrderedSet)()).first(Object(l.Map)()).get("name"),eventName:d.get("name")},preparedParams:{eventId:a}});return{onVizualizationAttributes:xe({},u.Bd?"onTouchStart":"onClick",t),noSevOrAnotherSevPage:h,sevUrl:Object(c.matchPath)(i.pathname,{path:b})?null:b,provider:m&&p?s.li.PERFORM_V2:e.videoProvider,providerEventId:m&&p?m:e.videoEventId}})),Object(i.lifecycle)(nt))(Ve);t.default=ct}}]);