/* empty css              */import"./index-325f2a5d.js";import{F as e}from"./index-8da36b2b.js";import{c as a}from"./countryCode-16bf7887.js";import{_ as l,a as t,b as s,j as o,c as n,aC as i,m as r,p as c,o as d,f as u,v as f,h as x,R as p,e as m,r as v,F as b,y,t as h,i as j}from"./index-476be0bb.js";import"./use-route-126c4f06.js";import"./use-id-50eda0ee.js";const C={class:"flex flex-col pt-12 h-full box-border"},g={class:"px-12"},k={class:"flex-1 overflow-auto bg-white mt-12 px-14"},_=["onClick"],w={class:"text-main"},F={key:0,class:"text-center py-20 text-grey text-14"},N=l({__name:"index",setup(l){const{locale:N}=t(),V={"zh-CN":"cn",en:"en"},$=s(),z=o("");const O=n((()=>{return""===z.value?a:(e=z.value/1,Number.isFinite(e)?a.filter((e=>-1!==e.code.indexOf(z.value))):a.filter((e=>-1!==e[V[N.value]].indexOf(z.value))));var e}));return(a,l)=>{const t=e,s=i("normal-layout");return d(),r(s,{flex:"","bg-color":"#f6f6f6","nav-bg-color":"#3574f0","text-color":"#fff",title:a.$t("选择国家")},{default:c((()=>[u("div",C,[u("div",g,[f(t,{class:"rounded-8",modelValue:x(z),"onUpdate:modelValue":l[0]||(l[0]=e=>p(z)?z.value=e:null),"left-icon":"search",placeholder:a.$t("输入国家名称"),style:{"--van-padding-base":"10px"}},null,8,["modelValue","placeholder"])]),u("div",k,[(d(!0),m(b,null,v(x(O),(e=>(d(),m("div",{class:"flex justify-between py-14 text-14 van-hairline--bottom",onClick:a=>x($).replace("/autoTask?code="+e.code)},[u("div",null,["zh-CN"===x(N)?(d(),m(b,{key:0},[y(h(e.cn),1)],64)):(d(),m(b,{key:1},[y(h(e.en),1)],64))]),u("div",w,h(e.code),1)],8,_)))),256)),0===x(O).length?(d(),m("div",F,h(a.$t("暂无数据")),1)):j("",!0)])])])),_:1},8,["title"])}}},[["__scopeId","data-v-f0b532c7"]]);export{N as default};
