PageSourceSearch

https://www.premierholidays.co.uk/_nuxt/C_NHbtVw.js

js premierholidays.co.uk collected 2026-10-02 11:47:15 UTC 909 bytes, 3 lines download raw bytes

1import{l as u}from"./Dp4LzAFS.js";const m="https://www.premierholidays.co.uk",p=n=>`${m}${n}`,g=n=>p(`/destinations/${n}`),d=6,c=(n,i)=>{if(n==null||n==="")return null;const t=Number(n);return Number.isFinite(t)&&Math.abs(t)<=i?t:null},y=(n,i)=>{if(!n?.name||!i)return null;const t={"@context":"https://schema.org","@type":"TouristDestination",name:n.name,url:i},e=n.meta?.description?.trim()||u(n.content?.description).split(`
2
3`)[0]||"";e&&(t.description=e);const a=(n.media?.images||[]).map(r=>r?.cloudinaryUrl).filter(Boolean).slice(0,d);a.length&&(t.image=a);const s=c(n.location?.latitude,90),l=c(n.location?.longitude,180);s!==null&&l!==null&&(t.geo={"@type":"GeoCoordinates",latitude:s,longitude:l});const o=n.productLinks?.country;return o?.name&&o?.slug&&o.slug!==n.slug&&(t.containedInPlace={"@type":o.type==="country"?"Country":"Place",name:o.name,url:g(o.slug)}),t};export{p as a,g as d,y as g};

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.