import{s as w}from"./chunk-C6uGsfWa.js";import{F as ye}from"./chunk-Cmet2Nw-.js";var n=`[a-z0-9][a-z0-9._]`;var d={VALIDATORS:[ye.required,ye.minLength(1),ye.maxLength(50),ye.pattern(new RegExp(`^${n}*$`))],MESSAGES:{required:"Lo nom d’utilizaire es requesit.",minlength:"Lo nom d’utilizaire deu almens conténer 1 caractèr.",maxlength:"Lo nom d’utilizaire pòt pas conténer mai de 50 caractèrs.",pattern:"Lo nom d’utilizaire deu èsser alfanumeric e en minuscula : ponches e jonhents bas son autorizats."}};var A={VALIDATORS:[ye.required,ye.minLength(1),ye.maxLength(50),ye.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."}};var S={VALIDATORS:[ye.required,ye.pattern(/@.+/)],MESSAGES:{required:"Handle is required.",pattern:"Handle must be valid (eg. chocobozzz@example.com)."}};var m={VALIDATORS:[ye.required],MESSAGES:{required:"Lo senhal es requesit."}};var u={VALIDATORS:[ye.required],MESSAGES:{required:"OTP token is required."}};function E(r,a){let o=l(r,a);return{VALIDATORS:[ye.required,...o.VALIDATORS],MESSAGES:w({required:"Lo senhal es requesit."},o.MESSAGES)}}function l(r,a){return{VALIDATORS:[ye.minLength(r),ye.maxLength(a)],MESSAGES:{minlength:`Password must be at least ${r} characters long.`,maxlength:`Password cannot be more than ${a} characters long.`}}}var h={VALIDATORS:[],MESSAGES:{matchPassword:"Lo novèl senhal e sa confirmacion correspondon pas."}};var R={VALIDATORS:[ye.required,ye.min(-1)],MESSAGES:{required:"Lo quòta vidèo es requesit.",min:"Lo quòta deu èsser superior a -1."}};var V={VALIDATORS:[ye.required,ye.min(-1)],MESSAGES:{required:"Lo quòta jornalièr de mandadís es requesit.",min:"Lo quòta jornalièr deu èsser superior a -1."}};var D={VALIDATORS:[ye.required],MESSAGES:{required:"Lo ròtle del l’utilizaire es requesit."}};var L=i(!0);var O={VALIDATORS:[ye.minLength(3),ye.maxLength(1e3)],MESSAGES:{minlength:"La descripcion deu almens conténer 3 caractèrs.",maxlength:"La descripcion pòt pas conténer mai de 1000 caractèrs."}};var g={VALIDATORS:[ye.minLength(3),ye.maxLength(250)],MESSAGES:{minlength:"La rason del bandiment deu conténer almens 3 caractèrs.",maxlength:"La rason del bandiment pòt pas conténer mai de 250 caractèrs."}};function i(r){let a={VALIDATORS:[ye.minLength(1),ye.maxLength(120)],MESSAGES:{required:"L’escais-nom es requesit.",minlength:"Lo nom public deu almens conténer 1 caractèr.",maxlength:"Lo nom public pòt pas conténer mai de 50 caractèrs."}};return r&&a.VALIDATORS.push(ye.required),a}export{O as a,V as c,h as d,l as f,u as h,L as i,d as l,n as m,D as n,R as o,m as p,E as r,S as s,A as t,g as u};
//# debugId=dc24053d-3045-55bd-8b10-67bb4fa03b41
//# sourceMappingURL=chunk-BeduZISV2.js.map