1import{g as j,h as _,u as T,r as w,c as v,i as n,j as a,k as u,l as N,w as o,m as p,a as k,n as A,d as W,o as r,p as R,q as S,v as $,e as q,s as D,t as E,_ as H}from"./DzlDI_Lz.js";import M from"./C0smE0PA.js";import z from"./B1KVXCyY.js";import G from"./-mzLalmw.js";const F={class:"PublicationsContentBlock"},J={class:"grid"},K={key:0,class:"col-1-1"},L={class:"search-wrapper"},Q=["onInput"],X={class:"icon-wrapper"},Y={key:1,class:"col-1-1 mt-lg"},Z=2277,ee=j({__name:"Publications",props:{content:{type:Object,required:!0}},setup(e){const c=e,b=_(()=>{const t=[];return c.content.cases?.length&&t.push(...c.content.cases),t}),d=_(()=>{const t={articles:{presetArticles:b.value,fillWithPageId:c.content.fillWithCases!="false"},pagination:{enabled:!0,show:!1,articlesPerPage:c.content.maximaalWeerTeGevenArtikelen||12},search:{enabled:!1,show:!1}};return c.content.isOverview=="true"&&(t.pagination.show=!0,t.search.show=!0,t.search.enabled=!0),t}),y=[{id:2280,desc:!0}],P=T(),h=w(P.query.searchTerm||""),i=w(null);function O(){setTimeout(()=>{if(i.value){try{i.value.scrollIntoView({behavior:"smooth",block:"start"})}catch{i.value.scrollIntoView(!0)}i.value.scrollTop=0}},50)}return(t,l)=>{const x=A,m=q,I=M,C=z,U=G,B=W;return r(),v("div",F,[n("div",J,[e.content.titel?(r(),v("div",K,[a(x,{class:"heading-2 fw-700","heading-type":e.content.seoHeadingtype,title:e.content.titel},null,8,["heading-type","title"])])):u("",!0),n("div",{ref_key:"PublicationsOverviewWrapperRef",ref:i,class:"col-1-1"},[a(U,{config:p(d),"page-id":Z,sortings:y,class:"clearfix","onUpdate:currentPage":O},N({articles:o(({articles:s})=>[a(I,{cases:s,type:"publication"},null,8,["cases"])]),"no-results":o(()=>[l[1]||(l[1]=n("div",{class:"no-results col-1-1 no-p"},[n("p",{class:"no-results-text"},"No results found with this search term.")],-1))]),pagination:o(({handlePageChange:s,currentPage:f,articleCount:g,articlesPerPage:V})=>[D(E((t.pageChangeHandler=s,""))+" ",1),g>1&&g>p(d).pagination.articlesPerPage&&p(d).pagination.show?(r(),k(C,{key:0,"article-count":g,"max-size":2,"show-arrows":!0,"show-first-last":!0,"use-default-styles":!1,"articles-per-page":V,"current-page":f,class:"pagination col-1-1","onUpdate:currentPage":s},{"prev-arrow-content":o(()=>[a(m,{icon:"chevron-left"})]),"next-arrow-content":o(()=>[a(m,{icon:"chevron-right"})]),_:1},8,["article-count","articles-per-page","current-page","onUpdate:currentPage"])):u("",!0)]),_:2},[e.content.isOverview=="true"?{name:"search",fn:o(({updateSearchValue:s})=>[n("div",L,[R(n("input",{"onUpdate:modelValue":l[0]||(l[0]=f=>S(h)?h.value=f:null),class:"search-input",placeholder:"Search",onInput:s},null,40,Q),[[$,p(h)]]),n("div",X,[a(m,{icon:"search",class:"input-icon"})])])]),key:"0"}:void 0]),1032,["config"])],512),e.content.linkObject?.name&&e.content.isOverview=="false"?(r(),v("div",Y,[e.content.linkObject?.name?(r(),k(B,{key:0,class:"btn-primary",name:e.content.linkObject?.name,link:e.content.linkObject?.link,target:e.content.linkObject?.target},null,8,["name","link","target"])):u("",!0)])):u("",!0)])])}}}),oe=H(ee,[["__scopeId","data-v-0656b0fd"]]);export{oe as default};
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.