module.exports=[75126,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(9823),l=a.i(8453),m=b([f,g,h,i]);[f,g,h,i]=m.then?(await m)():m;let n=(0,j.default)("components.Search",{search:"Search",searchresults:"Search Results"});a.s(["default",0,()=>{let a=(0,l.useIntl)(),b=(0,k.useRouter)(),{isLoadingInitialData:c,isEmpty:j,isLoadingMore:m,isReachingEnd:o,titles:p,fetchMore:q,error:r}=(0,h.default)("/api/v1/search",{query:b.query.query},{hideAvailable:!1,hideBlocklisted:!1});return r?(0,d.jsx)(i.default,{statusCode:500}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.default,{title:a.formatMessage(n.search)}),(0,d.jsx)("div",{className:"mb-5 mt-1",children:(0,d.jsx)(e.default,{children:a.formatMessage(n.searchresults)})}),(0,d.jsx)(f.default,{items:p,isEmpty:j,isLoading:c||m&&(p?.length??0)>0,isReachingEnd:o,onScrollBottom:q})]})}]),c()}catch(a){c(a)}},!1),59485,a=>a.a(async(b,c)=>{try{var d=a.i(8171),e=a.i(75126),f=b([e]);[e]=f.then?(await f)():f,a.s(["default",0,()=>(0,d.jsx)(e.default,{})]),c()}catch(a){c(a)}},!1),8034,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(59485),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:"/search",pathname:"/search",bundlePath:"",filename:""},distDir:".next",relativeProjectDir:"",components:{App:h.default,Document:g.default},userland:i}),x=(0,j.getHandler)({srcPage:"/search",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=_0vz5jvo._.js.map