Global Interactive Technology Co., Limited
-環球互動科技有限公司
-中国香港环球大厦A01
-diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 849ddff..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -dist/ diff --git a/README.md b/README.md deleted file mode 100644 index 0487abf..0000000 --- a/README.md +++ /dev/null @@ -1,58 +0,0 @@ -# Haiyi Public Site - -This repository is the source of truth for the public website on `www.haiyihy.com` and the H5 pages on `h5.haiyihy.com`. - -## Structure - -- `www/`: static files served for `https://www.haiyihy.com` -- `h5/`: static files served for `https://h5.haiyihy.com` -- `h5/ranking/`: Yumi-compatible ranking page using `https://jvapi.haiyihy.com` - -Every page is stored as complete HTML/CSS/JS files in git. There is no JSON-driven page generation step in production anymore. - -## Edit Workflow - -```bash -cd public-site -edit www/... or h5/... -git add . -git commit -git push -``` - -## Production Sync - -Production keeps a dedicated clone on the public-site server and syncs it every 20 seconds through `systemd`: - -- server repo: `/opt/haiyihy-public-site/repo` -- origin runtime: `/opt/haiyihy-public-site/runtime` -- sync timer: `haiyihy-public-site-sync.timer` -- source origin domains: - - `www-origin.haiyihy.com` - - `h5-origin.haiyihy.com` - -The origin server serves static files directly from the git checkout: - -- `repo/www` -> `www.haiyihy.com` / `www-origin.haiyihy.com` -- `repo/h5` -> `h5.haiyihy.com` / `h5-origin.haiyihy.com` - -User-facing traffic goes through Tencent Cloud CDN. CDN pulls from the two `*-origin.haiyihy.com` domains. - -## Cache Strategy - -- HTML routes: short cache on origin/CDN -- Static assets: long cache on origin/CDN -- Fast bypass: - - append `?t=...` - - purge in Tencent Cloud International CDN console - - run the purge script: - -```bash -./deploy/tencent-prod/refresh_public_site_cdn.sh -``` - -## Bootstrap / Redeploy - -```bash -./deploy/tencent-prod/redeploy_public_site.sh -``` diff --git a/h5/admin-center/index.html b/h5/admin-center/index.html deleted file mode 100644 index 8d4f53d..0000000 --- a/h5/admin-center/index.html +++ /dev/null @@ -1,35 +0,0 @@ - - -
- - - - - - - - - -Effective date: 2026-04-13
-Operator: Global Interactive Technology Co., Limited (環球互動科技有限公司)
-Address: 中国香港环球大厦A01
-Contact: postmaster@haiyinet.com.cn / +85256283162
- -This page publishes Yumi's standards against child sexual abuse and exploitation, including reporting and enforcement expectations for the service.
- -This Child Safety Standards page applies to the Yumi application and related services operated by 環球互動科技有限公司 (Global Interactive Technology Co., Limited).
These standards are publicly published for users, reviewers, partners, and regulators who need to understand how Yumi addresses child sexual abuse and exploitation.
- - - -Yumi has zero tolerance for child sexual abuse and exploitation (CSAE), child sexual abuse material (CSAM), grooming, sextortion involving minors, trafficking of children for sexual purposes, or any content or behavior that sexually exploits, abuses, or endangers children.
- - - -Users may not create, upload, publish, distribute, request, promote, facilitate, or engage in any content or conduct involving the sexual exploitation or abuse of children.
-- Child sexual abuse material (CSAM), whether real, manipulated, or computer-generated where prohibited by law or policy.
- Grooming, solicitation, or sexualized communication involving a minor.
- Sextortion, blackmail, or coercion involving a minor.
- Advertising, arranging, or facilitating trafficking or commercial sexual exploitation of children.
- Any attempt to use Yumi to endanger, exploit, or abuse a child.
- - -Yumi provides in-app reporting and support pathways for users to report suspected violations.
Users, reviewers, or partners may also report child safety concerns by contacting postmaster@haiyinet.com.cn.
- - - -Yumi reviews reports and takes appropriate action when violations are identified or when the service obtains actual knowledge of prohibited child safety content or behavior.
-- Removing violating content.
- Restricting, suspending, or permanently terminating offending accounts.
- Preserving relevant records when reasonably necessary for investigation, legal compliance, or platform integrity.
- Escalating confirmed violations to relevant authorities or reporting organizations where required by applicable law.
- - -Developer and operator: Global Interactive Technology Co., Limited.
Company email: postmaster@haiyinet.com.cn.
Support phone: +85256283162.
Registered address: 中国香港环球大厦A01.
- - - - diff --git a/h5/coin-seller/index.html b/h5/coin-seller/index.html deleted file mode 100644 index 5cc60d3..0000000 --- a/h5/coin-seller/index.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - -Effective date: 2026-04-13
-Contact: gurbhakotonline03@gmail.com / +85247410298
-Start a deletion request by email
-This page explains how Yumi users can request permanent deletion of their account and associated data.
- -Use this page if you created a Yumi account and want to request permanent deletion of that account and the associated user data managed by Yumi.
You can submit a deletion request even if you no longer have access to the Yumi app on your device.
- -Send your deletion request by email to gurbhakotonline03@gmail.com.
Please use the subject line: Delete Yumi Account.
-- Your Yumi UID, if available.
- Your registered email address or phone number.
- Your Yumi nickname or profile name.
- A clear statement that you want your Yumi account and associated data to be deleted.
- -To protect account security and prevent unauthorized deletion, we may ask you to complete a reasonable identity-verification step before processing your request.
- -After your request is verified and approved, we will delete your Yumi account and the associated account data that is managed in our systems, including profile information and other user data linked to that account, unless retention is required for legitimate reasons described below.
- -Certain records may be retained for a limited period where reasonably necessary for fraud prevention, abuse handling, dispute resolution, financial recordkeeping, tax, security, or legal and regulatory compliance.
- -We aim to complete verified deletion requests within 7 business days, although certain cases may require additional time if further verification or compliance review is necessary.
- -If you have questions about account deletion or personal-data handling, contact gurbhakotonline03@gmail.com or call +85247410298.
- - diff --git a/h5/favicon.ico b/h5/favicon.ico deleted file mode 100644 index 3195079..0000000 Binary files a/h5/favicon.ico and /dev/null differ diff --git a/h5/games-king/index.html b/h5/games-king/index.html deleted file mode 100644 index 72b9ab9..0000000 --- a/h5/games-king/index.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - -Each page below is a checked-in static HTML destination that can be edited and published directly from git.
-Use this page as a lightweight web entrance when the final system sits behind internal tools or role-based access.
- Open page - - - - Agency program -Use this page to explain the agency model, onboarding expectations, communication channels, and next actions.
- Open page - - - - Host recruitment -Designed for creators who want to host conversations, run themed rooms, and grow an audience around live social interaction.
- Open page - - - - Business development -Use this page to brief BD participants, explain deliverables, and connect external traffic into measurable operational flows.
- Open page - - - - Leadership view -Ideal for summarizing current focus areas, reporting expectations, onboarding standards, and campaign coordination notes.
- Open page - - - - Sales and recharge -Use this landing page to explain transaction steps, campaign windows, purchase support, and payment channel notices.
- Open page - - - - Games campaign -Use this destination for mini-game promotions, challenge seasons, rankings, and cross-room participation drives.
- Open page - - - - Host operations -Use this page as the distribution point for host-facing updates, onboarding steps, room guidance, and operational notices.
- Open page - - - - Growth funnel -Use this page to tell new users what Yumi is, why they should join, and where the invite flow leads next.
- Open page - - - - Rankings -Use this page when the campaign angle is social presence, room influence, or creator energy rather than pure spend.
- Open page - - - - Rankings -Useful when you want to explain what the room ranking means before sending users into the app experience.
- Open page - - - - Rankings -Use this URL when you need a branded web destination for top-spender or premium-activity campaigns before routing users back into the app.
- Open page - - -2&&(x+=20)),setTimeout(Je,x))};Je()})),p=async(c=1)=>{if(B.value)return;B.value=!0;let u=G.activity,x={activityId:"2007771533988204877",drawCount:c,needCoins:c>ve.value};try{if(c==1){const g=await qt(x);if(g.status&&g.body){K.value=[g.body];const H=g.body,Q=u.prizeList.findIndex(O=>O.prizeName==H?.prize.prizeName);console.log("index:",Q),Fe(),Le(),await S(Q)}}else{const g=await Yt(x);if(g.status&&g.body){K.value=g.body.results;let H=u.prizeList.findIndex(Q=>Q.prizeName==K.value[0]?.prize.prizeName);console.log("index:",H),Fe(),Le(),await S(H)}}ne("result"),B.value=!1}catch(g){ye(g.response.errorMsg),B.value=!1}},N=async()=>{const c=await Wt("04877");c.status&&c.body&&(je.value=c.body?.records||[],ne("drawRecord"))},F=()=>{j.value=!0},V=()=>{X.push({path:"/search-payee",query:{from:"/activities/spring-festival",activeAction:"TaskShow"}})},Ue=()=>{X.push({path:"/cash-out",query:{activityId:"2007771533988204877"}})},Se=U([{id:1,amount:10500,price:1},{id:2,amount:52500,price:5},{id:3,amount:105e3,price:10}]),Be=c=>{b.value?.id==c.id?b.value=null:b.value=c},De=async()=>{if(!b.value){ye(l("please_select_amount"));return}if(!_.value?.id){ye(l("please_select_payee"));return}const c={amount:b.value.price,acceptUserId:_.value?.id,activityId:"2007771533988204877"};try{(await Xt(c)).status?st(l("transfer_dollar_success",{price:b.value.price,name:_.value?.name})):ye(l("transfer_dollar_failed",{price:b.value.price})),b.value=null,Le()}catch(u){ye(u.errorMsg)}},be=async()=>{if(!b.value){ye(l("please_select_amount"));return}const c={amount:b.value.price,activityId:"2007771533988204877"};try{(await Jt(c)).status?st(l("exchange_success_coins",{amount:b.value.amount})):ye(l("exchange_failed_coins",{amount:b.value.amount})),b.value=null,Le()}catch(u){ye(u.errorMsg)}},Le=async()=>{const c=await ot("2007771533988204877");c.status&&c.body&&(ee.value=c.body?.availableAmount||0)},Fe=async()=>{try{const c=await lt("2007771533988204877");c.status&&(ve.value=c.body||0)}catch(c){ye(c.response.errorMsg)}};return Oe(async()=>{console.log("route.query.activeAction:",ge.query.activeAction),ge.query.activeAction=="TaskShow"&&A("transfer")}),Ge(()=>{}),(c,u)=>{const x=We("smart-img");return o(),d("div",la,[T(E,{style:{"min-height":"149.06vw"},imgUrl:y("lotteryBg"),contentStyle:"inset:30vw 6.5vw 13vw 6.5vw;flex-direction: column;justify-content: space-between;"},{default:z(()=>[s(e("img",{src:y("historyBt"),alt:"",style:{width:"8vw",position:"absolute",top:"-28vw",right:"-2vw"},onClick:N},null,8,oa),[[x]]),e("div",ca,[e("div",da,[e("div",{class:"scroll-wrapper",ref_key:"scrollWrapper",ref:m,style:Y({animationDuration:`${W.value}s`})},[(o(),d(ce,null,de(2,g=>e("div",ua,[(o(!0),d(ce,null,de(a(fe),(H,Q)=>(o(),d("div",{key:Q,style:{"align-self":"stretch",display:"flex","align-items":"center",gap:"2vw"}},[e("div",ga,r(re(H)),1)]))),128))])),64))],4)])]),e("div",va,[(o(!0),d(ce,null,de(I.activity.prizeList,(g,H)=>(o(),d("div",{style:Y([{display:"flex","flex-direction":"column","justify-content":"space-between","align-items":"center",position:"relative"},[w(H)]])},[e("div",ya,[e("img",{src:g.prizeImage||"",alt:g.prizeName||"",width:"50%",style:{display:"block"}},null,8,pa)]),e("div",fa,[e("div",ha,r(g.prizeName),1)]),s(e("img",{src:y("prizeActiveFrame"),alt:"",style:{display:"block",width:"112%",position:"absolute",transform:"translate(-50%, -50%)",top:"50%",left:"50%"}},null,8,wa),[[$,t.value===H],[x]])],4))),256))]),e("div",ma,[e("div",ka,r(c.$t("remaining_lottery_tickets"))+": "+r(a(ve)),1),e("div",{style:{"font-weight":"700"},onClick:F},r(c.$t("how_to_get_ticket")),1)]),e("div",_a,[e("div",{style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center",gap:"4vw","padding-left":"2vw"},onClick:u[0]||(u[0]=g=>p(1))},[u[7]||(u[7]=e("div",{style:{color:"#fff","font-size":"2em","font-weight":"600","text-shadow":"0 1px 0 #8b00d1"}}," 1 ",-1)),s(e("img",{src:y("ticket"),alt:"",style:{display:"block",width:"3em","object-fit":"cover"}},null,8,ba),[[x]])]),e("div",{style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center",gap:"2vw"},onClick:u[1]||(u[1]=g=>p(10))},[u[8]||(u[8]=e("div",{style:{color:"#fff","font-size":"2em","font-weight":"600","text-shadow":"0 1px 0 #8b00d1"}}," 10 ",-1)),s(e("img",{src:y("ticket"),alt:"",style:{display:"block",width:"3em","object-fit":"cover"}},null,8,xa),[[x]])])])]),_:1},8,["imgUrl"]),e("div",Ra,[T(E,{style:{"min-height":"41.67vw","z-index":"0"},imgUrl:y("earningInfoBg"),flip:!0,contentStyle:"inset:11vw 10vw 9vw 9vw;justify-content: space-between;gap: 10vw;"},{default:z(()=>[e("img",{src:a(me).userAvatar||"",alt:"",style:{position:"relative","z-index":"-1",width:"23vw","min-width":"0","border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:u[2]||(u[2]=(...g)=>a(ue)&&a(ue)(...g))},null,40,Sa),e("div",$a,[s(e("img",{src:ut,alt:"",class:"ruleBt",onClick:u[3]||(u[3]=g=>ne("earningsHelp"))},null,512),[[x]]),e("div",Ta,r(a(me).userNickname||""),1),e("div",Ia,r(a(l)("current_earnings",{amount:a(ee)})),1)])]),_:1},8,["imgUrl"]),e("div",Ca,[e("div",{style:Y([{position:"absolute",inset:"0","z-index":"-1","border-radius":"12px"},{backgroundImage:`url(${y("earningsBg")})`,backgroundSize:"cover"}])},null,4),e("div",Ua,[a(J).anchor?(o(),d("div",{key:0,style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:u[4]||(u[4]=g=>A("transfer"))},[e("div",null,r(a(l)("transfer_to_recharge_agent")),1),s(e("img",{class:Z(["flipImg",{rotated:f.value}]),src:et,alt:"",style:{width:"1em",display:"block",transition:"all 0.2s ease"}},null,2),[[x]])])):D("",!0),T(at,{name:"drawer"},{default:z(()=>[f.value?(o(),d("div",ja,[a(_).id?(o(),d("div",Ba,[e("div",La,[e("div",Na,[e("img",{src:a(_).avatar||"",alt:a(_).name||"",style:{width:"100%","object-fit":"cover","border-radius":"50%"},onError:u[5]||(u[5]=(...g)=>a(ue)&&a(ue)(...g))},null,40,Aa)]),e("div",za,[e("div",Pa,r(a(_).name||""),1),e("div",Da,r(c.$t("user_id_prefix"))+" "+r(a(_).account||""),1)]),e("button",{style:{"border-radius":"20px",border:"1px solid #cfcfcf",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":"500",padding:"2px 8px"},onClick:V},r(a(l)("change")),1)]),e("div",Fa,[a(_).isHost?s((o(),d("img",Ha,null,512)),[[x]]):D("",!0),a(_).isAgency?s((o(),d("img",Ma,null,512)),[[x]]):D("",!0),a(_).hasSalary?s((o(),d("img",Ea,null,512)),[[x]]):D("",!0)])])):(o(),d("div",Oa,[e("div",{style:{"font-weight":"590",padding:"16px 24px","border-radius":"8px",border:"0.5px solid #cfcfcf",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)"},onClick:V},r(a(l)("select")),1)])),e("div",Ga,[(o(!0),d(ce,null,de(Se.value,g=>(o(),d("div",{key:g.id,onClick:H=>Be(g),class:Z(["coin-item",{selected:b.value?.id===g.id}])},[s(e("img",Wa,null,512),[[x]]),e("div",qa,"$"+r(g.price),1)],10,Va))),128))]),e("div",Ya,[e("div",{style:{width:"70%",padding:"12px",display:"flex","justify-content":"center","align-items":"center","border-radius":"8px",border:"0.5px solid #cfcfcf",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)","font-weight":"590"},onClick:De,disabled:!b.value||!a(_).value?.id},r(a(l)("transfer")),9,Xa)])])):D("",!0)]),_:1}),e("div",{style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:u[6]||(u[6]=g=>A("exchange"))},[e("div",null,r(a(l)("exchange_gold_coins")),1),s(e("img",{class:Z(["flipImg",{rotated:h.value}]),src:et,alt:"",style:{width:"1em",display:"block",transition:"all 0.2s ease"}},null,2),[[x]])]),T(at,{name:"drawer"},{default:z(()=>[h.value?(o(),d("div",Ja,[e("div",Ka,[(o(!0),d(ce,null,de(Se.value,g=>(o(),d("div",{key:g.id,onClick:H=>Be(g),class:Z(["coin-item",{selected:b.value?.id==g.id}])},[s(e("img",Za,null,512),[[x]]),e("div",ei,r(g.amount)+" coins x1",1),e("div",ti,"$"+r(g.price),1)],10,Qa))),128))]),e("div",ai,[e("div",{style:{width:"70%",padding:"12px",display:"flex","justify-content":"center","align-items":"center","border-radius":"8px",border:"0.5px solid #cfcfcf",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)","font-weight":"590"},disabled:!b.value||!a(_).value?.id,onClick:be},r(a(l)("exchange")),9,ii)])])):D("",!0)]),_:1}),a(ee)>=10?(o(),d("div",{key:1,style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:Ue},[e("div",null,r(a(l)("go_to_withdraw")),1),s(e("img",si,null,512),[[x]])])):D("",!0)])])])])}}},ni=ze(ri,[["__scopeId","data-v-8db6c644"]]),li={style:{width:"100%"}},oi=["src"],ci=["src"],di={key:0,style:{display:"flex","justify-content":"center","align-items":"center"}},ui={__name:"topUser",props:{ranking:{type:String,default:""},avatarUrl:{type:String,default:""},BorderImgUrl:{type:String,required:!0},name:{type:String,default:""},rankingType:{type:String,default:""},distributionValue:{type:String,default:""}},setup(I){const l=I,pe=M(()=>l.ranking==="1"),X=M(()=>{switch(l.ranking){case"1":return"85%";case"2":return"78%";case"3":return"78%";default:return"78%"}}),ge=M(()=>{switch(l.ranking){case"1":return"35%";case"2":return"40%";case"3":return"38%";default:return"38%"}}),xe=M(()=>{switch(l.ranking){case"1":return"27%";case"2":return"29%";case"3":return"29%";default:return"29%"}}),Te=M(()=>{switch(l.ranking){case"1":return"30%";case"2":return"40%";case"3":return"37%";default:return"40%"}}),ve=M(()=>{switch(l.ranking){case"1":return"25%";case"2":return"38%";case"3":return"38%";default:return"38%"}}),fe=M(()=>{switch(l.ranking){case"1":return"23%";case"2":return"35%";case"3":return"32%";default:return"40%"}}),me=M(()=>{switch(l.ranking){case"1":return"26%";case"2":return"38%";case"3":return"38%";default:return"38%"}}),J=M(()=>{switch(l.ranking){case"1":return"1em";case"2":return"0.9em";case"3":return"0.9em";default:return"0.9em"}});return(ee,_)=>{const le=We("smart-img");return o(),d("div",li,[e("div",{style:Y([{position:"relative"},{minHeight:I.ranking=="1"?"67vw":"40.45vw"}])},[s(e("img",{src:I.BorderImgUrl,alt:"",width:"100%",style:{display:"block",position:"relative","z-index":"2"}},null,8,oi),[[le]]),e("div",{style:Y([{position:"absolute",top:"0",left:"0",right:"0","z-index":"1",display:"flex","justify-content":"center","align-items":"center"},{height:X.value}])},[e("div",{style:Y({width:ge.value})},[e("img",{src:I.avatarUrl||"",alt:"",width:"100%",style:{display:"block","border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:_[0]||(_[0]=(...ke)=>a(ue)&&a(ue)(...ke))},null,40,ci)],4)],4),e("div",{style:Y([{position:"absolute",bottom:"0",left:"0",right:"0","z-index":"3",display:"flex","flex-direction":"column","align-items":"center",gap:"2px"},{height:xe.value}])},[e("div",{style:Y([{display:"flex","justify-content":"center","align-items":"center"},{width:Te.value,height:ve.value}])},[e("div",{style:{direction:"ltr","font-weight":"700"},class:Z(["showText",pe.value?"top1Text":"text"])},r(I.name),3)],4),e("div",{style:Y([{padding:"1px 2px",display:"flex","justify-content":"center","align-items":"center"},{width:fe.value,height:me.value}])},[I.rankingType=="lottery"?(o(),d("div",di,[s(e("img",{src:Ke,alt:"",style:Y([{display:"block"},{width:J.value}])},null,4),[[le]]),e("div",{style:Y([{"font-weight":"590"},{color:I.ranking=="1"?"#FFE601":"#FFF"}]),class:Z(["showText",pe.value?"top1Text":"text"])},r(I.distributionValue),7)])):D("",!0),I.rankingType=="recharge"?(o(),d("div",{key:1,style:Y([{"font-weight":"590"},{color:I.ranking=="1"?"#FFE601":"#FFF"}]),class:Z(["showText",pe.value?"top1Text":"text"])}," $"+r(I.distributionValue),7)):D("",!0)],4)],4)],4)])}}},Ze=ze(ui,[["__scopeId","data-v-82c63d84"]]),gi={style:{}},vi={style:{display:"flex","justify-content":"center"}},yi={style:{position:"relative","z-index":"3",display:"flex","justify-content":"space-around","pointer-events":"none"}},pi={key:0,style:{position:"relative","z-index":"2",display:"flex","flex-direction":"column",gap:"2vw"}},fi={style:{color:"#ffe601","font-weight":"700"}},hi={style:{flex:"1","min-width":"0",display:"flex","justify-content":"space-around","align-items":"center",gap:"10vw"}},wi=["src"],mi={style:{flex:"1","min-width":"0",display:"flex","flex-direction":"column"}},ki={style:{display:"flex","min-width":"0"}},_i={style:{color:"#fff","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis",direction:"ltr"},class:"UserNickname"},bi={style:{color:"#fff","font-weight":"590"},class:"UserNickname"},xi={style:{width:"auto","min-width":"0",display:"flex","align-items":"center"}},Ri={key:0,style:{display:"flex","justify-content":"center","align-items":"center"}},Si={src:Ke,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1","object-fit":"cover"}},$i={style:{color:"#ffe601","font-weight":"700"},class:"Textlittle"},Ti={key:1,style:{color:"#fff","font-weight":"700"},class:"UserNickname"},Ii={__name:"Ranking",props:{rankingType:{type:String,default:""}},setup(I){const{t:l,locale:pe}=He();qe(),Ve();const X=Xe(),{lotteryRewards:ge,tickets:xe,userInfo:Te,userIdentity:ve,currentEarnings:fe,taskList:me,lotteryPageNo:J,lotteryRanking:ee,addLotteryRanking:_,myLotteryRanking:le,rankingRewards:ke,rechargePageNo:oe,rechargeRanking:_e,addRechargeRanking:te,myRechargeRanking:Re,myRechargeRecode:Ie,RechargeRewards:Ce,resultShow:he,result:we,drawRecordShow:ae,myRecords:K,receiveRecordShow:ie,receiveRecord:je,earningsHelpShow:se,rechargeHelpShow:Pe}=Me(X);Ee();const j=t=>Ye("Activities/SpringFestival/",t),P=I,L=M(()=>P.rankingType=="lottery"?[...ee.value,..._.value]:[..._e.value,...te.value]),y=M(()=>{let t=[...L.value];if(L.value.length<3){let f=Array.from({length:3-L.value.length},()=>({userAvatar:"",userName:"",amount:""}));t.push(...f)}return t}),G=M(()=>L.value.filter((t,f)=>f>=3)),W=U(null),re=async()=>{J.value==0&&(J.value=1),oe.value==0&&(oe.value=1);let t={activityId:P.rankingType=="lottery"?"2007771533988204877":"2007771533988204888",pageNo:P.rankingType=="lottery"?J.value:oe.value,pageSize:20};const f=await ct(t);f.status&&f.body?(P.rankingType=="lottery"?le.value=f.body?.currentUser:P.rankingType=="recharge"&&(Re.value=f.body?.currentUser),f.body.topList.length>0&&(f.body.topList.length==20?P.rankingType=="lottery"?(_.value=[],ee.value.push(...f.body?.topList),J.value++):P.rankingType=="recharge"&&(te.value=[],_e.value.push(...f.body?.topList),oe.value++):P.rankingType=="lottery"?_.value=f.body?.topList:P.rankingType=="recharge"&&(te.value=f.body?.topList))):P.rankingType=="lottery"?(le.value={},ee.value=[],_.value=[],J.value=1):P.rankingType=="recharge"&&(Re.value={},_e.value=[],te.value=[],oe.value=1)},m=At(()=>{re()},1e3),B=new IntersectionObserver(t=>{t.forEach(f=>{f.intersectionRatio>0&&L.value.length!=0&&(console.log("触发RankingLoadmore加载"),m())})});return Oe(()=>{W.value&&(console.log("监控加载模块"),B.observe(W.value))}),Ge(()=>{}),(t,f)=>{const h=We("smart-img");return o(),d("div",null,[e("div",gi,[e("div",vi,[T(Ze,{ranking:"1",BorderImgUrl:j("top1Bg"),avatarUrl:y.value[0].userAvatar,name:y.value[0].userName,rankingType:I.rankingType,distributionValue:y.value[0].amount,style:{width:"70%"},onClick:f[0]||(f[0]=C=>a(Ne)(y.value[0].userId))},null,8,["BorderImgUrl","avatarUrl","name","rankingType","distributionValue"])]),e("div",yi,[e("div",{style:{"pointer-events":"auto",width:"42%"},onClick:f[1]||(f[1]=$e(C=>a(Ne)(y.value[1].userId),["stop"]))},[T(Ze,{ranking:"2",BorderImgUrl:j("top2Bg"),avatarUrl:y.value[1].userAvatar,name:y.value[1].userName,rankingType:I.rankingType,distributionValue:y.value[1].amount,style:{width:"100%"}},null,8,["BorderImgUrl","avatarUrl","name","rankingType","distributionValue"])]),e("div",{style:{"pointer-events":"auto",width:"42%"},onClick:f[2]||(f[2]=$e(C=>a(Ne)(y.value[2].userId),["stop"]))},[T(Ze,{ranking:"3",BorderImgUrl:j("top3Bg"),avatarUrl:y.value[2].userAvatar,name:y.value[2].userName,rankingType:I.rankingType,distributionValue:y.value[2].amount,style:{width:"100%"}},null,8,["BorderImgUrl","avatarUrl","name","rankingType","distributionValue"])])])]),G.value.length>0?(o(),d("div",pi,[(o(!0),d(ce,null,de(G.value,(C,b)=>(o(),d("div",{key:C.userId,style:{padding:"0 2vw",display:"flex","align-items":"center",gap:"2vw"}},[T(E,{style:{"min-height":"9.11vw",width:"10vw"},imgUrl:j("rankingNumBg"),contentStyle:"bottom: 0.5vw;",onClick:A=>a(Ne)(C.userId)},{default:z(()=>[e("div",fi,r(C?.rank),1)]),_:2},1032,["imgUrl","onClick"]),T(E,{style:{"min-height":"36vw"},imgUrl:j("rankingItemBg"),contentStyle:"padding: 9.5vw 4vw 7vw 5vw;gap: 1vw",flip:!0,lazy:!0,immediate:b<2,onClick:A=>a(Ne)(C.userId)},{default:z(()=>[e("div",hi,[e("img",{src:C?.userAvatar||"",alt:"",style:{display:"block",width:"19vw","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover","z-index":"-1"},onError:f[3]||(f[3]=(...A)=>a(ue)&&a(ue)(...A))},null,40,wi),e("div",mi,[e("div",ki,[e("div",_i,r(C?.userName),1)]),e("div",bi,r(t.$t("user_id_prefix"))+" "+r(C?.specialAccount||C?.account),1)])]),e("div",xi,[I.rankingType=="lottery"?(o(),d("div",Ri,[s(e("img",Si,null,512),[[h]]),e("div",$i,r(C?.amount||0),1)])):D("",!0),I.rankingType=="recharge"?(o(),d("div",Ti," $"+r(C?.amount),1)):D("",!0)])]),_:2},1032,["imgUrl","immediate","onClick"])]))),128))])):D("",!0),e("div",{ref_key:"RankingLoadmore",ref:W},null,512)])}}},rt=ze(Ii,[["__scopeId","data-v-90b94cc5"]]),Ci={style:{display:"flex","flex-direction":"column",gap:"2vw"}},Ui={style:{width:"80%",height:"75%",padding:"6vw 0 2vw","min-width":"0","aspect-ratio":"1/1",display:"flex","justify-content":"center","align-items":"center"}},ji=["src","onError"],Bi={style:{width:"80%",height:"5.5vw",display:"flex","justify-content":"center","align-items":"center"}},Li={style:{"min-width":"0","font-size":"1em","font-weight":"590",color:"#fff"}},Ni={__name:"RankingReward",setup(I){const{t:l,locale:pe}=He();qe(),Ve();const X=Xe(),{lotteryRewards:ge,tickets:xe,userInfo:Te,userIdentity:ve,currentEarnings:fe,taskList:me,lotteryRanking:J,addLotteryRanking:ee,myLotteryRanking:_,rankingRewards:le,rechargeRanking:ke,addRechargeRanking:oe,myRechargeRanking:_e,myRechargeRecode:te,RechargeRewards:Re,resultShow:Ie,result:Ce,drawRecordShow:he,myRecords:we,receiveRecordShow:ae,receiveRecord:K,earningsHelpShow:ie,rechargeHelpShow:je}=Me(X),se=Ee(),Pe=M(()=>se.selectedLang?.type||"en"),j=L=>Ye("Activities/SpringFestival/",L),P=L=>{let y="";if(Pe.value=="ar"&&(y="direction: ltr;"),L==0)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 27.5vw 7vw 14vw;${y}`;if(L==1||L==2)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 27.5vw 7vw 44vw;${y}`;if(L==3)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 27.5vw 7vw 14vw;${y}`};return Oe(()=>{}),Ge(()=>{}),(L,y)=>(o(),d("div",Ci,[(o(!0),d(ce,null,de(a(le),(G,W)=>(o(),Ae(E,{style:Y([{minHeight:W<=2?"128vw":"98.39vw"},{}]),imgUrl:j(`rankingRewardTop${W+1}Bg`),contentStyle:P(W)},{default:z(()=>[(o(!0),d(ce,null,de(G.propsGroup.activityRewardProps,(re,m)=>(o(),d("div",{key:m,style:{width:"100%","align-self":"stretch",display:"flex","flex-direction":"column","align-items":"center"}},[e("div",Ui,[e("img",{src:re.cover||"",alt:"",style:{display:"block","min-width":"0",width:"80%",height:"100%","object-fit":"contain"},onError:B=>a(nt)(B,re.type)},null,40,ji)]),e("div",Bi,[e("div",Li,r(a(gt)(re.type,re)),1)])]))),128))]),_:2},1032,["style","imgUrl","contentStyle"]))),256))]))}},Ai=ze(Ni,[["__scopeId","data-v-d0ac99ab"]]),zi={style:{display:"flex","flex-direction":"column",gap:"2vw"}},Pi={style:{padding:"0 4vw"}},Di=["src"],Fi={style:{position:"relative",flex:"1","min-width":"0",height:"80%",display:"flex","flex-direction":"column","justify-content":"center",gap:"1vw"}},Hi={style:{"max-width":"70%","min-width":"0","font-weight":"500",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},Mi={style:{display:"flex","justify-content":"space-between","align-items":"center","white-space":"nowrap"}},Ei=["src"],Oi=["src"],Gi={style:{width:"80%",height:"75%",padding:"6vw 0 2vw","min-width":"0","aspect-ratio":"1/1",display:"flex","justify-content":"center","align-items":"center"}},Vi=["src","onError"],Wi={style:{width:"80%",height:"5.5vw",display:"flex","justify-content":"center","align-items":"center"}},qi={style:{"min-width":"0","font-size":"1em","font-weight":"590",color:"#fff"}},Yi={style:{position:"absolute",bottom:"7vw",left:"0",right:"0",width:"100%",display:"flex","justify-content":"center","align-items":"center"}},Xi=["src"],Ji=["src","onClick"],Ki=["src"],Qi={__name:"RechargeReward",setup(I){const{t:l,locale:pe}=He();qe(),Ve();const X=Xe(),{lotteryRewards:ge,tickets:xe,luckyUsers:Te,userInfo:ve,userIdentity:fe,currentEarnings:me,selectedPayee:J,taskList:ee,lotteryPageNo:_,lotteryRanking:le,addLotteryRanking:ke,myLotteryRanking:oe,rankingRewards:_e,rechargePageNo:te,rechargeRanking:Re,addRechargeRanking:Ie,myRechargeRanking:Ce,myRechargeRecode:he,RechargeRewards:we,resultShow:ae,result:K,drawRecordShow:ie,myRecords:je,receiveRecordShow:se,receiveRecord:Pe,taskListShow:j,checkDate:P,checkStatus:L,earningsHelpShow:y,rechargeHelpShow:G}=Me(X),W=Ee(),re=M(()=>W.selectedLang?.type||"en"),m=w=>Ye("Activities/SpringFestival/",w),B=w=>re.value==="ar"?`${w}_ar`:w,t=U(!0),f=w=>t.value?String(w||"0").replace(/\d/g,"*"):w||"0",h=U([m(B("rechargeReward100")),m(B("rechargeReward500")),m(B("rechargeReward1000")),m(B("rechargeReward3000")),m(B("rechargeReward5000")),m(B("rechargeReward10000"))]),C=w=>{let S="";if(re.value=="ar"&&(S="direction: ltr;"),w==0)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 27.5vw 7vw 22vw;${S}`;if(w==1||w==2)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 27.5vw 7vw 25.5vw;${S}`;if(w==3||w==4||w==5)return`display: grid;grid-template-columns: repeat(3, 1fr);gap:3vw 3.5vw;padding: 27.5vw 7vw 21.5vw;${S}`},b=w=>{switch(w){case"result":A(),ae.value=!0;break;case"drawRecord":A(),ie.value=!0;break;case"receiveRecord":A(),se.value=!0;break;case"earningsHelp":A(),y.value=!0;break;case"rechargeHelp":A(),G.value=!0;break;case"taskList":A(),j.value=!0;break;default:A();break}},A=()=>{j.value&&(L.value=!0),ae.value=!1,ie.value=!1,se.value=!1,y.value=!1,G.value=!1,j.value=!1},ne=async w=>{let S={activityType:w.activityType,activityId:"2007771533988204888",ruleId:w.ruleId};try{const p=await Kt(S);p.status&&p.body&&q()}catch(p){ye(p.errorMsg)}},q=async()=>{const S=await dt({activityType:"CONSUMPTION_ACTIVITY",activityId:"2007771533988204888"});S.status&&S.body?(we.value=S.body.map(p=>{let N=JSON.parse(p.jsonData),F=[];return p.sort==1?F=[]:p.sort==2?F=[]:p.sort==3?F=[]:p.sort==4?F=[{type:"GIFT",cover:m("reward_gift"),content:1}]:p.sort==5?F=[{type:"GIFT",cover:m("reward_gift"),content:1}]:p.sort==6&&(F=[{type:"GIFT",cover:m("reward_gift"),content:1},{type:"PROPS",detailType:"AVATAR_FRAME",cover:m("reward_frame"),quantity:365},{type:"PROPS",detailType:"RIDE",cover:m("reward_ride"),quantity:60}]),p.rewardProps.push(...F),p={...p,...N},p}),console.log("RechargeRewards.value:",we.value)):we.value=[]};return Oe(()=>{}),Ge(()=>{}),(w,S)=>{const p=We("smart-img");return o(),d("div",zi,[e("div",Pi,[T(E,{style:{"min-height":"41.66vw","z-index":"0"},imgUrl:m("earningInfoBg"),flip:!0,contentStyle:"inset:11vw 10vw 9vw 9vw;justify-content: space-between;gap: 10vw;"},{default:z(()=>[e("img",{src:a(he)?.userAvatar||"",alt:"",style:{position:"relative","z-index":"-1",width:"23vw","min-width":"0","border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:S[0]||(S[0]=(...N)=>a(ue)&&a(ue)(...N))},null,40,Di),e("div",Fi,[s(e("img",{src:ut,alt:"",class:"ruleBt",onClick:S[1]||(S[1]=N=>b("rechargeHelp"))},null,512),[[p]]),e("div",Hi,r(a(he)?.userName||""),1),e("div",null,r(w.$t("user_id_prefix"))+" "+r(a(he)?.account),1),e("div",Mi,[e("div",null,r(a(l)("Accumulated recharge"))+":$"+r(f(a(he)?.totalAmount)),1),s(e("img",{src:m("rechargeNumHidden"),alt:"",style:{width:"5vw",display:"block","object-fit":"cover"},onClick:S[2]||(S[2]=N=>t.value=!t.value)},null,8,Ei),[[$,t.value],[p]]),s(e("img",{src:m("rechargeNumShow"),alt:"",style:{width:"5vw",display:"block","object-fit":"cover"},onClick:S[3]||(S[3]=N=>t.value=!t.value)},null,8,Oi),[[$,!t.value],[p]])])])]),_:1},8,["imgUrl"])]),(o(!0),d(ce,null,de(a(we),(N,F)=>(o(),Ae(E,{style:Y([{minHeight:F<=0?"106vw":F<=2?"109.6vw":"135.73vw"},{}]),imgUrl:h.value[F],contentStyle:C(F)},{default:z(()=>[(o(!0),d(ce,null,de(N.rewardProps,(V,Ue)=>(o(),d("div",{key:Ue,style:{width:"100%","align-self":"stretch",display:"flex","flex-direction":"column","align-items":"center"}},[e("div",Gi,[e("img",{src:V.cover||"",alt:"",style:{display:"block","min-width":"0",width:"80%",height:"100%","object-fit":"contain"},onError:Se=>a(nt)(Se,V.type)},null,40,Vi)]),e("div",Wi,[e("div",qi,r(a(gt)(V.type,V)),1)])]))),128)),e("div",Yi,[N.claimStatus==-1?s((o(),d("img",{key:0,class:"grayscale-container",src:m(B("receiveBt")),alt:"",style:{width:"40vw",display:"block","object-fit":"cover"}},null,8,Xi)),[[p]]):D("",!0),N.claimStatus==0?s((o(),d("img",{key:1,src:m(B("receiveBt")),alt:"",style:{width:"40vw",display:"block","object-fit":"cover"},onClick:V=>ne(N)},null,8,Ji)),[[p]]):D("",!0),N.claimStatus==1?s((o(),d("img",{key:2,src:m(B("receivedBt")),alt:"",style:{width:"40vw",display:"block","object-fit":"cover"}},null,8,Ki)),[[p]]):D("",!0)])]),_:2},1032,["style","imgUrl","contentStyle"]))),256))])}}},Zi=ze(Qi,[["__scopeId","data-v-2079c7ac"]]),es={class:"fullPage"},ts={class:"loading-container"},as={style:{width:"100vw","min-height":"100vh",overflow:"hidden",position:"relative"}},is={style:{position:"relative","z-index":"1",display:"flex","flex-direction":"column","align-items":"center",gap:"4vw"}},ss=["src"],rs={class:"timeBox"},ns={class:"timeBoxItem"},ls={class:"timeText",style:{}},os={class:"timeBoxItem"},cs={class:"timeText",style:{}},ds={class:"timeBoxItem"},us={class:"timeText",style:{}},gs={class:"timeBoxItem"},vs={class:"timeText",style:{}},ys={style:{width:"90vw","min-height":"22.38vw",display:"flex","justify-content":"center","align-items":"center",gap:"10vw"}},ps=["src"],fs=["src"],hs={style:{display:"flex","flex-direction":"column","align-items":"center",gap:"4vw"}},ws={style:{width:"100vw","min-height":"12.65vw",display:"flex","justify-content":"space-around","align-items":"center"}},ms=["src"],ks=["src"],_s=["src"],bs={style:{display:"flex","flex-direction":"column","align-items":"center",gap:"4vw"}},xs={style:{width:"100vw","min-height":"12.65vw",display:"flex","justify-content":"space-around","align-items":"center"}},Rs=["src"],Ss=["src"],$s={style:{height:"35vw"}},Ts={style:{height:"8vw"}},Is={style:{flex:"1","min-width":"0",display:"flex","justify-content":"space-around","align-items":"center",gap:"8px"}},Cs={style:{color:"#ffe601","font-weight":"700"}},Us=["src"],js={style:{flex:"1","min-width":"0",display:"flex","flex-direction":"column"}},Bs={style:{display:"flex","min-width":"0"}},Ls={style:{color:"#fff","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis",direction:"ltr"},class:"UserNickname"},Ns={style:{color:"#fff","font-weight":"590"},class:"Textlittle"},As={style:{width:"auto","min-width":"0",display:"flex","align-items":"center"}},zs={key:0,style:{display:"flex","justify-content":"center","align-items":"center"}},Ps={src:Ke,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1","object-fit":"cover"}},Ds={style:{color:"#ffe601","font-weight":"700"},class:"Textlittle"},Fs={key:1,style:{color:"#fff","font-weight":"700"}},Hs={style:{width:"100%",flex:"1","min-height":"0",display:"flex","justify-content":"space-between","align-items":"center"}},Ms={style:{width:"8vw","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},Es=["src"],Os=["src"],Gs={style:{width:"8vw","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},Vs=["src"],Ws={style:{width:"100%",height:"6vw","text-align":"center","font-size":"0.9em","font-weight":"590",position:"relative",background:"linear-gradient(0deg, #f3b700 0%, #ffeec6 100%)","background-clip":"text","-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"}},qs={key:0,class:"resultNum"},Ys={style:{width:"100%",height:"100%","overflow-y":"auto",display:"flex","flex-direction":"column",gap:"8px"},class:"scrollY"},Xs={style:{"border-radius":"12px",border:"2px solid #fff",background:`linear-gradient( - 264deg, - rgba(255, 220, 220, 0.4) 10.17%, - rgba(255, 151, 151, 0.4) 60.22%, - rgba(255, 220, 220, 0.4) 103.12% - )`,"box-shadow":`0 36.858px 13.981px 0 rgba(255, 106, 106, 0.02), - 0 20.335px 12.71px 0 rgba(255, 106, 106, 0.08), - 0 8.897px 8.897px 0 rgba(255, 106, 106, 0.13), - 0 2.542px 5.084px 0 rgba(255, 106, 106, 0.15)`,"backdrop-filter":"blur(4.5px)",display:"flex",padding:"12px","justify-content":"space-between","align-items":"center"}},Js={style:{display:"flex","align-items":"center",gap:"4px"}},Ks=["src"],Qs={style:{"font-weight":"590","font-size":"0.9em",direction:"ltr","text-align":"left"}},Zs={style:{"font-weight":"510","font-size":"0.8em",direction:"ltr","text-align":"left"}},er={style:{width:"15%"}},tr=["src"],ar=["src"],ir={style:{width:"60%"}},sr={style:{color:"#fff","font-weight":"590","font-size":"0.75em"}},rr={style:{display:"flex","align-items":"center",gap:"1vw"}},nr={style:{color:"#fff","font-weight":"590","font-size":"0.9em"}},lr=["src","alt"],or={style:{width:"20%"}},cr={style:{"font-size":"1em","font-weight":"600"}},dr={style:{"font-size":"1em","font-weight":"600"}},ur={style:{"font-size":"0.9em","font-weight":"600"}},gr=["src"],vr=["src"],yr={__name:"index",setup(I){const{t:l}=He();qe();const pe=Ve(),X=Xe(),{lotteryRewards:ge,tickets:xe,luckyUsers:Te,userInfo:ve,userIdentity:fe,currentEarnings:me,selectedPayee:J,taskList:ee,lotteryPageNo:_,lotteryRanking:le,addLotteryRanking:ke,myLotteryRanking:oe,rankingRewards:_e,rechargePageNo:te,rechargeRanking:Re,addRechargeRanking:Ie,myRechargeRanking:Ce,myRechargeRecode:he,RechargeRewards:we,resultShow:ae,result:K,drawRecordShow:ie,myRecords:je,receiveRecordShow:se,receiveRecord:Pe,taskListShow:j,checkDate:P,checkStatus:L,earningsHelpShow:y,rechargeHelpShow:G}=Me(X),W=Ee(),re=M(()=>W.selectedLang?.type||"en"),m=U(!0),B=U(null),t=i=>Ye("Activities/SpringFestival/",i),f=i=>Mt("Activities/SpringFestival/",i),h=i=>re.value==="ar"?`${i}_ar`:i,C=U(!0),b=U(!1),A=U(!0),ne=U(!1),q=U(!1),w=U(!0),S=U(!1),p=M(()=>C.value&&ne.value||b.value&&w.value),N=M(()=>{if(p.value)return C.value?oe.value:Ce.value}),F=i=>{switch(i){case"gamePlay":C.value=!0,b.value=!1;break;case"recharge":C.value=!1,b.value=!0;break}},V=i=>{switch(i){case"task":A.value=!0,ne.value=!1,q.value=!1;break;case"lotteryRanking":A.value=!1,ne.value=!0,q.value=!1;break;case"lotteryReward":A.value=!1,ne.value=!1,q.value=!0;break;case"rechargeRanking":w.value=!0,S.value=!1;break;case"rechargeReward":w.value=!1,S.value=!0;break}},Ue=U(0),Se=U(0),Be=U(0),De=U(0);let be=null;const Le=()=>new Date(2026,2,14,5,0,0).getTime(),Fe=()=>{const i=Date.now();let v=Le()-i;if(v<=0){Ue.value=0,Se.value="00",Be.value="00",De.value="00",be&&(clearInterval(be),be=null);return}const R=Math.floor(v/1e3);Ue.value=Math.floor(R/(24*3600)),Se.value=String(Math.floor(R%(24*3600)/3600)).padStart(2,"0"),Be.value=String(Math.floor(R%3600/60)).padStart(2,"0"),De.value=String(Math.floor(R%60)).padStart(2,"0")},c=()=>{Fe(),be=setInterval(Fe,1e3)},u=U(0),x=M(()=>ae.value||ie.value||se.value||j.value||y.value||G.value),g=M(()=>ae.value||ie.value||se.value||j.value||y.value||G.value),H=()=>{const i=new Date,n=i.getMonth()+"-"+i.getDate();n!=P.value?(P.value=n,L.value=!1,Q("taskList")):L.value||Q("taskList")},Q=i=>{switch(i){case"result":O(),ae.value=!0;break;case"drawRecord":O(),ie.value=!0;break;case"receiveRecord":O(),se.value=!0;break;case"earningsHelp":O(),y.value=!0;break;case"rechargeHelp":O(),G.value=!0;break;case"taskList":O(),j.value=!0;break;default:O();break}},O=()=>{j.value&&(L.value=!0),ae.value=!1,ie.value=!1,se.value=!1,y.value=!1,G.value=!1,j.value=!1},Je=i=>{if(i.targetType=="SEND_GIFT"){if(i.taskCode=="SPINS_SEND_GIFT")return l("lucky_and_magical_gifts_win_gold_coins")}else if(i.targetType=="WIN_COINS"&&i.taskCode=="SPINS_WIN_100000")return l("win_coins_in_the_game")},vt=async()=>{const i=await Qt("04877");i.status&&i.body?ge.value=i.body:ge.value={}},yt=async()=>{try{const i=await lt("2007771533988204877");i.status&&(xe.value=i.body||0)}catch(i){ye(i.response.errorMsg)}},pt=async()=>{const i=await Zt("2007771533988204877");i.status&&i.body&&(Te.value=i.body)},ft=async()=>{ee.value=[{taskId:1,taskCode:"SPINS_WIN_100000",taskName:"Win 100000 coins in the game",taskType:4,taskDesc:"游戏内获得100000金币",targetType:"WIN_COINS",targetValue:1e5,targetUnit:"COINS",currentValue:0,progressRate:0,taskStatus:0,rewardType:1,rewardValue:1},{taskId:2,taskCode:"SPINS_SEND_GIFT",taskName:"Lucky and magical gifts win 100000 gold coins",taskType:2,taskDesc:"送出幸运礼物或魔法礼物赢取100000金币",targetType:"SEND_GIFT",targetValue:1e5,targetUnit:"COINS",currentValue:0,progressRate:0,taskStatus:0,rewardType:1,rewardValue:1}]},ht=async()=>{if(Object.keys(ve.value).length===0){const n=await Pt();n.status&&n.body&&(Dt(n.body,null),ve.value=n.body)}const i=await Ft();i.status&&i.body&&(fe.value=i.body)},wt=async()=>{const i=await ot("2007771533988204877");i.status&&i.body&&(me.value=i.body?.availableAmount||0)},mt=()=>{const i=Vt();i&&Object.assign(J.value,i)},kt=()=>{Object.assign(J.value,{id:null,account:"",name:"",avatar:"",type:"",isHost:!1,isAgency:!1,hasSalary:!1}),Gt()},tt=async(i="lottery")=>{_.value==0&&(_.value=1),te.value==0&&(te.value=1);let n={activityId:i=="lottery"?"2007771533988204877":"2007771533988204888",pageNo:i=="lottery"?_.value:te.value,pageSize:20};const v=await ct(n);v.status&&v.body?(i=="lottery"?oe.value=v.body?.currentUser:i=="recharge"&&(Ce.value=v.body?.currentUser),v.body.topList.length>0&&(v.body.topList.length==20?i=="lottery"?(ke.value=[],le.value.push(...v.body?.topList),_.value++):i=="recharge"&&(Ie.value=[],Re.value.push(...v.body?.topList),te.value++):i=="lottery"?ke.value=v.body?.topList:i=="recharge"&&(Ie.value=v.body?.topList))):i=="lottery"?(oe.value={},le.value=[],ke.value=[],_.value=1):i=="recharge"&&(Ce.value={},Re.value=[],Ie.value=[],te.value=1)},_t=async()=>{const n=await ea({sysOrigin:"ATYOU",activityType:"LUCKY_GIFT_REWARD"});n.status&&n.body?_e.value=n.body.map(v=>{let R=[];return v.rule.sort==1?R=[{type:"DOLLARS",cover:"",content:100},{type:"GIFT",cover:t("IDReward"),content:"ID: XXXX"}]:v.rule.sort==2?R=[{type:"DOLLARS",cover:"",content:50}]:v.rule.sort==3?R=[{type:"DOLLARS",cover:"",content:30}]:v.rule.sort==4&&(R=[{type:"DOLLARS",cover:"",content:10}]),v.propsGroup.activityRewardProps.push(...R),v={...v},v}):_e.value=[]},bt=async()=>{const n=await dt({activityType:"CONSUMPTION_ACTIVITY",activityId:"2007771533988204888"});n.status&&n.body?we.value=n.body.map(v=>{let R=JSON.parse(v.jsonData),k=[];return v.sort==1?k=[]:v.sort==2?k=[]:v.sort==3?k=[]:v.sort==4?k=[{type:"GIFT",cover:t("reward_gift"),content:1}]:v.sort==5?k=[{type:"GIFT",cover:t("reward_gift"),content:1}]:v.sort==6&&(k=[{type:"GIFT",cover:t("reward_gift"),content:1},{type:"PROPS",detailType:"AVATAR_FRAME",cover:t("reward_frame"),quantity:365},{type:"PROPS",detailType:"RIDE",cover:t("reward_ride"),quantity:60}]),v.rewardProps.push(...k),v={...v,...R},v}):we.value=[]},xt=async()=>{const i=await ta("2007771533988204888");i.status&&i.body?he.value=i.body:he.value={}},Rt=async()=>{await Promise.all([vt(),yt(),pt(),ft(),ht(),wt(),mt(),tt("lottery"),tt("recharge"),_t(),bt(),xt()])},St=async()=>{const i=[t("bg1"),t("bg2"),t("bg3"),t("bg4"),t("bg5"),t("bg6"),t("bg1"),t("bg2-2"),t("TimeBg"),t(h("TagGameBt")),t(h("TagRechargeBt")),t(h("MTaskBt")),t(h("MRankingBt")),t(h("MRewardBt")),t("taskListBg"),t("taskItemBg"),t("taskTypeGift"),t("taskTypeGame"),t("ticket"),t("taskBtGo"),t("taskBtReceive"),t("taskBtReceived")];await it(i)},$t=async()=>{try{await Promise.all([St()]),console.log("预加载完成,初始化数据成功")}catch(i){console.error("预加载过程中发生错误:",i)}finally{m.value=!1}},Tt=async()=>{const i=[t("myRankingBg"),t("rankingNumBg"),t("userFrame"),t("resultBg"),t("resultBack"),t("resultNext"),t("recordBg"),t(h("earningsHelpInfo")),t(h("rechargeHelpInfo")),t("lotteryBg"),t("historyBt"),t("prizeActiveFrame"),t("ticket"),t("earningInfoBg"),t("top1Bg"),t("top2Bg"),t("top3Bg"),t("rankingNumBg"),t("rankingItemBg"),t("rankingRewardTop1Bg"),t("rankingRewardTop2Bg"),t("rankingRewardTop3Bg"),t("rankingRewardTop4Bg"),t(h("receiveBt")),t(h("receivedBt")),t(h("rechargeReward100")),t(h("rechargeReward500")),t(h("rechargeReward1000")),t(h("rechargeReward3000")),t(h("rechargeReward5000")),t(h("rechargeReward10000"))];await it(i)},It=async()=>{await Et(()=>{$t()})},Ct=()=>{B.value=setTimeout(()=>{m.value&&(console.warn("⏰ 预加载超时,正在刷新页面..."),window.location.reload())},2e4)},Ut=()=>{B.value&&(clearTimeout(B.value),B.value=null)};return Oe(async()=>{X.clear(),H(),console.log("route.query.activeAction:",pe.query.activeAction),pe.query.activeAction=="TaskShow",F("gamePlay"),V("task"),Ct(),await It(),Rt(),Tt(),c()}),Ge(()=>{X.clear(),be&&(clearInterval(be),be=null),Ut(),kt()}),(i,n)=>{const v=zt,R=We("smart-img");return o(),d("div",es,[s(e("div",ts,[s(T(Qe,{backgroundImages:[t("bg1"),t("bg2"),t("bg3"),t("bg4"),t("bg5"),t("bg6")]},null,8,["backgroundImages"]),[[$,!p.value]]),T(v),e("p",null,r(i.$t("loading"))+"...",1)],512),[[$,m.value]]),s(e("div",as,[s(T(Qe,{backgroundImages:[t("bg1"),t("bg2"),t("bg3"),t("bg4"),t("bg5"),t("bg6")]},null,8,["backgroundImages"]),[[$,!p.value]]),s(T(Qe,{backgroundImages:[t("bg1"),t("bg2-2")]},null,8,["backgroundImages"]),[[$,p.value]]),s(e("div",{class:"background-overlay",style:Y({"--bg3-2-url":`url(${t("bg3-2")})`})},null,4),[[$,p.value]]),e("div",is,[s(e("img",{src:f("pageTop"),alt:"",width:"100%",style:{display:"block"}},null,8,ss),[[R]]),T(E,{style:{"min-height":"35.45vw",width:"95%","min-width":"0","margin-top":"-52vw"},imgUrl:t("TimeBg"),contentStyle:"padding:0 14.5vw 6vw 13.5vw;"},{default:z(()=>[e("div",rs,[e("div",ns,[e("div",ls,r(Ue.value)+"D",1)]),e("div",os,[e("div",cs,r(Se.value),1)]),e("div",ds,[e("div",us,r(Be.value),1)]),e("div",gs,[e("div",vs,r(De.value),1)])])]),_:1},8,["imgUrl"]),e("div",ys,[e("div",{style:{flex:"1","min-width":"0"},onClick:n[0]||(n[0]=k=>F("gamePlay"))},[s(e("img",{src:t(h("TagGameBt")),alt:"",class:Z({"grayscale-container":!C.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,ps),[[R]])]),e("div",{style:{flex:"1","min-width":"0"},onClick:n[1]||(n[1]=k=>F("recharge"))},[s(e("img",{src:t(h("TagRechargeBt")),alt:"",class:Z({"grayscale-container":!b.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,fs),[[R]])])]),s(e("div",hs,[e("div",ws,[e("div",{style:{width:"30vw","min-width":"0"},onClick:n[2]||(n[2]=k=>V("task"))},[s(e("img",{src:t(h("MTaskBt")),alt:"",class:Z({"grayscale-container":!A.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,ms),[[R]])]),e("div",{style:{width:"30vw","min-width":"0"},onClick:n[3]||(n[3]=k=>V("lotteryRanking"))},[s(e("img",{src:t(h("MRankingBt")),alt:"",class:Z({"grayscale-container":!ne.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,ks),[[R]])]),e("div",{style:{width:"30vw","min-width":"0"},onClick:n[4]||(n[4]=k=>V("lotteryReward"))},[s(e("img",{src:t(h("MRewardBt")),alt:"",class:Z({"grayscale-container":!q.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,_s),[[R]])])]),s(T(ni,{activity:a(ge)},null,8,["activity"]),[[$,A.value]]),s(T(rt,{rankingType:"lottery"},null,512),[[$,ne.value]]),s(T(Ai,null,null,512),[[$,q.value]])],512),[[$,C.value]]),s(e("div",bs,[e("div",xs,[e("div",{style:{width:"30vw","min-width":"0"},onClick:n[5]||(n[5]=k=>V("rechargeRanking"))},[s(e("img",{src:t(h("MRankingBt")),alt:"",class:Z({"grayscale-container":!w.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,Rs),[[R]])]),e("div",{style:{width:"30vw","min-width":"0"},onClick:n[6]||(n[6]=k=>V("rechargeReward"))},[s(e("img",{src:t(h("MRewardBt")),alt:"",class:Z({"grayscale-container":!S.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,Ss),[[R]])])]),s(T(rt,{rankingType:"recharge"},null,512),[[$,w.value]]),s(T(Zi,null,null,512),[[$,S.value]])],512),[[$,b.value]])]),s(e("div",$s,null,512),[[$,p.value]]),s(e("div",Ts,null,512),[[$,!p.value]]),s(T(E,{style:{"min-height":"36.66vw",position:"fixed",bottom:"0","z-index":"2"},imgUrl:t("myRankingBg"),contentStyle:"padding: 0 5vw"},{default:z(()=>[e("div",Is,[T(E,{style:{width:"10vw"},imgUrl:t("rankingNumBg"),contentStyle:"bottom: 0.5vw;",onClick:n[7]||(n[7]=k=>a(Ne)(i.listItem.userId))},{default:z(()=>[e("div",Cs,r(N.value?.rank||999),1)]),_:1},8,["imgUrl"]),T(E,{style:{width:"20vw","z-index":"1"},imgUrl:t("userFrame"),contentStyle:"top:2vw"},{default:z(()=>[e("img",{src:N.value?.userAvatar||"",alt:"",style:{position:"relative","z-index":"-1",display:"block",width:"13vw","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:n[8]||(n[8]=(...k)=>a(ue)&&a(ue)(...k))},null,40,Us)]),_:1},8,["imgUrl"]),e("div",js,[e("div",Bs,[e("div",Ls,r(N.value?.userName),1)]),e("div",Ns,r(i.$t("user_id_prefix"))+" "+r(N.value?.specialAccount||N.value?.account),1)])]),e("div",As,[C.value&&ne.value?(o(),d("div",zs,[s(e("img",Ps,null,512),[[R]]),e("div",Ds,r(N.value?.amount||0),1)])):D("",!0),b.value&&w.value?(o(),d("div",Fs," $"+r(N.value?.amount||0),1)):D("",!0)])]),_:1},8,["imgUrl"]),[[$,p.value]]),T(na,{maskLayerShow:x.value,onClick:O},{default:z(()=>[s(e("div",{style:{width:"100vw",height:"100vh",display:"flex","justify-content":"center","align-items":"center"},onClick:O},[s(e("div",{style:{position:"relative",width:"100%"},onClick:n[11]||(n[11]=$e(()=>{},["stop"]))},[T(E,{style:{"min-height":"100.53vw"},imgUrl:t("resultBg"),contentStyle:`inset: 30vw 7vw 6vw; - flex-direction: column; - justify-content: space-between; - gap:2vw`},{default:z(()=>[e("div",Hs,[e("div",Ms,[s(e("img",{class:"flipImg",src:t("resultBack"),alt:"",style:{display:"block",width:"80%","object-fit":"cover"},onClick:n[9]||(n[9]=k=>u.value--)},null,8,Es),[[R],[$,a(K).length>1&&u.value>0]])]),e("img",{src:a(K)[u.value]?.prize?.prizeImage,alt:"",style:{display:"block",width:"40vw"}},null,8,Os),e("div",Gs,[s(e("img",{class:"flipImg",src:t("resultNext"),alt:"",style:{display:"block",width:"80%","object-fit":"cover"},onClick:n[10]||(n[10]=k=>u.value++)},null,8,Vs),[[R],[$,a(K).length>1&&u.value+11?(o(),d("div",qs,r(u.value+1)+" / "+r(a(K).length),1)):D("",!0)]),e("div",{style:{width:"30vw",height:"12vw"},onClick:O})]),_:1},8,["imgUrl"])],512),[[$,a(ae)]]),s(e("div",{style:{position:"relative",width:"95%"},onClick:n[12]||(n[12]=$e(()=>{},["stop"]))},[T(E,{style:{"min-height":"91.33vw"},imgUrl:t("recordBg"),contentStyle:"padding: 22vw 7vw 8vw;"},{default:z(()=>[e("div",Ys,[(o(!0),d(ce,null,de(a(je),(k,jt)=>(o(),d("div",Xs,[e("div",Js,[e("img",{src:k?.prize?.prizeImage||"",alt:"",style:{width:"10vw","min-width":"0","object-fit":"cover",display:"block"}},null,8,Ks),e("div",Qs,r(k?.prize?.prizeName),1)]),e("div",Zs,r(a(Ot)(k.drawTime)),1)]))),256))])]),_:1},8,["imgUrl"])],512),[[$,a(ie)]]),s(T(E,{style:{"min-height":"74vw"},imgUrl:t("taskListBg"),contentStyle:"padding: 20vw 10vw 12vw;flex-direction: column;justify-content: space-between;",onClick:n[14]||(n[14]=$e(()=>{},["stop"]))},{default:z(()=>[(o(!0),d(ce,null,de(a(ee),k=>(o(),Ae(E,{style:{"min-height":"19.6vw"},imgUrl:t("taskItemBg"),contentStyle:"padding: 4vw 5.5vw;justify-content: space-between;",onClick:n[13]||(n[13]=$e(()=>{},["stop"]))},{default:z(()=>[e("div",er,[k.taskType==2?s((o(),d("img",{key:0,src:t("taskTypeGift"),alt:"",width:"100%",style:{display:"block"}},null,8,tr)),[[R]]):D("",!0),k.taskType==4?s((o(),d("img",{key:1,src:t("taskTypeGame"),alt:"",width:"100%",style:{display:"block"}},null,8,ar)),[[R]]):D("",!0)]),e("div",ir,[e("div",sr,r(Je(k)),1),e("div",rr,[e("div",nr,r(a(l)("coins_per_get")),1),s(e("img",{src:t("ticket"),alt:a(l)("ticket"),width:"15%",style:{display:"block"}},null,8,lr),[[R]]),n[17]||(n[17]=e("div",{style:{color:"#fff","font-weight":"590","font-size":"0.9em"}},"*1",-1))])]),e("div",or,[k.taskStatus==0?(o(),Ae(E,{key:0,imgUrl:t("taskBtGo")},{default:z(()=>[e("div",cr,r(a(l)("task_go")),1)]),_:1},8,["imgUrl"])):k.taskStatus===1?(o(),Ae(E,{key:1,imgUrl:t("taskBtReceive"),onClick:jt=>i.receiveTaskReward(k.taskCode)},{default:z(()=>[e("div",dr,r(a(l)("task_receive")),1)]),_:1},8,["imgUrl","onClick"])):(o(),Ae(E,{key:2,imgUrl:t("taskBtReceived")},{default:z(()=>[e("div",ur,r(a(l)("task_received")),1)]),_:1},8,["imgUrl"]))])]),_:2},1032,["imgUrl"]))),256))]),_:1},8,["imgUrl"]),[[$,a(j)]]),s(e("img",{src:t(h("earningsHelpInfo")),alt:"",style:{display:"block",width:"100%","object-fit":"cover","margin-bottom":"6vw"},onClick:n[15]||(n[15]=$e(()=>{},["stop"]))},null,8,gr),[[R],[$,a(y)]]),s(e("img",{src:t(h("rechargeHelpInfo")),alt:"",style:{display:"block",width:"100%","object-fit":"cover","margin-bottom":"6vw"},onClick:n[16]||(n[16]=$e(()=>{},["stop"]))},null,8,vr),[[R],[$,a(G)]])],512),[[$,g.value]])]),_:1},8,["maskLayerShow"])],512),[[$,!m.value]])])}}},jr=ze(yr,[["__scopeId","data-v-14b36106"]]);export{jr as default}; diff --git a/h5/js/index-jBz1Y07v-1776148658686.js b/h5/js/index-jBz1Y07v-1776148658686.js deleted file mode 100644 index a2cb410..0000000 --- a/h5/js/index-jBz1Y07v-1776148658686.js +++ /dev/null @@ -1,193 +0,0 @@ -import{_ as $e,an as ot,j as l,c as o,b as e,D as c,n as A,q as p,Q as re,t as r,S,k as dt,o as ct,a as ut,w as Nt,F as B,x as U,r as g,P as Dt,l as y,ac as Ft,v as _,Y as x,m as h,G as se,Z as it,J as Et,au as Lt,aJ as Mt,al as Ht,u as Pt,a_ as W,y as J,ag as at}from"./index-CIAVq8iD-1776148658686.js";import{_ as le}from"./coin-Dqu2_ND9-1776148658686.js";import{a as Gt,_ as Ae,b as qt,c as Ot,d as Wt}from"./coinSeller-DYKB8f4A-1776148658686.js";import{_ as Jt}from"./dollar-B_xazKD_-1776148658686.js";import{c as Xt}from"./appConnector-B5Pbaops-1776148658686.js";import{g as Yt}from"./imagePaths-Bi1Bwe4Z-1776148658686.js";import{p as nt}from"./imagePreloader-C_QM-Nv8-1776148658686.js";import{f as Kt}from"./utcFormat-Cl3Lb3s0-1776148658686.js";import{a as M,s as st}from"./toast-aIWCznBB-1776148658686.js";import{h as R}from"./imageHandler-DstQGL3Z-1776148658686.js";import{g as Qt}from"./payeeStore-BUBSCe8t-1776148658686.js";import{f as rt}from"./rewardFormatter-Dyjg93my-1776148658686.js";import{g as Zt,d as ei,b as ti}from"./activity-Dn8ZkLM2-1776148658686.js";import{o as ii,m as ai,n as ni,c as si,f as ri,g as li,h as oi,p as di,A as ci,i as ui,w as gi,t as pi,k as vi,l as yi}from"./lottery-BvmnIlAm-1776148658686.js";import{B as lt}from"./BackgroundLayer-DJYogygx-1776148658686.js";import{i as m}from"./itemCenter-DveKthYv-1776148658686.js";import{m as hi}from"./MaskLayer-CMaJd7Gb-1776148658686.js";const fi={style:{width:"100%"}},mi=["src"],wi=["src"],bi={__name:"topUser",props:{ranking:{type:String,default:""},avatarUrl:{type:String,default:""},BorderImgUrl:{type:String,required:!0},name:{type:String,default:""},distributionValue:{type:String,default:""}},setup($){const T=$,F=S(()=>T.ranking==="1"),u=S(()=>{switch(T.ranking){case"1":return"65%";case"2":return"65%";case"3":return"65%";default:return"65%"}}),E=S(()=>{switch(T.ranking){case"1":return"50%";case"2":return"50%";case"3":return"50%";default:return"50%"}}),Q=S(()=>{switch(T.ranking){case"1":return"37%";case"2":return"36%";case"3":return"39%";default:return"37%"}}),H=S(()=>{switch(T.ranking){case"1":return"60%";case"2":return"60%";case"3":return"60%";default:return"60%"}}),oe=S(()=>{switch(T.ranking){case"1":return"25%";case"2":return"25%";case"3":return"25%";default:return"25%"}}),Z=S(()=>{switch(T.ranking){case"1":return"50%";case"2":return"50%";case"3":return"50%";default:return"50%"}}),a=S(()=>{switch(T.ranking){case"1":return"1em";case"2":return"0.9em";case"3":return"0.9em";default:return"0.9em"}});return(f,X)=>{const Y=ot("smart-img");return l(),o("div",fi,[e("div",{style:A([{position:"relative"},{minHeight:$.ranking=="1"?"62.68vw":"46.50vw"}])},[c(e("img",{src:$.BorderImgUrl,alt:"",width:"100%",style:{display:"block",position:"relative","z-index":"2"}},null,8,mi),[[Y]]),e("div",{style:A([{position:"absolute",top:"0",left:"0",right:"0","z-index":"1",display:"flex","justify-content":"center","align-items":"center"},{height:u.value}])},[e("div",{style:A({width:E.value})},[e("img",{src:$.avatarUrl||"",alt:"",width:"100%",style:{display:"block","border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:X[0]||(X[0]=(...ee)=>p(R)&&p(R)(...ee))},null,40,wi)],4)],4),e("div",{style:A([{position:"absolute",bottom:"0",left:"0",right:"0","z-index":"3",display:"flex","flex-direction":"column","align-items":"center",gap:"1vw"},{height:Q.value}])},[e("div",{style:A([{display:"flex","justify-content":"center","align-items":"center"},{width:H.value,height:oe.value}])},[e("div",{style:{"font-weight":"700",direction:"ltr"},class:re(["showText",F.value?"top1Text":"text"])},r($.name),3)],4),e("div",{style:A([{"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:Z.value,background:$.ranking=="1"?"linear-gradient(270deg, #AD1300 0%, #FE280C 50%, #AD1300 100%)":$.ranking=="2"?"linear-gradient(270deg, #A3FDF9 0%, #1D7BBD 50%, #A3FDF9 100%)":"linear-gradient(270deg, #F5EAE4 0%, #F9C29E 50%, #F5EAE4 100%)"}])},[c(e("img",{src:le,alt:"",style:A([{display:"block"},{width:a.value}])},null,4),[[Y]]),e("div",{style:A([{"font-weight":"590"},{color:$.ranking=="1"?"#FFE601":"#FFF"}]),class:re(["showText",F.value?"top1Text":"text"])},r($.distributionValue),7)],4)],4)],4)])}}},Re=$e(bi,[["__scopeId","data-v-b81bf142"]]),_i={style:{position:"relative",width:"100%",height:"32vw",overflow:"hidden","pointer-events":"none"}},xi=["onAnimationend"],ki=["src"],Ci={__name:"Barrage",props:{barrageList:{type:Array,required:!0,default:()=>[]},speed:{type:Number,default:80},maxItems:{type:Number,default:4},loopInterval:{type:Number,default:2e3}},setup($){const{locale:T,t:F}=dt(),u=$,E=g([[],[]]),Q=g(0),H=g(0),oe=S(()=>E.value.filter(v=>v.length>0)),Z=v=>{const w={nickname:v.nickname,prizeName:v.prizeName};return v.prizeType=="GOLD"||v.prizeType=="MONEY"?F("barrage_won_prize",w):F("barrage_won_the_prize",w)},a=v=>{const w=T.value==="ar";return{animationDuration:`${v.duration}s`,animationDelay:`${v.delay}s`,"--start-pos":`${v.startPos}px`,border:v.prizeType=="MONEY"?"0.667px solid #77FFCF":"0.667px solid #FFF677",background:v.prizeType=="MONEY"?"linear-gradient(270deg, rgba(218, 103, 2, 0.60) -16.85%, rgba(124, 41, 0, 0.60) 82.7%)":"linear-gradient(270deg, rgba(2, 218, 164, 0.60) -16.85%, rgba(0, 124, 83, 0.60) 82.7%)",...w?{right:"0",left:"auto",transform:"translateX(-100vw)"}:{left:"0",right:"auto",transform:"translateX(100vw)"}}},f=v=>{const w=Z(v).length;return{duration:Math.max(8-w*.2,5)*(100/u.speed),startPos:Math.floor(Math.random()*21)-10}},X=v=>{const w=E.value.reduce((j,N,z)=>N.length{E.value.forEach(v=>{for(let w=v.length-1;w>=0;w--)v[w].completed&&v.splice(w,1)})},ee=v=>{E.value.forEach(w=>{const j=w.find(N=>N.id===v);j&&(j.completed=!0)})},ge=()=>{if(u.barrageList.length===0)return null;const v=u.barrageList[H.value];return H.value=(H.value+1)%u.barrageList.length,{...v}};let te=null;const K=()=>{te=setInterval(()=>{Y();const v=ge();v&&X(v)},u.loopInterval)};return ct(()=>{K()}),ut(()=>{clearInterval(te)}),Nt(()=>u.barrageList,v=>{H.value=0,clearInterval(te),v.length!==0&&K()},{deep:!0}),(v,w)=>(l(),o("div",_i,[(l(!0),o(B,null,U(oe.value,(j,N)=>(l(),o("div",{key:N,style:A([{position:"absolute",width:"100%",height:"50px"},{top:`calc(${N} * 16vw)`}])},[(l(!0),o(B,null,U(j,z=>(l(),o("div",{key:z.id,class:"barrage-item",style:A([{position:"absolute","border-radius":"26px",padding:"4px",display:"flex","align-items":"center",gap:"4px","backdrop-filter":"blur(1px)"},a(z)]),onAnimationend:pe=>ee(z.id)},[e("img",{src:z.avatar||"",alt:"",style:{width:"10vw","border-radius":"50%",display:"block","aspect-ratio":"1/1","object-fit":"cover"},onError:w[0]||(w[0]=(...pe)=>p(R)&&p(R)(...pe))},null,40,ki),e("div",{style:A([{"font-weight":"700","background-clip":"text","-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"},{backgroundImage:z.prizeType=="MONEY"?"linear-gradient(180deg, #FFF9A9 26.92%, #ED7D0A 52.08%, #FFFAB5 73.08%)":"linear-gradient(180deg, #A9FFE2 26.92%, #0AEDA1 52.08%, #B5FFE8 73.08%)"}])},r(Z(z)),5)],44,xi))),128))],4))),128))]))}},Ti=$e(Ci,[["__scopeId","data-v-2cf3b3cd"]]),Bi={class:"fullPage"},Ui={key:0,class:"loading-container"},Si={key:1,style:{width:"100vw","min-height":"100vh",overflow:"hidden",position:"relative"}},zi={style:{position:"relative","z-index":"2","margin-top":"115vw"}},Ii={style:{"min-height":"14.3vw",display:"flex","justify-content":"space-around","margin-top":"2vw"}},Vi=["src"],Ri=["src"],Ai=["src"],$i=["src"],ji=["src"],Ni=["src"],Di={style:{width:"80%",display:"flex","justify-content":"space-around","margin-top":"10%"}},Fi=["src"],Ei={style:{display:"flex","justify-content":"center","align-items":"center",gap:"2px"}},Li={src:le,alt:"",style:{display:"block",width:"1.3em","aspect-ratio":"1/1"}},Mi={style:{color:"rgba(255, 255, 255, 1)","font-weight":"590"}},Hi=["src"],Pi={style:{display:"flex","justify-content":"center"}},Gi={style:{position:"relative","z-index":"3",display:"flex","justify-content":"space-between","margin-top":"-44%","pointer-events":"none"}},qi={class:"timeBox",style:{"min-height":"16vw"}},Oi={style:{width:"30%"}},Wi={class:"timeText",style:{}},Ji={style:{width:"13%"}},Xi={class:"timeText",style:{}},Yi={style:{width:"13%"}},Ki={class:"timeText",style:{}},Qi={style:{width:"13%"}},Zi={class:"timeText",style:{}},ea={style:{padding:"30vw 5vw 10vw",position:"relative","z-index":"0",display:"flex","flex-direction":"column",gap:"2vw"}},ta={style:{position:"absolute","z-index":"0",inset:"0",display:"flex","flex-direction":"column"}},ia=["src"],aa=["src"],na={style:{position:"absolute","z-index":"-1",inset:"11vw 0 2vw",display:"flex","flex-direction":"column"}},sa=["src"],ra=["src"],la={style:{flex:"1","min-width":"0",display:"flex","justify-content":"space-around","align-items":"center",gap:"4px"}},oa={style:{width:"9vw"}},da={key:0,style:{width:"100%"}},ca=["src"],ua={key:1,style:{width:"100%"}},ga={style:{color:"#ffe601","font-weight":"700"}},pa={style:{width:"3.5em",margin:"0 1vw",position:"relative","z-index":"0"}},va=["src"],ya=["src"],ha={style:{flex:"1","min-width":"0",display:"flex","flex-direction":"column"}},fa={style:{width:"100%","margin-top":"1vw"}},ma={style:{height:"100%",display:"flex","align-items":"center",overflow:"hidden"}},wa={key:0,class:"scroll-wrapper"},ba={class:"scroll-content"},_a={style:{color:"#fff","font-size":"1em","font-weight":"860","white-space":"nowrap"}},xa={key:1,style:{width:"100%","text-align":"center"}},ka={style:{color:"#fff","font-size":"1em","font-weight":"860","white-space":"nowrap"}},Ca={style:{color:"#fff","font-weight":"590"},class:"Textlittle"},Ta={style:{width:"auto","min-width":"0",display:"flex","align-items":"center"}},Ba={src:le,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1","object-fit":"cover"}},Ua={style:{color:"#ffe601","font-weight":"700"},class:"Textlittle"},Sa={class:"reward-wrapper"},za={style:{height:"100%",display:"flex","align-items":"center",overflow:"hidden"}},Ia={class:"scroll-wrapper"},Va={class:"scroll-content"},Ra=["onClick"],Aa=["src"],$a={style:{"min-width":"0",color:"#fff","white-space":"nowrap"}},ja={style:{flex:"1","min-width":"0",display:"flex","justify-content":"space-around","align-items":"center",gap:"4px"}},Na={style:{color:"#ffe601","font-weight":"700"}},Da=["src"],Fa={style:{flex:"1","min-width":"0",display:"flex","flex-direction":"column"}},Ea={style:{width:"100%","margin-top":"1vw"}},La={style:{height:"100%",display:"flex","align-items":"center",overflow:"hidden"}},Ma={key:0,class:"scroll-wrapper"},Ha={class:"scroll-content"},Pa={style:{color:"#fff","font-size":"1em","font-weight":"860","white-space":"nowrap"}},Ga={key:1,style:{width:"100%","text-align":"center"}},qa={style:{color:"#fff","font-size":"1em","font-weight":"860","white-space":"nowrap"}},Oa={style:{color:"#fff","font-weight":"590"},class:"Textlittle"},Wa={style:{width:"auto","min-width":"0",display:"flex","align-items":"center"}},Ja={src:le,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1","object-fit":"cover"}},Xa={style:{color:"#ffe601","font-weight":"700"},class:"Textlittle"},Ya={style:{width:"100vw",position:"relative",display:"flex","flex-direction":"column",gap:"4vw"}},Ka=["src"],Qa={style:{width:"100%",flex:"1","min-width":"0","min-height":"0",display:"flex","justify-content":"center","align-items":"center"}},Za=["src","alt"],en={style:{width:"100%",height:"20%","min-width":"0","min-height":"0",display:"flex","justify-content":"center","align-items":"center"}},tn={style:{"font-size":"0.9em","font-weight":"700",color:"#fff","text-shadow":"0 1px 0 #339370","white-space":"nowrap"}},an=["src"],nn={style:{"grid-area":"2 / 2",display:"flex","justify-content":"center","align-items":"center"}},sn={style:{width:"80%","text-align":"center","min-width":"0","font-size":"1em","font-weight":"700",color:"#fff","text-shadow":"0 1px 0 #339370"}},rn={style:{padding:"0 4vw"}},ln={style:{"font-size":"1.3em","font-weight":"600"}},on={style:{"min-height":"19.05vw",display:"flex","justify-content":"center",gap:"4vw"},class:"drawBts"},dn=["src"],cn=["src"],un={style:{position:"relative","z-index":"2",margin:"0 4vw 0",display:"flex","flex-direction":"column",gap:"2vw",padding:"12px","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, #0f674c 0%, #0f674c 100%), #e8e8e8`,"background-blend-mode":"hard-light, normal, normal"}},gn={style:{display:"flex","justify-content":"space-between","align-items":"center"}},pn={style:{"font-size":"1.4em","font-weight":"700"}},vn={style:{width:"20%"}},yn={style:{"font-size":"1em","font-weight":"600","white-space":"nowrap"}},hn={style:{"font-size":"1em","font-weight":"600","white-space":"nowrap"}},fn={style:{"font-size":"0.9em","font-weight":"600","white-space":"nowrap"}},mn={style:{display:"flex","align-items":"center",gap:"4vw"}},wn=["src"],bn={style:{"font-size":"1.1em","font-weight":"700"}},_n={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, #0f674c 0%, #0f674c 100%), #e8e8e8`,"background-blend-mode":"hard-light, normal, normal",padding:"12px",display:"flex","flex-direction":"column",gap:"12px"}},xn={style:{"font-weight":"590"}},kn={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"}},Cn={style:{width:"20%"}},Tn=["src"],Bn=["src"],Un=["src"],Sn=["src"],zn={style:{width:"60%"}},In={style:{color:"#fff","font-weight":"590","font-size":"0.9em"}},Vn={style:{display:"flex","align-items":"center",gap:"8px"}},Rn={style:{color:"#fff","font-weight":"590"}},An=["src","alt"],$n={style:{color:"#fff","font-weight":"590"}},jn={style:{width:"20%"}},Nn={style:{"font-size":"1em","font-weight":"600","white-space":"nowrap"}},Dn={style:{"font-size":"1em","font-weight":"600","white-space":"nowrap"}},Fn={style:{"font-size":"0.9em","font-weight":"600","white-space":"nowrap"}},En={style:{width:"100%",padding:"4vw",display:"flex","flex-direction":"column",gap:"3vw"}},Ln={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, #0f674c 0%, #0f674c 100%), #e8e8e8`,"background-blend-mode":"hard-light, normal, normal",padding:"16px 12px",display:"flex","align-items":"center",gap:"8px",position:"relative"}},Mn=["src"],Hn={style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-around",gap:"4px"}},Pn={style:{"max-width":"70%","min-width":"0","font-weight":"500",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},Gn={style:{display:"flex","justify-content":"space-between","align-items":"center"}},qn={style:{"min-width":"0"}},On={style:{width:"auto","font-weight":"600"}},Wn={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, #0f674c 0%, #0f674c 100%), #e8e8e8`,"background-blend-mode":"hard-light, normal, normal",padding:"12px","font-weight":"600",display:"flex","flex-direction":"column",gap:"8px"}},Jn={key:0,style:{"background-color":"transparent",display:"flex","flex-direction":"column",gap:"12px"}},Xn={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"}},Yn={style:{display:"flex","align-items":"center"}},Kn={style:{position:"relative",width:"50px","margin-right":"12px"}},Qn=["src","alt"],Zn={style:{flex:"1"}},es={style:{margin:"0 0 4px 0","font-weight":"700"}},ts={style:{margin:"0","font-size":"0.9em","font-weight":"500"}},is={style:{"margin-left":"50px",display:"flex",gap:"5px"}},as={key:0,src:qt,alt:"",width:"30%"},ns={key:1,src:Ot,alt:"",width:"30%",style:{display:"block"}},ss={key:2,src:Wt,alt:"",width:"30%"},rs={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"}},ls={style:{display:"grid","grid-template-columns":"repeat(3, 1fr)",gap:"12px"}},os=["onClick"],ds={src:Jt,alt:"",style:{width:"40%"}},cs={style:{"font-weight":"500",color:"#fff"}},us={style:{display:"flex","justify-content":"center","align-items":"center"}},gs=["disabled"],ps={key:0,style:{"background-color":"transparent",display:"flex","flex-direction":"column",gap:"12px"}},vs={style:{display:"grid","grid-template-columns":"repeat(3, 1fr)",gap:"12px"}},ys=["onClick"],hs={src:le,alt:"",style:{width:"40%"}},fs={style:{"font-size":"0.7em"}},ms={style:{"font-weight":"500",color:"#fff"}},ws={style:{display:"flex","justify-content":"center","align-items":"center"}},bs=["disabled"],_s={class:"flipImg",src:Ae,alt:"",style:{width:"1em",display:"block"}},xs={style:{height:"25vw"}},ks={style:{flex:"1","min-width":"0",display:"flex","justify-content":"space-around","align-items":"center",gap:"8px"}},Cs={style:{color:"#ffe601","font-weight":"700"}},Ts=["src"],Bs={style:{flex:"1","min-width":"0",display:"flex","flex-direction":"column"}},Us={style:{display:"flex","min-width":"0"}},Ss={style:{color:"#fff","font-size":"1em","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis",direction:"ltr"}},zs={style:{width:"auto","min-width":"0",display:"flex","align-items":"center"}},Is={src:le,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1","object-fit":"cover"}},Vs={style:{color:"#ffe601","font-weight":"700"}},Rs=["src"],As={style:{"font-size":"1.2em","font-weight":"700",background:`linear-gradient( - 180deg, - #ffdf6b 31.61%, - #ffe562 36.73%, - #fff 52.37%, - #ffe562 58.67%, - #ffa615 72.2% - )`,"background-clip":"text","-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"}},$s={style:{width:"100%",display:"flex","justify-content":"space-between","align-items":"center",height:"45vw"}},js={style:{width:"8vw","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},Ns=["src"],Ds=["src"],Fs={style:{width:"8vw","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},Es=["src"],Ls={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)"}},Ms={key:0,class:"resultNum"},Hs={style:{width:"100%",height:"100%","overflow-y":"auto",display:"flex","flex-direction":"column",gap:"8px"},class:"scrollY"},Ps={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"}},Gs={style:{display:"flex","align-items":"center",gap:"4px"}},qs=["src"],Os={style:{"font-weight":"590","font-size":"0.9em",direction:"ltr","text-align":"left"}},Ws={style:{"font-weight":"510","font-size":"0.8em",direction:"ltr","text-align":"left"}},Js=["src"],Xs=["src"],Ys=["src"],Ks={__name:"index",setup($){const T=g(!0),F=g(null),{t:u,locale:E}=dt(),Q=Pt(),H=Et(),oe=Dt(),Z=S(()=>oe.selectedLang?.type||"en"),a=t=>Yt("Activities/LuckyDollars/Season3/",t),f=t=>Z.value==="ar"?`${t}_ar`:t,X=g(0),Y=g(0),ee=g(0),ge=g(0);let te=null;const K=g(!1),v=g(!1),w=g(!1),j=g(!1),N=g(!1),z=g(!1),pe=S(()=>K.value||v.value||w.value||j.value||N.value||z.value),ie=g(!0),ve=g(!1),ye=g(!1),he=g(!1),fe=g(!1),je=g(!1),k=g(null),Ne=g([]),I=g(Array(3).fill({userId:"",avatar:"",nickname:"aaaaaaaa",quantity:"111M"})),Be=g([]),ae=g({}),gt=g([]),De=S(()=>[...Be.value,...gt.value]),Fe=g([]),me=g({}),pt=S(()=>{let t=JSON.parse(JSON.stringify(Fe.value));for(let i=0;i {if(typeof t!="number"||isNaN(t))return"0";const i=Math.abs(t);if(i>=1e6){const d=t/1e6;return(Math.floor(d*100)/100).toFixed(2)+"M"}else if(i>=1e3){const d=t/1e3;return(Math.floor(d*100)/100).toFixed(2)+"K"}else return Math.floor(t).toString()},Ee=g([]),P=g({}),G=g(0),be=g(!1),_e=g(0),Le=g({}),Ue=g({availableAmount:0}),D=g([]),q=g(0),Me=g([]),O=g([]),de=g({}),He=g({}),Pe=g([]),Ge=S(()=>{let t=De.value.filter((i,d)=>d<10);if(t.length<10){let i=Array.from({length:10-t.length},()=>({avatar:"",nickname:"",account:"",amount:""}));t.push(...i)}return t}),qe=S(()=>De.value.filter((t,i)=>i>=10)),Se=g((()=>{const t=new Date,i=new Date(t.getTime()),d=t.getTime()+t.getTimezoneOffset()*6e4,s=new Date(d+8*36e5),n=s.getDay(),b=s.getHours(),C=n===0?6:n-1;let L;return C===0?b>=5?L=7:L=0:L=7-C,i.setDate(i.getDate()+L),i.setHours(5,0,0,0),i.getTime()})()),ze=t=>t<10?`0${t}`:t,Oe=()=>{const t=Date.now();let i=Se.value-t;i<=0&&(tt(),Se.value+=7*864e5,i=Se.value-t);const d=Math.floor(i/1e3);X.value=Math.floor(d/(24*3600)),Y.value=ze(Math.floor(d%(24*3600)/3600)),ee.value=ze(Math.floor(d%3600/60)),ge.value=ze(Math.floor(d%60))},xe=t=>{he.value=t=="transfer"?!he.value:!1,fe.value=t=="exchange"?!fe.value:!1,je.value=t=="withdraw"?!je.value:!1,k.value=null},ne=t=>{ie.value=t=="ranking",ve.value=t=="lottery",ye.value=t=="withdrawal",xe(""),k.value=null},vt=t=>{me.value=t,z.value=!0},We=()=>{Q.push({path:"/search-payee",query:{from:"/activities/lucky-dollars-season3",activeAction:"incomeShow"}})},yt=()=>{Q.push({path:"/cash-out",query:{activityId:"2006671533988298666"}})},Je=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,s=i.getBoundingClientRect().width;return document.body.removeChild(i),s>d},Xe=g([{id:1,amount:10500,price:1},{id:2,amount:52500,price:5},{id:3,amount:105e3,price:10}]),Ye=t=>{k.value?.id==t.id?k.value=null:k.value=t},ht=async()=>{if(!k.value){M(u("please_select_amount"));return}if(!V.value?.id){M(u("please_select_payee"));return}const t={amount:k.value.price,acceptUserId:V.value?.id,activityId:"2006671533988298666"};try{(await pi(t)).status?st(u("transfer_dollar_success",{price:k.value.price,name:V.value?.name})):M(u("transfer_dollar_failed",{price:k.value.price})),k.value=null,ue()}catch(i){M(i.errorMsg)}},ft=async()=>{if(!k.value){M(u("please_select_amount"));return}const t={amount:k.value.price,activityId:"2006671533988298666"};try{(await vi(t)).status?st(u("exchange_success_coins",{amount:k.value.amount})):M(u("exchange_failed_coins",{amount:k.value.amount})),k.value=null,ue()}catch(i){M(i.errorMsg)}},ce=t=>{switch(ke(!1),t){case"rankingHelp":K.value=!0;break;case"top3Help":v.value=!0;break;case"withdrawalHelp":w.value=!0;break;case"result":j.value=!0;break;case"history":N.value=!0;break;case"reward":z.value=!0;break}},ke=(t=!0)=>{K.value=!1,v.value=!1,w.value=!1,j.value=!1,N.value=!1,z.value=!1,t&&(D.value=[]),q.value=0},mt=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],Ke=t=>(console.log("开始抽奖动画"),new Promise(i=>{G.value=-1;let d=200,s=0,n=0,b=1;const C=()=>{G.value=(G.value+1)%P.value.prizeList.length,console.log("当前索引:",G.value),G.value===t&&d>200?setTimeout(()=>{i()},500):(G.value===P.value.prizeList.length-1&&s++,s2&&(d+=20)),setTimeout(C,d))};C()})),Qe=async(t=1)=>{if(!be.value&&_e.value>=t){be.value=!0;let i={activityId:"2006671533988298666",drawCount:t};try{if(t==1){const d=await ii(i);if(d.status&&d.body){Ie(),Te(),Ce(),ue(),D.value=[d.body];const s=d.body,n=P.value.prizeList.findIndex(b=>b.prizeName==s?.prize.prizeName);console.log("index:",n),await Ke(n)}}else{const d=await ai(i);if(d.status&&d.body){Ie(),Te(),Ce(),ue(),D.value=d.body.results;let s=P.value.prizeList.findIndex(n=>n.prizeName==D.value[0]?.prize.prizeName);console.log("index:",s),await Ke(s)}}et(),ce("result"),be.value=!1}catch(d){be.value=!1,d.response.errorCode==3274&&M("Device has been used by another account")}}},wt=t=>{if(t.targetType=="MIC_TIME"){let i=t.targetValue<60,d=i?t.currentValue:t.currentValue/60,s=i?t.targetValue:t.targetValue/60;d=Math.floor(d*10)/10,s=Math.floor(s*10)/10;let n=u(i?"minutes_short":"hours_short");return u("on_mic_progress",{current:d,total:s,unit:n})}else if(t.targetType=="SEND_GIFT"){if(t.taskCode=="SPINS_SEND_GIFT_5")return u("Send 5 Ramadan gifts ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue})}else if(t.targetType=="SAVE_COINS"){if(t.taskCode=="SPINS_SAVE_50000")return u("Win 50,000 coins in total across any games ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue});if(t.taskCode=="SPINS_SAVE_100000")return u("Win 100,000 coins in total across any games ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue});if(t.taskCode=="SPINS_SAVE_500000")return u("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=="SPINS_RECHARGE_1")return u("Daily total recharge amount: $1 ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue});if(t.taskCode=="SPINS_RECHARGE_10")return u("Daily total recharge amount: $10 ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue});if(t.taskCode=="SPINS_RECHARGE_50")return u("Daily total recharge amount: $50 ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue});if(t.taskCode=="SPINS_RECHARGE_100")return u("Daily total recharge amount: $100 ({currentValue}/{targetValue})",{currentValue:t.currentValue,targetValue:t.targetValue})}else return`${t.taskName}(${t.currentValue}/${t.targetValue})`},V=g({}),bt=()=>{const t=Qt();t&&(Object.assign(V.value,t),ne("withdrawal"),xe("transfer"))},_t=async()=>{const t=await si("2006671533988298666");t.status&&t.body&&(Ne.value=t.body)},xt=async()=>{if(Object.keys(de.value).length===0){const i=await Lt();i.status&&i.body&&(Mt(i.body,null),de.value=i.body)}const t=await Ht();t.status&&t.body&&(He.value=t.body)},kt=async()=>{const i=await ei({activityType:13});i.status&&i.body?I.value=i.body||[]:I.value=[]},Ct=async()=>{const i=await Zt({activityType:13});i.status&&i.body?(ae.value=i.body?.currentUserRank,Be.value=i.body?.rankingList,Tt()):(Be.value=[],ae.value={})},Tt=async()=>{const t=await ti("2020751672412921857");if(t.status&&t.body){Ee.value=t.body.gifts;let i=t.body.butOneRewards,d=JSON.parse(JSON.stringify(i[3]));if(i.length<10){let s=Array.from({length:10-i.length},()=>d);i.push(...s)}Fe.value=i}},Bt=async()=>{ue();const t=await ri("98666");t.status&&t.body?P.value=t.body:P.value={}},Ce=async()=>{const t=await oi("2006671533988298666");t.status&&t.body?_e.value=t.body:_e.value=0},Ie=async()=>{const t=await li("2006671533988298666");t.status&&t.body&&(Le.value=t.body)},ue=async()=>{const t=await gi("2006671533988298666");t.status&&t.body&&(Ue.value=t.body)},Ze=async()=>{const t=await ci("2006671533988298666");t.status&&t.body&&(Pe.value=t.body)},Te=async()=>{const i=await di({activityType:"USER_RECHARGE_DRAW",activityId:"2006671533988298666"});i.status&&i.body&&(O.value=i.body?.[0])},et=async()=>{const t=await ui("98666");t.status&&t.body&&(Me.value=t.body?.records||[])},Ut=async t=>{let i={activityId:"2006671533988298666",taskCode:t};try{const d=await yi(i);d.status&&d.body&&(Ze(),Ce())}catch(d){M(d.errorMsg)}},Ve=async t=>{let i={activityType:t.activityType,activityId:"2006671533988298666",ruleId:t.ruleId};try{const d=await ni(i);d.status&&d.body&&Te()}catch(d){M(d.errorMsg)}},tt=async()=>{await Promise.all([xt(),bt(),_t(),Ct(),kt(),Bt(),Ie(),Ce(),Te(),Ze(),et()])},St=async()=>{const t=[a("bg1"),a("bg2"),a(f("rankBt")),a(f("rankBtActive")),a(f("lotteryBt")),a(f("lotteryBtActive")),a(f("withdrawalBt")),a(f("withdrawalBtActive")),a(f("eventGiftsBg")),a("giftBg"),a(f("overallRankingBg")),a("historyBt"),a("top1"),a("top2"),a("top3"),a("timeDayBg"),a("timeBg"),a(f("RankingTopBorder")),a("RankingBottomBorder"),a("RankingBorder"),a("historyBt"),a("itemTop1Bg"),a("itemTop2Bg"),a("itemTop3Bg"),a("itemFrom4Bg"),a("ranking1"),a("ranking2"),a("ranking3"),a("rankingFrom4"),a("ranking1Frame"),a("ranking2Frame"),a("ranking3Frame"),a("userNameBorder"),a("itemTopRewardBg"),a("myRankingBg")];await nt(t)},zt=async()=>{await nt([])},It=async()=>{try{await Promise.all([St()])}catch(t){console.error("预加载过程中发生错误:",t)}finally{T.value=!1}},Vt=async()=>{await Xt(()=>{It()})},Rt=()=>{Oe(),te=setInterval(Oe,1e3)},At=()=>{F.value=setTimeout(()=>{T.value&&(console.warn("⏰ 预加载超时,正在刷新页面..."),window.location.reload())},2e4)},$t=()=>{F.value&&(clearTimeout(F.value),F.value=null)};return ct(async()=>{console.log("route.query.activeAction:",H.query.activeAction),H.query.activeAction=="incomeShow"?ne("withdrawal"):ne("ranking"),At(),await Vt(),tt(),Rt(),zt()}),ut(()=>{$t(),clearInterval(te)}),(t,i)=>{const d=Ft,s=ot("smart-img");return l(),o("div",Bi,[T.value?(l(),o("div",Ui,[y(lt,{backgroundImages:[a("bg1"),a("bg2")]},null,8,["backgroundImages"]),y(d),e("p",null,r(t.$t("loading"))+"...",1)])):_("",!0),T.value?_("",!0):(l(),o("div",Si,[y(lt,{backgroundImages:[a("bg1"),a("bg2")]},null,8,["backgroundImages"]),e("div",{class:"background-overlay",style:A({"--bg2-url":`url(${a("bg3")})`})},null,4),e("div",zi,[y(Ti,{style:{display:"block",width:"100vw",height:"30vw"},barrageList:Ne.value},null,8,["barrageList"]),e("div",Ii,[e("div",{style:{width:"30%",position:"relative"},onClick:i[0]||(i[0]=n=>ne("ranking"))},[c(e("img",{src:a(f("rankBt")),alt:"",style:{display:"block",width:"100%"}},null,8,Vi),[[x,!ie.value],[s]]),c(e("img",{src:a(f("rankBtActive")),alt:"",style:{display:"block",width:"100%"}},null,8,Ri),[[x,ie.value],[s]])]),e("div",{style:{width:"30%",position:"relative"},onClick:i[1]||(i[1]=n=>ne("lottery"))},[c(e("img",{src:a(f("lotteryBt")),alt:"",style:{display:"block",width:"100%"}},null,8,Ai),[[x,!ve.value],[s]]),c(e("img",{src:a(f("lotteryBtActive")),alt:"",style:{display:"block",width:"100%"}},null,8,$i),[[x,ve.value],[s]])]),e("div",{style:{width:"30%",position:"relative"},onClick:i[2]||(i[2]=n=>ne("withdrawal"))},[c(e("img",{src:a(f("withdrawalBt")),alt:"",style:{display:"block",width:"100%"}},null,8,ji),[[x,!ye.value],[s]]),c(e("img",{src:a(f("withdrawalBtActive")),alt:"",style:{display:"block",width:"100%"}},null,8,Ni),[[x,ye.value],[s]])])]),e("div",null,[c(e("div",null,[y(m,{style:{"min-height":"72vw"},imgUrl:a(f("eventGiftsBg"))},{default:h(()=>[e("div",Di,[(l(!0),o(B,null,U(Ee.value,(n,b)=>(l(),o("div",{key:b,style:{width:"30%",display:"flex","flex-direction":"column"}},[y(m,{style:{"min-height":"24vw"},imgUrl:a("giftBg")},{default:h(()=>[e("img",{src:n.giftPhoto,alt:"",width:"50%"},null,8,Fi)]),_:2},1032,["imgUrl"]),e("div",Ei,[c(e("img",Li,null,512),[[s]]),e("div",Mi,r(n.giftCandy),1)])]))),128))])]),_:1},8,["imgUrl"]),y(m,{style:{"min-height":"110.33vw"},imgUrl:a(f("overallRankingBg")),contentStyle:"inset: 15vw 4vw 5vw;flex-direction: column;"},{default:h(()=>[c(e("img",{src:a("historyBt"),alt:"",style:{width:"6vw",position:"absolute","z-index":"2",top:"4vw",right:"2vw"},onClick:i[3]||(i[3]=n=>ce("top3Help"))},null,8,Hi),[[s]]),e("div",Pi,[y(Re,{ranking:"1",BorderImgUrl:a("top1"),avatarUrl:I.value[0].avatar,name:I.value[0].nickname,distributionValue:I.value[0].quantity,style:{width:"40%"},onClick:i[4]||(i[4]=n=>p(W)(I.value[0].userId))},null,8,["BorderImgUrl","avatarUrl","name","distributionValue"])]),e("div",Gi,[e("div",{style:{"pointer-events":"auto",width:"30%"},onClick:i[5]||(i[5]=J(n=>p(W)(I.value[1].userId),["stop"]))},[y(Re,{ranking:"2",BorderImgUrl:a("top2"),avatarUrl:I.value[1].avatar,name:I.value[1].nickname,distributionValue:I.value[1].quantity,style:{width:"100%"}},null,8,["BorderImgUrl","avatarUrl","name","distributionValue"])]),e("div",{style:{"pointer-events":"auto",width:"30%"},onClick:i[6]||(i[6]=J(n=>p(W)(I.value[2].userId),["stop"]))},[y(Re,{ranking:"3",BorderImgUrl:a("top3"),avatarUrl:I.value[2].avatar,name:I.value[2].nickname,distributionValue:I.value[2].quantity,style:{width:"100%"}},null,8,["BorderImgUrl","avatarUrl","name","distributionValue"])])])]),_:1},8,["imgUrl"]),e("div",qi,[e("div",Oi,[y(m,{style:{"min-height":"16vw"},imgUrl:a("timeDayBg"),contentStyle:"left:3vw;right: auto;top:1vw;bottom:auto;width: 10vw;height: 11vw;"},{default:h(()=>[e("div",Wi,r(X.value),1)]),_:1},8,["imgUrl"])]),i[31]||(i[31]=e("div",{class:"timeText timeGap"},null,-1)),e("div",Ji,[y(m,{style:{"min-height":"13.25vw"},imgUrl:a("timeBg")},{default:h(()=>[e("div",Xi,r(Y.value),1)]),_:1},8,["imgUrl"])]),i[32]||(i[32]=e("div",{class:"timeText timeGap"},":",-1)),e("div",Yi,[y(m,{style:{"min-height":"13.25vw"},imgUrl:a("timeBg")},{default:h(()=>[e("div",Ki,r(ee.value),1)]),_:1},8,["imgUrl"])]),i[33]||(i[33]=e("div",{class:"timeText timeGap"},":",-1)),e("div",Qi,[y(m,{style:{"min-height":"13.25vw"},imgUrl:a("timeBg")},{default:h(()=>[e("div",Zi,r(ge.value),1)]),_:1},8,["imgUrl"])])]),e("div",ea,[e("div",ta,[c(e("img",{src:a(f("RankingTopBorder")),alt:"",style:{"min-height":"46.66vw",display:"block",width:"100%","min-width":"0"}},null,8,ia),[[s]]),i[34]||(i[34]=e("div",{style:{flex:"1","min-width":"0"}},null,-1)),c(e("img",{src:a("RankingBottomBorder"),alt:"",style:{"min-height":"25vw",display:"block",width:"100%","min-width":"0"}},null,8,aa),[[s]]),e("div",na,[c(e("img",{src:a("RankingBorder"),alt:"",style:{display:"block",width:"100%",height:"100%","min-width":"0"}},null,8,sa),[[s]])])]),c(e("img",{src:a("historyBt"),alt:"",style:{width:"6vw",position:"absolute","z-index":"2",top:"19vw",right:"7vw"},onClick:i[7]||(i[7]=n=>ce("rankingHelp"))},null,8,ra),[[s]]),(l(!0),o(B,null,U(Ge.value,(n,b)=>(l(),o("div",{key:n.userId,style:{display:"flex","flex-direction":"column",gap:"1vw"}},[y(m,{style:{"min-height":"20.33vw"},imgUrl:a(b<3?`itemTop${b+1}Bg`:"itemFrom4Bg"),contentStyle:"padding: 0 2vw",lazy:!0,onClick:C=>p(W)(n.userId)},{default:h(()=>[e("div",la,[e("div",oa,[b<3?(l(),o("div",da,[c(e("img",{src:a(`ranking${b+1}`),alt:"",style:{width:"100%",display:"block","object-fit":"cover"}},null,8,ca),[[s]])])):(l(),o("div",ua,[y(m,{imgUrl:a("rankingFrom4"),contentStyle:"",onClick:C=>p(W)(n.userId)},{default:h(()=>[e("div",ga,r(n?.rank),1)]),_:2},1032,["imgUrl","onClick"])]))]),e("div",pa,[b<3?c((l(),o("img",{key:0,src:a(`ranking${b+1}Frame`),alt:"",style:{display:"block",width:"120%",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)","z-index":"1"}},null,8,va)),[[s]]):_("",!0),e("img",{src:n?.avatar||"",alt:"",style:{display:"block",width:"100%","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:i[8]||(i[8]=(...C)=>p(R)&&p(R)(...C))},null,40,ya)]),e("div",ha,[y(m,{style:{width:"30vw",height:"10vw","min-width":"0"},imgUrl:a("userNameBorder"),contentStyle:"padding:0;",lazy:!0},{default:h(()=>[e("div",fa,[e("div",ma,[Je(n?.nickname||"")?(l(),o("div",wa,[(l(),o(B,null,U(2,C=>e("div",ba,[e("div",_a,r(n?.nickname),1)])),64))])):(l(),o("div",xa,[e("div",ka,r(n?.nickname),1)]))])])]),_:2},1032,["imgUrl"]),e("div",Ca,r(t.$t("user_id_prefix"))+" "+r(n?.specialAccount||n?.account),1)])]),e("div",Ta,[c(e("img",Ba,null,512),[[s]]),e("div",Ua,r(n?.quantity||0),1)])]),_:2},1032,["imgUrl","onClick"]),y(m,{style:{"min-height":"8.33vw"},imgUrl:a("itemTopRewardBg"),contentStyle:"padding:0 2vw 0 11vw",lazy:!0},{default:h(()=>[e("div",Sa,[e("div",za,[e("div",Ia,[(l(),o(B,null,U(2,C=>e("div",Va,[(l(!0),o(B,null,U(pt.value[b]?.rewards,(L,jt)=>(l(),o("div",{key:jt,style:{"align-self":"stretch",display:"flex","align-items":"center",padding:"0 1vw"},onClick:Zs=>vt(L)},[L.cover!=""?(l(),o("img",{key:0,src:L.cover,alt:"",style:{"min-width":"0",display:"block",width:"8vw","object-fit":"cover"}},null,8,Aa)):_("",!0),e("div",$a,r(p(rt)(L.type,L)),1),i[35]||(i[35]=at(" , ",-1))],8,Ra))),128))])),64))])])])]),_:2},1032,["imgUrl"])]))),128)),qe.value.length>0?(l(!0),o(B,{key:0},U(qe.value,(n,b)=>(l(),o("div",{key:n.userId,style:{position:"relative","z-index":"2"}},[y(m,{style:{"min-height":"20.33vw"},imgUrl:a("itemFrom4Bg"),contentStyle:"padding: 0 2vw",onClick:C=>p(W)(n.userId)},{default:h(()=>[e("div",ja,[y(m,{style:{width:"9vw"},imgUrl:a("rankingFrom4"),contentStyle:"",onClick:C=>p(W)(n.userId)},{default:h(()=>[e("div",Na,r(n?.rank),1)]),_:2},1032,["imgUrl","onClick"]),e("img",{src:n?.avatar||"",alt:"",style:{display:"block",width:"3.5em",margin:"0 2%","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:i[9]||(i[9]=(...C)=>p(R)&&p(R)(...C))},null,40,Da),e("div",Fa,[y(m,{style:{width:"30vw",height:"10vw","min-width":"0"},imgUrl:a("userNameBorder"),contentStyle:"padding:0;",lazy:!0},{default:h(()=>[e("div",Ea,[e("div",La,[Je(n?.nickname||"")?(l(),o("div",Ma,[(l(),o(B,null,U(2,C=>e("div",Ha,[e("div",Pa,r(n?.nickname),1)])),64))])):(l(),o("div",Ga,[e("div",qa,r(n?.nickname),1)]))])])]),_:2},1032,["imgUrl"]),e("div",Oa,r(t.$t("user_id_prefix"))+" "+r(n?.specialAccount||n?.account),1)])]),e("div",Wa,[c(e("img",Ja,null,512),[[s]]),e("div",Xa,r(n?.quantity||0),1)])]),_:2},1032,["imgUrl","onClick"])]))),128)):_("",!0)])],512),[[x,ie.value]]),c(e("div",Ya,[c(e("img",{src:a("resultBt"),alt:"",style:{width:"7vw",position:"absolute","z-index":"2",top:"11.3vw",right:"5vw"},onClick:i[10]||(i[10]=n=>ce("history"))},null,8,Ka),[[s]]),y(m,{style:{"min-height":"100.66vw","margin-top":"6vw"},imgUrl:a("lottery"),contentStyle:` - inset: 10vw; - - display: grid; - grid-template-columns: repeat(3, 1fr); - grid-template-rows: repeat(3, 1fr); - gap: 1vw; - - direction: ltr;`},{default:h(()=>[(l(!0),o(B,null,U(P.value.prizeList,(n,b)=>(l(),o("div",{style:A([{"align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"center","align-items":"center",position:"relative",padding:"5vw"},[mt(b)]])},[e("div",Qa,[e("img",{src:n.prizeImage||"",alt:n.prizeName||"",width:"70%",style:{display:"block"}},null,8,Za)]),e("div",en,[e("div",tn,r(n.prizeName),1)]),c(e("img",{src:a("prizeActiveFrame"),alt:"",style:{display:"block",width:"100%",position:"absolute",inset:"0"}},null,8,an),[[x,G.value===b],[s]])],4))),256)),e("div",nn,[e("div",sn,r(p(u)("ramadan_kareem")),1)])]),_:1},8,["imgUrl"]),e("div",rn,[e("div",ln,r(t.$t("remaining_lottery_tickets"))+": "+r(_e.value),1)]),e("div",on,[c(e("img",{src:a(f("draw1BtBg")),alt:"",style:{width:"45vw",display:"block","object-fit":"cover"},onClick:i[11]||(i[11]=n=>Qe(1))},null,8,dn),[[s]]),c(e("img",{src:a(f("draw10BtBg")),alt:"",style:{width:"45vw",display:"block","object-fit":"cover"},onClick:i[12]||(i[12]=n=>Qe(10))},null,8,cn),[[s]])]),e("div",un,[e("div",gn,[e("div",pn,r(p(u)("Total Tickets:({ usedCount }/100)",{usedCount:Le.value?.usedCount||0})),1),e("div",vn,[O.value.claimStatus==-1?(l(),se(m,{key:0,imgUrl:a("taskBtGo")},{default:h(()=>[e("div",yn,r(p(u)("task_go")),1)]),_:1},8,["imgUrl"])):_("",!0),O.value.claimStatus==0?(l(),se(m,{key:1,imgUrl:a("taskBtReceive"),onClick:i[13]||(i[13]=n=>Ve(O.value))},{default:h(()=>[e("div",hn,r(p(u)("task_receive")),1)]),_:1},8,["imgUrl"])):_("",!0),O.value.claimStatus==1?(l(),se(m,{key:2,imgUrl:a("taskBtReceived"),onClick:i[14]||(i[14]=n=>Ve(O.value))},{default:h(()=>[e("div",fn,r(p(u)("task_received")),1)]),_:1},8,["imgUrl"])):_("",!0)])]),e("div",mn,[(l(!0),o(B,null,U(O.value.rewardProps,n=>(l(),o("img",{src:n.cover||"",alt:"",style:{display:"block",width:"18vw"}},null,8,wn))),256)),e("div",bn,r(p(u)("Lucky Dollars Medal*permanent")),1)])]),e("div",_n,[e("div",xn,r(p(u)("Task for tickets")),1),(l(!0),o(B,null,U(Pe.value,n=>(l(),o("div",kn,[e("div",Cn,[n.taskType==1?c((l(),o("img",{key:0,src:a("taskTalk"),alt:"",width:"100%",style:{display:"block"}},null,8,Tn)),[[s]]):_("",!0),n.taskType==2?c((l(),o("img",{key:1,src:a("taskGift"),alt:"",width:"100%",style:{display:"block"}},null,8,Bn)),[[s]]):_("",!0),n.taskType==4?c((l(),o("img",{key:2,src:a("taskGame"),alt:"",width:"100%",style:{display:"block"}},null,8,Un)),[[s]]):_("",!0),n.taskType==5?c((l(),o("img",{key:3,src:a("taskRecharge"),alt:"",width:"100%",style:{display:"block"}},null,8,Sn)),[[s]]):_("",!0)]),e("div",zn,[e("div",In,r(wt(n)),1),e("div",Vn,[e("div",Rn,r(p(u)("Rewards:")),1),c(e("img",{src:a("ticket"),alt:p(u)("ticket"),width:"15%",style:{display:"block"}},null,8,An),[[s]]),e("div",$n,"*"+r(n.rewardValue),1)])]),e("div",jn,[n.taskStatus==0?(l(),se(m,{key:0,imgUrl:a("taskBtGo")},{default:h(()=>[e("div",Nn,r(p(u)("task_go")),1)]),_:1},8,["imgUrl"])):n.taskStatus===1?(l(),se(m,{key:1,imgUrl:a("taskBtReceive"),onClick:b=>Ut(n.taskCode)},{default:h(()=>[e("div",Dn,r(p(u)("task_receive")),1)]),_:1},8,["imgUrl","onClick"])):(l(),se(m,{key:2,imgUrl:a("taskBtReceived"),onClick:i[15]||(i[15]=b=>Ve(O.value))},{default:h(()=>[e("div",Fn,r(p(u)("task_received")),1)]),_:1},8,["imgUrl"]))])]))),256))])],512),[[x,ve.value]]),c(e("div",En,[e("div",Ln,[e("img",{src:de.value.userAvatar||"",alt:"",style:{width:"12vw","min-width":"0","border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:i[16]||(i[16]=(...n)=>p(R)&&p(R)(...n))},null,40,Mn),e("div",Hn,[c(e("img",{src:Gt,alt:"",class:"ruleBt",onClick:i[17]||(i[17]=n=>ce("withdrawalHelp"))},null,512),[[s]]),e("div",Pn,r(de.value.userNickname||""),1),e("div",Gn,[e("div",qn,r(t.$t("user_id_prefix"))+" "+r(de.value.account||""),1),e("div",On,r(p(u)("current_earnings",{amount:Ue.value.availableAmount})),1)])])]),e("div",Wn,[He.value.anchor?(l(),o("div",{key:0,style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:i[18]||(i[18]=n=>xe("transfer"))},[e("div",null,r(p(u)("transfer_to_recharge_agent")),1),c(e("img",{class:re(["flipImg",{rotated:he.value}]),src:Ae,alt:"",style:{width:"1em",display:"block",transition:"all 0.2s ease"}},null,2),[[s]])])):_("",!0),y(it,{name:"drawer"},{default:h(()=>[he.value?(l(),o("div",Jn,[V.value.id?(l(),o("div",Xn,[e("div",Yn,[e("div",Kn,[e("img",{src:V.value.avatar||"",alt:V.value.name||"",style:{width:"100%","object-fit":"cover","border-radius":"50%"},onError:i[19]||(i[19]=(...n)=>p(R)&&p(R)(...n))},null,40,Qn)]),e("div",Zn,[e("div",es,r(V.value.name||""),1),e("div",ts,r(t.$t("user_id_prefix"))+" "+r(V.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:We},r(p(u)("change")),1)]),e("div",is,[V.value.isHost?c((l(),o("img",as,null,512)),[[s]]):_("",!0),V.value.isAgency?c((l(),o("img",ns,null,512)),[[s]]):_("",!0),V.value.hasSalary?c((l(),o("img",ss,null,512)),[[s]]):_("",!0)])])):(l(),o("div",rs,[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.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)"},onClick:We},r(p(u)("select")),1)])),e("div",ls,[(l(!0),o(B,null,U(Xe.value,n=>(l(),o("div",{key:n.id,onClick:b=>Ye(n),class:re(["coin-item",{selected:k.value?.id===n.id}])},[c(e("img",ds,null,512),[[s]]),e("div",cs,"$"+r(n.price),1)],10,os))),128))]),e("div",us,[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:ht,disabled:!k.value||!V.value.value?.id},r(p(u)("transfer")),9,gs)])])):_("",!0)]),_:1}),e("div",{style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:i[20]||(i[20]=n=>xe("exchange"))},[e("div",null,r(p(u)("exchange_gold_coins")),1),c(e("img",{class:re(["flipImg",{rotated:fe.value}]),src:Ae,alt:"",style:{width:"1em",display:"block",transition:"all 0.2s ease"}},null,2),[[s]])]),y(it,{name:"drawer"},{default:h(()=>[fe.value?(l(),o("div",ps,[e("div",vs,[(l(!0),o(B,null,U(Xe.value,n=>(l(),o("div",{key:n.id,onClick:b=>Ye(n),class:re(["coin-item",{selected:k.value?.id==n.id}])},[c(e("img",hs,null,512),[[s]]),e("div",fs,r(n.amount)+" coins x1",1),e("div",ms,"$"+r(n.price),1)],10,ys))),128))]),e("div",ws,[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:!k.value||!V.value.value?.id,onClick:ft},r(p(u)("exchange")),9,bs)])])):_("",!0)]),_:1}),Ue.value.availableAmount>=10?(l(),o("div",{key:1,style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:yt},[e("div",null,r(p(u)("go_to_withdraw")),1),c(e("img",_s,null,512),[[s]])])):_("",!0)])],512),[[x,ye.value]])]),c(e("div",xs,null,512),[[x,ie.value]]),c(y(m,{style:{"min-height":"22.33vw",position:"fixed",bottom:"-1px","z-index":"3"},imgUrl:a("myRankingBg"),contentStyle:"padding: 1vw 3vw 0"},{default:h(()=>[e("div",ks,[y(m,{style:{width:"10vw"},imgUrl:a("rankingFrom4"),contentStyle:"",onClick:i[21]||(i[21]=n=>p(W)(t.listItem.userId))},{default:h(()=>[e("div",Cs,r(ae.value.rank||999),1)]),_:1},8,["imgUrl"]),e("img",{src:ae.value.avatar||"",alt:"",style:{display:"block",width:"4em","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:i[22]||(i[22]=(...n)=>p(R)&&p(R)(...n))},null,40,Ts),e("div",Bs,[e("div",Us,[e("div",Ss,r(ae.value.nickname),1)])])]),e("div",zs,[c(e("img",Is,null,512),[[s]]),e("div",Vs,r(ae.value.quantity||0),1)])]),_:1},8,["imgUrl"]),[[x,ie.value]]),y(hi,{maskLayerShow:pe.value,onClick:ke},{default:h(()=>[e("div",{style:{width:"100vw",height:"100vh",display:"flex","justify-content":"center","align-items":"center"},onClick:ke},[c(e("div",{style:{width:"90%",position:"relative"},onClick:i[23]||(i[23]=J(()=>{},["stop"]))},[y(m,{style:{"min-height":"90.32vw"},imgUrl:a(f("rewardBg")),contentStyle:"padding: 22vw 6vw 11vw;flex-direction: column;gap: 2vw;"},{default:h(()=>[e("img",{src:me.value.cover,alt:"",style:{width:"60%",display:"block","object-fit":"cover"}},null,8,Rs),e("div",As,r(p(rt)(me.value.type,me.value)),1)]),_:1},8,["imgUrl"])],512),[[x,z.value]]),c(e("div",{style:{position:"relative",width:"90%"},onClick:i[26]||(i[26]=J(()=>{},["stop"]))},[y(m,{style:{"min-height":"90.24vw"},imgUrl:a("resultBg"),contentStyle:`inset: 20vw 7vw 8vw; - flex-direction: column; - justify-content: space-between; - gap:2vw`},{default:h(()=>[e("div",$s,[e("div",js,[c(e("img",{class:"flipImg",src:a("resultBack"),alt:"",style:{display:"block",width:"80%","object-fit":"cover"},onClick:i[24]||(i[24]=n=>q.value--)},null,8,Ns),[[s],[x,D.value.length>1&&q.value>0]])]),e("img",{src:D.value[q.value]?.prize?.prizeImage,alt:"",width:"50%",style:{display:"block"}},null,8,Ds),e("div",Fs,[c(e("img",{class:"flipImg",src:a("resultNext"),alt:"",style:{display:"block",width:"80%","object-fit":"cover"},onClick:i[25]||(i[25]=n=>q.value++)},null,8,Es),[[s],[x,D.value.length>1&&q.value+1 1?(l(),o("div",Ms,r(q.value+1)+" / "+r(D.value.length),1)):_("",!0)]),e("div",{style:{width:"30vw",height:"10vw"},onClick:ke})]),_:1},8,["imgUrl"])],512),[[x,j.value]]),c(e("div",{style:{position:"relative",width:"95%"},onClick:i[27]||(i[27]=J(()=>{},["stop"]))},[y(m,{style:{"min-height":"95.25vw"},imgUrl:a(f("historyBg")),contentStyle:"padding: 22vw 6vw 11vw;"},{default:h(()=>[e("div",Hs,[(l(!0),o(B,null,U(Me.value,(n,b)=>(l(),o("div",Ps,[e("div",Gs,[e("img",{src:n?.prize?.prizeImage||"",alt:"",style:{width:"10vw","min-width":"0","object-fit":"cover",display:"block"}},null,8,qs),e("div",Os,r(n?.prize?.prizeName),1)]),e("div",Ws,r(p(Kt)(n.drawTime)),1)]))),256))])]),_:1},8,["imgUrl"])],512),[[x,N.value]]),c(e("div",{onClick:i[28]||(i[28]=J(()=>{},["stop"]))},[y(m,{style:{"min-height":"158.93vw"},imgUrl:a("rankingHelpBg_ar"),contentStyle:"inset: 26vw 6vw 13vw;overflow-y: auto;display:block;"},{default:h(()=>[c(e("img",{src:a(f("rankingHelpInfo")),alt:"",style:{display:"block",width:"100%","object-fit":"cover","margin-bottom":"6vw"}},null,8,Js),[[s]])]),_:1},8,["imgUrl"])],512),[[x,K.value]]),c(e("div",{onClick:i[29]||(i[29]=J(()=>{},["stop"]))},[y(m,{style:{"min-height":"158.93vw"},imgUrl:a("top3HelpBg_ar"),contentStyle:"inset: 26vw 6vw 13vw;overflow-y: auto;display:block;"},{default:h(()=>[c(e("img",{src:a(f("top3HelpInfo")),alt:"",style:{display:"block",width:"100%","object-fit":"cover","margin-bottom":"6vw"}},null,8,Xs),[[s]])]),_:1},8,["imgUrl"])],512),[[x,v.value]]),c(e("div",{onClick:i[30]||(i[30]=J(()=>{},["stop"]))},[c(e("img",{src:a(f("withdrawalHelp")),alt:"",style:{display:"block",width:"100%","object-fit":"cover","margin-bottom":"6vw"}},null,8,Ys),[[s]])],512),[[x,w.value]])])]),_:1},8,["maskLayerShow"])])]))])}}},fr=$e(Ks,[["__scopeId","data-v-9294c32c"]]);export{fr as default}; diff --git a/h5/js/index-piOeVXg0-1776148658686.js b/h5/js/index-piOeVXg0-1776148658686.js deleted file mode 100644 index 4426bc9..0000000 --- a/h5/js/index-piOeVXg0-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as T,k as S,I as Y,o as W,c,b as e,l as z,q as i,t as s,F as P,x as L,v as x,T as w,r as p,U as M,V as H,u as X,j as A}from"./index-CIAVq8iD-1776148658686.js";import{u as J}from"./pageConfig-BUpLPO7w-1776148658686.js";import{h as _}from"./imageHandler-DstQGL3Z-1776148658686.js";import{u as V}from"./identity-TzakE_vG-1776148658686.js";import{a as G}from"./toast-aIWCznBB-1776148658686.js";import{a as F,b as O,c as K}from"./admin-BlNjNFbv-1776148658686.js";import{G as Z}from"./GeneralHeader-ClI1i1Ud-1776148658686.js";const q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIPSURBVHgB7ZqBbYMwEEV/qw6QERihI3iD0glCJ0gyQbNB0glIN2gnIJ0g2YBskGzQcjFIYBsMxNCa3pO+FGQrcNg+7k4HMAzDeMQd+vGY65Jrj4myyHTO9K0ozTTHxIihG6oqxkTYwG5soQ08J4BuVAK5vUkHw7jAH+WhxZy1cv2WaalcbyGNLwjR7MgE5It0CTnPDziAVrO8eoFhzkyZc2j4vy7Ho6vWcECKqjd2Oc+1mu575R52LqXfAeRqqgSorvwJ9bxjOD5tE9qc4S/IIKPgNdNKmbNQrk+oZ53pCPOLu4UTHAVAAvrWoTNaeOnEMB7Ac8gLtz1HW0yEHezG7jAxIpi9LMXXS3hA32xJQDod0jEXwzDj0/cMjw35ijmk7yhXWnYYNnL7FcjApvg7RTUS9BoyxFRSMn0WJ2F03Te/rq7mOj4flQi6QaI0HkJ/Idbgp43Toq1CSXsAt5DTeUF90JKgauAz9IqGyOcVUHoY4kZMNStXSlre99wwr7y9U1joWgBwzaznWB3WZ21TAKBkP8YwCfuqYZy2epD/pnsL6Al+iOpzDbk4g0MOSHVaT6VxAd1pzeExtHJdP0ve8+8CD8JpaOlL8kBEkGe0XHjYQyYPXjsrhrkBbnmwwC0PimJMBG55ALc8cMtDHdzy4FBN973CLQ8GuOUB3PJQEbc8+EwEbnnglgeGYZjB+AF66MAQPUQi6wAAAABJRU5ErkJggg==",m="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGoSURBVHgB7dmxTQMxGAXgF0CigwEQE6SkggoaSEcDGQBlAliADbIBAwANJVRXQSo6REUFtwBUdPjJd1Ji2Udn/5LfJ/06xUmTJ/s/3xkQEREREREREREREcljHXlddbXt6hWyYuaqXaobV1swbg35TILPJ66eXO3CsJwBPUfGGM4dDIeUswe9wC+pvWCc/WgK35O+YEzuJt1014NgfBM+pB8Ya965AyLOpG9XR5HvDl2Nut+YUCIg4ix5dHUKP3uW7cMvuwYGjFDWUJPmLLqAn23FlA6IhkL6dHXeXYvIeZtP4Z8/hl9yoeLbgFI9KPTr6gEGtwFWAuo13dXMNsBaQPTfNuDN1QcEY1cLrD7gsu6RkYW72BA250VkfAeZWLiLpbBhzyPjWW/5G7CJ4XApjSPf3aJy/bJqIzVH5YbCuUblhsK5ROXYa96hcKL4bjoVzgyV4+NDm6gpKsfzsVgwnE1jVC4VDpu0wkE6HNNnZDlwo6dwEsKj575Mn67mfBabRMb4bucMhV/MDyl59MyHTtPhlMBlxpfw1e+ORURERERERERERERCf5WCeVRlXXmnAAAAAElFTkSuQmCC",y="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMmSURBVHgB7ZuNcdswDIVfex0gI2CDphNUnaDZoO4E6QbWBs4GdSewO4HTCZJOYG2QdoJWOMsXHw3apARIosTvDpcz/RPpmQQBEAYymYwhbzAcN41R8/hPbVXzd7bc1ras7am2fx7j5x7wKtwsoNp28Ivis++YgVD3tb0gXpxTW2KirNBNmFNbYWJcEodnFPuZRW1FY3e1rWvbYwYi8ZKQbpBv/kvA+xfwC/UNiUOQb2yHw7Ye8zkbyLOPkDBrnN/UBu3ZQRY7SQjysiK05wbycrtFgrDjdW8kxOdcYyF8bokEcSPkPfRwY6knJAYvBSkS1kKanTFOvxVvoQcJY1vo8SyMJSWQdLF/oUcljBGM0RRokmgKVAljBD2kGWpeO9IUSLpYzVjlThirkBjuNv8CPdxgsZdtXtsH/XQe87LQChTJGfuFBOElJaUaXbZjgpxqEBJlB93kUsroNQPQ3iHIJdYN4r51nnWS2EnPniNc1LIqmJWYCFLudCoULxPeuovGFs17LhX4HzAxLokUa5MT50iJbsLwjEq+Dn0NglyKvWY7zPCElZfKtaPnEiMpqQ7dvEB4DSIrHPK5WTcvZDIzw8oHuc1RGrBvekbChDRHdbUkmxcI7Zqj2lpSJ6oazVEWAt1iBEJqNkeFWkg+dnpdnZdkWyfN/9iXH7Ez/YGDQ62gR4iT5lnj1qo/oGfnvoT87e6hU3/uQoHz6yrQIwR/Uml+DBxAAWWBYk81SmFsW9sn5BzKpDlKmwIDziDJKZdI8HQzhhiBPjqPKxx2q0nzLvB17IDdwOsRw8DX4dsQ3nte70Mtv5NOTD+jfyyCU5X8rsDA8QXkL8k8fckNVEoQzlVfoH80z9mC8rtQJ23dHBUKhxpr+J00X9NKeM9vz+tVi3CWzVFaFBgwULRqjho1MQJthbES40hSzYgRiNfqozNG6PZLntETu81/xbnDLhDfHDVpujZHWVJA2Um3Lbly7HDvea7CYSmyU9esESVTcj1iEbRp5E2n1xVS5DelRP8iJXPsc4TQrjnKUqBRQrjeHGWaN1lg2bxA0A0iVfOmTCaTyWSmz38Mm7WlUshHKQAAAABJRU5ErkJggg==",u="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADASURBVHgB7djBDYJAEAXQ0QoshY5sQSuQDsQOLMlOsANcEk4IsiSQiL6X/GQOkz0QMocfAQAAAPBTdjN2Lymnbr6nnEf2ipRDbMMz5RELuKY0vZSZe9+eayygHni47u0UEdFsNEWM2AeLKOP9q1cDe1Vs7++p4oM5R7p96NjNtxi+Qa2/PNIAAAAsR6OoUZyMRjEjGsW1lZHXxGkUu1mjCAAAwGo0ihrFyWgUM6JRXFsZeU2cRrGbNYoAAAAA2/QCl37gN6z7te4AAAAASUVORK5CYII=",$={class:"fullPage"},ee={class:"bg"},te={style:{padding:"16px",display:"flex","flex-direction":"column",gap:"8px"}},se={style:{"background-color":"white","border-radius":"12px","box-shadow":"0 2px 8px rgba(0, 0, 0, 0.1)",padding:"16px",border:"1px solid #e5e7eb",display:"flex","flex-direction":"column",gap:"10px"}},oe={style:{"font-weight":"600"}},ie={style:{display:"flex","align-items":"center",gap:"4px"}},le={style:{width:"3.5em","align-self":"stretch",display:"flex","align-items":"center","justify-content":"center"}},ne=["src"],ae={style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-around",gap:"4px"}},de={style:{"font-weight":"700",width:"100%",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},re={style:{color:"rgba(0, 0, 0, 0.4)","font-size":"0.8em","font-weight":"500"}},ce={style:{"background-color":"white","border-radius":"12px","box-shadow":"0 2px 8px rgba(0, 0, 0, 0.1)",padding:"16px",border:"1px solid #e5e7eb",display:"flex","flex-direction":"column",gap:"4px"}},Ae={style:{"font-weight":"600",color:"#1f2937"}},ge={style:{display:"flex","justify-content":"space-between","align-items":"center"}},pe={style:{"font-size":"1.1em","font-weight":"600"}},me={style:{display:"flex","justify-content":"space-between","align-items":"center"}},ye={style:{"font-weight":"600"}},ue={style:{"font-weight":"600"}},be={key:0,style:{display:"flex","flex-direction":"column",gap:"4px"}},fe={style:{"font-weight":"500"}},xe={style:{display:"flex","justify-content":"space-between","align-items":"center"}},ve={style:{color:"rgba(0, 0, 0, 0.4)","font-size":"0.8em","font-weight":"500"}},he={style:{color:"rgba(0, 0, 0, 0.4)","font-size":"0.8em","font-weight":"500"}},we={style:{"background-color":"white","border-radius":"12px","box-shadow":"0 2px 8px rgba(0, 0, 0, 0.1)",padding:"16px",border:"1px solid #e5e7eb",display:"flex","flex-direction":"column",gap:"4px"}},_e={style:{display:"flex","justify-content":"space-between","align-items":"center"}},ke={style:{display:"flex","flex-direction":"column",gap:"4px"}},Ee={style:{"font-weight":"600"}},Be={style:{color:"rgba(0, 0, 0, 0.4)","font-size":"0.8em","font-weight":"500"}},Ie={style:{display:"flex","justify-content":"space-between","align-items":"center"}},Ce={style:{display:"flex","flex-direction":"column",gap:"4px"}},Re={style:{"font-weight":"600"}},Ne={style:{color:"rgba(0, 0, 0, 0.4)","font-size":"0.8em","font-weight":"500"}},je={style:{"align-self":"stretch",display:"flex","align-items":"center",gap:"4px"}},Qe={style:{display:"flex","justify-content":"space-between","align-items":"center"}},Ue={style:{display:"flex","flex-direction":"column",gap:"4px"}},De={style:{"font-weight":"600"}},Te={style:{color:"rgba(0, 0, 0, 0.4)","font-size":"0.8em","font-weight":"500"}},Se={style:{"align-self":"stretch",display:"flex","align-items":"center",gap:"4px"}},Ye={style:{display:"flex","justify-content":"space-between","align-items":"center"}},We={style:{display:"flex","flex-direction":"column",gap:"4px"}},ze={style:{"font-weight":"600"}},Pe={style:{color:"rgba(0, 0, 0, 0.4)","font-size":"0.8em","font-weight":"500"}},Le={style:{"align-self":"stretch",display:"flex","align-items":"center",gap:"4px"}},Me={style:{display:"flex","justify-content":"space-between","align-items":"center"}},He={style:{display:"flex","flex-direction":"column",gap:"4px"}},Xe={style:{"font-weight":"600"}},Je={style:{color:"rgba(0, 0, 0, 0.4)","font-size":"0.8em","font-weight":"500"}},Ve={style:{"align-self":"stretch",display:"flex","align-items":"center",gap:"4px"}},Ge={style:{"font-weight":"600"}},Fe={style:{"font-weight":"600"}},Oe={style:{"font-weight":"600"}},Ke={__name:"index",setup(Ze){const{t:l,locale:v}=S(),g=X(),k=V();v.value&&Y(v.value);const r=p({}),h=p({}),a=p({}),b=p({}),E=o=>{if(o.taskType=="MIC_USAGE")return l("mic_usage_time");if(o.taskType=="WORKING_DAYS")return l("working_days_desc");if(o.taskType=="NEW_BD_LEADERS")return l("new_bd_leaders_bound");if(o.taskType=="NEW_BDS")return l("new_bds_bound");if(o.taskType=="NEW_AGENCIES")return l("new_agencies_bound")},B=o=>o.taskType=="MIC_USAGE"?`(${o.completedCount}/${o.targetCount}h)`:`(${o.completedCount}/${o.targetCount})`,I=()=>{g.push({path:"/item-distribution"})},C=()=>{g.push({path:"/available-income"})},R=()=>{g.push({path:"/admin-policy"})},d=o=>{g.push({path:o})},N=async()=>{let o={userId:M()};const t=await F(o);console.log("任务列表:",t),t.status&&t.body&&(r.value=t.body)},j=async()=>{try{const o=await H("ADMIN_SALARY");o.status&&o.body&&(h.value=o.body||{})}catch(o){console.error("Failed to fetch bank balance:",o),G(l("failed_to_load_balance"))}},Q=async()=>{const o=await O();console.log("团队总览:",o),o.status&&o.body&&(a.value=o.body)},U=async()=>{const o=await K();console.log("权限列表:",o),o.status&&o.body&&(b.value=o.body)},D=()=>{N(),j(),Q(),U()},{userInfo:f}=J("ADMIN_CENTER",{forceRefresh:!0,needsTeamInfo:!0,needsBankBalance:!1,onDataLoaded:()=>{}});return W(()=>{D(),k.setIdentity("ADMIN")}),(o,t)=>(A(),c("div",$,[e("div",ee,[z(Z,{isHomePage:!0,showLanguageList:!0,title:i(l)("admin_center"),color:"black",style:{"box-shadow":"0 0 10px rgba(0, 0, 0, 0.1)","z-index":"999"}},null,8,["title"]),e("div",te,[e("div",se,[e("div",oe,s(i(l)("my_leader")),1),e("div",ie,[e("div",le,[e("img",{src:i(f).userAvatar||"",style:{display:"block",width:"100%","aspect-ratio":"1/1","object-fit":"cover","border-radius":"50%"},onError:t[0]||(t[0]=(...n)=>i(_)&&i(_)(...n))},null,40,ne)]),e("div",ae,[e("div",de,s(i(f).userNickname||"-"),1),e("div",re,s(i(l)("user_id_prefix"))+" "+s(i(f).account||"-"),1)])])]),e("div",ce,[e("div",Ae,s(i(l)("my_role")),1),e("div",ge,[e("div",pe,s(i(l)("admin")),1),e("img",{src:q,alt:"",style:{display:"block",width:"1.5em"},class:"flipImg",onClick:R})]),t[11]||(t[11]=e("div",{style:{"border-bottom":"1px solid #e6e6e6"}},null,-1)),e("div",me,[e("div",ye,s(i(l)("task_completion_status")),1),e("div",ue,"("+s(r.value.completedTaskCount||0)+")",1)]),r.value.tasks?(A(),c("div",be,[e("div",fe,s(r.value.cycleStartDate)+"-"+s(r.value.cycleEndDate),1),(A(!0),c(P,null,L(r.value.tasks,n=>(A(),c("div",xe,[e("div",ve,s(E(n)),1),e("div",he,s(B(n)),1)]))),256))])):x("",!0)]),e("div",we,[e("div",_e,[e("div",ke,[e("div",Ee,s(i(l)("team_earnings_this_period"))+" $"+s(a.value.teamEarningsThisPeriod||0),1),e("div",Be,s(i(l)("available_salaries"))+" $"+s(h.value?.availableBalance||0),1)]),e("img",{src:m,alt:"",style:{display:"block",width:"2em"},class:"flipImg",onClick:C})]),t[12]||(t[12]=e("div",{style:{"border-bottom":"1px solid #e6e6e6"}},null,-1)),e("div",Ie,[e("div",Ce,[e("div",Re,s(i(l)("my_bd_leader_teams"))+"("+s(a.value.bdLeaderTeams?.count||0)+") ",1),e("div",Ne,s(i(l)("total_income"))+" $"+s(a.value.bdLeaderTeams?.totalIncome||0),1)]),e("div",je,[e("img",{src:y,alt:"",style:{display:"block",width:"1.6em"},class:"flipImg",onClick:t[1]||(t[1]=n=>d("/invite-bd-leader"))}),e("img",{src:u,alt:"",style:{display:"block",width:"1.6em"},class:"flipImg",onClick:t[2]||(t[2]=n=>d("/my-BDLeader-teams"))})])]),t[13]||(t[13]=e("div",{style:{"border-bottom":"1px solid #e6e6e6"}},null,-1)),e("div",Qe,[e("div",Ue,[e("div",De,s(i(l)("my_bd_teams"))+"("+s(a.value.bdTeams?.count||0)+") ",1),e("div",Te,s(i(l)("total_income"))+" $"+s(a.value.bdTeams?.totalIncome||0),1)]),e("div",Se,[e("img",{src:y,alt:"",style:{display:"block",width:"1.6em"},class:"flipImg",onClick:t[3]||(t[3]=n=>d("/invite-bd"))}),e("img",{src:u,alt:"",style:{display:"block",width:"1.6em"},class:"flipImg",onClick:t[4]||(t[4]=n=>d("/my-BD-teams"))})])]),t[14]||(t[14]=e("div",{style:{"border-bottom":"1px solid #e6e6e6"}},null,-1)),e("div",Ye,[e("div",We,[e("div",ze,s(i(l)("my_agency_teams"))+"("+s(a.value.agencyTeams?.count||0)+") ",1),e("div",Pe,s(i(l)("total_income"))+" $"+s(a.value.agencyTeams?.totalIncome||0),1)]),e("div",Le,[e("img",{src:y,alt:"",style:{display:"block",width:"1.6em"},class:"flipImg",onClick:t[5]||(t[5]=n=>d("/invite-agency"))}),e("img",{src:u,alt:"",style:{display:"block",width:"1.6em"},class:"flipImg",onClick:t[6]||(t[6]=n=>d("/my-agency-teams"))})])]),t[15]||(t[15]=e("div",{style:{"border-bottom":"1px solid #e6e6e6"}},null,-1)),e("div",Me,[e("div",He,[e("div",Xe,s(i(l)("number_of_recharge_agents_invited"))+"("+s(a.value.rechargeTeams?.count||0)+") ",1),e("div",Je,s(i(l)("total_recharge"))+": $"+s(a.value.rechargeTeams?.totalIncome||0),1)]),e("div",Ve,[e("img",{src:y,alt:"",style:{display:"block",width:"1.6em"},class:"flipImg",onClick:t[7]||(t[7]=n=>d("/invite-recharge-agency"))}),e("img",{src:u,alt:"",style:{display:"block",width:"1.6em"},class:"flipImg",onClick:t[8]||(t[8]=n=>d("/my-recharge-agency"))})])]),t[16]||(t[16]=e("div",{style:{"border-bottom":"1px solid #e6e6e6"}},null,-1))]),e("div",{style:{"background-color":"white","border-radius":"12px","box-shadow":"0 2px 8px rgba(0, 0, 0, 0.1)",padding:"16px",border:"1px solid #e5e7eb",display:"flex","justify-content":"space-between",gap:"4px"},onClick:I},[e("div",Ge,s(i(l)("send_welcome_gift")),1),t[17]||(t[17]=e("img",{src:m,alt:"",style:{display:"block",width:"1.5em"},class:"flipImg"},null,-1))]),b.value.hasUserEditingPermission?(A(),c("div",{key:0,style:{"background-color":"white","border-radius":"12px","box-shadow":"0 2px 8px rgba(0, 0, 0, 0.1)",padding:"16px",border:"1px solid #e5e7eb",display:"flex","justify-content":"space-between",gap:"4px"},onClick:t[9]||(t[9]=n=>i(w)("editingUser"))},[e("div",Fe,s(i(l)("user_editing")),1),t[18]||(t[18]=e("img",{src:m,alt:"",style:{display:"block",width:"1.5em"},class:"flipImg"},null,-1))])):x("",!0),b.value.hasRoomEditingPermission?(A(),c("div",{key:1,style:{"background-color":"white","border-radius":"12px","box-shadow":"0 2px 8px rgba(0, 0, 0, 0.1)",padding:"16px",border:"1px solid #e5e7eb",display:"flex","justify-content":"space-between",gap:"4px"},onClick:t[10]||(t[10]=n=>i(w)("editingRoom"))},[e("div",Oe,s(i(l)("room_editing")),1),t[19]||(t[19]=e("img",{src:m,alt:"",style:{display:"block",width:"1.5em"},class:"flipImg"},null,-1))])):x("",!0)])])]))}},lt=T(Ke,[["__scopeId","data-v-65763c6b"]]);export{lt as default}; diff --git a/h5/js/inviteAgency-DmNTiOZY-1776148658686.js b/h5/js/inviteAgency-DmNTiOZY-1776148658686.js deleted file mode 100644 index bfab09e..0000000 --- a/h5/js/inviteAgency-DmNTiOZY-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as M,k as E,I as G,aa as N,o as V,c as r,l as C,q as o,b as t,m as U,t as d,F,x as K,r as p,S as Q,an as T,j as n,D as L,a7 as $,E as q,v as g,G as H,Q as R}from"./index-CIAVq8iD-1776148658686.js";import{_ as J}from"./search-D2xJuklA-1776148658686.js";import{a as m,s as P}from"./toast-aIWCznBB-1776148658686.js";import{h as A}from"./imageHandler-DstQGL3Z-1776148658686.js";import{s as O}from"./userInfo-gLO2xl8i-1776148658686.js";import{i as W,f as X,j as Y}from"./bdCenter-Dx55XoC5-1776148658686.js";import{G as Z}from"./GeneralHeader-ClI1i1Ud-1776148658686.js";import{G as D}from"./GradientBorder-CfwSeIMB-1776148658686.js";const ee={class:"fullPage"},te={style:{padding:"16px",position:"relative"}},se={style:{display:"flex","align-items":"center",gap:"8px","margin-bottom":"8px"}},ie={style:{padding:"0 8px",display:"flex","align-items":"center",height:"max-content"}},oe={src:J,alt:"",style:{display:"block",width:"2em","aspect-ratio":"1/1",opacity:"0.6"}},ae=["placeholder"],ne=["disabled"],le={key:0,style:{margin:"16px 0",display:"flex","flex-direction":"column",gap:"12px"}},re={style:{padding:"10px",transition:"all 0.2s"}},de={key:0,style:{position:"absolute","z-index":"3",top:"-2px",right:"-2px"}},ce={key:0,style:{"background-image":"linear-gradient(112deg, #759cff 5.66%, #3d73ff 42.49%)",padding:"4px 8px","border-radius":"0 12px",color:"white","font-weight":"600"}},ue={key:1,style:{"background-image":"linear-gradient(112deg, #75ff98 5.66%, #3dff54 42.49%)",padding:"4px 8px","border-radius":"0 12px",color:"white","font-weight":"600"}},pe={style:{"font-weight":"600"}},ve={style:{display:"flex","align-items":"center","justify-content":"space-between",gap:"4px"}},ge={style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","align-items":"center",gap:"4px"}},fe={style:{width:"3em",display:"flex","align-items":"center","justify-content":"center"}},_e=["src"],he={style:{flex:"1","min-width":"0","align-self":"stretch"}},ye={style:{"margin-bottom":"4px","font-weight":"700",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},me={style:{"font-size":"0.9em",color:"rgba(0, 0, 0, 0.4)","font-weight":"500"}},xe={style:{width:"auto","min-width":"0","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},we=["onClick"],be={key:1,class:"no-data"},ke={__name:"inviteAgency",setup(Ie){const{t:i,locale:x}=E();x.value&&G(x.value);const l=p(""),w=p([]),v=p([]),u=p(!0),c=p({}),_=p(!1),b=Q(()=>l.value?v.value:w.value),k=()=>{l.value="",v.value=[],c.value={},u.value=!0,f()},S=()=>{l.value.trim()||(v.value=[],c.value={},u.value=!0,f())},I=N(async()=>{if(!_.value){_.value=!0,console.log("搜索用户id:",l.value),v.value=[],c.value={},u.value=!0;try{if(l.value.trim()){const e=await O(l.value);if(e.status&&e.body){let a={userProfile:e.body};v.value.push(a)}}}catch(e){m(e.response?.errorMsg)}finally{_.value=!1}}},500,!0),j=e=>{console.log("选择用户:",e),c.value?.id==e.userProfile.id?(c.value={},u.value=!0):(c.value=e.userProfile,e.status==0||e.status==1?u.value=!0:u.value=!1)},z=async()=>{console.log("点击邀请代理");try{let e={inviteUserId:c.value.id};(await X(e)).status&&P(i("invitation_submitted"))}catch(e){m(e.response?.errorMsg||i("something_went_wrong"))}k()},f=async()=>{const e=await W();console.log("已邀请列表:",e),e.status&&e.body&&(w.value=e.body)},B=async e=>{console.log("取消邀请用户id:",e);try{(await Y(e)).status&&(P(i("application_cancelled")),f())}catch(a){let h=a.response?.errorMsg?.replace(/^.*\]\s*/,"")||i("cancellation_failed_try_again");m(h)}};return V(()=>{f()}),(e,a)=>{const h=T("smart-img");return n(),r("div",ee,[C(Z,{showLanguageList:!0,title:o(i)("invite_become_agent"),color:"black"},null,8,["title"]),t("div",te,[t("div",se,[C(D,{radius:"4px",style:{flex:"1","min-width":"0"}},{default:U(()=>[t("div",ie,[L(t("img",oe,null,512),[[h]]),L(t("input",{"onUpdate:modelValue":a[0]||(a[0]=s=>l.value=s),type:"text",name:"",id:"",placeholder:o(i)("enter_user_id"),onKeyup:a[1]||(a[1]=$((...s)=>o(I)&&o(I)(...s),["enter"])),onInput:S,style:{width:"100%",color:"rgba(0, 0, 0, 0.4)","font-weight":"600",outline:"none",border:"none","background-color":"transparent",padding:"8px"}},null,40,ae),[[q,l.value]]),l.value?(n(),r("button",{key:0,onClick:k,style:{background:"none",border:"none",color:"#9ca3af",cursor:"pointer",padding:"0 4px"}}," × ")):g("",!0)])]),_:1}),t("button",{style:{"font-weight":"600"},class:"invite-btn",onClick:z,disabled:u.value},d(o(i)("invite")),9,ne)]),b.value.length>0?(n(),r("div",le,[(n(!0),r(F,null,K(b.value,s=>(n(),H(D,{key:s.id,style:{position:"relative","z-index":"0"},onClick:y=>j(s)},{default:U(()=>[t("div",re,[t("div",{style:{position:"absolute",inset:"0px","border-radius":"20px","z-index":"2"},class:R({selected:c.value?.id===s.userProfile.id})},null,2),s.status==0||s.status==1?(n(),r("div",de,[s.status==0?(n(),r("div",ce,d(o(i)("pending")),1)):g("",!0),s.status==1?(n(),r("div",ue,d(o(i)("success")),1)):g("",!0)])):g("",!0),t("div",pe,d(o(i)("information"))+":",1),t("div",ve,[t("div",ge,[t("div",fe,[t("img",{src:s.userProfile.userAvatar||"",style:{width:"100%","aspect-ratio":"1/1","object-fit":"cover","border-radius":"50%"},alt:"",onError:a[2]||(a[2]=(...y)=>o(A)&&o(A)(...y))},null,40,_e)]),t("div",he,[t("div",ye,d(s.userProfile.userNickname),1),t("div",me,d(o(i)("user_id_prefix"))+" "+d(s.userProfile.account),1)])]),t("div",xe,[s.status==0?(n(),r("div",{key:0,style:{padding:"4px 8px","border-radius":"32px","background-color":"red",color:"white","font-weight":"600","z-index":"5"},onClick:y=>B(s.id)},d(o(i)("cancel")),9,we)):g("",!0)])])])]),_:2},1032,["onClick"]))),128))])):(n(),r("div",be,d(o(i)("no_users_found")),1))])])}}},ze=M(ke,[["__scopeId","data-v-a2e9deb9"]]);export{ze as default}; diff --git a/h5/js/inviteBD-DHNwaVfo-1776148658686.js b/h5/js/inviteBD-DHNwaVfo-1776148658686.js deleted file mode 100644 index 7e56f06..0000000 --- a/h5/js/inviteBD-DHNwaVfo-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as E,k as G,I as A,aa as N,o as V,c as l,l as C,q as o,b as t,m as D,t as d,F,x as K,r as p,S as Q,an as T,j as r,D as B,a7 as $,E as q,v as f,G as H,Q as R}from"./index-CIAVq8iD-1776148658686.js";import{_ as J}from"./search-D2xJuklA-1776148658686.js";import{a as y,s as U}from"./toast-aIWCznBB-1776148658686.js";import{h as L}from"./imageHandler-DstQGL3Z-1776148658686.js";import{s as O}from"./userInfo-gLO2xl8i-1776148658686.js";import{i as W,b as X,c as Y}from"./bdLeaderCenter-DSDd-cru-1776148658686.js";import{G as Z}from"./GeneralHeader-ClI1i1Ud-1776148658686.js";import{G as P}from"./GradientBorder-CfwSeIMB-1776148658686.js";const ee={class:"fullPage"},te={style:{padding:"16px",position:"relative"}},se={style:{display:"flex","align-items":"center",gap:"8px","margin-bottom":"8px"}},ie={style:{padding:"0 8px",display:"flex","align-items":"center",height:"max-content"}},oe={src:J,alt:"",style:{display:"block",width:"2em","aspect-ratio":"1/1",opacity:"0.6"}},ae=["placeholder"],ne=["disabled"],re={key:0,style:{margin:"16px 0",display:"flex","flex-direction":"column",gap:"12px"}},le={style:{padding:"10px",transition:"all 0.2s"}},de={key:0,style:{position:"absolute","z-index":"3",top:"-2px",right:"-2px"}},ce={key:0,style:{"background-image":"linear-gradient(112deg, #759cff 5.66%, #3d73ff 42.49%)",padding:"4px 8px","border-radius":"0 12px",color:"white","font-weight":"600"}},ue={key:1,style:{"background-image":"linear-gradient(112deg, #75ff98 5.66%, #3dff54 42.49%)",padding:"4px 8px","border-radius":"0 12px",color:"white","font-weight":"600"}},pe={style:{"font-weight":"600"}},ve={style:{display:"flex","align-items":"center","justify-content":"space-between",gap:"4px"}},fe={style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","align-items":"center",gap:"4px"}},ge={style:{width:"3em",display:"flex","align-items":"center","justify-content":"center"}},_e=["src"],he={style:{flex:"1","min-width":"0","align-self":"stretch"}},me={style:{"margin-bottom":"4px","font-weight":"700",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},ye={style:{"font-size":"0.9em",color:"rgba(0, 0, 0, 0.4)","font-weight":"500"}},xe={style:{width:"auto","min-width":"0","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},we=["onClick"],be={key:1,class:"no-data"},ke={__name:"inviteBD",setup(Ie){const{t:i,locale:x}=G();x.value&&A(x.value);const n=p(""),w=p([]),v=p([]),u=p(!0),c=p({}),_=p(!1),b=Q(()=>n.value?v.value:w.value),k=()=>{n.value="",v.value=[],c.value={},u.value=!0,g()},S=()=>{n.value.trim()||(v.value=[],c.value={},u.value=!0,g())},I=N(async()=>{if(!_.value){_.value=!0,console.log("搜索用户id:",n.value),v.value=[],c.value={},u.value=!0;try{if(n.value.trim()){const e=await O(n.value);if(e.status&&e.body){let a={userProfile:e.body};v.value.push(a)}}}catch(e){y(e.response?.errorMsg)}finally{_.value=!1}}},500,!0),z=e=>{console.log("选择用户:",e),n.value&&(c.value?.id==e.userProfile.id?(c.value={},u.value=!0):(c.value=e.userProfile,e.status==0||e.status==1?u.value=!0:u.value=!1))},M=async()=>{console.log("点击邀请代理");try{let e={inviteUserId:c.value.id};(await X(e)).status&&U(i("invitation_submitted"))}catch(e){y(e.response?.errorMsg||i("something_went_wrong"))}k()},g=async()=>{const e=await W();console.log("已邀请列表:",e),e.status&&e.body&&(w.value=e.body)},j=async e=>{console.log("取消邀请用户id:",e);try{(await Y(e)).status&&(U(i("application_cancelled")),g())}catch(a){let h=a.response?.errorMsg?.replace(/^.*\]\s*/,"")||i("cancellation_failed_try_again");y(h)}};return V(()=>{g()}),(e,a)=>{const h=T("smart-img");return r(),l("div",ee,[C(Z,{showLanguageList:!0,title:o(i)("invite_become_BD"),color:"black"},null,8,["title"]),t("div",te,[t("div",se,[C(P,{radius:"4px",style:{flex:"1","min-width":"0"}},{default:D(()=>[t("div",ie,[B(t("img",oe,null,512),[[h]]),B(t("input",{"onUpdate:modelValue":a[0]||(a[0]=s=>n.value=s),type:"text",name:"",id:"",placeholder:o(i)("enter_user_id"),onKeyup:a[1]||(a[1]=$((...s)=>o(I)&&o(I)(...s),["enter"])),onInput:S,style:{width:"100%",color:"rgba(0, 0, 0, 0.4)","font-weight":"600",outline:"none",border:"none","background-color":"transparent",padding:"8px"}},null,40,ae),[[q,n.value]]),n.value?(r(),l("button",{key:0,onClick:k,style:{background:"none",border:"none",color:"#9ca3af",cursor:"pointer",padding:"0 4px"}}," × ")):f("",!0)])]),_:1}),t("button",{style:{"font-weight":"600"},class:"invite-btn",onClick:M,disabled:u.value},d(o(i)("invite")),9,ne)]),b.value.length>0?(r(),l("div",re,[(r(!0),l(F,null,K(b.value,s=>(r(),H(P,{key:s.id,style:{position:"relative","z-index":"0"},onClick:m=>z(s)},{default:D(()=>[t("div",le,[t("div",{style:{position:"absolute","z-index":"2",inset:"0px","border-radius":"20px"},class:R({selected:c.value?.id===s.userProfile.id})},null,2),s.status==0||s.status==1?(r(),l("div",de,[s.status==0?(r(),l("div",ce,d(o(i)("pending")),1)):f("",!0),s.status==1?(r(),l("div",ue,d(o(i)("success")),1)):f("",!0)])):f("",!0),t("div",pe,d(o(i)("information"))+":",1),t("div",ve,[t("div",fe,[t("div",ge,[t("img",{src:s.userProfile.userAvatar||"",style:{width:"100%","aspect-ratio":"1/1","object-fit":"cover","border-radius":"50%"},alt:"",onError:a[2]||(a[2]=(...m)=>o(L)&&o(L)(...m))},null,40,_e)]),t("div",he,[t("div",me,d(s.userProfile.userNickname),1),t("div",ye,d(o(i)("user_id_prefix"))+" "+d(s.userProfile.account),1)])]),t("div",xe,[s.status==0?(r(),l("div",{key:0,style:{padding:"4px 8px","border-radius":"32px","background-color":"red",color:"white","font-weight":"600","z-index":"5"},onClick:m=>j(s.id)},d(o(i)("cancel")),9,we)):f("",!0)])])])]),_:2},1032,["onClick"]))),128))])):(r(),l("div",be,d(o(i)("no_users_found")),1))])])}}},Me=E(ke,[["__scopeId","data-v-cf5572fd"]]);export{Me as default}; diff --git a/h5/js/inviteBDLeader-BB0TZbw2-1776148658686.js b/h5/js/inviteBDLeader-BB0TZbw2-1776148658686.js deleted file mode 100644 index d6c9596..0000000 --- a/h5/js/inviteBDLeader-BB0TZbw2-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as S,k as M,I as j,aa as E,o as A,c as r,l as N,q as i,b as s,D as L,E as V,a7 as F,v as f,t as d,F as G,x as K,r as p,S as Q,an as T,j as l,Q as $}from"./index-CIAVq8iD-1776148658686.js";import{_ as q}from"./search-D2xJuklA-1776148658686.js";import{a as m,s as D}from"./toast-aIWCznBB-1776148658686.js";import{h as C}from"./imageHandler-DstQGL3Z-1776148658686.js";import{s as H}from"./userInfo-gLO2xl8i-1776148658686.js";import{m as R,i as J,f as O}from"./admin-BlNjNFbv-1776148658686.js";import{G as W}from"./GeneralHeader-ClI1i1Ud-1776148658686.js";const X={class:"fullPage"},Y={style:{padding:"16px",position:"relative"}},Z={style:{display:"flex","align-items":"center",gap:"8px","margin-bottom":"8px"}},ee={style:{flex:"1","border-radius":"32px",border:"1px solid #fff","box-shadow":"0 0 4px 0 rgba(0, 0, 0, 0.25)",padding:"0 8px",display:"flex","align-items":"center",height:"max-content"}},te={src:q,alt:"",style:{display:"block",width:"2em","aspect-ratio":"1/1",opacity:"0.6"}},se=["placeholder"],oe=["disabled"],ie={key:0,style:{margin:"16px 0",display:"flex","flex-direction":"column",gap:"12px"}},ae=["onClick"],ne={key:0,style:{position:"absolute","z-index":"3",top:"-2px",right:"-2px"}},re={key:0,style:{"background-image":"linear-gradient(112deg, #759cff 5.66%, #3d73ff 42.49%)",padding:"4px 8px","border-radius":"0 12px",color:"white","font-weight":"600"}},le={key:1,style:{"background-image":"linear-gradient(112deg, #75ff98 5.66%, #3dff54 42.49%)",padding:"4px 8px","border-radius":"0 12px",color:"white","font-weight":"600"}},de={style:{"font-weight":"600"}},ce={style:{display:"flex","align-items":"center","justify-content":"space-between"}},ue={style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","align-items":"center",gap:"4px"}},pe={style:{width:"3em",display:"flex","align-items":"center","justify-content":"center"}},ve=["src"],fe={style:{flex:"1","min-width":"0","align-self":"stretch"}},ge={style:{"margin-bottom":"4px","font-weight":"700",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},_e={style:{"font-size":"0.9em",color:"rgba(0, 0, 0, 0.4)","font-weight":"500"}},he={style:{width:"auto","min-width":"0","align-self":"stretch",display:"flex","justify-content":"center","align-items":"center"}},ye=["onClick"],me={key:1,class:"no-data"},xe={__name:"inviteBDLeader",setup(be){const{t:o,locale:x}=M();x.value&&j(x.value);const n=p(""),b=p([]),v=p([]),u=p(!0),c=p({}),_=p(!1),w=Q(()=>n.value?v.value:b.value),k=()=>{n.value="",v.value=[],c.value={},u.value=!0,g()},B=()=>{n.value.trim()||(v.value=[],c.value={},u.value=!0,g())},I=E(async()=>{if(!_.value){_.value=!0,console.log("搜索用户id:",n.value),v.value=[],c.value={},u.value=!0;try{if(n.value.trim()){const e=await H(n.value);if(e.status&&e.body){let a={userProfile:e.body};v.value.push(a)}}}catch(e){m(e.response?.errorMsg)}finally{_.value=!1}}},500,!0),U=e=>{console.log("选择用户:",e),n.value&&(c.value?.id==e.userProfile.id?(c.value={},u.value=!0):(c.value=e.userProfile,e.status==0||e.status==1?u.value=!0:u.value=!1))},P=async()=>{console.log("点击邀请代理");try{let e={inviteUserId:c.value.id};(await J(e)).status&&D(o("invitation_submitted"))}catch(e){m(e.response?.errorMsg||o("something_went_wrong"))}k()},g=async()=>{const e=await R();console.log("已邀请列表:",e),e.status&&e.body&&(b.value=e.body)},z=async e=>{console.log("取消邀请用户id:",e);try{(await O(e)).status&&(D(o("application_cancelled")),g())}catch(a){let h=a.response?.errorMsg?.replace(/^.*\]\s*/,"")||o("cancellation_failed_try_again");m(h)}};return A(()=>{g()}),(e,a)=>{const h=T("smart-img");return l(),r("div",X,[N(W,{showLanguageList:!0,title:i(o)("invite_become_BD_Leader"),color:"black",style:{"box-shadow":"0 0 10px rgba(0, 0, 0, 0.1)","z-index":"999"}},null,8,["title"]),s("div",Y,[s("div",Z,[s("div",ee,[L(s("img",te,null,512),[[h]]),L(s("input",{"onUpdate:modelValue":a[0]||(a[0]=t=>n.value=t),type:"text",name:"",id:"",placeholder:i(o)("enter_user_id"),onKeyup:a[1]||(a[1]=F((...t)=>i(I)&&i(I)(...t),["enter"])),onInput:B,style:{width:"100%",color:"rgba(0, 0, 0, 0.4)","font-weight":"600",outline:"none",border:"none","background-color":"transparent",padding:"8px"}},null,40,se),[[V,n.value]]),n.value?(l(),r("button",{key:0,onClick:k,style:{background:"none",border:"none",color:"#9ca3af",cursor:"pointer",padding:"0 8px"}}," × ")):f("",!0)]),s("button",{style:{"font-weight":"600"},class:"invite-btn",onClick:P,disabled:u.value},d(i(o)("invite")),9,oe)]),w.value.length>0?(l(),r("div",ie,[(l(!0),r(G,null,K(w.value,t=>(l(),r("div",{key:t.id,style:{position:"relative","background-color":"white",padding:"4px 10px","border-radius":"12px","box-sizing":"border-box",border:"2px solid transparent","box-shadow":"0 0 4px 0 rgba(0, 0, 0, 0.25)",transition:"all 0.2s"},onClick:y=>U(t)},[s("div",{style:{position:"absolute",inset:"-2px","border-radius":"12px","z-index":"2"},class:$({selected:c.value?.id===t.userProfile.id})},null,2),t.status==0||t.status==1?(l(),r("div",ne,[t.status==0?(l(),r("div",re,d(i(o)("pending")),1)):f("",!0),t.status==1?(l(),r("div",le,d(i(o)("success")),1)):f("",!0)])):f("",!0),s("div",de,d(i(o)("information"))+":",1),s("div",ce,[s("div",ue,[s("div",pe,[s("img",{src:t.userProfile.userAvatar||"",style:{width:"100%","aspect-ratio":"1/1","object-fit":"cover","border-radius":"50%"},alt:"",onError:a[2]||(a[2]=(...y)=>i(C)&&i(C)(...y))},null,40,ve)]),s("div",fe,[s("div",ge,d(t.userProfile.userNickname),1),s("div",_e,d(i(o)("user_id_prefix"))+" "+d(t.userProfile.account),1)])]),s("div",he,[t.status==0?(l(),r("div",{key:0,style:{padding:"4px 8px","border-radius":"32px","background-color":"red",color:"white","font-weight":"600","z-index":"5"},onClick:y=>z(t.id)},d(i(o)("cancel")),9,ye)):f("",!0)])])],8,ae))),128))])):(l(),r("div",me,d(i(o)("no_users_found")),1))])])}}},Ue=S(xe,[["__scopeId","data-v-4141fb04"]]);export{Ue as default}; diff --git a/h5/js/inviteNewUser-XJ_C06vy-1776148658686.js b/h5/js/inviteNewUser-XJ_C06vy-1776148658686.js deleted file mode 100644 index 1c70224..0000000 --- a/h5/js/inviteNewUser-XJ_C06vy-1776148658686.js +++ /dev/null @@ -1,17 +0,0 @@ -import{L as V,W as Ae,_ as Pe,k as Qe,P as Je,r as v,o as Ve,a as qe,c as f,l as h,ac as Ye,b as e,t as o,q as l,G as W,m,ah as Ke,v as we,D as r,n as P,Y as x,Q as D,S as Q,an as Xe,aZ as Ze,j as u,F as C,x as I,a_ as _e,y as J,a7 as et,E as tt}from"./index-CIAVq8iD-1776148658686.js";import{_ as B}from"./coin-Dqu2_ND9-1776148658686.js";import{a as ee,b as xe,s as it}from"./toast-aIWCznBB-1776148658686.js";import{u as nt}from"./index-Dy7GXZRC-1776148658686.js";import{c as ot}from"./appConnector-B5Pbaops-1776148658686.js";import{g as st}from"./imagePaths-Bi1Bwe4Z-1776148658686.js";import{p as lt}from"./imagePreloader-C_QM-Nv8-1776148658686.js";import{h as $,a as te}from"./imageHandler-DstQGL3Z-1776148658686.js";import{f as at}from"./rewardFormatter-Dyjg93my-1776148658686.js";import{g as rt,a as dt,b as ct}from"./activity-Dn8ZkLM2-1776148658686.js";import{B as ke}from"./BackgroundLayer-DJYogygx-1776148658686.js";import{G as vt}from"./GeneralHeader-ClI1i1Ud-1776148658686.js";import{i as p}from"./itemCenter-DveKthYv-1776148658686.js";import{m as yt}from"./MaskLayer-CMaJd7Gb-1776148658686.js";const ut=async()=>{try{return await V("/activity/invite/user/my/invite/code")}catch(y){throw console.error("Failed to fetch get my invite code:",y),console.error("error:"+y.response.errorMsg),y}},gt=async()=>{try{return await V("/activity/invite/user/my-inviter-info")}catch(y){throw console.error("Failed to fetch get my inviter:",y),console.error("error:"+y.response.errorMsg),y}},ft=async y=>{try{return await Ae("/activity/invite/user/bind/invite/code",y)}catch(_){throw console.error("Failed to fetch bind invite code:",_),console.error("error:"+_.response.errorMsg),_}},ht=async()=>{try{return await V("/activity/invite/user/income/statistics")}catch(y){throw console.error("Failed to fetch get my invite income:",y),console.error("error:"+y.response.errorMsg),y}},mt=async()=>{try{return await V("/activity/invite/user/valid/invite/users")}catch(y){throw console.error("Failed to fetch get my invite users:",y),console.error("error:"+y.response.errorMsg),y}},be=async y=>{try{return await Ae("/props-activity/reward/client/map/config-info",y)}catch(_){throw console.error("Failed to fetch get binding user rewards:",_),console.error("error:"+_.response.errorMsg),_}},pt={class:"fullPage"},wt={key:0,class:"loading-container"},_t={key:1,style:{width:"100vw","min-height":"100vh",overflow:"hidden",position:"relative"}},xt={style:{position:"absolute",top:"0",left:"0",width:"100%"}},kt={class:"leftBt"},bt={style:{"padding-top":"130vw",display:"flex","flex-direction":"column",gap:"2vw"}},At={style:{width:"90%",height:"12vw",display:"flex","justify-content":"center","align-items":"center",gap:"4px"}},Ct={style:{"font-weight":"600","font-size":"0.9em"}},It={style:{"font-weight":"590","font-size":"1.1em"}},Bt=["src"],jt={style:{flex:"1","min-height":"0",width:"95%",display:"flex","justify-content":"center","align-items":"center"}},Ut={style:{"font-size":"0.7em","font-weight":"510",color:"#e9e9e9"}},Rt={style:{"min-height":"22.07vw",display:"flex","justify-content":"space-around","align-items":"center"}},St={style:{width:"40%",position:"relative","min-height":"max-content"}},zt=["src"],Mt=["src"],Et={style:{width:"40%",position:"relative"}},Tt=["src"],Dt=["src"],$t={style:{display:"flex","flex-direction":"column",gap:"2vw","padding-bottom":"37vw"}},Gt={style:{"align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-around",padding:"2vw"}},Lt={style:{"font-weight":"700","font-size":"0.9em"}},Ft={style:{"font-weight":"600","font-size":"1.1em"}},Nt={style:{"align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-around",padding:"2vw"}},Ot={style:{"font-weight":"700","font-size":"0.9em"}},Ht={style:{"font-weight":"600","font-size":"1.1em"}},Wt={style:{"align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-around",padding:"2vw"}},Pt={style:{"font-weight":"700","font-size":"0.9em"}},Qt={style:{display:"flex","align-items":"center"}},Jt={src:B,alt:"",style:{display:"block",width:"1.5em"}},Vt={style:{"font-weight":"600","font-size":"1.1em","padding-top":"1vw"}},qt={style:{"align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-around",padding:"2vw"}},Yt={style:{"font-weight":"700","font-size":"0.9em"}},Kt={style:{display:"flex","align-items":"center"}},Xt={src:B,alt:"",style:{display:"block",width:"1.5em"}},Zt={style:{"font-weight":"600","font-size":"1.1em","padding-top":"1vw"}},ei=["src"],ti={style:{position:"relative"}},ii={style:{width:"100vw","min-height":"15vw",display:"flex","justify-content":"center","align-items":"center",gap:"13vw"}},ni=["src"],oi=["src"],si={style:{flex:"1","min-height":"0",width:"100%",display:"flex","flex-direction":"column",gap:"4px"}},li={class:"overflow-y-auto",style:{display:"flex","flex-direction":"column",width:"100%",gap:"2vw"}},ai={style:{flex:"1","min-width":"0",display:"flex","justify-content":"space-around","align-items":"center",gap:"8px"}},ri={style:{color:"#ffe601","font-weight":"700"}},di=["src"],ci={style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-around"}},vi={style:{color:"#fff","font-size":"0.9em","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},yi={style:{"font-size":"0.8em",color:"#fff","font-weight":"590"}},ui={style:{width:"auto","min-width":"0",display:"flex","align-items":"center"}},gi={src:B,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1","object-fit":"cover"}},fi={style:{"font-size":"0.9em","font-weight":"700"}},hi={style:{width:"100%","min-width":"0",display:"flex","align-items":"center",gap:"2vw"}},mi={class:"timeBox"},pi={class:"timeText",style:{}},wi={class:"timeText",style:{}},_i={class:"timeText",style:{}},xi={class:"timeText",style:{}},ki=["src"],bi={style:{flex:"1","min-height":"0",width:"100%",display:"flex","flex-direction":"column",gap:"4px"}},Ai={class:"overflow-y-auto",style:{display:"flex","flex-direction":"column",width:"100%",gap:"2vw"}},Ci={style:{flex:"1","min-width":"0",display:"flex","justify-content":"space-around","align-items":"center",gap:"8px"}},Ii={style:{color:"#ffe601","font-weight":"700"}},Bi=["src"],ji={style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-around"}},Ui={style:{color:"#fff","font-size":"0.9em","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},Ri={style:{"font-size":"0.8em",color:"#fff","font-weight":"590"}},Si={style:{width:"auto","min-width":"0",display:"flex","align-items":"center"}},zi={src:B,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1","object-fit":"cover"}},Mi={style:{"font-size":"0.9em","font-weight":"700"}},Ei=["src"],Ti={style:{flex:"1","min-width":"0",display:"flex","justify-content":"space-around","align-items":"center",gap:"8px"}},Di={style:{color:"#ffe601","font-weight":"700"}},$i=["src"],Gi={style:{flex:"1","min-width":"0",display:"flex","flex-direction":"column"}},Li={style:{color:"#fff","font-weight":"860",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"},class:"UserNickname"},Fi={style:{width:"auto","min-width":"0",display:"flex","align-items":"center"}},Ni={src:B,alt:"",style:{display:"block",width:"1.5em","aspect-ratio":"1/1","object-fit":"cover"}},Oi={style:{"font-weight":"700"}},Hi=["src"],Wi={class:"bindingUserCode"},Pi=["src"],Qi={style:{"align-self":"stretch",display:"flex","flex-direction":"column"}},Ji={style:{width:"100%","min-width":"0","aspect-ratio":"1/1",display:"flex","justify-content":"center","align-items":"center"}},Vi=["src","onError"],qi={style:{width:"100%","min-width":"0",flex:"1",display:"flex","justify-content":"center","align-items":"center"}},Yi={style:{width:"100%",display:"flex","flex-direction":"column",gap:"18vw"}},Ki={style:{width:"100%",height:"30vw",display:"flex",gap:"12vw"}},Xi={style:{flex:"1","min-width":"0",height:"100%",display:"flex","flex-direction":"column"}},Zi={style:{width:"100%","min-width":"0","aspect-ratio":"1/1",display:"flex","justify-content":"center","align-items":"center"}},en=["src","onError"],tn={style:{width:"100%","min-width":"0",flex:"1",display:"flex","justify-content":"center","align-items":"center"}},nn={style:{width:"95%",height:"37vw",display:"grid","grid-template-columns":"repeat(2, 1fr)",gap:"5vw"}},on={style:{"align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-around",padding:"2vw"}},sn={style:{"font-weight":"700","font-size":"0.9em"}},ln={style:{"font-weight":"600","font-size":"1.1em"}},an={style:{"align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-around",padding:"2vw"}},rn={style:{"font-weight":"700","font-size":"0.9em"}},dn={style:{"font-weight":"600","font-size":"1.1em"}},cn={style:{"align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-around",padding:"2vw"}},vn={style:{"font-weight":"700","font-size":"0.9em"}},yn={style:{display:"flex","align-items":"center"}},un={src:B,alt:"",style:{display:"block",width:"1.5em"}},gn={style:{"font-weight":"600","font-size":"1.1em","padding-top":"1vw"}},fn={style:{"align-self":"stretch",display:"flex","flex-direction":"column","justify-content":"space-around",padding:"2vw"}},hn={style:{"font-weight":"700","font-size":"0.9em"}},mn={style:{display:"flex","align-items":"center"}},pn={src:B,alt:"",style:{display:"block",width:"1.5em"}},wn={style:{"font-weight":"600","font-size":"1.1em","padding-top":"1vw"}},_n={style:{flex:"1","min-height":"0",width:"100%","border-radius":"8px",background:"rgba(194, 174, 232, 0.2)","backdrop-filter":"blur(1px)",padding:"12px",display:"flex","flex-direction":"column",gap:"4px"}},xn={style:{width:"100%",display:"flex","align-items":"center"}},kn={style:{flex:"1","font-weight":"590","font-size":"0.8em","text-align":"center"}},bn={style:{flex:"1","font-weight":"590",display:"flex","justify-content":"space-between","align-items":"center"}},An={style:{"font-weight":"590","font-size":"0.8em","text-align":"center"}},Cn={style:{flex:"1","font-weight":"590","text-align":"center","font-size":"0.8em"}},In={class:"overflow-y-auto",style:{"align-self":"stretch",width:"100%"}},Bn={style:{width:"100%",display:"flex","align-items":"center"}},jn={style:{flex:"1","font-weight":"590","font-size":"0.8em","text-align":"center"}},Un={style:{flex:"1","font-weight":"590",display:"flex","justify-content":"space-between","align-items":"center"}},Rn={style:{"font-weight":"590","font-size":"0.8em"}},Sn={style:{flex:"1",display:"flex","justify-content":"center","align-items":"center",gap:"4px"}},zn={src:B,alt:"",style:{display:"block",width:"1em"}},Mn={style:{color:"#ffb627","font-size":"1em","font-weight":"590"}},En={style:{flex:"1","min-height":"0",display:"flex",gap:"11vw"}},Tn={style:{flex:"1","align-self":"stretch",display:"flex","flex-direction":"column",gap:"2vw"}},Dn={style:{width:"100%","aspect-ratio":"1/1",display:"flex","justify-content":"center","align-items":"center"}},$n=["src","onError"],Gn={style:{flex:"1",display:"flex","justify-content":"center","align-items":"center"}},Ln={style:{"font-size":"1.3em",color:"#fff","font-weight":"600"}},Fn={style:{position:"fixed",top:"50vh",display:"flex","justify-content":"center",width:"100vw"}},Nn={style:{padding:"12px","border-radius":"8px",background:"rgba(0, 0, 0, 0.4)","font-weight":"600"}},On={__name:"inviteNewUser",setup(y){const _=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADxSURBVHgB7dvBDYJAFEXRHyuhBEuzA+3EWAmlUIJ2MDJCNATy5m1I1H9PwoZhww3Mgh8iAAAAAACllG48joGlOUxfPoZ6LvCOM5S1PrITcV4is1acuhY7O8SXmveX+gp14rJbZGQ8OdUlMiKOQByBOAJxBOIIxBGIIxBHII5AHIE4AnEE4gjEEYgjEKeBOMJ488d/irPHN+lHYz33JKIqywHflnNkZm7SRCJSA5EMRDIQyUAkA5EMRDIQyUAkA5EMRDIQyUAkA5EMRDIQyWBGOkVmRqR7ZNeKFJCRroHJRqS+8DvUWpkGk10AAAAAwO96AiOznp1YXpZWAAAAAElFTkSuQmCC",import.meta.url).href,{t:c}=Qe(),Ce=Je(),S=Q(()=>Ce.selectedLang?.type||"en"),a=i=>S.value==="en"?i:`${i}_${S.value}`,n=i=>st("invitation/inviteNewUser/",i),{copy:Ie,isSupported:Be}=nt(),ie=v(!0),z=v(""),M=v({}),j=v({}),b=v({}),ne=v([]),oe=v([]),se=v(Array(3)),le=v([]),q=v([]),E=v({}),Y=v([]),ae=Q(()=>{if(T.value)return Y.value;if(U.value)return q.value}),w=v("income"),T=v(!0),U=v(!1),L=v(!1),re=i=>{switch(i){case"rankWeek":U.value=!0,T.value=!1;break;case"rankAll":U.value=!1,T.value=!0;break}},F=v(!1),G=v(!1),N=v(!1),K=v(!1),je=Q(()=>F.value||G.value||N.value||L.value),O=()=>{F.value=!1,G.value=!1,N.value=!1,L.value=!1},de=v(0),ce=v(0),ve=v(0),ye=v(0);let H=null;const ue=Q(()=>!j.value||Object.keys(j.value).length===0?null:j.value.inviterInfo?.userId?"privateChat":!j.value.myInfo?.expired&&!j.value.inviterInfo?"enterCode":null),X=v((()=>{const i=new Date,t=new Date(i.getTime()),k=i.getTime()+i.getTimezoneOffset()*6e4,d=new Date(k+8*36e5),s=d.getDay(),A=d.getHours(),g=s===0?6:s-1;let R;return g===0?A>=5?R=7:R=0:R=7-g,t.setDate(t.getDate()+R),t.setHours(5,0,0,0),t.getTime()})()),Z=i=>i<10?`0${i}`:i,ge=()=>{const i=Date.now();let t=X.value-i;t<=0&&(pe(),X.value+=7*864e5,t=X.value-i);const k=Math.floor(t/1e3);de.value=Math.floor(k/(24*3600)),ce.value=Z(Math.floor(k%(24*3600)/3600)),ve.value=Z(Math.floor(k%3600/60)),ye.value=Z(Math.floor(k%60))},Ue=()=>{ge(),H=setInterval(ge,1e3)},fe=i=>["GOLD","DIAMOND","GIFT","FRAGMENTS"].includes(i.type)?i.content:i.type==="DOLLARS"?`$${i.content}`:`${i.quantity}${c("day_unit")}`,he=()=>{if(!M.value?.inviteCode){ee(c("please_wait_loading"));return}Ze("shareDrawer:"+c("share_invitation_message",{code:M.value?.inviteCode}))},Re=i=>{if(Be.value)Ie(i);else{const t=document.createElement("textarea");t.value=i,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}K.value=!0,setTimeout(()=>{K.value=!1},2e3)},Se=()=>{if(!z.value.trim()){xe(c("please_enter_valid_invitation_code"));return}},ze=async()=>{const i=await ut();i.status&&i.body&&(M.value=i.body)},me=async()=>{const i=await gt();i.status&&i.body&&(j.value=i.body||{})},Me=async()=>{if(!z.value.trim()){xe(c("please_enter_valid_invitation_code"));return}let i={inviteCode:z.value.trim(),inviteType:"REGISTER"};try{(await ft(i)).status?(it(c("invitation_code_bound_successfully")),me()):ee(c("invitation_code_binding_failed")),z.value="",G.value=!1}catch(t){ee(t.errorMsg)}},Ee=async()=>{const i=await ht();i.status&&i.body&&(b.value=i.body)},Te=async()=>{const i=await mt();i.status&&i.body&&(ne.value=i.body)},De=async()=>{const t=await be(["1983474358707736577"]);t.status&&t.body&&(oe.value=t.body["1983474358707736577"])},$e=async()=>{const t=await rt({activityType:14});t.status&&t.body?(E.value=t.body?.currentUserRank,q.value=t.body?.rankingList):(q.value=[],E.value={})},Ge=async()=>{const t=await dt(100,{activityType:14});t.status&&t.body?Y.value=t.body||[]:Y.value=[]},Le=async()=>{const i=await ct("2029443922744954881");i.status&&i.body&&(le.value=i.body.butOneRewards)},Fe=async()=>{[["2029448725407711234"],["2029449081176965121"],["2029449364032438273"]].forEach(async(t,k)=>{const d=await be(t);d.status&&d.body&&(console.log("resRechargeRewards.body.id",d.body[`${t}`]),se.value[k]=d.body[`${t}`])})},Ne=async()=>{const i=[n("bg1New"),n("bg2"),n("bg3"),n("BtBg"),n(a("myCode")),n("copy"),n(a("incomeBtActive")),n(a("incomeBt")),n(a("earningsRankingBtActive")),n(a("earningsRankingBt")),n(a("incomeBg")),n(a("example")),n(a("listBt")),n(a("rankBt")),n(a("rewardBt")),n("rankingBg"),n("timeBg"),n("rankItemBg"),n(a("inviteFriendsBt")),n(a("helpInfo")),n(a("enterCodeBg")),n(a("confirmBt")),n(a("incomeListBg")),n(a("weekRewardBg"))];await lt(i)},pe=async()=>{await Promise.all([ze(),me(),Ee(),Te(),De(),$e(),Ge(),Le(),Fe()])},Oe=async()=>{try{await Promise.all([pe(),Ne()])}catch(i){console.error("预加载过程中发生错误:",i)}finally{ie.value=!1}},He=async()=>{await ot(()=>{Oe()})};return Ve(()=>{Ue(),He()}),qe(()=>{H&&(clearInterval(H),H=null)}),(i,t)=>{const k=Ye,d=Xe("smart-img");return u(),f("div",pt,[ie.value?(u(),f("div",wt,[h(ke,{backgroundImages:[n("bg1New"),n("bg2"),n("bg3")]},null,8,["backgroundImages"]),h(k),e("p",null,o(i.$t("loading"))+"...",1)])):(u(),f("div",_t,[h(ke,{backgroundImages:[n("bg1New"),n("bg2"),n("bg3")]},null,8,["backgroundImages"]),e("div",xt,[h(vt,{isHomePage:!0,showHelp:!0,backImg:l(_),title:l(c)("invitation_to_register"),onHelp:t[0]||(t[0]=s=>F.value=!0)},null,8,["backImg","title"])]),e("div",kt,[ue.value==="enterCode"?(u(),W(p,{key:0,style:{width:"40%","min-height":"15.63vw"},imgUrl:n("BtBg"),contentStyle:"direction: ltr;justify-content: center;inset: 1vw 6vw 0 0.5vw;",onClick:t[1]||(t[1]=s=>G.value=!0)},{default:m(()=>[e("div",{class:D(["enter",`enter_${S.value}`])},o(l(c)("enter_invitation_code")),3)]),_:1},8,["imgUrl"])):ue.value==="privateChat"?(u(),W(p,{key:1,style:{width:"40%","min-height":"15.63vw"},imgUrl:n("BtBg"),contentStyle:"direction: ltr;justify-content: center;inset: 1vw 6vw 0 0.5vw;",onClick:t[2]||(t[2]=s=>l(Ke)(j.value.inviterInfo?.userId))},{default:m(()=>[e("div",{class:D(["contact",`contact_${S.value}`])},o(l(c)("contact_your_inviter")),3)]),_:1},8,["imgUrl"])):we("",!0)]),e("div",bt,[h(p,{style:{"min-height":"141vw"},imgUrl:n(a("myCode")),contentStyle:"padding: 111vw 10vw 17vw;flex-direction: column;justify-content: flex-start;gap: 0vw;"},{default:m(()=>[e("div",At,[e("div",Ct,o(l(c)("my_invitation_code")),1),e("div",It,o(M.value.inviteCode||""),1),M.value.inviteCode?r((u(),f("img",{key:0,src:n("copy"),alt:"",style:{display:"block",width:"1.5em","object-fit":"cover"},onClick:t[3]||(t[3]=s=>Re(M.value.inviteCode||""))},null,8,Bt)),[[d]]):we("",!0)]),e("div",jt,[e("div",Ut,o(l(c)("copy_invitation_code_tip")),1)])]),_:1},8,["imgUrl"]),e("div",Rt,[e("div",St,[r(e("img",{src:n(a("incomeBtActive")),alt:"",style:P([{display:"block",width:"100%"},{opacity:w.value==="income"?1:0}]),onClick:t[4]||(t[4]=s=>w.value="income")},null,12,zt),[[d,void 0,void 0,{noFade:!0}]]),r(e("img",{src:n(a("incomeBt")),alt:"",style:P([{display:"block",width:"100%",position:"absolute",bottom:"0",left:"0"},{opacity:w.value==="income"?0:1}]),onClick:t[5]||(t[5]=s=>w.value="income")},null,12,Mt),[[d,void 0,void 0,{noFade:!0}]])]),e("div",Et,[r(e("img",{src:n(a("earningsRankingBtActive")),alt:"",style:P([{display:"block",width:"100%"},{opacity:w.value==="ranking"?1:0}]),onClick:t[6]||(t[6]=s=>w.value="ranking")},null,12,Tt),[[d,void 0,void 0,{noFade:!0}]]),r(e("img",{src:n(a("earningsRankingBt")),alt:"",style:P([{display:"block",width:"100%",position:"absolute",bottom:"0",left:"0"},{opacity:w.value==="ranking"?0:1}]),onClick:t[7]||(t[7]=s=>w.value="ranking")},null,12,Dt),[[d,void 0,void 0,{noFade:!0}]])])]),r(e("div",$t,[h(p,{style:{"min-height":"100vw"},imgUrl:n(a("incomeBg")),contentStyle:"padding: 44vw 8vw 18vw 7vw;display:grid;grid-template-columns: repeat(2, 1fr);gap: 4vw;"},{default:m(()=>[e("div",{style:{position:"absolute","z-index":"2",width:"22vw",height:"10vw",top:"31vw",right:"6vw"},onClick:t[8]||(t[8]=s=>N.value=!0)}),e("div",Gt,[e("div",Lt,o(l(c)("total_invitations")),1),e("div",Ft,o(b.value.validInviteCount||0),1)]),e("div",Nt,[e("div",Ot,o(l(c)("todays_invitation")),1),e("div",Ht,o(b.value.todayInviteCount||0),1)]),e("div",Wt,[e("div",Pt,o(l(c)("invitation_total_income")),1),e("div",Qt,[r(e("img",Jt,null,512),[[d]]),e("div",Vt,o(b.value.totalIncome||0),1)])]),e("div",qt,[e("div",Yt,o(l(c)("todays_income")),1),e("div",Kt,[r(e("img",Xt,null,512),[[d]]),e("div",Zt,o(b.value.todayIncome||0),1)])])]),_:1},8,["imgUrl"]),r(e("img",{src:n(a("example")),alt:"",style:{position:"relative","z-index":"2",display:"block",width:"100%","object-fit":"cover"}},null,8,ei),[[d]])],512),[[x,w.value=="income"]]),r(e("div",ti,[e("div",ii,[e("div",{style:{width:"35vw","min-width":"0"},onClick:t[9]||(t[9]=s=>re("rankAll"))},[r(e("img",{src:n(a("listBt")),alt:"",class:D({"grayscale-container":!T.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,ni),[[d]])]),e("div",{style:{width:"35vw","min-width":"0"},onClick:t[10]||(t[10]=s=>re("rankWeek"))},[r(e("img",{src:n(a("rankBt")),alt:"",class:D({"grayscale-container":!U.value}),style:{width:"100%",display:"block","object-fit":"cover"}},null,10,oi),[[d]])])]),r(e("div",null,[h(p,{style:{"min-height":"205.33vw"},imgUrl:n("rankingBg"),contentStyle:"padding: 10vw 6vw 10vw;flex-direction: column;justify-content: flex-start;gap:2vw"},{default:m(()=>[e("div",si,[e("div",li,[(u(!0),f(C,null,I(ae.value,(s,A)=>(u(),W(p,{style:{"min-height":"22.33vw"},key:s.userId,imgUrl:n("rankItemBg"),contentStyle:"padding: 0 5vw",lazy:!0,immediate:A<10,rootMargin:"100px",show:T.value,onClick:g=>l(_e)(s.userId)},{default:m(()=>[e("div",ai,[e("div",ri,o(s?.rank),1),e("img",{src:s?.avatar||"",alt:"",style:{display:"block",width:"13vw","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:t[11]||(t[11]=(...g)=>l($)&&l($)(...g))},null,40,di),e("div",ci,[e("div",vi,o(s?.nickname),1),e("div",yi,o(i.$t("user_id_prefix"))+" "+o(s?.account),1)])]),e("div",ui,[r(e("img",gi,null,512),[[d]]),e("div",fi,o(s?.quantity),1)])]),_:2},1032,["imgUrl","immediate","show","onClick"]))),128))])])]),_:1},8,["imgUrl"]),t[20]||(t[20]=e("div",{style:{height:"20vw"}},null,-1))],512),[[x,T.value]]),r(e("div",null,[h(p,{style:{"min-height":"205.33vw"},imgUrl:n("rankingBg"),contentStyle:"padding: 13vw 6vw 10vw;flex-direction: column;justify-content: flex-start;gap:2vw"},{default:m(()=>[e("div",hi,[h(p,{style:{width:"70%","min-width":"0","min-height":"9.87vw"},imgUrl:n("timeBg"),contentStyle:""},{default:m(()=>[e("div",mi,[e("div",pi,o(de.value)+"Day",1),t[21]||(t[21]=e("div",{class:"timeText timeGap"},null,-1)),e("div",wi,o(ce.value),1),t[22]||(t[22]=e("div",{class:"timeText timeGap"},":",-1)),e("div",_i,o(ve.value),1),t[23]||(t[23]=e("div",{class:"timeText timeGap"},":",-1)),e("div",xi,o(ye.value),1)])]),_:1},8,["imgUrl"]),r(e("img",{src:n(a("rewardBt")),alt:"",style:{flex:"1","min-width":"0",display:"block","object-fit":"cover"},onClick:t[12]||(t[12]=s=>L.value=!0)},null,8,ki),[[d]])]),e("div",bi,[e("div",Ai,[(u(!0),f(C,null,I(ae.value,(s,A)=>(u(),W(p,{style:{"min-height":"22.33vw"},key:s.userId,imgUrl:n("rankItemBg"),contentStyle:"padding: 0 5vw",lazy:!0,immediate:A<10,rootMargin:"100px",show:U.value,onClick:g=>l(_e)(s.userId)},{default:m(()=>[e("div",Ci,[e("div",Ii,o(s?.rank),1),e("img",{src:s?.avatar||"",alt:"",style:{display:"block",width:"13vw","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:t[13]||(t[13]=(...g)=>l($)&&l($)(...g))},null,40,Bi),e("div",ji,[e("div",Ui,o(s?.nickname),1),e("div",Ri,o(i.$t("user_id_prefix"))+" "+o(s?.account),1)])]),e("div",Si,[r(e("img",zi,null,512),[[d]]),e("div",Mi,o(s?.quantity),1)])]),_:2},1032,["imgUrl","immediate","show","onClick"]))),128))])])]),_:1},8,["imgUrl"]),t[24]||(t[24]=e("div",{style:{height:"30vw"}},null,-1))],512),[[x,U.value]])],512),[[x,w.value=="ranking"]])]),e("div",{style:{width:"100%",position:"fixed",bottom:"5vw","z-index":"3",display:"flex","justify-content":"center",cursor:"pointer","-webkit-tap-highlight-color":"transparent","-webkit-touch-callout":"none","user-select":"none","touch-action":"manipulation"},onClick:he,onTouchend:he},[r(e("img",{src:n(a("inviteFriendsBt")),alt:"",style:{display:"block",width:"90%","object-fit":"cover","pointer-events":"none"}},null,8,Ei),[[x,w.value=="income"],[d]])],32),r(h(p,{style:{"min-height":"25.33vw",position:"fixed",bottom:"0","z-index":"3"},imgUrl:n("rankItemBg"),contentStyle:"padding: 0 7vw"},{default:m(()=>[e("div",Ti,[e("div",Di,o(E.value.rank||999),1),e("img",{src:E.value.avatar||"",alt:"",style:{display:"block",width:"15vw","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:t[14]||(t[14]=(...s)=>l($)&&l($)(...s))},null,40,$i),e("div",Gi,[e("div",Li,o(E.value.nickname),1)])]),e("div",Fi,[r(e("img",Ni,null,512),[[d]]),e("div",Oi,o(E.value.quantity||0),1)])]),_:1},8,["imgUrl"]),[[x,w.value=="ranking"&&U.value]]),h(yt,{maskLayerShow:je.value,onClick:O},{default:m(()=>[r(e("div",{style:{margin:"20% 0",position:"relative"},onClick:t[15]||(t[15]=J(()=>{},["stop"]))},[r(e("img",{src:n(a("helpInfo")),alt:"",width:"100%",style:{display:"block"}},null,8,Hi),[[d]])],512),[[x,F.value]]),r(e("div",{style:{width:"100vw",padding:"30vw 0 10vw",display:"flex","justify-content":"center","align-items":"center"},onClick:O},[h(p,{style:{width:"100vw","min-height":"240.66vw"},imgUrl:n(a("enterCodeBg")),contentStyle:"padding: 31.5vw 6vw 10vw;display: flex;flex-direction: column;justify-content: flex-start;",onClick:t[17]||(t[17]=J(()=>{},["stop"]))},{default:m(()=>[e("div",Wi,[r(e("input",{"onUpdate:modelValue":t[16]||(t[16]=s=>z.value=s),type:"text",style:{width:"60vw","min-width":"0","align-self":"stretch",color:"white","font-weight":"510",padding:"4px 8px",border:"none",outline:"none","background-color":"transparent"},onKeyup:et(Se,["enter"])},null,544),[[tt,z.value]]),e("img",{src:n(a("confirmBt")),alt:"",style:{display:"block",width:"16vw","object-fit":"contain"},onClick:Me},null,8,Pi)]),e("div",{style:{width:"85vw",height:"28vw",display:"grid","grid-template-columns":"repeat(4, 1fr)",gap:"1.3vw"},class:D(["inviteReward",`inviteReward_${S.value}`])},[(u(!0),f(C,null,I(oe.value,(s,A)=>(u(),f("div",Qi,[e("div",Ji,[e("img",{src:s.cover||"",alt:"",width:"70%",style:{display:"block","object-fit":"cover"},onError:g=>l(te)(g,s.type)},null,40,Vi)]),e("div",qi,o(fe(s)),1)]))),256))],2),e("div",{style:{flex:"1","min-height":"0",width:"85vw",display:"flex","flex-direction":"column"},class:D(["rechargeReward",`rechargeReward_${S.value}`])},[(u(!0),f(C,null,I(se.value,(s,A)=>(u(),f("div",Yi,[e("div",Ki,[(u(!0),f(C,null,I(s,g=>(u(),f("div",Xi,[e("div",Zi,[e("img",{src:g.cover||"",alt:"",width:"70%",style:{display:"block","object-fit":"cover"},onError:R=>l(te)(R,g.type)},null,40,en)]),e("div",tn,o(fe(g)),1)]))),256))])]))),256))],2)]),_:1},8,["imgUrl"])],512),[[x,G.value]]),r(e("div",{style:{width:"100vw",padding:"25vw 0 10vw",display:"flex","flex-direction":"column","justify-content":"center","align-items":"center"},onClick:O},[h(p,{style:{"min-height":"163.33vw"},imgUrl:n(a("incomeListBg")),contentStyle:"padding: 37vw 6.5vw 10vw 5.5vw;flex-direction: column;gap: 4vw;justify-content: flex-start;",onClick:t[18]||(t[18]=J(()=>{},["stop"]))},{default:m(()=>[e("div",nn,[e("div",on,[e("div",sn,o(l(c)("total_invitations")),1),e("div",ln,o(b.value.validInviteCount||0),1)]),e("div",an,[e("div",rn,o(l(c)("todays_invitation")),1),e("div",dn,o(b.value.todayInviteCount||0),1)]),e("div",cn,[e("div",vn,o(l(c)("invitation_total_income")),1),e("div",yn,[r(e("img",un,null,512),[[d]]),e("div",gn,o(b.value.totalIncome||0),1)])]),e("div",fn,[e("div",hn,o(l(c)("todays_income")),1),e("div",mn,[r(e("img",pn,null,512),[[d]]),e("div",wn,o(b.value.todayIncome||0),1)])])]),e("div",_n,[e("div",xn,[e("div",kn,o(l(c)("users")),1),e("div",bn,[t[25]||(t[25]=e("div",{style:{width:"1px",height:"16px",background:`linear-gradient( - rgba(217, 217, 217, 0) 0%, - #d9d9d9 50%, - rgba(217, 217, 217, 0) 100% - )`}},null,-1)),e("div",An,o(l(c)("unbinding_time")),1),t[26]||(t[26]=e("div",{style:{width:"1px",height:"16px",background:`linear-gradient( - rgba(217, 217, 217, 0) 0%, - #d9d9d9 50%, - rgba(217, 217, 217, 0) 100% - )`}},null,-1))]),e("div",Cn,o(l(c)("prowide_income")),1)]),e("div",In,[(u(!0),f(C,null,I(ne.value,s=>(u(),f("div",Bn,[e("div",jn,o(l(c)("user_id_prefix"))+o(s.invitedUserAccount||"-"),1),e("div",Un,[t[27]||(t[27]=e("div",{style:{width:"1px",height:"16px",background:`linear-gradient( - rgba(217, 217, 217, 0) 0%, - #d9d9d9 50%, - rgba(217, 217, 217, 0) 100% - )`}},null,-1)),e("div",Rn,o(s.remainingDays||0)+o(l(c)("day_unit")),1),t[28]||(t[28]=e("div",{style:{width:"1px",height:"16px",background:`linear-gradient( - rgba(217, 217, 217, 0) 0%, - #d9d9d9 50%, - rgba(217, 217, 217, 0) 100% - )`}},null,-1))]),e("div",Sn,[r(e("img",zn,null,512),[[d]]),e("div",Mn,o(s.provideIncome||0),1)])]))),256))])])]),_:1},8,["imgUrl"])],512),[[x,N.value]]),r(e("div",{style:{width:"100vw",padding:"25vw 0 10vw",display:"flex","flex-direction":"column","justify-content":"center","align-items":"center"},onClick:O},[h(p,{style:{"min-height":"286.13vw"},imgUrl:n(a("weekRewardBg")),contentStyle:"padding: 57vw 15vw 20vw 15vw;flex-direction: column;gap: 40vw;justify-content: flex-start;",onClick:t[19]||(t[19]=J(()=>{},["stop"]))},{default:m(()=>[(u(!0),f(C,null,I(le.value,(s,A)=>(u(),f("div",En,[(u(!0),f(C,null,I(s.rewards,(g,R)=>(u(),f("div",Tn,[e("div",Dn,[e("img",{src:g.cover||"",alt:"",width:"70%",style:{display:"block","object-fit":"cover"},onError:We=>l(te)(We,g.type)},null,40,$n)]),e("div",Gn,[e("div",Ln,o(l(at)(g.type,g)),1)])]))),256))]))),256))]),_:1},8,["imgUrl"])],512),[[x,L.value]])]),_:1},8,["maskLayerShow"]),r(e("div",Fn,[e("div",Nn,o(l(c)("copied_successfully")),1)],512),[[x,K.value]])]))])}}},oo=Pe(On,[["__scopeId","data-v-5d11b611"]]);export{oo as default}; diff --git a/h5/js/inviteRechargeAgency-DtBWpX3x-1776148658686.js b/h5/js/inviteRechargeAgency-DtBWpX3x-1776148658686.js deleted file mode 100644 index 9c9a7d1..0000000 --- a/h5/js/inviteRechargeAgency-DtBWpX3x-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as S,k as j,I as M,aa as R,o as E,c as r,l as N,q as i,b as s,D as C,E as B,a7 as V,v,t as c,F,x as G,r as p,S as K,an as Q,j as l,Q as T}from"./index-CIAVq8iD-1776148658686.js";import{_ as $}from"./search-D2xJuklA-1776148658686.js";import{a as m,s as A}from"./toast-aIWCznBB-1776148658686.js";import{h as P}from"./imageHandler-DstQGL3Z-1776148658686.js";import{G as q}from"./GeneralHeader-ClI1i1Ud-1776148658686.js";import{s as H}from"./userInfo-gLO2xl8i-1776148658686.js";import{g as J,h as O,j as W}from"./admin-BlNjNFbv-1776148658686.js";const X={class:"fullPage"},Y={style:{padding:"16px",position:"relative"}},Z={style:{display:"flex","align-items":"center",gap:"8px","margin-bottom":"8px"}},ee={style:{flex:"1","border-radius":"32px",border:"1px solid #fff","box-shadow":"0 0 4px 0 rgba(0, 0, 0, 0.25)",padding:"0 8px",display:"flex","align-items":"center",height:"max-content"}},te={src:$,alt:"",style:{display:"block",width:"2em","aspect-ratio":"1/1",opacity:"0.6"}},se=["placeholder"],oe=["disabled"],ie={key:0,style:{margin:"16px 0",display:"flex","flex-direction":"column",gap:"12px"}},ae=["onClick"],ne={key:0,style:{position:"absolute","z-index":"3",top:"-2px",right:"-2px"}},re={key:0,style:{"background-image":"linear-gradient(112deg, #759cff 5.66%, #3d73ff 42.49%)",padding:"4px 8px","border-radius":"0 12px",color:"white","font-weight":"600"}},le={key:1,style:{"background-image":"linear-gradient(112deg, #75ff98 5.66%, #3dff54 42.49%)",padding:"4px 8px","border-radius":"0 12px",color:"white","font-weight":"600"}},ce={style:{"font-weight":"600"}},de={style:{display:"flex","align-items":"center","justify-content":"space-between"}},ue={style:{display:"flex","align-items":"center",gap:"4px",flex:"1","min-width":"0"}},pe={style:{width:"3em","aspect-ratio":"1/1",display:"flex","align-items":"center","justify-content":"center"}},ge=["src","alt"],ve={style:{"min-width":"0",flex:"1"}},fe={style:{"margin-bottom":"4px","font-weight":"700",color:"#333",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},_e={style:{"font-size":"0.9em",color:"rgba(0, 0, 0, 0.4)","font-weight":"500"}},he={style:{display:"flex","justify-content":"center","align-items":"center"}},ye=["onClick"],me={key:1,class:"no-data"},xe={__name:"inviteRechargeAgency",setup(be){const{t:o,locale:x}=j();x.value&&M(x.value);const n=p(""),b=p([]),g=p([]),u=p(!0),d=p({}),_=p(!1),w=K(()=>n.value?g.value:b.value),k=()=>{n.value="",g.value=[],d.value={},u.value=!0,f()},U=()=>{n.value.trim()||(g.value=[],d.value={},u.value=!0,f())},I=R(async()=>{if(!_.value){_.value=!0,console.log("搜索用户id:",n.value),g.value=[],d.value={},u.value=!0;try{if(n.value.trim()){const e=await H(n.value);if(e.status&&e.body){let a={userProfile:e.body};g.value.push(a)}}}catch(e){m(e.response?.errorMsg)}finally{_.value=!1}}},500,!0),L=e=>{console.log("选择用户:",e),n.value&&(d.value?.id==e.userProfile.id?(d.value={},u.value=!0):(d.value=e.userProfile,e.status==0||e.status==1?u.value=!0:u.value=!1))},z=async()=>{console.log("点击邀请代理");try{let e={inviteUserId:d.value.id};(await O(e)).status&&A(o("invitation_submitted"))}catch(e){m(e.response?.errorMsg||o("something_went_wrong"))}k()},f=async()=>{const e=await J();console.log("已邀请列表:",e),e.status&&e.body&&(b.value=e.body)},D=async e=>{console.log("取消邀请用户id:",e);try{(await W(e)).status&&(A(o("application_cancelled")),f())}catch(a){let h=a.response?.errorMsg?.replace(/^.*\]\s*/,"")||o("cancellation_failed_try_again");m(h)}};return E(()=>{f()}),(e,a)=>{const h=Q("smart-img");return l(),r("div",X,[N(q,{showLanguageList:!0,title:i(o)("invite_recharge_agent"),color:"black",style:{"box-shadow":"0 0 10px rgba(0, 0, 0, 0.1)","z-index":"999"}},null,8,["title"]),s("div",Y,[s("div",Z,[s("div",ee,[C(s("img",te,null,512),[[h]]),C(s("input",{"onUpdate:modelValue":a[0]||(a[0]=t=>n.value=t),type:"text",name:"",id:"",placeholder:i(o)("enter_user_id"),onKeyup:a[1]||(a[1]=V((...t)=>i(I)&&i(I)(...t),["enter"])),onInput:U,style:{width:"100%",color:"rgba(0, 0, 0, 0.4)","font-weight":"600",outline:"none",border:"none","background-color":"transparent",padding:"8px"}},null,40,se),[[B,n.value]]),n.value?(l(),r("button",{key:0,onClick:k,style:{background:"none",border:"none",color:"#9ca3af",cursor:"pointer",padding:"0 8px"}}," × ")):v("",!0)]),s("button",{style:{"font-weight":"600"},class:"invite-btn",onClick:z,disabled:u.value},c(i(o)("invite")),9,oe)]),w.value.length>0?(l(),r("div",ie,[(l(!0),r(F,null,G(w.value,t=>(l(),r("div",{key:t.id,style:{position:"relative","background-color":"white",padding:"4px 10px","border-radius":"12px","box-sizing":"border-box",border:"2px solid transparent","box-shadow":"0 0 4px 0 rgba(0, 0, 0, 0.25)",transition:"all 0.2s"},onClick:y=>L(t)},[s("div",{style:{position:"absolute",inset:"-2px","border-radius":"12px","z-index":"2"},class:T({selected:d.value?.id===t.userProfile.id})},null,2),t.status==0||t.status==1?(l(),r("div",ne,[t.status==0?(l(),r("div",re,c(i(o)("pending")),1)):v("",!0),t.status==1?(l(),r("div",le,c(i(o)("success")),1)):v("",!0)])):v("",!0),s("div",ce,c(i(o)("information"))+":",1),s("div",de,[s("div",ue,[s("div",pe,[s("img",{src:t.userProfile.userAvatar||"",alt:t.userProfile.userNickname,style:{display:"block","object-fit":"cover",width:"100%","aspect-ratio":"1/1","border-radius":"50%"},onError:a[2]||(a[2]=(...y)=>i(P)&&i(P)(...y))},null,40,ge)]),s("div",ve,[s("div",fe,c(t.userProfile.userNickname),1),s("div",_e,c(i(o)("user_id_prefix"))+" "+c(t.userProfile.account),1)])]),s("div",he,[t.status==0?(l(),r("div",{key:0,style:{padding:"4px 8px","border-radius":"32px","background-color":"red",color:"white","font-weight":"600","z-index":"5"},onClick:y=>D(t.id)},c(i(o)("cancel")),9,ye)):v("",!0)])])],8,ae))),128))])):(l(),r("div",me,c(i(o)("no_users_found")),1))])])}}},Le=S(xe,[["__scopeId","data-v-bd43a668"]]);export{Le as default}; diff --git a/h5/js/itemCenter-DveKthYv-1776148658686.js b/h5/js/itemCenter-DveKthYv-1776148658686.js deleted file mode 100644 index f640a09..0000000 --- a/h5/js/itemCenter-DveKthYv-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m,o as y,w as p,a as h,j as n,c as o,D as g,Q as v,b as _,a1 as b,n as w,S,r as d,an as k}from"./index-CIAVq8iD-1776148658686.js";const B=["src"],z={key:1,class:"placeholder",style:{width:"100%",height:"100%",backgroundColor:"transparent"}},I={__name:"itemCenter",props:{imgUrl:{type:String,default:"",required:!0},contentStyle:{type:String,default:""},rootMargin:{type:String,default:"100px"},flip:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},immediate:{type:Boolean,default:!1},show:{type:Boolean,default:!0}},setup(s){const e=s,i=d(null),l=d(!1);let t=null;const u=S(()=>e.immediate||!e.lazy?!0:l.value),c=()=>{!e.lazy||e.immediate||i.value&&(t&&t.disconnect(),t=new IntersectionObserver(a=>{a.forEach(r=>{r.isIntersecting&&(l.value=!0,t.unobserve(r.target))})},{rootMargin:e.rootMargin,threshold:0}),t.observe(i.value))};return y(()=>{c()}),p(()=>e.show,a=>{a&&e.lazy&&!e.immediate&&setTimeout(()=>{c()},100)}),h(()=>{t&&t.disconnect()}),(a,r)=>{const f=k("smart-img");return n(),o("div",{style:{position:"relative",width:"100%"},ref_key:"containerRef",ref:i},[u.value?g((n(),o("img",{key:0,src:s.imgUrl,class:v(s.flip?"flipImg":""),alt:"",style:{width:"100%",height:"100%",display:"block"}},null,10,B)),[[f]]):(n(),o("div",z)),_("div",{class:"scrollY",style:w([{position:"absolute",inset:"0",display:"flex","justify-content":"center","align-items":"center"},s.contentStyle])},[b(a.$slots,"default",{},void 0,!0)],4)],512)}}},C=m(I,[["__scopeId","data-v-5f334255"]]);export{C as i}; diff --git a/h5/js/lottery-BvmnIlAm-1776148658686.js b/h5/js/lottery-BvmnIlAm-1776148658686.js deleted file mode 100644 index 4e65dc9..0000000 --- a/h5/js/lottery-BvmnIlAm-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{L as t,W as o}from"./index-CIAVq8iD-1776148658686.js";const c=async e=>{try{return await t(`/activity/lottery/withdraw/amount?activityId=${e}`)}catch(r){throw console.error("Failed to fetch get my withdrawable amount:",r),console.error("error:"+r.response.errorMsg),r}},a=async e=>{try{return await t(`/activity/lottery/withdraw/records?activityId=${e}`)}catch(r){throw console.error("Failed to fetch get my withdraw records:",r),console.error("error:"+r.response.errorMsg),r}},n=async e=>{try{return await o("/activity/lottery/withdraw/apply",e)}catch(r){throw console.error("Failed to fetch withdraw apply:",r),r}},i=async e=>{try{return await t(`/activity/lottery/recharge-rank?activityId=${e.activityId}&pageNo=${e.pageNo}&pageSize=${e.pageSize}`)}catch(r){throw console.error("Failed to fetch get rank list:",r),console.error("error:"+r.response.errorMsg),r}},y=async e=>{try{return await t(`/activity/lottery/detail/${e}`)}catch(r){throw console.error("Failed to fetch get activity detail:",r),console.error("error:"+r.response.errorMsg),r}},l=async e=>{try{return await t(`/activity/lottery/my-recharge?activityId=${e}`)}catch(r){throw console.error("Failed to fetch get my recharge:",r),console.error("error:"+r.response.errorMsg),r}},w=async e=>{try{return await t(`/activity/lottery/reward-configs?activityType=${e.activityType}&activityId=${e.activityId}`)}catch(r){throw console.error("Failed to fetch get activity reward:",r),console.error("error:"+r.response.errorMsg),r}},p=async e=>{try{return await t(`/props-activity-cnf/client/listActivityResource?sysOrigin=${e.sysOrigin}&activityType=${e.activityType}`)}catch(r){throw console.error("Failed to fetch get gifts ranking reward:",r),console.error("error:"+r.response.errorMsg),r}},h=async e=>{try{return e?await t(`/activity/lottery/my-ticket-count?activityId=${e}`):await t("/activity/lottery/my-ticket-count")}catch(r){throw console.error("Failed to fetch get my tickets:",r),console.error("error:"+r.response.errorMsg),r}},d=async e=>{try{return await t(`/activity/lottery/my-total-draw-count?activityId=${e}`)}catch(r){throw console.error("Failed to fetch get my total draw count:",r),console.error("error:"+r.response.errorMsg),r}},g=async e=>{try{return await o("/activity/lottery/draw",e)}catch(r){throw console.error("Failed to fetch once draw:",r),r}},v=async e=>{try{return await o("/activity/lottery/multi-draw",e)}catch(r){throw console.error("Failed to fetch multiply draw:",r),r}},f=async e=>{try{return await t(`/activity/lottery/my-records?pageSize=100&activityCode=${e}`)}catch(r){throw console.error("Failed to fetch get draw records:",r),console.error("error:"+r.response.errorMsg),r}},u=async e=>{try{return await t(`/activity/lottery/winner-history?activityId=${e}`)}catch(r){throw console.error("Failed to fetch get winners:",r),console.error("error:"+r.response.errorMsg),r}},m=async e=>{try{return await t(`/activity/lottery/reward-configs-badge?activityType=${e.activityType}&activityId=${e.activityId}`)}catch(r){throw console.error("Failed to fetch get reward configs badge:",r),console.error("error:"+r.response.errorMsg),r}},F=async e=>{try{return await o("/activity/lottery/claim-reward-badge",e)}catch(r){throw console.error("Failed to fetch receive reward badge:",r),r}},$=async e=>{try{return await t(`/spins/task/list?activityId=${e}`)}catch(r){throw console.error("Failed to fetch get tickets:",r),console.error("error:"+r.response.errorMsg),r}},k=async e=>{try{return await o("/spins/task/receive/reward",e)}catch(r){throw console.error("Failed to fetch receive tickets:",r),r}},M=async e=>{try{return await o("/activity/lottery/claim-reward",e)}catch(r){throw console.error("Failed to fetch receive rewards:",r),r}},I=async e=>{try{return await o("/activity/lottery/transfer",e)}catch(r){throw console.error("Failed to fetch transfer activity dollar:",r),r}},T=async e=>{try{return await o("/activity/lottery/exchange",e)}catch(r){throw console.error("Failed to fetch exchange coin:",r),r}};export{$ as A,n as a,a as b,u as c,l as d,w as e,y as f,d as g,h,f as i,M as j,T as k,k as l,v as m,F as n,g as o,m as p,p as q,i as r,I as t,c as w}; diff --git a/h5/js/map-CyGMA2Wn-1776148658686.js b/h5/js/map-CyGMA2Wn-1776148658686.js deleted file mode 100644 index 037e316..0000000 --- a/h5/js/map-CyGMA2Wn-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as k,r as u,c as n,b as r,l as N,t as _,F as h,x as m,S as w,u as L,j as c,ag as j,v as E}from"./index-CIAVq8iD-1776148658686.js";import{u as S}from"./country-DywnO8EI-1776148658686.js";import{G as V}from"./GeneralHeader-ClI1i1Ud-1776148658686.js";const A={class:"fullPage"},B={class:"bg"},F={style:{padding:"10px",display:"grid",gap:"10px"}},$={style:{"font-weight":"510",color:"rgba(0, 0, 0, 0.4)"}},z={style:{"font-weight":"400",color:"rgba(0, 0, 0, 0.4)","margin-bottom":"10px"}},G={style:{"border-radius":"12px","box-shadow":"0 0 4px 0 #00000050",padding:"10px","background-color":"white",display:"grid",gap:"10px"}},O=["onClick"],P={style:{display:"flex","align-items":"center",gap:"10px"}},U=["src"],D={style:{width:"16px",height:"16px",border:"1px solid rgba(0, 0, 0, 0.4)","border-radius":"50%",display:"flex","justify-content":"center","align-items":"center"}},H={key:0,style:{width:"10px",height:"10px","border-radius":"50%","background-color":"rgba(187, 146, 255, 1)"}},R={__name:"map",setup(T){const v=L(),d=S(),f=u(d.list),i=u(d.selectedCountry),p=u(-1),y=u(-1),x=(o,l,a)=>{p.value=o,y.value=l,i.value=a,C()},b=w(()=>{const o={};f.value.forEach(e=>{let s=e.countryName.charAt(0)?.toUpperCase()||"#";const t=/[A-Z]/.test(s)?s:"#";o.hasOwnProperty(t)||(o[t]=[]),o[t].push(e)});let l=Object.keys(o).sort().map(e=>({letter:e,countries:o[e].sort((s,t)=>s.countryName.localeCompare(t.countryName))})),a=i.value.countryName.charAt(0)?.toUpperCase()||"#";return l.forEach((e,s)=>{e.letter==a&&e.countries.forEach((t,g)=>{t.countryName==i.value.countryName&&(p.value=s,y.value=g)})}),l}),C=()=>{console.log("点击确认按钮"),d.setCountry(i.value),v.go(-1)};return(o,l)=>(c(),n("div",A,[r("div",B,[N(V,{title:o.$t("select_country"),color:"black",style:{"box-shadow":"0 0 10px rgba(0, 0, 0, 0.1)","z-index":"999"}},null,8,["title"]),r("div",F,[r("div",$,_(o.$t("select_your_country")),1),(c(!0),n(h,null,m(b.value,(a,e)=>(c(),n("div",{key:e},[r("div",z,_(a.letter),1),r("div",G,[(c(!0),n(h,null,m(a.countries,(s,t)=>(c(),n("div",{key:t,style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:g=>x(e,t,s)},[r("div",P,[r("img",{src:s.country.nationalFlag,alt:"",style:{height:"16px"}},null,8,U),j(" "+_(s.countryName),1)]),r("div",D,[p.value==e&&y.value==t?(c(),n("div",H)):E("",!0)])],8,O))),128))])]))),128))])])]))}},K=k(R,[["__scopeId","data-v-47cd0f91"]]);export{K as default}; diff --git a/h5/js/pageConfig-BUpLPO7w-1776148658686.js b/h5/js/pageConfig-BUpLPO7w-1776148658686.js deleted file mode 100644 index 68c0675..0000000 --- a/h5/js/pageConfig-BUpLPO7w-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{o as M,ao as F,U as z,ap as O,aq as x,ar as Y,as as C,at as q,au as V,av as $,i as J,ae as K,af as Q,g as u,e as X,p as Z,f as j,s as ee,a9 as T,r as m,u as ne}from"./index-CIAVq8iD-1776148658686.js";import{a as ae}from"./toast-aIWCznBB-1776148658686.js";function oe(i={}){const{needsBankBalance:t=!0,needsWorkStatistics:p=!0,needsTeamInfo:g=!1,needsRouteGuard:W=!0,forceRefresh:P=!1,onDataLoaded:k,onConnectionSuccess:o,onConnectionFailed:v}=i,A=ne(),y=m(!1),c=m(!1),l=m({}),B=m(null),a=T({id:"-",account:"-",userNickname:"user",name:"user",userAvatar:""}),d=T({hostSalary:0,currentSalary:0}),s=T({anchorType:"Chat",minutesProgress:0,minutesTotal:120,giftTask:0}),E=async()=>{console.group("🔗 APP Connection Process"),console.debug("🚀 Starting APP connection...");try{if(!J())return console.debug("🌐 Browser environment detected"),c.value=!0,console.groupEnd(),o&&o({environment:"browser"}),{success:!0,environment:"browser"};if(K()){console.debug("✅ APP already connected and valid"),c.value=!0;const n=Q();return n&&(l.value=n,console.debug("🔧 Using cached HTTP headers")),console.groupEnd(),o&&o({environment:"app",fromCache:!0}),{success:!0,environment:"app",fromCache:!0}}if(u.isConnecting())return console.debug("⏳ Connection already in progress, waiting..."),await u.getConnectionPromise(),c.value=!0,console.debug("✅ Connected via existing process"),console.groupEnd(),o&&o({environment:"app",fromCache:!0}),{success:!0,environment:"app",fromCache:!0};console.debug("📱 Establishing new APP connection...");const e=await new Promise((n,h)=>{const f=new Promise((L,D)=>{X(async U=>{try{const r=Z(U);r.success?(l.value=j(r.data),console.debug("🔧 Setting HTTP headers..."),await ee(l.value),c.value=!0,u.setConnected(l.value),console.debug("🎉 APP connection established successfully"),L({success:!0,environment:"app",fromCache:!1})):(console.error("❌ Failed to parse access origin:",r.error),u.reset(),D(new Error(r.error)))}catch(r){console.error("❌ Connection process failed:",r),u.reset(),D(r)}})});u.setConnecting(f),f.then(n).catch(h)});return console.debug("✅ Connection completed successfully"),console.groupEnd(),o&&o(e),e}catch(e){return console.error("❌ Connection failed:",e),c.value=!1,console.groupEnd(),v&&v(e),e.message&&e.message.includes("parse access")&&A.push({path:"/not_app",query:{message:e.message}}),{success:!1,error:e.message}}},w=async()=>{if(!P){const n=q();if(n){a.id=n.account,a.account=n.account,a.userNickname=n.userNickname,a.userAvatar=n.userAvatar;return}}const e=await V();e.status&&e.body&&(a.id=e.body.account,a.account=e.body.account,a.userNickname=e.body.userNickname,a.userAvatar=e.body.userAvatar)},I=async()=>{if(g){if(!P){const e=x();if(e)return console.log("teamInfo:",e),e}try{console.debug("🏢 Fetching team information...");const e=await Y();e&&e.status&&e.body?(console.debug("✅ Team information retrieved successfully"),C(e.body.teamProfile||e.body)):(console.warn("⚠️ Team entry response invalid or empty"),C(null))}catch(e){if(console.debug("🔴 Team info fetch error:",e),e.response&&e.response.body&&e.response.body.errorCode){const n=e.response.body.errorCode;switch(n){case 6025:console.debug("🚫 User is not a team member (6025)");break;case 6010:console.debug("🚫 Team not found or disbanded (6010)");break;default:console.debug("❌ Other team error:",n,e.response.body.message)}}C(null)}}},S=async()=>{if(t){y.value=!0;try{const e=await O();e.status&&typeof e.body=="number"?d.currentSalary=e.body.toFixed(2):d.currentSalary=0}catch(e){console.error("Failed to fetch bank balance:",e),d.currentSalary=0,ae("Failed to load balance. Please try again.")}finally{y.value=!1}}},R=async()=>{if(p)try{const e=await F("DAILY",z());if(e.status&&e.body){s.anchorType="Chat";const n=Number(e.body.ownTime)||0,h=Number(e.body.otherTime)||0,f=n+h;s.minutesProgress=f>=s.minutesTotal?s.minutesTotal:f,s.giftTask=e.body.acceptGiftValue||0}}catch(e){console.error("获取工作统计失败:",e)}},N=async()=>{console.debug("📊 Starting data initialization...");try{const e=[];e.push(w()),g&&e.push(I()),t&&e.push(S()),p&&e.push(R()),await Promise.all(e),W&&await $(A,z()),k&&k({userProfile:B.value,userInfo:a,salaryInfo:d,taskInfo:s}),console.debug("✅ Data initialization completed")}catch(e){console.error("❌ Data initialization failed:",e)}},G=()=>{a.userAvatar=""},_=()=>a.name&&a.name.length>0?a.name.charAt(0).toUpperCase():"U",b=async()=>{console.debug("📄 Page initialization started");try{(await E()).success?(console.debug("🔗 Connection successful, initializing data..."),await N()):console.warn("⚠️ Connection failed, skipping data initialization")}catch(e){console.error("❌ Page initialization failed:",e)}};return M(b),{loading:y,appConnected:c,headerInfo:l,userProfile:B,userInfo:a,salaryInfo:d,taskInfo:s,connectToApp:E,initializePageData:N,fetchUserInfo:w,fetchTeamInfo:I,fetchBankBalance:S,fetchWorkStatistics:R,handleImageError:G,getAvatarPlaceholder:_,initializePage:b,reinitialize:b}}const H={HOST_CENTER:{needsBankBalance:!0,needsWorkStatistics:!0,needsRouteGuard:!0,title:"Host Center",userTag:"👑 Host"},COIN_SELLER:{needsBankBalance:!0,needsWorkStatistics:!1,needsRouteGuard:!0,title:"Coin Seller",userTag:"💰 Coin Seller"},AGENCY_CENTER:{needsBankBalance:!0,needsWorkStatistics:!0,needsRouteGuard:!0,title:"Agency Center",userTag:"🏢 Agency"},BD_LEADER_CENTER:{needsBankBalance:!0,needsWorkStatistics:!1,needsRouteGuard:!0,title:"BD Leader Center",userTag:"📈 BD Leader"},BD_CENTER:{needsBankBalance:!0,needsWorkStatistics:!1,needsRouteGuard:!0,title:"BD Center",userTag:"📈 BD"},APPLY:{needsBankBalance:!1,needsWorkStatistics:!1,needsRouteGuard:!1,title:"Apply",userTag:null},ADMIN_CENTER:{needsBankBalance:!1,needsWorkStatistics:!1,needsRouteGuard:!0,title:"ADMIN Center",userTag:"ADMIN"}};function te(i){const t=H[i];return t||(console.warn(`未找到页面配置: ${i}`),H.HOST_CENTER)}function ie(i,t={}){const g={...te(i),...t};return oe(g)}export{ie as u}; diff --git a/h5/js/payResult-tnDLD4I6-1776148658686.js b/h5/js/payResult-tnDLD4I6-1776148658686.js deleted file mode 100644 index df0cbbc..0000000 --- a/h5/js/payResult-tnDLD4I6-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as f,r as a,k,o as g,c as n,b as s,l as _,t as c,v as p,J as I,j as i}from"./index-CIAVq8iD-1776148658686.js";import{I as $}from"./index-DrKDqZqX-1776148658686.js";const N={class:"pay-result"},S={class:"head"},b={class:"content"},x={key:0},B={class:"icon"},F={class:"ok"},R={class:"msg"},V={key:1},q={class:"icon"},z={class:"ok"},C={class:"bottom"},E={__name:"payResult",setup(M){const e=I().query||{},r=a(Number(e.appStatus)),u=a(e.appType),v=a(e.appId),m=a(e.redirect),y=()=>{location.href=`${location.origin}/#/${m.value}/${v.value}?type=${u.value}`},{t:h}=k(),t=d=>h(`${d}`);return g(()=>{}),(d,o)=>{const l=$;return i(),n("div",N,[s("div",S,[s("div",b,[r.value===0?(i(),n("div",x,[s("div",B,[_(l,{name:"checked",size:"2rem",color:"#0ad4af"})]),s("div",F,c(t("paySuccess")),1),s("div",R,c(t("payMsg")),1)])):p("",!0),r.value===1?(i(),n("div",V,[s("div",q,[_(l,{name:"clear",size:"2rem",color:"#FF682E"})]),s("div",z,c(t("payFail")),1)])):p("",!0),o[1]||(o[1]=s("div",{class:"switch-lang"},null,-1))])]),s("div",C,[s("div",{class:"colse",onClick:o[0]||(o[0]=j=>y())},c(t("close")),1)])])}}},J=f(E,[["__scopeId","data-v-096c28fc"]]);export{J as default}; diff --git a/h5/js/payWay-BogP6dW2-1776148658686.js b/h5/js/payWay-BogP6dW2-1776148658686.js deleted file mode 100644 index d456921..0000000 --- a/h5/js/payWay-BogP6dW2-1776148658686.js +++ /dev/null @@ -1,2 +0,0 @@ -import{_ as W}from"./help-BgsLqEJs-1776148658686.js";import{_ as H}from"./coin-Dqu2_ND9-1776148658686.js";import{W as q,L as O,_ as X,r as y,aW as z,o as M,c as m,b as o,l as V,t as d,q as _,F as A,x as L,v as B,J,u as K,j as g}from"./index-CIAVq8iD-1776148658686.js";import{c as Q}from"./appConnector-B5Pbaops-1776148658686.js";import{b as Y}from"./toast-aIWCznBB-1776148658686.js";import{h as k}from"./imageHandler-DstQGL3Z-1776148658686.js";import{p as Z}from"./imagePreloader-C_QM-Nv8-1776148658686.js";import{u as ee}from"./country-DywnO8EI-1776148658686.js";import{u as te}from"./rechargeTarget-IksBf2RB-1776148658686.js";import{g as oe}from"./imagePaths-Bi1Bwe4Z-1776148658686.js";import{d as re}from"./userInfo-gLO2xl8i-1776148658686.js";import{G as ne}from"./GeneralHeader-ClI1i1Ud-1776148658686.js";function E(e,t){if(!e&&!t)return{};if(!e)return t&&isObject(t)?deepClone(t):{};if(!t)return e&&isObject(e)?deepClone(e):{};const n=deepClone(e);for(const r in t){const c=n[r],p=t[r];if(!isObject(c)||!isObject(p)){n[r]=deepClone(t[r]);continue}n[r]=E(c,p)}return n}const $={prod:"checkout.airwallex.com",demo:"checkout-demo.airwallex.com",staging:"checkout-staging.airwallex.com",dev:"checkout-dev.airwallex.com",local:"localhost:3000"},ie=e=>`https://${$[e]||$.prod}`,v="/assets/elements.bundle.min.js?version=1.160.0",ae=e=>{const t=document.createElement("script");t.src=`${e}${v}`,t.crossOrigin="anonymous";const n=document.head||document.body;if(!n)throw new Error("Airwallex payment scripts requires a or html element in order to be loaded.");return n.appendChild(t),t},se=async e=>{if(typeof window>"u")return null;if(window.Airwallex)return window.Airwallex;let t=0;const n=async()=>{const r=document.querySelector(`script[src="${v}"], script[src="${v}/"]`)||ae(ie(e?.env||"prod"));return new Promise(((c,p)=>{r.addEventListener("load",(()=>{window.Airwallex?(window.Airwallex.init(e),c(window.Airwallex)):p(new Error("Failed to load Airwallex on load event"))})),r.addEventListener("error",(()=>{p(new Error("Failed to load Airwallex scripts")),r.remove&&r.remove()}))}))};for(;t<3;)try{return await n()}catch{t++,await new Promise((c=>window.setTimeout(c,500)))}return null},ce=e=>{if(window.Airwallex)return window.Airwallex.redirectToCheckout(e);console.error("Please loadAirwallex() before redirectToCheckout();")};var le={};function de(){const e=le.ENV;return e==="staging"?"staging":e==="production"?"prod":"demo"}function pe({result:e,props:t,callback:n}){const r=de();se({env:r}).then(()=>{n({code:"INIT-LOAD",msg:"init load success."});const c=E({env:r,mode:"payment",currency:e.currency,intent_id:e.expand.id,client_secret:e.expand.client_secret,methods:[e.factoryChannelCode],recurringOptions:{card:{next_triggered_by:"customer",merchant_trigger_reason:"unscheduled",currency:e.currency}},theme:{fonts:[{src:"https://checkout.airwallex.com/fonts/CircularXXWeb/CircularXXWeb-Regular.woff2",family:"AxLLCircular",weight:400}]}},t);ce(c)}).catch(c=>{console.error(c),n({code:"FAIL",msg:"init fail!!!"})})}const ue=async e=>{try{return await O(`/order/web/pay/application/${e}`)}catch(t){throw console.error("Failed to fetch get pay application:",t),console.error("error:"+t.response.errorMsg),t}},ye=async e=>{try{return await O(`/order/web/pay/commodity?applicationId=${e.applicationId}&payCountryId=${e.payCountryId}®ionId=${e.regionId}&type=${e.type}`)}catch(t){throw console.error("Failed to fetch get app commodity card:",t),console.error("error:"+t.response.errorMsg),t}},me=async e=>{try{return await q("/order/web/pay/recharge",e)}catch(t){throw console.error("Failed to fetch get pay application:",t),t}},ge={class:"fullPage"},fe={class:"bg"},he={style:{padding:"10px",display:"flex","flex-direction":"column",gap:"8px"}},we=["src"],_e={style:{display:"flex","flex-direction":"column",gap:"8px"}},xe={style:{display:"flex","justify-content":"space-between","align-items":"center"}},ve={style:{"font-weight":"600"}},be={style:{"min-width":"0",padding:"10px","border-radius":"8px","box-shadow":"0 0 4px 0 #00000050",display:"flex","align-items":"center",gap:"4px"}},Ce=["src"],Ie={style:{flex:"1","min-width":"0"}},Ae={style:{display:"flex","align-items":"center",gap:"4px"}},Le={style:{"font-weight":"700","min-width":"0",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},ke={style:{"font-weight":"500",color:"rgba(0, 0, 0, 0.4)"}},$e={style:{display:"flex","flex-direction":"column",gap:"8px"}},Oe={style:{width:"100%",display:"flex","justify-content":"space-between"}},Ee={style:{"font-weight":"600"}},Fe=["src"],je={style:{"font-size":"0.8em","font-weight":"500",color:"#fff"}},Re={key:0,style:{display:"flex","flex-direction":"column",gap:"12px"}},Ue={style:{display:"flex","align-items":"center",gap:"8px"}},Pe=["src"],Te={style:{"font-weight":"500"}},Ge={style:{display:"grid","grid-template-columns":"repeat(3, 1fr)",gap:"10px"}},Se=["onClick"],De={style:{"font-size":"0.9em","font-weight":"500",color:"#373232"}},Ne={style:{"font-size":"1em","font-weight":"500",color:"#131111"}},We={__name:"payWay",setup(e){const t=i=>oe("Recharge/",i),n=ee(),r=te(),c=J(),p=K(),f=y("1963531459019739137"),b=y(""),C=y(c.params.type||""),{selectedCountry:h}=z(n),l=y(r.targetUser),x=y([]),I=y([]),F=()=>{p.push({path:"/map"})},j=()=>{p.push({path:"/recharge-guide"})},R=async(i,a)=>{let s={applicationId:f.value,payCountryId:h.value.id,goodsId:a.id,userId:l.value.id,channelCode:i.channel.channelCode};const u=await me(s);if(!u.body){console.log("Payment not available, please contact administrator!!!");return}u.body.factoryCode==="AIRWALLEX"&&(r.clearTargetUser(),pe({result:u.body,props:{logoUrl:that.sysOriginLog,successUrl:`${location.origin}/#/pay-result?redirect=recharge&appType=${C.value}&appId=${f.value}&appStatus=0`,failUrl:`${location.origin}/#/pay-result?redirect=recharge&appType=${C.value}&appId=${f.value}&appStatus=1`},callback:w=>{if(w.code==="FAIL"){Y("init fail!!!");return}}})),u.body.requestUrl&&(location.href=decodeURIComponent(u.body.requestUrl))},U=async()=>(await ue(f.value)).body.appCode,P=async()=>{let i={applicationId:f.value,payCountryId:h.value.id,regionId:b.value,type:l.value.isSuperFreightAgent?"FREIGHT_GOLD_SUPER":l.value.isFreightAgent?"FREIGHT_GOLD":"GOLD"};const a=await ye(i);I.value=a.body.commodity,a.body.channels&&(x.value=a.body.channels)},T=async()=>{let i=await U();if(i){let a={sysOrigin:i,account:l.value.account,type:l.value.isSuperFreightAgent?"FREIGHT_GOLD_SUPER":l.value.isFreightAgent?"FREIGHT_GOLD":"GOLD"};const s=await re(a);s.body&&s.body.regionId&&s.body.countryList.length!=0&&(n.setCountryList(s.body.countryList),JSON.stringify(h.value)=="{}"&&n.setCountry(s.body.countryList[0]),b.value=s.body.regionId)}},G=async()=>{await T(),await P()},S=()=>{Q(async()=>{await G()})},D=()=>{const i=[t("headImg")];Z(i)};return M(async()=>{D(),S()}),(i,a)=>(g(),m("div",ge,[o("div",fe,[V(ne,{showLanguageList:!0,title:i.$t("recharge"),color:"black",style:{"box-shadow":"0 0 10px rgba(0, 0, 0, 0.1)","z-index":"999"}},null,8,["title"]),o("div",he,[o("img",{src:t("headImg"),alt:"",style:{width:"100%"}},null,8,we),o("div",_e,[o("div",xe,[o("div",ve,d(i.$t("my_information")),1),o("div",{style:{"min-width":"0",width:"1.5em"},onClick:j},[...a[1]||(a[1]=[o("img",{src:W,alt:"",style:{display:"block",width:"100%","object-fit":"cover"}},null,-1)])])]),o("div",be,[o("img",{src:l.value.userAvatar||"",alt:"",style:{width:"3em","min-width":"0","border-radius":"50%","aspect-ratio":"1/1","object-fit":"cover"},onError:a[0]||(a[0]=(...s)=>_(k)&&_(k)(...s))},null,40,Ce),o("div",Ie,[o("div",Ae,[o("div",Le,d(l.value.userNickname),1)]),o("div",ke,d(i.$t("user_id_prefix"))+" "+d(l.value.account),1)])])]),o("div",$e,[o("div",Oe,[o("div",Ee,d(i.$t("select_a_country")),1),o("div",{style:{padding:"4px","border-radius":"4px",background:"#7726ff","box-shadow":`0 1px 18px 2px #f2d9ff inset, - 0 1px 4px 2px #f2d9ff inset`,display:"flex","justify-content":"center","align-items":"center",gap:"4px"},onClick:F},[o("img",{src:_(h).country?.nationalFlag,alt:"",style:{display:"block",width:"1.5em","object-fit":"contain"}},null,8,Fe),o("div",je,d(_(h).countryName),1)])]),x.value.length!=0?(g(),m("div",Re,[(g(!0),m(A,null,L(x.value,(s,u)=>(g(),m("div",{key:u,style:{padding:"10px","border-radius":"8px","box-shadow":"0 0 4px 0 #00000050",display:"flex","flex-direction":"column",gap:"8px"}},[o("div",Ue,[o("img",{src:s.channel.channelIcon,style:{display:"block",width:"2.5em"}},null,8,Pe),o("div",Te,d(s.channel.channelName),1)]),o("div",Ge,[(g(!0),m(A,null,L(I.value,(w,N)=>(g(),m("div",{style:{padding:"8px",width:"100%","border-radius":"8px","box-shadow":"0 0 4px 0 #00000050",display:"flex","flex-direction":"column","align-items":"center",gap:"4px"},key:N,onClick:He=>R(s,w)},[a[2]||(a[2]=o("img",{src:H,alt:"",style:{display:"block",width:"3em","object-fit":"cover"}},null,-1)),o("div",De,d(w.content),1),o("div",Ne," $"+d(w.amountUsd),1)],8,Se))),128))])]))),128))])):B("",!0)])])])]))}},tt=X(We,[["__scopeId","data-v-7045048d"]]);export{tt as default}; diff --git a/h5/js/payeeStore-BUBSCe8t-1776148658686.js b/h5/js/payeeStore-BUBSCe8t-1776148658686.js deleted file mode 100644 index 49e2109..0000000 --- a/h5/js/payeeStore-BUBSCe8t-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{a9 as t}from"./index-CIAVq8iD-1776148658686.js";const e=t({payee:null});function n(a){e.payee=a}function l(){return e.payee}function o(){e.payee=null}export{o as c,l as g,n as s}; diff --git a/h5/js/policy-B8bsmkLU-1776148658686.js b/h5/js/policy-B8bsmkLU-1776148658686.js deleted file mode 100644 index 6b81997..0000000 --- a/h5/js/policy-B8bsmkLU-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as c,k as r,P as n,o as u,c as _,l as i,r as t,J as d,j as p}from"./index-CIAVq8iD-1776148658686.js";import{G as f}from"./GeneralHeader-ClI1i1Ud-1776148658686.js";const m={class:"policy-container"},v={__name:"policy",setup(y){const s=d(),{t:o,locale:B}=r();n();const e=t(""),a=t(""),l=()=>{e.value=s.query.from||"BDLead",e.value==="BD"?a.value=o("bd_policy"):e.value==="BDLead"&&(a.value=o("bd_leader_policy"))};return u(()=>{l()}),(k,b)=>(p(),_("div",m,[i(f,{title:a.value,color:"black"},null,8,["title"])]))}},L=c(v,[["__scopeId","data-v-ad18d523"]]);export{L as default}; diff --git a/h5/js/policy-DoQ3gIeH-1776148658686.js b/h5/js/policy-DoQ3gIeH-1776148658686.js deleted file mode 100644 index 67b6f63..0000000 --- a/h5/js/policy-DoQ3gIeH-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,P as t,k as c,o as r,c as l,l as n,q as i,j as p}from"./index-CIAVq8iD-1776148658686.js";import{p as _}from"./imagePreloader-C_QM-Nv8-1776148658686.js";import{G as m}from"./GeneralHeader-ClI1i1Ud-1776148658686.js";const d={class:"policy-container"},u={__name:"policy",setup(f){t();const{t:e,locale:g}=c(),a=()=>{_([])};return r(()=>{a()}),(o,x)=>(p(),l("div",d,[n(m,{title:i(e)("admin_policy"),color:"black",style:{"box-shadow":"0 0 10px rgba(0, 0, 0, 0.1)","z-index":"999"}},null,8,["title"])]))}},k=s(u,[["__scopeId","data-v-32720be3"]]);export{k as default}; diff --git a/h5/js/rechargeTarget-IksBf2RB-1776148658686.js b/h5/js/rechargeTarget-IksBf2RB-1776148658686.js deleted file mode 100644 index 741c232..0000000 --- a/h5/js/rechargeTarget-IksBf2RB-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{aB as r}from"./index-CIAVq8iD-1776148658686.js";const s=r("targetUser",{state:()=>({targetUser:{}}),actions:{setTargetUser(e){console.log("setTargetUser设置充值对象"),this.targetUser=e},clearTargetUser(){console.log("clearTargetUser清空充值对象"),this.targetUser={}}},persist:!0});export{s as u}; diff --git a/h5/js/records-DqyZBoKN-1776148658686.js b/h5/js/records-DqyZBoKN-1776148658686.js deleted file mode 100644 index 8a9f5d9..0000000 --- a/h5/js/records-DqyZBoKN-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -const A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANTSURBVHgB7ZuNddowEMf/zQTeoLdBGMEblA3QBskG8QahE0AnYATTCSATQCdINmh9xbzASbIsWzISL7/37hERydLp7iTrA+CLL+6Kb4gPNVI2Mmvke/tZtHLmo5Fj+/nWyLaRfftdFpSNLBs5NPJ3hHD5FU6dlCSqkRrjlLTJrpEFEqGEnzUPrXDn7AaUvZniBLdF+f/s3vM2fxezNh/n3zmeu+nxvKA8NfJuaQx/X+F6YBoCtc85dNTzjAl4xfTupmBX/BWRYIuZXDiURftQwe7iQevnh5niint96mmDYLb2DgGV3hgqWGMaq5ooLG2qEQBTzFZIgwqBY/oJ6Sp7poLexkGjN0GfejZIkzX0gZTgiYwRHihuFbMuuF1yIPOKZwXdTQhpw7OF9Miyb2HZWxXCwmMDe9ACYamge6UTNaSQByUGWqEHJtd2durOt4AnSjxfISwKHrE8Q1zrmhqkEB5jLD8YMsr56xfy5KdIz20Zpf8TwqMQ38IFDJ4qLUy4VjCrjTQBbwhuL9LEIhWWq57fyJs3kS6lwqVId45uGbAV6ZlU+FGk/yBv9iKtuXThKJAbR5F+NA1atsy5crz4u+iy8Afuj+Kh45/3ovDxMtGlMOE+uBqXpMK3siohHp1hKl8rY6Fg3u5dIexSEdC3ca+QWzqEOMxh3kwPrbxc+WkvUkuR4QfiIeuKobzs2KXMoFwZAkPwO1NewQ+nAQkOF4gIoZ/yPrumcueGTJkOIyoIBcGs/AH9ob5lpRtUuC2Ek/K8y+nT+RV6hkMpMr4jT6Sndp5wSldaIC8UHPOvqwD3VqpHLCakdXsZTBaqkAcvGDjQldBjeeqTfl8I+jTmFY6maSGn00Pvo12CvoO/QprIdcCg82HmGbqbvCAtZNyyjLq/ZXrRT0Vpk7JB1gC14cHB70Z5wPWuYG5TsAps97QI0zLDBPe0APvdqKlcvGjrMd3xrBHR22yLd+71BeKgYL9rGXvd/h8eBW23ablhbAnCOLosep56Ro3GvhDsLn4ZV+f70q43NcLnfena8dwaN9xKVvC/1c4dUePzdrxP2RKJoOC+yT5UuHMWSBR23TXC/KqF3btEIKb63RJ3QInT+XPRfidPBFj2OJ1J8+cWEU4w/wHQMnb0AQkalwAAAABJRU5ErkJggg==";export{A as _}; diff --git a/h5/js/rewardFormatter-Dyjg93my-1776148658686.js b/h5/js/rewardFormatter-Dyjg93my-1776148658686.js deleted file mode 100644 index 71a4453..0000000 --- a/h5/js/rewardFormatter-Dyjg93my-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{aw as o}from"./index-CIAVq8iD-1776148658686.js";const a=(n,t)=>["GOLD","DIAMOND","GIFT","FRAGMENTS","TICKET"].includes(n)?t?.content||"":n==="DOLLARS"?`$${t?.content}`:o.global.t("reward_days",{quantity:t?.quantity});export{a as f}; diff --git a/h5/js/search-D2xJuklA-1776148658686.js b/h5/js/search-D2xJuklA-1776148658686.js deleted file mode 100644 index 3a80b12..0000000 --- a/h5/js/search-D2xJuklA-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -const A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAABAhJREFUeAHtm/9V2zAQx7/l9f+mE/Q2IN3ATFA2IJ2AdIJ4A9gAbRA2CJ0AMkHMBLAB9T3brVFO1jmRYrn48969PAthSd+cTop+fMIwzCxrKEp7rS0JPiE+LMC8tMvSzkuj2rpggZ5K25Z2X9oD/kOy0jalvZT2FsDWqEQeNewtK4QTRbJdaVcYIdeIK8wgQoWIQRxfblB1KR8FqnjyDDkgU21NrJor33lRfyYHe43vm97U+WboD5W2qN/hK2eFhODG3sFdWe5qOfyjVR+oNINukW6QACzOI9yVZOEI8SB0C/WIw7w1CF3i7KCLQ6HI6jKTEsklztpRIU5boPKqpjH8qQm+GqguOwmRbhwVyYW8vvnQBmHJ4e7uJ2EFvTia+dAjwpM7yloiMgSdOOw1LnfXCBuC3FFeqC4tsoMcc9oQuke2plvdIn4gXyN+l/7LAvJoRa08M7hHk2Y+dMpg6apPlK4mFZRZeQz6jWynIIP8ZQWtzwL+UUHKEzPG9MEgcr0k76HW38mRJ0caEPZH0xcE4hJ+7zGKPEOTwx8iDkIaCcjKY3vPDnF/gx0CIdKI5nvpAul2LRuue9BgnWG/8VdWHo2HpQIP70G72S36d68gbhsJ9ha7Pbfafz4T0s6tZ95+KawCycrzG+nCS7qFlXYOJZJA9u+WZ0WBD0gb+wskKLEFsnc6mSfh/y7wz7N+IX2BCuuZoAzUn63nmeLlTdp3jIdCSOO2ere4bQ8i6F4+NiQhVB50ho/BJFAsbIEkpb/gA6MR6CvGDwlpBRRoBCKMHxLSvCMYIwlUWGnfMH7smbP6FJsUpAvrOcP4Iev5CUokgbbCywfb6w4AYf/n0xZKJIHuhbQFxksmpN3jCNhb7LXclJczfNgLZm8IgPRSwvgg7LfjKO9pyDCeJdUuDPbb8QOBkLZMCOOBsC/ODgHJkf62ThcG/rX1o5CC9dEL3iciQ2TvaVg6Ckp5XkSQd3yDek+bjVDYGukibUlF8Z6GuVAg2wrpwXWS6kqIzBLpi+QSJ8eJMEhXJJc46g3CEHSdkeZ+Tzg9XeciYxwUVVVoOkjuYWxXEeaIfMrVhXTIIaZQBP9lPYP34rQPvw9y0SVHt0hsG1STNEJ/uLHX0F2Hsk+xStOTO/QkxIU6QtUAUuRt9vO39WfR+ltzLoBQrYNn0L3zAdX5AHsZlQWSArUp7ScGYAF30Ixh3NWWnjoZuLv/YCwQV6i+h9MNEhSJuYT+7oZGlA0On0YYJCpSQ4Zq1ONGam5G7/D+bkeIOY3BASKFCNKH0A7IDa+WxcBAXvbg9EECd4oYJN7dUsBgEsmLwSSSF4NJJC8Gk0heDGSRBlkFSBWDSSAv7SWcky7XjonBFtgmJj4gfwA22iP9HlCCwAAAAABJRU5ErkJggg==";export{A as _}; diff --git a/h5/js/teamBill-BWXvrc1S-1776148658686.js b/h5/js/teamBill-BWXvrc1S-1776148658686.js deleted file mode 100644 index f41932f..0000000 --- a/h5/js/teamBill-BWXvrc1S-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{L as t,W as a}from"./index-CIAVq8iD-1776148658686.js";const n=async(r,e={})=>{try{const o=new URLSearchParams({id:r});return console.log("params",o),e.lastId&&o.append("lastId",e.lastId),await t(`/team/members?${o.toString()}`)}catch(o){throw console.error("Failed to fetch team members:",o),o}},m=async r=>{try{return await a("/team-member/client/removeMemberTeam",{ids:r})}catch(e){throw console.error("Failed to delete member:",e),e}},l=async r=>{try{return await t(`/team/release/policy?id=${r}`)}catch(e){throw console.error("Failed to fetch team release policy:",e),e}},i=async r=>{try{return await t(`/team/bill?id=${r}`)}catch(e){throw console.error("Failed to fetch team bill:",e),e}},d=async r=>{try{return await t(`/team/bill/work-members?id=${r}`)}catch(e){throw console.error("Failed to fetch team bill work members:",e),e}},p=async r=>{try{return await t(`/team/member-work?userId=${r}`)}catch(e){throw console.error("Failed to fetch team member work:",e),e}};function b(r,e){return t(`/team/user/apply/record?teamId=${r}&status=${e}`)}function h(r){return t(`/team/members/count?id=${r}`)}export{i as a,p as b,b as c,l as d,d as e,n as f,h as g,m as h}; diff --git a/h5/js/toast-aIWCznBB-1776148658686.js b/h5/js/toast-aIWCznBB-1776148658686.js deleted file mode 100644 index 43b0554..0000000 --- a/h5/js/toast-aIWCznBB-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as M,o as N,j as y,c as h,b as a,Q as d,t as m,v,r as g,S as c,aw as i,ax as O}from"./index-CIAVq8iD-1776148658686.js";const B={key:0,class:"modal-icon"},$={key:1,class:"modal-title"},A={class:"modal-message"},I={class:"modal-actions"},K={__name:"Toast",props:{title:{type:String,default:"Notice"},message:{type:String,required:!0},type:{type:String,default:"error",validator:s=>["error","warning","success","info","simple"].includes(s)},confirmText:{type:String,default:"OK"},clickToClose:{type:Boolean,default:!0},duration:{type:Number,default:null}},emits:["confirm","close"],setup(s,{expose:t,emit:e}){const o=s,n=e,l=g(!1),p=g(""),b=c(()=>o.type==="simple"),w=c(()=>{const f={error:"✕",warning:"⚠",success:"✓",info:"i"};return f[o.type]||f.error}),T=c(()=>`modal-${o.type}`),x=c(()=>`icon-circle-${o.type}`),_=c(()=>`icon-symbol-${o.type}`),k=c(()=>`modal-btn-${o.type}`),C=()=>{l.value=!0,p.value="modal-enter",o.duration&&o.duration>0&&setTimeout(()=>{u()},o.duration)},u=()=>{p.value="modal-leave",setTimeout(()=>{l.value=!1,n("close")},200)},S=()=>{n("confirm"),u()},E=()=>{o.clickToClose&&u()};return N(()=>{C()}),t({show:C,close:u}),(f,q)=>l.value?(y(),h("div",{key:0,class:"modal-overlay",onClick:E},[a("div",{class:d(["modal",[p.value,T.value]])},[b.value?v("",!0):(y(),h("div",B,[a("div",{class:d(["icon-circle",x.value])},[a("span",{class:d(["icon-symbol",_.value])},m(w.value),3)],2)])),s.title&&!b.value?(y(),h("div",$,m(s.title),1)):v("",!0),a("div",A,m(s.message),1),a("div",I,[a("button",{class:d(["modal-btn",k.value]),onClick:S},m(s.confirmText),3)])],2)])):v("",!0)}},V=M(K,[["__scopeId","data-v-b96bc318"]]);class j{constructor(){this.instances=[]}show(t,e={}){const o=document.createElement("div");document.body.appendChild(o);const n=O(V,{message:t,...e,onConfirm:()=>{e.onConfirm&&e.onConfirm(),this.cleanup(n,o)},onClose:()=>{e.onClose&&e.onClose(),this.cleanup(n,o)}});n.use(i);const l=n.mount(o);return this.instances.push(n),{close:()=>l.close(),instance:l}}cleanup(t,e){setTimeout(()=>{e&&e.parentNode&&e.parentNode.removeChild(e),t.unmount();const o=this.instances.indexOf(t);o>-1&&this.instances.splice(o,1)},100)}closeAll(){this.instances.forEach(t=>{const e=t._instance;e&&e.exposed&&e.exposed.close&&e.exposed.close()}),this.instances=[]}}const r=new j,D=(s,t=null)=>{const e=t||i.global.t("error");return r.show(s,{title:e,type:"error"})},Q=(s,t=null)=>{const e=t||i.global.t("information");return r.show(s,{title:e,type:"info"})},W=(s,t=null)=>{const e=t||i.global.t("success");return r.show(s,{title:e,type:"success"})},F=(s,t=null)=>{const e=t||i.global.t("warning");return r.show(s,{title:e,type:"warning"})},G=(s,t={})=>{const e={confirmText:i.global.t("ok")||"OK",type:"simple",...t};return r.show(s,e)};export{D as a,F as b,Q as c,G as d,W as s}; diff --git a/h5/js/userInfo-gLO2xl8i-1776148658686.js b/h5/js/userInfo-gLO2xl8i-1776148658686.js deleted file mode 100644 index fb9abee..0000000 --- a/h5/js/userInfo-gLO2xl8i-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -import{L as o}from"./index-CIAVq8iD-1776148658686.js";const t=async e=>{try{return await o(`/user/user-profile/open-search?account=${e}`)}catch(r){throw console.error("Failed to fetch search user:",r),console.error("error:"+r.response.errorMsg),r}},c=async e=>{try{return await o(`/order/web/pay/user-profile?sysOrigin=${e.sysOrigin}&account=${e.account}&type=${e.type}`)}catch(r){throw console.error("Failed to fetch search pay recharge user:",r),console.error("error:"+r.response.errorMsg),r}},n=async e=>{try{return await o(`/app/h5/recharge-page?cursor=${e.cursor}&limit=${e.limit}`)}catch(r){throw console.error("Failed to fetch get agency list:",r),console.error("error:"+r.response.errorMsg),r}},a=async e=>{try{return await o("/app/h5/recharge-summary")}catch(r){throw console.error("Failed to fetch get agency total recharge:",r),console.error("error:"+r.response.errorMsg),r}},g=async()=>{try{return await o("/user/freight-balance/page")}catch(e){throw console.error("Failed to fetch get Freight Agencys:",e),console.error("error:"+e.response.errorMsg),e}},h=async e=>{try{return await o(`/team/search-members?account=${e}`)}catch(r){throw console.error("Failed to fetch get team member:",r),console.error("error:"+r.response.errorMsg),r}};export{n as a,g as b,h as c,c as d,a as g,t as s}; diff --git a/h5/js/users-plus-BsDDiQEG-1776148658686.js b/h5/js/users-plus-BsDDiQEG-1776148658686.js deleted file mode 100644 index 9c237a1..0000000 --- a/h5/js/users-plus-BsDDiQEG-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -const A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAABBJJREFUeAHtnE920zAQxj/+HCBLluIElBNU3CCcIL4BZcmq4QTlBglLVnmcwLkB5QRxl6zSJbvieY5fIZUseSRFcpjfe/PaKPZneTKWxpJsQBAEQRAEQfDgBfIwa+1VaxeH/38fTPCEnPahtbq1fWsPBtsfvl+0phCObm1zsFia2aEIJCc9MGwFvhPmCTSzQhF5A54jj+3moDeGTQLNbKjWdojjzN52GBdZ6wSaWVCI70yOA/QIzQsUioLbmdTxfGmtQnfSvdHntcf+Y5yqEmieDGqPhipO3y08tSoPrbHtX5VAMylDHRBF5NjKzg772TRvMJ4UmklQsFdyiTCWA9rctm85oKlRAGvYIzMGtqiqwSeFZhQU0rdJQ+0z9xgpNKNQwVypBeJSWY5zBT5VAs1gapijMwWmMYDQSzSFZvQKrZAGU7u3RxjRNZ+Dzwzm9maLNNzCvw6hmgpMQhyqLOV3SENjKY/t0CDN0AgtAQU+95byLA5tUAb34KMQmRCH2k5EIQ3KUt6Azyy2ZqhDTU5NNRym4V8HX+YWzQaZMOWhoamMjR3i54wpNIO4Qt47pZDjVCjwTmmGvPfyCnxSaEahhrliscYXbWOtK/BJoRkN6oQeLHaNMK4HtBV4pNCMjmsknDNi75oFGItLs4jo7Cl9TknjRHNKzxAPha49VQPbNOgGT8jujvalpoOcPnPs/w5+eSLpVR6alHe+RTl3fv+gUMa8PG2399CkbVLdiERDQVaORMc1ZTvGONPQ6wSaRaDgFy0mq8G/HPWApsYZoNB1EHRCrvWhtI40RvRUB71NRE0nMXv5MfTTDPS3QfiokSAIgiAIgjAtUuah/TIZBT79DOR/maP6PC3HtdhP2RVNyNNyXFvhDB0b82k5rk3qibghFNINJI+1HcKilX6Qa5x4EOVvFMpxZm81+Gwiao3u5RXc80bUI39Ft/ayQTgUMfPWLh3H5WQs1P7/MJS/xgnmmGLObHKpLHXYgYeG+Vw0TkDsp+W4HE+vUEo1Bw+NTA5VsDtziTxodBEb8kNqZHLoGvbInDIaGRyqYG8zp54DakR2qM8KZm0pX0LmgZ7g49CFoaxBlxoJR7z02MY0N77FNFAYzl3fWMpd6wHoyrwFA9sK5QXKhupdI81dWW8bMPoQ22JajbK5QlpnWlNGVxs61V78EqfhSdMQ8pxSyfzEadhiJBrTvOTpynK9XSzUahiuYJ9efopQL/wej29/tEHfm55WoTZ4KMobWEajztWhPazUBp0zt2Bwrm1oNsShkXE5VO7VR+JyaIOnTqUybtt09vhE6Ec89mj0+TMkcoOh1MOVgkwRjWnm2cWiYHaoa7RJGIDueI5Hkdjkeo99SXxv7Re69+h/a+0T5J36giAIWfgDueLTIpvfUXwAAAAASUVORK5CYII=";export{A as _}; diff --git a/h5/js/utcFormat-Cl3Lb3s0-1776148658686.js b/h5/js/utcFormat-Cl3Lb3s0-1776148658686.js deleted file mode 100644 index 1a6c447..0000000 --- a/h5/js/utcFormat-Cl3Lb3s0-1776148658686.js +++ /dev/null @@ -1 +0,0 @@ -const p=(r,s={})=>{const{showSeconds:t=!0,showUTC:o=!0,dateSeparator:n="-",timeSeparator:a=":",dateTimeSeparator:i=" "}=s;if(!r)return"Unknown time";const e=new Date(r);if(isNaN(e.getTime()))return"Invalid time";const c=e.getUTCFullYear(),g=String(e.getUTCMonth()+1).padStart(2,"0"),T=String(e.getUTCDate()).padStart(2,"0"),u=String(e.getUTCHours()).padStart(2,"0"),C=String(e.getUTCMinutes()).padStart(2,"0"),U=String(e.getUTCSeconds()).padStart(2,"0"),m=`${c}${n}${g}${n}${T}`;let S=`${u}${a}${C}`;t&&(S+=`${a}${U}`);let d=`${m}${i}${S}`;return o&&(d+=" UTC"),d},l=r=>p(r,{showUTC:!1}),$=(r,s="YYYY-MM-DD HH:mm:ss")=>{if(!r)return"Unknown time";const t=new Date(r);if(isNaN(t.getTime()))return"Invalid time";const o=t.getUTCFullYear(),n=String(t.getUTCMonth()+1).padStart(2,"0"),a=String(t.getUTCDate()).padStart(2,"0"),i=String(t.getUTCHours()).padStart(2,"0"),e=String(t.getUTCMinutes()).padStart(2,"0"),c=String(t.getUTCSeconds()).padStart(2,"0");return s.replace("YYYY",o).replace("MM",n).replace("DD",a).replace("HH",i).replace("mm",e).replace("ss",c)};export{l as a,$ as f}; diff --git a/h5/privacy.html b/h5/privacy.html deleted file mode 100644 index 119388e..0000000 --- a/h5/privacy.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - Privacy Policy | Yumi - - - - -Privacy Policy
-Effective date: 2026-04-13
-Contact: gurbhakotonline03@gmail.com / +85247410298
- -This Privacy Policy explains how Yumi collects, uses, stores, shares, and protects information when users access the Yumi mobile application, websites, H5 pages, and related services.
- -1. Data Controller
-Yumi is responsible for handling personal information covered by this policy.
For privacy questions, deletion requests, or complaints, contact: gurbhakotonline03@gmail.com or call +85247410298.
- -2. Scope of This Policy
-This policy applies to the Yumi mobile application, the official website at www.haiyihy.com, H5 pages at h5.haiyihy.com, customer support interactions, and other related online services operated under the Yumi brand.
- -3. Information We Collect
-Depending on how a user interacts with Yumi, we may collect the following categories of information:
-- Account information, such as nickname, profile photo, login identifier, country or region, and account preferences.
- User-generated content, such as room names, room profile information, chat content, posts, reports, profile text, and uploaded media.
- Voice-room interaction data, including room participation, microphone state, room role, room settings, gift activity, and room engagement logs.
- Device and technical data, such as device model, operating system version, app version, network type, device identifiers, crash logs, and diagnostic data.
- Transaction and billing data related to in-app purchases, order status, recharge behavior, wallet history, and fraud-prevention checks.
- Support and risk data, such as user reports, abuse complaints, moderation decisions, and customer service records.
- Website usage data, including standard log data and limited browser information when users visit our public web pages.
- -4. How We Use Information
-- Provide account registration, login, room participation, chat, and social features.
- Maintain platform integrity, trust, anti-abuse workflows, and fraud prevention.
- Process purchases, virtual items, recharge flows, and related financial support operations.
- Operate events, rankings, invitations, host programs, and agency-related H5 campaigns.
- Improve product performance through analytics, diagnostics, and crash resolution.
- Respond to support requests, complaints, legal notices, and data-rights requests.
- Comply with applicable laws, lawful requests, and platform obligations.
- -5. Legal Bases
-Where applicable, we process personal information because it is necessary to provide requested services, to comply with legal obligations, to protect the platform and users, or based on legitimate business interests such as product operations, analytics, and service improvement.
When consent is required by law for a specific processing activity, we will rely on that consent.
- -6. How Information May Be Shared
-We do not sell personal information. We may share information only as reasonably necessary in the following cases:
-- With infrastructure, cloud, analytics, messaging, payment, customer-service, or fraud-prevention vendors that help us operate Yumi.
- With app-store or platform providers when required to support purchases, app review, crash handling, or policy compliance.
- With professional advisers, auditors, insurers, or legal representatives where reasonably necessary.
- When required by law, regulation, subpoena, court order, or lawful government request.
- As part of a corporate transaction such as a merger, restructuring, or asset transfer, subject to applicable safeguards.
- -7. International Transfers
-Yumi may use systems, vendors, and support workflows that operate across different jurisdictions. Where personal information is transferred internationally, we take reasonable steps to apply appropriate contractual, technical, and organizational safeguards.
- -8. Data Retention
-We retain personal information for as long as necessary to provide services, fulfill account functions, maintain business records, resolve disputes, prevent abuse, enforce agreements, or comply with legal obligations.
Retention periods may vary depending on the type of data, the sensitivity of the data, and the operational or legal reason for retaining it.
- -9. Security
-We use reasonable administrative, technical, and organizational measures to protect information against unauthorized access, misuse, alteration, disclosure, or destruction. However, no method of transmission or storage can be guaranteed to be completely secure.
- -10. Your Rights and Choices
-Subject to applicable law, users may request access, correction, deletion, restriction, objection, portability, or withdrawal of consent for certain data-processing activities.
-- You may review and update some profile information directly inside the app.
- You may request account deletion or data deletion by contacting gurbhakotonline03@gmail.com.
- We may need to verify identity before responding to certain requests.
- -11. Children's Privacy
-Yumi is not intended for children who are below the minimum age permitted under applicable law in the relevant market. If you believe a child has provided personal information to Yumi inappropriately, please contact gurbhakotonline03@gmail.com.
- -12. Third-Party Services
-Yumi may integrate third-party services for login, messaging, analytics, purchases, or social sharing. Their data practices are governed by their own terms and privacy notices.
- -13. Policy Updates
-We may update this Privacy Policy from time to time. The updated version will be posted on this page with a revised effective date.
- - diff --git a/h5/ranking/index.html b/h5/ranking/index.html deleted file mode 100644 index f6e9ca4..0000000 --- a/h5/ranking/index.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - -Yumi H5 - - - - - - - - - - diff --git a/h5/service.html b/h5/service.html deleted file mode 100644 index 6171fec..0000000 --- a/h5/service.html +++ /dev/null @@ -1,521 +0,0 @@ - - - - - -Terms of Service - Yumi Party - - - - -- Back to Home -- - diff --git a/h5/terms.html b/h5/terms.html deleted file mode 100644 index 004e842..0000000 --- a/h5/terms.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - -Terms of Service
-Last Updated: April 3, 2026
- -1Special Notices
- -- 1.1 These Terms of Service (the "Terms") govern your - use of our services, including the Yumi Party, an - integrated instant voice communication and social networking application - developed by us. You (referred to as "User") are one party to these - Terms, and the other party is Yumi Party ("we," "us," or "Yumi Party"). - Collectively, you and Yumi Party are referred to as the "Parties," and - individually as a "Party." -
- -- 1.2 By using our Services, you agree to be bound by - these Terms, along with any additional guidelines or rules posted on or - made available through the Services, including those applicable to - specific features or functionalities. -
- -- 1.3 Age Requirement: You must be at least 18 years of - age, or the age of majority in your jurisdiction, to use our Services. - If you are under the age of 18 or do not meet the legal age requirement - in your country, you may only use the Services with the express consent - and supervision of your parent or legal guardian. -- -- 1.4 Account Responsibility: You are solely responsible - for safeguarding your Yumi Party account and password. All activities - conducted through your account will be deemed your own, and you assume - full responsibility for such actions. -
- -2Account
- -- To access certain features of our Services, you must create an account. - When registering, you agree to provide accurate, current, and complete - information. You are solely responsible for maintaining the - confidentiality of your account credentials, restricting access to your - device, and for all activities that occur under your account. -
- -- You may be permitted to register or log in via third-party services. Any - information collected, used, or disclosed through such third-party - services is governed by their respective privacy policies, not by Yumi Party. -
- -- Account Deletion: If you wish to permanently delete - your account, you may do so by navigating to: - Me > Settings > Account > Delete Account. -
-- Please note that account deletion is irreversible. Once deleted, you - will not be able to reactivate your account or retrieve any content or - information associated with it. -
- -3Use of the Services
- -- Your access to and use of the Services must comply with these Terms and - all applicable laws and regulations. You agree not to: -
- --
- -- - (a) Create, upload, transmit, distribute, or store - any content that is unlawful, defamatory, obscene, pornographic, - invasive of privacy, harassing, threatening, abusive, or otherwise - objectionable -
- -- - (b) Impersonate any person or entity, falsely claim - affiliation, or access another user's account without permission -
- -- - (c) Harass, abuse, threaten, defraud, or collect - personal information about users or third parties without consent -
- -- - (d) Remove, circumvent, disable, or interfere with - security-related features of the Services -
- -- - (e) Reverse engineer, decompile, disassemble, or - attempt to derive the source code of the Services -
- -- - (f) Modify, adapt, translate, or create derivative - works based on the Services -
- -- - (g) Interfere with or damage the Services by - uploading viruses, malware, or other harmful code -
- -- - (h) Disguise the origin of any content transmitted - through the Services -
- -- - (i) Disrupt or interfere with the Services or - networks connected to them -
- -- - (j) Attempt to circumvent any content-filtering - mechanisms -
- -- - (k) Use the Services for any illegal purpose or in - violation of any applicable laws -
-- Disclaimer: Yumi Party assumes no responsibility or - liability for any User Content or any loss or damage resulting - therefrom. Your use of the Services is solely at your own risk. -- -4Virtual Items
- -- Only users aged 18 or older (or the age of majority in their - jurisdiction) may purchase virtual coins ("Coins") and - virtual gifts ("Gifts"), send Gifts to others, receive - Gifts with monetary value, or earn Coins. -
- -- Coin prices will be displayed at the point of purchase. All charges and - payments will be processed in the currency specified during checkout - through the selected payment method. -
- -- Important: Except as expressly provided in these Terms, - all purchases of Coins and Gifts are final. We do not offer refunds for - any top-ups or purchased virtual items. -
- -5Intellectual Property Rights
- -- All data, images, text, audio, graphics, video, and other materials - provided through the Services are the property of Yumi Party and are - protected by copyright, trademark, and other intellectual property laws. -
- -- By uploading or submitting any content through Yumi Party Services, you grant - Yumi Party and its sublicensees a perpetual, irrevocable, worldwide, - non-exclusive, royalty-free, sublicensable license to use, reproduce, - modify, adapt, publish, translate, distribute, perform, and display such - content. -
- -6Disclaimers
- -- You acknowledge and agree that your use of Yumi Party Services is at your own - risk. Yumi Party does not guarantee that the Services will meet your - requirements or be uninterrupted, timely, or error-free. The Services - are provided on an "as is" and "as available" basis. -
- -- Yumi Party shall not be liable for any interruption or deficiency in the - Services caused by force majeure or circumstances beyond its reasonable - control. -
- -7Indemnification
- -- You agree to indemnify and hold harmless Yumi Party and its affiliates from - and against any losses, damages, liabilities, or expenses arising from: -
--
- -- (i) Your use of the Services
-- (ii) Your violation of these Terms
-- - (iii) Any infringement of third-party rights caused - by your actions -
-8Changes to the Terms
- -- We may update these Terms periodically to reflect changes in our - Services, legal requirements, or operational practices. While we will - make reasonable efforts to notify users of material changes, you are - encouraged to review these Terms regularly. -
- -- Your continued use of the Services after any updates constitutes your - acceptance of the revised Terms. If you do not agree to the updated - Terms, you must cease using the Services. -
- -9About Us
- -Yumi Party is available for download on Google Play.
- -- For any questions regarding these Terms or the Yumi Party Services, please - contact us at: - postmaster@haiyinet.com.cn. -
-Terms of Service | Yumi - - - - - - - -- - - -- - - - - - - - diff --git a/www/assets/site.css b/www/assets/site.css deleted file mode 100644 index 46c4e80..0000000 --- a/www/assets/site.css +++ /dev/null @@ -1,757 +0,0 @@ -:root { - --bg: oklch(0.98 0.01 95); - --bg-soft: oklch(0.95 0.02 95); - --surface: rgba(255, 255, 255, 0.88); - --surface-strong: rgba(255, 255, 255, 0.96); - --line: rgba(83, 64, 40, 0.12); - --text: oklch(0.27 0.03 60); - --text-soft: oklch(0.49 0.03 60); - --accent: oklch(0.67 0.16 40); - --accent-soft: color-mix(in oklab, var(--accent) 14%, white); - --accent-strong: color-mix(in oklab, var(--accent) 80%, black); - --shadow: 0 28px 72px rgba(66, 43, 24, 0.12); - --radius-xl: 32px; - --radius-lg: 24px; - --radius-md: 18px; - --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif; - --font-body: "Avenir Next", "Segoe UI", "PingFang SC", "Helvetica Neue", sans-serif; -} - -* { - box-sizing: border-box; -} - -html { - scroll-behavior: smooth; -} - -body { - margin: 0; - min-height: 100vh; - color: var(--text); - font-family: var(--font-body); - background: - radial-gradient(circle at top left, color-mix(in oklab, var(--accent) 12%, transparent) 0, transparent 34rem), - radial-gradient(circle at bottom right, color-mix(in oklab, var(--accent) 10%, transparent) 0, transparent 28rem), - linear-gradient(180deg, var(--bg) 0%, oklch(0.965 0.01 95) 100%); -} - -body.corp-body { - background: #070c12; - color: #f3f6fb; -} - -body[data-theme='sapphire'] { --accent: oklch(0.6 0.15 246); } -body[data-theme='forest'] { --accent: oklch(0.62 0.14 155); } -body[data-theme='ink'] { --accent: oklch(0.46 0.04 254); } -body[data-theme='gold'] { --accent: oklch(0.77 0.15 85); } -body[data-theme='steel'] { --accent: oklch(0.58 0.04 250); } -body[data-theme='violet'] { --accent: oklch(0.62 0.18 314); } -body[data-theme='berry'] { --accent: oklch(0.61 0.2 355); } -body[data-theme='rose'] { --accent: oklch(0.69 0.17 18); } -body[data-theme='teal'] { --accent: oklch(0.66 0.13 200); } -body[data-theme='mint'] { --accent: oklch(0.75 0.13 160); } -body[data-theme='ember'] { --accent: oklch(0.68 0.18 35); } - -a { - color: inherit; -} - -img { - max-width: 100%; - display: block; -} - -.shell { - width: min(1180px, calc(100% - 32px)); - margin: 0 auto; -} - -.site-header { - position: sticky; - top: 0; - z-index: 10; - backdrop-filter: blur(18px); - background: rgba(250, 248, 243, 0.72); - border-bottom: 1px solid rgba(83, 64, 40, 0.08); -} - -.site-header__inner { - display: flex; - align-items: center; - justify-content: space-between; - gap: 16px; - min-height: 74px; -} - -.brand { - display: inline-flex; - align-items: center; - gap: 12px; - text-decoration: none; -} - -.brand__mark { - width: 42px; - height: 42px; - border-radius: 14px; - background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 74%, white) 0%, color-mix(in oklab, var(--accent) 48%, black) 100%); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 12px 28px color-mix(in oklab, var(--accent) 26%, transparent); -} - -.brand__text { - display: grid; - gap: 2px; -} - -.brand__name { - font-family: var(--font-display); - font-size: 1.15rem; - font-weight: 700; -} - -.brand__sub { - color: var(--text-soft); - font-size: 0.88rem; -} - -.header-links { - display: flex; - align-items: center; - gap: 12px; - flex-wrap: wrap; -} - -.header-links a { - color: var(--text-soft); - text-decoration: none; - font-size: 0.94rem; -} - -.header-pill { - display: inline-flex; - align-items: center; - gap: 8px; - padding: 11px 15px; - border-radius: 999px; - background: color-mix(in oklab, var(--accent) 9%, white); - color: var(--accent-strong); - text-decoration: none; - font-weight: 600; -} - -.hero { - padding: clamp(52px, 8vw, 92px) 0 48px; -} - -.hero-grid { - display: grid; - grid-template-columns: 1.2fr 0.8fr; - gap: clamp(24px, 4vw, 48px); - align-items: start; -} - -.eyebrow { - display: inline-flex; - align-items: center; - gap: 10px; - padding: 10px 14px; - border-radius: 999px; - background: color-mix(in oklab, var(--accent) 9%, white); - color: var(--accent-strong); - font-size: 0.85rem; - letter-spacing: 0.08em; - text-transform: uppercase; -} - -.hero h1, -.section-title, -.legal-title, -.landing-title { - margin: 18px 0 0; - font-family: var(--font-display); - font-size: clamp(2.8rem, 6vw, 5.6rem); - line-height: 0.94; - letter-spacing: -0.03em; -} - -.hero p.lead, -.landing-lead, -.legal-summary { - margin: 18px 0 0; - max-width: 62ch; - font-size: clamp(1.03rem, 1.5vw, 1.22rem); - line-height: 1.8; - color: var(--text-soft); -} - -.actions { - display: flex; - flex-wrap: wrap; - gap: 14px; - margin-top: 30px; -} - -.button, -.button-secondary { - display: inline-flex; - align-items: center; - justify-content: center; - min-height: 52px; - padding: 0 22px; - border-radius: 999px; - font-weight: 700; - text-decoration: none; - transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; -} - -.button { - background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 85%, white), color-mix(in oklab, var(--accent) 50%, black)); - color: white; - box-shadow: 0 18px 42px color-mix(in oklab, var(--accent) 22%, transparent); -} - -.button-secondary { - background: rgba(255, 255, 255, 0.64); - color: var(--text); - border: 1px solid rgba(83, 64, 40, 0.1); -} - -.button:hover, -.button-secondary:hover, -.header-pill:hover { - transform: translateY(-1px); -} - -.glass-panel { - border-radius: var(--radius-xl); - padding: 26px; - background: linear-gradient(180deg, var(--surface-strong), var(--surface)); - border: 1px solid rgba(83, 64, 40, 0.08); - box-shadow: var(--shadow); -} - -.hero-card { - display: grid; - gap: 18px; -} - -.metric-grid, -.card-grid, -.audience-grid, -.link-grid, -.landing-grid { - display: grid; - gap: 18px; -} - -.metric-grid { - grid-template-columns: repeat(3, minmax(0, 1fr)); - margin-top: 34px; -} - -.metric { - padding: 18px 20px; - border-radius: var(--radius-md); - background: rgba(255, 255, 255, 0.55); - border: 1px solid rgba(83, 64, 40, 0.08); -} - -.metric strong { - display: block; - font-size: 1.25rem; - font-family: var(--font-display); -} - -.metric span { - display: block; - margin-top: 6px; - color: var(--text-soft); - line-height: 1.6; - font-size: 0.94rem; -} - -.section { - padding: 34px 0 26px; -} - -.section-head { - display: flex; - align-items: end; - justify-content: space-between; - gap: 18px; - margin-bottom: 22px; -} - -.section-kicker { - margin: 0; - color: var(--text-soft); - line-height: 1.7; - max-width: 50ch; -} - -.card-grid { - grid-template-columns: repeat(3, minmax(0, 1fr)); -} - -.audience-grid { - grid-template-columns: repeat(3, minmax(0, 1fr)); -} - -.landing-grid { - grid-template-columns: repeat(2, minmax(0, 1fr)); -} - -.card, -.link-card, -.section-card { - border-radius: var(--radius-lg); - padding: 22px; - background: rgba(255, 255, 255, 0.66); - border: 1px solid rgba(83, 64, 40, 0.08); - box-shadow: 0 12px 32px rgba(89, 62, 33, 0.06); -} - -.card small, -.section-card small { - display: inline-block; - color: var(--accent-strong); - letter-spacing: 0.08em; - text-transform: uppercase; - font-size: 0.78rem; - margin-bottom: 12px; -} - -.card h3, -.link-card h3, -.section-card h3, -.faq-item h3 { - margin: 0; - font-size: 1.18rem; -} - -.card p, -.link-card p, -.section-card p, -.faq-item p, -.site-footer p, -.legal-block p, -.legal-block li { - color: var(--text-soft); - line-height: 1.78; -} - -.link-grid { - grid-template-columns: repeat(4, minmax(0, 1fr)); -} - -.link-card { - text-decoration: none; -} - -.link-card span { - color: var(--accent-strong); - font-weight: 700; -} - -.faq-grid { - display: grid; - gap: 14px; -} - -.faq-item { - padding: 20px 22px; - border-radius: var(--radius-lg); - background: rgba(255, 255, 255, 0.62); - border: 1px solid rgba(83, 64, 40, 0.08); -} - -.site-footer { - padding: 38px 0 70px; -} - -.corp-home { - min-height: 100vh; - background: #05080d; -} - -.corp-header { - position: absolute; - inset: 0 0 auto 0; - z-index: 20; - background: rgba(0, 0, 0, 0.9); - border-bottom: 1px solid rgba(255, 255, 255, 0.08); -} - -.corp-header__inner { - display: flex; - align-items: center; - justify-content: space-between; - gap: 24px; - min-height: 78px; -} - -.corp-brand { - display: inline-flex; - align-items: center; - gap: 14px; - color: #fff; - text-decoration: none; -} - -.corp-brand__mark { - width: 40px; - height: 40px; - border-radius: 12px; - background: - linear-gradient(135deg, #1742ff 0 34%, transparent 34% 44%, #00b8ff 44% 68%, transparent 68% 78%, #ff9e2d 78% 100%); - box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); -} - -.corp-brand__text { - display: grid; - gap: 2px; -} - -.corp-brand__text strong { - font-size: 1.18rem; - letter-spacing: 0.02em; -} - -.corp-brand__text span { - color: rgba(255, 255, 255, 0.58); - font-size: 0.78rem; - letter-spacing: 0.08em; - text-transform: uppercase; -} - -.corp-nav { - display: flex; - align-items: center; - gap: clamp(14px, 2vw, 34px); - flex-wrap: wrap; -} - -.corp-nav a { - color: rgba(255, 255, 255, 0.86); - text-decoration: none; - text-transform: uppercase; - letter-spacing: 0.08em; - font-size: 0.82rem; -} - -.corp-main { - min-height: 100vh; -} - -.corp-hero { - position: relative; - min-height: 100vh; - display: flex; - align-items: center; - overflow: hidden; - background: - linear-gradient(180deg, rgba(5, 8, 13, 0.18) 0%, rgba(5, 8, 13, 0.76) 100%), - linear-gradient(135deg, rgba(12, 18, 28, 0.88) 0%, rgba(3, 7, 14, 0.72) 100%); -} - -.corp-hero__image, -.corp-hero__overlay { - position: absolute; - inset: 0; -} - -.corp-hero__image { - background: - linear-gradient(180deg, rgba(4, 8, 14, 0.24), rgba(4, 8, 14, 0.58)), - radial-gradient(circle at 16% 22%, rgba(39, 83, 132, 0.3), transparent 24rem), - radial-gradient(circle at 82% 20%, rgba(32, 130, 182, 0.24), transparent 20rem), - url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat; - transform: scale(1.02); - filter: saturate(0.78) brightness(0.72); -} - -.corp-hero__overlay { - background: - linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.32)), - linear-gradient(90deg, rgba(7, 10, 15, 0.7), rgba(7, 10, 15, 0.18) 36%, rgba(7, 10, 15, 0.54)); -} - -.corp-hero__content { - position: relative; - z-index: 2; - display: grid; - place-items: center; - padding: 150px 0 110px; - text-align: center; -} - -.corp-hero__eyebrow { - color: rgba(255, 255, 255, 0.75); - letter-spacing: 0.18em; - text-transform: uppercase; - font-size: 0.84rem; -} - -.corp-hero__title { - margin: 18px 0 0; - max-width: 12ch; - color: #fff; - font-family: "SF Pro Display", "Avenir Next", "Helvetica Neue", sans-serif; - font-weight: 500; - font-size: clamp(3.8rem, 8vw, 6.9rem); - line-height: 1.14; - letter-spacing: -0.03em; -} - -.corp-hero__summary { - margin: 26px 0 0; - max-width: 70ch; - color: rgba(255, 255, 255, 0.8); - font-size: clamp(1rem, 1.5vw, 1.14rem); - line-height: 1.9; -} - -.corp-strip { - position: relative; - z-index: 3; - margin-top: -1px; - background: #06090f; - border-top: 1px solid rgba(255, 255, 255, 0.08); -} - -.corp-strip__grid { - display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); - gap: 0; -} - -.corp-strip__item { - padding: 34px 28px 38px; - border-right: 1px solid rgba(255, 255, 255, 0.08); -} - -.corp-strip__item:last-child { - border-right: none; -} - -.corp-strip__item small { - display: inline-block; - margin-bottom: 14px; - color: rgba(255, 255, 255, 0.46); - letter-spacing: 0.12em; - text-transform: uppercase; - font-size: 0.76rem; -} - -.corp-strip__item h2 { - margin: 0 0 14px; - color: #fff; - font-size: 1.26rem; - font-weight: 600; - line-height: 1.5; -} - -.corp-strip__item p, -.corp-strip__item a { - margin: 0 0 10px; - color: rgba(255, 255, 255, 0.74); - text-decoration: none; - line-height: 1.8; -} - -.footer-grid { - display: grid; - grid-template-columns: 1.1fr 0.9fr; - gap: 24px; - padding: 28px; - border-radius: var(--radius-xl); - background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.7)); - border: 1px solid rgba(83, 64, 40, 0.08); -} - -.footer-links { - display: flex; - flex-wrap: wrap; - gap: 12px 18px; -} - -.footer-links a { - color: var(--text-soft); - text-decoration: none; -} - -.legal-shell, -.landing-shell, -.studio-shell { - padding: clamp(38px, 7vw, 78px) 0 72px; -} - -.legal-meta, -.landing-meta { - display: flex; - flex-wrap: wrap; - gap: 10px; - margin-top: 20px; -} - -.meta-chip { - padding: 10px 14px; - border-radius: 999px; - background: rgba(255, 255, 255, 0.68); - border: 1px solid rgba(83, 64, 40, 0.08); - color: var(--text-soft); -} - -.legal-stack, -.landing-stack { - display: grid; - gap: 18px; - margin-top: 30px; -} - -.legal-block ul, -.section-card ul { - margin: 12px 0 0; - padding-left: 20px; -} - -.legal-block li, -.section-card li { - margin: 8px 0; -} - -.landing-banner { - margin-top: 28px; - padding: 24px; - border-radius: var(--radius-xl); - background: - linear-gradient(135deg, color-mix(in oklab, var(--accent) 14%, white), rgba(255, 255, 255, 0.72)), - radial-gradient(circle at top right, color-mix(in oklab, var(--accent) 30%, transparent), transparent 14rem); - border: 1px solid rgba(83, 64, 40, 0.08); -} - -.landing-banner p { - margin: 0; - color: var(--accent-strong); - font-size: 1.02rem; - line-height: 1.72; -} - -.studio-toolbar { - display: flex; - flex-wrap: wrap; - gap: 14px; - justify-content: space-between; - align-items: center; - margin-top: 24px; -} - -.studio-note { - padding: 18px 20px; - border-radius: var(--radius-lg); - background: rgba(255, 255, 255, 0.68); - border: 1px solid rgba(83, 64, 40, 0.08); - color: var(--text-soft); -} - -.code-block { - margin-top: 14px; - padding: 16px; - border-radius: 20px; - background: oklch(0.18 0.02 250); - color: oklch(0.95 0.01 250); - overflow: auto; - font-size: 0.88rem; - line-height: 1.6; -} - -@media (max-width: 980px) { - .hero-grid, - .footer-grid, - .landing-grid, - .card-grid, - .audience-grid, - .link-grid { - grid-template-columns: 1fr; - } - - .metric-grid { - grid-template-columns: 1fr; - } - - .section-head { - align-items: start; - flex-direction: column; - } - - .corp-header__inner, - .corp-strip__grid { - grid-template-columns: 1fr; - } - - .corp-header__inner { - flex-direction: column; - align-items: start; - padding: 14px 0; - } - - .corp-strip__item { - border-right: none; - border-bottom: 1px solid rgba(255, 255, 255, 0.08); - } - - .corp-strip__item:last-child { - border-bottom: none; - } -} - -@media (max-width: 640px) { - .shell { - width: min(100% - 22px, 1180px); - } - - .site-header__inner { - min-height: 66px; - } - - .hero h1, - .section-title, - .legal-title, - .landing-title { - font-size: clamp(2.3rem, 12vw, 3.5rem); - } - - .glass-panel, - .card, - .link-card, - .section-card, - .faq-item, - .footer-grid, - .landing-banner { - padding: 18px; - border-radius: 22px; - } - - .corp-nav { - gap: 10px 16px; - } - - .corp-nav a { - font-size: 0.74rem; - } - - .corp-hero__content { - padding: 140px 0 84px; - } - - .corp-hero__title { - max-width: 10ch; - font-size: clamp(2.9rem, 13vw, 4.6rem); - } - - .corp-hero__summary { - max-width: 34ch; - line-height: 1.75; - } -} diff --git a/www/child-safety/index.html b/www/child-safety/index.html deleted file mode 100644 index db26d2c..0000000 --- a/www/child-safety/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - -Service terms-Terms of Service
-These Terms of Service govern access to and use of the Yumi app, website, H5 pages, and related services.
- -- --- - -1. Acceptance of Terms
-By accessing or using Yumi, you agree to comply with these Terms of Service and all applicable laws.
- -- - -2. Eligibility
-You must be legally permitted to use the service in your jurisdiction and satisfy the minimum age requirement applicable to your market.
- -- - -3. Account Responsibilities
- --
- You are responsible for activity under your account.
- You must provide accurate information where required.
- You must not use Yumi for unlawful, abusive, fraudulent, or platform-disruptive behavior.
- - -4. User Content and Room Activity
-You retain responsibility for content you upload, publish, stream, or otherwise make available through Yumi, including room details, text, images, chat content, and other materials.
You must have the right to share the content you upload and the right to participate in or operate the room activity you initiate.
- -- - -5. Purchases and Virtual Items
-Certain services may involve paid content, subscriptions, in-app purchases, or virtual items. Additional purchase terms may apply through the relevant app-store provider.
Except where required by law or expressly stated otherwise, virtual items and in-app balances are non-transferable and non-refundable.
- -- - -6. Moderation and Enforcement
-We may suspend, restrict, remove, or terminate access to content, rooms, accounts, campaigns, or features where reasonably necessary to protect the platform, respond to abuse, or comply with legal or platform requirements.
- -- - -7. Service Availability
-We may modify, suspend, or discontinue any part of Yumi at any time. We do not guarantee that the service will always be uninterrupted or error-free.
- -- - -8. Intellectual Property
-All platform branding, software, design, trademarks, operational materials, and related content remain the property of Yumi or its licensors unless otherwise stated.
- -- - -9. Disclaimer
-To the maximum extent allowed by law, Yumi is provided on an as-available basis without warranties of any kind, whether express or implied.
- -- - -10. Contact
-For service questions or legal notices, contact postmaster@haiyinet.com.cn or call +85256283162.
- -Child Safety Standards Redirect - - - - -Redirecting to https://h5.haiyihy.com/child-safety.html...
- - - diff --git a/www/delete-account/index.html b/www/delete-account/index.html deleted file mode 100644 index d743c5d..0000000 --- a/www/delete-account/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - -Delete Account Redirect - - - - -Redirecting to https://h5.haiyihy.com/delete-account.html...
- - - diff --git a/www/index.html b/www/index.html deleted file mode 100644 index 4c9b2ba..0000000 --- a/www/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - -Yumi | Official Website - - - - - - --- - - - diff --git a/www/privacy/index.html b/www/privacy/index.html deleted file mode 100644 index ca82cde..0000000 --- a/www/privacy/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - -- - - -- -- - - - ---Internet technology and information services-To Build Trusted Digital Interaction Worldwide
-Global Interactive Technology Co., Limited provides internet technology and information services for live social products, official web presence, and digital campaign delivery.
-- ---- About us - -Global Interactive Technology Co., Limited
-環球互動科技有限公司
-中国香港环球大厦A01
-- Official pages - - - - - - -- Contact - - - -https://www.haiyihy.com
-Privacy Policy Redirect - - - - -Redirecting to https://h5.haiyihy.com/privacy.html...
- - - diff --git a/www/robots.txt b/www/robots.txt deleted file mode 100644 index c2a49f4..0000000 --- a/www/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Allow: / diff --git a/www/sitemap.xml b/www/sitemap.xml deleted file mode 100644 index 3d2facf..0000000 --- a/www/sitemap.xml +++ /dev/null @@ -1,21 +0,0 @@ - -- diff --git a/www/terms/index.html b/www/terms/index.html deleted file mode 100644 index 1cf5d3f..0000000 --- a/www/terms/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - -- https://www.haiyihy.com/ - https://h5.haiyihy.com/ - https://h5.haiyihy.com/privacy.html - https://h5.haiyihy.com/terms.html - https://h5.haiyihy.com/delete-account.html - https://h5.haiyihy.com/child-safety.html - https://h5.haiyihy.com/admin-center/ - https://h5.haiyihy.com/agency-center/ - https://h5.haiyihy.com/apply/ - https://h5.haiyihy.com/bd-center/ - https://h5.haiyihy.com/bd-leader-center/ - https://h5.haiyihy.com/coin-seller/ - https://h5.haiyihy.com/games-king/ - https://h5.haiyihy.com/host-center/ - https://h5.haiyihy.com/invite-new-user/ - https://h5.haiyihy.com/rankings-charm/ - https://h5.haiyihy.com/rankings-rooms/ - https://h5.haiyihy.com/rankings-wealth/ Terms of Service Redirect - - - - -Redirecting to https://h5.haiyihy.com/terms.html...
- - -