1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[330],{29792:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...slug]",function(){return r(721)}])},90614:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSG:function(){return b}});var t=r(85893),a=r(20239),o=r(9491),i=r(39601),s=r(41664),c=r.n(s),l=r(23625),u=r.n(l),d=r(67294),h=r(11163),f=r(36899),b=!0;n.default=function(e){var n=e.footerData,r=e.headerData,s=(0,d.useState)(5),l=s[0],b=s[1],v=(0,h.useRouter)(),p=(v||{}).locale,m=void 0===p?"en":p;(0,d.useEffect)((function(){var e=setInterval((function(){l>0?b(l-1):(clearInterval(e),v.push("/"))}),1e3);return function(){return clearInterval(e)}}),[l,v]);var w=function(e){var n,r,t;return(null===f||void 0===f||null===(n=f[m])||void 0===n?void 0:n[e])?null===f||void 0===f||null===(r=f[m])||void 0===r?void 0:r[e]:null===f||void 0===f||null===(t=f.en)||void 0===t?void 0:t[e]};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Z,{headerData:r,languageSwitcherData:null,hideLanguage:!0}),(0,t.jsxs)("div",{className:u().errorContainer,children:[(0,t.jsx)(a.Z,{alt:w("alt"),jpgD:"".concat("https://cdn.beachcomber-hotels.com/v9","/assets/images/bg.jpg"),webpD:"".concat("https://cdn.beachcomber-hotels.com/v9","/assets/images/bg.webp"),width:"1900",height:"1200"}),(0,t.jsx)("div",{className:u().textContainer,children:(0,t.jsxs)("div",{className:u().texts,children:[(0,t.jsxs)("h1",{children:[w("error"),(0,t.jsx)("span",{children:w("code")})]}),(0,t.jsx)("h2",{children:w("message")}),(0,t.jsx)("p",{children:w("alternative")}),(0,t.jsx)("p",{children:(0,t.jsx)(c(),{href:"/",children:(0,t.jsx)("a",{children:w("link")})})}),(0,t.jsx)("p",{children:w("thanks")}),(0,t.jsxs)("p",{children:[w("redirection1")," ",l," ",w("redirection2")]})]})})]}),(0,t.jsx)(i.Z,{data:n})]})}},76478:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSG:function(){return b},default:function(){return v}});var t=r(85893),a=r(20239),o=r(9491),i=r(39601),s=r(41664),c=r.n(s),l=r(23625),u=r.n(l),d=r(67294),h=r(11163),f=JSON.parse('{"en":{"alt":"500 server side error","error":"error","code":"500","message":"Server-side error occured.","alternative":"Alternatively you can click on the following link to return to our website.","link":"www.beachcomber-hotels.com","thanks":"Thank you for visiting us.","redirection1":"This page will redirect in","redirection2":"seconds."},"fr":{"alt":"500 erreur serveur","error":"Erreur","code":"500","message":"Erreur serveur survenue.","alternative":"Alternativement, vous pouvez cliquer sur le lien en dessous pour retourner sur notre site.","link":"www.beachcomber-hotels.com","thanks":"Merci pour votre visite.","redirection1":"Cette page sera redirig\xe9e dans","redirection2":"secondes."},"de":{"alt":"","error":"","code":"","message":"","alternative":"","link":"www.beachcomber-hotels.com","thanks":"","redirection1":"","redirection2":""},"it":{"alt":"","error":"","code":"","message":"","alternative":"","link":"www.beachcomber-hotels.com","thanks":"","redirection1":"","redirection2":""},"pt":{"alt":"","error":"","code":"","message":"","alternative":"","link":"www.beachcomber-hotels.com","thanks":"","redirection1":"","redirection2":""},"es":{"alt":"","error":"","code":"","message":"","alternative":"","link":"www.beachcomber-hotels.com","thanks":"","redirection1":"","redirection2":""}}'),b=!0,v=function(e){var n=e.footerData,r=e.headerData,s=(0,d.useState)(5),l=s[0],b=s[1],v=(0,h.useRouter)(),p=(v||{}).locale,m=void 0===p?"en":p;(0,d.useEffect)((function(){var e=setInterval((function(){l>0?b(l-1):(clearInterval(e),v.push("/"))}),1e3);return function(){return clearInterval(e)}}),[l,v]);var w=function(e){var n,r,t;return(null===f||void 0===f||null===(n=f[m])||void 0===n?void 0:n[e])?null===f||void 0===f||null===(r=f[m])||void 0===r?void 0:r[e]:null===f||void 0===f||null===(t=f.en)||void 0===t?void 0:t[e]};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Z,{headerData:r,languageSwitcherData:null,hideLanguage:!0}),(0,t.jsxs)("div",{className:u().errorContainer,children:[(0,t.jsx)(a.Z,{alt:w("alt"),jpgD:"".concat("https://cdn.beachcomber-hotels.com/v9","/assets/images/bg.jpg"),webpD:"".concat("https://cdn.beachcomber-hotels.com/v9","/assets/images/bg.webp"),width:"1900",height:"1200"}),(0,t.jsx)("div",{className:u().textContainer,children:(0,t.jsxs)("div",{className:u().texts,children:[(0,t.jsxs)("h1",{children:[w("error"),(0,t.jsx)("span",{children:w("code")})]}),(0,t.jsx)("h2",{children:w("message")}),(0,t.jsx)("p",{children:w("alternative")}
1),(0,t.jsx)("p",{children:(0,t.jsx)(c(),{href:"/",children:(0,t.jsx)("a",{children:w("link")})})}),(0,t.jsx)("p",{children:w("thanks")}),(0,t.jsxs)("p",{children:[w("redirection1")," ",l," ",w("redirection2")]})]})})]}),(0,t.jsx)(i.Z,{data:n})]})}},721:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSP:function(){return L}});var t=r(85893),a=r(64984),o=r(5152),i=r.n(o),s=r(11163),c=r(67294),l=r(90614),u=r(76478),d=r(98806);function h(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function f(){return f=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},f.apply(this,arguments)}function b(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},t=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),t.forEach((function(n){h(e,n,r[n])}))}return e}var v=i()((function(){return Promise.all([r.e(6066),r.e(7126),r.e(7433),r.e(5489)]).then(r.bind(r,89993))}),{loadableGenerated:{webpack:function(){return[89993]}}}),p=i()((function(){return Promise.all([r.e(7126),r.e(8593)]).then(r.bind(r,8593))}),{loadableGenerated:{webpack:function(){return[8593]}}}),m=i()((function(){return Promise.all([r.e(7126),r.e(3207)]).then(r.bind(r,33207))}),{loadableGenerated:{webpack:function(){return[33207]}}}),w=i()((function(){return r.e(7528).then(r.bind(r,7528))}),{loadableGenerated:{webpack:function(){return[7528]}}}),g=i()((function(){return Promise.all([r.e(7126),r.e(6933)]).then(r.bind(r,96933))}),{loadableGenerated:{webpack:function(){return[96933]}}}),x=i()((function(){return Promise.all([r.e(7126),r.e(7906)]).then(r.bind(r,37906))}),{loadableGenerated:{webpack:function(){return[37906]}}}),j=i()((function(){return Promise.all([r.e(7126),r.e(930)]).then(r.bind(r,930))}),{loadableGenerated:{webpack:function(){return[930]}}}),k=i()((function(){return r.e(9630).then(r.bind(r,9630))}),{loadableGenerated:{webpack:function(){return[9630]}}}),_=i()((function(){return Promise.all([r.e(7126),r.e(1281)]).then(r.bind(r,1281))}),{loadableGenerated:{webpack:function(){return[1281]}}}),P=i()((function(){return Promise.all([r.e(7126),r.e(4261)]).then(r.bind(r,84261))}),{loadableGenerated:{webpack:function(){return[84261]}}}),y=i()((function(){return r.e(3245).then(r.bind(r,63245))}),{loadableGenerated:{webpack:function(){return[63245]}}}),C=i()((function(){return Promise.all([r.e(7126),r.e(1321)]).then(r.bind(r,71321))}),{loadableGenerated:{webpack:function(){return[71321]}}}),G=i()((function(){return Promise.all([r.e(7126),r.e(9683)]).then(r.bind(r,9683))}),{loadableGenerated:{webpack:function(){return[9683]}}}),N=i()((function(){return Promise.all([r.e(7126),r.e(2853)]).then(r.bind(r,52853))}),{loadableGenerated:{webpack:function(){return[52853]}}}),E=i()((function(){return r.e(477).then(r.bind(r,40477))}),{loadableGenerated:{webpack:function(){return[40477]}}}),O=i()((function(){return Promise.all([r.e(6066),r.e(881),r.e(9081),r.e(7126),r.e(3924),r.e(3465),r.e(1210),r.e(7794)]).then(r.bind(r,95340))}),{loadableGenerated:{webpack:function(){return[95340]}}}),D=i()((function(){return Promise.all([r.e(7126),r.e(5099)]).then(r.bind(r,65099))}),{loadableGenerated:{webpack:function(){return[65099]}}}),S=i()((function(){return Promise.all([r.e(6281),r.e(7126),r.e(7060)]).then(r.bind(r,27060))}),{loadableGenerated:{webpack:function(){return[27060]}}}),A=i()((function(){return Promise.all([r.e(7126),r.e(3924),r.e(4021)]).then(r.bind(r,94021))}),{loadableGenerated:{webpack:function(){return[94021]}}}),I=["restaurants_bars","hotel_cms","offers"],L=!0;n.default=function(e){var n,r=f({},e),o=(0,c.useContext)(a.L),i=o.hasAjax,h=o.ajaxLink,L=o.setHasAjax,Z=o.setAjaxLink,M=(0,s.useRouter)().asPath,R=(0,s.useRouter)(),T=(0,c.useState)(!1),F=(T[0],T[1]),q=(0,c.useContext)(a.L),J=q.setAllowedLang,B=q.setListLang,z=r||{},U=z.errorAPI,V=z.listLangRequest,W=z.isMaintenance;if((0,c.useEffect)((function(){V&&(J(Object.keys(V)),B(Object.values(V)))}),[V,J,B]),W)return(0,t.jsx)(d.default,{});if((null===U||void 0===U?void 0:U.length)>0)return console.error(U),(0,t.jsx)(u.default,{});var X=null===r||void 0===r||null===(n=r.pageProps)||void 0===n?void 0:n.type;(0,c.useEffect)((function(){if("node--hotel_subpages"!==X){var e=(window.location.hash||"").replace(/^#/,""),n=R.asPath.includes("#")&&R.asPath.split("#")[1]||"",r=decodeURIComponent(e||n).trim();if(r){var t=R.asPath.split("#")[0]||R.asPath,a="".concat(t.replace(/\/$/,""),"/").concat(r),o=function(){var e="undefined"!==typeof document?document.getElementById(r):null;if(e)return L(!1),void e.scrollIntoView({behavior:"smooth",block:"start"});L(!0)};h||Z(a),o();var i=requestAnimationFrame(o);return function(){return cancelAnimationFrame(i)}}}}),[X,R.asPath,h,L,Z]),(0,c.useEffect)((function(){F(!0)}),[]);var H=(null===r||void 0===r?void 0:r.pageProps)||{}||{},Q=H.type,$=H.attributes||{},K=$.field_type_template,Y=$.field_type_subpages;if(("node--hotel"===Q||"node--hotel_subpages"===Q)&&i){var ee=h||M.replace("#","/");return(0,t.jsx)(O,b({},r,{ajaxLink:ee}))}if("node--landing"===Q){if("offers"===K)return(0,t.jsx)(y,b({},r));if("photo_crowdiff"===K)return(0,t.jsx)(g,b({},r));if("hotels"===K)return(0,t.jsx)(_,b({},r));if("experience"===K)return(0,t.jsx)(w,b({},r));if("page_form"===K)return(0,t.jsx)(p,b({},r));if("terms_condition"===K)return(0,t.jsx)(E,b({},r))}if("node--offre"===Q)return(0,t.jsx)(C,b({},r));if("node--experience"===Q)return(0,t.jsx)(m,b({},r));if("node--hotel"===Q)return(0,t.jsx)(x,b({},r));
1if("node--room"===Q)return(0,t.jsx)(N,b({},r));if("node--hotel_subpages"===Q){if("rooms"===Y)return(0,t.jsx)(j,b({},r));if(I.includes(Y))return(0,t.jsx)(k,b({},r))}return"node--page"===Q?(0,t.jsx)(v,b({},r)):"node--landing_page"===Q?(0,t.jsx)(P,b({},r)):"node--package"===Q?(0,t.jsx)(G,b({},r)):"node--homepage_blog"===Q?(0,t.jsx)(D,b({},r)):"node--landing_article"===Q?(0,t.jsx)(S,b({},r)):"node--article"===Q?(0,t.jsx)(A,b({},r)):(0,t.jsx)(l.default,{})}},98806:function(e,n,r){"use strict";r.r(n);var t=r(85893),a=r(20239),o=r(36899),i=r(11163),s=r(85844),c=r.n(s);n.default=function(){var e=(0,i.useRouter)()||{},n=e.locale,r=(e.asPath,function(e){var r,t,a;return(null===o||void 0===o||null===(r=o[n])||void 0===r?void 0:r[e])?null===o||void 0===o||null===(t=o[n])||void 0===t?void 0:t[e]:null===o||void 0===o||null===(a=o.en)||void 0===a?void 0:a[e]});return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:c().maintenanceContainer,children:[(0,t.jsx)(a.Z,{alt:r("alt"),jpgD:"".concat("https://cdn.beachcomber-hotels.com/v9","/assets/images/bg.jpg"),webpD:"".concat("https://cdn.beachcomber-hotels.com/v9","/assets/images/bg.webp"),width:"1900",height:"1200"}),(0,t.jsx)("div",{className:c().textContainer,children:(0,t.jsxs)("div",{className:c().texts,children:[(0,t.jsx)(a.Z,{alt:r("alt"),jpgD:"".concat("https://cdn.beachcomber-hotels.com/v9","/assets/images/bch-white.png"),webpD:"".concat("https://cdn.beachcomber-hotels.com/v9","/assets/images/bch-white.png"),width:"250",height:"100"}),(0,t.jsxs)("h1",{children:["our website is currently down for",(0,t.jsx)("span",{children:"Maintenance "})]}),(0,t.jsx)("p",{children:"We will be back soon and we thank you for your patience"})]})})]})})}},23625:function(e){e.exports={container:"Errors_container__OQJ8k",errorContainer:"Errors_errorContainer__3pkyc",textContainer:"Errors_textContainer__BoVUI"}},85844:function(e){e.exports={container:"Maintenance_container__WJyhc",maintenanceContainer:"Maintenance_maintenanceContainer__Zn26B",textContainer:"Maintenance_textContainer__p52lN"}},36899:function(e){"use strict";e.exports=JSON.parse('{"en":{"alt":"404 not found","error":"error","code":"404","message":"This page does not exist","alternative":"Alternatively you can click on the following link to return to our website.","link":"www.beachcomber-hotels.com","thanks":"Thank you for visiting us.","redirection1":"This page will redirect in","redirection2":"seconds."},"fr":{"alt":"404 page non retrouv\xe9e","error":"Erreur","code":"404","message":"Cette page n\'existe pas","alternative":"Alternativement, vous pouvez cliquer sur le lien en dessous pour retourner sur notre site.","link":"www.beachcomber-hotels.com","thanks":"Merci pour votre visite.","redirection1":"Cette page sera redirig\xe9e dans","redirection2":"secondes."},"de":{"alt":"","error":"","code":"","message":"","alternative":"","link":"www.beachcomber-hotels.com","thanks":"","redirection1":"","redirection2":""},"it":{"alt":"","error":"","code":"","message":"","alternative":"","link":"www.beachcomber-hotels.com","thanks":"","redirection1":"","redirection2":""},"pt":{"alt":"","error":"","code":"","message":"","alternative":"","link":"www.beachcomber-hotels.com","thanks":"","redirection1":"","redirection2":""},"es":{"alt":"","error":"","code":"","message":"","alternative":"","link":"www.beachcomber-hotels.com","thanks":"","redirection1":"","redirection2":""}}')}},function(e){e.O(0,[5409,5152,4597,9774,2888,179],(function(){return n=29792,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.