module.exports=[66544,a=>a.a(async(b,c)=>{try{var d=a.i(8171),e=a.i(81232),f=a.i(70134),g=a.i(47928),h=a.i(82799),i=a.i(18593),j=a.i(62125),k=a.i(5999),l=a.i(9823),m=a.i(8453),n=b([f,g,h,j]);[f,g,h,j]=n.then?(await n)():n;let o=(0,k.default)("components.Discover.DiscoverMovieLanguage",{languageMovies:"{language} Movies"});a.s(["default",0,()=>{let a=(0,l.useRouter)(),b=(0,m.useIntl)(),{isLoadingInitialData:c,isEmpty:k,isLoadingMore:n,isReachingEnd:p,titles:q,fetchMore:r,error:s}=(0,h.default)(`/api/v1/discover/movies/language/${a.query.language}`);if(s)return(0,d.jsx)(j.default,{statusCode:500});let t=c?b.formatMessage(i.default.loading):b.formatMessage(o.languageMovies,{language:b.formatDisplayName(a.query.language,{type:"language",fallback:"none"})});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.default,{title:t}),(0,d.jsx)("div",{className:"mb-5 mt-1",children:(0,d.jsx)(e.default,{children:t})}),(0,d.jsx)(f.default,{items:q,isEmpty:k,isLoading:c||n&&(q?.length??0)>0,isReachingEnd:p,onScrollBottom:r})]})}]),c()}catch(a){c(a)}},!1),66138,a=>a.a(async(b,c)=>{try{var d=a.i(8171),e=a.i(66544),f=b([e]);[e]=f.then?(await f)():f,a.s(["default",0,()=>(0,d.jsx)(e.default,{})]),c()}catch(a){c(a)}},!1),80936,a=>a.a(async(b,c)=>{try{var d=a.i(85296),e=a.i(31043),f=a.i(52118),g=a.i(17359),h=a.i(68695),i=a.i(66138),j=a.i(47550),k=b([h,i]);[h,i]=k.then?(await k)():k;let l=(0,f.hoist)(i,"default"),m=(0,f.hoist)(i,"getStaticProps"),n=(0,f.hoist)(i,"getStaticPaths"),o=(0,f.hoist)(i,"getServerSideProps"),p=(0,f.hoist)(i,"config"),q=(0,f.hoist)(i,"reportWebVitals"),r=(0,f.hoist)(i,"unstable_getStaticProps"),s=(0,f.hoist)(i,"unstable_getStaticPaths"),t=(0,f.hoist)(i,"unstable_getStaticParams"),u=(0,f.hoist)(i,"unstable_getServerProps"),v=(0,f.hoist)(i,"unstable_getServerSideProps"),w=new d.PagesRouteModule({definition:{kind:e.RouteKind.PAGES,page:"/discover/movies/language/[language]/index",pathname:"/discover/movies/language/[language]",bundlePath:"",filename:""},distDir:".next",relativeProjectDir:"",components:{App:h.default,Document:g.default},userland:i}),x=(0,j.getHandler)({srcPage:"/discover/movies/language/[language]/index",config:p,userland:i,routeModule:w,getStaticPaths:n,getStaticProps:m,getServerSideProps:o});a.s(["config",0,p,"default",0,l,"getServerSideProps",0,o,"getStaticPaths",0,n,"getStaticProps",0,m,"handler",0,x,"reportWebVitals",0,q,"routeModule",0,w,"unstable_getServerProps",0,u,"unstable_getServerSideProps",0,v,"unstable_getStaticParams",0,t,"unstable_getStaticPaths",0,s,"unstable_getStaticProps",0,r]),c()}catch(a){c(a)}},!1)];

//# sourceMappingURL=_0dfbkb_._.js.map