PageSourceSearch

https://www.cruise.co.uk/theon/_nuxt/DbLIdKkz.js

js cruise.co.uk collected 2026-10-02 10:29:07 UTC 2,229 bytes, 1 lines download raw bytes

1import{L as B}from"./CCIAe_8a.js";import{_ as x}from"./Ct2io2hj.js";import{e as I,E as b,G as $,p as P,q as _,s as S,i as a,a as f,f as g,y as h,b as E,k as l,o as i,aa as T}from"./DPSUJBQt.js";import{C as D}from"./BsdszRkl.js";import{_ as A}from"./R4hiRJGZ.js";import{u as L}from"./BDoG84B5.js";import{u as M}from"./T6l2-Rya.js";import{d as F}from"./LCLLHp-O.js";import"./rXtRG7_t.js";/* empty css        */import"./lupnmuFY.js";import"./BtpXjmIm.js";const H={key:0,class:"wrapper h-[50vh] flex items-center justify-center"},N={key:1,class:"bg-theme-grey-5"},Y=I({__name:"[slug]",async setup(O){let n,u;const s=b(),{path:m}=s,p=L(),{destination:v}=$(p),o=l(()=>v.value.data?.items[0]?.fields||{}),t=l(()=>o.value?.heroBanner?.fields);let r=s.params.slug;const{pending:y}=([n,u]=P(async()=>M(()=>`destinationPage-${s.fullPath}`,async()=>{try{const d=s.path.replace(/^\/|\/$/g,"").split("/");return r=typeof r!="string"?d[0]:r,await p.fetchDestination({content_type:"destinationPage","fields.slug[in]":r,order:"sys.createdAt",include:4})}catch(c){throw new Error(c.message)}},{immediate:!0})),n=await n,u(),n),e=l(()=>D(o.value?.seoMetaFields));return _({ogTitle:()=>e.value?.title||t.value?.headingText||"",ogUrl:()=>`https://www.cruise.co.uk${m}`,ogDescription:()=>e.value?.description,title:()=>e.value?.title||t.value?.headingText||"",description:()=>e.value?.description||t.value?.summary,keywords:()=>e.value?.keywords,robots:()=>e.value?.robots}),e.value?.img?_({ogImage:e.value?.img,twitterImage:e.value?.img}):F("Cruise.takumi",{title:e.value?.title||t.value?.headingText||"",description:e.value?.description||t.value?.summary||"",bgImage:t.value?.heroBannerImages?.length&&t.value.heroBannerImages[0].public_id?`https://www-cruise-co-uk-res.cloudinary.com/image/upload/w_1000,f_auto/v1/${t.value.heroBannerImages[0].public_id}`:void 0}),S({link:[{rel:"canonical",href:`https://www.cruise.co.uk${m}`}]}),(c,d)=>{const w=B,k=x,C=T;return a(y)?(i(),f("div",H,[g(w)])):a(o)?(i(),f("div",N,[a(o).heroBanner?(i(),h(A,{key:0,"content-fields":a(o).heroBanner?.fields},null,8,["content-fields"])):E("",!0),g(k,{"content-sections":a(o).contentSections},null,8,["content-sections"])])):(i(),h(C,{key:2}))}}});export{Y 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.