import{d as e}from"./chunk-MJIAB7QL.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:"Korisni\u010Dko ime se mora navesti.",minlength:"Korisni\u010Dko ime mora sadr\u017Eati barem jedan znak.",maxlength:"Korisni\u010Dko ime ne smije sadr\u017Eati vi\u0161e od 50 znakova.",pattern:"Korisni\u010Dko ime mora sadr\u017Eati mala slova i brojeve; dopu\u0161tene su to\u010Dke i podvlake."}},i={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"Ime kanala se mora navesti.",minlength:"Ime kanala mora sadr\u017Eati barem jedan znak.",maxlength:"Ime kanala ne smije sadr\u017Eati vi\u0161e od 50 znakova.",pattern:"Ime kanala mora sadr\u017Eati samo mala slova i brojeve, to\u010Dke i podvlake."}},c={VALIDATORS:[e.required,e.email],MESSAGES:{required:"E-mail adresa se mora navesti.",email:"E-mail adresa mora biti valjana."}},s={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"Identifikator se mora navesti.",pattern:"Identifikator mora biti ispravan (npr. chocobozzz@example.com)."}},A={VALIDATORS:[e.required],MESSAGES:{required:"Lozinka se mora navesti."}},S={VALIDATORS:[e.required],MESSAGES:{required:"OTP token se mora navesti."}},m={VALIDATORS:[e.required,e.minLength(6),e.maxLength(255)],MESSAGES:{required:"Lozinka se mora navesti.",minlength:"Lozinka mora sadr\u017Eati barem 6 znakova.",maxlength:"Lozinka ne smije sadr\u017Eati vi\u0161e od 255 znakova."}},E={VALIDATORS:[e.minLength(6),e.maxLength(255)],MESSAGES:{minlength:"Lozinka mora sadr\u017Eati barem 6 znakova.",maxlength:"Lozinka ne smije sadr\u017Eati vi\u0161e od 255 znakova."}},d={VALIDATORS:[],MESSAGES:{matchPassword:"Nova lozinka i potvr\u0111ena lozinka ne se poklapaju."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Kvota za videa se mora navesti.",min:"Kvota mora biti ve\u0107a od -1."}},R={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Granica za dnevni prijenos se mora navesti.",min:"Granica za dnevni prijenos mora biti ve\u0107a od -1."}},u={VALIDATORS:[e.required],MESSAGES:{required:"Uloga korisnika se mora navesti."}},L=t(!0),D={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"Opis mora sadr\u017Eati barem 3 znaka.",maxlength:"Opis ne smije sadr\u017Eati vi\u0161e od 1000 znakova."}},O={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"Razlog isklju\u010Divanja mora sadr\u017Eati barem 3 znaka.",maxlength:"Razlog isklju\u010Divanja ne smije sadr\u017Eati vi\u0161e od 250 znakova."}};function t(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Prikazno ime se mora navesti.",minlength:"Prikazno ime mora sadr\u017Eati barem jedan znak.",maxlength:"Prikazno ime ne smije sadr\u017Eati vi\u0161e od 50 znakova."}};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:7c691147a9ded88b46d9cd2285c6afa220006ce26eb0d02eb4522192723b6cd8*///# sourceMappingURL=chunk-TDT5ENQH.js.map