if(typeof document<"u"&&typeof window<"u"){Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(this==null)throw new TypeError('"this" is null or not defined');var u=Object(this),a=u.length>>>0;if(typeof t!="function")throw new TypeError("predicate must be a function");for(var r=arguments[1],i=0;i>>0;if(r===0)return!1;var i=u|0,e=Math.max(i>=0?i:r-Math.abs(i),0);function o(l,n){return l===n||typeof l=="number"&&typeof n=="number"&&isNaN(l)&&isNaN(n)}for(;e0?1:-1)*Math.floor(Math.abs(o))},r=Math.pow(2,53)-1,i=function(e){var o=a(e);return Math.min(Math.max(o,0),r)};return function(o){var l=this,n=Object(o);if(o==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");var f=arguments.length>1?arguments[1]:void 0,s;if(typeof f<"u"){if(!u(f))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(s=arguments[2])}for(var p=i(n.length),m=u(l)?Object(new l(p)):new Array(p),v=0,b;v"u"?f(b,v):f.call(s,b,v):m[v]=b,v+=1;return m.length=p,m}}()),Array.prototype.forEach||(Array.prototype.forEach=function(t){var u,a;if(this==null)throw new TypeError("this is null or not defined");var r=Object(this),i=r.length>>>0;if(typeof t!="function")throw new TypeError(t+" is not a function");for(arguments.length>1&&(u=arguments[1]),a=0;a1?arguments[1]:void 0,f=n?Number(n):0;f!==f&&(f=0);var s=Math.min(Math.max(f,0),e);if(l+s>e)return!1;for(var p=-1;++pt.name==="data-lang"),A=N?N.value:void 0;let _=`https://platform.revolugo.com/${A&&["en","fr"].includes(A)?`${A}/`:""}hotels?embedded=true`;"fise-xperience-series-anglet-2019".length&&y.setAttribute("data-wid","fise-xperience-series-anglet-2019");const j=y.attributes["data-wid"]&&y.attributes["data-wid"].value;j&&y.setAttribute("data-wid",j),Array.from(y.attributes).forEach(t=>{switch(t.name){case"data-height":T+=`height: ${t.value};`;break;default:t.name.startsWith("data-")&&(_+=`&${t.name.replace("data-","")}=${t.value}`)}}),h.setAttribute("style",T),h.setAttribute("src",encodeURI(_));let w=document.getElementById("revolugo-widget");if(!w){const t=document.getElementsByTagName("script");for(var O=0;O-1&&(w=t[O])}if(w){const t=w.parentNode;t.appendChild(h),t.removeChild(w)}}