module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},70864,a=>{a.n(a.i(33290))},43619,a=>{a.n(a.i(79962))},13718,a=>{a.n(a.i(85523))},18198,a=>{a.n(a.i(45518))},62212,a=>{a.n(a.i(66114))},39513,a=>{"use strict";var b=a.i(60780);a.s(["servicesService",0,{getServices:async(a=1)=>b.apiClient.get(`/api/services?page=${a}`),getServiceBySlug:async a=>(await b.apiClient.get(`/api/service/${a}`)).data}])},64349,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/service-booking-button.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/service-booking-button.tsx <module evaluation>","default")},34302,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/service-booking-button.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/service-booking-button.tsx","default")},24444,a=>{"use strict";a.i(64349);var b=a.i(34302);a.n(b)},85436,a=>{"use strict";var b=a.i(7997),c=a.i(39513),d=a.i(14633);a.i(70396);var e=a.i(73727),f=a.i(70304),g=a.i(3236),h=a.i(24444),i=a.i(85209);async function j({params:a}){let{slug:b}=await a,d=process.env.NEXT_PUBLIC_SITE_URL||"https://capitaltours.com";try{let a=await c.servicesService.getServiceBySlug(b),e=a.descriptions?a.descriptions.replace(/<[^>]*>/g,"").substring(0,160):`خدمة ${a.name} من Capital Tours`;return{title:`${a.name} | خدمات Capital Tours`,description:e,alternates:{canonical:`${d}/services/${b}`},openGraph:{title:a.name,description:e,url:`${d}/services/${b}`,type:"website",images:a.thumbnail?[a.thumbnail]:void 0},twitter:{card:"summary_large_image",title:a.name,description:e,images:a.thumbnail?[a.thumbnail]:void 0}}}catch{return{title:"خدمة | Capital Tours",description:"اكتشف مجموعة متنوعة من الخدمات السياحية من Capital Tours"}}}async function k({params:a}){let j,{slug:k}=await a,l=process.env.NEXT_PUBLIC_SITE_URL||"https://capitaltours.com";try{j=await c.servicesService.getServiceBySlug(k)}catch(a){console.error("Failed to fetch service:",a),(0,e.notFound)()}let m=j.descriptions?j.descriptions.replace(/<[^>]*>/g,"").substring(0,160):"";return(0,b.jsxs)("main",{className:"min-h-screen bg-white pb-20 container mx-auto px-4",children:[(0,b.jsx)(i.ProductJsonLd,{name:j.name,description:m,url:`${l}/services/${k}`,image:j.thumbnail,price:"0.00"!==j.price?j.price:void 0,currency:j.currency}),(0,b.jsx)(d.default,{title:j.name,image:"/bali_temple_trip.png",breadcrumbs:[{label:"الرئيسية",href:"/"},{label:"خدماتنا",href:"/#services"},{label:j.name,href:`/services/${k}`}]}),(0,b.jsx)("div",{className:"container mx-auto px-4 mt-12 md:mt-20",children:(0,b.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12 items-start max-w-7xl mx-auto",children:[(0,b.jsx)("div",{className:"lg:col-span-12",children:(0,b.jsx)(f.default,{direction:"up",duration:1,children:(0,b.jsx)("div",{className:"relative w-full aspect-video rounded-[32px] overflow-hidden shadow-2xl border border-gray-100 bg-gray-50",children:(0,b.jsx)(g.default,{src:j.thumbnail,alt:j.name,fill:!0,className:"object-contain p-8 md:p-16",priority:!0})})})}),(0,b.jsx)("div",{className:"lg:col-span-8 lg:col-start-3",dir:"rtl",children:(0,b.jsx)(f.default,{direction:"right",duration:.8,delay:.2,children:(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsx)("div",{className:"space-y-4",children:(0,b.jsx)("h1",{className:"text-4xl md:text-5xl font-black text-gray-900 leading-tight",children:j.name})}),(0,b.jsx)("div",{className:"prose prose-lg max-w-none text-gray-600 leading-10",children:j.descriptions?(0,b.jsx)("div",{dangerouslySetInnerHTML:{__html:j.descriptions}}):(0,b.jsx)("p",{className:"text-lg text-gray-400 italic",children:"لا يوجد وصف متاح لهذه الخدمة حالياً."})}),(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[j.price&&"0.00"!==j.price&&(0,b.jsxs)("div",{className:"bg-[#E0F7FA] p-6 rounded-2xl inline-block",children:[(0,b.jsx)("span",{className:"text-gray-600 font-bold block mb-1",children:"السعر يبدأ من"}),(0,b.jsxs)("span",{className:"text-3xl font-black text-[#00838F]",children:[j.price," ",j.currency]})]}),(0,b.jsx)(h.default,{serviceId:j.id,serviceName:j.name,serviceDescription:j.descriptions||""})]})]})})})]})})]})}a.s(["default",()=>k,"generateMetadata",()=>j])}];

//# sourceMappingURL=%5Broot-of-the-server%5D__8df3a26a._.js.map