1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5219],{16845:(e,r,s)=>{s.d(r,{z:()=>t});function t(e){let r=[];return e.forEach((e,s)=>{let t=e?.id||s.toString(),l=e?.title||e?.label||null,a=e?.slug||null,n=e?.media||e?.image||null,i=e?.publishStart||null,o=e?.excerpt||null;r.push({id:t,title:l,slug:a,image:n,date:i,excerpt:o})}),r}},45219:(e,r,s)=>{s.r(r),s.d(r,{default:()=>m});var t=s(6029),l=s(68345),a=s(82203),n=s.n(a),i=s(44592),o=s(55729),c=s(46889);let d=function({data:e,index:r,linkPrefix:s,imageLeft:l=!1}){let{title:a,slug:d}=e,{components:h}=(0,o.useContext)(c.Sx.context.ThemeContext);return(0,t.jsx)(i.A,{data:e,theme:h.newsOverviewCard,children:(0,t.jsxs)("div",{className:`flex h-full flex-col ${l&&"lg:flex-row "}`,children:[(0,t.jsx)(i.A.Figure,{className:`relative h-[200px] w-auto 2 ${l&&"lg:h-full lg:w-1/4"} 3 ${h?.newsOverviewCard?.imageLeft} 4 `}),(0,t.jsxs)("div",{className:(0,c.cn)(h.newsOverviewCard?.content,"p-5 flex flex-col justify-between"),children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(i.A.DateTime,{}),(0,t.jsx)(n(),{href:s?s+d:`/stakeholdersverhalen/${d}`,title:`Lees meer over "${a}"`,"aria-label":`Lees meer over "${a}"`,children:(0,t.jsx)(i.A.Title,{})}),(0,t.jsx)(i.A.Descriptions,{})]}),(0,t.jsx)(i.A.ReadMore,{})]})]})})};var h=s(16845),v=s(84829),x=s(76264),w=s(31931);function u({data:e}){let r=e.$data,{options:s}=(0,w.N5)(),{components:l}=(0,o.useContext)(c.Sx.context.ThemeContext),a=(0,w.eX)(s?.containerMaxWidth);return(0,t.jsx)("div",{className:(0,x.QP)(l?.newsOverview?.wrapper),children:(0,t.jsxs)("div",{className:(0,x.QP)(l?.newsOverview?.container,a),children:[(0,t.jsx)("h2",{className:(0,x.QP)(l?.newsOverview?.title),children:e.title}),r?.length===0&&(0,t.jsx)("div",{className:"flex h-24 items-center justify-center",children:(0,t.jsx)("span",{className:(0,x.QP)(l?.newsOverview?.noNews),children:"Geen stakeholdersverhalen gevonden"})}),r&&r.length>0&&(0,t.jsx)("div",{className:(0,x.QP)(l?.newsOverview?.cardContainer),children:r.map((e,r)=>(0,t.jsx)(d,{index:r,data:e},e.id))}),(0,t.jsx)("div",{className:(0,x.QP)(l?.newsOverview?.moreNewsContainer),children:(0,t.jsxs)(n(),{href:"/stakeholdersverhalen",className:(0,x.QP)(l?.newsOverview?.moreNews),children:["Meer stakeholdersverhalen",(0,t.jsx)(v.D8V,{role:"none",size:"18",className:(0,x.QP)(l?.newsOverview?.arrow)})]})})]})})}u.loader=async({data:e})=>{let r=e.limit||3,s=[];if(Array.isArray(e.category)&&e.category.length>0){let t=await Promise.all(e.category.map(async e=>await l.getCollectionEntries("stakeholdersStory",{limit:r,orderBy:"publishStart desc",category:e.key})||[])),a=[];for(let e=0;e<r;e++)for(let r of t)r[e]&&a.push(r[e]);s=a.slice(0,r)}else s=e.category&&!Array.isArray(e.category)&&e.category.key?await l.getCollectionEntries("stakeholdersStory",{limit:r,orderBy:"publishStart desc",category:e.category.key})||[]:await l.getCollectionEntries("stakeholdersStory",{limit:r,orderBy:"publishStart desc"})??[];return s&&s.length>0?(0,h.z)(s):[]};let m=u}}]);
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.