1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9603],{3417:function(e,s,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return c(4450)}])},4450:function(e,s,c){"use strict";c.r(s),c.d(s,{default:function(){return x}});var r=c(5893),a=c(3432),t=c(8744),n=c(1163),i=c(6634),l=c(5675),o=c.n(l),d=c(8678),u=c(229),h=c(7294);function x(){let e=(0,n.useRouter)(),[s,c]=(0,h.useState)("loading"),[l,x]=(0,h.useState)([]);return(0,h.useEffect)(()=>{let{query:s}=e.query;s&&(0,u.Ji)(s).then(e=>{e&&"Success"===e.message?(c("success"),x(e.data)):c("fail")})},[e.isReady,e.query]),(0,r.jsx)(d.Z,{children:(0,r.jsxs)("div",{className:"search",children:[(0,r.jsxs)("h2",{className:"stikyTitle",children:[(0,r.jsx)("button",{className:"backButton",onClick:()=>window.history.back(),children:(0,r.jsx)(o(),{src:i.Z})}),(0,r.jsx)("span",{children:e.query.query})]}),"success"==s?(0,r.jsxs)(r.Fragment,{children:["(",l.extendedCatalog&&l.extendedCatalog.length>0?(0,r.jsxs)("div",{className:"catalog-container row",children:[(console.log(l.extendedCatalog),l.extendedCatalog.map((e,s)=>(0,r.jsx)("div",{className:"col-xl-3 col-lg-4 col-md-6",children:(0,r.jsx)(a.Z,{...e,poster:e.imagen,comercialModel:e.commercialModel},"".concat(s,"-").concat(e.id))},e.id))),(0,r.jsx)("a",{href:"search/details?type=CONTENT_METADATA&query="+encodeURI(e.query.query),children:"Ver m\xe1s"})]}):(0,r.jsx)(r.Fragment,{}),") (",l.directors&&l.directors.length>0?(0,r.jsxs)("div",{className:"catalog-container direccion row",children:[(0,r.jsx)("h2",{children:"Directores"}),(0,r.jsx)(t.Z,{data:l.directors,baseItems:8,castType:"DIRECTORS"}),(0,r.jsx)("a",{href:"search/details?type=DIRECTORS&query="+encodeURI(e.query.query),children:"Ver m\xe1s"})]}):(0,r.jsx)(r.Fragment,{}),") (",l.actors&&l.actors.length>0?(0,r.jsxs)("div",{className:"catalog-container direccion row",children:[(0,r.jsx)("h2",{children:"Actores"}),(0,r.jsx)(t.Z,{data:l.actors,baseItems:8,castType:"ACTORS"}),(0,r.jsx)("a",{href:"search/details?type=ACTORS&query="+encodeURI(e.query.query),children:"Ver m\xe1s"})]}):(0,r.jsx)(r.Fragment,{}),")"]}):(0,r.jsx)(r.Fragment,{})]})})}}},function(e){e.O(0,[571,5675,1664,6024,5678,7633,8678,9628,9774,2888,179],function(){return e(e.s=3417)}),_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.