1import{k as i,u as c,r as d,j as e,L as r}from"./vendor-BRM8GqJx.js";import{f as m,b as x,B as u}from"./index-BEwywMif.js";import{W as p}from"./WhereYouLeftOff-BJNDshzJ.js";import"./arrow-right-DjuY1tMJ.js";const h=[{label:"Dubai Marina",slug:"dubai-marina"},{label:"Al Reem Island",slug:"al-reem-island"},{label:"Downtown Dubai",slug:"downtown-dubai"},{label:"Palm Jumeirah",slug:"palm-jumeirah"}],y=()=>{const l=i(),o=c(),[a,n]=d.useState("");return e.jsxs("div",{className:"mx-auto w-full max-w-3xl px-4 py-16",children:[e.jsx(m,{title:"Page not found",noindex:!0,includeBreadcrumbs:!1}),e.jsx("p",{className:"text-caption uppercase tracking-wide text-text-tertiary",children:"404"}),e.jsx("h1",{className:"mt-2 text-h-1 text-text-primary",children:"We couldn't find that page"}),e.jsxs("p",{className:"mt-3 text-body text-text-secondary",children:["It may have moved, or the listing may no longer be live."," ",e.jsx("code",{className:"text-small text-text-tertiary",children:l.pathname})]}),e.jsxs("form",{role:"search",className:"mt-8 flex flex-col gap-2 sm:flex-row",onSubmit:t=>{t.preventDefault();const s=a.trim();o(s?`/units-for-sale?q=${encodeURIComponent(s)}`:"/units-for-sale")},children:[e.jsx("label",{htmlFor:"notfound-search",className:"sr-only",children:"Search listings, areas or projects"}),e.jsxs("div",{className:"relative flex-1",children:[e.jsx(x,{size:18,"aria-hidden":"true",className:"pointer-events-none absolute start-3 top-1/2 -translate-y-1/2 text-text-tertiary"}),e.jsx("input",{id:"notfound-search",type:"search",value:a,onChange:t=>n(t.target.value),placeholder:"Search listings, areas, projectsâ¦",className:"h-12 w-full rounded-md border border-border-subtle bg-canvas ps-10 pe-3 text-body text-text-primary placeholder:text-text-tertiary/70"})]}),e.jsx(u,{type:"submit",size:"lg",children:"Search"})]}),e.jsx("ul",{className:"mt-3 flex flex-wrap gap-2",children:h.map(t=>e.jsx("li",{children:e.jsx(r,{to:`/units-for-sale?area=${t.slug}`,className:"inline-flex rounded-full border border-border-subtle px-3 py-1.5 text-caption text-text-secondary hover:border-border-emphasis hover:text-text-primary",children:t.label})},t.slug))}),e.jsx("ul",{className:"mt-10 grid w-full gap-3 sm:grid-cols-2",children:[{to:"/units-for-sale",label:"Homes for sale"},{to:"/rent",label:"Homes to rent"},{to:"/new-listings",label:"New projects"},{to:"/contact",label:"Talk to someone"}].map(t=>e.jsx("li",{children:e.jsx(r,{to:t.to,className:"block rounded-lg border border-border-subtle bg-surface-1 px-4 py-3 text-small font-medium text-text-primary hover:border-border-emphasis",children:t.label})},t.to))}),e.jsx("div",{className:"mt-12",children:e.jsx(p,{})})]})};export{y as default};
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.