in

Ethiopia – BBC News

[]
t.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(!y||!f(y,n)){y=n;var o=u.getPooled(g.select,b,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 b=void 0!==g?g:””,y=e.getTranslationFor(“from”),_=”string”==typeof u?y+” “+u+” “+b:””,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]},y=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=b(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);y.displayName=”LazyEmbed”,y.propTypes={title:c.default.PropTypes.string.isRequired,url:c.default.PropTypes.string.isRequired,isVisible:c.default.PropTypes.bool.isRequired},t.default=(0,h.IntersectComponent)(y),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)},y=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(y,{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?b(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”,b.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},b.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},y.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”}))},b=function(e){var t=e.photogallery.galleryImageCount;return t+” “+(1===t?e.getTranslationFor(“photo”):e.getTranslationFor(“photos”))},y=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},b(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”})),y(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},b.propTypes={getTranslationFor:a.default.PropTypes.func.isRequired},y.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},y.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(“/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”),b=(0,p.default)({“ev-button”:”true”===this.props.brandingTool},”qa-twitter-share”,”lx-share-tools__cta”),y=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”,x=P.shareThisPostOn+” Twitter”,E=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:b,customTwitterAriaLabel:x,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:y,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:E,cssDirection:i,clickCallback:this.toggleSharePanel,onCloseCallback:this.toggleSharePanel,isOpen:y},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);b.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},b.defaultProps={relatedUrl:null,brandingTool:”false”,activeDropdown:””,media:{},postHasVideo:!1,postHasImage:!1,postHasSocial:!1,postIsBreakingNews:!1},t.default=b},function(e,t){e.exports=Morph.modules[“bbc-morph-share-tools@5.1.3”]},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 >>1;case”base64″:return q(e).length;default:if(i)return H(e).length;n=(“”+n).toLowerCase(),i=!0}}function b(e,n,t){var i=!1;if((void 0===n||n<0)&&(n=0),n>this.length)return””;if((void 0===t||t>this.length)&&(t=this.length),t>>=0,n>>>=0,t2147483647?t=2147483647:t=e.length){if(s)return-1;t=e.length-1}else if(t<0){if(!s)return-1;t=0}if("string"==typeof n&&(n=r.from(n,i)),r.isBuffer(n))return 0===n.length?-1:k(e,n,t,i,s);if("number"==typeof n)return n&=255,r.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(e,n,t):Uint8Array.prototype.lastIndexOf.call(e,n,t):k(e,[n],t,i,s);throw new TypeError("val must be string, number or Buffer")}function k(e,n,t,i,s){function r(e,n){return 1===a?e[n]:e.readUInt16BE(n*a)}var a=1,u=e.length,o=n.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||n.length<2)return-1;a=2,u/=2,o/=2,t/=2}var l;if(s){var c=-1;for(l=t;lu&&(t=u-o),l=t;l>=0;l–){for(var d=!0,f=0;fs&&(i=s):i=s;var r=n.length;if(r%2!=0)throw new TypeError(“Invalid hex string”);i>r/2&&(i=r/2);for(var a=0;a223?3:r>191?2:1;if(s+u<=t){var o,l,c,d;switch(u){case 1:r<128&&(a=r);break;case 2:o=e[s+1],128==(192&o)&&(d=(31&r)127&&(a=d);break;case 3:o=e[s+1],l=e[s+2],128==(192&o)&&128==(192&l)&&(d=(15&r)<<12|(63&o)2047&&(d<55296||d>57343)&&(a=d);break;case 4:o=e[s+1],l=e[s+2],c=e[s+3],128==(192&o)&&128==(192&l)&&128==(192&c)&&(d=(15&r)<<18|(63&o)<<12|(63&l)65535&&d<1114112&&(a=d)}}null===a?(a=65533,u=1):a>65535&&(a-=65536,i.push(a>>>10&1023|55296),a=56320|1023&a),i.push(a),s+=u}return T(i)}function T(e){var n=e.length;if(n<=Q)return String.fromCharCode.apply(String,e);for(var t="",i=0;it)throw new RangeError(“Trying to access beyond buffer length”)}function I(e,n,t,i,s,a){if(!r.isBuffer(e))throw new TypeError(‘”buffer” argument must be a Buffer instance’);if(n>s||ne.length)throw new RangeError(“Index out of range”)}function Y(e,n,t,i){n<0&&(n=65535+n+1);for(var s=0,r=Math.min(e.length-t,2);s>8*(i?s:1-s)}function L(e,n,t,i){n<0&&(n=4294967295+n+1);for(var s=0,r=Math.min(e.length-t,4);s>>8*(i?s:3-s)&255}function M(e,n,t,i,s,r){if(t+i>e.length)throw new RangeError(“Index out of range”);if(t<0)throw new RangeError("Index out of range")}function O(e,n,t,i,s){return s||M(e,n,t,4,3.4028234663852886e38,-3.4028234663852886e38),$.write(e,n,t,i,23,4),t+4}function N(e,n,t,i,s){return s||M(e,n,t,8,1.7976931348623157e308,-1.7976931348623157e308),$.write(e,n,t,i,52,8),t+8}function j(e){if(e=z(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function z(e){return e.trim?e.trim():e.replace(/^s+|s+$/g,"")}function V(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,n){n=n||1/0;for(var t,i=e.length,s=null,r=[],a=0;a55295&&t<57344){if(!s){if(t>56319){(n-=3)>-1&&r.push(239,191,189);continue}if(a+1===i){(n-=3)>-1&&r.push(239,191,189);continue}s=t;continue}if(t<56320){(n-=3)>-1&&r.push(239,191,189),s=t;continue}t=65536+(s-55296-1&&r.push(239,191,189);if(s=null,t<128){if((n-=1)<0)break;r.push(t)}else if(t<2048){if((n-=2)<0)break;r.push(t>>6|192,63&t|128)}else if(t<65536){if((n-=3)<0)break;r.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((n-=4)<0)break;r.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return r}function K(e){for(var n=[],t=0;t8,s=t%256,r.push(s),r.push(i);return r}function q(e){return Z.toByteArray(j(e))}function J(e,n,t,i){for(var s=0;s=n.length||s>=e.length);++s)n[s+t]=e[s];return s}function W(e){return e!==e}var Z=t(8),$=t(9),G=t(10);n.Buffer=r,n.SlowBuffer=v,n.INSPECT_MAX_BYTES=50,r.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&”function”==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),n.kMaxLength=i(),r.poolSize=8192,r._augment=function(e){return e.__proto__=r.prototype,e},r.from=function(e,n,t){return a(null,e,n,t)},r.TYPED_ARRAY_SUPPORT&&(r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array,”undefined”!=typeof Symbol&&Symbol.species&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0})),r.alloc=function(e,n,t){return o(null,e,n,t)},r.allocUnsafe=function(e){return l(null,e)},r.allocUnsafeSlow=function(e){return l(null,e)},r.isBuffer=function(e){return!(null==e||!e._isBuffer)},r.compare=function(e,n){if(!r.isBuffer(e)||!r.isBuffer(n))throw new TypeError(“Arguments must be Buffers”);if(e===n)return 0;for(var t=e.length,i=n.length,s=0,a=Math.min(t,i);st&&(e+=” … “)),””},r.prototype.compare=function(e,n,t,i,s){if(!r.isBuffer(e))throw new TypeError(“Argument must be a Buffer”);if(void 0===n&&(n=0),void 0===t&&(t=e?e.length:0),void 0===i&&(i=0),void 0===s&&(s=this.length),n<0||t>e.length||i<0||s>this.length)throw new RangeError(“out of range index”);if(i>=s&&n>=t)return 0;if(i>=s)return-1;if(n>=t)return 1;if(n>>>=0,t>>>=0,i>>>=0,s>>>=0,this===e)return 0;for(var a=s-i,u=t-n,o=Math.min(a,u),l=this.slice(i,s),c=e.slice(n,t),d=0;ds)&&(t=s),e.length>0&&(t<0||n<0)||n>this.length)throw new RangeError(“Attempt to write outside buffer bounds”);i||(i=”utf8″);for(var r=!1;;)switch(i){case”hex”:return E(this,e,n,t);case”utf8″:case”utf-8″:return A(this,e,n,t);case”ascii”:return B(this,e,n,t);case”latin1″:case”binary”:return m(this,e,n,t);case”base64″:return _(this,e,n,t);case”ucs2″:case”ucs-2″:case”utf16le”:case”utf-16le”:return C(this,e,n,t);default:if(r)throw new TypeError(“Unknown encoding: “+i);i=(“”+i).toLowerCase(),r=!0}},r.prototype.toJSON=function(){return{type:”Buffer”,data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;r.prototype.slice=function(e,n){var t=this.length;e=~~e,n=void 0===n?t:~~n,e<0?(e+=t)<0&&(e=0):e>t&&(e=t),n<0?(n+=t)<0&&(n=0):n>t&&(n=t),n0&&(s*=256);)r+=this[e+–i]*s;return s*=128,r>=s&&(r-=Math.pow(2,8*n)),r},r.prototype.readInt8=function(e,n){return n||x(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},r.prototype.readInt16LE=function(e,n){n||x(e,2,this.length);var t=this[e]|this[e+1]<<8;return 32768&t?4294901760|t:t},r.prototype.readInt16BE=function(e,n){n||x(e,2,this.length);var t=this[e+1]|this[e]<<8;return 32768&t?4294901760|t:t},r.prototype.readInt32LE=function(e,n){return n||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},r.prototype.readInt32BE=function(e,n){return n||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},r.prototype.readFloatLE=function(e,n){return n||x(e,4,this.length),$.read(this,e,!0,23,4)},r.prototype.readFloatBE=function(e,n){return n||x(e,4,this.length),$.read(this,e,!1,23,4)},r.prototype.readDoubleLE=function(e,n){return n||x(e,8,this.length),$.read(this,e,!0,52,8)},r.prototype.readDoubleBE=function(e,n){return n||x(e,8,this.length),$.read(this,e,!1,52,8)},r.prototype.writeUIntLE=function(e,n,t,i){if(e=+e,n|=0,t|=0,!i){I(this,e,n,t,Math.pow(2,8*t)-1,0)}var s=1,r=0;for(this[n]=255&e;++r=0&&(r*=256);)this[n+s]=e/r&255;return n+t},r.prototype.writeUInt8=function(e,n,t){return e=+e,n|=0,t||I(this,e,n,1,255,0),r.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[n]=255&e,n+1},r.prototype.writeUInt16LE=function(e,n,t){return e=+e,n|=0,t||I(this,e,n,2,65535,0),r.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):Y(this,e,n,!0),n+2},r.prototype.writeUInt16BE=function(e,n,t){return e=+e,n|=0,t||I(this,e,n,2,65535,0),r.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=255&e):Y(this,e,n,!1),n+2},r.prototype.writeUInt32LE=function(e,n,t){return e=+e,n|=0,t||I(this,e,n,4,4294967295,0),r.TYPED_ARRAY_SUPPORT?(this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=255&e):L(this,e,n,!0),n+4},r.prototype.writeUInt32BE=function(e,n,t){return e=+e,n|=0,t||I(this,e,n,4,4294967295,0),r.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):L(this,e,n,!1),n+4},r.prototype.writeIntLE=function(e,n,t,i){if(e=+e,n|=0,!i){var s=Math.pow(2,8*t-1);I(this,e,n,t,s-1,-s)}var r=0,a=1,u=0;for(this[n]=255&e;++r>0)-u&255;return n+t},r.prototype.writeIntBE=function(e,n,t,i){if(e=+e,n|=0,!i){var s=Math.pow(2,8*t-1);I(this,e,n,t,s-1,-s)}var r=t-1,a=1,u=0;for(this[n+r]=255&e;–r>=0&&(a*=256);)e<0&&0===u&&0!==this[n+r+1]&&(u=1),this[n+r]=(e/a>>0)-u&255;return n+t},r.prototype.writeInt8=function(e,n,t){return e=+e,n|=0,t||I(this,e,n,1,127,-128),r.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[n]=255&e,n+1},r.prototype.writeInt16LE=function(e,n,t){return e=+e,n|=0,t||I(this,e,n,2,32767,-32768),r.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):Y(this,e,n,!0),n+2},r.prototype.writeInt16BE=function(e,n,t){return e=+e,n|=0,t||I(this,e,n,2,32767,-32768),r.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=255&e):Y(this,e,n,!1),n+2},r.prototype.writeInt32LE=function(e,n,t){return e=+e,n|=0,t||I(this,e,n,4,2147483647,-2147483648),r.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24):L(this,e,n,!0),n+4},r.prototype.writeInt32BE=function(e,n,t){return e=+e,n|=0,t||I(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),r.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):L(this,e,n,!1),n+4},r.prototype.writeFloatLE=function(e,n,t){return O(this,e,n,!0,t)},r.prototype.writeFloatBE=function(e,n,t){return O(this,e,n,!1,t)},r.prototype.writeDoubleLE=function(e,n,t){return N(this,e,n,!0,t)},r.prototype.writeDoubleBE=function(e,n,t){return N(this,e,n,!1,t)},r.prototype.copy=function(e,n,t,i){if(t||(t=0),i||0===i||(i=this.length),n>=e.length&&(n=e.length),n||(n=0),i>0&&i=this.length)throw new RangeError(“sourceStart out of bounds”);if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-n=0;–s)e[s+n]=this[s+t];else if(a<1e3||!r.TYPED_ARRAY_SUPPORT)for(s=0;s>=0,t=void 0===t?this.length:t>>>0,e||(e=0);var a;if(“number”==typeof e)for(a=n;a0?u-4:u;var o=0;for(n=0;n16&255,a[o++]=s>>8&255,a[o++]=255&s;return 2===r?(s=l[e.charCodeAt(n)]>4,a[o++]=255&s):1===r&&(s=l[e.charCodeAt(n)]<<10|l[e.charCodeAt(n+1)]>2,a[o++]=s>>8&255,a[o++]=255&s),a}function r(e){return o[e>>18&63]+o[e>>12&63]+o[e>>6&63]+o[63&e]}function a(e,n,t){for(var i,s=[],a=n;a>2],s+=o[n<<4&63],s+="=="):2===i&&(n=(e[t-2]>10],s+=o[n>>4&63],s+=o[n<<2&63],s+="="),r.push(s),r.join("")}n.byteLength=i,n.toByteArray=s,n.fromByteArray=u;for(var o=[],l=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,w=d.length;f>1,c=-7,d=t?s-1:0,f=t?-1:1,w=e[n+d];for(d+=f,r=w&(1<>=-c,c+=u;c>0;r=256*r+e[n+d],d+=f,c-=8);for(a=r&(1<>=-c,c+=i;c>0;a=256*a+e[n+d],d+=f,c-=8);if(0===r)r=1-l;else{if(r===o)return a?NaN:1/0*(w?-1:1);a+=Math.pow(2,i),r-=l}return(w?-1:1)*a*Math.pow(2,r-i)},n.write=function(e,n,t,i,s,r){var a,u,o,l=8*r-s-1,c=(1<>1,f=23===s?Math.pow(2,-24)-Math.pow(2,-77):0,w=i?0:r-1,g=i?1:-1,v=n<0||0===n&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(u=isNaN(n)?1:0,a=c):(a=Math.floor(Math.log(n)/Math.LN2),n*(o=Math.pow(2,-a))<1&&(a--,o*=2),n+=a+d>=1?f/o:f*Math.pow(2,1-d),n*o>=2&&(a++,o/=2),a+d>=c?(u=0,a=c):a+d>=1?(u=(n*o-1)*Math.pow(2,s),a+=d):(u=n*Math.pow(2,d-1)*Math.pow(2,s),a=0));s>=8;e[t+w]=255&u,w+=g,u/=256,s-=8);for(a=a<0;e[t+w]=255&a,w+=g,a/=256,l-=8);e[t+w-g]|=128*v}},function(e,n){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},function(e,n){e.exports=Morph}]);; });]]]]]]]]>]]]]]]>]]]]>]]>

Source

What do you think?

Written by Ethiotime1

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

VISA SERVICE – Embassy of Ethiopia

Ethiopia objects to alleged “misconduct” of WHO chief Tedros