var jsVersionPreventCache = "ci-218-e9914d7"; var pgInit = {}; pgInit.vars = { promotions: '[{"id":"59","title":"Early Escape","description":"R\u00e9servez \u00e0 l'avance et b\u00e9n\u00e9ficiez de conditions exclusives.","linkLabel":"Cliquez ici pour plus de d\u00e9tails","link":"10","bookBtn":"https:\/\/book.vilafozhotel.pt\/?gc=1230aa806872ecafcd735da052607aed&l=fr&nrNights=1&preselect=promo75&startDay=1970-01-01","image":"https:\/\/secure.guestcentric.net\/bin\/f4ec76ba9ef9d1f5\/thumb-vila-foz-8484-1.webp"},{"id":"26","title":"S\u00e9jour du Nouvel An avec d\u00eener \u00e9toil\u00e9 MICHELIN","description":"Accueillez 2027 avec une exp\u00e9rience gastronomique sp\u00e9ciale.","linkLabel":"Cliquez ici pour plus de d\u00e9tails","link":"10","bookBtn":"https:\/\/book.vilafozhotel.pt\/?gc=1230aa806872ecafcd735da052607aed&l=fr&nrNights=2&preselect=promo37&startDay=2026-12-30","image":"https:\/\/secure.guestcentric.net\/bin\/f4ec76ba9ef9d1f5\/thumb-frame-3-1.webp"},{"id":"56","title":"S\u00e9jour du Nouvel An avec d\u00eener au Flor de Lis","description":"C\u00e9l\u00e9brez l\u2019arriv\u00e9e de 2027 en bord de mer.","linkLabel":"Cliquez ici pour plus de d\u00e9tails","link":"10","bookBtn":"https:\/\/book.vilafozhotel.pt\/?gc=1230aa806872ecafcd735da052607aed&l=fr&nrNights=2&preselect=promo72&startDay=2026-12-30","image":"https:\/\/secure.guestcentric.net\/bin\/f4ec76ba9ef9d1f5\/thumb-frame-5-1.webp"},{"id":"45","title":"S\u00e9jour de No\u00ebl avec r\u00e9veillon au Flor de Lis","description":"C\u00e9l\u00e9brez No\u00ebl en bord de mer, avec un s\u00e9jour sp\u00e9cial et une soir\u00e9e \u00e0 la table du Flor de Lis.","linkLabel":"Cliquez ici pour plus de d\u00e9tails","link":"10","bookBtn":"https:\/\/book.vilafozhotel.pt\/?gc=1230aa806872ecafcd735da052607aed&l=fr&nrNights=2&preselect=promo59&startDay=2026-12-23","image":"https:\/\/secure.guestcentric.net\/bin\/f4ec76ba9ef9d1f5\/thumb-frame-2-1.webp"},{"id":"55","title":"S\u00e9jour de No\u00ebl avec d\u00eener \u00e9toil\u00e9 MICHELIN","description":"C\u00e9l\u00e9brez No\u00ebl en bord de mer avec une exp\u00e9rience gastronomique d\u2019exception.","linkLabel":"Cliquez ici pour plus de d\u00e9tails","link":"10","bookBtn":"https:\/\/book.vilafozhotel.pt\/?gc=1230aa806872ecafcd735da052607aed&l=fr&nrNights=2&preselect=promo71&startDay=2026-12-23","image":"https:\/\/secure.guestcentric.net\/bin\/f4ec76ba9ef9d1f5\/thumb-frame-4-1.webp"},{"id":"27","title":"In-Suite Dining Experience","description":"Accordez-vous un moment de d\u00e9tente \u00e0 deux.","linkLabel":"Cliquez ici pour plus de d\u00e9tails","link":"10","bookBtn":"https:\/\/book.vilafozhotel.pt\/?gc=1230aa806872ecafcd735da052607aed&l=fr&nrNights=1&preselect=promo38&startDay=2026-01-01","image":"https:\/\/secure.guestcentric.net\/bin\/f4ec76ba9ef9d1f5\/thumb-20260402_cartavilafoz_lr-37-1.webp"},{"id":"23","title":"Porto by Boat","description":"D\u00e9couvrez la magie de la ville de Porto sous un nouvel angle.","linkLabel":"Cliquez ici pour plus de d\u00e9tails","link":"10","bookBtn":"https:\/\/book.vilafozhotel.pt\/?gc=1230aa806872ecafcd735da052607aed&l=fr&nrNights=2&preselect=promo34&startDay=2026-01-01","image":"https:\/\/secure.guestcentric.net\/bin\/f4ec76ba9ef9d1f5\/thumb-yacht-1-co-pia-1.jpg"},{"id":"40","title":"Spa Escape","description":"Trois nuits d\u00e9di\u00e9es \u00e0 la d\u00e9tente, au bien-\u00eatre et \u00e0 des soins de spa sur mesure.","linkLabel":"Cliquez ici pour plus de d\u00e9tails","link":"10","bookBtn":"https:\/\/book.vilafozhotel.pt\/?gc=1230aa806872ecafcd735da052607aed&l=fr&nrNights=3&preselect=promo54&startDay=2026-10-28","image":"https:\/\/secure.guestcentric.net\/bin\/f4ec76ba9ef9d1f5\/thumb-vila_foz-1130698-10.webp"}]', displayTime: 10, transitionTime: 1.5, frameworkPath: 'https://secure.guestcentric.net/js/yui/build/', staticHost: "https:\/\/secure.guestcentric.net" }; !function(){"use strict";if(void 0!==window.pgInit&&pgInit.vars){var e={gadget:"promotionGadget",status:"waiting",start:function(){try{if(!pgInit)return;!function(){if(window.gcGa4ClientHandoff||document.getElementById("gc-ga4-client-handoff"))return;var e="undefined"!=typeof pgInit&&pgInit.vars&&pgInit.vars.staticHost||"undefined"!=typeof securePath&&securePath||"";if(!e)return;var t="undefined"!=typeof jsVersionPreventCache&&jsVersionPreventCache||"",i=document.createElement("script");i.id="gc-ga4-client-handoff",i.async=!0,i.src=e+"/js/gadgets/ga4ClientHandoff.min.js"+(t?"?v="+encodeURIComponent(t):""),document.head.appendChild(i)}(),t(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",i):i()}catch(e){return t(),!1}}};window.gcGadgetStack?"loaded"===gcGadgetStack[gcGadgetStack.length-1].status?(e.status="loading",gcGadgetStack.push(e),e.start()):gcGadgetStack.push(e):(e.status="loading",window.gcGadgetStack=[e],e.start()),window.vars=window.vars||[]}function t(){for(var e=0,t=gcGadgetStack.length;e1){for(i=Math.floor(Math.random()*e.length);i===r.oldPromotionIndex;)i=Math.floor(Math.random()*e.length);r.oldPromotionIndex=i}return e[i]},this.openPromotion=function(){var e=r.link+"&url="+encodeURIComponent(window.location.toString()),t=window.self!==window.top,i=t?window.open("","_blank"):null;if(!t||i){!function(e,t){window.gcGa4ClientHandoff?window.gcGa4ClientHandoff.navigate(e,t):t(e)}(e,function(e){if(i)try{i.location=e}catch(t){window.open(e,"_blank")}else window.open(e,"_self")})}else window.open(e,"_blank")},this.build()}function o(e,t,i,n,o){if(n<=0)return e.style.opacity=String(i),void(o&&o());var a=null;requestAnimationFrame(function r(d){null===a&&(a=d);var s=(d-a)/n;s>1&&(s=1);var l=function(e){var t=1-e;return 1-t*t*t}(s),c=t+(i-t)*l;e.style.opacity=String(c),s<1?requestAnimationFrame(r):o&&o()})}}();