PageSourceSearch

https://ecr-group.netlify.app/component---src-pages-team-js-2722e362ef55a53feb69.js

js ecr-group.netlify.app collected 2026-10-03 10:41:10 UTC 6,970 bytes, 156 lines download raw bytes

1"use strict";(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[371],{7186:function(e,t,i){i.r(t),i.d(t,{default:function(){return _}});var n=i(7294),l=i(3864),r=i(2794),o=i(1404),a=i(5195),d=i(2788),c=i(3723),m=i(1082),s=i(5444),u=i(6610);const p=e=>{var t,i;let l,{teamList:r}=e;const{0:o,1:d}=(0,n.useState)(null),{0:u,1:p}=(0,n.useState)(0),{0:S,1:_}=(0,n.useState)(!1),{0:j,1:$}=(0,n.useState)(!1);var k;"undefined"!=typeof window?l=null!==(k=JSON.parse(localStorage.getItem("activeSlide")))&&void 0!==k?k:2:l=2;return n.createElement("div",null,n.createElement(a.W,null,n.createElement(h,null,null==r||null===(t=r.primary)||void 0===t||null===(i=t.heading)||void 0===i?void 0:i.text)),n.createElement(f,{onSwiper:d,swiperRef:o,spaceBetween:0,slidesPerView:1,centeredSlides:!0,initialSlide:l,autoHeight:!1,breakpoints:{768:{slidesPerView:3,spaceBetween:0,initialSlide:l},1100:{slidesPerView:5,spaceBetween:0,initialSlide:l},1700:{slidesPerView:7,spaceBetween:0,initialSlide:l}},onSlideChange:e=>{const{realIndex:t,isEnd:i,isBeginning:n}=e;p(t),_(i),$(n)}},n.createElement(w,null,r.items.map(((e,t)=>{var i,l,r,o,a,d;let{person:p}=e;const h=null==p||null===(i=p.document)||void 0===i||null===(l=i.data)||void 0===l?void 0:l.name,f=null==p||null===(r=p.document)||void 0===r||null===(o=r.data)||void 0===o?void 0:o.linkedin,w=null==p||null===(a=p.document)||void 0===a||null===(d=a.data)||void 0===d?void 0:d.photo,y=(0,c.c)(w);return n.createElement(g,{key:t,activeImage:u===t},n.createElement(x,null,n.createElement(m.Link,{to:p.uid,onClick:()=>{return e=t,void localStorage.setItem("activeSlide",JSON.stringify(e));var e}},n.createElement(C,{activeImage:u===t},n.createElement(c.G,{alt:null!=h?h:"",image:y}
1))),u===t&&n.createElement(v,null,n.createElement(E,null,n.createElement("span",null,h),n.createElement("a",{href:f.url,target:"_blank",rel:"noreferrer"},n.createElement(s.J,{type:"LINKEDIN_MAIN",width:24,height:24}))))))}))),n.createElement(y,null,n.createElement(b,{onClick:()=>o.slidePrev(),isStartedSlide:j},n.createElement(s.J,{type:"ARROW_LEFT"})),n.createElement(I,{onClick:()=>o.slideNext(),isEndSlide:S},n.createElement(s.J,{type:"ARROW_LEFT",style:{transform:"rotate(180deg)"}})))))},h=d.default.h3.withConfig({componentId:"sc-o33hji-0"})`
2  color: white;
3  text-transform: uppercase;
4  text-align: center;
5  font-size: 18px;
6  line-height: 1.21;
7  font-weight: 600;
8
9  @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) {
10    font-size: 28px;
11  }
12`,f=(0,d.default)(u.tq).withConfig({componentId:"sc-o33hji-1"})`
13  margin-top: 10px;
14  padding-bottom: 40px !important;
15  @media (min-width: ${e=>{let{theme:t}=e;return t.media.wideScreen_xl}}) {
16    margin-top: 20px;
17  }
18
19  .swiper-wrapper {
20    height: auto;
21  }
22`,g=(0,d.default)(u.o5).withConfig({componentId:"sc-o33hji-2"})`
23  z-index: ${e=>{let{activeImage:t}=e;return t?100:0}};
24`,w=d.default.ul.withConfig({componentId:"sc-o33hji-3"})`
25  display: flex;
26  justify-content: center;
27  color: white;
28  position: relative;
29  z-index: 20;
30  margin-top: 150px;
31  gap: 1rem;
32`,x=d.default.li.withConfig({componentId:"sc-o33hji-4"})`
33  display: flex;
34  flex-direction: column;
35  justify-content: center;
36  align-items: center;
37  text-align: center;
38`,v=d.default.div.withConfig({componentId:"sc-o33hji-5"})`
39  display: flex;
40  flex-direction: column;
41  align-items: center;
42  justify-content: flex-start;
43  @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) {
44    margin: 0 -20%;
45    width: 140%;
46  }
47`,E=d.default.div.withConfig({componentId:"sc-o33hji-6"})`
48  display: flex;
49  align-items: center;
50  gap: 1rem;
51
52  a {
53    color: ${e=>{let{theme:t}=e;return t.colors.primary_color}};
54    transition: ${e=>{let{theme:t}=e;return t.durations.transition}};
55
56    &:hover {
57      opacity: 0.7;
58    }
59  }
60
61  span {
62    font-size: 18px;
63    font-weight: 600;
64    color: white;
65
66    @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) {
67      font-size: 24px;
68    }
69  }
70`,y=d.default.div.withConfig({componentId:"sc-o33hji-7"})`
71  margin: 30px auto 0;
72  text-align: center;
73  display: flex;
74  align-items: center;
75  justify-content: center;
76  gap: 24px;
77`,S=d.default.button.withConfig({componentId:"sc-o33hji-8"})`
78  width: 56px;
79  height: 56px;
80  display: flex;
81  align-items: center;
82  justify-content: center;
83  border-radius: 50%;
84  overflow: hidden;
85  background-color: ${e=>{let{theme:t}=e;return t.colors.primary_color}};
86  transition: 0.3s;
87`,b=(0,d.default)(S).withConfig({componentId:"sc-o33hji-9"})`
88  background-color: ${e=>{let{isStartedSlide:t,theme:i}=e;return t?"white":i.colors.primary_color}};
89
90  &:hover {
91    opacity: ${e=>{let{isStartedSlide:t}=e;return t?1:.7}};
92    cursor: ${e=>{let{isStartedSlide:t}=e;return t?"auto":"pointer"}};
93  }
94`,I=(0,d.default)(S).withConfig({componentId:"sc-o33hji-10"})`
95  background-color: ${e=>{let{isEndSlide:t,theme:i}=e;return t?"white":i.colors.primary_color}};
96
97  &:hover {
98    opacity: ${e=>{let{isEndSlide:t}=e;return t?1:.7}};
99    cursor: ${e=>{let{isEndSlide:t}=e;return t?"auto":"pointer"}};
100  }
101`,C=d.default.div.withConfig({componentId:"sc-o33hji-11"})`
102  margin-top: 35px;
103  width: 340px;
104  height: 340px;
105  justify-content: center;
106  margin-bottom: 21px;
107  display: flex;
108  border: 10px solid white;
109  background-color: white;
110  border-radius: 50%;
111  overflow: hidden;
112  transition: 0.4s;
113  box-shadow: ${e=>{let{theme:t}=e;
113return t.box.boxShadow}};
114
115  @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) {
116    width: 375px;
117    height: 375px;
118    transform: scale(${e=>{let{activeImage:t}=e;return t?"1":"0.9"}});
119  }
120  @media (min-width: 1700px) {
121    transform: scale(${e=>{let{activeImage:t}=e;return t?"1":"0.9"}});
122  }
123
124  img {
125    border-radius: 50%;
126  }
127
128  div {
129    width: 376px;
130
131    &:hover {
132      position: relative;
133      z-index: 300;
134    }
135  }
136
137  &:hover {
138    border: 4px solid ${e=>{let{theme:t}=e;return t.colors.secondary_color}};
139  }
140`;var _=e=>{let{data:t,location:i}=e;const{prismicPage:{data:d}}=t,c=d.body.filter((e=>e.id)),m=c[0],s=c[1],u=c[2];return n.createElement(l.Z,{location:i},n.createElement(r.Z,{title:d.meta_title,description:d.meta_description,pathname:i.pathname}),n.createElement(o.S,{type:"blue",container:!0},n.createElement(a.W,null,n.createElement(j,null,"The ECR Team")),n.createElement($,null,n.createElement(p,{teamList:m}),n.createElement(p,{teamList:s}),n.createElement(p,{teamList:u}))))};const j=d.default.h1.withConfig({componentId:"sc-1godmjb-0"})`
141  color: white;
142  text-transform: uppercase;
143  font-size: 30px;
144  line-height: 1.21;
145  font-weight: 600;
146
147  @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) {
148    font-size: 64px;
149  }
150`,$=d.default.div.withConfig({componentId:"sc-1godmjb-1"})`
151  display: flex;
152  flex-direction: column;
153  gap: 16px;
154  margin-top: 24px;
155`}}]);
156//# sourceMappingURL=component---src-pages-team-js-2722e362ef55a53feb69.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.