1import{a as I,b as F,c as D}from"./chunk-R3JYYWC6.js";import{i as a}from"./chunk-S7VETCL5.js";import{Bc as C,Cc as w,Ib as g,Lb as m,Nb as s,Nc as d,Oc as b,Sc as u,Uc as f,Wb as v,Xb as c,Yb as x,_a as h,ad as B,cb as p,ed as y,nc as r,sb as P,yc as T}from"./chunk-7CTKP3KY.js";var N={[a.Artist]:"[DE] Artist",[a.Host]:"[DE] Veranstalter",[a.Venue]:"[DE] Venue",[a.Festival]:"[DE] Festival",[a.Podcast]:"[DE] Podcast",[a.Anderes]:"[DE] Anderes",[a.Unknown]:"[DE] Unbekannt"};var S=()=>({width:533,fit:"clip"}),R=()=>[240,400,533],L=e=>({widths:e,fit:"clip"}),M=()=>({width:533,height:400,fit:"crop"}),$=e=>({widths:e,fit:"crop",ar:"4:3"});function k(e,l){if(e&1&&(x(0,"img",4),u(1,"imageResize"),u(2,"imageResizeSrcset")),e&2){let t,i,o,n=r(2);g("src",f(1,3,(t=n.profile())==null?null:t.image,d(9,S)),h)("srcset",f(2,6,(i=n.profile())==null?null:i.image,b(11,L,d(10,R))))("alt",(o=n.profile())==null?null:o.name);}}function A(e,l){if(e&1&&(x(0,"img",5),u(1,"imageResize"),u(2,"imageResizeSrcset")),e&2){let t,i,o,n=r(2);g("src",f(1,3,(t=n.profile())==null?null:t.image,d(9,M)),h)("srcset",f(2,6,(i=n.profile())==null?null:i.image,b(11,$,d(10,R))))("alt",(o=n.profile())==null?null:o.name);}}function U(e,l){if(e&1&&m(0,k,3,13,"img",4)(1,A,3,13,"img",5),e&2){let t,i=r();s(((t=i.profile())==null?null:t.imageDisplayMode)==="contain"?0:1);}}function V(e,l){if(e&1&&(v(0,"div",2)(1,"span",6),C(2),c()()),e&2){let t,i=r();p(2),w((t=i.profile())==null?null:t.name);}}function j(e,l){if(e&1&&(v(0,"div",3)(1,"span",7),C(2),c()()),e&2){let t,i=r();p(2),w((t=i.profile())==null?null:t.name);}}var Z=(()=>{let l=class l{constructor(){this.profile=y(),this.showNameBelowImage=y(!1),this.typeLabel=B(()=>{let i=this.profile()?.type;return i?N[i]??i:"";});}};l.ɵfac=function(o){return new(o||l)();},l.ɵcmp=P({type:l,selectors:[["lya-profile-cell"]],inputs:{profile:[1,"profile"],showNameBelowImage:[1,"showNameBelowImage"]},decls:5,vars:6,consts:[[1,"text-left"],[1,"relative","aspect-[4/3]","overflow-hidden","bg-gray-300","duration-200","filter","group-hover:brightness-110",2,"transition-property","filter"],[1,"absolute","inset-x-0","bottom-0","capitalize","bg-gradient-to-t","from-black/70","to-transparent","p-3"],[1,"py-2","capitalize"],["sizes","(min-width: 1024px) 25vw, 50vw","loading","lazy",1,"absolute","inset-0","w-full","h-full","object-contain"],["sizes","(min-width: 1024px) 25vw, 50vw","loading","lazy",1,"absolute","inset-0","w-full","h-full","object-cover"],[1,"text-white","font-semibold","text-sm","lg:text-base","group-hover:underline"],[1,"font-semibold","text-sm","lg:text-base","group-hover:underline"]],template:function(o,n){if(o&1&&(v(0,"article",0)(1,"div",1),m(2,U,2,1),m(3,V,3,1,"div",2),c(),m(4,j,3,1,"div",3),c()),o&2){let z,_,E;g("aria-label","Profil: "+(((z=n.profile())==null?null:z.name)||"")),p(),T("background-color",((_=n.profile())==null?null:_.imageDisplayMode)==="contain"&&((_=n.profile())==null?null:_.imageBackgroundColor)||null),p(),s((E=n.profile())!=null&&E.image?2:-1),p(),s(n.showNameBelowImage()?-1:3),p(),s(n.showNameBelowImage()?4:-1);}},dependencies:[D,I,F],encapsulation:2,changeDetection:0});let e=l;return e;})();export{Z as a};/**i18n:bf0eafff1cb49d94eec701a5c2456f25b5e22968d686f588fc9c239198ff0ca7*/
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.