1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:astra-oas-frontend":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`3f12e7b7-a003-4732-bb35-c87e2f699fc6`,e._sentryDebugIdIdentifier=`sentry-dbid-3f12e7b7-a003-4732-bb35-c87e2f699fc6`)}catch{}})();import{$ as e,Jt as t,R as n,St as r,V as i,Wt as a,b as o,d as s,f as c,m as l,mt as u,nt as d,p as f,u as p,y as m}from"./DKgyLr-x.js";import{t as h}from"./Dkxg1h7A.js";import{t as g}from"./ClIlAxyk.js";import{t as _}from"./DkzADmRK.js";import{r as v}from"#entry";import{t as y}from"./BbqemU6d.js";import{t as b}from"./D6AqV_PM.js";import{t as x}from"./CiXkt2fg.js";import{t as S}from"./TVa2B2Eu.js";import{t as C}from"./DJbc9sk7.js";import{t as w}from"./CsZOLnKp.js";import{t as T}from"./Cp0ppfN2.js";import{t as E}from"./gTxoDQ7s.js";import{t as D}from"./6acYnt9h.js";import{t as O}from"./YF9-kThw.js";import{t as k}from"./BiZSfe2a.js";var A={class:`latest-news__heading`},j={class:`latest-news__heading-box`},M={key:0,class:`latest-news__title`},N={key:1,class:`latest-news__description`},P={class:`latest-news__dropdowns dropdowns`},F={key:0,class:`latest-news__items`},I={key:2,class:`latest-news__empty`},L=`default`,R=!1,z=10,B=Object.assign({name:`LatestNews`},{__name:`ContentBlocksArticleLatestNews`,props:{anchor:{type:String,required:!1,default:void 0},link:{type:String,required:!1,default:void 0},link_label:{type:String,required:!1,default:void 0},presented_by:{type:Object,required:!1,default:void 0},title:{type:String,required:!1,default:void 0},categories:{type:Array,required:!1,default:()=>[]},exclude_categories:{type:Array,required:!1,default:()=>[]},custom_background_image:{type:Object,required:!1,default:void 0},background_color:{type:null,required:!1,default:void 0},hide_sports_dropdown:{type:Boolean,required:!1,default:!1},move_heading_to_left_side:{type:Boolean,required:!1,default:!1},description:{type:String,required:!1,default:void 0}},setup(v){let B=v,{sportOptions:V,sports:H}=D(),{articles:U,fetch:W,loading:G,isFilterAvailable:K,hasArticles:q}=O(L,R,z),J=u(),Y={init:!1,slidesPerView:`auto`,pagination:{el:`.swiper-pagination`,clickable:!0},scrollbar:{draggable:!0},navigation:!0,keyboard:{enabled:!0,onlyInViewport:!1},watchSlidesProgress:!0},X=p(()=>{if(B.categories.length)return B.categories.map(e=>e.data.id)}),Z=p(()=>{if(B.exclude_categories.length)return B.exclude_categories.map(e=>e.data.id)}),Q=p(()=>{if(J.value)return[J.value]}),$=p(()=>({filter:{"sports.id":Q.value,"categories.id":X.value,"not_categories.id":Z.value}})),ee=p(()=>K.value&&!B.hide_sports_dropdown);e(J,()=>W($.value)),n(()=>{W($.value)});let te=p(()=>J.value?H.value.find(e=>e.id===J.value):void 0);return(e,n)=>{let u=y,p=w,D=b,O=g,L=C,R=E,z=T,B=_,H=x,W=S,K=h;return i(),c(K,null,{default:d(()=>[o(W,{id:v.anchor,as:`section`,class:a([`latest-news`,{"latest-news--loading":r(G),"latest-news--empty":!r(U).length,"latest-news--has-custom-background":!!v.custom_background_image?.url,"latest-news--left-heading":v.move_heading_to_left_side}]),color:v.background_color},{default:d(()=>[v.custom_background_image?(i(),c(u,{key:0,image:v.custom_background_image,class:`latest-news__background`},null,8,[`image`])):f(``,!0),o(H,{class:`latest-news__container`},{default:d(()=>[o(R,{class:`latest-news__section-header`},{default:d(()=>[s(`div`,A,[s(`div`,j,[v.title?(i(),l(`h2`,M,t(v.title),1)):f(``,!0),v.description?(i(),l(`p`,N,t(v.description),1)):f(``,!0)]),o(p,{class:`latest-news__presented-by`,"presented-by":v.presented_by||void 0},null,8,[`presented-by`])]),s(`div`,P,[v.link?(i(),c(O,{key:0,href:v.link,class:`latest-news__more-link btn-link`},{default:d(()=>[m(t(v.link_label||`View All`)+` `,1),o(D,{name:`fluent:arrow-right-24-filled`,class:`latest-news__more-icon`})]),_:1},8,[`href`])):f(``,!0),ee.value?(i(),c(L,{key:1,id:`news-sports-dropdown`,modelValue:J.value,"onUpdate:modelValue":n[0]||=e=>J.value=e,options:r(V),label:`Open News Sports Dropdown`},null,8,[`modelValue`,`options`])):f(``,!0)])]),_:1}),r(U)?(i(),l(`div`,F,[r(G)?(i(),c(z,{key:0,class:`latest-news__loading`})):r(q)?(i(),c(B,{key:1,"swiper-options":Y,slides:r(U),class:`latest-news__swiper`},{default:d(({slide:e,isVisible:t})=>
1[o(k,{article:e,inert:!t,sport:te.value,"is-tile-view":v.move_heading_to_left_side,class:`latest-news__item`},null,8,[`article`,`inert`,`sport`,`is-tile-view`])]),_:1},8,[`slides`])):(i(),l(`div`,I,`No Articles`))])):f(``,!0)]),_:1})]),_:1},8,[`id`,`class`,`color`])]),_:1})}}}),V={};function H(e,t){let n=B;return i(),c(n)}var U=Object.assign(v(V,[[`render`,H]]),{__name:`ContentBlocksArticleLatestNewsWrapper`});export{U as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.