1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9094],{18111:(e,l,t)=>{"use strict";t.d(l,{AudioAndVideoBlock:()=>x});var a=t(95155);function s(e){let{id:l,color:t}=e,s=parseInt(t.slice(1,3),16)/255,r=parseInt(t.slice(3,5),16)/255,o=parseInt(t.slice(5,7),16)/255;return(0,a.jsx)("svg",{width:"0",height:"0",style:{position:"absolute",pointerEvents:"none"},children:(0,a.jsx)("filter",{id:l,colorInterpolationFilters:"sRGB",children:(0,a.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 ".concat(s," 0 0 0 0 ").concat(r," 0 0 0 0 ").concat(o," 0 0 0 1 0")})})})}var r=t(61614),o=t(61822),n=t(90350),i=t.n(n),c=t(27043),d=t(66766),u=t(6874),m=t.n(u),h=t(12115);t(2252);var f=t(27677),p=t(38486);let x=e=>{let{scrollToId:l,title:t,audioAndVideoReferences:n,backgroundColor:u,colorFilter:x,textColor:g,...v}=e,b=(0,c.useTranslations)("blocks.audioAndVideoBlock"),j=(0,h.useRef)(null);return n&&0!==n.length?(0,a.jsxs)("section",{...v,style:{backgroundColor:u||""},className:(0,o.Y)(e,"audioAndVideoBlock relative my-[15px] px-5 py-5"),children:[(0,a.jsx)("div",{id:l||"",className:"absolute top-[-102px]"}),u&&!x&&(0,a.jsx)(s,{id:"recolor-av",color:u}),(0,a.jsx)("div",{style:{filter:x||(u?"url(#recolor-av)":void 0)},className:"border-triangle-top absolute left-0 top-[-14px] h-[15px] w-full"}),(0,a.jsx)("div",{style:{filter:x||(u?"url(#recolor-av)":void 0)},className:"border-triangle-bottom absolute bottom-[-14px] left-0 h-[15px] w-full"}),(0,a.jsxs)("div",{className:"mx-auto flex w-full max-w-page flex-col gap-5",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("p",{style:{color:g||"#000000"},className:"h3",children:t}),(0,a.jsxs)("button",{className:"flex items-center",onClick:()=>{var e,l;return null===(l=j.current)||void 0===l?void 0:null===(e=l.swiper)||void 0===e?void 0:e.slideNext()},children:[(0,a.jsx)("p",{style:{color:g||"#000000"},className:"mt-[4px]",children:b("next").toUpperCase()}),(0,a.jsx)("span",{style:{backgroundColor:g||"#000000",maskImage:"url('/icons/arrow-right.svg')",maskSize:"contain",maskRepeat:"no-repeat",WebkitMaskImage:"url('/icons/arrow-right.svg')",WebkitMaskSize:"contain",WebkitMaskRepeat:"no-repeat"},className:"ml-2 inline-block h-4 w-4 transition-all group-hover:translate-x-1"})]})]}),(0,a.jsx)(f.RC,{ref:j,modules:[p.Ij],spaceBetween:20,loop:!0,breakpoints:{0:{slidesPerView:1.3},768:{slidesPerView:2.5}},autoplay:{delay:5e3,disableOnInteraction:!0},slidesPerView:2.5,centeredSlides:!0,centeredSlidesBounds:!0,children:null==n?void 0:n.map(e=>"string"==typeof e?null:(0,a.jsx)(f.qr,{children:(0,a.jsx)(m(),{href:"/audio-and-video/".concat(e.slug),children:(0,a.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"relative aspect-square w-full",children:(0,a.jsx)(d.default,{className:"h-full w-full border-2 border-black object-cover",src:(0,r.$E)(e.image,"url"),alt:(0,r.$E)(e.image,"alt"),width:500,height:500})}),(0,a.jsxs)("div",{className:"absolute right-5 top-5 flex items-center gap-2",children:[e.videoFragment?(0,a.jsx)("div",{className:"flex size-[32px] shrink-0 items-center justify-center rounded-full border-2 border-black bg-color-pink",children:(0,a.jsx)(d.default,{unoptimized:!0,width:16,height:16,src:"/icons/videocam.svg",alt:"Video cam"})}):null,e.audioFragment?(0,a.jsx)("div",{className:"flex size-[32px] shrink-0 items-center justify-center rounded-full border-2 border-black bg-color-pink",children:(0,a.jsx)(d.default,{unoptimized:!0,width:16,height:16,src:"/icons/headphones.svg",alt:"Audio"})}):null]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("p",{style:{color:g||"#000000"},className:"h4",children:e.title}),e.dates&&e.dates.length>0&&(0,a.jsx)("p",{style:{color:g||"#000000"},children:e.dates.map(e=>i()(e.date).tz("Europe/Amsterdam").format("DD MMM YYYY")).join(" - ").replace(/\./g,"")})]})]})})},e.id))})]})]}):null}},20165:(e,l,t)=>{"use strict";t.d(l,{AllEventsGrid:()=>g});var a=t(95155),s=t(66336),r=t(31500),o=t(61822),n=t(90350),i=t.n(n),c=t(27043),d=t(66766),u=t(35695),m=t(12115),h=t(61614),f=t(6874),p=t.n(f);let x=e=>{let{date:l,startTime:t,endTime:s,noTimeYet:r,title:o,backgroundColor:n,crowFootIcon:c,slug:u,small:m,icon:f,textColor:x}=e;return(0,a.jsx)(p(),{href:"/programme/".concat(u),className:"group",children:(0,a.jsxs)("div",{style:{backgroundColor:n},className:"grid h-full w-full grid-cols-[1fr_auto] rounded-l-2xl border-2 border-black",children:[(0,a.jsxs)("div",{className:"relative flex w-full flex-col justify-between gap-5 ".concat(m?"gap-2 px-5 py-4 sm:gap-5":"p-5 sm:p-8"," text-center"),children:[c?(0,a.jsx)(d.default,{unoptimized:!0,className:"absolute left-5 top-5 h-6 w-6",src:"/global/crow-foot.svg",alt:"Crow Foot",width:24,height:24}):null,(0,a.jsxs)("div",{className:"flex flex-col gap-5",children:[(l||t||r)&&!m?(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[l&&(0,a.jsx)("p",{className:"h4 !font-bold",style:{color:x},children:i()(l).tz("Europe/Amsterdam").format("ddd D MMM YYYY").toUpperCase().replace(/\./g,"")}),r?(0,a.jsx)("p",{className:"h4 !font-regular",style:{color:x},children:"t.b.a"}):t?(0,a.jsxs)("p",{className:"h4 !font-regular",style:{color:x},children:[i()(t).tz("Europe/Amsterdam").format("HH:mm").replace(/\./g,""),s?" - ".concat(i()(s).tz("Europe/Amsterdam").format("HH:mm").replace(/\./g,"")):""]}):null]}):null,(0,a.jsxs)("div",{className:"relative flex w-full flex-col items-center ".concat(m?"gap-1 sm:gap-5":"gap-5"," sm:flex-row sm:justify-center"),children:[(0,a.jsx)("p",{className:"h3 font-extraBold sm:translate-y-[2px] md:translate-y-[4px]",style:{color:x},children:null==o?void 0:o.toUpperCase()}),m&&l?(0,a.jsxs)("div",{className:"flex items-center gap-2 sm:absolute sm:right-0 sm:top-[50%] sm:-translate-y-1/2",children:[(0,a.jsx)("p",{className:"h4 mt-[4px] !font-regular",style:{color:x},children:i()(l).tz("Europe/Amsterdam").format("ddd D MMM").toUpperCase().replace(/\./g,"")}),(0,a.jsx)(d.default,{unoptimized:!0,className:"#ffffff"===x?"invert":"",src:"/icons/arrow-right.svg",alt:"Arrow right",width:20,height:20})]}):null]})]}),!m&&f?(0,a.jsx)("div",{className:"hidden sm:flex sm:justify-center",children:(0,a.jsx)(d.default,{className:"h-[60px] w-auto object-contain",src:(0,h.$E)(f,"url"),alt:(0,h.$E)(f,"alt"),width:60,height:60})}):null]}),(0,a.jsxs)("div",{className:"flex h-full",children:[(0,a.jsx)("div",{className:"h-full w-[2px] border-l-2 border-black bg-white p-[2px]"}),(0,a.jsx)("div",{className:"h-full w-[2px] border-l-2 border-black bg-white p-[2px]"}),(0,a.jsx)("div",{className:"h-full w-[2px] border-l-2 border-black bg-white p-[2px]"})]})]})})},g=e=>{let{events:l,programmes:t,...n}=e,h=(0,u.useSearchParams)(),f=(0,u.useRouter)(),p=(0,c.useTranslations)("filters"),g=(0,c.useTranslations)("wcag"),[v,b]=(0,m.useState)(()=>{let e=h.get("search");return e?e.replace(/^"|"$/g,""):""}),[j,w]=(0,m.useState)(!1),N=[...new Set(l.flatMap(e=>{var l;return null!==(l=e.type)&&void 0!==l?l:[]}))],k=[...new Set(t.map(e=>
1e.date))].filter(Boolean).sort((e,l)=>new Date(e).getTime()-new Date(l).getTime()),y=t.map(e=>e.slug).filter(Boolean),C=t.map(e=>e.extraFilterName).filter(Boolean),S={};t.forEach(e=>{(null==e?void 0:e.date)&&(null==e?void 0:e.extraFilterName)&&(null==e?void 0:e.startTime)&&(S[e.date]||(S[e.date]=[]),S[e.date].some(l=>l.name===e.extraFilterName)||S[e.date].push({name:e.extraFilterName,startTime:e.startTime}))}),Object.keys(S).forEach(e=>{S[e].sort((e,l)=>{let t=new Date(e.startTime),a=new Date(l.startTime);return 60*t.getHours()+t.getMinutes()-(60*a.getHours()+a.getMinutes())})});let z=e=>{let[l,t,a]=e.split("-");return new Date("".concat(a,"-").concat(t,"-").concat(l,"T12:00:00.000Z")).toISOString()},E=e=>{let l=new Date(e),t=l.getUTCDate().toString().padStart(2,"0"),a=(l.getUTCMonth()+1).toString().padStart(2,"0"),s=l.getUTCFullYear();return"".concat(t,"-").concat(a,"-").concat(s)},[B,P]=(0,m.useState)(()=>{let e=h.get("types");if(!e)return[];let l=e.replace(/"/g,"").split(",").filter(Boolean),t=new Set(N);return l.filter(e=>t.has(e))}),[T,M]=(0,m.useState)(()=>{let e=h.get("dates");if(!e)return[];let l=e.replace(/"/g,"").split(",").map(z),t=new Set(k);return l.filter(e=>t.has(e))}),[F]=(0,m.useState)(()=>{let e=h.get("programme");return e?e.replace(/"/g,"").split(",").filter(Boolean).filter(e=>y.includes(e)||y.includes("/".concat(e))):[]}),[U,Y]=(0,m.useState)(()=>{let e=h.get("extraFilters");return e?e.replace(/"/g,"").split(",").filter(Boolean).filter(e=>C.includes(e)):[]}),D=e=>{let l=new URLSearchParams(h.toString());if(e.length>0){let t=e.map(E).join(",");l.set("dates",'"'.concat(t,'"'))}else l.delete("dates");f.push("?".concat(l.toString()))},L=e=>{let l=new URLSearchParams(h.toString());if(e.length>0){let t=e.join(",");l.set("types",'"'.concat(t,'"'))}else l.delete("types");f.push("?".concat(l.toString()))},$=e=>{let l=new URLSearchParams(h.toString());if(e.length>0){let t=e.join(",");l.set("extraFilters",'"'.concat(t,'"'))}else l.delete("extraFilters");f.push("?".concat(l.toString()))},I=l.filter(e=>{var l,t,a,s,r,o;let n=(null===(l=e.title)||void 0===l?void 0:l.toLowerCase().includes(v.toLowerCase()))||(null===(t=e.artists)||void 0===t?void 0:t.some(e=>{var l;return"object"==typeof e&&(null===(l=e.name)||void 0===l?void 0:l.toLowerCase().includes(v.toLowerCase()))})),i=0===B.length||(null===(a=e.type)||void 0===a?void 0:a.some(e=>B.includes(e))),c=0===T.length||!!("object"==typeof(null==e?void 0:e.linkedProgramme)&&(null==e?void 0:null===(s=e.linkedProgramme)||void 0===s?void 0:s.date)&&T.includes(null==e?void 0:e.linkedProgramme.date)),d=0===F.length||!!("object"==typeof(null==e?void 0:e.linkedProgramme)&&(null==e?void 0:null===(r=e.linkedProgramme)||void 0===r?void 0:r.slug)&&(F.includes(null==e?void 0:e.linkedProgramme.slug)||F.includes(null==e?void 0:e.linkedProgramme.slug.replace(/^\//,"")))),u=0===U.length||!!("object"==typeof(null==e?void 0:e.linkedProgramme)&&(null==e?void 0:null===(o=e.linkedProgramme)||void 0===o?void 0:o.extraFilterName)&&U.includes(null==e?void 0:e.linkedProgramme.extraFilterName)),m=!0;return m=T.length>0&&U.length>0?c||u:c&&u,n&&i&&d&&m}),A=t.map(e=>{let l=I.filter(l=>{var t;return"object"==typeof l.linkedProgramme&&(null===(t=l.linkedProgramme)||void 0===t?void 0:t.id)===e.id});return{programme:e,events:l}}).filter(e=>e.events.length>0),R=e=>{let l=T.includes(e)?T.filter(l=>l!==e):[...T,e];M(l),D(l)},G=()=>{M([]),D([])},O=e=>{let l=B.includes(e)?B.filter(l=>l!==e):[...B,e];P(l),L(l)},V=e=>{let l=U.includes(e)?U.filter(l=>l!==e):[...U,e];Y(l),$(l)},q=()=>{Y([]),$([])};return(0,a.jsxs)("div",{...n,className:(0,o.Y)(e,"relative flex w-full flex-col gap-10"),children:[(0,a.jsxs)("div",{className:"flex flex-col gap-10",children:[(0,a.jsxs)("div",{className:"grid grid-cols-3 gap-5 sm:flex sm:flex-row sm:justify-between sm:gap-3",children:[(0,a.jsx)("div",{className:"col-span-2 w-full sm:max-w-[250px]",children:(0,a.jsx)(s.D,{placeholder:p("search").toUpperCase(),value:v,onChange:e=>b(e.target.value)})}),(0,a.jsxs)("button",{onClick:()=>w(!j),className:"flex cursor-pointer select-none items-center justify-end gap-2 sm:justify-normal","aria-expanded":j,"aria-controls":"filter-panel","aria-label":"".concat(g(j?"close"
1:"open")," filters"),children:[(0,a.jsx)(d.default,{unoptimized:!0,src:"/icons/filter.svg",alt:"",width:24,height:24}),(0,a.jsx)("span",{className:"mt-[4px] leading-none",children:"FILTER"})]})]}),(0,a.jsxs)("div",{id:"filter-panel",className:"".concat(j?"flex w-full flex-col gap-5 rounded-t-lg border-2 border-black p-5 md:grid md:grid-cols-2":"hidden"),role:"region","aria-label":g("filterOptions"),children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("p",{className:"font-extraBold",id:"festival-days-label",children:"FESTIVAL DAYS"}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-5",role:"group","aria-labelledby":"festival-days-label",children:[(0,a.jsxs)("button",{onClick:()=>{G(),q()},className:"flex cursor-pointer select-none items-center gap-2","aria-pressed":0===T.length&&0===U.length,children:[(0,a.jsx)("div",{className:"rounded-t-full border-2 border-black p-2 ".concat(0===T.length&&0===U.length?"bg-color-lightGreen":"")}),(0,a.jsx)("span",{className:"translate-y-[2px]",children:p("all").toUpperCase()})]}),k.flatMap(e=>[(0,a.jsxs)("button",{onClick:()=>R(e),className:"flex cursor-pointer select-none items-center gap-2","aria-pressed":T.includes(e),children:[(0,a.jsx)("div",{className:"rounded-t-full border-2 border-black p-2 ".concat(T.includes(e)?"bg-color-lightGreen":"")}),(0,a.jsx)("span",{className:"translate-y-[2px]",children:i()(e).tz("Europe/Amsterdam").format("ddd D MMM").toUpperCase().replace(/\./g,"")})]},e),...(S[e]||[]).map(l=>(0,a.jsxs)("button",{onClick:()=>V(l.name),className:"flex cursor-pointer select-none items-center gap-2","aria-pressed":U.includes(l.name),children:[(0,a.jsx)("div",{className:"rounded-t-full border-2 border-black p-2 ".concat(U.includes(l.name)?"bg-color-lightGreen":"")}),(0,a.jsx)("span",{className:"translate-y-[2px]",children:l.name.toUpperCase()})]},"extra-".concat(e,"-").concat(l.name)))])]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("p",{className:"font-extraBold",id:"event-type-label",children:"EVENT TYPE"}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-5",role:"group","aria-labelledby":"event-type-label",children:[(0,a.jsxs)("button",{onClick:()=>{P([]),L([])},className:"flex cursor-pointer select-none items-center gap-2","aria-pressed":0===B.length,children:[(0,a.jsx)("div",{className:"rounded-t-full border-2 border-black p-2 ".concat(0===B.length?"bg-color-lightGreen":"")}),(0,a.jsx)("span",{className:"translate-y-[2px]",children:p("all").toUpperCase()})]}),N.map(e=>(0,a.jsxs)("button",{onClick:()=>O(e),className:"flex cursor-pointer select-none items-center gap-2","aria-pressed":B.includes(e),children:[(0,a.jsx)(d.default,{unoptimized:!0,className:"".concat(B.includes(e)?"filter-to-textBlue":""),src:"/icons/filter/".concat(e,".svg"),alt:"",width:16,height:16}),(0,a.jsx)("span",{className:"".concat(B.includes(e)?"text-color-textBlue":""," p translate-y-[2px]"),children:null==e?void 0:e.toUpperCase()})]},e))]})]})]})]}),(0,a.jsx)("div",{className:"flex flex-col gap-10",children:0===A.length?(0,a.jsx)("div",{className:"flex flex-col gap-5",children:(0,a.jsx)("p",{className:"h3",children:p("noEventsFound")})}):A.map(e=>{let{programme:l,events:t}=e;return(0,a.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,a.jsx)(x,{small:!0,date:l.date,backgroundColor:l.programmeColor,title:l.title,slug:l.slug,textColor:(null==l?void 0:l.textColor)||void 0}),(0,a.jsx)("div",{className:"flex flex-col gap-[5px] sm:grid sm:auto-rows-auto sm:grid-cols-[auto_auto_1fr_auto]",children:t.map(e=>{var l;return(0,a.jsx)(r.n,{soldOut:e.soldOut||!1,location:"object"==typeof e.location?(null===(l=e.location)||void 0===l?void 0:l.locationName)||"":e.location||"",startTime:e.startTime||"",endTime:e.endTime||"",showTimeAndLocation:e.showTimeAndLocation||!1,cancelled:e.cancelled||!1,types:e.type,image:e.image,smallDescription:e.smallDescription,slug:e.slug,highlightedEvent:e.highlightedEvent||!1},e.id)})})]},l.id)})})]})}},22809:(e,l,t)=>{"use strict";t.d(l,{ArtistsGrid:()=>S});var a=t(95155),s=t(66336),r=t(61822),o=t(90350),n=t.n(o),i=t(27043),c=t(66766),d=t(6874),u=t.n(d),m=t(12115),h=t(61614);let f=e=>{let{image:l,cancelled:t,soldOut:s,...o}=e;return(0,a.jsxs)("div",{...o,className:(0,r.Y)(e,"relative h-full w-full border-2 border-black"),children:[(0,a.jsx)(c.default,{loading:"lazy",className:"absolute left-0 top-0 h-full w-full object-cover",width:1e3,height:1e3,src:(0,h.$E)(l,"url"),alt:(0,h.$E)(l,"alt")}),t?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-0 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/cancelled-horizontal.svg",width:100,height:50,alt:"Cancelled"}):null,!t&&s?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-0 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/sold-out-horizontal.svg",width:100,height:50,alt:"Sold out"}):null]})},p=e=>{let{image:l,cancelled:t,soldOut:s,...o}=e;return(0,a.jsxs)("div",{...o,className:(0,r.Y)(e,"relative h-full w-full overflow-hidden rounded-3xl border-2 border-black"),children:[(0,a.jsx)(c.default,{loading:"lazy",className:"absolute left-0 top-0 h-full w-full object-cover",width:1e3,height:1e3,src:(0,h.$E)(l,"url"),alt:(0,h.$E)(l,"alt")}),t?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-0 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/cancelled-horizontal.svg",width:100,height:50,alt:"Cancelled"}):null,!t&&s?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-0 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/sold-out-horizontal.svg",width:100,height:50,alt:"Sold out"}):null]})},x=e=>{let{image:l,cancelled:t,soldOut:s,...o}=e;return(0,a.jsxs)("div",{...o,className:(0,r.Y)(e,"relative h-full w-full overflow-hidden rounded-full border-2 border-black"),children:[(0,a.jsx)(c.default,{loading:"lazy",className:"absolute left-0 top-0 h-full w-full object-cover",width:1e3,height:1e3,src:(0,h.$E)(l,"url"),alt:(0,h.$E)(l,"alt")}),t?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-5 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/cancelled-horizontal.svg",width:100,height:50,alt:"Cancelled"}):null,!t&&s?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-5 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/sold-out-horizontal.svg",width:100,height:50,alt:"Sold out"}):null]})},g=e=>{let{image:l,cancelled:t,soldOut:s,...o}=e;return(0,a.jsxs)("div",{...o,className:(0,r.Y)(e,"relative h-full w-full overflow-hidden rounded-t-full border-2 border-black"),children:[(0,a.jsx)(c.default,{loading:"lazy",className:"absolute left-0 top-0 h-full w-full object-cover",width:1e3,height:1e3,src:(0,h.$E)(l,"url"),alt:(0,h.$E)(l,"alt")}),t?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-0 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/cancelled-horizontal.svg",width:100,height:50,alt:"Cancelled"}):null,!t&&s?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-0 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/sold-out-horizontal.svg",width:100,height:50,alt:"Sold out"}):null]})},v=e=>{let{image:l,cancelled:t,soldOut:s,...o}=e;return(0,a.jsxs)("div",{...o,className:(0,r.Y)(e,"relative h-full w-full overflow-hidden rounded-b-full border-2 border-black"),children:[(0,a.jsx)(c.default,{loading:"lazy",className:"absolute left-0 top-0 h-full w-full object-cover",width:1e3,height:1e3,src:(0,h.$E)(l,"url"),alt:(0,h.$E)(l,"alt")}),t?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-5 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/cancelled-horizontal.svg",width:100,height:50,alt:"Cancelled"}):null,!t&&s?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-5 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/sold-out-horizontal.svg",width:100,height:50,alt:"Sold out"}):null]})},b=e=>{let{image:l,cancelled:t,soldOut:s,...o}=e;return(0,a.jsxs)("div",{...o,className:(0,r.Y)(e,"relative h-full w-full overflow-hidden"),children:[(0,a.jsx)(c.default,{loading:"lazy",className:"mask mask-4",width:1e3,height:1e3,src:(0,h.$E)(l,"url"),alt:(0,h.$E)(l,"alt")}),(0,a.jsx)(c.default,{unoptimized:!0,loading:"lazy",className:"mask-outline",width:1e3,height:1e3,src:"/components/gridBlock/masks/mask-bottom-outline.svg",alt:"Mask outline"}),t?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-5 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/cancelled-horizontal.svg",width:100,height:50,alt:"Cancelled"}):null,!t&&s?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-5 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/sold-out-horizontal.svg",width:100,height:50,alt:"Sold out"}):null]})},j=e=>{let{image:l,cancelled:t,soldOut:s,...o}=e;return(0,a.jsxs)("div",{...o,className:(0,r.Y)(e,"relative h-full w-full overflow-hidden"),children:[(0,a.jsx)(c.default,{loading:"lazy",className:"mask mask-3",width:1e3,height:1e3,src:(0,h.$E)(l,"url"),alt:(0,h.$E)(l,"alt")}),(0,a.jsx)(c.default,{unoptimized:!0,loading:"lazy",className:"mask-outline",width:1e3,height:1e3,src:"/components/gridBlock/masks/mask-top-bottom-outline.svg",alt:"Mask outline"}),t?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-5 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/cancelled-horizontal.svg",width:100,height:50,alt:"Cancelled"}):null,!t&&s?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-5 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/sold-out-horizontal.svg",width:100,height:50,alt:"Sold out"}):null]})},w=e=>{let{image:l,cancelled:t,soldOut:s,...o}=e;return(0,a.jsxs)("div",{...o,className:(0,r.Y)(e,"relative h-full w-full overflow-hidden"),children:[(0,a.jsx)(c.default,{loading:"lazy",className:"mask",width:1e3,height:1e3,src:(0,h.$E)(l,"url"),alt:(0,h.$E)(l,"alt")}),(0,a.jsx)(c.default,{unoptimized:!0,loading:"lazy",className:"mask-outline",width:1e3,height:1e3,src:"/components/gridBlock/masks/mask-outline.svg",alt:"Mask outline"}),t?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-10 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/cancelled-horizontal.svg",width:100,height:50,alt:"Cancelled"}):null,!t&&s?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-10 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/sold-out-horizontal.svg",width:100,height:50,alt:"Sold out"}):null]})},N=e=>{let{image:l,cancelled:t,soldOut:s,...o}=e;return(0,a.jsxs)("div",{...o,className:(0,r.Y)(e,"relative h-full w-full overflow-hidden"),children:[(0,a.jsx)(c.default,{loading:"lazy",className:"mask mask-2",width:1e3,height:1e3,src:(0,h.$E)(l,"url"),alt:(0,h.$E)(l,"alt")}),(0,a.jsx)(c.default,{unoptimized:!0,loading:"lazy",className:"mask-outline",width:1e3,height:1e3,src:"/components/gridBlock/masks/mask-rounded-top-outline.svg",alt:"Mask outline"}),t?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-5 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/cancelled-horizontal.svg",width:100,height:50,alt:"Cancelled"}):null,!t&&s?(0,a.jsx)(c.default,{unoptimized:!0,className:"absolute bottom-5 left-1/2 h-fit w-[50%] -translate-x-1/2 object-contain",src:"/global/sold-out-horizontal.svg",width:100,height:50,alt:"Sold out"}):null]})},k=e=>{switch(e.orientation){case"none":return(0,a.jsx)(f,{...e});case"shape-rounded":return(0,a.jsx)(p,{...e});case"shape-circle":return(0,a.jsx)(x,{...e});case"shape-flat-bottom":return(0,a.jsx)(g,{...e});case"shape-flat-top":return(0,a.jsx)(v,{...e});case"edges-bottom-square":return(0,a.jsx)(b,{...e});case"edges-top-and-bottom":return(0,a.jsx)(j,{...e});case"edges-circle-full":return(0,a.jsx)(w,{...e});case"edges-bottom-rounded-top":return(0,a.jsx)(N,{...e})}};var y=t(35695);let C=e=>{let l={};
1return e.forEach(e=>{let t=e.name.charAt(0).toUpperCase();l[t]||(l[t]=[]),l[t].push(e)}),l},S=e=>{let{artists:l,...t}=e,o=(0,y.useRouter)(),d=(0,y.useSearchParams)(),h=(0,i.useTranslations)("filters"),f=(0,i.useTranslations)("wcag"),p=[...new Set(l.flatMap(e=>e.events.flatMap(e=>e.type||[])))],x=[...new Set(l.flatMap(e=>e.events.map(e=>{var l;return null===(l=e.linkedProgramme)||void 0===l?void 0:l.date})).filter(Boolean))].sort((e,l)=>new Date(e).getTime()-new Date(l).getTime()),g=[...new Set(l.flatMap(e=>e.events.map(e=>{var l;return null===(l=e.linkedProgramme)||void 0===l?void 0:l.slug})).filter(Boolean))],v=[...new Set(l.flatMap(e=>e.events.map(e=>{var l;return null===(l=e.linkedProgramme)||void 0===l?void 0:l.extraFilterName})).filter(Boolean))],b={};l.forEach(e=>{e.events.forEach(e=>{let l=e.linkedProgramme;(null==l?void 0:l.date)&&(null==l?void 0:l.extraFilterName)&&(null==l?void 0:l.startTime)&&(b[l.date]||(b[l.date]=[]),b[l.date].some(e=>e.name===l.extraFilterName)||b[l.date].push({name:l.extraFilterName,startTime:l.startTime}))})}),Object.keys(b).forEach(e=>{b[e].sort((e,l)=>{let t=new Date(e.startTime),a=new Date(l.startTime);return 60*t.getHours()+t.getMinutes()-(60*a.getHours()+a.getMinutes())})});let[j,w]=(0,m.useState)(""),[N,S]=(0,m.useState)("grid"),[z,E]=(0,m.useState)(!1),[B,P]=(0,m.useState)(()=>{let e=d.get("types");if(!e)return[];let l=e.replace(/"/g,"").split(",").filter(Boolean),t=new Set(p);return l.filter(e=>t.has(e))}),T=e=>{let[l,t,a]=e.split("-");return new Date("".concat(a,"-").concat(t,"-").concat(l,"T12:00:00.000Z")).toISOString()},M=e=>{let l=new Date(e),t=l.getUTCDate().toString().padStart(2,"0"),a=(l.getUTCMonth()+1).toString().padStart(2,"0"),s=l.getUTCFullYear();return"".concat(t,"-").concat(a,"-").concat(s)},[F,U]=(0,m.useState)(()=>{let e=d.get("dates");return e?e.replace(/"/g,"").split(",").map(T).filter(e=>x.includes(e)):[]}),[Y]=(0,m.useState)(()=>{let e=d.get("programme");return e?e.replace(/"/g,"").split(",").filter(Boolean).filter(e=>g.includes(e)||g.includes("/".concat(e))):[]}),[D,L]=(0,m.useState)(()=>{let e=d.get("extraFilters");return e?e.replace(/"/g,"").split(",").filter(Boolean).filter(e=>v.includes(e)):[]}),$=e=>{let l=new URLSearchParams(d.toString());if(e.length>0){let t=e.map(M).join(",");l.set("dates",'"'.concat(t,'"'))}else l.delete("dates");o.push("?".concat(l.toString()))},I=e=>{let l=new URLSearchParams(d.toString());if(e.length>0){let t=e.join(",");l.set("types",'"'.concat(t,'"'))}else l.delete("types");o.push("?".concat(l.toString()))},A=e=>{let l=new URLSearchParams(d.toString());if(e.length>0){let t=e.join(",");l.set("extraFilters",'"'.concat(t,'"'))}else l.delete("extraFilters");o.push("?".concat(l.toString()))},R=e=>{let l=F.includes(e)?F.filter(l=>l!==e):[...F,e];U(l),$(l)},G=()=>{U([]),$([])},O=e=>{let l=B.includes(e)?B.filter(l=>l!==e):[...B,e];P(l),I(l)},V=e=>{let l=D.includes(e)?D.filter(l=>l!==e):[...D,e];L(l),A(l)},q=()=>{L([]),A([])},_=l.filter(e=>{let l=e.name.toLowerCase().includes(j.toLowerCase()),t=0===B.length||e.events.some(e=>{var l;return null===(l=e.type)||void 0===l?void 0:l.some(e=>B.includes(e))}),a=0===F.length||!!e.events.some(e=>{var l,t;return(null===(l=e.linkedProgramme)||void 0===l?void 0:l.date)&&F.includes(null===(t=e.linkedProgramme)||void 0===t?void 0:t.date)}),s=0===Y.length||!!e.events.some(e=>{var l;let t=null===(l=e.linkedProgramme)||void 0===l?void 0:l.slug;return t&&(Y.includes(t)||Y.includes(t.replace(/^\//,"")))}),r=0===D.length||!!e.events.some(e=>{var l;let t=null===(l=e.linkedProgramme)||void 0===l?void 0:l.extraFilterName;return t&&D.includes(t)}),o=!0;return o=F.length>0&&D.length>0?a||r:a&&r,l&&t&&s&&o});return(0,a.jsxs)("div",{...t,className:(0,r.Y)(e,"relative flex w-full flex-col gap-10"),children:[(0,a.jsxs)("div",{className:"flex flex-col gap-10",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-5 sm:flex-row sm:justify-between sm:gap-3",children:[(0,a.jsx)("div",{className:"w-full sm:max-w-[250px]",children:(0,a.jsx)(s.D,{placeholder:h("search").toUpperCase(),value:j,onChange:e=>w(e.target.value)})}),(0,a.jsxs)("div",{className:"flex items-center justify-between gap-5 sm:justify-normal",children:[(0,a.jsxs)("button",{onClick:()=>E(!z),className:"flex cursor-pointer select-none items-center gap-2","aria-expanded":z,"aria-controls":"filter-panel","aria-label":"".concat(f(z?"close":"open")," filters"),children:[(0,a.jsx)(c.default,{unoptimized:!0,src:"/icons/filter.svg",alt:"",width:24,height:24}),(0,a.jsx)("p",{className:"mt-[4px] leading-none",children:"FILTER"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",role:"group","aria-label":f("viewOptions"),children:[(0,a.jsx)("button",{onClick:()=>S("list"),className:"".concat("list"===N?"filter-to-textBlue":"cursor-pointer"),"aria-label":"List view","aria-pressed":"list"===N,children:(0,a.jsx)(c.default,{unoptimized:!0,src:"/icons/filter-a-z.svg",alt:"",width:24,height:24})}),(0,a.jsx)("button",{onClick:()=>S("grid"),className:"".concat("grid"===N?"filter-to-textBlue":"cursor-pointer"),"aria-label":"Grid view","aria-pressed":"grid"===N,children:(0,a.jsx)(c.default,{unoptimized:!0,src:"/icons/filter-grid.svg",alt:"",width:24,height:24})})]})]})]}),(0,a.jsxs)("div",{id:"filter-panel",className:"".concat(z?"flex w-full flex-col gap-5 rounded-t-lg border-2 border-black p-5 md:grid md:grid-cols-2":"hidden"),role:"region","aria-label":f("filterOptions"),children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("p",{className:"font-extraBold",id:"festival-days-label",children:"FESTIVA
1L DAYS"}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-5",role:"group","aria-labelledby":"festival-days-label",children:[(0,a.jsxs)("button",{onClick:()=>{G(),q()},className:"flex cursor-pointer select-none items-center gap-2","aria-pressed":0===F.length&&0===D.length,children:[(0,a.jsx)("div",{className:"rounded-t-full border-2 border-black p-2 ".concat(0===F.length&&0===D.length?"bg-color-lightGreen":"")}),(0,a.jsx)("p",{className:"translate-y-[2px]",children:h("all").toUpperCase()})]}),x.flatMap(e=>[(0,a.jsxs)("button",{onClick:()=>R(e),className:"flex cursor-pointer select-none items-center gap-2","aria-pressed":F.includes(e),children:[(0,a.jsx)("div",{className:"rounded-t-full border-2 border-black p-2 ".concat(F.includes(e)?"bg-color-lightGreen":"")}),(0,a.jsx)("p",{className:"translate-y-[2px]",children:n()(e).tz("Europe/Amsterdam").format("ddd D MMM").toUpperCase().replace(/\./g,"")})]},e),...(b[e]||[]).map(l=>(0,a.jsxs)("button",{onClick:()=>V(l.name),className:"flex cursor-pointer select-none items-center gap-2","aria-pressed":D.includes(l.name),children:[(0,a.jsx)("div",{className:"rounded-t-full border-2 border-black p-2 ".concat(D.includes(l.name)?"bg-color-lightGreen":"")}),(0,a.jsx)("p",{className:"translate-y-[2px]",children:l.name.toUpperCase()})]},"extra-".concat(e,"-").concat(l.name)))])]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("p",{className:"font-extraBold",id:"event-type-label",children:"EVENT TYPE"}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-5",role:"group","aria-labelledby":"event-type-label",children:[(0,a.jsxs)("button",{onClick:()=>{P([]),I([])},className:"flex cursor-pointer select-none items-center gap-2","aria-pressed":0===B.length,children:[(0,a.jsx)("div",{className:"rounded-t-full border-2 border-black p-2 ".concat(0===B.length?"bg-color-lightGreen":"")}),(0,a.jsx)("p",{className:"translate-y-[2px]",children:h("all").toUpperCase()})]}),p.map(e=>(0,a.jsxs)("button",{onClick:()=>O(e),className:"flex cursor-pointer select-none items-center gap-2","aria-pressed":B.includes(e),children:[(0,a.jsx)(c.default,{unoptimized:!0,className:"".concat(B.includes(e)?"filter-to-textBlue":""),src:"/icons/filter/".concat(e,".svg"),alt:"",width:16,height:16}),(0,a.jsx)("p",{className:"".concat(B.includes(e)?"text-color-textBlue":""," translate-y-[2px]"),children:null==e?void 0:e.toUpperCase()})]},e))]})]})]})]}),0===_.length&&(0,a.jsx)("div",{className:"flex flex-col gap-5",children:(0,a.jsx)("p",{className:"h3",children:h("noArtistsFound")})}),"list"===N&&(0,a.jsx)("div",{className:"grid gap-10 sm:grid-cols-2",children:Object.entries(C(_)).sort((e,l)=>{let[t]=e,[a]=l;return t.localeCompare(a)}).map(e=>{let[l,t]=e;return(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"h2 mb-2 font-extraBold",children:l}),(0,a.jsx)("ul",{className:"flex flex-col gap-2",children:t.map(e=>{var l;if(!(null===(l=e.events)||void 0===l?void 0:l.length))return(0,a.jsx)("li",{className:"h4 !font-regular",children:e.name},e.id);if(e.events.length>1)return(0,a.jsx)(u(),{href:'/all-events?search="'.concat(encodeURIComponent(e.name),'"'),children:(0,a.jsx)("li",{className:"h4 !font-regular",children:e.name})},e.id);let t=e.events[0];return(0,a.jsx)(u(),{href:t?"/events/".concat(t.slug):"",children:(0,a.jsx)("li",{className:"h4 !font-regular",children:e.name})},e.id)})})]},l)})}),"grid"===N&&(0,a.jsx)("div",{className:"grid grid-cols-2 gap-5 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5",children:_.sort((e,l)=>e.name.localeCompare(l.name)).map(e=>{var l,t,s,r;if(!(null===(l=e.events)||void 0===l?void 0:l.length))return(0,a.jsxs)("div",{className:"relative flex h-full w-full flex-col items-center gap-3 text-center",children:[(0,a.jsx)("div",{className:"relative aspect-square h-fit w-full",children:(0,a.jsx)(k,{image:null===(t=e.artistImage)||void 0===t?void 0:t.image,orientation:e.orientation})}),(0,a.jsx)("p",{className:"h4 !font-regular",children:e.name})]},e.id);if(e.events.length>1){let l=e.events.every(e=>e.soldOut),t=e.events.every(e=>e.cancelled);return(0,a.jsx)(u(),{href:'/all-events?search="'.concat(encodeURIComponent(e.name),'"'),children:(0,a.jsxs)("div",{className:"relative flex h-full w-full flex-col items-center gap-3 text-center",children:[(0,a.jsx)("div",{className:"relative aspect-square h-fit w-full",children:(0,a.jsx)(k,{image:null===(r=e.artistImage)||void 0===r?void 0:r.image,cancelled:(null==e?void 0:e.cancelled)||t,soldOut:l,orientation:e.orientation})}),(0,a.jsx)("p",{className:"h4 !font-regular",children:e.name})]})},e.id)}let o=e.events[0];return(0,a.jsx)(u(),{href:o?"/events/".concat(o.slug):"",children:(0,a.jsxs)("div",{className:"relative flex h-full w-full flex-col items-center gap-3 text-center",children:[(0,a.jsx)("div",{className:"relative aspect-square h-fit w-full",children:(0,a.jsx)(k,{image:null===(s=e.artistImage)||void 0===s?void 0:s.image,cancelled:(null==e?void 0:e.cancelled)||(null==o?void 0:o.cancelled)||!1,soldOut:(null==o?void 0:o.soldOut)||!1,orientation:e.orientation})}),(0,a.jsx)("p",{className:"h4 !font-regular",children:e.name})]})},e.id)})})]})}},24991:(e,l,t)=>{"use strict";t.d(l,{GridSliderDefault:()=>u});var a=t(95155),s=t(61614),r=t(61822),o=t(27043),n=t(66766),i=t(6874),c=t.n(i),d=t(12115);let u=e=>{let{sliderItems:l,size:t,fontSize:i,...u}=e,[m,h]=(0,d.useState)(0);(0,d.useEffect)(()=>{let e=setInterval(()=>{h(e=>(e+1)%l.length)},5e3);return()=>clearInterval(e)},[l]);let f=(0,o.useTranslations)("blocks.gridBlock"),p=(e,l)=>(0,a.jsxs)("div",{className:"".concat(l===m?"opacity-100":"pointer-events-none opacity-0"," absolute left-0 top-0 h-full w-full transition-opacity duration-500"),children:[(0,a.jsx)(n.default,{loading:"lazy",className:"absolute left-0 top-0 h-full w-full object-cover",src:(0,s.$E)(e.image,"url"),alt:(0,s.$E)(e.image,"alt"),width:1e3,height:1e3}),(0,a.jsx)("div",{className:"absolute bottom-0 left-[50%] w-full max-w-[70%] translate-x-[-50%] p-2 text-center xl:p-4",children:e.artistName&&(0,a.jsx)("p",{className:"h4 !font-expanded font-size-".concat(i||"large"," ").concat("black"===e.textColor?"text-black":"text-white"),children:e.artistName.toUpperCase()})}),e.credits&&(0,a.jsxs)("p",{className:"absolute ".concat("item22"===t?"bottom-3 left-5 2xl:!text-[11px]":"bottom-2 left-2 2xl:!text-[11px]"," origin-bottom-left ").concat("black"===e.textColor?"text-black":"text-white"),style:{transform:"rotate(90deg) translateX(-100%)",fontSize:"clamp(6px, 1.5vw, 8px)"},children:[f("photographyBy")," ",e.credits]})]});return(0,a.jsx)("div",{...u,className:(0,r.Y)(e,"".concat(t," relative border-2 border-black")),children:l.map((e,l)=>(0,a.jsx)("div",{className:"",children:e.link?(0,a.jsx)(c(),{href:e.link,className:"cursor-pointer",target:e.link.includes("http")?"_blank":"_self",children:p(e,l)}):p(e,l)},l))})}},25142:(e,l,t)=>{"use strict";t.d(l,{Z:()=>r});var a=t(95155),s=t(61822);t(12115);let r=e=>{let{children:l,...t}=e;return(0,a.jsxs)("div",{className:"relative mb-[15px] w-full",children:[(0,a.jsx)("div",{className:"absolute right-0 top-0 h-full w-[calc(100%-15px)] border-2 border-black bg-color-grey"}),(0,a.jsx)("div",{...t,className:(0,s.Y)(e,"relative w-[calc(100%-15px)] translate-y-[15px] border-2 border-black bg-white p-5"),children:l})]})}},30219:(e,l,t)=>{"use strict";t.d(l,{GridSlider:()=>g});var a=t(95155),s=t(61822),r=t(27043),o=t(6874),n=t.n(o),i=t(12115),c=t(61614),d=t(66766);let u=new Set(["shape-circle","shape-flat-bottom","shape-in-shape-rectangle","shape-in-shape-double-circle","edges-bottom-square","edges-top-and-bottom"]),m=e=>!e||"none"===e||u.has(e)?"legacy":e,h=e=>{let l=m(e);return l.startsWith("edges-")||l.startsWith("shape-in-shape-")?"":"border-2 border-black"},f=e=>{switch(m(e)){case"legacy":default:return"";case"shape-rounded":return"overflow-hidden rounded-3xl";case"shape-flat-top":return"overflow-hidden rounded-b-full";case"shape-in-shape-circle":case"shape-in-shape-flat-bottom":case"edges-circle-full":case"edges-bottom-rounded-top":return"overflow-hidden"}},p=(e,l,t)=>{let a="black"===t?"text-black":"text-white",s="item22"===l?"2xl:!text-[11px]":"",r={fontSize:"clamp(6px, 1.5vw, 8px)"};switch(m(e)){case"legacy":return{artistNameClassName:"absolute bottom-0 left-[50%] w-full max-w-[80%] translate-x-[-50%] p-2 text-center xl:p-4 ".concat(a),creditsClassName:"absolute ".concat("item22"===l?"bottom-3 right-[11%]":"bottom-2 right-[14%]"," origin-bottom-right ").concat(s," ").concat(a),creditsStyle:{...r,transform:"rotate(90deg)"},navigationClassName:"absolute right-2 top-2 z-10 flex w-[40%] items-center justify-end gap-1"};case"shape-rounded":return{artistNameClassName:"absolute bottom-0 left-[50%] w-full max-w-[80%] translate-x-[-50%] p-2 text-center xl:p-4 ".concat(a),creditsClassName:"absolute bottom-[50%] right-5 origin-bottom-right ".concat(s," ").concat(a),creditsStyle:{...r,transform:"rotate(90deg) translateX(50%)"},navigationClassName:"absolute right-2 top-2 z-10 flex w-[40%] items-center justify-end gap-1"};case"shape-flat-top":return{artistNameClassName:"absolute bottom-3 left-[50%] w-full max-w-[70%] translate-x-[-50%] p-2 text-center xl:p-4 ".concat(a),creditsClassName:"absolute right-[3%] top-[3%] origin-top-right ".concat(s," ").concat(a),creditsStyle:{...r,transform:"rotate(90deg) translateX(100%)"},navigationClassName:"absolute left-2 top-2 z-10 flex w-[40%] items-center justify-start gap-1"};case"shape-in-shape-circle":return{artistNameClassName:"absolute bottom-[8%] left-[50%] w-full max-w-[60%] translate-x-[-50%] p-2 text-center xl:p-4 ".concat(a),creditsClassName:"absolute bottom-[50%] left-[8%] origin-bottom-left ".concat(s," ").concat(a),creditsStyle:{...r,transform:"rotate(90deg) translateX(-50%)"},navigationClassName:"absolute right-2 top-2 z-10 flex w-[40%] items-center justify-end gap-1"};case"shape-in-shape-flat-bottom":return{artistNameClassName:"absolute bottom-0 left-[50%] w-full max-w-[70%] translate-x-[-50%] p-2 text-center xl:p-4 ".concat(a),creditsClassName:"absolute bottom-[3%] left-[3%] origin-bottom-left ".concat(s," ").concat(a),creditsStyle:{...r,transform:"rotate(90deg) translateX(-100%)"},navigationClassName:"absolute right-2 top-2 z-10 flex w-[40%] items-center justify-end gap-1"};case"edges-circle-full":return{artistNameClassName:"absolute bottom-[22%] left-[50%] w-full max-w-[50%] translate-x-[-50%] p-2 text-center xl:p-4 ".concat(a),creditsClassName:"hidden",creditsStyle:r,navigationClassName:"absolute right-2 top-2 z-10 flex w-[40%] items-center justify-end gap-1"};case"edges-bottom-rounded-top":return{artistNameClassName:"absolute bottom-3 left-[50%] w-full max-w-[90%] translate-x-[-50%] p-2 text-center xl:p-4 ".concat(a),creditsClassName:"absolute bottom-[9%] left-[3%] origin-bottom-left ".concat(s," ").concat(a),creditsStyle:{...r,transform:"rotate(90deg) translateX(-100%)"},navigationClassName:"absolute right-2 top-2 z-10 flex w-[40%] items-center justify-end gap-1"};default:return{artistNameClassName:"absolute bottom-0 left-[50%] w-full max-w-[80%] translate-x-[-50%] p-2 text-center xl:p-4 ".concat(a),creditsClassName:"absolute bottom-2 right-[14%] origin-bottom-right ".concat(s," ").concat(a),creditsStyle:{...r,transform:"rotate(90deg)"},navigationClassName:"absolute right-2 top-2 z-10 flex w-[40%] items-center justify-end gap-1"}}},x=e=>
1{let{orientation:l,image:t,shapeBackgroundColor:s}=e,r=(0,c.$E)(t,"url"),o=(0,c.$E)(t,"alt");switch(m(l)){case"legacy":default:return(0,a.jsx)(d.default,{loading:"lazy",className:"absolute bottom-[-2px] left-[50%] h-[90%] w-[90%] translate-x-[-50%] rounded-t-full border-2 border-black object-cover",src:r,alt:o,width:1e3,height:1e3});case"shape-rounded":case"shape-flat-top":return(0,a.jsx)(d.default,{loading:"lazy",className:"absolute left-0 top-0 h-full w-full object-cover",src:r,alt:o,width:1e3,height:1e3});case"shape-in-shape-circle":return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute left-0 top-0 h-full w-full border-2 border-black",style:{backgroundColor:s||""}}),(0,a.jsx)("div",{className:"absolute left-[50%] top-[50%] aspect-square w-[90%] translate-x-[-50%] translate-y-[-50%] overflow-hidden rounded-full border-2 border-black",children:(0,a.jsx)(d.default,{loading:"lazy",className:"absolute left-0 top-0 h-full w-full object-cover",src:r,alt:o,width:1e3,height:1e3})})]});case"shape-in-shape-flat-bottom":return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute left-0 top-0 h-full w-full border-2 border-black",style:{backgroundColor:s||""}}),(0,a.jsx)("div",{className:"absolute bottom-0 left-[50%] h-[90%] w-[80%] translate-x-[-50%] overflow-hidden rounded-t-full border-2 border-black",children:(0,a.jsx)(d.default,{loading:"lazy",className:"absolute left-0 top-0 h-full w-full object-cover",src:r,alt:o,width:1e3,height:1e3})})]});case"edges-circle-full":return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.default,{loading:"lazy",className:"mask",src:r,alt:o,width:1e3,height:1e3}),(0,a.jsx)(d.default,{loading:"lazy",className:"mask-outline",src:"/components/gridBlock/masks/mask-outline.svg",alt:"Mask outline",width:1e3,height:1e3})]});case"edges-bottom-rounded-top":return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.default,{loading:"lazy",className:"mask mask-2",src:r,alt:o,width:1e3,height:1e3}),(0,a.jsx)(d.default,{loading:"lazy",className:"mask-outline",src:"/components/gridBlock/masks/mask-rounded-top-outline.svg",alt:"Mask outline",width:1e3,height:1e3})]})}},g=e=>{let{sliderItems:l,size:t,backgroundColor:o,sliderNavigation:c,orientation:d,shapeBackgroundColor:u,...m}=e,[g,v]=(0,i.useState)(0);(0,i.useEffect)(()=>{let e=setInterval(()=>{v(e=>(e+1)%l.length)},5e3);return()=>clearInterval(e)},[l]);let b=(0,r.useTranslations)("blocks.gridBlock"),j=l[g],{navigationClassName:w}=p(d,t,(null==j?void 0:j.textColor)||"white"),N=(e,l)=>{let{artistNameClassName:s,creditsClassName:r,creditsStyle:n}=p(d,t,e.textColor||"white");return(0,a.jsxs)("div",{className:"".concat(l===g?"opacity-100":"pointer-events-none opacity-0"," absolute left-0 top-0 h-full w-full transition-opacity duration-500"),children:[(0,a.jsx)(x,{orientation:d,image:e.image,shapeBackgroundColor:u||o}),e.artistName&&(0,a.jsx)("div",{className:s,children:(0,a.jsx)("p",{className:"h4 !font-expanded",children:e.artistName.toUpperCase()})}),e.credits&&(0,a.jsxs)("p",{className:r,style:n,children:[b("photographyBy")," ",e.credits]})]})};return(0,a.jsxs)("div",{...m,style:{backgroundColor:o||""},className:(0,s.Y)(e,"".concat(t," relative ").concat(h(d)," ").concat(f(d))),children:[(0,a.jsx)("div",{className:w,children:l.map((e,t)=>(0,a.jsx)("button",{type:"button","aria-label":"Slide ".concat(t+1),onClick:()=>v(t),className:"aspect-square max-w-[20px] rounded-t-full border-2 border-black",style:{width:"".concat(100/l.length,"%"),backgroundColor:t===g?c.activeColor:c.backgroundColor}},t))}),l.map((e,l)=>(0,a.jsx)("div",{children:e.link?(0,a.jsx)(n(),{href:e.link,className:"cursor-pointer",target:e.link.includes("http")?"_blank":"_self",children:N(e,l)}):N(e,l)},l))]})}},31875:(e,l,t)=>{"use strict";t.d(l,{FaqCard:()=>i});var a=t(95155),s=t(5191),r=t(61822),o=t(67596),n=t(12115);let i=e=>{let{question:l,answer:t,textColor:i,...c}
1=e,[d,u]=(0,n.useState)(!1);return(0,a.jsx)("div",{...c,className:(0,r.Y)(e,""),children:(0,a.jsxs)("div",{style:{color:i||""},className:"py-2",children:[(0,a.jsxs)("button",{onClick:()=>u(!d),className:"flex w-full cursor-pointer select-none items-center justify-between py-2","aria-expanded":d,"aria-controls":"answer-".concat(l.toLowerCase().replace(/\s+/g,"-")),children:[(0,a.jsx)("p",{className:"h4 !font-regular",children:l}),(0,a.jsx)("img",{src:"/icons/arrow-bottom-right-black.svg",alt:"","aria-hidden":"true",className:"h-6 w-6 transition-transform ".concat(d?"rotate-180":"")})]}),(0,a.jsx)(o.P.div,{initial:!1,animate:{height:d?"auto":0},className:"overflow-hidden",id:"answer-".concat(l.toLowerCase().replace(/\s+/g,"-")),role:"region","aria-labelledby":"question-".concat(l.toLowerCase().replace(/\s+/g,"-")),children:(0,a.jsx)("div",{className:"py-2",children:(0,a.jsx)(s.H,{content:t})})})]})})}},40243:(e,l,t)=>{"use strict";t.d(l,{StoryList:()=>m});var a=t(95155),s=t(15492),r=t(66336),o=t(66766),n=t(6874),i=t.n(n),c=t(27043),d=t(12115);let u=e=>{var l,t,r;let{story:n}=e,d=(0,c.useTranslations)(),u=(0,c.useLocale)(),m=null==n?void 0:n.writer,h=((null==n?void 0:n.translators)||[]).filter(e=>"object"==typeof e),f=m&&!(null===(l=m.name)||void 0===l?void 0:l.toLowerCase().includes("unknown")),p=(null==h?void 0:h.filter(e=>(null==e?void 0:e.name)&&!e.name.toLowerCase().includes("unknown")))||[],x="/".concat(u,"/chronicles-story/").concat(null==n?void 0:n.slug);return(0,a.jsx)(i(),{href:x,className:"group",children:(0,a.jsxs)("div",{className:"relative h-full border-2 border-black p-5",children:[(0,a.jsxs)("div",{className:"relative z-10 flex h-full flex-col justify-between gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[f&&(0,a.jsxs)("p",{children:[null==m?void 0:m.name," ",(null==m?void 0:m.country)?"(".concat(m.country.toUpperCase(),")"):""]}),p.map(e=>(0,a.jsxs)("p",{children:[null==e?void 0:e.name," ",(null==e?void 0:e.country)?"(".concat(e.country.toUpperCase(),")"):""]},null==e?void 0:e.id))]}),(0,a.jsx)("p",{className:"h3 font-extraBold",children:null==n?void 0:n.title}),(0,a.jsx)("p",{className:"",children:(null==n?void 0:null===(t=n.shortDescription)||void 0===t?void 0:t.length)>200?n.shortDescription.substring(0,197)+"...":null==n?void 0:n.shortDescription})]}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(s.Button,{variant:"unstyled",children:null===(r=d("buttons.readMore",{defaultValue:"Read more"}))||void 0===r?void 0:r.toUpperCase()})})]}),(0,a.jsx)(o.default,{unoptimized:!0,src:"/components/chronicles/background-".concat((null==n?void 0:n.backgroundImage)||1,".jpg"),alt:"Background",fill:!0,className:"absolute left-0 top-0 object-cover"})]})})},m=e=>{let{stories:l,searchPlaceholder:t,title:s}=e,[o,n]=(0,d.useState)(""),i=(0,c.useTranslations)(),m=(0,d.useMemo)(()=>{if(!o.trim())return l;let e=o.toLowerCase();return null==l?void 0:l.filter(l=>{var t,a;let s=null==l?void 0:l.writer,r=((null==l?void 0:l.translators)||[]).filter(e=>"object"==typeof e),o=null==l?void 0:null===(t=l.title)||void 0===t?void 0:t.toLowerCase().includes(e),n=null==s?void 0:null===(a=s.name)||void 0===a?void 0:a.toLowerCase().includes(e),i=null==r?void 0:r.some(l=>{var t;return null==l?void 0:null===(t=l.name)||void 0===t?void 0:t.toLowerCase().includes(e)});return o||n||i})},[l,o]);return(0,a.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,a.jsxs)("div",{className:"flex flex-col items-start justify-between gap-4 md:flex-row md:items-center",children:[s&&(0,a.jsx)("h1",{className:"h2",children:s}),(0,a.jsx)("div",{className:"w-full md:w-auto md:min-w-[300px]",children:(0,a.jsx)(r.D,{type:"text",value:o,onChange:e=>n(e.target.value),placeholder:t||"Search stories..."})})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 gap-2 md:grid-cols-3 lg:grid-cols-4",children:(null==m?void 0:m.length)===0?(0,a.jsx)("p",{className:"col-span-full py-8 text-center text-gray-500",children:i("chronicles.noStoriesFound")||"No stories found matching your search."}):null==m?void 0:m.map(e=>(0,a.jsx)(u,{story:e},null==e?void 0:e.id))})]})}},57746:(e,l,t)=>{"use strict";t.d(l,{FestivalEditionsGrid:()=>m});var a=t(95155),s=t(66336),r=t(61614),o=t(61822),n=t(27043),i=t(66766),c=t(6874),d=t.n(c),u=t(12115);let m=e=>{let{festivalEditions:l,title:t,...c}=e,m=(0,n.useTranslations)("filters"),[h,f]=(0,u.useState)(""),p=null==l?void 0:l.filter(e=>{var l;let t=e.title.toLowerCase().includes(h.toLowerCase()),a=null===(l=e.days)||void 0===l?void 0:l.some(e=>!!e.date&&new Date(e.date).getFullYear().toString().includes(h));return t||a});return(0,a.jsxs)("div",{...c,className:(0,o.Y)(e,"flex flex-col gap-10"),children:[(0,a.jsxs)("div",{className:"flex flex-col items-center gap-5 sm:flex-row sm:justify-between",children:[(0,a.jsx)("p",{className:"h1",children:t}),(0,a.jsx)("div",{className:"w-full sm:max-w-[250px]",children:(0,a.jsx)(s.D,{placeholder:m("search").toUpperCase(),value:h,onChange:e=>f(e.target.value)})})]}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-10 sm:grid-cols-3 lg:grid-cols-5",children:null==p?void 0:p.map(e=>{var l;let t=[...new Set(null===(l=e.days)||void 0===l?void 0:l.filter(e=>!!e.date).map(e=>new Date(e.date).getFullYear()))].sort((e,l)=>e-l),s=t.length?"".concat(t[0]).concat(t.length>1?" - ".concat(t[t.length-1]):""):"";return(0,a.jsx)(d(),{href:"/festival-editions/".concat(e.slug),className:"flex flex-col items-center justify-center gap-5",children:(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center gap-5",children:[(0,a.jsx)(i.default,{className:"aspect-[204/281] w-full border-2 border-black object-cover",src:(0,r.$E)(e.posterImage,"url"),alt:(0,r.$E)(e.posterImage,"alt"),width:500,height:500}),(0,a.jsx)("p",{className:"font-extraBold",children:s})]})},e.id)})})]})}},59094:(e,l,t)=>{Promise.resolve().then(t.bind(t,45626)),Promise.resolve().then(t.bind(t,48882)),Promise.resolve().then(t.t.bind(t,6874,23)),Promise.resolve().then(t.t.bind(t,33063,23)),Promise.resolve().then(t.bind(t,20165)),Promise.resolve().then(t.bind(t,22809)),Promise.resolve().then(t.bind(t,18111)),Promise.resolve().then(t.bind(t,47976)),Promise.resolve().then(t.bind(t,83958)),Promise.resolve().then(t.bind(t,92241)),Promise.resolve().then(t.bind(t,40243)),Promise.resolve().then(t.bind(t,31875)),Promise.resolve().then(t.bind(t,57746)),Promise.resolve().then(t.bind(t,71229)),Promise.resolve().then(t.bind(t,30219)),Promise.resolve().then(t.bind(t,24991)),Promise.resolve().then(t.bind(t,15492))},71229:(e,l,t)=>{"use strict";
1t.d(l,{FestivalEditionsBlockSlider:()=>m});var a=t(95155),s=t(61614),r=t(61822),o=t(66766),n=t(6874),i=t.n(n),c=t(12115);t(2252);var d=t(27677),u=t(38486);let m=e=>{let{festivalEditions:l,...t}=e,n=(0,c.useRef)(null);return(0,a.jsx)("div",{...t,className:(0,r.Y)(e,""),children:(0,a.jsx)(d.RC,{ref:n,modules:[u.Ij],spaceBetween:20,loop:!0,breakpoints:{0:{slidesPerView:2.5},768:{slidesPerView:5,centeredSlides:!1,centeredSlidesBounds:!1}},autoplay:{delay:5e3,disableOnInteraction:!0},slidesPerView:2.5,centeredSlides:!0,centeredSlidesBounds:!0,children:null==l?void 0:l.map(e=>{var l;if("string"==typeof e)return null;let t=[...new Set(null===(l=e.days)||void 0===l?void 0:l.filter(e=>!!e.date).map(e=>new Date(e.date).getFullYear()))].sort((e,l)=>e-l),r=t.length?"".concat(t[0]).concat(t.length>1?" - ".concat(t[t.length-1]):""):"";return(0,a.jsx)(d.qr,{children:(0,a.jsx)(i(),{href:"/festival-editions/".concat(e.slug),children:(0,a.jsxs)("div",{className:"flex h-full flex-col items-center justify-between gap-5",children:[(0,a.jsx)(o.default,{className:"w-full border-2 border-black object-contain",src:(0,s.$E)(e.posterImage,"url"),alt:(0,s.$E)(e.posterImage,"alt"),width:500,height:500}),(0,a.jsx)("p",{className:"font-extraBold",children:r})]})})},e.id)})})})}},83958:(e,l,t)=>{"use strict";t.d(l,{CardBlock:()=>u});var a=t(95155),s=t(61614),r=t(61822),o=t(12115),n=t(25142),i=t(5191),c=t(15492),d=t(27043);let u=e=>{let{scrollToId:l,smallContent:t,content:u,image:m,subTitle:h,title:f,...p}=e,x=(0,d.useTranslations)("blocks.cardBlock"),[g,v]=(0,o.useState)(!1);return(0,a.jsxs)("section",{...p,className:(0,r.Y)(e,"relative px-5"),children:[(0,a.jsx)("div",{id:l||"",className:"absolute top-[-102px]"}),(0,a.jsxs)("div",{className:"mx-auto flex w-full max-w-page flex-col gap-5",children:[(0,a.jsx)("p",{className:"h3",children:h}),(0,a.jsxs)(n.Z,{className:"flex flex-col gap-5 !p-0 md:grid md:grid-cols-[0.3fr_0.7fr] md:gap-20",children:[(0,a.jsx)("div",{className:"relative aspect-square h-full w-full md:aspect-auto",children:(0,a.jsx)("img",{className:"absolute w-full object-cover ".concat(g?"left-5 top-5 aspect-square h-auto max-h-[100%] w-[calc(100%-40px)] border-2 border-black md:w-full":"h-full"),src:(0,s.$E)(m,"url"),alt:(0,s.$E)(m,"alt")})}),(0,a.jsxs)("div",{className:"flex flex-col justify-between gap-5 p-5",children:[(0,a.jsx)("p",{className:"h3",children:f}),!g&&(0,a.jsx)("div",{className:"flex flex-col",children:(0,a.jsx)("p",{className:"!font-regular text-lg md:text-xl",children:t})}),g&&(0,a.jsx)("div",{className:"flex flex-col",children:(0,a.jsx)(i.H,{content:u})}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(c.Button,{active:g,variant:"unstyled",onClick:()=>v(!g),children:x(g?"readLess":"readMore")})})]})]})]})]})}},92241:(e,l,t)=>{"use strict";t.d(l,{YearSlider:()=>i});var a=t(95155),s=t(66766),r=t(6874),o=t.n(r),n=t(12115);let i=e=>{let{years:l,activeYear:t,locale:r,basePath:i}=e,c=(0,n.useRef)(null),d=i||"/".concat(r,"/chronicles"),u=e=>{c.current&&c.current.scrollBy({left:"left"===e?-200:200,behavior:"smooth"})};return l&&0!==l.length?(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("button",{onClick:()=>u("left"),className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full bg-black transition-opacity hover:opacity-80","aria-label":"Scroll left",children:(0,a.jsx)(s.default,{unoptimized:!0,src:"/icons/arrow-right.svg",alt:"Previous",width:16,height:16,className:"rotate-180 invert"})}),(0,a.jsx)("div",{ref:c,className:"noScrollBar flex flex-1 gap-2 overflow-x-auto",children:l.map(e=>{let{year:l}=e,s=l===t;return(0,a.jsx)(o(),{href:"".concat(d,"/").concat(l),className:"relative flex h-[40px] flex-shrink-0 items-center rounded-full border-2 border-black px-4 py-1 transition-all duration-100 ".concat(s?"bg-color-neonGreen text-black":"border-transparent bg-color-darkGreen text-black"),children:(0,a.jsxs)("span",{className:"text-md mb-[-2px] font-extraBold leading-none",children:[" ",l]})},l)})}),(0,a.jsx)("button",{onClick:()=>u("right"),className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full bg-black transition-opacity hover:opacity-80","aria-label":"Scroll right",children:(0,a.jsx)(s.default,{unoptimized:!0,src:"/icons/arrow-right.svg",alt:"Next",width:16,height:16,className:"invert"})})]}):null}}}]);
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.