PageSourceSearch

https://www.kioskradio.com/_next/static/chunks/pages/events-1ab96bc2905deb27.js

js kioskradio.com collected 2026-10-02 11:57:51 UTC 3,201 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[787],{3540:(e,s,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/events",function(){return l(9241)}])},9241:(e,s,l)=>{"use strict";l.r(s),l.d(s,{__N_SSG:()=>u,default:()=>g});var i=l(1085),t=l(3373),a=l.n(t),n=l(3464),r=l.n(n),c=l(2657),d=l.n(c),_=l(4747),p=l.n(_),o=l(1242),h=l(4041),m=l(4973),u=!0;function g(e){let{events:s,eventTypes:l}=e,t=(0,o.useRouter)(),n=t.query.when||"upcoming",c=t.query.type||"All",_=r()(),u=(0,h.useMemo)(()=>Array.from(new Set(s.map(e=>r()(e.date).year()))).sort((e,s)=>s-e),[s]),g=(0,h.useCallback)((e,s,l)=>{let{[e]:i,...a}=t.query,n=s===l?a:{...a,[e]:s};t.push({pathname:"/events",query:n},void 0,{shallow:!0})},[t]),v=(0,h.useMemo)(()=>s.filter(e=>{if("upcoming"===n){if(r()(e.date).isBefore(_,"day"))return!1}else if(r()(e.date).year()!==Number(n))return!1;return"All"===c||e.type===c}),[s,n,c,_]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(d(),{children:[(0,i.jsx)("title",{children:"Events | Kiosk Radio"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",href:"/favicon.png"})]}),(0,i.jsx)(m.J,{title:"Events"}),(0,i.jsxs)("section",{className:"events-page",children:[(0,i.jsx)("div",{className:"events-page__header",children:(0,i.jsxs)("div",{className:"events-page__filters",children:[(0,i.jsxs)("div",{className:"events-page__types",children:[(0,i.jsx)("button",{className:a()("events-page__pill",{"events-page__pill--active":"All"===c}),onClick:()=>g("type","All","All"),children:"All"}),l.map(e=>(0,i.jsx)("button",{className:a()("events-page__pill",{"events-page__pill--active":c===e}),onClick:()=>g("type",e,"All"),children:e},e))]}),(0,i.jsxs)("select",{className:"events-page__year-select",value:n,onChange:e=>g("when",e.target.value,"upcoming"),children:[(0,i.jsx)("option",{value:"upcoming",children:"Upcoming"}),u.map(e=>(0,i.jsx)("option",{value:e,children:e},e))]})]})}),(0,i.jsxs)("div",{className:"tile-grid tile-grid--grid tile-grid--dark",children:[(0,i.jsx)("div",{className:"tile-grid__header",children:(0,i.jsx)("h2",{className:"tile-grid__header__title",children:"upcoming"===n?"Upcoming":n})}),(0,i.jsx)("div",{className:"tile-grid__tiles",children:(0,i.jsx)("div",{className:"tile-grid__tiles__inner",children:v.map(e=>(0,i.jsxs)("div",{className:"tile",children:[(0,i.jsx)("span",{className:"tile__eyebrow",children:e.type}),(0,i.jsx)("div",{className:"tile__photo__wrapper",children:(0,i.jsx)("img",{className:"tile__photo",src:e.image.url+"?w=700&h=500&fit=fill&fm=webp",alt:e.image.description||e.title,loading:"lazy"})}),(0,i.jsxs)(p(),{href:e.slug,children:[(0,i.jsx)("span",{className:"tile__title__one",children:r()(e.date).format("DD.MM.YYYY")}),(0,i.jsx)("span",{className:"tile__title__two",children:e.title}),e.location&&(0,i.jsx)("span",{className:"tile__location",children:e.location})]})]},e.sys.id))})})]})]})]})}},4973:(e,s,l)=>{"use strict";l.d(s,{J:()=>n});var i=l(1085),t=l(3373),a=l.n(t);let n=e=>{let{title:s,dark:l=!1}=e,t=a()({"text-header":!0,"text-header--dark":l});return(0,i.jsx)("section",{className:t,children:(0,i.jsx)("h1",{className:"text-header__title",children:s})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[636,593,792],()=>s(3540)),_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.