import{d as e}from"./chunk-77K4SKWD.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:"Username is required.",minlength:"Username must be at least 1 character long.",maxlength:"Username cannot be more than 50 characters long.",pattern:"Username should be lowercase alphanumeric; dots and underscores are allowed."}},i={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"Kanalnavn er p\xE5krevd.",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:"Email is required.",email:"E-post m\xE5 v\xE6re gyldig."}},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:"Password is required."}},S={VALIDATORS:[e.required],MESSAGES:{required:"OTP token is required."}},m={VALIDATORS:[e.required,e.minLength(6),e.maxLength(255)],MESSAGES:{required:"Password is required.",minlength:"Password must be at least 6 characters long.",maxlength:"Password cannot be more than 255 characters long."}},E={VALIDATORS:[e.minLength(6),e.maxLength(255)],MESSAGES:{minlength:"Password must be at least 6 characters long.",maxlength:"Password cannot be more than 255 characters long."}},d={VALIDATORS:[],MESSAGES:{matchPassword:"The new password and the confirmed password do not correspond."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Videokvote er p\xE5krevd.",min:"Kvoten m\xE5 v\xE6re st\xF8rre enn -1."}},R={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Daglig opplastingsgrense er p\xE5krevd.",min:"Daily upload limit must be greater than -1."}},u={VALIDATORS:[e.required],MESSAGES:{required:"Brukerrolle er p\xE5krevd."}},L=t(!0),D={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"Description must be at least 3 characters long.",maxlength:"Description cannot be more than 1000 characters long."}},O={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"Utestengingsgrunnlaget m\xE5 inneholde minst 3 tegn.",maxlength:"Utestengingsgrunnlaget kan ikke v\xE6re p\xE5 mer en 250 tegn."}};function t(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Visningsnavn er p\xE5krevd.",minlength:"Display name must be at least 1 character long.",maxlength:"Display name cannot be more than 50 characters long."}};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:1cf7c077143c4c267fdafbe5508f191afcef21bad6aba22a3a8dc180e1003753*///# sourceMappingURL=chunk-4AYAMUUQ.js.map