PageSourceSearch

https://cineville.nl/_next/static/chunks/pages/search-4b1ecfa36dd53436.js

js cineville.nl collected 2026-10-02 02:31:46 UTC 10,057 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[612],{2543:(e,i,t)=>{"use strict";t.d(i,{f:()=>m});var s=t(6029),n=t(35858),r=t(89099),a=t(7030),l=t(52330),o=t(9137),c=t(89478),d=t(56381),h=t(52129),g=t(6394),u=t(32809);let m=({films:e,fallbackCover:i,colorScheme:t,withTrailer:m=!1,customHighlightsOrder:x,userId:p,onEndReached:f})=>{let{t:j}=(0,a.Bd)(["common","films"]),{locale:v}=(0,r.useRouter)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.x,{columns:{"@initial":1,"@sm":2,"@md":3},gapX:"4",gapY:{"@initial":"12","@md":"24"},children:e?.map(e=>(0,s.jsx)(g.C,{filmId:e.id,userId:p,title:e.title,description:e.shortDescription||void 0,tipDescription:(0,n.PW)(e.highlights||void 0).tip?.description||void 0,url:(0,c.O)(`/films/${e.slug}`,v),cover:e.cover||void 0,fallbackCover:i,sizes:(0,u.o)("@xl 400px, @md 33vw, @sm 50vw, 100vw"),trailer:m&&e.trailer?e.trailer:void 0,highlight:x?(0,o.e)(j,e.highlights||[],x):e.defaultHighlight||void 0,colorScheme:t,extraInfo:e.premiereDate?(0,l.Z)(j,e.premiereDate,v):void 0},e.id))}),f?(0,s.jsx)(h.p,{onInView:f}):void 0]})}},9137:(e,i,t)=>{"use strict";t.d(i,{e:()=>n});var s=t(35858);let n=(e,i,t)=>{let n=(0,s.PW)(i);for(let e=0;e<t.length;e++){let i=t[e];if(n[i]?.label)return n[i]?.label||void 0}}},17869:(e,i,t)=>{"use strict";t.d(i,{$:()=>u});var s=t(6029),n=t(89099),r=t(89478),a=t(48230),l=t.n(a),o=t(88161),c=t(87412),d=t(74555),h=t(53204);let g=({question:e,answer:i,url:t})=>(0,s.jsx)(c.bL,{css:{position:"relative"},children:(0,s.jsxs)(c.nB,{css:{gridArea:"body",justifyContent:"center"},children:[(0,s.jsx)(c.hE,{css:{fontSize:"$16"},children:(0,s.jsx)(l(),{prefetch:!1,href:t,passHref:!0,legacyBehavior:!0,children:(0,s.jsx)(d.I,{children:e})})}),(0,s.jsx)(o.a,{css:{display:"-webkit-box","-webkit-line-clamp":3,"-webkit-box-orient":"vertical",overflow:"hidden","& *":{color:"$dumbo8"}},children:(0,s.jsx)(h.c,{variant:"body4",allowedElements:["p"],children:i})})]})}),u=({faqItem:e})=>{let{locale:i}=(0,n.useRouter)();return(0,s.jsx)(g,{question:e.question,answer:e.answer,url:(0,r.O)(`/faq/${e.category.slug}/${e.slug}`,i)})}},20099:(e,i,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return t(35086)}])},28179:(e,i,t)=>{"use strict";t.d(i,{A:()=>n});var s=t(55729);let n=function(e,i){var t=(0,s.useState)(null),n=t[0],r=t[1];return(0,s.useEffect)(function(){if(e.current&&"function"==typeof IntersectionObserver){var t=new IntersectionObserver(function(e){r(e[0])},i);return t.observe(e.current),function(){r(null),t.disconnect()}}return function(){}},[e.current,i.threshold,i.root,i.rootMargin]),n}},35086:(e,i,t)=>{"use strict";t.r(i),t.d(i,{__N_SSG:()=>B,default:()=>k});var s=t(6029),n=t(65911),r=t(89099),a=t(10553),l=t(7030),o=t(55729),c=t(89478),d=t(88161),h=t(33421),g=t(39220),u=t(56381),m=t(52438),x=t(21058),p=t(3154),f=t(26354),j=t(27295),v=t(85068),$=t(2543),w=t(17869),b=t(79048),y=t(7600),q=t(54521),B=!0;let k=({settings:e})=>{let{locale:i}=(0,r.useRouter)(),{t}=(0,l.Bd)(["search","navigation-bar","common"]),{data:B}=(0,a.useSession)(),k=(0,q.a)(),{isReady:T,params:E,setParams:C}=(()=>{let{asPath:e,query:i,isReady:t,push:s}=(0,r.useRouter)();return{isReady:t,params:i,setParams:(0,o.useCallback)(i=>{s({pathname:e.split("?")[0],query:i},void 0,{shallow:!0})},[s,e])}})(),[N,_]=(0,o.useState)(E.q),{data:P,isLoading:S,fetchNextPage:I,hasNextPage:z,isFetchingNextPage:L,refetch:M}=(0,n.Y5)(E?.q||"",{page:{limit:3},locale:i},{enabled:!!E?.q?.length}),A=(0,n.TK)(P),D=(0,o.useMemo)(()=>P&&P.pages.length?P.pages[0].totalCount:0,[P]),{data:F,isLoading:Y,fetchNextPage:H,hasNextPage:O,isFetchingNextPage:V,refetch:R}=(0,n.f0)({query:E.q||"",pagination:{pageSize:4},locale:i},{enabled:!!E?.q?.length}),W=(0,n.TK)(F),X=(0,o.useMemo)(()=>F&&F.pages.length?F.pages[0].meta.pagination.total:0,[F]),{data:Z,isLoading:K,fetchNextPage:Q,hasNextPage:G,isFetchingNextPage:U,refetch:J}=(0,n.tz)({query:E.q||"",pagination:{pageSize:4},filters:{publishedAt:{$notNull:!0}},locale:i},{enabled:!!E?.q?.length}),ee=(0,n.TK)(Z),ei=(0,o.useMemo)(()=>Z&&Z.pages.length?Z.pages[0].meta.pagination.total:0,[Z]);(0,o.useEffect)(()=>{T&&_(E.q)},[T,E]);let et=(0,o.useCallback)(e=>{e?_(e):(C({}),M(),R(),J())},[C,M,R,J]),es=(0,o.useMemo)(()=>S||Y||K,[S,Y,K]),en=(0,o.useMemo)(()=>!!E.q&&!A?.length&&!W?.length&&!ee?.length,[E,A,W,ee]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(v.Q,{title:t("search"),template:e?.titleTemplate||void 0}),(0,s.jsxs)(d.a,{as:"main",css:{minHeight:"calc(100vh - $sizes$navigationHeight-initial)","@md":{minHeight:"calc(100vh - $sizes$navigationHeight-md)"}},children:[T?(0,s.jsx)(f.w,{dense:!0,css:{marginTop:"$4",marginBottom:"$3","@md":{marginTop:"$14",marginBottom:"$4"}},children:(0,s.jsxs)(g.s,{css:{borderBottom:"1px solid $zorroA4",paddingY:"$2","@md":{paddingY:"$4"}},children:[(0,s.jsx)(p.I,{value:N,onSearch:et,onEnter:e=>C({q:e}),placeholder:t("Search in films articles and questions",{ns:"navigation-bar"}),hideClear:!k}),k?null:(0,s.jsx)(h.$,{variant:"secondary",onClick:()=>C({q:N}),children:t("search")})]})}):null,es?(0,s.jsxs)(f.w,{gap:2,direction:"column",dense:!0,children:[(0,s.jsxs)(g.s,{gap:2,align:"center",children:[(0,s.jsx)(x.bL,{css:{square:"$fontSizes$32",flexShrink:0},children:(0,s.jsx)(x.tZ,{})}),(0,s.jsx)(m.fV,{children:t("searching")})]}),(0,s.jsx)(j.E,{as:"p",children:t("searching in films articles and questions")})]}):null,!es&&en?(0,s.jsxs)(f.w,{gap:2,direction:"column",dense:!0,children:[(0,s.jsxs)(g.s,{gap:2,align:"center",children:[(0,s.jsx)(x.bL,{css:{square:"$fontSizes$32",flexShrink:0},children:(0,s.jsx)(x.tZ,{})}),(0,s.jsx)(m.fV,{children:t("too bad",{ns:"common"})})]}),(0,s.jsx)(j.E,{as:"p",children:t("no results found")})]}):null,!es&&ee?.length?(0,s.jsxs)(f.w,{css:{marginY:"$8","@md":{marginTop:"$12",marginBottom:"$20"}},children:[(0,s.jsx)(m.fV,{css:{marginBottom:"$4","@md":{marginBottom:"$12"}}
1,children:t("questions found",{count:ei})}),(0,s.jsx)(u.x,{as:"ol",columns:{"@initial":1,"@sm":2,"@md":4,"@rlg":4},flow:"row",gapX:"4",gapY:"6",children:ee.map((e,i)=>(0,s.jsx)("li",{children:(0,s.jsx)(w.$,{faqItem:e})},`${i}-${e.id}`))}),G?(0,s.jsx)(g.s,{justify:"center",css:{marginTop:"$10"},children:(0,s.jsxs)(h.$,{as:"a",variant:"secondary",isLoading:U,css:{width:"100%","@md":{width:"initial"}},onClick:()=>Q(),children:[(0,s.jsx)(x.bL,{children:(0,s.jsx)(x.FW,{})}),t("show more")]})}):null]}):null,!es&&A?.length?(0,s.jsxs)(f.w,{css:{marginY:"$8","@md":{marginTop:"$12",marginBottom:"$20"}},children:[(0,s.jsx)(m.fV,{css:{marginBottom:"$4","@md":{marginBottom:"$12"}},children:t("films found",{count:D})}),(0,s.jsx)($.f,{films:A,fallbackCover:e?.fallbackCover.data?.attributes,userId:B?.user?.id}),z?(0,s.jsx)(g.s,{justify:"center",css:{marginTop:"$10"},children:(0,s.jsxs)(h.$,{as:"a",variant:"secondary",isLoading:L,css:{width:"100%","@md":{width:"initial"}},onClick:()=>I(),children:[(0,s.jsx)(x.bL,{children:(0,s.jsx)(x.FW,{})}),t("show more")]})}):null]}):null,!es&&W?.length?(0,s.jsxs)(f.w,{color:A?.length?"dune":void 0,css:{marginTop:"$8",marginBottom:"$18","@md":{marginTop:"$12",marginBottom:"$20"}},children:[(0,s.jsx)(m.fV,{css:{marginBottom:"$4","@md":{marginBottom:"$12"}},children:t("articles found",{count:X})}),(0,s.jsx)(u.x,{as:"ol",columns:{"@initial":2,"@md":4},flow:"row",gap:"4",children:W.map((i,t)=>{let n=i.mainImage?.image||e?.fallbackCover.data?.attributes;return(0,s.jsx)("li",{children:n?(0,s.jsx)(b.d,{imagePath:(0,y.tx)(n),imageAlt:n.alternativeText||void 0,title:i.title,category:i.category?.name,url:(0,c.O)(`/magazine/${i.slug}`,i.locale||void 0),locale:i.locale||void 0,size:"small"}):null},`${t}-${i.id}`)})}),O?(0,s.jsx)(g.s,{justify:"center",css:{marginTop:"$10"},children:(0,s.jsxs)(h.$,{as:"a",variant:"secondary",isLoading:V,css:{width:"100%","@md":{width:"initial"}},onClick:()=>H(),children:[(0,s.jsx)(x.bL,{children:(0,s.jsx)(x.FW,{})}),t("show more")]})}):null]}):null]})]})}},52129:(e,i,t)=>{"use strict";t.d(i,{p:()=>a});var s=t(6029),n=t(55729),r=t(28179);let a=({onInView:e,options:i={}})=>{let t=(0,n.useRef)(null),a=(0,r.A)(t,i);return(0,n.useEffect)(()=>{a?.isIntersecting&&e()},[e,a]),(0,s.jsx)("div",{ref:t})}},52330:(e,i,t)=>{"use strict";t.d(i,{Z:()=>a});var s=t(35858),n=t(54297),r=t(10299);let a=(e,i,t)=>{if(!i)return;let a=new Date(i),l=(0,s.ru)(a,new Date,t,"EEEE d MMMM y");return!function(e,i){(0,r.A)(2,arguments);var t=(0,n.A)(e),s=(0,n.A)(i);return t.getTime()>s.getTime()}(a,new Date)?void 0:e("premieres on",{ns:"films",date:l})}},79048:(e,i,t)=>{"use strict";t.d(i,{d:()=>x});var s=t(6029),n=t(48230),r=t.n(n),a=t(53204);let l=({text:e})=>(0,s.jsx)(a.c,{allowedElements:["p","em","a"],variant:"body2",children:e});var o=t(88161),c=t(87412),d=t(74555),h=t(14370),g=t(9794),u=t(32809);let m=(0,g.I4)(c.bL,{position:"relative",containerName:"article-card",variants:{direction:{row:{flexDirection:"row",gap:"$10"},column:{flexDirection:"column",gap:"$4"}}},[`${c.nB}`]:{gap:0},[`${c.f4}`]:{marginBottom:"$1"},[`${c.VY}`]:{marginTop:"$3"}}),x=({url:e,locale:i,imagePath:t,imageAlt:n,title:a,description:g,category:x,direction:p,sizes:f=(0,u.o)("@xl 400px, @sm 50vw, 100vw"),...j})=>(0,s.jsxs)(m,{direction:p,...j,children:[(0,s.jsx)(c.$U,{children:(0,s.jsx)(h._,{image:t,alt:n||"",width:16,height:9,sizes:f,style:{width:"100%",height:"auto",objectFit:"cover",aspectRatio:16/9}})}),(0,s.jsxs)(c.nB,{css:{justifyContent:"center"},children:[x?(0,s.jsx)(c.f4,{children:x}):null,(0,s.jsx)(c.hE,{children:(0,s.jsx)(r(),{prefetch:!1,href:e,locale:i,passHref:!0,legacyBehavior:!0,children:(0,s.jsx)(d.I,{css:{transition:"color 0.2s ease-in-out","&:hover":{color:"$dumbo7"}},children:a})})}),g?(0,s.jsx)(o.a,{css:{display:"none","@lg":{display:"block"},marginTop:"$3"},children:(0,s.jsx)(l,{text:g})}):null]})]})},85068:(e,i,t)=>{"use strict";t.d(i,{Q:()=>a});var s=t(6029),n=t(77328),r=t.n(n);let a=({title:e,template:i="{{title}}"})=>{let t=""!==i?i.replace("{{title}}",e):e;return(0,s.jsx)(r(),{children:(0,s.jsx)("title",{children:t})})}}},e=>{e.O(0,[593,584,613,394,636,792],()=>e(e.s=20099)),_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.