1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8182],{65037:function(e,s,a){a.d(s,{J:function(){return c}});var t=a(85893);a(67294);var n=a(36093),l=a(86010),i=a(92923),r=a(11163);let c=e=>{let{dataTestId:s,className:a,htmlMainClassName:c,children:d,navigationProps:o,notificationBarProps:u,footerProps:m,seoProps:h,preview:p=!1,previewRedirectUrl:g="/",renderHero:x,autoMargin:j,filterMenuItemsVisibility:f,shouldBeindexed:v,nextPaginatedPath:b}=e;(0,i.ek)();let N=(0,r.useRouter)(),P=!N.asPath.includes("?")&&!N.asPath.includes("&");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.eF,{seoProps:h,shouldBeindexed:void 0!==v?v:P}),(0,t.jsx)(n.OZ,{}),p&&(0,t.jsx)(n.W$,{previewRedirectUrl:g}),u&&(0,t.jsx)(n.o4,{...u}),o&&(0,t.jsx)(n.h4,{...o,filterMenuItemsVisibility:f}),x&&(0,t.jsx)("div",{id:"heroContainer",children:x()}),(0,t.jsx)("div",{className:(0,l.Z)("flex-grow px-6",a),id:"main-content",children:(0,t.jsx)("main",{className:(0,l.Z)("grid grid-cols-12 md:container lg:pt-0",{"mb-12 space-y-12 md:mb-20 md:space-y-20":j},c),"data-testid":null==s?void 0:s.concat("-main"),children:d})}),m&&(0,t.jsx)(n.$_,{...m,dataTestId:"footer",id:"footer-content"})]})}},48182:function(e,s,a){a.r(s),a.d(s,{BlogIndexPage:function(){return h}});var t=a(85893),n=a(67294),l=a(11163),i=a(65037),r=a(36093),c=a(4045),d=a(48583),o=a(51953),u=a(92923),m=a(68569);let h=e=>{let{dataTestId:s="blog-index-page-layout",pageProps:a,layoutProps:h,themes:p}=e,{page:g}=a,{title:x,summary:j,breadcrumbs:f,blogs:v}=g,{items:b=[],pagination:N}=v,P=(0,l.useRouter)(),{sort:y}=P.query,T=n.useRef(!0);n.useEffect(()=>{T.current=!1},[]);let[k,w]=n.useState(b),[I,Z]=n.useState(null!=N?N:c._H),_=()=>{let e={...I,currentPage:1};Z(e)},[C,E]=(0,m.r)({sort:y}),R=()=>{let e=P.asPath.includes("&p=")||P.asPath.includes("?p=");return!P.asPath.includes("?")||!P.asPath.includes("&")||e},[S,q]=n.useState(()=>R()),B=(e,s)=>{P.replace({query:{...P.query,sort:C.id,[c.tn]:e}},void 0,{shallow:s}).then(e=>{q(R())})},F=(0,d.Dv)(o.ql),L=n.useMemo(()=>Object.entries(F).filter(e=>{let[s,a]=e;return a===r.EA.checked}).map(e=>{let[s,a]=e;return s}),[F]),M=n.useRef(!1);n.useEffect(()=>{M.current?_():M.current=!0},[L.length]);let{blogs:A}=(0,u.VZ)(g.urlPath,I.currentPage,C.id,L,{onSuccess:e=>{var s;let a=null!==(s=e.page.blogs.pagination)&&void 0!==s?s:c._H;Z(a),w(e.page.blogs.items),B(a.currentPage,!0)},enabled:!T.current});return(0,t.jsxs)(i.J,{...h,htmlMainClassName:"mb-10",dataTestId:s,shouldBeindexed:S,children:[f&&(0,t.jsx)(r.aG,{crumbs:f,inverse:!1,className:"col-span-12 md:mb-[50px]"}),(0,t.jsxs)("div",{className:"col-span-12 md:col-span-7",children:[(0,t.jsx)(r.ZT,{variant:"h1",as:"h1",dataTestId:null==s?void 0:s.concat("-intro-title"),children:x}),(0,t.jsx)(r.ZT,{variant:"p",as:"p",customColor:"text-arsenic-400",className:"!text-lg",dataTestId:null==s?void 0:s.concat("-intro-summary"),children:j})]}),(0,t.jsx)(r.wn,{indexPageName:"nieuws",themes:p,totalResults:I.total,selectedSorting:C,onSortingChange:e=>{E(e),_()}}),0===k.length&&!A.isLoading&&(0,t.jsx)("div",{className:"col-span-12 mt-10 flex justify-center",children:(0,t.jsx)(r.ZT,{variant:"p",children:"Er zijn geen artikelen beschikbaar."})}),k.length>0&&(0,t.jsxs)("ul",{className:"col-span-12 mt-8 grid grid-cols-12 gap-6",children:[A.isLoading&&Array(6).fill(1).map((e,s)=>(0,t.jsx)("li",{className:"col-span-12 md:col-span-6 lg:col-span-4",children:(0,t.jsx)(r.FQ,{})},s)),!A.isLoading&&k.map((e,a)=>(0,t.jsx)("li",{className:"col-span-12 md:col-span-6 lg:col-span-4",children:(0,t.jsx)(r.eu,{dataTestId:null==s?void 0:s.concat("-news-card-".concat(a)),...e,className:"col-span-12 h-full md:col-span-4",priority:a<3})},e.id))]}),k.length>0&&(0,t.jsx)(r.Nl,{dataTestId:"pagination",className:"mt-14 mb-4",pagination:I,setPagination:Z})]})}}}]);
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.