function onMessage(t){}!function(){var t=document.createElement("script");t.type="text/javascript",t.src="//cdnstatic.reuters.tv/syndicatedPlayerClient/js/lib/porthole.min.js",document.getElementsByTagName("head")[0].appendChild(t)}(),function(){var t=document.createElement("script");t.type="text/javascript",t.src="//cdnstatic.reuters.tv/syndicatedPlayerClient/js/advertisement.js",document.getElementsByTagName("head")[0].appendChild(t)}();var RTVConf={};RTVConf.region="UK",RTVConf.setRegion=function(t){t&&("North America"===t.address.continent?RTVConf.region="US":"Europe"===t.address.continent?RTVConf.region="UK":RTVConf.region="US")},RTVConf.detectRegion=function(){RTVConf.jsonp.send("http://api.wipmania.com/jsonp?callback=RTVConf.setRegion")},RTVConf.jsonp=function(){var t={};return t.send=function(t,e){var i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src=t,document.getElementsByTagName("head")[0].appendChild(i)},t}(),RTVConf.detectRegion();var reutersTV=function(t){return t?window.RTV_ad_render?-1!=!navigator.userAgent.toLowerCase().indexOf("msie")&&parseInt(navigator.userAgent.toLowerCase().split("msie")[1],10)<9?void 0:(this.iframeEL_=document.createElement("iframe"),this.playerContainer_=document.getElementsByClassName(t.playerClass),this.overlayDiv_=document.createElement("div"),this.overlayPlayBtn_=document.createElement("div"),this.fontEl_=document.getElementsByClassName(t.fontElClass)[0],this.adTag=t.adTag,this.orientation="",this.ifrId="RTV"+Date.now(),this.region=t.region||RTVConf.region,this.publisherId=t.publisherId,this.host=window.location.host,this.width=this.playerContainer_[0].offsetWidth,this.width>480?(this.orientation="horizontal",this.height=this.width/1.4657210401891252):(this.orientation="vertical",this.height=this.width/.56285178),void 0===this.playerContainer_?null:("vertical"===this.orientation&&this.overlayDiv_.addEventListener("click",this.bindObj(this,this.buildPopUp),!1),void this.createIframe())):void 0:null};reutersTV.prototype.isIphone=function(){return navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)?!0:!1},reutersTV.prototype.isIpad=function(){return navigator.userAgent.match(/iPad/i)?!0:!1},reutersTV.prototype.isIE9=function(){var t=navigator.userAgent.toLowerCase(),e=!1;return 9===(-1!=t.indexOf("msie")?parseInt(t.split("msie")[1]):!1)&&(e=!0),e},reutersTV.prototype.stopEventPropogation=function(t){"undefined"!=typeof t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},reutersTV.prototype.bindObj=function(t,e){return function(){e.apply(t,arguments)}},reutersTV.prototype.buildPopUp=function(){this.popup_=document.createElement("div"),this.popup_.className="rtvModal__overlay",this.popup_.setAttribute("style","position: fixed;z-index: 99999;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0,0,0,.5);"),this.closeBtn_=document.createElement("div"),this.closeBtn_.setAttribute("style","position: fixed;top: "+(this.isIpad()?4:30)+"px;right: "+(this.isIpad()?4:30)+"px;width: 44px;height: 44px;border: 2px solid rgba(255,255,255, .25);border-radius: 50%;cursor: pointer;background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAeCAYAAAGj9fUKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sb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7D8TiaBrFoeL/UPIBlsD4CU0o8lC+PJT/k9gU9xWqIRBKf8WmDj3XI4MPQMwPxB9xhQMTDo0OUI0MUNoeqyoszvGDOvUhlP8Qyvcl5OcYqMIbaOI3oOIxuDRnQxWcwxGIZ6Hy2eiaa6EShwik6UNQdbUwzf1Qga1EZoqtUPX9IM4/IF5OYq5aBtIHEGAgRgLUABBYiqc6ohQzQ83/D7UvASQISmgT/qOCLUDMQSVLQeZsRjO/H1yQoSmsQ1MEiiBeMi0F6TuIZl4dMXkzFykq/kOTmTCRlgojJUtYEOdgU0vIoFhoewUGriO1XdCxNFQeBv6gZypSLUfO8j+RDAZleRWonApSEQAr+vyIMZfUeHSEthCxgc9QeaLNIychWQHxBzSLP0DFGWhluTtSJQECz6CVxTMksa/IDV1qWB6KFt/3gFgBTY0CVBw53kMosTwVLaWDWsgSBAyUgKpDTvGppFheihafJ4BYgMT4FIDqQwal+CxvQ1O8B4i5KCxaQfp3o5nbhmz5FDTJdUDMRuVKhQ2pmQ8DU2CS6UA8j4wGJzk1G8ieDBAfAMZLXq1DBa32AAAAAElFTkSuQmCC');background-size: 16px 16px;background-position: center;background-repeat: no-repeat;"),this.closeBtn_.className="rtvModal__close",console.log("IE9 DETECT  -",this.isIE9()),this.popupVideoContainer_=document.createElement("div"),this.popupVideoContainer_.setAttribute("style","position:absolute;z-index: 99999;"+(this.isIE9()?"top: calc(50% - 281px);":"top: 50%;")+(this.isIE9()?"left: calc(50% - 500px);":"left: 50%;")+"width: 1000px;max-width: 100%;overflow: hidden;border: 1px solid rgba(255,255,255, .5);background: center url(//cdnstatic.reuters.tv/syndicatedPlayerClient/img/spinner.gif) no-repeat #000;background-size: 20px;box-shadow: 0 25px 75px rgba(0,0,0, .75);-webkit-transform: translate(-50%, -50%);transform: translate(-50%, -50%);height:562px;"),this.innerEl_=document.createElement("div"),this.innerEl_.setAttribute("style","padding-bottom: 56.25%;overflow: hidden;"),this.iframeELPopup_=document.createElement("iframe"),-1!==this.host.indexOf("localhost")?this.iframeELPopup_.src="//"+this.host+"/syndicatedPlayerIframe/?region="+this.region+"&publisherId="+this.publisherId+"&id="+this.ifrId+"&adTag="+encodeURIComponent(this.adTag):-1!==this.host.indexOf("stage.reuters.tv")?this.iframeELPopup_.src="//"+this.host+"/syndicatedPlayerIframe/?region="+this.region+"&publisherId="+this.publisherId+"&id="+this.ifrId+"&adTag="+encodeURIComponent(this.adTag):this.iframeELPopup_.src="//www.reuters.tv/syndicatedPlayerIframe/?region="+this.region+"&publisherId="+this.publisherId+"&id="+this.ifrId+"&adTag="+encodeURIComponent(this.adTag),this.iframeELPopup_.setAttribute("style","position:absolute;top: 0;left: 0;width: 1000px;height: 562px;"),this.iframeELPopup_.id="RTVPlayerFrame",this.iframeELPopup_.setAttribute("frameborder","0"),this.iframeELPopup_.setAttribute("allowfullscreen","true"),this.iframeELPopup_.setAttribute("webkitallowfullscreen","true"),this.iframeELPopup_.setAttribute("mozallowfullscreen","true"),this.innerEl_.appendChild(this.iframeELPopup_),this.popupVideoContainer_.appendChild(this.innerEl_),this.popup_.id=this.ifrId+"_popUp",this.popup_.appendChild(this.closeBtn_),this.popup_.appendChild(this.popupVideoContainer_),document.body.appendChild(this.popup_),this.popup_.addEventListener("click",this.bindObj(this,function(t){this.stopEventPropogation(t),document.body.removeChild(this.popup_)}),!1),this.closeBtn_.addEventListener("click",this.bindObj(this,function(t){this.stopEventPropogation(t),document.body.removeChild(this.popup_)}),!1)},reutersTV.prototype.createIframe=function(){if(this.playerContainer_[0].style.position="relative",!this.isIphone()&&"vertical"===this.orientation){this.overlayDiv_.setAttribute("class","overlayBtnCover"),this.overlayDiv_.setAttribute("style","width:"+this.width+"px;height:"+(this.height-73)+"px;position:absolute;top:0;left:0;"),this.overlayPlayBtn_.setAttribute("class","playBtn"),this.overlayPlayBtn_.setAttribute("style","background: center url(//cdnstatic.reuters.tv/syndicatedPlayerClient/img/play_button.svg);background-repeat:no-repeat;position:absolute;top:calc(50% - 60px);left:calc(50% - 35px);background-position: 25px;width:75px;height: 75px;border: 2px solid #fff;border-radius: 50%;box-sizing: border-box;cursor: pointer;opacity: 1;transition: transform .2s, opacity .25s;-webkit-transition:-webkit-transform .2s;");var t=".overlayBtnCover:hover .playBtn{transform: scale(1.2);-webkit-transform:scale(1.2);}",e=document.createElement("style");e.styleSheet?e.styleSheet.cssText=t:(e.appendChild(document.createTextNode(t)),document.getElementsByTagName("head")[0].appendChild(e)),this.overlayDiv_.appendChild(this.overlayPlayBtn_),this.playerContainer_[0].appendChild(this.overlayDiv_)}this.iframeEL_.id=this.ifrId,this.iframeEL_.name=this.ifrId,-1!==this.host.indexOf("localhost")?this.iframeEL_.src="//"+this.host+"/syndicatedPlayerChannel/?region="+this.region+"&publisherId="+this.publisherId+"&id="+this.ifrId+"&adsTag="+this.adTag:-1!==this.host.indexOf("stage.reuters.tv")?this.iframeEL_.src="//"+this.host+"/syndicatedPlayerChannel/?region="+this.region+"&publisherId="+this.publisherId+"&id="+this.ifrId+"&adsTag="+this.adTag:this.iframeEL_.src="//www.reuters.tv/syndicatedPlayerChannel/?region="+this.region+"&publisherId="+this.publisherId+"&id="+this.ifrId+"&adsTag="+this.adTag,this.iframeEL_.setAttribute("style","width : "+this.width+"px;height: "+this.height+"px;"),this.iframeEL_.setAttribute("frameborder","0"),this.iframeEL_.setAttribute("allowfullscreen","true"),this.iframeEL_.setAttribute("webkitallowfullscreen","true"),this.iframeEL_.setAttribute("mozallowfullscreen","true"),this.playerContainer_[0].appendChild(this.iframeEL_),this.iframePostMessage()},reutersTV.prototype.iframePostMessage=function(t){this.getFontStyle()},reutersTV.prototype.getFontStyle=function(){if(!this.fontEl_)return null;if(this.fontEl_!=={}){var t=window.getComputedStyle(this.fontEl_,null).fontFamily;this.iframeEL_.onload=function(){this.contentWindow.postMessage(t,"*"),windowProxy=new Porthole.WindowProxy(this.src,this.name),windowProxy.addEventListener(onMessage)}}};var windowProxy;