PageSourceSearch

https://cineville.nl/_next/static/chunks/pages/festivals/[...slug]-4c3f7d73fc1ceeff.js

js cineville.nl collected 2026-09-24 17:09:56 UTC 10,769 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[589],{15456:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/festivals/[...slug]",function(){return s(39281)}])},18683:e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,s,i,r){return(s=s||"&",i=i||"=",null===e&&(e=void 0),"object"==typeof e)?Object.keys(e).map(function(r){var a=encodeURIComponent(t(r))+i;return Array.isArray(e[r])?e[r].map(function(e){return a+encodeURIComponent(t(e))}).join(s):a+encodeURIComponent(t(e[r]))}).filter(Boolean).join(s):r?encodeURIComponent(t(r))+i+encodeURIComponent(t(e)):""}},22944:(e,t,s)=>{"use strict";s.d(t,{R:()=>y,Y:()=>v});var i=s(6029),r=s(48555),a=s(35858),n=s(89099),l=s(7600),o=s(89478),d=s(56381),c=s(48230),h=s.n(c),u=s(87412),m=s(74555),x=s(14370),g=s(53204),f=s(32809);let p=({title:e,description:t,formattedDate:s,imagePath:r,imageAlt:a,url:n,direction:l="row",sizes:o=(0,f.o)("@xl 400px, @sm 50vw, 100vw")})=>(0,i.jsxs)(u.bL,{direction:l,css:"row"===l?{position:"relative",display:"grid",gridTemplateAreas:'"media" "body"',"@md":{gridTemplateColumns:"34% 1fr",gridTemplateAreas:'"body media"'}}:{position:"relative"},children:[(0,i.jsx)(u.$U,{css:{gridArea:"media"},children:(0,i.jsx)(x._,{image:r,alt:a||"",width:16,height:9,sizes:o,style:{width:"100%",height:"auto",objectFit:"cover",aspectRatio:16/9}})}),(0,i.jsxs)(u.nB,{css:{gridArea:"body",justifyContent:"center"},children:[(0,i.jsx)(u.f4,{children:s}),(0,i.jsx)(u.hE,{css:"row"===l?{fontSize:"$18","@md":{fontSize:"$32"}}:{},children:(0,i.jsx)(h(),{prefetch:!1,href:n,passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(m.I,{css:{transition:"color 0.2s ease-in-out","&:hover":{color:"$dumbo7"}},children:e})})}),t?(0,i.jsx)(g.c,{variant:"body2",allowedElements:["p","em"],children:t}):null]})]});var j=s(9794);let v=({festivals:e})=>(0,i.jsx)(d.x,{as:"ol",flow:"row",children:e.map(e=>(0,i.jsx)(b,{children:(0,i.jsx)(y,{festival:e})},e.id))}),b=(0,j.I4)("li",{paddingY:"$6","@md":{paddingY:"$12"},borderBottom:"1px solid $zorro","&:first-child":{paddingTop:0},"&:last-child":{border:"none",paddingBottom:0}}),y=({festival:e,cardDirection:t="row"})=>{let{locale:s,query:d}=(0,n.useRouter)(),c=e.attributes.mainImage.data?.attributes,h=(0,o.O)(`/festivals/${e.attributes.slug}${d&&Object.keys(d).length?`?${(0,r.stringify)(d)}`:""}`,s);return c?(0,i.jsx)(p,{direction:t,formattedDate:(0,a.UO)(e.attributes.startDate,e.attributes.endDate,s),title:e.attributes.title,description:e.attributes.shortDescription||void 0,imagePath:(0,l.tx)(c),imageAlt:c.alternativeText||void 0,url:h,sizes:(0,f.o)("@xl 1000px, @lg 60vw, @md 100vw")}):null}},39281:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSG:()=>Q,default:()=>Z});var i=s(6029),r=s(35858),a=s(48230),n=s.n(a),l=s(89099),o=s(10553),d=s(7030),c=s(89478),h=s(88161),u=s(33421),m=s(39220),x=s(56381),g=s(52438),f=s(14370),p=s(47040),j=s(26354),v=s(98506),b=s(85068),y=s(2543),w=s(6577),I=s(43385);let $=({location:e,formattedDate:t,discountText:s,website:a})=>{let{t:n}=(0,d.Bd)("festivals");return(0,i.jsxs)(D,{children:[e?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(C,{children:n`location`}),(0,i.jsx)(_,{children:e})]}):null,t?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(C,{children:n`date`}),(0,i.jsx)(_,{children:t})]}):null,s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(C,{children:n`discount`}),(0,i.jsx)(_,{children:s})]}):null,a?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(C,{children:n`website`}),(0,i.jsx)(_,{children:(0,i.jsx)("a",{href:a,target:"_blank",children:(0,r.Hs)(a)})})]}):null]})},D=(0,I.I4)("dl",{">:after":{display:"inline",content:" "},"dd:after":{display:"block",content:""}}),C=(0,I.I4)("dt",{display:"inline",fontFamily:"$averta",fontSize:"$14",lineHeight:"$body",fontWeight:"$semibold"}),_=(0,I.I4)("dd",{display:"inline",fontFamily:"$averta",fontSize:"$14",lineHeight:"$body"});var B=s(22944),k=s(65911),F=s(23906),A=s(55729),O=s(51742),R=s(40197),S=s(70219),T=s(29978);let z=({filters:e,cities:t,theaters:s,onFiltersChange:r,children:a})=>{let{t:n}=(0,d.Bd)("festivals"),l=(0,O.I)(r),o=(0,R.z)(t),c=(0,S.p)(s);return(0,i.jsx)(T.Kq,{children:(0,i.jsxs)(T.lV,{children:[(0,i.jsx)(T.DZ,{children:n`filters heading`}),(0,i.jsxs)(T.NQ,{children:[o.length>1?(0,i.jsx)(T.wn,{children:(0,i.jsx)(T.ac,{options:o,value:e?.cityIds||[],onChange:t=>l({...e,cityIds:t})})}):null,c.length?(0,i.jsx)(T.wn,{children:(0,i.jsx)(T.oD,{options:c,value:e?.venueIds||[],onChange:t=>l({...e,venueIds:t})})}):null,a]})]})})};var N=s(58271),E=s(99114),U=s(40830),H=s(48545),P=s(32397);let K=({festivalEndDate:e,collection:{collectionGroupId:t,collectionId:s},cities:a,theaters:n,reserveDisclaimer:o})=>{let{t:c}=(0,d.Bd)(["showtimes","common"]),[h]=(0,A.useState)(new Date),{locale:u}=(0,l.useRouter)(),m=(0,E.A)(({venueIds:e,setGlobalFilters:t})=>({cityIds:void 0,venueIds:e,setGlobalFilters:t})),{isReady:x,filters:g,setFilters:f}=(0,U.G)({collections:[{collectionGroupId:t,collectionId:s}],startDate:{gte:h.toISOString(),lt:(0,F.A)(new Date(e)).toISOString()}},m),p=(0,r.x_)((0,P.ZR)(g.cityIds,a,!0)),{query:j}=(0,H.h)({...g,day:void 0},a),{data:v,hasNextPage:b,fetchNextPage:y,isFetchingNextPage:w,isLoading:I,isError:$}=(0,k.NK)({...j,page:{limit:20},country:"NL",locale:u},{enabled:x}),D=(0,k.TK)(v),{data:C=[]}=(0,k.rV)({collection:(0,H.d)(p)},{initialData:n});return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(z,{filters:g,cities:a,theaters:C,onFiltersChange:f,children:(0,i.jsx)(T.nB,{isLoading:I,isFetchingNextPage:w,hasNextPage:b,isNotFound:!D?.length,isError:$,errorMessage:c("showtimes loading error"),loadingDescription:c("loading",{ns:"common"}),notFoundDescription:c("no showtimes found"),children:(0,i.jsx)(N.d,{showtimes:D,onEndReached:b?y:void 0,reserveDisclaimer:o})})})})};var Y=s(95785),L=s(4560),G=s(66640),V=s(34877),X=s(43926),q=s(32809),M=s(54521),Q=!0;let Z=({festival:{title:e,isCinevilleEvent:t,startDate:s,endDate:a,discountText:I,website:D,seo:C,mainImage:_,eventsCollection:k,banner:F,cities:A,relatedArticles:O,relatedFestivals:R,content:S,shortDescription:T},settings:z,films:N,cities:E,theaters:U})=>{let H=z?.titleTemplate,P=z?.defaultBanner,Q=z?.defaultImage,Z=z?.fallbackCover,W=z?.reserveDisclaimer,{locale:J}=(0,l.useRouter)(),{t:ee}=(0,d.Bd)(["common","festivals"]),{data:et}=(0,o.useSession)(),es=F?.data||P?.data,ei=(0,M.a)(),er=A?.data.map(({attributes:{name:e}})=>e).join(", ");return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(b.Q,{title:e,template:H||void 0}),(0,i.jsx)(X.d,{seo:{...C,description:T||C?.description},defaultImage:_?.data?.attributes||Q?.data?.attributes}),k&&ei?(0,i.jsx)(h.a,{as:"aside",css:{gridArea:"aside",position:"sticky",top:"var(---navigationHeight, 0px)",alignSelf:"start",width:"100%",zIndex:10},children:(0,i.jsx)(K,{festivalEndDate:a,collection:k,cities:A?.data?.length?A.data:E,theaters:U,reserveDisclaimer:W})}):null,(0,i.jsx)(w.d,{children:_.data?(0,i.jsx)(f._,{image:_.data.attributes,fill:!0,sizes:"100vw",style:{objectFit:"cover",objectPosition:"0 20%"}}):null}),(0,i.jsx)(j.w,{color:"shrek",children:(0,i.jsxs)(h.a,{css:{display:"flex",flexDirection:"column","@lg":{display:"grid",columnGap:"$5",gridTemplateColumns:"50% 1fr 356px",gridTemplateAreas:'"main gap aside"'}},children:[(0,i.jsxs)(m.s,{as:"main",direction:"column",gap:{"@initial":5,"@md":6},css:{gridArea:"main"},children:[(0,i.jsx)(g._,{children:e}),(0,i.jsx)(v.S,{buttonLabel:ee("share festival",{ns:"festivals"}),title:e,css:{paddingBottom:"$6",borderBottom:"1px solid $zorro"}}),(0,i.jsx)($,{location:er,formattedDate:(0,r.UO)(s,a,J),discountText:I||void 0,website:D||void 0}),S?(0,i.jsx)(G.L,{components:S,cssOverrides:{"pages.image":{"@md":{marginY:"$10"}}}}):null]}),(0,i.jsxs)(h.a,{as:"aside",css:{gridArea:"aside"},children:[k&&!ei?(0,i.jsx)(K,{festivalEndDate:a,collection:k,cities:A?.data?.length?A.data:E,theaters:U,reserveDisclaimer:W}):null,k||!es||ei?null:(0,i.jsx)(L.M,{size:"small",color:es.attributes.color,image:es.attributes.image.data?.attributes||void 0,href:es.attributes.link,title:es.attributes.title,de
1scription:es.attributes.description,sizes:(0,q.o)("@lg 356px, 100vw")}),(0,i.jsx)(Y.G,{reserveDisclaimer:W})]})]})}),k&&N?.length?(0,i.jsxs)(j.w,{gap:"8",dense:!0,children:[(0,i.jsx)(g.fV,{children:ee("all films from",{ns:"festivals",title:e})}),(0,i.jsx)(y.f,{films:N,fallbackCover:Z?.data?.attributes||void 0,userId:et?.user?.id})]}):null,!t&&D?(0,i.jsx)(j.w,{css:{"@md":{marginBottom:"$14"}},children:(0,i.jsx)(p.n,{title:ee("know more",{ns:"festivals"}),description:(0,i.jsxs)(d.x6,{t:ee,ns:"festivals",i18nKey:"check the website",values:{festival:e},children:["Check out the ",(0,i.jsx)("em",{children:e})," website for more information."]}),url:D,openInNewTab:!0})}):null,O?.data.length?(0,i.jsxs)(j.w,{dense:!0,children:[(0,i.jsx)(V.Y,{title:ee`related articles`,articles:O.data}),(0,i.jsx)(m.s,{css:{justifyContent:"center",marginTop:"$10"},children:(0,i.jsx)(n(),{prefetch:!1,href:(0,c.O)("/magazine",J),passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(u.$,{as:"a",variant:"secondary",children:ee("to all articles")})})})]}):null,R?.data.length?(0,i.jsxs)(j.w,{dense:!0,children:[(0,i.jsx)(g.fV,{css:{marginBottom:"$8"},children:ee("more festivals",{ns:"festivals"})}),(0,i.jsx)(x.x,{columns:{"@initial":1,"@sm":2,"@md":3},gapX:"4",gapY:{"@initial":"12","@md":"24"},children:R.data.slice(-3).map(e=>(0,i.jsx)(B.R,{festival:e,cardDirection:"column"},e.id))}),(0,i.jsx)(m.s,{css:{justifyContent:"center",marginTop:"$10"},children:(0,i.jsx)(n(),{prefetch:!1,href:(0,c.O)("/festivals",J),passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(u.$,{as:"a",variant:"secondary",children:ee("to all festivals",{ns:"festivals"})})})})]}):null]})}},43926:(e,t,s)=>{"use strict";s.d(t,{d:()=>a});var i=s(6029),r=s(92634);let a=({seo:e,defaultImage:t,...s})=>{let{titleForSeo:a,description:n,image:l,canonicalUrl:o,shouldIndex:d=!0}=e||{},c=l?.data?.attributes||t;return(0,i.jsx)(r.g,{titleForSeo:a||void 0,description:n||void 0,image:c,canonicalUrl:o||void 0,shouldIndex:d||void 0,...s})}},48555:(e,t,s)=>{"use strict";s(65295),t.stringify=s(18683)},65295:e=>{"use strict";e.exports=function(e,t,s,i){t=t||"&",s=s||"=";var r={};if("string"!=typeof e||0===e.length)return r;var a=/\+/g;e=e.split(t);var n=1e3;i&&"number"==typeof i.maxKeys&&(n=i.maxKeys);var l=e.length;n>0&&l>n&&(l=n);for(var o=0;o<l;++o){var d,c,h,u,m=e[o].replace(a,"%20"),x=m.indexOf(s);(x>=0?(d=m.substr(0,x),c=m.substr(x+1)):(d=m,c=""),h=decodeURIComponent(d),u=decodeURIComponent(c),Object.prototype.hasOwnProperty.call(r,h))?Array.isArray(r[h])?r[h].push(u):r[h]=[r[h],u]:r[h]=u}return r}}},e=>{e.O(0,[593,584,216,613,394,697,175,640,403,275,636,792],()=>e(e.s=15456)),_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.