import{U as G,P as R,r as $,V as g,m as o,W as y,X as k,o as n,p as e,ag as i,Y as a,ac as c,M as l,aJ as N,an as T,Z as w}from"./common.modules-219f1756.js";import{c as d,J as A,_ as B}from"./page-activity-ActivityDetail-346b11b6.js";window.getBuildInfo=function(){return{buildTime:"3/15/2025, 9:01:28 PM",branch:" commitId:c8ca98fce6fc864cab311715d288030620d0dc9f"}};const I={class:"MyGameRecordList__C"},V=["onClick"],j={class:"MyGameRecordList__C-item-m"},D={class:"MyGameRecordList__C-item-m-top"},E={class:"MyGameRecordList__C-item-m-bottom"},J={key:0,class:"MyGameRecordList__C-detail"},P={class:"MyGameRecordList__C-detail-text"},W={key:0,class:"MyGameRecordList__C-detail-line"},q=["onClick"],z={class:"MyGameRecordList__C-detail-line"},F={class:"MyGameRecordList__C-detail-line"},H={class:"MyGameRecordList__C-detail-line"},O={class:"MyGameRecordList__C-detail-line"},S={class:"red"},U={class:"MyGameRecordList__C-detail-line"},X={class:"MyGameRecordList__C-detail-line"},Y={key:0},Z={class:"MyGameRecordList__C-inlineB"},K={key:0,class:"MyGameRecordList__C-inlineB purpleColor"},Q={key:1},x={class:"MyGameRecordList__C-detail-line"},ee={class:"MyGameRecordList__C-detail-line"},se={key:1},te={class:"MyGameRecordList__C-detail-line"},ae={key:1},oe={class:"MyGameRecordList__C-detail-line"},ne=G({__name:"MayrecordList",props:{mayrecord:{type:Array,required:!0}},setup(v){const{t:r}=R(),_=$(-1),p=t=>{switch(t){case"big":return"big";case"green":case"red":case"violet":return"";default:return t}},C=t=>{switch(t%2){case 1:return r("greenColor");default:return r("redColor")}},M=t=>{switch(t%2){case 1:return"greenColor";default:return"redColor"}},h=t=>{switch(t){case"small":return r("small");case"big":return r("big");case"green":return r("green");case"violet":return r("purpleColor");case"red":return r("redColor");default:return t}},f=t=>{_.value==t?_.value=-1:_.value=t};return(t,m)=>{const b=g("svg-icon");return n(),o("div",I,[(n(!0),o(y,null,k(t.mayrecord,(s,u)=>(n(),o(y,{key:u},[e("div",{class:"MyGameRecordList__C-item",onClick:N(L=>f(u),["stop","prevent"])},[e("div",{class:i(["MyGameRecordList__C-item-l",["MyGameRecordList__C-item-l-"+s.selectType]])},a(p(s.selectType)),3),e("div",j,[e("div",D,a(s.issueNumber),1),e("div",E,a(s.addTime),1)]),s.profitAmount?(n(),o("div",{key:0,class:i(["MyGameRecordList__C-item-r",{success:s.state}])},[s.profitAmount?(n(),o("div",{key:0,class:i({success:s.state})},a(s.state?t.$t("success"):t.$t("fail")),3)):c("v-if",!0),e("span",null,a(`${s.state?"+":"-"}${l(d)(s.profitAmount)}`),1)],2)):c("v-if",!0)],8,V),u==_.value?(n(),o("div",J,[e("div",P,a(t.$t("detailMay")),1),s.orderNumber?(n(),o("div",W,[e("span",null,a(t.$t("orderNoMay")),1),e("div",{onClick:L=>l(A)(s.orderNumber)},[T(a(s.orderNumber)+" ",1),w(b,{name:"copy"})],8,q)])):c("v-if",!0),e("div",z,[e("span",null,a(t.$t("issueMay")),1),e("div",null,a(s.issueNumber),1)]),e("div",F,[e("span",null,a(t.$t("amountMay")),1),e("div",null,a(l(d)(s.amount)),1)]),e("div",H,[e("span",null,a(t.$t("numMay")),1),e("div",null,a(s.betCount),1)]),e("div",O,[e("span",null,a(t.$t("afterTaxAmount")),1),e("div",S,a(l(d)(s.realAmount)),1)]),e("div",U,[e("span",null,a(t.$t("tax")),1),e("div",null,a(l(d)(s.fee)),1)]),e("div",X,[e("span",null,a(t.$t("resultMay")),1),s.number?(n(),o("div",Y,[e("div",Z,a(s.number),1),e("div",{class:i(["MyGameRecordList__C-inlineB",[M(Number(s.number))]])},a(C(Number(s.number))),3),s.number==0||s.number==5?(n(),o("div",K,a(t.$t("purpleColor")),1)):c("v-if",!0),e("div",{class:i(["MyGameRecordList__C-inlineB",[Number(s.number)>4?"big":"small"]])},a(Number(s.number)>4?t.$t("big"):t.$t("small")),3)])):(n(),o("div",Q,"--"))]),e("div",x,[e("span",null,a(t.$t("selectMay")),1),e("div",null,a(h(s.selectType)),1)]),e("div",ee,[e("span",null,a(t.$t("statusMay")),1),s.state!=2?(n(),o("div",{key:0,class:i([s.state?"green":"red"])},a(s.state?t.$t("success"):t.$t("fail")),3)):(n(),o("div",se,a(t.$t("k3RecordDesc9")),1))]),e("div",te,[e("span",null,a(t.$t("winOrLose")),1),s.state!=2?(n(),o("div",{key:0,class:i([s.state?"green":"red"])},a(`${s.state?"+":"-"} ${l(d)(s.profitAmount)}`),3)):(n(),o("div",ae,"--"))]),e("div",oe,[e("span",null,a(t.$t("createTime")),1),e("div",null,a(s.addTime),1)])])):c("v-if",!0)],64))),128))])}}});const le=B(ne,[["__scopeId","data-v-2faec5cb"],["__file","/usr/local/jenkins-prod/workspace/ar077-india-jalwa/src/components/Home/AllLotteryGames/WinGo/MayrecordList.vue"]]);export{le as M};
//# sourceMappingURL=MayrecordList-84464425.js.map
