PageSourceSearch

https://www.ibbyespana.org/_nuxt/m8u8sTYz.js

js ibbyespana.org collected 2026-10-09 04:57:44 UTC 4,036 bytes, 1 lines download raw bytes

1import{_ as I}from"./Bm-pG40t.js";import{_ as N}from"./DkbWTr94.js";import{_ as P}from"./DljuS7ff.js";import{_ as j}from"./Bd_soB6W.js";import V from"./Mf6YLvm-.js";import{_ as F}from"./B-Kva4Kc.js";import{e as w,o as n,c as l,a as o,b as c,t as s,k as x,A as b,w as h,d as g,m as L,i as S,j as u,F as v,n as k,y as A,r as T,l as f}from"./DDBFNsVF.js";import{_ as q}from"./7EqR2UpD.js";import{u as D}from"./DXxXSXnx.js";import"./DNX4q4NN.js";import"./93ZyYvjj.js";const E={class:"group bg-cream rounded-xl overflow-hidden shadow-sm ring-1 ring-neutral-200 transition-all duration-300 hover:shadow-md hover:-translate-y-1"},H={class:"flex flex-col sm:flex-row"},O={class:"sm:w-40 lg:w-48 flex-shrink-0"},G={class:"aspect-[2/3] overflow-hidden"},J={class:"p-5 flex flex-col justify-between flex-1"},K={class:"flex items-center gap-2 mb-2"},M={class:"text-xs text-neutral-500"},Q={class:"font-heading font-semibold text-neutral-900 text-lg leading-snug mb-2 group-hover:text-secondary-500 transition-colors line-clamp-2"},R={key:0,class:"text-sm text-neutral-600 leading-relaxed line-clamp-3 mb-4"},W={class:"flex items-center gap-3"},X=w({__name:"PublicationCard",props:{title:{},description:{},coverImage:{},type:{},year:{},downloadUrl:{},externalUrl:{}},setup(e){return(i,p)=>{const a=P,m=j,r=V,_=F;return n(),l("div",E,[o("div",H,[o("div",O,[o("div",G,[c(a,{src:e.coverImage,alt:e.title,class:"w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",loading:"lazy"},null,8,["src","alt"])])]),o("div",J,[o("div",null,[o("div",K,[c(m,{label:e.type},null,8,["label"]),o("span",M,s(e.year),1)]),o("h3",Q,s(e.title),1),e.description?(n(),l("p",R,s(e.description),1)):x("",!0)]),o("div",W,[e.downloadUrl?(n(),b(_,{key:0,to:e.downloadUrl,variant:"primary",size:"sm"},{default:h(()=>[c(r,{name:"heroicons:arrow-down-tray",class:"w-4 h-4"}),g(" "+s(i.$t("publications.download")),1)]),_:1},8,["to"])):x("",!0),e.externalUrl?(n(),b(_,{key:1,to:e.externalUrl,variant:"outline",size:"sm"},{default:h(()=>[c(r,{name:"heroicons:arrow-top-right-on-square",class:"w-4 h-4"}),g(" "+s(i.$t("publications.visit")),1)]),_:1},8,["to"])):x("",!0)])])])])}}}),Y=Object.assign(X,{__name:"ContentPublicationCard"}),Z={class:"site-container py-8"},tt={class:"text-3xl sm:text-4xl font-bold text-secondary-500 mt-6 mb-8"},et={class:"flex flex-wrap gap-3 mb-8"},ot=["onClick"],nt={key:0,class:"space-y-6"},at={key:1,class:"text-center py-12 text-neutral-500"},ht=w({__name:"index",async setup(e){let i,p;const{t:a}=L(),{data:m}=([i,p]=S(()=>D()),i=await i,p(),i),r=T("all"),_=f(()=>[{key:"all",label:a("publications.filter_all")},{key:"book",label:a("publications.filter_books")},{key:"magazine",label:a("publications.filter_magazines")},{key:"report",label:a("publications.filter_reports")},{key:"guide",label:a("publications.filter_guides")}]),y=f(()=>r.value==="all"?m.value:m.value.filter(d=>d.type===r.value)),$=f(()=>[{label:a("nav.home"),to:"/"},{label:a("publications.title")}]);return(d,lt)=>{const C=I,U=N,B=Y,z=q;return n(),l("div",null,[c(C,{title:d.$t("seo.publications_title"),description:d.$t("about.intro")},null,8,["title","description"]),o("div",Z,[c(U,{items:u($)},null,8,["items"]),o("h1",tt,s(d.$t("publications.title")),1),o("div",et,[(n(!0),l(v,null,k(u(_),t=>(n(),l("button",{key:t.key,class:A(["px-4 py-2 rounded-full text-sm font-medium transition-colors",u(r)===t.key?"bg-primary-500 text-cream":"bg-neutral-100 text-neutral-600 hover:bg-neutral-200"]),onClick:st=>r.value=t.key},s(t.label),11,ot))),128))]),u(y).length?(n(),l("div",nt,[(n(!0),l(v,null,k(u(y),t=>(n(),b(z,{key:t.id,to:`/publicaciones/${t.slug}`,class:"block"},{default:h(()=>[c(B,{title:t.title,description:t.description,"cover-image":t.coverImage,type:t.type,year:t.year,"download-url":t.downloadUrl,"external-url":t.externalUrl},null,8,["title","description","cover-image","type","year","download-url","external-url"])]),_:2},1032,["to"]))),128))])):(n(),l("p",at,s(d.$t("publications.no_publications")),1))])])}}});export{ht as default};

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.