import{d as e}from"./chunk-Z4R7HYSO.js";import{a as t}from"./chunk-PMOLICDQ.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:"Require un nome de usuaria.",minlength:"O nome de usuaria ten que ter polo menos 1 caracter.",maxlength:"O nome de usuaria non pode ter m\xE1is de 50 caracteres.",pattern:"O nome de usuaria deber\xEDa ser alfanum\xE9rico e en min\xFAsculas; puntos e trazo baixo est\xE1n permitidos."}},A={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"O nome da canle \xE9 requerido.",minlength:"O nome da canle ten que ter 1 caracter polo menos.",maxlength:"O nome da canle non pode ter m\xE1is de 50 caracteres.",pattern:"O nome da canle ten que estar en min\xFAsculas, e conter s\xF3 caracteres alfanum\xE9ricos, puntos e trazos baixos."}},S={VALIDATORS:[e.required,e.email],MESSAGES:{required:"Requ\xEDrese email.",email:"O email ten que ser v\xE1lido."}},E={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"Requ\xEDrese Identificador.",pattern:"O nome debe ter un formato v\xE1lido (ex. chocobozzz@example.com)."}},d={VALIDATORS:[e.required],MESSAGES:{required:"Require o contrasinal."}},m={VALIDATORS:[e.required],MESSAGES:{required:"Requ\xEDrese un c\xF3digo OTP."}};function u(r,a){let n=l(r,a);return{VALIDATORS:[e.required,...n.VALIDATORS],MESSAGES:t({required:"Require o contrasinal."},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:"O novo contrasinal e o contrasinal confirmado non concordan."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"A cota de v\xEDdeo \xE9 requerida.",min:"A cota debe ser maior de -1."}},D={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"O l\xEDmite de subida diario \xE9 requerido.",min:"O l\xEDmite de subida diaria ten que ser maior de -1."}},L={VALIDATORS:[e.required],MESSAGES:{required:"O rol da usuaria \xE9 requerido."}},O=i(!0),I={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"A descrici\xF3n debe ser maior de 3 caracteres.",maxlength:"A descrici\xF3n non pode ter m\xE1is de 1000 caracteres."}},_={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"A raz\xF3n do veto debe ter m\xE1is de 3 caracteres.",maxlength:"A raz\xF3n do veto non pode ter m\xE1is de 250 caracteres."}};function i(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Requ\xEDrese un nome p\xFAblico.",minlength:"O nome p\xFAblico debe ter 1 caracter polo menos.",maxlength:"O nome p\xFAblico non pode ter m\xE1is de 50 caracteres."}};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:3907c1bc44ea3b180445250ac6c616b106e81f719372623351dcd73c005dc65a*///# sourceMappingURL=chunk-Q2DTKI3F.js.map