import{d,h as m,i as n,o as a,j as _,k as s,c as o,b as r,I as f,t as h,l as v,a as y,e as g,m as x,n as k,r as w}from"./index.29cf2edd.js";import{S as B}from"./Spin.ce9c3cec.js";/* empty css              */const C={style:{width:"100%"}},N={style:{margin:"0 auto","text-align":"center","margin-top":"50px"}},b={style:{"font-size":"18pt","margin-top":"12px"}},L=d({__name:"Search",setup(I){const{t:i,d:S,n:j}=m({inheritLocale:!0}),e=n(),l=n(!1),c=async()=>e.value?("a-b-c".split("-").slice(0,1).join("-"),w.push(`/covid/search/${e.value.split("-").slice(0,2).join("-")}`)):k.warning("Please enter the value");return(z,t)=>{const u=x;return a(),_("div",C,[s("div",N,[o(r(f),{style:{"font-size":"60px",color:"#0C6B3B"}}),s("h1",b,h(r(i)("info_check")),1),o(u,{placeholder:"Enter Certificate Number, ...",size:"large",style:{width:"260px","border-radius":"50px","text-align":"center"},value:e.value,"onUpdate:value":t[0]||(t[0]=p=>e.value=p),onKeydown:v(c,["enter"])},null,8,["value","onKeydown"]),l.value?(a(),y(B,{key:0})):g("",!0)])])}}});export{L as default};
