PageSourceSearch

https://www.polepole.be/_next/static/chunks/0n4w1igulile9.js

js polepole.be collected 2026-10-02 20:57:32 UTC 5,706 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18923,e=>{"use strict";var t=e.i(43476);e.s(["default",0,e=>{let{children:l}=e;return(0,t.jsx)("div",{className:" max-w-screen mx-5 sm:mx-12 flex flex-col grow items-center",children:(0,t.jsx)("div",{className:"max-w-7xl w-full flex flex-col grow",children:l})})}],18923)},11954,e=>{"use strict";e.i(85674),e.s([])},75159,74998,e=>{"use strict";e.s([],75159),e.s(["default",()=>a],74998);var t=e.i(43476),l=e.i(18923),s=e.i(48299);let a=e=>{let{children:a,className:r}=e;return(0,t.jsx)("div",{className:(0,s.toClassName)("py-8 sm:pb-36 w-full",r),children:(0,t.jsx)(l.default,{children:a})})}},91999,e=>{"use strict";e.s(["default",()=>p],91999);var t=e.i(43476),l=e.i(57688),s=e.i(22016),a=e.i(48299);e.i(11954);var r=e.i(85674);e.i(75159);var o=e.i(74998);let i="relative h-[86vh]",c={container:"absolute top-0 left-0 bottom-0 right-0 -z-1"},n={container:"absolute top-0 left-0 bottom-0 right-0 flex flex-col",head:"bg-white font-medium",foot:" grow flex flex-col justify-end pointer-events-none max-w-4xl"},m="object-cover duration-1000",d={container:"md:absolute right-0 bottom-0 md:max-w-[24rem] w-full",button:{content:"flex flex-row items-center justify-center gap-x-2 uppercase"}},u="p-4 sm:p-8 bg-white dark:text-black hover:bg-black w-full font-bold cursor-pointer duration-200 hover:!text-white text-base";var x=e.i(71645),v=e.i(22715);e.i(85269);var h=e.i(22831);let p=e=>{let p,{locale:b,heroSection:f}=e,{t:g}=(0,h.useTranslation)(b),[j,N]=(0,x.useState)(!1);if(null==f)return;let y=(f?.event!==void 0&&f?.event!==null&&(p={title:f?.event.title,subtitle:f?.event.location,posterUrl:f?.event?.poster_image?.asset?.url,bannerUrl:f?.event?.banner_image?.asset?.url,videoUrl:f?.event?.banner_video_url,logo:f?.event.logo?.asset?.url,logoMobile:f?.event.logo_mobile?.asset?.url,logoDesktop:f?.event.logo_desktop?.asset?.url,href:`/${b}/events/${f?.event.slug}`,color:f?.event?.color,from:f?.event?.from,until:f?.event?.until}),f?.bar!==void 0&&f?.bar!==null&&(p={title:f?.bar.title,subtitle:f?.bar.location,posterUrl:f?.bar.cover.asset.url,bannerUrl:f?.bar.cover.asset.url,href:`/${b}/events/${f?.bar.slug}`}),f?.article!==void 0&&f?.article!==null&&(p={title:f?.article.title,subtitle:f?.article.date,posterUrl:f?.article.cover.asset.url,bannerUrl:f?.article.cover.asset.url,href:`/${b}/events/${f?.article.slug}`}),p),w=y?.videoUrl!==void 0&&y?.videoUrl!==null,k=y?.logo!==void 0&&y?.logo!==null,U=!!y?.logoMobile,C=!!y?.logoDesktop;return(0,x.useEffect)(()=>{let e;return w&&!j&&(e=setTimeout(()=>{N(e=>!e)},5e3)),w&&j&&(e=setTimeout(()=>{N(e=>!e)},1e4)),()=>clearInterval(e)},[w,j]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"relative -translate-y-16 group",children:[(0,t.jsx)("div",{className:"absolute left-0 right-0 top-0 bottom-0 opacity-20 bg-black dark:bg-white",style:{backgroundColor:y?.color}}),(0,t.jsxs)("div",{className:c.container,children:[(0,t.jsx)(l.default,{src:y?.bannerUrl,alt:"hero-picture",fill:!0,className:(0,a.toClassName)(m,"hidden sm:block",j?"!opacity-0 sm:!opacity-100":"opacity-100",w&&"sm:group-hover:!opacity-0")}),(0,t.jsx)(l.default,{src:y?.posterUrl,alt:"hero-picture",fill:!0,className:(0,a.toClassName)(m,"block sm:hidden",j?"!opacity-0 sm:!opacity-100":"opacity-100",w&&"sm:group-hover:!opacity-0")}),w&&(0,t.jsx)("video",{className:(0,a.toClassName)("w-full h-full object-cover duration-1000",j?"!opacity-100":"opacity-0 sm:!opacity-100"),autoPlay:!0,loop:!0,muted:!0,playsInline:!0,src:y?.videoUrl}),(0,t.jsxs)("div",{className:"absolute left-0 top-0 right-0 bottom-0 flex items-center justify-center duration-300",children:[k&&(0,t.jsx)(l.default,{src:U?y?.logoMobile:y?.logo,alt:"venue-cover",width:500,height:500,className:(0,a.toClassName)("sm:hidden w-[80vw] -translate-y-[5rem] duration-1000",j?"!opacity-0":"opacity-100",w&&"group-hover:!opacity-0")}),k&&(0,t.jsx)(l.default,{src:C?y?.logoDesktop:y?.logo,alt:"venue-cover",width:500,height:500,className:(0,a.toClassName)("hidden sm:block sm:w-auto sm:max-w-[40rem] sm:translate-y-4 duration-1000 scale-[150%] lg:scale-[200%] xl:scale-[225%]",j?"sm:!opacity-100":"opacity-100",w&&"sm:group-hover:!opacity-0")})]})]}),(0,t.jsx)(o.default,{className:"!py-0",children:(0,t.jsx)("div",{className:i,children:(0,t.jsxs)("div",{className:n.container,children:[(0,t.jsx)("div",{className:n.foot,children:(0,t.jsxs)("div",{className:(0,a.toClassName)("py-8 xl:py-16 flex flex-col duration-1000"),children:[(0,t.jsx)(r.default,{as:"div",className:"flex flex-col items-start",children:(0,t.jsxs)("div",{className:"text-xs sm:text-lg flex items-center gap-x-2 uppercase text-black bg-white dark:bg-black dark:text-white px-3 py-2",children:[(0,t.jsx)("p",{children:(0,a.handleFormatDate)(y?.from,g)}),(0,t.jsx)(v.default,{accessor:"arrow-right",className:"text-xs",size:"10px"}),(0,t.jsx)("p",{className:"",children:(0,a.handleFormatDate)(y?.until,g)})]})}),(0,t.jsx)(r.default,{as:"h1",className:"text-white text-base xl:text-2xl font-black tracking-tight max-w-[12rem] sm:max-w-[19rem] bg-black p-2 sm:p-4 uppercase mb-3 mt-2 sm:mb-4 mt-2",children:y?.title}),(0,t.jsx)(r.default,{as:"h1",children:(0,t.jsx)("span",{className:"text-white text-sm lg:text-xl tracking-tight bg-black p-2",children:y?.subtitle})})]})}),(0,t.jsx)("div",{className:d.container,children:(0,t.jsx)(s.default,{href:y?.href,children:(0,t.jsx)("div",{className:u,children:(0,t.jsx)("div",{className:d.button.content,children:(0,t.jsx)("span",{className:"flex flex-row items-center gap-x-1",children:g("view.home.label.discoverEvent")})})})})})]})})})]})})}}]);
2
3//# sourceMappingURL=14_j8nwcl1t1k.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.