import{b7 as f,a as h,u as v,aS as o,aT as s,bf as b,a$ as t,aY as c,bg as k,bh as L,ba as i,b9 as w,N as x,a_ as l,b0 as C,cW as N,aX as y}from"./index-xnhGKCfe.js";import{P as A}from"./index-97-mhYEo.js";import"./pre-D84pmYLY.js";import"./currency-DTUBf2lI.js";import"./useProtocol-DJp7lFWi.js";const M={class:"lang_container"},B={class:"c box_shadow_1"},E=["onClick"],P=f({__name:"index",setup(V){const{getLanguageList:r,getActiveLanguage:u,setActiveLanguage:_}=h(),{locale:n}=v(),g={en:"English",zh:"中文",vi:"Tiếng Việt",pt:"Português",id:"Indonesia",hi:"हिन्दी",es:"México",th:"ไทย",ms:"Melayu",my:"မြန်မာ",ur:"اردو",bn:"বাংলা"},d=a=>g[a]||a.toUpperCase(),m=async a=>{n.value!==a&&(await N(a),n.value=a,await _(a),window.location.href=window.location.origin)};return(a,G)=>(s(),o(A,null,{default:b(()=>[t("div",M,[t("div",B,[(s(!0),c(k,null,L(i(r),(e,p)=>(s(),c("div",{key:p,class:"i",onClick:I=>m(e)},[t("div",null,[x(l,{name:"language_"+e,iconClass:"language",class:"language"},null,8,["name"]),t("span",null,C(d(e)),1)]),e==i(u)?(s(),o(l,{key:0,name:"tick",class:"tick"})):w("",!0)],8,E))),128))])])]),_:1}))}}),D=y(P,[["__scopeId","data-v-f889a319"]]);export{D as default};
