import{d as e}from"./chunk-OPKDC23H.js";import{a as t}from"./chunk-IQVXR75E.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:"U\u017Eivatelsk\xE9 jm\xE9no je vy\u017Eadov\xE1no.",minlength:"U\u017Eivatelsk\xE9 jm\xE9no mus\xED m\xEDt alespo\u0148 1 znak.",maxlength:"U\u017Eivatelsk\xE9 jm\xE9no nesm\xED b\xFDt del\u0161\xED ne\u017E 50 znak\u016F.",pattern:"U\u017Eivatelsk\xE9 jm\xE9no by m\u011Blo b\xFDt mal\xFDmi p\xEDsmeny a \u010D\xEDslicemi; te\u010Dky a podtr\u017E\xEDtka jsou povoleny."}},A={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"N\xE1zev kan\xE1lu je vy\u017Eadov\xE1n.",minlength:"N\xE1zev kan\xE1lu mus\xED m\xEDt alespo\u0148 1 znak.",maxlength:"N\xE1zev kan\xE1lu nesm\xED b\xFDt del\u0161\xED ne\u017E 50 znak\u016F.",pattern:"N\xE1zev kan\xE1lu by m\u011Bl b\xFDt ps\xE1n mal\xFDmi p\xEDsmeny a m\u016F\u017Ee obsahovat pouze alfanumerick\xE9 znaky, te\u010Dky a podtr\u017E\xEDtka."}},S={VALIDATORS:[e.required,e.email],MESSAGES:{required:"E-mail je vy\u017Eadov\xE1n.",email:"E-mail mus\xED b\xFDt platn\xFD."}},E={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"Handle je vy\u017Eadov\xE1n.",pattern:"Handle mus\xED b\xFDt platn\xFD (nap\u0159. chocobozzz@example.com)."}},d={VALIDATORS:[e.required],MESSAGES:{required:"Heslo je vy\u017Eadov\xE1no."}},m={VALIDATORS:[e.required],MESSAGES:{required:"Je vy\u017Eadov\xE1n OTP token."}};function u(r,a){let n=l(r,a);return{VALIDATORS:[e.required,...n.VALIDATORS],MESSAGES:t({required:"Heslo je vy\u017Eadov\xE1no."},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 jeho potvrzen\xED nesouhlas\xED."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Limit na videa je vy\u017Eadov\xE1n.",min:"Limit na videa mus\xED b\xFDt v\u011Bt\u0161\xED ne\u017E -1."}},D={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Denn\xED limit nahr\xE1v\xE1n\xED je vy\u017Eadov\xE1n.",min:"Denn\xED limit nahr\xE1v\xE1n\xED mus\xED b\xFDt v\u011Bt\u0161\xED ne\u017E -1."}},L={VALIDATORS:[e.required],MESSAGES:{required:"Role u\u017Eivatele je vy\u017Eadov\xE1na."}},O=i(!0),I={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"Popis mus\xED m\xEDt d\xE9lku minim\xE1ln\u011B 3 znaky.",maxlength:"Popis nesm\xED b\xFDt del\u0161\xED ne\u017E 1000 znak\u016F."}},_={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"D\u016Fvod z\xE1kazu mus\xED b\xFDt dlouh\xFD alespo\u0148 3 znaky.",maxlength:"D\u016Fvod z\xE1kazu nesm\xED b\xFDt del\u0161\xED ne\u017E 250 znak\u016F."}};function i(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Zobrazovan\xE9 jm\xE9no je vy\u017Eadov\xE1no.",minlength:"Zobrazovan\xE9 jm\xE9no mus\xED m\xEDt alespo\u0148 1 znak.",maxlength:"Zobrazovan\xE9 jm\xE9no nesm\xED b\xFDt del\u0161\xED ne\u017E 50 znak\u016F."}};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:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*///# sourceMappingURL=chunk-VIQ4DEV6.js.map