import{L as U,_ as xe,j as d,c,b as e,D as n,q as f,t as a,v as se,a1 as Ee,an as Ie,P as Ne,r as l,o as He,a as Qe,l as y,ac as Ue,F as j,x as T,m,Y as _,X as be,S as I,au as Ke,a_ as ee,n as Q,G as Pe,y as te}from"./index-CIAVq8iD-1776148658686.js";import{_ as ne}from"./coin-Dqu2_ND9-1776148658686.js";import{c as Ge}from"./appConnector-B5Pbaops-1776148658686.js";import{g as oe}from"./imagePaths-Bi1Bwe4Z-1776148658686.js";import{p as We}from"./imagePreloader-C_QM-Nv8-1776148658686.js";import{h as $,a as Oe}from"./imageHandler-DstQGL3Z-1776148658686.js";import{B as ke}from"./BackgroundLayer-DJYogygx-1776148658686.js";import{i as C}from"./itemCenter-DveKthYv-1776148658686.js";import{m as Ve}from"./MaskLayer-CMaJd7Gb-1776148658686.js";const Xe=async g=>{try{return await U(`/activity/king-queen/ranking?type=${g.type}&kingQueenType=${g.kingQueenType}&current=${g.current}&size=${g.size}`)}catch(u){throw console.error("Failed to get week top list:",u),console.error("error:"+u.response.errorMsg),u}},Ye=async g=>{try{return await U(`/activity/king-queen/user-contribute?userId=${g}`)}catch(u){throw console.error("Failed to get week my contribution:",u),console.error("error:"+u.response.errorMsg),u}},Je=async g=>{try{return await U(`/activity/king-queen/effective?templateId=${g}`)}catch(u){throw console.error("Failed to get this week rewards and gifts:",u),console.error("error:"+u.response.errorMsg),u}},Ze=async()=>{try{return await U("/activity/king-queen/history")}catch(g){throw console.error("Failed to get history top one:",g),console.error("error:"+g.response.errorMsg),g}},et={style:{width:"100%"}},tt={style:{position:"relative","margin-bottom":"-2px"}},it=["src"],st={style:{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",display:"flex","flex-direction":"column","align-items":"center","justify-content":"center"}},ot={style:{color:"#fff","font-size":"1.3em","font-weight":"860","margin-bottom":"1%"}},nt={key:0},lt=["src"],rt={__name:"borderImg",props:{title:{type:String,required:!0},showBorder:{type:Boolean,default:!1}},setup(g){const u=oe("Ranking/KingQueen/","border-top"),K=oe("Ranking/KingQueen/","border-bottom");return(A,i)=>{const B=Ie("smart-img");return d(),c("div",et,[e("div",tt,[n(e("img",{src:f(u),alt:"",style:{"min-height":"25.15vw",width:"100%",display:"block"}},null,8,it),[[B]]),e("div",st,[e("div",ot,a(g.title),1)])]),g.showBorder?(d(),c("div",nt)):se("",!0),Ee(A.$slots,"default",{},void 0,!0),n(e("img",{src:f(K),alt:"",style:{"min-height":"18.59vw",width:"100%",display:"block"}},null,8,lt),[[B]])])}}},ie=xe(rt,[["__scopeId","data-v-d7f39f9d"]]),at={class:"fullPage"},dt={key:0,class:"loading-container"},ct={style:{color:"#fff"}},ut={key:1,style:{width:"100vw","min-height":"100vh",overflow:"hidden",position:"relative"}},gt={class:"bg"},ht=["src"],vt=["src"],yt={style:{display:"flex","flex-direction":"column","align-items":"center",gap:"16px"}},ft=["src"],pt={style:{"min-height":"40vw",width:"100%",display:"flex","justify-content":"space-around"}},mt=["onClick"],wt={style:{"min-height":"40vw",position:"relative",width:"100%",display:"flex","justify-content":"center","align-items":"center"}},_t=["src"],bt={style:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0",display:"flex","justify-content":"center","align-items":"center","z-index":"0"}},kt=["src","onClick"],xt={style:{color:"#fff","font-size":"0.8em","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},It={style:{"min-height":"9vw",display:"flex","justify-content":"center","margin-top":"20px"}},Lt={class:"time"},jt={class:"time"},Tt={style:{"min-height":"17.46vw",display:"flex","justify-content":"flex-end","margin-top":"-8%"}},$t=["src"],Ct={style:{display:"flex","justify-content":"center",width:"108vw",position:"relative",left:"-4vw"}},Bt={style:{width:"80%",display:"flex","justify-content":"space-around","margin-top":"10%"}},zt=["src"],qt={style:{display:"flex","justify-content":"center","align-items":"center",gap:"2px"}},Rt={src:ne,alt:"",style:{display:"block",width:"1.3em","aspect-ratio":"1/1"}},At={style:{color:"rgba(255, 255, 255, 1)","font-weight":"590"}},St={style:{width:"100vw"}},Dt={style:{"min-height":"21.46vw",width:"100%"}},Mt={style:{width:"100%",display:"flex","justify-content":"space-around"}},Ft=["src"],Et=["src"],Nt={style:{width:"100%",display:"flex","justify-content":"space-around"}},Ht=["src"],Qt=["src"],Ut={style:{width:"108vw",position:"relative",left:"-4vw"}},Kt={style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","justify-content":"space-around","align-items":"center",gap:"8px"}},Pt={style:{width:"auto","min-width":"0","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},Gt={style:{color:"#edb247","font-weight":"700"}},Wt={style:{width:"25%","aspect-ratio":"1/1","border-radius":"50%",background:`linear-gradient(
                        to bottom,
                        rgba(255, 224, 60, 1),
                        rgba(255, 189, 19, 1)
                      )`,display:"flex","justify-content":"center","align-items":"center"}},Ot=["src"],Vt={style:{flex:"1","min-width":"0",padding:"0 2px",display:"flex","flex-direction":"column"}},Xt={style:{width:"100%",color:"#fff","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},Yt={style:{color:"#fff","font-weight":"590"}},Jt={style:{width:"auto","min-width":"0","align-self":"stretch",display:"flex","align-items":"center"}},Zt={src:ne,alt:"",style:{display:"block",width:"1.3em","aspect-ratio":"1/1"}},ei={style:{color:"#edb247","font-weight":"700"}},ti=["src"],ii={style:{width:"108vw",position:"relative",left:"-4vw"}},si={style:{width:"100%",display:"flex","justify-content":"space-around","margin-top":"16px"}},oi={style:{"min-height":"34.56vw",position:"relative",width:"100%",display:"flex","justify-content":"center","align-items":"center"}},ni=["src"],li={style:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0",display:"flex","justify-content":"center","align-items":"center","z-index":"0"}},ri=["src"],ai={style:{color:"#fff","font-size":"0.7em","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},di={style:{color:"#fff","font-weight":"590","text-align":"center"}},ci={style:{display:"flex","justify-content":"center","align-items":"center","margin-top":"20px"}},ui=["src"],gi={style:{width:"40%","text-align":"center","font-size":"14px","font-weight":"590","background-image":`-webkit-linear-gradient(
                        top,
                        rgba(243, 183, 0, 1),
                        rgba(255, 238, 198, 1)
                      )`,"background-clip":"text","-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"}},hi=["src"],vi={style:{width:"108vw",position:"relative",left:"-4vw"}},yi=["src"],fi={style:{width:"100%"}},pi={style:{width:"100%","min-height":"18.54vw"}},mi={style:{width:"100%",display:"flex","justify-content":"space-around"}},wi=["src"],_i=["src"],bi={style:{width:"100%",display:"flex","justify-content":"space-around"}},ki=["src"],xi=["src"],Ii={key:0,style:{display:"flex","flex-direction":"column","align-items":"center"}},Li=["src"],ji={style:{width:"100%",display:"grid","grid-template-columns":"repeat(3, 1fr)",gap:"3%","margin-bottom":"3%"}},Ti=["src","onError"],$i={style:{color:"rgba(255, 255, 255, 1)","font-weight":"590","text-align":"center"}},Ci={style:{position:"fixed",bottom:"0",width:"100vw","background-color":"rgba(77, 30, 22, 1)",display:"flex","justify-content":"center","margin-top":"10px"}},Bi=["src"],zi={style:{position:"absolute",inset:"0",padding:"2vw 4vw 0",display:"flex","align-items":"center","justify-content":"space-around",gap:"4px"}},qi={style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","align-items":"center",gap:"8px"}},Ri={style:{width:"auto","min-width":"0","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},Ai={style:{color:"#edb247","font-size":"1.1em","font-weight":"700"}},Si={style:{width:"22%","aspect-ratio":"1/1","border-radius":"50%",background:`linear-gradient(
                  to bottom,
                  rgba(255, 224, 60, 1),
                  rgba(255, 189, 19, 1)
                )`,display:"flex","justify-content":"center","align-items":"center"}},Di=["src"],Mi={style:{flex:"1","min-width":"0","font-weight":"700",padding:"0 4px",display:"flex","flex-direction":"column"}},Fi={style:{color:"#fff","font-size":"1.1em","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},Ei={style:{width:"auto","min-width":"0","align-self":"stretch",display:"flex","align-items":"center"}},Ni={src:ne,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1"}},Hi={key:0,style:{color:"#edb247","font-size":"1.1em","font-weight":"700"}},Qi={key:1,style:{color:"#edb247","font-size":"1.1em","font-weight":"700"}},Ui={__name:"TopList",setup(g){const u=Ne(),K=I(()=>u.selectedLang?.type||"en"),A=l(!0),i=s=>oe("Ranking/KingQueen/",s),B=s=>K.value==="ar"?`${s}_ar`:s,Le=async()=>{await Ge(()=>{Me()})},S=l({}),b=l(!0),k=l([]),le=I(()=>{let s=[];return k.value[x.value]?.wealth&&s.push({type:"topKing",Frame:i("kingFrame"),userInfo:k.value[x.value].wealth||{}}),k.value[x.value]?.charm&&s.push({type:"topQueen",Frame:i("queenFrame"),userInfo:k.value[x.value].charm||{}}),{group:k.value[x.value]?.group,top:s}}),x=l(0),re=s=>{let t=x.value+s,v=k.value.length;console.log("index:",t),console.log("length:",v),t>=0&&t<v&&(x.value=t)},w=l({}),P=l(1),ae=I(()=>({type:"THIS_WEEK",kingQueenType:"WEALTH",current:P.value,size:10})),z=l([]),G=l(1),de=I(()=>({type:"THIS_WEEK",kingQueenType:"CHARM",current:G.value,size:10})),q=l([]),W=l([{type:"topKing",Frame:i("kingFrame"),userInfo:{}},{type:"topQueen",Frame:i("queenFrame"),userInfo:{}}]),je=I(()=>b.value?z.value:q.value),O=l(!0),V=l(!0),Te=l([i("top1"),i("top2"),i("top3")]),R=l(!0),X=l([]),Y=l([]),$e=I(()=>R.value?X.value:Y.value),Ce=I(()=>D.value||M.value||F.value),D=l(!1),M=l(!1),F=l(!1),E=l(null),N=l(null),Be=be(()=>{H(ae.value)},1e3),ze=be(()=>{H(de.value)},1e3),ce=l([]),ue=l(0),ge=l(0),he=l(0),ve=l(0);let ye=null;const J=l((()=>{const s=new Date,t=new Date(s.getTime()),v=s.getTime()+s.getTimezoneOffset()*6e4,r=new Date(v+8*36e5),o=r.getDay(),p=r.getHours(),h=o===0?6:o-1;let L;return h===0?p>=5?L=7:L=0:L=7-h,t.setDate(t.getDate()+L),t.setHours(5,0,0,0),t.getTime()})()),Z=s=>s<10?`0${s}`:s,fe=()=>{const s=Date.now();let t=J.value-s;t<=0&&(pe(),_e(),J.value+=7*864e5,t=J.value-s);const v=Math.floor(t/1e3);ue.value=Math.floor(v/(3600*24)),ge.value=Z(Math.floor(v%(3600*24)/3600)),he.value=Z(Math.floor(v%3600/60)),ve.value=Z(Math.floor(v%60))},qe=(s,t)=>["GOLD","DIAMOND","GIFT","FRAGMENTS"].includes(s)?t.content:`${t.quantity}Days`,H=async s=>{const t=await Xe(s);t.status&&t.body&&(s.kingQueenType=="WEALTH"?(z.value.length==0&&(W.value[0].userInfo=t.body.records[0]),z.value.push(...t.body.records),s.current*s.size>=t.body.total&&(O.value=!1)):(q.value.length==0&&(W.value[1].userInfo=t.body.records[0]),q.value.push(...t.body.records),s.current*s.size>=t.body.total&&(V.value=!1)))},Re=async()=>{console.log("userInfo.value.id:",S.value);let s=S.value.id;console.log("userId:",s);const t=await Ye(s);console.log("resWeekMyContribution:",t),t.status&&t.body&&(w.value=t.body)},Ae=async()=>{const s=await Je("1966020557831610370");s.status&&s.body&&(ce.value=s.body.gifts,X.value=s.body.butOneRewards,Y.value=s.body.butTwoRewards,console.log("kingRewards:",X.value),console.log("queenRewards:",Y.value))},Se=async()=>{const s=await Ze();s.status&&s.body&&(k.value=s.body)},pe=async()=>{if(Object.keys(S.value).length===0){const s=await Ke();s.status&&s.body&&(S.value=s.body)}Re()},me=()=>{D.value=!1,M.value=!1,F.value=!1},we=new IntersectionObserver(s=>{s.forEach(t=>{t.intersectionRatio>0&&(console.log("监控到底部"),t.target==E.value&&z.value.length!=0&&(console.log("kingListLoadmore"),P.value++,Be()),t.target==N.value&&q.value.length!=0&&(console.log("queenListloadmore"),G.value++,ze()))})}),_e=async()=>{z.value=[],q.value=[],P.value=1,G.value=1,O.value=!0,V.value=!0,await Promise.all([H(ae.value),H(de.value),Ae(),Se()])},De=async()=>{const s=[i("bg"),i("border-item"),i("border-item-user"),i("help"),i("history"),i("listTitle"),i("dayBg"),i("timeBg"),i("rewards"),i("eventGifts"),i("gift"),i("kingBtActive"),i("queenBt"),i("kingBt"),i("queenBtActive"),i(B("helpInfo")),i("timeBack"),i("timeNext"),i("cancel"),i("myRankingBg"),i("kingFrame"),i("queenFrame"),i("top1"),i("top2"),i("top3")];await We(s)},Me=async()=>{try{await Promise.all([pe(),_e(),De()])}catch(s){console.error("预加载过程中发生错误:",s)}finally{A.value=!1}};return He(()=>{Le(),fe(),ye=setInterval(fe,1e3),E.value&&we.observe(E.value),N.value&&we.observe(N.value)}),Qe(()=>{clearInterval(ye)}),(s,t)=>{const v=Ue,r=Ie("smart-img");return d(),c("div",at,[A.value?(d(),c("div",dt,[y(ke,{backgroundImages:[i("bg")]},null,8,["backgroundImages"]),y(v),e("p",ct,a(s.$t("loading"))+"...",1)])):(d(),c("div",ut,[y(ke,{backgroundImages:[i("bg")]},null,8,["backgroundImages"]),e("div",gt,[t[15]||(t[15]=e("div",{style:{height:"30px"}},null,-1)),n(e("img",{src:i("help"),alt:"",style:{width:"10%",position:"absolute",top:"48px",right:"8px","z-index":"4"},onClick:t[0]||(t[0]=o=>D.value=!0)},null,8,ht),[[r]]),n(e("img",{src:i("history"),alt:"",style:{"min-height":"17.22vw",width:"20%","margin-top":"20px"},onClick:t[1]||(t[1]=o=>M.value=!0)},null,8,vt),[[r]]),e("div",yt,[n(e("img",{src:i("listTitle"),alt:"",style:{"min-height":"11.55vw",width:"90%"}},null,8,ft),[[r]]),e("div",pt,[(d(!0),c(j,null,T(W.value,(o,p)=>(d(),c("div",{style:{width:"40%"},key:p,onClick:h=>f(ee)(o.userInfo.userId)},[e("div",wt,[n(e("img",{src:o.Frame,alt:"",style:{width:"100%","z-index":"1"}},null,8,_t),[[r]]),e("div",bt,[o.userInfo.userAvatar?(d(),c("img",{key:0,src:o.userInfo.userAvatar||"",alt:"",width:"70%",style:{"border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:t[2]||(t[2]=(...h)=>f($)&&f($)(...h)),onClick:h=>f(ee)(o.userInfo.userId)},null,40,kt)):se("",!0)]),e("div",{style:Q([{height:"10%",width:"50%",position:"absolute","z-index":"2",display:"flex","justify-content":"center","align-items":"center"},{bottom:o.type=="topKing"?"9.3%":"7%"}])},[e("div",xt,a(o.userInfo.userNickname),1)],4)])],8,mt))),128))])]),e("div",It,[y(C,{imgUrl:i("dayBg"),style:{width:"12vw","margin-right":"10px"}},{default:m(()=>[e("div",Lt,a(ue.value)+"D",1)]),_:1},8,["imgUrl"]),y(C,{imgUrl:i("timeBg"),style:{width:"28.5%"}},{default:m(()=>[e("div",jt,a(ge.value)+" : "+a(he.value)+" : "+a(ve.value),1)]),_:1},8,["imgUrl"])]),e("div",Tt,[n(e("img",{src:i("rewards"),alt:"",style:{width:"20%"},onClick:t[3]||(t[3]=o=>F.value=!0)},null,8,$t),[[r]])]),e("div",Ct,[y(C,{style:{"min-height":"74.91vw"},imgUrl:i("eventGifts")},{default:m(()=>[e("div",Bt,[(d(!0),c(j,null,T(ce.value,(o,p)=>(d(),c("div",{key:p,style:{width:"30%",display:"flex","flex-direction":"column"}},[y(C,{style:{"min-height":"25.91vw"},imgUrl:i("gift")},{default:m(()=>[e("img",{src:o.giftPhoto,alt:"",width:"50%"},null,8,zt)]),_:2},1032,["imgUrl"]),e("div",qt,[n(e("img",Rt,null,512),[[r]]),e("div",At,a(o.giftCandy),1)])]))),128))])]),_:1},8,["imgUrl"])]),e("div",St,[e("div",Dt,[n(e("div",Mt,[n(e("img",{src:i("kingBtActive"),alt:"",style:{width:"40%"}},null,8,Ft),[[r]]),n(e("img",{src:i("queenBt"),alt:"",style:{width:"40%"},onClick:t[4]||(t[4]=o=>b.value=!1)},null,8,Et),[[r]])],512),[[_,b.value]]),n(e("div",Nt,[n(e("img",{src:i("kingBt"),alt:"",style:{width:"40%"},onClick:t[5]||(t[5]=o=>b.value=!0)},null,8,Ht),[[r]]),n(e("img",{src:i("queenBtActive"),alt:"",style:{width:"40%"}},null,8,Qt),[[r]])],512),[[_,!b.value]])]),e("div",Ut,[y(ie,{title:"Ranking"},{default:m(()=>[(d(!0),c(j,null,T(je.value,(o,p)=>(d(),Pe(C,{imgUrl:i("border-item-user"),style:{"min-height":"27.66vw",margin:"-2px 0"},contentStyle:"justify-content: flex-start;padding: 0 15%;gap: 8px;",key:p,onClick:h=>f(ee)(o.userId)},{default:m(()=>[e("div",Kt,[e("div",Pt,[e("div",Gt,a(o.rank),1)]),e("div",Wt,[e("img",{src:o.userAvatar||"",alt:"",style:{display:"block",width:"90%","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:t[6]||(t[6]=(...h)=>f($)&&f($)(...h))},null,40,Ot)]),e("div",Vt,[e("div",Xt,a(o.userNickname),1),e("div",Yt,a(s.$t("user_id_prefix"))+" "+a(o.account),1)])]),e("div",Jt,[n(e("img",Zt,null,512),[[r]]),e("div",ei,a(o.quantity),1)])]),_:2},1032,["imgUrl","onClick"]))),128)),n(e("div",{ref_key:"kingListLoadmore",ref:E},null,512),[[_,O.value&&b.value]]),n(e("div",{ref_key:"queenListloadmore",ref:N},null,512),[[_,V.value&&!b.value]])]),_:1})])])]),y(Ve,{maskLayerShow:Ce.value,onClick:me},{default:m(()=>[n(e("div",{style:{width:"100vw",margin:"20% 0",overflow:"hidden"},onClick:t[7]||(t[7]=te(()=>{},["stop"]))},[n(e("img",{src:i(B("helpInfo")),alt:"",style:{width:"108vw",position:"relative",left:"-4vw",display:"block"}},null,8,ti),[[r]])],512),[[_,D.value]]),n(e("div",{style:{width:"100vw",margin:"20% 0",overflow:"hidden"},onClick:t[10]||(t[10]=te(()=>{},["stop"]))},[e("div",ii,[y(ie,{title:"History"},{default:m(()=>[e("div",{style:Q([{"background-size":"100% 100%","min-height":"20px",margin:"-10px 0",padding:"10px 10%"},{backgroundImage:`url(${i("border-item")})`}])},[e("div",si,[(d(!0),c(j,null,T(le.value.top,(o,p)=>(d(),c("div",{style:{width:"40%"},key:p},[e("div",oi,[n(e("img",{src:o.Frame,alt:"",style:{width:"100%","z-index":"1"}},null,8,ni),[[r]]),e("div",li,[e("img",{src:o.userInfo.userAvatar,alt:"",width:"70%",style:{"border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"}},null,8,ri)]),e("div",{style:Q([{height:"10%",width:"50%",color:"#fff",position:"absolute","z-index":"2","font-weight":"860","font-size":"12px",display:"flex","justify-content":"center","align-items":"center"},{bottom:o.type=="topKing"?"9.3%":"7%"}])},[e("div",ai,a(o.userInfo.userNickname),1)],4)]),e("div",di,a(s.$t("user_id_prefix"))+" "+a(o.userInfo.account),1)]))),128))]),e("div",ci,[n(e("img",{src:i("timeBack"),alt:"",width:"18px",height:"18px",onClick:t[8]||(t[8]=o=>re(1))},null,8,ui),[[r]]),e("div",gi,a(le.value.group),1),n(e("img",{src:i("timeNext"),alt:"",width:"18px",height:"18px",onClick:t[9]||(t[9]=o=>re(-1))},null,8,hi),[[r]])])],4)]),_:1})])],512),[[_,M.value]]),n(e("div",{style:{width:"100vw",padding:"20% 0",overflow:"hidden"},onClick:t[13]||(t[13]=te(()=>{},["stop"]))},[e("div",vi,[n(e("img",{src:i("cancel"),alt:"",style:{width:"7%",position:"absolute",top:"0",right:"6%","z-index":"99"},onClick:me},null,8,yi),[[r]]),e("div",fi,[y(ie,{title:"Rewards"},{default:m(()=>[e("div",{style:Q([{"background-size":"100% 100%","min-height":"20px",margin:"-20px 0",padding:"20px 10%"},{backgroundImage:`url(${i("border-item")})`}])},[e("div",pi,[n(e("div",mi,[n(e("img",{src:i("kingBtActive"),alt:"",style:{width:"40%"}},null,8,wi),[[r]]),n(e("img",{src:i("queenBt"),alt:"",style:{width:"40%"},onClick:t[11]||(t[11]=o=>R.value=!1)},null,8,_i),[[r]])],512),[[_,R.value]]),n(e("div",bi,[n(e("img",{src:i("kingBt"),alt:"",style:{width:"40%"},onClick:t[12]||(t[12]=o=>R.value=!0)},null,8,ki),[[r]]),n(e("img",{src:i("queenBtActive"),alt:"",style:{width:"40%"}},null,8,xi),[[r]])],512),[[_,!R.value]])]),(d(!0),c(j,null,T($e.value,(o,p)=>(d(),c("div",{key:p},[o.rewards.length>0?(d(),c("div",Ii,[n(e("img",{src:Te.value[Number(o.rankRange)-1],alt:"",style:{"min-height":"19.13vw",width:"40%",margin:"24px 0"}},null,8,Li),[[r]]),e("div",ji,[(d(!0),c(j,null,T(o.rewards,(h,L)=>(d(),c("div",{key:L,style:{width:"100%"}},[y(C,{style:{"min-height":"27.07vw"},imgUrl:i("gift")},{default:m(()=>[n(e("img",{src:h.cover||"",alt:"",width:"50%",style:{"aspect-ratio":"1/1"},onError:Fe=>f(Oe)(Fe,h.type)},null,40,Ti),[[r]])]),_:2},1032,["imgUrl"]),e("div",$i,a(qe(h.type,h)),1)]))),128))])])):se("",!0)]))),128))],4)]),_:1})])])],512),[[_,F.value]])]),_:1},8,["maskLayerShow"]),t[16]||(t[16]=e("div",{style:{height:"25vw"}},null,-1)),e("div",Ci,[n(e("img",{src:i("myRankingBg"),alt:"",style:{width:"calc(100% - 1px)",display:"block"}},null,8,Bi),[[r]]),e("div",zi,[e("div",qi,[e("div",Ri,[e("div",Ai,a((w.value.userSex==1?w.value.wealthRank:w.value.charmRank)||999),1)]),e("div",Si,[e("img",{src:w.value.userAvatar||"",alt:"",style:{display:"block",width:"90%","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:t[14]||(t[14]=(...o)=>f($)&&f($)(...o))},null,40,Di)]),e("div",Mi,[e("div",Fi,a(w.value.userNickname),1)])]),e("div",Ei,[n(e("img",Ni,null,512),[[r]]),w.value.userSex==1?(d(),c("div",Hi,a(w.value.wealthQuantity),1)):(d(),c("div",Qi,a(w.value.charmQuantity),1))])])])]))])}}},es=xe(Ui,[["__scopeId","data-v-9d407a70"]]);export{es as default};
