1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./C060_P5-.js","./hePW80VL.js","./DH_oPWig.js","./BaBhFZm2.js","./swiper-vue.Cg99qojC.css","./R5tlv5WR.js","./PTSJo-lX.js","./Jruhdqwc.js","./BHNdJZmr.js","./ClgVSphX.js","./BQoKsgCD.js","./Cm8_Znr6.js","./DA5V2Jzf.js","./CQpw5WZQ.js","./Cpd7-mFS.js","./BTR1pb_e.js","./oQPVSlJP.js","./CU89Zi3L.js","./DGJ9b2SS.js","./BDNMzG2s2.js","./CadfYMKE.js","./9X7DCIQa.js","./BJ3nEi6M.js","./HTMLTextEditor.DeQ-HquT.css"])))=>i.map(i=>d[i]); 2import{a as e,o as t}from"./DH_oPWig.js";import{D as n,Dt as r,E as i,Et as a,F as o,N as s,O as c,Ot as l,P as u,Rt as d,T as f,Tt as p,W as m,_ as h,at as g,c as _,d as v,dn as y,dt as b,hn as x,i as S,m as C,mn as w,mt as T,n as E,nt as D,pt as O,qt as k,r as A,rt as j,s as M,t as ee,u as N,ut as P,w as F,wt as I,x as te,zt as L}from"./BaBhFZm2.js";import{c as R,l as z,s as B}from"./Cm8_Znr6.js";import{f as ne,u as re}from"./PTSJo-lX.js";import{t as V}from"./BLChCUa7.js";import{n as H}from"./CU89Zi3L.js";import{C as ie,O as U,S as W,nt as ae,st as G}from"./DGJ9b2SS.js";import{L as K,Rt as oe,a as se,it as ce,n as q}from"./BJ3nEi6M.js";import{t as le}from"./BrZK5Z2W.js";import{t as ue}from"./D4jAZI6Q.js";import{t as J}from"./ywNv-8m6.js";import{t as Y}from"./C2ANWNt82.js";import{t as X}from"./hoZcCBOQ2.js";import{Pt as de,c as fe}from"./DaPqdV2E2.js";import"./BkD7PF6U2.js";import{i as pe,n as me,r as he}from"./DC81bJHB2.js";import{t as ge}from"./BDNMzG2s2.js";import{n as Z}from"./ppHG7ESL2.js";import{n as _e,t as ve}from"./BlMiguZ-2.js";import{t as ye}from"./Cm98IVaD2.js";import{t as be}from"./cSMOfzbK2.js";import{t as xe}from"./FMrih3OT2.js";import{t as Se}from"./CvnAMbvF.js";import{t as Ce}from"./DSapOWNf.js";var we=class{async getIsAuthenticated(){let{tenant:e}=t().public.siteConfig;return $fetch(`/api/v2/Auth/is-authenticated`,{headers:{tenant:e}}).then(e=>e).catch(e=>(console.error(`[AuthRepo] getIsAuthenticated() Request Failed`,e),!1))}async getStoryEditAuth(){let{tenant:e}=t().public.siteConfig;return $fetch(`/api/v2/Auth/is-authenticated/story-management`,{headers:{tenant:e}}).then(e=>e).catch(e=>(console.error(`[AuthRepo] getStoryEditAuth() Request Failed`,e),!1))}async getSportfileEditAuth(){let{tenant:e}=t().public.siteConfig;return $fetch(`/api/v2/Auth/is-authenticated/sport-files-management`,{headers:{tenant:e}}).then(e=>e).catch(e=>(console.error(`[AuthRepo] getSportfileEditAuth() Request Failed`,e),!1))}},Te=()=>new we,Q=H(`auth`,{state:()=>({isLoggedIn:!1,canEditStory:!1,canEditSportfile:!1}),actions:{async fetchIsAuthenticated(){let e=await Te().getIsAuthenticated();this.isLoggedIn=e},async fetchCanEditStory(){let e=await Te().getStoryEditAuth();this.canEditStory=e},async fetchCanEditSportfile(){let e=await Te().getSportfileEditAuth();this.canEditSportfile=e}},getters:{getIsLoggedIn:e=>e.isLoggedIn,getCanEditStory:e=>e.canEditStory,getCanEditSportfile:e=>e.canEditSportfile}}),Ee=()=>({isUserLoggedIn:F(()=>Q().isLoggedIn),canEditStory:F(()=>Q().getCanEditStory),canEditSportfile:F(()=>Q().getCanEditSportfile)}),De=class{fetch;resource=`/api/v2/LiveEdit`;constructor({fetch:e}){this.fetch=e}async getStoryBody(e){if(!e)return console.error(`[LiveEditRepo] getStoryBody() Missing storyId`),null;if(!Ee().canEditStory.value)return console.log(`[LiveEditRepo] getStoryBody() User not logged in`),null;let t=ue().tenant;try{return(await this.fetch(`${this.resource}/story/${e}`,{headers:{tenant:t},method:`GET`}))?.content??null}catch(e){return console.error(`[LiveEditRepo] getStoryBody() Request Failed`,e),null}}async postStory(e){let n=t().public.siteConfig;return $fetch(`${this.resource}/story`,{headers:{tenant:n.tenant},method:`POST`,body:e}).then(t=>t&&t.success?this.fetch(`/api/v2/stories/${e.date}/${e.slug}`,{headers:{"x-clear-redis-cache":`true`}}).then(()=>K(t)):K(t)).catch(e=>(console.error(`[LiveEditRepo] postStory() Request Failed`,e),null))}async postSportFile(e){let n=t().public.siteConfig;return $fetch(`${this.resource}/sportfile`,{headers:{tenant:n.tenant},method:`POST`,body:e}).then(t=>t&&t.success?this.fetch(`/api/v2/SportFiles?filename=${e.slug}&date=${e.date}`,{headers:{"x-clear-redis-cache":`true`}}).then(()=>K(t)):K(t)).catch(e=>(console.error(`[LiveEditRepo] postSportFile() Request Failed`,e),null))}},Oe=H(`live-edit`,{state:()=>({isLoading:!1}),actions:{async fetchStoryBody({storyId:e,fetch:t}){this.isLoading=!0;let n=await new De({fetch:t}).getStoryBody(e);return this.isLoading=!1,n},async updateStory({payload:e,fetch:t}){this.isLoading=!0;let n=await new De({fetch:t}).postStory(e);return this.isLoading=!1,n},async updateSportFile({payload:e,fetch:t}){this.isLoading=!0;let n=await new De({fetch:t}).postSportFile(e);return this.isLoading=!1,n}},getters:{getLoadingFlag:e=>e.isLoading}}),ke=[`innerHTML`],Ae={__name:`BasicTextBlock`,props:{block:{type:Object,required:!0}},setup(e){return(t,n)=>(g(),c(`div`,{class:`prose max-w-none`,innerHTML:e.block.text},null,8,ke))}},je={__name:`StructuralLayoutBlock`,props:{block:{type:Object,required:!0}},setup(e){let t=F(()=>!!e.block.background?.image?.url);return(n,r)=>(g(),c(`div`,null,[(g(!0),c(h,null,P(e.block.content,(e,n)=>(g(),c(`div`,{key:`row-${n}`,class:y([`flex w-full flex-col md:flex-row`,{"gap-2":k(t)}])},[(g(!0),c(h,null,P(e,(e,t)=>(g(),i($,{key:`subBlock-${t}`,block:e,"sub-block":!0},null,8,[`block`]))),128))],2))),128))]))}},Me={class:`accordian-block grid grid-cols-1 gap-1`},Ne={class:`accordian-block__heading !m-0`},Pe=[`id`,`aria-expanded`,`aria-controls`,`onClick`],Fe={class:`accordion-title accordian-block__text text-default-black text-base transition-colors md:text-lg`},Ie={class:`accordion-icon`},Le=[`id`,`aria-labelledby`,`hidden`],Re=ge({__name:`StructuralAccordionBlock`,props:{block:{type:Object,required:!0}},setup(e){let t=L(e.block.panels.map(()=>!1)),n=e=>{t.value[e]=!t.value[e]};return(r,a)=>(g(),c(`div`,Me,[(g(!0),c(h,null,P(e.block.panels,(e,r)=>(g(),c(`div`,{key:`panel-${r}`,class:`accordian-block__item`},[f(`h3`,Ne,[f(`button`,{id:`accordion-button-${r}`,type:`button`,class:y([`accordian-block__summary border-theme-border-light flex w-full items-center justify-between border bg-[#f2f2f2] py-2 px-6 transition-colors`,{"is-open":k(t)[+r]}]),"aria-expanded":k(t)[+r],"aria-controls":`accordion-panel-${r}`,onClick:e=>n(+r)}
2,[f(`span`,Fe,x(e.title),1),f(`span`,Ie,[u(k(Y),{name:`icon-carat-down`,class:`accordian-block__icon text-default-black text-[.875rem] transition-all`})])],10,Pe)]),f(`div`,{id:`accordion-panel-${r}`,role:`region`,"aria-labelledby":`accordion-button-${r}`,hidden:!k(t)[+r]||void 0},[(g(!0),c(h,null,P(e.content,(e,t)=>(g(),i($,{key:`content-${t}`,block:e},null,8,[`block`]))),128))],8,Le)]))),128))]))}},[[`__scopeId`,`data-v-fff237d4`]]),ze={class:`overflow-hidden`},Be={class:`text-0 relative mb-4 overflow-hidden`},Ve={class:`flex flex-wrap items-center gap-2`},He=[`onClick`,`onKeyup`],Ue={__name:`StructuralTabBlock`,props:{block:{type:Object,required:!0}},setup(e){let t=L(`${e.block.tabs[0].id}`),n=e=>t.value=e;return(r,a)=>(g(),c(`div`,null,[f(`div`,ze,[f(`div`,Be,[f(`ul`,Ve,[(g(!0),c(h,null,P(e.block.tabs,(e,r)=>(g(),c(`li`,{key:`tab-${r}`,class:`border-theme-border-light group relative flex-auto border`},[f(`button`,{type:`button`,class:`text-theme-safe-light flex w-full appearance-none items-center px-4 py-2 text-lg no-underline`,onClick:z(t=>n(`${e.id}`),[`prevent`]),onKeyup:R(t=>n(`${e.id}`),[`enter`])},x(e.title),41,He),f(`div`,{class:y([`left 0 bg-primary absolute bottom-0 h-1 w-full origin-bottom-right scale-0 transition-all`,{"!scale-100":k(t)===`${e.id}`}])},null,2)]))),128))])]),(g(!0),c(h,null,P(e.block.tabs,(e,n)=>l((g(),c(`div`,{key:`tab-${n}`},[(g(!0),c(h,null,P(e.content,(e,t)=>(g(),i($,{key:`block-${t}`,block:e},null,8,[`block`]))),128))],512)),[[B,k(t)===`${e.id}`]])),128))])]))}},We=[`innerHTML`],Ge={__name:`BasicImageBlock`,props:{block:{type:Object,required:!0},subBlock:{type:Boolean,required:!1,default:!1}},setup(t){let{$imageUrl:a}=e(),o=F(()=>t.block.height===`short`?`320px`:t.block.height===`tall`?`800px`:`560px`);return(e,s)=>{let l=V,u=Z;return g(),c(`div`,null,[t.block.parallax?(g(),c(h,{key:0},[f(`div`,{class:`-mx-6 hidden bg-cover bg-fixed bg-center lg:block`,style:w({backgroundImage:t.block.image?.url?`url(${k(a)(t.block.image.url)})`:void 0,height:k(o)})},null,4),(g(),i(l,{key:t.block.id,class:`w-auto max-w-full lg:!hidden`,method:`resize`,alt:t.block.image?.alt_text??k(U)(t.block?.image?.caption??``)??`Narrator Image`,images:[{breakpoint:768,image:t.block.image?.url?k(a)(t.block.image.url):``,width:1128,height:t.block.section_height===`auto`?void 0:635},{breakpoint:540,image:t.block.image?.url?k(a)(t.block.image.url):``,width:768,height:t.block.section_height===`auto`?void 0:432},{breakpoint:0,image:t.block.image?.url?k(a)(t.block.image.url):``,width:540,height:t.block.section_height===`auto`?void 0:304}]},null,8,[`alt`,`images`]))],64)):(g(),c(`div`,{key:1,class:y(`text-${t.block.align} grid place-items-center`)},[t.block.url?(g(),i(u,{key:0,href:t.block.url},{default:r(()=>[t.subBlock?(g(),i(l,{key:t.block.id,method:`resize`,class:`w-auto max-w-full`,alt:t.block.image?.alt_text??k(U)(t.block?.image?.caption??``)??`Narrator Image`,images:[{breakpoint:768,image:t.block.image?.url?k(a)(t.block.image.url):``,width:1128},{breakpoint:540,image:t.block.image?.url?k(a)(t.block.image.url):``,width:768},{breakpoint:0,image:t.block.image?.url?k(a)(t.block.image.url):``,width:540}]},null,8,[`alt`,`images`])):(g(),i(l,{key:1,method:`resize`,class:`w-auto max-w-full`,alt:t.block.image?.alt_text??k(U)(t.block?.image?.caption??``)??`Narrator Image`,images:[{breakpoint:1416,image:t.block.image?.url?k(a)(t.block.image.url):``,width:2e3,height:t.block.section_height===`auto`?void 0:1125},{breakpoint:1024,image:t.block.image?.url?k(a)(t.block.image.url):``,width:1416,height:t.block.section_height===`auto`?void 0:797},{breakpoint:768,image:t.block.image?.url?k(a)(t.block.image.url):``,width:1128,height:t.block.section_height===`auto`?void 0:635},{breakpoint:540,image:t.block.image?.url?k(a)(t.block.image.url):``,width:768,height:t.block.section_height===`auto`?void 0:432},{breakpoint:0,image:t.block.image?.url?k(a)(t.block.image.url):``,width:540,height:t.block.section_height===`auto`?void 0:304}]},null,8,[`alt`,`images`]))]),_:1},8,[`href`])):(g(),c(h,{key:1},[t.block?.image?.url?(g(),c(h,{key:0},[t.subBlock?(g(),i(l,{key:t.block.id,method:`resize`,class:`w-auto max-w-full`,alt:t.block.image?.alt_text??k(U)(t.block?.image?.caption??``)??`Narrator Image`,images:[{breakpoint:768,image:t.block.image?.url?k(a)(t.block.image.url):``,width:1128},{breakpoint:540,image:t.block.image?.url?k(a)(t.block.image.url):``,width:768},{breakpoint:0,image:t.block.image?.url?k(a)(t.block.image.url):``,width:540}]},null,8,[`alt`,`images`])):(g(),i(l,{key:1,method:`resize`,class:`w-auto max-w-full`,alt:t.block.image?.alt_text??k(U)(t.block?.image?.caption??``)??`Narrator Image`,images:[{breakpoint:1416,image:t.block.image?.url?k(a)(t.block.image.url):``,width:2e3,height:t.block.section_height===`auto`?void 0:1125},{breakpoint:1024,image:t.block.image?.url?k(a)(t.block.image.url):``,width:1416,height:t.block.section_height===`auto`?void 0:797},{breakpoint:768,image:t.block.image?.url?k(a)(t.block.image.url):``,width:1128,height:t.block.section_height===`auto`?void 0:635},{breakpoint:540,image:t.block.image?.url?k(a)(t.block.image.url):``,width:768,height:t.block.section_height===`auto`?void 0:432},{breakpoint:0,image:t.block.image?.url?k(a)(t.block.image.url):``,width:540,height:t.block.section_height===`auto`?void 0:304}]},null,8,[`alt`,`images`]))],64)):n(``,!0)],64)),t.block.caption?(g(),c(`div`,{key:2,class:`bg-theme-elevated-light text-theme-safe-light w-full py-2 px-4 text-center italic`,innerHTML:t.block.caption},null,8,We)):n(``,!0)],2))])}}},Ke={class:`story-block__video-container bg-primary relative aspect-video overflow-hidden`},qe={__name:`BasicVideoBlock`,props:{block:{type:Object,required:!0},subBlock:{type:Boolean,required:!1,default:!1}},setup(e){let t=F(()=>
2{if(e.block.video_type===`all-access`&&e.block.all_access_id>0)return{archive:e.block.all_access_id,autoplay:!1};if(e.block.video_type===`youtube`&&e.block.youtube_id)return{youtube:e.block.youtube_url,autoplay:!1}});return(e,n)=>{let r=O(`showcase-player`);return g(),c(`div`,Ke,[l(f(`div`,null,null,512),[[r,{showcase:k(t)}]])])}}},Je=[`id`],Ye={key:0,class:`border-theme-border-light flex border border-t-0`},Xe={class:`block-rotator-prev border-theme-border-light hover:bg-primary focus:bg-primary group relative grid appearance-none place-items-center border-r p-3 transition-colors disabled:cursor-not-allowed disabled:opacity-50 z-20`,type:`button`},Ze={class:`block-rotator-next border-theme-border-light hover:bg-primary focus:bg-primary group relative grid appearance-none place-items-center border-r p-3 transition-colors disabled:cursor-not-allowed disabled:opacity-50 z-20`,type:`button`},Qe={__name:`BasicSwiperBlock`,props:{block:{type:Object,required:!0}},setup(t){let{$imageUrl:a}=e(),o=F(()=>t.block.arrows?{nextEl:`.block-rotator-next`,prevEl:`.block-rotator-prev`}:!1),s=F(()=>t.block.autoplay?{delay:t.block.autoplay_speed??8e3,disableOnInteraction:!1}:!1),l=F(()=>t.block.dots?{clickable:!0}:!1),d=L({modules:[M,_,S,ee],navigation:o.value,autoplay:s.value,pagination:l.value}),m=L(`pause`),y=()=>{let e=document.getElementById(t.block.id)?.getElementsByClassName(`swiper`)[0]?.swiper;e.autoplay.running?(e.autoplay.stop(),m.value=`play`):(e.autoplay.start(),m.value=`pause`)},b=L(null),x=e=>{b.value=e,e.autoplay&&e.autoplay.running&&b.value?.autoplay.stop()};return D(()=>{p(()=>{b.value!=null&&(b.value?.autoplay.start(),m.value=`pause`)})}),(e,o)=>{let s=V,l=v,p=Y,_=N;return g(),c(`div`,{id:t.block.id},[u(_,{modules:k(d).modules,navigation:k(d).navigation,pagination:k(d).pagination,autoplay:k(d).autoplay,onSwiper:x},{default:r(()=>[(g(!0),c(h,null,P(t.block.slides,(e,o)=>(g(),i(l,{key:o},{default:r(()=>[e.image?.url?(g(),i(s,{key:0,class:`aspect-square w-full object-contain`,style:w({aspectRatio:t.block.slide_size}),src:k(a)(e.image.url),alt:e.image.alt_text??`Slideshow Image`,images:[{breakpoint:0,image:k(a)(e.image.url)}]},null,8,[`style`,`src`,`alt`,`images`])):n(``,!0)]),_:2},1024))),128)),t.block.arrows?(g(),c(`div`,Ye,[f(`button`,Xe,[o[1]||=f(`span`,{class:`sr-only`},`Go to previous slide`,-1),u(p,{name:`icon-chevron-left`,"aria-hidden":`true`,class:`text-theme-safe-light group-hover:text-on-primary group-focus:text-on-primary text-[1rem] transition-colors`})]),t.block.autoplay?(g(),c(`button`,{key:0,class:`border-theme-border-light hover:bg-primary focus:bg-primary group relative grid appearance-none place-items-center border-r p-3 transition-colors z-20`,type:`button`,onClick:o[0]||=z(e=>y(),[`prevent`])},[o[2]||=f(`span`,{class:`sr-only`},`Play/Pause Rotator`,-1),u(p,{name:`icon-${k(m)}`,"aria-hidden":`true`,class:`text-theme-safe-light group-hover:text-on-primary group-focus:text-on-primary text-[1rem] transition-colors`},null,8,[`name`])])):n(``,!0),f(`button`,Ze,[o[3]||=f(`span`,{class:`sr-only`},`Go to next slide`,-1),u(p,{name:`icon-chevron-right`,"aria-hidden":`true`,class:`text-theme-safe-light group-hover:text-on-primary group-focus:text-on-primary text-[1rem] transition-colors`})])])):n(``,!0)]),_:1},8,[`modules`,`navigation`,`pagination`,`autoplay`])],8,Je)}}},$e=[`innerHTML`],et=[`innerHTML`],tt={__name:`BasicButtonBlock`,props:{block:{type:Object,required:!0}},setup(e){let t=F(()=>{let t=`py-2 px-4 text-base`;return e.block.size===`small`&&(t=`py-1 px-3 text-sm`),e.block.size===`large`&&(t=`py-3 px-6 text-xl`),e.block.full_width&&(t=`${t} w-full`),t}),n=F(()=>!!e.block.background?.color?.hex);return(a,o)=>{let s=Z;return g(),c(`div`,{class:y([`c-story-blocks__button-block__button-container text-center`,{"p-0.5":e.block?.full_width,"p-2":k(n)}])},[e.block.url?(g(),i(s,{key:0,href:e.block.url,class:y([`c-story-blocks__button-block__button bg-primary text-on-primary hover:bg-primary-hover focus:bg-primary-hover inline-block rounded-[3px] no-underline transition-colors`,k(t)])},{default:r(()=>[f(`span`,{innerHTML:e.block.text},null,8,$e)]),_:1},8,[`href`,`class`])):(g(),c(`span`,{key:1,class:y([`bg-primary text-on-primary inline-block rounded-[3px]`,k(t)]),innerHTML:e.block.text},null,10,et))],2)}}},nt={__name:`BasicAdBlock`,props:{block:{type:Object,required:!0}},setup(e){return(t,n)=>{let r=me;return g(),i(r,{name:e.block.location_name},null,8,[`name`])}}},rt={class:`quote-block m-0 flex items-start pt-2`},it=[`innerHTML`],at={class:`mt-4 block text-right text-lg italic text-[#656565]`},ot=ge({__name:`BasicQuoteBlock`,props:{block:{type:Object,required:!0}},setup(e){let t=F(()=>e.block.text.replace(` 3`,`<br>`));return(n,r)=>(g(),c(`div`,null,[f(`blockquote`,rt,[f(`span`,{class:`text-theme-safe-light flex-1 text-[1rem] leading-tight lg:text-[2rem]`,innerHTML:k(t)},null,8,it)]),f(`cite`,at,x(e.block.credit),1)]))}},[[`__scopeId`,`data-v-a8c070ce`]]),st={class:`my-3 text-sm font-bold`},ct={class:`bg-default-white grid h-full grid-cols-1`},lt={class:`absolute bottom-0 left-0 z-10 grid w-full grid-cols-1 gap-6 p-12`},ut={class:`bg-primary grid h-9 w-max place-items-center rounded-[2.25rem] px-3`},dt={class:`text-on-primary text-base`},ft={class:`text-default-white text-base font-bold leading-5 md:text-4xl`},pt={class:`absolute top-0 left-0 z-[1] h-full w-full`,style:{"background-image":`linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%)`}},mt={class:`border-theme-border-light grid grid-cols-1 gap-3 border-t p-3 md:grid-cols-[1fr_auto]`},ht={class:`grid grid-cols-1 gap-3`},gt={key:0,class:`text-sm`},_t={key:1,class:`flex items-center gap-1 text-sm md:text-base`},vt={class:`text-theme-muted-light`},yt=[`href`],bt={type:`button`,"aria-label":`Previous Gallery Image`,class:`gallery-rotator-prev focus:bg-primary hover:bg-primary group absolute left-0 top-1/2 z-20 grid h-9 w-9 -translate-y-1/2 appearance-none place-items-center bg-black/40 transition-colors lg:h-12 lg:w-12`},xt={type:`button`,"aria-label":`Next Gallery Image`,class:`gallery-rotator-next focus:bg-primary hover:bg-primary group absolute right-0 top-1/2 z-20 grid h-9 w-9 -translate-y-1/2 appearance-none place-items-center bg-black/40 transition-colors lg:h-12 lg:w-12`},St={class:`gallery-embed-thumbs border-theme-border-light overflow-hidden border-t p-3`},Ct=[`aria-label`],wt={class:`bg-primary text-on-primary flex h-6 items-center rounded-2xl px-3 text-xs`},Tt={__name:`BasicGalleryBlock`,props:{block:{type:Object,required:!0},sportId:{type:Number,required:!1,default:0}},setup(e){let t=L(!1),a=()=>t.value=!t.value,o=null,s=e=>{o=e},d=L({navigation:{nextEl:`.gallery-rotator-next`,prevEl:`.gallery-rotator-prev`}}),p=[E,_,A],m=e=>{let t=ue().bucket,n=t.substring(0,t.lastIndexOf(`.net`)+4);return e.includes(`/s3`)?e.replace(`/s3`,n):ie([t,e])};return(_,b)=>{let S=V,C=v,w=Y,T=N,E=xe;return g(),i(E,{count:1,extra:{gallery_id:e.block.gallery_id},name:e.block.id,sportId:`0`},{content:r(({data:e})=>[(g(!0),c(h,null,P(e,(e,_)=>(g(),c(`section`,{key:`gallery-${_}`,class:`border-theme-border-light my-4 mx-auto max-w-[1000px] border`},[f(`div`,{class:y([`max-h-0 overflow-hidden px-6 transition-all`,{"max-h-48":k(t)}])}
3,[f(`h2`,st,` Gallery: `+x(e.title),1)],2),u(T,{navigation:k(d).navigation,thumbs:{swiper:k(o)},modules:p},{default:r(()=>[(g(!0),c(h,null,P(e.gallery_images,(a,o)=>(g(),i(C,{key:`image-${o}`},{default:r(()=>[f(`div`,ct,[f(`div`,{class:y([`relative grid place-items-center p-3 transition-all lg:p-6`,{"bg-theme-surface-alt":k(t)}])},[f(`div`,{class:y([`relative flex flex-col items-center`,{"h-96":k(t)}])},[l(f(`div`,lt,[f(`div`,ut,[f(`span`,dt,x(o+1)+` of `+x(e.gallery_images?.length??1),1)]),f(`span`,ft,x(e.title),1)],512),[[B,!k(t)]]),f(`div`,{class:y([`mx-auto !max-h-[384px]`,{"!max-h-[384px]":k(t)}])},[u(S,{class:`mx-auto max-h-full max-w-full`,src:m(a.large.image.url),alt:a.large.caption??`Gallery Image`,images:[{breakpoint:0,image:m(a.large.image.url),height:600}]},null,8,[`src`,`alt`,`images`])],2),l(f(`div`,pt,null,512),[[B,!k(t)]])],2)],2),l(f(`div`,mt,[f(`div`,ht,[a.large.caption?(g(),c(`span`,gt,x(a.large.caption),1)):n(``,!0),a.large.credit?(g(),c(`div`,_t,[b[1]||=f(`span`,null,`Credit`,-1),f(`span`,vt,x(a.large.credit),1)])):n(``,!0)]),f(`a`,{href:e.url,class:`bg-primary text-on-primary mx-auto grid place-items-center rounded-[2.25rem] py-2 px-3 text-sm no-underline md:mx-0 md:text-base`},` Full Gallery `,8,yt)],512),[[B,k(t)]])])]),_:2},1024))),128)),l(f(`button`,{type:`button`,"aria-label":`Continue to Gallery`,class:`focus:bg-primary hover:bg-primary group absolute right-0 top-1/2 z-20 grid h-9 w-9 -translate-y-1/2 appearance-none place-items-center bg-black/40 transition-colors lg:h-12 lg:w-12`,onClick:b[0]||=z(e=>a(),[`prevent`])},[u(w,{name:`icon-chevron-right`,class:`text-default-white group-hover:text-on-primary group-focus:text-on-primary text-[1rem] transition-colors lg:text-[1.5rem]`})],512),[[B,!k(t)]]),l(f(`button`,bt,[u(w,{name:`icon-chevron-left`,class:`text-default-white group-hover:text-on-primary group-focus:text-on-primary text-[1rem] transition-colors lg:text-[1.5rem]`})],512),[[B,k(t)]]),l(f(`button`,xt,[u(w,{name:`icon-chevron-right`,class:`text-default-white group-hover:text-on-primary group-focus:text-on-primary text-[1rem] transition-colors lg:text-[1.5rem]`})],512),[[B,k(t)]])]),_:2},1032,[`navigation`,`thumbs`]),f(`div`,St,[u(T,{spaceBetween:12,slidesPerView:4,freeMode:!0,watchSlidesProgress:!0,modules:p,onSwiper:s},{default:r(()=>[(g(!0),c(h,null,P(e.gallery_images,(n,a)=>(g(),i(C,{key:`gallery-${a}`},{default:r(()=>[f(`div`,{class:y([`group relative grid max-w-[72px] place-items-center md:max-w-[120px]`,{takeover:k(t)}])},[u(S,{class:`aspect-square w-full object-cover`,src:m(n.small.image.url),alt:`Go to Slide ${a+1}`,images:[{breakpoint:0,image:m(n.small.image.url),height:200,width:200}]},null,8,[`src`,`alt`,`images`]),f(`button`,{type:`button`,"aria-label":`View Image ${a+1} of ${e.gallery_images?.length??1}`,class:`gallery-embed-thumbs__button absolute top-0 left-0 z-10 grid h-full w-full appearance-none place-items-center bg-none opacity-0 transition-all group-hover:opacity-100`},[f(`span`,wt,x(a+1)+` of `+x(e.gallery_images?.length??1),1)],8,Ct)],2)]),_:2},1024))),128))]),_:2},1024)])]))),128))]),_:1},8,[`extra`,`name`])}}},Et=(e,t)=>{if(!document.getElementById(e)){let n=document.createElement(`script`);n.setAttribute(`id`,e),n.setAttribute(`src`,t),n.setAttribute(`async`,``),document.head.appendChild(n)}},Dt=[`data-instgrm-permalink`],Ot={__name:`SocialInstagramPostBlock`,props:{block:{type:Object,required:!0}},setup(e){let t=F(()=>{if(e.block.instagram_post_align===`center`)return`justify-center`;if(e.block.instagram_post_align===`left`)return`justify-start`;if(e.block.instagram_post_align===`right`)return`justify-end`});return D(()=>
3{if(Et(`igBlockEmbed`,`https://www.instagram.com/embed.js`),`instgrm`in window)try{G.info(`Reloading instagram scripts`),window?.instgrm?.Embeds?.process()}catch{G.error(`Error reloading the instagram scripts`)}}),(n,r)=>(g(),c(`div`,{class:y([`instagram-post-block flex`,k(t)])},[f(`blockquote`,{class:`instagram-media instagram-post`,"data-instgrm-captioned":``,"data-instgrm-permalink":e.block.instagram_post_url,"data-instgrm-version":`13`,target:`_blank`},null,8,Dt)],2))}},kt=[`data-href`,`data-width`,`data-show-text`],At={__name:`SocialFacebookPostBlock`,props:{block:{type:Object,required:!0}},setup(e){let t=F(()=>{if(e.block.fb_post_align===`center`)return`justify-center`;if(e.block.fb_post_align===`left`)return`justify-start`;if(e.block.fb_post_align===`right`)return`justify-end`}),n=F(()=>e.block.fb_post_type?`fb-videos`:`fb-post`);return D(()=>{Et(`fbBlockEmbed`,`https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v5.0`)}),(r,i)=>(g(),c(`div`,{class:y([`flex`,k(t)])},[f(`div`,{"data-href":e.block.fb_post_url,"data-width":e.block.fb_post_width??`auto`,"data-show-text":!!e.block.fb_post_show_details,class:y(k(n))},null,10,kt)],2))}},jt=[`data-conversation`,`data-dnt`,`data-theme`,`innerHTML`],Mt={__name:`SocialTwitterPostBlock`,props:{block:{type:Object,required:!0}},setup(e){let t=L(),n=F(()=>{if(e.block.tweet_align===`center`)return`justify-center`;if(e.block.tweet_align===`left`)return`justify-start`;if(e.block.tweet_align===`right`)return`justify-end`});return D(()=>{Et(`twtBlockEmbed`,`https://platform.twitter.com/widgets.js`);try{`twttr`in window&&t.value&&(G.info(`Reloading twitter scripts`),window?.twttr?.widgets?.load(t.value))}catch{G.error(`Error reloading twitter scripts`)}}),(r,i)=>(g(),c(`div`,{ref_key:`componentRef`,ref:t,class:y([`flex`,k(n)])},[f(`blockquote`,{class:`twitter-tweet`,"data-conversation":!!e.block.tweet_conversation,"data-dnt":e.block.tweet_do_not_track,"data-theme":e.block.tweet_theme,innerHTML:e.block.tweet_html},null,8,jt)],2))}},Nt={__name:`AdvancedFormBlock`,props:{block:{type:Object,required:!0}},setup(e){return(t,r)=>{let a=Se;return e.block.form_id?(g(),i(a,{key:0,id:e.block.form_id,name:`form-${e.block.id}`},null,8,[`id`,`name`])):n(``,!0)}}},Pt=[`src`,`scrolling`,`height`],Ft={__name:`AdvancedIframeBlock`,props:{block:{type:Object,required:!0}},setup(e){return(t,r)=>e.block.iframe_src?(g(),c(`div`,{key:0,class:y([`relative`,{"flex aspect-video":e.block.iframe_responsive}])},[f(`iframe`,{class:`block w-full`,src:e.block.iframe_src,scrolling:e.block.iframe_scrolling??!1,height:e.block.iframe_responsive?null:e.block.iframe_height,frameborder:`0`},null,8,Pt)],2)):n(``,!0)}},It=[`innerHTML`],Lt={__name:`SidearmCodeBlock`,props:{block:{type:Object,required:!0}},setup(e){return(t,r)=>e.block.html?(g(),c(`div`,{key:0,innerHTML:e.block.html},null,8,It)):n(``,!0)}},Rt={__name:`MediaImageWallBlock`,props:{block:{type:Object,required:!0}},setup(t){let{$imageUrl:n}=e(),r=e=>{let n=t.block.image_aspect_ratios.filter(t=>t.id===e);return n.length?String(n[0].aspect_ratio):`1`};return(e,i)=>{let a=V;return g(),c(`div`,{class:`flex flex-wrap items-center justify-center`,style:w({gap:`${t.block.image_gutter}px`})},[(g(!0),c(h,null,P(t.block.images,e=>(g(),c(`div`,{key:e.url,class:`flex-initial overflow-hidden bg-[#ccc]`,style:w({maxHeight:t.block.max_row_height+`px`,aspectRatio:r(e.id)})},[u(a,{class:`h-full w-full object-cover`,method:`resize`,alt:e.alt_text??`Media wall image`,images:[{breakpoint:1600,image:k(n)(e.url),width:1600},{breakpoint:1200,image:k(n)(e.url),width:1200},{breakpoint:1020,image:k(n)(e.url),width:1020},{breakpoint:800,image:k(n)(e.url),width:800},{breakpoint:660,image:k(n)(e.url),width:660},{breakpoint:0,image:k(n)(e.url),width:480}]},null,8,[`alt`,`images`])],4))),128))],4)}}},zt={class:`relative text-center`},Bt={key:0,class:`text-default-white text-center text-[1.625rem]`},Vt={key:1,class:`text-default-white text-center text-[1.25rem]`},Ht={__name:`TicketingHeroBlock`,props:{block:{type:Object,required:!0}},setup(e){return(t,a)=>{let o=Z;return g(),c(h,null,[a[0]||=f(`div`,{class:`pointer-events-none absolute left-0 block h-3/5 w-full`,style:{backgroundImage:`linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%)`}},null,-1),f(`div`,zt,[e.block.title?(g(),c(`h2`,Bt,x(e.block.title),1)):n(``,!0),e.block.subititle?(g(),c(`h3`,Vt,x(e.block.title),1)):n(``,!0),e.block.url?(g(),i(o,{key:2,href:e.block.url,class:`bg-primary text-on-primary hover:bg-primary-hover focus:bg-primary-hover inline-block rounded-[3px] px-3 py-[6px] no-u
3nderline transition-colors`},{default:r(()=>[s(x(e.block.button_text??`Buy Tickets`),1)]),_:1},8,[`href`])):n(``,!0)])],64)}}},Ut=[`src`,`alt`],Wt={class:`mt-4 text-center md:flex-[1_1_75%] md:text-left`},Gt={key:0,class:`mb-[6px] text-lg font-bold`},Kt={key:1,class:`mb-[6px]`},qt={key:2,class:`bg-primary text-on-primary group-hover:bg-primary-hover group-focus:bg-primary-hover inline-block rounded-[3px] px-3 py-[6px] transition-colors`},Jt={__name:`TicketingLinkPromoBlock`,props:{block:{type:Object,required:!0}},setup(e){return(t,a)=>{let o=Z;return g(),i(o,{href:e.block.url,class:`hover:bg-default-white-hover focus:bg-default-white-hover group block items-start gap-6 p-6 !text-black no-underline transition-all hover:!text-inherit focus:!text-inherit md:flex`},{default:r(()=>[e.block.image?.url?(g(),c(`img`,{key:0,src:e.block.image.url,alt:e.block.image.alt_text??`Promo Image`,class:`w-full min-w-[96px] object-cover md:w-1/4`},null,8,Ut)):n(``,!0),f(`div`,Wt,[e.block.title?(g(),c(`div`,Gt,x(e.block.title),1)):n(``,!0),e.block.sub_title?(g(),c(`div`,Kt,x(e.block.sub_title),1)):n(``,!0),e.block.button_text?(g(),c(`span`,qt,x(e.block.button_text),1)):n(``,!0)])]),_:1},8,[`href`])}}},Yt=H(`event`,{state:()=>({events:{},isLoading:{},isLoadingMore:{},moreToLoad:{}}),actions:{async fetchEvents(e){let{fetch:t,...n}=e;if(!(e.hash in this.events)){this.isLoading[e.hash]=!0;let r=await new _e({fetch:t}).get(n);this.events[e.hash]=r,this.isLoading[e.hash]=!1}this.fetchGameCenterLiveGames({payload:n,fetch:t})},async fetchMoreEvents(e){let{fetch:t,...n}=e;this.isLoadingMore[e.hash]=!0;let r=await new _e({fetch:t}).get(n),{props:i}=e;(!r||!r.length||r.length&&i.count&&r.length<i.count)&&(this.moreToLoad[e.hash]=!1),e.hash in this.events&&(this.events[e.hash]=[...this.events[e.hash]??[],...r]),this.isLoadingMore[e.hash]=!1},async fetchEventsLiveStats(e){let t=this.getEvents(e.hash);if(!t||!t?.length)return;let n=ve();if(n.statsAvailable||await n.fetchLiveStats({fetch:e.fetch}),n.statsAvailable)for(let r of t){let t=n.getLiveStatsByGameId(r.id??0);if(!t||!Object.keys(t)?.length)continue;let i=null;e?.props?.extra&&Object?.keys(e.props.extra)?.length&&`detailedLiveStats`in e.props.extra&&e.props.extra.detailedLiveStats&&(await n.fetchDetailedLiveStats({gameId:r.id??0,fetch:e.fetch}),i=n.getDetailedLiveStatsByGameId(r.id??0));let a=this.events[e.hash]?.findIndex(e=>e&&e.id===r.id);if(a!==void 0&&a>-1){let n=this.events[e.hash]?.[a],r=ce(t,n?.location_indicator);i&&(r=se(r,i)),this.events?.[e.hash]&&this.events[e.hash]?.length&&this.events?.[e.hash]?.[a]&&(this.events[e.hash][a]={...n,is_live:!0,livestats:r})}}},async fetchGameCenterLiveGames({payload:e,fetch:t}){let n=this.getEvents(e.hash);if(!n||!n?.length)return;let r=ye();if(r.liveGamesAvailable||await r.fetchLiveGames({fetch:t}),r.liveGamesAvailable)for(let t of n){let n=r.getLiveGameById(t.id??0);if(!n||!Object.keys(n)?.length)continue;let i=this.events[e.hash]?.findIndex(e=>e&&e.id===t.id);if(i!==void 0&&i>-1){let t=this.events[e.hash]?.[i];this.events?.[e.hash]&&this.events[e.hash]?.length&&this.events?.[e.hash]?.[i]&&t&&(n.game_state===q.Live||t.game_state!==n.game_state)&&(this.events[e.hash][i]={...t,is_live:n.game_state===q.Live,livestats:n.game_state===q.Live?oe(n):null})}}}},getters:{getEvents:e=>t=>t in e.events?e.events[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}}),Xt={__name:`EventsComponent`,props:{...he},setup(t){let n=Yt(),r=t,{$customFetch:i}=e(),{initialize:a,loadMore:o,getComponentData:s,currentSportId:c,config:l,hash:u}=pe({props:r,fetch:i}),{sports:d,selectedSport:f,updateSport:p}=be(r,c,s,n.fetchEvents),m=F(()=>n.getEvents(u())),h=F(()=>n.getMoreToLoad(u())),g=F(()=>
3n.getLoadingMoreFlag(u())),_=F(()=>n.getLoadingFlag(u()));return D(async()=>{await s(n.fetchEvents),a(n.fetchMoreEvents)}),(e,t)=>b(e.$slots,`content`,{data:k(m),config:k(l),loadMore:k(o),moreToLoad:k(h),isLoadingMore:k(g),isLoading:k(_),currentSportId:k(c),sports:k(d),selectedSport:k(f),updateSport:k(p)})}},Zt={key:0,class:`text-center`},Qt={key:1,class:`text-center`},$t={class:`grid grid-cols-1 gap-6 lg:hidden`},en={key:0,class:`grid w-[72px] flex-initial place-items-center`},tn=[`src`,`alt`],nn={class:`border-theme-primary-border flex-1 border-l pl-6`},rn={class:`mb-[6px] flex items-center`},an={key:0,class:`text-theme-safe-light text-[.85em]`},on={key:1,class:`text-theme-safe-light text-[.85em]`},sn={key:2,class:`text-theme-safe-light text-[.85em]`},cn={class:`mb-[6px]`},ln={class:`font-bold`},un={class:`hidden grid-cols-3 gap-6 lg:grid xl:grid-cols-4`},dn={class:`font-bold`},fn={key:0,class:`grid w-[72px] place-items-center`},pn=[`src`,`alt`],mn={class:`flex items-center`},hn={key:0,class:`text-theme-safe-light text-[.85em]`},gn={key:1,class:`text-theme-safe-light text-[.85em]`},_n={__name:`TicketingUpcomingGamesBlock`,props:{block:{type:Object,required:!0},sportId:{type:Number,required:!1,default:0}},setup(e){let t=F(()=>e.block.auto_list_count??10),a=t=>e.block.auto_list?t:t.filter(t=>e.block.game_ids.includes(t.id));return(o,l)=>{let u=Z,d=Xt;return g(),i(d,{sportId:String(e.sportId),count:k(t)},{content:r(({data:t})=>[a(t).length?(g(),c(h,{key:0},[e.block.title?(g(),c(`h2`,Zt,x(e.block.title),1)):n(``,!0),e.block.sub_title?(g(),c(`h3`,Qt,x(e.block.sub_title),1)):n(``,!0),f(`div`,$t,[(g(!0),c(h,null,P(a(t),e=>(g(),c(`div`,{key:`game-${e.id}`,class:`flex items-center gap-3 p-3`},[e.opponent?.image?.url?(g(),c(`div`,en,[f(`img`,{src:e.opponent.image.url,alt:e.opponent?.title??`Opponent Image`,class:`w-full object-cover`},null,8,tn)])):n(``,!0),f(`div`,nn,[f(`div`,rn,[e.start_date?(g(),c(`span`,an,x(k(J)(e.start_date,`LLL d, yyyy`)),1)):n(``,!0),e.start_date&&e.time?(g(),c(`span`,on,` - `)):n(``,!0),e.time?(g(),c(`span`,sn,x(e.time),1)):n(``,!0)]),f(`div`,cn,[f(`span`,ln,x(e.opponent?.title),1)]),e.media?.tickets?(g(),i(u,{key:0,href:e.media.tickets,class:`bg-primary text-on-primary hover:bg-primary-hover focus:bg-primary-hover inline-block rounded-[3px] px-3 py-[6px] no-u
3nderline transition-colors`},{default:r(()=>[...l[0]||=[s(` Buy Tickets `,-1)]]),_:1},8,[`href`])):n(``,!0)])]))),128))]),f(`div`,un,[(g(!0),c(h,null,P(a(t),e=>(g(),c(`div`,{key:`game-${e.id}`,class:`border-theme-border-light bg-default-white grid grid-cols-1 gap-[6px] rounded-[3px] border p-3 text-center`},[f(`div`,dn,[f(`span`,null,x(e.opponent?.title),1)]),e.opponent?.image?.url?(g(),c(`div`,fn,[f(`img`,{src:e.opponent.image.url,alt:e.opponent?.title??`Opponent Image`,class:`w-full object-cover`},null,8,pn)])):n(``,!0),f(`div`,mn,[e.start_date?(g(),c(`span`,hn,x(k(J)(e.start_date,`LLL d, yyyy`)),1)):n(``,!0),e.time?(g(),c(`span`,gn,x(e.time),1)):n(``,!0)]),e.media?.tickets?(g(),i(u,{key:1,href:e.media.tickets,class:`bg-primary text-on-primary hover:bg-primary-hover focus:bg-primary-hover inline-block rounded-[3px] px-3 py-[6px] no-underline transition-colors`},{default:r(()=>[...l[1]||=[s(` Buy Tickets `,-1)]]),_:1},8,[`href`])):n(``,!0)]))),128))])],64)):n(``,!0)]),_:1},8,[`sportId`,`count`])}}},vn={class:`countdown-container border-theme-border-light mb-4 flex flex-col border border-b-[6px] md:flex-row`},yn={key:0,class:`border-theme-border-light flex flex-col justify-center border-b p-3 md:p-6`},bn={key:0,class:`text-theme-safe-light text-xl font-bold`},xn={key:1,class:`text-theme-safe-light text-base font-semibold`},Sn={class:`flex flex-1 items-center justify-end p-3 md:p-6`},Cn={key:0,class:`flex-1`},wn={class:`text-theme-safe-light text-sm uppercase`},Tn={key:1,class:`flex h-full w-1/4 items-center justify-center md:p-4`},En=[`src`,`alt`],Dn=[`src`,`alt`],On={class:`border-theme-border-light flex border-t md:border-t-0`},kn={class:`border-theme-border-light text-theme-safe-light flex w-1/4 flex-1 flex-col items-center justify-center border-l border-r px-2 py-3 text-sm`},An={class:`text-lg font-bold`},jn={class:`border-theme-border-light text-theme-safe-light flex w-1/4 flex-1 flex-col items-center justify-center border-r px-2 py-3 text-sm`},Mn={class:`text-lg font-bold`},Nn={class:`border-theme-border-light text-theme-safe-light flex w-1/4 flex-1 flex-col items-center justify-center border-r px-2 py-3 text-sm`},Pn={class:`text-lg font-bold`},Fn={class:`border-theme-border-light text-theme-safe-light flex w-1/4 flex-1 flex-col items-center justify-center border-r px-2 py-3 text-sm`},In={class:`text-lg font-bold`},Ln=`events`,Rn={__name:`RealtimeCountdownBlock`,props:{block:{type:Object,required:!0},sportId:{type:String,required:!1,default:`0`}},async setup(t){let r,i,{timeNow:o,gameDay:l,countdown:u,timeNowInterval:d,setTimeNowInterval:p,clearTimeNowInterval:m,setCountdown:h}=Ce(),_=Yt(),{$customFetch:v}=e(),y=ae([`narrator_countdown`,t.block.countdown_sport_id,t.block.countdown_type]),b=F(()=>t.block.countdown_type===`next_game`?1:10),S=F(()=>_.getEvents(y)),C=F(()=>{if(S.value&&S.value.length&&t.block.countdown_type===`specific_game`)return S.value.filter(e=>e.id===t.block.countdown_game_id)[0]}),w=F(()=>{if(S.value&&S.value.length&&t.block.countdown_type===`next_game`)return S.value?.[0];if(S.value&&S.value.length&&t.block.countdown_type===`specific_game`)return C.value}),T=async()=>await _.fetchEvents({hash:y,props:{count:b.value,sport_id:t.block.countdown_sport_id},type:Ln,fetch:v});return t.block.countdown_type!==`specific_day`&&([r,i]=a(()=>T()),await r,i()),D(async()=>{t.block.countdown_type===`specific_day`&&(l.value=W.fromISO(`${t.block.countdown_date}T12:00:00`)),I(l,()=>{d&&m(),p()},{immediate:!0}),I(o,e=>{e&&h()},{immediate:!0})}),j(()=>{m()}),I(S,()=>{S.value&&S.value.length&&t.block.countdown_type===`next_game`?l.value=W.fromISO(S.value[0]?.start_date??``):S.value&&S.value.length&&t.block.countdown_type===`specific_game`&&(l.value=W.fromISO(C.value?.start_date??``))},{immediate:!0}),(e,r)=>(g(),c(`div`,vn,[t.block.countdown_title||t.block.countdown_subtitle?(g(),c(`div`,yn,[t.block.countdown_title?(g(),c(`div`,bn,x(t.block.countdown_title),1)):n(``,!0),t.block.countdown_subtitle?(g(),c(`div`,xn,x(t.block.countdown_subtitle),1)):n(``,!0)])):n(``,!0),f(`div`,Sn,[t.block.countdown_type!==`specific_day`&&k(w)?(g(),c(`div`,Cn,[f(`div`,null,x(k(w).sport?.title),
31),f(`div`,null,x(k(w).location_indicator===`A`?`at`:`vs`)+` `+x(k(w).opponent?.title),1),f(`div`,wn,x(k(J)(k(w)?.start_date??``,`LLL d, yyyy`))+` `+x(k(w).time?`at `+k(w).time:``),1)])):n(``,!0),t.block.countdown_sport_id>0&&t.block.countdown_show_logo||t.block.countdown_type===`specific_day`&&t.block.countdown_image?(g(),c(`div`,Tn,[t.block.countdown_type===`specific_day`&&t.block.countdown_image?(g(),c(`img`,{key:0,src:t.block.countdown_image.url,alt:t.block.countdown_image.alt_text,class:`flex-initial object-cover`},null,8,En)):k(w)&&k(w).opponent?(g(),c(`img`,{key:1,src:k(w).opponent?.image?.url,alt:k(w).opponent?.title??`Opponent Image`,class:`w-[80px] flex-initial object-cover`},null,8,Dn)):n(``,!0)])):n(``,!0)]),f(`div`,On,[f(`div`,kn,[f(`div`,An,x(k(u).days),1),r[0]||=s(` Days `,-1)]),f(`div`,jn,[f(`div`,Mn,x(k(u).hours),1),r[1]||=s(` Hours `,-1)]),f(`div`,Nn,[f(`div`,Pn,x(k(u).minutes),1),r[2]||=f(`abbr`,{title:`Minutes`,class:`border-b-0 no-underline`},`Mins`,-1)]),f(`div`,Fn,[f(`div`,In,x(k(u).seconds),1),r[3]||=f(`abbr`,{title:`Seconds`,class:`border-b-0 no-underline`},`Secs`,-1)])])]))}},zn={key:0,class:`text-center text-xl font-bold`},Bn={key:1,class:`text-center text-lg`},Vn={class:`border-theme-border-light mx-3 border text-center`},Hn={class:`bg-primary text-on-primary truncate p-2 text-sm`},Un={class:`p-3`},Wn=[`src`,`alt`],Gn={class:`text-lg`},Kn={class:`text-lg`},qn={class:`flex flex-wrap items-center justify-center`},Jn={key:0},Yn={key:1},Xn={key:2},Zn={key:3},Qn={class:`flex items-center gap-3 pt-4`},$n={class:`schedule-rotator-prev bg-primary hover:bg-primary-hover focus:bg-primary-hover grid appearance-none place-items-center p-2 transition-colors`},er={class:`schedule-rotator-next bg-primary hover:bg-primary-hover focus:bg-primary-hover grid appearance-none place-items-center p-2 transition-colors`},tr={key:3,class:`grid grid-cols-1 gap-3`},nr={class:`flex w-full flex-initial items-center justify-center py-2 md:w-auto md:p-3`},rr=[`src`,`alt`],ir={class:`w-full flex-1 py-2 md:w-auto md:p-3`},ar={class:`text-theme-safe-light text-lg`},or={class:`text-theme-safe-light text-lg font-bold`},sr={class:`w-full flex-1 py-2 md:w-auto md:p-3`},cr={class:`text-theme-safe-light text-lg`},lr={class:`w-full flex-1 px-2 md:w-auto md:p-3`},ur={class:`flex flex-wrap items-center justify-center gap-2 md:justify-start`},dr={key:0},fr={key:1},pr={key:2},mr={key:3},hr={key:4},gr={class:`w-full border-collapse`},_r={class:`border-theme-border-light border`},vr={class:`border-theme-border-light text-theme-safe-light border-r py-2 px-4 text-[.9em]`},yr={class:`border-theme-border-light text-theme-safe-light border-r border-l py-2 px-4 text-[.9em]`},br={class:`border-theme-border-light text-theme-safe-light border-r border-l py-2 px-4 text-[.9em]`},xr={class:`border-theme-border-light text-theme-safe-light border-l py-2 px-4 text-[.9em]`},Sr={class:`flex flex-wrap items-center gap-2`},Cr={key:0},wr={key:1},Tr={key:2},Er={key:3},Dr={__name:`RealtimeScheduleBlock`,props:{block:{type:Object,required:!0}},setup(e){let t=L({modules:[_],navigation:{nextEl:`.schedule-rotator-next`,prevEl:`.schedule-rotator-prev`},breakpoints:{460:{slidesPerView:2},640:{slidesPerView:3},880:{slidesPerView:4}}});return(a,o)=>{let s=Y,l=Z,d=v,p=N,m=Xt;return g(),i(m,{count:e.block.schedule_game_limit,sportId:String(e.block.sport_id),name:e.block.id},{content:r(({data:a})=>[e.block.title?(g(),c(`h2`,zn,x(e.block.title),1)):n(``,!0),e.block.sub_title?(g(),c(`h3`,Bn,x(e.block.sub_title),1)):n(``,!0),e.block.schedule_display_type===`cards_1`?(g(),i(p,{key:2,navigation:k(t).navigation,modules:k(t).modules,breakpoints:k(t).breakpoints},{default:r(()=>[(g(!0),c(h,null,P(a,(e,t)=>(g(),i(d,{key:t},{default:r(()=>[f(`div`,Vn,[f(`div`,Hn,x(k(J)(e?.start_date??``,`LLL d, yyyy`))+` `+x(e.time?`at `+e.time:``),1),f(`div`,Un,[f(`img`,{src:e.opponent?.image?.url,alt:e.opponent?.title??`Opponent Image`,class:`mx-auto mb-3 w-[80px] object-cover`},null,8,Wn),f(`div`,Gn,x(e.sport?.title)+` `+x(e.location_indicator===`A`?`at`:`vs`),1),f(`div`,Kn,x(e.opponent?.title),
31),f(`ul`,qn,[e.media.video?(g(),c(`li`,Jn,[u(l,{href:e.media.video,class:`bg-primary hover:bg-primary-hover focus:bg-primary-hover grid place-items-center p-3 transition-colors`},{default:r(()=>[u(s,{name:`icon-video`,class:`text-on-primary text-base`})]),_:1},8,[`href`])])):n(``,!0),e.media.stats?(g(),c(`li`,Yn,[u(l,{href:e.media.stats,class:`bg-primary hover:bg-primary-hover focus:bg-primary-hover grid place-items-center p-3 transition-colors`},{default:r(()=>[u(s,{name:`icon-stats`,class:`text-on-primary text-base`})]),_:1},8,[`href`])])):n(``,!0),e.media.audio?(g(),c(`li`,Xn,[u(l,{href:e.media.audio,class:`bg-primary hover:bg-primary-hover focus:bg-primary-hover grid place-items-center p-3 transition-colors`},{default:r(()=>[u(s,{name:`icon-audio`,class:`text-on-primary text-base`})]),_:1},8,[`href`])])):n(``,!0),e.media.tickets?(g(),c(`li`,Zn,[u(l,{href:e.media.tickets,class:`bg-primary hover:bg-primary-hover focus:bg-primary-hover grid place-items-center p-3 transition-colors`},{default:r(()=>[u(s,{name:`icon-tickets`,class:`text-on-primary text-base`})]),_:1},8,[`href`])])):n(``,!0)])])])]),_:2},1024))),128)),f(`div`,Qn,[f(`button`,$n,[o[0]||=f(`span`,{class:`sr-only`},`Go to previous slide`,-1),u(s,{name:`icon-arrow-left`,class:`text-on-primary text-base`})]),f(`button`,er,[o[1]||=f(`span`,{class:`sr-only`},`Go to next slide`,-1),u(s,{name:`icon-arrow-right`,class:`text-on-primary text-base`})])])]),_:2},1032,[`navigation`,`modules`,`breakpoints`])):e.block.schedule_display_type===`grid_1`?(g(),c(`ul`,tr,[(g(!0),c(h,null,P(a,(e,t)=>(g(),c(`li`,{key:t,class:`bg-theme-elevated-light even:bg-theme-surface-light flex flex-col flex-wrap items-center text-center md:flex-row md:text-left`},[f(`div`,nr,[f(`img`,{src:e.opponent?.image?.url,alt:e.opponent?.title??`Opponent Image`,class:`w-[80px] object-cover`},null,8,rr)]),f(`div`,ir,[f(`div`,ar,x(k(J)(e?.start_date??``,`LLL d, yyyy`))+` `+x(e.time?`at `+e.time:``),1),f(`div`,or,x(e.location_indicator===`A`?`at`:`vs`)+` `+x(e.opponent?.title),1)]),f(`div`,sr,[f(`div`,cr,x(e.location),1)]),f(`div`,lr,[f(`ul`,ur,[e.media.video?(g(),c(`li`,dr,[u(l,{href:e.media.video,class:`bg-primary hover:bg-primary-hover focus:bg-primary-hover grid place-items-center p-3 transition-colors`},{default:r(()=>[u(s,{name:`icon-video`,class:`text-on-primary text-base`})]),_:1},8,[`href`])])):n(``,!0),e.media.stats?(g(),c(`li`,fr,[u(l,{href:e.media.stats,class:`bg-primary hover:bg-primary-hover focus:bg-primary-hover grid place-items-center p-3 transition-colors`},{default:r(()=>[u(s,{name:`icon-stats`,class:`text-on-primary text-base`})]),_:1},8,[`href`])])):n(``,!0),e.media.audio?(g(),c(`li`,pr,[u(l,{href:e.media.audio,class:`bg-primary hover:bg-primary-hover focus:bg-primary-hover grid place-items-center p-3 transition-colors`},{default:r(()=>[u(s,{name:`icon-audio`,class:`text-on-primary text-base`})]),_:1},8,[`href`])])):n(``,!0),e.media.tickets?(g(),c(`li`,mr,[u(l,{href:e.media.tickets,class:`bg-primary hover:bg-primary-hover focus:bg-primary-hover grid place-items-center p-3 transition-colors`},{default:r(()=>[u(s,{name:`icon-tickets`,class:`text-on-primary text-base`})]),_:1},8,[`href`])])):n(``,!0)])])]))),128))])):(g(),c(`div`,hr,[f(`table`,gr,[o[2]||=f(`thead`,{class:`bg-none`},[f(`tr`,null,[f(`th`,{class:`bg-primary text-on-primary py-2 px-4 align-bottom text-[.9em] font-bold italic`},` Date and Time `),f(`th`,{class:`bg-primary text-on-primary py-2 px-4 align-bottom text-[.9em] font-bold italic`},` Opponent `),f(`th`,{class:`bg-primary text-on-primary py-2 px-4 align-bottom text-[.9em] font-bold italic`},` Location `),f(`th`,{class:`bg-primary text-on-primary py-2 px-4 align-bottom text-[.9em] font-bold italic`},` Media `)])],-1),f(`tbody`,_r,[(g(!0),c(h,null,P(a,(e,t)=>(g(),c(`tr`,{key:t,class:`border-theme-border-light border-t`},[f(`td`,vr,x(k(J)(e?.start_date??``,`LLL d, yyyy`))+` `+x(e.time?`at `+e.time:``),1),f(`td`,yr,x(e.location_indicator===`A`?`at`:`vs`)+` `+x(e.opponent?.title),1),f(`td`,br,x(e.location),1),f(`td`,xr,[f(`ul`,Sr,[e.media.video?(g(),c(`li`,Cr,[u(l,{href:e.media.video,class:`bg-primary hover:bg-primary-hover focus:bg-primary-hover grid place-items-center p-3 transition-colors`},{default:r(()=>[u(s,{name:`icon-video`,class:`text-on-primary text-base`})]),_:1},8,[`href`])])):n(``,!0),e.media.stats?(g(),c(`li`,wr,[u(l,{href:e.media.stats,class:`bg-primary hover:bg-primary-hover focus:bg-primary-hover grid place-items-center p-3 transition-colors`},{default:r(()=>[u(s,{name:`icon-stats`,class:`text-on-primary text-base`})]),_:1},8,[`href`])])):n(``,!0),e.media.audio?(g(),c(`li`,Tr,[u(l,{href:e.media.audio,class:`bg-primary hover:bg-primary-hover focus:bg-primary-hover grid place-items-center p-3 transition-colors`},{default:r(()=>[u(s,{name:`icon-audio`,class:`text-on-primary text-base`})]),_:1},8,[`href`])])):n(``,!0),e.media.tickets?(g(),c(`li`,Er,[u(l,{href:e.media.tickets,class:`bg-primary hover:bg-primary-hover focus:bg-primary-hover grid place-items-center p-3 transition-colors`},{default:r(()=>[u(s,{name:`icon-tickets`,class:`text-on-primary text-base`})]),_:1},8,[`href`])])):n(``,!0)])])]))),128))])])]))]),_:1},8,[`count`,`sportId`,`name`])}}},$={__name:`BlockRenderer`,props:{block:{type:Object,required:!0},subBlock:{type:Boolean,required:!1,default:!1},sportId:{type:String,required:!1,default:`0`}},setup(t){let{$imageUrl:n}=e(),r={sidearm_code_block:Lt,basic_text_block:Ae,basic_image_block:Ge,basic_video_block:qe,basic_slider_block:Qe,basic_button_block:tt,basic_ad_block:nt,basic_quote_block:ot,basic_gallery_block:Tt,social_instagram_post_block:Ot,social_facebook_post_block:At,social_twitter_tweet_block:Mt,structural_layout_block:je,structural_accordion_block:Re,structural_tab_block:Ue,advanced_form_block:Nt,advanced_iframe_block:Ft,media_image_wall_block:Rt,ticketing_hero_block:Ht,ticketing_link_promo_block:Jt,ticketing_upcoming_games_block:_n,realtime_schedule_block:Dr,realtime_countdown_block:Rn},a=F(()=>r[t.block.type]??Ae),o=F(()=>{let e=``,r=Math.round(t.block.background?.opacity),i=t.block.background?.color?.hex&&t.block.background?.width===`full_width`?`${t.block.background.color.hex}${r.toString(16)}`:`transparent`;e+=`background-color: ${i};`;let a=t.block.background?.image?.url&&t.block.background?.width===`full_width`?`url(${n(t.block.background.image.url)})`:`none`;e+=`background-image: ${a};`;let o=t.block.background?.image_id>0&&t.block.background?.effect===`parallax`?`fixed`:`initial`;e+=`background-attachment: ${o};`;let s=t.block.background?.position??`top left`;return e+=`background-position: ${s};`,e+=`margin: ${t.block.margin.top}px ${t.block.margin.right}px ${t.block.margin.bottom}px ${t.block.margin.left}px;`,e}),s=F(()=>{let e=``,r=Math.round(t.block.background?.opacity),i=t.block.background?.color?.hex&&t.block.background?.width!==`full_width`?`${t.block.background.color.hex}${r.toString(16)}`:`transparent`;e+=`background-color: ${i};`;let a=t.block.background?.image?.url&&t.block.background?.width!==`full_width`?`url(${n(t.block.background.image.url)})`:`none`;e+=`background-image: ${a};`;let o=t.block.background?.image_id>0&&t.block.background?.effect===`parallax`?`fixed`:`initial`;e+=`background-attachment: ${o};`;let s=t.block.background?.position??`top left`;e+=`background-position: ${s};`;let c=a===`none`?0:8;return e+=`padding: calc(${c}px + ${t.block.padding.top}px) calc(${c}px + ${t.block.padding.right}px) calc(${c}px + ${t.block.padding.bottom}px) calc(${c}px + ${t.block.padding.left}px);`,t.block.section_height===`full`&&(e+=`min-height: 100vh; display: flex;`),e});return(e,n)=>(g(),c(`div`,{class:y([`c-story-blocks__block-container my-0 mx-auto bg-cover`,{"m-0 flex-1":t.subBlock}]),style:w(k(o))},[f(`div`,{class:y([`c-story-blocks__block mx-auto px-6`,[{"min-h-full w-full":t.subBlock},`c-story-blocks__width-${t.block.width}`]]),style:w(k(s))},[(g(),i(T(k(a)),{block:t.block,subBlock:t.subBlock,sportId:t.block.sport_id??t.sportId},null,8,[`block`,`subBlock`,`sportId`]))],6)],6))}},Or={class:`c-story-blocks__wrapper grid grid-cols-1`},kr={__name:`StoryBlocks`,props:{blocks:{type:null,required:!0},sportId:{type:Number,required:!1,default:0}},setup(e){return(t,n)=>(g(),c(`div`,Or,[(g(!0),c(h,null,P(e.blocks,(t,n)=>(g(),i($,{key:`${n}-${t.type}`,block:t,sportId:String(e.sportId)},null,8,[`block`,`sportId`]))),128))]))}},Ar=o(()=>C(()=>import(`./C060_P5-.js`).then(e=>e.default||e),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]),import.meta.url)),jr={key:0,class:`bottom-0 fixed w-full z-30`},Mr={class:`p-6 border-t-2 bg-theme-surface-light flex justify-center items-center border-theme-border`},Nr={class:`ml-2 s-text-details`},Pr={class:`s-text-paragraph-small text-default-white flex-1`},Fr={class:`my-2 flex items-center rounded-md p-5 bg-system-warning`},Ir={class:`flex space-x-[16px]`},Lr={__name:`SidearmHTMLEditor`,props:{footerText:{type:null,required:!0,default:``},contentId:{type:Number,required:!0},htmlContent:{type:String,required:!0,default:``},date:{type:String,required:!0,default:``},slug:{type:String,required:!0,default:``},proseEnabled:{type:Boolean,required:!1}},setup(t){let a=t,{$customFetch:o}=e(),l=()=>({contentId:a.contentId,body:T.value,date:a.date,slug:a.slug}),p=m(`liveEditUpdateAction`),_=m(`liveEditGetHTML`,void 0),v=m(`liveEditSetHTML`),b=m(`liveEditAuthGuard`),S=L(!1),C=L(!0),w=L(a.htmlContent),T=L(``),E=L(!1),O=L(!1),A=d({type:`success`,text:``}),j=(e=`success`,t=``)=>{A.type=e,A.text=t},M=()=>{A.type=`success`,A.text=``},ee=e=>{console.log(`content updated`),T.value=e,M(),e?.length||j(`error`,`The content cannot be empty`)},N=()=>b?Ee()[b].value:(console.warn(`[SidearmHTMLEditor] auth guard not specified.`),!1),P=async()=>
3{if(console.log(`saveContent`),S.value=!1,M(),!N()){j(`error`,`User is not logged in or cannot edit the resource`);return}if(!T.value?.length){j(`error`,`The content cannot be empty`);return}if(p&&typeof p==`function`&&v&&typeof v==`function`)try{E.value=!0;let e=await p({payload:l(),fetch:o});E.value=!1,e&&e.success===!0?(v(T.value),j(`success`,`Content updated correctly.`),S.value=!0):j(`error`,`An error occurred. The content could not be saved. Please try again later.`)}catch(e){console.error(`Content could not be updated`,e),j(`error`,`An error occurred. The content could not be saved. Please try again later.`),E.value=!1}},F=ne(),I=()=>`edit`in F.query?R():re({...F,query:{edit:`true`,disable_airgap:`true`,auto:`true`}},{external:!0}),R=async()=>{if(S.value=!1,M(),w.value=a.htmlContent,T.value=a.htmlContent,_&&typeof _==`function`)try{E.value=!0;let e=await _();e!==null&&(w.value=e,T.value=e)}catch(e){console.error(`Content could not be loaded for editing`,e),j(`error`,`An error occurred while loading the content. Showing currently rendered content instead.`)}finally{E.value=!1}O.value=!0},B=()=>{if(!E.value&&(O.value=!1,S.value))return re({...F,query:{}},{replace:!0})};return D(()=>{F.query.edit===`true`&&F.query.auto===`true`&&R()}),(e,a)=>{let o=Y,l=Ar;return g(),c(h,null,[(g(),i(te,{to:`#teleports`},[k(C)?(g(),c(`div`,jr,[f(`div`,Mr,[u(k(X),{size:`regular`,theme:`light-theme`,type:`priority`,iconLeft:`icon-edit`,onClick:I},{default:r(()=>[...a[1]||=[s(` Edit `,-1)]]),_:1}),f(`p`,Nr,x(t.footerText??`Click the button to edit the content`),1),u(o,{class:`ml-auto text-theme-muted hover:cursor-pointer`,name:`icon-close`,onClick:a[0]||=e=>C.value=!1})])])):n(``,!0)])),u(k(fe),{backdrop:``,active:k(O),theme:`light-theme`,_class:`!z-[100]`,contentClass:`lg:!max-h-[80vh]`,wrapperClass:`lg:!max-w-[70%] 2xl:!max-w-[1300px]`,modalTitle:`Edit Live Content`,closeButton:!1,onClose:B},{footer:r(()=>[f(`div`,Ir,[k(S)?n(``,!0):(g(),i(k(X),{key:0,theme:`light-theme`,size:`regular`,type:`priority`,disabled:!k(T)?.length||k(E),onClick:z(P,[`prevent`]),onEnter:z(P,[`prevent`])},{default:r(()=>[f(`span`,{class:y({"animate-pulse":k(E)})},x(k(E)?`Saving...`:`Save`),3)]),_:1},8,[`disabled`])),u(k(X),{theme:`light-theme`,size:`regular`,type:`alternate`,onClick:B},{default:r(()=>[...a[3]||=[s(` Close `,-1)]]),_:1})])]),default:r(()=>[k(A)&&k(A)?.text?.length?(g(),c(`div`,{key:0,class:y([`my-2 flex items-center rounded-md p-5 mt-2`,{"bg-system-success":k(A).type===`success`,"bg-system-danger":k(A).type===`error`}])},[u(o,{name:k(A).type===`success`?`icon-complete`:`icon-warning`,size:`small`,class:`text-default-white mr-[8px]`},null,8,[`name`]),f(`div`,Pr,x(k(A).text),1)],2)):n(``,!0),k(S)?n(``,!0):(g(),c(h,{key:1},[f(`div`,Fr,[u(o,{name:`icon-info`,size:`small`,class:`text-default-white mr-[8px]`}),a[2]||=f(`div`,{class:`s-text-paragraph-small text-default-white flex-1`},[f(`p`,null,`After you've completed your edits, please be sure to click "SAVE" button on the bottom left.`),f(`p`,null,` Note: LIVE EDIT may not work for scripts or advanced html editing. By clicking "SAVE", the content will be updated and it cannot be restored. `)],-1)]),k(E)?(g(),i(k(de),{key:0,type:`linear`})):n(``,!0),k(O)?(g(),i(l,{key:1,htmlContent:k(w),disabled:k(E),proseEnabled:t.proseEnabled,onHtmlChanged:ee},null,8,[`htmlContent`,`disabled`,`proseEnabled`])):n(``,!0)],64))]),_:1},8,[`active`])],64)}}},Rr=[`innerHTML`],zr={__name:`SidearmVHtml`,props:{htmlBody:{type:String,default:``}},setup(e,{expose:t}){let n=le(),r=F(()=>n.ssrTriggered),i=L(null);t({el:i});let a={getSSRProps(e){return{innerHTML:e.value}},mounted(e,t){e.innerHTML||=t.value??``},updated(e,t){t.value!==t.oldValue&&(e.innerHTML=t.value??``)}};return(t,n)=>k(r)?(g(),c(`div`,{key:1,ref_key:`internalEl`,ref:i,"data-sidearm-html":`true`,innerHTML:e.htmlBody??``},null,8,Rr)):l((g(),c(`div`,{key:0,ref_key:`internalEl`,ref:i,"data-sidearm-html":`true`,"data-safe-html":`true`},null,512)),[[a,e.htmlBody??``]])}};export{Ee as a,Oe as i,Lr as n,Q as o,kr as r,zr as t};
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.