import{d as e}from"./chunk-4CAF5TCV.js";var n="[a-z0-9][a-z0-9._]",l={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(new RegExp(`^${n}*$`))],MESSAGES:{required:"Y\xEAu c\u1EA7u t\xEAn t\xE0i kho\u1EA3n.",minlength:"\u0110\u1ED9 d\xE0i \xEDt nh\u1EA5t 1 k\xFD t\u1EF1.",maxlength:"\u0110\u1ED9 d\xE0i t\u1ED1i \u0111a 50 k\xFD t\u1EF1.",pattern:"T\xE0i kho\u1EA3n vi\u1EBFt ch\u1EEF th\u01B0\u1EDDng, \u0111\u01B0\u1EE3c ph\xE9p d\xF9ng d\u1EA5u ch\u1EA5m v\xE0 g\u1EA1ch d\u01B0\u1EDBi."}},i={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"Y\xEAu c\u1EA7u t\xEAn k\xEAnh.",minlength:"T\xEAn k\xEAnh ph\u1EA3i d\xE0i \xEDt nh\u1EA5t 1 k\xFD t\u1EF1.",maxlength:"T\xEAn k\xEAnh d\xE0i t\u1ED1i \u0111a 50 k\xFD t\u1EF1.",pattern:"T\xEAn k\xEAnh ph\u1EA3i vi\u1EBFt th\u01B0\u1EDDng v\xE0 ch\u1EC9 c\xF3 th\u1EC3 ch\u1EE9a c\xE1c k\xFD t\u1EF1 ch\u1EEF v\xE0 s\u1ED1, d\u1EA5u ch\u1EA5m v\xE0 d\u1EA5u g\u1EA1ch d\u01B0\u1EDBi."}},c={VALIDATORS:[e.required,e.email],MESSAGES:{required:"Y\xEAu c\u1EA7u email.",email:"Email ph\u1EA3i s\u1EED d\u1EE5ng \u0111\u01B0\u1EE3c."}},s={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"Y\xEAu c\u1EA7u ph\u1EA3i c\xF3 \u0111\u1ECBa ch\u1EC9.",pattern:"\u0110\u1ECBa ch\u1EC9 ph\u1EA3i s\u1EED d\u1EE5ng \u0111\u01B0\u1EE3c (eg. chocobozzz@example.com)."}},A={VALIDATORS:[e.required],MESSAGES:{required:"Y\xEAu c\u1EA7u m\u1EADt kh\u1EA9u."}},S={VALIDATORS:[e.required],MESSAGES:{required:"B\u1EAFt bu\u1ED9c c\xF3 OTP token."}},m={VALIDATORS:[e.required,e.minLength(6),e.maxLength(255)],MESSAGES:{required:"Y\xEAu c\u1EA7u m\u1EADt kh\u1EA9u.",minlength:"\u0110\u1ED9 d\xE0i t\u1ED1i thi\u1EC3u 6 k\xFD t\u1EF1.",maxlength:"M\u1EADt kh\u1EA9u ph\u1EA3i ng\u1EAFn h\u01A1n 255 k\xFD t\u1EF1."}},E={VALIDATORS:[e.minLength(6),e.maxLength(255)],MESSAGES:{minlength:"\u0110\u1ED9 d\xE0i t\u1ED1i thi\u1EC3u 6 k\xFD t\u1EF1.",maxlength:"M\u1EADt kh\u1EA9u ph\u1EA3i ng\u1EAFn h\u01A1n 255 k\xFD t\u1EF1."}},d={VALIDATORS:[],MESSAGES:{matchPassword:"M\u1EADt kh\u1EA9u m\u1EDBi v\xE0 m\u1EADt kh\u1EA9u l\u1EB7p l\u1EA1i kh\xF4ng kh\u1EDBp."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Ph\u1EA3i c\xF3 gi\u1EDBi h\u1EA1n dung l\u01B0\u1EE3ng.",min:"Dung l\u01B0\u1EE3ng ph\u1EA3i l\u1EDBn h\u01A1n -1."}},R={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Y\xEAu c\u1EA7u gi\u1EDBi h\u1EA1n \u0111\u0103ng h\u1EB1ng ng\xE0y.",min:"Gi\u1EDBi h\u1EA1n \u0111\u0103ng h\xE0ng ng\xE0y ph\u1EA3i l\u1EDBn h\u01A1n -1."}},u={VALIDATORS:[e.required],MESSAGES:{required:"Y\xEAu c\u1EA7u ch\u1EE9c v\u1EE5 ng\u01B0\u1EDDi d\xF9ng."}},L=t(!0),D={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"M\xF4 t\u1EA3 ph\u1EA3i t\u1EEB 3 k\xFD t\u1EF1 tr\u1EDF l\xEAn.",maxlength:"M\xF4 t\u1EA3 ph\u1EA3i t\u1EEB 100 k\xFD t\u1EF1 tr\u1EDF xu\u1ED1ng."}},O={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"L\xED do ch\u1EB7n ph\u1EA3i t\u1EEB 3 k\xFD t\u1EF1 tr\u1EDF l\xEAn.",maxlength:"L\xFD do v\xF4 hi\u1EC7u h\xF3a ph\u1EA3i t\u1EEB 250 k\xED t\u1EF1 tr\u1EDF xu\u1ED1ng."}};function t(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Y\xEAu c\u1EA7u t\xEAn hi\u1EC3n th\u1ECB.",minlength:"\u0110\u1ED9 d\xE0i t\u1ED1i thi\u1EBFu 1 k\xFD t\u1EF1.",maxlength:"\u0110\u1ED9 d\xE0i t\u1ED1i \u0111a 50 k\xFD t\u1EF1."}};return r&&a.VALIDATORS.push(e.required),a;}export{n as a,l as b,i as c,c as d,s as e,A as f,S as g,m as h,E as i,d as j,h as k,R as l,u as m,L as n,D as o,O as p};/**i18n:b046b42d3b2db5c4a6153f28081b96130c38e9218feb7118271ff63b274934c4*///# sourceMappingURL=chunk-DZM5WE6O.js.map