var jsVersionPreventCache = "ci-222-e9914d7"; var pgInit = {}; pgInit.vars = { promotions: '[{"id":"70","title":"Aventure-se numa escapadinha perfeita","description":"Explore as redondezas do Hotel Vale do Rio e respire natureza!","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.valedorio.pt\/?gc=c5a012b76b30ebe9f163269ddf126c3d&l=pt&nrNights=2&preselect=promo80&startDay=2026-01-20","image":"https:\/\/secure.guestcentric.net\/bin\/46e97dc34395ae8b\/thumb-btt-1.jpg"},{"id":"53","title":"Escapadinha de luxo de 2 dias","description":"Escapadinha de luxo de 2 dias","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.valedorio.pt\/?gc=c5a012b76b30ebe9f163269ddf126c3d&l=pt&nrNights=2&preselect=promo62&startDay=2025-09-26","image":"https:\/\/secure.guestcentric.net\/bin\/46e97dc34395ae8b\/thumb-1-1--1.webp"},{"id":"57","title":"Momentos a dois","description":"Momentos a dois","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.valedorio.pt\/?gc=c5a012b76b30ebe9f163269ddf126c3d&l=pt&nrNights=2&preselect=promo66&startDay=2025-09-26","image":"https:\/\/secure.guestcentric.net\/bin\/46e97dc34395ae8b\/thumb-dsc00127_8_9hdr-22.jpg"},{"id":"38","title":"O Passeio e o Picnic!","description":"O vinho melhora com o tempo, eu melhoro com um picnic contigo","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.valedorio.pt\/?gc=c5a012b76b30ebe9f163269ddf126c3d&l=pt&nrNights=2&preselect=promo45&startDay=2026-01-09","image":"https:\/\/secure.guestcentric.net\/bin\/46e97dc34395ae8b\/thumb-dsc035941.jpg"},{"id":"69","title":"Para sempre apaixonados","description":"Celebre o dia de anivers\u00e1rio connosco!","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.valedorio.pt\/?gc=c5a012b76b30ebe9f163269ddf126c3d&l=pt&nrNights=2&preselect=promo79&startDay=2025-09-26","image":"https:\/\/secure.guestcentric.net\/bin\/46e97dc34395ae8b\/thumb-aniversariocasal_hvr-1.webp"},{"id":"80","title":"Passagem de Ano 26\/27 Pack 1 noite ","description":"Feliz 2027","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.valedorio.pt\/?gc=c5a012b76b30ebe9f163269ddf126c3d&l=pt&nrNights=2&preselect=promo90&startDay=2026-12-31","image":"https:\/\/secure.guestcentric.net\/bin\/46e97dc34395ae8b\/thumb-reveillon26_27_site_pack1-1.webp"},{"id":"81","title":"Passagem de Ano 26\/27 Pack 2 noites","description":"Feliz 2027","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.valedorio.pt\/?gc=c5a012b76b30ebe9f163269ddf126c3d&l=pt&nrNights=2&preselect=promo91&startDay=2026-12-30","image":"https:\/\/secure.guestcentric.net\/bin\/46e97dc34395ae8b\/thumb-reveillon26_27_site_pack2-2.webp"},{"id":"82","title":"Passagem de Ano 26\/27 Pack 3 noites","description":"Feliz 2027","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.valedorio.pt\/?gc=c5a012b76b30ebe9f163269ddf126c3d&l=pt&nrNights=3&preselect=promo92&startDay=2026-12-29","image":"https:\/\/secure.guestcentric.net\/bin\/46e97dc34395ae8b\/thumb-reveillon26_27_site_pack3-1.webp"},{"id":"83","title":"Passagem de Ano 26\/27 Pack 4 noites","description":"Feliz 2026","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.valedorio.pt\/?gc=c5a012b76b30ebe9f163269ddf126c3d&l=pt&nrNights=4&preselect=promo93&startDay=2026-12-28","image":"https:\/\/secure.guestcentric.net\/bin\/46e97dc34395ae8b\/thumb-reveillon26_27_site_pack4-1.webp"},{"id":"42","title":"Tarifa n\u00e3o Reembols\u00e1vel ","description":"As suas f\u00e9rias garantidas","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.valedorio.pt\/?gc=c5a012b76b30ebe9f163269ddf126c3d&l=pt&nrNights=2&preselect=promo49&startDay=1970-01-01","image":"https:\/\/secure.guestcentric.net\/bin\/46e97dc34395ae8b\/thumb-website_piscina-1.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()})}}();