1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2277],{4292:(e,t,l)=>{"use strict";l.d(t,{v:()=>d});var a=l(23798),r=l(53524),s=l(21462),i=l(35965),n=l(41249),o=l(78325),c=l(83679),_=l.n(c);let d=({containerClass:e,slideClass:t,style:l,slides:c,swiperRef:d,theme:p="white",onRender:g,onBeforeLast:u,onSlideChange:m,onLast:h,overrideZIndex:y,slideProgress:x,stickySlides:w,visibilityOptimization:C=!1,onScrollReady:j})=>{let[b,f]=(0,s.useState)(0),[k,v]=(0,s.useState)(),[A,N]=(0,s.useState)(null),[S,E]=(0,s.useState)([]);(0,s.useEffect)(()=>{E(()=>[...A?.querySelectorAll(".js-swiper-slide")||[]].filter(n.sb).map(e=>e.getBoundingClientRect().height))},[A,c]),(0,s.useEffect)(()=>{x&&c.forEach((e,t)=>{x(t,0)});let e=i.ScrollTrigger.create({trigger:document.body,start:"top top",end:"bottom bottom",onUpdate:()=>{let e=S.findIndex((e,t,l)=>l.slice(0,t+1).reduce((e,t)=>e+t,0)>=window.scrollY+window.innerHeight/2),t=S[e]??0;if(0===t)return;f(e);let l=(window.scrollY-S.slice(0,e).reduce((e,t)=>e+t,0))/t;x&&(x(e,e+l),x(e+1,e+l))}});return()=>{e.kill()}},[x,c,A,S]),(0,s.useEffect)(()=>{m&&m(),b===c.length-2&&u?u():b===c.length-1&&h&&h()},[b,c.length,u,h,m]);let I=(0,s.useCallback)(e=>{k&&i.gsap.to(k,{scrollTo:{y:k.scrollTop+k.getBoundingClientRect().height*("down"===e?.11:-.11)},ease:"Power4.easeInOut"})},[k]),[D,L]=(0,s.useState)("up"),B=(0,s.useCallback)(()=>{if(k){let e=Math.floor(k.scrollHeight-k.getBoundingClientRect().height);L(k.scrollTop<=0?"up":k.scrollTop>=e?"bottom":"none")}},[k]),T=(0,s.useCallback)(e=>{if(A){let t=document.querySelector(".js-swiper-add")?.getBoundingClientRect().height||0,l=S.slice(0,e).reduce((e,t)=>e+t,0)+t;i.gsap.to(window,{scrollTo:{y:l},duration:.25})}},[A,S]);return(0,s.useEffect)(()=>{j&&A&&S.length>0&&j(T)},[j,T,A,S]),(0,a.jsxs)("div",{ref:e=>{d&&d(e),g&&g(),N(e)},style:l,className:(0,r.A)(_().container,e,"black"===p?_().container__black:"","js-feed-container"),children:[c.map((e,l)=>(0,a.jsx)("section",{style:{zIndex:e.props.dataFooter?250:null!=y&&y[l]||l},className:(0,r.A)(_().item,t,w?_().item__sticky:"","js-swiper-slide",`js-slide-${l}`,{[_().item__hide]:b!==l&&b!==l+1&&b!==l-1&&C}),children:e},`vertical-swiper-${l}`)),(0,a.jsx)("div",{className:_().pagination__wrapper,children:(0,a.jsxs)("div",{className:(0,r.A)(_().pagination,"black"===p?_().pagination__black:""),children:[c.length>14?(0,a.jsx)("div",{onClick:()=>{I("up")},className:(0,r.A)(_().arrow,_().arrow__up,"up"===D?_().arrow__hide:""),children:"black"===p?(0,a.jsx)(o.GO,{}):(0,a.jsx)(o.G,{})}):null,(0,a.jsx)("div",{ref:e=>{v(e)},className:_().bullet__wrapper,onScroll:B,children:c.map((e,t)=>{let l=(({slide:e})=>{let t=e.props.content?.contact?.replace(/[-]/g," "),l=e.props.title??e.props.buttonCtaText??t;return l?.trim().toLowerCase()})({slide:e});return(0,a.jsx)("button",{title:!0===e.props.dataFooter?"Contact us":void 0!==e.props.title?e.props.title:void 0!==e.props.product?e.props.product.name:"button",tabIndex:0,"aria-label":l,onFocus:()=>{T(t)},onClick:()=>{T(t)},className:(0,r.A)(_().bullet,t===b&&_().bulletActive)},`bullet-${t}`)})}),c.length>14?(0,a.jsx)("div",{onClick:()=>{I("down")},className:(0,r.A)(_().arrow,"bottom"===D?_().arrow__hide:""),children:"black"===p?(0,a.jsx)(o.GO,{}):(0,a.jsx)(o.G,{})}):null]})})]})}},17024:e=>{e.exports={hero:"style_hero__U9i1H",background:"style_background__7FxU9",imageHolder:"style_imageHolder__1HiHj",info:"style_info__ue_aO",category:"style_category__nnvxB",date:"style_date__EL4U1",title:"style_title__P71E8",firstSection:"style_firstSection__7LTmJ",cta:"style_cta__csTnK"}},21793:e=>{e.exports={container:"style_container__fXv2v",top:"style_top__nqS2B",topWrapper:"style_topWrapper__YQ6E6",title:"style_title__EQPEQ",title__wrapper:"style_title__wrapper__APDOD",dropdown:"style_dropdown__Mtawg",dropdowns:"style_dropdowns__9CtEu",dropdownTitle:"style_dropdownTitle__jMuIH",dropdownArrow:"style_dropdownArrow__B_en5"}},44048:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/news",function(){return l(92562)}])},48154:(e,t,l)=>{"use strict";l.d(t,{A:()=>s,s:()=>r});var a=l(23798);let r=()=>(0,a.jsxs)("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("circle",{cx:"7.38607",cy:"6.72569",r:"6.44166",stroke:"#D9D9D9",strokeWidth:"0.37470
15"}),(0,a.jsx)("path",{d:"M7.14028 10.1874C7.2513 10.4808 7.29095 10.568 7.35439 10.568C7.4099 10.568 7.43369 10.4887 7.59229 10.1318C7.86191 9.52124 8.2029 8.71238 8.6787 7.54667C9.08313 6.57129 9.31309 5.98447 9.53513 5.41351C9.75717 4.85841 9.85233 4.7236 9.95542 4.6443C10.0664 4.565 10.2013 4.54121 10.3519 4.54121C10.4154 4.54121 10.4392 4.53328 10.4392 4.50156C10.4392 4.46984 10.4074 4.46191 10.3281 4.46191C10.0982 4.46191 9.79682 4.4857 9.72545 4.4857C9.63822 4.4857 9.30516 4.46191 9.02762 4.46191C8.94039 4.46191 8.90867 4.46984 8.90867 4.50156C8.90867 4.53328 8.93246 4.54121 8.98004 4.54121C9.05141 4.54121 9.11484 4.54121 9.20208 4.565C9.36067 4.59672 9.38446 4.66016 9.38446 4.74739C9.38446 4.81876 9.35274 4.9615 9.30516 5.08838C9.12278 5.68313 7.95707 8.65687 7.46541 9.81465L5.75253 5.35007C5.6653 5.1201 5.55429 4.81083 5.55429 4.71567C5.55429 4.65223 5.57015 4.59672 5.68909 4.565C5.76839 4.54914 5.85562 4.54121 5.91113 4.54121C5.96664 4.54121 5.9825 4.53328 5.9825 4.50156C5.9825 4.46984 5.94285 4.46191 5.83183 4.46191C5.65737 4.46191 5.30053 4.47777 5.2133 4.47777C5.10228 4.47777 4.77715 4.46191 4.48374 4.46191C4.38858 4.46191 4.33307 4.46191 4.33307 4.50156C4.33307 4.52535 4.35686 4.54121 4.41237 4.54121C4.45202 4.54121 4.52339 4.54121 4.62648 4.565C4.94368 4.62051 5.01505 4.74739 5.19744 5.22319L7.14028 10.1874Z",fill:"#D9D9D9"})]}),s=()=>(0,a.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("circle",{cx:"7.26573",cy:"6.86827",r:"6.44166",stroke:"#0A0A0A",strokeWidth:"0.37470
15"}),(0,a.jsx)("path",{d:"M7.0201 10.3297C7.13112 10.6231 7.17077 10.7103 7.23421 10.7103C7.28972 10.7103 7.31351 10.631 7.47211 10.2742C7.74173 9.66357 8.08272 8.85472 8.55852 7.68901C8.96295 6.71362 9.19292 6.1268 9.41496 5.55585C9.63699 5.00075 9.73215 4.86594 9.83524 4.78664C9.94626 4.70734 10.0811 4.68355 10.2317 4.68355C10.2952 4.68355 10.319 4.67562 10.319 4.6439C10.319 4.61218 10.2873 4.60425 10.208 4.60425C9.97798 4.60425 9.67664 4.62804 9.60527 4.62804C9.51805 4.62804 9.18499 4.60425 8.90744 4.60425C8.82021 4.60425 8.78849 4.61218 8.78849 4.6439C8.78849 4.67562 8.81228 4.68355 8.85986 4.68355C8.93123 4.68355 8.99467 4.68355 9.0819 4.70734C9.2405 4.73906 9.26429 4.8025 9.26429 4.88973C9.26429 4.9611 9.23257 5.10384 9.18499 5.23072C9.0026 5.82546 7.83689 8.79921 7.34523 9.95698L5.63236 5.49241C5.54513 5.26244 5.43411 4.95317 5.43411 4.85801C5.43411 4.79457 5.44997 4.73906 5.56892 4.70734C5.64822 4.69148 5.73545 4.68355 5.79096 4.68355C5.84647 4.68355 5.86233 4.67562 5.86233 4.6439C5.86233 4.61218 5.82268 4.60425 5.71166 4.60425C5.5372 4.60425 5.18035 4.62011 5.09312 4.62011C4.9821 4.62011 4.65697 4.60425 4.36356 4.60425C4.2684 4.60425 4.21289 4.60425 4.21289 4.6439C4.21289 4.66769 4.23668 4.68355 4.29219 4.68355C4.33184 4.68355 4.40321 4.68355 4.5063 4.70734C4.8235 4.76285 4.89487 4.88973 5.07726 5.36553L7.0201 10.3297Z",fill:"#0A0A0A"})]})},63419:e=>{e.exports={item:"style_item__RUvYr",image:"style_image__x5kFe",imageHolder:"style_imageHolder__Arlsm",title:"style_title__oLgUX",titleHolder:"style_titleHolder__5Fv4B"}},68898:(e,t,l)=>{"use strict";l.d(t,{U:()=>s});var a=l(21462);let r=a.useLayoutEffect;function s(e,{defaultValue:t=!1}={}){let[l,i]=(0,a.useState)(t);return r(()=>{let t=new AbortController,l=window.matchMedia(e);return i(()=>l.matches),l.addEventListener("change",e=>{i(()=>e.matches)},{signal:t.signal}),()=>{t.abort()}},[e]),l}},71263:e=>{e.exports={container:"style_container__9aLqv",item:"style_item__byDCO",image:"style_image__rfoQD",title:"style_title__jbejN",category:"style_category__aROUF",titleHolder:"style_titleHolder__FFI2G",hoverAnim:"style_hoverAnim__Mu2PV"}},83679:e=>{e.exports={container:"style_container__8z8Ya",container__black:"style_container__black__NPNpC",item:"style_item__oLimg",item__sticky:"style_item__sticky__S_8Qm",item__hide:"style_item__hide__0Pdjg",pagination:"style_pagination__r_BtD",pagination__wrapper:"style_pagination__wrapper____6wJ",bullet:"style_bullet__B3ltK",bulletActive:"style_bulletActive__iKQXs",bullet__wrapper:"style_bullet__wrapper__i9DIV",pagination__black:"style_pagination__black__6q8GH",arrow:"style_arrow__SOYrk",arrow__up:"style_arrow__up__LYpvQ",arrow__hide:"style_arrow__hide__9nWFS"}},92562:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSG:()=>B,default:()=>T});var a=l(23798),r=l(80107),s=l(2957),i=l(92954),n=l.n(i),o=l(21462),c=l(48154),_=l(54386),d=l(35965),p=l(19957),g=l(38578),u=l(68898),m=l(43524);let h=async({first:e=10,skip:t=0})=>{let l=(0,m.D)(),{allBlogArticles:a}=await l.getAllArticles({first:e,skip:t}),{allBlogCategories:r}=await l.getAllCategories(),s={articles:a.map(e=>({title:e.title,category:e.category.name,updatedAt:e._updatedAt,externalArticleLink:e.externalArticleLink,heroImage:e.heroImage,heroImageMobile:e.heroImageMobile,slug:e.handle})),categories:r.map(e=>({id:e.id,name:e.name}))},{allPageSeos:i}=await l.SEOByHandle({slug:"/news"});return{__typename:"BlogViewData",blogData:s,seo:{__typename:i[0]?.seo?.__typename||"SeoField",title:i[0]?.seo?.title||"News & Media by Jacob & Co.",description:i[0]?.seo?.description||"Jacob & Co. Inspired by the impossible",image:i[0]?.seo?.image||null,twitterCard:i[0]?.seo?.twitterCard||null}}},y=async({category:e,first:t=10,skip:l=0})=>{let a=(0,m.D)(),{allBlogArticles:r}=await a.getArticlesByCategory({category:e,first:t,skip:l});return{__typename:"BlogFeedByCategoryData",articles:r.map(e=>({title:e.title,category:e.category.name,updatedAt:e._updatedAt,heroImage:e.heroImage,heroImageMobile:e.heroImageMobile,externalArticleLink:e.externalArticleLink,slug:e.handle}))}};var x=l(53524),w=l(94338),C=l(4292),j=l(98011),b=l(63419),f=l.n(b);let k=({category:e,articles:t})=>{let[l,r]=(0,o.useState)(()=>t),[s,i]=(0,o.useState)(0);(0,o.useEffect)(()=>{r(()=>t)},[t]);let n=(0,o.useCallback)(async()=>
1{if(s<0)return;let t=s+1,l=e?await y({category:e,skip:10*t,first:10}):await h({skip:10*t}),a="BlogFeedByCategoryData"===l.__typename?l.articles:l.blogData.articles;i(t),a.length?r(e=>[...e,...a]):i(-1)},[e,s]);return(0,a.jsx)(C.v,{theme:"black",onBeforeLast:n,slides:l.map((e,t)=>(0,a.jsx)("div",{className:(0,x.A)(f().item,"js-swiper-slide"),children:(0,a.jsx)(w.p,{target:e.externalArticleLink?"_blank":"_self",href:e.externalArticleLink?e.externalArticleLink:`/news/${e.slug}`,children:(0,a.jsx)(j.l,{category:e.category,image:e.heroImage,title:e.title||"News Article",updatedAt:e.updatedAt,showButton:!0,header:2})})},`feed-article-${t}`))})};var v=l(42238),A=l(22267),N=l(71263),S=l.n(N);let E=({category:e,articles:t})=>{let[l,r]=(0,o.useState)(()=>t),[s,i]=(0,o.useState)(0);(0,o.useEffect)(()=>{r(()=>t)},[t]);let n=(0,o.useCallback)(()=>{if(s<0)return;let t=s+1;(e?y({category:e,skip:10*t,first:10}):h({skip:10*t})).then(e=>{let l="BlogFeedByCategoryData"===e.__typename?e.articles:e.blogData.articles;i(t),l.length?r(e=>[...e,...l]):i(-1),d.ScrollTrigger.refresh()}).catch(e=>{})},[e,s]),{observe:c}=(0,v.W)({onEnter:n,rootMargin:"50px"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("ul",{className:S().container,children:l.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)(w.p,{target:e.externalArticleLink?"_blank":"_self",href:e.externalArticleLink?e.externalArticleLink:`/news/${e.slug}`,children:(0,a.jsxs)("div",{className:S().item,children:[(0,a.jsx)("div",{className:S().image,children:(0,a.jsx)(A.D,{image:e.heroImageMobile||e.heroImage,objectPosition:"center center",objectFit:"cover",layout:"fill",defaultAlt:e.title})}),(0,a.jsxs)("div",{className:S().titleHolder,children:[(0,a.jsx)("p",{className:S().category,children:e.category}),(0,a.jsx)("p",{className:S().title,children:e.title})]})]})})},`grid-article-${e.slug}-${t}`))}),(0,a.jsx)("div",{ref:c,id:"pagination-marker"})]})};var I=l(21793),D=l.n(I);let L=({articles:e,categories:t})=>{let{headerHeight:l}=(0,p.g)(),{status:r}=(0,g.L)(),s=(0,u.U)("(min-width: 640px)"),[i,m]=(0,o.useState)(()=>e),[x,w]=(0,o.useState)(!1),[C,j]=(0,o.useState)(!1),[b,f]=(0,o.useState)(null),[v,A]=(0,o.useState)(0);return(0,o.useEffect)(()=>{(async()=>{let e=b?await y({category:b,first:10,skip:0}):await h({}),t="BlogFeedByCategoryData"===e.__typename?e.articles:e.blogData.articles;m(()=>t)})().catch(e=>{})},[b]),(0,a.jsxs)("div",{style:{paddingTop:0===v||s?l:0},"data-lenis-prevent":!0,className:D().container,children:[(0,a.jsx)("div",{style:{top:l,height:0===v||s?"auto":0,transform:"hide"===r?`translateY(calc(-100% - ${l}px))`:"translateY(0)"},className:D().top,children:(0,a.jsxs)("div",{style:{position:0===v||s?"relative":"absolute"},className:D().topWrapper,children:[(0,a.jsxs)("div",{className:D().dropdowns,children:[(0,a.jsxs)("div",{onClick:()=>{w(!0)},className:D().dropdown,children:[(0,a.jsxs)("button",{className:D().dropdownTitle,tabIndex:0,children:["VIEW"," ",t.find(e=>e.id===b)?.name.toUpperCase()||"ALL MEDIA"]}),(0,a.jsx)("div",{className:D().dropdownArrow,children:(0,a.jsx)(c.s,{})})]}),(0,a.jsxs)("div",{onClick:()=>{j(!0)},className:D().dropdown,children:[(0,a.jsx)("button",{className:D().dropdownTitle,tabIndex:0,children:0===v?"GRID VIEW":"FULL SCREEN"}),(0,a.jsx)("div",{className:D().dropdownArrow,children:(0,a.jsx)(c.s,{})})]})]}),(0,a.jsx)("div",{className:D().title__wrapper,children:(0,a.jsx)("h1",{ref:e=>{e&&n()(e).fit({maxSize:120})},className:D().title,children:"NEWS & MEDIA"})})]})}),1!==v||s?(0,a.jsx)(E,{category:b,articles:i}):(0,a.jsx)(k,{category:b,articles:i}),(0,a.jsx)(_.O,{isOpen:x,close:()=>{w(!1)},theme:"black",title:"NEWS & MEDIA",items:[{title:"ALL MEDIA",onClick:()=>{f(null)}},...t.map(e=>({title:e.name,onClick:()=>{f(e.id)}}))]}),(0,a.jsx)(_.O,{isOpen:C,close:()=>{j(!1)},theme:"black",title:"NEWS & MEDIA",items:[{title:"GRID VIEW",onClick:()=>{A(0),d.ScrollTrigger.refresh()}},{title:"FULL SCREEN",onClick:()=>{A(1),d.ScrollTrigger.refresh()}}]})]})};var B=!0;let T=function({layoutContent:e,pageContent:t}){return(0,a.jsxs)(s.P,{content:e,children:[t.seo?(0,a.jsx)(r.k,{...t.seo}):null,(0,a.jsx)(L,{...t.blogData})]})}},98011:(e,t,l)=>{"use strict";l.d(t,{l:()=>p});var a=l(23798),r=l(53524),s=l(21462),i=l(67171),n=l(22267),o=l(35965),c=l(19957),_=l(17024),d=l.n(_);let p=({category:e,title:t,image:l,updatedAt:_,refreshPriority:p,showButton:g,href:u,header:m})=>
1{let[h,y]=(0,s.useState)(null),{headerHeight:x}=(0,c.g)();return(0,s.useEffect)(()=>{if(!h||!p)return;let e=h.querySelector(".js-image"),t=h.querySelector(".js-info"),l=o.gsap.fromTo(e,{opacity:1},{opacity:0}),a=o.ScrollTrigger.create({trigger:t,start:"top 80%",end:`top ${x}px`,animation:l,scrub:!0,refreshPriority:p});return()=>{a.kill()}},[h,p,x]),(0,a.jsxs)("section",{ref:e=>{y(e)},className:d().hero,children:[(0,a.jsx)("div",{className:(0,r.A)(d().background,"js-image"),children:(0,a.jsx)("div",{className:d().imageHolder,children:(0,a.jsx)(n.D,{image:l,objectFit:"cover",layout:"fill"})})}),(0,a.jsxs)("div",{className:(0,r.A)(d().info,"js-info",{[d().firstSection]:1===m}),children:[(0,a.jsx)("p",{className:d().category,tabIndex:0,children:e}),1===m?(0,a.jsx)("h1",{className:d().title,tabIndex:0,children:t}):2===m?(0,a.jsx)("h2",{className:d().title,tabIndex:0,children:t}):(0,a.jsx)("h3",{className:d().title,tabIndex:0,children:t}),(0,a.jsx)("p",{className:d().date,tabIndex:0,children:(({timestamp:e,timezone:t})=>{if(null==e)return null;let l=new Date(10===e.length?e+"T12:00:00Z":e);return new Intl.DateTimeFormat("en-US",{timeZone:t,dateStyle:"long"}).format(l)})({timestamp:_,timezone:"America/New_York"})}),g?(0,a.jsx)(i.$,{customClass:d().cta,href:u,label:"READ MORE",title:t}):null]})]})}}},e=>{e.O(0,[6182,4120,3908,186,1772,2957,1082,636,6593,8792],()=>e(e.s=44048)),_N_E=e.O()}]);
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.