1"use strict";(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[775],{8016:function(e,t,n){n.d(t,{l:function(){return i}});const i={"video-in-retail":{background:n.p+"static/vide-in-retail-c67b831db3b25069160516e4badf9bff.jpg"},"food-waste-and-markdowns":{background:n.p+"static/food-waste-68a813faa487885d706cab18053c9cf5.jpg"},"ecommerce-loss":{background:n.p+"static/e-commerce-loss-8252e5cc38ead398c31dd6f21343a694.jpg"},"inventory-accuracy":{background:n.p+"static/inventory-accuracy-c20c057a44db115a6dfe75ccb1c9a755.jpg"},"on-shelf-availability":{background:n.p+"static/on-shelf-availability-d839210d0d93151e382a694879579b8f.jpg"},"self-checkout":{background:n.p+"static/self-checkout-e168219c1956d4c4b3fc38ca5e6cda44.jpg"},rfid:{background:n.p+"static/rfid-cbde17b6f10584997415918eaffcd800.jpg"},"retail-loss":{background:n.p+"static/total-retail-loss-028d034012989cb032e65a57f470a051.jpg"}}},2913:function(e,t,n){var i=n(7294),o=n(1082),a=n(3723),l=n(2788),r=n(381),d=n.n(r);t.Z=e=>{var t,n,l,r,x,b,w,v;let{blog:E,basePath:y,location:k}=e;const{uid:C,data:{title:$,category:P,featured_image:I,author:z},first_publication_date:_}=E;let S=(P.uid,`${y}/${C}`);const{data:{name:B}}=P.document,G=(0,a.c)(I),L=d()(_).format("ll"),j=`${S}${null!=k&&null!==(t=k.pathname)&&void 0!==t&&t.includes("blog")?`?from=${k.pathname}`:""}`;return i.createElement(c,null,i.createElement(o.Link,{to:j},i.createElement(u,null,i.createElement(a.G,{image:G,alt:null!==(n=$.text)&&void 0!==n?n:""}))),i.createElement(m,null,i.createElement(p,null," ",i.createElement(o.Link,{to:`/category/${null==P?void 0:P.uid}`},B))),i.createElement(o.Link,{to:j},i.createElement(s,null,i.createElement("h4",null,$.text),i.createElement(h,null,i.createElement(g,null,i.createElement(a.G,{image:(0,a.c)(null==z||null===(l=z.document)||void 0===l||null===(r=l.data)||void 0===r||null===(x=r.photo)||void 0===x?void 0:x.gatsbyImageData),alt:null!==(b=$.text)&&void 0!==b?b:""})),i.createElement(f,null,i.createElement("h5",null,null==z||null===(w=z.document)||void 0===w||null===(v=w.data)||void 0===v?void 0:v.name),i.createElement("p",null,L))))))};const c=l.default.div.withConfig({componentId:"sc-1nnamti-0"})` 2 height: 100%; 3 display: flex; 4 flex-wrap: wrap; 5 flex-direction: column; 6 padding: 12px; 7 background-color: #fff; 8 box-shadow: ${e=>{let{theme:t}=e;
8return t.box.boxShadow}}; 9 &:hover { 10 img { 11 transform: scale(1.04); 12 } 13 } 14 15 img { 16 display: block; 17 transition: 0.7s ease-in-out !important; 18 } 19 20 h4 { 21 font-size: 24px; 22 line-height: calc(32 / 24); 23 position: relative; 24 margin: 0 0 12px; 25 -webkit-line-clamp: 2; 26 display: -webkit-box; 27 -webkit-box-orient: vertical; 28 overflow: hidden; 29 padding-right: 20px; 30 } 31 32 a { 33 &:hover { 34 h4 { 35 &:after { 36 transform: rotate(5deg) translateX(-2px); 37 opacity: 0.6; 38 } 39 } 40 } 41 } 42 43 & > a { 44 &:nth-last-of-type(1) { 45 flex-grow: 1; 46 } 47 } 48`,s=l.default.div.withConfig({componentId:"sc-1nnamti-1"})` 49 display: flex; 50 flex-direction: column; 51 height: 100%; 52`,m=l.default.div.withConfig({componentId:"sc-1nnamti-2"})` 53 display: flex; 54 justify-content: space-between; 55 align-items: center; 56`,p=l.default.div.withConfig({componentId:"sc-1nnamti-3"})` 57 margin: 16px 0; 58 59 a { 60 padding: 8px 0px; 61 display: inline-block; 62 font-size: 14px; 63 font-weight: bold; 64 line-height: 18px; 65 background-color: transparent; 66 color: #2a95bf; 67 text-decoration: underline; 68 } 69`,u=l.default.div.withConfig({componentId:"sc-1nnamti-4"})` 70 display: flex; 71 height: 240px; 72 73 .gatsby-image-wrapper { 74 width: 100%; 75 } 76`,h=l.default.div.withConfig({componentId:"sc-1nnamti-5"})` 77 display: flex; 78 align-items: center; 79 margin-top: auto; 80`,g=l.default.div.withConfig({componentId:"sc-1nnamti-6"})` 81 display: flex; 82 flex: 0 0 40px; 83 height: 40px; 84 align-items: stretch; 85 border-radius: 50%; 86 overflow: hidden; 87`,f=l.default.div.withConfig({componentId:"sc-1nnamti-7"})` 88 padding-left: 12px; 89 90 h5 { 91 color: #101828; 92 font-size: 14px; 93 margin-bottom: 0; 94 line-height: calc(20 / 14); 95 } 96 97 p { 98 margin-bottom: 0; 99 font-size: 14px; 100 line-height: calc(20 / 14); 101 color: #667085; 102 } 103`},4724:function(e,t,n){var i=n(7294),o=n(2788),a=n(5444);t.Z=e=>{let{name:t,color:n}=e;return i.createElement(l,null,i.createElement("h3",null,t,i.createElement(a.J,{type:"PATH",fill:n})))};const l=o.default.div.withConfig({componentId:"sc-wwmlmi-0"})` 104 position: absolute; 105 right: 3px; 106 top: 20px; 107 z-index: 10; 108 text-align: left; 109 110 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 111 right: 3px; 112 } 113 114 h3 { 115 position: relative; 116 color: white; 117 margin-left: auto; 118 max-width: 74px; 119 font-size: 10px; 120 line-height: 16px; 121 text-transform: uppercase; 122 123 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 124 font-size: 14px; 125 line-height: 18px; 126 max-width: 108px; 127 } 128 129 svg { 130 position: absolute; 131 left: -18px; 132 top: -9px; 133 height: 50px; 134 width: 50px; 135 136 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 137 left: -25px; 138 top: -15px; 139 height: 70px; 140 width: 70px; 141 } 142 } 143 } 144 145 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 146 width: 130px; 147 height: 93px; 148 } 149`},5768:function(e,t,n){n.d(t,{c:function(){return u}});var i=n(7294),o=n(381),a=n.n(o),l=n(2636),r=n(3206),d=n(8016),c=n(2788),s=n(5598),m=n(6610),p=n(4724);t.Z=e=>{let{data:t}=e;const{0:n,1:o}=(0,i.useState)(),{0:a,1:l}=(0,i.useState)(),r=(0,i.useRef)(null);return i.createElement(s.$0,null,i.createElement(s.C,null,i.createElement(s.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(s.h2,{isFirstSlide:n,isLastSlide:a},i.createElement(s.W,{onSwiper:e=>{r.current=e,o(e.isBeginning),l(e.isEnd)},onResize:e=>{o(e.isBeginning),l(e.isEnd)},onActiveIndexChange:e=>{o(e.isBeginning),l(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(u,{event:e.node}))))),i.createElement(s.lk,{onClick:()=>{r.current.slidePrev()}}),i.createElement(s.P1,{onClick:()=>{r.current.slideNext()}})))};const u=e=>{var t,n,o,c,m,u;let{event:x,basePath:b="/event",location:w}=e;const{data:{category:v,custom_date:E,description:y,organiser:k,start_date:C,end_date:$,title:P},uid:I}=x,z=a()()>a()(C),_=`${`${b}/${I}`}${null!=w&&null!==(t=w.pathname)&&void 0!==t&&t.includes("event")?`?from=${w.pathname}`:""}`;return i.createElement(h,{isPast:z},i.createElement(p.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(s.xu,null,i.createElement("picture",null,i.createElement("img",{src:null===(c=d.l[null==v?void 0:v.uid])||void 0===c?void 0:c.background,alt:""})),i.createElement(s.vs,{color:null==v||null===(m=v.document)||void 0===m||null===(u=m.data)||void 0===u?void 0:u.color},i.createElement(s.z,null,i.createElement(s.ll,null,(0,l.a)(P.text,70))),i.createElement(s.HU,null,i.createElement(f,null,E||i.createElement(i.Fragment,null,a().utc(C).format("D MMM YYYY"),$&&` - ${a().utc($).format("D MMM YYYY")}`)),i.createElement(g,null,z?"Past":"UpComing"),i.createElement(s.dk,null,(0,l.a)(y||"",120)),i.createElement(s.S3,null,(0,r.q)(k)),i.createElement(s.zx,{to:_},"Learn more")))))},h=c.default.div.withConfig({componentId:"sc-15uiy0l-0"})` 150 opacity: ${e=>e.isPast?"0.6":"1.0"}; 151 position: relative; 152 max-width: 355px; 153 width: 100%; 154 height: 446px; 155`,g=c.default.div.withConfig({componentId:"sc-15uiy0l-1"})` 156 color: white; 157 margin-top: 0.1rem; 158 font-size: 15px; 159 line-height: 1.67; 160 text-transform: uppercase; 161`,f=c.default.div.withConfig({componentId:"sc-15uiy0l-2"})` 162 color: white; 163 text-align: left; 164 margin-top: 0.1rem; 165 font-size: 15px; 166 line-height: 1.67; 167`},5598:function(e,t,n){n.d(t,{$0:function(){return s},C:function(){return g},Dx:function(){return h},HU:function(){return C},P1:function(){return p},S3:function(){return y},W:function(){return f},dk:function(){return E},h2:function(){return u},lk:function(){return m},ll:function(){return w},vs:function(){return b},xu:function(){return x},z:function(){return k},zx:function(){return v}});var i=n(7294),o=n(2636),a=n(1082),l=n(2788),r=n(8016),d=n(6610),c=n(4724);t.ZP=e=>{let{data:t}=e;const{0:n,1:a}=(0,i.useState)(),{0:l,1:$}=(0,i.useState)(),P=(0,i.useRef)(null);return i.createElement(s,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(u,{isFirstSlide:n,isLastSlide:l},i.createElement(f,{onSwiper:e=>{P.current=e,a(e.isBeginning),$(e.isEnd)},onResize:e=>{a(e.isBeginning),$(e.isEnd)},onActiveIndexChange:e=>{a(e.isBeginning),$(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,a,l,s,m,p;const{data:{authors:u,category:h,title:g,subtitle:f},uid:$}=e.node,P=`/research/${$}`;return i.createElement(d.o5,{key:t},i.createElement(x,null,i.createElement(c.Z,{name:null==h||null===(n=h.document)||void 0===n?void 0:n.data.name,color:null==h||null===(a=h.document)||void 0===a?void 0:a.data.color}),i.createElement("picture",null,i.createElement("img",{src:null===(l=r.l[null==h||null===(s=h.document)||void 0===s?void 0:s.uid])||void 0===l?void 0:l.background,alt:""})),i.createElement(b,{color:null==h||null===(m=h.document)||void 0===m||null===(p=m.data)||void 0===p?void 0:p.color},i.createElement(k,null,i.createElement(w,null,g.text)),i.createElement(C,null,i.createElement(E,null,(0,o.a)(f||"",120)),i.createElement(y,null,u.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(p,{onClick:()=>{P.current.slideNext()}})))};const s=l.default.section.withConfig({componentId:"sc-1m7xv1p-0"})` 168 padding-bottom: 20px; 169`,m=l.default.button.withConfig({componentId:"sc-1m7xv1p-1"})``,p=l.default.button.withConfig({componentId:"sc-1m7xv1p-2"})``,u=l.default.div.withConfig({componentId:"sc-1m7xv1p-3"})` 170 position: relative; 171 height: auto; 172 max-width: 360px; 173 margin: 0 auto; 174 width: 96%; 175 176 @media (min-width: 768px) { 177 max-width: 730px; 178 } 179 @media (min-width: 1180px) { 180 max-width: 100%; 181 } 182 183 ${p}, 184 ${m} { 185 cursor: pointer; 186 position: absolute; 187 z-index: 10; 188 top: 40%; 189 width: 40px; 190 height: 40px; 191 background: ${e=>{let{theme:t}=e;return t.colors.primary_color}}; 192 border-radius: 50%; 193 transition: ${e=>{let{theme:t}=e;return t.durations.transition}}; 194 box-shadow: ${e=>{let{theme:t}=e;
194return t.box.boxShadow}}; 195 196 &::before { 197 position: absolute; 198 content: ""; 199 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"); 200 background-size: contain; 201 background-repeat: no-repeat; 202 border: none; 203 width: 20px; 204 height: 15px; 205 top: 12px; 206 } 207 208 &:hover, 209 &:active { 210 transform: scale(1.15); 211 transition: ${e=>{let{theme:t}=e;return t.durations.transition}}; 212 } 213 } 214 ${m} { 215 left: -10px; 216 display: ${e=>e.isFirstSlide?"none":"block"}; 217 218 &::before { 219 left: 7px; 220 transform: rotate(90deg); 221 ${e=>{let{theme:t}=e;return t.durations.transition}}; 222 } 223 } 224 225 ${p} { 226 right: -10px; 227 display: ${e=>e.isLastSlide?"none":"block"}; 228 ${e=>{let{theme:t}=e;return t.durations.transition}}; 229 230 &::before { 231 right: 7px; 232 transform: rotate(-90deg); 233 } 234 } 235`,h=l.default.h3.withConfig({componentId:"sc-1m7xv1p-4"})` 236 font-size: 24px; 237 line-height: 36px; 238 color: white; 239 margin-bottom: 0; 240 margin-top: 10px; 241 242 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 243 font-size: 36px; 244 line-height: 56px; 245 } 246`,g=l.default.div.withConfig({componentId:"sc-1m7xv1p-5"})` 247 @media (min-width: ${e=>{let{theme:t}=e;return t.media.desktop_min}}) { 248 max-width: 85%; 249 } 250 @media (min-width: ${e=>{let{theme:t}=e;return t.media.wideScreen_xl}}) { 251 max-width: 96%; 252 } 253 p { 254 margin-bottom: 25px; 255 font-size: 16px; 256 line-height: 18px; 257 color: #fff; 258 259 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 260 font-size: 20px; 261 line-height: 24px; 262 } 263 } 264`,f=(0,l.default)(d.tq).withConfig({componentId:"sc-1m7xv1p-6"})` 265 min-height: 466px; 266 margin: 0 auto; 267 display: flex; 268 justify-content: center; 269 @media (min-width: 768px) { 270 max-width: 730px; 271 height: 432px; 272 } 273 @media (min-width: 1180px) { 274 max-width: 100%; 275 } 276 @media (max-width: 1024px) { 277 min-height: initial; 278 height: auto; 279 } 280 .swiper-button-next, 281 .swiper-button-prev { 282 width: 40px; 283 height: 40px; 284 background: ${e=>{let{theme:t}=e;return t.colors.primary_color}}; 285 border-radius: 50%; 286 display: flex; 287 align-items: center; 288 justify-content: center; 289 290 &::after { 291 font-size: 20px; 292 color: #fff; 293 font-weight: 700; 294 } 295 296 &:hover, 297 &:active, 298 &:focus { 299 background: ${e=>{let{theme:t}=e;return t.colors.secondary_color}}; 300 } 301 } 302 .swiper-button-prev { 303 transform: translateY(-20px) translateX(-10px); 304 } 305 306 .swiper-button-next { 307 transform: translateY(-20px) translateX(10px); 308 } 309 310 .swiper-button-disabled { 311 display: none; 312 } 313`,x=l.default.div.withConfig({componentId:"sc-1m7xv1p-7"})` 314 box-shadow: ${e=>{let{theme:t}=e;
314return t.box.boxShadow}}; 315 text-align: center; 316 overflow: hidden; 317 opacity: ${e=>e.isPast?"0.6":"1.0"}; 318 position: relative; 319 height: 446px; 320 max-width: 360px; 321 width: 100%; 322 background-color: ${e=>{let{theme:t}=e;return t.colors.secondary_color}}; 323 324 .header-bg { 325 position: absolute; 326 top: 0; 327 left: 0; 328 width: 100%; 329 height: 100%; 330 z-index: 0; 331 } 332 333 picture { 334 display: block; 335 img { 336 position: absolute; 337 left: 0; 338 bottom: 0; 339 width: 101%; 340 height: 100%; 341 object-fit: cover; 342 } 343 } 344`,b=l.default.div.withConfig({componentId:"sc-1m7xv1p-8"})` 345 display: flex; 346 flex-direction: column; 347 justify-content: space-between; 348 width: 70%; 349 position: absolute; 350 top: 0; 351 left: 0; 352 bottom: 0; 353 padding: 0.5rem 0.5rem 60px; 354 text-align: left; 355 background: linear-gradient( 356 180.03deg, 357 ${e=>e.color} 23.88%, 358 rgba(68, 170, 153, 0) 121.4% 359 ); 360 361 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 362 width: 60%; 363 } 364`,w=l.default.div.withConfig({componentId:"sc-1m7xv1p-9"})` 365 font-size: 20px; 366 line-height: 1.25; 367 padding-left: 12px; 368 font-weight: 600; 369 color: white; 370 position: relative; 371 372 &::before { 373 content: ""; 374 width: 3px; 375 height: 100%; 376 background: white; 377 position: absolute; 378 left: 0; 379 } 380`,v=(0,l.default)(a.Link).withConfig({componentId:"sc-1m7xv1p-10"})` 381 display: inline-block; 382 background-color: ${e=>{let{theme:t}=e;return t.colors.primary_color}}; 383 color: white; 384 width: 100%; 385 font-size: 24px; 386 line-height: 1.08; 387 padding: 10px; 388 position: absolute; 389 bottom: 0; 390 left: 0; 391 transition: 0.3s; 392 cursor: pointer; 393 text-align: center; 394 395 &:hover { 396 background-color: ${e=>{let{theme:t}=e;return t.colors.secondary_color}}; 397 } 398`,E=l.default.div.withConfig({componentId:"sc-1m7xv1p-11"})` 399 margin-top: 0.5rem; 400 font-size: 15px; 401 line-height: 1.33; 402 color: white; 403`,y=(0,l.default)(E).withConfig({componentId:"sc-1m7xv1p-12"})` 404 font-weight: 600; 405 margin-top: 0.5rem; 406`,k=l.default.div.withConfig({componentId:"sc-1m7xv1p-13"})``,C=l.default.div.withConfig({componentId:"sc-1m7xv1p-14"})``},8316:function(e,t,n){var i=n(7294),o=n(2788);t.Z=e=>{let{variant:t,children:n}=e;return"h1"===t?i.createElement(a,null,n):"h2"===t?i.createElement(l,null,n):i.createElement("span",null,n)};const a=o.default.h1.withConfig({componentId:"sc-bg18mw-0"})` 407 font-size: 30px; 408 text-transform: uppercase; 409 line-height: 1.2; 410 color: ${e=>{let{theme:t}=e;return t.colors.white}}; 411 margin-bottom: 16px; 412 413 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 414 font-size: 64px; 415 margin-bottom: 24px; 416 }, 417`,l=o.default.h2.withConfig({componentId:"sc-bg18mw-1"})` 418 font-size: 16px; 419 text-transform: uppercase; 420 line-height: 1.2; 421 color: ${e=>{let{theme:t}=e;return t.colors.white}}; 422 margin-bottom: 12px; 423 424 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 425 font-size: 40px; 426 margin-bottom: 18px; 427 }, 428`},7084:function(e,t,n){var i=n(5444),o=n(7294),a=n(2788);t.Z=e=>{let{data:t,background:n}=e;const{0:a,1:s}=(0,o.useState)(null),m=(0,o.useRef)(null);return o.createElement(l,{id:"accordions-container",ref:m,background:n},null==t?void 0:t.map(((e,t)=>{var l,m,p,u;return o.createElement(r,{key:t,active:a===t,background:n},o.createElement(d,{active:a===t,onClick:()=>{var e;s((e=t)===a?null:e)}},o.createElement("div",{dangerouslySetInnerHTML:{__html:null==e||null===(l=e.node)||void 0===l||null===(m=l.data)||void 0===m?void 0:m.question.html}}),o.createElement(i.J,{type:"TRIANGLE_ARROW"})),o.createElement(c,{active:a===t,dangerouslySetInnerHTML:{__html:null==e||null===(p=e.node)||void 0===p||null===(u=p.data)||void 0===u?void 0:u.answer.html}}))})))};const l=a.default.div.withConfig({componentId:"sc-tp65zy-0"})` 429 position: relative; 430 max-height: 1020px; 431 overflow: auto; 432 433 &::-webkit-scrollbar {
434 display: none; 435 } 436`,r=a.default.div.withConfig({componentId:"sc-tp65zy-1"})` 437 background-color: ${e=>e.background}; 438 margin-bottom: 15px; 439 box-shadow: ${e=>{let{theme:t}=e;return t.box.boxShadow}}; 440 cursor: pointer; 441 -webkit-tap-highlight-color: transparent; 442`,d=a.default.button.withConfig({componentId:"sc-tp65zy-2"})` 443 background: transparent; 444 border: none; 445 cursor: pointer; 446 margin: 0; 447 position: relative; 448 width: 100%; 449 padding: 20px; 450 451 h1 { 452 color: white; 453 font-size: 16px; 454 line-height: 18px; 455 text-transform: uppercase; 456 margin: 0; 457 font-weight: 700; 458 text-align: left; 459 padding-right: 10px; 460 461 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 462 font-size: 20px; 463 line-height: 24px; 464 padding-right: 40px; 465 } 466 } 467 468 svg { 469 position: absolute; 470 transform: rotate(${e=>e.active?"180deg":"0"}); 471 right: 10px; 472 top: 25px; 473 474 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 475 right: 30px; 476 top: 25px; 477 } 478 } 479`,c=a.default.div.withConfig({componentId:"sc-tp65zy-3"})` 480 overflow-y: auto; 481 max-height: ${e=>e.active?"300px":"0"}; 482 transition: ${e=>{let{theme:t}=e;return t.durations.transition}}; 483 padding: 0 20px 0; 484 margin-top: 0; 485 486 ul { 487 margin-bottom: 32px; 488 li { 489 color: #e9e9e9; 490 font-size: 16px; 491 line-height: 30px; 492 font-weight: 400; 493 list-style-type: circle; 494 padding-left: 15px; 495 position: relative; 496 497 &::before { 498 position: absolute; 499 content: ""; 500 width: 5px; 501 height: 5px; 502 left: 0; 503 top: 50%; 504 transform: translateY(-50%); 505 background: white; 506 border-radius: 50%; 507 } 508 } 509 } 510 511 p { 512 color: #e9e9e9; 513 font-size: 14px; 514 line-height: 20px; 515 font-weight: 400; 516 margin-bottom: 15px; 517 518 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 519 font-size: 20px; 520 line-height: 30px; 521 } 522 } 523`},2464:function(e,t,n){n.r(t),n.d(t,{default:function(){return W}});var i=n(7294),o=n(2794),a=n(3864),l=n(5785);const r=e=>{const t=(new Date).toISOString();let n=[],i=[];return null==e||e.forEach((e=>{var o,a;(null==e||null===(o=e.node)||void 0===o||null===(a=o.data)||void 0===a?void 0:a.start_date)>t?i.push(e):n.push(e)})),[].concat((0,l.Z)(i.reverse()),n)};var d=n(1404),c=n(5598),s=n(2788),m=n(7084);var p=e=>{let{data:t,categoryName:n}=e;return i.createElement(c.$0,null,i.createElement(u,null,"FAQs ",n),i.createElement(m.Z,{data:t,background:"rgba(42, 149, 191, 0.8)"}))};const u=s.default.h3.withConfig({componentId:"sc-1k7mnrv-0"})` 524 font-size: 24px; 525 margin-top: 12px; 526 line-height: 36px; 527 color: white; 528 margin-bottom: 10px; 529 530 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 531 font-size: 36px; 532 line-height: 56px; 533 } 534`;var h=n(5768),g=n(6610),f=n(2913);var x=e=>{let{data:t,categoryName:n}=e;const{0:o,1:a}=(0,i.useState)(),{0:l,1:r}=(0,i.useState)(),d=(0,i.useRef)(null);return i.createElement(c.$0,null,i.createElement(b,null,"Blog ",n),i.createElement(w,{isFirstSlide:o,isLastSlide:l},i.createElement(c.W,{onSwiper:e=>{d.current=e,a(e.isBeginning),r(e.isEnd)},onResize:e=>{a(e.isBeginning),r(e.isEnd)},onActiveIndexChange:e=>{a(e.isBeginning),r(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(g.o5,{key:t},i.createElement(f.Z,{basePath:"/blog",blog:e.node}))))),i.createElement(c.lk,{onClick:()=>{d.current.slidePrev()}}),i.createElement(c.P1,{onClick:()=>{d.current.slideNext()}})))};const b=(0,s.default)(c.Dx).withConfig({componentId:"sc-mo56e6-0"})` 535 margin-bottom: 25px; 536`,w=(0,s.default)(c.h2).withConfig({componentId:"sc-mo56e6-1"})` 537 width: 96%; 538`;var v=n(8316);var E=e=>{let{categoryName:t,aboutCategory:n}=e;return i.createElement(y,null,i.createElement(v.Z,{variant:"h1"},t),i.createElement(k,{dangerouslySetInnerHTML:{__html:n}}))};const y=s.default.div.withConfig({componentId:"sc-clmv62-0"})` 539 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_max}}) and (max-width: 1340px) { 540 max-width: 94%; 541 } 542`,k=s.default.div.withConfig({componentId:"sc-clmv62-1"})` 543 margin-bottom: 15px; 544 p { 545 ${e=>{let{theme:t}=e;return t.paragraphs.p}}; 546 font-size: 16px; 547 margin-bottom: 10px; 548 color: #fff; 549 550 @media (min-width: ${e=>{let{theme:t}=e;return t.media.tablet_min}}) { 551 font-size: 22px; 552 } 553 } 554`;var C=n(5195),$=n(1082),P=n(3723);var I=e=>{let{challenge:t}=e;return i.createElement(z,null,i.createElement($.Link,{to:`/innovation/${t.uid}`},i.createElement(_,null,i.createElement(P.G,{image:(0,P.c)(t.data.logo.gatsbyImageData),alt:"logo",objectFit:"contain"}))),i.createElement(S,null,t.data.title.text))};const z=s.default.div.withConfig({componentId:"sc-r7kruz-0"})` 555 height: 100%; 556 display: flex; 557 flex-wrap: wrap; 558 flex-direction: column; 559 padding: 12px; 560 background-color: #fff; 561 box-shadow: ${e=>{let{theme:t}=e;
561return t.box.boxShadow}}; 562 &:hover { 563 img { 564 transform: scale(1.04); 565 } 566 } 567 568 img { 569 display: block; 570 transition: 0.7s ease-in-out !important; 571 } 572 573 h4 { 574 font-size: 24px; 575 line-height: calc(32 / 24); 576 position: relative; 577 margin: 0 0 12px; 578 -webkit-line-clamp: 2; 579 display: -webkit-box; 580 -webkit-box-orient: vertical; 581 overflow: hidden; 582 padding-right: 20px; 583 } 584 585 a { 586 &:hover { 587 h4 { 588 &:after { 589 transform: rotate(5deg) translateX(-2px); 590 opacity: 0.6; 591 } 592 } 593 } 594 } 595 596 & > a { 597 &:nth-last-of-type(1) { 598 flex-grow: 1; 599 } 600 } 601`,_=s.default.div.withConfig({componentId:"sc-r7kruz-1"})` 602 display: flex; 603 height: 240px; 604 605 .gatsby-image-wrapper { 606 width: 100%; 607 } 608`,S=s.default.span.withConfig({componentId:"sc-r7kruz-2"})` 609 display: block; 610 margin-top: auto; 611 font-size: 24px; 612 font-weight: 700; 613`;var B=e=>{let{data:t}=e;const{0:n,1:o}=(0,i.useState)(),{0:a,1:l}=(0,i.useState)(),r=(0,i.useRef)(null);return i.createElement("div",null,i.createElement(G,null,"Innovation Challenges"),i.createElement(L,{isFirstSlide:n,isLastSlide:a},i.createElement(c.W,{onSwiper:e=>{r.current=e,o(e.isBeginning),l(e.isEnd)},onResize:e=>{o(e.isBeginning),l(e.isEnd)},onActiveIndexChange:e=>{o(e.isBeginning),l(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(g.o5,{key:t},i.createElement(I,{challenge:e.node}))))),i.createElement(c.lk,{onClick:()=>{r.current.slidePrev()}}),i.createElement(c.P1,{onClick:()=>{r.current.slideNext()}})))};const G=(0,s.default)(c.Dx).withConfig({componentId:"sc-1uv3hng-0"})` 614 margin-bottom: 25px; 615`,L=(0,s.default)(c.h2).withConfig({componentId:"sc-1uv3hng-1"})` 616 width: 96%; 617`;var j=e=>{let{podcast:t,basePath:n}=e;const o=t.episode_title,a=t.episode_text,l=t.image,r=`${n}#${o.text}`,d=`${a.text.split(" ").slice(0,20).join(" ")}...`;return i.createElement(R,null,i.createElement($.Link,{to:r},i.createElement(V,null,i.createElement(P.G,{image:null==l?void 0:l.gatsbyImageData,alt:"preview"})),i.createElement("div",null,i.createElement("h2",null,o.text),i.createElement(Z,null,d))))};const R=s.default.div.withConfig({componentId:"sc-19ly76j-0"})` 618 background: rgb(14,79,117); 619 padding: 20px; 620 border-radius: 5px; 621 box-shadow: rgba(0, 0, 0, 0.19) 0 5px 5px, rgba(0, 0, 0, 0.23) 0 6px 8px; 622 margin-bottom: 30px; 623 & * { 624 color: white; 625 } 626 h2 { 627 margin-bottom: 10px; 628 font-size: 20px; 629 line-height: 1.5; 630 } 631 p { 632 font-size: 16px; 633 } 634 @media (max-width: 480px) { 635 padding: 15px; 636 } 637`,Z=s.default.p.withConfig({componentId:"sc-19ly76j-1"})` 638 margin-bottom: 10px; 639 font-size: 18px; 640 line-height: 1.7; 641 @media (max-width: 640px) { 642 line-height: 1.4; 643 font-size: 16px; 644 } 645 @media (max-width: 480px) { 646 line-height: 1.4; 647 font-size: 14px; 648 } 649`,V=s.default.div.withConfig({componentId:"sc-19ly76j-2"})` 650 display: flex; 651 height: 240px; 652 margin-bottom: 20px; 653 width: 100%; 654 margin-right: 20px; 655 &:hover { 656 img { 657 transform: scale(1.04); 658 } 659 } 660 img { 661 cursor: pointer; 662 display: block; 663 transition: 0.7s ease-in-out !important; 664 } 665 .gatsby-image-wrapper { 666 width: 100%; 667 height: 100%; 668 } 669 @media (max-width: 1024px) { 670 display: none; 671 } 672`;var N=e=>{let{data:t,categoryName:n,location:o}=e;const{0:a,1:l}=(0,i.useState)(),{0:r,1:d}=(0,i.useState)(),s=(0,i.useRef)(null),m=o.pathname.split("/"),p=m[m.length-1],u=t.reduce(((e,t)=>(t.node.data.episodes.length>0&&t.node.data.episodes.forEach((n=>{const i=n.episode_link.url.split("/");i[i.length-1]===p&&e.push({image:t.node.data.series_image,...n,link:t.node.uid})})),e)),[]);return 0===u.length?null:i.createElement(c.$0,null,i.createElement(M,null,"Podcast ",n),i.createElement(A,{isFirstSlide:a,isLastSlide:r},i.createElement(c.W,{onSwiper:e=>{s.current=e,l(e.isBeginning),d(e.isEnd)},onResize:e=>{l(e.isBeginning),d(e.isEnd)},onActiveIndexChange:e=>{l(e.isBeginning),d(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==u?void 0:u.map(((e,t)=>i.createElement(g.o5,{key:t},i.createElement(j,{basePath:"/podcast",podcast:e}))))),i.createElement(c.lk,{onClick:()=>{s.current.slidePrev()}}),i.createElement(c.P1,{onClick:()=>{s.current.slideNext()}})))};const M=(0,s.default)(c.Dx).withConfig({componentId:"sc-dns3ou-0"})` 673 margin-bottom: 25px; 674`,A=(0,s.default)(c.h2).withConfig({componentId:"sc-dns3ou-1"})` 675 width: 96%; 676`,D=s.default.div.withConfig({componentId:"sc-1ex9wu1-0"})` 677 background: rgb(255, 255, 255); 678 padding: 18px; 679 position: relative; 680 &:before { 681 content: ""; 682 position: absolute; 683 left: 50%; 684 top: 0; 685 width: calc(100vw - 18px); 686 background: white; 687 transform: translateX(-50%); 688 height: 100%; 689 } 690 h2, h3, h4, h5, h6, p { 691 margin-bottom: 10px; 692 } 693 694 695 a { 696 color: #2a95bf; 697 font-weight: 500; 698 text-decoration: underline; 699 } 700 701 ul, ol { 702 margin-bottom: 20px; 703 padding-left: 20px;} 704 705 ol li { 706 margin-bottom: 10px; 707 font-weight: 400; 708 } 709 710 ul li { 711 margin-bottom: 10px; 712 list-style: disc; 713 } 714 715 @media (min-width: 768px) { 716 h1 { 717 font-size: 64px; 718 margin-bottom: 24px; 719 } 720 721 h3 { 722 font-size: 36px; 723 line-height: 56px; 724 } 725 726 h4 { 727 margin-top: 25px; 728 font-size: 24px; 729 line-height: 28px; 730 } 731 732 p, ul li, ol li { 733 font-size: 22px; 734 line-height: 32px; 735 } 736 } 737`,Y=s.default.div.withConfig({componentId:"sc-1ex9wu1-1"})` 738 ul { 739 list-style: inside; 740 margin-bottom: 15px; 741 } 742`;var F=e=>{let{allSeo:t}=e;return i.createElement(D,null,i.createElement(C.W,null,t.map((e=>i.createElement(Y,{dangerouslySetInnerHTML:{__html:e.node.data.seo_content.html}})))))};var W=e=>{var t,n,l,s,m;let{data:u,location:g}=e;const{allPrismicResearch:{edges:f},allPrismicEvent:{edges:b},allPrismicBlog:{edges:w},allPrismicQuestion:{edges:v},allPrismicCategory:{edges:y},allPrismicInnovationChallenge:{edges:k},allPrismicPodcast:{edges:$},allPrismicSeo:{edges:P}}=u;console.log(P);const I=null===(t=y[0].node)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.name,z=null===(l=y[0].node)||void 0===l||null===(s=l.data)||void 0===s||null===(m=s.about_category)||void 0===m?void 0:m.text;return i.createElement(a.Z,{location:g},i.createElement(o.Z,{pathname:g.pathname,title:"Category"}),i.createElement(d.S,{type:"blue",container:!0},i.createElement(C.W,null,i.createElement(E,{categoryName:I,aboutCategory:z}),f.length>0&&i.createElement(c.ZP,{data:f}),b.length>0&&i.createElement(h.Z,{data:r(b)||b}),(null==k?void 0:k.length)>0&&i.createElement(B,{data:k}),w.length>0&&i.createElement(x,{data:w,categoryName:I}),$.length>0&&i.createElement(N,{data:$,location:g,categoryName:I}),P.length>0&&i.createElement(F,{allSeo:P}),v.length>0&&i.createElement(p,{data:v,categoryName:I}))))}},3206:function(e,t,n){n.d(t,{q:function(){return i}});const i=e=>e.split(",").slice(0,3).join(",")+"..."},2636:function(e,t,n){function i(e,t){return e.length<=t?e:e.slice(0,t)+"..."}n.d(t,{a:function(){return i}})}}]); 743//# sourceMappingURL=component---src-templates-full-category-template-js-df7080040566f1a62c6e.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.