cdnb.4strokemedia.com
Open in
urlscan Pro
2600:9000:2646:2a00:2:dc6c:1340:93a1
Public Scan
URL:
https://cdnb.4strokemedia.com/carousel/v4-test/audio_bug/carousel.min.js
Submission: On September 11 via api from IT — Scanned from IT
Submission: On September 11 via api from IT — Scanned from IT
Form analysis
0 forms found in the DOMText Content
var _4sjq3=null;function _4sSyndicationSetup(e){let t,i="v221107",n=function(){if(e.amp)return!0;try{top.window.document;return!1}catch(e){return!0}}(),o=!0,a=!1;t=e.amp?window:n?window.frameElement.parentElement.ownerDocument.defaultView:top.window;let s=n?t.document:top.document,r=window.console,l=window.navigator,d=window.document,c=window.clearInterval,u=window.setInterval,p=window.setTimeout,A=window.clearTimeout;var m="https://";let h,f,g,y,b,v,w,C,x,_="";function E(){const e=(new Date).toISOString(),t=(new Date).getTimezoneOffset(),i=Math.abs(Math.floor(t/60)),n=Math.abs(t%60);return`${e} ${`${t>=0?"-":"+"}${String(i).padStart(2,"0")}:${String(n).padStart(2,"0")}`}`}function S(){let e=window?.frameElement?.parentElement.getAttribute("data-fluid-zoneid");return e||""}function k(){let e=window?.frameElement?.parentElement,t=e?.ownerDocument.defaultView.frameElement;return t?t.id.includes("google_ads_iframe")?"Google Ad Manager":t?.id||t?.className||"Intermediary system detected; No id/class.":e?.parentElement?.id.includes("bs-ai-videoplayer")?"Browsi":"Sky tag"}function L(e,i,n=null){let o={log_id:Math.floor(1e6*Math.random()),zone_id:S(),timestamp:E(),[e]:i};"carousel_loaded"===o[e]&&(o={...o,carousel_loaded_info:n,intermediary_system:k(),started_at:x}),"carousel_started"===o[e]&&(x=o.timestamp),function(e){t.fluid_analytics.data.push(e)}(o),function(e){t.postMessage(e,"*")}(o)}function T(){let e=Math.floor(1e9*Math.random());for(;t["_4s_id_"+e];)e=Math.floor(1e9*Math.random());return t["_4s_id_"+e]=!0,e}t.fluid_analytics=t.fluid_analytics||{data:[]},L("event","carousel_started"),window.onunhandledrejection=e=>{L("error",e.reason.message)},window.onerror=function(e,t,i){t.includes("carousel.min.js")&&L("error",e)};let P=T();const I="vidcar4s-"+P,M="dummy4s-"+P,R="_4sFluidLogo-"+P,B="_4sProgressDummy-"+P,V="_4sPlayPauseSvg-"+P,O="_4sLeftSwipeSvg-"+P,z="_4sRightSwipeSvg-"+P,D="_4sVolumeOnOffSvg-"+P,j="_4sRangeDummy-"+P,q="_4sLoading-"+P,N="_4sTitleContainer-"+P,F="_4sTitleDescContainer-"+P,H="_4sPlayButtonCentered-"+P,W="_4sPlayCircleSvg-"+P;function U(e,t){return"background: #"+e+"; color: #"+t}const G={name:"%c _4SDex_ ",get gpt(){return this.name+"GPT "},get covatic(){return this.name+"Covatic "},color:{base:U("111","FFF"),aps:U("FFA724","FFF"),gpt:U("222","ccc"),preBid:U("333","bada55"),show:U("222","bada55"),covatic:U("111","CCC")}};function X(e,t,i,n,o){var a=e.createElement("link");a.rel=t,a.as=o,a.href=i,a.crossOrigin=n?"":null,d.head.appendChild(a)}!function(){var e=".com";const t=".4strokemedia",i=".googleapis";["cdnb"+t,"feed"+t,"ajax"+i,"imasdk"+i,"static.adsafeprotected"].forEach((function(t){X(s,"dns-prefetch",m+t+e),X(s,"preconnect",m+t+e,!0)}))}();let K=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Nokia Browser/i.test(l.userAgent),Q=/iPhone|iPad|iPod/i.test(l.userAgent),Z=/^((?!chrome|android).)*safari/i.test(l.userAgent);!function(i){function n(e,t,i){e.hasOwnProperty(t)||(e[t]=i)}n(i,"debug",!1),n(i,"debugLocal",!1),n(i,"analytics",!0),n(i,"analyticsRCS",!1),n(i,"ipsos",!1),n(i,"ipsos_organizationId",607),n(i,"ipsos_siteId",0),n(i,"inView",!1),n(i,"pageInView",!1),n(i,"useJsonFeed",!1),n(i,"showCarousel",!0),n(i,"jsonFeed",""),n(i,"fixedTitle",!1),n(i,"reloadVideo",!1),n(i,"playButton",1),n(i,"logo",""),n(i,"logoLink",""),n(i,"logoFluid","sky-news-logo-uk.png"),n(i,"logoFluidLink",""),n(i,"playOnNoAd",!0),n(i,"noAuto",!1),n(i,"preventPauseOnHide",!1),n(i,"scrollPlaylist",!0),n(i,"viewRatio",0),n(i,"aws",!0),n(i,"contextualEngine",!0),n(i,"audioOnCreativeId",!1),n(i,"fixedInfoControls",!1),n(i,"muted",!0),n(i,"forceMobileMuted",!0),n(i,"cmsid",2497148),n(i,"conScore",!0),n(i,"comScoreMode",1),n(i,"nielsen",!1),n(i,"nielsenPrivacy",i.nielsen),n(i,"repositionRecheck",!1),n(i,"repositionRecheckPosition",-1),n(i,"upcomingShowDevice",0),n(i,"upcomingShowTimer",1),n(i,"upcomingHideTimer",5),n(i,"appendFont",!0),n(i,"playerLayout","carouselLayout"),n(i,"oopAdSelector",""),n(i,"volumeValue",.05),n(i,"addIabParameters",!1),n(i,"plcmt",2);let o="'Roboto', Arial, helvetica, sans-serif",a="#fff";if(n(i,"uiConfig",{}),n(i.uiConfig,"titleContainerColor","rgba(0,0,0,.7)"),n(i.uiConfig,"titleTextType",o),n(i.uiConfig,"titleTextColor",a),n(i.uiConfig,"progressRangeColor","#2ec7e1"),n(i.uiConfig,"controlsContainerColor","rgba(0,0,0,.2)"),n(i.uiConfig,"controlsPropertiesColor",a),n(i.uiConfig,"cardTitleFontType",o),n(i.uiConfig,"cardTitleFontColor",a),n(i,"aps",!1),n(i,"apsId",3748),n(i,"apsTimeout",1350),n(i,"livestream",!1),n(i,"livestreamRepo",!1),n(i,"livestreamAdRoll",300),n(i,"livestreamFeed",m+"videoplatform.sky.it/player/json/get_livestream_1.json"),i.livestream=!(!i.livestream||!i.livestreamFeed),n(i,"zIndexOnFloorAd",!1),n(i,"zIndexOnReposition",2147483647),n(i,"mobileAudioButton",!1),n(i,"clickToPlay",!1),n(i,"breakingNews",null),n(i,"breakingNewsUpdateTime",60),n(i,"isFullscreeEnabled",!0),n(i,"ias",!1),n(i,"iasPet",!1),n(i,"preBid",{}),n(i,"equalTimeout",!0),n(i.preBid,"enabled",!0),n(i.preBid,"timeOut",1350),n(i.preBid,"bidders",{}),n(i.preBid.bidders,"adf",!0),n(i.preBid.bidders,"appnexus",!0),n(i.preBid.bidders,"criteo",!0),n(i.preBid.bidders,"freewheel",!0),n(i.preBid.bidders,"improvedigital",!0),n(i.preBid.bidders,"ix",!0),n(i.preBid.bidders,"onetag",!0),n(i.preBid.bidders,"openx",!0),n(i.preBid.bidders,"pubmatic",!0),n(i.preBid.bidders,"pubmatic_apex",!1),n(i.preBid.bidders,"rubicon",!0),n(i.preBid.bidders,"smartadserver",!0),n(i.preBid.bidders,"unruly",!1),n(i.preBid.bidders,"triplelift",!1),n(i,"subtitlesEnabled",!0),n(i,"search",!1),n(i,"searchTags","fluid OR FLUID"),n(i,"showAlwaysTitleBar",!1),n(i,"forcePlayNext",!1),n(i,"pauseOnOutOfView",0),n(i,"audioOnHoverAdv",!0),n(i,"popOut",!1),n(i,"popOutClose",!1),n(i,"po",{}),n(i.po,"pos",4),n(i.po,"w",450),n(i.po,"h",253),n(i.po,"hm",5),n(i.po,"vm",100),n(i,"cmp",!0),n(i,"tnc",!0),n(i,"mcm",!1),n(i,"moat",!1),n(i,"user_country",""),n(i,"amp",!1),n(i,"covatic",!1),n(i,"mobileRepositioning",{}),n(i.mobileRepositioning,"reposition",i.reposition),n(i.mobileRepositioning,"widthRepo",i.widthRepo),n(i.mobileRepositioning,"heightRepo",i.heightRepo),n(i.mobileRepositioning,"marginH",i.marginH),n(i.mobileRepositioning,"marginV",i.marginV),n(i.mobileRepositioning,"closeXtimer",i.closeXtimer),n(i,"mobileShowCarousel",i.showCarousel),n(i,"mobilePopOut",{}),n(i.mobilePopOut,"popOut",i.popOut),n(i.mobilePopOut,"popOutClose",i.popOutClose),n(i.mobilePopOut,"po",{}),n(i.mobilePopOut.po,"pos",i.po.pos),n(i.mobilePopOut.po,"w",i.po.w),n(i.mobilePopOut.po,"h",i.po.h),n(i.mobilePopOut.po,"hm",i.po.hm),n(i.mobilePopOut.po,"vm",i.po.vm),n(i,"mobilePlayerLayout","carouselLayout"),n(i,"mobileFeedJson",""),K&&(i.reposition=i.mobileRepositioning.reposition,i.widthRepo=i.mobileRepositioning.widthRepo,i.heightRepo=i.mobileRepositioning.heightRepo,i.marginH=i.mobileRepositioning.marginH,i.marginV=i.mobileRepositioning.marginV,i.closeXtimer=i.mobileRepositioning.closeXtimer,i.showCarousel=i.mobileShowCarousel,i.popOut=i.mobilePopOut.popOut,i.popOutClose=i.mobilePopOut.popOutClose,i.po.pos=i.mobilePopOut.po.pos,i.po.w=i.mobilePopOut.po.w,i.po.h=i.mobilePopOut.po.h,i.po.hm=i.mobilePopOut.po.hm,i.po.vm=i.mobilePopOut.po.vm,i.playerLayout=i.mobilePlayerLayout,i.mobileFeedJson&&(i.jsonFeed=i.mobileFeedJson)),"verticalVideoLayout"===e.playerLayout&&(i.popOut=!1),i.amp&&(i.repositionRecheck=!1,i.repositionRecheckPosition=0,i.reposition=0,i.popOut=!1,i.isFullscreeEnabled=!1,i.inView=!1,i.pageInView=!1),i.equalTimeout){let e=Math.max(i.preBid.timeOut,i.apsTimeout);i.preBid.timeOut=e,i.timeout=e,i.apsTimeout=e}i.popOut?(i.reposition=0,i.repositionRecheck=!1,i.livestreamRepo=!1,i.popOutClose?i.closeXtimer=i.closeXtimer>0?i.closeXtimer:.001:i.closeXtimer=0):i.popOutClose=!1,i.search=i.search&&!i.livestream;try{var s=t.location.search;let i=new window.URLSearchParams(s);parseInt(i.get("4sdbgv"))&&(e.debug=!0)}catch(e){}}(e);let J=["div[id*='dsk_floorad']","div[id*='mob_floorad']","div[id*='floorad_desktop']","div[id*='floorad_mobile']","div[id*='floorad-desktop']","div[id*='mob_footer-fixed']","div[id*='mobile_floorad']","div[id*='dsk-floorad']","div[id*='floorad-dsk']","div[id*='floorad-mob']","div[id^='floorad'][id$='mobile']","div[id*='sas_fixedDiv_']",".adform-adbox-fixed-R",".adform-adbox-fixed-B",".adform-adbox-fixed",".adform-adbox",".adhesion_wrapper",".__lxG__bsticky",".twtd_sticky_footer_1",".fs-sticky-parent",".GRVAdWrap",".bs-sticky bs-desktop","#sn_gg_ad_wrapper",".ns-zz3mf-l-bannerSmallTextCtaWithoutBody",".ns-3m2io-e-1","#floor-ad-wrapper","#mobile_bot","#bottom_banner","#infooter","#floorad_mobile","#gmp-skin_desk","#floorad_mobile_mobile",".mp-code-container",".strip_adk","#HB_Footer_Close_prj_300x250_fixed","#HB_Footer_Close_prj_300x250_fixed","#adv_footer","#floorAdWrapper","#news-fantapazz-dsk_floorad","#news-fantapazz-mob_floorad","#delta-mobile-bottom","#div-gpt-ad-FLOORAD","#floorad_desktop","#sas_iframe_fixed_26328","#trapani_primapgsicilia-mob_floorad","#floor-ad","#AdTrackAutorefreshFixedMobile","#AdTrackGenericFixedClassic",".hp_320x1-p1","#ASTAGQ_plc_floorad_65599498724","#gpt_slot_f4rhG","#ead_native_placement","#inScreen","#banner-mnz-top","#p_dhtmlm1_mobile","#standard_2"],Y=[".gmp-skinmob-visible","#gmp-skin-mob-proper","#adv-sticky-top",".mp-code-container","#id-custom_banner","#adwallpaper"];e.oopAdSelector.length>0&&(J=J.concat(e.oopAdSelector.split(" ")),Y=Y.concat(e.oopAdSelector.split(" ")));const $={IT:"316816995",get AT(){return this.DE},DE:"21859146653",UK:"20346936",get:function(e,t){return"/"+this[e]+(t?",":"/")}};const ee="930537";var te,ie=e.clickToPlay&&!e.muted,ne=(te=e.tag).indexOf($.get("IT"))>0||te.indexOf($.get("IT",!0))>0||te.indexOf("/35821442/")>0||te.indexOf("/35821442,")>0?"IT":te.indexOf($.get("DE"))>0||te.indexOf($.get("DE",!0))>0?2568203===e.cmsid?"AT":"DE":te.indexOf($.get("UK"))>0||te.indexOf($.get("UK",!0))>0?"UK":"UNKNOWN";if(e.preBid.enabled=("IT"===ne||"UK"===ne||"DE"===ne)&&e.preBid.enabled,e.preBid.enabled&&("UK"===ne||"DE"===ne)){var oe=e.preBid.bidders;oe.adf=!1,oe.appnexus=!1,oe.criteo=!1,oe.improvedigital=!1,oe.ix=!1,oe.onetag=!1,oe.openx=!1,oe.pubmatic=!1,oe.pubmatic_apex=!1,oe.smartadserver=!1}e.tnc="IT"===ne&&e.tnc,e.comScore=e.conScore,e.nielsen=!1,e.ias="IT"===ne&&e.ias,e.iasPet=!!e.ias&&e.iasPet,Re("IAS: "+e.ias+" | IAS PET: "+e.iasPet),e.comScore=e.comScore&&"IT"===ne,e.moat=e.moat&&"UK"===ne,e.covatic=e.covatic&&"UK"===ne;let ae,se=e.clickToPlay?"click":"auto";e.audioOnCreativeId=["138342338308"],e.breakingNewsUpdateTime=1e3*e.breakingNewsUpdateTime;const re=e.contextualEngine?12:24;let le=n?s.referrer:top.location.href;function de(e){return null!=e}e.cmp?function(){if(e.amp)if(de(window.context)&&de(window.context.initialConsentValue))_=window.context.initialConsentValue,ge();else{function i(e){"consent-data"==e.data.type&&(_=e.data.consentString,le=e.origin,ge(),window.removeEventListener("message",i))}window.parent.postMessage({sentinel:"amp",type:"send-consent-data"},"*"),window.addEventListener("message",i)}else{if("function"==typeof __tcfapi||window===t)return;window.__tcfapi=function(e,i,n,o){"function"!=typeof t.__tcfapi?n({msg:"CMP not found"},!1):t.__tcfapi(e,i,n,o)},ge()}}():ge();var ce=function(){let e={applyCSS:function(t,i){if(!e.isElementPresent(t))return!1;for(let e in i)i.hasOwnProperty(e)&&(t.style[e]=i[e]);return t},isMobile:function(){return K||Q},isMobileSmallest:function(){let t=e.getDeviceWidth();return e.isMobile()&&t<=320},isMobileSmall:function(){let t=e.getDeviceWidth();return e.isMobile()&&t<=360},getDeviceWidth:function(){return t.innerWidth>0?t.innerWidth:t.screen.width},timestamp:function(){return Math.floor(Date.now()/1e3)},filterEligibleItems:function(t,i,n,o,a){(i=i||{a:"startAt",b:"endAt"}).a=i.a||"startAt",i.b=i.b||"endAt",n=n||i.a,o=o||"asc",a=a||!1;let s=t.filter((function(t){return t[i.b]>=e.timestamp()}));if(a)return s;let r={a:-1,b:1,c:0};return"desc"===o&&(r.a=1,r.b=-1),s.sort((function(e,t){return e[n]<t[n]?r.a:e[n]>t[n]?r.b:r.c})),s},float:{__floatTo:function(t,i,n,o){-1===["left","right"].indexOf(i.toLowerCase())&&(i="left");let a=s.createElement("div");e.applyCSS(a,{cssFloat:i,width:n});let r=typeof o;return"function"===r?o(a):"object"===r?e.applyCSS(a,o):"string"===r&&o.length&&(a.style=o),a.appendChild(t),a},left:function(t,i,n){return e.float.__floatTo(t,"left",i,n)},right:function(t,i,n){return e.float.__floatTo(t,"right",i,n)},clear:function(){let t=s.createElement("div");return e.applyCSS(t,{display:"block",overflow:"hidden",visibility:"hidden",opacity:"0",width:"100%",height:"0",clear:"both",cssFloat:"none",zoom:"1"}),t}},show:function(t,i){i="none"===(i=i||null)?null:i,e.applyCSS(t,{display:i})},hide:function(t){e.applyCSS(t,{display:"none"})},visible:function(t){e.applyCSS(t,{visibility:"visible"})},hidden:function(t){e.applyCSS(t,{visibility:"hidden"})},isElementVisible:function(t,i){if(e.isElementPresent(t)){if(i)return"hidden"!==t.style.visibility;let e=null!==t.offsetParent;return!1===e&&(e="none"!==t.style.display),e}return!1},isElementPresent:function(e){return null!=e},moveTop:function(t,i){e.isElementVisible(t)&&("number"==typeof i&&(i=Math.floor(i)+"px"),t.style.top=i)},moveBottom:function(t,i){e.isElementVisible(t)&&("number"==typeof i&&(i=Math.floor(i)+"px"),t.style.bottom=i)},moveLeft:function(t,i){e.isElementVisible(t)&&("number"==typeof i&&(i=Math.floor(i)+"px"),t.style.left=i)}};return e}();let ue;const pe={200:{items:3},300:{items:4}};for(const t in pe)e.height>=parseInt(t)&&(visibleItems=pe[t].items,ue=e.width/visibleItems);b={createVerticalElements:function(e,t){let i={rightContainer:s.createElement("div"),videoplContainer:s.createElement("div"),mainvideoContainer:s.createElement("div"),thumbPlaylist:s.createElement("div")};return i.rightContainer.id=t.id.rightContainer,i.rightContainer.className="vertical_carousel",e.applyCSS(i.rightContainer,t.css.rightContainer),i.mainvideoContainer.id=t.id.mainvideoContainer,i.mainvideoContainer.className="maincontainer",e.applyCSS(i.mainvideoContainer,t.css.mainvideoContainer),i.thumbPlaylist.id=t.id.thumbPlaylist,e.applyCSS(i.thumbPlaylist,t.css.thumbPlaylist),i},exportVerticalResources:function(){return{id:{mainvideoContainer:"vidcarmain",rightContainer:"right_carousel",thumbPlaylist:"thumbPlaylist",playlistWrapper:"playlistWrapper"},css:{mainvideoContainer:{backgroundColor:"black",width:e.width+"px",display:"flex",height:e.height+"px",maxWidth:"100%"},rightContainer:{backgroundColor:"black",width:ue+"px",marginLeft:"7px",paddingRight:"3px",display:"inline-block",overflow:"hidden",overflowY:"scroll","::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none","-ms-overflow-style":"none"}},thumbPlaylist:{position:"relative",width:ue+"px",float:"right",paddingRight:"7px",paddingBottom:"7px",backgroundColor:"transparent",marginRight:"15px"}}},innerCarousel:function(e){d.body.appendChild(y.mainvideoContainer),y.mainvideoContainer.appendChild(e),y.mainvideoContainer.appendChild(y.rightContainer),y.rightContainer.appendChild(y.thumbPlaylist),ut.parentElement.insertBefore(y.mainvideoContainer,ut)}};var Ae=b.exportVerticalResources(ce);y=b.createVerticalElements(ce,Ae),v={createOwlElements:function(e,t){let i={videoplContainer:s.createElement("div"),bottomOwlContainer:s.createElement("div")};return i.videoplContainer.id=t.id.videoplContainer,e.applyCSS(i.videoplContainer,t.css.videoplContainer),i.bottomOwlContainer.id=t.id.bottomOwlContainer,i.bottomOwlContainer.className="owl-carousel owl-theme",i},exportOwlResources:function(t){return{id:{videoplContainer:"vidcarpl4s_"+P,bottomOwlContainer:"owl-carousel_"+P},css:{videoplContainer:{width:"100%",maxWidth:e.width+"px",position:"relative"}}}},innerOwlCarousel:function(t){Pe.carousel.owlContainer=g.bottomOwlContainer,Pe.carousel.container=g.videoplContainer,g.videoplContainer.appendChild(g.bottomOwlContainer),t.appendChild(g.videoplContainer),e.logoFluid&&""!==e.logoFluid&&g.videoplContainer.appendChild(Lt(e.logoFluid,e.logoFluidLink)),ut.parentElement.insertBefore(t,ut)}};var me=v.exportOwlResources(ce);g=v.createOwlElements(ce,me);let he=v,fe=e.playerLayout;function ge(){f=le?new URL(le):null,le=encodeURIComponent(le),e.tag=e.tag.replace("%7Bpageurl%7D",le).replace("%7Bpageurl%7D",le).replace("[description_url]",le)}let ye,be,ve,we,Ce,xe=new Map,_e=m+"cdnb.4strokemedia.com/",Ee=d.currentScript?d.currentScript.src:"",Se=e.debugLocal?Ee.substring(0,Ee.lastIndexOf("/")+1):_e+"carousel/v4/",ke=_e+"carousel/images/",Le=d.createElement("source"),Te=null,Pe={companionDiv:Te,companionPlaceHolder:Te,controlBar:{},volume:{},timer:{},carousel:{},fullscreen:{},isFullscreen:!1,cornerFullscreenButton:Te,search:{element:Te,container:Te,searchButton:Te,deleteButton:Te,mobileElement:Te,loading:Te,layer:Te,owlContainerIcon:Te,searchIcon:Te,deleteIcon:Te,feedData:[],createBar:function(){let e=s.createElement("ins");return e.style.display="none",e}},video:{currentTimer:Te},mainLogo:Te,fluidLogoImage:Te};e.isFullscreeEnabled=!Q&&e.isFullscreeEnabled,Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw TypeError('"this" is null or not defined');var t=Object(this),i=t.length>>>0;if("function"!=typeof e)throw TypeError("predicate must be a function");for(var n=arguments[1],o=0;o<i;){var a=t[o];if(e.call(n,a,o,t))return a;o++}},configurable:!0,writable:!0});let Ie={};function Me(e,t,i,n,o){void 0===n&&(n=s);let a=n.createElement("script");a.type="text/javascript",a.src=e,i&&(a.async=!0),t&&(a.onload=t),o&&(a.onerror=o),n.head.appendChild(a)}function Re(){if(arguments.length>1){var t=new Date;arguments[0]+=" "+t.toLocaleString()+"."+t.getMilliseconds()}e.debug&&r.log.apply(null,arguments)}function Be(){e.debug&&r.warn.apply(null,arguments)}function Ve(){var e=null;return void 0!==window._4sPId&&window._4sPId&&(e={validation:"strict",config:{ver:"1.0",complete:1,nodes:[{asi:"4strokemedia.com",sid:window._4sPId,hp:1}]}}),e}e.useJsonFeed&&Le.setAttribute("type","application/x-mpegURL");let Oe=new function(i,n){let o=this;o.win=i,o.doc=n,o.loaded=function(){/*!config.preBid.enabled ||*/return i.pbjs||!1},o.load=function(){if(!o.loaded()){o.setSlots(),Me(_e+"prebid"+(e.preBid.debug?"-dev":"")+"-v8.17.0.js",null,!0,o.doc),o.win.pbjs=o.win.pbjs||{},o.win.pbjs.que=o.win.pbjs.que||[];var t=o.priceGranularity(),i=[];for(let t in e.preBid.bidders)!["appnexus","pubmatic_apex"].includes(t)&&e.preBid.bidders.hasOwnProperty(t)&&("freewheel"===t&&(t="freewheel-ssp"),i.push(t));var n={debug:e.debug,useBidCache:!0,priceGranularity:t,enableSendAllBids:!0,userSync:{syncDelay:8e3,filterSettings:{all:{bidders:i,filter:"include"}}},cache:{url:m+"prebid.adnxs.com/pbc/v1/cache"},rubicon:{singleRequest:!0},improvedigital:{singleRequest:!0,usePrebidSizes:!0},consentManagement:{},enableTIDs:!0},a=Ve();a&&(n.schain=a),o.win.pbjs.que.push((function(){o.win.pbjs.setConfig(n),o.win.pbjs.aliasBidder("pubmatic","pubmatic_apex"),o.win.pbjs.bidderSettings={pubmatic:{bidCpmAdjustment:function(e,t){return.87*e}},adf:{bidCpmAdjustment:function(e,t){return.9*e}},criteo:{storageAllowed:!0},appnexus:{storageAllowed:!0},onetag:{storageAllowed:!0},triplelift:{storageAllowed:!0}}}))}},o.priceGranularity=function(){return{buckets:[{min:0,max:3,increment:.01},{min:3,max:6,increment:.05},{min:6,max:10,increment:.1},{min:10,max:20,increment:.5},{min:20,max:40,increment:1}]}},o.setSlots=function(){return fetch("https://feed.4strokemedia.com/carousel/"+ne+"/placements.json").then((e=>e.json())).then((e=>{let i=e[0];xe.set("adfrom_mid",i.placements.adfrom_mid),xe.set("criteo_zone",i.placements.criteo_zone),xe.set("freewheel_zoneid",i.placements.freewheel_zoneid),xe.set("improve_placementid",i.placements.improve_placementid),xe.set("indexexchange_siteid",i.placements.indexexchange_siteid),xe.set("onetag_pubid",i.placements.onetag_pubid),xe.set("openx_unit",i.placements.openx_unit),xe.set("pubmatic_adtagid",i.placements.pubmatic_adtagid),xe.set("rubicon_siteid",i.placements.rubicon_siteid),xe.set("rubicon_zoneid",i.placements.rubicon_zoneid),xe.set("rubicon_accountID",i.placements.rubicon_accountID),xe.set("xandr_invcode",i.placements.xandr_invcode),xe.set("smart_siteid",i.placements.smart_siteid),xe.set("smart_pageid",i.placements.smart_pageid),xe.set("unruly",i.placements.unruly),xe.set("triplelift_inventorycode",i.placements.triplelift_inventorycode);for(let i=0,n=e.length;i<n;i++)if(jsonData=e[i],t.location.hostname.includes(jsonData.site)){o.setBidderKey(jsonData,"adfrom_mid"),o.setBidderKey(jsonData,"criteo_zone"),o.setBidderKey(jsonData,"freewheel_zoneid"),o.setBidderKey(jsonData,"improve_placementid"),o.setBidderKey(jsonData,"indexexchange_siteid"),o.setBidderKey(jsonData,"onetag_pubid"),o.setBidderKey(jsonData,"openx_unit"),o.setBidderKey(jsonData,"pubmatic_adtagid"),o.setBidderKey(jsonData,"rubicon_siteid"),o.setBidderKey(jsonData,"rubicon_zoneid"),o.setBidderKey(jsonData,"rubicon_accountID"),o.setBidderKey(jsonData,"xandr_invcode"),o.setBidderKey(jsonData,"smart_siteid"),o.setBidderKey(jsonData,"smart_pageid"),o.setBidderKey(jsonData,"unruly"),o.setBidderKey(jsonData,"triplelift_inventorycode");break}Rt.prebidPlacements=!0,Nt()}))},o.setBidderKey=function(e,t){e.placements[t]&&xe.set(t,e.placements[t])},o.getBidsArray=function(e,t,i){function n(e){return xe.get(e)}0===t.indexOf($.get("IT")+"tiscali.it")||0===t.indexOf($.get("IT")+"fluid/tiscali.it")||t.indexOf($.get("IT",!0)+"22649223382/mail.tiscali.it");var o="UK"===ne,a=(function(){var e=f?f.hostname.toLowerCase().split("."):"";if(e.length<=1)return!1;e=e[e.length-2]+"."+e[e.length-1];var t=["sky.it","tv8.it","cielotv.it","floptv.tv","foxanimation.it","foxcomedy.it","foxcrime.it","foxlife.it","foxsports.it","foxtv.it","mondofox.it","gianlucadimarzio.com","italiasgottalent.it"];for(let i=0;i<t.length;i++)if(e===t[i])return!0}(),[]),s=o?8:.5,r="'"+s+"'";return e.adf&&a.push({bidder:"adf",params:{mid:1*n("adfrom_mid")}}),e.appnexus&&a.push({bidder:"appnexus",params:{member:10487,invCode:n("xandr_invcode"),video:{skippable:!0}}}),e.criteo&&a.push({bidder:"criteo",params:{zoneId:1*n("criteo_zone"),video:{skip:0,playbackmethod:6,placement:1}}}),e.freewheel&&a.push({bidder:"freewheel-ssp",params:{zoneId:1*n("freewheel_zoneid"),vastUrlParams:{protocolVersion:"4.2"}}}),e.improvedigital&&a.push({bidder:"improvedigital",params:{bidFloor:s,placementId:1*n("improve_placementid")}}),e.ix&&a.push({bidder:"ix",params:{siteId:1*n("indexexchange_siteid"),video:{minduration:1}}}),e.onetag&&a.push({bidder:"onetag",params:{pubId:n("onetag_pubid")}}),e.openx&&a.push({bidder:"openx",params:{delDomain:"skyitalia-d.openx.net",unit:1*n("openx_unit"),customFloor:s}}),e.pubmatic&&a.push({bidder:"pubmatic",params:{publisherId:"73111",adSlot:n("pubmatic_adtagid"),video:{mimes:["video/mp4","video/x-ms-wmv","video/webm","application/javascript"],skippable:!0,minduration:1,maxduration:180,startdelay:0,playbackmethod:[1,2,3],api:[1,2],protocols:[1,2,3,4,5,6],linearity:1,placement:1},kadfloor:r}}),e.pubmatic_apex&&a.push({bidder:"pubmatic_apex",params:{publisherId:"161546",adSlot:"4585882",video:{mimes:["video/mp4","video/x-ms-wmv","video/webm","application/javascript"],skippable:!0,minduration:1,maxduration:180,startdelay:0,playbackmethod:[1,2,3],api:[1,2],protocols:[1,2,3,4,5,6],linearity:1,placement:1},kadfloor:r}}),e.rubicon&&a.push({bidder:"rubicon",params:{accountId:n("rubicon_accountID"),siteId:1*n("rubicon_siteid"),zoneId:1*n("rubicon_zoneid"),floor:s,video:{language:"it"}}}),e.smartadserver&&a.push({bidder:"smartadserver",params:{siteId:1*n("smart_siteid"),pageId:1*n("smart_pageid"),formatId:85336,bidfloor:s,video:{protocol:8}}}),e.unruly&&a.push({bidder:"unruly",params:{siteId:1*n("unruly")}}),e.triplelift&&a.push({bidder:"triplelift",params:{inventoryCode:n("triplelift_inventorycode"),floor:s}}),a},o.createAdUnits=function(t,i,n,a){return[{code:n,ortb2Imp:{ext:{gpid:"/"+S()+"/"+n.replace(/[^A-Za-z-]/g,"").slice(0,-1)}},mediaTypes:{video:{context:"instream",playerSize:a,mimes:["video/mp4","video/x-ms-wmv","video/webm","application/javascript"],protocols:[1,2,3,5,6,7,8],api:[1,2],maxduration:180,linearity:1,placement:1,plcmt:e.plcmt}},bids:o.getBidsArray(t,i,a)}]},o.adUnit="",o.bids={},o.getPreBidAdTag=function(e,t){if(!o.adUnit||_4sjq3.isEmptyObject(o.bids))return e;o.bids={};var i="description_url=",n="[DEXGOBACK]=",a=e.replace(i,n),s=o.win.pbjs.adServers.dfp.buildVideoUrl({adUnit:o.adUnit,url:a}),r=s.lastIndexOf(i);if(r>=0){var l=s.indexOf("&",r);s=s.substr(0,r)+(l>=0?s.substr(l,s.length):"")}return s=s.replace(n,i),o.win.pbjs.markWinningBidAsUsed({adUnitCode:t}),s},o.makeRequest=function(t,i,n,a){if(!o.loaded())return Re(G.name,G.color.preBid,"Prebid disabled, calling callback"),a(),!0;o.adUnit=n;var s=o.createAdUnits(t,i,n,[[e.width,e.height]]);return Re(G.name,G.color.preBid,"PreBid asked for bid"),o.win.pbjs.que.push((function(){o.win.pbjs.addAdUnits(s),o.win.pbjs.requestBids({adUnits:s,bidsBackHandler:function(e){o.bids=e,Re(G.name,G.color.preBid,e),a&&a()},timeout:e.preBid.timeout})})),!1}}(window,d);e.preBid.enabled&&Oe.load();var ze=new function(){var t,i={aps:!e.aps,preBid:!e.preBid.enabled,timeout:!1,showed:!1,canShow:function(){return!i.showed&&(i.timeout||i.aps&&i.preBid)},startTimeout:function(){i.showed||(t=p((function(){Re(G.name,G.color.show,"External requests timed out, forcing show"),i.timeout=!0,i.show()}),e.preBid.timeOut))},showExecute:function(){},show:function(){i.canShow()&&(i.showed=!0,A(t),Re(G.name,G.color.show,"Show ads"),i.showExecute())},reset:function(){A(t),i.aps=!e.aps,i.preBid=!e.preBid.enabled,i.timeout=!1,i.showed=!1}};return i};let De=new function(e,t,i){let n=this,o=e,a="",s=window.performance,r=s.now(),l=i;n.getBidResult=function(){return""},n.askForBid=function(e){return Re(G.name,G.color.aps,"Aps disabled, calling callback"),e(),!0},o&&(!function(){Re(G.name,G.color.aps,"Enable APS"),X(d,"dns-prefetch",m+"c.amazon-adsystem.com"),X(d,"preconnect",m+"c.amazon-adsystem.com",!0),Me(m+"c.amazon-adsystem.com/aax2/apstag.js",null,!0,d,null),window.apstag=window.apstag||{init:function(){apstag._Q.push(["i",arguments,(new Date).getTime()])},fetchBids:function(){apstag._Q.push(["f",arguments,(new Date).getTime()])},setDisplayBids:function(){},_Q:[]};var e={pubID:t,adServer:"googletag",videoAdServer:"DFP",bidTimeout:l,deals:!0},i=Ve();i&&(e.schain=i.config),window.apstag.init(e)}(),n.getBidResult=function(){let e=a;return a="",s.now()-r>3e4&&(e="",Re(G.name,G.color.aps,"APS Bid too old")),Re(G.name,G.color.aps,"Returned APS bid result: "+e),e},n.askForBid=function(e){return Re(G.name,G.color.aps,"APS asked for bid"),window.apstag.fetchBids({slots:[{slotID:"videoSlotName1",mediaType:"video"}]},(function(t){!function(e,t){Re(G.name,G.color.aps,"Handle APS bids"),r=s.now(),a=e.filter((function(e){return"video"===e.mediaType})).map((function(e){return Object.keys(e.targeting).reduce((function(t,i){return void 0===e.targeting[i]?t:t+"&"+i+"="+e.targeting[i]}),"")})).join(""),a.length&&"&"===a[0]&&(a=a.substring(1)),a=encodeURIComponent(a),t&&t()}(t,e)})),!1})}(e.aps,e.apsId,e.apsTimeout);let je=new function(){let t=this,i=s.createElement("video");i.src="data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=",i.setAttribute("playsinline","playsinline"),!0===e.muted&&(i.setAttribute("muted",""),i.muted=!0);let n=!1;function o(){i.pause(),t.autoplayAllowed=!0,t.autoplayRequiresMuted=!1,Re("Can autoplay video with audio")}function a(){i.volume=0,i.setAttribute("muted",""),i.muted=!0,i.play().then(r,l)}function r(){i.pause(),t.autoplayAllowed=!0,t.autoplayRequiresMuted=!0,Re("Can autoplay muted video")}function l(){i.volume=1,i.muted=!1,i.removeAttribute("muted"),t.autoplayAllowed=!1,t.autoplayRequiresMuted=!1,Re("Cannot autoplay muted video")}t.autoplayAllowed=!0,t.autoplayRequiresMuted=!1,t.checkCapabilities=function(){if(!n||!t.autoplayAllowed||t.autoplayRequiresMuted)if(n=!0,e.muted)r();else try{i.volume=1,i.muted=!1,i.removeAttribute("muted"),i.play().then(o,a)}catch(e){o()}},t.checkCapabilities()};let qe=new function(){var e=this;e.items=[],e.current=-1,e.getCurrent=function(){return e.current<e.items.length?e.items[e.current]:{}},e.getNext=function(){return e.moveNext(),e.getCurrent()},e.moveNext=function(){++e.current>=e.items.length&&(e.current=0)}};function Ne(e,t){return e.length<=t?e:e.substr(0,e.lastIndexOf(" ",t))+"..."}let Fe=new function(){var e=this;let t,i;e.setLoadingImage=function(e){t=e},e.setPlayImage=function(e){i=e},e.loading=function(){i.style.opacity=0,t.style.display="initial",t.style.opacity=1},e.paused=function(){i.style.opacity=1,t.style.display="none",t.style.opacity=0},e.playing=function(){i.style.opacity=0,t.style.display="none",t.style.opacity=0}};let He=new function(){let e=this,t=s.createElement("img"),i=!1;t.setAttribute("style","width: 100%; height: 100%; position: absolute; top:0; left: 0; z-index: 150; opacity: 0; display: none;"),e.hide=function(){t.style.opacity=0,t.style.display="none"},e.show=function(){i||(t.src=function(){let e=ke+"not-available-";switch(ne){case"UK":e+="uk";break;case"AT":case"DE":e+="de";break;default:e+="lq"}return e+".png"}(),i=!0),t.style.opacity=1,t.style.display="initial"},e.image=function(){return t}};var We=new function(e,t,i,n,o){var a,s=this;this.url=decodeURIComponent(le),this.doc=e,this.enabled=t,this.actions={ready:"ready",start:"start",pause:"pause",firstQuartile:"25",half:"50",thirdQuartile:"75",complete:"complete",prerollStart:"prerollStart",prerollEnd:"prerollEnd"},this.multiActions={start:!0,pause:!0,prerollStart:!0,prerollEnd:!0,rename:{start:"restart"}},this.country="-"+i,this.payload={},this.actionSent={},this.playingAd=!1,this.debug=o,this.player="4stroke";var r,l=!1,d=null,c=function(){for(let e in s.actions)s.actions.hasOwnProperty(e)&&(s.actionSent[s.actions[e]]=!1)};c(),this.domain=(r=s.url.split("//")).length<2?s.doc.location.hostname:r[1].split("/")[0],this.setPlayerType=function(e){var t=e?"-single_video":"-carousel";this.player="DEX"+t+this.country},this.setPayload=function(e){if(this.payload=e,void 0!==this.payload){if(this.payload.hasOwnProperty("duration"))try{this.payload.duration=function(e){var t=e.split(":").reverse(),i=t.length;return i?1*t[0]+(i>1?60*t[1]:0)+(i>2?3600*t[2]:0):0}(this.payload.duration)}catch(e){}if(this.payload.hasOwnProperty("tag"))try{this.payload.tag=this.payload.tag.replace(/,/gi,"|")}catch(e){}if(this.payload.hasOwnProperty("creation_date"))try{this.payload.contatore=function(e){var t=e.split(" ")[0].split("/"),i=new Date(t[2],1*t[1]-1,t[0]),n=new Date,o=new Date(n.getFullYear(),n.getMonth(),n.getDate());return Math.ceil((o-i)/864e5)+1}(this.payload.creation_date)}catch(e){}c(),l=!0}else l=!1},this.sendAnalyticsMessage=function(e){if(this.enabled)if(this.playingAd&&e!==s.actions.prerollStart)Re("Playing ad");else if(l)if(function(e){for(let t in s.actions)if(s.actions.hasOwnProperty(t)&&s.actions[t]===e)return!0;return!1}(e)){if(this.actionSent[e]){if(!this.multiActions[e])return;this.multiActions.rename[e]&&(e=this.multiActions.rename[e])}this.actionSent[e]=!0,function(e,t){let i=s.actions;[i.firstQuartile,i.half,i.thirdQuartile,i.complete].indexOf(e)>=0?t.time_spent=Math.round(t.duration/4):delete t.time_spent}(e,this.payload);var t={action:e,domain:this.domain,url:this.url,player:this.player,payload:this.payload};if(Re(t),e!==s.actions.prerollStart&&a.contentWindow.postMessage(t,"*"),n&&d)try{d.dispatchEvent(new CustomEvent("fluidAdobe",{detail:{message:t}}))}catch(e){}e===this.actions.complete&&c()}else Re("action not valid");else Re("no payload")},this.sendPlayerReady=function(){s.enabled&&s.sendAnalyticsMessage(s.actions.ready)},this.sendPrerollStart=function(){s.enabled&&s.sendAnalyticsMessage(s.actions.prerollStart)},this.sendPrerollEnd=function(){s.enabled&&s.sendAnalyticsMessage(s.actions.prerollEnd)},this.setPlayerEvent=function(e){s.enabled&&(e.addEventListener("ended",(function(){s.sendAnalyticsMessage(s.actions.complete)})),e.addEventListener("pause",(function(){s.sendAnalyticsMessage(s.actions.pause)})),e.addEventListener("play",(function(){s.sendAnalyticsMessage(s.actions.start)})),e.addEventListener("timeupdate",(function(){if(l&&s.payload&&s.payload.duration){var t=e.duration,i=e.currentTime,n=isNaN(t)||isNaN(i)?0:i/t;n>=.24&&n<=.26&&s.sendAnalyticsMessage(s.actions.firstQuartile),n>=.49&&n<=.51&&s.sendAnalyticsMessage(s.actions.half),n>=.74&&n<=.76&&s.sendAnalyticsMessage(s.actions.thirdQuartile)}})))},this.load=function(){this.enabled&&((a=e.createElement("iframe")).src=_e+(s.debug?"adobe2-staging.htm":"adobe2.htm"),a.style.display="none",e.body.appendChild(a),n&&function(){try{d=window.frameElement.parentElement}catch(e){d=null,n=!1}}()),s.load=function(){}}}(s,e.analytics,ne,e.analyticsRCS,e.debug);function Ue(){e.tnc&&function(e,t,i,n,o){try{e[i]=e[i]||{},e[i].providerId="78b8a63f-adb5-4221-b3d7-fbf255fde0d0",e[i].options={autostart:!0};var a="sendData",s="addCustomVariable",l="conf";e[i][a]=e[i][a]||function(){return e[i]._q=e[i]._q||[],e[i]._q.push(e[i][l]||[]),Promise.resolve(!0)},e[i][s]=e[i][s]||function(t,n,o){return e[i][l]=e[i][l]||[],e[i][l].push({n:t,t:n,v:o}),e[i]};var d=t.createElement("script");d.setAttribute("global",i),d.async=!0,d.defer=!0,d.id="tnc_route",d.src=m+"js.tncid.app/route.js",t.querySelector("head,body").appendChild(d)}catch(e){r.log(e)}}(t,s,"__tnc")}e.cmp||We.load(),e.cmp||Ue();const Ge=new Event("_4sAdComplete"),Xe=new Event("_4sAdStarted"),Ke=new Event("_4sAdClick"),Qe=new Event("_4sAdImpression"),Ze=new Event("_4sAdSkip"),Je=new Event("_4sMuteState");var Ye=new function(e){var i=this;this.enabled=e;var n=null,o=null;this.payload=null,this.player=null;var a=!1;function s(e){if("string"==typeof e){const t=e.split(":");return 2===t.length?60*t[0]+1*t[1]:3===t.length?3600*t[0]+60*t[1]+1*t[2]:1}return 1*e}function r(e){if(i.enabled&&null!==i.payload)try{const t=function(e,t){return new o.MediaConsumption(i.payload.id,i.payload.title,i.payload.meta,i.payload.tag,i.payload.subs,i.payload.duration,e,t,o.MediaConsumption.Type.video)}(Math.min(Math.round(i.player.currentTime),i.payload.duration),e);o.notifyEvent(t),Re(G.covatic,G.color.covatic,"notifyEvent "+e+"\n",t)}catch(t){Re(G.covatic,G.color.covatic,"Error notifyEvent "+e+"\n",t)}}this.setPlayerEvent=function(e){i.enabled&&(i.player=e,e.addEventListener("ended",i.setStop),e.addEventListener("pause",i.setStop),e.addEventListener("play",i.setPlay))},this.initialize=function(){i.enabled&&null===n&&(o=t.covaticBrowserSDK,n=new o.Client("U2FsdGVkX1/MMO2ERFqyab+ol5guw+sO8bWbwmnXLmPD4/Xgu/lXvGQaP4TBFepa3y0pd9YLgNljyE+wp8Taclz5GWkWmwmar+JwjjUsnvjTr4ELObs0xVkeDTMDc1WQnETKoTB15mpsd+600Pbbpomso2Blc80ZGARH2kJO0mjdrNwx18shgxVw1Ml1pqNTWmuHeLyafjshYzGpjZSWWEblY8/5bYYcv2/SMIcXICKyP1gAoYrat1JgiEUAA/G8"),i.enabled=null!==n)},this.setPayload=function(e){try{i.payload={id:e.id.toString(),title:e.title,meta:{description:e.description,section:e.section,subsection:e.subsection},tag:e.tag.split(","),subs:e.sub_subsection,duration:s(e.duration)}}catch(e){Re(G.covatic,G.color.covatic,"Error setPayload\n",e)}},this.setPlay=function(){a||(a=!0,r(o.MediaConsumption.Action.commenceMedia))},this.setStop=function(){a&&(a=!1,r(o.MediaConsumption.Action.ceaseMedia))},this.getSegments=function(){var e="";if(!i.enabled)return e;try{const i=o.acquireAdMeta();var t=[];i.forEach((function(e){t.push(e.profileName)})),i.length&&(e="covatic="+t.join(","))}catch(t){e="",Re(G.covatic,G.color.covatic,"Error getSegments")}return e}}(e.covatic);let $e=new function(){const e=encodeURIComponent("&"),n=this;n.c="",n.g="",n.a="";let o=[],a="";function s(t,i){return""!==i?""===t?i:t+e+i:t}function r(e){return e.replace(/[\/_\+=\?&#]/g," ").trim()}n.createCustomParamsObject=function(e,t){return e&&t?{k:e,v:t}:null},n.pushCustomParamsObject=function(e){e&&o.push(e)},n.pushCustomParams=function(e,t){n.pushCustomParamsObject(n.createCustomParamsObject(e,t))},n.clearCustomParamsObject=function(){o=[]},n.setIasPetString=function(e){a=e},n.getCtx=function(){const e=qe.getCurrent();let t="";return e.hasOwnProperty("item")&&(e.item.hasOwnProperty("section")&&(t="tS="+e.item.section),e.item.hasOwnProperty("subsection")&&(t+="&tSS="+e.item.subsection)),t},n.getPar=function(){return encodeURIComponent(n.getCtx())},n.getTag=function(l,d){n.pushCustomParams("pv",i);let c=n.getPar();!function(){const e=t.location.pathname.replace(/'/g,"\\'").replace(/[\/_\-\+=\?&#]/g," ").trim(),i=r(t.location.search.replace(/'/g,"\\'")),o=r(t.location.hash.replace(/'/g,"\\'")),a=t.location.hostname;a&&n.pushCustomParams("dom",a),e&&n.pushCustomParams("url",e),i&&n.pushCustomParams("que",i),o&&n.pushCustomParams("has",o)}();if(c=s(c,De.getBidResult()),c=s(c,function(){let e="";for(let t=0;t<o.length;t++){const i=o[t];e=s(e,encodeURIComponent(i.k+"="+i.v))}return e}()),c=s(c,a),c=s(c,encodeURIComponent(Ye.getSegments())),""!==c){const t="&cust_params=";l=l.indexOf(t)<0?l.replace("&impl=",t+c+"&impl="):l.replace(t,t+c+e)}return l=function(e,t){var i="description_url",n=i.length+1,o=e.indexOf(i),a=e.substr(0,o+n),s=e.substr(o+n),r=s.indexOf("&"),l=s.substr(r);return a+(s=t)+l}(l,d)},n.getAdUnitFromTag=function(e){var t="iu=",i=e.indexOf(t),n=e.indexOf("&",i+2);return e.substr(i+t.length,n-i-t.length)}};let et=function(e){let t=e,i=e+P;for(;null!==s.getElementById(i);)i=t+T();return i}("div-gpt-ad-google-ima-player-"),tt="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z",it="M256 88.017v335.964c0 21.438-25.943 31.998-40.971 16.971L126.059 352H24c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h102.059l88.971-88.954c15.01-15.01 40.97-4.49 40.97 16.971zm182.056-77.876C422.982.92 403.283 5.668 394.061 20.745c-9.221 15.077-4.473 34.774 10.604 43.995C468.967 104.063 512 174.983 512 256c0 73.431-36.077 142.292-96.507 184.206-14.522 10.072-18.129 30.01-8.057 44.532 10.076 14.528 30.016 18.126 44.531 8.057C529.633 438.927 576 350.406 576 256c0-103.244-54.579-194.877-137.944-245.859zM480 256c0-68.547-36.15-129.777-91.957-163.901-15.076-9.22-34.774-4.471-43.994 10.607-9.22 15.078-4.471 34.774 10.607 43.994C393.067 170.188 416 211.048 416 256c0 41.964-20.62 81.319-55.158 105.276-14.521 10.073-18.128 30.01-8.056 44.532 6.216 8.96 16.185 13.765 26.322 13.765a31.862 31.862 0 0 0 18.21-5.709C449.091 377.953 480 318.938 480 256zm-96 0c0-33.717-17.186-64.35-45.972-81.944-15.079-9.214-34.775-4.463-43.992 10.616s-4.464 34.775 10.615 43.992C314.263 234.538 320 244.757 320 256a32.056 32.056 0 0 1-13.802 26.332c-14.524 10.069-18.136 30.006-8.067 44.53 10.07 14.525 30.008 18.136 44.53 8.067C368.546 316.983 384 287.478 384 256z",nt="M633.82 458.1l-69-53.33C592.42 360.8 608 309.68 608 256c0-95.33-47.73-183.58-127.65-236.03-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 42.78-11.96 83.59-33.22 119.06l-38.12-29.46C503.49 318.68 512 288.06 512 256c0-63.09-32.06-122.09-85.77-156.16-11.19-7.09-26.03-3.8-33.12 7.41-7.09 11.2-3.78 26.03 7.41 33.13C440.27 165.59 464 209.44 464 256c0 21.21-5.03 41.57-14.2 59.88l-39.56-30.58c3.38-9.35 5.76-19.07 5.76-29.3 0-31.88-17.53-61.33-45.77-76.88-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61 11.76 6.46 19.12 18.18 20.4 31.06L288 190.82V88.02c0-21.46-25.96-31.98-40.97-16.97l-49.71 49.7L45.47 3.37C38.49-2.05 28.43-.8 23.01 6.18L3.37 31.45C-2.05 38.42-.8 48.47 6.18 53.9l588.36 454.73c6.98 5.43 17.03 4.17 22.46-2.81l19.64-25.27c5.41-6.97 4.16-17.02-2.82-22.45zM32 184v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V352.6L43.76 163.84C36.86 168.05 32 175.32 32 184z",ot="M371.7 238l-176-107c-15.8-8.8-35.7 2.5-35.7 21v208c0 18.4 19.8 29.8 35.7 21l176-101c16.4-9.1 16.4-32.8 0-42zM504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256z",at=function(e){let t=mt();t.setAttribute("width","12"),t.setAttribute("height","12"),t.style.left="12px",t.style.top="13px";let i=gt(t,e,V);return Pe.playPauseSvg=i,t.appendChild(i),t}(tt),st=function(t){let i=mt();i.setAttribute("width","35"),i.setAttribute("height","35");let n=gt(i,t,O);i.style.top="50%",i.style.left="0",i.style.transform="translateY(-50%)",Q&&(i.style.zIndex=e.zIndexOnReposition-1);return n.style.animation="fadeIn 1s ease-in-out",n.style.opacity="0",p((()=>{n.style.opacity="1"}),1e3),i.appendChild(n),i}("M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"),rt=function(t){let i=mt();i.setAttribute("width","35"),i.setAttribute("height","35"),i.style.position="absolute",i.style.top="50%",i.style.right="0",i.style.transform="translateY(-50%)";let n=gt(i,t,z);Q&&(i.style.zIndex=e.zIndexOnReposition-1);return n.style.animation="fadeIn 1s ease-in-out",n.style.opacity="0",p((()=>{n.style.opacity="1"}),1e3),i.appendChild(n),i}("M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"),lt=function(e){let t=mt();t.setAttribute("width","20"),t.setAttribute("height","15"),t.style.left="36px",t.style.top="12px";let i=gt(t,e,D);return t.appendChild(i),t}(it),dt=function(){let e=mt();e.setAttribute("viewBox","0 0 152 64"),e.setAttribute("fill","none"),e.style.position="absolute",e.style.bottom="0px",e.style.right="0px";const t=d.createElementNS("http://www.w3.org/2000/svg","g");t.setAttribute("filter","url(#filter0_dd_2758_180316)"),e.appendChild(t);const i=d.createElementNS("http://www.w3.org/2000/svg","rect");i.setAttribute("x","11"),i.setAttribute("y","10"),i.setAttribute("width","128"),i.setAttribute("height","40"),i.setAttribute("rx","4"),i.setAttribute("fill","black"),i.setAttribute("shape-rendering","crispEdges"),t.appendChild(i);const n=d.createElementNS("http://www.w3.org/2000/svg","mask");n.setAttribute("id","mask0_2758_180316"),n.setAttribute("style","mask-type:alpha"),n.setAttribute("maskUnits","userSpaceOnUse"),n.setAttribute("x","11"),n.setAttribute("y","10"),n.setAttribute("width","128"),n.setAttribute("height","40"),t.appendChild(n);const o=d.createElementNS("http://www.w3.org/2000/svg","rect");o.setAttribute("x","11"),o.setAttribute("y","10"),o.setAttribute("width","128"),o.setAttribute("height","40"),o.setAttribute("rx","4"),o.setAttribute("fill","#C4C4C4"),n.appendChild(o);const a=d.createElementNS("http://www.w3.org/2000/svg","g");a.setAttribute("mask","url(#mask0_2758_180316)");const s=d.createElementNS("http://www.w3.org/2000/svg","g");s.setAttribute("opacity","0.25");const r=d.createElementNS("http://www.w3.org/2000/svg","path");r.setAttribute("d","M11 -21H139V25.7946C139 27.9646 137.27 29.7388 135.101 29.7934L14.8994 32.816C12.7302 32.8706 11 34.6448 11 36.8147V47.3984V-21Z"),r.setAttribute("fill","url(#paint0_linear_2758_180316)");const l=d.createElementNS("http://www.w3.org/2000/svg","path");return l.setAttribute("d","M35.4353 35.144C34.9126 35.144 34.342 35.0907 33.7233 34.984C33.1153 34.8773 32.4913 34.7173 31.8513 34.504C31.8513 34.4613 31.846 34.424 31.8353 34.392C31.8353 34.36 31.8353 34.3227 31.8353 34.28C31.8353 33.928 31.8993 33.6453 32.0273 33.432C32.1553 33.208 32.3633 33.096 32.6513 33.096C32.79 33.096 32.9553 33.1173 33.1473 33.16C33.3393 33.2027 33.5526 33.2507 33.7873 33.304C34.0326 33.3573 34.2993 33.4053 34.5873 33.448C34.886 33.4907 35.2113 33.512 35.5633 33.512C36.2993 33.512 36.822 33.3787 37.1313 33.112C37.4513 32.8453 37.6113 32.5093 37.6113 32.104C37.6113 31.9013 37.574 31.7307 37.4993 31.592C37.4246 31.4427 37.318 31.32 37.1793 31.224C37.0406 31.1173 36.87 31.0267 36.6673 30.952C36.4753 30.8773 36.2513 30.8027 35.9953 30.728L34.6673 30.36C33.622 30.072 32.8913 29.672 32.4753 29.16C32.07 28.648 31.8673 28.0613 31.8673 27.4C31.8673 27.0693 31.926 26.7333 32.0433 26.392C32.1606 26.04 32.3633 25.7253 32.6513 25.448C32.9393 25.1707 33.3233 24.9413 33.8033 24.76C34.2833 24.5787 34.886 24.488 35.6113 24.488C36.102 24.488 36.6246 24.536 37.1793 24.632C37.7446 24.728 38.3313 24.8827 38.9393 25.096V25.32C38.9393 25.6827 38.8753 25.9653 38.7473 26.168C38.63 26.3707 38.4326 26.472 38.1553 26.472C38.0166 26.472 37.862 26.456 37.6913 26.424C37.5313 26.3813 37.3446 26.344 37.1313 26.312C36.9286 26.2693 36.694 26.232 36.4273 26.2C36.1606 26.1573 35.862 26.136 35.5313 26.136C35.158 26.136 34.8486 26.1733 34.6033 26.248C34.358 26.312 34.1606 26.4027 34.0113 26.52C33.862 26.6373 33.7553 26.7707 33.6913 26.92C33.6273 27.0587 33.5953 27.2027 33.5953 27.352C33.5953 27.704 33.7126 27.9707 33.9473 28.152C34.1926 28.3333 34.6246 28.5093 35.2433 28.68L36.6513 29.08C38.518 29.5707 39.4513 30.5413 39.4513 31.992C39.4513 32.4613 39.3713 32.888 39.2113 33.272C39.062 33.656 38.822 33.9867 38.4913 34.264C38.1606 34.5413 37.7446 34.76 37.2433 34.92C36.742 35.0693 36.1393 35.144 35.4353 35.144ZM41.9427 35.096C41.7827 35.096 41.6174 35.0853 41.4467 35.064C41.2867 35.0533 41.164 35.0373 41.0787 35.016V24.856C41.0787 24.6427 41.1374 24.4667 41.2547 24.328C41.3827 24.1893 41.6174 24.12 41.9587 24.12C42.1187 24.12 42.2787 24.1307 42.4387 24.152C42.6094 24.1627 42.7374 24.1787 42.8227 24.2V30.696L45.5107 27.768C45.66 27.608 45.8254 27.4853 46.0067 27.4C46.188 27.3147 46.4387 27.272 46.7587 27.272C46.9507 27.272 47.1374 27.2933 47.3187 27.336C47.5 27.368 47.6654 27.4107 47.8147 27.464L44.5507 31L48.0227 34.84C47.852 34.9253 47.66 34.9893 47.4467 35.032C47.244 35.0747 47.0307 35.096 46.8067 35.096C46.4867 35.096 46.2254 35.0267 46.0227 34.888C45.82 34.7493 45.66 34.616 45.5427 34.488L42.8227 31.336V34.36C42.8227 34.5733 42.7587 34.7493 42.6307 34.888C42.5134 35.0267 42.284 35.096 41.9427 35.096ZM50.1793 35.096C50.0193 35.096 49.8593 35.0853 49.6993 35.064C49.5393 35.0533 49.4166 35.0373 49.3313 35.016V27.944C49.3313 27.7307 49.3953 27.5547 49.5233 27.416C49.6513 27.2773 49.8806 27.208 50.2113 27.208C50.382 27.208 50.5473 27.2187 50.7073 27.24C50.8673 27.2507 50.99 27.2667 51.0753 27.288V34.36C51.0753 34.5733 51.0113 34.7493 50.8833 34.888C50.7553 35.0267 50.5206 35.096 50.1793 35.096ZM50.2113 25.816C49.9446 25.816 49.7153 25.72 49.5233 25.528C49.3313 25.336 49.2353 25.1067 49.2353 24.84C49.2353 24.5627 49.3313 24.328 49.5233 24.136C49.7153 23.944 49.9446 23.848 50.2113 23.848C50.4886 23.848 50.7233 23.944 50.9153 24.136C51.1073 24.328 51.2033 24.5627 51.2033 24.84C51.2033 25.1067 51.1073 25.336 50.9153 25.528C50.7233 25.72 50.4886 25.816 50.2113 25.816ZM54.0989 38.088C53.9389 38.088 53.7736 38.0773 53.6029 38.056C53.4429 38.0453 53.3203 38.0293 53.2349 38.008V27.336C53.3523 27.304 53.4696 27.2773 53.5869 27.256C53.7149 27.224 53.8536 27.208 54.0029 27.208C54.3443 27.208 54.5789 27.2987 54.7069 27.48C54.8349 27.6507 54.9096 27.8853 54.9309 28.184L54.9469 28.488C55.2243 28.0933 55.5656 27.7733 55.9709 27.528C56.3869 27.272 56.9043 27.144 57.5229 27.144C57.9496 27.144 58.3656 27.2347 58.7709 27.416C59.1869 27.5867 59.5549 27.8427 59.8749 28.184C60.1949 28.5147 60.4509 28.9307 60.6429 29.432C60.8456 29.9227 60.9469 30.488 60.9469 31.128C60.9469 31.8213 60.8403 32.4187 60.6269 32.92C60.4136 33.4213 60.1363 33.8373 59.7949 34.168C59.4643 34.4987 59.0856 34.744 58.6589 34.904C58.2429 35.064 57.8323 35.144 57.4269 35.144C56.8509 35.144 56.3603 35.032 55.9549 34.808C55.5496 34.5733 55.2243 34.312 54.9789 34.024V37.352C54.9789 37.5653 54.9149 37.7413 54.7869 37.88C54.6696 38.0187 54.4403 38.088 54.0989 38.088ZM56.9309 33.704C57.2616 33.704 57.5656 33.6453 57.8429 33.528C58.1203 33.4 58.3549 33.224 58.5469 33C58.7389 32.776 58.8883 32.5093 58.9949 32.2C59.1016 31.8907 59.1549 31.5493 59.1549 31.176C59.1549 30.8453 59.1069 30.5307 59.0109 30.232C58.9256 29.9227 58.7869 29.6507 58.5949 29.416C58.4136 29.1707 58.1843 28.9787 57.9069 28.84C57.6296 28.6907 57.3043 28.616 56.9309 28.616C56.5469 28.616 56.1736 28.712 55.8109 28.904C55.4589 29.0853 55.1816 29.3627 54.9789 29.736V32.616C55.1496 32.9253 55.4056 33.1867 55.7469 33.4C56.0883 33.6027 56.4829 33.704 56.9309 33.704ZM69.1533 35.112C68.7373 35.112 68.364 35.048 68.0333 34.92C67.7133 34.7813 67.4413 34.5947 67.2173 34.36C66.9933 34.1147 66.8226 33.832 66.7053 33.512C66.588 33.1813 66.5293 32.8187 66.5293 32.424V28.632H65.3133C65.292 28.5573 65.276 28.4613 65.2653 28.344C65.2546 28.2267 65.2493 28.1093 65.2493 27.992C65.2493 27.7253 65.3026 27.5387 65.4093 27.432C65.5266 27.3253 65.6706 27.272 65.8413 27.272H66.5293V26.168C66.5293 26.04 66.54 25.9173 66.5613 25.8C66.5933 25.6827 66.6413 25.576 66.7053 25.48C66.78 25.384 66.8813 25.3093 67.0093 25.256C67.148 25.2027 67.3293 25.176 67.5533 25.176C67.8093 25.176 68.0386 25.2133 68.2413 25.288V27.272H70.8653C70.9186 27.432 70.9453 27.6453 70.9453 27.912C70.9453 28.1787 70.8866 28.3653 70.7693 28.472C70.6626 28.5787 70.524 28.632 70.3533 28.632H68.2413V32.36C68.2413 32.7653 68.3373 33.08 68.5293 33.304C68.7213 33.528 69.004 33.64 69.3773 33.64C69.5373 33.64 69.6813 33.624 69.8093 33.592C69.9373 33.56 70.0493 33.5227 70.1453 33.48C70.252 33.4373 70.348 33.4 70.4333 33.368C70.5293 33.336 70.62 33.32 70.7053 33.32C70.908 33.32 71.068 33.3893 71.1853 33.528C71.3026 33.6667 71.3613 33.8853 71.3613 34.184C71.3613 34.2373 71.3613 34.296 71.3613 34.36C71.3613 34.4133 71.356 34.4667 71.3453 34.52C71.036 34.7013 70.7053 34.8453 70.3533 34.952C70.012 35.0587 69.612 35.112 69.1533 35.112ZM76.3197 35.16C75.7224 35.16 75.1784 35.0587 74.6877 34.856C74.197 34.6427 73.7757 34.36 73.4237 34.008C73.0717 33.6453 72.7997 33.2187 72.6077 32.728C72.4157 32.2373 72.3197 31.7093 72.3197 31.144C72.3197 30.6 72.4157 30.088 72.6077 29.608C72.8104 29.1173 73.0877 28.6907 73.4397 28.328C73.7917 27.9653 74.213 27.6773 74.7037 27.464C75.1944 27.2507 75.733 27.144 76.3197 27.144C76.9064 27.144 77.445 27.2507 77.9357 27.464C78.4264 27.6773 78.8424 27.9653 79.1837 28.328C79.5357 28.6907 79.8077 29.1173 79.9997 29.608C80.1917 30.088 80.2877 30.6 80.2877 31.144C80.2877 31.688 80.1917 32.2053 79.9997 32.696C79.8184 33.1867 79.5517 33.6133 79.1997 33.976C78.8584 34.3387 78.4424 34.6267 77.9517 34.84C77.461 35.0533 76.917 35.16 76.3197 35.16ZM76.3197 33.72C76.5864 33.72 76.8477 33.6667 77.1037 33.56C77.3704 33.4533 77.605 33.2933 77.8077 33.08C78.021 32.8667 78.1917 32.6 78.3197 32.28C78.4477 31.96 78.5117 31.5813 78.5117 31.144C78.5117 30.7493 78.453 30.392 78.3357 30.072C78.2184 29.752 78.0584 29.4853 77.8557 29.272C77.6637 29.048 77.4344 28.8773 77.1677 28.76C76.901 28.6427 76.6184 28.584 76.3197 28.584C76.0317 28.584 75.7544 28.6427 75.4877 28.76C75.221 28.8773 74.981 29.048 74.7677 29.272C74.565 29.4853 74.3997 29.752 74.2717 30.072C74.1544 30.392 74.0957 30.7493 74.0957 31.144C74.0957 31.5707 74.1597 31.944 74.2877 32.264C74.4157 32.584 74.581 32.856 74.7837 33.08C74.997 33.2933 75.237 33.4533 75.5037 33.56C75.7704 33.6667 76.0424 33.72 76.3197 33.72ZM86.3531 35.096C86.1931 35.096 86.0331 35.0907 85.8731 35.08C85.7237 35.0693 85.6064 35.0533 85.5211 35.032V24.728C85.6384 24.6747 85.7877 24.6373 85.9691 24.616C86.1504 24.584 86.3157 24.568 86.4651 24.568C86.8917 24.568 87.1957 24.6267 87.3771 24.744C87.5691 24.8507 87.7344 25.0107 87.8731 25.224L92.5291 32.424L92.4331 25.272C92.4331 25.08 92.4917 24.9147 92.6091 24.776C92.7371 24.6373 92.9611 24.568 93.2811 24.568C93.4304 24.568 93.5797 24.5787 93.7291 24.6C93.8891 24.6107 94.0117 24.6267 94.0971 24.648V34.952C93.8517 35.048 93.5637 35.096 93.2331 35.096C92.8491 35.096 92.5664 35.0427 92.3851 34.936C92.2037 34.8187 92.0544 34.6693 91.9371 34.488L87.1211 26.984L87.2171 34.392C87.2171 34.5947 87.1531 34.7653 87.0251 34.904C86.9077 35.032 86.6837 35.096 86.3531 35.096ZM100.104 35.176C99.4533 35.176 98.8719 35.0747 98.3599 34.872C97.8479 34.6693 97.4159 34.3867 97.0639 34.024C96.7119 33.6613 96.4399 33.2347 96.2479 32.744C96.0666 32.2427 95.9759 31.704 95.9759 31.128C95.9759 30.552 96.0719 30.024 96.2639 29.544C96.4559 29.0533 96.7173 28.632 97.0479 28.28C97.3893 27.9173 97.7893 27.6347 98.2479 27.432C98.7066 27.2293 99.2026 27.128 99.7359 27.128C100.333 27.128 100.861 27.24 101.32 27.464C101.779 27.6773 102.157 27.9653 102.456 28.328C102.765 28.6907 102.995 29.1013 103.144 29.56C103.304 30.0187 103.384 30.488 103.384 30.968C103.384 31.2347 103.357 31.5013 103.304 31.768H97.7519C97.8266 32.3867 98.0666 32.8613 98.4719 33.192C98.8879 33.512 99.4319 33.672 100.104 33.672C100.392 33.672 100.643 33.6507 100.856 33.608C101.069 33.5653 101.261 33.5173 101.432 33.464C101.603 33.4 101.757 33.3467 101.896 33.304C102.035 33.2613 102.173 33.24 102.312 33.24C102.504 33.24 102.659 33.3253 102.776 33.496C102.904 33.6667 102.968 33.896 102.968 34.184C102.968 34.2373 102.963 34.296 102.952 34.36C102.952 34.424 102.947 34.488 102.936 34.552C102.616 34.7013 102.216 34.8453 101.736 34.984C101.256 35.112 100.712 35.176 100.104 35.176ZM101.752 30.52C101.699 29.944 101.501 29.464 101.16 29.08C100.829 28.6853 100.355 28.488 99.7359 28.488C99.1493 28.488 98.6799 28.6747 98.3279 29.048C97.9866 29.4213 97.7893 29.912 97.7359 30.52H101.752ZM105.256 35.096C105.075 35.096 104.894 35.0747 104.712 35.032C104.542 35 104.392 34.9573 104.264 34.904L107.016 31.096L104.36 27.448C104.499 27.3733 104.664 27.3147 104.856 27.272C105.059 27.2293 105.235 27.208 105.384 27.208C105.651 27.208 105.875 27.2453 106.056 27.32C106.238 27.384 106.392 27.5067 106.52 27.688L108.072 29.976L109.56 27.672C109.678 27.5013 109.816 27.384 109.976 27.32C110.147 27.2453 110.334 27.208 110.536 27.208C110.686 27.208 110.856 27.224 111.048 27.256C111.251 27.288 111.416 27.3307 111.544 27.384L109.016 31.112L111.608 34.856C111.47 34.9307 111.304 34.9893 111.112 35.032C110.92 35.0747 110.75 35.096 110.6 35.096C110.334 35.096 110.11 35.064 109.928 35C109.747 34.9253 109.598 34.7973 109.48 34.616L107.96 32.232L106.248 34.68C106.142 34.8293 106.014 34.936 105.864 35C105.715 35.0747 105.512 35.1067 105.256 35.096ZM116.278 35.112C115.862 35.112 115.489 35.048 115.158 34.92C114.838 34.7813 114.566 34.5947 114.342 34.36C114.118 34.1147 113.948 33.832 113.83 33.512C113.713 33.1813 113.654 32.8187 113.654 32.424V28.632H112.438C112.417 28.5573 112.401 28.4613 112.39 28.344C112.38 28.2267 112.374 28.1093 112.374 27.992C112.374 27.7253 112.428 27.5387 112.534 27.432C112.652 27.3253 112.796 27.272 112.966 27.272H113.654V26.168C113.654 26.04 113.665 25.9173 113.686 25.8C113.718 25.6827 113.766 25.576 113.83 25.48C113.905 25.384 114.006 25.3093 114.134 25.256C114.273 25.2027 114.454 25.176 114.678 25.176C114.934 25.176 115.164 25.2133 115.366 25.288V27.272H117.99C118.044 27.432 118.07 27.6453 118.07 27.912C118.07 28.1787 118.012 28.3653 117.894 28.472C117.788 28.5787 117.649 28.632 117.478 28.632H115.366V32.36C115.366 32.7653 115.462 33.08 115.654 33.304C115.846 33.528 116.129 33.64 116.502 33.64C116.662 33.64 116.806 33.624 116.934 33.592C117.062 33.56 117.174 33.5227 117.27 33.48C117.377 33.4373 117.473 33.4 117.558 33.368C117.654 33.336 117.745 33.32 117.83 33.32C118.033 33.32 118.193 33.3893 118.31 33.528C118.428 33.6667 118.486 33.8853 118.486 34.184C118.486 34.2373 118.486 34.296 118.486 34.36C118.486 34.4133 118.481 34.4667 118.47 34.52C118.161 34.7013 117.83 34.8453 117.478 34.952C117.137 35.0587 116.737 35.112 116.278 35.112Z"),l.setAttribute("fill","white"),a.appendChild(s),t.appendChild(a),s.appendChild(r),t.appendChild(l),e}();function ct(e,t){return'<svg xmlns="http://www.w3.org/2000/svg" width="'+t+'" height="'+t+'" viewBox="0 0 18 18"><path stroke="'+e+'" fill="'+e+'" stroke-linejoin="round" stroke-width="1" d="M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z"/></svg>'}let ut,pt=ct(e.uiConfig.controlsPropertiesColor,18),At='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><path stroke="white" fill="'+e.uiConfig.controlsPropertiesColor+'" stroke-linejoin="round" stroke-width="1" d="M3 12.5h2.5V15H7v-4H3v1.5zm2.5-7H3V7h4V3H5.5v2.5zM11 15h1.5v-2.5H15V11h-4v4zm1.5-9.5V3H11v4h4V5.5h-2.5z"/></svg>';function mt(){let t=s.createElementNS("http://www.w3.org/2000/svg","svg");return t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("fill",e.uiConfig.controlsPropertiesColor),t.setAttribute("viewBox","0 0 30 30"),t.setAttribute("preserveAspectRatio","xMidYMid"),t.style.position="absolute",t}function ht(e,t,i){let n=s.createElementNS(e.namespaceURI,"path");return n.setAttribute("d",t),n.style.transform="scale(1.5)",n.id=i,n}function ft(e,t,i){let n=s.createElementNS(e.namespaceURI,"path");return n.setAttribute("d",t),n.style.transform="scale(0.65)",n.id=i,n}function gt(e,t,i){let n=s.createElementNS(e.namespaceURI,"path");return n.setAttribute("d",t),n.style.transform="scale(0.06)",n.id=i,n}function yt(t){let i=mt();i.setAttribute("width","27"),i.setAttribute("height","27"),i.style.right="6px",i.style.top="5px",i.style.filter="drop-shadow(0 0 1px #000)",1===e.playButton&&(i.setAttribute("width","55"),i.setAttribute("height","55"),i.setAttribute("class","car4sply"));let n=gt(i,t,W);return i.appendChild(n),i}function bt(){let t=mt();t.setAttribute("width","70"),t.setAttribute("height","70"),t.setAttribute("viewBox","0 0 100 100");let i=s.createElementNS(t.namespaceURI,"circle");i.setAttribute("cx",50),i.setAttribute("cy",50),i.setAttribute("fill","none"),i.setAttribute("stroke",e.uiConfig.controlsPropertiesColor),i.setAttribute("stroke-width","10"),i.setAttribute("r","35"),i.setAttribute("stroke-dasharray","164.93361431346415 56.97787143782138"),i.setAttribute("transform","rotate(9.64932 50 50)");let n=s.createElementNS(t.namespaceURI,"animateTransform");return n.setAttribute("attributeName","transform"),n.setAttribute("type","rotate"),n.setAttribute("calcMode","linear"),n.setAttribute("values","0 50 50;360 50 50"),n.setAttribute("keyTimes","0;1"),n.setAttribute("dur","1s"),n.setAttribute("begin","0s"),n.setAttribute("repeatCount","indefinite"),i.appendChild(n),t.appendChild(i),t}function vt(){Pe.playButton.classList.contains("_4sPause")&&(Pe.playButton.classList.remove("_4sPause"),Pe.playPauseSvg.setAttribute("d",tt)),Fe.paused(),ye.style.cursor="pointer"}function wt(){let t=s.createElement("div");t.setAttribute("class","_4sControlBarProgress");let i=s.createElement("div");i.setAttribute("class","_4sProgressRange"),i.style.background=e.uiConfig.progressRangeColor;let n=s.createElement("div");n.setAttribute("class","_4sProgressBuffered");let o=s.createElement("input");return o.setAttribute("type","range"),o.setAttribute("min","0"),o.setAttribute("max","100"),o.setAttribute("step","1"),o.setAttribute("id",B),o.setAttribute("class","_4sProgressDummy"),t.appendChild(i),t.appendChild(n),t.appendChild(o),e.livestream&&(t.style.display="none"),t}function Ct(){let t=s.createElement("div");t.setAttribute("class","_4sControlsContainer _4sFlex"),t.style.background=e.uiConfig.controlsContainerColor,"verticalVideoLayout"!==e.playerLayout?t.style.height="31px":t.style.height="26px";let i=s.createElement("button");return i.setAttribute("class","_4sPlay _4sBtn"),i.setAttribute("type","button"),i.style.background="none",i.appendChild(at),Pe.playButton=i,t.appendChild(i),t.appendChild(function(){let t=s.createElement("div");Pe.volume={container:t},t.setAttribute("class","_4sVolumeContainer _4sFlex ");let i=s.createElement("button");return i.setAttribute("class","_4sVolume _4sBtn"),i.setAttribute("type","button"),i.style.background="none",i.style.width="30px",i.appendChild(lt),t.appendChild(i),t.appendChild(function(){let t=s.createElement("div");Pe.volume.rangeContainer=t,t.setAttribute("class","_4sVolumeRangeContainer _4sFlex _4sFull-height _4sRelative-position"),e.livestream&&(t.style.top="-4px");let i=s.createElement("div");i.setAttribute("class","_4sVolumeRange _4sCenter-volume-range"),i.style.width="100%",i.style.background=e.uiConfig.controlsPropertiesColor;let n=s.createElement("input");return n.setAttribute("type","range"),n.setAttribute("min","0"),n.setAttribute("max","10"),n.setAttribute("step","0.001"),n.setAttribute("style","width: 100%; opacity:0; margin-left: 5px; position: absolute; z-index: 1; top: 0; height:100%;"),n.setAttribute("id",j),n.setAttribute("class","_4sRangeDummy _4sCenter-range-dummy"),i.style.width=100*e.volumeValue+"%",t.appendChild(i),t.appendChild(n),t}()),t}()),t.appendChild(function(){let t=s.createElement("div");Pe.timer={container:t},t.setAttribute("class","_4sTimer _4sFlex _4sFull-height"),t.style.color=e.uiConfig.controlsPropertiesColor,t.style.paddingLeft="7px";let i=s.createElement("span");Pe.video.currentTimer=i,i.setAttribute("class","_4sCurrentTimer"),i.innerHTML=" 0:00 ";let n=s.createElement("span");n.innerHTML=" / ";let o=s.createElement("span");o.setAttribute("class","_4sDuration"),o.innerHTML=" 0:00 ",t.appendChild(i),t.appendChild(n),t.appendChild(o),e.livestream&&(t.style.display="none");return t}()),!e.search||e.livestream||K||t.appendChild(Pe.search.createBar()),e.isFullscreeEnabled&&(t.appendChild(function(){let t=_t();Pe.fullscreen.button=t,t.style.right="0",t.style.top="4.5px";let i=_t();Pe.fullscreen.cornerButton=i,i.style.bottom="0",e.mobileAudioButton?i.style.right="24px":i.style.right="15px";return i.style.padding="1px 7px 2px",i.style.zIndex="100000000000",i.style.marginBottom="7px",i.style.width="18px",i.style.height="18px",i.style.display="none",Pe.cornerFullscreenButton=i,t}()),Z?(Pe.volume.rangeContainer.style.top="5px",Pe.timer.container.style.top="5px",Pe.cornerFullscreenButton.style.width="22px",s.addEventListener("webkitfullscreenchange",(function(){Pe.isFullscreen?(Pe.fullscreen.button.innerHTML=pt,Pe.fullscreen.cornerButton.innerHTML=pt,Pe.videoDiv.style.display="inline-block",Pe.isFullscreen=!Pe.isFullscreen):(Pe.fullscreen.button.innerHTML=At,Pe.fullscreen.cornerButton.innerHTML=At,Pe.videoDiv.style.maxWidth="100%",Pe.videoDiv.style.display=null,Pe.isFullscreen=!Pe.isFullscreen)}))):(Pe.videoDiv.onfullscreenchange=xt,Pe.videoDiv.onwebkitfullscreenchange=xt,Pe.videoDiv.onmozfullscreenchange=xt)),t}function xt(){Pe.isFullscreen=!Pe.isFullscreen,Pe.isFullscreen?(Pe.fullscreen.button.innerHTML=At,Pe.fullscreen.cornerButton.innerHTML=At,e.search&&"verticalVideoLayout"!==e.playerLayout&&(Pe.search.container.style.display="none"),Pe.mainLogo&&K&&(Pe.mainLogo.style.top="2px")):(Pe.fullscreen.button.innerHTML=pt,Pe.fullscreen.cornerButton.innerHTML=pt,e.search&&"verticalVideoLayout"!==e.playerLayout&&(Pe.search.container.style.display="block"),Pe.mainLogo&&K&&(Pe.mainLogo.style.top="-24px"))}function _t(){let e=s.createElement("button");return e.innerHTML=pt,e.style.outline="none",e.style.position="absolute",e.setAttribute("class","_4sBtn"),e.setAttribute("type","button"),e.addEventListener("click",Et),e}function Et(){Pe.isFullscreen?s.exitFullscreen?s.exitFullscreen():s.webkitExitFullscreen?s.webkitExitFullscreen():s.mozCancelFullScreen?s.mozCancelFullScreen():s.msExitFullscreen&&s.msExitFullscreen():Pe.videoDiv.requestFullscreen?Pe.videoDiv.requestFullscreen():Pe.videoDiv.webkitRequestFullscreen?Pe.videoDiv.webkitRequestFullscreen():Pe.videoDiv.mozRequestFullScreen?Pe.videoDiv.mozRequestFullScreen():Pe.videoDiv.msRequestFullscreen&&Pe.videoDiv.msRequestFullscreen()}function St(e,t){let i=s.createElement("img");return i.id="_4sLogoImage"+P,i.src=-1===e.toLowerCase().indexOf("http")?_e+e:e,i.style.maxHeight="25px",i.style.width="auto",i.setAttribute("alt","Sky logo"),i.style.position="absolute",i.style.top="4px",i.style.right="4px",i.style.zIndex="125",i.border=0,K&&(i.style.top="-26px"),Pe.mainLogo=i,t?kt(t,i):i}function kt(e,t){let i=s.createElement("a");return i.href=e,i.rel="nofollow",i.target="_blank",i.appendChild(t),i}function Lt(t,i){let n=s.createElement("img");if(n.src=-1===t.toLowerCase().indexOf(m)?ke+t:t,n.id=R,n.style.position="absolute",n.style.zIndex="100",n.style.bottom=K?"-20px":"-24px","verticalCarouselLayout"==e.playerLayout?(n.style.left="112%",n.style.width="auto"):(n.style.right="5px",n.style.width="initial"),n.style.setProperty("height","18px","important"),n.setAttribute("alt","Fluid logo"),Pe.fluidLogoImage=n,i){n.border=0;let e=kt(i,n);return Pe.fluidLogo=e,e}return Pe.fluidLogo=n,n}function Tt(e,t,i,n){let o,a;return i>n?(o=16*e/9,a=e):(a=9*t/16,o=t),{verticalWidth:a,verticalHeight:o}}function Pt(e){var t=s.createElement("link");t.rel="stylesheet",t.type="text/css",t.href=e,s.getElementsByTagName("head")[0].appendChild(t)}!function(){if(!e.search)return;let t="#FFFFFF",i="M12.2264,2.1225 C7.7044,2.9055 4.6724,7.2065 5.4554,11.7285 C5.7264,13.2905 6.4374,14.7415 7.5064,15.9125 L2.2464,20.5825 C1.9204,20.9045 1.9174,21.4305 2.2404,21.7565 C2.2424,21.7585 2.2444,21.7605 2.2464,21.7625 C2.5684,22.0885 3.0944,22.0915 3.4194,21.7685 C3.4224,21.7675 3.4244,21.7655 3.4264,21.7625 L9.2664,16.4925 C9.4194,16.3385 9.5064,16.1305 9.5064,15.9125 C9.5014,15.6745 9.3964,15.4485 9.2164,15.2925 C9.0254,15.1195 8.8454,14.9355 8.6764,14.7425 C6.2474,11.9805 6.5184,7.7715 9.2804,5.3435 C12.0424,2.9145 16.2504,3.1845 18.6794,5.9475 C21.1074,8.7095 20.8384,12.9175 18.0754,15.3465 C16.4744,16.7545 14.2964,17.3105 12.2164,16.8425 C11.7664,16.7375 11.3164,17.0175 11.2114,17.4675 C11.1064,17.9175 11.3864,18.3675 11.8364,18.4725 C13.0964,18.7665 14.4064,18.7665 15.6664,18.4725 C18.9244,17.7115 21.3884,15.0405 21.8864,11.7325 C22.6494,7.1845 19.5824,2.8785 15.0334,2.1155 C14.1044,1.9585 13.1544,1.9615 12.2264,2.1225",n="M20,4.3794 L20,4.3794 C19.102,3.7644 17.888,3.9104 17.16,4.7194 L12,10.5594 L6.84,4.7194 C6.112,3.9104 4.898,3.7644 4,4.3794 L10.73,11.9994 L4,19.6194 C4.898,20.2344 6.112,20.0894 6.84,19.2794 L12,13.4404 L17.16,19.2794 C17.888,20.0894 19.102,20.2344 20,19.6194 L13.27,11.9994 L20,4.3794 Z";Pe.search.searchIcon=K?function(e){let i=mt();i.setAttribute("width","20"),i.setAttribute("height","15"),i.setAttribute("fill",t),i.style.left="15px",Q&&(i.style.left="25px"),i.style.top="-22px",i.style.visibility="hidden";let n=ht(i,e,"ico_cross");return i.appendChild(n),i}(i):function(e){let i=mt();i.setAttribute("width","25"),i.setAttribute("height","25"),i.setAttribute("fill",t),i.style.transition="all 0.3s ease-in-out",i.style.marginTop="5.5px",i.style.marginLeft="7px",i.style.left="1px",i.style.top="0";let n=ft(i,e,"ico_search");return i.appendChild(n),i}(i),Pe.search.deleteIcon=K?function(e){let i=mt();i.setAttribute("width","20"),i.setAttribute("height","15"),i.setAttribute("fill",t),i.style.left="4px",i.style.top="8px";let n=ht(i,e,"ico_cross");return i.appendChild(n),i}(n):function(e){let i=mt();i.setAttribute("width","25"),i.setAttribute("height","25"),i.setAttribute("fill",t),i.style.transition="all 0.3s ease-in-out",i.style.left="3px",i.style.marginTop="5.5px",i.style.marginLeft="4px",i.style.top="0";let n=ft(i,e,"ico_cross");return i.appendChild(n),i}(n),Pe.search.owlContainerIcon=function(e){let i=mt();i.setAttribute("width","20"),i.setAttribute("height","10"),i.setAttribute("fill",t),i.style.left="5px",i.style.top="5px";let n=ft(i,e,"ico_chatbot");return i.appendChild(n),K?i.setAttribute("style","position:absolute;right:115px;bottom:80px;height:64px;width:auto;"):i.setAttribute("style","position:absolute;right:120px;bottom:37px;height:60px;width:auto;"),i}("M24.4933333,1.3336 C25.696,1.34026667 26.6666667,2.3176 26.6666667,3.52026667 L26.6666667,3.52026667 L26.6666667,22.6402667 C26.6586667,23.2749333 26.2613333,23.8416 25.6666667,24.0669333 C25.0946667,24.3056 24.436,24.1736 24,23.7336 L24,23.7336 L19.1466667,20.3736 L2.17333333,20.3736 C0.970666667,20.3669333 1.49213975e-13,19.3882667 1.49213975e-13,18.1869333 L1.49213975e-13,18.1869333 L1.49213975e-13,3.52026667 C1.49213975e-13,2.3176 0.970666667,1.34026667 2.17333333,1.3336 L2.17333333,1.3336 Z M24.4533333,3.24026667 L2.2,3.24026667 C2.04266667,3.24026667 1.91466667,3.36293333 1.90666667,3.52026667 L1.90666667,3.52026667 L1.90666667,18.1869333 C1.90666667,18.3482667 2.03733333,18.4802667 2.2,18.4802667 L2.2,18.4802667 L19.9066667,18.4802667 L24.76,21.8256 L24.76,3.54693333 C24.76,3.3776 24.6226667,3.24026667 24.4533333,3.24026667 L24.4533333,3.24026667 Z M13.3178293,10.9011893 C15.372496,10.8998576 17.3471627,11.6985243 18.824496,13.1265243 C19.1298293,13.5425243 19.040496,14.1278576 18.624496,14.4331909 C18.208496,14.7398576 17.6231627,14.6505243 17.3178293,14.2345243 C16.1938293,13.3038576 14.7778293,12.7985243 13.3178293,12.8078576 C11.8551627,12.8358576 10.4458293,13.3571909 9.31782934,14.2878576 C9.01516267,14.6998576 8.436496,14.7891909 8.024496,14.4865243 C7.612496,14.1851909 7.52182934,13.6065243 7.824496,13.1945243 C9.29116267,11.7518576 11.260496,10.9291909 13.3178293,10.9011893 Z M9.9604,6.1732 C10.7257333,6.1732 11.3470667,6.79453333 11.3470667,7.55986667 C11.3470667,8.3252 10.7257333,8.94653333 9.9604,8.94653333 C9.19373333,8.94653333 8.57373333,8.3252 8.57373333,7.55986667 C8.57373333,6.79453333 9.19373333,6.1732 9.9604,6.1732 Z M16.7072,6.1732 C17.4725333,6.1732 18.0938667,6.79453333 18.0938667,7.55986667 C18.0938667,8.3252 17.4725333,8.94653333 16.7072,8.94653333 C15.9418667,8.94653333 15.3205333,8.3252 15.3205333,7.55986667 C15.3205333,6.79453333 15.9418667,6.1732 16.7072,6.1732 Z"),Pe.search.loading=bt(),Pe.search.loading.setAttribute("width",40),Pe.search.loading.setAttribute("height",40),Pe.search.loading.setAttribute("fill","black"),Pe.search.loading.setAttribute("style","position:absolute;top:50px;left:50%;z-index:100;opacity:0.6;transform:translateX(-80%) translateY(-50%);display:none;"),function(){let e=d.createElement("div");e.setAttribute("style","position:absolute;top:0;left:0;z-index:99;opacity:0.6;width:100%;background-color:black;display:none;"),e.style.height=K?"100px":"94px",Pe.search.layer=e}(),"verticalVideoLayout"!==e.playerLayout&&(Pe.search.createBar=K?function(){Pe.search.container=d.createElement("div"),Pe.search.container.setAttribute("style","position:absolute;top:-10px;left:0;right:0;height:30px;z-index:1000;width:100%;");let e=d.createElement("div");e.setAttribute("style","position:absolute;top:-29px;width:100%;height:42px;outline:none;background:#000;border:none;");let t=d.createElement("div");t.setAttribute("style","position:absolute;left:0;right:0;top:3px;height:24px;");let i=d.createElement("input");i.setAttribute("style","position:absolute;top:-29px;width:98%;left:4px;height:34px;outline:none;background:#2a2a2a;border:none;padding-left:42px;font-size:16px;border-radius:17px;box-sizing:border-box;"),i.setAttribute("placeholder","Search");let n=d.createElement("div");n.setAttribute("style","position:relative;top:3px;width:3px;height:24px;box-sizing:border-box;");let o=d.createElement("button");o.setAttribute("style","position:absolute;right:0;left:-5px;width:calc(100%-2px);height:24px;outline:none;background:rgba(255, 255, 255, 0);border:none;box-sizing:border-box;border-top-left-radius:13px;border-bottom-left-radius: 13px;"),o.setAttribute("type","button");let a=d.createElement("div");return a.setAttribute("style","position:absolute;top:3px;right:0;width:60px;height:34px;box-sizing:border-box;"),Pe.search.deleteButton=d.createElement("button"),Pe.search.deleteButton.setAttribute("style","position:absolute;right:2px;width:34px;height:34px;outline:none;background:rgba(255, 255, 255, 0);border:none;border-bottom-right-radius:17px;border-top-right-radius:17px;box-sizing:border-box;top:-29px;display:none;"),Pe.search.deleteButton.setAttribute("type","button"),o.appendChild(Pe.search.searchIcon),Pe.search.mobileElement=i,e.appendChild(i),Pe.search.container.appendChild(e),t.appendChild(i),Pe.search.container.appendChild(t),n.appendChild(o),Pe.search.container.appendChild(n),Pe.search.deleteButton.appendChild(Pe.search.deleteIcon),a.appendChild(Pe.search.deleteButton),Pe.search.container.appendChild(a),Pe.search.container}:function(){Pe.search.container=d.createElement("div"),Pe.search.container.setAttribute("style","position:absolute;top:3px;right:25%;left:30%;height:calc(100%-3px);border-radius:13px;max-width: 245px;");let e=d.createElement("div");e.setAttribute("style","position:absolute;top:4px;right:60px;left:0;height:calc(100%-12px);border-radius:13px;background-color:#2A2A2A;");let t=d.createElement("input");t.setAttribute("style","position:absolute;left:20px;width:95%;height:22px;outline:none;background-color:#2a2a2a;border-bottom-left-radius:0;border-top-left-radius:0;border-bottom-right-radius:13px;border-top-right-radius:13px;padding:1px 2px 1px 10px;border:none;"),t.setAttribute("placeholder","Search");let i=d.createElement("div");i.setAttribute("style","position: absolute;top: 4px;bottom: 1px;left: 0;width: 30px;height: calc(100% - 6px);");let n=d.createElement("button");n.setAttribute("style","position: absolute;width: 26px;height: 24px;background-color: #2a2a2a;border-top-left-radius: 13px;border-bottom-left-radius: 13px;border: none;outline: none;"),n.setAttribute("type","button");let o=d.createElement("div");o.setAttribute("style","position:absolute;top:4px;bottom:1px;right:0;width:60px;height:calc(100%-6px);");let a=d.createElement("button");return a.setAttribute("style","position:absolute;right:64%;width:28px;height:24px;background-color:#2a2a2a;border-top-right-radius:13px;border-bottom-right-radius:13px;border:none;display:none;outline:none;"),a.setAttribute("type","button"),n.appendChild(Pe.search.searchIcon),Pe.search.searchButton=n,a.appendChild(Pe.search.deleteIcon),Pe.search.deleteButton=a,Pe.search.element=t,e.appendChild(t),Pe.search.container.appendChild(e),i.appendChild(n),Pe.search.container.appendChild(i),o.appendChild(a),Pe.search.container.appendChild(o),Pe.search.container})}(),ut=null!==window.frameElement?function t(i){if(e.amp)return d.currentScript;for(var n=i.frameElement.parentNode;n;n=n.parentNode)if(n.ownerDocument===s)return n;return parent!==top&&t(parent)}(window):d.currentScript,function(){let i=e.height/e.width*100,n=e.width/e.height*100,{verticalWidth:o,verticalHeight:a}=Tt(e.width,e.height,i,n),{mobWidth:r,mobHeight:l}=function(){const e=t.innerWidth||s.documentElement.clientWidth||s.body.clientWidth;return{mobWidth:e,mobHeight:16*e/9}}();be=s.createElement("div");let d=be;if(Pe.containerDiv=d,d.setAttribute("class","vidcar4s"),d.id=I,d.style.width="100%",d.style.maxWidth=e.width+"px","verticalVideoLayout"==e.playerLayout&&(K?(d.style.height=l+"px",d.style.width=r+"px"):(d.style.height=a+"px",d.style.width=o+"px")),e.popOut)switch(d.style.zIndex=e.zIndexOnReposition,d.style.position="fixed",d.style.width=e.po.w+"px",d.style.height=e.po.h+"px",e.po.pos){case 1:d.style.top=e.po.vm+"px",d.style.left=e.po.hm+"px";break;case 2:d.style.top=e.po.vm+"px",d.style.right=e.po.hm+"px";break;case 3:d.style.bottom=e.po.vm+"px",d.style.left=e.po.hm+"px";break;case 4:d.style.bottom=e.po.vm+"px",d.style.right=e.po.hm+"px";break;case 5:d.style.top=e.po.vm+"px",d.style.left=(t.innerWidth-e.po.w)/2+"px";break;case 6:d.style.bottom=e.po.vm+"px",d.style.left=(t.innerWidth-e.po.w)/2+"px";break;case 7:d.style.top=(t.innerHeight-e.po.h)/2+"px",d.style.right=e.po.hm+"px";break;case 8:d.style.top=(t.innerHeight-e.po.h)/2+"px",d.style.left=e.po.hm+"px"}C=s.createElement("div"),Pe.videoDiv=C,C.id="vidpl4s_"+P,C.style.width="100%",C.style.maxWidth=e.width+"px",C.style.display="inline-block",C.style.position="relative",K&&(C.style.marginTop="30px"),"verticalVideoLayout"==e.playerLayout&&(K?(C.style.height=l+"px",C.style.width=r+"px"):(C.style.height=a+"px",C.style.width=o+"px")),"verticalCarouselLayout"==e.playerLayout&&(C.style.height=e.height+"px");let c=s.createElement("div");switch(c.id=M,c.style.marginTop=i+"%",C.appendChild(c),ye=s.createElement("video"),Pe.contentVideo=ye,ye.id="player4s_"+P,!0===(!(!K||!e.forceMobileMuted)||e.muted)&&(ye.setAttribute("muted",""),ye.muted=!0),ye.setAttribute("playsinline","playsinline"),ye.setAttribute("preload","metadata"),ye.controls=Q,ye.style.position="absolute",ye.style.top=0,ye.style.left=0,ye.style.right=0,ye.style.bottom=0,ye.style.width="100%",ye.style.height="100%",ye.style.background="black",ye.style.cursor="pointer",ye.setAttribute("crossorigin","anonymous"),ye.disablePictureInPicture=!0,We.setPlayerEvent(ye),Ye.setPlayerEvent(ye),C.appendChild(ye),e.logo&&C.appendChild(St(e.logo,e.logoLink)),Q||C.appendChild(function(){let e=s.createElement("div");return Pe.controlBar={mainContainer:e,progress:wt(),controlsContainer:Ct()},e.setAttribute("class","_4sControlBarContainer"),e.appendChild(Pe.controlBar.progress),e.appendChild(Pe.controlBar.controlsContainer),e}()),C.appendChild((Ce=bt(),Ce.setAttribute("class","car4load _4sLoading"),Ce.setAttribute("id",q),ye.addEventListener("loadstart",(function(){Q&&We.playingAd||Fe.loading()})),Fe.setLoadingImage(Ce),Ce)),C.appendChild(function(){let t=s.createElement("div");t.setAttribute("id",N),t.setAttribute("class","_4sTitleContainer"),t.style.background=e.uiConfig.titleContainerColor,K&&(t.style.top="-30px");let i=s.createElement("span");return i.style.fontFamily=e.uiConfig.titleTextType,i.style.color=e.uiConfig.titleTextColor,i.setAttribute("id",F),i.setAttribute("class","_4sTitleDescContainer"),i.style.lineHeight="28px",i.style.padding="0 10px",t.appendChild(i),t}()),C.appendChild(function(){let e=yt(ot);return e.setAttribute("class","car4sply _4sPlayButtonCentered"),e.setAttribute("id",H),e.style.opacity="0",e.setAttribute("height",80),e.setAttribute("width",80),Fe.setPlayImage(e),e}()),c=s.createElement("div"),Pe.imaDiv=c,c.id=et,c.style.position="absolute",c.style.top=0,c.style.left=0,c.style.right=0,c.style.bottom=0,c.style.zIndex=e.zIndexOnReposition-1,K&&"verticalVideoLayout"==e.playerLayout&&(div4=s.createElement("div"),div4.id="divadv",div4.style.position="absolute",div4.style.top="30px",div4.style.backgroundColor="transparent",div4.style.left=0,div4.style.right=0,div4.style.bottom="70px",div4.style.zIndex=e.zIndexOnReposition),C.appendChild(c),K&&"verticalVideoLayout"==e.playerLayout&&c.appendChild(div4),C.appendChild(He.image()),d.appendChild(C),fe){case"carouselLayout":he=v,v.innerOwlCarousel(d);break;case"verticalCarouselLayout":he=b,e.logoFluid&&""!==e.logoFluid&&C.appendChild(Lt(e.logoFluid,e.logoFluidLink)),b.innerCarousel(d);break;case"verticalVideoLayout":e.logoFluid&&""!==e.logoFluid&&C.appendChild(Lt(e.logoFluid,e.logoFluidLink)),ut.parentElement.insertBefore(d,ut)}"verticalVideoLayout"!==e.playerLayout&&(K&&e.search&&(C.style.top="38px"),e.search&&(C.appendChild(Pe.search.loading),C.appendChild(Pe.search.layer),K&&C.appendChild(Pe.search.createBar())))}();let It=e.useJsonFeed&&!Q;var Mt=null;let Rt={owlCarousel:!1,player:!1,prebidPlacements:!e.preBid.enabled,hls:!e.useJsonFeed||Q,comScore:!e.comScore,ias:!e.ias,iasPet:!e.iasPet,covatic:!e.covatic,ipsos:!e.ipsos,allLoaded:function(){return this.owlCarousel&&this.player&&this.hls&&this.comScore&&this.ias&&this.iasPet&&this.covatic&&this.ipsos&&this.prebidPlacements}};function Bt(){Rt.owlCarousel=!0,Nt()}function Vt(){Rt.ias=!0,Nt()}function Ot(){Rt.ias=!0,e.ias=!1,Nt()}function zt(){Rt.iasPet=!0,Nt()}function Dt(){Rt.iasPet=!0,e.iasPet=!1,Nt()}!1===e.showCarousel&&"carouselLayout"===e.playerLayout&&(Pe.carousel.owlContainer.style.display="none"),!1===e.showCarousel&&"verticalCarouselLayout"===e.playerLayout&&(y.rightContainer.style.display="none");let jt=new function(){return{contentReady:!It,adDone:!1,noAuto:!1,isPageActive:!0,canPlay:function(){return this.contentReady&&this.adDone&&!this.noAuto&&this.isPageActive}}};function qt(e){void 0!==ve&&(ve.stopLoad(),ve.detachMedia(),ve.destroy()),e.secure&&void 0!==e.country&&"IT"===e.country?window.Hls.DefaultConfig.xhrSetup=function(e,t){e.withCredentials=!0}:window.Hls.DefaultConfig.xhrSetup=function(e,t){},ve=new window.Hls,ve.on(window.Hls.Events.MANIFEST_PARSED,(function(){jt.contentReady=!0,Gt()}))}function Nt(){Rt.allLoaded()&&(h=e.livestream?e.livestreamFeed:e.useJsonFeed&&e.jsonFeed?e.jsonFeed:m+"feed.4strokemedia.com/feed.json",function(i,n,a){let l=e.textKeys,f={adPlayed:!1,betterRatio:.28,height:50,marginV:0,marginH:0,monitoring:null,ratio:.5,removed:!1,target:null,targetElement:null,width:100,closingX:null,positionRepo:0,closeXtimer:0,floating:!1,playingAd:!1,kdp:null,adsLoader:null,adsRequest:null,adsManager:null,firstPlay:!0,interval:null,audioOn:!1,audioManualChange:!1,breakingNews:!1,breakingNewsInitialized:!1,waitForBreakingNews:!1,repositionRecheck:e.repositionRecheck,repositionRecheckPosition:e.repositionRecheckPosition,viewabilityRatio:e.viewRatio,tagHelper:$e,videoId:0,videoTopPosition:0,videoBottomPosition:0,videoExpired:0,sensitivity:!1,cmsid:e.cmsid,videoPageUrl:le,autoPaused:!1,upcomingVideo:{items:{div:null,text:null,image:null},setBottomPosition:function(){},setTopPosition:function(){},title:"",image:"",hoverSize:45,hoverShown:!1,enabled:1===e.upcomingShowDevice||K&&3===e.upcomingShowDevice||!K&&2===e.upcomingShowDevice},tabIsVisible:!0,_4sRepositionVolume:null,setNoPlayingAd:function(){Re("Ad not playing"),f.playingAd=!1,We.playingAd=!1,Ut.setContent(),Wt.setContent(),s.querySelectorAll(".playlistItem").forEach((function(e){e.style.opacity="1"}))},setPlayingAd:function(){Re("Ad playing"),f.playingAd=!0,We.playingAd=!0;try{var e=f.adsManager.getCurrentAd();Ut.setAdvContent(e.getDuration(),e)}catch(e){Ut.setAdvContent(0,null)}s.querySelectorAll(".playlistItem").forEach((function(e){e.style.opacity="0.3"})),Wt.setAdvContent()},upcomingVideoTitleSetup:function(){if(!f.upcomingVideo.enabled)return;let t=12;K&&(f.upcomingVideo.hoverSize=30,t=10);let i=s.createElement("div");i.style="position:absolute;display:none;width:100%;top: -"+f.upcomingVideo.hoverSize+"px;",i.style.background=e.uiConfig.titleContainerColor;let n=s.createElement("div");n.style="height: "+f.upcomingVideo.hoverSize+"px; font-size: "+t+"px;text-align: center; display: grid; width: 100%; z-index: 100;",n.style.background=e.uiConfig.titleContainerColor,n.style.gridTemplateColumns="3fr 1fr";let o=s.createElement("div");o.style="width: 100; padding-left: 5px; padding-right: 5px;",o.style.color=e.uiConfig.titleTextColor,o.style.fontFamily=e.uiConfig.titleTextType,o.style.margin="auto";let a=s.createElement("img");a.style.height=f.upcomingVideo.hoverSize-10+"px",a.style.paddingTop="5px",a.style.paddingBottom="5px",a.style.margin="auto",n.appendChild(o),n.appendChild(a),i.appendChild(n),_4sjq3(i).appendTo(f.target),f.upcomingVideo.items={div:_4sjq3(i),text:o,image:a},f.upcomingVideo.setBottomPosition=function(){f.upcomingVideo.items.div.css("top","initial"),f.upcomingVideo.items.div.css("bottom","-"+f.upcomingVideo.hoverSize+"px")},f.upcomingVideo.setTopPosition=function(){f.upcomingVideo.items.div.css("top","-"+f.upcomingVideo.hoverSize+"px"),f.upcomingVideo.items.div.css("bottom","initial")}},showUpcomingVideo:function(){f.upcomingVideo.enabled&&(f.upcomingVideo.items.image.src=f.upcomingVideo.image,f.upcomingVideo.items.text.innerHTML="Prossimo video: "+f.upcomingVideo.title,t.setTimeout((function(){f.upcomingVideo.hoverShown=!0,f.upcomingVideo.items.div.fadeIn(300),t.setTimeout((function(){f.upcomingVideo.hoverShown=!1,f.upcomingVideo.items.div.fadeOut(300)}),1e3*e.upcomingHideTimer)}),1e3*e.upcomingShowTimer))},manageCompanion:function(e){var t=Pe.companionDiv,i=Pe.companionPlaceHolder;if(t&&i){i.innerHTML="";var n=e.getAd(),o=_4sjq3(t).width()>470?[468,60]:[320,50],a=n.getCompanionAds(o[0],o[1]);if(a&&0!==a.length){var r="<style>body{margin:0}</style>"+a[0].getContent(),l=s.createElement("iframe");l.width=o[0],l.height=o[1],l.frameBorder=0,l.style.border=0,l.scrolling="no",l.style.backgroundColor="transparent",l.allowTransparency="true",_4sjq3(i).append(l),l.contentWindow.document.open(),l.contentWindow.document.write(r),l.contentWindow.document.close()}}},setup:function(i,n,o,a,r,l,d){if(this.positionRepo=l||this.positionRepo,0===i||0===n)return;this.marginV=a||this.marginV,this.marginH=r||this.marginH,this.closeXtimer=d||this.closeXtimer;let p=_4sjq3(t).width(),A=_4sjq3(t).height();this.ratio=n/i;let m=Math.sqrt(p*A*this.betterRatio/this.ratio);var h;function g(){f.breakingNewsInitialized&&(c(h),f.start())}this.width=Math.min(i,m),this.width=this.width+this.marginH>p?p-this.marginH:this.width,this.height=this.width*this.ratio,this.target="#"+o,this.targetElement=s.getElementById(o),this.upcomingVideoTitleSetup(),this.monitoring=_4sjq3(this.target).parent(),(0!==this.positionRepo||e.pauseOnOutOfView>0)&&(_4sjq3(t).scroll(f.showIfInView),f.showIfInView()),e.mobileAudioButton&&(f.repositionVolumeButton(),f.preRollVolumeButton()),e.isFullscreeEnabled&&(f.repositionFullscreenButton(),_4sjq3(Pe.cornerFullscreenButton).appendTo(f.target)),f.breakingNewsInitialized?g():h=u(g,50)},_4sRepositionFullscreen:null,repositionFullscreenButton:function(){let e=s.createElement("button");e.id="_4sRepositionFullscreenButton",e.innerHTML=ct("black",13),e.setAttribute("type","button"),e.style.display="none",e.style.top="-20px",e.style.left="25px",e.style.position="absolute",e.style.zIndex="101",e.style.background="white",e.style.outline="none",e.style.border="none",e.style.lineHeight="13px",e.style.width="17px",e.style.height="17px",e.style.padding="2px 0",e.style.borderRadius="50%",e.addEventListener("click",Et),f._4sRepositionFullscreen=e,_4sjq3(f._4sRepositionFullscreen).appendTo(f.target)},volumeStatus:0,repositionVolumeButton:function(){function t(e){e.stopPropagation(),0===f.volumeStatus?(f.volumeStatus=1,f.changeVolume(1),f.audioManualChange=!0,f._4sRepositionVolume.getElementsByTagName("path")[0].setAttribute("d",it),f._4sPreRollVolume&&f._4sPreRollVolume.getElementsByTagName("path")[0].setAttribute("d",it)):(f.volumeStatus=0,f.changeVolume(0),f.audioManualChange=!0,f._4sRepositionVolume.getElementsByTagName("path")[0].setAttribute("d",nt),f._4sPreRollVolume&&f._4sPreRollVolume.getElementsByTagName("path")[0].setAttribute("d",nt))}f._4sRepositionVolume=function(t){let i=mt();i.setAttribute("width","13"),i.setAttribute("height","13"),i.setAttribute("fill","#000"),i.style.left="3px",i.style.display="none",e.reposition<3?i.style.bottom="-20px":i.style.top="-20px",i.style.borderRadius="100%",i.style.padding="2px",i.style.background="#fff",i.style.zIndex=101,i.setAttribute("id","_4SRepositionVolumeOnOffSvg");let n=gt(i,t,"");return i.appendChild(n),i}(nt),_4sjq3(f._4sRepositionVolume).appendTo(f.target),f._4sRepositionVolume.addEventListener("click",t)},_4sPreRollVolume:null,preRollVolumeButton:function(){function e(e){e.stopPropagation(),0===f.volumeStatus?(f.volumeStatus=1,f.changeVolume(1),f.audioManualChange=!0,f._4sPreRollVolume.getElementsByTagName("path")[0].setAttribute("d",it),f._4sRepositionVolume.getElementsByTagName("path")[0].setAttribute("d",it)):(f.volumeStatus=0,f.changeVolume(0),f.audioManualChange=!0,f._4sPreRollVolume.getElementsByTagName("path")[0].setAttribute("d",nt),f._4sRepositionVolume.getElementsByTagName("path")[0].setAttribute("d",nt))}f._4sPreRollVolume=function(e){let t=mt();t.setAttribute("width","20"),t.setAttribute("height","20"),t.setAttribute("fill","#fff"),K?t.style.right="36px":t.style.left="36px",t.style.bottom="3px",t.style.borderRadius="100%",t.style.padding="2px",t.style.zIndex="1000",t.setAttribute("id","_4SPreRollVolumeOnOffSvg");let i=gt(t,e,"");return t.appendChild(i),t}(nt),_4sjq3(f._4sPreRollVolume).appendTo(f.target),f._4sPreRollVolume.addEventListener("click",e)},actionShow:function(){c(f.interval);let t={"z-index":e.zIndexOnReposition,position:"absolute",top:f.videoTopPosition,left:"0",right:"0",bottom:f.videoBottomPosition,width:"",height:""};_4sjq3(f.target).css(t),f.upcomingVideo.setTopPosition(),(Q||e.livestream&&e.livestreamRepo)&&(t.width="100%",t.height="100%",t["z-index"]=1,_4sjq3(ye).css(t)),f.floating=!1,null===f.closingX||e.popOutClose||(f.closingX.style.display="none"),f.resizeAdPlayer(),Q||(ye.style.opacity=1),e.zIndexOnFloorAd&&x(J)&&(_4sjq3(f.target)[0].style.zIndex=151),f._4sRepositionVolume&&(f._4sRepositionVolume.style.display="none",f._4sPreRollVolume&&(f._4sPreRollVolume.style.display="")),e.isFullscreeEnabled&&f._4sRepositionFullscreen&&(f._4sRepositionFullscreen.style.display="none",Pe.cornerFullscreenButton.style.display="block")},actionNoShow:function(){let i={"z-index":e.zIndexOnReposition,position:"fixed",width:f.width+"px",height:f.height+"px",top:"",left:"",right:"",bottom:""};if("verticalVideoLayout"==e.playerLayout&&w){let t=e.widthRepo/e.heightRepo*100,n=e.heightRepo/e.widthRepo*100,{verticalWidth:o,verticalHeight:a}=Tt(e.widthRepo,e.heightRepo,n,t);i.height=a+"px",i.width=o+"px"}switch(f._4sRepositionVolume&&(f._4sRepositionVolume.style.display="block",f._4sPreRollVolume&&(f._4sPreRollVolume.style.display="none")),f.positionRepo){case 1:i.top=k(E())+f.marginV+"px",i.left=f.marginH+"px",f.upcomingVideo.setBottomPosition();break;case 2:i.top=k(E())+f.marginV+"px",i.right=f.marginH+"px",f.upcomingVideo.setBottomPosition();break;case 3:i.bottom=k(S())+f.marginV+"px",i.left=f.marginH+"px",c(f.interval),f.interval=u(f.actionNoShow,250);break;case 4:i.bottom=k(S())+f.marginV+"px",i.right=f.marginH+"px",c(f.interval),f.interval=u(f.actionNoShow,250);break;case 5:i.top=k(E())+f.marginV+"px",i.left=(t.innerWidth-f.width)/2+"px";break;case 6:i.bottom=k(S())+f.marginV+"px",i.left=(t.innerWidth-f.width)/2+"px";break;case 7:i.top=(t.innerHeight-e.po.h)/2+"px",i.right=f.marginH+"px";break;case 8:i.top=(t.innerHeight-e.po.h)/2+"px",i.left=f.marginH+"px";break;case 9:if(w){i.top=(t.innerHeight-e.po.h)/2+"px";var n=parseInt(i.width)/2,o=t.innerWidth/2+"px";i.left=parseInt(o)-n+"px"}else i.top=(t.innerHeight-e.po.h)/2+"px",i.left=(t.innerWidth-f.width)/2+"px"}_4sjq3(f.target).css(i),(Q||e.livestream&&e.livestreamRepo)&&_4sjq3(ye).css(i),f.floating=!0,f.showCloseButton(),null!==f.closingX&&"1"===f.closingX.dataset.show&&(f.closingX.style.display=""),f.resizeAdPlayer(),Q||e.livestream||(ye.style.opacity=0,Ce.style.opacity=0),e.isFullscreeEnabled&&(Pe.cornerFullscreenButton.style.display="none",f._4sRepositionFullscreen.style.display="block")},repositionOnAdInterval:null,lastRemainingTime:-1,stopCheckRepositionOnAd:function(){t.clearInterval(f.repositionOnAdInterval),f.lastRemainingTime=-1,Re("%c 4SDex ","background: #444; color: #bada55","Reposition interval check stop")},checkRepositionOnAd:function(){f.stopCheckRepositionOnAd(),f.repositionOnAdInterval=t.setInterval((function(){if(f.adsManager){var e,t=f.adsManager.getRemainingTime();try{e=f.adsManager.getCurrentAd().getDuration()}catch(i){e=t}f.lastRemainingTime!==t&&t!==e&&(f.lastRemainingTime=t,f.showIfInView())}}),250),Re("%c 4SDex ","background: #444; color: #bada55","Reposition interval check start")},showIfInView:function(){if(f.repositionRecheck&&void 0!==t.fluidRepoMode){var i=t.fluidRepoMode;switch(f.repositionRecheckPosition){case 0:case 1:case 2:case 3:case 4:i=f.repositionRecheckPosition}switch(i){case 1:case 2:case 3:case 4:0===f.positionRepo&&_4sjq3(t).scroll(f.showIfInView),f.positionRepo=i;break;default:f.positionRepo=0}}if(e.pauseOnOutOfView>0)if(f.isElementInView(_4sjq3(f.monitoring,s),f.viewabilityRatio)){if(!f.autoPaused)return;!f.playingAd||1!==e.pauseOnOutOfView&&3!==e.pauseOnOutOfView||(f.adsManager.resume(),f.autoPaused=!1),f.playingAd||2!==e.pauseOnOutOfView&&3!==e.pauseOnOutOfView||(ye.play(),f.autoPaused=!1)}else!f.playingAd||1!==e.pauseOnOutOfView&&3!==e.pauseOnOutOfView||(f.adsManager.pause(),f.autoPaused=!0),f.playingAd||ye.paused||2!==e.pauseOnOutOfView&&3!==e.pauseOnOutOfView||(ye.pause(),f.autoPaused=!0);else 0!==f.positionRepo&&(Pe.isFullscreen?f.actionShow():f.playingAd||e.livestream?f.isElementInView(_4sjq3(f.monitoring,s),f.viewabilityRatio)?f.actionShow():f.actionNoShow():f.actionShow())},isElementInView:function(e,i){if(0===e.length)return!1;let n=_4sjq3(t).scrollTop(),o=null!==s.doctype?n+_4sjq3(t).height():n+t.screen.height,a=_4sjq3(e,s).offset().top,r=Math.max(_4sjq3(e,s).height(),1),l=a+r;return!(a>o||l<n)&&(a>=n&&l<=o||(a<n?l-n:o-a)/r>i)},createCloseX:function(){var i=f.target;e.popOutClose&&(i=Pe.videoDiv),f.closingX=_4sjq3("<div>",{id:"closingX"}).css({display:"none",top:"-20px",right:"4px",position:"absolute","z-index":"101"}).appendTo(i)[0],f.closingX.innerHTML="<a id='closingLink4s' style='color:#000;text-decoration:none;font-weight:bold;' href='#'><img src='"+Se+"close.png' style='border:0;width:18px;height:18px;'/></a>",_4sjq3(f.closingX).on("click tap",(function(){return L("event","close_button_clicked"),e.reloadVideo=!1,_4sjq3(t).off("scroll",f.showIfInView),f.stopCheckRepositionOnAd(),f.actionShow(),f.closingX.remove(),f.changeVolume(0),e.popOutClose&&(f.removed=!0,Pe.containerDiv.remove()),!1}))},showCloseButton:function(){0!==f.closeXtimer&&(f.createCloseX(),t.setTimeout((function(){f.closingX.dataset.show="1",(f.floating||e.popOutClose)&&(f.closingX.style.display="")}),1e3*f.closeXtimer),f.closeXtimer=0)},showPlayer:function(){f.targetElement.style.display="none",f.setNoPlayingAd(),f.actionShow(),Q&&Fe.paused(),e.playOnNoAd||!f.firstPlay?(jt.adDone=!0,Gt()):!e.playOnNoAd&&f.firstPlay&&Fe.paused(),f.firstPlay=!1,t.fluidAdTerminated&&"function"==typeof t.fluidAdTerminated&&t.fluidAdTerminated(),Re("Callback on ad terminated")},showAds:function(){f.targetElement.style.display="",f.setPlayingAd(),f.adPlayed=!0,f.showIfInView(),Q&&Fe.playing(),t.fluidAdStarted&&"function"==typeof t.fluidAdStarted&&t.fluidAdStarted(),f.showUpcomingVideo(),Re("Callback on ad start")},checkPlayerInView:function(){return f.isElementInView(_4sjq3(f.monitoring,s),f.viewabilityRatio)},startIfInView:function(){f.checkPlayerInView()&&(_4sjq3(t).off("scroll",f.startIfInView),f.adStart())},tabVisible:function(){return!d.hidden},startIfTabInView:function(){if(!f.removed){if(!f.tabVisible())return jt.isPageActive=!1,void Re("Page not visible");if(e.inView){if(!f.checkPlayerInView())return jt.isPageActive=!1,void Re("Player not visible");_4sjq3(t).off("scroll",f.startIfTabInView)}jt.isPageActive=!0,f.adStart()}},adStart:function(){function i(){if(f.tagHelper.clearCustomParamsObject(),f.breakingNews){if(!Ie.playAds)return jt.adDone=!0,Pe.imaDiv.style.display="none",void(Q&&Fe.playing());f.tagHelper.pushCustomParams("camp","breaking")}f.sensitivity||(f.adsRequest.adTagUrl=f.tagHelper.getTag(e.tag,f.videoPageUrl),f.adsRequest.adTagUrl+="&cmsid="+f.cmsid+"&vid="+f.videoId),f.breakingNews&&(f.adsRequest.adTagUrl+="&ciu_szs=320x50,468x60"),""!==_&&(f.adsRequest.adTagUrl=f.adsRequest.adTagUrl+"&gdpr_consent="+_+"&gdfp_req=1&&gdfp=1",f.adsRequest.adTagUrl.replace("&gdfp_req=0","")),e.tnc&&t.__tnc&&t.__tnc.tncid&&(f.adsRequest.adTagUrl=f.adsRequest.adTagUrl+"&ppid="+t.__tnc.tncid),e.addIabParameters&&(f.adsRequest.adTagUrl+=`&vpa=${se}&vpmute=${+ye.muted}&plcmt=${e.plcmt}`,ae&&(f.adsRequest.adTagUrl+=`&vid_d=${ae}`)),f.adsRequest.adTagUrl=Oe.getPreBidAdTag(f.adsRequest.adTagUrl,et),Re("%c 4SDex ","background: #006; color: #bada55","Ad requested"),f.adsLoader.requestAds(f.adsRequest),jt.adDone=!1,f.audioOn=!1}f.waitForBreakingNews||f.videoExpired||f.playingAd||f.adsLoader&&(je.checkCapabilities(),f.adsLoader.contentComplete(),ze.reset(),ze.showExecute=i,ze.aps=De.askForBid((function(){Re("%c 4SDex ","background: #EC912D; color: #bada55","APS Bid received"),ze.aps=!0,ze.show()})),ze.preBid=Oe.makeRequest(e.preBid.bidders,f.tagHelper.getAdUnitFromTag(e.tag),et,(function(){Re("%c 4SDex ","background: #555; color: #bada55","PreBid Bid received"),ze.preBid=!0,ze.show()})),ze.startTimeout(),Re("%c 4SDex ","background: #333; color: #bada55","PreBid Timeout started"))},adStop:function(){try{f.adsManager.stop()}catch(e){Re(e)}},changeVolume:function(e){void 0!==f.adsManager&&null!==f.adsManager&&f.adsManager.setVolume(e)},lastResizeWidth:-1,lastResizeHeight:-1,resizeAdPlayer:function(){null===f.adsManager||f.targetElement.offsetWidth===f.lastResizeWidth&&f.targetElement.offsetHeight===f.lastResizeHeight||(f.lastResizeWidth=f.targetElement.offsetWidth,f.lastResizeHeight=f.targetElement.offsetHeight,f.adsManager.resize(f.targetElement.offsetWidth,f.targetElement.offsetHeight,we.ima.ViewMode.NORMAL))},checkForCreativeAudioOn:function(){function t(e,t){if(Array.isArray(t))for(let i=0;i<t.length;i++)t[i]&&e.push(t[i].toString());else t&&e.push(t.toString())}function i(e,i){for(let n=0;n<i.length;n++)t(e,i[n])}if(e.audioOnCreativeId&&f.adsManager&&!je.autoplayRequiresMuted){var n=f.adsManager.getCurrentAd(),o=[];if(i(o,[n.getAdId(),n.getCreativeAdId(),n.getCreativeId(),n.getWrapperAdIds(),n.getWrapperCreativeIds()]),Re(o),"string"==typeof e.audioOnCreativeId)return o.indexOf(e.audioOnCreativeId)>-1;if(Array.isArray(e.audioOnCreativeId))return e.audioOnCreativeId.some((function(e){return o.indexOf(e)>-1}))}return!1},start:function(){function i(e){We.sendPrerollEnd(),f.showPlayer();const t=e.getError();r.warn(t),Re("%c adsManager ","background: #222; color: #ccc",t),L("ad_error","Error code: "+t.data.errorCode)}function n(){f.adsManager.resume()}function o(t){try{ie&&!je.autoplayRequiresMuted||f.checkForCreativeAudioOn()?(f.audioOn=!0,f.changeVolume(e.volumeValue)):f.audioManualChange&&1===f.volumeStatus?(f.audioOn=!0,f.changeVolume(e.volumeValue),Re("Preroll audio on by user")):(f.audioOn=!1,f.changeVolume(0))}catch(e){f.audioOn=!1,f.changeVolume(0)}n()}Q?(we.ima.settings.setVpaidMode(we.ima.ImaSdkSettings.VpaidMode.ENABLED),we.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0)):we.ima.settings.setVpaidMode(we.ima.ImaSdkSettings.VpaidMode.INSECURE),we.ima.settings.setNumRedirects(8);var a,l=new we.ima.AdDisplayContainer(this.targetElement,ye);function d(a){var s=new we.ima.AdsRenderingSettings;if(s.restoreCustomPlaybackStateOnAdBreakComplete=!0,K||(s.loadVideoTimeout=1e4),f.adsManager=a.getAdsManager(ye,s),e.moat){var r={partnerCode:"skysppimavideo677550661428",viewMode:we.ima.ViewMode.NORMAL,slicer1:"",slicer2:""};Re("Loading Moat..."),t.initMoatTracking(f.adsManager,r,f.targetElement)}if(e.ias){var d={anId:ee,campId:"640x480",chanId:f.tagHelper.getAdUnitFromTag(e.tag),pubOrder:"Video orders",pubId:"Direct",placementId:"Video Line Items",pubCreative:"",ias_xps:e.noAuto?"clicktoplay":"autoplayed",ias_xpb:"1",ias_xar:"0"};t.googleImaVansAdapter.init(we,f.adsManager,ye,d)}f.adsManager.addEventListener(we.ima.AdErrorEvent.Type.AD_ERROR,i),f.adsManager.addEventListener(we.ima.AdEvent.Type.LOADED,m),f.adsManager.addEventListener(we.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,h),f.adsManager.addEventListener(we.ima.AdEvent.Type.CLICK,n),f.adsManager.addEventListener(we.ima.AdEvent.Type.PAUSED,u),f.adsManager.addEventListener(we.ima.AdEvent.Type.RESUMED,p),f.adsManager.addEventListener(we.ima.AdEvent.Type.IMPRESSION,o),f.adsManager.addEventListener(we.ima.AdEvent.Type.STARTED,c),f.adsManager.addEventListener(we.ima.AdEvent.Type.SKIPPED,Nt),f.adsManager.addEventListener(we.ima.AdEvent.Type.COMPLETE,Nt),f.adsManager.addEventListener(we.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,b),f.adsManager.addEventListener(we.ima.AdEvent.Type.ALL_ADS_COMPLETED,A);try{l.initialize(),f.adsManager.init(f.targetElement.offsetWidth,f.targetElement.offsetHeight,we.ima.ViewMode.NORMAL),f.changeVolume(0),f.adsManager.start()}catch(e){}}function c(t){Ut.play(0),We.sendPrerollStart(),e.ipsos&&(s.dispatchEvent(Xe),s.dispatchEvent(Qe)),o(),f.manageCompanion(t)}function u(t){var i=!1;try{i="HyperTv"===t.getAd().getAdSystem()}catch(e){}i||(e.debug||f.autoPaused?Ut.pause():n())}function p(){if(/*!mobile || */!s.hidden){var t=this.getCurrentAd().getDuration()-this.getRemainingTime();Ut.play(t)}e.ipsos&&s.dispatchEvent(Ke)}function A(i){if(We.sendPrerollEnd(),e.ipsos&&s.dispatchEvent(Ge),"function"==typeof t.blockChainEvents){var n=-1;try{var o=i.getAd(),a=o.getWrapperCreativeIds();n=a.length?a.join(","):o.getCreativeId()}catch(e){}var r={eventType:"preroll-view",timestamp:Date.now(),videoId:n};t.blockChainEvents(r)}y()}function m(e){var t=e.getAd();w=!(t.getVastMediaWidth()>t.getVastMediaHeight())}function h(){ye.pause(),e.isFullscreeEnabled&&v(),g()}function g(){f.showAds(),f.resizeAdPlayer(),f.checkRepositionOnAd()}function y(){_4sjq3(t).scroll(f.showIfInView),f.stopCheckRepositionOnAd(),f.showPlayer()}function b(){Ut.stop(),y(),jt.adDone=!0,Gt(),e.isFullscreeEnabled&&C()}function v(){Pe.fullscreen.cornerButton.style.display="block"}function C(){Pe.fullscreen.cornerButton.style.display="none"}function x(){f.playingAd&&(t.clearTimeout(a),a=t.setTimeout(f.resizeAdPlayer,50))}function _(){Pe.isFullscreen?f.adsManager.resize(t.screen.width,t.screen.height,we.ima.ViewMode.NORMAL):f.resizeAdPlayer(),f.actionShow()}f.adsLoader=new we.ima.AdsLoader(l),Q&&f.adsLoader.getSettings().setDisableCustomPlaybackForIOS10Plus(!0),f.adsLoader.addEventListener(we.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,d,!1),f.adsLoader.addEventListener(we.ima.AdErrorEvent.Type.AD_ERROR,i,!1),f.adsRequest=new we.ima.AdsRequest,f.adsRequest.linearAdSlotWidth=f.targetElement.offsetWidth,f.adsRequest.linearAdSlotHeight=f.targetElement.offsetHeight,f.adsRequest.nonLinearAdSlotWidth=f.targetElement.offsetWidth,f.adsRequest.nonLinearAdSlotHeight=f.targetElement.offsetHeight,window.addEventListener("resize",x),this.targetElement.onmouseover=function(){!e.audioOnHoverAdv||je.autoplayRequiresMuted||f.audioManualChange||(f.changeVolume(e.volumeValue),1==e.muted&&f.volumeButtonAdvOn())},this.targetElement.onmouseout=function(){!e.audioOnHoverAdv||je.autoplayRequiresMuted||f.audioManualChange||!f.audioOn&&f.changeVolume(0)},e.isFullscreeEnabled&&(s.onfullscreenchange=_,s.onwebkitfullscreenchange=_,s.onmozfullscreenchange=_),We.sendPlayerReady(),e.pageInView?(jt.isPageActive=!1,e.inView&&_4sjq3(t).on("scroll",f.startIfTabInView),s.addEventListener("visibilitychange",f.startIfTabInView,!1),f.startIfTabInView()):e.inView?(_4sjq3(t).scroll(f.startIfInView),f.startIfInView()):f.adStart(),e.popOut&&f.showCloseButton()}};function g(e){let t=s.querySelector(".grippy-host");return!!t&&(!!/\d/.test(t.parentElement.style[e])&&t.parentElement)}function b(){return g("top")}function v(){return g("bottom")}function x(e){for(let t=0;t<e.length;t++){let i=s.querySelector(e[t]);if(i)return i}return!1}function E(){let e=x(Y);return e||b()}function S(){let e=x(J);return e||v()}function k(e){if(e){if("inScreen"===e.id||"p_dhtmlm1_mobile"===e.id||"standard_2"===e.id){let t;switch(e.id){case"inScreen":case"standard_2":t=e.querySelector("iframe[id*='seedtag_creative_']");break;case"p_dhtmlm1_mobile":t=e.getElementsByTagName("iframe")[0]}return t?t.offsetHeight:0}if(e.getElementsByTagName("iframe")[0]?.offsetWidth>0){if(e.hasAttribute("data-anchor-status")){return"displayed"==e.getAttribute("data-anchor-status")?e.offsetHeight:0}return e.offsetHeight}return 0}return 0}function T(){ye.addEventListener("ended",(function(){if(Ut.stop(),!f.playingAd&&!1!==e.reloadVideo&&(0!==f.positionRepo||e.forcePlayNext))if(e.scrollPlaylist){var t=qe.getNext();Bt(t.url,t.item,t.title,!0)}else f.adStart()}))}function M(){var e;if(void 0!==s.hidden)e="visibilityState";else if(void 0!==s.mozHidden)e="mozVisibilityState";else if(void 0!==s.msHidden)e="msVisibilityState";else{if(void 0===s.webkitHidden)return;e="webkitVisibilityState"}var t=!1,i=function(){if(!f.removed)if("hidden"===s[e])try{if(f.playingAd)return;ye.paused||(t=!0,ye.pause())}catch(e){}else if(ye.paused&&t)try{ye.play(),t=!1}catch(e){}};s.addEventListener("visibilitychange",i,!1)}e.reloadVideo&&(T(),e.preventPauseOnHide||M());if(e.livestream&&e.livestreamAdRoll>0){let t=e.livestreamAdRoll;ye.onplay=function(){let i=u((function(){t--}),1e3),n=p((function(){ye.currentTime>0&&!ye.paused&&!ye.ended&&ye.readyState>2&&(f.adStart(),c(i),t=e.livestreamAdRoll)}),1e3*t);ye.onpause=function(){c(i),A(n)}}}function R(e){let t=s.createElement("div");t.innerHTML=e.innerHTML,t.innerHTML=t.innerHTML.replace(/ /g," ");let i=t.querySelectorAll("script"),n=i.length,o=t.querySelectorAll('[style="display:none"]'),a=o.length,r=t.querySelectorAll("noscript"),l=r.length,d=t.querySelectorAll("style"),c=d.length;for(var u=0;u<n;u++)i[u].parentElement.removeChild(i[u]);for(var p=0;p<l;p++)r[p].parentElement.removeChild(r[p]);for(var A=0;A<a;A++)o[A].parentElement.removeChild(o[A]);for(var m=0;m<c;m++)d[m].parentElement.removeChild(d[m]);return t.textContent}if(!a)return r.warn("Video feed is not defined: "+a);if("string"!=typeof a)return r.warn("syndication must be a string");let B=re;!1===e.reloadVideo&&V();function V(){let e=0;function t(){e++,ye.removeEventListener("ended",t),ye.addEventListener("play",i)}function i(){ye.removeEventListener("play",i),ye.addEventListener("ended",t),e>1&&f.adStart()}t()}let O,z,D,j,q,N,H,W=function(e,t,i){let n=e.getElementsByTagName(i);return n.length||(n=e.getElementsByTagName(t+":"+i)),n},U=function(e){return"UK"===e?{arsenal:"gunners",brighton:"hove albion",seagulls:"brighton",leeds:"whites",united:"utd",man:"manchester",manchester:"red devils",newcastle:"magpies",sheffield:"blades",spurs:"tottenham",tottenham:"lilywhites",lilywhites:"spurs",bromwich:"brom",baggies:"brom",brom:"wba",wanderers:"wolverhampton",wolverhampton:"wolves",hammers:"ham",celtic:"bhoys",rangers:"gers"}:{}},G=!1;var X=(Z=ne,"UK"===Z?["a","about","above","above","across","after","afterwards","again","against","all","almost","alone","along","already","also","although","always","am","among","amongst","amoungst","amount","an","and","another","any","anyhow","anyone","anything","anyway","anywhere","are","around","as","at","away","back","be","became","because","become","becomes","becoming","been","before","beforehand","behind","being","below","beside","besides","between","beyond","bill","both","bottom","but","by","call","can","cannot","cant","co","con","could","couldnt","cry","de","describe","detail","do","done","down","due","during","each","eg","eight","either","eleven","else","elsewhere","empty","enough","etc","even","ever","every","everyone","everything","everywhere","except","few","fifteen","fify","fill","find","fire","first","five","for","former","formerly","forty","found","four","from","front","full","further","get","give","go","had","has","hasnt","have","he","hence","her","here","hereafter","hereby","herein","hereupon","hers","herself","him","himself","his","how","however","hundred","ie","if","in","inc","indeed","interest","into","is","it","its","itself","keep","last","latter","latterly","least","less","ltd","made","many","may","me","meanwhile","might","mill","mine","more","moreover","most","mostly","move","much","must","my","myself","name","namely","neither","never","nevertheless","next","nine","no","nobody","none","noone","nor","not","nothing","now","nowhere","of","off","often","on","once","one","only","onto","or","other","others","otherwise","our","ours","ourselves","out","over","own","part","per","perhaps","please","put","rather","re","same","see","seem","seemed","seeming","seems","serious","several","she","should","show","side","since","sincere","six","sixty","so","some","somehow","someone","something","sometime","sometimes","somewhere","still","such","system","take","ten","than","that","the","their","them","themselves","then","thence","there","thereafter","thereby","therefore","therein","thereupon","these","they","thick","thin","third","this","those","though","three","through","throughout","thru","thus","to","together","too","top","toward","towards","twelve","twenty","two","un","under","until","up","upon","us","very","via","was","we","well","were","what","whatever","when","whence","whenever","where","whereafter","whereas","whereby","wherein","whereupon","wherever","whether","which","while","whither","who","whoever","whole","whom","whose","why","will","with","within","without","would","yet","you","your","yours","yourself","yourselves","the"]:"DE"===Z||"AT"===Z?["ab","aber","alle","allein","allem","allen","aller","allerdings","allerlei","alles","allmählich","allzu","als","alsbald","also","am","an","and","ander","andere","anderem","anderen","anderer","andererseits","anderes","anderm","andern","andernfalls","anders","anstatt","auch","auf","aus","ausgenommen","ausser","ausserdem","außer","außerdem","außerhalb","bald","bei","beide","beiden","beiderlei","beides","beim","beinahe","bereits","besonders","besser","beträchtlich","bevor","bezüglich","bin","bis","bisher","bislang","bist","bloß","bsp.","bzw","ca","ca.","content","da","dabei","dadurch","dafür","dagegen","daher","dahin","damals","damit","danach","daneben","dann","daran","darauf","daraus","darin","darum","darunter","darüber","darüberhinaus","das","dass","dasselbe","davon","davor","dazu","daß","dein","deine","deinem","deinen","deiner","deines","dem","demnach","demselben","den","denen","denn","dennoch","denselben","der","derart","derartig","derem","deren","derer","derjenige","derjenigen","derselbe","derselben","derzeit","des","deshalb","desselben","dessen","desto","deswegen","dich","die","diejenige","dies","diese","dieselbe","dieselben","diesem","diesen","dieser","dieses","diesseits","dir","direkt","direkte","direkten","direkter","doch","dort","dorther","dorthin","drauf","drin","drunter","drüber","du","dunklen","durch","durchaus","eben","ebenfalls","ebenso","eher","eigenen","eigenes","eigentlich","ein","eine","einem","einen","einer","einerseits","eines","einfach","einführen","einführte","einführten","eingesetzt","einig","einige","einigem","einigen","einiger","einigermaßen","einiges","einmal","eins","einseitig","einseitige","einseitigen","einseitiger","einst","einstmals","einzig","entsprechend","entweder","er","erst","es","etc","etliche","etwa","etwas","euch","euer","eure","eurem","euren","eurer","eures","falls","fast","ferner","folgende","folgenden","folgender","folgendes","folglich","fuer","für","gab","ganze","ganzem","ganzen","ganzer","ganzes","gar","gegen","gemäss","ggf","gleich","gleichwohl","gleichzeitig","glücklicherweise","gänzlich","hab","habe","haben","haette","hast","hat","hatte","hatten","hattest","hattet","heraus","herein","hier","hier","hinter","hiermit","hiesige","hin","hinein","hinten","hinter","hinterher","http","hätt","hätte","hätten","höchstens","ich","igitt","ihm","ihn","ihnen","ihr","ihre","ihrem","ihren","ihrer","ihres","im","immer","immerhin","in","indem","indessen","infolge","innen","innerhalb","ins","insofern","inzwischen","irgend","irgendeine","irgendwas","irgendwen","irgendwer","irgendwie","irgendwo","ist","ja","je","jed","jede","jedem","jeden","jedenfalls","jeder","jederlei","jedes","jedoch","jemand","jene","jenem","jenen","jener","jenes","jenseits","jetzt","jährig","jährige","jährigen","jähriges","kam","kann","kannst","kaum","kein","keine","keinem","keinen","keiner","keinerlei","keines","keineswegs","klar","klare","klaren","klares","klein","kleinen","kleiner","kleines","koennen","koennt","koennte","koennten","komme","kommen","kommt","konkret","konkrete","konkreten","konkreter","konkretes","können","könnt","künftig","leider","machen","man","manche","manchem","manchen","mancher","mancherorts","manches","manchmal","mehr","mehrere","mein","meine","meinem","meinen","meiner","meines","mich","mir","mit","mithin","muessen","muesst","muesste","muss","musst","musste","mussten","muß","mußt","müssen","müsste","müssten","müßt","müßte","nach","nachdem","nachher","nachhinein","nahm","natürlich","neben","nebenan","nehmen","nein","nicht","nichts","nie","niemals","niemand","nirgends","nirgendwo","noch","nun","nur","nächste","nämlich","nötigenfalls","ob","oben","oberhalb","obgleich","obschon","obwohl","oder","oft","per","plötzlich","schließlich","schon","sehr","sehrwohl","seid","sein","seine","seinem","seinen","seiner","seines","seit","seitdem","seither","selber","selbst","sich","sicher","sicherlich","sie","sind","so","sobald","sodass","sodaß","soeben","sofern","sofort","sogar","solange","solch","solche","solchem","solchen","solcher","solches","soll","sollen","sollst","sollt","sollte","sollten","solltest","somit","sondern","sonst","sonstwo","sooft","soviel","soweit","sowie","sowohl","tatsächlich","tatsächlichen","tatsächlicher","tatsächliches","trotzdem","ueber","um","umso","unbedingt","und","unmöglich","unmögliche","unmöglichen","unmöglicher","uns","unser","unser","unsere","unsere","unserem","unseren","unserer","unseres","unter","usw","viel","viele","vielen","vieler","vieles","vielleicht","vielmals","vom","von","vor","voran","vorher","vorüber","völlig","wann","war","waren","warst","warum","was","weder","weil","weiter","weitere","weiterem","weiteren","weiterer","weiteres","weiterhin","weiß","welche","welchem","welchen","welcher","welches","wem","wen","wenig","wenige","weniger","wenigstens","wenn","wenngleich","wer","werde","werden","werdet","weshalb","wessen","wichtig","wie","wieder","wieso","wieviel","wiewohl","will","willst","wir","wird","wirklich","wirst","wo","wodurch","wogegen","woher","wohin","wohingegen","wohl","wohlweislich","womit","woraufhin","woraus","worin","wurde","wurden","während","währenddessen","wär","wäre","wären","würde","würden","z.B.","zB","zahlreich","zeitweise","zu","zudem","zuerst","zufolge","zugleich","zuletzt","zum","zumal","zur","zurück","zusammen","zuviel","zwar","zwischen","ähnlich","übel","über","überall","überallhin","überdies","übermorgen","übrig","übrigens"]:["presto","vedi","test","a","abbastanza","abbia","abbiamo","abbiano","abbiate","accidenti","ad","adesso","affinche","agl","agli","ahime","ahimã¨","ahimè","ai","al","alcuna","alcuni","alcuno","all","alla","alle","allo","allora","altre","altri","altrimenti","altro","altrove","altrui","anche","ancora","anni","anno","ansa","anticipo","assai","attesa","attraverso","avanti","avemmo","avendo","avente","aver","avere","averlo","avesse","avessero","avessi","avessimo","aveste","avesti","avete","aveva","avevamo","avevano","avevate","avevi","avevo","avrai","avranno","avrebbe","avrebbero","avrei","avremmo","avremo","avreste","avresti","avrete","avrà ","avrò","avuta","avute","avuti","avuto","basta","ben","bene","benissimo","berlusconi","brava","bravo","buono","c","casa","caso","cento","certa","certe","certi","certo","che","chi","chicchessia","chiunque","ci","ciascuna","ciascuno","cima","cinque","cio","cioe","cioã¨","cioè","circa","citta","città ","cittã","ciã²","ciò","co","codesta","codesti","codesto","cogli","coi","col","colei","coll","coloro","colui","come","cominci","comprare","comunque","con","concernente","conciliarsi","conclusione","consecutivi","consecutivo","consiglio","contro","cortesia","cos","cosa","cosi","cosã¬","così","cui","d","da","dagl","dagli","dai","dal","dall","dalla","dalle","dallo","dappertutto","davanti","degl","degli","dei","del","dell","della","delle","dello","dentro","detto","deve","devo","di","dice","dietro","dire","dirimpetto","diventa","diventare","diventato","dopo","doppio","dov","dove","dovra","dovrà ","dovrã","dovunque","due","dunque","durante","e","ebbe","ebbero","ebbi","ecc","ecco","ed","effettivamente","egli","ella","entrambi","eppure","era","erano","eravamo","eravate","eri","ero","esempio","esse","essendo","esser","essere","essi","ex","fa","faccia","facciamo","facciano","facciate","faccio","facemmo","facendo","facesse","facessero","facessi","facessimo","faceste","facesti","faceva","facevamo","facevano","facevate","facevi","facevo","fai","fanno","farai","faranno","fare","farebbe","farebbero","farei","faremmo","faremo","fareste","faresti","farete","farà ","farò","fatto","favore","fece","fecero","feci","fin","finalmente","finche","fine","fino","forse","forza","fosse","fossero","fossi","fossimo","foste","fosti","fra","frattempo","fu","fui","fummo","fuori","furono","futuro","generale","gente","gia","giacche","giorni","giorno","giu","già ","giã","gli","gliela","gliele","glieli","glielo","gliene","governo","grande","grazie","gruppo","ha","haha","hai","hanno","ho","i","ie","ieri","il","improvviso","in","inc","indietro","infatti","inoltre","insieme","intanto","intorno","invece","io","l","la","lasciato","lato","lavoro","le","lei","li","lo","lontano","loro","lui","lungo","luogo","là ","lã","ma","macche","magari","maggior","mai","male","malgrado","malissimo","mancanza","marche","me","medesimo","mediante","meglio","meno","mentre","mesi","mezzo","mi","mia","mie","miei","mila","miliardi","milioni","minimi","ministro","mio","modo","molta","molti","moltissimo","molto","momento","mondo","mosto","nazionale","ne","negl","negli","nei","nel","nell","nella","nelle","nello","nemmeno","neppure","nessun","nessuna","nessuno","niente","no","noi","nome","non","nondimeno","nonostante","nonsia","nostra","nostre","nostri","nostro","novanta","nove","nulla","nuovi","nuovo","o","od","oggi","ogni","ognuna","ognuno","oltre","oppure","ora","ore","osi","ossia","ottanta","otto","paese","parecchi","parecchie","parecchio","parte","partendo","peccato","peggio","per","perche","perchã¨","perchè","perché","percio","perciã²","perciò","perfino","pero","persino","persone","perã²","però","piedi","pieno","piglia","piu","piuttosto","piã¹","più","po","pochissimo","poco","poi","poiche","possa","possedere","posteriore","posto","potrebbe","preferibilmente","presa","press","prima","primo","principalmente","probabilmente","promesso","proprio","puo","pure","purtroppo","puã²","può","qua","qualche","qualcosa","qualcuna","qualcuno","quale","quali","qualunque","quando","quanta","quante","quanti","quanto","quantunque","quarto","quasi","quattro","quel","quella","quelle","quelli","quello","quest","questa","queste","questi","questo","qui","quindi","quinto","realmente","recente","recentemente","registrazione","relativo","riecco","rispetto","salvo","sara","sarai","saranno","sarebbe","sarebbero","sarei","saremmo","saremo","sareste","saresti","sarete","sarà ","sarã","sarò","scola","scopo","scorso","se","secondo","seguente","seguito","sei","sembra","sembrare","sembrato","sembrava","sembri","sempre","senza","sette","si","sia","siamo","siano","siate","siete","sig","solito","solo","soltanto","sono","sopra","soprattutto","sotto","spesso","srl","sta","stai","stando","stanno","starai","staranno","starebbe","starebbero","starei","staremmo","staremo","stareste","staresti","starete","starà ","starò","stata","state","stati","stato","stava","stavamo","stavano","stavate","stavi","stavo","stemmo","stessa","stesse","stessero","stessi","stessimo","stesso","steste","stesti","stette","stettero","stetti","stia","stiamo","stiano","stiate","sto","su","sua","subito","successivamente","successivo","sue","sugl","sugli","sui","sul","sull","sulla","sulle","sullo","suo","suoi","tale","tali","talvolta","tanto","te","tempo","terzo","th","ti","titolo","torino","tra","tranne","tre","trenta","triplo","troppo","trovato","tu","tua","tue","tuo","tuoi","tutta","tuttavia","tutte","tutti","tutto","uguali","ulteriore","ultimo","un","una","uno","uomo","va","vai","vale","vari","varia","varie","vario","verso","vi","via","vicino","visto","vita","voi","volta","volte","vostra","vostre","vostri","vostro","ã¨","è"]);var Z;const $=U(ne);void 0!==l?(G=!0,N="",H="",null!==s.querySelector(l.text_id)?N=R(s.querySelector(l.text_id)):r.warn("_4sTextKeys.text_id is not defined correctly"),null!==s.querySelector(l.title_id)?H=R(s.querySelector(l.title_id)):r.warn("_4sTextKeys.title_id is not defined correctly")):r.warn("_4sTextKeys object is not defined");z=t.location.href,z=z.replace(/[\W0-9_\s]/g," "),O=G?N:"",D=G?H:"";let te=function(e,t){return e.find((function(e){return e.toLowerCase()===t.toLowerCase()}))},oe=function(e){return Object.keys($).forEach((function(t){let i=$[t];void 0===te(e,t)?void 0!==te(e,i)&&e.push(t):e.push(i)})),e},de=function(t){e.contextualEngine&&t.sort((function(e,t){return t.score-e.score||ue(t.item.creation_date)-ue(e.item.creation_date)})),B>t.length&&(B=t.length);let i=[];for(let e=0;e<B;e++)i.push({url:t[e].url,title:t[e].title,poster:t[e].poster,type:t[e].type,item:t[e].item});return i};function ue(e){var t=e.split(" ")[0].split("/");return t[2]+"-"+t[1]+"-"+t[0]}let Ae=function(t){e.contextualEngine&&(t.score=0,t.keys=t.keys.filter((function(e){return!!e&&(!((e=e.replace(/[\W0-9_]/g,"")).length<3)&&X.indexOf(e.toLowerCase())<0)})),t.keys.length>0&&(t.keys=t.keys.map((function(e){return e.replace(/[\W0-9_\s]/g,"")})),t.keys=oe(t.keys),t.keys=t.keys.join("| ").replace("+",""),j=new RegExp(t.keys,"gi"),t.score+=10*(z.match(j)||[]).length,D&&(t.score+=20*(D.match(j)||[]).length),O&&(t.score+=1*(O.match(j)||[]).length)))},me=function(e){q=W(e,"video","video"),q=_4sjq3(q).toArray(),q=q.map((function(e){let t={keys:[]};t.url=W(e,"video","content_loc")[0].textContent,t.poster=W(e,"video","thumbnail_loc")[0].textContent,t.title=W(e,"video","title")[0].textContent,t.keys=t.keys.concat(t.title.split(/,| |-|_/).filter(Boolean)),t.description=W(e,"video","description")[0].textContent,t.keys=t.keys.concat(t.description.split(/,| |-|_/).filter(Boolean)),t.tags=_4sjq3(W(e,"video","tag")).toArray();for(var i=0;i<t.tags.length;i++)t.keys.push(t.tags[i].textContent);return t.item=e,t.type="xml",Ae(t),t})),q=de(q),Ot(i,q)};function he(e){let t={keys:[]};if(e.hls_url){let i=e.hls_url.replace(m+"sky-data.s3-eu-west-1.amazonaws.com"+m+"videodemand-vh.akamaihd.net/i/encoded",m+"videodemand-vh.akamaihd.net/i/encoded");i=i.replace(m+"sky-data.s3-eu-west-1.amazonaws.com"+m+"/",m+"videodemand-vh.akamaihd.net/i/encoded/"),t.url=i}else t.url=e.pageUrl;return t.poster=e.videoStillMedium||e.videoStill||e.still_medium||e.still||e.video_still_medium||e.video_still||"",e.from_date||(t.from_date=e.create_date),e.valFrom&&(e.from_date=new Date(1e3*e.valFrom).toLocaleString("it-IT").replace(",",""),t.from_date=new Date(e.valFrom).toLocaleDateString("en-US")),e.valTo&&(e.end_date=new Date(1e3*e.valTo).toLocaleString("it-IT").replace(",","")),t.title=e.title,t.keys=t.keys.concat(t.title.split(/[\W0-9_\s]/).filter(Boolean)),t.description=e.description,t.description&&(t.keys=t.keys.concat(t.description.split(/[\W0-9_\s]/).filter(Boolean))),e.tag?t.keys=t.keys.concat(e.tag.split(/[\W0-9_\s]/).filter(Boolean)):t.keys=t.keys.concat(e.tags||[]),t.item=e,t.type="json",Ae(t),t}let fe=function(e){q=e.map(he),itemsfiltered=q.filter((e=>1!==e.item.featured_content)),itemsorder=de(itemsfiltered),q=q.filter((e=>1===e.item.featured_content)),q=q.concat(itemsorder),Ot(i,q)};"verticalVideoLayout"!==e.playerLayout&&e.search&&xe(K?Pe.search.mobileElement:Pe.search.element);function ge(e,t,i){var n;return function(){var o=this,a=arguments,s=function(){n=null,i||e.apply(o,a)},r=i&&!n;A(n),n=p(s,t),r&&e.apply(o,a)}}function xe(t){t.addEventListener("input",ge(o,750));var n=null;function o(i){let n,o=t.value;!o||o.length<3||Mt.search(o,{facetFilters:["enabled:true","premium:false","valFrom > TIMESTAMP","valTo > TIMESTAMP"],filters:e.searchTags}).then((function(e){n=e.hits.map((function(e){const t={secure:1,id:parseInt(e.objectID.substring(1)),hls_url:""};return Object.assign(e,t)})),a(i,n)}))}function a(e,o){let a=t.value;Pe.search.loading.style.display="block",Pe.search.layer.style.display="block";let s=a.split(" ");n&&A(n),n=p((function(){let t=o.map((function(e){let t=0;for(let i=0;i<s.length;i++)s[i].length&&e.title.toLowerCase().includes(s[i].toLowerCase())&&t++;return t}));if(o.length)for(let e=0;e<o.length;e++)o[e].weight=t[e];if(1===o.length&&o.push({id:0,creation_date:"",description:null,duration:"",end_date:"",from_date:"",geob:0,hls_url:"",section:"",subsection:"",sub_subsection:"",secure:0,thumb:"",still:"",still_medium:"",tag:"",title:"",owner_id:1,owner_name:"",vid_url:"",ignore:!0}),0===o.length)return void Ve();let n=o.map(he);n=_e(n).slice(0,re),zt(i,n),e.target&&e.target.focus(),o.length&&Me(s),Re(s)}),500)}Pe.search.deleteButton.addEventListener("click",(function(){t.value="",t.blur(),!1===e.showCarousel||1===q.length?Pe.carousel.owlContainer.style.display="none":zt(i,q)})),Ee(t)}function _e(e){e.sort((function(e,t){return t.item.score-e.item.score}));let t=[];for(let i=0;i<e.length;i++)t.push({url:e[i].url,title:e[i].title,poster:e[i].poster,type:e[i].type,item:e[i].item});return t}function Ee(e){let t="#FFFFFF",i="#2A2A2A";function n(){e.classList.add("focusedSearch"),e.style.border="none",e.style.backgroundColor=t,e.style.caretColor="#00aecb",e.style.color="black",e.style.width="95%",Pe.search.searchButton.style.backgroundColor=t,Pe.search.deleteButton.style.backgroundColor=t,Pe.search.deleteButton.style.display="block",Pe.search.deleteButton.style.visibility="visible",Pe.search.searchIcon.style.fill=i,Pe.search.deleteIcon.style.fill=i}function o(){e.value.length>0||(e.classList.remove("focusedSearch"),e.style.border="none",e.style.width="95%",e.style.backgroundColor=i,Pe.search.searchIcon.style.fill=t,Pe.search.deleteIcon.style.fill=t,Pe.search.searchButton.style.backgroundColor=i,Pe.search.deleteButton.style.backgroundColor=i,Pe.search.deleteButton.style.visibility="hidden")}K?(e.addEventListener("focus",(function(){Pe.search.searchIcon.style.fill=i,e.style.backgroundColor=t,Pe.search.deleteButton.style.display="block",Pe.search.deleteButton.style.visibility="visible",Pe.search.deleteIcon.style.fill=i,Pe.search.deleteIcon.style.visibility="visible"})),e.addEventListener("blur",(function(){e.value.length>0||(Pe.search.searchIcon.style.fill=t,e.style.backgroundColor=i,Pe.search.deleteIcon.style.fill=t,Pe.search.deleteIcon.style.visibility="hidden",Pe.search.deleteButton.style.visibility="hidden")}))):(e.addEventListener("focus",n),e.addEventListener("blur",o),Pe.search.searchButton.addEventListener("click",n),Pe.search.searchButton.addEventListener("blur",o),Pe.search.deleteButton.addEventListener("click",o))}function Me(e){p((function(){let t=s.querySelectorAll(".caption4s"),i=[];for(let t=0;t<e.length;t++)e[t].length&&(i.push(e[t].toLowerCase()),Re(e[t]));for(let i=0;i<t.length;i++)for(let n=0;n<e.length;n++){let o=t[i],a=o.innerHTML,s=a.toLowerCase().indexOf(e[n]);s>=0&&e[n].length>=3&&(a=a.substring(0,s)+"<span style='background-color: #00aecb;'>"+a.substring(s,s+e[n].length)+"</span>"+a.substring(s+e[n].length),o.innerHTML=a)}Pe.search.loading.style.display="none",Pe.search.layer.style.display="none"}),500)}function Ve(){Pe.carousel.owlContainer.remove();let t=s.createElement("div");Pe.carousel.owlContainer=t,t.innerHTML="Sorry, no results found! Try again.",K?(t.setAttribute("style","position:relative;width:163px;top:35px;height:142px;color:white;line-height:14px;text-align:left;margin:auto;margin-bottom:-38px;"),t.appendChild(Pe.search.owlContainerIcon),Pe.fluidLogo.style.bottom="14px"):(t.setAttribute("style","position:relative;width:163px;top:29px;height:94px;color:white;line-height:14px;text-align:left;margin:auto;"),t.appendChild(Pe.search.owlContainerIcon)),t.style.fontFamily=e.uiConfig.titleTextType,Pe.carousel.container.appendChild(t),Pe.search.loading.style.display="none",Pe.search.layer.style.display="none"}let Je=function(e){let t={url:e.streaming_url,poster:e.pre_event.img,title:e.title,description:"",item:{contatore:0,creation_date:e.last_modify_date,description:"",duration:0,end_date:e.last_modify_date,from_date:e.last_modify_date,geob:e.geoblock,hls_url:e.streaming_url,id:e.asset_id,section:e.channel,secure:e.secure,still:e.pre_event.img,still_medium:e.pre_event.img,sub_subsection:e.type,subsection:e.type,tag:e.channel,thumb:e.pre_event.img,title:e.title,vid_url:e.streaming_url}},n=[];n.push(t),Ot(i,n)};const tt=(at=h,at.split("").reduce((function(e,t){return(e=(e<<5)-e+t.charCodeAt(0))&e}),0));var at;var lt,ut={url:tt+"4s_feed_url",time:tt+"4s_feed_time",value:tt+"4s_feed_value"};function pt(e,t){Ht.setItem(e.url,a),Ht.setItem(e.time,(new Date).getTime()),Ht.setItem(e.value,t)}try{if(Ht.getItem(ut.url)===a){let e=12e4,t=Ht.getItem(ut.time);((new Date).getTime()-1*t||e)<e&&(lt=Ht.getItem(ut.value))}}catch(e){lt=!1}function At(t){let i;if(e.livestream){let e=t.replace("getLive(","").replace(");","");return i=JSON.parse(e),void Je(i)}if(e.useJsonFeed)return i=JSON.parse(t),Pe.search.feedData=i,void fe(i);me(this.responseXML)}if(lt)p((function(){At(lt)}),1);else{const e=new t.XMLHttpRequest;e.onreadystatechange=function(){if(4===this.readyState&&200===this.status){let e=this.responseText;pt(ut,e),At(e)}},e.open("GET",a,!0),e.send()}function ht(e,t,i){var n;if(e.country=(n=e.hls_url).indexOf("-sport-de/")>0?"DE":n.indexOf("uatapi.condatis.sky/")>0?"UAT":n.indexOf("-sport-gb/")>0||n.indexOf("-news-gb/")>0?"UK":"IT","IT"===e.country){let n=e.id,o=m+"apid.sky.it/vdp/v1/getVideoData"+"?id="+n+"&caller=dex";_4sjq3.getJSON(o).then((function(n){t(n.hls_url,e,i,!0)}))}"DE"!==e.country&&"AT"!==e.country||_4sjq3.ajax({url:e.hls_url,beforeSend:function(e){e.setRequestHeader("X-SkyGDP-Proposition","fluid"),e.setRequestHeader("X-SkyGDP-Platform","web"),e.setRequestHeader("X-SkyGDP-Territory","DE"),e.setRequestHeader("Authorization","a261fc69a85b46ce9e67c5e07ac32cf3")},success:function(n,o,a){t(n.hls,e,i,!0)},complete:function(e,t){Re(e.status)}}),"UK"===e.country&&_4sjq3.ajax({url:e.hls_url,beforeSend:function(e){e.setRequestHeader("X-SkyGDP-Proposition","fluid"),e.setRequestHeader("X-SkyGDP-Platform","web"),e.setRequestHeader("X-SkyGDP-Territory","GB"),e.setRequestHeader("Authorization","07d206394b694208b4cfefd514ae837e")},success:function(n,o,a){t(n.hls,e,i,!0)},complete:function(e,t){Re(e.status)}}),"UAT"===e.country&&_4sjq3.ajax({url:e.hls_url,beforeSend:function(e){e.setRequestHeader("X-SkyGDP-Proposition","fluid"),e.setRequestHeader("X-SkyGDP-Platform","web"),e.setRequestHeader("X-SkyGDP-Territory","GB"),e.setRequestHeader("Authorization","b8fe3d7531b349d7838ebe464f1cdac6")},success:function(n,o,a){t(n.hls,e,i,!0)},complete:function(e,t){Re(e.status)}})}var ft=null;function bt(e,t,i,n){t.id===ft&&(t&&t.secure&&!n?ht(t,bt,i):(We.setPayload(t),jt.contentReady=!1,qt(t),e?(ve.loadSource(e),ve.attachMedia(ye)):He.show()))}function wt(e,t,i,n){t.id===ft&&(t&&t.secure&&!n?ht(t,wt,i):(We.setPayload(t),Le.setAttribute("src",e),ye.setAttribute("src",e),i&&ye.load()))}function Ct(t){if(e.subtitlesEnabled){var i=ye.getElementsByTagName("track");if(i.length>0)for(let e=0;e<i.length;e++)ye.textTracks[e].mode="hidden",i[e].setAttribute("src",null),ye.removeChild(i[e]);if(void 0!==t.vtt_file&&t.vtt_file){let e=s.createElement("track");e.setAttribute("kind","captions"),e.setAttribute("srclang","it"),e.setAttribute("default",!0),e.setAttribute("src",t.vtt_file),ye.appendChild(e),ye.textTracks[0].mode="showing"}}}var xt={id:null,payload:null,text:null,adStart:null,time:null,playing:!1};function _t(e){if(void 0!==e.end_date)try{var t=e.end_date.split(" "),i=[t[0].split("/").reverse().join("/"),t[1]].join(" ");i=new Date(i);var n=new Date;if(i.getTime()<n.getTime())return!0}catch(e){}return!1}function kt(e){return!!e.sensitivity}function Lt(){const e=y.rightContainer.offsetHeight;let t=1;for(const i in pe){if(!(e>=parseInt(i)))break;t=pe[i].items}return t}const Pt=Lt(),Rt=y.rightContainer.offsetHeight/Pt;function Bt(t,i,n,a){var r,l;if(o=!0,function(e){if(!e)return;if("number"==typeof e)return void(ae=e);e.length<8&&(e="00:"+e);let[t,i,n]=e.split(":");ae=60*+t*60+60*+i+ +n}(i.duration),(i.logoUrl||e.logo)&&(Pe.mainLogo&&("a"===Pe.mainLogo.parentElement.tagName?Pe.mainLogo.parentElement.remove():Pe.mainLogo.remove(),Pe.mainLogo=Te),r=i.logoUrl||e.logo,l=i.logoUrl?i.logoLink:e.logoLink,Pe.videoDiv.appendChild(St(r,l))),i.restriction){if(o=!1,!e.user_country)return He.show();if(!i.restriction.includes(e.user_country))return He.show()}if(e.ipsos){let e=new CustomEvent("_4sAddVideoItem",{detail:i});s.dispatchEvent(e)}f.videoExpired=_t(i),f.videoExpired&&He.show(),f.sensitivity=kt(i),Ut.createSession(),Ut.setPayload(i),Ut.setContent(),Wt.setPayload(i),Ye.setPayload(i),f.videoId=i.id,f.cmsid=i.cmsid||e.cmsid,f.videoPageUrl=e.mcm?le:encodeURIComponent(i.page_url||"")||le,f.upcomingVideo.title=i.title,f.upcomingVideo.image=i.still_medium,f.breakingNews=!!i.breakingNews,xt.playing||(xt.id=t,xt.payload=i,xt.text=n,xt.adStart=a),ft=i.id,It?bt(t,i):wt(t,i,a),function(e){let t=e;K&&(t=Ne(e,39)),s.getElementById(F).innerHTML=t}(n),Ct(i),f.sensitivity||a&&(e.clickToPlay?f.firstPlay():f.adStart())}var Vt=!1;function Ot(i,n,o){o=void 0===o||o;let a=function(e,t){let i=e.getAttribute("value"),n=_4sjq3(e).data("payload"),a=_4sjq3(e).data("plid");e.addEventListener("click",(function(){He.hide(),f.playingAd||(qe.current=a,o.noAuto=!1,Bt(i,n,t,!0))}))};function r(t,i){if(t.item.ignore)return;const n=s.createElement("div"),o=s.createElement("img");function r(){Pe.carousel.owlContainer.appendChild(n)}n.setAttribute("value",t.url),"json"===t.type&&_4sjq3(n).data("payload",t.item),_4sjq3(n).data("plid",i),n.style.cursor="pointer",o.setAttribute("class","picla"),"carouselLayout"==e.playerLayout&&r(),e.fixedTitle||(o.dataset.labelFadein=""),o.dataset.labelClass="caption4s",o.setAttribute("title",t.title),o.setAttribute("alt",e.fixedTitle?Ne(t.title,39):t.title),o.setAttribute("src",t.poster),o.setAttribute("loading","lazy"),o.width=100,o.height=100,n.appendChild(o),0!==e.playButton&&""!==t.url&&n.appendChild(yt(ot)),a(n,t.title)}function l(t,i){if(t.item.ignore)return;const n=s.createElement("div");n.classList.add("playlistItem"),n.style.position="relative";const o=s.createElement("img");"json"===t.type&&_4sjq3(n).data("payload",t.item),n.setAttribute("value",t.url),n.style.border="2px solid black";s.querySelectorAll(".playlistItem").forEach((e=>{e.style.height=Rt+"px"})),_4sjq3(n).data("plid",i),n.style.cursor="pointer",o.setAttribute("src",t.poster),o.setAttribute("loading","lazy"),o.style.width="100%",o.style.height=Rt+"px",o.style.borderTop="3px solid black";const r=d.createElement("div");r.style.position="absolute",r.style.backgroundColor="black",r.style.opacity="0.7",r.style.bottom="-3px",r.style.width="100%",r.style.height="40%",r.style.boxSizing="border-box",r.style.color="rgb(255, 255, 255)",r.style.fontFamily="Roboto, Arial, helvetica, sans-serif";const l=e.fixedTitle?Ne(t.title,38):t.title;r.textContent=l,r.setAttribute("title",l),r.style.fontSize="12px",r.style.textAlign="left",r.style.padding="3px",r.style.overflow="hidden",r.style.textOverflow="ellipsis",n.appendChild(r),n.appendChild(o),0!==e.playButton&&""!==t.url&&n.appendChild(yt(ot)),y.thumbPlaylist.appendChild(n),a(n,t.title)}function c(){if(qe.items=n,qe.current=0,It||ye.appendChild(Le),n.length>1)"verticalCarouselLayout"!==e.playerLayout?A():p(),void 0!==Pe.fluidLogo&&(Pe.fluidLogo.style.bottom="-24px",_4sjq3(Pe.fluidLogo).appendTo(Pe.carousel.container)),Wt.setPrivacyLink(Pe.carousel.container,!0),We.setPlayerType(!1);else if(1===n.length&&e.search)void 0!==Pe.fluidLogo&&(Pe.fluidLogo.style.bottom="-24px",_4sjq3(Pe.fluidLogo).appendTo(Pe.carousel.container)),Wt.setPrivacyLink(Pe.carousel.container,!0),We.setPlayerType(!0);else{var i=(Pe.containerDiv.getAttribute("class")||"")+" vidcar4sW";Pe.containerDiv.setAttribute("class",i),"verticalVideoLayout"!==e.playerLayout&&(Pe.carousel.container.style.display="none"),Wt.setPrivacyLink(Pe.videoDiv,!1),We.setPlayerType(!0)}K&&e.search?Pe.containerDiv.style.marginBottom="56px":Pe.containerDiv.style.marginBottom="18px",t._4sPicla(_4sjq3,e.uiConfig),Vt=!0,L("event","carousel_loaded",{videoId:I,isSingleVideo:!1===e.showCarousel||1===n.length||"verticalVideoLayout"===e.playerLayout})}function u(){We.load(),Ue(),o&&Bt(n[0].url,n[0].item,n[0].title,!1)}function p(){for(let e=0;e<n.length;e++)l(n[e],e)}function A(){for(let e=0;e<n.length;e++)r(n[e],e);_4sjq3(Pe.carousel.owlContainer).owlCarousel({nav:!0,navText:["<",">"],margin:2,dots:!1,responsive:{200:{items:2},380:{items:3},490:{items:4}},responsiveBaseElement:be})}function m(){if(u(),e.clickToPlay){Pe.imaDiv.style.display="none";let e=Q?"loadedmetadata":"canplay";ye.addEventListener(e,(function t(){ye.removeEventListener(e,t),Q?(ye.currentTime=.1,Fe.playing()):vt(),We.sendPlayerReady(),ye.addEventListener("play",f.firstPlay)}))}else o&&f.advSetup()}function h(e,t){!t||"tcloaded"!==e.eventStatus&&"useractioncomplete"!==e.eventStatus||(Re("CMP","Loaded"),m(),__tcfapi("removeEventListener",2,(function(e){e&&Re("CMP","listener removed")}),e.listenerId))}function g(){let t=0;function i(){t=Math.max(t-1,0),a()}function o(){t=Math.min(t+1,n.length-1),a()}function a(){f.adStart(),Bt(n[t].url,n[t].item,n[t].title,!1)}let r=s.createElement("button");r.setAttribute("class","_4sSwipeLeft _4sBtn"),r.setAttribute("type","button"),r.style.background="none",r.style.width="30px",r.style.height="30px",r.appendChild(st),r.addEventListener("click",i);let l=s.createElement("button");l.setAttribute("class","_4sSwipeRight _4sBtn"),l.setAttribute("type","button"),l.style.background="none",l.style.width="30px",l.style.height="30px",l.appendChild(rt),l.addEventListener("click",o),"verticalVideoLayout"==e.playerLayout&&(C.appendChild(r),C.appendChild(l))}function b(){let t=0;function i(){t=(t+1)%n.length,o()}function o(){f.adStart(),Bt(n[t].url,n[t].item,n[t].title,!1)}let a=s.createElement("button");a.setAttribute("class","_4splayNext _4sBtn"),a.setAttribute("type","button"),a.style.width=.1*C.offsetWidth,a.style.height=.1*C.offsetWidth,dt.style.width=.25*C.offsetWidth,dt.style.height=.25*C.offsetWidth,a.addEventListener("click",i),"carouselLayout"==e.playerLayout&&(C.appendChild(a),a.appendChild(dt))}f.advSetup=function(){f.setup(e.widthRepo,e.heightRepo,i,e.marginV,e.marginH,e.reposition,e.closeXtimer)},f.firstPlay=function(){e.clickToPlay&&(ye.removeEventListener("play",f.firstPlay),e.clickToPlay=!1,ye.pause(),Pe.imaDiv.style.display="",f.advSetup())},n.length>1&&g(),c(),e.cmp&&"function"==typeof t.__tcfapi?(t.__tcfapi("addEventListener",2,h),e.cmp=!1):m(),n.length>1&&!e.showCarousel&&b()}function zt(e,t){Pe.carousel.owlContainer.remove();let i=s.createElement("div");Pe.carousel.owlContainer=i,i.setAttribute("class","owl-carousel owl-theme"),i.id="owl-carousel_"+P,Pe.carousel.container.appendChild(i),Ot(e,t,!1)}var Dt=null;function Nt(t){if(Ie&&Ie.playAds&&Ie.adCountdown&&xt.playing){let t=1e3*Ie.adCountdown,i=function(){ye.currentTime>0&&!ye.paused&&!ye.ended&&ye.readyState>2&&(f.adStart(),Pe.imaDiv.style.top=K||Q?"14px":"34px",A(Dt),Dt=p(i,t)),ye.paused&&(A(Dt),Dt=p(i,t))};Dt=p(i,t),e.ipsos&&s.dispatchEvent(Ze)}else A(Dt),t.type}var Ft=[],Xt=[];function Kt(t){u((function(){$t(e.breakingNews,!1),"function"==typeof t&&t()}),e.breakingNewsUpdateTime)}function Qt(){if(Zt()){var i,n,o,a,r,l,d,m,h,g,y,b={liveStream:e.livestream,liveStreamRepo:e.livestreamRepo},v=Te(ce),w=T(ce,v);w.videoContainer.addEventListener("loadedmetadata",(function(){xt.playing&&xt.time&&(this.currentTime=xt.time)}));var C,x,_={};Q||(_.volumeRangeContainer=w.volumeRangeContainer.offsetTop),Ie=M(),Ie||(f.breakingNewsInitialized=!0);var E,S=null,k=!1,L=!1;Kt((function(){let e=Ie;if(Ie=M(),S&&e.id===Ie.id){if(e.endAt!==Ie.endAt)if(Ie.endAt<=ce.timestamp())be(i);else{let e=1e3*(Ie.endAt-ce.timestamp());A(x),x=p(ve,e)}e.startAt!==Ie.startAt&&(Ie.startAt>=ce.timestamp()?be(i):Re("This event should start now..."))}else S&&be(i),Ie&&(Ie&&!k&&j(),(Ie&&!S||Ie.id!==S)&&N())})),ce.isMobile()&&t.addEventListener("orientationchange",(function(){Ie&&p((function(){Ee()}),400)})),j(),N()}function T(e,t){let i={primaryContainer:Pe.videoDiv,secondaryContainer:Pe.carousel.container,videoContainer:Pe.contentVideo,controlBarContainer:Pe.controlBar.mainContainer,controlBarProgressContainer:Pe.controlBar.progress,volumeRangeContainer:Pe.volume.rangeContainer,videoTimerContainer:Pe.timer.container,carouselContainer:Pe.carousel.owlContainer,topContainer:s.createElement("div"),bottomContainer:s.createElement("div")};return i.topContainer.id=t.id.topContainer,e.applyCSS(i.topContainer,t.css.topContainer),i.primaryContainer.insertAdjacentElement("afterbegin",i.topContainer),i.bottomContainer.id=t.id.bottomContainer,e.applyCSS(i.bottomContainer,t.css.bottomContainer),null!=i.secondaryContainer&&i.secondaryContainer.insertAdjacentElement("afterbegin",i.bottomContainer),i}function I(){C&&(c(C),C=null)}function M(){let e=ce.filterEligibleItems(Ft),t=ce.filterEligibleItems(e,{a:"startAt",b:"endAt"},"startAt","asc");if(!t.length)return!1;t=t.filter((function(e){return-1===Xt.indexOf(e.id)}));let i=t[0];for(let e=0;e<t.length;e++){let n=t[e];i.endAt<=n.startAt||(i.startAt>=n.endAt||n.priority>i.priority&&(Re("item id "+n.id+" has the priority over item "+i.id),Xt.push(i.id),i=n))}return Object.freeze(i)}function R(e){ce[e](w.topContainer),ce.isElementVisible(w.carouselContainer)||(Pe.fluidLogoImage.style.bottom=K?"-20px":"-24px"),V()&&(ce[e](w.bottomContainer),ce.isElementVisible(w.carouselContainer)||(Pe.fluidLogoImage.style.bottom=K?"-30px":"-55px"),"show"!==e||f.floating||(ce.moveTop(Pe.imaDiv,v.css.videoAdTopPosition),ce.moveBottom(Pe.imaDiv,v.css.videoAdBottomPosition),jt.canPlay()&&(ce.moveTop(w.videoContainer,v.css.videoAdTopPosition),ce.moveBottom(w.videoContainer,v.css.videoAdBottomPosition)),f.resizeAdPlayer())),ie(O())}function B(){let e="#e21919",t="#b10102",n=Ie.bg_start||e,o=Ie.bg_end||t,a=/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i;a.test(n)||(n=e),a.test(o)||(o=t),ce.applyCSS(i,{backgroundColor:n,backgroundImage:"linear-gradient(to right, "+n+" 0%, "+o+" 100%)"})}function V(){return xt.playing}function O(){return!!C}function z(){jt.canPlay()||V()?R("show"):R("hide"),D()}function D(){0!==Ft.length&&Ie||(Re("all have expired"),c(E),k=!1)}function j(){k=!0,E=u(z,500)}function q(){if(S===Ie.id)return;let e=!1;S=Ie.id,Ce(),Ie.countdown?(Ie.countdownAt>=ce.timestamp()||Ie.countdownAt<Ie.startAt)&&(Ie.startAt>=ce.timestamp()?F():Ie.forceStart&&_e()):Ie.forceStart?(_e(),e=!0):Ie.forceStart||re(),ce.show(i),e||(f.breakingNewsInitialized=!0),Ae(),B()}function N(){if(!Ie)return;let e=Ie.startAt,t=Ie.endAt,i=Ie.countdown,n=Ie.countdownAt,o=ce.timestamp(),a=0;t>=o&&(a=i?n-o:e-o),a>0?(p(q,1e3*a),f.breakingNewsInitialized=!0):q()}function F(){let e=Ie.startAt-ce.timestamp();function t(){e<=0&&(I(),te(),ce.hide(d.parentElement),ce.show(r),Ie.forceStart?(Re("update title"),_e()):(Re("show return to video link at this moment"),H())),e-=1,d.innerHTML=e<=9?"0"+e:e}ce.show(a,"inline-block"),Ie.forceStart||ce.hide(l),d.innerHTML=e,te(""),e<=0?t():C=u((function(){t()}),1e3)}function H(){ce.show(l,"inline-block")}function W(){let e=s.createElement("div");return ce.applyCSS(e,v.css.breakingNewsItem),e.classList.add(v.class.breakingNewsItem.substr(1)),e}function U(){let e=s.createElement("div");return ce.applyCSS(e,v.css.breakingNewsItemLabel),e}function G(){let e=s.createElement("div");return ce.applyCSS(e,v.css.breakingNewsItemLabelText),e.innerHTML="●"+(K?"":" ULTIM'ORA"),n.appendChild(e),e}function X(){let e=s.createElement("div");return ce.applyCSS(e,v.css.breakingNewsItemTextContainer),e.classList.add(v.class.breakingNewsItemTextContainer.substr(1)),e}function Z(){let e=s.createElement("span");return ce.applyCSS(e,v.css.breakingNewsItemText),e}function J(){let e=s.createElement("span");return ce.applyCSS(e,v.css.breakingNewsItemText),e.classList.add(v.class.breakingNewsItemText.substr(1)),e}function Y(){let e=s.createElement("a");return ce.applyCSS(e,v.css.breakingNewsItemPlay),e.classList.add(v.class.breakingNewsItemPlay.substr(1)),e.href="#",e.innerHTML=Ie.play_text,e.onclick=function(e){return e.preventDefault(),!!jt.canPlay()&&(_e(),ce.hide(this),!1)},e}function $(){return ee(s.createElement("span"))}function ee(e){if(e.classList.add(v.class.breakingNewsItemCountdown.substr(1)),L||(a.appendChild(r),L=!0),Ie.countdown)if(ce.applyCSS(e,v.css.breakingNewsItemCountdown),ce.timestamp()>Ie.countdownAt&&ce.timestamp()>Ie.startAt)te();else{let t=s.createElement("span"),i=s.createTextNode(" "+Ie.countdown_suffix);e.innerHTML=Ie.countdown;let n=s.createTextNode("secondi ");te(Ie.title),[i,e,n].map((function(e){t.appendChild(e)})),a.appendChild(t)}else te(),ce.show(r),a.appendChild(e),ce.hide(e);return e}function te(e){e=(e=e||Ie.title).trim().concat(" "),r.innerHTML=Ne(e,200)}function ie(e){if(e=e||!1,void 0===ye)return;if(void 0===n)return;if(void 0===m)return;if(void 0===h)return;if(void 0===l)return;if(void 0===y)return;let t,i,o=w.videoContainer.offsetWidth,s=n.offsetWidth;xt.playing?(t=m.offsetWidth,i=h.parentElement.offsetWidth):(t=l.offsetWidth,i=y.offsetWidth);let c=o-s-t-i,u=ce.isMobile()?30:40,p=c-u,A={whiteSpace:null,overflow:null,textOverflow:null,width:null,display:null},f={};if(e&&d.parentElement){let e=d.parentElement.offsetWidth;A={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"inline-block",maxWidth:Math.round(p-e)-u/2+"px",marginRight:"5px",fontSize:v.css.breakingNewsItemCountdown.fontSize,minWidth:null,width:null,paddingTop:ce.isMobile()?"3px":null},f=Object.assign({},A),delete f.width,delete f.maxWidth,delete f.minWidth,delete f.marginRight}ce.applyCSS(r,A),ce.applyCSS(a,{maxWidth:p+"px",minWidth:null,width:null,paddingRight:"5px",paddingTop:"5px"}),ce.applyCSS(d.parentElement,f)}function ne(){let e=s.createElement("a");return ce.applyCSS(e,v.css.bottomItemStop),e.classList.add(v.class.bottomItemStop.substr(1)),e.href="#",e.innerHTML=Ie.return_to_previous_text,e.onclick=function(e){return jt.canPlay()?(ce.show(l,"inline-block"),ce.hide(this),be(),e.preventDefault(),!1):(e.preventDefault(),!1)},e}function oe(){[a,l,m].map((function(e){o.appendChild(e),ce.hide(e)})),ae()}function ae(){se(),re()}function se(){if(Ie.countdown){Ie.startAt-ce.timestamp()<=0?(ce.hide(d),ce.show(a,"inline-block"),re(l,m)):(ce.hide(l),ce.show(d,"inline-block"))}else ce.show(d,"inline-block"),ce.show(a,"inline-block"),ce.hide(m)}function re(){Ie.forceStart?le():(ce.show(l,"inline-block"),ce.hide(m))}function le(){if(Ie.countdown){Ie.startAt-ce.timestamp()<=0&&ce.show(m),ce.hide(m)}}function de(){let e=s.createElement("img"),t=ce.isMobileSmallest()?"8px":"16px";return ce.applyCSS(e,{height:ce.isMobile()?t:"20px"}),e}function ue(e){h.src=e}function pe(){let e=s.createElement("div");return e.classList.add(v.class.breakingNewsItemCloseButton.substr(1)),e.innerHTML="×",ce.applyCSS(e,v.css.breakingNewsItemCloseButton),ce.isMobile()&&ce.applyCSS(e,{marginTop:"3px"}),e.onclick=function(e){return Xt.push(Ie.id),be(i),e.preventDefault(),!1},e}function Ae(){ce.moveLeft(o,ce.isMobile()?"31px":"91px"),void 0!==Ie.flash_label?Ie.flash_label?ce.show(n):(ce.hide(n),ce.moveLeft(o,"1px")):ce.show(n)}function me(){let e=ce.isMobileSmallest()?"25%":"20%";return Ae(),ce.float.left(n,ce.isMobile()?e:"90px",v.css.breakingNewsItemLabelContainer)}function he(){let e=ce.isMobileSmallest()?"45%":"50%",t=ce.float.left(o,ce.isMobile()?e:"50%");return t.classList.add(v.class.breakingNewsItemTextContainer.substr(1)+"-left"),t}function fe(){let e=ce.float.right(g,"",v.css.breakingNewsItemCloseButtonContainer);return e.classList.add(v.class.breakingNewsItemCloseButtonContainer.substr(1)),ce.isMobile()&&ce.applyCSS(e,{height:"28px"}),e}function ge(){return ce.float.right(h,"",v.css.breakingNewsLogoContainer)}function be(t){e.search&&(Pe.search.container.style.display="initial"),f.videoTopPosition=0,f.videoBottomPosition=0,ce.hide(t||h),Le(),I(),A(Dt),e.livestream=b.liveStream,e.livestreamRepo=b.liveStreamRepo,f.actionShow(),t&&(S=null)}function ve(){be(i),p((function(){Ie=M(),N()}),2e3)}function we(){let e=s.createElement("div"),t=s.createElement("div");return Pe.companionDiv=e,Pe.companionPlaceHolder=t,ce.applyCSS(e,v.css.companionItem),ce.applyCSS(t,v.css.companionItemInner),e.appendChild(t),e}function Ce(){if(!Ie)return;let e=1e3*(Ie.endAt-ce.timestamp());if(x=p(ve,e),void 0!==i)return ae(),void ee(d);i=W(),n=U(),G(),o=X(),a=J(),r=Z(),l=Y(),d=$(),m=ne(),h=de(),ce.hide(h),g=pe(),y=fe();let t=we();oe(),[me(),he(),y,ge(),ce.float.clear()].map((function(e){i.appendChild(e)})),w.topContainer.appendChild(i),ce.hide(i),w.bottomContainer.appendChild(t),null!=w.secondaryContainer&&w.secondaryContainer.insertAdjacentElement("afterbegin",w.bottomContainer)}function xe(){xt.time=w.videoContainer.currentTime}function _e(){function t(t){xe(),Se(),te(),A(Dt),Re("Start playing breaking news"),xt.playing=!0;let i=JSON.parse(JSON.stringify(Ie));i.id=i.live_feed_id,i.breakingNews=!0;let n=!!Ie.reposition;e.livestream=n||b.liveStream,e.livestreamRepo=n||b.liveStreamRepo,f.videoTopPosition=v.css.videoAdTopPosition,f.videoBottomPosition=v.css.videoAdBottomPosition,Bt(t,i,Ie.title,Ie.playAds>=1),ce.show(Pe.companionDiv),f.breakingNewsInitialized=!0,w.videoContainer.paused&&w.videoContainer.play(),Ie.returnToPreviousVideo?ce.show(m):ce.hide(m),ce.hide(l),ue(ke+Ie.live_feed_logo),ce.show(h),ce.hide(y)}e.search&&(Pe.search.container.style.display="none"),V()||(Re("Loading URL from APID"),Ie.hls_url?t(Ie.hls_url):(f.waitForBreakingNews=!0,Yt(Ie.source,(function(e){f.waitForBreakingNews=!1;let i=e.streaming_url;i?t(i):Re("Unable to fetch video URL.")}))))}function Ee(){let e=w.controlBarContainer,t=w.videoContainer.offsetTop,i=Pe.isFullscreen?"0px":"-"+Math.abs(t)+"px";s.onfullscreenchange=Ee,s.onwebkitfullscreenchange=Ee,s.onmozfullscreenchange=Ee,ce.applyCSS(e,{bottom:i,top:null})}function Se(){xt.playing||(Q||(w.controlBarContainer.style.zIndex=e.zIndexOnReposition,ce.hidden(w.controlBarProgressContainer),ce.hide(w.videoTimerContainer)),ce.moveTop(w.videoContainer,v.css.videoAdTopPosition),ce.moveBottom(w.videoContainer,v.css.videoAdTopPosition),ce.isElementVisible(w.carouselContainer)&&ce.hidden(w.carouselContainer),Ee(),ce.isMobile()&&ce.applyCSS(w.videoContainer,{width:"100%",height:"100%",zIndex:"1"}))}function Le(){ce.hide(Pe.companionDiv),ce.show(y),xt.playing&&(Bt(xt.id,xt.payload,xt.text,!0),xt.playing=!1),Q||(w.controlBarContainer.style.zIndex=e.zIndexOnReposition,ce.visible(w.controlBarProgressContainer),ce.moveTop(w.volumeRangeContainer,_.volumeRangeContainer),ce.show(w.videoTimerContainer)),ce.visible(w.carouselContainer),ce.moveTop(w.videoContainer,"0px"),ce.moveBottom(w.videoContainer,"0px"),Ee(),ce.isMobile()&&ce.applyCSS(w.videoContainer,{width:"100%",height:"100%",zIndex:"1"})}function Te(t){return{id:{topContainer:"breaking-news-container_"+P,bottomContainer:"breaking-news-bottom-container_"+P},class:{breakingNewsItem:".breaking-news-item",breakingNewsItemText:".breaking-news-item-text",breakingNewsItemTextContainer:".breaking-news-item-text-container",breakingNewsItemPlay:".breaking-news-item-play",breakingNewsItemCountdown:".breaking-news-item-countdown",breakingNewsItemCloseButton:".breaking-news-item-close",breakingNewsItemCloseButtonContainer:".breaking-news-item-close-container",bottomItemStop:".bottom-item-stop"},css:{videoAdTopPosition:t.isMobile()?"14px":"34px",videoAdBottomPosition:t.isMobile()?"-14px":"-34px",topContainer:{fontSize:"12px",display:"block"},bottomContainer:{fontSize:"12px",display:"block"},breakingNewsItem:{fontSize:"12px",fontFamily:e.uiConfig.titleTextType,color:e.uiConfig.titleTextColor,width:"100%",backgroundColor:"#e21919",backgroundImage:"linear-gradient(to right, #e21919 0%, #b10102 100%)",position:"absolute",zIndex:"2147483645",top:t.isMobile()?"-30px":"0px",bottom:"initial",display:"block",height:"34px"},breakingNewsItemLabel:{background:"#fff",borderRadius:"2px",fontSize:t.isMobile()?"11px":"12px",fontWeight:"bold",fontFamily:e.uiConfig.titleTextType,color:"#cf0001",textAlign:"center",display:"block",padding:"0",textTransform:"uppercase",height:"20px",lineHeight:"20px"},breakingNewsItemLabelContainer:{paddingTop:"6px",paddingLeft:"8px",width:t.isMobile()?"30px":"90px",cssFloat:null,position:"absolute",left:"0px"},breakingNewsItemLabelText:{animation:"blinker4sm 1s linear infinite",fontSize:"12px"},breakingNewsItemTextContainer:{paddingTop:t.isMobile()?t.isMobileSmallest()?"8px":"6px":"7px",paddingLeft:"10px",fontSize:t.isMobile()?t.isMobileSmallest()?"10px":"11px":"12px",fontFamily:e.uiConfig.titleTextType,color:e.uiConfig.titleTextColor,position:"absolute",left:t.isMobile()?"31px":"91px",cssFloat:null},breakingNewsItemText:{fontSize:"12px",fontFamily:e.uiConfig.titleTextType,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"inline-block",width:"30%",lineHeight:"10px",paddingTop:"5px"},breakingNewsItemPlay:{fontSize:"12px",fontWeight:"bold",borderBottom:"1px dotted #fff",fontFamily:e.uiConfig.titleTextType,color:e.uiConfig.titleTextColor,textDecoration:"none",display:"inline-block"},breakingNewsItemCountdown:{fontSize:"12px",display:"inline-block",textAlign:"center",width:t.isMobile()?"20px":"26px"},breakingNewsItemCloseButton:{fontFamily:e.uiConfig.titleTextType,color:e.uiConfig.titleTextColor,textAlign:"center",fontSize:t.isMobile()?"24px":"28px",fontWeight:"lighter",lineHeight:t.isMobile()?"21px":"30px",cursor:"pointer"},breakingNewsItemCloseButtonContainer:{paddingRight:"9px",paddingLeft:"9px",textAlign:"center",borderLeft:"1px solid rgba(255, 255, 255, 0.35)",fontSize:"12px",position:"absolute",right:"0px",cssFloat:null},breakingNewsLogoContainer:{position:"absolute",right:"0px",cssFloat:null,fontSize:"12px",top:"6px",paddingRight:"5px",textAlign:"right"},bottomItemStop:{fontSize:"12px",fontWeight:"bold",borderBottom:"1px dotted #fff",fontFamily:e.uiConfig.titleTextType,color:e.uiConfig.titleTextColor,textDecoration:"none",lineHeight:"12px"},companionItem:{textAlign:"center",position:"absolute",width:"100%",zIndex:"2147483647",fontSize:"12px",bottom:"0px",maxHeight:"60px",minHeight:t.isMobile()?"50px":"60px"},companionItemInner:{fontSize:"12px",display:"inline-block"}}}}}function Zt(){return!!Vt||(p(Qt,200),!1)}function Jt(e){let t=(-1!==e.indexOf("?")?"&ac=":"?ac=")+Math.floor(1e6*Math.random());return e+t}function Yt(e,t){const i=new window.XMLHttpRequest;i.onreadystatechange=function(){if(4===this.readyState)if(200===this.status)try{let e=JSON.parse(this.responseText);t.apply(null,[e])}catch(e){Re("JSON data cannot be properly parsed. Please, try again later."),Be(e)}else t.apply(null,[]),Re("No response from streaming url")},i.open("GET",Jt(e),!0),i.send()}function $t(t,i){function n(e){let t=e.split(" "),i=[t[0].split("/").reverse().join("/"),t[1]].join(" ");try{return new Date(i).getTime()/1e3}catch(e){return-1}}function o(e){return e.map((function(t,i){let o=0,a=n(t.from_date),s=n(t.end_date),r=t.title;return t.countdown&&(o=a-t.countdown),K&&(e[i].title=t.mobile_title||r),e[i].play_text=t.play_text||"Guarda la diretta",e[i].countdown_suffix=t.countdown_suffix||"in diretta tra",e[i].return_to_previous_text=t.return_to_previous_text||"Torna ai video",e[i].countdownAt=o,e[i].startAt=a,e[i].endAt=s,e[i].forceStart=t.force_start,e[i].returnToPreviousVideo=t.return_to_previous,e[i].duration=0,e[i].sub_subsection="live",e[i].subsection="live",e[i].section=t.channel,e[i].tag=t.channel,e[i]})).filter((function(e){return e.startAt<e.endAt}))}function a(i){f.breakingNewsInitialized=!0,p((function(){$t(t,i)}),e.breakingNewsUpdateTime)}i=i||!1;const s=new window.XMLHttpRequest;s.onreadystatechange=function(){let e=this;if(4===e.readyState){if(200!==e.status)return a(i);try{let e=JSON.parse(this.responseText);if(!e||"object"!=typeof e||!e.length)return a(i);Ft=o(e),i&&Ft.length?Qt():f.breakingNewsInitialized=!0}catch(e){return Re("JSON data cannot be properly parsed. Please, try again later."),Be(e),a(i)}}},s.open("GET",Jt(t),!0),s.send()}e.breakingNews&&!e.livestream?$t(e.breakingNews,!0):f.breakingNewsInitialized=!0}(et,e.tag,h))}(jt.noAuto=e.noAuto,Pt(Se+"css/karousel_wv.min.css?v008"),e.appendFont&&Pt(m+"fonts.googleapis.com/css?family=Roboto"),Me(m+"ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js",(function(){t._4sjq3=t.jQuery.noConflict(!0),_4sjq3=t._4sjq3,Me(Se+"library.min.js",Bt,!0)}),!0),Me(m+"imasdk.googleapis.com/js/sdkloader/ima3.js",(function(){Rt.player=!0,we=t.google,e.ias&&Me(m+"static.adsafeprotected.com/vans-adapter-google-ima.js",Vt,!0,void 0,Ot),Nt()}),!0),It)&&Me(Se+"hls.min.js?v01416",(function(){Rt.hls=!0,window.exports&&window.exports.Hls&&(window.Hls=window.exports.Hls);let e=window.Hls.DefaultConfig;e.maxBufferLength=1,e.maxBufferSize=1048576,e.maxMaxBufferLength=45,window.Hls.DefaultConfig=e,Nt()}),!0,d);e.search&&Me(m+"cdn.jsdelivr.net/npm/algoliasearch@4.5.1/dist/algoliasearch.umd.js",(function(){try{const e=algoliasearch("FBEOSGRNQ4","7b01c2502d7178c30856b9e34b61b166");Mt=e.initIndex("prod_fluid")}catch(t){e.search=!1}}),!0,d),e.ipsos&&Me(m+"uk-script.dotmetrics.net/Scripts/DotmetricsVideoTracking.js",(function(){var t;Rt.ipsos=!0,(t=new DotmetricsVideoTracking(e.ipsos_organizationId,function(){if(e.ipsos_siteId>0)return e.ipsos_siteId}())).onReady((()=>{!function(i,n){let r=0,l=0,d=0;function c(){new IntersectionObserver((e=>{t.addViewableStateChangeEvent(n.currentTime,e[0].isIntersecting)}),{root:null,rootMargin:"0px",threshold:.5}).observe(n)}c(),s.addEventListener("_4sAddVideoItem",(function(e){a=!0,i.addVideoItem(e.detail.hls_url,e.detail.duration,n.offsetWidth,n.offsetHeight,!0,n.autoplay,n.muted)})),n.addEventListener("timeupdate",(e=>{if(!n.seeking&&o&&a){let e=Math.max(0,n.currentTime-r);i.addToTimeWatched(e),r=n.currentTime}})),n.addEventListener("seeking",(e=>{i.addSeekingEvent(r),r=n.currentTime})),n.addEventListener("play",(()=>{n.seeking||i.addPlayEvent(n.currentTime)})),n.addEventListener("pause",(()=>{n.seeking||i.addPauseEvent(n.currentTime)})),n.addEventListener("ended",(()=>{i.addEndedEvent()})),n.addEventListener("resize",(()=>{n.offsetWidth==l&&n.offsetHeight==d||(i.addResizeEvent(n.currentTime,n.offsetWidth,n.offsetHeight),l=n.offsetWidth,d=n.offsetHeight)})),n.addEventListener("error",(()=>{i.addErrorEvent(n.currentTime)})),n.addEventListener("seeked",(()=>{i.addSeekEndEvent(n.currentTime)})),n.addEventListener("durationchange",(()=>{a&&i.setVideoDuration(n.duration)})),s.addEventListener("_4sAdComplete",(()=>{i.addAdCompleteEvent()})),s.addEventListener("_4sAdStarted",(()=>{i.addAdBlockStartedEvent()})),s.addEventListener("_4sAdClick",(()=>{i.addAdClickEvent()})),s.addEventListener("_4sAdImpression",(()=>{i.addAdImpressionEvent()})),s.addEventListener("_4sAdSkip",(()=>{i.addAdSkippedEvent(e.tag)})),s.addEventListener("_4sMuteState",(()=>{i.addMuteChangeEvent(n.currentTime,!n.muted)})),s.addEventListener("fullscreenchange",(()=>{i.addFullScreenChangeEvent(n.currentTime,Pe.isFullscreen)}))}(t,ye)}))}),!0,d),e.covatic&&Me(m+"browser.covatic.io/sdk/v1/latest.js",(function(){Rt.covatic=!0,Ye.initialize(),Nt()}),!0,s),e.iasPet&&(e.iasPet&&Me(m+"static.adsafeprotected.com/iasPET.1.js",zt,!0,d,Dt),function(){var t,i,n=function(){const e="%3D",t="%26",i="%2C";var n;var o=function(i,n,o){return i.concat(t,n,e,o)};return{parseIASResponseData:function(e){n=JSON.parse(e)},getIASPageTargetingAsQueryString:function(){var e="";e=o(e,"fr",n.fr);for(const t in n.brandSafety)Object.prototype.hasOwnProperty.call(n.brandSafety,t)&&(e=o(e,t,n.brandSafety[t]));return e},getIASSlotTargetingAsQueryString:function(){const a={};for(const s in n.slots){if(!Object.prototype.hasOwnProperty.call(n.slots,s))continue;const r=n.slots[s];let l="";for(const n in r){if(!Object.prototype.hasOwnProperty.call(r,n))continue;const d=r[n];if(Array.isArray(d)){l=l.concat(t,n,e);const o=d.length-1;for(let e=0,t=d.length;e<t;e++){let t=i;e===o&&(t=""),l=l.concat(d[e],t)}}else l=o(l,n,d);a[s]=l}}return a}}}();const o="ad-1";window.__iasPET=window.__iasPET||{},__iasPET.queue=__iasPET.queue||[],__iasPET.pubId=ee;const a=function(e){n.parseIASResponseData(e),t=n.getIASPageTargetingAsQueryString(),i=n.getIASSlotTargetingAsQueryString();const a=t.substr(3)+i[o];Re("IAS PET &cust_params="+a),$e.setIasPetString(a)},s=[{adSlotId:o,size:[1,1],adUnitPath:$e.getAdUnitFromTag(e.tag),type:"video"}];window.__iasPET.queue.push({adSlots:s,dataHandler:a})}());var Ft,Ht=(Ft={getItem:function(){},setItem:function(){}},void 0!==t.Storage?null===t.localStorage?Ft:t.localStorage:Ft);var Wt=new function(i,n){var o=this;if(this.enabled=i,this.setPayload=function(e){},this.setContent=function(){},this.setAdvContent=function(){},this.play=function(e){},this.stop=function(e){},this.pause=function(e){},this.wait=function(e){},this.setAdvInfo=function(e){},this.setPrivacyLink=function(e){},i){this.lastAppId="";var a,r,l,d,h,f,g,y,b,v,w,C=n,x=[],_=!1,E=!1,S=!1;this.setPrivacyLink=function(t,i){if(e.nielsenPrivacy){let e=s.createElement("a");e.href=m+"www.4strokemedia.com/privacy-policy.html",e.rel="nofollow",e.target="_blank",e.text="Player Fluid (informativa privacy)",e.style.position="absolute",e.style.bottom=i?"-20px":"-26px",e.style.fontSize="small",e.style.left="5px",e.style.display="initial",e.style.textDecoration="none",_4sjq3(e).appendTo(t)}},(v=t)[w="NOLBUNDLE"]=v[w]||{nlsQ:function(e,t,i,n,o,a){return(n=(o=v.document).createElement("script")).async=1,n.src=m+"cdn-gl.imrworldwide.com/conf/"+e+".js#name="+t+"&ns="+w,(a=o.getElementsByTagName("script")[0]).parentNode.insertBefore(n,a),v[w][t]=v[w][t]||{g:i||{},ggPM:function(e,i,n,o,a){(v[w][t].q=v[w][t].q||[]).push([e,i,n,o,a])}},v[w][t]}},a=v[w];var k=e.debug?{nol_sdkDebug:"debug"}:{};this.setPayload=function(e){if(E){let e=T();Re("NS EV notify Stop & End ("+e+")"),r.ggPM("stop",e),r.ggPM("end",e)}o.lastAppId=function(e){return"sport"===e.section?"PE8095962-AE61-4250-B2CF-12DA6092A632":"PC286E956-6AFE-42DB-BCDB-144B521610C2"}(e),x[o.lastAppId]||(x[o.lastAppId]=a.nlsQ(o.lastAppId,"SkyVideoPlayer",k)),r=x[o.lastAppId],l=function(e){return 0===e.duration?(S=!0,e.duration=86400):S=!1,{type:"content",assetid:""+e.id,program:e.title.slice(0,100)||"Missing program",title:e.title.slice(0,100)||"Missing program",length:""+L(e.duration),airdate:"19700101 00:00:00",isfullepisode:"y",adloadtype:"2"}}(e)},this.setContent=function(){d!==l&&(r.ggPM("loadMetadata",l),d=l),_=!0},this.setAdvContent=function(){_=!1,c(f)},this.play=function(e){_&&(o.setContent(),A(g),A(y),c(b),E||(h=-1),P(e=T(e)),E=!0,Re("NS EV notifyPlay("+e+")"),c(f),f=u(P,1e3))},this.stop=function(e){_&&(h=-1,c(f),A(g),A(y),c(b),d=null,e=T(e),E=!1,r.ggPM("end",e),Re("NS EV notifyEnd()"))},this.pause=function(e){_&&E&&(A(g),A(y),c(b),g=p((function(){h=-1,d=null,c(f),e=T(e),E=!1,r.ggPM("stop",e),Re("NS EV notifyStop()")})))},this.wait=function(e){_&&E&&(A(g),A(y),c(b),g=p((function(){h=-1,d=null,c(f),e=T(e),E=!1,r.ggPM("stop",e),Re("NS EV notifyStop()"),Q&&(b=u(I,100))})))},C.addEventListener("ended",(function(){Re("NS ended"),_&&o.stop()})),C.addEventListener("pause",(function(){Re("NS pause"),_&&o.pause()})),C.addEventListener("play",(function(){Re("NS play")})),C.addEventListener("playing",(function(){Re("NS playing"),_&&o.play(C.currentTime)})),C.addEventListener("waiting",(function(){Re("NS waiting"),_&&E&&(A(y),y=p(o.wait,250))})),window.addEventListener("beforeunload",(function(e){M()})),window.addEventListener("pagehide",(function(e){M()}))}function L(e){if("string"==typeof e){var t=e.split(":");return 2===t.length?60*t[0]+1*t[1]:3===t.length?3600*t[0]+60*t[1]+1*t[2]:1}return e}function T(e){return S?Math.round((new Date).getTime()/1e3):Math.round(e||_?C.currentTime:0)}function P(e){4===C.readyState&&(e=T(e))!==h&&(r.ggPM("setPlayheadPosition",e),Re("NS setPlayheadPosition("+e+")"),h=e)}function I(){4===C.readyState&&(c(b),Re("NS resume Play"),_&&o.play(C.currentTime))}function M(){if(E){E=!1;var e=T();_||(r.ggPM("stop",e),_=!0),e=T(),r.ggPM("end",e)}}}(e.nielsen,ye);var Ut=new function(t,i,n){var o=this;if(this.enabled=t,this.setPayload=function(e){},this.setContent=function(){},this.setAdvContent=function(){},this.createSession=function(){},this.play=function(e){},this.stop=function(){},this.pause=function(){},this.bufferStart=function(){},this.bufferEnd=function(){},this.seek=function(){},t){var a,s,r,l,c=6034891,u="*null",p=1,A=n===p||n===2,m=n===p||n===3,h=1,f=2,g=3,y=i,b=!1,v=!0,w=h,C=!1,x=!1;this.createSession=function(){x&&(x=!1,o.stop()),S()},this.setPayload=function(e){Re("CS setPayload"),l=E(e),w=h},this.setContent=function(){v=!0,A&&w!==f&&(Re("CS setContent"),w=f,a.setMetadata(l.cmObj))},this.setAdvContent=function(e,t){if(v=!1,m&&w!==g){Re("CS setAdvContent");var i=-1;if(t){try{var n=t.getUniversalAdIdRegistry(),o=t.getUniversalAdIdValue(),s="unknown",d=t.getAdSystem();if("GDFP"===n||"MediaMind"!==d&&n===s||""===o||o===s){var c=t.getWrapperCreativeIds();if(c.length)i=c.join(",");else{var u=t.getCreativeId();u&&(i=u)}}else i=o}catch(e){}/^(?=.*\d)(?=.*[a-zA-Z])[a-zA-Z0-9]{14}$/.test(i)||(i=-1)}var p=new r.AdvertisementMetadata,A=y.currentTime<2?"ON_DEMAND_PRE_ROLL":"ON_DEMAND_MID_ROLL";p.setMediaType(r.AdvertisementMetadata.AdvertisementType[A]),p.setLength(_(e)),p.setUniqueId(i),p.setRelatedContentMetadata(l.cmObj),w=g,a.setMetadata(p)}},this.play=function(e){x=!0,v&&!A||!v&&!m||(v&&b&&(S(),w=h,o.setContent()),a.startFromPosition(Math.round(1e3*e)),a.notifyPlay(),Re("CS EV notifyPlay("+e+")"))},this.stop=function(){x=!1,v&&!A||!v&&!m||(a.notifyEnd(),v&&(b=!0),Re("CS EV notifyEnd()"))},this.pause=function(){x=!1,v&&!A||!v&&!m||(a.notifyPause(),Re("CS EV notifyPause()"))},this.bufferStart=function(){v&&!A||!v&&!m||(a.notifyBufferStart(),Re("CS EV notifyBufferStart()"))},this.bufferEnd=function(){v&&!A||!v&&!m||(a.notifyBufferStop(),Re("CS EV notifyBufferStop()"))},this.seek=function(){x&&(v&&!A||!v&&!m||(a.notifySeekStart(),Re("CS EV notifySeekStart()")))},y.addEventListener("ended",(function(){Re("CS ended"),v&&o.stop()})),y.addEventListener("pause",(function(){Re("CS pause"),v&&o.pause()})),y.addEventListener("play",(function(){Re("CS play")})),y.addEventListener("playing",(function(){Re("CS playing"),v&&o.play(y.currentTime)})),y.addEventListener("seeked",(function(){Re("CS seekd")})),y.addEventListener("seeking",(function(){Re("CS seeking"),v&&o.seek()})),y.addEventListener("waiting",(function(){Re("CS waiting"),v&&o.bufferStart()})),Me(Se+"comscore-JS-7.8.0.2310050509.js",(function(){Rt.comScore=!0,function(){s=window.ns_.analytics,r=s.StreamingAnalytics,s.PlatformApi.setPlatformAPI(s.PlatformApi.PlatformApis.WebBrowser);var t=new s.configuration.PublisherConfiguration({publisherId:c});s.configuration.addClient(t),s.configuration.enableFirstPartyCookie(),e.debug&&s.configuration.enableImplementationValidationMode();s.start(),a=new s.StreamingAnalytics}(),Nt()}),!0,d)}function _(e){if("string"==typeof e){var t=e.split(":");return 2===t.length?1e3*(60*t[0]+1*t[1]):3===t.length?1e3*(3600*t[0]+60*t[1]+1*t[2]):1}return 1e3*e}function E(e){function t(e){return C?u:e}C=0===e.duration,e.from_date||(e.from_date=e.create_date),e.end_date||(e.end_date="01/01/2099 00:00:00");var i,n,o=(i=e.from_date,{y:(n=i.split(" ")[0].split("/"))[2],m:n[1],d:n[0]}),a=function(e){var t=e.split(" ")[1].split(":",2);return{h:t[0],m:t[1]}}(e.from_date),s=function(e){if(C)switch(e.live_feed_id){case 1:default:return"Sky TG24";case 2:return"Cielo";case 4:return"Sky Sport 24";case 7:return"Tv8"}var t="Sky Digital";switch(e.section){case"news":case"virali":case"altro":return t+" News";case"sport":return t+function(e,t){var i=" Calcio - Altro";switch(e){case"formula1":return" Sport - Formula1";case"motogp":return" Sport - Motogp";case"nba":return" Sport - Basket NBA";case"calcio":switch(t){case"serie-a":return" Calcio - Serie A";case"champions-league":return" Calcio - Champions League";case"europa-league":return" Calcio - Europa League";default:return t.endsWith("serie-a")?" Calcio - Serie A":t.endsWith("champions-league")?" Calcio - Champions League":i}case"calcio-estero":return i;default:return e.startsWith("calcio")?i:" Sport - Altro"}}(e.subsection,e.sub_subsection);case"cinema":return t+" Cinema";case"skyatlantic":return t+" Serietv - "+("gomorra-la-serie"===e.subsection?"Gomorra":"Altro");case"skyuno":case"mag":case"tv8":case"arte":case"spettacolo":default:return t+" Entertainment - Altro";case"recensioni":return t+function(e){switch(e){case"olzemusic":return" Entertainment - Altro";case"auto":return" Tecnologia - Auto";default:return" Tecnologia - Altro"}}(e.subsection);case"xfactor":return t+" Entertainment - X Factor";case"masterchef":return t+" Entertainment - Masterchef Italia";case"Italiasgottalent":return t+" Entertainment - Italia's Got Talent";case"lifestyle":return t+" Entertainment - Lifestyle"}}(e),l=function(e,t){if(C)switch(e.live_feed_id){case 1:default:return"362";case 2:return"110";case 7:return"5423"}return t}(e,s),d=_(e.duration),c=t(e.id),p=t(e.title),A=C?1:0,m=C?"fc":"ec",h=C?"to":"df",f=C?0:c,g=new r.ContentMetadata,y={cs_proid:"kwp-it",oce_bpf:"Sky Italia Digital",oce_odt:t("vod"),oce_ctl:p};return g.addCustomLabels(y),g.setStationCode(l),g.setStationTitle(s),g.setProgramId(c),g.setEpisodeId(u),g.setDateOfTvAiring(o.y,o.m,o.d),g.setTimeOfProduction(a.h,a.m),g.setLength(d),g.setMediaFormat(m),g.setDistributionModel(h),g.setMediaType(function(e){return C?r.ContentMetadata.ContentType.LIVE:e<6e5?r.ContentMetadata.ContentType.SHORT_FORM_ON_DEMAND:r.ContentMetadata.ContentType.LONG_FORM_ON_DEMAND}(d)),g.setPublisherName("Sky Italia"),g.setDateOfDigitalAiring(o.y,o.m,o.d),g.setUniqueId(f),g.setDictionaryClassificationC3("Sky Fluid"),g.setDictionaryClassificationC4(C?"Live":"Vod"),g.setDictionaryClassificationC6("Sky Italia Digital"),{cmObj:g,id:f,isLive:A,length:length}}function S(){Re("CS createPlaybackSession"),b=!1,a.createPlaybackSession()}}(e.comScore,ye,e.comScoreMode);function Gt(){jt.canPlay()&&ye.play()}!function(){if(Q)return;let t=ye,i=Pe.playButton,n=s.getElementById(j),o=s.querySelector("#"+I+" ._4sVolumeRange"),a=s.querySelector("#"+I+" ._4sVolume"),r=s.getElementById(B),l=s.querySelector("#"+I+" ._4sProgressRange"),c=s.querySelector("#"+I+" ._4sProgressBuffered"),u=0,p=Pe.playPauseSvg,A=s.getElementById(D);function m(e){return(e-(e%=60))/60+(10<e?":":":0")+Math.floor(e)}t.addEventListener("click",(function(){return t.paused?t.play():t.pause()})),t.addEventListener("pause",vt),t.addEventListener("volumechange",(function(){!0===t.muted?(a.classList.add("_4sVolumeMuted"),A.setAttribute("d",nt)):(a.classList.remove("_4sVolumeMuted"),A.setAttribute("d",it))})),t.addEventListener("playing",(function(){t.volume=e.volumeValue,r.max=t.duration,Fe.playing(),t.style.cursor="",i.classList.contains("_4sPause")||(i.classList.add("_4sPause"),p.setAttribute("d","M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z")),s.getElementsByClassName("_4sDuration")[0].innerHTML=m(t.duration)})),t.ontimeupdate=function(){Pe.video.currentTimer&&(Pe.video.currentTimer.innerHTML=m(t.currentTime),t.duration&&(l.style.width=t.currentTime/t.duration*100+"%"))},K||e.fixedInfoControls||"verticalVideoLayout"===e.playerLayout||function(){let t=s.getElementById(N);e.showAlwaysTitleBar||(t.style.visibility="hidden",t.style.opacity="0",t.style.transition="visibility 2s, opacity 0.2s ease-in");let i=s.getElementsByClassName("_4sControlBarContainer")[0];i.style.visibility="hidden",i.style.opacity="1",i.style.transition="visibility 2s, opacity 0.2s ease-in",i.style.height="34px",e.livestream&&(i.style.zIndex=e.zIndexOnReposition);let n=Pe.containerDiv;function o(e){e.style.visibility="visible",e.style.opacity="1"}function a(e){e.style.visibility="hidden",e.style.opacity="0"}n.addEventListener("mouseover",(function(){e.showAlwaysTitleBar||o(t),o(i)})),n.addEventListener("mouseout",(function(){0===d.querySelectorAll(".focusedSearch").length&&(e.showAlwaysTitleBar||a(t),a(i))}))}(),i.addEventListener("click",(function(){return 0===u&&(u=1,t.onprogress=function(){let e=0,t=this.buffered,i=this.currentTime;for(;!(t.start(e)<=i&&i<=t.end(e));)e+=1;let n=t.start(e)/this.duration,o=t.end(e)/this.duration-n;c.style.width=100*o+"%"}),!0===t.paused?t.play():t.pause()})),a.addEventListener("click",(function(){return s.dispatchEvent(Je),t.muted?t.muted=!1:t.muted=!0})),n.addEventListener("input",(function(i){o.style.width=10*n.value+"%",t.volume=n.value/10,e.volumeValue=t.volume})),r.addEventListener("click",(function(){t.currentTime=r.value,l.style.width=t.currentTime/t.duration*100+"%"})),K&&r.addEventListener("touchend",(function(){t.currentTime=r.value,l.style.width=t.currentTime/t.duration*100+"%"}))}(),Re("%c 4SDex ","background: #333; color: #bada55","Player v221107 loaded")}_4sSyndicationSetup(_4sVidConf);