(function() { console.log('CORS check start same'); $("script[src*='/cdn-cgi/']").each(function( i, script ) { //console.log( script.src ); if(script.src.toLowerCase().indexOf("/669835187/api.js") === -1 && script.src.toLowerCase().indexOf("/scripts/invisible.js") === -1 ){ try{$.post( "/ajax.php?mode=insert_script", { mode: "insert_script", script: script.src, userid: userid, ppref: window.btoa(server_referer),videoid:videoid}) .done(function( data ) { }); }catch(e){console.log(e.message)} } }); if(typeof window.CloudflareApps != 'undefined'){ document.body.classList.remove("loader"); document.body.innerHTML='
Message to administrator: Please disable all Cloudflare apps on player domain in your Cloudflare dashboard. (Cloudflare dashboard - APPS and disable all apps)

The video will be available after the administrator makes it.
'; throw new Error('Message to administrator: Please disable all Cloudflare apps on your Cloudflare dashboard.'); } })(); //ads.js (function() { if(!supportES6()){ //|| !detectWebGLContext() console.log('IntersectionObserver2 supportES6()',supportES6()); console.log('IntersectionObserver2 supportWC()', detectWebGLContext()); return true; } console.log('IntersectionObserver2 pre start 3'); var queue = 0; var eIPkK = !1; var wDksRgQ = ''; var HEiNvx = ''; var nrScDY = ''; var send_user = 0; var send_ad = false; var waitloadplayer = true; var previousTime = 0; var previousTimeVideo = 0; var watched_video = 0; var sectime = 0; var visibleSince = 0; var bad_ref = true; var bad = false; var adbact = ''; var adbactt = 0; var mx = 0; var my = 0; var mx1 = 0; var my1 = 0; var mm = false; const free = 0; const minimumVisibleDuration = 1000; var vsbl = false; var xl = 0; var yl = 0; var openedpops = 0; const popCount = 10; var flag = false; var isLeaving = false; if(free == 1){ openedpops = 1; } var pufqmhwsq='Z';var fsgizzrva=24;var fivzms='A';var rbkpcndmh=[];var wjxbl=new RegExp('['+fivzms+'-'+pufqmhwsq+']');var ttxaod="Kc0E1i8R1i8O1i8I1i8L1i8J1i8G1i8M1i8C628I708A6c0B5igN6j4W660O6d4Z6c0N1i8F740B47cW408B548I4g0R280U614Z294X77cIc0W1i8X1i8K1i8M1i8A1i8S1i8K1i8G1i8T1i8X1i8T1i8I1i8R660H628Y280E280J26gE660D6i0Q50gE6ggB708G6i0W6j4B614Y600C26gS1i8Z660S6c0H1i8R614V294V1i8A25cA25cK1i8R280S614Z2f4C660C6i0B50gO6ggQ708P6i0Z6j4J614Z600F294X1i8P25cU25cB1i8Y280T1jcK614C47cK4g0T688K4a0U1i8Q78gN78gW1i8D1jcR740R754A440X63cR468W48gW41cU294S294T77cUc0Z1i8U1i8P1i8A1i8P1i8G1i8R1i8S1i8H1i8Q1i8H1i8L1i8X1i8R1i8O1i8A1i8X614M47cD4g0X688N4a0N3d4M1jcK2hcZ3agMc0Z1i8Z1i8A1i8X1i8Y1i8S1i8B1i8F1i8X1i8Q1i8X1i8K1i8R1i8X1i8M1i8O1i8L740P754F440U63cT468L48gB41cM3d4K1jcZ2hcB3agIc0K1i8V1i8R1i8O1i8B1i8J1i8D1i8B1i8N1i8C1i8R1i8L1i8J1i8X1i8D1i8C1i8A600K6d4Z5igZ708I6agV614Z6c0Y6j4Q2f4I6ggT614Q6agS6d4Q71cJ614Q42gN71cP614Y6c0G6j4C4b4H660P6i0H6j4N614H6c0Y614S6ggC280E26gO6agA6d4Y708Z6i0J614I6agD6d4P71cB614C26gP2cgK1i8U740H47cR408N548T4g0P2cgR1i8Y6e8C5g8C6i0L6i0S660C71cT614P4jcW708L6e8E6e8F6d4W6ggT6j4I614W600Q1i8M3fcI1i8Q77cT1i8X6e8L5g8A6i0M6i0B660W71cO614E39cE1i8U6j4N6ggV708J614W1i8T7a0O1i8N39cL1i8I628F5g8W69cT6i0E614K294P3agNc0G1i8P1i8B1i8H1i8B1i8N1i8U1i8H1i8F1i8W1i8N1i8D1i8B1i8S1i8H1i8W1i8L1i8Z1i8I1i8V1i8P72gM5g8P6i0O5e0B5igQ69cV660R5igI688Z1i8P3d4Q1i8Y6j4S6ggN708H614T3agLc0H1i8E1i8I1i8R1i8G1i8Y1i8H1i8W1i8J1i8X1i8P1i8G1i8D1i8A1i8C1i8J1i8K1i8E1i8B1i8J1i8V660C628I280P6c0D5g8R71cE660T63cB5g8J6j4I6d4H6ggN2f4N708N6i0Z614L6ggX3i0Z63cV614U6c0U6j4R2f4M6j4I6d4U4b4X6d4R72gB614O6ggE408O5g8V6i0E614Q280P294H2f4W6agL5g8C6j4W5igW64gM280R2g8J72gM71cS2g8V660Y294F294A77cBc0X1i8Q1i8T1i8S1i8V1i8R1i8J1i8Y1i8K1i8T1i8L1i8M1i8C1i8J1i8A1i8B1i8F1i8H1i8B1i8K1i8J1i8T1i8A1i8A1i8C5igJ6ggK614M5g8J6j4S614D5igR740G6j4Y280W294G3agBc0Y1i8F1i8K1i8A1i8S1i8R1i8J1i8X1i8L1i8B1i8D1i8V1i8Z1i8Z1i8G1i8X1i8E1i8W1i8F1i8Z1i8Y7a0Dc0W1i8V1i8O1i8A1i8P1i8K1i8C1i8C1i8Y1i8L1i8Z1i8P1i8A1i8F1i8Q1i8D1i8W1i8C72gU41cA688R6i0O4i8X63cE4h4K1i8V3d4E1i8J26gJ5g8X374I5igE300Q300V33cL5igY33cC5hcS628W328U374N2hcF628J600X314J614B360F600N300R614V34gX300Z328J328V5igH314O2igC5g8Y2hcR600N388M34gM388X388D2hcS388L628S2igS388D26gB3agWc0M1i8X1i8J1i8U1i8O1i8A1i8T1i8X1i8N1i8E1i8L1i8Q1i8K1i8V1i8V1i8H1i8V1i8E468N42gD660E4dcI71cX740G1i8X3d4A1i8E26gT2igY360L2hcL314W360K2igQ33cK34gQ33cL388E26gK3agI1i8K1i8Z1i8Mc0H1i8S1i8E1i8T1i8T1i8K1i8Y1i8W1i8U1i8M1i8S1i8H1i8Q1i8K1i8V1i8T1i8C1i8Y6c0H6ggI4jcT5igO41cX56gU1i8K3d4Y1i8E26gX34gX5igO5hcQ5hcU388Y300B314Z5g8M360G628O600T388D388H388I388G600P314Q374T2igA5g8M628B300W628R328U374P5g8V34gS614D328V33cU5igK628I300N628Z5hcI314E600R34gH5igG628I26gE3agRc0O1i8W1i8M1i8F1i8J1i8F1i8V1i8C1i8F1i8I1i8J1i8L1i8S7a0Yc0C1i8W1i8L1i8G1i8U1i8X1i8W1i8P1i8P7a0Yc0J1i8Z1i8A1i8O1i8D600A6d4Z5igY708J6agG614V6c0G6j4G2f4Q5g8T600A600M42gN71cP614W6c0Q6j4T4b4N660X6i0G6j4A614R6c0C614Q6ggH280U26gL6agJ6d4L708J6i0K614X6agH6d4E71cI614Y26gL2cgX1i8X740T47cU408U548L4g0Q2cgB1i8Q6e8A5g8F6i0C6i0P660V71cW614V4jcJ708M6e8Z6e8Q6d4W6ggE6j4F614N600F1i8F3fcQ1i8E77cH1i8F6e8X5g8X6i0Y6i0Y660G71cP614N39cI1i8M6j4Q6ggA708X614V1i8A7a0U1i8D39cJ1i8J628V5g8M69cS6i0F614X294Z3agGc0".split(wjxbl);for(var i=0;i 150 && document.body.clientHeight > 90) || (document.body.clientWidth > 90 && document.body.clientHeight > 150)){ }else{ return true; } //console.log('vsbl: '+vsbl+', document.hidden: '+document.hidden); if(bad_ref){ console.log('Sendworker: exit by bad_ref'); return true; } //return true; //e.preventDefault(); if(flag && n == 0){ console.log('Sendworker: exit by flag'); return true; } if(typeof e.originalEvent != 'undefined' && typeof e.originalEvent.touches != 'undefined'){ console.log('Sendworker: click get from touches'); var touch = e.originalEvent.touches[0]; var xc = touch.pageX; var yc = touch.pageY; }else{ console.log('Sendworker: click get from client'); var xc = e.clientX; var yc = e.clientY; } if(typeof xc == 'undefined'){ console.log('Sendworker: exit no clientX'); return true; } if (!("isTrusted" in e.originalEvent) || (("isTrusted" in e.originalEvent) && !e.originalEvent.isTrusted)) {console.log('Sendworker: exit, sendworker !isTrigger');return true;} if(n == 0){ if(mx != xc && mx === 0){ mx = xc; }else{ mx1 = xc; } if(my != yc && my === 0){ my = yc; }else{ my1 = yc; } } console.log('mx:'+mx+',mx1:'+mx1+',my:'+my+'my1:'+my1); if(n == 0){ queue++; flag = true; window.rtimeOut(function(){ flag = false; }, 100); } console.log('Sendworker: '+queue); //if(watched_video < 10){window.rtimeOut(function(){sendworker(e, 1, h);},5000);return true;} //if(openedpops < h){console.log('sendworker exit, queue:'+queue+', openedpops: '+ openedpops+', h:'+h);if(n == 0){queue--};return true;} if(queue > 3){ queue--; console.log('Sendworker: exit, big queue, '+queue); return true; } var h = queue; (async() => { console.log("Sendworker: waiting for variable"); while(watched_video < 10 || (free === 0 && adbact == '') || openedpops < send_user){ await new Promise(resolve => {console.log('sendworker waiting watched_video: '+watched_video+', adbact: '+adbact+', openedpops: '+openedpops+', queue: '+queue+', send_user: '+send_user);window.setTimeout(resolve, 1000);}); } console.log('Sendworker: not waiting watched_video: '+watched_video+', adbact: '+adbact+', openedpops: '+openedpops+', queue: '+queue+', send_user: '+send_user); if(n == 0){ queue--; } if(h > openedpops){ console.log('Sendworker: queue > openedpops, queue: '+ h+', openedpops: '+openedpops); return true; } if (visibleSince && performance.now() - visibleSince >= minimumVisibleDuration) { //all ok }else{ console.log('Sendworker: exit, too fast '+(performance.now() - visibleSince)+', performance.now(): '+performance.now()+', visibleSince: '+visibleSince); //return true; } console.log('Sendworker: visible: '+(performance.now() - visibleSince)+', performance.now(): '+performance.now()+', visibleSince: '+visibleSince); if((!vsbl) && free != 1){ return true; } if(!eIPkK && free != 1){ console.log('Sendworker: exit, no mmove'); return true; } if((adbact == 0 && free != 1) || (!adbact && free != 1)){ console.log('Sendworker: exit, no adbact' + adbact); return true; } if((wDksRgQ === '' || HEiNvx === '') && free == 0){ console.log('Sendworker: exit, no ashh'); return true; } if(free == 1){ if(send_user>0){ $(document).unbind( "click touchstart", sendworker); return true; } //document.removeEventListener("touchstart", function(e){ window.rtimeOut(function(){ sendworker(e,0); }, 1);}, passiveSupported ? { passive: true } : false); //document.removeEventListener("click", function(e){ window.rtimeOut(function(){ sendworker(e,0); }, 10);}, passiveSupported ? { passive: true } : false); } if(send_user >= popCount){ //document.removeEventListener("touchstart", function(e){ window.rtimeOut(function(){ sendworker(e,0); }, 1);}, passiveSupported ? { passive: true } : false); //document.removeEventListener("click", function(e){ window.rtimeOut(function(){ sendworker(e,0); }, 10);}, passiveSupported ? { passive: true } : false); $(document).unbind( "click touchstart", sendworker); } try{document.domain = ddomain}catch(e){console.log('Sendworker: exit, no ddomain');return true;} //console.log(e.message) function send_ad_req (token, countPops){ function sendajax(adscore){ if(mx == mx1 || my == my1){ //console.log('mx:'+mx+',mx1:'+mx1+',my:'+my+'my1:'+my1); console.log('Sendworker: exit, mx=my') return true; } if(send_user+1 > openedpops){ console.log('Sendworker: exit, send_user+1 > openedpops') return true; } console.log('mx:'+mx+',mx1:'+mx1+',my:'+my+',my1:'+my1); console.log('Sendworker: send_ad_req'); send_user++; if(window.hasOwnProperty('eIPkK') || window.hasOwnProperty('send_ad') || window.hasOwnProperty('send_user')){ console.log('Sendworker: exit, global send_ad'); return true; } try{$.get( "//a.labadena.com/api/spots/93110?p=1&s1="+userid, {});}catch(e){console.log(e.message)} try{$.post({ url:"/ajax.php?mode=increment_video", contentType: 'application/json', data: JSON.stringify({ adscore:adscore, v:1, adbact: adbact, adbactt: adbactt, mode: "increment_video", adsjsc: nrScDY,videokey: videokeyorig, userid: userid, ppref: window.btoa(server_referer), gtoken: token, popcount:send_user, uid:uid, secure:secure, hash:hash, ip:ipp, isfree:free, ashh:wDksRgQ, t:tsh, videoid:videoid, tshh:HEiNvx, width:document.body.clientWidth,height:document.body.clientHeight, clickx:clickx, clicky:clicky }) }) .done(function( data ) { console.log('Sendworker: send_ad_req done'); if(typeof($.cookie('user_ad')) === 'undefined'){ $.cookie('user_ad', send_user, { expires: 1, secure: true, path: "/;SameSite=None"}); } if(typeof($.cookie('user_ad_time')) === 'undefined'){ var d = new Date(); d.setTime(d.getTime() + (24*60*60*1000)); var expires = "expires="+ d.toUTCString(); $.cookie('user_ad_time', expires, { expires: 1, secure: true, path: "/;SameSite=None"}); } }); }catch(e){console.log(e.message)} //},duration); return true; } function adscore(){ //adscore load adscorestored = '1'; sendajax(adscorestored); return; //adscore load end AdscoreInit("QupoAAAAAAAA7baqJVmCi18vNdxVq-qt4r2I960", { sub_id: userid, callback: function(result) { if(typeof result.signature != 'undefined'){adscorestored = result.signature; sendajax(adscorestored);} } }); } if(!$.cookie("adrr") && free === 0 && adscorestored == ''){ //!$.cookie("adr") && if(typeof AdscoreInit == 'undefined' && !adscoreload){ adscoreload = !0; console.log('Sendworker: adscore loading'); loadJs('//c.adsco.re', adscore, false); try{$.get( "//a.labadena.com/api/spots/293971?p=1&s1="+userid, {});}catch(e){console.log(e.message)} }else{ function goadscore(){ if(adscorestored !== ''){ sendajax(adscorestored); }else{ console.log('sendworker send_ad_req waiting adscore load'); window.rtimeOut(function(){ goadscore(); },3000); } } goadscore(); } }else{ console.log('Sendworker: adscorestored = ""'); sendajax(adscorestored); } } if($.cookie('user_ad')){ if($.cookie('user_ad') < popCount){ send_ad = true; } }else{ send_ad = true; } var ifSize = getIframeSize(); if(typeof ifSize == 'undefined'){ send_ad = false; } if((olvideo_html5_api.offsetWidth > 150 && olvideo_html5_api.offsetHeight > 90) || (olvideo_html5_api.offsetWidth > 90 && olvideo_html5_api.offsetHeigh > 150)){ }else{ send_ad = false; } if(typeof ifSize !== 'undefined' && ((ifSize['width'] < 90 || ifSize['height'] < 150) || (ifSize['width'] < 150 || ifSize['height'] < 90))){ send_ad = false; } if(!send_ad){console.log('sendworker exit, no send_ad');} if(send_ad === true && openedpops > send_user){ var gt_ad = $.cookie('gt'); if(!gt_ad && free === 0 && false){ //send_ad_req("",send_user); var hsor = function(){ grecaptcha.ready(function() { grecaptcha.execute('6Ldf5F0UAAAAALErn6bLEcv7JldhivPzb93Oy5t9', {action: 'ad_watch'}) .then(function(token) { send_ad_req(token,send_user); }); }); } if(typeof grecaptcha == 'undefined'){ loadScript("https://www.google.com/recaptcha/api.js?render=6Ldf5F0UAAAAALErn6bLEcv7JldhivPzb93Oy5t9",hsor); }else{ hsor(); } }else{ send_ad_req("",send_user); } } return true; })(); console.log("Sendworker: above code doesn't block main function stack"); } //document.addEventListener("touchstart", function(e){ window.rtimeOut(function(){ sendworker(e,0); }, 1);}, passiveSupported ? { passive: true } : false); //document.addEventListener("click", function(e){ window.rtimeOut(function(){ sendworker(e,0); }, 10);}, passiveSupported ? { passive: true } : false); $(document).bind('click touchstart', sendworker); if ("IntersectionObserver" in window) { console.log('IntersectionObserver2 start'); var observer = new IntersectionObserver(function(entries) { if (entries[0].isIntersecting) { // we are ENTERING the "capturing frame". Set the flag. //isLeaving = true; vsbl = true; console.log('IntersectionObserver2 we are ENTERING the "capturing frame"'); // Do something with entering entry } else { // we are EXITING the "capturing frame" //isLeaving = false; vsbl = false; console.log('IntersectionObserver2 we are EXITING the "capturing frame"'); console.log('IntersectionObserver2 not visible by EXITING'); // Do something with exiting entry } //if(entries[0].isIntersecting === true){ if (entries[0].intersectionRatio > 0.7) { if (typeof entries[0].isVisible === 'undefined') { entries[0].isVisible = true; } if (entries[0].isVisible) { console.log('IntersectionObserver2 visible'); vsbl = true; visibleSince = entries[0].time; } else { console.log('IntersectionObserver2 not visible'); vsbl = true;//vsbl = false; visibleSince = 0; } }else{ console.log('IntersectionObserver2 intersectionRatio < 0.7'); console.log('IntersectionObserver2 not visible by intersectionRatio'); vsbl = false; } //}else{ // console.log('IntersectionObserver not isIntersecting'); // vsbl = false; //} }, {root:null, threshold: [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.9,1], trackVisibility: true, delay:100 }); observer.observe(document.getElementById("clickj")); } function waitloadplayerf(){ if(typeof olvideo_html5_api !== 'undefined' && typeof olplayer !== 'undefined'){ waitloadplayer = false; olvideo_html5_api.addEventListener('timeupdate', function (evt) { // if($('.vjs-big-play-button').is(":visible")){ // $(".vjs-big-play-button").hide(); //} if(ads_playing){ olplayer.pause(); } //$('.vjs-loading-spinner').hide(); if (!olvideo_html5_api.seeking) { previousTime = Math.max(previousTime, olvideo_html5_api.currentTime); var today = new Date(); if(Math.floor(olvideo_html5_api.currentTime) != previousTimeVideo){ previousTimeVideo = Math.floor(olvideo_html5_api.currentTime); if(sectime != today.getSeconds() && ('hidden' in document && !document.hidden) && vsbl){ //&& isInViewport(document.querySelector('#mediaplayerdiv2')) sectime = today.getSeconds(); watched_video++; } //console.log('tick, visible: '+ vsbl); } //console.log('video time: '+previousTime+', timer: '+watched_video); //console.log('video time: '+previousTimeVideo+', watched_video: '+watched_video); } }, false); } if(waitloadplayer){ window.rtimeOut(function(){ waitloadplayerf(); },1000); } } waitloadplayerf(); })();