PageSourceSearch

https://www.theograce.co.uk/_next/static/chunks/241.fc864f693afa4ca3.js

js theograce.co.uk collected 2026-10-08 03:36:20 UTC 5,691 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[241],{185:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var l=r(37876),n=r(6936),o=r(69404),s=r(17705),a=r(26283),i=r(93734),d=r.n(i);let c=e=>{let{titleId:t,instanceKey:r,name:i,price:c,rating:u}=e,m=(0,s.p)(e=>e.ecommerce.productCardReviewsEnabled)&&null!=u&&u.total>=10;return(0,l.jsxs)("div",{className:d().HeaderInfo,children:[(0,l.jsx)(n.A,{variant:"headline4",tag:"h1",className:d().Title,id:t,tabIndex:-1,children:i}),(0,l.jsx)(a.A,{price:c,instanceId:r}),m&&(0,l.jsx)(o.A,{score:u.score,total:u.total})]})}},3162:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var l=r(14232);let n=e=>{(0,l.useLayoutEffect)(()=>{var t;if(!e)return;let r=document.getElementById("Header"),l=null!=(t=null==r?void 0:r.getBoundingClientRect().bottom)?t:0;document.documentElement.style.setProperty("--header-bottom-offset","".concat(l,"px"))},[e])}},7891:e=>{e.exports={ProductRating:"productRating_ProductRating__h2UgM",Card:"productRating_Card__2u5KX"}},26283:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var l=r(37876),n=r(74280),o=r(73795);let s=e=>{let{instanceId:t,price:r,className:s}=e,a=(0,o.c)(t),{selling:i,discountType:d,discountAmount:c}=r;return(0,l.jsx)(n.A,{selling:i,discountType:d,discountAmount:c,priceAdjustmentsSum:a,className:s,sellingPriceTypographyVariant:"headline12",crossedPriceTypographyVariant:"headline5"})}},43864:e=>{e.exports={EditorView:"editorLayout_EditorView__Mlif3"}},69404:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var l=r(37876),n=r(15039),o=r.n(n),s=r(6936),a=r(8378),i=r(7891),d=r.n(i);let c=e=>{let{score:t,total:r,card:n=!1,className:i}=e;return(0,l.jsxs)("div",{className:o()(d().ProductRating,n&&d().Card,i),children:[(0,l.jsx)(a.A,{score:t}),(0,l.jsxs)(s.A,{variant:"text5",children:["(",r,")"]})]})}},83367:e=>{e.exports={Product:"editorProductSection_Product__FHzAQ",Compact:"editorProductSection_Compact__Uzrbe",ItemEditor:"editorProductSection_ItemEditor__hURCl",Details:"editorProductSection_Details__1V2ao",Loading:"editorProductSection_Loading__DXBfy",ProductImage:"editorProductSection_ProductImage__0Jrfy",ProductImageZoom:"editorProductSection_ProductImageZoom__X2e_f"}},90241:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var l=r(37876),n=r(852),o=r(96798),s=r.n(o),a=r(12632),i=r(72091),d=r(26667),c=r(14232),u=r(90259),m=r(185),p=r(43864),_=r.n(p),g=r(2564),v=r(29132),x=r(21410),h=r(3162);let f=e=>{let{isVisible:t=!1,onClose:r,onSave:o,ItemEditor:p,isLoading:f=!1,catalogProduct:P,instanceKey:j,buttonText:A}=e,I=(0,i.u)(e=>e.itemEditorsList[j].validationErrors),y=p&&P&&j,C=(0,x.H)(j,P),E=(0,c.useMemo)(()=>P?P.mediaGallery.slice(0,3):[],[P]),N=(0,c.useMemo)(()=>P?(0,g.db)(P.pricing):{selling:0},[P]),b=(0,c.useMemo)(()=>{var e;return P?{src:null!=(e=(0,v.Ti)(P.mediaGallery))?e:"",alt:P.name,title:P.name}:null},[P]),S=(0,c.useRef)(C);S.current=C;let B=(0,c.useMemo)(()=>{if(p)return e=>(0,l.jsx)(p,{className:e.className,customComponents:d.K,plugins:S.current})},[p]),k=(0,c.useId)();return((0,c.useEffect)(()=>{var e;null==(e=document.getElementById(k))||e.focus({preventScroll:!0})},[k,j]),(0,h.A)(t),y&&B&&P)?(0,l.jsx)(n.A,{visible:t,id:"nested-items-panel",header:(0,l.jsx)(m.A,{titleId:k,instanceKey:j,name:P.name,price:N}),headerTemplate:"emphasized",onBackdropClick:r,onClose:r,slideFrom:{mobile:"block-end",desktop:"inline-end"},className:s().CrossSellPanel,children:(0,l.jsx)("div",{className:_().EditorView,children:(0,l.jsx)(u.A,{ItemEditor:B,instanceKey:j,name:P.name,price:N,media:E,image:b,renderTitle:!1,loading:f,children:(0,l.jsx)("div",{className:s().ButtonWrapper,children:(0,l.jsx)(a.A,{variant:"a2c",className:s().Button,onClick:o,disabled:f||I.length>0,children:A})})})})}):null}},90259:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var l=r(37876),n=r(14232),o=r(15039),s=r.n(o),a=r(6936),i=r(79694),d=r(57126),c=r(51286
1),u=r(619),m=r(69404),p=r(51582),_=r(17705),g=r(26283),v=r(83367),x=r.n(v);let h=e=>{var t,r,o,v;let{ItemEditor:h,instanceKey:f,name:P,price:j,media:A,image:I,rating:y,ribbons:C,loading:E,inert:N,renderTitle:b=!0,children:S}=e,B=(0,n.useId)();(0,n.useEffect)(()=>{var e;b&&(null==(e=document.getElementById(B))||e.focus({preventScroll:!0}))},[B,f,b]);let k=A.filter(e=>"video"===e.type).length,R=A.length>0&&(null==(t=A[0])?void 0:t.type)==="video"&&1===k,w=(0,_.p)(e=>e.ecommerce.productCardReviewsEnabled)&&null!=y&&y.total>=10,H=(null!=C?C:[]).filter(e=>e.value&&"none"!==e.type),T=H.length?H.map((e,t)=>(0,l.jsx)(p.A,{...e,position:1===t?"top-left-offset":"top-left"},"".concat(e.type,"-").concat(t))):void 0;return(0,l.jsxs)("section",{className:s()(x().Product,!b&&x().Compact),inert:N,children:[E&&(0,l.jsx)("div",{className:x().Loading,children:(0,l.jsx)(u.A,{})}),b&&(0,l.jsxs)("div",{className:x().Details,children:[(0,l.jsx)(a.A,{variant:"headline4",tag:"h1",id:B,tabIndex:-1,children:P}),(0,l.jsx)(g.A,{price:j,instanceId:f}),w&&(0,l.jsx)(m.A,{score:y.score,total:y.total})]}),A.length>1?(0,l.jsx)(d.A,{slides:A,enableSound:R,itemsPerView:1.5,dotsDisplay:"none",itemsGap:"xxxs",mainOverlay:T}):(0,l.jsx)(c.A,{resetTriggers:[null==I?void 0:I.src,f],wheelZoom:!1,wrapperClassName:x().ProductImageZoom,children:(0,l.jsx)(i.A,{className:x().ProductImage,src:null!=(r=null==I?void 0:I.src)?r:"",alt:null!=(o=null==I?void 0:I.alt)?o:"",title:null!=(v=null==I?void 0:I.title)?v:"",ribbons:H.length?H:void 0})}),(0,l.jsx)(h,{className:x().ItemEditor}),S]})}},93734:e=>{e.exports={HeaderInfo:"editorProductHeaderInfo_HeaderInfo__4H_HW",Title:"editorProductHeaderInfo_Title__zZKI5"}},96798:e=>{e.exports={CrossSellPanel:"crossSellPanel_CrossSellPanel__qtkOt",Button:"crossSellPanel_Button__2QRdq",ButtonWrapper:"crossSellPanel_ButtonWrapper__U1kJ2"}}}]);

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.