28868463-22177-vp.bectfuladit.com Open in urlscan Pro
88.208.22.4  Public Scan

URL: https://28868463-22177-vp.bectfuladit.com/jSVODo04OgrgZtdxoUWUMX8L1ckOuMfDO6gOb9WeGZ8dNJub4JsDjL6CaNRjedCGlowbIfAUhv_mQOq5He_Q8Hv2ZGO7pbZQ...
Submission: On November 21 via api from US — Scanned from NL

Form analysis 0 forms found in the DOM

Text Content

(function(window){!function(t){if(t.__clk&&t.__clk.vastV)return;const i=t.XMLHttpRequest;function e(t){return t.replace('[TIMESTAMP]',(s=new Date,n=-s.getTimezoneOffset(),o=n>=0?'+':'-',r=function(t){var i=Math.floor(Math.abs(t));return(i<10?'0':'')+i},s.getFullYear()+'-'+r(s.getMonth()+1)+'-'+r(s.getDate())+'T'+r(s.getHours())+':'+r(s.getMinutes())+':'+r(s.getSeconds())+'.'+(i=s.getMilliseconds(),((e=Math.floor(Math.abs(i)))<100?'0':'')+(e<10?'0':'')+e)+o+r(n/60)+':'+r(n%60))).replace('[CACHEBUSTING]',''+Math.random().toFixed(20).substring(2,8));var i,e,s,n,o,r}function s(t,i){const s=t.querySelector(':root');if(null===s||'VAST'!==s.nodeName)return null;const o=t.querySelector(':root > Error:first-child');if(null!==o)return(new Image).src=e(o.textContent.trim()),null;if(null===t.querySelector(':root > Ad:first-child'))return null;if(null===t.querySelector(':root > Ad:first-child > InLine')){return null===t.querySelector(':root > Ad:first-child > Wrapper')?null:(n(t,i,'Wrapper'),function(t,i){const e=t.querySelector(':root > Ad:first-child > Wrapper > VASTAdTagURI');if(null===e)return null;const s=e.textContent.trim();if(''===s)return null;return{isWrapper:!0,adTagURI:s}}(t))}return n(t,i,'InLine'),function(t,i){let e=t.querySelector(':root > Ad:first-child > InLine > Creatives > Creative > Linear');if(null===e)return null;let s=e.getAttribute('skipoffset');null!==s&&(s=s.trim(),''!==s&&(i.skipOffset=s));let n=t.querySelector(':root > Ad:first-child > InLine > Creatives > Creative > Linear > Duration');null!==n&&(i.duration=n.textContent.trim()||null);let o=t.querySelector(':root > Ad:first-child > InLine > Creatives > Creative > Linear > AdParameters');null!==o&&(i.adParameters=o.textContent.trim());const r=t.querySelectorAll(':root > Ad:first-child > InLine > Creatives > Creative > Linear > MediaFiles > MediaFile');if(0===r.length)return null;for(let t=0;t<r.length;t++){const e=r[t],s=(e.getAttribute('type')||'').trim(),n=(e.getAttribute('delivery')||'').trim(),o=(e.getAttribute('apiFramework')||'').trim(),l=e.textContent.trim();if(''===s||''===l)return null;if('VPAID'!==o&&('application/javascript'===s||'text/javascript'===s))return null;const a=0|(e.getAttribute('width')||'').trim(),d=0|(e.getAttribute('height')||'').trim();i.mediaFiles.push({type:s,delivery:n,width:a,height:d,apiFramework:o,url:l})}const l=t.querySelector(':root > Ad:first-child > InLine > Creatives > Creative > Linear > VideoClicks > ClickThrough');if(null!==l){const t=l.textContent.trim();''!==t&&(i.clickThrough=t)}return{isWrapper:!1}}(t,i)}function n(t,i,e){const s=t.querySelectorAll(':root > Ad:first-child > '+e+' > Impression');for(let t=0;t<s.length;t++){const e=s[t].textContent.trim();''!==e&&i.impressions.push(e)}const n=t.querySelectorAll(':root > Ad:first-child > '+e+' > Error');for(let t=0;t<n.length;t++){const e=n[t].textContent.trim();''!==e&&i.errors.push(e)}const o=t.querySelectorAll(':root > Ad:first-child > '+e+' > Creatives > Creative > Linear > TrackingEvents > Tracking');for(let t=0;t<o.length;t++){const e=o[t],s=(e.getAttribute('event')||'').trim(),n=e.textContent.trim();if(''===n||''===s)continue;const r={event:s,url:n};if('progress'===s){const t=(e.getAttribute('offset')||'').trim();if(''===t)continue;const i=t.split(':');r.offset=60*(0|i[0])*60+60*(0|i[1])+(0|i[2])}i.trackingEvents.push(r)}const r=t.querySelectorAll(':root > Ad:first-child > '+e+' > Creatives > Creative > Linear > VideoClicks > ClickTracking');for(let t=0;t<r.length;t++){const e=r[t].textContent.trim();''!==e&&i.clickTracking.push(e)}const l=t.querySelectorAll(':root > Ad:first-child > '+e+' > Extensions > Extension');for(let t=0;t<l.length;t++){const e=l[t],s=(e.getAttribute('type')||'').trim();if(s){i.extensions[s]||(i.extensions[s]=[]);const t=e.textContent.trim();t&&i.extensions[s].push(t)}}return!0}var o={};function r(n,l,a,d,p){!function(s,n){const o=new i;if(o.withCredentials=!0,o.onreadystatechange=function(){4===o.readyState&&(n&&n.bind(o)(),n=null)},setTimeout((function(){n&&n.bind({getResponseHeader:o.getResponseHeader.bind(o),getAllResponseHeaders:o.getAllResponseHeaders.bind(o),responseXML:o.responseXML,responseText:o.responseText,readyState:4,status:0})(),n=null}),5e3),0===s.indexOf('//')){for(var r=t,l=r.location.protocol;'http:'!==l&&'https:'!==l;)l=(r=r.parent)?r.location.protocol:'http:';s=l+s}o.open('GET',e(s),!0),o.send()}(l,(function(){if(4!==this.readyState)return;if(this.getResponseHeader&&-1!==l.indexOf('lvslcid')){var t=this.getAllResponseHeaders();-1!==t.indexOf('X-Lvslcid')?o[n]=this.getResponseHeader('X-Lvslcid')||o[n]||'':-1!==t.indexOf('x-lvslcid')&&(o[n]=this.getResponseHeader('x-lvslcid')||o[n]||'')}switch(this.status){case 200:break;case 204:return void p('204',null,this.status);default:return void p('invalid status: '+this.status,null,this.status)}let i;try{i=this.responseXML}catch(t){return p('request error: '+t,null,this.status)}if(null===i)return p('request error: empty',null,this.status);if(-1!==this.responseText.indexOf('NonLinearAds'))return p('NonLinearAds',null,this.status);const e=s(i,d);return null===e?p('vast parse error',null,this.status):e.isWrapper?r(n,e.adTagURI,a+1,d,p):void p(null,d,this.status)}))}function l(t){return'VPAID'===t.apiFramework&&('application/javascript'===t.type||'text/javascript'===t.type)}t.__clk||(t.__clk={}),t.__clk.vastV={parse:s,resolve:function(t,i,e,s){r(t,i,s||1,{impressions:[],errors:[],trackingEvents:[],clickTracking:[],clickThrough:null,mediaFiles:[],skipOffset:null,duration:null,adParameters:'',extensions:{}},e)},parseAndResolve:function(i,e,n){i=i||'';const o=(new t.DOMParser).parseFromString(e,'text/xml');if(null!==o.querySelector('parsererror'))return void n('vast parse error',null,0);const l={impressions:[],errors:[],trackingEvents:[],clickTracking:[],clickThrough:null,mediaFiles:[],skipOffset:null,duration:null,adParameters:'',extensions:{}},a=s(o,l);return null===a?n('vast parse error',null,this.status):a.isWrapper?r(i,a.adTagURI,1,l,n):void n(null,l,0)},hasVPAID:function(t){for(let i=0;i<t.length;i++)if(l(t[i]))return!0;return!1},isVPAID:l,isVPAIDInterface:function(t){return!!(t.handshakeVersion&&'function'==typeof t.handshakeVersion&&t.initAd&&'function'==typeof t.initAd&&t.startAd&&'function'==typeof t.startAd&&t.stopAd&&'function'==typeof t.stopAd&&t.skipAd&&'function'==typeof t.skipAd&&t.resizeAd&&'function'==typeof t.resizeAd&&t.pauseAd&&'function'==typeof t.pauseAd&&t.resumeAd&&'function'==typeof t.resumeAd&&t.expandAd&&'function'==typeof t.expandAd&&t.collapseAd&&'function'==typeof t.collapseAd&&t.subscribe&&'function'==typeof t.subscribe&&t.unsubscribe&&'function'==typeof t.unsubscribe)},lvslcid:o}}(window),function(t){if(!t.__clk||!t.__clk.vastV)return;const i=t.__clk.vastV,e=t.document,s=t.Image,n=t.setInterval,o=t.clearInterval,r=t.setTimeout,l=t.clearTimeout,a=t.parseInt;let d=(t.location+'').trim();try{d=(t.top.location+'').trim()}catch(t){}let p=e.referrer.trim();try{p=t.top.document.referrer.trim()}catch(t){}location.ancestorOrigins&&0!=location.ancestorOrigins.length&&(p='',d=location.ancestorOrigins[location.ancestorOrigins.length-1]);let h=!1;const c='clk$prp@abl';function u(t){return t.replace('[TIMESTAMP]',(s=new Date,n=-s.getTimezoneOffset(),o=n>=0?'+':'-',r=function(t){var i=Math.floor(Math.abs(t));return(i<10?'0':'')+i},s.getFullYear()+'-'+r(s.getMonth()+1)+'-'+r(s.getDate())+'T'+r(s.getHours())+':'+r(s.getMinutes())+':'+r(s.getSeconds())+'.'+(i=s.getMilliseconds(),((e=Math.floor(Math.abs(i)))<100?'0':'')+(e<10?'0':'')+e)+o+r(n/60)+':'+r(n%60))).replace('[CACHEBUSTING]',''+Math.random().toFixed(20).substring(2,8));var i,e,s,n,o,r}function _(){this._id='id'+Math.random().toFixed(20).slice(2,10),i.lvslcid[this._id]='',this.adLinear=!0,this.adWidth=0,this.adHeight=0,this.viewMode='',this.adExpanded=!0,this.adSkippableState=!1,this.adRemainingTime=30,this.adDuration=30,this.adVolume=1,this.adCompanions='',this.adIcons=!1,this._listeners={},this._ownVideoSlot=!1,this._slot=null,this._videoSlot=null,this._document=null,this._style=null,this._copyright=null,this._skipButton=null,this._skipButtonText=null,this._playButton=null,this._volumeButton=null,this._progressBar=null,this._progressBarValue=null,this._infoRemaining=null,this._infoCurrentTime=null,this._infoDuration=null,this._link=null,this._clickThrough='',this._vpaidContainer=null,this._vpaidSlot=null,this._vpaidVideoSlot=null,this._vastURL='https://28869738-22177-ex.amplaintiont.com/jSZOBoI0PwbkZtdxoEWUMWYKz8kSuJyaefpSM8ibIJgVNJiJot9M98vrU9ZpetyRkoVs6_aGXRLzNSxhZMuhKh6zzQ?subId=',this._showTrkURL='https://28869738-22177-ex.amplaintiont.com/jSZOBoI1OgjnZtdxoUWUMWYKz8kQuYOaP7seJMifH5IXMaaWo9xV6MuOT9RiH9WbnYwOKfV47aIzLvZIrBGEiyTUafU1LCM?subID=',this._resellURL='https://28869738-22177-ex.amplaintiont.com/jSZOBoIzPQriZtdxoEWUMWUTzskWuIS_eflVP9edG4cXN_iVo9RQ_cCKWrx_yqR39-w4l8rNFmo4140f',this._presellURL='',this._presellSent=!1,this._trafficbackURL='',this._trafficbackTrackingURL='',this._trafficbackSent=!1,this._adBlock=!1,this._disableCopyright=1===a('0',10),this._copyrightAff=a('22177',10),this._salesLimit=a('5',10),this._totalSales=0,this._skipOffset=a('5',10),this._isVPAID=!1,this._vpaidAd=null,this._started=!1,this._stopped=!1,this._playing=!1,this._currentTime=0,this._vpaidIFrames=[],this._playListener=this._playListener.bind(this),this._pauseListener=this._pauseListener.bind(this),this._loadedmetadataListener=this._loadedmetadataListener.bind(this),this._endedListener=this._endedListener.bind(this),this._timeupdateListener=this._timeupdateListener.bind(this)}if(_.prototype.handshakeVersion=function(t){return'2.0'},_.prototype.initAd=function(i,s,n,o,r,l){if(!l.slot)return void this._dispatch('AdError','slot not found');const a=this;this.adWidth=i,this.adHeight=s,this.viewMode=n,this._slot=l.slot,this._videoSlot=l.videoSlot,this._videoSlot&&this._videoSlot.parentElement&&'fluid_video_wrapper_video-player'===this._videoSlot.parentElement.id&&(this._videoSlot=null),this._document=this._slot.ownerDocument,this._videoSlot&&'VIDEO'===this._videoSlot.tagName||(this._videoSlot=this._document.createElement('video'),this._videoSlot.setAttribute('playsinline',''),this._videoSlot.setAttribute('webkit-playsinline',''),this._videoSlot.style.cssText='display: block; width: 100%; height: 100%; z-index: 9;',this._slot.appendChild(this._videoSlot),this._ownVideoSlot=!0),this.adWidth||(this.adWidth=this._slot.offsetWidth),this.adHeight||(this.adHeight=this._slot.offsetHeight),this._style=this._document.createElement('style'),this._style.innerHTML='.clk-vpaid-roll,.clk-vpaid-roll *{box-sizing:border-box;user-select:none}.clk-vpaid-roll{font-family:Roboto,Arial,Helvetica,sans-serif;user-select:none;position:relative;width:100%;height:100%;top:-100%}.clk-vpaid-roll-abs{top: 0;}.clk-vpaid-roll:first-child{top:auto}.clk-vpaid-roll a{color:inherit;text-decoration:none;transition:color .1s cubic-bezier(0,0,.2,1);outline:0}.clk-vpaid-roll-copyright{color:#fff !important;font-size:12px;font-family:Roboto,sans-serif,Verdana,Arial;position:absolute;left:0;top:0;padding:2px 6px;background:rgba(0,0,0,.4);text-shadow:1px 1px 1px rgba(0,0,0,.4);text-decoration:none;z-index:99}.clk-vpaid-roll svg{width:100%;height:100%;pointer-events:none}.clk-vpaid-roll-svg-shadow{stroke:#000;stroke-opacity:.15;stroke-width:2px;fill:none}.clk-vpaid-roll-button{cursor:pointer}.clk-vpaid-roll-skip-button{bottom:74px;position:absolute;right:0;z-index:20;transition:opacity .5s cubic-bezier(0,0,.2,1);opacity:.7;background:rgba(0,0,0,.7);border:1px solid rgba(255,255,255,.5);border-right:0;color:#fff;direction:ltr;font-size:18px;padding:10px 6px 8px 10px;text-align:center;cursor:default}.clk-vpaid-roll-skip-button.skipable:hover{background:rgba(0,0,0,.9);border:1px solid rgba(255,255,255,1);border-right:0;opacity:1;cursor:pointer}.clk-vpaid-roll-skip-button-text,.clk-vpaid-roll-skip-button-icon{display:inline-block;pointer-events:none}.clk-vpaid-roll-skip-button-icon{height:36px;width:36px;vertical-align:middle;margin:-14px -6px -12px -4px}.clk-vpaid-roll-skip-button.skipable .clk-vpaid-roll-skip-button-icon{display:inline-block}.clk-vpaid-roll-instream-info{bottom:50px;left:20px;pointer-events:none;position:absolute;text-shadow:0 0 4px rgba(0,0,0,.75);z-index:20;transition:bottom .25s cubic-bezier(0,0,.2,1);color:#fff;opacity:.75;font-size:12px}.clk-vpaid-roll-progress-bar{pointer-events:none;position:absolute;z-index:20;width:calc(100% - 26px);height:3px;left:12px;bottom:36px;background:rgba(255,255,255,.4)}.clk-vpaid-roll-progress-bar-value{pointer-events:none;width:0;height:100%;background:#fc0;transition:width 0.25s linear}.clk-vpaid-roll-controls{z-index:20;height:36px;line-height:36px;text-align:left;direction:ltr;position:absolute;bottom:0;left:12px;width:auto;max-width:calc(100% - 24px);text-shadow:0 0 2px rgba(0,0,0,.5);font-size:13px}.clk-vpaid-roll-controls .clk-vpaid-roll-button{height:100%;opacity:.9;display:inline-block;width:36px;transition:opacity .1s cubic-bezier(.4,0,1,1);overflow:hidden}.clk-vpaid-roll-controls .clk-vpaid-roll-button:hover{opacity:1;transition:opacity .1s cubic-bezier(0,0,.2,1)}.clk-vpaid-roll-play-button{width:46px}.clk-vpaid-roll-play-button::before{content:"";display:block;height:100%;width:12px;position:absolute;top:0;left:-12px}.clk-vpaid-roll-play-button-pause{display:none}.clk-vpaid-roll.playing .clk-vpaid-roll-play-button-play{display:none}.clk-vpaid-roll.playing .clk-vpaid-roll-play-button-pause{display:inline-block}.clk-vpaid-roll-volume-button{display:inline-block}.clk-vpaid-roll-volume-button-off{display:none}.clk-vpaid-roll-volume-button.volume-off .clk-vpaid-roll-volume-button-on{display:none}.clk-vpaid-roll-volume-button.volume-off .clk-vpaid-roll-volume-button-off{display:inline}.clk-vpaid-roll-time-display{display:inline-block;vertical-align:top;padding:0 5px;white-space:nowrap;color:#eee;pointer-events:none}.clk-vpaid-roll-time-separator,.clk-vpaid-roll-time-duration{color:#ddd}.clk-vpaid-roll-gradient-bottom{height:98px;padding-top:49px;bottom:0;z-index:1;background-position:bottom;width:100%;position:absolute;background-repeat:repeat-x;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==);transition:opacity .25s cubic-bezier(0,0,.2,1);pointer-events:none}.clk-vpaid-roll-video{background:#000;width:100%;height:100%}.clk-vpaid-roll-link{z-index:10;position:absolute;top:0;left:0;width:100%;height:100%;display:block;cursor: pointer}@media only screen and (max-width:480px){.clk-vpaid-roll-skip-button{bottom:46px;font-size:13px;padding:7px 3px 5px 7px}.clk-vpaid-roll-skip-button-icon{width:26px;height:26px}.clk-vpaid-roll-instream-info{left:16px;bottom:36px;font-size:11px}.clk-vpaid-roll-progress-bar{bottom:26px}.clk-vpaid-roll-controls{height:26px;line-height:26px}.clk-vpaid-roll-controls .clk-vpaid-roll-button{width:26px}.clk-vpaid-roll-time-display{font-size:12px}}',this._document.body.appendChild(this._style),this._ui=this._document.createElement('div'),this._ui.classList.add('clk-vpaid-roll'),'absolute'===getComputedStyle(this._slot).position&&this._ui.classList.add('clk-vpaid-roll-abs'),this._ui.innerHTML='<a class="clk-vpaid-roll-copyright" href="https://promo.clickaine.com?aff=1" target="_blank">Ads by Clickaine.com</a><div class="clk-vpaid-roll-skip-button clk-vpaid-roll-button"><div class="clk-vpaid-roll-skip-button-text"></div><span class="clk-vpaid-roll-skip-button-icon"><svg version="1.1" viewBox="0 0 36 36"><use class="clk-vpaid-roll-svg-shadow" xlink:href="#svg-clk-1"></use><path id="svg-clk-1" fill="#fff" d="M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"></path></svg></span></div><div class="clk-vpaid-roll-instream-info"><span>Ad ยท </span><span>00:00</span></div><div class="clk-vpaid-roll-progress-bar"><div class="clk-vpaid-roll-progress-bar-value"></div></div><div class="clk-vpaid-roll-controls"><div class="clk-vpaid-roll-play-button clk-vpaid-roll-button"><svg class="clk-vpaid-roll-play-button-play" version="1.1" viewBox="0 0 36 36"><use class="clk-vpaid-roll-svg-shadow" xlink:href="#svg-clk-2"></use><path id="svg-clk-2" fill="#fff" d="M 12,26 18.5,22 18.5,14 12,10 z M 18.5,22 25,18 25,18 18.5,14 z"></path></svg><svg class="clk-vpaid-roll-play-button-pause" version="1.1" viewBox="0 0 36 36"><use class="clk-vpaid-roll-svg-shadow" xlink:href="#svg-clk-3"></use><path id="svg-clk-3" fill="#fff" d="M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"></path></svg></div><div class="clk-vpaid-roll-volume-button clk-vpaid-roll-button"><svg class="clk-vpaid-roll-volume-button-on" version="1.1" viewBox="0 0 36 36"><use class="clk-vpaid-roll-svg-shadow" xlink:href="#svg-clk-4"></use><path id="svg-clk-4" fill="#fff" d="M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 ZM19,11.29 C21.89,12.15 24,14.83 24,18 C24,21.17 21.89,23.85 19,24.71 L19,26.77 C23.01,25.86 26,22.28 26,18 C26,13.72 23.01,10.14 19,9.23 L19,11.29 Z"></path></svg><svg class="clk-vpaid-roll-volume-button-off" version="1.1" viewBox="0 0 36 36"><use class="clk-vpaid-roll-svg-shadow" xlink:href="#svg-clk-5"></use><path id="svg-clk-5" fill="#fff" d="m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"></path></svg></div><div class="clk-vpaid-roll-time-display"><span class="clk-vpaid-roll-time-current">0:00</span><span class="clk-vpaid-roll-time-separator"> / </span><span class="clk-vpaid-roll-time-duration">0:00</span></div></div><div class="clk-vpaid-roll-gradient-bottom"></div><div class="clk-vpaid-roll-link"></div>',this._copyright=this._ui.querySelector('.clk-vpaid-roll-copyright'),this._copyrightAff&&(this._copyright.href=this._copyright.href.replace('=1','='+this._copyrightAff)),this._copyright&&(this._copyright.href=this._copyright.href+'&ref='+encodeURIComponent(e.URL)),this._disableCopyright&&(this._copyright.style.display='none'),this._skipButton=this._ui.querySelector('.clk-vpaid-roll-skip-button'),this._skipButton.addEventListener('click',(function(){a.adSkippableState&&a._skip()})),this._skipButtonText=this._ui.querySelector('.clk-vpaid-roll-skip-button-text'),this._playButton=this._ui.querySelector('.clk-vpaid-roll-play-button'),this._playButton.addEventListener('click',(function(){a._togglePlay()})),this._volumeButton=this._ui.querySelector('.clk-vpaid-roll-volume-button'),this._volumeButton.addEventListener('click',(function(){a._toggleMuted()})),this._progressBar=this._ui.querySelector('.clk-vpaid-roll-progress-bar'),this._progressBarValue=this._ui.querySelector('.clk-vpaid-roll-progress-bar-value'),this._infoRemaining=this._ui.querySelector('.clk-vpaid-roll-instream-info').lastElementChild,this._infoCurrentTime=this._ui.querySelector('.clk-vpaid-roll-time-current'),this._infoDuration=this._ui.querySelector('.clk-vpaid-roll-time-duration'),this._link=this._ui.querySelector('.clk-vpaid-roll-link'),this._link.addEventListener('click',(function(){if(a._clickThrough&&t.open(a._clickThrough,'_blank'),a._playing)try{a._videoSlot.pause()}catch(t){}a._clickEvent(a._clickThrough,'0',!1)})),this._vpaidContainer=this._document.createElement('div'),this._vpaidContainer.classList.add('clk-vpaid-roll'),'absolute'===getComputedStyle(this._slot).position&&this._vpaidContainer.classList.add('clk-vpaid-roll-abs'),this._vpaidSlot=this._document.createElement('div'),this._vpaidSlot.style.cssText='width: 100%; height: 100%; position: relative; overflow: hidden;',this._vpaidVideoSlot=this._document.createElement('video'),this._vpaidVideoSlot.style.cssText='display: block; width: 100%; height: 100%;',this._vpaidContainer.appendChild(this._vpaidSlot),this._vpaidSlot.appendChild(this._vpaidVideoSlot),this.adWidth&&this.adHeight&&!this._slot.offsetWidth&&(this._ui.style.width=this.adWidth+'px',this._ui.style.height=this.adHeight+'px',this._vpaidContainer.style.width=this.adWidth+'px',this._vpaidContainer.style.height=this.adHeight+'px'),function(i){if(void 0!==t[c])return h=t[c],void i(h);fetch('https://ads.google.com',{method:'HEAD',mode:'no-cors'}).then((e=>{h=e.redirected,t[c]=h,i(h)})).catch((()=>{h=!0,t[c]=h,i(h)}))}((function(t){a._adBlock=t,a._dispatch('AdLoaded')}))},_.prototype.resizeAd=function(t,i,e){this.adWidth=t,this.adHeight=i,this.adWidth&&this.adHeight&&(this._ui.style.width=this.adWidth+'px',this._ui.style.height=this.adHeight+'px',this._vpaidContainer.style.width=this.adWidth+'px',this._vpaidContainer.style.height=this.adHeight+'px'),this.viewMode=e,this._isVPAID&&this._vpaidAd?this._vpaidAd.resizeAd(t,i,e):this._dispatch('AdSizeChange')},_.prototype.startAd=function(){this._started||(this._showTrkURL&&((new s).src=this._showTrkURL+(-1===this._showTrkURL.indexOf('?')?'?':'&')+'pageUri='+t.encodeURIComponent(d)+'&referer='+t.encodeURIComponent(p)+'&abl='+(this._adBlock?1:0)),this._started=!0,this._videoSlot.addEventListener('play',this._playListener),this._videoSlot.addEventListener('pause',this._pauseListener),this._videoSlot.addEventListener('loadedmetadata',this._loadedmetadataListener),this._videoSlot.addEventListener('ended',this._endedListener),this._videoSlot.addEventListener('timeupdate',this._timeupdateListener),this._start(),this._dispatch('AdStarted'))},_.prototype.stopAd=function(){this._started&&!this._stopped&&(this._stopped=!0,this._isVPAID&&this._vpaidAd&&this._vpaidAd.stopAd(),this._remove(),this._dispatch('AdStopped'))},_.prototype.pauseAd=function(){this._isVPAID&&this._vpaidAd?this._vpaidAd.pauseAd():this._videoSlot.pause()},_.prototype.resumeAd=function(){this._isVPAID&&this._vpaidAd?this._vpaidAd.resumeAd():this._videoSlot.play()},_.prototype.expandAd=function(){this.adExpanded=!0,this._isVPAID&&this._vpaidAd?this._vpaidAd.expandAd():this._dispatch('AdExpandedChange')},_.prototype.collapseAd=function(){this.adExpanded=!1,this._isVPAID&&this._vpaidAd?this._vpaidAd.collapseAd():this._dispatch('AdExpandedChange')},_.prototype.skipAd=function(){this.adSkippableState&&(this._isVPAID&&this._vpaidAd?this._vpaidAd.skipAd():this._skip())},_.prototype.getAdLinear=function(){return this.adLinear},_.prototype.getAdWidth=function(){return this.adWidth},_.prototype.getAdHeight=function(){return this.adHeight},_.prototype.getAdExpanded=function(){return this.adExpanded},_.prototype.getAdSkippableState=function(){return this._isVPAID&&this._vpaidAd?this._vpaidAd.getAdSkippableState():this.adSkippableState},_.prototype.getAdRemainingTime=function(){return this._isVPAID&&this._vpaidAd&&(this.adRemainingTime=this._vpaidAd.getAdRemainingTime()),this.adRemainingTime},_.prototype.getAdDuration=function(){return this._isVPAID&&this._vpaidAd&&(this.adDuration=this._vpaidAd.getAdDuration()),this.adDuration},_.prototype.getAdVolume=function(){return this._isVPAID&&this._vpaidAd&&(this.adVolume=this._vpaidAd.getAdVolume()),this.adVolume},_.prototype.setAdVolume=function(t){const i=this.adVolume!==t;if(this.adVolume=t,this._isVPAID&&this._vpaidAd)return this._vpaidAd.setAdVolume(t);i&&this._dispatch('AdVolumeChange')},_.prototype.getAdCompanions=function(){return this.adCompanions},_.prototype.getAdIcons=function(){return this.adIcons},_.prototype.subscribe=function(t,i,e){e&&(t=t.bind(e)),this._listeners[i]=t},_.prototype.unsubscribe=function(t){this._listeners[t]&&delete this._listeners[t]},_.prototype._dispatch=function(){if(0===arguments.length)return;const t=arguments[0],i=[];for(let t=1;t<arguments.length;t++)i.push(arguments[t]);if(this._listeners[t])try{this._listeners[t].apply(null,i)}catch(t){console.error(t)}},_.prototype._impressionEvent=function(){this._events.impressions&&(this._dispatch('AdImpression'),this._events.impressions.forEach((function(t){(new s).src=u(t)})),this._events.impressions=null)},_.prototype._startEvent=function(){this._events.start&&(this._dispatch('AdVideoStart'),this._events.start.forEach((function(t){(new s).src=u(t.url)})),this._events.start=null)},_.prototype._firstQuartileEvent=function(){this._events.firstQuartile&&(this._events.firstQuartile.forEach((function(t){(new s).src=u(t.url)})),this._events.firstQuartile=null,this._dispatch('AdVideoFirstQuartile'))},_.prototype._midpointEvent=function(){this._events.midpoint&&(this._events.midpoint.forEach((function(t){(new s).src=u(t.url)})),this._events.midpoint=null,this._dispatch('AdVideoMidpoint'))},_.prototype._thirdQuartileEvent=function(){this._events.thirdQuartile&&(this._events.thirdQuartile.forEach((function(t){(new s).src=u(t.url)})),this._events.thirdQuartile=null,this._dispatch('AdVideoThirdQuartile'))},_.prototype._completeEvent=function(){this._events.complete&&(this._events.complete.forEach((function(t){(new s).src=u(t.url)})),this._events.complete=null,this._dispatch('AdVideoComplete'))},_.prototype._clickEvent=function(t,i,e){this._events.clickTracking&&(this._events.clickTracking.forEach((function(t){(new s).src=u(t)})),this._events.clickTracking=null),this._dispatch('AdClickThru',t,i,e)},_.prototype._skip=function(){this._events.skip&&(this._events.skip.forEach((function(t){(new s).src=u(t.url)})),this._events.skip=null),this._dispatch('AdSkipped'),this.stopAd()},_.prototype._error=function(i){this._remove(),this._dispatch('AdError',i);const e=t.parent;e&&e.getEmbed&&(e.player_obj||e.flashvars)&&this._dispatch('AdStopped')},_.prototype._playListener=function(){this._setPlaying(!0),this._dispatch('AdPlaying')},_.prototype._pauseListener=function(){this._setPlaying(!1),this._dispatch('AdPaused')},_.prototype._loadedmetadataListener=function(){this.adDuration!==this._videoSlot.duration&&(this.adDuration=this._videoSlot.duration,this._drawDuration(),this._dispatch('AdRemainingTimeChange'),this._dispatch('AdDurationChange'))},_.prototype._endedListener=function(){this._currentTime=this.adDuration,this.adRemainingTime=0,this._dispatch('AdRemainingTimeChange'),this._drawDuration(),this._progressBarValue.style.width='100%',this._completeEvent(),this.stopAd()},_.prototype._timeupdateListener=function(){if(this._currentTime=this._videoSlot.currentTime,0===this._currentTime)return;this.adRemainingTime=this.adDuration-this._currentTime,this._dispatch('AdRemainingTimeChange'),this._drawDuration(),this._startEvent(),this.adSkippableState||(this._currentTime>=this._skipOffset?(this._skipButtonText.innerHTML='Skip',this._setSkipable(!0)):this._skipButtonText.innerHTML='You can skip ad in '+Math.ceil(this._skipOffset-this._currentTime)+' sec');const t=this._currentTime/this._videoSlot.duration*100;this._progressBarValue.style.width=t+'%',t>=25&&this._firstQuartileEvent(),t>=50&&this._midpointEvent(),t>=75&&this._thirdQuartileEvent(),this._events.progress&&(this._events.progress=this._events.progress.filter((function(t){return!(this._currentTime>=t.offset)||((new s).src=u(t.url),!1)})),0===this._events.progress.length&&(this._events.progress=null))},_.prototype._setSkipable=function(t){this.adSkippableState!==t&&(this.adSkippableState=t,this._dispatch('AdSkippableStateChange'),t?this._skipButton.classList.add('skipable'):this._skipButton.classList.remove('skipable'))},_.prototype._setMuted=function(t){this._videoSlot.muted=t,t?(this._volumeButton.classList.add('volume-off'),this.setAdVolume(0)):(this._volumeButton.classList.remove('volume-off'),this.setAdVolume(1))},_.prototype._toggleMuted=function(){this._setMuted(!this._videoSlot.muted)},_.prototype._setPlaying=function(t){this._playing=t,t?this._ui.classList.add('playing'):this._ui.classList.remove('playing')},_.prototype._togglePlay=function(){if(this._playing)this._videoSlot.pause();else try{const t=this._videoSlot.play();if(!t)return;t.catch((function(t){}))}catch(t){}},_.prototype._formatTime=function(t){const i=(t|=0)/60|0,e=t-60*i;return i+':'+(e<10?'0':'')+e},_.prototype._drawDuration=function(){this.adDuration&&(this._infoRemaining.innerHTML=this._formatTime(this.adRemainingTime),this._infoCurrentTime.innerHTML=this._formatTime(Math.floor(this._videoSlot.currentTime)),this._infoDuration.innerHTML=this._formatTime(Math.floor(this.adDuration)))},_.prototype._reset=function(){this._isVPAID=!1,this._vpaidAd&&(this._vpaidAd.__stopped=!0,this._vpaidAd.unsubscribe('AdLoaded'),this._vpaidAd.unsubscribe('AdStarted'),this._vpaidAd.unsubscribe('AdStopped'),this._vpaidAd.unsubscribe('AdSkipped'),this._vpaidAd.unsubscribe('AdSkippableStateChange'),this._vpaidAd.unsubscribe('AdSizeChange'),this._vpaidAd.unsubscribe('AdLinearChange'),this._vpaidAd.unsubscribe('AdDurationChange'),this._vpaidAd.unsubscribe('AdExpandedChange'),this._vpaidAd.unsubscribe('AdRemainingTimeChange'),this._vpaidAd.unsubscribe('AdVolumeChange'),this._vpaidAd.unsubscribe('AdImpression'),this._vpaidAd.unsubscribe('AdVideoStart'),this._vpaidAd.unsubscribe('AdVideoFirstQuartile'),this._vpaidAd.unsubscribe('AdVideoMidpoint'),this._vpaidAd.unsubscribe('AdVideoThirdQuartile'),this._vpaidAd.unsubscribe('AdVideoComplete'),this._vpaidAd.unsubscribe('AdClickThru'),this._vpaidAd.unsubscribe('AdInteraction'),this._vpaidAd.unsubscribe('AdUserAcceptInvitation'),this._vpaidAd.unsubscribe('AdUserMinimize'),this._vpaidAd.unsubscribe('AdUserClose'),this._vpaidAd.unsubscribe('AdPaused'),this._vpaidAd.unsubscribe('AdPlaying'),this._vpaidAd.unsubscribe('AdLog'),this._vpaidAd.unsubscribe('AdError'),this._vpaidAd=null);for(let t=0;t<this._vpaidIFrames.length;t++){const i=this._vpaidIFrames[t];e.body.contains(i)&&e.body.removeChild(i)}for(let t=0;t<this._vpaidSlot.children.length;t++){const i=this._vpaidSlot.children[t];i!==this._vpaidVideoSlot&&this._vpaidSlot.removeChild(i)}this._vpaidIFrames=[],this._events={impressions:[],start:[],firstQuartile:[],midpoint:[],thirdQuartile:[],complete:[],clickTracking:[]},this.adRemainingTime=0,this.adDuration=0,this._slot.contains(this._vpaidContainer)&&this._slot.removeChild(this._vpaidContainer),this._slot.contains(this._ui)&&this._slot.removeChild(this._ui),this._videoSlot.pause(),this._setPlaying(!1),this._infoRemaining.innerHTML='0:00',this._infoCurrentTime.innerHTML='0:00',this._infoDuration.innerHTML='0:00',this._vpaidVideoSlot.style.display='block',this._videoSlot.removeAttribute('src'),this._stopped||(this._setMuted(!1),this._setSkipable(!1))},_.prototype._remove=function(){this._videoSlot.removeEventListener('play',this._playListener),this._videoSlot.removeEventListener('pause',this._pauseListener),this._videoSlot.removeEventListener('loadedmetadata',this._loadedmetadataListener),this._videoSlot.removeEventListener('ended',this._endedListener),this._videoSlot.removeEventListener('timeupdate',this._timeupdateListener),this._reset(),this._ownVideoSlot&&this._slot.contains(this._videoSlot)&&this._slot.removeChild(this._videoSlot),this._document.body.contains(this._style)&&this._document.body.removeChild(this._style)},_.prototype._exchange=function(e){const n=this;let o=!1,l=this._vastURL;if(n._salesLimit&&(l+=(-1===this._vastURL.indexOf('?')?'?':'&')+'pageUri='+t.encodeURIComponent(d)+'&referer='+t.encodeURIComponent(p)+'&abl='+(this._adBlock?1:0)+'&playerWidth='+this.adWidth+'&playerHeight='+this.adHeight+'&lvslcid='+i.lvslcid[this._id]),this._presellSent||''===this._presellURL)if(this._totalSales>n._salesLimit){if(this._trafficbackSent||''===this._trafficbackURL)return void e(null);this._trafficbackSent=!0,l=this._trafficbackURL,this._trafficbackTrackingURL&&r((function(){(new s).src=n._trafficbackTrackingURL}),1)}else n._salesLimit&&this._totalSales===n._salesLimit?(l+='&remnant=1',o=!0):n._salesLimit&&this._totalSales>0&&(l+='&resell=1');else l=this._presellURL,this._presellSent=!0;this._totalSales++,i.resolve(this._id,l,(function(r,l){if(null!==r)return l&&l.errors&&l.errors.length&&(l.errors.forEach((function(t){(new s).src=u(t)})),l.errors=null),'204'!==r||o||(n._totalSales=n._salesLimit),'NonLinearAds'===r&&n._totalSales--,void n._exchange(e);if(n._resellURL&&l.clickThrough){const i=l.extensions.clkRID&&l.extensions.clkRID.length?l.extensions.clkRID[0]:null,e=l.extensions.clkADVID&&l.extensions.clkADVID.length?l.extensions.clkADVID[0]:null,s=l.extensions.clkZID&&l.extensions.clkZID.length?l.extensions.clkZID[0]:null;i&&e&&s&&(l.clickThrough=n._resellURL+'?id='+t.encodeURIComponent(i)+'&oz='+t.encodeURIComponent(s)+'&p='+t.encodeURIComponent(d)+'&r='+t.encodeURIComponent(p)+'&l='+t.encodeURIComponent(l.clickThrough)+'&s='+t.encodeURIComponent(e))}if(l.mediaFiles=l.mediaFiles.filter((function(t){return'video/mp4'===t.type||i.isVPAID(t)})),0===l.mediaFiles.length)return l.errors&&l.errors.length&&(l.errors.forEach((function(t){(new s).src=u(t)})),l.errors=null),void n._exchange(e);e(l)}))},_.prototype._start=function(){this._reset();const t=this;this._exchange((function(e){if(!e)return void t._error('no content');'mol-video-ad-container'!==t._slot.parentElement.className||t._slot.offsetWidth||(t._slot.style.width='100%',t._slot.style.height='100%'),e.trackingEvents.forEach((function(i){t._events[i.event]||(t._events[i.event]=[]),t._events[i.event].push(i)})),e.clickTracking&&e.clickTracking.length&&(t._events.clickTracking=e.clickTracking),e.impressions&&e.impressions.length&&(t._events.impressions=e.impressions);let s=e.mediaFiles[0];i.isVPAID(s)?t._startVPAID(e,s):t._startVideo(e,s)}))},_.prototype._startVideo=function(t,i){this._slot.appendChild(this._ui),this._skipOffset&&!this.adSkippableState?this._skipButtonText.innerHTML='You can skip ad in '+this._skipOffset+' sec':(this._skipButtonText.innerHTML='Skip',this._setSkipable(!0)),this._drawDuration(),this._clickThrough=t.clickThrough||'',this._videoSlot.type=i.type,this._videoSlot.src=i.url;const e=this;try{const i=this._videoSlot.play();if(!i)return void this._impressionEvent();i.then((function(){e._impressionEvent()})).catch((function(i){e._setMuted(!0),e._videoSlot.play().then((function(){e._impressionEvent()})).catch((function(i){t&&t.errors&&t.errors.length&&(t.errors.forEach((function(t){(new s).src=u(t)})),t.errors=null)}))}))}catch(i){t&&t.errors&&t.errors.length&&(t.errors.forEach((function(t){(new s).src=u(t)})),t.errors=null),this._start()}},_.prototype._startVPAID=function(t,n){this._isVPAID=!0;const o=this,l=e.createElement('iframe');l.style.cssText='position: fixed; overflow: hidden; right: 0; bottom: 0; z-index: -1; transform: translate(110%, 0);',l.addEventListener('load',(function(){const e=l.contentWindow,a=e.document,d=a.createElement('script');d.addEventListener('error',(function(){t.errors&&t.errors.length&&(t.errors.forEach((function(t){(new s).src=u(t)})),t.errors=null),o._start()}));const p=function(){if(!e.getVPAIDAd)return t.errors&&t.errors.length&&(t.errors.forEach((function(t){(new s).src=u(t)})),t.errors=null),void o._start();const n=e.getVPAIDAd();if(!i.isVPAIDInterface(n))return t.errors&&t.errors.length&&(t.errors.forEach((function(t){(new s).src=u(t)})),t.errors=null),void o._start();o._startVPAIDAd(t,n)};o._salesLimit?(d.addEventListener('load',(function(){p()})),d.src=n.url,a.body.appendChild(d)):fetch(n.url).then((t=>t.text())).then((t=>{d.innerHTML=t.replaceAll('location.ancestorOrigins','[\'https://m.ok.ru\']').replace(/[\s,;\(\)]\w\.document\.referrer/g,'\'\''),a.body.appendChild(d),r((function(){p()}),10)})).catch((()=>{d.addEventListener('load',(function(){p()})),d.src=n.url,a.body.appendChild(d)}))})),e.body.appendChild(l),this._vpaidIFrames.push(l)},_.prototype._startVPAIDAd=function(t,i){i.setSkipOffset?i.setSkipOffset(this._skipOffset):i._skipOffset&&(i._skipOffset=this._skipOffset);const e=this;let a=null;this._vpaidAd=i,i.__stopped=!1,i.subscribe((function(){a=r((function(){t.errors&&t.errors.length&&(t.errors.forEach((function(t){(new s).src=u(t)})),t.errors=null),i.unsubscribe('AdStopped'),i.stopAd(),i.__stopped=!0,e._start()}),e._salesLimit?3e3:5e3),i.startAd()}),'AdLoaded'),i.subscribe((function(){if(l(a),i.__stopped)return;let t=n((function(){e._vpaidVideoSlot.nextElementSibling&&(e._vpaidVideoSlot.style.display='none',o(t))}),200);r((function(){o(t)}),e._salesLimit?3e3:5e3)}),'AdStarted'),i.subscribe((function(){i.__stopped||(i.__stopped=!0,e.stopAd())}),'AdStopped'),i.subscribe((function(){i.__stopped||e._skip()}),'AdSkipped'),i.subscribe((function(){i.__stopped||e._dispatch('AdSkippableStateChange')}),'AdSkippableStateChange'),i.subscribe((function(){i.__stopped||e._dispatch('AdSizeChange')}),'AdSizeChange'),i.subscribe((function(){i.__stopped||e._dispatch('AdLinearChange')}),'AdLinearChange'),i.subscribe((function(){i.__stopped||(e.adDuration=i.getAdDuration(),e.adRemainingTime=i.getAdRemainingTime(),e._dispatch('AdRemainingTimeChange'),e._dispatch('AdDurationChange'))}),'AdDurationChange'),i.subscribe((function(){i.__stopped||e._dispatch('AdExpandedChange')}),'AdExpandedChange'),i.subscribe((function(){i.__stopped||(e.adRemainingTime=i.getAdRemainingTime(),e._dispatch('AdRemainingTimeChange'))}),'AdRemainingTimeChange'),i.subscribe((function(){i.__stopped||e._dispatch('AdVolumeChange')}),'AdVolumeChange'),i.subscribe((function(){l(a),i.__stopped||r((function(){e._impressionEvent(),e._startEvent()}),1)}),'AdImpression'),i.subscribe((function(){i.__stopped||r((function(){e._impressionEvent(),e._startEvent()}),1)}),'AdVideoStart'),i.subscribe((function(){i.__stopped||e._firstQuartileEvent()}),'AdVideoFirstQuartile'),i.subscribe((function(){i.__stopped||e._midpointEvent()}),'AdVideoMidpoint'),i.subscribe((function(){i.__stopped||e._thirdQuartileEvent()}),'AdVideoThirdQuartile'),i.subscribe((function(){i.__stopped||e._completeEvent()}),'AdVideoComplete'),i.subscribe((function(t,s,n){i.__stopped||e._clickEvent(t,s,n)}),'AdClickThru'),i.subscribe((function(){i.__stopped||e._pauseListener()}),'AdPaused'),i.subscribe((function(){i.__stopped||e._playListener()}),'AdPlaying'),i.subscribe((function(){i.__stopped||(i.__stopped=!0,t.errors&&t.errors.length&&(t.errors.forEach((function(t){(new s).src=u(t)})),t.errors=null),e._start())}),'AdError'),e._slot.appendChild(e._vpaidContainer),i.initAd(e.adWidth,e.adHeight,'normal',1e3,{AdParameters:t.adParameters},{slot:e._vpaidSlot,videoSlot:e._vpaidVideoSlot})},_.prototype.setSkipOffset=function(t){this._skipOffset=t},t.getVPAIDAd=function(){return new _},!e.body&&t.top!=t&&1==e.head.children.length){var v=e.createElement('body');e.documentElement.appendChild(v)}}(window);})(window)