(window.webpackJsonp=window.webpackJsonp||[]).push([[112,41],{"0T9x":function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var a=n("tOpy"),r=n("FvK5"),i=n("rOcY"),o=function(e,t,n,o,c){return Object(a.createSelector)(e,t,n,o,c,(function(e,t,n,a,o){var c=n.filter((function(t){return e.includes(t)})),l=e.reduce((function(n,a){if(0!==t.size){var i=t.get(a,Object(r.Map)());if(0!==c.length&&c.includes(a)){var o=i.set("isFavorite",!0);n.favouritedCategories.push(o),n.categories.push(o)}else i.get("featuredRank")>0&&e.size>1?(n.featuredCategories.push(i),n.categories.push(i)):n.categories.push(i)}return n}),{favouritedCategories:[],featuredCategories:[],categories:[]});return a.forEach((function(e){e.get("featuredRank")>0&&l.featuredCategories.push(e),l.categories.push(e)})),l.featuredCategories.sort((function(e,t){var n=e.get("featuredRank",0)-t.get("featuredRank",0);if(0!==n)return n;var a=e.get("type","").toLowerCase(),r=t.get("type","").toLowerCase();return a===i.L&&r===i.Zd.SPORT?-1:a===i.Zd.SPORT&&r===i.L?1:0})),l.favouritedCategories.sort((function(e,t){return c.indexOf(e.get("id"))-c.indexOf(t.get("id"))})),o&&l.categories.sort((function(e,t){return e.get("name","").localeCompare(t.get("name",""))})),Object(r.fromJS)(l)}))};t.a=o((function(e){return e.getIn(["azCategories","categoryIds"],Object(r.List)())}),(function(e){return e.get("categoryEntities",Object(r.Map)())}),(function(e){return i.be.features.pinFunctionality?e.getIn(["userSettings","favorites","categoryId"],[]):[]}),(function(e){return e.getIn(["azCategories","coupons"],Object(r.Map)())}),(function(e){return e.getIn(["azCategories","sortByName"],!1)}))},"0d3X":function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("XSEl"),o=n("wurE"),c=n.n(o),l=n("Qi1R"),s=n("rOcY"),u=c.a.div.withConfig({componentId:"sc-7rkmzo-0"})(["box-sizing:border-box;",";"],(function(e){var t=e.accaInsightNewBadgeEnabled,n=e.tabsCount,a=e.paddingBottom;return l.Ed&&t&&n?Object(o.css)(["margin-top:",";",""],Object(l.J)(s.Rc+20),a&&"padding-bottom: "+Object(l.J)(32)+";"):l.Ed&&Object(o.css)(["margin-top:",";",""],Object(l.J)(0===n?0:s.Rc),a&&"padding-bottom: "+Object(l.J)(32)+";")})),d=function(e){var t=e.children,n=e.tabsCount,a=e.paddingBottom,o=Object(i.useSelector)((function(e){return e.getIn(["appConfig","featuresEnabled","accaInsight"],!1)})),c=Object(i.useSelector)((function(e){return e.getIn(["appConfig","featuresEnabled","accaInsightNewBadge"],!1)}));return r.a.createElement(u,{accaInsightNewBadgeEnabled:o&&c,tabsCount:n,paddingBottom:a},t)};t.a=d},"2FW6":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n("wurE"),r=n.n(a).a.div.withConfig({componentId:"sc-10klk9l-0"})(["display:flex;flex:1;"])},"3LVM":function(e,t,n){"use strict";var a=n("tOpy"),r=n("FvK5"),i=n("rOcY"),o=n("Qi1R");t.a=Object(a.createSelector)((function(e){return e.getIn(["appConfig","features","promoteNativeApp"],Object(r.Map)())}),(function(e){var t=void 0;return{banner:(t=o.Ed?Object(o.Zb)()===i.zb?e.get("iOS",Object(r.Map)()):e.get("Android",Object(r.Map)()):e.get("Desktop",Object(r.Map)())).get("banner",!1),page:t.get("page",!1)}}))},"45Jd":function(e,t,n){"use strict";var a=n("wurE"),r=n.n(a),i=n("D5ie"),o=n("Qi1R"),c=n("uXGu"),l=r()(c.a).attrs((function(e){return{name:"arrow03",size:"s",fill:e.secondaryMode?i.Gk:i.mo,height:Object(o.J)(36)}})).withConfig({componentId:"ygyrnb-0"})(["color:",";cursor:pointer;appearance:none;"],(function(e){return e.secondaryMode?i.Gk:i.mo}));t.a=l},"4G0r":function(e,t,n){"use strict";var a=n.p+"ng/themes/lsbet-uk/images/QuickLinksItemBG.svg";t.a=a},"5fyt":function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("D5ie"),o=n("uXGu"),c=function(e){var t=e.fill,n=void 0===t?i.Pb:t;return r.a.createElement(o.a,{fill:n,name:"bet-builder-label",height:"15"})};t.a=c},"8kE8":function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("FblQ"),o=n("wurE"),c=n.n(o),l=n("Qi1R"),s=c.a.div.withConfig({componentId:"sc-1mpkg10-0"})(["position:relative;"]),u=c.a.img.attrs((function(e){var t=e.name;return{width:Object(l.J)(48),height:Object(l.J)(32),alt:t}})).withConfig({componentId:"sc-1mpkg10-1"})(["overflow:hidden;min-width:",";vertical-align:middle;border-radius:",";"],Object(l.J)(44),Object(l.J)(4)),d=function(e){var t,n=e.name;return r.a.createElement(s,null,r.a.createElement(u,{src:i.flags[(t=n,t.toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))],name:n}))};t.a=d},"9AAm":function(e,t,n){"use strict";var a=n("tOpy"),r=n("FvK5");t.a=Object(a.createSelector)((function(e){return e.getIn(["userSettings","settings","inPlay","defaultInPlayTime"],0)}),(function(e){return e.get("inPlayCounts",Object(r.List)())}),(function(e,t){return t.find((function(t){return Number(t.get("interval",0))===e}),null,Object(r.Map)()).get("count",0)}))},A2ze:function(e,t,n){"use strict";var a=n("tOpy"),r=n("0T9x");t.a=Object(a.createSelector)(r.a,(function(e){return e.some((function(e){return e.some((function(e){return(e.getIn(["counters","totalInplay"])||e.get("inplayEventsCount"))>0}))}))}))},AioJ:function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("Qi1R"),o=n("AuNk"),c=n("wurE"),l=n.n(c),s=n("D5ie"),u=n("rOcY"),d=n("uXGu"),g=n("I2FV"),f=n("4G0r"),p=l.a.div.withConfig({componentId:"fffuxv-0"})(["box-sizing:border-box;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;border-radius:",";border:"," solid ",";",";height:100%;text-transform:uppercase;"],Object(i.J)(16),Object(i.J)(2),s.Qk,(function(e){var t=e.quicklinks;return u.F||t?Object(c.css)(["background:none;"]):Object(c.css)(["background:",";"],s.Wm)})),m=l()(g.a).withConfig({componentId:"fffuxv-1"})(["position:relative;",";"],(function(e){return e.quicklinks?Object(c.css)(["width:100%;height:",";background:url(",") ",";border-radius:",";background-repeat:no-repeat;background-size:cover;background-position:center;"],Object(i.J)(u.tc),f.a,s.Nk,Object(i.J)(16)):Object(c.css)(["width:",";height:",";"],Object(i.J)(120),Object(i.J)(120))})),b=l()(d.a).attrs((function(){return u.F?{name:"fives",size:"xxl",fill:s.u}:{name:"squads",width:Object(i.J)(100),height:Object(i.J)(100)}})).withConfig({componentId:"fffuxv-2"})([""]),h=function(e){var t=e.onClickHandler,n=e.badge,a=e.quickLinks;return r.a.createElement(m,{onClick:t,to:Object(i.Jb)(),quicklinks:a&&a.toString()},n&&r.a.createElement(o.a,{badge:n}),r.a.createElement(p,{quicklinks:a},r.a.createElement(b,null)))};t.a=h},AuNk:function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("iZzW"),o=n("wurE"),c=n.n(o),l=n("rOcY"),s=n("Qi1R"),u=n("D5ie"),d=n("9FAq"),g=l.y?Object(o.css)(["font-family:"," !important;font-style:italic;justify-content:flex-start;"],d.e):Object(o.css)(["font-family:",";justify-content:center;"],d.d),f=c.a.div.withConfig({componentId:"sc-18tmk8k-0"})(["box-sizing:border-box;position:absolute;border-radius:",";display:flex;align-items:center;font-size:",";text-transform:uppercase;max-width:90%;white-space:nowrap;overflow:hidden;z-index:1;height:",";padding:",";",";",""],Object(s.J)(8),Object(s.J)(24),Object(s.J)(30),Object(s.J)(2,10,0,10),(function(e){var t=e.top,n=void 0===t?18:t,a=e.disableRightOffset,r=void 0!==a&&a,i=e.badgeMode;return Object(o.css)(["right:",";top:",";",";"],r?0:Object(s.J)(-10),Object(s.J)(-n),function(e){switch(e){case"secondary":return Object(o.css)(["color:",";background:",";"],u.lo,u.R);default:return Object(o.css)(["color:",";background:",";"],u.S,u.Q)}}(i))}),g),p=function(e){var t=e.badge,n=e.disableRightOffset,a=e.top;return r.a.createElement(f,{disableRightOffset:n,top:a,badgeMode:"NEW"===t.type?"secondary":""},r.a.createElement(i.a,{id:t.text}))};t.a=p},CJTa:function(e,t,n){"use strict";var a=n("XSEl"),r=n("ymme"),i=n("mpt1"),o=n("W0B4"),c=n.n(o),l=n("rOcY"),s=n("Qi1R"),u=n("YMdE"),d=null,g=function(e){var t=e.categoryId,n=e.fetchCompetitions;clearInterval(d),n({categoryId:t,withLoading:!0}).then(function(e){return function(t){var n=e.searchCategories,a=e.categoryId,r=e.setPageHasEventGroups,i=e.setPageHeaderText,o=e.setActiveSportId,c=Object(s.gc)("payload.competitions",t);c&&!c.length&&n().then((function(e){var t=Object(s.gc)("payload.sports",e),n=t&&t.find((function(e){return e.id===a}));r(n.eventGroupType===l.se.OUTRIGHT),o(n.id),i(n.name)}))}}(e)),d=setInterval((function(){return n({categoryId:t})}),l.Yd)},f={componentDidMount:function(){g(this.props)},componentDidUpdate:function(e){this.props.categoryId!==e.categoryId&&g(this.props)},componentWillUnmount:function(){clearInterval(d),d=null,this.props.cleanCategories()}},p=Object(i.compose)(Object(i.setDisplayName)("withAzPageCategories"),Object(a.connect)((function(e,t){return{categoryId:t.match.params.categoryId}}),(function(e){return Object(r.bindActionCreators)({cleanCategories:u.E.cleanCategories,searchCategories:u.E.searchCategories,setPageHeaderText:u.qc.setPageHeaderText,setActiveSportId:u.e.setActiveSportId},e)})),Object(i.withState)("pageHasEventGroups","setPageHasEventGroups",!1),Object(i.lifecycle)(f));p.PropTypes={fetchCompetitions:c.a.func.isRequired},t.a=p},DUV5:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var a=n("mXGw"),r=n.n(a),i=n("wurE"),o=n.n(i),c=n("D5ie"),l=n("Qi1R"),s=n("uXGu"),u=o()(s.a).attrs((function(e){var t=e.expanded,n=e.alternativeIcon;return{name:n?t?"minus-icon":"plus-icon":t?"arrow04":"arrow01",width:Object(l.J)(26),height:Object(l.J)(26),stroke:n?c.Gk:"none",fill:c.Gk}})).withConfig({componentId:"sc-1wjo5l4-0"})(["margin-left:",";"],Object(l.J)(22)),d=function(e,t){return function(n){n.stopPropagation(),e(t)}},g=function(e){var t=e.expanded,n=e.toggleCollapse,a=e.id,i=e.alternativeIcon;return r.a.createElement(u,{alternativeIcon:i,expanded:t,onClick:d(n,a)})}},"E8R/":function(e,t,n){"use strict";var a=n("XSEl"),r=n("ymme"),i=n("FvK5"),o=n("YMdE"),c=n("mXGw"),l=n.n(c),s=(n("Pdmf"),n("rOcY")),u=n("qGSj"),d=n("Qi1R"),g=n("5fyt"),f=n("wurE"),p=n.n(f),m=n("D5ie"),b=n("uXGu"),h=p.a.div.withConfig({componentId:"sc-1brulkw-0"})(["padding:",";background-color:",";border-radius:",";display:flex;align-items:center;"],Object(d.J)(8,8,8,6),m.Fk,Object(d.J)(8)),v=p()(b.a).attrs((function(){return{name:"sport-price-boost",fill:m.Ek}})).withConfig({componentId:"sc-1brulkw-1"})([""]),O=p.a.span.withConfig({componentId:"sc-1brulkw-2"})(["color:",";font-size:",";line-height:1;"],m.Ek,Object(d.J)(24)),E=function(e){var t=e.boostsOutrights;return l.a.createElement(h,null,l.a.createElement(v,null),l.a.createElement(O,null,t))},j=n("nxc8"),w=n("I2FV"),y=p.a.div.withConfig({componentId:"sc-10e4yro-0"})(["display:flex;align-items:center;border-bottom:"," solid ",";width:100%;cursor:pointer;",";overflow:hidden;background-color:",";"],Object(d.J)(2),m.Ym,(function(e){var t=e.isOutright,n=e.showDate;return t||n?Object(f.css)(["min-height:",";"],Object(d.J)(80)):Object(f.css)(["height:",";"],Object(d.J)(112))}),(function(e){return e.horseSection&&!s.F?m.Zl:"inherit"})),I=p()(w.a).withConfig({componentId:"sc-10e4yro-1"})(["width:100%;"]),C=p.a.div.withConfig({componentId:"sc-10e4yro-2"})(["cursor:pointer;box-sizing:border-box;padding:",";min-height:",";padding-left:",";"],Object(d.J)(21,24,21,24),Object(d.J)(96),(function(e){var t=e.showPin,n=e.type;return t?n===s.L?Object(d.J)(94):0:Object(d.J)(24)})),k=p.a.div.withConfig({componentId:"sc-10e4yro-3"})(["display:flex;background-color:",";text-align:center;border-right:"," solid ",";min-width:",";"],m.Yd,Object(d.J)(2),m.Zl,Object(d.J)(80)),P=p()(b.a).attrs((function(e){var t=e.active;return{name:t?s.Jf.PIN_SELECTED:s.Jf.PIN,fill:t?m.u:m.Gk,size:"s"}})).withConfig({componentId:"sc-10e4yro-4"})(["margin:",";z-index:1;"],Object(d.J)(0,28)),S=p.a.div.withConfig({componentId:"sc-10e4yro-5"})(["width:100%;border-spacing:",";display:flex;align-items:center;font-size:",";"],Object(d.J)(4),Object(d.J)(28)),x=p.a.div.withConfig({componentId:"sc-10e4yro-6"})(["display:flex;justify-content:left;color:",";font-size:",";max-width:100%;flex:1;padding:",";",";",";"],m.Zm,Object(d.J)(28),Object(d.J)(12,8,8,0),(function(e){var t=e.isOutright,n=e.showDate;return t||n?null:Object(d.M)()}),(function(e){var t=e.showDate,n=e.withoutIcons;return t||n?Object(f.css)(["display:inline;"]):null})),J=p.a.div.withConfig({componentId:"sc-10e4yro-7"})(["padding-right:",";"],Object(d.J)(16)),T=p.a.span.withConfig({componentId:"sc-10e4yro-8"})(["color:",";white-space:nowrap;"],m.Zm),R=p.a.div.withConfig({componentId:"sc-10e4yro-9"})(["flex:1;min-width:0;"]),L=p.a.div.withConfig({componentId:"sc-10e4yro-10"})(["display:flex;align-items:center;min-width:0;",";"],(function(e){return e.showArrow?"flex-grow: 1;":""})),A=p.a.div.withConfig({componentId:"sc-10e4yro-11"})(["display:flex;align-items:center;flex-grow:1;justify-content:flex-end;& >:last-child{margin-left:",";}"],Object(d.J)(16)),z=p.a.div.withConfig({componentId:"sc-10e4yro-12"})(["height:",";"],Object(d.J)(30)),G=function(){function e(e,t){for(var n=0;n0&&l.a.createElement(j.a,null)),l.a.createElement(A,null,c.map((function(e){return e===s.tg.BET_BUILDER&&t.getIn(["counters","betBuilder"])?l.a.createElement(z,null,l.a.createElement(g.a,null)):e===s.tg.PRICE_BOOSTS&&p?l.a.createElement(E,{boostsOutrights:p}):null})),f&&l.a.createElement(b.a,{name:"arrow02",size:"xs"})))}}]),t}(c.PureComponent),M=function(e){var t=e.name,n=e.setPageHeaderText,a=e.setActiveSportId,r=e.sportId,i=e.type;return function(){n(t),"Sport"===i&&a(r)}},B=function(e){var t=e.itemData,n=e.isFavoriteSelectionEnabled,a=e.navigationUrl,r=e.isCoupon,i=e.children,o=e.isOutright,c=e.setPageHeaderText,d=e.showDate,g=e.toggleCategoryPin,f=e.showPin,p=e.countryCode,m=e.index,b=e.azSections,h=e.setTooltipTrigger,v=e.categoryId,O=e.withoutIcons,E=e.setActiveSportId,j=e.horseSection,w=e.azPromoBadges,S=l.a.createElement(C,{showPin:f,type:t.get("type")},l.a.createElement(H,{itemData:t,isFavoriteSelectionEnabled:n,isOutright:o,showDate:d,isCoupon:r,withoutIcons:O,azPromoBadges:w},!r&&!O&&l.a.createElement(u.a,{type:t.get("type"),sportId:t.get("id"),iconUrl:t.get("iconUrl"),countryCode:t.get("countryCode")||p,sportIconHeightPt:48,sportIconSize:"xl"})));return l.a.createElement(y,{isOutright:o,showDate:d,azSections:b,horseSection:j},f&&t.get("type")!==s.L&&l.a.createElement(P,{active:t.get("isFavorite"),onClick:g(t.get("id"),m,t.get("isFavorite"),t.get("type"))}),l.a.createElement(R,{onClick:M({name:t.get("name",""),setPageHeaderText:c,setActiveSportId:E,sportId:t.get("id"),type:t.get("type")})},i&&l.a.createElement(k,null,i),l.a.createElement(I,{to:a,onClick:b?function(){var e,t,n;e=document.body,t=document.documentElement,n=Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight),window.scrollY>.3*n&&(v?v===s.gb&&h(s.Xh.types.pinLeague):h(s.Xh.types.pinSport))}:void 0,rel:t.has("navigationUrl")||j?"nofollow":null},S)))};B.defaultProps={url:"",isOutright:!1,isCoupon:!1,showDate:!1,navigatoinUrl:"",toggleCategoryPin:function(){return null},showPin:!1,horseSection:!1};var F=B,X=Object(a.connect)((function(e){return{azPromoBadges:e.getIn(["appConfig","features","promoBadges","az"],Object(i.List)([]))}}),(function(e){return Object(r.bindActionCreators)({setPageHeaderText:o.qc.setPageHeaderText,setTooltipTrigger:o.gd.setTooltipTrigger,setActiveSportId:o.e.setActiveSportId},e)}))(F);t.a=X},G4QZ:function(e,t,n){"use strict";var a={};n.r(a),n.d(a,"ItemHolder",(function(){return f})),n.d(a,"DragHandle",(function(){return p})),n.d(a,"PinIconHolder",(function(){return m})),n.d(a,"ButtonWrapper",(function(){return b})),n.d(a,"DoneButton",(function(){return h})),n.d(a,"UnpinnedItemHolder",(function(){return v}));var r=n("mXGw"),i=n.n(r),o=n("R+db"),c=n("D5ie"),l=n("wurE"),s=n.n(l),u=n("Qi1R"),d=n("co3k"),g=n("9FAq"),f=s.a.div.withConfig({componentId:"sc-1twpbuc-0"})(["display:flex;justify-content:space-between;overflow:hidden;color:",";font-family:",";"],c.Gk,g.b),p=s.a.div.withConfig({componentId:"sc-1twpbuc-1"})(["background-color:",";display:flex;align-items:center;justify-content:center;min-width:",";border-bottom:"," solid ",";"],c.rf,Object(u.J)(80),Object(u.J)(2),c.ad),m=s.a.div.withConfig({componentId:"sc-1twpbuc-2"})(["background-color:",";display:flex;align-items:center;justify-content:center;min-width:",";height:",";border-bottom:"," solid ",";"],c.uk,Object(u.J)(80),Object(u.J)(80),Object(u.J)(2),c.ad),b=s.a.div.withConfig({componentId:"sc-1twpbuc-3"})(["background-color:",";position:",";box-sizing:border-box;width:100%;bottom:0;padding:",";"],c.nk,(function(e){return e.pageInModal?"initial":"fixed"}),Object(u.J)(14,24,u.ad?78:52)),h=s()(d.a).withConfig({componentId:"sc-1twpbuc-4"})(["width:100%;height:",";"],Object(u.J)(82)),v=s.a.div.withConfig({componentId:"sc-1twpbuc-5"})(["margin-top:",";padding-bottom:",";"],Object(u.J)(6),Object(u.J)(148)),O=a,E=n("qfJY"),j=n("uXGu"),w=Object(o.SortableElement)((function(e){var t=e.showPin,n=e.children;return i.a.createElement(O.ItemHolder,null,n,t&&i.a.createElement(E.a,null,i.a.createElement(O.DragHandle,null,i.a.createElement(j.a,{name:"sort",fill:c.Rm}))))}));t.a=w},I5ep:function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("D5ie"),o=n("goda"),c=n("wurE"),l=n.n(c),s=n("Qi1R"),u=l.a.div.withConfig({componentId:"sc-2btoba-0"})(["",";& > svg{position:",";z-index:100;",";",";}",";"],(function(e){return e.localLoading&&Object(c.css)(["position:relative;display:flex;flex-grow:1;"])}),(function(e){return e.localLoading&&!s.Ed?"absolute":"fixed"}),(function(e){var t=e.localLoading,n=e.windowRelativeLoading;return Object(c.css)(["left:calc(50% - ",");"],Object(s.J)(t||n||s.Ed?50:174))}),(function(e){var t=e.topValue;return Object(c.css)(["top:calc("," + 50% - ",");"],Object(s.J)(t),Object(s.J)(50))}),(function(){return s.Ed&&Object(c.css)(["left:0;display:flex;align-items:center;justify-content:center;width:100vw;"])})),d=function(e){var t=e.localLoading,n=e.topValue,a=e.windowRelativeLoading;return r.a.createElement(u,{localLoading:t,topValue:n,windowRelativeLoading:a},r.a.createElement(o.a,{color:i.Gk}))};d.defaultProps={topValue:0,localLoading:!1,windowRelativeLoading:!1};var g=d;t.a=g},JqxZ:function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("XSEl"),o=n("t8F0"),c=n("wurE"),l=n.n(c),s=n("Qi1R"),u=n("D5ie"),d=l.a.div.withConfig({componentId:"z8n014-0"})(["padding:",";color:",";font-size:",";"],Object(s.J)(52,24,24),u.Gk,Object(s.J)(28)),g=function(e){var t=e.mobileBanner,n=void 0!==t&&t,c=e.setBannerHeight,l=Object(i.useSelector)((function(e){return e.getIn(["seo","seoData","info"],null)}));return r.a.createElement(a.Fragment,null,n&&r.a.createElement(o.default,{setBannerHeight:c,bannerMode:!0}),l&&r.a.createElement(d,{dangerouslySetInnerHTML:{__html:l}}))};t.a=g},QrBv:function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("D5ie"),o=n("uXGu"),c=n("wurE"),l=n.n(c),s=n("Qi1R"),u=l.a.img.attrs((function(e){var t=e.url,n=e.heightPt;return{src:t,height:Object(s.J)(n)}})).withConfig({componentId:"b9rean-0"})([""]),d=l.a.div.withConfig({componentId:"b9rean-1"})(["position:relative;color:",";height:",";"],(function(e){return e.color}),(function(e){var t=e.heightPt;return Object(s.J)(t)})),g=function(e){var t=e.name,n=e.size,a=e.fill,i=e.stroke,c=e.iconUrl,l=e.heightPt;return r.a.createElement(d,{heightPt:l,color:a},c?r.a.createElement(u,{url:c,heightPt:l}):r.a.createElement(o.a,{name:t,size:n,fill:a,stroke:i}))};g.defaultProps={name:"",size:"m",fill:i.Gk,iconUrl:null,heightPt:40};var f=g;t.a=f},R67J:function(e,t,n){"use strict";var a=n("XSEl"),r=n("ymme"),i=n("mpt1"),o=n("FvK5"),c=n("BmqR"),l=n("Qi1R"),s=n("rOcY"),u=n("YMdE"),d=n("mXGw"),g=n.n(d),f=n("iqf+"),p=n("wurE"),m=n.n(p).a.div.withConfig({componentId:"lz601x-0"})(["display:flex;align-items:center;"]),b=function(e){return g.a.createElement(m,null,g.a.createElement(f.c,e))},h=Object.assign||function(e){for(var t=1;t div > ","{font-size:",";}"],m.a,g.Nk,Object(d.J)(u.tc),Object(d.J)(40,0,20),c.a,Object(d.J)(28)):Object(l.css)(["padding-top:",";min-width:",";height:",";margin-right:",";margin-left:",";"],Object(d.J)(14),Object(d.J)(120),Object(d.J)(120),Object(d.J)(8),Object(d.J)(8))},v=s.a.div.withConfig({componentId:"ut5h8e-0"})(["display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;height:100%;"]),O=(s()(f.a).withConfig({componentId:"ut5h8e-1"})(["",";",";"],b,h),s.a.a.withConfig({componentId:"ut5h8e-2"})(["",";",";"],b,h)),E=s()(p.a).attrs((function(e){var t=e.sizePt;return{name:u.Z,fill:g.Gk,width:Object(d.J)(t),height:Object(d.J)(t),stroke:g.Gk}})).withConfig({componentId:"ut5h8e-3"})([""]),j=function(e){var t=e.badge,n=e.itemName,i=e.quickLinks;return r.a.createElement(a.Fragment,null,t&&r.a.createElement(o.a,{badge:t}),r.a.createElement(v,null,r.a.createElement(E,{sizePt:i?48:40}),r.a.createElement(c.a,null,n)))},w=function(e){var t=e.onClickHandler,n=e.dfgGameId,a=e.badge,o=e.itemName,c=e.quickLinks,l=Object(i.a)(n).href;return n?r.a.createElement(O,{quickLinks:c,href:l},r.a.createElement(j,{badge:a,itemName:o,quickLinks:c})):r.a.createElement(O,{onClick:t,quickLinks:c},r.a.createElement(j,{badge:a,itemName:o,quickLinks:c}))};w.defaultProps={onClickHandler:function(){return null}};var y=w;t.a=y},bi6Q:function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("wEAm"),o=n("45Jd"),c=n("dZDY"),l=function(e){var t=e.closeIcon,n=e.replace,a=e.pageInModal,l=e.secondaryMode;return r.a.createElement(c.a,{replace:n},t?r.a.createElement(i.a,{pageInModal:a,secondaryMode:l}):r.a.createElement(o.a,{secondaryMode:l}))};l.defaultProps={closeIcon:!1,replace:!1,secondaryMode:!1};var s=l;t.a=s},fFiE:function(e,t,n){"use strict";var a=n("mpt1"),r=n("ymme"),i=n("XSEl"),o=n("rOcY"),c=n("YMdE"),l=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(e,["label","href","externalLink","SBMaintenanceTextId","disabled","SBMaintenanceRelative","badge","historyReplace","SBMaintenanceUrl","tooltipId"]);if(l)return r.a.createElement(v,{key:a,onClick:I(n,k,o,w({href:c,externalLink:l},x))},r.a.createElement(s.a,{id:a}));var T=w({href:c,externalLink:l,disabled:p},x),R=b&&g?function(e,t){return function(n){n.preventDefault(),t(e)}}(d,P):I(n,k,o,T),L=S.pathname===c||Object(i.matchPath)(S.pathname,{path:x.basePath,exact:!0})||Object(i.matchPath)(S.pathname,{path:x.smartPath,exact:!0})||Object(i.matchPath)(S.pathname,{path:x.sevPath,exact:!0}),A=void 0!==j?j:m;return r.a.createElement(O,{to:g&&y?y:c,key:a,onClick:R,disabled:p||b&&g,replace:A,exact:f,isActive:function(){return L},ref:L?J:null,id:C},h&&r.a.createElement(E,{decreasedMargin:t.length>4},r.a.createElement(u.a,{badge:h,top:0})),r.a.createElement(s.a,{id:a}))})))};t.c=C},jFxm:function(e,t,n){"use strict";var a=n("wurE"),r=n.n(a),i=n("Qi1R"),o=r.a.div.withConfig({componentId:"sc-1c3cyb5-0"})(["width:100%;height:",";margin-top:",";",";"],Object(i.J)(44),(function(e){var t=e.quickLinks;return Object(i.J)(t?0:22)}),(function(e){return e.image?Object(a.css)(["height:",";background:"," no-repeat center;background-size:contain;"],Object(i.J)(40),Object(i.bd)(e.image)):""}));t.a=o},oIb0:function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("XSEl"),o=n("FvK5"),c=n("BmqR"),l=n("rOcY"),s=n("Qi1R"),u=n("PzKi"),d=n("YMdE"),g=n("9AAm"),f=n("y/PG"),p=n("AuNk"),m=n("AioJ"),b=n("YlvS"),h=n("QH1u"),v=n("qGSj"),O=n("jFxm"),E=n("wurE"),j=n.n(E),w=n("D5ie"),y=n("uXGu"),I=n("I2FV"),C=n("4G0r"),k=j.a.div.withConfig({componentId:"sc-18zhj52-0"})(["width:",";height:",";display:",";margin-top:",";margin-bottom:",";pointer-events:none;& > div{height:auto;}"],Object(s.J)(48),Object(s.J)(48),(function(e){return e.image||""!==e.iconName?"flex":"none"}),Object(s.J)(16),Object(s.J)(8)),P=j.a.div.withConfig({componentId:"sc-18zhj52-1"})(["display:flex;flex-grow:1;font-size:",";text-align:center;align-items:center;word-break:break-word;color:",";line-height:",";padding:",";",";"],Object(s.J)(28),w.Sk,Object(s.J)(34),Object(s.J)(0,22),Object(s.rb)(2)),S=j()(y.a).attrs((function(){return{name:"in-play",height:Object(s.J)(48),width:Object(s.J)(42),fill:w.Gk}})).withConfig({componentId:"sc-18zhj52-2"})([""]),x=function(){return Object(E.css)(["display:flex;flex-direction:column;height:",";margin:",";border-radius:",";align-items:center;flex:0 0 ",";justify-content:center;cursor:pointer;text-decoration:none;color:",";position:relative;background:url(",") ",";background-repeat:no-repeat;background-size:cover;background-position:center;& svg ~ div{margin-bottom:",";}"],Object(s.J)(156),Object(s.J)(0),Object(s.J)(16),Object(s.J)(116),w.Sk,C.a,w.Nk,Object(s.J)(10))},J=j()(I.a).withConfig({componentId:"sc-18zhj52-3"})(["",";"],x),T=j.a.div.withConfig({componentId:"sc-18zhj52-4"})(["",";"],x),R=j.a.a.withConfig({componentId:"sc-18zhj52-5"})(["",";"],x),L=j.a.div.withConfig({componentId:"sc-18zhj52-6"})(["",";border-radius:",";"],(function(e){return e.inplay?Object(E.css)(["padding:",";position:relative;background:linear-gradient(55deg,",","," 160%);"],Object(s.J)(2),w.Ok,w.Pk):Object(E.css)(["border:"," solid ",";"],Object(s.J)(2),w.Qk)}),Object(s.J)(16)),A=j.a.div.withConfig({componentId:"sc-18zhj52-7"})(["display:flex;align-items:center;flex-direction:column;"]),z=j.a.div.withConfig({componentId:"sc-18zhj52-8"})(["background:",";color:",";font-size:",";min-width:",";height:",";align-items:center;justify-content:center;display:flex;font-weight:bold;font-style:italic;border-radius:",";position:absolute;right:",";top:",";padding:",";"],w.u,w.Tk,Object(s.J)(20),Object(s.J)(30),Object(s.J)(32),Object(s.J)(8),Object(s.J)(-20),Object(s.J)(-20),Object(s.J)(0,8,0,4)),G=function(e){var t=e.inplay,n=void 0!==t&&t,a=e.image,i=void 0===a?null:a,o=e.iconName,c=void 0===o?null:o;return n?r.a.createElement(k,null,r.a.createElement(S,null)):i?r.a.createElement(k,null,r.a.createElement(O.a,{image:i,quickLinks:!0})):c?r.a.createElement(k,null,r.a.createElement(v.a,{type:"icon",name:c})):null},N=Object.assign||function(e){for(var t=1;t0&&u&&r.a.createElement(z,null,b),r.a.createElement(A,null,(s||u||c)&&r.a.createElement(G,{image:c,iconName:s,inplay:u}),r.a.createElement(P,null,t))),O=i?r.a.createElement(R,{href:i,target:o},v):n&&!g?r.a.createElement(J,{to:n,target:o,onClick:d},v):r.a.createElement(T,{onClick:d},v);return r.a.createElement(L,N({},h,{inplay:u}),O)};D.defaultProps={url:null,inplay:!1,image:null,target:null,modal:!1,iconName:null};var H,M=D,B=j.a.div.withConfig({componentId:"m8vrtm-0"})(["display:grid;gap:",";padding:",";",""],Object(s.J)(24),Object(s.J)(24),(function(){return s.Ed?Object(E.css)(["grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;"]):Object(E.css)(["grid-template-columns:repeat(auto-fill,",");"],Object(s.J)(214))})),F=j.a.a.withConfig({componentId:"m8vrtm-1"})(["position:relative;text-decoration:none;height:",";background:url(",") ",";background-repeat:no-repeat;background-size:cover;background-position:center;border-radius:",";"],Object(s.J)(l.tc),C.a,w.Nk,Object(s.J)(16)),X=j.a.div.withConfig({componentId:"m8vrtm-2"})(["box-sizing:border-box;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;border-radius:",";border:"," solid ",";"],Object(s.J)(16),Object(s.J)(2),w.Qk),Q=j.a.div.withConfig({componentId:"m8vrtm-3"})(["display:flex;font-size:",";justify-content:center;align-items:center;text-align:center;line-height:1;word-break:break-word;padding-top:",";color:",";"],Object(s.J)(28),Object(s.J)(4),w.dn),q=j()(y.a).attrs((function(e){var t=e.name;return{name:t,fill:w.Gk,width:Object(s.J)(48),height:Object(s.J)(48),stroke:Object(s.nc)(t)}})).withConfig({componentId:"m8vrtm-4"})(["margin-bottom:",";"],Object(s.J)(8)),V=j.a.div.withConfig({componentId:"m8vrtm-5"})(["background-color:",";"],w.nk),_=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(a=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(l){r=!0,i=l}finally{try{!a&&c.return&&c.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var U=(Y(H={},l.Kh.CASINO,["casino",!1]),Y(H,l.Kh.FIVES,["fives",!1]),Y(H,l.Kh.LIVECASINO,["liveCasino",!1]),Y(H,l.Kh.SEARCH_FOOTBALL,["betFinder",!1]),Y(H,l.Lh.CASINOGAME,["dfg",!1]),Y(H,"contactUs",["contactUs",!0]),H),Z=function(e){var t=e.items,n=e.onClick,a=e.userMenu,v=e.categoryId,O=Object(c.useParams)(),E=Object(i.useSelector)((function(e){return e.getIn(["appConfig","featuresEnabled"],Object(o.Map)())})),j=Object(i.useSelector)(f.a),w=j.dfgEnabled,y=j.fivesEnabled,I=j.compsAllowed,C=E.set("dfg",w).set("fives",y),k=Object(i.useSelector)((function(e){return O.categoryId?e.getIn(["user","favouriteEventIds",O.categoryId],Object(o.List)()):e.getIn(["user","favouriteEventIds"],Object(o.Map)())})),P=Object(i.useSelector)(g.a)>0,S=Object(i.useSelector)((function(e){return e.getIn(["inPlayCounts",0,"count"],0)})),x=Object(h.a)([d.gd.setTooltipTrigger,d.qc.setPageHeaderText,d.e.setActiveSportId]),J=_(x,3),T=J[0],R=J[1],L=J[2],A=function(){T(l.Xh.types.openSliderCasino),Object(s.Jd)("casino")},z=function(){T(l.Xh.types.openSliderCasino),Object(s.Jd)("livecasino")};return t.filter((function(e){return function(e,t,n){var a=e.dataId,r=e.type,i=e.feature,o=e.badgeType,c=[a,r,i].find((function(e){return Object.keys(U).includes(e)}));return!(!n&&"FREE"===o)&&(!c||t.get(U[c][0],U[c][1]))}(e,C,I)})).map((function(e,t){var i=e.type,o=e.dataId,c=e.id,d=e.name,g=e.url,f=e.externalUrl,h=e.iconName,O=e.image,E=e.target,j=e.modal,w=e.badge,y=t+c;if(i===l.Lh.CASINOGAME){var I={key:y,badge:w,itemName:d,quickLinks:!0};return s.Ed?I.dfgGameId=o:I.onClickHandler=A,r.a.createElement(b.a,I)}if(i===l.Lh.APPTARGET)switch(o){case l.Kh.CASINO:return r.a.createElement(F,{key:y,onClick:A},w&&r.a.createElement(p.a,{badge:w}),r.a.createElement(X,{name:l.I},r.a.createElement(q,{name:l.I}),r.a.createElement(Q,null,d)));case l.Kh.FIVES:return r.a.createElement(m.a,{key:y,freeLabelVisibility:!0,badge:w,quickLinks:!0});case l.Kh.LIVECASINO:return r.a.createElement(F,{key:y,onClick:z},w&&r.a.createElement(p.a,{badge:w}),r.a.createElement(X,{name:l.Eb},r.a.createElement(q,{name:l.Eb}),r.a.createElement(Q,null,d)));case l.Kh.INPLAY:var C=Object(s.E)({pathname:l.ng.inplay,preparedParams:{categoryId:v}});return P&&r.a.createElement(M,{key:y,url:C,inplay:!0,totalInplay:S,title:d});case l.Kh.SEARCH_FOOTBALL:var x=Object(s.E)({pathname:l.ng.betFinder,rawParams:{sportName:"football"},preparedParams:{categoryId:"SBTC1_1"}});return r.a.createElement(M,{key:y,onClick:function(){R(u.a["sports.football"]),L(l.gb)},url:x,title:d,iconName:"search"});case l.Kh.COUPON_FAVOURITES:if(!k.size)return null;var J=e.data,T=J.coupon,G=J.sportCategoryId,N=Object(s.E)({pathname:l.ng.azBrowserCouponMev,preparedParams:{couponId:T,sportCategoryId:G}});return r.a.createElement(M,{key:y,title:d,url:N,image:O})}return r.a.createElement(M,{userMenu:a,key:y,url:g,externalUrl:f,target:E,title:d,image:O,iconName:h,onClick:n(e),modal:j,badge:w,id:c})}))};Z.defaultProps={items:[],onClick:function(){},userMenu:!1};var W=Z,K=function(e){var t=e.items,n=e.categoryId,a=e.inplay,i=e.onClick;return t.length?r.a.createElement(V,null,r.a.createElement(B,null,r.a.createElement(W,{items:t,inplay:a,onClick:i,categoryId:n}))):null};K.defaultProps={items:[],onClick:function(){}};var $=K;t.a=$},pBFk:function(e,t,n){"use strict";n.r(t);var a=n("XSEl"),r=n("ymme"),i=n("mpt1"),o=n("rOcY"),c=n("Qi1R"),l=n("YMdE"),s=n("tOpy"),u=n("0T9x"),d=Object(s.createSelector)(u.a,(function(e){return e.map((function(e){return e.filter((function(e){return e.getIn(["counters","special","notStarted"])||e.getIn(["counters","special","inplay"])||e.get("specialEventsCount")}))}))})),g=n("W0iL"),f=n("CJTa"),p=Object(i.compose)(Object(i.setDisplayName)("Specials"),Object(a.connect)((function(e,t){var n=t.match;return{page:"specials",performanceTabId:o.ih.SPECIALS,outrights:d(e),loading:e.getIn(["fetch","loading",Object(c.T)(l.E.SPECIALS_SUCCESS)],!1),sportName:e.getIn(["categoryEntities",n.params.categoryId,"name"],"")}}),(function(e){return Object(r.bindActionCreators)({fetchCompetitions:l.E.fetchSpecials},e)})),f.a)(g.a);t.default=p},qGSj:function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("rOcY"),o=n("Qi1R"),c=n("uXGu"),l=n("8kE8"),s=n("QrBv"),u=function(e){var t=e.type,n=e.sportId,a=e.countryCode,u=e.name,d=e.iconUrl,g=e.sportIconHeightPt,f=e.sportIconSize;return!t||t.toLowerCase()!==i.Zd.SPORT&&t!==i.L?t&&"competition"===t.toLowerCase()?r.a.createElement(l.a,{name:i.De[a]||i.De.INT}):t&&"icon"===t.toLowerCase()&&u?r.a.createElement(c.a,{name:u}):null:r.a.createElement(s.a,{name:Object(o.Dc)(n),iconUrl:d,heightPt:g,size:f})};t.a=u},qfJY:function(e,t,n){"use strict";var a=n("R+db"),r=Object(a.SortableHandle)((function(e){return e.children}));t.a=r},rLAM:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var a=n("mXGw"),r=n.n(a),i=n("wurE"),o=n.n(i),c=n("D5ie"),l=n("rOcY"),s=n("uXGu"),u=o()(s.a).attrs((function(e){var t=e.active;return{name:t?l.Jf.PIN_SELECTED:l.Jf.PIN,fill:t?c.Fl:c.Gk,size:"xxs32"}})).withConfig({componentId:"fd55kj-0"})([""]),d=function(e){var t=e.onPinHandler,n=e.sectionName,a=e.categoryId,r=e.type;return function(e){e.stopPropagation(),t(n,a,r)}},g=function(e){var t=e.active,n=e.onPinHandler,a=e.sectionName,i=e.categoryId,o=e.type,c=e.id;return r.a.createElement(u,{id:c,active:t,onClick:d({onPinHandler:n,sectionName:a,categoryId:i,type:o})})}},t8F0:function(e,t,n){"use strict";n.r(t);var a=n("mXGw"),r=n.n(a),i=n("XSEl"),o=n("3LVM"),c=n("D5ie"),l=n("iZzW"),s=n("wEAm"),u=n("1AVL"),d=n("BcZs"),g=n("nSjH"),f=n("nw3B"),p=n("iZbN"),m=n("dZDY"),b=n("BmqR"),h=n("rOcY"),v=n("Qi1R"),O=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(a=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(l){r=!0,i=l}finally{try{!a&&c.return&&c.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},E=function(e){var t=e.bannerMode,n=e.setBannerHeight,r=Object(b.useHistory)(),c=Object(i.useSelector)(o.a).page,l=Object(a.useState)(0),s=O(l,2),u=s[0],d=s[1],g=Object(a.useRef)(null),f=function(e){var t=e.origin,a=e.data;if(t===h.be.host&&a&&"string"==typeof a){var r=Object(v.De)(a);if(r&&r.action)switch(r.action){case h.vi.PAGE_LOADED:if(r.payload&&0!==r.payload.height){var i=Number(r.payload.height+36);d(i),n&&n(i)}break;case h.vi.DOWNLOAD_ACTION:}}};Object(a.useEffect)((function(){return window&&window.addEventListener("message",f),!t&&v.Ed&&d(Object(v.Qb)({hasBottomNavigation:!1,showTimeInFooter:v.Ed&&h.C})),function(){window.removeEventListener("message",f)}}),[]),Object(a.useEffect)((function(){t||c||r.replace(h.ng.home)}),[t,c]);var p=h.ce.getStaticContentUrl(v.Ed?"download-app-mobile":"download-app-desktop");return t||(p+="?type=page"),{url:p,iframeRef:g,iframeHeight:u}},j=n("wurE"),w=n.n(j),y=w.a.div.withConfig({componentId:"sc-1n67e4c-0"})(["padding:",";"],Object(v.J)(40,v.Ed?24:28,0)),I=w.a.div.withConfig({componentId:"sc-1n67e4c-1"})(["position:relative;"]),C=function(e){var t=e.bannerMode,n=void 0!==t&&t,a=e.setBannerHeight,i=E({bannerMode:n,setBannerHeight:a}),o=i.url,b=i.iframeRef,h=i.iframeHeight;return n?r.a.createElement(y,null,r.a.createElement(g.a,{url:o,onRef:b,heightPx:h,ignorePlatform:!0})):r.a.createElement(I,null,r.a.createElement(d.a,null),r.a.createElement(p.a,null,r.a.createElement(u.a,null,r.a.createElement(f.a,{title:r.a.createElement(l.a,{id:"more.downloadApp",bold:!0,color:c.pi}),right:r.a.createElement(m.a,null,r.a.createElement(s.a,null)),pageInModal:!0,portalPage:!0}))),r.a.createElement(y,null,r.a.createElement(g.a,{url:o,onRef:b,heightPx:h,ignorePlatform:!0})))},k=function(e){var t=e.bannerMode,n=void 0!==t&&t,a=e.setBannerHeight,c=Object(i.useSelector)(o.a),l=c.banner,s=c.page,u=Object(i.useSelector)((function(e){return e.getIn(["appConfig","featuresEnabled","sbMaintenance"])}));return!(n&&l||!n&&s)||u?null:r.a.createElement(C,{bannerMode:n,setBannerHeight:a})};t.default=k},uam0:function(e,t,n){"use strict";var a=n("wurE"),r=n.n(a),i=n("Qi1R"),o=n("D5ie"),c=n("rOcY"),l=r.a.div.withConfig({componentId:"sc-1vaorlq-0"})(["display:flex;flex-grow:1;font-size:",";justify-content:center;align-items:center;text-align:center;line-height:1;word-break:break-word;color:",";",""],Object(i.J)(20),o.Rk,(function(e){var t=e.marketMovers;return!c.C&&!c.F&&t&&Object(a.css)(["font-style:italic;"])}));t.a=l},"z/kE":function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("XSEl"),o=n("FvK5"),c=n("rOcY"),l=n("Qi1R"),s=n("YMdE"),u=n("QH1u"),d=n("Qf+G"),g=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(a=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(l){r=!0,i=l}finally{try{!a&&c.return&&c.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var f=t.tabId,p=t.matchParam;return function(t){var m=Object(u.a)([s.sc.setHandleDuration,s.sc.clearPerformanceData]),b=g(m,2),h=b[0],v=b[1],O=Object(i.useSelector)((function(e){return e.get("performance",Object(o.Map)())})),E=Object(i.useSelector)((function(e){return e.getIn(["appConfig","features","segmentTracking"],Object(o.Map)())}));return Object(d.a)(e,f,p),Object(a.useEffect)((function(){!O.get("handleDuration")&&O.get("fetchFinishedTime")&&O.get("parseFinishTime")&&h(Date.now()-O.get("parseFinishTime"))}),[O,t.performanceState]),Object(a.useEffect)((function(){if(O.get("handleDuration")&&O.get("fetchFinishedTime")&&Object.values(c.hh).includes(O.get("pageId",""))){var e=Math.round(O.get("initDuration",0)),t=O.get("fetchFinishedTime",0)-O.get("fetchStartedTime",0),n=Math.round(O.get("parseDuration",0)),a=Math.round(O.get("handleDuration",0));Object(l.le)(c.Xg.SCREEN,Object(o.Map)({name:O.get("pageId",""),tab:O.get("tabId"),value:O.get("value"),coupon_name:O.get("coupon_name"),init_duration:e,data_duration:t||void 0,parse_duration:n||void 0,handle_duration:a,total_duration:e+t+n+a,init_timestamp:(new Date).toISOString()}),{segmentTrackingBlacklist:E}),v()}}),[O,t.performanceState]),r.a.createElement(n,t)}}}}}]);