PageSourceSearch

https://pianotaku-test.lovable.app/assets/genero._slug-BlZ_qMiR.js

js pianotaku-test.lovable.app collected 2026-10-03 03:40:08 UTC 1,773 bytes, 1 lines download raw bytes

1import{w as n,u as l,r as c,j as e,L as d}from"./index-CBFIZxpq.js";import{a as p,b as g}from"./AppLayout-C2N1O54Y.js";import{S as x}from"./SeriesCard-wWQJmDlU.js";import{B as u}from"./Breadcrumbs-BsbD_z6E.js";import"./sparkles-CM4-FbEj.js";import"./badge-C38jEAA_.js";import"./smart-image-BjhyrLhd.js";import"./play-pt8wYq_d.js";import"./chevron-right-bIRo5roA.js";function C(){const{slug:i}=n.useParams(),t=decodeURIComponent(i),{data:o=[],isLoading:m}=l({queryKey:["series"],queryFn:g}),a=c.useMemo(()=>o.filter(s=>s.genres?.some(r=>r.toLowerCase()===t.toLowerCase())),[o,t]);return e.jsx(p,{children:e.jsxs("div",{className:"max-w-[1440px] mx-auto px-4 sm:px-6 py-8",children:[e.jsx(u,{items:[{name:"Inicio",path:"/"},{name:"Catálogo",path:"/catalogo"},{name:t}]}),e.jsx("p",{className:"text-xs uppercase tracking-wider text-muted-foreground mb-1",children:"Género"}),e.jsx("h1",{className:"font-heading text-3xl font-bold mb-2 capitalize",children:t}),e.jsxs("p",{className:"text-sm text-muted-foreground mb-6",children:[a.length," ",a.length===1?"serie":"series"," en este género"]}),m?e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-4",children:Array.from({length:10}).map((s,r)=>e.jsx("div",{className:"aspect-[3/4] rounded-xl bg-secondary animate-pulse"},r))}):a.length?e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-4",children:a.map((s,r)=>e.jsx(x,{series:s,index:r},s.id))}):e.jsxs("div",{className:"text-center py-20",children:[e.jsx("p",{className:"text-muted-foreground",children:"No hay series en este género todavía."}),e.jsx(d,{to:"/catalogo",className:"text-primary text-sm mt-4 inline-block",children:"Ver el catálogo completo"})]})]})})}export{C as component};

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.