1import{r as k}from"./BNNRdYrd.js";import{F as m,Gt as i,I as b,Jt as h,Kt as C,M as a,P as x,Qt as y,Tt as E,gt as D,jt as I,q as N,st as l,z as M}from"./DcGtCD8U.js";import{lt as P,n as T}from"./BeCnAv6l.js";import{za as G}from"./C0ES5k8B.js";import{J as $}from"./BCh8aLr1.js";import{t as j}from"./kqsXuQgx.js";import{t as z}from"./DEyU7gPw.js";var S=k({default:()=>L});N();I(),C();var B={key:0,class:"o-icon o-icon--angle-down"},L={__name:"MainMenuItem",props:{item:{type:Object,default:null},activeItem:{type:Object,default:null}},setup(e){const t=e,n=$(),o=a(()=>t.item.to&&!t.item.disabled),c=a(()=>o.value?T:"div"),u=a(()=>{if(o.value)return t.item.to==="/"?n(t.item.to):n(`/${t.item.to}`)}),d=a(()=>({"nuxt-link-active":t.activeItem.id===t.item.id,disabled:t.item.disabled})),{trackGaEvent:_}=j(),f=P(),p=()=>{if(!o.value)return!1;const{gameTitle:s,locale:r,sourcePage:v,toPage:g}=z(f,`/${t.item.to}`);_({event:G.HEADER_MENU_CLICK,game_title:s,locale:r,source_page:v,to_page:g})};return(s,r)=>e.item?(l(),x(D(i(c)),{key:0,class:h(["item-link",i(d)]),to:i(u),"no-prefetch":"",onClick:p},{default:E(()=>[M(y(s.$t(`components.main_menu.${e.item.title}`)),1),e.item?.submenu?.length?(l(),b("i",B)):m("",!0)]),_:1},8,["to","class"])):m("",!0)}};export{L as n,S as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.