1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2620],{10239:(e,i,l)=>{l.r(i),l.d(i,{default:()=>o});var t=l(95155),n=l(33599),r=l(63365),a=l(61804),d=l(9273),s=l(45314),u=l(63570);let c=e=>{var i,l,n,r,a;let c,o,f,_,h,{data:p,response:v}=e,m=null==v||null==(i=v.included)?void 0:i.find(e=>{var i,l;return e.id===(null==(l=p.relationships.field_content_type)||null==(i=l.data)?void 0:i.id)});if("paragraph--reference_item"===p.type){let e=null==v||null==(l=v.included)?void 0:l.find(e=>{var i,l;return e.id===(null==(l=p.relationships.field_reference)||null==(i=l.data)?void 0:i.id)});if(!e)return null;o=e.attributes.title,c=null==v||null==(n=v.included)?void 0:n.find(i=>{var l,t;return i.id===(null==e||null==(t=e.relationships.field_media)||null==(l=t.data)?void 0:l.id)}),f=null==e?void 0:e.attributes.field_description,_={uri:{alias:"",uri:"",uri_uuid:""},alias:e.attributes.path.alias,aliasTranslation:""},h=p.attributes.field_button_label}else c=null==v||null==(r=v.included)?void 0:r.find(e=>{var i,l;return e.id===(null==(l=p.relationships.field_media)||null==(i=l.data)?void 0:i.id)}),o=p.attributes.field_title,f=p.attributes.field_description,_=p.attributes.field_button;return(0,t.jsxs)("div",{className:"c-reference-item",children:[c&&(0,t.jsxs)("div",{className:"c-reference-item__image-container",children:[(0,t.jsx)(s.A,{item:c,response:v,wrapperClass:"c-reference-item__image",objectFit:"cover",imageClass:"max-w-100 h-auto"}),m&&(0,t.jsx)("div",{className:"c-reference-item__tag",children:m.attributes.name})]}),(0,t.jsxs)("div",{className:"c-reference-item__content",children:[o&&(0,t.jsx)("h4",{children:o}),f&&(0,t.jsx)(u.A,{extraClass:"c-reference-item__description",html:f.processed}),_&&(0,t.jsx)(d.A,{extraClass:"btn btn--blue-secondary",link:_,children:null!=(a=_.title)?a:h})]})]})},o=e=>{var i,l;let{paragraph:d,response:s}=e,u=null==s||null==(i=s.included)?void 0:i.find(e=>e.id===d.id);if(!u)return null;let{field_title:o,field_layout:f}=u.attributes,_=null==s||null==(l=s.included)?void 0:l.filter(e=>{var i,l;return null==(l=u.relationships.field_reference_item)||null==(i=l.data)?void 0:i.find(i=>i.id===e.id)});return(0,t.jsx)("section",{className:"c-in-the-picture-section c-in-the-picture-section--layout-".concat(f," section--bg-splitGreyLeft"),children:(0,t.jsxs)(a.default,{fluid:!0,children:[o&&(0,t.jsx)("h2",{children:o}),(0,t.jsx)(n.default,{children:_.map(e=>(0,t.jsx)(r.default,{lg:{span:"horizontal"===f?4:8,offset:2*("horizontal"!==f)},children:(0,t.jsx)(c,{response:s,data:e})},e.id))})]})})}}}]);
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.