module.exports=[53539,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(62125),j=a.i(5999),k=a.i(39353),l=a.i(9823),m=a.i(8453),n=a.i(84433),o=b([f,g,h,i,n]);[f,g,h,i,n]=o.then?(await o)():o;let p=(0,j.default)("components.TvDetails",{similar:"Similar Series"});a.s(["default",0,()=>{let a=(0,l.useRouter)(),b=(0,m.useIntl)(),{data:c}=(0,n.default)(`/api/v1/tv/${a.query.tvId}`),{isLoadingInitialData:j,isEmpty:o,isLoadingMore:q,isReachingEnd:r,titles:s,fetchMore:t,error:u}=(0,h.default)(`/api/v1/tv/${a.query.tvId}/similar`);return u?(0,d.jsx)(i.default,{statusCode:500}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.default,{title:[b.formatMessage(p.similar),c?.name]}),(0,d.jsx)("div",{className:"mb-5 mt-1",children:(0,d.jsx)(e.default,{subtext:(0,d.jsx)(k.default,{href:`/tv/${c?.id}`,className:"hover:underline",children:c?.name}),children:b.formatMessage(p.similar)})}),(0,d.jsx)(f.default,{items:s,isEmpty:o,isReachingEnd:r,isLoading:j||q&&(s?.length??0)>0,onScrollBottom:t})]})}]),c()}catch(a){c(a)}},!1),40881,a=>a.a(async(b,c)=>{try{var d=a.i(8171),e=a.i(53539),f=b([e]);[e]=f.then?(await f)():f,a.s(["default",0,()=>(0,d.jsx)(e.default,{})]),c()}catch(a){c(a)}},!1),40290,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(40881),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:"/tv/[tvId]/similar",pathname:"/tv/[tvId]/similar",bundlePath:"",filename:""},distDir:".next",relativeProjectDir:"",components:{App:h.default,Document:g.default},userland:i}),x=(0,j.getHandler)({srcPage:"/tv/[tvId]/similar",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=_0obm51r._.js.map