1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[202],{983:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});let r=e=>{localStorage.getItem("backgroundColor")&&localStorage.getItem("uiColor")&&localStorage.getItem("foregroundColor")&&localStorage.getItem("differenceColor")?(document.documentElement.style.setProperty("--color-homepage-background",localStorage.getItem("backgroundColor")),document.documentElement.style.setProperty("--color-homepage-ui",localStorage.getItem("uiColor")),document.documentElement.style.setProperty("--color-homepage-foreground",localStorage.getItem("foregroundColor")),document.documentElement.style.setProperty("--color-homepage-difference",localStorage.getItem("differenceColor"))):(document.documentElement.style.setProperty("--color-homepage-background",getComputedStyle(document.documentElement).getPropertyValue("--color-homepage-background-template")),document.documentElement.style.setProperty("--color-homepage-ui",getComputedStyle(document.documentElement).getPropertyValue("--color-homepage-ui-template")),document.documentElement.style.setProperty("--color-homepage-foreground",getComputedStyle(document.documentElement).getPropertyValue("--color-homepage-foreground-template")),document.documentElement.style.setProperty("--color-homepage-difference",getComputedStyle(document.documentElement).getPropertyValue("--color-homepage-difference-template")),localStorage.setItem("backgroundColor",getComputedStyle(document.documentElement).getPropertyValue("--color-homepage-background-template")),localStorage.setItem("uiColor",getComputedStyle(document.documentElement).getPropertyValue("--color-homepage-ui-template")),localStorage.setItem("foregroundColor",getComputedStyle(document.documentElement).getPropertyValue("--color-homepage-foreground-template")),localStorage.setItem("differenceColor",getComputedStyle(document.documentElement).getPropertyValue("--color-homepage-difference-template")))}},1150:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let r=n(5155),o=n(2115),a=n(4437);function s(e){return{default:e&&"default"in e?e.default:e}}n(6552);let l={loader:()=>Promise.resolve(s(()=>null)),loading:null,ssr:!0},c=function(e){let t={...l,...e},n=(0,o.lazy)(()=>t.loader().then(s)),c=t.loading;function i(e){let s=c?(0,r.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,i=l?o.Suspense:o.Fragment,d=t.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(i,{...l?{fallback:s}:{},children:d})}return i.displayName="LoadableComponent",i}},1783:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(2115);let o=()=>{let{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}};function a(){let[e,t]=(0,r.useState)(0);return(0,r.useEffect)(()=>{t(o());let e=()=>{t(o())};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}},2413:e=>{e.exports={logo:"Logo_logo__vWAjy","on-events-page":"Logo_on-events-page__Du8ZL",logo__item:"Logo_logo__item__zCSZo","logo__item__proxy-wrapper":"Logo_logo__item__proxy-wrapper__O6R1s",logo__item__proxy:"Logo_logo__item__proxy__ZM3g_",translateY1:"Logo_translateY1__PwyXG",translateY2:"Logo_translateY2__OZGUs",translateY4:"Logo_translateY4__aG2vR",translateY5:"Logo_translateY5__aa_7S"}},2943:e=>{e.exports={"events-categories":"EventsCategories_events-categories__EFrOl",selected:"EventsCategories_selected__LvgVx","bottom-row":"EventsCategories_bottom-row__6o_eN"}},3385:(e,t,n)=>{Promise.resolve().then(n.bind(n,5205))},3444:e=>{e.exports={"different-el":"DifferentEl_different-el__N6HFd","content-wrapper":"DifferentEl_content-wrapper__bKrub",top:"DifferentEl_top__jSjTx",bottom:"DifferentEl_bottom__wJ9at"}},3674:e=>{e.exports={"animated-logo":"AnimatedLogo_animated-logo__6GNPn","homepage-logo-transition":"AnimatedLogo_homepage-logo-transition__zTXA0",shrinked:"AnimatedLogo_shrinked__G2lvp","animated-logo__inner":"AnimatedLogo_animated-logo__inner__j8jXg","image-wrapper":"AnimatedLogo_image-wrapper__G1FUa",difference:"AnimatedLogo_difference__ZDGHv",landscape:"AnimatedLogo_landscape__hxMaB"}},3934:(e,t,n)=>{"use strict";n.d(t,{GlobalContextProvider:()=>c,S:()=>l});var r=n(5155),o=n(2115),a=n(63);let s=(0,o.createContext)(),l=()=>(0,o.useContext)(s),c=e=>{let{children:t,params:n}=e,l=(0,a.usePathname)(),c=function(e){let t=(0,o.useRef)();return(0,o.useEffect)(()=>{t.current=e},[e]),t.current}(l),[i,d]=(0,o.useState)({prevPathname:null!=c&&c,mode:"initial",yearsOpen:!1,eventsPageScrollY:0,search:""});return(0,o.useEffect)(()=>{d(e=>({...e,mode:"initial"}))},[]),(0,o.useEffect)(()=>{d(e=>({...e,prevPathname:null!=c&&c}))},[n,l]),(0,r.jsx)(s.Provider,{value:{globalContext:i,setGlobalContext:d},children:t})}},4054:(e,t)=>
1{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{bindSnapshot:function(){return s},createAsyncLocalStorage:function(){return a},createSnapshot:function(){return l}});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let o="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function a(){return o?new o:new r}function s(e){return o?o.bind(e):r.bind(e)}function l(){return o?o.snapshot():function(e,...t){return e(...t)}}},4437:(e,t,n)=>{"use strict";function r(e){let{reason:t,children:n}=e;return n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),n(4553)},5175:e=>{e.exports={"events-years":"EventsYears_events-years__aUMpn",title:"EventsYears_title__zkEWG",years:"EventsYears_years__spbB_",selected:"EventsYears_selected__63myW"}},5205:(e,t,n)=>{"use strict";n.d(t,{default:()=>G});var r=n(5155),o=n(2115);n(2619);var a=n(8375),s=n.n(a);let l=(e,t,n,r,o)=>{let a,s=window.innerHeight/4;a="mouse"===o?e.clientY:e.touches[0].clientY;let l={id:0,top:0,bottom:s},c={id:1,top:l.bottom,bottom:l.bottom+s},i={id:2,top:c.bottom,bottom:c.bottom+s},d={id:3,top:i.bottom,bottom:i.bottom+s};[l,c,i,d].forEach(e=>{if(a>=e.top&&a<e.bottom){document.documentElement.style.setProperty("--color-homepage-background",t[e.id].colors.backgroundColor),document.documentElement.style.setProperty("--color-homepage-ui",t[e.id].colors.uiColor),document.documentElement.style.setProperty("--color-homepage-foreground",t[e.id].colors.foregroundColor),document.documentElement.style.setProperty("--color-homepage-difference",t[e.id].colors.differenceSubstitutionColor),localStorage.setItem("backgroundColor",t[e.id].colors.backgroundColor),localStorage.setItem("uiColor",t[e.id].colors.uiColor),localStorage.setItem("foregroundColor",t[e.id].colors.foregroundColor),localStorage.setItem("differenceColor",t[e.id].colors.differenceSubstitutionColor),n.current.querySelectorAll(".".concat(r.event)).forEach(e=>{e.classList.remove(r.active)});let o=n.current.querySelector(".".concat(r.event,'[data-index="').concat(e.id,'"]'));o&&o.classList.add(r.active)}})};var c=n(8847);function i(e){let{events:t}=e,n=(0,o.useRef)(null),a=(0,o.useRef)(null);return(0,o.useEffect)(()=>{window.addEventListener("initialMode_Start_Bye",()=>{a.current&&(a.current.style.pointerEvents="none")}),window.addEventListener("eventsMode_Finish_Bye",()=>{a.current&&(a.current.style.pointerEvents="all")})},[]),(0,r.jsxs)("div",{className:"".concat(s()["animated-background"]),children:[(0,r.jsx)("div",{className:"".concat(s()["animated-background__events"]),ref:n,children:t.slice(0,4).map((e,t)=>(0,r.jsxs)("div",{className:"".concat(s().event," ").concat(0===t?s().active:""),"data-index":t,children:[(0,r.jsxs)("div",{className:"".concat(s().q," grid-12"),children:[(0,r.jsx)("h2",{children:"Q:"}),(0,r.jsx)("h2",{children:e.q})]}),(0,r.jsxs)("div",{className:"".concat(s().a," grid-12"),children:[(0,r.jsx)("h2",{children:"A:"}),(0,r.jsx)("h2",{children:e.a})]})]},t))}),(0,r.jsx)("div",{className:"".concat(s()["animated-background__proxies"]),ref:a,style:{pointerEvents:"all"},onMouseMove:e=>l(e,t,n,s(),"mouse"),onTouchMove:e=>l(e,t,n,s(),"touch")})]})}var d=n(5246),u=n.n(d),m=n(6811),_=n(983),h=n(3674),p=n.n(h),g=n(7605);let f=(e,t,n)=>{v(e,t,n)},v=(e,t,n)=>{let r,o;"mouse"===t?(r=e.clientY,o=.2):(r=e.touches[0].clientY,o=.8);let a=.25;a=window.innerWidth>1564?.7:window.innerWidth>1366?.35:.25,n&&(a=1);let s=window.innerHeight*a,l=.2*window.innerHeight;r>
1l&&[-5.5,7.5,-7.5,5.5,8.5,-8.5,-6.5,6.5,-9,9,40].forEach((e,t)=>{let n=document.querySelector('[data-index="'.concat(t,'"]'));if(n){let t=r/e*(n.clientHeight/s);g.os.to(n,{y:t,duration:o,ease:"power1.out"})}})};function y(e){let{params:t}=e,n=(0,o.useRef)(null),[a,s]=(0,o.useState)(!1),l=e=>{f(e,"mouse")},i=e=>{f(e,"touch",a)};return(0,o.useEffect)(()=>(g.os.timeline().add(()=>{window.addEventListener("mousemove",l),window.addEventListener("touchmove",i)},0).to(n.current,{autoAlpha:1,duration:c.Q6,ease:"power1.inOut"},0),()=>{window.removeEventListener("mousemove",l),window.removeEventListener("touchmove",i)}),[t.lang,a]),(0,o.useEffect)(()=>{if(/Mobi|Android/i.test(navigator.userAgent))return e(),window.addEventListener("orientationchange",e),()=>{window.removeEventListener("orientationchange",e)};function e(){screen.orientation&&screen.orientation.type&&(screen.orientation.type.startsWith("landscape")?s(!0):s(!1))}},[]),(0,r.jsx)("div",{className:"".concat(p()["animated-logo"]," ").concat(p()["homepage-logo-transition"]),style:{visibility:"hidden",opacity:0},ref:n,children:(0,r.jsx)("div",{className:"".concat(p()["animated-logo__inner"]),children:Array.from({length:11}).map((e,t)=>(0,r.jsx)("div",{className:"\n ".concat(p()["image-wrapper"]," \n ").concat(p().difference,"\n ").concat(a?p().landscape:"","\n "),children:(0,r.jsx)("img",{"data-index":t,src:"/img/qujochoe-animated-logo.png",alt:"animated logo"})},t))})})}n(7270);var x=n(6496),j=n.n(x),w=n(6278),E=n.n(w),b=n(3934),S=n(8618),C=n(6430),k=n.n(C),P=n(2943),L=n.n(P);n(6909);var N=n(5470),A=n(5175),O=n.n(A);function Y(e){let{years:t,params:n,onYearChange:a}=e,[s,l]=(0,o.useState)(n.year),{globalContext:c,setGlobalContext:i}=(0,b.S)(),d=(0,o.useRef)(null),u=(0,o.useRef)(null);(0,o.useEffect)(()=>{c.yearsOpen?_():h()},[c.yearsOpen]);let m=()=>{i(e=>({...e,yearsOpen:!e.yearsOpen}))},_=()=>{u.current&&d.current&&g.Ay.to([d.current,u.current],{autoAlpha:1,duration:.2,ease:"power1.inOut",onStart:()=>{null!==u.current&&(u.current.style.display="inline"),null!==d.current&&(d.current.style.display="inline")}})},h=()=>{u.current&&d.current&&g.Ay.to([d.current,u.current],{autoAlpha:0,duration:.2,ease:"power1.inOut",onComplete:()=>{null!==u.current&&(u.current.style.display="none"),null!==d.current&&(d.current.style.display="none")}})},p=e=>{a(e),l(e)};return(0,r.jsxs)("span",{className:"".concat(O()["events-years"]),children:[(0,r.jsx)("span",{className:"".concat(O().title),children:(0,r.jsxs)("a",{onClick:()=>m(),children:["en"===n.lang?"Year":"Jahr","\xa0"]})}),(0,r.jsx)("span",{ref:d,className:"".concat(O().years),children:t.map((e,o)=>n.year!==e?(0,r.jsxs)("a",{onClick:()=>p(e),children:[e.substring(2),o+1!==t.length?(0,r.jsx)("span",{children:",\xa0"}):(0,r.jsx)("span",{children:"\xa0"})]},o):(0,r.jsxs)("a",{className:O().selected,onClick:()=>p("all"),children:[e.substring(2),o+1!==t.length?(0,r.jsx)("span",{children:",\xa0"}):(0,r.jsx)("span",{children:"\xa0"})]},o))}),(0,r.jsx)("a",{ref:u,className:"".concat(O().close),onClick:()=>m(),children:"(Close)"})]})}function I(e){let{params:t,categories:n,years:o,onCategoryChange:a,onYearChange:s}=e,{globalContext:l,setGlobalContext:i}=(0,b.S)(),d=e=>{a(e)};return(0,r.jsxs)(m.P.div,{className:"".concat(L()["events-categories"]),variants:c.HI,initial:!1,animate:"enter",exit:"hidden",transition:{type:"linear",duration:c._G},children:[(0,r.jsx)("div",{className:L()["top-row"],children:(0,r.jsx)("h2",{children:n.filter(e=>"top"===e.row).map((e,n,o)=>t.category===e.slug.current?(0,r.jsx)("span",{children:(0,r.jsxs)("a",{className:L().selected,onClick:()=>d("all"),children:[e.title,n+1<o.length?", ":""]})},n):(0,r.jsx)("span",{children:(0,r.jsxs)("a",{onClick:()=>d(e.slug.current),children:[e.title,n+1<o.length?", ":""]})},n))})}),(0,r.jsx)("div",{className:L()["bottom-row"],children:(0,r.jsxs)("h2",{children:[(0,r.jsx)("span",{children:"series"===t.category?(0,r.jsx)("span",{children:(0,r.jsxs)("a",{className:L().selected,onClick:()=>d("all"),children:["de"===t.lang?"Serien, ":"Series, "," "]})}):(0,r.jsx)("span",{children:(0,r.jsxs)("a",{onClick:()=>d("series"),children:["de"===t.lang?"Serien, ":"Series, "," "]})})}),n.map((e,n)=>"bottom"===e.row&&(t.category===e.slug.current?(0,r.jsxs)("span",{children:[e.title,", "]},n):(0,r.jsx)("span",{children:(0,r.jsxs)("a",{onClick:()=>d(e.slug.current),children:[e.title,", "]})},n))),(0,r.jsx)("span",{children:(0,r.jsx)(Y,{years:o,params:t,onYearChange:s})})]})})]},"EventsCategories")}function M(e){let{params:t,categories:n,years:o,onCategoryChange:a,onYearChange:s,scrollDir:l}=e,{globalContext:c,setGlobalContext:i}=(0,b.S)();return(0,r.jsxs)("div",{className:"".concat(k()["desktop-filter"]," grid-12 filter"),children:[(0,r.jsx)(N.A,{onClick:()=>window.dispatchEvent(new CustomEvent("logoPressed")),style:{cursor:"pointer",gridColumn:"1 / span 1"},onEventsPage:!0}),(0,r.jsx)("section",{className:"".concat(k()["categories-wrapper"]),children:(0,r.jsx)(I,{params:t,categories:n,onCategoryChange:a,years:o,onYearChange:s})})]})}var q=n(5568),R=n.n(q),B=n(5721);function F(e){let{params:t,categories:n,years:a,onCategoryChange:s,onYearChange:l,noEventsFound:c}=e,{globalContext:i,setGlobalContext:d}=(0,b.S)(),[u,m]=(0,o.useState)(!1),_=(0,o.useRef)(null),h=(0,o.useRef)(null);return(0,o.useEffect)(()=>{_.current&&h.current&&(u?(g.Ay.to(h.current,{autoAlpha:1,duration:.5,ease:"power1.inOut"}),g.Ay.to(_.current,{height:"".concat(_.current.scrollHeight,"px"),duration:.5,ease:"power1.inOut"})):(g.Ay.to(h.current,{autoAlpha:0,duration:.5,ease:"power1.inOut"}),g.Ay.to(_.current,{height:parseInt(getComputedStyle(document.documentElement).getPropertyValue("--d-header-marginTop").trim()),duration:.5,ease:"power1.inOut",onComplete:()=>{null!==_.current&&_.current.style.removeProperty("height")}})))},[u]),(0,o.useEffect)(()=>{function e(e){_.current&&!_.current.contains(e.target)&&m(!1)}return u?document.addEventListener("mousedown",e):document.removeEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[u]),(0,r.jsxs)("div",{ref:_,className:"".concat(R()["mobile-filter"]," ").concat(u?"":R()["mobile-filter__hidden"]," grid-12 filter"),onClick:()=>m(!u),children:[(0,r.jsx)(N.A,{onClick:e=>{e.stopPropagation(),window.dispatchEvent(new CustomEvent("logoPressed"))},style:{cursor:"pointer",gridColumn:"span 12",width:"fit-content",height:"fit-content"},onEventsPage:!0}),"all"===t.category&&"all"===t.year&&""===i.search?(0,r.jsx)("div",{className:"".concat(R().arrow),children:u?(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"6",viewBox:"0 0 9 6",children:(0,r.jsx)("path",{id:"Polygon_9","data-name":"Polygon 9",d:"M4.5,0,9,6H0Z",fill:"var(--color-homepage-difference)"})}):(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"6",viewBox:"0 0 9 6",children:(0,r.jsx)("path",{id:"Polygon_8","data-name":"Polygon 8",d:"M4.5,0,9,6H0Z",transform:"translate(9 6) rotate(180)",fill:"var(--color-homepage-difference)"})})}):(0,r.jsx)("div",{className:"".concat(R().circle)}),(0,r.jsx)("section",{ref:h,className:"".concat(R().categories),style:{visibility:"hidden",opacity:0}
1,onClick:e=>e.stopPropagation(),children:(0,r.jsx)(I,{params:t,categories:n,onCategoryChange:s,years:a,onYearChange:l})})]})}var H=n(1783);let D=e=>Array.isArray(e)?e.map(e=>e.children&&Array.isArray(e.children)?e.children.map(e=>e.text||"").join(" "):"").join(" "):"",W=E()(()=>Promise.all([n.e(803),n.e(239),n.e(557)]).then(n.bind(n,5557)),{loadableGenerated:{webpack:()=>[5557]},ssr:!1});function V(e){let{categories:t,years:n,params:a,pastEvents:s,currentEvents:l,futureEvents:c,footerData:i}=e,{globalContext:d,setGlobalContext:u}=(0,b.S)(),{width:m}=(0,H.A)(),[h,p]=(0,o.useState)(s),[g,f]=(0,o.useState)(l),[v,y]=(0,o.useState)(c),[x,w]=(0,o.useState)(!1),[E,C]=(0,o.useState)(s),[k,P]=(0,o.useState)(l),[L,N]=(0,o.useState)(c),[A,O]=(0,o.useState)("up");(0,o.useRef)(0);let Y=(0,o.useRef)(null),I=(0,o.useRef)(null),q=(0,o.useRef)(null),R=(0,o.useRef)(null),V=(0,o.useRef)(null);(0,o.useEffect)(()=>{(0,_.B)(null),setTimeout(()=>{"all"!==a.category&&G(a.category),"all"!==a.year&&z(a.year)},1)},[]),(0,o.useEffect)(()=>{let e=()=>{u(e=>({...e,eventsPageScrollY:document.body.scrollTop}))};return document.body.addEventListener("wheel",e),document.body.addEventListener("touchmove",e),()=>{document.body.removeEventListener("wheel",e),document.body.removeEventListener("touchmove",e)}},[]),(0,o.useEffect)(()=>{d.prevPathname&&d.prevPathname.startsWith("/".concat(a.lang,"/event/"))&&"events"===d.mode&&document.body.scrollTo(0,d.eventsPageScrollY)},[d.prevPathname]),(0,o.useEffect)(()=>{let e=null,t=()=>{let t=window.innerWidth,r=document.querySelectorAll(".event-text");t>576?(r.forEach(e=>{e.style.backgroundColor="",e.style.color="",e.style.filter=""}),clearInterval(e)):r.length>0&&(r.forEach((e,t)=>{e.style.backgroundColor=t%2==0?"var(--backgroundColor)":"",e.style.color=t%2==0?"var(--differenceColor)":""}),clearInterval(e),n(r))},n=e=>{let t=getComputedStyle(document.documentElement).getPropertyValue("--color-homepage-background").trim();e.forEach((e,n)=>{let r=getComputedStyle(e.parentElement).getPropertyValue("--backgroundColor").trim();e.style.filter=n%2==0&&r===t?"var(--invert)":""})},r=()=>{t()},o=()=>{t()};return t(),window.innerWidth<=576&&(e=setInterval(()=>{document.querySelectorAll(".event-text").length>0&&t()},100)),window.addEventListener("resize",r),window.addEventListener("initialMode_Start_Bye",o),()=>{clearInterval(e),window.removeEventListener("resize",r),window.removeEventListener("initialMode_Start_Bye",o)}},[h,g,v]);let G=e=>{a.category=e,u(e=>({...e,search:""})),document.querySelector('textarea[name="search"]')&&(document.querySelector('textarea[name="search"]').value=""),document.querySelector('input[name="search"]')&&(document.querySelector('input[name="search"]').value="");let t="all"===a.year;p("all"===e?t?s:s.filter(e=>JSON.stringify(new Date(e.date_time).getFullYear())===a.year):"series"===e?t?s.filter(e=>e.event_series):s.filter(e=>e.event_series&&JSON.stringify(new Date(e.date_time).getFullYear())===a.year):t?s.filter(t=>t.event_type.some(t=>t.slug===e)):s.filter(t=>t.event_type.some(t=>t.slug===e)&&JSON.stringify(new Date(t.date_time).getFullYear())===a.year));let n="/".concat(a.lang,"/").concat(e,"/").concat(a.year);window.history.replaceState({...window.history.state,as:n,url:n},"",n)},z=e=>{a.year=e,u(e=>({...e,search:""})),document.querySelector('textarea[name="search"]')&&(document.querySelector('textarea[name="search"]').value=""),document.querySelector('input[name="search"]')&&(document.querySelector('input[name="search"]').value="");let t="all"===a.category;p("all"===e?t?s:"series"===a.category?s.filter(e=>e.event_series):s.filter(e=>e.event_type.some(e=>e.slug===a.category)):t?s.filter(t=>JSON.stringify(new Date(t.date_time).getFullYear())===e):"series"===a.category?s.filter(t=>t.event_series&&JSON.stringify(new Date(t.date_time).getFullYear())===e):s.filter(t=>t.event_type.some(e=>e.slug===a.category)&&JSON.stringify(new Date(t.date_time).getFullYear())===e));let n="/".concat(a.lang,"/").concat(a.category,"/").concat(e);window.history.replaceState({...window.history.state,as:n,url:n},"",n)};return(0,o.useEffect)(()=>{let e=d.search.toLowerCase(),t={category:a.category,year:a.year},n=t=>{let n=D(t.full_description_de).toLowerCase(),r=D(t.full_description_eng).toLowerCase();return t.main_title&&t.main_title.toLowerCase().includes(e)||t.a&&t.a.toLowerCase().includes(e)||t.q&&t.q.toLowerCase().includes(e)||t.captions&&t.captions.toLowerCase().includes(e)||t.full_description_de&&n.includes(e)||t.full_description_eng&&r.includes(e)||t.small_description&&t.small_description.toLowerCase().includes(e)||t.address&&t.address.toLowerCase().includes(e)};""!==e?(x||(C(h),P(g),N(v),w(!0)),p(E.filter(n)),f(k.filter(n)),y(L.filter(n))):(G(t.category),z(t.year),w(!1))},[d.search]),(0,r.jsxs)("section",{className:"".concat(j().events),children:[(0,r.jsx)("section",{ref:V,className:"".concat(j().events__header," events-header"),children:m>1366?(0,r.jsx)(M,{params:a,categories:t,years:n,onCategoryChange:G,onYearChange:z}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(F,{params:a,categories:t,years:n,onCategoryChange:G,onYearChange:z,noEventsFound:0===h.length&&0===g.length&&0===v.length}),(0,r.jsx)(B.A,{params:a,mobile:!0})]})}),(0,r.jsxs)("section",{className:j().events__list,children:["all"===a.category&&"all"===a.year&&(g.length>0||v.length>0)&&(0,r.jsxs)("section",{className:j()["not-past-events"],children:[g.length>0&&(0,r.jsxs)("section",{className:"".concat(j()["current-events"]," current-events"),ref:Y,children:[(0,r.jsx)("h2",{className:j().title,children:(0,r.jsx)("span",{className:j().current,children:"de"===a.lang?"Aktuell":"Current"})}),(0,r.jsx)("ul",{children:g.map((e,t)=>(0,r.jsx)(W,{content:e,type:"current",params:a},t))})]}),v.length>0&&(0,r.jsxs)("section",{className:"".concat(j()["future-events"]," future-events"),ref:I,children:[(0,r.jsx)("h2",{className:j().title,children:(0,r.jsx)("span",{className:j().current,children:"de"===a.lang?"Zuk\xfcnftige":"Future"})}),(0,r.jsx)("ul",{children:v.map((e,t)=>(0,r.jsx)(W,{content:e,type:"future",params:a},t))})]})]}),h&&h.length>0&&(0,r.jsx)("section",{className:"".concat(j()["past-events"]," past-events"),ref:q,children:(0,r.jsxs)("div",{className:j()["past-events__list"],ref:R,children:[(0,r.jsx)("h2",{className:j().title,children:(0,r.jsx)("span",{className:j().past,children:"de"===a.lang?"Archiv":"Past"})}),(0,r.jsx)("ul",{children:h.map((e,t)=>(0,r.jsx)(W,{content:e,type:"past",params:a},t))})]})}),0===h.length&&0===g.length&&0===v.length&&(0,r.jsx)("section",{className:j()["no-events"],children:(0,r.jsx)("h2",{className:j().title,children:(0,r.jsx)("span",{children:"de"===a.lang?"Keine Eintr\xe4ge gefunden":"No search result found"})})})]}),(0,r.jsx)(S.default,{params:a,data:i})]})}function G(e){let{events:t,params:n,pastEvents:a,currentEvents:s,futureEvents:l,categories:d,years:h,footerData:p}=e,{globalContext:f,setGlobalContext:v}=(0,b.S)(),[x,j]=(0,o.useState)("up"),w=(0,o.useRef)(null),E=(0,o.useRef)(null);return(0,o.useEffect)(()=>{"events"===f.mode&&(E.current.style.transform="unset",E.current.style.transition="unset",w.current.classList.add(u()["home-container__scrolled-up"]))},[f.mode]),(0,o.useEffect)(()=>{(0,_.B)(null)},[t]),(0,o.useEffect)(()=>{let e=()=>{if(j("down"),E.current){var e;E.current.style.transition="transform ".concat(.8,"s linear"),null==(e=E.current)||e.classList.add(u()["events-container__scrolled-up"]),w.current.classList.add(u()["home-container__scrolled-up"])}window.dispatchEvent(new Event("initialMode_Start_Bye")),setTimeout(()=>{v(e=>({...e,mode:"events"}))},800)};window.addEventListener("wheel",e),w.current.addEventListener("click",e),window.addEventListener("logoPressed",()=>{j("up");let e=()=>{if(E.current){var e;null==(e=E.current)||e.classList.remove(u()["events-container__scrolled-up"]),w.current.classList.remove(u()["home-container__scrolled-up"]),E.current.style.transition="transform ".concat(.8,"s linear"),E.current.style.transform="translateY(100vh)"}window.dispatchEvent(new Event("eventsMode_Start_Bye")),setTimeout(()=>{window.dispatchEvent(new Event("eventsMode_Finish_Bye")),document.querySelector('textarea[name="search"]')&&(document.querySelector('textarea[name="search"]').value=""),v(e=>({...e,mode:"initial",search:""}))},800)};document.body.scrollTop>0?g.Ay.to(document.body,{scrollTop:0,duration:.5,ease:"power2.out",onComplete:()=>{e()}}):e()})},[x]),(0,r.jsxs)(m.P.section,{variants:c.HI,initial:{opacity:0,x:0}
1,animate:{opacity:1,x:0},exit:{opacity:0,x:0},transition:{type:"linear",duration:c._G},className:u()["home-wrapper"],children:[(0,r.jsxs)("section",{className:"".concat(u()["home-container"]),style:{transition:"transform ".concat(.8,"s linear")},ref:w,children:[(0,r.jsx)(y,{params:n}),(0,r.jsx)(i,{events:t})]}),(0,r.jsx)("section",{className:"".concat(u()["events-container"]," events-container"),style:{transition:"transform ".concat(.8,"s linear")},ref:E,children:(0,r.jsx)(V,{params:n,categories:d,years:h,currentEvents:s,futureEvents:l,pastEvents:a,footerData:p})})]},"HomeWrapper")}},5246:e=>{e.exports={"home-wrapper":"HomeWrapper_home-wrapper__VlOiq","home-container":"HomeWrapper_home-container__Lr35_","home-container__scrolled-up":"HomeWrapper_home-container__scrolled-up__B3UUc","events-container":"HomeWrapper_events-container__GhOuj","events-container__scrolled-up":"HomeWrapper_events-container__scrolled-up__vSBOJ"}},5310:e=>{e.exports={footer:"client_footer__lHJjE",footer__copyright:"client_footer__copyright__iRPae",footer__socials:"client_footer__socials__FVSOZ",footer__portfolio:"client_footer__portfolio__HQ3Rf",footer__datenschutz:"client_footer__datenschutz__j7qMe"}},5470:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(5155),o=n(2413),a=n.n(o),s=n(2619),l=n.n(s),c=n(6811),i=n(8847);function d(e){let{href:t=null,onClick:n,style:o,onEventsPage:s=!1}=e;return(0,r.jsxs)(c.P.div,{className:"".concat(a().logo," ").concat(s?a()["on-events-page"]:""),variants:i.HI,initial:!1,animate:"enter",exit:"hidden",transition:{type:"linear",duration:i._G},style:o,children:[(0,r.jsx)("div",{className:"".concat(a()["logo__item__proxy-wrapper"]),children:(0,r.jsx)("div",{className:"".concat(a().logo__item__proxy),children:(0,r.jsx)("h2",{children:"qujOch\xd6"})})}),t?(0,r.jsx)(l(),{id:"link",href:t,children:Array.from({length:5}).map((e,t)=>(0,r.jsx)("div",{className:"".concat(a().logo__item),children:(0,r.jsx)("h2",{children:"qujOch\xd6"})},t))}):(0,r.jsx)("a",{id:"goUp",onClick:n,children:Array.from({length:5}).map((e,t)=>(0,r.jsx)("div",{className:"".concat(a().logo__item),children:(0,r.jsx)("h2",{children:"qujOch\xd6"})},t))})]},"Logo")}},5568:e=>{e.exports={"mobile-filter":"MobileFilter_mobile-filter__tqfet",categories:"MobileFilter_categories__kfuiH",arrow:"MobileFilter_arrow__3mPRr",circle:"MobileFilter_circle__deObD",search:"MobileFilter_search__ymsim"}},5721:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(5155),o=n(3934),a=n(63),s=n(2115),l=n(9608),c=n.n(l),i=n(8344),d=n(6811),u=n(8847);function m(e){let{params:t,mobile:n=!1}=e,{globalContext:l,setGlobalContext:m}=(0,o.S)(),[_,h]=(0,s.useState)(!1);(0,a.useRouter)();let p=(0,s.useRef)(null),g=(0,a.usePathname)();(0,i.s)();let f=(0,i.s)();(0,s.useRef)(null),(0,s.useEffect)(()=>{"events"!==l.mode||g==="/".concat(t.lang,"/about")||g==="/".concat(t.lang,"/datenschutz")||g.startsWith("/".concat(t.lang,"/event/"))?(f.start("hidden"),p.current.style.pointerEvents="none"):(f.start("enter"),p.current.style.pointerEvents="auto")},[g,t,l.mode]);let v=e=>{m(t=>({...t,search:e.target.value}))};return(0,s.useEffect)(()=>{!navigator.userAgent.includes("Safari")||navigator.userAgent.includes("Chrome")||navigator.userAgent.match(/(iPhone|iPad|iPod)/i)||h(!0)},[]),(0,r.jsx)(d.P.div,{className:"\n ".concat(c().search," \n ").concat(n?c().mobile:"","\n ").concat(_?c()["safari-desktop"]:"","\n "),variants:u.HI,initial:"hidden",animate:f,exit:"exit",transition:{type:"linear",duration:u._G},children:n?(0,r.jsx)("form",{onSubmit:e=>e.preventDefault(),children:(0,r.jsx)("input",{ref:p,className:c().search__mobile,name:"search",placeholder:"de"===t.lang?"Suchen":"Search",defaultValue:""!==l.search?l.search:"",onInput:e=>v(e),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),v(e))}})}):(0,r.jsx)("form",{onSubmit:e=>{e.preventDefault()},children:(0,r.jsx)("input",{ref:p,className:"".concat(c().search__desktop),name:"search",placeholder:"de"===t.lang?"Suchen...":"Search...",defaultValue:""!==l.search?l.search:"",onInput:e=>v(e),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),v(e))}})})},"search")}},6278:(e,t,n)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(8140)._(n(1150));function o(e,t){var n;let o={};"function"==typeof e&&(o.loader=e);let a={...o,...t};return(0,r.default)({...a,modules:null==(n=a.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6430:e=>{e.exports={"desktop-filter":"DesktopFilter_desktop-filter__rcwYp","categories-wrapper":"DesktopFilter_categories-wrapper___g9r1"}},6496:e=>{e.exports={events:"EventsContainer_events__7tsiZ",events__header:"EventsContainer_events__header__yH3oL",events__list:"EventsContainer_events__list__5HX_C","not-past-events":"EventsContainer_not-past-events__IxcnQ","future-events":"EventsContainer_future-events__y8IPf","current-events":"EventsContainer_current-events__kG7ZS","no-events":"EventsContainer_no-events__kMhSZ","past-events":"EventsContainer_past-events__CfY__","past-events__list":"EventsContainer_past-events__list__EuLwz","load-more":"EventsContainer_load-more__X2ep_",title:"EventsContainer_title__WsRI1",locked:"EventsContainer_locked__sYycL",past:"EventsContainer_past__VFTZ_",current:"EventsContainer_current__WPvSs"}},6552:(e,t,n)=>{"use strict";function r(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),n(5155),n(7650),n(8567),n(7278)},6909:(e,t,n)=>{"use strict";n(5155),n(3444)},7828:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(4054).createAsyncLocalStorage)()},8344:(e,t,n)=>{"use strict";n.d(t,{s:()=>d});var r=n(5791),o=n(8763),a=n(5888);function s(e,t){[...t].reverse().forEach(n=>{let r=e.getVariant(n);r&&(0,o.U)(e,r),e.variantChildren&&e.variantChildren.forEach(e=>{s(e,t)})})}function l(){let e=!1,t=new Set,n={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(n,o){(0,r.V)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let s=[];return t.forEach(e=>{s.push((0,a._)(e,n,{transitionOverride:o}))}),Promise.all(s)},set:n=>((0,r.V)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{var t,r;t=e,Array.isArray(r=n)?s(t,r):"string"==typeof r?s(t,[r]):(0,o.U)(t,r)})),stop(){t.forEach(e=>{e.values.forEach(e=>e.stop())})},mount:()=>(e=!0,()=>{e=!1,n.stop()})};return n}var c=n(4416),i=n(6553);let d=function(){let e=(0,c.M)(l);return(0,i.E)(e.mount,[]),e}},8375:e=>{e.exports={"animated-background":"AnimatedBackground_animated-background__JQz_s","animated-background__events":"AnimatedBackground_animated-background__events__SjV20",event:"AnimatedBackground_event__qtXO8",active:"AnimatedBackground_active__dj4bl",q:"AnimatedBackground_q__5zhnp",a:"AnimatedBackground_a__UGoLO","animated-background__proxies":"AnimatedBackground_animated-background__proxies__qmsS_",proxy:"AnimatedBackground_proxy__sY10o"}},8567:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=n(7828)},8618:(e,t,n)=>{"use strict";n.d(t,{default:()=>m});var r=n(5155),o=n(2619),a=n.n(o),s=n(5310),l=n.n(s),c=n(63),i=n(3934),d=n(2115),u=n(1783);function m(e){let{params:t,data:n}=e,{globalContext:o,setGlobalContext:s}=(0,i.S)(),[m,_]=(0,d.useState)(!1),{width:h}=(0,u.A)(),p=(0,c.usePathname)();return((0,d.useEffect)(()=>{window.addEventListener("eventsMode_Start_Bye",()=>{_(!1)}),"initial"!==o.mode||p==="/".concat(t.lang,"/about")||p==="/".concat(t.lang,"/datenschutz")||p.startsWith("/".concat(t.lang,"/event/"))?_(!0):_(!1)},[o.mode,p]),m)?(0,r.jsxs)("footer",{className:"".concat(l().footer," grid-12"),children:[(0,r.jsx)("div",{className:l().footer__c
1opyright,children:(0,r.jsx)("p",{children:"\xa9 2024 qujOch\xd6"})}),(0,r.jsx)("div",{className:l().footer__socials,children:(null==n?void 0:n.instagram)&&(null==n?void 0:n.facebook)&&(0,r.jsxs)("p",{children:["Follow\xa0",(0,r.jsx)(a(),{href:n.instagram,target:"_blank",children:"Ig,"}),"\xa0",(0,r.jsx)(a(),{href:n.facebook,target:"_blank",children:"Fb"})]})}),(0,r.jsx)("div",{className:l().footer__portfolio,children:(null==n?void 0:n.portfolio)&&(0,r.jsx)("p",{children:(0,r.jsx)(a(),{href:n.portfolio,target:"_blank",children:h>576?"Portfolio.pdf":"Folio.pdf"})})}),(0,r.jsx)("div",{className:l().footer__datenschutz,children:(0,r.jsx)("p",{children:(0,r.jsx)(a(),{href:"/".concat(t.lang,"/datenschutz"),scroll:!1,children:"Datenschutz"})})})]}):null}},8847:(e,t,n)=>{"use strict";n.d(t,{HI:()=>r,Q6:()=>a,_G:()=>o,jJ:()=>s,jK:()=>l});let r={hidden:{opacity:0,x:0,y:0},enter:{opacity:1,x:0,y:0},exit:{opacity:0,x:0,y:0}},o=.8,a=.8,s=3,l=.4},9608:e=>{e.exports={h1:"Search_h1__m2Kmc",h2:"Search_h2__S_H1c",search:"Search_search__Y55kY",search__mobile:"Search_search__mobile__LWHgk",search__desktop:"Search_search__desktop__0_GMt",h3:"Search_h3____Wh_",p:"Search_p__BMyEz",mobile:"Search_mobile__QeVKI","safari-desktop":"Search_safari-desktop__PJrY8"}}},e=>{e.O(0,[520,783,592,811,619,605,607,441,255,358],()=>e(e.s=3385)),_N_E=e.O()}]);
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.