1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8067,6753],{78067:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return s}});var a=r(57437),l=r(78270),i=r(54477),n=r(1921);function s(e){let{heading:t,text:r,items:s}=e;return(0,a.jsx)(n.Z,{className:"listing-grid",headingExcluded:!(null==t?void 0:t.heading),children:(0,a.jsxs)("div",{className:"container",children:[((null==t?void 0:t.heading)||r)&&(0,a.jsxs)("header",{className:"text-center lg:text-left mb-6",children:[(null==t?void 0:t.heading)&&(0,a.jsx)(i.Z,{level:null==t?void 0:t.headingLevel,size:"heading-4",margin:"mb-0",children:t.heading}),r&&(0,a.jsx)("div",{className:"rte body-base text-balance max-w-prose pt-2 mx-auto lg:mx-0",dangerouslySetInnerHTML:{__html:r.markup}})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-2 md:gap-4 xl-gap-6",children:s.map((e,t)=>(0,a.jsx)(l.default,{category:e.imageCard.category,title:e.imageCard.title,text:e.imageCard.text,subText:e.imageCard.subText,link:e.imageCard.link,image:e.imageCard.image,hoverImage:e.imageCard.hoverImage,video:e.imageCard.video},t))})]})})}},76753:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return s}});var a=r(57437),l=r(2265);let i=e=>{try{let t=new URL(e);if(t.href.includes("youtube.com/embed")||t.host.includes("player.vimeo.com"))return!0;return!1}catch(e){return!1}},n=e=>Object.entries(e).reduce((e,t)=>{let[r,a]=t,l="".concat(r,"=").concat(a);return""===e?l:e+"&"+l},"");var s=(0,l.forwardRef)(function(e,t){let{src:r,className:l,poster:s,preload:o,autoPlay:c,controls:d,playsInline:u,title:m,muted:f,loop:g}=e;if(!r)return null;if(i(r)){let e=(r.includes("?")?"&":"?")+n({"amp;autoplay":c?1:0,mute:f?1:0,loop:g?1:0});return(0,a.jsx)("iframe",{className:l,src:r+e,title:m,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0})}return(0,a.jsx)("video",{ref:t,className:l,src:r,poster:s,preload:o,autoPlay:c,loop:g,muted:f,controls:d,playsInline:u})})},78270:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return m}});var a=r(57437),l=r(66648),i=r(87138),n=r(2265),s=r(44839),o=r(76753),c=r(34833),d=r(35348),u=r(77220);function m(e){let{category:t,title:r,text:m,subText:f,link:g,image:h,hoverImage:p,video:v,isReserveTheme:x=!1}=e,y=(0,n.useRef)(null),j=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:(0,s.Z)('card__image group absolute inset-0 flex bg-primary-dark-3 after:content-[""] after:absolute after:inset-0 after:bg-gradient-to-b after:from-transparent after:from-1.5% after:via-black/50 after:via-35.49% after:via-black/67 after:via-58.94% after:to-black/75 after:pointer-events-none to-80%',g&&!v&&"transition-transform hover:scale-105",g&&v&&!(0,d.H)(v)&&"transition-transform hover:scale-105"),children:[(null==h?void 0:h.url)&&(0,a.jsx)(l.default,{className:"w-full h-full object-fit object-cover",src:h.url+"?width=560",alt:h.altText,width:h.width,height:h.height,loading:"lazy"}),!v&&(null==p?void 0:p.url)&&(0,a.jsx)(l.default,{className:"w-full h-full absolute inset-0 object-fit object-cover opacity-0 group-hover:opacity-100 transition-opacity duration-500",src:p.url+"?width=560",alt:p.altText,width:p.width,height:p.height,loading:"lazy"}),v&&(0,d.H)(v)&&(0,a.jsx)("div",{className:"absolute inset-0 opacity-100 group-hover:opacity-100 transition-opacity",children:(0,a.jsx)(o.default,{ref:y,className:"w-full h-full object-fit object-cover",src:v,poster:h.url,loop:!0,muted:!0})})]}),t&&(0,a.jsx)("div",{className:"flex p-6",children:(0,a.jsx)(c.Z,{type:"primary",name:t.name})}),(0,a.jsxs)("div",{className:"card__content relative grid gap-y-2 p-6 text-primary-light",children:[(0,a.jsx)("div",{className:"font-czoo-sharp-grotesk heading heading-5",children:r}),m&&(0,a.jsx)("div",{className:"body-xs line-clamp-[10]",dangerouslySetInnerHTML:{__html:m.markup}}),f&&(0,a.jsx)("div",{className:"text-xs lg:text-sm font-semibold",children:f})]})]}),b=(0,s.Z)("relative flex flex-col h-full aspect-7/9 md:aspect-11/16 lg:aspect-2/3 outline-none overflow-hidden",t?"justify-between":"justify-end",x?"rounded":"rounded-2xl lg:rou
1nded-3xl");return(0,a.jsx)("div",{className:"card-base",onMouseEnter:()=>{var e;return null===(e=y.current)||void 0===e?void 0:e.play()},onMouseLeave:()=>{var e;return null===(e=y.current)||void 0===e?void 0:e.pause()},children:g?(0,a.jsx)(i.default,{className:(0,s.Z)(b,"focus:outline-primary-accent focus:outline focus:outline-2"),href:(0,u.n)(g),target:null==g?void 0:g.target,children:j()}):(0,a.jsx)("div",{className:b,children:j()})})}},1921:function(e,t,r){"use strict";var a=r(57437),l=r(44839);t.Z=e=>{let{children:t,className:r,headingExcluded:i,style:n,hidePaddingOnMobile:s}=e;return(0,a.jsx)("div",{className:(0,l.Z)("component-section",i&&"heading-excluded",s&&"hide-padding-on-mobile",r),style:n,children:t})}},34833:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(57437);function l(e){let{type:t="primary",name:r}=e;return(0,a.jsx)("div",{className:"category-tag category-tag--".concat(t," relative flex items-center py-[2px] px-1 rounded"),children:(0,a.jsx)("span",{className:"category-tag-text font-czoo-sharp-grotesk text-sm leading-[0.875rem] uppercase tracking-wider",children:r})})}r(25592)},35348:function(e,t,r){"use strict";r.d(t,{H:function(){return a}});let a=e=>{let t;try{t=new URL(e)}catch(e){return!1}return"http:"===t.protocol||"https:"===t.protocol}},25592:function(){}}]);
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.