import{d as e}from"./chunk-AWFGIQSJ.js";import{a as t}from"./chunk-QVFSZZWQ.js";var o="[a-z0-9][a-z0-9._]",c={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(new RegExp(`^${o}*$`))],MESSAGES:{required:"\u4F7F\u7528\u8005\u540D\u7A31\u5FC5\u586B\u3002",minlength:"\u4F7F\u7528\u8005\u540D\u7A31\u5FC5\u9808\u81F3\u5C11 1 \u500B\u5B57\u5143\u9577\u3002",maxlength:"\u4F7F\u7528\u8005\u540D\u7A31\u4E0D\u80FD\u591A\u65BC 50 \u500B\u5B57\u5143\u3002",pattern:"\u4F7F\u7528\u8005\u540D\u7A31\u61C9\u8A72\u662F\u82F1\u6587\u5C0F\u5BEB\u52A0\u4E0A\u6578\u5B57\uFF1B\u9EDE\u8207\u5E95\u7DDA\u4E5F\u53EF\u4EE5\u3002"}},A={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"\u983B\u9053\u540D\u7A31\u5FC5\u586B\u3002",minlength:"\u983B\u9053\u540D\u7A31\u5FC5\u9808\u81F3\u5C11 1 \u500B\u5B57\u5143\u9577\u3002",maxlength:"\u983B\u9053\u540D\u7A31\u4E0D\u80FD\u591A\u65BC 50 \u500B\u5B57\u5143\u3002",pattern:"\u983B\u9053\u540D\u7A31\u5FC5\u9808\u662F\u5C0F\u5BEB\uFF0C\u4E14\u53EA\u80FD\u5305\u542B\u5B57\u6BCD\u8207\u6578\u5B57\u5B57\u5143\u3001\u9EDE\u8207\u5E95\u7DDA\u3002"}},S={VALIDATORS:[e.required,e.email],MESSAGES:{required:"\u96FB\u5B50\u90F5\u4EF6\u5FC5\u586B\u3002",email:"\u96FB\u5B50\u90F5\u4EF6\u5FC5\u9808\u70BA\u6709\u6548\u96FB\u5B50\u90F5\u4EF6\u3002"}},E={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"\u4EE3\u865F\u5FC5\u586B\u3002",pattern:"\u4EE3\u865F\u5FC5\u9808\u6709\u6548\uFF08\u4F8B\u5982 chocobozzz@example.com\uFF09\u3002"}},d={VALIDATORS:[e.required],MESSAGES:{required:"\u5BC6\u78BC\u5FC5\u586B\u3002"}},m={VALIDATORS:[e.required],MESSAGES:{required:"\u9700\u8981 OTP \u6B0A\u6756\u3002"}};function u(r,a){let n=l(r,a);return{VALIDATORS:[e.required,...n.VALIDATORS],MESSAGES:t({required:"\u5BC6\u78BC\u5FC5\u586B\u3002"},n.MESSAGES)};}function l(r,a){return{VALIDATORS:[e.minLength(r),e.maxLength(a)],MESSAGES:{minlength:"Password must be at least "+r+" characters long.",maxlength:"Password cannot be more than "+a+" characters long."}};}var R={VALIDATORS:[],MESSAGES:{matchPassword:"\u65B0\u5BC6\u78BC\u8207\u5BC6\u78BC\u78BA\u8A8D\u4E0D\u76F8\u7B26\u3002"}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"\u5F71\u7247\u914D\u984D\u5FC5\u586B\u3002",min:"\u914D\u984D\u5FC5\u9808\u5927\u65BC -1\u3002"}},D={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"\u6BCF\u65E5\u4E0A\u50B3\u9650\u5236\u5FC5\u586B\u3002",min:"\u6BCF\u65E5\u4E0A\u50B3\u9650\u5236\u5FC5\u9808\u5927\u65BC -1\u3002"}},L={VALIDATORS:[e.required],MESSAGES:{required:"\u4F7F\u7528\u8005\u89D2\u8272\u5FC5\u586B\u3002"}},O=i(!0),I={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"\u63CF\u8FF0\u5FC5\u9808\u81F3\u5C11 3 \u500B\u5B57\u5143\u9577\u3002",maxlength:"\u63CF\u8FF0\u4E0D\u80FD\u591A\u65BC 1000 \u500B\u5B57\u5143\u3002"}},_={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"\u963B\u64CB\u7406\u7531\u5FC5\u9808\u81F3\u5C11 3 \u500B\u5B57\u5143\u3002",maxlength:"\u963B\u64CB\u7406\u7531\u5FC5\u9808\u591A\u65BC 250 \u500B\u5B57\u5143\u3002"}};function i(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"\u986F\u793A\u540D\u7A31\u5FC5\u586B\u3002",minlength:"\u986F\u793A\u540D\u7A31\u5FC5\u9808\u81F3\u5C11 1 \u500B\u5B57\u5143\u9577\u3002",maxlength:"\u986F\u793A\u540D\u7A31\u4E0D\u80FD\u591A\u65BC 50 \u500B\u5B57\u5143\u3002"}};return r&&a.VALIDATORS.push(e.required),a;}export{o as a,c as b,A as c,S as d,E as e,d as f,m as g,u as h,l as i,R as j,h as k,D as l,L as m,O as n,I as o,_ as p};/**i18n:42345378061bf3c93df67acfa161b751a7b03cc91f3ede7c1f1cdf2bba62fe26*///# sourceMappingURL=chunk-WO36EOJQ.js.map