PageSourceSearch

https://dune-to-down-town.vercel.app/_next/static/chunks/pages/index-d3cf24229617071e.js

js dune-to-down-town.vercel.app collected 2026-10-03 06:49:02 UTC 57,502 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{75557:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(95137)}])},8045:function(e,s,t){"use strict";var l=t(85893),a=t(41664),r=t.n(a),i=t(82701);s.Z=e=>{let{blogPosts:s}=e;return console.warn("Blog Posts: from backend",s),(0,l.jsx)("section",{className:"py-16 bg-white",children:(0,l.jsxs)("div",{className:"container mx-auto px-4 md:px-8 lg:px-16",children:[(0,l.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-start md:items-center mb-12 gap-4",children:[(0,l.jsx)("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-[#0a2a2a]",children:"See the Latest Our Blog!"}),(0,l.jsxs)(r(),{href:"/blogs",className:"bg-[#0a2a2a] text-white px-5 py-3 rounded-lg flex items-center whitespace-nowrap",children:["View More ",(0,l.jsx)(i.Z,{className:"ml-2",size:18})]})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-14 mb-12",children:s.map(e=>(0,l.jsx)(r(),{href:"/blogs",className:"block",children:(0,l.jsx)("div",{className:"rounded-xl overflow-hidden h-64 md:h-80 relative",children:(0,l.jsx)("img",{src:e.featuredImage||"/placeholder.svg",alt:e.title,className:"w-full h-full object-cover transition-transform duration-300 hover:scale-105"})})}))}),(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:s.map(e=>(0,l.jsxs)("div",{className:"flex gap-4",children:[(0,l.jsx)("div",{className:"w-32 h-32 md:w-40 md:h-40 flex-shrink-0 rounded-lg overflow-hidden",children:(0,l.jsx)("img",{src:e.images[0]||e.featuredImage||"/placeholder.svg",alt:e.title,className:"w-full h-full object-cover"})}),(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsx)("h3",{className:"text-xl font-bold mb-2 text-[#0a2a2a]",children:e.title}),(0,l.jsx)("p",{className:"text-gray-700 mb-3 line-clamp-3",children:e.excerpt}),(0,l.jsxs)(r(),{href:"/blogs/".concat(e.slug),className:"text-[#0a2a2a] font-medium flex items-center",children:["Read More",(0,l.jsx)("svg",{width:"32",height:"16",viewBox:"0 0 32 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"ml-2",children:(0,l.jsx)("path",{d:"M1 8H31M31 8L24 1M31 8L24 15",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]},e._id))})]})})}},15:function(e,s,t){"use strict";t.d(s,{d:function(){return o},z:function(){return d}});var l=t(85893),a=t(67294),r=t(88426),i=t(12003),n=t(81193);let o=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=a.forwardRef((e,s)=>{let{className:t,variant:a,size:i,asChild:d=!1,...c}=e,m=d?r.g7:"button";return(0,l.jsx)(m,{className:(0,n.cn)(o({variant:a,size:i,className:t})),ref:s,...c})});d.displayName="Button"},87742:function(e,s,t){"use strict";var l=t(87066),a=t(33299);let r=l.Z.create({baseURL:"".concat("https://dunetodowntown-backend.onrender.com","/api")});r.interceptors.request.use(e=>{{let s=localStorage.getItem("token");s&&(e.headers.Authorization="Bearer ".concat(s))}return e},e=>Promise.reject(e)),r.interceptors.response.use(e=>e,async e=>{var s,t,l;let r=e.config;if((null===(s=e.response)||void 0===s?void 0:s.status)===401&&!r._retry){r._retry=!0,localStorage.removeItem("authToken");let s=window.location.pathname;return"/auth/signin"!==s&&localStorage.setItem("redirectAfterLogin",s),await (0,a.signOut)({redirect:!1}),window.location.href="/auth/signin?callbackUrl=".concat(encodeURIComponent(s)),Promise.reject(e)}return null===(t=e.response)||void 0===t||t.status,null===(l=e.response)||void 0===l||l.status,Promise.reject(e)}),s.Z=r},95137:function(e,s,t){"use strict";t.r(s),t.d(s,{__N_SSG:function(){return em},default:function(){return ex}});
1var l=t(85893),a=t(12332),r=t.n(a),i=t(9008),n=t.n(i),o=t(25675),d=t.n(o),c=t(98814),m=t(64998),x=t(54976),h=t(61803),u=t(49525),f=t(45539),p=t(97013),g=t(18910),v=t(41664),b=t.n(v),j=t(2261);t(67818),t(71991),t(66214),t(21752);var w=t(99304),N=t(67294),y=t(82100),k=t(87764);function S(e){let{accommodations:s}=e,[t,a]=(0,N.useState)(0),[r,i]=(0,N.useState)(3);(0,N.useRef)(),(0,N.useEffect)(()=>{let e=()=>{let e=n();i(e),t>s.length-e&&a(Math.max(0,s.length-e))};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[s.length,t]);let n=()=>window.innerWidth<640?1:window.innerWidth<1024?2:3,o=e=>e&&0!==e.length?e.reduce((e,s)=>{let t=s.discounts&&s.discounts.length>0,l=t?Math.min(...s.discounts.map(e=>e.discountPrice)):s.pricePerNight;return Math.min(e,l)},Number.POSITIVE_INFINITY):0;return(0,l.jsx)("section",{className:"py-4 sm:py-8 px-4 sm:px-6",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,l.jsxs)("div",{className:"flex justify-between items-center mb-4 sm:mb-6",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"inline-flex items-center px-3 py-1 rounded-full border border-amber-600 text-amber-600 text-xs sm:text-sm mb-2 sm:mb-3",children:[(0,l.jsx)(k.Z,{className:"h-3 w-3 sm:h-4 sm:w-4 mr-1"}),"Explore"]}),(0,l.jsxs)("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold",children:["Explore the Ultimate Stay",(0,l.jsx)("br",{className:"hidden sm:block"}),"in Dubai"]})]}),(0,l.jsxs)("div",{className:"flex gap-2 sm:gap-3",children:[(0,l.jsx)("button",{onClick:()=>{t>0?a(t-1):a(Math.max(0,s.length-r))},className:"w-10 h-10 sm:w-12 sm:h-12 rounded-full bg-white shadow-lg flex items-center justify-center hover:bg-gray-50 transition-all","aria-label":"Previous slide",children:(0,l.jsx)(c.Z,{className:"w-5 h-5 sm:w-6 sm:h-6"})}),(0,l.jsx)("button",{onClick:()=>{t<s.length-r?a(t+1):a(0)},className:"w-10 h-10 sm:w-12 sm:h-12 rounded-full bg-white shadow-lg flex items-center justify-center hover:bg-gray-50 transition-all","aria-label":"Next slide",children:(0,l.jsx)(m.Z,{className:"w-5 h-5 sm:w-6 sm:h-6"})})]})]}),(0,l.jsx)("div",{className:"overflow-hidden",children:(0,l.jsx)(y.E.div,{className:"flex",animate:{x:"-".concat(t*(100/r),"%")},transition:{type:"spring",stiffness:300,damping:30},children:s.map((e,s)=>{var t,a,i,n;let d=o(e.rooms);return(0,l.jsx)(y.E.div,{className:"flex-shrink-0 px-3 sm:px-4",style:{width:"".concat(100/r*.9,"%")},whileHover:{scale:1.02},transition:{duration:.3},children:(0,l.jsx)("div",{className:"bg-white rounded-xl overflow-hidden shadow-sm hover:shadow-md transition duration-300 h-full",children:(0,l.jsx)(b(),{href:"/staycations/".concat(e.slug),passHref:!0,children:(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("div",{className:"relative h-48 sm:h-56 md:h-64 w-full overflow-hidden",children:[(0,l.jsx)("img",{src:e.mainBannerImage||(null===(t=e.images)||void 0===t?void 0:t[0])||"/placeholder.svg",alt:e.title,className:"absolute w-full h-full object-cover"}),(null===(i=e.rooms)||void 0===i?void 0:null===(a=i[0])||void 0===a?void 0:a.breakfastIncluded)&&(0,l.jsx)("div",{className:"absolute top-2 left-2 bg-amber-400 text-black font-semibold px-2 py-0.5 text-xs rounded-md",children:"BREAKFAST"}),(0,l.jsx)("button",{className:"absolute top-2 right-2 w-7 h-7 rounded-full bg-white/80 flex items-center justify-center hover:bg-white transition-colors",children:(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 text-gray-500 hover:text-red-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"})})})]}),(0,l.jsxs)("div",{className:"p-3 sm:p-4",children:[(0,l.jsx)("h3",{className:"font-semibold text-base sm:text-lg mb-0.5 line-clamp-1",children:e.title}),(0,l.jsxs)("div",{className:"flex items-center text-gray-600 text-xs sm:text-sm mb-2 line-clamp-1",children:[(0,l.jsx)(x.Z,{className:"w-3.5 h-3.5 mr-1 flex-shrink-0"}),(null===(n=e.location)||void 0===n?void 0:n.address)||"".concat(e.city,", ").concat(e.country)]}),(0,l.jsxs)("div",{className:"font-medium",children:[(0,l.jsx)("span",{className:"text-xs sm:text-sm",children:"Starting from "}),(0,l.jsxs)("span",{className:"text-amber-600 font-bold",children:["AED ",d.toFixed(2)]})]})]})]})})})},e._id||s)})})})]})})}var E=function(e){let{accommodations:s}=e;return(0,l.jsx)("div",{className:"bg-[#faf6ed] p-4 sm:p-6",children:(0,l.jsx)(S,{accommodations:s||[]})})};function C(e){let{testimonials:s}=e,t=(0,N.useMemo)(()=>[...s].sort((e,s)=>(e.priority||999)-(s.priority||999)),[s]),[a,r]=(0,N.useState)(0),[i,n]=(0,N.useState)([]),[o,x]=(0,N.useState)(3);(0,N.useEffect)(()=>{let e=()=>{window.innerWidth<640?x(1):window.innerWidth<1024?x(2):x(3)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,N.useEffect)(()=>{n(t.slice(a,a+o))},[a,o,t]);let h=t.length,u=e=>{r(e)};return(0,l.jsxs)("section",{className:"py-16 px-4 max-w-7xl mx-auto",children:[(0,l.jsx)("h2",{className:"text-4xl font-bold text-center mb-12",children:"What Our Adventurers Say"}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("button",{onClick:()=>{r(e=>0===e?Math.max(0,t.length-1):Math.max(0,e-1))},className:"absolute left-0 top-1/2 -translate-y-1/2 -translate-x-4 md:-translate-x-6 z-10 bg-white rounded-full p-2 shadow-md","aria-label":"Previous testimonial",children:(0,l.jsx)(c.Z,{className:"h-6 w-6"})}),(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:i.map(e=>(0,l.jsxs)("div",{className:"bg-[#d9934e] rounded-lg p-8 flex flex-col items-center text-center",children:[(0,l.jsx)("div",{className:"w-24 h-24 rounded-full border-4 border-white overflow-hidden mb-6",children:(0,l.jsx)(d(),{src:e.imageUrl||"/placeholder.svg",alt:e.name,width:96,height:96,className:"w-full h-full object-cover"})}),(0,l.jsxs)("p",{className:"text-lg mb-6",children:['"',e.content,'"']}),(0,l.jsx)("div",{className:"mt-auto",children:(0,l.jsxs)("p",{className:"font-bold",children:["— ",e.name,e.role?", ".concat(e.role):""]})})]},e._id))}),(0,l.jsx)("button",{onClick:()=>{r(e=>e+1>=t.length?0:e+1)},className:"absolute right-0 top-1/2 -translate-y-1/2 translate-x-4 md:translate-x-6 z-10 bg-white rounded-full p-2 shadow-md","aria-label":"Next testimonial",children:(0,l.jsx)(m.Z,{className:"h-6 w-6"})})]}),(0,l.jsx)("div",{className:"flex justify-center mt-8 gap-2",children:Array.from({length:h}).map((e,s)=>(0,l.jsx)("button",{onClick:()=>u(s),className:"h-2 rounded-full transition-all ".concat(a===s?"w-8 bg-[#d9934e]":"w-2 bg-[#d9934e]/40"),"aria-label":"Go to testimonial ".concat(s+1)},s))})]})}function P(e){let{faqs:s}=e,[t,a]=(0,N.useState)(null),r=e=>{a(t===e?null:e)};return(0,l.jsx)("section",{className:"py-16 px-4 md:px-8 bg-white",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,l.jsx)("h2",{className:"text-4xl font-bold text-center mb-16",children:"Frequently Asked Questions"}),(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row gap-8 items-center",children:[(0,l.jsxs)("div",{className:"w-full lg:w-3/5",children:[s.map((e,s)=>(0,l.jsxs)("div",{className:"mb-6 border border-gray-200 rounded-lg shadow-sm overflow-hidden",children:[(0,l.jsxs)("button",{onClick:()=>r(s),className:"flex justify-between items-center w-full p-5 text-left bg-white hover:bg-gray-50 transition-colors",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("span",{className:"text-2xl mr-4",children:t===s?"−":"+"}),(0,l.jsx)("span",{className:"font-medium text-lg",children:e.question})]}),(0,l.jsx)("div",{className:"bg-black rounded-full p-1",children:(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-white",f
1ill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:t===s?"M19 9l-7 7-7-7":"M12 4v16m8-8H4"})})})]}),(0,l.jsx)("div",{className:"transition-all duration-300 ease-in-out overflow-hidden ".concat(t===s?"max-h-96 opacity-100":"max-h-0 opacity-0"),children:(0,l.jsx)("div",{className:"p-5 pt-0 bg-white",children:(0,l.jsx)("p",{className:"text-gray-600",children:e.answer})})})]},e._id||s)),(0,l.jsx)("div",{className:"mt-8 text-center",children:(0,l.jsx)(b(),{href:"/faq",children:(0,l.jsxs)("button",{className:"inline-flex items-center justify-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-white bg-black shadow-sm hover:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black transition-colors",children:["View All FAQs",(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 ml-2",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"})})]})})})]}),(0,l.jsxs)("div",{className:"w-full lg:w-2/5 relative",children:[(0,l.jsx)("div",{className:"absolute -top-20 right-0",children:(0,l.jsx)(d(),{src:"/images/Sun.png",alt:"Sun",width:100,height:100,className:"animate-pulse"})}),(0,l.jsxs)("div",{className:"relative h-[400px] w-full",children:[(0,l.jsx)("div",{className:"absolute inset-0",children:(0,l.jsx)(d(),{src:"/images/Date Palm.png",alt:"Palm Trees",fill:!0,className:"object-contain"})}),(0,l.jsx)("div",{className:"absolute bottom-0 left-1/4 transform -translate-x-1/2",children:(0,l.jsx)(d(),{src:"/images/Camel.png",alt:"Camel",width:180,height:180,className:"object-contain"})}),(0,l.jsx)("div",{className:"absolute bottom-0 right-0",children:(0,l.jsx)(d(),{src:"/images/Tent.png",alt:"Safari Jeep",width:150,height:100,className:"object-contain"})}),(0,l.jsx)("div",{className:"absolute bottom-0 left-0 right-0 h-[80px]",children:(0,l.jsx)("div",{className:"w-full h-full bg-amber-100/70 rounded-[50%] transform translate-y-1/2"})})]})]})]})]})})}var z=t(68641),D=t(8045),A=t(62384),F=t(82701);function M(e){let{categories:s,activitiesPerCategory:t}=e,[a,r]=(0,N.useState)(0),[i,n]=(0,N.useState)(4);(0,N.useRef)(),(0,N.useEffect)(()=>{let e=()=>{let e=o();n(e),a>s.length-e&&r(Math.max(0,s.length-e))};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[s.length,a]);let o=()=>window.innerWidth<640?1:window.innerWidth<768?2:window.innerWidth<1024?3:4;return(0,l.jsx)("section",{className:"py-4 sm:py-8 px-4 sm:px-6",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,l.jsxs)("div",{className:"flex justify-between items-center mb-4 sm:mb-6",children:[(0,l.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-black",children:"Categories"}),(0,l.jsxs)("div",{className:"flex gap-2 sm:gap-3",children:[(0,l.jsx)("button",{onClick:()=>{a>0?r(a-1):r(Math.max(0,s.length-i))},className:"w-10 h-10 sm:w-12 sm:h-12 rounded-full bg-white shadow-lg flex items-center justify-center hover:bg-gray-50 transition-all","aria-label":"Previous slide",children:(0,l.jsx)(c.Z,{className:"w-5 h-5 sm:w-6 sm:h-6"})}),(0,l.jsx)("button",{onClick:()=>{a<s.length-i?r(a+1):r(0)},className:"w-10 h-10 sm:w-12 sm:h-12 rounded-full bg-white shadow-lg flex items-center justify-center hover:bg-gray-50 transition-all","aria-label":"Next slide",children:(0,l.jsx)(m.Z,{className:"w-5 h-5 sm:w-6 sm:h-6"})})]})]}),(0,l.jsx)("div",{className:"overflow-hidden",children:(0,l.jsx)(y.E.div,{className:"flex",animate:{x:"-".concat(a*(100/i),"%")},transition:{type:"spring",stiffness:300,damping:30},children:s.map((e,s)=>{var a;let r=(null==t?void 0:null===(a=t.find(s=>String(s._id)===String(e._id)))||void 0===a?void 0:a.count)||0;return(0,l.jsx)(y.E.div,{className:"flex-shrink-0 px-2",style:{width:"".concat(100/i,"%")},whileHover:{scale:1.02},transition:{duration:.3},children:(0,l.jsxs)("div",{className:"bg-white rounded-[20px] overflow-hidden shadow-sm hover:shadow-md transition-shadow duration-300 h-full",children:[(0,l.jsx)(b(),{href:"/category/".concat(null==e?void 0:e.slug),passHref:!0,children:(0,l.jsx)("div",{className:"p-4 pb-0",children:(0,l.jsx)("div",{className:"relative h-[160px] w-full overflow-hidden rounded-[16px]",children:(0,l.jsx)("img",{src:e.imageUrl||"/placeholder.svg",alt:e.name,className:"w-full h-full object-cover"})})})}),(0,l.jsxs)("div",{className:"px-4 py-4 flex justify-between items-center",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h3",{className:"text-[16px] font-medium text-gray-900 leading-tight",children:e.name}),(0,l.jsxs)("p",{className:"text-[13px] text-gray-500 mt-1",children:[r," ",1===r?"Activity":"Activities"]})]}),(0,l.jsx)(F.Z,{className:"w-4 h-4 text-gray-400"})]})]})},e._id||s)})})})]})})}var Z=function(e){let{categories:s,activitiesPerCategory:t}=e;return(0,l.jsx)("div",{className:"bg-[#faf6ed] p-4 sm:p-6",children:(0,l.jsx)(M,{categories:s||[],activitiesPerCategory:t})})},_=t(53219);function L(e){let{popularDestinations:s}=e,[t,a]=(0,N.useState)(0),[r,i]=(0,N.useState)(4),n=(0,N.useRef)(null);return(0,N.useEffect)(()=>{let e=()=>{window.innerWidth<640?i(1):window.innerWidth<768?i(2):window.innerWidth<1024?i(3):i(4)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-4 py-8",children:[(0,l.jsx)("div",{className:"mb-2",children:(0,l.jsxs)("span",{className:"inline-flex items-center px-3 py-1 text-sm font-medium rounded-full border border-gray-300",children:[(0,l.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"mr-1",children:(0,l.jsx)("path",{d:"M12 2L15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2z"})}),"Popular"]})}),(0,l.jsxs)("div",{className:"flex justify-between items-center mb-8",children:[(0,l.jsx)("h2",{className:"text-4xl font-bold text-black",children:"Popular Destinations"}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)("button",{onClick:()=>{t>0?a(t-1):a(s.length-r)},className:"w-12 h-12 rounded-full border border-gray-300 flex items-center justify-center hover:bg-gray-100 transition-all","aria-label":"Previous slide",children:(0,l.jsx)(_.Z,{size:20})}),(0,l.jsx)("button",{onClick:()=>{t<s.length-r?a(t+1):a(0)},className:"w-12 h-12 rounded-full border border-gray-300 flex items-center justify-center hover:bg-gray-100 transition-all","aria-label":"Next slide",children:(0,l.jsx)(F.Z,{size:20})})]})]}),(0,l.jsx)("div",{className:"relative overflow-hidden",children:(0,l.jsx)("div",{ref:n,className:"flex transition-transform duration-500 ease-out",style:{transform:"translateX(-".concat(t*(100/r),"%)")},children:s.map((e,s)=>(0,l.jsx)("div",{className:"flex-shrink-0 px-2",style:{width:"".concat(100/r,"%")},children:(0,l.jsx)(b(),{href:"/activities/".concat(e.slug),children:(0,l.jsx)("div",{className:"relative overflow-hidden rounded-2xl group cursor-pointer",children:(0,l.jsxs)("div",{className:"aspect-[4/3] relative",children:[(0,l.jsx)("div",{className:"w-full h-full relative",children:(0,l.jsx)(d(),{src:e.imageUrl||"/placeholder.svg",alt:e.alt||e.title,layout:"fill",objectFit:"cover",className:"transition-transform duration-500 group-hover:scale-105"})}),(0,l.jsx)("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-r from-[#896c59] to-[#c9a58a] backdrop-blur-sm p-4",children:(0,l.jsx)("h3",{className:"text-xl font-medium text-white",children:e.title})})]})})})},s))})})]})}var B=t(45077),I=t(32891),U=t(57420),R=t(9560);function W(e){let{activities:s,accommodations:t,popularHolidays:a}=e,r=[{id:"desert-safari",label:"Desert Safari"},{id:"staycation",label:"Staycation"},{id:"holiday",label:"Holiday"}],[i,n]=(0,N.useState)(r[0].id);return(0,l.jsx)("section",{className:"py-8 sm:py-12 px-4 md:px-8 bg-[#FFFAEB]",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,l.jsx)("h2",{className:"text-2xl sm:text-3xl font-bold text-gray-900 mb-4 sm:mb-6",children:"Exclusive Experiences"}),(0,l.jsx)("div",{className:"overflow-x-auto pb-2 -mx-4 px-4 sm:mx-0 sm:px-0 mb-4 sm:mb-6",children:(0,l.jsx)("div",{className:"flex gap-2 min-w-max",children:r.map(e=>(0,l.jsx)("button",{onClick:()=>n(e.id),className:"px-4 sm:px-6 py-2 sm:py-3 rounded-lg whitespace-nowrap text-xs sm:text-sm font-medium transition-colors ".concat(i===e.id?"bg-amber-500 text-white":"bg-white text-gray-900"),"aria-selected":i===e.id,role:"tab",children:e.label},e.id))})}),(0,l.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-
15 sm:gap-6",children:["desert-safari"===i&&s&&s.length>0?s.slice(0,7).map(e=>{var s,t,a,r,i,n;return(0,l.jsx)(T,{experience:{id:e._id,title:e.title,price:(null===(a=e.packages)||void 0===a?void 0:null===(t=a[0])||void 0===t?void 0:null===(s=t.pricing)||void 0===s?void 0:s.basePrice)||"N/A",imageUrl:e.imageUrl||"/placeholder.svg",duration:"".concat(Math.floor((e.duration||60)/60)," hours"),groupSize:(null===(n=e.packages)||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:null===(r=i.pricing)||void 0===r?void 0:r.maxParticipants)?"Up to ".concat(e.packages[0].pricing.maxParticipants," guests"):"N/A",badge:e.isPopular?"Top Rated":"Best Sale",slug:e.slug}},e._id)}):"staycation"===i&&t&&t.length>0?t.slice(0,7).map(e=>{var s;return(0,l.jsx)(H,{accommodation:e,lowestPrice:(s=e.rooms)&&0!==s.length?s.reduce((e,s)=>{let t=s.discounts&&s.discounts.length>0,l=t?Math.min(...s.discounts.map(e=>e.discountPrice)):s.pricePerNight;return Math.min(e,l)},Number.POSITIVE_INFINITY):0},e._id)}):"holiday"===i&&a&&a.length>0?a.slice(0,7).map(e=>(0,l.jsx)(q,{holiday:e},e._id)):(0,l.jsxs)("p",{className:"text-center text-gray-500 col-span-full py-8",children:["No ","staycation"===i?"accommodations":"holiday"===i?"holidays":"experiences"," ","available."]}),("desert-safari"===i&&s&&s.length>0||"staycation"===i&&t&&t.length>0||"holiday"===i&&a&&a.length>0)&&(0,l.jsx)("div",{className:"flex items-center justify-center col-span-1 sm:col-span-2 md:col-span-3 lg:col-span-4 mt-6",children:(0,l.jsx)(b(),{href:"staycation"===i?"/staycations":"holiday"===i?"/holidays":"/activities",passHref:!0,children:(0,l.jsxs)("button",{className:"bg-black text-white rounded-full px-8 py-3 flex items-center gap-2 hover:bg-black/90 transition-colors",children:[(0,l.jsx)("span",{className:"text-base font-medium",children:"View All"}),(0,l.jsx)(F.Z,{className:"w-4 h-4"})]})})})]})]})})}function T(e){let{experience:s}=e;return(0,l.jsx)(b(),{href:"/activities/".concat(s.slug),passHref:!0,className:"block group",children:(0,l.jsxs)("div",{className:"bg-white rounded-2xl sm:rounded-[32px] overflow-hidden shadow-sm group-hover:shadow-md transition-all relative h-full",children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("img",{src:s.imageUrl||"/placeholder.svg",alt:s.title,className:"w-full aspect-[4/3] object-cover rounded-t-2xl sm:rounded-t-[32px]"}),(0,l.jsx)("div",{className:"absolute top-2 sm:top-3 left-2 sm:left-3 bg-green-500 text-white text-xs font-medium px-2 sm:px-3 py-0.5 sm:py-1 rounded-full",children:s.badge})]}),(0,l.jsxs)("div",{className:"p-3 sm:p-4 pt-4 sm:pt-5 bg-white rounded-2xl sm:rounded-[32px] mt-[-16px] sm:mt-[-20px] relative z-10",children:[(0,l.jsx)("h3",{className:"font-bold text-base sm:text-lg text-gray-900 mb-2 sm:mb-3 line-clamp-2 max-w-[300px] min-h-[48px]",children:s.title}),(0,l.jsxs)("div",{className:"flex flex-wrap gap-2 sm:gap-4 mb-3 sm:mb-4",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"w-4 h-4 sm:w-5 sm:h-5 rounded-full bg-gray-200 flex items-center justify-center mr-1 sm:mr-1.5",children:(0,l.jsx)(B.Z,{className:"w-3 h-3 text-gray-500"})}),(0,l.jsx)("span",{className:"text-xs text-gray-500",children:s.duration})]}),(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"w-4 h-4 sm:w-5 sm:h-5 rounded-full bg-gray-200 flex items-center justify-center mr-1 sm:mr-1.5",children:(0,l.jsx)(u.Z,{className:"w-3 h-3 text-gray-500"})}),(0,l.jsx)("span",{className:"text-xs text-gray-500",children:s.groupSize})]})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("span",{className:"text-lg sm:text-xl font-bold",children:["AED",s.price]}),(0,l.jsx)("span",{className:"text-xs text-gray-500 ml-1",children:"/ person"})]}),(0,l.jsx)("div",{className:"px-2 sm:px-4 py-1 sm:py-1.5 rounded-full bg-[#e6f0f9] text-xs sm:text-sm font-medium text-[#2d6da3] hover:bg-[#d6e6f6] transition-colors",children:"Book Now"})]})]})]})})}function H(e){var s,t,a,r;let{accommodation:i,lowestPrice:n}=e,o=i.rating||(4+Math.random()).toFixed(1),d=i.reviews||Math.floor(90*Math.random())+10;return(0,l.jsx)(b(),{href:"/staycations/".concat(i.slug),passHref:!0,className:"block group",children:(0,l.jsxs)("div",{className:"bg-white rounded-2xl sm:rounded-[32px] overflow-hidden shadow-sm group-hover:shadow-md transition-all relative h-full",children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("div",{className:"h-52 sm:h-60 md:h-64 w-full overflow-hidden",children:[(0,l.jsx)("img",{src:i.mainBannerImage||(null===(s=i.images)||void 0===s?void 0:s[0])||"/placeholder.svg",alt:i.title,className:"w-full h-full object-cover transition-transform duration-700 ease-in-out group-hover:scale-110"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 to-transparent opacity-60"})]}),(0,l.jsx)("div",{className:"absolute top-0 left-0 p-3 flex flex-col gap-2",children:(null===(a=i.rooms)||void 0===a?void 0:null===(t=a[0])||void 0===t?void 0:t.breakfastIncluded)&&(0,l.jsxs)("div",{className:"flex items-center gap-1 bg-amber-400 text-black font-medium px-2 py-1 text-xs rounded-md",children:[(0,l.jsx)(I.Z,{className:"h-3 w-3"}),(0,l.jsx)("span",{children:"BREAKFAST"})]})}),(0,l.jsx)("button",{className:"absolute top-3 right-3 w-8 h-8 rounded-full bg-white/90 flex items-center justify-center hover:bg-white transition-colors group/heart","aria-label":"Add to wishlist",children:(0,l.jsx)(U.Z,{className:"h-4 w-4 text-gray-500 group-hover/heart:text-red-500 transition-colors"})})]}),(0,l.jsxs)("div",{className:"p-4 sm:p-5 bg-white rounded-2xl sm:rounded-[32px] mt-[-20px] sm:mt-[-24px] relative z-10",children:[(0,l.jsxs)("div",{className:"mb-3",children:[(0,l.jsx)("h3",{className:"font-bold text-base sm:text-lg text-gray-900 mb-1 line-clamp-2 min-h-[48px]",children:i.title}),(0,l.jsxs)("div",{className:"flex items-center text-gray-600 text-xs sm:text-sm line-clamp-1",children:[(0,l.jsx)(x.Z,{className:"w-3.5 h-3.5 mr-1 flex-shrink-0 text-amber-500"}),(0,l.jsx)("span",{className:"text-gray-500",children:(null===(r=i.location)||void 0===r?void 0:r.address)||"".concat(i.city||"Dubai",", ").concat(i.country||"UAE")})]})]}),(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-3 mb-3",children:[(0,l.jsx)("div",{className:"flex items-center",children:(0,l.jsxs)("div",{className:"flex items-center bg-amber-50 px-2 py-1 rounded-md",children:[(0,l.jsx)(R.Z,{className:"h-3.5 w-3.5 text-amber-500 fill-amber-500 mr-1"}),(0,l.jsx)("span",{className:"text-xs font-medium",children:o}),(0,l.jsxs)("span",{className:"text-xs text-gray-500 ml-1",children:["(",d,")"]})]})}),(0,l.jsxs)("div",{className:"flex flex-wrap gap-1",children:[i.hasPool&&(0,l.jsx)("span",{className:"text-xs bg-blue-50 text-blue-600 px-2 py-0.5 rounded",children:"Pool"}),i.hasGym&&(0,l.jsx)("span",{className:"text-xs bg-green-50 text-green-600 px-2 py-0.5 rounded",children:"Gym"}
1),i.hasSpa&&(0,l.jsx)("span",{className:"text-xs bg-purple-50 text-purple-600 px-2 py-0.5 rounded",children:"Spa"})]})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("div",{children:(0,l.jsxs)("div",{className:"flex items-baseline",children:[(0,l.jsxs)("span",{className:"text-lg sm:text-xl font-bold text-amber-600",children:["AED ",n.toFixed(0)]}),(0,l.jsx)("span",{className:"text-xs text-gray-500 ml-1",children:"/ night"})]})}),(0,l.jsx)("div",{className:"px-3 sm:px-4 py-1.5 sm:py-2 rounded-full bg-[#e6f0f9] text-xs sm:text-sm font-medium text-[#2d6da3] hover:bg-[#d6e6f6] transition-colors",children:"Book Now"})]})]})]})})}function q(e){var s,t,a,r;let{holiday:i}=e,n=(null===(t=i.accommodations)||void 0===t?void 0:null===(s=t[0])||void 0===s?void 0:s.pricePerPerson)||0,o=(null===(r=i.accommodations)||void 0===r?void 0:null===(a=r[0])||void 0===a?void 0:a.discountedPrice)||n;return(0,l.jsxs)(b(),{href:"/holidays/".concat(i.slug),passHref:!0,className:"group bg-white rounded-2xl sm:rounded-[32px] overflow-hidden shadow-sm hover:shadow-md transition-all duration-500 transform hover:-translate-y-1 flex flex-col h-full",children:[(0,l.jsx)("div",{className:"relative",children:(0,l.jsxs)("div",{className:"aspect-[4/3] relative",children:[(0,l.jsx)("img",{src:i.mainBanner||"/placeholder.svg",alt:i.title||"Holiday Package",className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-700"}),i.isPopular&&(0,l.jsx)("div",{className:"absolute top-2 left-2 bg-green-500 text-white text-xs font-medium px-2 py-0.5 rounded-md",children:"POPULAR"}),(0,l.jsx)("button",{className:"absolute top-2 right-2 w-7 h-7 rounded-full bg-white/80 flex items-center justify-center hover:bg-white transition-colors group/heart","aria-label":"Add to wishlist",children:(0,l.jsx)(U.Z,{className:"h-4 w-4 text-gray-500 group-hover/heart:text-red-500 transition-colors"})})]})}),(0,l.jsxs)("div",{className:"p-3 sm:p-4 pt-4 sm:pt-5 bg-white rounded-2xl sm:rounded-[32px] mt-[-16px] sm:mt-[-20px] relative z-10 flex-grow flex flex-col",children:[(0,l.jsxs)("div",{className:"flex items-center text-gray-500 text-xs mb-2",children:[(0,l.jsx)("div",{className:"w-4 h-4 sm:w-5 sm:h-5 rounded-full bg-gray-200 flex items-center justify-center mr-1 sm:mr-1.5",children:(0,l.jsx)(x.Z,{className:"w-3 h-3 text-gray-500"})}),(0,l.jsxs)("span",{children:[i.city||"Unknown City",", ",i.country||"Unknown Country"]})]}),(0,l.jsx)("h3",{className:"font-bold text-base sm:text-lg text-gray-900 mb-2 sm:mb-3 line-clamp-2 min-h-[48px] max-w-full",children:i.title||"Holiday Package"}),(0,l.jsx)("p",{className:"text-gray-600 mb-4 text-sm flex-grow line-clamp-2",children:i.shortDescription||"Experience an unforgettable holiday with our exclusive package."}),(0,l.jsx)("div",{className:"flex flex-wrap gap-2 mb-4",children:i.highlights&&i.highlights.slice(0,2).map((e,s)=>(0,l.jsx)("span",{className:"px-2 py-1 bg-amber-50 text-amber-700 rounded-full text-xs font-medium",children:e},s))}),(0,l.jsxs)("div",{className:"flex items-center justify-between mt-auto",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-gray-500 text-xs",children:"Starts from"}),n!==o&&(0,l.jsxs)("div",{className:"text-gray-500 text-xs line-through",children:["AED ",n]}),(0,l.jsxs)("span",{className:"text-lg sm:text-xl font-bold text-amber-600",children:["AED ",o]}),(0,l.jsx)("span",{className:"text-xs text-gray-500 ml-1",children:"/ person"})]}),(0,l.jsx)("div",{className:"px-2 sm:px-4 py-1 sm:py-1.5 rounded-full bg-[#e6f0f9] text-xs sm:text-sm font-medium text-[#2d6da3] hover:bg-[#d6e6f6] transition-colors",children:"View Details"})]})]})]})}var O=t(86501),V=t(87742);function G(){let[e,s]=(0,N.useState)({name:"",mobileNumber:"",email:"",message:"",selectedService:""}),[t,a]=(0,N.useState)(!1),r=e=>{let{name:t,value:l}=e.target;s(e=>({...e,[t]:l}))},i=async t=>{if(t.preventDefault(),!e.name||!e.mobileNumber||!e.email||!e.message){O.Am.error("Please fill out all required fields.");return}a(!0);try{let t=await V.Z.post("/contact",e);t.data.success?(O.Am.success("Your request has been submitted. We'll get back to you soon!"),s({name:"",mobileNumber:"",email:"",message:"",selectedService:""})):O.Am.error("Failed to submit request. Please try again.")}catch(e){console.error("Error submitting form",e),O.Am.error("There was an error submitting your request. Please try again later.")}finally{a(!1)}};return(0,l.jsx)("section",{className:"py-16 px-4 md:px-8 bg-white",children:(0,l.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 md:gap-16",children:[(0,l.jsx)("div",{className:"h-[600px]",children:(0,l.jsx)("div",{className:"h-full w-full",children:(0,l.jsx)(d(),{src:"/images/gallery/Rectangle 192.png",alt:"Dune buggy at sunset in the desert",width:600,height:700,className:"w-full h-full object-cover"})})}),(0,l.jsxs)("div",{className:"flex flex-col justify-center",children:[(0,l.jsxs)("h2",{className:"text-4xl md:text-5xl font-bold mb-16 text-center",children:["Get In Touch",(0,l.jsx)("br",{}),"With US"]}),(0,l.jsxs)("form",{onSubmit:i,className:"space-y-6",children:[(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,l.jsx)("div",{children:(0,l.jsx)("input",{type:"text",name:"name",value:e.name,onChange:r,placeholder:" Name",className:"w-full px-6 py-4 rounded-lg bg-[#d9a064] text-white placeholder-white focus:outline-none",required:!0})}),(0,l.jsx)("div",{children:(0,l.jsx)("input",{type:"text",name:"mobileNumber",value:e.mobileNumber,onChange:r,placeholder:"Phone Number",className:"w-full px-6 py-4 rounded-lg bg-[#d9a064] text-white placeholder-white focus:outline-none",required:!0})})]}),(0,l.jsx)("div",{children:(0,l.jsx)("input",{type:"email",name:"email",value:e.email,onChange:r,placeholder:"Email",className:"w-full px-6 py-4 rounded-lg bg-[#d9a064] text-white placeholder-white focus:outline-none",required:!0})}),(0,l.jsx)("div",{children:(0,l.jsx)("textarea",{name:"message",value:e.message,onChange:r,placeholder:"Your Message",rows:7,className:"w-full px-6 py-4 rounded-lg bg-[#d9a064] text-white placeholder-white focus:outline-none resize-none",required:!0})}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"submit",className:"w-full py-4 bg-black text-white font-medium rounded-lg hover:bg-black/90 transition-colors",disabled:t,children:t?"Submitting...":"Send"})})]})]})]})})})}var Y=t(89382),K=t(81193),X=t(15),Q=t(62469);let J=N.createContext(null);function $(){let e=N.useContext(J);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let ee=N.forwardRef((e,s)=>{let{orientation:t="horizontal",opts:a,setApi:r,plugins:i,className:n,children:o,...d}=e,[c,m]=(0,Y.Z)({...a,axis:"horizontal"===t?"x":"y"},i),[x,h]=N.useState(!1),[u,f]=N.useState(!1),p=N.useCallback(e=>{e&&(h(e.canScrollPrev()),f(e.canScrollNext()))},[]),g=N.useCallback(()=>{null==m||m.scrollPrev()},[m]),v=N.useCallback(()=>{null==m||m.scrollNext()},[m]),b=N.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),g()):"ArrowRight"===e.key&&(e.preventDefault(),v())},[g,v]);return N.useEffect(()=>{m&&r&&r(m)},[m,r]),N.useEffect(()=>{if(m)return p(m),m.on("reInit",p),m.on("select",p),()=>{null==m||m.off("select",p)}},[m,p]),(0,l.jsx)(J.Provider,{value:{carouselRef:c,api:m,opts:a,orientation:t||((null==a?void 0:a.axis)==="y"?"vertical":"horizontal"),scrollPrev:g,scrollNext:v,canScrollPrev:x,canScrollNext:u},children:(0,l.jsx)("div",{ref:s,onKeyDownCapture:b,className:(0,K.cn)("relative",n),role:"region","aria-roledescription":"carousel",...d,children:o})})});
1ee.displayName="Carousel";let es=N.forwardRef((e,s)=>{let{className:t,...a}=e,{carouselRef:r,orientation:i}=$();return(0,l.jsx)("div",{ref:r,className:"overflow-hidden",children:(0,l.jsx)("div",{ref:s,className:(0,K.cn)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",t),...a})})});es.displayName="CarouselContent";let et=N.forwardRef((e,s)=>{let{className:t,...a}=e,{orientation:r}=$();return(0,l.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,K.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",t),...a})});et.displayName="CarouselItem";let el=N.forwardRef((e,s)=>{let{className:t,variant:a="outline",size:r="icon",...i}=e,{orientation:n,scrollPrev:o,canScrollPrev:d}=$();return(0,l.jsxs)(X.z,{ref:s,variant:a,size:r,className:(0,K.cn)("absolute  h-8 w-8 rounded-full","horizontal"===n?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...i,children:[(0,l.jsx)(Q.Y4O,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});el.displayName="CarouselPrevious";let ea=N.forwardRef((e,s)=>{let{className:t,variant:a="outline",size:r="icon",...i}=e,{orientation:n,scrollNext:o,canScrollNext:d}=$();return(0,l.jsxs)(X.z,{ref:s,variant:a,size:r,className:(0,K.cn)("absolute h-8 w-8 rounded-full","horizontal"===n?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!d,onClick:o,...i,children:[(0,l.jsx)(Q.LZ3,{className:"h-4 w-4"}),(0,l.jsx)("span",{className:"sr-only",children:"Next slide"})]})});ea.displayName="CarouselNext";var er=t(43777),ei=t(4455);let en=864e5,eo=e=>{let{unit:s,text:t,endDate:a}=e,[r,i]=(0,ei.H)(),[n,o]=(0,ei.H)(),[d,c]=(0,N.useState)(0),m=(0,N.useRef)(0),x=(0,N.useRef)(null),h=(0,N.useRef)(!1);(0,N.useEffect)(()=>(u(),x.current=setInterval(u,1e3),()=>{x.current&&clearInterval(x.current)}),[a]);let u=()=>{let e=new Date(a),t=new Date,l=+e-+t;if(l<0){x.current&&clearInterval(x.current),c(0);return}let r=0;"Day"===s?r=Math.floor(l/en):"Hour"===s?r=Math.floor(l%en/36e5):"Minute"===s?r=Math.floor(l%36e5/6e4):"Second"===s&&(r=Math.floor(l%6e4/1e3)),r!==m.current&&(m.current=r,c(r),f(r))},f=async e=>{if(!h.current){h.current=!0;try{let s=Math.floor(m.current/10),t=m.current%10;e%10!==t&&n.current&&(await o(n.current,{y:["0%","-100%"],opacity:[1,0]},{duration:.15}),await o(n.current,{y:["100%","0%"],opacity:[0,1]},{duration:.15})),Math.floor(e/10)!==s&&r.current&&(await i(r.current,{y:["0%","-100%"],opacity:[1,0]},{duration:.15}),await i(r.current,{y:["100%","0%"],opacity:[0,1]},{duration:.15}))}catch(e){console.error("Animation error:",e)}finally{h.current=!1}}};return(0,l.jsxs)("div",{className:"flex flex-col items-center",children:[(0,l.jsxs)("div",{className:"flex gap-1",children:[(0,l.jsx)("div",{className:"relative bg-black rounded-md w-8 h-10 sm:w-10 sm:h-12 md:w-12 md:h-16 flex items-center justify-center overflow-hidden",children:(0,l.jsx)("span",{ref:r,className:"absolute text-lg sm:text-2xl md:text-3xl font-bold text-white",children:Math.floor(d/10)})}),(0,l.jsx)("div",{className:"relative bg-black rounded-md w-8 h-10 sm:w-10 sm:h-12 md:w-12 md:h-16 flex items-center justify-center overflow-hidden",children:(0,l.jsx)("span",{ref:n,className:"absolute text-lg sm:text-2xl md:text-3xl font-bold text-white",children:d%10})})]}),(0,l.jsx)("span",{className:"text-white mt-1 sm:mt-2 text-xs sm:text-sm",children:t})]})};var ed=e=>{let{endDate:s}=e;return s?(0,l.jsxs)("div",{className:"flex justify-center sm:justify-start gap-1 sm:gap-2 mb-6 sm:mb-8 overflow-x-auto pb-2",children:[(0,l.jsx)(eo,{unit:"Day",text:"Days",endDate:s}),(0,l.jsx)("div",{className:"flex items-center text-white text-lg sm:text-2xl md:text-3xl font-bold",children:":"}),(0,l.jsx)(eo,{unit:"Hour",text:"Hours",endDate:s}),(0,l.jsx)("div",{className:"flex items-center text-white text-lg sm:text-2xl md:text-3xl font-bold",children:":"}),(0,l.jsx)(eo,{unit:"Minute",text:"Mins",endDate:s}),(0,l.jsx)("div",{className:"flex items-center text-white text-lg sm:text-2xl md:text-3xl font-bold",children:":"}
1),(0,l.jsx)(eo,{unit:"Second",text:"Secs",endDate:s})]}):null},ec=e=>{let{items:s=[]}=e,[t,a]=(0,N.useState)(0),r=e=>{switch(e.contentType){case"activity":return"/activities/".concat(e.slug);case"staycation":return"/staycations/".concat(e.slug);case"holiday":return"/holidays/".concat(e.slug);default:return"#"}};if(0===s.length)return null;let i=e=>{a(e)};return(0,l.jsx)("section",{className:"px-3 sm:px-4 md:px-8 bg-[#FFFAEB] py-8 sm:py-12 md:py-16",children:(0,l.jsxs)("div",{className:"w-full max-w-7xl mx-auto",children:[(0,l.jsxs)(ee,{className:"w-full",opts:{loop:!0},onSelect:e=>i(e),children:[(0,l.jsx)(es,{children:s.map((e,s)=>(0,l.jsx)(et,{children:(0,l.jsxs)("div",{className:"bg-[#D08C47] rounded-xl sm:rounded-2xl overflow-hidden flex flex-col md:flex-row",children:[(0,l.jsx)("div",{className:"md:w-1/2 p-4 sm:p-6 md:p-10 relative",children:(0,l.jsx)("div",{className:"relative w-full h-48 sm:h-64 md:h-full rounded-lg overflow-hidden",children:(0,l.jsx)(d(),{src:e.imageUrl||e.mainBannerImage||e.mainBanner||e.images&&e.images[0],alt:e.title,fill:!0,sizes:"(max-width: 768px) 100vw, 50vw",style:{objectFit:"cover"},className:"w-full h-full"})})}),(0,l.jsxs)("div",{className:"md:w-1/2 p-4 sm:p-6 md:p-12",children:[(0,l.jsxs)("div",{className:"inline-flex items-center gap-2 bg-white/10 backdrop-blur-sm rounded-full px-3 py-1 mb-4 sm:mb-6",children:[(0,l.jsx)(er.Z,{className:"w-3 h-3 sm:w-4 sm:h-4 text-white"}),(0,l.jsx)("span",{className:"text-xs sm:text-sm text-white",children:"Limited Time Offer"})]}),(0,l.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-3 sm:mb-4",children:e.title}),(0,l.jsx)("p",{className:"text-white/90 mb-4 sm:mb-6 md:mb-8 text-sm sm:text-base md:text-lg",children:e.shortDescription}),(0,l.jsx)("p",{className:"text-white font-medium mb-4 sm:mb-6 text-sm sm:text-base",children:"activity"===e.contentType?"Book now for an unforgettable experience!":"staycation"===e.contentType?"Reserve your luxury stay today!":"Secure your holiday package now!"}),(0,l.jsx)(ed,{endDate:e.endDate}),(0,l.jsx)("div",{className:"flex justify-center sm:justify-start",children:(0,l.jsxs)(b(),{href:r(e),className:"inline-flex items-center gap-1 sm:gap-2 bg-black hover:bg-black/90 text-white font-semibold py-2 sm:py-3 px-5 sm:px-8 rounded-full transition duration-300 text-sm sm:text-base",children:["activity"===e.contentType?"Book Now":"staycation"===e.contentType?"Reserve Now":"View Package",(0,l.jsx)(F.Z,{className:"w-3 h-3 sm:w-4 sm:h-4"})]})})]})]})},e._id))}),(0,l.jsxs)("div",{className:"hidden sm:block",children:[(0,l.jsx)(el,{className:"left-2"}),(0,l.jsx)(ea,{className:"right-2"})]})]}),(0,l.jsx)("div",{className:"flex justify-center mt-4 sm:mt-6 gap-2",children:s.map((e,s)=>(0,l.jsx)("button",{className:"w-2 h-2 rounded-full transition-all duration-300 ".concat(s===t?"bg-[#D08C47] w-4":"bg-gray-300"),onClick:()=>a(s),"aria-label":"Go to slide ".concat(s+1)},s))})]})})},em=!0;function ex(e){var s,t,a,i,o,v,N,y,k,S;let{banners:F,popularActivities:M,categories:_,featuredItems:B,testimonials:I,blogPosts:U,memories:R,activities:T,faqs:H,activitiesPerCategory:q,popularStaycations:O,popularHolidays:V,initialHolidays:Y}=e;console.log({banners:F,popularActivities:M,categories:_,featuredItems:B,testimonials:I,blogPosts:U,memories:R,activities:T,faqs:H,activitiesPerCategory:q,popularStaycations:O,popularHolidays:V,initialHolidays:Y});let K=R||[];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(n(),{children:[(0,l.jsx)("title",{children:"Dubai Desert Safari | Unforgettable Desert Experiences"}),(0,l.jsx)("meta",{name:"description",content:"Experience the thrill of Dubai's desert with our premium safari tours. Book your adventure today and create unforgettable memories."}),(0,l.jsx)("meta",{property:"og:title",content:"Dubai Desert Safari | Unforgettable Desert Experiences"}),(0,l.jsx)("meta",{property:"og:description",content:"Experience the thrill of Dubai's desert with our premium safari tours. Book your adventure today and create unforgettable memories."}),(0,l.jsx)("meta",{property:"og:image",content:"/images/desert-safari-og.jpg"}),(0,l.jsx)("meta",{property:"og:type",content:"website"}),(0,l.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,l.jsx)("link",{rel:"canonical",href:"https://dubaidesertadventures.com"})]}),(0,l.jsx)(z.Z,{}),(0,l.jsxs)("section",{className:"relative",children:[(0,l.jsx)(j.tq,{modules:[w.W_,w.tl,w.pt],navigation:{prevEl:".hero-prev",nextEl:".hero-next"},pagination:{clickable:!0,el:".hero-pagination"},autoplay:{delay:5e3},loop:!0,className:"h-screen max-h-[600px]",children:F.map(e=>(0,l.jsx)(j.o5,{children:(0,l.jsxs)("div",{className:"relative h-full w-full",children:[(0,l.jsx)(d(),{src:e.imageUrl||"/placeholder.svg",alt:e.title,fill:!0,sizes:"100vw",className:"object-cover",priority:!0}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/20 flex flex-col justify-center px-4 sm:px-8 md:px-16 lg:px-24",children:(0,l.jsxs)("div",{className:"max-w-3xl pt-16 sm:pt-0",children:[(0,l.jsx)("h1",{className:"text-4xl sm:text-5xl md:text-6xl font-bold text-white mb-2 leading-tight",children:e.title}),(0,l.jsx)("p",{className:"text-sm sm:text-base md:text-lg text-white mb-16 sm:mb-20 md:mb-24 max-w-2xl",children:e.subt
1itle}),(0,l.jsxs)("div",{className:"flex flex-row gap-4 mt-12 sm:mt-16",children:[(0,l.jsx)(b(),{href:"/explore",className:"w-auto",children:(0,l.jsx)("span",{className:"inline-flex justify-center items-center bg-transparent border border-white hover:bg-amber-500 text-white font-medium py-2 px-6 rounded-full transition duration-300 text-center text-sm sm:text-base",children:"Explore More"})}),e.buttonText&&(0,l.jsx)(b(),{href:e.linkUrl||"#",className:"w-auto",children:(0,l.jsx)("span",{className:"inline-flex justify-center items-center bg-[#F5CA49] hover:bg-amber-600 text-white font-medium py-2 px-6 rounded-full transition duration-300 text-center text-sm sm:text-base",children:e.buttonText})})]})]})})]})},e._id))}),(0,l.jsx)("div",{className:"hero-prev absolute left-2 sm:left-4 top-1/2 transform -translate-y-1/2 z-10 w-8 h-8 sm:w-10 sm:h-10 bg-white/20 hover:bg-white/40 rounded-full flex items-center justify-center text-white cursor-pointer transition-colors",children:(0,l.jsx)(c.Z,{size:20,className:"sm:w-6 sm:h-6"})}),(0,l.jsx)("div",{className:"hero-next absolute right-2 sm:right-4 top-1/2 transform -translate-y-1/2 z-10 w-8 h-8 sm:w-10 sm:h-10 bg-white/20 hover:bg-white/40 rounded-full flex items-center justify-center text-white cursor-pointer transition-colors",children:(0,l.jsx)(m.Z,{size:20,className:"sm:w-6 sm:h-6"})}),(0,l.jsx)("div",{className:"jsx-7bc24928355fda43 hero-pagination absolute bottom-6 left-0 right-0 z-10 flex justify-center gap-2",children:(0,l.jsx)(r(),{id:"7bc24928355fda43",children:".hero-pagination .swiper-pagination-bullet{width:8px;height:8px;background:rgba(255,255,255,.6);opacity:1;margin:0 3px}.hero-pagination .swiper-pagination-bullet-active{background:#fff}@media(min-width:640px){.hero-pagination .swiper-pagination-bullet{width:10px;height:10px}}"})})]}),(0,l.jsx)(Z,{categories:_,activitiesPerCategory:q}),(0,l.jsx)(L,{popularDestinations:M}),(0,l.jsx)("section",{className:"bg-[#FFFAEB] py-16",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-4",children:[(0,l.jsx)("div",{className:"mb-2",children:(0,l.jsxs)("span",{className:"inline-flex items-center px-3 py-1 text-sm font-medium rounded-full border border-gray-300",children:[(0,l.jsx)(x.Z,{size:16,className:"mr-1"}),"Explore Dubai"]})}),(0,l.jsx)("h2",{className:"text-4xl font-bold text-black mb-8",children:"Services Offering"}),(0,l.jsx)("div",{className:"relative w-full h-[300px] mb-16 rounded-2xl overflow-hidden",children:(0,l.jsx)(d(),{src:"/images/moring_desert.jpg",alt:"4x4 vehicle driving through desert dunes",layout:"fill",objectFit:"cover",className:"rounded-2xl"})}),(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[(0,l.jsx)("div",{className:"bg-[#FAF6F0] p-6 rounded-2xl shadow-sm hover:shadow-md transition-shadow",children:(0,l.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,l.jsx)("div",{className:"w-16 h-16 flex items-center justify-center bg-[amber-50] rounded-full mb-4",children:(0,l.jsx)(h.Z,{className:"w-8 h-8 text-amber-400",strokeWidth:1.5})}),(0,l.jsx)("h3",{className:"text-2xl font-semibold text-[#1e1b4b] mb-3",children:"Customer Support"}),(0,l.jsx)("p",{className:"text-gray-600 leading-relaxed",children:"Our dedicated team is available 24/7 to assist with bookings, changes, and any special requirements for your perfect event experience."})]})}),(0,l.jsx)("div",{className:"bg-[#FAF6F0] p-6 rounded-2xl shadow-sm hover:shadow-md transition-shadow",children:(0,l.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,l.jsx)("div",{className:"w-16 h-16 flex items-center justify-center bg-amber-50 rounded-full mb-4",children:(0,l.jsx)(h.Z,{className:"w-8 h-8 text-amber-400",strokeWidth:1.5})}),(0,l.jsx)("h3",{className:"text-2xl font-semibold text-[#1e1b4b] mb-3",children:"Expert Planner"}),(0,l.jsx)("p",{className:"text-gray-600 leading-relaxed",children:"Professional event coordinators will help design every detail from venue selection to theme customization for memorable celebrations."})]})}),(0,l.jsx)("div",{className:"bg-[#FAF6F0] p-6 rounded-2xl shadow-sm hover:shadow-md transition-shadow",children:(0,l.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,l.jsx)("div",{className:"w-16 h-16 flex items-center justify-center bg-amber-50 rounded-full mb-4",children:(0,l.jsx)(u.Z,{className:"w-8 h-8 text-amber-400",strokeWidth:1.5})}),(0,l.jsx)("h3",{className:"text-2xl font-semibold text-[#1e1b4b] mb-3",children:"Pick And Drop"}),(0,l.jsx)("p",{className:"text-gray-600 leading-relaxed",children:"Complimentary transportation service for guests, ensuring safe and timely arrivals to your event venue."})]})}),(0,l.jsx)("div",{className:"bg-[#FAF6F0] p-6 rounded-2xl shadow-sm hover:shadow-md transition-shadow",children:(0,l.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,l.jsx)("div",{className:"w-16 h-16 flex items-center justify-center bg-amber-50 rounded-full mb-4",children:(0,l.jsx)(f.Z,{className:"w-8 h-8 text-amber-400",strokeWidth:1.5})}),(0,l.jsx)("h3",{className:"text-2xl font-semibold text-[#1e1b4b] mb-3",children:"Buffet System"}),(0,l.jsx)("p",{className:"text-gray-600 leading-relaxed",children:"Customizable dining options with diverse cuisines, fresh ingredients, and professional catering staff for all event sizes."})]})}),(0,l.jsx)("div",{className:"bg-[#FAF6F0] p-6 rounded-2xl shadow-sm hover:shadow-md transition-shadow",children:(0,l.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,l.jsx)("div",{className:"w-16 h-16 flex items-center justify-center bg-amber-50 rounded-full mb-4",children:(0,l.jsx)(p.Z,{className:"w-8 h-8 text-amber-400",strokeWidth:1.5})}),(0,l.jsx)("h3",{className:"text-2xl font-semibold text-[#1e1b4b] mb-3",children:"Budget Friendly"}),(0,l.jsx)("p",{className:"text-gray-600 leading-relaxed",children:"Flexible packages and transparent pricing to create remarkable events that align with your financial plan."})]})}),(0,l.jsx)("div",{className:"bg-[#FAF6F0] p-6 rounded-2xl shadow-sm hover:shadow-md transition-shadow",children:(0,l.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,l.jsx)("div",{className:"w-16 h-16 flex items-center justify-center bg-amber-50 rounded-full mb-4",children:(0,l.jsx)(g.Z,{className:"w-8 h-8 text-amber-400",strokeWidth:1.5})}),(0,l.jsx)("h3",{className:"text-2xl font-semibold text-[#1e1b4b] mb-3",children:"All Payment Methods"}),(0,l.jsx)("p",{className:"text-gray-600 leading-relaxed",children:"Secure transactions through credit/debit cards, digital wallets, bank transfers, and cash payments accepted."})]})})]})]})}),(0,l.jsx)(W,{activities:T,accommodations:O,popularHolidays:V}),B.length>0&&(0,l.jsx)("section",{className:"mb-12",children:(0,l.jsx)(ec,{items:B})}),(0,l.jsx)("section",{className:"py-0",children:(0,l.jsxs)("div",{className:"relative w-full h-[400px] sm:h-[450px] md:h-[550px] lg:h-[600px] overflow-hidden",children:[(0,l.jsx)(d(),{src:"/images/experiance.jpg",alt:"Dubai Desert Experience",fill:!0,sizes:"100vw",className:"object-cover",priority:!0}),(0,l.jsxs)("div",{className:"absolute inset-0 bg-black/30 flex flex-col items-center justify-center text-center px-4 sm:px-6",children:[(0,l.jsxs)("h2",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold text-white mb-3 sm:mb-4",children:["Ready to Experience ",(0,l.jsx)("br",{className:"hidden md:block"}),(0,l.jsx)("span",{className:"text-amber-400",children:"Dubai"})," Like Never Before?"]}),(0,l.jsx)("p",{className:"text-white text-sm sm:text-base md:text-lg mb-6 sm:mb-8 md:mb-10 max-w-2xl",children:"Take the first step towards creating the space of your dreams by connecting with us today"}),(0,l.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 sm:gap-4 w-full max-w-md 
1sm:max-w-2xl",children:[(0,l.jsx)(b(),{href:"/experiences",className:"w-full sm:w-auto",children:(0,l.jsxs)("div",{className:"relative group w-full",children:[(0,l.jsx)("div",{className:"bg-[#0a2b29] text-white font-medium py-2.5 sm:py-3 pl-5 sm:pl-6 pr-12 sm:pr-14 rounded-full transition duration-300 text-sm sm:text-base w-full",children:"Explore Our Experiences"}),(0,l.jsx)("div",{className:"absolute top-1/2 -translate-y-1/2 right-1 bg-white rounded-full w-8 h-8 sm:w-10 sm:h-10 flex items-center justify-center",children:(0,l.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"text-black sm:w-5 sm:h-5",children:(0,l.jsx)("path",{d:"M5 12H19M19 12L12 5M19 12L12 19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})}),(0,l.jsx)(b(),{href:"/contact",className:"w-full sm:w-auto",children:(0,l.jsxs)("div",{className:"bg-amber-600 hover:bg-amber-700 text-white font-medium py-2.5 sm:py-3 px-5 sm:px-6 rounded-full transition duration-300 flex items-center justify-center sm:justify-start text-sm sm:text-base w-full",children:["Book a Consultation",(0,l.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"ml-2 sm:w-5 sm:h-5",children:(0,l.jsx)("path",{d:"M5 12H19M19 12L12 5M19 12L12 19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})})]})]})]})}),(0,l.jsx)(E,{accommodations:O}),(0,l.jsx)(C,{testimonials:I}),(0,l.jsx)(P,{faqs:H}),(0,l.jsx)("section",{className:"py-24 bg-amber-50"}),(0,l.jsx)(D.Z,{blogPosts:U}),(0,l.jsx)("section",{className:"py-20 px-4 md:px-8 bg-[#fdf7e9]",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,l.jsxs)("div",{className:"text-center mb-12",children:[(0,l.jsx)("h2",{className:"text-5xl font-bold mb-4 text-[#d2924a]",children:"Unforgettable Moments"}),(0,l.jsx)("p",{className:"text-gray-800 text-lg max-w-3xl mx-auto",children:"Explore stunning snapshots from our thrilling desert adventures"})]}),(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-4",children:[(0,l.jsx)("div",{className:"md:col-span-6 md:row-span-2",children:(0,l.jsx)("div",{className:"rounded-3xl overflow-hidden h-full",children:(0,l.jsx)("img",{src:(null===(s=K[0])||void 0===s?void 0:s.imageUrl)||"/images/gallery/evening.jpg",alt:(null===(t=K[0])||void 0===t?void 0:t.title)||"Desert tent with sunset view",className:"w-full h-full object-cover"})})}),(0,l.jsx)("div",{className:"md:col-span-6 md:col-start-7 md:row-start-1 md:h-[200px]",children:(0,l.jsx)("div",{className:"rounded-3xl overflow-hidden h-full",children:(0,l.jsx)("img",{src:(null===(a=K[1])||void 0===a?void 0:a.imageUrl)||"/images/gallery/atv.jpg",alt:(null===(i=K[1])||void 0===i?void 0:i.title)||"Person riding ATV in desert",className:"w-full h-full object-cover"})})}),(0,l.jsx)("div",{className:"md:col-span-6 md:col-start-7 md:row-start-2 md:h-[200px]",children:(0,l.jsx)("div",{className:"rounded-3xl overflow-hidden h-full",children:(0,l.jsx)("img",{src:(null===(o=K[2])||void 0===o?void 0:o.imageUrl)||"/images/gallery/dancing.jpg",alt:(null===(v=K[2])||void 0===v?void 0:v.title)||"Fire dancer performance",className:"w-full h-full object-cover"})})}),(0,l.jsx)("div",{className:"md:col-span-6 md:row-start-3 md:h-[250px]",children:(0,l.jsx)("div",{className:"rounded-3xl overflow-hidden h-full",children:(0,l.jsx)("img",{src:(null===(N=K[3])||void 0===N?void 0:N.imageUrl)||"/images/gallery/camelride.png",alt:(null===(y=K[3])||void 0===y?void 0:y.title)||"Group taking selfie on camel",className:"w-full h-full object-cover"})})}),(0,l.jsx)("div",{className:"md:col-span-6 md:col-start-7 md:row-start-3 md:h-[250px]",children:(0,l.jsx)("div",{className:"rounded-3xl overflow-hidden h-full",children:(0,l.jsx)("img",{src:(null===(k=K[4])||void 0===k?void 0:k.imageUrl)||"/images/gallery/dunebashing.jpg",alt:(null===(S=K[4])||void 0===S?void 0:S.title)||"4x4 vehicle dune bashing",className:"w-full h-full object-cover"})})})]})]})}),(0,l.jsx)(G,{}),(0,l.jsx)(A.Z,{})]})}}}
1,function(e){e.O(0,[1664,7066,3299,5675,5109,4620,9673,1932,9774,2888,179],function(){return e(e.s=75557)}),_N_E=e.O()}]);

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.