import{d as e}from"./chunk-Z4R7HYSO.js";import{a as t}from"./chunk-PMOLICDQ.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:"o pana e nimi ilo sijelo.",minlength:"mute sitelen o lili ala tawa 1.",maxlength:"mute sitelen o suli ala tawa 50.",pattern:"nimi ilo la sina ken pana e sitelen toki lili e sitelen nanpa e sike lili e linja anpa."}},A={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"o pana e nimi ilo lipu.",minlength:"mute sitelen o lili ala tawa 1.",maxlength:"mute sitelen o suli ala tawa 50.",pattern:"nimi ilo la sina ken pana e sitelen toki lili e sitelen nanpa e sike lili e linja anpa."}},S={VALIDATORS:[e.required,e.email],MESSAGES:{required:"o pana e nimi Email.",email:"nimi Email o pona."}},E={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"o pana e nimi linluwi.",pattern:"nimi linluwi o pona (sama ni: jan_sonja@ma.mu)."}},d={VALIDATORS:[e.required],MESSAGES:{required:"o pana e nimi wawa."}},m={VALIDATORS:[e.required],MESSAGES:{required:"OTP token is required."}};function u(r,a){let n=l(r,a);return{VALIDATORS:[e.required,...n.VALIDATORS],MESSAGES:t({required:"o pana e nimi wawa."},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:"nimi wawa tu ni li sama ala."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"o pana e nanpa.",min:"nanpa o suli tawa -1."}},D={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"o pana e nanpa.",min:"nanpa o suli tawa -1."}},L={VALIDATORS:[e.required],MESSAGES:{required:"o pana e wawa."}},O=i(!0),I={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"mute sitelen o lili ala tawa 3.",maxlength:"mute sitelen o suli ala tawa 1000."}},_={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"mute sitelen o lili ala tawa 3.",maxlength:"mute sitelen o suli ala tawa 250."}};function i(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"o pana e nimi.",minlength:"mute sitelen o lili ala tawa 1.",maxlength:"mute sitelen o suli ala tawa 50."}};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:3907c1bc44ea3b180445250ac6c616b106e81f719372623351dcd73c005dc65a*///# sourceMappingURL=chunk-Q2DTKI3F.js.map