1import{p as M,c as m,r as f,b as D,w as h,D as i,F as a,S as s,E as b,u as F,K as u,H as _,M as N,U as n,X as $,O as g,P as A,N as p,a3 as P}from"./_plugin-vue_export-helper-C8YFU58O.js";import{dm as V,cT as E,db as G,cX as w}from"./main-Dx4_sGQs.js";const H={class:"live-slider"},O={key:1,class:"live-slider__empty"},X={class:"live-slider__viewport"},K={class:"live-slider__teams"},R={class:"live-slider__team"},U={class:"live-slider__team-name"},Z={class:"live-slider__score"},q={class:"live-slider__team"},z={class:"live-slider__team-name"},Q={class:"live-slider__iframe-stack"},j=["src"],J={class:"live-slider__nav"},W={key:0,class:"live-slider__dots"},Y=["onClick"],ee={key:1,class:"live-slider__counter"},se="https://live.winfast.dev/iframe/soccer/flashlive",le=10,ae=M({__name:"LiveSliderPage",props:{iframeProfile:{}},setup(k){const L=k,y=m(()=>L.iframeProfile||"1eryohg92i2udqw"),{data:S,isLoading:C}=V({skipFetchOdds:!0}),l=m(()=>{const r=S.groupedByLeagueLive.value,t=[];for(const c of r)for(const o of c.matches)t.push(E(o));return t}),e=f(0),d=f("left"),v=D({0:!0});h(e,r=>{v[r]=!0}),h(()=>l.value.length,r=>{e.value>=r&&(e.value=0);for(const t in v)delete v[t];v[e.value]=!0});function x(r){return`${se}?profile=${y.value}&uuid=${r.ScheduleID}`}function I(){d.value="right",e.value>0?e.value--:e.value=l.value.length-1}function T(){d.value="left",e.value<l.value.length-1?e.value++:e.value=0}function B(r){d.value=r>e.value?"left":"right",e.value=r}return(r,t)=>(a(),i("div",H,[t[3]||(t[3]=s("div",{class:"live-slider__header"},"ÄANG DIá»N RA",-1)),F(C).matches.value?(a(),b(G,{key:0,rows:2})):l.value.length?(a(),i(u,{key:2},[s("div",X,[_($,{name:d.value==="left"?"slide-left":"slide-right",mode:"out-in"},{default:N(()=>[(a(),i("div",{key:e.value,class:"live-slider__match"},[s("div",K,[s("div",R,[_(w,{src:l.value[e.value].HomeImage,alt:l.value[e.value].homeTeam,class:"live-slider__logo"},null,8,["src","alt"]),s("span",U,n(l.value[e.value].homeTeam),1)]),s("div",Z,[s("span",null,n(l.value[e.value].HomeScore),1),t[0]||(t[0]=s("span",{class:"live-slider__score-divider"},"-",-1)),s("span",null,n(l.value[e.value].GuestScore),1)]),s("div",q,[_(w,{src:l.value[e.value].GuestImage,alt:l.value[e.value].guestTeam,class:"live-slider__logo"},null,8,["src","alt"]),s("span",z,n(l.value[e.value].guestTeam),1)])])]))]),_:1},8,["name"])]),s("div",Q,[(a(!0),i(u,null,g(l.value,(c,o)=>(a(),i(u,{key:c.ScheduleID},[v[o]?(a(),i("div",{key:0,class:p(["live-slider__iframe-wrap",{active:o===e.value}])},[s("iframe",{src:x(c),frameborder:"0",allowfullscreen:"",class:"live-slider__iframe"},null,8,j)],2)):A("",!0)],64))),128))]),s("div",J,[(a(),i("svg",{class:"live-slider__nav-btn",onClick:I,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...t[1]||(t[1]=[s("g",{id:"Frame"},[s("path",{id:"Vector",d:"M10.8283 12.0007L15.7781 7.05093L14.3639 5.63672L7.9999 12.0007L14.3639 18.3646L15.7781 16.9504L10.8283 12.0007Z",fill:"currentColor"})],-1)])])),l.value.length<=le?(a(),i("div",W,[(a(!0),i(u,null,g(l.value,(c,o)=>(a(),i("button",{key:o,class:p(["live-slider__dot",{active:o===e.value}]),onClick:te=>B(o)},null,10,Y))),128))])):(a(),i("span",ee,n(e.value+1)+" / "+n(l.value.length),1)),(a(),i("svg",{class:"live-slider__nav-btn",onClick:T,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...t[2]||(t[2]=[s("g",{id:"Frame"},[s("path",{id:"Vector",d:"M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z",fill:"currentColor"})],-1)])]))])],64)):(a(),i("div",O," Không có tráºn Äấu trá»±c tiếp "))]))}}),oe=P(ae,[["__scopeId","data-v-6d4ddf90"]]);export{oe 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.