1import{r as e}from"./rolldown-runtime-B0Z9INg1.mjs";import{Ct as t,E as n,H as r,Ht as i,O as a,Pt as o,Zt as s,it as c,tt as l}from"./vue.runtime.esm-bundler-DK-ieOMu.mjs";import{i as u}from"./useOneTrust-BLn7DS5z.mjs";import{n as d}from"./WebContentListNew-pth7X-q2.mjs";var f=e({default:()=>p});o(),r();var p={__name:`EditorialContentRecommendationsBlock`,props:{data:{type:Object,default:()=>({})},settings:{type:Object,required:!0,validator(e){return[`regionName`,`numberOfItems`].every(t=>t in e)}}},setup(e){let r=e,{trackEditorialRecommendationClick:o,trackEditorialRecommendationView:f}=u(),p=i(!1),m=n(()=>(r.data?.items??[]).slice(0,r.settings.numberOfItems));function h(e=[]){!p.value&&e.length&&(e.forEach(e=>{e?.id&&f({contentId:e.id,regionName:r.settings.regionName})}),p.value=!0)}l(()=>{h(m.value)}),t(m,e=>{h(e)});function g(e){e?.id&&o({contentId:e.id,regionName:r.settings.regionName})}return(t,n)=>{let r=d;return c(),a(r,{"number-of-columns":e.settings.numberOfColumns??1,"image-position":e.settings.imagePosition??`none`,"teaser-display":e.settings.showTeaser===!1?`none`:`truncated`,"hide-published-date":!0,"hide-primary-section-and-label":!1,data:{items:s(m)},"native-type":`list`,onItemLinkClick:g},null,8,[`number-of-columns`,`image-position`,`teaser-display`,`data`])}}};export{p as n,f as t};
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.