1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/swiper-DV8PrLMj.css","assets/pagination-DE0q59Ew.css","assets/navigation-CteQybwo.css"])))=>i.map(i=>d[i]); 2var x=(i,n,s)=>new Promise((r,l)=>{var o=a=>{try{e(s.next(a))}catch(m){l(m)}},d=a=>{try{e(s.throw(a))}catch(m){l(m)}},e=a=>a.done?r(a.value):Promise.resolve(a.value).then(o,d);e((s=s.apply(i,n)).next())});import{u as v,j as t,O as p,t as u,ec as w,p as b,a as c,r as h,eL as f,aa as _,J as I,d as L,_ as g}from"./index-C_ygJFIF.js";import{S as j,a as E}from"./swiper-react-DKw7uHnM.js";import"./swiper-core-CXlVilEP.js";const N=i=>{var s,r,l;const n=v();return t.jsx(t.Fragment,{children:t.jsx("div",{onClick:()=>{var o,d,e,a;i.isLogin?(d=(o=i.hightLightItem)==null?void 0:o.marketId)!=null&&d.eventType.id?i.navigate(`/events/${(a=(e=i.hightLightItem)==null?void 0:e.marketId)==null?void 0:a.eventType.id}/${i.hightLightItem.eventId}`):i.navigate(`/events/${i.hightLightItem.eventId}`):n({type:p,openLoginScreen:!0})},style:{minWidth:"10rem"},className:`px-2 pb-1 pt-1 rounded-md !max-h-[120px] !bg-no-repeat w-full ${u()?"bg-[#3C120BE5]":"bg-[var(--header-top-third-bg)]"} !bg-cover !bg-center `,children:t.jsxs("div",{className:"flex items-center justify-between w-full flex-wrap overflow-hidden",children:[t.jsx("div",{className:"flex flex-col shrink-0 w-[70%]",children:t.jsx("div",{className:`text-ellipsis truncate whitespace-nowrap text-md font-medium font-dm_sans ${w[i.currentDomain.domainName]?"text-black":"text-white"} overflow-hidden`,children:i.hightLightItem&&((l=(r=(s=i.hightLightItem)==null?void 0:s.marketId)==null?void 0:r.competition)==null?void 0:l.name)})}),t.jsxs("div",{className:"flex shrink-0 items-center text-[10px] text-[#fff] bg-red-600 px-1 rounded-sm font-medium ",children:[t.jsx("div",{className:"w-[5px] h-[5px] rounded-full bg-[#fff] mr-[3px]"}),"Live"]})]})},1)})},D=()=>{const i=b(),n=c(e=>e.hightLightMatch.eventIds),s=c(e=>e.currentDomain),r=c(e=>e.marketStatus.sportcontentItemStatus),[l,o]=h.useState(f(r));h.useEffect(()=>{const e=()=>x(void 0,null,function*(){yield g(()=>Promise.resolve({}),__vite__mapDeps([0])),yield g(()=>Promise.resolve({}),__vite__mapDeps([1])),yield g(()=>Promise.resolve({}),__vite__mapDeps([2]))}),a=setTimeout(()=>{e()},1e3);return()=>{clearTimeout(a)}},[]),h.useEffect(()=>{o(f(r))},[r]);const d=c(e=>e.login.isLogin);return t.jsx(t.Fragment,{children:t.jsx("div",{className:`relative flex flex-col items-center gap-1 overflow-visible ${u()?"bg-[white] dark:bg-[#280E16]":"dark:bg-[black] bg-[white]"} pt-2`,children:t.jsx("div",{className:"flex items-center justify-center w-full mx-auto px-1 mt-1",children:n.length>0?t.jsx(j,{modules:[_,I],freeMode:!0,loop:!1,autoplay:{delay:1,disableOnInteraction:!1,pauseOnMouseEnter:!1},speed:8e3,grabCursor:!1,slidesPerView:1.5,spaceBetween:5,allowTouchMove:!0,className:"w-full",children:!!n&&!!n.length&&n.map((e,a)=>t.jsx(E,{children:t.jsx("div",{style:{background:`${u()?`url(${L("games/highlight-bg.webp")})`:"#d3d3d3a1"}`},className:"rounded-md !bg-no-repeat w-full !bg-cover !bg-center",children:t.jsx(N,{status:l,isLogin:d,currentDomain:s,hightLightItem:e,navigate:i})})},a))}):t.jsx("div",{className:"dark:text-white text-black",style:{textAlign:"center",width:"100%"},children:"No HighLight Matches"})})})})};export{D 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.