1import{P as F}from"./BAJPn78F.js";import{T as X}from"./tXGgPkDk.js";import{t as A,i as n}from"./Cpa216oP.js";import{d as z,u as K,p as U,a as J,w as O,b as Y,c as m,e as C,h as e,j as g,g as Z,t as v,F as D,r as B,v as tt,f as et,o as c,i as at}from"./eXeRFuIj.js";import{u as st}from"./B9-JvN3j.js";import{u as rt}from"./DWDZjs6j.js";import"./BF01jwbi.js";import"./BAm1QYdT.js";import"./Bq6Wu_M5.js";import"./CR0M6CBH.js";import"./BgIxKOy2.js";import"./CMgYvJTX.js";import"./RFOE62iT.js";import"./DqYnKmUV.js";import"./CJuHrIfH.js";import"./MJwEggiH.js";import"./CQaErrDA.js";import"./GlI9yZNv.js";import"./DXaWBy1j.js";import"./Co61ZkZd.js";import"./CLFzEa0p.js";import"./CK6s-jx-.js";import"./CmQNKSCR.js";import"./BQjtp5qc.js";import"./BsjdIlt6.js";import"./CxYTRavG.js";const ot={key:0,class:"container tw-mt-32 tw-mb-6"},it={class:"tw-text-center tw-my-4"},nt={class:"tw-text-xl"},ct={class:"container"},lt={key:0,class:"tw-text-center tw-flex tw-gap-3 tw-items-center tw-justify-center tw-my-2"},ut=["onClick"],pt={class:"tw-grid tw-grid-cols-1 md:tw-grid-cols-4 tw-gap-4"},Rt=z({__name:"[id]",async setup(dt){let y,_;const P=a=>{switch(a){case"camping":return"Camping Tours & Expeditions â Curated Itineraries in Antarctica, Peru & Patagonia";case"diving":return"Diving Expeditions in the Galápagos & Beyond";case"kayaking":return"Kayaking Adventures Across Ecuador, Galapagos, Antarctica, Costa Rica & Patagonia";case"nature-encounters":return"Nature & Wildlife Encounters â Galápagos & Beyond";case"snorkeling":return"Snorkeling Tours in the Galapagos Islands";case"honeymoon":return"Luxury Adventure Honeymoons â Galápagos, Antarctica & Beyond";default:return o(a.replaceAll("-"," "))}},E=K(),b=st(),l=U(),{capitalize:o,tourPathByType:G,getTourType:S}=J(),{data:L,status:N}=([y,_]=O(async()=>rt(async()=>{let a=E.params.id,$=P(a);a=a.replaceAll("-"," ");const s="destination tags price title url shortDescription",r=s+" cruise{name} type",{galapagos:p,costaRica:i,ecuador:w,antartida:Q,patagonia:R,bolivia:V,peru:j,landTours:I,dayTours:M}=await et({query:` 2 { 3 galapagos:${A({destination:"galapagos"},r)} 4 antartida:${A({destination:"antartida"},r)} 5 costaRica:${n({destination:"costa-rica"},s)} 6 peru:${n({destination:"peru"},s)} 7 ecuador:${n({destination:"ecuador"},s)} 8 patagonia:${n({destination:"patagonia"},s)} 9 bolivia:${n({destination:"bolivia"},s)} 10 landTours:${n({destination:"galapagos",tags:["Land Tour"]},s)} 11 dayTours:${n({destination:"galapagos",tags:["Day Tour"]},s)} 12 } `}),h=[...p,...I,...M,...Q,...j,...i,...w,...R,...V].filter(t=>t.tags.find(d=>d.toLowerCase()==a)),W=[...new Set(h.reduce((t,d)=>(t.push(d.destination.replace("-"," ")),t),[]))],f="https://www.voyagers.travel",k=[{title:"Tours",url:"tours",active:!1},{title:o(a),url:"",active:!0}],x=[{type:"breadcrumb",data:k.map(t=>({name:t.title,item:t.url===""?f:`${f}/${t.url}`}))}];return h.length>0&&x.push({type:"itemList",data:{name:`${o(a)} Tours`,description:`Tours related to ${o(a)}`,url:`${f}/tours/${a}`,items:h.map(t=>{const d=t.url&&t.url.startsWith("http")?t.url:t.url?`${f}/${t.destination}/tours/${t.url}`:"";
12return{name:t.title||"",description:t.shortDescription||"",url:d,price:t.price?Number(t.price):void 0,priceCurrency:"USD"}})}}),b.setMetaData({metaTitle:o(a)+"| Tours",metaDescription:`Explore our ${a} tours in South America and the Antarctica. Discover the best tailor made tours with Voyagers Travel.`,image:"https://firebasestorage.googleapis.com/v0/b/travel-web-app-1.appspot.com/o/flamelink/media/north-seymour-island-galapagos4.jpg?alt=media&token=7f04c51c-ef28-457b-bf99-3bdc847cd04b",schemas:x}),{tours:h,category:a,destinations:W,title:$,breadcrumbPages:k}},"$HwXPXqceEQ")),y=await y,_(),y),{tours:u,category:T,destinations:q,title:H}=L.value;return Y({...b.metaData}),(a,$)=>{const s=F;return e(N)=="success"&&e(u)&&e(u).length>0?(c(),m("div",ot,[g("div",it,[g("h1",nt,v(e(H)),1)]),g("section",null,[g("div",ct," Welcome to our section dedicated to "+v(e(o)(e(T)))+" Tours, where you can discover a wide range of curated travel experiences designed to suit all types of travelers. In this category, we showcase the best tours available, all tailored to provide you with unforgettable experiences. Be sure to browse through our selection to find the perfect tour for your next adventure ",1)]),e(T)!=="gastronomy"?(c(),m("div",lt,[(c(!0),m(D,null,B(e(q),r=>(c(),m("button",{key:r,class:"btn btn-light tw-font-semibold",onClick:()=>{l.value=e(u)?.filter(p=>p.destination.replace("-"," ")==r)}},v(e(o)(r)),9,ut))),128))])):C("",!0),Z(s,{"per-page":4,quantity:e(l)?e(l).length:e(u).length},{data:tt(({interval:{start:r,end:p}})=>[g("div",pt,[(c(!0),m(D,null,B((e(l)?e(l):e(u)).slice(r,p),(i,w)=>(c(),at(X,{key:w,tour:i,url:e(G)(i.type=="Cruise Tour"?i.type:e(S)(i.tags||[]),i.destination)},null,8,["tour","url"]))),128))])]),_:1},8,["quantity"])])):C("",!0)}}});export{Rt 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.