import{V as G,Q as R,r as b,W as g,m as o,X as y,Y as M,o as i,p as a,aj as l,Z as s,ad as v,N as r,aL as T,ap as d,$ as N}from"./common.modules-adc6b33e.js";import{c as _,I as w,_ as A}from"./page-activity-ActivityDetail-b9249b49.js";window.getBuildInfo=function(){return{buildTime:"4/17/2025, 12:09:57 PM",branch:" commitId:8bf9f27a915f5dcd9b9436e446b585b05218b863"}};const B={class:"MyGameRecordList__C"},E=["onClick"],I={class:"MyGameRecordList__C-item-m"},O={class:"MyGameRecordList__C-item-m-top"},V={class:"MyGameRecordList__C-item-m-bottom"},D={key:0,class:"MyGameRecordList__C-detail"},H={class:"MyGameRecordList__C-detail-text"},S={key:0,class:"MyGameRecordList__C-detail-line"},j=["onClick"],F={class:"MyGameRecordList__C-detail-line"},q={class:"MyGameRecordList__C-detail-line"},z={class:"MyGameRecordList__C-detail-line"},P={class:"MyGameRecordList__C-detail-line"},Q={class:"red"},W={class:"MyGameRecordList__C-detail-line"},X={class:"MyGameRecordList__C-detail-line"},Y={key:0,class:"numList"},Z={key:1},J={class:"MyGameRecordList__C-detail-line"},K={class:"line1"},U={class:"MyGameRecordList__C-detail-line"},x={key:1},ee={class:"MyGameRecordList__C-detail-line"},se={key:1},te={class:"MyGameRecordList__C-detail-line"},ae=G({__name:"MayrecordList",props:{mayrecord:{type:Array,required:!0}},setup(h){const{t:n}=R(),u=b(-1),L=t=>["","A","B","C","D","E"][t],f=t=>{switch(t){case"L":return n("k3Small");case"O":return n("k3Odd");case"E":return n("k3Even");case"H":return n("k3Big");default:return t}},C=t=>{u.value==t?u.value=-1:u.value=t},k=t=>{switch(t){case"E":return"Even";case"O":return"Odd";case"H":return"Big";case"L":return"Small";default:return t}};return(t,oe)=>{const $=g("svg-icon");return i(),o("div",B,[(i(!0),o(y,null,M(t.mayrecord,(e,m)=>(i(),o(y,{key:m},[a("div",{class:"MyGameRecordList__C-item",onClick:T(c=>C(m),["stop","prevent"])},[a("div",{class:l(["MyGameRecordList__C-item-l",["MyGameRecordList__C-item-l-"+e.selectType]])},s(k(e.selectType)),3),a("div",I,[a("div",O,s(e.issueNumber),1),a("div",V,s(e.addTime),1)]),e.profitAmount?(i(),o("div",{key:0,class:l(["MyGameRecordList__C-item-r",{success:e.state}])},[e.profitAmount?(i(),o("div",{key:0,class:l({success:e.state})},s(e.state?t.$t("success"):t.$t("fail")),3)):v("v-if",!0),a("span",null,s(`${e.state?"+":"-"}${r(_)(e.profitAmount)}`),1)],2)):v("v-if",!0)],8,E),m==u.value?(i(),o("div",D,[a("div",H,s(t.$t("detailMay")),1),e.orderNumber?(i(),o("div",S,[d(s(t.$t("orderNoMay"))+" ",1),a("div",{onClick:c=>r(w)(e.orderNumber)},[d(s(e.orderNumber)+" ",1),N($,{name:"copy"})],8,j)])):v("v-if",!0),a("div",F,[d(s(t.$t("issueMay"))+" ",1),a("div",null,s(e.issueNumber),1)]),a("div",q,[d(s(t.$t("amountMay"))+" ",1),a("div",null,s(r(_)(e.amount)),1)]),a("div",z,[d(s(t.$t("numMay"))+" ",1),a("div",null,s(e.betCount),1)]),a("div",P,[d(s(t.$t("afterTaxAmount"))+" ",1),a("div",Q,s(r(_)(e.realAmount)),1)]),a("div",W,[d(s(t.$t("tax"))+" ",1),a("div",null,s(r(_)(e.fee)),1)]),a("div",X,[d(s(t.$t("resultMay"))+" ",1),e.premium?(i(),o("div",Y,[(i(!0),o(y,null,M(e.premium,(c,p)=>(i(),o("div",{key:p},s(c),1))),128))])):(i(),o("div",Z,"--"))]),a("div",J,[d(s(t.$t("selectMay"))+" ",1),a("div",K,[a("div",null,s(L(e.gameType)),1),(i(!0),o(y,null,M(e.selectType.split("|"),(c,p)=>(i(),o("div",{class:"num",key:p},s(f(c)),1))),128))])]),a("div",U,[d(s(t.$t("statusMay"))+" ",1),e.state!=2?(i(),o("div",{key:0,class:l([e.state?"green":"red"])},s(e.state?t.$t("success"):t.$t("fail")),3)):(i(),o("div",x,s(t.$t("unsettled")),1))]),a("div",ee,[d(s(t.$t("winOrLose"))+" ",1),e.state!=2?(i(),o("div",{key:0,class:l([e.state?"green":"red"])},s(`${e.state?"+":"-"} ${r(_)(e.profitAmount)}`),3)):(i(),o("div",se,"--"))]),a("div",te,[d(s(t.$t("createTime"))+" ",1),a("div",null,s(e.addTime),1)])])):v("v-if",!0)],64))),128))])}}});const re=A(ae,[["__scopeId","data-v-8bb41fd5"],["__file","/usr/local/jenkins-prod/workspace/ar079-india-tashanwin/src/components/Home/AllLotteryGames/FD/MayrecordList.vue"]]);export{re as M};
//# sourceMappingURL=MayrecordList-4d944c8f.js.map
