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]=`901896f5-c067-4dc2-a4f8-649b5d2cc23e`,e._sentryDebugIdIdentifier=`sentry-dbid-901896f5-c067-4dc2-a4f8-649b5d2cc23e`)}catch{}})();import{a as e}from"./B7ix9xIb.js";import{$ as t,R as n,mt as r,u as i}from"./DKgyLr-x.js";import{a}from"./DcLWULOw.js";import{t as o}from"./BrxWcZ-r.js";import{b as s}from"./DHWUqggL.js";import{u as c}from"./BK2eJEws.js";import{G as l,i as u}from"#entry";import{t as d}from"./CiAvTTJX.js";import{t as f}from"./B5DS_zrK.js";var p=10,m=e=>{let t=e?.trim().match(/^(\d+)\s*[xÃ]\s*(\d+)$/i);if(!t)return null;let n=Number(t[1]),r=Number(t[2]);return!n||!r?null:{width:n,height:r}},h=(h,g,_={})=>{let{priority:v=!1}=_,y=e(),b=u(),{pushRequest:x,getAds:S,fetchZone:C,clearZoneAds:w}=b,T=o(),{isLoading:E}=a(b),{sportId:D}=a(T),{isHomePage:O}=d(),{isMobileOrTablet:k}=f(),A=i(()=>({uuid:h,homepage:+!!O.value,sport_id:D.value,mobile:+!!k})),j=e=>k&&e.mobile_image_url||e.image_url,M=e=>!!j(e),N=i(()=>S(h).filter(M)),P=r(0),F=i(()=>N.value[P.value]),I=c(g),{pause:L,resume:R}=s(()=>{P.value=(P.value+1)%N.value.length},()=>(F.value?.display_seconds||p)*1e3,{immediate:!1}),z=i(()=>N.value.length>1&&!I.value);t(z,e=>e?R():L(),{immediate:!0}),t(N,e=>{P.value>e.length-1&&(P.value=0)});let B=i(()=>F.value?j(F.value)??void 0:void 0),V=i(()=>{if(!F.value)return null;let{dimensions:e,mobile_dimensions:t,mobile_image_url:n}=F.value;return m(k&&n?t??e:e)}),H=i(()=>V.value?`${V.value.width} / ${V.value.height}`:null),U=i(()=>V.value?.width??null),W=i(()=>F.value?.url),G=i(()=>F.value?.name),K=i(()=>B.value?{link:[{rel:`preload`,as:`image`,href:B.value,fetchpriority:`high`}]}:{});return v?(l(K),n(()=>{y.isHydrating&&N.value.length||(w(h),C(A.value))})):(n(()=>{x(A.value)}),t(A,e=>{x(e)})),{ad:F,imageUrl:B,aspectRatio:H,imageWidth:U,isLoading:E,name:G,url:W}};export{h 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.