1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Testimonials-B6kUkP1J.js","assets/ui-vendor-CDxFlkzq.js","assets/animation-vendor-_sOe_EB1.js","assets/star-CC9IH9eR.js","assets/index-CDq9ywLB.js","assets/router-D26NeZEZ.js","assets/utils-CjSFtFRB.js","assets/index-Dykb53Zl.css","assets/CommunityShowcase-DC83_kwD.js","assets/instagram-CFGByIbJ.js","assets/chevron-right-CZ5k5VX6.js","assets/Footer-CaP1aECn.js","assets/Navbar-Bz4r9EfS.js","assets/ScrollToTop-5uBWXD3i.js"])))=>i.map(i=>d[i]); 2import{c as O,P as G,M as V,L as Y,_ as k}from"./index-CDq9ywLB.js";import{r as a,j as e}from"./ui-vendor-CDxFlkzq.js";import{H as X}from"./utils-CjSFtFRB.js";import{A as w,N as W}from"./Navbar-Bz4r9EfS.js";import{L as x}from"./router-D26NeZEZ.js";import{u as F,A as L,m as c}from"./animation-vendor-_sOe_EB1.js";import{T as $}from"./ticket-CKqvCNbK.js";import{t as U,c as J,g as q,f as K,a as Q,i as Z,b as ee}from"./urlHelpers-O4hS16_9.js";import{C as te}from"./calendar-yZK2eWnr.js";import{C as se}from"./clock-QJavqTC-.js";/** 3 * @license lucide-react v0.462.0 - ISC 4 * 5 * This source code is licensed under the ISC license. 6 * See the LICENSE file in the root directory of this source tree. 7 */const ae=O("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/** 8 * @license lucide-react v0.462.0 - ISC 9 * 10 * This source code is licensed under the ISC license. 11 * See the LICENSE file in the root directory of this source tree. 12 */const re=O("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]),ie=()=>{const s=F(),[r,t]=a.useState(0),[i,n]=a.useState([!1,!1,!1,!1]),[d,l]=a.useState(!1),[g,b]=a.useState(!1),y=a.useRef(null),T=a.useRef(0),C=a.useRef(0),u=a.useRef([{url:"/hero-desert.webp",alt:"Group of friends enjoying luxury travel",heading:"Your Passport is Bored. Let's Change That.",subheading:"Create meaningful connections with fellow travelers"},{url:"https://images.pexels.com/photos/2325446/pexels-photo-2325446.jpeg?auto=compress&cs=tinysrgb&w=1800",alt:"Hot air balloons over Cappadocia at sunrise",heading:"Trips So Good, You'll Wanna Miss Your Flight Home",subheading:"The Ultimate Travel Club for South Asians Who Want to Explore the World, Stress-Free, with Like-Minded People."},{url:"/hero-8.webp",alt:"Scenic landscape with teal water",heading:"Where Travel Meets Community, And You're Invited",subheading:"Expertly curated global adventures await"},{url:"/hero-2.webp",alt:"Luxury group travel experience",heading:"Because Your Best Memories Haven't Happened Yet.",subheading:"Exceptional experiences for discerning travelers"}]).current;a.useEffect(()=>{(async()=>{const m=(r+1)%u.length,E=[r,m];await Promise.all(E.map(N=>new Promise(h=>{if(i[N]){h(!0);return}const p=new Image;p.onload=()=>{n(S=>{const j=[...S];return j[N]=!0,j}),h(!0)},p.onerror=()=>h(!1),p.src=u[N].url}))),setTimeout(()=>{Array.from({length:u.length},(h,p)=>p).filter(h=>!E.includes(h)&&!i[h]).forEach(h=>{const p=new Image;p.loading="lazy",p.onload=()=>{n(S=>{const j=[...S];return j[h]=!0,j})},p.src=u[h].url})},1e3)})()},[r,u,i]),a.useEffect(()=>{if(g||s)return;const o=setTimeout(()=>{f()},6e3);return y.current=o,()=>clearTimeout(o)},[r,g,s]);const H=a.useCallback(o=>{if(d||o===r)return;l(!0),t(o),setTimeout(()=>l(!1),750)},[d,r]),f=a.useCallback(()=>{d||(l(!0),t(o=>(o+1)%u.length),setTimeout(()=>l(!1),750))},[u.length,d]),v=a.useCallback(()=>{d||(l(!0),t(o=>o===0?u.length-1:o-1),setTimeout(()=>l(!1),750))},[u.length,d]),A=a.useCallback(o=>{T.current=o.touches[0].clientX},[]),B=a.useCallback(o=>{C.current=o.touches[0].clientX},[]),z=a.useCallback(()=>{const o=T.current-C.current;Math.abs(o)>50&&(o>0?f():v()),T.current=0,C.current=0},[f,v]);a.useEffect(()=>{const o=m=>{m.key==="ArrowLeft"?v():m.key==="ArrowRight"&&f()};return window.addEventListener("keydown",o),()=>window.removeEventListener("keydown",o)},[f,v]);const M=a.useCallback(()=>b(!0),[]),R=a.useCallback(()=>b(!1),[]);return e.jsxs("div",{className:"relative min-h-[75vh] flex items-center justify-center overflow-hidden",onMouseEnter:M,onMouseLeave:R,onTouchStart:A,onTouchMove:B,onTouchEnd:z,role:"region","aria-label":"Image carousel",children:[u.map((o,m)=>e.jsx("div",{className:`absolute inset-0 bg-cover bg-center bg-no-repeat transition-opacity duration-700 ease-in-out ${m===r?"opacity-100 z-0":"opacity-0 -z-10"}`,style:{backgroundImage:`url("${o.url}")`},"aria-hidden":m!==r,children:e.jsx("div",{className:"absolute inset-0 bg-black/30"})},m)),!i[r]&&e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-primary/20 to-primary/10 animate-pulse z-0"}),e.jsx(L,{mode:"wait",children:e.jsxs(c.div,{initial:{opacity:0,y:s?0:20}
12,animate:{opacity:1,y:0},exit:{opacity:0,y:s?0:-20},transition:{duration:s?.01:.5,ease:"easeOut"},className:"relative z-10 text-center px-4 max-w-5xl mx-auto pt-24 pb-6",children:[e.jsx(c.h1,{initial:{opacity:0,y:s?0:15},animate:{opacity:1,y:0},transition:{duration:s?.01:.7,delay:s?0:.2},className:"text-3xl md:text-5xl lg:text-6xl font-editorial mb-4 mt-4 text-white",children:u[r].heading}),e.jsx(c.p,{initial:{opacity:0,y:s?0:15},animate:{opacity:1,y:0},transition:{duration:s?.01:.7,delay:s?0:.4},className:"text-lg md:text-xl text-gray-200 mb-6 max-w-3xl mx-auto",children:u[r].subheading}),e.jsxs(c.div,{initial:{opacity:0,y:s?0:15},animate:{opacity:1,y:0},transition:{duration:s?.01:.7,delay:s?0:.6},className:"flex flex-col sm:flex-row gap-4 justify-center",children:[e.jsx(c.div,{whileHover:{scale:1.05},whileTap:{scale:.98},children:e.jsx(x,{to:"/trips",className:"bg-primary hover:bg-primary/90 text-black px-8 py-3 rounded-full text-lg font-semibold transition-all duration-300 hover:shadow-lg hover:shadow-primary/30 inline-block select-none",children:"Book Your Next Adventure"})}),e.jsx(c.div,{whileHover:{scale:1.05},whileTap:{scale:.98},children:e.jsx(x,{to:"/community",className:"bg-white/10 hover:bg-white/20 text-white px-8 py-3 rounded-full text-lg font-semibold backdrop-blur-sm transition-all duration-300 hover:shadow-lg inline-block select-none",children:"Join the Club"})})]})]},r)}),e.jsx("div",{className:"absolute bottom-8 left-0 right-0 z-20 flex flex-col items-center gap-4",children:e.jsxs("div",{className:"flex justify-center items-center gap-3",children:[u.map((o,m)=>e.jsx(c.button,{onClick:()=>H(m),whileHover:{scale:1.2},whileTap:{scale:.9},className:`relative w-3 h-3 rounded-full transition-all duration-300 select-none before:absolute before:-inset-4 before:content-[''] ${m===r?"bg-primary border-2 border-white scale-125":"bg-white/40 hover:bg-white/70"}`,"aria-label":`Go to slide ${m+1}`,"aria-current":m===r?"true":"false"},m)),e.jsx("button",{onClick:()=>b(o=>!o),className:"ml-2 w-7 h-7 rounded-full bg-black/40 backdrop-blur-sm text-white flex items-center justify-center hover:bg-black/60 transition-colors select-none focus-visible:outline-2 focus-visible:outline-white","aria-label":g?"Play slideshow":"Pause slideshow",children:g?e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-3.5 h-3.5",children:e.jsx("polygon",{points:"6 3 20 12 6 21 6 3"})}):e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-3.5 h-3.5",children:[e.jsx("rect",{x:"6",y:"4",width:"4",height:"16"}),e.jsx("rect",{x:"14",y:"4",width:"4",height:"16"})]})})]})}),e.jsx(c.button,{onClick:v,whileHover:{scale:1.1,backgroundColor:"rgba(206, 198, 247, 0.9)"},whileTap:{scale:.95},initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{duration:.5},className:"absolute left-4 top-1/2 -translate-y-1/2 w-12 h-12 rounded-full bg-primary/80 text-white hidden md:flex items-center justify-center hover:bg-primary transition-all duration-300 z-20 backdrop-blur-sm border border-white/30 select-none","aria-label":"Previous slide",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"w-6 h-6",children:e.jsx("polyline",{points:"15 18 9 12 15 6"})})}),e.jsx(c.button,{onClick:f,whileHover:{scale:1.1,backgroundColor:"rgba(206, 198, 247, 0.9)"},whileTap:{scale:.95},initial:{opacity:0,x:10},animate:{opacity:1,x:0},transition:{duration:.5},className:"absolute right-4 top-1/2 -translate-y-1/2 w-12 h-12 rounded-full bg-primary/80 text-white hidden md:flex items-center justify-center hover:bg-primary transition-all duration-300 z-20 backdrop-blur-sm border border-white/30 select-none","aria-label":"Next slide",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"w-6 h-6",children:e.jsx("polyline",{points:"9 18 15 12 9 6"})})}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-trans
12parent to-black/30 opacity-40 z-[5]"}),e.jsx(c.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{duration:1,ease:"easeOut",delay:.5},className:"absolute bottom-0 left-0 right-0 h-3 bg-gradient-to-r from-primary/60 via-primary to-primary/60 z-20 origin-left"}),e.jsx("div",{className:"absolute inset-0 z-[2] opacity-30 pointer-events-none",children:e.jsxs("div",{className:"particles-container",children:[e.jsx("div",{className:"particle"}),e.jsx("div",{className:"particle"}),e.jsx("div",{className:"particle"}),e.jsx("div",{className:"particle"}),e.jsx("div",{className:"particle"})]})}),e.jsx("style",{children:` 13 .particles-container { 14 position: absolute; 15 width: 100%; 16 height: 100%; 17 overflow: hidden; 18 } 19 20 .particle { 21 position: absolute; 22 background: rgba(255, 255, 255, 0.3); 23 border-radius: 50%; 24 pointer-events: none; 25 } 26 27 .particle:nth-child(1) { 28 width: 2px; 29 height: 2px; 30 top: 20%; 31 left: 20%; 32 animation: float 15s infinite linear; 33 } 34 35 .particle:nth-child(2) { 36 width: 4px; 37 height: 4px; 38 top: 65%; 39 left: 50%; 40 animation: float 25s infinite linear reverse; 41 } 42 43 .particle:nth-child(3) { 44 width: 3px; 45 height: 3px; 46 top: 40%; 47 left: 80%; 48 animation: float 20s infinite linear; 49 } 50 51 .particle:nth-child(4) { 52 width: 2px; 53 height: 2px; 54 top: 75%; 55 left: 15%; 56 animation: float 22s infinite linear reverse; 57 } 58 59 .particle:nth-child(5) { 60 width: 3px; 61 height: 3px; 62 top: 10%; 63 left: 90%; 64 animation: float 18s infinite linear; 65 } 66 67 @keyframes float { 68 0% { 69 transform: translateY(0) translateX(0); 70 } 71 25% { 72 transform: translateY(-30px) translateX(20px); 73 } 74 50% { 75 transform: translateY(-10px) translateX(40px); 76 } 77 75% { 78 transform: translateY(-40px) translateX(10px); 79 } 80 100% { 81 transform: translateY(0) translateX(0); 82 } 83 } 84 `})]})},D=[{name:"BBC News",logo:"/brands/bbc.webp",isImg:!0},{name:"Forbes",logo:"/brands/forbes.svg",isImg:!0},{name:"PBS",logo:null,isImg:!1},{name:"CNN",logo:"/brands/cnn.svg",isImg:!0},{name:"Business Insider",logo:null,isImg:!1},{name:"Fodor's Travel",logo:null,isImg:!1},{name:"National Geographic",logo:"/brands/ng.webp",isImg:!0}],oe=[...D,...D];function ne(){const[s,r]=a.useState(!1);return e.jsxs("div",{className:"bg-white border-y border-gray-100 py-4 overflow-hidden",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-0",children:[e.jsx("span",{className:"shrink-0 pl-6 md:pl-10 text-xs uppercase tracking-widest text-gray-500 font-['HaasGrotDisp'] pr-6 border-r border-gray-200",children:"As seen in"}),e.jsx("div",{className:"overflow-hidden flex-1",children:e.jsx("div",{className:"flex items-center animate-press-ticker",style:{width:"max-content",animationPlayState:s?"paused":"running"},children:oe.map((t,i)=>e.jsx("div",{className:"flex items-center justify-center mx-8 shrink-0 h-7",children:t.isImg&&t.logo?e.jsx("img",{src:t.logo,alt:t.name,className:"h-5 md:h-6 w-auto object-contain grayscale opacity-50 hover:opacity-80 hover:grayscale-0 transition-all duration-300"}):e.jsx("span",{className:"text-sm font-semibold text-gray-600 tracking-wide hover:text-gray-600 transition-colors whitespace-nowrap font-['HaasGrotDisp']",children:t.name})},i))})}),e.jsx("button",{onClick:()=>r(t=>!t),className:"shrink-0 mr-4 w-10 h-10 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center transition-colors focus-visible:outline-2 focus-visible:outline-primary","aria-label":s?"Play ticker":"Pause ticker",children:s?e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
84currentColor",className:"w-3 h-3 text-gray-600",children:e.jsx("polygon",{points:"6 3 20 12 6 21 6 3"})}):e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-3 h-3 text-gray-600",children:[e.jsx("rect",{x:"6",y:"4",width:"4",height:"16"}),e.jsx("rect",{x:"14",y:"4",width:"4",height:"16"})]})})]}),e.jsx("style",{children:` 85 @keyframes press-ticker { 86 from { transform: translateX(0); } 87 to { transform: translateX(-50%); } 88 } 89 .animate-press-ticker { 90 animation: press-ticker 25s linear infinite; 91 } 92 .animate-press-ticker:hover { 93 animation-play-state: paused; 94 } 95 `})]})}const _=36,le=({code:s,message:r,expiry:t,link:i})=>{const n=e.jsxs("div",{className:"max-w-7xl mx-auto flex items-center justify-center gap-2 text-xs md:text-sm font-medium",children:[e.jsx($,{className:"w-4 h-4 shrink-0","aria-hidden":"true"}),e.jsxs("p",{className:"text-center",children:[r," ",s&&e.jsx("span",{className:"inline-block bg-black text-white px-2 py-0.5 rounded font-bold tracking-wider text-xs mx-1",children:s}),t&&e.jsx("span",{className:"text-black/70 text-xs ml-1",children:t})]})]});return e.jsx(c.div,{role:"banner","aria-label":"Promotional announcement",initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.4},className:"fixed top-0 left-0 right-0 z-[60] bg-gradient-to-r from-primary/90 to-primary text-black px-4 flex items-center justify-center",style:{height:`${_}px`},children:i?e.jsx(x,{to:i,className:"w-full hover:opacity-80 transition-opacity",children:n}):n})},I=[{src:"/about/chefchaouen-door.jpg",alt:"DOTC travelers at the blue door in Chefchaouen, Morocco",objectPosition:"center 55%"},{src:"/about/japan-temple-group.jpg",alt:"DOTC group at a temple in Japan",objectPosition:"center 30%"},{src:"/about/white-party.jpg",alt:"DOTC white party celebration",objectPosition:"center 40%"},{src:"/about/desert-banner.jpg",alt:"DOTC travelers with banner in the Sahara desert",objectPosition:"center 35%"},{src:"/about/catamaran-crew.jpg",alt:"DOTC travelers on a catamaran",objectPosition:"center 30%"},{src:"/about/japan-kimono.jpg",alt:"DOTC travelers in kimonos at a Japanese pagoda",objectPosition:"center 30%"},{src:"/about/dressed-up-night.jpg",alt:"DOTC travelers dressed up for a night out",objectPosition:"center 30%"},{src:"/about/morocco-mosque.jpg",alt:"DOTC travelers at a mosque in Morocco",objectPosition:"center 25%"},{src:"/about/park-picnic.jpg",alt:"DOTC community picnic in the park",objectPosition:"center 35%"},{src:"/about/boat-vibes.jpg",alt:"DOTC travelers on a boat",objectPosition:"center 30%"},{src:"/about/night-out-girls.jpg",alt:"DOTC travelers on a night out",objectPosition:"center 30%"},{src:"/about/night-out-guys.jpg",alt:"DOTC travelers at an event",objectPosition:"center 25%"},{src:"/about/orange-robes.jpg",alt:"DOTC travelers in orange robes",objectPosition:"center 40%"}],ce=()=>{const[s,r]=a.useState(0);a.useEffect(()=>{const i=setInterval(()=>{r(n=>(n+1)%I.length)},4500);return()=>clearInterval(i)},[]);const t=()=>{const i=[];for(let n=2;n>=0;n--){const d=(s+n)%I.length;i.push({...I[d],stackPos:n})}return i};return e.jsx("section",{className:"bg-white py-8 md:py-10",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6 md:px-12 grid md:grid-cols-2 gap-8 md:gap-14 items-start",children:[e.jsxs(c.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,ease:"easeOut"},children:[e.jsxs("h2",{className:"font-['PPEditorialNew'] text-4xl md:text-5xl lg:text-6xl leading-tight mb-4 text-gray-900",children:["Travel Solo,",e.jsx("br",{}),e.jsx("span",{className:"relative inline",children:e.jsx("span",{className:"relative z-10",style:{background:"linear-gradient(180deg, transparent 45%, #cec6f7 45%)",paddingBottom:"2px"},children:e.jsx("em",{children:"Not Alone"})})})]}),e.jsx("p",{className:"font-['HaasGrotDisp'] text-gray-600 text-sm uppercase tracking-widest mb-3",children:"About Us"}),e.jsx("p",{className:"font-['HaasGrotDisp'] text-gray-700 text-lg leading-relaxed mb-6",children:"Dose of Travel Club is the #1 travel community for the South Asian diaspora. We bring together travelers from across the globe for curated group trips, cultural experiences, and connections that last a lifetime. Whether you're a first-time solo traveler or a seasoned explorer, you belong here."}),e.jsxs(x,{to:"/about",className:"inline-flex items-center gap-2 font-['HaasGrotDisp'] font-medium text-gray-900 border-b border-gray-900 pb-0.5 hover:text-primary hover:border-primary transition-colors duration-300 text-base group",children:["Our Story",e.jsx(w,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform duration-300"})]})]}),e.jsx(c.div,{initial:{opacity:0,scale:.97},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.8,ease:"easeOut",delay:.15},className:"relative flex justify-center items-center",style:{minHeight:"420px"},children:e.jsx("div",{className:"relative",style:{width:"300px",height:"400px"},children:e.jsx(L,{mode:"popLayout",children:t().map(({src:i,alt:n,objectPosition:d,stackPos:l})=>e.jsxs(c.div,{className:"absolute inset-0 bg-white shadow-xl",style:{padding:"12px",paddingBottom:"32px",zIndex:3-l,boxShadow:l===0?"0 8px 32px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.1)":"0 4px 16px rgba(0,0,0,0.08)"},initial:l===0?{rotate:0,scale:1.02,opacity:0}
95:!1,animate:{rotate:l===0?1:l===1?-2.5:4,scale:1-l*.03,y:l*6,opacity:l===2?.7:1},exit:{rotate:-15,x:-200,opacity:0,transition:{duration:.5,ease:"easeIn"}},transition:{duration:.6,ease:"easeOut"},children:[e.jsx("div",{className:"w-full h-full overflow-hidden",children:e.jsx("img",{src:i,alt:n,className:"w-full h-full object-cover",style:{objectPosition:d||"center center"},loading:"lazy"})}),l===0&&e.jsx("div",{className:"absolute bottom-2 left-0 right-0 text-center",children:e.jsx("span",{className:"text-[10px] text-gray-500 uppercase tracking-[0.2em] font-['HaasGrotDisp']",children:"Dose of Travel Club"})})]},i))})})})]})})},de=[{icon:re,title:"Pick a Trip",description:"Browse our curated group trips to destinations worldwide."},{icon:ae,title:"Book Your Spot",description:"Reserve your place with flexible payment options."},{icon:G,title:"Show Up & Travel",description:"We handle everything. You just enjoy the experience."}],me=()=>e.jsx("section",{className:"py-8 bg-primary",children:e.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[e.jsx(c.h2,{className:"text-2xl md:text-3xl font-bold text-center text-gray-900 mb-6",initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4},children:"How It Works"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:de.map((s,r)=>{const t=s.icon;return e.jsxs(c.div,{className:"text-center",initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:r*.1},children:[e.jsx("div",{className:"w-14 h-14 rounded-full bg-white/30 flex items-center justify-center mx-auto mb-4",children:e.jsx(t,{className:"w-6 h-6 text-gray-900"})}),e.jsxs("div",{className:"text-sm font-semibold text-gray-900 mb-1",children:["Step ",r+1]}),e.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:s.title}),e.jsx("p",{className:"text-gray-700 text-sm",children:s.description})]},r)})})]})});function ue(){const[s,r]=a.useState([]);return a.useEffect(()=>{U.getAllTrips().then(t=>{const i=t.filter(n=>n.status==="LIVE"&&n.id);r(i.slice(0,3))}).catch(()=>{})},[]),s.length===0?null:e.jsx("section",{className:"py-10 md:py-12 bg-white",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6 md:px-12",children:[e.jsxs("div",{className:"flex items-end justify-between mb-8",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-['HaasGrotDisp'] text-xs uppercase tracking-widest text-gray-500 mb-2",children:"Don't miss out"}),e.jsx("h2",{className:"font-['PPEditorialNew'] text-3xl md:text-4xl text-gray-900 leading-tight",children:"Upcoming Group Trips"})]}),e.jsxs(x,{to:"/trips",className:"hidden md:inline-flex items-center gap-2 text-sm font-medium text-gray-600 hover:text-gray-900 border-b border-gray-300 hover:border-gray-900 pb-0.5 transition-colors group",children:["See all trips",e.jsx(w,{className:"w-3.5 h-3.5 group-hover:translate-x-1 transition-transform"})]})]}),e.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:s.map((t,i)=>{const n=J(t),d=q(t),l=K(t),g=Q(t),b=Z(t),y=ee(t);return e.jsx(c.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:i*.1},children:e.jsxs(x,{to:`/trips/${n}`,state:{trip:t},className:"group block bg-white rounded-2xl overflow-hidden border border-gray-100 shadow-sm hover:shadow-md transition-shadow duration-300",children:[e.jsxs("div",{className:"relative h-52 overflow-hidden",children:[e.jsx("img",{src:d,alt:t.title,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105",loading:"lazy"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"}),!b&&y>0&&y<=6&&e.jsxs("div",{className:"absolute top-3 left-3 bg-primary text-black text-xs font-semibold px-2.5 py-1 rounded-full",children:[y," spots left"]}),b&&e.jsx("div",{className:"absolute top-3 left-3 bg-black/70 text-white text-xs font-semibold px-2.5 py-1 rounded-full",children:"Sold Out"}),e.jsxs("div",{className:"absolute bottom-3 left-3 flex items-center gap-1.5 text-white text-xs",children:[e.jsx(V,{className:"w-3 h-3"}),t.destination]})]}),e.jsxs("div",{className:"p-5",children:[e.jsx("h3",{className:"font-['PPEditorial
95New'] text-xl text-gray-900 mb-3 group-hover:text-primary transition-colors",children:t.title}),e.jsxs("div",{className:"space-y-1.5 mb-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-gray-500 text-xs",children:[e.jsx(te,{className:"w-3.5 h-3.5 shrink-0"}),g]}),t.duration>0&&e.jsxs("div",{className:"flex items-center gap-2 text-gray-500 text-xs",children:[e.jsx(se,{className:"w-3.5 h-3.5 shrink-0"}),t.duration," nights"]})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-xs text-gray-500",children:"From"}),e.jsx("div",{className:"text-base font-bold text-gray-900",children:l})]}),e.jsxs("div",{className:"flex items-center gap-1.5 text-sm font-medium text-gray-900 group-hover:text-primary transition-colors",children:["View trip",e.jsx(w,{className:"w-3.5 h-3.5 group-hover:translate-x-1 transition-transform"})]})]})]})]})},t.id)})}),e.jsx("div",{className:"mt-7 text-center md:hidden",children:e.jsxs(x,{to:"/trips",className:"inline-flex items-center gap-2 bg-primary text-black px-7 py-3 rounded-full font-semibold text-sm hover:bg-primary/90 transition-colors",children:["See all trips ",e.jsx(w,{className:"w-4 h-4"})]})}),e.jsx("div",{className:"mt-8 text-center hidden md:block",children:e.jsxs(x,{to:"/trips",className:"inline-flex items-center gap-2 bg-black text-white px-8 py-3.5 rounded-full font-semibold text-sm hover:bg-gray-800 transition-colors",children:["View all upcoming trips ",e.jsx(w,{className:"w-4 h-4"})]})})]})})}const he=a.lazy(()=>k(()=>import("./Testimonials-B6kUkP1J.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]))),pe=a.lazy(()=>k(()=>import("./CommunityShowcase-DC83_kwD.js"),__vite__mapDeps([8,1,2,9,4,5,6,7,10]))),xe=a.lazy(()=>k(()=>import("./Footer-CaP1aECn.js").then(s=>s.d),__vite__mapDeps([11,1,5,2,12,4,6,7]))),ge=a.lazy(()=>k(()=>import("./ScrollToTop-5uBWXD3i.js"),__vite__mapDeps([13,1,4,5,2,6,7]))),Se=()=>(a.useEffect(()=>{window.scrollTo({top:0,behavior:"smooth"})},[]),e.jsxs("div",{className:"min-h-screen bg-white",children:[e.jsxs(X,{children:[e.jsx("title",{children:"Dose of Travel Club | Curated Group Trips for South Asian Travelers"}),e.jsx("meta",{name:"description",content:"Dose of Travel Club is the #1 travel community for South Asians. Join 270,000+ members on curated group trips to Bali, Morocco, Egypt & beyond. Book your next adventure. Travel solo, not alone."}),e.jsx("link",{rel:"canonical",href:"https://doseoftravelclub.com"}),e.jsx("meta",{property:"og:title",content:"Dose of Travel Club | Curated Group Trips for South Asian Travelers"}),e.jsx("meta",{property:"og:description",content:"The #1 travel community for South Asians. Join 270,000+ members on curated group trips to Bali, Morocco, Egypt & beyond. Travel solo, not alone."}),e.jsx("meta",{property:"og:url",content:"https://doseoftravelclub.com"}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:image",content:"https://doseoftravelclub.com/og-image.webp"}),e.jsx("meta",{property:"og:site_name",content:"Dose of Travel Club"})]}),e.jsx(le,{code:"",message:"New here? Get $50 off your first DOTC trip. Subscribe below for your code!",link:"/trips"}),e.jsx(W,{topOffset:_}),e.jsx("div",{className:"relative",children:e.jsx(ie,{})}),e.jsx(ne,{}),e.jsx(ce,{}),e.jsx(me,{}),e.jsx(ue,{}),e.jsxs(a.Suspense,{fallback:e.jsx(Y,{}),children:[e.jsx(P,{children:e.jsx(he,{autoPlay:!0,showFeatured:!1})}),e.jsx(P,{children:e.jsx(pe,{})}),e.jsx(P,{children:e.jsx(xe,{})}),e.jsx(ge,{})]})]})),P=({children:s})=>{const[r,t]=a.useState(!1),i=a.useRef(null);return a.useEffect(()=>{const n=new IntersectionObserver(([d])=>{d.isIntersecting&&(t(!0),n.disconnect())},{rootMargin:"200px"});return i.current&&n.observe(i.current),()=>{i.current&&n.disconnect()}},[]),e.jsx("div",{ref:i,children:r?s:e.jsx("div",{style:{height:"200px"}})})};export{Se as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.