PageSourceSearch

https://ecr-group.netlify.app/90e90803b39ed7c6fbf6baf1192ed8e01925c0c2-fe263a88cbec6644fdc6.js

js ecr-group.netlify.app collected 2026-10-03 10:41:35 UTC 19,291 bytes, 488 lines download raw bytes

1"use strict";(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[946],{3702:function(e,t,n){var i=n(7294),o=n(1082),r=n(2788),a=n(5444),l=n(3711);t.Z=e=>{let{items:t,path:n}=e;const{0:r,1:p}=(0,i.useState)(!1),{0:h,1:g}=(0,i.useState)(null),f=(0,i.useRef)(null);(0,l.t)(f,p),(0,i.useEffect)((()=>{r||g(null)}),[r]);const x=t.find((e=>{const t=e.subCats&&e.subCats.find((e=>e.path===n));return e.path===n||t}));return i.createElement(d,{ref:f},i.createElement(c,{openMenu:r},i.createElement("button",{onClick:()=>{p(!r)}},x?x.name:"Everything",i.createElement(a.J,{type:"ARROW"})),i.createElement(m,{className:"dropdown-content"},t.map(((e,t)=>i.createElement("li",{key:t,className:h===t?"active":null},i.createElement(s,null,i.createElement(o.Link,{to:e.path},e.name),e.subCats&&i.createElement("span",{onClick:()=>g(t)},i.createElement(a.J,{type:"ARROW"}))),e.subCats&&i.createElement(u,null,e.subCats.map(((e,t)=>i.createElement("li",{key:t},i.createElement(o.Link,{to:e.path},e.name)))))))))))};const s=r.default.div.withConfig({componentId:"sc-17iaa70-0"})`
2  display: flex;
3  align-items: center;
4  justify-content: space-between;
5
6  @media (min-width: ${e=>{let{theme:t}=e;return t.media.desktop_min}}) {
7    display: block;
8  }
9
10  span {
11    cursor: pointer;
12    display: flex;
13    align-items: center;
14    justify-content: center;
15    min-height: 33px;
16    min-width: 40px;
17    margin: 0 !important;
18    position: relative;
19
20    &::before {
21      position: absolute;
22      content: "";
23      left: 0;
24      height: 50%;
25      width: 1px;
26      background-color: white;
27      opacity: 0.5;
28    }
29
30    @media (min-width: ${e=>{let{theme:t}=e;return t.media.desktop_min}}) {
31      display: none;
32    }
33  }
34`,d=r.default.div.withConfig({componentId:"sc-17iaa70-1"})`
35  display: flex;
36  align-items: center;
37  position: relative;
38  max-width: 200px;
39  margin-top: 16px;
40`,c=r.default.div.withConfig({componentId:"sc-17iaa70-2"})`
41  .dropdown-content {
42    display: ${e=>e.openMenu?"block":"none"};
43  }
44  @media (min-width: ${e=>{let{theme:t}=e;return t.media.desktop_min}}) {
45    &:hover .dropdown-content {
46      display: block;
47    }
48  }
49
50  button {
51    font-size: 16px;
52    font-weight: 500;
53    margin-right: 1rem;
54    color: white;
55    min-width: max-content;
56    line-height: 28px;
57    cursor: pointer;
58    text-align: left;
59    display: flex;
60    align-items: center;
61    font-family: ${e=>{let{theme:t}=e;return t.fonts.primary_font}};
62
63    svg {
64      width: 15px;
65      height: 10px;
66      margin-left: 10px;
67      transform: ${e=>e.openMenu?"rotate(180deg)":"rotate(0)"};
68    }
69
70    @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) {
71      font-size: 20px;
72    }
73  }
74`,m=r.default.ul.withConfig({componentId:"sc-17iaa70-3"})`
75  box-shadow: ${e=>{let{theme:t}=e;
75return t.box.boxShadow}};
76  background: ${e=>{let{theme:t}=e;return t.colors.primary_color}};
77  font-size: 14px;
78  font-weight: 500;
79  list-style: none;
80  display: none;
81  position: absolute;
82  left: 0;
83  min-width: 150px;
84  padding: 4px 0;
85  z-index: 100;
86  margin: 0;
87  li {
88    position: relative;
89    width: 100%;
90
91    &::before {
92      content: "";
93      height: 100%;
94      width: 0;
95      background: white;
96      position: absolute;
97      left: 0;
98      top: 0;
99    }
100
101    &:active {
102      background: ${e=>{let{theme:t}=e;return t.colors.secondary_color}};
103
104      &::before {
105        width: 2px;
106      }
107    }
108
109    &.active {
110      background: ${e=>{let{theme:t}=e;return t.colors.secondary_color}};
111      transition: ${e=>{let{theme:t}=e;return t.durations.transition}};
112
113      > ul {
114        display: block;
115      }
116
117      &::before {
118        width: 2px;
119      }
120    }
121
122    @media (min-width: 992px) {
123      &:hover {
124        background: ${e=>{let{theme:t}=e;return t.colors.secondary_color}};
125        transition: ${e=>{let{theme:t}=e;return t.durations.transition}};
126
127        > ul {
128          display: block;
129        }
130      }
131    }
132  }
133
134  a {
135    padding: 8px 12px;
136    display: block;
137    color: ${e=>{let{theme:t}=e;return t.colors.white}};
138    transition: ${e=>{let{theme:t}=e;return t.durations.transition}};
139  }
140`,u=r.default.ul.withConfig({componentId:"sc-17iaa70-4"})`
141  font-size: 14px;
142  font-weight: 500;
143  display: none;
144  position: absolute;
145  box-shadow: ${e=>{let{theme:t}=e;
145return t.box.boxShadow}};
146  z-index: 100;
147  margin: 0;
148  left: calc(100% + 5px);
149  top: 0;
150  min-width: 180px;
151
152  &:after {
153    content: "";
154    position: absolute;
155    top: 0;
156    left: -10px;
157    width: 10px;
158    height: 100%;
159  }
160
161  li {
162    a {
163      padding: 8px 12px;
164      display: block;
165      color: ${e=>{let{theme:t}=e;return t.colors.white}};
166      background: ${e=>{let{theme:t}=e;return t.colors.primary_color}}!important;
167      transition: ${e=>{let{theme:t}=e;return t.durations.transition}};
168
169      &:before {
170        width: 0 !important;
171      }
172    }
173    &:hover a {
174      background: ${e=>{let{theme:t}=e;return t.colors.secondary_color}}!important;
175      transition: ${e=>{let{theme:t}=e;return t.durations.transition}};
176      &:before {
177        width: 2px !important;
178      }
179    }
180  }
181`},5768:function(e,t,n){n.d(t,{c:function(){return p}});var i=n(7294),o=n(381),r=n.n(o),a=n(2636),l=n(3206),s=n(8016),d=n(2788),c=n(5598),m=n(6610),u=n(4724);t.Z=e=>{let{data:t}=e;const{0:n,1:o}=(0,i.useState)(),{0:r,1:a}=(0,i.useState)(),l=(0,i.useRef)(null);return i.createElement(c.$0,null,i.createElement(c.C,null,i.createElement(c.Dx,null,"Our Meetings"),i.createElement("p",null,"ECR Retail Loss Group regular working group meetings provide an opportunity to network with industry peers, hear updates on the latest research and sector initiatives, and development new skills and insights. All retailers, CPGs and academics can participate at no cost.")),i.createElement(c.h2,{isFirstSlide:n,isLastSlide:r},i.createElement(c.W,{onSwiper:e=>{l.current=e,o(e.isBeginning),a(e.isEnd)},onResize:e=>{o(e.isBeginning),a(e.isEnd)},onActiveIndexChange:e=>{o(e.isBeginning),a(e.isEnd)},observer:!0,observeParents:!0,spaceBetween:15,slidesPerView:1,enabled:!0,slidesPerGroup:1,breakpoints:{768:{slidesPerView:2,spaceBetween:20,enabled:t.length>2,slidesPerGroup:2},1180:{slidesPerView:3,enabled:t.length>3,slidesPerGroup:3}}},null==t?void 0:t.map(((e,t)=>i.createElement(m.o5,{key:t},i.createElement(p,{event:e.node}))))),i.createElement(c.lk,{onClick:()=>{l.current.slidePrev()}}),i.createElement(c.P1,{onClick:()=>{l.current.slideNext()}})))};const p=e=>{var t,n,o,d,m,p;let{event:x,basePath:w="/event",location:b}=e;const{data:{category:v,custom_date:E,description:y,organiser:k,start_date:$,end_date:C,title:P},uid:_}=x,I=r()()>r()($),z=`${`${w}/${_}`}${null!=b&&null!==(t=b.pathname)&&void 0!==t&&t.includes("event")?`?from=${b.pathname}`:""}`;return i.createElement(h,{isPast:I},i.createElement(u.Z,{name:null==v||null===(n=v.document)||void 0===n?void 0:n.data.name,color:null==v||null===(o=v.document)||void 0===o?void 0:o.data.color}),i.createElement(c.xu,null,i.createElement("picture",null,i.createElement("img",{src:null===(d=s.l[null==v?void 0:v.uid])||void 0===d?void 0:d.background,alt:""})),i.createElement(c.vs,{color:null==v||null===(m=v.document)||void 0===m||null===(p=m.data)||void 0===p?void 0:p.color},i.createElement(c.z,null,i.createElement(c.ll,null,(0,a.a)(P.text,70))),i.createElement(c.HU,null,i.createElement(f,null,E||i.createElement(i.Fragment,null,r().utc($).format("D MMM YYYY"),C&&` - ${r().utc(C).format("D MMM YYYY")}`)),i.createElement(g,null,I?"Past":"UpComing"),i.createElement(c.dk,null,(0,a.a)(y||"",120)),i.createElement(c.S3,null,(0,l.q)(k)),i.createElement(c.zx,{to:z},"Learn more")))))},h=d.default.div.withConfig({componentId:"sc-15uiy0l-0"})`
182  opacity: ${e=>e.isPast?"0.6":"1.0"};
183  position: relative;
184  max-width: 355px;
185  width: 100%;
186  height: 446px;
187`,g=d.default.div.withConfig({componentId:"sc-15uiy0l-1"})`
188  color: white;
189  margin-top: 0.1rem;
190  font-size: 15px;
191  line-height: 1.67;
192  text-transform: uppercase;
193`,f=d.default.div.withConfig({componentId:"sc-15uiy0l-2"})`
194  color: white;
195  text-align: left;
196  margin-top: 0.1rem;
197  font-size: 15px;
198  line-height: 1.67;
199`},5598:function(e,t,n){n.d(t,{$0:function(){return c},C:function(){return g},Dx:function(){return h},HU:function(){return $},P1:function(){return u},S3:function(){return y},W:function(){return f},dk:function(){return E},h2:function(){return p},lk:function(){return m},ll:function(){return b},vs:function(){return w},xu:function(){return x},z:function(){return k},zx:function(){return v}});var i=n(7294),o=n(2636),r=n(1082),a=n(2788),l=n(8016),s=n(6610),d=n(4724);t.ZP=e=>{let{data:t}=e;const{0:n,1:r}=(0,i.useState)(),{0:a,1:C}=(0,i.useState)(),P=(0,i.useRef)(null);return i.createElement(c,null,i.createElement(g,null,i.createElement(h,null,"Research papers"),i.createElement("p",null,"Our research papers offer groundbreaking insights and actionable outcomes to help retailers and their partners better manage the many ways in which profits can be negatively impacted by all forms of retail loss. Produced by some of the leading academic experts in the field of retailing and loss prevention, they are all free to download.")),i.createElement(p,{isFirstSlide:n,isLastSlide:a},i.createElement(f,{onSwiper:e=>{P.current=e,r(e.isBeginning),C(e.isEnd)},onResize:e=>{r(e.isBeginning),C(e.isEnd)},onActiveIndexChange:e=>{r(e.isBeginning),C(e.isEnd)},resizeObserver:!0,observer:!0,observeParents:!0,spaceBetween:15,slidesPerView:1,enabled:!0,slidesPerGroup:1,breakpoints:{768:{slidesPerView:2,enabled:t.length>2,slidesPerGroup:2},1180:{slidesPerView:3,enabled:t.length>3,slidesPerGroup:3}}},null==t?void 0:t.map(((e,t)=>{var n,r,a,c,m,u;const{data:{authors:p,category:h,title:g,subtitle:f},uid:C}=e.node,P=`/research/${C}`;return i.createElement(s.o5,{key:t},i.createElement(x,null,i.createElement(d.Z,{name:null==h||null===(n=h.document)||void 0===n?void 0:n.data.name,color:null==h||null===(r=h.document)||void 0===r?void 0:r.data.color}),i.createElement("picture",null,i.createElement("img",{src:null===(a=l.l[null==h||null===(c=h.document)||void 0===c?void 0:c.uid])||void 0===a?void 0:a.background,alt:""})),i.createElement(w,{color:null==h||null===(m=h.document)||void 0===m||null===(u=m.data)||void 0===u?void 0:u.color},i.createElement(k,null,i.createElement(b,null,g.text)),i.createElement($,null,i.createElement(E,null,(0,o.a)(f||"",120)),i.createElement(y,null,p.map((e=>{var t,n;let{author:i}=e;return null==i||null===(t=i.document)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.name})).join(", ")),i.createElement(v,{to:P},"Learn more")))))}))),i.createElement(m,{onClick:()=>{P.current.slidePrev()}}),i.createElement(u,{onClick:()=>{P.current.slideNext()}})))};const c=a.default.section.withConfig({componentId:"sc-1m7xv1p-0"})`
200  padding-bottom: 20px;
201`,m=a.default.button.withConfig({componentId:"sc-1m7xv1p-1"})``,u=a.default.button.withConfig({componentId:"sc-1m7xv1p-2"})``,p=a.default.div.withConfig({componentId:"sc-1m7xv1p-3"})`
202  position: relative;
203  height: auto;
204  max-width: 360px;
205  margin: 0 auto;
206  width: 96%;
207
208  @media (min-width: 768px) {
209    max-width: 730px;
210  }
211  @media (min-width: 1180px) {
212    max-width: 100%;
213  }
214
215  ${u},
216  ${m} {
217    cursor: pointer;
218    position: absolute;
219    z-index: 10;
220    top: 40%;
221    width: 40px;
222    height: 40px;
223    background: ${e=>{let{theme:t}=e;return t.colors.primary_color}};
224    border-radius: 50%;
225    transition: ${e=>{let{theme:t}=e;return t.durations.transition}};
226    box-shadow: ${e=>{let{theme:t}=e;
226return t.box.boxShadow}};
227
228    &::before {
229      position: absolute;
230      content: "";
231      background-image: url("data:image/svg+xml,%3Csvg width='24' height='15' viewBox='0 0 24 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.9834 1.99996L11.9917 11.9917L1.99993 1.99997' stroke='white' stroke-width='3.07438'/%3E%3C/svg%3E%0A");
232      background-size: contain;
233      background-repeat: no-repeat;
234      border: none;
235      width: 20px;
236      height: 15px;
237      top: 12px;
238    }
239
240    &:hover,
241    &:active {
242      transform: scale(1.15);
243      transition: ${e=>{let{theme:t}=e;return t.durations.transition}};
244    }
245  }
246  ${m} {
247    left: -10px;
248    display: ${e=>e.isFirstSlide?"none":"block"};
249
250    &::before {
251      left: 7px;
252      transform: rotate(90deg);
253      ${e=>{let{theme:t}=e;return t.durations.transition}};
254    }
255  }
256
257  ${u} {
258    right: -10px;
259    display: ${e=>e.isLastSlide?"none":"block"};
260    ${e=>{let{theme:t}=e;return t.durations.transition}};
261
262    &::before {
263      right: 7px;
264      transform: rotate(-90deg);
265    }
266  }
267`,h=a.default.h3.withConfig({componentId:"sc-1m7xv1p-4"})`
268  font-size: 24px;
269  line-height: 36px;
270  color: white;
271  margin-bottom: 0;
272  margin-top: 10px;
273
274  @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) {
275    font-size: 36px;
276    line-height: 56px;
277  }
278`,g=a.default.div.withConfig({componentId:"sc-1m7xv1p-5"})`
279  @media (min-width: ${e=>{let{theme:t}=e;return t.media.desktop_min}}) {
280    max-width: 85%;
281  }
282  @media (min-width: ${e=>{let{theme:t}=e;return t.media.wideScreen_xl}}) {
283    max-width: 96%;
284  }
285  p {
286    margin-bottom: 25px;
287    font-size: 16px;
288    line-height: 18px;
289    color: #fff;
290
291    @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) {
292      font-size: 20px;
293      line-height: 24px;
294    }
295  }
296`,f=(0,a.default)(s.tq).withConfig({componentId:"sc-1m7xv1p-6"})`
297  min-height: 466px;
298  margin: 0 auto;
299  display: flex;
300  justify-content: center;
301  @media (min-width: 768px) {
302    max-width: 730px;
303    height: 432px;
304  }
305  @media (min-width: 1180px) {
306    max-width: 100%;
307  }
308  @media (max-width: 1024px) {
309    min-height: initial;
310    height: auto;
311  }
312  .swiper-button-next,
313  .swiper-button-prev {
314    width: 40px;
315    height: 40px;
316    background: ${e=>{let{theme:t}=e;return t.colors.primary_color}};
317    border-radius: 50%;
318    display: flex;
319    align-items: center;
320    justify-content: center;
321
322    &::after {
323      font-size: 20px;
324      color: #fff;
325      font-weight: 700;
326    }
327
328    &:hover,
329    &:active,
330    &:focus {
331      background: ${e=>{let{theme:t}=e;return t.colors.secondary_color}};
332    }
333  }
334  .swiper-button-prev {
335    transform: translateY(-20px) translateX(-10px);
336  }
337
338  .swiper-button-next {
339    transform: translateY(-20px) translateX(10px);
340  }
341
342  .swiper-button-disabled {
343    display: none;
344  }
345`,x=a.default.div.withConfig({componentId:"sc-1m7xv1p-7"})`
346  box-shadow: ${e=>{let{theme:t}=e;
346return t.box.boxShadow}};
347  text-align: center;
348  overflow: hidden;
349  opacity: ${e=>e.isPast?"0.6":"1.0"};
350  position: relative;
351  height: 446px;
352  max-width: 360px;
353  width: 100%;
354  background-color: ${e=>{let{theme:t}=e;return t.colors.secondary_color}};
355
356  .header-bg {
357    position: absolute;
358    top: 0;
359    left: 0;
360    width: 100%;
361    height: 100%;
362    z-index: 0;
363  }
364
365  picture {
366    display: block;
367    img {
368      position: absolute;
369      left: 0;
370      bottom: 0;
371      width: 101%;
372      height: 100%;
373      object-fit: cover;
374    }
375  }
376`,w=a.default.div.withConfig({componentId:"sc-1m7xv1p-8"})`
377  display: flex;
378  flex-direction: column;
379  justify-content: space-between;
380  width: 70%;
381  position: absolute;
382  top: 0;
383  left: 0;
384  bottom: 0;
385  padding: 0.5rem 0.5rem 60px;
386  text-align: left;
387  background: linear-gradient(
388    180.03deg,
389    ${e=>e.color} 23.88%,
390    rgba(68, 170, 153, 0) 121.4%
391  );
392
393  @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) {
394    width: 60%;
395  }
396`,b=a.default.div.withConfig({componentId:"sc-1m7xv1p-9"})`
397  font-size: 20px;
398  line-height: 1.25;
399  padding-left: 12px;
400  font-weight: 600;
401  color: white;
402  position: relative;
403
404  &::before {
405    content: "";
406    width: 3px;
407    height: 100%;
408    background: white;
409    position: absolute;
410    left: 0;
411  }
412`,v=(0,a.default)(r.Link).withConfig({componentId:"sc-1m7xv1p-10"})`
413  display: inline-block;
414  background-color: ${e=>{let{theme:t}=e;return t.colors.primary_color}};
415  color: white;
416  width: 100%;
417  font-size: 24px;
418  line-height: 1.08;
419  padding: 10px;
420  position: absolute;
421  bottom: 0;
422  left: 0;
423  transition: 0.3s;
424  cursor: pointer;
425  text-align: center;
426
427  &:hover {
428    background-color: ${e=>{let{theme:t}=e;return t.colors.secondary_color}};
429  }
430`,E=a.default.div.withConfig({componentId:"sc-1m7xv1p-11"})`
431  margin-top: 0.5rem;
432  font-size: 15px;
433  line-height: 1.33;
434  color: white;
435`,y=(0,a.default)(E).withConfig({componentId:"sc-1m7xv1p-12"})`
436  font-weight: 600;
437  margin-top: 0.5rem;
438`,k=a.default.div.withConfig({componentId:"sc-1m7xv1p-13"})``,$=a.default.div.withConfig({componentId:"sc-1m7xv1p-14"})``},5426:function(e,t,n){n.d(t,{V:function(){return r}});var i=n(7294),o=n(2788);const r=e=>{let{children:t}=e;return i.createElement(a,null,i.createElement("div",{dangerouslySetInnerHTML:{__html:t}}))},a=o.default.p.withConfig({componentId:"sc-1ati5k-0"})`
439  font-size: 14px;
440  margin-top: 16px;
441  line-height: 1.3;
442  color: ${e=>{let{theme:t}=e;return t.colors.white}};
443
444  @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) {
445    margin-top: 20px;
446    font-size: 20px;
447    max-width: 90%;
448  }
449
450  a {
451    display: inline-block;
452    position: relative;
453
454    &:before {
455      content: "";
456      position: absolute;
457      bottom: 0;
458      left: 0;
459      width: 100%;
460      height: 1px;
461      background-color: currentColor;
462      transition: ${e=>{let{theme:t}=e;return t.durations.transition}};
463      transform: scale(0);
464      transform-origin: left;
465    }
466
467    &:hover {
468      &:before {
469        transform: scale(1);
470      }
471    }
472`},8337:function(e,t,n){n.d(t,{j:function(){return i.Z},$:function(){return h}});var i=n(1707),o=n(7294),r=n(2788),a=n(3702),l=n(5195),s=n(872),d=n(1404),c=n(6379),m=n(5768),u=n(8316),p=n(5426);var h=e=>{let{events:t,basePath:n,categories:i,path:r,pageContext:h,location:w}=e;return o.createElement(d.S,{container:!0},o.createElement(l.W,null,o.createElement(c.Z,{location:w}),o.createElement(g,{isPaggination:h.numPages>1||h.numberOfPages>1},o.createElement(u.Z,{variant:"h1"},"Events"),o.createElement(p.V,null,"ECR Retail Loss Group regular working group meetings provide an opportunity to network with industry peers, hear updates on the latest research and sector initiatives, and development new skills and insights. All retailers, CPGs and academics can participate at no cost."),o.createElement(a.Z,{items:i,path:r}),o.createElement(f,null,o.createElement(x,null,t.length?t.map(((e,t)=>o.createElement(m.c,{key:t,event:e,basePath:n,location:w}))):o.createElement("h2",{style:{color:"white"}},"No events"))),t.length&&(h.numPages>1||h.numberOfPages>0)&&o.createElement(s.ZP,{data:h}
472))))};const g=r.default.div.withConfig({componentId:"sc-1q2ladw-0"})`
473  position: relative;
474  z-index: 1;
475  padding-bottom: ${e=>e.isPaggination?"0":"40px"};
476`,f=r.default.div.withConfig({componentId:"sc-1q2ladw-1"})`
477  margin-top: 32px;
478  @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) {
479    margin-top: 48px;
480  }
481`,x=r.default.div.withConfig({componentId:"sc-1q2ladw-2"})`
482  display: flex;
483  align-items: center;
484  justify-content: center;
485  flex-wrap: wrap;
486  gap: 38px;
487`}}]);
488//# sourceMappingURL=90e90803b39ed7c6fbf6baf1192ed8e01925c0c2-fe263a88cbec6644fdc6.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.