var gg = window.gg = window.gg || {};
var ggCmd = window.ggCmd || [];
window.googletag = window.googletag || {}, window.googletag.cmd = window.googletag.cmd || [];
window.enabledYtIma = true;
godo={};godo.ads=[];var adsCfg= {"unitname":"/55964524/lv_w/loterias/loteria-navidad/p","sequential":["roba","mega","modulo","triplepack-izq-","triplepack-cen-","triplepack-der-"],"sectionable":["cintillo","patrocinio"],"prebid":{"timeout":5000,"bidders":{"criteo":{"md":{"mega1":"768469","roba1":"768472","roba2":"768473","roba3":"768474","roba4":"768475","skyl-inpage":"768470","skyr-inpage":"768471"},"sm":{"mega1":"768476","roba1":"768477","roba3":"792061","roba4":"792062","roba5":"792063"},"xs":"sm"},"richaudience":{"md":{"mega1":["aNaXJdDvuL","1gQhRt80hv"],"roba1":"1RTpvUFaDi","roba2":"2F1bMdvQu6","roba3":"7Y70bZitxT","roba4":"1r9klYTjZC","roba5":"0CsNLIjw2h","roba6":"0LnvaGbOZa","roba7":"0hJChb7mJK","skyl-inpage":"j4SK4Qf3mj","skyr-inpage":"RwysGvzhSL"},"sm":{"mega1":"ypBZN0Dlrk","roba1":"AGtH0mSoEW","roba2":"1jEFqsZQ0S","roba3":"WYhNchHxsD","roba4":"mHnn7u2ksB","roba5":"1ph3qY3443","roba6":"2PIByXjhcR","roba7":"S1VdhdOBlT"},"xs":"sm"},"appnexus":{"md":{"mega1":"16324351","mega2":"16324352","roba1":"16324353","roba2":"16324354","roba3":"16324355","roba4":"16324356","roba5":"16324357","roba6":"16324358","roba7":"16324359","skyl-inpage":"16324361","skyr-inpage":"16324360"},"xs":{"mega1":"16324655","mega2":"16324656","roba1":"16324657","roba2":"16324658","roba3":"16324659","roba4":"16324660","roba5":"16324661","roba6":"16324662","roba7":"16324664"}},"smartadserver":{"md":{"slots":{"sky1":"128424","sky2":"128425","mega1":"59970","mega2":"59970","mega3":"59970","mega4":"59970","mega5":"59970","mega6":"59970","mega7":"59970","mega8":"59970","mega9":"59970","roba1":"62693","roba2":"62694","roba3":"62695","roba4":"62696","roba5":"62696","roba6":"62696","roba7":"62696","roba8":"62696","roba9":"62696"},"pageId":"1928229","siteId":"636712"},"xs":{"slots":{"mega1":"59970","mega2":"59970","mega3":"59970","mega4":"59970","mega5":"59970","mega6":"59970","mega7":"59970","mega8":"59970","mega9":"59970","roba1":"62693","roba2":"62694","roba3":"62695","roba4":"62696","roba5":"62696","roba6":"62696","roba7":"62696","roba8":"62696","roba9":"62696"},"pageId":"1928230","siteId":"636713"},"siteId":null}}},"keys":{"environment":"pro"}};adsCfg.adUnitSection= adsCfg.unitname.split('/')[3];
adsCfg.aps = {
pubID: '3714',
isEnabled: false,
adServer: 'googletag'
}
adsCfg.googletagVendorId = 'google';
adsCfg.apstagVendorId = 'c:amazonads-9c5TNGaj';
adsCfg.isDfpConsentRequired = true;
godo.ads.push(function(x){x.configure(null, adsCfg);});godo.ads.push(function(x){x.init();});
gg.didomi.doWhenConsent(!window.didomiBy, 596, function () {
gg.util.getScript("https://cdn.insurads.com/bootstrap/EMOIYLRT.js",{async:true});
});
window.didomiOnReady = window.didomiOnReady || [];
var _comscore = _comscore || [];
comscoreSrc = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";
window.didomiOnReady.push(function(){
_comscore.push({
c1:"2",
c2:"6398301",
cs_ucfr: Didomi.getConsentStatusForVendor('c:comscore-jUFc9icY') === false ? "0" : "1"
});
gg.util.getScript(comscoreSrc,{async:true});
});
var gfkMediaId = "LavanguardiaWeb";
if (typeof ggIsApp !== 'undefined' & ggIsApp) {
gfkMediaId = /iPad|iPhone|iPod/i.test(navigator.Agent) ? "LavanguardiaIos" : "LavanguardiaAndroid";
}
var gfkS2sConf = {
media: gfkMediaId,
url: "//es-config.sensic.net/s2s-web.js",
type: "WEB",
logLevel: "none" //optional
};
if (typeof ggIsApp !== 'undefined' & ggIsApp) {
gfkS2sConf.type = "APP";
gfkS2sConf.device = "UNKNOWN";
gfkS2sConf.ai = "";
}
(function (w, d, c, s, id, v) {
if (d.getElementById(id)) {
return;
}
w.gfkS2sConf = c;
w[id] = {};
w[id].agents = [];
var api = ["playStreamLive", "playStreamOnDemand", "stop", "skip", "screen", "volume", "impression"];
w.gfks = (function () {
function f(sA, e, cb) {
return function () {
sA.p = cb();
sA.queue.push({f: e, a: arguments});
};
}
function s(c, pId, cb) {
var sA = {queue: [], config: c, cb: cb, pId: pId};
for (var i = 0; i < api.length; i++) {
var e = api[i];
sA[e] = f(sA, e, cb);
}
return sA;
}
return s;
}());
w[id].getAgent = function (cb, pId) {
var a = {
a: new w.gfks(c, pId || "", cb || function () {
return 0;
})
};
function g(a, e) {
return function () {
return a.a[e].apply(a.a, arguments);
}
}
for (var i = 0; i < api.length; i++) {
var e = api[i];
a[e] = g(a, e);
}
w[id].agents.push(a);
return a;
};
var lJS = function (eId, url) {
var tag = d.createElement(s);
var el = d.getElementsByTagName(s)[0];
tag.id = eId;
tag.async = true;
tag.type = 'text/javascript';
tag.src = url;
el.parentNode.insertBefore(tag, el);
};
if (c.hasOwnProperty(v)) {lJS(id + v, c[v]);}
lJS(id, c.url);
})(window, document, gfkS2sConf, 'script', 'gfkS2s', 'visUrl');
var agent = gfkS2s.getAgent();
var customParams = {
c1: "lavanguardia.com",
c2: "loterias/loteria-navidad"
};
agent.impression("default", customParams);
gg.didomi.doWhenConsent(!window.didomiBy, 'c:facebooka-frU9M5JY', function () {
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '316167066837274');
fbq('track', 'PageView');
});
var initGtm = function() {
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PHSTS65');
};
window.googletag = window.googletag || {}, window.googletag.cmd = window.googletag.cmd || [], window.googletag.cmd.push(function () {if (0 === window.googletag.pubads().getTargeting('permutive').length) {var e = window.localStorage.getItem('_pdfps');window.googletag.pubads().setTargeting('permutive', e ? JSON.parse(e) : []);var o = window.localStorage.getItem('permutive-id');o & (window.googletag.pubads().setTargeting('puid', o), window.googletag.pubads().setTargeting('ptime', Date.now().toString())), window.permutive.config.viewId && window.googletag.pubads().setTargeting('prmtvvid', window.permutive.config.viewId), window.permutive.config.workspaceId && window.googletag.pubads().setTargeting('prmtvwid', window.permutive.config.workspaceId);}})
!function(e,o,n,i){if(!e){e=e||{},window.permutive=e,e.q=[];var t=function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(e){return(e^(window.crypto||window.msCrypto).getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)})};e.config=i||{},e.config.apiKey=o,e.config.workspaceId=n,e.config.environment=e.config.environment||"production",(window.crypto||window.msCrypto)&(e.config.viewId=t());for(var g=["addon","identify","track","trigger","query","segment","segments","ready","on","once","","consent"],r=0;r<g.length;r++){var w=g[r];e[w]=function(o){return function(){var n=Array.prototype.slice.call(arguments,0);e.q.push({functionName:o,arguments:n})}}(w)}}}(window.permutive,"eef148c2-9875-47de-a74e-1f63e078551b","045b8894-d300-4d6e-9660-5d16b7c213f9",{"consentRequired": true});
window.didomiOnReady = window.didomiOnReady || [];
window.didomiOnReady.push(function (Didomi) {
try {
permutive.once("Pageview", function (evnt, err) {
firePixels();
function firePixels() {
if (window.__tcfapi) {
__tcfapi('addEventListener', 2, function(tcdata, success){
if(success & tcdata.eventStatus === 'tcloaded') {
if (Didomi.getConsentStatusForVendor("c:laliga-Y6YQ22RR")) {
laLigaPixel();
}
};
});
} else {
return [0, null];
}
}
function laLigaPixel() {
var cohortsToFire = getCohortsToFireByLocalStorageKey("laliga_datasharing");
if (cohortsToFire.length < 1) {
return;
}
cohortsToFire.forEach(function (cohortId) {
var src = "https://beacon.krxd.net/event.gif?event_id=Opf7g9VZ&event_type=default&event_name=GODO" + "&segment=" + cohortId;
firePixelWithImgElement(src);
});
saveFiredPixels("laliga_datasharing", cohortsToFire);
}
function firePixelWithImgElement(src) {
var s = document.createElement("img");
s.src = src;
s.height = 1;
s.width = 1;
s.style = "display:none;visibility:hidden";
document.head.appendChild(s);
}
function getCohortsToFireByLocalStorageKey(localStorageKey) {
var cohorts = localStorage.getItem(localStorageKey) || "";
cohorts = cohorts.length > 0 ? JSON.parse(cohorts) : [];
var cohortsPost = localStorage.getItem(localStorageKey + "Post") || "";
cohortsPost = cohortsPost.length > 0 ? JSON.parse(cohortsPost) : [];
return cohorts.filter(function (cohortCode) {
return !cohortsPost.includes(cohortCode);
});
}
function saveFiredPixels(localStorageKey, cohorts) {
var cohortsPost = localStorage.getItem(localStorageKey + "Post") || "";
cohortsPost = cohortsPost.length > 0 ? JSON.parse(cohortsPost) : [];
localStorage.setItem(
localStorageKey + "Post",
JSON.stringify(cohortsPost.concat(cohorts))
);
}
});
} catch (e) {
console.log("Permutive is not running");
}
});
function triggerPermutivePush(dataSource, util) {
var topics = [];
if (dataSource.topics & '' !== dataSource.topics) {
topics = dataSource.topics.split(',').filter(function(str){ return '' !== str.trim(); }).map(function(topic) {
return topic.trim();
});
}
var authors = [];
if (dataSource.authorName & '' !== dataSource.authorName) {
authors = dataSource.authorName.split(',').map(function(author) {
return author.replace('#', '').trim();
});
}
var pageKeys = [];
if (dataSource.pageKeys & '' !== dataSource.pageKeys) {
pageKeys = dataSource.pageKeys.split(',').map(function(pageKey) {
return pageKey.replace('#', '').trim();
});
}
function parseDateFormat(dataSourceDateString){
var dateISOString = null;
if (dataSourceDateString & '' !== dataSourceDateString){
var formattedDate = new Date(dataSourceDateString);
const parsed = Date.parse(dataSourceDateString);
// Hack for iOS-macOS devices because they don't read properly the date format and returns NaN
if(isNaN(parsed)) {
formattedDate = new Date(dataSourceDateString.replace(/-/g, '/').replace('T', ' '));
}
dateISOString = util.toIsoString(formattedDate);
}
return dateISOString;
}
var modificationDateISO = parseDateFormat(dataSource.modificationDate);
var publicationDateISO = parseDateFormat(dataSource.publicationDate);
var creationDateISO = parseDateFormat(dataSource.creationDate);
var forcedUpdateDateISO = parseDateFormat(dataSource.forcedUpdateDate);
var sections = [];
var section = '';
if (dataSource.mainSection) {
section = dataSource.mainSection;
}
var = true;
if (gg.paywall.utils.getAccessType(ggPageData.accessType) === "no") {
= false;
}
var daysPublished = null;
if (dataSource.publicationDate !== ''){
var today = new Date();
var pubDate = new Date(dataSource.publicationDate);
var msSincePubDate = today.getTime() - pubDate.getTime();
daysPublished = Math.floor(msSincePubDate / (1000 * 60 * 60 * 24));
}
var evSegments = null;
if (typeof localStorage.evolokSegments !== "undefined") {
evSegments = JSON.parse(localStorage.evolokSegments).split(",").map(entry=>entry);
}
var permutiveJSON = {
page: {
type: dataSource.webType,
content: {
categories: sections,
trackingId: dataSource.trackingId,
unitName: dataSource.unitName
},
article: {
id: dataSource.contentId,
title: dataSource.title || '',
description: dataSource.description || '',
authors: authors,
modifiedAt: modificationDateISO,
publishedAt: publicationDateISO,
topics: topics,
: ,
wordCount: parseInt(dataSource.wordCounter) ,
paragraphCount: parseInt(dataSource.paragraphCounter) || 0,
section: section,
company: "LV",
creationDate: creationDateISO,
daysPublished: daysPublished,
pagekeys: pageKeys,
facet: dataSource.facet,
forcedUpdateDate: forcedUpdateDateISO,
inlineNews: parseInt(dataSource.inlineNews),
relatedNews: parseInt(dataSource.relatedNews),
webType: dataSource.webType
},
: {
type: gg.s.getType(),
age: (typeof gg.s.get().getAge === 'function' & gg.s.get().getAge() !== null) ? parseInt(gg.s.get().getAge()) : null,
gender: (typeof gg.s.get().getGender ==='function') ? gg.s.get().getGender() : null,
language: navigator.language,
Id: (typeof gg.s.get().uid !== 'undefined') ? gg.s.get().uid : null,
evolok_segments: evSegments,
consentedTcf: (typeof didomiState !== 'undefined') ? didomiState.didomiVendorsConsent.split(",") : null
}
}
}
if (dataSource.webType == "story" || dataSource.webType == "opinion"){
permutiveJSON.page["classifications_watson"] = {
concepts: '$alchemy_concepts',
entities: '$alchemy_entities',
keywords: '$alchemy_keywords',
categories: '$alchemy_taxonomy',
sentiment: '$alchemy_document_sentiment',
emotion: '$alchemy_document_emotion',
taxonomy_labels: '$alchemy_taxonomy_labels'
}
}
if (window.ggIsApp) {
if (window.__evContext && window.__evContext.platform) {
if (window.__evContext.platform === 'ios' || window.__evContext.platform === 'android') {
permutiveJSON.page['client'] = { type: window.__evContext.platform };
}
}
}
permutive.addon('web', permutiveJSON);
}
var ggPageDataCmd = window.ggPageDataCmd || [];
window.ggPageDataCmd = ggPageDataCmd;
window.ggPageDataCmd.push(function(sourceData, util){
triggerPermutivePush(sourceData, util);
});
gg.didomi.doWhenConsent(!window.didomiBy, 361, function () {
gg.util.getScript("https://045b8894-d300-4d6e-9660-5d16b7c213f9.edge.permutive.app/045b8894-d300-4d6e-9660-5d16b7c213f9-web.js",{async:true});
});
window.didomiOnReady = window.didomiOnReady || [];
window.didomiOnReady.push(function (Didomi) {
try {
var consentToken = "";
__tcfapi('addEventListener', 2, function(tcdata, success){
if(success & tcdata.eventStatus === 'tcloaded') {
consentToken = tcdata.tcString;
};
})
gg.didomi.doWhenConsent(true, 361, function(){
if (typeof consentToken !== 'undefined'){
permutive.consent({ "opt_in": true, "token": consentToken })
}
})
} catch(e) {
console.log(e);
}
});
var gaId = gg.cookie.get("_ga");
var permutiveIdentifyJSON = [
{
"id": gaId,
"tag": "gtm_id",
"priority": 1
}
];
var sId = gg.s.get().uid;
if (typeof sId !== 'undefined') {
permutiveIdentifyJSON.push({
"id": sId,
"tag": "_id",
"priority": 0
});
}
var emailSha = gg.s.get().email;
if (typeof emailSha !== "undefined" & emailSha.length > 0) {
permutiveIdentifyJSON.push({
"id": emailSha,
"tag": "email_sha256",
"priority": 3
});
}
if (typeof ggIsApp !== 'undefined' & ggIsApp && typeof sId !== 'undefined'){
var mobileId = window["mobileId"];
permutiveIdentifyJSON.push({
"id": mobileId,
"tag": "mobile_id",
"priority": 2
})
}
permutive.identify(permutiveIdentifyJSON);
window.__wmass = window.__wmass || {};
window.__wmass.bff = window.__wmass.bff || [];
window.__wmass.getSegments = window.__wmass.getSegments || function () {
let psegs = [];
try {
pSegs = JSON.parse(window.localStorage["28986622-e6be-473d-9a8f-e603a25f3c66_papns"] || '[]').slice(0, 250).map(String);
} catch (e) {
pSegs = []
}
return { permutive: pSegs };
};
function triggerWeMassPush(dataSource, util) {
var topics = [];
if (dataSource.topics & '' !== dataSource.topics) {
topics = dataSource.topics.split(',').filter(function (str) { return '' !== str.trim(); }).map(function (topic) {
return topic.trim();
});
}
var authors = [];
if (dataSource.authorName & '' !== dataSource.authorName) {
authors = dataSource.authorName.split(',').map(function (author) {
return author.replace('#', '').trim();
});
}
function parseDateFormat(dataSourceDateString){
var dateISOString = null;
if (dataSourceDateString & '' !== dataSourceDateString){
var formattedDate = new Date(dataSourceDateString);
const parsed = Date.parse(dataSourceDateString);
// Hack for iOS-macOS devices because they don't read properly the date format and returns NaN
if(isNaN(parsed)) {
formattedDate = new Date(dataSourceDateString.replace(/-/g, '/').replace('T', ' '));
}
dateISOString = util.toIsoString(formattedDate);
}
return dateISOString;
}
var modificationDateISO = parseDateFormat(dataSource.modificationDate);
var publicationDateISO = parseDateFormat(dataSource.publicationDate);
var = true;
if (gg.paywall.utils.getAccessType(ggPageData.accessType) === "no") {
= false;
}
var sections = [];
var section = '';
if (dataSource.mainSection) {
section = dataSource.mainSection;
}
var addonData = {
page: {
type: dataSource.webType,
content: {
categories: sections
},
article: {
id: dataSource.contentId,
title: dataSource.title || '',
description: dataSource.description || '',
topics: topics,
authors: authors,
modifiedAt: modificationDateISO,
publishedAt: publicationDateISO,
: ,
wordCount: parseInt(dataSource.wordCounter),
paragraphCount: parseInt(dataSource.paragraphCounter) || 0,
section: section
},
: {
type: gg.s.getType(),
age: (typeof gg.s.get().getAge === 'function') ? gg.s.get().getAge() : null,
gender: (typeof gg.s.get().getGender === 'function') ? gg.s.get().getGender() : null
}
}
};
window.__wmass.bff.push(function () {
__wmass.dmp.addon('web', addonData);
});
}
var ggPageDataCmd = window.ggPageDataCmd || [];
window.ggPageDataCmd = ggPageDataCmd;
window.ggPageDataCmd.push(function (sourceData, util) {
triggerWeMassPush(sourceData, util);
});
window.didomiOnReady = window.didomiOnReady || [];
window.didomiOnReady.push(function (Didomi) {
try {
var consentTokenWM = "";
__tcfapi('addEventListener', 2, function (tcdata, success) {
if(success & tcdata.eventStatus === 'tcloaded') {
consentTokenWM = tcdata.tcString;
};
})
gg.didomi.doWhenConsent(true, 968, function () {
if (typeof consentTokenWM !== 'undefined') {
window.__wmass.bff.push(function () {
__wmass.dmp.consent({ "opt_in": true, "token": consentTokenWM });
});
}
})
} catch (e) {
console.log(e);
}
});
window.__didomiVersion=2;
var dataLayer = window["dataLayer"] || [];
dataLayer.push({"modificationDate":"2024-12-22T08:00:00Z","webType":"loteria","environment":"pro","unitName":"/55964524/lv_w/loterias/loteria-navidad/p","contentId":"","company":"LV","creationDate":"2024-12-22T08:00:00Z","facet":"web","publicationDate":"2024-12-22T08:00:00Z","sections":"/loterias/loteria-navidad#/loterias#","trackingId":"gg.util.getTrackingId()"});
dataLayer.push({"company":"LV","slug":"/loterias/loteria-navidad/comprobar-numeros/00159.html","content":{"creationDate":"2024-12-22T08:00:00Z","publicationDate":"2024-12-22T08:00:00Z","modificationDate":"2024-12-22T08:00:00Z"},"page":{"mainSection":"/loterias/loteria-navidad","pagePath":"/loterias/loteria-navidad/comprobar-numeros/00159.html","accessType":"abierto"},"tech":{"cms":"propio","facet":"web","environment":"pro","autorefresh":false},"ad":{"unitName":"/55964524/lv_w/loterias/loteria-navidad/p","ismonetized":true}});
var autorefresh = !!window.performance.navigation.type & sessionStorage.getItem('autorefresh') || false;
sessionStorage.removeItem('autorefresh');
dataLayer.push({
"tech": {
autorefresh: autorefresh
},
});
var ggPageData = Object.assign({"modificationDate":"2024-12-22T08:00:00Z","webType":"loteria","environment":"pro","unitName":"/55964524/lv_w/loterias/loteria-navidad/p","contentId":"","company":"LV","creationDate":"2024-12-22T08:00:00Z","facet":"web","publicationDate":"2024-12-22T08:00:00Z","sections":"/loterias/loteria-navidad#/loterias#","trackingId":"gg.util.getTrackingId()"}, {"company":"LV","slug":"/loterias/loteria-navidad/comprobar-numeros/00159.html","content":{"creationDate":"2024-12-22T08:00:00Z","publicationDate":"2024-12-22T08:00:00Z","modificationDate":"2024-12-22T08:00:00Z"},"page":{"mainSection":"/loterias/loteria-navidad","pagePath":"/loterias/loteria-navidad/comprobar-numeros/00159.html","accessType":"abierto"},"tech":{"cms":"propio","facet":"web","environment":"pro","autorefresh":false},"ad":{"unitName":"/55964524/lv_w/loterias/loteria-navidad/p","ismonetized":true}}) || {"modificationDate":"2024-12-22T08:00:00Z","webType":"loteria","environment":"pro","unitName":"/55964524/lv_w/loterias/loteria-navidad/p","contentId":"","company":"LV","creationDate":"2024-12-22T08:00:00Z","facet":"web","publicationDate":"2024-12-22T08:00:00Z","sections":"/loterias/loteria-navidad#/loterias#","trackingId":"gg.util.getTrackingId()"};
window.__evContext = {
platform: "",
token: "",
isApp: false,
isNativePurchaseEnabled: null
};
gg.didomi.doWhenConsent(!window.didomiBy, 'google', function () {
initGtm();
});
var Info = {};
var Id = gg.cookie.get(gg.s.cookieName);
if (Id)
Info.Id = Id;
Info.Type = gg.s.getType();
Info.Age = (typeof gg.s.get().getAge === 'function') ? gg.s.get().getAge() : "";
Info.monthsFromRegistration = gg.s.get().registrationDate ? gg.paywall.utils.getedValue(gg.s.get().registrationDate) : "";
dataLayer.push(Info);
/* GA4 */
Info.evolokId = (gg.s.get().getEvolokId !== undefined ? gg.s.get().getEvolokId() || undefined : undefined);
Info.roles = (gg.s.get().getRoleName !== undefined ? gg.s.get().getRoleName() || undefined : undefined);
Info.Date = (gg.s.get().getDate !== undefined ? gg.s.get().getDate() || undefined : undefined);
Info.newsletters = (gg.s.get().getNewsletterList !== undefined ? gg.s.get().getNewsletterList() || undefined : undefined);
Info.communications = (gg.s.get().getCommunicationList !== undefined ? gg.s.get().getCommunicationList() || undefined : undefined);
if (Info.monthsFromRegistration == false) Info.monthsFromRegistration = undefined;
Info.Id = Info.Id || undefined;
Info.monthsFromRegistration = Info.monthsFromRegistration || undefined;
dataLayer.push({
: Info
});
gg.didomi.init({
newVersion: false,
siteName: 'La Vanguardia',
privacyPolicyUrl: '/politica-privacidad',
brandColor: '#001c4c',
noticeTimeout: 5000,
font: 'sans-serif',
acceptButtonFunction: function() {
dataLayer.push({
'event': 'consent-management',
'eventAction': 'click-seguir-navegando',
'eventLabel': null,
'eventValue': null
});
},
showPreferencesButtonFunction: function() {
// wait for element
var fixpoint = function (f, selector, callback) {
var e = $(selector);
if(e.get().length == 1) {
callback(e);
} else {
window.setTimeout(function () { f(f, selector, callback) }, 100);
}
};
//
// visible after preferences is pressed (WARNING title text selector and comparisons!)
var K_DENY_ALL = "Rechazar todo";
var K_SAVE = "Guardar";
fixpoint(fixpoint, '.didomi-button span:contains("' + K_DENY_ALL + '")', function (btn) {
btn.click(function () {
var txt = $(this).text();
var action = "";
if(txt == K_DENY_ALL) action = "click-rechazar-todo";
if(txt == K_SAVE ) action = "guardar";
if(action !== "") {
dataLayer.push({
event: "consent-management",
eventAction: action
});
}
});
});
dataLayer.push({
'event': 'consent-management',
'eventAction': 'click-mas-informacion',
'eventLabel': null,
'eventValue': null
});
},
scrollFunction: function() {
dataLayer.push({
'event': 'consent-management',
'eventAction': 'scroll',
'eventLabel': null,
'eventValue': null
});
}
})
console.log('start');
gg.breakpoint.setBreakpoints({'xs': 0, 'md': 768}, true);
gg.registry.init();
const onGGLoad = () => {
document.querySelectorAll('script[type="script/gg"]')
.forEach(scr => {
try {
eval.call(window, scr.textContent)
} catch (e) {
console.error('Error running gg script', e);
console.log('gg script contents:', scr.textContent);
}
});
window.ggReady = true;
document.dispatchEvent(new CustomEvent("ggReady", {}));
}
document.addEventListener("DOMContentLoaded", function() {
return onGGLoad();
});
var mrfTech = 'web';
if(dataLayer[0].facet === "app"){
mrfTech='app';
}
function e(e){var t=!(arguments.length>1&void 0!==arguments[1])||arguments[1],c=document.createElement("script");c.src=e,t?c.type="module":(c.async=!0,c.type="text/javascript",c.setAttribute("nomodule",""));var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(c,n)}function t(t,c,n){var a,o,r;null!==(a=t.marfeel)&void 0!==a||(t.marfeel={}),null!==(o=(r=t.marfeel).cmd)&&void 0!==o||(r.cmd=[]),t.marfeel.config=n,t.marfeel.config.Id=c;var i="https://sdk.mrf.io/statics";e("".concat(i,"/marfeel-sdk.js?id=").concat(c),!0),e("".concat(i,"/marfeel-sdk.es5.js?id=").concat(c),!1)}!function(e,c){var n=arguments.length>2&void 0!==arguments[2]?arguments[2]:{};t(e,c,n)}(window,1435,{pageType:mrfTech} /*config*/);
window.marfeel = window.marfeel || {};
window.marfeel.cmd = window.marfeel.cmd || [];
window.marfeel.cmd.push(['experiences', 'com', function(experiences, com) {
experiences.addEventListener('flowcards', 'navigationfromcard', function(event) {
com.trackNewPage(); // Com
ga('send', 'pageview', document.location.pathname); //Google Analytics
COMSCORE.beacon({ c1: '2', c2: 6398301 }); // Comscore
});
}]);
if(typeof ev !== "undefined"){
ev.marfeel.Type();
};
if (typeof varPageScrollEnabled === 'undefined' || varPageScrollEnabled == true) {
var recommendationItems;
var ggPageDataOriginal = null;
var infiniteScrollTestMode = 0;
function handleRecommendations(response) {
if (!response || !response.items.length) {
var loadingNextTextEl = document.querySelector("#infinite-loading");
if (loadingNextTextEl) {
loadingNextTextEl.style.display = "none"
}
recommendationItems = [];
return;
}
if (infiniteScrollTestMode & !response.testMode) {
return;
}
recommendationItems = response.items;
var newEvent = new Event("recommendationItemsAvailable");
document.dispatchEvent(newEvent);
}
var ggPageDataCmd = window.ggPageDataCmd || [];
window.ggPageDataCmd = ggPageDataCmd;
var ggInfiniteScrollSlugsLoaded = false;
ggPageDataCmd.push(function (articleData, util) {
if (ggInfiniteScrollSlugsLoaded) {
return;
}
ggInfiniteScrollSlugsLoaded = true;
});
}
window._gravity = [];
if (typeof varPageScrollEnabled === 'undefined' || varPageScrollEnabled == true) {
function getRecommendedNewsBySection(section) {
var recommended_by_section = {
'default':'FC_kc7P1wOuS9qR8BqznOvC6A',
'comprar':'FC_TKMbG3xITyeNC_qz3CloSQ',
'ocio':'FC_eSHetJR2Rz6VLW9rpZPjwA',
'lacontra':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'vida':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'economia':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'natural':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'internacional':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'deportes':'FC_eSHetJR2Rz6VLW9rpZPjwA',
'ocio':'FC_JsTk0-VCRSSu3RwEp3aPXg',
'politica':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'motor':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'mascotas':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'empresas-de-vanguardia':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'videos':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'comer':'FC_7nkUnaXJToqVztHiYSbNWw',
'gente':'FC_7OQ-ShEEQuSMmSTspK2h8w',
'television':'FC_7OQ-ShEEQuSMmSTspK2h8w',
'cribeo':'FC_8W3EU6YGRsapxzm6mfZNkQ',
'magazine':'FC_b-3PUfGQSNCRqdlhA3Sa7w',
}
if(section in recommended_by_section & recommended_by_section[section] != ''){
return recommended_by_section[section];
}
if(section.includes('/')){
var split_section = section.split('/');
if(split_section[0] in recommended_by_section & recommended_by_section[split_section[0]] != ''){
return recommended_by_section[split_section[0]];
}
}
return recommended_by_section['default'];
}
var ggPageDataCmd = window.ggPageDataCmd || [];
ggPageDataCmd.push(function(articleData, util) {
if (window._ggYuspRecommendationsRequested) {
return;
}
var section = 'default';
if (articleData['page']['mainSection'] !== null) {
section = articleData['page']['mainSection'].substring(1);
}
var recommendationsSection = getRecommendedNewsBySection(section);
window._ggYuspRecommendationsRequested = 1;
window.marfeel = window.marfeel || {};
window.marfeel.cmd = window.marfeel.cmd || [];
window.marfeel.cmd.push(['experiences', (experiences) => {
experiences.getRecommendations(recommendationsSection).then(recommendations => {
handleRecommendations({items: recommendations});
});
}]);
});
}
ggCmd.push(function () {
gg.registry.('GoogleTagManager', 'lv.googleTagManager.init', null, {priority: 99999});
gg.registry.('scroll-registry', 'gg.scrollRegistry.init');
});
{
"@id":"#organization",
"@context": "https://schema.org",
"@type": "Organization",
"name": "La Vanguardia",
"url": "",
"logo": "/rsc/images/logo-lv.png",
"sameAs": ["https://www.facebook.com/LaVanguardia", "https://www.twitter.com/lavanguardia", "https://www.instagram.com/lavanguardia"]
}
141x10
Comprobar número 00159 del sorteo de la Lotería de Navidad 2024 4e6k6e
6p72c
¿Quieres saber si el número 00159 ha sido premiado? Comprueba tu décimo del sorteo de la Lotería de Navidad 2024 5u515c
00159
¡Enhorabuena!Tu número 00159 ha sido premiado con 100 euros por décimo
Tu número ha sido premiado. Ya no hay excusa, suscríbete a La Vanguardia.
Comprueba tu décimo del Gordo de Navidad
¿Quieres saber si el número 00159 ha sido premiado?
Comprueba tu décimo
istraciones que vendieron el décimo 00159 5p318
- Dirección:
- AVDA. DEL CARMEN, 34
- Población:
- Cox
- Provincia:
- Alacant/Alicante
- Teléfono:
- 966751234
- Series:
- 13
- Dirección:
- GUILLERMO MAGRO, 19 B
- Población:
- Crevillente (Crevillent)
- Provincia:
- Alacant/Alicante
- Teléfono:
- 965401979
- Series:
- 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193
- Dirección:
- C.C. LA ALMAZARA - LA HUERTA, 11
- Población:
- Sant Vicent del Raspeig/San Vincente del Raspeig
- Provincia:
- Alacant/Alicante
- Teléfono:
- 965518984
- Series:
- 7
- Dirección:
- C.C. CARREFOUR -CRTA CREVILLENTE KM 34,4
- Población:
- Torrevieja
- Provincia:
- Alacant/Alicante
- Teléfono:
- 966706062
- Series:
- 17
- Dirección:
- AVDA. CARLOS III, 563
- Población:
- Aguadulce (Roquetas de Mar)
- Provincia:
- Almería
- Teléfono:
- 950347905
- Series:
- 156
- Dirección:
- AVDA. DE PORTUGAL, 60
- Población:
- Gijón
- Provincia:
- Asturias
- Teléfono:
- 985354981
- Series:
- 159
- Dirección:
- C.C. FAMILY CASH AVDA. SEVILLA, 140 L-3
- Población:
- Almendralejo
- Provincia:
- Badajoz
- Teléfono:
- 924676074
- Series:
- 170
- Dirección:
- RAMBLA BISBE POL, 83-85
- Población:
- Arenys de Mar
- Provincia:
- Barcelona
- Teléfono:
- 937959679
- Series:
- 15
- Dirección:
- CONCEPCION ARENAL,210
- Población:
- Barcelona
- Provincia:
- Barcelona
- Teléfono:
- 933113960
- Series:
- 157
- Dirección:
- C.C. ARENAS-GRAN VIA CORTS CATALANES, 373-385 LS28
- Población:
- Barcelona
- Provincia:
- Barcelona
- Teléfono:
- 934247349
- Series:
- 16
- Dirección:
- ARENAL, 1
- Población:
- Bilbao
- Provincia:
- Bizkaia
- Teléfono:
- 944152036
- Series:
- 11
- Dirección:
- ALAMEDA URQUIJO-52
- Población:
- Bilbao
- Provincia:
- Bizkaia
- Teléfono:
- 944410347
- Series:
- 19
- Dirección:
- BAESSIPO, 6
- Población:
- Barbate
- Provincia:
- Cádiz
- Teléfono:
- 956431829
- Series:
- 18
- Dirección:
- JOSE DEL TORO, 13 (MODERNO)
- Población:
- Cádiz
- Provincia:
- Cádiz
- Teléfono:
- 956213213
- Series:
- 1
- Dirección:
- PASEO DE IGAREDA, 1
- Población:
- Cabezón de la Sal
- Provincia:
- Cantabria
- Teléfono:
- 942700073
- Series:
- 34
- Dirección:
- SANTA ANA, 24
- Población:
- Campo de Criptana
- Provincia:
- Ciudad Real
- Teléfono:
- 926564149
- Series:
- 8
- Dirección:
- C.C. CARREFOUR-CRTA. LINARES S/N- L34
- Población:
- Úbeda
- Provincia:
- Jaén
- Teléfono:
- 953756681
- Series:
- 24
- Dirección:
- AVDA. GENERALITAT, 13
- Población:
- Sort
- Provincia:
- Lleida
- Teléfono:
- 973621242
- Series:
- 3
- Dirección:
- ANDRÉS LÓPEZ PALMEIRO, 28-BAJO
- Población:
- Valadouro (O Valadouro)
- Provincia:
- Lugo
- Teléfono:
- 982574415
- Series:
- 26
- Dirección:
- C.C. HIPERCOR, JUAN CARLOS I, S/N L-PLANTA SOTANO
- Población:
- Alcalá de Henares
- Provincia:
- Madrid
- Teléfono:
- 918029966
- Series:
- 28
- Dirección:
- ARENAL, 16
- Población:
- Madrid
- Provincia:
- Madrid
- Teléfono:
- 914093383
- Series:
- 27
- Dirección:
- BARQUILLO, 10 (LOCAL IZQUIERDO)
- Población:
- Madrid
- Provincia:
- Madrid
- Teléfono:
- 915325042
- Series:
- 22
- Dirección:
- GRAN VIA, 45 KIIOSCO
- Población:
- Madrid
- Provincia:
- Madrid
- Teléfono:
- 915471660
- Series:
- 4
- Dirección:
- INTER.TRANSP.MONCLOA PRINCESA, 89 L-32
- Población:
- Madrid
- Provincia:
- Madrid
- Teléfono:
- 915443323
- Series:
- 29
- Dirección:
- CARMEN, 22
- Población:
- Madrid
- Provincia:
- Madrid
- Teléfono:
- 915214694
- Series:
- 23
- Dirección:
- SANTA BARBARA, 11
- Población:
- Madrid
- Provincia:
- Madrid
- Teléfono:
- 910404173
- Series:
- 30
- Dirección:
- LAS FLORES, 2 L-1
- Población:
- Pozuelo de Alarcón
- Provincia:
- Madrid
- Teléfono:
- 682322894
- Series:
- 160, 161, 162, 163, 164, 165, 166, 167, 168, 169
- Dirección:
- C.C. H2O, MARIE CURIE, S/N LOCAL LB17 BUZON 100
- Población:
- Rivas-Vaciamadrid
- Provincia:
- Madrid
- Teléfono:
- 917136499
- Series:
- 6
- Dirección:
- VICTORIA, 58
- Población:
- Málaga
- Provincia:
- Málaga
- Teléfono:
- 952263446
- Series:
- 10
- Dirección:
- ALMIRANTE FERRANDIZ, 8
- Población:
- Nerja
- Provincia:
- Málaga
- Teléfono:
- 952522467
- Series:
- 9
- Dirección:
- GABRIEL CAÑADAS, 17
- Población:
- San Pedro del Pinatar
- Provincia:
- Murcia
- Teléfono:
- 968187588
- Series:
- 2
- Dirección:
- MAYOR DE REINOSO, 24
- Población:
- Béjar
- Provincia:
- Salamanca
- Teléfono:
- 923403586
- Series:
- 5
- Dirección:
- SAN AGUSTIN, 65 - EDIFICIO YAIZA
- Población:
- Los Realejos
- Provincia:
- Santa Cruz de Tenerife
- Teléfono:
- 922342960
- Series:
- 25
- Dirección:
- CARRERA, 19
- Población:
- Osuna
- Provincia:
- Sevilla
- Teléfono:
- 954811111
- Series:
- 158
- Dirección:
- COMERCIO, 27
- Población:
- Toledo
- Provincia:
- Toledo
- Teléfono:
- 925223379
- Series:
- 21
- Dirección:
- TOLEDO OHIO, 11
- Población:
- Toledo
- Provincia:
- Toledo
- Teléfono:
- 925220662
- Series:
- 33
- Dirección:
- C.C. BONAIRE,LOC B- 346, CTRA NAC. III, KM 345
- Población:
- Aldaia
- Provincia:
- València/Valencia
- Teléfono:
- 961921378
- Series:
- 32
- Dirección:
- Avda. DELS TRAMVIES, 12
- Población:
- Manises
- Provincia:
- València/Valencia
- Teléfono:
- 960661000
- Series:
- 20
- Dirección:
- NAVELLOS, 9
- Población:
- València
- Provincia:
- València/Valencia
- Teléfono:
- 963921310
- Series:
- 14
- Dirección:
- C.C. RÍO SHOPPING L-B70 ME FALTA UN TORNILLO, 3
- Población:
- Arroyo de la Encomienda
- Provincia:
- Valladolid
- Teléfono:
- 983399860
- Series:
- 31
- Dirección:
- PASEO CORTES DE ARAGON,5
- Población:
- Calatayud
- Provincia:
- Zaragoza
- Teléfono:
- 976884131
- Series:
- 12
Cargando siguiente contenido...