import{b7 as M,b$ as z,t as W,a as O,Z as P,as as R,m as h,O as F,z as H,bM as X,bN as y,bW as Y,c as k,aY as s,aT as n,a$ as d,bg as x,bh as Z,bc as u,ba as t,b9 as S,b0 as i,b_ as j,aX as q}from"./index-xnhGKCfe.js";import{G as J}from"./guestTabs-CSCqrApc.js";import{u as K}from"./useHomeBasic-t3qfyrNL.js";const Q={class:"app-tabber bottom_mix_style"},ee={class:"items"},ae=["id","onClick"],te=["src"],se={key:0,class:"turn"},ne={key:0,class:"tips"},oe=M({__name:"007",props:{tabs:{default:()=>[{name:"home",text:"t44"},{name:"activity",text:"t813"},{name:"turntable",text:"t719",img:"turntable_home"},{name:"promotion",text:"t720"},{name:"main",text:"t1006"}]},isShowAmount:{type:Boolean,default:!1}},setup(m){var v;z(e=>({ab7ac85e:t(G)}));const{userUnreadInmailCount:b,userUnGrandMsgCount:B,getUserInfo:C}=H(),{activityCount:_}=K(),g=m,p=W(),{getImgVal:T}=h(),{currencySign:l,getToken:I}=O(),{giftpackInfo:w}=P(),o=R(),{getBackgroundImgVal:A}=h(),G=A("barBg"),r=(v=g.tabs[2])==null?void 0:v.name,N=new Set(g.tabs.map(e=>e.name)),U=k(()=>N.has(o.name)),V=k(()=>{var c;return`Get ${l.value&&l.value!=="undefined"?l.value:""}${((c=w.value)==null?void 0:c.invitedWheelTotalPrizeAmount)??0}`});function $(e){const c=o.name===e.name&&e.name!==r;return T(c?e.img||`${e.name}_a`:e.img||e.name)}const D=e=>e==="MENU"?"bellow":"menu";function E(e){if(!J.has(e)&&!I()){p.push({name:"Login"});return}p.push({name:e})}return F(()=>{C(!0)}),(e,c)=>{const L=X("sound");return y((n(),s("div",Q,[d("div",ee,[(n(!0),s(x,null,Z(m.tabs,(a,f)=>y((n(),s("div",{key:f,id:a.name,class:u(["app-tabber-item",{play:a.name===t(r)}]),onClick:()=>E(a.name)},[d("img",{src:$(a),class:u(["img_"+f,{found:t(o).name===a.name&&t(o).name!=="turntable"}])},null,10,te),d("div",{class:u(["text",{mid:a.name===t(r),active:t(o).name===a.name}])},[a.name===t(r)&&m.isShowAmount?(n(),s("p",se,i(V.value),1)):(n(),s(x,{key:1},[j(i(e.$t(a.text)),1)],64))],2),a.name==="activity"&&t(_)?(n(),s("i",ne,i(t(_)),1)):S("",!0),a.name==="main"?(n(),s("i",{key:1,class:u(t(b)?"tips":t(B)?"tips_point":"")},i(t(b)||""),3)):S("",!0)],10,ae)),[[L,void 0,D(a.name)]])),128))])],512)),[[Y,U.value]])}}}),ie=q(oe,[["__scopeId","data-v-5456441b"]]);export{ie as default};
