1import{_ as Pe}from"./D2nF2w0W.js";import{d as q,r as S,h as Z,o as fe,v as Ee,b as t,c as o,n as V,e as s,j as C,_ as ee,t as f,x as Ie,F as L,l as j,y as pe,g as v,s as c,z as te,A as Ne,B as be,f as m,m as I,i as P,u as Be,a as Le,k as K,C as ue,D as ce,E as Re,R as de}from"./DAfNz0Uy.js";import{_ as je}from"./Cg2J696J.js";import{_ as he}from"./DOC6f3WO.js";import{_ as Fe}from"./DbjMCelL.js";import{u as Me}from"./Dv7IFMJ5.js";import{f as Te,i as Q,g as ze,a as Ve}from"./CmMqz9uY.js";import{d as Ue,b as De,s as Oe}from"./Cj7KpypS.js";import{S as qe}from"./5lGDPT-p.js";import{S as Xe}from"./fLK9tivD.js";import{C as Je}from"./CtbRiuxs.js";import{C as We}from"./BsoBndRl.js";import{B as Ye}from"./D1zrZdvs.js";import{u as Ge}from"./hDIJ_Ajl.js";import{u as He}from"./gtC_3iWW.js";import{u as Ke}from"./30waLltj.js";import{u as Qe}from"./qqW0xY5J.js";/* empty css */import"./CtC0hJ-R.js";import"./BVw648-v.js";import"./C7b985Jf.js";import"./Dp2L3E9a.js";const Ze=["disabled"],et={key:0,class:"player-content-row"},tt={class:"audio-duration-text"},at={key:1,class:"player-content-row expanded-row"},st={class:"time-current-text"},ot=["max","value"],it={class:"time-total-text"},ve=40,lt=q({__name:"TextVoice",props:{audioUrl:{},durationTotal:{}},setup(u){const x=u,p=S(!1),b=S(!1),g=S(0),d=S(Number(x.durationTotal)||0),y=S(-1),k=S(null),N=c(()=>{if(d.value>0){const a=Math.floor(d.value/60),r=Math.floor(d.value%60);return`${a}:${r.toString().padStart(2,"0")}`}return x.audioUrl?"Cargando...":""}),U=c(()=>d.value>0&&g.value>=0?Math.min(100,g.value/d.value*100):0);let A=null;const w=()=>{const a=k.value;if(!a)return;A?.abort(),A=new AbortController;const{signal:r}=A;a.addEventListener("play",()=>{p.value=!0},{signal:r}),a.addEventListener("pause",()=>{p.value=!1},{signal:r}),a.addEventListener("durationchange",()=>{a.duration&&isFinite(a.duration)&&(d.value=a.duration)},{signal:r}),a.addEventListener("loadedmetadata",()=>{a.duration&&isFinite(a.duration)&&(d.value=a.duration),b.value=!1},{signal:r}),a.addEventListener("timeupdate",()=>{isFinite(a.currentTime)&&(g.value=a.currentTime)},{signal:r}),a.addEventListener("ended",()=>{p.value=!1,g.value=0},{signal:r}),a.addEventListener("canplay",()=>{b.value=!1},{signal:r}),a.addEventListener("waiting",()=>{b.value=!0},{signal:r}),a.addEventListener("playing",()=>{b.value=!1},{signal:r}),a.addEventListener("error",_=>{console.error("Error cargando audio:",_),b.value=!1,p.value=!1},{signal:r}),x.audioUrl&&(a.preload="metadata",a.src=x.audioUrl,a.load())};Z(()=>x.audioUrl,a=>{a&&k.value&&w()}),fe(()=>{w()}),Ee(()=>{A?.abort(),A=null,k.value&&k.value.pause()});const e=()=>{const a=k.value;!a||!x.audioUrl||(p.value?a.pause():a.play().catch(r=>{console.error("Error playing audio:",r),p.value=!1}))},B=a=>{if(!a||isNaN(a)||a<0)return"0:00";const r=Math.floor(a/60),_=Math.floor(a%60);return`${r}:${_.toString().padStart(2,"0")}`},F=a=>{const r=k.value;if(!r||d.value<=0)return;const h=a.currentTarget.getBoundingClientRect(),X=a.clientX-h.left,T=Math.max(0,Math.min(1,X/h.width))*d.value;r.currentTime=T},M=a=>{const _=a.currentTarget.getBoundingClientRect(),h=a.clientX-_.left;y.value=Math.max(0,Math.min(100,h/_.width*100))},D=()=>{y.value=-1},O=a=>{const r=k.value;if(!r||d.value<=0)return;const _=a.target;r.currentTime=parseFloat(_.value)};return(a,r)=>{const _=ee;return t(),o("div",{class:V(["custom-audio-player",{"is-playing":p.value}])},[s("button",{class:"player-control-btn",onClick:e,disabled:b.value},[b.value?(t(),C(_,{key:0,name:"heroicons:arrow-path",class:"w-5 h-5 animate-spin"}
1)):p.value?(t(),C(_,{key:1,name:"heroicons:pause-solid",class:"w-5 h-5"})):(t(),C(_,{key:2,name:"heroicons:play-solid",class:"w-5 h-5 ml-0.5"}))],8,Ze),p.value?(t(),o("div",at,[s("span",st,f(B(g.value)),1),s("div",{class:"audio-visualizer expanded-bars",onClick:F,onMousemove:M,onMouseleave:D},[(t(),o(L,null,j(ve,h=>s("div",{key:h,class:V(["wave-bar",{active:h<=Math.ceil(U.value/100*ve)}])},null,2)),64)),y.value>=0?(t(),o("div",{key:0,class:"hover-progress-line",style:pe({left:y.value+"%"})},null,4)):v("",!0),s("input",{type:"range",class:"invisible-progress-slider",min:0,max:d.value,value:g.value,onInput:O,onChange:O,step:"0.1"},null,40,ot)],32),s("span",it,f(N.value),1)])):(t(),o("div",et,[r[0]||(r[0]=s("span",{class:"audio-label-text"},"Escuchar artÃculo",-1)),s("span",tt,f(N.value),1),r[1]||(r[1]=Ie('<div class="audio-visualizer static-bars" data-v-7c4ea849><div class="wave-bar" data-v-7c4ea849></div><div class="wave-bar" data-v-7c4ea849></div><div class="wave-bar" data-v-7c4ea849></div><div class="wave-bar" data-v-7c4ea849></div><div class="wave-bar" data-v-7c4ea849></div><div class="wave-bar" data-v-7c4ea849></div><div class="wave-bar" data-v-7c4ea849></div><div class="wave-bar" data-v-7c4ea849></div><div class="wave-bar" data-v-7c4ea849></div><div class="wave-bar" data-v-7c4ea849></div></div>',1))])),s("audio",{ref_key:"audioElement",ref:k,preload:"none",class:"hidden"},null,512)],2)}}}),rt=Object.assign(te(lt,[["__scopeId","data-v-7c4ea849"]]),{__name:"FeaturesRevistasTextVoice"}),nt=["disabled"],ut={class:"flex-grow min-w-0 grid grid-cols-1 md:grid-cols-2 gap-3 md:gap-6 items-center"},ct={class:"min-w-0 flex flex-col justify-center"},dt={key:0,class:"min-w-0"},vt={class:"text-xs text-slate-500 font-medium truncate mb-0.5"},mt={key:0},ft=["title"],pt={key:0,class:"text-xs text-slate-600 md:text-right flex flex-col gap-0.5 justify-center md:items-end"},bt={class:"font-medium"},ht={class:"text-xs text-slate-400 font-mono"},gt={key:0},_t={key:1},xt={key:2},yt=["disabled"],wt=q({__name:"NavArticulo",props:{articulo:{},revista:{},isNav:{type:Boolean,default:!0}},setup(u){const x=u,p=Ne(),b=be(),g=c(()=>b.params.slug),d=c(()=>!!x.articulo?.previous),y=c(()=>!!x.articulo?.next),k=()=>{d.value&&p.push(`/revistas/edicion/${g.value}/${x.articulo.previous.slug}`)},N=()=>{y.value&&p.push(`/revistas/edicion/${g.value}/${x.articulo.next.slug}`)};return(U,A)=>{const w=ee;return t(),o("div",{class:V(["nav-articulo border border-slate-200/60 bg-slate-50 rounded-lg p-3.5 mb-6 flex items-center justify-between gap-3",{"no-print":u.isNav}])},[u.isNav&&d.value?(t(),o("button",{key:0,onClick:k,disabled:!d.value,class:"nav-btn flex items-center justify-center w-8 h-8 rounded-full border border-slate-200 bg-white text-slate-600 hover:text-brand-seventh hover:border-brand-seventh disabled:opacity-40 disabled:hover:text-slate-600 disabled:hover:border-slate-200 transition-all cursor-pointer disabled:cursor-not-allowed shrink-0",title:"ArtÃculo anterior","aria-label":"ArtÃculo anterior"},[m(w,{name:"heroicons:chevron-left-20-solid",class:"w-5 h-5"})],8,nt)):v("",!0),s("div",ut,[s("div",ct,[u.articulo?(t(),o("div",dt,[s("div",vt,[(t(!0),o(L,null,j(u.articulo.staffs,(e,B)=>(t(),o("span",{key:e.id},[I(f(e.nombre_completo||e.nombre),1),Number(B)<u.articulo.staffs.length-1?(t(),o("span",mt,", ")):v("",!0)]))),128))]),s("h4",{class:"text-xs sm:text-sm text-slate-800 truncate",title:u.articulo.titulo},f(u.articulo.titulo),9,ft)])):v("",!0)]),u.revista?(t(),o("div",pt,[s("div",bt," Número "+f(u.revista.edicion)+" ⢠"+f(P(Te)(u.revista.fecha_publicacion))+" ⢠pp. "+f(u.articulo.paginas||""),1),s("div",ht,[u.revista.issn2?(t(),o("span",gt,"ISSN "+f(u.revista.issn2),1)):v("",!0),u.revista.issn2&&u.revista.issn?(t(),o("span",_t," ⢠")):v("",!0),u.revista.issn?(t(),o("span",xt,"ISSN "+f(u.revista.issn),1)):v("",!0)])])):v("",!0)]),u.isNav&&y.value?(t(),o("button",{key:1,onClick:N,disabled:!y.value,class:"nav-btn flex items-center justify-center w-8 h-8 rounded-full border border-slate-200 bg-white text-slate-600 hover:text-brand-seventh hover:border-brand-seventh disabled:opacity-40 disabled:hover:text-slate-600 disabled:hover:border-slate-200 transition-all cursor-pointer disabled:cursor-not-allowed shrink-0",title:"Siguiente artÃculo","aria-label":"Siguiente artÃculo"},[m(w,{name:"heroicons:chevron-right-20-solid",class:"w-5 h-5"})],8,yt)):v("",!0)],2)}}}),me=Object.assign(te(wt,[["__scopeId","data-v-cc773094"]]),{__name:"FeaturesRevistasNavArticulo"}),kt={class:"relative"},$t={class:"pro-preview-blur"},Ct=q({__name:"ProContentPreview",props:{content:{}},setup(u){return(x,p)=>(t(),o("div",kt,[s("div",$t,[m(he,{content:u.content,decode:!1,size:"sm",justify:""},null,8,["content"])]),p[0]||(p[0]=s("div",{class:"pointer-events-none absolute inset-x-0 bottom-0 h-28 bg-gradient-to-t from-white to-transparent"},null,-1))]))}}),St=Object.assign(te(Ct,[["__scopeId","data-v-f5a07cf3"]]),{__name:"FeaturesRevistasProContentPreview"}),At={class:""},Pt={key:0,class:"py-8"},Et={key:1,class:"mb-2 rounded-lg border border-slate-100 bg-slate-50 px-4 py-16 text-center"},It={key:0,class:"rounded-lg border border-slate-200 bg-slate-50 py-20 text-center"},Nt=["href"],Bt={key:1},Lt={class:"no-print mb-5 flex flex-wrap items-center gap-2 border-b border-slate-100 pb-3 text-xs font-bold uppercase tracking-widest text-slate-500"},Rt={class:"no-print mb-6 flex items-end justify-between gap-4"},jt={class:"ap-title-4 text-brand-first flex-1 leading-tight tracking-tight"},Ft={key:0,class:"mb-6"},Mt=["src","alt","loading","fetchpriority","decoding"],Tt={key:0,class:"mt-2 text-xs text-slate-400"},zt={class:"no-print mb-8 flex flex-col gap-4 border-y border-slate-100 py-3 sm:flex-row sm:items-center sm:justify-between"},Vt={key:0,class:"flex min-w-0 flex-1 flex-col gap-3"},Ut={class:"no-print relative flex w-full flex-wrap justify-end gap-2 sm:w-auto"},Dt=["disabled","title"],Ot={key:1,class:"mb-8"},qt={class:"text-brand-first flex items-center gap-2 text-base font-bold"},Xt={class:"mb-2 flex items-center justify-between border-b border-slate-100 pb-2"},Jt={class:"text-brand-second flex items-center gap-2 truncate text-xs font-bold"},Wt={class:"truncate"},Yt={class:"article-printable"},Gt={key:0,class:"ap-title-4 text-brand-second border-brand-seventh mb
1-8 border-l-4 pl-4"},Ht={key:3,class:"pointer-events-none absolute inset-x-0 bottom-0 h-24 bg-gradient-to-t from-white to-transparent"},Kt={key:2,class:"mt-16 w-full border-t-2 border-slate-100 pb-8 pt-8"},Qt={class:"space-y-4 font-light"},Zt=["id"],ea={class:"text-brand-second min-w-5 font-bold"},ta={class:"flex-1 leading-relaxed"},aa=["href"],Ca=q({__name:"[articuloSlug]",setup(u){const x=Re(),p=be(),b=c(()=>p.params.slug),g=c(()=>p.params.articuloSlug),d=Be(),{data:y}=Ke({module:"RD",item:b,cabecera:g}),{data:k,pending:N,error:U,refresh:A}=Me(()=>`/api/revista-digital/articulo/${g.value}`,{baseURL:x.public.API_WEB_URL,query:{revista:de.id},key:()=>`articulo-${b.value}-${g.value}`}),w=c(()=>k.value?.revista||{}),e=c(()=>k.value?.articulo||{}),B=Qe({priority:"lcp"}),F=c(()=>ze(e.value,"original")),M=c(()=>{const n=e.value?.descripcion_imagen;return Q(n)?n.trim():""}),D=n=>n.foto||"/images/foto-default-user.jpg",O=n=>(n.cargo_laboral||n.centro_estudios||n.profesion||"").trim(),a=c(()=>w.value?.plan_id??0),r=c(()=>!e.value||!e.value.area?"":Ve(e.value)),_=S(!1),h=c(()=>_.value&&d.auth),X=c(()=>({modulo:{edicion:b.value,slug:g.value,type:"revista-digital",web:"AP",url:`/revistas/edicion/${b.value}/${g.value}`},user:{id:d.usuario_info?.id??"",email:d.usuario_info?.ficha?.email??"",name:d.usuario_info?.ficha?.nombre_completo??""}})),ae=c(()=>h.value),T=c(()=>!!e.value?.requiere_suscripcion||Array.isArray(e.value?.contenidos)&&e.value.contenidos.some(n=>n.es_preview||n.plan_id!=0)),J=c(()=>!T.value||h.value),ge=c(()=>{const n=(e.value?.indice_contenidos||[]).map(E=>(E.subtitulo||"").trim()).filter(Boolean);if(n.length)return e.value?.referencias?.length&&n.push("Referencias bibliográficas"),n;const i=(e.value?.contenidos||[]).map(E=>(E.subtitulo||"").trim()).filter(Boolean);return e.value?.referencias?.length&&i.push("Referencias bibliográficas"),i}),_e=c(()=>!!(e.value?.audio||e.value?.references_audio)),W=n=>{if(h.value)return!1;if(n.es_preview)return!0;const E=(e.value?.contenidos||[]).find($=>Number($.plan_id)!==0);return!!(E&&E.id===n.id)},{setSubtitulos:xe,clearSubtitulos:se}=Ge();Z([e,h],()=>{const n=e.value?.contenidos;if(!Array.isArray(n)){se();return}xe(n.filter(i=>!!i.subtitulo).map(i=>({id:`articulo-subtitulo-${i.id}`,titulo:i.subtitulo})))},{immediate:!0}),Z(()=>d.auth,async(n,i)=>{d.ready&&n&&i===!1&&await A()}),Le(()=>{se(),window.removeEventListener("scroll",le)});const oe=c(()=>F.value||y.value?.image||w.value?.img_portada_grande||w.value?.img_portada||Ue()),ie=c(()=>y.value?.description||e.value?.resumen||e.value?.titulo||"ArtÃculo de la revista digital"),ye=c(()=>
1{if(!e.value?.titulo)return null;const n=Array.isArray(e.value.staffs)?e.value.staffs.map(i=>(i.nombre_completo||i.nombre||"").trim()).filter(Boolean):[];return{...De({type:"ScholarlyArticle",headline:y.value?.title||e.value.titulo,description:ie.value,image:oe.value,articleSection:"Revista digital",canonicalUrl:`${Oe()}/revistas/edicion/${b.value}/${g.value}`,authorName:n.length?n:void 0,isAccessibleForFree:!T.value,showPaywall:T.value&&!h.value}),isPartOf:w.value?.edicion?`${de.name} - Edición ${w.value.edicion}`:void 0,pagination:e.value.paginas||void 0}});He({title:()=>y.value?.title||e.value?.titulo||"",moduleLabel:()=>y.value?.title?void 0:"Revista digital",description:ie,path:()=>`/revistas/edicion/${b.value}/${g.value}`,type:"article",image:oe,jsonLd:ye,titleTemplate:"%s"});const we=()=>{J.value&&window.print()},z=S(0),ke=()=>{z.value<4&&z.value++},$e=()=>{z.value>-1&&z.value--},Ce=c(()=>({fontSize:{"-1":"0.875rem",0:"1rem",1:"1.125rem",2:"1.25rem",3:"1.375rem",4:"1.5rem"}[z.value]||"1rem"})),Y=S(null),R=S(!1),G=S(!1),Se=()=>{R.value=!1,G.value=!0};let H=!1;const le=()=>{H||(H=!0,requestAnimationFrame(()=>{Y.value&&(Y.value.getBoundingClientRect().bottom<0?G.value||(R.value=!0):(R.value=!1,G.value=!1)),H=!1}))};return fe(async()=>{_.value=!0,window.addEventListener("scroll",le,{passive:!0}),d.auth&&await A()}),(n,i)=>{const E=Pe,$=ee,re=je,ne=he,Ae=Fe;return t(),o("div",At,[P(N)?(t(),o("div",Pt,[m(E,{lines:12})])):P(U)||!e.value.id&&!P(N)?(t(),o("div",Et,[m($,{name:"heroicons:document-magnifying-glass",class:"mx-auto mb-4 h-16 w-16 text-slate-400"}),i[1]||(i[1]=s("h2",{class:"ap-title-3 text-brand-first mb-2"},"No se encontraron resultados",-1)),i[2]||(i[2]=s("p",{class:"mx-auto max-w-md text-slate-500"},"El artÃculo que buscas no está disponible en este momento.",-1)),m(re,{to:`/revistas/edicion/${b.value}`,class:"bg-brand-seventh hover:bg-brand-seventh-hover mt-6 inline-block rounded-lg px-6 py-2 font-bold text-white transition-colors"},{default:K(()=>[...i[0]||(i[0]=[I(" Volver a la edición ",-1)])]),_:1},8,["to"])])):(t(),o(L,{key:2},[e.value.pdf?(t(),o("div",It,[m($,{name:"heroicons:document-text",class:"mx-auto mb-4 h-20 w-20 text-slate-300"}),i[4]||(i[4]=s("h2",{class:"ap-title-3 text-brand-first mb-3"},"Este artÃculo es un PDF",-1)),i[5]||(i[5]=s("p",{class:"mb-8 text-slate-600"}," Próximamente implementaremos el lector de PDF integrado. Por ahora, puedes descargarlo directamente. ",-1)),s("a",{href:e.value.pdf,target:"_blank",class:"bg-brand-seventh hover:bg-brand-sixth inline-flex items-center gap-2 rounded-lg px-8 py-3 font-bold text-white shadow-sm transition-colors"},[m($,{name:"heroicons:arrow-down-tray",class:"h-6 w-6"}),i[3]||(i[3]=I(" Descargar archivo PDF ",-1))],8,Nt)])):(t(),o("div",Bt,[s("div",Lt,[m(re,{to:`/revistas/edicion/${b.value}`,class:"text-brand-seventh hover:text-brand-seventh-hover flex items-center gap-1 transition-colors"},{default:K(()=>[m($,{name:"heroicons:arrow-left",class:"h-3 w-3"}),I(" Edición "+f(w.value.edicion),1)]),_:1},8,["to"]),i[6]||(i[6]=s("span",{class:"mx-1 text-slate-300"},"/",-1)),s("span",null,f(r.value),1)]),s("div",Rt,[s("h1",jt,f(e.value.titulo),1)]),F.value?(t(),o("div",Ft,[s("img",{src:F.value,alt:M.value||e.value.titulo,width:"1069",height:"562",class:"mx-auto block h-auto w-full max-w-full rounded-lg object-contain object-center",loading:P(B).loading,fetchpriority:P(B).fetchpriority||"high",decoding:P(B).decoding},null,8,Mt),M.value?(t(),o("p",Tt,f(M.value),1)):v("",!0)])):v("",!0),s("div",zt,[e.value.staffs&&e.value.staffs.length?(t(),o("div",Vt,[(t(!0),o(L,null,j(e.value.staffs,l=>(t(),C(qe,{key:l.id,staff:{id:l.id,nombre_completo:(l.nombre_completo||l.nombre||"").trim(),profesion:l.profesion,cargo_laboral:O(l),foto_small:D(l),foto_medium:D(l)},class:"!border-t-0 !pt-0"},null,8,["staff"]))),128))])):v("",!0),s("div",Ut,[s("button",{type:"button",disabled:!J.value,title:J.value?"Imprimir artÃculo":"Inicia sesión para imprimir el artÃculo completo","aria-label":"Imprimir artÃculo",class:"hover:text-brand-seventh inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-500 transition-colors disabled:cursor-not-allowed disabled:opacity-50",onClick:we},[m($,{name:"heroicons:printer",class:"h-5 w-5"})],8,Dt),s("button",{type:"button",title:"Disminuir tamaño de letra","aria-label":"Disminuir tamaño de letra",class:"hover:text-brand-seventh inline-flex h-9 w-9 shrink-0 cursor-pointer items-center justify-center rounded-lg border border-slate-200 bg-white text-sm font-bold text-slate-600 transition-colors",onClick:$e}," A- "),s("button",{type:"button",title:"Aumentar tamaño de letra","aria-label":"Aumentar tamaño de letra",class:"hover:text-brand-seventh inline-flex h-9 w-9 shrink-0 cursor-pointer items-center justify-center rounded-lg border border-slate-200 bg-white text-sm font-bold text-slate-600 transition-colors",onClick:ke}
1," A+ "),i[7]||(i[7]=s("div",{class:"mx-1 hidden h-6 w-px shrink-0 self-center bg-slate-200 sm:block"},null,-1)),m(Je,{class:"sm:ml-1","show-twitter":""})])]),h.value&&e.value.staffs?.some(l=>P(Q)(l.curriculo))?(t(),o("div",Ot,[(t(!0),o(L,null,j(e.value.staffs,l=>(t(),o("div",{key:`cv-${l.id}`},[P(Q)(l.curriculo)?(t(),C(ne,{key:0,content:l.curriculo??"",decode:!1,size:"sm"},null,8,["content"])):v("",!0)]))),128))])):v("",!0),h.value?(t(),o("div",{key:2,ref_key:"audioPlaceholder",ref:Y,class:"no-print w-full"},[e.value.audio||e.value.references_audio?(t(),o("div",{key:0,class:V(["audio-player-container transition-all duration-300",R.value?"audio-player-floating audio-player-floating-without-btn":"audio-player-normal my-8 flex flex-col gap-3 rounded-lg border border-slate-200 bg-slate-50 p-5 shadow-sm"])},[ue(s("div",qt,[m($,{name:"heroicons:speaker-wave",class:"text-brand-seventh h-5 w-5"}),i[8]||(i[8]=I(" Escuchar artÃculo completo ",-1))],512),[[ce,!R.value]]),ue(s("div",Xt,[s("div",Jt,[m($,{name:"heroicons:speaker-wave",class:"h-4 w-4 shrink-0"}),s("span",Wt,f(e.value.titulo),1)]),s("button",{onClick:Se,class:"text-slate-400 hover:text-slate-600","aria-label":"Cerrar"},[m($,{name:"heroicons:x-mark",class:"h-4 w-4"})])],512),[[ce,R.value]]),m(rt,{audioUrl:e.value.audio??""},null,8,["audioUrl"])],2)):v("",!0)],512)):v("",!0),s("div",Yt,[m(me,{articulo:e.value,revista:w.value},null,8,["articulo","revista"]),h.value&&e.value.subtitulo?(t(),o("h2",Gt,f(e.value.subtitulo),1)):v("",!0),s("div",{class:"article-body article-body-custom",style:pe(Ce.value)},[(t(!0),o(L,null,j(e.value.contenidos,l=>(t(),o("div",{key:l.id,class:V(["mb-10",W(l)?"relative":""])},[l.subtitulo?(t(),C(Ae,{key:0,id:"articulo-subtitulo-"+l.id,level:5,class:"mb-4 scroll-mt-28"},{default:K(()=>[I(f(l.subtitulo),1)]),_:2},1032,["id"])):v("",!0),W(l)?(t(),C(St,{key:1,content:l.contenido??""},null,8,["content"])):(t(),C(ne,{key:2,content:l.contenido??"",decode:!1,size:"sm",justify:""},null,8,["content"])),W(l)?(t(),o("div",Ht)):v("",!0)],2))),128))],4),!h.value&&(e.value.requiere_suscripcion||e.value.contenidos?.some(l=>l.es_preview))?(t(),C(Xe,{key:1,variant:"revista","show-audio":_e.value,toc:ge.value},null,8,["show-audio","toc"])):v("",!0),m(me,{articulo:e.value,revista:w.value,isNav:!1,class:"mt-12"},null,8,["articulo","revista"]),h.value&&e.value.referencias&&e.value.referencias.length?(t(),o("div",Kt,[i[10]||(i[10]=s("div",{class:"mb-6 flex items-center gap-2"},[s("h2",{class:"ap-title-5 text-brand-first leading-none"},"Referencias bibliográficas")],-1)),s("ul",Qt,[(t(!0),o(L,null,j(e.value.referencias,l=>(t(),o("li",{key:l.id,id:l.href_id,class:"flex gap-4 text-justify text-sm text-slate-600"},[s("span",ea,f(l.palabra_clave)+".",1),s("div",ta,[I(f(l.contenido)+" ",1),s("a",{href:"#"+l.sup_id,class:"hover:bg-brand-seventh ml-2 inline-flex items-center gap-1 rounded-full bg-slate-100 px-2 py-0.5 text-xs font-bold text-slate-500 transition-colors hover:text-white",title:"Volver al texto"},[m($,{name:"heroicons:arrow-up",class:"h-3 w-3"}),i[9]||(i[9]=I(" Volver ",-1))],8,aa)])],8,Zt))),128))])])):v("",!0)])])),e.value.id?(t(),C(We,{key:2,"section-class":"no-print mt-12 pt-8 border-t border-slate-200",title:"Comentarios",modulo:"RV",id:e.value.id,plan:a.value,titulo:e.value.titulo??""},null,8,["id","plan","titulo"])):v("",!0),ae.value?(t(),C(Ye,{key:3,"info-send":X.value},null,8,["info-send"])):v("",!0)],64))])}}});export{Ca 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.