chatapp-h5/h5/js/WeeklyStar-CXQSNEUH-1776148658686.js
2026-04-14 17:58:21 +08:00

6 lines
24 KiB
JavaScript

import{L as S,W as bt,_ as xt,j as u,c as h,b as t,D as l,n as A,q as p,Q as wt,t as c,an as Tt,P as Lt,r as a,o as Ht,a as Pt,l as g,ac as zt,m as y,Y as x,F as U,x as I,v as _t,a_ as P,y as B,X as Ft,S as R,au as Vt,G as qt}from"./index-CIAVq8iD-1776148658686.js";import{_ as et}from"./coin-Dqu2_ND9-1776148658686.js";import{c as Kt}from"./appConnector-B5Pbaops-1776148658686.js";import{b as Xt}from"./toast-aIWCznBB-1776148658686.js";import{g as Jt}from"./imagePaths-Bi1Bwe4Z-1776148658686.js";import{p as Yt}from"./imagePreloader-C_QM-Nv8-1776148658686.js";import{h as _,a as Qt}from"./imageHandler-DstQGL3Z-1776148658686.js";import{B as kt}from"./BackgroundLayer-DJYogygx-1776148658686.js";import{i as v}from"./itemCenter-DveKthYv-1776148658686.js";import{m as Zt}from"./MaskLayer-CMaJd7Gb-1776148658686.js";const te="/assets/helpAct-DGHPhMLg-1776148661448.png",ee=async o=>{try{return await S(`/activity/week-star/ranking?type=${o.type}&current=${o.current}&size=${o.size}`)}catch(r){throw console.error("Failed to get week star ranking:",r),console.error("error:"+r.response.errorMsg),r}},se=async o=>{try{return await S(`/activity/week-star/my-rank?type=${o.type}&userId=${o.userId}`)}catch(r){throw console.error("Failed to get my week star ranking:",r),console.error("error:"+r.response.errorMsg),r}},ie=async()=>{try{return await S("/activity/week-star/reward")}catch(o){throw console.error("Failed to get this week rewards:",o),console.error("error:"+o.response.errorMsg),o}},oe=async o=>{try{return await S(`/activity/week-star/gifts?type=${o}`)}catch(r){throw console.error("Failed to get this week gifts:",r),console.error("error:"+r.response.errorMsg),r}},ne=async()=>{try{return await S("/activity/week-star/history-top1")}catch(o){throw console.error("Failed to get history top one:",o),console.error("error:"+o.response.errorMsg),o}},re=async o=>{try{return await S(`/activity/week-star/listActivityResource?sysOrigin=${o.sysOrigin}&activityType=${o.activityType}`)}catch(r){throw console.error("Failed to get exchange goods:",r),console.error("error:"+r.response.errorMsg),r}},le=async o=>{try{return await bt(`/activity/week-star/list/by/user-id?userId=${o.userId}&fragmentsIds=${o.fragmentsIds}`)}catch(r){throw console.error("Failed to get my fragment:",r),console.error("error:"+r.response.errorMsg),r}},ae=async o=>{try{return await bt("/activity/week-star/exchange",o)}catch(r){throw console.error("Failed to exchange goods:",r),console.error("error:"+r.response.errorMsg),r}},de={style:{width:"100%"}},ce=["src"],ge={style:{position:"absolute",top:"0",left:"0",right:"0",height:"65%","z-index":"1",display:"flex","justify-content":"center","align-items":"center"}},ue=["src"],ye={style:{position:"absolute",bottom:"0",left:"0",right:"0",height:"35%","z-index":"3",display:"flex","flex-direction":"column","align-items":"center"}},he={__name:"topUser",props:{isTopOne:{type:Boolean,default:!0},avatarUrl:{type:String,default:"/src/assets/icon/Atu/defaultAvatar.png"},BorderImgUrl:{type:String,required:!0},name:{type:String,default:""},distributionValue:{type:String,default:""}},setup(o){return(r,C)=>{const E=Tt("smart-img");return u(),h("div",de,[t("div",{style:A([{position:"relative"},{minHeight:o.isTopOne?"62.23vw":"45.85vw"}])},[l(t("img",{src:o.BorderImgUrl,alt:"",width:"100%",style:{display:"block",position:"relative","z-index":"2"}},null,8,ce),[[E]]),t("div",ge,[t("div",{style:A({width:o.isTopOne?"50%":"80%"})},[t("img",{src:o.avatarUrl||"",alt:"",width:"100%",style:{"border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:C[0]||(C[0]=(...s)=>p(_)&&p(_)(...s))},null,40,ue)],4)]),t("div",ye,[t("div",{style:A([{height:"28%",display:"flex","justify-content":"center","align-items":"center"},{width:o.isTopOne?"35%":"50%"}])},[t("div",{style:{"font-weight":"860"},class:wt(["showText",o.isTopOne?"top1Text":"text"])},c(o.name),3)],4),t("div",{style:A([{height:"40%",display:"flex","justify-content":"center","align-items":"center"},{width:o.isTopOne?"30%":"40%"}])},[t("div",{style:{"font-weight":"700",color:"#642624"},class:wt(["showText",o.isTopOne?"top1Text":"text"])},c(o.distributionValue),3)],4)])],4)])}}},tt=xt(he,[["__scopeId","data-v-79a17b6c"]]),ve={class:"fullPage"},me={key:0,class:"loading-container"},pe={key:1,style:{width:"100vw","min-height":"100vh",overflow:"hidden",position:"relative"}},fe={style:{width:"100vw",position:"relative"}},we=["src"],_e=["src"],ke={style:{"min-height":"20.37vw",display:"flex","justify-content":"center","margin-top":"0%"}},be={style:{width:"20%"}},xe={class:"timeText"},Te={style:{width:"20%"}},Ue={class:"timeText"},Ie={style:{width:"20%"}},Be={class:"timeText"},Re={style:{width:"20%"}},Se={class:"timeText"},je={style:{"min-height":"15.96vw",margin:"10% 0 8% 0",display:"flex","justify-content":"space-around"}},Me={style:{position:"relative",width:"100%",left:"50%",transform:"translateX(-50%)"}},$e=["src"],Ae=["src"],Ce=["src"],Ee={style:{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",padding:"30% 8% 13%"}},Ge={style:{"margin-top":"3%"}},Oe={style:{display:"flex","justify-content":"center"}},De={style:{position:"relative","z-index":"3",display:"flex","justify-content":"space-between","margin-top":"-20%","pointer-events":"none"}},We={style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","justify-content":"space-around","align-items":"center",gap:"4px"}},Ne={style:{width:"auto","min-width":"0","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},Le={style:{color:"#edb247","font-weight":"700"}},He=["src"],Pe={style:{flex:"1","min-width":"0",padding:"0 2px",display:"flex","flex-direction":"column"}},ze={style:{color:"#fff","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},Fe={style:{color:"#fff","font-weight":"590"}},Ve={style:{width:"auto","min-width":"0","align-self":"stretch",display:"flex","align-items":"center"}},qe={src:et,alt:"",style:{display:"block",width:"1.3em","aspect-ratio":"1/1"}},Ke={style:{color:"#edb247","font-weight":"700"}},Xe={style:{display:"flex","flex-direction":"column","align-items":"center",gap:"20px"}},Je={style:{"min-height":"158.66vw",position:"relative",width:"100%"}},Ye=["src"],Qe={style:{position:"absolute",top:"7%",left:"25%",right:"25%",height:"8.5%",display:"flex","justify-content":"center","align-items":"center",color:"#fff","font-weight":"860"},class:"topTitle"},Ze={style:{position:"absolute",inset:"0",padding:"30% 6% 13%",display:"grid","grid-template-columns":"repeat(2, 1fr)"}},ts={style:{display:"flex","flex-direction":"column","align-items":"center"}},es=["src","onError"],ss={style:{"font-weight":"700"}},is={style:{display:"flex","justify-content":"center"}},os={style:{"min-height":"153.66vw",position:"relative",width:"100%"}},ns=["src"],rs={style:{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",padding:"30% 7% 13%",display:"flex","flex-direction":"column","justify-content":"space-around"}},ls={style:{"min-height":"12.89vw",display:"flex","align-items":"center"}},as=["src"],ds={style:{"font-weight":"590","font-size":"1.3em"}},cs={style:{display:"grid","grid-template-columns":"repeat(3, 1fr)",gap:"10px"}},gs=["src"],us={class:"needDebris"},ys={style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","justify-content":"space-around","align-items":"center",gap:"8px"}},hs={style:{width:"auto","min-width":"0","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},vs={style:{color:"#edb247","font-size":"1.1em","font-weight":"700"}},ms=["src"],ps={style:{flex:"1","min-width":"0",color:"#fff","font-size":"1.1em","font-weight":"860",padding:"0 4px",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},fs={style:{width:"auto","min-width":"0","align-self":"stretch",display:"flex","align-items":"center"}},ws={src:et,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1"}},_s={style:{color:"#edb247","font-size":"1.1em","font-weight":"700"}},ks=["src"],bs=["src"],xs={style:{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",padding:"31% 7% 15%",display:"flex","flex-direction":"column","justify-content":"space-between","align-items":"center"}},Ts={style:{"min-height":"43.93vw",position:"relative",width:"75%"}},Us=["src"],Is={style:{position:"absolute",top:"0",bottom:"0",left:"0",right:"0"}},Bs={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}},Rs=["src"],Ss={style:{"min-height":"7.16vw",position:"relative",width:"25%"}},js=["src"],Ms={style:{position:"absolute",top:"0",bottom:"0",left:"0",right:"0","padding-bottom":"1%",display:"flex","justify-content":"center","align-items":"center"}},$s={style:{width:"90%",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis","text-align":"center"},class:"history-name"},As={style:{width:"50%",display:"flex","justify-content":"space-between","align-items":"center"}},Cs=["src"],Es={style:{flex:"1","text-align":"center","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"},class:"history-time"},Gs=["src"],Os=["src"],Ds={style:{display:"flex","justify-content":"center","align-items":"center",gap:"2px"}},Ws={src:et,alt:"",style:{display:"block",width:"1.3em","aspect-ratio":"1/1","object-fit":"cover"}},Ns={style:{color:"#fff","font-weight":"590"}},Ls=["src"],Hs={style:{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",padding:"30% 7% 15%",display:"flex","flex-direction":"column","justify-content":"space-between","align-items":"center"}},Ps=["src"],zs=["src"],Fs={__name:"WeeklyStar",setup(o){const r=Lt(),C=R(()=>r.selectedLang?.type||"en"),E=a(!0),s=i=>Jt("Ranking/WeeklyStar/",i),st=i=>C.value==="ar"?`${i}_ar`:i,Ut=async()=>{await Kt(()=>{Nt()})},j=a({}),G=a(!1),O=a(!1),D=a(!1),W=a(!1),It=R(()=>G.value||O.value||D.value||W.value),it=a(0),ot=a(0),nt=a(0),rt=a(0);let lt=null;const N=a(!0),z=a(!1),F=a(!1),L=a(1),V=a(null),q=a(!0),k=a([]),Bt=R(()=>({type:"THIS_WEEK",current:L.value,size:10})),M=a([]),at=a([]),dt=a([]),K=a([]),H=a(0),X=R(()=>K.value[H.value]||{}),ct=a([]),gt=a({}),$=a({}),ut=i=>{let e=H.value+i,m=K.value.length;e>=0&&e<m&&(H.value=e)},f=R(()=>{let i=[...k.value];if(k.value.length<3){let e=Array.from({length:3-k.value.length},()=>({userAvatar:"",userNickname:"",quantity:""}));i.push(...e)}return i}),J=R(()=>k.value.filter((i,e)=>e>=3)),Rt=i=>{W.value=!0,$.value=i},St=async i=>{try{let e={propsGroupId:i,fragmentsId:"1968948330210508801",userId:j.value.id};(await ae(e)).status&&(yt(),pt())}catch(e){console.log("error:",e),Xt(e.response.errorMsg)}},yt=()=>{G.value=!1,O.value=!1,D.value=!1,W.value=!1,$.value={}},Y=i=>{N.value=i=="Ranking",z.value=i=="Rewards",F.value=i=="Exchange"},Q=a((()=>{const i=new Date,e=new Date(i.getTime()),m=i.getTime()+i.getTimezoneOffset()*6e4,d=new Date(m+8*36e5),n=d.getDay(),b=d.getHours(),w=n===0?6:n-1;let T;return w===0?b>=5?T=7:T=0:T=7-w,e.setDate(e.getDate()+T),e.setHours(5,0,0,0),e.getTime()})()),Z=i=>i<10?`0${i}`:i,ht=()=>{const i=Date.now();let e=Q.value-i;e<=0&&(vt(),jt(),Q.value+=7*864e5,e=Q.value-i);const m=Math.floor(e/1e3);it.value=Math.floor(m/(24*3600)),ot.value=Z(Math.floor(m%(24*3600)/3600)),nt.value=Z(Math.floor(m%3600/60)),rt.value=Z(Math.floor(m%60))},jt=()=>{L.value=1,q.value=!0,k.value=[],H.value=0,ft()},Mt=(i,e)=>["GOLD","DIAMOND","GIFT","FRAGMENTS"].includes(i)?e:`${e}Days`,vt=async()=>{if(Object.keys(j.value).length===0){const i=await Vt();i.status&&i.body&&(j.value=i.body)}At(),pt()},mt=async()=>{const i=await ee(Bt.value);if(console.log("resWeekStarRanking:",i),i.status&&i.body&&i.body.rankUsers?.records){let e=i.body.rankUsers;k.value.push(...e.records),L.value*e.size>=e.total&&(q.value=!1)}},$t=async()=>{const i=await ne();console.log("resHistoryTopOne:",i),i.status&&i.body&&(K.value=i.body)},At=async()=>{let i={userId:j.value.id,type:"THIS_WEEK"};const e=await se(i);console.log("resMyWeekStarRanking:",e),e.status&&e.body&&(M.value=e.body)},Ct=async()=>{const i=await oe("THIS_WEEK");console.log("resThisWeekGifts:",i),i.status&&i.body&&(dt.value=i.body)},Et=async()=>{const i=await ie();console.log("resThisWeekRewards:",i),i.status&&i.body&&(at.value=i.body)},Gt=async()=>{const e=await re({sysOrigin:"ATYOU",activityType:"STAR_EXCHANGE"});console.log("resExchangeGoods:",e),e.status&&e.body&&(ct.value=e.body)},pt=async()=>{let i={userId:j.value.id,fragmentsIds:["1968948330210508801"]};const e=await le(i);console.log("resMyFragment:",e),e.status&&e.body&&(gt.value=e.body.find(m=>m.fragmentsId=="1968948330210508801")||{})},ft=async()=>{await Promise.all([mt(),$t(),Et(),Ct(),Gt()])},Ot=async()=>{const i=[s("bg"),s("history"),s("gifts"),s("dayBg"),s("hourAndMinBg"),s("secBg"),s("btActive"),s("btNoActive"),s("RankingMain"),s("RankingItem"),s("RankingBottomBorder"),s("topOne"),s("topTwo"),s("topThree"),s("itemUser"),s("topBg"),s("giftItemBg"),s("btBg"),s("longBg"),s("debris"),s("myRankingBg"),s(st("helpInfo")),s("mediumBg"),s("topOneHistory"),s("nameBg"),s("giftsBg"),s("ConfirmBt"),s("timeBack"),s("timeNext")];await Yt(i)},Dt=Ft(()=>{mt()},1e3),Wt=new IntersectionObserver(i=>{i.forEach(e=>{e.intersectionRatio>0&&k.value.length!=0&&(console.log("触发RankingLoadmore加载"),L.value++,Dt())})}),Nt=async()=>{try{await Promise.all([vt(),ft(),Ot()])}catch(i){console.error("预加载过程中发生错误:",i)}finally{E.value=!1}};return Ht(()=>{Ut(),ht(),lt=setInterval(ht,1e3),V.value&&Wt.observe(V.value)}),Pt(()=>{clearInterval(lt)}),(i,e)=>{const m=zt,d=Tt("smart-img");return u(),h("div",ve,[E.value?(u(),h("div",me,[g(kt,{backgroundImages:[s("bg")]},null,8,["backgroundImages"]),g(m),t("p",null,c(i.$t("loading"))+"...",1)])):(u(),h("div",pe,[g(kt,{backgroundImages:[s("bg")]},null,8,["backgroundImages"]),t("div",fe,[e[29]||(e[29]=t("div",{style:{height:"30px"}},null,-1)),l(t("img",{src:te,alt:"",style:{width:"10%",position:"absolute",top:"48px",right:"8px","z-index":"4"},onClick:e[0]||(e[0]=n=>G.value=!0)},null,512),[[d]]),l(t("img",{src:s("history"),alt:"",style:{"min-height":"20.66vw",width:"20%","margin-top":"20px"},onClick:e[1]||(e[1]=n=>O.value=!0)},null,8,we),[[d]]),t("div",{style:A([{"min-height":"20.66vw",display:"flex","justify-content":"flex-end",width:"100%"},{marginTop:"calc(65vw - 30px - 10vw - 10vw - 20px)"}])},[l(t("img",{src:s("gifts"),alt:"",style:{width:"20%"},onClick:e[2]||(e[2]=n=>D.value=!0)},null,8,_e),[[d]])]),t("div",ke,[t("div",be,[g(v,{style:{"min-height":"20.37vw"},imgUrl:s("dayBg")},{default:y(()=>[t("div",xe,c(it.value)+"D",1)]),_:1},8,["imgUrl"])]),e[19]||(e[19]=t("div",{class:"timeText timeGap",style:{width:"6px"}},null,-1)),t("div",Te,[g(v,{style:{"min-height":"20.37vw"},imgUrl:s("hourAndMinBg")},{default:y(()=>[t("div",Ue,c(ot.value),1)]),_:1},8,["imgUrl"])]),e[20]||(e[20]=t("div",{class:"timeText timeGap"},":",-1)),t("div",Ie,[g(v,{style:{"min-height":"20.37vw"},imgUrl:s("hourAndMinBg")},{default:y(()=>[t("div",Be,c(nt.value),1)]),_:1},8,["imgUrl"])]),e[21]||(e[21]=t("div",{class:"timeText timeGap"},":",-1)),t("div",Re,[g(v,{style:{"min-height":"20.37vw"},imgUrl:s("secBg")},{default:y(()=>[t("div",Se,c(rt.value),1)]),_:1},8,["imgUrl"])])]),t("div",je,[t("div",{style:{width:"30%"},onClick:e[3]||(e[3]=n=>Y("Ranking"))},[g(v,{imgUrl:N.value?s("btActive"):s("btNoActive")},{default:y(()=>[...e[22]||(e[22]=[t("div",{class:"btTitle"},"Ranking",-1)])]),_:1},8,["imgUrl"])]),t("div",{style:{width:"30%"},onClick:e[4]||(e[4]=n=>Y("Rewards"))},[g(v,{imgUrl:z.value?s("btActive"):s("btNoActive")},{default:y(()=>[...e[23]||(e[23]=[t("div",{class:"btTitle"},"Rewards",-1)])]),_:1},8,["imgUrl"])]),t("div",{style:{width:"30%"},onClick:e[5]||(e[5]=n=>Y("Exchange"))},[g(v,{imgUrl:F.value?s("btActive"):s("btNoActive")},{default:y(()=>[...e[24]||(e[24]=[t("div",{class:"btTitle"},"Exchange",-1)])]),_:1},8,["imgUrl"])])]),t("div",null,[l(t("div",Me,[t("div",null,[l(t("img",{src:s("RankingMain"),alt:"",width:"100%",style:{"min-height":"149.66vw",display:"block"}},null,8,$e),[[d]]),J.value.length>1?(u(!0),h(U,{key:0},I(J.value.length-1,n=>l((u(),h("img",{src:s("RankingItem"),alt:"",width:"100%",style:{"min-height":"25.33vw",display:"block","margin-top":"-2px"}},null,8,Ae)),[[d]])),256)):_t("",!0),l(t("img",{src:s("RankingBottomBorder"),alt:"",width:"100%",style:{"min-height":"20.66vw",display:"block","margin-top":"-9%"}},null,8,Ce),[[d]])]),t("div",Ee,[t("div",Ge,[t("div",Oe,[g(tt,{BorderImgUrl:s("topOne"),avatarUrl:f.value[0].userAvatar,name:f.value[0].userNickname,distributionValue:f.value[0].quantity,style:{width:"70%"},onClick:e[6]||(e[6]=n=>p(P)(f.value[0].userId))},null,8,["BorderImgUrl","avatarUrl","name","distributionValue"])]),t("div",De,[t("div",{style:{"pointer-events":"auto",width:"35%"},onClick:e[7]||(e[7]=B(n=>p(P)(f.value[1].userId),["stop"]))},[g(tt,{isTopOne:!1,BorderImgUrl:s("topTwo"),avatarUrl:f.value[1].userAvatar,name:f.value[1].userNickname,distributionValue:f.value[1].quantity,style:{width:"100%"}},null,8,["BorderImgUrl","avatarUrl","name","distributionValue"])]),t("div",{style:{"pointer-events":"auto",width:"35%"},onClick:e[8]||(e[8]=B(n=>p(P)(f.value[2].userId),["stop"]))},[g(tt,{isTopOne:!1,BorderImgUrl:s("topThree"),avatarUrl:f.value[2].userAvatar,name:f.value[2].userNickname,distributionValue:f.value[2].quantity,style:{width:"100%"}},null,8,["BorderImgUrl","avatarUrl","name","distributionValue"])])])]),(u(!0),h(U,null,I(J.value,n=>(u(),qt(v,{style:{"min-height":"21.41vw","margin-top":"3.3vw",position:"relative"},onClick:b=>p(P)(n.userId),imgUrl:s("itemUser"),contentStyle:"justify-content: flex-start;padding: 0 3%;gap: 8px;"},{default:y(()=>[t("div",We,[t("div",Ne,[t("div",Le,c(n.rank),1)]),t("img",{src:n.userAvatar||"",alt:"",style:{display:"block",width:"3em","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:e[9]||(e[9]=(...b)=>p(_)&&p(_)(...b))},null,40,He),t("div",Pe,[t("div",ze,c(n.userNickname),1),t("div",Fe,c(i.$t("user_id_prefix"))+" "+c(n.account),1)])]),t("div",Ve,[l(t("img",qe,null,512),[[d]]),t("div",Ke,c(n.quantity),1)])]),_:2},1032,["onClick","imgUrl"]))),256)),l(t("div",{ref_key:"RankingLoadmore",ref:V},null,512),[[x,q.value&&N.value]])])],512),[[x,N.value]]),l(t("div",Xe,[(u(!0),h(U,null,I(at.value,(n,b)=>(u(),h("div",Je,[l(t("img",{src:s("topBg"),alt:"",style:{width:"100%",display:"block"}},null,8,Ye),[[d]]),t("div",Qe," TOP"+c(n.rule.sort),1),t("div",Ze,[(u(!0),h(U,null,I(n.propsGroup.activityRewardProps,w=>(u(),h("div",ts,[g(v,{imgUrl:s("giftItemBg"),style:{"min-height":"39.6vw",width:"90%","margin-bottom":"3px"}},{default:y(()=>[t("img",{src:w.cover||"",alt:"",style:{width:"50%",display:"block"},onError:T=>p(Qt)(T,w.type)},null,40,es)]),_:2},1032,["imgUrl"]),g(v,{imgUrl:s("btBg"),style:{"min-height":"12.58vw",width:"75%"}},{default:y(()=>[t("div",ss,c(Mt(w.type,w.quantity)),1)]),_:2},1032,["imgUrl"])]))),256))])]))),256))],512),[[x,z.value]]),l(t("div",is,[t("div",os,[l(t("img",{src:s("longBg"),alt:"",style:{width:"100%",display:"block"}},null,8,ns),[[d]]),e[26]||(e[26]=t("div",{style:{position:"absolute",top:"6%",left:"25%",right:"25%",height:"11%",display:"flex","justify-content":"center","align-items":"center",color:"#fff","font-weight":"860"},class:"topTitle"}," Props ",-1)),t("div",rs,[t("div",ls,[l(t("img",{src:s("debris"),alt:"",style:{width:"15%",display:"block","margin-right":"5px"}},null,8,as),[[d]]),t("div",ds," :"+c(gt.value.quantity||0),1)]),t("div",cs,[(u(!0),h(U,null,I(ct.value,(n,b)=>(u(),h("div",{key:b,style:{display:"flex","flex-direction":"column","align-items":"center"}},[g(v,{style:{"min-height":"26.44vw"},imgUrl:s("giftItemBg")},{default:y(()=>[t("img",{src:n.propsGroup.activityRewardProps[0].cover,alt:"",style:{width:"68%",display:"block","margin-bottom":"7%"}},null,8,gs)]),_:2},1032,["imgUrl"]),t("div",us," Permanent/"+c(JSON.parse(n.rule.jsonData).need_fragments)+" Star ",1),g(v,{style:{"min-height":"7.55vw",width:"75%"},onClick:w=>Rt(n),imgUrl:s("btBg")},{default:y(()=>[...e[25]||(e[25]=[t("div",{style:{"font-weight":"700"},class:"needDebris"},"Redeem",-1)])]),_:1},8,["onClick","imgUrl"])]))),128))])])])],512),[[x,F.value]])]),e[30]||(e[30]=t("div",{style:{height:"25vw"}},null,-1)),g(v,{style:{"min-height":"23.66vw",width:"100vw","background-color":"#311300","margin-top":"10px",position:"fixed",bottom:"0","z-index":"999"},imgUrl:s("myRankingBg"),contentStyle:"padding: 4vw;gap: 8px;"},{default:y(()=>[t("div",ys,[t("div",hs,[t("div",vs,c(M.value.rank||999),1)]),t("img",{src:M.value.userAvatar||"",alt:"",style:{display:"block",width:"20%","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:e[10]||(e[10]=(...n)=>p(_)&&p(_)(...n))},null,40,ms),t("div",ps,c(M.value.userNickname||""),1)]),t("div",fs,[l(t("img",ws,null,512),[[d]]),t("div",_s,c(M.value.quantity||0),1)])]),_:1},8,["imgUrl"]),g(Zt,{maskLayerShow:It.value,onClick:yt},{default:y(()=>[l(t("div",{style:{margin:"20% 0"},onClick:e[11]||(e[11]=B(()=>{},["stop"]))},[l(t("img",{src:s(st("helpInfo")),alt:"",style:{width:"100%"}},null,8,ks),[[d]])],512),[[x,G.value]]),l(t("div",{style:{"min-height":"107.97vw",position:"relative",margin:"20% 0"},onClick:e[15]||(e[15]=B(()=>{},["stop"]))},[l(t("img",{src:s("mediumBg"),alt:"",style:{width:"100%",display:"block"}},null,8,bs),[[d]]),e[27]||(e[27]=t("div",{style:{position:"absolute",top:"10%",left:"25%",right:"25%",height:"13%",display:"flex","justify-content":"center","align-items":"center",color:"#fff","font-weight":"860"},class:"topTitle"}," History ",-1)),t("div",xs,[t("div",Ts,[l(t("img",{src:s("topOneHistory"),alt:"",style:{width:"100%",display:"block",position:"relative","z-index":"1"}},null,8,Us),[[d]]),t("div",Is,[t("div",Bs,[t("img",{src:X.value.userAvatar||"",alt:"",style:{width:"50%",display:"block","border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:e[12]||(e[12]=(...n)=>p(_)&&p(_)(...n))},null,40,Rs)])])]),t("div",Ss,[l(t("img",{src:s("nameBg"),alt:"",style:{width:"100%",display:"block"}},null,8,js),[[d]]),t("div",Ms,[t("div",$s,c(X.value.userNickname),1)])]),t("div",As,[l(t("img",{src:s("timeBack"),alt:"",width:"13%",onClick:e[13]||(e[13]=n=>ut(1))},null,8,Cs),[[d]]),t("div",Es,c(X.value.group),1),l(t("img",{src:s("timeNext"),alt:"",width:"13%",onClick:e[14]||(e[14]=n=>ut(-1))},null,8,Gs),[[d]])])])],512),[[x,O.value]]),l(g(v,{style:{"min-height":"76.66vw",margin:"20% 0"},onClick:e[16]||(e[16]=B(()=>{},["stop"])),imgUrl:s("giftsBg"),contentStyle:"padding: 30% 5% 12%;display: flex;justify-content: space-between;"},{default:y(()=>[(u(!0),h(U,null,I(dt.value,n=>(u(),h("div",{style:{width:"30%"},key:n.id},[g(v,{style:{"min-height":"27vw"},imgUrl:s("giftItemBg")},{default:y(()=>[t("img",{src:n.giftPhoto,alt:"",style:{width:"50%","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"}},null,8,Os)]),_:2},1032,["imgUrl"]),t("div",Ds,[l(t("img",Ws,null,512),[[d]]),t("div",Ns,c(n.giftCandy),1)])]))),128))]),_:1},8,["imgUrl"]),[[x,D.value]]),W.value?(u(),h("div",{key:0,style:{"min-height":"108vw",position:"relative",margin:"20% 0"},onClick:e[18]||(e[18]=B(()=>{},["stop"]))},[l(t("img",{src:s("mediumBg"),alt:"",style:{width:"100%",display:"block"}},null,8,Ls),[[d]]),e[28]||(e[28]=t("div",{style:{position:"absolute",top:"10%",left:"25%",right:"25%",height:"13%",display:"flex","justify-content":"center","align-items":"center",color:"#fff","font-weight":"860"},class:"topTitle"}," Exchange ",-1)),t("div",Hs,[t("img",{src:$.value.propsGroup.activityRewardProps[0].cover,alt:"",style:{width:"50%",display:"block"}},null,8,Ps),t("div",null,"Permanent/"+c(JSON.parse($.value.rule.jsonData).need_fragments)+" Star",1),l(t("img",{src:s("ConfirmBt"),alt:"",style:{width:"30%",display:"block"},onClick:e[17]||(e[17]=n=>St($.value.rule.id))},null,8,zs),[[d]])])])):_t("",!0)]),_:1},8,["maskLayerShow"])])]))])}}},ii=xt(Fs,[["__scopeId","data-v-f5e8c9e1"]]);export{ii as default};