1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1924],{37776:function(e,t,r){"use strict";r.r(t),r.d(t,{EmblaCarousel:function(){return p},EmblaCarouselSlide:function(){return m}});var n=r(57437),l=r(2265),s=r(74300),a=r(19281),i=r(95243),o=r(30286),c=r(44839);let u=e=>{let[t,r]=(0,l.useState)(!0),[n,s]=(0,l.useState)(!0),a=(0,l.useCallback)(()=>{e&&e.scrollPrev()},[e]),i=(0,l.useCallback)(()=>{e&&e.scrollNext()},[e]),o=(0,l.useCallback)(e=>{r(!e.canScrollPrev()),s(!e.canScrollNext())},[]);return(0,l.useEffect)(()=>{e&&(o(e),e.on("reInit",o).on("select",o))},[e,o]),{prevBtnDisabled:t,nextBtnDisabled:n,onPrevButtonClick:a,onNextButtonClick:i}},d=e=>{let{children:t,...r}=e,[s,a]=(0,l.useState)(!1);return(0,n.jsxs)("button",{className:(0,c.Z)("embla__button embla__button--next flex items-center justify-center w-12 h-12 bg-primary-light/75 rounded-full outline-none cursor-pointer pointer-events-auto transition-colors hover:bg-primary-light active:bg-primary-accent disabled:bg-primary-light/50 disabled:pointer-events-none",s&&"!bg-primary-accent"),type:"button",onMouseDown:()=>a(!0),onMouseUp:()=>setTimeout(()=>a(!1),150),onMouseLeave:()=>a(!1),...r,children:[(0,n.jsx)("div",{className:"mr-1",children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"24",viewBox:"0 0 15 24",children:(0,n.jsx)("path",{d:"M-1.84048e-06 8.42105L15 0L15 3.53684C15 6.69474 14.3852 6.57895 12.2459 7.74737L4.92787 11.9789L12.3639 16.2526C14.3852 17.3684 15 17.2632 15 20.5895L15 24L-3.39338e-06 15.5263L-1.84048e-06 8.42105Z",fill:"#002526"})})}),t]})},f=e=>{let{children:t,...r}=e,[s,a]=(0,l.useState)(!1);return(0,n.jsxs)("button",{className:(0,c.Z)("embla__button embla__button--next flex items-center justify-center w-12 h-12 bg-primary-light/75 rounded-full outline-none cursor-pointer pointer-events-auto transition-colors hover:bg-primary-light active:bg-primary-accent disabled:bg-primary-light/50 disabled:pointer-events-none",s&&"!bg-primary-accent"),type:"button",onMouseDown:()=>a(!0),onMouseUp:()=>setTimeout(()=>a(!1),150),onMouseLeave:()=>a(!1),...r,children:[(0,n.jsx)("div",{className:"ml-1",children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"24",viewBox:"0 0 15 24",children:(0,n.jsx)("path",{d:"M15 15.5789L0 24L4.22846e-08 20.4632C8.00386e-08 17.3053 0.614754 17.4211 2.7541 16.2526L10.0721 12.0211L2.63606 7.74737C0.614754 6.63158 2.06228e-07 6.73684 2.45996e-07 3.41052L2.8677e-07 0L15 8.47368L15 15.5789Z",fill:"#002526"})})}),t]})};r(31375);let m=(0,l.forwardRef)((e,t)=>(0,n.jsx)("div",{ref:t,className:"embla__slide",...e,children:e.children}));m.displayName="EmblaCarouselSlide";let p=e=>{let{children:t,arrowButtons:r=!1,dotButtons:c=!1,autoScroll:m=null,handleSlideInView:p,onBlur:v,onMouseEnter:h,onArrowButtonClick:b,onPointerDown:x,onPointerUp:g,setApi:y,options:w={}}=e,[N,j]=(0,s.Z)(w,(()=>{let e=[(0,i.Z)()];return m&&e.push((0,a.Z)(m)),e})());(0,l.useEffect)(()=>{j&&y&&y(j)},[j,y]);let{selectedIndex:_,scrollSnaps:E,onDotButtonClick:k}=(0,o.Y)(j),{prevBtnDisabled:L,nextBtnDisabled:C,onPrevButtonClick:S,onNextButtonClick:Z}=u(j),I=(0,l.useCallback)(()=>{j&&b&&b(j),S()},[j,b,S]),D=(0,l.useCallback)(()=>{j&&b&&b(j),Z()},[j,b,Z]),[M,z]=(0,l.useState)(!1),{isIntersecting:R,ref:V}=function(){var e;let{threshold:t=0,root:r=null,rootMargin:n="0%",freezeOnceVisible:s=!1,initialIsIntersecting:a=!1,onChange:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[o,c]=(0,l.useState)(null),[u,d]=(0,l.useState)(()=>({isIntersecting:a,entry:void 0})),f=(0,l.useRef)();f.current=i;let m=(null===(e=u.entry)||void 0===e?void 0:e.isIntersecting)&&s;(0,l.useEffect)(()=>{let e;if(!o||!("IntersectionObserver"in window)||m)return;let l=new IntersectionObserver(t=>{let r=Array.isArray(l.thresholds)?l.thresholds:[l.thresholds];t.forEach(t=>{let n=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);d({isIntersecting:n,entry:t}),f.current&&f.current(n,t),n&&s&&e&&(e(),e=void 0)})},{threshold:t,root:r,rootMargin:n});return l.observe(o),()=>{l.disconnect()}},[o,JSON.stringify(t),r,n,m,s]);let p=(0,l.useRef)(null);(0,l.useEffect)(()=>{var e;o||null===(e=u.entry)||void 0===e||!e.target||s||m||p.current===u.entry.target||(p.current=u.entry.target,d({isIntersecting:a,entry:void 0}))},[o,u.entry,s,m,a]);let v=[c,!!u.isIntersecting,u.entry];return v.ref=v[0],v.isIntersecting=v[1],v.entry=v[2],v}();return(0,l.useEffect)(()=>{var e;if(!m)return;let t=null==j?void 0:null===(e=j.plugins())||void 0===e?void 0:e.autoScroll;t&&(R?(z(!0),t.play()):(z(!1),t.stop()))},[m,j,R]),(0,l.useEffect)(()=>{var e;let t=null==j?void 0:null===(e=j.plugins())||void 0===e?void 0:e.autoScroll;t&&(z(t.isPlaying()),j.on("autoScroll:play",()=>z(!0)).on("autoScroll:stop",()=>z(!1)).on("reInit",()=>z(t.isPlaying())))},[j]),(0,l.useEffect)(()=>{p&&j&&j.on("slidesInView",()=>{p(j.slidesInView())})},[p,j]),(0,l.useEffect)(()=>
1{if(!v||!j)return;let e=j.rootNode(),t=()=>v(j),r=t=>{e.contains(t.relatedTarget)||v(j)};return e.addEventListener("mouseleave",t),e.addEventListener("focusout",r),()=>{e.removeEventListener("mouseleave",t),e.removeEventListener("focusout",r)}},[v,j]),(0,l.useEffect)(()=>{if(!h||!j)return;let e=j.rootNode(),t=()=>h(j);return e.addEventListener("mouseenter",t),()=>{e.removeEventListener("mouseenter",t)}},[h,j]),(0,l.useEffect)(()=>{if(!x||!j)return;let e=()=>x(j);return j.on("pointerDown",e),()=>{j.off("pointerDown",e)}},[x,j]),(0,l.useEffect)(()=>{if(!g||!j)return;let e=()=>g(j);return j.on("pointerUp",e),()=>{j.off("pointerUp",e)}},[g,j]),(0,n.jsxs)("div",{className:"embla",ref:V,children:[(0,n.jsx)("div",{className:"embla__viewport",ref:N,children:(0,n.jsx)("div",{className:"embla__container",children:t})}),(c||r)&&(0,n.jsxs)("div",{className:"embla__controls",children:[r&&(0,n.jsxs)("div",{className:"embla__buttons absolute top-1/2 left-0 max-w-container justify-between w-full px-10 pointer-events-none -translate-y-1/2",children:[(0,n.jsx)(d,{onClick:I,disabled:L}),(0,n.jsx)(f,{onClick:D,disabled:C})]}),c&&(0,n.jsx)("div",{className:"embla__dots",children:E.map((e,t)=>(0,n.jsx)(o.H,{className:"embla__dot".concat(t===_?" embla__dot--selected":""),onClick:()=>k(t)},t))})]})]})}},30286:function(e,t,r){"use strict";r.d(t,{H:function(){return a},Y:function(){return s}});var n=r(57437),l=r(2265);let s=e=>{let[t,r]=(0,l.useState)(0),[n,s]=(0,l.useState)([]),a=(0,l.useCallback)(t=>{e&&e.scrollTo(t)},[e]),i=(0,l.useCallback)(e=>{s(e.scrollSnapList())},[]),o=(0,l.useCallback)(e=>{r(e.selectedScrollSnap())},[]);return(0,l.useEffect)(()=>{e&&(i(e),o(e),e.on("reInit",i).on("reInit",o).on("select",o))},[e,i,o]),{selectedIndex:t,scrollSnaps:n,onDotButtonClick:a}},a=e=>{let{children:t,...r}=e;return(0,n.jsx)("button",{type:"button",...r,children:t})}},14168:function(e,t,r){"use strict";r.d(t,{$N:function(){return p},GG:function(){return u},cZ:function(){return f},fK:function(){return m},hg:function(){return o},l7:function(){return i},t9:function(){return d}});var n=r(57437),l=r(2265),s=r(30295),a=r(44839);let i=s.fC,o=s.xz,c=s.h_,u=s.x8,d=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,n.jsx)(s.aV,{ref:t,className:(0,a.Z)("dialog-overlay fixed inset-0 z-50 data-[state=open]:animate-overlay-show",r),...l})});d.displayName=s.aV.displayName;let f=l.forwardRef((e,t)=>{let{className:r,children:l,...i}=e;return(0,n.jsxs)(c,{children:[(0,n.jsx)(d,{}),(0,n.jsx)(s.VY,{ref:t,className:(0,a.Z)("dialog fixed top-1/2 left-1/2 z-50 translate-x-[-50%] translate-y-[-50%] focus:outline-none data-[state=open]:animate-content-show",r),...i,children:l})]})});f.displayName=s.VY.displayName;let m=e=>{let{className:t,children:r,...l}=e;return(0,n.jsx)("div",{className:(0,a.Z)("dialog-header text-center",t),...l,children:r})};m.displayName="DialogHeader";let p=l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,n.jsx)(s.Dx,{ref:t,className:(0,a.Z)("dialog-title font-czoo-sharp-grotesk heading-4 mb-2 lg:mb-3",r),...l})});p.displayName=s.Dx.displayName,l.forwardRef((e,t)=>{let{className:r,...l}=e;return(0,n.jsx)(s.dk,{ref:t,className:(0,a.Z)("dialog-description body-sm",r),...l})}).displayName=s.dk.displayName},95278:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(57437),l=r(66648),s=r(87138),a=r(44839),i=r(22375),o=r(77220);function c(e){let{size:t="small",orientation:r="portrait",thumbnail:c,largeImage:u,video:d,useHoverEffect:f=!1,caption:m,link:p,cardIndex:v,isReserveTheme:h=!1,isInAutoScrollCarousel:b=!1,handleClick:x}=e,g=(0,a.Z)("card-media card-media--".concat(t),r,"relative flex select-none",x&&"cursor-pointer"),y=(e,t)=>"small"===e&&"portrait"===t?375:"small"===e&&"landscape"===t?560:"big"===e?850:void 0,w=()=>(0,n.jsxs)("div",{className:(0,a.Z)("card__image absolute inset-0 flex overflow-hidden",h?"rounded":"rounded-2xl lg:rounded-3xl",f&&"group"),children:[(null==c?void 0:c.url)&&(0,n.jsx)(l.default,{className:(0,a.Z)("w-full h-full object-fit object-cover",f&&"group-hover:scale-105 transition-transform duration-300"),src:c.url+"?width=".concat(y(t,r)),alt:c.altText,width:c.width,height:c.height,loading:"lazy"}),d&&(0,n.jsxs)("div",{className:"card__play absolute top-1/2 left-1/2 flex items-center justify-center w-[90px] h-[90px] opacity-0 -translate-y-1/2 -translate-x-1/2 transition-opacity",children:[(0,n.jsx)("div",{className:(0,a.Z)("card__play__circle absolute inset-0 rounded-full transition-transform",h?"bg-reserve-accent":"bg-primary-accent")}),(0,n.jsxs)("div",{className:"relative flex items-center gap-x-1",children:[(0,n.jsx)("span",{className:(0,a.Z)("font-czoo-sharp-grotesk text-base uppercase mt-[1px]",h?"font-hw-atlantic text-reserve-light":"font-czoo-sharp-grotesk text-primary-dark-1"),children:"Play"}),(0,n.jsx)(i.Z,{name:"play",color:h?"rgb(var(--color-reserve-light))":"rgb(var(--color-primary-dark-1))",size:18})]})]})]});return p?(0,n.jsx)(s.default,{className:g,href:(0,o.n)(p[0]),onMouseDown:b?e=>e.preventDefault():void 0,children:w()}):(0,n.jsx)("div",{className:g,onClick:()=>x&&x({caption:m,image:u||c,video:d,cardIndex:v}),children:w()})}r(79179)},31375:function(){},79179: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.