PageSourceSearch

https://smallsmall.com/assets/StaySmallSmallSinglePropertyPage-Q_4aLcDa.js

js smallsmall.com collected 2026-10-07 13:38:11 UTC 39,493 bytes, 2 lines download raw bytes

1import{o as e,a as H,U as E,a5 as xe,r as o,aP as oe,aQ as me,aR as he,p as re,z as y,q as p,t as ge,x as Y,ag as $,W as ee,X,a0 as Q,V as ue,ai as Z,ad as je}from"./vendor-BlA_f-X3.js";import{aa as S,ac as m,b as fe,aC as se,aD as ae,aE as be,aF as Ne,aG as ve,e as K,C as _,an as we,ab as ke,P as Se,aH as Ce}from"./index-Dt-pNrU-.js";import{e as W}from"./extractWordsFromHTML-BxOe0nN_.js";import"./react-router-dom-BfvjOE23.js";const Pe=({property:s})=>e.jsxs("section",{className:"mx-5 lg:mx-20 space-y-4 mt-6 mb-14",children:[e.jsx(S,{fontSize:"text-xl",children:"House rules"}),e.jsxs("ul",{className:"grid grid-cols-2 md:grid-cols-3 gap-4 md:gap-6 ",children:[e.jsxs("li",{className:"",children:[e.jsx(S,{fontSize:"base",children:"Check in"}),e.jsxs(m,{children:["Check-in start time: ",e.jsx("span",{children:(s==null?void 0:s.check_in_time)||"2 PM"})," ",e.jsx("br",{}),"Check-in end time: ",e.jsx("span",{children:(s==null?void 0:s.checkInEndTime)||"10 PM"})]})]}),e.jsxs("li",{className:"",children:[e.jsx(S,{fontSize:"base",children:"Check out"}),e.jsxs(m,{children:["Check out before: ",e.jsx("span",{children:(s==null?void 0:s.check_out_time)||"12 PM"})]})]}),e.jsxs("li",{className:"",children:[e.jsx(S,{fontSize:"base",children:"Children and extra beds"}),e.jsx(m,{children:s!=null&&s.children_allowed?`Children allowed: up to ${(s==null?void 0:s.childrenAllowed)||"the specified number"}`:"Children not allowed"})]}),e.jsxs("li",{className:"",children:[e.jsx(S,{fontSize:"base",children:"Damage and Incidentals"}),e.jsx(m,{children:"You will be responsible for any damage to the rental property caused by you or your party during your stay."})]}),e.jsxs("li",{className:"",children:[e.jsx(S,{fontSize:"base",children:"Smoking"}),e.jsx(m,{children:(s==null?void 0:s.smoking_allowed)===!1?"Smoking is not allowed":"Smoking allowed"})]}),e.jsxs("li",{className:"",children:[e.jsx(S,{fontSize:"base",children:"Pets"}),e.jsx(m,{children:(s==null?void 0:s.pets_allowed)===!0?"Pets allowed":"Pets not allowed"})]}),e.jsxs("li",{className:"",children:[e.jsx(S,{fontSize:"base",children:"Cancellation"}),e.jsxs(m,{children:["Cancel your reservation at least ",e.jsxs("span",{className:"font-semibold",children:[(s==null?void 0:s.cancellationDays)||"7"," days"]})," before check-in, and you'll get a full refund. Times are based on the property's local time."]})]})]}),e.jsxs("div",{className:"",children:[e.jsx(S,{fontSize:"base",children:"No refund"}),e.jsx(m,{children:"After that, you won't get a refund."})]})]}),ze=({property:s,name:a,category:l,subcategory:n})=>{var h,x,i,b,f,g;const t=H();return e.jsxs("section",{className:"mx-5 lg:mx-20",children:[e.jsxs("div",{className:"font-duplet flex space-x-1 items-center mt-2 mb-4",children:[e.jsx(m,{fontSize:"text-sm",color:"cursor-pointer",onClick:()=>t("/"),children:"SmallSmall"}),e.jsx(E,{size:11,className:"text-[#6B6B6B]"}),e.jsx(m,{color:"text-[#6B6B6B] text-sm cursor-pointer",onClick:()=>t(-1),children:(h=l==null?void 0:l.replace(/-/g," "))==null?void 0:h.replace(/\b\w/g,c=>c.toUpperCase())}),e.jsx(E,{size:11,className:"text-[#6B6B6B]"}),e.jsx(m,{color:"text-[#6B6B6B] text-sm ",children:(x=n==null?void 0:n.replace(/-/g," "))==null?void 0:x.replace(/\b\w/g,c=>c.toUpperCase())}),e.jsx(E,{size:11,className:"text-[#6B6B6B]"}),e.jsx(m,{color:"text-[#6B6B6B] text-sm",children:(i=a==null?void 0:a.replace(/-/g," "))==null?void 0:i.replace(/\b\w/g,c=>c.toUpperCase())})]}),e.jsxs("div",{className:"flex justify-between items-end",children:[e.jsxs("div",{className:"",children:[e.jsx(S,{fontSize:"text-2xl",children:(f=(b=s==null?void 0:s.apartmentName)==null?void 0:b.replace(/-/g," "))==null?void 0:f.replace(/\b\w/g,c=>c.toUpperCase())}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsxs("div",{className:"flex items-center space-x-1",children:[e.jsx(xe,{fill:"black",size:"14px"}),e.jsx(m,{children:(s==null?void 0:s.rating)||4.5}),e.jsxs("span",{children:["(",((g=s==null?void 0:s.reviews)==null?void 0:g.length)||0,")"]})]}),e.jsx("hr",{className:"w-px h-6 bg-gray-300 border-0"}),e.jsx(m,{children:s==null?void 0:s.address})]})]}),e.jsxs("div",{className:"flex items-end space-x-4",children:[e.jsxs("div",{className:"flex space-x-2 items-center ",children:[e.jsx("div",{className:"w-[50px] h-[50px]",children:e.jsx("img",{src:"/images/icon.png",alt:"",className:"w-full h-full object-cover"})}),e.jsxs("div",{children:[e.jsx(m,{children:"HOST"}),e.jsx(S,{fontSize:"text-base",children:"StaySmallSmall"})]})]}),e.jsx("hr",{className:"w-px h-6 bg-gray-300 border-0"}),e.jsxs("div",{className:"flex space-x-2  pb-1",children:[e.jsxs(fe,{className:"flex items-center space-x-1",onClick:c=>{c.stopPropagation(),se(s)},children:[e.jsx("span",{className:"sr-only",children:"Share this property"}),e.jsx("span",{className:"underline",children:"Share"}
1),e.jsx("img",{src:"/images/share.svg",alt:""})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[e.jsx("span",{className:"sr-only",children:"Save this property"}),e.jsx("span",{className:"underline",children:"Save"}),e.jsx(ae,{property:s})]})]})]})]})]})},Ie="pk.eyJ1IjoicmVudHNtYWxsc21hbGwiLCJhIjoiY20wbnNuMmtiMDE1ODJqc2J4c3NnZjBkMyJ9.Uc5MQKfICOjxthpY-F5G4Q",Be=({property:s})=>{s==null||s.position;const[a,l]=o.useState(!0),[n,t]=o.useState(!1),h=o.useRef(),x=o.useRef(),i=(s==null?void 0:s.latitude)||90,b=(s==null?void 0:s.longitude)||99;o.useEffect(()=>{const g=new IntersectionObserver(c=>{c[0].isIntersecting&&(t(!0),g.disconnect())},{threshold:.1});return x.current&&g.observe(x.current),()=>g.disconnect()},[]);const f=()=>{var c;const g=(c=h.current)==null?void 0:c.getMap().getCanvas();g&&(g.setAttribute("tabindex","-1"),g.style.outline="none")};return e.jsxs("section",{ref:x,className:"mx-5 lg:mx-20 mt-6 mb-14 grid gap-7",children:[e.jsx(S,{fontSize:"text-xl",children:"See location on map"}),n?e.jsxs(oe,{ref:h,initialViewState:{longitude:b,latitude:i,zoom:13},style:{height:"400px",width:"100%",outline:"none"},mapStyle:"mapbox://styles/mapbox/streets-v11",mapboxAccessToken:Ie,onLoad:f,tabIndex:-1,children:[e.jsx(me,{longitude:b,latitude:i,color:"red",onClick:()=>l(!0)}),a&&e.jsx(he,{longitude:b,latitude:i,anchor:"bottom",onClose:()=>l(!1),closeButton:!0,children:e.jsxs("div",{children:[e.jsx("strong",{children:s==null?void 0:s.name}),e.jsx("br",{}),s==null?void 0:s.price]})})]}):e.jsx("div",{className:"h-[400px] w-full bg-gray-200 rounded-lg flex items-center justify-center",children:e.jsx("p",{className:"skeleton animate-none w-full h-[141px] font-duplet flex justify-center items-center",children:"Map not currently available"})})]})},De={"Prepaid meter":"/images/prepaid-meter.svg",Kitchen:"/images/kitchenSketch.svg",Generator:"/images/generator.svg",Water:"/images/water.svg",Wardrobe:"/images/wardrobe.svg",Security:"/images/security.svg",Dinning:"/images/dinning.svg","Waste disposal":"/images/waste-disposal.svg",Refrigerator:"/images/refrigerator.svg","Wi-Fi":"/images/wifi.svg","Free Wi-Fi":"/images/wifi.svg",Parking:"/images/parking.svg",Laundry:"/images/laundry.svg",Gym:"/images/gym.svg","Swimming Pool":"/images/swimming-pool.svg","Air Conditioning":"/images/airconditioning.svg","Air Conditioner":"/images/airconditioning.svg",Ac:"/images/airconditioning.svg",Air:"/images/airconditioning.svg",Heating:"/images/heating.svg","Pet Friendly":"/images/pet-friendly.svg",Balcony:"/images/balcony.svg",Furnished:"/images/furnished.svg",Elevator:"/images/elevator.svg","24/7 Security":"/images/24-7-security.svg",Hanger:"/images/hanger.svg",Bedlines:"/images/bedlines.svg","Electric Iron":"/images/electriciron.svg","Security Camera":"/images/securitycamera.svg",Soap:"/images/soap.svg",Towels:"/images/towel.svg",Towel:"/images/towel.svg","Tissue Paper":"/images/tissuepaper.svg",Television:"/images/television-icon.svg"},Me=({property:s})=>{var a;return e.jsxs("section",{className:"mx-5 lg:mx-20 space-y-4 mt-6 mb-14",children:[e.jsx(S,{fontSize:"text-xl",children:"Amenities"}),e.jsx("ul",{className:"grid grid-cols-2 md:grid-cols-3 gap-4 md:gap-6",children:(a=s==null?void 0:s.amenities_list)==null?void 0:a.map((l,n)=>e.jsxs("li",{className:"flex items-center space-x-1",children:[e.jsx("span",{children:e.jsx("img",{src:De[l]||"/images/default-amenity.svg",alt:""})}),e.jsx(m,{children:l})]},n))})]})},Oe=s=>{const[a,l]=o.useState(1),[n,t]=o.useState(null),[h,x]=o.useState(null),[i,b]=o.useState(!1),[f,g]=o.useState(!1),[c,w]=o.useState(!1),C=re(),v=o.useRef(null),r=H();o.useEffect(()=>{const u=()=>{if(!v.current)return;const d=v.current.getBoundingClientRect();b(d.top<0)};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),o.useEffect(()=>(document.body.style.overflow=f?"hidden":"auto",()=>{document.body.style.overflow="auto"}),[f]);const{data:j}=y({queryKey:["availableDates",s==null?void 0:s.apartmentID],enabled:!!(s!=null&&s.apartmentID),queryFn:()=>ve(s==null?void 0:s.apartmentID)}),B=p(u=>u.auth.isAuthenticated),D=u=>{const d=[];return Array.isArray(u)&&u.forEach(({checkin:k,checkout:A})=>{const U=new Date(k),V=new Date(A);for(let R=new Date(U);R<=V;R.setDate(R.getDate()+1))d.push(R.toISOString().slice(0,10))}),d},P=Array.isArray(j==null?void 0:j.booked_dates)?j==null?void 0:j.booked_dates:(s==null?void 0:s.booked_dates)||[],z=D(P),I=n&&h?Math.ceil((h-n)/(1e3*60*60*24)):0,T=Number(s==null?void 0:s.cancellationDays)||0,F=n||new Date,L=new Date(F);L.setDate(F.getDate()-T);const q=(u=>{if(!u)return"";const d=u.toLocaleDateString("en-US",{weekday:"short"}),k=u.getDate(),A=k%10===1&&k!==11?"st":k%10===2&&k!==12?"nd":k%10===3&&k!==13?"rd":"th";return`${d}. ${k}${A}`})(L),G=u=>u?u.toLocaleDateString("en-US",{month:"short",day:"numeric"}):"",N=u=>{if(!u)return"";const d=u.getFullYear(),k=String(u.getMonth()+1).padStart(2,"0"),A=String(u.getDate()).padStart(2,"0");return`${d}-${k}-${A}`},{mutate:M,isPending:O}=ge({mutationFn:be,onSuccess:u=>{var k;
1const d=(u==null?void 0:u.booking)||((k=u==null?void 0:u.data)==null?void 0:k.booking);if(d){const A=(s==null?void 0:s.price)*(d==null?void 0:d.NumberOfNights),U=(s==null?void 0:s.price)>=3e5?2e5:1e5;C(Ne({apartmentID:d==null?void 0:d.apartmentID,checkIn:d==null?void 0:d.checkin,checkOut:d==null?void 0:d.checkout,bookingID:d==null?void 0:d.bookingID,guests:d==null?void 0:d.guests,nights:d==null?void 0:d.NumberOfNights,price_per_night:s==null?void 0:s.price,total_amount:A,security_deposit:U,disabledDatesArray:z}));const V=new URLSearchParams({checkIn:n?n.toISOString():"",checkOut:h?h.toISOString():"",guests:a,price:s==null?void 0:s.price,apartmentID:d==null?void 0:d.apartmentID,propertyImage:s==null?void 0:s.featured_image_url,propertyName:s==null?void 0:s.apartmentName}).toString();r(`/complete-booking?${V}`)}},onError:u=>{var d,k;Y.error(((k=(d=u==null?void 0:u.response)==null?void 0:d.data)==null?void 0:k.message)||"Booking failed. Please try again.")}}),J=()=>{r("/login")},ne=()=>{if(!(s!=null&&s.apartmentID)){Y.error("Property information missing");return}M({apartmentID:s==null?void 0:s.apartmentID,checkin:N(n),checkout:N(h),guests:String(a)})},ie=()=>{a<Number(s==null?void 0:s.guests)&&l(a+1)},te=()=>{l(Math.max(1,a-1))},ce=({checkIn:u,checkOut:d})=>{t(u?new Date(u):null),x(d?new Date(d):null),g(!1)},de=O||!n||!h||!a||!(s!=null&&s.price)||I<Number(s==null?void 0:s.minNights)||I>Number(s==null?void 0:s.maxNights);return{guestCount:a,checkIn:n,checkOut:h,isOutOfView:i,showStayDatesModal:f,showCancellationOrderPolicy:c,cardRef:v,bookingDays:I,cancellationDeadline:q,disabledDatesArray:z,isAuthenticated:B,isPending:O,isBookingDisabled:de,setGuestCount:l,setCheckIn:t,setCheckOut:x,setShowStayDatesModal:g,setShowCancellationOrderPolicy:w,handleBooking:ne,handelRouteToLogin:J,incrementGuests:ie,decrementGuests:te,handleDateUpdate:ce,formatDate:G}},Te=({property:s,guestCount:a,checkIn:l,checkOut:n,bookingDays:t,cancellationDeadline:h,disabledDatesArray:x,isAuthenticated:i,isPending:b,isBookingDisabled:f,showStayDatesModal:g,setShowStayDatesModal:c,handleBooking:w,handelRouteToLogin:C,incrementGuests:v,decrementGuests:r,handleDateUpdate:j,formatDate:B,showCancellationOrderPolicy:D,setShowCancellationOrderPolicy:P})=>{const[z,I]=o.useState(!1),T=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"mb-3",children:e.jsxs("p",{className:"text-xl font-semibold",children:[K(s==null?void 0:s.price)," ",e.jsx("span",{className:"text-base font-normal text-gray-500",children:"/night"})]})}),e.jsx("hr",{className:"my-2"}),e.jsxs("div",{className:"mb-3",children:[e.jsx("p",{className:"text-gray-800 font-medium text-sm",children:"Cancel anytime"}),e.jsx("p",{className:"text-gray-400 text-sm cursor-pointer underline",onClick:()=>P(!0),children:"Read cancellation policy"})]}),e.jsxs("div",{className:"grid grid-cols-2 divide-x divide-gray-200 border-b border-gray-200 mb-1 relative",style:{borderTop:"1px dashed #e5e7eb"},children:[e.jsx("div",{className:"flex flex-col items-start px-3 py-2",children:e.jsx("div",{className:"relative w-full px-2 py-2 text-sm cursor-pointer",onClick:()=>c(!0),children:l?e.jsx("span",{children:B(l)}):e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx($,{size:14}),e.jsx("span",{children:"Check in"})]})})}),e.jsx("div",{className:"flex flex-col items-start px-3 py-2",children:e.jsx("div",{className:"relative w-full px-2 py-2 text-sm cursor-pointer",onClick:()=>c(!0),children:n?e.jsx("span",{children:B(n)}):e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx($,{size:14}),e.jsx("span",{children:"Check out"})]})})})]}),e.jsxs("div",{className:"border-b border-gray-200 px-3 pb-2 flex justify-between items-center mb-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(ee,{size:16,className:"text-gray-600"}),e.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Guest"})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("button",{className:"text-lg text-gray-600 hover:text-black",onClick:r,children:"–"}),e.jsx("span",{className:"text-base font-medium",children:a}),e.jsx("button",{className:"text-lg text-gray-600 hover:text-black",onClick:v,disabled:a>=(s==null?void 0:s.guests),children:"+"})]})]}),t>(s==null?void 0:s.maxNights)&&e.jsxs("p",{className:"text-red-500 text-sm mb-2 font-semibold",children:["Maximum booking is ",s==null?void 0:s.maxNights," day(s)."]}),t<(s==null?void 0:s.minNights)&&t>0&&e.jsxs("p",{className:"text-red-500 text-sm mb-2 font-semibold",children:["Minimum booking is ",s==null?void 0:s.minNights," day(s)."]}),e.jsx(_,{onClick:i?w:C,text:b?"Booking...":"Book",width:"100%",borderRadius:"40px",disabled:f})]});return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"fixed bottom-0 left-0 right-0 lg:hidden bg-white border-t border-gray-200 shadow-lg p-4 w-full z-[9999]",children:e.jsxs("div",{className:"flex justify-between items-center gap-3",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-gray-600",children:"from"}),e.jsxs("p",{className:"text-lg font-bold",children:[K(s==null?void 0:s.price),e.jsx("span",{className:"text-sm font-normal text-gray-500",children:"/night"})]})]}),e.jsx(_,{onClick:()=>I(!0),text:"Book",borderRadius:"30px",className:"flex-1"})]})}),z&&e.jsx("div",{className:"fixed inset-0 z-[50000] bg-black bg-opacity-40 flex items-end lg:hidden",children:e.jsxs("div",{className:"w-full bg-white rounded-t-3xl shadow-2xl max-h-[90vh] overflow-y-auto",children:[e.jsxs("div",{className:"sticky top-0 bg-white border-b border-gray-200 px-4 py-3 flex justify-between items-center rounded-t-3xl",children:[e.jsx("h2",{className:"text-lg font-semibold",children:"Confirm Booking"}),e.jsx("button",{onClick:()=>I(!1),className:"p-1 hover:bg-gray-100 rounded-full","aria-label":"Close modal",children:e.jsx(X,{size:24})})]}),e.jsx("div",{className:"px-4 py-5 pb-24",children:T})]})}),g&&e.jsx("div",{className:"fixed inset-0 z-[99999] flex items-center justify-center bg-black bg-opacity-40",children:e.jsx(we,{initialCheckIn:l,initialCheckOut:n,disabledDates:x,onUpdate:j,title:"Book Stay",buttonText:"Continue",onClose:()=>c(!1),showStayDatesModal:g})}),D&&e.jsx("div",{className:"fixed inset-0 z-[99999] flex items-center justify-center bg-black bg-opacity-40",children:e.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6 max-w-lg w-full mx-4",children:[e.jsx("h2",{className:"text-xl font-semibold mb-4",children:"Cancellation and Refunds Policy"}),e.jsxs("ul",{className:"list-disc font-normal text-sm",children:[e.jsx("li",{className:"mb-2",children:"Cancellations made at least 7 days before check-in may attract a partial refund, subject to administrative charges."}),e.jsx("li",{className:"mb-2",children:"Cancellations made less than 7 days before check-in shall attract no refund."}),e.jsx("li",{className:"mb-3",children:"The Company may cancel a booking in cases of force majeure, maintenance emergencie
1s, and regulatory issues. In such cases, the Guest shall be entitled to a refund of unused amounts paid."})]}),e.jsx(_,{onClick:()=>P(!1),text:"Close",width:"100%",borderRadius:"40px"})]})})]})},Ae=({cardRef:s,isOutOfView:a,property:l,guestCount:n,checkIn:t,checkOut:h,bookingDays:x,cancellationDeadline:i,isAuthenticated:b,isPending:f,isBookingDisabled:g,setShowStayDatesModal:c,handleBooking:w,handelRouteToLogin:C,incrementGuests:v,decrementGuests:r,formatDate:j,showCancellationOrderPolicy:B,setShowCancellationOrderPolicy:D})=>{const P=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"mb-3",children:e.jsxs("p",{className:"text-xl font-semibold",children:[K(l==null?void 0:l.price)," ",e.jsx("span",{className:"text-base font-normal text-gray-500",children:"/night"})]})}),e.jsx("hr",{className:"my-2"}),e.jsxs("div",{className:"mb-3",children:[e.jsx("p",{className:"text-gray-800 font-medium text-sm",children:"Cancel anytime"}),e.jsx("p",{className:"text-gray-400 text-sm cursor-pointer underline",onClick:()=>D(!0),children:"Read cancellation policy"})]}),e.jsxs("div",{className:"grid grid-cols-2 divide-x divide-gray-200 border-b border-gray-200 mb-1 relative",style:{borderTop:"1px dashed #e5e7eb"},children:[e.jsx("div",{className:"flex flex-col items-start px-3 py-2",children:e.jsx("div",{className:"relative w-full px-2 py-2 text-sm cursor-pointer",onClick:()=>c(!0),children:t?e.jsx("span",{children:j(t)}):e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx($,{size:14}),e.jsx("span",{children:"Check in"})]})})}),e.jsx("div",{className:"flex flex-col items-start px-3 py-2",children:e.jsx("div",{className:"relative w-full px-2 py-2 text-sm cursor-pointer",onClick:()=>c(!0),children:h?e.jsx("span",{children:j(h)}):e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx($,{size:14}),e.jsx("span",{children:"Check out"})]})})})]}),e.jsxs("div",{className:"border-b border-gray-200 px-3 pb-2 flex justify-between items-center mb-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(ee,{size:16,className:"text-gray-600"}),e.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Guest"})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("button",{className:`text-lg text-gray-600 hover:text-black  ${n<=1?"cursor-not-allowed":""}`,onClick:r,children:"–"}),e.jsx("span",{className:"text-base font-medium",children:n}),e.jsx("button",{className:`text-lg text-gray-600 hover:text-black ${n>=(l==null?void 0:l.guests)?"cursor-not-allowed":""} `,onClick:v,disabled:n>=(l==null?void 0:l.guests),children:"+"})]})]}),x>(l==null?void 0:l.maxNights)&&e.jsxs("p",{className:"text-red-500 text-sm mb-2 font-semibold",children:["Maximum booking is ",l==null?void 0:l.maxNights," day(s)."]}),x<(l==null?void 0:l.minNights)&&e.jsxs("p",{className:"text-red-500 text-sm mb-2 font-semibold",children:["Minimum booking is ",l==null?void 0:l.minNights," day(s)."]}),e.jsx(_,{onClick:b?w:C,text:f?"Booking...":"Book",width:"100%",borderRadius:"40px",disabled:g})]});return e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:s,className:"hidden lg:block max-w-sm w-full bg-white border border-gray-200 rounded-2xl shadow-sm p-5 sticky md:top-0 lg:ml-10 mb-10",children:P}),a&&e.jsx("div",{className:"hidden lg:block fixed top-20 right-20 max-w-sm w-full bg-white border border-gray-200 rounded-2xl shadow-lg p-5 z-[9999]",children:P})]})},Ee=({property:s})=>{const{guestCount:a,checkIn:l,checkOut:n,isOutOfView:t,showStayDatesModal:h,cardRef:x,bookingDays:i,cancellationDeadline:b,disabledDatesArray:f,isAuthenticated:g,isPending:c,isBookingDisabled:w,setShowStayDatesModal:C,handleBooking:v,handelRouteToLogin:r,incrementGuests:j,decrementGuests:B,handleDateUpdate:D,formatDate:P,showCancellationOrderPolicy:z,setShowCancellationOrderPolicy:I}=Oe(s);return e.jsxs(e.Fragment,{children:[e.jsx(Ae,{cardRef:x,isOutOfView:t,property:s,guestCount:a,checkIn:l,checkOut:n,bookingDays:i,cancellationDeadline:b,isAuthenticated:g,isPending:c,isBookingDisabled:w,setShowStayDatesModal:C,handleBooking:v,handelRouteToLogin:r,incrementGuests:j,decrementGuests:B,formatDate:P,showCancellationOrderPolicy:z,setShowCancellationOrderPolicy:I}),e.jsx(Te,{property:s,guestCount:a,checkIn:l,checkOut:n,bookingDays:i,cancellationDeadline:b,disabledDatesArray:f,isAuthenticated:g,isPending:c,isBookingDisabled:w,showStayDatesModal:h,setShowStayDatesModal:C,handleBooking:v,handelRouteToLogin:r,incrementGuests:j,decrementGuests:B,handleDateUpdate:D,formatDate:P,showCancellationOrderPolicy:z,setShowCancellationOrderPolicy:I})]})},Fe=({property:s})=>e.jsxs("section",{className:"px-4 md:px-0 py-4 md:py-8 mx-auto w-full max-w-full lg:max-w-lg xl:max-w-2xl min-w-0",children:[e.jsx(S,{fontSize:"text-xl",className:"mb-2",children:"About this short stay"}),e.jsx("div",{className:"py-3",children:Array.isArray(W(s==null?void 0:s.description))?e.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:W(s==null?void 0:s.description).map((a,l)=>e.jsx("li",{className:"shadow-sm p-1 hover:shadow-md transition-all duration-200",children:e.jsx("span",{className:"text-gray-700 font-medium",children:a})},l))}):e.jsx("p",{children:W(s==null?void 0:s.description)})})]}),Le=({onClose:s,propertyReviews:a})=>{var l,n,t,h,x;return e.jsx("div",{className:" bg-opacity-50 flex items-center justify-center md:w-[520px] lg:w-[627px]",children:e.jsxs("div",{className:"bg-white rounded-2xl  w-full max-w-4xl p-8 relative shadow-xl",children:[e.jsx("button",{className:"absolute top-6 right-6 bg-black text-white rounded-full p-2 transition-colors",onClick:s,children:e.jsx(X,{size:12})}),e.jsxs("article",{className:" flex flex-col gap-4 justify-center items-center",children:[e.jsx("div",{className:"flex justify-between space-x-2 items-center bg-[#F5F5F7] rounded-[10px] w-full md:w-[389px] px-10 py-2 ",children:e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex flex-col justify-center items-center",children:[e.jsxs(m,{children:[(l=a==null?void 0:a.averageRatings)==null?void 0:l.checkin,"/10"]}),e.jsx(m,{color:"text-[#737376]",children:"Check in"})]}),e.jsx("hr",{className:"w-px h-6 bg-gray-300 border-0"}),e.jsxs("div",{className:"flex flex-col justify-center items-center",children:[e.jsxs(m,{children:[(n=a==null?void 0:a.averageRatings)==null?void 0:n.location,"/10"]}),e.jsx(m,{color:"text-[#737376]",children:"Location"})]}),e.jsx("hr",{className:"w-px h-6 bg-gray-300 border-0"}),e.jsxs("div",{className:"flex flex-col justify-center items-center",children:[e.jsxs(m,{children:[(t=a==null?void 0:a.averageRatings)==null?void 0:t.hygiene,"/10"]}),e.jsx(m,{color:"text-[#737376]",children:"Hygiene"})]})]})}),e.jsx("hr",{className:"md:w-[389px] bg-gray-300"})]}),e.jsxs("h2",{className:"text-xl font-semibold mb-6 mt-4",children:[(h=a==null?void 0:a.reviews)==null?void 0:h.length," review(s)"]}),e.jsx("div",{className:"space-y-6 max-h-96 overflow-y-auto ",children:(x=a==null?void 0:a.reviews)==null?void 0:x.map(i=>e.jsx("div",{className:"border- border-gray-200 pb-4",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"bg-gray-200 rounded-full p-[11px] px-[13px] flex-shrink-0",children:e.jsx("img",{src:"/icons/user.svg",alt:"author-image"})}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(m,{className:"font-semibold ",children:(i==null?void 0:i.name)!==" "?i==null?void 0:i.name:"Anonymous"}),e.jsx("button",{className:"text-gray-400 hover:text-gray-600"})]}),e.jsx("div",{className:"font-semibold",children:i.date}),e.jsx("p",{className:"border-b pb-4 text-balance",children:i.feedback})]})]})},i.id))})]})})},Ge=({images:s,initialIndex:a=0,onClose:l})=>
1{const[n,t]=o.useState(a),[h,x]=o.useState(0),[i,b]=o.useState(0),f=o.useRef(null),g=o.useCallback(()=>{t(r=>(r+1)%s.length)},[s.length]),c=o.useCallback(()=>{t(r=>(r-1+s.length)%s.length)},[s.length]),w=o.useCallback(r=>{t(r)},[]);o.useEffect(()=>{const r=j=>{j.key==="ArrowRight"&&(j.preventDefault(),g()),j.key==="ArrowLeft"&&(j.preventDefault(),c()),j.key==="Escape"&&(j.preventDefault(),l())};return window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)},[g,c,l]);const C=r=>{x(r.targetTouches[0].clientX)},v=r=>{b(r.changedTouches[0].clientX),h-r.changedTouches[0].clientX>75&&g(),r.changedTouches[0].clientX-h>75&&c()};return o.useEffect(()=>{if(f.current){const r=f.current.children[n];r&&r.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})}},[n]),o.useEffect(()=>{const r=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=r}},[]),e.jsxs("div",{className:"fixed inset-0 z-50 bg-black flex flex-col",onTouchStart:C,onTouchEnd:v,children:[e.jsx("button",{onClick:l,className:"absolute top-4 right-4 z-10 bg-black/50 hover:bg-black/70 rounded-full p-2 transition","aria-label":"Close gallery",children:e.jsx(X,{size:28,className:"text-white"})}),e.jsxs("div",{className:"absolute top-4 left-4 bg-black/50 text-white px-4 py-2 rounded-full text-sm font-medium",children:[n+1," / ",s.length]}),e.jsx("div",{className:"flex-1 flex items-center justify-center overflow-hidden",children:e.jsx("img",{src:s[n],alt:`Photo ${n+1}`,className:"max-w-full max-h-full object-contain",loading:"lazy"})}),e.jsx("button",{onClick:c,className:"absolute left-4 top-1/2 -translate-y-1/2 bg-black/50 hover:bg-black/70 rounded-full p-3 transition z-10 hidden md:flex items-center justify-center","aria-label":"Previous photo",children:e.jsx(Q,{size:28,className:"text-white"})}),e.jsx("button",{onClick:g,className:"absolute right-4 top-1/2 -translate-y-1/2 bg-black/50 hover:bg-black/70 rounded-full p-3 transition z-10 hidden md:flex items-center justify-center","aria-label":"Next photo",children:e.jsx(E,{size:28,className:"text-white"})}),e.jsxs("div",{className:"md:hidden flex justify-between items-center px-4 py-4 bg-black/50",children:[e.jsx("button",{onClick:c,className:"bg-white/20 hover:bg-white/30 rounded-full p-2 transition","aria-label":"Previous photo",children:e.jsx(Q,{size:24,className:"text-white"})}),e.jsxs("span",{className:"text-white font-semibold",children:[n+1," / ",s.length]}),e.jsx("button",{onClick:g,className:"bg-white/20 hover:bg-white/30 rounded-full p-2 transition","aria-label":"Next photo",children:e.jsx(E,{size:24,className:"text-white"})})]}),e.jsx("div",{className:"h-24 bg-black/80 overflow-x-auto flex gap-2 p-2 scroll-smooth",children:e.jsx("div",{ref:f,className:"flex gap-2 px-2",role:"tablist",children:s.map((r,j)=>e.jsx("button",{onClick:()=>w(j),role:"tab","aria-selected":j===n,className:`h-20 w-20 flex-shrink-0 object-cover cursor-pointer rounded transition ${j===n?"ring-2 ring-white scale-105":"opacity-60 hover:opacity-80"}`,"aria-label":`Go to photo ${j+1}`,children:e.jsx("img",{src:r,alt:`Thumbnail ${j+1}`,className:"w-full h-full object-cover rounded",loading:"lazy"})},j))})}),e.jsx("div",{className:"hidden md:block bg-black/50 text-white/70 text-center py-2 text-xs",children:"← → Arrow keys or Swipe • ESC to close"})]})},Re=(s,a)=>{var G;const l=H(),n=((G=s==null?void 0:s.images)==null?void 0:G.gallery)||[],[t,h]=o.useState(0),[x,i]=o.useState(!1),[b,f]=o.useState(!1),[g,c]=o.useState(0),w=o.useRef(null),C=o.useCallback(()=>{i(!0)},[]),v=o.useCallback(()=>{i(!1)},[]),r=o.useCallback((N=0)=>{c(N),f(!0)},[]),j=o.useCallback(()=>{f(!1)},[]),B=o.useCallback(()=>{l(-1)},[l]),D=o.useCallback(N=>{N.stopPropagation(),se(s)},[s]),P=o.useCallback(N=>{h(N)},[]),z=o.useCallback(N=>{N.key==="Escape"&&v()},[v]);return o.useEffect(()=>{if(!x)return;const N=document.body.style.overflow;document.body.style.overflow="hidden",window.addEventListener("keydown",z);const M=setTimeout(()=>{var O;try{(O=w.current)==null||O.focus()}catch{}},50);return()=>
1{clearTimeout(M),window.removeEventListener("keydown",z),document.body.style.overflow=N}},[x,z]),{currentImageIndex:t,isReviewsModalOpen:x,isGalleryModalOpen:b,galleryStartIndex:g,modalInnerRef:w,images:n,handleOpenReviewsModal:C,handleCloseReviewsModal:v,handleOpenGalleryModal:r,handleCloseGalleryModal:j,handleGoBack:B,handleShare:D,handleImageNavigation:P,getPropertyTitle:()=>(s==null?void 0:s.apartmentName)||"Premium Apartment",getPropertyLocation:()=>{const N=(s==null?void 0:s.city)||"",M=(s==null?void 0:s.address)||"";return`${M}${M&&N?", ":""}${N}`||"Lagos, Nigeria"},getPropertyRating:()=>4.5,getPropertyReviewCount:()=>0,getPropertyImage:N=>{var M,O;return((O=(M=s==null?void 0:s.images)==null?void 0:M.gallery)==null?void 0:O[N])||(s==null?void 0:s.featured_image_url)||"/images/placeholder.jpg"},canShowReviews:()=>{var N;return((N=a==null?void 0:a.reviews)==null?void 0:N.length)>0}}},_e=({images:s,currentImageIndex:a,onNavigate:l,onGoBack:n,onShare:t,property:h})=>e.jsxs("div",{className:"lg:hidden relative h-[495px] w-full overflow-hidden bg-green-200",children:[e.jsx("div",{className:"flex transition-transform duration-300 ease-in-out h-full w-full border",style:{transform:`translateX(-${a*100}vw)`},children:s==null?void 0:s.map((x,i)=>e.jsx("div",{className:"w-full h-full flex-shrink-0",children:e.jsx("img",{src:x,alt:`Property view ${i+1}`,className:"w-full h-full object-cover"})},i))}),e.jsxs("div",{className:"absolute top-4 left-4 right-4 flex justify-between items-center z-10",children:[e.jsx("button",{onClick:n,className:"bg-white/80 rounded-full p-2 hover:bg-white transition","aria-label":"Go back",children:e.jsx(ue,{size:20})}),e.jsxs("div",{className:"flex space-x-2",children:[e.jsx("button",{onClick:t,className:"bg-white/80 rounded-full p-2 hover:bg-white transition","aria-label":"Share this property",children:e.jsx("img",{src:"/images/share.svg",alt:""})}),e.jsx("div",{className:"bg-white/80 rounded-full p-2 hover:bg-white transition flex items-center justify-center","aria-label":"Save this property",children:e.jsx(ae,{property:h})})]})]}),e.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex space-x-2 z-10",children:s==null?void 0:s.map((x,i)=>e.jsx("button",{onClick:()=>l(i),className:`w-2 h-2 rounded-full transition ${i===a?"bg-white":"bg-white/50"}`,"aria-label":`Go to image ${i+1}`},i))})]});function $e(){return e.jsxs("div",{className:"hidden lg:grid grid-cols-2 gap-2 h-[300px]",children:[e.jsx("div",{className:"relative rounded-l-[10px] overflow-hidden bg-gray-300 animate-pulse w-full"}),e.jsxs("div",{className:"grid grid-cols-2 gap-2 h-[300px]",children:[e.jsxs("div",{className:"grid grid-rows-2 gap-2 h-full",children:[e.jsx("div",{className:"relative overflow-hidden bg-gray-300 animate-pulse h-[146px]"}),e.jsx("div",{className:"relative overflow-hidden  bg-gray-300 animate-pulse h-[146px]"})]}),e.jsxs("div",{className:"grid grid-rows-2 gap-2 h-full",children:[e.jsx("div",{className:"relative overflow-hidden rounded-tr-[10px] bg-gray-300 animate-pulse h-[146px]"}),e.jsx("div",{className:"relative overflow-hidden rounded-br-[10px] bg-gray-300 animate-pulse h-[146px]"})]})]})]})}const He=({getPropertyImage:s,onOpenGallery:a,isFetching:l})=>e.jsx(e.Fragment,{children:l?e.jsx($e,{}):e.jsxs("div",{className:"hidden lg:grid grid-cols-2 gap-2 h-[300px]",children:[e.jsx("div",{className:"relative rounded-l-[10px] overflow-hidden w-full",children:e.jsx("img",{src:s(0),alt:"Property main view",className:"w-full h-[300px] object-cover"})}),e.jsxs("div",{className:"grid grid-cols-2 gap-2 h-[300px]",children:[e.jsxs("div",{className:"grid grid-rows-2 gap-2 h-full",children:[e.jsx("div",{className:"relative overflow-hidden h-[146px]",children:e.jsx("img",{src:s(1),alt:"Property view 2",className:"w-full h-full object-cover"})}),e.jsx("div",{className:"relative overflow-hidden  h-[146px]",children:e.jsx("img",{src:s(2),alt:"Property view 3",className:"w-full h-full object-cover"})})]}),e.jsxs("div",{className:"grid grid-rows-2 gap-2 h-full",children:[e.jsx("div",{className:"relative overflow-hidden rounded-tr-[10px] h-[146px]",children:e.jsx("img",{src:s(3),alt:"Property view 4",className:"w-full h-full object-cover"})}),e.jsxs("div",{className:"relative overflow-hidden rounded-br-[10px]  h-[146px]",children:[e.jsx("img",{src:s(4),alt:"Property view 5",className:"w-full h-full object-cover"}),e.jsxs("button",{onClick:()=>a(0),className:"hover:cursor-pointer absolute bottom-4 right-4 bg-white px-3 py-1 rounded-[7px] flex items-center space-x-2 hover:bg-gray-100 transition","aria-label":"View all photos",children:[e.jsx("img",{src:"/images/view-more.svg",alt:""}),e.jsx("span",{children:"See more photos"})]})]})]})]})]})}),Ue=({property:s,getPropertyTitle:a,getPropertyLocation:l,getPropertyRating:n,getPropertyReviewCount:t})=>e.jsxs(e.Fragment,{children:[e.jsxs("section",{className:"px-4 lg:hidden w-full flex flex-col items-center text-center justify-center mt-4 mb-2 lg:mb-8",children:[e.jsx(S,{fontSize:"text-xl",children:a()}),e.jsxs("div",{className:"flex items-center space-x-2 mt-2 justify-center",children:[e.jsx(Z,{size:15,className:"lg:hidden"}),e.jsx(m,{fontSize:"text-sm",children:l()})]})]}),e.jsxs("div",{className:"mx-4 lg:mx-0",children:[e.jsxs("div",{className:"flex text-center items-center space-x-2 justify-center lg:justify-start flex-wrap",children:[e.jsxs(m,{fontSize:"text-xs",children:["BEDROOM ",e.jsx("span",{className:"font-bold",children:(s==null?void 0:s.bedroom)||0})]}),e.jsx("span",{className:"mx-2",children:"•"}),e.jsxs(m,{fontSize:"text-xs",children:["BATHROOM ",e.jsx("span",{className:"font-bold",children:(s==null?void 0:s.bathroom)||0})]}),e.jsx("span",{className:"mx-2",children:"•"}),e.jsxs(m,{fontSize:"text-xs",children:["TOILET ",e.jsx("span",{className:"font-bold",children:(s==null?void 0:s.toilet)||0})]}),e.jsx("span",{className:"mx-2",children:"•"}),e.jsxs(m,{fontSize:"text-xs",children:["SLEEPS ",e.jsx("span",{className:"font-bold",children:(s==null?void 0:s.guests)||0})]}),e.jsxs("div",{className:"hidden lg:flex items-center space-x-1",children:[e.jsx(Z,{size:15}),e.jsx(m,{children:l()})]})]}),e.jsxs("div",{className:"flex justify-center mt-4 items-end lg:hidden space-x-2",children:[e.jsx("div",{className:"w-[32px] h-[32px]",children:e.jsx("img",{src:"/images/icon.png",alt:"Host",className:"w-full h-full object-cover"})}),e.jsxs("div",{children:[e.jsx(m,{fontSize:"text-xs",children:"HOST"}),e.jsx(S,{fontSize:"text-xs",children:(s==null?void 0:s.hostName)||"StaySmallSmall"})]}),e.jsx("hr",{className:"w-px h-6 bg-gray-300 border-0"}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx(m,{fontSize:"text-xs",children:"VIEWS"}),e.jsx(m,{fontSize:"text-xs",children:(s==null?void 0:s.views)||0})]})]})]})]}),Ve=({property:s,propertyReviews:a,isReviewsModalOpen:l,modalInnerRef:n,canShowReviews:t,onOpenReviews:h,onCloseReviews:x,getPropertyRating:i,getPropertyReviewCount:b})=>{var f,g,c;return e.jsxs("div",{className:"mx-4 lg:mx-0",children:[e.jsxs("div",{className:"flex justify-center lg:justify-start items-center space-x-2 mt-4",children:[e.jsxs("div",{className:"flex justify-between space-x-2 items-center bg-[#F5F5F7] rounded-[10px] w-full md:w-[389px] px-10 py-2",children:[e.jsxs("div",{className:"flex flex-col justify-center items-center",children:[e.jsxs(m,{children:[(f=a==null?void 0:a.averageRatings)==null?void 0:f.checkin,"/10"]}),e.jsx(m,{color:"text-[#737376]",children:"Check in"})]}),e.jsx("hr",{className:"w-px h-6 bg-gray-300 border-0"}),e.jsxs("div",{className:"flex flex-col justify-center items-center",children:[e.jsxs(m,{children:[(g=a==null?void 0:a.averageRatings)==null?void 0:g.location,"/10"]}),e.jsx(m,{color:"text-[#737376]",children:"Location"})]}),e.jsx("hr",{className:"w-px h-6 bg-gray-300 border-0"}),e.jsxs("div",{className:"flex flex-col justify-center items-center",children:[e.jsxs(m,{children:[(c=a==null?void 0:a.averageRatings)==null?void 0:c.hygiene,"/10"]}),e.jsx(m,{color:"text-[#737376]",children:"Hygiene"})]})]}),e.jsxs("button",{className:"hidden lg:flex items-center",onClick:h,disabled:!t(),children:[e.jsx("span",{className:"text-sm font-semibold",children:"See all reviews"}),e.jsx(E,{size:15})]})]}),l&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-40",onClick:x,"aria-modal":"true",role:"dialog",children:e.jsx("div",{onClick:w=>w.stopPropagation(),className:"w-full flex justify-center items-center",ref:n,tabIndex:-1,"aria-label":"Property reviews",children:e.jsx(Le,{onClose:x,propertyReviews:a})})})]})},We=({property:s,name:a,category:l,subcategory:n,propertyReviews:t,is
1Fetching:h})=>{const{currentImageIndex:x,isReviewsModalOpen:i,isGalleryModalOpen:b,galleryStartIndex:f,modalInnerRef:g,images:c,handleOpenReviewsModal:w,handleCloseReviewsModal:C,handleOpenGalleryModal:v,handleCloseGalleryModal:r,handleGoBack:j,handleShare:B,handleImageNavigation:D,getPropertyTitle:P,getPropertyLocation:z,getPropertyRating:I,getPropertyReviewCount:T,getPropertyImage:F,canShowReviews:L}=Re(s,t);return e.jsx(e.Fragment,{children:e.jsxs("section",{className:"lg:mx-20 lg:mt-6 mb-8",children:[e.jsx(_e,{images:c,currentImageIndex:x,onNavigate:D,onGoBack:j,onShare:B,property:s}),e.jsx(He,{isFetching:h,getPropertyImage:F,onOpenGallery:v}),e.jsxs("div",{className:"flex items-start justify-between lg:mt-8",children:[e.jsxs("article",{children:[e.jsx(Ue,{property:s,getPropertyTitle:P,getPropertyLocation:z,getPropertyRating:I,getPropertyReviewCount:T}),e.jsx(Ve,{property:s,propertyReviews:t,isReviewsModalOpen:i,modalInnerRef:g,canShowReviews:L,onOpenReviews:w,onCloseReviews:C,getPropertyRating:I,getPropertyReviewCount:T}),e.jsx("hr",{className:"hidden lg:block mt-10 mb-6 w-[90%]"}),e.jsx("div",{className:"h-2 bg-[#E5E5E5] w-full mt-10 mb-6 lg:hidden"}),e.jsx(Fe,{property:s})]}),e.jsx(Ee,{property:s})]}),b&&e.jsx(Ge,{images:c,initialIndex:f,onClose:r})]})})},Ye=()=>{const{id:s,name:a}=je(),l="Real-Estate",n="StaySmallSmall";H();const{data:t,isFetching:h}=y({queryKey:["property",s],queryFn:()=>Ce(s)}),x=t==null?void 0:t.property;p(ke);const i=t==null?void 0:t.reviews;return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"lg:mx-14",children:e.jsx(Se,{})}),e.jsx("div",{className:"hidden lg:block",children:e.jsx(ze,{property:x,name:a,category:l,subcategory:n})}),e.jsx(We,{isFetching:h,property:x,name:a,category:l,subcategory:n,propertyReviews:i}),e.jsx("hr",{className:"lg:mx-20"}),e.jsx(Me,{property:x}),e.jsx("hr",{className:"lg:mx-20"}),e.jsx(Pe,{property:x}),e.jsx("hr",{className:"lg:mx-20"}),e.jsx(Be,{property:x})]})};export{Ye as default};
2//# sourceMappingURL=StaySmallSmallSinglePropertyPage-Q_4aLcDa.js.map

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.