Tue. Nov 26th, 2024
Douglas Luiz’s penalty made it six goals this season in all competitions for the Brazil midfielder

Aston Villa continued their fine form under manager Unai Emery by holding off West Ham to move back to the brink of the Premier League’s top four.

An entertaining first half, typical of the free-flowing football Emery has encouraged at Villa Park, saw Douglas Luiz open the scoring and the Brazil midfielder also converted a penalty just after half-time.

A deflected shot by Jarrod Bowen led to a nervy spell for the hosts, but England striker Ollie Watkins then fired in his eighth goal of the season for Villa.

Substitute Leon Bailey struck late on to wrap up an 11th straight league victory at home, Villa’s best run since winning 13 in a row when they were reigning European champions in 1983.

Before Emery’s first game in charge, Villa were 16th in the Premier League – one point off the relegation zone. But he steered them to European qualification last season and now they are back within a point of the Champions League places.

Douglas Luiz relishing Emery approach

Several players have been revitalised by Emery’s arrival at Villa Park, including Douglas Luiz. Previously seen as a holding midfielder, he scored three league goals during Gerrard’s tenure, which lasted just under a year.

But the adventurous, attacking formation that Emery has deployed – with three at the back and Matty Cash and Lucas Digne as wing-backs – allows Douglas Luiz the freedom to move into a more advanced role.

The 25-year-old had already forced West Ham goalkeeper Alphonse Areola to turn a shot wide before scoring for a sixth league game running at Villa Park.

Nicolo Zaniolo, assisting an Italian investigation into alleged illegal betting activity, remains available to Villa and the on-loan Italy winger cut the ball back for Watkins, who in turn laid it off for Douglas Luiz to beat Areola with a 20-yard strike into the bottom corner.

The partnership that Watkins and summer signing Moussa Diaby have already struck up has also proved pivotal for Villa this season.

Before the game they had created 14 chances for one another in the Premier League this season – four more than any other duo – and Diaby made two more for Watkins in the first half.

Watkins dragged the first effort wide from right in front of goal before unleashing a low strike from outside the box that Areola had to palm into the side-netting.

Douglas Luiz doubled Villa’s lead, slotting a penalty down the middle after Ezri Konsa had been fouled, before Watkins, who scored his third goal for England during the international break, made no mistake after latching on to John McGinn’s long ball, firing inside the near post.

For Villa’s fourth, Youri Tielemans fed the ball into fellow substitute Bailey, who showed neat footwork inside the box before curling inside the far post.

Paqueta poor for compatriot’s double

West Ham’s development under David Moyes has also been highly impressive, if a little more gradual.

After winning the Europa Conference League last season, the Hammers have continued to look sharp and Bowen tested Emiliano Martinez in the first half of this tussle while Lucas Paqueta lost his bearings in a good position and sent an acrobatic overhead kick away from goal.

But the Brazilian, who almost joined Manchester City in the summer, switched off as he let compatriot Douglas Luiz get a free run towards goal to score the opener.

Just after half-time, a loose pass backwards from Paqueta allowed Konsa to nip in front of Edson Alvarez, who brought down the Villa defender for the penalty.

Bowen gave the Hammers hope as a speculative effort resulted in his 100th career goal for a league club – his first also came at Villa Park in August 2017, earning Hull a 1-1 draw in the Championship.

Cash turned a Nayef Aguerd effort behind as the visitors briefly threatened an equaliser, but they were unable to avoid a third league defeat – their first two were against Manchester City and Liverpool.

Line-ups

Aston Villa

Formation 4-4-2

1E Martínez

2Cash4Konsa14P Torres12Digne

7McGinn44Kamara6Douglas Luiz22Zaniolo

19Diaby11Watkins

1E Martínez
2Cash
4Konsa
14P Torres
12Digne
7McGinn
44Kamara
6Douglas Luiz
22ZanioloSubstituted forBaileyat 76′minutes
19DiabySubstituted forTielemansat 85′minutes
11Watkins

Substitutes

3Diego Carlos
8Tielemans
9Traoré
16Chambers
17Lenglet
25Olsen
31Bailey
32Dendoncker
71Kellyman

West Ham

Formation 4-2-3-1

23Areola

5Coufal4Zouma27Aguerd33Emerson

7Ward-Prowse19Álvarez

20Bowen28Soucek10Lucas Paquetá

9Antonio

23Areola
5Coufal
4Zouma
27Aguerd
33EmersonBooked at 54mins
7Ward-Prowse
19Álvarez
20Bowen
28SoucekSubstituted forKudusat 67′minutes
10Lucas PaquetáSubstituted forIngsat 86′minutes
9AntonioSubstituted forFornalsat 90′minutes

Substitutes

1Fabianski
8Fornals
14Kudus
15Mavropanos
18Ings
21Ogbonna
22Benrahma
24Kehrer
45Mubama

Referee:
David Coote

Attendance:
41,734

Live Text

Match ends, Aston Villa 4, West Ham United 1.

Second Half ends, Aston Villa 4, West Ham United 1.

Ollie Watkins (Aston Villa) wins a free kick in the defensive half.

Foul by Nayef Aguerd (West Ham United).

Delay over. They are ready to continue.

Delay in match because of an injury Vladimír Coufal (West Ham United).

Attempt saved. Mohammed Kudus (West Ham United) left footed shot from the left side of the box is saved in the bottom right corner. Assisted by Pablo Fornals.

Foul by Boubacar Kamara (Aston Villa).

Emerson (West Ham United) wins a free kick in the defensive half.

Foul by Lucas Digne (Aston Villa).

Vladimír Coufal (West Ham United) wins a free kick in the defensive half.

Substitution, West Ham United. Pablo Fornals replaces Michail Antonio.

Goal! Aston Villa 4, West Ham United 1. Leon Bailey (Aston Villa) left footed shot from the centre of the box to the top left corner. Assisted by Youri Tielemans.

Corner, Aston Villa. Conceded by Alphonse Areola.

Attempt missed. Leon Bailey (Aston Villa) left footed shot from the right side of the box misses to the left. Assisted by Boubacar Kamara.

Substitution, West Ham United. Danny Ings replaces Lucas Paquetá.

Substitution, Aston Villa. Youri Tielemans replaces Moussa Diaby.

Foul by John McGinn (Aston Villa).

Jarrod Bowen (West Ham United) wins a free kick in the defensive half.

Offside, West Ham United. Alphonse Areola tries a through ball, but Lucas Paquetá is caught offside.

Player of the match

WatkinsOllie Watkins

Aston Villa

Squad number11Player nameWatkins

Squad number6Player nameDouglas Luiz

Squad number7Player nameMcGinn

Squad number31Player nameBailey

Squad number19Player nameDiaby

Squad number2Player nameCash

Squad number4Player nameKonsa

Squad number44Player nameKamara

Squad number14Player nameP Torres

Squad number12Player nameDigne

Squad number22Player nameZaniolo

Squad number1Player nameE Martínez

Squad number8Player nameTielemans

West Ham United

Squad number23Player nameAreola

Squad number20Player nameBowen

Squad number7Player nameWard-Prowse

Squad number10Player nameLucas Paquetá

Squad number33Player nameEmerson

Squad number19Player nameÁlvarez

Squad number5Player nameCoufal

Squad number4Player nameZouma

Squad number27Player nameAguerd

Squad number28Player nameSoucek

Squad number14Player nameKudus

Squad number8Player nameFornals

Squad number18Player nameIngs

Squad number9Player nameAntonio

BBC Sport app: Download to follow all the latest on your Premier League team

“,”

“],c=[3,”

“,”

“],p=[1,”,””],d={“*”:[1,”?

“,”

“],area:[1,”

“,”

“],col:[2,”

“,”

“],legend:[1,”

“,”

“],param:[1,””,””],tr:[2,”

“,”

“],optgroup:l,option:l,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c};[“circle”,”clipPath”,”defs”,”ellipse”,”g”,”image”,”line”,”linearGradient”,”mask”,”path”,”pattern”,”polygon”,”polyline”,”radialGradient”,”rect”,”stop”,”text”,”tspan”].forEach(function(e){d[e]=p,s[e]=!0}),e.exports=r},function(e,t,n){“use strict”;var r=n(29),o=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});e.exports=o},function(e,t,n){“use strict”;function r(){this.reinitializeTransaction()}var o=n(8),a=n(30),i=n(3),s=n(7),l={initialize:s,close:function(){d.isBatchingUpdates=!1}},u={initialize:s,close:o.flushBatchedUpdates.bind(o)},c=[u,l];i(r.prototype,a.Mixin,{getTransactionWrappers:function(){return c}});var p=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,a){var i=d.isBatchingUpdates;d.isBatchingUpdates=!0,i?e(t,n,r,o,a):p.perform(e,null,t,n,r,o,a)}};e.exports=d},function(e,t,n){“use strict”;function r(e){try{e.focus()}catch(e){}}e.exports=r},function(e,t,n){“use strict”;function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},a=[“Webkit”,”ms”,”Moz”,”O”];Object.keys(o).forEach(function(e){a.forEach(function(t){o[r(t,e)]=o[e]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},s={isUnitlessNumber:o,shorthandPropertyExpansions:i};e.exports=s},function(e,t,n){“use strict”;function r(e){var t=e&&(o&&e[o]||e[a]);if(“function”==typeof t)return t}var o=”function”==typeof Symbol&&Symbol.iterator,a=”@@iterator”;e.exports=r},function(e,t,n){“use strict”;function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=i.getValue(e);null!=t&&o(this,Boolean(e.multiple),t)}}function o(e,t,n){var r,o,a=s.getNode(e._rootNodeID).options;if(t){for(r={},o=0;o-1}}}},S=function(e,t,n,r,o,a){var s=M(e,t,o,a);s.mediator={host:”open.”+r+”.bbc.co.uk”};var u=”audio”===e.mediaType?”radioProgramme”:”programme”;if(_(s.playlistObject,e,u),(0,y.profileStart)(k(e)),!e.isPlayable){var p=n(“alert_uk_text”),d=c.default.transform(e.holdingImageUrl);return i.default.createElement(“div”,{className:”gs-o-responsive-image gs-o-responsive-image–16by9″},i.default.createElement(l.default,{className:”qa-warning-alert-image”,src:d}),i.default.createElement(“div”,{className:”lx-media-asset__warning-alert”},i.default.createElement(“div”,{className:”gel-brevier lx-media-asset__warning-alert-message”},i.default.createElement(“div”,{className:”gs-u-mb”},i.default.createElement(“svg”,{className:”lx-media-asset__warning-alert-icon”,width:”24″,height:”24″,viewBox:”0 0 32 32″},i.default.createElement(“path”,{d:”M16 2L0 30h32L16 2zm2 25h-4v-4h4v4zm-4-6V11h4v10h-4z”}))),i.default.createElement(“p”,{className:”gs-u-mt0 gs-u-mb- qa-message-uk-alert”},p))))}return i.default.createElement(“div”,{className:”gs-o-responsive-image gs-o-responsive-image–16by9″},i.default.createElement(“div”,{className:”smp-embed”},i.default.createElement(P,s)))},I=function(e){var t=e.media,n=e.ltsConfig,r=e.getTranslationFor,o=e.env,a=e.assetUri,s=e.isApp,l=S(t,n,r,o,a,s),u=i.default.createElement(“h4″,{className:”gs-u-vh qa-map-smp-accessible-title”},r(“video_context”));return x(t)&&t.isPlayable?i.default.createElement(“figure”,{className:”lx-stream-post-body__media-asset lx-media-asset lx-media-asset–landscape lx-media-asset–smp qa-media-asset-smp”},u,i.default.createElement(“div”,{className:”lx-media-asset__body”},l),C(t,r)):i.default.createElement(“div”,{className:”lx-stream-post-body__media-asset lx-media-asset lx-media-asset–landscape lx-media-asset–smp qa-media-asset-smp”},u,i.default.createElement(“div”,{className:”lx-media-asset__body”},l))};I.displayName=”LXSmp”,I.propTypes={media:i.default.PropTypes.object.isRequired,ltsConfig:i.default.PropTypes.object.isRequired,getTranslationFor:i.default.PropTypes.func.isRequired,env:i.default.PropTypes.string,assetUri:i.default.PropTypes.string.isRequired,isApp:i.default.PropTypes.boolean},I.defaultProps={env:”live”,isApp:!1},t.default=I,e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function a(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}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var s=function(){function e(e,t){for(var n=0;n0&&n.right>0&&n.left1,”br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg–hover br-page-bg-ontext–hover”:”true”===e.brandingTool}),d=(0,s.default)(“gs-u-vh”,”qa-vh-navigation-first”),f=(0,s.default)(“lx-pagination__btn”,”qa-pagination-previous-page”,{“lx-pagination__btn–rtl”:”rtl”===e.cssDirection,”lx-pagination__btn–inactive”:1===e.currentPageNumber,”lx-pagination__btn–active”:e.currentPageNumber>1,”br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg–hover br-page-bg-ontext–hover”:”true”===e.brandingTool}),m=(0,s.default)(“gs-u-vh”,”qa-vh-navigation-previous”),g=(0,s.default)(“lx-pagination__btn”,”gs-u-mr+”,”qa-pagination-next-page”,{“lx-pagination__btn–rtl”:”rtl”===e.cssDirection,”lx-pagination__btn–inactive”:e.currentPageNumber===e.totalPageNumber,”lx-pagination__btn–active”:e.currentPageNumber!==e.totalPageNumber,”br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg–hover br-page-bg-ontext–hover”:”true”===e.brandingTool}),v=(0,s.default)(“gs-u-vh”,”qa-vh-navigation-next”),_=(0,s.default)(“lx-pagination__btn”,”qa-pagination-last-page”,{“lx-pagination__btn–rtl”:”rtl”===e.cssDirection,”lx-pagination__btn–inactive”:e.currentPageNumber===e.totalPageNumber,”lx-pagination__btn–active”:e.currentPageNumber!==e.totalPageNumber,”br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg–hover br-page-bg-ontext–hover”:”true”===e.brandingTool}),P=(0,s.default)(“gs-u-vh”,”qa-vh-navigation-last”),T={pageText:e.getTranslationFor(“page”),ofText:e.getTranslationFor(“of”),nextPage:e.getTranslationFor(“next_page”),lastPage:e.getTranslationFor(“last_page”),previousPage:e.getTranslationFor(“previous_page”),firstPage:e.getTranslationFor(“first_page”)};return a.default.createElement(“div”,{className:t},a.default.createElement(“div”,{className:”lx-pagination__details gs-u-ph qa-pagination-details”},T.pageText,a.default.createElement(“span”,{className:”lx-pagination__page-number qa-pagination-current-page-number”},” “+e.currentPageNumber+” “),T.ofText,a.default.createElement(“span”,{className:”lx-pagination__page-number qa-pagination-total-page-number”},” “+e.totalPageNumber)),a.default.createElement(“div”,{className:”lx-pagination__controls lx-pagination__controls–left qa-pagination-left”},y(e,i,1,p,d,T.firstPage,”first”,”rewind”),y(e,u,r,f,m,T.previousPage,”prev”,”previous”)),a.default.createElement(“div”,{className:”lx-pagination__controls lx-pagination__controls–right qa-pagination-right”},b(e,c,o,g,v,T.nextPage,”next”,”next”),b(e,l,n,_,P,T.lastPage,”last”,”forward”)))};y.propTypes={currentPageNumber:a.default.PropTypes.number.isRequired,isApp:a.default.PropTypes.bool},y.defaultProps={isApp:!1},b.propTypes={currentPageNumber:a.default.PropTypes.number.isRequired,totalPageNumber:a.default.PropTypes.number.isRequired,isApp:a.default.PropTypes.bool},b.defaultProps={isApp:!1},_.propTypes={currentPageNumber:a.default.PropTypes.number.isRequired,totalPageNumber:a.default.PropTypes.number.isRequired,getTranslationFor:a.default.PropTypes.func.isRequired,cssDirection:a.default.PropTypes.string.isRequired,brandingTool:a.default.PropTypes.string.isRequired,useServerSidePagination:a.default.PropTypes.bool},_.defaultProps={currentPageNumber:1,useServerSidePagination:!0},t.default={Pagination:_,getPaginationUrl:h},e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(102),o=n.n(r);Morph.modules[“bbc-morph-lx-stream-v4@3.6.4”]=o.a},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=Object.assign||function(e){for(var t=1;t1,l=s?n.pageNumber-1:void 0,u=t.numberOfPages>1&&n.pageNumbert},V=function(e,t,n,r,o,a,s){if(s?t>=2&&!B(t,n):n>1&&!B(t,n)){var l=”robotext”!==a&&!0!==e.props.noServerSidePagination&&”true”!==e.props.noServerSidePagination;return i.default.createElement(“div”,{className:”lx-pagination__nav n gs-u-mb+ n qa-“+(s?”top”:”bottom”)+”-navigation”},i.default.createElement(S.Pagination,{onClick:F(e),assetUri:e.props.assetUri,urlTemplate:e.props.urlTemplate,isApp:r,currentPageNumber:t,useServerSidePagination:l,totalPageNumber:n,getTranslationFor:e.props.getTranslationFor,cssDirection:o,brandingTool:e.props.brandingTool,mode:a}))}return i.default.createElement(“noscript”,null)},H=function(e,t,n,r,o,a,s,l,u,c,p,d,f,m,h,g,v,y,b,_){return 0===o.length&&B(d,f)?i.default.createElement(L.default,e):i.default.createElement(N.default,{renderBefore:p,isUk:t,adsProhibitedCps:n,isApp:r,brandingTool:e.brandingTool,posts:o,cssDirection:a,getTranslationFor:s,assetUri:l,mode:u,baseUrl:c,currentPageNumber:d,limit:e.ltsLimit,nitroKey:e.nitroKey,useReactionsStreamV4Toggle:m,useReactionCountsToggle:h,userSignedIn:g,theme:e.theme,totalNumberOfPages:f,hasAnimationsEnabled:v,hasBreakingNewsAnimationsEnabled:y,analysisPostsEnabled:b,yourQuestionsAnsweredPostsEnabled:_,isTopic:e.isTopic})},W=i.default.createClass({displayName:”LXStream”,propTypes:{isApp:i.default.PropTypes.string,experimental:i.default.PropTypes.string,serviceName:i.default.PropTypes.string,theme:i.default.PropTypes.string,brandingTool:i.default.PropTypes.string,noServerSidePagination:i.default.PropTypes.string},getInitialState:function(){return{pinnedPost:{loading:!1,locator:!1,inPayload:!1},baseUrl:””}},componentWillMount:function(){E.default.profileStart(“startRender”),(0,c.default)(y.default.getGrandstandServiceName(this.props)),m.default.selfTransitiveThenUpdate(y.default.getCSSDirection(this.props),this)},isPinnedPostInPayload:function(e,t){return!!t&&(0,b.postInPayload)(e,t)},setPinnedPost:function(){var e=this,t=(0,_.getQueryParamValueFor)(“pinned_post_locator”),n=this.isPinnedPostInPayload(this.props,t);t&&(q(),this.setState({pinnedPost:{locator:t,inPayload:n}},function(){!n&&t&&e.props.setDataParams({pinnedPostLocator:t})}))},shouldRenderPinnedPostLoadingMessage:function(e,t){return!e.some(function(e){return e.isPinned})&&!t.pinnedPost.inPayload&&t.pinnedPost.locator},renderPinnedLoadingMessage:function(){var e=(0,b.getAllPostsIncludingPinned)(this.props,this.state);return this.shouldRenderPinnedPostLoadingMessage(e,this.state)?i.default.createElement(“li”,{className:”lx-stream__post-container qa-pinned-post-loading-message”},i.default.createElement(M.default,{loadingText:this.props.getTranslationFor(“loading_shared”)})):i.default.createElement(“noscript”,null)},setBaseUrl:function(){this.setState({baseUrl:(0,P.getUrlWithPath)()})},advertisingProhibitedCpsToggle:function(){var e=this.getCpsOptionsData(this.props.commentaryMeta),t=void 0!==e.allowAdvertising&&!e.allowAdvertising;return”undefined”!=typeof window&&window.bbcdotcom&&t&&window.bbcdotcom.disableAndCloseOpenAds(),t},hasValidCpsOptionData:function(e){return!(!e||!e.meta)&&(200===e.meta.responseCode&&e.body)},getCpsOptionsData:function(e){return this.hasValidCpsOptionData(e)&&e.body&&e.body.options?e.body.options:{}},componentDidMount:function(){this.setBaseUrl(),this.setPinnedPost(),d.default.load(),E.default.profileEnd(“startRender”)},componentWillUpdate:function(){E.default.profileStart(“streamRerender”)},componentDidUpdate:function(){this.props.setDataParams({numberOfPages:this.props.streamData.body.numberOfPages}),E.default.profileEnd(“streamRerender”)},render:function(){var e=(0,b.getAllPostsIncludingPinned)(this.props,this.state),t=”true”===this.props.isUk,n=this.advertisingProhibitedCpsToggle(),r=”true”===this.props.isApp,a=this.props.getTranslationFor,s=this.props.streamHeadingId||!1,u=this.props.assetUri,c=this.props.ltsConfig.mode,p=this.props.streamData.body.currentPage,d=this.props.streamData.body.numberOfPages,f=this.props.reactionsStreamV4Toggle&&void 0!==this.props.reactionsStreamV4Toggle.body&&!0===this.props.reactionsStreamV4Toggle.body,m=this.props.lxStreamReactionCountsToggle&&void 0!==this.props.lxStreamReactionCountsToggle.body&&!0===this.props.lxStreamReactionCountsToggle.body,h=Boolean(this.props.hasAnimationsEnabled&&this.props.hasAnimationsEnabled.body),v=Boolean(this.props.breakingNewsAnimationEnabled&&this.props.breakingNewsAnimationEnabled.body),_=Boolean(this.props.analysisPostsEnabled&&this.props.analysisPostsEnabled.body),P=Boolean(this.props.yourQuestionsAnsweredPostsEnabled&&this.props.yourQuestionsAnsweredPostsEnabled.body),T=this.renderPinnedLoadingMessage,E=this.state.baseUrl,x=this.props.userSignedIn,C=y.default.getCSSDirection(this.props),w=(0,l.default)(“lx-stream”,”qa-stream”,”gs-u-box-size”,g.default.getProductThemeClass(this.props),{“br-keyline”:”true”===this.props.brandingTool}),N={className:w,dir:y.default.getCSSDirection(this.props)};s&&(N=o({},N,{“aria-labelledby”:s}));var k=V(this,p,d,r,C,c,!0),M=H(this.props,t,n,r,e,C,a,u,c,E,T,p,d,f,m,x,h,v,_,P),S=V(this,p,d,r,C,c,!1);return i.default.createElement(“div”,o({id:”lx-stream”},N),k,M,S)}});t.default=(0,C.default)((0,O.default)((0,D.default)(W))),e.exports=t.default},function(e,t){e.exports=Morph.modules[“bbc-morph-grandstand@5.7.0”]},function(e,t){e.exports=Morph.modules[“bbc-morph-lazysizes@1.0.1”]},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.default={getProductThemeClass:function(e){return e&&e.theme?”gs-t-“+e.theme:””}},e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(109),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={getGrandstandServiceName:function(e){return e&&e.serviceName?e.serviceName:”latin-flexbox”},getCSSDirection:function(e){return o.default.getDirectionality(e.serviceName).toLowerCase()}},e.exports=t.default},function(e,t){e.exports=Morph.modules[“bbc-morph-ws-typography-info@1.0.8”]},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=Object.assign||function(e){for(var t=1;t0},s=function(e,t){if(e.pinnedPost&&e.pinnedPost.body)return r({isPinned:!0,tagText:e.getTranslationFor(“shared”)},e.pinnedPost.body);if(t.pinnedPost&&t.pinnedPost.locator){var n=a(e),o=n.filter(function(e){return e.locator===t.pinnedPost.locator});if(o&&o.length>0){var i=o[0];return i.isPinned=!0,i.tagText=e.getTranslationFor(“shared”),i}}return null},l=function(e,t){var n=s(e,t);return n?[n].concat(o(n,e.streamData.body.results)):a(e)};t.default={postInPayload:i,getAllPosts:a,getAllPostsIncludingPinned:l},e.exports=t.default},function(e,t,n){“use strict”;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,”__esModule”,{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&e[0])&&e.reduce(function(e,t){var n=t.split(“=”);return o(r({},n[0],n[1]),e)},{})},i=function(e){return a()[e]||!1};t.default={getQueryParamsAsObject:a,getQueryParamValueFor:i},e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function a(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}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var s=Object.assign||function(e){for(var t=1;ta&&s||r>=a&&!s),d=l&&r=a&&!c,f=(0,p.default)(“lx-stream__post-container”,{“has-placeholder”:s,”placeholder-animation-finished”:!e.state.hasNewPost&&i,”is-below-pinned”:s&&e.state.hasPinnedPost,”gs-u-vh”:c}),m=t.hasBreakingNewsAnimationsEnabled?e.state.keyMomentType:null,g=t.analysisPostsEnabled&&!t.isTopic&&”ANALYSIS”===n.typeCode,y=t.yourQuestionsAnsweredPostsEnabled&&!t.isTopic&&”QUESTION”===n.typeCode;return u.default.createElement(“li”,{key:”post-“+n.assetId,className:f},u.default.createElement(h.default,{setNewPostHeight:s?e.setNewPostHeight:null,postIndex:r,isApp:t.isApp,isPinned:n.isPinned,isRealityCheck:n.isRealityCheck&&!t.isTopic,isAnalysisPost:g,isYQAPost:y,tagText:n.tagText,getTranslationFor:t.getTranslationFor,setActiveDropdown:e.setActiveDropdown,activeDropdown:e.state.activeDropdown,isNew:d,body:n.body,locator:n.locator,assetId:n.assetId,type:n.type,title:n.title,subtitle:n.subtitle,summary:n.summary,relatedUrl:n.url,indexImage:n.image,brandingTool:t.brandingTool,firstPublished:n.firstPublished,lastPublished:n.lastPublished,language:n.language,manualTime:n.time,cssDirection:t.cssDirection,media:n.media,assetUri:t.assetUri,head:n.head,bodyInline:n.bodyInline,bodyLast:n.bodyLast,postHasVideo:v.default.postHasVideo(n),postHasImage:v.default.postHasImage(n),postHasSocial:v.default.postHasMediaType(n,”embed”)||v.default.postHasMediaType(n,”tweet”),postIsBreakingNews:v.default.postIsBreakingNews(n),postIsPriority:v.default.postIsPriority(n),contributor:n.contributor,mode:t.mode,options:n.options,icon:n.icon||””,baseUrl:t.baseUrl,pageNumber:t.currentPageNumber,limit:t.limit,nitroKey:t.nitroKey,isUk:t.isUk,photogallery:n.photogallery,sourceAsset:o,useReactionsStreamV4Toggle:t.useReactionsStreamV4Toggle,useReactionCountsToggle:t.useReactionCountsToggle,liveState:n.liveState,theme:t.theme,totalNumberOfPages:t.totalNumberOfPages,userSignedIn:t.userSignedIn}),s&&null!==e.state.newPostHeight&&u.default.createElement(b.default,{postHeight:e.state.newPostHeight,callback:e.animationFinishedCallback,key:”post-placeholder-“+n.assetId,useBrandingTool:”true”===t.brandingTool,displayText:m?v.default.formatType(m):null,isIncident:v.default.isSupportedIncidentType(m)}))})}};E.propTypes={brandingTool:u.default.PropTypes.string,renderBefore:u.default.PropTypes.func,renderAfter:u.default.PropTypes.func,posts:u.default.PropTypes.array.isRequired,limit:u.default.PropTypes.number,nitroKey:u.default.PropTypes.string.isRequired,currentPageNumber:u.default.PropTypes.number.isRequired,isUk:u.default.PropTypes.bool.isRequired,isApp:u.default.PropTypes.bool.isRequired,adsProhibitedCps:u.default.PropTypes.bool.isRequired,hasAnimationsEnabled:u.default.PropTypes.bool.isRequired,hasBreakingNewsAnimationsEnabled:u.default.PropTypes.bool,analysisPostsEnabled:u.default.PropTypes.bool,yourQuestionsAnsweredPostsEnabled:u.default.PropTypes.bool,getTranslationFor:u.default.PropTypes.func.isRequired,cssDirection:u.default.PropTypes.string.isRequired,assetUri:u.default.PropTypes.string.isRequired,mode:u.default.PropTypes.string.isRequired,baseUrl:u.default.PropTypes.string.isRequired,useReactionsStreamV4Toggle:u.default.PropTypes.bool.isRequired,useReactionCountsToggle:u.default.PropTypes.bool.isRequired,theme:u.default.PropTypes.string.isRequired,totalNumberOfPages:u.default.PropTypes.number.isRequired,userSignedIn:u.default.PropTypes.bool.isRequired,isTopic:u.default.PropTypes.bool},E.defaultProps={brandingTool:”false”,renderBefore:null,renderAfter:null,limit:20,nitroKey:”lx-nitro”,hasBreakingNewsAnimationsEnabled:!1,isTopic:!1,analysisPostsEnabled:!1,yourQuestionsAnsweredPostsEnabled:!1},t.default=E,e.exports=t.default},function(e,t){e.exports=Morph.modules[“bbc-morph-lx-adverts@1.0.8”]},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function a(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}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var s=function(){function e(e,t){for(var n=0;n-1){return r.split(“-“)[0]}return r}return!1},c=function(e,t,n){return!(!i(e)||l(t))&&s(e,”YYYY”,n)},p=function(e,t,n){if(!a(e)&&l(t)){var r=s(e,t,n);if(r.indexOf(“-“)>-1){return r.split(“-“)[1]}}return!1},d=function(e){return e&&”date-format”!==e?e:”ll”},f=function(e){var t=(0,o.default)(e.lastPublished),n=”string”==typeof e.manualTime,r=d(e.getTranslationFor(“date-format”)),a=e.language||”en-GB”,i={manualTime:e.manualTime};return!n&&t&&(i.time=t.format(“H:mm”),i.date=u(t,r,a),i.year=c(t,r,a),i.alternateDate=p(t,r,a)),i};t.default=f,e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=Object.assign||function(e){for(var t=1;t0){var t={children:e.body},n=i.default.createElement(“noscript”,null);return e.sourceAsset&&e.sourceAsset.type&&”MAP”!==e.sourceAsset.type&&(n=i.default.createElement(“div”,{className:”lx-stream-contextual-body”},d(e.sourceAsset),(0,u.default)(e.sourceAsset))),i.default.createElement(“div”,{className:”lx-stream-post-body”},(0,s.renderChildren)(t),n)}return i.default.createElement(“noscript”,null)};f.displayName=”PostType”,t.default=f,e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,”__esModule”,{value:!0});var a=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},i=Object.assign||function(e){for(var t=1;t8&&T1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),o.addPoolingTo(r),e.exports=r},function(e,t,n){“use strict”;function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(14),a={data:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){“use strict”;function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(14),a={data:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){“use strict”;function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return”select”===t||”input”===t&&”file”===e.type}function o(e){var t=E.getPooled(M.change,I,e,x(e));_.accumulateTwoPhaseDispatches(t),T.batchedUpdates(a,t)}function a(e){b.enqueueEvents(e),b.processEventQueue(!1)}function i(e,t){S=e,I=t,S.attachEvent(“onchange”,o)}function s(){S&&(S.detachEvent(“onchange”,o),S=null,I=null)}function l(e,t,n){if(e===k.topChange)return n}function u(e,t,n){e===k.topFocus?(s(),i(t,n)):e===k.topBlur&&s()}function c(e,t){S=e,I=t,O=e.value,R=Object.getOwnPropertyDescriptor(e.constructor.prototype,”value”),Object.defineProperty(S,”value”,L),S.attachEvent(“onpropertychange”,d)}function p(){S&&(delete S.value,S.detachEvent(“onpropertychange”,d),S=null,I=null,O=null,R=null)}function d(e){if(“value”===e.propertyName){var t=e.srcElement.value;t!==O&&(O=t,o(e))}}function f(e,t,n){if(e===k.topInput)return n}function m(e,t,n){e===k.topFocus?(p(),c(t,n)):e===k.topBlur&&p()}function h(e,t,n){if((e===k.topSelectionChange||e===k.topKeyUp||e===k.topKeyDown)&&S&&S.value!==O)return O=S.value,I}function g(e){return e.nodeName&&”input”===e.nodeName.toLowerCase()&&(“checkbox”===e.type||”radio”===e.type)}function v(e,t,n){if(e===k.topClick)return n}var y=n(10),b=n(24),_=n(23),P=n(4),T=n(8),E=n(14),x=n(38),C=n(39),w=n(69),N=n(13),k=y.topLevelTypes,M={change:{phasedRegistrationNames:{bubbled:N({onChange:null}),captured:N({onChangeCapture:null})},dependencies:[k.topBlur,k.topChange,k.topClick,k.topFocus,k.topInput,k.topKeyDown,k.topKeyUp,k.topSelectionChange]}},S=null,I=null,O=null,R=null,D=!1;P.canUseDOM&&(D=C(“change”)&&(!(“documentMode”in document)||document.documentMode>8));var A=!1;P.canUseDOM&&(A=C(“input”)&&(!(“documentMode”in document)||document.documentMode>9));var L={get:function(){return R.get.call(this)},set:function(e){O=””+e,R.set.call(this,e)}},U={eventTypes:M,extractEvents:function(e,t,n,o,a){var i,s;if(r(t)?D?i=l:s=u:w(t)?A?i=f:(i=h,s=m):g(t)&&(i=v),i){var c=i(e,t,n);if(c){var p=E.getPooled(M.change,c,o,a);return p.type=”change”,_.accumulateTwoPhaseDispatches(p),p}}s&&s(e,t,n)}};e.exports=U},function(e,t,n){“use strict”;function r(e,t,n){“function”==typeof e?e(t.getPublicInstance()):a.addComponentAsRefTo(t,e,n)}function o(e,t,n){“function”==typeof e?e(null):a.removeComponentAsRefFrom(t,e,n)}var a=n(131),i={};i.attachRefs=function(e,t){if(null!==t&&!1!==t){var n=t.ref;null!=n&&r(n,e,t._owner)}},i.shouldUpdateRefs=function(e,t){var n=null===e||!1===e,r=null===t||!1===t;return n||r||t._owner!==e._owner||t.ref!==e.ref},i.detachRefs=function(e,t){if(null!==t&&!1!==t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=i},function(e,t,n){“use strict”;var r=n(1),o={isValidOwner:function(e){return!(!e||”function”!=typeof e.attachRef||”function”!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,n){o.isValidOwner(n)||r(!1),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){o.isValidOwner(n)||r(!1),n.getPublicInstance().refs[t]===e.getPublicInstance()&&n.detachRef(t)}};e.exports=o},function(e,t,n){“use strict”;var r=0,o={createReactRootIndex:function(){return r++}};e.exports=o},function(e,t,n){“use strict”;var r=n(13),o=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null})];e.exports=o},function(e,t,n){“use strict”;var r=n(10),o=n(23),a=n(31),i=n(6),s=n(13),l=r.topLevelTypes,u=i.getFirstReactDOM,c={mouseEnter:{registrationName:s({onMouseEnter:null}),dependencies:[l.topMouseOut,l.topMouseOver]},mouseLeave:{registrationName:s({onMouseLeave:null}),dependencies:[l.topMouseOut,l.topMouseOver]}},p=[null,null],d={eventTypes:c,extractEvents:function(e,t,n,r,s){if(e===l.topMouseOver&&(r.relatedTarget||r.fromElement))return null;if(e!==l.topMouseOut&&e!==l.topMouseOver)return null;var d;if(t.window===t)d=t;else{var f=t.ownerDocument;d=f?f.defaultView||f.parentWindow:window}var m,h,g=””,v=””;if(e===l.topMouseOut?(m=t,g=n,h=u(r.relatedTarget||r.toElement),h?v=i.getID(h):h=d,h=h||d):(m=d,h=t,v=n),m===h)return null;var y=a.getPooled(c.mouseLeave,g,r,s);y.type=”mouseleave”,y.target=m,y.relatedTarget=h;var b=a.getPooled(c.mouseEnter,v,r,s);return b.type=”mouseenter”,b.target=h,b.relatedTarget=m,o.accumulateEnterLeaveDispatches(y,b,g,v),p[0]=y,p[1]=b,p}};e.exports=d},function(e,t,n){“use strict”;function r(e){o.enqueueEvents(e),o.processEventQueue(!1)}var o=n(24),a={handleTopLevel:function(e,t,n,a,i){r(o.extractEvents(e,t,n,a,i))}};e.exports=a},function(e,t,n){“use strict”;function r(e){for(var t=1,n=0,r=0,a=e.length,i=-4&a;r]+)/,c={dangerouslyRenderMarkup:function(e){o.canUseDOM||l(!1);for(var t,n={},c=0;c=0||null!=t.is}function g(e){m(e),this._tag=e.toLowerCase(),this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._rootNodeID=null,this._wrapperState=null,this._topLevelWrapper=null,this._nodeWithLegacyProperties=null}var v=n(148),y=n(149),b=n(17),_=n(52),P=n(10),T=n(32),E=n(49),x=n(156),C=n(157),w=n(159),N=n(86),k=n(161),M=n(6),S=n(162),I=n(9),O=n(42),R=n(3),D=n(41),A=n(34),L=n(1),U=(n(39),n(13)),j=n(33),q=n(51),F=(n(87),n(48),n(2),T.deleteListener),B=T.listenTo,V=T.registrationNameModules,H={string:!0,number:!0},W=U({children:null}),K=U({style:null}),z=U({__html:null}),Y=1,G={topAbort:”abort”,topCanPlay:”canplay”,topCanPlayThrough:”canplaythrough”,topDurationChange:”durationchange”,topEmptied:”emptied”,topEncrypted:”encrypted”,topEnded:”ended”,topError:”error”,topLoadedData:”loadeddata”,topLoadedMetadata:”loadedmetadata”,topLoadStart:”loadstart”,topPause:”pause”,topPlay:”play”,topPlaying:”playing”,topProgress:”progress”,topRateChange:”ratechange”,topSeeked:”seeked”,topSeeking:”seeking”,topStalled:”stalled”,topSuspend:”suspend”,topTimeUpdate:”timeupdate”,topVolumeChange:”volumechange”,topWaiting:”waiting”},Q={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},X={listing:!0,pre:!0,textarea:!0},$=(R({menuitem:!0},Q),/^[a-zA-Z][a-zA-Z:_.-d]*$/),Z={},J={}.hasOwnProperty;g.displayName=”ReactDOMComponent”,g.Mixin={construct:function(e){this._currentElement=e},mountComponent:function(e,t,n){this._rootNodeID=e;var r=this._currentElement.props;switch(this._tag){case”iframe”:case”img”:case”form”:case”video”:case”audio”:this._wrapperState={listeners:null},t.getReactMountReady().enqueue(p,this);break;case”button”:r=x.getNativeProps(this,r,n);break;case”input”:C.mountWrapper(this,r,n),r=C.getNativeProps(this,r,n);break;case”option”:w.mountWrapper(this,r,n),r=w.getNativeProps(this,r,n);break;case”select”:N.mountWrapper(this,r,n),r=N.getNativeProps(this,r,n),n=N.processChildContext(this,r,n);break;case”textarea”:k.mountWrapper(this,r,n),r=k.getNativeProps(this,r,n)}l(this,r);var o;if(t.useCreateElement){var a=n[M.ownerDocumentContextKey],i=a.createElement(this._currentElement.type);_.setAttributeForID(i,this._rootNodeID),M.getID(i),this._updateDOMProperties({},r,t,i),this._createInitialChildren(t,r,n,i),o=i}else{var s=this._createOpenTagMarkupAndPutListeners(t,r),u=this._createContentMarkup(t,r,n);o=!u&&Q[this._tag]?s+”/>”:s+”>”+u+””+this._currentElement.type+”>”}switch(this._tag){case”input”:t.getReactMountReady().enqueue(d,this);case”button”:case”select”:case”textarea”:r.autoFocus&&t.getReactMountReady().enqueue(v.focusDOMComponent,this)}return o},_createOpenTagMarkupAndPutListeners:function(e,t){var n=”>”}var h=n(11),g=n(46),v=n(7),y=n(85),b=”>”,_={array:o(“array”),bool:o(“boolean”),func:o(“function”),number:o(“number”),object:o(“object”),string:o(“string”),any:function(){return r(v.thatReturns(null))}(),arrayOf:a,element:function(){function e(e,t,n,r,o){if(!h.isValidElement(e[t])){var a=g[r];return new Error(“Invalid “+a+” `”+o+”` supplied to `”+n+”`, expected a single ReactElement.”)}return null}return r(e)}(),instanceOf:i,node:function(){function e(e,t,n,r,o){if(!p(e[t])){var a=g[r];return new Error(“Invalid “+a+” `”+o+”` supplied to `”+n+”`, expected a ReactNode.”)}return null}return r(e)}(),objectOf:l,oneOf:s,oneOfType:u,shape:c};e.exports=_},function(e,t,n){“use strict”;var r=n(160),o=n(86),a=n(3),i=(n(2),o.valueContextKey),s={mountWrapper:function(e,t,n){var r=n[i],o=null;if(null!=r)if(o=!1,Array.isArray(r)){for(var a=0;a”+s+””},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=””+e;if(n!==this._stringText){this._stringText=n;var o=i.getNode(this._rootNodeID);r.updateTextContent(o,n)}}},unmountComponent:function(){a.unmountIDFromEnvironment(this._rootNodeID)}}),e.exports=c},function(e,t,n){“use strict”;function r(e){var t=d.getID(e),n=p.getReactRootIDFromNodeID(t),r=d.findReactContainerForID(n);return d.getFirstReactDOM(r)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function a(e){i(e)}function i(e){for(var t=d.getFirstReactDOM(h(e.nativeEvent))||window,n=t;n;)e.ancestors.push(n),n=r(n);for(var o=0;ot.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart(“character”,n),o.setEndPoint(“EndToStart”,o),o.moveEnd(“character”,r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),a=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>a){var i=a;a=o,o=i}var s=u(e,o),l=u(e,a);if(s&&l){var p=document.createRange();p.setStart(s.node,s.offset),n.removeAllRanges(),o>a?(n.addRange(p),n.extend(l.node,l.offset)):(p.setEnd(l.node,l.offset),n.addRange(p))}}}var l=n(4),u=n(173),c=n(68),p=l.canUseDOM&&”selection”in document&&!(“getSelection”in window),d={getOffsets:p?o:a,setOffsets:p?i:s};e.exports=d},function(e,t,n){“use strict”;function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function a(e,t){for(var n=r(e),a=0,i=0;n;){if(3===n.nodeType){if(i=a+n.textContent.length,a=t)return{node:n,offset:t-a};a=i}n=r(o(n))}}e.exports=a},function(e,t,n){“use strict”;function r(e){if(“selectionStart”in e&&l.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(_||null==v||v!==c())return null;var n=r(v);if(!b||!f(b,n)){b=n;var o=u.getPooled(g.select,y,e,t);return o.type=”select”,o.target=v,i.accumulateTwoPhaseDispatches(o),o}return null}var a=n(10),i=n(23),s=n(4),l=n(90),u=n(14),c=n(91),p=n(69),d=n(13),f=n(87),m=a.topLevelTypes,h=s.canUseDOM&&”documentMode”in document&&document.documentMode”,”

“+n+” “),i=””+a+r;return l.default.createElement(“div”,null,l.default.createElement(“div”,{className:”gs-u-vh qa-visually-hidden-title”,dangerouslySetInnerHTML:{__html:i}}),l.default.createElement(“div”,{className:”lx-stream-post-quote__body gs-u-mb qa-blockquote”,dangerouslySetInnerHTML:{__html:t},”aria-hidden”:”true”}))}return l.default.createElement(“div”,null,l.default.createElement(“span”,{className:”gs-u-vh qa-visually-hidden-title”},o),l.default.createElement(“div”,{className:”lx-stream-post-quote__body gs-u-mb qa-blockquote”,”aria-hidden”:”true”},l.default.createElement(“p”,{dangerouslySetInnerHTML:{__html:t}})))},m=function(e){var t=e.element.children,n=e.element.name,r=(0,d.default)(n),a=c.default.findFirst(t,r.textLocator),s=e.renderChildrenToStaticMarkup(a),u=c.default.findText(t,r.sourceLocator),p=c.default.findFirst(t,r.sourceLocator),m=(0,i.default)([“lx-stream-post-quote”,”lx-stream-post-quote–“+r.className,”gs-u-mb-alt”,”gs-u-mr-alt+”,”gs-u-ml-alt+”,”gs-u-mr-alt++@m”,”gs-u-ml-alt++@m”]),h=(0,i.default)([“gs-u-mr”,”lx-stream-post-quote__icon”,”lx-stream-post-quote__icon–“+r.icon,”gel-icon”,”gel-icon-“+r.gelIconClass]),g=void 0,v=void 0;p&&p.attributes&&(g=c.default.findFirst(p.attributes,”title”).value)&&(v=l.default.createElement(“span”,{className:”lx-stream-post-quote__cite-profession qa-blockquote-source-profession”},g));var y=void 0!==g?g:””,b=e.getTranslationFor(“from”),_=”string”==typeof u?b+” “+u+” “+y:””,P=e.getTranslationFor(r.hiddenTitleText)+”:”;return l.default.createElement(“blockquote”,o({},e.attributes,{className:m}),f(n,s,P,_),l.default.createElement(“footer”,{className:”lx-stream-post-quote__cite gel-brevier gel-brevier-bold”,”aria-hidden”:”true”},l.default.createElement(“cite”,{className:”lx-stream-post-quote__cite-name qa-blockquote-source”},u),v),l.default.createElement(“div”,{className:h},r.iconSvg))};m.displayName=”Blockquote”,m.propTypes={attributes:l.default.PropTypes.object.isRequired,renderChildrenToStaticMarkup:l.default.PropTypes.func.isRequired,element:l.default.PropTypes.object.isRequired},t.default=m,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a={sms:{hiddenTitleText:”sms_message”,gelIconClass:”sms”,icon:”mobile”,className:”sms”,textLocator:”smsText”,sourceLocator:”smsSource”,iconSvg:o.default.createElement(“svg”,{width:”32″,height:”32″,viewBox:”0 0 32 32″},o.default.createElement(“path”,{d:”M22 0v2H6v30h20V0h-4zm-9 28h-3v-2h3v2zm0-4h-3v-2h3v2zm0-4h-3v-2h3v2zm5 8h-4v-2h4v2zm0-4h-4v-2h4v2zm0-4h-4v-2h4v2zm4 8h-3v-2h3v2zm0-4h-3v-2h3v2zm0-4h-3v-2h3v2zm0-5H10V6h12v9z”}))},quote:{hiddenTitleText:”quote_message”,gelIconClass:”quote”,icon:”quote”,className:”default”,textLocator:”quoteText”,sourceLocator:”quoteSource”,iconSvg:o.default.createElement(“svg”,{width:”32″,height:”32″,viewBox:”0 0 32 32″},o.default.createElement(“path”,{d:”M0 17v15h15V17H7c.2-5.9 2.4-8.8 8-9.9V0C6.7 1.2.2 8.3 0 17zM32 7.1V0c-8.3 1.2-14.8 8.3-15 17v15h15V17h-8c.2-5.9 2.4-8.8 8-9.9z”}))},email:{hiddenTitleText:”email_message”,gelIconClass:”email”,icon:”email”,className:”email”,textLocator:”emailText”,sourceLocator:”emailSource”,iconSvg:o.default.createElement(“svg”,{width:”32″,height:”32″,viewBox:”0 0 32 32″},o.default.createElement(“path”,{d:”M16 19.4l16-15V3H0v26h32V8l-4 4v13H4V8.2l12 11.2zm0-2.8L5.8 7h20.4L16 16.6z”}))}},i=function(e){return a[e]||a.quote};t.default=i,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=Object.assign||function(e){for(var t=1;t-1||e.indexOf(“bbc.in”)>-1},m=function(e){var t=e.element.children,n=d.default.findText(t,”altText”),r=d.default.findFirst(t,”url”),a=d.default.findFirst(r.attributes,”href”).value,s={href:a,alt:n},u=d.default.findText(t,”caption”);if(!f(a)){var p=i.default.createElement(c.default,null);u+=l.default.renderToStaticMarkup(p)}return i.default.createElement(“a”,o({},s,{dangerouslySetInnerHTML:{__html:u}}))};m.displayName=”Link”,m.propTypes={element:i.default.PropTypes.object.isRequired},t.default=m,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(){return o.default.createElement(“span”,{className:”lx-stream-post-body__external-link gel-icon gel-icon-external-link”},o.default.createElement(“svg”,{viewBox:”0 0 32 32″},o.default.createElement(“path”,{d:”M12 0v5h11.5l-5 5H0v22h22V17.5l-2 2V30H2V12h14.5l-7.8 7.7 3.6 3.6L27 8.5V20h5V0z”})))};a.displayName=”ExternalLink”,t.default=a,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(e){return o.default.createElement(“ol”,{dangerouslySetInnerHTML:{__html:e}})},i=function(e){return o.default.createElement(“ul”,{dangerouslySetInnerHTML:{__html:e}})},s=function(e){var t=e.renderChildrenToStaticMarkup({children:e.element.children});return”ordered”===e.attributes.type?a(t):i(t)};s.displayName=”List”,s.propTypes={attributes:o.default.PropTypes.object.isRequired,renderChildrenToStaticMarkup:o.default.PropTypes.func.isRequired,element:o.default.PropTypes.object.isRequired},t.default=s,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(e){var t=e.renderChildrenToStaticMarkup({children:e.element.children});return o.default.createElement(“li”,{dangerouslySetInnerHTML:{__html:t}})};a.displayName=”ListItem”,a.propTypes={renderChildrenToStaticMarkup:o.default.PropTypes.func.isRequired,element:o.default.PropTypes.object.isRequired},t.default=a,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=Object.assign||function(e){for(var t=1;t0});return!!(t&&t.length>0)&&t[0]},b=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:”shouldComponentUpdate”,value:function(e){return this.props.url!==e.url||this.props.title!==e.title}},{key:”render”,value:function(){var e=this.props.title,t=v(this.props.url),n=y(this.props),r=n.urlTemplate;if(n){(0,g.profileStart)(“embedRender:”+t);var o=n.component,a={matches:n.matches,title:e,url:t,urlTemplate:r};return c.default.createElement(o,{title:e,url:n.transform(a),cssClasses:n.cssClasses,componentDidMount:n.componentDidMount})}return c.default.createElement(m.default,this.props)}}]),t}(c.default.Component);b.displayName=”LazyEmbed”,b.propTypes={title:c.default.PropTypes.string.isRequired,url:c.default.PropTypes.string.isRequired,isVisible:c.default.PropTypes.bool.isRequired},t.default=(0,h.IntersectComponent)(b),e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(214),a=r(o),i=n(215),s=r(i),l=n(216),u=r(l),c=n(20),p=function(e){return e.url},d=function(e){return e.urlTemplate.replace(“{identifier}”,e.matches[1])},f=function(e){return e.urlTemplate.replace(“{identifier}”,encodeURIComponent(e.matches[1]))};t.default={youtube:{regex:/http(?:s)?://(?:www.)?youtu(?:be.com|.be)/(?:watch)?(?:/?)?(?:.*v=)?(.[^]*)/i,transform:d,component:s.default,urlTemplate:”https://www.youtube.com/embed/{identifier}”,componentDidMount:function(e){(0,c.profileEnd)(“embedRender:”+e.url)}},twitter:{regex:/^http.+twitter.com/.*/status/(.*)/i,transform:p,component:a.default,cssClasses:”twitter-tweet”,componentDidMount:function(e,t){requirejs([“//platform.twitter.com/widgets.js”],function(){twttr.widgets.load(t),(0,c.profileEnd)(“embedRender:”+e.url)})}},instagram:{regex:/^http.+instagr(?:.am|am.com)/i,transform:p,component:a.default,cssClasses:”instagram-media instagram-iframe-container”,componentDidMount:function(e,t){requirejs([“//platform.instagram.com/en_GB/embeds.js”],function(){instgrm.Embeds.process(t),(0,c.profileEnd)(“embedRender:”+e.url)})}},soundcloud:{regex:/(^http.+soundcloud.com(.*))/i,transform:f,component:s.default,componentDidMount:function(e){(0,c.profileEnd)(“embedRender:”+e.url)},urlTemplate:”https://w.soundcloud.com/player/?visual=true&url={identifier}&show_artwork=true”},facebookVideo:{regex:/(http.+www.facebook.com/video.php.*|http.+www.facebook.com/.*/videos/.*)/i,transform:p,component:u.default,componentDidMount:function(e,t){requirejs([“//connect.facebook.net/en_US/all.js#xfbml=1&version=v2.5”],function(){window.FB.XFBML.parse(t),(0,c.profileEnd)(“embedRender:”+e.url)})}},facebookPost:{regex:/(http.+www.facebook.com/.*/(posts|activity|photos)/.*|http.+www.facebook.com/(media/set|questions|notes|photos|permalink.php).*)/i,transform:p,component:u.default,componentDidMount:function(e,t){requirejs([“//connect.facebook.net/en_US/all.js#xfbml=1&version=v2.5”],function(){window.FB.XFBML.parse(t),(0,c.profileEnd)(“embedRender:”+e.url)})}}},e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function a(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}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var s=function(){function e(e,t){for(var n=0;n0?t.link:””,r={role:t.role,name:t.name,link:n};return a.default.createElement(h.default,{contributor:r,brandingTool:e.brandingTool,baseUrl:e.baseUrl})}return a.default.createElement(“noscript”,null)},b=function(e){return a.default.createElement(“div”,{className:”gel-3/8@l”},a.default.createElement(“a”,{href:e.relatedUrl,className:”qa-story-image-link”,onClick:e.postIstats()},a.default.createElement(“div”,{className:”lx-stream-related-story–index-image-wrapper qa-story-image-wrapper”},a.default.createElement(s.default,{className:”lx-stream-related-story–index-image qa-story-image”,src:e.indexImage.ichefHref,alt:e.indexImage.altText}))))},_=function(e){var t=”cta_text”;”LIV”===e.type&&(e.liveState.isLive?t=”live_cta”:e.liveState.isCatchUp&&(t=”catch_up_cta”));var n=(0,p.default)(“gs-o-button”,”lx-stream-related-story–cta-button”,”gel-long-primer-bold”,”qa-story-text-cta”,{“br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg–hover br-page-bg-ontext–hover”:”true”===e.brandingTool}),r=(0,p.default)(“lx-stream-related-story–cta-text”,{“br-page-bg-ontext br-page-bg-ontext–hover”:”true”===e.brandingTool}),o=(0,p.default)({“br-page-bg-ontext br-page-bg-ontext–hover”:”true”===e.brandingTool});return a.default.createElement(“a”,{href:e.relatedUrl,className:”qa-story-cta-link”,onClick:e.postIstats()},a.default.createElement(“span”,{className:n},a.default.createElement(“span”,{className:r},e.getTranslationFor(t)),a.default.createElement(u.default,{iconName:”next”,additionalClassNames:o})))},P=function(e){return a.default.createElement(“div”,{className:”lx-stream-related-story”},g(e)?a.default.createElement(b,{relatedUrl:e.relatedUrl,indexImage:e.indexImage,postIstats:function(){return v(e)}}):null,a.default.createElement(“div”,{className:g(e)?”gel-5/8@l”:””},”STY”!==e.type?y(e):null,e.summary?a.default.createElement(“p”,{className:”lx-stream-related-story–summary qa-story-summary”},e.summary):null,a.default.createElement(_,{getTranslationFor:e.getTranslationFor,liveState:e.liveState,relatedUrl:e.relatedUrl,type:e.type,postIstats:function(){return v(e)},brandingTool:e.brandingTool})))};P.displayName=”StoryType”,y.propTypes={contributor:o.PropTypes.shape({name:o.PropTypes.string,role:o.PropTypes.string,link:o.PropTypes.string}),brandingTool:o.PropTypes.string.isRequired,baseUrl:o.PropTypes.string},y.defaultProps={contributor:void 0,baseUrl:void 0},P.propTypes={summary:o.PropTypes.string,indexImage:o.PropTypes.shape({ichefHref:o.PropTypes.string.isRequired,altText:o.PropTypes.string}),relatedUrl:o.PropTypes.string.isRequired},P.defaultProps={indexImage:{ichefHref:””},summary:void 0},b.propTypes={indexImage:o.PropTypes.shape({ichefHref:o.PropTypes.string.isRequired,altText:o.PropTypes.string}).isRequired,relatedUrl:o.PropTypes.string.isRequired,postIstats:o.PropTypes.func.isRequired},_.propTypes={type:o.PropTypes.string.isRequired,liveState:o.PropTypes.shape({isCatchUp:o.PropTypes.bool.isRequired,isComingUp:o.PropTypes.bool.isRequired,isLive:o.PropTypes.bool.isRequired}),postIstats:o.PropTypes.func.isRequired,brandingTool:o.PropTypes.string.isRequired},_.defaultProps={liveState:{isCatchUp:!1,isComingUp:!1,isLive:!0},brandingTool:”false”},t.default=P,e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(0),a=r(o),i=n(35),s=r(i),l=n(22),u=r(l),c=n(5),p=r(c),d=n(19),f=n(18),m=function(e){return function(){var t=(0,f.getIstatsData)(e,”related-gallery”);(0,d.configureAndSendIstats)(“click”,”related-gallery”,t)}},h=function(e){return e.summary&&e.summary.length>0?a.default.createElement(“p”,{className:”lx-media-asset-summary qa-photogallery-summary gel-pica”},e.summary):a.default.createElement(“noscript”,null)},g=function(e){return e.indexImage.copyrightHolder?a.default.createElement(“div”,{className:”lx-media-asset__copyright gel-minion qa-photogallery-image-copyright”},a.default.createElement(“span”,{“aria-hidden”:”true”},e.indexImage.copyrightHolder)):a.default.createElement(“noscript”,null)},v=function(e){if(e.indexImage){var t=e.indexImage.ichefHref,n=a.default.createElement(s.default,{className:”qa-responsive-image”,src:t,delayed:!0});return a.default.createElement(“div”,{className:”lx-media-asset__image gs-o-responsive-image gs-o-responsive-image–16by9 qa-photogallery-image”},n,g(e))}return a.default.createElement(“div”,{className:”lx-media-asset__image gs-o-responsive-image gs-o-responsive-image–16by9 qa-photogallery-image”},a.default.createElement(s.default,{className:”qa-responsive-image”}))},y=function(e){var t=e.photogallery.galleryImageCount;return t+” “+(1===t?e.getTranslationFor(“photo”):e.getTranslationFor(“photos”))},b=function(e,t){return a.default.createElement(“div”,{className:”lx-stream-asset__gallery-cta-text qa-photogallery-count”},a.default.createElement(“span”,{“aria-hidden”:”true”,id:t},y(e)))},_=function(e){var t=”count_”+e.assetId,n=(0,p.default)(“gs-o-media-island__icon lx-stream-asset__gallery-cta gel-long-primer-bold”,{“br-page-link-onbg br-page-bg-ontext br-page-link-onbg br-page-linkhover-onbg–hover br-page-bg-ontext–hover”:”true”===e.brandingTool});return a.default.createElement(“div”,{className:”gel-body-copy lx-stream-post-body”},h(e),a.default.createElement(“div”,{className:”lx-stream-asset lx-stream-asset–pgl”},a.default.createElement(“a”,{className:”lx-stream-asset__link qa-photogallery-link”,href:e.relatedUrl,”aria-labelledby”:””+e.titleId,”aria-describedby”:t,onClick:m(e)},a.default.createElement(“div”,{className:”gs-o-media-island lx-media-asset__island”},v(e),a.default.createElement(“div”,{className:n},a.default.createElement(“span”,{className:”lx-stream-asset__gallery-cta-icon gel-icon”},a.default.createElement(u.default,{iconName:”image”})),b(e,t))))))};_.propTypes={relatedUrl:a.default.PropTypes.string.isRequired,assetId:a.default.PropTypes.string.isRequired,titleId:a.default.PropTypes.string.isRequired,summary:a.default.PropTypes.string,brandingTool:a.default.PropTypes.string},y.propTypes={getTranslationFor:a.default.PropTypes.func.isRequired},b.propTypes={getTranslationFor:a.default.PropTypes.func.isRequired},v.propTypes={indexImage:a.default.PropTypes.shape({copyrightHolder:a.default.PropTypes.string,ichefHref:a.default.PropTypes.string.isRequired,altText:a.default.PropTypes.string})},g.propTypes={indexImage:a.default.PropTypes.shape({copyrightHolder:a.default.PropTypes.string}),getTranslationFor:a.default.PropTypes.func.isRequired},b.propTypes={getTranslationFor:a.default.PropTypes.func.isRequired},h.propTypes={summary:a.default.PropTypes.shape({length:a.default.PropTypes.string.isRequired}).isRequired},g.defaultProps={indexImage:void 0},v.defaultProps={indexImage:void 0},_.defaultProps={summary:void 0,brandingTool:”false”,titleId:””},_.displayName=”PhotoGalleryType”,t.default=_,e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=Object.assign||function(e){for(var t=1;t-1?”https://ichef.bbci.co.uk/images/ic/raw/p05d1g60.png”:this.state.shareUrl.indexOf(“/news”)>-1?”http://ichef.bbci.co.uk/images/ic/raw/p05d1g0s.png”:”https://ichef.bbci.co.uk/images/ic/raw/p05d1fth.png”}},{key:”getTwitterHandle”,value:function(){return this.state.shareUrl.indexOf(“https://www.bbc.co.uk/sport”)>-1?”BBCSport”:this.state.shareUrl.indexOf(“/news”)>-1?”BBCNews”:”BBC”}},{key:”getPostShareImage”,value:function(){var e=this.props.body.filter(function(e){var t=e.name;return”image”===t||”video”===t})[0];return e&&(e.imageChefHref||e.holdingImageUrl).replace(“{width}”,”320″)}},{key:”getShareImage”,value:function(){var e=this.props,t=e.type,n=e.body,r=e.media;return”POST”===t&&n.length>0?this.getPostShareImage()||this.getFallbackLogo():”CLIP”!==t&&”MAP”!==t||!r?this.getFallbackLogo():r.holdingImageUrl||this.getFallbackLogo()}},{key:”buildLinkName”,value:function(){return encodeURIComponent(this.props.assetId+”&”+this.props.title+”&”+this.props.lastPublished).replace(/’/g,”%27″).replace(/”/g,”%22″)}},{key:”sendIStats”,value:function(e){var t=this;return function(){var n=(0,m.getIstatsData)(t.props);(0,f.configureAndSendIstats)(e,”share”,n)}}},{key:”toggleSharePanel”,value:function(){var e=this.props,t=e.assetId,n=e.activeDropdown,r=e.setActiveDropdown,o=n===t?””:t;return this.sendIStats(“share_panel”)(),this.setState({isOpen:!!o}),r(o)}},{key:”twitterShareUrl”,value:function(){return this.state.shareUrl+”?ns_mchannel=social&ns_source=twitter&ns_campaign=bbc_live&ns_linkname=”+this.buildLinkName(this.props)+”&ns_fee=0&pinned_post_locator=”+this.props.locator+”&pinned_post_asset_id=”+this.props.assetId+”&pinned_post_type=share”}},{key:”facebookShareUrl”,value:function(){return this.state.shareUrl+”?ns_mchannel=social&ns_source=facebook&ns_campaign=bbc_live&ns_linkname=”+this.buildLinkName(this.props)+”&ns_fee=0&pinned_post_locator=”+this.props.locator+”&pinned_post_asset_id=”+this.props.assetId+”&pinned_post_type=share”}},{key:”setInitialState”,value:function(){var e=””;if(this.props.relatedUrl)e=window.location.origin+this.props.relatedUrl;else{e=window.location.href;var t=e.match(h);if(t)e=t[0];else{var n=e.match(g);n&&(e=n[0])}}this.setState({shareUrl:e,pageTitle:document.title})}},{key:”render”,value:function(){var e=this,t=this.props,n=t.activeDropdown,r=t.assetId,o=t.getTranslationFor,a=t.title,i=t.cssDirection,s=t.shareToolsTitleId,l=t.useReactionsStreamV4Toggle,c=this.state,f=c.isOpen,m=c.shareUrl,h=c.pageTitle,g=(0,p.default)({“ev-button”:”true”===this.props.brandingTool},”qa-facebook-share”,”lx-share-tools__cta”),y=(0,p.default)({“ev-button”:”true”===this.props.brandingTool},”qa-twitter-share”,”lx-share-tools__cta”),b=n===r&&f,_=m.indexOf(“bbc.com”)>-1?”https://www.bbc.com”:”https://www.bbc.co.uk”,P={shareText:o(“share”),viewMoreShare:o(“view_more_share”),shareThisPost:o(“share_this_post”),copyThisLink:o(“copy_this_link”),readMoreOnLinks:o(“read_more_on_links”),readMoreOnLinksLabel:o(“read_more_on_links_label”),shareThisPostOn:o(“share_this_post_on”),closeButtonLabel:o(“close_button_label”),copyShareLinkLabel:o(“copy_share_link_label”)},T=P.shareThisPostOn+” Facebook”,E=P.shareThisPostOn+” Twitter”,x=l?”alternate-up”:”alternate-transformation”,C=l?”right”:”left”;return u.default.createElement(“ul”,{“aria-labelledby”:s,className:”lx-share-tools__items lx-share-tools__items–align-“+C+” qa-share-tools”},u.default.createElement(“li”,null,u.default.createElement(d.Facebook,{link:this.facebookShareUrl(),name:h,description:a,image:this.getShareImage(),classes:g,caption:_,customFacebookAriaLabel:T,clickCallback:this.sendIStats(“share_facebook”),small:!0,noButtonPadding:!0,brandingTool:this.props.brandingTool})),u.default.createElement(“li”,null,u.default.createElement(d.Twitter,{link:this.twitterShareUrl(),description:this.props.title,viaHandle:this.getTwitterHandle(),classes:y,customTwitterAriaLabel:E,clickCallback:this.sendIStats(“share_twitter”),small:!0,noButtonPadding:!0,brandingTool:this.props.brandingTool})),u.default.createElement(“li”,null,u.default.createElement(d.SharePanel,{shareButtonComponent:function(t){return u.default.createElement(v,{translations:P,buttonProps:t,brandingTool:e.props.brandingTool,isOpen:b,assetId:r})},accessibilityId:”share-popup-“+r,classes:”lx-share-tools__panel”,headerText:P.shareThisPost,readMoreText:P.readMoreOnLinks,readMoreTextAriaLabel:P.readMoreOnLinksLabel,closeButtonLabel:P.closeButtonLabel,copyShareLinkLabel:P.copyShareLinkLabel,direction:x,cssDirection:i,clickCallback:this.toggleSharePanel,onCloseCallback:this.toggleSharePanel,isOpen:b},u.default.createElement(“div”,{className:”gs-c-share-tools__button share-tools__button–no-hover-effect”},u.default.createElement(d.CopyLinkBox,{theme:”dark”,link:this.twitterShareUrl(),shareText:P.copyThisLink,feedbackDuration:2e3,classes:”lx-share-tools__copylink-box”})))))}}]),t}(l.Component);y.propTypes={type:l.PropTypes.string.isRequired,assetId:l.PropTypes.string.isRequired,lastPublished:l.PropTypes.string.isRequired,locator:l.PropTypes.string.isRequired,activeDropdown:l.PropTypes.string.isRequired,setActiveDropdown:l.PropTypes.func.isRequired,brandingTool:l.PropTypes.string.isRequired,getTranslationFor:l.PropTypes.func.isRequired,title:l.PropTypes.string.isRequired,cssDirection:l.PropTypes.string.isRequired,body:l.PropTypes.array.isRequired,media:l.PropTypes.object.isRequired,useReactionsStreamV4Toggle:l.PropTypes.bool.isRequired,postIndex:l.PropTypes.number.isRequired,postHasVideo:l.PropTypes.bool.isRequired,postHasImage:l.PropTypes.bool.isRequired,postHasSocial:l.PropTypes.bool.isRequired,postIsBreakingNews:l.PropTypes.bool.isRequired,mode:l.PropTypes.string.isRequired,shareToolsTitleId:l.PropTypes.string.isRequired,relatedUrl:l.PropTypes.string},y.defaultProps={relatedUrl:null,brandingTool:”false”,activeDropdown:””,media:{},postHasVideo:!1,postHasImage:!1,postHasSocial:!1,postIsBreakingNews:!1},t.default=y},function(e,t){e.exports=Morph.modules[“bbc-morph-share-tools@5.1.4”]},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=function(e){return e.title||e.subtitle||e.icon},o=function(e){return”POST”===e.type||”CIT”===e.type},a=function(e){return e.body&&e.body.length>0},i=function(e){return”STY”===e.type||”CSP”===e.type},s=function(e,t){return!(!e||!e.body)&&e.body.some(function(e){return e.name===t})},l=function(e){return s(e,”video”)||”MAP”===e.type||”video”===e.mediaType},u=function(e){return s(e,”image”)},c=function(e){return Boolean(e&&e.options&&e.options.isBreakingNews&&void 0!==e.options.isBreakingNews)},p=function(e){return Boolean(e&&e.options&&e.options.isPriorityPost&&void 0!==e.options.isPriorityPost)},d=function(e){return!!e&&[“FLAG_CHEQUERED”,”GOLD”,”WICKET”,”TRY”,”GOAL”].includes(e)},f=function(e){return{BREAKING:”Breaking”,GOAL:”Goal”,GOLD:”Gold medal”,TRY:”Try”,WICKET:”Wicket”,FLAG_CHEQUERED:”Chequered flag”}[e]};t.default={postHasHeading:r,isPostType:o,postIsStory:i,hasValidContent:a,postHasMediaType:s,postHasVideo:l,postHasImage:u,postIsBreakingNews:c,postIsPriority:p,isSupportedIncidentType:d,formatType:f},e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function a(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}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var s=function(){function e(e,t){for(var n=0;n0&&a(e,t)&&t.length>0){var r=s(t)?t[1]:t[0];return i(e,r)}return n};t.renderComponentIfExists=r,t.hasNewPost=l,t.hasPinnedPost=s},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r),a=function(){return o.default.createElement(“svg”,{className:”qa-loading-icon-svg”,xmlns:”http://www.w3.org/2000/svg”,viewBox:”0 0 28 28″},o.default.createElement(“linearGradient”,{id:”a”,gradientUnits:”userSpaceOnUse”,x1:”1.224″,y1:”8.111″,x2:”25.888″,y2:”21.225″},o.default.createElement(“stop”,{offset:”0″,stopColor:”#5a5a5a”}),o.default.createElement(“stop”,{offset:”1″,stopColor:”#5a5a5a”,stopOpacity:”0″})),o.default.createElement(“path”,{d:”M26 7l-3 1.7c.9 1.5 1.4 3.3 1.4 5.2 0 5.8-4.7 10.5-10.5 10.5-5.7 0-10.4-4.7-10.4-10.4C3.5 8.2 7.8 3.5 14 3.5V0C6.1 0 0 6.2 0 14c0 7.7 6.2 14 14 14 7.7 0 14-6.2 14-14-.1-2.6-.8-5-2-7z”,fill:”url(#a)”}))},i=function(e){return o.default.createElement(“div”,{className:”gs-u-align-center gs-u-pv-alt+ gs-u-ph+ lx-loading-message”},o.default.createElement(“span”,{“aria-hidden”:”true”,className:”gs-u-mb gel-icon lx-loading-message__icon qa-loading-icon”},o.default.createElement(a,null)),o.default.createElement(“p”,{className:”gs-u-m0 gel-body-copy qa-loading-text”},e.loadingText))};i.propTypes={loadingText:o.default.PropTypes.string.isRequired},t.default=i,e.exports=t.default},function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.default=function(e,t){var n=e;for(var r in t)t[r]&&(n=n.replace(“{“+r+”}”,t[r]));return n},e.exports=t.default},function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}function a(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}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,”__esModule”,{value:!0}),t.getMode=void 0;var l=function(){function e(e,t){for(var n=0;n

Checkout latest world news below links :
World News || Latest News || U.S. News

Source link

The post Douglas Luiz double as Villa close in on top four again appeared first on WorldNewsEra.

By

Leave a Reply

Your email address will not be published.