System.register(["./index-legacy-9fc2ee5c.js","./vendor-legacy-aeda4e3d.js"],function(t,e){"use strict";var a,n,i,c,l,o,s,r,d,u,p,f,m,v,y,g,h,_,w,C;return{setters:[t=>{a=t._,n=t.q,i=t.f,c=t.e,l=t.b,o=t.a,s=t.aH,r=t.w},t=>{d=t.d,u=t.l,p=t.o,f=t.a,m=t.g,v=t.t,y=t.u,g=t.F,h=t.i,_=t.f,w=t.an,C=t.c}],execute:function(){var e=document.createElement("style");e.textContent="*[data-v-e77286cc]{font-size:.373333rem;color:var(--ex-default-font-color)}.content[data-v-e77286cc]{padding:.8rem .4rem 0}.content p[data-v-e77286cc]{font-size:.426667rem;margin-bottom:.533333rem;text-align:left}.content .list .listCoin[data-v-e77286cc]{margin-bottom:.8rem;display:flex;justify-content:space-between;align-items:center}.content .list .listCoin .left[data-v-e77286cc],.content .list .listCoin .right[data-v-e77286cc]{display:flex;align-items:center}.content .list .listCoin .left .coin[data-v-e77286cc],.content .list .listCoin .right .coin[data-v-e77286cc]{font-size:.533333rem;margin-right:.4rem}.content .list .listCoin .left .jiantou[data-v-e77286cc],.content .list .listCoin .right .jiantou[data-v-e77286cc]{font-size:.266667rem}\n",document.head.appendChild(e);const x={class:"content"},$={class:"list"},j=["onClick"],N={class:"left"},b={class:"right"},k=a({__name:"withdraw-list",props:{data:{type:Array,default:[]}},setup(t){const{_toast:e}=n(),a=d(),o=u(!0);return(n,s)=>{const r=l;return p(),f("div",x,[m("p",null,v(y(i)("coinList")),1),m("div",$,[(p(!0),f(g,null,h(t.data,(t,n)=>(p(),f("div",{class:"listCoin",key:n,onClick:n=>(t=>{const n=c(),{userInfo:i}=w(n);if(1!==i.value?.user?.isTest)if(1==t.type){if(["paxpay"].includes(__config._APP_ENV),o.value=!0,o.value){let e="";e=t.fee&&t.fee>0?`type=${t.card||t.title}&icon=${t.icon}&ratio=${t.ratio}&fee=${t.fee}`:`type=${t.card||t.title}&icon=${t.icon}&ratio=${t.ratio}`,setTimeout(()=>{a.push(`/withdraw-apply?${e}`)},200)}}else 2==t.type&&(["paxpay"].includes(__config._APP_ENV),o.value=!0,o.value&&a.push(`/withdraw-apply?type=银行卡&icon=${t.icon}`));else e("mock_account_not_allowed")})(t)},[m("div",N,[_(r,{name:t.icon,class:"coin"},null,8,["name"]),m("span",null,v(t.title),1)]),m("div",b,[_(r,{name:"jiantou",class:"jiantou"})])],8,j))),128))])])}}},[["__scopeId","data-v-e77286cc"]]);t("default",{__name:"index",setup(t){const e=o(),a=c();w(a);const n=C(()=>{let t=[];return e.getWithdrawList.forEach((e,a)=>{if("1"==e.status){let a={type:1};a.ratio=e.ratio||"",a.fee=e.fee,0==e.type?(a.icon=e.rechargeType,a.title=e.rechargeName):(a.icon="card",a.title=i("withdraw_card"),a.card=s(e.rechargeType).toLocaleUpperCase()),t.push(a)}}),t});return(t,e)=>{const a=r;return p(),f(g,null,[_(a,{currentName:y(i)("withdraw",["latcoin"])},null,8,["currentName"]),_(k,{data:y(n)},null,8,["data"])],64)}}})}}});
