'; $('#video_' + cat).html(cad); } //deprecated function cambiarVideoWidget(idVideo,cat,urlImg,url,src_p,src_g,title,desc){ desc = typeof desc !== 'undefined' ? desc : ''; var cad = '
'; cad += ''; $('#video_' + cat).html(cad); } //deprecated function cambiarVideoWidget2CVast2(idVideo,cat,urlImg,url,src_p,src_g,title,desc,urlVast, ancho, alto, embed){ if(ancho<=0) ancho = ($('#video_' + cat + ' img').width()!=null?$('#video_' + cat + ' img').width():$('#video_' + cat + ' video').width()); if(alto<=0) alto = ($('#video_' + cat + ' img').height()!=null?$('#video_' + cat + ' img').height():$('#video_' + cat + ' video').height()); desc = typeof desc !== 'undefined' ? desc : ''; var cad = ' '; cad += ' '; cad += 'if(video_principal!=null) video_principal.dispose();'; cad += '(function(a){(jQuery.browser=jQuery.browser||{}).mobile=/(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\\-(n|u)|c55\\/|capi|ccwa|cdm\\-|cell|chtm|cldc|cmd\\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\\-s|devi|dica|dmob|do(c|p)o|ds(12|\\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\\-|_)|g1 u|g560|gene|gf\\-5|g\\-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd\\-(m|p|t)|hei\\-|hi(pt|ta)|hp( i|ip)|hs\\-c|ht(c(\\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\\-(20|go|ma)|i230|iac( |\\-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc\\-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|\\-[a-w])|libw|lynx|m1\\-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m\\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\\-2|po(ck|rt|se)|prox|psio|pt\\-g|qa\\-a|qc(07|12|21|32|60|\\-[2-7]|i\\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\\-|oo|p\\-)|sdk\\/|se(c(\\-|0|1)|47|mc|nd|ri)|sgh\\-|shar|sie(\\-|m)|sk\\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\\-|v\\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\\-|tdg\\-|tel(i|m)|tim\\-|t\\-mo|to(pl|sh)|ts(70|m\\-|m3|m5)|tx\\-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\\-|your|zeto|zte\\-/i.test(a.substr(0,4))})(navigator.userAgent||navigator.vendor||window.opera);'; cad += ' var video_principal = videojs("video_principal",{'; cad += ' plugins: {'; cad += ' videoJsResolutionSwitcher: {'; cad += ' default: \'high\','; cad += ' dynamicLabel: true'; cad += ' },'; cad += ' social : {titulo: "' + title.replace(/\"/g, "\\\"") + '",facebook: true, twitter: true, gplus: true, linkedin: true, url: "' + url + '", widget: ' + (embed?embed:false) + '},'; cad += ' },'; cad += '},'; cad += 'function(){}).ready(function(){'; cad += ' video_principal = this;'; cad += ' var label = "HD";'; cad += ' if($.browser.mobile)'; cad += ' label = "SD";'; cad += ' else{'; cad += ' width = $("#video_principal").width();'; cad += ' if(width>700)'; cad += ' label = "HD";'; cad += ' else if(width>350)'; cad += ' label = "HD";'; cad += ' else'; cad += ' label = "SD";'; cad += ' }'; cad += ' video_principal.currentResolution(label);'; cad += ' $("#video_principal").bind(\'webkitfullscreenchange mozfullscreenchange fullscreenchange\', function(e) {'; cad += ' var state = document.fullScreen || document.mozFullScreen || document.webkitIsFullScreen;'; cad += ' var event = state ? \'FullscreenOn\' : \'FullscreenOff\';'; cad += ' if($.browser.mobile)'; cad += ' label = "SD";'; cad += ' else{'; cad += ' width = $("#video_principal").width();'; cad += ' if(width>700)'; cad += ' label = "HD";'; cad += ' else if(width>350)'; cad += ' label = "HD";'; cad += ' else'; cad += ' label = "SD";'; cad += ' video_principal.currentResolution(label);'; cad += ' }'; cad += ' });'; if(urlVast!=null && urlVast!='') { cad += ' video_principal.vastClient({'; cad += ' adTagUrl: "'+urlVast.replace("[timestamp]", new Date().getTime())+'"'; cad += ' });'; } cad += '});'; cad += '
Galaxy for Credit S8 Card Plus Leather Wallet Samsung Cover Phone S8 Protective Case Slim Khaki Case Back Holder PU with I1q44xwB Galaxy for Credit S8 Card Plus Leather Wallet Samsung Cover Phone S8 Protective Case Slim Khaki Case Back Holder PU with I1q44xwB Galaxy for Credit S8 Card Plus Leather Wallet Samsung Cover Phone S8 Protective Case Slim Khaki Case Back Holder PU with I1q44xwB Galaxy for Credit S8 Card Plus Leather Wallet Samsung Cover Phone S8 Protective Case Slim Khaki Case Back Holder PU with I1q44xwB Galaxy for Credit S8 Card Plus Leather Wallet Samsung Cover Phone S8 Protective Case Slim Khaki Case Back Holder PU with I1q44xwB Galaxy for Credit S8 Card Plus Leather Wallet Samsung Cover Phone S8 Protective Case Slim Khaki Case Back Holder PU with I1q44xwB
'; cad += '
'; cad += ' ' + title + ''; cad += '

' + desc + '

'; cad += '
'; $('#video_' + cat).html(cad); } //deprecated function cambiarVideoWidget2CVast(idVideo,cat,urlImg,url,src_p,src_g,title,desc,urlVast){ desc = typeof desc !== 'undefined' ? desc : ''; var ancho = ($('#video_' + cat + ' img').width()!=null?$('#video_' + cat + ' img').width():$('#video_' + cat + ' video').width()); var alto = ($('#video_' + cat + ' img').height()!=null?$('#video_' + cat + ' img').height():$('#video_' + cat + ' video').height()); var cad = ' '; cad += ''; cad += '
'; cad += ' ' + title + ''; cad += '

' + desc + '

'; cad += '
'; $('#video_' + cat).html(cad); } //deprecated function cambiarVideoWidget2C(idVideo,cat,urlImg,url,src_p,src_g,title,desc){ desc = typeof desc !== 'undefined' ? desc : ''; $('#video_' + cat).html('
' + title + '

Galaxy Plus Khaki Case Protective Credit Wallet Cover with S8 Samsung Back Slim Phone Case PU Holder for Leather Card S8 ' + desc + '

'); } /*intercambia los cajones de widget 2 col videos*/ function changeWG(mostrar,ocultar) { $('.cajon_' + mostrar).css('display','block'); $('.cajon_' + ocultar).css('display','none'); $('#menu_' + mostrar).addClass('wboton_selec').removeClass('wboton'); $('#menu_' + ocultar).addClass('wboton').removeClass('wboton_selec'); } function MM_swapImgRestore() { var d,b,c=document.MM_sr; for(d=0;c&&d 0&&parent.frames.length) { e=parent.frames[f.substring(c+1)].document; f=f.substring(0,c); } if(!(a=e[f])&&e.all) { a=e.all[f]; } for(b=0;!a&&b (-1*numElementosMover*ancho))) { $("#"+id).animate({left:posCarrusel}, 500, function() {}); } } /* carga el video en el widget despues llama a iniciarVideo para instanciar el vast y videojs */ function cargarVideoWidget(id,formato,urlImg,url,src_p,src_m,src_g,title,desc,urlVast,ancho,alto,embed,autoplay,accionEvento,tipo){ accionEvento = typeof accionEvento !== 'undefined' ? accionEvento : ''; tipo = typeof tipo !== 'undefined' ? tipo : 'Videos'; var cad = ' '; if(tipo=="Videos" && formato=="1c") { cad += ' '; }else if(tipo=="Videos" && formato=="v2c"){ cad += '
' + title + '

' + desc + '

'; } $("#"+id).html(cad); //los videos con autoplay ya existian como video //por lo que primero hay que borrar el que existe con el mismo id if(tipo!="Audios" && autoplay) { videojs("wg_" + id).reset(); } iniciarVideo("wg_" + id ,formato,title,url,embed,urlVast,accionEvento,tipo,autoplay); } /* id -> id del video formato -> 1c | 2c title -> escapando comillas url -> url para compartir en redes sociales urlVast -> url publi vast */ function filtrarTextoJS(cadena) { var texto = ""; if(cadena!=null) { texto = cadena; /* acento solo*/ texto = texto.replace(/´/g,"´"); /* vocales con acento en minusculas */ texto = texto.replace(/á/g,"á"); texto = texto.replace(/é/g,"é"); texto = texto.replace(/í/g,"í"); texto = texto.replace(/ó/g,"ó"); texto = texto.replace(/ú/g,"ú"); texto = texto.replace(/à/g,"à"); texto = texto.replace(/è/g,"è"); texto = texto.replace(/ì/g,"ì"); texto = texto.replace(/ò/g,"ò"); texto = texto.replace(/ù/g,"ù"); /* vocales con acento en mayusculas */ texto = texto.replace(/Á/g,"Á"); texto = texto.replace(/É/g,"É"); texto = texto.replace(/Í/g,"Í"); texto = texto.replace(/Ó/g,"Ó"); texto = texto.replace(/Ú/g,"Ú"); texto = texto.replace(/À/g,"À"); texto = texto.replace(/È/g,"È"); texto = texto.replace(/Ì/g,"Ì"); texto = texto.replace(/Ò/g,"Ò"); texto = texto.replace(/Ù/g,"Ù"); /* escapamos comillas dobles... */ texto = texto.replace(/\"/g, "\\\""); // enye texto = texto.replace(/ñ/g,"ñ"); texto = texto.replace(/Ñ/g,"Ñ"); /* betta alemana y dieresis */ texto = texto.replace(/ß/g,"ß"); texto = texto.replace(/ä/g,"ä"); texto = texto.replace(/ë/g,"ë"); texto = texto.replace(/ï/g,"ï"); texto = texto.replace(/ö/g,"ö"); texto = texto.replace(/ü/g,"ü"); /* dieresis mayusculas */ texto = texto.replace(/Ä/g,"Ä"); texto = texto.replace(/Ë/g,"Ë"); texto = texto.replace(/Ï/g,"Ï"); texto = texto.replace(/Ö/g,"Ö"); texto = texto.replace(/Ü/g,"Ü"); /* ce trencada y punto central */ texto = texto.replace(/ç/g,"ç"); texto = texto.replace(/Ç/g,"Ç"); texto = texto.replace(/·/g,"·"); } return texto; } function loadVideo(id,formato,title,url,embed,urlVast,accionEvento,tipo){ var autoplay=arguments.length>8&&arguments[8]!==undefined?arguments[8]:false; (function(a){(jQuery.browser=jQuery.browser||{}).mobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4))})(navigator.userAgent||navigator.vendor||window.opera); accionEvento = typeof accionEvento !== 'undefined' ? accionEvento : ''; tipo = typeof tipo !== 'undefined' ? tipo : 'Videos'; var wparent = $('#'+id).parent().width(); var chocan = collision($('#'+id).parent(), $('.noticia .cuerpo_noticia .cuadro_multimedia')); var w=-1; var h=-1; if((chocan || wparent < 690) && formato == '2c'){ $('#'+id).attr("poster",$('#'+id).attr("poster").replace("preview2col_mg","preview_mg")); $('#'+id).attr("width","328"); $('#'+id).attr("height","190"); w=328;h=190; }else if(wparent >= 690 && formato == '1c' && !chocan){ $('#'+id).attr("poster",$('#'+id).attr("poster").replace("preview_mg","preview2col_mg")); $('#'+id).attr("width","690"); $('#'+id).attr("height","234"); w=690;h=234; }else if(formato == '1c'){ if(wparent>320){ w=328;h=190; }else{ w=320;h=190; } }else if(formato == '2c'){ w=690;h=234; } else if (formato == '2cH') { w=690;h=300; } if(videojs.getPlayers()[id]) { if(videojs.getPlayers()[id].isReady) videojs.getPlayers()[id].destroy(); else delete videojs.getPlayers()[id]; } var videorenr = videojs(id,{ aspectRatio:"100:57", plugins: { social : { titulo: title, facebook: true, twitter: true, gplus: true, linkedin: true, url: url, widget: false }, videoJsResolutionSwitcher: { ui: true, default: 'high', dynamicLabel: true } } }, function(){}).ready(function(){ var videorenr = this; var anuncioEnProgreso = false; var label = "MD"; width = $("#" + id).width(); if(width>700) label = "HD"; else if(width>350) label = "MD"; else label = "SD"; try{ videorenr.currentResolution(label); } catch(ex){console.error(ex);} videorenr.fullScreen = false; videorenr.titulo = filtrarTextoJS(title); videorenr.lengthOfVideoComplete = 0; videorenr.completeSend = false; videorenr.errorSend = false; videorenr.playSend = false; videorenr.firstSend = false; videorenr.controlBar.hide(); videorenr.uid = "_" + Math.random().toString(36).substr(2, 9); videorenr.timeClick = null; if(autoplay == true) videorenr.timeClick = new Date().getTime(); videorenr.on('loadedmetadata', function(e) { videorenr.lengthOfVideoComplete = videorenr.duration() * 90/100; }); videorenr.on('error', function(e){ console.log(new Date().getTime(), videorenr.timeClick, new Date().getTime() - videorenr.timeClick); var error = this.player().error(); if (window.console) { console.log("ANALYTICS: " + tipo + "; eventAct: error" + accionEvento + "; error: " + videorenr.titulo + "; mensaje: " + error.message,error ); } if(typeof EPI!= "undefined" && EPI.logger != "undefined"){ EPI.logger.error("error: " + tipo + "; eventAct: error" + accionEvento + "; error: " + videorenr.titulo + "; mensaje: " + error.message + "; uid: " + videorenr.uid + "; tiempo: " + ((new Date().getTime() - videorenr.timeClick) / 1000) + "s","video"); } }) videorenr.on('timeupdate', function(e) { // duracion del 90% del video para contabilizar reproduccion completa videorenr.currenttimevideo = videorenr.currentTime(); if(!videorenr.playSend && videorenr.lengthOfVideoComplete > 0 && videorenr.currenttimevideo > 0.2) { videorenr.controlBar.show(); if(!videorenr.firstSend){ videorenr.firstSend = true; if (window.console) { console.log("ANALYTICS: " + tipo + "; eventAct: inicio" + accionEvento + "; inicio: " + videorenr.titulo ); } if(typeof EPI!= "undefined" && EPI.logger != "undefined"){ EPI.logger.info("timeupdate: " + tipo + "; eventAct: inicio" + accionEvento + "; inicio: " + videorenr.titulo + "; uid: " + videorenr.uid + "; tiempo: " + ((new Date().getTime() - videorenr.timeClick) / 1000) + "s","video"); } utag.link({'eventCat':tipo,'eventAct':'inicio' + accionEvento,'eventLbl':videorenr.titulo,'eventVal':''}); } videorenr.playSend=true; if (window.console) { console.log("ANALYTICS: " + tipo + "; eventAct: play" + accionEvento + "; play titulo: " + videorenr.titulo + "; duration:" + videorenr.duration() + "s, minimo: " + videorenr.lengthOfVideoComplete + " s."); } if(typeof EPI!= "undefined" && EPI.logger != "undefined"){ EPI.logger.info("timeupdate: " + tipo + "; eventAct: play" + accionEvento + "; play titulo: " + videorenr.titulo + "; duration:" + videorenr.duration() + "s, minimo: " + videorenr.lengthOfVideoComplete + " s." + "; uid: " + videorenr.uid + "; tiempo: " + ((new Date().getTime() - videorenr.timeClick) / 1000) + "s","video"); } utag.link({'eventCat':tipo,'eventAct':'play' + accionEvento,'eventLbl':videorenr.titulo,'eventVal':''}); } if( !videorenr.completeSend && videorenr.lengthOfVideoComplete > 0 && videorenr.currenttimevideo > videorenr.lengthOfVideoComplete) { videorenr.completeSend = true; if(window.console) console.log("ANALYTICS: " + tipo + "; eventAct: complete" + accionEvento + "; complete: " + videorenr.titulo); if(typeof EPI!= "undefined" && EPI.logger != "undefined"){ EPI.logger.info("timeupdate: " + tipo + "; eventAct: complete" + accionEvento + "; complete: " + videorenr.titulo + "; uid: " + videorenr.uid + "; tiempo: " + ((new Date().getTime() - videorenr.timeClick) / 1000) + "s","video"); } utag.link({'eventCat':tipo,'eventAct':'complete' + accionEvento,'eventLbl':videorenr.titulo,'eventVal':''}); } if(!anuncioEnProgreso){ if(videorenr.isFullscreen() == videorenr.fullScreen) return; videorenr.fullScreen = videorenr.isFullscreen(); if(videorenr.isFullscreen()){ videorenr.labelOrig = videorenr.currentResolution().label; label = "HD"; }else label = videorenr.labelOrig?videorenr.labelOrig:"MD"; videorenr.currentResolution(label); videorenr.play(); } }); videorenr.on('vast.adStart', function(){ videorenr.controlBar.show(); anuncioEnProgreso=true; $(videorenr.el_).find('.vjs-menu-button.vjs-menu-button-popup.vjs-control.vjs-button.vjs-resolution-button').css('visibility', 'hidden'); videorenr.lengthOfVideoComplete = 0; if(window.console) console.log("ANALYTICS: " + tipo + "; eventAct: pre-roll" + accionEvento); if(typeof EPI!= "undefined" && EPI.logger != "undefined"){ EPI.logger.info("vast.adStart: " + tipo + "; eventAct: pre-roll" + accionEvento + "; uid: " + videorenr.uid + "; tiempo: " + ((new Date().getTime() - videorenr.timeClick) / 1000) + "s","video"); } utag.link({'eventCat':tipo,'eventAct':'pre-roll' + accionEvento,'eventLbl':videorenr.titulo,'eventVal':''}); videorenr.controlBar.playToggle.hide(); }); videorenr.on('vast.adEnd', function(){ videorenr.controlBar.show(); anuncioEnProgreso=false; $(videorenr.el_).find('.vjs-menu-button.vjs-menu-button-popup.vjs-control.vjs-button.vjs-resolution-button').css('visibility', 'visible'); }); videorenr.on('vast.contentStart', function(){ videorenr.controlBar.show(); if(!videorenr.playSend){ videorenr.playSend=true; if(window.console) console.log("ANALYTICS: " + tipo + "; eventAct: play" + accionEvento + "; play titulo: " +videorenr.titulo +"; duration:" + videorenr.duration()+"s, minimo: " +videorenr.lengthOfVideoComplete+" s."); if(typeof EPI!= "undefined" && EPI.logger != "undefined"){ EPI.logger.info("vast.contentStart: " + tipo + "; eventAct: play" + accionEvento + "; play titulo: " +videorenr.titulo +"; duration:" + videorenr.duration()+"s, minimo: " +videorenr.lengthOfVideoComplete+" s." + "; uid: " + videorenr.uid + "; tiempo: " + ((new Date().getTime() - videorenr.timeClick) / 1000) + "s","video"); } utag.link({'eventCat':tipo,'eventAct':'play' + accionEvento,'eventLbl':videorenr.titulo,'eventVal':''}); } videorenr.controlBar.playToggle.show(); }); videorenr.on('vast.adError', function(ev){ videorenr.controlBar.show(); if( !videorenr.errorSend ){ videorenr.errorSend = true; if(window.console) console.log("ANALYTICS: " + tipo + "; eventAct: error-pre-roll-" + ev.error.code + accionEvento); if(typeof EPI!= "undefined" && EPI.logger != "undefined"){ EPI.logger.error("vast.adError: " + tipo + "; eventAct: error-pre-roll-" + ev.error.code + accionEvento + "; mensaje: " + ev.error.message + "; uid: " + videorenr.uid + "; tiempo: " + ((new Date().getTime() - videorenr.timeClick) / 1000) + "s","video"); } utag.link({'eventCat':tipo,'eventAct':'error-pre-roll-' + ev.error.code + accionEvento,'eventLbl':videorenr.titulo,'eventVal':''}); } }); /* evento inicio play */ videorenr.on('vast.firstPlay', function() { videorenr.controlBar.show(); if(!videorenr.firstSend){ videorenr.firstSend = true; if (window.console) { console.log("ANALYTICS: " + tipo + "; eventAct: inicio" + accionEvento + "; inicio: " + videorenr.titulo ); } if(typeof EPI!= "undefined" && EPI.logger != "undefined"){ EPI.logger.info("vast.firstPlay: " + tipo + "; eventAct: inicio" + accionEvento + "; inicio: " + videorenr.titulo + "; uid: " + videorenr.uid + "; tiempo: " + ((new Date().getTime() - videorenr.timeClick) / 1000) + "s","video"); } utag.link({'eventCat':tipo,'eventAct':'inicio' + accionEvento,'eventLbl':videorenr.titulo,'eventVal':''}); } }); videorenr.on('click', function(){ var playerWidth = $("#" + videorenr.player_.el_.id).width(); if(videorenr.timeClick == null) videorenr.timeClick = new Date().getTime(); if( this.vast != undefined && this.vast.adUnit ) this.vast.adUnit.resumeAd(); }); if(urlVast != "") { var custom_params = ""; if(accionEvento != "") { var uploadvideo = accionEvento.split("_")[1]; var tipovideo = accionEvento.split("_")[2]; custom_params = "epi_uploadvideo%3D" + uploadvideo + "%26epi_tipovideo%3D" + tipovideo; } videorenr.vastClient({ vpaidFlashLoaderPath: '/elementosWeb/js/multimedia/vpaid/bin/VPAIDFlash.swf', preferredTech: 'html5', adTagUrl: urlVast.replace("[timestamp]", new Date().getTime()).replace("[title]", "").replace("[url]", encodeURI(url)).replace("[custom_params]",custom_params), adCancelTimeout: 15000 }); } if(autoplay) videorenr.play(); }); } //funcion que detecta si dos divs se chocan(uno esta por encima de otro) function collision(div1, div2) { if(typeof div1 === "undefined" || typeof div2 === "undefined") return false; if(!div1.length || !div2.length) return false; var x1 = div1.offset().left; var y1 = div1.offset().top; var h1 = div1.outerHeight(true); var w1 = div1.outerWidth(true); var b1 = y1 + h1; var r1 = x1 + w1; var x2 = div2.offset().left; var y2 = div2.offset().top; var h2 = div2.outerHeight(true); var w2 = div2.outerWidth(true); var b2 = y2 + h2; var r2 = x2 + w2; if (b1 < y2 || y1 > b2 || r1 < x2 || x1 > r2) return false; return true; }
';var o="AdStopped";function u(t,e,n,a){n=n||{};this._id=r();this._destroyed=false;this._frameContainer=i.createElementInEl(t,"div");this._videoEl=e;this._vpaidOptions=a||{timeout:1e4};this._templateConfig={template:n.template||s,extraOptions:n.extraOptions||{}}}u.prototype.destroy=function g(){if(this._destroyed){return}this._destroyed=true;d.call(this)};u.prototype.isDestroyed=function m(){return this._destroyed};u.prototype.loadAdUnit=function y(t,e){v.call(this);d.call(this);var n=i.createIframeWithContent(this._frameContainer,this._templateConfig.template,i.extend({iframeURL_JS:t,iframeID:this.getID()},this._templateConfig.extraOptions));this._frame=n;this._onLoad=i.callbackTimeout(this._vpaidOptions.timeout,r.bind(this),s.bind(this));window.addEventListener("message",this._onLoad);function r(t){if(t.origin!==window.location.origin)return;var n=JSON.parse(t.data);if(n.id!==this.getID())return;var r,s,u;if(!this._frame.contentWindow){s="the iframe is not anymore in the DOM tree"}else{u=this._frame.contentWindow.getVPAIDAd;s=i.validate(typeof u==="function","the ad didn't return a function to create an ad")}if(!s){var l=this._frame.contentWindow.document.querySelector(".ad-element");r=new a(u(),l,this._videoEl,this._frame);r.subscribe(o,c.bind(this));s=i.validate(r.isValidVPAIDAd(),"the add is not fully complaint with VPAID specification")}this._adUnit=r;h.call(this);e(s,s?null:r);return true}function s(){e("timeout",null)}};u.prototype.unloadAdUnit=function A(){d.call(this)};u.prototype.getID=function(){return this._id};function l(t){var e=this[t];if(e){e.remove();delete this[t]}}function c(){f.call(this);delete this._adUnit}function d(){f.call(this);p.call(this)}function f(){l.call(this,"_frame");h.call(this)}function h(){if(this._onLoad){window.removeEventListener("message",this._onLoad);i.clearCallbackTimeout(this._onLoad);delete this._onLoad}}function p(){if(this._adUnit){this._adUnit.stopAd();delete this._adUnit}}function v(){if(this._destroyed){throw new Error("VPAIDHTML5Client already destroyed!")}}e.exports=u;window.VPAIDHTML5Client=u},{"./VPAIDAdUnit":9,"./utils":12}],11:[function(t,e,n){"use strict";function i(){this._subscribers={}}i.prototype.subscribe=function r(t,e,n){this.get(e).push({handler:t,context:n})};i.prototype.unsubscribe=function a(t,e){this._subscribers[e]=this.get(e).filter(function(e){return t===e.handler})};i.prototype.unsubscribeAll=function s(){this._subscribers={}};i.prototype.trigger=function(t,e){var n=this;n.get(t).forEach(function(i){setTimeout(function(){if(n.get(t)){i.handler.call(i.context,e)}},0)})};i.prototype.triggerSync=function(t,e){this.get(t).forEach(function(t){t.handler.call(t.context,e)})};i.prototype.get=function o(t){if(!this._subscribers[t]){this._subscribers[t]=[]}return this._subscribers[t]};e.exports=i},{}],12:[function(t,e,n){"use strict";function i(){}function r(t,e){return t?null:new Error(e)}var a={};function s(t){var e=a[t];if(e){clearTimeout(e);delete a[t]}}function o(t,e,n){var r,o;o=setTimeout(function(){e=i;delete o[r];n()},t);r=function(){if(e.apply(this,arguments)){s(r)}};a[r]=o;return r}function u(t,e,n){var i=document.createElement(e);if(n)i.id=n;t.appendChild(i);return i}function l(t,e,n){var i=c(t);if(!f(i,d(e,n)))return;return i}function c(t,e){var n=document.createElement("iframe");n.src=e||"about:blank";n.marginWidth="0";n.marginHeight="0";n.frameBorder="0";n.width="100%";n.height="100%";n.style.position="absolute";n.style.left="0";n.style.top="0";n.style.margin="0px";n.style.padding="0px";n.style.border="none";n.setAttribute("SCROLLING","NO");t.innerHTML="";t.appendChild(n);return n}function d(t,e){Object.keys(e).forEach(function(n){var i=typeof i==="object"?JSON.stringify(e[n]):e[n];t=t.replace(new RegExp("{{"+n+"}}","g"),i)});return t}function f(t,e){var n=t.contentWindow&&t.contentWindow.document;if(!n)return false;n.write(e);return true}function h(t,e){Object.keys(e).forEach(function(n){t[n]=e[n]});return t}function p(t){var e=-1;return function(){return t+"_"+ ++e}}e.exports={noop:i,validate:r,clearCallbackTimeout:s,callbackTimeout:o,createElementInEl:u,createIframeWithContent:l,createIframe:c,simpleTemplate:d,setIframeContent:f,extend:h,unique:p}},{}],13:[function(t,e,n){"use strict";var i=t("./InLine");var r=t("./Wrapper");function a(t){if(!(this instanceof a)){return new a(t)}this.initialize(t)}a.prototype.initialize=function(t){this.id=t.attr("id");this.sequence=t.attr("sequence");if(t.inLine){this.inLine=new i(t.inLine)}if(t.wrapper){this.wrapper=new r(t.wrapper)}};e.exports=a},{"./InLine":15,"./Wrapper":25}],14:[function(t,e,n){"use strict";var i=t("./Linear");function r(t){if(!(this instanceof r)){return new r(t)}this.id=t.attr("id");this.sequence=t.attr("sequence");this.adId=t.attr("adId");this.apiFramework=t.attr("apiFramework");if(t.linear){this.linear=new i(t.linear)}}e.exports=r},{"./Linear":16}],15:[function(t,e,n){"use strict";var i=t("./vastUtil");var r=t("../../utils/utilityFunctions");var a=t("../../utils/xml");function s(t){if(!(this instanceof s)){return new s(t)}this.adTitle=a.keyValue(t.adTitle);this.adSystem=a.keyValue(t.adSystem);this.impressions=i.parseImpressions(t.impression);this.creatives=i.parseCreatives(t.creatives);this.description=a.keyValue(t.description);this.advertiser=a.keyValue(t.advertiser);this.surveys=e(t.survey);this.error=a.keyValue(t.error);this.pricing=a.keyValue(t.pricing);this.extensions=t.extensions;function e(t){if(t){return r.transformArray(r.isArray(t)?t:[t],function(t){if(r.isNotEmptyString(t.keyValue)){return{uri:t.keyValue,type:t.attr("type")}}return undefined})}return[]}}e.exports=s},{"../../utils/utilityFunctions":42,"../../utils/xml":43,"./vastUtil":27}],16:[function(t,e,n){"use strict";var i=t("./TrackingEvent");var r=t("./MediaFile");var a=t("./VideoClicks");var s=t("../../utils/utilityFunctions");var o=t("./parsers");var u=t("../../utils/xml");function l(t){if(!(this instanceof l)){return new l(t)}this.duration=o.duration(u.keyValue(t.duration));this.mediaFiles=n(t.mediaFiles&&t.mediaFiles.mediaFile);this.trackingEvents=e(t.trackingEvents&&t.trackingEvents.tracking,this.duration);this.skipoffset=o.offset(u.attr(t,"skipoffset"),this.duration);if(t.videoClicks){this.videoClicks=new a(t.videoClicks)}if(t.adParameters){this.adParameters=u.keyValue(t.adParameters);if(u.attr(t.adParameters,"xmlEncoded")){this.adParameters=u.decode(this.adParameters)}}function e(t,e){var n=[];if(s.isDefined(t)){t=s.isArray(t)?t:[t];t.forEach(function(t){n.push(new i(t,e))})}return n}function n(t){var e=[];if(s.isDefined(t)){t=s.isArray(t)?t:[t];t.forEach(function(t){e.push(new r(t))})}return e}}e.exports=l},{"../../utils/utilityFunctions":42,"../../utils/xml":43,"./MediaFile":17,"./TrackingEvent":18,"./VideoClicks":24,"./parsers":26}],17:[function(t,e,n){"use strict";var i=t("../../utils/xml");var r=["delivery","type","width","height","codec","id","bitrate","minBitrate","maxBitrate","scalable","maintainAspectRatio","apiFramework"];function a(t){if(!(this instanceof a)){return new a(t)}this.src=i.keyValue(t);for(var e=0;e 0){d(r.shift(),[],a)}else{e(t,i)}}else{e(null,i)}}});function a(t,e){var i=n._requestVASTXml.bind(n,t);o.waterfall([i,s],e)}function s(t,e){var n;try{n=c.toJXONTree(t);if(l.isArray(n.ad)){n.ads=n.ad}else if(n.ad){n.ads=[n.ad]}else{n.ads=[]}e(u(n),n)}catch(i){e(new r("on VASTClient.getVASTAd.buildVastWaterfall, error parsing xml",100),null)}}function u(t){var e=c.attr(t,"version");if(!t.ad){return new r("on VASTClient.getVASTAd.validateVASTTree, no Ad in VAST tree",303)}if(e&&(e!=3&&e!=2)){return new r('on VASTClient.getVASTAd.validateVASTTree, not supported VAST version "'+e+'"',102)}return null}function d(t,e,i){if(e.length>=n.WRAPPER_LIMIT){return i(new r("on VASTClient.getVASTAd.getAd, players wrapper limit reached (the limit is "+n.WRAPPER_LIMIT+")",302),e)}o.waterfall([function(e){if(l.isString(t)){p(t,e)}else{e(null,t)}},f],function(t,n){if(n){e.push(n)}if(t){return i(t,e)}if(n.wrapper){return d(n.wrapper.VASTAdTagURI,e,i)}return i(null,e)})}function f(t,e){try{var n=new i(t);e(h(n),n)}catch(a){e(new r("on VASTClient.getVASTAd.buildAd, error parsing xml",100),null)}}function h(t){var e=t.wrapper;var n=t.inLine;var i="on VASTClient.getVASTAd.validateAd, ";if(n&&e){return new r(i+"InLine and Wrapper both found on the same Ad",101)}if(!n&&!e){return new r(i+"nor wrapper nor inline elements found on the Ad",101)}if(n&&n.creatives.length===0){return new r(i+"missing creative in InLine element",101)}if(e&&!e.VASTAdTagURI){return new r(i+"missing 'VASTAdTagURI' in wrapper",101)}}function p(t,e){n._requestVASTXml(t,function(t,n){if(t){return e(t)}try{var i=c.toJXONTree(n);e(u(i),i.ad)}catch(a){e(new r("on VASTClient.getVASTAd.requestVASTAd, error parsing xml",100))}})}};d.prototype._requestVASTXml=function h(t,e){try{if(l.isFunction(t)){t(i)}else{u.get(t,i,{withCredentials:true})}}catch(n){e(n)}function i(t,n,i){if(t){var a=l.isDefined(i)?"on VASTClient.requestVastXML, HTTP request error with status '"+i+"'":"on VASTClient.requestVastXML, Error getting the the VAST XML with he passed adTagXML fn";return e(new r(a,301),null)}e(null,n)}};d.prototype._buildVASTResponse=function p(t){var e=new a;n(e,t);i(e);return e;function n(t,e){e.forEach(function(e){t.addAd(e)})}function i(t){var e=t.trackingEvents.progress;if(!t.hasLinear()){throw new r("on VASTClient._buildVASTResponse, Received an Ad type that is not supported",200)}if(t.duration===undefined){throw new r("on VASTClient._buildVASTResponse, Missing duration field in VAST response",101)}if(e){e.forEach(function(t){if(!l.isNumber(t.offset)){throw new r("on VASTClient._buildVASTResponse, missing or wrong offset attribute on progress tracking event",101)}})}}};d.prototype._trackError=function(t,e){if(!l.isArray(e)||e.length===0){return}var n=[];e.forEach(i);s.track(n,{ERRORCODE:t.code||900});function i(t){if(t.wrapper&&t.wrapper.error){n.push(t.wrapper.error)}if(t.inLine&&t.inLine.error){n.push(t.inLine.error)}}};e.exports=d},{"../../utils/async":37,"../../utils/http":39,"../../utils/utilityFunctions":42,"../../utils/xml":43,"./Ad":13,"./VASTError":20,"./VASTResponse":22,"./vastUtil":27}],20:[function(t,e,n){"use strict";function i(t,e){this.message="VAST Error: "+(t||"");if(e){this.code=e}}i.prototype=new Error;i.prototype.name="VAST Error";e.exports=i},{}],21:[function(t,e,n){"use strict";var i=t("./VASTResponse");var r=t("./VASTError");var a=t("./VASTTracker");var s=t("./vastUtil");var o=t("../../utils/async");var u=t("../../utils/dom");var l=t("../../utils/playerUtils");var c=t("../../utils/utilityFunctions");function d(t){if(!(this instanceof d)){return new d(t)}this.player=t}d.prototype.playAd=function f(t,e){var n=this;e=e||c.noop;if(!(t instanceof i)){return e(new r("On VASTIntegrator, missing required VASTResponse"))}o.waterfall([function(e){e(null,t)},this._selectAdSource.bind(this),this._createVASTTracker.bind(this),this._addClickThrough.bind(this),this._addSkipButton.bind(this),this._setupEvents.bind(this),this._playSelectedAd.bind(this)],function(t,i){if(t&&i){n._trackError(t,i)}e(t,i)});this._adUnit={_src:null,type:"VAST",pauseAd:function(){n.player.pause(true)},resumeAd:function(){n.player.play(true)},isPaused:function(){return n.player.paused(true)},getSrc:function(){return this._src}};return this._adUnit};d.prototype._selectAdSource=function h(t,e){var n;var i=u.getDimension(this.player.el()).width;t.mediaFiles.sort(function a(t,e){var n=Math.abs(i-t.width);var r=Math.abs(i-e.width);return n-r});n=this.player.selectSource(t.mediaFiles).source;if(n){if(this._adUnit){this._adUnit._src=n}return e(null,n,t)}e(new r("Could not find Ad mediafile supported by this player",403),t)};d.prototype._createVASTTracker=function p(t,e,n){try{n(null,t,new a(t.src,e),e)}catch(i){n(i,e)}};d.prototype._setupEvents=function v(t,e,n,i){var r;var a=this.player;a.on("fullscreenchange",o);a.on("vast.adStart",d);a.on("pause",u);a.on("timeupdate",c);a.on("volumechange",f);l.once(a,["vast.adEnd","vast.adsCancel"],s);l.once(a,["vast.adEnd","vast.adsCancel","vast.adSkip"],function(t){if(t.type==="vast.adEnd"){e.trackComplete()}});return i(null,t,n);function s(){a.off("fullscreenchange",o);a.off("vast.adStart",d);a.off("pause",u);a.off("timeupdate",c);a.off("volumechange",f)}function o(){if(a.isFullscreen()){e.trackFullscreen()}else{e.trackExitFullscreen()}}function u(){if(Math.abs(a.duration()-a.currentTime())<2){return}e.trackPause();l.once(a,["play","vast.adEnd","vast.adsCancel"],function(t){if(t.type==="play"){e.trackResume()}})}function c(){var t=a.currentTime()*1e3;e.trackProgress(t)}function d(){e.trackImpressions();e.trackCreativeView()}function f(){var t=a.muted();if(t){e.trackMute()}else if(r){e.trackUnmute()}r=t}};d.prototype._addSkipButton=function g(t,e,n,i){var r;var a=this;if(c.isNumber(n.skipoffset)){r=n.skipoffset/1e3;s(this.player,r)}i(null,t,e,n);function s(t,e){var n=o(t);var i=d.bind(a,n,e,t);t.el().appendChild(n);t.on("timeupdate",i);l.once(t,["vast.adEnd","vast.adsCancel"],r);function r(){t.off("timeupdate",i);u.remove(n)}}function o(t){var n=window.document.createElement("div");u.addClass(n,"vast-skip-button");n.onclick=function(i){if(u.hasClass(n,"enabled")){e.trackSkip();t.trigger("vast.adSkip")}if(window.Event.prototype.stopPropagation!==undefined){i.stopPropagation()}else{return false}};return n}function d(t,e,n){var i=Math.ceil(e-n.currentTime());if(i>0){var decimalesS=2; if(i<10) decimalesS=1; t.innerHTML="Podrás saltar este anuncio en "+c.toFixedDigits(i,decimalesS)}else{if(!u.hasClass(t,"enabled")){u.addClass(t,"enabled");t.innerHTML="Saltar anuncio"}}}};d.prototype._addClickThrough=function m(t,e,n,i){var r=this.player;var a=d(r,e,n);var o=f.bind(this,a,n,r);r.el().insertBefore(a,r.controlBar.el());r.on("timeupdate",o);l.once(r,["vast.adEnd","vast.adsCancel"],p);return i(null,t,e,n);function d(t,e,n){var i=window.document.createElement("a");var r=n.clickThrough;u.addClass(i,"vast-blocker");i.href=h(r,t);if(c.isString(r)){i.target="_blank"}i.onclick=function(n){if(t.paused()){t.play();if(window.Event.prototype.stopPropagation!==undefined){n.stopPropagation()}return false}t.pause();e.trackClick()};return i}function f(t,e,n){t.href=h(e.clickThrough,n)}function h(e,n){var i={ASSETURI:t.src,CONTENTPLAYHEAD:s.formatProgress(n.currentTime()*1e3)};return e?s.parseURLMacro(e,i):"#"}function p(){r.off("timeupdate",o);u.remove(a)}};d.prototype._playSelectedAd=function y(t,e,n){var i=this.player;i.preload("auto");i.src(t);l.once(i,["durationchange","error","vast.adsCancel"],function(t){if(t.type==="durationchange"){a()}else if(t.type==="error"){n(new r("on VASTIntegrator, Player is unable to play the Ad",400),e)}});function a(){i.play();l.once(i,["playing","vast.adsCancel"],function(t){if(t.type==="vast.adsCancel"){return}i.trigger("vast.adStart");l.once(i,["ended","vast.adsCancel","vast.adSkip"],function(t){if(t.type==="ended"||t.type==="vast.adSkip"){n(null,e)}})})}};d.prototype._trackError=function A(t,e){s.track(e.errorURLMacros,{ERRORCODE:t.code||900})};e.exports=d},{"../../utils/async":37,"../../utils/dom":38,"../../utils/playerUtils":40,"../../utils/utilityFunctions":42,"./VASTError":20,"./VASTResponse":22,"./VASTTracker":23,"./vastUtil":27}],22:[function(t,e,n){"use strict";var i=t("./Ad");var r=t("./VideoClicks");var a=t("./Linear");var s=t("./InLine");var o=t("./Wrapper");var u=t("../../utils/utilityFunctions");var l=t("../../utils/xml");window.InLine__A=s;function c(){if(!(this instanceof c)){return new c}this._linearAdded=false;this.ads=[];this.errorURLMacros=[];this.impressions=[];this.clickTrackings=[];this.customClicks=[];this.trackingEvents={};this.mediaFiles=[];this.clickThrough=undefined;this.adTitle="";this.duration=undefined;this.skipoffset=undefined}c.prototype.addAd=function(t){var e,n;if(t instanceof i){e=t.inLine;n=t.wrapper;this.ads.push(t);if(e){this._addInLine(e)}if(n){this._addWrapper(n)}}};c.prototype._addErrorTrackUrl=function(t){var e=t instanceof l.JXONTree?l.keyValue(t):t;if(e){this.errorURLMacros.push(e)}};c.prototype._addImpressions=function(t){u.isArray(t)&&d(this.impressions,t)};c.prototype._addClickThrough=function(t){if(u.isNotEmptyString(t)){this.clickThrough=t}};c.prototype._addClickTrackings=function(t){u.isArray(t)&&d(this.clickTrackings,t)};c.prototype._addCustomClicks=function(t){u.isArray(t)&&d(this.customClicks,t)};c.prototype._addTrackingEvents=function(t){var e=this.trackingEvents;if(t){t=u.isArray(t)?t:[t];t.forEach(function(t){if(!e[t.name]){e[t.name]=[]}e[t.name].push(t)})}};c.prototype._addTitle=function(t){if(u.isNotEmptyString(t)){this.adTitle=t}};c.prototype._addDuration=function(t){if(u.isNumber(t)){this.duration=t}};c.prototype._addVideoClicks=function(t){if(t instanceof r){this._addClickThrough(t.clickThrough);this._addClickTrackings(t.clickTrackings);this._addCustomClicks(t.customClicks)}};c.prototype._addMediaFiles=function(t){u.isArray(t)&&d(this.mediaFiles,t)};c.prototype._addSkipoffset=function(t){if(t){this.skipoffset=t}};c.prototype._addAdParameters=function(t){if(t){this.adParameters=t}};c.prototype._addLinear=function(t){if(t instanceof a){this._addDuration(t.duration);this._addTrackingEvents(t.trackingEvents);this._addVideoClicks(t.videoClicks);this._addMediaFiles(t.mediaFiles);this._addSkipoffset(t.skipoffset);this._addAdParameters(t.adParameters);this._linearAdded=true}};c.prototype._addInLine=function(t){var e=this;if(t instanceof s){this._addTitle(t.adTitle);this._addErrorTrackUrl(t.error);this._addImpressions(t.impressions);t.creatives.forEach(function(t){if(t.linear){e._addLinear(t.linear)}})}};c.prototype._addWrapper=function(t){var e=this;if(t instanceof o){this._addErrorTrackUrl(t.error);this._addImpressions(t.impressions);t.creatives.forEach(function(t){var n=t.linear;if(n){e._addVideoClicks(n.videoClicks);e.clickThrough=undefined;e._addTrackingEvents(n.trackingEvents)}})}};c.prototype.hasLinear=function(){return this._linearAdded};function d(t,e){e.forEach(function(e){t.push(e)})}e.exports=c},{"../../utils/utilityFunctions":42,"../../utils/xml":43,"./Ad":13,"./InLine":15,"./Linear":16,"./VideoClicks":24,"./Wrapper":25}],23:[function(t,e,n){"use strict";var i=t("./VASTError");var r=t("./VASTResponse");var a=t("./vastUtil");var s=t("../../utils/utilityFunctions");function o(t,e){if(!(this instanceof o)){return new o(t,e)}this.sanityCheck(t,e);this.initialize(t,e)}o.prototype.initialize=function(t,e){this.response=e;this.assetURI=t;this.progress=0;this.quartiles={firstQuartile:{tracked:false,time:Math.round(25*e.duration)/100},midpoint:{tracked:false,time:Math.round(50*e.duration)/100},thirdQuartile:{tracked:false,time:Math.round(75*e.duration)/100}}};o.prototype.sanityCheck=function(t,e){if(!s.isString(t)||s.isEmptyString(t)){throw new i("on VASTTracker constructor, missing required the URI of the ad asset being played")}if(!(e instanceof r)){throw new i("on VASTTracker constructor, missing required VAST response")}};o.prototype.trackURLs=function u(t,e){if(s.isArray(t)&&t.length>0){e=s.extend({ASSETURI:this.assetURI,CONTENTPLAYHEAD:a.formatProgress(this.progress)},e||{});a.track(t,e)}};o.prototype.trackEvent=function l(t,e){this.trackURLs(n(this.response.trackingEvents[t]));if(e){this.response.trackingEvents[t]=undefined}function n(t){var e;if(t){e=[];t.forEach(function(t){e.push(t.uri)})}return e}};o.prototype.trackProgress=function c(t){var e=this;var n=[];var i=true;var r=false;var a=this.response.trackingEvents;if(s.isNumber(t)){u("start",i,t>0);u("rewind",r,o(this.progress,t));l(t);d(t);f();this.progress=t}function o(e,n){var i=3e3;return e>t&&Math.abs(n-e)>i}function u(t,e,i){if(a[t]&&i){n.push({name:t,trackOnce:!!e})}}function l(t){var n=e.quartiles;var r=e.quartiles.firstQuartile;var a=e.quartiles.midpoint;var s=e.quartiles.thirdQuartile;if(!r.tracked){o("firstQuartile",t)}else if(!a.tracked){o("midpoint",t)}else if(!s.tracked){o("thirdQuartile",t)}function o(t,e){var r=n[t];if(c(r,e)){r.tracked=true;u(t,i,true)}}}function c(t,e){var n=t.time;return e>=n&&e<=n+5e3}function d(t){if(!s.isArray(a.progress)){return}var n=[];a.progress.forEach(function(i){if(i.offset<=t){e.trackURLs([i.uri])}else{n.push(i)}});a.progress=n}function f(){n.forEach(function(t){e.trackEvent(t.name,t.trackOnce)})}};["rewind","fullscreen","exitFullscreen","pause","resume","mute","unmute","acceptInvitation","acceptInvitationLinear","collapse","expand"].forEach(function(t){o.prototype["track"+s.capitalize(t)]=function(){this.trackEvent(t)}});["start","skip","close","closeLinear"].forEach(function(t){o.prototype["track"+s.capitalize(t)]=function(){this.trackEvent(t,true)}});["firstQuartile","midpoint","thirdQuartile"].forEach(function(t){o.prototype["track"+s.capitalize(t)]=function(){this.quartiles[t].tracked=true;this.trackEvent(t,true)}});o.prototype.trackComplete=function(){if(this.quartiles.thirdQuartile.tracked){this.trackEvent("complete",true)}};o.prototype.trackErrorWithCode=function d(t){if(s.isNumber(t)){this.trackURLs(this.response.errorURLMacros,{ERRORCODE:t})}};o.prototype.trackImpressions=function f(){this.trackURLs(this.response.impressions)};o.prototype.trackCreativeView=function h(){this.trackEvent("creativeView")};o.prototype.trackClick=function p(){this.trackURLs(this.response.clickTrackings)};e.exports=o},{"../../utils/utilityFunctions":42,"./VASTError":20,"./VASTResponse":22,"./vastUtil":27}],24:[function(t,e,n){"use strict";var i=t("../../utils/utilityFunctions");var r=t("../../utils/xml");function a(t){if(!(this instanceof a)){return new a(t)}this.clickThrough=r.keyValue(t.clickThrough);this.clickTrackings=e(t.clickTracking);this.customClicks=e(t.customClick);function e(t){var e=[];if(t){t=i.isArray(t)?t:[t];t.forEach(function(t){e.push(r.keyValue(t))})}return e}}e.exports=a},{"../../utils/utilityFunctions":42,"../../utils/xml":43}],25:[function(t,e,n){"use strict";var i=t("./vastUtil");var r=t("../../utils/utilityFunctions");var a=t("../../utils/xml");function s(t){if(!(this instanceof s)){return new s(t)}this.adSystem=a.keyValue(t.adSystem);this.impressions=i.parseImpressions(t.impression);this.VASTAdTagURI=a.keyValue(t.vASTAdTagURI);this.creatives=i.parseCreatives(t.creatives);this.error=a.keyValue(t.error);this.extensions=t.extensions;this.followAdditionalWrappers=r.isDefined(a.attr(t,"followAdditionalWrappers"))?a.attr(t,"followAdditionalWrappers"):true;this.allowMultipleAds=a.attr(t,"allowMultipleAds");this.fallbackOnNoAd=a.attr(t,"fallbackOnNoAd")}e.exports=s},{"../../utils/utilityFunctions":42,"../../utils/xml":43,"./vastUtil":27}],26:[function(t,e,n){"use strict";var i=t("../../utils/utilityFunctions");var r=/(\d\d):(\d\d):(\d\d)(\.(\d\d\d))?/;var a={duration:function s(t){var e,n;if(i.isString(t)){e=t.match(r);if(e){n=a(e[1])+s(e[2])+o(e[3])+parseInt(e[5]||0)}}return isNaN(n)?null:n;function a(t){return parseInt(t,10)*60*60*1e3}function s(t){return parseInt(t,10)*60*1e3}function o(t){return parseInt(t,10)*1e3}},offset:function o(t,e){if(n(t)){return i(t,e)}return a.duration(t);function n(t){var e=/^\d+(\.\d+)?%$/g;return e.test(t)}function i(t,e){if(e){return r(e,parseFloat(t.replace("%","")))}return null}function r(t,e){return t*e/100}}};e.exports=a},{"../../utils/utilityFunctions":42}],27:[function(t,e,n){"use strict";var i=t("./Creative");var r=t("../../utils/utilityFunctions");var a={track:function s(t,e){var n=a.parseURLMacros(t,e);var i=[];n.forEach(function(t){var e=new Image;e.src=t;i.push(e)});return i},parseURLMacros:function o(t,e){var n=[];e=e||{};if(!e["CACHEBUSTING"]){e["CACHEBUSTING"]=Math.round(Math.random()*1e10)}t.forEach(function(t){n.push(a._parseURLMacro(t,e))});return n},parseURLMacro:function u(t,e){e=e||{};if(!e["CACHEBUSTING"]){e["CACHEBUSTING"]=Math.round(Math.random()*1e10)}return a._parseURLMacro(t,e)},_parseURLMacro:function l(t,e){e=e||{};r.forEach(e,function(e,n){t=t.replace(new RegExp("\\["+n+"\\]","gm"),e)});return t},parseDuration:function c(t){var e=/(\d\d):(\d\d):(\d\d)(\.(\d\d\d))?/;var n,i;if(r.isString(t)){n=t.match(e);if(n){i=a(n[1])+s(n[2])+o(n[3])+parseInt(n[5]||0)}}return isNaN(i)?null:i;function a(t){return parseInt(t,10)*60*60*1e3}function s(t){return parseInt(t,10)*60*1e3}function o(t){return parseInt(t,10)*1e3}},parseImpressions:function d(t){if(t){t=r.isArray(t)?t:[t];return r.transformArray(t,function(t){if(r.isNotEmptyString(t.keyValue)){return t.keyValue}return undefined})}return[]},parseCreatives:function f(t){var e=[];var n;if(r.isDefined(t)&&r.isDefined(t.creative)){n=r.isArray(t.creative)?t.creative:[t.creative];n.forEach(function(t){e.push(new i(t))})}return e},formatProgress:function h(t){var e,n,i,a;e=t/(60*60*1e3);e=Math.floor(e);n=t/(60*1e3)%60;n=Math.floor(n);i=t/1e3%60;i=Math.floor(i);a=t%1e3;return r.toFixedDigits(e,2)+":"+r.toFixedDigits(n,2)+":"+r.toFixedDigits(i,2)+"."+r.toFixedDigits(a,3)},parseOffset:function p(t,e){if(n(t)){return i(t,e)}return a.parseDuration(t);function n(t){var e=/^\d+(\.\d+)?%$/g;return e.test(t)}function i(t,e){if(e){return r(e,parseFloat(t.replace("%","")))}return null}function r(t,e){return t*e/100}},isVPAID:function v(t){return!!t&&t.apiFramework==="VPAID"}};e.exports=a},{"../../utils/utilityFunctions":42,"./Creative":14}],28:[function(t,e,n){"use strict";var i=t("../vast/VASTError");var r=t("../../utils/utilityFunctions");function a(t,e){if(!(this instanceof a)){return new a(t,e)}n(t,e);this.options=r.extend({},e);this._adUnit=t;function n(t,e){if(!t||!a.checkVPAIDInterface(t)){throw new i("on VPAIDAdUnitWrapper, the passed VPAID adUnit does not fully implement the VPAID interface")}if(!r.isObject(e)){throw new i("on VPAIDAdUnitWrapper, expected options hash but got '"+e+"'")}if(!("responseTimeout"in e)||!r.isNumber(e.responseTimeout)){throw new i("on VPAIDAdUnitWrapper, expected responseTimeout in options")}}}a.checkVPAIDInterface=function s(t){var e=["handshakeVersion","initAd","startAd","stopAd","resizeAd","pauseAd","expandAd","collapseAd"];for(var n=0,i=e.length;n =1&&e<=2}function a(t){var e=t.split(".");return parseInt(e[0],10)}};p.prototype._initAd=function(t,e,n){var i=this.player.el().querySelector(".vjs-tech");var r=d.getDimension(i);t.initAd(r.width,r.height,this.VIEW_MODE.NORMAL,-1,{AdParameters:e.adParameters||""},function(i){n(i,t,e)})};p.prototype._createVASTTracker=function(t,e){return new a(t,e)};p.prototype._setupEvents=function(t,e,n){var i=t.options.src;var r=this._createVASTTracker(i,e);var a=this.player;var o=this;t.on("AdSkipped",function(){a.trigger("vpaid.AdSkipped");r.trackSkip()});t.on("AdImpression",function(){a.trigger("vpaid.AdImpression");r.trackImpressions()});t.on("AdStarted",function(){a.trigger("vpaid.AdStarted");r.trackCreativeView();u()});t.on("AdVideoStart",function(){a.trigger("vpaid.AdVideoStart");r.trackStart();u()});t.on("AdPlaying",function(){a.trigger("vpaid.AdPlaying");r.trackResume();u()});t.on("AdPaused",function(){a.trigger("vpaid.AdPaused");r.trackPause();l()});function u(){if(o._adUnit&&o._adUnit.isPaused()){o._adUnit._paused=false}a.trigger("play")}function l(){if(o._adUnit){o._adUnit._paused=true}a.trigger("pause")}t.on("AdVideoFirstQuartile",function(){a.trigger("vpaid.AdVideoFirstQuartile");r.trackFirstQuartile()});t.on("AdVideoMidpoint",function(){a.trigger("vpaid.AdVideoMidpoint");r.trackMidpoint()});t.on("AdVideoThirdQuartile",function(){a.trigger("vpaid.AdVideoThirdQuartile");r.trackThirdQuartile()});t.on("AdVideoComplete",function(){a.trigger("vpaid.AdVideoComplete");r.trackComplete()});t.on("AdClickThru",function(n){a.trigger("vpaid.AdClickThru");var i=n.url;var o=n.playerHandles;var u=h.isNotEmptyString(i)?i:l(e.clickThrough);r.trackClick();if(o&&u){window.open(u,"_blank")}function l(e){var n={ASSETURI:t.options.src,CONTENTPLAYHEAD:0};return e?s.parseURLMacro(e,n):null}});t.on("AdUserAcceptInvitation",function(){a.trigger("vpaid.AdUserAcceptInvitation");r.trackAcceptInvitation();r.trackAcceptInvitationLinear()});t.on("AdUserClose",function(){a.trigger("vpaid.AdUserClose");r.trackClose();r.trackCloseLinear()});t.on("AdUserMinimize",function(){a.trigger("vpaid.AdUserMinimize");r.trackCollapse()});t.on("AdError",function(){a.trigger("vpaid.AdError");r.trackErrorWithCode(901)});t.on("AdVolumeChange",function(){a.trigger("vpaid.AdVolumeChange");var e=a.volume();t.getAdVolume(function(t,n){if(n===0&&e>0){r.trackMute()}if(n>0&&e===0){r.trackUnmute()}a.volume(n)})});var c=v.bind(this,a,t,this.VIEW_MODE);var f=h.throttle(c,100);var p=this.settings.autoResize;if(p){d.addEventListener(window,"resize",f);d.addEventListener(window,"orientationchange",f)}a.on("vast.resize",c);a.on("vpaid.pauseAd",g);a.on("vpaid.resumeAd",m);a.one("vpaid.adEnd",function(){a.off("vast.resize",c);a.off("vpaid.pauseAd",g);a.off("vpaid.resumeAd",m);if(p){d.removeEventListener(window,"resize",f);d.removeEventListener(window,"orientationchange",f)}});n(null,t,e);function g(){t.pauseAd(h.noop)}function m(){t.resumeAd(h.noop)}};p.prototype._addSkipButton=function(t,e,n){var i;var r=this.player;t.on("AdSkippableStateChange",a);f.once(r,["vast.adEnd","vast.adsCancel"],o);n(null,t,e);function a(){r.trigger("vpaid.AdSkippableStateChange"); t.getAdSkippableState(function(t,e){if(e){if(!i){s(r)}}else{o(r)}})}function s(t){i=u(t);t.el().appendChild(i)}function o(){d.remove(i);i=null}function u(){var e=window.document.createElement("div");d.addClass(e,"vast-skip-button");d.addClass(e,"enabled");e.innerHTML="Skip ad";e.onclick=function(e){t.skipAd(h.noop);if(window.Event.prototype.stopPropagation!==undefined){e.stopPropagation()}else{return false}};return e}};p.prototype._linkPlayerControls=function(t,e,n){var i=this;r(this.player,t);a(this.player,t,this.VIEW_MODE);n(null,t,e);function r(t,e){t.on("volumechange",n);e.on("AdVolumeChange",i);t.one("vpaid.adEnd",function(){t.off("volumechange",n)});function n(){var n=t.muted()?0:t.volume();e.setAdVolume(n,g)}function i(){t.trigger("vpaid.AdVolumeChange");e.getAdVolume(function(e,n){if(e){g(e)}else{t.volume(n)}})}}function a(t,e,n){var r=v.bind(i,t,e,n);t.on("fullscreenchange",r);t.one("vpaid.adEnd",function(){t.off("fullscreenchange",r)})}};p.prototype._startAd=function(t,e,n){var i=this.player;t.startAd(function(r){if(!r){i.trigger("vast.adStart")}n(r,t,e)})};p.prototype._finishPlaying=function(t,e,n){var r=this.player;t.on("AdStopped",function(){r.trigger("vpaid.AdStopped");a(null)});t.on("AdError",function(t){var e=t?t.message:"on VPAIDIntegrator, error while waiting for the adUnit to finish playing";a(new i(e))});function a(i){n(i,t,e)}};p.prototype._trackError=function A(t){s.track(t.errorURLMacros,{ERRORCODE:901})};function v(t,e,n){var i=t.el().querySelector(".vjs-tech");var r=d.getDimension(i);var a=t.isFullscreen()?n.FULLSCREEN:n.NORMAL;e.resizeAd(r.width,r.height,a,g)}function g(t){if(t&&console&&console.log){console.log("ERROR: "+t.message,t)}}e.exports=p},{"../../utils/async":37,"../../utils/dom":38,"../../utils/playerUtils":40,"../../utils/utilityFunctions":42,"../vast/VASTError":20,"../vast/VASTResponse":22,"../vast/VASTTracker":23,"../vast/vastUtil":27,"./VPAIDAdUnitWrapper":28,"./VPAIDFlashTech":29,"./VPAIDHTML5Tech":30}],32:[function(t,e,n){"use strict";var i=t("../../utils/dom");var r=document.createElement("div");r.className="vjs-ads-label vjs-control vjs-label-hidden";r.innerHTML="Advertisement";var a=function(t){return{init:function e(n,a){a.el=r;t.call(this,n,a);setTimeout(function(){var t=n.controlBar&&(n.controlBar.getChild("timerControls")||n.controlBar.getChild("currentTimeDisplay"));if(t){n.controlBar.el().insertBefore(r,t.el())}i.removeClass(r,"vjs-label-hidden")},0)},el:function n(){return r}}};e.exports=a},{"../../utils/dom":38}],33:[function(t,e,n){"use strict";var i=videojs.getComponent("Component");var r=t("./ads-label")(i);videojs.registerComponent("AdsLabel",videojs.extend(i,r))},{"./ads-label":32}],34:[function(t,e,n){"use strict";var i=document.createElement("div");var r=function(t){return{init:function e(n,r){r.el=i;i.className="vjs-black-poster";t.call(this,n,r);var a=n.getChild("posterImage");setTimeout(function(){if(a&&n&&n.el()){n.el().insertBefore(i,a.el())}},0)},el:function n(){return i}}};e.exports=r},{}],35:[function(t,e,n){"use strict";var i=videojs.getComponent("Component");var r=t("./black-poster")(i);videojs.registerComponent("BlackPoster",videojs.extend(i,r))},{"./black-poster":34}],36:[function(t,e,n){"use strict";var i=t("../ads/vast/VASTClient");var r=t("../ads/vast/VASTError");var a=t("../ads/vast/vastUtil");var s=t("../ads/vast/VASTIntegrator");var o=t("../ads/vpaid/VPAIDIntegrator");var u=t("../utils/async");var l=t("../utils/dom");var c=t("../utils/playerUtils");var d=t("../utils/utilityFunctions");e.exports=function f(t){var e;var n=this;var f=new i;var h=false;var p={timeout:500,iosPrerollCancelTimeout:2e3,adCancelTimeout:3e3,playAdAlways:false,adsEnabled:true,autoResize:true,vpaidFlashLoaderPath:"/VPAIDFlash.swf"};var v=d.extend({},p,t||{});if(d.isUndefined(v.adTagUrl)&&d.isDefined(v.url)){v.adTagUrl=v.url}if(d.isString(v.adTagUrl)){v.adTagUrl=d.echoFn(v.adTagUrl)}if(d.isDefined(v.adTagXML)&&!d.isFunction(v.adTagXML)){return k(new r("on VideoJS VAST plugin, the passed adTagXML option does not contain a function"))}if(!d.isDefined(v.adTagUrl)&&!d.isFunction(v.adTagXML)){return k(new r("on VideoJS VAST plugin, missing adTagUrl on options object"))}c.prepareForAds(n);if(v.playAdAlways){n.on("vast.contentEnd",function(){setTimeout(function(){n.trigger("vast.reset")},0)})}n.on("vast.firstPlay",g);n.on("vast.reset",function(){e=null;m()});n.vast={isEnabled:function(){return v.adsEnabled},enable:function(){v.adsEnabled=true},disable:function(){v.adsEnabled=false}};return n.vast;function g(){c.removeNativePoster(n);c.once(n,["vast.adsCancel","vast.adEnd"],function(){t();i()});u.waterfall([s,o,y],function(t,e){if(t){k(t,e)}else{n.trigger("vast.adEnd")}});function t(){if(n.vast&&n.vast.adUnit){n.vast.adUnit=null}}function i(){a();if(e){c.restorePlayerSnapshot(n,e);e=null}}function a(){c.once(n,["playing","vast.reset","vast.firstPlay"],function(t){if(t.type!=="playing"){return}n.trigger("vast.contentStart");c.once(n,["ended","vast.reset","vast.firstPlay"],function(t){if(t.type==="ended"){n.trigger("vast.contentEnd")}})})}function s(t){if(v.adsEnabled){return t(null)}t(new r("Ads are not enabled"))}function o(t){if(f()){e=c.getPlayerSnapshot(n);n.pause();g();p();t(null)}else{t(new r("video content has been playing before preroll ad"))}}function f(){return!d.isIPhone()||n.currentTime()<=v.iosPrerollCancelTimeout}function p(){var t;h=false;t=setTimeout(function(){k(new r("timeout while waiting for the video to start playing",402))},v.adCancelTimeout);c.once(n,["vast.adStart","vast.adsCancel"],e);function e(){if(t){clearTimeout(t);t=null}}}function g(){l.addClass(n.el(),"vjs-vast-ad-loading");c.once(n,["vast.adStart","vast.adsCancel"],m)}function m(){setTimeout(function(){l.removeClass(n.el(),"vjs-vast-ad-loading")},100)}}function m(){n.trigger("vast.adsCancel");h=true}function y(t){u.waterfall([A,_],t)}function A(t){f.getVASTResponse(v.adTagUrl?v.adTagUrl():v.adTagXML,t)}function _(t,e){if(h){return}var i=E(t)?new o(n,v):new s(n);var r=false;c.once(n,["vast.adStart","vast.adsCancel"],function(t){if(t.type==="vast.adStart"){a()}});c.once(n,["vast.adEnd","vast.adsCancel"],u);if(d.isIDevice()){l()}n.vast.adUnit=i.playAd(t,e);function a(){if(r||n.controlBar.getChild("AdsLabel")){return}n.controlBar.addChild("AdsLabel")}function u(){n.controlBar.removeChild("AdsLabel");r=true}function l(){var t=3;var e=0;var i=0;n.on("timeupdate",r);c.once(n,["vast.adEnd","vast.adsCancel","vast.adError"],a);function r(){var r=n.currentTime();var a=Math.abs(r-e);if(a>t){i+=1;if(i>=2){n.pause()}n.currentTime(e)}else{e=r}}function a(){n.off("timeupdate",r)}}}function k(t,e){n.trigger({type:"vast.adError",error:t});m();if(console&&console.log){console.log("AD ERROR:",t.message,t,e)}}function E(t){var e,n;var i=t.mediaFiles;for(e=0,n=i.length;e 0){u=setTimeout(function(){l&&l.abort()},o)}function c(t,e,n){if(!r.isString(t)||r.isEmptyString(t)){throw new a("Invalid url '"+t+"'")}if(!r.isFunction(e)){throw new a("Invalid handler '"+e+"' for the http request")}if(r.isDefined(n)&&!r.isObject(n)){throw new a("Invalid options map '"+n+"'")}}function d(t,e){r.forEach(e,function(e,n){if(r.isDefined(e)){t.setRequestHeader(n,e)}})}function f(){n(-1,null,null,"")}};s.prototype.get=function(t,e,n){this.run("GET",t,i,n);function i(t,n,i,s){if(r(t)){e(null,n,t,i,s)}else{e(new a(s),n,t,i,s)}}function r(t){return 200<=t&&t<300}};function o(){var t=new XMLHttpRequest;if(!("withCredentials"in t)){t=new XDomainRequest}return t}var u=new s(o);e.exports={http:u,HttpRequest:s,HttpRequestError:a,createXhr:o}},{"./urlUtils":41,"./utilityFunctions":42}],40:[function(t,e,n){"use strict";var i=t("./dom");var r=t("./utilityFunctions");var a={};a.getPlayerSnapshot=function s(t){var e=t.el().querySelector(".vjs-tech");var n={ended:t.ended(),src:t.currentSrc(),currentTime:t.currentTime(),type:t.currentType(),playing:!t.paused(),suppressedTracks:i(t)};if(e){n.nativePoster=e.poster;n.style=e.getAttribute("style")}return n;function i(t){var e=t.remoteTextTracks?t.remoteTextTracks():[];if(e&&r.isArray(e.tracks_)){e=e.tracks_}if(!r.isArray(e)){e=[]}var n=[];e.forEach(function(t){n.push({track:t,mode:t.mode});t.mode="disabled"});return n}};a.restorePlayerSnapshot=function o(t,e){var n=t.el().querySelector(".vjs-tech");var i=20;if(e.nativePoster){n.poster=e.nativePoster}if("style"in e){n.setAttribute("style",e.style||"")}if(s(t,e)){t.one("contentloadedmetadata",o);t.one("canplay",u);r();t.src({src:e.src,type:e.type});t.load()}else{o();if(e.playing){t.play()}}function r(){var e=setTimeout(function(){t.trigger("canplay")},1e3);t.one("canplay",function(){clearTimeout(e)})}function s(t,e){if(t.src()){return t.src()!==e.src}return t.currentSrc()!==e.src}function o(){var t=e.suppressedTracks;t.forEach(function(t){t.track.mode=t.mode})}function u(){if(a.isReadyToResume(n)){return r()}if(i--){setTimeout(u,50)}else{(function(){try{r()}catch(t){videojs.log.warn("Failed to resume the content after an advertisement",t)}})()}function r(){t.currentTime(e.currentTime);if(e.playing){t.play()}}}};a.isReadyToResume=function(t){if(t.readyState>1){return true}if(t.seekable===undefined){return true}if(t.seekable.length>0){return true}return false};a.prepareForAds=function(t){var e=t.addChild("blackPoster");var n=true;var a;s();t.on("play",u);t.on("vast.reset",l);t.on("vast.firstPlay",f);t.on("error",p);t.on("vast.adStart",p);t.on("vast.adsCancel",p);t.on("vast.adError",p);t.on("vast.adStart",v);t.on("vast.adEnd",g);t.on("vast.adsCancel",g);function s(){var e=t.play;t.play=function(n){var i=this;if(c()){s()}else{u(n)}return this;function s(){if(!r.isIPhone()){a=d();t.muted(true)}e.apply(i,arguments)}function u(n){if(o()&&!n){t.vast.adUnit.resumeAd()}else{e.apply(i,arguments)}}};var n=t.pause;t.pause=function(e){if(o()&&!e){t.vast.adUnit.pauseAd()}else{n.apply(this,arguments)}return this};var i=t.paused;t.paused=function(e){if(o()&&!e){return t.vast.adUnit.isPaused()}return i.apply(this,arguments)}}function o(){return t.vast&&t.vast.adUnit}function u(){if(c()){n=false;t.trigger("vast.firstPlay")}}function l(){n=true;e.show();f()}function c(){return n}function d(){return{muted:t.muted(),volume:t.volume()}}function f(){if(a){t.currentTime(0);h(a);a=null}}function h(e){if(r.isObject(e)){t.volume(e.volume);t.muted(e.muted)}}function p(){if(!i.hasClass(e.el(),"vjs-hidden")){e.hide()}}function v(){i.addClass(t.el(),"vjs-ad-playing")}function g(){i.removeClass(t.el(),"vjs-ad-playing")}};a.removeNativePoster=function(t){var e=t.el().querySelector(".vjs-tech");if(e){e.removeAttribute("poster")}};a.once=function u(t,e,n){function i(){n.apply(null,arguments);e.forEach(function(e){t.off(e,i)})}e.forEach(function(e){t.on(e,i)})};e.exports=a},{"./dom":38,"./utilityFunctions":42}],41:[function(t,e,n){"use strict";var i=t("./utilityFunctions");var r=document.createElement("a");var a=document.documentMode;function s(t){var e=t;if(a){r.setAttribute("href",e);e=r.href}r.setAttribute("href",e);return{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:i.isNotEmptyString(r.port)?r.port:80,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}function o(t,e){var n,r;e=i.isFunction(e)?e:function(){return true};t=t.trim().replace(/^\?/,"");n=t.split("&");r={};i.forEach(n,function(t){var n,i,a;if(t!==""){n=t.split("=");i=n[0];a=n[1];if(e(i,a)){r[i]=a}}});return r}function u(t){var e=[];i.forEach(t,function(t,n){e.push(n+"="+t)});return e.join("&")}e.exports={urlParts:s,queryStringToObj:o,objToQueryString:u}},{"./utilityFunctions":42}],42:[function(t,e,n){"use strict";var i=1;var r=/[A-Z]/g;var a=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$/i;var s=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24\:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;function o(){}function u(t){return t===null}function l(t){return t!==undefined}function c(t){return t===undefined}function d(t){return typeof t==="object"}function f(t){return typeof t==="function"}function h(t){return typeof t==="number"}function p(t){return j.isObject(t)&&t.window===t}function v(t){return Object.prototype.toString.call(t)==="[object Array]"}function g(t){if(t===null||j.isWindow(t)||j.isFunction(t)||j.isUndefined(t)){return false}var e=t.length;if(t.nodeType===i&&e){return true}return j.isString(t)||j.isArray(t)||e===0||typeof e==="number"&&e>0&&e-1 in t}function m(t){return typeof t==="string"}function y(t){return j.isString(t)&&t.length===0}function A(t){return j.isString(t)&&t.length!==0}function _(t){return Array.prototype.slice.call(t)}function k(t,e,n){var i,r;if(t){if(f(t)){for(i in t){if(i!=="prototype"&&i!=="length"&&i!=="name"&&(!t.hasOwnProperty||t.hasOwnProperty(i))){e.call(n,t[i],i,t)}}}else if(v(t)){var a=typeof t!=="object";for(i=0,r=t.length;i =e){n=i;t.apply(this,arguments)}}}function U(t,e){var n;return function(){if(n){clearTimeout(n)}n=setTimeout(function(){t.apply(this,arguments);n=undefined},e)}}function L(t,e,n){var i=e(t);for(var r=0;r 0}return t.getElementsByTagNameNS(i,"parsererror").length>0}catch(r){}}};r.parseText=function s(t){if(/^\s*$/.test(t)){return null}if(/^(?:true|false)$/i.test(t)){return t.toLowerCase()==="true"}if(isFinite(t)){return parseFloat(t)}if(i.isISO8601(t)){return new Date(t)}return t.trim()};r.JXONTree=function o(t){var e=r.parseText;if(t.documentElement){return new r.JXONTree(t.documentElement)}if(t.hasChildNodes()){var n="";for(var a,s,o,u=0;u 0:t.hasAttributes();if(l){var c;for(var d=0;d /g,">").replace(/"/g,""").replace(/'/g,"'")};r.decode=function f(t){return t.replace(/'/g,"'").replace(/"/g,'"').replace(/>/g,">").replace(/#um_ultimedia_wrapper_wrap_widget_default{}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_title_widget{background-color:#F4F1ED;padding:5px;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_title_widget #um_ultimedia_wrapper_marquee_wrap #um_ultimedia_wrapper_marquee{font:18px arial;color:#B71318;text-transform:none}#um_ultimedia_wrapper_wrap_widget_default .um_ultimedia_wrapper_videoWrapper {max-width:570px;position: relative;height:321px;overflow:hidden;}#um_ultimedia_wrapper_wrap_widget_default .um_ultimedia_wrapper_videoWrapper #um_ultimedia_wrapper_iframeUltimedia, #um_ultimedia_wrapper_wrap_widget_default .um_ultimedia_wrapper_videoWrapper #um_ultimedia_wrapper_iframeUltimedia_wrapper {position: absolute !important;top: 0;left: 0;width: 100% !important;height: 100% !important;}#um_ultimedia_wrapper_wrap_widget_default .um_ultimedia_wrapper_videoWrapper div#um_ultimedia_wrapper_iframeUltimedia {cursor:pointer;}#um_ultimedia_wrapper_wrap_widget_default .um_ultimedia_wrapper_videoWrapper div#um_ultimedia_wrapper_iframeUltimedia #um_ultimedia_wrapper_iframeUltimedia_preview{width:100%; height:100%;max-width:570px; background:#000;text-align:center;}#um_ultimedia_wrapper_wrap_widget_default .um_ultimedia_wrapper_videoWrapper div#um_ultimedia_wrapper_iframeUltimedia #um_ultimedia_wrapper_iframeUltimedia_preview img{display:inline;}#um_ultimedia_wrapper_wrap_widget_default .um_ultimedia_wrapper_videoWrapper div#um_ultimedia_wrapper_iframeUltimedia #um_ultimedia_wrapper_iframeUltimedia_span{ background:transparent url("https://www.ultimedia.com/img/deliver/layer_ultimedia.png") no-repeat center center; width:100%; height:100%; position:absolute; top:0px;left:0px;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia{background-color:#fff;position:relative;overflow:hidden;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia{margin:0;padding:0;list-style: none;position:relative;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb{color: #fff;float:left;-webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb{position:relative; display:block; cursor:pointer; border:0; padding:0; background:transparent; outline-color:transparent !important; width:100%; height:100%; text-align:left; text-transform:none;white-space:normal;text-decoration:none;overflow:hidden;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb::-moz-focus-inner, #um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb:active { border: 0; padding: 0; box-shadow:none;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb.um_ultimedia_wrapper_last_item .um_ultimedia_wrapper_link_videoThumb{margin:0;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb .um_ultimedia_wrapper_layer{position:absolute;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_layer_picto{left:0;z-index:10;background:transparent url("https://www.ultimedia.com/img/widget/sprit_6.png") no-repeat center 0;width: 100%;height: 25px;opacity:0.7;top:35%;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb .um_ultimedia_wrapper_bc{left:5px;top:5px;z-index:11;background:transparent url("https://www.ultimedia.com/img/widget/sprit_10.png") no-repeat center -385px;padding-left:15px;height:15px;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb .um_ultimedia_wrapper_bc_label{top:5px;z-index:10;color:#fff;font:italic 11px arial;text-shadow:0px 1px 1px rgba(0,0,0,1);}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb .um_ultimedia_wrapper_layer_titre, #um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb .um_ultimedia_wrapper_layer_date{opacity: 0.70;background-color:#000;color:#fff;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_active .um_ultimedia_wrapper_link_videoThumb .um_ultimedia_wrapper_layer_titre,#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_active .um_ultimedia_wrapper_link_videoThumb .um_ultimedia_wrapper_layer_date{display:none;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb:hover .um_ultimedia_wrapper_layer_titre, #um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb:hover .um_ultimedia_wrapper_layer_date{opacity: 1;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb .um_ultimedia_wrapper_layer_titre{-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;width:100%;padding:2px 3px;bottom:0;left:0;font:bold 11px/13px arial;z-index:10;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb .um_ultimedia_wrapper_layer_date{padding:1px 3px;top:0;right:0;font:bold 10px arial;z-index:10;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb .um_ultimedia_wrapper_layer_titre .um_ultimedia_wrapper_wrap_clamp{position:relative; line-height:1.4em; height:2.8em; max-width: 100% !important; overflow: hidden; padding: 0; font-family: "Economica",arial;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb #um_ultimedia_wrapper_layer_active {text-align:center;width:100%;z-index:10;background:transparent url("https://www.ultimedia.com/img/widget/sprit_10.png") no-repeat center -50px;padding-top:18px;color:#fff;font:bold 10px arial;top:35%;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb #um_ultimedia_wrapper_bg_layer_active{width: 100%;height :100%;background-color: #000; opacity: 0.45;z-index:5;top:0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=45)";filter: alpha(opacity=45);}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_link_videoThumb .um_ultimedia_wrapper_vignette{max-width: 100%;height: auto !important;vertical-align: middle;border: 0;display: block;filter: brightness(120%) saturate(130%) contrast(90%);-webkit-filter: brightness(120%) saturate(130%) contrast(90%);-moz-filter: brightness(120%) saturate(130%) contrast(90%);-o-filter: brightness(120%) saturate(130%) contrast(90%);-ms-filter: brightness(120%) saturate(130%) contrast(90%);}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia .um_ultimedia_wrapper_btn{color:#fff;position:absolute;background-image:url("https://www.ultimedia.com/img/widget/sprit_10.png");background-repeat:no-repeat;background-color:#000; z-index: 12;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia .um_ultimedia_wrapper_btn.um_ultimedia_wrapper_active{display:block;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia .um_ultimedia_wrapper_btn:hover{opacity:1;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia .um_ultimedia_wrapper_prev{display:none;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia .um_ultimedia_wrapper_next, #um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia .um_ultimedia_wrapper_next:hover{opacity:0.3;cursor:default;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia .um_ultimedia_wrapper_prev, #um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia .um_ultimedia_wrapper_next.um_ultimedia_wrapper_active{opacity:0.8;cursor:pointer;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia .um_ultimedia_wrapper_next.um_ultimedia_wrapper_active:hover{opacity:1;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_footer_widget{color:#f09; text-align:left}#um_ultimedia_wrapper_wrap_widget_default .um_ultimedia_wrapper_clear{clear: both;height: 0; overflow: hidden;}#um_ultimedia_wrapper_wrap_widget_default .um_ultimedia_wrapper_displayRwd{display:block;}#um_ultimedia_wrapper_wrap_widget_default .um_ultimedia_wrapper_videoWrapper{float:left;width:100%;text-align:left;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia{max-width:118px;height:321px;padding-left:2px;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia{height:20000em;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb{margin:0 0 3px;width:118px;height:88.5px;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia .um_ultimedia_wrapper_btn{height:25px;border-top:1px solid #000;left:0;width:100%;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia .um_ultimedia_wrapper_prev{top:0;background-position:center -252px;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia .um_ultimedia_wrapper_next{bottom:0;background-position:center -282px;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_footer_widget{font:normal 11px Century Gothic;color: #b38a0c ;text-align:right;clear:both;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_footer_widget a{font:normal 11px Century Gothic;color:#b38a0c;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_footer_widget a:hover{color:#b38a0c;text-decoration:none;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_title_widget{background-color:#b38a0c;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_title_widget #um_ultimedia_wrapper_marquee_wrap #um_ultimedia_wrapper_marquee{ font:bold 18px Century Gothic; color: #b38a0c;}#um_ultimedia_wrapper_list_ultimedia{background-color: #b38a0c;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_title_widget #um_ultimedia_wrapper_marquee_wrap{position:relative;overflow:hidden;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_title_widget #um_ultimedia_wrapper_marquee_wrap #um_ultimedia_wrapper_marquee {white-space : nowrap;padding-left:3px;}#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_list_ultimedia #um_ultimedia_wrapper_carousel_ultimedia .um_ultimedia_wrapper_videoThumb .um_ultimedia_wrapper_bc_label{display:none;opacity:0;left:-51px;}@media screen and (max-width: 385px) { #um_ultimedia_wrapper_wrap_widget_default .um_ultimedia_wrapper_displayRwd{display:none;} #um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_title_widget #um_ultimedia_wrapper_marquee_wrap #um_ultimedia_wrapper_marquee{font-size:80%;} #um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_pagination{display:block;} #um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_pagination a{background: none repeat scroll 0 0 #fff;border-radius: 10px;box-shadow: 0 0 2px #4e443c;color: #4e443c;display: inline-block;font-size: 11px;height: 10px;line-height: 10px;margin-right: 7px;text-decoration: none;text-indent: -9999px;width: 10px;} #um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_pagination a.um_ultimedia_wrapper_active{background: none repeat scroll 0 0 #4e443c;box-shadow: 0 0 2px #f0efe7;color: #fff;opacity: 1;}}@media screen and (max-width: 480px) {#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_title_widget #um_ultimedia_wrapper_marquee_wrap #um_ultimedia_wrapper_marquee{font-size:90%;}}@media screen and (max-width: 320px) {#um_ultimedia_wrapper_wrap_widget_default #um_ultimedia_wrapper_title_widget #um_ultimedia_wrapper_marquee_wrap #um_ultimedia_wrapper_marquee{font-size:75%;}}
31 de agosto de 2018
31.08.2018
Casual Daypack 6G7 Multicoloured Multicoloured 1620N TOTTO MA04ECO021 Daypack TOTTO Multicolour 6G7 Casual ZgIOqxO
Back for Credit Galaxy Slim Protective Samsung Phone Cover Khaki Holder Case Plus S8 S8 Wallet with Case Card PU Leather

Galaxy for Credit S8 Card Plus Leather Wallet Samsung Cover Phone S8 Protective Case Slim Khaki Case Back Holder PU with I1q44xwB

Salimos a la calle a preguntar y estas son las reacciones que nos hemos encontrado

31.08.2018 | 18:42
¿Qué opinan los asturianos sobre la posible desaparición del cambio de hora?

La Comisión Europea va a plantear la supresión del cambio de hora en todo el territorio de la Unión Europea. Una proposición que deberá ser aprobada por la Eurocámara y los Estados que son miembro.

Ante la posibilidad de implantación de esta medida, hemos querido saber qué opinión les merece los asturianos la posibilidad de que se mantenga constante el horario de verano.

S8 Leather Plus Galaxy Wallet Back Case S8 Holder with Cover Case for Samsung Card Slim Credit PU Khaki Protective Phone
with Case Slim Back Case Cover Samsung Phone Galaxy Card for Leather Holder S8 Protective Wallet PU Khaki Plus S8 Credit

Asturias

Mirada vaqueira desde Brañaseca

La braña y pueblo del concejo de Cudillero cuenta con una extraordinaria vista de la costa, en...

La Reina Letizia inaugura el curso el día 12 en el colegio Baudilio Arce de Oviedo

Educación mantiene el acto del 10 de septiembre en San Juan de Beleño y la Universidad solapará el...

La falta de rutas aéreas internacionales, "culpa del Ejecutivo", según la oposición

El PP critica que el Principado favorezca el monopolio del grupo de Iberia y Podemos y Foro piden...

PU Messenger Bag Women Shoulder Casual Bag Black Handbag Everpert Pure Leather Flap gqIEvHgw