import{V as $,Q as F,a0 as P,P as j,r as p,W as x,m as a,$ as I,ao as y,N as b,an as q,ad as d,X as k,Y as g,o as s,p as t,aj as D,Z as c,ap as w}from"./common.modules-adc6b33e.js";import{N as E}from"./page-home-AllGames-46186fc1.js";import{a4 as J,A as L,ee as W,ef as z,g as S,_ as M}from"./page-activity-ActivityDetail-b9249b49.js";import"./native/index-0b5e3b14.js";import"./en-8e350547.js";window.getBuildInfo=function(){return{buildTime:"4/17/2025, 12:09:57 PM",branch:" commitId:8bf9f27a915f5dcd9b9436e446b585b05218b863"}};const Q={class:"Xoso"},U={style:{"background-color":"#f7f8ff"}},Y={key:1,class:"Xoso-page"},Z={class:"title"},H={class:"list"},K=["onClick"],ee={key:0},se=["src"],te={key:1,class:"info"},ae={class:"issue"},oe=["src"],ie={class:"time"},ne=$({__name:"index",setup(X){const{t:h}=F(),v=P();let u=v.currentRoute.value.query.id;const G=j(()=>u=="5"?"XOSO":u=="6"?h("fXosoTitle"):"XOSO"),{setLoading:N}=J(),T=()=>{v.go(-1)},A=(e,r,_,f)=>{r.day=_,r.id=u,r.areId=f,v.push({name:e,query:r})},B=p(null),n=p(0),O=e=>{sessionStorage.setItem("xosoList",JSON.stringify(l.value[e.index]))},l=p([]);return(async()=>{N(!0);let e;u=="5"?e=await L(W()):u=="6"&&(e=await L(z())),e&&(l.value=e.data,sessionStorage.setItem("xosoList",JSON.stringify(e.data[0]))),N(!1)})(),(e,r)=>{const _=x("NavBar"),f=x("van-sticky");return s(),a("div",Q,[I(_,{class:"main","left-arrow":"",onClickLeft:T,"background-color":"linear-gradient(90deg, #F95959 0%, #FF9A8E 100%)",title:G.value},{default:y(()=>[d(` <template #right>
				<div class="WinGo__C-head-more">
					<div @click="goPath('AllLotteryGames-XoSoRecord')">投注记录</div>
				</div>
			</template> `)]),_:1},8,["title"]),b(u)=="5"?(s(),q(f,{key:0,"offset-top":46,container:B.value,class:"bet-container-sticky"},{default:y(()=>[t("div",U,[I(E,{list:l.value,active:n.value,"onUpdate:active":r[0]||(r[0]=i=>n.value=i),tabClassName:"tabs",onOnClickTab:O,activeClassName:"tab_active",ref:"tabRefs",tabItemClassName:"funtab_item"},{default:y(({item:i,index:m})=>[t("div",{class:D(["tab_item",{tab_active:m===n.value}])},[t("span",null,c(e.$t(i.week)),1),t("p",null,c(i.day),1)],2)]),_:1},8,["list","active"])])]),_:1},8,["container"])):d("v-if",!0),l.value[n.value]?(s(),a("div",Y,[(s(!0),a(k,null,g(l.value[n.value].areInfos,(i,m)=>(s(),a("div",{class:"Xoso-page-box",key:m},[t("div",Z,c(e.$t("code"+i.areNameCode)),1),t("div",H,[(s(!0),a(k,null,g(i.areIssueNos,(o,R)=>(s(),a("div",{class:"item",key:R,onClick:C=>A("AllLotteryGames-NewVietnam",o,l.value[n.value].day,i.areId)},[o.status==1||o.status==2||o.status==3?(s(),a("h4",ee,[w(c(e.$t("code"+o.nameCode))+" ",1),t("img",{class:"img",src:b(S)("public","xosoCity"),alt:""},null,8,se)])):d("v-if",!0),o.status==1||o.status==2||o.status==3?(s(),a("div",te,[t("div",ae,[t("img",{class:"img",src:b(S)("public","ticketstar"),alt:""},null,8,oe),w(c(o.issueNo),1)]),t("p",null,c(e.$t("xosoTxt72")),1),t("div",ie,[(s(!0),a(k,null,g(l.value[n.value].day.split("-"),(C,V)=>(s(),a("div",{key:V},c(C),1))),128))])])):d("v-if",!0)],8,K))),128))])]))),128))])):d("v-if",!0)])}}});const _e=M(ne,[["__scopeId","data-v-d965c53a"],["__file","/usr/local/jenkins-prod/workspace/ar079-india-tashanwin/src/views/home/AllLotteryGames/XoSo/index.vue"]]);export{_e as default};
//# sourceMappingURL=index-ff354dd9.js.map
