PageSourceSearch

https://kajakkenusport.hu/_nuxt/ClKuqoHg.js

js kajakkenusport.hu collected 2026-10-02 11:17:19 UTC 4,651 bytes, 1 lines download raw bytes

1import{k as g,o as a,c as n,b as C,w as O,a as t,h as _,i as b,g as r,t as f,n as $,_ as j,f as o,F as w,r as B,j as q,m as M,x as T}from"./B851tP_g.js";const V={class:"athlete-card__portrait"},A={class:"athlete-card__disciplines"},U={key:0,class:"athlete-card__discipline"},z={key:1,class:"athlete-card__discipline"},E={key:2,class:"athlete-card__discipline"},L={key:3,class:"athlete-card__discipline"},Q={key:4,class:"athlete-card__discipline"},D={class:"athlete-card__name-container"},G={class:"athlete-card__name athlete-card__name--last"},R={class:"athlete-card__name__inner"},W={class:"athlete-card__name athlete-card__name--first"},H={class:"athlete-card__name__inner"},J={key:2,class:"athlete-card__olympics"},K=["src","alt"],X={class:"athlete-card__olympics__competition-events"},Y={__name:"Card",props:{teamSlug:{type:String,required:!0},athlete:{type:Object,required:!0}},setup(e){const c=g(!1);return(d,l)=>{const m=j;return e.athlete.person?(a(),n("article",{key:0,class:$(["athlete-card",{"athlete-card--olympics":_(c)}])},[C(m,{class:"athlete-card__link",to:`/valogatott/${e.teamSlug}/${e.athlete.team_member_id}/${e.athlete.person.slug}`},{default:O(()=>[t("div",V,[!_(c)&&e.athlete.person.image?(a(),n("div",{key:0,class:"athlete-card__image",style:b({backgroundImage:`url('${e.athlete.person.image.medium}')`})},null,4)):r("",!0),_(c)&&e.athlete.person.olympics_card&&e.athlete.person.olympics_card.portrait?(a(),n("div",{key:1,class:"athlete-card__image",style:b({backgroundImage:`url('${e.athlete.person.olympics_card.portrait.medium}')`})},null,4)):r("",!0),t("div",A,[e.athlete.disciplines.sprint?(a(),n("div",U,"Gyorsasági")):r("",!0),e.athlete.disciplines.marathon?(a(),n("div",z,"Maraton")):r("",!0),e.athlete.disciplines.para?(a(),n("div",E,"Para")):r("",!0),e.athlete.disciplines.youth?(a(),n("div",L,"Utánpótlás")):r("",!0),e.athlete.disciplines.sup?(a(),n("div",Q,"SUP")):r("",!0)]),t("div",D,[t("div",G,[t("span",R,f(e.athlete.person.name_hash.last_name),1)]),t("div",W,[t("span",H,f(e.athlete.person.name_hash.first_name),1)])]),_(c)&&e.athlete.person.olympics_card?(a(),n("div",J,[t("img",{class:"athlete-card__olympics__name",src:e.athlete.person.olympics_card.name_tag.full,alt:e.athlete.person.display_name},null,8,K),t("div",X,f(e.athlete.competition_events),1)])):r("",!0)])]),_:1},8,["to"])],2)):r("",!0)}}},Z=Y,ee={class:"athlete-block-item"},te={__name:"BlockItem",props:{teamSlug:{type:String,required:!0},athlete:{type:Object,required:!0}},setup(e){return(c,d)=>{const l=Z;return a(),n("div",ee,[C(l,{"team-slug":e.teamSlug,athlete:e.athlete},null,8,["team-slug","athlete"])])}}},ae=te,se={class:"team-block"},le={class:"team-block__header"},ne={class:"team-block__title"},ce={class:"team-block__container"},ie={class:"team-block__wrapper wrapper"},re={__name:"Block",props:{team:{type:Object,required:!0}},setup(e){const c=e,d=o(()=>c.team.members.length),l=g(0),m=g(33),p=g(2),v=o(()=>Math.floor(100/m.value)),k=o(()=>p.value<v.value?(d.value-v.value)/p.value:(d.value-v.value)/v.value),h=o(()=>k.value%1),u=o(()=>{let i=Math.ceil(k.value);return h.value>0&&i++,i}),x=o(()=>l.value>0),P=o(()=>u.value==1?l.value==u.value:l.value==u.value-1),F=o(()=>{let i=m.value*p.value*l.value;return P.value&&(h.value>0?i-=(1-h.value)*100:i+=m.value),i}),I=o(()=>{let i={transform:"translate3d(0, 0, 0)"};if(x.value){let s=`${F.value*-1}%`;i.transform=`translate3d(${s}, 0, 0)`}return i});function S(i){let s=null;switch(i){case"next":s=l.value+1,(u.value==1&&s<=u.value||u.value>1&&s<=u.value-1)&&(l.value=s);break;case"prev":s=l.value-1,s>=0&&(l.value=s);break}}return(i,s)=>{const N=ae;return a(),n("section",se,[t("header",le,[t("h4",ne,f(e.team.name),1)]),t("div",ce,[t("div",ie,[t("div",{class:"team-block__slider",style:b(_(I))},[(a(!0),n(w,null,B(e.team.members,y=>(a(),q(N,{"team-slug":e.team.slug,athlete:y,key:y.team_member_id},null,8,["team-slug","athlete"]))),128))],4)]),t("div",{class:$(["team-block__paddle-shifter team-block__paddle-shifter--left",{"team-block__paddle-shifter--hidden":!_(x)}])},[t("button",{class:"team-block__paddle-shifter__button",onClick:s[0]||(s[0]=y=>S("prev"))})],2),t("div",{class:$(["team-block__paddle-shifter team-block__paddle-shifter--right",{"team-block__paddle-shifter--hidden":_(P)}])},[t("button",{class:"team-block__paddle-shifter__button",onClick:s[1]||(s[1]=y=>S("next"))})],2)])])}}},oe=re,_e={__name:"Teams",async setup(e){let c,d;const{data:l,pending:m}=([c,d]=M(()=>T("/api/teams/featured","$4yUQQETPTF")),c=await c,d(),c);return(p,v)=>{const k=oe;return a(!0),n(w,null,B(_(l),h=>(a(),q(k,{team:h,key:h.id},null,8,["team"]))),128)}}},ue=_e;export{ue as _};

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.