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))},13222,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/page-header.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/page-header.tsx <module evaluation>","default")},99076,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/page-header.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/page-header.tsx","default")},14633,a=>{"use strict";a.i(13222);var b=a.i(99076);a.n(b)},86485,a=>{"use strict";var b=a.i(60780);a.s(["tripsService",0,{getCountries:async()=>(await b.apiClient.get("/api/countries-trip")).data,getTripsByCountry:async a=>(await b.apiClient.get(`/api/countries-trip/${a}`)).data,getTrips:async a=>{let c=new URLSearchParams;a?.country_id&&c.set("country_id",String(a.country_id)),a?.page&&c.set("page",String(a.page));let d=c.toString(),e=d?`/api/trips?${d}`:"/api/trips";return b.apiClient.get(e)},getAllTrips:async()=>(await b.apiClient.get("/api/trips")).data,getTripBySlug:async a=>{let c=decodeURIComponent(a);return b.apiClient.get(`/api/trip/${c}`)}}])},74184,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/trips-grid-dynamic.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/trips-grid-dynamic.tsx <module evaluation>","default")},68799,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/trips-grid-dynamic.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/trips-grid-dynamic.tsx","default")},44236,a=>{"use strict";a.i(74184);var b=a.i(68799);a.n(b)},5212,a=>{"use strict";var b=a.i(7997),c=a.i(14633),d=a.i(44236),e=a.i(86485);async function f(){let a=process.env.NEXT_PUBLIC_SITE_URL||"https://capitaltours.com";return{title:"رحلاتنا السياحية | Capital Tours",description:"اكتشف أفضل الرحلات السياحية مع Capital Tours. رحلات متنوعة إلى أجمل الوجهات حول العالم بأسعار تنافسية.",alternates:{canonical:`${a}/trips`},openGraph:{title:"رحلاتنا السياحية | Capital Tours",description:"اكتشف أفضل الرحلات السياحية مع Capital Tours",url:`${a}/trips`,type:"website"}}}async function g({searchParams:a}){let f=await a,g=Number(f.page)||1,h=f.country_id?Number(f.country_id):void 0,i=await e.tripsService.getTrips({country_id:h,page:g});return(0,b.jsxs)("main",{className:"container mx-auto px-4",children:[(0,b.jsx)(c.default,{title:"رحلاتنا",image:"/maldives_aerial_trip_a.png",breadcrumbs:[{label:"الرئيسية",href:"/"},{label:"الرحلات",href:"/trips"}]}),(0,b.jsx)(d.default,{trips:i.data,pagination:i.pagination,currentParams:f})]})}a.s(["default",()=>g,"generateMetadata",()=>f])}];

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