{{terminalErrorHeading}}

An error has occurred

window.setTimeout(function(){ var scope = angular.element('#default-error-screen').scope(); var t = scope.terms.map(function(e){return e.termId}) if( t.indexOf("TMDFRDUDVXOR")> -1 || t.indexOf("TM689GF867ME")> -1 || // Cyber Monday 2021 t.indexOf("TMC71OEC2A64")> -1 ){ $(".angular-terminal-error").hide(); $(".js-terminal-error").show(); $(".angular-terminal-error-heading").text("Lamentamos mas esta oferta é exclusiva a utilizadores que não tiveram, no passado, uma assinatura Observador") } },1)

{{terminalError}}

window.onmessage = function(e){ if (e.data == 'closeMessage') { console.log("clicked close button"); document.getElementById('close').click(); } }; setTimeout(function(){ var diaMes = new Date().toISOString().split("T")[0]; var d = DaysBetween(new Date(diaMes), new Date("2019-10-15")); var markup = ""; if(d <= 3) { if (d == 1) { markup = "Aproveite. Último dia."; } else if (d > 1 ) { markup = "Aproveite. Últimos " + d + " dias."; } else if (d == 0) { markup = "Aproveite. Últimas horas."; } document.getElementById("campaign-period").remove(); document.getElementById("days").innerHTML = markup; } }, 1); function DaysBetween( date1, date2 ) { //Get 1 day in milliseconds var one_day=1000*60*60*24; // Convert both dates to milliseconds var date1_ms = date1.getTime(); var date2_ms = date2.getTime(); // Calculate the difference in milliseconds var difference_ms = (date2_ms + (1000*60*60*9)) - date1_ms; // Convert back to days and return return Math.round(difference_ms/one_day); }
Informação para que ninguém decida por si. Seja /premium
{{term.billingPlanTable[0].priceValue}}€
/SEMANA
/1º ANO
/1º MÊS *
/3º MÊS
{{term.billingPlanTable[0].priceValue}}€
/ANO
/MÊS
/SEMANA
Promoção legislativas