1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[79],{3862:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var l=r(5155),a=r(4846),n=r(6874),i=r.n(n),s=r(2115),c=r(5678),o=r(8645);function d(){let[e,t]=(0,s.useState)("it"),r=(0,c.c)(e);return(0,s.useEffect)(()=>{t((()=>{let e=window.location.pathname;if(e.startsWith("/en"))return"en";if(e.startsWith("/de"))return"de";let t=navigator.language.slice(0,2);return"en"===t?"en":"de"===t?"de":"it"})())},[]),(0,s.useEffect)(()=>{t((()=>{let e=window.location.pathname;if(e.startsWith("/en"))return"en";if(e.startsWith("/de"))return"de";let t=navigator.language.slice(0,2);return"en"===t?"en":"de"===t?"de":"it"})())},[]),(0,l.jsxs)("div",{className:"min-h-screen py-20 bg-light-mint text-white-mint flex flex-col items-center justify-center px-4",children:[(0,l.jsx)("div",{className:"mb-12 text-center text-primary",children:(0,l.jsx)("h1",{className:"text-3xl md:text-4xl font-extrabold tracking-wide",children:"Enzo Stella Maris"})}),(0,l.jsxs)("div",{className:"text-center max-w-2xl text-light-green",children:[(0,l.jsx)("h1",{className:"text-6xl md:text-8xl font-bold mb-6",children:"404"}),(0,l.jsx)("h2",{className:"text-2xl md:text-3xl font-semibold text-primary-dark mb-4",children:r("paginaNonTrovata")}),(0,l.jsx)("p",{className:"text-lg mb-8 leading-relaxed text-light-green",children:r("sembraCheLaPagina")}),(0,l.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center",children:[(0,l.jsx)(i(),{href:"/".concat(e),className:"bg-primary text-white-mint px-8 py-3 rounded-full hover:bg-primary-dark transition-colors duration-300 font-medium",children:r("tornaAllaHomepage")}),(0,l.jsx)(o.A,{locale:e,to:"contatti",className:"border-2 border-primary text-primary px-8 py-3 rounded-full hover:bg-primary hover:text-white transition-all duration-300 font-medium",children:r("contattaci")})]})]}),(0,l.jsxs)("div",{className:"mt-12 text-center pb-20 text-primary-dark",children:[(0,l.jsx)("p",{className:"mb-4",children:r("oppureEsploraSezioni")}),(0,l.jsxs)("div",{className:"flex flex-wrap justify-center gap-4 ",children:[(0,l.jsx)(o.A,{to:"piazzole",locale:e,className:"hover:underline",children:r("piazzoleLink")}),(0,l.jsx)(i(),{href:"/".concat(e,"/accomodation/maxicaravan/hibiscus"),className:"hover:underline",children:r("alloggi")}),(0,l.jsx)(i(),{href:"/".concat(e,"/services/pools"),className:"hover:underline",children:r("servizi")}),(0,l.jsx)(o.A,{locale:e,to:"chiSiamo",className:"hover:underline",children:r("chiSiamo")})]})]})]})}var u=r(5695),m=r(4916),x=r(2511);let h=e=>{let{children:t}=e,r=(0,x.Y)(),a=(0,s.useRef)(0),{hideNavbar:n,showNavbar:i}=(0,m.y)();return(0,s.useEffect)(()=>{let e="nav-wrapper-scroll",t=()=>{window.scrollY>document.documentElement.scrollHeight/5&&"down"===r?n(e):i(e)};return window.addEventListener("scroll",t),()=>{i(e),window.removeEventListener("scroll",t)}},[r,a,n,i]),(0,l.jsx)(l.Fragment,{children:t})};function f(){let e=(0,u.useParams)(),t=null==e?void 0:e.route,r=null==e?void 0:e.locale,n=Object.values(a.u).some(e=>e.translatedRoute[r]==="/"+t),i=function(e,t){let r=Object.values(a.u).find(r=>r.translatedRoute[t]==="/"+e);return(null==r?void 0:r.page)||null}(t,r);return n?i?(0,l.jsx)(h,{children:(0,l.jsx)(i,{locale:r})}):null:(0,l.jsx)(d,{})}},4916:(e,t,r)=>{"use strict";r.d(t,{G:()=>i,y:()=>s});var l=r(5155),a=r(2115);let n=(0,a.createContext)(void 0);function i(e){let{children:t}=e,[r,i]=(0,a.useState)(!0),[s,c]=(0,a.useState)(!1),[o,d]=(0,a.useState)(new Set),u=o.size>0,[m,x]=(0,a.useState)(0),[h,f]=(0,a.useState)(84),v=(0,a.useCallback)(e=>{d(t=>{let r=new Set(t);return r.add(e),r})},[]),p=(0,a.useCallback)(e=>{d(t=>{let r=new Set(t);return r.delete(e),r})},[]),g=(0,a.useCallback)(()=>{d(new Set)},[]),w=(0,a.useCallback)(e=>{"function"==typeof e?d(t=>{if(e(t.size>0)){let e=new Set(t);return e.add("legacy"),e}{let e=new Set(t);return e.delete("legacy"),e}}):d(t=>{let r=new Set(t);return e?r.add("legacy"):r.delete("legacy"),r})},[]);return(0,l.jsx)(n.Provider,{value:{isNavbarFullyVisible:r,setIsNavbarFullyVisible:i,isNavbarChanged:s,setIsNavbarChanged:c,isNavbarInvisible:u,setIsNavbarInvisible:w,navbarHeight:m,setNavbarHeight:x,navbarBottom:h,setNavbarBottom:f,hideNavbar:v,showNavbar:p,resetNavbarVisibility:g},children:t})}function s(){let e=(0,a.useContext)(n);if(!e)throw Error("useNavbar must be used within a NavbarProviderrrrr");return e}},9405:(e,t,r)=>{Promise.resolve().then(r.bind(r,3862))}},e=>{var t=t=>e(e.s=t);e.O(0,[484,423,308,766,874,42,885,678,758,963,386,441,684,358],()=>t(9405)),_N_E=e.O()}]);
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.