PageSourceSearch

https://goblueraiders.com/_nuxt/qfHVia3j2.js

js goblueraiders.com collected 2026-10-02 03:52:35 UTC 70,345 bytes, 1 lines download raw bytes

1import{a as e}from"./DH_oPWig.js";import{D as t,Dt as n,E as r,Et as i,I as a,N as o,O as s,Ot as c,P as l,T as u,_ as d,a as f,at as p,c as m,d as h,dn as g,dt as _,hn as v,mn as y,nt as b,pt as x,qt as S,st as C,u as w,ut as T,w as E,wt as D,zt as O}from"./BaBhFZm2.js";import{c as k,l as A,s as j}from"./Cm8_Znr6.js";import{f as M}from"./PTSJo-lX.js";import{t as N}from"./CJOI8Lo4.js";import{n as P}from"./CU89Zi3L.js";import{t as F}from"./oQPVSlJP.js";import{Jt as I,f as L,mt as ee,n as R,p as te,pt as z,qt as ne,t as B,zn as V}from"./DLPrxJs8.js";import{i as H}from"./DdC86S-Z.js";import{t as U}from"./D4jAZI6Q.js";import{t as W}from"./DSQl5yOh.js";import{t as G}from"./C2ANWNt82.js";import{A as K,O as q}from"./AiUTjUYq2.js";import"./CYcz9rFe2.js";import{i as J,n as Y,r as X}from"./s1n7YL9W2.js";import{t as Z}from"./BgJckZMT2.js";import{n as Q}from"./HFi4l3BG2.js";import{t as re}from"./BDNMzG2s2.js";import{t as ie}from"./B2WKC8kd2.js";import{n as ae,r as $,t as oe}from"./BXnHWJ2c2.js";import{t as se}from"./T0j2HdSO2.js";import{t as ce}from"./NhBLZ-7m2.js";import{t as le}from"./BbCJEZJz2.js";var ue={class:`s-quicklinks relative flex items-center sidearm-wrapper`,"aria-labelledby":`h2_quicklinks`},de={class:`s-quicklinks__header flex items-center justify-center`},fe={class:`s-quicklinks__content flex items-center px-4 s-text-small-bold`},pe=Object.assign(a({__name:`AdsQuicklinks`,setup(e){let t=H(),r=O(!1),i=e=>{r.value=e},a=U();C(`bucket`,a.bucket);let o=a.bucket;return(e,a)=>{let f=N,m=Z,h=Y;return p(),s(d,null,[l(S(q),{isLoading:S(r)},{content:n(()=>[...a[0]||=[]]),default:n(()=>[l(S(K),{class:`w-full h-[55px] rounded-[5px]`})]),_:1},8,[`isLoading`]),c(u(`section`,ue,[u(`div`,de,[l(f,{class:`s-quicklinks__header-decal`,src:`${S(o)}/images/integration_2024/logo_header.svg`,alt:``,images:[{breakpoint:0,image:`${S(o)}/images/integration_2024/logo_header.svg`}],preload:!0,"aria-hidden":`true`},null,8,[`src`,`images`]),a[1]||=u(`h2`,{id:`h2_quicklinks`,class:`s-quicklinks__header-title flex items-center s-text-heading-small`},` Quick Links `,-1),l(m,{adSlotName:`htlad-quicklinks_sponsorlogo`})]),u(`div`,fe,[l(h,{name:`icons---home-page---quicklinks-509dd7`,sportId:S(t),onLoadingChange:i},null,8,[`sportId`])])],512),[[j,!S(r)]])],64)}}}),{__name:`AdsQuicklinks`});function me(e){return e?.sort(function(e,t){if(e.id&&t.id){let n=e.title?.toLowerCase()??``,r=t.title?.toLowerCase()??``;if(n<r)return-1;if(n>r)return 1}return 0}),e}var he={key:0,class:`c-templated-header__logo`},ge=[`id`],_e=[`id`],ve={key:1,class:`c-templated-header__filter ml-auto`},ye=[`aria-label`,`value`],be=[`value`],xe=[`aria-label`,`value`],Se=[`value`],Ce={class:`c-templated-header__filter-icon flex justify-center items-center`},we={key:2,class:`c-templated-header__filter ml-auto`},Te=[`aria-label`,`value`],Ee=[`value`],De=[`aria-label`,`value`],Oe=[`value`],ke={class:`c-templated-header__filter-icon flex justify-center items-center`},Ae={__name:`TSectionHeader`,props:{headerConfig:{type:Object,required:!0,showText:{type:Boolean,default:!0},headerText:{type:String,default:`Header Text Placeholder`},adLocationName:{type:String,default:``},wrapAd:{type:Boolean,default:!1},identifier:{type:String,default:``},sportFilter:{type:Boolean,default:!1},sportFilterText:{type:String,default:`Filter by Sport`},logo:{type:Object,src:{type:String,default:null},alt:{type:String,default:``},width:{type:Number,default:null},height:{type:Number,default:null}}},cta:{type:[Object,null],location:{type:String,default:``},text:{type:String,default:``},opensInNewWindow:{type:Boolean,default:!1}},ctaLink:{type:String,default:``},theme:{type:String,default:`on-light-theme`},filterOptions:{type:Array},statFilterOptions:{type:Array}},emits:[`selectHeaderFilter`],setup(e,{emit:i}){let a=H(),o=e,c=O(``),f=i,m=function(e){f(`selectHeaderFilter`,e),c.value=e.target?.value};function h(e,t){let n=``;return e&&(n+=`width: ${e}px;`),t&&(n+=`height: ${t}px;`),n}return(e,i)=>{let f=N,_=Q,b=G,x=Z;return p(),s(`div`,{class:g([`c-templated-header flex items-center gap-4`,[o.headerConfig.identifier,o.headerConfig.theme?o.headerConfig.theme:o.theme,{"wrapped-enabled":o.headerConfig.wrapped},{"ad-wrapped":o.headerConfig.wrapAd}]])},[o.headerConfig?.logo?.src?(p(),s(`div`,he,[l(f,{class:`c-templated-header__logo-image`,alt:o.headerConfig.logo.alt?o.headerConfig.logo.alt:``,style:y(h(o.headerConfig.logo?.width,o.headerConfig.logo?.height)),images:[{breakpoint:0,image:o.headerConfig.logo.src,width:o.headerConfig.logo.width,height:o.headerConfig.logo.height}]},null,8,[`alt`,`style`,`images`])])):t(``,!0),o.headerConfig.showText===!0?(p(),s(`h2`,{key:1,id:o.headerConfig.identifier,class:g([`c-templated-header__text s-text-heading`,{"sr-only":!o.headerConfig.showText}])},v(o.headerConfig.headerText),11,ge)):(p(),s(`h2`,{key:2,id:o.headerConfig.identifier,class:`sr-only`},v(o.headerConfig.headerText),9,_e)),o.headerConfig.wrapAd?(p(),s(d,{key:3},[o?.cta?.location===`header`&&!o.headerConfig.filter?(p(),r(_,{key:0,class:`c-templated-header__cta s-text-regular-bold ml-auto`,"aria-label":o.cta.opensInNewWindow?`${o.cta.text}, opens in new window`:`${o.cta.text}`,target:o.cta.opensInNewWindow?`_blank`:``,href:o.ctaLink},{default:n(()=>[u(`span`,null,v(o.cta.text),1)]),_:1},8,[`aria-label`,`target`,`href`])):t(``,!0),o.headerConfig.sportFilter&&(
1o.filterOptions||o.statFilterOptions)?(p(),s(`div`,ve,[o.statFilterOptions?(p(),s(`select`,{key:0,"aria-label":`Filter `+o.headerConfig.headerText+` by stat type`,class:`c-templated-header__filter-select appearance-none s-text-regular`,value:S(c)?S(c):o.statFilterOptions[0],onChange:i[0]||=e=>m(e)},[(p(!0),s(d,null,T(o.statFilterOptions,(e,n)=>(p(),s(d,{key:n},[e?(p(),s(`option`,{key:0,value:e},v(e),9,be)):t(``,!0)],64))),128))],40,ye)):o.filterOptions?(p(),s(`select`,{key:1,"aria-label":`Filter `+o.headerConfig.headerText+` by sport`,class:`c-templated-header__filter-select appearance-none s-text-regular`,value:S(c)?S(c):S(a),onChange:i[1]||=e=>m(e)},[(p(!0),s(d,null,T(S(me)(o.filterOptions),(e,n)=>(p(),s(d,{key:n},[e.title?(p(),s(`option`,{key:0,value:e.id},v(e.title),9,Se)):t(``,!0)],64))),128))],40,xe)):t(``,!0),u(`div`,Ce,[l(b,{name:`icon-chevron-down`,"aria-hidden":`true`})])])):t(``,!0),o.headerConfig.adLocationName?(p(),r(x,{key:2,adSlotName:o.headerConfig.adLocationName,class:`basis-full`},null,8,[`adSlotName`])):t(``,!0)],64)):(p(),s(d,{key:4},[o.headerConfig.adLocationName?(p(),r(x,{key:0,adSlotName:o.headerConfig.adLocationName},null,8,[`adSlotName`])):t(``,!0),o?.cta?.location===`header`&&!o.headerConfig.filter?(p(),r(_,{key:1,class:`c-templated-header__cta s-text-regular-bold ml-auto`,"aria-label":o.cta.opensInNewWindow?`${o.cta.text}, opens in new window`:`${o.cta.text}`,target:o.cta.opensInNewWindow?`_blank`:``,href:o.ctaLink},{default:n(()=>[u(`span`,null,v(o.cta.text),1)]),_:1},8,[`aria-label`,`target`,`href`])):t(``,!0),o.headerConfig.sportFilter&&(o.filterOptions||o.statFilterOptions)?(p(),s(`div`,we,[o.statFilterOptions?(p(),s(`select`,{key:0,"aria-label":`Filter `+o.headerConfig.headerText+` by stat type`,class:`c-templated-header__filter-select appearance-none s-text-regular`,value:S(c)?S(c):o.statFilterOptions[0],onChange:i[2]||=e=>m(e)},[(p(!0),s(d,null,T(o.statFilterOptions,(e,n)=>(p(),s(d,{key:n},[e?(p(),s(`option`,{key:0,value:e},v(e),9,Ee)):t(``,!0)],64))),128))],40,Te)):o.filterOptions?(p(),s(`select`,{key:1,"aria-label":`Filter `+o.headerConfig.headerText+` by sport`,class:`c-templated-header__filter-select appearance-none s-text-regular`,value:S(c)?S(c):S(a),onChange:i[3]||=e=>m(e)},[(p(!0),s(d,null,T(S(me)(o.filterOptions),(e,n)=>(p(),s(d,{key:n},[e.title?(p(),s(`option`,{key:0,value:e.id},v(e.title),9,Oe)):t(``,!0)],64))),128))],40,De)):t(``,!0),u(`div`,ke,[l(b,{name:`icon-chevron-down`,"aria-hidden":`true`})])])):t(``,!0)],64))],2)}}},je={class:`sr-only`},Me={key:1,class:`c-gamecenter__decor c-gamecenter__decor--default`},Ne={class:`c-gamecenter__sport-opponent`},Pe={key:0,class:`c-gamecenter__sport c-gamecenter__sport--wide s-text-details-bold`},Fe={key:1,class:`c-gamecenter__sport c-gamecenter__sport--mobile s-text-details-bold`},Ie={key:2,class:`c-gamecenter__opponent s-text-title-large`},Le={class:`c-gamecenter__game-info`},Re={class:`c-gamecenter__sponsor`},ze={class:`c-gamecenter__teams`},Be={class:`c-gamecenter__team c-gamecenter__team--school`},Ve={class:`c-gamecenter__score s-text-heading`},He={class:`c-gamecenter__state`},Ue={key:0,class:`c-gamecenter__sport c-gamecenter__sport--narrow s-text-details-bold`},We={key:1,class:`c-gamecenter__status s-text-details-bold`},Ge={class:`c-gamecenter__team c-gamecenter__team--opponent`},Ke={class:`c-gamecenter__score s-text-heading`},qe={key:2,class:`c-gamecenter__link-container`},Je={__name:`TGameCenterItem`,props:{data:{type:Object,required:!0},itemConfig:{type:Object,required:!0,theme:{type:String,default:`light-theme`},logo:{type:Object,src:{type:String,default:null}},logos:{preload:{type:Boolean,default:!1},size:{type:String,default:`small`},stroke:{type:Boolean,default:!0}},adLocationName:{type:String,default:``}}},setup(e){let i=e;return(e,a)=>{let c=G,f=Z,m=N,h=Q;return i.data&&i.data.length?(p(!0),s(d,{key:0},T(i.data,(_,b)=>(p(),s(`article`,{key:b,class:g([`c-gamecenter c-gamecenter__item c-gamecenter__item--standard`,i.itemConfig.theme])},[u(`h3`,je,[a[0]||=o(` Live game center event. Happening now: `,-1),_.sport?.title&&_.opponent?.title?(p(),s(d,{key:0},[o(v(_.sport.title)+` `+v(_.game_location_indicator===`A`?`at`:`versus`)+` `+v(_.opponent.title),
11)],64)):t(``,!0),a[1]||=o(` , `,-1),_.school_team?.score>_.opponent_team?.score?(p(),s(d,{key:1},[o(` Winning `)],64)):t(``,!0),_.school_team?.score<_.opponent_team?.score?(p(),s(d,{key:2},[o(` Losing `)],64)):t(``,!0),_.school_team?.score===_.opponent_team?.score?(p(),s(d,{key:3},[o(` Tied `)],64)):t(``,!0),a[2]||=o(` , `,-1),_.school_team?.score?(p(),s(d,{key:4},[o(v(_.school_team?.score),1)],64)):(p(),s(d,{key:5},[o(` 0 `)],64)),a[3]||=o(` , to , `,-1),_.opponent_team?.score?(p(),s(d,{key:6},[o(v(_.opponent_team?.score),1)],64)):(p(),s(d,{key:7},[o(` 0 `)],64))]),_.school_team?.color&&_.opponent_team?.color?(p(),s(`div`,{key:0,class:`c-gamecenter__decor`,style:y(`background: linear-gradient(90deg, ${_.school_team?.color} 0%, ${_.opponent_team?.color} 100%);`)},null,4)):(p(),s(`div`,Me)),u(`div`,Ne,[_.sport?.title?(p(),s(`div`,Pe,v(_.sport.title),1)):t(``,!0),_.sport?.abbreviation?(p(),s(`div`,Fe,[_.sport?.global_sport_shortname?(p(),r(c,{key:0,name:`icon-sport-${_.sport.global_sport_shortname}`,"aria-hidden":`true`},null,8,[`name`])):t(``,!0),o(` `+v(_.sport.abbreviation),1)])):t(``,!0),_.game_location_indicator&&_.opponent.title?(p(),s(`div`,Ie,v(_.game_location_indicator===`A`?`at`:`vs`)+` `+v(_.opponent.title),1)):t(``,!0)]),u(`div`,Le,[u(`div`,Re,[i.itemConfig.adLocationName?(p(),r(f,{key:0,adSlotName:i.itemConfig.adLocationName},null,8,[`adSlotName`])):t(``,!0)]),u(`div`,ze,[u(`div`,Be,[u(`div`,{class:g([`c-gamecenter__logo`,[i?.itemConfig?.logos?.size?`size-${i?.itemConfig?.logos?.size}`:`size-small`,i?.itemConfig?.logos?.stroke===!1?``:`stroke`]])},[_.school_team?.icon?(p(),r(m,{key:0,class:`c-gamecenter__logo-image`,alt:_.school_team?.name,preload:i?.itemConfig?.logos?.preload,lazyload:!i?.itemConfig?.logos?.preload,images:[{breakpoint:0,image:_.school_team.icon,width:64,height:64}]},null,8,[`alt`,`preload`,`lazyload`,`images`])):(p(),r(m,{key:1,class:`c-gamecenter__logo-image grayscale opacity-[.5]`,alt:``,preload:i?.itemConfig?.logos?.preload,lazyload:!i?.itemConfig?.logos?.preload,images:[{breakpoint:0,image:i.itemConfig.logo.src,width:64,height:64}]},null,8,[`preload`,`lazyload`,`images`]))],2),u(`div`,Ve,[_.team_score?(p(),s(d,{key:0},[o(v(_.team_score),1)],64)):(p(),s(d,{key:1},[o(` 0 `)],64))])]),u(`div`,He,[_.sport?.title?(p(),s(`div`,Ue,v(_.sport.title),1)):t(``,!0),_.game_state&&_.game_state===3?(p(),s(`div`,We,[l(c,{name:`icon-audio`,"aria-hidden":`true`}),a[4]||=o(` Live `,-1)])):t(``,!0)]),u(`div`,Ge,[u(`div`,Ke,[_.opponent_score?(p(),s(d,{key:0},[o(v(_.opponent_score),1)],64)):(p(),s(d,{key:1},[o(` 0 `)],64))]),u(`div`,{class:g([`c-gamecenter__logo`,[i?.itemConfig?.logos?.size?`size-${i?.itemConfig?.logos?.size}`:`size-small`,i?.itemConfig?.logos?.stroke===!1?``:`stroke`]])},[_.opponent_team?.icon?(p(),r(m,{key:0,class:`c-gamecenter__logo-image`,alt:_.opponent_team?.name,preload:i?.itemConfig?.logos?.preload,lazyload:!i?.itemConfig?.logos?.preload,images:[{breakpoint:0,image:_.opponent_team.icon,width:64,height:64}]},null,8,[`alt`,`preload`,`lazyload`,`images`])):(p(),r(m,{key:1,class:`c-gamecenter__logo-image grayscale opacity-[.5]`,alt:``,preload:i?.itemConfig?.logos?.preload,lazyload:!i?.itemConfig?.logos?.preload,images:[{breakpoint:0,image:i.itemConfig.logo.src,width:64,height:64}]},null,8,[`preload`,`lazyload`,`images`]))],2)])])]),_.game_center_enabled&&_.game_center_link?(p(),s(`div`,qe,[l(h,{class:`c-gamecenter__link`,href:_.game_center_link,"aria-label":`Go to live game center for ${_.sport?.title||``} ${_.atVs===`at`?`at`:`versus`} ${_.opponent?.title||``} on ${e.$format_date(_.datetime_utc,`MMMM d, y`)}. ${_.game_time?`Started at ${_.game_time}`:``}`},{default:n(()=>[a[5]||=u(`span`,{class:`c-gamecenter__link-text s-text-regular-bold`},` Game Center `,-1),l(c,{name:`icon-arrow-right`,"aria-hidden":`true`})]),_:1},8,[`href`,`aria-label`])])):t(``,!0)],2))),128)):t(``,!0)}}},Ye={__name:`GCLiveEventComponent`,props:{sportId:{type:[Number,String],required:!0},count:{type:Number,required:!1,default:3}},setup(t){let n=t,{$customFetch:r}=e(),i=U(),a=O(n.count),o=O(n.sportId),s=ie(),c=F(),l=E(()=>c.getSportById(Number(o.value))),u=E(()=>{let e=s.getLiveGames;return e?.length?e:[]}
1),d=E(()=>u.value?.length?l.value?.id?u.value.filter(e=>e.sport.id===Number(o.value)&&e.game_state===R.Live):u.value.filter(e=>e.game_state===R.Live):[]),f=E(()=>d.value?a.value?d.value.slice(0,a.value):d.value:[]),p=E(()=>s.getLoadingLiveGamesFlag),m=async()=>{await s.fetchLiveGames({fetch:r})};return b(async()=>{await m()}),D(()=>n.sportId,e=>{e!==void 0&&(o.value=e)}),D(()=>n.count,e=>{e!==void 0&&(a.value=e)}),(e,t)=>_(e.$slots,`content`,{data:S(f),config:S(i),isLoading:S(p),currentSportId:S(o)})}},Xe=[`id`,`aria-labelledby`],Ze={__name:`TGameCenterStandard`,props:{activeHeaderElement:{type:String,default:``},headerConfig:{type:Object,required:!0,showHeader:{type:Boolean,default:!0},headerText:{type:String,default:`Game Center`},identifier:{type:String,default:``}},componentConfig:{type:Object,required:!0,theme:{type:String,default:`light-theme`},identifier:{type:String,default:``},sportIdOverride:{type:String||Number,required:!1}},itemConfig:{type:Object,required:!0}},setup(e){let i=H(),a=e;return(e,o)=>{let s=Ae,c=Je,d=Ye;return p(),r(d,{name:a.componentConfig.identifier,count:1,start:0,sportId:a.componentConfig.sportIdOverride??S(i)},{content:n(({data:e,isLoading:i})=>[e&&e.length?(p(),r(S(q),{key:0,isLoading:i},{content:n(()=>[u(`section`,{id:a.componentConfig.identifier,class:g([`s-gamecenter s-gamecenter--standard`,[{"wrapped-enabled":a.componentConfig.wrapped&&a?.headerConfig?.disableWrappedComponent==0}]]),"aria-labelledby":a.headerConfig.identifier},[l(s,{headerConfig:a.headerConfig,theme:a.componentConfig.theme,cta:a.headerConfig.showText?a.componentConfig.cta:null},null,8,[`headerConfig`,`theme`,`cta`]),l(c,{data:e,itemConfig:a.itemConfig},null,8,[`data`,`itemConfig`])],10,Xe)]),default:n(()=>[l(S(K),{class:`w-full h-[138px]`})]),_:2},1032,[`isLoading`])):t(``,!0)]),_:1},8,[`name`,`sportId`])}}},Qe={class:`c-ads c-ads--top-promo sidearm-wrapper`},$e=Object.assign(a({__name:`AdsPromoTop`,setup(e){let t=H(),r=O(!1),i=e=>{r.value=e};return(e,a)=>{let o=Y;return p(),s(d,null,[l(S(q),{isLoading:S(r)},{content:n(()=>[...a[0]||=[]]),default:n(()=>[l(S(K),{class:`w-full h-[455px] rounded-[5px]`})]),_:1},8,[`isLoading`]),c(u(`div`,Qe,[l(o,{name:`promo---homepage---above-stories-6a91a8`,prevIcon:`icon-arrow-left`,nextIcon:`icon-arrow-right`,sportId:S(t),onLoadingChange:i},null,8,[`sportId`])],512),[[j,!S(r)]])],64)}}}),{__name:`AdsPromoTop`}),et={class:`s-events`,"aria-labelledby":`h2_upcoming`},tt={class:`c-events c-events--list`},nt={key:0,class:`c-events__no-data text-center`},rt={key:1,class:`c-events__list`},it=[`id`],at={class:`c-events__article`},ot={class:`sr-only`},st={class:`c-events__top`},ct={key:0,class:`c-events__sport-title truncate grow s-text-details-bold`},lt={key:1,class:`c-events__date-time s-text-details`},ut=[`datetime`],dt={key:1,class:`c-events__date-time-separator`},ft={key:2,class:`c-events__time`},pt={key:2,class:`c-events__live flex items-center`},mt={class:`c-events__teams`},ht={class:`c-events__team c-events__team--opponent`},gt={class:`c-events__team-logo`},_t=[`src`,`alt`],vt={class:`c-events__team-name truncate grow s-text-details`},yt={key:0,class:`c-events__team-scores`},bt={key:0,class:`c-events__team-score s-text-paragraph-small`},xt={key:1,class:`c-events__team-score s-text-paragraph-small`},St=[`aria-label`,`aria-expanded`,`aria-controls`,`onClick`,`onKeyup`],Ct=[`id`,`onKeyup`],wt={class:`c-events__media reset-list`},Tt={key:0,class:`c-events__media-item`},Et={key:0,class:`c-events__media-item`},Dt={key:1,class:`c-events__media-item`},Ot={key:2,class:`c-events__media-item`},kt={key:3,class:`c-events__media-item`},At=Object.assign(a({__name:`EventsList`,setup(i){let{$format_date:a}=e(),c=U();C(`bucket`,c.bucket);let f=c.bucket,m=H(),h=O(null),_=e=>{if(!h.value||h.value!==e){h.value=e;return}h.value===e&&(h.value=null)},y=()=>{h.value=null},b=e=>{e&&setTimeout(()=>{document.querySelector(`.c-events--list #events-list-item-${e} .c-events__toggle`)?.focus()},250)};return(e,i)=>{let c=N,x=G,C=Q,w=ae;return p(),r(w,{name:`events-list`,count:5,sportId:S(m)},{content:n(({data:e,isLoading:m})=>[l(S(q),{isLoading:m},{content:n(()=>[u(`section`,et,[i[13]||=u(`h2`,{id:`h2_upcoming`,class:`hide`},` Upcoming Events `,-1),u(`div`,tt,[e?t(``,!0):(p(),s(`p`,nt,` There are currently no upcoming events. `)),e&&e.length?(p(),s(`ul`,rt,[(p(!0),s(d,null,T(e,(e,m)=>(p(),s(`li`,{id:`events-list-item-${e.id}`,key:m,class:g([`c-events__item relative`,e.location_indicator===`A`?`c-events__item--away`:`c-events__item--home`])},[u(`article`,at,[u(`h3`,ot,[i[5]||=o(` Upcoming Event: `,-1),e.sport?.title&&e.opponent?.title?(p(),s(d,{key:0},[o(v(e.sport.title)+` `+v(e.location_indicator===`A`?`at`:`versus`)+` `+v(e.opponent.title),
11)],64)):t(``,!0),e.start_date?(p(),s(d,{key:1},[o(` on `+v(S(a)(e.start_date,`MMMM d, y`)),1)],64)):t(``,!0),e.time?(p(),s(d,{key:2},[o(` at `+v(e.time),1)],64)):t(``,!0)]),u(`div`,st,[e.sport?.title?(p(),s(`div`,ct,v(e.sport.title),1)):t(``,!0),e.is_live?(p(),s(`div`,pt,[...i[6]||=[u(`div`,{class:`c-events__live-text s-text-details-bold`},` Live Now `,-1),u(`div`,{class:`c-events__live-dot`},null,-1)]])):(p(),s(`div`,lt,[e.start_date?(p(),s(`time`,{key:0,class:`c-events__date`,datetime:S(a)(e.start_date,`yyyy-MM-dd`),"aria-hidden":`true`},v(S(a)(e.start_date,`MMMM d`)),9,ut)):t(``,!0),e.start_date&&e.time?(p(),s(`div`,dt,` ,   `)):t(``,!0),e.time?(p(),s(`div`,ft,v(e.time),1)):t(``,!0)]))]),u(`div`,mt,[u(`div`,ht,[u(`div`,gt,[e.opponent?.image?.url?(p(),r(c,{key:Number(e.opponent?.id),lazyload:!0,class:`object-contain`,alt:``,images:[{breakpoint:0,image:`${S(f)+e.opponent.image.url}`,width:22,height:22}]},null,8,[`images`])):(p(),s(`img`,{key:1,class:`default`,src:`${S(f)}/images/integration_2024/nav_main.svg`,alt:String(e.opponent?.title)},null,8,_t))]),u(`div`,vt,[e.atVs?(p(),s(d,{key:0},[o(v(e.atVs+` `),1)],64)):t(``,!0),e.opponent?.title?(p(),s(d,{key:1},[o(v(e.opponent.title),1)],64)):t(``,!0)]),e.livestats?.team_score||e.livestats?.opponent_score?(p(),s(`div`,yt,[e.livestats?.team_score?(p(),s(`div`,bt,v(e.livestats.team_score),1)):t(``,!0),i[7]||=u(`div`,{class:`c-events__team-scores-separator`},`  –  `,-1),e.livestats?.opponent_score?(p(),s(`div`,xt,v(e.livestats.opponent_score),1)):t(``,!0)])):t(``,!0)])]),e.start_date&&(e.media.audio||e.media.video||e.media.stats||e.media.tickets||e.game_center_enabled)?(p(),s(`button`,{key:0,class:g([`c-events__toggle appearance-none`,{"is-toggled":S(h)===e.id}]),"aria-label":`Toggle media panel: ${e.sport?.title} ${e.atVs===`at`?`at`:`versus`} ${e.opponent?.title} on ${S(a)(e.start_date,`MMMM d, y`)}${e.time?` at ${e.time}`:``}`,"aria-expanded":S(h)===e.id,"aria-controls":`events-list-overlay-${e.id}`,type:`button`,onClick:A(t=>_(e.id),[`prevent`]),onKeyup:k(t=>(y(),b(e.id)),[`esc`])},[l(x,{name:`icon-plus`})],42,St)):t(``,!0),e.media.audio||e.media.video||e.media.stats||e.media.tickets||e.game_center_enabled?(p(),s(`div`,{key:1,id:`events-list-overlay-${e.id}`,class:g([`c-events__overlay flex justify-center items-center`,{"is-open":S(h)===e.id}]),onKeyup:k(t=>(y(),b(e.id)),[`esc`])},[u(`ul`,wt,[e.game_center_enabled?(p(),s(`li`,Tt,[l(C,{class:`c-events__media-link s-text-details`,"aria-label":`Game Center for ${e.sport?.title} ${e.location_indicator===`A`?`at`:`versus`} ${e.opponent?.title} on ${S(a)(e?.start_date||``,`MMMM d, y`)}`,href:e.game_center_link,tabindex:S(h)===e.id?0:-1,onBlur:i[0]||=e=>y(),onFocus:t=>h.value=e.id},{default:n(()=>[l(x,{name:`icon-arrow-right`,class:`group-hover:translate-y-[-3px] transition rotate-z-[-45deg]`,"aria-hidden":`true`}),i[8]||=o(` Game Center `,-1)]),_:1},8,[`aria-label`,`href`,`tabindex`,`onFocus`])])):(p(),s(d,{key:1},[e.start_date&&e.media.audio?(p(),s(`li`,Et,[l(C,{class:`c-events__media-link s-text-details`,"aria-label":`Audio for ${e.sport?.title} ${e.atVs===`at`?`at`:`versus`} ${e.opponent?.title} on ${S(a)(e.start_date,`MMMM d, y`)}${e.time?` at ${e.time}`:``}`,href:e.media.audio,tabindex:S(h)===e.id?0:-1,onBlur:i[1]||=e=>y(),onFocus:t=>h.value=e.id},{default:n(()=>[l(x,{name:`icon-audio`,"aria-hidden":`true`}),i[9]||=o(` Listen `,-1)]),_:1},8,[`aria-label`,`href`,`tabindex`,`onFocus`])])):t(``,!0),e.start_date&&e.media.video?(p(),s(`li`,Dt,[l(C,{class:`c-events__media-link s-text-details`,"aria-label":`Video for ${e.sport?.title} ${e.atVs===`at`?`at`:`versus`} ${e.opponent?.title} on ${S(a)(e.start_date,`MMMM d, y`)}${e.time?` at ${e.time}`:``}`,href:e.media.video,tabindex:S(h)===e.id?0:-1,onBlur:i[2]||=e=>y(),onFocus:t=>h.value=e.id},{default:n(()=>[l(x,{name:`icon-video`,"aria-hidden":`true`}),i[10]||=o(` Watch `,-1)]),_:1},8,[`aria-label`,`href`,`tabindex`,`onFocus`])])):t(``,!0),e.start_date&&e.media.stats?(p(),s(`li`,Ot,[l(C,{class:`c-events__media-link s-text-details`,"aria-label":`Stats for ${e.sport?.title} ${e.atVs===`at`?`at`:`versus`} ${e.opponent?.title} on ${S(a)(e.start_date,`MMMM d, y`)}${e.time?` at ${e.time}`:``}`,href:e.media.stats,tabindex:S(h)===e.id?0:-1,onBlur:i[3]||=e=>y(),onFocus:t=>h.value=e.id},{default:n(()=>[l(x,{name:`icon-stats`,"aria-hidden":`true`}),i[11]||=o(` Stats `,-1)]),_:1}
1,8,[`aria-label`,`href`,`tabindex`,`onFocus`])])):t(``,!0),e.start_date&&e.media.tickets?(p(),s(`li`,kt,[l(C,{class:`c-events__media-link s-text-details`,"aria-label":`Buy Tickets for ${e.sport?.title} ${e.atVs===`at`?`at`:`versus`} ${e.opponent?.title} on ${S(a)(e.start_date,`MMMM d, y`)}${e.time?` at ${e.time}`:``}`,href:e.media.tickets,tabindex:S(h)===e.id?0:-1,onBlur:i[4]||=e=>y(),onFocus:t=>h.value=e.id},{default:n(()=>[l(x,{name:`icon-tickets`,"aria-hidden":`true`}),i[12]||=o(` Tickets `,-1)]),_:1},8,[`aria-label`,`href`,`tabindex`,`onFocus`])])):t(``,!0)],64))])],42,Ct)):t(``,!0)])],10,it))),128))])):t(``,!0)])])]),default:n(()=>[l(S(K),{class:`w-full h-[64px]`})]),_:2},1032,[`isLoading`])]),_:1},8,[`sportId`])}}}),{__name:`EventsList`}),jt={__name:`ResultsComponent`,props:{...X},setup(t){let n=se(),r=t,{$customFetch:i}=e(),{initialize:a,loadMore:o,getComponentData:s,currentSportId:c,config:l,hash:u}=J({props:r,fetch:i}),{sports:d,selectedSport:f,updateSport:p}=$(r,c,s,n.fetchResults),m=E(()=>n.getResults(u())),h=E(()=>n.getMoreToLoad(u())),g=E(()=>n.getLoadingMoreFlag(u())),v=E(()=>n.getLoadingFlag(u()));return b(async()=>{await s(n.fetchResults),a(n.fetchMoreResults)}),(e,t)=>_(e.$slots,`content`,{data:S(m),config:S(l),loadMore:S(o),moreToLoad:S(h),isLoadingMore:S(g),isLoading:S(v),currentSportId:S(c),sports:S(d),selectedSport:S(f),updateSport:S(p)})}},Mt={class:`s-results`,"aria-labelledby":`h2_recent`},Nt={class:`c-events c-events--list`},Pt={key:0,class:`c-events__no-data text-center`},Ft={key:1,class:`c-events__list`},It=[`id`],Lt={class:`c-events__article`},Rt={class:`sr-only`},zt={class:`c-events__top`},Bt={key:0,class:`c-events__sport-title truncate grow s-text-details-bold`},Vt={class:`c-events__date-status s-text-details`},Ht=[`datetime`],Ut={key:1,class:`c-events__date-status-separator`},Wt={key:2,class:`c-events__status`},Gt={class:`c-events__teams`},Kt={class:`c-events__team c-events__team--opponent`},qt={class:`c-events__team-logo`},Jt=[`src`,`alt`],Yt={class:`c-events__team-name truncate grow s-text-details`},Xt={key:0,class:`c-events__team-score s-text-details`},Zt={key:0,class:`c-events__team-score--prescore`},Qt={key:1,class:`c-events__team-score--postscore`},$t={key:1,class:`c-events__team-scores s-text-details`},en={key:0,class:`c-events__result-status`},tn={key:1,class:`c-events__team-score`},nn={key:2,class:`c-events__team-scores-separator`},rn={key:3,class:`c-events__team-score`},an=[`aria-label`,`aria-expanded`,`aria-controls`,`onClick`,`onKeyup`],on=[`id`],sn={class:`c-events__media`},cn={key:0,class:`c-events__media-item`},ln={key:0,class:`c-events__media-item`},un={key:1,class:`c-events__media-item`},dn=Object.assign(a({__name:`ResultsList`,setup(i){let{$format_date:a}=e(),c=U();C(`bucket`,c.bucket);let f=c.bucket,m=H(),h=O(null),_=e=>{if(!h.value||h.value!==e){h.value=e;return}h.value===e&&(h.value=null)},y=()=>{h.value=null},b=e=>{e&&setTimeout(()=>{document.querySelector(`.c-events--list #events-list-item-${e} .c-events__toggle`)?.focus()},250)};return(e,i)=>{let c=N,x=G,C=Q,w=jt;return p(),r(w,{name:`results-list`,count:5,sportId:S(m)},{content:n(({data:e,isLoading:m})=>[l(S(q),{isLoading:m},{content:n(()=>[u(`section`,Mt,[i[9]||=u(`h2`,{id:`h2_recent`,class:`hide`},` Recent Results `,-1),u(`div`,Nt,[e?t(``,!0):(p(),s(`p`,Pt,` There are currently no upcoming events. `)),e&&e.length?(p(),s(`ul`,Ft,[(p(!0),s(d,null,T(e,(e,m)=>(p(),s(`li`,{id:`events-list-item-${e.id}`,key:m,class:g([`c-events__item relative`,e.location_indicator===`A`?`c-events__item--away`:`c-events__item--home`])},[u(`article`,Lt,[u(`h3`,Rt,[e.status?(p(),s(d,{key:0},[e.status===`P`?(p(),s(d,{key:0},[o(` Postponed Event: `)],64)):e.status===`C`?(p(),s(d,{key:1},[o(` Cancelled Event: `)],64)):(p(),s(d,{key:2},[o(` Completed Event: `)],64))],64)):t(``,!0),e.sport?.title&&e.opponent?.title?(p(),s(d,{key:1},[o(v(e.sport.title)+` `+v(e.location_indicator===`A`?`at`:`versus`)+` `+v(e.opponent.title),1)],64)):t(``,!0),e.status!==`P`&&e.status!==`C`?(p(),s(d,{key:2},[e.start_date?(p(),s(d,{key:0},[o(` on `+v(S(a)(e.start_date,`MMMM d, y`)),1)],64)):t(``,!0),e.result?.status?(p(),s(d,{key:1},[i[4]||=o(` , `,-1),e.result.status===`W`?(p(),s(d,{key:0},[o(` Win `)],64)):e.result.status===`L`?(p(),s(d,{key:1},[o(` Loss `)],64)):e.result.status===`T`?(p(),s(d,{key:2},[o(` Tie `)],64)):t(``,!0)],64)):t(``,!0),e.result?.team_score&&e.result?.opponent_score?(p(),s(d,{key:2},[o(` , `+v(e.result?.team_score)+`, to, `+v(e.result?.opponent_score),1)],64)):t(``,!0),e.result?.prescore||e.result?.postscore?(p(),s(d,{key:3},[i[5]||=o(` , Result:, `,-1),e.result.prescore?(p(),s(d,{key:0},[o(v(e.result.prescore),1)],64)):t(``,!0),e.result.postscore?(p(),s(d,{key:1},[o(v(e.result.postscore),1)],64)):t(``,!0)],64)):t(``,!0)],64)):t(``,!0)]),u(`div`,zt,[e.sport?.title?(p(),s(`div`,Bt,v(e.sport.title),
11)):t(``,!0),u(`div`,Vt,[e.start_date?(p(),s(`time`,{key:0,class:`c-events__date`,datetime:S(a)(e.start_date,`yyyy-MM-dd`),"aria-hidden":`true`},v(S(a)(e.start_date,`MMMM d`)),9,Ht)):t(``,!0),e.start_date&&e.status?(p(),s(`div`,Ut,` ,   `)):t(``,!0),e.status?(p(),s(`div`,Wt,[e.status===`P`?(p(),s(d,{key:0},[o(` Postponed `)],64)):e.status===`C`?(p(),s(d,{key:1},[o(` Cancelled `)],64)):(p(),s(d,{key:2},[o(` Final `)],64))])):t(``,!0)])]),u(`div`,Gt,[u(`div`,Kt,[u(`div`,qt,[e.opponent?.image?.url?(p(),r(c,{key:e.opponent?.id,class:`object-contain`,alt:``,lazyload:!0,images:[{breakpoint:0,image:`${S(f)+e.opponent.image.url}`,width:22,height:22}]},null,8,[`images`])):(p(),s(`img`,{key:1,class:`default`,src:`${S(f)}/images/integration_2024/nav_main.svg`,alt:e.opponent?.title??``},null,8,Jt))]),u(`div`,Yt,[e.atVs?(p(),s(d,{key:0},[o(v(e.atVs+` `),1)],64)):t(``,!0),e.opponent?.title?(p(),s(d,{key:1},[o(v(e.opponent.title),1)],64)):t(``,!0)]),e.result?.prescore||e.result?.postscore?(p(),s(`div`,Xt,[e.result?.prescore?(p(),s(`span`,Zt,v(e.result?.prescore),1)):t(``,!0),e.result?.postscore?(p(),s(`span`,Qt,v(e.result?.postscore),1)):t(``,!0)])):t(``,!0),e.result?.team_score||e.result?.opponent_score?(p(),s(`div`,$t,[e.result?.status?(p(),s(`div`,en,v(e.result.status)+`,   `,1)):t(``,!0),e.result?.team_score?(p(),s(`div`,tn,v(e.result.team_score),1)):t(``,!0),e.result?.team_score&&e.result?.opponent_score?(p(),s(`div`,nn,`  –  `)):t(``,!0),e.result?.opponent_score?(p(),s(`div`,rn,v(e.result.opponent_score),1)):t(``,!0)])):t(``,!0)])]),e.start_date&&(e.story?.url||e.result?.boxscore||e.game_center_enabled)?(p(),s(`button`,{key:0,class:g([`c-events__toggle appearance-none`,{"is-toggled":S(h)===e.id}]),"aria-label":`Toggle media panel: ${e.sport?.title} ${e.location_indicator===`A`?`at`:`versus`} ${e.opponent?.title} on ${S(a)(e.start_date,`MMMM d, y`)}`,"aria-expanded":S(h)===e.id,"aria-controls":`events-list-overlay-${e.id}`,type:`button`,onClick:A(t=>_(e.id),[`prevent`]),onKeyup:k(t=>(y(),b(e.id)),[`esc`])},[l(x,{name:`icon-plus`,"aria-hidden":`true`})],42,an)):t(``,!0),e.story?.url||e.result?.boxscore||e.game_center_enabled?(p(),s(`div`,{key:1,id:`events-list-overlay-${e.id}`,class:g([`c-events__overlay`,{"is-open":S(h)===e.id}]),onKeyup:i[3]||=k(e=>y(),[`esc`])},[u(`ul`,sn,[e.game_center_enabled?(p(),s(`li`,cn,[l(C,{class:`c-events__media-link s-text-details`,"aria-label":`Game Center for ${e.sport?.title} ${e.location_indicator===`A`?`at`:`versus`} ${e.opponent?.title} on ${S(a)(e?.start_date||``,`MMMM d, y`)}`,href:e.game_center_link,tabindex:S(h)===e.id?0:-1,onBlur:i[0]||=e=>y(),onFocus:t=>h.value=e.id},{default:n(()=>[l(x,{name:`icon-arrow-right`,class:`group-hover:translate-y-[-3px] transition rotate-z-[-45deg]`,"aria-hidden":`true`}),i[6]||=o(` Game Center `,-1)]),_:1},8,[`aria-label`,`href`,`tabindex`,`onFocus`])])):(p(),s(d,{key:1},[e.start_date&&e.story?.url?(p(),s(`li`,ln,[l(C,{class:`c-events__media-link s-text-details`,"aria-label":`Story recap for ${e.sport?.title} ${e.location_indicator===`A`?`at`:`versus`} ${e.opponent?.title} on ${S(a)(e.start_date,`MMMM d, y`)}`,href:e.story?.url,tabindex:S(h)===e.id?0:-1,onBlur:i[1]||=e=>y(),onFocus:t=>h.value=e.id},{default:n(()=>[l(x,{name:`icon-news`,"aria-hidden":`true`}),i[7]||=o(` Recap `,-1)]),_:1},8,[`aria-label`,`href`,`tabindex`,`onFocus`])])):t(``,!0),e.start_date&&e.result?.boxscore?(p(),s(`li`,un,[l(C,{class:`c-events__media-link s-text-details`,"aria-label":`Box score for ${e.sport?.title} ${e.location_indicator===`A`?`at`:`versus`} ${e.opponent?.title} on ${S(a)(e.start_date,`MMMM d, y`)}`,href:e.result?.boxscore,tabindex:S(h)===e.id?0:-1,onBlur:i[2]||=e=>y(),onFocus:t=>h.value=e.id},{default:n(()=>[l(x,{name:`icon-boxscore`,"aria-hidden":`true`}),i[8]||=o(` Boxscore `,-1)]),_:1},8,[`aria-label`,`href`,`tabindex`,`onFocus`])])):t(``,!0)],64))])],42,on)):t(``,!0)])],10,It))),128))])):t(``,!0)])])]),default:n(()=>[l(S(K),{class:`w-full h-[64px]`})]),_:2},1032,[`isLoading`])]),_:1},8,[`sportId`])}}}),{__name:`ResultsList`}),fn={class:`c-events c-events--tabs`,"aria-labelledby":`h2_events-results-tabs`},pn={class:`c-events__header flex items-center justify-between`},mn={id:`h2_events-results-tabs`,class:`c-events__header-title flex items-center s-text-heading-small`},hn=[`src`],gn={class:`c-events__tabs-container flex items-center justify-center`,role:`tablist`},_n={class:`c-events__panel`,role:`tabpanel`,"aria-labelledby":`upcoming-tab`},vn={class:`c-events__panel`,role:`tabpanel`,"aria-labelledby":`results-tab`},yn={class:`c-events__more-container`},bn=Object.assign(a({__name:`EventsTabs`,setup(e){let t=M(),r=U();C(`bucket`,r.bucket);let i=r.bucket,a=O(`upcoming`),d=e=>a.value=e;return(e,r)=>{let f=Z,m=At,h=dn,_=Q;return p(),s(`section`,fn,[u(`div`,pn,[u(`h2`,mn,[u(`img`,{class:`c-events__header-decal`,src:`${S(i)}/images/integration_2024/logo_header.svg`,alt:``,"aria-hidden":`true`},null,8,hn),r[2]||=o(` Schedule `,-1)]),l(f,{adSlotName:`htlad-calendar_sponsorlogo`})]),u(`div`,gn,[u(`button`,{class:g([`c-events__tab c-events__tab--upcoming flex items-center justify-center s-text-small-bold`,{"c-events__tab--active":S(a)===`upcoming`}]),type:`button`,"aria-label":`Filter by upcoming events`,role:`tab`,onClick:r[0]||=A(e=>d(`upcoming`),[`prevent`])},[...r[3]||=[u(`span`,null,`Events`,-1)]],2),u(`button`,{class:g([`c-events__tab c-events__tab--results flex items-center justify-center s-text-small-bold`,{"c-events__tab--active":S(a)===`results`}]),type:`button`,"aria-label":`Filter by recent results`,role:`tab`,onClick:r[1]||=A(e=>d(`results`),[`prevent`])},[...r[4]||=[u(`span`,null,`Results`,-1)]],2)]),c(u(`div`,_n,[l(m)],512),[[j,S(a)===`upcoming`]]),c(u(`div`,vn,[l(h)],512),[[j,S(a)===`results`]]),u(`div`,yn,[l(_,{href:S(t).params.sportSlug?`/sports/${S(t).params.sportSlug}/schedule`:`/calendar`,class:`c-events__more s-text-small-bold flex items-center justify-center`},{default:n(()=>[...r[5]||=[o(` Full Calendar `,-1)]]),_:1},8,[`href`])])])}}}),{__name:`EventsTabs`}),xn={__name:`StoryComponent`,props:{...X},setup(t){let n=le(),r=t,{$customFetch:i}=e(),{initialize:a,loadMore:o,getComponentData:s,currentSportId:c,config:l,hash:u}=J({props:r,fetch:i}),{sports:d,selectedSport:f,updateSport:p}=$(r,c,s,n.fetchStories),{selectedVideo:m,switchVideo:h,closeVideo:g}=ce(),v=E(()=>n.getStories(u())),y=E(()=>n.getMoreToLoad(u())),x=E(()=>
1n.getLoadingMoreFlag(u())),C=E(()=>n.getLoadingFlag(u()));return b(async()=>{await s(n.fetchStories),a(n.fetchMoreStories)}),(e,t)=>_(e.$slots,`content`,{data:S(v),config:S(l),loadMore:S(o),moreToLoad:S(y),isLoadingMore:S(x),isLoading:S(C),currentSportId:S(c),sports:S(d),selectedSport:S(f),updateSport:S(p),selectedVideo:S(m),switchVideo:S(h),closeVideo:S(g)})}},Sn={key:0,class:`s-stories`,"aria-labelledby":`h2_stories_grid`},Cn={class:`c-stories c-stories--grid`},wn={key:0,class:`c-stories__header flex items-center justify-between`},Tn={id:`h2_stories_list`,class:`c-stories__header-title flex items-center s-text-heading-small`},En=[`src`],Dn={id:`stories-grid1`,class:`c-stories__grid`},On={class:`c-stories__media overflow-hidden aspect-video relative`},kn={key:1,class:`c-stories__placeholder flex items-center justify-center aspect-video`},An=[`src`],jn=[`id`,`tabindex`,`onClick`],Mn={class:`c-stories__details s-text-details flex flex-col`},Nn={key:0,class:`c-stories__title s-text-title-large`},Pn={key:1,class:`c-stories__sport-date`},Fn={key:0,class:`c-stories__sport s-text-details-bold`},In=[`datetime`],Ln={key:2,class:`c-stories__links`},Rn=[`onKeyup`],zn={class:`sidearm-modal__inner grid center-content h-full max-w-[80%] max-h-[80%] aspect-video`},Bn={class:`sidearm-modal__player-wrapper flex flex-col justify-center`},Vn={class:`sidearm-modal__player aspect-video`},Hn={class:`sidearm-modal__title text-white text-right mt-2`},Un={class:`s-text-paragraph`},Wn=[`onClick`],Gn=Object.assign(a({__name:`StoriesMain`,setup(i){let{$format_date:a}=e(),{isDesktop:f}=W(),m=U();C(`bucket`,m.bucket);let h=m.bucket,_=H(),y=O(``),b=O();function w(e){y.value&&setTimeout(()=>{document.getElementById(`stories-grid-modal-close`)?.focus()},100),b.value=e}function E(){document.getElementById(`c-stories__play-button${b.value}`)?.focus()}return(e,i)=>{let m=Z,y=N,b=G,C=Q,D=xn,O=x(`showcase-player`),j=x(`focusTrap`);return p(),r(D,{name:`stories--grid`,count:1,start:0,sportId:S(_),extra:{featured:!1}},{content:n(({data:e,switchVideo:_,selectedVideo:x,closeVideo:D,isLoading:M})=>[l(S(q),{isLoading:M},{content:n(()=>[e&&e.length?(p(),s(`section`,Sn,[i[4]||=u(`h2`,{id:`h2_stories_grid`,class:`hide`},` Top Story `,-1),u(`div`,Cn,[S(f)?t(``,!0):(p(),s(`div`,wn,[u(`h2`,Tn,[u(`img`,{class:`c-stories__header-decal`,src:`${S(h)}/images/integration_2024/logo_header.svg`,alt:``,"aria-hidden":`true`},null,8,En),i[0]||=o(` Latest News `,-1)]),l(m,{adSlotName:`htlad-news_sponsorlogo`})])),u(`div`,Dn,[(p(!0),s(d,null,T(e,(e,c)=>(p(),s(`article`,{key:c,class:`c-stories__item`},[l(C,{href:e.url,class:`c-stories__media-link`},{default:n(()=>[u(`div`,On,[e.image?.url?(p(),r(y,{key:`grid`+e.id,class:`c-stories__image aspect-video object-cover w-full`,src:e.image.url,alt:e.image.alt_text?e.image.alt_text:``,preload:!0,images:[{breakpoint:1024,image:e.image.url,width:656,height:369},{breakpoint:768,image:e.image.url,width:990,height:557},{breakpoint:0,image:e.image.url,width:735,height:414}]},null,8,[`src`,`alt`,`images`])):(p(),s(`div`,kn,[u(`img`,{class:`c-stories__placeholder-logo`,src:`${S(h)}/images/integration_2024/logo_main.svg`,alt:``},null,8,An)])),e.showcase?(p(),s(`button`,{key:2,id:`c-stories__play-button${c}`,class:`c-stories__play-button common-play-button appearance-none`,type:`button`,tabindex:x?-1:0,onClick:A(t=>{_(e.showcase),w(c)},[`prevent`])},[i[1]||=u(`span`,{class:`sr-only`},`Play Video`,-1),l(b,{name:`icon-play`,class:`text-default-white text-[30px] ml-[2px]`})],8,jn)):t(``,!0),i[2]||=u(`div`,{class:`c-stories__overlay`},[u(`div`,{class:`c-stories__overlay-label s-text-small-bold`},` Read Story `)],-1)])]),_:2},1032,[`href`]),u(`div`,Mn,[e.title?(p(),s(`h3`,Nn,[e.url?(p(),r(C,{key:0,href:e.url,class:`c-stories__url`},{default:n(()=>[o(v(e.title),1)]),_:2},1032,[`href`])):(p(),s(d,{key:1},[o(v(e.title),1)],64))])):t(``,!0),e.sport.title||e.date?(p(),s(`div`,Pn,[e.sport.title?(p(),s(`div`,Fn,v(e.sport.title),1)):t(``,!0),e.date?(p(),s(`time`,{key:1,class:`c-stories__date s-text-details`,datetime:S(a)(e.date,`yyyy-MM-dd`)},v(S(a)(e.date,`MMMM d, ha`)),9,In)):t(``,!0)])):t(``,!0),e.links?.length?(p(),s(`ul`,Ln,[(p(!0),s(d,null,T(e.links,(e,i)=>(p(),s(`li`,{key:i,class:`c-stories__links-item`},[e.link_url?(p(),r(C,{key:0,href:e.link_url,class:`c-stories__links-url s-text-details`},{default:n(()=>[o(v(e.link_text),1)]),_:2},1032,[`href`])):t(``,!0)]))),128))])):t(``,!0)])]))),128))])]),x?c((p(),s(`div`,{key:0,class:g([`sidearm-modal backdrop-blur-sm`,{"is-open":x}]),tabindex:`0`,onKeyup:k(e=>{D(),E()},[`esc`])},[u(`div`,zn,[u(`div`,Bn,[c(u(`div`,Vn,null,512),[[O,{showcase:x}]]),u(`div`,Hn,[i[3]||=u(`span`,{class:`s-text-paragraph-bold !italic`},`Now Playing: `,-1),u(`span`,Un,v(x.title),1)])]),u(`button`,{id:`stories-grid-modal-close`,type:`button`,class:`sidearm-modal__close`,"aria-label":`Close video modal`,tabindex:0,onClick:A(e=>{D(),E()},[`prevent`])},[l(b,{name:`icon-close`})],8,Wn)])],42,Rn)),[[j,!0]]):t(``,!0)])):t(``,!0)]),default:n(()=>[l(S(K),{class:`w-full h-[64px]`})]),_:2},1032,[`isLoading`])]),_:1},8,[`sportId`])}}}),{__name:`StoriesMain`}),Kn={key:0,class:`s-stories-list`,"aria-labelledby":`h2_stories_list`},qn={class:`c-stories c-stories--list`},Jn={key:0,class:`c-stories__header flex items-center justify-between`},Yn={id:`h2_stories_list`,class:`c-stories__header-title flex items-center s-text-heading-small`},Xn=[`src`],Zn={class:`c-stories__list`},Qn={class:`c-stories__item`},$n={key:0,class:`sr-only`},er={class:`c-stories__details flex flex-col`},tr={key:0,class:`c-stories__sport-date`},nr={key:0,class:`c-stories__sport s-text-details-bold`},rr=[`datetime`],ir={class:`c-stories__media relative flex items-center justify-center overflow-hidden`},ar={key:1,class:`c-stories__placeholder flex items-center justify-center aspect-video`},or=[`src`],sr=[`tabindex`,`onClick`],cr={class:`c-stories__footer flex justify-center gap-4`},lr=[`onKeyup`],ur={class:`sidearm-modal__inner grid center-content h-full max-w-[80%] max-h-[80%] aspect-video`},dr={class:`sidearm-modal__player-wrapper flex flex-col justify-center`},fr={class:`sidearm-modal__player aspect-video`},pr={class:`sidearm-modal__title text-white text-right mt-2`},mr={class:`s-text-paragraph`},hr=[`onClick`],gr=Object.assign(a({__name:`StoriesList`,setup(i){let{$format_date:a}=e(),{isDesktop:f}=W(),m=M(),h=U();C(`bucket`,h.bucket);let _=h.bucket,y=H();return(e,i)=>{let h=Z,b=Q,C=N,w=G,E=xn,D=x(`trimHtml`),O=x(`showcase-player`),j=x(`focusTrap`);return p(),r(E,{name:`stories-list`,count:5,start:1,sportId:S(y)},{content:n(({data:e,isLoading:y,switchVideo:x,selectedVideo:E,closeVideo:M})=>[l(S(q),{isLoading:y},{content:n(()=>[e&&e.length?(p(),s(`section`,Kn,[u(`div`,qn,[S(f)?(p(),s(`div`,Jn,[u(`h2`,Yn,[u(`img`,{class:`c-stories__header-decal`,src:`${S(_)}/images/integration_2024/logo_header.svg`,alt:``,"aria-hidden":`true`},null,8,Xn),i[0]||=o(` Latest News `,-1)]),l(h,{adSlotName:`htlad-news_sponsorlogo`})])):t(``,!0),u(`ul`,Zn,[(p(!0),s(d,null,T(e,e=>(p(),s(`li`,{key:e.id}
1,[u(`article`,Qn,[e.title?(p(),s(`h3`,$n,v(e.title),1)):t(``,!0),u(`div`,er,[e.sport.title||e.date?(p(),s(`div`,tr,[e.sport.title?(p(),s(`div`,nr,v(e.sport.title),1)):t(``,!0),e.date?(p(),s(`time`,{key:1,class:`c-stories__date s-text-details`,datetime:S(a)(e.date,`yyyy-MM-dd`)},v(S(a)(e.date,`MMMM d`)),9,rr)):t(``,!0)])):t(``,!0),c(l(b,{href:e.url,class:`c-stories__url s-text-title-small`},null,8,[`href`]),[[D,e.title,40]])]),u(`div`,ir,[e.image?.url?(p(),r(C,{key:0,class:`c-stories__image aspect-video object-cover w-full`,alt:e.image.alt_text?e.image.alt_text:``,images:[{breakpoint:0,image:`${S(_)+e.image.url}`,width:100,height:57}]},null,8,[`alt`,`images`])):(p(),s(`div`,ar,[u(`img`,{class:`c-stories__placeholder-logo`,src:`${S(_)}/images/integration_2024/logo_main.svg`,alt:``},null,8,or)])),e.showcase?(p(),s(`button`,{key:2,type:`button`,class:`c-stories__play-button appearance-none absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary w-[70px] h-[70px] hover:bg-secondary duration-200`,tabindex:E?-1:0,onClick:A(t=>{x(e.showcase)},[`prevent`])},[i[1]||=u(`span`,{class:`sr-only`},`Play Video`,-1),l(w,{name:`icon-play`,class:`text-default-white text-[30px] ml-[2px]`})],8,sr)):t(``,!0)])])]))),128))]),u(`div`,cr,[l(b,{href:S(m).params.sportSlug?`/sports/${S(m).params.sportSlug}/archives`:`/archives`,class:`c-stories__more`},{default:n(()=>[...i[2]||=[o(` All News `,-1)]]),_:1},8,[`href`])])]),E?c((p(),s(`div`,{key:0,class:g([`sidearm-modal backdrop-blur-sm`,{"is-open":E}]),onKeyup:k(e=>M(),[`esc`])},[u(`div`,ur,[u(`div`,dr,[c(u(`div`,fr,null,512),[[O,{showcase:E}]]),u(`div`,pr,[i[3]||=u(`span`,{class:`s-text-paragraph-bold !italic`},`Now Playing: `,-1),u(`span`,mr,v(E.title),1)])]),u(`button`,{type:`button`,class:`sidearm-modal__close`,"aria-label":`Close video modal`,tabindex:0,onClick:A(e=>M(),[`prevent`])},[l(w,{name:`icon-close`})],8,hr)])],42,lr)),[[j,!0]]):t(``,!0)])):t(``,!0)]),default:n(()=>[l(S(K),{class:`w-full h-[64px]`})]),_:2},1032,[`isLoading`])]),_:1},8,[`sportId`])}}}),{__name:`StoriesList`}),_r=globalThis.setInterval,vr={class:`s-html-video`},yr=[`aria-label`],br=Object.assign(a({__name:`AdsHtmlVideo`,setup(e){let t=H(),n=O(`pause`),r=e=>{let t=e.target;if(!(t instanceof HTMLElement))return;let r=t?.closest(`.s-html-video`)?.querySelector(`video`);r?.paused===!1&&r?.currentTime>0&&r?.ended===!1?(r?.pause(),n.value=`play`):(r?.play(),n.value=`pause`)};function i(){if(typeof document<`u`){let e=0,t=_r(function(){document.querySelector(`.s-html-video .html-ad video`)&&clearInterval(t),e>20&&(document.querySelector(`.s-html-video .s-html-video__pause`)?.classList.add(`hidden`),clearInterval(t)),++e},500)}}let a=M();return D(a,e=>{e&&i()}),(e,i)=>{let a=Y,o=G;return p(),s(`div`,vr,[l(a,{name:`html---home-page---video-78c48e`,sportId:S(t)},null,8,[`sportId`]),u(`button`,{class:`s-html-video__pause`,"aria-label":`${S(n)} background video`,onClick:i[0]||=e=>r(e)},[l(o,{class:``,name:`icon-${S(n)}`,"aria-hidden":`true`},null,8,[`name`])],8,yr)])}}}),{__name:`AdsHtmlVideo`}),xr=e=>({id:e.id,text:e.text,created_time:e.createdTime,from:e.from}),Sr=e=>({caption:e.caption?xr(e.caption):null,created_time:e.createdTime,date:e.date,id:e.id,link:e.link,likes:e.likes,images:{thumbnail:e?.images?.thumbnail?e.images.thumbnail:null,low_resolution:e?.images?.lowResolution?e.images.lowResolution:null,standard_resolution:e?.images?.standardResolution?e.images.standardResolution:null},user:{id:e.user.id,full_name:e.user.fullName,profile_picture:e.user.profilePicture,username:e.user.username},is_item_toggled:!1}),Cr=e=>{let{props:t}=e,n=new B(t?.start,t?.count);return{params:{$pageIndex:n.pageIndex,$pageSize:n.pageSize,sportId:t.sport_id},paginationHandler:n}},wr=class{fetch;resource=`/api/v2/Instagram`;constructor({fetch:e}){this.fetch=e}async get(e){let{params:t,paginationHandler:n}=Cr(e);return this.fetch(this.resource,{params:t}).then(e=>{if(!e||!e?.items?.length)return null;let{items:t}=e,r=t.map(e=>Sr(e));if(!r.length)return null;let i=r?.length?n.getData(r):[];return{posts:i,user:i?.[0]?.user||null}}).catch(e=>(console.error(`[InstagramRepos] get() Request Failed`,e),null))}},Tr=P(`instagram`,{state:()=>({data:{},user:{},isLoading:{},isLoadingMore:{},moreToLoad:{}}),actions:{async fetchInstagramData(e){let{fetch:t,...n}=e;if(!(e.hash in this.data)){this.isLoading[e.hash]=!0;let r=await new wr({fetch:t}).get(n);if(r){let{posts:t,user:n}=r;this.data[e.hash]=t&&t.length?t:[],this.user[e.hash]=n}else this.data[e.hash]=[],this.user[e.hash]=null;this.isLoading[e.hash]=!1}},async fetchMoreInstagramData(e){let{fetch:t,...n}=e,{props:r}=e;this.isLoadingMore[e.hash]=!0;let i=await new wr({fetch:t}).get(n);(!i||!i?.posts?.length||i?.posts?.length&&r?.count&&i.posts.length<r.count)&&(this.moreToLoad[e.hash]=!1),i&&i.posts?.length&&(this.data[e.hash]=[...this.data[e.hash]??[],...i.posts]),this.isLoadingMore[e.hash]=!1}},getters:{getInstagramData:e=>t=>t in e.data?{posts:e.data[t],user:e.user[t]}:{posts:[],user:null}
1,getLoadingMoreFlag:e=>t=>t in e.isLoadingMore?e.isLoadingMore[t]??!1:!1,getLoadingFlag:e=>t=>t in e.isLoading?e.isLoading[t]??!1:!1,getMoreToLoad:e=>t=>t in e.moreToLoad?e.moreToLoad[t]??!0:!0}}),Er={__name:`InstagramComponent`,props:{...X},setup(t){let n=Tr(),r=t,{$customFetch:i}=e(),{getComponentData:a,initialize:o,currentSportId:s,config:c,loadMore:l,hash:u}=J({props:r,fetch:i}),d=E(()=>n.getInstagramData(u()).posts),f=E(()=>n.getInstagramData(u()).user),p=E(()=>n.getLoadingMoreFlag(u())),m=E(()=>n.getLoadingFlag(u())),h=E(()=>n.getMoreToLoad(u()));return b(async()=>{await a(n.fetchInstagramData),o(n.fetchMoreInstagramData)}),(e,t)=>_(e.$slots,`content`,{data:S(d),user:S(f),config:S(c),loadMore:S(l),moreToLoad:S(h),isLoadingMore:S(p),isLoading:S(m),currentSportId:S(s)})}},Dr={key:0,class:`s-instagram`,"aria-labelledby":`h2_instagram`},Or={class:`c-instagram c-instagram--grid`},kr={class:`c-instagram__header flex items-center`},Ar={id:`h2_instagram`,class:`c-instagram__header-title flex items-center s-text-heading-small`},jr=[`src`],Mr={class:`c-instagram__grid`},Nr={key:0,class:`sr-only`},Pr={key:1,class:`sr-only`},Fr=[`aria-label`],Ir={class:`c-instagram__details`},Lr={class:`c-instagram__user`},Rr={key:0,class:`c-instagram__user-name s-text-details-bold`},zr={class:`c-instagram__details-button`},Br=Object.assign(a({__name:`InstagramGrid`,setup(e){let i=U();C(`bucket`,i.bucket);let a=i.bucket,c=H();return(e,i)=>{let f=Z,m=N,h=G,g=Q,_=Er;return p(),r(_,{count:4,name:`instagram-grid`,sportId:S(c)},{content:n(({data:e})=>[e&&e.length?(p(),s(`section`,Dr,[u(`div`,Or,[u(`div`,kr,[u(`h2`,Ar,[u(`img`,{class:`c-instagram__header-decal`,src:`${S(a)}/images/integration_2024/logo_header.svg`,alt:``,"aria-hidden":`true`},null,8,jr),i[0]||=o(` Social Media `,-1)]),l(f,{adSlotName:`htlad-social_sponsorlogo`})]),u(`div`,Mr,[(p(!0),s(d,null,T(e,(e,r)=>(p(),s(`article`,{key:e.id,class:`c-instagram__item`},[e.caption?.text?(p(),s(`h3`,Nr,v(e.caption.text),1)):(p(),s(`h3`,Pr,` Caption not available. Instagram post `+v(r),1)),l(g,{href:e.link,class:`c-instagram__url`},{default:n(()=>[e?.images?.standard_resolution?.url?(p(),s(`div`,{key:0,class:`c-instagram__media`,target:`_blank`,"aria-label":`View Post by ${e.user.username}, opens in new tab`},[l(m,{src:e?.images?.standard_resolution?.url,class:`c-instagram__image`,alt:``,lazyload:!0,images:[{breakpoint:0,image:e?.images?.standard_resolution?.url}]},null,8,[`src`,`images`])],8,Fr)):t(``,!0),u(`div`,Ir,[u(`div`,Lr,[e.user.username?(p(),s(`div`,Rr,` @`+v(e.user.username),1)):t(``,!0)]),u(`div`,zr,[l(h,{class:``,name:`icon-arrow-right`,"aria-hidden":`true`})]),i[1]||=u(`div`,{class:`c-instagram__details-quarter-circle`,"aria-hidden":`true`},null,-1)])]),_:2},1032,[`href`])]))),128))])])])):t(``,!0)]),_:1},8,[`sportId`])}}}),{__name:`InstagramGrid`}),Vr=class{fetch;resource=`/api/v2.1/Videos/all-access`;constructor({fetch:e}){this.fetch=e}async get(e){let{params:t,paginationHandler:n}=L(e);return this.fetch(this.resource,{params:t}).then(e=>{if(!e)return console.error(`[AllAccessRepo] get() fetch Failed`),[];let t=e.items.map(e=>ne(e));return t?.length?n.getData(t):[]}).catch(e=>(console.error(`[AllAccessRepo] get() mapping Failed`,e),[]))}async getCategories(){return this.fetch(`${this.resource}/categories/archive?requireExistingMedia=true`).then(e=>e&&e&&e?.length?e.map(e=>I(e)):[]).catch(e=>(console.error(`[AllAccessRepo] getCategories() request Failed`,e),[]))}},Hr=P(`allaccess`,{state:()=>({videos:{},categories:[],isLoadingMore:{},isLoading:{},moreToLoad:{}}),actions:{async fetchVideos(e){let{fetch:t,...n}=e;if(!(e.hash in this.videos)){this.isLoading[e.hash]=!0;let r=await new Vr({fetch:t}).get(n);this.videos[e.hash]=r,this.isLoading[e.hash]=!1;let{props:i}=e;(!r||!r.length||i.count&&r.length<i.count)&&(this.moreToLoad[e.hash]=!1)}},async fetchMoreVideos(e){let{fetch:t,...n}=e;this.isLoadingMore[e.hash]=!0;let r=await new Vr({fetch:t}).get(n);this.videos[e.hash]=[...this.videos[e.hash]??[],...r],this.isLoadingMore[e.hash]=!1;let{props:i}=e;(!r||!r.length||i.count&&r.length<i.count)&&(this.moreToLoad[e.hash]=!1)},async fetchCategories(e){if(!this.categories.length){let t=await new Vr({fetch:e}).getCategories();this.categories=t.length?[{id:0,title:`All Categories`},...t]:t}}},getters:{getVideos:e=>t=>t in e.videos&&e.videos[t]?e.videos[t]:[],getLoadingMoreFlag:e=>t=>t in e.isLoadingMore?e.isLoadingMore[t]??!1:!1,getLoadingFlag:e=>t=>t in e.isLoading?e.isLoading[t]??!1:!1,getMoreToLoad:e=>t=>t in e.moreToLoad?e.moreToLoad[t]??!0:!0,getCategories(e){return e.categories}}}),Ur=class{fetch;resource=`/api/v2/series`;constructor({fetch:e}){this.fetch=e}async getSeriesTitles(){return this.fetch(`${this.resource}/titles`).then(e=>e?.length?e.map(e=>
1ee(e)):null).catch(e=>(console.error(`[SeriesRepo] getSeriesTitles() Request error caught`,e),null))}async getSeriesById(e){return e==0?await this.getAllSeriesEpisodes():this.fetch(`${this.resource}/${e}`).then(e=>e?z(e):null).catch(e=>(console.error(`[SeriesRepo] getSeriesById() Request error caught`,e),null))}async getAllSeriesEpisodes(){return this.fetch(`${this.resource}/episodes?sortByPostDateDesc=true`).then(e=>e?.length?te(e):null).catch(e=>(console.error(`[SeriesRepo] getAllSeriesEpisodes() Request error caught`,e),null))}},Wr=P(`series`,{state:()=>({seriesTitles:[],series:{},isLoadingSeries:!1}),actions:{async fetchSeriesTitles(e){if(!this.seriesTitles?.length){let t=await new Ur({fetch:e}).getSeriesTitles();this.seriesTitles=t||[]}},async fetchSeries(e,t){if(!(e in this.series)){this.isLoadingSeries=!0;let n=await new Ur({fetch:t}).getSeriesById(e);n&&(this.series[e]=n),this.isLoadingSeries=!1}}},getters:{getSeriesTitles:e=>e.seriesTitles,getSeries:e=>t=>e.series[t],getLoadingSeriesFlag(e){return e.isLoadingSeries}}}),Gr={__name:`AllAccessComponent`,props:{...X,seriesId:{type:Number,required:!1},config:{type:Object,required:!1,default:()=>({onDemand:!0,series:!1})}},async setup(t){let n,r,{$customFetch:a}=e(),o=Hr(),s=Wr(),c=t,{initialize:l,loadMore:u,getComponentData:d,currentSportId:f,config:p,hash:m}=J({props:c,fetch:a}),{sports:h,selectedSport:g,updateSport:v}=$(c,f,d,o.fetchVideos),{selectedVideo:y,closeVideo:b,switchVideo:x}=ce(),C=E(()=>o.getVideos(m())),w=E(()=>o.getMoreToLoad(m())),T=E(()=>o.getLoadingMoreFlag(m())),k=E(()=>o.getLoadingFlag(m())),A=E(()=>o.getCategories),j=O({id:0,title:`All Categories`}),M=e=>{j.value&&e&&e.target&&N(Number.parseInt(e.target.value))},N=e=>{let t=A.value?.find(t=>t.id==e);t?j.value=t:j.value=A.value[0]};D(()=>j.value,(e,t)=>{e&&t!==void 0&&d(o.fetchVideos,{category:e.id})});let P={id:-1,title:``},F={id:0,title:`All Series`},I=O(Object.assign({},P)),L=E(()=>{let e=s.getSeriesTitles;return[F,...e]}),ee=async()=>{await s.fetchSeriesTitles(a);let e=L.value.find(e=>e.id===c.seriesId);e===void 0?I.value=F:I.value=e},R=e=>{I.value&&e&&e.target&&z(Number.parseInt(e.target.value))},te=e=>{z(e)},z=e=>{let t=L.value.find(t=>t.id==e);t?I.value=Object.assign({},t):I.value=Object.assign({},L.value[0])};D(()=>I.value,async(e,t)=>{e!==void 0&&t!==void 0&&t.id!==-1&&await V(e.id)});let ne=E(()=>{if(I.value!==void 0)return s.getSeries(I.value.id)}),B=E(()=>s.getLoadingSeriesFlag),V=async e=>{await s.fetchSeries(e,a)};return c.config.onDemand&&([n,r]=i(()=>Promise.all([d(o.fetchVideos),o.fetchCategories(a)])),await n,r(),l(o.fetchMoreVideos)),c.config.series&&([n,r]=i(()=>ee()),await n,r(),[n,r]=i(()=>V(I.value.id)),await n,r()),(e,t)=>_(e.$slots,`content`,{data:S(C),config:S(p),loadMore:S(u),isLoadingMore:S(T),isLoading:S(k),moreToLoad:S(w),currentSportId:S(f),selectedVideo:S(y),switchVideo:S(x),closeVideo:S(b),categories:S(A),selectedCategory:S(j),updateCategory:M,sports:S(h),selectedSport:S(g),updateSport:S(v),series:S(L),selectedSeries:S(I),updateSeries:R,updateSeriesById:te,seriesData:S(ne),seriesDataIsLoading:S(B)})}},Kr={key:0,class:`s-videos`,"aria-labelledby":`h2_watch`},qr={class:`component c-videos c-videos--grid`},Jr={class:`c-videos__header flex items-center`},Yr={id:`h2_watch`,class:`c-videos__header-title flex items-center s-text-heading-small`},Xr=[`src`],Zr={class:`c-videos__filter s-text-details-bold`},Qr=[`aria-label`,`value`,`onChange`],$r=[`value`],ei={class:`sr-only`,"aria-live":`assertive`},ti={class:`c-videos__grid`},ni=[`aria-expanded`,`tabindex`,`onClick`],ri={key:0,class:`c-videos__media`},ii={key:1,class:`c-videos__media-default`},ai=[`src`],oi={class:`c-videos__play flex items-center justify-center`},si={class:`sr-only`},ci={class:`c-videos__details flex items-center justify-center flex-col`},li={key:0,class:`c-videos__title s-text-title`},ui={class:`c-videos__sport-date flex items-center`},di={key:0,class:`c-videos__sport s-text-details-bold`},fi={key:1,class:`c-videos__date s-text-details`},pi={key:1,class:`c-videos__media relative`},mi={key:1,class:`c-videos__media-default`},hi=[`src`],gi={class:`c-videos__play flex items-center justify-center`},_i={class:`c-videos__more-container`},vi=[`onClick`,`onKeyup`],yi={class:`sidearm-modal__inner grid center-content w-full h-full max-w-[80%] max-h-[80%]`},bi={class:`sidearm-modal__player-wrapper flex flex-col justify-center`},xi={class:`sidearm-modal__player w-full aspect-video`},Si={class:`sidearm-modal__title text-white text-right mt-2`},Ci={class:`s-text-paragraph`},wi=[`onClick`],Ti=Object.assign(a({__name:`AllAccessGrid`,setup(i){let{$format_date:a}=e(),f=U();C(`bucket`,f.bucket);let m=f.bucket,h=H(),{isDesktop:_}=W();return(e,i)=>{let f=Z,y=G,b=N,C=Q,w=Gr,E=x(`showcase-player`),D=x(`focusTrap`);return p(),r(w,{count:5,sportId:S(h),defaultSportTitle:`Filter`},{content:n(({data:e,switchVideo:h,selectedVideo:x,selectedSport:w,updateSport:O,sports:j})=>[e&&e.length?(p(),s(`section`,Kr,[u(`div`,qr,[u(`div`,Jr,[u(`h2`,Yr,[u(`img`,{class:`c-videos__header-decal`,src:`${S(m)}/images/integration_2024/logo_header.svg`,alt:``,"aria-hidden":`true`},null,8,Xr),i[0]||=o(` Latest Videos `,-1)]),l(f,{adSlotName:`htlad-videos_sponsorlogo`}),u(`div`,Zr,[i[1]||=u(`label`,{class:`sr-only`,for:`allaccess-filter`},`Select Sport to filter scoreboard `,-1),u(`select`,{id:`allaccess-filter`,class:`c-videos__select appearance-none`,"aria-label":w?.shortname===`all`?`Filter by sports. Active filter: all sports`:`Filter by sports. Active filter: ${w?.title}`,value:w?.id,onChange:O},[(p(!0),s(d,null,T(j,(e,t)=>(p(),s(`option`,{key:t,value:e.id,"aria-hidden":`true`},v(e.title),9,$r))),128))],40,Qr),u(`div`,ei,v(e?.length?w?.title===`Choose Sport`?`No filter selected. `+e.length+` events loaded.`:`${e.length} ${w?.title??``} events loaded.`:`No ${w?.title??`selected`} events available.`),1),l(y,{name:`icon-filter-sort`,"aria-hidden":`true`}
1)])]),u(`div`,ti,[(p(!0),s(d,null,T(e,(e,n)=>(p(),s(`article`,{key:e.id,class:`c-videos__item relative`},[u(`button`,{class:g([`c-videos__item-inner appearance-none`,{"is-toggled":x}]),type:`button`,"aria-haspopup":`dialog`,"aria-expanded":x?`true`:`false`,tabindex:x?-1:0,onClick:A(t=>h(e.showcase),[`prevent`])},[S(_)||n===0?(p(),s(`div`,ri,[i[2]||=u(`div`,{class:`c-videos__media-overlay`,"aria-hidden":`true`},[u(`div`,{class:`c-videos__media-overlay-quarter-circle`,"aria-hidden":`true`})],-1),e.image?.url?(p(),s(d,{key:0},[n===0?(p(),r(b,{key:0,class:`c-videos__media-image w-full`,alt:e.image.alt_text?e.image.alt_text:``,lazyload:!0,images:[{breakpoint:1024,image:e.image.url,width:920,height:518},{breakpoint:768,image:e.image.url,width:990,height:557},{breakpoint:0,image:e.image.url,width:734,height:413}]},null,8,[`alt`,`images`])):(p(),r(b,{key:1,class:`c-videos__media-image w-full`,alt:e.image.alt_text?e.image.alt_text:``,lazyload:!0,images:[{breakpoint:1024,image:e.image.url,width:452,height:255},{breakpoint:768,image:e.image.url,width:250,height:141},{breakpoint:0,image:e.image.url,width:100,height:57}]},null,8,[`alt`,`images`]))],64)):(p(),s(`div`,ii,[u(`img`,{class:`c-videos__media-default-image`,width:`96`,src:`${S(m)}/images/nextgen_2023/logo_main.svg`,alt:``},null,8,ai)])),u(`div`,oi,[u(`span`,si,`Play `+v(x?.title),1),l(y,{class:`common-button__icon`,name:`icon-play`})])])):t(``,!0),u(`div`,ci,[e.title?(p(),s(`h3`,li,v(e.title),1)):t(``,!0),u(`div`,ui,[e.sport.title?(p(),s(`div`,di,v(e.sport.title),1)):t(``,!0),e.date?(p(),s(`div`,fi,v(S(a)(e.date,`MMM d`)),1)):t(``,!0)])]),!S(_)&&n!==0?(p(),s(`div`,pi,[e.image?.url?(p(),r(b,{key:e.id,class:`c-videos__media-image w-full`,alt:e.image.alt_text?e.image.alt_text:``,images:[{breakpoint:0,image:e.image.url,width:540,height:304}]},null,8,[`alt`,`images`])):(p(),s(`div`,mi,[u(`img`,{class:`c-videos__media-default-image`,width:`96`,src:`${S(m)}/images/nextgen_2023/logo_main.svg`,alt:``},null,8,hi)])),u(`div`,gi,[i[3]||=u(`span`,{class:`sr-only`},`Play Video`,-1),l(y,{class:`common-button__icon`,name:`icon-play`})])])):t(``,!0)],10,ni)]))),128))]),u(`div`,_i,[l(C,{class:`c-videos__more`,href:`/watch`},{default:n(()=>[...i[4]||=[o(` All Videos `,-1)]]),_:1})])]),x?c((p(),s(`div`,{key:0,role:`dialog`,class:g([`sidearm-modal backdrop-blur-sm`,{"is-open":x}]),onClick:A(e=>h(null),[`self`]),onKeyup:k(e=>h(null),[`esc`])},[u(`div`,yi,[u(`div`,bi,[c(u(`div`,xi,null,512),[[E,{showcase:x}]]),u(`div`,Si,[i[5]||=u(`span`,{class:`s-text-paragraph-bold !italic`},` Now Playing: `,-1),u(`span`,Ci,v(x.title),1)])]),u(`button`,{class:`sidearm-modal__close`,type:`button`,"aria-label":`Close video modal`,onClick:A(e=>h(null),[`prevent`])},[l(y,{name:`icon-close`})],8,wi)])],42,vi)),[[D,!0]]):t(``,!0)])):t(``,!0)]),_:1},8,[`sportId`])}}}),{__name:`AllAccessGrid`}),Ei={key:0,id:`s-galleriesSlider`,class:`s-galleries`,"aria-labelledby":`h2_galleries`},Di={class:`c-galleries c-galleries--slider`},Oi={class:`c-galleries__header flex items-center`},ki={id:`h2_galleries`,class:`c-galleries__header-title flex items-center s-text-heading-small`},Ai=[`src`],ji={class:`c-galleries__filter s-text-details-bold`},Mi=[`aria-label`,`value`,`onChange`],Ni=[`value`],Pi={class:`sr-only`,"aria-live":`assertive`},Fi={class:`c-galleries__item`,tabindex:`0`},Ii={class:`c-galleries__media`},Li={key:1,class:`c-galleries__placeholder flex items-center justify-center aspect-video`},Ri=[`src`],zi={class:`c-galleries__media-overlay`},Bi={class:`c-galleries__media-overlay-logo`},Vi=[`src`],Hi={class:`c-galleries__media-overlay-button`},Ui={class:`c-galleries__details flex items-center justify-center flex-col`},Wi={key:0,class:`c-galleries__title s-text-title-small`},Gi={class:`c-galleries__sport-date flex items-center justify-center`},Ki={key:0,class:`c-galleries__sport s-text-details-bold`},qi={key:1,class:`c-galleries__date s-text-details`},Ji={class:`c-galleries__more-container`},Yi=Object.assign(a({__name:`GalleriesSlider`,setup(i){let{$format_date:a}=e(),c=H(),m=U();C(`bucket`,m.bucket);let g=m.bucket,_=M(),y=O({breakpoints:{0:{slidesPerView:`auto`,spaceBetween:16}},keyboard:{enabled:!0,onlyInViewport:!0},modules:[f]});return(e,i)=>{let f=Z,m=G,b=N,x=Q,C=h,E=w,D=oe;return p(),r(D,{name:`galleriesRotator`,count:10,sportId:S(c),defaultSportTitle:`Filter`},{content:n(({data:e,sports:c,selectedSport:h,updateSport:w})=>[e?.length?(p(),s(`section`,Ei,[u(`div`,Di,[u(`div`,Oi,[u(`h2`,ki,[u(`img`,{class:`c-galleries__header-decal`,src:`${S(g)}/images/integration_2024/logo_header.svg`,alt:``,"aria-hidden":`true`},null,8,Ai),i[0]||=o(` Latest Galleries `,-1)]),l(f,{adSlotName:`htlad-photogalleries_sponsorlogo`}),u(`div`,ji,[i[1]||=u(`label`,{class:`sr-only`,for:`galleries-filter`},`Select Sport to filter gallery`,-1),u(`select`,{id:`galleries-filter`,class:`c-galleries__select appearance-none`,"aria-label":h?.shortname===`all`?`Filter by sports. Active filter: all sports`:`Filter by sports. Active filter: ${h?.title}`,value:h?.id,onChange:w},[(p(!0),s(d,null,T(c,(e,t)=>(p(),s(`option`,{key:t,value:e.id,"aria-hidden":`true`},v(e.title),9,Ni))),128))],40,Mi),u(`div`,Pi,v(e?.length?h?.title===`Choose Sport`?`No filter selected. `+e.length+` gallery loaded.`:`${e.length} ${h?.title??``} gallery loaded.`:`No ${h?.title??`selected`} gallery available.`),1),l(m,{name:`icon-filter-sort`,"aria-hidden":`true`})])]),l(E,{class:`c-galleries__slider`,modules:S(y).modules,loop:!1,breakpoints:S(y).breakpoints},{default:n(()=>[(p(!0),s(d,null,T(e,e=>(p(),r(C,{key:e.id},{default:n(()=>[u(`article`,Fi,[e.url?(p(),r(x,{key:0,href:e.url,class:`c-galleries__url`},{default:n(()=>[u(`div`,Ii,[e.images.large.image.url?(p(),r(b,{key:e.id,class:`c-galleries__media-img w-full object-cover`,alt:e.images.large.image.alt_text?e.images.large.image.alt_text:``,lazyload:!0,images:[{breakpoint:768,image:`${S(g)+e.images.large.image.url}`,width:292,height:438},{breakpoint:0,image:`${S(g)+e.images.large.image.url}`,width:300,height:450}]},null,8,[`alt`,`images`])):(p(),s(`div`,Li,[u(`img`,{class:`c-galleries__placeholder-logo`,src:`${S(g)}/images/integration_2024/logo_main.svg`,alt:``},null,8,Ri)])),u(`div`,zi,[u(`div`,Bi,[u(`img`,{class:``,src:`${S(g)}/images/integration_2024/logo_main.svg`,alt:``,"aria-hidden":`true`},null,8,Vi)]),u(`div`,Hi,[l(m,{class:``,name:`icon-arrow-right`,"aria-hidden":`true`}
1)])])]),u(`div`,Ui,[e.title?(p(),s(`h3`,Wi,v(e.title),1)):t(``,!0),u(`div`,Gi,[e.sport?.title?(p(),s(`span`,Ki,v(e.sport.title),1)):t(``,!0),e.date?(p(),s(`span`,qi,v(S(a)(e.date,`MMMM d, yyyy`)),1)):t(``,!0)])])]),_:2},1032,[`href`])):t(``,!0)])]),_:2},1024))),128))]),_:2},1032,[`modules`,`breakpoints`]),u(`div`,Ji,[l(x,{href:S(_).params.sportSlug?`/galleries?path=${S(_).params.sportSlug}`:`/galleries`,class:`c-galleries__more`},{default:n(()=>[...i[2]||=[o(` All Galleries `,-1)]]),_:1},8,[`href`])])])])):t(``,!0)]),_:1},8,[`sportId`])}}}),{__name:`GalleriesSlider`}),Xi={key:0,id:`s-instagramSlider`,class:`s-instagram`,"aria-labelledby":`h2_instagram`,role:`region`,"aria-roledescription":`carousel`},Zi={class:`c-instagram c-instagram--slider`,"aria-live":`off`},Qi={class:`c-instagram__header flex items-center`},$i={id:`h2_instagram`,class:`c-instagram__header-title flex items-center s-text-heading-small`},ea=[`src`],ta={class:`c-instagram__item`},na={key:0,class:`sr-only`},ra={key:1,class:`sr-only`},ia=[`aria-label`],aa={class:`c-instagram__details`},oa={class:`c-instagram__user`},sa={class:`c-instagram__details-button`},ca=Object.assign(a({__name:`InstagramSlider`,setup(e){let i=H(),a=U();C(`bucket`,a.bucket);let c=a.bucket,g=O({breakpoints:{0:{slidesPerView:`auto`,spaceBetween:16}},modules:[m,f]}),_=()=>{document.querySelector(`.s-instagram .c-instagram__controls-prev`)?.focus()};return(e,a)=>{let f=Z,m=N,y=Q,b=G,x=h,C=w,E=Er;return p(),r(E,{count:10,name:`instagram-slider`,sportId:S(i)},{content:n(({data:e})=>[e&&e.length?(p(),s(`section`,Xi,[u(`div`,Zi,[u(`div`,Qi,[u(`h2`,$i,[u(`img`,{class:`c-instagram__header-decal`,src:`${S(c)}/images/integration_2024/logo_header.svg`,alt:``,"aria-hidden":`true`},null,8,ea),a[1]||=o(` Social Media `,-1)]),l(f,{adSlotName:`htlad-social_sponsorlogo`})]),l(C,{class:`c-instagram__slider`,modules:S(g).modules,loop:!1,breakpoints:S(g).breakpoints},{default:n(()=>[(p(!0),s(d,null,T(e,(i,c)=>(p(),r(x,{key:i.id,"aria-roledescription":`slide`,"aria-label":c+1+` of `+e.length},{default:n(()=>[u(`article`,ta,[i.caption?.text?(p(),s(`h3`,na,v(i.caption.text),1)):(p(),s(`h3`,ra,` Caption not available. Instagram post `+v(c),1)),l(y,{href:i.link,class:`c-instagram__url`},{default:n(()=>[i?.images?.standard_resolution?.url?(p(),s(`div`,{key:0,class:`c-instagram__media`,target:`_blank`,"aria-label":`View Post by ${i.user.username}, opens in new tab`},[l(m,{src:i?.images?.standard_resolution?.url,class:`c-instagram__image`,alt:``,lazyload:!0,images:[{breakpoint:0,image:i?.images?.standard_resolution?.url}]},null,8,[`src`,`images`])],8,ia)):t(``,!0),u(`div`,aa,[u(`div`,oa,[i.user.username?(p(),r(y,{key:0,class:`c-instagram__user-name s-text-details-bold`,href:`https://instagram.com/${i.user.username}`},{default:n(()=>[o(` @`+v(i.user.username),1)]),_:2},1032,[`href`])):t(``,!0)]),u(`div`,sa,[l(b,{class:``,name:`icon-arrow-right`,"aria-hidden":`true`})]),a[2]||=u(`div`,{class:`c-instagram__details-quarter-circle`,"aria-hidden":`true`},null,-1)])]),_:2},1032,[`href`])]),c+1==e.length?(p(),s(`div`,{key:0,class:`c-facebook__next-slide-trigger`,tabindex:`0`,"aria-hidden":`true`,onFocus:a[0]||=e=>_()},null,32)):t(``,!0)]),_:2},1032,[`aria-label`]))),128))]),_:2},1032,[`modules`,`breakpoints`])])])):t(``,!0)]),_:1},8,[`sportId`])}}}),{__name:`InstagramSlider`}),la=class{fetch;resource=`/api/v2/Slideshows`;constructor({fetch:e}){this.fetch=e}async get(e){if(e.props.extra?.slideshow_id!==void 0)return await this.getById(e);let{props:t}=e,n=new B(t.start,t.count),r={sportId:t.sport_id};return this.fetch(`${this.resource}/campaigns`,{params:r}).then(e=>{if(!e)return[];let t=e.map(e=>V(e));return n.getData(t)}).catch(e=>(console.error(`[SlideshowRepo] get() mapping Failed`,e),[]))}async getById(e){let{props:t}=e,n=new B(t.start,t.count),r={sportId:t.sport_id,id:t.extra?.slideshow_id,$pageSize:n.pageSize};return this.fetch(`${this.resource}/${r.id}/campaigns`,{params:r}).then(e=>{if(!e)return[];let t=e.items.map(e=>V(e));return n.getData(t)}).catch(e=>(console.error(`[SlideshowRepo] getById() mapping Failed`,e),[]))}},ua=P(`slideshow`,{state:()=>({data:{},isLoadingMore:!1,isLoading:!1,moreToLoad:!0}),actions:{async fetchSlideshows(e){let{fetch:t,...n}=e;if(!(e.hash in this.data)){this.isLoading=!0;let r=await new la({fetch:t}).get(n);this.data[e.hash]=r,this.isLoading=!1;let{props:i}=e;(!r||!r.length||i.count&&r.length<i.count)&&(this.moreToLoad=!1)}},async fetchMoreSlideshows(e){let{fetch:t,...n}=e;this.isLoadingMore=!0;let r=await new la({fetch:t}).get(n);this.data[e.hash]=[...this.data[e.hash]??[],...r],this.isLoadingMore=!1;let{props:i}=e;(!r||!r.length||i.count&&r.length<i.count)&&(this.moreToLoad=!1)}},getters:{getSlideshows:e=>t=>t in e.data&&e.data[t]?e.data[t]:[],getLoadingFlag(e){return e.isLoading}
1,getLoadingMoreFlag(e){return e.isLoadingMore},getMoreToLoad(e){return e.moreToLoad}}}),da={__name:`SlideshowComponent`,props:{...X},setup(t){let n=ua(),r=t,{$customFetch:i}=e(),{initialize:a,loadMore:o,getComponentData:s,currentSportId:c,config:l,hash:u}=J({props:r,fetch:i}),{selectedVideo:d,closeVideo:f,switchVideo:p}=ce(),m=E(()=>n.getSlideshows(u())),h=E(()=>n.getMoreToLoad),g=E(()=>n.getLoadingMoreFlag),v=E(()=>n.getLoadingFlag);return b(async()=>{await s(n.fetchSlideshows),a(n.fetchMoreSlideshows)}),(e,t)=>_(e.$slots,`content`,{data:S(m),config:S(l),loadMore:S(o),moreToLoad:S(h),isLoadingMore:S(g),isLoading:S(v),currentSportId:S(c),selectedVideo:S(d),switchVideo:S(p),closeVideo:S(f)})}},fa={key:0,id:`s-slideshowParallax`,class:`s-slideshow--parallax`,"aria-labelledby":`h2_slideshow`},pa={class:`c-slideshow__details`},ma={key:0,class:`c-slideshow__subtitle s-text-subheading`},ha={key:1,class:`c-slideshow__title s-text-epic`},ga={key:2,class:`c-slideshow__links flex flex-wrap`},_a=Object.assign(re(a({__name:`SlideshowParallax`,setup(i){let{$createImageUrl:a}=e(),c=U();C(`bucket`,c.bucket);let l=c.bucket,f=H();return(e,i)=>{let c=Q,m=da;return p(),r(m,{count:1,sportId:S(f),name:`parallaxSlideshow`,extra:{slideshow_id:3}},{content:n(({data:e})=>[e?.length?(p(),s(`section`,fa,[i[0]||=u(`h2`,{id:`h2_slideshow`,class:`sr-only`},` Slideshow Parallax `,-1),(p(!0),s(d,null,T(e,(e,i)=>(p(),s(d,{key:i},[e.picture?.[0]?.url?(p(),s(`div`,{key:0,class:`c-slideshow__item`,style:y(e.picture?`background-image:url(${S(a)({breakpoint:0,image:S(l)+e.picture[0].url})})`:``)},[u(`div`,pa,[e.subtitle?(p(),s(`div`,ma,v(e.subtitle),1)):t(``,!0),e.title?(p(),s(`div`,ha,v(e.title),1)):t(``,!0),e.links?(p(),s(`ul`,ga,[(p(!0),s(d,null,T(e.links,(e,i)=>(p(),s(`li`,{key:i,class:`c-slideshow__links-item`},[e.url&&e.text?(p(),r(c,{key:0,href:e.url,class:`c-slideshow__links-link`},{default:n(()=>[o(v(e.text),1)]),_:2},1032,[`href`])):t(``,!0)]))),128))])):t(``,!0)])],4)):t(``,!0)],64))),128))])):t(``,!0)]),_:1},8,[`sportId`])}}}),[[`__scopeId`,`data-v-60bc0db5`]]),{__name:`SlideshowParallax`});export{Br as a,Gn as c,Ze as d,pe as f,Ti as i,bn as l,ca as n,br as o,Yi as r,gr as s,_a as t,$e as u};

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.