import{d as e}from"./chunk-JDOQXT4C.js";import{a as t}from"./chunk-YM6OINSR.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:"Pou\u017E\xEDvate\u013Esk\xE9 meno je povinn\xE9.",minlength:"Pou\u017E\xEDvate\u013Esk\xE9 meno mus\xED ma\u0165 aspo\u0148 1 znak.",maxlength:"Pou\u017E\xEDvate\u013Esk\xE9 meno nem\xF4\u017Ee ma\u0165 viac ako 50 znakov.",pattern:"Pou\u017E\xEDvate\u013Esk\xE9 meno m\xF4\u017Ee obsahova\u0165 len mal\xE9 p\xEDsmen\xE1, \u010D\xEDsla, bodky a pod\u010Diarkovn\xEDky."}},A={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"N\xE1zov kan\xE1lu je povinn\xFD.",minlength:"N\xE1zov kan\xE1lu mus\xED ma\u0165 aspo\u0148 1 znak.",maxlength:"N\xE1zov kan\xE1lu nesmie by\u0165 dlh\u0161\xED ako 50 znakov.",pattern:"N\xE1zov kan\xE1lu m\xF4\u017Ee obsahova\u0165 len mal\xE9 p\xEDsnen\xE1, \u010D\xEDsla, bodky a pod\u010Diarkovn\xEDky."}},S={VALIDATORS:[e.required,e.email],MESSAGES:{required:"Email je povinn\xFD.",email:"Email mus\xED by\u0165 platn\xFD."}},E={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"Identifik\xE1tor je povinn\xFD.",pattern:"Identifik\xE1tor mus\xED by\u0165 platn\xFD (napr. chocobozzz@example.com)."}},d={VALIDATORS:[e.required],MESSAGES:{required:"Heslo je povinn\xE9."}},m={VALIDATORS:[e.required],MESSAGES:{required:"OTP token je povinn\xFD."}};function u(r,a){let n=l(r,a);return{VALIDATORS:[e.required,...n.VALIDATORS],MESSAGES:t({required:"Heslo je povinn\xE9."},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:"Nov\xE9 heslo a povrdenie hesla nes\xFAhlasia."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Kv\xF3ta na vide\xE1 je povinn\xE1.",min:"Kv\xF3ta mus\xED by\u0165 v\xE4\u010D\u0161ia ako -1."}},D={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Denn\xFD limit nahr\xE1van\xED je povinn\xFD.",min:"Denn\xFD limit nahr\xE1van\xED mus\xED by\u0165 v\xE4\u010D\u0161\xED ako -1."}},L={VALIDATORS:[e.required],MESSAGES:{required:"Rola pou\u017E\xEDvate\u013Ea je povinn\xE1."}},O=i(!0),I={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"Popis mus\xED ma\u0165 aspo\u0148 3 znaky.",maxlength:"Popis nem\xF4\u017Ee ma\u0165 viac ako 1000 znakov."}},_={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"D\xF4vod zablokovania mus\xED ma\u0165 aspo\u0148 3 znaky.",maxlength:"D\xF4vod zablokovania nesmie ma\u0165 viac ako 250 znakov."}};function i(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Zobrazovan\xE9 meno je povinn\xE9.",minlength:"Zobrazovan\xE9 meno mus\xED ma\u0165 aspo\u0148 1 znak.",maxlength:"Zobrazovan\xE9 meno nesmie ma\u0165 viac ne\u017E 50 znakov."}};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:5a85df092a135682c90bae008e37ec28160e04e5f445e29af2927333ba91ffa1*///# sourceMappingURL=chunk-ICTL3K3T.js.map