PageSourceSearch

https://www.nestruimte.nl/_nuxt/BAHvWMVk.js

js nestruimte.nl collected 2026-09-26 01:39:10 UTC 17,379 bytes, 2 lines download raw bytes

1import{_ as le}from"./DbuCv5CP.js";import{_ as F}from"./DkHjFzY8.js";import{d as I,c as _,a as g,u as n,o as a,b as E,e as x,w as y,f as k,t as $,n as l,_ as C,g as f,F as q,r as X,h as T,i as ie,j as re,k as K}from"#entry";import{_ as P}from"./BgQEwD30.js";import{_ as ce,a as me}from"./CHLeFRSf.js";import{d as O,_ as Y}from"./CP5lOmQz.js";import{_ as de}from"./DaUlODi6.js";import{_ as w}from"./Ju758v4k.js";import{_ as j}from"./L71Fi-tJ.js";import{b as N}from"./Bze9ZhBo.js";import{b as z,q as ue,a as J,c as pe,d as ge,e as _e}from"./BBldhwoG.js";import{b as B}from"./Ck0aH3s6.js";import{b as ve,a as D}from"./DuxIFhAA.js";import{_ as ye}from"./CJFBR9nG.js";import he from"./C41NSewC.js";import{_ as fe}from"./Dx0Z0uaS.js";import{s as M}from"./BvPvLK5G.js";import{f as W,b as $e,_ as xe}from"./DVwZefVv.js";import{D as Ee}from"./BDx6lZXm.js";import{u as R}from"./CJ6qvMlg.js";import"./D6abwBEz.js";import"./DIvsbwGb.js";import"./F8doVSIJ.js";import"./B3ShBz6l.js";import"./DYq96oQn.js";import"./Bu_wPS1V.js";const ke={key:0},be=["innerHTML"],Ie=["href"],Ce=["innerHTML"],Le=I({__name:"component",props:{note:{type:String,required:!0},noteLink:{object:Object,required:!1}},setup(t){const o=t,s=o?.note?.includes(o?.noteLink?.label),e=o?.noteLink&&o?.noteLink?.url&&o?.noteLink?.label&&o?.note?.includes(o?.noteLink?.label),h=o?.noteLink&&o?.note?.includes(o?.noteLink?.label),d=o?.noteLink?.label?.trim(),p=o?.note?.replace(/(<([^>]+)>)/ig,""),r=p?.split(d)?.filter(v=>v!=="");let u=r?.length>1?r?.[0]:p?.startsWith(d)?"":r[0],c=r?.length>1?r?.[r?.length-1]:p?.endsWith(d)?"":r[0];return(v,m)=>{const b=le,L=F;return n(s)?(a(),_("div",ke,[E("div",null,[E("span",{innerHTML:n(u)},null,8,be),n(h)?(a(),g(b,{key:0,link:t.noteLink,class:l(v.$style.link)},{default:y(()=>[k($(t.noteLink?.label),1)]),_:1},8,["link","class"])):n(e)?(a(),_("a",{key:1,href:t.noteLink?.url,target:"_blank"},$(t.noteLink?.label),9,Ie)):x("",!0),E("span",{innerHTML:n(c)},null,8,Ce)])])):(a(),g(L,{key:1,string:o.note},null,8,["string"]))}}}),Te="components-pages-index-note--link--BFP6C reset-link link",Se={link:Te},Pe={$style:Se},we=C(Le,[["__cssModules",Pe]]),je=["data-not-empty"],ze=I({__name:"component",props:{dataEventEntries:{type:Object,required:!1}},setup(t){const o=t,s=o?.dataEventEntries?.data?.length===1?{name:"events-slug",params:{slug:o?.dataEventEntries?.data[0]?.attributes?.slug}}:{name:"events",query:{year:String(O().year()),month:String(O().month()+1)}};return(e,h)=>{const d=P,p=ce,r=me;return a(),_("div",{class:l(e.$style.root)},[E("div",{class:l(e.$style.events)},[E("div",{class:l(e.$style.eventsLabel),"data-not-empty":t.dataEventEntries?.meta?.pagination?.total>0?"":null},[k($(e.$t("pages.index.events",{count:t.dataEventEntries?.meta?.pagination?.total}))+" ",1),f(d,{to:n(s),class:"link"},{default:y(()=>[k($(e.$t("pages.events.label",{count:t.dataEventEntries?.meta?.pagination?.total})?.toLowerCase()),1)]),_:1},8,["to"])],10,je),(a(!0),_(q,null,X(t.dataEventEntries?.data,u=>(a(),g(r,{data:u,class:l(e.$style.event)},{default:y(()=>[f(p,{data:u},null,8,["data"])]),_:2},1032,["data","class"]))),256)),t.dataEventEntries?.meta?.pagination?.total>t.dataEventEntries?.meta?.pagination?.limit?(a(),g(d,{key:0,to:n(s),class:"link font-size-default"},{default:y(()=>[k($(e.$t("shared.showAll",{count:t.dataEventEntries?.meta?.pagination?.total})),1)]),_:1},8,["to"])):x("",!0)],2)],2)}}}),Ae="components-pages-index-events--root--8p-f5",Me="components-pages-index-events--events--ZTcuj",qe="components-pages-index-events--eventsLabel--H-z86 font-size-x-large",Fe="components-pages-index-events--event--es6s0",Ne={root:Ae,events:Me,eventsLabel:qe,event:Fe},Be={$style:Ne},De=C(ze,[["__cssModules",Be]]),Ke=I({__name:"component",props:{data:Object},setup(t){const s=N(t.data),e=z(s),h=B(e?.locale),p=((c,v=60)=>c?.length>v?c?.substring(0,v-3)+"...":c)(ve(e?.blocks));e?.journalTags?.data?.map(c=>c?.attributes?.label)?.filter(Boolean);const r=c=>{if(c?.width&&c?.height)return c.width>c.height?"landscape":"portrait"},u=D(e?.title,14);return(c,v)=>{const m=w,b=F,L=Y,S=j,A=P;return a(),_("div",{class:l(c.$style.root)},[n(e)?.slug?(a(),g(A,{key:0,to:{name:"journals-slug",params:{slug:n(e)?.slug}}
1,locale:n(h),class:l(c.$style.link)},{default:y(()=>[f(S,null,{image:y(()=>[n(e)?.coverImage?.data?.attributes?(a(),g(m,{key:0,image:n(e)?.coverImage?.data?.attributes,class:l(c.$style.coverImage),showCaption:!1,"data-orientation":r(n(e)?.coverImage?.data?.attributes)},null,8,["image","class","data-orientation"])):x("",!0),n(p)&&!n(e)?.coverImage?.data?.attributes?(a(),_("div",{key:1,class:l(c.$style.firstParagraph)},[f(b,{string:n(p)},null,8,["string"])],2)):x("",!0)]),caption:y(()=>[E("div",null,[E("span",{class:l(c.$style.type)},$(c.$t("pages.journals.label")?.toLowerCase()),3),v[0]||(v[0]=k()),E("span",{class:l(c.$style.title)},$(n(u)),3)]),n(e)?.datePosted?(a(),_("div",{key:0,class:l(c.$style.updatedAt)},[k($(c.$t("shared.datePosted"))+": ",1),f(L,{dateStart:n(e)?.datePosted,format:"D MMMM YYYY"},null,8,["dateStart"])],2)):x("",!0)]),_:1})]),_:1},8,["to","locale","class"])):x("",!0)],2)}}}),Oe="components-shared-journals-thumbnail--root--BoWVo",We="components-shared-journals-thumbnail--link--3whdN reset-link",Re="components-shared-journals-thumbnail--heading--AMc-P",He="components-shared-journals-thumbnail--title--turr5 font-helvetica font-size-small",Ve="components-shared-journals-thumbnail--type--LureT font-size-small font-helvetica label-inverted",Ge="components-shared-journals-thumbnail--coverImage--02eko",Xe="components-shared-journals-thumbnail--firstParagraph--x744y font-default font-size-x-large",Ye="components-shared-journals-thumbnail--updatedAt--PCC61 font-helvetica font-size-small",Je={root:Oe,link:We,heading:Re,title:He,type:Ve,coverImage:Ge,firstParagraph:Xe,updatedAt:Ye},Ue={$style:Je},Ze=C(Ke,[["__cssModules",Ue]]),Qe=I({__name:"component",props:{data:Object},setup(t){const s=N(t.data),e=z(s),h=B(e?.locale),d=u=>{if(u?.width&&u?.height)return u.width>u.height?"landscape":"portrait"},p=D(e?.title,14),r=T(()=>e?.dateTimeRanges?.length===1?{...e?.dateTimeRanges[0]}:{dateTimeStart:e?.dateTimeRanges[0]?.dateTimeStart,dateTimeEnd:e?.dateTimeRanges[e?.dateTimeRanges?.length-1]?.dateTimeEnd});return(u,c)=>{const v=w,m=Y,b=ye,L=j,S=P;return a(),_("div",{class:l(u.$style.root)},[n(e)?.slug?(a(),g(S,{key:0,to:{name:"events-slug",params:{slug:n(e)?.slug}},locale:n(h),class:l(u.$style.link)},{default:y(()=>[f(L,null,{image:y(()=>[n(e)?.coverImage?.data?.attributes?(a(),g(v,{key:0,image:n(e)?.coverImage?.data?.attributes,class:l(u.$style.coverImage),showCaption:!1,"data-orientation":d(n(e)?.coverImage?.data?.attributes)},null,8,["image","class","data-orientation"])):(a(),_("div",{key:1,class:l(u.$style.coverImagePlaceholder)},$(n(p)),3))]),caption:y(()=>[E("span",{class:l(u.$style.type)},$(u.$t("pages.events.label")?.toLowerCase()),3),c[1]||(c[1]=k("   ",-1)),E("span",{class:l(u.$style.title)},$(n(p)),3),n(r)?(a(),_("div",{key:0,class:l(u.$style.dateRange)},[f(m,{dateStart:n(r)?.dateTimeStart,dateEnd:n(r)?.dateTimeEnd},null,8,["dateStart","dateEnd"]),c[0]||(c[0]=k(" ",-1)),f(b,{dateStart:n(r)?.dateTimeStart,dateEnd:n(r)?.dateTimeEnd},null,8,["dateStart","dateEnd"])],2)):x("",!0)]),_:1})]),_:1},8,["to","locale","class"])):x("",!0)],2)}}}),et="components-pages-index-event--root--8TBHY",tt="components-pages-index-event--link--hE-dV reset-link",nt="components-pages-index-event--heading--zB03p",at="components-pages-index-event--title--W1xtI font-helvetica font-size-small",ot="components-pages-index-event--type--MGkcM font-size-small font-helvetica label-inverted",st="components-pages-index-event--coverImage--72v1B",lt="components-pages-index-event--coverImagePlaceholder--UP0dn font-helvetica font-size-x-large",it="components-pages-index-event--updatedAt--925TT font-helvetica font-size-small",rt={root:et,link:tt,heading:nt,title:at,type:ot,coverImage:st,coverImagePlaceholder:lt,updatedAt:it},ct={$style:rt},mt=C(Qe,[["__cssModules",ct]]),dt=I({__name:"component",props:{data:Object,routeName:String,i18nPageName:String},setup(t){const s=N(t.data),e=z(s),h=B(e?.locale),d=r=>{if(r?.width&&r?.height)return r.width>r.height?"landscape":"portrait"},p=D(e?.title,14);return(r,u)=>{const c=w,v=j,m=P;return a(),_("div",{class:l(r.$style.root)},[n(e)?.slug?(a(),g(m,{key:0,to:{name:t.routeName,params:{slug:n(e)?.slug}}
1,locale:n(h),class:l(r.$style.link)},{default:y(()=>[f(v,null,{image:y(()=>[n(e)?.coverImage?.data?.attributes?(a(),g(c,{key:0,image:n(e)?.coverImage?.data?.attributes,class:l(r.$style.coverImage),showCaption:!1,"data-orientation":d(n(e)?.coverImage?.data?.attributes)},null,8,["image","class","data-orientation"])):(a(),_("div",{key:1,class:l(r.$style.coverImagePlaceholder)},$(n(p)),3))]),caption:y(()=>[t.i18nPageName?(a(),_("span",{key:0,class:l(r.$style.type)},$(r.$t(`pages.${t.i18nPageName}.label`)?.toLowerCase()),3)):x("",!0),u[0]||(u[0]=k("   ",-1)),E("span",{class:l(r.$style.title)},$(n(p)),3)]),_:1})]),_:1},8,["to","locale","class"])):x("",!0)],2)}}}),ut="components-pages-index-thumbnail--root--EEcek",pt="components-pages-index-thumbnail--link--YK89J reset-link",gt="components-pages-index-thumbnail--heading--sJwIW",_t="components-pages-index-thumbnail--title--4XwaC font-helvetica font-size-small",vt="components-pages-index-thumbnail--type--coscL font-size-small font-helvetica label-inverted",yt="components-pages-index-thumbnail--coverImage--aRGJA",ht="components-pages-index-thumbnail--coverImagePlaceholder--QbuHE font-helvetica font-size-x-large",ft="components-pages-index-thumbnail--updatedAt--bZQwk font-helvetica font-size-small",$t={root:ut,link:pt,heading:gt,title:_t,type:vt,coverImage:yt,coverImagePlaceholder:ht,updatedAt:ft},xt={$style:$t},Et=C(dt,[["__cssModules",xt]]),kt="components-pages-index-newsletter--root--K0xaP",bt="components-pages-index-newsletter--about---vHfX font-size-large",It="components-pages-index-newsletter--link--yWK0l reset-link link",Ct="components-pages-index-newsletter--linkSvg--jLkK- reset-link",Lt="components-pages-index-newsletter--svg--X1WOZ",Tt={root:kt,about:bt,link:It,linkSvg:Ct,svg:Lt},St={};function Pt(t,o){const s=he,e=P,h=j;return a(),_("div",{class:l(t.$style.root)},[f(h,null,{image:y(()=>[f(e,{class:l(t.$style.linkSvg),to:{name:"newsletter"}},{default:y(()=>[f(s,{class:l(t.$style.svg)},null,8,["class"])]),_:1},8,["class"])]),caption:y(()=>[f(e,{class:l(t.$style.link),to:{name:"newsletter"}},{default:y(()=>[k($(t.$t("newsletter.prompt")),1)]),_:1},8,["class"])]),_:1})],2)}const wt={$style:Tt},jt=C(St,[["render",Pt],["__cssModules",wt]]),zt=["href"],At=I({__name:"component",props:{url:String,image:Object,label:{type:String,required:!1}},setup(t){const o=s=>{if(s?.width&&s?.height)return s.width>s.height?"landscape":"portrait"};return(s,e)=>{const h=w,d=j;return a(),_("div",{class:l(s.$style.root)},[t.url?(a(),_("a",{key:0,href:t.url,target:"_blank",class:l(s.$style.link)},[f(d,null,ie({image:y(()=>[t.image?(a(),g(h,{key:0,image:t.image,class:l(s.$style.coverImage),showCaption:!1,"data-orientation":o(t.image)},null,8,["image","class","data-orientation"])):x("",!0)]),_:2},[t.label?{name:"caption",fn:y(()=>[E("span",{class:l(s.$style.title)},$(t.label),3)]),key:"0"}:void 0]),1024)],10,zt)):x("",!0)],2)}}}),Mt="components-pages-index-external-item--root--pvwIc",qt="components-pages-index-external-item--link--pcUWr reset-link",Ft="components-pages-index-external-item--title--SbPSV font-helvetica font-size-small",Nt="components-pages-index-external-item--coverImage--KKCos",Bt={root:Mt,link:qt,title:Ft,coverImage:Nt},Dt={$style:Bt},Kt=C(At,[["__cssModules",Dt]]),Ot=I({__name:"component",props:{data:{type:Object,required:!0},dataEventEntries:{object:Array,required:!1}},setup(t){const o=t,s=T(()=>z(o.data)),e=T(()=>s.value?.blocks?.findIndex(m=>m?.__component==="index.events"&&o?.dataEventEntries?.data?.length>0)),h=T(()=>e.value>-1),d=T(()=>s.value?.blocks),p=T(()=>d.value?.length||0);if(e.value>0&&p.value++,!h.value&&p.value%2!==0&&(d.value=[...d.value,{__component:"index.image",image:M(s.value?.images?.data)}]),h.value&&e.value<p.value){const m=p.value-e.value;e.value%2!==0&&(d.value=[...d.value.slice(0,e.value),{__component:"index.image",image:M(s.value?.images?.data)},...d.value.slice(e.value)]),m.value%2!==0&&(d.value=[...d.value,{__component:"index.image",image:M(s.value?.images?.data)}])}const r=m=>{switch(m?.__component){case"index.page":return m?.pageEntry?.data;case"index.education":return m?.educationEntry?.data;case"index.project":return m?.projectEntry?.data}},u=m=>{switch(m){case"index.page":return"slug";case"index.education":return"education-slug";case"index.project":return"projects-slug"}},c=m=>{switch(m){case"index.education":return"education";case"index.project":return"projects";case"index.event":return"events";default:return null}},v=(m={},b={})=>b?.data?.id&&m?{...m,attributes:{...m?.attributes,coverImage:b}}:m;return(m,b)=>{const L=we,S=De,A=de,U=Ze,Z=mt,Q=F,ee=Et,te=jt,ne=w,ae=Kt,oe=fe;return a(),_("div",{class:l(m.$style.root)},[n(s)?.note?(a(),g(L,{key:0,note:n(s)?.note,noteLink:n(s)?.noteLink,class:l(m.$style.noteContainer)},null,8,["note","noteLink","class"])):x("",!0),f(oe,null,{default:y(()=>[(a(!0),_(q,null,X(n(d),(i,se)=>(a(),_(q,{key:se},[i?.__component==="index.events"&&t.dataEventEntries?(a(),g(S,{key:0,dataEventEntries:t.dataEventEntries},null,8,["dataEventEntries"])):i?.__component==="index.exhibition"&&i?.exhibitionEntry?.data?.attributes?(a(),g(A,{key:1,data:v(i?.exhibitionEntry?.data,i?.coverImage)},null,8,["data"])):i?.__component==="index.journal"&&i?.journalEntry?.data?.attributes?(a(),g(U,{key:2,data:v(i?.journalEntry?.data,i?.coverImage)},null,8,["data"])):i?.__component==="index.event"&&i?.eventEntry?.data?.attributes?(a(),g(Z,{key:3,data:v(i?.eventEntry?.data,i?.coverImage)},null,8,["data"])):i?.__component==="index.rich-text"&&i?.richText?(a(),_("div",{key:4,class:l(m.$style.text)},[f(Q,{string:i?.richText},null,8,["string"])],2)):i?.__component==="index.page"&&i?.pageEntry?.data?.attributes||i?.__component==="index.education"&&i?.educationEntry?.data?.attributes||i?.__component==="index.project"&&i?.projectEntry?.data?.attributes?(a(),g(ee,{key:5,data:v(r(i),i?.coverImage),routeName:u(i?.__component),i18nPageName:c(i?.__component)}
1,null,8,["data","routeName","i18nPageName"])):i?.__component==="index.newsletter"?(a(),g(te,{key:6})):i?.__component==="index.image"&&i?.image?.attributes?(a(),g(ne,{key:7,image:i?.image?.attributes},null,8,["image"])):i?.__component==="index.external-item"&&i?.url?(a(),g(ae,{key:8,url:i?.url,label:i?.label,image:i?.coverImage?.data?.attributes},null,8,["url","label","image"])):x("",!0)],64))),128))]),_:1})],2)}}}),Wt="components-pages-index--root--IZcX7",Rt="components-pages-index--text--mFWV5 font-size-large",Ht="components-pages-index--noteContainer--X5SvD container font-size-x-large",Vt={root:Wt,text:Rt,noteContainer:Ht},Gt={$style:Vt},Xt=C(Ot,[["__cssModules",Gt]]),Yt={educationEntry:{fields:["title","slug","locale"],populate:{localizations:{fields:["title","slug","locale"]},coverImage:"*"}}},Jt={eventEntry:{fields:["title","slug","locale"],sort:["sortKeyAsc:desc","sortKeyDesc:asc","title:asc"],populate:{localizations:{fields:["title","slug","locale"]},dateTimeRanges:!0,eventCategories:!0,coverImage:!0}}},Ut={exhibitionEntry:{fields:["title","slug","locale","dateStart","dateEnd","externalLocation"],populate:{localizations:{fields:["title","slug","locale","dateStart","dateEnd","externalLocation"]},coverImage:"*"}}},Zt={journalEntry:{fields:["title","slug","locale","datePosted"],populate:{localizations:{fields:["title","slug","locale","datePosted"]},coverImage:"*",blocks:{...ue},journalTags:"*"}}},Qt={pageEntry:{fields:["title","slug","locale"],populate:{localizations:{fields:["title","slug","locale"]}}}},en={projectEntry:{fields:["title","slug","locale"],populate:{localizations:{fields:["title","slug","locale"]},coverImage:"*"}}},tn=t=>`home-page?${J.stringify({locale:t||"en-US",fields:["title","note"],populate:{...ge,noteLink:{populate:pe},images:"*",blocks:{populate:{coverImage:!0,...Yt,...Jt,...Ut,...Zt,...Qt,...en,externalItem:{fields:["url","label"],populate:{localizations:{fields:["url","label"]},coverImage:"*"}}}}}},{encodeValuesOnly:!0})}`,H=["title","slug","locale","sortKeyAsc","sortKeyDesc"],V=["sortKeyAsc:asc","sortKeyDesc:desc","title:asc"],G={eventCategories:!0,dateTimeRanges:!0,coverImage:"*"},nn=t=>`event-entries?${J.stringify({locale:t?.locale||"nl-NL",sort:V,filters:{$or:[{sortKeyAsc:{$gte:t?.date}},{sortKeyAsc:{$lte:t?.date},sortKeyDesc:{$gte:t?.date}}]},pagination:{limit:2},fields:H,populate:{...G,coverImage:"*",localizations:{sort:V,fields:H,populate:{...G}}}},{encodeValuesOnly:!0})}`,an={key:0},wn=I({__name:"index",async setup(t){let o,s;re({htmlAttrs:{"data-page-type":"homepage"}});const e=_e(),{data:h,error:d}=([o,s]=K(()=>R(()=>W(tn(e)),"$77hSeXQoip")),o=await o,s(),o);$e(h);const p=Ee.now().setZone("Europe/Amsterdam").toFormat("yyyy-LL-dd"),{data:r}=([o,s]=K(()=>R(()=>W(nn({date:p})),"$jo3TmIigCs")),o=await o,s(),o);return(u,c)=>{const v=Xt,m=xe;return n(h)?(a(),_("section",an,[f(v,{data:n(h),dataEventEntries:n(r)},null,8,["data","dataEventEntries"])])):n(d)?(a(),g(m,{key:1,error:n(d)},null,8,["error"])):x("",!0)}}});export{wn as default};
2//# sourceMappingURL=BAHvWMVk.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.