var jsVersionPreventCache = "ci-426-e9914d7"; var pgInit = {}; pgInit.vars = { promotions: '[{"id":"56","title":"R\u00c9SERVATIONS DIRECTES - MEILLEUR TARIF - 15% de r\u00e9duction","description":"S\u00e9jour minimum de 3 nuits et annulation flexible","linkLabel":"Cliquez ici pour plus de d\u00e9tails","link":"10","bookBtn":"https:\/\/book.estreladaluz.com\/?gc=35a59f7ee77678dd4949e70f5cc990ef&l=fr&nrNights=3&preselect=promo72&startDay=2026-11-13","image":"https:\/\/secure.guestcentric.net\/bin\/415febd351791f3c\/thumb-direct-booking-edl-1220-x-7201.jpg"},{"id":"61","title":"H\u00e9bergement Seul - Offre Hiver","description":"Du 30\/11\/2024 au 30\/01\/2025 - R\u00e9servez d\u00e8s maintenant et commencez \u00e0 \u00e9conomiser","linkLabel":"Cliquez ici pour plus de d\u00e9tails","link":"10","bookBtn":"https:\/\/book.estreladaluz.com\/?gc=35a59f7ee77678dd4949e70f5cc990ef&l=fr&nrNights=3&preselect=promo89&startDay=2026-11-30","image":"https:\/\/secure.guestcentric.net\/bin\/415febd351791f3c\/thumb-piscina-interior-7--1.webp"},{"id":"71","title":"H\u00e9bergement uniquement - Tarif non remboursable","description":"H\u00e9bergement uniquement - Tarif non remboursable","linkLabel":"Cliquez ici pour plus de d\u00e9tails","link":"10","bookBtn":"https:\/\/book.estreladaluz.com\/?gc=35a59f7ee77678dd4949e70f5cc990ef&l=fr&nrNights=3&preselect=promo99&startDay=2026-11-30","image":"https:\/\/secure.guestcentric.net\/bin\/415febd351791f3c\/thumb-edl2-1.webp"},{"id":"66","title":"Tarif non remboursable - 20% de r\u00e9duction","description":"S\u00e9jour minimum 2 nuits","linkLabel":"Cliquez ici pour plus de d\u00e9tails","link":"10","bookBtn":"https:\/\/book.estreladaluz.com\/?gc=35a59f7ee77678dd4949e70f5cc990ef&l=fr&nrNights=3&preselect=promo94&startDay=2026-11-15","image":"https:\/\/secure.guestcentric.net\/bin\/415febd351791f3c\/thumb-1edl-exteriores-9--3.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()})}}();