PageSourceSearch

https://www.interflora.co.uk/assets/uk_prd_main-20260922.2/_next/s…/component-fc3941126fdd9a0a.js

js interflora.co.uk collected 2026-09-24 09:54:38 UTC 5,679 bytes, 42 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8852ff8f-f2c2-492f-9ab1-6dacbc22114a",e._sentryDebugIdIdentifier="sentry-dbid-8852ff8f-f2c2-492f-9ab1-6dacbc22114a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1227],{41550:(e,t,r)=>{"use strict";r.d(t,{W:()=>a});var n=r(55729);let a=()=>{(0,n.useEffect)(()=>{let e=e=>{if(e.data?.type==="AMPLIENCE_COMPONENT_SELECTED"){let{componentId:t}=e.data,r=document.querySelector(`[data-component-id="${t}"]`);r&&(document.querySelectorAll(".amplience-component-highlighted").forEach(e=>{e.classList.remove("amplience-component-highlighted")}),r.classList.add("amplience-component-highlighted"),r.scrollIntoView({behavior:"smooth",block:"center"}))}};window.addEventListener("message",e);let t=document.createElement("style");return t.textContent=`
2      [data-component-id] {
3        position: relative;
4        transition: all 0.2s ease-in-out;
5      }
6      
7      [data-component-id]:hover {
8        outline: 2px dashed rgba(0, 123, 255, 0.5) !important;
9        outline-offset: 2px !important;
10        background-color: rgba(0, 123, 255, 0.05) !important;
11      }
12      
13      .amplience-component-highlighted {
14        outline: 3px solid #007bff !important;
15        outline-offset: 4px !important;
16        background-color: rgba(0, 123, 255, 0.1) !important;
17        box-shadow: 0 0 20px rgba(0, 123, 255, 0.3) !important;
18        z-index: 10 !important;
19      }
20      
21      [data-component-id]::before {
22        content: attr(data-display-name);
23        position: absolute;
24        top: 0;
25        left: 0;
26        background: #007bff;
27        color: white;
28        padding: 4px 8px;
29        font-size: 12px;
30        border-radius: 4px;
31        opacity: 0;
32        transition: opacity 0.2s ease-in-out;
33        pointer-events: none;
34        z-index: 1000;
35        white-space: nowrap;
36        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
37      }
38      
39      [data-component-id]:hover::before {
40        opacity: 1;
41      }
42    `,document.head.appendChild(t),()=>{window.removeEventListener("message",e),document.head.contains(t)&&document.head.removeChild(t)}},[])}},69620:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});
42var n=r(6029),a=r(20148),i=r(47740),o=r(68972),d=r(50350),s=r(83778),l=r(81278),c=r(55729),p=r(52995),u=r(85662),h=r(41550);let b=()=>{(0,s.A5)(null,!0);let e=(0,l.useRouter)();(0,h.W)();let t=(0,a.I)(d.cd,{variables:{input:{type:"DEFAULT",path:"/"}},ssr:!1}),r=(0,a.I)(d.Nf,{variables:{input:{id:e.query.id}},fetchPolicy:"no-cache",skip:!e.query.id,ssr:!1}),[b,m]=(0,c.useState)({}),f={...t.data?.outlineRenderGraph,featureFlags:b},x=(0,u.findAllComponents)("Experiment")(r.data?.component);return t.loading||r.loading?(0,n.jsx)(i.A,{children:(0,n.jsx)("h1",{children:"Loading"})}):t.error||r.error?(0,n.jsxs)(i.A,{children:[(0,n.jsx)("h1",{children:"Error:"}),(0,n.jsx)("p",{children:"string"==typeof t.error?t.error:r.error.message})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.A,{renderGraph:f,disableGtm:!0,disableOneTrust:!0,disableDebugbear:!0,disableSnapchatPixel:!0,disablePodScribePixel:!0,children:(0,n.jsx)(i.A,{children:r.data?.component?(0,p.f)([r.data.component]):null})}),!!x.length&&(0,n.jsx)(u.OverrideExperimentDefaults,{experiments:x,experimentDefaults:b,setExperimentDefaults:m})]})}},85662:(e,t,r)=>{"use strict";r.r(t),r.d(t,{OverrideExperimentDefaults:()=>m,default:()=>b,findAllComponents:()=>h});
42var n=r(6029),a=r(20148),i=r(47740),o=r(50350),d=r(83778),s=r(81278),l=r(55729),c=r(68972),p=r(41550);let u=e=>t=>(Array.isArray(t)?t:[t]).reduce((t,r)=>{if(Array.isArray(r))return[...t,...u(e)(r)];if(r&&"object"==typeof r)if(e(r))return[...t,r];else return[...t,...Object.values(r).reduce((t,r)=>r&&"object"==typeof r?[...t,...u(e)(r)]:t,[])];return t},[]),h=e=>t=>u(t=>t?.uiType==e)(t),b=()=>{(0,d.A5)(null,!0);let e=(0,s.useRouter)(),t=(0,a.I)(o.pz,{variables:{input:{keyType:"ID",keyValue:e.query.id}},fetchPolicy:"no-cache",skip:!e.query.id,ssr:!1});(0,p.W)();let[r,u]=(0,l.useState)({quick_category_facets:!0,category_pcc:!0}),b={...t.data?.renderGraph,featureFlags:r},f=h("Experiment")(b?.page?.components);return t.loading?(0,n.jsx)(i.A,{children:(0,n.jsx)("h1",{children:"Loading"})}):t.error?(0,n.jsxs)(i.A,{children:[(0,n.jsx)("h1",{children:"Error:"}),(0,n.jsx)("p",{children:t.error.message})]}):t.data?.renderGraph?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.A,{renderGraph:b,disableGtm:!0,disableOneTrust:!0,disableDebugbear:!0,disableSnapchatPixel:!0,disablePodScribePixel:!0}),!!f.length&&(0,n.jsx)(m,{experiments:f,experimentDefaults:r,setExperimentDefaults:u})]}):null},m=({experiments:e,experimentDefaults:t,setExperimentDefaults:r})=>(0,n.jsx)("div",{style:{position:"fixed",bottom:20,right:20,zIndex:999999,background:"white",border:"1px solid black",width:300,padding:10},children:e.map(e=>(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{children:["Experiment: ",e.data.experimentId]}),(0,n.jsx)("div",{style:{gap:8,display:"flex"},children:e.data.variants.map(a=>{let i=`experiment-default-${e.data.experimentId}`,o=t[i]===a.variantId;return(0,n.jsx)("button",{style:{border:"1px solid grey",padding:"5px",minWidth:40,background:o?"lightblue":void 0,cursor:"pointer"},onClick:()=>r(e=>({...e,[i]:a.variantId})),children:a.variantId},a.variantId)})})]},e.data.experimentId))})},87249:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/visualisation/component",function(){return r(69620)}])}},e=>{e.O(0,[988,3172,636,6593,8792],()=>e(e.s=87249)),_N_E=e.O()}]);

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.