1import{_ as O,T as b,o as n,a,F as A,r as T,a2 as U,a3 as W,t as v,h as i,g as u,x as ce,u as Z,d as t,N as D,n as w,q as K,a4 as me,b as q,v as j,k as G,c as S,e as p,w as ue,y as $,B as de,H as fe,f as ve,K as he,l as ge,a5 as _e,z as N,A as B,G as R,O as V,Q as Y,a6 as ye,M as we,m as Q,p as X,a7 as ke,a8 as be}from"./index-eba7dab5.js";const Ae={key:0},Me=["href"],Le=["href"],Ie={class:"cl"},$e={__name:"DocumentModule",props:["information"],setup(e){const d=b(!1),E=b(!0),m=()=>{d.value=!d.value,E.value=!E.value};return(x,k)=>(n(),a("div",null,[e.information.files.length>1?(n(),a("div",Ae,[(n(!0),a(A,null,T(e.information.files,(_,h)=>U((n(),a("a",{class:"download c1 cl",key:h,href:_.file,onclick:`window.open(this.href, 'targetWindow_' + new Date().getTime(), 2 \`toolbar=no, 3 location=no, 4 status=no, 5 menubar=no, 6 scrollbars=yes, 7 resizable=yes, 8 width=700, 9 height=1000, 10 left=\${Math.floor(Math.random() * 401)}, 11 top=100\`); 12 return false;`}," â("+v(h+1)+") ",9,Me)),[[W,d.value]])),128)),U(i("span",{class:"cl",onClick:m},"â("+v(e.information.files.length)+")",513),[[W,E.value]])])):u("",!0),e.information.files.length===1?(n(!0),a(A,{key:1},T(e.information.files,(_,h)=>(n(),a("a",{class:"download c1 cl",key:h,href:_.file,onclick:`window.open(this.href, 'targetWindow_' + new Date().getTime(), 13 \`toolbar=no, 14 location=no, 15 status=no, 16 menubar=no, 17 scrollbars=yes, 18 resizable=yes, 19 width=700, 20 height=1000, 21 left=\${Math.floor(Math.random() * 401)}, 22 top=100\`); 23 return false;`},[i("span",Ie," â("+v(h+1)+") ",1)],8,Le))),128)):u("",!0)]))}},J=O($e,[["__scopeId","data-v-0dfbdb4d"]]);const Te=["id"],Ee={class:"LeftCol komma"},Ce={class:"TabletHide"},Ne={class:"komma"},Se={class:"ArchiveNames ch inl"},He={key:0,class:"inl date"},xe=["innerHTML"],Fe={class:"cur inl ch"},Be={key:0,class:"ch"},Re=["innerHTML"],Ve=["innerHTML"],De={key:0},qe={class:"ch"},Pe={key:0,class:"ContainerRight"},ze={class:"ImageContainer"},Ye=["src"],Oe={key:0,class:"ArchiveRow ArchiveRowMobile komma cl"},Ue={key:0,class:"inl date"},We=["innerHTML"],Je={class:"inl"},je={class:"ArchiveNames ch inl"},Ge={class:"Titles inl"},Ke={class:"cur inl ch"},Qe={key:0,class:"ch"},Xe=["innerHTML"],Ze=["innerHTML"],pe={class:"ch"},et={key:0,class:"ContainerRight"},tt=["id","src"],nt={__name:"ArchiveListModule",props:["information","activefilter"],setup(e){ce(),Z();const{getAttr:d,getStatic:E,getFormat:m}=j(),{getURL:x}=G(),k=b(!1),_=b(null),h=()=>{document.querySelectorAll(".MobileImage").forEach(l=>{l.style.display="none"}),_.value=null},M=c=>{document.querySelectorAll(".MobileImage").forEach(F=>{F.style.display="none"});const o=document.getElementById(c);o&&(o.style.display="block"),_.value=c},C=c=>{_.value===c?h():M(c)},y=b(null),L=c=>{document.querySelectorAll(".wrap").forEach(F=>{F.classList.remove("enlarged_normal_img"),F.classList.remove("enlarged_portrait_img")});const o=document.getElementById(c);o.classList.add("enlarged_normal_img"),o.classList.add("enlarged_portrait_img"),y.value=c};return(c,l)=>(n(),a("div",null,[i("div",{class:w(["wrap",{ActiveFilter:!e.activefilter}]),onClick:l[2]||(l[2]=o=>L(e.information.id)),id:e.information.id},[t(D)?u("",!0):(n(),a("article",{key:0,class:"ArchiveRow cl",onMouseover:l[0]||(l[0]=o=>k.value=!0),onMouseout:l[1]||(l[1]=o=>k.value=!1)},[i("div",Ee,[i("div",Ce,[i("div",Ne,[(n(!0),a(A,null,T(e.information.artist_names,o=>(n(),a("h3",Se,v(o.first_name)+" "+v(o.last_name),1))),256))])]),i("div",null,[t(m)("fullyear",e.information.date)!=="2024"&&e.information.date?(n(),a("div",He,[i("time",{innerHTML:t(m)("fullyear",e.information.date)},null,8,xe)])):u("",!0)]),i("div",{class:w(["Titles inl komma",{"ch-dis":e.information.date||e.information.artist_names.length>0}])},[i("h1",Fe,v(e.information[t(d)("title")]),1),e.information.end_date?(n(),a("span",Be,[i("time",{innerHTML:t(m)("fullyear",e.information.date)},null,8,Re),l[5]||(l[5]=K(" â ")),i("time",{innerHTML:t(m)("fullyear",e.information.end_date)},null,8,Ve)])):u("",!0)],2),e.activefilter?(n(),a("div",De,[e.information.types.length>0&&!t(me)?(n(),a("div",{key:0,class:w(["komma inl",{ch:e.information.types.length>1}])},[(n(!0),a(A,null,T(e.information.types,o=>(n(),a("span",qe,v(o[t(d)("title")]),1))),256))],2)):u("",!0)])):u("",!0)]),e.information.files!=0?(n(),a("div",Pe,[q(J,{information:e.information},null,8,["information"])])):u("",!0)],32)),U(i("div",ze,[i("img",{loading:"lazy",class:w(["img",{imgp:e.information.main_image_is_portrait,imgn:!e.information.main_image_is_portrait}]),src:t(x)(e.information.main_image_m)},null,10,Ye)],512),[[W,k.value]])],10,Te),t(D)?(n(),a("article",Oe,[i("div",{onClick:l[3]||(l[3]=o=>C(e.information.id))},[t(m)("fullyear",e.information.date)!=="2024"&&e.information.date?(n(),a("div",Ue,[i("time",{innerHTML:t(m)("fullyear",e.information.date)},null,8,We)])):u("",!0)]),i("div",{onClick:l[4]||(l[4]=o=>C(e.information.id))},[i("div",Je,[(n(!0),a(A,null,T(e.information.artist_names,o=>(n(),a("h3",je,v(o.first_name)+" "+v(o.last_name),1))),256))]),i("div",Ge,[i("h1",Ke,v(e.information[t(d)("title")]),1),e.information.end_date?(n(),a("span",Qe,[i("time",{innerHTML:t(m)("fullyear",e.information.date)},null,8,Xe),l[6]||(l[6]=K(" â ")),i("time",{innerHTML:t(m)("fullyear",e.information.end_date)},null,8,Ze)])):u("",!0)]),e.information.types.length>0?(n(),a("div",{key:0,class:w(["inl",{ch:e.information.types.length>1}])},[(n(!0),a(A,null,T(e.information.types,o=>(n(),a("span",pe,v(o[t(d)("title")]),1))),256))],2)):u("",!0)]),e.information.files!=0?(n(),a("div",et,[q(J,{information:e.information},null,8,["information"])])):u("",!0),_.value===e.information.id?(n(),a("img",{key:1,loading:"lazy",class:w(["img imgmobile MobileImage",{imgp:e.information.main_image_is_portrait,imgn:!e.information.main_image_is_portrait}]),id:e.information.id,onClick:h,src:t(x)(e.information.main_image_m)},null,10,tt)):u("",!0)])):u("",!0)]))}},at=O(nt,[["__scopeId","data-v-c7c1be26"]]);const it=["id"],st={class:"ArchiveImage"},ot=["src"],lt={class:"komma"},rt={key:0,class:"inl lh-00 ch"},ct=["innerHTML"],mt={class:"ch fs-0"},ut={class:"inl cur ch"},dt={key:0,class:"komma lh-0 line2"},ft={class:"ArchiveNames inl ch"},vt={class:"mar-t-2"},ht={class:"fs-0 lh-0"},gt={__name:"ArchiveListModule2",props:["information"],setup(e){const{getAttr:d,getStatic:E,getFormat:m}=j(),{getURL:x}=G();b(!0);const k=b(!1);S(()=>{k.value=!k.value}),S(()=>e.information.filter(M=>m("fullyear",M.date)!=="2024"));const _=b(null),h=M=>{document.querySelectorAll(".ArchiveRow").forEach(L=>{L.classList.remove("enlarged_normal_img"),L.classList.remove("enlarged_portrait_img")});const y=document.getElementById(M);y.classList.add("enlarged_normal_img"),y.classList.add("enlarged_portrait_img"),y.scrollIntoView({behavior:"smooth",block:"start"}),_.value=M};return b(!1),(M,C)=>(n(),a("article",{class:"ArchiveRow cl",id:e.information.id,onClick:C[0]||(C[0]=y=>h(e.information.id))},[i("div",st,[i("img",{loading:"lazy",class:w({imgp:e.information.main_image_is_portrait,imgn:!e.information.main_image_is_portrait}),src:t(x)(e.information.main_image_m)},null,10,ot)]),i("div",lt,[t(m)("fullyear",e.information.date)!=="2024"&&e.information.date?(n(),a("div",rt,[i("time",{class:"date fs-0",innerHTML:t(m)("fullyear",e.information.date)},null,8,ct)])):u("",!0),(n(!0),a(A,null,T(e.information.types,y=>
23(n(),a("span",mt,v(y[t(d)("title")]),1))),256))]),i("div",{class:w(["komma lh-0 line1",{line1exc:e.information.types.length===0&&t(m)("fullyear",e.information.date)==="2024"}])},[i("h1",ut,v(e.information[t(d)("title")]),1),e.information.artist_names.length>0?(n(),a("span",dt,[(n(!0),a(A,null,T(e.information.artist_names,y=>(n(),a("h3",ft,v(y.first_name)+" "+v(y.last_name),1))),256))])):u("",!0)],2),i("div",vt,[i("div",ht,[e.information.files!=0?(n(),p(J,{key:0,information:e.information},null,8,["information"])):u("",!0)])])],8,it))}},_t=O(gt,[["__scopeId","data-v-8e8b6f55"]]);const yt={__name:"ArchiveView",async setup(e){let d,E;const{getURL:m}=G(),{getAttr:x,getStatic:k,getFormat:_}=j(),h=Z(),M=m("pdfs",h.params.slug),{isFetching:C,error:y,data:L}=([d,E]=ue(()=>ge(M,{refetch:!0}).json()),d=await d,E(),d);h.query.year&&($.value=h.query.year);const c=b(""),l=S(()=>{const s=new Set;return L.value.pdfs.forEach(f=>{f.types.forEach(r=>{r.title_de&&s.add(r.title_de)})}),[...s]}),o=S(()=>_e.value?at:_t),F=()=>{const s=document.getElementById("top");s?s.scrollIntoView({behavior:"smooth",block:"start"}):console.error('Element with id "top" not found.')};de(o,()=>{F()});const ee=s=>{$.value=s,N.value="",B.value="",c.value="",D.value&&(R.value=!1,V.value=!1,Y.value=!1),document.getElementById("top").scrollIntoView({behavior:"smooth",block:"start"})},te=s=>{N.value=s,$.value="",B.value="",c.value="",D.value&&(R.value=!1,V.value=!1,Y.value=!1),document.getElementById("top").scrollIntoView({behavior:"smooth",block:"start"})},ne=s=>{B.value=s,$.value="",N.value="",c.value="",D.value&&(R.value=!1,V.value=!1,Y.value=!1),document.getElementById("top").scrollIntoView({behavior:"smooth",block:"start"})},ae=()=>{D.value&&(R.value=!1,V.value=!1,ye.value=!1)},ie=S(()=>{const s=L.value.pdfs,f=g=>new Date(g.date).getFullYear().toString()===$.value.trim(),r=g=>{const z=g.first_name?g.first_name.trim():"",re=g.last_name?g.last_name.trim():"";return`${z} ${re}`.trim().toLowerCase()===N.value.trim().toLowerCase()},I=g=>g.types.some(z=>z.title_de.toLowerCase()===c.value.trim().toLowerCase()),P=g=>g.types.some(z=>z.title_de===B.value);let H;return!N.value&&!$.value&&!B.value?H=s:H=s.filter(g=>(!N.value||g.artist_names.some(r))&&(!$.value||f(g))&&(!B.value||P(g))),c.value!==""&&(H=H.filter(I)),H}),se=S(()=>{const s=new Set;return L.value.pdfs.forEach(f=>{const r=_("fullyear",f.date);s.add(r)}),[...s]}),oe=S(()=>{const s=new Set;for(const r of L.value.pdfs)for(const I of r.artist_names){const P={first_name:I.first_name?I.first_name.trim():"",last_name:I.last_name?I.last_name.trim():""};s.add(JSON.stringify(P))}return Array.from(s).map(r=>JSON.parse(r)).sort((r,I)=>{const P=(r.first_name+" "+r.last_name).toLowerCase(),H=(I.first_name+" "+I.last_name).toLowerCase();return P.localeCompare(H)})}),le=S(()=>oe.value.map(s=>{const f=s.first_name?s.first_name.trim():"",r=s.last_name?s.last_name.trim():"";return`${f} ${r}`.trim()}));return(s,f)=>(n(),a(A,null,[f[1]||(f[1]=i("div",{id:"top"},null,-1)),q(fe,{filter:c.value||t($)||t(N),filteroptions:l.value,whitetextcolor:!0,Pagetitle1:t(k)("Archiv"),Pagelink1:"#top"},null,8,["filter","filteroptions","Pagetitle1"]),q(ve,{filter:c.value||t($)||t(N),whitetextcolor:!0,Pagetitle1:t(k)("Archiv"),Pagelink1:"#top"},null,8,["filter","Pagetitle1"]),q(we,{whitetextcolor:!0}),i("div",{class:w(["BigWrapper TopMobileMargin",{Effect1:t(X)}])},[i("main",{onClick:f[0]||(f[0]=(...r)=>t(Q)&&t(Q)(...r)),class:w({Effect3:t(X)})},[q(he,{years:se.value,names:le.value,"event-types":l.value,"show-years":t(R),"show-list-names":t(V),"show-event-types":t(Y),blackbg:!0,onSelectYear:ee,onSelectArtist:te,onSelectEventType:ne,onHideFilter:ae},null,8,["years","names","event-types","show-years","show-list-names","show-event-types"]),i("div",{class:w(["Archive",{ActiveFilterArchive:t(V)||t(R)||t(Y)}])},[(n(!0),a(A,null,T(ie.value,r=>(n(),p(be(o.value),{activefilter:t(ke),key:r.id,information:r},null,8,["activefilter","information"]))),128))],2)],2)],2)],64))}},bt=O(yt,[["__scopeId","data-v-a567b4b6"]]);export{bt 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.