chatapp-h5/h5/js/index-C9T-kR-i-1776148658686.js
2026-04-14 17:58:21 +08:00

159 lines
61 KiB
JavaScript

import{_ as ht,j as o,c,b as e,D as l,n as V,q as v,l as p,m as f,Q as U,t as s,v as x,S as k,an as ft,k as Zt,P as Kt,o as ei,a as ti,ac as ii,Y as y,a_ as F,y as E,F as C,x as B,Z as dt,X as ni,J as ai,r as u,au as si,aJ as li,al as ri,u as oi,G as le,ag as di,ab as ci}from"./index-CIAVq8iD-1776148658686.js";import{_ as re}from"./coin-Dqu2_ND9-1776148658686.js";import{_ as He,a as ui,b as gi,c as vi,d as pi}from"./coinSeller-DYKB8f4A-1776148658686.js";import{_ as Me}from"./dollar-B_xazKD_-1776148658686.js";import{c as yi}from"./appConnector-B5Pbaops-1776148658686.js";import{g as wt}from"./imagePaths-Bi1Bwe4Z-1776148658686.js";import{p as ct}from"./imagePreloader-C_QM-Nv8-1776148658686.js";import{f as hi}from"./utcFormat-Cl3Lb3s0-1776148658686.js";import{a as $,s as ut,d as gt}from"./toast-aIWCznBB-1776148658686.js";import{h as T,a as vt}from"./imageHandler-DstQGL3Z-1776148658686.js";import{c as fi,g as wi}from"./payeeStore-BUBSCe8t-1776148658686.js";import{f as pt}from"./rewardFormatter-Dyjg93my-1776148658686.js";import{g as mi,b as _i}from"./activity-Dn8ZkLM2-1776148658686.js";import{o as bi,m as xi,c as ki,r as Ri,d as Ci,e as Bi,f as Ti,g as Si,h as Ui,A as ji,i as Vi,w as Ai,j as Ii,t as $i,k as zi,l as Ei}from"./lottery-BvmnIlAm-1776148658686.js";import{B as yt}from"./BackgroundLayer-DJYogygx-1776148658686.js";import{i as w}from"./itemCenter-DveKthYv-1776148658686.js";import{m as Ni}from"./MaskLayer-CMaJd7Gb-1776148658686.js";const Di={style:{width:"100%"}},Li=["src"],Pi=["src"],Fi={key:0,style:{display:"flex"}},Hi={__name:"topUser",props:{rankingType:{type:String,default:"activity"},ranking:{type:String,default:""},avatarUrl:{type:String,default:""},BorderImgUrl:{type:String,required:!0},name:{type:String,default:""},distributionValue:{type:String,default:""}},setup(S){const Z=ee=>wt("Activities/LesserBairam/",ee),g=S,oe=k(()=>g.ranking==="1"),de=k(()=>{switch(g.ranking){case"1":return"65%";case"2":return"65%";case"3":return"65%";default:return"65%"}}),ce=k(()=>{switch(g.ranking){case"1":return"50%";case"2":return"50%";case"3":return"50%";default:return"50%"}}),Ve=k(()=>{switch(g.ranking){case"1":return"37%";case"2":return"42%";case"3":return"43%";default:return"37%"}}),K=k(()=>{switch(g.ranking){case"1":return"60%";case"2":return"60%";case"3":return"60%";default:return"60%"}}),a=k(()=>{switch(g.ranking){case"1":return"30%";case"2":return"45%";case"3":return"45%";default:return"30%"}}),h=k(()=>{switch(g.ranking){case"1":return"50%";case"2":return"50%";case"3":return"50%";default:return"50%"}}),ue=k(()=>{switch(g.ranking){case"1":return"1em";case"2":return"0.9em";case"3":return"0.9em";default:return"0.9em"}});return(ee,te)=>{const ie=ft("smart-img");return o(),c("div",Di,[e("div",{style:V([{position:"relative"},{minHeight:S.ranking=="1"?"68.75vw":"45vw"}])},[l(e("img",{src:S.BorderImgUrl,alt:"",width:"100%",style:{display:"block",position:"relative","z-index":"2"}},null,8,Li),[[ie]]),e("div",{style:V([{position:"absolute",top:"0",left:"0",right:"0","z-index":"1",display:"flex","justify-content":"center","align-items":"center"},{height:de.value}])},[e("div",{style:V({width:ce.value})},[e("img",{src:S.avatarUrl||"",alt:"",width:"100%",style:{display:"block","border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:te[0]||(te[0]=(...ge)=>v(T)&&v(T)(...ge))},null,40,Pi)],4)],4),e("div",{style:V([{position:"absolute",bottom:"0",left:"0",right:"0","z-index":"3",display:"flex","flex-direction":"column","align-items":"center",gap:"1vw"},{height:Ve.value}])},[p(w,{imgUrl:Z("userNameBorder"),contentStyle:"",style:V({width:K.value,height:a.value})},{default:f(()=>[e("div",{style:{"font-weight":"700",direction:"ltr"},class:U(["showText",oe.value?"top1Text":"text"])},s(S.name),3)]),_:1},8,["imgUrl","style"]),e("div",{style:V([{"border-radius":"40px","box-shadow":"0 0 2.558px 0 rgba(0, 0, 0, 0.4) inset",border:"0.64px solid #ffdf36",padding:"1px 2px",display:"flex","justify-content":"center","align-items":"center"},{width:h.value,background:S.ranking=="1"?"linear-gradient(270deg, #AD1300 0%, #FE280C 50%, #AD1300 100%)":S.ranking=="2"?"linear-gradient(270deg, #A3FDF9 0%, #1D7BBD 50%, #A3FDF9 100%)":"linear-gradient(270deg, #F5EAE4 0%, #F9C29E 50%, #F5EAE4 100%)"}])},[S.rankingType=="activity"?(o(),c("div",Fi,[l(e("img",{src:re,alt:"",style:V([{display:"block"},{width:ue.value}])},null,4),[[ie]]),e("div",{style:V([{"font-weight":"590"},{color:S.ranking=="1"?"#FFE601":"#FFF"}]),class:U(["showText",oe.value?"top1Text":"text"])},s(S.distributionValue),7)])):x("",!0),S.rankingType=="recharge"?(o(),c("div",{key:1,style:V([{"font-weight":"590"},{color:S.ranking=="1"?"#FFE601":"#FFF"}]),class:U(["showText",oe.value?"top1Text":"text"])}," $* ",6)):x("",!0)],4)],4)],4)])}}},X=ht(Hi,[["__scopeId","data-v-a379a897"]]),Mi={class:"fullPage"},Gi={key:0,class:"loading-container"},Oi={key:1,class:"bg",style:{}},Wi=["src"],qi={style:{position:"relative","z-index":"2","margin-top":"145vw",display:"flex","flex-direction":"column","align-items":"center"}},Ji={style:{width:"44%",padding:"0 22.5vw 0 5vw",display:"flex","justify-content":"center"}},Yi={class:"timeText",style:{"padding-bottom":"2vw"}},Qi={style:{"padding-top":"2vw",flex:"1","min-width":"0",display:"flex","justify-content":"space-between"}},Xi={style:{width:"30%",display:"flex","justify-content":"center"}},Zi={class:"timeText",style:{}},Ki={style:{width:"30%",display:"flex","justify-content":"center"}},en={class:"timeText",style:{}},tn={style:{width:"30%",display:"flex","justify-content":"center"}},nn={class:"timeText",style:{}},an={style:{"min-height":"14.58vw",display:"flex","justify-content":"space-around","margin-top":"2vw"}},sn=["src"],ln=["src"],rn=["src"],on=["src"],dn=["src"],cn=["src"],un={style:{width:"100%"}},gn={style:{"padding-top":"4vw"}},vn={style:{width:"100vw",display:"flex","justify-content":"center","align-items":"center",gap:"10vw"}},pn=["src"],yn=["src"],hn={style:{width:"90%",display:"flex","justify-content":"space-around","margin-top":"10%"}},fn=["src"],wn={style:{display:"flex","justify-content":"center","align-items":"center",gap:"2px"}},mn={src:re,alt:"",style:{display:"block",width:"1.3em","aspect-ratio":"1/1"}},_n={style:{color:"rgba(255, 255, 255, 1)","font-weight":"590"}},bn={style:{"padding-top":"4vw"}},xn={style:{padding:"30vw 5vw 10vw",position:"relative","z-index":"0",display:"flex","flex-direction":"column",gap:"2vw"}},kn={style:{position:"absolute",inset:"15vw 3vw 3vw",overflow:"hidden"}},Rn=["src"],Cn={style:{position:"absolute","z-index":"0",inset:"0",display:"flex","flex-direction":"column"}},Bn=["src"],Tn=["src"],Sn={style:{position:"absolute","z-index":"-1",inset:"11vw 0 2vw",display:"flex","flex-direction":"column"}},Un=["src"],jn={style:{display:"flex","justify-content":"center"}},Vn={style:{position:"relative","z-index":"3",display:"flex","justify-content":"space-between","margin-top":"-40vw","pointer-events":"none"}},An={style:{flex:"1","min-width":"0",display:"flex","justify-content":"space-around","align-items":"center",gap:"4px"}},In={style:{width:"9vw",display:"flex","justify-content":"center"}},$n={style:{color:"#ffe601","font-weight":"700"}},zn={style:{width:"3.5em",margin:"0 1vw",position:"relative","z-index":"0"}},En=["src"],Nn={style:{flex:"1","min-width":"0",display:"flex","flex-direction":"column"}},Dn={style:{width:"100%","margin-top":"1vw"}},Ln={style:{height:"100%",display:"flex","align-items":"center",overflow:"hidden"}},Pn={key:0,class:"scroll-wrapper"},Fn={class:"scroll-content"},Hn={style:{color:"#fff","font-size":"1em","font-weight":"860","white-space":"nowrap"}},Mn={key:1,style:{width:"100%","text-align":"center"}},Gn={style:{color:"#fff","font-size":"1em","font-weight":"860","white-space":"nowrap"}},On={style:{color:"#fff","font-weight":"590"},class:"Textlittle"},Wn={style:{width:"auto","min-width":"0",display:"flex","align-items":"center"}},qn={src:re,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1","object-fit":"cover"}},Jn={style:{color:"#ffe601","font-weight":"700"},class:"Textlittle"},Yn={style:{display:"flex","flex-direction":"column",gap:"4vw",padding:"4vw 0 10vw"}},Qn={style:{height:"100%","align-self":"stretch",display:"flex","flex-direction":"column","align-items":"center"}},Xn={style:{width:"80%",height:"75%",padding:"6vw 0 2vw","min-width":"0","aspect-ratio":"1/1",display:"flex","justify-content":"center","align-items":"center"}},Zn=["src","onError"],Kn={style:{width:"80%",height:"5.5vw",display:"flex","justify-content":"center","align-items":"center"}},ea={style:{"min-width":"0","font-size":"1em","font-weight":"590",color:"#fff"}},ta={style:{"padding-top":"4vw"}},ia={style:{width:"100vw",display:"flex","justify-content":"center","align-items":"center",gap:"10vw"}},na=["src"],aa=["src"],sa={style:{"padding-top":"4vw"}},la={style:{padding:"30vw 5vw 10vw",position:"relative","z-index":"0",display:"flex","flex-direction":"column",gap:"2vw"}},ra={style:{position:"absolute",inset:"15vw 3vw 3vw",overflow:"hidden"}},oa=["src"],da={style:{position:"absolute","z-index":"0",inset:"0",display:"flex","flex-direction":"column"}},ca=["src"],ua=["src"],ga={style:{position:"absolute","z-index":"-1",inset:"11vw 0 2vw",display:"flex","flex-direction":"column"}},va=["src"],pa={style:{display:"flex","justify-content":"center"}},ya={style:{position:"relative","z-index":"3",display:"flex","justify-content":"space-between","margin-top":"-40vw","pointer-events":"none"}},ha={style:{flex:"1","min-width":"0",display:"flex","justify-content":"space-around","align-items":"center",gap:"4px"}},fa={style:{width:"9vw",display:"flex","justify-content":"center"}},wa={style:{color:"#ffe601","font-weight":"700"}},ma={style:{width:"3.5em",margin:"0 1vw",position:"relative","z-index":"0"}},_a=["src"],ba={style:{flex:"1","min-width":"0",display:"flex","flex-direction":"column"}},xa={style:{width:"100%","margin-top":"1vw"}},ka={style:{height:"100%",display:"flex","align-items":"center",overflow:"hidden"}},Ra={key:0,class:"scroll-wrapper"},Ca={class:"scroll-content"},Ba={style:{color:"#fff","font-size":"1em","font-weight":"860","white-space":"nowrap"}},Ta={key:1,style:{width:"100%","text-align":"center"}},Sa={style:{color:"#fff","font-size":"1em","font-weight":"860","white-space":"nowrap"}},Ua={style:{color:"#fff","font-weight":"590"},class:"Textlittle"},ja={style:{width:"auto","min-width":"0",display:"flex","align-items":"center"}},Va={style:{color:"#fff","font-weight":"700"}},Aa={style:{display:"flex","flex-direction":"column",gap:"2vw",padding:"4vw 0 10vw"}},Ia={style:{padding:"0 4vw"}},$a=["src"],za={style:{position:"relative",flex:"1","min-width":"0",height:"80%",display:"flex","flex-direction":"column","justify-content":"center",gap:"1vw"}},Ea={style:{"max-width":"70%","min-width":"0","font-weight":"500",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},Na={style:{display:"flex","justify-content":"space-between","align-items":"center","white-space":"nowrap"}},Da=["src"],La=["src"],Pa={style:{width:"80%",height:"75%",padding:"6vw 0 2vw","min-width":"0","aspect-ratio":"1/1",display:"flex","justify-content":"center","align-items":"center"}},Fa=["src","onError"],Ha={style:{width:"80%",height:"5.5vw",display:"flex","justify-content":"center","align-items":"center"}},Ma={style:{"min-width":"0","font-size":"1em","font-weight":"590",color:"#fff"}},Ga={style:{position:"absolute",bottom:"7vw",left:"0",right:"0",width:"100%",display:"flex","justify-content":"center","align-items":"center"}},Oa=["src"],Wa=["src","onClick"],qa=["src"],Ja={style:{padding:"4vw 0 10vw"}},Ya={style:{width:"100vw",display:"flex","justify-content":"center","align-items":"center",gap:"10vw"}},Qa=["src"],Xa=["src"],Za={style:{width:"100vw",position:"relative",display:"flex","flex-direction":"column",gap:"3vw"}},Ka=["src"],es={style:{width:"70%",flex:"1","min-width":"0","min-height":"0","padding-top":"20%",display:"flex","justify-content":"center","align-items":"center"}},ts=["src","alt"],is={style:{width:"100%",height:"25%","min-width":"0","min-height":"0",display:"flex","justify-content":"center","align-items":"center"}},ns={style:{"font-size":"0.9em","font-weight":"700",color:"#fff","text-shadow":"0 1px 0 #339370","white-space":"nowrap"}},as=["src"],ss={style:{display:"flex","justify-content":"center"}},ls={style:{"font-size":"1.3em","font-weight":"600"}},rs={style:{display:"flex","justify-content":"center",gap:"4vw"},class:"drawBts"},os={style:{color:"#fff","font-size":"2em","font-weight":"600"}},ds={style:{color:"#fff","font-size":"2em","font-weight":"600"}},cs={style:{position:"relative","z-index":"2",margin:"0 4vw","border-radius":"12px",background:`linear-gradient(
99deg,
rgba(211, 212, 213, 0.15) 12.86%,
rgba(139, 145, 147, 0.15) 15.34%,
rgba(87, 95, 99, 0.15) 17.82%,
rgba(55, 65, 69, 0.15) 18.64%,
rgba(43, 54, 58, 0.15) 19.47%,
rgba(52, 62, 66, 0.15) 22.77%,
rgba(77, 85, 89, 0.15) 26.9%,
rgba(117, 123, 126, 0.15) 32.68%,
rgba(173, 176, 177, 0.15) 38.46%,
rgba(205, 205, 206, 0.15) 41.76%,
rgba(198, 199, 200, 0.15) 43.41%,
rgba(180, 182, 184, 0.15) 45.06%,
rgba(151, 156, 158, 0.15) 46.71%,
rgba(111, 118, 122, 0.15) 49.19%,
rgba(72, 83, 87, 0.15) 50.84%,
rgba(76, 86, 90, 0.15) 52.49%,
rgba(89, 98, 102, 0.15) 54.97%,
rgba(112, 117, 120, 0.15) 57.45%,
rgba(143, 144, 146, 0.15) 59.1%,
rgba(152, 152, 154, 0.15) 59.92%,
rgba(165, 165, 166, 0.15) 63.23%,
rgba(199, 199, 200, 0.15) 70.66%,
rgba(255, 255, 255, 0.15) 78.91%,
rgba(209, 209, 210, 0.15) 81.39%,
rgba(79, 79, 83, 0.15) 87.17%,
rgba(27, 27, 32, 0.15) 90.47%,
rgba(49, 49, 54, 0.15) 91.3%,
rgba(77, 77, 81, 0.15) 92.12%,
rgba(116, 116, 118, 0.15) 92.95%,
rgba(165, 165, 167, 0.15) 94.6%,
rgba(233, 233, 233, 0.15) 95.43%
),
linear-gradient(0deg, #1f0f67 0%, #1f0f67 100%), #e8e8e8`,"background-blend-mode":"hard-light, normal, normal",padding:"12px",display:"flex","flex-direction":"column",gap:"12px"}},us={style:{"font-weight":"590"}},gs={style:{"border-radius":"8px",border:"1px solid rgba(64, 64, 64, 0.5)",background:"rgba(240, 240, 240, 0.3)","box-shadow":`-42px 103px 31px 0 rgba(145, 145, 145, 0),
-27px 66px 29px 0 rgba(145, 145, 145, 0.01),
-15px 37px 24px 0 rgba(145, 145, 145, 0.03),
-7px 17px 18px 0 rgba(145, 145, 145, 0.04),
-2px 4px 10px 0 rgba(145, 145, 145, 0.05)`,"backdrop-filter":"blur(7.5px)",display:"flex",padding:"8px","justify-content":"space-between","align-items":"center"}},vs={style:{width:"20%"}},ps=["src"],ys=["src"],hs=["src"],fs=["src"],ws={style:{width:"60%"}},ms={style:{color:"#fff","font-weight":"590","font-size":"0.9em"}},_s={style:{display:"flex","align-items":"center",gap:"8px"}},bs={style:{color:"#fff","font-weight":"590"}},xs=["src","alt"],ks={style:{color:"#fff","font-weight":"590"}},Rs={style:{width:"20%"}},Cs={style:{"font-size":"1em","font-weight":"600","white-space":"nowrap"}},Bs={style:{"font-size":"1em","font-weight":"600","white-space":"nowrap"}},Ts={style:{"font-size":"0.9em","font-weight":"600","white-space":"nowrap"}},Ss={style:{width:"100%",padding:"4vw",display:"flex","flex-direction":"column",gap:"3vw"}},Us={style:{"border-radius":"12px",background:`linear-gradient(
99deg,
rgba(211, 212, 213, 0.15) 12.86%,
rgba(139, 145, 147, 0.15) 15.34%,
rgba(87, 95, 99, 0.15) 17.82%,
rgba(55, 65, 69, 0.15) 18.64%,
rgba(43, 54, 58, 0.15) 19.47%,
rgba(52, 62, 66, 0.15) 22.77%,
rgba(77, 85, 89, 0.15) 26.9%,
rgba(117, 123, 126, 0.15) 32.68%,
rgba(173, 176, 177, 0.15) 38.46%,
rgba(205, 205, 206, 0.15) 41.76%,
rgba(198, 199, 200, 0.15) 43.41%,
rgba(180, 182, 184, 0.15) 45.06%,
rgba(151, 156, 158, 0.15) 46.71%,
rgba(111, 118, 122, 0.15) 49.19%,
rgba(72, 83, 87, 0.15) 50.84%,
rgba(76, 86, 90, 0.15) 52.49%,
rgba(89, 98, 102, 0.15) 54.97%,
rgba(112, 117, 120, 0.15) 57.45%,
rgba(143, 144, 146, 0.15) 59.1%,
rgba(152, 152, 154, 0.15) 59.92%,
rgba(165, 165, 166, 0.15) 63.23%,
rgba(199, 199, 200, 0.15) 70.66%,
rgba(255, 255, 255, 0.15) 78.91%,
rgba(209, 209, 210, 0.15) 81.39%,
rgba(79, 79, 83, 0.15) 87.17%,
rgba(27, 27, 32, 0.15) 90.47%,
rgba(49, 49, 54, 0.15) 91.3%,
rgba(77, 77, 81, 0.15) 92.12%,
rgba(116, 116, 118, 0.15) 92.95%,
rgba(165, 165, 167, 0.15) 94.6%,
rgba(233, 233, 233, 0.15) 95.43%
),
linear-gradient(0deg, #1f0f67 0%, #1f0f67 100%), #e8e8e8`,"background-blend-mode":"hard-light, normal, normal",padding:"16px 12px",display:"flex","align-items":"center",gap:"8px",position:"relative"}},js=["src"],Vs={style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-around",gap:"4px"}},As={style:{"max-width":"70%","min-width":"0","font-weight":"500",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},Is={style:{display:"flex","align-items":"center",gap:"2px"}},$s={style:{"font-weight":"600"}},zs={src:Me,alt:"",style:{display:"block",width:"1.5em","object-fit":"cover"}},Es={style:{"font-size":"1.2em","font-weight":"600"}},Ns={style:{"border-radius":"12px",background:`linear-gradient(
99deg,
rgba(211, 212, 213, 0.15) 12.86%,
rgba(139, 145, 147, 0.15) 15.34%,
rgba(87, 95, 99, 0.15) 17.82%,
rgba(55, 65, 69, 0.15) 18.64%,
rgba(43, 54, 58, 0.15) 19.47%,
rgba(52, 62, 66, 0.15) 22.77%,
rgba(77, 85, 89, 0.15) 26.9%,
rgba(117, 123, 126, 0.15) 32.68%,
rgba(173, 176, 177, 0.15) 38.46%,
rgba(205, 205, 206, 0.15) 41.76%,
rgba(198, 199, 200, 0.15) 43.41%,
rgba(180, 182, 184, 0.15) 45.06%,
rgba(151, 156, 158, 0.15) 46.71%,
rgba(111, 118, 122, 0.15) 49.19%,
rgba(72, 83, 87, 0.15) 50.84%,
rgba(76, 86, 90, 0.15) 52.49%,
rgba(89, 98, 102, 0.15) 54.97%,
rgba(112, 117, 120, 0.15) 57.45%,
rgba(143, 144, 146, 0.15) 59.1%,
rgba(152, 152, 154, 0.15) 59.92%,
rgba(165, 165, 166, 0.15) 63.23%,
rgba(199, 199, 200, 0.15) 70.66%,
rgba(255, 255, 255, 0.15) 78.91%,
rgba(209, 209, 210, 0.15) 81.39%,
rgba(79, 79, 83, 0.15) 87.17%,
rgba(27, 27, 32, 0.15) 90.47%,
rgba(49, 49, 54, 0.15) 91.3%,
rgba(77, 77, 81, 0.15) 92.12%,
rgba(116, 116, 118, 0.15) 92.95%,
rgba(165, 165, 167, 0.15) 94.6%,
rgba(233, 233, 233, 0.15) 95.43%
),
linear-gradient(0deg, #1f0f67 0%, #1f0f67 100%), #e8e8e8`,"background-blend-mode":"hard-light, normal, normal",padding:"12px","font-weight":"600",display:"flex","flex-direction":"column",gap:"8px"}},Ds={key:0,style:{"background-color":"transparent",display:"flex","flex-direction":"column",gap:"12px"}},Ls={key:0,style:{"border-radius":"8px",border:"1px solid rgba(64, 64, 64, 0.5)",background:"rgba(240, 240, 240, 0.3)","box-shadow":`-42px 103px 31px 0 rgba(145, 145, 145, 0),
-27px 66px 29px 0 rgba(145, 145, 145, 0.01),
-15px 37px 24px 0 rgba(145, 145, 145, 0.03),
-7px 17px 18px 0 rgba(145, 145, 145, 0.04),
-2px 4px 10px 0 rgba(145, 145, 145, 0.05)`,"backdrop-filter":"blur(7.5px)",padding:"12px"}},Ps={style:{display:"flex","align-items":"center"}},Fs={style:{position:"relative",width:"50px","margin-right":"12px"}},Hs=["src","alt"],Ms={style:{flex:"1"}},Gs={style:{margin:"0 0 4px 0","font-weight":"700"}},Os={style:{margin:"0","font-size":"0.9em","font-weight":"500"}},Ws={style:{"margin-left":"50px",display:"flex",gap:"5px"}},qs={key:0,src:gi,alt:"",width:"30%"},Js={key:1,src:vi,alt:"",width:"30%",style:{display:"block"}},Ys={key:2,src:pi,alt:"",width:"30%"},Qs={key:1,style:{display:"flex","justify-content":"center","align-items":"center","border-radius":"8px",border:"1px solid rgba(64, 64, 64, 0.5)",background:"rgba(240, 240, 240, 0.3)","box-shadow":`-42px 103px 31px 0 rgba(145, 145, 145, 0),
-27px 66px 29px 0 rgba(145, 145, 145, 0.01),
-15px 37px 24px 0 rgba(145, 145, 145, 0.03),
-7px 17px 18px 0 rgba(145, 145, 145, 0.04),
-2px 4px 10px 0 rgba(145, 145, 145, 0.05)`,"backdrop-filter":"blur(7.5px)",padding:"12px 0"}},Xs={style:{display:"grid","grid-template-columns":"repeat(3, 1fr)",gap:"12px"}},Zs=["onClick"],Ks={src:Me,alt:"",style:{width:"40%"}},el={style:{"font-weight":"500",color:"#fff"}},tl={style:{display:"flex","justify-content":"center","align-items":"center"}},il=["disabled"],nl={key:0,style:{"background-color":"transparent",display:"flex","flex-direction":"column",gap:"12px"}},al={style:{display:"grid","grid-template-columns":"repeat(3, 1fr)",gap:"12px"}},sl=["onClick"],ll={src:re,alt:"",style:{width:"40%"}},rl={style:{"font-size":"0.7em"}},ol={style:{display:"flex","align-items":"center",gap:"2px"}},dl={src:Me,alt:"",style:{display:"block",width:"1.5em","object-fit":"cover"}},cl={style:{"font-weight":"500",color:"#fff"}},ul={style:{display:"flex","justify-content":"center","align-items":"center"}},gl=["disabled"],vl={class:"flipImg",src:He,alt:"",style:{width:"1em",display:"block"}},pl={style:{height:"25vw"}},yl={style:{flex:"1","min-width":"0",display:"flex","justify-content":"space-around","align-items":"center",gap:"8px"}},hl={style:{width:"10vw",display:"flex","justify-content":"center"}},fl={style:{color:"#ffe601","font-weight":"700"}},wl=["src"],ml={style:{flex:"1","min-width":"0",display:"flex","flex-direction":"column"}},_l={style:{display:"flex","min-width":"0"}},bl={style:{color:"#fff","font-size":"1em","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis",direction:"ltr"}},xl={style:{width:"auto","min-width":"0",display:"flex","align-items":"center"}},kl={key:0,style:{display:"flex","justify-content":"center","align-items":"center"}},Rl={src:re,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1","object-fit":"cover"}},Cl={style:{color:"#ffe601","font-weight":"700"}},Bl={key:1,style:{color:"#fff","font-weight":"700"}},Tl={style:{width:"100%",display:"flex","justify-content":"space-between","align-items":"center",height:"45vw"}},Sl={style:{width:"8vw","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},Ul=["src"],jl=["src"],Vl={style:{width:"8vw","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},Al=["src"],Il={style:{width:"100%",height:"5vw","text-align":"center","font-size":"1.2em","font-weight":"590",position:"relative",color:"#efd47a","text-shadow":"0 1px 1px rgba(0, 0, 0, 0.5)"}},$l={key:0,class:"resultNum"},zl=["src"],El={style:{width:"100%",height:"100%","overflow-y":"auto",display:"flex","flex-direction":"column",gap:"8px"},class:"scrollY"},Nl={style:{"border-radius":"8px",border:"1px solid rgba(64, 64, 64, 0.5)",background:"rgba(240, 240, 240, 0.3)","box-shadow":`-42px 103px 31px 0 rgba(145, 145, 145, 0),
-27px 66px 29px 0 rgba(145, 145, 145, 0.01),
-15px 37px 24px 0 rgba(145, 145, 145, 0.03),
-7px 17px 18px 0 rgba(145, 145, 145, 0.04),
-2px 4px 10px 0 rgba(145, 145, 145, 0.05)`,"backdrop-filter":"blur(7.5px)",display:"flex",padding:"12px","justify-content":"space-between","align-items":"center"}},Dl={style:{display:"flex","align-items":"center",gap:"4px"}},Ll=["src"],Pl={style:{"font-weight":"590","font-size":"0.9em",direction:"ltr","text-align":"left"}},Fl={style:{"font-weight":"510","font-size":"0.8em",direction:"ltr","text-align":"left"}},Hl=["src"],Ml={class:"helpInfo"},Gl={style:{color:"darkgray"}},Ol={class:"helpInfo"},Wl={class:"helpInfo"},ql={__name:"index",setup(S){const Z=u(!0),{t:g,locale:oe}=Zt(),de=oi(),ce=ai(),Ve=Kt(),K=k(()=>Ve.selectedLang?.type||"en"),a=t=>wt("Activities/LesserBairam/",t),h=t=>K.value=="en"?t:`${t}_${K.value}`,ue=u(0),ee=u(0),te=u(0),ie=u(0);let ge=null;const ve=u(!1),pe=u(!1),ye=u(!1),he=u(!1),fe=u(!1),mt=k(()=>ve.value||pe.value||ye.value||he.value||fe.value),I=u(!0),G=u(!1),we=u(!1),H=u(!0),me=u(!1),O=u(!0),_e=u(!1),be=u(!0),xe=u(!1),ke=u(!1),Re=u(!1),b=u(null),_t=u([]),Ae=u([]),W=u({}),bt=u([]),Ge=k(()=>[...Ae.value,...bt.value]),j=k(()=>{let t=Ge.value.filter((i,d)=>d<3);if(t.length<3){let i=Array.from({length:3-t.length},()=>({avatar:"",nickname:"",account:"",amount:""}));t.push(...i)}return t}),xt=k(()=>Ge.value.filter((t,i)=>i>=3)),Oe=u([]),kt=k(()=>JSON.parse(JSON.stringify(Oe.value))),ne=u(1),Ie=u([]),Ce=u([]),$e=u(null),q=u({}),ze=k(()=>[...Ie.value,...Ce.value]),z=k(()=>{let t=ze.value.filter((i,d)=>d<3);if(t.length<3){let i=Array.from({length:3-t.length},()=>({userAvatar:"",userName:"",amount:""}));t.push(...i)}return t}),Rt=k(()=>ze.value.filter((t,i)=>i>=3)),J=u([]),Ee=u([]),We=u([]),N=u({}),D=u(0),Be=u(!1),Te=u(0),Ct=u({}),Ne=u({availableAmount:0}),A=u([]),L=u(0),qe=u([]),Se=u({}),Je=u({}),Ye=u([]),Bt=new Date("2026-04-04 05:00:00").getTime(),De=u(Bt),Le=t=>t<10?`0${t}`:t,Qe=()=>{const t=Date.now();let i=De.value-t;i<=0&&(rt(),De.value+=7*864e5,i=De.value-t);const d=Math.floor(i/1e3);ue.value=Math.floor(d/(24*3600)),ee.value=Le(Math.floor(d%(24*3600)/3600)),te.value=Le(Math.floor(d%3600/60)),ie.value=Le(Math.floor(d%60))},Y=t=>{I.value=t=="ranking",G.value=t=="recharge",we.value=t=="lottery",ae(""),b.value=null},P=t=>{switch(t){case"ranking":H.value=!0,me.value=!1;break;case"rewards":H.value=!1,me.value=!0;break;case"rechargeRank":O.value=!0,_e.value=!1;break;case"rechargeRewards":O.value=!1,_e.value=!0;break;case"task":be.value=!0,xe.value=!1;break;case"withdraw":be.value=!1,xe.value=!0;break}},ae=t=>{ke.value=t=="transfer"?!ke.value:!1,Re.value=t=="exchange"?!Re.value:!1,b.value=null},M=u(!0),Tt=t=>M.value?String(t||"0").replace(/\d/g,"*"):t||"0",St=u([a("rechargeReward100"),a("rechargeReward500"),a("rechargeReward1000"),a("rechargeReward3000"),a("rechargeReward5000"),a("rechargeReward10000")]),Ut=t=>{let i="";if(K.value=="ar"&&(i="direction: ltr;"),t==0)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 29vw 7vw 26vw 7vw;${i}`;if(t==1||t==2)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 29vw 7vw 26vw 7vw;${i}`;if(t==3||t==4||t==5)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 29vw 7vw 26vw 7vw;${i}`},Xe=()=>{de.push({path:"/search-payee",query:{from:"/activities/lesser-bairam",activeAction:"withdraw"}})},jt=()=>{de.push({path:"/cash-out",query:{activityId:"2006671533912581569"}})},Ze=t=>{const i=document.createElement("div");i.style.position="absolute",i.style.fontSize="1em",i.style.fontWeight="860",i.textContent=t,document.body.appendChild(i);const d=window.innerWidth*.3,r=i.getBoundingClientRect().width;return document.body.removeChild(i),r>d},Ke=u([{id:1,amount:10500,price:1},{id:2,amount:52500,price:5},{id:3,amount:105e3,price:10}]),et=t=>{b.value?.id==t.id?b.value=null:b.value=t},Vt=async()=>{if(!b.value){$(g("please_select_amount"));return}if(!R.value?.id){$(g("please_select_payee"));return}const t={amount:b.value.price,acceptUserId:R.value?.id,activityId:"2006671533912581569"};try{(await $i(t)).status?ut(g("transfer_dollar_success",{price:b.value.price,name:R.value?.name})):$(g("transfer_dollar_failed",{price:b.value.price})),b.value=null,se()}catch(i){i.errorCode===5e3?gt(g("insufficient_item_vouchers")):$(i.errorMsg)}},At=async()=>{if(!b.value){$(g("please_select_amount"));return}const t={amount:b.value.price,activityId:"2006671533912581569"};try{(await zi(t)).status?ut(g("exchange_success_coins",{amount:b.value.amount})):$(g("exchange_failed_coins",{amount:b.value.amount})),b.value=null,se()}catch(i){i.errorCode===5e3?gt(g("insufficient_item_vouchers")):$(i.errorMsg)}},Ue=t=>{switch(Q(!1),t){case"rankingHelp":ve.value=!0;break;case"rechargeRankingHelp":pe.value=!0;break;case"withdrawalHelp":ye.value=!0;break;case"result":he.value=!0;break;case"history":fe.value=!0;break}},Q=(t=!0)=>{ve.value=!1,pe.value=!1,ye.value=!1,he.value=!1,fe.value=!1,t&&(A.value=[]),L.value=0},It=t=>[{gridArea:"1/1"},{gridArea:"1/2"},{gridArea:"1/3"},{gridArea:"2/3"},{gridArea:"3/3"},{gridArea:"3/2"},{gridArea:"3/1"},{gridArea:"2/1"}][t],tt=t=>(console.log("开始抽奖动画"),new Promise(i=>{D.value=-1;let d=200,r=0,n=0,_=1;const m=()=>{D.value=(D.value+1)%N.value.prizeList.length,console.log("当前索引:",D.value),D.value===t&&d>200?setTimeout(()=>{i()},500):(D.value===N.value.prizeList.length-1&&r++,r<_?d-=20:(D.value===N.value.prizeList.length-1&&n++,n>2&&(d+=20)),setTimeout(m,d))};m()})),it=async(t=1)=>{if(!Be.value&&Te.value>=t){Be.value=!0;let i={activityId:"2006671533912581569",drawCount:t};try{if(t==1){const d=await bi(i);if(d.status&&d.body){Pe(),je(),se(),A.value=[d.body];const r=d.body,n=N.value.prizeList.findIndex(_=>_.prizeName==r?.prize.prizeName);console.log("index:",n),await tt(n)}}else{const d=await xi(i);if(d.status&&d.body){Pe(),je(),se(),A.value=d.body.results;let r=N.value.prizeList.findIndex(n=>n.prizeName==A.value[0]?.prize.prizeName);console.log("index:",r),await tt(r)}}lt(),Ue("result"),Be.value=!1}catch(d){Be.value=!1,d.response.errorCode==3274&&$("Device has been used by another account")}}},$t=t=>{if(t.targetType=="MIC_TIME"){let i=t.targetValue<60,d=i?t.currentValue:t.currentValue/60,r=i?t.targetValue:t.targetValue/60;d=Math.floor(d*10)/10,r=Math.floor(r*10)/10;let n=g(i?"minutes_short":"hours_short");return g("on_mic_progress",{current:d,total:r,unit:n})}else if(t.targetType=="SEND_GIFT"){if(t.taskCode=="SP_SEND_GIFT_5")return g("Send 5 Ramadan gifts ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue})}else if(t.targetType=="SAVE_COINS"){if(t.taskCode=="SP_SAVE_50000")return g("Win 50,000 coins in total across any games ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue});if(t.taskCode=="SP_SAVE_100000")return g("Win 100,000 coins in total across any games ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue});if(t.taskCode=="SP_SAVE_500000")return g("Win 500,000 coins in total across any games ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue})}else if(t.targetType=="RECHARGE_AMOUNT"){if(t.taskCode=="SP_RECHARGE_1")return g("Daily total recharge amount: $1 ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue});if(t.taskCode=="SP_RECHARGE_10")return g("Daily total recharge amount: $10 ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue});if(t.taskCode=="SP_RECHARGE_50")return g("Daily total recharge amount: $50 ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue});if(t.taskCode=="SP_RECHARGE_100")return g("Daily total recharge amount: $100 ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue})}else return`${t.taskName}(${t.currentValue}/${t.targetValue})`},R=u({}),zt=()=>{const t=wi();t&&(Object.assign(R.value,t),Y("lottery"),P("withdraw"),ae("transfer"))},Et=()=>{Object.assign(R.value,{id:null,account:"",name:"",avatar:"",type:"",isHost:!1,isAgency:!1,hasSalary:!1}),fi()},Nt=async()=>{const t=await ki("2006671533912581569");t.status&&t.body&&(_t.value=t.body)},Dt=async()=>{if(Object.keys(Se.value).length===0){const i=await si();i.status&&i.body&&(li(i.body,null),Se.value=i.body)}const t=await ri();t.status&&t.body&&(Je.value=t.body)},Lt=async()=>{const i=await mi({activityType:16});i.status&&i.body?(W.value=i.body?.currentUserRank,Ae.value=i.body?.rankingList,Pt()):(Ae.value=[],W.value={})},Pt=async()=>{const t=await _i("2033805143824084994");if(t.status&&t.body){We.value=t.body.gifts;let i=t.body.butOneRewards;Oe.value=i.filter((d,r)=>r<3)}},nt=async()=>{ne.value==0&&(ne.value=1);let t={activityId:"2006671533912581569",pageNo:ne.value,pageSize:20};const i=await Ri(t);i.status&&i.body?(q.value=i.body?.currentUser,i.body.topList.length>0&&(i.body.topList.length==20?(Ce.value=[],Ie.value.push(...i.body?.topList),ne.value++):Ce.value=i.body?.topList)):(q.value={},Ie.value=[],Ce.value=[],ne.value=1)},Ft=async()=>{const t=await Ci("2006671533912581569");t.status&&t.body?J.value=t.body:J.value={}},at=async()=>{const i=await Bi({activityType:"CONSUMPTION_ACTIVITY",activityId:"2006671533912581569"});i.status&&i.body?Ee.value=i.body.map(d=>{let r=JSON.parse(d.jsonData),n=[];return d.sort==1?n=[]:d.sort==2?n=[]:d.sort==3?n=[]:d.sort==4?n=[{type:"GIFT",cover:a("reward_gift"),content:1}]:d.sort==5?n=[{type:"GIFT",cover:a("reward_gift"),content:1}]:d.sort==6&&(n=[{type:"GIFT",cover:a("reward_gift"),content:1},{type:"PROPS",detailType:"AVATAR_FRAME",cover:a("reward_frame"),quantity:365},{type:"PROPS",detailType:"RIDE",cover:a("reward_ride"),quantity:60}]),d.rewardProps.push(...n),d={...d,...r},d}):Ee.value=[]},Ht=async t=>{let i={activityType:t.activityType,activityId:"2006671533912581569",ruleId:t.ruleId};try{const d=await Ii(i);d.status&&d.body&&at()}catch(d){$(d.errorMsg)}},Mt=async()=>{se();const t=await Ti("81569");t.status&&t.body?N.value=t.body:N.value={}},je=async()=>{const t=await Ui("2006671533912581569");t.status&&t.body?Te.value=t.body:Te.value=0},Pe=async()=>{const t=await Si("2006671533912581569");t.status&&t.body&&(Ct.value=t.body)},se=async()=>{const t=await Ai("2006671533912581569");t.status&&t.body&&(Ne.value=t.body)},st=async()=>{const t=await ji("2006671533912581569");t.status&&t.body&&(Ye.value=t.body)},lt=async()=>{const t=await Vi("81569");t.status&&t.body&&(qe.value=t.body?.records||[])},Gt=async t=>{let i={activityId:"2006671533912581569",taskCode:t};try{const d=await Ei(i);d.status&&d.body&&(st(),je())}catch(d){$(d.errorMsg)}},rt=async()=>{await Promise.all([Dt(),zt(),Nt(),Lt(),nt(),Ft(),at(),Mt(),Pe(),je(),st(),lt()])},Ot=async()=>{const t=[a("bg1"),a("bg2"),a("timeBg"),a(h("rankBt")),a(h("rankBtActive")),a(h("rechargeBt")),a(h("rechargeBtActive")),a(h("lotteryBt")),a(h("lotteryBtActive")),a(h("rankingBt")),a("rewardsBt"),a("eventGiftsBg"),a("giftBg"),a("rankingImgBg"),a("RankingTopBorder"),a("RankingBottomBorder"),a("RankingBorder"),a("historyBt"),a("itemFrom4Bg"),a("userNameBorder"),a("top1"),a("top2"),a("top3"),a(h("rechargeRankBt"))];await ct(t)},Wt=async()=>{await ct([])},qt=async()=>{try{await Promise.all([Ot()])}catch(t){console.error("预加载过程中发生错误:",t)}finally{Z.value=!1,await ci(),$e.value&&(console.log("监控加载模块"),Xt.observe($e.value))}},Jt=async()=>{await yi(()=>{qt()})},Yt=()=>{Qe(),ge=setInterval(Qe,1e3)},Qt=ni(()=>{nt()},1e3),Xt=new IntersectionObserver(t=>{t.forEach(i=>{i.intersectionRatio>0&&ze.value.length!=0&&(console.log("触发RankingLoadmore加载"),Qt())})});return ei(async()=>{console.log("route.query.activeAction:",ce.query.activeAction),ce.query.activeAction=="withdraw"?(Y("lottery"),P("withdraw"),ae("transfer")):Y("ranking"),await Jt(),rt(),Yt(),Wt()}),ti(()=>{clearInterval(ge),Et()}),(t,i)=>{const d=ii,r=ft("smart-img");return o(),c("div",Mi,[Z.value?(o(),c("div",Gi,[p(yt,{backgroundImages:[a("bg1"),a("bg2")]},null,8,["backgroundImages"]),p(d),e("p",null,s(t.$t("loading"))+"...",1)])):x("",!0),Z.value?x("",!0):(o(),c("div",Oi,[p(yt,{backgroundImages:[a("bg1"),a("bg2")]},null,8,["backgroundImages"]),e("div",{class:"background-overlay",style:V({"--bg2-url":`url(${a("bg3")})`})},null,4),l(e("img",{src:a("historyBt"),alt:"",style:{width:"8vw",position:"absolute","z-index":"2",top:"16vw",right:"7vw"},onClick:i[0]||(i[0]=n=>Ue("rankingHelp"))},null,8,Wi),[[r]]),e("div",qi,[p(w,{style:{width:"87%","min-height":"16.76vw"},imgUrl:a("timeBg"),contentStyle:"direction:ltr;"},{default:f(()=>[e("div",Ji,[e("div",Yi,s(ue.value),1)]),e("div",Qi,[e("div",Xi,[e("div",Zi,s(ee.value),1)]),e("div",Ki,[e("div",en,s(te.value),1)]),e("div",tn,[e("div",nn,s(ie.value),1)])])]),_:1},8,["imgUrl"]),e("div",an,[e("div",{style:{width:"30%",position:"relative",display:"flex","flex-direction":"column-reverse"},onClick:i[1]||(i[1]=n=>Y("ranking"))},[l(e("img",{src:a(h("rankBt")),alt:"",style:{display:"block",width:"100%"}},null,8,sn),[[y,!I.value],[r]]),l(e("img",{src:a(h("rankBtActive")),alt:"",style:{display:"block",width:"100%"}},null,8,ln),[[y,I.value],[r]])]),e("div",{style:{width:"30%",position:"relative",display:"flex","flex-direction":"column-reverse"},onClick:i[2]||(i[2]=n=>Y("recharge"))},[l(e("img",{src:a(h("rechargeBt")),alt:"",style:{display:"block",width:"100%"}},null,8,rn),[[y,!G.value],[r]]),l(e("img",{src:a(h("rechargeBtActive")),alt:"",style:{display:"block",width:"100%"}},null,8,on),[[y,G.value],[r]])]),e("div",{style:{width:"30%",position:"relative",display:"flex","flex-direction":"column-reverse"},onClick:i[3]||(i[3]=n=>Y("lottery"))},[l(e("img",{src:a(h("lotteryBt")),alt:"",style:{display:"block",width:"100%"}},null,8,dn),[[y,!we.value],[r]]),l(e("img",{src:a(h("lotteryBtActive")),alt:"",style:{display:"block",width:"100%"}},null,8,cn),[[y,we.value],[r]])])]),e("div",un,[l(e("div",gn,[e("div",vn,[e("div",{style:{width:"30vw","min-width":"0"},onClick:i[4]||(i[4]=n=>P("ranking"))},[l(e("img",{src:a(h("rankingBt")),alt:"",class:U({"grayscale-container":!H.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,pn),[[r]])]),e("div",{style:{width:"30vw","min-width":"0"},onClick:i[5]||(i[5]=n=>P("rewards"))},[l(e("img",{src:a(h("rewardsBt")),alt:"",class:U({"grayscale-container":!me.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,yn),[[r]])])]),l(p(w,{style:{"min-height":"73.86vw"},imgUrl:a("eventGiftsBg")},{default:f(()=>[e("div",hn,[(o(!0),c(C,null,B(We.value,(n,_)=>(o(),c("div",{key:_,style:{width:"30%",display:"flex","flex-direction":"column"}},[p(w,{style:{"min-height":"27vw"},imgUrl:a("giftBg")},{default:f(()=>[e("img",{src:n.giftPhoto,alt:"",width:"60%",style:{display:"block","object-fit":"cover"}},null,8,fn)]),_:2},1032,["imgUrl"]),e("div",wn,[l(e("img",mn,null,512),[[r]]),e("div",_n,s(n.giftCandy),1)])]))),128))])]),_:1},8,["imgUrl"]),[[y,H.value]]),l(e("div",bn,[e("div",xn,[e("div",kn,[l(e("img",{src:a("rankingImgBg"),alt:"",style:{position:"absolute",inset:"0","z-index":"-1",width:"94vw"}},null,8,Rn),[[r]])]),e("div",Cn,[l(e("img",{src:a("RankingTopBorder"),alt:"",style:{display:"block",width:"100%","min-width":"0"}},null,8,Bn),[[r]]),i[37]||(i[37]=e("div",{style:{flex:"1","min-width":"0"}},null,-1)),l(e("img",{src:a("RankingBottomBorder"),alt:"",style:{display:"block",width:"100%","min-width":"0"}},null,8,Tn),[[r]]),e("div",Sn,[l(e("img",{src:a("RankingBorder"),alt:"",style:{display:"block",width:"100%",height:"100%","min-width":"0"}},null,8,Un),[[r]])])]),e("div",null,[e("div",jn,[p(X,{rankingType:"activity",ranking:"1",BorderImgUrl:a("top1"),avatarUrl:j.value[0].avatar,name:j.value[0].nickname,distributionValue:j.value[0].quantity,style:{width:"45%"},onClick:i[6]||(i[6]=n=>v(F)(j.value[0].userId))},null,8,["BorderImgUrl","avatarUrl","name","distributionValue"])]),e("div",Vn,[e("div",{style:{"pointer-events":"auto",width:"30%"},onClick:i[7]||(i[7]=E(n=>v(F)(j.value[1].userId),["stop"]))},[p(X,{rankingType:"activity",ranking:"2",BorderImgUrl:a("top2"),avatarUrl:j.value[1].avatar,name:j.value[1].nickname,distributionValue:j.value[1].quantity,style:{width:"100%"}},null,8,["BorderImgUrl","avatarUrl","name","distributionValue"])]),e("div",{style:{"pointer-events":"auto",width:"30%"},onClick:i[8]||(i[8]=E(n=>v(F)(j.value[2].userId),["stop"]))},[p(X,{rankingType:"activity",ranking:"3",BorderImgUrl:a("top3"),avatarUrl:j.value[2].avatar,name:j.value[2].nickname,distributionValue:j.value[2].quantity,style:{width:"100%"}},null,8,["BorderImgUrl","avatarUrl","name","distributionValue"])])])]),(o(!0),c(C,null,B(xt.value,(n,_)=>(o(),c("div",{key:n.userId,style:{display:"flex","flex-direction":"column",gap:"1vw"}},[p(w,{style:{"min-height":"20.43vw"},imgUrl:a("itemFrom4Bg"),contentStyle:"padding: 0 2vw",lazy:!0,onClick:m=>v(F)(n.userId)},{default:f(()=>[e("div",An,[e("div",In,[e("div",$n,s(n?.rank),1)]),e("div",zn,[e("img",{src:n?.avatar||"",alt:"",style:{display:"block",width:"100%","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:i[9]||(i[9]=(...m)=>v(T)&&v(T)(...m))},null,40,En)]),e("div",Nn,[p(w,{style:{width:"30vw",height:"10vw","min-width":"0"},imgUrl:a("userNameBorder"),contentStyle:"padding:0;",lazy:!0},{default:f(()=>[e("div",Dn,[e("div",Ln,[Ze(n?.nickname||"")?(o(),c("div",Pn,[(o(),c(C,null,B(2,m=>e("div",Fn,[e("div",Hn,s(n?.nickname),1)])),64))])):(o(),c("div",Mn,[e("div",Gn,s(n?.nickname),1)]))])])]),_:2},1032,["imgUrl"]),e("div",On,s(t.$t("user_id_prefix"))+" "+s(n?.specialAccount||n?.account),1)])]),e("div",Wn,[l(e("img",qn,null,512),[[r]]),e("div",Jn,s(n?.quantity||0),1)])]),_:2},1032,["imgUrl","onClick"])]))),128))])],512),[[y,H.value]]),l(e("div",Yn,[(o(!0),c(C,null,B(kt.value,(n,_)=>(o(),le(w,{style:{"min-height":"112.26vw"},imgUrl:a(`rewardTop${_+1}`),contentStyle:`
inset: 31vw 7vw 21vw;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 1fr);
gap:6vw 4vw;
`},{default:f(()=>[(o(!0),c(C,null,B(n.rewards,(m,ot)=>(o(),c("div",Qn,[e("div",Xn,[e("img",{src:m.cover||"",alt:"",style:{display:"block","min-width":"0",width:"80%",height:"100%","object-fit":"contain"},onError:Fe=>v(vt)(Fe,m.type)},null,40,Zn)]),e("div",Kn,[e("div",ea,s(v(pt)(m.type,m)),1)])]))),256))]),_:2},1032,["imgUrl"]))),256))],512),[[y,me.value]])],512),[[y,I.value]]),l(e("div",ta,[e("div",ia,[e("div",{style:{width:"30vw","min-width":"0"},onClick:i[10]||(i[10]=n=>P("rechargeRank"))},[l(e("img",{src:a(h("rechargeRankBt")),alt:"",class:U({"grayscale-container":!O.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,na),[[r]])]),e("div",{style:{width:"30vw","min-width":"0"},onClick:i[11]||(i[11]=n=>P("rechargeRewards"))},[l(e("img",{src:a(h("rewardsBt")),alt:"",class:U({"grayscale-container":!_e.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,aa),[[r]])])]),l(e("div",sa,[e("div",la,[e("div",ra,[l(e("img",{src:a("rankingImgBg"),alt:"",style:{position:"absolute",inset:"0","z-index":"-1",width:"94vw"}},null,8,oa),[[r]])]),e("div",da,[l(e("img",{src:a("RankingTopBorder"),alt:"",style:{display:"block",width:"100%","min-width":"0"}},null,8,ca),[[r]]),i[38]||(i[38]=e("div",{style:{flex:"1","min-width":"0"}},null,-1)),l(e("img",{src:a("RankingBottomBorder"),alt:"",style:{display:"block",width:"100%","min-width":"0"}},null,8,ua),[[r]]),e("div",ga,[l(e("img",{src:a("RankingBorder"),alt:"",style:{display:"block",width:"100%",height:"100%","min-width":"0"}},null,8,va),[[r]])])]),e("div",null,[e("div",pa,[p(X,{rankingType:"recharge",ranking:"1",BorderImgUrl:a("top1"),avatarUrl:z.value[0].userAvatar,name:z.value[0].userName,distributionValue:"",style:{width:"45%"},onClick:i[12]||(i[12]=n=>v(F)(z.value[0].userId))},null,8,["BorderImgUrl","avatarUrl","name"])]),e("div",ya,[e("div",{style:{"pointer-events":"auto",width:"30%"},onClick:i[13]||(i[13]=E(n=>v(F)(z.value[1].userId),["stop"]))},[p(X,{rankingType:"recharge",ranking:"2",BorderImgUrl:a("top2"),avatarUrl:z.value[1].userAvatar,name:z.value[1].userName,distributionValue:"",style:{width:"100%"}},null,8,["BorderImgUrl","avatarUrl","name"])]),e("div",{style:{"pointer-events":"auto",width:"30%"},onClick:i[14]||(i[14]=E(n=>v(F)(z.value[2].userId),["stop"]))},[p(X,{rankingType:"recharge",ranking:"3",BorderImgUrl:a("top3"),avatarUrl:z.value[2].userAvatar,name:z.value[2].userName,distributionValue:"",style:{width:"100%"}},null,8,["BorderImgUrl","avatarUrl","name"])])])]),(o(!0),c(C,null,B(Rt.value,(n,_)=>(o(),c("div",{key:n.userId,style:{display:"flex","flex-direction":"column",gap:"1vw"}},[p(w,{style:{"min-height":"20.43vw"},imgUrl:a("itemFrom4Bg"),contentStyle:"padding: 0 2vw",lazy:!0,onClick:m=>v(F)(n.userId)},{default:f(()=>[e("div",ha,[e("div",fa,[e("div",wa,s(n?.rank),1)]),e("div",ma,[e("img",{src:n?.userAvatar||"",alt:"",style:{display:"block",width:"100%","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:i[15]||(i[15]=(...m)=>v(T)&&v(T)(...m))},null,40,_a)]),e("div",ba,[p(w,{style:{width:"30vw",height:"10vw","min-width":"0"},imgUrl:a("userNameBorder"),contentStyle:"padding:0;",lazy:!0},{default:f(()=>[e("div",xa,[e("div",ka,[Ze(n?.userName||"")?(o(),c("div",Ra,[(o(),c(C,null,B(2,m=>e("div",Ca,[e("div",Ba,s(n?.userName),1)])),64))])):(o(),c("div",Ta,[e("div",Sa,s(n?.userName),1)]))])])]),_:2},1032,["imgUrl"]),e("div",Ua,s(t.$t("user_id_prefix"))+" "+s(n?.specialAccount||n?.account),1)])]),e("div",ja,[e("div",Va,"$"+s(n?.amount),1)])]),_:2},1032,["imgUrl","onClick"])]))),128)),e("div",{ref_key:"RankingLoadmore",ref:$e},null,512)])],512),[[y,O.value]]),l(e("div",Aa,[e("div",Ia,[p(w,{style:{"min-height":"39.05vw","z-index":"0"},imgUrl:a("earningInfoBg"),flip:!0,contentStyle:"inset:7vw 10vw 9vw 9vw;justify-content: space-between;gap: 10vw;"},{default:f(()=>[e("img",{src:J.value?.userAvatar||"",alt:"",style:{position:"relative","z-index":"-1",width:"23vw","min-width":"0","border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:i[16]||(i[16]=(...n)=>v(T)&&v(T)(...n))},null,40,$a),e("div",za,[l(e("img",{src:ui,alt:"",class:"ruleBt",onClick:i[17]||(i[17]=n=>Ue("rechargeRankingHelp"))},null,512),[[r]]),e("div",Ea,s(J.value?.userName||""),1),e("div",null,s(t.$t("user_id_prefix"))+" "+s(J.value?.account),1),e("div",Na,[e("div",null,s(v(g)("Accumulated recharge"))+":$"+s(Tt(J.value?.totalAmount)),1),l(e("img",{src:a("rechargeNumHidden"),alt:"",style:{width:"5vw",display:"block","object-fit":"cover"},onClick:i[18]||(i[18]=n=>M.value=!M.value)},null,8,Da),[[y,M.value],[r]]),l(e("img",{src:a("rechargeNumShow"),alt:"",style:{width:"5vw",display:"block","object-fit":"cover"},onClick:i[19]||(i[19]=n=>M.value=!M.value)},null,8,La),[[y,!M.value],[r]])])])]),_:1},8,["imgUrl"])]),(o(!0),c(C,null,B(Ee.value,(n,_)=>(o(),le(w,{style:V([{minHeight:_<=2?"112.26vw":"142.39vw"},{}]),imgUrl:St.value[_],contentStyle:Ut(_)},{default:f(()=>[(o(!0),c(C,null,B(n.rewardProps,(m,ot)=>(o(),c("div",{key:ot,style:{width:"100%","align-self":"stretch",display:"flex","flex-direction":"column","align-items":"center"}},[e("div",Pa,[e("img",{src:m.cover||"",alt:"",style:{display:"block","min-width":"0",width:"80%",height:"100%","object-fit":"contain"},onError:Fe=>v(vt)(Fe,m.type)},null,40,Fa)]),e("div",Ha,[e("div",Ma,s(v(pt)(m.type,m)),1)])]))),128)),e("div",Ga,[n.claimStatus==-1?l((o(),c("img",{key:0,class:"grayscale-container",src:a(h("receiveBt")),alt:"",style:{width:"40vw",display:"block","object-fit":"cover"}},null,8,Oa)),[[r]]):x("",!0),n.claimStatus==0?l((o(),c("img",{key:1,src:a(h("receiveBt")),alt:"",style:{width:"40vw",display:"block","object-fit":"cover"},onClick:m=>Ht(n)},null,8,Wa)),[[r]]):x("",!0),n.claimStatus==1?l((o(),c("img",{key:2,src:a(h("receivedBt")),alt:"",style:{width:"40vw",display:"block","object-fit":"cover"}},null,8,qa)),[[r]]):x("",!0)])]),_:2},1032,["style","imgUrl","contentStyle"]))),256))],512),[[y,_e.value]])],512),[[y,G.value]]),l(e("div",Ja,[e("div",Ya,[e("div",{style:{width:"30vw","min-width":"0"},onClick:i[20]||(i[20]=n=>P("task"))},[l(e("img",{src:a(h("taskBt")),alt:"",class:U({"grayscale-container":!be.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,Qa),[[r]])]),e("div",{style:{width:"30vw","min-width":"0"},onClick:i[21]||(i[21]=n=>P("withdraw"))},[l(e("img",{src:a(h("redeemBt")),alt:"",class:U({"grayscale-container":!xe.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,Xa),[[r]])])]),l(e("div",Za,[l(e("img",{src:a("resultBt"),alt:"",style:{width:"6vw",position:"absolute","z-index":"2",top:"19.5vw",right:"1vw"},onClick:i[22]||(i[22]=n=>Ue("history"))},null,8,Ka),[[r]]),p(w,{style:{"min-height":"99.73vw","margin-top":"6vw"},imgUrl:a("lottery"),contentStyle:`
inset:9vw 10.5vw 9vw 10vw;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
gap: 2vw 2.5vw;
direction: ltr;`},{default:f(()=>[(o(!0),c(C,null,B(N.value.prizeList,(n,_)=>(o(),c("div",{style:V([{"align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-between","align-items":"center",position:"relative",padding:"0"},[It(_)]])},[e("div",es,[e("img",{src:n.prizeImage||"",alt:n.prizeName||"",style:{width:"70%",display:"block","object-fit":"cover"}},null,8,ts)]),e("div",is,[e("div",ns,s(n.prizeName),1)]),l(e("img",{src:a("prizeActiveFrame"),alt:"",style:{display:"block",width:"105%",position:"absolute",inset:"50% 0 0 50%",transform:"translate(-50%, -50%)"}},null,8,as),[[r],[y,D.value===_]])],4))),256))]),_:1},8,["imgUrl"]),e("div",ss,[e("div",ls,s(t.$t("remaining_lottery_tickets"))+": "+s(Te.value),1)]),e("div",rs,[p(w,{style:{"min-height":"20.11vw",width:"45vw"},imgUrl:a("draw1BtBg"),contentStyle:"",onClick:i[23]||(i[23]=n=>it(1))},{default:f(()=>[e("div",os,s(t.$t("single_spin")),1)]),_:1},8,["imgUrl"]),p(w,{style:{"min-height":"20.11vw",width:"45vw"},imgUrl:a("draw10BtBg"),contentStyle:"",onClick:i[24]||(i[24]=n=>it(10))},{default:f(()=>[e("div",ds,s(t.$t("ten_spin")),1)]),_:1},8,["imgUrl"])]),e("div",cs,[e("div",us,s(v(g)("Task for tickets")),1),(o(!0),c(C,null,B(Ye.value,n=>(o(),c("div",gs,[e("div",vs,[n.taskType==1?l((o(),c("img",{key:0,src:a("taskTalk"),alt:"",width:"100%",style:{display:"block"}},null,8,ps)),[[r]]):x("",!0),n.taskType==2?l((o(),c("img",{key:1,src:a("taskGift"),alt:"",width:"100%",style:{display:"block"}},null,8,ys)),[[r]]):x("",!0),n.taskType==4?l((o(),c("img",{key:2,src:a("taskGame"),alt:"",width:"100%",style:{display:"block"}},null,8,hs)),[[r]]):x("",!0),n.taskType==5?l((o(),c("img",{key:3,src:a("taskRecharge"),alt:"",width:"100%",style:{display:"block"}},null,8,fs)),[[r]]):x("",!0)]),e("div",ws,[e("div",ms,s($t(n)),1),e("div",_s,[e("div",bs,s(v(g)("Rewards:")),1),l(e("img",{src:a("ticket"),alt:v(g)("ticket"),width:"15%",style:{display:"block"}},null,8,xs),[[r]]),e("div",ks,"*"+s(n.rewardValue),1)])]),e("div",Rs,[n.taskStatus==0?(o(),le(w,{key:0,style:{"min-height":"7.79vw"},imgUrl:a("taskBtGo")},{default:f(()=>[e("div",Cs,s(v(g)("task_go")),1)]),_:1},8,["imgUrl"])):n.taskStatus===1?(o(),le(w,{key:1,style:{"min-height":"7.79vw"},imgUrl:a("taskBtReceive"),onClick:_=>Gt(n.taskCode)},{default:f(()=>[e("div",Bs,s(v(g)("task_receive")),1)]),_:1},8,["imgUrl","onClick"])):(o(),le(w,{key:2,style:{"min-height":"7.79vw"},imgUrl:a("taskBtReceived")},{default:f(()=>[e("div",Ts,s(v(g)("task_received")),1)]),_:1},8,["imgUrl"]))])]))),256))])],512),[[y,be.value]]),l(e("div",Ss,[e("div",Us,[e("img",{src:Se.value.userAvatar||"",alt:"",style:{width:"12vw","min-width":"0","border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:i[25]||(i[25]=(...n)=>v(T)&&v(T)(...n))},null,40,js),e("div",Vs,[e("div",As,s(Se.value.userNickname||""),1),e("div",Is,[e("div",$s,s(v(g)("current_earnings_label")),1),l(e("img",zs,null,512),[[r]]),e("div",Es,s(Ne.value.availableAmount),1)])])]),e("div",Ns,[Je.value.anchor?(o(),c("div",{key:0,style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:i[26]||(i[26]=n=>ae("transfer"))},[e("div",null,s(v(g)("transfer")),1),l(e("img",{class:U(["flipImg",{rotated:ke.value}]),src:He,alt:"",style:{width:"1em",display:"block",transition:"all 0.2s ease"}},null,2),[[r]])])):x("",!0),p(dt,{name:"drawer"},{default:f(()=>[ke.value?(o(),c("div",Ds,[R.value.id?(o(),c("div",Ls,[e("div",Ps,[e("div",Fs,[e("img",{src:R.value.avatar||"",alt:R.value.name||"",style:{width:"100%","object-fit":"cover","border-radius":"50%"},onError:i[27]||(i[27]=(...n)=>v(T)&&v(T)(...n))},null,40,Hs)]),e("div",Ms,[e("div",Gs,s(R.value.name||""),1),e("div",Os,s(t.$t("user_id_prefix"))+" "+s(R.value.account||""),1)]),e("button",{style:{"border-radius":"12px",background:`linear-gradient(
152deg,
rgba(198, 112, 255, 0.6) 7.01%,
rgba(119, 38, 255, 0.6) 92.99%
)`,border:"none","font-weight":"500",padding:"2px 8px"},onClick:Xe},s(v(g)("change")),1)]),e("div",Ws,[R.value.isHost?l((o(),c("img",qs,null,512)),[[r]]):x("",!0),R.value.isAgency?l((o(),c("img",Js,null,512)),[[r]]):x("",!0),R.value.hasSalary?l((o(),c("img",Ys,null,512)),[[r]]):x("",!0)])])):(o(),c("div",Qs,[e("div",{style:{"font-weight":"590",padding:"16px 24px","border-radius":"20px",border:"1px solid rgba(156, 156, 156, 0.5)",background:"rgba(240, 240, 240, 0.1)","box-shadow":`0 -5px 4px 0 rgba(255, 255, 255, 0.25) inset,
0 4px 4px 0 rgba(255, 255, 255, 0.25) inset,
-42px 103px 31px 0 rgba(145, 145, 145, 0),
-27px 66px 29px 0 rgba(145, 145, 145, 0.01),
-15px 37px 24px 0 rgba(145, 145, 145, 0.03),
-7px 17px 18px 0 rgba(145, 145, 145, 0.04),
-2px 4px 10px 0 rgba(145, 145, 145, 0.05)`,"backdrop-filter":"blur(10px)"},onClick:Xe},s(v(g)("select")),1)])),e("div",Xs,[(o(!0),c(C,null,B(Ke.value,n=>(o(),c("div",{key:n.id,onClick:_=>et(n),class:U(["coin-item",{selected:b.value?.id===n.id}])},[l(e("img",Ks,null,512),[[r]]),e("div",el,s(n.price),1)],10,Zs))),128))]),e("div",tl,[e("div",{style:{width:"70%",padding:"12px",display:"flex","justify-content":"center","align-items":"center","border-radius":"20px",border:"1px solid rgba(156, 156, 156, 0.5)",background:"rgba(240, 240, 240, 0.3)","box-shadow":`0 -5px 4px 0 rgba(255, 255, 255, 0.25) inset,
0 4px 4px 0 rgba(255, 255, 255, 0.25) inset,
-42px 103px 31px 0 rgba(145, 145, 145, 0),
-27px 66px 29px 0 rgba(145, 145, 145, 0.01),
-15px 37px 24px 0 rgba(145, 145, 145, 0.03),
-7px 17px 18px 0 rgba(145, 145, 145, 0.04),
-2px 4px 10px 0 rgba(145, 145, 145, 0.05)`,"backdrop-filter":"blur(10px)","font-weight":"590"},onClick:Vt,disabled:!b.value||!R.value.value?.id},s(v(g)("transfer")),9,il)])])):x("",!0)]),_:1}),e("div",{style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:i[28]||(i[28]=n=>ae("exchange"))},[e("div",null,s(v(g)("exchange_gold_coins")),1),l(e("img",{class:U(["flipImg",{rotated:Re.value}]),src:He,alt:"",style:{width:"1em",display:"block",transition:"all 0.2s ease"}},null,2),[[r]])]),p(dt,{name:"drawer"},{default:f(()=>[Re.value?(o(),c("div",nl,[e("div",al,[(o(!0),c(C,null,B(Ke.value,n=>(o(),c("div",{key:n.id,onClick:_=>et(n),class:U(["coin-item",{selected:b.value?.id==n.id}])},[l(e("img",ll,null,512),[[r]]),e("div",rl,s(n.amount)+" coins x1",1),e("div",ol,[l(e("img",dl,null,512),[[r]]),e("div",cl,"x"+s(n.price),1)])],10,sl))),128))]),e("div",ul,[e("div",{style:{width:"70%",padding:"12px",display:"flex","justify-content":"center","align-items":"center","border-radius":"20px",border:"1px solid rgba(156, 156, 156, 0.5)",background:"rgba(240, 240, 240, 0.3)","box-shadow":`0 -5px 4px 0 rgba(255, 255, 255, 0.25) inset,
0 4px 4px 0 rgba(255, 255, 255, 0.25) inset,
-42px 103px 31px 0 rgba(145, 145, 145, 0),
-27px 66px 29px 0 rgba(145, 145, 145, 0.01),
-15px 37px 24px 0 rgba(145, 145, 145, 0.03),
-7px 17px 18px 0 rgba(145, 145, 145, 0.04),
-2px 4px 10px 0 rgba(145, 145, 145, 0.05)`,"backdrop-filter":"blur(10px)","font-weight":"590"},disabled:!b.value||!R.value.value?.id,onClick:At},s(v(g)("exchange")),9,gl)])])):x("",!0)]),_:1}),Ne.value.availableAmount>=10?(o(),c("div",{key:1,style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:jt},[e("div",null,s(v(g)("go_to_withdraw")),1),l(e("img",vl,null,512),[[r]])])):x("",!0)])],512),[[y,xe.value]])],512),[[y,we.value]])]),l(e("div",pl,null,512),[[y,I.value&&H.value||G.value&&O.value]]),l(p(w,{style:{"min-height":"22.3vw",position:"fixed",bottom:"-1px","z-index":"3"},imgUrl:a("myRankingBg"),contentStyle:"padding: 1vw 3vw 0"},{default:f(()=>[e("div",yl,[e("div",hl,[e("div",fl,s((I.value?W.value.rank:q.value.rank)||999),1)]),e("img",{src:(I.value?W.value.avatar:q.value.userAvatar)||"",alt:"",style:{display:"block",width:"4em","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:i[29]||(i[29]=(...n)=>v(T)&&v(T)(...n))},null,40,wl),e("div",ml,[e("div",_l,[e("div",bl,s(I.value?W.value.nickname:q.value.userName),1)])])]),e("div",xl,[I.value?(o(),c("div",kl,[l(e("img",Rl,null,512),[[r]]),e("div",Cl,s(W.value.quantity||0),1)])):(o(),c("div",Bl," $"+s(q.value?.amount||0),1))])]),_:1},8,["imgUrl"]),[[y,I.value&&H.value||G.value&&O.value]]),p(Ni,{maskLayerShow:mt.value,onClick:Q},{default:f(()=>[e("div",{style:{width:"100vw",height:"100vh",display:"flex","justify-content":"center","align-items":"center"},onClick:Q},[l(e("div",{style:{position:"relative",width:"90%"},onClick:i[32]||(i[32]=E(()=>{},["stop"]))},[p(w,{style:{"min-height":"92.39vw"},imgUrl:a("resultBg"),contentStyle:`inset: 20vw 7vw 8vw;
flex-direction: column;
justify-content: space-between;
gap:2vw`},{default:f(()=>[e("div",Tl,[e("div",Sl,[l(e("img",{class:"flipImg",src:a("resultBack"),alt:"",style:{display:"block",width:"80%","object-fit":"cover"},onClick:i[30]||(i[30]=n=>L.value--)},null,8,Ul),[[r],[y,A.value.length>1&&L.value>0]])]),e("img",{src:A.value[L.value]?.prize?.prizeImage,alt:"",width:"50%",style:{display:"block"}},null,8,jl),e("div",Vl,[l(e("img",{class:"flipImg",src:a("resultNext"),alt:"",style:{display:"block",width:"80%","object-fit":"cover"},onClick:i[31]||(i[31]=n=>L.value++)},null,8,Al),[[r],[y,A.value.length>1&&L.value+1<A.value.length]])])]),e("div",Il,[di(s(v(g)("you_get"))+" "+s(A.value[L.value]?.prize?.prizeName)+" ",1),A.value.length>1?(o(),c("div",$l,s(L.value+1)+" / "+s(A.value.length),1)):x("",!0)]),e("div",{style:{display:"block",width:"30vw",cursor:"pointer","-webkit-tap-highlight-color":"transparent","-webkit-touch-callout":"none","user-select":"none","touch-action":"manipulation"},onClick:Q,onTouchend:Q},[l(e("img",{src:a("resultGoOnBt"),alt:"",style:{display:"block",width:"100%","object-fit":"cover","pointer-events":"none"}},null,8,zl),[[r]])],32)]),_:1},8,["imgUrl"])],512),[[y,he.value]]),l(e("div",{style:{position:"relative",width:"95%"},onClick:i[33]||(i[33]=E(()=>{},["stop"]))},[p(w,{style:{"min-height":"97.53vw"},imgUrl:a("historyBg"),contentStyle:"padding: 22vw 6vw 11vw;"},{default:f(()=>[e("div",El,[(o(!0),c(C,null,B(qe.value,(n,_)=>(o(),c("div",Nl,[e("div",Dl,[e("img",{src:n?.prize?.prizeImage||"",alt:"",style:{width:"10vw","min-width":"0","object-fit":"cover",display:"block"}},null,8,Ll),e("div",Pl,s(n?.prize?.prizeName),1)]),e("div",Fl,s(v(hi)(n.drawTime)),1)]))),256))])]),_:1},8,["imgUrl"])],512),[[y,fe.value]]),l(e("div",{style:{position:"relative","z-index":"0"},onClick:i[34]||(i[34]=E(()=>{},["stop"]))},[l(e("img",{src:a("closeBt"),alt:"",style:{width:"8vw",position:"absolute","z-index":"9",top:"-5vw",right:"3vw"},onClick:Q},null,8,Hl),[[r]]),p(w,{style:{"min-height":"142.39vw"},imgUrl:a(h("helpBg")),contentStyle:"inset:27vw 6vw 10vw;overflow-y: auto;display:block;"},{default:f(()=>[e("div",Ml,[e("p",null,s(t.$t("ranking_help_rule_1")),1),e("p",null,s(t.$t("ranking_help_rule_2")),1),e("p",null,s(t.$t("ranking_help_rule_3")),1),e("p",null,s(t.$t("ranking_help_rule_4")),1),e("p",null,s(t.$t("ranking_help_rule_5")),1),e("p",null,s(t.$t("ranking_help_rule_6")),1),e("p",Gl,s(t.$t("activity_apple_disclaimer")),1)])]),_:1},8,["imgUrl"])],512),[[y,ve.value]]),l(e("div",{onClick:i[35]||(i[35]=E(()=>{},["stop"]))},[p(w,{style:{"min-height":"112.26vw"},imgUrl:a("rechargeHelpBg"),contentStyle:"inset:26vw 6vw 11vw;overflow-y: auto;display:block;"},{default:f(()=>[e("div",Ol,[e("p",null,s(t.$t("recharge_help_rule_1")),1),e("p",null,s(t.$t("recharge_help_rule_2")),1),e("p",null,s(t.$t("recharge_help_rule_3")),1)])]),_:1},8,["imgUrl"])],512),[[y,pe.value]]),l(e("div",{onClick:i[36]||(i[36]=E(()=>{},["stop"]))},[p(w,{style:{"min-height":"103.46vw"},imgUrl:a("withdrawHelpBg"),contentStyle:"inset:27vw 6vw 10vw;overflow-y: auto;display:block;"},{default:f(()=>[e("div",Wl,[e("p",null,s(t.$t("withdrawal_help_rule_1")),1),e("p",null,s(t.$t("withdrawal_help_rule_2")),1),e("p",null,s(t.$t("withdrawal_help_rule_3")),1)])]),_:1},8,["imgUrl"])],512),[[y,ye.value]])])]),_:1},8,["maskLayerShow"])])]))])}}},gr=ht(ql,[["__scopeId","data-v-0a3f4d1f"]]);export{gr as default};