PageSourceSearch

https://www.nandos.co.uk/_next/static/chunks/552.6ad4c4279f85b401.js

js nandos.co.uk collected 2026-10-02 06:18:27 UTC 2,053 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552],{552:(t,e,r)=>{r.r(e),r.d(e,{Button:()=>o,ButtonBlock:()=>u,ButtonGroup:()=>i,ButtonGroupBlock:()=>s});var n=r(95155),l=r(88107),a=r(26474);let i=({buttons:t,buttonAlignment:e="start"})=>(0,n.jsx)(l.so,{flexDirection:"row",gap:"space-4",flexWrap:"wrap",marginTop:"space-6",justifyContent:e,children:t?.map((t,r)=>{let i=t.asset?.filename||t.link||t.action?.url,s=(0,a.B)(i),o=t.text||t.action?.title,u=t.action?.target||(s.startsWith("http")?"_blank":"_self");return s&&o?(0,n.jsx)(l.$n,{as:"a",href:s,target:u,rel:"_blank"===u?"noopener noreferrer":void 0,variant:t.variant??"primary",style:{display:"inline-flex",marginTop:0},alignSelf:e,children:o},r):null})}),s=({blok:t})=>(0,n.jsx)(i,{buttons:t.buttons,buttonAlignment:t.align||void 0}),o=t=>(0,n.jsx)(i,{buttons:[t],buttonAlignment:t.buttonAlignment??"start"}),u=({blok:t})=>(0,n.jsx)(o,{...t})},26474:(t,e,r)=>{r.d(e,{B:()=>u});var n=r(65798);let l=/^[A-Z]{2}$/,a=new Set(["en-ie"]),i=/^([a-z][a-z0-9+\-.]*):/i,s=new Set(["http","https","mailto","tel"]),o=t=>l.test(t.toUpperCase())||a.has(t.toLowerCase()),u=t=>{let e;if("string"!=typeof t)return"";let r=t.trim();if(!r||r.startsWith("//"))return"";if(!r.startsWith("/")){let t=r.match(i);if(t){let e=t[1].toLowerCase();return s.has(e)?(0,n.F)(e,r):""}return r}try{decodeURI(r)}catch{return r}try{e=new URL(r,"https://nandos.co.uk")}catch{return r}let l=e.pathname.split("/").filter(Boolean);for(;l.length>0&&o(l[0]);)l.shift();let a=l.reduce((t,e)=>{let r=e.toLowerCase();if("website"===r)return t;let n=t[t.length-1];return n&&n===r||t.push(r),t},[]),u=a.length?`/${a.join("/")}`:"/";return`${u}${e.search}${e.hash}`}},65798:(t,e,r)=>{r.d(e,{F:()=>n});let n=(t,e)=>{if("tel"===t){let[t,...r]=e.slice(4).split(";"),n=t.replace(/[^\d+\-.()]/g,""),l=r.length?`;${r.join(";")}`:"";return`tel:${n}${l}`}if("mailto"===t){let t=e.slice(7),r=t.indexOf("?");return -1===r?`mailto:${t.replace(/\s+/g,"")}`:`mailto:${t.slice(0,r).replace(/\s+/g,"")}${t.slice(r)}`}return e}}}]);

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.