1import{C as t,D as e,E as s,Gt as a,J as i,Lt as r,M as l,N as n,T as o,Tt as c,_ as d,hn as m,it as u,st as g,w as p}from"./B8XHxhss.js";import{_ as f}from"#entry";import{t as y}from"./BEDGnSvs.js";import{t as k}from"./DXNx4Ry-.js";import{t as x}from"./CEvyg-hg.js";import{t as b}from"./CsxJfDyq.js";import{t as v}from"./tKPW4sCS.js";import{t as j}from"./CqvLaLzd.js";var _=["id"],h=["innerHTML"],M={class:"grid grid-cols-1 gap-layout-gutter"},T={key:0,class:"text-body-lg-regular"},L={class:"grid"},S=["innerHTML"],D=["datetime"],H=Object.assign({inheritAttrs:!1},{__name:"BlockListBlocksBlockListInfoMedia",props:{id:String,context:String,title:String,label:String,settings:Object,items:Array},setup(H){const w=H,A=r(8),F=()=>{A.value=Math.min(A.value+8,w.items?.length||0)},I=t(()=>w.items?w.items.slice(0,A.value):[]);return(t,r)=>{const w=y,O=k,z=x,B=b;return u(),e("div",i({id:H.id,class:["c-block-list-info-media",[`c-block-list-info-media--ctx--${H.context}`,t.$attrs.class]]},("useAttrsSome"in t?t.useAttrsSome:a(v))(["style","data-n-ids"],t.$attrs)),[H.title?(u(),o(w,{key:0,overline:H.label,"long-read-id":H.settings?.includeInToc&&H.id,"long-read-title":H.settings?.includeInToc&&H.title},{default:c(()=>[p("span",{innerHTML:H.title},null,8,h)]),_:1},8,["overline","long-read-id","long-read-title"])):s("",!0),p("div",M,[(u(!0),e(d,null,g(a(I),(i,r)=>(u(),o(z,{key:r,to:i.link,type:i.link.type,class:"p-cardInset text-interactive rounded-md",color:"surface",target:"_blank"},{teaser:c(()=>[p("div",L,[i.teaser?(u(),e("span",{key:0,class:"text-interactive text-body-sm-regular",innerHTML:i.teaser},null,8,S)):s("",!0),p("span",null,[l(m(i.category)+" ",1),i.date?(u(),e("time",{key:0,class:"text-subtle text-body-md-regular",datetime:("useFormatDate"in t?t.useFormatDate:a(j))(i.date)},m(("useFormatDate"in t?t.useFormatDate:a(j))(i.date)),9,D)):s("",!0)])])]),icon:c(()=>[n(O,{name:"arrow-forward",class:"w-full h-full text-interactive"})]),default:c(()=>[i.title?(u(),e("span",T,m(i.title),1)):s("",!0)]),_:2},1032,["to","type"]))),128))]),H.items&&H.items.length>5&&a(A)<H.items.length?(u(),o(B,{key:1,color:"primary",class:"justify-self-center mt-md text-heading-sm-strong",onClick:F},{icon:c(()=>[n(O,{name:"expand-more"})]),default:c(()=>[l(m(("localize"in t?t.localize:a(f))("SHOW_MORE",{capitalize:!0}))+" ",1)]),_:1})):s("",!0)],16,_)}}});export{H 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.