validate-122b42a7.js 453 B

1
  1. var c=(e,a,r)=>new Promise((i,u)=>{var l=t=>{try{s(r.next(t))}catch(n){u(n)}},o=t=>{try{s(r.throw(t))}catch(n){u(n)}},s=t=>t.done?i(t.value):Promise.resolve(t.value).then(l,o);s((r=r.apply(e,a)).next())});function g(e){return c(this,null,function*(){return!/^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/.test(e)})}function z(e){return!/^[a-zA-Z0-9]{4,16}$/.test(e)}function A(e){return!/^[A-Za-z0-9]+$/.test(e)}export{A as a,z as b,g as v};