import{d as e}from"./chunk-I267ADJP.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:"Lo nom d\u2019utilizaire es requesit.",minlength:"Lo nom d\u2019utilizaire deu almens cont\xE9ner 1 caract\xE8r.",maxlength:"Lo nom d\u2019utilizaire p\xF2t pas cont\xE9ner mai de 50 caract\xE8rs.",pattern:"Lo nom d\u2019utilizaire deu \xE8sser alfanumeric e en minuscula\u202F: ponches e jonhents bas son autorizats."}},i={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"Channel name is required.",minlength:"Channel name must be at least 1 character long.",maxlength:"Channel name cannot be more than 50 characters long.",pattern:"Channel name should be lowercase, and can contain only alphanumeric characters, dots and underscores."}},c={VALIDATORS:[e.required,e.email],MESSAGES:{required:"L\u2019adre\xE7a electronica es requesida.",email:"L\u2019adre\xE7a electronica deu \xE8sser valida."}},s={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"Handle is required.",pattern:"Handle must be valid (eg. chocobozzz@example.com)."}},A={VALIDATORS:[e.required],MESSAGES:{required:"Lo senhal es requesit."}},S={VALIDATORS:[e.required],MESSAGES:{required:"OTP token is required."}},m={VALIDATORS:[e.required,e.minLength(6),e.maxLength(255)],MESSAGES:{required:"Lo senhal es requesit.",minlength:"Lo senhal deu cont\xE9ner almens 6 caract\xE8rs.",maxlength:"Lo senhal p\xF2t pas cont\xE9ner mai de 255 caract\xE8rs."}},E={VALIDATORS:[e.minLength(6),e.maxLength(255)],MESSAGES:{minlength:"Lo senhal deu cont\xE9ner almens 6 caract\xE8rs.",maxlength:"Lo senhal p\xF2t pas cont\xE9ner mai de 255 caract\xE8rs."}},d={VALIDATORS:[],MESSAGES:{matchPassword:"Lo nov\xE8l senhal e sa confirmacion correspondon pas."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Lo qu\xF2ta vid\xE8o es requesit.",min:"Lo qu\xF2ta deu \xE8sser superior a -1."}},R={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Lo qu\xF2ta jornali\xE8r de mandad\xEDs es requesit.",min:"Lo qu\xF2ta jornali\xE8r deu \xE8sser superior a -1."}},u={VALIDATORS:[e.required],MESSAGES:{required:"Lo r\xF2tle del l\u2019utilizaire es requesit."}},L=t(!0),D={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"La descripcion deu almens cont\xE9ner 3 caract\xE8rs.",maxlength:"La descripcion p\xF2t pas cont\xE9ner mai de 1000 caract\xE8rs."}},O={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"La rason del bandiment deu cont\xE9ner almens 3 caract\xE8rs.",maxlength:"La rason del bandiment p\xF2t pas cont\xE9ner mai de 250 caract\xE8rs."}};function t(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"L\u2019escais-nom es requesit.",minlength:"Lo nom public deu almens cont\xE9ner 1 caract\xE8r.",maxlength:"Lo nom public p\xF2t pas cont\xE9ner mai de 50 caract\xE8rs."}};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:68865f44f2a527c44cf5136a17c76a0ff8308c2bae5c7c8d50070a5fb9847c44*///# sourceMappingURL=chunk-JVYYBNMN.js.map