PageSourceSearch

https://forbes.it/assets/FeaturedVideos-CC5qveix.js

js forbes.it collected 2026-10-01 09:15:34 UTC 3,627 bytes, 1 lines download raw bytes

1import{r as c,j as e}from"./index-BMSagvvg.js";import{S as b,s as f}from"./SectionHeading-qTcAVFSZ.js";import{V as g}from"./VideoLightbox-CtU0GI9Y.js";import"./LayoutProvider-DcG2T6sb.js";import"./schema-j76ahcI-.js";const m="/category/podcast/forbes-leaders/",h="PLNwQ5ZnFJu0LWn18vEri4UzTCd3ygvvBc",p=[{id:"WMrSq7ljwyE",guest:"Elisa Maino"},{id:"JPwJWzCudH8",guest:"Leonardo Maria Del Vecchio"},{id:"5VrSjKz76oE",guest:"Fedez"},{id:"6ZAywm6k5pk",guest:"Alessandro Borghese"},{id:"3D2k8U84O_8",guest:"Roberto Baggio"},{id:"dwkbNgbXflI",guest:"Horacio Pagani"},{id:"0V1UGfFeV5c",guest:"Il Volo"},{id:"DxsmXUI3VDo",guest:"Massimo Bottura"},{id:"r0YjY75oBWI",guest:"Roberto Bolle"},{id:"OU_Styq5YzQ",guest:"Alfa"},{id:"7TyyE-Ie8no",guest:"Annalisa"},{id:"uyXPUsC85tw",guest:"Debora Massari"}].map(r=>({...r,eyebrow:"Forbes Leader"}));function x(r){return r.filter(t=>t.provider==="youtube").map(t=>({id:t.videoId,guest:t.title,eyebrow:"Forbes Leader",image:t.thumbnail||void 0,href:`/${t.url.year}/${t.url.month}/${t.url.day}/${t.url.slug}/`}))}const w="[scrollbar-width:none] [&::-webkit-scrollbar]:hidden";function L({videos:r=[]}){const t=c.useRef(null),[o,l]=c.useState(null),i=x(r),d=i.length>0?i:p,u=i.length>0?m:`https://www.youtube.com/playlist?list=${h}`,n=s=>{const a=t.current;a&&a.scrollBy({left:a.clientWidth*.9*s,behavior:"smooth"})};return e.jsxs("section",{className:"border-t border-forbes-ink pt-6",children:[e.jsx(b,{eyebrow:"Forbes Leader",title:"Le interviste ai leader italiani",actions:e.jsxs(e.Fragment,{children:[e.jsx("a",{href:u,target:i.length>0?void 0:"_blank",rel:"noopener noreferrer",className:f,children:"Vedi tutti"}),e.jsx("button",{"aria-label":"Precedenti",onClick:()=>n(-1),className:"h-9 w-9 rounded-full border border-forbes-rule flex items-center justify-center hover:bg-forbes-ink hover:text-white transition-colors",children:"‹"}),e.jsx("button",{"aria-label":"Successivi",onClick:()=>n(1),className:"h-9 w-9 rounded-full border border-forbes-rule flex items-center justify-center hover:bg-forbes-ink hover:text-white transition-colors",children:"›"})]})}),e.jsx("div",{ref:t,className:`flex items-start gap-6 overflow-x-auto pb-4 snap-x snap-mandatory scroll-smooth ${w}`,children:d.map(s=>e.jsxs("div",{className:"group block self-start text-left flex-none w-[70%] sm:w-[45%] lg:w-[31%] snap-start",children:[e.jsxs("button",{type:"button",onClick:()=>l(s),"aria-label":`Riproduci: ${s.guest}`,className:"relative block aspect-video w-full overflow-hidden bg-forbes-ink",children:[e.jsx("img",{src:s.image??`https://i.ytimg.com/vi/${s.id}/hqdefault.jpg`,alt:`${s.eyebrow} - ${s.guest}`,loading:"lazy",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-[1.03]"}),e.jsx("span",{className:"absolute inset-0 bg-black/10 group-hover:bg-black/25 transition-colors"}),e.jsx("span",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx("span",{className:"h-16 w-16 rounded-full bg-forbes-red flex items-center justify-center ring-4 ring-white/25 transition-transform group-hover:scale-110 text-white text-xl pl-1",children:"▶"})})]}),e.jsx("p",{className:"mt-3 text-[10px] font-semibold tracking-[0.18em] uppercase text-forbes-muted",children:s.eyebrow}),e.jsx("button",{type:"button",onClick:()=>l(s),className:"mt-1 block text-left font-serif text-lg leading-snug text-forbes-ink group-hover:text-forbes-red transition-colors line-clamp-2",children:s.guest})]},s.id))}),o&&e.jsx(g,{media:{title:`${o.eyebrow}
1 - ${o.guest}`,youtubeId:o.id,href:o.href},onClose:()=>l(null)})]})}export{L as FeaturedVideos};

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.