PageSourceSearch

https://manitou-beach.vercel.app/assets/StaysPage-D39v4iJo.js

js manitou-beach.vercel.app collected 2026-10-03 07:17:20 UTC 104,501 bytes, 69 lines download raw bytes

1import{r as k,j as e,S as be,G as ke,I as je,N as ve,C as t,W as Se,c as X,d as ae,b as se,e as we,P as Fe,F as Ce,B as V,K as Le,_ as ze,h as Be,R as E,y as G}from"./index-Dnyn28Md.js";const le=["All","Cottage","Airbnb","Tiny Home","Camping","Glamping","Inn/B&B","Hotel","Spare Room"],Y={Cottage:t.lakeBlue,Airbnb:t.sunset,"Tiny Home":t.sage,Camping:"#7A8E72","Inn/B&B":"#8B5E3C",Glamping:"#9B8856",Hotel:"#6B5B8D","Spare Room":"#A0856E"},U={Waterfront:"🌊","Pet Friendly":"🐾",WiFi:"📶",AC:"❄️","Fire Pit":"🔥",Dock:"⚓","Boat Launch":"🚤",Kitchen:"🍳",Grill:"♨️","Non-Smoking":"🚭",Parking:"🅿️"},de=Object.keys(U);function ce({images:n,startIndex:w=0,onClose:u}){const[s,g]=k.useState(w),L=k.useRef(null),C=k.useCallback(()=>g(d=>(d-1+n.length)%n.length),[n.length]),h=k.useCallback(()=>g(d=>(d+1)%n.length),[n.length]);return k.useEffect(()=>{const d=b=>{b.key==="Escape"&&u(),b.key==="ArrowLeft"&&C(),b.key==="ArrowRight"&&h()};return window.addEventListener("keydown",d),()=>window.removeEventListener("keydown",d)},[u,C,h]),e.jsxs("div",{ref:L,onClick:d=>{d.target===L.current&&u()},style:{position:"fixed",inset:0,zIndex:9999,background:"rgba(0,0,0,0.92)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",animation:"lbFadeIn 0.2s ease"},children:[e.jsx("button",{onClick:u,style:{position:"absolute",top:20,right:24,background:"none",border:"none",color:"rgba(255,255,255,0.6)",fontSize:28,cursor:"pointer",fontFamily:"sans-serif",lineHeight:1,padding:8},children:"×"}),e.jsxs("div",{style:{position:"absolute",top:24,left:"50%",transform:"translateX(-50%)",fontSize:14,color:"rgba(255,255,255,0.75)",fontFamily:"'Libre Franklin', sans-serif",letterSpacing:2},children:[s+1," / ",n.length]}),e.jsx("button",{onClick:d=>{d.stopPropagation(),C()},style:{position:"absolute",left:16,top:"50%",transform:"translateY(-50%)",background:"rgba(255,255,255,0.08)",border:"1px solid rgba(255,255,255,0.15)",borderRadius:"50%",width:48,height:48,cursor:"pointer",color:"#fff",fontSize:22,display:"flex",alignItems:"center",justifyContent:"center",transition:"background 0.2s"},onMouseEnter:d=>d.currentTarget.style.background="rgba(255,255,255,0.15)",onMouseLeave:d=>d.currentTarget.style.background="rgba(255,255,255,0.08)",children:"‹"}),e.jsx("img",{src:n[s],alt:"",onClick:d=>d.stopPropagation(),style:{maxWidth:"85vw",maxHeight:"85vh",borderRadius:12,objectFit:"contain",cursor:"default",animation:"lbSlideIn 0.25s ease"}},s),e.jsx("button",{onClick:d=>{d.stopPropagation(),h()},style:{position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",background:"rgba(255,255,255,0.08)",border:"1px solid rgba(255,255,255,0.15)",borderRadius:"50%",width:48,height:48,cursor:"pointer",color:"#fff",fontSize:22,display:"flex",alignItems:"center",justifyContent:"center",transition:"background 0.2s"},onMouseEnter:d=>d.currentTarget.style.background="rgba(255,255,255,0.15)",onMouseLeave:d=>d.currentTarget.style.background="rgba(255,255,255,0.08)",children:"›"}),n.length>1&&e.jsx("div",{style:{position:"absolute",bottom:24,left:"50%",transform:"translateX(-50%)",display:"flex",gap:8},children:n.map((d,b)=>e.jsx("img",{src:d,alt:"",onClick:j=>{j.stopPropagation(),g(b)},style:{width:56,height:56,borderRadius:8,objectFit:"cover",border:b===s?`2px solid ${t.sunset}`:"2px solid transparent",opacity:b===s?1:.5,cursor:"pointer",transition:"all 0.2s"}},b))}),e.jsx("style",{children:`
2        @keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }
3        @keyframes lbSlideIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
4      `})]})}function We(){const n=()=>{var w;(w=document.getElementById("list-property"))==null||w.scrollIntoView({behavior:"smooth"})};return e.jsxs("section",{style:{background:`linear-gradient(160deg, ${t.dusk} 0%, ${t.night} 50%, ${t.dusk} 100%)`,padding:"160px 24px 110px",position:"relative",overflow:"hidden",textAlign:"center"},children:[e.jsx("div",{style:{position:"absolute",inset:0,background:"radial-gradient(ellipse at 55% 45%, rgba(91,126,149,0.2) 0%, transparent 60%)",pointerEvents:"none"}}),e.jsx(se,{children:e.jsxs("div",{style:{position:"relative",zIndex:1,maxWidth:720,margin:"0 auto"},children:[e.jsx(X,{light:!0,children:"Manitou Beach · Places to Stay"}),e.jsxs("h1",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:"clamp(30px, 5vw, 56px)",fontWeight:400,color:t.cream,margin:"20px 0 24px",lineHeight:1.15},children:["Your property. On the map.",e.jsx("br",{}),e.jsx("em",{children:"Where lake visitors are already looking."})]}),e.jsx("p",{style:{fontSize:16,color:"rgba(255,255,255,0.75)",maxWidth:540,margin:"0 auto 12px",lineHeight:1.85},children:"Cottages, cabins, Airbnbs, and camping - all in one place. Visitors browse the map, see your photos, and click through to book on your site. We're not a booking platform - we just send guests your way."}),e.jsx("p",{style:{fontSize:15,color:"rgba(255,255,255,0.75)",maxWidth:480,margin:"0 auto 20px",lineHeight:1.7,fontStyle:"italic"},children:"Your Airbnb link, your VRBO page, your own website - wherever you take bookings, that's where we send them."}),e.jsx("div",{style:{display:"inline-block",background:"rgba(91,126,149,0.15)",border:"1px solid rgba(91,126,149,0.3)",borderRadius:12,padding:"12px 24px",marginBottom:28},children:e.jsx("span",{style:{fontFamily:"'Caveat', cursive",fontSize:18,color:t.sunsetLight},children:"Summer Launch - list free through July 4th"})}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:16},children:[e.jsx(V,{onClick:n,variant:"sunset",style:{whiteSpace:"nowrap"},children:"Get on the Map - Free Through July 4 →"}),e.jsxs("div",{style:{display:"flex",gap:16,flexWrap:"wrap",justifyContent:"center"},children:[e.jsx("a",{href:"/",style:{fontSize:14,color:"rgba(255,255,255,0.75)",fontFamily:"'Libre Franklin', sans-serif",textDecoration:"none"},children:"← Back to Home"}),e.jsx(Le,{})]})]})]})})]})}function fe({stay:n,onClose:w}){var r;const u=(r=n.id)==null?void 0:r.replace("stay-",""),s=n.tier==="featured",g=Y[n.stayType]||t.lakeBlue,[L,C]=E.useState(null),[h,d]=E.useState(null),[b,j]=E.useState(null),[T,R]=E.useState(null),[v,F]=E.useState("in"),[f,B]=E.useState(()=>{const a=new Date;return{year:a.getFullYear(),month:a.getMonth()}}),[x,p]=E.useState({name:"",phone:"",message:""}),[c,o]=E.useState(null),[m,i]=E.useState(null);E.useEffect(()=>{if(!u){C([]);return}fetch(`/api/stay-availability?pageId=${u}`).then(a=>a.json()).then(a=>C(a.blocked||[])).catch(()=>C([]))},[u]);const y=new Date().toISOString().split("T")[0],l=a=>(L==null?void 0:L.some(S=>a>=S.from&&a<=S.to))??!1,W=(a,S)=>{if(!(L!=null&&L.length)||!a||!S)return!1;const[A,q]=a<=S?[a,S]:[S,a];return L.some(Q=>Q.to>=A&&Q.from<=q)},$=v==="out"&&T?T:b,z=a=>{if(!h)return!1;const S=$;if(!S)return a===h;
4const[A,q]=h<=S?[h,S]:[S,h];return a>=A&&a<=q},H=a=>{a<y||l(a)||(v==="in"||h&&a<=h?(d(a),j(null),F("out"),o(null),i(null)):(j(a),F("done")))},I=!!(h&&b&&!W(h,b)),O=(a,S)=>p(A=>({...A,[a]:S})),N=a=>a?new Date(a+"T12:00:00").toLocaleDateString("en-US",{month:"short",day:"numeric"}):"",ee=async()=>{if(!x.name.trim()||!x.phone.trim()){o("error");return}o("loading");try{const S=await(await fetch("/api/stay-request",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({pageId:u,stayName:n.name,guestName:x.name,guestPhone:x.phone,datesRequested:`${h} to ${b}`,message:x.message})})).json();o(S.ok?"done":"error")}catch{o("error")}},J=async()=>{if(!x.name.trim()||!x.phone.trim()){i("error");return}i("loading");try{const S=await(await fetch("/api/stay-waitlist",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({pageId:u,stayName:n.name,guestName:x.name,guestPhone:x.phone,datesRequested:`${h} to ${b}`})})).json();i(S.ok?"done":"error")}catch{i("error")}},M=f.month===11?{year:f.year+1,month:0}:{year:f.year,month:f.month+1},P={background:"none",border:"none",cursor:"pointer",fontSize:18,color:s?"rgba(255,255,255,0.75)":t.textMuted,padding:"2px 10px",borderRadius:6,lineHeight:1},_={width:"100%",padding:"10px 13px",borderRadius:8,border:`1px solid ${s?"rgba(255,255,255,0.12)":t.sand}`,fontFamily:"'Libre Franklin', sans-serif",fontSize:15,background:s?"rgba(255,255,255,0.05)":"#fff",color:s?t.cream:t.text,outline:"none",boxSizing:"border-box"},K=(a,S)=>{const A=new Date(a,S,1).getDay(),q=new Date(a,S+1,0).getDate(),Q=new Date(a,S,1).toLocaleString("default",{month:"long",year:"numeric"}),te=[];for(let D=0;D<A;D++)te.push(null);for(let D=1;D<=q;D++)te.push(`${a}-${String(S+1).padStart(2,"0")}-${String(D).padStart(2,"0")}`);return e.jsxs("div",{style:{flex:1,minWidth:200},children:[e.jsx("div",{style:{fontSize:13,fontWeight:700,letterSpacing:.5,marginBottom:8,fontFamily:"'Libre Franklin', sans-serif",color:s?"rgba(255,255,255,0.75)":t.textMuted},children:Q}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(7, 1fr)",gap:2},children:[["Su","Mo","Tu","We","Th","Fr","Sa"].map((D,ne)=>e.jsx("div",{style:{fontSize:12,textAlign:"center",padding:"3px 0",fontFamily:"'Libre Franklin', sans-serif",color:s?"rgba(255,255,255,0.75)":t.textMuted},children:D},ne)),te.map((D,ne)=>{if(!D)return e.jsx("div",{},`e${ne}`);const ie=D<y,re=l(D),xe=D===h,me=D===b,ye=z(D);let Z="transparent",oe=s?"rgba(255,255,255,0.7)":t.text,pe=1,ge=400;return ie?pe=.25:re?(Z=s?"rgba(220,38,38,0.2)":"#FECACA",oe=s?"#fca5a5":"#B91C1C"):xe||me?(Z=g,oe="#fff",ge=700):ye&&(Z=`${g}28`),e.jsx("button",{type:"button",disabled:ie||re,onClick:()=>H(D),onMouseEnter:()=>{v==="out"&&h&&R(D)},onMouseLeave:()=>R(null),style:{padding:"5px 2px",borderRadius:5,border:"none",textAlign:"center",fontSize:13,fontFamily:"'Libre Franklin', sans-serif",cursor:ie||re?"default":"pointer",background:Z,color:oe,opacity:pe,fontWeight:ge,transition:"background 0.1s"},children:parseInt(D.split("-")[2])},D)})]})]},`${a}-${S}`)};return e.jsxs("div",{style:{marginTop:20,paddingTop:20,borderTop:`1px solid ${s?"rgba(255,255,255,0.08)":t.sand}`},children:[(n.paymentMethod||n.cancellationPolicy||n.bookingConfirmation)&&e.jsxs("div",{style:{background:s?"rgba(255,255,255,0.04)":`${t.lakeBlue}06`,borderRadius:10,padding:"11px 14px",marginBottom:14,border:`1px solid ${s?"rgba(255,255,255,0.07)":`${t.lakeBlue}12`}`},children:[e.jsxs("div",{style:{fontSize:13,fontWeight:700,color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",letterSpacing:1,textTransform:"uppercase",marginBottom:7},children:["How ",n.name," takes bookings"]}),n.paymentMethod&&e.jsxs("div",{style:{fontSize:14,color:s?"rgba(255,255,255,0.75)":t.textLight,fontFamily:"'Libre Franklin', sans-serif",marginBottom:3},children:[e.jsx("strong",{style:{color:s?"rgba(255,255,255,0.75)":t.textMuted,fontWeight:600},children:"Payment"})," · ",n.paymentMethod]}),n.cancellationPolicy&&e.jsxs("div",{style:{fontSize:14,color:s?"rgba(255,255,255,0.75)":t.textLight,fontFamily:"'Libre Franklin', sans-serif",marginBottom:3},children:[e.jsx("strong",{style:{color:s?"rgba(255,255,255,0.75)":t.textMuted,fontWeight:600},children:"Cancellation"})," · ",n.cancellationPolicy]}),n.bookingConfirmation&&e.jsxs("div",{style:{fontSize:14,color:s?"rgba(255,255,255,0.75)":t.textLight,fontFamily:"'Libre Franklin', sans-serif"},children:[e.jsx("strong",{style:{color:s?"rgba(255,255,255,0.75)":t.textMuted,fontWeight:600},children:"Confirmation"})," · ",n.bookingConfirmation]})]}),e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:10},children:[e.jsxs("div",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",fontFamily:"'Libre Franklin', sans-serif",color:s?"rgba(255,255,255,0.75)":t.textMuted},children:[v==="in"&&"Pick a check-in date",v==="out"&&"Now pick check-out",v==="done"&&h&&b&&`${N(h)}
4 → ${N(b)}`]}),e.jsxs("div",{style:{display:"flex",gap:12,alignItems:"center"},children:[(h||b)&&e.jsx("button",{type:"button",onClick:()=>{d(null),j(null),F("in"),o(null),i(null)},style:{fontSize:13,color:t.textMuted,background:"none",border:"none",cursor:"pointer",padding:0,fontFamily:"'Libre Franklin', sans-serif"},children:"Clear"}),e.jsx("button",{type:"button",onClick:w,style:{border:"none",background:"none",cursor:"pointer",color:t.textMuted,fontSize:20,padding:0,lineHeight:1},children:"×"})]})]}),L===null?e.jsx("div",{style:{fontSize:14,color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",padding:"12px 0"},children:"Loading availability..."}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:4},children:[e.jsx("button",{type:"button",style:P,onClick:()=>B(a=>a.month===0?{year:a.year-1,month:11}:{year:a.year,month:a.month-1}),children:"‹"}),e.jsx("button",{type:"button",style:P,onClick:()=>B(a=>a.month===11?{year:a.year+1,month:0}:{year:a.year,month:a.month+1}),children:"›"})]}),e.jsxs("div",{style:{display:"flex",gap:20,flexWrap:"wrap",marginBottom:10},children:[K(f.year,f.month),K(M.year,M.month)]}),e.jsxs("div",{style:{display:"flex",gap:14,marginBottom:14,flexWrap:"wrap"},children:[e.jsxs("span",{style:{fontSize:13,color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",display:"flex",alignItems:"center",gap:4},children:[e.jsx("span",{style:{width:10,height:10,borderRadius:2,background:"#FECACA",display:"inline-block"}})," Booked"]}),h&&e.jsxs("span",{style:{fontSize:13,color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",display:"flex",alignItems:"center",gap:4},children:[e.jsx("span",{style:{width:10,height:10,borderRadius:2,background:g,display:"inline-block"}})," Your selection"]})]}),h&&b&&e.jsxs("div",{style:{padding:"10px 14px",borderRadius:10,marginBottom:14,background:I?s?"rgba(16,185,129,0.12)":"#F0FDF4":s?"rgba(220,38,38,0.12)":"#FEF2F2",border:`1px solid ${I?"#86EFAC":"#FECACA"}`},children:[e.jsx("div",{style:{fontSize:15,fontWeight:600,color:I?"#166534":"#B91C1C",fontFamily:"'Libre Franklin', sans-serif"},children:I?`✓ ${N(h)} to ${N(b)} looks available`:"✗ Those dates overlap with a booking"}),!I&&e.jsx("div",{style:{fontSize:13,color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",marginTop:4},children:"Try different dates, or join the waitlist below."})]}),h&&b&&I&&c!=="done"&&e.jsxs("div",{style:{display:"grid",gap:10},children:[c==="error"&&e.jsx("div",{style:{fontSize:14,color:"#B91C1C",fontFamily:"'Libre Franklin', sans-serif"},children:"Name and phone are required."}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:10},children:[e.jsx("input",{style:_,placeholder:"Your name",value:x.name,onChange:a=>O("name",a.target.value)}),e.jsx("input",{style:_,placeholder:"Phone number",value:x.phone,onChange:a=>O("phone",a.target.value)})]}),e.jsx("textarea",{style:{..._,minHeight:52,resize:"none"},placeholder:"Message to owner (optional)",value:x.message,onChange:a=>O("message",a.target.value)}),e.jsx("p",{style:{fontSize:13,color:s?"rgba(255,255,255,0.75)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif",margin:0,lineHeight:1.6},children:"Manitou Beach is a local discovery platform. Bookings, payments, and all arrangements are directly between you and the property owner. We take no responsibility for transactions or disputes."}),e.jsx("button",{type:"button",onClick:ee,disabled:c==="loading",style:{alignSelf:"flex-start",padding:"11px 26px",borderRadius:22,border:"none",background:s?t.sunset:g,color:"#fff",fontFamily:"'Libre Franklin', sans-serif",fontSize:14,fontWeight:700,letterSpacing:1,textTransform:"uppercase",cursor:c==="loading"?"default":"pointer"},children:c==="loading"?"Sending...":`Request ${N(h)} → ${N(b)} →`})]}),c==="done"&&e.jsx("div",{style:{background:"#F0FDF4",border:"1px solid #86EFAC",borderRadius:10,padding:"12px 14px",fontSize:15,color:"#166534",fontFamily:"'Libre Franklin', sans-serif"},children:"Request sent! The owner will contact you directly to confirm."}),h&&b&&!I&&m!=="done"&&e.jsxs("div",{style:{display:"grid",gap:10,marginTop:4},children:[e.jsx("div",{style:{fontSize:13,fontWeight:700,letterSpacing:.5,color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif"},children:"Notify me if those dates open up"}),m==="error"&&e.jsx("div",{style:{fontSize:14,color:"#B91C1C",fontFamily:"'Libre Franklin', sans-serif"},children:"Name and phone are required."}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:10},children:[e.jsx("input",{style:_,placeholder:"Your name",value:x.name,onChange:a=>O("name",a.target.value)}),e.jsx("input",{style:_,placeholder:"Phone number",value:x.phone,onChange:a=>O("phone",a.target.value)})]}),e.jsx("button",{type:"button",onClick:J,disabled:m==="loading",style:{alignSelf:"flex-start",padding:"11px 26px",borderRadius:22,border:`1px solid ${s?t.sunset+"50":g+"50"}`,background:"transparent",color:s?t.sunsetLight:g,fontFamily:"'Libre Franklin', sans-serif",fontSize:14,fontWeight:700,letterSpacing:1,textTransform:"uppercase",cursor:m==="loading"?"default":"pointer"},children:m==="loading"?"Adding...":"Join Waitlist →"})]}),m==="done"&&e.jsx("div",{style:{background:"#F0FDF4",border:"1px solid #86EFAC",borderRadius:10,padding:"12px 14px",fontSize:15,color:"#166534",fontFamily:"'Libre Franklin', sans-serif",marginTop:4},children:"You're on the waitlist. We'll text if those dates open up."})]})]})}const he=180,Te=185;function $e({stay:n,i:w}){var v,F,f,B,x;const u=Y[n.stayType]||t.lakeBlue,s=n.tier==="featured",[g,L]=E.useState(!1),[C,h]=E.useState(!1),[d,b]=E.useState(!1),[j,T]=E.useState(null),R=n.description&&n.description.length>he;return e.jsx(se,{delay:w*80,direction:w%2===0?"left":"right",children:e.jsxs("div",{className:"stay-card-row",style:{background:s?t.dusk:"#fff",border:`1px solid ${s?t.lakeDark:"#e0
4dbd4"}`,boxShadow:s?"none":"0 2px 12px rgba(0,0,0,0.06)",borderRadius:16,padding:0,display:"flex",flexDirection:"column",position:"relative",overflow:"hidden",transition:"box-shadow 0.25s"},onMouseEnter:p=>{p.currentTarget.style.boxShadow=`0 8px 32px rgba(0,0,0,0.1), 0 0 0 1px ${u}30`},onMouseLeave:p=>{p.currentTarget.style.boxShadow=s?"none":"0 2px 12px rgba(0,0,0,0.06)"},children:[e.jsx("div",{style:{position:"absolute",top:0,left:0,width:4,height:"100%",background:u,borderRadius:"16px 0 0 16px",zIndex:1}}),e.jsxs("div",{style:{maxHeight:d?"none":Te,overflow:"hidden",position:"relative",padding:"28px 28px 0"},children:[e.jsxs("div",{style:{display:"flex",gap:24,alignItems:"flex-start",paddingBottom:24},children:[(((v=n.photos)==null?void 0:v[0])||n.logo||n.photo)&&e.jsxs("div",{style:{flexShrink:0,display:"flex",flexDirection:"column",alignItems:"center",gap:6},children:[e.jsx("img",{className:"stay-card-logo",src:((F=n.photos)==null?void 0:F[0])||n.logo||n.photo,alt:"",onClick:p=>{var c;p.stopPropagation(),(c=n.photos)!=null&&c.length&&T({images:n.photos,startIndex:0})},style:{width:120,height:120,borderRadius:16,objectFit:"cover",background:t.sand,cursor:(f=n.photos)!=null&&f.length?"zoom-in":"default",display:"block"},onError:p=>p.target.style.display="none"}),((B=n.photos)==null?void 0:B.length)>1&&e.jsxs("button",{type:"button",onClick:p=>{p.stopPropagation(),T({images:n.photos,startIndex:0})},style:{fontSize:13,fontWeight:600,letterSpacing:.3,color:s?"rgba(255,255,255,0.75)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif",background:"none",border:"none",cursor:"pointer",padding:0,textAlign:"center",whiteSpace:"nowrap"},children:["📷 ",n.photos.length," photos"]})]}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsxs("div",{className:"stay-card-header",style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",flexWrap:"wrap",gap:8,marginBottom:6},children:[e.jsx("h3",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:20,fontWeight:400,color:s?t.cream:t.text,margin:0},children:n.name}),e.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center",flexWrap:"wrap"},children:[s&&e.jsx("span",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:t.cream,background:t.sunset,padding:"4px 10px",borderRadius:20,fontFamily:"'Libre Franklin', sans-serif"},children:"✦ Staff Pick"}),n.stayType&&e.jsx("span",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:s?t.cream:u,background:s?`${u}40`:`${u}15`,padding:"4px 10px",borderRadius:20,fontFamily:"'Libre Franklin', sans-serif"},children:n.stayType})]})]}),(n.beds||n.guests||n.pricePerNight||n.minStay)&&e.jsxs("div",{style:{display:"flex",gap:10,flexWrap:"wrap",alignItems:"center",marginBottom:8},children:[n.beds&&e.jsxs("span",{style:{fontSize:14,color:s?"rgba(255,255,255,0.75)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif"},children:["🛏 ",n.beds," bed",n.beds!==1?"s":""]}),n.guests&&e.jsxs("span",{style:{fontSize:14,color:s?"rgba(255,255,255,0.75)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif"},children:["👥 Sleeps ",n.guests]}),n.pricePerNight&&e.jsx("span",{style:{fontSize:14,fontWeight:700,color:s?t.sunsetLight:t.sunset,fontFamily:"'Libre Franklin', sans-serif",background:s?`${t.sunset}20`:`${t.sunset}10`,padding:"2px 8px",borderRadius:10},children:n.pricePerNight}),n.minStay&&e.jsxs("span",{style:{fontSize:13,color:s?"rgba(255,255,255,0.75)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif"},children:[n.minStay,"+ nights"]})]}),n.description&&e.jsxs("div",{style:{marginBottom:14},children:[e.jsx("p",{style:{fontSize:16,color:s?"rgba(255,255,255,0.7)":t.textLight,lineHeight:1.7,margin:0},children:R&&!C?n.description.slice(0,he).trimEnd()+"...":n.description}),R&&e.jsx("button",{type:"button",onClick:p=>{p.stopPropagation(),h(c=>!c)},style:{background:"none",border:"none",cursor:"pointer",fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:s?t.sunsetLight:u,fontFamily:"'Libre Franklin', sans-serif",padding:"4px 0 0",display:"block"},children:C?"Show less ↑":"Read more ↓"})]}),n.amenities&&n.amenities.length>0&&e.jsx("div",{style:{display:"flex",gap:6,flexWrap:"wrap",marginBottom:14},children:n.amenities.map(p=>e.jsxs("span",{style:{fontSize:13,padding:"4px 10px",borderRadius:12,background:s?"rgba(255,255,255,0.1)":`${u}10`,color:s?"rgba(255,255,255,0.6)":u,fontFamily:"'Libre Franklin', sans-serif",fontWeight:600,border:`1px solid ${s?"rgba(255,255,255,0.08)":`${u}20`}`},children:[U[p]||"·"," ",p]},p))}),e.jsxs("div",{className:"stay-card-meta",style:{display:"flex",gap:20,flexWrap:"wrap",marginBottom:12},children:[n.address&&e.jsxs("span",{style:{fontSize:14,color:s?"rgba(255,255,255,0.75)":t.textMuted},children:["📍 ",n.address]}),n.phone&&e.jsxs("a",{href:`tel:${n.phone}`,onClick:p=>p.stopPropagation(),style:{fontSize:14,color:s?"rgba(255,255,255,0.75)":t.textMuted,textDecoration:"none"},children:["📞 ",n.phone]}),n.email&&e.jsxs("a",{href:`mailto:${n.email}?subject=Inquiry about ${encodeURIComponent(n.name)}`,onClick:p=>p.stopPropagation(),style:{fontSize:14,color:s?"rgba(255,255,255,0.75)":t.textMuted,textDecoration:"none"},children:["✉️ ",n.email]})]}),(n.bookingUrl||n.website)&&(()=>{const p={fontFamily:"'Libre Franklin', sans-serif",fontSize:13,fontWeight:700,letterSpacing:1.5,textTransform:"uppercase",color:s?t.sunset:u,textDecoration:"none"};if(n.bookingUrl)return e.jsx("a",{href:n.bookingUrl,target:"_blank",rel:"noopener noreferrer",onClick:c=>c.stopPropagation(),style:p,children:"Book Now →"});if(n.website)return e.jsx("a",{href:n.website,target:"_blank",rel:"noopener noreferrer",onClick:c=>c.stopPropagation(),style:p,children:"Visit Website →"})})()]})]}),!d&&e.jsx("div",{style:{position:"absolute",bottom:0,left:0,right:0,height:72,background:`linear-gradient(to bottom, transparent, ${s?t.dusk:"#fff"})`,pointerEvents:"none"}})]}),e.jsxs("div",{onClick:p=>p.stopPropagation(),style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:8,padding:"10px 20px 14px",borderTop:`1px solid ${s?"rgba(255,255,255,0.06)":"#f0ebe4"}`},children:[e.jsx("button",{type:"button",onClick:()=>b(p=>!p),style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:s?"rgba(255,255,255,0.75)":t.textMuted,background:"none",border:"none",cursor:"pointer",fontFamily:"'Libre Franklin', sans-serif",padding:0},children:d?"Show less ↑":"Show more ↓"}),n.tier!=="free"?e.jsx("button",{type:"button",onClick:()=>{b(!0),L(p=>!p)},style:{fontSize:13,fontWeight:700,letterSpacing:1.5,textTransform:"uppercase",color:s?t.sunsetLight:u,background:"none",border:"none",cursor:"pointer",fontFamily:"'Libre Franklin', sans-serif",padding:0},children:g?"Close Calendar":"Check Availability →"}):n.email||n.phone?e.jsx("a",{href:n.email?`mailto:${n.email}?subject=Inquiry about ${encodeURIComponent(n.name)}`:`tel:${n.phone}`,onClick:p=>p.stopPropagation(),style:{fontSize:13,fontWeight:700,letterSpacing:1.5,textTransform:"uppercase",color:u,textDecoration:"none",fontFamily:"'Libre Franklin', sans-serif"},children:"Contact Owner →"}):null]}),d&&g&&n.tier!=="free"&&e.jsx("div",{style:{padding:"0 28px 24px",borderTop:`1px solid ${s?"rgba(255,255,255,0.06)":"#f0ebe4"}`},onClick:p=>p.stopPropagation(),children:e.jsx(fe,{stay:n,onClose:()=>L(!1)})}),d&&((x=n.photos)==null?void 0:x.length)>1&&e.jsx("div",{style:{display:"flex",gap:8,overflowX:"auto",padding:"12px 28px 20px",borderTop:`1px solid ${s?"rgba(255,255,255,0.06)":"#f0ebe4"}`},onClick:p=>p.stopPropagation(),children:n.photos.slice(1).map((p,c)=>e.jsx("img",{src:p,alt:"",onClick:()=>T({images:n.photos,startIndex:c+1}),style:{height:90,width:"auto",flexShrink:0,borderRadius:10,cursor:"zoom-in",transition:"transform 0.2s, box-shadow 0.2s"},onMouseEnter:o=>{o.currentTarget.style.transform="scale(1.04)",o.currentTarget.style.boxShadow="0 4px 16px rgba(0,0,0,0.2)"},onMouseLeave:o=>{o.currentTarget.style.transform="none",o.currentTarget.style.boxShadow="none"},onError:o=>o.target.style.display="none"},c))}),j&&e.jsx(ce,{images:j.images,startIndex:j.startIndex,onClose:()=>T(null)})]})})}function Re({stay:n,onBack:w}){var b;const u=Y[n.stayType]||t.lakeBlue,s=n.tier==="featured",[g,L]=E.useState(!1),[C,h]=E.useState(null),d=(n.photos||[]).filter(
4Boolean);return e.jsxs("div",{style:{flex:1,minHeight:0,overflowY:"auto",display:"flex",flexDirection:"column",background:s?t.dusk:"#fff"},children:[e.jsx("div",{style:{padding:"12px 20px",borderBottom:`1px solid ${s?"rgba(255,255,255,0.08)":t.sand}`,display:"flex",alignItems:"center",background:s?t.dusk:"#fff",position:"sticky",top:0,zIndex:2},children:e.jsx("button",{type:"button",onClick:w,style:{fontSize:14,fontWeight:700,letterSpacing:.5,color:s?"rgba(255,255,255,0.75)":t.textMuted,background:"none",border:"none",cursor:"pointer",fontFamily:"'Libre Franklin', sans-serif",padding:0,display:"flex",alignItems:"center",gap:6},children:"← Back to search"})}),d.length>0&&e.jsxs("div",{style:{position:"relative",flexShrink:0},children:[d.length>=3?e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gridTemplateRows:"130px 130px",gap:2},children:[e.jsx("img",{src:d[0],alt:"",onClick:()=>h({images:d,startIndex:0}),style:{gridRow:"1 / 3",width:"100%",height:"100%",objectFit:"cover",cursor:"zoom-in"},onError:j=>j.target.style.display="none"}),d.slice(1,5).map((j,T)=>e.jsx("img",{src:j,alt:"",onClick:()=>h({images:d,startIndex:T+1}),style:{width:"100%",height:"100%",objectFit:"cover",cursor:"zoom-in"},onError:R=>R.target.style.display="none"},T))]}):e.jsx("img",{src:d[0],alt:"",onClick:()=>d.length>1&&h({images:d,startIndex:0}),style:{width:"100%",height:240,objectFit:"cover",cursor:d.length>1?"zoom-in":"default",display:"block"},onError:j=>j.target.style.display="none"}),d.length>1&&e.jsxs("button",{type:"button",onClick:()=>h({images:d,startIndex:0}),style:{position:"absolute",bottom:12,right:12,display:"flex",alignItems:"center",gap:5,padding:"6px 12px",background:"rgba(0,0,0,0.68)",color:"#fff",border:"none",borderRadius:8,cursor:"pointer",fontSize:13,fontWeight:600,fontFamily:"'Libre Franklin', sans-serif",backdropFilter:"blur(4px)"},children:["⊞ See all ",d.length," photos"]})]}),e.jsxs("div",{style:{padding:"20px 20px 0",flex:1},children:[e.jsxs("div",{style:{display:"flex",gap:8,marginBottom:8,flexWrap:"wrap"},children:[s&&e.jsx("span",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:t.cream,background:t.sunset,padding:"4px 10px",borderRadius:20,fontFamily:"'Libre Franklin', sans-serif"},children:"✦ Staff Pick"}),n.stayType&&e.jsx("span",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:s?t.cream:u,background:s?`${u}40`:`${u}15`,padding:"4px 10px",borderRadius:20,fontFamily:"'Libre Franklin', sans-serif"},children:n.stayType})]}),e.jsx("h2",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:22,fontWeight:400,color:s?t.cream:t.text,margin:"0 0 10px"},children:n.name}),e.jsxs("div",{style:{display:"flex",gap:12,flexWrap:"wrap",alignItems:"baseline",marginBottom:14},children:[n.pricePerNight&&e.jsxs("span",{style:{fontSize:20,fontWeight:700,color:s?t.sunsetLight:t.sunset,fontFamily:"'Libre Franklin', sans-serif"},children:[n.pricePerNight,e.jsx("span",{style:{fontSize:14,fontWeight:400,color:t.textMuted},children:"/night"})]}),n.beds&&e.jsxs("span",{style:{fontSize:15,color:s?"rgba(255,255,255,0.6)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif"},children:["🛏 ",n.beds," bed",n.beds!==1?"s":""]}),n.guests&&e.jsxs("span",{style:{fontSize:15,color:s?"rgba(255,255,255,0.6)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif"},children:["👥 Sleeps ",n.guests]}),n.minStay&&e.jsxs("span",{style:{fontSize:14,color:s?"rgba(255,255,255,0.75)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif"},children:[n.minStay,"+ nights"]})]}),e.jsxs("div",{style:{display:"flex",gap:10,flexWrap:"wrap",marginBottom:18},children:[(n.bookingUrl||n.website)&&e.jsx("a",{href:n.bookingUrl||n.website,target:"_blank",rel:"noopener noreferrer",style:{padding:"11px 22px",borderRadius:24,background:s?t.sunset:u,color:"#fff",fontFamily:"'Libre Franklin', sans-serif",fontSize:14,fontWeight:700,letterSpacing:1,textTransform:"uppercase",textDecoration:"none",display:"inline-block"},children:n.bookingUrl?"Book Now →":"Visit Website →"}),n.tier!=="free"&&e.jsx("button",{type:"button",onClick:()=>L(j=>!j),style:{padding:"11px 22px",borderRadius:24,border:`1.5px solid ${s?t.sunset+"60":u+"60"}`,background:"transparent",color:s?t.sunsetLight:u,fontFamily:"'Libre Franklin', sans-serif",fontSize:14,fontWeight:700,letterSpacing:1,textTransform:"uppercase",cursor:"pointer"},children:g?"Close Calendar":"Check Availability"}),!n.bookingUrl&&!n.website&&(n.email||n.phone)&&e.jsx("a",{href:n.email?`mailto:${n.email}?subject=Inquiry about ${encodeURIComponent(n.name)}`:`tel:${n.phone}`,style:{padding:"11px 22px",borderRadius:24,background:s?t.sunset:u,color:"#fff",fontFamily:"'Libre Franklin', sans-serif",fontSize:14,fontWeight:700,letterSpacing:1,textTransform:"uppercase",textDecoration:"none",display:"inline-block"},children:n.email?"Send Inquiry →":"Call Owner →"})]}),n.description&&e.jsx("p",{style:{fontSize:15,color:s?"rgba(255,255,255,0.75)":t.textLight,lineHeight:1.75,margin:"0 0 16px"},children:n.description}),((b=n.amenities)==null?void 0:b.length)>0&&e.jsx("div",{style:{display:"flex",gap:6,flexWrap:"wrap",marginBottom:16},children:n.amenities.map(j=>e.jsxs("span",{style:{fontSize:13,padding:"4px 10px",borderRadius:12,background:s?"rgba(255,255,255,0.1)":`${u}10`,color:s?"rgba(255,255,255,0.6)":u,fontFamily:"'Libre Franklin', sans-serif",fontWeight:600,border:`1px solid ${s?"rgba(255,255,255,0.08)":`${u}20`}`},children:[U[j]||"·"," ",j]},j))}),(n.checkIn||n.checkOut||n.cancellationPolicy||n.houseRules)&&e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:10,marginBottom:16,padding:"14px 16px",background:s?"rgba(255,255,255,0.05)":"#f9f7f4",borderRadius:12},children:[n.checkIn&&e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",marginBottom:2},children:"Check In"}),e.jsx("div",{style:{fontSize:15,color:s?t.cream:t.text,fontFamily:"'Libre Franklin', sans-serif"},children:n.checkIn})]}),n.checkOut&&e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",marginBottom:2},children:"Check Out"}),e.jsx("div",{style:{fontSize:15,color:s?t.cream:t.text,fontFamily:"'Libre Franklin', sans-serif"},children:n.checkOut})]}),n.cancellationPolicy&&e.jsxs("div",{style:{gridColumn:"1/-1"},children:[e.jsx("div",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",marginBottom:2},children:"Cancellation"}),e.jsx("div",{style:{fontSize:15,color:s?t.cream:t.text,fontFamily:"'Libre Franklin', sans-serif"},children:n.cancellationPolicy})]}),n.houseRules&&e.jsxs("div",{style:{gridColumn:"1/-1"},children:[e.jsx("div",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",marginBottom:2},children:"House Rules"}),e.jsx("div",{style:{fontSize:15,color:s?t.cream:t.text,fontFamily:"'Libre Franklin', sans-serif"},children:n.houseRules})]})]}),e.jsxs("div",{style:{display:"flex",gap:14,flexWrap:"wrap",paddingBottom:20},children:[n.address&&e.jsxs("span",{style:{fontSize:14,color:s?"rgba(255,255,255,0.75)":t.textMuted},children:["📍 ",n.address]}),n.phone&&e.jsxs("a",{href:`tel:${n.phone}`,style:{fontSize:14,color:s?"rgba(255,255,255,0.75)":t.textMuted,textDecoration:"none"},children:["📞 ",n.phone]}),n.email&&e.jsxs("a",{href:`mailto:${n.email}?subject=Inquiry about ${encodeURIComponent(n.name)}`,style:{fontSize:14,color:s?"rgba(255,255,255,0.75)":t.textMuted,textDecoration:"none"},children:["✉️ ",n.email]})]})]}),g&&n.tier!=="free"&&e.jsx("div",{style:{padding:"0 20px 24px",borderTop:`1px solid ${s?"rgba(255,255,255,0.06)":"#f0ebe4"}`},children:e.jsx(fe,{stay:n,onClose:()=>L(!1)})}),C&&e.jsx(ce,{images:C.images,startIndex:C.startIndex,onClose:()=>h(null)})]})}function Me({stays:n,filtered:w}){const[u,s]=k.useState(!1),[g,L]=k.useState(null),[C,h]=k.useState(null),[d,b]=k.useState(null),[j,T]=k.useState(null),R=k.useRef(null),v=k.useRef(null),F=k.useRef(null),f=k.useRef({}),B=k.useRef(null),x=k.useRef({}),p=w.filter(i=>i.lat&&i.lng);k.useEffect(()=>{const i="AIzaSyAt59D4Fd1zA0AIHPFaxR7UAc33jQzRBxg";if(!R.current)return;let y=!0;return ze(async()=>{const{Loader:l}=await import("./index-D-8nYH0_.js");
4return{Loader:l}},[]).then(({Loader:l})=>{new l({apiKey:i,version:"weekly"}).load().then(W=>{!y||!R.current||(F.current=W,v.current=new W.maps.Map(R.current,{center:{lat:42.005,lng:-84.289},zoom:13,mapTypeControl:!1,streetViewControl:!1,fullscreenControl:!1,zoomControlOptions:{position:W.maps.ControlPosition.RIGHT_BOTTOM},styles:Be}),B.current=new W.maps.InfoWindow,v.current.addListener("idle",()=>{const $=v.current.getBounds();if(!$)return;const z=new Set;Object.entries(f.current).forEach(([H,I])=>{$.contains(I.getPosition())&&z.add(H)}),T(z)}),s(!0))}).catch(()=>{y&&L("Map failed to load.")})}).catch(()=>{y&&L("Map loader error.")}),()=>{y=!1}},[]),k.useEffect(()=>{if(!(!u||!F.current||!v.current)&&(Object.values(f.current).forEach(i=>i.setMap(null)),f.current={},p.forEach(i=>{Y[i.stayType]||t.lakeBlue;const y=i.tier==="featured",l="M12 0C5.4 0 0 5.4 0 12c0 9 12 24 12 24s12-15 12-24C24 5.4 18.6 0 12 0zm0 16.2c-2.3 0-4.2-1.9-4.2-4.2S9.7 7.8 12 7.8s4.2 1.9 4.2 4.2-1.9 4.2-4.2 4.2z",W=new F.current.maps.Marker({position:{lat:i.lat,lng:i.lng},map:v.current,title:i.name,icon:{path:l,fillColor:y?t.sunset:"#D93025",fillOpacity:1,strokeColor:"#fff",strokeWeight:1.5,scale:y?1.6:1.3,anchor:new F.current.maps.Point(12,36)},zIndex:y?10:1});W.addListener("click",()=>{h(i.id),b(i),c(i,W)}),f.current[i.id]=W}),p.length>1)){const i=new F.current.maps.LatLngBounds;p.forEach(y=>i.extend({lat:y.lat,lng:y.lng})),v.current.fitBounds(i,{top:40,bottom:40,left:40,right:40})}},[u,p.length,w.length]);const c=(i,y)=>{if(!B.current)return;const l=Y[i.stayType]||t.lakeBlue,W=i.tier==="featured",$=i.bookingUrl||i.website,z=$?`<a href="${$}" target="_blank" rel="noopener" style="display:inline-block;margin-top:8px;font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:${W?t.sunset:l};text-decoration:none;font-family:'Libre Franklin',sans-serif">${i.bookingUrl?"Book Now →":"Visit Website →"}</a>`:i.email?`<a href="mailto:${i.email}?subject=Inquiry about ${encodeURIComponent(i.name)}" style="display:inline-block;margin-top:8px;font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:${l};text-decoration:none;font-family:'Libre Franklin',sans-serif">Send Inquiry →</a>`:i.phone?`<a href="tel:${i.phone}" style="display:inline-block;margin-top:8px;font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:${l};text-decoration:none;font-family:'Libre Franklin',sans-serif">Call →</a>`:"";B.current.setContent(`
5      <div style="font-family:'Libre Franklin',sans-serif;padding:8px 4px;max-width:280px;
5min-width:200px">
6        <div style="display:flex;gap:10px;align-items:flex-start">
7          ${i.logo?`<img src="${i.logo}" style="width:56px;height:56px;border-radius:10px;object-fit:cover;flex-shrink:0" />`:""}
8          <div style="flex:1">
9            <div style="display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:4px">
10              ${W?`<span style="font-size:9px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#fff;background:${t.sunset};padding:2px 7px;border-radius:10px">✦ Staff Pick</span>`:""}
11              ${i.stayType?`<span style="font-size:9px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:${l};background:${l}15;padding:2px 7px;border-radius:10px">${i.stayType}</span>`:""}
12            </div>
13            <strong style="font-size:15px;font-family:'Libre Baskerville',serif;font-weight:400;color:#2C3E50">${i.name}</strong>
14            ${i.beds||i.guests?`<div style="font-size:11px;color:#999;margin-top:3px">${i.beds?`🛏 ${i.beds} bed${i.beds!==1?"s":""}`:""}${i.beds&&i.guests?" · ":""}${i.guests?`👥 Sleeps ${i.guests}`:""}</div>`:""}
15          </div>
16        </div>
17        ${i.description?`<p style="font-size:12px;color:#666;line-height:1.5;margin:8px 0 0;max-height:48px;overflow:hidden">${i.description.length>120?i.description.slice(0,120)+"...":i.description}</p>`:""}
18        ${i.amenities&&i.amenities.length?`<div style="display:flex;gap:4px;flex-wrap:wrap;margin-top:8px">${i.amenities.slice(0,4).map(H=>`<span style="font-size:10px;padding:2px 7px;border-radius:8px;background:${l}10;color:${l};font-weight:600">${U[H]||"·"} ${H}</span>`).join("")}</div>`:""}
19        ${z}
20      </div>
21    `),B.current.open(v.current,y)},o=i=>{h(i.id),b(i);const y=f.current[i.id];y&&v.current&&(v.current.panTo(y.getPosition()),v.current.setZoom(Math.max(v.current.getZoom(),14)),c(i,y))},m=(i,y)=>{const l=f.current[i];if(!l||!F.current)return;const W=n.find(H=>H.id===i);Y[W==null?void 0:W.stayType]||t.lakeBlue;const $="M12 0C5.4 0 0 5.4 0 12c0 9 12 24 12 24s12-15 12-24C24 5.4 18.6 0 12 0zm0 16.2c-2.3 0-4.2-1.9-4.2-4.2S9.7 7.8 12 7.8s4.2 1.9 4.2 4.2-1.9 4.2-4.2 4.2z",z=(W==null?void 0:W.tier)==="featured";l.setIcon({path:$,fillColor:y?t.sunset:z?t.sunset:"#D93025",fillOpacity:1,strokeColor:"#fff",strokeWeight:y?2.5:1.5,scale:y?1.8:z?1.6:1.3,anchor:new F.current.maps.Point(12,36)}),y?l.setZIndex(100):l.setZIndex((W==null?void 0:W.tier)==="featured"?10:1)};return e.jsxs("section",{style:{display:"flex",height:"calc(100vh - 120px)",background:t.cream,overflow:"hidden"},children:[e.jsx("div",{style:{flex:"0 0 60%",position:"relative"},children:g?e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:e.jsx("p",{style:{color:t.textMuted},children:g})}):e.jsx("div",{ref:R,style:{width:"100%",height:"100%"}})}),e.jsx("div",{style:{flex:"0 0 40%",overflow:"hidden",display:"flex",flexDirection:"column",background:t.cream,borderLeft:`1px solid ${t.sand}`},children:d?e.jsx(Re,{stay:d,onBack:()=>{b(null),h(null)}}):e.jsxs("div",{style:{overflowY:"auto",padding:"20px 20px 20px 16px",flex:1},children:[e.jsxs("div",{style:{fontSize:13,fontWeight:700,letterSpacing:2,textTransform:"uppercase",color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",marginBottom:14,paddingLeft:4},children:[(j?w.filter(y=>j.has(y.id)||!(y.lat&&y.lng)):w).length," ",j?"in this area":w.length===1?"property":"properties"]}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:14},children:[(j?w.filter(i=>j.has(i.id)||!(i.lat&&i.lng)):w).map(i=>{var z,H;const y=Y[i.stayType]||t.lakeBlue,l=i.tier==="featured",W=C===i.id,$=i.lat&&i.lng;return e.jsxs("div",{ref:I=>x.current[i.id]=I,onClick:()=>$&&o(i),onMouseEnter:()=>$&&m(i.id,!0),onMouseLeave:()=>$&&m(i.id,!1),style:{background:l?t.dusk:"#fff",border:W?`2px solid ${l?t.sunset:y}`:`1px solid ${l?t.lakeDark:"#e0dbd4"}`,borderRadius:14,padding:"20px 18px",display:"flex",gap:16,alignItems:"flex-start",position:"relative",overflow:"hidden",cursor:$?"pointer":"default",transition:"all 0.2s",boxShadow:W?`0 4px 20px ${y}20`:"0 1px 6px rgba(0,0,0,0.04)"},children:[e.jsx("div",{style:{position:"absolute",top:0,left:0,width:3,height:"100%",background:y,borderRadius:"14px 0 0 14px"}}),(((z=i.photos)==null?void 0:z[0])||i.logo||i.photo)&&e.jsx("img",{src:((H=i.photos)==null?void 0:H[0])||i.logo||i.photo,alt:"",style:{width:72,height:72,borderRadius:12,objectFit:"cover",flexShrink:0,background:t.sand},onError:I=>I.target.style.display="none"}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",ga
21p:6,marginBottom:4},children:[e.jsx("h3",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:16,fontWeight:400,color:l?t.cream:t.text,margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:i.name}),e.jsxs("div",{style:{display:"flex",gap:4,flexShrink:0},children:[l&&e.jsx("span",{style:{fontSize:12,fontWeight:700,letterSpacing:.5,textTransform:"uppercase",color:t.cream,background:t.sunset,padding:"2px 7px",borderRadius:12,fontFamily:"'Libre Franklin', sans-serif"},children:"✦ Staff Pick"}),i.stayType&&e.jsx("span",{style:{fontSize:12,fontWeight:700,letterSpacing:.5,textTransform:"uppercase",color:l?t.cream:y,background:l?`${y}40`:`${y}15`,padding:"2px 7px",borderRadius:12,fontFamily:"'Libre Franklin', sans-serif"},children:i.stayType})]})]}),(i.beds||i.guests)&&e.jsxs("div",{style:{fontSize:13,color:l?"rgba(255,255,255,0.75)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif",marginBottom:4},children:[i.beds&&e.jsxs("span",{children:["🛏 ",i.beds," bed",i.beds!==1?"s":""]}),i.beds&&i.guests&&e.jsx("span",{children:" · "}),i.guests&&e.jsxs("span",{children:["👥 ",i.guests]})]}),i.description&&e.jsx("p",{style:{fontSize:14,color:l?"rgba(255,255,255,0.75)":t.textLight,lineHeight:1.5,margin:"0 0 8px",overflow:"hidden",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical"},children:i.description}),i.amenities&&i.amenities.length>0&&e.jsxs("div",{style:{display:"flex",gap:4,flexWrap:"wrap",marginBottom:8},children:[i.amenities.slice(0,3).map(I=>e.jsxs("span",{style:{fontSize:13,padding:"2px 7px",borderRadius:8,background:l?"rgba(255,255,255,0.08)":`${y}08`,color:l?"rgba(255,255,255,0.75)":y,fontFamily:"'Libre Franklin', sans-serif",fontWeight:600},children:[U[I]||"·"," ",I]},I)),i.amenities.length>3&&e.jsxs("span",{style:{fontSize:13,color:l?"rgba(255,255,255,0.75)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif"},children:["+",i.amenities.length-3]})]}),(()=>{const O={fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:l?t.sunset:y,textDecoration:"none",fontFamily:"'Libre Franklin', sans-serif"};return i.bookingUrl?e.jsx("a",{href:i.bookingUrl,target:"_blank",rel:"noopener noreferrer",onClick:N=>N.stopPropagation(),style:O,children:"Book Now →"}):i.website?e.jsx("a",{href:i.website,target:"_blank",rel:"noopener noreferrer",onClick:N=>N.stopPropagation(),style:O,children:"Website →"}):i.email?e.jsx("a",{href:`mailto:${i.email}?subject=Inquiry about ${encodeURIComponent(i.name)}`,onClick:N=>N.stopPropagation(),style:O,children:"Inquire →"}):i.phone?e.jsx("a",{href:`tel:${i.phone}`,onClick:N=>N.stopPropagation(),style:O,children:"Call →"}):null})()]})]},i.id)}),w.length===0&&e.jsxs("div",{style:{textAlign:"center",padding:40},children:[e.jsx("div",{style:{fontSize:36,marginBottom:8},children:"🏕"}),e.jsx("p",{style:{color:t.textMuted,fontSize:15},children:"No properties match your filters."})]})]})]})}),e.jsx("style",{children:`
22        @media (max-width: 768px) {
23          section[style*="calc(100vh"] {
24            flex-direction: column !important;
25            height: auto !important;
26          }
27          section[style*="calc(100vh"] > div:first-child {
28            flex: none !important;
29            height: 50vh !important;
30          }
31          section[style*="calc(100vh"] > div:last-child {
32            flex: none !important;
33            height: auto !important;
34            max-height: 50vh !important;
35            border-left: none !important;
36            border-top: 1px solid ${t.sand} !important;
37          }
38        }
39      `})]})}function Ie({photos:n,onChange:w,maxPhotos:u,isFeatured:s,inputStyle:g}){const[L,C]=E.useState(!1),h=E.useRef(),d=v=>new Promise(F=>{const f=new Image;f.onload=()=>{const B=document.createElement("canvas"),x=Math.min(1,1200/f.width);B.width=f.width*x,B.height=f.height*x,B.getContext("2d").drawImage(f,0,0,B.width,B.height),B.toBlob(p=>F(p||v),"image/jpeg",.82)},f.onerror=()=>F(v),f.src=URL.createObjectURL(v)}),b=async v=>{var f;const F=(f=v.target.files)==null?void 0:f[0];if(!(!F||!F.type.startsWith("image/"))&&!(n.length>=u)){C(!0);try{const B=F.size>14680064e-1?await d(F):F,x=await new Promise((o,m)=>{const i=new FileReader;i.onload=y=>o(y.target.result.split(",")[1]),i.onerror=m,i.readAsDataURL(B)}),c=await(await fetch("/api/upload-image",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({filename:F.name,contentType:"image/jpeg",data:x,folder:"stays"})})).json();c.url&&w([...n,c.url])}catch{}finally{C(!1),v.target.value=""}}},j=v=>w(n.filter((F,f)=>f!==v)),T=s?"rgba(255,255,255,0.6)":t.textLight,R=s?"rgba(255,255,255,0.3)":t.textMuted;return e.jsxs("div",{children:[e.jsxs("label",{style:{fontSize:14,fontWeight:700,color:T,fontFamily:"'Libre Franklin', sans-serif",marginBottom:10,display:"block",letterSpacing:.8,textTransform:"uppercase"},children:["Photos ",e.jsxs("span",{style:{fontWeight:400,color:R},children:["(up to ",u,")"]})]}),e.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:10,marginBottom:10},children:[n.map((v,F)=>e.jsxs("div",{style:{position:"relative",width:80,height:80,borderRadius:10,overflow:"hidden",border:`1px solid ${s?"rgba(255,255,255,0.15)":t.sand}`,flexShrink:0},children:[e.jsx("img",{src:v,alt:"",style:{width:"100%",height:"100%",objectFit:"cover"}}),e.jsx("button",{type:"button",onClick:()=>j(F),style:{position:"absolute",top:3,right:3,width:20,height:20,borderRadius:"50%",border:"none",background:"rgba(0,0,0,0.6)",color:"#fff",fontSize:15,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},children:"×"}),F===0&&e.jsx("div",{style:{position:"absolute",bottom:0,left:0,right:0,background:"rgba(0,0,0,0.5)",color:"#fff",fontSize:8,textAlign:"center",padding:"2px 0",fontFamily:"'Libre Franklin', sans-serif",letterSpacing:.5},children:"MAIN"})]},F)),n.length<u&&e.jsx("button",{type:"button",onClick:()=>{var v;return(v=h.current)==null?void 0:v.click()},disabled:L,style:{width:80,height:80,borderRadius:10,border:`2px dashed ${s?"rgba(255,255,255,0.2)":t.sand}`,background:s?"rgba(255,255,255,0.04)":t.cream,color:R,fontSize:22,cursor:L?"wait":"pointer",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:3},children:L?e.jsx("span",{style:{fontSize:13,fontFamily:"'Libre Franklin', sans-serif"},children:"..."}):e.jsxs(e.Fragment,{children:["+",e.jsx("span",{style:{fontSize:12,fontFamily:"'Libre Franklin', sans-serif"},children:"Add"})]})})]}),e.jsx("input",{ref:h,type:"file",accept:"image/*",style:{display:"none"},onChange:b}),e.jsxs("p",{style:{fontSize:13,color:R,margin:0,fontFamily:"'Libre Franklin', sans-serif"},children:[n.length,"/",u," added. JPG or PNG, max 2MB each. First photo is your main image."]})]})}const ue=[{key:"free",name:"Directory",price:"$0",priceSub:"forever",betaPrice:null,color:t.textMuted,accent:t.warmGray,icon:"📋",headline:"Get Found",tagline:"Your name in the directory s
39o visitors know you exist.",features:["Name & property type","Basic text listing","Visible in directory search"]},{key:"listed",name:"Listed",price:"$9",priceSub:"/mo",betaPrice:"$0",color:t.lakeBlue,accent:t.lakeBlue,icon:"📸",headline:"Stand Out",tagline:"Up to 5 photos, map pin, and an availability calendar - everything a guest needs.",features:["Up to 5 photos","Map pin with address","Availability calendar","Request to Book form","Price & house rules","Amenity badges","Full listing card"]},{key:"featured",name:"Featured",price:"$25",priceSub:"/mo",betaPrice:"$0",color:t.sunset,accent:t.sunset,icon:"✦",headline:"Front & Center",tagline:"Up to 10 photos, top placement, and waitlist auto-notify when dates open up.",features:["Up to 10 photos","Top of directory placement","Staff Pick badge","Waitlist auto-notify on cancellation","Priority in search & map","Featured in weekly newsletter","Social media spotlight post"]}];function Pe({stays:n=[]}){const[w,u]=k.useState("listed"),s=(()=>{try{const r=window.location.hash,a=r.indexOf("?");if(a===-1)return{};
39const S=new URLSearchParams(r.slice(a+1));return{name:S.get("name")||"",email:S.get("email")||""}}catch{return{}}})(),[g,L]=k.useState({name:s.name,stayType:"",address:"",bookingUrl:"",email:s.email,description:"",phone:"",beds:"",guests:"",amenities:[],photos:[],pricePerNight:"",minStay:"",checkIn:"",checkOut:"",houseRules:"",paymentMethod:"",cancellationPolicy:"",bookingConfirmation:"",icalUrl:"",_hp:""}),[C,h]=k.useState(null),[d,b]=k.useState(!1),[j,T]=k.useState(null),R=k.useRef(null),[v,F]=k.useState("form"),[f,B]=k.useState(""),[x,p]=k.useState(!1),[c,o]=k.useState(""),[m,i]=k.useState(!1),y=ue.find(r=>r.key===w),l=w==="featured",W=w==="listed",$=l||W;g.stayType;const z=(r,a)=>L(S=>({...S,[r]:a})),H=r=>L(a=>({...a,amenities:a.amenities.includes(r)?a.amenities.filter(S=>S!==r):[...a.amenities,r]})),I=r=>{u(r)},O=async r=>{if(r.preventDefault(),!g.name.trim()){h("error_name");return}if(!g.email.trim()||!g.email.includes("@")){h("error_email");return}if((g.phone||"").replace(/\D/g,"").length<10){h("error_phone");return}if(!d){h("error_terms");return}h("sending");try{const A=await(await fetch("/api/submit-stay",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...g,photos:g.photos,tier:w,_hp:g._hp})})).json();A.needsVerification?(F("verify"),h(null)):(A.error,h("error"))}catch{h("error")}},N=async()=>{if(f.trim().length!==6){o("Enter the 6-digit code from your text message.");return}p(!0),o("");try{const a=await(await fetch("/api/verify-stay",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({phone:g.phone,code:f.trim(),tier:w})})).json();if(a.error)o(a.error);else if(a.activated)F("activated");else if(a.needsPayment){const A=await(await fetch("/api/create-checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tier:w==="featured"?"stays_featured":"stays_listed",businessName:g.name,email:g.email,priceInCents:w==="featured"?2500:900,mode:"subscription"})})).json();A.url?window.location.href=A.url:o(A.error||G.payment())}}catch{o(G.network())}finally{p(!1)}},ee=async()=>{i(!0);try{await fetch("/api/verify-stay",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({phone:g.phone,resend:!0})})}catch{}finally{setTimeout(()=>i(!1),3e3)}},J={width:"100%",padding:"14px 16px",borderRadius:12,fontFamily:"'Libre Franklin', sans-serif",fontSize:16,outline:"none",boxSizing:"border-box",transition:"all 0.2s ease"},M=l?{...J,background:"rgba(255,255,255,0.06)",border:"1px solid rgba(255,255,255,0.12)",color:t.cream}:{...J,background:t.warmWhite,border:`1px solid ${t.sand}`,color:t.text},P={fontSize:14,fontWeight:600,color:l?"rgba(255,255,255,0.75)":t.textLight,fontFamily:"'Libre Franklin', sans-serif",marginBottom:6,display:"block",letterSpacing:.3},_=l?`linear-gradient(170deg, ${t.night} 0%, #1E2D36 40%, ${t.dusk} 100%)`:$?"#fff":t.warmWhite,K=l?`1px solid ${t.sunset}30`:$?`1px solid ${t.lakeBlue}20`:`1px solid ${t.sand}`;return e.jsxs(e.Fragment,{children:[j&&e.jsx(ce,{images:j.images,startIndex:j.startIndex,onClose:()=>T(null)}),e.jsx("section",{id:"list-property",style:{padding:"80px 24px",background:t.warmWhite},children:e.jsxs("div",{style:{maxWidth:720,margin:"0 auto"},children:[e.jsx(X,{children:"Get Listed"}),e.jsx(ae,{children:"Your booking. Your rules. Your money."}),e.jsx("p",{style:{fontSize:17,color:t.textLight,lineHeight:1.8,textAlign:"center",marginBottom:10,maxWidth:580,margin:"0 auto 10px"},children:"We put your property in front of lake visitors - you handle the booking your own way. No commission on every stay, no platform dictating your cancellation policy, no middleman between you and your guests."}),e.jsx("p",{style:{fontSize:15,color:t.textMuted,lineHeight:1.7,textAlign:"center",marginBottom:20,maxWidth:520,margin:"0 auto 20px"},children:"Take payment by Zelle, bank transfer, PayPal - whatever works for you. Set your own deposit and cancellation terms. Talk directly with guests before they arrive. Keep every dollar."}),e.jsx("div",{style:{textAlign:"center",marginBottom:32},children:e.jsxs("div",{style:{display:"inline-block",background:`${t.sunset}10`,border:`1px solid ${t.sunset}25`,borderRadius:12,padding:"12px 24px"},children:[e.jsx("div",{style:{fontFamily:"'Caveat', cursive",fontSize:17,color:t.sunset,marginBottom:2},children:"Summer Launch - Free through July 4th"}),e.jsx("div",{style:{fontSize:13,color:t.textMuted},children:"Full Listed experience. No credit card. No catch."})]})}),e.jsx("div",{className:"tier-grid",style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:12,marginBottom:32},children:ue.map(r=>{const a=w===r.key;return e.jsxs("button",{type:"button",className:`tier-btn-inner${a?" active":""}`,onClick:()=>I(r.key),style:{position:"relative",background:a&&r.key==="featured"?`linear-gradient(135deg, ${t.night}, ${t.dusk})`:"#fff",borderRadius:16,padding:a?"28px 20px 24px":"24px 18px 20px",border:a?`2.5px solid ${r.accent}`:`1.5px solid ${t.sand}`,cursor:"pointer",textAlign:"center",transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)",transform:a?"scale(1.02)":"scale(1)",boxShadow:a?`0 8px 32px ${r.accent}25, 0 0 0 1px ${r.accent}15`:"0 2px 8px rgba(0,0,0,0.04)",overflow:"hidden"},onMouseEnter:S=>{a||(S.currentTarget.style.transform="scale(1.01)",S.currentTarget.style.borderColor=`${r.accent}60`)},onMouseLeave:S=>{a||(S.currentTarget.style.transform="scale(1)",S.currentTarget.style.borderColor=t.sand)},children:[a&&e.jsx("div",{style:{position:"absolute",top:10,right:10,width:8,height:8,borderRadius:"50%",background:r.accent,boxShadow:`0 0 8px ${r.accent}80`}}),e.jsx("div",{style:{fontSize:28,marginBottom:8,filter:a?"none":"grayscale(0.3)"},children:r.icon}),e.jsx("div",{style:{fontSize:13,fontWeight:700,letterSpacing:2,textTransform:"uppercase",color:a?r.accent:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",marginBottom:6,transition:"color 0.3s"},children:r.name}),r.betaPrice!==void 0&&r.betaPrice!==null?e.jsxs(e.Fragment,{children:[e.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"center",gap:2,marginBottom:2},children:[e.jsx("span",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:a?36:28,color:a&&r.key==="featured"?t.cream:t.text,fontWeight:400,transition:"all 0.3s"},children:r.betaPrice}),e.jsx("span",{style:{fontSize:14,color:a&&r.key==="featured"?"rgba(255,255,255,0.75)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif"},children:"thru July 4"})]}),e.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"center",gap:4,marginBottom:a?10:6},children:[e.jsxs("span",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:a?22:18,color:a&&r.key==="featured"?"rgba(255,255,255,0.6)":t.text,fontWeight:400,transition:"all 0.3s"},children:["then ",r.price]}),e.jsx("span",{style:{fontSize:15,color:a&&r.key==="featured"?"rgba(255,255,255,0.75)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif"},children:r.priceSub})]})]}):e.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"center",gap:2,marginBottom:a?10:6},children:[e.jsx("span",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:a?36:28,color:a&&r.key==="featured"?t.cream:t.text,fontWeight:400,transition:"all 0.3s"},children:r.price}),e.jsx("span",{style:{fontSize:15,color:a&&r.key==="featured"?"rgba(255,255,255,0.75)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif"},children:r.priceSub})]}),a&&e.jsxs("div",{style:{animation:"fadeSlideIn 0.3s ease"},children:[e.jsx("div",{style:{fontSize:15,fontWeight:600,color:r.key==="featured"?t.cream:t.text,fontFamily:"'Libre Franklin', sans-serif",marginBottom:4},children:r.headline}),e.jsx("div",{style:{fontSize:14,color:r.key==="featured"?"rgba(255,255,255,0.75)":t.textLight,lineHeight:1.5,fontFamily:"'Libre Franklin', sans-serif"},children:r.tagline})]})]},r.key)})}),e.jsx("div",{style:{display:"flex",gap:8,flexWrap:"wrap",justifyContent:"center",marginBottom:28,padding:"16px 20px",borderRadius:12,background:l?`${t.sunset}08`:$?`${t.lakeBlue}06`:"transparent",border:$?`1px solid ${y.accent}15`:"none",transition:"all 0.3s"},children:y.features.map(r=>e.jsx("span",{style:{fontSize:13,padding:"5px 12px",borderRadius:20,background:l?`${t.sunset}12`:$?`${t.lakeBlue}10`:`${t.sand}60`,color:l?t.sunset:$?t.lakeBlue:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",fontWeight:600,border:`1px solid ${l?`${t.sunset}20`:$?`${t.lakeBlue}15`:`${t.sand}`}`},children:r},r))}),e.jsxs("div",{style:{marginBottom:32,animation:"sampleFadeIn 0.35s ease"},children:[e.jsx("div",{style:{fontSize:13,fontWeight:700,letterSpacing:2,textTransform:"uppercase",color:y.accent,fontFamily:"'Libre Franklin', sans-serif",textAlign:"center",marginBottom:14},children:"Your listing will look like this"}),w==="free"&&e.jsxs("div",{style:{background:"#fff",border:"1px solid #e0dbd4",borderRadius:16,padding:"32px 28px",display:"flex",gap:24,alignItems:"flex-start",position:"relative",overflow:"hidden",boxShadow:"0 2px 12px rgba(0,0,0,0.06)"},children:[e.jsx("div",{style:{position:"absolute",top:0,left:0,width:4,height:"100%",background:t.lakeBlue,borderRadius:"16px 0 0 16px"}}),e.jsxs("div",{style:{flex:1},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",flexWrap:"wrap",gap:8,marginBottom:6},children:[e.jsx("h3",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:20,fontWeight:400,color:t.text,margin:0},children:"Yeti's Cozy Cabin"}),e.jsx("span",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:t.lakeBlue,background:`${t.lakeBlue}15`,padding:"4px 10px",borderRadius:20,fontFamily:"'Libre Franklin', sans-serif"},children:"Cottage"})]}),e.jsx("p",{style:{fontSize:14,color:t.textMuted,marginTop:6,marginBottom:0,fontStyle:"italic",lineHeight:1.6},children:"That's it. Name and type only - no photo, no description, no booking link. Guests see you exist, but have nothing to go on."})]})]}),w==="listed"&&e.jsxs("div",{className:"sample-card-row",style:{background:"#fff",border:"1px solid #e0dbd4",borderRadius:16,padding:"32px 28px",display:"flex",gap:24,alignItems:"flex-start",position:"relative",overflow:"hidden",boxShadow:"0 2px 12px rgba(0,0,0,0.06)"},children:[e.jsx("div",{style:{position:"absolute",top:0,left:0,width:4,height:"100%",background:t.lakeBlue,borderRadius:"16px 0 0 16px"}}),e.jsx("img",{className:"sample-card-img",src:"/images/yeti/yeti-cabin.webp",alt:"",style:{width:120,height:120,borderRadius:16,objectFit:"cover",flexShrink:0,background:t.sand}}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",flexWrap:"wrap",gap:8,marginBottom:6},children:[e.jsx("h3",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:20,fontWeight:400,color:t.text,margin:0},children:"Yeti's Cozy Cabin"}),e.jsx("span",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:t.lakeBlue,background:`${t.lakeBlue}15`,padding:"4px 10px",borderRadius:20,fontFamily:"'Libre Franklin', sans-serif"},children:"Cottage"})]}),e.jsx("div",{style:{fontSize:14,color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",marginBottom:8},children:"🛏 3 beds · 👥 Sleeps 8"}),e.jsx("p",{style:{fontSize:16,color:t.textLight,lineHeight:1.7,margin:"0 0 14px"},children:"Lakefront cabin with a fire pit, private dock, and the best sunset view on Devils Lake. The kind of place you never want to leave."}),e.jsx("div",{style:{display:"flex",gap:6,flexWrap:"wrap",marginBottom:14},children:["Waterfront","Fire Pit","Dock","WiFi","Kitchen"].map(r=>e.jsxs("span",{style:{fontSize:13,padding:"4px 10px",borderRadius:12,background:`${t.lakeBlue}10`,color:t.lakeBlue,fontFamily:"'Libre Franklin', sans-serif",fontWeight:600,border:`1px solid ${t.lakeBlue}20`},children:[U[r]," ",r]},r))}),e.jsxs("div",{style:{display:"flex",gap:20,flexWrap:"wrap",marginBottom:12},children:[e.jsx("span",{style:{fontSize:14,color:t.textMuted},children:"📍 7832 Devils Lake Hwy"}),e.jsx("span",{style:{fontSize:14,color:t.textMuted},children:"📞 (517) 555-0199"})]}),e.jsx("span",{style:{fontSize:13,fontWeight:700,letterSpacing:1.5,textTransform:"uppercase",color:t.lakeBlue,fontFamily:"'Libre Franklin', sans-serif"},children:"Book Now →"})]})]}),w==="featured"&&(()=>{const r=["/images/yeti/yeti-cabin.webp","/images/yeti/yeti-cabin-2.webp","/images/yeti/yeti-cabin-3.webp"];return e.jsxs("div",{style:{background:t.dusk,border:`1px solid ${t.lakeDark}`,borderRadius:16,position:"relative",overflow:"hidden"},children:[e.jsx("div",{style:{position:"absolute",top:0,left:0,width:4,height:"100%",background:t.sunset,borderRadius:"16px 0 0 16px"}}),e.jsxs("div",{className:"sample-card-row",style:{padding:"32px 28px",display:"flex",gap:24,alignItems:"flex-start"},children:[e.jsx("img",{className:"sample-card-img",src:r[0],alt:"",onClick:()=>T({images:r,startIndex:0}),style:{width:120,height:120,borderRadius:16,objectFit:"cover",flexShrink:0,background:t.night,cursor:"pointer",transition:"transform 0.2s"},onMouseEnter:a=>a.currentTarget.style.transform="scale(1.03)",onMouseLeave:a=>a.currentTarget.style.transform="none"}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",flexWrap:"wrap",gap:8,marginBottom:6},children:[e.jsx("h3",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:20,fontWeight:400,color:t.cream,margin:0},children:"Yeti's Cozy Cabin"}),e.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center",flexWrap:"wrap"},children:[e.jsx("span",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:t.cream,background:t.sunset,padding:"4px 10px",borderRadius:20,fontFamily:"'Libre Franklin', sans-serif"},children:"✦ Staff Pick"}),e.jsx("span",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:t.cream,background:`${t.lakeBlue}40`,padding:"4px 10px",borderRadius:20,fontFamily:"'Libre Franklin', sans-serif"},children:"Cottage"})]})]}),e.jsx("div",{style:{fontSize:14,color:"rgba(255,255,255,0.75)",fontFamily:"'Libre Franklin', sans-serif",marginBottom:8},children:"🛏 3 beds · 👥 Sleeps 8"}),e.jsx("p",{style:{fontSize:16,color:"rgba(255,255,255,0.7)",lineHeight:1.7,margin:"0 0 14px"},children:"Lakefront cabin with a hot tub, fire pit, and the best sunset view on Devils Lake. The kind of place you never want to leave."}),e.jsx("div",{style:{display:"flex",gap:6,flexWrap:"wrap",marginBottom:14},children:["Waterfront","Fire Pit","Dock","WiFi","Kitchen"].map(a=>e.jsxs("span",{style:{fontSize:13,padding:"4px 10px",borderRadius:12,background:"rgba(255,255,255,0.1)",color:"rgba(255,255,255,0.6)",fontFamily:"'Libre Franklin', sans-serif",fontWeight:600,border:"1px solid rgba(255,255,255,0.08)"},children:[U[a]," ",a]},a))}),e.jsxs("div",{style:{display:"flex",gap:20,flexWrap:"wrap",marginBottom:12},children:[e.jsx("span",{style:{fontSize:14,color:"rgba(255,255,255,0.75)"},children:"📍 7832 Devils Lake Hwy"}),e.jsx("span",{style:{fontSize:14,color:"rgba(255,255,255,0.75)"},children:"📞 (517) 555-0199"})]}),e.jsx("span",{style:{fontSize:13,fontWeight:700,letterSpacing:1.5,textTransform:"uppercase",color:t.sunset,fontFamily:"'Libre Franklin', sans-serif"},children:"Book Now →"})]})]}),e.jsx("div",{className:"gallery-strip",style:{display:"flex",gap:10,padding:"0 28px 24px",borderTop:"1px solid rgba(255,255,255,0.06)",paddingTop:20,overflowX:"auto"},children:r.map((a,S)=>e.jsx("img",{src:a,alt:"",onClick:()=>T({images:r,startIndex:S}),style:{height:110,width:"auto",flexShrink:0,borderRadius:12,cursor:"pointer",transition:"transform 0.2s, box-shadow 0.2s"},onMouseEnter:A=>{A.currentTarget.style.transform="scale(1.03)",A.currentTarget.style.boxShadow="0 4px 20px rgba(0,0,0,0.4)"},onMouseLeave:A=>{A.currentTarget.style.transform="none",A.currentTarget.style.boxShadow="none"}},S))})]})})()]},w),e.jsxs("div",{ref:R,style:{background:_,border:K,animation:"sampleFadeIn 0.35s ease",borderRadius:20,padding:l?"40px 32px":$?"36px 28px":"28px 24px",boxShadow:l?"0 24px 64px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05)":$?"0 8px 32px rgba(0,0,0,0.06)":"none",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:[l&&e.jsxs("div",{style:{textAlign:"center",marginBottom:32},children:[e.jsx("div
39",{style:{display:"inline-block",fontSize:12,fontWeight:800,letterSpacing:3,textTransform:"uppercase",color:t.sunset,background:`${t.sunset}15`,padding:"6px 18px",borderRadius:20,border:`1px solid ${t.sunset}25`,fontFamily:"'Libre Franklin', sans-serif",marginBottom:12},children:"Front & Center"}),e.jsx("h3",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:24,color:t.cream,fontWeight:400,margin:"0 0 8px",lineHeight:1.3},children:"Your property deserves more attention"}),e.jsx("p",{style:{fontSize:15,color:"rgba(255,255,255,0.75)",margin:0,lineHeight:1.6},children:"The kind of listing guests bookmark, share with friends, and come back to every summer."})]}),W&&e.jsxs("div",{style:{textAlign:"center",marginBottom:24},children:[e.jsx("h3",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:20,color:t.text,fontWeight:400,margin:"0 0 6px"},children:"Build Your Listing"}),e.jsx("p",{style:{fontSize:15,color:t.textLight,margin:0},children:"Photos, details, and a direct booking link - guests get everything they need."})]}),v==="activated"?e.jsxs("div",{style:{textAlign:"center",padding:48,background:l?"rgba(255,255,255,0.04)":t.cream,borderRadius:16,border:`1px solid ${l?"rgba(255,255,255,0.08)":`${t.sage}30`}`},children:[e.jsx("div",{style:{fontSize:56,marginBottom:16,animation:"staysPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1)"},children:"🏡"}),e.jsxs("h3",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:24,color:l?t.cream:t.text,marginBottom:10,fontWeight:400},children:[g.name||"Your property"," is on the map!"]}),e.jsx("div",{style:{fontFamily:"'Caveat', cursive",fontSize:18,color:t.sunset,marginBottom:20},children:"You're live for summer - welcome aboard."}),e.jsx("p",{style:{fontSize:16,color:l?"rgba(255,255,255,0.75)":t.textLight,lineHeight:1.8,margin:"0 0 16px",maxWidth:480,marginLeft:"auto",marginRight:"auto"},children:"Your listing is live on the stays page. Visitors can find you on the map, see your details, and click through to book with you directly. Check your texts for a confirmation."}),e.jsx("p",{style:{fontSize:15,color:l?"rgba(255,255,255,0.75)":t.textMuted,lineHeight:1.7,margin:"0 0 20px",maxWidth:460,marginLeft:"auto",marginRight:"auto"},children:"Before July 4th we'll send you details about keeping your listing live after the summer launch period ends - month to month, no contract, cancel anytime."}),e.jsxs("div",{style:{background:l?"rgba(255,255,255,0.06)":"#f0f8ff",border:`1px solid ${l?"rgba(255,255,255,0.1)":t.lakeBlue+"30"}`,borderRadius:12,padding:"16px 20px",maxWidth:460,margin:"0 auto 28px",textAlign:"left"},children:[e.jsx("div",{style:{fontSize:14,fontWeight:700,color:l?t.cream:t.lakeBlue,fontFamily:"'Libre Franklin', sans-serif",letterSpacing:.5,marginBottom:6},children:"Next step: set your availability"}),e.jsx("p",{style:{fontSize:14,color:l?"rgba(255,255,255,0.75)":t.textLight,margin:"0 0 10px",lineHeight:1.6,fontFamily:"'Libre Franklin', sans-serif"},children:"Guests can see and select your available dates in real time. Head to your manage page to block out dates or add your Airbnb/VRBO calendar for automatic sync."}),e.jsx("a",{href:"/stays/manage",style:{fontSize:13,fontWeight:700,color:l?t.sunsetLight:t.lakeBlue,fontFamily:"'Libre Franklin', sans-serif",letterSpacing:1,textTransform:"uppercase",textDecoration:"none"},children:"Set Up Calendar →"})]}),e.jsx("a",{href:"/stays",style:{display:"inline-block",padding:"14px 32px",background:t.lakeBlue,color:t.cream,borderRadius:28,fontFamily:"'Libre Franklin', sans-serif",fontSize:15,fontWeight:700,letterSpacing:1.5,textTransform:"uppercase",textDecoration:"none"},children:"See Your Listing →"}),e.jsx("style",{children:"@keyframes staysPop { 0% { transform: scale(0); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }"})]}):v==="verify"?e.jsxs("div",{style:{textAlign:"center",padding:"44px 28px",background:l?"rgba(255,255,255,0.04)":t.cream,borderRadius:16,border:`1px solid ${l?"rgba(255,255,255,0.1)":`${t.sage}20`}`},children:[e.jsx("div",{style:{fontSize:40,marginBottom:16},children:"📱"}),e.jsx("h3",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:22,color:l?t.cream:t.text,fontWeight:400,margin:"0 0 8px"},children:"Check your texts"}),e.jsxs("p",{style:{fontSize:16,color:l?"rgba(255,255,255,0.75)":t.textLight,lineHeight:1.8,margin:"0 0 28px"},children:["We sent a 6-digit code to ",e.jsx("strong",{style:{color:l?t.sunsetLight:t.text},children:g.phone})]}),e.jsx("div",{style:{maxWidth:240,margin:"0 auto 20px"},children:e.jsx("input",{type:"text",inputMode:"numeric",maxLength:6,value:f,onChange:r=>B(r.target.value.replace(/\D/g,"").slice(0,6)),placeholder:"000000",autoFocus:!0,style:{width:"100%",boxSizing:"border-box",padding:"16px 20px",border:`2px solid ${c?"#e07070":l?"rgba(255,255,255,0.2)":t.sand}`,borderRadius:12,background:l?"rgba(255,255,255,0.06)":t.warmWhite,color:l?t.cream:t.text,fontFamily:"'Libre Franklin', sans-serif",fontSize:28,fontWeight:700,textAlign:"center",letterSpacing:8,outline:"none",transition:"border-color 0.2s"},onFocus:r=>{c||(r.currentTarget.style.borderColor=t.lakeBlue)},onBlur:r=>{c||(r.currentTarget.style.borderColor=l?"rgba(255,255,255,0.2)":t.sand)}})}),c&&e.jsx("div",{style:{fontSize:15,color:"#e07070",fontWeight:500,marginBottom:16},children:c}),e.jsx("button",{onClick:N,disabled:x||f.length!==6,style:{padding:"14px 36px",background:x?t.sand:t.lakeBlue,color:t.cream,border:"none",borderRadius:28,fontSize:15,fontWeight:700,letterSpacing:1.5,textTransform:"uppercase",cursor:x?"default":"pointer",fontFamily:"'Libre Franklin', sans-serif",transition:"background 0.2s",o
39pacity:f.length!==6?.5:1},children:x?"Verifying...":"Verify & Get Listed →"}),e.jsx("div",{style:{marginTop:20},children:e.jsx("button",{onClick:ee,disabled:m,style:{background:"none",border:"none",fontFamily:"'Libre Franklin', sans-serif",fontSize:14,color:m?t.sage:t.textMuted,cursor:m?"default":"pointer",padding:"6px 12px"},children:m?"✓ Code re-sent":"Didn't get it? Resend code"})})]}):e.jsxs("form",{onSubmit:O,style:{display:"flex",flexDirection:"column",gap:l?20:16},children:[e.jsx("div",{style:{display:"none"},children:e.jsx("input",{value:g._hp,onChange:r=>z("_hp",r.target.value),tabIndex:-1,autoComplete:"off"})}),e.jsxs("div",{children:[e.jsx("label",{style:P,children:"Property Name *"}),e.jsx("input",{style:{...M,...l?{fontSize:18,padding:"18px 20px",fontFamily:"'Libre Baskerville', serif"}:{}},value:g.name,onChange:r=>z("name",r.target.value),required:!0,placeholder:"e.g. Lakeside Cottage"})]}),e.jsxs("div",{className:"form-grid-2",style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:12},children:[e.jsxs("div",{children:[e.jsx("label",{style:P,children:"Type"}),e.jsxs("select",{style:{...M,...l?{background:"rgba(255,255,255,0.06)"}:{background:t.warmWhite}},value:g.stayType,onChange:r=>z("stayType",r.target.value),children:[e.jsx("option",{value:"",children:"Select type"}),le.filter(r=>r!=="All").map(r=>e.jsx("option",{value:r,children:r},r))]})]}),e.jsxs("div",{children:[e.jsxs("label",{style:P,children:["Phone * ",e.jsx("span",{style:{fontWeight:400,letterSpacing:0},children:"- for verification"})]}),e.jsx("input",{style:M,value:g.phone,onChange:r=>z("phone",r.target.value),placeholder:"(555) 123-4567"})]})]}),e.jsxs("div",{children:[e.jsx("label",{style:P,children:"Email *"}),e.jsx("input",{type:"email",style:M,value:g.email,onChange:r=>z("email",r.target.value),placeholder:"[email protected]"})]}),$&&e.jsxs(e.Fragment,{children:[e.jsx(Ie,{photos:g.photos,onChange:r=>z("photos",r),maxPhotos:l?10:5,isFeatured:l,inputStyle:M}),e.jsxs("div",{children:[e.jsx("label",{style:P,children:"Address"}),e.jsx("input",{style:M,value:g.address,onChange:r=>z("address",r.target.value),placeholder:"123 Lake St, Manitou Beach"})]}),e.jsxs("div",{children:[e.jsxs("label",{style:P,children:["Booking URL ",e.jsx("span",{style:{fontWeight:400,color:l?"rgba(255,255,255,0.75)":t.textMuted},children:"(optional - Airbnb, VRBO, your own site)"})]}),e.jsx("input",{style:M,value:g.bookingUrl,onChange:r=>z("bookingUrl",r.target.value),placeholder:"https://airbnb.com/rooms/..."})]}),e.jsxs("div",{children:[e.jsxs("label",{style:P,children:["Availability calendar link ",e.jsx("span",{style:{fontWeight:400,color:l?"rgba(255,255,255,0.75)":t.textMuted},children:"(optional)"})]}),e.jsx("input",{style:M,value:g.icalUrl,onChange:r=>z("icalUrl",r.target.value),placeholder:"https://www.airbnb.com/calendar/ical/..."}),e.jsxs("p",{style:{fontSize:13,color:l?"rgba(255,255,255,0.75)":t.textMuted,margin:"6px 0 0",lineHeight:1.6},children:["On Airbnb or VRBO? Paste your calendar export link and we sync your booked dates every day. Not on any platform? ",e.jsx("strong",{style:{fontWeight:700},children:"Google Calendar is free"})," - create events for your bookings, grab the public iCal link from Calendar Settings, and paste it here."]})]}),e.jsxs("div",{children:[e.jsxs("label",{style:P,children:["How you take bookings ",e.jsx("span",{style:{fontWeight:400,color:l?"rgba(255,255,255,0.75)":t.textMuted},children:"(guests see this before reaching out)"})]}),e.jsxs("div",{style:{display:"grid",gap:10},children:[e.jsx("input",{style:M,value:g.paymentMethod,onChange:r=>z("paymentMethod",r.target.value),placeholder:"Payment method - e.g. Zelle, PayPal, bank transfer"}),e.jsx("input",{style:M,value:g.cancellationPolicy,onChange:r=>z("cancellationPolicy",r.target.value),placeholder:"Cancellation policy - e.g. 50% deposit, full refund 30+ days out"}),e.jsx("input",{style:M,value:g.bookingConfirmation,onChange:r=>z("bookingConfirmation",r.target.value),placeholder:"Confirmation - e.g. Written rental agreement sent by email"})]}),e.jsx("p",{style:{fontSize:13,color:l?"rgba(255,255,255,0.75)":t.textMuted,margin:"8px 0 0",lineHeight:1.6},children:"Your booking, your rules. We never handle payments or stand between you and your guests."})]}),e.jsxs("div",{className:"form-grid-2",style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:12},children:[e.jsxs("div",{children:[e.jsx("label",{style:P,children:"Bedrooms"}),e.jsx("input",{type:"number",min:"0",style:M,value:g.beds,onChange:r=>z("beds",r.target.value),placeholder:"3"})]}),e.jsxs("div",{children:[e.jsx("label",{style:P,children:"Max Guests"}),e.jsx("input",{type:"number",min:"0",style:M,value:g.guests,onChange:r=>z("guests",r.target.value),placeholder:"8"})]})]}),e.jsxs("div",{children:[e.jsx("label",{style:P,children:l?"Description - sell the experience, not just the specs":"Description"}),e.jsx("textarea",{style:{...M,height:l?120:80,resize:"vertical",lineHeight:1.7}
39,value:g.description,onChange:r=>z("description",r.target.value),placeholder:l?"What makes this place special? The view from the dock at sunset? The fire pit where everyone gathers? Paint the picture...":"Tell visitors about your property..."})]}),e.jsxs("div",{children:[e.jsx("label",{style:P,children:"Amenities"}),e.jsx("div",{style:{display:"flex",gap:8,flexWrap:"wrap"},children:de.map(r=>{const a=g.amenities.includes(r);return e.jsxs("button",{type:"button",onClick:()=>H(r),style:{fontSize:15,padding:"8px 16px",borderRadius:24,cursor:"pointer",border:`1.5px solid ${a?l?t.sunset:t.sage:l?"rgba(255,255,255,0.1)":t.sand}`,background:a?l?`${t.sunset}20`:`${t.sage}15`:l?"rgba(255,255,255,0.04)":"transparent",color:a?l?t.sunset:t.sage:l?"rgba(255,255,255,0.4)":t.textMuted,fontFamily:"'Libre Franklin', sans-serif",fontWeight:a?700:500,transition:"all 0.2s ease",transform:a?"scale(1.02)":"scale(1)"},children:[U[r]," ",r]},r)})})]}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:12},children:[e.jsxs("div",{children:[e.jsx("label",{style:P,children:"Price per night"}),e.jsx("input",{style:M,value:g.pricePerNight,onChange:r=>z("pricePerNight",r.target.value),placeholder:"e.g. From $150/night"})]}),e.jsxs("div",{children:[e.jsx("label",{style:P,children:"Minimum stay (nights)"}),e.jsx("input",{type:"number",min:"1",style:M,value:g.minStay,onChange:r=>z("minStay",r.target.value),placeholder:"e.g. 2"})]}),e.jsxs("div",{children:[e.jsx("label",{style:P,children:"Check-in time"}),e.jsx("input",{style:M,value:g.checkIn,onChange:r=>z("checkIn",r.target.value),placeholder:"e.g. 3:00 PM"})]}),e.jsxs("div",{children:[e.jsx("label",{style:P,children:"Check-out time"}),e.jsx("input",{style:M,value:g.checkOut,onChange:r=>z("checkOut",r.target.value),placeholder:"e.g. 11:00 AM"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{style:P,children:["House rules ",e.jsx("span",{style:{fontWeight:400,color:l?"rgba(255,255,255,0.75)":t.textMuted},children:"(optional)"})]}),e.jsx("textarea",{style:{...M,height:64,resize:"vertical",lineHeight:1.6},value:g.houseRules,onChange:r=>z("houseRules",r.target.value),placeholder:"No smoking, pets by arrangement, quiet after 10pm..."})]})]}),e.jsxs("label",{style:{display:"flex",alignItems:"flex-start",gap:10,cursor:"pointer",padding:"14px 16px",borderRadius:10,background:l?"rgba(255,255,255,0.05)":"#f9f7f4",border:`1px solid ${l?"rgba(255,255,255,0.08)":"#e8e2da"}`},children:[e.jsx("input",{type:"checkbox",checked:d,onChange:r=>b(r.target.checked),style:{marginTop:2,flexShrink:0,accentColor:l?t.sunset:t.lakeBlue,width:16,height:16}}),e.jsx("span",{style:{fontSize:14,color:l?"rgba(255,255,255,0.75)":t.textLight,fontFamily:"'Libre Franklin', sans-serif",lineHeight:1.6},children:"I understand Manitou Beach is a local discovery platform, not a booking agent. All guest arrangements, payments, and any disputes are my responsibility as the property owner. Manitou Beach and YetiGroove Media LLC accept no liability for transactions, property damage, or guest conduct."})]}),e.jsxs("div",{style:{marginTop:l?12:8},children:[C==="error_name"&&e.jsx("p",{style:{fontSize:15,color:"#c0392b",textAlign:"center",margin:"0 0 8px"},children:"Property name is required."}),C==="error_email"&&e.jsx("p",{style:{fontSize:15,color:"#c0392b",textAlign:"center",margin:"0 0 8px"},children:"A valid email address is required."}),C==="error_phone"&&e.jsx("p",{style:{fontSize:15,color:"#c0392b",textAlign:"center",margin:"0 0 8px"},children:"A valid phone number is required - we'll text you a verification code."}),C==="error_terms"&&e.jsx("p",{style:{fontSize:15,color:"#c0392b",textAlign:"center",margin:"0 0 8px"},children:"Please agree to the terms above before listing."}),e.jsx(V,{type:"submit",variant:l||$?"primary":"outlineDark",style:{width:"100%",padding:l?"18px 24px":"14px 20px",fontSize:l?16:15,borderRadius:l?14:12,...l?{background:`linear-gradient(135deg, ${t.sunset}, ${t.sunsetLight})`,boxShadow:`0 4px 20px ${t.sunset}40`}:{}},children:C==="sending"?"Sending verification code...":"Get on the Map →"})]}),e.jsx("p",{style:{fontSize:13,color:l?"rgba(255,255,255,0.75)":t.textMuted,textAlign:"center",lineHeight:1.7,margin:"4px 0 0"},children:"We'll text a verification code to your phone. Once verified, your listing goes live."}),C==="error"&&e.jsx("p",{style:{color:l?"#E8A87C":"#c0392b",fontSize:15,textAlign:"center"},children:G.oops()})]})]},`form-${w}`),e.jsx("style",{children:`
40          @keyframes fadeSlideIn {
41            from { opacity: 0; transform: translateY(6px); }
42            to { opacity: 1; transform: translateY(0); }
43          }
44          @keyframes sampleFadeIn {
45            from { opacity: 0; transform: translateY(8px) scale(0.98); }
46            to { opacity: 1; transform: translateY(0) scale(1); }
47          }
48        `})]})})]})}function Ae(){const[n,w]=k.useState(""),[u,s]=k.useState(null),[g,L]=k.useState([]),[C,h]=k.useState(null),[d,b]=k.useState({}),[j,T]=k.useState(null),R=async c=>{if(c.preventDefault(),!!n.trim()){s("loading"),L([]),h(null);try{const m=await(await fetch(`/api/stays?manage=${encodeURIComponent(n.trim())}`)).json();m.stays&&m.stays.length>0?(L(m.stays),s("found")):s("not-found")}catch{s("error")}}},v=c=>{h(c.pageId),T(null),b({name:c.name||"",stayType:c.stayType||"",phone:c.phone||"",email:c.email||"",website:c.website||"",bookingUrl:c.bookingUrl||"",description:c.description||"",address:c.address||"",beds:c.beds??"",guests:c.guests??"",amenities:c.amenities||[],photoUrl:c.photo||"",photoUrl2:c.photo2||"",photoUrl3:c.photo3||""})},F=async c=>{if(c.preventDefault(),!!C){T("saving");try{(await fetch("/api/stays",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({pageId:C,...d})})).ok?(T("saved"),L(m=>m.map(i=>i.pageId===C?{...i,...d,photo:d.photoUrl,photo2:d.photoUrl2,photo3:d.photoUrl3}:i)),setTimeout(()=>h(null),1500)):T("error")}catch{T("error")}}},f=(c,o)=>b(m=>({...m,[c]:o})),B=c=>b(o=>({...o,amenities:o.amenities.includes(c)?o.amenities.filter(m=>m!==c):[...o.amenities,c]})),x={width:"100%",padding:"12px 14px",borderRadius:12,fontFamily:"'Libre Franklin', sans-serif",fontSize:16,outline:"none",boxSizing:"border-box",background:t.warmWhite,border:`1px solid ${t.sand}`,color:t.text,transition:"all 0.2s ease"},p={fontSize:14,fontWeight:600,color:t.textLight,fontFamily:"'Libre Franklin', sans-serif",marginBottom:6,display:"block",letterSpacing:.3};return e.jsx("section",{id:"manage-listing",style:{padding:"60px 24px 80px",background:t.cream}
48,children:e.jsxs("div",{style:{maxWidth:640,margin:"0 auto"},children:[e.jsx(X,{children:"Already Listed?"}),e.jsx(ae,{children:"Manage Your Listing"}),e.jsx("p",{style:{fontSize:17,color:t.textLight,lineHeight:1.7,textAlign:"center",marginBottom:32},children:"Enter the email you used when you listed your property. We'll pull up your listing so you can update it."}),e.jsxs("form",{onSubmit:R,style:{display:"flex",gap:12,maxWidth:480,margin:"0 auto 32px"},children:[e.jsx("input",{type:"email",style:{...x,flex:1},value:n,onChange:c=>w(c.target.value),placeholder:"[email protected]",required:!0}),e.jsx(V,{type:"submit",variant:"outlineDark",small:!0,style:{whiteSpace:"nowrap"},children:u==="loading"?"Looking...":"Find My Listing"})]}),u==="not-found"&&e.jsxs("div",{style:{textAlign:"center",padding:"32px 20px",background:t.warmWhite,borderRadius:16,border:`1px solid ${t.sand}`},children:[e.jsx("div",{style:{fontSize:36,marginBottom:12},children:"🔍"}),e.jsxs("p",{style:{fontSize:16,color:t.textLight,margin:0,lineHeight:1.6},children:["No listing found for ",e.jsx("strong",{children:n}),". Double-check the email, or"," ",e.jsx("a",{href:"#list-property",style:{color:t.lakeBlue,textDecoration:"none",fontWeight:600},children:"list your property"})," to get started."]})]}),u==="error"&&e.jsx("p",{style:{color:"#c0392b",fontSize:15,textAlign:"center"},children:G.oops()}),u==="found"&&g.map(c=>e.jsx("div",{style:{background:"#fff",border:`1px solid ${t.sand}`,borderRadius:16,padding:"24px 24px",marginBottom:16,boxShadow:"0 2px 12px rgba(0,0,0,0.04)"},children:C===c.pageId?e.jsxs("form",{onSubmit:F,style:{display:"flex",flexDirection:"column",gap:14},children:[e.jsxs("div",{style:{fontSize:13,fontWeight:700,letterSpacing:2,textTransform:"uppercase",color:t.lakeBlue,fontFamily:"'Libre Franklin', sans-serif",marginBottom:4},children:["Editing: ",c.name]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Property Name *"}),e.jsx("input",{style:x,value:d.name,onChange:o=>f("name",o.target.value),required:!0})]}),e.jsxs("div",{className:"form-grid-2",style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:10},children:[e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Type"}),e.jsxs("select",{style:x,value:d.stayType,onChange:o=>f("stayType",o.target.value),children:[e.jsx("option",{value:"",children:"Select type"}),le.filter(o=>o!=="All").map(o=>e.jsx("option",{value:o,children:o},o))]})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Phone"}),e.jsx("input",{style:x,value:d.phone,onChange:o=>f("phone",o.target.value),placeholder:"(555) 123-4567"})]})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Email"}),e.jsx("input",{type:"email",style:x,value:d.email,onChange:o=>f("email",o.target.value)})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Address"}),e.jsx("input",{style:x,value:d.address,onChange:o=>f("address",o.target.value),placeholder:"123 Lake St, Manitou Beach"})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Booking URL"}),e.jsx("input",{style:x,value:d.bookingUrl,onChange:o=>f("bookingUrl",o.target.value),placeholder:"https://airbnb.com/rooms/..."})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Website"}),e.jsx("input",{style:x,value:d.website,onChange:o=>f("website",o.target.value),placeholder:"https://..."})]}),e.jsxs("div",{className:"form-grid-2",style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:10},children:[e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Bedrooms"}),e.jsx("input",{type:"number",min:"0",style:x,value:d.beds,onChange:o=>f("beds",o.target.value)})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Max Guests"}),e.jsx("input",{type:"number",min:"0",style:x,value:d.guests,onChange:o=>f("guests",o.target.value)})]})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Description"}),e.jsx("textarea",{style:{...x,height:80,resize:"vertical",lineHeight:1.7},value:d.description,onChange:o=>f("description",o.target.value)})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Photo URL"}),e.jsx("input",{style:x,value:d.photoUrl,onChange:o=>f("photoUrl",o.target.value),placeholder:"Paste image URL"})]}),(c.tier==="featured"||d.photoUrl2||d.photoUrl3)&&e.jsxs("div",{className:"form-grid-2",style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:10},children:[e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Photo 2"}),e.jsx("input",{style:x,value:d.photoUrl2,onChange:o=>f("photoUrl2",o.target.value),placeholder:"Paste image URL"})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Photo 3"}),e.jsx("input",{style:x,value:d.photoUrl3,onChange:o=>f("photoUrl3",o.target.value),placeholder:"Paste image URL"})]})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:"Amenities"}),e.jsx("div",{style:{display:"flex",gap:6,flexWrap:"wrap"},children:de.map(o=>{const m=d.amenities.includes(o);return e.jsxs("button",{type:"button",onClick:()=>B(o),style:{fontSize:14,padding:"6px 12px",borderRadius:20,cursor:"pointer",border:`1.5px solid ${m?t.sage:t.sand}`,background:m?`${t.sage}15`:"transparent",color:m?t.sage:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",fontWeight:m?700:500,transition:"all 0.2s"},children:[U[o]," ",o]},o)})})]}),e.jsxs("div",{style:{display:"flex",gap:12,marginTop:8},children:[e.jsx(V,{type:"submit",variant:"primary",small:!0,style:{flex:1},children:j==="saving"?"Saving...":j==="saved"?"Saved!":"Save Changes"}),e.jsx(V,{type:"button",variant:"outlineDark",small:!0,onClick:()=>h(null),style:{flex:0},children:"Cancel"})]}),j==="error"&&e.jsx("p",{style:{color:"#c0392b",fontSize:14,textAlign:"center",margin:0},children:G.oops()})]}):e.jsxs("div",{className:"manage-card-row",style:{display:"flex",gap:20,alignItems:"flex-start"}
48,children:[c.photo&&e.jsx("img",{src:c.photo,alt:"",style:{width:80,height:80,borderRadius:12,objectFit:"cover",flexShrink:0,background:t.sand}}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",gap:8,marginBottom:4},children:[e.jsx("h4",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:18,fontWeight:400,color:t.text,margin:0},children:c.name}),e.jsxs("div",{style:{display:"flex",gap:6},children:[c.tier==="featured"&&e.jsx("span",{style:{fontSize:12,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:"#fff",background:t.sunset,padding:"3px 8px",borderRadius:12,fontFamily:"'Libre Franklin', sans-serif"},children:"Featured"}),c.stayType&&e.jsx("span",{style:{fontSize:12,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:Y[c.stayType]||t.lakeBlue,background:`${Y[c.stayType]||t.lakeBlue}15`,padding:"3px 8px",borderRadius:12,fontFamily:"'Libre Franklin', sans-serif"},children:c.stayType})]})]}),c.description&&e.jsx("p",{style:{fontSize:15,color:t.textLight,margin:"4px 0 12px",lineHeight:1.6},children:c.description.length>120?c.description.slice(0,120)+"...":c.description}),e.jsx(V,{variant:"outlineDark",small:!0,onClick:()=>v(c),children:"Edit Listing"})]})]})},c.pageId))]})})}function Ee(){const[n,w]=k.useState([]),[u,s]=k.useState(!0),[g,L]=k.useState("All"),[C,h]=k.useState("list"),[d,b]=k.useState(""),[j,T]=k.useState(""),[R,v]=k.useState([]),[F,f]=k.useState(!1),B=d||j||R.length>0,x=o=>v(m=>m.includes(o)?m.filter(i=>i!==o):[...m,o]),p=()=>{L("All"),b(""),T(""),v([])};k.useEffect(()=>{fetch("/api/stays").then(o=>o.json()).then(o=>{w(o.stays||[]),s(!1)}).catch(()=>s(!1))},[]);const c=n.filter(o=>!(g!=="All"&&o.stayType!==g||d&&(o.beds||0)<parseInt(d,10)||j&&(o.guests||0)<parseInt(j,10)||R.length>0&&!R.every(m=>(o.amenities||[]).includes(m))));return e.jsxs("div",{style:{overflowX:"hidden"},children:[e.jsx(be,{title:"Lakefront Stays & Vacation Rentals",description:"Book lakefront stays on Devils Lake, Michigan. Cottages, Airbnbs, tiny homes, camping, and lodging in the heart of the Irish Hills.",path:"/stays",breadcrumbs:[{name:"Home",path:"/"},{name:"Stays",path:"/stays"}],schema:{"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Are there vacation rentals on Devils Lake Michigan?",acceptedAnswer:{"@type":"Answer",text:"Vacation rental properties on Devils Lake Michigan are available through short-term rental platforms including Airbnb and VRBO, with a concentration of lakefront cottages and lake-view homes during summer. The Manitou Beach Michigan platform at manitoubeachmichigan.com lists lodging options including cottages, tiny homes, glamping, and inn accommodations in the Irish Hills area."}},{"@type":"Question",name:"Where can I stay near Manitou Beach Michigan?",acceptedAnswer:{"@type":"Answer",text:"Lodging near Manitou Beach Michigan includes lakefront cottages on Devils Lake, Airbnb and VRBO short-term rentals, bed and breakfasts in the Irish Hills region, and campgrounds in Lenawee County. Devils Lake Inn is among the established lodging options in the Manitou Beach area. Current availability and listings are at manitoubeachmichigan.com."}},{"@type":"Question",name:"Can I rent a lake cottage near Devils Lake Michigan for a week?",acceptedAnswer:{"@type":"Answer",text:"Weekly cottage rentals on Devils Lake Michigan are available through platforms including Airbnb and VRBO, with peak availability running from Memorial Day through Labor Day. Lakefront properties on Devils Lake in Lenawee County range from modest cottages to larger homes accommodating groups and families. The Manitou Beach Michigan platform at manitoubeachmichigan.com lists local lodging providers serving the Irish Hills area."}},{"@type":"Question",name:"Is there camping near Devils Lake Michigan?",acceptedAnswer:{"@type":"Answer",text:"Camping options near Devils Lake Michigan and the Irish Hills region of Lenawee County include private campgrounds and glamping sites within driving distance of Manitou Beach. Seasonal camping availability in the Irish Hills area is listed in the Manitou Beach Michigan directory at manitoubeachmichigan.com."}}]}}),e.jsx(ke,{}),e.jsx("style",{children:`
49        @media (max-width: 600px) {
50          .stay-card-row { flex-direction: column !important; gap: 16px !important; }
51          .stay-card-row .stay-card-logo { width: 100% !important; height: 180px !important; border-radius: 12px !important; }
52          .sample-card-row { flex-direction: column !important; gap: 16px !important; }
53          .sample-card-row .sample-card-img { width: 100% !important; height: 180px !important; border-radius: 12px !important; }
54          .tier-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
55          .form-grid-2 { grid-template-columns: 1fr !important; }
56          .manage-card-row { flex-direction: column !important; gap: 12px !important; }
57          .manage-card-row img { width: 100% !important; height: 160px !important; border-radius: 12px !important; }
58          .gallery-strip { gap: 6px !important; padding: 0 16px 16px !important; }
59          .gallery-strip img { height: 72px !important; border-radius: 8px !important; }
60          .filter-bar-inner { flex-direction: column !important; gap: 10px !important; }
61          .stays-filter-panel { flex-direction: column !important; gap: 16px !important; }
62          .stay-card-header { flex-direction: column !important; align-items: flex-start !important; }
63          .stay-card-meta { flex-direction: column !important; gap: 6px !important; }
64        }
65        @media (max-width: 480px) {
66          .tier-btn-inner { padding: 20px 14px 16px !important; }
67          .tier-btn-inner.active { padding: 24px 16px 20px !important; }
68        }
69      `}),e.jsx(je,{}),e.jsx(ve,{}),e.jsx(We,{}),e.jsxs("section",{style:{padding:"16px 24px",background:t.cream,position:"sticky",top:0,zIndex:100,borderBottom:`1px solid ${t.sand}`},children:[e.jsxs("div",{className:"filter-bar-inner",style:{maxWidth:960,margin:"0 auto",display:"flex",alignItems:"center",justifyContent:"space-between",gap:12},children:[e.jsx("div",{style:{display:"flex",gap:6,flexWrap:"wrap",flex:1,justifyContent:"center"},children:le.map(o=>e.jsx("button",{onClick:()=>L(o),style:{fontSize:13,fontFamily:"'Libre Franklin', sans-serif",fontWeight:600,letterSpacing:1,textTransform:"uppercase",padding:"7px 14px",borderRadius:20,cursor:"pointer",border:`1.5px solid ${g===o?t.lakeBlue:t.sand}`,background:g===o?t.lakeBlue:"transparent",color:g===o?t.cream:t.textMuted,transition:"all 0.2s"},children:o},o))}),e.jsxs("div",{style:{display:"flex",gap:8,flexShrink:0,alignItems:"center"},children:[e.jsxs("button",{onClick:()=>f(o=>!o),style:{fontSize:13,fontFamily:"'Libre Franklin', sans-serif",fontWeight:700,letterSpacing:1,textTransform:"uppercase",padding:"7px 14px",borderRadius:20,cursor:"pointer",border:`1.5px solid ${B?t.sunset:t.sand}`,background:F?B?t.sunset:t.lakeBlue:"transparent",color:F?t.cream:B?t.sunset:t.textMuted,transition:"all 0.2s",position:"relative"},children:[F?"✕ Filters":"⚙ Filters",B&&!F&&e.jsx("span",{style:{position:"absolute",top:-4,right:-4,width:8,height:8,borderRadius:"50%",background:t.sunset}})]}),e.jsxs("div",{style:{display:"flex",borderRadius:10,overflow:"hidden",border:`1.5px solid ${t.sand}`,flexShrink:0},children:[e.jsx("button",{onClick:()=>h("list"),style:{fontSize:14,fontFamily:"'Libre Franklin', sans-serif",fontWeight:600,padding:"7px 14px",cursor:"pointer",border:"none",background:C==="list"?t.lakeBlue:"transparent",color:C==="list"?t.cream:t.textMuted,transition:"all 0.2s",letterSpacing:.5},children:"List"}),e.jsx("button",{onClick:()=>h("map"),style:{fontSize:14,fontFamily:"'Libre Franklin', sans-serif",fontWeight:600,padding:"7px 14px",cursor:"pointer",border:"none",borderLeft:`1px solid ${t.sand}`,background:C==="map"?t.lakeBlue:"transparent",color:C==="map"?t.cream:t.textMuted,transition:"all 0.2s",letterSpacing:.5},children:"Map"})]})]})]}),F&&e.jsxs("div",{style:{maxWidth:960,margin:"12px auto 0",padding:"16px 20px",background:"#fff",borderRadius:14,border:`1px solid ${t.sand}`,boxShadow:"0 2px 12px rgba(0,0,0,0.04)"},children:[e.jsxs("div",{className:"stays-filter-panel",style:{display:"flex",gap:24,flexWrap:"wrap",alignItems:"flex-start"},children:[e.jsxs("div",{style:{display:"flex",gap:12},children:[e.jsxs("div",{children:[e.jsx("label",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",display:"block",marginBottom:6},children:"Min Beds"}),e.jsx("input",{type:"number",min:"1",max:"50",placeholder:"Any",value:d,onChange:o=>b(o.target.value),style:{width:72,padding:"8px 10px",borderRadius:10,border:`1.5px solid ${d?t.lakeBlue:t.sand}`,fontFamily:"'Libre Franklin', sans-serif",fontSize:15,color:t.text,outline:"none",transition:"border-color 0.2s"}})]}),e.jsxs("div",{children:[e.jsx("label",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",display:"block",marginBottom:6},children:"Min Guests"}),e.jsx("input",{type:"number",min:"1",max:"100",placeholder:"Any",value:j,onChange:o=>T(o.target.value),style:{width:72,padding:"8px 10px",borderRadius:10,border:`1.5px solid ${j?t.lakeBlue:t.sand}`,fontFamily:"'Libre Franklin', sans-serif",fontSize:15,color:t.text,outline:"none",transition:"border-color 0.2s"}})]})]}),e.jsxs("div",{style:{flex:1,minWidth:200},children:[e.jsx("label",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:t.textMuted,fontFamily:"'Libre Franklin', sans-serif",display:"block",marginBottom:6},children:"Amenities"}),e.jsx("div",{style:{display:"flex",gap:6,flexWrap:"wrap"},children:de.map(o=>{const m=R.includes(o);return e.jsxs("button",{onClick:()=>x(o),style:{fontSize:13,fontFamily:"'Libre Franklin', sans-serif",fontWeight:600,padding:"5px 12px",borderRadius:16,cursor:"pointer",border:`1.5px solid ${m?t.lakeBlue:t.sand}`,background:m?t.lakeBlue:"transparent",color:m?t.cream:t.textMuted,transition:"all 0.2s"},children:[U[o]," ",o]},o)})})]})]}),B&&e.jsx("div",{style:{marginTop:12,paddingTop:12,borderTop:`1px solid ${t.sand}`},children:e.jsx("button",{onClick:p,style:{fontSize:13,fontFamily:"'Libre Franklin', sans-serif",fontWeight:600,color:t.sunset,background:"none",border:"none",cursor:"pointer",padding:0,textDecoration:"underline"},children:"Clear all filters"})})]})]}),C==="map"?e.jsx(Me,{stays:n,filtered:c}):e.jsx("section",{style:{padding:"60px 24px 80px",background:t.cream}
69,children:e.jsx("div",{style:{maxWidth:800,margin:"0 auto"},children:u?e.jsx("p",{style:{textAlign:"center",color:t.textMuted,fontSize:16},children:"Loading stays..."}):c.length===0?e.jsxs("div",{style:{textAlign:"center",padding:60},children:[e.jsx("div",{style:{fontSize:48,marginBottom:12},children:"🏕"}),e.jsx("p",{style:{color:t.textMuted,fontSize:17,marginBottom:B?12:0},children:B?"No properties match those filters. Try loosening your search.":g==="All"?"No stays listed yet - be the first!":`No ${g} listings yet.`}),B&&e.jsx("button",{onClick:p,style:{fontSize:14,fontFamily:"'Libre Franklin', sans-serif",fontWeight:600,color:t.cream,background:t.sunset,border:"none",padding:"8px 20px",borderRadius:20,cursor:"pointer"},children:"Clear Filters"})]}):e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[c.map((o,m)=>e.jsx($e,{stay:o,i:m},o.id)),e.jsxs("a",{href:"/visitor-wall",style:{display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:12,padding:"20px 24px",borderRadius:16,background:`${t.night}`,border:"1px solid rgba(91,126,149,0.2)",textDecoration:"none",transition:"opacity 0.2s"},onMouseEnter:o=>o.currentTarget.style.opacity="0.85",onMouseLeave:o=>o.currentTarget.style.opacity="1",children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:13,fontWeight:700,letterSpacing:2,textTransform:"uppercase",color:"rgba(255,255,255,0.75)",fontFamily:"'Libre Franklin', sans-serif",marginBottom:4},children:"Visitor Wall"}),e.jsx("div",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:17,color:"#fff",fontWeight:400},children:"🌍 Visitors find their way here from around the world"})]}),e.jsx("span",{style:{fontSize:14,fontWeight:700,letterSpacing:1.5,textTransform:"uppercase",color:t.sunset,fontFamily:"'Libre Franklin', sans-serif"},children:"See the map →"})]})]})})}),e.jsx("section",{style:{padding:"40px 24px",background:`linear-gradient(135deg, ${t.sunset}15, ${t.lakeBlue}10)`,textAlign:"center"},children:e.jsxs("p",{style:{fontSize:17,color:t.text,fontFamily:"'Libre Baskerville', serif",margin:0},children:["Peak season: June - September. ",e.jsx("a",{href:"/events",style:{color:t.sunset,textDecoration:"none",fontWeight:600},children:"See what's happening →"})]})}),e.jsx(Se,{}),e.jsx(Pe,{stays:n}),e.jsx(Ae,{}),e.jsx("section",{style:{padding:"80px 24px",background:t.warmWhite},children:e.jsxs("div",{style:{maxWidth:640,margin:"0 auto"},children:[e.jsx(X,{children:"Common Questions"}),e.jsx(ae,{children:"How It Works"}),[{q:"Is this a booking site?",a:"No - we're not Airbnb or VRBO. We don't handle reservations or take a cut of your bookings. Your listing links directly to wherever you take bookings - your Airbnb page, your VRBO listing, your own website, or just your phone number and email. We send guests your way. That's it."},{q:"What happens after July 4th?",a:"Before July 4th, we'll send you an email and a text with details about keeping your listing live. You pick a tier - $9/month for a full listing with photos, map pin, and booking link, or $25/month for Featured placement with a Staff Pick badge. No obligation. If you don't want to continue, your listing simply moves to a free directory entry."},{q:"Is there a contract?",a:"No. Everything is month to month. Cancel anytime - no fees, no penalties, no awkward phone calls. If you cancel, your listing downgrades to a free directory entry (name and type only)."},{q:"What do visitors actually see?",a:"Visitors come to the Stays page and see a map of all listed properties plus cards with your photos, description, amenity tags, and a direct link to book on your site. Featured listings appear first with a Staff Pick badge and premium card design."},{q:"Can I update my listing after I submit it?",a:'Absolutely. Scroll up to the "Manage Your Listing" section, enter the email you used when you signed up, and you can edit everything - photos, description, amenities, booking link, all of it.'}].map((o,m)=>e.jsx(se,{delay:m*60,children:e.jsxs("div",{style:{marginBottom:20,padding:"24px 28px",background:"#fff",borderRadius:14,border:`1px solid ${t.sand}`,boxShadow:"0 1px 6px rgba(0,0,0,0.03)"},children:[e.jsx("h4",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:16,fontWeight:400,color:t.text,margin:"0 0 10px"},children:o.q}),e.jsx("p",{style:{fontSize:16,color:t.textLight,lineHeight:1.75,margin:0},children:o.a})]})},m))]})}),e.jsx(we,{}),e.jsx(Fe,{pageName:"stays"}),e.jsx(Ce,{})]})}
69export{Ee 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.