PageSourceSearch

https://www.oliveapartmentsdelhi.com/_next/static/chunks/6062-bedde0336cb00bbc.js

js oliveapartmentsdelhi.com collected 2026-10-08 14:46:09 UTC 600,215 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6062],{411:(e,t,a)=>{a.d(t,{default:()=>p});var l=a(95155),r=a(88661),s=a.n(r),n=a(97290),o=a(20508),i=a(39347),c=a(18344),d=a(71821),m=a(12115);let u={isFullWidth:!0,paddingTop:80,paddingBottom:80,paddingLeft:0,paddingRight:0,sectionTitle:"<h2>What Our Guests Say</h2><p>Join thousands of satisfied travelers who've experienced our world-class hospitality</p>",upperCards:[{image:"https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>Absolutely breathtaking experience! The staff went above and beyond to make our anniversary special. The ocean views were spectacular.</p>",name:"Sarah Johnson",rating:"5"},{image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>This resort exceeded all our expectations. From the moment we arrived, we felt like royalty. The spa treatments were incredibly relaxing.</p>",name:"Michael Chen",rating:"5"},{image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>Five stars isn't enough! The attention to detail throughout our stay was impeccable. The infinity pool was magical.</p>",name:"Emily Rodriguez",rating:"5"},{image:"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>A truly unforgettable experience. The room was spacious and beautifully designed, the food was exquisite.</p>",name:"David Thompson",rating:"4.8"}],lowerCards:[{image:"https://images.unsplash.com/photo-1544005313-94ddf0286df2?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>Wonderful hospitality! Every staff member made us feel welcome. The kids club kept our children entertained throughout.</p>",name:"Jessica Williams",rating:"5"},{image:"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>Incredible value for a luxury resort. The all-inclusive package was worth every penny. The food variety exceeded expectations.</p>",name:"Robert Brown",rating:"4.9"},{image:"https://images.unsplash.com/photo-1534528741775-53994a69daeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>Best vacation ever! The location is perfect, and the amenities are top-notch. Highly recommend the sunset cruise.</p>",name:"Amanda Martinez",rating:"5"},{image:"https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>Perfect blend of luxury and comfort. The beachfront access and attentive service made our stay truly special.</p>",name:"James Wilson",rating:"4.7"}],cardWidth:320,cardHeight:280,upperSlidingDirection:"right",lowerSlidingDirection:"left"};function p(e){let{data:t,preview:a=!1}=e,{isFullWidth:r=!1,paddingTop:n=20,paddingBottom:o=20,paddingLeft:i=20,paddingRight:c=20,sectionTitle:d="",upperCards:p=[],lowerCards:g=[],cardWidth:f="260px",cardHeight:b="340px",upperSlidingDirection:y="left",lowerSlidingDirection:v="right"}=(a?u:t)||{},[w,j]=(0,m.useState)(null),N=e=>[...e,...e,...e,...e];return p.length||g.length?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s(),{id:"cb96237d22251c3d",children:".editor-content p{margin-bottom:.75rem}.editor-content p:last-child{margin-bottom:0}.editor-content ul,.editor-content ol{margin-bottom:.75rem;padding-left:1.25rem}.editor-content li{margin-bottom:.25rem}"}),(0,l.jsx)("section",{style:{paddingTop:"".concat(n,"px"),paddingBottom:"".concat(o,"px"),paddingLeft:"".concat(i,"px"),paddingRight:"".concat(c,"px")},className:"jsx-cb96237d22251c3d w-full bg-white overflow-hidden",children:(0,l.jsxs)("div",{className:"jsx-cb96237d22251c3d "+((r?"w-full px-4":"max-w-7xl mx-auto px-4")||""),children:[d&&(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:d},className:"jsx-cb96237d22251c3d text-3xl font-bold mb-8 text-center"}),p.length>0&&(0,l.jsxs)("div",{className:"jsx-cb96237d22251c3d relative mb-6",children:[(0,l.jsx)(x,{direction:y,speed:60,children:N(p).map((e,t)=>{let a="top-".concat(t);return(0,l.jsx)(h,{testimonial:e,width:f,height:b,isExpanded:w===a,onToggle:()=>j(w===a?null:a)},a)})}
1),(0,l.jsx)("div",{className:"jsx-cb96237d22251c3d absolute top-0 right-0 w-24 h-full bg-gradient-to-l from-white to-transparent pointer-events-none z-10"}),(0,l.jsx)("div",{className:"jsx-cb96237d22251c3d absolute top-0 left-0 w-24 h-full bg-gradient-to-r from-white to-transparent pointer-events-none z-10"})]}),g.length>0&&(0,l.jsxs)("div",{className:"jsx-cb96237d22251c3d relative",children:[(0,l.jsx)(x,{direction:v,speed:60,children:N(g).map((e,t)=>{let a="bottom-".concat(t);return(0,l.jsx)(h,{testimonial:e,width:f,height:b,isExpanded:w===a,onToggle:()=>j(w===a?null:a)},a)})}),(0,l.jsx)("div",{className:"jsx-cb96237d22251c3d absolute top-0 right-0 w-24 h-full bg-gradient-to-l from-white to-transparent pointer-events-none z-10"}),(0,l.jsx)("div",{className:"jsx-cb96237d22251c3d absolute top-0 left-0 w-24 h-full bg-gradient-to-r from-white to-transparent pointer-events-none z-10"})]})]})})]}):null}function x(e){let{children:t,direction:a="left",speed:r=70}=e,s=(0,c.s)();return(0,m.useEffect)(()=>{s.start({x:"left"===a?[0,"-25%"]:["-25%",0],transition:{repeat:1/0,repeatType:"loop",ease:"linear",duration:r}})},[s,a,r]),(0,l.jsx)("div",{className:"overflow-hidden w-full",onMouseEnter:()=>s.stop(),onMouseLeave:()=>s.start({x:"left"===a?[0,"-25%"]:["-25%",0],transition:{repeat:1/0,ease:"linear",duration:r}}),children:(0,l.jsx)(d.P.div,{className:"flex gap-4 w-max items-start",animate:s,children:t})})}function h(e){let{testimonial:t,width:a,height:r,isExpanded:s,onToggle:c}=e,u=parseInt(Number(t.rating))||0,p=(0,m.useRef)(null),[x,h]=(0,m.useState)(!1);return(0,m.useEffect)(()=>{let e=p.current;if(e){let t=setTimeout(()=>{e.scrollHeight>120?h(!0):h(!1)},0);return()=>clearTimeout(t)}},[t.text]),(0,l.jsxs)(d.P.div,{layout:!0,className:"bg-white rounded-xl p-5 shadow-sm border border-gray-100 hover:shadow-lg hover:-translate-y-1 transition-all duration-300 flex flex-col flex-shrink-0",style:{width:a?"".concat(a,"px"):"260px",minHeight:r||"340px",height:s&&x?"auto":r||"340px"},children:[(0,l.jsxs)("div",{className:"flex items-center justify-between mb-3 flex-shrink-0",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[t.image?(0,l.jsx)("img",{src:t.image?t.image:"".concat(n.image_url,"/").concat(t.image),alt:t.name,className:"w-10 h-10 rounded-full object-cover border border-gray-200"}):(0,l.jsx)("div",{className:"w-10 h-10 rounded-full bg-gray-100 flex items-center justify-center text-gray-400",children:(0,l.jsx)(o.A,{className:"w-5 h-5"})}),(0,l.jsx)("p",{className:"font-bold text-gray-900 text-base truncate max-w-[120px]",children:t.name})]}),(0,l.jsx)("div",{className:"flex items-center gap-0.5 bg-gray-50 px-1.5 py-0.5 rounded-md",children:Array.from({length:u}).map((e,t)=>(0,l.jsx)(i.A,{className:"w-3.5 h-3.5 text-yellow-500 fill-yellow-500"},t))})]}),(0,l.jsx)(d.P.div,{ref:p,layout:!0,initial:!1,animate:{height:x?s?"auto":120:"auto"},transition:{duration:.35,ease:"easeInOut"},className:"overflow-hidden",children:(0,l.jsx)("div",{className:"editor-content text-gray-600 text-sm leading-relaxed break-words",dangerouslySetInnerHTML:{__html:t.text}})}),x&&(0,l.jsx)("div",{className:"mt-auto pt-4 flex-shrink-0",children:(0,l.jsx)("button",{onClick:c,className:"text-xs font-semibold text-blue-600 hover:text-blue-800 hover:underline",children:s?"Read Less":"Read More"})})]})}},1113:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(12115);a(15239);var s=a(97290);let n=e=>{let{data:t}=e,[a,n]=(0,r.useState)([]),{sectionTitle:o="",paddingTop:i=0,paddingBottom:c=0,paddingLeft:d=0,paddingRight:m=0,gallery:u=[],columns:p=3}=t||{},x=(0,r.useMemo)(()=>u.filter(e=>e.image&&""!==e.image.trim()),[u]);return((0,r.useEffect)(()=>{if(!x||0===x.length)return;let e=Array.from({length:p},()=>[]);x.forEach((t,a)=>{e[a%p].push(t)}),n(e)},[x,p]),x&&0!==x.length)?(0,l.jsxs)("div",{className:"w-full",style:{paddingTop:"".concat(i,"px"),paddingBottom:"".concat(c,"px"),paddingLeft:"".concat(d,"px"),paddingRight:"".concat(m,"px")},children:[o&&(0,l.jsx)("div",{className:"mb-8 prose prose-lg max-w-none",dangerouslySetInnerHTML:{__html:o}}),(0,l.jsx)("div",{className:"flex",children:a.map((e,t)=>(0,l.jsx)("div",{className:"flex-1 flex flex-col",children:e.map((e,a)=>(0,l.jsx)("div",{className:"relative overflow-hidden group",children:(0,l.jsx)("div",{className:"relative w-full",children:e.image&&(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(e.image),alt:e.altText||"Gallery image ".concat(a+1),width:500,height:500,className:"w-full h-auto object-cover transition-transform duration-300 group-hover:scale-110",onError:t=>{console.error("Error loading image: ".concat(e.image)),t.target.style.display="none"}})})},"".concat(t,"-").concat(a)))},t))})]}):(0,l.jsxs)("div",{className:"text-center",style:{paddingTop:"".concat(i,"px"),paddingBottom:"".concat(c,"px"),paddingLeft:"".concat(d,"px"),paddingRight:"".concat(m,"px")},children:[o&&(0,l.jsx)("div",{className:"mb-6 prose prose-lg max-w-none",dangerouslySetInnerHTML:{__html:o}}),(0,l.jsx)("div",{className:"p-4",children:"No images available"})]})}},1927:(e,t,a)=>{a.d(t,{default:()=>p});var l=a(95155),r=a(12115),s=a(90368),n=a(27937),o=a(16954),i=a(95174),c=a(91169),d=a(20017),m=a(97290),u=a(20063);let p=e=>{var t,a;let{data:p}=e,{numberOfColumns:x=3,isFullWidth:h,backgroundColor:g="#fafafa",paddingTop:f=64,paddingBottom:b=64,paddingLeft:y=16,paddingRight:v=16,sectionTitle:w="<p>Our Featured Homes</p>
1",buttonBackgroundColor:j="#dc2626",buttonTextColor:N="#ffffff",cards:k=[]}=p||{},{brandSlug:C,website_slug:_,landingPageSlug:T}=(0,u.useParams)(),[L,S]=(0,r.useState)(0),B="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),A=(e,t,a)=>(console.log("generate url",e,t,a),B)?"/".concat(t,"/website/").concat(a).concat(e):e,M=(e,t)=>{if(e&&!(e.startsWith("http://")||e.startsWith("https://")))if(t.preventDefault(),_){let t=A(e,C,_);window.location.href=t}else if(T){let t=e.replace("#",""),a=document.getElementById(t);a?a.scrollIntoView({behavior:"smooth",block:"start"}):console.warn("Element with id '".concat(t,"' not found"))}else window.location.href=e},I=p&&k&&k.length>0,F=I?k:[{id:1,title:"Olive- DLF Gurgaon",address:"DLF City Phase 4, IFFCO Chowk, Sector 27, Gurgaon",price:"2,890.00",period:"/Day Summer Sale for Members",image:"https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?w=800&h=600&fit=crop",bedrooms:2,baths:2,guests:4},{id:2,title:"Olive- DLF Cyber City",address:"Apartment Address: 41-A- Jacaranda Marg, DLF Phase 2",price:"3,000.00",period:"/Day Summer Sale for Members",image:"https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?w=800&h=600&fit=crop",bedrooms:2,baths:2,guests:4},{id:3,title:"Olive- Golf Course Road",address:"Apartment Address: RG-43, Golf Course Road",price:"2,890.00",period:"/Day Summer Sale for Members",image:"https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=800&h=600&fit=crop",bedrooms:2,baths:2,guests:4},{id:4,title:"Olive- Vasant Kunj",address:"Apartment Address: B-204, Vasant Kunj, New Delhi",price:"3,200.00",period:"/Day Summer Sale for Members",image:"https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=800&h=600&fit=crop",bedrooms:2,baths:2,guests:4},{id:5,title:"Olive- Saket",address:"Apartment Address: C-45, Saket District Center",price:"2,750.00",period:"/Day Summer Sale for Members",image:"https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&h=600&fit=crop",bedrooms:2,baths:2,guests:4},{id:6,title:"Olive- Greater Kailash",address:"Apartment Address: M-Block, Greater Kailash I",price:"3,500.00",period:"/Day Summer Sale for Members",image:"https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?w=800&h=600&fit=crop",bedrooms:2,baths:2,guests:4}],R=Math.min(x,4),P=Math.ceil(F.length/R),W=()=>{S(e=>(e+1)%P)},E=()=>{S(e=>(e-1+P)%P)};return(0,l.jsx)("div",{className:"".concat(h?"w-full":"container mx-auto"),style:{backgroundColor:g,paddingTop:"".concat(f,"px"),paddingBottom:"".concat(b,"px"),paddingLeft:"".concat(y,"px"),paddingRight:"".concat(v,"px")},children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,l.jsxs)("div",{className:"flex justify-between items-start mb-8",children:[(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsx)("div",{className:"ProseMirror text-gray-800 mb-2 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:w||""}}),!I&&(0,l.jsx)("p",{className:"text-gray-600",children:"Hand-picked selection of quality places"})]}),P>1&&(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)("button",{onClick:E,className:"px-4 py-2 border border-red-500 text-red-500 rounded hover:bg-red-50 transition",style:{borderColor:j,color:j},children:"Prev"}),(0,l.jsx)("button",{onClick:W,className:"px-4 py-2 border border-red-500 text-red-500 rounded hover:bg-red-50 transition",style:{borderColor:j,color:j},children:"Next"})]})]}),(0,l.jsxs)("div",{className:"relative",children:[P>1&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{onClick:E,className:"absolute left-0 top-1/2 transform -translate-y-1/2 -translate-x-4 z-10 w-12 h-12 bg-white rounded-full shadow-lg flex items-center justify-center hover:bg-gray-50 transition-all border border-gray-200",style:{color:j},children:(0,l.jsx)(s.A,{className:"w-6 h-6"})}),(0,l.jsx)("button",{onClick:W,className:"absolute right-0 top-1/2 transform -translate-y-1/2 translate-x-4 z-10 w-12 h-12 bg-white rounded-full shadow-lg flex items-center justify-center hover:bg-gray-50 transition-all border border-gray-200",style:{color:j},children:(0,l.jsx)(n.A,{className:"w-6 h-6"})})]}),(0,l.jsx)("div",{className:"overflow-hidden",children:(0,l.jsx)("div",{className:"flex transition-transform duration-500 ease-in-out",style:{transform:"translateX(-".concat(100*L,"%)")},children:Array.from({length:P}).map((e,t)=>(0,l.jsx)("div",{className:"flex-shrink-0 w-full flex gap-6 px-2",children:F.slice(t*R,(t+1)*R).map((e,a)=>{let s=(e=>e?e.startsWith("http://")||e.startsWith("https://")?{href:e,target:"_blank",rel:"noopener noreferrer",onClick:void 0}:_?{href:A(e,C,_),onClick:t=>M(e,t)}:{href:e,onClick:t=>M(e,t)}:{})(e.url),n=(0,l.jsxs)("div",{className:"flex-1 min-w-0 bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition-shadow group cursor-pointer",children:[(0,l.jsx)("div",{className:"relative h-64",children:(0,l.jsx)("img",{src:I&&e.image?"".concat(m.image_url,"/").concat(e.image):e.image,alt:e.title||"Property image",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"})}),(0,l.jsxs)("div",{className:"p-5 relative",children:[I&&e.content&&(0,l.jsx)("div",{className:"ProseMirror text-gray-600 text-sm mb-4 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 line-clamp-3",dangerouslySetInnerHTML:{__html:e.content||""}}),!I&&(0,l.jsxs)("div",{className:"flex items-center gap-4 text-gray-600 flex-wrap",children:[(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)(o.A,{className:"w-4 h-4"}),(0,l.jsxs)("span",{className:"text-sm",children:[e.bedrooms||2," Bed"]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)(i.A,{className:"w-4 h-4"}),(0,l.jsxs)("span",{className:"text-sm",children:[e.baths||2," Bath"]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)(c.A,{className:"w-4 h-4"}),(0,l.jsxs)("span",{className:"text-sm",children:[e.guests||4," Guests"]})]})]}),(0,l.jsx)("button",{className:"absolute bottom-5 right-5 text-gray-400 hover:text-gray-600",children:(0,l.jsx)(d.A,{className:"w-5 h-5"})})]})]},e.id||"".concat(t,"-").concat(a));return e.url?(0,r.createElement)("a",{...s,key:e.id||"".concat(t,"-").concat(a),className:"flex-1 min-w-0"},n):n})},t))})})]}),P>1&&(0,l.jsx)("div",{className:"flex justify-center gap-2 mt-8",children:Array.from({length:P}).map((e,t)=>(0,l.jsx)("button",{onClick:()=>{S(t)},className:"w-2 h-2 rounded-full transition-all ".concat(L===t?"bg-gray-800 w-8":"bg-gray-300 hover:bg-gray-400")},t))})]})})}},2129:(e,t,a)=>{a.d(t,{default:()=>d});var l=a(95155);a(12115),a(48389);var r=a(52619),s=a.n(r),n=a(97290),o=a(74163),i=a(20063);let c=[{videoUrl:"https://www.youtube.com/watch?v=668nUCeBHyY",title:"Sample Video 1"},{videoUrl:"https://www.youtube.com/watch?v=668nUCeBHyY",title:"Sample Video 2"},{videoUrl:"https://www.youtube.com/watch?v=668nUCeBHyY",title:"Sample Video 3"}],d=e=>{let{data:t={}}=e,{brandSlug:a,website_slug:r}=(0,i.useParams)();console.log("data",t);let d="clients.staystack.encrobytes.com"===window.location.hostname||window.location.hostname.includes("localhost"),{featureCard:m=c,paddingTop:u=12,paddingBottom:p=12,paddingLeft:x=4,paddingRight:h=4,
1isFullWidth:g=!1,numberOfColumns:f=3,buttonBackgroundColor:b,buttonTextColor:y,maxHeight:v=300,borderColor:w,titleColor:j="#333333",titleFontSize:N="16px"}=t,k=1===m.length,C=k?(e=>{switch(e){case 1:default:return"w-full";case 2:return"w-full sm:w-1/2";case 3:return"w-full sm:w-1/2 md:w-1/3";case 4:return"w-full sm:w-1/2 md:w-1/4"}})(f):"";return(0,l.jsx)("div",{className:"".concat(g?"w-full":"max-w-6xl"," mx-auto"),style:{paddingTop:"".concat(u,"px"),paddingBottom:"".concat(p,"px"),paddingLeft:"".concat(x,"px"),paddingRight:"".concat(h,"px")},children:(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)("div",{className:"".concat(k?"flex justify-center max-w-md mx-auto":(0,o.Rm)(f)," gap-8"),children:m.map((e,t)=>{let o=(e=>{if(!e||"#"===e)return"#";if((0,n.isExternalUrl)(e))return e;let t=e;return(e.startsWith("/")||(t="/".concat(e)),d&&a&&r)?((e,t,a)=>d&&t&&a?"/".concat(t,"/website/").concat(a).concat(e):e)(t,a,r):t})(e.buttonUrl),i=(e=>e&&"#"!==e&&(0,n.isExternalUrl)(e)?{rel:"noopener noreferrer"}:{})(e.buttonUrl),{openInNewTab:c=!1}=e,m=(e=>{let t=(e=>{if(!e)return null;for(let t of[/(?:youtube\.com\/watch\?v=|youtu\.be\/)([^&\n?#]+)/,/youtube\.com\/embed\/([^&\n?#]+)/,/youtube\.com\/shorts\/([^&\n?#]+)/]){let a=e.match(t);if(a&&a[1])return a[1]}return null})(e);return t?"https://www.youtube.com/embed/".concat(t):null})(e.videoUrl);return(0,l.jsxs)("div",{className:"flex flex-col items-center border rounded p-4 h-full ".concat(C),style:{borderColor:w||"#e1edc1"},children:[m?(0,l.jsx)("div",{className:"w-full",style:{position:"relative",paddingBottom:"56.25%",height:0,overflow:"hidden",borderRadius:"7px"},children:(0,l.jsx)("iframe",{src:m,title:"YouTube video ".concat(t+1),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",borderRadius:"7px"}})}):(0,l.jsx)("img",{src:(e=>{let t="https://redthread.uoregon.edu/files/original/affd16fd5264cab9197da4cd1a996f820e601ee4.png";return e&&e!==t?"".concat(n.image_url,"/").concat(e):t})(e.image),alt:e.altText||"Feature ".concat(t+1),className:"w-full object-cover",onError:e=>{e.target.src="https://redthread.uoregon.edu/files/original/affd16fd5264cab9197da4cd1a996f820e601ee4.png"},style:{height:"".concat(v,"px"),maxHeight:"".concat(v,"px"),borderRadius:"7px"}}),e.title&&(0,l.jsx)("div",{className:"w-full mt-3",children:(0,l.jsx)("h3",{className:"text-center font-medium",style:{color:j||"#333333",fontSize:N||"16px"},children:e.title})}),(e=>e?(0,l.jsx)("p",{className:"text-justify text-sm sm:text-base font-normal text-[#808080] mb-4",dangerouslySetInnerHTML:{__html:e}}):null)(e.content),(0,l.jsx)("div",{className:"flex-grow"}),e.buttonText&&(0,l.jsx)("div",{className:"mt-4 text-center",children:(0,l.jsx)(s(),{href:o,...i,style:{backgroundColor:b,color:y},target:c?"_blank":"_self",className:"inline-block py-2 px-5 text-white sm:text-sm md:text-lg lg:py-1.5    lg:px-4 sm:py-1 sm:px-3 rounded cursor-pointer transition duration-300 hover:opacity-90",children:e.buttonText})})]},t)})})})})}},2639:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(97290),s=a(12115);let n=e=>{let{data:t={},preview:a=!1}=e,{content:n="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",isFullWidth:o=!1,backgroundColor:i="#ffffff",paddingTop:c=12,paddingBottom:d=12,paddingLeft:m=4,paddingRight:u=4,marginTop:p=0}=t||{}
1,[x,h]=(0,s.useState)(!1),[g,f]=(0,s.useState)(""),b=e=>{f(e),h(!0)},y=()=>{h(!1),f("")};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"max-w-".concat(o?"full":"6xl"," text-sm relative sm:text-base leading-relaxed mx-auto py-12 px-7 md:px-16 z-0"),style:{backgroundColor:i,paddingTop:"".concat(c,"px"),paddingBottom:"".concat(d,"px"),paddingLeft:"".concat(m,"px"),paddingRight:"".concat(u,"px"),marginTop:"".concat(p,"px")},children:[t.isImageOnTop&&t.image&&(0,l.jsx)("div",{className:"mb-6 cursor-pointer",onClick:()=>b(t.image),children:(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(t.image),alt:"feature",className:"w-full h-auto"})}),n&&(0,l.jsx)("div",{style:{wordBreak:"break-word"},className:"ProseMirror  text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:n}}),!t.isImageOnTop&&t.image&&(0,l.jsx)("div",{className:"mt-6 cursor-pointer",onClick:()=>b(t.image),children:(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(t.image),alt:"feature",className:"w-full h-auto"})})]}),x&&(0,l.jsx)("div",{className:"fixed inset-0 bg-black/75 flex items-center justify-center z-50 p-4",onClick:y,children:(0,l.jsxs)("div",{className:"relative max-w-4xl max-h-full",children:[(0,l.jsx)("button",{className:"absolute -top-10 right-0 text-white text-3xl hover:text-gray-300",onClick:y,"aria-label":"Close modal",children:"\xd7"}),(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(g),alt:"Enlarged view",className:"max-w-full max-h-screen",onClick:e=>e.stopPropagation()})]})})]})}},4985:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155);a(12115);var r=a(70898),s=a(48389);let n={isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,title:"<h2>Why Choose Us</h2><p>Discover what makes our resort the perfect choice for your next getaway</p>",backgroundColor:"#faf9f6",iconColor:"#7c925a",featureItems:[{icon:"check",title:"OFFERED IN ALL SIZES",content:"Options of Serviced Rooms, Studio Apartments, One Bedroom, Two & Three Bedroom Serviced Apartments offered for flexible stays."},{icon:"home",title:"PRIVATE LIVING ROOMS & KITCHENS",content:"All our Apartments are designed with individual fully-equipped Kitchens having cooking amenities besides Living Rooms with Dining tables and couch seating."},{icon:"trash",title:"CLEANING & MAINTENANCE INCLUDED",content:"All Apartments include Cleaning, Linen Changes, WiFi Internet, Tata Sky TV as well as all daily Maintenance services in pricing."}
1,{icon:"users",title:"TRAINED SUPPORT TEAM",content:"The well-trained Support team offers complete hospitality Services to ensure a comfortable stay of all our valued guests."}]},o=e=>{let{data:t,preview:a=!1}=e,{title:o,description:i,featureItems:c=[],backgroundColor:d,iconColor:m,isFullWidth:u,paddingTop:p,paddingBottom:x,paddingLeft:h,paddingRight:g}=(a?n:t||{})||{},f=e=>({__html:e});return(0,l.jsx)("div",{className:"".concat(u?"w-full":"max-w-7xl mx-auto"," bg-white"),style:{paddingTop:"".concat(p,"px"),paddingBottom:"".concat(x,"px"),paddingLeft:"".concat(h,"px"),paddingRight:"".concat(g,"px")},children:(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed mb-7",dangerouslySetInnerHTML:f(o)}),i&&(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed mb-12",dangerouslySetInnerHTML:f(i)}),(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)("div",{className:"space-y-0",children:c.map((e,t)=>{let a;return(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsxs)("div",{className:"flex flex-col items-center flex-shrink-0 self-stretch",children:[(0,l.jsx)("div",{className:"w-12 h-12 rounded-full flex items-center justify-center z-10 flex-shrink-0",style:{backgroundColor:d,color:m},children:(a=e.icon,s.A[a]||(0,l.jsx)(r.gt3,{className:"w-5 h-5"}))}),t<c.length-1&&(0,l.jsx)("div",{className:"flex-1 border-l-2 border-dashed border-gray-300 my-1"})]}),(0,l.jsxs)("div",{className:"flex-1 pt-1 pl-6 ".concat(t<c.length-1?"pb-8":""),children:[(0,l.jsx)("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:e.title}),(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed",dangerouslySetInnerHTML:f(e.content)})]})]},t)})})})]})})}},5015:(e,t,a)=>{a.d(t,{default:()=>s});var l=a(95155),r=a(12115);let s=e=>{let{data:t}=e,a={sectionTitle:"<h2 class='text-2xl font-bold text-gray-800 mb-4'>Frequently Asked Questions</h2><p class='text-gray-600'>Find answers to common questions about our services</p>",isFullWidth:!1,paddingTop:48,paddingBottom:48,paddingLeft:16,paddingRight:16,faqs:[{title:"What are your business hours?",content:"We are open Monday through Friday from 9:00 AM to 6:00 PM, and on Saturdays from 10:00 AM to 4:00 PM. We are closed on Sundays and major holidays."},{title:"How can I contact customer support?",content:"You can reach our customer support team via email at [email protected], by phone at +1 (555) 123-4567, or through our live chat available on our website during business hours."},{title:"What is your return policy?",content:"We offer a 30-day return policy for all products in their original condition. Please contact our support team to initiate a return and receive further instructions."},{title:"Do you offer international shipping?",content:"Yes, we offer international shipping to over 50 countries. Shipping costs and delivery times vary depending on the destination. You can check shipping options during checkout."},{title:"How secure is my personal information?",content:"We take data security very seriously. All personal information is encrypted using SSL technology and stored securely. We never share your data with third parties without your consent."}],accordions:[]},s=t&&Object.keys(t).length>0,{sectionTitle:n=a.sectionTitle,isFullWidth:o=a.isFullWidth,paddingTop:i=a.paddingTop,paddingBottom:c=a.paddingBottom,paddingLeft:d=a.paddingLeft,paddingRight:m=a.paddingRight,faqs:u=a.faqs,accordions:p=a.accordions}=s?t:a,x=p.length>0?p:u,[h,g]=(0,r.useState)(null),f=e=>e?"string"==typeof e?(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:e}}):e.html?(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:e.html}}):e.text||e.raw?(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:e.text||e.raw}}):(0,l.jsx)("div",{children:String(e)}):null;return(0,l.jsxs)("div",{className:"".concat(o?"w-full":"max-w-6xl mx-auto"),style:{width:o?"100%":"auto",paddingTop:"".concat(i,"px"),paddingBottom:"".concat(c,"px"),paddingLeft:"".concat(d,"px"),paddingRight:"".concat(m,"px")},children:[!s&&(0,l.jsx)("div",{className:"bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded mb-6 text-center text-sm max-w-2xl mx-auto",children:"\uD83D\uDCA1 Showing demo FAQs. Provide data prop to display your actual FAQs."}),(0,l.jsxs)("div",{className:"bg-white",children:[n&&(0,l.jsx)("div",{className:"text-center mb-12",children:f(n)}),(0,l.jsx)("div",{className:"space-y-3",children:x.length>0?x.map((e,t)=>(0,l.jsxs)("div",{className:"border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-shadow duration-200",children:[(0,l.jsxs)("button",{onClick:()=>(e=>{g(h===e?null:e)})(t),className:"w-full flex items-center justify-between p-6 bg-white hover:bg-gray-50 transition-colors duration-200 text-left",children:[(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsxs)("span",{className:"text-blue-600 font-semibold mr-3 mt-1",children:[t+1,"."]}),(0,l.jsx)("span",{className:"text-gray-800 text-lg font-medium",children:f(e.title||e.question)})]}),(0,l.jsx)("div",{className:"transform transition-transform duration-300 text-gray-500 ".concat(h===t?"rotate-45":""),children:(0,l.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6v6m0 0v6m0-6h6m-6 0H6"})})})]}),(0,l.jsx)("div",{className:"overflow-hidden transition-all duration-400 ease-in-out ".concat(h===t?"opacity-100":"max-h-0 opacity-0"),children:(0,l.jsx)("div",{className:"p-6 bg-gray-50 border-t border-gray-200",children:(0,l.jsx)("div",{className:"text-gray-600 text-base leading-relaxed prose prose-sm max-w-none",children:f(e.content||e.answer)})})})]},t)):(0,l.jsxs)("div",{className:"text-center py-12 text-gray-500 bg-gray-50 rounded-lg",children:[(0,l.jsx)("svg",{className:"w-12 h-12 mx-auto text-gray-400 mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,l.jsx)("p",{className:"text-lg",children:"No FAQs available at the moment."}),(0,l.jsx)("p",{className:"text-sm mt-2",children:"Check back later for updates."})]})})]})]})}},5153:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155),r=a(12115),s=a(97290),n=a(48389);let o=e=>{let{data:t}=e,a={backgroundColor:"#f8fafc",backgroundImage:"",iconBackgroun
1dColor:"#3b82f6",cardBackgroundColor:"#ffffff",cardTitleColor:"#1f2937",cardContentColor:"#4b5563",iconColor:"#ffffff",cards:[{icon:"shield",title:"PREMIUM SECURITY",content:"24/7 security surveillance, secure access systems, and safety protocols ensure your peace of mind throughout your stay."},{icon:"award",title:"QUALITY GUARANTEE",content:"Rigorous quality standards and regular maintenance ensure every apartment meets our commitment to excellence and comfort."}],numberOfColumns:2,isFullWidth:!1,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},{backgroundColor:o=a.backgroundColor,backgroundImage:i=a.backgroundImage,iconBackgroundColor:c=a.iconBackgroundColor,cardBackgroundColor:d=a.cardBackgroundColor,cardTitleColor:m=a.cardTitleColor,cardContentColor:u=a.cardContentColor,iconColor:p=a.iconColor,cards:x=a.cards,numberOfColumns:h=a.numberOfColumns,isFullWidth:g=a.isFullWidth,paddingTop:f=a.paddingTop,paddingBottom:b=a.paddingBottom,paddingLeft:y=a.paddingLeft,paddingRight:v=a.paddingRight}=t||{},w=i?{backgroundImage:"url(".concat(s.image_url,"/").concat(i,")"),backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",padding:"".concat(f,"px ").concat(v,"px ").concat(b,"px ").concat(y,"px")}:{backgroundColor:o,padding:"".concat(f,"px ").concat(v,"px ").concat(b,"px ").concat(y,"px")};return(0,l.jsxs)("div",{className:"relative ".concat(g?"w-full":"max-w-6xl mx-auto"),style:w,children:[i&&(0,l.jsx)("div",{className:"absolute inset-0 bg-black/20"}),(0,l.jsx)("div",{className:"".concat(g?"":"container mx-auto"," relative z-10"),children:(0,l.jsx)("div",{className:"grid grid-cols-1 ".concat(1===h?"grid-cols-1":2===h?"md:grid-cols-2":3===h?"md:grid-cols-3 lg:grid-cols-3":4===h?"md:grid-cols-2 lg:grid-cols-4":"md:grid-cols-2"," gap-8 lg:gap-12"),children:null==x?void 0:x.map((e,t)=>(0,l.jsx)("div",{className:"relative",children:(0,l.jsxs)("div",{className:"rounded-lg p-8 pt-12 text-center shadow-lg transition-all duration-300 hover:shadow-xl hover:-translate-y-1",style:{backgroundColor:d},children:[(0,l.jsx)("div",{className:"absolute -top-6 left-1/2 transform -translate-x-1/2",children:(0,l.jsx)("div",{className:"w-12 h-12 rounded-full flex items-center justify-center shadow-lg",style:{backgroundColor:c},children:(e=>{let t=n.A[e];return t?r.isValidElement(t)?r.cloneElement(t,{className:"w-6 h-6",style:{color:p}}):(0,l.jsx)(t,{className:"w-6 h-6",style:{color:p}}):(0,l.jsx)("div",{className:"w-6 h-6",style:{color:p},children:"•"})})(e.icon)})}),(0,l.jsx)("h3",{className:"text-lg font-bold mb-4 tracking-wide uppercase",style:{color:m},children:e.title}),(null==e?void 0:e.content)&&(0,l.jsx)("div",{className:"text-sm leading-relaxed",style:{color:u},children:null==e?void 0:e.content})]})},t))})})]})}},5233:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(12115);let s={isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,sectionTitle:"<h2>What Our Guests Say</h2><p>Real stories from real travelers</p>",backgroundColor:"#ffffff",textColor:"#333333",testimonials:[{text:"<p>Absolutely breathtaking experience! The staff went above and beyond to make our anniversary special. The ocean views from our room were spectacular, and the dining options were world-class. We're already planning our return visit.</p>",name:"Sarah Johnson",place:"Chicago, IL"},{text:"<p>This resort exceeded all our expectations. From the moment we arrived, we felt like royalty. The spa treatments were incredibly relaxing, and the private beach was pristine. Highly recommend for anyone seeking a luxury getaway.</p>",name:"Michael Chen",place:"San Francisco, CA"},{text:"<p>Five stars isn't enough! The attention to detail throughout our stay was impeccable. The infinity pool overlooking the sunset was magical, and the concierge helped us plan perfect day trips. Can't wait to come back!</p>",name:"Emily Rodriguez",place:"Miami, FL"},{text:"<p>A truly unforgettable experience. The room was spacious and beautifully designed, the food was exquisite, and the service was impeccable. The resort's location offers the perfect balance of relaxation and adventure.</p>",name:"David Thompson",place:"Seattle, WA"}]};function n(e){let{data:t,preview:a=!1}=e,{backgroundColor:n="#ffffff",textColor:o="#000000",testimonials:i=[],sectionTitle:c,paddingTop:d=100,paddingBottom:m=100,paddingLeft:u=50,paddingRight:p=50,isFullWidth:x=!0}=(a?s:t||{})||{},h=i.length>0?i.map(e=>({text:e.text?[e.text.replace(/<[^>]*>/g,"")]:["No testimonial text available"],name:e.name||"Anonymous",category:e.place||"Guest"})):[],[g,f]=(0,r.useState)(0);(0,r.useEffect)(()=>
1{if(h.length<=1)return;let e=setInterval(()=>{f(e=>(e+1)%h.length)},5e3);return()=>clearInterval(e)},[h.length]);let b=h[g];return(0,l.jsx)("div",{className:"w-full px-4 sm:px-6 lg:px-8",style:{backgroundColor:n,color:o,paddingTop:"".concat(d,"px"),paddingBottom:"".concat(m,"px"),paddingLeft:x?"0":"".concat(u,"px"),paddingRight:x?"0":"".concat(p,"px")},children:(0,l.jsxs)("div",{style:{maxWidth:x?"100%":"7xl",marginLeft:x?"0":"auto",marginRight:x?"0":"auto"},children:[(0,l.jsx)("h2",{className:"text-3xl sm:text-4xl font-bold text-center mb-12 uppercase tracking-wide",children:(0,l.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:c}})}),(0,l.jsxs)("div",{className:"max-w-4xl mx-auto",children:[(0,l.jsxs)("div",{className:"rounded-lg shadow-sm border p-8 sm:p-10 mb-8 relative transition-opacity duration-500",style:{backgroundColor:"#ffffff"===n?"#f9fafb":"".concat(n,"15"),borderColor:"#000000"===o?"#e5e7eb":"".concat(o,"20")},children:[(0,l.jsx)("div",{className:"space-y-4 leading-relaxed text-sm sm:text-base",style:{color:o},children:(0,l.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:null==b?void 0:b.text}})}),(0,l.jsx)("div",{className:"absolute -bottom-3 left-12 w-6 h-6 transform rotate-45 border-b border-r",style:{backgroundColor:"#ffffff"===n?"#f9fafb":"".concat(n,"15"),borderColor:"#000000"===o?"#e5e7eb":"".concat(o,"20")}})]}),(0,l.jsxs)("div",{className:"pl-8",children:[(0,l.jsx)("p",{className:"font-semibold text-lg",style:{color:"#000000"===o?"#dc2626":o},children:null==b?void 0:b.name}),(0,l.jsx)("p",{className:"text-sm",style:{color:"#000000"===o?"#f87171":"".concat(o,"80")},children:null==b?void 0:b.category})]})]}),h.length>1&&(0,l.jsx)("div",{className:"flex justify-center gap-2 mt-6",children:h.map((e,t)=>(0,l.jsx)("button",{onClick:()=>f(t),className:"w-2 h-2 rounded-full transition-all duration-300 ".concat(t===g?"w-8":"bg-gray-300"),style:{backgroundColor:t===g?"#000000"===o?"#dc2626":o:"#000000"===o?"#d1d5db":"".concat(o,"30")},"aria-label":"Go to testimonial ".concat(t+1)},t))})]})})}},5429:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155),r=a(12115),s=a(12108),n=a(24033);function o(e){let{data:t}=e,{isFullWidth:a=!1,backgroundColor:o="#f5f5f3",paddingTop:i=0,paddingBottom:c=0,paddingLeft:d=0,paddingRight:m=0,sectionTitle:u="",cardsBackgroundColor:p="#ffffff",titleColor:x="#0F172A",contentColor:h="#475569",countColor:g="#849669",faqs:f=[],ctaText:b="",ctaLink:y="#",showCount:v=!0,columnsPerRow:w=2,gap:j=24,borderRadius:N="rounded-3xl",shadow:k=!0,isAccordion:C=!1}=t||{},[_,T]=(0,r.useState)(null),L={backgroundColor:p,borderRadius:"rounded-3xl"===N?"1.5rem":"1rem",boxShadow:k?"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)":"none"};return f&&0!==f.length?(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:o,paddingTop:"".concat(i,"px"),paddingBottom:"".concat(c,"px"),paddingLeft:"".concat(d,"px"),paddingRight:"".concat(m,"px")},children:(0,l.jsxs)("div",{className:"".concat(a?"max-w-full":"max-w-7xl"," mx-auto"),children:[(0,l.jsxs)("div",{className:"flex items-center justify-between mb-10 flex-wrap gap-4",children:[u&&(0,l.jsx)(e=>{let{content:t}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words",dangerouslySetInnerHTML:{__html:t}}):null},{content:u}),b&&(0,l.jsxs)("a",{href:y,className:"text-sm font-bold text-[#849669] hover:text-gray-900 flex items-center gap-1 transition duration-300",target:y.startsWith("http")?"_blank":"_self",rel:y.startsWith("http")?"noopener noreferrer":"",children:[b,(0,l.jsx)("span",{className:"text-lg",children:"→"})]})]}),(0,l.jsx)("div",{className:"grid ".concat((()=>{if(C)return"grid-cols-1";switch(w){case 1:return"grid-cols-1";case 2:default:return"grid-cols-1 md:grid-cols-2";case 3:return"grid-cols-1 md:grid-cols-2 lg:grid-cols-3";case 4:return"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"}})()),style:{gap:"".concat(j,"px")},children:f.map((e,t)=>(0,l.jsx)("div",{className:"p-4 sm:p-8 shadow-lg border border-[#0000000D] transition duration-300 ".concat(C?"":"hover:shadow-xl"),style:L,children:(0,l.jsxs)("div",{className:"flex flex-col sm:flex-row items-start gap-4 ".concat(C?"cursor-pointer":""),onClick:()=>{C&&T(_===t?null:t)},children:[v&&(0,l.jsxs)("span",{className:"text-md lg:text-[24px] font-semibold flex-shrink-0",style:{color:g},children:[(t+1).toString().padStart(2,"0"),"."]}
1),(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,l.jsx)("h3",{className:"text-sm lg:text-[18px] font-bold",style:{color:x},children:e.title}),C&&(0,l.jsx)("div",{className:"flex-shrink-0",children:_===t?(0,l.jsx)(s.A,{size:20,style:{color:g}}):(0,l.jsx)(n.A,{size:20,style:{color:g}})})]}),(!C||_===t)&&e.content&&(0,l.jsx)("p",{className:"text-sm lg:text-[16px] leading-relaxed mt-3 ".concat(C?"animate-fadeIn":""),style:{color:h},children:e.content})]})]})},t))})]})}):null}},7958:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(97290);a(12115);let s={isFullWidth:!0,paddingTop:80,paddingBottom:80,paddingLeft:24,paddingRight:24,height:100,images:[{image:"https://images.unsplash.com/photo-1618773928121-c32242e63f39?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8aG90ZWx8ZW58MHx8MHx8fDA%3D&fm=jpg&q=60&w=3000",altText:"Luxury hotel exterior with swimming pool and modern architecture"},{image:"https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8M3x8aG90ZWx8ZW58MHx8MHx8fDA%3D&fm=jpg&q=60&w=3000",altText:"Elegant hotel room with comfortable king size bed and modern decor"},{image:"https://images.unsplash.com/photo-1551882547-ff40c63fe5fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8aG90ZWx8ZW58MHx8MHx8fDA%3D&fm=jpg&q=60&w=3000",altText:"Hotel swimming pool with sun loungers and tropical plants"},{image:"https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NXx8aG90ZWx8ZW58MHx8MHx8fDA%3D&fm=jpg&q=60&w=3000",altText:"Hotel lobby with reception desk and elegant chandelier"}]},n=e=>{let{data:t,loading:a=!1,className:n="",preview:o=!1}=e,i=o?s:t;if(!i)return null;let c=i.height,d=i.images||[],m=(null==i?void 0:i.altText)||"Hotel gallery images";null==i||i.content;let u=(null==i?void 0:i.backgroundColor)||"#f8f8f8",p=(null==i?void 0:i.overlayColor)||"rgba(0,0,0,0.5)",x=(null==i?void 0:i.showOverlay)===void 0||i.showOverlay,h=(null==i?void 0:i.isFullWidth)===void 0||i.isFullWidth,g=(null==i?void 0:i.paddingTop)!==void 0?i.paddingTop:10,f=(null==i?void 0:i.paddingBottom)!==void 0?i.paddingBottom:10,b=(null==i?void 0:i.paddingLeft)!==void 0?i.paddingLeft:10,y=(null==i?void 0:i.paddingRight)!==void 0?i.paddingRight:10;return(null==i||i.imagesPerRow,null==i||i.gap,i&&i.images&&Array.isArray(i.images)&&i.images.length,a)?(0,l.jsx)("section",{className:"relative w-full min-h-[calc(100vh-500px)] md:min-h-[calc(100vh-80px)] bg-gray-200 animate-pulse ".concat(n),"aria-label":"Loading banner",children:(0,l.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,l.jsx)("div",{className:"text-gray-500",children:"Loading..."})})}):(0,l.jsxs)("section",{className:"relative w-full flex items-center  bg-cover bg-center bg-no-repeat ".concat(n," ").concat(h?"":"container mx-auto"),style:{backgroundColor:u,paddingTop:"".concat(g,"px"),paddingBottom:"".concat(f,"px"),paddingLeft:"".concat(b,"px"),paddingRight:"".concat(y,"px"),height:c?"".concat(c,"vh"):"100vh"},role:"banner","aria-label":m,children:[(0,l.jsx)("div",{className:"absolute inset-0 grid ".concat((()=>{let e=null==d?void 0:d.length;return e<=1?"grid-cols-1":e<=2?"grid-cols-2":e<=4?"grid-cols-2 md:grid-cols-4":"grid-cols-2 md:grid-cols-4 lg:grid-cols-4"})()," ").concat((()=>{let e=d.length;return e<=4?"grid-rows-1":e<=8?"grid-rows-2":"grid-rows-1"})()),children:d.map((e,t)=>{let a="string"==typeof e?e:e.image,s="string"==typeof e?"".concat(m," ").concat(t+1):e.altText||"".concat(m," ").concat(t+1),n=a.includes("http")?a:"".concat(r.image_url,"/").concat(a);return(0,l.jsx)("div",{className:"relative w-full h-full overflow-hidden",children:(0,l.jsx)("img",{src:n,alt:s,className:"w-full h-full object-cover transition-transform duration-300 hover:scale-105",loading:"lazy"})},t)})}),x&&p&&(0,l.jsx)("div",{className:"absolute inset-0",style:{backgroundColor:p,opacity:.6},"aria-hidden":"true"})]})}},8101:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155),r=a(97290),s=a(12115);let n={width:100,htmlContent:'<div style="width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 12px;">\n    <div style="text-align: center; color: white;">\n      <h2 style="font-size: 2rem; margin-bottom: 1rem;">Interactive Script Banner</h2>\n      <p style="font-size: 1.2rem;">This is custom HTML/JavaScript content</p>\n      <button onclick="alert(\'Hello from embedded script!\')" style="background: white; color: #667eea; padding: 10px 20px; border: none; border-radius: 5px; margin-top: 1rem; cursor: pointer;">\n        Click Me\n      </button>\n    </div>\n  </div>',topContent:"<h2 class='text-2xl font-bold text-center mb-4'>Above Script Content</h2><p class='text-center text-gray-600'>This content appears above the script banner</p>",bottomContent:"<div class='text-center mt-8'><h3 class='text-xl font-semibold mb-2'>Below Script Content</h3><p class='text-gray-600'>This content appears below the script banner with custom styling</p></div>",bottomContentMarginTop:30,height:100,backgroundColor:"#f5f5f5",backgroundImage:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",bottomRadius:50,topRadius:50},o=function(e){let{data:t,preview:a=!1}=e,{htmlContent:o,height:i=200,maxHeight:c="100vh",backgroundImage:d,backgroundColor:m,paddingTop:u=0,paddingBottom:p=0,topContent:x,bottomContent:h,bottomContentMarginTop:g=0,width:f=100,bottomRadius:b=0,topRadius:y=0}=(a?n:t)||{}
1,[v,w]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=()=>{w(window.innerWidth<640)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,l.jsxs)("div",{className:"bg-white w-full mx-auto",style:{height:"".concat(i,"vh"),backgroundImage:"url(".concat(r.image_url,"/").concat(d,")"),backgroundColor:m||"transparent",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",paddingTop:"".concat(u,"px"),paddingBottom:"".concat(p,"px"),boxSizing:"border-box",maxHeight:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",maxWidth:v?"100%":"".concat(f,"%"),borderBottomLeftRadius:"".concat(b,"px"),borderBottomRightRadius:"".concat(b,"px"),borderTopLeftRadius:"".concat(y,"px"),borderTopRightRadius:"".concat(y,"px"),zIndex:10,position:"relative"},children:[(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words",style:{textAlign:"center",width:"100%"},dangerouslySetInnerHTML:{__html:x}}),(0,l.jsx)("iframe",{srcDoc:"\n    <!DOCTYPE html>\n    <html>\n      <head>\n        <style>\n          html, body {\n            margin: 0;\n            padding: 0;\n            height: 100%; \n            width: 100%;\n          }\n\n          body {\n            display: flex;\n            justify-content: center;\n            align-items: start;\n            background: transparent;\n            overflow: hidden;\n          }\n\n          * {\n            text-align: center;\n          }\n        </style>\n      </head>\n      <body>\n        ".concat(o,"\n      </body>\n    </html>\n  "),title:"Embedded HTML",style:{width:"100%",height:"336px",flexGrow:0,flexShrink:0,border:"none",display:"block",backgroundColor:"transparent"},sandbox:"   allow-same-origin   allow-scripts   allow-forms   allow-popups   allow-popups-to-escape-sandbox   "}),(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words",style:{textAlign:"center",width:"100%",marginTop:"".concat(g,"px")},dangerouslySetInnerHTML:{__html:h}})]})}},8278:(e,t,a)=>{a.d(t,{default:()=>d});var l=a(95155),r=a(35258),s=a(30178),n=a(97290),o=a(20063),i=a(12115),c=a(22663);let d=e=>{let{data:t,loading:a=!1,className:d="",sectionName:m,sectionOrder:u}=e,p="https://c4.wallpaperflare.com/wallpaper/964/41/278/interior-bed-hotel-wallpaper-preview.jpg",{brandSlug:x,website_slug:h,landingPageSlug:g}=(0,o.useParams)(),{image:f="",altText:b="Banner background image",content:y="",backgroundColor:v="transparent",overlayColor:w="rgba(0,0,0,0.5)",showOverlay:j=!0,isFullWidth:N=!0,formName:k,formType:C,formFields:_=[],submitButtonText:T="Submit",uniqueFormKey:L,paddingTop:S=0,paddingBottom:B=0,paddingLeft:A=0,paddingRight:M=0,inputColor:I="#FFFFFF",inputBorderColor:F="#D1D5DB",focusColor:R="#3B82F6",labelColor:P="#FFFFFF",height:W="100vh",showCaptcha:E=!1}=t||{},H=f?"".concat(n.image_url,"/").concat(f):p,D=f||H!==p,[q,z]=(0,i.useState)(""),[O,G]=(0,i.useState)(0),[U,V]=(0,i.useState)(""),[Y,K]=(0,i.useState)(""),[J,Z]=(0,i.useState)(!1),Q=(0,i.useCallback)(()=>{let e,t,a=Math.floor(10*Math.random())+1,l=Math.floor(10*Math.random())+1,r=["+","-","\xd7"];switch(r[Math.floor(Math.random()*r.length)]){case"+":default:e=a+l,t="".concat(a," + ").concat(l);break;case"-":e=a-l,t="".concat(a," - ").concat(l);break;case"\xd7":e=a*l,t="".concat(a," \xd7 ").concat(l)}z(t),G(e),V(""),K(""),Z(!1)},[]);(0,i.useEffect)(()=>{E&&Q()},[E,Q]);let X=(0,i.useMemo)(()=>{let e={};return _.forEach(t=>{Array.isArray(t.options)&&t.options.length>0?e[t.name]=[]:e[t.name]=""}),e},[_]),$=(0,i.useRef)({}),ee=(0,i.useRef)(null);(0,i.useMemo)(()=>{let e={};_.forEach(t=>{e[t.name]=i.createRef()}),$.current=e},[_]);let[et,ea]=(0,i.useState)(X),[el,er]=(0,i.useState)(!1),[es,en]=(0,i.useState)({}),eo=(e,t)=>e&&"transparent"!==e&&/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e)?e:t,ei=eo(I,"#FFFFFF"),ec=eo(F,"#D1D5DB"),ed=eo(R,"#3B82F6"),em=eo(P,"#FFFFFF");if(a)return(0,l.jsx)("section",{className:"relative w-full min-h-[calc(100vh-500px)] md:min-
1h-[calc(100vh-80px)] bg-gray-200 animate-pulse ".concat(d),"aria-label":"Loading banner",children:(0,l.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,l.jsx)("div",{className:"text-gray-500",children:"Loading..."})})});let eu=async e=>{e.preventDefault();let t=(()=>{let e={};return _.forEach(t=>{let{name:a,required:l,type:r,label:s}=t,n=et[a];l&&("checkbox"===r&&Array.isArray(n)&&0===n.length?e[a]="".concat(s," is required"):("checkbox"!==r||n)&&n&&""!==n.toString().trim()||(e[a]="".concat(s," is required"))),"email"===r&&n&&!/\S+@\S+\.\S+/.test(n)&&(e[a]="Please enter a valid email address"),"tel"===r&&n&&!/^[\d\s\-\+\(\)]{10,}$/.test(n)&&(e[a]="Please enter a valid phone number")}),E&&!J&&(e.captcha="Please solve the CAPTCHA"),e})();if(Object.keys(t).length>0){var a,l,n;en(t);let e=Object.keys(t)[0];"captcha"===e?null==(a=ee.current)||a.focus():null==(n=$.current[e])||null==(l=n.current)||l.focus();return}er(!0);try{let e={body:{formData:{...et},brandSlug:x,formType:C,sectionOrder:u,sectionName:m||"BannerWithForm_1",uniqueFormKey:L}};if((h?await (0,r.Y8)({...e,body:{...e.body,websiteSlug:h}}):await (0,s.A7)({...e,body:{...e.body,landingPageSlug:g}})).ok){let e={};Object.keys(et).forEach(t=>{Array.isArray(et[t])?e[t]=[]:e[t]=""}),ea(e),en({}),V(""),Z(!1),Q(),c.Ay.success("Thanks, we will get back to you soon.")}else throw Error("Submission failed")}catch(e){console.error("Submission error:",e),c.Ay.error("Something went wrong! Please refresh the page and try again.")}finally{er(!1)}},ep=e=>{let{name:t,value:a,type:l,checked:r,options:s}=e.target;if(es[t]&&en(e=>({...e,[t]:""})),"checkbox"===l&&s){let e=[...et[t]];if(r)e.push(a);else{let t=e.indexOf(a);t>-1&&e.splice(t,1)}ea(a=>({...a,[t]:e}))}else"checkbox"===l?ea(e=>({...e,[t]:r})):"radio"===l?ea(e=>({...e,[t]:a})):ea(e=>({...e,[t]:a}))};return(0,l.jsxs)("section",{className:"relative w-full flex items-center justify-center ".concat(D?"min-h-[calc(100vh-500px)] md:min-h-[calc(100vh-80px)]":"min-h-[calc(100vh-700px)] md:min-h-[calc(100vh-0px)]"," bg-cover bg-center bg-no-repeat ").concat(d),style:{backgroundImage:D?"url(".concat(H,")"):"none",backgroundColor:v,paddingTop:"".concat(S,"px"),paddingBottom:"".concat(B,"px"),paddingLeft:"".concat(A,"px"),paddingRight:"".concat(M,"px"),height:W?"".concat(W,"vh"):"100vh"},role:"banner","aria-label":b,children:[j&&w&&(0,l.jsx)("div",{className:"absolute inset-0",style:{backgroundColor:w},"aria-hidden":"true"}),(0,l.jsx)("div",{className:"relative z-10 w-full max-w-7xl mx-auto px-4",children:(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center w-full",children:[y&&(0,l.jsx)("div",{className:"w-full text-center mb-8 lg:mb-12",children:(0,l.jsx)("div",{className:"ProseMirror text-white leading-relaxed space-y-4 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_*]:text-white [&_h1]:text-white [&_h2]:text-white [&_h3]:text-white [&_h4]:text-white [&_h5]:text-white [&_h6]:text-white [&_p]:text-white [&_span]:text-white",dangerouslySetInnerHTML:{__html:y}})}),_.length>0&&(0,l.jsxs)("div",{className:"w-full max-w-4xl mx-auto",children:[k&&(0,l.jsx)("h2",{className:"text-2xl font-semibold mb-6 text-center text-white",style:{color:em},children:k}),(0,l.jsx)("form",{onSubmit:eu,className:"w-full",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-
15 items-end",children:[_.map(e=>(e=>{let{label:t,name:a,type:r,options:s=[],required:n=!1,fieldInputColor:o=ei,fieldInputBorderColor:i=ec,fieldFocusColor:c=ed,fieldLabelColor:d=em}=e,m="#ffffff",u=eo(i,ec);eo(c,ed);let p=eo(d,em),x="w-full px-3 py-2 bg-transparent border rounded-md focus:outline-none focus:ring-1 placeholder-gray-400",h={borderColor:u,color:m},g={color:p};switch(r){case"text":case"email":case"tel":return(0,l.jsxs)("div",{className:"flex-1 min-w-[150px]",children:[(0,l.jsxs)("label",{htmlFor:a,className:"block text-sm font-medium mb-1",style:g,children:[t," ",n&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)("input",{type:r,id:a,name:a,value:et[a]||"",onChange:ep,className:"".concat(x," ").concat(es[a]?"border-red-500":""),style:{...h,borderColor:es[a]?"#EF4444":u},required:n,ref:$.current[a]}),es[a]&&(0,l.jsx)("p",{className:"text-red-500 text-xs mt-1",children:es[a]})]},a);case"select":return(0,l.jsxs)("div",{className:"flex-1 min-w-[150px]",children:[(0,l.jsxs)("label",{htmlFor:a,className:"block text-sm font-medium mb-1",style:g,children:[t," ",n&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsxs)("select",{id:a,name:a,value:et[a]||"",onChange:ep,className:"".concat(x," appearance-none bg-transparent ").concat(es[a]?"border-red-500":""),style:{...h,borderColor:es[a]?"#EF4444":u},required:n,ref:$.current[a],children:[(0,l.jsxs)("option",{value:"",children:["Select ",t]}),s.map((e,t)=>(0,l.jsx)("option",{value:e,style:{color:"#000000",backgroundColor:"#ffffff"},children:e},t))]}),es[a]&&(0,l.jsx)("p",{className:"text-red-500 text-xs mt-1",children:es[a]})]},a);case"textarea":return(0,l.jsxs)("div",{className:"w-full col-span-full",children:[(0,l.jsxs)("label",{htmlFor:a,className:"block text-sm font-medium mb-1",style:g,children:[t," ",n&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)("textarea",{id:a,name:a,value:et[a]||"",onChange:ep,rows:3,className:"".concat(x," resize-vertical w-full ").concat(es[a]?"border-red-500":""),style:{...h,borderColor:es[a]?"#EF4444":u},required:n,ref:$.current[a]}),es[a]&&(0,l.jsx)("p",{className:"text-red-500 text-xs mt-1",children:es[a]})]},a);case"checkbox":if(s.length>0)return(0,l.jsxs)("div",{className:"w-full col-span-full",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium mb-1",style:g,children:[t," ",n&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)("div",{className:"flex flex-wrap gap-4",children:s.map((e,t)=>{var r;return(0,l.jsxs)("label",{className:"flex items-center",style:{color:m},children:[(0,l.jsx)("input",{type:"checkbox",name:a,value:e,checked:(null==(r=et[a])?void 0:r.includes(e))||!1,onChange:ep,className:"mr-2 bg-transparent rounded focus:ring-blue-500",style:{borderColor:u,color:m}}),e]},t)})}),es[a]&&(0,l.jsx)("p",{className:"text-red-500 text-xs mt-1",children:es[a]})]},a);return(0,l.jsxs)("div",{className:"w-full col-span-full",children:[(0,l.jsxs)("label",{className:"flex items-center",style:{color:m},children:[(0,l.jsx)("input",{type:"checkbox",name:a,checked:et[a]||!1,onChange:ep,className:"mr-2 bg-transparent rounded focus:ring-blue-500",style:{borderColor:u,color:m}}),t]}),es[a]&&(0,l.jsx)("p",{className:"text-red-500 text-xs mt-1",children:es[a]})]},a);case"radio":return(0,l.jsxs)("div",{className:"w-full col-span-full",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium mb-1",style:g,children:[t," ",n&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)("div",{className:"flex flex-wrap gap-4",children:s.map((e,t)=>(0,l.jsxs)("label",{className:"flex items-center",style:{color:m},children:[(0,l.jsx)("input",{type:"radio",name:a,value:e,checked:et[a]===e,onChange:ep,className:"mr-2 bg-transparent focus:ring-blue-500",style:{borderColor:u,color:m},required:n}),e]},t))}),es[a]&&(0,l.jsx)("p",{className:"text-red-500 text-xs mt-1",children:es[a]})]},a);default:return(0,l.jsxs)("div",{className:"flex-1 min-w-[150px]",children:[(0,l.jsxs)("label",{htmlFor:a,className:"block text-sm font-medium mb-1",style:g,children:[t," ",n&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)("input",{type:"text",id:a,name:a,value:et[a]||"",onChange:ep,className:"".concat(x," ").concat(es[a]?"border-red-500":""),style:{...h,borderColor:es[a]?"#EF4444":u},required:n,ref:$.current[a]}),es[a]&&(0,l.jsx)("p",{className:"text-red-500 text-xs mt-1",children:es[a]})]},a)}})(e)),E?(0,l.jsx)("div",{className:"col-span-full w-full max-w-xs mx-auto mt-3",children:(0,l.jsxs)("div",{className:"bg-white/10 backdrop-blur-sm rounded-lg p-3 border border-white/20",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2 mb-2",children:[(0,l.jsx)("div",{className:"flex-1 bg-gradient-to-r from-blue-500/20 to-purple-500/20 rounded px-3 py-2 text-center",children:(0,l.jsxs)("span",{className:"text-white text-sm font-mono tracking-wider select-none",children:[q," = ?"]})}),(0,l.jsx)("button",{type:"button",onClick:()=>{Q(),V(""),K(""),Z(!1),ee.current&&ee.current.focus()},className:"flex-shrink-0 p-2 rounded-lg bg-white/10 hover:bg-white/20 transition-colors text-white","aria-label":"Refresh CAPTCHA",title:"Refresh CAPTCHA",children:(0,l.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{ref:ee,type:"text",value:U,onChange:e=>{let t=e.target.value;V(t),K(""),Z(!1),t&&parseInt(t)===O&&(Z(!0),K(""))},placeholder:"Enter your answer",className:"w-full px-3 py-2 text-sm bg-white/10 border rounded focus:outline-none focus:ring-1 text-white placeholder-gray-400 transition-all ".concat(J?"border-green-400 focus:ring-green-400":Y?"border-red-400 focus:ring-red-400":"border-white/30 focus:ring-blue-400"),style:{borderColor:J?"#4ADE80":Y?"#EF4444":"rgba(255,255,255,0.3)"},disabled:J}),J&&(0,l.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-green-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})]}),Y&&(0,l.jsx)("p",{className:"text-red-400 text-xs mt-1 text-center",children:Y}),J&&!Y&&(0,l.jsx)("p",{className:"text-green-400 text-xs mt-1 text-center",children:"✓ CAPTCHA verified"})]})}):null,(0,l.jsx)("div",{className:"col-span-full flex justify-center mt-4",children:(0,l.jsx)("button",{type:"submit",disabled:el||E&&!J,className:"py-3 px-8 rounded-md text-white font-medium transition-colors ".concat(el||E&&!J?"bg-gray-400 cursor-not-allowed":"bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2"),children:el?"Submitting...":T})})]})})]})]})})]})}},11022:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155),r=a(97290),s=a(20063);a(12115);let n={isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,title:"<h2>Our Story</h2><p>Discover the passion and dedication behind our world-class resort</p>",backgroundColor:"#00c217",iconColor:"#7c925a",leftImage:"https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Luxury resort entrance with modern architecture",leftContent:"<h3>Luxury Redefined</h3><p>
1Founded in 2010, our resort has been a beacon of hospitality excellence. We believe that every guest deserves an unforgettable experience tailored to their unique preferences.</p><p>Our dedicated team works tirelessly to ensure every aspect of your stay exceeds expectations. From personalized welcome amenities to curated local experiences, we go above and beyond to create lasting memories.</p><p>Join us and discover why travelers from around the world choose us for their dream vacation.</p>",leftButtonText:"Discover Our Story",leftButtonUrl:"/about",leftButtonBackgroundColor:"#7c925a",leftButtonTextColor:"#ffffff",leftButtonRadius:8,openInNewTab:!1,cards:[{content:"<h4>✓ Award Winning Service</h4><p>Recognized as a top luxury resort for exceptional hospitality and guest satisfaction.</p>"},{content:"<h4>✓ Prime Beachfront Location</h4><p>Located on the most stunning stretch of private beach with breathtaking ocean views.</p>"},{content:"<h4>✓ World-Class Amenities</h4><p>Features infinity pools, Michelin-starred restaurants, and a full-service luxury spa.</p>"},{content:"<h4>✓ Sustainable Luxury</h4><p>Committed to eco-friendly practices while maintaining the highest standards of luxury.</p>"}]};function o(e){var t,a;let{data:o,preview:i=!1}=e,c=i?n:o,{isFullWidth:d,paddingTop:m=100,paddingBottom:u=100,paddingLeft:p=50,paddingRight:x=50,backgroundColor:h,iconColor:g,title:f="<p></p>",leftContent:b,leftButtonText:y="",leftButtonUrl:v="",openInNewTab:w=!1,leftImage:j,altText:N,cards:k=[],leftButtonBackgroundColor:C,leftButtonTextColor:_,leftButtonRadius:T}=c||{},{brandSlug:L,website_slug:S,landingPageSlug:B}=(0,s.useParams)(),A="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),M=(e,t,a)=>(console.log("generate url",e,t,a),A)?"/".concat(t,"/website/").concat(a).concat(e):e,I=(e,t)=>{if(!(e.startsWith("http://")||e.startsWith("https://")))if(t.preventDefault(),S){let t=M(e,L,S);window.location.href=t}else if(B){let t=e.replace("#",""),a=document.getElementById(t);a?a.scrollIntoView({behavior:"smooth",block:"start"}):console.warn("Element with id '".concat(t,"' not found"))}else window.location.href=e},F=v&&"dummy"!==v?v.startsWith("http://")||v.startsWith("https://")?{href:v,target:w?"_blank":"_self",rel:"noopener noreferrer",onClick:void 0}:S?{href:M(v,L,S),onClick:e=>I(v,e)}:{href:v,onClick:e=>I(v,e)}:null;return(0,l.jsx)("div",{className:"min-h-screen ".concat(d?"w-full":"container mx-auto"),style:{backgroundColor:h,paddingTop:"".concat(m,"px"),paddingBottom:"".concat(u,"px"),paddingLeft:"".concat(p,"px"),paddingRight:"".concat(x,"px")},children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto grid md:grid-cols-2 gap-12",children:[(0,l.jsxs)("div",{className:"text-white",children:[(0,l.jsx)("div",{className:"ProseMirror text-white mb-6 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:f||""}}),(!c||j)&&(0,l.jsx)("div",{className:"bg-white rounded-lg overflow-hidden shadow-xl mb-6",children:(0,l.jsx)("img",{src:j.includes("http")?j:"".concat(r.image_url,"/").concat(j),alt:c?N||"About us image":"Modern living room",className:"w-full h-64 object-cover"})}),c&&b?(0,l.jsx)("div",{className:"ProseMirror text-white text-sm leading-relaxed space-y-4 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:b||""}}):(0,l.jsx)(l.Fragment,{}),F&&(0,l.jsx)("a",{...F,style:{background:C||"#000000",color:_||"#ffffff",borderRadius:"".concat(T,"px")||0},className:"inline-block mt-6  px-8 py-3 rounded-full font-semibold transition-colors duration-300",children:y})]}),(0,l.jsxs)("div",{className:"text-white",children:[(0,l.jsx)("h2",{className:"text-4xl font-bold mb-6",children:"Services"}),(0,l.jsx)("div",{className:"space-y-8",children:c&&k&&k.length>0?k.map((e,t)=>(0,l.jsxs)("div",{className:"flex gap-4 ".concat(t%2==1?"flex-row-reverse":""),children:[(0,l.jsxs)("div",{className:"flex-shrink-0 flex flex-col items-center",children:[(0,l.jsx)("div",{className:"w-3 h-3 rounded-full mt-2",style:{backgroundColor:g}}),t<k.length-0&&(0,l.jsx)("div",{className:"w-0.5 flex-1 border-l-2 border-dashed mt-2",style:{borderColor:g}})]}),(0,l.jsx)("div",{className:t<k.length-1?"pb-8":"",children:(0,l.jsx)("div",{className:"ProseMirror text-white text-sm leading-relaxed opacity-90 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:e.content||""}})})]},t)):(0,l.jsx)(l.Fragment,{})})]})]})})}},11644:(e,t,a)=>{a.d(t,{default:()=>m});var l=a(95155),r=a(12115),s=a(97290),n=a(30178),o=a(20063),i=a(22663),c=a(35258),d=a(81602);a(30594);let m=e=>{var t;let{data:a,sectionOrder:m,sectionName:u}=e,{brandSlug:p,website_slug:x,landingPageSlug:h}=(0,o.useParams)(),g=(0,o.useRouter)(),f="clients.staystack.encrobytes.com"===window.location.hostname||window.location.hostname.includes("localhost"),b=a&&Object.keys(a).length>0,y=b?a:{formName:"Contact Us",topContent:"<p class='text-lg text-gray-300 mb-6'>Get in touch with us and we'll get back to you as soon as possible</p>",paddingTop:48,paddingBottom:48,paddingLeft:16,paddingRight:16,submitButtonText:"Send Message",submitButtonBackgroun
1dColor:"#5a8a48",submitButtonTextColor:"#ffffff",formHeadingTextColor:"#ffffff",showCaptcha:!1,formFields:[{name:"name",label:"Full Name",type:"text",required:!0},{name:"email",label:"Email Address",type:"email",required:!0},{name:"phone",label:"Phone Number",type:"tel",required:!0,enableCountryCode:!0,defaultCountry:"us",preferredCountries:["us","gb","ca","au","in"]},{name:"subject",label:"Subject",type:"select",options:[{value:"general",label:"General Inquiry"},{value:"booking",label:"Booking Information"},{value:"support",label:"Customer Support"},{value:"other",label:"Other"}],required:!0},{name:"message",label:"Your Message",type:"textarea",required:!1},{name:"terms",label:"I agree to the terms and conditions",type:"checkbox",required:!0}]},{topContent:v}=y,w=y.formFields||[],j=y.showCaptcha||!1,[N,k]=(0,r.useState)(""),[C,_]=(0,r.useState)(0),[T,L]=(0,r.useState)(""),[S,B]=(0,r.useState)(""),[A,M]=(0,r.useState)(!1),I=(0,r.useRef)(null),F=(0,r.useCallback)(()=>{let e,t,a=Math.floor(10*Math.random())+1,l=Math.floor(10*Math.random())+1,r=["+","-","\xd7"];switch(r[Math.floor(Math.random()*r.length)]){case"+":default:e=a+l,t="".concat(a," + ").concat(l);break;case"-":e=a-l,t="".concat(a," - ").concat(l);break;case"\xd7":e=a*l,t="".concat(a," \xd7 ").concat(l)}k(t),_(e),L(""),B(""),M(!1)},[]);(0,r.useEffect)(()=>{j&&F()},[j,F]);let R=e=>{let t=e.target.value;L(t),B(""),M(!1),t&&parseInt(t)===C&&(M(!0),B(""))},P=()=>{F(),L(""),B(""),M(!1),I.current&&I.current.focus()},W=w.reduce((e,t)=>{if(t&&t.name){let a=t.type;t.name.toLowerCase().includes("email")||t.label.toLowerCase().includes("email")?a="email":(t.name.toLowerCase().includes("phone")||t.label.toLowerCase().includes("phone"))&&(a="tel"),"checkbox"===a&&t.options?e[t.name]=[]:"checkbox"!==a||t.options?e[t.name]="":e[t.name]=!1}return e},{}),[E,H]=(0,r.useState)(W),[D,q]=(0,r.useState)({}),[z,O]=(0,r.useState)(!1),G=(0,r.useRef)(w.reduce((e,t)=>(t&&t.name&&(e[t.name]=r.createRef()),e),{})).current,U=e=>{let{name:t,value:a,type:l,checked:r}=e.target;if("checkbox"===l){let e=w.find(e=>e.name===t);(null==e?void 0:e.options)?H(e=>({...e,[t]:r?[...e[t]||[],a]:(e[t]||[]).filter(e=>e!==a)})):H(e=>({...e,[t]:r}))}else"radio"===l?H(e=>({...e,[t]:a})):H(e=>({...e,[t]:a}));q(e=>({...e,[t]:""}))},V=async e=>{e.preventDefault();let t=(()=>{let e={};return w.forEach(t=>{if(!t||!t.name)return;let a=E[t.name],l=((e,t)=>{let a=[],l=e.type;if(e.name.toLowerCase().includes("email")||e.label.toLowerCase().includes("email")?l="email":(e.name.toLowerCase().includes("phone")||e.label.toLowerCase().includes("phone"))&&(l="tel"),!0===e.isRequired&&("checkbox"===l&&e.options?t&&0!==t.length||a.push("".concat(e.label," is required")):"checkbox"!==l||e.options?"radio"===l?t&&""!==t.trim()||a.push("Please select ".concat(e.label.toLowerCase())):(null==t?void 0:t.trim())||a.push("".concat(e.label," is required")):t||a.push("You must accept ".concat(e.label))),"email"===l&&t&&t.trim()&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim())||a.push("Please enter a valid email address")),("tel"===l||"phone"===l)&&t&&t.trim()&&t.replace(/\D/g,"").length<7&&a.push("Please enter a valid phone number with country code"),(e.name.toLowerCase().includes("name")||e.label.toLowerCase().includes("name"))&&t&&t.trim().length<2&&a.push("Please enter a valid name"),(e.name.toLowerCase().includes("message")||e.label.toLowerCase().includes("message"))&&t&&t.trim().length<10&&a.push("Please enter a message with at least 10 characters"),("check_in_"===e.name||"check_out"===e.name)&&t){let l=new Date().setHours(0,0,0,0),r=new Date(t).setHours(0,0,0,0);"check_in_"===e.name&&r<l&&a.push("Check-in cannot be in the past");let s=E.check_in_?new Date(E.check_in_).setHours(0,0,0,0):null,n=E.check_out?new Date(E.check_out).setHours(0,0,0,0):null;s&&n&&s>n&&a.push("check_in_"===e.name?"Check-in cannot be after check-out":"Check-out cannot be before check-in")}return a})(t,a);l.length>0&&(e[t.name]=l)}),j&&!A&&(e.captcha=["Please solve the CAPTCHA"]),e})();if(Object.keys(t).length>0){var a,l,r;q(t);let e=Object.keys(t)[0];"captcha"===e?null==(a=I.current)||a.focus():null==(r=G[e])||null==(l=r.current)||l.focus();return}O(!0);try{let e={body:{formData:{...E},brandSlug:p,formType:y.formType,sectionOrder:m,sectionName:"Form_5",uniqueFormKey:y.uniqueFormKey}};if(x?await (0,c.Y8)({...e,body:{...e.body,websiteSlug:x}}):await (0,n.A7)({...e,body:{...e.body,landingPageSlug:h}}),h)return g.push(f?"/".concat(p,"/landing/").concat(h,"/thankyou"):"/thankyou");i.oR.success("Thanks, we will get back to you soon."),H(W),q({}),L(""),M(!1),F()}catch(e){console.error("Submission error:",e),i.oR.error("Something went wrong! Please refresh the page and try again.")}finally{O(!1)}},Y=e=>"mt-1 block w-full px-3 py-2 border ".concat(D[e]?"border-red-500":"border-gray-300"," rounded-md shadow-sm focus:outline-none focus:ring-[#5a8a48] focus:border-[#5a8a48] sm:text-sm"),K=e=>e?(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e},className:"inline-block"}):null;return(0,l.jsx)("div",{className:"font-inter text-white",id:"contact",style:{paddingTop:"".concat(y.paddingTop||0,"px"),paddingBottom:"".concat(y.paddingBottom||0,"px"),paddingLeft:"".concat(y.paddingLeft||0,"px"),paddingRight:"".concat(y.paddingRight||0,"px"),background:y.sectionBackgroun
1dColor||"#5a8a48"},children:(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 min-h-screen",children:[(0,l.jsx)("div",{className:"w-full h-full",children:(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(null==a?void 0:a.leftImage),alt:null==a||null==(t=a.leftImage)?void 0:t.url,className:"w-full h-full object-cover"})}),(0,l.jsx)("div",{className:"w-full flex items-center justify-center p-6 md:p-8 lg:p-12",style:{background:(null==a?void 0:a.backgroundColor)||"#ffffff"},children:(0,l.jsxs)("div",{className:"w-full max-w-lg",children:[!b&&(0,l.jsx)("div",{className:"bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded mb-6 text-center text-sm",children:"\uD83D\uDCA1 Showing demo form. Provide data prop to display your actual form."}),(0,l.jsxs)("div",{className:"text-center mb-8",children:[y.formName&&(0,l.jsx)("h2",{style:{color:(null==a?void 0:a.formHeadingTextColor)||"#ffffff"},className:"text-3xl md:text-4xl font-bold mb-6",children:y.formName}),v&&(0,l.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:v}})]}),(0,l.jsx)("div",{className:"bg-white p-8 rounded-lg shadow-xl text-gray-700",children:(0,l.jsxs)("form",{onSubmit:V,children:[(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-2",children:[w.map(e=>{let t=(e=>{let t=e.type;return e.name.toLowerCase().includes("email")||e.label.toLowerCase().includes("email")?t="email":(e.name.toLowerCase().includes("phone")||e.label.toLowerCase().includes("phone"))&&(t="tel"),"textarea"===t||"checkbox"===t||"radio"===t||"select"===t})(e);return(0,l.jsx)("div",{className:t?"md:col-span-2":"",children:(e=>{var t,a;if(!e||!e.name)return console.warn("Invalid field detected:",e),null;let r=e.type;e.name.toLowerCase().includes("email")||e.label.toLowerCase().includes("email")?r="email":(e.name.toLowerCase().includes("phone")||e.label.toLowerCase().includes("phone"))&&(r="tel");let s={name:e.name,onChange:U,ref:G[e.name],required:!0===e.required},n=e.label||e.name,o=D[e.name];if(("tel"===r||"phone"===r)&&!1!==e.enableCountryCode)return(0,l.jsxs)("div",{className:"mt-6",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("div",{className:"\n          [&_.react-international-phone-input-container]:!shadow-sm\n          [&_.react-international-phone-input-container]:!border-0\n          [&_.react-international-phone-input-container]:!rounded-md\n          [&_.react-international-phone-input-container]:focus-within:!ring-1\n          [&_.react-international-phone-input-container]:focus-within:!ring-[#5a8a48]\n          [&_.react-international-phone-input-container]:focus-within:!z-10\n          [&_.react-international-phone-input]:!h-[37px]\n          [&_.react-international-phone-input]:!border\n          [&_.react-international-phone-input]:!border-gray-300\n          [&_.react-international-phone-input]:!rounded-r-md\n          [&_.react-international-phone-input]:!shadow-none\n          [&_.react-international-phone-input]:focus:!border-[#5a8a48]\n          [&_.react-international-phone-input]:focus:!outline-none\n          [&_.react-international-phone-country-selector-button]:!h-[38px]\n          [&_.react-international-phone-country-selector-button]:!bg-white\n          [&_.react-international-phone-country-selector-button]:!border\n          [&_.react-international-phone-country-selector-button]:!border-gray-300\n          [&_.react-international-phone-country-selector-button]:!rounded-l-md\n          [&_.react-international-phone-country-selector-button]:!shadow-none\n          [&_.react-international-phone-country-selector-button]:!border-r\n        ",children:(0,l.jsx)(d.LR,{defaultCountry:e.defaultCountry||"in",value:E[e.name]||"",onChange:t=>((e,t)=>{H(a=>({...a,[t]:e||""})),q(e=>({...e,[t]:""}))})(t,e.name),placeholder:"Enter your phone number",preferredCountries:e.preferredCountries||["us","gb","ca","au","in"],inputProps:{className:"w-full px-3 py-2 bg-white focus:outline-none border-1 border-gray-300 text-gray-700 rounded-r-md text-sm",name:e.name,required:!0===e.required},buttonProps:{className:"bg-white hover:bg-gray-50 rounded-l-md px-3 transition-colors"},containerClassName:"w-full",disableCountryGuess:!1})}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:D[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name);switch(r){case"textarea":return(0,l.jsxs)("div",{className:"mt-6",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("textarea",{...s,value:E[e.name]||"",rows:"3",className:Y(e.name)}
1),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:D[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name);case"select":return(0,l.jsxs)("div",{className:"mt-6",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsxs)("select",{...s,value:E[e.name]||"",className:Y(e.name),children:[(0,l.jsxs)("option",{value:"",children:["Select ",n]}),(e.options||[]).map(e=>(0,l.jsx)("option",{value:e.value,children:e.label},e.value))]}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:D[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name);case"checkbox":if(e.options)return(0,l.jsxs)("div",{className:"mt-6",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("div",{className:"space-y-3",children:null==(t=e.options)?void 0:t.map((t,a)=>{let r=t.value||t,n=t.label||t,i=t.content||n,c="".concat(e.name,"-").concat(a),d=(E[e.name]||[]).includes(r);return(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"checkbox",id:c,...s,value:r,checked:d,className:"w-4 h-4 border-gray-300 rounded focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-[#5a8a48] focus:ring-[#5a8a48]")}),(0,l.jsx)("label",{htmlFor:c,className:"ml-3 text-sm text-gray-700 leading-5",children:K(i)})]},a)})}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:D[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name);return(0,l.jsxs)("div",{className:"mt-6",children:[(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"checkbox",id:e.name,...s,checked:E[e.name]||!1,className:"w-4 h-4 border-gray-300 rounded focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-[#5a8a48] focus:ring-[#5a8a48]")}),(0,l.jsxs)("label",{htmlFor:e.name,className:"ml-3 text-sm text-gray-700 leading-5",children:[e.checkboxLabel||e.label,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]})]}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:D[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name);case"radio":return(0,l.jsxs)("div",{className:"mt-6",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("div",{className:"space-y-3",children:null==(a=e.options)?void 0:a.map((t,a)=>{let r=t.value||t,n=t.label||t,i=t.content||n,c="".concat(e.name,"-").concat(a);return(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"radio",id:c,...s,value:r,checked:E[e.name]===r,className:"w-4 h-4 border-gray-300 focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-[#5a8a48] focus:ring-[#5a8a48]")}),(0,l.jsx)("label",{htmlFor:c,className:"ml-3 text-sm text-gray-700 leading-5",children:K(i)})]},a)})}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:D[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name);default:return(0,l.jsxs)("div",{className:"mt-6",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("input",{...s,type:r,value:E[e.name]||"",className:Y(e.name)}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:D[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name)}})(e)},e.name)}),(()=>{if(!j)return null;let e=D.captcha;return(0,l.jsx)("div",{className:"md:col-span-2 mt-6",children:(0,l.jsxs)("div",{className:"bg-gray-50 rounded-lg p-4 border border-gray-200",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-3",children:[(0,l.jsx)("div",{className:"flex-1 bg-gradient-to-r from-blue-500/10 to-purple-500/10 rounded px-4 py-2.5 text-center border border-gray-200",children:(0,l.jsxs)("span",{className:"text-gray-800 text-base font-mono tracking-wider select-none font-semibold",children:[N," = ?"]})}),(0,l.jsx)("button",{type:"button",onClick:P,className:"flex-shrink-0 p-2 rounded-lg bg-gray-100 hover:bg-gray-200 transition-colors text-gray-700","aria-label":"Refresh CAPTCHA",title:"Refresh CAPTCHA",children:(0,l.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{ref:I,type:"text",value:T,onChange:R,placeholder:"Enter your answer",className:"w-full px-4 py-2.5 text-sm border rounded-lg focus:outline-none focus:ring-2 text-gray-800 placeholder-gray-400 transition-all ".concat(A?"border-green-400 focus:ring-green-400 bg-green-50":e?"border-red-400 focus:ring-red-400 bg-red-50":"border-gray-300 focus:ring-[#5a8a48] focus:border-[#5a8a48] bg-white"),style:{borderColor:A?"#4ADE80":e?"#EF4444":void 0},disabled:A}),A&&(0,l.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})]}),e&&!A&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:D.captcha.map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))}),A&&!e&&(0,l.jsx)("p",{className:"text-green-500 text-sm mt-2",children:"✓ CAPTCHA verified successfully"})]})})})()]}),(0,l.jsx)("button",{style:{backgroundColor:z||j&&!A?"#9ca3af":y.submitButtonBackgroun
1dColor||"#5a8a48",color:y.submitButtonTextColor||"#ffffff"},disabled:z||j&&!A,type:"submit",className:"w-full mt-6 text-lg font-semibold py-3 px-6 rounded-lg shadow-md transition transform flex items-center justify-center\n                ".concat(z||j&&!A?"cursor-not-allowed":"cursor-pointer hover:shadow-lg hover:scale-105"),children:z?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{className:"animate-spin h-5 w-5 mr-2 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,l.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,l.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4l3-3-3-3v4a8 8 0 00-8 8z"})]}),"Sending..."]}):y.submitButtonText||"Send Inquiry"})]})})]})})]})})}},12540:(e,t,a)=>{a.d(t,{default:()=>s});var l=a(95155),r=a(12115);let s=e=>{var t;let{data:a}=e,[s,n]=(0,r.useState)(0),{tabs:o=[],backgroundColor:i="#ffffff",tabBorderColor:c="#cccccc"}=a||{};return o&&0!==o.length?(0,l.jsxs)("div",{className:"p-5 rounded-lg",style:{backgroundColor:i},children:[(0,l.jsx)("div",{className:"flex gap-1 border-b-2 border-gray-200",children:o.map((e,t)=>(0,l.jsx)("button",{className:"\n              px-6 py-3 text-base font-medium transition-all duration-300\n              ".concat(s===t?"font-semibold text-black border-b-3":"text-gray-600 hover:text-gray-800 hover:bg-black/5","\n            "),onClick:()=>n(t),style:s===t?{borderBottomColor:c}:{},children:e.title},t))}),(0,l.jsx)("div",{className:"py-5 min-h-[100px]",children:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:(null==(t=o[s])?void 0:t.content)||""}})})]}):(0,l.jsx)("div",{className:"p-4",children:"No tabs data available"})}},15186:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155);a(12115);var r=a(48389);let s={editorContent:'\n    <h2 class="text-3xl font-bold text-gray-800 mb-4">Why Choose Our Service Apartments?</h2>\n    <p class="text-gray-600 text-lg">Experience the perfect blend of comfort, convenience, and luxury with our premium accommodations designed for extended stays.</p>\n  ',cards:[{title:"Premium Locations",content:"Strategically located in prime areas with easy access to business districts, shopping centers, and transportation hubs.",icon:"home"},{title:"Fully Equipped",content:"Each apartment features a complete kitchen, modern appliances, high-speed WiFi, and dedicated workspaces.",icon:"thumb"},{title:"Safety & Security",content:"24/7 security, CCTV surveillance, and secure access systems ensure your peace of mind throughout your stay.",icon:"shield"},{title:"Professional Service",content:"Our dedicated staff provides daily housekeeping, maintenance, and concierge services to meet all your needs.",icon:"doctor"}],iconBackgroundColor:"#3b82f6",iconColor:"#ffffff",backgroundColor:"#f9f9f9",cardBackgroundColor:"#ffffff"};function n(e){let{data:t,preview:a=!1}=e,n=a?s:t||{};return(0,l.jsx)("div",{className:"w-full py-8 sm:py-10 md:py-12 px-3 sm:px-4 md:px-6 lg:px-8",style:{background:(null==n?void 0:n.backgroundColor)||"#ffffff"},children:(0,l.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:n.editorContent}}),(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-6 sm:gap-8 lg:gap-12 xl:gap-16",children:n.cards&&n.cards.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col items-center text-center px-2 sm:px-4 py-3 rounded-lg",style:{background:(null==n?void 0:n.cardBackgroundColor)||"#ffffff"},children:[(0,l.jsx)("div",{className:"w-24 h-24 flex items-center justify-center mb-5 sm:mb-6",children:(0,l.jsx)("div",{className:"rounded-full p-5 flex items-center justify-center shadow-lg",style:{backgroundColor:n.iconBackgroundColor||"#3b82f6"},children:(0,l.jsx)("span",{className:"text-3xl flex items-center justify-center",style:{color:n.iconColor||"#ffffff"},children:e.icon&&r.A[e.icon]?r.A[e.icon]:Object.values(r.A)[t%Object.keys(r.A).length]})})}),(0,l.jsx)("h2",{className:"text-md sm:text-lg md:text-xl font-semibold text-gray-800 mb
1-3 sm:mb-4 uppercase tracking-wide",children:e.title}),(0,l.jsx)("p",{className:"text-gray-600 text-xs sm:text-base md:text-md leading-relaxed max-w-xs sm:max-w-sm md:max-w-md",children:e.content})]},t))})]})})}},16550:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155);a(12115);var r=a(42878),s=a(70898);let n={cards:[{title:"PREMIUM AMENITIES",content:"Experience luxury with our fully-equipped apartments featuring modern kitchens, high-speed WiFi, premium furnishings, and exclusive access to fitness centers and swimming pools."},{title:"GLOBAL PRESENCE",content:"With properties in over 20 countries worldwide, we bring you the comfort of home no matter where your travels take you. Experience consistent quality across continents."}],editorContent:'\n    <h2 class="text-2xl font-bold text-gray-800 mb-6">Luxury Service Apartments</h2>\n    <p class="mb-4">Our premium service apartments are designed for travelers who seek the perfect blend of comfort, convenience, and luxury. Whether you\'re staying for a week or several months, we provide everything you need for a perfect stay.</p>\n    <p class="mb-4">Each apartment features spacious living areas, fully-equipped kitchens, comfortable bedrooms, and modern workspaces. Our dedicated staff is available 24/7 to ensure your stay is seamless and enjoyable.</p>\n    <p class="mb-4">Enjoy hotel-like amenities with the privacy and space of a home. From daily housekeeping to concierge services, we take care of all the details so you can focus on your work or relaxation.</p>\n  ',iconBackgroundColor:"#3b82f6",iconColor:"#ffffff"},o=e=>{let{data:t,preview:a=!1}=e,{cards:o=[],editorContent:i,iconBackgroundColor:c,iconColor:d}=a?n:t||{};return(0,l.jsxs)("div",{className:"mt-12 bg-white py-12 px-4 sm:px-6 lg:px-8",children:[(0,l.jsx)("div",{className:"max-w-6xl mx-auto grid grid-cols-1 lg:grid-cols-2 gap-6 sm:gap-8 lg:gap-12 xl:gap-16",children:o.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center text-center bg-gray-100 rounded-lg px-6 relative py-15 shadow-md",children:[(0,l.jsx)("div",{className:"w-15 h-15 rounded-full flex items-center justify-center mb-6 shadow-lg absolute top-[-30px]",style:{backgroundColor:c||"#3b82f6"},children:0===t?(0,l.jsx)(r.O5$,{className:"w-5 h-5",style:{color:d||"#ffffff"}}):(0,l.jsx)(s.zcX,{className:"w-5 h-5",style:{color:d||"#ffffff"}})}),(0,l.jsx)("h2",{className:"text-xl font-semibold text-gray-800 mb-4 uppercase tracking-wide mt-8",children:e.title}),(0,l.jsx)("p",{className:"text-gray-800 text-base leading-relaxed max-w-md",children:e.content})]},t))}),(0,l.jsx)("div",{className:"border-b border-gray-200 mt-12 mb-12"}),(0,l.jsx)("div",{className:"max-w-6xl mx-auto text-gray-800 space-y-6 text-sm sm:text-base leading-relaxed",dangerouslySetInnerHTML:{__html:i}})]})}},16595:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155),r=a(52619),s=a.n(r);a(12115);var n=a(20063);let o=e=>{var t,a;let{data:r,preview:o=!1}=e,i=(0,n.useParams)(),c=null==i?void 0:i.brandSlug,d=null==i?void 0:i.website_slug,m=o?{sectionBackgroundColor:"transparent",buttonText:"Contact Us",buttonUrl:"https://example.com/contact",openInNewTab:!0,buttonTextColor:"#000000",buttonBackgroundColor:"#ffcc00",buttonWidth:150,buttonHeight:40,paddingTop:12,paddingRight:20,paddingBottom:12,paddingLeft:20,buttonPosition:"center",buttonAlignment:"center"}:r,{openInNewTab:u=!1}=m,p="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),x=e=>!!e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")),{sectionBackgroundColor:h,paddingLeft:g,paddingRight:f,paddingTop:b,paddingBottom:y,buttonText:v,buttonUrl:w,buttonTextColor:j,buttonBackgroundColor:N,buttonWidth:k,buttonHeight:C,buttonPosition:_,buttonAlignment:T="center"}=m||{buttonText:"Click Me",buttonUrl:"#",buttonTextColor:"#ffffff",buttonBackgroundColor:"#007bff",buttonWidth:"auto",buttonHeight:"auto",paddingTop:12,paddingRight:24,paddingBottom:12,paddingLeft:24,sectionBackgroundColor:"transparent",buttonPosition:"center",buttonAlignment:"center"},L={backgroundColor:N,color:j,width:"number"==typeof k?"".concat(k,"px"):k,height:"number"==typeof C?"".concat(C,"px"):C,minHeight:"number"==typeof C?"".concat(C,"px"):"auto",minWidth:"number"==typeof k?"".concat(k,"px"):"auto",border:"none",borderRadius:"4px",cursor:"pointer",textDecoration:"none",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"14px",fontWeight:"500",transition:"all 0.3s ease",opacity:m?1:.7,textAlign:"center",..."full-width"===_&&{width:"100%",display:"flex"}},S=(e=>e?x(e)?e:e.startsWith("/")&&p?((e,t,a)=>p?"/".concat(t,"/website/").concat(a).concat(e):e)(e,c,d):e:"#")(w),B=x(S);return(0,l.jsxs)("div",{style:(()=>{let e={backgroundColor:h,padding:"".concat(b,"px ").concat(f,"px ").concat(y,"px ").concat(g,"px"),width:"100%",boxSizing:"border-box"};switch(_){case"left":return{...e,display:"flex",justifyContent:"flex-start",alignItems:"center"};case"right":return{...e,display:"flex",justifyContent:"flex-end",alignItems:"center"};case"full-width":return{...e,display:"block"};default:return{...e,display:"flex",justifyContent:"center",alignItems:"center"}}})(),children:[(()=>{let e=B?(0,l.jsx)("a",{href:S,style:L,target:u?"_blank":"_self",rel:S.startsWith("http")?"noopener noreferrer":"",children:v}):(0,l.jsx)(s(),{href:S,style:L,children:v});return"full-width"===_?e:(0,l.jsx)("div",{style:{display:"inline-block"},children:e})})(),!m&&"full-width"!==_&&(0,l.jsx)("div",{style:{fontSize:"10px",color:"#666",textAlign:"center",marginTop:"4px",fontStyle:"italic",width:"100%"},children:"Demo Button"})]})}},16899:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(12115),s=a(97290);function n(e){var t,a,n,o;let{data:i}=e,[c,d]=(0,r.useState)(!1),[m,u]=(0,r.useState)(0),{isFullWidth:p=!1,backgroundColor:x="transparent",paddingTop:h=0,paddingBottom:g=0,paddingLeft:f=0,paddingRight:b=0,sectionTitle:y="",gallery:v=[],borderRadius:w="rounded-2xl",imageGap:j=12,hoverEffect:N=!0}=i||{},k=v.slice(0,5),C=k[0],_=k.slice(1,5),T=e=>{u(e),d(!0),document.body.style.overflow="hidden"},L=()=>{d(!1),document.body.style.overflow="auto"},S=()=>{u(e=>0===e?k.length-1:e-1)},B=()=>{u(e=>e===k.length-1?0:e+1)},A={gap:"".concat(j,"px")};return k&&0!==k.length?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:x,paddingTop:"".concat(h,"px"),paddingBottom:"".concat(g,"px"),paddingLeft:"".concat(f,"px"),paddingRight:"".concat(b,"px")},children:(0,l.jsxs)("div",{className:"mx-auto ".concat(p?"w-full px-4 md:px-6 lg:px-10":"max-w-7xl px-4 md:px-6"),children:[y&&(0,l.jsx)("div",{className:"mb-6",children:(0,l.jsx)(e=>{let{content:t}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words [&_h1]:text-[32px] [&_h1]:md:text-[48px] [&_h1]:font-semibold [&_h1]:text-[#1A2E35] [&_h1]:mb-2 [&_p]:text-[16
1px] [&_p]:md:text-[18px] [&_p]:text-[#475569] [&_p]:flex [&_p]:flex-col [&_p]:md:flex-row [&_p]:md:items-center [&_p]:gap-2 [&_p]:md:gap-3",dangerouslySetInnerHTML:{__html:t}}):null},{content:y})}),(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2",style:A,children:[C&&(0,l.jsx)("div",{className:"relative h-[270px] sm:h-[320px] md:h-[460px] overflow-hidden cursor-pointer ".concat("rounded-2xl"===w?"rounded-l-2xl md:rounded-l-2xl rounded-r-2xl md:rounded-r-none":""),onClick:()=>T(0),children:(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(C.image),alt:C.altText||"Main gallery image",className:"w-full h-full object-cover ".concat(N?"hover:scale-105 transition duration-500":"")})}),_.length>0&&(0,l.jsx)("div",{className:"grid grid-cols-2",style:A,children:_.map((e,t)=>(0,l.jsx)("div",{className:"relative h-[120px] sm:h-[150px] md:h-[220px] overflow-hidden cursor-pointer",onClick:()=>T(t+1),children:(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(e.image),alt:e.altText||"Gallery image ".concat(t+2),className:"w-full h-full object-cover ".concat(N?"hover:scale-105 transition duration-500":"")})},t))})]})]})}),c&&(0,l.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/90 backdrop-blur-sm",onClick:L,onKeyDown:e=>{"Escape"===e.key&&L(),"ArrowLeft"===e.key&&S(),"ArrowRight"===e.key&&B()},tabIndex:0,children:[(0,l.jsx)("button",{onClick:L,className:"absolute top-4 right-4 z-10 text-white bg-black/50 rounded-full p-2 hover:bg-black/70 transition","aria-label":"Close modal",children:(0,l.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),k.length>1&&(0,l.jsx)("button",{onClick:e=>{e.stopPropagation(),S()},className:"absolute left-4 z-10 text-white bg-black/50 rounded-full p-2 hover:bg-black/70 transition","aria-label":"Previous image",children:(0,l.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),k.length>1&&(0,l.jsx)("button",{onClick:e=>{e.stopPropagation(),B()},className:"absolute right-4 z-10 text-white bg-black/50 rounded-full p-2 hover:bg-black/70 transition","aria-label":"Next image",children:(0,l.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})}),k.length>1&&(0,l.jsxs)("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 z-10 text-white bg-black/50 px-3 py-1 rounded-full text-sm",children:[m+1," / ",k.length]}),(0,l.jsxs)("div",{className:"relative max-w-[90vw] max-h-[90vh]",onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(null==(t=k[m])?void 0:t.image),alt:(null==(a=k[m])?void 0:a.altText)||"Gallery image",className:"max-w-full max-h-[90vh] object-contain rounded-lg"}),(null==(n=k[m])?void 0:n.altText)&&(0,l.jsx)("div",{className:"absolute bottom-0 left-0 right-0 bg-black/50 text-white text-sm p-2 text-center rounded-b-lg",children:null==(o=k[m])?void 0:o.altText})]})]})]}):null}},17191:(e,t,a)=>{a.d(t,{default:()=>h});var l=a(95155),r=a(43897),s=a(97290);a(15239);var n=a(52619),o=a.n(n),i=a(20063),c=a(6092),d=a(16052),m=a(57830),u=a(70898);let p={check:a(42878).G3G,shield:u.SMR,calendar:d.MN},x={isFullWidth:!0,paddingTop:50,paddingBottom:50,paddingLeft:20,paddingRight:20,leftTitle:"Next-Generation Hospitality Technology",leftTitleIcon:"check",content:'<h1><span style="color: rgb(15, 23, 42); font-size: 38px; margin-bottom: 0px;"><strong>Hospitality Management</strong></span><span style="font-size: 38px;"><strong><br></strong></span><span style="color: rgb(41, 82, 204); font-size: 38px; margin-bottom: 0px;"><strong>Cloud Platform</strong></span></h1><p><span style="font-size: 22px;">Not just another PMS, StayStack is a Next-Generation Hospitality Management Cloud Platform, a complete platform built to power the future of Hospital
1ity Industry.</span></p>',button1Url:"/testing",button1Text:"Explore StayStack",button1TextColor:"#ffffff",button1BackgroundColor:"#037bfc",button2Text:"Book a Demo",button2Url:"/testing2",button2TextColor:"#0f172a",button2BackgroundColor:"#ffffff",leftBottomTitle:"Authorized Reseller",leftBottomContent:"Diamond SaaS Hub",leftBottomIcon:"shield",rightImage:"landing-page/1779366654222.webp",openInNewTab:!1};function h(e){var t,a;let{data:n,preview:u=!1}=e,h=(0,i.useParams)(),g=null==h?void 0:h.brandSlug,f=null==h?void 0:h.website_slug,{isFullWidth:b=!0,paddingTop:y=50,paddingBottom:v=50,paddingLeft:w=20,paddingRight:j=20,leftTitle:N="",leftTitleIcon:k="",content:C="",button1Url:_="",button1Text:T="",button1TextColor:L="#ffffff",button1BackgroundColor:S="#037bfc",button2Text:B="",button2Url:A="",button2TextColor:M="#0f172a",button2BackgroundColor:I="#ffffff",leftBottomTitle:F="",leftBottomContent:R="",leftBottomIcon:P="",rightImage:W="",openInNewTab:E=!1}=(u?x:n)||{},H=e=>!!e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")),D=e=>!!e&&e.startsWith("#"),q="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),z=e=>{if(!e)return"#";if(D(e)||H(e))return e;let t=e.startsWith("/")?e:"/".concat(e);if(q){let e=t.startsWith("/")?t:"/".concat(t);return q?"/".concat(g,"/website/").concat(f).concat(e):e}return t},O=e=>e?p[e.toLowerCase()]:null;return(0,l.jsx)("section",{className:"w-full overflow-hidden",style:{backgroundColor:"#f5f7fc",paddingTop:"".concat(y,"px"),paddingBottom:"".concat(v,"px"),paddingLeft:"".concat(w,"px"),paddingRight:"".concat(j,"px")},children:(0,l.jsxs)("div",{className:"".concat(b?"max-w-full":"max-w-7xl"," mx-auto  grid grid-cols-1 lg:grid-cols-2 gap-14 items-center"),children:[(0,l.jsxs)("div",{children:[N&&(0,l.jsxs)("div",{className:"inline-flex items-center gap-2 bg-[#e9efff] text-[#3B5CCC] text-sm font-bold px-4 py-2 rounded-full mb-6",children:[(0,l.jsx)(()=>{let e=O(k);return e?(0,l.jsx)(e,{className:"text-[#3B5CCC]"}):(0,l.jsx)(c.ZWl,{className:"text-[#3B5CCC]"})},{}),N]}),C&&(0,l.jsx)(e=>{let{content:t,className:a=""}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words",dangerouslySetInnerHTML:{__html:t}}):null},{content:C}),(0,l.jsxs)("div",{className:"flex flex-wrap gap-4 mt-8 text-lg",children:[T&&_&&(0,l.jsx)(e=>{let{text:t,textColor:a,bgColor:s,url:n}=e;if(!t||!n)return null;let i=z(n),d=H(i),m=D(i),u={backgroundColor:s,color:a,border:"#ffffff"===s?"2px solid #E2E8F0":"none",borderRadius:"0.75rem",fontSize:"16px",fontWeight:"bold",cursor:"pointer",transition:"all 0.3s ease",textDecoration:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"0.5rem",padding:"12px 28px"};return m?(0,l.jsxs)("button",{onClick:()=>(0,r.Y)(i.slice(1)),style:u,children:[t,(0,l.jsx)(c.J1z,{})]}):d?(0,l.jsxs)("a",{href:i,style:u,target:E?"_blank":"_self",rel:i.startsWith("http")?"noopener noreferrer":"",children:[t,(0,l.jsx)(c.J1z,{})]}):(0,l.jsxs)(o(),{href:i,style:u,children:[t,(0,l.jsx)(c.J1z,{})]})},{text:T,textColor:L,bgColor:S,url:_}),B&&A&&(0,l.jsx)(e=>{let{text:t,textColor:a,bgColor:s,url:n}=e;if(!t||!n)return null;let i=z(n),c=H(i),m=D(i),u={backgroundColor:s,color:a,border:"#ffffff"===s?"2px solid #E2E8F0":"none",borderRadius:"0.75rem",fontSize:"16px",fontWeight:"bold",cursor:"pointer",transition:"all 0.3s ease",textDecoration:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"0.5rem",padding:"12px 28px"};return m?(0,l.jsxs)("button",{onClick:()=>(0,r.Y)(i.slice(1)),style:u,children:[t,(0,l.jsx)(d.MN,{})]}):c?(0,l.jsxs)("a",{href:i,style:u,target:E?"_blank":"_self",rel:i.startsWith("http")?"noopener noreferrer":"",children:[t,(0,l.jsx)(d.MN,{})]}):(0,l.jsxs)(o(),{href:i,style:u,children:[t,(0,l.jsx)(d.MN,{})]})},{text:B,textColor:M,bgColor:I,url:A})]}),(F||R)&&(0,l.jsxs)("div",{className:"flex items-center gap-3 mt-10",children:[(0,l.jsx)(()=>{let e=O(P);return e?(0,l.jsx)(e,{className:"text-[#2952CC] text-[50px] md:text-[50px]"}):(0,l.jsx)(m.xc2,{className:"text-[#2952CC] text-[50px] md:text-[50px]"})},{}),(0,l.jsxs)("div",{children:[F&&(0,l.jsx)("p",{className:"text-md font-bold text-slate-500",children:F}),R&&(0,l.jsx)("p",{className:"text-lg font-bold text-[#ED28B5]",children:R})]})]})]}),W&&(0,l.jsx)("div",{className:"relative flex justify-center",children:(0,l.jsx)("div",{className:"relative z-10 w-full",children:(0,l.jsx)("div",{className:"lg:w-[60vw] lg:relative lg:left-1/2 lg:-translate-x-1/2 ",children:(0,l.jsx)("img",{src:W.includes("http")?W:"".concat(s.image_url,"/").concat(W),alt:"Hospital
1ity Dashboard",className:"rounded-[20px] w-full h-auto object-cover"})})})})]})})}},18508:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155),r=a(97290),s=a(48389);a(15239);let n={isFullWidth:!0,paddingTop:60,paddingBottom:60,paddingLeft:20,paddingRight:20,backgroundColor:"#ffffff",sectionTitle:"<h2 class='text-3xl md:text-4xl font-bold mb-4'>Why Travel With Us</h2><p class='text-gray-600'>Discover the difference with our premium services and unmatched hospitality</p>",leftImage:"https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",leftImageAltText:"Happy family enjoying vacation together at beach resort",imageWidth:50,isImageRight:!1,iconColor:"#7A8B5C",iconBackgroundColor:"#f0f4e8",titleColor:"#1a1a2e",contentColor:"#666666",contentList:[{icon:"star",title:"Award-Winning Service",content:"Recognized for excellence in hospitality with multiple industry awards and positive customer reviews."},{icon:"shield",title:"Best Price Guarantee",content:"Find a lower price elsewhere? We'll match it and give you an additional discount on your booking."},{icon:"clock",title:"24/7 Customer Support",content:"Our dedicated team is available round the clock to assist you with any queries or concerns."},{icon:"map",title:"Global Destinations",content:"Access to over 500+ destinations worldwide with exclusive deals and packages."},{icon:"heart",title:"Tailored Experiences",content:"Customized itineraries designed to match your preferences and create unforgettable memories."},{icon:"gift",title:"Exclusive Benefits",content:"Members enjoy special perks including room upgrades, late checkouts, and welcome amenities."}]};function o(e){let{data:t,preview:a=!1}=e,{isFullWidth:o=!1,backgroundColor:i="#f7f7f5",paddingTop:c=0,paddingBottom:d=0,paddingLeft:m=0,paddingRight:u=0,sectionTitle:p="",leftImage:x="",leftImageAltText:h="Experience Illustration",imageWidth:g=420,imageHeight:f=420,contentList:b=[],isImageRight:y=!1,iconColor:v="#ffffff",iconBackgroundColor:w="#7E8F5B",titleColor:j="#1A2E35",contentColor:N="#6B7280",cardBackgroundColor:k="#ffffff",borderRadius:C="rounded-4xl"}=(a?n:t||{})||{};return b&&0!==b.length?(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:i,paddingTop:"".concat(c,"px"),paddingBottom:"".concat(d,"px"),paddingLeft:"".concat(m,"px"),paddingRight:"".concat(u,"px")},children:(0,l.jsxs)("div",{className:"".concat(o?"max-w-full":"max-w-6xl"," mx-auto"),children:[p&&(0,l.jsx)("div",{className:"text-center mb-16",children:(0,l.jsx)(e=>{let{content:t}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words text-center",dangerouslySetInnerHTML:{__html:t}}):null},{content:p})}),(0,l.jsxs)("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[x&&(0,l.jsx)("div",{className:"flex justify-center ".concat(y?"lg:order-2":"lg:order-1"),children:(0,l.jsx)("img",{src:a?x:"".concat(r.image_url,"/").concat(x),alt:h,className:"object-cover",style:{width:"".concat(g,"%")}})}),(0,l.jsx)("div",{className:"".concat(y?"lg:order-1":"lg:order-2"),children:(0,l.jsx)("div",{className:"bg-white rounded-4xl p-5 md:p-12 shadow-sm",style:{backgroundColor:k,borderRadius:"rounded-4xl"===C?"2rem":"1rem"},children:(0,l.jsx)("div",{className:"space-y-6",children:b.map((e,t)=>{var a;let r=(a=e.icon)?s.A[a]:null;return(0,l.jsxs)("div",{className:"flex flex-col sm:flex-row justify-start items-start gap-4",children:[r&&(0,l.jsx)("div",{className:"min-w-[46px] h-[46px] flex items-center justify-center rounded-full",style:{backgroundColor:w,color:v},children:r}),(0,l.jsxs)("div",{children:[e.title&&(0,l.jsx)("h4",{className:"text-[18px] font-bold mb-1",style:{color:j},children:e.title}),e.content&&(0,l.jsx)("p",{className:"text-[14px] leading-relaxed",style:{color:N},children:e.content})]})]},t)})})})})]})]})}):null}},20212:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155),r=a(74163);a(12115);let s=()=>(0,l.jsx)("svg",{className:"absolute top-4 left-4 h-12 w-12 text-blue-200 opacity-50",fill:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{d:"M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983zm-14.017 0v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151c-2.433.917-3.996 3.638-3.996 5.849h3.983v10h-9.983z"})}),n={isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,sectionTitle:"<h2>Guest Experiences</h2><p>Read what our visitors have to say about their stay</p>",backgroundColor:"#faf9f6",textColor:"#2c3e50",numberOfColumns:"3",testimonials:[{text:"<p>Absolutely breathtaking experience! The staff went above and beyond to make our anniversary special. The ocean views from our room were spectacular, and the dining options were world-class. We're already planning our return visit.</p>",name:"Sarah Johnson",place:"Chicago, IL"},{text:"<p>This resort exceeded all our expectations. From the moment we arrived, we felt like royalty. The spa treatments were incredibly relaxing, and the private beach was pristine. Highly recommend for anyone seeking a luxury getaway.</p>",name:"Michael Chen",place:"San Francisco, CA"},{text:"<p>Five stars isn't enough! The attention to detail throughout our stay was impeccable. The infinity pool overlooking the sunset was magical, and the concierge helped us plan perfect day trips.</p>",name:"Emily Rodriguez",place:"Miami, FL"},{text:"<p>A truly unforgettable experience. The room was spacious and beautifully designed, the food was exquisite, and the service was impeccable. The resort's location offers the perfect balance of relaxation and adventure.</p>",name:"David Thompson",place:"Seattle, WA"},{text:"<p>
1Wonderful hospitality! Every staff member made us feel welcome. The kids club kept our children entertained, and we enjoyed some much-needed couples time at the spa.</p>",name:"Jessica Williams",place:"Denver, CO"},{text:"<p>Incredible value for a luxury resort. The all-inclusive package was worth every penny. The food variety and quality exceeded our expectations.</p>",name:"Robert Brown",place:"Austin, TX"}]},o=e=>{let{data:t,preview:a=!1}=e,{isFullWidth:o,paddingTop:i,paddingBottom:c,paddingLeft:d,paddingRight:m,backgroundColor:u,textColor:p,numberOfColumns:x,sectionTitle:h,testimonials:g=[]}=a?n:t||{},f={color:p},b=g&&g.length>0;return(0,l.jsx)("section",{style:{paddingTop:"".concat(i,"px"),paddingBottom:"".concat(c,"px"),paddingLeft:"".concat(d,"px"),paddingRight:"".concat(m,"px"),backgroundColor:u},children:(0,l.jsxs)("div",{className:o?"w-full":"max-w-6xl mx-auto",children:[h&&(0,l.jsx)("div",{className:"ProseMirror text-center mb-12",style:f,dangerouslySetInnerHTML:{__html:h}}),b?(0,l.jsx)("div",{className:"".concat((0,r.Rm)(Number(x)||3)," gap-8"),children:g.map((e,t)=>(0,l.jsxs)("div",{className:"bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300 relative border border-gray-100",children:[(0,l.jsx)(s,{}),(0,l.jsx)("div",{className:"text-gray-700 italic mb-6 relative z-10 ProseMirror min-h-[120px]",style:f,dangerouslySetInnerHTML:{__html:e.text}}),(0,l.jsxs)("div",{className:"border-t pt-4 border-gray-200",children:[(0,l.jsx)("p",{className:"font-semibold text-gray-900",style:f,children:e.name}),(0,l.jsx)("p",{className:"text-sm text-gray-500",style:f,children:e.place})]})]},t))}):(0,l.jsx)("div",{className:"text-center py-12",children:(0,l.jsx)("p",{className:"text-gray-500 italic",style:f,children:"No testimonials available at the moment."})})]})})}},22241:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155),r=a(12115),s=a(97290);let n=e=>{let{location:t,data:a}=e,[n,o]=(0,r.useState)(!1);return console.log("location",t),(0,l.jsxs)("div",{className:"relative bg-white rounded-lg shadow-md overflow-hidden group cursor-pointer transition-all duration-300 hover:shadow-xl",onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:[t.image&&(0,l.jsxs)("div",{className:"absolute inset-0 transition-opacity duration-500 ".concat(n?"opacity-100":"opacity-0"),children:[(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(t.image),alt:t.altText||t.name,className:"w-full h-full object-cover"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"})]}),(0,l.jsxs)("div",{className:"relative z-10 p-8 min-h-[280px] flex flex-col justify-center items-center text-center transition-all duration-500 ".concat(n&&t.image?"opacity-0":"opacity-100"),children:[!t.address&&t.content&&(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words",dangerouslySetInnerHTML:{__html:t.content}}),(0,l.jsx)("button",{className:"px-8 py-3 rounded transition-colors duration-200 font-medium",style:{backgroundColor:(null==a?void 0:a.buttonBackgroundColor)||"#06b6d4",color:(null==a?void 0:a.buttonTextColor)||"#ffffff"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=buttonHoverColor},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=buttonColor},onClick:()=>{t.buttonUrl&&window.open(t.buttonUrl,"_blank","noopener,noreferrer")},children:t.buttonText||"Locate on Map"})]})]})};function o(e){let{data:t={}}=e;console.log("data",t);let{isFullWidth:a=!1,paddingTop:r=16,paddingBottom:o=16,paddingLeft:i=4,paddingRight:c=4,numOfColumns:d=2,topContent:m="",featureCard:u=[],backgroundColor:p="#f9fafb",bgGradientFrom:x="",bgGradientTo:h="",buttonColor:g="#06b6d4",buttonHoverColor:f="#0891b2",headerEmoji:b="❤️",featuredImage:y="",featuredImageAlt:v="",featuredImageTitle:w="India Gate",featuredImageSubtitle:j="New Delhi"}=t,N=0===u.length,k=N?[{id:1,name:"Delhi",address:"91Springboard, 3rd Floor, Chandra Bhavan, 67-68, Nehru Place, New Delhi, Delhi 110019",image:"https://images.unsplash.com/photo-1587474260584-136574528ed5?w=800&q=80",altText:"Delhi location"},{id:2,name:"Gurugram",address:"7A, DLF Cyber City, Sector 24, DLF Phase 2, Gurugram, Haryana 122022"},{id:3,name:"Noida",address:"Plot No. D, 107, Vyapar Marg, D Block, Sector 2, Noida, Uttar Pradesh 201301"},{id:4,name:"Greater Noida",address:"Plot No. D, 107, Vyapar Marg, D Block, Sector 2, Noida, Uttar Pradesh 201301"},{id:5,name:"Ghaziabad",address:"Plot No. D, 107, Vyapar Marg, D Block, Sector 2, Noida, Uttar Pradesh 201301"}]:u.map((e,t)=>({id:t+1,name:e.title||"Location ".concat(t+1),address:e.address||e.description||"",image:e.image,altText:e.altText,content:e.content,buttonUrl:e.buttonUrl,buttonText:e.buttonText})),C={};x&&h?C.background="linear-gradient(to bottom right, ".concat(x,", ").concat(h,")"):p&&
1(C.backgroundColor=p);let _=parseInt(d)||2;return(0,l.jsx)("section",{className:"py-".concat(r," px-").concat(i),style:{...C,paddingTop:"".concat(r,"px"),paddingBottom:"".concat(o,"px"),paddingLeft:"".concat(i,"px"),paddingRight:"".concat(c,"px")},children:(0,l.jsxs)("div",{className:"".concat(a?"w-full":"max-w-7xl"," mx-auto"),children:[m&&(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed mb-8 [&_p:empty]:before:content-['\\\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:m}}),(y||N)&&(0,l.jsxs)("div",{className:"grid grid-cols-1 ".concat(_>=3?"lg:grid-cols-3":"lg:grid-cols-2"," gap-6 mb-8"),children:[(0,l.jsxs)("div",{className:"".concat("lg:col-span-1"," relative rounded-lg overflow-hidden shadow-lg"),children:[(0,l.jsx)("img",{src:y?"".concat(s.image_url,"/").concat(y):"https://images.unsplash.com/photo-1587474260584-136574528ed5?w=800&q=80",alt:v||w,className:"w-full h-full object-cover min-h-[400px]"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"}),(0,l.jsxs)("div",{className:"absolute bottom-6 left-6 text-white",children:[(0,l.jsx)("h4",{className:"text-xl font-semibold",children:w}),(0,l.jsx)("p",{className:"text-sm text-white/90",children:j})]})]}),(0,l.jsx)("div",{className:"".concat(_>=3?"lg:col-span-2":"lg:col-span-1"," grid ").concat(_>=3?"grid-cols-1 md:grid-cols-2":"grid-cols-1"," gap-6"),children:k.slice(0,Math.min(_,2)).map(e=>(0,l.jsx)(n,{location:e,buttonColor:g,buttonHoverColor:f},e.id))})]}),k.length>(y?Math.min(_,2):0)&&(0,l.jsx)("div",{className:"grid ".concat({1:"grid-cols-1",2:"grid-cols-1 md:grid-cols-2",3:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",4:"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"}[_]||"grid-cols-1 md:grid-cols-2"," gap-6"),children:k.slice(y?Math.min(_,2):0).map(e=>(0,l.jsx)(n,{location:e,buttonColor:g,buttonHoverColor:f,data:t},e.id))}),N&&(0,l.jsx)("div",{className:"mt-8 text-center text-gray-500 text-sm italic",children:"Showing demo location cards. Add your location data to replace this content."})]})})}},22257:(e,t,a)=>{a.d(t,{default:()=>c});var l=a(95155),r=a(10383),s=a(8198),n=a(59384),o=a(39347);a(97290);var i=a(48389);function c(e){let{data:t}=e,{isFullWidth:a=!1,paddingTop:c=0,paddingBottom:d=0,paddingLeft:m=0,paddingRight:u=0,sectionTitle:p="",labelBackgroundColor:x="#4A5D431A",labelColor:h="#4A5D43",cards:g=[],backgroundColor:f="#f9fafb",cardBackgroundColor:b="#ffffff",borderColor:y="#e5e7eb",titleColor:v="#0F172A",descriptionColor:w="#475569",highlightBoxBackgroundColor:j="#F8F7F4",highlightBoxBorderColor:N="#4A5D431A",noteColor:k="#4A5D43",hoverEffect:C=!0}=t||{},_=e=>{let{content:t,className:a=""}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words ".concat(a),dangerouslySetInnerHTML:{__html:t}}):null},T=g&&g.length>0?g:[{title:"Long Stay Discounts & Monthly Rentals",description:"Besides these Special Offers, you also get Long Stay Discounts for all bookings that are applied automatically as per length of your stay.",highlightBox:"Just provide your Check-In & Check-Out Dates (minimum 28 Nights) and get Monthly discounted rentals respectively. The discounted Monthly rentals also remain fixed for stays of longer than a month",icon:"calendar"},{title:"HOT DEAL Pricing & Service Packs",description:"The HOT DEAL pricing of Standard Apartments is our cheapest available rate. We also offer some extra options of Add-On Service Packs on chargeable basis to enhance your stay experience.",note:"These can be Added when making your booking on our website.",icon:"fire"}],L={backgroundColor:b,borderColor:y},S={backgroundColor:j,borderColor:N};return(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:f,paddingTop:"".concat(c,"px"),paddingBottom:"".concat(d,"px"),paddingLeft:"".concat(m,"px"),paddingRight:"".concat(u,"px")},children:(0,l.jsxs)("div",{className:"".concat(a?"w-full px-6 md:px-12 lg:px-16":"max-w-7xl mx-auto"),children:[p&&(0,l.jsx)("div",{className:"mb-12",children:(0,l.jsx)(_,{content:p,className:"[&_h2]:text-3xl [&_h2]:md:text-4xl [&_h2]:font-bold [&_h2]:text-[#4A5D43] [&_h2]:mb-3 [&_p]:text-[#475569] [&_p]:font-semibold"})}),(0,l.jsx)("div",{className:"space-y-10",children:T.map((e,t)=>{let a=(e=>{if(!e)return null;let t=i.A[e];return t||({calendar:(0,l.jsx)(r.A,{size:24}),fire:(0,l.jsx)(s.A,{size:24}),dashboard:(0,l.jsx)(n.A,{size:24}),star:(0,l.jsx)(o.A,{size:24})})[e.toLowerCase()]||null})(e.icon),c=0===t?"#4A5D431A":1===t?"#EC5B131A":x,d=0===t?"#4A5D43":1===t?"#EC5B13":h;return(0,l.jsx)("div",{className:"border rounded-xl p-6 md:p-8 shadow-sm transition",style:{...L,...C&&{transition:"all 0.3s ease"}},onMouseEnter:e=>{C&&(e.currentTarget.style.boxShadow="0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.02)")},onMouseLeave:e=>{C&&(e.currentTarget.style.boxShadow="")},children:(0,l.jsxs)("div",{className:"flex flex-col md:flex-row gap-5",children:[(0,l.jsx)("div",{className:"w-14 h-14 flex items-center justify-center rounded-full shrink-0",style:{backgroundColor:c,color:d},children:(0,l.jsx)("span",{style:{color:d},children:a})}),(0,l.jsxs)("div",{className:"flex-1",children:[e.topContent&&(0,l.jsx)(_,{content:e.topContent,className:"[&_h3]:text-xl [&_h3]:font-bold [&_h3]:mb-2 [&_p]:text-[17px] [&_p]:leading-relaxed [&_p]:mb-4"}),e.highlightedContent&&(0,l.jsx)("div",{className:"rounded-lg p-4 text-sm text-gray-700 border mt-4",style:S,children:(0,l.jsx)(_,{content:e.highlightedContent})})]})]})},t)})})]})})}},22840:(e,t,a)=>{a.d(t,{default:()=>d});var l=a(95155),r=a(12115),s=a(22663),n=a(35258),o=a(30178),i=a(20063),c=a(81602);function d(e){let{data:t,sectionName:a,sectionOrder:d}=e,{brandSlug:m,website_slug:u,landingPageSlug:p}=(0,i.useParams)(),x=(0,i.useRouter)(),{isFullWidth:h,submitButtonText:g="Send Message",paddingTop:f,paddingLeft:b,paddingRight:y,paddingBottom:v,formName:w,formFields:j,backgroundColor:N="#ffffff",submitButtonBackgroun
1dColor:k="#3b82f6",submitButtonTextColor:C="#ffffff",showCaptcha:_=!1}=t,T="clients.staystack.encrobytes.com"===window.location.hostname||window.location.hostname.includes("localhost"),[L,S]=(0,r.useState)(""),[B,A]=(0,r.useState)(0),[M,I]=(0,r.useState)(""),[F,R]=(0,r.useState)(""),[P,W]=(0,r.useState)(!1),E=(0,r.useRef)(null),H=(0,r.useCallback)(()=>{let e,t,a=Math.floor(10*Math.random())+1,l=Math.floor(10*Math.random())+1,r=["+","-","\xd7"];switch(r[Math.floor(Math.random()*r.length)]){case"+":default:e=a+l,t="".concat(a," + ").concat(l);break;case"-":e=a-l,t="".concat(a," - ").concat(l);break;case"\xd7":e=a*l,t="".concat(a," \xd7 ").concat(l)}S(t),A(e),I(""),R(""),W(!1)},[]);(0,r.useEffect)(()=>{_&&H()},[_,H]);let D=e=>{let t=e.target.value;I(t),R(""),W(!1),t&&parseInt(t)===B&&(W(!0),R(""))},q=()=>{H(),I(""),R(""),W(!1),E.current&&E.current.focus()},z=(0,r.useMemo)(()=>(null==j?void 0:j.reduce((e,t)=>{let a=t.type;return t.name.toLowerCase().includes("email")||t.label.toLowerCase().includes("email")?a="email":(t.name.toLowerCase().includes("phone")||t.label.toLowerCase().includes("phone"))&&(a="tel"),"checkbox"===a&&t.options?e[t.name]=[]:"checkbox"!==a||t.options?e[t.name]="":e[t.name]=!1,e},{}))||{},[j]),[O,G]=(0,r.useState)(z),[U,V]=(0,r.useState)({}),[Y,K]=(0,r.useState)({}),[J,Z]=(0,r.useState)(!1),Q=(e,t)=>{let a=[],l=e.type;return e.name.toLowerCase().includes("email")||e.label.toLowerCase().includes("email")?l="email":(e.name.toLowerCase().includes("phone")||e.label.toLowerCase().includes("phone"))&&(l="tel"),!0===e.isRequired&&("checkbox"===l&&e.options?t&&0!==t.length||a.push("".concat(e.label," is required")):"checkbox"!==l||e.options?"radio"===l?t&&""!==t.trim()||a.push("Please select ".concat(e.label.toLowerCase())):(null==t?void 0:t.trim())||a.push("".concat(e.label," is required")):t||a.push("You must accept ".concat(e.label))),"email"===l&&t&&t.trim()&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim())||a.push("Please enter a valid email address")),("tel"===l||"phone"===l)&&t&&t.trim()&&t.replace(/\D/g,"").length<7&&a.push("Please enter a valid phone number with country code"),(e.name.toLowerCase().includes("name")||e.label.toLowerCase().includes("name"))&&t&&t.trim().length<2&&a.push("Please enter a valid name"),(e.name.toLowerCase().includes("message")||e.label.toLowerCase().includes("message"))&&t&&t.trim().length<10&&a.push("Please enter a message with at least 10 characters"),a},X=e=>{let t=null==j?void 0:j.find(t=>t.name===e);if(!t)return;let a=Q(t,O[e]);V(t=>({...t,[e]:a.length>0?a:void 0}))},$=e=>{let{name:t,value:a,type:l,checked:r}=e.target;if("checkbox"===l){let e=j.find(e=>e.name===t);(null==e?void 0:e.options)?G(e=>({...e,[t]:r?[...e[t]||[],a]:(e[t]||[]).filter(e=>e!==a)})):G(e=>({...e,[t]:r}))}else"radio"===l?G(e=>({...e,[t]:a})):G(e=>({...e,[t]:a}));K(e=>({...e,[t]:!0})),Y[t]&&setTimeout(()=>X(t),300)},ee=e=>{let{name:t}=e.target;K(e=>({...e,[t]:!0})),X(t)},et=async()=>{if(K(null==j?void 0:j.reduce((e,t)=>(e[t.name]=!0,e),{})),!(()=>{let e={},t=!0;return null==j||j.forEach(a=>{let l=O[a.name],r=Q(a,l);r.length>0&&(e[a.name]=r,t=!1)}),_&&!P&&(e.captcha=["Please solve the CAPTCHA"],t=!1),V(e),t})()){let t=Object.keys(U)[0];if(t)if("captcha"===t){var e;null==(e=E.current)||e.focus()}else{let e=document.getElementById(t);e&&e.scrollIntoView({behavior:"smooth",block:"center"})}s.Ay.error("Please fix the validation errors before submitting.");return}try{Z(!0);let e={body:{formData:{...O},brandSlug:m,formType:t.formType,sectionOrder:d,sectionName:"Form_1",uniqueFormKey:t.uniqueFormKey}};if(u?await (0,n.Y8)({...e,body:{...e.body,websiteSlug:u}}):await (0,o.A7)({...e,body:{...e.body,landingPageSlug:p}}),p)return x.push(T?"/".concat(m,"/landing/").concat(p,"/thankyou"):"/thankyou");s.Ay.success("Thanks, we will get back to you soon."),G(z),V({}),K({}),I(""),W(!1),H()}catch(e){console.log("Error",e),s.Ay.error("Something went wrong! Please refresh the page and try again.")}finally{Z(!1)}},ea=e=>e?(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e},className:"inline-block"}):null,el=(()=>{if(!j)return[];let e=[];for(let t=0;t<j.length;t+=2)e.push(j.slice(t,t+2));return e})();return(0,l.jsx)("div",{className:"".concat(h?"w-full":"max-w-7xl mx-auto"),style:{paddingTop:"".concat(f,"px"),paddingLeft:"".concat(b,"px"),paddingRight:"".concat(y,"px"),paddingBottom:"".concat(v,"px"),backgroundColor:N},children:(0,l.jsx)("div",{className:"w-full",children:(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"mb-8",children:(0,l.jsx)("h2",{className:"text-3xl font-bold mb-4",children:w})}),(0,l.jsxs)("div",{className:"space-y-6",children:[el.map((e,t)=>(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:e.map(t=>{let a,r=U[t.name]&&Y[t.name],s=t.type;return t.name.toLowerCase().includes("email")||t.label.toLowerCase().includes("email")?s="email":(t.name.toLowerCase().includes("phone")||t.label.toLowerCase().includes("phone"))&&(s="tel"),(0,l.jsxs)("div",{className:1===e.length||(a=t.type,t.name.toLowerCase().includes("email")||t.label.toLowerCase().includes("email")?a="email":(t.name.toLowerCase().includes("phone")||t.label.toLowerCase().includes("phone"))&&(a="tel"),"textarea"===a||"radio"===a||"checkbox"===a||"select"===a||"checkbox"===a&&t.options||t.fullWidth)?"md:col-span-2":"",children:["checkbox"!==s&&(0,l.jsxs)("label",{className:"block text-sm font-medium mb-2 ".concat(r?"text-red-700":"text-gray-700"),htmlFor:t.name,children:[t.label,!0===t.isRequired&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),"checkbox"===s&&t.options&&(0,l.jsxs)("label",{className:"block text-sm font-medium mb-2 ".concat(r?"text-red-700":"text-gray-700"),children:[t.label,!0===t.isRequired&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(e=>{var t,a,r;let s=e.type;e.name.toLowerCase().includes("email")||e.label.toLowerCase().includes("email")?s="email":(e.name.toLowerCase().includes("phone")||e.label.toLowerCase().includes("phone"))&&(s="tel");let n={id:e.name,name:e.name,onChange:$,onBlur:ee,required:!0===e.isRequired},o=U[e.name]&&Y[e.name],i="w-full px-4 py-3 border outline-none transition-colors focus:ring-2 resize-vertical ".concat(o?"border-red-500 focus:border-red-500 focus:ring-red-500/20":"border-gray-300 focus:border-[#719430] focus:ring-[#719430]/20");if(("tel"===s||"phone"===s)&&!1!==e.enableCountryCode)return(0,l.jsx)(c.LR,{defaultCountry:"in",value:O[e.name]||"",onChange:t=>{var a;return a=e.name,void(G(e=>({...e,[a]:t||""})),K(e=>({...e,[a]:!0})),setTimeout(()=>X(a),300))},placeholder:e.placeholder||"Enter your ".concat(e.label.toLowerCase()),preferredCountries:e.preferredCountries||["us","gb","ca","au","in"],inputProps:{className:i,id:e.name,name:e.name,required:!0===e.isRequired,onBlur:ee}});switch(s){case"textarea":return(0,l.jsx)("textarea",{...n,value:O[e.name]||"",placeholder:e.placeholder||"Enter your ".concat(e.label.toLowerCase()),rows:e.rows||4,className:i});case"email":return(0,l.jsx)("input",{type:"email",...n,value:O[e.name]||"",placeholder:e.placeholder||"Enter your ".concat(e.label.toLowerCase()),className:i});case"select":return(0,l.jsxs)("select",{...n,value:O[e.name]||"",className:i,children:[(0,l.jsx)("option",{value:"",disabled:!0,children:e.placeholder||"Select ".concat(e.label.toLowerCase())}),null==(t=e.options)?void 0:t.map((e,t)=>{let a=e.value||e,r=e.label||e;return(0,l.jsx)("option",{value:a,children:r},t)})]});case"checkbox":if(e.options)return(0,l.jsx)("div",{className:"space-y-3",children:null==(a=e.options)?void 0:a.map((t,a)=>{let r=t.value||t,s=t.label||t,i=t.content||s,c="".concat(e.name,"-").concat(a),d=(O[e.name]||[]).includes(r);return(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"checkbox",id:c,...n,value:r,checked:d,className:"w-4 h-4 border-gray-300 rounded focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-[#719430] focus:ring-[#719430]")}),(0,l.jsx)("label",{htmlFor:c,className:"ml-3 text-sm text-gray-700 leading-5",children:ea(i)})]},a)})});return(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"checkbox",id:e.name,...n,checked:O[e.name]||!1,className:"w-4 h-4 border-gray-300 rounded focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-[#719430] focus:ring-[#719430]")}),(0,l.jsx)("label",{htmlFor:e.name,className:"ml-3 text-sm text-gray-700 leading-5",children:e.checkboxLabel||e.label})]});case"radio":return(0,l.jsx)("div",{className:"space-y-3",children:null==(r=e.options)?void 0:r.map((t,a)=>{let r=t.value||t,s=t.label||t,i=t.content||s,c="".concat(e.name,"-").concat(a);return(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"radio",id:c,...n,value:r,checked:O[e.name]===r,className:"w-4 h-4 border-gray-300 focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-[#719430] focus:ring-[#719430]")}),(0,l.jsx)("label",{htmlFor:c,className:"ml-3 text-sm text-gray-700 leading-5",children:ea(i)})]},a)})});default:return(0,l.jsx)("input",{type:"text",...n,value:O[e.name]||"",placeholder:e.placeholder||"Enter your ".concat(e.label.toLowerCase()),className:i})}})(t),r&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:U[t.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600 flex items-center",children:[(0,l.jsx)("span",{className:"mr-1",children:"•"}),e]},t))})]},t.name)}
1)},t)),(()=>{var e;if(!_)return null;let t=U.captcha&&Y.captcha;return(0,l.jsx)("div",{className:"md:col-span-2",children:(0,l.jsxs)("div",{className:"bg-gray-50 rounded-lg p-4 border border-gray-200",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-3",children:[(0,l.jsx)("div",{className:"flex-1 bg-gradient-to-r from-blue-500/10 to-purple-500/10 rounded px-4 py-2.5 text-center border border-gray-200",children:(0,l.jsxs)("span",{className:"text-gray-800 text-base font-mono tracking-wider select-none font-semibold",children:[L," = ?"]})}),(0,l.jsx)("button",{type:"button",onClick:q,className:"flex-shrink-0 p-2 rounded-lg bg-gray-100 hover:bg-gray-200 transition-colors text-gray-700","aria-label":"Refresh CAPTCHA",title:"Refresh CAPTCHA",children:(0,l.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{ref:E,type:"text",value:M,onChange:D,placeholder:"Enter your answer",className:"w-full px-4 py-2.5 text-sm border rounded-lg focus:outline-none focus:ring-2 text-gray-800 placeholder-gray-400 transition-all ".concat(P?"border-green-400 focus:ring-green-400 bg-green-50":t?"border-red-400 focus:ring-red-400 bg-red-50":"border-gray-300 focus:ring-[#719430] focus:border-[#719430] bg-white"),style:{borderColor:P?"#4ADE80":t?"#EF4444":void 0},disabled:P}),P&&(0,l.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})]}),t&&!P&&(0,l.jsx)("p",{className:"text-red-500 text-sm mt-2",children:null==(e=U.captcha)?void 0:e[0]}),P&&!t&&(0,l.jsx)("p",{className:"text-green-500 text-sm mt-2",children:"✓ CAPTCHA verified successfully"})]})})})(),(0,l.jsx)("div",{className:"flex items-center justify-start pt-4",children:J?(0,l.jsx)("button",{disabled:!0,style:{backgroundColor:k,color:C},className:"font-medium px-8 py-3 rounded-lg transition-colors duration-200 focus:outline-none opacity-70",children:"Sending..."}):(0,l.jsx)("button",{onClick:et,disabled:_&&!P,style:{backgroundColor:_&&!P?"#9CA3AF":k,color:C,cursor:_&&!P?"not-allowed":"pointer"},className:"font-medium px-8 py-3 rounded-lg transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 ".concat(_&&!P?"":"hover:opacity-90"),children:g})})]})]})})})}a(30594)},23134:(e,t,a)=>{a.d(t,{default:()=>i});var l=a(95155),r=a(12115),s=a(20063),n=a(97290);let o={isFullWidth:!0,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0,backgroundColor:"#f5f5f5",banners:[{image:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Mountain landscape with snow capped peaks"},{image:"https://images.unsplash.com/photo-1469474968028-56623f02e42e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Forest with sun rays coming through trees"},{image:"https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Foggy mountain valley at sunrise"}],height:600,bannerContent:"\n    <h1 class='text-4xl md:text-6xl font-bold text-white mb-4'>\n      Find Your Perfect Destination\n    </h1>\n    <p class='text-lg md:text-xl text-white'>\n      Discover amazing places and create unforgettable memories\n    </p>\n  ",selectLabel:"Choose Category","select-options":[{lable:"Mountain Adventures",route:"/destinations/mountains"},{lable:"Beach Getaways",route:"/destinations/beaches"},{lable:"City Explorations",route:"/destinations/cities"},{lable:"Forest Retreats",route:"/destinations/forests"},{lable:"Desert Safaris",route:"/destinations/deserts"}],searchButtonBackgroundColor:"#7A8B5C",searchButtonTextColor:"#ffffff"};function i(e){var t,a,i;let{data:c,preview:d=!1}=e,m=d?o:null!=c?c:o,{brandSlug:u,website_slug:p}=(0,s.useParams)(),x=(0,s.useRouter)(),[h,g]=(0,r.useState)((null==m||null==(t=m["select-options"])?void 0:t[0])||null),[f,b]=(0,r.useState)(2),[y]=(0,r.useState)("Mar 12"),[v]=(0,r.useState)("Mar 13"),[w,j]=(0,r.useState)(!1),N="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location.hostname)?void 0:a.includes("localhost")),k={height:(null==m?void 0:m.height)?"".concat(m.height,"px"):"420px",paddingTop:(null==m?void 0:m.paddingTop)?"".concat(m.paddingTop,"px"):void 0,paddingBottom:(null==m?void 0:m.paddingBottom)?"".concat(m.paddingBottom,"px"):void 0,paddingLeft:(null==m?void 0:m.paddingLeft)?"".concat(m.paddingLeft,"px"):void 0,paddingRight:(null==m?void 0:m.paddingRight)?"".concat(m.paddingRight,"px"):void 0,backgroundColor:(null==m?void 0:m.backgroundColor)||"#f5f5f5"},C=(null==m?void 0:m.banners)&&m.banners.length>0?m.banners[0].image:null;return(0,l.jsxs)("section",{className:"relative w-full overflow-hidden flex items-center justify-center",style:k,children:[C&&
1(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url('".concat(C?C.startsWith("http://")||C.startsWith("https://")?C:"".concat(n.image_url,"/").concat(C):"","')")}}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/45"})]}),(0,l.jsxs)("div",{className:"relative z-10 flex flex-col items-center w-full px-4",children:[(null==m?void 0:m.bannerContent)&&(0,l.jsx)("div",{className:"text-white mb-8 text-center drop-shadow-lg tracking-wide max-w-3xl",dangerouslySetInnerHTML:{__html:m.bannerContent}}),(0,l.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl px-6 py-5 flex flex-col md:flex-row items-end gap-4 w-full max-w-4xl",children:[(0,l.jsxs)("div",{className:"flex flex-col flex-1 w-full relative",children:[(0,l.jsxs)("label",{className:"text-xs font-semibold text-gray-700 mb-1",children:[(null==m?void 0:m.selectLabel)||"Location"," ",(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsxs)("div",{className:"flex items-center border border-gray-200 rounded-lg px-3 py-2.5 cursor-pointer bg-white hover:border-green-400 transition-colors",onClick:()=>j(e=>!e),children:[(0,l.jsxs)("svg",{className:"w-4 h-4 text-gray-400 mr-2 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"})]}),(0,l.jsx)("span",{className:"text-sm ".concat(h?"text-gray-800":"text-gray-400"),children:(null==h?void 0:h.lable)||"Select ".concat((null==m?void 0:m.selectLabel)||"Location")})]}),w&&(0,l.jsx)("ul",{className:"absolute top-full left-0 mt-1 w-full bg-white border border-gray-200 rounded-lg shadow-lg z-50 overflow-hidden max-h-60 overflow-y-auto",children:null==m||null==(i=m["select-options"])?void 0:i.map((e,t)=>(0,l.jsx)("li",{className:"px-4 py-2.5 text-sm text-gray-700 hover:bg-green-50 hover:text-green-700 cursor-pointer transition-colors",onClick:()=>{g(e),j(!1)},children:e.lable},t))})]}),(0,l.jsx)("div",{className:"hidden md:block h-12 w-px bg-gray-200"}),(0,l.jsxs)("div",{className:"flex flex-col flex-1 w-full",children:[(0,l.jsx)("label",{className:"text-xs font-semibold text-gray-700 mb-1",children:"Check-in • Check-out"}),(0,l.jsxs)("div",{className:"flex items-center border border-gray-200 rounded-lg px-3 py-2.5 bg-white hover:border-green-400 transition-colors cursor-pointer",children:[(0,l.jsxs)("span",{className:"text-sm text-gray-700 flex-1",children:[y," → ",v]}),(0,l.jsx)("svg",{className:"w-4 h-4 text-gray-400 ml-2 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})})]})]}),(0,l.jsx)("div",{className:"hidden md:block h-12 w-px bg-gray-200"}),(0,l.jsxs)("div",{className:"flex flex-col flex-1 w-full",children:[(0,l.jsx)("label",{className:"text-xs font-semibold text-gray-700 mb-1",children:"Guests"}),(0,l.jsxs)("div",{className:"flex items-center border border-gray-200 rounded-lg px-3 py-2.5 bg-white hover:border-green-400 transition-colors",children:[(0,l.jsx)("input",{type:"number",min:1,max:20,value:f,onChange:e=>b(Number(e.target.value)),className:"flex-1 text-sm text-gray-700 outline-none w-full bg-transparent"}),(0,l.jsx)("svg",{className:"w-4 h-4 text-gray-400 ml-2 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0z"})})]})]}),(0,l.jsx)("button",{style:{backgroundColor:(null==m?void 0:m.searchButtonBackgroundColor)||"#000000",color:(null==m?void 0:m.searchButtonTextColor)||"#ffffff"},onClick:()=>{var e;if(!(null==h?void 0:h.route))return void console.warn("No route selected");let t=new URLSearchParams;t.append("checkIn",y),t.append("checkOut",v),t.append("guests",f.toString());let a=(e="".concat(h.route,"?").concat(t.toString()),N?"/".concat(u,"/website/").concat(p).concat(e):e);x.push(a)},className:"font-semibold text-sm rounded-xl px-10 py-3.5 transition-colors duration-200 shrink-0 w-full md:w-auto shadow-md",children:"Search"})]})]})]})}},23143:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(12115),s=a(20063);let n=e=>{let{data:t}=e,a=(0,r.useRef)(null),n=(0,s.useRouter)(),[o,i]=(0,r.useState)(0),{content:c="",isFullWidth:d=!1,paddingTop:m=0,paddingBottom:u=0,paddingLeft:p=0,paddingRight:x=0}=t||{};return((0,r.useEffect)(()=>{var e;let t,l=a.current;if(!l||!c)return;let r=l.contentDocument;if(!r)return;r.open(),r.write(c),r.close();let s=()=>{var e,t;i(Math.max((null==(e=r.body)?void 0:e.scrollHeight)||0,(null==(t=r.documentElement)?void 0:t.scrollHeight)||0))},o=setTimeout(s,300),d=Array.from(r.querySelectorAll("img"));
1d.forEach(e=>e.addEventListener("load",s));let m=null==(e=l.contentWindow)?void 0:e.ResizeObserver;m&&r.body&&(t=new m(s)).observe(r.body);let u=e=>{var t,a;let s,o=null==(t=(a=e.target).closest)?void 0:t.call(a,"a[href]");if(!o||"_blank"===o.target||0!==e.button||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)return;let i=o.getAttribute("href");if(i&&!/^(mailto:|tel:|sms:|javascript:)/i.test(i)){if(i.startsWith("#")){e.preventDefault();let t=decodeURIComponent(i.slice(1)),a=t?r.getElementById(t):null,s=l.getBoundingClientRect().top+window.scrollY;if(a){let e=s+a.getBoundingClientRect().top;window.scrollTo({top:e,behavior:"smooth"})}else t||window.scrollTo({top:s,behavior:"smooth"});return}try{s=new URL(i,window.location.href)}catch(e){return}e.preventDefault(),s.origin===window.location.origin?n.push(s.pathname+s.search+s.hash):window.open(s.href,"_blank","noopener,noreferrer")}};return r.addEventListener("click",u),()=>{clearTimeout(o),r.removeEventListener("click",u),d.forEach(e=>e.removeEventListener("load",s)),null==t||t.disconnect()}},[c,n]),c)?(0,l.jsx)("div",{style:{width:"100%",maxWidth:d?"100%":"1140px",margin:"0 auto",paddingTop:"".concat(m,"px"),paddingBottom:"".concat(u,"px"),paddingLeft:"".concat(p,"px"),paddingRight:"".concat(x,"px"),boxSizing:"border-box"},children:(0,l.jsx)("iframe",{ref:a,title:"html-content",style:{width:"100%",height:"".concat(o,"px"),border:"none",display:"block"}})}):null}},23672:(e,t,a)=>{a.d(t,{default:()=>s});var l=a(95155),r=a(97290);function s(e){let{data:t}=e,{isFullWidth:a=!1,backgroundColor:s="transparent",paddingTop:n=0,paddingBottom:o=0,paddingLeft:i=0,paddingRight:c=0,sectionTitle:d="",gallery:m=[],gap:u=24,borderRadius:p="rounded-2xl",shadow:x=!0,hoverScale:h=!0,maxImagesToShow:g=4}=t||{},f=["-rotate-6","rotate-2","-rotate-2","rotate-6","-rotate-4","rotate-4","-rotate-3","rotate-3","-rotate-5","rotate-5"],b=m.slice(0,g);return b&&0!==b.length?(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:s,paddingTop:"".concat(n,"px"),paddingBottom:"".concat(o,"px"),paddingLeft:"".concat(i,"px"),paddingRight:"".concat(c,"px")},children:(0,l.jsxs)("div",{className:"".concat(a?"max-w-full":"max-w-7xl"," mx-auto"),children:[d&&(0,l.jsx)("div",{className:"text-center mb-14",children:(0,l.jsx)(e=>{let{content:t}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words",dangerouslySetInnerHTML:{__html:t}}):null},{content:d})}),(0,l.jsx)("div",{className:"flex justify-center items-center flex-wrap",style:{gap:"".concat(u,"px")},children:b.map((e,t)=>{var a;let s=e.image||e.src||e.url||"",n=e.altText||e.alt||e.title||"Gallery image ".concat(t+1),o=(null==(a=m[t])?void 0:a.rotate)?m[t].rotate:f[t%f.length];return(0,l.jsx)("div",{className:"relative w-[200px] md:w-[240px] lg:w-[260px] h-[240px] md:h-[280px] lg:h-[300px] ".concat(o," transition duration-300 ").concat(h?"hover:scale-105":""),children:(0,l.jsx)("div",{className:"relative w-full h-full ".concat(p," overflow-hidden ").concat(x?"shadow-lg":""),children:s&&(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(s),alt:n,className:"object-cover h-full"})})},t)})})]})}):null}a(15239)},26031:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(97290);let s={isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,sectionTitle:"<h2>Guest Testimonials</h2><p>Hear from our valued guests about their experiences</p>",backgroundColor:"#f5f5f3",textColor:"#333333",testimonials:[{image:"https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",alt:"Sarah Johnson portrait",name:"Sarah Johnson",role:"Honeymoon Traveler",text:"<p>Absolutely breathtaking experience! The staff went above and beyond to make our anniversary special. The ocean views from our room were spectacular, and the dining options were world-class. We're already planning our return visit.</p>"},{image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",alt:"Michael Chen portrait",name:"Michael Chen",role:"Business Traveler",text:"<p>This resort exceeded all our expectations. From the moment we arrived, we felt like royalty. The spa treatments were incredibly relaxing, and the private beach was pristine. Highly recommend for anyone seeking a luxury getaway.</p>"},{image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",alt:"Emily Rodriguez portrait",name:"Emily Rodriguez",role:"Family Vacation",text:"<p>Five stars isn't enough! The attention to detail throughout our stay was impeccable. The infinity pool overlooking the sunset was magical, and the concierge helped us plan perfect day trips. Can't wait to come back!</p>"},{image:"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",alt:"David Thompson portrait",name:"David Thompson",role:"Solo Traveler",text:"<p>A truly unforgettable experience. The room was spacious and beautifully designed, the food was exquisite, and the service was impeccable. The resort's location offers the perfect balance of relaxation and adventure.</p>"}]};function n(e){let{data:t,preview:a=!1}=e,n=a?s:t||{},{isFullWidth:o,paddingLeft:i,paddingRight:c,paddingTop:d,paddingBottom:m,sectionTitle:u,backgroundColor:p,textColor:x,testimonials:h=[]}=n||{},g=Math.ceil(h.length/2),f=h.slice(0,g),b=h.slice(g),y={color:x},v={borderColor:"".concat(x,"30")},w={backgroundColor:"".concat(x,"30")};return(0,l.jsxs)("section",{className:o?"w-full":"max-w-7xl mx-auto",style:{paddingLeft:"".concat(i,"px"),paddingRight:"".concat(c,"px"),paddingTop:"".concat(d,"px"),paddingBottom:"".concat(m,"px"),backgroundColor:p},children:[!n&&(0,l.jsx)("div",{className:"bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded mb-6 text-center text-sm max-w-2xl mx-auto",children:"\uD83D\uDCA1 Showing demo testimonials. Provide data prop to display your actual testimonials."}),(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,l.jsxs)("div",{className:"text-center mb-12",children:[(0,l.jsx)("div",{className:"ProseMirror [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",style:y,dangerouslySetInnerHTML:{__html:u}}),(0,l.jsxs)("div",{className:"flex items-center justify-center gap-4 mt-4",children:[(0,l.jsx)("div",{className:"h-px w-32 md:w-64",style:w}),(0,l.jsx)("div",{className:"w-3 h-3 rounded-full border-2",style:{backgroundColor:"".concat(x,"50"),borderColor:x}}),(0,l.jsx)("div",{className:"h-px w-32 md:w-64",style:w})]})]}),h.length>0?(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12",children:[(0,l.jsx)("div",{className:"space-y-8",children:f.map((e,t)=>(0,l.jsxs)("div",{className:"flex gap-6 rounded-2xl p-6 backdrop-blur-sm border-b transition-all duration-300 hover:shadow-lg",style:{...v,borderBottomWidth:"1px"},children:[(0,l.jsx)("div",{className:"flex-shrink-0",children:(0,l.jsx)("img",{src:e.image.includes("http")?e.image:"".concat(r.image_url,"/").concat(e.image),alt:e.altText||e.name,className:"w-20 h-20 rounded-full object-cover border-4",style:v})}),(0,l.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,l.jsx)("div",{className:"ProseMirror [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 text-sm md:text-base leading-relaxed mb-4 break-words overflow-hidden",style:{...y,display:"-webkit-box",WebkitLineClamp:6,WebkitBoxOrient:"vertical",overflow:"hidden"},dangerouslySetInnerHTML:{__html:e.text}}),(0,l.jsxs)("div",{className:"mt-4",children:[(0,l.jsx)("p",{className:"font-semibold text-lg truncate",style:y,children:e.name}),(0,l.jsx)("p",{className:"text-sm truncate opacity-80",style:y,children:e.role})]})]})]},t))}),h.length>1&&(0,l.jsx)("div",{className:"hidden lg:block absolute left-1/2 top-0 bottom-0 w-px -translate-x-1/2",style:w}),(0,l.jsx)("div",{className:"space-y-8",children:b.map((e,t)=>(0,l.jsxs)("div",{className:"flex gap-6 rounded-2xl p-6 backdrop-blur-sm border-b transition-all duration-300 hover:shadow-lg",style:{...v,borderBottomWidth:"1px"},children:[(0,l.jsx)("div",{className:"flex-shrink-0",children:(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(e.image),alt:e.altText||e.name,className:"w-20 h-20 rounded-full object-cover border-4",style:v})}),(0,l.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,l.jsx)("div",{className:"ProseMirror [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 text-sm md:text-base leading-relaxed mb-4 break-words overflow-hidden",style:{...y,display:"-webkit-box",WebkitLineClamp:6,WebkitBoxOrient:"vertical",overflow:"hidden"},dangerouslySetInnerHTML:{__html:e.text}}),(0,l.jsxs)("div",{className:"mt-4",children:[(0,l.jsx)("p",{className:"font-semibold text-lg truncate",style:y,children:e.name}),(0,l.jsx)("p",{className:"text-sm truncate opacity-80",style:y,children:e.role})]})]})]},t))})]}),h.length>0&&(0,l.jsx)("div",{className:"lg:hidden h-px my-8",style:w})]}):(0,l.jsx)("div",{className:"text-center py-12",children:(0,l.jsx)("p",{style:{...y,opacity:.6},children:"No testimonials to display"})})]})]})}},26139:(e,t,a)=>{a.d(t,{default:()=>i});var l=a(95155),r=a(12115),s=a(90368),n=a(27937);let o={sectionTitle:"What Our Guests Say",backgroundColor:"#f5f5f3",textColor:"#333333",testimonials:[{id:"1",text:"Absolutely breathtaking experience! The staff went above and beyond to make our anniversary special. The ocean views from our room were spectacular, and the dining options were world-class. We're already planning our return visit.",name:"Sarah Johnson",location:"Chicago, IL"},{id:"2",text:"This resort exceeded all our expectations. From the moment we arrived, we felt like royalty. The spa treatments were incredibly relaxing, and the private beach was pristine. Highly recommend for anyone seeking a luxury getaway.",name:"Michael Chen",location:"San Francisco, CA"},{id:"3",text:"Five stars isn't enough! The attention to detail throughout our stay was impeccable. The infinity pool overlooking the sunset was magical, and the concierge helped us plan perfect day trips. Can't wait to come back!",name:"Emily Rodriguez",location:"Miami, FL"},{id:"4",text:"A truly unforgettable experience. The room was spacious and beautifully designed, the food was exquisite, and the service was impeccable. The resort's location offers the perfect balance of relaxation and adventure.",n
1ame:"David Thompson",location:"Seattle, WA"}],isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0},i=e=>{var t,a,i;let{data:c,preview:d=!1}=e,m=d?o:c,{paddingTop:u,paddingBottom:p,paddingLeft:x,paddingRight:h,isFullWidth:g}=m||{},[f,b]=(0,r.useState)(0),{sectionTitle:y,testimonials:v=[],backgroundColor:w,textColor:j}=d?o:m;return(0,r.useEffect)(()=>{if(v.length>0){let e=setInterval(()=>{b(e=>(e+1)%v.length)},5e3);return()=>clearInterval(e)}},[null==v?void 0:v.length]),(0,l.jsx)("section",{style:{backgroundColor:w||"#222222",paddingTop:"".concat(u||50,"px"),paddingBottom:"".concat(p||50,"px"),paddingLeft:"".concat(x||0,"px"),paddingRight:"".concat(h||0,"px")},children:(0,l.jsxs)("div",{className:"".concat(g?"w-full":"max-w-7xl mx-auto"," px-4 sm:px-6 lg:px-8"),children:[(0,l.jsxs)("div",{className:"text-center mb-6",children:[(0,l.jsx)("h2",{className:"text-2xl font-light tracking-wide uppercase",style:{color:j||"#ffffff",opacity:.9},children:y}),(0,l.jsx)("div",{className:"mt-4 w-24 h-0.5 mx-auto",style:{backgroundColor:j||"#ffffff",opacity:.5}})]}),(0,l.jsxs)("div",{className:"relative max-w-4xl mx-auto",children:[(0,l.jsx)("button",{onClick:()=>{b(e=>(e-1+v.length)%v.length)},className:"absolute left-0 top-1/2 -translate-y-1/2 -translate-x-4 sm:-translate-x-8 lg:-translate-x-12 z-10 p-2 transition-colors duration-200 hover:opacity-100",style:{color:j||"#ffffff",opacity:.7},"aria-label":"Previous testimonial",children:(0,l.jsx)(s.A,{className:"w-6 h-6 sm:w-8 sm:h-8"})}),(0,l.jsx)("button",{onClick:()=>{b(e=>(e+1)%(null==v?void 0:v.length))},className:"absolute right-0 top-1/2 -translate-y-1/2 translate-x-4 sm:translate-x-8 lg:translate-x-12 z-10 p-2 transition-colors duration-200 hover:opacity-100",style:{color:j||"#ffffff",opacity:.7},"aria-label":"Next testimonial",children:(0,l.jsx)(n.A,{className:"w-6 h-6 sm:w-8 sm:h-8"})}),(0,l.jsx)("div",{className:"rounded-lg p-6 sm:p-8 lg:p-12 mx-4 sm:mx-8 lg:mx-12 min-h-[300px] sm:min-h-[350px] lg:min-h-[400px] flex flex-col justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsxs)("blockquote",{className:"text-base sm:text-lg lg:text-xl leading-relaxed italic mb-8 sm:mb-10",style:{color:j||"#ffffff",opacity:.8},children:['"',null==(t=v[f])?void 0:t.text,'"']}),(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)("h3",{className:"text-lg sm:text-xl lg:text-2xl font-medium",style:{color:j||"#ffffff"},children:null==(a=v[f])?void 0:a.name}),(0,l.jsx)("p",{className:"text-sm sm:text-base",style:{color:j||"#ffffff",opacity:.7},children:null==(i=v[f])?void 0:i.location})]})]})})]}),(0,l.jsx)("div",{className:"flex justify-center mt-8 space-x-2",children:v.map((e,t)=>(0,l.jsx)("button",{onClick:()=>{b(t)},className:"w-3 h-3 rounded-full transition-all duration-300",style:{backgroundColor:t===f?j||"#ffffff":"".concat(j||"#ffffff","80")},"aria-label":"Go to testimonial ".concat(t+1)},t))})]})})}},26703:(e,t,a)=>{a.d(t,{default:()=>d});var l=a(95155);a(15239);var r=a(52619),s=a.n(r),n=a(20063),o=a(33828),i=a(97290),c=a(43897);function d(e){var t,a;let{data:r}=e,d=(0,n.useParams)(),m=null==d?void 0:d.brandSlug,u=null==d?void 0:d.website_slug,{isFullWidth:p=!1,backgroundColor:x="#f5f6f3",paddingTop:h=0,paddingBottom:g=0,paddingLeft:f=0,paddingRight:b=0,sectionTitle:y="",heading:v="OUR TOP SELLING APARTMENTS",headingColor:w="#000000",subheading:j="TAKE A LOOK AT OUR MOST POPULAR APARTMENTS",subheadingColor:N="#666666",cards:k=[],buttonText:C="Book Now →",buttonBackgroundColor:_="#5D8A51",buttonTextColor:T="#ffffff",cardBackgroundColor:L="#ffffff",titleColor:S="#1A2E35",locationColor:B="#5D8A51",contentColor:A="#4B5563",priceColor:M="#1A2E35",tagBackgroundColor:I="#ffffff",tagTextColor:F="#000000",starColor:R="#D4AF37",openInNewTab:P=!1}=r||{},W=e=>!!e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")),E=e=>!!e&&e.startsWith("#"),H="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost"));return k&&0!==k.length?(0,l.jsxs)("section",{className:"w-full",style:{backgroundColor:x,paddingTop:"".concat(h,"px"),paddingBottom:"".concat(g,"px"),paddingLeft:"".concat(f,"px"),paddingRight:"".concat(b,"px")},children:[(0,l.jsxs)("div",{className:"".concat(p?"max-w-full px-4 md:px-10 lg:px-10":"max-w-7xl mx-auto px-4"),children:[y&&(0,l.jsx)("div",{className:"text-center mb-12",children:(0,l.jsx)(e=>{let{content:t}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words text-center",dangerouslySetInnerHTML:{__html:t}}):null},{content:y})}),!y&&(v||j)&&(0,l.jsxs)("div",{className:"text-center mb-12",children:[v&&(0,l.jsx)("h2",{className:"text-3xl md:text-[64px] mb-3",style:{color:w},children:v}),j&&(0,l.jsx)("p",{className:"tracking-wide text-sm md:text-[24px] font-medium",style:{color:N},children:j})]})]}),(0,l.jsx)("div",{className:"".concat(p?"px-4 md:px-10 lg:px-16":"max-w-7xl mx-auto px-4"),children:(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:k.map((e,t)=>{let a=(e=>{if(!e)return"#";if(E(e)||W(e))return e;if(e.startsWith("/")&&H)return H?"/".concat(m,"/website/").concat(u).
1concat(e):e;return e})(e.buttonRoute),r=W(a),n=E(a),d=a&&a.startsWith("#")?a.substring(1):"",p=e.buttonBackgroundColor||_,x=e.buttonTextColor||T;return(0,l.jsxs)("div",{className:"rounded-2xl shadow-xl overflow-hidden flex flex-col h-full transition-transform hover:scale-[1.02] duration-300",style:{backgroundColor:L},children:[(0,l.jsxs)("div",{className:"relative w-full h-[260px] flex-shrink-0",children:[e.labelText&&(0,l.jsxs)("span",{className:"absolute flex items-center gap-2 top-3 left-4 z-10 font-bold text-xs px-3 py-1.5 rounded-full",style:{backgroundColor:I,color:F},children:[(0,l.jsx)(o.gt3,{style:{color:R},size:12}),e.labelText]}),e.image&&(0,l.jsx)("img",{src:"".concat(i.image_url,"/").concat(e.image),alt:e.altText||e.title||"Apartment",className:"object-cover w-full h-full"})]}),(0,l.jsxs)("div",{className:"p-5 flex flex-col flex-1",children:[e.location&&(0,l.jsx)("p",{className:"text-[12px] tracking-widest font-semibold mb-2 uppercase",style:{color:B},children:e.location}),e.title&&(0,l.jsx)("h3",{className:"text-[22px] font-bold mb-3 leading-tight",style:{color:S},children:e.title}),e.content&&(0,l.jsx)("div",{className:"mb-4",children:(0,l.jsx)("p",{className:"text-[14px] leading-relaxed line-clamp-3",style:{color:A},children:e.content})}),(0,l.jsx)("div",{className:"mt-auto pt-4 border-t border-gray-100",children:(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("div",{children:e.leftBottomText&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{className:"text-[10px] text-gray-400 uppercase tracking-wide mb-1",children:"Starting From"}),(0,l.jsx)("p",{className:"text-[18px] font-bold",style:{color:M},children:e.leftBottomText})]})}),(e.buttonText||C)&&(0,l.jsx)(l.Fragment,{children:n?(0,l.jsx)("button",{onClick:()=>(0,c.Y)(d),className:"font-semibold px-5 py-2.5 rounded-lg shadow-md transition hover:opacity-90 text-sm whitespace-nowrap",style:{backgroundColor:p,color:x},children:e.buttonText||C}):r?(0,l.jsx)("a",{href:a,target:P?"_blank":"_self",rel:a.startsWith("http")?"noopener noreferrer":"",className:"font-semibold px-5 py-2.5 rounded-lg shadow-md transition hover:opacity-90 text-sm whitespace-nowrap",style:{backgroundColor:p,color:x},children:e.buttonText||C}):(0,l.jsx)(s(),{href:a,className:"font-semibold px-5 py-2.5 rounded-lg shadow-md transition hover:opacity-90 text-sm whitespace-nowrap",style:{backgroundColor:p,color:x},children:e.buttonText||C})})]})})]})]},t)})})})]}):null}},26706:(e,t,a)=>{a.d(t,{default:()=>u});var l=a(95155),r=a(12115),s=a(22663),n=a(35258),o=a(30178),i=a(20063),c=a(5917),d=a(27937),m=a(81602);function u(e){let{data:t,sectionName:a,sectionOrder:u}=e,{brandSlug:p,website_slug:x,landingPageSlug:h}=(0,i.useParams)(),g=(0,i.useRouter)(),{isFullWidth:f=!1,backgroundColor:b="#f5f5f3",paddingTop:y=0,paddingBottom:v=0,paddingLeft:w=0,paddingRight:j=0,topContent:N="",submitButtonText:k="SUBMIT",submitButtonBackgroundColor:C="#7A8B5C",submitButtonTextColor:_="#ffffff",formFields:T=[],formType:L="",uniqueFormKey:S="",isFormRequired:B=!0,showCaptcha:A=!1,inputFieldBackgroundColor:M="#7A8B5C",inputFieldColor:I="#ffffff"}=t||{},F="clients.staystack.encrobytes.com"===window.location.hostname||window.location.hostname.includes("localhost"),[R,P]=(0,r.useState)(""),[W,E]=(0,r.useState)(0),[H,D]=(0,r.useState)(""),[q,z]=(0,r.useState)(""),[O,G]=(0,r.useState)(!1),U=(0,r.useRef)(null),V=(0,r.useCallback)(()=>{let e,t,a=Math.floor(10*Math.random())+1,l=Math.floor(10*Math.random())+1,r=["+","-","\xd7"];switch(r[Math.floor(Math.random()*r.length)]){case"+":default:e=a+l,t="".concat(a," + ").concat(l);break;case"-":e=a-l,t="".concat(a," - ").concat(l);break;case"\xd7":e=a*l,t="".concat(a," \xd7 ").concat(l)}P(t),E(e),D(""),z(""),G(!1)},[]);(0,r.useEffect)(()=>{A&&V()},[A,V]);let Y=e=>{let t=e.target.value;D(t),z(""),G(!1),t&&parseInt(t)===W&&(G(!0),z(""))},K=()=>{V(),D(""),z(""),G(!1),U.current&&U.current.focus()},J=(0,r.useMemo)(()=>(null==T?void 0:T.reduce((e,t)=>{var a,l;return"radio"===t.type&&t.options?e[t.name]=(null==(a=t.options[0])?void 0:a.value)||t.options[0]||"":"checkbox"===t.type&&t.options?e[t.name]=[]:"select"===t.type&&t.options?e[t.name]=(null==(l=t.options[0])?void 0:l.value)||t.options[0]||"":e[t.name]="",e},{}))||{},[T]),[Z,Q]=(0,r.useState)(J),[X,$]=(0,r.useState)({}),[ee,et]=(0,r.useState)({}),[ea,el]=(0,r.useState)(!1),[er,es]=(0,r.useState)(!1),en=(e,t,a,l)=>{"checkbox"===a?void 0!==l?Q(a=>({...a,[e]:[...a[e]||[],t]})):Q(a=>({...a,[e]:t})):Q(a=>({...a,[e]:t})),et(t=>({...t,[e]:!0}))},eo=e=>{et(t=>({...t,[e]:!0}))},ei=async e=>{if(e.preventDefault(),et(null==T?void 0:T.reduce((e,t)=>
1(e[t.name]=!0,e),{})),!(()=>{let e={},t=!0;return null==T||T.forEach(a=>{let l=Z[a.name],r=((e,t)=>{var a,l,r,s;let n=[];return(!0===e.isRequired||!0===B&&!1!==e.isRequired)&&("checkbox"===e.type&&e.options?t&&0!==t.length||n.push("".concat(e.label," is required")):"radio"===e.type||"select"===e.type?t&&""!==t||n.push("Please select ".concat(e.label.toLowerCase())):(null==t?void 0:t.trim())||n.push("".concat(e.label," is required"))),"email"===e.type&&t&&t.trim()&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim())||n.push("Please enter a valid email address")),((null==(a=e.name)?void 0:a.toLowerCase().includes("phone"))||(null==(l=e.label)?void 0:l.toLowerCase().includes("phone")))&&t&&t.trim()&&t.replace(/\D/g,"").length<7&&n.push("Please enter a valid phone number with country code"),((null==(r=e.name)?void 0:r.toLowerCase().includes("name"))||(null==(s=e.label)?void 0:s.toLowerCase().includes("name")))&&t&&t.trim().length<2&&n.push("Please enter a valid name"),n})(a,l);r.length>0&&(e[a.name]=r,t=!1)}),A&&!O&&(e.captcha=["Please solve the CAPTCHA"],t=!1),$(e),t})()){let e=Object.keys(X)[0];if(e)if("captcha"===e){var t;null==(t=U.current)||t.focus()}else{let t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"center"})}s.Ay.error("Please fix the validation errors before submitting.");return}try{el(!0);let e={body:{formData:{...Z},brandSlug:p,formType:L,sectionOrder:u,sectionName:"InquiryForm",uniqueFormKey:S}};if(x?await (0,n.Y8)({...e,body:{...e.body,websiteSlug:x}}):await (0,o.A7)({...e,body:{...e.body,landingPageSlug:h}}),h)return g.push(F?"/".concat(p,"/landing/").concat(h,"/thankyou"):"/thankyou");es(!0),setTimeout(()=>es(!1),4e3),Q(J),$({}),et({}),D(""),G(!1),V()}catch(e){console.log("Error",e),s.Ay.error("Something went wrong! Please refresh the page and try again.")}finally{el(!1)}},ec=e=>{var t,a;return"email"===e.type||(null==(t=e.name)?void 0:t.toLowerCase().includes("email"))||(null==(a=e.label)?void 0:a.toLowerCase().includes("email"))},ed=e=>{var t,a,l,r;return(null==(t=e.name)?void 0:t.toLowerCase().includes("name"))||(null==(a=e.label)?void 0:a.toLowerCase().includes("name"))||(null==(l=e.name)?void 0:l.toLowerCase().includes("phone"))||(null==(r=e.label)?void 0:r.toLowerCase().includes("phone"))||"tel"===e.type||"phone"===e.type},em=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t&&!1!==e.enableCountryCode){let t=X[e.name]&&ee[e.name];return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("label",{className:"text-[12px] font-bold text-black uppercase tracking-wider",children:e.label}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("div",{className:"w-full rounded-none\n              ".concat(t?"ring-2 ring-red-500":"","\n              [&_.react-international-phone-country-selector-button]:!h-[49px] \n              [&_.react-international-phone-input]:!h-[46px] \n              [&_.react-international-phone-country-selector-button]:!border-0 \n              [&_.react-international-phone-input]:!border-0\n              [&_.react-international-phone-country-selector-button]:!bg-white\n              [&_.react-international-phone-input]:!bg-white\n              [&_.react-international-phone-country-selector-button]:!text-black\n              [&_.react-international-phone-input]:!text-black\n              [&_.react-international-phone-country-selector-button]:!hover:bg-gray-50\n              [&_.react-international-phone-input]:!text-[16px]\n              [&_.react-international-phone-input]:!placeholder-gray-400\n              [&_.react-international-phone-country-selector-button]:!rounded-none\n            "),children:(0,l.jsx)(m.LR,{defaultCountry:"in",value:Z[e.name]||"",onChange:t=>{var a;return a=e.name,void(Q(e=>({...e,[a]:t||""})),et(e=>({...e,[a]:!0})))},placeholder:e.placeholder||"Enter your ".concat(e.label.toLowerCase()),preferredCountries:e.preferredCountries||["in","us","gb","ca","au"],inputProps:{className:"w-full px-4 py-3 bg-white focus:outline-none text-[16px]",id:e.name,name:e.name,required:!0===e.isRequired||!0===B,onBlur:()=>eo(e.name),style:{backgroundColor:"white",color:"black"}},buttonProps:{className:"bg-white hover:bg-gray-50 px-3 transition-colors",style:{backgroundColor:"white",color:"black"}},containerClassName:"w-full",style:{backgroundColor:"white",color:"black"}})})}),t&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:X[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600",children:["• ",e]},t))})]},e.name)}let a=X[e.name]&&ee[e.name];return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("label",{className:"text-[12px] font-bold text-black uppercase tracking-wider",children:e.label}),(0,l.jsxs)("div",{className:"relative mt-2",children:[t&&!e.enableCountryCode&&(0,l.jsx)("span",{className:"absolute left-3 top-3 text-gray-500",children:"+91"}),(0,l.jsx)("input",{id:e.name,type:t?"tel":e.type,placeholder:e.placeholder||"Enter your ".concat(e.label.toLowerCase()),value:Z[e.name]||"",onChange:a=>en(e.name,t?a.target.value.replace(/\D/g,""):a.target.value,e.type),onBlur:()=>eo(e.name),className:"w-full py-3 outline-none ".concat(t&&!e.enableCountryCode?"pl-12 pr-4":"px-4"," ").concat(a?"border-2 border-red-500":""),style:{backgroundColor:"white",color:"black"}})]}),a&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:X[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600",children:["• ",e]},t))})]},e.name)},eu=e=>{let t=X[e.name]&&ee[e.name];return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("label",{className:"text-[12px] font-bold text-black uppercase tracking-wider",children:e.label}),(0,l.jsx)("input",{id:e.name,type:"email",placeholder:e.placeholder||"Enter your ".concat(e.label.toLowerCase()),value:Z[e.name]||"",onChange:t=>en(e.name,t.target.value,e.type),onBlur:()=>eo(e.name),className:"w-full mt-2 px-4 py-3 outline-none ".concat(t?"border-2 border-red-500":""),style:{backgroundColor:"white",color:"black"}}),t&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:X[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600",children:["• ",e]},t))})]},e.name)},ep=e=>{let t=X[e.name]&&ee[e.name];return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("label",{className:"text-[12px] font-bold text-black uppercase tracking-wider",children:e.label}),(0,l.jsx)("textarea",{id:e.name,placeholder:e.placeholder||"Enter your ".concat(e.label.toLowerCase()),value:Z[e.name]||"",onChange:t=>en(e.name,t.target.value,e.type),onBlur:()=>eo(e.name),rows:e.rows||4,className:"w-full mt-2 px-4 py-3 outline-none resize-y ".concat(t?"border-2 border-red-500":""),style:{backgroundColor:"white",color:"black"}}),t&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:X[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600",children:["• ",e]},t))})]},e.name)},ex=e=>{var t;let a=X[e.name]&&ee[e.name];return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("label",{className:"text-[12px] font-bold text-black tracking-wider up
1percase",children:e.label}),(0,l.jsxs)("select",{id:e.name,value:Z[e.name]||"",onChange:t=>en(e.name,t.target.value,e.type),onBlur:()=>eo(e.name),className:"w-full mt-2 px-4 py-3 outline-none ".concat(a?"border-2 border-red-500":""),style:{backgroundColor:"white",color:"black"},children:[(0,l.jsxs)("option",{value:"",disabled:!0,children:["Select ",e.label.toLowerCase()]}),null==(t=e.options)?void 0:t.map((e,t)=>{let a=e.value||e,r=e.label||e;return(0,l.jsx)("option",{value:a,children:r},t)})]}),a&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:X[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600",children:["• ",e]},t))})]},e.name)},eh=e=>{var t,a;let r=X[e.name]&&ee[e.name];return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("label",{className:"text-[12px] font-bold text-black tracking-wider uppercase",children:e.label}),(0,l.jsx)("div",{className:"grid mt-3 gap-3 ".concat((null==(t=e.options)?void 0:t.length)===3?"grid-cols-1 sm:grid-cols-3":"grid-cols-1 sm:grid-cols-2 sm:grid-cols-4"),children:null==(a=e.options)?void 0:a.map(t=>{let a=t.value||t,r=t.label||t,s=Z[e.name]===a;return(0,l.jsxs)("label",{className:"cursor-pointer",children:[(0,l.jsx)("input",{type:"radio",name:e.name,className:"hidden peer",checked:s,onChange:()=>en(e.name,a,e.type)}),(0,l.jsxs)("div",{className:"flex items-center justify-center gap-2 py-4 border font-medium text-sm transition-all ".concat(s?"border-[#7A8B5C] rounded-md":"border-[#606C38]"),style:{backgroundColor:s?M:"white",color:s?I:"black"},children:[s&&(0,l.jsx)(c.A,{size:14}),r.toUpperCase()]})]},a)})}),r&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:X[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600",children:["• ",e]},t))})]},e.name)},eg=e=>{var t,a;let r=X[e.name]&&ee[e.name];return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("label",{className:"text-[12px] font-bold text-black tracking-wider uppercase block mb-3",children:e.label}),(0,l.jsx)("div",{className:"grid mt-1 gap-3 ".concat((null==(t=e.options)?void 0:t.length)===3?"grid-cols-1 sm:grid-cols-3":"grid-cols-1 sm:grid-cols-2 sm:grid-cols-4"),children:null==(a=e.options)?void 0:a.map(t=>{var a;let r=t.value||t,s=t.label||t,n=null==(a=Z[e.name])?void 0:a.includes(r);return(0,l.jsxs)("label",{className:"cursor-pointer",children:[(0,l.jsx)("input",{type:"checkbox",name:e.name,className:"hidden peer",checked:n,onChange:t=>en(e.name,r,e.type,t.target.checked)}),(0,l.jsxs)("div",{className:"flex items-center justify-center gap-2 py-4 border font-medium text-sm transition-all ".concat(n?"border-[#7A8B5C] rounded-md":"border-[#606C38]"),style:{backgroundColor:n?M:"white",color:n?I:"black"},children:[n&&(0,l.jsx)(c.A,{size:14}),s.toUpperCase()]})]},r)})}),r&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:X[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600",children:["• ",e]},t))})]},e.name)};return(0,l.jsx)("section",{className:"py-16 px-4 md:px-10",style:{backgroundColor:b,paddingTop:"".concat(y,"px"),paddingBottom:"".concat(v,"px"),paddingLeft:"".concat(w,"px"),paddingRight:"".concat(j,"px")},children:(0,l.jsxs)("div",{className:"".concat(f?"max-w-full":"max-w-6xl"," mx-auto"),children:[(0,l.jsx)("div",{className:"text-center mb-10",children:(0,l.jsx)(e=>{let{content:t}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_h2]:text-2xl [&_h2]:md:text-4xl [&_h2]:font-semibold [&_h2]:text-black [&_h2]:mb-3 [&_p]:text-[#6B7280] [&_p]:text-sm [&_p]:md:text-lg",dangerouslySetInnerHTML:{__html:t}}):null},{content:N})}),(0,l.jsxs)("form",{onSubmit:ei,className:"space-y-8",children:[(()=>{let e=[],t=0;for(;t<T.length;){var a,r,s,n,o,i;let c=T[t],d=T[t+1],m=ed(c)&&!ec(c),u=d&&ed(d)&&!ec(d);if(m&&u){let o="tel"===c.type||"phone"===c.type||(null==(a=c.name)?void 0:a.toLowerCase().includes("phone"))||(null==(r=c.label)?void 0:r.toLowerCase().includes("phone")),i="tel"===d.type||"phone"===d.type||(null==(s=d.name)?void 0:s.toLowerCase().includes("phone"))||(null==(n=d.label)?void 0:n.toLowerCase().includes("phone"));e.push((0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-10",children:[em(c,o),em(d,i)]},"row-".concat(t))),t+=2}else{if("email"===c.type||ec(c))e.push(eu(c));else if("textarea"===c.type)e.push(ep(c));else if("select"===c.type)e.push(ex(c));else if("radio"===c.type)e.push(eh(c));else if("checkbox"===c.type)e.push(eg(c));else if("text"===c.type||"tel"===c.type||"phone"===c.type||"number"===c.type){let t="tel"===c.type||"phone"===c.type||(null==(o=c.name)?void 0:o.toLowerCase().includes("phone"))||(null==(i=c.label)?void 0:i.toLowerCase().includes("phone"));e.push(em(c,t))}else e.push(em(c,!1));t+=1}}return e})(),(()=>{if(!A)return null;let e=X.captcha&&ee.captcha;return(0,l.jsx)("div",{className:"w-full",children:(0,l.jsxs)("div",{className:"bg-gray-50 rounded-lg p-4 border border-gray-200",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-3",children:[(0,l.jsx)("div",{className:"flex-1 bg-gradient-to-r from-blue-500/10 to-purple-500/10 rounded px-4 py-2.5 text-center border border-gray-200",children:(0,l.jsxs)("span",{className:"text-gray-800 text-base font-mono tracking-wider select-none font-semibold",children:[R," = ?"]})}),(0,l.jsx)("button",{type:"button",onClick:K,className:"flex-shrink-0 p-2 rounded-lg bg-gray-100 hover:bg-gray-200 transition-colors text-gray-700","aria-label":"Refresh CAPTCHA",title:"Refresh CAPTCHA",children:(0,l.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{ref:U,type:"text",value:H,onChange:Y,placeholder:"Enter your answer",className:"w-full px-4 py-2.5 text-sm border rounded-lg focus:outline-none focus:ring-2 text-gray-800 placeholder-gray-400 transition-all ".concat(O?"border-green-400 focus:ring-green-400 bg-green-50":e?"border-red-400 focus:ring-red-400 bg-red-50":"border-gray-300 focus:ring-[#7A8B5C] focus:border-[#7A8B5C] bg-white"),style:{borderColor:O?"#4ADE80":e?"#EF4444":void 0},disabled:O}),O&&(0,l.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})]}),e&&!O&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:X.captcha.map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600",children:["• ",e]},t))}),O&&!e&&(0,l.jsx)("p",{className:"text-green-500 text-sm mt-2",children:"✓ CAPTCHA verified successfully"})]})})})(),(0,l.jsxs)("button",{type:"submit",disabled:ea||A&&!O,className:"w-full bg-[#7A8B5C] text-white py-3 shadow-lg font-semibold flex items-center justify-center gap-2 mt-10",style:{backgroundColor:ea||A&&!O?"#9ca3af":C,color:_,cursor:ea||A&&!O?"not-allowed":"pointer"},children:[ea?"Sending...":k,!ea&&(0,l.jsx)(d.A,{size:18})]}),er&&(0,l.jsx)("div",{className:"p-4 bg-green-50 border border-green-200 text-green-700 text-center",children:"Thank y
1ou! Your inquiry has been submitted."})]})]})})}a(30594)},30069:(e,t,a)=>{a.d(t,{default:()=>s});var l=a(95155),r=a(97290);a(12115);let s=e=>{let{data:t,loading:a=!1}=e,s=t.height,{file:n="",altText:o="Temp alt text"}=t||{};return(0,l.jsxs)("section",{className:"relative w-full",style:{height:s?"".concat(s,"vh"):"100vh"},children:[(0,l.jsx)("div",{className:"absolute inset-0",children:(0,l.jsx)("img",{src:n?"".concat(r.image_url,"/").concat(n):"https://c4.wallpaperflare.com/wallpaper/964/41/278/interior-bed-hotel-wallpaper-preview.jpg",alt:o,className:"w-full h-full object-cover"})}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/10"})]})}},30178:(e,t,a)=>{a.d(t,{A7:()=>p,Hm:()=>d,Sg:()=>c,Sz:()=>u,n3:()=>i,sk:()=>n,zD:()=>m,zf:()=>o});var l=a(97290),r=a(81899),s=a(62705);let n=async e=>{var t;return(0,r.A)(l.clientpoints.landing_page_content_view,{method:"POST",body:JSON.stringify(null!=(t=e.body)?t:{}),headers:{...e.pageHeaders}})},o=async e=>{var t;return(0,r.A)(l.clientpoints.landing_page_content_edit,{method:"POST",body:JSON.stringify(null!=(t=e.body)?t:{}),headers:{...e.pageHeaders}})},i=async e=>{var t;return(0,s.A)(l.clientpoints.landing_page_content_upload_file,{method:"POST",body:null!=(t=e.body)?t:{},headers:{...e.pageHeaders}})},c=async e=>{var t;return(0,r.A)(l.clientpoints.landing_page_content_view_enquiry,{method:"POST",body:JSON.stringify(null!=(t=e.body)?t:{}),headers:{...e.pageHeaders}})},d=async e=>{var t;return(0,r.A)(l.clientpoints.landing_page_content_view_enquiry_types,{method:"POST",body:JSON.stringify(null!=(t=e.body)?t:{}),headers:{...e.pageHeaders}})},m=e=>{var t;return(0,r.A)(l.clientpoints.landing_page_content_view_data,{method:"POST",body:JSON.stringify(null!=(t=e.body)?t:{})})},u=e=>{var t;return(0,r.A)(l.clientpoints.landing_page_content_list,{method:"POST",body:JSON.stringify(null!=(t=e.body)?t:{})})},p=async e=>{var t;return(0,r.A)(l.clientpoints.landing_page_content_add_enquiry,{method:"POST",body:JSON.stringify(null!=(t=e.body)?t:{}),headers:{...e.pageHeaders}})}},31416:(e,t,a)=>{a.d(t,{default:()=>c});var l=a(95155),r=a(12115),s=a(26497),n=a(71821),o=a(70898),i=a(97290);let c=e=>{let{data:t}=e,a={images:["https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80","https://images.unsplash.com/photo-1513584684374-8bab748fbf90?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80","https://images.unsplash.com/photo-1493663284031-b7e3aaa4c4b1?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80","https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80","https://images.unsplash.com/photo-1582268611958-ebfd161ef9cf?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80","https://images.unsplash.com/photo-1571896349842-33c89424de2d?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80"],content:"Providing Luxurious yet affordable serviced apartments in Goa",isFullWidth:!1,paddingLeft:16,paddingTop:40,paddingRight:16,paddingBottom:40},{images:c=a.images,content:d=a.content,isFullWidth:m=a.isFullWidth,paddingLeft:u=a.paddingLeft,paddingTop:p=a.paddingTop,paddingRight:x=a.paddingRight,paddingBottom:h=a.paddingBottom}=t||{},[g,f]=(0,r.useState)(0),[b,y]=(0,r.useState)(3);return(0,r.useEffect)(()=>{let e=()=>{window.innerWidth<640?y(1):window.innerWidth<1024?y(2):y(3)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,l.jsx)("div",{style:{paddingLeft:"".concat(u,"px"),paddingTop:"".concat(p,"px"),paddingRight:"".concat(x,"px"),paddingBottom:"".concat(h,"px")},children:(0,l.jsxs)("div",{className:"".concat(m?"w-full":"max-w-7xl mx-auto"," px-4"),children:[(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3  [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:d}}),(0,l.jsxs)("div",{className:"relative mt-10",children:[c.length>b&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{onClick:()=>{f(e=>e-1<0?c.length-1:e-1)},className:"absolute left-0 top-1/2 transform -translate-y-1/2    bg-white text-gray-800 px-4 py-3 rounded-full z-10 shadow-md    hover:bg-gray-200 transition-colors duration-300 ml-2","aria-label":"Previous slide",children:(0,l.jsx)(o._Jj,{})}),(0,l.jsx)("button",{onClick:()=>{f(e=>e+1>=c.length?0:e+1)},className:"absolute right-0 top-1/2 transform -translate-y-1/2    bg-white text-gray-800 px-4 py-3 rounded-full z-10 shadow-md    hover:bg-gray-200 transition-colors duration-300 mr-2","aria-label":"Next slide",children:(0,l.jsx)(o.X6T,{})})]}),(0,l.jsx)("div",{className:"overflow-hidden px-10",children:(0,l.jsx)("div",{className:"flex justify-center space-x-6",children:(0,l.jsx)(s.N,{mode:"wait",children:(()=>
1{if(!c||0===c.length)return a.images;if(c.length<=b)return c;let e=[];for(let t=0;t<b;t++){let a=(g+t)%c.length;e.push(c[a])}return e})().map((e,t)=>(0,l.jsx)(n.P.div,{className:"".concat(1===b?"w-full":2===b?"w-1/2":"w-1/3"," overflow-hidden rounded-xl shadow-lg"),initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9},transition:{duration:.5},children:(0,l.jsx)("img",{src:"".concat(i.image_url,"/").concat(e.image),alt:e.altText,className:"w-full h-64 object-cover hover:scale-105 transition-transform duration-500"})},"".concat(g,"-").concat(t)))})})}),c.length>b&&(0,l.jsx)("div",{className:"flex justify-center mt-6 space-x-2",children:Array.from({length:Math.ceil(c.length/b)}).map((e,t)=>(0,l.jsx)("button",{onClick:()=>f(t*b),className:"w-3 h-3 rounded-full ".concat(g>=t*b&&g<(t+1)*b?"bg-blue-600":"bg-gray-300"),"aria-label":"Go to slide group ".concat(t+1)},t))})]})]})})}},31504:(e,t,a)=>{a.d(t,{default:()=>c});var l=a(95155),r=a(12115),s=a(5789),n=a(90368),o=a(27937);let i={sectionTitle:"Guest Testimonials",testimonials:[{description:"<p>Absolutely breathtaking experience! The staff went above and beyond to make our anniversary special. The ocean views from our room were spectacular, and the dining options were world-class. We're already planning our return visit.</p>",name:"Sarah Johnson",location:"Chicago, IL"},{description:"<p>This resort exceeded all our expectations. From the moment we arrived, we felt like royalty. The spa treatments were incredibly relaxing, and the private beach was pristine. Highly recommend for anyone seeking a luxury getaway.</p>",name:"Michael Chen",location:"San Francisco, CA"},{description:"<p>Five stars isn't enough! The attention to detail throughout our stay was impeccable. The infinity pool overlooking the sunset was magical, and the concierge helped us plan perfect day trips. Can't wait to come back!</p>",name:"Emily Rodriguez",location:"Miami, FL"},{description:"<p>A truly unforgettable experience. The room was spacious and beautifully designed, the food was exquisite, and the service was impeccable. The resort's location offers the perfect balance of relaxation and adventure.</p>",name:"David Thompson",location:"Seattle, WA"}]},c=function(e){var t,a,c;let{data:d,preview:m=!1}=e,{sectionTitle:u="What Our Guests Say",testimonials:p=[],isFullWidth:x,paddingTop:h,paddingBottom:g,paddingLeft:f,paddingRight:b}=(m?i:d||{})||{},y=p&&p.length>0,v=y?p:[],[w,j]=(0,r.useState)(0),[N,k]=(0,r.useState)(!1),C=e=>{N||0===v.length||(k(!0),j(e),setTimeout(()=>k(!1),500))},_=()=>{0!==v.length&&C(w===v.length-1?0:w+1)};return((0,r.useEffect)(()=>{if(!y&&v.length>0){let e=setInterval(()=>{_()},5e3);return()=>clearInterval(e)}},[w,v,y]),0===v.length)?null:(0,l.jsx)("div",{className:"flex items-center justify-center px-4 py-10",style:{paddingTop:h||"2.5rem",paddingBottom:g||"2.5rem",paddingLeft:f||"1rem",paddingRight:b||"1rem",width:x?"100%":"auto"},children:(0,l.jsxs)("div",{className:"w-full max-w-2xl",children:[(0,l.jsxs)("div",{className:"text-center mb-8",children:[(0,l.jsx)("h2",{className:"text-4xl font-extralight text-shadow-lg mb-2",children:u}),(0,l.jsx)("div",{className:"w-16 h-1 bg-black mx-auto rounded-full"})]}),(0,l.jsx)("div",{className:"relative",children:(0,l.jsxs)("div",{className:"bg-white/80 backdrop-blur-sm rounded-2xl shadow-xl p-6 mx-auto max-w-xl border border-white/20",children:[(0,l.jsx)("div",{className:"flex justify-center mb-4",children:(0,l.jsx)("div",{className:"",children:(0,l.jsx)(s.A,{className:"w-6 h-6 text-black"})})}),(0,l.jsxs)("div",{className:"transition-all duration-500 ease-in-out ".concat(N?"opacity-0 transform translate-y-4":"opacity-100 transform translate-y-0"),children:[(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 mb-10 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:(null==(t=v[w])?void 0:t.description)||""}}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("h4",{className:"text-lg font-bold text-gray-800 mb-1",children:(null==(a=v[w])?void 0:a.name)||""}),(0,l.jsx)("p",{className:"text-gray-500 text-sm font-medium",children:(null==(c=v[w])?void 0:c.location)||""})]})]}),(0,l.jsxs)("div",{className:"flex justify-center items-center gap-4 mt-6",children:[(0,l.jsx)("button",{onClick:()=>{0!==v.length&&C(0===w?v.length-1:w-1)},disabled:N||v.length<=1,className:"group bg-white/70 hover:bg-white text-gray-600 hover:text-gray-800 p-2 rounded-full shadow-md hover:shadow-lg transition-all duration-300 disabled:opacity-50 disabled:cursor-not-allowed border border-gray-200/50",children:(0,l.jsx)(n.A,{className:"w-4 h-4 group-hover:scale-110 transition-transform duration-200"})}),(0,l.jsx)("div",{className:"flex gap-2",children:v.map((e,t)=>(0,l.jsx)("button",{onClick:()=>C(t),disabled:N,className:"w-2 h-2 rounded-full transition-all duration-300 ".concat(t===w?"bg-gradient-to-r from-green-500 to-blue-500 
1w-6":"bg-gray-300 hover:bg-gray-400")},t))}),(0,l.jsx)("button",{onClick:_,disabled:N||v.length<=1,className:"group bg-white/70 hover:bg-white text-gray-600 hover:text-gray-800 p-2 rounded-full shadow-md hover:shadow-lg transition-all duration-300 disabled:opacity-50 disabled:cursor-not-allowed border border-gray-200/50",children:(0,l.jsx)(o.A,{className:"w-4 h-4 group-hover:scale-110 transition-transform duration-200"})})]}),!y&&(0,l.jsx)("div",{className:"absolute -top-2 -right-2",children:(0,l.jsx)("span",{className:"bg-gradient-to-r from-green-500 to-blue-500 text-white text-xs px-2 py-1 rounded-full shadow-lg",children:"Demo"})})]})})]})})}},32733:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155),r=a(12115),s=a(45345),n=a(48389);function o(e){let{data:t}=e,{isFullWidth:a,paddingLeft:o=50,paddingTop:i=100,paddingRight:c=50,paddingBottom:d=100,primaryBackgrund:m="#d4ddd0",secondaryBackground:u="#f4a460",cards:p=[]}=t||{},[x,h]=(0,r.useState)(null),g=p.length>0?p.map((e,t)=>({id:t+1,icon:e.icon,title:e.title,hoverText:e.hoverText||"",bgColor:t%2==0?m:u})):[{id:1,icon:"tag",title:"<p>Cost-Effective</p>",bgColor:m,hoverText:null},{id:2,icon:"home",title:"<p>Fully-equipped kitchen</p>",bgColor:u,hoverText:"<p>A ready-to-move-in Serviced apartments Delhi also means a ready-to-function kitchen. Amber serviced apartments in Delhi have taken extra care in bringing comfort and kitchen luxury to you on an economical budget. A fully furnished and equipped kitchen toppled with a brilliant kitchen design makes it even more appealing.</p>"},{id:3,icon:"thumb",title:"<p>Spacious</p>",bgColor:m,hoverText:null},{id:4,icon:"trash2",title:"<p>Dustbin</p>",bgColor:u,hoverText:null},{id:5,icon:"lightbulb",title:"<p>Power Backup</p>",bgColor:m,hoverText:null},{id:6,icon:"check",title:"<p>Verified</p>",bgColor:u,hoverText:null}];return(0,l.jsx)("div",{className:"".concat(a?"w-full":"max-w-7xl mx-auto"," min-h-screen bg-gray-50"),style:{paddingTop:"".concat(i,"px"),paddingBottom:"".concat(d,"px"),paddingLeft:"".concat(o,"px"),paddingRight:"".concat(c,"px")},children:(0,l.jsx)("div",{className:"".concat(a?"w-full":"max-w-7xl mx-auto"),children:(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-0 shadow-2xl",children:g.map((e,t)=>{let a=x===e.id,r=(e=>{let t=null==e?void 0:e.toLowerCase().trim();return n.A[t]?n.A[t]:(0,l.jsx)(s.A,{},"default")})(e.icon);return(0,l.jsxs)("div",{className:"relative min-h-64 flex flex-col items-center justify-center transition-all duration-300 cursor-pointer group overflow-hidden",style:{backgroundColor:e.bgColor},onMouseEnter:()=>h(e.id),onMouseLeave:()=>h(null),children:[(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center transition-opacity duration-300 ".concat(a&&e.hoverText?"opacity-0":"opacity-100"," w-full px-4"),children:[(0,l.jsx)("div",{className:"mb-4 flex items-center justify-center text-gray-900 text-4xl",children:r}),(0,l.jsx)("div",{className:"text-gray-900 text-center px-4 w-full",children:(0,l.jsx)("div",{className:"ProseMirror text-xl font-semibold leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 max-w-full overflow-hidden",dangerouslySetInnerHTML:{__html:e.title}})})]}),e.hoverText&&(0,l.jsx)("div",{className:"absolute inset-0 bg-white p-8 flex items-center justify-center transition-opacity duration-300 ".concat(a?"opacity-100":"opacity-0"," overflow-y-auto"),children:(0,l.jsxs)("div",{className:"relative w-full h-full",children:[(0,l.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 max-h-full overflow-y-auto",dangerouslySetInnerHTML:{__html:e.hoverText}}),(0,l.jsx)("div",{className:"absolute -bottom-4 left-1/2 transform -translate-x-1/2 w-0 h-0 border-l-8 border-r-8 border-t-8 border-transparent border-t-white"})]})})]},e.id)})})})})}},33095:(e,t,a)=>{a.d(t,{default:()=>s});var l=a(95155),r=a(12115);function s(e){let{data:t}=e,a={isFullWidth:!1,paddingTop:48,paddingBottom:48,paddingLeft:16,paddingRight:16,backgroundColor:"#0f172a",textColor:"#ffffff",content:"<h2 class='text-3xl font-bold text-center mb-4'>Our Growth Metrics</h2><p class='text-lg text-gray-300 text-center'>Tracking our progress and achievements</p>",counterCards:[{value:95,label:"Customer Satisfaction"},{value:150,label:"Projects Delivered"},{value:25,label:"Team Members"},{value:3,label:"Years Experience"}]},s=t&&Object.keys(t).length>0,{isFullWidth:i=a.isFullWidth,paddingTop:c=a.paddingTop,paddingBottom:d=a.paddingBottom,paddingLeft:m=a.paddingLeft,paddingRight:u=a.paddingRight,backgroundColor:p=a.backgroundColor,textColor:x=a.textColor,content:h=a.content,counterCards:g=a.counterCards}=s?t:a,[f,b]=(0,r.useState)(!1),y=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&b(!0)},{threshold:.3});return y.current&&e.observe(y.current),()=>{y.current&&e.unobserve(y.current)}},[]),(0,l.jsxs)("div",{ref:y,className:"relative overflow-hidden",style:{paddingTop:"".concat(c,"px"),paddingBottom:"".concat(d,"px"),paddingLeft:"".concat(m,"px"),paddingRight:"".concat(u,"px"),backgroundColor:p},children:[!s&&(0,l.jsx)("div",{className:"absolute top-4 left-1/2 transform -translate-x-1/2 bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded text-sm max-w-2xl mx-auto z-10",children:"\uD83D\uDCA1 Showing demo counters. Provide data prop to display your actual counters."}),(0,l.jsxs)("div",{className:"absolute inset-0 opacity-10",children:[(0,l.jsx)("div",{className:"absolute top-10 left-10 w-20 h-20 bg-blue-500 rounded-full blur-xl"}),(0,l.jsx)("div",{className:"absolute top-1/3 right-20 w-16 h-16 bg-purple-500 rounded-full blur-xl"}),(0,l.jsx)("div",{className:"absolute bottom-20 left-1/4 w-24 h-24 bg-green-500 rounded-full blur-xl"})]}),(0,l.jsxs)("div",{className:"relative ".concat(i?"w-full":"max-w-7xl mx-auto"," px-4"),children:[h&&(0,l.jsx)("div",{className:"text-center mb-20",style:x?{color:x}:{},children:(0,l.jsx)("div",{className:"ProseMirror leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:h}})}),(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[(0,l.jsx)("div",{className:"space-y-8",children:g.map((e,t)=>(0,l.jsx)(n,{end:e.value||0,label:e.label||"",isVisible:f,duration:2e3,delay:300*t,textColor:x,index:t},t))}),(0,l.jsx)("div",{className:"grid grid-cols-2 gap-8",children:g.slice(0,4).map((e,t)=>(0,l.jsx)(o,{end:e.value||0,label:e.label||"",isVisible:f,duration:2e3,delay:400*t,textColor:x,index:t},t))})]})]})]})}function n(e){let{end:t,label:a,isVisible:s,duration:n,delay:o=0,textColor:i,index:c}=e,[d,m]=(0,r.useState)(0),[u,p]=(0,r.useState)(!1),x=(0,r.useRef)(null),h=[{bg:"bg-gradient-to-r from-blue-500 to-cyan-500",text:"text-blue-200"},{bg:"bg-gradient-to-r from-purple-500 to-pink-500",text:"text-purple-200"},{bg:"bg-gradient-to-r from-green-500 to-emerald-500",text:"text-green-200"},{bg:"bg-gradient-to-r from-orange-500 to-red-500",text:"text-orange-200"},{bg:"bg-gradient-to-r from-indigo-500 to-purple-500",text:"text-indigo-200"}
1],g=h[c%h.length];(0,r.useEffect)(()=>{if(!s||u)return;let e=setTimeout(()=>{let e,a,l=r=>{e||(e=r);let s=(r-e)/n;s<1?(m(Math.floor(t*f(s))),a=requestAnimationFrame(l)):(m(t),p(!0))};return a=requestAnimationFrame(l),()=>{a&&cancelAnimationFrame(a)}},o);return()=>clearTimeout(e)},[s,t,n,o,u]);let f=e=>e*(2-e),b=d/t*100;return(0,l.jsxs)("div",{className:"group",children:[(0,l.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,l.jsx)("span",{className:"font-semibold text-lg transition-all duration-300 group-hover:translate-x-2",style:i?{color:i}:{},children:a}),(0,l.jsx)("span",{className:"text-2xl font-bold ".concat(g.text),children:d.toLocaleString()})]}),(0,l.jsx)("div",{className:"h-3 bg-gray-700 rounded-full overflow-hidden",children:(0,l.jsx)("div",{ref:x,className:"h-full ".concat(g.bg," rounded-full transition-all duration-1000 ease-out transform origin-left"),style:{width:"".concat(s?b:0,"%")}})})]})}function o(e){let{end:t,label:a,isVisible:s,duration:n,delay:o=0,textColor:i,index:c}=e,[d,m]=(0,r.useState)(0),[u,p]=(0,r.useState)(!1),x=(0,r.useRef)(null),h=[{stroke:"#3b82f6",glow:"blue"},{stroke:"#8b5cf6",glow:"purple"},{stroke:"#10b981",glow:"green"},{stroke:"#f59e0b",glow:"yellow"}],g=h[c%h.length],f=2*Math.PI*60;(0,r.useEffect)(()=>{if(!s||u)return;let e=setTimeout(()=>{let e,a,l=r=>{e||(e=r);let s=(r-e)/n;s<1?(m(Math.floor(t*b(s))),a=requestAnimationFrame(l)):(m(t),p(!0))};return a=requestAnimationFrame(l),()=>{a&&cancelAnimationFrame(a)}},o);return()=>clearTimeout(e)},[s,t,n,o,u]);let b=e=>e*(2-e),y=d/t*f;return(0,l.jsx)("div",{className:"text-center group",children:(0,l.jsxs)("div",{className:"relative inline-block",children:[(0,l.jsxs)("svg",{ref:x,width:"140",height:"140",className:"transform -rotate-90",children:[(0,l.jsx)("circle",{cx:"70",cy:"70",r:60,stroke:"rgba(255,255,255,0.1)",strokeWidth:"8",fill:"none"}),(0,l.jsx)("circle",{cx:"70",cy:"70",r:60,stroke:g.stroke,strokeWidth:"8",fill:"none",strokeLinecap:"round",strokeDasharray:f,strokeDashoffset:f-y,className:"transition-all duration-1000 ease-out filter drop-shadow-lg",style:{filter:"drop-shadow(0 0 10px ".concat(g.stroke,")")}})]}),(0,l.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[(0,l.jsx)("div",{className:"text-2xl font-bold mb-1 transition-all duration-300 group-hover:scale-110",style:i?{color:i}:{},children:d.toLocaleString()}),(0,l.jsx)("div",{className:"text-xs opacity-80 uppercase tracking-wide max-w-20 leading-tight",style:i?{color:i}:{},children:a})]})]})})}},33217:(e,t,a)=>{a.d(t,{default:()=>d});var l=a(95155);a(12115),a(48389);var r=a(52619),s=a.n(r),n=a(97290),o=a(74163),i=a(20063);let c=[{image:"https://redthread.uoregon.edu/files/original/affd16fd5264cab9197da4cd1a996f820e601ee4.png",content:"Free shipping on all orders over $50. Fast delivery to your doorstep."},{image:"https://redthread.uoregon.edu/files/original/affd16fd5264cab9197da4cd1a996f820e601ee4.png",content:"All our products are quality checked and come with a satisfaction guarantee."},{image:"https://redthread.uoregon.edu/files/original/affd16fd5264cab9197da4cd1a996f820e601ee4.png",content:"Your payment information is secure with our encrypted checkout process."}],d=e=>{let{data:t={}}=e,{brandSlug:a,website_slug:r}=(0,i.useParams)(),d="clients.staystack.encrobytes.com"===window.location.hostname||window.location.hostname.includes("localhost"),{featureCard:m=c,paddingTop:u=12,paddingBottom:p=12,paddingLeft:x=4,paddingRight:h=4,isFullWidth:g=!1,numberOfColumns:f=3,buttonBackgroundColor:b,buttonTextColor:y,maxHeight:v=300,borderColor:w}=t,j=1===m.length,N=j?(e=>{switch(e){case 1:default:return"w-full";case 2:return"w-full sm:w-1/2";case 3:return"w-full sm:w-1/2 md:w-1/3";case 4:return"w-full sm:w-1/2 md:w-1/4"}})(f):"";return(0,l.jsx)("div",{className:"".concat(g?"w-full":"max-w-6xl"," mx-auto"),style:{paddingTop:"".concat(u,"px"),paddingBottom:"".concat(p,"px"),paddingLeft:"".concat(x,"px"),paddingRight:"".concat(h,"px")},children:(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)("div",{className:"".concat(j?"flex justify-center max-w-md mx-auto":(0,o.Rm)(f)," gap-8"),children:m.map((e,t)=>{let o=(e=>{if(!e||"#"===e)return"#";if((0,n.isExternalUrl)(e))return e;let t=e;return(e.startsWith("/")||(t="/".concat(e)),d&&a&&r)?((e,t,a)=>d&&t&&a?"/".concat(t,"/website/").concat(a).concat(e):e)(t,a,r):t})(e.buttonUrl),i=(e=>e&&"#"!==e&&(0,n.isExternalUrl)(e)?{rel:"noopener noreferrer"}:{})(e.buttonUrl),{openInNewTab:c=!1}=e;return(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center border  rounded p-4 h-full ".concat(N),style:{borderColor:w||"#e1edc1"},children:[(0,l.jsx)("img",{src:(e=>{let t="https://redthread.uoregon.edu/files/original/affd16fd5264cab9197da4cd1a996f820e601ee4.png";return e&&e!==t?"".concat(n.image_url,"/").concat(e):t})(e.image),alt:e.altText||"Feature ".concat(t+1),className:"w-full mb-4 object-cover",onError:e=>{e.target.src="https://redthread.uoregon.edu/files/original/affd16fd5264cab9197da4cd1a996f820e601ee4.png"},style:{height:"".concat(v,"px"),maxHeight:"".concat(v,"px"),borderRadius:"7px"}}),e.title&&(0,l.jsx)("p",{className:"lg:text-[25px] md:text-[17px] sm:text-[12px] text-center font-[300] text-[#808080] mb-2",children:e.title}),(e=>
1e?(0,l.jsx)("p",{className:"text-justify text-sm sm:text-base font-normal text-[#808080] mb-4",dangerouslySetInnerHTML:{__html:e}}):null)(e.content),(0,l.jsx)("div",{className:"flex-grow"}),e.buttonText&&(0,l.jsx)("div",{className:"mt-4 text-center",children:(0,l.jsx)(s(),{href:o,...i,style:{backgroundColor:b,color:y},target:c?"_blank":"_self",className:"inline-block py-2 px-5 text-white sm:text-sm md:text-lg lg:py-1.5    lg:px-4 sm:py-1 sm:px-3 rounded cursor-pointer transition duration-300 hover:opacity-90",children:e.buttonText})})]},t)})})})})}},36259:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(97290),s=a(12115);let n=e=>{let{data:t={}}=e,{content:a="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",isFullWidth:n=!1,backgroundColor:o="#ffffff",backgroundImage:i="",height:c,paddingTop:d=12,paddingBottom:m=12,paddingLeft:u=4,paddingRight:p=4,overlayOpacity:x=.45,overlay:h=!0}=t||{},[g,f]=(0,s.useState)(!1),[b,y]=(0,s.useState)(""),v=e=>{y(e),f(!0)},w=()=>{f(!1),y("")},j={backgroundColor:o,backgroundImage:i?"url(".concat(r.image_url,"/").concat(i,")"):"none",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",height:c?"".concat(c,"px"):"auto",paddingTop:"".concat(d,"px"),paddingBottom:"".concat(m,"px"),paddingLeft:"".concat(u,"px"),paddingRight:"".concat(p,"px"),position:"relative"};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"max-w-".concat(n?"full":"6xl"," text-sm sm:text-base leading-relaxed mx-auto flex justify-center items-center  px-7 md:px-16"),style:j,children:[i&&h&&(0,l.jsx)("div",{className:"absolute inset-0 bg-white",style:{opacity:x,zIndex:0}}),(0,l.jsxs)("div",{className:"relative z-10",children:[t.isImageOnTop&&t.image&&(0,l.jsx)("div",{className:"mb-6 cursor-pointer",onClick:()=>v(t.image),children:(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(t.image),alt:"feature",className:"w-full h-auto"})}),a&&(0,l.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:a}}),!t.isImageOnTop&&t.image&&(0,l.jsx)("div",{className:"mt-6 cursor-pointer",onClick:()=>v(t.image),children:(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(t.image),alt:"feature",className:"w-full h-auto"})})]})]}),g&&(0,l.jsx)("div",{className:"fixed inset-0 bg-black/75 flex items-center justify-center z-50 p-4",onClick:w,children:(0,l.jsxs)("div",{className:"relative max-w-4xl max-h-full",children:[(0,l.jsx)("button",{className:"absolute -top-10 right-0 text-white text-3xl hover:text-gray-300",onClick:w,"aria-label":"Close modal",children:"\xd7"}),(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(b),alt:"Enlarged view",className:"max-w-full max-h-screen",onClick:e=>e.stopPropagation()})]})})]})}},37236:(e,t,a)=>{a.d(t,{default:()=>m});var l=a(95155),r=a(12115),s=a(43897),n=a(48389),o=a(52619),i=a.n(o),c=a(20063);let d={sectionTitle:'<h2 style="text-align: center;"><span style="font-size: 36px;"><strong>All-in-One Platform. Every Feature You Need.</strong></span></h2><p><span style="font-size: 36px;"><br></span></p>',paddingTop:50,paddingBottom:50,paddingLeft:10,paddingRight:10,isFullWidth:!1,backgroundColor:"#ffffff",cardBackgroundColor:"#f8f9fa",cardBorderRadius:"1rem",cardShadow:"0 4px 6px rgba(0,0,0,0.1)",numberOfColumns:4,cards:[{icon:"shield",iconColor:"#f33030",iconBackgroundColor:"#ffe0e0",content:'<h3 style="text-align: center;"><strong>PMS</strong></h3><p style="text-align: center;"><span style="color: rgb(127, 255, 0); font-size: 14px;"><strong>Multi-brand property management with centralized inventory.</strong></span></p>',linkText:"Learn More",linkUrl:"/google",linkColor:"#9d0c0c",openInNewTab:!1}
1,{icon:"settings_alt",iconColor:"#ce6f6f",iconBackgroundColor:"#170202",content:'<h3 style="text-align: center;"><strong>Channel Manager</strong></h3><p style="text-align: center;"><strong>Real-time OTA sync for ARI and bookings</strong></p>',linkText:"Learn More",linkUrl:"https://www.google.com/",linkColor:"#08b513",openInNewTab:!1}]};function m(e){var t,a;let{data:o,preview:m=!1}=e,u=(0,c.useParams)(),p=null==u?void 0:u.brandSlug,x=null==u?void 0:u.website_slug,{sectionTitle:h="",paddingTop:g=50,paddingBottom:f=50,paddingLeft:b=10,paddingRight:y=10,isFullWidth:v=!1,backgroundColor:w="#ffffff",cardBackgroundColor:j="#ffffff",cardBorderRadius:N="1rem",cardShadow:k="0 4px 6px rgba(0,0,0,0.1)",numberOfColumns:C=4,cards:_=[]}=(m?d:o)||{},T=e=>!!e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")),L=e=>!!e&&e.startsWith("#"),S="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),B=e=>{let{content:t,className:a=""}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words ".concat(a),dangerouslySetInnerHTML:{__html:t}}):null},A=e=>{let{text:t,url:a,linkColor:r,openInNewTab:n}=e;if(!t||!a)return null;let o=(e=>{if(!e)return"#";if(L(e)||T(e))return e;let t=e.startsWith("/")?e:"/".concat(e);if(S){let e=t.startsWith("/")?t:"/".concat(t);return S?"/".concat(p,"/website/").concat(x).concat(e):e}return t})(a),c=T(o),d=L(o),m={color:r||void 0,textDecoration:"none",display:"inline-flex",alignItems:"center",gap:"0.5rem",fontWeight:"600",fontSize:"14px",transition:"all 0.3s ease",cursor:"pointer"};return d?(0,l.jsxs)("button",{onClick:()=>(0,s.Y)(o.slice(1)),style:m,className:"hover:gap-3 transition-all",children:[t,(0,l.jsx)("span",{className:"text-xl",children:"→"})]}):c?(0,l.jsxs)("a",{href:o,style:m,target:n?"_blank":"_self",rel:"noopener noreferrer",className:"hover:gap-3 transition-all",children:[t,(0,l.jsx)("span",{className:"text-xl",children:"→"})]}):(0,l.jsxs)(i(),{href:o,style:m,className:"hover:gap-3 transition-all",children:[t,(0,l.jsx)("span",{className:"text-xl",children:"→"})]})},M=e=>{let{card:t,index:a}=e,{icon:s="home",iconColor:o="#ED28B5",iconBackgroundColor:i="#fce7f3",content:c="",linkText:d="Learn More",linkUrl:m="",linkColor:u="#ED28B5",openInNewTab:p=!1}=t||{},x=n.A[null==s?void 0:s.toLowerCase()];return(0,l.jsxs)("div",{style:{backgroundColor:j,borderRadius:N,boxShadow:k,padding:"2rem 1.5rem",transition:"transform 0.3s ease, box-shadow 0.3s ease",height:"100%",display:"flex",flexDirection:"column"},className:"hover:transform hover:-translate-y-2 hover:shadow-xl",children:[(0,l.jsx)("div",{className:"w-24 h-24 rounded-full mx-auto flex items-center justify-center mb-6 shrink-0",style:{backgroundColor:i},children:(0,l.jsx)("span",{style:{color:o,display:"inline-flex",alignItems:"center",justifyContent:"center"},className:"[&_svg]:!w-10 [&_svg]:!h-10 [&_svg]:!stroke-current",children:(()=>{if(!x)return null;let e={size:40,color:o,style:{color:o}};return"function"==typeof x?(0,l.jsx)(x,{...e}):(0,r.isValidElement)(x)?(0,r.cloneElement)(x,e):x})()})}),(0,l.jsx)(B,{content:c}),m&&d&&(0,l.jsx)("div",{className:"mt-auto text-center pt-6",children:(0,l.jsx)(A,{text:d,url:m,linkColor:u,openInNewTab:p})})]})};return(0,l.jsx)("section",{className:"w-full overflow-hidden",style:{backgroundColor:w,paddingTop:"".concat(g,"px"),paddingBottom:"".concat(f,"px"),paddingLeft:"".concat(b,"px"),paddingRight:"".concat(y,"px")},children:(0,l.jsxs)("div",{className:"".concat(v?"max-w-full":"max-w-7xl"," mx-auto"),children:[h&&(0,l.jsxs)("div",{className:"text-center mb-16",children:[(0,l.jsx)(B,{content:h}),(0,l.jsx)("div",{className:"flex justify-center mt-5",children:(0,l.jsx)("div",{className:"w-12 h-[4px] rounded-full bg-[#ED28B5]"})})]}),_&&_.length>0&&(0,l.jsx)("div",{className:"grid gap-8 ".concat((e=>{let t={1:"grid-cols-1",2:"grid-cols-1 sm:grid-cols-2",3:"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",4:"grid-cols-1 sm:grid-cols-2 lg:grid-cols-4",5:"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",6:"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"};return t[e]||t[4]})(C)),children:_.map((e,t)=>(0,l.jsx)(M,{card:e,index:t},t))})]})})}},37401:(e,t,a)=>{a.d(t,{default:()=>d});var l=a(95155),r=a(12115),s=a(30178),n=a(20063),o=a(22663),i=a(35258),c=a(81602);a(30594);let d=e=>{let{data:t,sectionOrder:a,sectionName:d}=e,{brandSlug:m,website_slug:u,landingPageSlug:p}=(0,n.useParams)(),x=(0,n.useRouter)(),h="clients.staystack.encrobytes.com"===window.location.hostname||window.location.hostname.includes("localhost"),g=t&&Object.keys(t).length>0,f=g?t:{formName:"Contact Us",paddingTop:48,paddingBottom:48,paddingLeft:16,paddingRight:16,backgroundColor:"#ffffff",submitButtonText:"Send Message",submitButtonBackgroun
1dColor:"#000000",submitButtonTextColor:"#ffffff",showCaptcha:!1,formFields:[{name:"name",label:"Full Name",type:"text",required:!0},{name:"email",label:"Email Address",type:"email",required:!0},{name:"phone",label:"Phone Number",type:"tel",required:!0,enableCountryCode:!0,defaultCountry:"us",preferredCountries:["us","gb","ca","au","in"]},{name:"company",label:"Company",type:"text",required:!1},{name:"subject",label:"Subject",type:"select",options:[{value:"general",label:"General Inquiry"},{value:"support",label:"Technical Support"},{value:"partnership",label:"Partnership"},{value:"feedback",label:"Feedback"}],required:!0},{name:"message",label:"Your Message",type:"textarea",required:!1},{name:"terms",label:"I agree to the terms and conditions",type:"checkbox",required:!0}]},b=f.formFields||[],y=f.showCaptcha||!1,[v,w]=(0,r.useState)(""),[j,N]=(0,r.useState)(0),[k,C]=(0,r.useState)(""),[_,T]=(0,r.useState)(""),[L,S]=(0,r.useState)(!1),B=(0,r.useRef)(null),A=(0,r.useCallback)(()=>{let e,t,a=Math.floor(10*Math.random())+1,l=Math.floor(10*Math.random())+1,r=["+","-","\xd7"];switch(r[Math.floor(Math.random()*r.length)]){case"+":default:e=a+l,t="".concat(a," + ").concat(l);break;case"-":e=a-l,t="".concat(a," - ").concat(l);break;case"\xd7":e=a*l,t="".concat(a," \xd7 ").concat(l)}w(t),N(e),C(""),T(""),S(!1)},[]);(0,r.useEffect)(()=>{y&&A()},[y,A]);let M=e=>{let t=e.target.value;C(t),T(""),S(!1),t&&parseInt(t)===j&&(S(!0),T(""))},I=()=>{A(),C(""),T(""),S(!1),B.current&&B.current.focus()},F=(0,r.useMemo)(()=>b.reduce((e,t)=>{if(t&&t.name){let a=t.type;t.name.toLowerCase().includes("email")||t.label.toLowerCase().includes("email")?a="email":(t.name.toLowerCase().includes("phone")||t.label.toLowerCase().includes("phone"))&&(a="tel"),"checkbox"===a&&t.options?e[t.name]=[]:"checkbox"!==a||t.options?e[t.name]="":e[t.name]=!1}return e},{}),[b]),[R,P]=(0,r.useState)(F),[W,E]=(0,r.useState)({}),[H,D]=(0,r.useState)(!1),q=(0,r.useRef)(b.reduce((e,t)=>(t&&t.name&&(e[t.name]=r.createRef()),e),{})).current,z=e=>{let{name:t,value:a,type:l,checked:r}=e.target;if("checkbox"===l){let e=b.find(e=>e.name===t);(null==e?void 0:e.options)?P(e=>({...e,[t]:r?[...e[t]||[],a]:(e[t]||[]).filter(e=>e!==a)})):P(e=>({...e,[t]:r}))}else"radio"===l?P(e=>({...e,[t]:a})):P(e=>({...e,[t]:a}));E(e=>({...e,[t]:""}))},O=async e=>{e.preventDefault();let t=(()=>{let e={};return b.forEach(t=>{if(!t||!t.name)return;let a=R[t.name],l=((e,t)=>{let a=[],l=e.type;if(e.name.toLowerCase().includes("email")||e.label.toLowerCase().includes("email")?l="email":(e.name.toLowerCase().includes("phone")||e.label.toLowerCase().includes("phone"))&&(l="tel"),!0===e.isRequired&&("checkbox"===l&&e.options?t&&0!==t.length||a.push("".concat(e.label," is required")):"checkbox"!==l||e.options?"radio"===l?t&&""!==t.trim()||a.push("Please select ".concat(e.label.toLowerCase())):(null==t?void 0:t.trim())||a.push("".concat(e.label," is required")):t||a.push("You must accept ".concat(e.label))),"email"===l&&t&&t.trim()&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim())||a.push("Please enter a valid email address")),("tel"===l||"phone"===l)&&t&&t.trim()&&t.replace(/\D/g,"").length<7&&a.push("Please enter a valid phone number with country code"),(e.name.toLowerCase().includes("name")||e.label.toLowerCase().includes("name"))&&t&&t.trim().length<2&&a.push("Please enter a valid name"),(e.name.toLowerCase().includes("message")||e.label.toLowerCase().includes("message"))&&t&&t.trim().length<10&&a.push("Please enter a message with at least 10 characters"),"date"===l&&t){let e=new Date().setHours(0,0,0,0);new Date(t).setHours(0,0,0,0)<e&&a.push("Date cannot be in the past")}return a})(t,a);l.length>0&&(e[t.name]=l)}),y&&!L&&(e.captcha=["Please solve the CAPTCHA"]),e})();if(Object.keys(t).length>0){var l,r,n;E(t);let e=Object.keys(t)[0];"captcha"===e?null==(l=B.current)||l.focus():null==(n=q[e])||null==(r=n.current)||r.focus();return}D(!0);try{let e={body:{formData:{...R},brandSlug:m,formType:f.formType,sectionOrder:a,sectionName:"Form_4",uniqueFormKey:f.uniqueFormKey}};if(u?await (0,i.Y8)({...e,body:{...e.body,websiteSlug:u}}):await (0,s.A7)({...e,body:{...e.body,landingPageSlug:p}}),p)return x.push(h?"/".concat(m,"/landing/").concat(p,"/thankyou"):"/thankyou");o.oR.success("Thanks, we will get back to you soon."),P(F),E({}),C(""),S(!1),A()}catch(e){console.error("Submission error:",e),o.oR.error("Something went wrong! Please refresh the page and try again.")}finally{D(!1)}},G=e=>"w-full px-4 py-3 bg-gray-50 border-2 ".concat(W[e]?"border-red-400":"border-gray-200"," rounded-lg focus:outline-none focus:bg-white focus:border-blue-500 transition-all duration-200 text-gray-800 placeholder-gray-500"),U=e=>e?(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e},className:"inline-block"}):null;return(0,l.jsxs)("div",{className:"font-inter",style:{backgroundColor:f.backgroundColor||"#ffffff",paddingTop:"".concat(f.paddingTop||0,"px"),paddingBottom:"".concat(f.paddingBottom||0,"px"),paddingLeft:"".concat(f.paddingLeft||0,"px"),paddingRight:"".concat(f.paddingRight||0,"px")},id:"contact",children:[!g&&(0,l.jsx)("div",{className:"bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded mb-6 text-center text-sm max-w-2xl mx-auto",children:"\uD83D\uDCA1 Showing demo form. Provide data prop to display your actual form."}),(0,l.jsxs)("div",{className:"container mx-auto px-4 max-w-3xl",children:[(0,l.jsx)("div",{className:"text-center mb-12",children:(0,l.jsx)("h2",{className:"text-4xl font-bold text-gray-800 mb
1-4",children:f.formName})}),(0,l.jsx)("div",{className:"bg-white rounded-2xl shadow-xl p-8 lg:p-12 border border-gray-100",children:(0,l.jsxs)("form",{onSubmit:O,className:"space-y-8",children:[(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[b.map(e=>{let t=(e=>{let t=e.type;return e.name.toLowerCase().includes("email")||e.label.toLowerCase().includes("email")?t="email":(e.name.toLowerCase().includes("phone")||e.label.toLowerCase().includes("phone"))&&(t="tel"),"textarea"===t||"checkbox"===t||"radio"===t||"select"===t})(e);return(0,l.jsx)("div",{className:t?"md:col-span-2":"",children:(e=>{var t,a;if(!e||!e.name)return console.warn("Invalid field detected:",e),null;let r=e.type;e.name.toLowerCase().includes("email")||e.label.toLowerCase().includes("email")?r="email":(e.name.toLowerCase().includes("phone")||e.label.toLowerCase().includes("phone"))&&(r="tel");let s={name:e.name,onChange:z,ref:q[e.name],required:!0===e.required},n=e.label||e.name,o=W[e.name];if(("tel"===r||"phone"===r)&&!1!==e.enableCountryCode)return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("div",{className:"[&_.react-international-phone-country-selector-button]:!h-[52px] [&_.react-international-phone-country-selector-button]:!bg-gray-50 [&_.react-international-phone-country-selector-button]:!border-2  [&_.react-international-phone-input]:!border-gray-300 [&_.react-international-phone-input]:!h-[52px] [&_.react-international-phone-country-selector-button]:!rounded-l-lg [&_.react-international-phone-input]:!rounded-r-lg",children:(0,l.jsx)(c.LR,{defaultCountry:"in",value:R[e.name]||"",onChange:t=>((e,t)=>{P(a=>({...a,[t]:e||""})),E(e=>({...e,[t]:""}))})(t,e.name),placeholder:"Enter your phone number",preferredCountries:e.preferredCountries||["us","gb","ca","au","in"],inputProps:{className:"w-full px-4 py-3 border-2 border-gray-200 bg-gray-50 focus:outline-none text-gray-800 placeholder-gray-500 rounded-r-lg",name:e.name,required:!0===e.required},buttonProps:{className:"bg-gray-50 hover:bg-gray-100 rounded-l-lg px-3 transition-colors"},containerClassName:"w-full"})}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 mt-1 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]});switch(r){case"textarea":return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("textarea",{...s,value:R[e.name]||"",rows:"4",placeholder:"Tell us about your ".concat(n.toLowerCase(),"..."),className:G(e.name)}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 mt-1 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]});case"select":return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsxs)("select",{...s,value:R[e.name]||"",className:"".concat(G(e.name)," appearance-none"),children:[(0,l.jsxs)("option",{value:"",children:["Choose ",n]}),(e.options||[]).map(e=>(0,l.jsx)("option",{value:e.value,children:e.label},e.value))]}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 mt-1 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]});case"checkbox":if(e.options)return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("div",{className:"space-y-3",children:null==(t=e.options)?void 0:t.map((t,a)=>{let r=t.value||t,n=t.label||t,i=t.content||n,c="".concat(e.name,"-").concat(a),d=(R[e.name]||[]).includes(r);return(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"checkbox",id:c,...s,value:r,checked:d,className:"w-4 h-4 border-gray-300 rounded focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-blue-500 focus:ring-blue-500")}),(0,l.jsx)("label",{htmlFor:c,className:"ml-3 text-sm text-gray-700 leading-5",children:U(i)})]},a)})}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 mt-1 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]});return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"checkbox",id:e.name,...s,checked:R[e.name]||!1,className:"w-4 h-4 border-gray-300 rounded focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-blue-500 focus:ring-blue-500")}),(0,l.jsxs)("label",{htmlFor:e.name,className:"ml-3 text-sm text-gray-700 leading-5",children:[e.checkboxLabel||e.label,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]})]}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 mt-1 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]});case"radio":return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("div",{className:"space-y-3",children:null==(a=e.options)?void 0:a.map((t,a)=>{let r=t.value||t,n=t.label||t,i=t.content||n,c="".concat(e.name,"-").concat(a);return(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"radio",id:c,...s,value:r,checked:R[e.name]===r,className:"w-4 h-4 border-gray-300 focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-blue-500 focus:ring-blue-500")}),(0,l.jsx)("label",{htmlFor:c,className:"ml-3 text-sm text-gray-700 leading-5",children:U(i)})]},a)})}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 mt-1 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]});default:return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("input",{...s,type:r,value:R[e.name]||"",placeholder:"email"===r?"[email protected]":"Enter your ".concat(n.toLowerCase()),className:G(e.name)}
1),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 mt-1 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]})}})(e)},e.name)}),(()=>{if(!y)return null;let e=W.captcha;return(0,l.jsx)("div",{className:"md:col-span-2",children:(0,l.jsxs)("div",{className:"bg-gray-50 rounded-lg p-4 border border-gray-200",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-3",children:[(0,l.jsx)("div",{className:"flex-1 bg-gradient-to-r from-blue-500/10 to-purple-500/10 rounded px-4 py-2.5 text-center border border-gray-200",children:(0,l.jsxs)("span",{className:"text-gray-800 text-base font-mono tracking-wider select-none font-semibold",children:[v," = ?"]})}),(0,l.jsx)("button",{type:"button",onClick:I,className:"flex-shrink-0 p-2 rounded-lg bg-gray-100 hover:bg-gray-200 transition-colors text-gray-700","aria-label":"Refresh CAPTCHA",title:"Refresh CAPTCHA",children:(0,l.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{ref:B,type:"text",value:k,onChange:M,placeholder:"Enter your answer",className:"w-full px-4 py-2.5 text-sm border rounded-lg focus:outline-none focus:ring-2 text-gray-800 placeholder-gray-400 transition-all ".concat(L?"border-green-400 focus:ring-green-400 bg-green-50":e?"border-red-400 focus:ring-red-400 bg-red-50":"border-gray-300 focus:ring-blue-500 focus:border-blue-500 bg-white"),style:{borderColor:L?"#4ADE80":e?"#EF4444":void 0},disabled:L}),L&&(0,l.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})]}),e&&!L&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W.captcha.map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 mt-1 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))}),L&&!e&&(0,l.jsx)("p",{className:"text-green-500 text-sm mt-2",children:"✓ CAPTCHA verified successfully"})]})})})()]}),(0,l.jsx)("div",{className:"pt-4",children:(0,l.jsx)("button",{style:{backgroundColor:H||y&&!L?"#9ca3af":f.submitButtonBackgroundColor||"#000000",color:f.submitButtonTextColor||"#ffffff"},disabled:H||y&&!L,type:"submit",className:"w-full py-4 px-8 rounded-xl font-bold text-lg shadow-lg hover:shadow-xl transform hover:scale-105 transition-all duration-200 flex items-center justify-center gap-3 disabled:opacity-60 disabled:cursor-not-allowed disabled:transform-none",children:H?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{className:"animate-spin h-5 w-5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,l.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,l.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4l3-3-3-3v4a8 8 0 00-8 8z"})]}),"Processing..."]}):(0,l.jsxs)(l.Fragment,{children:[f.submitButtonText||"Send Message",(0,l.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",d:"M13 10V3L4 14h7v7l9-11h-7z"})})]})})})]})})]})]})}},39354:(e,t,a)=>{a.d(t,{default:()=>s});var l=a(95155),r=a(97290);function s(e){let{data:t}=e;console.log("data from cards-14",t);let{isFullWidth:a=!1,paddingLeft:s=(null==t?void 0:t.paddingLeft)||10,paddingRight:n=(null==t?void 0:t.paddingRight)||10,paddingTop:o=(null==t?void 0:t.paddingTop)||100,paddingBottom:i=(null==t?void 0:t.paddingBottom)||100,sectionTitle:c=(null==t?void 0:t.sectionTitle)||"<p>Testimonials</p>",backgroundColor:d="#ffffff",textColor:m="#",cards:u=[],numberOfColumns:p=2}=t||{};if(!u||0===u.length)return(0,l.jsx)("section",{className:a?"w-full":"max-w-7xl mx-auto",style:{paddingLeft:"".concat(s,"px"),paddingRight:"".concat(n,"px"),paddingTop:"".concat(o,"px"),paddingBottom:"".concat(i,"px"),backgroundColor:d},children:(0,l.jsx)("div",{className:"max-w-7xl mx-auto text-center py-12",children:(0,l.jsx)("p",{style:{color:m,opacity:.6},children:"No testimonials to display"})})});let x=[],h=Math.ceil(u.length/p);for(let e=0;e<p;e++)x.push(u.slice(e*h,(e+1)*h));return(0,l.jsx)("section",{className:a?"w-full":"max-w-7xl mx-auto",style:{paddingLeft:"".concat(s,"px"),paddingRight:"".concat(n,"px"),paddingTop:"".concat(o,"px"),paddingBottom:"".concat(i,"px"),backgroundColor:d},children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,l.jsx)("div",{className:"text-center mb-12",children:(0,l.jsx)("div",{className:"ProseMirror [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:c}})}),(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)("div",{className:"grid grid-cols-1 ".concat(2===p?"lg:grid-cols-2":"lg:grid-cols-3"," gap-8 lg:gap-12"),children:x.map((e,t)=>(0,l.jsx)("div",{className:"space-y-8",children:e.map((e,t)=>(0,l.jsxs)("div",{className:"flex gap-6 rounded-2xl p-6 transition-all duration-300 hover:shadow-lg",style:{backgroundColor:"transparent"},children:[(0,l.jsx)("div",{className:"flex-shrink-0",children:(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(e.image),alt:e.alt||"Testimonial",className:"w-20 h-20 object-cover"})}),(0,l.jsx)("div",{className:"flex-1 min-w-0",children:(0,l.jsx)("div",{className:"ProseMirror [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 text-sm md:text-base leading-relaxed break-words",dangerouslySetInnerHTML:{__html:e.content}})})]},t))},t))})})]})})}},39498:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(12115);let s={sectionTitle:"<h2>What Our Guests Say</h2><p>Real experiences from real travelers</p>",isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,textColor:"#333333",testimonials:[{name:"Sarah Johnson",category:"Honeymoon Traveler",text:"<p>Absolutely breathtaking experience! The staff went above and beyond to make our anniversary special. The ocean views from our room were spectacular, and the dining options were world-class. We're already planning our return visit.</p>"},{name:"Michael Chen",category:"Business Traveler",text:"<p>This resort exceeded all our expectations. From the moment we arrived, we felt like royalty. The spa treatments were incredibly relaxing, and the private beach was pristine. Highly recommend for anyone seeking a luxury getaway.</p>"},{name:"Emily Rodriguez",category:"Family Vacation",text:"<p>Five stars isn't enough! The attention to detail throughout our stay was impeccable. The infinity pool overlooking the sunset was magical, and the concierge helped us plan perfect day trips. Can't wait to come back!</p>"},{name:"David Thompson",category:"Solo Traveler",text:"<p>A truly unforgettable experience. The room was spacious and beautifully designed, the food was exquisite, and the service was impeccable. The resort's location offers the perfect balance of relaxation and adventure.</p>"}]};function n(e){let{data:t,preview:a=!1}=e,n=a?s:t||{},{isFullWidth:o,sectionTitle:i,paddingTop:c,paddingBottom:d,paddingLeft:m,paddingRight:u,textColor:p,testimonials:x=[]}=n,[h,g]=(0,r.useState)(0),[f,b]=(0,r.useState)(!1);(0,r.useEffect)(()=>
1{if(!x||0===x.length)return void g(0);h>=x.length&&g(0)},[x]),(0,r.useEffect)(()=>{if(x.length<=1)return;let e=setInterval(()=>{y()},5e3);return()=>clearInterval(e)},[x.length,h]);let y=()=>{x.length<=1||(b(!0),setTimeout(()=>{g(e=>e===x.length-1?0:e+1),b(!1)},300))},v=e=>e?"string"==typeof e?(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:e}}):e.html?(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:e.html}}):e.text||e.raw?(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:e.text||e.raw}}):(0,l.jsx)("div",{children:String(e)}):null,w=p?{color:p}:{},j=x[h];return(0,l.jsxs)("div",{className:"".concat(o?"w-full":"max-w-6xl mx-auto"),style:{width:o?"100%":"auto",paddingTop:c?"".concat(c,"px"):"48px",paddingBottom:d?"".concat(d,"px"):"48px",paddingLeft:m?"".concat(m,"px"):"16px",paddingRight:u?"".concat(u,"px"):"16px"},children:[!n&&(0,l.jsx)("div",{className:"bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded mb-4 text-center text-sm",children:"\uD83D\uDCA1 Showing demo testimonials. Provide data prop to display your actual testimonials."}),(0,l.jsx)("div",{className:"text-center text-3xl font-semibold tracking-wide mb-12",style:w,children:v(i)}),(0,l.jsxs)("div",{className:"relative",children:[x.length>0?(0,l.jsxs)("div",{className:"bg-white border border-gray-200 rounded-lg p-8 transition-all duration-300 transform ".concat(f?"opacity-0 scale-95":"opacity-100 scale-100"),children:[(0,l.jsx)("div",{className:"text-lg leading-relaxed mb-8 text-center italic",style:w,children:v(null==j?void 0:j.text)}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("p",{className:"font-semibold text-xl mb-2",style:w,children:null==j?void 0:j.name}),(0,l.jsx)("p",{className:"text-base opacity-80",style:w,children:null==j?void 0:j.category})]})]}):(0,l.jsx)("div",{className:"text-center py-8",style:w,children:"No testimonials available"}),x.length>1&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{onClick:()=>{x.length<=1||(b(!0),setTimeout(()=>{g(e=>0===e?x.length-1:e-1),b(!1)},300))},className:"absolute left-0 top-1/2 transform -translate-y-1/2 -translate-x-4 bg-white rounded-full p-3 shadow-lg hover:bg-gray-50 transition-colors duration-200 border border-gray-200",disabled:f,children:(0,l.jsx)("svg",{className:"w-6 h-6",style:w,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,l.jsx)("button",{onClick:y,className:"absolute right-0 top-1/2 transform -translate-y-1/2 translate-x-4 bg-white rounded-full p-3 shadow-lg hover:bg-gray-50 transition-colors duration-200 border border-gray-200",disabled:f,children:(0,l.jsx)("svg",{className:"w-6 h-6",style:w,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]}),x.length>1&&(0,l.jsx)("div",{className:"flex justify-center mt-8 space-x-2",children:x.map((e,t)=>(0,l.jsx)("button",{onClick:()=>{t!==h&&(b(!0),setTimeout(()=>{g(t),b(!1)},300))},className:"w-3 h-3 rounded-full transition-all duration-300 ".concat(t===h?"scale-125":"opacity-50 hover:opacity-100"),style:{backgroundColor:t===h?p||"#dc2626":p||"#d1d5db",opacity:t===h?1:.5},disabled:f},t))})]})]})}},42233:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155);a(12115);var r=a(48389),s=a(74163);let n={editorContent:'\n    <h2 class="text-3xl font-bold text-gray-800 mb-4">Our Premium Features</h2>\n    <p class="text-gray-600 text-lg">Discover the exceptional amenities and services that make our service apartments the perfect choice for extended stays.</p>\n  ',cards:[{title:"SPACIOUS LIVING",content:"Generously sized apartments with separate living, dining, and sleeping areas for ultimate comfort.",icon:"home"},{title:"MODERN KITCHEN",content:"Fully-equipped kitchens with premium appliances, cookware, and everything you need to prepare meals.",icon:"home"},{title:"DAILY HOUSEKEEPING",content:"Professional cleaning services to maintain your apartment in pristine condition throughout your stay.",icon:"clean"},{title:"FITNESS CENTER",content:"24/7 access to well-equipped fitness facilities with modern exercise equipment and yoga space.",icon:"thumb"},{title:"HIGH-SPEED WIFI",content:"Reliable fiber-optic internet connectivity for seamless work and entertainment experiences.",icon:"star"},{title:"CONCIERGE SERVICE",content:"Dedicated staff available around the clock to assist with reservations, recommendations, and requests.",icon:"doctor"}
1],iconBackgroundColor:"#3b82f6",iconColor:"#ffffff"};function o(e){let{data:t,preview:a=!1}=e,{backgroundColor:o,paddingTop:i,paddingBottom:c,paddingLeft:d,paddingRight:m,isFullWidth:u,numberOfColumns:p=3,titleColor:x,contentColor:h,cardBackgroundColor:g}=(a?n:t||{})||{},f=a?n:t||{},b=(0,s.Rm)(p),y=e=>e||0===e?"number"==typeof e||"string"==typeof e&&/^\d+$/.test(e)?"".concat(e,"px"):e:"20px",v={paddingTop:y(i),paddingBottom:y(c),paddingLeft:y(d),paddingRight:y(m),backgroundColor:o||"#ffffff"};return(0,l.jsx)("div",{className:"w-full",style:v,children:(0,l.jsxs)("div",{className:"mx-auto ".concat(u?"max-w-full":"max-w-6xl"),children:[f.editorContent&&(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:f.editorContent}}),(0,l.jsx)("div",{className:"grid ".concat(b," gap-6 sm:gap-8 lg:gap-12 xl:gap-16"),children:f.cards&&f.cards.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col items-center text-center py-3 rounded-md px-2 sm:px-4",style:{backgroundColor:g||"#ffffff"},children:[(0,l.jsx)("div",{className:"w-24 h-24 flex items-center justify-center mb-5 sm:mb-6",children:(0,l.jsx)("div",{className:"rounded-full p-5 flex items-center justify-center shadow-lg",style:{backgroundColor:f.iconBackgroundColor||"#3b82f6"},children:(0,l.jsx)("span",{className:"text-3xl flex items-center justify-center",style:{color:f.iconColor||"#ffffff"},children:e.icon&&r.A[e.icon]?r.A[e.icon]:Object.values(r.A)[t%Object.keys(r.A).length]})})}),(0,l.jsx)("p",{className:"text-md sm:text-lg md:text-xl font-semibold mb-3 sm:mb-4 uppercase tracking-wide",style:{color:x||"#000000"},children:e.title}),(0,l.jsx)("p",{className:"text-xs sm:text-base md:text-md leading-relaxed max-w-xs sm:max-w-sm md:max-w-md",style:{color:h||"#000000"},children:e.content})]},t))})]})})}},42840:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(12115),s=a(24033);function n(e){let{data:t}=e,[a,n]=(0,r.useState)(null),{isFullWidth:o=!1,backgroundColor:i="#f7f7f7",paddingTop:c=0,paddingBottom:d=0,paddingLeft:m=0,paddingRight:u=0,sectionTitle:p="",cardsBackgroundColor:x="#ffffff",titleColor:h="#000000",contentColor:g="#666666",arrowColor:f="#000000",faqs:b=[],backdropBlur:y=!0,borderRadius:v="rounded-xl",showShadow:w=!0}=t||{},j=b&&b.length>0?b:[],N={backgroundColor:x,borderRadius:"rounded-xl"===v?"0.75rem":"1rem",boxShadow:w?"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)":"none"};return j&&0!==j.length?(0,l.jsx)("section",{className:"relative w-full",style:{backgroundColor:i,paddingTop:"".concat(c,"px"),paddingBottom:"".concat(d,"px"),paddingLeft:"".concat(m,"px"),paddingRight:"".concat(u,"px")},children:(0,l.jsxs)("div",{className:"relative z-10 mx-auto ".concat(o?"w-full":"max-w-7xl"),children:[p&&(0,l.jsx)("div",{className:"mb-10",children:(0,l.jsx)(e=>{let{content:t}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_h2]:text-2xl [&_h2]:md:text-3xl [&_h2]:font-semibold [&_p]:mt-2 [&_p]:text-sm [&_p]:md:text-base [&_p]:max-w-2xl",dangerouslySetInnerHTML:{__html:t}}):null},{content:p})}),(0,l.jsx)("div",{className:"space-y-4",children:j.map((e,t)=>(0,l.jsxs)("div",{className:"".concat(y?"backdrop-blur-lg":""," transition-all duration-300"),style:N,children:[(0,l.jsxs)("button",{onClick:()=>{n(a===t?null:t)},className:"w-full flex items-center justify-between px-6 md:px-8 py-5 md:py-6 text-left text-[16px] md:text-[20px] font-medium transition-all duration-300 hover:opacity-80",children:[(0,l.jsx)("span",{style:{color:h},children:e.title}),(0,l.jsx)(s.A,{size:22,className:"transition-transform duration-300 flex-shrink-0 ml-4 ".concat(a===t?"rotate-180":""),style:{color:f}})]}),(0,l.jsx)("div",{className:"overflow-hidden transition-all duration-300 ease-in-out ".concat(a===t?"max-h-96 opacity-100":"max-h-0 opacity-0"),children:(0,l.jsx)("div",{className:"px-6 md:px-8 pb-5 md:pb-6 pt-0",children:(0,l.jsx)("p",{className:"text-sm md:text-base leading-relaxed",style:{color:g},children:e.content})})})]},t))})]})}):null}},43163:(e,t,a)=>{a.d(t,{default:()=>u});var l=a(95155),r=a(12115),s=a(43897),n=a(97290),o=a(48389);a(15239);var i=a(52619),c=a.n(i),d=a(20063);let m={paddingTop:50,paddingBottom:50,paddingLeft:10,paddingRight:10,isFullWidth:!1,backgroundColor:"#ffffff",numberOfColumns:4,sectionTitle:'<h2 style="text-align: center;"><span style="font-size: 36px;"><strong>
1Built for Every Type of Hospitality Business</strong></span></h2><p></p>',cards:[{image:"landing-page/1779418224881.webp",icon:"housekeeping",iconColor:"#f31616",iconBackgroundColor:"#ffffff",content:'<h3 style="text-align: center;"><strong>Boutique Hotels</strong></h3><p style="text-align: center;"><span style="color: rgb(65, 105, 225);"><strong>Manage effortlessly. Deliver personalized stays.</strong></span></p>',linkText:"",linkUrl:"",openInNewTab:!1},{image:"landing-page/1779418252913.webp",icon:"bed",iconColor:"",iconBackgroundColor:"#ffffff",content:'<h3 style="text-align: center;"><strong>Hotel Chains</strong></h3><p style="text-align: center;"><strong>Centralized control across multiple properties.</strong></p>',linkText:"",linkUrl:"",openInNewTab:!1}]};function u(e){var t,a;let{data:i,preview:u=!1}=e,p=(0,d.useParams)(),x=null==p?void 0:p.brandSlug,h=null==p?void 0:p.website_slug;console.log("cards data",i);let{paddingTop:g=50,paddingBottom:f=50,paddingLeft:b=10,paddingRight:y=10,isFullWidth:v=!1,backgroundColor:w="#ffffff",sectionTitle:j="",numberOfColumns:N=4,cards:k=[]}=(u?m:i)||{},C=e=>!!e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")),_=e=>!!e&&e.startsWith("#"),T="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),L=e=>{let{content:t,className:a=""}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words ".concat(a),dangerouslySetInnerHTML:{__html:t}}):null},S=e=>{let{text:t,url:a,linkColor:r,openInNewTab:n}=e;if(!t||!a)return null;let o=(e=>{if(!e)return"#";if(_(e)||C(e))return e;let t=e.startsWith("/")?e:"/".concat(e);if(T){let e=t.startsWith("/")?t:"/".concat(t);return T?"/".concat(x,"/website/").concat(h).concat(e):e}return t})(a),i=C(o),d=_(o),m={color:r||void 0,textDecoration:"none",display:"inline-flex",alignItems:"center",gap:"0.5rem",fontWeight:"600",fontSize:"14px",transition:"all 0.3s ease",cursor:"pointer"};return d?(0,l.jsxs)("button",{onClick:()=>(0,s.Y)(o.slice(1)),style:m,className:"hover:gap-3 transition-all",children:[t,(0,l.jsx)("span",{className:"text-xl",children:"→"})]}):i?(0,l.jsxs)("a",{href:o,style:m,target:n?"_blank":"_self",rel:"noopener noreferrer",className:"hover:gap-3 transition-all",children:[t,(0,l.jsx)("span",{className:"text-xl",children:"→"})]}):(0,l.jsxs)(c(),{href:o,style:m,className:"hover:gap-3 transition-all",children:[t,(0,l.jsx)("span",{className:"text-xl",children:"→"})]})},B=e=>{let{card:t,index:a}=e,{image:s="",icon:i="hotel",iconColor:c="#ED28B5",iconBackgroundColor:d="#ffffff",content:m="",linkText:u="",linkUrl:p="",linkColor:x="#ED28B5",openInNewTab:h=!1}=t||{},g=o.A[null==i?void 0:i.toLowerCase()],f=s?s.includes("http")?s:"".concat(n.image_url,"/").concat(s):"";return(0,l.jsxs)("div",{className:"group relative bg-white rounded-2xl overflow-hidden border border-gray-100 shadow-sm hover:shadow-lg transition-shadow duration-300",children:[f&&(0,l.jsxs)("div",{className:"relative h-60 overflow-hidden",children:[(0,l.jsx)("img",{src:f,alt:"Card ".concat(a+1),className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-700"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent"})]}),(0,l.jsxs)("div",{className:"relative px-5 pb-6 pt-0 -mt-10 z-10",children:[(0,l.jsx)("div",{className:"w-14 h-14 rounded-2xl bg-white shadow-lg flex items-center justify-center mx-auto",style:{backgroundColor:d},children:(0,l.jsx)("span",{style:{color:c,display:"inline-flex",alignItems:"center",justifyContent:"center"},className:"[&_svg]:!w-7 [&_svg]:!h-7 [&_svg]:!stroke-current",children:(()=>{if(!g)return null;let e={size:28,color:c,style:{color:c}};return"function"==typeof g?(0,l.jsx)(g,{...e}):(0,r.isValidElement)(g)?(0,r.cloneElement)(g,e):g})()})}),(0,l.jsxs)("div",{className:"text-center mt-4",children:[(0,l.jsx)(L,{content:m}),u&&p&&(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(S,{text:u,url:p,linkColor:x,openInNewTab:h})})]})]}),(0,l.jsx)("div",{className:"absolute inset-0 rounded-3xl border-2 border-transparent group-hover:border-pink-500/20 transition-all duration-300 pointer-events-none"})]})};return(0,l.jsx)("section",{className:"w-full overflow-hidden",style:{backgroundColor:w,paddingTop:"".concat(g,"px"),paddingBottom:"".concat(g,"px"),paddingLeft:"".concat(b,"px"),paddingRight:"".concat(y,"px")},children:(0,l.jsxs)("div",{className:"".concat(v?"max-w-full":"max-w-7xl"," mx-auto px-4 md:px-8 lg:px-12"),children:[j&&(0,l.jsxs)("div",{className:"text-center mb-10",children:[(0,l.jsx)(L,{content:j}),(0,l.jsxs)("div",{className:"flex items-center justify-center gap-2 mt-5",children:[(0,l.jsx)("div",{className:"w-6 h-[3px] bg-pink-300 rounded-full"}),(0,l.jsx)("div",{className:"w-12 h-[3px] bg-pink-500 rounded-full"}),(0,l.jsx)("div",{className:"w-6 h-[3px] bg-pink-300 rounded-full"})]})]}),k&&k.length>0&&(0,l.jsx)("div",{className:"grid gap-6 ".concat((e=>{let t={1:"grid-cols-1",2:"grid-cols-1 sm:grid-cols-2",3:"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",4:"grid-cols-1 sm:grid-cols-2 lg:grid-cols-4",5:"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",6:"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6"};return t[e]||t[4]})(N)),children:k.map((e,t)=>(0,l.jsx)(B,{card:e,index:t},t))})]})})}},43897:(e,t,a)=>{a.d(t,{Y:()=>l});let l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start",a=document.getElementById(e);a&&a.scrollIntoView({behavior:"smooth",block:t})}},45258:(e,t,a)=>{a.d(t,{default:()=>i});var l=a(95155);a(15239);var r=a(52619),s=a.n(r),n=a(20063),o=a(97290);function i(e){var t,a;let{data:r}=e,i=(0,n.useParams)(),c=null==i?void 0:i.brandSlug,d=null==i?void 0:i.website_slug,{isFullWidth:m=!1,paddingTop:u=0,paddingBottom:p=0,paddingLeft:x=0,paddingRight:h=0,sectionTitle:g="",leftCardImage:f="",leftCardContent:b="",leftCardBackgroun
1dColor:y="#ffffff",leftCardButtonBackgroundColor:v="#5D8A51",leftCardButtonBorderColor:w="#5D8A51",leftCardButtonTextColor:j="#ffffff",leftCardButtonText:N="Read More",leftCardButtonRoute:k="#",rightCardImage:C="",rightCardContent:_="",rightCardBackgroundColor:T="#ffffff",rightCardButtonBackgroundColor:L="transparent",rightCardButtonBorderColor:S="#7A8B5C",rightCardButtonTextColor:B="#7A8B5C",rightCardButtonText:A="Read More",rightCardButtonRoute:M="#",openInNewTab:I=!1,backgroundColor:F="#f5f5f5",leftCardTitleColor:R="#1F2937",leftCardDescriptionColor:P="#475569",rightCardTitleColor:W="#0F172A",rightCardDescriptionColor:E="#475569",swapSections:H=!1,rightCardImageInBackground:D=!1,cardHeight:q="400px"}=r||{},z=e=>!!e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")),O="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),G=e=>{if(!e)return"#";if(z(e))return e;if(e.startsWith("/")&&O)return O?"/".concat(c,"/website/").concat(d).concat(e):e;return e},U=e=>{let{content:t,className:a=""}=e;return t?(0,l.jsx)("div",{className:"ProseMirror mb-5 break-words overflow-hidden [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words ".concat(a),dangerouslySetInnerHTML:{__html:t}}):null},V=G(k),Y=G(M),K=z(V),J=z(Y),Z={backgroundColor:y},Q={backgroundColor:T},X="number"==typeof q?"".concat(q,"px"):"string"==typeof q?q.endsWith("px")?q:"".concat(parseInt(q)||400,"px"):"400px",$=()=>(0,l.jsxs)("div",{className:"card-height-responsive rounded-r-2xl overflow-hidden flex flex-col md:flex-row shadow-sm",style:{...Z},children:[(0,l.jsxs)("div",{className:"p-6 pt-0 flex flex-col justify-center md:w-[45%] overflow-y-auto",children:[(0,l.jsx)(U,{content:b,className:"[&_h3]:text-[26px] [&_h3]:font-bold [&_h3]:mb-3 [&_h3]:leading-snug [&_h3]:text-[#1F2937] [&_p]:text-[16px] [&_p]:mb-5 [&_p]:leading-relaxed [&_p]:text-[#475569]"}),N&&k&&(K?(0,l.jsx)("a",{href:V,target:I?"_blank":"_self",rel:V.startsWith("http")?"noopener noreferrer":"",className:"w-fit mx-auto font-bold text-sm px-5 py-2 rounded-full transition hover:opacity-90",style:{backgroundColor:v,color:j,border:w?"1px solid ".concat(w):"none"},children:N}):(0,l.jsx)(s(),{href:V,className:"w-fit mx-auto font-bold text-sm px-5 py-2 rounded-full transition hover:opacity-90",style:{backgroundColor:v,color:j,border:w?"1px solid ".concat(w):"none"},children:N}))]}),f&&(0,l.jsx)("div",{className:"relative w-full md:w-[55%] h-48 md:h-auto",children:(0,l.jsx)("img",{src:"".concat(o.image_url,"/").concat(f),alt:"Card image",className:"object-cover w-full h-full"})})]}),ee=()=>{var e,t;return(0,l.jsx)("div",{className:"card-height-responsive rounded-2xl overflow-hidden shadow-sm flex flex-col relative",style:(null==(e=String(D))?void 0:e.replace(/"/g,""))&&C?{backgroundImage:"url(".concat(o.image_url,"/").concat(C,")"),backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}:{...Q},children:(null==(t=String(D))?void 0:t.replace(/"/g,""))&&C?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"absolute inset-0 z-0",style:{background:"linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0) 100%)"}}),(0,l.jsxs)("div",{className:"relative z-10 mt-auto p-5 flex flex-col gap-3",children:[(0,l.jsx)(U,{content:_,className:"[&_h3]:text-[22px] [&_h3]:font-bold [&_h3]:leading-snug [&_h3]:text-white [&_p]:text-[14px] [&_p]:leading-relaxed [&_p]:text-white/90"}),A&&M&&(J?(0,l.jsx)("a",{href:Y,target:I?"_blank":"_self",rel:Y.startsWith("http")?"noopener noreferrer":"",className:"font-bold text-sm px-5 py-3 rounded-full w-full text-center transition hover:opacity-90",style:{backgroundColor:L,color:B,border:S?"2px solid ".concat(S):"none"},children:A}):(0,l.jsx)(s(),{href:Y,className:"font-bold text-sm px-5 py-3 rounded-full w-full text-center transition hover:opacity-90",style:{backgroundColor:L,color:B,border:S?"2px solid ".concat(S):"none"},children:A}))]})]}
1):(0,l.jsxs)(l.Fragment,{children:[C&&(0,l.jsx)("div",{className:"relative w-full h-48 flex-shrink-0",children:(0,l.jsx)("img",{src:"".concat(o.image_url,"/").concat(C),alt:"Card image",className:"object-cover w-full h-full"})}),(0,l.jsxs)("div",{className:"p-6 flex flex-col justify-between flex-1 overflow-y-auto",children:[(0,l.jsx)(U,{content:_,className:"[&_h3]:text-[22px] [&_h3]:font-bold [&_h3]:mb-2 [&_h3]:text-[#0F172A] [&_p]:text-[16px] [&_p]:mb-4 [&_p]:leading-relaxed [&_p]:text-[#475569]"}),A&&M&&(J?(0,l.jsx)("a",{href:Y,target:I?"_blank":"_self",rel:Y.startsWith("http")?"noopener noreferrer":"",className:"font-bold text-xs px-5 py-3 rounded-full w-full text-center transition hover:opacity-90",style:{backgroundColor:L,color:B,border:S?"2px solid ".concat(S):"none"},children:A}):(0,l.jsx)(s(),{href:Y,className:"font-bold text-xs px-5 py-3 rounded-full w-full text-center transition hover:opacity-90",style:{backgroundColor:L,color:B,border:S?"2px solid ".concat(S):"none"},children:A}))]})]})})};return(0,l.jsxs)("section",{className:"w-full",style:{backgroundColor:"#ffffff",paddingTop:"".concat(u,"px"),paddingBottom:"".concat(p,"px"),paddingLeft:"".concat(x,"px"),paddingRight:"".concat(h,"px")},children:[(0,l.jsx)("style",{children:"\n        .card-height-responsive {\n          height: auto !important;\n          min-height: auto !important;\n        }\n        @media (min-width: 768px) {\n          .card-height-responsive {\n            height: ".concat(X," !important;\n            min-height: ").concat(X," !important;\n          }\n        }\n      ")}),(0,l.jsxs)("div",{className:"".concat(m?"w-full px-6 md:px-12 lg:px-20":"max-w-7xl mx-auto px-6 md:px-12 lg:px-20"),children:[g&&(0,l.jsx)("div",{className:"mb-8",children:(0,l.jsx)(U,{content:g,className:"[&_h3]:text-[29px] [&_h3]:font-bold"})}),(0,l.jsx)("div",{className:"grid grid-cols-1 gap-6 ".concat(H?"md:grid-cols-[1fr_2fr]":"md:grid-cols-[2fr_1fr]"),children:H?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ee,{}),(0,l.jsx)($,{})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)($,{}),(0,l.jsx)(ee,{})]})})]})]})}},45646:(e,t,a)=>{a.d(t,{default:()=>d});var l=a(95155),r=a(12115);a(97290);var s=a(30178),n=a(20063),o=a(22663),i=a(35258),c=a(81602);a(30594);let d=e=>{let{data:t,sectionOrder:a,sectionName:d}=e,{brandSlug:m,website_slug:u,landingPageSlug:p}=(0,n.useParams)(),x=(0,n.useRouter)(),h="clients.staystack.encrobytes.com"===window.location.hostname||window.location.hostname.includes("localhost"),g=t&&Object.keys(t).length>0,f=g?t:{formName:"Get In Touch",paddingTop:48,paddingBottom:48,paddingLeft:16,paddingRight:16,backgroundColor:"#ffffff",submitButtonText:"Send Message",submitButtonBackgroundColor:"#000000",submitButtonTextColor:"#ffffff",showCaptcha:!1,formFields:[{name:"first_name",label:"First Name",type:"text",required:!0},{name:"last_name",label:"Last Name",type:"text",required:!0},{name:"email",label:"Email Address",type:"email",required:!0},{name:"phone",label:"Phone Number",type:"phone",required:!0,enableCountryCode:!0,defaultCountry:"us",preferredCountries:["us","gb","ca","au","in"]},{name:"service",label:"Service Interested In",type:"select",options:[{value:"consultation",label:"Consultation"},{value:"booking",label:"Booking"},{value:"support",label:"Support"},{value:"other",label:"Other"}],required:!0},{name:"message",label:"Your Message",type:"textarea",required:!1},{name:"terms",label:"I agree to the terms and conditions",type:"checkbox",required:!0}]},b=f.formFields||[],y=f.showCaptcha||!1,[v,w]=(0,r.useState)(""),[j,N]=(0,r.useState)(0),[k,C]=(0,r.useState)(""),[_,T]=(0,r.useState)(""),[L,S]=(0,r.useState)(!1),B=(0,r.useRef)(null),A=(0,r.useCallback)(()=>{let e,t,a=Math.floor(10*Math.random())+1,l=Math.floor(10*Math.random())+1,r=["+","-","\xd7"];switch(r[Math.floor(Math.random()*r.length)]){case"+":default:e=a+l,t="".concat(a," + ").concat(l);break;case"-":e=a-l,t="".concat(a," - ").concat(l);break;case"\xd7":e=a*l,t="".concat(a," \xd7 ").concat(l)}w(t),N(e),C(""),T(""),S(!1)},[]);(0,r.useEffect)(()=>{y&&A()},[y,A]);let M=e=>{let t=e.target.value;C(t),T(""),S(!1),t&&parseInt(t)===j&&(S(!0),T(""))},I=()=>{A(),C(""),T(""),S(!1),B.current&&B.current.focus()},F=(0,r.useMemo)(()=>b.reduce((e,t)=>
1{if(t&&t.name){let a=t.type;t.name.toLowerCase().includes("email")||t.label.toLowerCase().includes("email")?a="email":(t.name.toLowerCase().includes("phone")||t.label.toLowerCase().includes("phone"))&&(a="tel"),"checkbox"===a&&t.options?e[t.name]=[]:"checkbox"!==a||t.options?e[t.name]="":e[t.name]=!1}return e},{}),[b]),[R,P]=(0,r.useState)(F),[W,E]=(0,r.useState)({}),[H,D]=(0,r.useState)(!1),q=(0,r.useRef)(b.reduce((e,t)=>(t&&t.name&&(e[t.name]=r.createRef()),e),{})).current,z=e=>{let{name:t,value:a,type:l,checked:r}=e.target;if("checkbox"===l){let e=b.find(e=>e.name===t);(null==e?void 0:e.options)?P(e=>({...e,[t]:r?[...e[t]||[],a]:(e[t]||[]).filter(e=>e!==a)})):P(e=>({...e,[t]:r}))}else"radio"===l?P(e=>({...e,[t]:a})):P(e=>({...e,[t]:a}));E(e=>({...e,[t]:""}))},O=async e=>{e.preventDefault();let t=(()=>{let e={};return b.forEach(t=>{if(!t||!t.name)return;let a=R[t.name],l=((e,t)=>{let a=[],l=e.type;if(e.name.toLowerCase().includes("email")||e.label.toLowerCase().includes("email")?l="email":(e.name.toLowerCase().includes("phone")||e.label.toLowerCase().includes("phone"))&&(l="tel"),(null==e?void 0:e.isRequired)===!0&&("checkbox"===l&&e.options?t&&0!==t.length||a.push("".concat(e.label," is required")):"checkbox"!==l||e.options?"radio"===l?t&&""!==t.trim()||a.push("Please select ".concat(e.label.toLowerCase())):(null==t?void 0:t.trim())||a.push("".concat(e.label," is required")):t||a.push("You must accept ".concat(e.label))),"email"===l&&t&&t.trim()&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim())||a.push("Please enter a valid email address")),("tel"===l||"phone"===l)&&t&&t.trim()&&t.replace(/\D/g,"").length<7&&a.push("Please enter a valid phone number with country code"),(e.name.toLowerCase().includes("name")||e.label.toLowerCase().includes("name"))&&t&&t.trim().length<2&&a.push("Please enter a valid name"),(e.name.toLowerCase().includes("message")||e.label.toLowerCase().includes("message"))&&t&&t.trim().length<10&&a.push("Please enter a message with at least 10 characters"),"date"===l&&t){let e=new Date().setHours(0,0,0,0);new Date(t).setHours(0,0,0,0)<e&&a.push("Date cannot be in the past")}return a})(t,a);l.length>0&&(e[t.name]=l)}),y&&!L&&(e.captcha=["Please solve the CAPTCHA"]),e})();if(Object.keys(t).length>0){var l,r,n;E(t);let e=Object.keys(t)[0];"captcha"===e?null==(l=B.current)||l.focus():null==(n=q[e])||null==(r=n.current)||r.focus();return}D(!0);try{let e={body:{formData:{...R},brandSlug:m,formType:f.formType,sectionOrder:a,sectionName:"Form_3",uniqueFormKey:f.uniqueFormKey}};if(u?await (0,i.Y8)({...e,body:{...e.body,websiteSlug:u}}):await (0,s.A7)({...e,body:{...e.body,landingPageSlug:p}}),p)return x.push(h?"/".concat(m,"/landing/").concat(p,"/thankyou"):"/thankyou");o.oR.success("Thanks, we will get back to you soon."),P(F),E({}),C(""),S(!1),A()}catch(e){console.error("Submission error:",e),o.oR.error("Something went wrong! Please refresh the page and try again.")}finally{D(!1)}},G=e=>"w-full px-4 py-3 bg-white border-2 ".concat(W[e]?"border-red-400":"border-gray-200"," rounded-lg focus:outline-none focus:border-blue-500 transition-all duration-200 text-gray-800"),U=e=>e?(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e},className:"inline-block"}):null;return(0,l.jsxs)("div",{className:"font-inter",style:{backgroundColor:f.backgroundColor||"#ffffff",paddingTop:"".concat(f.paddingTop||0,"px"),paddingBottom:"".concat(f.paddingBottom||0,"px"),paddingLeft:"".concat(f.paddingLeft||0,"px"),paddingRight:"".concat(f.paddingRight||0,"px")},id:"contact",children:[!g&&(0,l.jsx)("div",{className:"bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded mb-6 text-center text-sm max-w-2xl mx-auto",children:"\uD83D\uDCA1 Showing demo form. Provide data prop to display your actual form."}),(0,l.jsx)("div",{className:"container mx-auto px-4 max-w-7xl",children:(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)("div",{className:"bg-white rounded-2xl shadow-2xl p-6 lg:p-10 border border-gray-100",children:(0,l.jsxs)("form",{onSubmit:O,className:"space-y-6",children:[(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[b.map(e=>{let t=(e=>{let t=e.type;return e.name.toLowerCase().includes("email")||e.label.toLowerCase().includes("email")?t="email":(e.name.toLowerCase().includes("phone")||e.label.toLowerCase().includes("phone"))&&(t="tel"),"textarea"===t||"checkbox"===t||"radio"===t||"select"===t})(e);return(0,l.jsx)("div",{className:t?"md:col-span-2":"",children:(e=>{var t,a;if(!e||!e.name)return console.warn("Invalid field detected:",e),null;let r=e.type;e.name.toLowerCase().includes("email")||e.label.toLowerCase().includes("email")?r="email":(e.name.toLowerCase().includes("phone")||e.label.toLowerCase().includes("phone"))&&(r="tel");let s={name:e.name,onChange:z,ref:q[e.name],required:!0===e.required},n=e.label||e.name,o=W[e.name];if(("tel"===r||"phone"===r)&&!1!==e.enableCountryCode)return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 uppercase tracking-wider",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("div",{className:"[&_.react-international-phone-country-selector-button]:!h-[52px] [&_.react-international-phone-country-selector-button]:!border-2  [&_.react-international-phone-input]:!border-gray-300 [&_.react-international-phone-input]:!h-[52px] [&_.react-international-phone-country-selector-button]:!rounded-l-lg [&_.react-international-phone-input]:!rounded-r-lg",children:(0,l.jsx)(c.LR,{defaultCountry:"in",value:R[e.name]||"",onChange:t=>((e,t)=>{P(a=>({...a,[t]:e||""})),E(e=>({...e,[t]:""}))})(t,e.name),placeholder:"Enter your phone number",preferredCountries:e.preferredCountries||["us","gb","ca","au","in"],inputProps:{className:"w-full px-4 py-3 bg-white border-2 ".concat(W.phone?"border-red-400":"border-gray-200","  focus:outline-none focus:border-blue-500 transition-all duration-200 text-gray-800"),name:e.name,required:!0===e.required},buttonProps:{className:"border-2 ".concat(o?"border-red-400":"border-gray-200"," bg-white hover:bg-gray-50")},containerClassName:"w-full"})}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]});switch(r){case"textarea":return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 uppercase tracking-wider",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("textarea",{...s,value:R[e.name]||"",rows:"4",placeholder:"Enter your ".concat(n.toLowerCase()),className:G(e.name)}
1),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]});case"select":return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 uppercase tracking-wider",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("select",{...s,value:R[e.name]||"",className:"".concat(G(e.name)," appearance-none pr-10"),children:[(0,l.jsxs)("option",{value:"",children:["Select ",n]}),(e.options||[]).map(e=>(0,l.jsx)("option",{value:e.value,children:e.label},e.value))]}),(0,l.jsx)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-3 text-gray-600",children:(0,l.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",d:"M19 9l-7 7-7-7"})})})]}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]});case"date":return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 uppercase tracking-wider",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("input",{...s,type:"date",value:R[e.name]||"",placeholder:"Select date",className:G(e.name)}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]});case"checkbox":if(e.options)return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 uppercase tracking-wider",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("div",{className:"space-y-3",children:null==(t=e.options)?void 0:t.map((t,a)=>{let r=t.value||t,n=t.label||t,i=t.content||n,c="".concat(e.name,"-").concat(a),d=(R[e.name]||[]).includes(r);return(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"checkbox",id:c,...s,value:r,checked:d,className:"w-4 h-4 border-gray-300 rounded focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-blue-500 focus:ring-blue-500")}),(0,l.jsx)("label",{htmlFor:c,className:"ml-3 text-sm text-gray-700 leading-5",children:U(i)})]},a)})}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]});return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"checkbox",id:e.name,...s,checked:R[e.name]||!1,className:"w-4 h-4 border-gray-300 rounded focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-blue-500 focus:ring-blue-500")}),(0,l.jsxs)("label",{htmlFor:e.name,className:"ml-3 text-sm text-gray-700 leading-5",children:[e.checkboxLabel||e.label,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]})]}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]});case"radio":return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 uppercase tracking-wider",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("div",{className:"space-y-3",children:null==(a=e.options)?void 0:a.map((t,a)=>{let r=t.value||t,n=t.label||t,i=t.content||n,c="".concat(e.name,"-").concat(a);return(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"radio",id:c,...s,value:r,checked:R[e.name]===r,className:"w-4 h-4 border-gray-300 focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-blue-500 focus:ring-blue-500")}),(0,l.jsx)("label",{htmlFor:c,className:"ml-3 text-sm text-gray-700 leading-5",children:U(i)})]},a)})}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]});default:return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-semibold text-gray-700 uppercase tracking-wider",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("input",{...s,type:r,value:R[e.name]||"",placeholder:"email"===r?"[email protected]":"Enter ".concat(n.toLowerCase()),className:G(e.name)}
1),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))})]})}})(e)},e.name)}),(()=>{if(!y)return null;let e=W.captcha;return(0,l.jsx)("div",{className:"md:col-span-2",children:(0,l.jsxs)("div",{className:"bg-gray-50 rounded-lg p-4 border border-gray-200",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-3",children:[(0,l.jsx)("div",{className:"flex-1 bg-gradient-to-r from-blue-500/10 to-purple-500/10 rounded px-4 py-2.5 text-center border border-gray-200",children:(0,l.jsxs)("span",{className:"text-gray-800 text-base font-mono tracking-wider select-none font-semibold",children:[v," = ?"]})}),(0,l.jsx)("button",{type:"button",onClick:I,className:"flex-shrink-0 p-2 rounded-lg bg-gray-100 hover:bg-gray-200 transition-colors text-gray-700","aria-label":"Refresh CAPTCHA",title:"Refresh CAPTCHA",children:(0,l.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{ref:B,type:"text",value:k,onChange:M,placeholder:"Enter your answer",className:"w-full px-4 py-2.5 text-sm border rounded-lg focus:outline-none focus:ring-2 text-gray-800 placeholder-gray-400 transition-all ".concat(L?"border-green-400 focus:ring-green-400 bg-green-50":e?"border-red-400 focus:ring-red-400 bg-red-50":"border-gray-300 focus:ring-blue-500 focus:border-blue-500 bg-white"),style:{borderColor:L?"#4ADE80":e?"#EF4444":void 0},disabled:L}),L&&(0,l.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})]}),e&&!L&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:W.captcha.map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-500 flex items-center gap-1",children:[(0,l.jsx)("span",{children:"⚠"})," ",e]},t))}),L&&!e&&(0,l.jsx)("p",{className:"text-green-500 text-sm mt-2",children:"✓ CAPTCHA verified successfully"})]})})})()]}),(0,l.jsx)("button",{style:{backgroundColor:H||y&&!L?"#9ca3af":f.submitButtonBackgroundColor||"#000000",color:f.submitButtonTextColor||"#ffffff"},disabled:H||y&&!L,type:"submit",className:"w-full py-4 px-6 rounded-xl font-bold text-lg shadow-lg hover:shadow-xl transform hover:-translate-y-0.5 transition-all duration-200 flex items-center justify-center gap-3 disabled:opacity-60 disabled:cursor-not-allowed disabled:transform-none",children:H?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{className:"animate-spin h-5 w-5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,l.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,l.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4l3-3-3-3v4a8 8 0 00-8 8z"})]}),"Sending Message..."]}):(0,l.jsxs)(l.Fragment,{children:[f.submitButtonText||"Send Inquiry",(0,l.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})]})})]})})})})]})}},46268:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(20063),s=a(12115);let n=e=>{let{data:t}=e,a=(0,r.usePathname)(),{accordions:n=[],paddingTop:o=0,paddingBottom:i=0,paddingLeft:c=0,paddingRight:d=0,isFullWidth:m=!1,title:u="Frequently Asked Questions",content:p,isTwoColumn:x=!1}=t||{},h=a.includes("webadmin")?[{title:"What is your return policy?",content:"<p>We offer a 30-day return policy on all unused items with original packaging.</p>"},{title:"How long does shipping take?",content:"<p>Standard shipping takes 3-5 business days. Express shipping is available for next day delivery.</p>"},{title:"Do you offer international shipping?",content:"<p>
1Yes, we ship to over 50 countries worldwide. Shipping costs and times vary by location.</p>"},{title:"How can I track my order?",content:"<p>Once your order ships, you'll receive a tracking number via email to monitor your delivery.</p>"},{title:"What payment methods do you accept?",content:"<p>We accept all major credit cards, PayPal, and bank transfers for your convenience.</p>"},{title:"Do you offer customer support?",content:"<p>Yes, our customer support team is available 24/7 to assist you with any questions or concerns.</p>"}]:[],[g,f]=(0,s.useState)({}),b=n.length>0?n:h;(0,s.useEffect)(()=>{let e={};b.forEach((t,a)=>{e[a]=!1}),f(e)},[b]);let{leftColumn:y,rightColumn:v}=x?(()=>{let e=Math.ceil(b.length/2);return{leftColumn:b.slice(0,e),rightColumn:b.slice(e)}})():{leftColumn:[],rightColumn:[]},w=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=null!==a?a:t;return(0,l.jsxs)("div",{className:"border-b border-gray-200 last:border-b-0",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between cursor-pointer p-5 hover:bg-gray-50 transition-colors duration-200",onClick:()=>{f(e=>{if(e[r])return{...e,[r]:!1};let t={};return Object.keys(e).forEach(e=>{t[e]=!1}),t[r]=!0,t})},children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"w-8 h-8 bg-blue-100 text-blue-600 flex items-center justify-center rounded-md mr-4 font-medium shrink-0",children:r+1}),(0,l.jsx)("h3",{className:"text-sm sm:text-lg font-medium text-gray-800",children:null==e?void 0:e.title})]}),(0,l.jsx)("svg",{className:"w-5 h-5 text-gray-500 transform transition-transform duration-300 ".concat(g[r]?"rotate-180":""),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})]}),(0,l.jsx)("div",{className:"overflow-hidden transition-all duration-300 ease-in-out ".concat(g[r]?"max-h-[fit-content]":"max-h-0"),children:(0,l.jsx)("div",{className:"px-5 pb-5 pt-2 text-gray-600 leading-relaxed [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:null==e?void 0:e.content}})})]},r)};return(0,l.jsxs)("div",{className:"".concat(m?"w-full":"max-w-6xl"," px-4 mx-auto"),style:{paddingTop:"".concat(o,"px"),paddingBottom:"".concat(i,"px"),paddingLeft:m?"0":"".concat(c,"px"),paddingRight:m?"0":"".concat(d,"px"),width:m?"100%":"auto"},children:[p&&(0,l.jsx)("div",{className:"text-gray-600 text-lg leading-relaxed text-center max-w-3xl mb-10 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:p}}),(0,l.jsx)("div",{className:"flex-grow mx-auto",style:{paddingLeft:m?"0":"auto",paddingRight:m?"0":"auto",width:m?"100%":"auto"},children:x?(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[(0,l.jsx)("div",{className:"bg-white rounded-lg shadow-md overflow-hidden",children:y.map((e,t)=>w(e,t,t))}),(0,l.jsx)("div",{className:"bg-white rounded-lg shadow-md overflow-hidden",children:v.map((e,t)=>w(e,t,t+y.length))})]}):(0,l.jsx)("div",{className:"bg-white rounded-lg shadow-md overflow-hidden",children:b.map((e,t)=>w(e,t))})})]})}},46828:(e,t,a)=>{a.d(t,{default:()=>m});var l=a(95155),r=a(96052),s=a(23664),n=a(52619),o=a.n(n),i=a(20063),c=a(97290);let d={isFullWidth:!1,paddingTop:80,paddingBottom:80,paddingLeft:0,paddingRight:0,backgroundColor:"#f5f5f3",leftTitle:"Welcome to Luxury Resort",leftImage:"https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",imageWidth:400,rightContent:"<h2>Experience Unparalleled Luxury</h2><p>Nestled along pristine shores, our resort offers a perfect blend of natural beauty and modern sophistication. Each detail has been carefully crafted to provide you with an unforgettable stay.</p><p>From our award-winning spa to our Michelin-starred restaurants, every moment at our resort is designed to exceed your expectations.</p>",email:"[email protected]",phone:"+1 (888) 123-4567"};function m(e){var t,a;let{data:n,preview:m=!1}=e,u=(0,i.useParams)(),p=null==u?void 0:u.brandSlug,x=null==u?void 0:u.website_slug,{isFullWidth:h=!1,paddingTop:g=0,paddingBottom:f=0,paddingLeft:b=0,paddingRight:y=0,backgroundColor:v="#ffffff",leftTitle:w="",leftImage:j="",imageWidth:N=120,rightContent:k="",email:C="",phone:_="",buttonText:T="",buttonUrl:L="#",buttonBackgroun
1dColor:S="#6b7e55",buttonTextColor:B="#ffffff",openInNewTab:A=!1,cardBackgroundColor:M="#f9fafb",borderColor:I="#e5e7eb",titleColor:F="#4a5e3a",textColor:R="#6b7280"}=(m?d:n)||{},P=e=>!!e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")),W="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),E=(e=>{if(!e)return"#";if(P(e))return e;if(e.startsWith("/")&&W)return W?"/".concat(p,"/website/").concat(x).concat(e):e;return e})(L),H=P(E),D={backgroundColor:M,borderColor:I};return(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:v,paddingTop:"".concat(g,"px"),paddingBottom:"".concat(f,"px"),paddingLeft:"".concat(b,"px"),paddingRight:"".concat(y,"px")},children:(0,l.jsx)("div",{className:"".concat(h?"w-full px-6":"max-w-6xl mx-auto px-6"),children:(0,l.jsxs)("div",{className:"rounded-2xl shadow-sm p-10 grid grid-cols-1 md:grid-cols-2 gap-12 items-center border",style:D,children:[(0,l.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,l.jsx)("h2",{className:"text-2xl font-semibold mb-6",style:{color:F},children:w}),(0,l.jsxs)("div",{className:"rounded-2xl shadow-sm border px-12 py-10 flex flex-col items-center gap-6 w-full max-w-sm",style:D,children:[j&&(0,l.jsx)("div",{className:"flex flex-col items-center",children:(0,l.jsx)("img",{src:j.includes("http")?j:"".concat(c.image_url,"/").concat(j),alt:w,style:{width:"".concat(N,"px"),height:"auto"},className:"object-contain"})}),(0,l.jsx)("p",{className:"text-base font-medium",style:{color:R},children:w})]})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-5",children:[k&&(0,l.jsx)(e=>{let{content:t,className:a=""}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden  [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words ".concat(a),dangerouslySetInnerHTML:{__html:t}}):null},{content:k,className:"[&_h2]:text-2xl [&_h2]:font-semibold [&_h2]:text-gray-800 [&_p]:text-gray-600 [&_p]:text-base [&_p]:leading-relaxed [&_p]:mb-1"}),(_||C)&&(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-6 text-base mt-2",children:[_&&(0,l.jsxs)("a",{href:"tel:".concat(_),className:"flex items-center gap-2 transition-colors",style:{color:R},onMouseEnter:e=>e.currentTarget.style.color=S,onMouseLeave:e=>e.currentTarget.style.color=R,children:[(0,l.jsx)(r.A,{className:"w-5 h-5",strokeWidth:1.5}),(0,l.jsx)("span",{children:_})]}),C&&(0,l.jsxs)("a",{href:"mailto:".concat(C),className:"flex items-center gap-2 transition-colors",style:{color:R},onMouseEnter:e=>e.currentTarget.style.color=S,onMouseLeave:e=>e.currentTarget.style.color=R,children:[(0,l.jsx)(s.A,{className:"w-5 h-5",strokeWidth:1.5}),(0,l.jsx)("span",{children:C})]})]}),T&&L&&(H?(0,l.jsx)("a",{href:E,target:A?"_blank":"_self",rel:E.startsWith("http")?"noopener noreferrer":"",className:"mt-4 w-full font-semibold text-base py-4 px-8 rounded-md transition-colors duration-200 text-center",style:{backgroundColor:S,color:B},onMouseEnter:e=>e.currentTarget.style.opacity="0.9",onMouseLeave:e=>e.currentTarget.style.opacity="1",children:T}):(0,l.jsx)(o(),{href:E,className:"mt-4 w-full font-semibold text-base py-4 px-8 rounded-md transition-colors duration-200 text-center",style:{backgroundColor:S,color:B},onMouseEnter:e=>e.currentTarget.style.opacity="0.9",onMouseLeave:e=>e.currentTarget.style.opacity="1",children:T}))]})]})})})}},47859:(e,t,a)=>{a.d(t,{default:()=>s});var l=a(95155);a(15239);var r=a(97290);function s(e){let{data:t}=e,{isFullWidth:a=!1,backgroundColor:s="#f3f4f6",paddingTop:n=0,paddingBottom:o=0,paddingLeft:i=0,paddingRight:c=0,imageBackgroundColor:d="#7A8B5C",cards:m=[],gap:u=60,reverse:p=!1}=t||{},x=e=>{let{content:t}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_h3]:lg:text-[40px] [&_h3]:text-[32px] [&_h3]:text-black [&_h3]:mb-3 [&_h3]:font-bold [&_p]:text-black [&_p]:text-[18px] [&_p]:mb-4 [&_p]:leading-relaxed [&_ul]:space-y-2 [&_ul]:list-none [&_ul]:p-0 [&_li]:flex [&_li]:items-start [&_li]:gap-2 [&_li]:text-black [&_li]:text-[18px] [&_li]:mb-2 [&_li:before]:content-['✓'] [&_li:before]:text-[#7A8B5C] [&_li:before]:mt-1 [&_li:before]:flex-shrink-0",dangerouslySetInnerHTML:{__html:t}}):null};return m&&0!==m.length?(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:s,paddingTop:"".concat(n,"px"),paddingBottom:"".concat(o,"px"),paddingLeft:"".concat(i,"px"),paddingRight:"".concat(c,"px")}
1,children:(0,l.jsx)("div",{className:"space-y-15 sm:space-y-35",children:m.map((e,t)=>{let s=e.image,n=void 0!==e.reverse?e.reverse:t%2==1||p;return(0,l.jsx)("div",{className:"".concat(a?"max-w-full":"max-w-7xl"," mx-auto"),children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-2 gap-15 items-center ".concat(n?"lg:[&>*:first-child]:order-2 lg:[&>*:last-child]:order-1":""),children:[(0,l.jsxs)("div",{className:"relative w-full max-w-2xl mx-auto",children:[(0,l.jsx)("div",{className:"absolute -top-6 -left-6 w-[70%] h-[90%] z-0",style:{backgroundColor:d}}),(0,l.jsx)("div",{className:"relative z-10",children:s&&(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(s),alt:e.title||"Accommodation",className:"w-full h-[220px] sm:h-[420px] object-cover shadow-xl"})}),(0,l.jsx)("div",{className:"absolute -bottom-6 sm:-right-6 w-[70%] h-[90%] z-0",style:{backgroundColor:d}})]}),(0,l.jsx)("div",{children:(0,l.jsx)(x,{content:e.content})})]})},t)})})}):null}},48389:(e,t,a)=>{a.d(t,{A:()=>w});var l=a(95155),r=a(74233),s=a(57830),n=a(33828),o=a(70898),i=a(42878),c=a(6092),d=a(50742),m=a(34311),u=a(92253),p=a(53380),x=a(9577),h=a(28122),g=a(47063),f=a(35200),b=a(42018),y=a(16052),v=a(46079);let w={home:(0,l.jsx)(r.f4i,{},"home"),thumb:(0,l.jsx)(s.s5s,{},"thumb"),shield:(0,l.jsx)(o.SMR,{},"shield"),doctor:(0,l.jsx)(o.ifA,{},"doctor"),hospital:(0,l.jsx)(o.ISI,{},"hospital"),clean:(0,l.jsx)(o.Vuj,{},"clean"),star:(0,l.jsx)(o.gt3,{},"star"),bed:(0,l.jsx)(o.TiC,{},"bed"),wifi:(0,l.jsx)(c.pns,{},"wifi"),air_tv:(0,l.jsx)(o.cap,{},"air_tv"),kitchen:(0,l.jsx)(s.oX0,{},"kitchen"),housekeeping:(0,l.jsx)(s.xbI,{},"housekeeping"),security:(0,l.jsx)(s.Ueo,{},"security"),parking:(0,l.jsx)(s.NOB,{},"parking"),power:(0,l.jsx)(s.pSF,{},"power"),service:(0,l.jsx)(o.pXu,{},"service"),private:(0,l.jsx)(o.JhU,{},"private"),menu:(0,l.jsx)(s.vIB,{},"menu"),close:(0,l.jsx)(s.m6K,{},"close"),hamburger:(0,l.jsx)(u.Jtp,{},"hamburger"),cancel:(0,l.jsx)(u.r8o,{},"cancel"),settings:(0,l.jsx)(s.hgV,{},"settings"),settings_alt:(0,l.jsx)(u.$Rp,{},"settings_alt"),dashboard:(0,l.jsx)(s.Uhn,{},"dashboard"),arrow_right:(0,l.jsx)(o.Z0P,{},"arrow_right"),arrow_left:(0,l.jsx)(o.QVr,{},"arrow_left"),arrow_up:(0,l.jsx)(o.uCC,{},"arrow_up"),arrow_down:(0,l.jsx)(o.$TP,{},"arrow_down"),arrow_right_circle:(0,l.jsx)(c.CVi,{},"arrow_right_circle"),arrow_left_circle:(0,l.jsx)(c.DcO,{},"arrow_left_circle"),arrow_up_circle:(0,l.jsx)(c.JpO,{},"arrow_up_circle"),arrow_down_circle:(0,l.jsx)(c.Q6x,{},"arrow_down_circle"),plus:(0,l.jsx)(o.OiG,{},"plus"),minus:(0,l.jsx)(o.iu5,{},"minus"),plus_circle:(0,l.jsx)(c.b0y,{},"plus_circle"),minus_circle:(0,l.jsx)(c.fG7,{},"minus_circle"),user:(0,l.jsx)(o.x$1,{},"user"),user_fill:(0,l.jsx)(c.kSq,{},"user_fill"),user_plus:(0,l.jsx)(o.NPy,{},"user_plus"),user_minus:(0,l.jsx)(o.Dby,{},"user_minus"),users:(0,l.jsx)(o.YXz,{},"users"),person:(0,l.jsx)(s.LTk,{},"person"),person_alt:(0,l.jsx)(r.DO6,{},"person_alt"),sign_in:(0,l.jsx)(o.Zu,{},"sign_in"),sign_out:(0,l.jsx)(o.axc,{},"sign_out"),lock:(0,l.jsx)(o.JhU,{},"lock"),unlock:(0,l.jsx)(o.YVu,{},"unlock"),lock_fill:(0,l.jsx)(c.imw,{},"lock_fill"),unlock_fill:(0,l.jsx)(c.NZD,{},"unlock_fill"),bell:(0,l.jsx)(o.jNV,{},"bell"),bell_fill:(0,l.jsx)(c.Czi,{},"bell_fill"),notifications:(0,l.jsx)(s.I5v,{},"notifications"),notifications_alt:(0,l.jsx)(r.YWQ,{},"notifications_alt"),envelope:(0,l.jsx)(o.maD,{},"envelope"),envelope_fill:(0,l.jsx)(c.fe,{},"envelope_fill"),email:(0,l.jsx)(s.mm2,{},"email"),mail:(0,l.jsx)(r.lSi,{},"mail"),phone:(0,l.jsx)(o.Cab,{},"phone"),phone_fill:(0,l.jsx)(c.NnP,{},"phone_fill"),chat:(0,l.jsx)(s.qHX,{},"chat"),chatboxes:(0,l.jsx)(r.vHA,{},"chatboxes"),chat_fill:(0,l.jsx)(c.Zki,{},"chat_fill"),comment:(0,l.jsx)(o.j1Q,{},"comment"),share:(0,l.jsx)(o.Zzu,{},"share"),share_fill:(0,l.jsx)(c.MX,{},"share_fill"),paperclip:(0,l.jsx)(o.EHs,{},"paperclip"),paper_plane:(0,l.jsx)(o.Cer,{},"paper_plane"),camera:(0,l.jsx)(o.p5B,{},"camera"),camera_fill:(0,l.jsx)(c.cJ,{},"camera_fill"),video:(0,l.jsx)(o.HiP,{},"video"),videocam:(0,l.jsx)(s.S5m,{},"videocam"),video_alt:(0,l.jsx)(r.a4l,{},"video_alt"),mic:(0,l.jsx)(s.NjB,{},"mic"),mic_alt:(0,l.jsx)(r.xO7,{},"mic_alt"),volume_up:(0,l.jsx)(s.guq,{},"volume_up"),volume_off:(0,l.jsx)(s.FFb,{},"volume_off"),play:(0,l.jsx)(s.XKH,{},"play"),pause:(0,l.jsx)(s.QG6,{},"pause"),stop:(0,l.jsx)(s.eGh,{},"stop"),skip_next:(0,l.jsx)(s.ivF,{},"skip_next"),skip_previous:(0,l.jsx)(s.wM5,{},"skip_previous"),play_circle:(0,l.jsx)(c.ZiI,{},"play_circle"),pause_circle:(0,l.jsx)(c.LXE,{},"pause_circle"),stop_circle:(0,l.jsx)(c.Jpk,{},"stop_circle"),music:(0,l.jsx)(o.BHn,{},"music"),image:(0,l.jsx)(o.dkL,{},"image"),file:(0,l.jsx)(o.Gp9,{},"file"),folder:(0,l.jsx)(o.M1W,{},"folder"),cloud:(0,l.jsx)(s.dE0,{},"cloud"),cloud_upload:(0,l.jsx)(s.E10,{},"cloud_upload"),cloud_download:(0,l.jsx)(s.$no,{},"cloud_download"),download:(0,l.jsx)(o.WCW,{},"download"),upload:(0,l.jsx)(o.HVe,{},"upload"),download_alt:(0,l.jsx)(r.QkS,{},"download_alt"),map_marker:(0,l.jsx)(o.vq8,{},"map_marker"),geo_alt:(0,l.jsx)(c.xBA,{},"geo_alt"),map:(0,l.jsx)(d.kMs,{},"map"),calendar:(0,l.jsx)(o.itz,{},"calendar"),calendar_fill:(0,l.jsx)(c.p8J,{},"calendar_fill"),clock:(0,l.jsx)(o.w_X,{}
1,"clock"),clock_fill:(0,l.jsx)(c.D7y,{},"clock_fill"),time:(0,l.jsx)(d.FOv,{},"time"),alarm_clock:(0,l.jsx)(u.MDJ,{},"alarm_clock"),search:(0,l.jsx)(o.KSO,{},"search"),search_alt:(0,l.jsx)(s.gZ7,{},"search_alt"),filter:(0,l.jsx)(s.uJN,{},"filter"),sort:(0,l.jsx)(s.SEk,{},"sort"),edit:(0,l.jsx)(o.uO9,{},"edit"),edit_fill:(0,l.jsx)(c.Ek,{},"edit_fill"),trash:(0,l.jsx)(o.qbC,{},"trash"),trash_fill:(0,l.jsx)(c.lam,{},"trash_fill"),trash_alt:(0,l.jsx)(r.YHc,{},"trash_alt"),thumbs_up:(0,l.jsx)(o.gb0,{},"thumbs_up"),thumbs_down:(0,l.jsx)(o.b7w,{},"thumbs_down"),thumbs_up_fill:(0,l.jsx)(c.C1M,{},"thumbs_up_fill"),thumbs_down_fill:(0,l.jsx)(c.FTR,{},"thumbs_down_fill"),heart:(0,l.jsx)(o.Mbv,{},"heart"),heart_fill:(0,l.jsx)(c.z8S,{},"heart_fill"),heart_alt:(0,l.jsx)(r.EMD,{},"heart_alt"),star_fill:(0,l.jsx)(m.uDe,{},"star_fill"),star_alt:(0,l.jsx)(r.Q2Z,{},"star_alt"),bookmark:(0,l.jsx)(r.WbZ,{},"bookmark"),flag:(0,l.jsx)(r.slM,{},"flag"),check:(0,l.jsx)(o.CMH,{},"check"),check_circle:(0,l.jsx)(s.mU9,{},"check_circle"),check_circle_fill:(0,l.jsx)(c.HU4,{},"check_circle_fill"),times:(0,l.jsx)(o.QCr,{},"times"),times_circle:(0,l.jsx)(c.Fl6,{},"times_circle"),exclamation:(0,l.jsx)(o.hUO,{},"exclamation"),exclamation_circle:(0,l.jsx)(c.K7f,{},"exclamation_circle"),question:(0,l.jsx)(o.qQC,{},"question"),question_circle:(0,l.jsx)(c.Blb,{},"question_circle"),info:(0,l.jsx)(o.__w,{},"info"),info_alt:(0,l.jsx)(s.MJW,{},"info_alt"),info_circle:(0,l.jsx)(c.hzY,{},"info_circle"),warning:(0,l.jsx)(s.Wux,{},"warning"),error:(0,l.jsx)(s._Jm,{},"error"),cart:(0,l.jsx)(o.AsH,{},"cart"),cart_fill:(0,l.jsx)(c.b$W,{},"cart_fill"),tag:(0,l.jsx)(o.wJQ,{},"tag"),tag_fill:(0,l.jsx)(c.b_M,{},"tag_fill"),globe:(0,l.jsx)(o.f35,{},"globe"),globe_alt:(0,l.jsx)(c.JpK,{},"globe_alt"),link:(0,l.jsx)(o.AnD,{},"link"),link_alt:(0,l.jsx)(c.o4q,{},"link_alt"),building:(0,l.jsx)(o.ymh,{},"building"),car:(0,l.jsx)(o.Y4E,{},"car"),plane:(0,l.jsx)(o.wmg,{},"plane"),bus:(0,l.jsx)(o.K9k,{},"bus"),bicycle:(0,l.jsx)(o.nbq,{},"bicycle"),rocket:(0,l.jsx)(o.uoG,{},"rocket"),eye:(0,l.jsx)(o.Ny1,{},"eye"),eye_slash:(0,l.jsx)(o.mx3,{},"eye_slash"),eye_fill:(0,l.jsx)(m.zgv,{},"eye_fill"),eye_invisible:(0,l.jsx)(m.cqH,{},"eye_invisible"),credit_card:(0,l.jsx)(o.xM0,{},"credit_card"),file_invoice:(0,l.jsx)(o.TlC,{},"file_invoice"),bank:(0,l.jsx)(d.blL,{},"bank"),package_open:(0,l.jsx)(p.cQQ,{},"package_open"),package:(0,l.jsx)(p.KZv,{},"package"),delivery_truck:(0,l.jsx)(x.wXW,{},"delivery_truck"),refresh_ccw:(0,l.jsx)(h.wO2,{},"refresh_ccw"),sync:(0,l.jsx)(g.Oar,{},"sync"),cut:(0,l.jsx)(i.rm_,{},"cut"),pin:(0,l.jsx)(f.jHN,{},"pin"),trending_up:(0,l.jsx)(b.AUr,{},"trending_up"),trending_down:(0,l.jsx)(s.Rod,{},"trending_down"),chart_pie:(0,l.jsx)(b.lFV,{},"chart_pie"),laptop_code:(0,l.jsx)(o.tut,{},"laptop_code"),laptop:(0,l.jsx)(u.Hvg,{},"laptop"),desktop:(0,l.jsx)(i.H2e,{},"desktop"),screenshot:(0,l.jsx)(s.Ann,{},"screenshot"),developer_mode:(0,l.jsx)(s.zTO,{},"developer_mode"),database_add:(0,l.jsx)(c.zrq,{},"database_add"),compass:(0,l.jsx)(y.saR,{},"compass"),finish_line:(0,l.jsx)(u.WK0,{},"finish_line"),shuffle:(0,l.jsx)(n.xAZ,{},"shuffle"),published_changes:(0,l.jsx)(s.Lbb,{},"published_changes"),unpublished:(0,l.jsx)(s.z90,{},"unpublished"),key_alt:(0,l.jsx)(o.pXu,{},"key_alt"),verified_filled:(0,l.jsx)(v.JT$,{},"verified_filled"),id_card:(0,l.jsx)(o.AWX,{},"id_card"),money_stack:(0,l.jsx)(u.FA6,{},"money_stack")}},49575:(e,t,a)=>{a.d(t,{default:()=>c});var l=a(95155);a(15239);var r=a(52619),s=a.n(r),n=a(20063),o=a(97290);let i={isFullWidth:!1,backgroundColor:"#f5f5f3",paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,leftContent:"<p>DISCOVER OUR STORY</p><h2>Experience Luxury<br>Like Never Before</h2><p>Immerse yourself in unparalleled comfort and breathtaking views. Our resort offers the perfect blend of modern amenities and natural beauty, creating memories that last a lifetime.</p>",buttonText:"DISCOVER WHY",buttonUrl:"/experiences",buttonBackgroundColor:"#7c925a",buttonTextColor:"#ffffff",rightImage:"https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80",rightTitle:"Award Winning Resort",rightContent:"Best Luxury Hotel 2024",openInNewTab:!1};function c(e){var t,a;let{data:r,preview:c=!1}=e,d=(0,n.useParams)(),m=null==d?void 0:d.brandSlug,u=null==d?void 0:d.website_slug,{isFullWidth:p=!1,backgroundColor:x="#f5f5f3",paddingTop:h=100,paddingBottom:g=100,paddingLeft:f=0,paddingRight:b=0,leftContent:y="",buttonText:v="DISCOVER WHY",buttonUrl:w="#",buttonBackgroun
1dColor:j="#7c925a",buttonTextColor:N="#ffffff",rightImage:k="",rightTitle:C="",rightContent:_="",openInNewTab:T=!1}=(c?i:r||{})||{},L=e=>!!e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")),S="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),B=(e=>{if(!e)return"#";if(L(e))return e;if(e.startsWith("/")&&S)return S?"/".concat(m,"/website/").concat(u).concat(e):e;return e})(w),A=L(B);return k?(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:x,paddingTop:"".concat(h,"px"),paddingBottom:"".concat(g,"px"),paddingLeft:"".concat(f,"px"),paddingRight:"".concat(b,"px")},children:(0,l.jsxs)("div",{className:"".concat(p?"max-w-full px-6 md:px-16":"max-w-7xl mx-auto px-6 md:px-16"," grid lg:grid-cols-2 gap-12 items-center"),children:[(0,l.jsxs)("div",{children:[y&&(0,l.jsx)(e=>{let{content:t,className:a=""}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden  [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words ".concat(a),dangerouslySetInnerHTML:{__html:t}}):null},{content:y,className:"[&_p:first-child]:text-xs [&_p:first-child]:font-bold [&_p:first-child]:tracking-widest [&_p:first-child]:text-[#556B2F] [&_p:first-child]:uppercase [&_p:first-child]:mb-4 [&_h2]:text-3xl [&_h2]:md:text-[48px] [&_h2]:text-[#333333] [&_h2]:leading-tight [&_h2]:mb-6 [&_h2]:whitespace-pre-line [&_p:not(:first-child)]:text-[#4B5563] [&_p:not(:first-child)]:text-[18px] [&_p:not(:first-child)]:leading-relaxed [&_p:not(:first-child)]:mb-8 [&_p:not(:first-child)]:max-w-md"}),v&&w&&(A?(0,l.jsx)("a",{href:B,target:T?"_blank":"_self",rel:B.startsWith("http")?"noopener noreferrer":"",className:"inline-block text-sm px-6 py-3 rounded-lg shadow-sm hover:opacity-90 transition",style:{backgroundColor:j,color:N},children:v}):(0,l.jsx)(s(),{href:B,className:"inline-block text-sm px-6 py-3 rounded-lg shadow-sm hover:opacity-90 transition",style:{backgroundColor:j,color:N},children:v}))]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("div",{className:"relative w-full h-[400px] md:h-[500px]",children:(0,l.jsx)("img",{src:k.includes("http")?k:"".concat(o.image_url,"/").concat(k),alt:"section image",className:"object-cover w-full h-full shadow-2xl"})}),(C||_)&&(0,l.jsxs)("div",{className:"absolute bottom-8 left-8 bg-white/90 backdrop-blur-md px-6 sm:px-7 py-5 sm:py-10 shadow-md max-w-xs",children:[C&&(0,l.jsx)("p",{className:"text-[20px] font-medium text-[#333333] mb-3",children:C}),_&&(0,l.jsx)("p",{className:"text-xs tracking-widest font-medium text-[#6B7280] uppercase",children:_}),(0,l.jsx)("hr",{className:"w-[40%] mt-4 border-t-2 border-[#556B2F]"})]})]})]})}):null}},50060:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(97290);a(12115);let s={height:100,image:"luxury-hotel-bg.jpg",backgroundColor:"#f5f5f5",showOverlay:!0,content:"<h1 style='font-size: 48px; font-weight: bold; margin-bottom: 20px; color: #1a1a1a;'>Welcome to <span style='color: #c8a24c;'>Luxury Stay</span></h1><p style='font-size: 18px; line-height: 1.6; margin-bottom: 16px; color: #4a4a4a;'>Experience unparalleled comfort and world-class hospitality at our premium hotel.</p><p style='font-size: 16px; line-height: 1.5; color: #666;'>✓ 5-Star Amenities<br/>✓ Prime Location<br/>✓ 24/7 Concierge Service<br/>✓ Complimentary Breakfast</p>",contentImage:"hotel-lobby-image.jpg",contentImageAltText:"Luxury hotel lobby with elegant chandelier",contentImageWidth:45,contentImagePosition:"left",isFullWidth:!1,paddingTop:60,paddingBottom:60,paddingLeft:24,paddingRight:24},n=e=>{let{data:t,loading:a=!1,className:n="",preview:o=!1}=e,i="https://images.unsplash.com/photo-1618773928121-c32242e63f39?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8aG90ZWx8ZW58MHx8MHx8fDA%3D&fm=jpg&q=60&w=3000",{image:c=i,altText:d="Banner background image",content:m="",backgroundColor:u="transparent",overlayColor:p="rgba(0,0,0,0.5)",showOverlay:x=!0,isFullWidth:h=!1,paddingTop:g=0,paddingBottom:f=0,paddingLeft:b=0,paddingRight:y=0,contentImage:v="",contentImageAltText:w="",contentImagePosition:j="left",contentImageWidth:N=50,height:k}=(o?s:t)||{},C=c?"".concat(r.image_url,"/").concat(c):i,_=c||C!==i,T=v?"".concat(r.image_url,"/").concat(v):"",L=v&&""!==v.trim(),S=Math.min(100,Math.max(1,N));return a?(0,l.jsx)("section",{className:"relative w-full min-h-[calc(100vh-500px)] md:min-
1h-[calc(100vh-80px)] bg-gray-200 animate-pulse ".concat(n),"aria-label":"Loading banner",children:(0,l.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,l.jsx)("div",{className:"text-gray-500",children:"Loading..."})})}):(0,l.jsxs)("section",{className:"relative w-full flex items-center bg-cover bg-center bg-no-repeat ".concat(n," ").concat(h?"":"container mx-auto"),style:{backgroundImage:_?"url(".concat(C,")"):"none",backgroundColor:u,paddingTop:"".concat(g,"px"),paddingBottom:"".concat(f,"px"),paddingLeft:"".concat(b,"px"),paddingRight:"".concat(y,"px"),height:k?"".concat(k,"vh"):"100vh"},role:"banner","aria-label":d,children:[x&&p&&(0,l.jsx)("div",{className:"absolute inset-0",style:{backgroundColor:p,opacity:.6},"aria-hidden":"true"}),(m||L)&&(0,l.jsxs)("div",{className:"relative flex items-center justify-start md:px-25 z-10 h-full w-full ".concat(_?"py-5":"py-2"," ").concat(L?"right"===j?"flex-row-reverse":"flex-row":""),children:[L&&(0,l.jsx)("div",{className:"flex-shrink-0 ".concat(m?"px-4":""),style:{width:"".concat(S,"%")},children:(0,l.jsx)("img",{src:o?i:T,alt:w||"Content image",className:"max-w-full h-auto object-contain",loading:"lazy"})}),m&&(0,l.jsx)("div",{className:L?"flex-shrink-0 px-4":"w-full",style:L?{width:"".concat(100-S,"%")}:{},children:(0,l.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:m}})})]})]})}},50396:(e,t,a)=>{a.d(t,{default:()=>m});var l=a(95155),r=a(43897),s=a(97290);a(15239);var n=a(52619),o=a.n(n),i=a(20063),c=a(6092);let d={isFullWidth:!1,paddingTop:80,paddingBottom:80,paddingLeft:24,paddingRight:24,leftLabel:"Premium Quality",leftLabelColor:"#69AF4B",leftLabelBackgroundColor:"#69af4b86",leftTitle:"<h1 style='margin: 0 0 16px 0; font-size: 42px; font-weight: bold; color: #1a1a1a;'>Build Your Dream <span style='color: #69AF4B;'>Website</span> Today</h1>",leftContent:"<p style='margin: 0 0 24px 0; font-size: 18px; color: #4a4a4a; line-height: 1.6;'>Create stunning, responsive websites with our powerful platform. No coding required, just drag and drop to bring your vision to life.</p>",leftButton1Text:"Get Started",leftButton1Route:"/get-started",leftButton1TextColor:"#ffffff",leftButton1BackgroundColor:"#7A8B5C",leftButton2Text:"Learn More",leftButton2Route:"/learn-more",leftButton2TextColor:"#000000",leftButton2Backgroun
1dColor:"#ffffff",buttonFontSize:16,buttonHeight:14,buttonWidth:28,rightImage:"https://plus.unsplash.com/premium_photo-1684175656320-5c3f701c082c?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"};function m(e){var t,a;let{data:n,preview:m=!1}=e,u=(0,i.useParams)(),p=null==u?void 0:u.brandSlug,x=null==u?void 0:u.website_slug,h=m?d:n,{isFullWidth:g=!1,paddingTop:f=80,paddingBottom:b=80,paddingLeft:y=24,paddingRight:v=24,leftLabel:w="",leftTitle:j="",leftLabelColor:N="#69AF4B",leftLabelBackgroundColor:k="#69af4b86",leftContent:C="",leftButton1Text:_="",leftButton1TextColor:T="#ffffff",leftButton1BackgroundColor:L="#7A8B5C",leftButton1Url:S="",leftButton2Text:B="",leftButton2TextColor:A="#000000",leftButton2BackgroundColor:M="#ffffff",leftButton2Url:I="",buttonHeight:F="",buttonWidth:R="",rightImage:P="",rightImageAlt:W="",openInNewTab:E=!1,buttonFontSize:H=16}=h||{},D=e=>!!e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")),q=e=>!!e&&e.startsWith("#"),z="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),O=e=>e?"number"==typeof e?"".concat(e,"px"):"string"==typeof e?e.endsWith("px")||e.endsWith("rem")||e.endsWith("em")||e.endsWith("%")?e:"".concat(parseInt(e)||0,"px"):null:null,G=e=>{let{content:t,className:a=""}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words ".concat(a),dangerouslySetInnerHTML:{__html:t}}):null},U=e=>{let{text:t,textColor:a,bgColor:s,url:n}=e;if(!t||!n)return null;let i=(e=>{if(!e)return"#";if(q(e)||D(e))return e;let t=e.startsWith("/")?e:"/".concat(e);if(z){let e=t.startsWith("/")?t:"/".concat(t);return z?"/".concat(p,"/website/").concat(x).concat(e):e}return t})(n),c=D(i),d=q(i),m=O(F),u=O(R),h={backgroundColor:s,color:a,border:"#ffffff"===s?"2px solid #E2E8F0":"none",borderRadius:"0.75rem",fontSize:"".concat(H,"px"),fontWeight:"bold",cursor:"pointer",transition:"all 0.3s ease",textDecoration:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",...m&&{paddingTop:m,paddingBottom:m},...u&&{paddingLeft:u,paddingRight:u}};return d?(0,l.jsx)("button",{onClick:()=>(0,r.Y)(i.slice(1)),style:h,children:t}):c?(0,l.jsx)("a",{href:i,style:h,target:E?"_blank":"_self",rel:i.startsWith("http")?"noopener noreferrer":"",children:t}):(0,l.jsx)(o(),{href:i,style:h,children:t})},V=S||(null==h?void 0:h.leftButton1Route),Y=I||(null==h?void 0:h.leftButton2Route);return(0,l.jsx)("section",{className:"w-full bg-[#f4f5f2]",style:{backgroundColor:"#f4f5f2",paddingTop:"".concat(f,"px"),paddingBottom:"".concat(b,"px"),paddingLeft:"".concat(y,"px"),paddingRight:"".concat(v,"px")},children:(0,l.jsxs)("div",{className:"".concat(g?"max-w-full":"max-w-7xl"," mx-auto grid grid-cols-1 lg:grid-cols-2 gap-12 items-center"),children:[(0,l.jsxs)("div",{children:[w&&(0,l.jsxs)("div",{className:"inline-flex items-center gap-2  text-[#69AF4B] text-[13px] px-4 py-2 rounded-full mb-6 font-bold",style:{background:k},children:[(0,l.jsx)(c.WiQ,{className:"text-xs",style:{color:N}}),(0,l.jsx)("span",{style:{color:N},children:w})]}),j&&(0,l.jsx)(G,{content:j}),C&&(0,l.jsx)(G,{content:C}),(_||B)&&(0,l.jsxs)("div",{className:"flex gap-4 mt-8 flex-wrap justify-center w-full",children:[_&&V&&(0,l.jsx)(U,{text:_,textColor:T,bgColor:L,url:V}),B&&Y&&(0,l.jsx)(U,{text:B,textColor:A,bgColor:M,url:Y})]})]}),P&&(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)("div",{className:"rounded-2xl overflow-hidden shadow-2xl border-4 border-white/80",children:(0,l.jsx)("img",{src:P.includes("http")?P:"".concat(s.image_url,"/").concat(P),alt:W||"",width:600,height:500,className:"w-full h-[500px] object-cover"})})})]})})}},53206:(e,t,a)=>{a.d(t,{default:()=>i});var l=a(95155),r=a(39347),s=a(24033),n=a(97290),o=a(12115);function i(e){let{data:t}=e,{sectionTitle:a,isFullWidth:i,paddingTop:c,paddingBottom:d,paddingLeft:m,paddingRight:u,numberOfColumns:p=3,buttonText:x,buttonBackgroun
1dColor:h,buttonTextColor:g,cards:f=[]}=t,[b,y]=(0,o.useState)(!1),[v,w]=(0,o.useState)([]),j={1:"grid-cols-1",2:"grid-cols-1 md:grid-cols-2",3:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",4:"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"}[p]||"grid-cols-1 md:grid-cols-3";return(0,o.useEffect)(()=>{w(b?f:f.slice(0,p))},[f,p,b]),(0,l.jsx)("section",{className:"bg-white overflow-hidden",style:{paddingTop:"".concat(c,"px"),paddingBottom:"".concat(d,"px"),paddingLeft:"".concat(m,"px"),paddingRight:"".concat(u,"px")},children:(0,l.jsxs)("div",{className:i?"w-full px-4":"max-w-7xl mx-auto px-4",children:[(0,l.jsx)("div",{className:"text-center mb-12",children:(0,l.jsx)("div",{className:"ProseMirror mb-6 [&_p:empty]:before:content-['\\u00A0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:a}})}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("div",{className:"grid ".concat(j," gap-8 mb-12 overflow-hidden"),children:v.map((e,t)=>(0,l.jsxs)("div",{className:"relative group",children:[(0,l.jsxs)("div",{className:"relative overflow-hidden bg-gray-100 mb-4 rounded-lg cursor-pointer",children:[e.image&&(0,l.jsx)("img",{src:"".concat(n.image_url,"/").concat(e.image),alt:e.altText||"Card ".concat(t+1),className:"w-full h-64 object-cover transition-all duration-500 group-hover:scale-110",loading:"lazy"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/40 transition-all duration-300 flex items-center justify-center",children:(0,l.jsx)("span",{className:"text-white font-semibold text-lg opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:"View Details"})}),e.price&&(0,l.jsxs)("div",{className:"absolute bottom-0 right-0 bg-red-600 text-white px-6 py-3 font-bold rounded-tl-2xl shadow-lg z-10 transition-transform duration-300 group-hover:scale-105",children:["FROM ",e.price]})]}),e.content&&(0,l.jsx)("div",{className:"space-y-2 px-2",children:(0,l.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed text-sm [&_p:empty]:before:content-['\\u00A0'] [&_p:empty]:block [&_p:empty]:h-3 line-clamp-3",style:{display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:null==e?void 0:e.content}})})]},t))}),!b&&f.length>p&&(0,l.jsx)("div",{className:"absolute right-0 top-0 bottom-0 w-32 bg-gradient-to-l from-white to-transparent pointer-events-none"})]}),f.length>p&&(0,l.jsx)("div",{className:"flex justify-center mt-8",children:(0,l.jsxs)("button",{onClick:()=>{y(!b)},className:"flex items-center gap-2 px-8 py-4 font-bold transition-all duration-300 hover:gap-4 group",style:{backgroundColor:h||"#000000",color:g||"#ffffff",border:"2px solid ".concat(h||"#000000")},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="#ffffff",e.currentTarget.style.color=h||"#000000"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=h||"#000000",e.currentTarget.style.color=g||"#ffffff"},children:[(0,l.jsx)(r.A,{className:"w-5 h-5",fill:"currentColor"}),b?"SHOW LESS":x||"VIEW ALL ROOMS",(0,l.jsx)(s.A,{className:"w-5 h-5 transition-transform duration-300 ".concat(b?"rotate-180":"")})]})})]})})}},54108:(e,t,a)=>{a.d(t,{default:()=>i});var l=a(95155),r=a(27937),s=a(97290),n=a(20063);let o={isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,backgroundColor:"#f5f5f3",leftTitle:"<h2>Our Commitment to Excellence</h2><p>Delivering unforgettable experiences since 2010</p>",leftImage:"https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",leftContent:"<p>At our resort, we believe that every guest deserves a personalized experience tailored to their unique preferences. From the moment you arrive, our dedicated team works tirelessly to ensure every aspect of your stay exceeds expectations.</p><p>We take pride in our attention to detail, from the warm welcome you receive to the perfect turndown service each evening. Our commitment to excellence has earned us recognition as a top luxury destination worldwide.</p>",leftButtonText:"Discover Our Story",leftButtonUrl:"/about",isOpenInNewTab:!1,buttonBackgroun
1dColor:"#7c925a",buttonTextColor:"#ffffff",rightTitle:"<h3>Awards & Recognition</h3><p>Celebrated for excellence in hospitality</p>",rightCards:[{content:"<p>Recognized for exceptional service and world-class amenities that create unforgettable guest experiences.</p>",title:"Best Luxury Resort",subTitle:"World Travel Awards 2023"},{content:"<p>Awarded for innovative sustainable practices while maintaining the highest standards of luxury hospitality.</p>",title:"Green Leader Award",subTitle:"Sustainable Tourism Council 2023"},{content:"<p>Celebrated for culinary excellence featuring Michelin-starred chefs and locally-sourced ingredients.</p>",title:"Top Dining Experience",subTitle:"Epicurean Awards 2023"},{content:"<p>Ranked #1 for guest satisfaction and personalized service across all luxury resort categories.</p>",title:"Guest Choice Award",subTitle:"Travelers' Choice 2023"}]};function i(e){let{data:t,preview:a=!1}=e,{brandSlug:i,website_slug:c}=(0,n.useParams)(),{isFullWidth:d,paddingTop:m,paddingLeft:u,paddingRight:p,paddingBottom:x,backgroundColor:h,leftTitle:g,leftImage:f,leftContent:b,leftButtonText:y,leftButtonUrl:v,isOpenInNewTab:w=!1,rightTitle:j,rightCards:N,buttonBackgroundColor:k,buttonTextColor:C}=a?o:t||{},_="clients.staystack.encrobytes.com"===window.location.hostname||window.location.hostname.includes("localhost"),T=e=>e.startsWith("http://")||e.startsWith("https://")||e.startsWith("www."),L=(e=>{if(!e||"#"===e)return"#";if(T(e))return e;let t=e;if(e.startsWith("/")||(t="/".concat(e)),_&&i&&c){var a;return a=t,_&&i&&c?"/".concat(i,"/website/").concat(c).concat(a):a}return t})(v),S=L&&"#"!==L&&(T(L)||w)?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,l.jsx)("section",{style:{paddingTop:"".concat(m,"px"),paddingBottom:"".concat(x,"px"),paddingLeft:"".concat(u,"px"),paddingRight:"".concat(p,"px"),backgroundColor:h||"#f3f4f6"},children:(0,l.jsx)("div",{className:d?"w-full":"max-w-7xl mx-auto",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"flex items-center gap-3 mb-8",children:g&&(0,l.jsx)("div",{className:"text-3xl font-bold text-gray-800 ProseMirror",dangerouslySetInnerHTML:{__html:g}})}),(0,l.jsxs)("div",{className:"flex flex-col md:flex-row gap-6",children:[f&&(0,l.jsx)("div",{className:"md:w-48 flex-shrink-0",children:(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(f),alt:"About us",className:"w-full h-auto object-cover rounded-lg"})}),(0,l.jsxs)("div",{className:"flex-1",children:[b&&(0,l.jsx)("div",{className:"text-gray-600 mb-6 leading-relaxed ProseMirror [&_p:empty]:before:content-['\\u00A0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:b}}),(0,l.jsxs)("ul",{className:"space-y-3 mb-6",children:[(0,l.jsxs)("li",{className:"flex items-start gap-2 text-gray-700",children:[(0,l.jsx)("span",{className:"text-gray-500 mt-1",children:"▸"}),(0,l.jsx)("span",{children:"Check-in: 02:00 P.M.; Check-out: 10:00 A.M."})]}),(0,l.jsxs)("li",{className:"flex items-start gap-2 text-gray-700",children:[(0,l.jsx)("span",{className:"text-gray-500 mt-1",children:"▸"}),(0,l.jsx)("span",{children:"Free High Speed Wi-Fi Internet in Every Apartment"})]}),(0,l.jsxs)("li",{className:"flex items-start gap-2 text-gray-700",children:[(0,l.jsx)("span",{className:"text-gray-500 mt-1",children:"▸"}),(0,l.jsx)("span",{children:"Fully loaded Kitchens in all Apartments."})]}),(0,l.jsxs)("li",{className:"flex items-start gap-2 text-gray-700",children:[(0,l.jsx)("span",{className:"text-gray-500 mt-1",children:"▸"}),(0,l.jsx)("span",{children:"Free Local Self Parking Available"})]})]}),y&&(0,l.jsxs)("a",{href:L,...S,className:"inline-flex items-center gap-2 text-white px-6 py-3 font-bold transition-colors hover:opacity-90",style:{backgroundColor:k||"#4b5563",color:C||"#ffffff"},children:[y,(0,l.jsx)(r.A,{className:"w-5 h-5"})]})]})]})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"flex items-center gap-3 mb-8",children:j&&(0,l.jsx)("div",{className:"text-3xl font-bold text-gray-800 ProseMirror",dangerouslySetInnerHTML:{__html:j}})}),N&&N.length>0?(0,l.jsx)("div",{className:"space-y-8",children:N.map((e,t)=>(0,l.jsxs)("div",{className:"bg-white p-8 shadow-sm rounded-lg",children:[e.content&&(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed text-justify mb-8 ProseMirror [&_p:empty]:before:content-['\\u00A0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:e.content}}),(0,l.jsxs)("div",{className:"flex items-center gap-4",children:[(0,l.jsx)("div",{className:"w-16 h-16 bg-gray-300 rounded-full flex items-center justify-center flex-shrink-0",children:(0,l.jsx)("div",{className:"w-12 h-12 bg-gray-400 rounded-full"})}),(0,l.jsxs)("div",{children:[e.title&&(0,l.jsxs)("p",{className:"font-bold text-gray-800",children:["- ",e.title]}),e.subTitle&&(0,l.jsx)("p",{className:"text-sm text-gray-500",children:e.subTitle})]})]})]},t))}):(0,l.jsx)(l.Fragment,{})]})]})})})}},54449:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(12115);let s={isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,leftContent:"<h2>What Our Guests Say</h2><p>Don't just take our word for it - hear from those who've experienced our hospital
1ity firsthand.</p><p style='margin-top: 30px;'><strong>4.9 ★★★★★</strong></p><p>Based on 2,500+ reviews</p><div style='margin-top: 40px;'><p style='font-style: italic;'>\"The perfect destination for luxury travelers seeking unforgettable experiences.\"</p><p>- Travel & Leisure Magazine</p></div>",rightTestimonials:[{content:"<p>Absolutely breathtaking experience! The staff went above and beyond to make our anniversary special. The ocean views from our room were spectacular, and the dining options were world-class. We're already planning our return visit.</p><p style='margin-top: 20px; font-weight: bold;'>- Sarah Johnson</p><p style='color: #666;'>Chicago, IL</p>"},{content:"<p>This resort exceeded all our expectations. From the moment we arrived, we felt like royalty. The spa treatments were incredibly relaxing, and the private beach was pristine. Highly recommend for anyone seeking a luxury getaway.</p><p style='margin-top: 20px; font-weight: bold;'>- Michael Chen</p><p style='color: #666;'>San Francisco, CA</p>"},{content:"<p>Five stars isn't enough! The attention to detail throughout our stay was impeccable. The infinity pool overlooking the sunset was magical, and the concierge helped us plan perfect day trips. Can't wait to come back!</p><p style='margin-top: 20px; font-weight: bold;'>- Emily Rodriguez</p><p style='color: #666;'>Miami, FL</p>"},{content:"<p>A truly unforgettable experience. The room was spacious and beautifully designed, the food was exquisite, and the service was impeccable. The resort's location offers the perfect balance of relaxation and adventure.</p><p style='margin-top: 20px; font-weight: bold;'>- David Thompson</p><p style='color: #666;'>Seattle, WA</p>"}]};function n(e){var t;let{data:a,preview:n=!1}=e,{isFullWidth:o=!1,backgroundColor:i="#f5f5f3",paddingTop:c=0,paddingBottom:d=0,paddingLeft:m=0,paddingRight:u=0,leftContent:p="",rightTestimonials:x=[],borderColor:h="#D1D5DB",lineColor:g="#556B2F",titleColor:f="#333333",textColor:b="#4B5563",quoteColor:y="#333333",autoplayDelay:v=5e3,showDots:w=!0,showArrows:j=!1,animationType:N="fade"}=(n?s:a||{})||{},[k,C]=(0,r.useState)(0),[_,T]=(0,r.useState)(!1);(0,r.useEffect)(()=>{if(!x||x.length<=1)return;let e=setInterval(()=>{S()},v);return()=>clearInterval(e)},[x,v,k]);let L=e=>{let{content:t,className:a=""}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden  [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words ".concat(a),dangerouslySetInnerHTML:{__html:t}}):null},S=()=>{_||(T(!0),C(e=>(e+1)%x.length),setTimeout(()=>T(!1),500))};return x&&0!==x.length?(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:i,paddingTop:"".concat(c,"px"),paddingBottom:"".concat(d,"px"),paddingLeft:"".concat(m,"px"),paddingRight:"".concat(u,"px")},children:(0,l.jsx)("div",{className:"".concat(o?"max-w-full px-6 md:px-16":"max-w-7xl mx-auto px-6 md:px-16"),children:(0,l.jsxs)("div",{className:"grid md:grid-cols-2 gap-12 items-start",style:{borderColor:h},children:[(0,l.jsx)("div",{children:(0,l.jsx)(L,{content:p,className:"[&_h2]:text-[35px] [&_h2]:mb-6 [&_h2]:text-[#333333] [&_p]:text-[18px] [&_p]:leading-relaxed [&_p]:mb-6 [&_p]:last:mb-0 [&_p]:text-[#4B5563]"})}),(0,l.jsxs)("div",{className:"relative pl-6 md:pl-10",children:[(0,l.jsx)("div",{className:"absolute left-0 top-0 h-full lg:h-[300px] w-[4px]",style:{backgroundColor:g}}),(0,l.jsx)("div",{className:"fade"===N?"transition-opacity duration-500 ease-in-out ".concat(_?"opacity-0":"opacity-100"):"transition-transform duration-500 ease-in-out ".concat("translate-x-0"),children:(0,l.jsx)(L,{content:(null==(t=x[k])?void 0:t.content)||"",className:"[&_p:first-child]:text-2xl [&_p:first-child]:mb-6 [&_p:first-child]:leading-relaxed [&_p:first-child]:text-[#333333] [&_p:last-child]:text-[18px] [&_p:last-child]:leading-relaxed [&_p:last-child]:text-[#4B5563]"})}),w&&x.length>1&&(0,l.jsx)("div",{className:"flex gap-2 mt-8",children:x.map((e,t)=>(0,l.jsx)("button",{onClick:()=>{!_&&(T(!0),C(t),setTimeout(()=>T(!1),500))},className:"transition-all duration-300 rounded-full",style:{width:k===t?"24px":"8px",height:"8px",backgroundColor:k===t?g:"".concat(g,"40")},"aria-label":"Go to testimonial ".concat(t+1)},t))}),j&&x.length>1&&(0,l.jsxs)("div",{className:"flex gap-3 mt-6",children:[(0,l.jsx)("button",{onClick:()=>{_||(T(!0),C(e=>(e-1+x.length)%x.length),setTimeout(()=>T(!1),500))},className:"p-2 rounded-full transition hover:opacity-70",style:{backgroundColor:"".concat(g,"20"),color:g},"aria-label":"Previous testimonial",children:(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,l.jsx)("path",{d:"M15 18l-6-6 6-6"})})}),(0,l.jsx)("button",{onClick:S,className:"p-2 rounded-full transition hover:opacity-70",style:{backgroundColor:"".concat(g,"20"),color:g},"aria-label":"Next testimonial",children:(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,l.jsx)("path",{d:"M9 18l6-6-6-6"})})})]})]})]})})}):null}},55532:(e,t,a)=>{a.d(t,{default:()=>s});var l=a(95155),r=a(12115);function s(e){var t;let{data:a}=e,s={isFullWidth:!1,paddingTop:48,paddingBottom:48,paddingLeft:16,paddingRight:16,backgroundColor:"#f8fafc",textColor:"#1f2937",content:"<h2 class='text-3xl font-bold text-center mb-4'>Our Achievements</h2><p class='text-lg text-gray-600 text-center'>Numbers that speak for themselves</p>",counterCards:[{value:1e3,label:"Happy Customers"},{value:250,label:"Projects Completed"},{value:50,label:"Team Members"},{value:5,label:"Years Experience"}]};console.log("data",a);let o=a&&Object.keys(a).length>0,i=o?a:s,{isFullWidth:c=s.isFullWidth,paddingTop:d=s.paddingTop,paddingBottom:m=s.paddingBottom,paddingLeft:u=s.paddingLeft,paddingRight:p=s.paddingRight,backgroundColor:x=s.backgroundColor,textColor:h=s.textColor,content:g=s.content,counterCards:f=s.counterCards}=i;console.log("data from counter section",i);let[b,y]=(0,r.useState)(!1),v=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&y(!0)},{threshold:.3});return v.current&&e.observe(v.current),()=>{v.current&&e.unobserve(v.current)}},[]),(0,l.jsxs)("div",{ref:v,className:"relative flex items-center justify-center",style:{paddingTop:"".concat(d,"px"),paddingBottom:"".concat(m,"px"),paddingLeft:"".concat(u,"px"),paddingRight:"".concat(p,"px"),backgroundColor:x}
1,children:[!o&&(0,l.jsx)("div",{className:"absolute top-4 left-1/2 transform -translate-x-1/2 bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded text-sm max-w-2xl mx-auto z-10",children:"\uD83D\uDCA1 Showing demo counters. Provide data prop to display your actual counters."}),(0,l.jsxs)("div",{className:"".concat(c?"w-full":"container mx-auto"," px-4 py-16"),children:[g&&(0,l.jsx)("div",{className:"text-center mb-16",style:h?{color:h}:{},children:(0,l.jsx)("div",{className:"ProseMirror leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:g}})}),(0,l.jsx)("div",{className:"grid ".concat(1===(t=null==a?void 0:a.numberOfColumns)?"grid-cols-1":2===t?"grid-cols-1 md:grid-cols-2":3===t?"grid-cols-1 md:grid-cols-2 lg:grid-cols-3":4===t?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":t>=5?"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5":"grid-cols-1"," gap-6 max-w-6xl mx-auto"),children:f.map((e,t)=>(0,l.jsx)(n,{end:e.value||0,label:e.label||"",isVisible:b,duration:2e3,delay:200*t,textColor:h},t))})]})]})}function n(e){let{end:t,label:a,isVisible:s,duration:n,delay:o=0,textColor:i}=e,[c,d]=(0,r.useState)(0),[m,u]=(0,r.useState)(!1);(0,r.useEffect)(()=>{if(!s||m)return;let e=setTimeout(()=>{let e,a,l=r=>{e||(e=r);let s=(r-e)/n;s<1?(d(Math.floor(t*p(s))),a=requestAnimationFrame(l)):(d(t),u(!0))};return a=requestAnimationFrame(l),()=>{a&&cancelAnimationFrame(a)}},o);return()=>clearTimeout(e)},[s,t,n,o,m]);let p=e=>e*(2-e),x=i?{color:i}:{};return(0,l.jsxs)("div",{className:"bg-white rounded-lg shadow-md p-6 text-center transform transition-all duration-500 hover:shadow-lg hover:scale-105 border border-gray-100",children:[(0,l.jsx)("div",{className:"text-lg font-semibold mb-4 opacity-90",style:x,children:a}),(0,l.jsx)("div",{className:"text-4xl md:text-5xl font-bold",style:x,children:c.toLocaleString()})]})}},56522:(e,t,a)=>{a.d(t,{default:()=>p});var l=a(95155);a(15239);var r=a(54255),s=a(39347),n=a(21662),o=a(26983),i=a(52987),c=a(5937),d=a(97290),m=a(48389),u=a(20063);function p(e){var t,a;let{data:p}=e,{brandSlug:x,website_slug:h,landingPageSlug:g}=(0,u.useParams)(),f="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),b=(e,t,a)=>f?"/".concat(t,"/website/").concat(a).concat(e):e,{isFullWidth:y=!1,paddingTop:v=0,paddingBottom:w=0,paddingLeft:j=0,paddingRight:N=0,sectionTitle:k="",cards:C=[],numberOfColumns:_=3,labelColor:T="#4A5D43",titleColor:L="#0F172A",contentColor:S="#64748B",bottomContentColor:B="#94A3B8",cardBackgroundColor:A="#ffffff",borderColor:M="#e5e7eb",hoverEffect:I=!0}=p||{},F=C&&C.length>0?C:[{title:"Free Airport Transfers",labelText:"ARRIVAL PERK",content:"Complimentary one-way airport transfer for all stays exceeding 7 nights.",bottomText:"TERMS & CONDITIONS APPLY",image:"/website/Page4/location.png",icon:"plane"},{title:"Complimentary Upgrade",labelText:"LOYALTY REWARD",content:"Exclusive room category upgrade for our valued repeat guests on availability.",bottomText:"SUBJECT TO AVAILABILITY",image:"/website/Page4/balcony.png",icon:"star"},{title:"Cleaning Fees Waived",labelText:"DIRECT SAVINGS",content:"No professional cleaning fees for all bookings made directly via our website.",bottomText:"DIRECT WEBSITE BOOKINGS ONLY",image:"/website/Page4/couch.png",icon:"badge"},{title:"Early In / Late Out",labelText:"FLEXIBLE STAY",content:"Enjoy up to 4 hours of flexibility with early check-in or late check-out options.",bottomText:"BASED ON SCHEDULE AVAILABILITY",image:"/website/Page4/clock.png",icon:"clock"}],R={backgroundColor:A,borderColor:M};return(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:"#ffffff",paddingTop:"".concat(v,"px"),paddingBottom:"".concat(w,"px"),paddingLeft:"".concat(j,"px"),paddingRight:"".concat(N,"px")},children:(0,l.jsxs)("div",{className:"".concat(y?"w-full px-6 md:px-12 lg:px-16":"max-w-6xl mx-auto px-6 md:px-12 lg:px-16"),children:[k&&(0,l.jsx)("div",{className:"mb-12",children:(0,l.jsx)(e=>{let{content:t}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_h2]:text-3xl [&_h2]:md:text-[48px] [&_h2]:font-semibold [&_h2]:text-[#3F3F3F] [&_p]:text-[#475569] [&_p]:mt-3 [&_p]:max-w-2xl",dangerouslySetInnerHTML:{__html:t}}):null},{content:k})}),(0,l.jsx)("div",{className:"grid gap-8 ".concat((()=>
1{if(y)switch(_){case 1:return"grid-cols-1";case 2:return"grid-cols-1 sm:grid-cols-2";case 3:default:return"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3";case 4:return"grid-cols-1 sm:grid-cols-2 lg:grid-cols-4";case 5:return"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5";case 6:return"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-6"}switch(_){case 1:return"grid-cols-1";case 2:return"grid-cols-1 md:grid-cols-2";case 3:default:return"grid-cols-1 md:grid-cols-2 lg:grid-cols-3";case 4:return"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"}})()),children:F.map((e,t)=>{var a;let u=(e=>{if(!e)return null;let t=m.A[e];return t||({plane:(0,l.jsx)(r.A,{size:14}),star:(0,l.jsx)(s.A,{size:14}),badge:(0,l.jsx)(n.A,{size:14}),clock:(0,l.jsx)(o.A,{size:14}),arrow_right:(0,l.jsx)(i.A,{size:14}),comment:(0,l.jsx)(c.A,{size:14})})[e.toLowerCase()]||null})(e.icon),p=e.image,y=e.buttonUrl;e.buttonText;let v=y?(a=y)?(0,d.isExternalUrl)(a)?a:a.startsWith("/")&&f?b(a,x,h):a:"#":null;return y&&y&&((0,d.isExternalUrl)(y)||(e=>((e,t)=>{if(!(0,d.isExternalUrl)(e))if(t.preventDefault(),h){let t=b(e,x,h);window.location.href=t}else if(g){let t=e.replace("#",""),a=document.getElementById(t);a?a.scrollIntoView({behavior:"smooth",block:"start"}):(console.warn("Element with id '".concat(t,"' not found")),e.startsWith("/")&&(window.location.href=e))}else window.location.href=e})(y,e))),(0,l.jsxs)("div",{className:"rounded-xl border overflow-hidden shadow-sm transition flex flex-col",style:{...R,...I&&{transition:"all 0.3s ease"}},onMouseEnter:e=>{I&&(e.currentTarget.style.boxShadow="0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.02)",e.currentTarget.style.transform="translateY(-2px)")},onMouseLeave:e=>{I&&(e.currentTarget.style.boxShadow="",e.currentTarget.style.transform="")},children:[p&&(0,l.jsx)("div",{className:"relative w-full h-[220px]",children:(0,l.jsx)("img",{src:"".concat(d.image_url,"/").concat(p),alt:e.altText||e.title||"Offer image",className:"object-cover w-full h-full"})}),(0,l.jsxs)("div",{className:"p-6 flex flex-col flex-grow",children:[e.labelText&&(0,l.jsxs)("div",{className:"flex items-center gap-2 text-xs font-bold uppercase tracking-wide mb-3",children:[u&&(0,l.jsx)("span",{style:{color:T},children:u}),(0,l.jsx)("span",{style:{color:T},children:e.labelText})]}),e.title&&(0,l.jsx)("h3",{className:"text-[20px] font-bold mb-3",style:{color:L},children:e.title}),e.content&&(0,l.jsx)("p",{className:"text-[16px] mb-4 leading-relaxed",style:{color:S},children:e.content}),(null==e?void 0:e.bottomText)&&(null==e?void 0:e.buttonUrl)&&(0,l.jsx)("a",{href:v,className:"border-t pt-3 text-[11px] font-bold uppercase mt-4",style:{borderColor:M,color:B},children:null==e?void 0:e.bottomText})]})]},t)})})]})})}},57592:(e,t,a)=>{a.d(t,{default:()=>s});var l=a(95155),r=a(12115);function s(e){let{data:t}=e,{isFullWidth:a=!1,paddingTop:s,paddingLeft:n,paddingRight:o,paddingBottom:i,width:c=800,height:d=400,latitude:m=40.7128,longitude:u=-74.006,zoom:p=12,mapType:x="roadmap",backgroundColor:h="#f3f4f6",showMarker:g=!0,markerTitle:f="Location",interactive:b=!0}=t||{},[y,v]=(0,r.useState)(!1);(0,r.useEffect)(()=>{if(window.google)v(!0);else{let e=document.createElement("script");e.src="https://maps.googleapis.com/maps/api/js?key=".concat("AIzaSyBTjE9Vcira07CaffplqqwGS1AbqTib0Cw","&libraries=places"),e.async=!0,e.defer=!0,e.onload=()=>v(!0),document.head.appendChild(e)}},[]),(0,r.useEffect)(()=>{y&&window.google&&w()},[y,m,u,p,x]);let w=()=>{let e=document.getElementById("map-container");if(!e)return;e.innerHTML="";let t={center:{lat:parseFloat(m),lng:parseFloat(u)},zoom:parseInt(p),mapTypeId:window.google.maps.MapTypeId[x.toUpperCase()]||window.google.maps.MapTypeId.ROADMAP,scrollwheel:b,draggable:b,zoomControl:b,mapTypeControl:b,scaleControl:b,streetViewControl:b,rotateControl:b,fullscreenControl:b},a=new window.google.maps.Map(e,t);g&&new window.google.maps.Marker({position:{lat:parseFloat(m),lng:parseFloat(u)},map:a,title:f})},j="https://maps.googleapis.com/maps/api/staticmap?center=".concat(m,",").concat(u,"&zoom=").concat(p,"&size=").concat(c,"x").concat(d,"&maptype=").concat(x,"&markers=color:red%7C").concat(m,",").concat(u,"&key=").concat("AIzaSyBTjE9Vcira07CaffplqqwGS1AbqTib
10Cw");return(0,l.jsx)("div",{className:"".concat(a?"w-full":"max-w-7xl mx-auto"),style:{paddingTop:"".concat(s,"px"),paddingLeft:"".concat(n,"px"),paddingRight:"".concat(o,"px"),paddingBottom:"".concat(i,"px")},children:(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("div",{className:"rounded-lg overflow-hidden shadow-lg",children:y?(0,l.jsx)("div",{id:"map-container",style:{width:"100%",height:"".concat(d,"px")}}):(0,l.jsx)("div",{className:"bg-gray-200 flex items-center justify-center",style:{width:"".concat(c,"px"),height:"".concat(d,"px")},children:(0,l.jsx)("img",{src:j,alt:"Location Map",style:{width:"100%",height:"100%",objectFit:"cover"}})})}),(0,l.jsxs)("div",{className:"mt-4 text-center text-gray-600",children:[(0,l.jsxs)("p",{className:"text-sm",children:["Latitude: ",m,", Longitude: ",u]}),!b&&(0,l.jsx)("p",{className:"text-xs text-gray-500 mt-1",children:"(Static map view - interactive features disabled)"})]})]})})}},58318:(e,t,a)=>{a.d(t,{R:()=>tx});var l=a(8278),r=a(79357),s=a(16595),n=a(50396),o=a(7958),i=a(50060),c=a(17191),d=a(95155),m=a(15239);let u="https://cdn.staystack.encrobytes.com";var p=a(30069),x=a(80077),h=a(93699),g=a(68379),f=a(75423),b=a(8101),y=a(23134),v=a(2639),w=a(36259),j=a(61571),N=a(12115);let k={mainText:"Call or WhatsApp +91 85888-55000 for Best Offers with Lowest Price Guarantee!",subText:"Weekly & Monthly Discounts | Complimentary Upgrades | 24/7 Customer Support",backgroundColor:"#8bc34a",textColor:"#ffffff",darkSectionColor:"#2c2c2c"};var C=a(60245),_=a(83090),T=a(92599),L=a(67855),S=a(15186),B=a(42233),A=a(96048),M=a(94627),I=a(79719),F=a(18508),R=a(49575),P=a(16550),W=a(26139),E=a(31504);let H={isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,backgroundColor:"#f5f5f3",titleColor:"#2c3e50",sectionTitle:"What Our Guests Say About Us",testimonials:[{text:"<p>Absolutely breathtaking experience! The staff went above and beyond to make our anniversary special. The ocean views from our room were spectacular, and the dining options were world-class. We're already planning our return visit.</p>",author:"Sarah Johnson",location:"Chicago, IL"},{text:"<p>This resort exceeded all our expectations. From the moment we arrived, we felt like royalty. The spa treatments were incredibly relaxing, and the private beach was pristine. Highly recommend for anyone seeking a luxury getaway.</p>",author:"Michael Chen",location:"San Francisco, CA"},{text:"<p>Five stars isn't enough! The attention to detail throughout our stay was impeccable. The infinity pool overlooking the sunset was magical, and the concierge helped us plan perfect day trips. Can't wait to come back!</p>",author:"Emily Rodriguez",location:"Miami, FL"},{text:"<p>A truly unforgettable experience. The room was spacious and beautifully designed, the food was exquisite, and the service was impeccable. The resort's location offers the perfect balance of relaxation and adventure.</p>",author:"David Thompson",location:"Seattle, WA"}],cardBackgroundColor:"#ffffff"};var D=a(39498),q=a(26031),z=a(20212),O=a(5233),G=a(99182),U=a(80515),V=a(88301),Y=a(87152),K=a(411),J=a(63686),Z=a(54449),Q=a(95412),X=a(23143),$=a(81462),ee=a(65849),et=a(67032),ea=a(92355),el=a(11022),er=a(4985),es=a(54108),en=a(5153),eo=a(45258),ei=a(48389),ec=a(74163);let ed=[{icon:"\uD83D\uDE9A",title:"Free Shipping",des:"Free shipping on all orders over $50. Fast delivery to your doorstep."},{icon:"\uD83D\uDCAF",title:"Quality Guarantee",des:"All our products are quality checked and come with a satisfaction guarantee."},{icon:"\uD83D\uDD12",title:"Secure Payment",des:"Your payment information is secure with our encrypted checkout process."}];var em=a(33217),eu=a(99396),ep=a(67851),ex=a(97290);a(52619);var eh=a(70898),eg=a(60608),ef=a(1927),eb=a(93954),ey=a(53206),ev=a(32733),ew=a(39354),ej=a(88420),eN=a(22241),ek=a(66750),eC=a(47859),e_=a(26703),eT=a(56522),eL=a(22257),eS=a(37236),eB=a(43163),eA=a(90748),eM=a(46268),eI=a(5015),eF=a(92722),eR=a(5429),eP=a(42840),eW=a(31416),eE=a(98371);let eH=[{content:'\n        <div class="p-4 bg-white rounded-lg shadow-md text-center">\n          <h2 class="text-xl font-semibold">Deluxe Room</h2>\n          <p class="text-gray-600 mt-2">Perfect for couples</p>\n          <p class="text-2xl font-bold text-green-600 mt-4">₹2,499 / night</p>\n          <button class="mt-4 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700">\n            Book Now\n          </button>\n        </div>\n      ',image:"https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=80"},{content:'\n        <div class="p-4 bg-white rounded-lg shadow-md text-center">\n          <h2 class="text-xl font-semibold">Executive Suite</h2>\n          <p class="text-gray-600 mt-2">
1Spacious & luxurious</p>\n          <p class="text-2xl font-bold text-green-600 mt-4">₹4,999 / night</p>\n          <button class="mt-4 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700">\n            Book Now\n          </button>\n        </div>\n      ',image:"https://images.unsplash.com/photo-1578683010236-d716f9a3f461?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=80"},{content:'\n        <div class="p-4 bg-white rounded-lg shadow-md text-center">\n          <h2 class="text-xl font-semibold">Presidential Suite</h2>\n          <p class="text-gray-600 mt-2">Ultimate luxury experience</p>\n          <p class="text-2xl font-bold text-green-600 mt-4">₹9,999 / night</p>\n          <button class="mt-4 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700">\n            Book Now\n          </button>\n        </div>\n      ',image:"https://images.unsplash.com/photo-1584132967334-10e028bd69f7?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=80"}];var eD=a(22840),eq=a(89795),ez=a(45646),eO=a(37401),eG=a(11644),eU=a(72663),eV=a(26706),eY=a(70253),eK=a(57592),eJ=a(55532),eZ=a(33095),eQ=a(46828),eX=a(75224),e$=a(83075),e0=a(61326),e1=a(1113),e2=a(23672),e5=a(16899),e4=a(3166),e3=a(34157),e6=a(20181),e8=a(41896),e7=a(95740),e9=a(17910),te=a(24947),tt=a(56154),ta=a(85998),tl=a(46858);let tr=()=>(0,d.jsx)("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center text-gray-500 text-sm",children:"?"}),ts=()=>(0,d.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,d.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})});var tn=a(92600),to=a(21873),ti=a(76561),tc=a(39347),td=a(5917),tm=a(65229),tu=a(12540),tp=a(2129);let tx={BannerWithForm_1:l.default,BannerWithForm_2:r.default,Button_1:s.default,Banner_1:n.default,BannerWithMultipleImages_1:o.default,HomeBannerWithContent_1:i.default,HomeBannerWithContent_2:c.default,HomeBannerWithoutContent_1:e=>{let{data:t,loading:a=!1,preview:l=!1}=e,r=null==t?void 0:t.height,{file:s="",altText:n="Temp alt text"}=t||{};return s&&"".concat(u,"/").concat(s),(0,d.jsx)("section",{className:"relative w-full overflow-hidden",style:{height:r?"".concat(r,"vh"):"100vh"},children:(0,d.jsx)(m.default,{src:s?"".concat(u,"/").concat(s):l?"https://c4.wallpaperflare.com/wallpaper/964/41/278/interior-bed-hotel-wallpaper-preview.jpg":"",alt:n,fill:!0,priority:!0,quality:75,sizes:"100vw",className:"object-cover",unoptimized:!0})})},HomeBannerWithoutContent_2:p.default,BannerWithScrollToSectionButton_1:x.default,BannerWithBreadCrumb_1:h.default,BannerWidthScript_1:b.default,BannerWithSlider_1:g.default,BannerWithButtons:f.default,BannerWidthFilter_1:y.default,PlainContent_1:v.default,PlainContentWithBackground_1:w.default,PromoSection_1:j.default,PromoSection_2:e=>{let{data:t,preview:a=!1}=e,l=a?k:t||{},{backgroundColor:r,textColor:s,darkSectionColor:n}=l;return(0,d.jsxs)("div",{className:"relative w-full  overflow-hidden",style:{paddingTop:"".concat((null==l?void 0:l.paddingTop)||20,"px"),paddingBottom:"".concat((null==l?void 0:l.paddingBottom)||20,"px"),paddingRight:"".concat((null==l?void 0:l.paddingRight)||20,"px"),paddingLeft:"".concat((null==l?void 0:l.paddingLeft)||20,"px")},children:[(0,d.jsx)("div",{className:"absolute inset-0 w-full h-full",style:{background:r,clipPath:"polygon(0 0, 100% 0, 100% 75%, 0 100%)"}}),(0,d.jsx)("div",{className:"absolute bottom-0 w-full h-1/2",style:{backgroundColor:n,clipPath:"polygon(0 70%, 100% 0%, 100% 100%, 0 100%)"}}),(0,d.jsxs)("div",{className:"relative z-10 flex flex-col items-center justify-center h-full px-4 text-center",children:[(0,d.jsx)("div",{className:"text-lg md:text-xl font-bold mb-1",style:{color:s},children:l.mainText}),(0,d.jsx)("div",{className:"text-sm md:text-base font-medium opacity-90",style:{color:s},children:l.subText})]})]})},PromoSection_3:C.default,PromoSection_4:_.default,PromoSection_5:T.default,PromoSection_6:L.default,LeftImageRightContent_1:I.default,LeftImageRightContent_2:F.default,LeftContentRightImage_1:R.default,TopContentBottomTwoCard_1:S.default,TopContentBottomTwoCard_2:B.default,TopContentBottomTwoCard_3:A.default,TopContentBottomTwoCard_4:M.default,TopCardBottomContent_1:P.default,TestimonialSection_1:W.default,TestimonialSection_2:E.default,TestimonialSection_3:e=>{let{data:t,preview:a=!1}=e,{backgroundColor:l,titleColor:r,sectionTitle:s,testimonials:n,isFullWidth:o,paddingTop:i,paddingBottom:c,paddingLeft:m,paddingRight:u,cardBackgroun
1dColor:p="#ffffff"}=a?H:t||{};return(0,d.jsx)("section",{className:"".concat(o?"w-full":"max-w-7xl mx-auto"),style:{paddingTop:"".concat(i,"px"),paddingBottom:"".concat(c,"px"),paddingLeft:"".concat(m,"px"),paddingRight:"".concat(u,"px"),background:l||"#ffffff"},children:(0,d.jsxs)("div",{className:"w-full",children:[(0,d.jsx)("div",{className:"text-center mb-16",children:(0,d.jsx)("h2",{className:"text-4xl font-bold tracking-wide",style:{color:r||"#000000"},children:s})}),(0,d.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2",children:(n||[]).map((e,t)=>(0,d.jsxs)("div",{className:"p-8 rounded-lg ".concat(t%2==0?"border-r-1 border-gray-200":"border-l-1 border-gray-200"),style:{background:p},children:[(0,d.jsx)("div",{className:"text-gray-600 mb-6 leading-relaxed space-y-3    [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3   overflow-hidden",style:{maxHeight:"none",wordWrap:"break-word",overflowWrap:"break-word"},dangerouslySetInnerHTML:{__html:e.text||""}}),(0,d.jsxs)("div",{className:"border-t border-gray-200 pt-4",children:[(0,d.jsx)("h4",{className:"font-semibold text-gray-900 text-lg",children:e.author}),(0,d.jsx)("p",{className:"text-gray-500 text-sm mt-1",children:e.location})]})]},e.id||t))})]})})},TestimonialSection_4:D.default,TestimonialSection_5:q.default,TestimonialSection_6:z.default,TestimonialSection_7:O.default,TestimonialSection_8:G.default,TestimonialSection_9:U.default,TestimonialSection_10:V.default,TestimonialSection_11:Y.default,TestimonialSection_12:K.default,TestimonialSection_13:J.default,TestimonialSection_14:Z.default,TestimonialSection_15:Q.default,HtmlContent_1:X.default,LeftContentWithRightGallary_1:$.default,TwoColumnSection:ee.default,AboutUsSection_1:et.default,AboutUsSection_2:ea.default,AboutUsSection_3:el.default,AboutUsSection_4:er.default,AboutUsSection_5:es.default,TwoCardSection_1:en.default,TwoCardSection_2:eo.default,Cards_1:e=>{let{data:t={}}=e,{featureCard:a=ed,backgroundColor:l="",cardBackgroundColors:r={},paddingTop:s=12,paddingBottom:n=12,paddingLeft:o=4,paddingRight:i=4,isFullWidth:c=!1,numberOfColumns:m=3,iconColor:u,cardBorderColor:p}=t,{outerCircle:x="#f8f8f8",innerCircle:h="#ffffff",innerCircleHover:g="#719430",text:f="#4d4d4d",description:b="#808080",border:y="#e1edc1"}=r;return(0,d.jsxs)("div",{className:"".concat(c?"w-full":"max-w-6xl","   mx-auto"),style:{backgroundColor:l,paddingTop:"".concat(s,"px"),paddingBottom:"".concat(n,"px"),paddingLeft:"".concat(o,"px"),paddingRight:"".concat(i,"px")},children:[(null==t?void 0:t.sectionTitle)&&(0,d.jsx)("div",{className:"ProseMirror mb-3 break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words",dangerouslySetInnerHTML:{__html:null==t?void 0:t.sectionTitle}}),(0,d.jsx)("div",{className:"".concat((0,ec.Rm)(m)," gap-8"),children:a.map((e,t)=>(0,d.jsxs)("div",{className:"flex flex-col h-full items-center text-center p-4 rounded-lg space-y-4",style:{borderColor:p||y,borderWidth:"1px"},children:[e.icon&&(0,d.jsx)("div",{className:"h-24 w-24 rounded-full flex items-center justify-center",style:{backgroundColor:x},children:(0,d.jsx)("div",{className:"h-20 w-20  text-3xl rounded-full flex items-center justify-center transition duration-300",style:{backgroundColor:"#ffffff",color:u||f},children:ei.A[e.icon]||e.icon})}),(0,d.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:e.content}})]},t))})]})},Cards_2:em.default,Cards_3:eu.default,Cards_4:ep.default,Cards_5:e=>{let{data:t}=e,a={isFullWidth:!1,numberOfColumns:3,paddingLeft:16,paddingTop:48,paddingRight:16,paddingBottom:48,sectionTitle:"<h2 class='text-3xl font-bold text-center mb-8'>Our Premium Locations</h2><p class='text-lg text-gray-600 text-center'>Discover our beautifully designed spaces across prime locations</p>",height:650,openLeftInNewTab:!0,openRightInNewTab:!0,featureCards:[{image:"/api/placeholder/400/300",altText:"Greater Kailash Location",content:"<h3 class='text-xl font-semibold mb-3'>Greater Kailash</h3><p class='text-gray-600 mb-4'>Premium residential area known for its upscale lifestyle and excellent connectivity. Features modern amenities, shopping complexes, and fine dining options.
1</p><ul class='text-sm text-gray-500 space-y-1'><li>✓ Metro Connectivity</li><li>✓ Shopping & Entertainment</li><li>✓ Premium Restaurants</li><li>✓ Business District Access</li></ul>",leftButtonText:"View Details",leftButtonUrl:"#greater-kailash",rightButtonText:"Get Directions",rightButtonUrl:"https://maps.google.com"},{image:"/api/placeholder/400/300",altText:"Green Park Location",content:"<h3 class='text-xl font-semibold mb-3'>Green Park</h3><p class='text-gray-600 mb-4'>Centrally located residential hub with lush green surroundings. Perfect blend of urban convenience and peaceful living environment.</p><ul class='text-sm text-gray-500 space-y-1'><li>✓ Green Park Metro Station</li><li>✓ Peaceful Environment</li><li>✓ Central Delhi Location</li><li>✓ Market & Cafes Nearby</li></ul>",leftButtonText:"View Details",leftButtonUrl:"#green-park",rightButtonText:"Get Directions",rightButtonUrl:"https://maps.google.com"},{image:"/api/placeholder/400/300",altText:"Safdarjung Enclave Location",content:"<h3 class='text-xl font-semibold mb-3'>Safdarjung Enclave</h3><p class='text-gray-600 mb-4'>Historic and well-established locality with excellent healthcare facilities. Strategic location with easy access to major business centers and airports.</p><ul class='text-sm text-gray-500 space-y-1'><li>✓ Airport Connectivity</li><li>✓ Medical Hub Access</li><li>✓ Government Offices Nearby</li><li>✓ Educational Institutions</li></ul>",leftButtonText:"View Details",leftButtonUrl:"#safdarjung",rightButtonText:"Get Directions",rightButtonUrl:"https://maps.google.com"},{image:"/api/placeholder/400/300",altText:"Connaught Place Location",content:"<h3 class='text-xl font-semibold mb-3'>Connaught Place</h3><p class='text-gray-600 mb-4'>The heart of Delhi with colonial architecture and modern commercial spaces. Perfect for business travelers and urban explorers.</p><ul class='text-sm text-gray-500 space-y-1'><li>✓ Central Business District</li><li>✓ Heritage Architecture</li><li>✓ Fine Dining & Shopping</li><li>✓ Excellent Transport Links</li></ul>",leftButtonText:"View Details",leftButtonUrl:"#connaught-place",rightButtonText:"Get Directions",rightButtonUrl:"https://maps.google.com"}]},l=t&&Object.keys(t).length>0,{isFullWidth:r=a.isFullWidth,numberOfColumns:s=a.numberOfColumns,paddingLeft:n=a.paddingLeft,paddingTop:o=a.paddingTop,paddingRight:i=a.paddingRight,paddingBottom:c=a.paddingBottom,sectionTitle:m=a.sectionTitle,featureCards:u=a.featureCards,height:p=a.height}=l?t:a,x=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return;let a=e.startsWith("#");if(console.log("url",e),console.log("OPEN N NEW TAB",t),t)if(a){let t=window.location.href.split("#")[0]+e;window.open(t,"_blank","noopener,noreferrer")}else window.open(e,"_blank","noopener,noreferrer");else if(a){let t=document.getElementById(e.substring(1));t&&t.scrollIntoView({behavior:"smooth",block:"start"})}else window.location.href=e};return(0,d.jsxs)("div",{className:"".concat(r?"w-full":"max-w-7xl mx-auto"),style:{paddingTop:"".concat(o,"px"),paddingBottom:"".concat(c,"px"),paddingLeft:"".concat(n,"px"),paddingRight:"".concat(i,"px")},children:[!l&&(0,d.jsx)("div",{className:"bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded mb-6 text-center text-sm max-w-2xl mx-auto",children:"\uD83D\uDCA1 Showing demo locations. Provide data prop to display your actual content."}),(0,d.jsxs)("div",{className:"mx-auto px-6",children:[(0,d.jsx)("div",{className:"ProseMirror [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3  mb-12",dangerouslySetInnerHTML:{__html:m}}),(null==u?void 0:u.length)>0?(0,d.jsx)("div",{className:"".concat((0,ec.Rm)(s)," gap-8"),children:u.map((e,t)=>(0,d.jsxs)("div",{className:"bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transform hover:-translate-y-1 transition-all duration-300 flex flex-col border border-gray-100",style:{height:"".concat(p,"px")},children:[(0,d.jsx)("div",{className:"h-64 overflow-hidden relative",children:(0,d.jsx)("img",{src:"".concat(ex.image_url,"/").concat(e.image),className:"w-full h-full object-cover hover:scale-105 transition-transform duration-300",alt:e.altText})}),(0,d.jsxs)("div",{className:"p-6 flex flex-col flex-grow",children:[(0,d.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:null==e?void 0:e.content}}),(0,d.jsxs)("div",{className:"mt-auto flex items-center flex-wrap gap-2 justify-between pt-4",children:[(null==e?void 0:e.leftButtonText)&&(0,d.jsx)("button",{onClick:()=>x(null==e?void 0:e.leftButtonUrl,null==e?void 0:e.openLeftInNewTab),className:"py-2 px-4 bg-[#5a8a48] text-white rounded-md text-sm font-medium hover:bg-[#4a7a38] transition-colors duration-300 flex-1 min-w-[120px]",children:null==e?void 0:e.leftButtonText}),(null==e?void 0:e.rightButtonText)&&(0,d.jsx)("button",{onClick:()=>x(null==e?void 0:e.rightButtonUrl,null==e?void 0:e.openRightInNewTab),className:"py-2 flex items-center justify-center gap-2 px-4 bg-[#5a8a48] text-white rounded-md text-sm font-medium hover:bg-[#4a7a38] transition-colors duration-300 flex-1 min-w-[120px]",children:null==e?void 0:e.rightButtonText})]})]})]},t))}):(0,d.jsx)("div",{className:"text-center py-12",children:(0,d.jsx)("p",{className:"text-gray-500 italic",children:"No locations available at the moment."})})]})]})},Cards_6:e=>{let{data:t}=e,{isFullWidth:a,numberOfColumns:l,paddingLeft:r,paddingTop:s,paddingRight:n,paddingBottom:o,Backgroun
1dColor:i,sectionTitle:c,featureCards:m}=t,u=m&&m.length>0?m:[{id:1,image:"https://cdn.staystack.encrobytes.com/client-website/1758876012984.jpg",altText:"Salt Lake",content:"<h3><strong>Salt Lake</strong></h3><p>The premier corporate hub of Kolkata featuring major IT companies, business parks, and excellent infrastructure.</p>",mainFeatures:[{feature:"Major Corporate Offices"},{feature:"IT & Business Parks"},{feature:"Modern Infrastructure"},{feature:"Excellent Connectivity"}],nearbyLocations:[{feature:"Corporate Hub Sector 5"},{feature:"Salt Lake Metro"}],buttonText:"Check Availability",buttonUrl:"contact"},{id:2,image:"https://cdn.staystack.encrobytes.com/client-website/1758876096176.jpeg",altText:"New Town",content:"<h3><strong>New Town</strong></h3><p>The modern planned township with premium commercial spaces and growing corporate presence.</p>",mainFeatures:[{feature:"Central Business District"},{feature:"Commercial Complexes"},{feature:"Growing Corporate Hub"},{feature:"Modern Amenities"}],nearbyLocations:[{feature:"TATA Medical Centre"},{feature:"Biswa Bengal Gate"},{feature:"Convention Centre"}],buttonText:"Check Availability",buttonUrl:"contact"}];return(0,d.jsx)("div",{className:"bg-gray-50 py-12 px-5",style:{backgroundColor:i||"#f9fafb",paddingTop:"".concat(s,"px")||0,paddingBottom:"".concat(o,"px")||0,paddingLeft:"".concat(r,"px")||0,paddingRight:"".concat(n,"px")||0},children:(0,d.jsxs)("div",{className:"".concat(a?"w-full":"container mx-auto"," px-6"),children:[c&&(0,d.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:c}}),(0,d.jsx)("div",{className:"gap-6 ".concat(a?"w-full":"max-w-4xl mx-auto"," ").concat((0,ec.Rm)(l||2)),children:u.map((e,t)=>(0,d.jsxs)("div",{className:"location-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transform hover:-translate-y-1 transition-all duration-300 flex flex-col h-full",children:[(0,d.jsx)("div",{className:"h-48 overflow-hidden relative",children:(0,d.jsx)("img",{src:(e=>e?e.startsWith("http")?e:"https://cdn.staystack.encrobytes.com/".concat(e):"")(e.image),className:"w-full h-full object-cover",alt:e.altText||"Location ".concat(t+1),onError:e=>{e.target.src="https://via.placeholder.com/400x200?text=Image+Not+Found"}})}),(0,d.jsxs)("div",{className:"p-4 flex flex-col flex-1",children:[(0,d.jsxs)("div",{className:"flex-1",children:[e.content&&(0,d.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:e.content}}),e.mainFeatures&&e.mainFeatures.length>0&&(0,d.jsxs)("div",{className:"mb-4",children:[(0,d.jsx)("h4",{className:"text-md font-semibold text-gray-800 mb-2",children:"Key Features"}),(0,d.jsx)("div",{className:"grid grid-cols-2 gap-1",children:e.mainFeatures.map((e,t)=>(0,d.jsxs)("div",{className:"flex items-center text-xs text-gray-600",children:[(0,d.jsx)("span",{className:"text-green-600 mr-1",children:"✓"}),e.feature]},t))})]}),e.nearbyLocations&&e.nearbyLocations.length>0&&(0,d.jsxs)("div",{className:"border-t border-gray-200 pt-3",children:[(0,d.jsxs)("h4",{className:"text-md font-semibold text-gray-800 mb-2 flex items-center",children:[(0,d.jsx)(eh.vq8,{className:"text-red-500 mr-2 text-sm"}),"Nearby Locations"]}),(0,d.jsx)("div",{className:"grid grid-cols-2 gap-2",children:e.nearbyLocations.map((e,t)=>(0,d.jsxs)("div",{className:"flex items-center p-2 bg-gray-50 rounded-md hover:bg-gray-100 transition-colors",children:[(0,d.jsx)("div",{className:"mr-2",children:(e=>{let t=e.toLowerCase();if(t.includes("corporate")||t.includes("office")||t.includes("business")||t.includes("hub"))return(0,d.jsx)(eh.ymh,{className:"text-blue-500"});if(t.includes("metro")||t.includes("station")||t.includes("transport"))return(0,d.jsx)(eh.F2I,{className:"text-green-500"});if(t.includes("hospital")||t.includes("medical")||t.includes("health"))return(0,d.jsx)(eh.ISI,{className:"text-red-500"});if(t.includes("monument")||t.includes("gate")||t.includes("landmark"))return(0,d.jsx)(eh.dI3,{className:"text-yellow-500"});if(t.includes("university")||t.includes("college")||t.includes("convention")||t.includes("centre"))return(0,d.jsx)(eh.MdY,{className:"text-indigo-500"});else if(t.includes("mall")||t.includes("shopping")||t.includes("market"))return(0,d.jsx)(eh.IoZ,{className:"text-purple-500"});else return(0,d.jsx)(eh.vq8,{className:"text-gray-500"})})(e.feature)}),(0,d.jsx)("span",{className:"text-xs font-medium text-gray-700",children:e.feature})]},t))})]})]}),(e.buttonText||e.buttonUrl)&&(0,d.jsx)("div",{className:"mt-4 pt-4 border-t border-gray-200",children:(0,d.jsx)("button",{onClick:()=>(e=>{if(e.startsWith("http"))window.open(e,"_blank","noopener,noreferrer");else{let t=document.getElementById(e);t?t.scrollIntoView({behavior:"smooth"}):console.warn("Element with id '".concat(e,"' not found"))}})(e.buttonUrl||"#"),className:"w-full py-2 bg-[#5a8a48] text-white rounded-md text-sm text-center font-medium hover:bg-[#4a7740] transition-colors block",children:e.buttonText||"Check Availability"})})]})]},e.id||t))})]})})},Cards_7:eg.default,Cards_8:ef.default,Cards_9:eb.default,Cards_10:ey.default,Cards_11:function(e){let{data:t}=e,{sectionTitle:a,isFullWidth:l,paddingTop:r,paddingBottom:s,paddingLeft:n,paddingRight:o,numberOfColumns:i=3,cards:c=[]}=t;return(0,d.jsx)("section",{className:"bg-white overflow-hidden",style:{paddingTop:"".concat(r,"px"),paddingBottom:"".concat(s,"px"),paddingLeft:"".concat(n,"px"),paddingRight:"".concat(o,"px")},children:(0,d.jsxs)("div",{className:l?"w-full px-4":"max-w-7xl mx-auto px-4",children:[a&&(0,d.jsx)("div",{className:"text-center mb-12",children:(0,d.jsx)("div",{className:"ProseMirror mb-6 [&_p:empty]:before:content-['\\u00A0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:a}})}),c.length>0&&(0,d.jsx)("div",{className:"grid ".concat({1:"grid-cols-1",2:"grid-cols-1 md:grid-cols-2",3:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",4:"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"}[i]||"grid-cols-1 md:grid-cols-3"," gap-8"),children:c.map((e,t)=>(0,d.jsxs)("div",{className:"relative group",children:[(0,d.jsxs)("div",{className:"relative overflow-hidden bg-gray-100 mb-4 rounded-lg cursor-pointer",children:[e.image&&(0,d.jsx)("img",{src:"".concat(ex.image_url,"/").concat(e.image),alt:e.altText||"Card ".concat(t+1),className:"w-full h-64 object-cover transition-all duration-500 group-hover:scale-110",loading:"lazy"}),(0,d.jsx)("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/40 transition-all duration-300 flex items-center justify-center"}),e.lable&&(0,d.jsxs)("div",{className:"absolute bottom-10 right-0 px-6 py-3 font-bold rounded-tl-2xl shadow-lg z-10 transition-transform duration-300 group-hover:scale-105",style:{background:null==e?void 0:e.labelBackgroun
1dColor,color:null==e?void 0:e.labelTextColor},children:["FROM ",null==e?void 0:e.lable]})]}),e.content&&(0,d.jsx)("div",{className:"space-y-2 px-2",children:(0,d.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed text-sm [&_p:empty]:before:content-['\\u00A0'] [&_p:empty]:block [&_p:empty]:h-3 line-clamp-3",style:{display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:null==e?void 0:e.content}})})]},t))})]})})},Cards_12:function(e){let{data:t}=e,{isFullWidth:a,paddingLeft:l,paddingRight:r,paddingTop:s,paddingBottom:n,backgroundColor:o,sectionTitle:i,numberOfColumns:c=2,cards:m=[],iconBackgroundColor:u="#ffffff",iconColor:p="#1f2937"}=t,x={backgroundColor:u},h={color:p};return(0,d.jsx)("div",{className:"".concat(a?"w-full":"max-w-7xl mx-auto"),style:{paddingTop:"".concat(s||64,"px"),paddingBottom:"".concat(n||64,"px"),paddingLeft:"".concat(l||16,"px"),paddingRight:"".concat(r||16,"px"),backgroundColor:o||"white"},children:(0,d.jsxs)("div",{className:"  text-white p-8 md:p-12",children:[i&&(0,d.jsx)("div",{className:"mb-10",children:i?(0,d.jsx)("div",{dangerouslySetInnerHTML:{__html:i}}):null}),m&&m.length>0&&(0,d.jsx)("div",{className:"grid ".concat((()=>{switch(c){case 1:return"grid-cols-1";case 2:default:return"md:grid-cols-2";case 3:return"md:grid-cols-3";case 4:return"md:grid-cols-4"}})()," gap-8 mt-12"),children:m.map((e,t)=>{let a=ei.A[e.icon];return(0,d.jsxs)("div",{className:"flex gap-6",children:[a&&(0,d.jsx)("div",{className:"flex-shrink-0",children:(0,d.jsx)("div",{className:"w-16 h-16 rounded-full flex items-center justify-center",style:x,children:(0,d.jsx)("div",{style:h,className:"w-8 h-8",children:N.cloneElement(a,{className:"w-8 h-8"})})})}),(0,d.jsxs)("div",{className:"flex-1",children:[e.title&&(0,d.jsx)("h3",{className:"text-xl font-bold mb-4",children:e.title}),e.content&&(0,d.jsx)("div",{className:"text-gray-300 leading-relaxed",dangerouslySetInnerHTML:{__html:e.content}})]})]},t)})}),(!m||0===m.length)&&(0,d.jsx)("div",{className:"text-center py-12",children:(0,d.jsx)("p",{className:"text-gray-400",children:"No cards content available"})})]})})},Cards_13:ev.default,Cards_14:ew.default,Cards_15:e=>{let{data:t={}}=e,{featureCard:a=[],backgroundColor:l="",cardBackgroundColors:r={},paddingTop:s=12,paddingBottom:n=12,paddingLeft:o=4,paddingRight:i=4,isFullWidth:c=!1,numberOfColumns:m=3,bgGradientFrom:u="",bgGradientTo:p="",cardColor:x="",newProperty1:h="default1",newProperty2:g="default2",newProperty3:f="default3"}=t,b=0===Object.keys(t).length,{outerCircle:y="#f8f8f8",innerCircle:v="#ffffff",innerCircleHover:w="#719430",text:j="#4d4d4d",description:N="#808080",border:k="#e1edc1"}=r;return(0,d.jsx)("div",{className:"".concat(c?"w-full":"max-w-6xl"," mx-auto"),style:{backgroundColor:l,paddingTop:"".concat(s,"px"),paddingBottom:"".concat(n,"px"),paddingLeft:"".concat(o,"px"),paddingRight:"".concat(i,"px"),...u&&p&&{background:"linear-gradient(to right, ".concat(u,", ").concat(p,")")}},children:(0,d.jsx)("div",{className:"".concat((0,ec.Rm)(m)," gap-8"),children:(b?[{icon:"FaRocket",content:"<h3>Dummy Title 1</h3><p>This is a dummy description for the first card when no data is provided.</p>"},{icon:"FaShieldAlt",content:"<h3>Dummy Title 2</h3><p>This is a dummy description for the second card when no data is provided.</p>"},{icon:"FaChartLine",content:"<h3>Dummy Title 3</h3><p>This is a dummy description for the third card when no data is provided.</p>"}]:a).map((e,t)=>(0,d.jsxs)("div",{className:"flex flex-col h-full items-center text-center p-4 rounded-lg space-y-4",style:{borderColor:k,borderWidth:"1px",backgroundColor:x||"transparent"},children:[e.icon&&(0,d.jsx)("div",{className:"h-24 w-24 rounded-full flex items-center justify-center",style:{backgroundColor:y},children:(0,d.jsx)("div",{className:"h-20 w-20 text-3xl rounded-full flex items-center justify-center transition duration-300 hover:scale-105",style:{backgroundColor:v,color:j},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=w,e.currentTarget.style.color="#ffffff"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=v,e.currentTarget.style.color=j},children:ei.A[e.icon]||e.icon})}),(0,d.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",style:{color:N},dangerouslySetInnerHTML:{__html:e.content}})]},t))})})}
1,Cards_16:ej.default,Cards_17:eN.default,Cards_18:ek.default,Cards_19:eC.default,Cards_20:e_.default,Cards_21:eT.default,Cards_22:eL.default,Cards_23:eS.default,Cards_24:eB.default,Single_Card_1:eA.default,Faq_1:eM.default,Faq_2:eI.default,Faq_3:eF.default,Faq_4:eR.default,Faq_5:eP.default,TwoColumn_2:e=>{let{data:t}=e,{leftContent:a,leftContentImage:l,rightContent:r,rightContentImage:s,isFullWidth:n,paddingLeft:o,paddingTop:i,paddingRight:c,paddingBottom:m}=t||{leftContent:'\n      <h3 class="text-xl font-semibold text-gray-800 mb-4">Left Column Title</h3>\n      <p class="mb-4">This is a default left column content. You can replace it with your own HTML content.</p>\n      <ul class="list-disc pl-5 space-y-2">\n        <li>Professional design</li>\n        <li>Responsive layout</li>\n        <li>Clean typography</li>\n      </ul>\n    ',rightContent:'\n      <h3 class="text-xl font-semibold text-gray-800 mb-4">Right Column Title</h3>\n      <p class="mb-4">This is a default right column content. Add your own content by passing data to this component.</p>\n      <div class="bg-blue-50 p-4 rounded-lg border border-blue-100">\n        <p class="text-blue-700">Tip: Use meaningful headings and concise paragraphs for better readability.</p>\n      </div>\n    '};return(0,d.jsx)("div",{className:"".concat(n?"w-full":"max-w-7xl mx-auto"),style:{paddingLeft:"".concat(o,"px"),paddingTop:"".concat(i,"px"),paddingRight:"".concat(c,"px"),paddingBottom:"".concat(m,"px")},children:(0,d.jsxs)("div",{className:"flex flex-col md:flex-row bg-white rounded-lg overflow-hidden ",children:[(0,d.jsxs)("div",{className:"w-full md:w-1/2 p-6 md:p-8 md:border-r border-gray-200",children:[(0,d.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 mb-10 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:a}}),l&&(0,d.jsx)("img",{src:"".concat(ex.image_url,"/").concat(l),alt:"image preview",className:"w-full h-auto object-cover rounded-lg"})]}),(0,d.jsxs)("div",{className:"w-full md:w-1/2 p-6 md:p-8",children:[r&&(0,d.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 mb-10 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:r}}),s&&(0,d.jsx)("img",{src:"".concat(ex.image_url,"/").concat(s),alt:"image preview",className:"w-full h-auto object-cover rounded-lg"})]})]})})},Slider_1:eW.default,Slider_2:eE.default,PricingCard_1:e=>{let{data:t}=e,{title:a,featureCards:l=eH,numberOfColumns:r=3,isFullWidth:s=!1,paddingTop:n=0,paddingLeft:o=0,paddingRight:i=0,paddingBottom:c=0}=t||{};return(0,d.jsxs)("div",{className:s?"w-full":"max-w-6xl mx-auto",style:{paddingTop:"".concat(n,"px"),paddingLeft:"".concat(o,"px"),paddingRight:"".concat(i,"px"),paddingBottom:"".concat(c,"px")},children:[(0,d.jsx)("div",{className:"w-full text-center",children:(0,d.jsx)("h2",{className:"text-3xl font-semibold mb-4",children:a})}),(0,d.jsx)("div",{className:(()=>{let e="grid gap-6";return 1===r?"".concat(e," grid-cols-1"):2===r?"".concat(e," grid-cols-1 md:grid-cols-2"):4===r?"".concat(e," grid-cols-1 md:grid-cols-2 lg:grid-cols-4"):"".concat(e," grid-cols-1 md:grid-cols-2 lg:grid-cols-3")})(),children:l.map((e,t)=>(0,d.jsxs)("div",{className:"border bg-white border-gray-200 rounded-lg    overflow-hidden shadow-sm hover:shadow-md transition    duration-300 min-h-[450px] flex flex-col",children:[(0,d.jsx)("img",{src:"".concat(ex.image_url,"/").concat(e.image),alt:e.altText,className:"w-full h-64 object-cover p-4"}),(0,d.jsx)("div",{className:"p-6 text-center text-gray-700 flex flex-col justify-between flex-1",children:(0,d.jsx)("div",{className:"text-lg font-semibold",dangerouslySetInnerHTML:{__html:e.content}})})]},t))})]})},Form_1:eD.default,Form_2:eq.default,Form_3:ez.default,Form_4:eO.default,Form_5:eG.default,Form_6:eU.default,Form_7:eV.default,Form_8:eY.default,Map_1:eK.default,Map_2:function(e){let{data:t}=e,{lat:a,long:l,paddingLeft:r,paddingTop:s,paddingRight:n,paddingBottom:o,isFullWidth:i,sectionTitle:c,leftContent:m,backgroundColor:u}=t,p={lat:a||28.5485,lng:l||77.2425},x=!!c,h=!!m,g=x||h,f=()=>{window.open("https://www.google.com/maps?q=".concat(p.lat,",").concat(p.lng),"_blank")};return(0,d.jsxs)("div",{className:"".concat(i?"w-full":"max-w-7xl mx-auto"," px-4 py-16"),style:{paddingLeft:r?"".concat(r,"px"):void 0,paddingTop:s?"".concat(s,"px"):void 0,paddingRight:n?"".concat(n,"px"):void 0,paddingBottom:o?"".concat(o,"px"):void 0,backgroundColor:u||"#ffffff"},children:[x?(0,d.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 mb-8",dangerouslySetInnerHTML:{__html:c||""}}):!g&&(0,d.jsx)("h1",{className:"text-4xl font-bold text-green-700 text-center mb-12",children:"Prime Location in Greater Kailash"}),(0,d.jsxs)("div",{className:"grid lg:grid-cols-2 gap-12 items-start",children:[(0,d.jsxs)("div",{children:[h?(0,d.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 mb-8",dangerouslySetInnerHTML:{__html:m||""}}):!g&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("p",{className:"text-gray-700 text-lg mb-8 leading-relaxed",children:"Our Greater Kailash Enclave I property is strategically located to offer easy access to everything you need."}),(0,d.jsx)("ul",{className:"space-y-4 mb-8",children:[{name:"M-Block Market, GK-1:",description:"Famous for shopping & dining (5 min drive)"},{name:"N-Block Market, GK-1:",description:"More options for cafes and boutiques (5 min drive)"},{name:"Lotus Temple:",description:"Iconic landmark (15 min drive)"},{name:"Nehru Place:",description:"Major business & IT hub (10 min drive)"},{name:"Max Hospital:",description:"Leading healthcare facility (10 min drive)"},{name:"Delhi Metro (Kailash Colony Station):",description:"Excellent connectivity (5 min drive)"},{name:"Indira Gandhi International Airport:",description:"Approx. 45-60 min drive"}].map((e,t)=>(0,d.jsxs)("li",{className:"flex items-start gap-3",children:[(0,d.jsx)(to.A,{className:"w-5 h-5 text-green-600 flex-shrink-0 mt-1"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"font-semibold text-gray-900",children:e.name})," ",(0,d.jsx)("span",{className:"text-gray-700",children:e.description})]})]},t))})]}),(0,d.jsxs)("button",{onClick:f,className:"bg-green-600 hover:bg-green-700 text-white font-semibold px-6 py-3 rounded-lg flex items-center gap-2 transition-colors shadow-md",children:[(0,d.jsx)(ti.A,{className:"w-5 h-5"}),"View on Google Maps"]})]}),(0,d.jsxs)("div",{className:"bg-gray-100 rounded-lg overflow-hidden shadow-lg",children:[(0,d.jsx)("div",{className:"bg-white p-4 border-b",children:(0,d.jsxs)("div",{className:"flex items-start justify-between",children:[(0,d.jsx)("div",{className:"flex-1",children:(0,d.jsx)("button",{onClick:f,className:"text-blue-600 text-sm hover:underline",children:"View larger map"})}),(0,d.jsx)("button",{onClick:()=>{window.open("https://www.google.com/maps/dir/?api=".concat("AIzaSyBTjE9Vcira07CaffplqqwGS1AbqTib
10Cw","&destination=").concat(p.lat,",").concat(p.lng),"_blank")},className:"text-blue-600 text-sm font-semibold px-4 py-2 border border-blue-600 rounded hover:bg-blue-50",children:"Directions"})]})}),(0,d.jsxs)("div",{className:"relative h-96",children:[(0,d.jsx)("iframe",{src:"https://www.google.com/maps/embed/v1/place?key=".concat("AIzaSyBTjE9Vcira07CaffplqqwGS1AbqTib0Cw","&q=").concat(p.lat,",").concat(p.lng,"&zoom=15&maptype=roadmap"),width:"100%",height:"100%",style:{border:0},allowFullScreen:"",loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",title:"Olive Service Apartments Location"}),(0,d.jsx)("div",{className:"absolute bottom-4 right-4 bg-white px-3 py-1 rounded shadow-sm",children:(0,d.jsx)("span",{className:"text-sm font-semibold text-gray-700",children:"Google"})})]}),(0,d.jsx)("div",{className:"bg-white p-2 border-t text-xs text-gray-500 text-center",children:"Map data \xa92025 | Terms | Report a map error"})]})]})]})},CounterSection_1:eJ.default,CounterSection_2:eZ.default,Info_1:eQ.default,Gallery_1:eX.default,Gallery_2:e$.default,Gallery_3:e0.default,Gallery_4:e1.default,Gallery_5:e2.default,Gallery_6:e5.default,Amenities_1:e=>{let{data:t}=e,{isFullWidth:a,numberOfColumns:l}=t,r=[{icon:e4.A,label:"High-Speed Wi-Fi"},{icon:e3.A,label:"Air Conditioning"},{icon:e6.A,label:"Flat Screen TV"},{icon:e8.A,label:"Full Kitchen"},{icon:e7.A,label:"Housekeeping"},{icon:e9.A,label:"24/7 Security"},{icon:te.A,label:"Parking Available"},{icon:tt.A,label:"Power Backup"},{icon:ta.A,label:"Concierge Service"},{icon:tl.A,label:"Private Entrance"}],s=(null==t?void 0:t.sectionTitle)||'<p style="text-align: center;"><span style="font-size: 42px;">Facilities & Amenities</span></p>',n=(null==t?void 0:t.paddingTop)||100,o=(null==t?void 0:t.paddingBottom)||100,i=(null==t?void 0:t.paddingLeft)||50,c=(null==t?void 0:t.paddingRight)||50,m=(null==t?void 0:t.cards)||r,u=(null==t?void 0:t.backgroundColor)||"#ffffff",p=(null==t?void 0:t.cardBackgroundColor)||"#ffffff";return(0,d.jsx)("div",{className:"".concat(a?"w-full":"max-w-7xl mx-auto"),style:{backgroundColor:u,paddingTop:"".concat(n,"px"),paddingBottom:"".concat(o,"px"),paddingLeft:"".concat(i,"px"),paddingRight:"".concat(c,"px")},children:(0,d.jsxs)("div",{className:"w-full",children:[(0,d.jsx)("div",{dangerouslySetInnerHTML:{__html:s},className:"mb-12"}),(0,d.jsx)("div",{className:"".concat((0,ec.Rm)(Number(l))," gap-5"),children:m.map((e,a)=>(0,d.jsxs)("div",{className:"rounded-lg p-8 flex flex-col items-center justify-center text-center shadow-sm hover:shadow-md transition-shadow duration-200",style:{backgroundColor:p},children:[((e,a)=>{if(!(null==t?void 0:t.cards)&&e.icon){let t=e.icon;return(0,d.jsx)(t,{className:"w-4 h-5 mb-4",strokeWidth:1.5,style:{color:e.iconColor||"#15803d"}})}if(e.icon&&ei.A[e.icon]){let t=ei.A[e.icon];return N.cloneElement(t,{className:"w-10 h-10 mb-4 ".concat(t.props.className||""),style:{color:e.iconColor||"#15803d",...t.props.style}})}return(0,d.jsx)(tr,{})})(e,0),(0,d.jsx)("h3",{className:"font-medium text-sm",style:{color:"#000000",fontWeight:"bold"},children:e.label})]},a))})]})})},Amenities_2:e=>{let{data:t}=e,a={sectionTitle:"<h2 class='text-3xl font-bold text-center mb-8'>Room Amenities</h2><p class='text-lg text-gray-600 text-center'>Everything you need for a comfortable stay</p>",isFullWidth:!1,paddingTop:48,paddingBottom:48,paddingLeft:16,paddingRight:16,backgroundColor:"#f9fafb",textColor:"#374151",iconColor:"#5a8a48",litstAmenities:[{icon:"wifi",label:"High-speed WiFi"},{icon:"tv",label:"Smart TV"},{icon:"kitchen",label:"Fully equipped kitchen"},{icon:"ac",label:"Air conditioning"},{icon:"laundry",label:"Laundry facilities"},{icon:"parking",label:"Free parking"},{icon:"security",label:"24/7 security"},{icon:"cleaning",label:"Housekeeping service"}]},l=t&&Object.keys(t).length>0,{sectionTitle:r=a.sectionTitle,isFullWidth:s=a.isFullWidth,paddingTop:n=a.paddingTop,paddingBottom:o=a.paddingBottom,paddingLeft:i=a.paddingLeft,paddingRight:c=a.paddingRight,backgroundColor:m=a.backgroundColor,textColor:u=a.textColor,iconColor:p=a.iconColor,litstAmenities:x=a.litstAmenities}=l?t:a,h={color:u};return(0,d.jsxs)("section",{style:{paddingTop:"".concat(n,"px"),paddingBottom:"".concat(o,"px"),paddingLeft:"".concat(i,"px"),paddingRight:"".concat(c,"px"),backgroundColor:m},id:"apartments",children:[!l&&(0,d.jsx)("div",{className:"bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded mb-6 text-center text-sm max-w-2xl mx-auto",children:"\uD83D\uDCA1 Showing demo amenities. Provide data prop to display your actual amenities."}),(0,d.jsx)("div",{className:s?"w-full":"max-w-7xl mx-auto",children:(0,d.jsxs)("div",{children:[r&&(0,d.jsx)("div",{className:"ProseMirror leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 mt-3 text-center",style:h,dangerouslySetInnerHTML:{__html:r}}
1),(0,d.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-y-3 gap-x-6 max-w-3xl mx-auto",children:x&&x.length>0?x.map((e,t)=>(0,d.jsxs)("div",{className:"flex items-start",style:h,children:[(0,d.jsx)("span",{className:"flex-shrink-0 mr-2",style:{color:p},children:ei.A[e.icon]||(0,d.jsx)(ts,{})}),e.label]},t)):(0,d.jsx)("div",{className:"text-center py-4 col-span-2",style:h,children:"No amenities available"})})]})})]})},Amenities_3:tn.default,Lists_1:function(e){let{data:t}=e,{paddingTop:a,paddingLeft:l,paddingBottom:r,paddingRight:s,isFullWidth:n,numberOfColumns:o,sectionTitle:i,backgroundColor:c,lists:m=[]}=t||{paddingTop:100,paddingBottom:100,paddingLeft:50,paddingRight:50,isFullWidth:!0,numberOfColumns:"2",sectionTitle:'<p style="text-align: center; font-size: 42px; font-weight: bold;">Facilities of Olive\'s Service Apartments in Chennai</p>',backgroundColor:"#ffffff",lists:[{label:"<p>Service apartments in Chennai offer different discounts on a weekly and monthly basis at the lowest price budget.</p>"},{label:"<p>Apartments in Chennai offers you the facility of fully furnished with more space options for Deluxe rooms with 1 BHK, 2 BHK, 3 BHK as well as studio apartments in Chennai on daily, weekly and monthly basis.</p>"},{label:"<p>Our Apartment are in the proximity of malls, shopping complexes and restaurants.</p>"},{label:"<p>The public transport like Ola and Uber are readily available.</p>"},{label:"<p>Our rooms have twin beds, king/queen beds with spacious living areas and are easily available.</p>"},{label:"<p>To make our customer feel special about themselves each room is connected with free Wifi, air conditioner, Tata Sky Tv, Wardrobes with adequate necessary furniture.</p>"},{label:"<p>On Deluxe room bookings guests can avail breakfast.</p>"},{label:"<p>Customer can access free wifi internet facility.</p>"},{label:"<p>Option to have the individual kitchen for all apartments to cook home like food.</p>"},{label:"<p>A washing machine is available on complimentary basis for our guests so that they can wash their clothes easily. But if someone wants laundry facility then he/she can avail it on reasonable charges.</p>"},{label:"<p>Full power backup setup is there.</p>"},{label:"<p>Housekeeping service is included in pricing.</p>"},{label:"<p>Free car parking is available</p>"},{label:"<p>Special Care Rooms are arranged for Single ladies and guests who come for medical treatment.</p>"},{label:"<p>We accept payments in cash, bank transfers , credit and debit cards payments. In addition to our services we provide taxi service for outdoor visits.</p>"}]},u=e=>({__html:e}),p=parseInt(o)||2,x=(()=>
1{if(1===p)return[m];let e=Math.ceil(m.length/p),t=[];for(let a=0;a<p;a++)t.push(m.slice(a*e,(a+1)*e));return t})();return(0,d.jsx)("div",{style:{backgroundColor:c||"#ffffff",paddingTop:"".concat(a||100,"px"),paddingBottom:"".concat(r||100,"px"),paddingLeft:"".concat(l||50,"px"),paddingRight:"".concat(s||50,"px")},className:"".concat(n?"w-full":"max-w-7xl mx-auto"),children:(0,d.jsxs)("div",{className:"max-w-7xl mx-auto",children:[i&&(0,d.jsx)("div",{className:"mb-12 text-center",dangerouslySetInnerHTML:u(i)}),(0,d.jsx)("div",{className:"grid gap-8 md:gap-12 ".concat(1===p?"grid-cols-1":2===p?"md:grid-cols-2":"md:grid-cols-3"),children:x.map((e,t)=>(0,d.jsx)("div",{className:"space-y-6",children:e.map((e,a)=>(0,d.jsxs)("div",{className:"flex gap-3",children:[(0,d.jsx)("div",{className:"flex-shrink-0 mt-1",children:(0,d.jsx)(tc.A,{className:"w-5 h-5 fill-gray-700 text-gray-700"})}),(0,d.jsx)("div",{className:"text-gray-700 leading-relaxed",children:e.label?(0,d.jsx)("div",{dangerouslySetInnerHTML:u(e.label)}):(0,d.jsx)("span",{children:e})})]},"".concat(t,"-").concat(a)))},t))}),0===m.length&&(0,d.jsx)("div",{className:"text-center text-gray-500 py-8",children:(0,d.jsx)("p",{children:"No facilities listed yet."})})]})})},Script_1:function(e){let{data:t}=e,{htmlContent:a,height:l=200}=t||{};return void 0===a?null:(0,d.jsx)("div",{className:"w-full px-5 py-5 flex justify-center items-center relative z-1",children:(0,d.jsx)("iframe",{srcDoc:"\n    <!DOCTYPE html>\n    <html>\n      <head>\n        <style>\n          body {\n            display: flex;\n            justify-content: center;\n            align-items: center;\n            margin: 0;\n\n            box-sizing: border-box;\n          }\n          /* Target any button and make it block-level */\n          button {\n            display: block;\n            margin: 0 auto;\n          }\n          /* For any inline elements, make them block or inline-block */\n          * {\n            text-align: center;\n          }\n        </style>\n      </head>\n      <body>\n        ".concat(a,"\n      </body>\n    </html>\n  "),title:"Embedded HTML",width:"100%",height:l||"auto",style:{paddingTop:"".concat(t.paddingTop,"px")||0,paddingBottom:"".concat(t.paddingBottom,"px")||0},sandbox:"   allow-same-origin   allow-scripts   allow-forms   allow-popups   allow-popups-to-escape-sandbox   "})})},Table_1:e=>{let{data:t}=e;if(!t||!t.Columns||0===t.Columns.length)return(0,d.jsx)("div",{children:"No table data available"});console.log("data from table 1",t);let{editorContent:a,cellSpacing:l=0,borderColor:r="#000000",Columns:s,isFullWidth:n,paddingTop:o=0,paddingBottom:i=0,paddingLeft:c=0,paddingRight:m=0,headerBackgroundColor:u="#f8f9fa",headerTextColor:p="#212529",bodyBackgroundColor:x="#ffffff",bodyTextColor:h="#212529"}=t,g={padding:"".concat(o,"px ").concat(m,"px ").concat(i,"px ").concat(c,"px"),width:"100%",overflowX:"auto"},f=s.length>0&&s[0].cell.length>0,b=f?s.map(e=>{var t;return(null==(t=e.cell[0])?void 0:t.cellData)||""}):[],y=f?Math.max(0,s[0].cell.length-1):s[0].cell.length;return(0,d.jsxs)("div",{style:g,className:"".concat(n?"w-full":"max-w-7xl mx-auto"),children:[a&&(0,d.jsx)("div",{dangerouslySetInnerHTML:{__html:a}}),(0,d.jsxs)("table",{style:{borderCollapse:"collapse",width:"100%",tableLayout:"auto"},children:[f&&(0,d.jsx)("thead",{children:(0,d.jsx)("tr",{children:b.map((e,t)=>(0,d.jsx)("th",{style:{border:"1px solid ".concat(r),padding:"8px",backgroundColor:u,color:p,textAlign:"left",fontWeight:"normal"},dangerouslySetInnerHTML:{__html:e||""}},"header-".concat(t)))})}),(0,d.jsx)("tbody",{children:Array.from({length:y}).map((e,t)=>{let a=f?t+1:t;return(0,d.jsx)("tr",{children:s.map((e,t)=>{var l;return(0,d.jsx)("td",{style:{border:"1px solid ".concat(r),padding:"8px",backgroundColor:x,color:h,wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:(null==(l=e.cell[a])?void 0:l.cellData)||""}},"cell-".concat(t,"-").concat(a))})},"row-".concat(a))})})]})]})},Table_2:e=>{let{data:t}=e,{column1Title:a="Services",column2Title:l="Column 2",column3Title:r="Column 3",Columns:s=[],textColor:n="#374151",primaryBackgroun
1dColor:o="#fafafa",secondaryBackgroundColor:i="#ffffff"}=t&&t.Columns&&Array.isArray(t.Columns)&&t.Columns.length>0?t:{secondaryBackgroundColor:"#f9fafb",textColor:"#4b5563",primaryBackgroundColor:"#14b8a6",secondaryBackgroundColor:"#34d399",column1Title:"Services",column2Title:"End to End Property\nManagement",column3Title:"Rental Management",Columns:[{text:"Site visit to assess repair, utilities & society rules",firstColumnBoolean:!0,secondColumnBoolean:!0},{text:"Police Verification & Rent Agreement",firstColumnBoolean:!0,secondColumnBoolean:!0},{text:"Facilitate tenant move-in/out",firstColumnBoolean:!0,secondColumnBoolean:!0},{text:"Photography",firstColumnBoolean:!0,secondColumnBoolean:!0},{text:"Resolve dispute, if any",firstColumnBoolean:!0,secondColumnBoolean:!1},{text:"Periodic visit to property",firstColumnBoolean:!0,secondColumnBoolean:!1},{text:"Posting and publishing in multiple channel",firstColumnBoolean:!0,secondColumnBoolean:!0},{text:"Collection of security deposit and 1st rent",firstColumnBoolean:!0,secondColumnBoolean:!0},{text:"Repair & Maintenance",firstColumnBoolean:!0,secondColumnBoolean:!1},{text:"Connect with prospective Tenant and show flat",firstColumnBoolean:!0,secondColumnBoolean:!0}]},c={background:"linear-gradient(to right, ".concat(o,", ").concat(i,")")};return(0,d.jsx)("div",{className:"w-full max-w-6xl mx-auto p-4",children:(0,d.jsx)("div",{className:"bg-white rounded-lg shadow-lg overflow-hidden",children:(0,d.jsxs)("div",{className:"grid grid-cols-3",children:[(0,d.jsx)("div",{className:"bg-gray-100 p-6 border-b border-r border-gray-200",children:(0,d.jsx)("h3",{className:"text-gray-700 font-semibold text-lg whitespace-pre-line",children:a})}),(0,d.jsx)("div",{className:"p-6 border-b border-r border-white",style:{backgroundColor:o},children:(0,d.jsx)("h3",{className:"text-black font-semibold text-lg text-center whitespace-pre-line",children:l})}),(0,d.jsx)("div",{className:"p-6 border-b border-white",style:c,children:(0,d.jsx)("h3",{className:"text-black font-semibold text-lg text-center whitespace-pre-line",children:r})}),s.map((e,t)=>(0,d.jsxs)(N.Fragment,{children:[(0,d.jsx)("div",{className:"p-4 border-b border-r border-gray-200",style:{backgroundColor:t%2==0?i:"#ffffff",color:n},children:(0,d.jsx)("p",{className:"text-sm font-medium",children:e.text})}),(0,d.jsx)("div",{className:"p-4 border-b border-r border-gray-200 flex items-center justify-center",style:{backgroundColor:t%2==0?i:"#ffffff",color:n},children:e.firstColumnBoolean?(0,d.jsx)("div",{className:"bg-green-500 rounded-full p-1",children:(0,d.jsx)(td.A,{className:"w-4 h-4 text-white",strokeWidth:3})}):(0,d.jsx)("div",{className:"bg-red-500 rounded-full p-1",children:(0,d.jsx)(tm.A,{className:"w-4 h-4 text-white",strokeWidth:3})})}),(0,d.jsx)("div",{className:"p-4 border-b border-gray-200 flex items-center justify-center",style:{backgroundColor:t%2==0?i:"#ffffff"},children:e.secondColumnBoolean?(0,d.jsx)("div",{className:"bg-green-500 rounded-full p-1",children:(0,d.jsx)(td.A,{className:"w-4 h-4 text-white",strokeWidth:3})}):(0,d.jsx)("div",{className:"bg-red-500 rounded-full p-1",children:(0,d.jsx)(tm.A,{className:"w-4 h-4 text-white",strokeWidth:3})})})]},t))]})})})},Tabs_1:tu.default,Video_1:e=>{let{data:t}=e;console.log("data",t);let a=(e=>{let t=null==e?void 0:e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);return t&&11===t[2].length?t[2]:null})(null==t?void 0:t.videoUrl),l=(null==t?void 0:t.height)||"500",r=(null==t?void 0:t.isFullWidth)?"100%":(null==t?void 0:t.width)||"500",s=(null==t?void 0:t.isFullWidth)||!1,n=(null==t?void 0:t.paddingTop)?"".concat(t.paddingTop,"px"):"0",o=(null==t?void 0:t.paddingBottom)?"".concat(t.paddingBottom,"px"):"0",i=(null==t?void 0:t.paddingLeft)?"".concat(t.paddingLeft,"px"):"0",c=(null==t?void 0:t.paddingRight)?"".concat(t.paddingRight,"px"):"0",m=(null==t?void 0:t.position)||"center";return(0,d.jsx)("div",{style:(()=>{let e={paddingTop:n,paddingBottom:o,paddingLeft:i,paddingRight:c};switch(m){case"left":e.display="flex",e.justifyContent="flex-start";break;
1case"right":e.display="flex",e.justifyContent="flex-end";break;default:e.display="flex",e.justifyContent="center"}return e})(),children:a?(0,d.jsx)("iframe",{src:a?"https://www.youtube.com/embed/".concat(a):"",height:s?void 0:l,width:s?void 0:r,style:{height:s?"auto":l,width:r,aspectRatio:s?"16/9":"auto",border:"none",display:"block"},title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):(0,d.jsx)("div",{children:"Invalid YouTube URL"})})},Video_2:tp.default}},60245:(e,t,a)=>{a.d(t,{default:()=>d});var l=a(95155),r=a(52619),s=a.n(r);a(12115);var n=a(20063),o=a(97290);let i={mainText:"Experience Luxury Like Never Before",mainTextFontSize:32,mainTextPositions:"center",subText:"<p>Discover world-class amenities and breathtaking views at unbeatable prices</p><p>Limited time offers available</p>",buttonText:"",buttonUrl:"/special-offers",openInNewTab:!1,backgroundImage:"https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",isFullWidth:!0,paddingTop:80,paddigBottom:80,paddingLeft:20,paddingRight:20,backgroundColor:"rgba(0, 0, 0, 0.6)",textColor:"#ffffff",buttonBackgroundColor:"#7A8B5C",buttonTextColor:"#ffffff",buttonTextSize:18,buttonWidth:100,buttonHeight:20},c=[{backgroundColor:"#000000",textColor:"text-white",buttonBackgroundColor:"rgba(255, 255, 255, 0.2)"},{backgroundColor:"#111111",textColor:"text-white",buttonBackgroundColor:"rgba(255, 255, 255, 0.2)"},{backgroundColor:"#1a1a1a",textColor:"text-white",buttonBackgroundColor:"rgba(255, 255, 255, 0.2)"}],d=e=>{var t,a;let{data:r,preview:d=!1}=e,{brandSlug:m,website_slug:u}=(0,n.useParams)(),p=d?i:r||{},{openInNewTab:x=!1}=p,h=(()=>
1{if(!p||0===Object.keys(p).length)return i;if(!(e=>["mainText","backgroundColor","textColor","buttonText","buttonUrl","paddingTop","paddingBottom"].every(t=>void 0!==e[t]&&null!==e[t]&&""!==e[t]))(p)){let e=c[Math.floor(Math.random()*c.length)];return{...i,...e,...p}}return{...p,backgroundColor:p.backgroundColor||"#000000",textColor:p.textColor||"text-white",mainTextPosition:p.mainTextPosition||"center"}})(),{backgroundColor:g="#000000",textColor:f="#ffffff",buttonBackgroundColor:b,buttonTextColor:y,mainText:v,subText:w,mainTextPosition:j="center",buttonText:N,buttonUrl:k,isFullWidth:C,paddingTop:_,paddingBottom:T=null==p?void 0:p.paddigBottom,paddingLeft:L,paddingRight:S,mainTextFontSize:B,buttonWidth:A=20,buttonHeight:M=10,buttonTextSize:I=16}=h;console.log("bannerData",h);let F="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),R="".concat(p.paddigBottom,"px"),P=(e=>{switch(e){case"left":return{container:"items-start text-left",buttonContainer:"justify-start"};case"right":return{container:"items-end text-right",buttonContainer:"justify-end"};default:return{container:"items-center text-center",buttonContainer:"justify-center"}}})(j),W=k&&"#"!==k?(0,o.isExternalUrl)(k)?k:k.startsWith("/")&&F?((e,t,a)=>F?"/".concat(t,"/website/").concat(a).concat(e):e)(k,m,u):k:"#",E=k&&"#"!==k&&(0,o.isExternalUrl)(k)?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,l.jsx)("div",{className:"relative w-full overflow-hidden",children:(0,l.jsxs)("div",{className:"relative z-10 flex flex-col  ".concat(C?"w-full":"max-w-6xl mx-auto"),style:{paddingTop:"".concat(_,"px"),paddingBottom:R,paddingLeft:"".concat(L,"px"),paddingRight:"".concat(S,"px"),backgroundColor:g,background:g},children:[v&&(0,l.jsx)("div",{className:"text-lg md:text-xl font-bold mb-1 w-full text-".concat((null==h?void 0:h.mainTextPositions)||"center"),style:{color:f,fontSize:"".concat(B,"px")},children:v}),w&&(0,l.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:w}}),N&&(0,l.jsx)("div",{className:"flex ".concat(P.buttonContainer," w-full mt-2"),children:(0,l.jsx)(s(),{href:W,...E,className:"font-medium rounded-md transition-all duration-300 hover:bg-opacity-40 border border-white border-opacity-30",style:{color:y,backgroundColor:b,paddingBlock:"".concat(M,"px"),paddingInline:"".concat(A,"px"),fontSize:"".concat(I,"px")},target:x?"_blank":"_self",children:N})})]})})}},60608:(e,t,a)=>{a.d(t,{default:()=>i});var l=a(95155),r=a(97290),s=a(20063);a(12115);var n=a(52619),o=a.n(n);function i(e){var t,a;let{data:n}=e,{isFullWidth:i=!1,numberOfColumns:c=3,sectionTitle:d,paddingTop:m=100,paddingBottom:u=100,paddingLeft:p=50,paddingRight:x=50,buttonText:h="VIEW",buttonUrl:g="#",buttonBackgroundColor:f="#000000",buttonTextColor:b="#ffffff",cards:y=[]}=n||{},v=[{id:1,title:"Dlf Cyber City Gurgaon",image:"https://images.unsplash.com/photo-1502672260066-6bc35f0a1055?w=800&q=80",buttonText:"VIEW",buttonUrl:"#"},{id:2,title:"MG Road Gurgaon",image:"https://images.unsplash.com/photo-1522771739844-6a9f6d5f14af?w=800&q=80",buttonText:"VIEW",buttonUrl:"#"},{id:3,title:"Golf Course Road Gurgaon",image:"https://images.unsplash.com/photo-1552321554-5fefe8c9ef14?w=800&q=80",buttonText:"VIEW",buttonUrl:"#"}],{brandSlug:w,website_slug:j,landingPageSlug:N}=(0,s.useParams)(),k="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),C=y.length>0?y.map((e,t)=>{var a;return{id:t+1,title:e.title,image:e.image||(null==(a=v[t%v.length])?void 0:a.image),buttonText:e.buttonText||h,buttonUrl:e.buttonUrl||e.buttonUtl||g,openInNewTab:e.openInNewTab,altText:e.altText}}):v,_={backgroundColor:f,color:b,border:"1px solid ".concat("#ffffff"==f?"$000000":f)};return(0,l.jsxs)("div",{className:"mx-auto px-4 py-12",style:{paddingTop:"".concat(m,"px"),paddingBottom:"".concat(u,"px"),paddingLeft:i?"0":"".concat(p,"px"),paddingRight:i?"0":"".concat(x,"px"),maxWidth:i?"100%":"7xl"},children:[d&&(0,l.jsx)("div",{className:"mb-5",children:(0,l.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:d}})}),(0,l.jsx)("div",{className:"grid ".concat((()=>{switch(c){case 1:return"grid-cols-1";case 2:return"grid-cols-1 md:grid-cols-2";case 3:default:return"grid-cols-1 md:grid-cols-2 lg:grid-cols-3";case 4:return"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"}})()," gap-8"),children:C.map(e=>{var t;let a=(e=>{if(e.startsWith("http://")||e.startsWith("https://"))return e;if(j)return(console.log("generate url",e,w,j),k)?"/".concat(w,"/website/").concat(j,"/").concat(e):e;return e})(e.buttonUrl),s=a.startsWith("http://")||a.startsWith("https://");return(0,l.jsxs)("div",{className:"flex flex-col group",children:[(0,l.jsx)("div",{className:"relative overflow-hidden rounded-sm mb-4 aspect-[4/3]",children:(0,l.jsx)("img",{src:(null==(t=e.image)?void 0:t.startsWith("http"))?e.image:"".concat(r.image_url,"/").concat(e.image),alt:e.altText||e.title,className:"w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",onError:t=>{var a;let l=null==(a=v[e.id%v.length])?void 0:a.image;l&&t.target.src!==l&&(t.target.src=l)}})}),(0,l.jsx)("div",{className:"mb-4 flex-grow",children:(0,l.jsx)("div",{className:"ProseMirror text-gray-800 font-normal text-xl leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_p]:mb-0",dangerouslySetInnerHTML:{__html:e.title}}
1)}),s?(0,l.jsx)("a",{href:a,target:e.openInNewTab?"_blank":"_self",rel:e.openInNewTab?"noopener noreferrer":void 0,className:"px-6 py-2 border-1 text-sm font-medium transition-all duration-200 w-fit tracking-wider text-center hover:opacity-90 cursor-pointer inline-block",style:_,onMouseEnter:e=>{e.currentTarget.style.opacity="0.9",e.currentTarget.style.transform="translateY(-1px)"},onMouseLeave:e=>{e.currentTarget.style.opacity="1",e.currentTarget.style.transform="translateY(0)"},children:e.buttonText}):(0,l.jsx)(o(),{href:a,target:e.openInNewTab?"_blank":"_self",onClick:t=>((e,t)=>{if(N&&t.startsWith("#")){e.preventDefault();let a=t.replace("#",""),l=document.getElementById(a);l?l.scrollIntoView({behavior:"smooth",block:"start"}):console.warn("Element with id '".concat(a,"' not found"))}})(t,e.buttonUrl),className:"px-6 py-2 border-1 text-sm font-medium transition-all duration-200 w-fit tracking-wider text-center hover:opacity-90 cursor-pointer inline-block",style:_,onMouseEnter:e=>{e.currentTarget.style.opacity="0.9",e.currentTarget.style.transform="translateY(-1px)"},onMouseLeave:e=>{e.currentTarget.style.opacity="1",e.currentTarget.style.transform="translateY(0)"},children:e.buttonText})]},e.id)})})]})}},61326:(e,t,a)=>{a.d(t,{default:()=>c});var l=a(95155),r=a(12115),s=a(90368),n=a(27937),o=a(97290),i=a(74163);function c(e){var t,a,c,d,m;let{data:u}=e,{isFullWidth:p,paddingLeft:x,paddingRight:h,paddingBottom:g,noOfColumns:f,paddingTop:b,images:y=[],gallery:v,numberOfColumns:w=1}=u||{},[j,N]=(0,r.useState)({}),k=u||{},C=null!=(t=k.isFullWidth)?t:p,_=null!=(a=k.paddingTop)?a:b,T=null!=(c=k.paddingBottom)?c:g,L=null!=(d=k.paddingLeft)?d:x,S=null!=(m=k.paddingRight)?m:h,B=k.gallery||[],A=B.length>0?B:y.length>0?[{images:y.map(e=>({image:e,altText:""}))}]:[];if(A.length>0&&0===Object.keys(j).length){let e={};A.forEach((t,a)=>{e[a]=0}),N(e)}return(0,l.jsx)("div",{className:"".concat(C?"w-full":"max-w-7xl mx-auto"),style:{paddingTop:"".concat(_,"px"),paddingBottom:"".concat(T,"px"),paddingLeft:"".concat(L,"px"),paddingRight:"".concat(S,"px"),backgroundColor:"#f9fafb"},children:(0,l.jsx)("div",{className:C?"":"max-w-7xl mx-auto",children:(0,l.jsxs)("div",{className:"".concat((0,i.Rm)(Number(w))," gap-4"),children:[A.map((e,t)=>{var a,r;let i=e.images||[],c=j[t]||0;return(0,l.jsx)("div",{className:"mb-12 last:mb-0",children:(0,l.jsxs)("div",{className:"rounded-lg shadow-lg overflow-hidden",children:[(0,l.jsx)("div",{className:"relative aspect-video bg-gray-200",children:i.length>0?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("img",{src:"".concat(o.image_url,"/").concat(null==(a=i[c])?void 0:a.image),alt:(null==(r=i[c])?void 0:r.altText)||"Gallery ".concat(t+1," - Image ").concat(c+1),className:"w-full h-full object-cover"}),i.length>1&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{onClick:()=>{var e,a;(null==(a=A[t])||null==(e=a.images)?void 0:e.length)>0&&N(e=>({...e,[t]:(e[t]-1+A[t].images.length)%A[t].images.length}))},className:"absolute left-4 top-1/2 -translate-y-1/2 bg-white/90 hover:bg-white p-2 rounded-full shadow-lg transition-all","aria-label":"Previous image",children:(0,l.jsx)(s.A,{className:"w-6 h-6 text-gray-800"})}),(0,l.jsx)("button",{onClick:()=>{var e,a;(null==(a=A[t])||null==(e=a.images)?void 0:e.length)>0&&N(e=>({...e,[t]:(e[t]+1)%A[t].images.length}))},className:"absolute right-4 top-1/2 -translate-y-1/2 bg-white/90 hover:bg-white p-2 rounded-full shadow-lg transition-all","aria-label":"Next image",children:(0,l.jsx)(n.A,{className:"w-6 h-6 text-gray-800"})})]}),i.length>1&&(0,l.jsxs)("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 bg-black/50 text-white px-3 py-1 rounded-full text-sm",children:[c+1," / ",i.length]})]}):(0,l.jsx)("div",{className:"w-full h-full flex items-center justify-center text-gray-400",children:"No images available in this gallery"})}),i.length>0&&(0,l.jsx)("div",{className:"p-4 bg-white",children:(0,l.jsx)("div",{className:"grid grid-cols-5 gap-2",children:i.map((e,a)=>(0,l.jsx)("button",{onClick:()=>{N(e=>({...e,[t]:a}))},className:"relative aspect-video rounded-lg overflow-hidden border-2 transition-all ".concat(c===a?"border-orange-500 ring-2 ring-orange-200":"border-gray-200 hover:border-gray-300"),children:(0,l.jsx)("img",{src:"".concat(o.image_url,"/").concat(e.image),alt:e.altText||"Thumbnail ".concat(a+1),className:"w-full h-full object-cover"})},a))})})]})},t)}),0===A.length&&(0,l.jsx)("div",{className:"text-center py-12",children:(0,l.jsx)("div",{className:"text-gray-400 text-lg",children:"No galleries available"})})]})})})}},61571:(e,t,a)=>{a.d(t,{default:()=>d});var l=a(95155);a(12115);var r=a(74233),s=a(20063),n=a(97290),o=a(52619),i=a.n(o);let c={offerText:"Limited Time Offer! Get 30% off on all packages",backgroundColor:"#1a1a2e",textColor:"#ffffff",buttonBackgroun
1dColor:"#7A8B5C",buttonTextColor:"#ffffff",buttonText:"Claim Offer",buttonUrl:"/special-offer",openInNewTab:!1,backgroundImage:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",isFullWidth:!0,paddingTop:80,paddingBottom:80,paddingLeft:20,paddingRight:20},d=e=>{var t,a;let{data:o,preview:d=!1}=e,{brandSlug:m,website_slug:u}=(0,s.useParams)(),p=d?c:o||{},{openInNewTab:x=!1}=p,h="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),{offerText:g="",backgroundColor:f="",textColor:b="",buttonBackgroundColor:y,buttonTextColor:v,buttonText:w,buttonUrl:j,backgroundImage:N="",isFullWidth:k=!1,paddingTop:C=0,paddingBottom:_=0,paddingLeft:T=0,paddingRight:L=0}=p;console.log("data",p);let S=j?(0,n.isExternalUrl)(j)?j:j.startsWith("/")&&h?((e,t,a)=>h?"/".concat(t,"/website/").concat(a).concat(e):e)(j,m,u):j:"#",B=j&&(0,n.isExternalUrl)(j)?{target:"_blank",rel:"noopener noreferrer"}:{},A=N?{backgroundImage:d?"url(".concat(N,")"):"url(".concat(n.image_url,"/").concat(N,")"),backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",padding:"".concat(C,"px ").concat(L,"px ").concat(_,"px ").concat(T,"px"),marginTop:"20px",marginBottom:"20px"}:{backgroundColor:f,padding:"".concat(C,"px ").concat(L,"px ").concat(_,"px ").concat(T,"px"),marginTop:"20px",marginBottom:"20px"};return(0,l.jsx)("section",{className:"".concat(k?"w-full":"max-w-6xl mx-auto","  rounded py-4 px-6 flex flex-col md:flex-row justify-between items-center gap-4"),style:A,children:(0,l.jsxs)("div",{className:"relative z-10 w-full flex flex-col md:flex-row justify-between items-center gap-4",children:[(0,l.jsx)("p",{className:"text-center md:text-left text-sm md:text-md",style:{color:b},children:g}),(0,l.jsx)("div",{className:"flex",children:(0,l.jsxs)(i(),{href:S,...B,className:"px-5 py-2 rounded-md shadow hover:opacity-90 transition flex items-center gap-2 cursor-pointer whitespace-nowrap",style:{backgroundColor:y,color:v},target:x?"_blank":"_self",children:[(0,l.jsx)(r.N__,{className:"text-lg"}),(0,l.jsx)("span",{children:w})]})})]})})}},63686:(e,t,a)=>{a.d(t,{default:()=>i});var l=a(95155),r=a(97290);a(15239);var s=a(12115),n=a(57830);let o={isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,themeColor:"#7A8B5C",sectionTitle:"<h2>Guest Reviews</h2><p>Discover why travelers love staying with us</p>",cards:[{image:"https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",title:"Amazing Honeymoon Experience",content:"Absolutely breathtaking experience! The staff went above and beyond to make our anniversary special. The ocean views from our room were spectacular, and the dining options were world-class. We're already planning our return visit.",rating:5,name:"Sarah Johnson",location:"Chicago, IL",hastag:"#HoneymoonParadise"},{image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",title:"Exceeded All Expectations",content:"This resort exceeded all our expectations. From the moment we arrived, we felt like royalty. The spa treatments were incredibly relaxing, and the private beach was pristine. Highly recommend for anyone seeking a luxury getaway.",rating:5,name:"Michael Chen",location:"San Francisco, CA",hastag:"#LuxuryTravel"},{image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",title:"Magical Sunset Views",content:"Five stars isn't enough! The attention to detail throughout our stay was impeccable. The infinity pool overlooking the sunset was magical, and the concierge helped us plan perfect day trips. Can't wait to come back!",rating:5,name:"Emily Rodriguez",location:"Miami, FL",hastag:"#SunsetLover"},{image:"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",title:"Perfect Balance",content:"A truly unforgettable experience. The room was spacious and beautifully designed, the food was exquisite, and the service was impeccable. The resort's location offers the perfect balance of relaxation and adventure.",rating:4,name:"David Thompson",location:"Seattle, WA",hastag:"#PerfectGetaway"},{image:"https://images.unsplash.com/photo-1544005313-94ddf0286df2?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",title:"Family Friendly Paradise",content:"Wonderful hospital
1ity! Every staff member made us feel welcome. The kids club kept our children entertained, and we enjoyed some much-needed couples time at the spa.",rating:5,name:"Jessica Williams",location:"Denver, CO",hastag:"#FamilyVacation"},{image:"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",title:"Incredible Value",content:"Incredible value for a luxury resort. The all-inclusive package was worth every penny. The food variety and quality exceeded our expectations.",rating:5,name:"Robert Brown",location:"Austin, TX",hastag:"#WorthEveryPenny"}]};function i(e){let{data:t,preview:a=!1}=e,{isFullWidth:i=!1,backgroundColor:c="#f7f7f5",paddingTop:d=0,paddingBottom:m=0,paddingLeft:u=0,paddingRight:p=0,sectionTitle:x="",cards:h=[],showFilters:g=!0,filterTitle:f="Filters",themeColor:b="#7A8B5C"}=(a?o:t)||{},[y,v]=(0,s.useState)("all"),w=h&&0!==h.length?(h.reduce((e,t)=>e+(t.rating||0),0)/h.length).toFixed(1):0,j=h.length,N=(()=>{let e={5:0,4:0,3:0,2:0,1:0};return h.forEach(t=>{let a=t.rating||0;a>=1&&a<=5&&e[a]++}),[5,4,3,2,1].map(t=>({label:"".concat(t),value:j>0?Math.round(e[t]/j*100):0}))})(),k=(()=>{let e=new Set;return e.add("all"),h.forEach(t=>{t.hastag&&e.add(t.hastag),t.tags&&Array.isArray(t.tags)&&t.tags.forEach(t=>e.add(t))}),Array.from(e)})(),C="all"===y?h:h.filter(e=>e.hastag===y||e.tags&&e.tags.includes(y)),_=e=>{let{rating:t}=e,a=Math.min(Math.max(t||0,0),5),r=Math.floor(a),s=a%1>=.5,o=Math.max(0,5-r-!!s);return(0,l.jsxs)("div",{className:"flex",style:{color:b},children:[[...Array(r)].map((e,t)=>(0,l.jsx)(n.SeC,{size:20},"full-".concat(t))),s&&(0,l.jsx)(n.bTM,{size:20}),[...Array(o)].map((e,t)=>(0,l.jsx)(n.y_U,{size:20},"empty-".concat(t)))]})};if(!h||0===h.length)return null;let T=(e,t)=>{if(!e)return"rgba(122, 139, 92, ".concat(t,")");let a=parseInt(e.slice(1,3),16),l=parseInt(e.slice(3,5),16),r=parseInt(e.slice(5,7),16);return"rgba(".concat(a,", ").concat(l,", ").concat(r,", ").concat(t,")")};return(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:c,paddingTop:"".concat(d,"px"),paddingBottom:"".concat(m,"px"),paddingLeft:"".concat(u,"px"),paddingRight:"".concat(p,"px")},children:(0,l.jsxs)("div",{className:"".concat(i?"max-w-full":"max-w-7xl"," mx-auto"),children:[x&&(0,l.jsx)("div",{className:"text-center mb-12",children:(0,l.jsx)(e=>{let{content:t}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words",dangerouslySetInnerHTML:{__html:t}}):null},{content:x})}),(0,l.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,l.jsx)("h3",{className:"text-3xl font-bold text-[#1A2E35]",children:w}),(0,l.jsxs)("div",{children:[(0,l.jsx)(_,{rating:parseFloat(w)}),(0,l.jsxs)("span",{className:"text-gray-400 text-sm",children:[j," verified reviews"]})]})]}),(0,l.jsxs)("div",{className:"bg-white rounded-2xl shadow-xl p-10 mb-12",children:[(0,l.jsx)("p",{className:"text-[#666666] text-lg md:text-2xl font-semibold mb-6",children:"Rating Summary"}),(0,l.jsxs)("div",{className:"flex flex-col md:flex-row gap-6",children:[(0,l.jsx)("div",{className:"flex-1 space-y-4",children:N.map((e,t)=>(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)("span",{className:"w-5 text-sm",children:e.label}),(0,l.jsx)("div",{className:"flex-1 h-2.5 rounded-full",style:{backgroundColor:T(b,.1)},children:(0,l.jsx)("div",{className:"h-full rounded-full",style:{backgroundColor:b,width:"".concat(e.value,"%")}})}),(0,l.jsxs)("span",{className:"text-[#64748B] text-sm w-12 text-right",children:[e.value,"%"]})]},t))}),g&&k.length>1&&(0,l.jsxs)("div",{className:"md:w-[70%] flex flex-col lg:border-l lg:pl-10",style:{borderColor:T(b,.1)},children:[(0,l.jsx)("p",{className:"text-sm font-bold mb-4",style:{color:b},children:f}),(0,l.jsx)("div",{className:"flex flex-wrap gap-3 mt-1",children:k.map((e,t)=>(0,l.jsx)("button",{onClick:()=>v(e),className:"text-xs font-semibold px-4 py-2 rounded-full transition duration-300 border",style:{backgroundColor:y===e?b:T(b,.05),color:y===e?"#ffffff"
1:b,borderColor:y===e?b:T(b,.2)},onMouseEnter:t=>{y!==e&&(t.currentTarget.style.backgroundColor=b,t.currentTarget.style.color="#ffffff")},onMouseLeave:t=>{y!==e&&(t.currentTarget.style.backgroundColor=T(b,.05),t.currentTarget.style.color=b)},children:"all"===e?"All Reviews":"#".concat(e)},t))})]})]})]}),0===C.length?(0,l.jsxs)("div",{className:"text-center py-12",children:[(0,l.jsxs)("p",{className:"text-gray-500 text-lg",children:["No reviews found for #",y]}),(0,l.jsx)("button",{onClick:()=>v("all"),className:"mt-4 font-semibold hover:underline",style:{color:b},children:"View all reviews"})]}):(0,l.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-15",children:C.map((e,t)=>(0,l.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl p-10 transition duration-300 hover:shadow-xl",children:[(0,l.jsx)(_,{rating:e.rating||0}),(0,l.jsx)("h4",{className:"font-semibold text-[24px] text-[#0F172A] mb-4 mt-3",children:e.title||"Review"}),(0,l.jsx)("p",{className:"text-[16px] text-[#475569] mb-4 leading-relaxed",children:e.content}),e.hastag&&(0,l.jsx)("div",{className:"mb-4",children:(0,l.jsxs)("button",{onClick:()=>v(e.hastag),className:"text-xs font-semibold px-3 py-1 rounded-full border transition duration-300",style:{backgroundColor:T(b,.05),borderColor:T(b,.2),color:b},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=b,e.currentTarget.style.color="#ffffff"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=T(b,.05),e.currentTarget.style.color=b},children:["#",e.hastag]})}),(0,l.jsxs)("div",{className:"flex items-center gap-3 mt-4",children:[e.image&&(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(e.image),alt:e.name||"User",width:50,height:50,className:"rounded-xl object-cover border-2 border-white shadow-lg h-[60px]"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-[16px] font-bold text-[#0F172A]",children:e.name||"Anonymous"}),e.location&&(0,l.jsx)("p",{className:"text-[12px] font-bold tracking-wide",style:{color:b},children:e.location})]})]})]},t))})]})})}},65849:(e,t,a)=>{a.d(t,{default:()=>g});var l=a(95155),r=a(12115),s=a(97290),n=a(35258);a(45250);var o=a(53132),i=a(52619),c=a.n(i),d=a(20063),m=a(71821),u=a(57830),p=a(81602);a(30594);let x=e=>{var t,a,i;let{isForm:x=!1,email:h,emails:g,phones:f,address:b,rightImage:y,rightImageWidth:v=100,formFields:w=[],formName:j,submitButtonTextColor:N,submitButtonBackgroundColor:k,formType:C,sectionOrder:_,sectionName:T,uniqueFormKey:L,sectionData:S,rightCardBackgroundColor:B,sidebarTopSpacing:A,sidebarTextColor:M,showShadowOnRightSection:I=!1}=e,{brandSlug:F,website_slug:R}=(0,d.useParams)(),{pageHeaders:P}=(0,o.A)(),[W,E]=(0,r.useState)({}),[H,D]=(0,r.useState)({}),[q,z]=(0,r.useState)({}),[O,G]=(0,r.useState)(!1),[U,V]=(0,r.useState)(!1),[Y,K]=(0,r.useState)(null),[J,Z]=(0,r.useState)(null),[Q,X]=(0,r.useState)(""),[$,ee]=(0,r.useState)(""),[et,ea]=(0,r.useState)({}),[el,er]=(0,r.useState)({}),[es,en]=(0,r.useState)({}),[eo,ei]=(0,r.useState)({}),ec="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost"));(0,r.useEffect)(()=>{let e={};if(w.forEach(t=>{var a;"checkbox"===t.type?e[t.name]=[]:"radio"===t.type&&(null==(a=t.options)?void 0:a.length)>0?e[t.name]=t.options[0].value:e[t.name]=""}),D(e),null==S?void 0:S.formFields2){let e={};S.formFields2.forEach(t=>{var a;"checkbox"===t.type?e[t.name]=[]:"radio"===t.type&&(null==(a=t.options)?void 0:a.length)>0?e[t.name]=t.options[0].value:e[t.name]=""}),z(e)}},[S]);let ed=e=>t=>{let{name:a,value:l,type:r,checked:s}=t.target;(1===e?D:z)("checkbox"===r?e=>{let t=e[a]||[];return s?{...e,[a]:[...t,l]}:{...e,[a]:t.filter(e=>e!==l)}}:e=>({...e,[a]:l}))},em=(e,t)=>{},eu=async(e,t)=>{t.preventDefault();let a=1===e?{formData:H,formType:C,formName:j,uniqueFormKey:L,submitButtonBackgroundColor:k,setIsSubmitting:G,setSubmitStatus:K,setSubmitMessage:X,setFormData:D,formFields:w,setTouched:ea}:{formData:q,formType:null==S?void 0:S.formType2,formName:null==S?void 0:S.formName2,uniqueFormKey:(null==S?void 0:S.uniqueFormKey2)||"form_two_".concat(Date.now()),submitButtonBackgroun
1dColor:null==S?void 0:S.submitButtonBackgroundColor2,setIsSubmitting:V,setSubmitStatus:Z,setSubmitMessage:ee,setFormData:z,formFields:(null==S?void 0:S.formFields2)||[],setTouched:er},l={};a.formFields.forEach(e=>{l[e.name]=!0}),a.setTouched(l);let r=!1,s={};for(let e of a.formFields){var o,i;let t=a.formData[e.name];!0===e.isRequired&&("checkbox"===e.type&&e.options?t&&0!==t.length||(s[e.name]="".concat(e.label," is required"),r=!0):"radio"===e.type?t&&""!==t||(s[e.name]="Please select ".concat(e.label.toLowerCase()),r=!0):"phone"===e.type||(null==(i=e.name)?void 0:i.toLowerCase().includes("phone"))?t&&""!==t.trim()||(s[e.name]="".concat(e.label," is required"),r=!0):t&&""!==t||(s[e.name]="".concat(e.label," is required"),r=!0)),("phone"===e.type||(null==(o=e.name)?void 0:o.toLowerCase().includes("phone")))&&t&&t.trim()&&t.replace(/\D/g,"").length<7&&(s[e.name]="Enter a valid phone number with country code",r=!0),"email"===e.type&&t&&t.trim()&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim())||(s[e.name]="Enter a valid email address",r=!0))}if(r){1===e?en(s):ei(s),a.setSubmitStatus("error"),a.setSubmitMessage("Please fill all required fields correctly.");return}a.setIsSubmitting(!0),a.setSubmitStatus(null);try{let e=await (0,n.Y8)({body:{formData:{...a.formData},brandSlug:F,websiteSlug:R,formType:a.formType,sectionOrder:_,sectionName:T,uniqueFormKey:a.uniqueFormKey},pageHeaders:P});if(console.log("response",e),e.ok){a.setSubmitStatus("success"),a.setSubmitMessage("Thank you! We'll call you back soon.");let e={};Object.keys(a.formData).forEach(t=>{Array.isArray(a.formData[t])?e[t]=[]:e[t]=""}),a.setFormData(e),a.setTouched({})}else a.setSubmitStatus("error"),a.setSubmitMessage("Something went wrong. Please try again.")}catch(e){a.setSubmitStatus("error"),a.setSubmitMessage("An error occurred. Please try again later.")}finally{a.setIsSubmitting(!1)}};(0,r.useEffect)(()=>{let e=async()=>{try{var e,t;let{data:a}=await (0,n.BZ)({body:{brandSlug:F,websiteSlug:R,filters:{type:"website_config"}}});if(null==a||null==(t=a.Data)||null==(e=t[0])?void 0:e.config){let e=a.Data[0].config;E(e)}}catch(e){console.error("Error fetching config:",e)}};F&&R&&e()},[F,R]);let ep=e=>{let t=1===e?{formName:j,formFields:w,submitButtonBackgroundColor:k,submitButtonTextColor:N,submitStatus:Y,submitMessage:Q,isSubmitting:O,submitButtonText:"Submit"}:{formName:null==S?void 0:S.formName2,formFields:(null==S?void 0:S.formFields2)||[],submitButtonBackgroundColor:null==S?void 0:S.submitButtonBackgroundColor2,submitButtonTextColor:null==S?void 0:S.submitButtonTextColor2,submitStatus:J,submitMessage:$,isSubmitting:U,submitButtonText:(null==S?void 0:S.submitButtonText2)||"Submit"};return t.formFields&&0!==t.formFields.length?(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"mb-8",children:[(0,l.jsxs)("h3",{className:"text-lg font-semibold text-gray-900 mb-5 tracking-tight flex items-center",children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 mr-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z"})}),t.formName]}),t.submitStatus&&(0,l.jsx)("div",{className:"mb-4 p-3 rounded text-sm border ".concat("success"===t.submitStatus?"bg-green-50 text-green-700 border-green-200":"bg-red-50 text-red-700 border-red-200"),children:t.submitMessage}),(0,l.jsxs)("form",{onSubmit:t=>eu(e,t),className:"space-y-5",children:[t.formFields.map(t=>((e,t)=>{let{label:a,type:r,options:s,name:n,isRequired:o}=e,i=1===t?H:q,c=i[n]||"",d=1===t?O:U,m=1===t?es:eo,u=m[n];if(("phone"===r||(null==n?void 0:n.toLowerCase().includes("phone")))&&!1!==e.enableCountryCode)return(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a," ",o&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)("div",{className:"w-full rounded-lg \n    ".concat(u?"border-red-500 ring-1 ring-red-500":"border-gray-300","\n\n    [&_.react-international-phone-country-selector-button]:!h-[43px] \n    [&_.react-international-phone-input]:!h-[43px] \n\n    [&_.react-international-phone-country-selector-button]:!border-1\n    [&_.react-international-phone-input]:!border-0\n\n    [&_.react-international-phone-country-selector-button]:!bg-white\n    [&_.react-international-phone-input]:!bg-white\n\n    [&_.react-international-phone-country-selector-button]:!rounded-none\n    [&_.react-international-phone-input]:!rounded-none\n\n    [&_.react-international-phone-country-selector-button]:!hover:bg-gray-50\n    [&_.react-international-phone-country-selector-button]:!rounded-l-lg\n  "),children:(0,l.jsx)(p.LR,{defaultCountry:"in",value:c,onChange:e=>{(1===t?D:z)(t=>({...t,[n]:e||""}))},placeholder:e.placeholder||"Enter your ".concat(a.toLowerCase()),preferredCountries:e.preferredCountries||["in","us","gb","ca","au"],inputProps:{className:"w-full px-4 py-2.5 text-sm bg-white focus:outline-none rounded-r-lg border-1 border-gray-300",id:n,name:n,required:o,onBlur:()=>em(t,n)},buttonProps:{className:"bg-white hover:bg-gray-50 rounded-l-lg px-3 transition-colors"},containerClassName:"w-full"})}),u&&(0,l.jsx)("p",{className:"text-xs text-red-500 mt-1",children:m[n]})]},a);switch(r){case"text":case"email":case"tel":return(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a," ",o&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)("input",{type:r,name:n,value:c,onChange:ed(t),onBlur:()=>em(t,n),className:"w-full px-4 py-2.5 text-sm border rounded-lg bg-white focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent transition-colors ".concat(u?"border-red-500":"border-gray-300"),disabled:d,required:o}),u&&(0,l.jsxs)("p",{className:"text-xs text-red-500 mt-1",children:[e.label," is required"]})]},a);case"textarea":return(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a," ",o&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)("textarea",{name:n,value:c,onChange:ed(t),onBlur:()=>em(t,n),rows:4,className:"w-full px-4 py-2.5 text-sm border rounded-lg bg-white focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent transition-colors ".concat(u?"border-red-500":"border-gray-300"),disabled:d,required:o}),u&&(0,l.jsxs)("p",{className:"text-xs text-red-500 mt-1",children:[e.label," is required"]})]},a);case"radio":return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a," ",o&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)("div",{className:"flex flex-wrap gap-4",children:null==s?void 0:s.map(e=>(0,l.jsxs)("label",{className:"inline-flex items-center",children:[(0,l.jsx)("input",{type:"radio",name:n,value:e.value,checked:c===e.value,onChange:ed(t),onBlur:()=>em(t,n),className:"text-green-600 focus:ring-green-500",disabled:d}),(0,l.jsx)("span",{className:"ml-2 text-sm text-gray-700",children:e.label})]},e.value))}),u&&(0,l.jsxs)("p",{className:"text-xs text-red-500 mt-1",children:[e.label," is required"]})]},a);case"checkbox":return(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a," ",o&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)("div",{className:"flex flex-wrap gap-4",children:null==s?void 0:s.map(e=>(0,l.jsxs)("label",{className:"inline-flex items-center",children:[(0,l.jsx)("input",{type:"checkbox",name:n,value:e.value,checked:(i[n]||[]).includes(e.value),onChange:ed(t),className:"text-green-600 focus:ring-green-500",disabled:d}),(0,l.jsx)("span",{className:"ml-2 text-sm text-gray-700",children:e.label})]},e.value))})]},a);case"select":return(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a," ",o&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsxs)("select",{name:n,value:c,onChange:ed(t),onBlur:()=>em(t,n),className:"w-full px-4 py-2.5 text-sm border rounded-lg bg-white focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent transition-colors ".concat(u?"border-red-500":"border-gray-300"),disabled:d,required:o,children:[(0,l.jsx)("option",{value:"",children:"Select an option"}),null==s?void 0:s.map(e=>(0,l.jsx)("option",{value:e.value,children:e.label},e.value))]}),u&&(0,l.jsxs)("p",{className:"text-xs text-red-500 mt-1",children:[e.label," is required"]})]},a);case"date":return(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a," ",o&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)("input",{type:"date",name:n,value:c,onChange:ed(t),onBlur:()=>em(t,n),className:"w-full px-4 py-2.5 text-sm border rounded-lg bg-white focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent transition-colors ".concat(u?"border-red-500":"border-gray-300"),disabled:d,required:o}),u&&(0,l.jsxs)("p",{className:"text-xs text-red-500 mt-1",children:[e.label," is required"]})]},a);case"number":return(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a," ",o&&(0,l.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,l.jsx)("input",{type:"number",name:n,value:c,onChange:ed(t),onBlur:()=>em(t,n),className:"w-full px-4 py-2.5 text-sm border rounded-lg bg-white focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent transition-colors ".concat(u?"border-red-500":"border-gray-300"),disabled:d,required:o}),u&&(0,l.jsxs)("p",{className:"text-xs text-red-500 mt-1",children:[e.label," is required"]})]},a);default:return null}})(t,e)),(0,l.jsx)("div",{className:"pt-1",children:(0,l.jsx)("button",{type:"submit",disabled:t.isSubmitting,style:{backgroundColor:t.submitButtonBackgroun
1dColor,color:t.submitButtonTextColor||"#ffffff"},className:"w-full font-medium py-3 px-6 rounded-lg transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500 disabled:bg-gray-400 disabled:cursor-not-allowed shadow-sm hover:shadow-md",children:t.isSubmitting?(0,l.jsxs)("span",{className:"flex items-center justify-center",children:[(0,l.jsxs)("svg",{className:"animate-spin -ml-1 mr-2 h-4 w-4 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,l.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,l.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Processing..."]}):t.submitButtonText})})]})]})}):null},ex=function(e,t){arguments.length>2&&void 0!==arguments[2]&&arguments[2];let a={className:"hover:opacity-80 transition-opacity duration-200 text-sm sm:text-base",style:{color:(null==W?void 0:W.rightListTextColor)||"#000000"}};if((null==e?void 0:e.startsWith("http://"))||(null==e?void 0:e.startsWith("https://")))return(0,l.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",...a,children:t});{let r=ec?"/".concat(F,"/website/").concat(R).concat(e):e;return(0,l.jsx)(c(),{href:r,...a,children:t})}};return(0,l.jsx)("div",{className:"max-w-xl sticky mx-auto p-6 font-sans text-gray-700 bg-white rounded-lg border-l-2 border-gray-100",style:{background:B,top:A||100,boxShadow:I&&"rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px",borderRadius:I&&"20px"},children:(0,l.jsxs)("div",{className:"max-w-sm mx-auto",children:[(0,l.jsxs)("div",{className:"mb-8",children:[(null==f?void 0:f.length)>0&&(0,l.jsxs)("h2",{className:"text-lg font-semibold text-gray-900 mb-3 tracking-tight flex items-center",children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 mr-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"})}),"CALL"]}),f&&Array.isArray(f)&&f.length>0?(0,l.jsx)("div",{className:"mb-2",children:f.map((e,t)=>(0,l.jsxs)("div",{className:"text-sm mb-1 flex items-center",children:[(0,l.jsx)(u.wYu,{className:"h-4 w-4 mr-1",style:{color:M||"#4B5563"}}),(0,l.jsx)("a",{href:"tel:".concat(e.phone),className:"transition-colors",style:{color:M||"#4B5563"},children:e.phone})]},t))}):Array.isArray(f)&&(null==f?void 0:f.length)>0?(0,l.jsxs)("div",{className:"text-sm mb-2 flex items-center",style:{color:M||"#4B5563"},children:[(0,l.jsx)(u.wYu,{className:"h-4 w-4 mr-1"}),(0,l.jsx)("a",{href:"tel:".concat(f),className:"transition-colors",children:f})]}):null,g&&Array.isArray(g)&&g.length>0?(0,l.jsx)("div",{children:g.map((e,t)=>(0,l.jsxs)("a",{href:"mailto:".concat(e.email||e),className:"text-sm transition-colors flex items-center mb-1",style:{color:M||"#4B5563"},children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 mr-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",style:{color:M||"#4B5563"},children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}),e.email||e]},t))}):h?(0,l.jsxs)("a",{href:"mailto:".concat(h),style:{color:M||"#4B5563"},className:"text-sm transition-colors flex items-center",children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 mr-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}),h]}):null]}),y&&(0,l.jsx)("div",{className:"flex justify-center mb-8",children:(0,l.jsx)("div",{className:"bg-gray-50 p-5 rounded-lg shadow-sm border border-gray-200 w-full",children:(0,l.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,l.jsx)("div",{className:"relative mb-3",children:(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(y),alt:"Excellence Award",className:"object-contain",style:{width:"".concat(v,"px")}})}),(0,l.jsx)("p",{className:"text-xs text-gray-500 mt-2",children:"Awarded for E
1xcellence"})]})})}),x&&ep(1),(null==S?void 0:S.formFields2)&&S.formFields2.length>0&&ep(2),b&&(0,l.jsx)("div",{className:"".concat((null==f?void 0:f.length)>0&&"pt-5 border-t"," border-gray-200"),children:(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 mb-10 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:b}})}),(null==S?void 0:S.rightListTitle)&&(0,l.jsxs)("div",{className:"space-y-6",children:[(0,l.jsx)("h3",{className:"text-lg font-semibold tracking-wider uppercase",style:{color:S.rightListTitleColor||"#000000"},children:null==S?void 0:S.rightListTitle}),(0,l.jsx)("ul",{className:"space-y-3",children:null==S||null==(i=S.rightLists)?void 0:i.map((e,t)=>(0,l.jsxs)(m.P.li,{className:"relative pl-4 py-2 overflow-hidden cursor-pointer",style:{borderRight:"5px solid ".concat(S.rightListBorderColor||"#000000")},initial:"initial",whileHover:"hover",children:[(0,l.jsx)(m.P.div,{className:"absolute inset-0",variants:{initial:{x:"100%"},hover:{x:"0%"}},transition:{duration:.4,ease:"easeOut"},style:{backgroundColor:S.rightListBorderColor||"#000000",zIndex:-1}}),(0,l.jsx)(m.P.div,{className:"relative z-10",variants:{initial:{},hover:{}},children:ex(e.url,e.title,!0)})]},t))})]}),(null==S?void 0:S.rightButtonText)&&(0,l.jsx)("div",{className:"mt-8",children:(0,l.jsx)(c(),{className:"rounded block whitespace-nowrap text-center",style:{color:(null==S?void 0:S.rightButtonTextColor)||"#ffffff",backgroundColor:(null==S?void 0:S.rightButtonBackgroundColor)||"#000000",paddingBlock:(null==S?void 0:S.rightButtonHeight)?"".concat(null==S?void 0:S.rightButtonHeight,"px"):"40px",paddingInline:(null==S?void 0:S.rightButtonWidth)?"".concat(null==S?void 0:S.rightButtonWidth,"px"):"80px"},target:(null==S?void 0:S.openInNewTab)?"_blank":"_self",href:null==S?void 0:S.rightButtonUrl,children:null==S?void 0:S.rightButtonText})})]})})};var h=a(58318);function g(e){let{data:t={},mergedSections:a,sectionName:n,sectionOrder:o}=e,{leftContent:i="",useCard:c=!0,useCardWithForm:d=!1,email:m,phones:u,emails:p,address:g,rightImage:f,rightImageWidth:b=100,isFullWidth:y=!1,paddingLeft:v=0,paddingRight:w=0,paddingTop:j=0,paddingBottom:N=0,formName:k,submitButtonBackgroundColor:C="#3b82f6",submitButtonTextColor:_="#ffffff",rightCardBackgroundColor:T="#ffffff",sidebarTopSpacing:L,sidebarTextColor:S,showShadowOnRightSection:B}=t||{},[A,M]=(0,r.useState)(!1),[I,F]=(0,r.useState)(""),R=()=>{M(!1),F("")};return(0,l.jsxs)("div",{className:"".concat(y?"w-full":"max-w-7xl"," mx-auto bg-white"),style:{paddingLeft:"".concat(v,"px"),paddingRight:"".concat(w,"px"),paddingTop:"".concat(j,"px"),paddingBottom:"".concat(N,"px")},children:[(0,l.jsxs)("div",{className:"grid grid-cols-1 ".concat(c?"lg:grid-cols-3":""," gap-8 sm:gap-12 lg:gap-16"),children:[(0,l.jsxs)("div",{className:"text-gray-800 space-y-6 text-sm sm:text-base ".concat(c?"lg:col-span-2":""),children:[i&&"<p></p>"!==i&&(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 break-words [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:i}}),(null==t?void 0:t.image)&&(0,l.jsx)("div",{className:"mt-6 cursor-pointer",onClick:()=>{F(null==t?void 0:t.image),M(!0)},children:(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(null==t?void 0:t.image),alt:"feature",className:"w-full h-auto"})}),a&&a.length>0&&(0,l.jsx)("div",{className:"space-y-8",children:a.map((e,t)=>{let a=h.R[e.type];return a?(0,l.jsx)("div",{children:(0,l.jsx)(a,{data:e.data})},t):(console.warn('Section type "'.concat(e.type,'" not found in component registry')),(0,l.jsx)("div",{className:"bg-yellow-50 border-l-4 border-yellow-400 p-4 mb-6 rounded",children:(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)("div",{className:"flex-shrink-0",children:(0,l.jsx)("svg",{className:"h-5 w-5 text-yellow-400",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z",clipRule:"evenodd"})})}),(0,l.jsx)("div",{className:"ml-3",children:(0,l.jsxs)("p",{className:"text-sm text-yellow-700",children:["Missing component for section type: ",(0,l.jsx)("span",{className:"font-medium",children:e.type})]})})]})},t))})})]}),c&&(0,l.jsx)("div",{className:"lg:col-span-1",children:c&&(0,l.jsx)(x,{isForm:d,email:m,emails:p,phones:u,address:g,rightImage:f,rightCardBackgroun
1dColor:T,rightImageWidth:b,formFields:t.formFields,formName:t.formName,submitButtonTextColor:_,submitButtonBackgroundColor:C,formType:t.formType,sectionOrder:o,sectionName:n,uniqueFormKey:t.uniqueFormKey,sectionData:t,sidebarTopSpacing:L,sidebarTextColor:S,showShadowOnRightSection:B})})]}),A&&(0,l.jsx)("div",{className:"fixed inset-0 bg-black/75 flex items-center justify-center z-50 p-4",onClick:R,children:(0,l.jsxs)("div",{className:"relative max-w-4xl max-h-full",children:[(0,l.jsx)("button",{className:"absolute -top-10 right-0 text-white text-3xl hover:text-gray-300",onClick:R,"aria-label":"Close modal",children:"\xd7"}),(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(I),alt:"Enlarged view",className:"max-w-full max-h-screen",onClick:e=>e.stopPropagation()})]})})]})}},66750:(e,t,a)=>{a.d(t,{default:()=>s});var l=a(95155),r=a(48389);function s(e){let{data:t}=e,{isFullWidth:a=!1,backgroundColor:s="transparent",paddingTop:n=50,paddingBottom:o=50,paddingLeft:i=10,paddingRight:c=10,iconBackgroundColor:d="#69AF4B1A",iconColor:m="#69AF4B",cardBackgroundColor:u="#F7F7F6",cards:p=[],gap:x=24,numberOfColumns:h=3,titleColor:g="#0F172A",descriptionColor:f="#333333",borderRadius:b="rounded-2xl",shadow:y=!0,sectionBackgroundColor:v="#ffffff"}=t||{},w=(()=>{let e=[];for(let t=0;t<p.length;t+=h)e.push(p.slice(t,t+h));return e})(),j={gap:"20px"},N={backgroundColor:u};return p&&0!==p.length?(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:v,paddingTop:"".concat(n,"px"),paddingBottom:"".concat(o,"px"),paddingLeft:"".concat(i,"px"),paddingRight:"".concat(c,"px")},children:(0,l.jsx)("div",{className:"".concat(a?"max-w-full":"max-w-7xl"," mx-auto"),children:w.map((e,a)=>(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("div",{className:"grid gap-6 mb-5 ".concat((()=>{switch(h){case 2:return"grid-cols-1 md:grid-cols-2";case 3:default:return"grid-cols-1 md:grid-cols-3";case 4:return"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"}})()),style:j,children:e.map((e,t)=>{var a;let s=(a=e.icon)?r.A[a]:null;return(0,l.jsxs)("div",{className:"".concat(b," p-6 text-center transition duration-300 ").concat(y?"hover:shadow-md":""),style:N,children:[s&&(0,l.jsx)("div",{className:"w-12 h-12 mx-auto flex items-center justify-center rounded-lg",style:{backgroundColor:d,color:m},children:(0,l.jsx)("div",{style:{color:m,fontSize:"28px"},children:s})}),e.title&&(0,l.jsx)("h3",{className:"text-[20px] font-bold tracking-wide py-6",style:{color:g},children:e.title}),e.content&&(0,l.jsx)("p",{className:"lg:text-[16px] leading-relaxed lg:px-8",style:{color:f},children:e.content})]},t)})}),(null==t?void 0:t.showDivider)&&a<w.length-1&&(0,l.jsx)("div",{className:"relative my-8",children:(0,l.jsx)("div",{className:"w-full h-px bg-gray-200"})})]},a))})}):null}},67032:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155);a(12115);var r=a(20063),s=a(48389),n=a(97290);let o=e=>{let{data:t,preview:a=!1}=e,o={title:"Why Choose Our Service Apartments?",description:(0,r.usePathname)().includes("/webadmin")?'\n      <p>For over 15 years, we have been providing exceptional service apartment accommodations to travelers worldwide. Our commitment to quality, comfort, and personalized service has made us a trusted choice for both business and leisure travelers.</p>\n      <p class="mt-4">We understand that extended stays require more than just a room – they require a home. That\'s why we\'ve designed our apartments to offer the perfect blend of hotel-like amenities with the privacy and space of a residential property.</p>\n      <p class="mt-4">Our team is dedicated to ensuring every guest experiences the highest standards of hospitality, with attention to detail that makes each stay memorable and comfortable.</p>\n    ':"",featureItems:[{icon:"home",title:"Premium Locations",content:"Strategically situated in prime areas with easy access to business districts, shopping centers, and cultural attractions."},{icon:"check",title:"Quality Assurance",content:"Rigorous quality checks and maintenance protocols ensure every apartment meets our high standards of cleanliness and comfort."}
1,{icon:"users",title:"Personalized Service",content:"Our dedicated staff provides tailored services to meet individual needs, from daily housekeeping to special requests."},{icon:"check",title:"Flexible Stays",content:"Whether you need accommodation for a week, month, or longer, we offer flexible booking options to suit your schedule."}],backgroundColor:"#3b82f6",iconColor:"#ffffff"},{title:i,description:c,featureItems:d=[],backgroundColor:m,iconColor:u,sectionBackgroundColor:p,cardTitleColor:x,sectionTitleColor:h,cardContentColor:g,paddingTop:f=0,paddingBottom:b=0,paddingLeft:y=0,paddingRight:v=0}=(a?o:t)||{};return(0,l.jsx)("div",{style:{backgroundColor:p,paddingTop:"".concat(f||64,"px"),paddingBottom:"".concat(b||64,"px"),paddingLeft:"".concat(y||30,"px"),paddingRight:"".concat(v||30,"px")},children:(0,l.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-16",children:[(0,l.jsxs)("div",{className:"space-y-6",children:[(0,n.isHTML)(i)?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words",dangerouslySetInnerHTML:{__html:i}}):(0,l.jsx)("h2",{className:"text-3xl font-bold  mb-8 text-center sm:text-right",style:{color:h},children:i}),(0,l.jsx)("div",{className:"space-y-4 text-gray-600 leading-relaxed text-sm text-right",dangerouslySetInnerHTML:{__html:c}})]}),(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)("div",{className:"space-y-8",children:d.map((e,t)=>{let a;return(0,l.jsxs)("div",{className:"flex items-start relative",children:[t<d.length-1&&(0,l.jsx)("div",{className:"absolute border-l-2 border-dashed border-gray-300",style:{left:"23px",top:"48px",bottom:"-32px"}}),(0,l.jsx)("div",{className:"flex-shrink-0 relative z-10",children:(0,l.jsx)("div",{className:"w-12 h-12 rounded-full flex items-center justify-center",style:{backgroundColor:m,color:u},children:(a=e.icon,s.A[a])})}),(0,l.jsxs)("div",{className:"flex-1 pt-1 pl-6",children:[(0,l.jsx)("h3",{className:"text-lg font-bold mb-2",style:{color:x},children:e.title}),(0,l.jsx)("p",{className:"text-sm leading-relaxed",style:{color:g},children:e.content})]})]},t)})})})]})})})}},67851:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155);a(12115),a(48389);var r=a(74163),s=a(97290),n=a(20063);let o=e=>{var t,a;let{data:o={}}=e,{brandSlug:i,website_slug:c,landingPageSlug:d}=(0,n.useParams)(),m="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),u=(e,t,a)=>m?"/".concat(t,"/website/").concat(a).concat(e):e,{featureCards:p=[{content:'\n      <div class="flex justify-center mb-4">\n        <span class="text-4xl">\uD83D\uDE9A</span>\n      </div>\n      <h3 class="text-xl font-semibold text-gray-900 mb-2">Free Shipping</h3>\n      <p class="text-gray-600">Free shipping on all orders over $50. Fast delivery to your doorstep.</p>\n    '},{content:'\n      <div class="flex justify-center mb-4">\n        <span class="text-4xl">\uD83D\uDCAF</span>\n      </div>\n      <h3 class="text-xl font-semibold text-gray-900 mb-2">Quality Guarantee</h3>\n      <p class="text-gray-600">All our products are quality checked and come with a satisfaction guarantee.</p>\n    '},{content:'\n      <div class="flex justify-center mb-4">\n        <span class="text-4xl">\uD83D\uDD12</span>\n      </div>\n      <h3 class="text-xl font-semibold text-gray-900 mb-2">Secure Payment</h3>\n      <p class="text-gray-600">Your payment information is secure with our encrypted checkout process.</p>\n    '}],backgroundColor:x="",cardBackgroundColors:h={},paddingTop:g=12,paddingBottom:f=12,paddingLeft:b=4,paddingRight:y=4,isFullWidth:v=!1,numberOfColumns:w=2,buttonText:j,buttonUrl:N,buttonBackgroundColor:k,buttonTextColor:C,sectionTitle:_,showShadow:T=!0,openInNewTab:L=!1}=o,S=N?(0,s.isExternalUrl)(N)?N:N.startsWith("/")&&m?u(N,i,c):N:"#",B=N?(0,s.isExternalUrl)(N)?{rel:"noopener noreferrer"}:{onClick:e=>((e,t)=>{if(!(0,s.isExternalUrl)(e))if(t.preventDefault(),c){let t=u(e,i,c);window.location.href=t}else if(d){let t=e.replace("#",""),a=document.getElementById(t);a?a.scrollIntoView({behavior:"smooth",block:"start"}):(console.warn("Element with id '".concat(t,"' not found")),e.startsWith("/")&&(window.location.href=e))}else window.location.href=e})(N,e)}:{},A=T?"shadow-md hover:shadow-lg":"shadow-none";return(0,l.jsxs)("div",{className:"".concat(v?"w-full":"max-w-6xl","  mx-auto"),style:{backgroundColor:x,paddingTop:"".concat(g,"px"),paddingBottom:"".concat(f,"px"),paddingLeft:"".concat(b,"px"),paddingRight:"".concat(y,"px")},children:[_&&(0,l.jsx)("div",{className:"text-center mb-12 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:_}}),(0,l.jsx)("div",{className:"".concat((0,r.Rm)(w)," gap-8"),children:p.map((e,t)=>(0,l.jsx)("div",{className:"flex flex-col scrollbar-hide h-full items-center text-center p-6 rounded-lg space-y-4 bg-white transition-shadow duration-300 ".concat(A),children:(0,l.jsx)("div",{className:"ProseMirror scrollbar-hide w-full overflow-x-auto break-words    [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:e.content}})},t))}),j&&N&&(0,l.jsx)("div",{className:"flex justify-center mt-8",children:(0,l.jsx)("a",{href:S,...B,className:"inline-flex items-center px-6 py-3 rounded-md font-medium transition-colors duration-200 cursor-pointer",style:{backgroundColor:k||"#3b82f6",color:C||"#ffffff"},onMouseEnter:e=>{e.target.style.opacity="0.9",e.target.style.transform="translateY(-1px)"},onMouseLeave:e=>{e.target.style.opacity="1",e.target.style.transform="translateY(0)"},target:L?"_blank":"_self",children:j})})]})}},67855:(e,t,a)=>{a.d(t,{default:()=>m});var l=a(95155),r=a(43897),s=a(97290);a(15239);var n=a(52619),o=a.n(n),i=a(20063),c=a(6092);let d={paddingTop:50,paddingBottom:50,paddingLeft:10,paddingRight:10,isFullWidth:!1,backgroundColor:"#2e0be0",content:'<h2><span style="font-size: 36px;"><strong>
1Take Your Hospitality Business to the </strong></span><span style="color: rgb(237, 40, 181); font-size: 36px; margin-bottom: 0px;"><strong>Next Level</strong></span></h2><p><span style="font-size: 24px;">Partner with Diamond SaaS Hub – Your trusted partner for StayStack implementations and support.</span></p>',leftImage:"landing-page/1779418683886.webp",leftImageAltText:"Test Alt",buttonText:"Learn more",buttonUrl:"/more",buttonBackgroundColor:"#ff0f0f",buttonTextColor:"#000000",buttonBorderRadius:"1rem",openInNewTab:!1};function m(e){var t,a;let{data:n,preview:m=!1}=e,u=(0,i.useParams)(),p=null==u?void 0:u.brandSlug,x=null==u?void 0:u.website_slug,{paddingTop:h=50,paddingBottom:g=50,paddingLeft:f=10,paddingRight:b=10,isFullWidth:y=!1,backgroundColor:v="#2e0be0",content:w="",leftImage:j="",leftImageAltText:N="Promo Image",buttonText:k="",buttonUrl:C="",buttonBackgroundColor:_="#ffffff",buttonTextColor:T="#000000",buttonBorderRadius:L="1rem",openInNewTab:S=!1}=(m?d:n)||{},B=e=>!!e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")),A=e=>!!e&&e.startsWith("#"),M="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),I=j?j.includes("http")?j:"".concat(s.image_url,"/").concat(j):"";return(0,l.jsx)("section",{className:"w-full overflow-hidden",style:{paddingTop:"".concat(h,"px"),paddingBottom:"".concat(g,"px"),paddingLeft:"".concat(f,"px"),paddingRight:"".concat(b,"px")},children:(0,l.jsx)("div",{className:"".concat(y?"max-w-full":"max-w-7xl"," mx-auto"),children:(0,l.jsxs)("div",{className:"rounded-[28px] px-8 md:px-14 py-8 md:py-10 overflow-hidden relative",style:{background:v},children:[(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[220px_1fr_auto] items-center gap-10",children:[I&&(0,l.jsx)("div",{className:"flex justify-center lg:justify-start",children:(0,l.jsx)("img",{src:I,alt:N,className:"object-contain",style:{width:"180px",height:"180px"}})}),(0,l.jsx)("div",{children:w&&(0,l.jsx)(e=>{let{content:t,className:a=""}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words ".concat(a),dangerouslySetInnerHTML:{__html:t}}):null},{content:w})}),(0,l.jsx)("div",{className:"flex justify-start lg:justify-end",children:(0,l.jsx)(()=>{if(!k||!C)return null;let e=(e=>{if(!e)return"#";if(A(e)||B(e))return e;let t=e.startsWith("/")?e:"/".concat(e);if(M){let e=t.startsWith("/")?t:"/".concat(t);return M?"/".concat(p,"/website/").concat(x).concat(e):e}return t})(C),t=B(e),a=A(e),s={backgroundColor:_,color:T,border:"none",borderRadius:L,fontSize:"18px",fontWeight:"bold",cursor:"pointer",transition:"all 0.3s ease",textDecoration:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"0.5rem",padding:"16px 24px",boxShadow:"0 10px 15px -3px rgba(0, 0, 0, 0.1)"},n="hover:opacity-90 transition-all duration-300 whitespace-nowrap";return a?(0,l.jsxs)("button",{onClick:()=>(0,r.Y)(e.slice(1)),style:s,className:n,children:[k,(0,l.jsx)(c.J1z,{className:"text-xl"})]}):t?(0,l.jsxs)("a",{href:e,style:s,target:S?"_blank":"_self",rel:"noopener noreferrer",className:n,children:[k,(0,l.jsx)(c.J1z,{className:"text-xl"})]}):(0,l.jsxs)(o(),{href:e,style:s,className:n,children:[k,(0,l.jsx)(c.J1z,{className:"text-xl"})]})},{})})]}),(0,l.jsx)("div",{className:"absolute top-0 left-0 w-72 h-72 bg-pink-500/10 blur-3xl rounded-full pointer-events-none"})]})})})}},68379:(e,t,a)=>{a.d(t,{default:()=>m});var l=a(95155),r=a(12115),s=a(26497),n=a(71821),o=a(90368),i=a(27937),c=a(97290);let d={banners:[{image:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Mountain landscape with snow capped peaks"},{image:"https://images.unsplash.com/photo-1469474968028-56623f02e42e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Forest with sun rays coming through trees"},{image:"https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Foggy mountain valley at sunrise"},{image:"https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Sunlight filtering through green forest canopy"},{image:"https://images.unsplash.com/photo-1509316975850-ff9c5deb0cd9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Northern lights over snowy mountain"},{image:"https://images.unsplash.com/photo-1433086966358-54859d0ed716?
1ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Waterfall in lush green forest"}],autoplay:!0,autoplaySpeed:5e3,showNavigation:!0,slideDuration:.5,isFullWidth:!0,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0,backgroundColor:"#000000",height:600};function m(e){let{data:t,preview:a=!1}=e,{banners:m=[],autoplay:u=!0,autoplaySpeed:p=5e3,showNavigation:x=!0,slideDuration:h=.5,isFullWidth:g,paddingTop:f,paddingBottom:b,paddingLeft:y,paddingRight:v,backgroundColor:w,height:j=500}=(a?d:t)||{},[N,k]=(0,r.useState)(0),[C,_]=(0,r.useState)(u),T=[{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1.1},transition:{duration:h,ease:"easeInOut"}},{initial:{opacity:0,x:100},animate:{opacity:1,x:0},exit:{opacity:0,x:-100},transition:{duration:h,ease:"easeOut"}},{initial:{opacity:0,y:100},animate:{opacity:1,y:0},exit:{opacity:0,y:-100},transition:{duration:h,ease:"easeOut"}},{initial:{opacity:0,rotateY:90},animate:{opacity:1,rotateY:0},exit:{opacity:0,rotateY:-90},transition:{duration:h,ease:"backOut"}},{initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1,transition:{type:"spring",stiffness:100,damping:15}},exit:{opacity:0,scale:.5},transition:{duration:h}},{initial:{opacity:0,rotateX:90},animate:{opacity:1,rotateX:0},exit:{opacity:0,rotateX:-90},transition:{duration:h,ease:"easeInOut"}}];(0,r.useEffect)(()=>{let e;return C&&m.length>1&&(e=setInterval(()=>{k(e=>(e+1)%m.length)},p)),()=>clearInterval(e)},[C,m.length,p]);let L=(0,r.useCallback)(()=>{k(e=>(e+1)%m.length)},[m.length]),S=(0,r.useCallback)(()=>{k(e=>(e-1+m.length)%m.length)},[m.length]);return((0,r.useEffect)(()=>{let e=e=>{"ArrowLeft"===e.key&&S(),"ArrowRight"===e.key&&L()," "===e.key&&(e.preventDefault(),_(!C))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[S,L]),m.length)?(0,l.jsx)("section",{className:"relative overflow-hidden",style:{paddingTop:"".concat(f,"px"),paddingBottom:"".concat(b,"px"),paddingLeft:"".concat(y,"px"),paddingRight:"".concat(v,"px"),backgroundColor:w||"transparent"},children:(0,l.jsx)("div",{className:g?"w-full":"max-w-7xl mx-auto",children:(0,l.jsxs)("div",{className:"relative overflow-hidden",style:{height:"".concat(j||500,"px")},children:[(0,l.jsx)(s.N,{mode:"wait",children:m.map((e,t)=>{if(t!==N)return null;let r=T[t%T.length];return(0,l.jsx)(n.P.div,{initial:r.initial,animate:r.animate,exit:r.exit,transition:r.transition,className:"absolute inset-0",children:e.image&&(0,l.jsx)("img",{src:a?e.image:"".concat(c.image_url,"/").concat(e.image),alt:e.altText||"Banner ".concat(t+1),className:"w-full h-full object-cover"})},t)})}),x&&m.length>1&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{onClick:S,className:"absolute left-4 top-1/2 -translate-y-1/2 bg-black/40 hover:bg-black/60 backdrop-blur-sm rounded-full p-3 transition-all duration-300 hover:scale-110 hover:shadow-lg","aria-label":"Previous slide",children:(0,l.jsx)(o.A,{className:"w-8 h-8 text-white"})}),(0,l.jsx)("button",{onClick:L,className:"absolute right-4 top-1/2 -translate-y-1/2 bg-black/40 hover:bg-black/60 backdrop-blur-sm rounded-full p-3 transition-all duration-300 hover:scale-110 hover:shadow-lg","aria-label":"Next slide",children:(0,l.jsx)(i.A,{className:"w-8 h-8 text-white"})})]})]})})}):null}},70253:(e,t,a)=>{a.d(t,{default:()=>u});var l=a(95155),r=a(12115),s=a(22663),n=a(35258),o=a(30178),i=a(20063);a(81602),a(30594);var c=a(48389),d=a(57830);let m={isFullWidth:!0,paddingTop:50,paddingBottom:50,paddingLeft:10,paddingRight:10,email:"[email protected]",formName:"Testing Label",emails:[{email:"[email protected]"}],isFormRequired:!0,formType:"testing-form-name",uniqueFormKey:"testing_fo_1779419258735",showCaptcha:!1,formFields:[{label:"First Name",name:"first_name",type:"text",options:[],isRequired:!0,content:""},{label:"Gender",name:"gender",type:"radio",options:[{label:"Male",value:"male"},{label:"Female",value:"female"}],isRequired:!1,content:""}],submitButtonText:"Submit please",submitButtonBackgroundColor:"#dc3232",submitButtonTextColor:"#000000",LeftBackgroundColor:"#223581",leftContent:'<h2><span style="font-size: 28px;"><strong>Why Hoteliers Choose StayStack</strong></span></h2><p></p>',leftLists:[{icon:"thumb",iconColor:"#e83030",title:"Title one",content:"content one",textColor:"#b08787"}],formBottomText:"Trusted by Hotels. Powered by StayStack."};function u(e){let{data:t,preview:a=!1,sectionName:u="Form_8",sectionOrder:p=0}=e,x=(0,i.useParams)(),h=(0,i.useRouter)(),{brandSlug:g,website_slug:f,landingPageSlug:b}=x,{isFullWidth:y=!0,backgroundColor:v="#ffffff",paddingTop:w=50,paddingBottom:j=50,paddingLeft:N=10,paddingRight:k=10,LeftBackgroun
1dColor:C="#151B47",leftContent:_="",leftLists:T=[],formFields:L=[],submitButtonText:S="Request Demo",submitButtonBackgroundColor:B="#ED28B5",submitButtonTextColor:A="#ffffff",formBottomText:M="Trusted by Hotels. Powered by StayStack.",formType:I="",uniqueFormKey:F="",isFormRequired:R=!0,showFormLabels:P=!1,showCaptcha:W=!1}=(a?m:t)||{},E="clients.staystack.encrobytes.com"===window.location.hostname||window.location.hostname.includes("localhost"),[H,D]=(0,r.useState)(""),[q,z]=(0,r.useState)(0),[O,G]=(0,r.useState)(""),[U,V]=(0,r.useState)(""),[Y,K]=(0,r.useState)(!1),J=(0,r.useRef)(null),Z=(0,r.useCallback)(()=>{let e,t,a=Math.floor(10*Math.random())+1,l=Math.floor(10*Math.random())+1,r=["+","-","\xd7"];switch(r[Math.floor(Math.random()*r.length)]){case"+":default:e=a+l,t="".concat(a," + ").concat(l);break;case"-":e=a-l,t="".concat(a," - ").concat(l);break;case"\xd7":e=a*l,t="".concat(a," \xd7 ").concat(l)}D(t),z(e),G(""),V(""),K(!1)},[]);(0,r.useEffect)(()=>{W&&Z()},[W,Z]);let Q=e=>{let t=e.target.value;G(t),V(""),K(!1),t&&parseInt(t)===q&&(K(!0),V(""))},X=()=>{Z(),G(""),V(""),K(!1),J.current&&J.current.focus()},$=(0,r.useMemo)(()=>(null==L?void 0:L.reduce((e,t)=>{var a,l;return"radio"===t.type&&t.options?e[t.name]=(null==(a=t.options[0])?void 0:a.value)||t.options[0]||"":"checkbox"===t.type&&t.options?e[t.name]=[]:"select"===t.type&&t.options?e[t.name]=(null==(l=t.options[0])?void 0:l.value)||t.options[0]||"":e[t.name]="",e},{}))||{},[L]),[ee,et]=(0,r.useState)($),[ea,el]=(0,r.useState)({}),[er,es]=(0,r.useState)({}),[en,eo]=(0,r.useState)(!1),[ei,ec]=(0,r.useState)(!1),ed=(e,t,a,l)=>{"checkbox"===a?void 0!==l?et(a=>({...a,[e]:[...a[e]||[],t]})):et(a=>({...a,[e]:t})):et(a=>({...a,[e]:t})),es(t=>({...t,[e]:!0}))},em=e=>{es(t=>({...t,[e]:!0}))},eu=async e=>{if(e.preventDefault(),es(null==L?void 0:L.reduce((e,t)=>(e[t.name]=!0,e),{})),!(()=>{let e={},t=!0;return null==L||L.forEach(a=>{let l=ee[a.name],r=((e,t)=>{var a,l,r,s;let n=[];return(!0===e.isRequired||!0===R&&!1!==e.isRequired)&&("checkbox"===e.type&&e.options?t&&0!==t.length||n.push("".concat(e.label," is required")):"radio"===e.type||"select"===e.type?t&&""!==t||n.push("Please select ".concat(e.label.toLowerCase())):(null==t?void 0:t.trim())||n.push("".concat(e.label," is required"))),"email"===e.type&&t&&t.trim()&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim())||n.push("Please enter a valid email address")),((null==(a=e.name)?void 0:a.toLowerCase().includes("phone"))||(null==(l=e.label)?void 0:l.toLowerCase().includes("phone")))&&t&&t.trim()&&t.replace(/\D/g,"").length<7&&n.push("Please enter a valid phone number with country code"),((null==(r=e.name)?void 0:r.toLowerCase().includes("name"))||(null==(s=e.label)?void 0:s.toLowerCase().includes("name")))&&t&&t.trim().length<2&&n.push("Please enter a valid name"),n})(a,l);r.length>0&&(e[a.name]=r,t=!1)}),W&&!Y&&(e.captcha=["Please solve the CAPTCHA"],t=!1),el(e),t})()){let e=Object.keys(ea)[0];if(e)if("captcha"===e){var t;null==(t=J.current)||t.focus()}else{let t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"center"})}s.Ay.error("Please fill required fields");return}try{eo(!0);let e={body:{formData:{...ee},brandSlug:g,formType:I,sectionOrder:p,sectionName:u,uniqueFormKey:F}};if(f?await (0,n.Y8)({...e,body:{...e.body,websiteSlug:f}}):await (0,o.A7)({...e,body:{...e.body,landingPageSlug:b}}),b)return h.push(E?"/".concat(g,"/landing/").concat(b,"/thankyou"):"/thankyou");ec(!0),setTimeout(()=>ec(!1),4e3),et($),el({}),es({}),G(""),K(!1),Z()}catch(e){console.log("Error",e),s.Ay.error("Something went wrong! Please refresh the page and try again.")}finally{eo(!1)}},ep=e=>e.placeholder||"Enter your ".concat(e.label.toLowerCase());return(0,l.jsx)("section",{className:"w-full overflow-hidden",style:{backgroundColor:v,paddingTop:"".concat(w,"px"),paddingBottom:"".concat(j,"px"),paddingLeft:"".concat(N,"px"),paddingRight:"".concat(k,"px")},children:(0,l.jsx)("div",{className:"".concat(y?"max-w-full":"max-w-7xl"," mx-auto"),children:(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[1.25fr_0.85fr] gap-8 items-stretch",children:[(0,l.jsxs)("div",{className:"rounded-[28px] lg:p-10 p-8 shadow-xl relative overflow-hidden",style:{backgroundColor:C},children:[_&&(0,l.jsx)(e=>{let{content:t,className:a=""}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words ".concat(a),dangerouslySetInnerHTML:{__html:t}}):null},{content:_}),(0,l.jsxs)("div",{className:"flex gap-2 mt-6",children:[(0,l.jsx)("div",{className:"w-10 h-[3px] bg-white rounded-full"}),(0,l.jsx)("div",{className:"w-6 h-[3px] bg-white/50 rounded-full"})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-10 gap-y-12 mt-14",children:null==T?void 0:T.map((e,t)=>(0,l.jsxs)("div",{className:"flex items-start gap-4",children:[(0,l.jsx)("div",{className:"min-w-[42px]",children:((e,t)=>{if(!e)return null;let a=c.A[e.toLowerCase()];return a?(0,l.jsx)("div",{style:{color:t,fontSize:"42px"},children:a}):null})(e.icon,e.iconColor)}),(0,l.jsxs)("div",{className:"flex-1",children:[e.title&&(0,l.jsx)("h3",{className:"text-white font-bold text-[20px] leading-tight",style:{color:e.textColor},children:e.title}),e.content&&(0,l.jsx)("p",{content:e.content,className:"text-[16px] leading-relaxed",style:{color:e.textColor},children:e.content})]})]},t))})]}),(0,l.jsxs)("div",{className:"bg-white rounded-[28px] border border-slate-200 p-8 md:p-10 shadow-lg",children:[(0,l.jsx)("h2",{className:"text-[36px] font-bold text-[#151B47] leading-tight",children:S}
1),(0,l.jsxs)("form",{onSubmit:eu,className:"space-y-4 mt-5",children:[null==L?void 0:L.map((e,t)=>(0,l.jsx)("div",{children:(e=>{var t,a;let r=ea[e.name]&&er[e.name];return"radio"===e.type?(0,l.jsxs)("div",{className:"w-full",children:[P&&(0,l.jsxs)("label",{className:"text-[14px] font-semibold text-gray-700 block mb-2",children:[e.label,e.isRequired&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("div",{className:"flex gap-6",children:null==(t=e.options)?void 0:t.map(t=>{let a=t.value||t,r=t.label||t;return(0,l.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",children:[(0,l.jsx)("input",{type:"radio",name:e.name,checked:ee[e.name]===a,onChange:()=>ed(e.name,a,e.type),onBlur:()=>em(e.name),className:"w-4 h-4"}),(0,l.jsx)("span",{className:"text-[16px]",children:r})]},a)})}),r&&(0,l.jsx)("div",{className:"mt-2",children:ea[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600",children:["• ",e]},t))})]},e.name):"select"===e.type?(0,l.jsxs)("div",{className:"w-full",children:[P&&(0,l.jsxs)("label",{className:"text-[14px] font-semibold text-gray-700 block mb-2",children:[e.label,e.isRequired&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsxs)("select",{id:e.name,value:ee[e.name]||"",onChange:t=>ed(e.name,t.target.value,e.type),onBlur:()=>em(e.name),className:"w-full h-[50px] px-5 rounded-xl border border-slate-200 bg-white outline-none text-[16px] focus:border-[#ED28B5] ".concat(r?"border-red-500":""),children:[(0,l.jsxs)("option",{value:"",disabled:!0,children:["Select ",e.label]}),null==(a=e.options)?void 0:a.map((e,t)=>{let a=e.value||e,r=e.label||e;return(0,l.jsx)("option",{value:a,children:r},t)})]}),r&&(0,l.jsx)("div",{className:"mt-2",children:ea[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600",children:["• ",e]},t))})]},e.name):"textarea"===e.type?(0,l.jsxs)("div",{className:"w-full",children:[P&&(0,l.jsxs)("label",{className:"text-[14px] font-semibold text-gray-700 block mb-2",children:[e.label,e.isRequired&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("textarea",{id:e.name,placeholder:ep(e),value:ee[e.name]||"",onChange:t=>ed(e.name,t.target.value,e.type),onBlur:()=>em(e.name),rows:e.rows||4,className:"w-full px-5 py-3 rounded-xl border border-slate-200 bg-white outline-none text-[16px] focus:border-[#ED28B5] resize-y ".concat(r?"border-red-500":"")}),r&&(0,l.jsx)("div",{className:"mt-2",children:ea[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600",children:["• ",e]},t))})]},e.name):(0,l.jsxs)("div",{className:"w-full",children:[P&&(0,l.jsxs)("label",{className:"text-[14px] font-semibold text-gray-700 block mb-2",children:[e.label,e.isRequired&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("input",{id:e.name,type:"email"===e.type?"email":"text",placeholder:ep(e),value:ee[e.name]||"",onChange:t=>ed(e.name,t.target.value,e.type),onBlur:()=>em(e.name),className:"w-full h-[50px] px-5 rounded-xl border border-slate-200 bg-white outline-none text-[16px] focus:border-[#ED28B5] ".concat(r?"border-red-500":"")}),r&&(0,l.jsx)("div",{className:"mt-2",children:ea[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600",children:["• ",e]},t))})]},e.name)})(e)},t)),(()=>{if(!W)return null;let e=ea.captcha&&er.captcha;return(0,l.jsx)("div",{className:"w-full",children:(0,l.jsxs)("div",{className:"bg-gray-50 rounded-xl p-4 border border-gray-200",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-3",children:[(0,l.jsx)("div",{className:"flex-1 bg-gradient-to-r from-blue-500/10 to-purple-500/10 rounded px-4 py-2.5 text-center border border-gray-200",children:(0,l.jsxs)("span",{className:"text-gray-800 text-base font-mono tracking-wider select-none font-semibold",children:[H," = ?"]})}),(0,l.jsx)("button",{type:"button",onClick:X,className:"flex-shrink-0 p-2 rounded-lg bg-gray-100 hover:bg-gray-200 transition-colors text-gray-700","aria-label":"Refresh CAPTCHA",title:"Refresh CAPTCHA",children:(0,l.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{ref:J,type:"text",value:O,onChange:Q,placeholder:"Enter your answer",className:"w-full px-4 py-2.5 text-sm border rounded-lg focus:outline-none focus:ring-2 text-gray-800 placeholder-gray-400 transition-all ".concat(Y?"border-green-400 focus:ring-green-400 bg-green-50":e?"border-red-400 focus:ring-red-400 bg-red-50":"border-gray-300 focus:ring-[#ED28B5] focus:border-[#
1ED28B5] bg-white"),style:{borderColor:Y?"#4ADE80":e?"#EF4444":void 0},disabled:Y}),Y&&(0,l.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})]}),e&&!Y&&(0,l.jsx)("div",{className:"mt-2",children:ea.captcha.map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600",children:["• ",e]},t))}),Y&&!e&&(0,l.jsx)("p",{className:"text-green-500 text-sm mt-2",children:"✓ CAPTCHA verified successfully"})]})})})(),(0,l.jsxs)("button",{type:"submit",disabled:en||W&&!Y,className:"w-full h-[50px] rounded-xl mt-10 transition-all duration-300 text-white font-bold text-[20px] flex items-center justify-center gap-3 shadow-lg",style:{backgroundColor:en||W&&!Y?"#9ca3af":B,color:A,cursor:en||W&&!Y?"not-allowed":"pointer"},children:[en?"Sending...":S,!en&&(0,l.jsx)("span",{className:"text-2xl",children:"→"})]})]}),M&&(0,l.jsxs)("div",{className:"flex items-center justify-center gap-2 mt-8 text-slate-500 text-[15px] font-bold",children:[(0,l.jsx)(d.AI8,{className:"text-[#062B8D] text-xl"}),(0,l.jsx)("span",{children:M})]}),ei&&(0,l.jsx)("div",{className:"mt-4 p-4 bg-green-50 border border-green-200 text-green-700 text-center rounded-xl",children:"Thank you! Your inquiry has been submitted."})]})]})})})}},72663:(e,t,a)=>{a.d(t,{default:()=>h});var l=a(95155),r=a(12115),s=a(22663),n=a(35258),o=a(30178),i=a(20063),c=a(20508),d=a(23664),m=a(69141),u=a(21873),p=a(42878),x=a(81602);function h(e){let{data:t,sectionName:a,sectionOrder:h}=e,{brandSlug:g,website_slug:f,landingPageSlug:b}=(0,i.useParams)(),y=(0,i.useRouter)(),{isFullWidth:v=!1,backgroundColor:w="#f3f3f1",paddingTop:j=10,paddingBottom:N=10,paddingLeft:k=10,paddingRight:C=10,topContent:_="",phone:T="",email:L="",address:S="",formName:B="",formFields:A=[],submitButtonText:M="Send Message",submitButtonBackgroundColor:I="#769255",submitButtonTextColor:F="#ffffff",leftSectionBackgroundColor:R="#769255",leftSectionTextColor:P="#ffffff",rightSectionBackgroundColor:W="#ffffff",labelColor:E="#1A1A1ACC",inputBorderColor:H="#fafafa",inputBackgroundColor:D="#fafafa",inputTextColor:q="#6B7280",borderRadius:z="rounded-3xl",shadow:O=!0,showCaptcha:G=!1}=t||{},U="clients.staystack.encrobytes.com"===window.location.hostname||window.location.hostname.includes("localhost"),[V,Y]=(0,r.useState)(""),[K,J]=(0,r.useState)(0),[Z,Q]=(0,r.useState)(""),[X,$]=(0,r.useState)(""),[ee,et]=(0,r.useState)(!1),ea=(0,r.useRef)(null),el=(0,r.useCallback)(()=>{let e,t,a=Math.floor(10*Math.random())+1,l=Math.floor(10*Math.random())+1,r=["+","-","\xd7"];switch(r[Math.floor(Math.random()*r.length)]){case"+":default:e=a+l,t="".concat(a," + ").concat(l);break;case"-":e=a-l,t="".concat(a," - ").concat(l);break;case"\xd7":e=a*l,t="".concat(a," \xd7 ").concat(l)}Y(t),J(e),Q(""),$(""),et(!1)},[]);(0,r.useEffect)(()=>{G&&el()},[G,el]);let er=e=>{let t=e.target.value;Q(t),$(""),et(!1),t&&parseInt(t)===K&&(et(!0),$(""))},es=()=>{el(),Q(""),$(""),et(!1),ea.current&&ea.current.focus()},en=(0,r.useMemo)(()=>(null==A?void 0:A.reduce((e,t)=>{var a,l,r,s;let n=t.type;return(null==(a=t.name)?void 0:a.toLowerCase().includes("email"))||(null==(l=t.label)?void 0:l.toLowerCase().includes("email"))?n="email":((null==(r=t.name)?void 0:r.toLowerCase().includes("phone"))||(null==(s=t.label)?void 0:s.toLowerCase().includes("phone")))&&(n="tel"),"checkbox"===n&&t.options?e[t.name]=[]:"checkbox"!==n||t.options?e[t.name]="":e[t.name]=!1,e},{}))||{},[A]),[eo,ei]=(0,r.useState)(en),[ec,ed]=(0,r.useState)({}),[em,eu]=(0,r.useState)(!1),[ep,ex]=(0,r.useState)(!1),eh=(e,t)=>{var a,l,r,s,n,o,i,c,d,m;let u=[],p=e.type;return(null==(a=e.name)?void 0:a.toLowerCase().includes("email"))||(null==(l=e.label)?void 0:l.toLowerCase().includes("email"))?p="email":((null==(r=e.name)?void 0:r.toLowerCase().includes("phone"))||(null==(s=e.label)?void 0:s.toLowerCase().includes("phone")))&&(p="tel"),!0===e.isRequired&&("checkbox"===p&&e.options?t&&0!==t.length||u.push("".concat(e.label," is required")):"checkbox"!==p||e.options?"radio"===p?t&&""!==t.trim()||u.push("Please select ".concat(e.label.toLowerCase())):(null==t?void 0:t.trim())||u.push("".concat(e.label," is required")):t||u.push("You must accept ".concat(e.label))),"email"===p&&t&&t.trim()&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim())||u.push("Please enter a valid email address")),((null==(n=e.name)?void 0:n.toLowerCase().includes("phone"))||(null==(o=e.label)?void 0:o.toLowerCase().includes("phone")))&&t&&t.trim()&&t.replace(/\D/g,"").length<7&&u.push("Please enter a valid phone number with country code"),((null==(i=e.name)?void 0:i.toLowerCase().includes("name"))||(null==(c=e.label)?void 0:c.toLowerCase().includes("name")))&&t&&t.trim().length<2&&u.push("Please enter a valid name"),((null==(d=e.name)?void 0:d.toLowerCase().includes("message"))||(null==(m=e.label)?void 0:m.toLowerCase().includes("message")))&&t&&t.trim().length<10&&u.push("Please enter a message with at least 10 characters"),u},eg=e=>{let{name:t,value:a,type:l,checked:r}=e.target;if("checkbox"===l){let e=A.find(e=>e.name===t);(null==e?void 0:e.options)?ei(e=>({...e,[t]:r?[...e[t]||[],a]:(e[t]||[]).filter(e=>e!==a)})):ei(e=>({...e,[t]:r}))}else"radio"===l?ei(e=>({...e,[t]:a})):ei(e=>({...e,[t]:a}));if(ep&&ec[t]){let e=null==A?void 0:A.find(e=>e.name===t);if(e){let s="checkbox"===l?e.options?r?[...eo[t]||[],a]:(eo[t]||[]).filter(e=>e!==a):r:a,n=eh(e,s);0===n.length?ed(e=>{let a={...e};return delete a[t],a}):ed(e=>({...e,[t]:n}))}}},ef=async e=>{if(e.preventDefault(),ex(!0),!(()=>{let e={},t=!0;return null==A||A.forEach(a=>{let l=eo[a.name],r=eh(a,l);r.length>0&&(e[a.name]=r,t=!1)}),G&&!ee&&(e.captcha=["Please solve the CAPTCHA"],t=!1),ed(e),t})()){let e=Object.keys(ec)[0];if(e)if("captcha"===e){var a;null==(a=ea.current)||a.focus()}else{let t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"center"})}s.Ay.error("Please fix the validation errors before submitting.");return}try{eu(!0);let e={body:{formData:{...eo},brandSlug:g,formType:t.formType,sectionOrder:h,sectionName:"Form_6",uniqueFormKey:t.uniqueFormKey}};if(f?await (0,n.Y8)({...e,body:{...e.body,websiteSlug:f}}):await (0,o.A7)({...e,body:{...e.body,landingPageSlug:b}}),b)return y.push(U?"/".concat(g,"/landing/").concat(b,"/thankyou"):"/thankyou");s.Ay.success("Thanks, we will get back to you soon."),ei(en),ed({}),ex(!1),Q(""),et(!1),el()}catch(e){console.log("Error",e),s.Ay.error("Something went wrong! Please refresh the page and try again.")}finally{eu(!1)}};return(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:w,paddingTop:"".concat(j,"px"),paddingBottom:"".concat(N,"px"),paddingLeft:"".concat(k,"px"),paddingRight:"".concat(C,"px")}
1,children:(0,l.jsx)("div",{className:"".concat(v?"max-w-full":"max-w-7xl"," mx-auto rounded-3xl overflow-hidden ").concat(O?"shadow-2xl":""),style:{borderRadius:"rounded-3xl"===z?"1.5rem":"1rem"},children:(0,l.jsxs)("div",{className:"grid md:grid-cols-2",children:[(0,l.jsxs)("div",{className:"p-4 sm:p-10 flex flex-col justify-between relative",style:{backgroundColor:R,color:P},children:[(0,l.jsxs)("div",{children:[_&&(0,l.jsx)("div",{className:"mb-8",children:_?(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:_},className:"inline-block"}):null}),B&&!_&&(0,l.jsx)("h2",{className:"lg:text-[32px] font-bold mb-4",children:B}),(0,l.jsxs)("div",{className:"space-y-5 text-md sm:text-[18px]",children:[T&&(0,l.jsxs)("div",{className:"flex items-center gap-4",children:[(0,l.jsx)("div",{className:"bg-white/20 p-3 rounded-lg shadow-xl",children:(0,l.jsx)(m.A,{size:20})}),(0,l.jsx)("span",{children:T})]}),L&&(0,l.jsxs)("div",{className:"flex items-center gap-4",children:[(0,l.jsx)("div",{className:"bg-white/20 p-3 rounded-lg shadow-xl",children:(0,l.jsx)(d.A,{size:20})}),(0,l.jsx)("span",{children:L})]}),S&&(0,l.jsxs)("div",{className:"flex items-start gap-4",children:[(0,l.jsx)("div",{className:"bg-white/20 p-3 rounded-lg mt-1 shadow-xl",children:(0,l.jsx)(u.A,{size:20})}),(0,l.jsx)("p",{className:"leading-relaxed whitespace-pre-line",children:S})]})]})]}),(0,l.jsx)("div",{className:"absolute top-0 right-0 w-40 h-40 bg-[#FFFFFF0D] rounded-full translate-x-1/3 -translate-y-1/3"})]}),(0,l.jsx)("div",{className:"p-4 sm:p-10",style:{backgroundColor:W},children:(0,l.jsxs)("form",{onSubmit:ef,className:"space-y-6",children:[(0,l.jsxs)("div",{className:"grid md:grid-cols-2 gap-5",children:[A.map((e,t)=>{var a,r,s,n,o,i,u,p,h;let g=(e.type,p=e.name,h=e.label,(null==p?void 0:p.toLowerCase().includes("name"))||(null==h?void 0:h.toLowerCase().includes("name"))?c.A:(null==p?void 0:p.toLowerCase().includes("email"))||(null==h?void 0:h.toLowerCase().includes("email"))?d.A:(null==p?void 0:p.toLowerCase().includes("phone"))||(null==h?void 0:h.toLowerCase().includes("phone"))?m.A:null),f=ep&&ec[e.name],b=eo[e.name]||"",y="".concat("w-full border rounded-xl px-5 py-4 text-[16px] outline-none transition-colors focus:ring-2 resize-vertical"," ").concat(f?"border-red-500 focus:border-red-500 focus:ring-red-500/20":"border-[#fafafa] focus:border-[#769255] focus:ring-[#769255]/20"),v="textarea"===e.type||"radio"===e.type||"select"===e.type||"checkbox"===e.type||2===e.colSpan,w=(null==(a=e.name)?void 0:a.toLowerCase().includes("phone"))||(null==(r=e.label)?void 0:r.toLowerCase().includes("phone")),j=(null==(s=e.name)?void 0:s.toLowerCase().includes("email"))||(null==(n=e.label)?void 0:n.toLowerCase().includes("email"));return(0,l.jsxs)("div",{className:v?"md:col-span-2":"",children:[(0,l.jsxs)("label",{className:"text-[14px] font-bold uppercase leading-wider block mb-2",style:{color:E},children:[e.label,!0===e.isRequired&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),w&&!1!==e.enableCountryCode?(0,l.jsx)("div",{className:"border rounded-xl ".concat(f?"border-red-500":"border-[".concat(H,"]")),style:{backgroundColor:D},children:(0,l.jsx)("div",{className:"[&_.react-international-phone-country-selector-button]:!h-[56px]    [&_.react-international-phone-input]:!h-[56px]    [&_.react-international-phone-country-selector-button]:!border-0    [&_.react-international-phone-input]:!border-0   [&_.react-international-phone-country-selector-button]:!rounded-l-xl    [&_.react-international-phone-input]:!rounded-r-xl   [&_.react-international-phone-country-selector-button]:!bg-transparent   [&_.react-international-phone-input]:!bg-transparent   [&_.react-international-phone-country-selector-button]:!hover:bg-gray-50   [&_.react-international-phone-input]:!text-[16px]   [&_.react-international-phone-input]:!placeholder-gray-400",children:(0,l.jsx)(x.LR,{defaultCountry:"in",value:b,onChange:t=>((e,t)=>{if(ei(a=>({...a,[t]:e||""})),ep&&ec[t]){let a=null==A?void 0:A.find(e=>e.name===t);if(a){let l=eh(a,e||"");0===l.length?ed(e=>{let a={...e};return delete a[t],a}):ed(e=>({...e,[t]:l}))}}})(t,e.name),placeholder:e.placeholder||"Enter your ".concat(e.label.toLowerCase()),preferredCountries:e.preferredCountries||["us","gb","ca","au","in"],inputProps:{className:"w-full px-5 py-4 bg-transparent focus:outline-none text-[16px] rounded-r-xl",id:e.name,name:e.name,required:!0===e.isRequired,style:{color:q}},buttonProps:{className:"px-4 hover:bg-gray-50 rounded-l-xl transition-colors"},containerClassName:"w-full"})})}):"textarea"===e.type?(0,l.jsx)("textarea",{id:e.name,name:e.name,rows:4,placeholder:e.placeholder||"Enter your ".concat(e.label.toLowerCase()),value:b,onChange:eg,className:y,style:{backgroundColor:D,color:q}}):"select"===e.type?(0,l.jsx)("div",{className:"flex items-center border rounded-xl ".concat(f?"border-red-500":"border-[".concat(H,"]")),style:{backgroundColor:D},children:(0,l.jsxs)("select",{id:e.name,name:e.name,value:b,onChange:eg,className:"bg-transparent outline-none w-full text-[16px] px-5 py-4 appearance-none cursor-pointer",style:{color:q},children:[(0,l.jsx)("option",{value:"",disabled:!0,children:e.placeholder||"Select ".concat(e.label.toLowerCase())}),null==(o=e.options)?void 0:o.map((e,t)=>(0,l.jsx)("option",{value:e.value,children:e.label},t))]})}):"radio"===e.type?(0,l.jsx)("div",{className:"flex flex-wrap gap-4 mt-1",children:null==(i=e.options)?void 0:i.map((t,a)=>(0,l.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",style:{color:q},children:[(0,l.jsx)("input",{type:"radio",name:e.name,value:t.value,checked:b===t.value,onChange:eg,className:"w-4 h-4 accent-[#769255]"}),(0,l.jsx)("span",{className:"text-[16px]",children:t.label})]},a))}):"checkbox"===e.type&&e.options?(0,l.jsx)("div",{className:"flex flex-wrap gap-4 mt-1",children:null==(u=e.options)?void 0:u.map((t,a)=>(0,l.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer",style:{color:q},children:[(0,l.jsx)("input",{type:"checkbox",name:e.name,value:t.value,checked:(b||[]).includes(t.value),onChange:eg,className:"w-4 h-4 accent-[#769255]"}),(0,l.jsx)("span",{className:"text-[16px]",children:t.label})]},a))}):"checkbox"!==e.type||e.options?(0,l.jsxs)("div",{className:"flex items-center border rounded-xl px-4 py-4 ".concat(f?"border-red-500":"border-[".concat(H,"]")),style:{backgroundColor:D},children:[g&&(0,l.jsx)(g,{size:20,className:"mr-2 flex-shrink-0",style:{color:q}}),(0,l.jsx)("input",{id:e.name,type:j?"email":"phone"===e.type?"tel":e.type,name:e.name,placeholder:e.placeholder||"Enter your ".concat(e.label.toLowerCase()),value:b,onChange:eg,className:"bg-transparent outline-none w-full text-[16px]",style:{color:q}})]}):(0,l.jsxs)("label",{className:"flex items-center gap-2 cursor-pointer mt-1",style:{color:q},children:[(0,l.jsx)("input",{type:"checkbox",name:e.name,checked:!!b,onChange:eg,className:"w-4 h-4 accent-[#769255]"}),(0,l.jsx)("span",{className:"text-[16px]",children:e.label})]}),f&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:ec[e.name].map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600 flex items-center",children:[(0,l.jsx)("span",{className:"mr-1",children:"•"}),e]},t))})]},e.name||t)}),(()=>{if(!G)return null;let e=ep&&ec.captcha;return(0,l.jsx)("div",{className:"md:col-span-2",children:(0,l.jsxs)("div",{className:"bg-gray-50 rounded-xl p-4 border border-gray-200",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-3",children:[(0,l.jsx)("div",{className:"flex-1 bg-gradient-to-r from-blue-500/10 to-purple-500/10 rounded px-4 py-2.5 text-center border border-gray-200",children:(0,l.jsxs)("span",{className:"text-gray-800 text-base font-mono tracking-wider select-none font-semibold",children:[V," = ?"]})}),(0,l.jsx)("button",{type:"button",onClick:es,className:"flex-shrink-0 p-2 rounded-lg bg-gray-100 hover:bg-gray-200 transition-colors text-gray-700","aria-label":"Refresh CAPTCHA",title:"Refresh CAPTCHA",children:(0,l.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{ref:ea,type:"text",value:Z,onChange:er,placeholder:"Enter your answer",className:"w-full px-4 py-2.5 text-sm border rounded-lg focus:outline-none focus:ring-2 text-gray-800 placeholder-gray-400 transition-all ".concat(ee?"border-green-400 focus:ring-green-400 bg-green-50":e?"border-red-400 focus:ring-red-400 bg-red-50":"border-gray-300 focus:ring-[#769255] focus:border-[#769255] bg-white"),style:{borderColor:ee?"#4ADE80":e?"#EF4444":void 0},disabled:ee}),ee&&(0,l.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})]}),e&&!ee&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:ec.captcha.map((e,t)=>(0,l.jsxs)("p",{className:"text-sm text-red-600 flex items-center",children:[(0,l.jsx)("span",{className:"mr-1",children:"•"}),e]},t))}),ee&&!e&&(0,l.jsx)("p",{className:"text-green-500 text-sm mt-2",children:"✓ CAPTCHA verified successfully"})]})})})()]}),M&&(0,l.jsxs)("button",{type:"submit",disabled:em||G&&!ee,style:{backgroundColor:em||G&&!ee?"#9ca3af":I,color:F},className:"px-8 py-4 font-bold rounded-2xl shadow-md hover:opacity-90 transition flex items-center gap-2 disabled:opacity-70 disabled:cursor-not-allowed",children:[em?"Sending...":M,!em&&(0,l.jsx)(p.Hwp,{size:18})]})]})})]})})})}a(30594)}
1,74163:(e,t,a)=>{a.d(t,{I0:()=>r,Rm:()=>l});let l=e=>{let t="grid grid-cols-1 sm:grid-cols-2";return e>=7?t+=" md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-7":6===e?t+=" md:grid-cols-3 lg:grid-cols-6":5===e?t+=" md:grid-cols-3 lg:grid-cols-5":4===e?t+=" md:grid-cols-2 lg:grid-cols-4":3===e?t+=" md:grid-cols-3":2===e?t+=" md:grid-cols-2":1===e&&(t+=" md:grid-cols-1"),t},r=e=>0===Object.keys(e).length},75224:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(12115),s=a(97290);function n(e){let{data:t}=e,a={content:"<h2 class='text-3xl font-bold text-center mb-4'>Our Gallery</h2><p class='text-lg text-gray-600 text-center'>Explore our beautiful collection of images</p>",isFullWidth:!1,paddingTop:48,paddingBottom:48,paddingLeft:16,paddingRight:16,backgroundColor:"#ffffff",textColor:"#1f2937",gallery:[{image:"/api/placeholder/400/400",label:"Beautiful Landscape",altText:"Scenic mountain landscape"},{image:"/api/placeholder/400/400",label:"Urban Architecture",altText:"Modern city buildings"},{image:"/api/placeholder/400/400",label:"Nature Photography",altText:"Forest and wildlife"},{image:"/api/placeholder/400/400",label:"Coastal Views",altText:"Ocean and beach scenery"},{image:"/api/placeholder/400/400",label:"Mountain Adventure",altText:"Hiking in the mountains"},{image:"/api/placeholder/400/400",label:"City Life",altText:"Urban lifestyle and culture"}]},s=t&&Object.keys(t).length>0,{content:n=a.content,isFullWidth:c=a.isFullWidth,paddingTop:d=a.paddingTop,paddingBottom:m=a.paddingBottom,paddingLeft:u=a.paddingLeft,paddingRight:p=a.paddingRight,backgroundColor:x=a.backgroundColor,textColor:h=a.textColor,gallery:g=a.gallery}=s?t:a,[f,b]=(0,r.useState)(null),[y,v]=(0,r.useState)(!1),w=h?{color:h}:{};return(0,l.jsxs)("div",{style:{paddingTop:"".concat(d,"px"),paddingBottom:"".concat(m,"px"),paddingLeft:"".concat(u,"px"),paddingRight:"".concat(p,"px"),backgroundColor:x},children:[!s&&(0,l.jsx)("div",{className:"bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded mb-6 text-center text-sm max-w-2xl mx-auto",children:"\uD83D\uDCA1 Showing demo gallery. Provide data prop to display your actual images."}),(0,l.jsxs)("div",{className:"".concat(c?"w-full":"max-w-6xl mx-auto"," px-4"),children:[n&&(0,l.jsx)("div",{className:"text-center mb-5",style:w,children:(0,l.jsx)("div",{className:"ProseMirror leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:n}})}),g.length>0?(0,l.jsx)("div",{className:"grid ".concat((()=>{let e=g.length;return 1===e?"grid-cols-1":2===e?"grid-cols-1 md:grid-cols-2":3===e?"grid-cols-1 md:grid-cols-2 lg:grid-cols-3":4===e?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":e>=5?"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4":"grid-cols-1"})()," gap-6"),children:g.map((e,t)=>(0,l.jsx)(o,{image:e.image,label:e.label,onClick:()=>{b(e),v(!0)},altText:e.altText},t))}):(0,l.jsx)("div",{className:"text-center py-16 text-gray-500",style:w,children:"No images in gallery"}),y&&f&&(0,l.jsx)(i,{image:f,onClose:()=>{v(!1),b(null)},textColor:h})]})]})}function o(e){let{image:t,label:a,altText:n,onClick:o}=e,[i,c]=(0,r.useState)(!1);return(0,l.jsxs)("div",{className:"relative group cursor-pointer overflow-hidden rounded-lg shadow-md hover:shadow-xl transition-all duration-500 transform hover:scale-105",onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),onClick:o,children:[(0,l.jsxs)("div",{className:"aspect-square overflow-hidden relative group",children:[(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(t),alt:n||"Gallery image",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-110"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/40 opacity-0 group-hover:opacity-100 transition-opacity duration-500"})]}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-opacity-60 transition-all duration-500 flex items-center justify-center ".concat(i?"bg-opacity-60":"bg-opacity-0"),children:(0,l.jsxs)("div",{className:"text-white text-center transform transition-all duration-500 ".concat(i?"opacity-100 translate-y-0":"opacity-0 translate-y-4"),children:[(0,l.jsx)("h3",{className:"text-xl font-semibold mb-2",children:a}),(0,l.jsxs)("div",{className:"flex items-center justify-center space-x-2 text-sm opacity-90",children:[(0,l.jsx)("span",{children:"Click to view"}),(0,l.jsxs)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]})]})]})}),(0,l.jsx)("div",{className:"absolute top-0 left-0 w-4 h-4 border-t-2 border-l-2 border-white opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,l.jsx)("div",{className:"absolute top-0 right-0 w-4 h-4 border-t-2 border-r-2 border-white opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,l.jsx)("div",{className:"absolute bottom-0 left-0 w-4 h-4 border-b-2 border-l-2 border-white opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,l.jsx)("div",{className:"absolute bottom-0 right-0 w-4 h-4 border-b-2 border-r-2 border-white opacity-0 group-hover:opacity-100 transition-opacity duration-500"})]})}function i(e){let{image:t,onClose:a,textColor:r}=e;return(0,l.jsx)("div",{className:"fixed inset-0 bg-black/90 flex items-center justify-center z-50 p-4",onClick:a,children:(0,l.jsxs)("div",{className:"relative max-w-4xl max-h-full w-full",onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("button",{onClick:a,className:"absolute -top-12 right-0 text-white hover:text-gray-300 transition-colors duration-200 z-10",style:r?{color:r}:{},children:(0,l.jsx)("svg",{className:"w-8 h-8",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),(0,l.jsx)("div",{className:"rounded-lg overflow-hidden shadow-2xl",children:(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(t.image),alt:t.altText||"Gallery image",className:"w-full h-auto max-h-[70vh] object-contain"})})]})})}},75423:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155);a(12115);var r=a(20063),s=a(97290);let n={height:100,image:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",backgroundColor:"#1a1a2e",contentPosition:"center",content:"<h1 class='text-4xl md:text-6xl font-bold mb-4 text-white'>Welcome to Our Premium Service</h1><p class='text-lg md:text-xl text-white'>Discover amazing experiences and create lasting memories with us</p>",showOverlay:!0,button1Text:"GET STARTED",button1Url:"/contact",url1OpenInNewTab:!1,button1Backgroun
1dColor:"#7A8B5C",button1TextColor:"#ffffff",button2Text:"LEARN MORE",button2Url:"/about",url2OpenInNewTab:!1,button2BackgroundColor:"transparent",button2TextColor:"#ffffff",contentImage:"https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",contentImageAltText:"Business team collaborating"},o=e=>{var t,a;let{data:o,preview:i=!1}=e,c=(0,r.useParams)(),d=null==c?void 0:c.brandSlug,m=null==c?void 0:c.website_slug,{title:u,isFullWidth:p,paddingTop:x=50,paddingBottom:h=50,paddingRight:g=30,paddingLeft:f=30,image:b,content:y,backgroundColor:v,showOverlay:w,button1Text:j,button1Url:N,button1BackgroundColor:k,button1TextColor:C,button2Text:_,button2Url:T,button2BackgroundColor:L,button2TextColor:S,url1OpenInNewTab:B,contentPosition:A="center",contentImage:M,contentImageAltText:I,height:F="100vh"}=(i?n:o)||{},R="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),P=(e,t,a)=>R?"/".concat(t,"/website/").concat(a).concat(e):e,W=e=>!!e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")),E=[...j?[{text:j,url:N,backgroundColor:k,textColor:C,openInNewTab:B||!1}]:[],..._?[{text:_,url:T,backgroundColor:L,textColor:S,openInNewTab:!1}]:[]].slice(0,2),H=b?{backgroundImage:i?"url(".concat(b,")"):"url(".concat(s.image_url,"/").concat(b,")"),backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:1}:{},D=(e=>{switch(e){case"left":return{alignItems:"flex-start",textAlign:"left",justifyContent:"center"};case"right":return{alignItems:"flex-end",textAlign:"right",justifyContent:"center"};default:return{alignItems:"center",textAlign:"center",justifyContent:"center"}}})(A),q={position:"relative",zIndex:3,maxWidth:p?"100%":"1200px",margin:"0 auto",display:"flex",height:"100%",minHeight:"100%",alignItems:"center",justifyContent:"center",...D};M?(q.flexDirection="row",q.alignItems="center"):q.flexDirection="column";let z="left"===A?2:1,O="left"===A?1:2,G={flex:1,display:"flex",flexDirection:"column",padding:"20px"},U={...G,...D,order:O},V={...G,order:z,justifyContent:"center"===A?"center":A,alignItems:"center"};return(0,l.jsxs)("div",{style:{paddingTop:"".concat(x,"px"),paddingBottom:"".concat(h,"px"),paddingRight:"".concat(g,"px"),paddingLeft:"".concat(f,"px"),backgroundColor:v||"transparent",position:"relative",overflow:"hidden",height:F?"".concat(F,"vh"):"100vh",display:"flex",alignItems:"center"},className:"banner-with-buttons",children:[b&&(0,l.jsx)("div",{style:H}),w&&(0,l.jsx)("div",{style:w?{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.5)",zIndex:2}:{}}),(0,l.jsxs)("div",{style:q,children:[(0,l.jsxs)("div",{style:U,children:[u&&(0,l.jsx)("h1",{className:"banner-title",style:{color:"#fff",marginBottom:y?"20px":"30px",fontSize:"2.5rem",width:"100%",lineHeight:"1.2"},children:u}),y&&(0,l.jsx)("div",{className:"ProseMirror break-words text-gray-600 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words items-start sm:items-center",style:{color:"#fff",lineHeight:"1.6",marginBottom:"30px",width:"100%"},dangerouslySetInnerHTML:{__html:y}}),E.length>0&&(0,l.jsx)("div",{className:"banner-buttons",style:{display:"flex",gap:"20px",flexWrap:"wrap",justifyContent:"center"===A?"center":"right"===A?"flex-end":"flex-start",width:"100%"},children:E.map((e,t)=>{var a;let r=function(e){return(arguments.length>1&&void 0!==arguments[1]&&arguments[1],e)?W(e)?e:e.startsWith("/")?R?P(e,d,m):e:R?P("/".concat(e),d,m):e.startsWith("/")?e:"/".concat(e):"#"}(e.url,e.openInNewTab),s=(a=e.url,!!e.openInNewTab||W(a));return(0,l.jsx)("a",{className:"px-2  py-2 sm:px-4 sm:py-4",href:r,target:s?"_blank":"_self",rel:s?"noopener noreferrer":"",style:{backgroundColor:e.backgroundColor||"#000000",color:e.textColor||"#ffffff",textDecoration:"none",borderRadius:"4px",fontWeight:"600",fontSize:"1rem",transition:"all 0.3s ease",minWidth:"150px",textAlign:"center",border:"none",cursor:"pointer",display:"inline-block"},onMouseEnter:e=>{e.currentTarget.style.opacity="0.8",e.currentTarget.style.transform="translateY(-2px)"},onMouseLeave:e=>{e.currentTarget.style.opacity="1",e.currentTarget.style.transform="translateY(0)"},children:e.text},t)})})]}),M&&(0,l.jsx)("div",{style:V,children:(0,l.jsx)("img",{src:i?M:"".concat(s.image_url,"/").concat(M),alt:I||"Banner Content Image",style:{maxWidth:"100%",height:"auto",maxHeight:"400px",display:"block",marginLeft:"right"===A?"auto":void 0,marginRight:"left"
1===A?"auto":void 0}})})]})]})}},79357:(e,t,a)=>{a.d(t,{default:()=>p});var l=a(95155),r=a(12115),s=a(42529),n=a(57830),o=a(30178),i=a(35258),c=a(20063),d=a(22663),m=a(97290),u=a(81602);a(30594);let p=e=>{let{data:t,sectionOrder:a}=e,{brandSlug:p,website_slug:x,landingPageSlug:h}=(0,c.useParams)(),g=t&&Object.keys(t).length>0&&(t.backgroundImage||t.leftContent||t.formFields||t.offterCardContent||t.lists),{backgroundImage:f,textColor:b="#ffffff",paddingLeft:y,paddingTop:v,paddingRight:w,paddingBottom:j,formFields:N=[],leftContent:k="",offterCardContent:C="",lists:_=[],email:T="[email protected]",formType:L="call-me-back",uniqueFormKey:S,formName:B="Book Your Stay",submitButtonText:A="Send Inquiry",submitButtonBackgroundColor:M="#5a8a48",submitButtonTextColor:I="#ffffff",showOverlay:F=!0,showCaptcha:R=!1}=g?t:{backgroundImage:"https://images.pexels.com/photos/1134176/pexels-photo-1134176.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2",leftContent:"<h1 style='text-align: left;'><strong>Zen Serviced Apartments</strong></h1><h2 style='text-align: left;'><strong>Green Park, New Delhi</strong></h2><p style='text-align: left;'>Like Home, Like Hotel in the heart of South Delhi. Experience comfort, convenience, and top-notch hospitality.</p>",showOverlay:!0,offterCardContent:"<p><strong>25%</strong></p><p><strong>OFF - On All Bookings</strong></p><p><strong>* COMPLIMENTARY UPGRADE</strong></p><p>* EARLY CHECK-IN OR LATE CHECKOUT</p>",lists:[{text:"Housekeeping"},{text:"Wi-Fi"},{text:"Smart TV"},{text:"Parking"}],email:"[email protected]",formType:"call-me-back",uniqueFormKey:"default_form_key",formName:"Book Your Stay",formFields:[{label:"Full Name",name:"full_name",type:"text",options:[],content:"",isRequired:!0},{label:"Email",name:"email",type:"email",options:[],content:"",isRequired:!0},{label:"Phone Number",name:"phone_number",type:"phone",options:[],content:"",isRequired:!0,enableCountryCode:!0,defaultCountry:"in",preferredCountries:["in","us","gb","ca","au"]},{label:"Number of guests",name:"number_of_guests",type:"number",options:[],content:"",isRequired:!0},{label:"Check in",name:"check_in",type:"date",options:[],content:"",isRequired:!0},{label:"Check out",name:"check_out",type:"date",options:[],content:"",isRequired:!0},{label:"Message",name:"message",type:"textarea",options:[],content:"",isRequired:!1}],submitButtonText:"Send Inquiry",submitButtonBackgroundColor:"#5a8a48",submitButtonTextColor:"#ffffff",textColor:"#ffffff"},[P,W]=(0,r.useState)(""),[E,H]=(0,r.useState)(0),[D,q]=(0,r.useState)(""),[z,O]=(0,r.useState)(""),[G,U]=(0,r.useState)(!1),V=(0,r.useCallback)(()=>{let e,t,a=Math.floor(10*Math.random())+1,l=Math.floor(10*Math.random())+1,r=["+","-","\xd7"];switch(r[Math.floor(Math.random()*r.length)]){case"+":default:e=a+l,t="".concat(a," + ").concat(l);break;case"-":e=a-l,t="".concat(a," - ").concat(l);break;case"\xd7":e=a*l,t="".concat(a," \xd7 ").concat(l)}W(t),H(e),q(""),O(""),U(!1)},[]);(0,r.useEffect)(()=>{R&&V()},[R,V]);let Y=N.reduce((e,t)=>(e[t.name]="",e),{}),[K,J]=(0,r.useState)(Y),[Z,Q]=(0,r.useState)({}),[X,$]=(0,r.useState)({}),[ee,et]=(0,r.useState)(!1),[ea,el]=(0,r.useState)(!1),er=(0,r.useRef)({}),es=(0,r.useRef)(null);N.forEach(e=>{er.current[e.name]||(er.current[e.name]=r.createRef())});let en=e=>{let{name:t,value:a}=e.target;J(e=>({...e,[t]:a})),Q(e=>({...e,[t]:""}))},eo=e=>{$(t=>({...t,[e]:!0}))},ei=async e=>{e.preventDefault(),el(!1);let t={};N.forEach(e=>{t[e.name]=!0}),$(t);let l=(()=>{let e={},t=new Date().setHours(0,0,0,0);return N.forEach(a=>{var l;let r=K[a.name];if(!0===a.isRequired&&"textarea"!==a.type&&(!r||""===r)){e[a.name]="".concat(a.label," is required");return}if("email"===a.type&&r&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r)&&(e[a.name]="Enter a valid email address"),("phone"===a.type||(null==(l=a.name)?void 0:l.toLowerCase().includes("phone")))&&r&&r.trim()&&r.replace(/\D/g,"").length<7&&(e[a.name]="Enter a valid phone number with country code"),"date"===a.type){let l=r?new Date(r).setHours(0,0,0,0):null;if("check_in"===a.name&&l&&l<t&&(e[a.name]="Check-in cannot be in the past"),"check_in"===a.name&&K.check_out){let t=new Date(K.check_out).setHours(0,0,0,0);l&&l>t&&(e[a.name]="Check-in cannot be after check-out")}if("check_out"===a.name&&K.check_in){let t=new Date(K.check_in).setHours(0,0,0,0);l&&l<t&&(e[a.name]="Check-out cannot be before check-in")}}}),R&&!G&&(e.captcha="Please solve the CAPTCHA"),e})();if(Object.keys(l).length>0){var r,s,n;Q(l);let e=Object.keys(l)[0];"captcha"===e?null==(r=es.current)||r.focus():null==(n=er.current[e])||null==(s=n.current)||s.focus();return}et(!0);try{if(g){let e={body:{formData:{...K},brandSlug:p,formType:L,sectionOrder:a,sectionName:"BannerWithForm_2",uniqueFormKey:S}};x?await (0,i.Y8)({...e,body:{...e.body,websiteSlug:x}}):await (0,o.A7)({...e,body:{...e.body,landingPageSlug:h}})}d.Ay.success("Thanks, we will get back to you soon."),J(Y),$({}),q(""),U(!1),V(),el(!0)}catch(e){console.error("Submission error:",e),d.Ay.error("Something went wrong! Please refresh the page and try again.")}finally{et(!1)}},ec=e=>{var t;let a=Z[e.name]&&X[e.name],r="phone"===e.type||(null==(t=e.name)?void 0:t.toLowerCase().includes("phone")),s=!0===e.isRequired;if(r&&!1!==e.enableCountryCode)return(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[e.label,s&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("div",{className:"[&_.react-international-phone-country-selector-button]:!h-[38px] \n                          [&_.react-international-phone-input]:!h-[42px] \n                          [&_.react-international-phone-country-selector-button]:!border \n                          [&_.react-international-phone-input]:!border-1\n                          [&_.react-international-phone-country-selector-button]:!border-gray-300 \n                          [&_.react-international-phone-input]:!border-gray-300\n                          [&_.react-international-phone-country-selector-button]:!rounded-l-md \n                          [&_.react-international-phone-input]:!rounded-r-md\n                          [&_.react-international-phone-country-selector-button]:!bg-white\n                          [&_.react-international-phone-input]:!bg-white\n                          [&_.react-international-phone-country-selector-button]:!hover:bg-gray-50\n                          [&_.react-international-phone-input]:!text-sm\n                          ".concat(a?"[&_.react-international-phone-country-selector-button]:!border-red-500 [&_.react-international-phone-input]:!border-red-500":""),children:(0,l.jsx)(u.LR,{defaultCountry:"in",value:K[e.name]||"",onChange:t=>((e,t)=>{J(a=>({...a,[t]:e||""})),Q(e=>({...e,[t]:""})),$(e=>({...e,[t]:!0}))})(t,e.name),placeholder:e.placeholder||"Enter your ".concat(e.label.toLowerCase()),preferredCountries:e.preferredCountries||["in","us","gb","ca","au"],inputProps:{className:"w-full px-3 py-2 bg-white focus:outline-none text-sm rounded-r-md border-1 border-gray-300",id:e.name,name:e.name,required:s,onBlur:()=>eo(e.name),ref:er.current[e.name]},buttonProps:{className:"bg-white hover:bg-gray-50 rounded-l-md px-3 transition-colors"},containerClassName:"w-full"})}),a&&(0,l.jsx)("p",{className:"text-xs text-red-500 mt-1",children:Z[e.name]})]},e.name);let n={name:e.name,value:K[e.name],onChange:en,className:(e=>"mt-1 block w-full px-3 py-2 border ".concat(Z[e]&&X[e]?"border-red-500":"border-gray-300"," rounded-md shadow-sm focus:outline-none focus:ring-[#5a8a48] focus:border-[#5a8a48] sm:text-sm"))(e.name),ref:er.current[e.name],placeholder:e.placeholder||"Enter your ".concat(e.label.toLowerCase()),onBlur:()=>eo(e.name)};switch(e.type){case"textarea":return(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[e.label,s&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("textarea",{...n,rows:"3"}),a&&(0,l.jsx)("p",{className:"text-xs text-red-500 mt-1",children:Z[e.name]})]},e.name);case"date":return(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[e.label,s&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("input",{...n,type:"date"}),a&&(0,l.jsx)("p",{className:"text-xs text-red-500 mt-1",children:Z[e.name]})]},e.name);case"number":return(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[e.label,s&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("input",{...n,type:"number",min:"1"}),a&&(0,l.jsx)("p",{className:"text-xs text-red-500 mt-1",children:Z[e.name]})]},e.name);case"email":return(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[e.label,s&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("input",{...n,type:"email"}),a&&(0,l.jsx)("p",{className:"text-xs text-red-500 mt-1",children:Z[e.name]})]},e.name);default:return(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[e.label,s&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("input",{...n,type:"text"}),a&&(0,l.jsx)("p",{className:"text-xs text-red-500 mt-1",children:Z[e.name]})]},e.name)}},ed=N.slice(0,4),em=N.slice(4,6),eu=N.slice(6);return(0,l.jsxs)("div",{className:"relative font-inter w-full text-white overflow-hidden",style:{color:b,paddingLeft:y,paddingTop:v,paddingRight:w,paddingBottom:j},children:[(0,l.jsx)("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url('".concat(m.image_url,"/").concat(f,"')")}}),F&&(0,l.jsx)("div",{className:"absolute inset-0 bg-black/50"}),(0,l.jsx)("div",{className:"container mx-auto px-6 py-16 md:py-24 lg:py-32 relative z-10",children:(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row items-center lg:items-start justify-center gap-8",children:[(0,l.jsxs)("div",{className:"lg:w-1/2 text-center lg:text-left",children:[k?(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:k},style:{color:b}}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold mb-4",children:"Olive Serviced Apartments"}),(0,l.jsx)("h2",{className:"text-2xl md:text-3xl font-semibold mb-6",children:"Green Park, New Delhi"}),(0,l.jsx)("p",{className:"text-lg md:text-xl mb-8 max-w-2xl mx-auto lg:mx-0",children:"Like Home, Like Hotel in the heart of South Delhi. Experience comfort, convenience, and top-notch hospital
1ity."})]}),C&&(0,l.jsx)("div",{className:"flex justify-center lg:justify-start mt-8",children:(0,l.jsx)("div",{className:"bg-gradient-to-r from-[#5a8a48] to-[#4a7a38] text-white px-6 py-4 rounded-2xl shadow-2xl transform",children:(0,l.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,l.jsx)(n.x2E,{className:"w-7 h-7"}),(0,l.jsx)("div",{className:"text-left",dangerouslySetInnerHTML:{__html:C}})]})})}),_&&_.length>0&&(0,l.jsxs)("div",{className:"mt-10",children:[(0,l.jsx)("h3",{className:"text-xl font-semibold mb-4",children:"Our Amenities Include:"}),(0,l.jsx)("div",{className:"grid grid-cols-2 rounded-2xl gap-3",children:_.map((e,t)=>(0,l.jsxs)("div",{className:"flex items-center rounded-2xl bg-[#5a8a48] text-white p-3",children:[(0,l.jsx)(s.A,{className:"w-5 h-5 text-white mr-2"}),(0,l.jsx)("span",{children:e.text})]},t))})]})]}),(0,l.jsx)("div",{className:"lg:w-2/5 w-full lg:mt-0 mt-12",children:(0,l.jsxs)("div",{className:"bg-white p-6 md:p-8 rounded-lg shadow-xl text-gray-700 max-w-lg mx-auto",children:[(0,l.jsx)("h2",{className:"text-2xl md:text-3xl font-bold mb-5 text-[#5a8a48] text-center",children:B}),ea?(0,l.jsxs)("div",{className:"text-center py-8",children:[(0,l.jsx)("h3",{className:"text-xl font-bold text-[#5a8a48] mb-3",children:"Thank You for Your Inquiry!"}),(0,l.jsx)("p",{className:"text-base text-gray-700 mb-4",children:"We have received your message and will get back to you shortly."}),(0,l.jsx)("button",{onClick:()=>el(!1),className:"mt-4 bg-[#5a8a48] text-white text-base font-semibold py-2 px-5 rounded-lg shadow-md hover:shadow-lg hover:scale-105 transition transform",children:"Make another Inquiry"})]}):(0,l.jsxs)("form",{onSubmit:ei,children:[ed.length>0&&(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-4",children:ed.map(e=>(0,l.jsx)("div",{children:ec(e)},e.name))}),em.length>0&&(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-4",children:em.map(e=>(0,l.jsx)("div",{children:ec(e)},e.name))}),eu.map(e=>(0,l.jsx)("div",{className:"mb-4",children:ec(e)},e.name)),R?(0,l.jsx)("div",{className:"mb-4",children:(0,l.jsxs)("div",{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2 mb-2",children:[(0,l.jsx)("div",{className:"flex-1 bg-gradient-to-r from-blue-500/10 to-purple-500/10 rounded px-3 py-2 text-center border border-gray-200",children:(0,l.jsxs)("span",{className:"text-gray-800 text-sm font-mono tracking-wider select-none font-semibold",children:[P," = ?"]})}),(0,l.jsx)("button",{type:"button",onClick:()=>{V(),q(""),O(""),U(!1),es.current&&es.current.focus()},className:"flex-shrink-0 p-2 rounded-lg bg-gray-100 hover:bg-gray-200 transition-colors text-gray-700","aria-label":"Refresh CAPTCHA",title:"Refresh CAPTCHA",children:(0,l.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{ref:es,type:"text",value:D,onChange:e=>{let t=e.target.value;q(t),O(""),U(!1),t&&parseInt(t)===E&&(U(!0),O(""))},placeholder:"Enter your answer",className:"w-full px-3 py-2 text-sm border rounded focus:outline-none focus:ring-1 text-gray-800 placeholder-gray-400 transition-all ".concat(G?"border-green-400 focus:ring-green-400 bg-green-50":z?"border-red-400 focus:ring-red-400 bg-red-50":"border-gray-300 focus:ring-[#5a8a48] focus:border-[#5a8a48] bg-white"),style:{borderColor:G?"#4ADE80":z?"#EF4444":void 0},disabled:G}),G&&(0,l.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})]}),z&&(0,l.jsx)("p",{className:"text-red-500 text-xs mt-1",children:z}),G&&!z&&(0,l.jsx)("p",{className:"text-green-500 text-xs mt-1",children:"✓ CAPTCHA verified"})]})}):null,(0,l.jsx)("button",{type:"submit",style:{backgroundColor:ee||R&&!G?"#9CA3AF":M,color:I,cursor:ee||R&&!G?"not-allowed":"pointer"},disabled:ee||R&&!G,className:"w-full mt-4 text-base font-semibold py-2.5 px-5 rounded-lg shadow-md transition transform flex items-center justify-center\n                      ".concat(ee||R&&!G?"":"hover:shadow-lg hover:scale-105"),children:ee?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{className:"animate-spin h-5 w-5 mr-2 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,l.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,l.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4l3-3-3-3v4a8 8 0 00-8 8z"})]}),"Sending..."]}):A})]}),(0,l.jsxs)("p",{className:"mt-4 text-xs text-center",children:["Email"," ",(0,l.jsx)("a",{href:"mailto:".concat(T),className:"font-semibold text-[#5a8a48] hover:underline",children:T})]})]})})]})})]})}},79719:(e,t,a)=>{a.d(t,{default:()=>c});var l=a(95155),r=a(97290),s=a(52619),n=a.n(s);a(12115);var o=a(20063);let i={isFullWidth:!0,paddingTop:60,paddingBottom:60,paddingLeft:20,paddingRight:20,backgroundColor:"#f9f9f9",title:"Experience Luxury Redefined",titleColor:"#1a1a2e",image:"https://images.unsplash.com/photo-1566665797739-1674de7a421a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Luxury hotel room with king size bed and modern amenities",imageWidth:50,isImageRight:!1,rightContent:"<h3 class='text-2xl font-bold mb-4'>Unparalleled Comfort & Elegance</h3><p class='text-gray-600 mb-4'>Step into a world of sophistication where every detail has been carefully curated for your comfort. Our rooms feature premium bedding, stunning views, and state-of-the-art amenities.</p><p class='text-gray-600 mb-4'>Enjoy complimentary Wi-Fi, 24-hour room service, and access to our exclusive club lounge. Whether you're traveling for business or leisure, we ensure an unforgettable stay.</p><ul class='list-disc list-inside text-gray-600 space-y-2'><li>Spacious rooms with panoramic views</li><li>Premium toiletries and bath products</li><li>Smart TV with streaming services</li><li>Mini-bar with complimentary snacks</li></ul>",imageAlt:"Luxury hotel room interior with modern furniture",buttonText:"Book Your Stay",buttonUrl:"/book-now",openInNewTab:!1,buttonBackgroun
1dColor:"#7A8B5C",buttonTextColor:"#ffffff"},c=e=>{var t,a;let{data:s,preview:c=!1}=e,{brandSlug:d,website_slug:m}=(0,o.useParams)(),u=c?i:s||{},{paddingTop:p,paddingLeft:x,paddingRight:h,paddingBottom:g,backgroundColor:f,isFullWidth:b,titleColor:y,openInNewTab:v=!1}=u||{},w="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),j=u&&Object.keys(u).length>0?u:i,N=j.buttonUrl&&"#"!==j.buttonUrl?(0,r.isExternalUrl)(j.buttonUrl)?j.buttonUrl:j.buttonUrl.startsWith("/")&&w?((e,t,a)=>(console.log("genrate url",e,t,a),w)?"/".concat(t,"/website/").concat(a).concat(e):e)(j.buttonUrl,d,m):j.buttonUrl:"#",k=j.buttonUrl&&"#"!==j.buttonUrl&&(0,r.isExternalUrl)(j.buttonUrl)?{target:"_blank",rel:"noopener noreferrer"}:{},C=(()=>{let e=parseInt(j.imageWidth||"50%");return isNaN(e)&&(e=50),e=Math.max(10,Math.min(90,e)),"".concat(e,"%")})();return(0,l.jsx)("div",{className:"bg-white",style:{paddingTop:p||"3rem",paddingBottom:g||"3rem",paddingLeft:x||"1rem",paddingRight:h||"1rem",backgroundColor:f||"#ffffff"},children:(0,l.jsxs)("div",{className:"".concat(b?"w-full":"max-w-7xl mx-auto"),children:[j.title&&(0,l.jsx)("h2",{className:"text-3xl font-bold text-center mb-12",style:{color:y||"#1f2937"},children:j.title}),(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row gap-8 items-center justify-center",children:[!j.isImageRight&&(0,l.jsx)("div",{className:"lg:w-1/2 flex justify-center",children:(0,l.jsx)("div",{className:"relative overflow-hidden rounded-lg shadow-lg",style:{width:C},children:(0,l.jsx)("img",{src:c?j.image:"".concat(r.image_url,"/").concat(j.image),alt:j.altText,className:"w-full h-auto object-cover"})})}),(0,l.jsxs)("div",{className:"order-last sm:order-none lg:w-1/2",children:[(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words",dangerouslySetInnerHTML:{__html:j.rightContent}}),j.buttonText&&(0,l.jsx)("div",{className:"w-full mt-4",children:(0,l.jsx)(n(),{href:N,...k,style:{backgroundColor:j.buttonBackgroundColor||"#000000",color:j.buttonTextColor||"#ffffff"},target:v?"_blank":"_self",className:"py-2 px-5 text-white sm:text-sm md:text-lg lg:py-1.5    lg:px-4 sm:py-1 sm:px-3 rounded cursor-pointer transition duration-300",children:j.buttonText})})]}),j.isImageRight&&(0,l.jsx)("div",{className:"lg:w-1/2 flex justify-center",children:(0,l.jsx)("div",{className:"relative overflow-hidden rounded-lg shadow-lg",style:{width:C},children:(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(j.image),alt:j.imageAlt,className:"w-full h-auto object-cover"})})})]})]})})}},80077:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(97290);a(12115);let s={backgroundImage:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80",content:"<h1 class='text-4xl md:text-6xl font-bold mb-4'>Welcome to Our Platform</h1><p class='text-lg md:text-xl'>Discover amazing experiences and create lasting memories with us.</p>",buttonText:"GET STARTED",buttonBackgroundColor:"#7A8B5C",buttonTextColor:"#ffffff",sectionId:"contact-section",height:80},n=e=>{let{data:t,preview:a=!1}=e,{backgroundImage:n,content:o,buttonText:i,buttonBackgroundColor:c,buttonTextColor:d,sectionId:m,height:u}=(a?s:t)||{};return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"relative font-inter w-full text-white flex  items-center justify-center",style:{height:u?"".concat(u,"vh"):"100vh"},children:[(0,l.jsx)("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:a?"url('".concat(n,"')"):"url('".concat(r.image_url,"/").concat(n,"')")}}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/50"}),(0,l.jsxs)("div",{className:"container mx-auto px-6 py-24 md:py-32 lg:py-48 text-center relative z-10",children:[(0,l.jsx)("div",{className:"ProseMirror [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:o}}),(0,l.jsxs)("button",{onClick:()=>{let e=document.getElementById(m);e&&e.scrollIntoView({behavior:"smooth"})},className:"text-lg font-semibold py-3 px-8 rounded-lg shadow-lg hover:shadow-xl transform hover:scale-105 mt-5",style:{backgroundColor:c||"#000000",color:d||"#ffffff"},children:[" ",i]})]})]})})}},80515:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155),r=a(12115),s=a(20508);let n={paddingTop:100,paddingBottom:100,paddingLeft:50,paddingRight:50,sectionTitle:'<p style="text-align: center;"><span style="font-size: 42px;"><strong>What Our Guests Say</strong></span></p>
1',leftBackgroundColor:"#008f37",leftContent:"<p>Various guests have appreciated our accommodation solutions which are backed by real reviews from our verified guests across Trip advisor and similar other reputed websites. Olive serviced apartments are now considered a renowned name among global serviced apartments and vacation home rental providers.</p>",rightBackgroundColor:"#fef7ed",testimonials:[{text:"<p>Olive Chennai apartment is close to everything from bar to restaurant and shopping malls to hospitals which is the most amazing part of our stay in Chennai</p>",name:"Vikas Bhel",place:"Punjab"},{text:"<p>Excellent service and amazing facilities. Would definitely recommend to anyone visiting the area.</p>",name:"Priya Sharma",place:"Delhi"},{text:"<p>Comfortable stay with all modern amenities. The location is perfect for both business and leisure.</p>",name:"Rahul Mehta",place:"Mumbai"}]};function o(e){let{data:t,preview:a=!1}=e,{paddingTop:o,paddingBottom:i,paddingLeft:c,paddingRight:d,sectionTitle:m,leftBackgroundColor:u,leftContent:p,rightBackgroun
1dColor:x,testimonials:h=[]}=a?n:t||{},[g,f]=(0,r.useState)(0),[b,y]=(0,r.useState)(!1),v=(0,r.useRef)(null),w=h[g]||h[0]||{},j=e=>({__html:e}),N=()=>{f(e=>e===h.length-1?0:e+1)};return(0,r.useEffect)(()=>{if(!(h.length<=1))return v.current&&clearInterval(v.current),b||(v.current=setInterval(()=>{N()},5e3)),()=>{v.current&&clearInterval(v.current)}},[h.length,b,g]),(0,l.jsxs)("div",{style:{paddingTop:"".concat(o||100,"px"),paddingBottom:"".concat(i||100,"px"),paddingLeft:"".concat(c||50,"px"),paddingRight:"".concat(d||50,"px")},className:"w-full",children:[m&&(0,l.jsx)("div",{className:"mb-12 text-center",dangerouslySetInnerHTML:j(m)}),(0,l.jsxs)("div",{className:"w-full flex flex-col md:flex-row min-h-[400px]",children:[(0,l.jsx)("div",{style:{backgroundColor:u||"#008f37"},className:"text-white p-8 md:p-12 md:w-1/2 flex items-center justify-center",children:(0,l.jsx)("div",{className:"max-w-xl text-center",children:p&&(0,l.jsx)("div",{className:"text-lg leading-relaxed",dangerouslySetInnerHTML:j(p)})})}),(0,l.jsxs)("div",{style:{backgroundColor:x||"#fef7ed"},className:"p-8 md:p-12 md:w-1/2 flex items-center justify-center relative",onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),onTouchStart:()=>y(!0),onTouchEnd:()=>y(!1),children:[h.length>1&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{onClick:()=>{f(e=>0===e?h.length-1:e-1)},className:"absolute left-1 top-1/2 -translate-y-1/2 bg-white rounded-full p-2 shadow-lg hover:bg-gray-50 transition-colors z-10","aria-label":"Previous testimonial",onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),children:(0,l.jsx)("svg",{className:"w-5 h-5 text-gray-700",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,l.jsx)("button",{onClick:N,className:"absolute right-1 top-1/2 -translate-y-1/2 bg-white rounded-full p-2 shadow-lg hover:bg-gray-50 transition-colors z-10","aria-label":"Next testimonial",onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),children:(0,l.jsx)("svg",{className:"w-5 h-5 text-gray-700",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]}),h.length>1&&(0,l.jsx)("div",{className:"absolute top-6 right-6 flex gap-2",children:h.map((e,t)=>(0,l.jsx)("button",{onClick:()=>{f(t),y(!0),setTimeout(()=>y(!1),3e3)},className:"w-2 h-2 rounded-full transition-colors ".concat(t===g?"bg-gray-700":"bg-gray-300 hover:bg-gray-400"),"aria-label":"Go to testimonial ".concat(t+1)},t))}),(0,l.jsxs)("div",{className:"max-w-xl",children:[(0,l.jsx)("div",{className:"text-gray-300 mb-4",children:(0,l.jsx)("svg",{className:"w-10 h-10 md:w-12 md:h-12",fill:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{d:"M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"})})}),(0,l.jsx)("div",{className:"transition-opacity duration-500 ease-in-out",children:w.text&&(0,l.jsx)("div",{className:"text-gray-700 text-base md:text-lg mb-6 leading-relaxed",dangerouslySetInnerHTML:j(w.text)})}),(0,l.jsxs)("div",{className:"flex items-center text-gray-600",children:[(0,l.jsx)(s.A,{className:"w-4 h-4 md:w-5 md:h-5 mr-2 flex-shrink-0"}),(0,l.jsxs)("span",{className:"font-medium text-sm md:text-base",children:[w.name||"Anonymous",w.place&&" – ".concat(w.place)]})]})]})]})]})]})}},81462:(e,t,a)=>{a.d(t,{default:()=>d});var l=a(95155),r=a(12115),s=a(65229),n=a(90368),o=a(27937),i=a(97290);let c={isGallaryLeft:!1,backgroundColor:"#f5f5f3",title:"Experience Paradise",titleColor:"#2c3e50",content:"<h2>Discover Your Perfect Escape</h2><p>Nestled along pristine shores, our resort offers a perfect blend of natural beauty and modern sophistication. Each detail has been carefully crafted to provide you with an unforgettable stay.</p><p>From our award-winning spa to our Michelin-starred restaurants, every moment at our resort is designed to exceed your expectations. Whether you're seeking adventure or relaxation, we have something for everyone.</p><p>Book your stay today and experience luxury redefined.</p>",imageHeight:400,images:[{image:"https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Luxury resort infinity pool with ocean view"},{image:"https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Modern hotel room interior with luxury amenities"},{image:"https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Beautiful beachfront view with white sand"},{image:"https://images.unsplash.com/photo-1414235077428-338989a2e8c0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Fine dining restaurant with gourmet food"}]},d=e=>{let{data:t,preview:a=!1}=e,d=a?c:t||{},[m,u]=(0,r.useState)(!1),[p,x]=(0,r.useState)(0),[h,g]=(0,r.useState)(0),{title:f,content:b,images:y,isGallaryLeft:v,imageHeight:w=300}=d,j=e=>{x(e),u(!0)},N=()=>{u(!1)},k=()=>{x(e=>e===y.length-1?0:e+1)},C=()=>{x(e=>0===e?y.length-1:e-1)},_=e=>e.image&&e.image.includes("unsplash.com")?e.image:"".concat(i.image_url,"/").concat(e.image);return(0,l.jsxs)("div",{className:"max-w-7xl mx-auto ",style:{background:(null==d?void 0:d.backgroundColor)||"#ffffff",paddingTop:"".concat((null==d?void 0:d.paddingTop)||15,"px"),paddingBottom:"".concat((null==d?void 0:d.paddingBottom)||15,"px"),paddingLeft:"".concat((null==d?void 0:d.paddingLeft)||15,"px"),paddingRight:"".concat((null==d?void 0:d.paddingRight)||15,"px")},children:[f&&(0,l.jsx)("div",{className:"text-center mb-8",children:(0,l.jsx)("h2",{className:"text-2xl md:text-3xl font-bold mb-6",style:{color:(null==d?void 0:d.titleColor)||"#000000"},children:f})}),(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row gap-0 md:gap-8",children:[(null==y?void 0:y.length)>0&&(0,l.jsxs)("div",{className:"lg:w-1/2 ".concat(v?"order-1 lg:order-1":"order-1 lg:order-2"),children:[(0,l.jsx)("div",{className:"mb-4",children:(0,l.jsx)("img",{src:_(y[h]),alt:y[h].altText||"Room view",className:"w-full object-cover rounded-lg shadow-lg cursor-pointer hover:shadow-xl transition-shadow duration-300",onClick:()=>j(h),style:{height:"".concat(w,"px")}})}),y.length>1&&(0,l.jsx)("div",{className:"overflow-x-auto scrollbar-hide",onMouseLeave:()=>{g(0)},children:(0,l.jsx)("div",{className:"flex gap-2 w-max",children:y.slice(1).map((e,t)=>(0,l.jsx)("div",{className:"w-20 h-20 flex-shrink-0 cursor-pointer overflow-hidden rounded-md hover:opacity-80 transition-opacity duration-200",onClick:()=>j(t+1),onMouseEnter:()=>{g(t+1)},children:(0,l.jsx)("img",{src:_(e),alt:e.altText||"View ".concat(t+1),className:"w-full h-full object-cover"})},t+1))})})]}),(0,l.jsx)("div",{className:"lg:w-1/2 ".concat(v?"order-2 lg:order-2":"order-2 lg:order-1"),children:(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-4",dangerouslySetInnerHTML:{__html:b}})})]}),m&&(0,l.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-90 z-50 flex items-center justify-center p-4",onClick:N,onKeyDown:e=>{"Escape"===e.key&&N(),"ArrowRight"===e.key&&k(),"ArrowLeft"===e.key&&C()},tabIndex:"0",children:(0,l.jsxs)("div",{className:"relative max-w-4xl max-h-full",onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("button",{onClick:N,className:"absolute top-4 right-4 text-white hover:text-gray-300 z-10 bg-black bg-opacity-50 rounded-full p-2",children:(0,l.jsx)(s.A,{size:24})}),(0,l.jsx)("button",{onClick:C,className:"absolute left-4 top-1/2 transform -translate-y-1/2 text-white hover:text-gray-300 z-10 bg-black bg-opacity-50 rounded-full p-2",children:(0,l.jsx)(n.A,{size:24})}),(0,l.jsx)("button",{onClick:k,className:"absolute right-4 top-1/2 transform -translate-y-1/2 text-white hover:text-gray-300 z-10 bg-black bg-opacity-50 rounded-full p-2",children:(0,l.jsx)(o.A,{size:24})}),(0,l.jsx)("img",{src:_(y[p]),alt:"Apartment view ".concat(p+1),className:"max-w-full max-h-full object-contain rounded-lg"}),(0,l.jsxs)("div",{className:"absolute bottom-4 left-1/2 transform -translate-x-1/2 bg-black bg-opacity-50 text-white px-3 py-1 rounded-full text-sm",children:[p+1," / ",null==y?void 0:y.length]})]})})]})}},83075:(e,t,a)=>{a.d(t,{default:()=>s});var l=a(95155),r=a(97290);a(12115);let s=e=>{let{data:t}=e,{paddingTop:a=100,paddingBottom:s=100,paddingLeft:n=50,paddingRight:o=50,backgroundColor:i="#ffffff",scrollBarColor:c="#000000",gallery:d=[]}=t||{};return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"font-inter bg-gray-100",id:"gallery",style:{paddingTop:"".concat(a,"px"),paddingBottom:"".concat(s,"px"),paddingLeft:"".concat(n,"px"),paddingRight:"".concat(o,"px"),backgroundColor:i},children:(0,l.jsx)("div",{className:"container mx-auto px-6",children:(0,l.jsx)("div",{className:"gallery-scroll overflow-x-auto pb-4",style:{scrollbarColor:"".concat(c," transparent")},children:(0,l.jsx)("div",{className:"flex space-x-4",children:d.length>0?d.map((e,t)=>(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(e.image),alt:e.altText||"Gallery image ".concat(t+1),className:"h-64 md:h-80 rounded-lg shadow-md object-cover flex-shrink-0"},t)):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("img",{src:"https://api.oliveservicedapartments.com/property_assets/property_images/214/1668749691-2.jpg",alt:"Gallery image 1",className:"h-64 md:h-80 rounded-lg shadow-md object-cover flex-shrink-0"}),(0,l.jsx)("img",{src:"https://api.oliveservicedapartments.com/property_assets/property_images/82/1705996716-Photo%2024-02-23,%201%2047%2040%20PM.jpg",alt:"Gallery image 2",className:"h-64 md:h-80 rounded-lg shadow-md object-cover flex-shrink-0"}),(0,l.jsx)("img",{src:"https://api.oliveservicedapartments.com/property_assets/property_images/27/1666867333-1.jpg",alt:"Gallery image 3",className:"h-64 md:h-80 rounded-lg shadow-md object-cover flex-shrink-0"})]})})})})})})}},83090:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155),r=a(12115),s=a(48389);let n={isFullWidth:!0,paddingTop:60,paddingBottom:60,paddingLeft:20,paddingRight:20,backgroundColor:"#f5f5f5",dividerColor:"#7A8B5C",textColor:"#333333",cards:[{icon:"home",title:"Luxury Accommodations",content:"Experience unparalleled comfort in our 
1carefully curated selection of premium hotels and resorts worldwide."},{icon:"plane",title:"Flight Booking",content:"Get the best deals on flights with our extensive network of airline partners and exclusive discounts."},{icon:"car",title:"Transportation",content:"Seamless airport transfers and local transportation services for a hassle-free travel experience."},{icon:"dining",title:"Fine Dining",content:"Indulge in exquisite culinary experiences at renowned restaurants and local hidden gems."},{icon:"spa",title:"Wellness & Spa",content:"Rejuvenate your mind and body with our premium spa and wellness packages."},{icon:"tour",title:"Guided Tours",content:"Discover hidden treasures and iconic landmarks with our expert local guides."}]};function o(e){let{data:t,preview:a=!1}=e,{isFullWidth:o=!1,backgroundColor:i="#009440",paddingTop:c=0,paddingBottom:d=0,paddingLeft:m=0,paddingRight:u=0,textColor:p="#ffffff",cards:x=[],columnsPerRow:h=2,gap:g=24,showDivider:f=!0,dividerColor:b="#FFFFFF33"}=(a?n:t||{})||{},y=(()=>{let e=[];for(let t=0;t<x.length;t+=h)e.push(x.slice(t,t+h));return e})(),v={gap:"".concat(g,"px")},w=function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];let t=arguments.length>2?arguments[2]:void 0;if(!e)return null;let a=s.A[e];if(!a)return null;let l=t||p;return r.cloneElement(a,{size:22,color:l,className:"mb-4 flex-shrink-0"})};return x&&0!==x.length?(0,l.jsx)("section",{className:"w-full relative",style:{backgroundColor:i,paddingTop:"".concat(c,"px"),paddingBottom:"".concat(d,"px"),paddingLeft:"".concat(m,"px"),paddingRight:"".concat(u,"px")},children:(0,l.jsx)("div",{className:"".concat(o?"max-w-full":"max-w-7xl"," mx-auto px-6"),children:y.map((e,t)=>(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("div",{className:"grid ".concat((()=>{switch(h){case 2:default:return"grid-cols-1 sm:grid-cols-2 md:grid-cols-2";case 3:return"grid-cols-1 sm:grid-cols-2 md:grid-cols-3";case 4:return"grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-4"}})()," items-stretch relative"),style:v,children:e.map((t,a)=>{let r=t.textColor||p;return(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center text-center p-4 sm:p-6",style:{color:r},children:[t.icon&&w(t.icon,t.iconSize||40,r),t.title&&(0,l.jsx)("h2",{className:"text-sm md:text-4xl tracking-wide whitespace-nowrap font-bold",children:t.title}),t.content&&(0,l.jsx)("p",{className:"text-[12px] tracking-[3px] mt-2 opacity-80",children:t.content})]}),f&&a<e.length-1&&(0,l.jsx)("div",{className:"hidden md:block absolute right-0 top-1/2 -translate-y-1/2 w-px h-12",style:{backgroundColor:b}})]},a)})}),f&&t<y.length-1&&(0,l.jsx)("div",{className:"relative my-8 md:hidden",children:(0,l.jsx)("div",{className:"w-full h-px",style:{backgroundColor:b}})})]},t))})}):null}},87152:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155);a(12115);var r=a(24033),s=a(97290);let n={isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,numberOfColumns:3,sectionTitle:"<h2>What Our Guests Say</h2><p>Real experiences from real travelers</p>",backgroundColor:"#faf9f6",testimonials:[{image:"https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>Absolutely breathtaking experience! The staff went above and beyond to make our anniversary special. The ocean views from our room were spectacular, and the dining options were world-class. We're already planning our return visit.</p>",name:"Sarah Johnson",place:"Chicago, IL"},{image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>This resort exceeded all our expectations. From the moment we arrived, we felt like royalty. The spa treatments were incredibly relaxing, and the private beach was pristine. Highly recommend for anyone seeking a luxury getaway.</p>",name:"Michael Chen",place:"San Francisco, CA"},{image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>Five stars isn't enough! The attention to detail throughout our stay was impeccable. The infinity pool overlooking the sunset was magical, and the concierge helped us plan perfect day trips. Can't wait to come back!</p>",name:"Emily Rodriguez",place:"Miami, FL"},{image:"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>A truly unforgettable experience. The room was spacious and beautifully designed, the food was exquisite, and the service was impeccable. The resort's location offers the perfect balance of relaxation and adventure.</p>",name:"David Thompson",place:"Seattle, WA"},{image:"https://images.unsplash.com/photo-1544005313-94ddf0286df2?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>
1Wonderful hospitality! Every staff member made us feel welcome. The kids club kept our children entertained, and we enjoyed some much-needed couples time at the spa.</p>",name:"Jessica Williams",place:"Denver, CO"},{image:"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80",text:"<p>Incredible value for a luxury resort. The all-inclusive package was worth every penny. The food variety and quality exceeded our expectations.</p>",name:"Robert Brown",place:"Austin, TX"}]},o=e=>{let{data:t,preview:a=!1}=e,o=a?n:t||{},{isFullWidth:i,paddingTop:c=64,paddingBottom:d=64,paddingLeft:m=16,paddingRight:u=16,backgroundColor:p="#ffffff",numberOfColumns:x=4,sectionTitle:h="",testimonials:g=[]}=o||{},f=o&&g&&g.length>0,b=g||[];return(0,l.jsx)("div",{className:"".concat(i?"w-full":"container mx-auto"),style:{backgroundColor:p,paddingTop:"".concat(c,"px"),paddingBottom:"".concat(d,"px"),paddingLeft:"".concat(m,"px"),paddingRight:"".concat(u,"px")},children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,l.jsx)("div",{className:"text-center mb-20",children:(0,l.jsx)("div",{className:"ProseMirror text-gray-800 mb-4 tracking-wide [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:h||""}})}),(0,l.jsx)("div",{className:"grid ".concat((()=>{switch(x){case 1:return"grid-cols-1";case 2:return"grid-cols-1 md:grid-cols-2";case 3:return"grid-cols-1 md:grid-cols-2 lg:grid-cols-3";default:return"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"}})()," gap-8"),children:b.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col items-center",children:[(0,l.jsxs)("div",{className:"relative bg-white border border-gray-300 rounded-lg p-6 mb-8 shadow-sm w-full",children:[f&&e.text?(0,l.jsx)("div",{className:"ProseMirror text-gray-700 text-sm leading-relaxed [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:e.text||""}}):(0,l.jsx)("p",{className:"text-gray-700 text-sm leading-relaxed",children:e.text}),(0,l.jsx)("div",{className:"absolute left-1/2 -bottom-2 transform -translate-x-1/2 w-4 h-4 bg-white border-b border-r border-gray-300 rotate-45"})]}),(0,l.jsx)("div",{className:"w-px h-12 bg-gray-300"}),(0,l.jsx)("div",{className:"bg-white border-2 border-gray-300 rounded-full p-2 mb-4 shadow-sm",children:(0,l.jsx)(r.A,{className:"w-5 h-5 text-gray-600"})}),(0,l.jsxs)("div",{className:"flex flex-col items-center",children:[(0,l.jsx)("div",{className:"w-20 h-20 mb-3",children:(0,l.jsx)("img",{src:e.image.includes("http")?e.image:"".concat(s.image_url,"/").concat(e.image),className:"w-full h-full rounded-full object-cover border-4 border-gray-200"})}),(0,l.jsx)("h3",{className:"font-semibold text-gray-900 text-base",children:e.name||"Guest Name"}),(0,l.jsx)("p",{className:"text-gray-500 text-sm italic",children:e.place||"Location"})]})]},e.id||t))})]})})}},88301:(e,t,a)=>{a.d(t,{default:()=>s});var l=a(95155);a(12115);let r={isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,sectionTitle:"<h2>Guest Testimonials</h2><p>Hear from our happy guests</p>",backgroundColor:"#f5f5f3",testimonials:[{text:"<p>Absolutely breathtaking experience! The staff went above and beyond to make our anniversary special. The ocean views from our room were spectacular, and the dining options were world-class. We're already planning our return visit.</p>",name:"Sarah Johnson",place:"Chicago, IL"},{text:"<p>This resort exceeded all our expectations. From the moment we arrived, we felt like royalty. The spa treatments were incredibly relaxing, and the private beach was pristine. Highly recommend for anyone seeking a luxury getaway.</p>",name:"Michael Chen",place:"San Francisco, CA"},{text:"<p>Five stars isn't enough! The attention to detail throughout our stay was impeccable. The infinity pool overlooking the sunset was magical, and the concierge helped us plan perfect day trips. Can't wait to come back!</p>",name:"Emily Rodriguez",place:"Miami, FL"},{text:"<p>A truly unforgettable experience. The room was spacious and beautifully designed, the food was exquisite, and the service was impeccable. The resort's location offers the perfect balance of relaxation and adventure.</p>",name:"David Thompson",place:"Seattle, WA"},{text:"<p>
1Wonderful hospitality! Every staff member made us feel welcome. The kids club kept our children entertained, and we enjoyed some much-needed couples time at the spa.</p>",name:"Jessica Williams",place:"Denver, CO"},{text:"<p>Incredible value for a luxury resort. The all-inclusive package was worth every penny. The food variety and quality exceeded our expectations.</p>",name:"Robert Brown",place:"Austin, TX"}]};function s(e){let{data:t,preview:a=!1}=e,{isFullWidth:s,paddingTop:n,paddingBottom:o,paddingLeft:i,paddingRight:c,sectionTitle:d,backgroundColor:m,testimonials:u=[]}=(a?r:t||{})||{},p=e=>({__html:e}),x=u.length>0?u:[];return(0,l.jsx)("div",{style:{backgroundColor:m||"#262626",paddingTop:"".concat(n||100,"px"),paddingBottom:"".concat(o||100,"px"),paddingLeft:"".concat(i||50,"px"),paddingRight:"".concat(c||50,"px")},className:"".concat(s?"w-full":"max-w-7xl mx-auto"),children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[d&&(0,l.jsx)("div",{className:"mb-16 text-center",dangerouslySetInnerHTML:p(d)}),(0,l.jsx)("div",{className:"grid md:grid-cols-2 gap-8 md:gap-12",children:x.map((e,t)=>(0,l.jsxs)("div",{className:"border-t border-neutral-600 pt-8",children:[e.text&&(0,l.jsx)("div",{className:"text-neutral-400 italic text-sm md:text-base leading-relaxed mb-6",dangerouslySetInnerHTML:p(e.text)}),(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-neutral-300 font-medium text-base",children:e.name||"Anonymous Guest"}),(0,l.jsx)("p",{className:"text-neutral-500 text-sm",children:e.place||e.location||""})]})]},t))}),0===u.length&&0===x.length&&(0,l.jsx)("div",{className:"text-center text-neutral-400 py-8",children:(0,l.jsx)("p",{children:"No testimonials available yet."})})]})})}},88420:(e,t,a)=>{a.d(t,{default:()=>o});var l=a(95155),r=a(12115);a(15239);var s=a(70898),n=a(97290);let o=e=>{let{data:t={}}=e,{featureCard:a=[],topContent:o="",backgroundColor:i="",cardBackgroundColors:c={},paddingTop:d=12,paddingBottom:m=12,paddingLeft:u=4,paddingRight:p=4,isFullWidth:x=!1,numberOfColumns:h=3,bgGradientFrom:g="",bgGradientTo:f="",cardColor:b="",arrowColor:y="#000000",activeDotColor:v="#719430",arrowBackgroundColor:w="#ffffff",arrowHoverColor:j="#ffffff",arrowHoverBackground:N="#719430",cardBorderColor:k="#000000"}=t,[C,_]=(0,r.useState)(0),[T,L]=(0,r.useState)(!1),[S,B]=(0,r.useState)(1),[A,M]=(0,r.useState)(0);(0,r.useRef)(null);let I=(0,r.useRef)(null),F=0===a.length,R=F?[{image:"https://images.unsplash.com/photo-1558655146-364adaf1fcc9?w=400&h=300&fit=crop"},{image:"https://images.unsplash.com/photo-1542744095-fcf48d80b0fd?w=400&h=300&fit=crop"},{image:"https://images.unsplash.com/photo-1542744094-3a31f272c490?w=400&h=300&fit=crop"},{image:"https://images.unsplash.com/photo-1542744095-68b6a73d6c5e?w=400&h=300&fit=crop"}]:a,{border:P="#e1edc1",text:W="#4d4d4d",description:E="#808080"}=c,H={};g&&f?H.background="linear-gradient(to right, ".concat(g,", ").concat(f,")"):i&&(H.backgroundColor=i),(0,r.useEffect)(()=>{let e=()=>{let e=window.innerWidth,t=parseInt(h)||3;e<640?B(1):e<1024?B(2):B(t)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[h]);let D=R.length,q=()=>{I.current&&M(C*((I.current?(I.current.offsetWidth-(S-1)*16)/S:0)+16))};(0,r.useEffect)(()=>{q();let e=()=>{q()};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[C,S,R.length]);let z=Math.max(0,D-S);return(0,r.useEffect)(()=>{_(0)},[S]),(0,r.useEffect)(()=>{L(D>S)},[D,S]),(0,l.jsxs)("div",{className:"".concat(x?"w-full":"max-w-6xl"," mx-auto relative overflow-hidden"),style:{...H,paddingTop:"".concat(d,"px"),paddingBottom:"".concat(m,"px"),paddingLeft:"".concat(u,"px"),paddingRight:"".concat(p,"px")},children:[o&&(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed mb-8 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",style:{color:E},dangerouslySetInnerHTML:{__html:o}}),(0,l.jsxs)("div",{className:"relative",children:[T&&C>0&&(0,l.jsx)("button",{onClick:()=>{C>0&&_(C-1)},className:"absolute left-0 top-1/2 transform -translate-y-1/2 z-10 w-10 h-10 rounded-full flex items-center justify-center shadow-lg transition-all duration-300 hover:scale-110",style:{backgroundColor:w,color:y},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=N||"#719430",e.currentTarget.style.color=j||"#ffffff"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=w,e.currentTarget.style.color=y},"aria-label":"Previous cards",children:(0,l.jsx)(s._Jj,{})}),T&&C<z&&(0,l.jsx)("button",{onClick:()=>{C<z&&_(C+1)},className:"absolute right-0 top-1/2 transform -translate-y-1/2 z-10 w-10 h-10 rounded-full flex items-center justify-center shadow-lg transition-all duration-300 hover:scale-110",style:{backgroundColor:w,color:y},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=N||"#719430",e.currentTarget.style.color=j||"#ffffff"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=w,e.currentTarget.style.color=y},"aria-label":"Next cards",children:(0,l.jsx)(s.X6T,{})}),(0,l.jsx)("div",{className:"overflow-hidden",ref:I,children:(0,l.jsx)("div",{className:"flex gap-4 transition-transform duration-300 ease-in-out",style:{transform:"translateX(-".concat(A,"px)"),width:"100%"},"data-aos":"fade-up",children:R.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-col flex-shrink-0  max-w-[256px]sm:max-w-full",style:{width:"calc((100% - ".concat((S-1)*16,"px) / ").concat(S,")"),borderColor:k,borderWidth:"1px",backgroundColor:b||"#ffffff",maxWidth:"99.9%"},children:[e.image&&(0,l.jsx)("div",{className:"relative w-full h-64 overflow-hidden",children:(0,l.jsx)("div",{className:"relative w-full h-full",children:(0,l.jsx)("img",{src:"".concat(n.image_url,"/").concat(e.image),alt:(null==e?void 0:e.altText)||"Card image ".concat(t+1),className:"absolute inset-0 w-full h-full object-contain max-w-full",loading:"lazy"})})}),e.content&&(0,l.jsx)("div",{className:"p-4 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 w-full",style:{color:E},dangerouslySetInnerHTML:{__html:e.content}})]},t))})})]}),T&&(0,l.jsx)("div",{className:"flex justify-center mt-6 space-x-2",children:Array.from({length:z+1}).map((e,t)=>(0,l.jsx)("button",{onClick:()=>_(t),className:"w-3 h-3 rounded-full transition-all duration-300 ".concat(t===C?"scale-125":""),style:{backgroundColor:t===C?v:"#cccccc"},"aria-label":"Go to slide ".concat(t+1)},t))}),F&&(0,l.jsx)("div",{className:"mt-8 text-center text-gray-500 text-sm italic",children:"Showing dummy image cards. Add your image cards to replace this content."})]})}},89795:(e,t,a)=>{a.d(t,{default:()=>d});var l=a(95155),r=a(12115),s=a(30178),n=a(20063),o=a(22663),i=a(35258),c=a(81602);a(30594);let d=e=>{let{data:t,sectionOrder:a,sectionName:d}=e,{brandSlug:m,website_slug:u,landingPageSlug:p}=(0,n.useParams)(),x=(0,n.useRouter)(),h="clients.staystack.encrobytes.com"===window.location.hostname||window.location.hostname.includes("localhost"),g=t&&Object.keys(t).length>0,f=g?t:{formName:"Contact Us",topContent:"<p class='text-lg text-gray-300 mb-6'>Get in touch with us and we'll get back to you as soon as possible</p>",paddingTop:48,paddingBottom:48,paddingLeft:16,paddingRight:16,submitButtonText:"Send Message",submitButtonBackgroun
1dColor:"#5a8a48",submitButtonTextColor:"#ffffff",showCaptcha:!1,formFields:[{name:"name",label:"Full Name",type:"text",required:!0},{name:"email",label:"Email Address",type:"email",required:!0},{name:"phone",label:"Phone Number",type:"tel",required:!0,enableCountryCode:!0,defaultCountry:"us",preferredCountries:["us","gb","ca","au","in"]},{name:"subject",label:"Subject",type:"select",options:[{value:"general",label:"General Inquiry"},{value:"booking",label:"Booking Information"},{value:"support",label:"Customer Support"},{value:"other",label:"Other"}],required:!0},{name:"message",label:"Your Message",type:"textarea",required:!1},{name:"terms",label:"I agree to the terms and conditions",type:"checkbox",required:!0}]},{topContent:b}=f,y=f.formFields||[],v=f.showCaptcha||!1,[w,j]=(0,r.useState)(""),[N,k]=(0,r.useState)(0),[C,_]=(0,r.useState)(""),[T,L]=(0,r.useState)(""),[S,B]=(0,r.useState)(!1),A=(0,r.useRef)(null),M=(0,r.useCallback)(()=>{let e,t,a=Math.floor(10*Math.random())+1,l=Math.floor(10*Math.random())+1,r=["+","-","\xd7"];switch(r[Math.floor(Math.random()*r.length)]){case"+":default:e=a+l,t="".concat(a," + ").concat(l);break;case"-":e=a-l,t="".concat(a," - ").concat(l);break;case"\xd7":e=a*l,t="".concat(a," \xd7 ").concat(l)}j(t),k(e),_(""),L(""),B(!1)},[]);(0,r.useEffect)(()=>{v&&M()},[v,M]);let I=e=>{let t=e.target.value;_(t),L(""),B(!1),t&&parseInt(t)===N&&(B(!0),L(""))},F=()=>{M(),_(""),L(""),B(!1),A.current&&A.current.focus()},R=y.reduce((e,t)=>{if(t&&t.name){let a=t.type;t.name.toLowerCase().includes("email")||t.label.toLowerCase().includes("email")?a="email":(t.name.toLowerCase().includes("phone")||t.label.toLowerCase().includes("phone"))&&(a="tel"),"checkbox"===a&&t.options?e[t.name]=[]:"checkbox"!==a||t.options?e[t.name]="":e[t.name]=!1}return e},{}),[P,W]=(0,r.useState)(R),[E,H]=(0,r.useState)({}),[D,q]=(0,r.useState)(!1),z=(0,r.useRef)(y.reduce((e,t)=>(t&&t.name&&(e[t.name]=r.createRef()),e),{})).current,O=e=>{let{name:t,value:a,type:l,checked:r}=e.target;if("checkbox"===l){let e=y.find(e=>e.name===t);(null==e?void 0:e.options)?W(e=>({...e,[t]:r?[...e[t]||[],a]:(e[t]||[]).filter(e=>e!==a)})):W(e=>({...e,[t]:r}))}else"radio"===l?W(e=>({...e,[t]:a})):W(e=>({...e,[t]:a}));H(e=>({...e,[t]:""}))},G=async e=>{e.preventDefault();let t=(()=>{let e={};return y.forEach(t=>{if(!t||!t.name)return;let a=P[t.name],l=((e,t)=>{let a=[],l=e.type;return e.name.toLowerCase().includes("email")||e.label.toLowerCase().includes("email")?l="email":(e.name.toLowerCase().includes("phone")||e.label.toLowerCase().includes("phone"))&&(l="tel"),!0===e.isRequired&&("checkbox"===l&&e.options?t&&0!==t.length||a.push("".concat(e.label," is required")):"checkbox"!==l||e.options?"radio"===l?t&&""!==t.trim()||a.push("Please select ".concat(e.label.toLowerCase())):(null==t?void 0:t.trim())||a.push("".concat(e.label," is required")):t||a.push("You must accept ".concat(e.label))),("tel"===l||"phone"===l)&&t&&t.trim()&&t.replace(/\D/g,"").length<7&&a.push("Please enter a valid phone number with country code"),"email"===l&&t&&t.trim()&&(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.trim())||a.push("Please enter a valid email address")),(e.name.toLowerCase().includes("name")||e.label.toLowerCase().includes("name"))&&t&&t.trim().length<2&&a.push("Please enter a valid name"),(e.name.toLowerCase().includes("message")||e.label.toLowerCase().includes("message"))&&t&&t.trim().length<10&&a.push("Please enter a message with at least 10 characters"),a})(t,a);l.length>0&&(e[t.name]=l)}),v&&!S&&(e.captcha=["Please solve the CAPTCHA"]),e})();if(Object.keys(t).length>0){var l,r,n;H(t);let e=Object.keys(t)[0];"captcha"===e?null==(l=A.current)||l.focus():null==(n=z[e])||null==(r=n.current)||r.focus();return}q(!0);try{let e={body:{formData:{...P},brandSlug:m,formType:f.formType,sectionOrder:a,sectionName:"Form_2",uniqueFormKey:f.uniqueFormKey}};if(u?await (0,i.Y8)({...e,body:{...e.body,websiteSlug:u}}):await (0,s.A7)({...e,body:{...e.body,landingPageSlug:p}}),p)return x.push(h?"/".concat(m,"/landing/").concat(p,"/thankyou"):"/thankyou");o.oR.success("Thanks, we will get back to you soon."),W(R),_(""),B(!1),M()}catch(e){console.error("Submission error:",e),o.oR.error("Something went wrong! Please refresh the page and try again.")}finally{q(!1)}},U=e=>"mt-1 block w-full px-3 py-2 border ".concat(E[e]?"border-red-500":"border-gray-300"," rounded-md shadow-sm focus:outline-none focus:ring-[#5a8a48] focus:border-[#5a8a48] sm:text-sm"),V=e=>e?(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e},className:"inline-block"}):null,Y=e=>{var t,a;if(!e||!e.name)return console.warn("Invalid field detected:",e),null;let r=e.type;e.name.toLowerCase().includes("email")||e.label.toLowerCase().includes("email")?r="email":(e.name.toLowerCase().includes("phone")||e.label.toLowerCase().includes("phone"))&&(r="tel");let s={name:e.name,onChange:O,ref:z[e.name]},n=e.label||e.name,o=E[e.name];if(("tel"===r||"phone"===r)&&!1!==e.enableCountryCode)return(0,l.jsxs)("div",{className:"mb-6",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)(c.LR,{defaultCountry:"in",value:P[e.name]||"",onChange:t=>((e,t)=>{W(a=>({...a,[t]:e||""})),H(e=>({...e,[t]:""}))})(t,e.name),placeholder:"Enter phone number",preferredCountries:e.preferredCountries||["us","gb","ca","au","in"],className:"w-full ".concat(o?"border-red-500":"shadow-md rounded-lg"),inputProps:{className:"w-full px-3 py-1.5 border   focus:outline-none focus:ring-[#5a8a48] focus:border-[#5a8a48] sm:text-sm ".concat(o?"border-red-500":"border-gray-300"),name:e.name,required:!0===e.required}}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:E[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name);switch(r){case"textarea":return(0,l.jsxs)("div",{className:"mb-6",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("textarea",{...s,value:P[e.name]||"",rows:"3",className:U(e.name)}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:E[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name);case"select":return(0,l.jsxs)("div",{className:"mb-6",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsxs)("select",{...s,value:P[e.name]||"",className:U(e.name),children:[(0,l.jsxs)("option",{value:"",children:["Select ",n]}),(e.options||[]).map(e=>(0,l.jsx)("option",{value:e.value,children:e.label},e.value))]}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:E[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name);case"checkbox":if(e.options)return(0,l.jsxs)("div",{className:"mb-6",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("div",{className:"space-y-3",children:null==(t=e.options)?void 0:t.map((t,a)=>{let r=t.value||t,n=t.label||t,i=t.content||n,c="".concat(e.name,"-").concat(a),d=(P[e.name]||[]).includes(r);return(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"checkbox",id:c,...s,value:r,checked:d,className:"w-4 h-4 border-gray-300 rounded focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-[#5a8a48] focus:ring-[#5a8a48]")}),(0,l.jsx)("label",{htmlFor:c,className:"ml-3 text-sm text-gray-700 leading-5",children:V(i)})]},a)})}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:E[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name);return(0,l.jsxs)("div",{className:"mb-6",children:[(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"checkbox",id:e.name,...s,checked:P[e.name]||!1,className:"w-4 h-4 border-gray-300 rounded focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-[#5a8a48] focus:ring-[#5a8a48]")}),(0,l.jsxs)("label",{htmlFor:e.name,className:"ml-3 text-sm text-gray-700 leading-5",children:[e.checkboxLabel||e.label,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]})]}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:E[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name);case"radio":return(0,l.jsxs)("div",{className:"mb-6",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("div",{className:"space-y-3",children:null==(a=e.options)?void 0:a.map((t,a)=>{let r=t.value||t,n=t.label||t,i=t.content||n,c="".concat(e.name,"-").concat(a);return(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("input",{type:"radio",id:c,...s,value:r,checked:P[e.name]===r,className:"w-4 h-4 border-gray-300 focus:ring-2 mt-1 ".concat(o?"text-red-500 focus:ring-red-500":"text-[#5a8a48] focus:ring-[#5a8a48]")}),(0,l.jsx)("label",{htmlFor:c,className:"ml-3 text-sm text-gray-700 leading-5",children:V(i)})]},a)})}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:E[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name);default:return(0,l.jsxs)("div",{className:"mb-6",children:[(0,l.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:[n,!0===e.required&&(0,l.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,l.jsx)("input",{...s,type:r,value:P[e.name]||"",className:U(e.name)}),o&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:E[e.name].map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))})]},e.name)}},K=y.filter(e=>e&&e.name&&!["textarea","select","checkbox","radio","tel","phone"].includes(e.type)).slice(0,4),J=y.filter(e=>e&&e.name&&("tel"===e.type||"phone"===e.type)),Z=y.filter(e=>e&&e.name&&"checkbox"===e.type),Q=y.filter(e=>e&&e.name&&"radio"===e.type),X=y.filter(e=>e&&e.name&&("select"===e.type||"textarea"===e.type||!K.includes(e)&&!J.includes(e)&&!Z.includes(e)&&!Q.includes(e)));return(0,l.jsxs)("div",{className:"font-inter bg-[#5a8a48] text-white",id:"contact",style:{paddingTop:"".concat(f.paddingTop||0,"px"),paddingBottom:"".concat(f.paddingBottom||0,"px"),paddingLeft:"".concat(f.paddingLeft||0,"px"),paddingRight:"".concat(f.paddingRight||0,"px")},children:[!g&&(0,l.jsx)("div",{className:"bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded mb-6 text-center text-sm max-w-2xl mx-auto",children:"\uD83D\uDCA1 Showing demo form. Provide data prop to display your actual form."}),(0,l.jsxs)("div",{className:"container mx-auto px-6 text-center",children:[f.formName&&(0,l.jsx)("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:f.formName}),b&&(0,l.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:b}})]}),(0,l.jsx)("div",{className:"bg-white p-8 md:p-10 rounded-lg shadow-xl max-w-2xl mx-auto text-gray-700",children:(0,l.jsxs)("form",{onSubmit:G,children:[K.length>0&&(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 mb-6",children:K.map(Y)}),J.length>0&&(0,l.jsx)("div",{className:"space-y-6 mb-6",children:J.map(Y)}),Z.length>0&&(0,l.jsx)("div",{className:"space-y-6 mb-6",children:Z.map(Y)}),Q.length>0&&(0,l.jsx)("div",{className:"space-y-6 mb-6",children:Q.map(Y)}),(0,l.jsx)("div",{className:"space-y-6",children:X.map(Y)}),(()=>{if(!v)return null;let e=E.captcha;return(0,l.jsx)("div",{className:"mb-6",children:(0,l.jsxs)("div",{className:"bg-gray-50 rounded-lg p-4 border border-gray-200",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-3",children:[(0,l.jsx)("div",{className:"flex-1 bg-gradient-to-r from-blue-500/10 to-purple-500/10 rounded px-4 py-2.5 text-center border border-gray-200",children:(0,l.jsxs)("span",{className:"text-gray-800 text-base font-mono tracking-wider select-none font-semibold",children:[w," = ?"]})}),(0,l.jsx)("button",{type:"button",onClick:F,className:"flex-shrink-0 p-2 rounded-lg bg-gray-100 hover:bg-gray-200 transition-colors text-gray-700","aria-label":"Refresh CAPTCHA",title:"Refresh CAPTCHA",children:(0,l.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})})})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{ref:A,type:"text",value:C,onChange:I,placeholder:"Enter your answer",className:"w-full px-4 py-2.5 text-sm border rounded-lg focus:outline-none focus:ring-2 text-gray-800 placeholder-gray-400 transition-all ".concat(S?"border-green-400 focus:ring-green-400 bg-green-50":e?"border-red-400 focus:ring-red-400 bg-red-50":"border-gray-300 focus:ring-[#5a8a48] focus:border-[#5a8a48] bg-white"),style:{borderColor:S?"#4ADE80":e?"#EF4444":void 0},disabled:S}),S&&(0,l.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:(0,l.jsx)("svg",{className:"w-5 h-5 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})]}),e&&!S&&(0,l.jsx)("div",{className:"mt-2 space-y-1",children:E.captcha.map((e,t)=>(0,l.jsx)("p",{className:"text-sm text-red-500",children:e},t))}),S&&!e&&(0,l.jsx)("p",{className:"text-green-500 text-sm mt-2",children:"✓ CAPTCHA verified successfully"})]})})})(),(0,l.jsx)("button",{style:{backgroundColor:D||v&&!S?"#9ca3af":f.submitButtonBackgroun
1dColor||"#5a8a48",color:f.submitButtonTextColor||"#ffffff"},disabled:D||v&&!S,type:"submit",className:"w-full mt-6 text-lg font-semibold py-3 px-6 rounded-lg shadow-md transition transform flex items-center justify-center\n              ".concat(D||v&&!S?"cursor-not-allowed":"cursor-pointer hover:shadow-lg hover:scale-105"),children:D?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("svg",{className:"animate-spin h-5 w-5 mr-2 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,l.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,l.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4l3-3-3-3v4a8 8 0 00-8 8z"})]}),"Sending..."]}):f.submitButtonText||"Send Inquiry"})]})})]})}},90748:(e,t,a)=>{a.d(t,{default:()=>i});var l=a(95155);a(15239);var r=a(52619),s=a.n(r),n=a(20063),o=a(97290);function i(e){var t,a;let{data:r}=e,i=(0,n.useParams)(),c=null==i?void 0:i.brandSlug,d=null==i?void 0:i.website_slug,{isFullWidth:m=!1,paddingTop:u=0,paddingBottom:p=0,paddingLeft:x=0,paddingRight:h=0,sectionBackgroundColor:g="#f5f5f3",sectionTitle:f="",buttonBackgroundColor:b="#7A8B5C",buttonTextColor:y="#ffffff",image:v="",isImageLeft:w=!0,content:j="",buttonText:N="Read More",buttonUrl:k="#",openInNewTab:C=!1,titleColor:_="#0F172A",descriptionColor:T="#475569",tagColor:L="#7A8B5C"}=r||{},S=e=>!!e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")),B="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),A=e=>{let{content:t,className:a=""}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words ".concat(a),dangerouslySetInnerHTML:{__html:t}}):null},M=(e=>{if(!e)return"#";if(S(e))return e;if(e.startsWith("/")&&B)return B?"/".concat(c,"/website/").concat(d).concat(e):e;return e})(k),I=S(M);return v?(0,l.jsx)("section",{className:"w-full",style:{paddingTop:"".concat(u,"px"),paddingBottom:"".concat(p,"px"),paddingLeft:"".concat(x,"px"),paddingRight:"".concat(h,"px")},children:(0,l.jsxs)("div",{className:"".concat(m?"w-full px-6 md:px-16":"max-w-7xl mx-auto px-6 md:px-16"),children:[f&&(0,l.jsx)("div",{className:"",children:(0,l.jsx)(A,{content:f,className:"[&_h2]:text-4xl [&_h2]:md:text-5xl [&_h2]:font-semibold [&_h2]:text-[#3F3F3F] [&_p]:text-gray-500 [&_p]:mt-3 [&_p]:text-lg"})}),(0,l.jsx)("div",{className:"rounded-2xl shadow-md overflow-hidden grid md:grid-cols-[1.2fr_0.9fr] min-h-[450px] md:min-h-[520px]",style:{backgroundColor:g},children:w?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"relative h-[300px] md:h-full",children:(0,l.jsx)("img",{src:"".concat(o.image_url,"/").concat(v),alt:"blog",className:"object-cover w-full h-full"})}),(0,l.jsxs)("div",{className:"p-5 md:p-14 flex flex-col justify-center",children:[(0,l.jsx)(A,{content:j,className:"[&_p:first-child]:text-xs [&_p:first-child]:tracking-widest [&_p:first-child]:font-bold [&_p:first-child]:mb-4 [&_p:first-child]:text-[#7A8B5C] [&_h3]:text-2xl [&_h3]:md:text-[35px] [&_h3]:font-bold [&_h3]:leading-snug [&_h3]:mb-5 [&_h3]:text-[#0F172A] [&_p:last-child]:mb-8 [&_p:last-child]:text-lg [&_p:last-child]:leading-relaxed [&_p:last-child]:text-[#475569]"}),N&&k&&(I?(0,l.jsxs)("a",{href:M,target:C?"_blank":"_self",rel:M.startsWith("http")?"noopener noreferrer":"",className:"font-bold px-7 py-3.5 rounded-full w-fit transition hover:opacity-90",style:{backgroundColor:b,color:y},children:[N," →"]}):(0,l.jsxs)(s(),{href:M,className:"font-bold px-7 py-3.5 rounded-full w-fit transition hover:opacity-90",style:{backgroundColor:b,color:y},children:[N," →"]}))]})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"p-10 md:p-14 flex flex-col justify-center",children:[(0,l.jsx)(A,{content:j,className:"[&_p:first-child]:text-xs [&_p:first-child]:tracking-widest [&_p:first-child]:font-bold [&_p:first-child]:mb-4 [&_p:first-child]:text-[#7A8B5C] [&_h3]:text-2xl [&_h3]:md:text-[35px] [&_h3]:font-bold [&_h3]:leading-snug [&_h3]:mb-5 [&_h3]:text-[#0F172A] [&_p:last-child]:mb-8 [&_p:last-child]:text-lg [&_p:last-child]:leading-relaxed [&_p:last-child]:text-[#475569]"}),N&&k&&(I?(0,l.jsxs)("a",{href:M,target:C?"_blank":"_self",rel:M.startsWith("http")?"noopener noreferrer":"",className:"font-bold px-7 py-3.5 rounded-full w-fit transition hover:opacity-90",style:{backgroundColor:b,color:y},children:[N," →"]}):(0,l.jsxs)(s(),{href:M,className:"font-bold px-7 py-3.5 rounded-full w-fit transition hover:opacity-90",style:{backgroundColor:b,color:y},children:[N," →"]}))]}),(0,l.jsx)("div",{className:"relative h-[300px] md:h-full",children:(0,l.jsx)("img",{src:"".concat(o.image_url,"/").concat(v),alt:"blog",className:"object-cover w-full h-full"})})]})})]})}):null}},92355:(e,t,a)=>{a.d(t,{default:()=>u});var l=a(95155),r=a(12115),s=a(65229),n=a(90368),o=a(27937),i=a(70898),c=a(97290);a(20063);var d=a(48389);let m={title:"<h2>About Our Luxury Resort</h2><p>Discover the perfect blend of comfort, elegance, and world-class hospital
1ity</p>",backgroundColor:"#faf9f6",iconColor:"#7c925a",isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,showGallaryInRight:!0,images:[{images:"https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Luxury resort infinity pool"},{images:"https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Modern hotel room interior"},{images:"https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Beautiful beach view"},{images:"https://images.unsplash.com/photo-1414235077428-338989a2e8c0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Fine dining restaurant"}],featureItems:[{icon:"check",title:"OFFERED IN ALL SIZES",content:"Options of Serviced Rooms, Studio Apartments, One Bedroom, Two & Three Bedroom Serviced Apartments offered for flexible stays."},{icon:"home",title:"PRIVATE LIVING ROOMS & KITCHENS",content:"All our Apartments are designed with individual fully-equipped Kitchens having cooking amenities besides Living Rooms with Dining tables and couch seating."},{icon:"trash",title:"CLEANING & MAINTENANCE INCLUDED",content:"All Apartments include Cleaning, Linen Changes, WiFi Internet, Tata Sky TV as well as all daily Maintenance services in pricing."}
1,{icon:"users",title:"TRAINED SUPPORT TEAM",content:"The well-trained Support team offers complete hospitality Services to ensure a comfortable stay of all our valued guests."}]},u=e=>{var t,a;let{data:u,preview:p=!1}=e,{title:x,description:h,featureItems:g=[],backgroundColor:f,iconColor:b,images:y=[],isFullWidth:v,paddingTop:w,paddingBottom:j,paddingLeft:N,paddingRight:k,showGallaryInRight:C}=(p?m:u||{})||{},[_,T]=(0,r.useState)(0),[L,S]=(0,r.useState)(!1),[B,A]=(0,r.useState)(0),M=e=>({__html:e}),I=e=>{A(e),S(!0)},F=()=>{S(!1)},R=()=>{A(e=>(e+1)%y.length)},P=()=>{A(e=>(e-1+y.length)%y.length)},W=(0,l.jsx)("div",{className:"space-y-6",children:(0,l.jsxs)("div",{className:"lg:w-full",children:[(0,l.jsx)("div",{className:"mb-4",children:(0,l.jsx)("img",{src:"".concat(c.image_url,"/").concat(null==(t=y[_])?void 0:t.images),alt:null==(a=y[_])?void 0:a.altText,className:"w-full h-80 object-cover rounded-lg shadow-lg cursor-pointer hover:shadow-xl transition-shadow duration-300",onClick:()=>I(_)})}),y.length>1&&(0,l.jsx)("div",{className:"grid grid-cols-6 md:grid-cols-10 gap-2",children:y.map((e,t)=>(0,l.jsx)("div",{className:"aspect-square cursor-pointer overflow-hidden rounded-md hover:opacity-80 transition-opacity duration-200",onClick:()=>I(t),onMouseEnter:()=>{T(t)},children:(0,l.jsx)("img",{src:"".concat(c.image_url,"/").concat(null==e?void 0:e.images),alt:null==e?void 0:e.altText,className:"w-full h-full object-cover max-w-[80px] max-h-[80px]"})},t))})]})}),E=(0,l.jsxs)("div",{className:"relative",children:[g.length>0&&(0,l.jsx)("div",{className:"absolute left-6 top-0 w-0.5 border-l-2 border-dashed border-gray-300",style:{height:"calc(100% - ".concat(w,"px - ").concat(j,"px")}}),(0,l.jsx)("div",{className:"space-y-8",children:g.map((e,t)=>{let a;return(0,l.jsxs)("div",{className:"flex items-start",children:[(0,l.jsx)("div",{className:"flex-shrink-0 relative z-10",children:(0,l.jsx)("div",{className:"w-12 h-12 rounded-full flex items-center justify-center",style:{backgroundColor:f,color:b},children:(a=e.icon,d.A[a]||(0,l.jsx)(i.gt3,{className:"w-5 h-5"}))})}),(0,l.jsxs)("div",{className:"flex-1 pt-1 pl-6",children:[(0,l.jsx)("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:e.title}),(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:M(e.content)})]})]},t)})})]});return(0,l.jsxs)("div",{className:" ".concat(v?"w-full":"max-w-7xl mx-auto"," bg-white"),style:{paddingTop:"".concat(w,"px"),paddingBottom:"".concat(j,"px"),paddingLeft:"".concat(N,"px"),paddingRight:"".concat(k,"px")},children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed mb-7",dangerouslySetInnerHTML:M(x)}),(0,l.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-16",children:C?(0,l.jsxs)(l.Fragment,{children:[E,W]}):(0,l.jsxs)(l.Fragment,{children:[W,E]})})]}),L&&(0,l.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-90 z-50 flex items-center justify-center p-4",onClick:F,onKeyDown:e=>{"Escape"===e.key&&F(),"ArrowRight"===e.key&&R(),"ArrowLeft"===e.key&&P()},tabIndex:"0",children:(0,l.jsxs)("div",{className:"relative max-w-4xl max-h-full",onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("button",{onClick:F,className:"absolute top-4 right-4 text-white hover:text-gray-300 z-10 bg-black bg-opacity-50 rounded-full p-2",children:(0,l.jsx)(s.A,{size:24})}),(0,l.jsx)("button",{onClick:P,className:"absolute left-4 top-1/2 transform -translate-y-1/2 text-white hover:text-gray-300 z-10 bg-black bg-opacity-50 rounded-full p-2",children:(0,l.jsx)(n.A,{size:24})}),(0,l.jsx)("button",{onClick:R,className:"absolute right-4 top-1/2 transform -translate-y-1/2 text-white hover:text-gray-300 z-10 bg-black bg-opacity-50 rounded-full p-2",children:(0,l.jsx)(o.A,{size:24})}),(0,l.jsx)("img",{src:"".concat(c.image_url,"/").concat(y[B].images),alt:"Apartment view ".concat(B+1),className:"max-w-full max-h-full object-contain rounded-lg"}),(0,l.jsxs)("div",{className:"absolute bottom-4 left-1/2 transform -translate-x-1/2 bg-black bg-opacity-50 text-white px-3 py-1 rounded-full text-sm",children:[B+1," / ",y.length]})]})})]})}},92599:(e,t,a)=>{a.d(t,{default:()=>d});var l=a(95155);a(15239);var r=a(52619),s=a.n(r),n=a(20063),o=a(33828),i=a(97290);let c={isFullWidth:!0,paddingTop:60,paddingBottom:60,paddingLeft:20,paddingRight:20,backgroundColor:"#ffffff",leftContent:"<h2 class='text-3xl md:text-4xl font-bold mb-4 text-white'>Why Choose Us</h2><p class='text-white mb-6'>We provide exceptional service and unforgettable experiences tailored just for you.</p>",leftLists:[{icon:"star",title:"Award-Winning Service"},{icon:"clock",title:"24/7 Customer Support"},{icon:"shield",title:"Best Price Guarantee"},{icon:"map",title:"500+ Destinations Worldwide"}
1,{icon:"users",title:"1M+ Happy Customers"},{icon:"gift",title:"Exclusive Member Benefits"}],buttonText:"Learn More",buttonUrl:"/about-us",buttonBackground:"#7A8B5C",buttonTextColor:"#ffffff",rightImage:"https://plus.unsplash.com/premium_photo-1684175656320-5c3f701c082c?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",altText:"Travelers enjoying vacation with beautiful beach view"};function d(e){var t,a;let{data:r,preview:d=!1}=e,m=(0,n.useParams)(),u=null==m?void 0:m.brandSlug,p=null==m?void 0:m.website_slug,{isFullWidth:x=!1,backgroundColor:h="#f5f5f3",paddingTop:g=0,paddingBottom:f=0,paddingLeft:b=0,paddingRight:y=0,leftContent:v="",leftLists:w=[],rightImage:j="",altText:N="Section Image",buttonText:k="Partner With Us",buttonUrl:C="#",buttonBackground:_="#7c925a",buttonTextColor:T="#ffffff",leftSectionBackgroundColor:L="#0f1c12",labelColor:S="#7A8B5C",listIconColor:B="#7c925a",listTextColor:A="#ffffff",openInNewTab:M=!1}=(d?c:r||{})||{},I=e=>!!e&&(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")),F="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),R=(e=>{if(!e)return"#";if(I(e))return e;if(e.startsWith("/")&&F)return F?"/".concat(u,"/website/").concat(p).concat(e):e;return e})(C),P=I(R);return j?(0,l.jsx)("section",{className:"w-full",style:{paddingTop:"".concat(g,"px"),paddingBottom:"".concat(f,"px"),paddingLeft:"".concat(b,"px"),paddingRight:"".concat(y,"px")},children:(0,l.jsx)("div",{className:"".concat(x?"max-w-full md:px-16":"max-w-7xl mx-auto md:px-16"),children:(0,l.jsxs)("div",{className:"rounded-3xl overflow-hidden shadow-lg grid md:grid-cols-[1.2fr_0.9fr]",style:{backgroundColor:h},children:[(0,l.jsxs)("div",{className:"p-10 flex flex-col justify-center",style:{backgroundColor:L},children:[(0,l.jsx)(e=>{let{content:t}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_code]:break-words [&_*]:break-words",dangerouslySetInnerHTML:{__html:t}}):null},{content:v}),w&&w.length>0&&(0,l.jsx)("ul",{className:"space-y-2 mb-8",children:w.map((e,t)=>(0,l.jsxs)("li",{className:"flex items-center font-manrope gap-2 text-[15px]",style:{color:A},children:[(0,l.jsx)("span",{className:"w-6 h-6 flex items-center justify-center",children:(0,l.jsx)(o.eFy,{size:20,style:{color:B}})}),e.title]},t))}),k&&C&&(P?(0,l.jsx)("a",{href:R,target:M?"_blank":"_self",rel:R.startsWith("http")?"noopener noreferrer":"",className:"text-sm px-6 py-3 rounded-lg w-fit hover:opacity-90 transition inline-block",style:{backgroundColor:_,color:T},children:k}):(0,l.jsx)(s(),{href:R,className:"text-sm px-6 py-3 rounded-lg w-fit hover:opacity-90 transition inline-block",style:{backgroundColor:_,color:T},children:k}))]}),(0,l.jsx)("div",{className:"relative h-[300px] md:h-auto",children:(0,l.jsx)("img",{src:d?j:"".concat(i.image_url,"/").concat(j),alt:N,className:"object-cover w-full h-full"})})]})})}):null}},92600:(e,t,a)=>{a.d(t,{default:()=>u});var l=a(95155),r=a(94935),s=a(42499),n=a(3166),o=a(29599),i=a(76907),c=a(95740),d=a(10630);a(97290);var m=a(48389);function u(e){let{data:t}=e;console.log("features section data",t);let{isFullWidth:a=!1,backgroundColor:u="transparent",paddingTop:p=0,paddingBottom:x=0,paddingLeft:h=0,paddingRight:g=0,sectionTitle:f="",numberOfColumns:b=4,iconBackgroundColor:y="#dfe6d5",iconColor:v="#7B8B5D",textColor:w="#000000",titleColor:j="#1f2937",subtitleColor:N="#6b7280",litstAmenities:k=[],gap:C=32}=t||{},_=k&&k.length>0?k:[];return(0,l.jsx)("section",{className:"w-full",style:{backgroundColor:u,paddingTop:"".concat(p,"px"),paddingBottom:"".concat(x,"px"),paddingLeft:"".concat(h,"px"),paddingRight:"".concat(g,"px")},children:(0,l.jsxs)("div",{className:"mx-auto ".concat(a?"w-full":"max-w-6xl"),children:[f&&(0,l.jsx)("div",{className:"mb-5 text-center md:text-left",children:(0,l.jsx)(e=>{let{content:t}=e;return t?(0,l.jsx)("div",{className:"ProseMirror break-words overflow-hidden [&_h2]:text-2xl [&_h2]:md:text-3xl [&_h2]:font-semibold [&_h2]:text-gray-800 [&_p]:mt-3 [&_p]:text-gray-600 [&_p]:text-sm [&_p]:md:text-base [&_p]:max-w-2xl",dangerouslySetInnerHTML:{__html:t}}):null},{content:f})}),(0,l.jsx)("div",{className:"grid ".concat((()=>{let e={2:"grid-cols-2",3:"grid-cols-2 sm:grid-cols-3",4:"grid-cols-2 sm:grid-cols-3 md:grid-cols-4",5:"grid-cols-2 sm:grid-cols-3 md:grid-cols-5",6:"grid-cols-2 sm:grid-cols-3 md:grid-cols-6"};return e[b]||e[4]})()),style:{gap:"".concat(C,"px")}
1,children:_.map((e,t)=>{let a=(e=>{if(!e)return null;let t=m.A[e];return t||({air_vent:(0,l.jsx)(r.A,{size:28}),cooking_pot:(0,l.jsx)(s.A,{size:28}),wifi:(0,l.jsx)(n.A,{size:28}),chef_hat:(0,l.jsx)(o.A,{size:28}),shield_check:(0,l.jsx)(i.A,{size:28}),sparkles:(0,l.jsx)(c.A,{size:28}),tv:(0,l.jsx)(d.FoP,{size:28})})[e.toLowerCase()]||null})(e.icon);return(0,l.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,l.jsx)("div",{className:"p-4 rounded-xl mb-4 flex items-center justify-center w-16 h-16",style:{backgroundColor:y,color:v},children:a&&(0,l.jsx)("span",{className:"text-[22px]",style:{color:v},children:a})}),(0,l.jsx)("p",{className:"text-[15px] md:text-[16px] leading-snug",style:{color:w},children:e.text||e.label})]},t)})})]})})}},92722:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(12115);let s=e=>{let{isOpen:t}=e;return(0,l.jsx)("svg",{className:"w-5 h-5 text-[#718355] transform transition-transform duration-300 ".concat(t?"rotate-180":""),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})},n=e=>{let{data:t}=e,a={sectionTitle:"<h2 class='text-3xl font-bold text-center mb-4'>Frequently Asked Questions</h2>",paddingTop:48,paddingBottom:48,paddingLeft:16,paddingRight:16,backgroundColor:"#F5F7F2",textColor:"#3A4A2B",accordions:[{title:"How do I create an account?",content:"<p>You can create an account by clicking the 'Sign Up' button on our homepage and following the registration process.</p>"},{title:"What payment methods do you accept?",content:"<p>We accept all major credit cards, PayPal, and bank transfers for your convenience.</p>"},{title:"How can I reset my password?",content:"<p>Click on 'Forgot Password' on the login page and follow the instructions sent to your email.</p>"},{title:"What is your refund policy?",content:"<p>We offer a 30-day money-back guarantee for all our premium plans. Contact support for assistance.</p>"}]},n=t&&Object.keys(t).length>0,{sectionTitle:o=a.sectionTitle,paddingTop:i=a.paddingTop,paddingBottom:c=a.paddingBottom,paddingLeft:d=a.paddingLeft,paddingRight:m=a.paddingRight,backgroundColor:u=a.backgroundColor,textColor:p=a.textColor,accordions:x=a.accordions}=n?t:a,[h,g]=(0,r.useState)(null),f={color:p};return(0,l.jsxs)("section",{style:{paddingTop:"".concat(i,"px"),paddingBottom:"".concat(c,"px"),paddingLeft:"".concat(d,"px"),paddingRight:"".concat(m,"px"),backgroundColor:u},children:[!n&&(0,l.jsx)("div",{className:"bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded mb-6 text-center text-sm max-w-2xl mx-auto",children:"\uD83D\uDCA1 Showing demo FAQs. Provide data prop to display your actual FAQs."}),(0,l.jsxs)("div",{className:"max-w-3xl mx-auto",children:[o&&(0,l.jsx)("div",{className:"ProseMirror text-center mb-12",dangerouslySetInnerHTML:{__html:o}}),(0,l.jsx)("div",{className:"space-y-4",children:x&&x.length>0?x.map((e,t)=>(0,l.jsxs)("div",{className:"bg-white rounded-lg shadow-md overflow-hidden",children:[(0,l.jsxs)("button",{onClick:()=>(e=>{g(h===e?null:e)})(t),className:"w-full px-6 py-4 text-left flex justify-between items-center hover:bg-gray-50 focus:outline-none focus:bg-gray-50 transition-colors duration-200",children:[(0,l.jsx)("span",{className:"font-semibold text-lg",style:f,children:e.title}),(0,l.jsx)(s,{isOpen:h===t})]}),(0,l.jsx)("div",{className:"transition-all duration-300 ease-in-out ".concat(h===t?"max-h-96":"max-h-0"," overflow-hidden"),children:(0,l.jsx)("div",{className:"px-6 pb-4 ProseMirror",style:f,dangerouslySetInnerHTML:{__html:e.content}})})]},t)):(0,l.jsx)("div",{className:"text-center py-8 text-gray-500",children:"No FAQs available"})})]})]})}},93699:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155);a(12115);var r=a(20063),s=a(97290);let n=e=>{var t;let{data:a}=e,{website_page:n}=(0,r.useParams)();return(0,l.jsx)("div",{className:"w-full",style:{height:"".concat(a.height,"vh")||0},children:(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsxs)("div",{className:"relative w-full overflow-hidden",style:{height:"".concat(a.height,"vh")||0},children:[a.leftImage&&(0,l.jsx)("div",{className:"absolute left-0 top-0 h-full w-1/2",children:(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(a.leftImage),alt:"Left Banner",className:"w-full h-full object-cover"})}),a.rightImage&&(0,l.jsx)("div",{className:"absolute right-0 top-0 h-full w-1/2",children:(0,l.jsx)("img",{src:"".concat(s.image_url,"/").concat(a.rightImage),alt:"Right Banner",className:"w-full h-full object-cover"})})]}
1),(0,l.jsx)("div",{style:{backgroundColor:a.breadcrumbBackgroundColor},children:(0,l.jsxs)("div",{className:"".concat(a.isFullWidth?"":"max-w-7xl mx-auto"," flex flex-col md:flex-row px-4 md:px-8 text-sm md:text-base"),style:{backgroundColor:a.breadcrumbBackgroundColor||"#000000",color:a.breadcrumbTextColor||"#ffffff",paddingTop:"".concat(a.breadcrumbPaddingTop||40,"px"),paddingBottom:"".concat(a.breadcrumbPaddingBottom||40,"px")},children:[(0,l.jsx)("div",{className:"w-full sm:w-1/2 text-center sm:text-left mb-2 sm:mb-0",children:(0,l.jsxs)("span",{className:"text-sm",style:{color:a.breadcrumbTextColor,opacity:.7},children:[null==n||null==(t=n.replace(/-/g," "))?void 0:t.replace(/\b\w/g,e=>e.toUpperCase())," "]})}),(0,l.jsx)("div",{className:"w-full sm:w-1/2 text-center sm:text-right",children:(0,l.jsxs)("span",{className:"text-sm",style:{color:a.breadcrumbTextColor,opacity:.7},children:["You are here: Home ",n&&"/".concat((null==n?void 0:n.charAt(0).toUpperCase())+(null==n?void 0:n.slice(1)))]})})]})})]})})}},93954:(e,t,a)=>{a.d(t,{default:()=>m});var l=a(95155),r=a(12115),s=a(16954),n=a(95174),o=a(91169),i=a(20017),c=a(97290),d=a(20063);let m=e=>{var t,a;let{data:m}=e,{numberOfColumns:u=3,isFullWidth:p,backgroundColor:x="#ffffff",paddingTop:h=64,paddingBottom:g=64,paddingLeft:f=16,paddingRight:b=16,sectionTitle:y="<p>Similar listings</p>",cards:v=[]}=m||{},{brandSlug:w,website_slug:j,landingPageSlug:N}=(0,d.useParams)(),k="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),C=(e,t,a)=>(console.log("generate url",e,t,a),k)?"/".concat(t,"/website/").concat(a).concat(e):e,_=(e,t)=>{if(e&&!(e.startsWith("http://")||e.startsWith("https://")))if(t.preventDefault(),j){let t=C(e,w,j);window.location.href=t}else if(N){let t=e.replace("#",""),a=document.getElementById(t);a?a.scrollIntoView({behavior:"smooth",block:"start"}):console.warn("Element with id '".concat(t,"' not found"))}else window.location.href=e},T=m&&v&&v.length>0,L=T?v:[{id:1,title:"Olive- Artemis",address:"1304/43, St Thomas Marg, Sector 43, Gurugram, Haru...",price:"2,890.00",period:"/Day Summer Sale for May",image:"https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?w=800&h=600&fit=crop",bedrooms:2,baths:2,guests:4,hostedBy:"Dxadmin"},{id:2,title:"Olive- Medanta Medicity",address:"Sector 38, Gurgaon, Gurugram, Haryana, India",price:"3,390.00",period:"/Day Summer Sale for May",image:"https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?w=800&h=600&fit=crop",bedrooms:2,baths:2,guests:4,hostedBy:"Dxadmin"},{id:3,title:"Olive- DLF Gurgaon",address:"DLF City Phase 4, IFFCO Chowk, Sector 27, Gurgaon",price:"2,890.00",period:"/Day Summer Sale for May",image:"https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=800&h=600&fit=crop",bedrooms:2,baths:2,guests:4,hostedBy:"Dxadmin"}];return(0,l.jsx)("div",{className:"".concat(p?"w-full":"container mx-auto"),style:{backgroundColor:x,paddingTop:"".concat(h,"px"),paddingBottom:"".concat(g,"px"),paddingLeft:"".concat(f,"px"),paddingRight:"".concat(b,"px")},children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,l.jsx)("div",{className:"mb-8",children:(0,l.jsx)("div",{className:"ProseMirror text-gray-800 [&_p]:m-0 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:y||""}})}),(0,l.jsx)("div",{className:"grid ".concat((()=>{switch(u){case 1:return"grid-cols-1";case 2:return"grid-cols-1 md:grid-cols-2";case 3:default:return"grid-cols-1 md:grid-cols-2 lg:grid-cols-3";case 4:return"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4"}})()," gap-6"),children:L.map((e,t)=>{let a=(e=>e?e.startsWith("http://")||e.startsWith("https://")?{href:e,target:"_blank",rel:"noopener noreferrer",onClick:void 0}:j?{href:C(e,w,j),onClick:t=>_(e,t)}:{href:e,onClick:t=>_(e,t)}:{})(e.url),d=(0,l.jsx)("div",{className:"bg-white rounded-lg overflow-hidden hover:shadow-lg transition-shadow cursor-pointer border border-gray-200",children:(0,l.jsxs)("div",{className:"flex h-full min-h-[200px]",children:[(0,l.jsx)("div",{className:"relative w-2/5",children:(0,l.jsx)("img",{src:T&&e.image?"".concat(c.image_url,"/").concat(e.image):e.image,alt:e.title||"Property image",className:"w-full h-full object-cover"})}),(0,l.jsxs)("div",{className:"flex-1 p-5 flex flex-col justify-between relative",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h3",{className:"text-lg font-semibold text-gray-800 mb
1-2",children:e.title||"Property Title"}),(0,l.jsx)("p",{className:"text-sm text-gray-500 mb-4 line-clamp-2",children:e.address||"Property address location"}),T&&e.content&&(0,l.jsx)("div",{className:"ProseMirror text-gray-600 text-sm mb-4 line-clamp-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:e.content||""}})]}),!T&&(0,l.jsxs)("div",{className:"flex items-center gap-4 text-gray-600",children:[(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)(s.A,{className:"w-4 h-4"}),(0,l.jsxs)("span",{className:"text-sm",children:[e.bedrooms||2," Bed"]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)(n.A,{className:"w-4 h-4"}),(0,l.jsxs)("span",{className:"text-sm",children:[e.baths||2," Bath"]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)(o.A,{className:"w-4 h-4"}),(0,l.jsxs)("span",{className:"text-sm",children:[e.guests||4," Guests"]})]})]}),!T&&e.hostedBy&&(0,l.jsxs)("div",{className:"text-xs text-gray-500 mt-2",children:["Hosted by ",e.hostedBy]}),(0,l.jsx)("button",{className:"absolute bottom-5 right-5 text-gray-400 hover:text-gray-600",children:(0,l.jsx)(i.A,{className:"w-5 h-5"})})]})]})},e.id||t);return e.url?(0,r.createElement)("a",{...a,key:e.id||t,className:"block"},d):d})})]})})}},94627:(e,t,a)=>{a.d(t,{default:()=>p});var l=a(95155),r=a(12115),s=a(37354),n=a(65229),o=a(90368),i=a(27937),c=a(97290);let d=e=>e?"string"==typeof e?e.startsWith("http")?e:"".concat(c.image_url,"/").concat(e):e.url?e.url.startsWith("http")?e.url:"".concat(c.image_url,"/").concat(e.url):"":"",m=e=>{var t,a;let{card:c,data:m}=e,[u,p]=(0,r.useState)(0),[x,h]=(0,r.useState)(null),[g,f]=(0,r.useState)(!1),[b,y]=(0,r.useState)(0),v=c.images||[],w=null!==x?x:u,j=e=>{y(e),f(!0)},N=()=>{f(!1)},k=()=>{y(e=>(e+1)%v.length)},C=()=>{y(e=>(e-1+v.length)%v.length)};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"bg-white overflow-hidden mb-8",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsx)("div",{className:"relative",children:(0,l.jsxs)("div",{className:"relative overflow-hidden rounded-lg border border-gray-200 p-2 cursor-pointer",children:[(0,l.jsx)("img",{src:d(v[w]),alt:(null==(t=v[w])?void 0:t.altText)||c.title||"Room view",className:"w-full h-64 object-cover transition-opacity duration-200",onClick:()=>j(w)}),(0,l.jsx)("button",{onClick:()=>j(w),className:"absolute top-4 right-4 bg-green-600 hover:bg-green-700 text-white p-2 rounded-full shadow-lg transition-colors",children:(0,l.jsx)(s.A,{size:20})})]})}),v.length>1&&(0,l.jsx)("div",{className:"grid grid-cols-6 gap-2",children:v.slice(1).map((e,t)=>(0,l.jsxs)("button",{onClick:()=>p(t+1),onMouseEnter:()=>h(t+1),onMouseLeave:()=>h(null),className:"relative overflow-hidden rounded-md shadow-sm hover:shadow-md border-gray-200 p-1 transition-all duration-200 ".concat(u===t+1?"ring-2 ring-green-500":""," ").concat(x===t+1?"scale-105":""),children:[(0,l.jsx)("img",{src:d(e),alt:(null==e?void 0:e.altText)||"".concat(c.title||"Room"," view ").concat(t+1),className:"w-full h-12 object-cover"}),(0,l.jsx)("div",{className:"absolute inset-0 hover:bg-opacity-10 transition-all duration-200 flex items-center justify-center",children:(0,l.jsx)(s.A,{className:"text-white opacity-0 hover:opacity-100 transition-opacity duration-200",size:12})})]},t))})]}),(0,l.jsxs)("div",{className:"space-y-4",children:[c.title&&(0,l.jsx)("h3",{className:"text-2xl font-bold text-green-600 mb-4",children:c.title}),(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:c.content}})]})]})}),g&&(0,l.jsxs)("div",{className:"fixed inset-0 bg-black bg-opacity-90 z-50 flex items-center justify-center p-4",onClick:N,onKeyDown:e=>{"Escape"===e.key&&N(),"ArrowRight"===e.key&&k(),"ArrowLeft"===e.key&&C()},tabIndex:0,children:[(0,l.jsx)("button",{onClick:N,className:"absolute top-4 right-4 text-white hover:text-gray-300 z-60",children:(0,l.jsx)(n.A,{size:32})}),(0,l.jsx)("button",{onClick:e=>{e.stopPropagation(),C()},className:"absolute left-4 top-1/2 -translate-y-1/2 text-white hover:text-gray-300 bg-black bg-opacity-50 rounded-full p-2 z-60",children:(0,l.jsx)(o.A,{size:32})}),(0,l.jsx)("button",{onClick:e=>{e.stopPropagation(),k()},className:"absolute right-4 top-1/2 -translate-y-1/2 text-white hover:text-gray-300 bg-black bg-opacity-50 rounded-full p-2 z-60",children:(0,l.jsx)(i.A,{size:32})}),(0,l.jsx)("div",{className:"max-w-4xl max-h-full flex items-center justify-center",children:(0,l.jsx)("img",{src:d(v[b]),alt:(null==(a=v[b])?void 0:a.altText)||"".concat(c.title||"Room"," view ").concat(b+1),className:"max-w-full max-h-full object-contain rounded-lg shadow-2xl",onClick:e=>e.stopPropagation()})}),(0,l.jsxs)("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 text-white bg-black bg-opacity-50 px-4 py-2 rounded-full",children:[b+1," / ",v.length]}),(0,l.jsx)("div",{className:"absolute bottom-16 left-1/2 -translate-x-1/2 flex gap-2 max-w-md overflow-x-auto",children:v.map((e,t)=>(0,l.jsx)("button",{onClick:e=>{e.stopPropagation(),y(t)},className:"flex-shrink-0 w-16 h-12 rounded-md overflow-hidden ".concat(b===t?"ring-2 ring-white":"opacity-70 hover:opacity-100"," transition-all duration-200"),children:(0,l.jsx)("img",{src:d(e),alt:(null==e?void 0:e.altText)||"Thumbnail ".concat(t+1),className:"w-full h-full object-cover"})},t))})]})]})},u={editorContent:"<h2>Explore Our Gallery</h2><p>Discover the beauty and luxury of our resort through these stunning visuals.</p>",cards:[{images:[{url:"https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Luxury resort infinity pool"},{url:"https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Modern hotel room interior"},{url:"https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Beachfront view"}],altText:"Pool and beach gallery",content:"<p>Experience breathtaking ocean views from our infinity pool, overlooking the crystal-clear waters. Relax on our pristine private beach with personalized service.</p>"},{images:[{url:"https://images.unsplash.com/photo-1414235077428-338989a2e8c0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Fine dining restaurant"},{url:"https://images.unsplash.com/photo-1540555700478-4be289fbecef?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Luxury spa treatment"},{url:"https://images.unsplash.com/photo-1517457373958-b7bdd4587205?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Conference venue"}],altText:"Dining and events gallery",content:"<p>Indulge in world-class dining experiences and host unforgettable events in our stunning venues.</p>"}]};function p(e){let{data:t,preview:a=!1}=e,r=a?u:t||{};return(0,l.jsx)("div",{className:"w-full px-5",children:(0,l.jsx)("div",{className:"max-w-6xl mx-auto",children:(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 mb-10 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:r.editorContent||""}}),(0,l.jsx)("div",{className:"grid grid-cols-1 gap-6 md:gap-8",children:r.cards&&r.cards.map((e,t)=>(0,l.jsx)(m,{card:e,data:r},t))})]})})})}},95412:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(12115),s=a(74667);function n(e){let{sectionHeading:t="What Our Customers Say",HeadingClass:a="text-2xl md:text-3xl font-bold leading-[1.1] text-[#1A1A3D]",data:n}=e,o=(null==n?void 0:n.testimonials)||[{content:"StayStack has completely transformed how 
1we manage our properties. The platform is intuitive, powerful and the support is exceptional.",author:"Rajiv Mehra",designation:"General Manager, The Fern Hotels"},{content:"Real-time updates, seamless integrations and amazing reporting — StayStack is a game changer for our business.",author:"Neha Kapoor",designation:"Director Operations, Royal Orchid Hotels"},{content:"From reservations to billing, everything is now connected. Our staff loves it and our guests feel the difference.",author:"Arvind Nair",designation:"GM, Lemon Tree Hotels"}],i=(null==n?void 0:n.quoteColor)||"#d71d1d",c=t;if(null==n?void 0:n.sectionTitle){let e="undefined"!=typeof document?document.createElement("div"):null;if(e){e.innerHTML=n.sectionTitle;let a=e.querySelector("h2");c=a?a.textContent||a.innerText||t:e.textContent||e.innerText||t}else c=n.sectionTitle.replace(/<[^>]*>/g,"")||t}o.length;let[d,m]=(0,r.useState)(0);(0,r.useEffect)(()=>{if(o.length<=1)return;let e=setInterval(()=>{m(e=>(e+1)%o.length)},4e3);return()=>clearInterval(e)},[o.length]);let u=0===o.length?[]:1===o.length?[o[0]]:2===o.length?o:[o[d],o[(d+1)%o.length],o[(d+2)%o.length]],p=(null==n?void 0:n.paddingTop)||50,x=(null==n?void 0:n.paddingBottom)||50,h=(null==n?void 0:n.paddingLeft)||10,g=(null==n?void 0:n.paddingRight)||10,f=(null==n?void 0:n.isFullWidth)!==!1;return(0,l.jsx)("section",{className:"w-full bg-white py-10 px-4 md:px-10",style:{paddingTop:"".concat(p,"px"),paddingBottom:"".concat(x,"px"),paddingLeft:"".concat(h,"px"),paddingRight:"".concat(g,"px")},children:(0,l.jsxs)("div",{className:"".concat(f?"w-full":"max-w-7xl mx-auto"),children:[(0,l.jsx)("div",{className:"text-center mb-10",children:(0,l.jsx)("h2",{className:a,children:c})}),(0,l.jsx)("div",{className:"grid ".concat(1===u.length?"grid-cols-1 md:grid-cols-1 max-w-md mx-auto":2===u.length?"grid-cols-1 md:grid-cols-2 max-w-4xl mx-auto":"grid-cols-1 md:grid-cols-3"," gap-6"),children:u.map((e,t)=>(0,l.jsxs)("div",{className:"bg-white border border-gray-100 rounded-2xl p-8 shadow-sm hover:shadow-md transition duration-300",children:[(0,l.jsx)(s.hTV,{className:"mb-5",size:20,color:i}),(0,l.jsx)("p",{className:"text-gray-700 text-[15px] leading-7 mb-8",children:(e=>{if(!e)return"";if("undefined"!=typeof document){let t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}return e.replace(/<[^>]*>/g,"")})(e.content)}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("h4",{className:"font-semibold text-[#1A1A3D] text-[15px]",children:["— ",e.author]}),(0,l.jsx)("p",{className:"text-gray-500 text-sm mt-1",children:e.designation})]})]},t))}),o.length>1&&(0,l.jsx)("div",{className:"flex items-center justify-center gap-3 mt-10",children:o.map((e,t)=>(0,l.jsx)("button",{onClick:()=>m(t),className:"h-2.5 w-2.5 rounded-full transition-all duration-300 ".concat(d===t?"scale-110":"bg-gray-300"),style:{backgroundColor:d===t?i:void 0}},t))})]})})}},96048:(e,t,a)=>{a.d(t,{default:()=>h});var l=a(95155),r=a(12115),s=a(52619),n=a.n(s),o=a(97290),i=a(35258);a(45250);var c=a(53132),d=a(20063),m=a(57830);a(81602),a(30594);let u=e=>{var t,a;let{isForm:s=!1,email:n,emails:u,phones:p,address:x,rightImage:h,rightImageWidth:g=100,formFields:f=[],formName:b,submitButtonTextColor:y,submitButtonBackgroundColor:v,formType:w,sectionOrder:j,sectionName:N,uniqueFormKey:k,sectionData:C,rightCardBackgroundColor:_,sidebarTopSpacing:T,sidebarTextColor:L,showShadowOnRightSection:S=!1}=e,{brandSlug:B,website_slug:A}=(0,d.useParams)(),{pageHeaders:M}=(0,c.A)(),[I,F]=(0,r.useState)({}),[R,P]=(0,r.useState)({}),[W,E]=(0,r.useState)({});return"clients.staystack.encrobytes.com"===window.location.hostname||null==(a=window.location)||null==(t=a.hostname)||t.includes("localhost"),(0,r.useEffect)(()=>{let e={};if(f.forEach(t=>{var a;"checkbox"===t.type?e[t.name]=[]:"radio"===t.type&&(null==(a=t.options)?void 0:a.length)>0?e[t.name]=t.options[0].value:e[t.name]=""}),P(e),null==C?void 0:C.formFields2){let e={};C.formFields2.forEach(t=>{var a;"checkbox"===t.type?e[t.name]=[]:"radio"===t.type&&(null==(a=t.options)?void 0:a.length)>0?e[t.name]=t.options[0].value:e[t.name]=""}),E(e)}},[C]),(0,r.useEffect)(()=>{let e=async()=>{try{var e,t;let{data:a}
1=await (0,i.BZ)({body:{brandSlug:B,websiteSlug:A,filters:{type:"website_config"}}});if(null==a||null==(t=a.Data)||null==(e=t[0])?void 0:e.config){let e=a.Data[0].config;F(e)}}catch(e){console.error("Error fetching config:",e)}};B&&A&&e()},[B,A]),(0,l.jsx)("div",{className:"max-w-xl sticky mx-auto p-6 font-sans text-gray-700 bg-white rounded-lg border-l-2 border-gray-100",style:{background:_,top:T||100,boxShadow:S&&"rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px",borderRadius:S&&"20px"},children:(0,l.jsxs)("div",{className:"max-w-sm mx-auto",children:[(0,l.jsxs)("div",{className:"mb-8",children:[(null==p?void 0:p.length)>0&&(0,l.jsxs)("h2",{className:"text-lg font-semibold text-gray-900 mb-3 tracking-tight flex items-center",children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 mr-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"})}),"CALL"]}),p&&Array.isArray(p)&&p.length>0?(0,l.jsx)("div",{className:"mb-2",children:p.map((e,t)=>(0,l.jsxs)("div",{className:"text-sm mb-1 flex items-center",children:[(0,l.jsx)(m.wYu,{className:"h-4 w-4 mr-1",style:{color:L||"#4B5563"}}),(0,l.jsx)("a",{href:"tel:".concat(e.phone),className:"transition-colors",style:{color:L||"#4B5563"},children:e.phone})]},t))}):Array.isArray(p)&&(null==p?void 0:p.length)>0?(0,l.jsxs)("div",{className:"text-sm mb-2 flex items-center",style:{color:L||"#4B5563"},children:[(0,l.jsx)(m.wYu,{className:"h-4 w-4 mr-1"}),(0,l.jsx)("a",{href:"tel:".concat(p),className:"transition-colors",children:p})]}):null,u&&Array.isArray(u)&&u.length>0?(0,l.jsx)("div",{children:u.map((e,t)=>(0,l.jsxs)("a",{href:"mailto:".concat(e.email||e),className:"text-sm transition-colors flex items-center mb-1",style:{color:L||"#4B5563"},children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 mr-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",style:{color:L||"#4B5563"},children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}),e.email||e]},t))}):n?(0,l.jsxs)("a",{href:"mailto:".concat(n),style:{color:L||"#4B5563"},className:"text-sm transition-colors flex items-center",children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 mr-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}),n]}):null]}),h&&(0,l.jsx)("div",{className:"flex justify-center mb-8",children:(0,l.jsx)("div",{className:"bg-gray-50 p-5 rounded-lg shadow-sm border border-gray-200 w-full",children:(0,l.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,l.jsx)("div",{className:"relative mb-3",children:(0,l.jsx)("img",{src:h.includes("http")?h:"".concat(o.image_url,"/").concat(h),alt:"Excellence Award",className:"object-contain",style:{width:"".concat(g,"px")}})}),(0,l.jsx)("p",{className:"text-xs text-gray-500 mt-2",children:"Awarded for Excellence"})]})})}),x&&(0,l.jsx)("div",{className:"".concat((null==p?void 0:p.length)>0&&"pt-5 border-t"," border-gray-200"),children:(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 mb-10 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:x}})})]})})};var p=a(74163);let x={editorContent:"<h2>Why Choose Our Resort</h2><p>Experience world-class amenities and exceptional service that makes your stay unforgettable. Discover why thousands of guests return year after year.</p>",showRightInfoCard:!0,showFormInInfoCard:!0,email:"[email protected]",phone:"+1 (888) 123-4567",rightImage:"https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",address:"<p>
1123 Luxury Avenue</p><p>Beverly Hills, CA 90210</p><p>United States</p>",cardsBackgroundColor:"#ffffff",numberOfColumns:2,cards:[{title:"Luxury Spa & Wellness",image:"https://images.unsplash.com/photo-1540555700478-4be289fbecef?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Luxury spa treatment room",content:"<p>Rejuvenate your senses with our signature spa treatments, featuring organic products and expert therapists.</p>",buttonText:"Learn More",buttonUrl:"/spa",openInNewTab:!1},{title:"Gourmet Dining",image:"https://images.unsplash.com/photo-1414235077428-338989a2e8c0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Fine dining restaurant",content:"<p>Indulge in culinary excellence with our Michelin-starred restaurants and world-class chefs.</p>",buttonText:"Explore Menus",buttonUrl:"/dining",openInNewTab:!1},{title:"Infinity Pool",image:"https://images.unsplash.com/photo-1584132967334-10e028bd69f7?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Infinity pool with ocean view",content:"<p>Swim in our breathtaking infinity pool overlooking the crystal-clear waters.</p>",buttonText:"View Amenities",buttonUrl:"/amenities",openInNewTab:!1},{title:"Private Beach Access",image:"https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80",altText:"Private beach with white sand",content:"<p>Enjoy exclusive access to our pristine private beach with personalized service.</p>",buttonText:"Discover More",buttonUrl:"/beach",openInNewTab:!1}],isFullWidth:!1,paddingTop:80,paddingBottom:80,paddingLeft:0,paddingRight:0};function h(e){var t,a;let{data:r,preview:s=!1}=e,i=s?x:r||{},{paddingTop:c,paddingBottom:m,paddingLeft:h,paddingRight:g,isFullWidth:f,numberOfColumns:b=2,cardsBackgroundColor:y="#ffffff",email:v,phone:w,address:j,rightImage:N}=i||{},{brandSlug:k,website_slug:C}=(0,d.useParams)(),_=e=>e||0===e?"number"==typeof e||"string"==typeof e&&/^\d+$/.test(e)?"".concat(e,"px"):e:"20px",T={paddingTop:_(c),paddingBottom:_(m),paddingLeft:_(h),paddingRight:_(g)},L="clients.staystack.encrobytes.com"===window.location.hostname||(null==(a=window.location)||null==(t=a.hostname)?void 0:t.includes("localhost")),S=i&&Object.keys(i).length>0?i:x,{showRightInfoCard:B,showFormInInfoCard:A}=S,M=(0,p.Rm)(b);return(0,l.jsx)("div",{className:"mx-auto ".concat(f?"max-w-full":"max-w-6xl"),style:T,children:(0,l.jsxs)("div",{className:"max-w-6xl mx-auto ".concat(B?"md:grid md:grid-cols-[65%_35%] gap-10":""),children:[(0,l.jsxs)("div",{className:"lg:col-span-1",children:[(0,l.jsx)("div",{className:"ProseMirror text-gray-600 leading-relaxed space-y-3 mb-5 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:S.editorContent||""}}),(0,l.jsx)("div",{className:"grid grid-cols-1",children:(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"grid ".concat(M," gap-3 md:gap-8"),children:S.cards&&S.cards.map((e,t)=>{var a;let r=(e=>{if(!e||"#"===e)return"#";if((0,o.isExternalUrl)(e))return e;if(e.startsWith("/")&&L)return(console.log("genrate url",e,k,C),L)?"/".concat(k,"/website/").concat(C).concat(e):e;return e})(e.buttonUrl),i=(a=e.buttonUrl)&&"#"!==a&&(0,o.isExternalUrl)(a)?{target:"_blank",rel:"noopener noreferrer"}:{},{openInNewTab:c=!1}=e;return(0,l.jsxs)("div",{className:"overflow-hidden mb-8 pt-3",style:{backgroundColor:y},children:[(null==e?void 0:e.title)&&(0,l.jsx)("div",{className:"w-full text-center mb-4",children:(0,l.jsx)("h3",{className:"text-xl font-semibold text-gray-800",children:null==e?void 0:e.title})}),e.image&&(0,l.jsx)("div",{className:"w-full h-48 overflow-hidden",children:(0,l.jsx)("img",{src:s?null==e?void 0:e.image:"".concat(o.image_url,"/").concat(null==e?void 0:e.image),alt:e.altText||"Feature image",className:"w-1/2 mx-auto h-full object-cover"})}),(0,l.jsxs)("div",{className:"p-6",children:[(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:e.content}}),e.buttonText&&e.buttonUrl&&(0,l.jsx)(n(),{href:r,...i,className:"inline-block mt-3 text-black underline rounded-md",target:c?"_blank":"_self",children:e.buttonText})]})]},t)})})})})]}),B&&(0,l.jsx)("div",{className:"w-full lg:col-span-1",children:(0,l.jsx)(u,{isForm:A,email:v,phone:w,address:j,rightImage:N})})]})})}},98371:(e,t,a)=>{a.d(t,{default:()=>m});var l=a(95155),r=a(88661),s=a.n(r),n=a(12115),o=a(20063),i=a(97290);let c=e=>{let{images:t,altText:a}
1=e,[r,s]=(0,n.useState)(0),o=()=>{s(e=>e===t.length-1?0:e+1)};return((0,n.useEffect)(()=>{if(t.length>1){let e=setInterval(()=>{o()},5e3);return()=>clearInterval(e)}},[t.length]),t&&0!==t.length)?(0,l.jsxs)("div",{className:"relative w-full h-64 sm:h-80 md:h-96 overflow-hidden rounded-xl shadow-lg group",children:[(0,l.jsx)("div",{className:"w-full h-full",children:(0,l.jsx)("img",{src:"".concat(i.image_url,"/").concat(t[r].url?t[r].url:t[r]),alt:t[r].altText,className:"w-full h-full object-cover transition-transform duration-500 ease-in-out"})}),t.length>1&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{onClick:()=>{s(e=>0===e?t.length-1:e-1)},className:"absolute left-2 top-1/2 transform -translate-y-1/2 bg-white/80 text-gray-800 p-2 rounded-full shadow-md hover:bg-white transition-all opacity-0 group-hover:opacity-100","aria-label":"Previous image",children:"←"}),(0,l.jsx)("button",{onClick:o,className:"absolute right-2 top-1/2 transform -translate-y-1/2 bg-white/80 text-gray-800 p-2 rounded-full shadow-md hover:bg-white transition-all opacity-0 group-hover:opacity-100","aria-label":"Next image",children:"→"})]}),t.length>1&&(0,l.jsx)("div",{className:"absolute bottom-4 left-0 right-0 flex justify-center space-x-2",children:t.map((e,t)=>(0,l.jsx)("button",{onClick:()=>s(t),className:"w-3 h-3 rounded-full transition-all ".concat(t===r?"bg-white scale-110":"bg-white/50 scale-100"),"aria-label":"Go to slide ".concat(t+1)},t))}),t.length>1&&(0,l.jsxs)("div",{className:"absolute top-4 right-4 bg-black/50 text-white px-2 py-1 rounded-md text-sm",children:[r+1," / ",t.length]})]}):(0,l.jsx)("div",{className:"w-full h-64 sm:h-80 md:h-96 bg-gray-200 rounded-xl flex items-center justify-center",children:(0,l.jsx)("span",{className:"text-gray-500",children:"No image available"})})},d=e=>{let{data:t}=e,a=(0,o.useSearchParams)(),r=(0,o.useRouter)();console.log("data from slider 2",t);let{content:i,isFullWidth:d=!1,paddingTop:m=0,paddingBottom:u=0,paddingLeft:p=0,paddingRight:x=0,cards:h=[],backgroundColor:g="#498734",textColor:f="#ffffff"}=(null==t?void 0:t.Slider_2)?t.Slider_2[0]||{}:t||{};(0,n.useEffect)(()=>{if(h.length>0){let e=a.get("room");e&&setTimeout(()=>{let t=document.getElementById(e);if(t){t.scrollIntoView({behavior:"smooth"}),t.classList.add("highlight"),setTimeout(()=>{t.classList.remove("highlight")},2e3);let e=new URLSearchParams(a);e.delete("room"),r.replace("?".concat(e.toString()),{scroll:!1})}},300)}},[h,a,r]);let b=d?"w-full":"container max-w-6xl mx-auto",y={color:f};return(0,l.jsxs)("div",{style:{paddingTop:"".concat(m,"px"),paddingBottom:"".concat(u,"px"),paddingLeft:"".concat(p,"px"),paddingRight:"".concat(x,"px")},className:"jsx-154a5de38869c641 min-h-screen bg-gray-50",children:[(0,l.jsx)("div",{className:"jsx-154a5de38869c641 bg-gray-100 py-10",children:(0,l.jsx)("div",{className:"jsx-154a5de38869c641 "+(b||""),children:(0,l.jsx)("div",{className:"jsx-154a5de38869c641 px-4",children:i&&(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:i},style:f?y:{},className:"jsx-154a5de38869c641 prose prose-invert max-w-none"})})})}),0===h.length?(0,l.jsxs)("div",{className:"jsx-154a5de38869c641 "+"".concat(b," px-4 py-10 text-center"),children:[(0,l.jsx)("h2",{className:"jsx-154a5de38869c641 text-2xl font-bold text-gray-800 mb-4",children:"No Content Available"}),(0,l.jsx)("p",{className:"jsx-154a5de38869c641 text-gray-600",children:"Please add some content to display here."})]}):h.map((e,t)=>{let a=t%2==0,r=a?y:{color:"#1f2937"};return(0,l.jsx)("div",{id:e._id||"card-".concat(t),style:{backgroundColor:a?g:"#f3f4f6"},className:"jsx-154a5de38869c641 "+"py-12 px-4 transition-all duration-300 ".concat(a?"":"text-gray-800"),children:(0,l.jsxs)("div",{className:"jsx-154a5de38869c641 "+(b||""),children:[(0,l.jsx)("div",{className:"jsx-154a5de38869c641 text-center mb-8",children:e.title&&(0,l.jsx)("h2",{style:r,className:"jsx-154a5de38869c641 text-2xl md:text-3xl font-bold",children:e.title})}),(0,l.jsxs)("div",{className:"jsx-154a5de38869c641 grid grid-cols-1 lg:grid-cols-2 gap-8 py-5 items-center",children:[e.images&&e.images.length>0&&(0,l.jsx)("div",{className:"jsx-154a5de38869c641 "+"w-full flex justify-center items-center ".concat(a?"lg:order-last":"lg:order-first"),children:(0,l.jsx)(c,{images:e.images,altText:e.altText})}),(0,l.jsx)("div",{style:r,className:"jsx-154a5de38869c641 prose prose-invert max-w-none",children:e.content&&(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:e.content},style:r,className:"jsx-154a5de38869c641 text-sm sm:text-base"})})]})]})},e._id||t)}),(0,l.jsx)(s(),{id:"154a5de38869c641",children:".highlight{animation:highlight 2s ease}@keyframes highlight{0%{box-shadow:0 0 0 0 rgba(237,112,58,.7)}70%{box-shadow:0 0 0 20px rgba(237,112,58,0)}100%{box-shadow:0 0 0 0 rgba(237,112,58,0)}}.prose.prose-invert{color:inherit}.prose.prose-invert h1,.prose.prose-invert h2,.prose.prose-invert h3,.prose.prose-invert h4,.prose.prose-invert h5,.prose.prose-invert h6,.prose.prose-invert p,.prose.prose-invert a,.prose.prose-invert li,.prose.prose-invert blockquote,.prose.prose-invert th,.prose.prose-invert td,.prose.prose-invert div{color:inherit}"})]})},m=e=>{let{data:t}=e;return(0,l.jsx)(n.Suspense,{fallback:(0,l.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-[#498734] mx-auto"}),(0,l.jsx)("p",{className:"mt-4 text-gray-600",children:"Loading page..."})]})}),children:(0,l.jsx)(d,{data:t})})}},99182:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(12115);let s={isFullWidth:!1,paddingTop:100,paddingBottom:100,paddingLeft:0,paddingRight:0,sectionTitle:"<h2>Guest Reviews</h2><p>Discover why travelers love staying with us</p>",backgroundColor:"#f8f9fa",navigationButtonColor:"#7c925a",testimonials:[{text:"<p>Absolutely breathtaking experience! The staff went above and beyond to make our anniversary special. The ocean views from our room were spectacular, and the dining options were world-class. We're already planning our return visit.</p>",name:"Sarah Johnson",place:"Chicago, IL"},{text:"<p>This resort exceeded all our expectations. From the moment we arrived, we felt like royalty. The spa treatments were incredibly relaxing, and the private beach was pristine. Highly recommend for anyone seeking a luxury getaway.</p>",name:"Michael Chen",place:"San Francisco, CA"},{text:"<p>Five stars isn't enough! The attention to detail throughout our stay was impeccable. The infinity pool overlooking the sunset was magical, and the concierge helped us plan perfect day trips. Can't wait to come back!</p>",name:"Emily Rodriguez",place:"Miami, FL"},{text:"<p>A truly unforgettable experience. The room was spacious and beautifully designed, the food was exquisite, and the service was impeccable. The resort's location offers the perfect balance of relaxation and adventure.</p>",name:"David Thompson",place:"Seattle, WA"},{text:"<p>
1Wonderful hospitality! Every staff member made us feel welcome. The kids club kept our children entertained, and we enjoyed some much-needed couples time at the spa.</p>",name:"Jessica Williams",place:"Denver, CO"}]};function n(e){let{data:t,preview:a=!1}=e,{isFullWidth:n,paddingTop:o,paddingBottom:i,paddingLeft:c,paddingRight:d,sectionTitle:m,backgroundColor:u,navigationButtonColor:p,testimonials:x=[]}=(a?s:t||{})||{},[h,g]=(0,r.useState)(0),f=x[h]||x[0]||{},b=e=>({__html:e});return(0,l.jsx)("div",{style:{backgroundColor:u||"#ffffff",paddingTop:"".concat(o||100,"px"),paddingBottom:"".concat(i||100,"px"),paddingLeft:"".concat(c||50,"px"),paddingRight:"".concat(d||50,"px")},className:"".concat(n?"w-full":"max-w-7xl mx-auto"),children:(0,l.jsxs)("div",{className:"max-w-4xl mx-auto",children:[m&&(0,l.jsx)("div",{className:"mb-12",dangerouslySetInnerHTML:b(m)}),(0,l.jsx)("div",{className:"relative min-h-[280px] flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center px-8 w-full",children:[(0,l.jsx)("div",{className:"flex justify-center mb-6",children:(0,l.jsx)("svg",{className:"w-12 h-12 text-gray-300",fill:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{d:"M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"})})}),f.text&&(0,l.jsx)("div",{className:"text-gray-600 text-base md:text-lg leading-relaxed mb-8 max-w-3xl mx-auto",dangerouslySetInnerHTML:b(f.text)}),x.length>1&&(0,l.jsx)("div",{className:"flex justify-center items-center gap-3 mb-6",children:x.map((e,t)=>(0,l.jsx)("button",{onClick:()=>{g(t)},className:"transition-all duration-300 rounded-full ".concat(t===h?"w-3 h-3 bg-[".concat(p||"#f97316","]"):"w-2 h-2 bg-gray-300 hover:bg-gray-400"),style:{backgroundColor:t===h?p||"#f97316":void 0},"aria-label":"Go to testimonial ".concat(t+1)},t))}),(0,l.jsxs)("div",{className:"space-y-1",children:[(0,l.jsx)("h3",{className:"text-gray-800 font-semibold text-lg",children:f.name}),(0,l.jsx)("p",{className:"text-gray-400 text-sm",children:f.place||f.location||""})]})]})})]})})}},99396:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(95155),r=a(97290),s=a(12115);let n=e=>{let{data:t}=e,a={title:"<h2 class='text-3xl font-bold text-center'>Our Amazing Features</h2><p class='text-lg text-gray-600 text-center mt-4'>Discover what makes us unique</p>",featureCards:[{content:"<h3 class='text-xl font-semibold mb-3'>Premium Quality</h3><p>Experience the highest quality standards with our carefully crafted products that exceed expectations.</p>",image:"/api/placeholder/400/300",altText:"Premium Quality Feature"},{content:"<h3 class='text-xl font-semibold mb-3'>Expert Support</h3><p>Our dedicated team of experts is available 24/7 to provide you with exceptional customer support.</p>",image:"/api/placeholder/400/300",altText:"Expert Support Feature"},{content:"<h3 class='text-xl font-semibold mb-3'>Innovative Solutions</h3><p>Stay ahead with our cutting-edge solutions designed to solve your most complex challenges.</p>",image:"/api/placeholder/400/300",altText:"Innovative Solutions Feature"},{content:"<h3 class='text-xl font-semibold mb-3'>Global Reach</h3><p>Access our services from anywhere in the world with our extensive global network and infrastructure.</p>",image:"/api/placeholder/400/300",altText:"Global Reach Feature"}],paddingTop:48,paddingBottom:48,paddingLeft:16,paddingRight:16,isFullWidth:!1},n=t&&Object.keys(t).length>0,{title:o=a.title,featureCards:i=a.featureCards,paddingTop:c=a.paddingTop,paddingBottom:d=a.paddingBottom,paddingLeft:m=a.paddingLeft,paddingRight:u=a.paddingRight,isFullWidth:p=a.isFullWidth}=n?t:a;return(0,l.jsxs)("div",{className:"container px-4 max-w-6xl mx-auto py-10",style:{paddingTop:"".concat(c,"px"),paddingBottom:"".concat(d,"px"),paddingLeft:"".concat(m,"px"),paddingRight:"".concat(u,"px"),width:p?"100%":"auto"},children:[!n&&(0,l.jsx)("div",{className:"bg-yellow-100 border border-yellow-400 text-yellow-800 px-4 py-2 rounded mb-6 text-center text-sm max-w-2xl mx-auto",children:"\uD83D\uDCA1 Showing demo features. Provide data prop to display your actual content."}),o&&(0,l.jsx)("div",{className:"text-center mb-12 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:o}}),(null==i?void 0:i.length)>0?(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-10 my-10",children:i.map((e,t)=>{let a=t%2==0;return(0,l.jsxs)(s.Fragment,{children:[a&&(0,l.jsx)("div",{className:"lg:flex hidden relative h-48 justify-center items-center",children:(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(null==e?void 0:e.image),className:"max-w-full h-full object-cover rounded-lg shadow-md",alt:(null==e?void 0:e.altText)||"Feature Image"})}),(0,l.jsx)("div",{className:"space-y-4 px-3 text-center ".concat(a?"border-l-4 border-gray-200":"border-r-4 border-gray-200"),children:(0,l.jsx)("div",{className:"text-gray-600 leading-relaxed space-y-3 mb-10 [&_p:empty]:before:content-['\\00a0'] [&_p:empty]:block [&_p:empty]:h-3",dangerouslySetInnerHTML:{__html:e.content||""}})}),!a&&(0,l.jsx)("div",{className:"lg:flex hidden relative h-48 justify-center items-center",children:(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(null==e?void 0:e.image),className:"max-w-full h-full object-cover rounded-lg shadow-md",alt:(null==e?void 0:e.altText)||"Feature Image"})}),(0,l.jsx)("div",{className:"lg:hidden flex relative h-48 justify-center items-center mt-4",children:(0,l.jsx)("img",{src:"".concat(r.image_url,"/").concat(null==e?void 0:e.image),className:"max-w-full h-full object-cover rounded-lg shadow-md",alt:(null==e?void 0:e.altText)||"Feature Image"})})]},t)})}):(0,l.jsx)("div",{className:"text-center py-12",children:(0,l.jsx)("p",{className:"text-gray-500 italic",children:"No feature cards available at the moment."})})]})}}}]);

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.