import{V,x as F,Q as j,F as Q,W as I,m as o,$,p as n,Z as t,N as e,ap as d,ad as c,X as L,Y as w,U as Z,aq as G,ar as K,o as a,ao as W,K as S,aj as X}from"./common.modules-adc6b33e.js";import{cc as P,aC as Y,c as i,_ as O,cd as J}from"./page-activity-ActivityDetail-b9249b49.js";import{L as x}from"./page-activity-DailySignIn-37493f03.js";window.getBuildInfo=function(){return{buildTime:"4/17/2025, 12:09:57 PM",branch:" commitId:8bf9f27a915f5dcd9b9436e446b585b05218b863"}};const nn=h=>(G("data-v-28c19aaa"),h=h(),K(),h),tn={class:"partner"},en={class:"partner-banner"},sn={class:"partner-main"},on={class:"partner-item"},an={class:"number"},ln={class:"partner-item"},rn={class:"count"},dn={class:"partner-item"},un={class:"money"},cn={class:"partner-entry"},pn=nn(()=>n("svg",{fill:"none",height:"36",viewBox:"0 0 37 36",width:"37",xmlns:"http://www.w3.org/2000/svg"},[n("path",{"clip-rule":"evenodd",d:"M11.3008 26.5V24.3644L19.0121 17.5665L11.3008 10.6356V8.5L20.1579 16.4653L21.3008 17.5665L20.1579 18.6677L11.3008 26.5Z",fill:"#666666","fill-rule":"evenodd"}),n("path",{"clip-rule":"evenodd",d:"M17.5 26.5V24.3644L25.2113 17.5665L17.5 10.6356V8.5L26.3571 16.4653L27.5 17.5665L26.3571 18.6677L17.5 26.5Z",fill:"#666666","fill-rule":"evenodd"})],-1)),_n={class:"partner-title"},vn={class:"partner-code"},hn={class:"partner-rule"},mn={class:"partner-rule-title"},yn=["innerHTML"],$n={key:1,class:"tip"},fn={class:"partner-rule-table"},gn={class:"head"},kn={class:"bouns"},An={key:0,class:"item"},bn={class:"left"},Ln={class:"right"},wn={key:0},Tn={key:1},Cn={key:2},In={key:1,class:"item"},Nn={class:"left"},Bn={class:"right"},Mn={key:0},Rn={key:1},Sn={key:2},Vn={key:2,class:"item"},jn={class:"left"},Pn={class:"right"},On={key:0},qn={key:1},zn={key:2},Hn={class:"redTip"},Un={class:"partner-rule-text"},Dn=["innerHTML"],En=V({__name:"index",setup(h){const{getInfo:m,goInvitation:p,amount:T,totalAmount:y,invitationCode:_,invitationLink:v,effectiveQuantity:C,numberOfInvitations:r,days:N,firstItem:f,secondItem:g,thirdItem:k,allItem:A}=P(),{copy:q}=F({legacy:!0}),{t:z,locale:H}=j();function U(){Y.go(-1)}const D=async s=>{await q(s),Z(z("copySuccess"))};return Q(()=>m()),(s,b)=>{var M,R;const E=I("NavBar"),B=I("svg-icon");return a(),o("div",tn,[$(E,{title:s.$t("TeamPartner"),"left-arrow":"",onClickLeft:U},null,8,["title"]),n("div",en,[n("h2",null,t(s.$t("invitationFrind")),1),n("p",null,t(e(i)(e(T))),1)]),n("div",sn,[n("div",on,[n("span",null,t(s.$t("invitationCount")),1),n("span",an,t(e(r)),1)]),n("div",ln,[n("span",null,t(s.$t("invitationEffective")),1),n("span",rn,t(e(C)),1)]),n("div",dn,[n("span",null,t(s.$t("invitationTotalBonus")),1),n("span",un,t(e(i)(e(y))),1)]),n("div",cn,[n("div",{onClick:b[0]||(b[0]=(...l)=>e(p)&&e(p)(...l))},[d(t(s.$t("inviteRecord"))+" ",1),pn])]),n("div",_n,t(s.$t("invitationLink")),1),n("div",vn,[n("span",null,t(e(v)),1),n("span",{onClick:b[1]||(b[1]=l=>D(e(v)))},[$(B,{name:"copy"})])]),c(` <div class="partner-title">
			  {{$t('invitationCode')}}
		  </div>
		  <div class="partner-code">
			  <span>{{invitationCode}}</span>
			  <span @click="onCopy(invitationCode)">
				<svg-icon name="copy" />
			  </span>
		  </div> `),n("div",hn,[n("div",mn,[$(B,{name:"shuoming",class:"img"}),n("span",null,t(s.$t("invitationRules")),1)]),e(H)=="zh"?(a(),o("div",{key:0,class:"tip",innerHTML:s.$t("partnerTip",[e(N)])},null,8,yn)):(a(),o("div",$n,[d(t(s.$t("partnerTip"))+" ",1),n("span",null,t(e(N)),1),d(" "+t(s.$t("days")),1)])),n("div",fn,[n("div",gn,[n("div",null,t(s.$t("partner1")),1),n("div",kn,t(s.$t("partner2")),1)]),e(f).length?(a(),o("div",An,[n("div",bn,t(s.$t("deposit1")),1),n("div",Ln,[(a(!0),o(L,null,w(e(f),(l,u)=>(a(),o("div",{key:u,class:"line"},[n("div",null,[u+1<e(f).length?(a(),o("span",wn,[n("span",null,t(e(i)(l.rechargeAmount,"",0)),1),d(" ≤ "+t(s.$t("paymentAmount"))+"<",1),n("span",null,t(e(i)(e(f)[u+1].rechargeAmount,"",0)),1)])):(a(),o("span",Tn,[d(t(s.$t("paymentAmount"))+" ≥ ",1),n("span",null,t(e(i)(l.rechargeAmount,"",0)),1)])),Number(l.betAmount)>=0?(a(),o("span",Cn,[d(t(s.$t("partner3"))+" ≥ ",1),n("span",null,t(e(i)(l.betAmount,"",0)),1)])):c("v-if",!0)]),n("div",null,t(e(i)(l.rewardAmount,"",0)),1)]))),128))])])):c("v-if",!0),e(g).length?(a(),o("div",In,[n("div",Nn,t(s.$t("deposit2")),1),n("div",Bn,[(a(!0),o(L,null,w(e(g),(l,u)=>(a(),o("div",{key:u,class:"line"},[n("div",null,[u+1<e(g).length?(a(),o("span",Mn,[n("span",null,t(e(i)(l.rechargeAmount,"",0)),1),d(" ≤ "+t(s.$t("paymentAmount"))+"<",1),n("span",null,t(e(i)(e(g)[u+1].rechargeAmount,"",0)),1)])):(a(),o("span",Rn,[d(t(s.$t("paymentAmount"))+" ≥ ",1),n("span",null,t(e(i)(l.rechargeAmount,"",0)),1)])),Number(l.betAmount)>=0?(a(),o("span",Sn,[d(t(s.$t("partner3"))+" ≥ ",1),n("span",null,t(e(i)(l.betAmount,"",0)),1)])):c("v-if",!0)]),n("div",null,t(e(i)(l.rewardAmount,"",0)),1)]))),128))])])):c("v-if",!0),e(k).length?(a(),o("div",Vn,[n("div",jn,t(s.$t("deposit3")),1),n("div",Pn,[(a(!0),o(L,null,w(e(k),(l,u)=>(a(),o("div",{key:u,class:"line"},[n("div",null,[u+1<e(k).length?(a(),o("span",On,[n("span",null,t(e(i)(l.rechargeAmount,"",0)),1),d(" ≤ "+t(s.$t("paymentAmount"))+"<",1),n("span",null,t(e(i)(e(k)[u+1].rechargeAmount,"",0)),1)])):(a(),o("span",qn,[d(t(s.$t("paymentAmount"))+" ≥ ",1),n("span",null,t(e(i)(l.rechargeAmount,"",0)),1)])),Number(l.betAmount)>=0?(a(),o("span",zn,[d(t(s.$t("partner3"))+" ≥ ",1),n("span",null,t(e(i)(l.betAmount,"",0)),1)])):c("v-if",!0)]),n("div",null,t(e(i)(l.rewardAmount,"",0)),1)]))),128))])])):c("v-if",!0)]),n("div",Hn,t(s.$t("partnerTip1")),1),n("div",Un,[n("p",{innerHTML:s.$t("partnerRule",[e(i)(e(A)?((M=e(A)[0])==null?void 0:M.rechargeAmount)-1:0),e(i)(e(A)?(R=e(A)[0])==null?void 0:R.betAmount:0)])},null,8,Dn),n("p",null,t(s.$t("partnerRule2")),1),n("p",null,t(s.$t("partnerRule3")),1)])])])])}}});const Fn=O(En,[["__scopeId","data-v-28c19aaa"],["__file","/usr/local/jenkins-prod/workspace/ar079-india-tashanwin/src/views/promotion/TeamPartner/index.vue"]]),dt=Object.freeze(Object.defineProperty({__proto__:null,default:Fn},Symbol.toStringTag,{value:"Module"})),Qn={class:"invitation"},Zn={class:"invitation-item"},Gn={class:"name"},Kn={class:"uid"},Wn={key:0},Xn={class:"money"},Yn={key:1},Jn={class:"money"},xn={key:2},nt={class:"money"},tt={key:3},et={class:"money turnover"},st={key:4},ot=V({__name:"index",setup(h){const{query:m,partnerList:p,goBack:T}=P(),{t:y}=j();return(_,v)=>{const C=I("NavBar");return a(),o("div",Qn,[$(C,{title:_.$t("inviteRecord"),"left-arrow":"",onClickLeft:e(T)},null,8,["title","onClickLeft"]),$(x,{distance:60,api:e(J),list:e(p),"onUpdate:list":v[0]||(v[0]=r=>S(p)?p.value=r:null),"page-query":e(m),"onUpdate:pageQuery":v[1]||(v[1]=r=>S(m)?m.value=r:null),isAutoLoad:!0},{content:W(()=>[n("ul",null,[(a(!0),o(L,null,w(e(p),r=>(a(),o("li",Zn,[n("p",null,[n("span",Gn,t(r.nickName),1),d(),n("span",Kn,"UID:"+t(r.userId),1)]),n("p",null,[n("span",null,t(_.$t("registerTime")),1),d(),n("span",null,t(r.registerTime),1)]),r.firstAmount>-1?(a(),o("p",Wn,[n("span",null,t(_.$t("deposit1a")),1),d(),n("span",Xn,t(e(i)(r.firstAmount)),1)])):c("v-if",!0),r.secondAmount>-1?(a(),o("p",Yn,[n("span",null,t(_.$t("deposit2a")),1),d(),n("span",Jn,t(e(i)(r.secondAmount)),1)])):c("v-if",!0),r.thirdAmount>-1?(a(),o("p",xn,[n("span",null,t(_.$t("deposit3a")),1),d(),n("span",nt,t(e(i)(r.thirdAmount)),1)])):c("v-if",!0),r.status<2?(a(),o("p",tt,[n("span",null,t(_.$t("turnover")),1),n("span",et,t(e(i)(r.turnover)),1)])):(a(),o("p",st,[n("span",null,t(e(y)("statusMay")),1),d(),n("span",{class:X(["status",{isRecharge:r.status==2}])},t(r.status==3?e(y)("rewardExpired"):e(y)("bounsReceived")),3)]))]))),256))])]),_:1},8,["api","list","page-query"])])}}});const at=O(ot,[["__scopeId","data-v-09881eb5"],["__file","/usr/local/jenkins-prod/workspace/ar079-india-tashanwin/src/views/promotion/TeamPartner/Invitation/index.vue"]]),ut=Object.freeze(Object.defineProperty({__proto__:null,default:at},Symbol.toStringTag,{value:"Module"}));export{ut as a,dt as i};
//# sourceMappingURL=page-promotion-TeamPartner-f59689c9.js.map
