1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5234],{65135:e=>{e.exports={container:"style_container__jVFXV",indicator:"style_indicator__5TmPB",indicatorThumb:"style_indicatorThumb__YD1_W",horizontalFeed:"style_horizontalFeed__YcfL4",horizontalFeedColumn:"style_horizontalFeedColumn__jIC02",horizontalFeedColumnRow:"style_horizontalFeedColumnRow__JV_vW",horizontalFeedColumnRowImage:"style_horizontalFeedColumnRowImage__P2WqE",horizontalFeedColumnRowText:"style_horizontalFeedColumnRowText__M7bex",horizontalFeedColumnRowTextTitle:"style_horizontalFeedColumnRowTextTitle__NNNfY",horizontalFeedColumnRowTextParagraph:"style_horizontalFeedColumnRowTextParagraph__cT9Zs",horizontalFeedColumnRowTextButtonText:"style_horizontalFeedColumnRowTextButtonText__qH_N9",horizontalFeedColumnRowTextButton:"style_horizontalFeedColumnRowTextButton__4rig8",horizontalFeedColumnRowTextButtonNative:"style_horizontalFeedColumnRowTextButtonNative__1540e"}},75234:(e,t,o)=>{"use strict";o.r(t),o.d(t,{HorizontalImageGallery:()=>h});var n=o(23798),r=o(53908),i=o(53524),l=o(21462),s=o(36698),a=o(35965),d=o(22267),c=o(65135),m=o.n(c),u=o(68898);let h=({gallery:e,refreshPriority:t,altContainer:o})=>{let[c,h]=(0,l.useState)(null),{width:v}=(0,s.v)(),_=(0,u.U)("(min-width: 640px)"),g=(0,r.useLenis)();return(0,l.useEffect)(()=>{if(c){let n=c.closest(".js-pin-container"),r=c.querySelector(".js-indicator"),i=c.querySelector(".js-indicator-thumb"),l=c.querySelectorAll(".js-columns"),s=c.querySelector(".js-horizontal-feed"),d=_?window.innerHeight*(e.length-1):(s?.scrollWidth||v)-v,m=a.gsap.timeline();if(i instanceof HTMLElement&&r instanceof HTMLElement){_?l.forEach((e,t)=>{let o=e.firstChild;m.fromTo(e,{"--clipProgress":"110%"},{"--clipProgress":"0%"},t),m.fromTo(o,{scale:1},{scale:1.15},t)}):(m.fromTo(i,{x:0},{x:r.getBoundingClientRect().width-i.getBoundingClientRect().width,ease:"none"},0),m.fromTo(l,{x:0},{x:-d,ease:"none"},0));let e=a.ScrollTrigger.create({scroller:o||void 0,trigger:n,animation:m,scrub:!0,start:"top top",end:"bottom bottom",refreshPriority:t[1]}),s=a.gsap.fromTo(c,{opacity:1},{opacity:0}),u=a.ScrollTrigger.create({scroller:o||void 0,trigger:n,animation:s,scrub:!0,start:"bottom bottom",end:"bottom center",refreshPriority:t[0]}),h=!1,v=t=>{if(h){let o=((t instanceof MouseEvent?t.clientX:t instanceof TouchEvent&&t.touches[0]?t.touches[0].clientX:0)-r.getBoundingClientRect().left)/r.getBoundingClientRect().width,n=(e.end-e.start)*o+e.start;g.scrollTo(n)}},x=e=>{h=!0,v(e)},w=()=>{h=!1};return r.addEventListener("mousedown",x),r.addEventListener("touchstart",x,{passive:!0}),r.addEventListener("mouseup",w),r.addEventListener("mouseleave",w),r.addEventListener("touchend",w,{passive:!0}),r.addEventListener("mouseover",v),r.addEventListener("mousemove",v),r.addEventListener("touchmove",v,{passive:!0}),()=>{s.revert(),m.kill(),e.kill(),u.kill(),r.removeEventListener("mousedown",x),r.removeEventListener("touchstart",x),r.removeEventListener("mouseup",w),r.removeEventListener("mouseleave",w),r.removeEventListener("touchend",w),r.removeEventListener("mouseover",v),r.removeEventListener("mousemove",v),r.removeEventListener("touchmove",v)}}}},[v,t,g,e,c,o,_]),(0,n.jsx)("section",{ref:t=>{if(!t)return;let o=t.querySelector(".js-horizontal-feed"),n=_?window.innerHeight*(e.length-1):(o?.scrollWidth||v)-v;t.style.height=`${n}px`},className:"js-pin-container",children:(0,n.jsxs)("div",{ref:e=>{h(e)},className:m().container,children:[(0,n.jsx)("div",{tabIndex:0,className:(0,i.A)(m().horizontalFeed,"js-horizontal-feed"),children:e.map((e,t)=>(0,n.jsx)("div",{className:(0,i.A)(m().horizontalFeedColumn,"js-columns"),children:(0,n.jsx)("div",{className:m().horizontalFeedColumnRow,children:(0,n.jsx)(d.D,{image:e,objectFit:"cover",objectPosition:"center center",className:m().horizontalFeedColumnRowImage})},`gallery-column-${t}`)},`column-${t}`))}),(0,n.jsx)("div",{className:(0,i.A)(m().indicator,"js-indicator"),children:(0,n.jsx)("div",{className:(0,i.A)(m().indicatorThumb,"js-indicator-thumb"),"aria-valuemin":1,"aria-valuemax":e.length,"aria-valuenow":1,"aria-label":"Slider",role:"slider",tabIndex:0})})]})})}}}]);
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.