(function(exoDynamicParams) {!function(){var e,n,t,r;(Array.isArray(window.QueueManager)||void 0===window.QueueManager)&&(window.QueueManager=(e=[],n=[],t=!0,r=function(e,n){Object.prototype.hasOwnProperty.call(e,n)||(e[n]=[])},{enqueue:function(o,u){return t?(r(e,o),e[o].push(u)):(r(n,o),n.push(u)),this},processQueue:function(r,o,u){setInterval((function(){t&&Object.prototype.hasOwnProperty.call(e,r)&&0!==e[r].length&&(t=!1,o(e[r].splice(0)),Object.prototype.hasOwnProperty.call(n,r)&&n.length>0&&(e[r].push(...n[r]),n=[]),t=!0)}),u||50)}}))}();!function(){var e=null===window.AdProvider?[]:window.AdProvider,t="https:",n={syndication:exoDynamicParams.syndication,ads:exoDynamicParams.adsSubdomain,adTypes:exoDynamicParams.domainAdTypes,adNetwork:{name:decodeURIComponent(escape(atob(exoDynamicParams.network))),asyncScriptInfoTag:exoDynamicParams.asyncScriptInfoTag,tcfEnabled:exoDynamicParams.tcfEnabled,hash:exoDynamicParams.hash,shortHash:exoDynamicParams.shortHash}};(Array.isArray(window.AdProvider)||void 0===window.AdProvider)&&(window.AdProvider=function(){var e,r,a,o=[],i=[],s=null,d={container:[],content:[]},c=[],l={},p=0,u=[],f=[],h=[],v=[],m=[],g=null,y=null,w=!1,b=!1,_=["native_ad"],O=[],x=["desktop_fullpage_interstitial","mobile_fullpage_interstitial"],P=[],A=window,C={},z=QueueManager,k=[],R=(a=[],{addOnce:function(e,t){this.has(e)||(a[e]=be(t))},has:function(e){return void 0!==a[e]},getDomain:function(e){if(void 0===a[e])throw new Error("Request id #"+e+" is not registered.");return be(a[e])}}),S=function(e){var t=(new Date).toISOString()+": "+e;console.log(t),P.push(t)};function N(e){var t={};try{t="string"==typeof e.data?JSON.parse(e.data):e.data}catch(e){}var n=t.__tcfapiReturn;n&&"function"==typeof C[n.callId]&&C[n.callId](n.returnValue,n.success)}var I=function(){return{gdpr:0}},E=function(e){return{gdpr:e.gdprApplies?1:0,consent:e.tcString}},H=function(e){return e?m:f},D=function(e,t){for(var n="",r=t||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=0;a{if(t[r]){var a=t[r],o=e.getAttribute(r);Object.prototype.hasOwnProperty.call(a,"toApiParser")&&"function"==typeof a.toApiParser&&(o=a.toApiParser(o)),n[a.apiKey]=o}else if(r.indexOf("data-")>=0){var i=r.replace("data-","");n.custom_targeting[i]=e.getAttribute(r)}}));var r=document.createElement("div");e.parentElement.insertBefore(r,e),V({zone:n,where:r}),e.setAttribute("data-processed",!0)},q=function(e,t){var n=Object.keys(e)[0],r=e[n];switch(n){case"addUnit":V(r);break;case"serve":J(p,r,t);break;default:S("Action not recognized by AdProvider: "+n)}},T=function(e,t){if(void 0===t){for(var n=0;n{t.push("ins.adsby"+e.adNetwork.name+n+":not([data-processed=true])"),t.push("ins.eas"+e.adNetwork.hash+n+":not([data-processed=true])"),t.push("ins.eas"+e.adNetwork.shortHash+n+":not([data-processed=true])")})),t}(e);return t.concat(n)}(e)}(e),n=document.querySelectorAll(t.join(",")),r=0;rDate.now()}));e.cids_viewed=o.map((function(e){return e.cid}))}}(l.user,c);for(var p=["cookieconsent","el","scr_info"],u=0;u{e=t,B(h,l)}))},B=function(t,n){null!==e&&"object"==typeof e&&(n.user.ch_ua=e);try{t.send(JSON.stringify(n))}catch(e){S("error")}},K=function(){for(var e=[],t=["eas"+exoDynamicParams.shortHash+"_impressions"],n=0;n{e(null)}))},G=function(e,t,n,r){S("Request #"+t+" handling the response");var a=JSON.parse(e),o=!1,i=void 0!==a.errors?a.errors:[],d=H(n);if(Array.isArray(d[t])||(d[t]=[]),a.cookies&&ve(a.cookies),void 0!==a.zones){void 0!==a.user&&(h[t]=a.user),c[t]=a.renderers,function(e,t){var n=t.shortHash,r=s,a={};null!==r&&"{}"!==r&&(a=JSON.parse(r)),Object.prototype.hasOwnProperty.call(a,n)||(a[n]=[]),Object.prototype.hasOwnProperty.call(e,"zones")&&Array.isArray(e.zones)&&e.zones.map((function(e){if(null!==e&&Object.prototype.hasOwnProperty.call(e,"data")&&null!==e.data&&Object.prototype.hasOwnProperty.call(e.data,"cid")&&(0===a[n].length||!a[n].some((function(t){return t.cid===e.data.cid})))){var t=new Date((new Date).getTime()+18e5).getTime();a[n].push({cid:parseInt(e.data.cid),time:parseInt(t)})}}));var o=JSON.stringify(a);"{}"!==o&&(s=o)}(a,r.adNetwork);for(var l=0;l0?O.filter((function(e){return-1!==_.indexOf(e.type)&&void 0===e.original_zone})):function(e){if(O.length>0)for(var t in e){var n=e[t];for(var r in O)O[r].uid===n.uid&&(O[r]=n)}else O=e;return e}(r=ee(e,t));for(var a=ie(e).cookieconsent,o=0;o0&&(c=l[0])}else c=i.dom.placeholder;d&&c&&d.call(null,e,i,c,a)}},ee=function(e,t){var n,r=[],a=function(e){return e?v:u}(t),o=H(t),i=d.container.group;for(var s in o[e])if(Object.prototype.hasOwnProperty.call(o[e],s)){var c=o[e][s];if(null!==c){var l=c.type;if(void 0!==c.group){var p=a[e][s].placeholder;de(c,p);for(var f={dom:{placeholder:p,doc_reference:document},orientation:c.group.orientation,ad_items:c.group.ad_items},h=i.call(null,e,f),m=0;m0&&r>=e.data.capping)return!1}return!0!==e.data.campaign_already_displayed}function ie(e){return h[e]}var se=function(e,t){t.notificationDisplayedCount=0,Object.prototype.hasOwnProperty.call(e,"notificationDisplayedCount")&&(t.notificationDisplayedCount=e.notificationDisplayedCount),t.processNextNotification=function(t){e.notificationDisplayedCount=t;var n,r,a=v.length;v.push([e]),n=e,S("Request #"+(r=a)+" from delayed request is being served."),U(n.zones,n.requestData,r,!0)}},de=function(e,t){if(void 0!==e.original_zone){var n=e.original_zone.data.width,r=e.original_zone.data.height;t.parentElement.style.width="100%",t.parentElement.style.maxWidth=n+"px",t.parentElement.style.height="html_banner"===e.data.media?"100%":"auto",t.parentElement.style.maxHeight=r+"px",t.parentElement.style.overflow="hidden",t.parentElement.style.margin="auto",t.parentElement.style.display="block"}},ce=function(e){return Object.prototype.hasOwnProperty.call(e.data,"refresh_rate")&&e.data.refresh_rate>0},le=function(e,t){Object.prototype.hasOwnProperty.call(e,"multizoneid")&&(t.multizoneid=e.multizoneid)},pe=function(e,t,n,r){var a,o=e.uid;if("object"!=typeof(a=o in k?k[o]:r?v[t][n]:{placeholder:e.dom.placeholder,requestData:u[t][n].requestData,zones:u[t][n].zones.map((function(t){return t.id=e.idzone,le(e,t),t}))}).adRefresher){var i=R.getDomain(t);z.processQueue(i.syndication,(function(e){var t=[];p++,e.forEach((function(e){void 0===v[p]&&(v[p]=[]),v[p].push(e),t.push(e.zones)})),U(t,{},p,!0,i)}),50),a.adRefresher=new window.ExoAdsRefresh(e.dom.placeholder,e.idzone,e.data.refresh_rate,(function(e){z.enqueue(i.syndication,e)}),a,e.data.max_number_refresh_iteration),k[o]=a}else a.adRefresher.performImpressionReset()},ue=function(e,t,n,r){var a={idzone:e.idzone,type:e.type,dom:{placeholder:t,doc_reference:n},data:e.data,uid:t.getAttribute("data-uid"),track_impressions:oe(e,r)};return void 0!==e.original_zone&&(a.original_zone=e.original_zone),le(e,a),a},fe=function(e){if(null!==e.data){var t=e.data,n=!1;Object.prototype.hasOwnProperty.call(t,"isVast")&&(n=t.isVast);var r=!n;if(Object.prototype.hasOwnProperty.call(t,"ad_items")&&Array.isArray(t.ad_items)){var a=t.ad_items;for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&Object.prototype.hasOwnProperty.call(a[o],"impression")&&he(a[o].impression,e.idzone,o,r)}else Object.prototype.hasOwnProperty.call(t,"impression")&&he(t.impression,e.idzone,void 0,r)}},he=function(e,t,n,r){var a=function(e,t){var n="Error tracking the impression from zone "+e;void 0!==t&&(n+=" ad #"+t),S(n)},o=new XMLHttpRequest;o.onreadystatechange=function(){var e,r;o.readyState===XMLHttpRequest.DONE&&(200!=o.status?a(t,n):o.responseText&&(e=o.responseText,(r=JSON.parse(e)).cookies&&ve(r.cookies)))},e=function(e,t,n){for(var r=0;r0;)T(e.shift())},push:T,serve:J,getDebugMessages:function(){return P},getUserData:ie,formatImage:function(e,t){return t},formatLink:function(e,t){return t},openLink:function(e,t,n,r){var a,o;void 0!==n&&"get"!==n&&"post"!==n&&S("openLink() trying to force invalid method"),void 0!==e&&(e.returnValue=!1,e.preventDefault&&e.preventDefault(),e.stopPropagation()),r&&(t+="&clickX="+e.clientX,t+="&clickY="+e.clientY);var i=n||"get";-1!==t.indexOf("?")?o=function(e){for(var t={},n=e.substring(e.indexOf("?")+1).split("&"),r=0;r'),we(i,s);var d=new Image;d.src="data:image/svg+xml;utf8,"+encodeURIComponent(''),we(d,s),o.appendChild(i),o.addEventListener("mouseenter",(function(){o.innerHTML="",o.appendChild(d)})),o.addEventListener("mouseleave",(function(){o.innerHTML="",o.appendChild(i)})),o.onclick=function(o){o.stopPropagation(),o.preventDefault(),function(e,r,a,o){var i=r.querySelector(".exo-overlay");if(!i){(i=document.createElement("div")).className="exo-overlay",we(i,{display:"none",position:"absolute",boxSizing:"border-box",top:"0",left:"0",width:"100%",height:"100%",backgroundColor:"white",color:"black",textAlign:"center",padding:"20px",opacity:"0",transition:"opacity 300ms ease-out",cursor:"default",zIndex:"11"});var s=document.createElement("div");s.className="exo-back-button";var d=new Image;d.src="data:image/svg+xml;utf8,"+encodeURIComponent(''),we(d,{border:"none",boxShadow:"none"}),s.appendChild(d),s.onclick=function(e){ye(e,r)},we(s,{position:"absolute",width:"24px",height:"24px",top:"8px",left:"6px",cursor:"pointer"});var c=document.createElement("button");c.className="exo-about-button",c.textContent="About This Ad",c.onclick=function(e){e.stopPropagation(),e.preventDefault();var r=JSON.stringify(a),i=btoa(r),s=R.getDomain(o),d=void 0!==o?s.ads:n.ads,c=t+"//"+d+"/about-this-ad.html?data="+encodeURIComponent(i);window.open(c,"_blank")},we(c,{position:"absolute",height:"32px",padding:"7px 12px",gap:"4px",top:"50%",left:"50%",transform:"translate(-50%, -50%)",cursor:"pointer",background:"white",color:"rgba(0, 0, 0, 0.87)",fontFamily:"Roboto, Arial, sans-serif",fontSize:"13px",fontStyle:"normal",fontWeight:"400",lineHeight:"normal",border:"1px solid #C9C9C9",borderRadius:"4px",whiteSpace:"nowrap"}),c.addEventListener("mouseenter",(function(){c.style.background="#F5F5F5"})),c.addEventListener("mouseleave",(function(){c.style.background="white"})),i.appendChild(s),i.appendChild(c),r.appendChild(i)}i.style.display="block",setTimeout((function(){i.style.opacity="1"}),10),i.addEventListener("click",(function(e){e.stopPropagation(),e.preventDefault()}))}(0,e,r,a)},we(o,{position:"absolute",width:"20px",height:"20px",top:"-2px",left:"-2px",cursor:"pointer",zIndex:"2",transform:"scale(0.65)"}),e.appendChild(o)}}}()),AdProvider.handleCurrentDomain(n),AdProvider.handleSnippetQueue(e),ExoLoader=AdProvider}();!function(){"use strict";function e(){var e,t,a,r,n=window.navigator.userAgent;this.features={webp:!0,mp4:!0},this.features.webp=function(e){var t=e.match(/MSIE/)||e.match(/rv:11/),a=!!e.match(/Firefox\/(\d+)/)&&parseInt(e.match(/Firefox\/(\d+)/)[1])<=64,r=!!e.match(/Version\/(\d+)/)&&parseInt(e.match(/Version\/(\d+)/)[1])<=15,n=!!e.match(/Chrome\/(\d+)/)&&parseInt(e.match(/Chrome\/(\d+)/)[1])<=8,c=!!e.match(/Edge\/(\d+)/)&&parseInt(e.match(/Edge\/(\d+)/)[1])<=17;if(t||a||r||n||c){var o=document.createElement("canvas");return!(!o.getContext||!o.getContext("2d"))&&0===o.toDataURL("image/webp").indexOf("data:image/webp")}return!0}(n),this.features.mp4=(t=(e=n).match(/MSIE [6-8]/),a=!!e.match(/Firefox\/(\d+)/)&&parseInt(e.match(/Firefox\/(\d+)/)[1])<=20,r=!!e.match(/(Opera|OPR)\/(\d+)/)&&parseInt(e.match(/(Opera|OPR)\/(\d+)/)[2])<=24,!(t||a||r)||!!document.createElement("video").canPlayType&&!!document.createElement("video").canPlayType("video/mp4"))}e.prototype.supported=function(e){return this.features[e]},window.ExoSupport=new e}();resolver={options:{maxAllowedVastTagRedirects:3,vastTimeout:5e3},sendRequest:function(e,t,r,i){var a=new XMLHttpRequest;a.onreadystatechange=i,a.open("GET",e,!0),a.withCredentials=t,a.timeout=r,a.send()},processUrl:function(e,t){this.resolveVastTag(e,0,{tracking:[],stopTracking:[],impression:[],clicktracking:[],vastLoaded:!1,videoCta:[]},t)},resolveVastTag:function(e,t,r,i){var a=this;e&&""!=e?(t<=a.options.maxAllowedVastTagRedirects&&a.sendRequest(e,!0,a.options.vastTimeout,(function(){var e=this;if(4!==e.readyState||404!==e.status)if(4!==e.readyState||0!==e.status){if(4===e.readyState&&200===e.status)if(4!==e.readyState||200===e.status){try{var n=e.responseXML}catch(e){return void a.stopProcessAndReportError(5)}if(n){if(a.inLineFound=a.hasInLine(n),!a.inLineFound&&a.hasVastAdTagUri(n)){var s=a.getVastAdTagUriFromWrapper(n);if(!s)return void a.stopProcessAndReportError(7);a.resolveVastTag(s,t,r,i)}t>a.options.maxAllowedVastTagRedirects&&!a.inLineFound?a.stopProcessAndReportError(8):a.processVastXml(n,r,i)}else a.stopProcessAndReportError(6)}else a.stopProcessAndReportError(4)}else a.stopProcessAndReportError(3);else a.stopProcessAndReportError(2)})),t++):a.stopProcessAndReportError(1)},processVastXml:function(e,t,r){var i=this;if(e){var a=e.getElementsByTagName("Impression");null!==a&&i.registerImpressionEvents(a,t);var n=e.getElementsByTagName("Error");null!==n&&i.registerErrorEvents(n,t);var s=null,o=null,l=null,g=e.getElementsByTagName("Extensions");if(g.length&&g[0].getElementsByTagName("Extension").length){var c=g[0].getElementsByTagName("TitleCTA");if(c.length){var d=c[0].getElementsByTagName("DisplayUrl"),h=c[0].getElementsByTagName("PCText"),u=c[0].getElementsByTagName("Tracking");null!=d&&(s=this.extractNodeData(d[0])),null!=h&&(o=this.extractNodeData(h[0])),null!=u&&(l=this.extractNodeData(u[0]));var m={displayUrl:s,ctaText:o,tracking:l};t.videoCta.push(m)}}var p=e.getElementsByTagName("Creative");if(void 0!==p&&p.length){var v,T=p[0].getElementsByTagName("Linear");if(null!=T&&T.length){var f=T[0];i.registerTrackingEvents(f,t),v=i.getClickTrackingEvents(f),i.registerClickTracking(v,t),!i.hasVastAdTagUri(e)&&i.hasInLine(e)&&(t.adFinished=!1,t.adType="linear",t.skipoffset=i.convertTimeStringToSeconds(f.getAttribute("skipoffset")),t.clickthroughUrl=i.getClickThroughUrlFromLinear(f),t.duration=i.getDurationFromLinear(f),t.mediaFile=i.getMediaFileFromLinear(f),t.mediaFileDetails=i.getMediaFileAttributesFromLinear(f),t.iconClick=i.getIconClickThroughFromLinear(f))}var y=p[0].getElementsByTagName("NonLinearAds");if(null!=y&&y.length){var N=y[0];i.registerTrackingEvents(N,t),v=i.getNonLinearClickTrackingEvents(N),i.registerClickTracking(v,t),!i.hasVastAdTagUri(e)&&i.hasInLine(e)&&(t.adType="nonLinear",t.clickthroughUrl=i.getClickThroughUrlFromNonLinear(N),t.duration=i.getDurationFromNonLinear(N),t.dimension=i.getDimensionFromNonLinear(N),t.staticResource=i.getStaticResourceFromNonLinear(N),t.creativeType=i.getCreativeTypeFromStaticResources(N))}!i.hasVastAdTagUri(e)&&i.hasInLine(e)&&(void 0!==t.mediaFile||void 0!==t.staticResource?r(t):i.stopProcessAndReportError(10))}else i.stopProcessAndReportError(11)}else i.stopProcessAndReportError(9)},registerTrackingEvents:function(e,t){for(var r=this.getTrackingFromLinear(e),i="",a=0,n=0;n=e.video.duration}function s(e){var i=this;i.video.readyState>=i.video.HAVE_FUTURE_DATA?(i.hasAudio||(i.driver.currentTime=i.video.currentTime+e*i.video.playbackRate/1e3,i.video.loop&&o(i)&&(i.driver.currentTime=0)),u(i.video,i.driver.currentTime)):i.video.networkState===i.video.NETWORK_IDLE&&0===i.video.buffered.length&&i.video.load(),i.video.ended&&(delete i.video[h],i.video.pause(!0))}function c(){var e=this,i=e[g];if(e.webkitDisplayingFullscreen)return void e[E]();"data:"!==i.driver.src&&i.driver.src!==e.src&&(u(e,0,!0),i.driver.src=e.src),e.paused&&(i.paused=!1,0===e.buffered.length&&e.load(),i.driver.play(),i.updater.start(),i.hasAudio||(d(e,"play"),i.video.readyState>=i.video.HAVE_ENOUGH_DATA&&d(e,"playing")))}function v(e){var i=this,n=i[g];n.driver.pause(),n.updater.stop(),i.webkitDisplayingFullscreen&&i[w](),n.paused&&!e||(n.paused=!0,n.hasAudio||d(i,"pause"),i.ended&&!i.webkitDisplayingFullscreen&&(i[h]=!0,d(i,"ended")))}function p(e,n){var r={};e[g]=r,r.paused=!0,r.hasAudio=n,r.video=e,r.updater=i(s.bind(r)),n?r.driver=a(e):(e.addEventListener("canplay",function(){e.paused||d(e,"playing")}),r.driver={src:e.src||e.currentSrc||"data:",muted:!0,paused:!0,pause:function(){r.driver.paused=!0},play:function(){r.driver.paused=!1,o(r)&&u(e,0)},get ended(){return o(r)}}),e.addEventListener("emptied",function(){var i=!r.driver.src||"data:"===r.driver.src;r.driver.src&&r.driver.src!==e.src&&(u(e,0,!0),r.driver.src=e.src,i||!n&&e.autoplay?r.driver.play():r.updater.stop())},!1),e.addEventListener("webkitbeginfullscreen",function(){e.paused?n&&0===r.driver.buffered.length&&r.driver.load():(e.pause(),e[E]())}),n&&(e.addEventListener("webkitendfullscreen",function(){r.driver.currentTime=e.currentTime}),e.addEventListener("seeking",function(){k.indexOf(100*e.currentTime|0)<0&&(r.driver.currentTime=e.currentTime)}))}function l(e){var i=e[h];return delete e[h],!e.webkitDisplayingFullscreen&&!i}function f(e){var i=e[g];e[E]=e.play,e[w]=e.pause,e.play=c,e.pause=v,r(e,"paused",i.driver),r(e,"muted",i.driver,!0),r(e,"playbackRate",i.driver,!0),r(e,"ended",i.driver),r(e,"loop",i.driver,!0),n(e,"seeking",function(e){return!e.webkitDisplayingFullscreen}),n(e,"seeked",function(e){return!e.webkitDisplayingFullscreen}),n(e,"timeupdate",l),n(e,"ended",l)}function y(e,i){if(void 0===i&&(i={}),!e[g]){if(!i.everywhere){if(!b)return;if(!(i.iPad||i.ipad?/iPhone|iPod|iPad/:/iPhone|iPod/).test(navigator.userAgent))return}e.pause();var n=e.autoplay;e.autoplay=!1,p(e,!e.muted),f(e),e.classList.add("IIV"),e.muted&&n&&(e.play(),e.addEventListener("playing",function i(){e.autoplay=!0,e.removeEventListener("playing",i)})),/iPhone|iPod|iPad/.test(navigator.platform)||console.warn("iphone-inline-video is not guaranteed to work in emulated environments")}}var m,b="object"==typeof document&&"object-fit"in document.head.style&&!matchMedia("(-webkit-video-playable-inline)").matches,g="bfred-it:iphone-inline-video",h="bfred-it:iphone-inline-video:event",E="bfred-it:iphone-inline-video:nativeplay",w="bfred-it:iphone-inline-video:nativepause",k=[],T=0;return y}(); !function(){function t(t,e,n,i){var o=!1,a=!0,r=!0,u=this,w=Math.random().toString(36).substr(2,6).toUpperCase(),s=function(){return(new Date).getTime()},c=function(){return"object"==typeof i},d=function(){if(window.viewabilityDebugMode){var e=void 0!==t.src&&t.src?(t.src.match(/[?&]idzone=(\d+)/)||[])[1]:((t.id||"").match(/_(\d+)_/)||[])[1];if("string"!=typeof e&&"DIV"===t.tagName)try{e=t.parentNode.nextElementSibling.dataset.zoneid}catch(n){try{e=t.parentNode.parentNode.nextElementSibling.dataset.zoneid}catch(t){e=t.name}}console.log((new Date).toISOString().substr(11,8)+" - "+t.tagName+" - "+e+" - "+w+" - "+(o?"VIEW":"NOT"))}},l=function(t,e,n){return t.top>n||t.left>e||t.bottom<0||t.right<0||0===t.top&&0===t.left&&0===t.bottom&&0===t.right},v=function(t,e){return e>t?e-t:0},m=function(t,e,n){return n-(t=t>0?t:0)-e},E=function(t,e,n){var i=e-t+n;return i>0?i:0};this.viewabilityEvent=function(a){if(!function(){if(!u.isInFocus()||c()&&!i.isViewable())return!1;var n=t.getBoundingClientRect(),o=c()?window:parent,a=o.innerHeight||o.document.documentElement.clientHeight,r=o.innerWidth||o.document.documentElement.clientWidth;if(l(n,r,a))return!1;var w=n.height*n.width,s=v(n.bottom,a),d=v(n.right,r),b=m(n.top,s,a)*m(n.left,d,r)>=w*e;if(!c()||!b)return b;var f=window.frameElement.getBoundingClientRect(),h=parent.innerHeight||parent.document.documentElement.clientHeight,p=parent.innerWidth||parent.document.documentElement.clientWidth;return!l(f,p,h)&&m(f.top+n.top,E(f.bottom,h,s),h)*m(f.left+n.left,E(f.right,p,d),p)>=w*e}())return this.unViewabilityEvent();if(!o){if(null==a&&(a=s()),s()-a0&&n<=1?parseFloat(n):.5,i=i>=0&&i<=5e3?parseInt(i):1e3,window===parent)return new t(e,n,i);try{return void 0===window.ExoIFrameID&&(window.ExoIFrameID="exo-iframe-"+(new Date).getTime(),parent.ExoViewabilityInstances=parent.ExoViewabilityInstances||{},parent.ExoViewabilityInstances[window.ExoIFrameID]=new t(window.frameElement,.01,0)),new t(e,n,i,parent.ExoViewabilityInstances[window.ExoIFrameID])}catch(t){window.viewabilityDebugMode&&console.log("Viewability not supported when using cross-domain iFrame!")}}}();window.ExoAdsRefresh=function(e,i,t,n,a,r){var o=0,s=null,l=!1,f=!0;if("function"==typeof window.instantiateViewability){if(t>0)if("function"==typeof n){var c=window.instantiateViewability(e,.5,1e3),w=function(){if(f)if(c.isViewable())try{a.zones.forEach((function(e){if(e.id===i){if("object"!=typeof e.extra_params&&(e.extra_params={}),-1===e.extra_params.refresh_iteration)throw new Error("stopIteration");e.extra_params.refresh_iteration=++o}})),n(a),s=null}catch(e){if("stopIteration"===e.message)return;console.log(e,"Failed while calling ad-refresh callback!")}else l=!0};this.performImpressionReset=function(){c.unViewabilityEvent(),c.viewabilityEvent()},e.addEventListener("viewable",(function(){if(!(o>=r))return l?(l=!1,w()):void(null===s&&(s=setTimeout(w,1e3*t)))})),this.stopAdRefresh=function(){f=!1},this.restartAdRefresh=function(){f=!0,s=setTimeout(w,1e3*t)}}else console.warn("Invalid callback attempted to be set.")}else console.warn("Viewability library is missing.")};!function(){try{var e="undefined"!=typeof ExoLoader&&null!==ExoLoader?ExoLoader:void 0;null!=e&&e.registerRenderer("sticky","container",(function(o,r,n,i){if(null!=e){var a=r.original_zone&&r.original_zone.data?r.original_zone.data:r.data;if(e.isNeverblock)var d=e.formatImage(o,a.additional_images[0]);else d=exoDynamicParams.closeImgCircle;return t(a,r.idzone,r.dom,{},d,n)}}))}catch(e){console.log("sticky container renderer failed with error: "+e.message)}function t(t,o,r,n,i,a,d){var s=[];if(e.getCookie(exoDynamicParams.zoneClosedCookiePrefix+o))return e.stopZoneAdRefresh(r.placeholder.getAttribute("data-uid")),s;if(a){var c=r.doc_reference.getElementById(e.getRandomizedReference("exo-sticky-container-"+o,n));if(!c||!c.childNodes[1])return s;var l=c.childNodes[1];l.innerHTML="",s.push(l)}else!function(){var a,d,c="";switch(t.h_pos){case"left":a=" left: 0px; margin-left: 20px;";break;case"right":a=" right: 0px; margin-right: 20px;";break;default:a=" left: 50%; margin-left: -"+t.width/2+"px;"}switch(t.v_pos){case"top":d=" top: 0px; margin-top: 20px;";break;case"bottom":d=" bottom: 0px; margin-bottom: 20px;";break;default:d=" top: 50%; margin-top: -"+t.height/2+"px;"}0!==t.border_width&&""!==t.border_color&&(c=" border: "+t.border_width+"px solid #"+t.border_color+";");var l='
',h=r.doc_reference.createElement("div");h.id=e.getRandomizedReference("exo-sticky-container-"+o,n),h.innerHTML=l;var f=r.doc_reference.createElement("style"),g={"zone-id":o,width:t.width,height:t.height,"additional-container-css":a+d+c},m="#exo-sticky-container-{{zone-id}} { position: fixed; width: {{width}}px; height: {{height}}px; {{additional-container-css}} z-index: 999999; cursor: pointer;}#exo-sticky-container-{{zone-id}} .exo-content { position: relative; width: {{width}}px; height: {{height}}px; overflow: hidden;}.exo-sticky-close-button { width: 24px; height: 24px; position: absolute; top: 0px; right: 0px; background-color: transparent; z-index: 999999; cursor: pointer;}.exo-sticky-close-button img { float: right; top: -12px; right: -12px; position: relative; cursor: pointer;}";for(var u in g)if(Object.prototype.hasOwnProperty.call(g,u)){var y=new RegExp("{{"+u+"}}","g");m=m.replace(y,g[u])}m=e.scrambleStyleString(m,n),f.innerHTML=m,r.placeholder.appendChild(f),r.placeholder.parentNode.appendChild(h);var x=h.childNodes[0];x.addEventListener("mousedown",(function(e){p(e,h)}),!0),x.addEventListener("touchstart",(function(e){p(e,h)}),!0),x.addEventListener("mouseup",(function(e){p(e,h)}),!0),x.addEventListener("touchend",(function(e){p(e,h)}),!0),void 0!==e.activateContainer&&e.activateContainer(r.placeholder),s.push(h.childNodes[1].childNodes[0])}();return s;function p(n,i){n.stopPropagation(),n.preventDefault(),i.style.display="none";var a=parseInt(t.frequency_period,10);isNaN(a)&&(a=0),e.setCookie(exoDynamicParams.zoneClosedCookiePrefix+o,!0,a,"."+r.doc_reference.location.hostname),e.stopZoneAdRefresh(r.placeholder.getAttribute("data-uid"))}}"undefined"!=typeof RendererApi&&(void 0===e&&(e=RendererApi),window.StickyContainerRenderer={render:function(e,o,r){RendererApi.validateRenderArguments(e,o,"sticky"),"boolean"!=typeof r&&(r=!1);var n=exoDynamicParams.closeImgCircle;return e.dom={placeholder:o,doc_reference:document},t(e.data,e.idzone,e.dom,{},n,!1)},setBorder:function(e,t,o){var r=document.getElementById("exo-sticky-container-"+e);if(!r)throw new Error("Container for zone with id: "+e+" was not found.");if(isNaN(t)||t<1||t>5)throw new Error("Invalid argument: Border width should be a number between 1 and 5");r.style.border=t+"px solid "+o},removeBorder:function(e){var t=document.getElementById("exo-sticky-container-"+e);if(!t)throw new Error("Container for zone with id: "+e+" was not found.");t.style.borderStyle="none",t.style.borderWidth="0",t.style.borderColor="transparent"},setPosition:function(e,t,o){var r=document.getElementById("exo-sticky-container-"+e),n="20px";if(!r)throw new Error("Container for zone with id: "+e+" was not found.");switch(r.style.top="auto",r.style.bottom="auto",r.style.left="auto",r.style.right="auto",r.style.marginTop="0",r.style.marginBottom="0",r.style.marginLeft="0",r.style.marginRight="0",t){case"left":r.style.left="0px",r.style.marginLeft=n;break;case"right":r.style.right="0px",r.style.marginRight=n;break;default:r.style.left="50%",r.style.marginLeft="-"+r.offsetWidth/2+"px"}switch(o){case"top":r.style.top="0px",r.style.marginTop=n;break;case"bottom":r.style.bottom="0px",r.style.marginBottom=n;break;default:r.style.top="50%",r.style.marginTop="-"+r.offsetHeight/2+"px"}}})}();!function(){try{var e="undefined"!=typeof ExoLoader&&null!==ExoLoader?ExoLoader:void 0;null!=e&&e.registerRenderer("fixed","container",(function(r,i,t,o){if(null!=e)return n(i.original_zone&&i.original_zone.data?i.original_zone.data:i.data,i.dom.placeholder)}))}catch(e){console.log("fixed container renderer failed with error: "+e.message)}function n(n,r){r.innerHTML="",r.parentElement.style.display="inline-flex",r.parentElement.style.verticalAlign="top",void 0!==n.height&&(r.style.height=n.height+"px"),void 0!==n.width&&(r.style.width=n.width+"px"),r.style.cursor="pointer",void 0!==e.activateContainer&&e.activateContainer(r);var i=[];return i.push(r),i}"undefined"!=typeof RendererApi&&(void 0===e&&(e=RendererApi),window.FixedContainerRenderer={render:function(e,r){return RendererApi.validateRenderArguments(e,r,"fixed"),e.dom={placeholder:r,doc_reference:document},n(e.data,e.dom)}})}();!function(){try{var e="undefined"!=typeof AdProvider&&null!==AdProvider?AdProvider:void 0;void 0!==e&&e.registerRenderer("group","container",(function(n,o){if(null!=e)return o.dom.placeholder.innerHTML="",r(o.dom,o.ad_items,o.orientation)}))}catch(e){console.log("multiformat group renderer failed with error: "+e.message)}function r(e,r,n){var o=[],i="vertical"===n?"column":"row",t=e.placeholder;t.className="group-container",t.style.position="relative",t.style.display="inline-flex",t.style.flexDirection=i,t.style.verticalAlign="top";for(var d=0;d
',t=o.doc_reference.createElement("div");t.id=e.getRandomizedReference("exo-im-container-wrapper",i),t.innerHTML=n;var a=o.doc_reference.createElement("style"),d={width:300,height:250,margin:20},c="#exo-im-container-wrapper { position: fixed; width: {{width}}px; height: 0px; display: none; z-index: 100; bottom: 0 !important; right: {{margin}}px !important; transition: height 1s ease-in-out 0s; -webkit-transition: height 1s ease-in-out 0s; -o-transition: height 1s ease-in-out 0s; -moz-transition: height 1s ease-in-out 0s; -ms-transition: height 2s ease-in-out 0s;}#exo-im-container { position: absolute; z-index: 101; cursor: pointer;}#exo-im-close-button { height: 24px; width: 24px; top: -12px; right: -12px; position: absolute; z-index: 1999999 !important; cursor: pointer;}#exo-im-container #exo-im-content { border: none; width: {{width}}px; height: {{height}}px; overflow: hidden;}#exo-im-close-button img { cursor: pointer;}";for(var m in d)if(Object.prototype.hasOwnProperty.call(d,m)){var l=new RegExp("{{"+m+"}}","g");c=c.replace(l,d[m])}c=e.scrambleStyleString(c,i),a.innerHTML=c,o.placeholder.appendChild(a),o.placeholder.parentNode.appendChild(t),s.push(o.doc_reference.getElementById(e.getRandomizedReference("exo-im-content",i)))}(),window.setTimeout((function(){p(),g()}),500);return s;function l(r){r.stopPropagation(),r.preventDefault(),o.doc_reference.getElementById(e.getRandomizedReference("exo-im-container-wrapper",i)).style.display="none",c=!0;var a=parseInt(n.frequency_period,10);isNaN(a)&&(a=0),e.setCookie(exoDynamicParams.zoneClosedCookiePrefix+t,c,a),e.stopZoneAdRefresh(o.placeholder.getAttribute("data-uid"))}function p(){var n=o.doc_reference.getElementById(e.getRandomizedReference("exo-im-close-button",i));n.addEventListener("mousedown",l,!0),n.addEventListener("touchstart",l,!0),n.addEventListener("mouseup",l,!0),n.addEventListener("touchend",l,!0)}function g(){c||(o.doc_reference.getElementById(e.getRandomizedReference("exo-im-container-wrapper",i)).style.display="block",window.setTimeout((function(){o.doc_reference.getElementById(e.getRandomizedReference("exo-im-container-wrapper",i)).style.height="250px",window.setTimeout(f,7e3)}),100))}function f(){o.doc_reference.getElementById(e.getRandomizedReference("exo-im-container-wrapper",i)).style.height="0px",window.setTimeout((function(){o.doc_reference.getElementById(e.getRandomizedReference("exo-im-container-wrapper",i)).style.display="none",p(),window.setTimeout(g,5e3)}),1e3)}}"undefined"!=typeof RendererApi&&(void 0===e&&(e=RendererApi),window.InstantMessageContainerRenderer={render:function(e,t,o){RendererApi.validateRenderArguments(e,t,"instant-message"),"boolean"!=typeof o&&(o=!1);var i=exoDynamicParams.closeImgCircle;return e.dom={placeholder:t,doc_reference:document},n(e.data,e.idzone,e.dom,{},i,!1)}})}();!function(){try{var e="undefined"!=typeof ExoLoader&&null!==ExoLoader?ExoLoader:void 0;null!=e&&e.registerRenderer("mobile-instant-message","container",(function(i,o,t,r){if(null!=e){var a=o.original_zone&&o.original_zone.data?o.original_zone.data:o.data;if(e.isNeverblock)var d=e.formatImage(i,a.additional_images[0]);else d=exoDynamicParams.closeImgCircle;return n(a,o.idzone,o.dom,{},d,t)}}))}catch(e){console.log("mobile-instant-message container renderer failed with error: "+e.message)}function n(n,i,o,t,r,a,d){var s=n.height||100,c=n.width||300,m=0,l=!1,p=[];if(m=parseInt(e.getCookie("zone-cap-"+i)),isNaN(m)&&(m=0),l=e.getCookie(exoDynamicParams.zoneClosedCookiePrefix+i),n.capping>0&&m>=n.capping||l)return e.stopZoneAdRefresh(o.placeholder.getAttribute("data-uid")),p;if(a){var g=o.doc_reference.getElementById(e.getRandomizedReference("exo-mobile-im-content",t));if(!g)return p;g.innerHTML="",p.push(g)}else!function(){var n='
',i=o.doc_reference.createElement("div");i.id=e.getRandomizedReference("exo-mobile-im-container-wrapper",t),i.innerHTML=n;var a=o.doc_reference.createElement("style"),d="#exo-mobile-im-container-wrapper { height: 0px; display: none; visibility: hidden; background: none repeat scroll 0 0 rgba(226, 226, 226, 0.8) !important; bottom: 0 !important; left: 0 !important; position: fixed !important; text-align: center; width: 100%; z-index: 1999900 !important; transition: height 1s ease-in-out 0s; -webkit-transition: height 1s ease-in-out 0s; -o-transition: height 1s ease-in-out 0s; -moz-transition: height 1s ease-in-out 0s; -ms-transition: height 2s ease-in-out 0s;}#exo-mobile-im-container { position: relative; min-width: 150px; width: 100%; margin: 0 auto;}#exo-mobile-im-close-button { height: 24px; width: 24px; top: -12px; right: -12px; position: absolute; z-index: 1999999 !important; cursor: pointer;}#exo-mobile-im-content { border:none; overflow:hidden; position: relative; flex-shrink: 0; cursor: pointer;}";d=e.scrambleStyleString(d,t),a.innerHTML=d,o.placeholder.appendChild(a),o.placeholder.parentNode.appendChild(i),p.push(o.doc_reference.getElementById(e.getRandomizedReference("exo-mobile-im-content",t)))}(),window.setTimeout((function(){o.doc_reference.getElementById(e.getRandomizedReference("exo-mobile-im-container-wrapper",t)).style.display="block",o.doc_reference.getElementById(e.getRandomizedReference("exo-mobile-im-container-wrapper",t)).style.visibility="visible",window.setTimeout((function(){o.doc_reference.getElementById(e.getRandomizedReference("exo-mobile-im-container-wrapper",t)).style.height=s+"px",o.doc_reference.getElementById(e.getRandomizedReference("exo-mobile-im-container",t)).style.maxWidth=c+"px"}),100);var n=o.doc_reference.getElementById(e.getRandomizedReference("exo-mobile-im-close-button",t));n.addEventListener("mousedown",f,!0),n.addEventListener("touchstart",f,!0),n.addEventListener("mouseup",f,!0),n.addEventListener("touchend",f,!0),null!=(n=o.doc_reference.getElementById(e.getRandomizedReference("exo-mobile-im-content",t)))&&(n.addEventListener("mouseup",u),n.addEventListener("touchend",u),n.addEventListener("mousedown",u),n.addEventListener("touchstart",u))}),500),m+=1,e.setCookie("zone-cap-"+i,m,21600);return p;function f(r){r.stopPropagation(),r.preventDefault(),o.doc_reference.getElementById(e.getRandomizedReference("exo-mobile-im-container-wrapper",t)).style.display="none",l=!0;var a=parseInt(n.frequency_period,10);isNaN(a)&&(a=0),e.setCookie(exoDynamicParams.zoneClosedCookiePrefix+i,l,a,"."+o.doc_reference.location.hostname),e.stopZoneAdRefresh(o.placeholder.getAttribute("data-uid"))}function u(e){e.stopPropagation()}}"undefined"!=typeof RendererApi&&(void 0===e&&(e=RendererApi),window.MobileInstantMessageContainerRenderer={render:function(e,i,o){RendererApi.validateRenderArguments(e,i,"mobile-instant-message"),"boolean"!=typeof o&&(o=!1);var t=exoDynamicParams.closeImgCircle;return e.dom={placeholder:i,doc_reference:document},n(e.data,e.idzone,e.dom,{},t,!1)}})}();!function(){try{var e="undefined"!=typeof ExoLoader&&null!==ExoLoader?ExoLoader:void 0;null!=e&&e.registerRenderer("fullpage-interstitial","container",(function(t,i,o,r){if(null!=e)return n(i,o)}))}catch(e){console.log("fullpage interstitial container renderer failed with error: "+e.message)}function n(n,i,o){var r=function(e){var n,i,o={frequencyPeriod:720,frequencyCount:1,firstTriggerClicks:3,nextTriggerClicks:5,frequencyTriggerType:exoDynamicParams.TRIGGER_BY_TIME,chromeEnabled:exoDynamicParams.BROWSER_SETTINGS_ALL,adTriggerClasses:"",adTriggerMethod:exoDynamicParams.TRIGGER_METHOD_LINKS},r=[exoDynamicParams.TRIGGER_BY_TIME,exoDynamicParams.TRIGGER_BY_CLICKS],a=[exoDynamicParams.TRIGGER_METHOD_CLASS,exoDynamicParams.TRIGGER_METHOD_LINKS],d=[exoDynamicParams.BROWSER_SETTINGS_ALL,exoDynamicParams.BROWSER_SETTINGS_CHROME_ONLY,exoDynamicParams.BROWSER_SETTINGS_NON_CHROME_ONLY],c=e.original_zone?e.original_zone.data:e.data;return c.frequency_period=t(c.frequency_period,o.frequencyPeriod),c.frequency_count=t(c.frequency_count,o.frequencyCount),c.frequency_trigger_type=(n=c.frequency_trigger_type,i=o.frequencyTriggerType,-1!==r.indexOf(n)?n:i),c.frequency_trigger_type===exoDynamicParams.TRIGGER_BY_CLICKS&&(c.first_trigger_clicks=t(c.first_trigger_clicks,o.firstTriggerClicks),c.next_trigger_clicks=t(c.next_trigger_clicks,o.nextTriggerClicks)),c.chrome_enabled=function(e,n,t){return-1!==n.indexOf(e)?e:t}(c.chrome_enabled,d,o.chromeEnabled),c.ad_trigger_classes=function(e,n){return"string"==typeof e?e:n}(c.ad_trigger_classes,o.adTriggerClasses),c.ad_trigger_method=function(e,n,t,i){return""===n?exoDynamicParams.TRIGGER_METHOD_LINKS:-1!==t.indexOf(e)?e:i}(c.ad_trigger_method,c.ad_trigger_classes,a,o.adTriggerMethod),c}(n),a=n.idzone,d="ad_"+a,c=[],l=null;if(i){var s=null;return(l=document.getElementById(d))&&(s=l.getElementsByClassName("ex-over-inner-container")[0]),s&&l.classList.contains("ex-opened")?(s.innerHTML="",c.push(s),c):c}e.stopZoneAdRefresh(n.dom.placeholder.getAttribute("data-uid"));var m="creativeDisplayed",u=r.first_trigger_clicks,x=r.next_trigger_clicks,g=r.frequency_count,p=r.frequency_period,v=r.frequency_trigger_type,f=r.ad_trigger_classes,h=r.ad_trigger_method,y=r.chrome_enabled,_=function(e){this.ua=e;var n=window.navigator.vendor,t=this.ua.toLowerCase(),i=!!window.chrome,o=-1!==t.indexOf("crios"),r=-1!==t.indexOf("opr"),a=-1!==t.indexOf("edg");try{return!(!i&&!o&&0!==n.indexOf("Google")||!0===r||!0===a)}catch(e){return!1}}(window.navigator.userAgent.toLowerCase());if((!_||y!==exoDynamicParams.BROWSER_SETTINGS_NON_CHROME_ONLY)&&(_||y!==exoDynamicParams.BROWSER_SETTINGS_CHROME_ONLY)){var E=!1,b="",w="",T="",R=.8,I=35,C=0,N=!1,L="desktop",O=void 0!==n.original_zone,D=n.type;O&&(E=!0,D=n.original_zone.type),-1!==D.indexOf("mobile")&&(L="mobile",I=17);var S="ad_"+a+"_css",P="zone-cap-"+a,k=null,G="iframe_link",B=null,A=null,M=exoDynamicParams.DEVICE_ORIENTATION_PORTRAIT;if(H()&&(M=exoDynamicParams.DEVICE_ORIENTATION_LANDSCAPE),C=z(),window.addEventListener("resize",(function(){var e=exoDynamicParams.DEVICE_ORIENTATION_PORTRAIT;H()&&(e=exoDynamicParams.DEVICE_ORIENTATION_LANDSCAPE),e!==M&&(M=e,r.media!==G&&(N&&X(),j(C=z())&&("mobile"===L&&e===exoDynamicParams.DEVICE_ORIENTATION_LANDSCAPE||"desktop"===L&&e===exoDynamicParams.DEVICE_ORIENTATION_PORTRAIT)&&te(d,S)))}),!1),function(e,n){j(C=z())&&te(e,n),document.addEventListener("click",ne,!0)}(d,S),l=document.getElementById(d)){var q=l.querySelector(".ex-over-inner-container");c.push(q)}return c}function z(){var n=e.getCookie(P),t=void 0===n?0:parseInt(n);return isNaN(t)&&(t=0),t}function H(){return Math.max(document.documentElement.clientHeight,window.innerHeight||0)<=Math.max(document.documentElement.clientWidth,window.innerWidth||0)}function F(e,t,i){var o,r;n.dom.placeholder.appendChild(function(e,n){var t,i=3*I,o="100%",r="100%";t=e===G?function(e,n,t,i){return"\n #"+d+".ex-over-top {\n position: fixed;\n top: 0;\n left: 0;\n width: "+t+";\n height: "+i+";\n z-index: 99999999999;\n background: rgb(0,0,0, 0.8);\n display: block;\n text-align: center;\n }\n #"+d+".ex-over-top > * {\n display: inline-block !important;\n vertical-align: middle;\n }\n \n #"+d+" .ex-over-front-iframe {\n width: calc("+t+" - "+e+"px);\n height: calc("+i+" - "+e+"px);\n max-width: 1800px;\n max-height: 3200px;\n margin-top: "+e/2+"px;\n margin-bottom: "+e/2+"px;\n position: relative;\n }\n \n @media screen and (max-width: 480px) {\n #"+d+" .ex-over-front {\n width: calc("+t+" - 51px);\n height: calc("+i+" - 51px);\n margin-top: 25.5px;\n margin-bottom: 25.5px;\n }\n }\n #"+d+" .ex-over-btn-container {\n z-index: 1;\n text-align: right;\n position: relative;\n margin-bottom: 4px;\n transition: none;\n width: 100%;\n }\n \n #"+d+" .ex-over-btn-container > .ex-over-btn {\n height: 26px;\n box-sizing: content-box !important;\n cursor: pointer;\n margin: 0;\n display: inline-block;\n }\n \n #"+d+" .ex-over-inner-container {\n position: relative;\n height: calc(100% - 32px);\n }\n \n #"+d+" .ex-over-inner-container iframe {\n width: 100%;\n height: 100%;\n display: block;\n cursor: pointer;\n border: 4px solid #FFFFFF;\n box-sizing: border-box\n }\n \n}\n\n"}(i,0,o,r):function(e,n,t,i){return"\n#"+d+".ex-over-top {\n position: fixed;\n top: 0;\n width: "+t+";\n height: "+i+";\n z-index: 99999999999;\n text-align: center;\n display: block;\n right: 0;\n left: 0;\n bottom: 0;\n background: rgb(0,0,0, "+R+");\n}\n\n#"+d+".ex-over-top:before {\n height: 100%;\n}\n\n#"+d+".ex-over-top,\n#"+d+'.ex-over-top:before {\n content: "";\n overflow: hidden;\n}\n\n#'+d+".ex-over-top:before,\n#"+d+".ex-over-top > * {\n display: inline-block;\n vertical-align: middle;\n}\n\n#"+d+" .ex-over-front {\n z-index: 10;\n max-width: 1800px;\n max-height: 3200px;\n position: fixed;\n width: calc("+t+" - "+e+"px);\n height: calc("+i+" - "+e+"px);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n transition: none;\n}\n@media screen and (max-width: 480px) {\n #"+d+" .ex-over-front {\n width: calc("+t+" - 51px);\n height: calc("+i+" - 51px);\n }\n}\n\n#"+d+" .ex-over-btn-container {\n z-index: 1;\n text-align: right;\n position: relative;\n margin-bottom: 4px;\n transition: none;\n max-width: 100%;\n max-height: 100%;\n}\n\n#"+d+" .ex-over-btn-container > .ex-over-btn {\n height: 26px;\n box-sizing: content-box !important;\n cursor: pointer;\n margin: 0;\n white-space: nowrap;\n display: inline-block;\n position: absolute;\n top: -26px;\n right: -4px;\n z-index: 9999;\n text-align: right;\n}\n\n#"+d+" .ex-over-inner-container {\n position: relative;\n min-height: 0;\n flex-shrink: 1;\n flex-grow: 0;\n border-radius: 2px;\n padding: "+(O?0:4)+"px;\n}\n#"+d+" .ex-over-front-iframe .ex-over-inner-container {\n flex-grow: 1;\n flex-basis: 0%;\n width: 100%;\n}\n\n#"+d+" .ex-over-inner-container img,\n#"+d+" .ex-over-inner-container video {\n max-height: 100%;\n max-width: 100%;\n width: auto;\n height: auto;\n cursor: pointer;\n border: 4px solid #FFFFFF;\n}\n#"+d+" .ex-over-inner-container .exo-info-button img {\n border: none;\n}\n#"+d+" .ex-over-inner-container .exo-info-button {\n top: 12px !important;\n left: 14px !important;\n background-color: transparent !important;\n border: none;\n padding: 0;\n}"+(O?"\n #"+d+" .ex-over-inner-container > .exo-native-widget {\n max-height: 100%;\n padding: 20px;\n background-color: #FFFFFF !important;\n }\n @media (orientation: landscape) {\n #"+d+" .ex-over-inner-container {\n width: min(95vw, calc(1.2 * 100vh));\n }\n }\n @media (orientation: landscape) and (max-height: 720px) {\n #"+d+" .ex-over-inner-container {\n width: min(95vw, calc(0.8 * 100vh));\n }\n }\n @media (orientation: landscape) and (max-height: 450px) {\n #"+d+" .ex-over-inner-container {\n width: 100%;\n }\n #"+d+" .ex-over-inner-container .exo-native-widget-item-container {\n flex-basis: calc(100% / 8) !important;\n }\n }\n @media screen and (min-device-width: 450px) and (orientation: portrait) {\n #"+d+" .ex-over-inner-container {\n display:block !important;\n width: min(95vw, calc(0.4 * 100vh));\n }\n }\n @media screen and (max-device-width: 450px) and (orientation: portrait) {\n #"+d+" .ex-over-inner-container {\n display:block !important;\n width: min(95vw, calc(0.35 * 100vh));\n }\n }":"\n @media (orientation: landscape) {\n #"+d+" .ex-over-inner-container {\n flex-grow: 1; flex-basis: 0%; width: 100%;\n }\n }\n #"+d+" .ex-over-inner-container .exo-overlay {\n top: 4px !important;\n left: 4px !important;\n }")}(i,0,o,r);var a=document.createElement("style");return a.id=n,a.innerHTML=t,a}(e,t)),n.dom.placeholder.appendChild((o=i,(r=document.createElement("div")).innerHTML=o.trim(),r.firstChild))}function Y(){B&&(clearTimeout(B),B=null)}function W(e,n){if(r.media!==G)return n?(V(),void Y()):void(B||K(e,d))}function K(e,n){B=setTimeout((function(){V();var t=function(e){var n=document.getElementById(e);if(null===n)return!1;var t=n.getElementsByClassName("ex-over-btn-container")[0];return void 0!==t&&t.style.width}(n);A!==t?(A=t,K(e,n)):Y()}),100)}function V(){var e=document.getElementById(d);if(null!==e){var n=e.getElementsByClassName("ex-over-inner-container")[0].firstElementChild,t=e.getElementsByClassName("ex-over-btn-container")[0];null!=n&&(t.style.width="",t.style.width=n.getBoundingClientRect().width+"px")}}function Z(e){H();var n="";n+="\n '):"",o.ctaText=b&&T?A(o,'\n
\n \n \n \n \n \n \n \n \n \n \n \n
\n '):"",n.innerHTML=A(o,n.innerHTML),b&&function(e,i,t,n){var o=k.querySelector(w+"_cta_wrapper");if(o.style.display="flex",o&&""!==i){var a=k.querySelector(w+"_cta_text");a.innerHTML=i}if(!r&&e){var r=k.querySelector(w+"_display_url");r.innerHTML=e}if(e||(o.style.justifyContent="flex-end"),!1===b&&(o.style.padding="0px"),!S()){var d=f,l=t.videoWidth/t.videoHeight,s=o.offsetHeight,c=null;if(t.videoHeight<100)return;if(t.videoWidth>t.videoHeight)c=d.offsetWidth-s*l;else{var p=document.getElementById(y+"_network_link"),m=0;null!==p&&(m=p.offsetHeight),c=(240-(s/2-m))*l}if(s*lwindow.innerHeight&&S())return void function(e){if(e.offsetHeight<100){let e=document.getElementById(y+"_mute_button");e.style.height="4.5vh",e.style.width="4.5vh";let i=document.getElementById(y+"_replay_button");i.style.height="30px",i.style.width="30px",document.getElementsByClassName("progress_exo_wrapper")[0].style.bottom="1vh"}}(e);const n=document.getElementById(y+"_cta_wrapper");(function(e,i,t,n){const o=null!==t?t.offsetHeight:0;if(n.videoHeight<=n.videoWidth||0===o)return;const a=document.getElementById(y+"_cta_text"),r=window.outerHeight*(i/100);n.style.height=r-o+"px",a.style.fontSize="1.7vw",e.style.height=r+"px"})(e,i,n,t),function(e,i,t,n){const o=null!==t?t.offsetHeight:0,a=e.offsetWidth/e.offsetHeight;let r=(window.outerHeight-o)*(n/100)*a;r>i.offsetWidth&&(r=i.offsetWidth),e.style.maxWidth=r+"px",k.style.maxWidth=r+"px"}(e,t,n,i)}(f,H,h),setTimeout((function(){f.classList.remove("exo_notransition"),f.style.right=0}),100)})),n.addEventListener(y+"_video_content_timeupdate",(function(i){var{currentTime:n,videoDuration:o,viewCounter:a,closeAfter:r}=i.detail;!function(e,i,t){0===(i=Math.floor(i))&&B(e,"start"),void 0!==e.tracking.progress&&e.tracking.progress.length&&B(e,"progress",i),i==Math.floor(t/4)&&B(e,"firstQuartile"),i==Math.floor(t/2)&&B(e,"midpoint"),i==Math.floor(3*t/4)&&B(e,"thirdQuartile"),i>=t-1&&B(e,"complete")}(t.data,n,o),r>n&&a<1?v.style.display="none":function(){var i=k.querySelector(w+"_close");i.style.display="block",i.addEventListener("click",(function(i){i.stopPropagation();var t,n="."+document.location.hostname,o=(t=z,Math.floor(60*t));e.setCookie(E,!0,o,n),h.pause(),P()}))}()})),n.addEventListener(y+"_video_content_ready",(function(e){k.querySelector(w+"_source"),h=k.querySelector(w+"_video"),k.querySelector(w+"_progress"),k.querySelector(w+"_mute_button"),k.querySelector(w+"_mute_on"),k.querySelector(w+"_mute_off"),k.querySelector(w+"_replay_button");var{contentVastAdItem:i}=e.detail;I&&i&&function(e){q=e;var i=[];for(var t in"undefined"!==q.tracking&&(Array.isArray(q.tracking)&&q.tracking.length>0||"object"==typeof q.tracking&&Object.keys(q.tracking).length>0)&&(i=q.tracking),i){var n=i[t];Object.prototype.hasOwnProperty.call(q.tracking,t)&&n.length>0?Array.prototype.push.apply(q.tracking[t],n):n.length>0&&(q.tracking[t]=n)}if(null!==q&&void 0!==q.videoCta&&Object.prototype.hasOwnProperty.call(q.videoCta,"length")&&q.videoCta.length>0)for(var o=q.videoCta.length-1;o>=0;o--){M=q.videoCta[o].displayUrl,T=q.videoCta[o].ctaText,ctaTracking=q.videoCta[o].tracking;break}}(i)})),n.addEventListener(y+"_video_content_resize",(function(){j(f,h)}))}(),L&&exoDynamicParams.showBranding&&(u.innerHTML=decodeURIComponent(escape(atob(exoDynamicParams.brandingName))),u.setAttribute("href","http://"+decodeURIComponent(escape(atob(exoDynamicParams.networkDomain)))),u.addEventListener("click",(function(e){e.stopImmediatePropagation()}))),_.addEventListener("click",(function(){I?(D([t.data.url]),window.open(q.clickthroughUrl),"undefined"!==q.clicktracking&&D(q.clicktracking)):window.open(t.data.url)})),function(e){for(var i in e.stopTracking=[],e.tracking){void 0===e.tracking[i]&&(e.tracking[i]=[]),void 0===e.stopTracking[i]&&(e.stopTracking[i]=[]);for(var t=0;t{!1===a.stopTracking&&a.elements.length?shouldTrackEventType(n,o,r)&&(a.elements.forEach((i=>{e.trackImpression(i,t.idzone,void 0,!1)})),a.stopTracking=!0):W(i,n,o)}))}(i,n,o):W(i,n,o)}function W(i,n,o){if(void 0!==t.data.tracking[n])for(var a,r,d=(a=o,(r=new Date(1970,0,1)).setSeconds(a),r.toTimeString().substr(0,8)+".000"),l=0;l.2*n){e.style.removeProperty("height"),e.style.removeProperty("width");var o=e.offsetHeight*t,a=window.innerWidth>window.innerHeight?window.innerHeight:window.innerWidth;if(o>a&&i.videoWidth>i.videoHeight){var r=(o=a)/t;e.style.height=r+"px"}}}function A(e,i){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=new RegExp("{{"+t+"}}","g");i=i.replace(n,e[t])}return i}function D(e){for(var i=0;i'+t.html+"",i.appendChild(r)}(a,r):"iframe_link"===r.media?function(e,t){var r=d(e,t);r.src=t.html,i.appendChild(r)}(a,r):"video_banner"===r.media&&(m(a,r),p(0,r.url,!0)):(r.optimum_image&&!0===r.is_video||r.optimum_image&&void 0===r.is_video&&"webp"!==r.optimum_image.split(".").pop()?m(a,r):function(e,t){var r=e.doc_reference.createElement("img");n(t,r),r.src=t.optimum_image&&ExoSupport.supported("webp")?t.optimum_image:t.image,i.appendChild(r),r.addEventListener("load",o)}(a,r),p(0,r.url))}"undefined"!=typeof RendererApi&&(void 0===e&&(e=RendererApi),window.BannerRenderer={render:function(e,i){RendererApi.validateRenderArguments(e,i,"banner"),e.dom={placeholder:i,doc_reference:document},t(e,i),RendererApi.shouldTrackImpressions(e)&&RendererApi.trackImpression(e.data.impression,e.idzone,void 0,!0)}})}();!function(){try{var e,t={},i=/\.(exo-native[a-zA-Z\-_]+)/g,n="undefined"!=typeof ExoLoader&&null!==ExoLoader?ExoLoader:void 0;null!=n&&n.registerRenderer("native","content",(function(t,i,a){i.data&&"html_banner"===i.data.media?function(e,t,i){var o=document.createElement("iframe"),a=["allow-forms","allow-pointer-lock","allow-popups","allow-popups-to-escape-sandbox","allow-scripts"];!1!==t.data.allow_same_origin&&a.push("allow-same-origin"),o.setAttribute("sandbox",a.join(" ")),o.setAttribute("frameborder","0"),o.setAttribute("scrolling","no"),o.setAttribute("marginwidth","0"),o.setAttribute("marginheight","0"),o.srcdoc=''+t.data.html+"",i.appendChild(o),void 0!==t.data.ad_transparency&&n.createAdTransparencyButton(o,t.data.ad_transparency,e)}(t,i,a):function(t,i,a){if(null!=n&&void 0!==i){var d=["branding_logo","branding_logo_hover"];n.isNeverblock&&i.data.data&&(i.data.ad_items=i.data.data,delete i.data.data);for(var _=i.idzone,s=0;s1?"block":"none"}function l(e,t){for(var i="",n=t||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=0;or(t.image_width).get()?"auto 100%":"100% auto",t.zoomIn=t.zoomOut.replace("100%",r(t.zoom).perc());if(t.text_display=d(t.text_box_size),t.aspect_ratio=r(t.image_height).div(t.image_width).mult(100).perc(),t.widget_width=r(t.widget_width).px(),t.header_padding_position=r(t.header_is_on_top).get()?"bottom":"top",t.text_box_size=r(l?t.text_box_size:0).px(),t.text_box_size_flex="initial",t.image_size_flex="initial",o){var s=t.is_mobile?2.5:1,g=r(t.image_width).mult(s).sum(t.item_padding).px();t.text_box_size=r(l?g:0).px(),t.widget_width_calc=r(t.image_width).sum(t.text_box_size).mult(t.cols).px(),t.widget_min_width=r(t.text_box_size).mult(2).mult(t.cols).sub(t.spacing_v).px(),t.image_wrapper_width=r("calc(100% - ").concat(t.text_box_size).concat(")").string(),t.text_max_width=r(t.text_box_size).px(),t.text_max_height=r(t.image_height).px(),t.text_width=r(t.text_box_size).px(),t.text_height="auto",t.text_padding_left=r(t.item_padding).px(),t.text_padding_top=r(0).px(),t.image_size_flex=1,t.text_box_size_flex=s,l&&(t.text_max_width=t.is_mobile?"initial":t.text_max_width,t.text_absolute="initial")}else t.text_box_size=r(l?90:0).px(),t.widget_width_calc=r(t.image_width).mult(t.cols).px(),t.widget_min_width="auto",t.image_wrapper_width=r(100).perc(),t.text_max_width=r(100).perc(),t.text_max_height=r(t.text_box_size).px(),t.text_width=r(100).perc(),t.text_height=r(t.text_box_size).px(),t.text_padding_left=r(0).px(),t.text_padding_top=r(t.item_padding).px();var c=r(t.spacing_h).mult(r(t.cols).sub(1).get()).get();return t.widget_width_calc=r(t.widget_width_calc).sum(c).px(),t.widget_min_width=r(100).sum(c).px(),r(t.widget_width)>0&&(t.widget_width_calc=r(t.widget_width).px()),t.max_items=r(t.cols).mult(t.rows).sum(1).get(),t.max_items_mobile=r(t.mobile_rows).mult(t.mobile_cols).sum(1).get(),t.is_mobile&&(t.widget_min_width=r(50).px(),t.max_items=t.max_items_mobile),a&&(t.widget_min_width=r(100).perc()),void 0!==t.header_enabled&&0===r(t.header_enabled).get()&&(t.widgetHeaderContentHtml=""),t}(o,a);var m='{{zone_id_prefix}}.exo-native-widget , /* required space between class and comma because of regex from frontend loader*/{{zone_id_prefix}}.exo-native-widget * { box-sizing: border-box;}{{zone_id_prefix}}.exo-native-widget { background-color: {{widget_background_color}}; overflow: hidden; max-width: 100%; width: {{widget_width_calc}}; min-width: {{widget_min_width}}; display: inline-flex; flex-direction: column;}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-header { width: initial !important; float: initial !important; white-space: nowrap; font-family: {{font_family}}; font-size: {{header_font_size}}; color: {{header_font_color}}; display: {{header_display}}; padding-{{header_padding_position}}: 15px; line-height: 15px;}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-header a { display: flex; justify-content: {{header_justify_content}}; color: inherit; text-decoration: none;}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-header a span { display: flex; height: 14px; width: 47px; margin-left: 4px; background: rgba(0, 0, 0, 0) url("{{branding_logo}}") repeat scroll 0 0 / 47px 14px;}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-header a:hover span { background: rgba(0, 0, 0, 0) url("{{branding_logo_hover}}") repeat scroll 0 0 / 47px 14px;}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container { display: flex; flex-wrap: wrap; height: 100%; align-content: space-between; margin-bottom: -{{spacing_v}}; margin-right: -{{spacing_h}};}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container { overflow: hidden; flex-basis: calc(100%/{{cols}}); position: relative; padding-right: {{spacing_h}}; padding-bottom: {{spacing_v}};}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container a.exo-native-widget-item , /* required space between class and comma because of regex from frontend loader*/a.exo-native-widget-item:visited { text-decoration: none; font-family: {{font_family}}; font-size: {{header_font_size}}; color: {{header_font_color}}; overflow: hidden; display: flex; position: relative; flex-direction: {{flex_direction}};}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container a.exo-native-widget-item .exo-native-widget-item-image-wrapper { position: relative; float: left; width: {{image_wrapper_width}}; min-width: auto; z-index: 2; flex: {{image_size_flex}}; height: 100%;}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container a.exo-native-widget-item .exo-native-widget-item-image-ratio { width: 100%; padding-top: {{aspect_ratio}}; z-index: 1;}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container a.exo-native-widget-item .exo-native-widget-item-image { background-repeat: no-repeat; background-size: {{zoomOut}}; {{string_image_border_style}} position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: background-size 0.3s;}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container a.exo-native-widget-item .exo-native-widget-item-image:hover { background-size: {{zoomIn}};}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container a.exo-native-widget-item .exo-native-widget-item-content { max-width: {{text_max_width}}; max-height: {{text_max_height}}; overflow: hidden; position: {{text_absolute}}; right: 0; top: 0; width: {{text_width}}; height: {{text_height}}; padding-left: {{text_padding_left}}; padding-right: 0; padding-top: {{text_padding_top}}; padding-bottom: 0; display: {{text_display}}; text-align: {{text_align}}; flex: {{text_box_size_flex}}; position: relative;}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container a.exo-native-widget-item .exo-native-widget-item-content .exo-native-widget-item-content-box { position: absolute; width: 100%;}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container a.exo-native-widget-item .exo-native-widget-item-content .exo-native-widget-item-title { font-family: {{font_family}}; font-size: {{title_font_size}}; color: {{title_font_color}}; font-weight: {{title_font_weight}}; text-decoration: {{title_decoration}}; display: {{item_title_display}}; transition: color 0.16s;}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container a.exo-native-widget-item .exo-native-widget-item-content .exo-native-widget-item-text { font-family: {{font_family}}; font-size: {{description_font_size}}; color: {{description_font_color}}; font-weight: {{description_font_weight}}; text-decoration: {{description_decoration}}; display: {{item_description_display}}; transition: color 0.16s;}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container a.exo-native-widget-item .exo-native-widget-item-content .exo-native-widget-item-brand { font-family: {{font_family}}; font-size: {{brand_font_size}}; color: {{brand_font_color}}; font-weight: {{brand_font_weight}}; text-decoration: {{brand_decoration}}; display: {{item_brand_display}};}/* Hover section below: */{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container a.exo-native-widget-item .exo-native-widget-item-content .exo-native-widget-item-title:hover { color: {{title_hover_color}}; font-weight: {{title_hover_font_weight}}; text-decoration: {{title_hover_decoration}};}{{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container a.exo-native-widget-item .exo-native-widget-item-content .exo-native-widget-item-text:hover { color: {{description_hover_color}}; font-weight: {{description_hover_font_weight}}; text-decoration: {{description_hover_decoration}};}@media all and (max-width: {{mobile_breakpoint}}px) { {{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container:nth-child(n+{{max_items_mobile}}) { display: none; } {{zone_id_prefix}}.exo-native-widget .exo-native-widget-outer-container .exo-native-widget-item-container { flex-basis: calc(100%/{{mobile_cols}}); }}',_=null;for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(_=new RegExp("{{"+s+"}}","g"),m=m.replace(_,o[s]));return m=n.scrambleStyleString(m,t,i),l.innerHTML=m,l}(o.layout,o.ad_items[0].size)),o.layout.mobile_responsive_type&&w.appendChild((l=o.layout.minimum_width_for_full_sized_layout,m="#"+n.getRandomizedReference(e,t),c=document.createElement("style"),x="@media all and (max-width: "+l+") { "+m+".exo-native-widget { width: 100% !important; height: auto !important; } "+m+".exo-native-widget .exo-native-widget-item-container { clear: both; width: 100% !important; max-width: 100% !important; margin-left: 0 !important; } "+m+".exo-native-widget .exo-native-widget-item-outer-container { width: 100% !important; } "+m+".exo-native-widget .exo-native-widget-item .exo-native-widget-item-image { width: 100% !important; max-width: 100% !important; margin: auto !important } "+m+".exo-native-widget .exo-native-widget-item-container .exo-native-widget-item .exo-native-widget-item-content { max-width: 100% !important; } "+m+".exo-native-widget .exo-native-widget-item-container .exo-native-widget-item { margin: 0 auto !important; }}",x=n.scrambleStyleString(x,t,i),c.innerHTML=x,c)),o.layout.customcss_enabled&&w.appendChild(function(o){var a=document.createElement("style"),r=o.replace(/ *(:|;|{|}) */g,"$1").replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").split("}").filter((function(e){return e.trim().length>0})).map((function(t){return"#"+e+".exo-native-widget "+t})).join("} ")+"}";return r=n.scrambleStyleString(r,t,i),a.innerHTML=r,a}(o.layout.customcss)),s()&&w.appendChild(((p=document.createElement("script")).setAttribute("type","application/javascript"),scriptString='function setRealHref(e) {var caller = e.currentTarget || e.srcElement; caller.setAttribute("href", caller.getAttribute("real-href"));}',p.innerHTML=scriptString,p)),o.layout.header_enabled&&o.layout.header_is_on_top&&w.appendChild(g(o.layout.widgetHeaderContentHtml));var h=document.createElement("div");h.className=n.getRandomizedReference("exo-native-widget-outer-container",t),w.appendChild(h);for(var u=0;u
'+u.title+'
'+u.description+'
',j=function(e,t,n){e.stopPropagation(),e.preventDefault(),t.style.display="none";var a=o+n+"-"+g;i.setCookie(a,!0,w,"."+f.doc_reference.location.hostname);for(var p=t.parentElement.getElementsByClassName("second-notification"),r=0;r0&&D>=k||E||(h=0!==N?0:h,window.setTimeout((function(){!function(){if(0===N){var e=f.doc_reference.createElement("style"),o={horizontalPositionCenterMarginLeft:"-"+p/2+"px;",verticalPositionMiddleMarginTop:"-"+r/2+"px;",secondNotificationVerticalPositionMiddleMarginTop:"-"+(s+a+r/2)+"px;"},t=z;for(var n in o)if(Object.prototype.hasOwnProperty.call(o,n)){var c=new RegExp("{{"+n+"}}","g");t=t.replace(c,o[n])}t=i.scrambleStyleString(t,x,/\.(exo-ipp[a-zA-Z\-_]+)/g),e.innerHTML=t,d.appendChild(e)}}();var o,n=f.doc_reference.createElement("div");n.setAttribute("id",i.getRandomizedReference("exo-ipp-"+g,x)),n.innerHTML=I,n.className=i.getRandomizedReference("exo-ipp",x),n.style.display="none",d.appendChild(n),void 0!==u.ad_transparency&&void 0!==m&&i.createAdTransparencyButton(n.firstElementChild,u.ad_transparency,m),n.onclick=(o=u.url,function(e,t){i.openLink(e,o),j(e,n,t)}),n.childNodes[0].childNodes[5].onclick=function(i){j(i,n,N)},n.style.removeProperty("display"),i.trackImpression(c.data.impression,c.idzone,void 0,!0),0===N&&(D+=1,i.setCookie(e+g,D,t)),++N0?1:0,w=void 0!==i.data.cta&&void 0!==i.data.cta.displayUrl&&"string"==typeof i.data.cta.displayUrl?i.data.cta.displayUrl:"",b=void 0!==i.data.cta&&void 0!==i.data.cta.text&&"string"==typeof i.data.cta.text?i.data.cta.text:"",k=void 0!==i.data.url&&"string"==typeof i.data.url?i.data.url:"",C=isNaN(i.data.ctaEnabled)||i.data.ctaEnabled>0,L=i.data.isVast,H=i.data.impression,E=i.track_impressions,V=function(a){if(L){var r=[];for(var s in"undefined"!==i.data.tracking&&(Array.isArray(i.data.tracking)&&i.data.tracking.length>0||"object"==typeof i.data.tracking&&Object.keys(i.data.tracking).length>0)&&(r=i.data.tracking),i.data=a,r){var h=r[s];Object.prototype.hasOwnProperty.call(i.data.tracking,s)&&h.length>0?Array.prototype.push.apply(i.data.tracking[s],h):h.length>0&&(i.data.tracking[s]=h)}}void 0===a&&(a=null);var x=t,H=K(),E=D(H);if(null!==a&&void 0!==a.videoCta&&Object.prototype.hasOwnProperty.call(a.videoCta,"length")&&a.videoCta.length>0)for(var V=a.videoCta.length-1;V>=0;V--){w=a.videoCta[V].displayUrl,b=a.videoCta[V].ctaText,k=a.videoCta[V].tracking;break}_=j(y,w,b,C),W(E,_),v=x.querySelector(l+".exo_wrapper"),f=x.querySelector(l+"_close_text"),g=x.querySelector(l+"_video"),u=x.querySelector(l+"_close_x"),p=x.querySelector(l+"_progress"),m=x.querySelector(l+"_replay_button"),o=x.querySelector(l+"_source"),x.querySelector(l+"_mute_button").addEventListener("click",(function(e){e.stopPropagation(),g.muted=!g.muted,q()}));var T=i.data.video;if(y&&exoDynamicParams.showBranding){var P=x.querySelector(l+"_network_link");P.innerHTML=decodeURIComponent(escape(atob(exoDynamicParams.brandingName))),P.setAttribute("href","http://"+decodeURIComponent(escape(atob(exoDynamicParams.networkDomain)))),P.addEventListener("click",(function(e){e.stopImmediatePropagation()}))}if(C){var R=function(e){window.open(k,"_blank"),e.stopImmediatePropagation()};if(x.querySelector(l+"_cta_wrapper").addEventListener("click",R),""!==w){var I=x.querySelector(l+"_display_url");I.innerHTML=w,I.addEventListener("click",R)}if(""!==b){var U=x.querySelector(l+"_cta_text");U.innerHTML=b,U.addEventListener("click",R)}}if(C||(x.querySelector(l+"_cta_wrapper").style.padding="0px"),L){if(!a||"linear"!==a.adType)return;T=a.mediaFile,a.mediaFileDetails&&"streaming"===a.mediaFileDetails.delivery&&VastSupport.VastStreaming.initialiseStreamers(a.mediaFileDetails.type,g,o)}B(i.data),N(S),v.addEventListener("click",(function(){G(g)&&(L?(ee([i.data.url]),window.open(a.clickthroughUrl),"undefined"!==a.clicktracking&&ee(a.clicktracking)):window.open(i.data.url))})),$(F,H),o.setAttribute("src",T),g.muted=!0,q(),g.addEventListener("ended",(function(){c=!1,d++,m.style.display="block",m.addEventListener("click",M)}),!1),z(),g.addEventListener("timeupdate",(function(){A(i.data,g.currentTime,g.duration);var e=g.currentTime/g.duration*100;p.style.width=e+"%",0>g.currentTime&&d<1?(f.innerHTML="Close ad in "+Math.ceil(0-g.currentTime)+" sec",u.style.display="none"):z()})),void 0!==i.data.ad_transparency&&void 0!==n&&e.createAdTransparencyButton(v,i.data.ad_transparency,n)},z=function(){var i=r.querySelector(l+"_close");f.innerHTML="Close ad",u.style.display="block",i.addEventListener("click",(function(i){i.stopPropagation();var t="."+document.location.hostname,a=T(h);e.setCookie(x,!0,a,t),g.pause(),c=!1,P()}))},T=function(e){return Math.floor(60*e)},M=function(e){e.stopPropagation(),p.classList.add("exo_notransition"),p.style.width="0px",m.removeEventListener("click",M),m.style.display="none",g.play().then((function(){c=!0,p.classList.remove("exo_notransition")}))},S=function(){N()||!c?N()&&c&&g.paused&&g.play():g.pause()},F=function(){if(c=!0,!(d>=1)){setTimeout((function(){v.classList.remove("exo_notransition"),_.style.right=0}),100);var t,a,n=!L;if(L)for(a=0;a=t-1&&R(e,"complete")},R=function(t,a,n){L?function(t,a,n){void 0!==t.tracking[a]&&t.tracking[a].forEach(((o,r)=>{!1===o.stopTracking&&o.elements.length?function(e,i,t){return"progress"!==e||"progress"===e&&i===t}(a,n,r)&&(o.elements.forEach((t=>{e.trackImpression(t,i.idzone,void 0,!1)})),o.stopTracking=!0):I(t,a,n)}))}(t,a,n):I(t,a,n)},I=function(t,a,n){if(void 0!==i.data.tracking[a])for(var o,r,s=(o=n,(r=new Date(1970,0,1)).setSeconds(o),r.toTimeString().substr(0,8)+".000"),l=0;l=0},O=function(){r.querySelector(l).classList.contains("ucBrowser")||r.querySelector(l).classList.add("ucBrowser")},Z=function(e,i){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var a=new RegExp("{{"+t+"}}","g");i=i.replace(a,e[t])}return i},D=function(e){var i=document.createElement("style"),t={main_el_class:s,screen_density:0,density_width:0,maximum_width:e};return i.innerHTML=Z(t," .{{main_el_class}} { display: block !important; } .{{main_el_class}}_network_link { display: block; color: rgb(255, 255, 255); font-size: 12px; font-family: Roboto, sans-serif, Verdana, Arial; line-height: 20px; padding: 0px 5px; text-decoration: none; } .{{main_el_class}}_display_url, .{{main_el_class}}_cta_text { font-size: 10px; font-family: Roboto, sans-serif, Verdana, Arial; text-decoration: none; } .{{main_el_class}}_cta_text { text-transform: uppercase; color: rgba(34, 33, 31, 1); margin-right: 2px; flex-shrink: 0; } .{{main_el_class}}_cta_text_link_icon { flex: none; } .{{main_el_class}}_display_url { color: rgba(236, 188, 27, 1); display: flex; align-items: center; letter-spacing: 0.01em; margin: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: inline-block; } .{{main_el_class}}_exo_display_url_box:hover .{{main_el_class}}_display_url { color: rgb(255, 205, 55) !important; } .{{main_el_class}}_display_url_ad_icon { background: rgba(236, 188, 27, 1); color: rgba(34, 33, 31, 1); display: flex; align-items: center; display: flex; flex-direction: column; align-items: flex-start; padding: 2px; border-radius: 1px; } .{{main_el_class}}_exo_display_url_box:hover .{{main_el_class}}_display_url_ad_icon { background: rgb(255, 205, 55); } .{{main_el_class}}_display_url_link_icon { flex: none; } .{{main_el_class}}_exo_display_url_box:hover .{{main_el_class}}_display_url_link_icon path { fill: rgb(255, 205, 55); } .{{main_el_class}}_effect { -webkit-transition: all 1s ease-in-out; -moz-transition: all 1s ease-in-out; -ms-transition: all 1s ease-in-out; -o-transition: all 1s ease-in-out; transition: all 1s ease-in-out; width: 100%; position: relative; height: 0; max-height: 0; overflow: hidden; } .{{main_el_class}}.exo_wrapper { display: inline-block; position: relative; width: 100%; height: 100%; cursor: pointer; } .{{main_el_class}}_effect.exo_wrapper_show { height: auto; max-height: 1000px; } .{{main_el_class}} video { width: 100%; height: 100%; display: block; margin: 0px auto; } .{{main_el_class}}.ucBrowser { z-index:99999999; } .{{main_el_class}}.ucBrowser .exo_close{ padding: 3px; background: none; top: -20px; } .{{main_el_class}}.ucBrowser .exo_link{ width: 100%; } .{{main_el_class}} .exo_link { display: block; color: rgb(255, 255, 255); font-size: 12px; font-family: Roboto, sans-serif, Verdana, Arial; position: absolute; left: 0px; top: -20px; height: 20px; line-height: 20px; padding: 0px 5px; background: rgba(0, 0, 0, 0.7); text-decoration: none; z-index: 100; } .{{main_el_class}}_exo_link_box { background: rgba(0, 0, 0, 0.7); display: none; font-size: 12px; } .{{main_el_class}}_exo_cta_text_box, .{{main_el_class}}_exo_display_url_box { display: flex; align-items: center; flex-direction: row; } .{{main_el_class}}_exo_display_url_box { margin-right: 5px; overflow: hidden; } .{{main_el_class}}_exo_cta_text_box { background: rgba(236, 188, 27, 1) !important; border-radius: 3px; padding: 6px 10px; justify-content: center; flex-shrink: 0; } .{{main_el_class}}_exo_cta_text_box:hover { background: rgb(255, 205, 55) !important; } .{{main_el_class}}_cta_wrapper { background: rgba(34, 33, 31, 1); padding: 10px; cursor: pointer; display: flex !important; justify-content: space-between; flex-direction: row; } .{{main_el_class}}_main_outstream:hover .{{main_el_class}}_cta_wrapper { background-color: rgb(44, 44, 44); } .{{main_el_class}} .exo_close { position: absolute; border-radius: 50%; padding: 5px; user-select: none; color: rgb(255, 255, 255); right: 8px; top: 8px; background: rgba(0, 0, 0, 0.7); cursor: pointer; z-index: 9999; opacity: 0.85; } .{{main_el_class}} .exo_close:hover { opacity: 1; } .{{main_el_class}} .exo_close_show { display: block; } .{{main_el_class}} .exo_close_text{ display: none; } .{{main_el_class}} .exo_close svg { height: 24px; width: 24px; fill: #FFFFFF; display: none; } .{{main_el_class}} .progress_exo_wrapper { position: absolute; width: calc(100% - 30px); height: 3px; left: 15px; bottom: 15px; background: rgba(255, 255, 255, 0.25); z-index: 1; } .{{main_el_class}}_main_outstream .progress_exo_wrapper:hover { background: rgba(255, 255, 255, 0.35); } .{{main_el_class}} .exo_progressbar { width: 0%; height: 100%; background: rgba(249, 211, 0, 0.8); transition: width 0.6s linear 0s; } .progress_exo_wrapper:hover .exo_progressbar { background: rgb(255, 205, 55); } .{{main_el_class}}_replay_button { top: 50%; left: 50%; transform: translate(-50%, -50%); height: 70px; width: 70px; position: absolute; border-radius: 50%; background: rgba(0, 0, 0, 0.7); display: none; } .{{main_el_class}}_mute_button { border-radius: 5px; position: absolute; left: 15px; bottom: 28px; background: rgba(0, 0, 0, 0.7); height: 30px; width: 30px; opacity: 0.85; } .{{main_el_class}}_mute_button:hover { opacity: 1; } .{{main_el_class}}_mute_button svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); fill: #FFFFFF; height: 24px; width: 24px; display: none; } .{{main_el_class}}.exo_notransition, .{{main_el_class}} .exo_notransition { -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; transition: none !important; } .{{main_el_class}}_main_outstream { max-width: {{maximum_width}}; min-width: 200px; } video::-webkit-media-controls-start-playback-button { display: none !important; } "),i},j=function(e,i,t,a){var n,o,r={main_el_class:s};return r.branding=e?Z(r,' '):"",r.displayUrl=a&&i?Z(r,'
'):"",r.ctaText=a&&t?Z(r,'
'):"",n=Z(r,'
{{branding}}
{{displayUrl}} {{ctaText}}
'),(o=document.createElement("div")).innerHTML=n.trim(),o.firstChild},W=function(e,i){t.appendChild(e),t.appendChild(i)},Q=function(){return t.parentNode.offsetWidth>=200&&window.innerWidth>=200},Y=function(){var e=window.navigator.userAgent||"";return e.match(/iPad/i)||e.match(/iPhone/i)},G=function(e){return Y()&&e.currentTime.toFixed(0)>0||!Y()},J="100%",K=function(){var e=i.data.maximumWidth;return isNaN(e)||e<200||e>1080?J:e+"px"},X=function(e){e.style.display="none"},$=function(e,i){enableInlineVideo(g,{iPad:!0});var a=!0,n=!0,o=v.parentNode;function s(){return window.innerHeight+window.scrollY+5>=document.body.offsetHeight}function c(){var e,a,p,u,m,f,h;if(!o.classList.contains("exo_wrapper_show")&&Q()&&(a=i===J?t.offsetWidth:parseInt(i),p=Math.ceil(a*g.videoHeight/g.videoWidth/2),u=Math.ceil(window.innerHeight||document.documentElement.clientHeight),m=Math.ceil(v.getBoundingClientRect().top),f=s()?m:m+p,m>0&&f=1||D()&&V()}))},S=function(e,t){E.appendChild(e),E.appendChild(t)},F=function(){return!0},L=function(e,t,n){var i=document.getElementById(e+"_mute_on"),o=document.getElementById(e+"_mute_off");enableInlineVideo(t,{iPad:!0});var a=t.play();void 0===a||void 0===a.then?t.addEventListener("loadedmetadata",n):a.then(n).catch((function(e){let a=setInterval((()=>{t.muted=!0,i.style.display="block",o.style.display="none",t.play().then(n).then((()=>{clearInterval(a)}))}),1e3)}))},z=function(){var e=document.createElement("style"),t={mainElId:p,screenDensity:f};return e.innerHTML=B(t," #{{mainElId}}_video_container { position: relative; background: rgba(0, 0, 0, 0.7); } #{{mainElId}} video { pointer-events: none; max-width: 100%; max-height: 320px; display: table; margin: 0px auto; } #{{mainElId}}.ucBrowser { z-index:99999999; } #{{mainElId}}.ucBrowser .exo_close{ padding:3px; background:none; top:-20px; } #{{mainElId}}.ucBrowser .exo_link{ width:100%; } #{{mainElId}} .progress_exo_wrapper { position: absolute; width: calc(100% - 30px); height: 3px; left: 15px; bottom: 15px; background: rgba(255, 255, 255, 0.25); } #{{mainElId}} .progress_exo_wrapper:hover { background: rgba(255, 255, 255, 0.35); } #{{mainElId}} .exo_progressbar { width: 0%; height: 100%; background: rgba(249, 211, 0, 0.8); transition: width 0.6s linear 0s; } #{{mainElId}} .progress_exo_wrapper:hover .exo_progressbar { background: rgb(255, 205, 55); } #{{mainElId}}_replay_button { top:50%; left:50%; transform: translate(-50%, -50%); height: 70px; width: 70px; position: absolute; border-radius: 50%; background: rgba(0, 0, 0, 0.7); display: none; } #{{mainElId}}_mute_button { border-radius: 5px; position: absolute; left: 15px; bottom: 28px; background: rgba(0, 0, 0, 0.7); height: 30px; width: 30px; opacity: 0.85; } #{{mainElId}}_mute_button:hover { opacity: 1; } #{{mainElId}}_mute_button svg { position: absolute; top:50%; left:50%; transform: translate(-50%, -50%); fill: #FFFFFF; display: none; width: calc(100% - 10px); height: calc(100% - 10px); } #{{mainElId}}.exo_notransition, #{{mainElId}} .exo_notransition { -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; transition: none !important; } video::-webkit-media-controls-start-playback-button { display: none !important; } @media only screen and (max-device-width: 480px) { #{{mainElId}}.exo_wrapper video { max-height: calc({{screenDensity}}vh); } #{{mainElId}} .progress_exo_wrapper{ width: calc(100% - 6vw); height: 0.5vh; left: 3vw; bottom: 2vh; } #{{mainElId}}_mute_button { border-radius: 1vw; position: absolute; right: 2vw; top: 1vw; height: 6.5vw; width: 6.5vw; left: 5px; margin: 5px; } #{{mainElId}}_mute_button svg { height: 6vw; width: 6vw; } #{{mainElId}}_replay_button { height: 13vw; width: 13vw; } } @media only screen and (max-device-height: 480px) and (orientation:landscape), only screen and (max-device-width: 480px) and (orientation:landscape){ #{{mainElId}}.exo_wrapper video { max-height: calc(50vh - ({{screenDensity}}vh - 10vh) * -1); } #{{mainElId}} .progress_exo_wrapper{ width: calc(100% - 6vh); height: 0.5vw; left: 3vh; bottom: 2vw; } #{{mainElId}}_replay_button { height: 13vh; width: 13vh; } } "),e},q=function(){return C(B({mainElId:p},'\n
\n \n
\n \n \n \n
\n
\n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n '))},B=function(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=new RegExp("{{"+n+"}}","g");t=t.replace(i,e[n])}return t},D=function(){return navigator.userAgent.indexOf(" UCBrowser/")>=0},V=function(){E.querySelector(u).classList.contains("ucBrowser")||E.querySelector(u).classList.add("ucBrowser")},C=function(e){var t=document.createElement("div");return t.innerHTML=e.trim(),t.firstChild};e.getCookie(x)||F()&&(b?VastSupport.VastResolver.processUrl(t.data.video,k):k(t.data))}(n,i),void 0!==n.data.ad_transparency&&e.createAdTransparencyButton(i,n.data.ad_transparency,t),null===window.VastSupport&&console.warn("VastSupport library is missing.")}))}catch(e){console.log("video renderer failed with error: "+e.message)}}();})({"syndication":"s.magsrv.com","closeImg":"\/\/s3t3d2y8.afcdn.net\/images\/close-icon.svg","closeImgCircle":"\/\/s3t3d2y8.afcdn.net\/images\/close-icon-circle.png","asyncScriptInfoTag":"async||3","tcfEnabled":true,"adsSubdomain":"a.magsrv.com","network":"ZXhvY2xpY2s=","networkDomain":"","brandingName":"","showBranding":false,"hash":"6a97888ec52c042c679a36e919843cca","shortHash":"6a97888e","zoneClosedCookiePrefix":"zone-closed-","BROWSER_SETTINGS_ALL":1,"BROWSER_SETTINGS_NON_CHROME_ONLY":0,"BROWSER_SETTINGS_CHROME_ONLY":2,"TRIGGER_METHOD_CLASS":2,"TRIGGER_METHOD_LINKS":3,"TRIGGER_BY_TIME":0,"TRIGGER_BY_CLICKS":1,"DEVICE_ORIENTATION_PORTRAIT":"portrait","DEVICE_ORIENTATION_LANDSCAPE":"landscape","domainAdTypes":[2,6,10,14,17,18,20,27,29,31,37,38,42]})