import{j as o}from"./vendor-BXQAQzXu.js";import{N as G,F as E}from"./FooterProp-pbXSpU5I.js";import{u as W}from"./Global-CKpXTxwr.js";import{a as k}from"./appendURL-CIK5EvW3.js";const z=({data:r})=>{var t,i,p,l,n,a,u,m,c,b,g,y,h,x,f;const{setImageUrl:d,setImageUrlSecoindary:L,setUrlWA:j,setFloatingBookLink:N,setIsComingSoon:A,setPropertiesGlobal:C,setMaxAdult:P,setMaxChild:S}=W(),U=(t=r.prop[0].attributes)!=null&&t.propertyBookingLink?r.prop[0].attributes.propertyBookingLink:"https://booking.dijiwasanctuaries.com/";N(U);const e=(n=(l=(p=(i=r.prop[0].attributes)==null?void 0:i.propertyLogoPrimary)==null?void 0:p.data)==null?void 0:l.attributes)!=null&&n.url?k(r.assetUrl,r.prop[0].attributes.propertyLogoPrimary.data.attributes.url):"",s=(c=(m=(u=(a=r.prop[0].attributes)==null?void 0:a.propertyLogoSecondary)==null?void 0:u.data)==null?void 0:m.attributes)!=null&&c.url?k(r.assetUrl,r.prop[0].attributes.propertyLogoSecondary.data.attributes.url):"";e!=""&&d(e),s!=""&&L(s);const B=(b=r.prop[0].attributes)!=null&&b.propertyWhatsappUrl?r.prop[0].attributes.propertyWhatsappUrl:"";j(B);const v=(g=r.prop[0].attributes)!=null&&g.propertyDisplayName?(y=r.prop[0].attributes)==null?void 0:y.propertyDisplayName:"";C(v);const F=(h=r.prop[0].attributes)!=null&&h.isComingSoon?r.prop[0].attributes.isComingSoon:!1;A(F);const I=((x=r.prop[0].attributes)==null?void 0:x.bookingChildLimit)!==void 0&&r.prop[0].attributes.bookingChildLimit!==null?r.prop[0].attributes.bookingChildLimit:1,w=((f=r.prop[0].attributes)==null?void 0:f.bookingAdultLimit)!==void 0&&r.prop[0].attributes.bookingAdultLimit!==null?r.prop[0].attributes.bookingAdultLimit:7;return P(w),S(I),o.jsxs(o.Fragment,{children:[o.jsx(G,{listProperties:r.allProperties,listGroups:r.allGroups,listArea:r.allAreas,groupedByArea:r.allPropgroupedByArea,propRooms:r.rooms,propFacilities:r.facilities,assetUrl:r.assetUrl}),o.jsx("section",{className:"h-screen bg-whiteBase flex flex-col py-0 md:py-12 justify-center align-middle gap-6 px-[24px]",children:o.jsxs("div",{className:"flex flex-col justify-center items-center gap-6",children:[o.jsx("h2",{className:"heading4-subheadline capitalize",children:"It's Seems You Are Lost"}),o.jsxs("p",{className:"bodytext2-leadingtrim",children:["If this issues persist, you can directly sent email to ",o.jsx("a",{className:"hover:text-sundanceGold-base",href:"mailto:info@dijiwasanctuaries.com",children:"info@dijiwasanctuaries.com"})]})]})}),o.jsx(E,{property:r.prop[0],hasOffers:r.hasOffers,hasExperiences:r.hasExperiences})]})};export{z as N};