var jsVersionPreventCache = "ci-334-e9914d7"; var pgInit = {}; pgInit.vars = { promotions: '[{"id":"59","title":"Gourmet Stay","description":"1 night stay with Chef's Tasting Dinner + Breakfast","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=1&preselect=promo70&startDay=2026-11-02","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-banner-8-1.webp"},{"id":"100","title":"Natal Perfeito - 1 Noite","description":"Neste Natal, viva a magia na Noite de Natal","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=1&preselect=promo111&startDay=2026-12-24","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-natal-perfeito-no-hotel-palace-2--1.webp"},{"id":"101","title":"Natal Perfeito - 2 Noites","description":"Neste Natal, viva a magia em 2 noites - Tudo Inclu\u00eddo","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=2&preselect=promo112&startDay=2026-12-23","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-natal-perfeito-no-hotel-palace-2--2.webp"},{"id":"99","title":"Natal Perfeito - 3 Noites","description":"Neste Natal, viva a magia em 3 noites - Tudo Inclu\u00eddo","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=3&preselect=promo110&startDay=2026-12-22","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-natal-perfeito-no-hotel-palace-2--3.webp"},{"id":"90","title":"Pack 1 Noite Fins de Semana Perfeitos","description":"Um fim de semana extraordin\u00e1rio, pensado ao mais \u00ednfimo detalhe.","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=1&preselect=promo101&startDay=2026-10-09","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-golden-hour-storytellers-palace-2-2.webp"},{"id":"91","title":"Pack 2 Noites Fins de Semana Perfeitos","description":"Um fim de semana extraordin\u00e1rio, pensado ao mais \u00ednfimo detalhe.","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=2&preselect=promo102&startDay=2026-10-09","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-perfect-weekend-at-storytellers-palace-1.webp"},{"id":"2","title":"Early booking","description":"Book now and get 15% off","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=1&preselect=promo13&startDay=2026-12-02","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-img_0214aa-1.webp"},{"id":"49","title":"New Year's Eve 2025 - 2 Nights City View","description":"New Year with Luxury and Spectacular in the most stunning bay with Fireworks","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=2&preselect=promo60&startDay=2026-12-30","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-2noites-classic-1.webp"},{"id":"93","title":"Reveillon 2026\/27 - 2 Noites Suite Duplex","description":"Tudo inclu\u00eddo para um Novo Ano em grande estilo na ba\u00eda mais bonita do mundo","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=2&preselect=promo104&startDay=2026-12-30","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-2noites-presi-1.webp"},{"id":"94","title":"Reveillon 2026\/27 - 2 Noites Superior","description":"Tudo inclu\u00eddo para um Novo Ano em grande estilo na ba\u00eda mais bonita do mundo","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=2&preselect=promo105&startDay=2026-12-30","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-2noites-superior-1.webp"},{"id":"92","title":"Reveillon 2026\/27 - 2 Noites Vista Mar","description":"Tudo inclu\u00eddo para um Novo Ano em grande estilo na ba\u00eda mais bonita do mundo","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=2&preselect=promo103&startDay=2026-12-30","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-2noites-vista-mar-1.webp"},{"id":"95","title":"Reveillon 2026\/27 - 3 Noites Classic","description":"Tudo inclu\u00eddo para um Novo Ano em grande estilo na ba\u00eda mais bonita do mundo","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=3&preselect=promo106&startDay=2026-12-30","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-3noites-classic-1.webp"},{"id":"98","title":"Reveillon 2026\/27 - 3 Noites Suite Duplex","description":"Tudo inclu\u00eddo para um Novo Ano em grande estilo na ba\u00eda mais bonita do mundo","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=3&preselect=promo109&startDay=2026-12-30","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-3noites-presi-1.webp"},{"id":"96","title":"Reveillon 2026\/27 - 3 Noites Superior","description":"Tudo inclu\u00eddo para um Novo Ano em grande estilo na ba\u00eda mais bonita do mundo","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=3&preselect=promo107&startDay=2026-12-30","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-3-noites-superior-1.webp"},{"id":"97","title":"Reveillon 2026\/27 - 3 Noites Vista Mar","description":"Tudo inclu\u00eddo para um Novo Ano em grande estilo na ba\u00eda mais bonita do mundo","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=3&preselect=promo108&startDay=2026-12-30","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-3noites-vista-mar-1.webp"},{"id":"88","title":"Standard Rate - Ver\u00e3o 2027","description":"A sua estadia de Ver\u00e3o num local cheio de charme e glamour com Pequeno-Almo\u00e7o Incluido","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.storytellerspalace.com\/?gc=fc952df9aaee336aeae2b27762705e78&l=en&nrNights=1&preselect=promo99&startDay=2027-07-01","image":"https:\/\/secure.guestcentric.net\/bin\/dc1a3bea58fed1b9\/thumb-tariga-2.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()})}}();