PageSourceSearch

https://cineville.nl/_next/static/chunks/403-3ee90d80b0ebf5d2.js

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

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[403],{27930:(e,t,s)=>{s.d(t,{g:()=>l});var i=s(6029),n=s(78811),r=s(88161);let l=({dateTime:e,format:t="HH:mm"})=>(0,i.jsx)(r.a,{as:"time",dateTime:e.toISOString(),css:{fontFeatureSettings:"normal",fontVariantNumeric:"normal"},children:(0,n.A)(e,t)})},32397:(e,t,s)=>{s.d(t,{ZR:()=>r,em:()=>n});let i=e=>e.reduce((e,t)=>(t.attributes.collection&&e.push(t.attributes.collection),e),[]),n=(e=[],t=[],s=!1)=>{let n=e.length?t.filter(({attributes:t})=>!!t.collection?.collectionId&&e.includes(t.collection?.collectionId)):[];if(n.length){let e=i(n);if(e.length)return e}return s?i(t):[]},r=(e=[],t=[],s=!1)=>n(e,t,s)},39508:(e,t,s)=>{s.d(t,{r:()=>o});var i=s(6029),n=s(35858),r=s(7030),l=s(77659),a=s(39220),d=s(27295);let o=({languageVersion:e,subtitles:t})=>{let{t:s,i18n:{language:o}}=(0,r.Bd)("showtimes"),c=(0,l.c)(o);return(0,i.jsxs)(a.s,{gap:"1",wrap:"wrap",children:[e&&"original"!==e?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.E,{as:"dt",variant:"body5",weight:"semibold",children:(0,n.Zr)(s("dubbing"))}),(0,i.jsx)(d.E,{as:"dd",variant:"body5",children:c(e)})]}):null,t&&t.length>0?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.E,{as:"dt",variant:"body5",weight:"semibold",children:(0,n.Zr)(s("subtitles"))}),(0,i.jsx)(d.E,{as:"dd",variant:"body5",children:t.map(e=>c(e)).join(", ")})]}):null]})}},40830:(e,t,s)=>{s.d(t,{G:()=>l});var i=s(89099),n=s(55729),r=s(99114);let l=(e,t)=>{let{asPath:s,query:l,replace:a,isReady:d}=(0,i.useRouter)(),o=(0,r.g)(({cityIds:e,venueIds:t,setGlobalFilters:s})=>({cityIds:e,venueIds:t,setGlobalFilters:s})),c=t||o,[u,h]=(0,n.useState)({...e,day:e?.day||"",venueIds:c.venueIds||e?.venueIds,cityIds:c.cityIds||e?.cityIds});return{isReady:d,filters:(0,n.useMemo)(()=>{let{day:e,time:t,onWatchlist:s,notSeen:i,collections:n,venueIds:r,cityIds:a,productionId:d,tags:o,subtitles:h}=l;return{...u,day:e?String(e):u.day,time:t?String(t):u.time,productionId:d?String(d):u.productionId,onWatchlist:!!s,notSeen:!!i,tags:o?Array.isArray(o)?o:[o]:u.tags,subtitles:h?Array.isArray(h)?h:[h]:u.subtitles,collections:n?JSON.parse(n):u.collections,venueIds:r?Array.isArray(r)?r:[r]:c.venueIds,cityIds:a?Array.isArray(a)?a:[a]:c.cityIds}},[u,l,c.cityIds,c.venueIds]),setFilters:(0,n.useCallback)(e=>{let{cityIds:t,venueIds:i}=e;h(e),c.setGlobalFilters({cityIds:t,venueIds:i});let n={...l};e.day?n.day=e.day:delete n.day,e.time?n.time=e.time:delete n.time,e.venueIds?n.venueIds=e.venueIds:delete n.venueIds,e.cityIds?n.cityIds=e.cityIds:delete n.cityIds,e.productionId?n.productionId=e.productionId:delete n.productionId,e.onWatchlist?n.onWatchlist="true":delete n.onWatchlist,e.notSeen?n.notSeen="true":delete n.notSeen,e.collections&&e.collections.length?n.collections=JSON.stringify(e.collections):delete n.collections,e.tags?n.tags=e.tags:delete n.tags,e.subtitles?n.subtitles=e.subtitles:delete n.subtitles,a({pathname:s.split("?")[0],query:n},void 0,{shallow:!0})},[c,l,a,s])}}},48545:(e,t,s)=>{s.d(t,{d:()=>u,h:()=>c});var i=s(65911),n=s(35858),r=s(71933),l=s(10553),a=s(55729),d=s(88987),o=s(32397);let c=({day:e,time:t,collections:s,cityIds:c,venueIds:h,productionId:g,notSeen:p,onWatchlist:m,tags:v,subtitles:x},j=[])=>{let[b]=(0,a.useState)(new Date),y=(0,d.M)(),I=(0,a.useMemo)(()=>""===e?void 0:e,[e]),f=(0,a.useMemo)(()=>(0,n.q8)(b,I,t,y),[b,y,I,t]),$=(0,a.useMemo)(()=>{if(I)return(0,n.Hn)((0,r.A)(f,{days:1}),y)},[I,f,y]),w=(0,a.useMemo)(()=>(0,n.x_)((0,o.em)(c,j,!1)),[j,c]),{data:S}=(0,l.useSession)(),{data:C,isLoading:k}=(0,i.Z8)({userId:S?.user?.id},{enabled:!!m}),{data:E,isLoading:A}=(0,i.jo)({userId:S?.user?.id},{enabled:!!p});return{query:(0,a.useMemo)(()=>({collection:u(s||[]),productionId:{eq:g,in:m?C:void 0,nin:p?E:void 0},venueId:h?.length?{in:h}:void 0,startDate:{gte:f.toISOString(),lt:$?$.toISOString():void 0},venue:{collection:u(w)},tags:v?.length?{contains:v}:void 0,subtitles:x?.length?{contains:x}:void 0}),[s,g,m,C,p,E,h,f,$,w,v,x]),isLoading:(0,a.useMemo)(()=>k||A,[k,A])}},u=e=>{if(0!==e.length)return e.reduce((e,t)=>({...e,[t.collectionGroupId]:{in:[...e?.[t.collectionGroupId]?.in||[],t.collectionId]}}),{})}},51742:(e,t,s)=>{s.d(t,{I:()=>l});var i=s(55729),n=s(57497),r=s(5341);let l=e=>{let t=(0,r.T)();return(0,i.useCallback)(s=>
1{t(n.V.FilterShowtimes,{props:{applied_filters:JSON.stringify(s)}}),e(s)},[e,t])}},58271:(e,t,s)=>{s.d(t,{d:()=>R});var i=s(6029),n=s(35858),r=s(89099),l=s(55729),a=s(48230),d=s.n(a),o=s(7030),c=s(96068),u=s(5341),h=s(57497),g=s(89478),p=s(88161),m=s(33421),v=s(9794);let x=(0,v.I4)("dl");var j=s(5452);let b=({term:e,children:t,...s})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(j.s6,{asChild:!0,children:(0,i.jsx)("dt",{children:e})}),(0,i.jsx)(p.a,{as:"dd",...s,children:t})]});var y=s(39220),I=s(52438),f=s(21058),$=s(69272),w=s(27295),S=s(27930),C=s(39508);let k=({showtime:e,displayInfo:t="all",isOpen:s,onChangeIsOpen:n,reserveDisclaimer:l,...a})=>{let{parameters:v,setParameters:j}=(0,c.y)(),{t:k}=(0,o.Bd)("showtimes"),{locale:E}=(0,r.useRouter)(),A=(0,u.T)();return(0,i.jsx)(p.a,{as:"li",css:{$$paddingX:"$space$5",$$paddingY:"$space$2",paddingX:"$$paddingX",paddingY:"$$paddingY"},children:(0,i.jsx)(x,{...a,children:(0,i.jsxs)("details",{open:s,children:[(0,i.jsxs)(y.s,{as:"summary",gap:4,css:{cursor:"pointer"},onClick:e=>{n&&(e.preventDefault(),n(!s))},children:[(0,i.jsxs)(p.a,{children:[(0,i.jsx)(b,{term:k("starts at"),css:{width:"$12"},children:(0,i.jsx)(w.E,{weight:"semibold",children:(0,i.jsx)(S.g,{dateTime:new Date(e.startDate)})})}),e.endDate&&s?(0,i.jsx)(b,{term:k("ends at"),css:{marginTop:"$1"},children:(0,i.jsx)(w.E,{size:"12",weight:"semibold",children:(0,i.jsx)(S.g,{dateTime:new Date(e.endDate),format:"~HH:mm"})})}):null]}),(0,i.jsxs)(p.a,{children:["title"===t?(0,i.jsx)(b,{term:k("show title"),children:(0,i.jsx)(w.E,{children:e.film.title})}):"venue"===t?(0,i.jsx)(b,{term:k("plays in theater"),children:(0,i.jsx)(w.E,{children:e.theater.name})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(b,{term:k("show title"),children:(0,i.jsx)(I.f_,{children:e.film.title})}),(0,i.jsx)(b,{term:k("plays in theater"),children:(0,i.jsx)(w.E,{children:e.theater.name})})]}),s&&e.specials?(0,i.jsx)(b,{term:k("specials"),children:(0,i.jsx)($.x,{children:e.specials})}):null,s&&e.languageVersionAbbreviation?(0,i.jsx)(b,{term:k("language version"),children:(0,i.jsx)(w.E,{children:e.languageVersionAbbreviation})}):null,s&&!e.languageVersionAbbreviation&&(e.subtitles&&e.subtitles.length>0||e.languageVersion&&"original"!==e.languageVersion)?(0,i.jsx)(C.r,{languageVersion:e.languageVersion||void 0,subtitles:e.subtitles||void 0}):null]})]}),(0,i.jsxs)(y.s,{direction:"row",gap:2,wrap:"noWrap",css:{marginY:"$4"},children:[e.ticketingUrl?(0,i.jsx)(d(),{prefetch:!1,href:(0,g.O)(`/showtimes/${e.id}/redirect`,E),passHref:!0,legacyBehavior:!0,children:(0,i.jsxs)(m.$,{size:"small",as:"a",target:"_blank",css:{whiteSpace:"nowrap"},onClick:t=>{A(h.V.PressReservationButton,{props:{showtime_id:e.id,showtime_start_date:e.startDate,film_title:e.film.title,theater_name:e.theater.name}}),t.stopPropagation()},children:[(0,i.jsx)(f.bL,{fill:"none",css:{marginRight:"$1"},children:(0,i.jsx)(f.fg,{})}),k("reserve")]})}):null,(0,i.jsx)(d(),{prefetch:!1,href:`#showtimeId=${e.id}&open`,passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(m.$,{variant:"secondary",size:"small",as:"a",css:{whiteSpace:"nowrap"},onClick:t=>{j({...v,showtimeId:e.id,open:"1"}),t.preventDefault(),t.stopPropagation()},children:k("more information")})})]}),e.ticketingUrl&&l?(0,i.jsx)(w.E,{size:"12",css:{color:"$suspiria6"},children:l}):null]})})})};var E=s(52129);let A=(0,v.I4)("ol",{"& li:not(:last-child)":{borderBottom:"1px solid $zorroA4"}}),D=({children:e,onEndReached:t,...s})=>(0,i.jsxs)(A,{...s,children:[e,t?(0,i.jsx)(E.p,{onInView:t}):null]}),O=(0,v.I4)("div",{backgroundColor:"$scream",$$paddingX:"$space$5",$$paddingY:"$space$2",paddingX:"$$paddingX",paddingY:"$$paddingY",borderBottom:"1px solid $zorroA4",userSelect:"none"}),_=({title:e,children:t,...s})=>(0,i.jsxs)("li",{children:[(0,i.jsx)(O,{...s,children:e?(0,i.jsx)(w.E,{size:"12",weight:"semibold",children:e}):null}),(0,i.jsx)("ol",{children:t})]}),R=({showtimes:e,openShowtime:t,onEndReached:s,shouldAlwaysShowDayHeading:a=!0,itemDisplayInfo:d,reserveDisclaimer:o})=>{let{locale:c}=(0,r.useRouter)(),[u,h]=(0,l.useState)(t),g=Object.entries((0,l.useMemo)(()=>e.reduce((e,t)=>
1{let s=(0,n.Zr)((0,n.ru)(new Date(t.startDate),new Date,c));return{...e,[s]:[...e[s]||[],t]}},{}),[c,e]));return(0,i.jsx)(D,{onEndReached:s,children:g.length>1||a?g.map(([e,t],s)=>(0,i.jsx)(_,{title:e,children:t.map((e,t)=>(0,i.jsx)(k,{showtime:e,displayInfo:d,reserveDisclaimer:o,isOpen:u?.id===e.id,onChangeIsOpen:t=>{t?h(e):h(void 0)}},`${t}-${e.id}`))},`${s}-${e}`)):e.map((e,t)=>(0,i.jsx)(k,{showtime:e,displayInfo:d,reserveDisclaimer:o,isOpen:u?.id===e.id,onChangeIsOpen:t=>{t?h(e):h(void 0)}},`${t}-${e.id}`))})}},69272:(e,t,s)=>{s.d(t,{x:()=>r});var i=s(6029),n=s(27295);let r=({children:e})=>(0,i.jsx)(n.E,{variant:"body5",css:{"&::before":{display:"inline-block",content:"",width:"10px",height:"10px",marginRight:"6px",backgroundColor:"$zorro",borderRadius:"5px"}},children:e})},77659:(e,t,s)=>{s.d(t,{c:()=>r});var i=s(35858),n=s(55729);function r(e){return(0,n.useCallback)(t=>(0,i.gD)(e)(t),[e])}},88987:(e,t,s)=>{s.d(t,{M:()=>i});function i(){return{startWeekday:parseInt("2",10),lengthInDays:parseInt("9",10),startHour:4,timezone:"Europe/Amsterdam"}}},96068:(e,t,s)=>{s.d(t,{y:()=>l});var i=s(89099),n=s(97036),r=s(55729);let l=()=>{let e=(0,i.useRouter)(),t=e=>{let t=e.match(/#(.*)/);return t?(0,n.parse)(t[1]):{}},[s,l]=(0,r.useState)(t(e.asPath));(0,r.useEffect)(()=>{let s=e=>l(t(e));return e.events.on("hashChangeComplete",s),e.events.on("beforeHistoryChange",s),()=>{e.events.off("hashChangeComplete",s),e.events.off("beforeHistoryChange",s)}},[e]);let a=(0,r.useCallback)(t=>{let s=e.asPath.split("#")[0],i=t&&Object.keys(t).length?`#${(0,n.stringify)(t)}`:"",r=`${s}${i}`;e.asPath!==r&&e.replace(r,void 0,{shallow:!0,scroll:!1})},[e]);return{isReady:e.isReady,parameters:s,setParameters:a}}},99114:(e,t,s)=>{s.d(t,{A:()=>l,g:()=>r});var i=s(29784),n=s(46334);let r=(0,i.vt)((0,n.Zr)(e=>({setGlobalFilters:t=>e(t)}),{name:"global-filters",version:1})),l=(0,i.vt)((0,n.Zr)(e=>({setGlobalFilters:t=>e(t)}),{name:"festival-filters"}))}}]);

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.