PageSourceSearch

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

js premierholidays.co.uk collected 2026-10-02 11:46:54 UTC 1,410 bytes, 5 lines download raw bytes

1const l=r=>!r||typeof r!="string"?"":r.replaceAll("&amp;","&").replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#34;",'"').replaceAll("&#39;","'").replaceAll("&#x27;","'").replaceAll("&apos;","'"),c=r=>{const e=l(r);if(!e)return[];const n=e.split(/\r?\n/);return n.map((t,s)=>({value:t,breakAfter:s<n.length-1}))},p=r=>!r||typeof r!="string"?[]:r.split(/(\[star\])/gi).filter(e=>e!=="").map(e=>e.toLowerCase()==="[star]"?{star:!0}:{value:e}),i=r=>!r||typeof r!="string"?"":r.replace(/(\d)\s*\[star\]/gi,"$1 star").replace(/ ?\[star\] ?/gi," "),u=r=>!r||typeof r!="string"?!1:r.replace(/<[^>]*>/g,"").replaceAll("&nbsp;"," ").trim().length>0,o=new Set(["paragraph","heading","listitem","quote"]),f=r=>{const e=r?.root?.children;if(!Array.isArray(e))return"";const n=t=>{if(!t)return"";if(typeof t.text=="string")return i(l(t.text));if(t.type==="linebreak")return`
2`;if(!Array.isArray(t.children))return"";const s=t.children.some(a=>o.has(a?.type))?`
3`:"";return t.children.map(n).join(s)};return e.map(t=>n(t).trim()).filter(Boolean).join(`
4
5`)},g=r=>{const e=r?.fields?.url||r?.url||"#";return typeof e=="string"&&e.length>0?e:"#"},h=r=>{const e=Number(r)||0,n=[];return(e&8)===8&&n.push("underline"),(e&4)===4&&n.push("line-through"),{bold:(e&1)===1,italic:(e&2)===2,code:(e&16)===16,decoration:n.join(" ")}};export{c as a,g as b,h as c,l as d,p as g,u as h,f as l,i as s};

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.