1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{11934:e=>{e.exports={featuresContainer:"featureSections_featuresContainer__p4AmT",sectionWrapper:"featureSections_sectionWrapper__xGTDS",parallaxSection:"featureSections_parallaxSection__6K3DD",holder:"featureSections_holder__KSyJT",featureContentWrapper:"featureSections_featureContentWrapper__KWRfD",featureLeftContent:"featureSections_featureLeftContent__i_ia9",animationText:"featureSections_animationText__7LzHe",twoColumnCaseTitle:"featureSections_twoColumnCaseTitle__PlxUM",decp:"featureSections_decp__COT2u",logoWrap:"featureSections_logoWrap__b1XqL",eachLogo:"featureSections_eachLogo__xDsrn",pageLinks:"featureSections_pageLinks___Ou_A",eachPageLinks:"featureSections_eachPageLinks__OIFlw",arrowIcon:"featureSections_arrowIcon__dx9Hu",mobileImg:"featureSections_mobileImg__zOs3Q",mobileImgWrapper:"featureSections_mobileImgWrapper__1_UQV",internalCaseStudyWrapper:"featureSections_internalCaseStudyWrapper__dQmqS",floatingCasestudy:"featureSections_floatingCasestudy__f0nQS",active:"featureSections_active__eUD6x",casestudy:"featureSections_casestudy__8YAfE",caseWrap:"featureSections_caseWrap__3dK82",twoColCaseBtnAlign:"featureSections_twoColCaseBtnAlign__Dg2_s",twoColumnCaseBtn:"featureSections_twoColumnCaseBtn__KeTGx",popupYoutube:"featureSections_popupYoutube__KYjzq"}},20501:(e,t,s)=>{Promise.resolve().then(s.bind(s,85718))},85718:(e,t,s)=>{"use strict";s.d(t,{default:()=>V});var a=s(95155),i=s(12115),r=s(93703),n=s(63018),o=s(76513),l=s(93488),c=s(2066);let d=` 2 query footer { 3 page(id: "257", idType: DATABASE_ID) { 4 footerSection { 5 section5Title 6 footerButtonLink 7 footerButtonText 8 footerIconTitle 9 privacyPolicy 10 subtitle { 11 copyright 12 } 13 termsAndServices 14 fieldGroupName 15 inputTitle 16 } 17 } 18 } 19`;function u(){let[e,t]=(0,i.useState)(null);return(0,i.useEffect)(()=>{(async()=>{try{let e=await fetch((0,l.TX)(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:d})});if(e.ok){let s=await e.json(),a=s?.data?.page?.footerSection;t({footerIconTitle:a?.footerIconTitle,termsAndServices:a?.termsAndServices,privacyPolicy:a?.privacyPolicy,copyright:a?.subtitle?.[0]?.copyright,footerButtonText:a?.footerButtonText,footerButtonLink:a?.footerButtonLink,section5Title:a?.section5Title,inputTitle:a?.inputTitle})}}catch(e){console.error("Error fetching footer data:",e)}})()},[]),(0,a.jsx)(c.default,{footerIconTitle:e?.footerIconTitle,termsAndServices:e?.termsAndServices,privacyPolicy:e?.privacyPolicy,footerButtonText:e?.footerButtonText,footerButtonLink:e?.footerButtonLink,section5Title:e?.section5Title,inputTitle:e?.inputTitle})}var m=s(11934),h=s.n(m),p=s(5772),f=s(98500),g=s.n(f),x=s(2102);function A(e){return/vimeo\.com/i.test(e)}r.os.registerPlugin(n.u);let _=({sections:e})=>{let t=(0,i.useRef)(null),s=(0,i.useRef)([]),[o,l]=(0,i.useState)(-1),c=(0,i.useRef)(null),d=(0,i.useRef)(-1),u=(0,i.useRef)(-1),m=(0,i.useRef)(!1),[f,_]=(0,i.useState)(null),v=e=>{let t=e.href||"#",s=!!(e.isVideo||A(t)),i=function(e,t){return!(t||A(e))&&(/\.pdf(\?|#|$)/i.test(e)||/^https?:\/\//i.test(e))}(t,s);return(0,a.jsx)("a",{className:s?h().popupYoutube:void 0,href:t,target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,onClick:t=>{let s;return s=e.href||"",void((e.isVideo||A(s))&&A(s)&&(t.preventDefault(),_({src:s,title:e.title||e.buttonText||"Case study video"})))},children:(0,a.jsxs)("div",{className:h().caseWrap,children:[(0,a.jsx)("p",{children:e.title}
19),(0,a.jsx)("div",{className:h().twoColCaseBtnAlign,children:(0,a.jsxs)("div",{className:h().twoColumnCaseBtn,children:[e.buttonText,(0,a.jsx)("span",{className:h().arrowIcon,children:">"})]})})]})})};return(0,i.useEffect)(()=>{if(!t.current||0===e.length)return;let s=t.current.querySelectorAll(`.${h().parallaxSection}`),a=()=>{if(m.current)return;let e=u.current,t=d.current;e!==t&&(t>=0&&e>=0?(m.current=!0,c.current?r.os.to(c.current,{opacity:0,duration:.3,onComplete:()=>{d.current=e,l(e),m.current=!1,a()}}):(d.current=e,l(e),m.current=!1)):(d.current=e,l(e)))},i=e=>{let t=e.getBoundingClientRect(),s=window.innerHeight,a=t.height,i=Math.max(0,-t.top);return Math.max(0,Math.min(a,s-t.top)-i)/a*100},o=()=>{let e=0,t=-1;for(let a=0;a<s.length;a++){let r=i(s[a]);r>=38&&r>e&&(e=r,t=a)}u.current=t,a()},p=[];s.forEach(e=>{p.push(n.u.create({trigger:e,start:"top 70%",end:"bottom 30%",onEnter:()=>{o()},onEnterBack:()=>{o()},onLeave:()=>{o()},onLeaveBack:()=>{o()}}))}),window.addEventListener("scroll",o,{passive:!0});let f=setTimeout(()=>{o()},100);return()=>{clearTimeout(f),window.removeEventListener("scroll",o),p.forEach(e=>e.kill())}},[e]),(0,i.useEffect)(()=>{c.current&&(o>=0&&e[o]?.caseStudy?r.os.to(c.current,{opacity:.9,duration:.3}):r.os.to(c.current,{opacity:0,duration:.3}))},[o,e]),(0,a.jsxs)("div",{ref:t,className:h().featuresContainer,children:[e.map((e,t)=>(0,a.jsx)("div",{ref:e=>{s.current[t]=e},className:h().sectionWrapper,children:(0,a.jsx)("div",{className:`${h().parallaxSection} ${e.className??""} ${0===t?h().active:""}`.trim(),style:{backgroundImage:`url(${e.backgroundImage})`,backgroundColor:t%2!=0?"#fff":"#ededed"},children:(0,a.jsx)("div",{className:h().holder,children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:h().featureContentWrapper,children:[(0,a.jsx)("div",{className:h().featureLeftContent,children:(0,a.jsxs)("div",{className:h().animationText,children:[(0,a.jsx)("h2",{className:h().tw
19oColumnCaseTitle,dangerouslySetInnerHTML:{__html:e.title}}),(0,a.jsx)("div",{className:h().decp,children:(0,a.jsx)("p",{children:e.description})}),(0,a.jsx)("div",{className:h().logoWrap,children:e.logos.map((e,t)=>(0,a.jsx)("div",{className:h().eachLogo,children:(0,a.jsx)(p.default,{src:e.src,alt:e.alt,width:e.width||130,height:e.height||60,loading:"lazy",decoding:"async",className:h().logo})},t))}),(0,a.jsx)("div",{className:h().pageLinks,children:e.serviceLinks.map((e,t)=>(0,a.jsx)("div",{className:h().eachPageLinks,children:(0,a.jsxs)(g(),{href:e.href,children:[e.text,(0,a.jsx)("span",{className:h().arrowIcon,children:">"})]})},t))})]})}),(0,a.jsx)("div",{className:h().mobileImg,children:(0,a.jsxs)("div",{className:h().mobileImgWrapper,children:[(0,a.jsx)(p.default,{src:e.mobileImage,alt:e.mobileImageAlt,width:500,height:500,loading:"lazy",decoding:"async"}),e.caseStudy&&(0,a.jsx)("div",{className:h().internalCaseStudyWrapper,"data-section-index":t,children:(0,a.jsx)("div",{className:h().casestudy,children:v(e.caseStudy)})})]})})]})})})})},t)),(0,a.jsx)("div",{ref:c,className:`${h().floatingCasestudy} ${o>=0?h().active:""}`,"data-section-index":o,children:o>=0&&e[o]&&e[o].caseStudy&&(0,a.jsx)("div",{className:h().casestudy,children:v(e[o].caseStudy)})}),(0,a.jsx)(x.A,{isOpen:!!f,onClose:()=>_(null),type:"vimeo",src:f?.src||"",title:f?.title||"Case study video"})]})};var v=s(80521),S=s.n(v);let j=({sectionTitle:e="Insights & Trends",posts:t})=>{let s=t&&t.length>0?t:[];return 0===s.length?null:(0,a.jsx)("section",{className:S().section,children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("h2",{className:S().SectionTitle,children:e}),(0,a.jsx)("div",{className:S().grid,children:s.map(e=>(0,a.jsxs)(g(),{href:e.link,className:S().card,children:[(0,a.jsx)("div",{className:S().imageWrapper,children:e.image.endsWith(".mp4")?(0,a.jsx)("video",{src:e.image,className:S().image,autoPlay:!0,loop:!0,muted:!0,playsInline:!0}):(0,a.jsx)(p.default,{src:e.image.includes("webp")?"https://placehold.co/600x800/222/FFF?text=Blog+Image":e.image,alt:e.title,fill:!0,className:S().image})}),(0,a.jsxs)("div",{className:S().content,children:[e.tag?(0,a.jsx)("span",{className:S().tag,children:e.tag}):null,(0,a.jsx)("h3",{className:S().title,dangerouslySetInnerHTML:{__html:e.title}}),e.date?(0,a.jsx)("span",{className:S().date,children:e.date}):null]})]},e.id))})]})})};var N=s(625),C=s.n(N),T=s(56617),y=s(4474);let w=({heading:e,description:t,products:s})=>s&&0!==s.length?(0,a.jsx)("section",{className:C().productsSection,children:(0,a.jsxs)("div",{className:C().contentWrapper,style:{flexDirection:"column",alignItems:"stretch"},children:[(0,a.jsxs)("div",{className:C().productsHeader,children:[(0,a.jsx)("h2",{className:C().productsTitle,children:e}),(0,a.jsx)("p",{className:C().productsDescription,children:t})]}),(0,a.jsx)("div",{className:C().productsGrid,children:s.map((e,t)=>(0,a.jsxs)(i.Fragment,{children:[(0,a.jsxs)("div",{className:C().productCard,children:[(0,a.jsx)("div",{className:C().productLogo,children:(0,a.jsx)(p.default,{src:e.logo,alt:"Product Logo",width:600,height:400})}),(0,a.jsx)("p",{className:C().productText,dangerouslySetInnerHTML:{__html:e.description}}),(0,a.jsx)("div",{className:C().productScreenshot,children:e.isVideo?(0,a.jsx)("video",{src:e.image,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:C().productVideo,"aria-label":"Product Video"}):(0,a.jsx)(p.default,{src:e.image,alt:"Product Screenshot",width:600,height:400})}),(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:e.ctaLink,className:C().productBtn,children:e.ctaText})})]}),t<s.length-1&&(0,a.jsx)("div",{className:C().productsDivider})]},t))})]})}):null;var b=s(91231),k=s(86477),I=s.n(k);function E({slides:e}){let[t,s]=(0,i.useState)(0),[r,n]=(0,i.useState)(!1),[o,l]=(0,i.useState)(!1),c=(0,i.useRef)({}),d=(0,i.useRef)({}),u=e.length>1;(0,i.useEffect)(()=>{let e=window.matchMedia("(max-width: 991px)"),t=()=>n(e.matches);return t(),l(!0),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,i.useEffect)(()=>{if(!u)return;let t=setInterval(()=>{s(t=>(t+1)%e.length)},8e3);return()=>clearInterval(t)},[u,e.length]);let m=(0,i.useCallback)(s=>
19{if(!u)return 0===s;let a=(t+1)%e.length;return s===t||s===a},[t,u,e.length]);return(0,i.useEffect)(()=>{o&&e.forEach((e,s)=>{let a=c.current[s],i=d.current[s],n=s===t,o=r?i:a;if([a,i].forEach(e=>{if(e&&e!==o)try{e.pause()}catch{}}),o&&n){let e=o.play();e?.catch&&e.catch(()=>{})}})},[t,e,r,o]),(0,a.jsxs)("section",{className:I().section,"aria-roledescription":"carousel",children:[(0,a.jsx)("div",{className:I().sliderTrack,style:u?{transform:`translateX(-${100*t}%)`}:void 0,children:e.map((e,s)=>{let i=!u||s===t,n=o&&m(s),l=i?"metadata":"none",h=n&&!r&&e.videoUrl||void 0,p=n&&r&&(e.mobileVideoUrl||e.videoUrl)||void 0;return(0,a.jsxs)("div",{className:`${I().slide} ${I().heroSection} ${i?I().slideActive:""}`,children:[(0,a.jsx)("video",{ref:e=>{c.current[s]=e},autoPlay:i&&!r&&!!h,loop:!0,muted:!0,playsInline:!0,preload:l,className:I().biggerScreen,src:h}),(0,a.jsx)("video",{ref:e=>{d.current[s]=e},autoPlay:i&&r&&!!p,loop:!0,muted:!0,playsInline:!0,preload:l,className:I().smallerScreen,src:p}),(0,a.jsx)("div",{className:I().heroSectionContent,children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:I().innerHolder,children:[(0,a.jsx)("h1",{className:I().title,children:e.title}),(0,a.jsx)("p",{className:I().heroDesc,dangerouslySetInnerHTML:{__html:e.description}}),(0,a.jsx)("a",{href:e.buttonLink,className:I().button,dangerouslySetInnerHTML:{__html:e.buttonText}})]})})})]},s)})}),u&&(0,a.jsx)("div",{className:I().dotsContainer,children:e.map((e,i)=>(0,a.jsx)("button",{type:"button",onClick:()=>s(i),className:`${I().dot} ${i===t?I().activeDot:""}`,"aria-label":`Go to slide ${i+1}`},i))})]})}function V({awardLogos:e,videoSlides:t,featureSections:s,productsSection:r,bottomParallax:n,recentPosts:l,getInTouch:c}){let d=(0,i.useMemo)(()=>{let e=[C().featureSectionOne,C().featureSectionTwo,C().featureSectionThree];return(s||[]).map((t,s)=>({...t,className:t.className??e[s]}))},[s]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.default,{}),(0,a.jsxs)("main",{children:[(0,a.jsx)(E,{slides:t}),(0,a.jsx)(_,{sections:d}),(0,a.jsx)(w,{heading:r?.heading||"Our Products",description:r?.description||"Explore our suite of platforms designed to accelerate data-driven marketing and elevate creative production.",products:r?.products||[]}),(0,a.jsx)(j,{posts:l}),(0,a.jsx)("section",{className:"container",children:(0,a.jsxs)("div",{className:C().awardsSection,children:[(0,a.jsxs)("div",{className:C().image,"aria-hidden":"true",children:[(0,a.jsx)(p.default,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAChCAMAAABzlFbCAAAABlBMVEVMaXEAAACaXKEdAAAAAnRSTlMAFGxJGUUAAAAJcEhZcwAACxIAAAsSAdLdfvwAAACUSURBVHic7dQxCsMwFATRmftfOk0IBIS9SIqs2H/qV22x8OBUQ2YgzaCfCJ2pc4LzK0LnbGfInO2c7RxxDjivcu7u7HUuct7F+WjnQZQb2sVy7XjYfpZrR+3XjNqlGbXLP/4f5VbsQrnTXQgZt3fcw/FjxxrHNY59HCGj33GNY8wRMvocw46QETJSR8gI2Rueqi17AQ1DDjTaQw3DAAAAAElFTkSuQmCC",alt:"",width:24,height:100,className:C().image1}),(0,a.jsx)(p.default,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAACgCAMAAACRz3rgAAAABlBMVEVMaXEAAACaXKEdAAAAAnRSTlMAFGxJGUUAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAD6SURBVHic7dpBagMxEAXRqvtfOoRAdobIKdmNpTrAW7QWw8CH24fnbyH1U2l9V1o+yfmwFNPS0tJyjTPU/EOUmJaWppilpSnmSzGXosRMMUtL52KmmKVlipli7sd8NsZizsXci/mfGIt5CGZpORfzEMxDMEvLQzAv9uabebERN3Mg5sXW4z7ActybLce92XLcmy3Hvdly5F90LrYQR9yMiy3H1D9htmAMwzgC4wiMbRiDMI7A2IlRWgzBmIqxG6O0GIARYjzq3RghxoswSovSorSYOzKitEhXXpQW6TKOkKJdE1JapAtM0m0oIUW7pyVd+pJukEnX0XxgX3AsIbVK+35YAAAAAElFTkSuQmCC",alt:"",width:47,height:100,className:C().image2}),(0,a.jsx)(p.default,{src:"/p2_3_img.png",alt:"p2_3_img",width:70,height:100,className:C().image3}),(0,a.jsx)(p.default,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJ8AAAChCAMAAADutZ0PAAAABlBMVEVMaXEAAACaXKEdAAAAAnRSTlMAFGxJGUUAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAGHSURBVHic7dxRagMxDADRmftfungb+lVKwbtkHDQneMjkJ4kE0zRNgN81Vb8Vpv2Uxr0q2161dVdp3FVbd9XWrdq6VVvnI8A7ed4uvFm3ivO0rVvFedrWeQPwWZ67wsd5GudpnKdxnsZ5GudpnKdxnsZ5GudpnGfdZ5yncZ7GedZ9xnka51n3Gef5NzDusxBtnnWfcZ51n2f67MSBPktxnM9UxH2e5jMWcZ/j2yv+vNZ9jm+v+PNa9zm+vWZ+e8U/Ho5vs/j7Or69Zn57zfz2mvntNfPba+a318zvo+fHMT4sxvi2mvl99PyIf8HG+D55fsR/YGB8d86POA9bcZoP2zwsRdvHb9mJE33Y5mHch20exn3Y5mHcx7ttnv3/e4jziPOg7iPOI86jvp9Hfb+R+n4ocR7EedT3u6nvx1O/L0D9PgP1+xbU74NQv69C/T4N9fs+0Nat4jzi97l4DshtxXnQ1q3iPG4V8kht3aqtW7V1V23dqq27SuO+s4z7v5G3Z5c2Tez0BY4TRjs2JKdtAAAAAElFTkSuQmCC",alt:"",width:100,height:100,className:C().image4}),(0,a.jsx)("div",{className:C().awards,children:"Awards"})]}),(0,a.jsx)("div",{className:C().awardLogo,children:e.map((e,t)=>(0,a.jsx)("div",{children:(0,a.jsx)(p.default,{src:e.src,alt:e.alt,width:165,height:165,loading:"lazy",unoptimized:/\.svg(\?|$)/i.test(e.src),className:C().awardLogoImage})},t))})]})}),(0,a.jsx)(T.default,{className:C().homepageParallax,backgroundImage:n?.backgroundImage,height:"100vh",alignment:"left",videoBG:!0,
19children:(0,a.jsxs)("div",{className:C().portfolioContainer,children:[(0,a.jsx)("p",{className:C().portfolioText,children:n?.portfolioText||"Recent work"}),(0,a.jsx)("h2",{className:C().portfolioTitle,children:n?.portfolioTitle||"The Cover Story"}),(0,a.jsx)("div",{className:C().portfolioDescription,dangerouslySetInnerHTML:{__html:n?.portfolioDescription||"This campaign was a launch platform for a laptop that lets you work without opening the lid, helping you Get Time on Your Sideâwhich became our slogan."}}),(0,a.jsx)(y.A,{variant:"outlined",borderColor:"#fff",hoverTextColor:"#000",hoverBackground:"#fff",color:"#fff",href:n?.buttonLink||"https://www.position2studios.com/thinkbookplus",target:n?.buttonTarget||"_blank",text:n?.buttonText||"View campaign assests"})]})}),(0,a.jsx)(b.default,{className:C().getInTouchHomePage,heading:c.heading,description:c.description,gradient:"",ctaText:c.ctaText,buttonLink:c.buttonLink,newsletterTitle:c.newsletterTitle,hubSpotNewsletter:c.hubSpotNewsletter,disableStaticNewsletter:c.disableStaticNewsletter})]}),(0,a.jsx)(u,{})]})}r.os.registerPlugin(n.u)},86477:e=>{e.exports={section:"VideoCarouselSection_section__5v2aK",sliderTrack:"VideoCarouselSection_sliderTrack__1ryM_",slide:"VideoCarouselSection_slide__bHG28",heroSection:"VideoCarouselSection_heroSection__soaU8",biggerScreen:"VideoCarouselSection_biggerScreen__2GAym",smallerScreen:"VideoCarouselSection_smallerScreen__tFisV",heroSectionContent:"VideoCarouselSection_heroSectionContent__rriKb",innerHolder:"VideoCarouselSection_innerHolder__dW9gK",slideActive:"VideoCarouselSection_slideActive__5pBfw",title:"VideoCarouselSection_title__k23oP",heroDesc:"VideoCarouselSection_heroDesc__OZ6g_",button:"VideoCarouselSection_button__dA1qk",dotsContainer:"VideoCarouselSection_dotsContainer__4Nhmm",dot:"VideoCarouselSection_dot__Uavzb",activeDot:"VideoCarouselSection_activeDot__Ukrnb"}}},e=>{e.O(0,[7435,6676,8305,7584,3210,3193,634,4121,2076,7358],()=>e(e.s=20501)),_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.