PageSourceSearch

https://redbullsport.com/_nuxt/DPxize1C.js

js redbullsport.com collected 2026-10-07 20:49:22 UTC 6,078 bytes, 1 lines download raw bytes

1import{_ as se}from"./Dm165U3k.js";import{_ as ae}from"./CxatrP_C.js";import{x as le,an as oe,ao as ne,aa as re,ai as ie,a3 as ce,av as ue,a2 as c,t as de,P as o,s as u,p as l,$ as v,a0 as t,q as b,r as _,v as i,aw as w,u as $,c as pe,F as he,_ as _e,e as me,A as ge,o as n,m as r,V as ye}from"./DQIkdDWl.js";import{_ as fe}from"./DA9dwt22.js";import{_ as xe}from"./DegCwuq7.js";import{_ as ve}from"./M30_13cp.js";import{u as be}from"./6yow00cK.js";import{u as we}from"./C94RU6BK.js";import{u as Ue}from"./hD7THzq2.js";import{u as Ae}from"./B3bp7SI6.js";import"./C6rxG5B0.js";import"./k5yaHAl7.js";import"./7XiEFmDg.js";import"./COSkvKeX.js";import"./BQX0cBXu.js";const ke={class:"min-h-screen relative flex flex-col"},Ve={class:"sr-only"},Se={class:"bg-brand-navy pt-[40px] lg:pt-[96px]"},Be={class:"w-full max-w-[875px] px-[20px] mx-auto"},Ne={class:"editor"},De={class:"text-center"},Le={class:"bg-brand-navy"},Ye={key:0,class:"w-full"},Ce={class:"bg-brand-navy-700"},$e=["src"],qe=["src"],Je=["src"],Re={class:"absolute inset-0 flex items-center justify-center"},je={class:"w-20 h-20 bg-brand-navy/90 rounded-full flex items-center justify-center text-white shadow-2xl transform group-hover:scale-110 transition-transform duration-300"},st=le({__name:"index",async setup(Ge){let m,U;const d=oe(),q=ne(),{t:a}=re(),{getAthleteBanners:J}=be(),{getNews:R}=ie(),{getAthletes:j,getAthletesLanding:G,getAthleteYears:P}=ce(),{getAthleteGallery:F}=we();Ue(),Ae("athletes",{title:`${a("pages.athletes.seo_title")} | ${a("pages.athletes.seo_title_suffix")}`,description:a("pages.athletes.seo_description"),keywords:a("pages.athletes.seo_keywords")});const A=String(new Date().getFullYear()),[{data:I},{data:T},{data:z},{data:k},{data:E},{data:p}]=([m,U]=ue(()=>Promise.all([c("athlete-index-banners",()=>J()),c("athlete-listing-spotlight",()=>j({spotlight:!0,yearJoined:d.query.yearJoined?Number(d.query.yearJoined):void 0}),{watch:[()=>d.query.yearJoined]}),c("athlete-listing-years",()=>P()),c("athlete-listing-related-news",()=>R({isAthleteHighlight:!0})),c("athlete-listing-gallery",()=>F()),c("athlete-listing-landing",()=>G())])),m=await m,U(),m);if(p.value?.athletesLandingSettings?.active===!1)throw de({statusCode:404,statusMessage:"Page Not Found",fatal:!0});const V=n(()=>I.value?.banners||[]),S=n(()=>T.value?.athletes||[]),M=n(()=>(z.value??[]).map(e=>({label:String(e),value:String(e)}))),g=n({get:()=>d.query.yearJoined||A,set:e=>{const s={...d.query};e!==A?s.yearJoined=e:delete s.yearJoined,q.replace({query:s})}}),H={title:"",description:"",uid:"athletes-mock"},O={title:a("pages.athletes.gallery_main_title"),description:a("pages.athletes.gallery_main_subtitle"),uid:"athletes-main"},W=n(()=>(E.value?.galleries??[]).map(e=>{const s=!!e.videoUrl,h=e.thumbnailUrl?r(e.thumbnailUrl):e.imageUrl?r(e.imageUrl):void 0;return{type:s?"video":"image",src:s?r(e.videoUrl):r(e.imageUrl),thumb:h,alt:""}}).filter(e=>!!e.src)),Z=n(()=>(p.value?.athletesLandingSettings?.galleries??[]).map(e=>{const s=!!e.videoUrl,h=e.thumbnailUrl?r(e.thumbnailUrl):e.imageUrl?r(e.imageUrl):void 0;return{type:s?"video":"image",src:s?r(e.videoUrl):r(e.imageUrl),thumb:h,alt:""}}).filter(e=>!!e.src)),y=e=>/youtube\.com|youtu\.be/.test(e),B=e=>e.match(/(?:youtube\.com\/(?:watch\?v=|embed\/|shorts\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})/)?.[1]??"",N=n(()=>{const e=p.value?.athletesLandingSettings?.videoUrl;return!!e&&y(e)}),f=n(()=>{const e=p.value?.athletesLandingSettings?.videoUrl;if(!e)return"";if(y(e)){const s=B(e);return s?`https://www.youtube.com/embed/${s}?rel=0&modestbranding=1&autoplay=1`:""}return r(e)}),D=n(()=>{const e=p.value?.athletesLandingSettings?.videoUrl;if(!e)return"";if(y(e)){const s=B(e);return s?`https://img.youtube.com/vi/${s}/maxresdefault.jpg`:""}return""}),x=ye(!1);return(e,s)=>{const h=se,K=ae,L=pe,Q=_e,Y=fe,X=me,ee=xe,te=ve;return o(),u("div",ke,[l("h1",Ve,v(t(a)("pages.athletes.athletes_h1")),1),t(V).length?(o(),b(h,{key:0,banners:t(V),class:"w-full"},null,8,["banners"])):_("",!0),l("div",Se,[l("div",Be,[i(K,{src:"/images/athletes/athletes-logo.webp",alt:"What is RBPR",rounded:"rounded-none",objectFit:"contain",class:"mb-[20px] lg:mb-[40px] mx-auto max-w-[220px] w-full h-full max-h-[299px]"}
1),l("div",Ne,[l("div",De,[i(L,{as:"h2",variant:"h2",family:"condensed",weight:"bold",color:"white",class:"uppercase mb-[16px]"},{default:w(()=>[$(v(t(a)("pages.athletes.title_athletes")),1)]),_:1}),i(L,{as:"p",variant:"fc-18",color:"white"},{default:w(()=>[$(v(t(a)("pages.athletes.subtitle_athletes")),1)]),_:1})])])])]),l("div",Le,[i(X,{class:"md:!max-w-[720px] lg:!max-w-[960px] xl:!max-w-[1140px] 2xl:!max-w-[1340px] px-[20px] lg:px-[10px] py-[40px] lg:py-[96px]"},{default:w(()=>[t(f)?(o(),u("div",Ye,[l("div",Ce,[l("div",{class:"section-video relative aspect-[4/3] md:aspect-[1320/600] overflow-hidden bg-brand-navy-700 group cursor-pointer",onClick:s[0]||(s[0]=C=>x.value=!0)},[t(x)&&t(N)?(o(),u("iframe",{key:0,class:"w-full h-full",src:t(f),frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""},null,8,$e)):t(x)&&!t(N)?(o(),u("video",{key:1,class:"w-full h-full object-cover",src:t(f),autoplay:"",controls:"",playsinline:""},null,8,qe)):(o(),u(he,{key:2},[t(D)?(o(),u("img",{key:0,src:t(D),class:"w-full h-full object-cover"},null,8,Je)):_("",!0),l("div",Re,[l("div",je,[i(Q,{name:"solar:play-bold",size:"40",class:"ml-1"})])])],64))])])])):_("",!0),i(Y,{hideArrow:!0,section:H,athletes:"",galleries:t(Z),isCloseBg:""},null,8,["galleries"])]),_:1})]),t(S).length?(o(),b(ee,{key:1,data:t(S),filterYear:"",modelValue:t(g),"onUpdate:modelValue":s[1]||(s[1]=C=>ge(g)?g.value=C:null),options:t(M),buttonAll:"",title:t(a)("pages.athletes.spotlight_athletes_title"),description:t(a)("pages.athletes.spotlight_athletes_subtitle")},null,8,["data","modelValue","options","title","description"])):_("",!0),i(Y,{section:O,galleries:t(W)},null,8,["galleries"]),t(k)?.news?.length>0?(o(),b(te,{key:2,data:t(k)?.news,isAthletes:""},null,8,["data"])):_("",!0)])}}});export{st 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.