import{d as u,o as t,c as s,a,F as l,r as p,u as n,T as h,b as g,t as m,_ as f}from"./index-DpQ5MC1S.js";const w={class:"dropdown__modal"},L={class:"dropdown__list"},N=["onClick","data-test-id"],y={class:"dropdown__flag","aria-hidden":"true",width:"16",height:"16"},v=["href"],k=u({__name:"LangDropdown",props:{languagesList:{}},emits:["updateLanguage"],setup(r,{emit:d}){const i=d,c="/v3/6866/dog-house-fortune-wheel",_=o=>i("updateLanguage",o);return(o,D)=>(t(),s("div",w,[a("ul",L,[(t(!0),s(l,null,p(r.languagesList,e=>(t(),s("li",{class:"dropdown__item",key:e.internationalName},[a("button",{class:"dropdown__button-item",type:"button",onClick:$=>_(e.isoKey),"data-test-id":n(h).MAIN.DROPDOWN.RUSSIAN_LANGUAGE},[(t(),s("svg",y,[a("use",{href:`${n(c)}/sprites/country-flags.svg#${e.alpha2Key}`},null,8,v)])),g(" "+m(`${e.nationalName} (${e.alpha3Key.toUpperCase()})`),1)],8,N)]))),128))])]))}}),x=f(k,[["__scopeId","data-v-d874c10f"]]);export{x as default};
