import{d as e}from"./chunk-P7U3FVME.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:"Notandanafn er nau\xF0synlegt.",minlength:"Notandanafni\xF0 ver\xF0ur a\xF0 vera a\xF0 minnsta kosti 1 stafur.",maxlength:"Notandanafn m\xE1 ekki vera lengra en 50 stafir.",pattern:"Notendan\xF6fn geta einungis innihaldi\xF0 l\xE1gstafa t\xF6lur og b\xF3kstafi \xE1samt punktum og undirstrikun."}},A={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"Heiti r\xE1sar er nau\xF0synlegt.",minlength:"Heiti r\xE1sar ver\xF0ur a\xF0 vera a.m.k. 1 stafur a\xF0 lengd.",maxlength:"Heiti r\xE1sar m\xE1 ekki vera lengra en 50 stafir.",pattern:"Heiti r\xE1sa geta einungis innihaldi\xF0 l\xE1gstafa t\xF6lur og b\xF3kstafi \xE1samt punktum og undirstrikun."}},S={VALIDATORS:[e.required,e.email],MESSAGES:{required:"T\xF6lvup\xF3stfang er nau\xF0synlegt.",email:"T\xF6lvup\xF3stfang ver\xF0ur a\xF0 vera gilt."}},E={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"Au\xF0kenni er nau\xF0synlegt.",pattern:"Au\xF0kenni ver\xF0ur a\xF0 vera gilt (t.d. chocobozzz@example.com)."}},d={VALIDATORS:[e.required],MESSAGES:{required:"Lykilor\xF0 er nau\xF0synlegt."}},m={VALIDATORS:[e.required],MESSAGES:{required:"OTP-teikn er nau\xF0synlegt."}};function u(r,a){let n=l(r,a);return{VALIDATORS:[e.required,...n.VALIDATORS],MESSAGES:t({required:"Lykilor\xF0 er nau\xF0synlegt."},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:"N\xFDja lykilor\xF0i\xF0 og sta\xF0festa lykilor\xF0i\xF0 samsvara ekki."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Kv\xF3ti myndskei\xF0a er nau\xF0synlegur.",min:"Kv\xF3ti ver\xF0ur a\xF0 vera meiri en -1."}},D={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Dagleg takm\xF6rk innsendinga eru nau\xF0synleg.",min:"Dagleg takm\xF6rk innsendinga ver\xF0a a\xF0 vera meiri en -1."}},L={VALIDATORS:[e.required],MESSAGES:{required:"Hlutverk notanda er nau\xF0synlegt."}},O=i(!0),I={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"L\xFDsing ver\xF0ur a\xF0 vera a.m.k 3 stafa l\xF6ng.",maxlength:"L\xFDsing m\xE1 ekki vera lengri en 1000 stafir."}},_={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"\xC1st\xE6\xF0a banns ver\xF0ur a\xF0 vera a.m.k 3 stafa l\xF6ng.",maxlength:"\xC1st\xE6\xF0a banns m\xE1 ekki vera lengri en 250 stafir."}};function i(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Birtingarnafn er nau\xF0synlegt.",minlength:"Birtingarnafn ver\xF0ur a\xF0 vera a\xF0 minnsta kosti 1 stafur.",maxlength:"Birtingarnafn m\xE1 ekki vera lengra en 50 stafir."}};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-ZIIFBYGX.js.map