import{G as T}from"./guestTabs-CSCqrApc.js";import{b7 as $,t as G,a as A,Z as L,as as E,m as O,B as V,d3 as w,O as I,c0 as N,aY as n,b9 as U,c as _,aT as o,a$ as f,bg as b,bh as z,bc as u,aS as D,ba as l,a_ as H,b0 as h,b_ as P,J as R,aX as W}from"./index-xnhGKCfe.js";import{o as F}from"./index-D_mD6VKe.js";import J from"./content_004-BPmjD8q4.js";import"./index-D2CW0SR0.js";import"./menus-DBRpC2v3.js";import"./currency-DTUBf2lI.js";import"./info.vue_vue_type_script_setup_true_lang-Br2EH1Hy.js";import"./avatar-B_JRPXTn.js";import"./common-CGnrk9PK.js";import"./avatar-COhUS_hQ.js";import"./useCopy.hook-BtNGdOST.js";import"./index-blEDOb-M.js";import"./level-Oen3Tayd.js";import"./index-qMeHMTSW.js";import"./accountAndSecurity-DV8YrjSb.js";import"./settings-BjdfP4_w.js";/* empty css              */import"./index-D09RZK4J.js";import"./layoutWarning-CD_vfu6-.js";import"./bindEmail-BbQqsWK-.js";import"./bindPassword-BqUuVNfH.js";import"./LogonComp-BOHpBHfS.js";import"./TurnstileInline-BJynT3vQ.js";import"./useLogin-B_VC5_H5.js";import"./useNotifications-D5cP5bJF.js";const M={key:0,class:"app-tabber bottom_nav_style"},X={class:"items"},Y=["onClick"],Z=["src"],j={key:0,class:"turn"},q=$({__name:"006",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:"t93"}]},isShowAmount:{type:Boolean,default:!1}},setup(s){const{listenerBroadcast:g}=V(),y=s,p=G(),{getImgVal:d}=O(),{currencySign:r,getToken:v}=A(),{giftpackInfo:S}=L(),i=E(),x=_(()=>y.tabs.map(t=>t.name).includes(i.name)),B=_(()=>{var c;return`Get ${!r.value||r.value==="undefined"?"":r.value}${((c=S.value)==null?void 0:c.invitedWheelTotalPrizeAmount)??0}`}),{close:m,open:k}=F({props:{direction:"left",closebtn:d("icon_m_ruturn")},slots:{default:()=>R(J,{direction:"right",onClose:()=>m()})}});g(async t=>{if(t===w.LOGOUT){m();return}});function C(t){if(!T.has(t)&&!v()){p.push({name:"Login"});return}if(t==="menu"){k();return}p.push({name:t})}return I(()=>{}),N(()=>{m()}),(t,c)=>x.value?(o(),n("div",M,[f("div",X,[(o(!0),n(b,null,z(s.tabs,(e,a)=>(o(),n("div",{key:a,class:u(`app-tabber-item ${a==2?"play":""}`),onClick:()=>C(e.name)},[a!==2?(o(),D(H,{key:0,name:l(i).name!==e.name?e.name:`${e.name}_a`,class:"icon"},null,8,["name"])):(o(),n("img",{key:1,src:l(d)((e==null?void 0:e.img)||e.name),class:u(["img_"+a])},null,10,Z)),f("div",{class:u(["text",a===2?"mid":"",l(i).name===e.name?"active":""])},[a===2&&s.isShowAmount?(o(),n("p",j,h(B.value),1)):(o(),n(b,{key:1},[P(h(t.$t(e.text)),1)],64))],2)],10,Y))),128))])])):U("",!0)}}),kt=W(q,[["__scopeId","data-v-26f1d0a3"]]);export{kt as default};
