1import{$ as e,B as t,D as n,K as r,Ot as i,S as a,U as o,_ as s,a as c,b as l,bt as u,c as d,g as f,h as p,n as m,qt as h,rt as g,v as _,y as v}from"./DlEi0s6e.js";import{t as y}from"./O823Bmbx.js";import{t as b}from"./DNe1Xtlr.js";import{t as x}from"./PRbcuVVJ.js";import{n as S,r as C,t as w}from"./Ddkegk6u2.js";import{t as T}from"./BepZLgIZ2.js";n(),g(),i(),c();var E={class:`program-card flex group flex-col divide-y h-full w-full divide-gray-200 rounded-lg bg-white group drop-shadow-lg hover:scale-105 overflow-x-hidden transition-all`},D={key:0,class:`program-image relative min-h-[2rem]`},O={class:`relative`},k={key:1,class:`flex items-center w-full absolute bottom-0 -translate-y-1/2 inset-x-0`},A={class:`sr-only`},j={class:`flex relative p-2 px-4 items-center justify-end bg-black/80`},M={class:`m-0 text-sm text-white`},N={key:0,class:`bg-fulbright-yellow text-white text-center rounded-md text-sm px-3 py-1 font-bold inline-block absolute bottom-0 right-2 translate-y-1/2`},P={class:`px-6 pt-6 text-left flex-1`},F={class:`mb-2 group-hover:underline text-black`},I={key:1,class:`text-sm mb-1 hover:no-underline focus:no-underline flex-1 flex-col`},L={class:`mb-2 group-hover:underline text-black`},R={class:`px-6 pb-6`},z={key:0,class:`flex text-fulbright-blue items-start`},B={class:`tag-list flex flex-wrap`},V={key:0,class:`mr-1`},H=Object.assign(a({inheritAttrs:!1,__name:`ProgramCard`,props:{card:{},linkCard:{type:Boolean}},setup(n){return(i,a)=>{let c=x;return t(),_(`div`,E,[(t(),f(r(n.linkCard?u(b):`div`),{link:n.linkCard?n.card.slug:``,class:`flex text-black flex-1 flex-col h-full hover:no-underline focus:no-underline`},{default:e(()=>[n.card.media[0]?.images?(t(),_(`div`,D,[p(`figure`,O,[n.card.media[0]?.images?(t(),f(c,{key:0,src:n.card.media[0]?.images.listViewImage?.publicUrl,alt:``,class:`h-52 w-full max-w-full object-cover object-center rounded-t-md`},null,8,[`src`])):s(``,!0),n.card.media[0].properties?.description?(t(),_(`figcaption`,k,[l(u(C),{as:`div`,class:`relative flex items-center justify-end w-full min-w-full`},{default:e(()=>[l(u(w),{id:`popover-button-${n.card.id}`,title:i.$t(`media.showCaption`),class:`block mr-6 p-2 bg-black/50 text-white hover:cursor-pointer hover:text-fulbright-yellow focus:text-fulbright-yellow`},{default:e(()=>[l(u(y),{class:`w-4 h-4`}),p(`span`,A,h(i.$t(`media.showCaption`)),1)]),_:1},8,[`id`,`title`]),l(m,{"enter-active-class":`transition ease-out duration-200`,"enter-from-class":`opacity-0 translate-x-1/2`,"enter-to-class":`opacity-100 translate-x-0`,"leave-active-class":`transition ease-in duration-150`,"leave-from-class":`opacity-100 translate-x-0`,"leave-to-class":`opacity-0 translate-x-1/2`},{default:e(()=>[l(u(S),{class:`absolute right-20`},{default:e(()=>[p(`div`,j,[p(`p`,M,h(n.card.media[0].properties?.description),1),a[0]||=p(`div`,{class:`absolute w-0 h-0 border-t-[.5rem] border-b-[.5rem] border-transparent border-l-[.5rem] border-l-black/80 -right-[4px] top-1/2 translate-x-1/2 -translate-y-1/2`,role:`none`},null,-1)])]),_:1})]),_:1})]),_:1})])):s(``,!0)]),n.card.isOpenToApply?(t(),_(`div`,N,h(i.$t(`program.openToApply`)),1)):s(``,!0)])):s(``,!0),p(`div`,P,[n.linkCard?(t(),_(`div`,I,[p(`h5`,L,h(n.card.title),1),n.card.teaser?(t(),f(T,{key:0,class:`mt-4 text-sm mb-4`,content:n.card.teaser},null,8,[`content`])):s(``,!0)])):(t(),f(u(b),{key:0,link:n.card.slug,class:`text-sm mb-1 hover:no-underline focus:no-underline flex-1 flex-col`},{default:e(()=>[p(`h5`,F,h(n.card.title),1),n.card.teaser?(t(),f(T,{key:0,class:`mt-4 text-sm mb-4`,content:n.card.teaser},null,8,[`content`])):s(``,!0)]),_:1},8,[`link`]))]),p(`div`,R,[n.card.tags.length?(t(),_(`div`,z,[a[1]||=p(`img`,{class:`w-5 h-5 mr-2`,src:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='22'%20height='18'%20viewBox='0%200%2022%2018'%3e%3cpath%20id='Pfad_507'%20data-name='Pfad%20507'%20d='M5,13.18v4L12,21l7-3.82v-4L12,17ZM12,3,1,9l11,6,9-4.91V17h2V9Z'%20transform='translate(-1%20-3)'%20fill='%23003da5'/%3e%3c/svg%3e`},null,-1),p(`div`,B,[(t(!0),_(d,null,o(n.card.tags,(e,r)=>(t(),_(`div`,{key:e,class:`inline-flex text-left text-sm font-semibold flex-row flex-wrap items-center mr-1`},[v(h(e.title)+` `,1),r<n.card.tags.length-1?(t(),_(`span`,V,`,`)):s(``,!0)]))),128))])])):s(``,!0)])]),_:1},8,[`link`]))])}}}),{__name:`CardsTypeProgramCard`});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.