1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9224],{29224:(n,e,i)=>{i.r(e),i.d(e,{ComponentLink:()=>t.a,ComponentLinkContainer:()=>r.r,ComponentLinkPreview:()=>g,useContentfulLink:()=>C.Ws});var t=i(12271),r=i(27972),l=i(50979),a=i(54849),s=i.n(a),h=i(26372),o=i.n(h),d=i(29498),u=i(25963),c=i(6313),k=i(28700);let g=n=>{let{productSlug:e,as:i,linkLabel:t,linkHref:r,ariaLabel:a,newTab:h,image:g,logo:C}=n,[m,p]=(0,u.useState)(!1);async function w(){return p(!0),null}return i===c.rt.AddToCart&&e?(0,l.jsx)(d.$,{size:"lg",maxWidth:"max-content",margin:"0 auto",onClick:w,isLoading:m,isDisabled:!1,children:(0,l.jsx)("span",{children:t})}):r&&t?(0,l.jsxs)(o(),{href:r,"aria-label":a||"",target:h?"_blank":"","data-testid":"component-link",children:[t,g&&(0,l.jsx)(s(),{src:g.url,width:g.width,height:g.height,alt:g.title}),C&&(0,l.jsx)(s(),{src:C.url,width:C.width,height:C.height,alt:C.title})]},t):(k.Vy.warn({err:"ComponentLinkPreview missing required fields",linkId:null!=t?t:"Missing",hasHref:String(!!r),hasLabel:String(!!t)},"[ComponentLinkPreview] Missing href or label for label: ".concat(t)),null)};var C=i(17784)}}]);
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.