1import{o as a,a as o,j as m,w as b,v as C,b as n,n as y,d as v,k as S,f as c,l as w,m as r,p as D,q as g,r as A,T as $,L as T,F as I,s as P,i as j,t as F,x as L,u as N,y as E}from"./wasFCxmo.js";import{_ as H}from"./DwnTlBSw.js";import{u as R}from"./CA2qDSco.js";import{u as Y,d as B}from"./Dy_kKeVt.js";const O={key:0,class:"picture-element"},Z=["srcset"],z=["srcset"],K=["srcset"],M=["src","alt","loading"],U={__name:"Picture",props:{srcsets:{type:Object,default:()=>({})},alt:{type:String,default:""},imgClass:{type:String,default:""},loading:{type:String,default:"lazy"}},setup(e){return(i,s)=>e.srcsets?(a(),o("picture",O,[e.srcsets.xlarge?(a(),o("source",{key:0,media:"(min-width: 1240px)",srcset:e.srcsets.xlarge},null,8,Z)):m("",!0),e.srcsets.large?(a(),o("source",{key:1,media:"(min-width: 992px)",srcset:e.srcsets.large},null,8,z)):m("",!0),e.srcsets.medium?(a(),o("source",{key:2,media:"(min-width: 767px)",srcset:e.srcsets.medium},null,8,K)):m("",!0),b(n("img",{src:e.srcsets.small,alt:e.alt,width:"767",loading:e.loading,class:y(["transition-all duration-300",e.imgClass])},null,10,M),[[C,e.srcsets.small]])])):m("",!0)}},W={class:"hero-search"},V={class:"bg-theme-grey-1 relative w-full h-auto aspect-[375/485] md:aspect-[768/335] xl:aspect-[1480/448] flex items-end justify-center z-10"},q={class:"mx-auto wrapper z-1 pb-[19px] md:pb-[28px] xl:pb-[30px] w-full"},X={class:"wrapper"},J={key:0},Q={key:1,class:"text-center flex flex-wrap gap-4 justify-center lg:justify-start w-full"},p="CRUSELINES/Seadream/Seadream%20II/exterior/seadream-II-yachts-7_DSC_0185-edit",G=v({__name:"HeroSearch",props:{images:{}},setup(e){const i=S(),s=g(()=>i.navData);return(_,l)=>{const t=A,f=U,h=D;return a(),o("div",W,[n("div",V,[n("div",q,[c(t,{"search-open":!0,"is-hero":!0})]),c(f,{srcsets:{xlarge:`https://www-cruise-co-uk-res.cloudinary.com/image/upload/c_fill,w_2000/v1/${e.images.desktop?.public_id||p}?_a=DATAg1iuZAA0`,large:`https://www-cruise-co-uk-res.cloudinary.com/image/upload/c_fill,w_1240,f_auto/v1/${e.images.desktop?.public_id||p}?_a=DATAg1iuZAA0`,medium:`https://www-cruise-co-uk-res.cloudinary.com/image/upload/c_fill,w_992,f_auto/v1/${e.images.tablet?.public_id||p}?_a=DATAg1iuZAA0`,small:`https://www-cruise-co-uk-res.cloudinary.com/image/upload/c_fill,w_700,f_auto/v1/${e.images.mobile?.public_id||p}?_a=DATAg1iuZAA0`},"img-class":"object-cover w-full h-full absolute inset-0",alt:"Seascape",loading:"eager"},null,8,["srcsets"])]),n("div",X,[c(h,{"nav-data":r(s)},{default:w(({quickSearchItems:d})=>[n("div",{class:y(["mt-8 text-center lg:flex lg:items-start lg:justify-center lg:gap-4",{"lg:items-center":!(r(s)&&r(s).length)}])},[l[0]||(l[0]=n("h3",{class:"font-theme-bold text-t-primary-dark text-md pb-5 lg:text-lg lg:pb-0 lg:pt-2 lg:flex-shrink-0"}," Quick search: ",-1)),c($,{mode:"out-in"},{default:w(()=>[r(s)&&r(s).length?(a(),o("nav",J,[c(T,{labels:d,class:"justify-center lg:justify-start"},null,8,["labels"])])):(a(),o("div",Q,[(a(),o(I,null,P(5,u=>n("div",{key:u,class:"skeleton-gradient rounded-full py-2 px-3 content-center text-sm xl:text-base flex-1 min-h-[20px] min-w-[40px]"})),64))]))]),_:2},1024)],2)]),_:1},8,["nav-data"])])])}}}),ee=j(G,[["__scopeId","data-v-33f3700c"]]),le=v({__name:"index",async setup(e){let i,s;const{$contentful:_}=F(),l=([i,s]=L(async()=>R("homepage",async()=>{const d=await _.getEntries({content_type:"homepage","sys.id":"5pL1oW4RylK9ZhrKn8XXq2",include:4}),u=JSON.parse(d.stringifySafe());return u.items&&u.items[0].fields||{}})),i=await i,s(),i),t=g(()=>l?.data?.value?.seoMeta||{});N({title:()=>`Home Of The Real Cruise People | Book Your ${new Date().getFullYear()} & ${new Date().getFullYear()+1} Deals Today`,ogTitle:()=>`Home Of The Real Cruise People | Book Your ${new Date().getFullYear()} & ${new Date().getFullYear()+1} Deals Today`,description:()=>
1t.value.description||"Welcome to the home of the Real Cruise People. Discover our best ever selection of Cheap Cruises, with huge discounts on all departures from top UK Ports.",ogDescription:()=>t.value.description||"Welcome to the home of the Real Cruise People. Discover our best ever selection of Cheap Cruises, with huge discounts on all departures from top UK Ports.",ogUrl:()=>"https://www.cruise.co.uk/",keywords:()=>t.value?.keywords}),Y([B({contactPoint:{"@type":"ContactPoint",contactType:t?.value?.fields?.organisationContactType||"Customer Service",telephone:t?.value?.fields?.organisationTelephone||"0330 303 8473",email:t?.value?.fields?.organisationEmail||"[email protected]"},keywords:t?.value?.fields?.keywords?.join(", ")||"cruises, cruise deals, cruise offers, last minute cruises, mini cruises, regional fly-cruise deals, cruise and stay deals",sameAs:t?.value?.fields?.socialLinks||["https://www.facebook.com/Cruise.co.uk","https://x.com/Cruisedotco","https://www.instagram.com/cruisedotco"]})]),E({link:[{rel:"canonical",href:"https://www.cruise.co.uk"}]});const f=g(()=>l?.data?.value?.contentSections||{}),h=g(()=>({desktop:l?.data?.value?.splashImageDesktop[0],tablet:l?.data?.value?.splashImageTablet[0],mobile:l?.data?.value?.splashImageMobile[0]}));return(d,u)=>{const x=ee,k=H;return a(),o("div",null,[c(x,{images:r(h)},null,8,["images"]),c(k,{"content-sections":r(f)},null,8,["content-sections"])])}}});export{le 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.