1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[332],{16760:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(36372)}])},28179:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(55729);let s=function(e,t){var r=(0,n.useState)(null),s=r[0],i=r[1];return(0,n.useEffect)(function(){if(e.current&&"function"==typeof IntersectionObserver){var r=new IntersectionObserver(function(e){i(e[0])},t);return r.observe(e.current),function(){i(null),r.disconnect()}}return function(){}},[e.current,t.threshold,t.root,t.rootMargin]),s}},36372:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>d,default:()=>v,getfilmsPerFeaturedFilmsComponent:()=>f});var n=r(6029),s=r(65911),i=r(35858),u=r(77328),l=r.n(u),o=r(10553),a=r(29556),c=r(43926),d=!0;let f=async(e,t,r)=>{let n=e.attributes.content.filter(e=>"pages.featured-films"===e.__component);return(await Promise.allSettled(n.map(async({id:e,collection:n})=>{let{data:u}=await (0,s.kY)(t,{locale:r,collection:(0,s.Xy)([n])});return{id:e,films:u.sort(i.ev).slice(0,4)}}))).reduce((e,t)=>{let r="fulfilled"===t.status&&t.value?t.value:null;return r&&(e[r.id]=r.films),e},{})},v=({page:{title:e,seo:t,content:r},filmsPerFeaturedFilmsComponent:s,settings:i})=>{let{data:u}=(0,o.useSession)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l(),{children:(0,n.jsx)("title",{children:e})}),(0,n.jsx)(c.d,{seo:t||void 0,defaultImage:i?.defaultImage.data?.attributes}),r?(0,n.jsx)(a.L,{components:r,settings:i||void 0,userId:u?.user?.id,filmsPerFeaturedFilmsComponent:s}):null]})}},43926:(e,t,r)=>{"use strict";r.d(t,{d:()=>i});var n=r(6029),s=r(92634);let i=({seo:e,defaultImage:t,...r})=>{let{titleForSeo:i,description:u,image:l,canonicalUrl:o,shouldIndex:a=!0}=e||{},c=l?.data?.attributes||t;return(0,n.jsx)(s.g,{titleForSeo:i||void 0,description:u||void 0,image:c,canonicalUrl:o||void 0,shouldIndex:a||void 0,...r})}},52129:(e,t,r)=>{"use strict";r.d(t,{p:()=>u});var n=r(6029),s=r(55729),i=r(28179);let u=({onInView:e,options:t={}})=>{let r=(0,s.useRef)(null),u=(0,i.A)(r,t);return(0,s.useEffect)(()=>{u?.isIntersecting&&e()},[e,u]),(0,n.jsx)("div",{ref:r})}}},e=>{e.O(0,[593,584,613,394,175,556,636,792],()=>e(e.s=16760)),_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.