var googletag = googletag || {'cmd':[]}; googletag.cmd.push(function() {googletag.pubads().disableInitialLoad()}); var indexformats = 0; var lancegpt = {}; var lancegptev = {}; lancegptev.scrollevent = false; lancegptev.torefresh = lancegptev.torefresh || []; lancegptev.lazyloadSlots = []; lancegptev.ensureAdGroupId = function() { let AdGroupId = localStorage.getItem('_ad_group_id_cent') || Math.floor(Math.random() * 100) + 1 + ''; localStorage.setItem('_ad_group_id_cent', AdGroupId); return AdGroupId; } function getAndGoogleIds() { function getCookie(name) { const cookies = document.cookie.split('; '); for (const cookie of cookies) { const [key, value] = cookie.split('='); if (key === name) { return decodeURIComponent(value); } } return null; } function parseJwt(token) { try { const base64Url = token.split('.')[1]; const base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/'); const jsonPayload = decodeURIComponent( atob(base64) .split('') .map(c => '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2)) .('') ); return JSON.parse(jsonPayload); } catch (error) { console.error('Erro ao decodificar o JWT:', error); return null; } } const idToken = getCookie('idToken'); if (!idToken) { console.warn('idToken não encontrado nos cookies.'); return { Id: null, googleId: null }; } const decodedToken = parseJwt(idToken); if (!decodedToken) { console.warn('Não foi possível decodificar o idToken.'); return { Id: null, googleId: null }; } const Id = decodedToken._id || decodedToken.sub || null; const googleId = decodedToken.firebase && decodedToken.firebase.identities && decodedToken.firebase.identities['google.com'] && decodedToken.firebase.identities['google.com'][1] || null; return { Id, googleId }; } lancegptev.buildAds = function(){ //@configs: elm, formato, sizemap, lazyload, targeting, refresh, safeframe, restrict_by_available_area var configs = {}; var arglen = arguments.length; var args = ['elm','formato','sizemap','lazyload','targeting','refresh','safeframe', 'restrict_by_available_area']; if(arglen == 1){ configs = typeof arguments[0] == 'string' || arguments[0] instanceof HTMLElement || typeof arguments[0].get == "function"?{'elm':arguments[0]}:arguments[0]; }else{ for( var i = 0; i < arglen; i++){ configs[args[i]] = arguments[i]; } } if( configs.elm ){ if( typeof configs.elm == "string" ){ if( configs.elm.trim().match(/^\w/) ){ configs.elm = document.getElementById(configs.elm); }else{ configs.elm = document.querySelector(configs.elm); } } configs.elm = configs.elm.get?configs.elm.get(0):configs.elm; configs.targetdisplay = configs.elm; lenitens = configs.elm.childNodes.length; for(var i =0; i < lenitens; i++){ if(configs.elm.childNodes[i].nodeName === "DIV"){ configs.elm = configs.elm.childNodes[i]; break; } } }else{ return false; } configs.refresh =25000;configs.targeting = configs.targeting || []; configs.formato = configs.formato || [[336,280],[300,250]]; configs.sizemap = configs.sizemap || [[[0, 0],configs.formato]]; configs.safeframe = configs.safeframe !== false?true:false; configs.restrict_by_available_area = configs.restrict_by_available_area != false; if(configs.restrict_by_available_area && configs.elm.parentNode && configs.elm.parentNode.clientWidth > 0){ configs.maxWidth = configs.elm.parentNode.clientWidth; configs.maxHeight = configs.elm.parentNode.clientHeight; configs.formato = configs.formato.filter(function(item){ if(typeof item === 'string' || typeof item === 'number') { return true; } if(Array.isArray(item) && (item[0] <= configs.maxWidth || configs.maxWidth == 0) && (item[1] <= configs.maxHeight || configs.maxHeight == 0)) { return true; } return false; }) } var reloadjs = window.localStorage?localStorage.getItem('reloadjs'):'0'; if(typeof configs.lazyload != "boolean" || reloadjs == '1' || document.hidden == true){ configs.lazyload = true; } lancegptev.builadscount = lancegptev.builadscount || 0; configs.elm.id = configs.elm.id || 'gpt-buildads-'.concat(++lancegptev.builadscount); (function(configs){ googletag.cmd.push(function() { var sizemapping = googletag.sizeMapping(); for(var i = 0; i < configs.sizemap.length; i++){ sizemapping.addSize(configs.sizemap[i][0],configs.sizemap[i][1]); } lancegpt[configs.elm.id] = {} lancegpt[configs.elm.id].slot = googletag.defineSlot('/102307571/betting', configs.formato, configs.elm.id ). setTargeting('identificador',configs.elm.id.replace(/.*?(publicidade-.*)/,'$1')). setTargeting('implementado','dinamico'). setTargeting('refresh','0'). setTargeting('pos',[(++indexformats).toString()]). defineSizeMapping( sizemapping.build() ). setCollapseEmptyDiv(true,true); configs.safeframe == true && lancegpt[configs.elm.id].slot.setForceSafeFrame(configs.safeframe); lancegpt[configs.elm.id].configs = configs; for(var i = 0; i < configs.targeting.length; i++){ configs.targeting[i].length == 2 && lancegpt[configs.elm.id].slot.setTargeting(configs.targeting[i][0],configs.targeting[i][1]); } lancegpt[configs.elm.id].slot.addService(googletag.pubads()); if(configs.lazyload || !( configs.elm.style.visibilit != 'hidden' && Boolean(configs.elm.offsetParent))){ lancegptev.addtolazyload(lancegpt[configs.elm.id]); }else{ lancegptev.refreshslot([lancegpt[configs.elm.id]]); lancegptev.addtorefresh(lancegpt[configs.elm.id]); } }); })( configs ); } lancegptev.doscrollevent = function() { lancegptev.scrollevent = true; } lancegptev.addtolazyload = function(slot){ lancegptev.lazyloadSlots.push(slot); lancegptev.doscrollevent(); } lancegptev.addtorefresh = function(slot) { var exists = lancegptev.torefresh.some(function(existingSlot) { return existingSlot.configs.elm.id === slot.configs.elm.id; }); if (!exists) { lancegptev.torefresh.push(slot); } }; lancegptev.elemonscreen = function(e, n, t) { if(document.hidden == true){return false} if(e.style.visibilit == 'hidden' || !Boolean(e.offsetParent)){return false} n = n || 0, t = t || "visible"; var o = e.getBoundingClientRect(), i = Math.max(document.documentElement.clientHeight, window.innerHeight), d = o.bottom - n < 0, w = o.top - i + n >= 0; return "above" === t ? d : "below" === t ? w : !d && !w } lancegptev.displayslots = function(){ for(var i = 0; i < lancegptev.lazyloadSlots.length; i++){ if(lancegptev.elemonscreen(lancegptev.lazyloadSlots[i].configs.elm, -700)){ (function(slot){ lancegptev.refreshslot([slot]); lancegptev.addtorefresh(slot); })(lancegptev.lazyloadSlots.splice(i,1).shift()); } } } lancegptev.refreshslot = function(slots) { slots = slots.filter(function(s){return Boolean(s.configs.elm.offsetParent)}); if(!slots.length) return false googletag.cmd.push(function() { googletag.pubads().refresh(slots.map(function(s){return s.slot})); }); } lancegptev.refreshslots = function() { for(var attr in lancegptev.torefresh){ if(lancegptev.torefresh[attr].configs.elm.clientHeight){ if(lancegptev.elemonscreen(lancegptev.torefresh[attr].configs.elm)){ if(!lancegptev.torefresh[attr]['timeoutrefresh']){ (function(slot){ slot['timeoutrefresh'] = setTimeout(googletag.cmd.push, slot.configs.refresh, function(){ slot['refresh'] = slot['refresh'] || 0; slot.slot.setTargeting('refresh', (++slot['refresh']).toString()); lancegptev.refreshslot([slot]); clearTimeout(slot['timeoutrefresh']); slot['timeoutrefresh'] = false; lancegptev.refreshslots(); }); })(lancegptev.torefresh[attr]); } }else{ if(lancegptev.torefresh[attr]['timeoutrefresh']){ clearTimeout(lancegptev.torefresh[attr]['timeoutrefresh']); lancegptev.torefresh[attr]['timeoutrefresh'] = false; } } } } } window.addEventListener('DOMContentLoaded', lancegptev.doscrollevent); window.addEventListener('load', lancegptev.doscrollevent); window.addEventListener('resize', lancegptev.doscrollevent); window.addEventListener('scroll', lancegptev.doscrollevent); lancegptev.timeraf = null; lancegptev.testScrollEvent = function(){ if(lancegptev.scrollevent) { lancegptev.scrollevent = false; lancegptev.lazyloadSlots.length && lancegptev.displayslots(); lancegptev.torefresh.length && lancegptev.refreshslots(); } cancelAnimationFrame(lancegptev.timeraf); lancegptev.timeraf = requestAnimationFrame(lancegptev.testScrollEvent); } var cancelAnimationFrame = window.cancelAnimationFrame || function(id){clearTimeout(id)}; var requestAnimationFrame = window.requestAnimationFrame || (function() { var timeLast = 0; return window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(callback) { var timeCurrent = (new Date()).getTime(),timeDelta; timeDelta = Math.max(0, 16 - (timeCurrent - timeLast)); timeLast = timeCurrent + timeDelta; return setTimeout(function() { callback(timeCurrent + timeDelta); }, timeDelta); }; })(); lancegptev.testScrollEvent(); googletag.cmd.push(function(){ lancegpt['vertical_2'] = {"single_request": true, "configs": {"elm":{"id": "vertical_2", "offsetParent": true}, "formato": [[120,600],[160,600]], "refresh": 25000 } } lancegpt['vertical_2'].slot = googletag.defineSlot('/102307571/betting', [[120,600],[160,600]], 'vertical_2').addService(googletag.pubads()) .setTargeting("page_type","web") .setTargeting('identificador', 'vertical_2') .setTargeting('implementado','estatico') .setTargeting('refresh','0') .setTargeting('pos',[(++indexformats).toString()]).defineSizeMapping( googletag.sizeMapping().addSize([0, 0], []).addSize([1367, 0], [[120, 600], [160, 600]]).build() ); lancegpt['vertical_1'] = {"single_request": true, "configs": {"elm":{"id": "vertical_1", "offsetParent": true}, "formato": [[120,600],[160,600]], "refresh": 25000 } } lancegpt['vertical_1'].slot = googletag.defineSlot('/102307571/betting', [[120,600],[160,600]], 'vertical_1').addService(googletag.pubads()) .setTargeting("page_type","web") .setTargeting('identificador', 'vertical_1') .setTargeting('implementado','estatico') .setTargeting('refresh','0') .setTargeting('pos',[(++indexformats).toString()]).defineSizeMapping( googletag.sizeMapping().addSize([0, 0], []).addSize([1367, 0], [[120, 600], [160, 600]]).build() ); lancegpt['rasgado_1'] = {"single_request": true, "configs": {"elm":{"id": "rasgado_1", "offsetParent": true}, "formato": [[728,90],[1150,150],[970,90]], "refresh": 25000 } } lancegpt['rasgado_1'].slot = googletag.defineSlot('/102307571/betting', [[728,90],[1150,150],[970,90]], 'rasgado_1').addService(googletag.pubads()) .setTargeting("page_type","web") .setTargeting('identificador', 'rasgado_1') .setTargeting('implementado','estatico') .setTargeting('refresh','0') .setTargeting('pos',[(++indexformats).toString()]).defineSizeMapping( googletag.sizeMapping().addSize([0, 0], [[728, 90], [1150, 150], [970, 90]]).build() ); lancegpt['quadrado_1'] = {"single_request": true, "configs": {"elm":{"id": "quadrado_1", "offsetParent": true}, "formato": [[300,250],[336,280],[1,1]], "refresh": 25000 } } lancegpt['quadrado_1'].slot = googletag.defineSlot('/102307571/betting', [[300,250],[336,280],[1,1]], 'quadrado_1').addService(googletag.pubads()) .setTargeting("page_type","web") .setTargeting('identificador', 'quadrado_1') .setTargeting('implementado','estatico') .setTargeting('refresh','0') .setTargeting('pos',[(++indexformats).toString()]).defineSizeMapping( googletag.sizeMapping().addSize([0, 0], [[300, 250], [336, 280], [1, 1]]).build() ); lancegpt['rodapefixo'] = {"single_request": true, "configs": {"elm":{"id": "rodapefixo", "offsetParent": true}, "formato": [[970,90],[728,90],[468,60],[320,100],[300,100],[320,50],[300,50],[1,1]], "refresh": 25000 } } lancegpt['rodapefixo'].slot = googletag.defineSlot('/102307571/betting', [[970,90],[728,90],[468,60],[320,100],[300,100],[320,50],[300,50],[1,1]], 'rodapefixo').addService(googletag.pubads()) .setTargeting("page_type","web") .setTargeting('identificador', 'rodapefixo') .setTargeting('implementado','estatico') .setTargeting('refresh','0') .setTargeting('pos',[(++indexformats).toString()]).defineSizeMapping( googletag.sizeMapping().addSize([0, 0], [[300, 50], [300, 100], [1, 1]]).addSize([320, 0], [[320, 50], [320, 100], [300, 50], [300, 100], [1, 1]]).addSize([468, 0], [[468, 60], [320, 50], [320, 100], [1, 1]]).addSize([728, 0], [[728, 90], [468, 60], [1, 1]]).addSize([970, 0], [[970, 90], [728, 90], [1, 1]]).build() ); lancegpt['rasgado_amp_1'] = {"single_request": true, "configs": {"elm":{"id": "rasgado_amp_1", "offsetParent": true}, "formato": [[320,100],[320,50],[300,50],[300,100]], "refresh": 25000 } } lancegpt['rasgado_amp_1'].slot = googletag.defineSlot('/102307571/betting', [[320,100],[320,50],[300,50],[300,100]], 'rasgado_amp_1').addService(googletag.pubads()) .setTargeting("page_type","amp") .setTargeting("identificador","rasgado_amp_1") .setTargeting('identificador', 'rasgado_amp_1') .setTargeting('implementado','estatico') .setTargeting('refresh','0') .setTargeting('pos',[(++indexformats).toString()]); googletag.pubads().setTargeting('partner', document.querySelector('meta[name="partner"]')?.getAttribute('content') || ''); googletag.pubads().setTargeting("testeab", (function(){return Math.trunc(Math.random()*10)+1})().toString()); googletag.pubads().setTargeting("resolucao",screen.width+'x'+screen.height); googletag.pubads().setTargeting("titleofpage",document.title); googletag.pubads().setTargeting("urldata",window.location.href.split(/\/|=|,|\.|&/)); googletag.pubads().setTargeting("tagsofpage",document.querySelector('meta[name="keywords"]')?document.querySelector('meta[name="keywords"]').content.replace(/\s?(,)\s?/g,'$1').split(','):[]); googletag.pubads().setTargeting("reload", (window.performance?window.performance.navigation.type:2).toString() ); googletag.pubads().setTargeting('AdGroupId',lancegptev.ensureAdGroupId()); const ids = getAndGoogleIds(); googletag.pubads().setTargeting('authenticatedId', ids.Id); googletag.pubads().setTargeting('authenticatedGoogleId', ids.googleId); // clear and setatributes by urlparam !function(){try{var t=location.search.match(/(targetgpt:[^?&]+?=[^&]+)/g);if(-1!==location.search.search(/cleartargeting=true/g)&&googletag.pubads().clearTargeting(),!t)return!1;t.map(function(t){t=t.split(/:|=/g),googletag.pubads().setTargeting(t[1],decodeURIComponent(t[2]))})}catch(t){return!1}}(); googletag.pubads().enableSingleRequest(); googletag.pubads().collapseEmptyDivs(); googletag.pubads().enableAsyncRendering(); googletag.pubads().disableInitialLoad(); googletag.pubads().setCentering(true); googletag.enableServices(); googletag.pubads().addEventListener('slotRenderEnded', function(event) { try { var elmid = event.slot.getSlotElementId(); var elmtg = document.getElementById(elmid); elmtg && elmtg.dataset.adsCallback && (function(str){ eval(str) }).call(this, elmtg.dataset.adsCallback, elmid=elmid, elmtg=elmtg, event=event); } catch(e) { console.warn(e); } }); });
menu hamburguer
imagem topo menu
logo Lance!X
Logo Lance!
capa palpites

LaLiga 23/24

31 de março de 2024

16:00

logo time A

Real Madrid

X

logo time B

Athletic Bilbao

foto do autor

Gabriel Bergone

Palpite do jogo

Vitória do Real e menos de 2,5 gols

logo do twitter
icone do facebook
icone do whatsapp
icone de compartilhamento

Início / dicas / real madrid x athletic bilbao: odds, estatísticas e informações para apostar em la liga

Real Madrid x Athletic Bilbao: odds, estatísticas e informações para apostar em La Liga

Bola rola às 16h deste domingo (31), no Santiago Bernabéu, em Madri

Compartilhe

logo do twitter
icone do facebook
icone do whatsapp
icone de compartilhamento