PageSourceSearch

https://www.stjernen.no/assets/AthleteSpotlight-DIKAq04u.js

js stjernen.no collected 2026-09-25 08:40:49 UTC 2,378 bytes, 1 lines download raw bytes

1import{Q as A,b as D,t as v,z as k,B as n,C as t,D as a,E as _,F as o,G as u,H as f,J as m}from"./index-D-81gIvX.js";import{A as H}from"./ArticleThumbnail-D2kYXEzh.js";import{A as P}from"./AthleteProfile-DXtaj8_x.js";import{L as S}from"./LeaderboardCard-tWAe6hch.js";import"./embedded-media-BwI8LB1x.js";import"./useArticleLink-CZp2c7Ib.js";import"./country.helpers-DSCJWkTt.js";const B={name:"AthleteSpotlight",components:{ArticleThumbnail:H,LeaderboardCard:S,AthleteProfile:P,SyHeading:A},props:{siteSection:{type:Object,default:()=>{}},leaderboardData:{type:Array,default:()=>[]},athleteProfileData:{type:Object,default:()=>{}},topAthleteArticlesData:{type:Array,default:()=>[]}},setup(s){var r,c,h,l;const{t:d}=D();return{headers:{leaderboardHeader:((c=(r=s.siteSection)==null?void 0:r.config)==null?void 0:c.heading)??d("athlete.leaderboard"),athleteProfileHeader:((l=(h=s.siteSection)==null?void 0:h.config)==null?void 0:l.athleteHeading)??d("athlete.athlete_profile")},isEmpty:v}}},C={class:"athlete-spotlight-root"},E={class:"athlete-spotlight-container"},L={class:"content-grid"},N={key:0,class:"leaderboard"},V={class:"profile-articles"},j={key:0,class:"profile-item"},x={key:1,class:"articles-item"};function F(s,d,e,r,c,h){const l=n("sy-heading"),g=n("leaderboard-card"),b=n("athlete-profile"),y=n("article-thumbnail");return t(),a("div",C,[_("div",E,[_("div",L,[e.leaderboardData&&e.leaderboardData.length>0?(t(),a("div",N,[o(l,{primary:"",uppercase:"",heading:"heading 3","heading-label":r.headers.leaderboardHeader,"is-section-heading":!0},null,8,["heading-label"]),(t(!0),a(u,null,f(e.leaderboardData,(i,p)=>(t(),a("div",{key:p,class:"mb-8 mt-4"},[o(g,{leaderboard:i,rank:p+1},null,8,["leaderboard","rank"])]))),128))])):m("",!0),_("div",V,[r.isEmpty(e.athleteProfileData)?m("",!0):(t(),a("div",j,[o(l,{primary:"",uppercase:"",heading:"heading 3","heading-label":r.headers.athleteProfileHeader,"is-section-heading":!0},null,8,["heading-label"]),o(b,{"athlete-profile":e.athleteProfileData},null,8,["athlete-profile"])])),e.topAthleteArticlesData&&e.topAthleteArticlesData.length>0?(t(),a("div",x,[(t(!0),a(u,null,f(e.topAthleteArticlesData,i=>(t(),a("div",{key:i.id,class:"article-entry"},[o(y,{article:i,"show-article-intro":!0},null,8,["article"])]))),128))])):m("",!0)])])])])}const T=k(B,[["render",F],["__scopeId","data-v-a2f4bd28"]]);export{T 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.