PageSourceSearch

https://bravebison.com/component---src-templates-sub-service-js-3ff6ab9baacf2af3931b.js

js bravebison.com collected 2026-09-29 05:17:30 UTC 34,752 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[750],{30134:function(e,t,a){a.d(t,{A:function(){return f}});var n=a(96540),i=a(63679),r=a(17657);const o=i.default.section.withConfig({displayName:"PageFooterMain",componentId:"sc-qr5vmm-0"})(["color:",";background-color:",";","{align-items:end;}"],e=>e.color,e=>e.background,r.W),l=i.default.div.withConfig({displayName:"PageFooterWrapper",componentId:"sc-qr5vmm-1"})(["position:relative;p{max-width:12em;}"]),c=i.default.div.withConfig({displayName:"CMSButtonContainer",componentId:"sc-qr5vmm-2"})(["display:flex;justify-content:flex-end;"]);var s=a(73517),d=a(88963),m=a(64232),u=a(17203),g=a(24499),p=a(12430);var f=e=>{let t=e.content,a=(e.titleMaxWidth,e.careers,e.customBackground),i=e.customText;t.title;const r=t.text,f=(t.image,t.link),h=t.backgroundColour?t.backgroundColour:a||d.T.charcoal,w=t.textColour?t.textColour:i||d.T.white;return n.createElement(o,{color:w,background:h,id:"footerMain"},n.createElement(s.A,null,n.createElement(l,null,n.createElement(m.A,{size:[109,120]}),r&&n.createElement(p.A,{content:r,maxWidth:80,paragraphSize:"heading1Serif"}),n.createElement(m.A,{size:[109,120]}),n.createElement(c,null,n.createElement(u.A,{link:f,className:"contactLink",iconRight:n.createElement(g.A,null),enterFrom:"left"})),n.createElement(m.A,{size:[40,80]}))))}},35167:function(e,t,a){a.r(t),a.d(t,{default:function(){return Fe}});var n=a(96540),i=a(68719),r=a(22518),o=(a(90621),a(47634)),l=(a(39701),a(88963)),c=a(61520),s=a(77810),d=a(87110),m=a(63679);const u=m.default.div.withConfig({displayName:"HeroMain",componentId:"sc-1ihhu7c-0"})(["color:",";background-color:",";position:relative;display:flex;justify-content:center;align-items:center;overflow:hidden;.caption{margin-top:auto;display:flex;font-size:21px;}.content{",";position:relative;order:1;display:flex;flex-flow:column;","{justify-content:flex-end;}}"],e=>e.tColor?e.tColor:l.T.white,e=>e.bgColor?e.bgColor:l.T.charcoal,(0,o.qE)("min-height",350,500),c.mq.tabletPMax),g=(m.default.div.withConfig({displayName:"HeroRow",componentId:"sc-1ihhu7c-1"})(["","{display:flex;align-items:flex-end;justify-content:space-between;}"],c.mq.tabletL),m.default.div.withConfig({displayName:"HeroImage",componentId:"sc-1ihhu7c-2"})(["position:absolute;min-width:100%;min-height:100%;display:flex;justify-content:center;align-items:center;&:after{display:",";content:'';position:absolute;top:0;left:0;height:100%;width:100%;background:linear-gradient(90deg,rgba(0,0,0,0.6) 0%,rgba(0,0,0,0) 50%);}.gatsby-image-wrapper{width:100%;min-height:100%;position:absolute;","{height:100%;}}"],e=>e.overlay?"":"none",c.mq.tabletL)),p=(m.default.div.withConfig({displayName:"LogoContainer",componentId:"sc-1ihhu7c-3"})([""," margin-right:10px;"],(0,o.qE)("width",118,150)),m.default.nav.withConfig({displayName:"BreadcrumbsMain",componentId:"sc-1ihhu7c-4"})(["display:block;margin-bottom:15px;"])),f=m.default.ol.withConfig({displayName:"BreadcrumbsList",componentId:"sc-1ihhu7c-5"})(["display:flex;flex-wrap:wrap;list-style:none;"]),h=m.default.li.withConfig({displayName:"BreadcrumbsItem",componentId:"sc-1ihhu7c-6"})(['font-size:13px;text-transform:uppercase;position:relative;&:not(:last-child){padding-right:15px;margin-right:15px;&:after{content:"";position:absolute;top:50%;right:0px;transform:translateY(-50%);width:0.2rem;height:0.2rem;border-radius:50%;background-color:currentcolor;}}']),w=m.default.h1.withConfig({displayName:"PageTitle",componentId:"sc-1ihhu7c-7"})(["font-size:13px;text-transform:uppercase;display:block;font-weight:bold;margin-top:15px;"]);var E=a(73517),b=a(12430),C=a(64232),y=a(92795),x=a(5588),v=(a(47522),a(27070),a(30398));var I=e=>{let t=e.name,a=e.title,i=e.image,r=e.bgColor,o=e.tColor,l=(e.overlay,e.parentService),c=e.pageSeoTitle;return n.createElement(u,{bgColor:r,tColor:o},i&&n.createElement(g,null,n.createElement(x.G,{image:i.gatsbyImageData,alt:i.description,loading:"eager",fetchPriority:"high"})),n.createElement(E.A,{className:"content"},n.createElement(C.A,{size:[60,100]}),n.createElement(p,{"aria-label":"Breadcrumb"},n.createElement(f,null,n.createElement(h,null,n.createElement(v.A,{to:"/",underline:!1},"Home")),n.createElement(h,null,n.createElement(v.A,{to:"what-we-do/",underline:!1},"What we do")),n.createElement(h,null,n.createElement(v.A,{to:"what-we-do/"+l.slug+"/",underline:!1},l.title)),n.createElement(h,null,n.createElement("strong",null,t)))),n.createElement(w,null,c),n.createElement(C.A,{size:[80,180]}),n.createElement(b.A,{content:a,paragraphSize:"heading2Serif",maxWidth:12,as:"span"}),n.createElement(C.A,{size:60})))},k=a(30134),N=a(71500),S=a(74276),A=a(367);
1const z=m.default.section.withConfig({displayName:"CaseStudiesMain",componentId:"sc-1913mif-0"})(["background-color:",";"],l.T.white),T=m.default.div.withConfig({displayName:"CaseStudiesWrapper",componentId:"sc-1913mif-1"})([""]),q=m.default.div.withConfig({displayName:"CaseStudiesHeader",componentId:"sc-1913mif-2"})(["display:flex;align-items:flex-end;justify-content:space-between;a{margin-bottom:15px;}"]),W=m.default.div.withConfig({displayName:"CaseStudiesFooter",componentId:"sc-1913mif-3"})(["display:flex;align-items:flex-start;justify-content:flex-end;a span{","{font-size:20px;letter-spacing:normal;}}"],c.mq.mobileMax),P=m.default.h2.withConfig({displayName:"CaseStudiesTitle",componentId:"sc-1913mif-4"})([""," max-width:30rem;margin-right:auto;","{max-width:70rem;}","{font-size:28px;}a{margin-bottom:15px;}"],(0,s.Ku)(s.w2.heading3Sans,s.w2.heading2Serif),c.mq.tabletL,c.mq.tabletPMax),M=m.default.ul.withConfig({displayName:"CaseStudiesNav",componentId:"sc-1913mif-5"})(["display:flex;list-style:none;","{display:none;}button{> div{background:"," !important;color:"," !important;border:1px solid "," !important;border-radius:7rem;}&:not(:disabled):hover > div{background:"," !important;color:"," !important;border:1px solid ","  !important;}&:disabled > div{opacity:0.5;}}"],c.mq.tabletLMax,l.T.white,l.T.charcoal,l.T.charcoal,l.T.charcoal,l.T.white,l.T.charcoal),L=m.default.li.withConfig({displayName:"CaseStudiesNavItem",componentId:"sc-1913mif-6"})(["& + &{margin-left:1rem;}"]),B=m.default.div.withConfig({displayName:"CaseStudiesCarousel",componentId:"sc-1913mif-7"})(["display:flex;width:fit-content;transform:",";min-width:",";"],e=>e.centered?"unset !important":"",e=>e.centered?"100%":""),R=m.default.div.withConfig({displayName:"CaseStudiesCardWrapper",componentId:"sc-1913mif-8"})(["&:not(:first-child){","}.mOnly{br{display:none;+ *{margin-left:5px;}}p{font-size:17px;}","{display:none;}}.dOnly{","{display:none;}}"],(0,o.qE)("padding-left",20,40),c.mq.tabletL,c.mq.tabletLMax),F=m.default.div.withConfig({displayName:"CaseStudyMain",componentId:"sc-1913mif-9"})(["",";",";aspect-ratio:1 / 1;position:relative;"," ","{margin-bottom:10px;}a{text-decoration:none;width:100%;height:100%;&:before{position:absolute;content:\"\";height:100%;width:100%;left:0;top:0;z-index:1;}}&:after{content:'';position:absolute;left:0;top:0;background:rgba(0,0,0,0.5);height:100%;width:100%;opacity:0;transition:all 0.25s ease;}.content{opacity:0;color:",";}&:hover{&:after{opacity:1;}.content{opacity:1;}}.caseStudyImage{position:absolute;height:100%;width:100%;left:0;top:0;display:flex;justify-content:center;align-items:center;}.gatsby-image-wrapper{position:absolute;height:100% !important;min-width:100%;}"],(0,o.qE)("min-width",255,550),e=>{let t=e.$fixedWidth;return t?"width: "+t/3+"px":(0,o.qE)("width",255,475)},d.M7,c.mq.tabletLMax,l.T.white),j=m.default.div.withConfig({displayName:"CaseStudyImage",componentId:"sc-1913mif-10"})([""]),D=m.default.div.withConfig({displayName:"CaseStudyContent",componentId:"sc-1913mif-11"})(["position:relative;z-index:1;padding:40px 30px;p{line-height:30px;}transition:all 0.25s ease;h4{",";strong{font-family:inherit;font-weight:normal;}}h2{",";margin-bottom:10px;}br{display:none;+ *{margin-left:5px;}}"],(0,o.qE)("font-size",17,26),(0,o.qE)("font-size",17,26)),G=m.default.div.withConfig({displayName:"CaseStudyContainer",componentId:"sc-1913mif-12"})(["width:100%;display:flex;align-items:flex-end;position:relative;"]);var O=a(53530),Q=a(17203),X=a(24499);var H=e=>{let t=e.data,a=e.caseStudies,i=e.backgroundColor,r=e.textColor;const o=t.title,l=(0,n.useState)(0),c=l[0],s=l[1],d=(0,n.useState)(!1),m=d[0],u=d[1],g=(0,n.useState)(),p=g[0],f=g[1],h=(0,n.useRef)(c),w=(0,n.useRef)(),I=(0,n.useRef)(),k=(0,n.useRef)(),H=(0,n.useRef)(),K={text:"View more work",url:"/our-work/"},$=(0,n.useCallback)(()=>{if(!k.current)return 0;return parseFloat(window.getComputedStyle(k.current).width.replace(/px$/,""))+parseFloat(window.getComputedStyle(k.current).marginLeft.replace(/px$/,""))},[]),V=()=>-I.current.offsetWidth+w.current.offsetWidth,_=(0,n.useCallback)(e=>{const t=V(),a=e<t,n=a?t:e>0?0:e;return u(a),n},[]);(0,n.useEffect)(()=>{const e=V();f(e)},[]);const U=(0,n.useCallback)(e=>{N.Ay.to(I.current,{x:_(-H.current*e),ease:"inOut",duration:.3,onComplete:()=>{s(e)}})},[_]);(0,n.useEffect)(()=>{N.Ay.registerPlugin(S.s,A.w6),S.s.create(I.current,{type:"x",edgeResistance:1,inertia:!0,snap:function(e){const t=V(),a=N.Ay.utils.clamp(t,0,e);return s(Math.ceil(Math.abs(a/H.current))),u(a<=t),a}});const e=()=>{H.current=$(),S.s.get(I.current).applyBounds({minX:w.current.offsetWidth-I.current.offsetWidth,maxX:0}),U(h.current)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[$,U]),(0,n.useEffect)(()=>{h.current=c},[c]);const J=()=>window.innerWidth>2060?3:window.innerWidth>1520?2:(window.innerWidth>990||window.innerWidth,1);return n.createElement(n.Fragment,null,a.length>0&&n.createElement(z,null,n.createElement(E.A,null,n.createElement(T,{ref:w},n.createElement(C.A,{size:[60,115]}),n.createElement(q,null,n.createElement(P,null,o),n.createElement(M,{backgroundColor:i,fontColor:r}
1,n.createElement(L,null,n.createElement(O.A,{variant:"outline",onClick:()=>{U(Math.max(c-J(),0))},size:"large",color:"white",disabled:0===c},"PREVIOUS")),n.createElement(L,null,n.createElement(O.A,{variant:"outline",onClick:()=>{U(Math.min(c+J(),a.length-1))},size:"large",color:"white",disabled:m},"NEXT")))),n.createElement(C.A,{size:[30,70]}),n.createElement(B,{ref:I,centered:0===c&&m},n.Children.toArray(a.map((e,t)=>n.createElement(R,{ref:1===t?k:void 0},n.createElement(F,{$fixedWidth:a.length<=3?p:null},n.createElement(v.A,{to:"our-work/"+e.slug,className:"caseStudyImageLink"},n.createElement(G,{className:"caseStudyContainer"},n.createElement(D,{className:"content"},n.createElement(y.GY,{as:"h2",className:"dOnly"},n.createElement("strong",null,e.title)),n.createElement(b.A,{className:"dOnly",content:e.heroText,paragraphSize:"heading4Serif",as:"h3"}),e.metadata.tags.length>0&&n.createElement(n.Fragment,null,n.createElement(C.A,{size:[20,40]}),n.createElement(y.HL,null,e.metadata.tags[0].name.split(": ").length>1?e.metadata.tags[0].name.split(": ")[1]:e.metadata.tags[0].name))),n.createElement(j,{className:"caseStudyImage"},n.createElement(x.G,{image:e.mainImage?e.mainImage.gatsbyImageData:e.secondaryImage.gatsbyImageData,alt:e.mainImage?e.mainImage.description:e.secondaryImage.description,height:738,width:738}))))),n.createElement(b.A,{className:"mOnly",content:e.heroText,paragraphSize:"small"}))))),n.createElement(C.A,{size:[40,92]}),n.createElement(W,null,K&&n.createElement(n.Fragment,null,n.createElement(Q.A,{link:K,variant:"text",iconRight:n.createElement(X.A,null)})))),n.createElement(C.A,{size:[30,70]}))))};const K=m.default.section.withConfig({displayName:"BrandsMain",componentId:"sc-1cn6pip-0"})(["color:",";background-color:",";.grid{justify-content:center;}","{","}"],e=>e.color,e=>e.background,s.KJ,(0,s.Ku)(s.w2.heading2Serif,s.w2.heading1Serif)),$=m.default.h2.withConfig({displayName:"BrandTitle",componentId:"sc-1cn6pip-1"})(["",""],(0,s.Ku)(s.w2.heading4Sans,s.w2.caption)),V=m.default.div.withConfig({displayName:"BrandsImage",componentId:"sc-1cn6pip-2"})(["max-height:170px;[data-main-image]{object-fit:contain !important;max-height:170px;}"]),_=m.default.div.withConfig({displayName:"GridMain",componentId:"sc-10xi81f-0"})(["display:flex;flex-wrap:wrap;margin-left:-15px;margin-right:-15px;"]),U=m.default.div.withConfig({displayName:"Item",componentId:"sc-10xi81f-1"})(["display:flex;align-items:center;justify-content:center;padding:50px;width:calc(100% / 2);","{width:calc(100% / 3);}","{width:calc(100% / ",");}"],c.mq.tabletP,c.mq.tabletL,e=>"3 Items"===e.$gridColumns?"3":"4");var J=e=>{let t=e.items,a=e.gridColumns;return n.createElement(_,{className:"grid"},n.Children.toArray(t.map((e,t)=>n.createElement(U,{$gridColumns:a},e))))};var Y=(e,t,a)=>{const i=(0,n.useState)(),r=i[0],o=i[1],c=(0,n.useState)(),s=c[0],d=c[1];return(0,n.useEffect)(()=>{o("Black"===e?l.T.charcoal:"Page Background"===e?t:"Page Text"===e?a:l.T.white),d("Black"===e?l.T.white:"Page Background"===e?a:l.T.charcoal)},[e,t,a]),[r,s]};var Z=e=>{let t=e.data,a=e.backgroundColor,i=e.textColor;const r=t.items,o=t.title,l=t.background,c=t.titleStyle,s=t.gridColumns,d=Y(l,a,i),m=d[0],u=d[1],g=r.map(e=>n.createElement(V,null,n.createElement(x.G,{image:e.gatsbyImageData,alt:e.description,height:"170",width:"170"})));return n.createElement(K,{color:u,background:m},n.createElement(E.A,null,n.createElement(C.A,{size:[70,80]}),n.createElement(n.Fragment,null,"Signifier Light"===c?n.createElement(y.uT,{maxWidth:11},o):n.createElement($,null,o)),n.createElement(C.A,{size:[20,80]}),n.createElement(J,{items:g,itemsPerRow:6,gridColumns:s}),n.createElement(C.A,{size:[50,110]})))},ee=a(35692);const te=m.default.section.withConfig({displayName:"BrandMain",componentId:"sc-1vsxw8o-0"})(["color:",";background-color:",";"],e=>e.color,e=>e.background),ae=m.default.div.withConfig({displayName:"BrandWrapper",componentId:"sc-1vsxw8o-1"})([""]),ne=m.default.div.withConfig({displayName:"BrandHeader",componentId:"sc-1vsxw8o-2"})(["display:flex;align-items:center;justify-content:space-between;"]),ie=m.default.h2.withConfig({displayName:"BrandTitle",componentId:"sc-1vsxw8o-3"})(["",""],(0,s.Ku)(s.w2.heading4Sans,s.w2.caption)),re=m.default.ul.withConfig({displayName:"BrandNav",componentId:"sc-1vsxw8o-4"})(["display:flex;list-style:none;","{display:none;}button{> div{background:"," !important;color:"," !important;border:1px solid "," !important;border-radius:7rem;}&:not(:disabled):hover > div{background:"," !important;color:"," !important;border:1px solid ","  !important;}&:disabled > div{opacity:0.5;}}"],c.mq.tabletPMax,e=>e.backgroundColor,e=>e.fontColor,e=>e.fontColor,e=>e.fontColor,e=>e.backgroundColor,e=>e.fontColor),oe=m.default.li.withConfig({displayName:"BrandNavItem",componentId:"sc-1vsxw8o-5"})(["& + &{margin-left:1rem;}"]),le=m.default.div.withConfig({displayName:"BrandCarousel",componentId:"sc-1vsxw8o-6"})(["display:flex;width:fit-content;",";transform:",";justify-content:",";min-width:",";"],(0,o.qE)("margin-top",30,90),e=>e.centered?"unset !important":"",e=>e.centered?"center":"",e=>e.centered?"100%":""),ce=m.default.div.withConfig({displayName:"BrandCardWrapper",componentId:"sc-1vsxw8o-7"})(["&:not(:first-child){","}"],(0,o.qE)("padding-left",15,36)),se=m.default.div.withConfig({displayName:"BrandCard",componentId:"sc-1vsxw8o-8"})(["display:flex;flex-direction:column;",""],(0,o.qE)("width",140,216)),de=m.default.div.withConfig({displayName:"BrandCardThumbnail",componentId:"sc-1vsxw8o-9"})([""]);m.default.div.withConfig({displayName:"BrandCardContent",componentId:"sc-1vsxw8o-10"})(["margin-top:20px;"]),m.default.div.withConfig({displayName:"BrandRole",componentId:"sc-1vsxw8o-11"})(["font-size:14px;"]),m.default.a.withConfig({displayName:"BrandCardLink",componentId:"sc-1vsxw8o-12"})(["display:inline-flex;align-items:flex-start;text-decoration:none;svg{margin-left:10px;width:26px;margin-top:2px;}p{","}"],(0,o.qE)("margin-right",8,10));var me=e=>{let t=e.data,a=e.backgroundColor,i=e.textColor;const r=t.items,o=t.title,l=t.background,c=Y(l,a,i),s=c[0],d=c[1],m=(0,n.use
1State)(0),u=m[0],g=m[1],p=(0,n.useState)(!1),f=p[0],h=p[1],w=(0,n.useState)(),b=w[0],y=w[1],v=(0,n.useRef)(u),I=(0,n.useRef)(),k=(0,n.useRef)(),z=(0,n.useRef)(),T=(0,n.useRef)(),q=(0,n.useCallback)(()=>{const e=parseFloat(window.getComputedStyle(z.current).width.replace(/px$/,"")),t=parseFloat(window.getComputedStyle(z.current).marginLeft.replace(/px$/,""));return y(I.current.offsetWidth),e+t},[]),W=()=>-k.current.offsetWidth+I.current.offsetWidth,P=(0,n.useCallback)(e=>{const t=W(),a=e<t,n=a?t:e>0?0:e;return h(a),n},[]),M=(0,n.useCallback)(e=>{N.Ay.to(k.current,{x:P(-T.current*e),ease:"inOut",duration:.3,onComplete:()=>{g(e)}})},[P]);(0,n.useEffect)(()=>{N.Ay.registerPlugin(S.s,A.w6),S.s.create(k.current,{type:"x",edgeResistance:1,inertia:!0,snap:function(e){const t=W(),a=N.Ay.utils.clamp(t,0,e);return g(Math.ceil(Math.abs(a/T.current))),h(a<=t),a}});const e=()=>{T.current=q(),y(I.current.offsetWidth),S.s.get(k.current).applyBounds({minX:I.current.offsetWidth-k.current.offsetWidth,maxX:0}),M(v.current)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[q,M]),(0,n.useEffect)(()=>{v.current=u},[u]);const L=()=>window.innerWidth>2060||window.innerWidth>1520?5:window.innerWidth>990?4:window.innerWidth>590?3:2;return n.createElement(te,{color:d,background:s},n.createElement(E.A,null,n.createElement(ae,{ref:I},n.createElement(C.A,{size:[30,90]}),n.createElement(ne,null,n.createElement(ie,null,o),n.createElement(re,{backgroundColor:s,fontColor:d},n.createElement(oe,null,n.createElement(O.A,{variant:"outline",onClick:()=>{M(Math.max(u-L(),0))},size:"large",color:"white",disabled:0===u},"PREVIOUS")),n.createElement(oe,null,n.createElement(O.A,{variant:"outline",onClick:()=>{M(Math.min(u+L(),r.length-1))},size:"large",color:"white",disabled:f},"NEXT")))),n.createElement(le,{ref:k,centered:0===u&&f},n.Children.toArray(r.map((e,t)=>n.createElement(ce,{ref:1===t?z:void 0},n.createElement(se,{wrapperWidth:b},n.createElement(de,null,n.createElement(x.G,{image:e.gatsbyImageData,alt:e.description,height:"110px",width:"250px"}))))))),n.createElement(C.A,{size:[40,98]}))))};const ue=m.default.section.withConfig({displayName:"PartnersMain",componentId:"sc-8b5gtp-0"})(["background-color:",";color:",";"],e=>e.background,e=>e.color),ge=m.default.div.withConfig({displayName:"PartnersWrapper",componentId:"sc-8b5gtp-1"})([""]),pe=m.default.div.withConfig({displayName:"PartnersHeader",componentId:"sc-8b5gtp-2"})(["display:flex;align-items:center;justify-content:space-between;"]),fe=m.default.div.withConfig({displayName:"PartnersFooter",componentId:"sc-8b5gtp-3"})(["display:flex;align-items:flex-start;justify-content:flex-end;",""],(0,o.qE)("margin-top",30,50)),he=m.default.h2.withConfig({displayName:"PartnersTitle",componentId:"sc-8b5gtp-4"})(["",""],(0,s.Ku)(s.w2.heading4Sans,s.w2.caption)),we=m.default.ul.withConfig({displayName:"PartnersNav",componentId:"sc-8b5gtp-5"})(["display:flex;list-style:none;","{display:none;}button{> div{background:"," !important;color:"," !important;border:1px solid "," !important;border-radius:7rem;}&:not(:disabled):hover > div{background:"," !important;color:"," !important;border:1px solid ","  !important;}&:disabled > div{opacity:0.5;}}"],c.mq.tabletPMax,e=>e.backgroundColor,e=>e.fontColor,e=>e.fontColor,e=>e.fontColor,e=>e.backgroundColor,e=>e.fontColor),Ee=m.default.li.withConfig({displayName:"PartnersNavItem",componentId:"sc-8b5gtp-6"})(["& + &{margin-left:1rem;}"]),be=m.default.div.withConfig({displayName:"PartnersCarousel",componentId:"sc-8b5gtp-7"})(["display:flex;width:fit-content;"," transform:",";justify-content:",";min-width:",";"],(0,o.qE)("margin-top",30,90),e=>e.centered?"unset !important":"",e=>e.centered?"center":"",e=>e.centered?"100%":""),Ce=m.default.div.withConfig({displayName:"PartnersCardWrapper",componentId:"sc-8b5gtp-8"})(["a{display:flex;flex-direction:column;position:relative;}&:not(:first-child){","}&:hover{.more,svg{","{opacity:1;transform:translateX(5px);}}}"],(0,o.qE)("padding-left",15,30),c.mq.tabletL),ye=m.default.div.withConfig({displayName:"PartnersCard",componentId:"sc-8b5gtp-9"})([""," "," background:",";transition:all 0.25 ease;display:flex;align-items:center;&:hover{background:",";}"],(0,o.qE)("width",140,270),(0,o.qE)("height",50,156),e=>
1e.hasBackground?e.isDark?"rgba(255,255,255, 0.1)":"#ededed":null,e=>e.hasBackground?e.isDark?"rgba(255,255,255, 0.3)":"#e1e1e1":null),xe=m.default.div.withConfig({displayName:"PartnersCardThumbnail",componentId:"sc-8b5gtp-10"})([""]),ve=(m.default.div.withConfig({displayName:"PartnersCardContent",componentId:"sc-8b5gtp-11"})(["margin-top:20px;"]),m.default.div.withConfig({displayName:"PartnersRole",componentId:"sc-8b5gtp-12"})(["font-size:14px;"]),m.default.span.withConfig({displayName:"PartnersCardLink",componentId:"sc-8b5gtp-13"})(["position:absolute;right:5px;top:5px;","{right:15px;top:15px;}display:flex;text-decoration:none;font-size:13px;z-index:1;.more{opacity:0;transition:all 0.25s ease;}svg{transition:all 0.25s ease;margin-left:10px;width:10px;}"],c.mq.tabletL));var Ie=e=>{let t=e.data,a=e.parentService,i=e.backgroundColor,r=e.textColor;const o=t.partnerItems,l=t.title,c=t.subTitle,s=t.background,d=t.titleStyle,m=t.useDarkLogos,u=t.isClickable,g=Y(s,i,r),p=g[0],f=g[1],h=(0,n.useState)(0),w=h[0],b=h[1],I=(0,n.useState)(!1),k=I[0],z=I[1],T=(0,n.useRef)(w),q=(0,n.useRef)(),W=(0,n.useRef)(),P=(0,n.useRef)(),M=(0,n.useRef)(),L=(0,n.useCallback)(()=>parseFloat(window.getComputedStyle(P.current).width.replace(/px$/,""))+parseFloat(window.getComputedStyle(P.current).marginLeft.replace(/px$/,"")),[]),B=()=>-W.current.offsetWidth+q.current.offsetWidth,R=(0,n.useCallback)(e=>{const t=B(),a=e<t,n=a?t:e>0?0:e;return z(a),n},[]),F=(0,n.useCallback)(e=>{N.Ay.to(W.current,{x:R(-M.current*e),ease:"inOut",duration:.3,onComplete:()=>{b(e)}})},[R]);(0,n.useEffect)(()=>{N.Ay.registerPlugin(S.s,A.w6),S.s.create(W.current,{type:"x",edgeResistance:1,inertia:!0,snap:function(e){const t=B(),a=N.Ay.utils.clamp(t,0,e);return b(Math.ceil(Math.abs(a/M.current))),z(a<=t),a}});const e=()=>{M.current=L(),S.s.get(W.current).applyBounds({minX:q.current.offsetWidth-W.current.offsetWidth,maxX:0}),F(T.current)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[L,F]),(0,n.useEffect)(()=>{T.current=w},[w]);const j=()=>window.innerWidth>2060||window.innerWidth>1520?5:window.innerWidth>990?4:window.innerWidth>590?3:2,D=()=>{F(Math.max(w-j(),0))},G=()=>{F(Math.min(w+j(),o.length-1))},Q=e=>m?e.darkImage?n.createElement(x.G,{image:e.darkImage.gatsbyImageData,alt:e.darkImage.description,width:240,height:240}):n.createElement(x.G,{image:e.featuredImage.gatsbyImageData,alt:e.featuredImage.description,width:240,height:240}):e.lightImage?n.createElement(x.G,{image:e.lightImage.gatsbyImageData,alt:e.lightImage.description,width:240,height:240}):n.createElement(x.G,{image:e.featuredImage.gatsbyImageData,alt:e.featuredImage.description,width:240,height:240});return n.createElement(ue,{color:f,background:p},n.createElement(E.A,null,n.createElement(ge,{ref:q},n.createElement(C.A,{size:[30,95]}),n.createElement(pe,null,n.createElement("div",null,"Signifier Light"===d?n.createElement(y.uT,{maxWidth:11},l):n.createElement(he,null,l),n.createElement(C.A,{size:12}),n.createElement(y.KJ,{maxWidth:22},c)),"Signifier Light"!==d&&n.createElement(we,{backgroundColor:p,fontColor:f},n.createElement(Ee,null,n.createElement(O.A,{variant:"outline",onClick:D,size:"large",color:"white",disabled:0===w},"PREVIOUS")),n.createElement(Ee,null,n.createElement(O.A,{variant:"outline",onClick:G,size:"large",color:"white",disabled:k},"NEXT")))),n.createElement(be,{ref:W,centered:!1},n.Children.toArray(o.map((e,t)=>n.createElement(Ce,{ref:1===t?P:void 0},u?n.createElement(v.A,{to:"what-we-do/"+a+"/"+e.slug,target:"_blank"},n.createElement(ye,{hasBackground:!0,isDark:"White"!==s},Q(e)&&n.createElement(xe,null,Q(e))),n.createElement(ve,null,n.createElement("span",{className:"more"},"Learn more"),n.createElement(X.A,null))):n.createElement(ye,{isDark:"White"!==s},Q(e)&&n.createElement(xe,null,Q(e))))))),"Signifier Light"===d&&n.createElement(fe,null,n.createElement(we,{backgroundColor:p,fontColor:f},n.createElement(Ee,null,n.createElement(O.A,{variant:"outline",onClick:D,size:"large",color:"white",disabled:0===w},"PREVIOUS")),n.createElement(Ee,null,n.createElement(O.A,{variant:"outline",onClick:G,size:"large",color:"white",disabled:k},"NEXT")))),n.createElement(C.A,{size:[60,100]}))))};const ke=m.default.section.withConfig({displayName:"PartnersGridMain",componentId:"sc-9vd3a7-0"})(["color:",";background-color:",";","{","}"],e=>e.color,e=>e.background,s.KJ,(0,s.Ku)(s.w2.heading2Serif,s.w2.heading1Serif)),Ne=m.default.h2.withConfig({displayName:"BrandTitle",componentId:"sc-9vd3a7-1"})(["",""],(0,s.Ku)(s.w2.heading4Sans,s.w2.caption)),Se=m.default.div.withConfig({displayName:"PartnersGridImage",componentId:"sc-9vd3a7-2"})(["max-height:170px;[data-main-image]{object-fit:contain !important;max-height:170px;}"]);var Ae=e=>{let t=e.data,a=e.backgroundColor,i=e.textColor,r=e.parentService;const o=t.partnerItems,l=t.title,c=t.background,s=t.titleStyle,d=t.useDar
1kLogos,m=Y(c,a,i),u=m[0],g=m[1],p=o.map(e=>{return n.createElement(Se,null,n.createElement(v.A,{to:"what-we-do/"+r+"/"+e.slug},(t=e,d?t.darkImage?n.createElement(x.G,{image:t.darkImage.gatsbyImageData,alt:t.darkImage.description,width:170,height:170}):n.createElement(x.G,{image:t.featuredImage.gatsbyImageData,alt:t.featuredImage.description,width:170,height:170}):t.lightImage?n.createElement(x.G,{image:t.lightImage.gatsbyImageData,alt:t.lightImage.description,width:170,height:170}):n.createElement(x.G,{image:t.featuredImage.gatsbyImageData,alt:t.featuredImage.description,width:170,height:170}))));var t});return n.createElement(ke,{color:g,background:u},n.createElement(E.A,null,n.createElement(C.A,{size:[70,110]}),n.createElement(n.Fragment,null,"Signifier Light"===s?n.createElement(y.uT,{maxWidth:11},l):n.createElement(Ne,null,l)),n.createElement(C.A,{size:[20,70]}),n.createElement(J,{items:p,itemsPerRow:6}),n.createElement(C.A,{size:[50,110]})))},ze=a(68102);const Te=m.default.section.withConfig({displayName:"SideBySideMain",componentId:"sc-1p2425x-0"})(["background-color:",";color:",";.imageCol{text-align:end;","{padding-left:30px;}}.content{p{",";font-family:",";}ul{list-style:disc;padding-left:30px;}}"],e=>e.bgColor?e.bgColor:l.T.charcoal,e=>e.tColor?e.tColor:l.T.white,c.mq.tabletL,(0,o.qE)("font-size",16,27),ze.g.serif.family);var qe=a(81498),We=a(22557);var Pe=e=>{let t=e.data,a=e.bgColor,i=e.tColor;t.title;const r=t.featuredTitle,o=t.featuredContent,l=t.featuredImage;return n.createElement(Te,{bgColor:a,tColor:i},n.createElement(C.A,{size:[60,160]}),n.createElement(E.A,null,n.createElement(qe.A,{columnCount:12},n.createElement(We.A,{tabletL:7},r&&n.createElement(b.A,{content:r,as:"h2",paragraphSize:"heading2Serif"}),n.createElement(C.A,{size:[30,55]}),n.createElement(b.A,{content:o,paragraphSize:"small",className:"content"})),n.createElement(We.A,{tabletL:5,tabletLStart:8,className:"imageCol"},n.createElement(C.A,{size:[40,140]}),n.createElement(x.G,{image:l.gatsbyImageData,alt:l.description})))),n.createElement(C.A,{size:[60,140]}))};const Me=m.default.section.withConfig({displayName:"InformationMain",componentId:"sc-zrj19b-0"})(["background-color:",";h3,p{"," "," font-family:",";}"],e=>e.backgroundColor,(0,o.qE)("font-size",22,32),(0,o.qE)("margin-bottom",20,40),ze.g.serif.family);m.default.h2.withConfig({displayName:"Heading",componentId:"sc-zrj19b-1"})(["font-family:",";font-weight:",";",";"],ze.g.sans.family,ze.g.sans.weight.extrabold,(0,o.qE)("font-size",22,35));var Le=e=>{let t=e.data;e.title;const a=l.T.white,i=l.T.charcoal;return n.createElement(Me,{backgroundColor:a,fontColor:i},n.createElement(C.A,{size:[60,100]}),n.createElement(E.A,null,n.createElement(b.A,{content:t,as:"p"})),n.createElement(C.A,{size:[90,120]}))},Be=a(50037);var Re=e=>{let t=e.data,a=e.textColor,i=e.backgroundColor,r=e.caseStudies,o=e.slug;e.location;return n.createElement(n.Fragment,null,n.Children.toArray(t.map(e=>{switch(e.__typename){case"ContentfulServiceCaseStudies":return n.createElement(n.Fragment,null,r.length>0&&n.createElement(H,{data:e,caseStudies:r,backgroundColor:i,textColor:a}));case"ContentfulServiceGallery":return n.createElement(n.Fragment,null,"Grid"===e.itemsStyle?n.createElement(Z,{data:e,backgroundColor:i,textColor:a}):n.createElement(me,{data:e,backgroundColor:i,textColor:a}));case"ContentfulFeaturedInformation":return n.createElement(n.Fragment,null,"Information"===e.layout?n.createElement(Le,{data:e.featuredContent,title:e.featuredTitle}):n.createElement(Pe,{data:e,bgColor:i,tColor:a}));case"ContentfulServicePartners":return n.createElement(n.Fragment,null,"Grid"===e.itemsStyle?n.createElement(Ae,{data:e,parentService:o,backgroundColor:i,textColor:a}):n.createElement(Ie,{data:e,parentService:o,backgroundColor:i,textColor:a}));case"ContentfulTestimonySlides":return n.createElement(ee.A,{content:e.quotes});case"ContentfulVimeoVideo":return n.createElement(Be.A,{content:e,hasOverlay:!0});default:return null}})))};var Fe=e=>{let t=e.data;const a=(0,r.Pj)()[1],o=t.contentfulSubService,c=o.seo,s=o.slug,m=o.pageSeoTitle,u=o.parentService,g=o.backgroundColor,p=o.textColor,f=o.title,h=o.bannerTitle,w=o.bannerImage,E=o.subServiceContent,b=o.pageFooter,C=t.allContentfulCaseStudy.nodes,y=(0,d.TS)(g),x=(0,d.TS)(p);return(0,n.useEffect)(()=>{(0,r.PP)(a,x,y),(0,r.VZ)(a,!0)},[a,x,y]),n.createElement("div",null,n.createElement(i.A,{data:c,slug:"what-we-do/"+u.slug+"/"+s}),n.createElement(I,{bgColor:y,tColor:x,name:f,parentService:u,title:h,image:w,pageSeoTitle:m}),n.createElement(Re,{data:E,backgroundColor:y,textColor:x,slug:s,caseStudies:C}
1),b&&n.createElement(k.A,{content:b,customBackground:x,customText:l.T.charcoal}))}},35692:function(e,t,a){a.d(t,{A:function(){return T}});var n=a(96540),i=a(47634),r=a(88963),o=a(68102),l=a(61520),c=a(63679);const s=c.default.div.withConfig({displayName:"QuoteMain",componentId:"sc-1vanbgs-0"})(["background-color:",";color:",";transition:height .25s ease;"],e=>e.bgColor?e.bgColor:r.T.mist,e=>e.textColor?e.textColor:r.T.charcoal),d=c.default.blockquote.withConfig({displayName:"QuoteFooter",componentId:"sc-1vanbgs-1"})(["display:grid;grid-template:1fr / 1fr;justify-content:start;"]),m=c.default.div.withConfig({displayName:"QuoteCarouselItem",componentId:"sc-1vanbgs-2"})(["display:flex;flex-direction:column;justify-content:space-between;grid-column:1;grid-row:1;","{align-items:flex-start;display:flex;flex-direction:row;}"],l.mq.desk),u=c.default.div.withConfig({displayName:"QuoteItemContainer",componentId:"sc-1vanbgs-3"})(["display:flex;flex-direction:column;justify-content:space-between;width:100%;","{align-items:flex-start;display:flex;flex-direction:row;}"],l.mq.desk),g=c.default.div.withConfig({displayName:"QuoteText",componentId:"sc-1vanbgs-4"})([".quoteContent p:after{content:'”';}p{font-size:22px;}"]),p=c.default.span.withConfig({displayName:"QuoteSign",componentId:"sc-1vanbgs-5"})(["font-size:100px;font-family:",";font-weight:",";display:block;line-height:30px;"],o.g.sans.family,o.g.sans.weight.extrabold),f=c.default.span.withConfig({displayName:"AutherDesc",componentId:"sc-1vanbgs-6"})(["display:block;margin-bottom:18px;"]),h=c.default.footer.withConfig({displayName:"QuoteColumn",componentId:"sc-1vanbgs-7"})(["text-align:right;","{margin-top:8rem;}"],l.mq.deskMax),w=c.default.p.withConfig({displayName:"QuoteAuthor",componentId:"sc-1vanbgs-8"})(["font-family:",";font-weight:",";"," line-height:1.2;"],o.g.sans.family,o.g.sans.weight.extrabold,(0,i.qE)("font-size",18,22)),E=c.default.p.withConfig({displayName:"QuoteRole",componentId:"sc-1vanbgs-9"})(["font-family:",";font-weight:",";"," line-height:1.2;margin-left:auto;"],o.g.sans.family,o.g.sans.weight.regular,(0,i.qE)("font-size",16,22)),b=c.default.div.withConfig({displayName:"QuoteHeader",componentId:"sc-1vanbgs-10"})(["display:flex;align-items:center;justify-content:space-between;"]),C=c.default.ul.withConfig({displayName:"QuoteNav",componentId:"sc-1vanbgs-11"})(["display:flex;list-style:none;margin-left:auto;","{display:none;}button{> div{background:"," !important;color:"," !important;border:1px solid "," !important;border-radius:7rem;}&:not(:disabled):hover > div{background:"," !important;color:"," !important;border:1px solid ","  !important;}&:disabled > div{opacity:0.5;}}"],l.mq.tabletPMax,e=>e.charcoal,e=>e.white,e=>e.white,e=>e.white,e=>e.charcoal,e=>e.white),y=c.default.li.withConfig({displayName:"QuoteNavItem",componentId:"sc-1vanbgs-12"})(["& + &{margin-left:1rem;}"]);var x=a(85692),v=a(76811),I=a(73517),k=a(64232),N=a(92795),S=a(12430),A=a(5588),z=a(53530);var T=e=>{let t=e.label,a=e.content;const r=(0,n.useState)(0),o=r[0],l=r[1],c=(0,n.useState)(!1),T=c[0],q=c[1],W=(0,x.Wx)({rootMargin:v.l.rootMargin}),P=W[0];W[1];(0,n.useEffect)(()=>{q(1===a.length)},[a]);const M=o===a.length-1,L=a[o];return n.createElement(s,{ref:P,className:T?"oneRotate":""},n.createElement(I.A,null,n.createElement(k.A,{size:[30,70]}),!T&&n.createElement(b,null,n.createElement(C,null,n.createElement(y,null,n.createElement(z.A,{variant:"outline",onClick:()=>{l(e=>(e-1+a.length)%a.length)},size:"large",color:"white",disabled:0===o},"PREVIOUS")),n.createElement(y,null,n.createElement(z.A,{variant:"outline",onClick:()=>{l(e=>(e+1)%a.length)},size:"large",color:"white",disabled:M},"NEXT")))),n.createElement(k.A,{size:[30,70]}),t&&n.createElement(n.Fragment,null,n.createElement(N.HL,{as:"h2"},t),n.createElement(k.A,{size:[30,50]})),n.createElement(d,null,n.createElement(m,null,n.createElement(u,null,n.createElement(g,null,n.createElement(p,null,"“"),n.createElement(S.A,{content:L.quoteContent,paragraphSize:"small",maxWidth:38,className:"quoteContent"})),n.createElement(h,null,n.createElement(w,null,L.authorName),L.authorDescription&&n.createElement(n.Fragment,null,n.createElement(k.A,{size:5}
1),n.createElement(E,null,n.createElement(f,null,(0,i.G8)(L.authorDescription.authorDescription)),L.image&&n.createElement(A.G,{image:L.image.gatsbyImageData,alt:L.image.description}))))))),!T&&n.createElement("div",{style:{display:"flex",justifyContent:"center",gap:"10px",marginTop:"30px"}},a.map((e,t)=>n.createElement("button",{key:t,onClick:()=>l(t),style:{width:"10px",height:"10px",borderRadius:"50%",background:o===t?"#000":"#ccc",border:"none",cursor:"pointer",transition:"background 0.3s"},"aria-label":"Go to quote "+(t+1)}))),n.createElement(k.A,{size:[60,150]})))}}}]);
2//# sourceMappingURL=component---src-templates-sub-service-js-3ff6ab9baacf2af3931b.js.map

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.