1import{_ as b}from"./BRCg8DlW.js";import{j as g,M as s,F as o,U as u,V as p,k as n,Q as y,Z as v,u as d}from"./D3xMoyyV.js";import{_ as $}from"./CxVwoP4U.js";import{x as w,o as C}from"./IT-7lrAI.js";import{a as h}from"./CiQQEXrr.js";const P={class:"flex gap-4 items-center justify-between"},M={class:"details"},N={key:0,class:"text-[20px] text-primary-500"},B={key:1,class:"text-[20px] text-primary-500"},G={key:2,class:"font-bold tracking-wide text-grey-900 dark:text-white transition"},L={key:3,class:"font-bold tracking-wide text-grey-900 dark:text-white transition"},V=u("i",{class:"icon-chevron-right text-secondary-600 text-lg"},null,-1),j=g({__name:"PersonCardMeta",props:{item:{},type:{}},setup(f){return(e,_)=>{var r,i,l,c,t,a;return s(),o("div",P,[u("div",M,[e.type==="player"&&((r=e.item.player)!=null&&r._name)?(s(),o("h6",N,p((i=e.item.player)==null?void 0:i._name),1)):(s(),o("h6",B,p(e.item._name),1)),e.type==="player"&&((l=e.item)!=null&&l.club)?(s(),o("p",G,p((c=e.item)==null?void 0:c.club),1)):(s(),o("p",L,p((a=(t=e.item)==null?void 0:t.staffRole)==null?void 0:a._name),1))]),V])}}}),H={class:"person-card-player cursor-pointer"},I={class:"aspect-[3/4] max-w-[450px] mx-auto relative overflow-hidden"},S={class:"text-primary-900 text-left bg-white/70 dark:bg-black/80 transition pl-4 pr-8 py-6 absolute bottom-0 left-0 right-0"},U=g({__name:"PersonCardPlayer",props:{item:{}},setup(f){const e=f,_=n(()=>w()),r=n(()=>{const t=_.value==="en"?"/player":`/${_.value}/player`;if(e.item.player){const a=h(e==null?void 0:e.item.player,!0);return`${t}${a}`}if(e!=null&&e.item){const a=h(e==null?void 0:e.item,!0);return`${t}${a}`}return!1}),i=n(()=>{var t,a,m;return e.item.player?(a=(t=e.item)==null?void 0:t.player)==null?void 0:a._name:e!=null&&e.item?(m=e.item)==null?void 0:m._name:!1}),l=n(()=>C()),c=n(()=>l.value==="dark"?"playerHeadshotLight":"playerHeadshot");return(t,a)=>{const m=b,k=j,x=$;return s(),o("div",H,[y(x,{to:d(r),title:d(i),disabled:!d(r)},{default:v(()=>[u("div",I,[y(m,{person:t.item.player||t.item,type:"headshot",class:"hover:scale-105 transition aspect-[3/4]",position:"top","fallback-to-default":"","default-content-type":d(c),"is-card":""},null,8,["person","default-content-type"]),u("div",S,[y(k,{item:t.item,type:"player"},null,8,["item"])])])]),_:1},8,["to","title","disabled"])])}}});export{U as _,j as a};
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.