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