1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9558],{49558:function(e,t,a){a.r(t),a.d(t,{default:function(){return i}});var r=a(85893),s=a(61139),o=a(88014);function i(e){let{stories:t}=e,a=(0,s.h)();return(0,r.jsx)("div",{className:"bg-white dark:bg-black pb-20 addToNav bg-cover bg-no-repeat bg-top","data-nav-title":a("a-force-for-good:stories-on-force-for-good"),children:(0,r.jsxs)("div",{className:"container mx-auto px-5",children:[(0,r.jsx)("div",{className:"text-4xl font-[400] text-maroon dark:text-white mb-10 aos-init aos-animate",children:a("a-force-for-good:stories-on-force-for-good")}),(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-5",children:t.map((e,t)=>(0,r.jsx)("div",{className:"col-span-1",children:(0,r.jsx)(o.Z,{data:e,index:t+1})},t))})]})})}},88014:function(e,t,a){a.d(t,{Z:function(){return h}});var r=a(85893),s=a(17246),o=a(25675),i=a.n(o),l=a(15299),c=a(93919),n=a(11163),d=a(61139),m=a(24264);function h(e){var t,a,o;let{data:h,index:x}=e,{locale:u,pathname:g,query:b,push:f}=(0,n.useRouter)(),v=(0,d.h)();return(0,r.jsxs)("div",{className:"border-grey/10 border-b-8 hover:border-b-8 hover:border-b-maroon dark:hover:border-b-white dark:border-grey bg-white dark:bg-grey h-full flex flex-col justify-between shadow-lg bg-[right_15px_bottom_15px] bg-no-repeat","data-aos":"flip-left","data-aos-duration":300,"data-aos-delay":50*x,style:(null===(t=h.topic)||void 0===t?void 0:t.slug)?{backgroundImage:"url('/media/stories-topics/".concat(null===(a=h.topic)||void 0===a?void 0:a.slug,".webp')"),backgroundSize:"auto 40px"}:{},children:[(0,r.jsxs)("div",{className:"mb-5",children:[h.thumbnail?(0,r.jsx)("span",{className:"animateImage",children:(0,r.jsx)(i(),{src:(0,s.Kj)(h.thumbnail.url),placeholder:"blur",blurDataURL:h.thumbnail.placeholder,width:"1000",height:"700",alt:h.title,className:"dark:grayscale",quality:100})}):(0,r.jsx)(r.Fragment,{}),(0,r.jsxs)("div",{className:"pt-5 px-5 ",children:[(0,r.jsx)("div",{className:"text-base text-grey/70 dark:text-white/70",children:(0,r.jsx)(m.Z,{timestamp:h.publishedDate})}),(0,r.jsx)("div",{className:"text-base text-grey/70 dark:text-white/70 mb-5",children:null===(o=h.topic)||void 0===o?void 0:o.title}),(0,r.jsx)("div",{className:"mb-2 text-xl font-[400] text-grey dark:text-white/70 leading-tight",children:h.title}),(0,r.jsx)("div",{className:"text-base text-grey dark:text-white/70 hidden",children:h.short_description})]})]}),(0,r.jsxs)("div",{className:"px-5 pb-5",children:[h.content&&(0,r.jsxs)("div",{className:"text-grey/70 dark:text-white/70 text-[14px] mb-2 flex items-center",children:[(0,r.jsx)("span",{className:"mr-1",children:(0,r.jsx)(c.Z,{})}),(0,s.Sx)(h.content,u)]}),h.separate_html?(0,r.jsx)(l.default,{url:"/media/stories/".concat(h.slug),ctaText:v("common:read-more"),classNames:"text-maroon dark:text-white","aria-label":v("common:read-more"),color:"maroon",type:"external",target:"_blank"}):(0,r.jsx)(l.default,{url:"/media/stories/".concat(h.slug),ctaText:v("common:read-more"),classNames:"text-maroon dark:text-white","aria-label":v("common:read-more"),color:"maroon"})]})]})}},24264:function(e,t,a){var r=a(85893),s=a(11163),o=a(67294);t.Z=e=>{let{timestamp:t}=e,[a,i]=(0,o.useState)(""),{locale:l}=(0,s.useRouter)();return(0,o.useEffect)(()=>{t&&i(((e,t)=>{let a=new Date(e.includes("T")?e:"".concat(e,"T00:00:00.000Z")).toLocaleDateString(t,{year:"numeric",month:"long",day:"numeric"});if("en"!==t)return a;{let e=a.replace(",","").split(" ");return"".concat(e[1]," ").concat(e[0],", ").concat(e[2])}})(t,l))},[t,l]),(0,r.jsx)(r.Fragment,{children:a})}},93919:function(e,t,a){a.d(t,{Z:function(){return i}});var r=a(85893),s=a(67294),o=a(1571);function i(e){let{color:t}=e,[a,i]=(0,s.useState)(!1),{resolvedTheme:l}=(0,o.F)();if((0,s.useEffect)(()=>{i(!0)},[]),!a)return null;let c={white:"light"===l?"/icons/clockWhite.svg":"/icons/clockGrey.svg",grey:"light"===l?"/icons/clockGrey.svg":"/icons/clockWhite.svg",alwaysWhite:"/icons/clockWhite.svg",alwaysGrey:"/icons/clockGrey.svg"};return(0,r.jsx)("img",{src:"".concat("white"===t?c.white:"alwaysWhite"===t?c.alwaysWhite:"alwaysGrey"===t?c.alwaysGrey:c.grey," "),width:"22",height:"22",alt:"clock"})}}}]);
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.