import{s as w}from"./chunk-C6uGsfWa.js";import{F as ye}from"./chunk-BPHMC4rz.js";var n=`[a-z0-9][a-z0-9._]`;var d={VALIDATORS:[ye.required,ye.minLength(1),ye.maxLength(50),ye.pattern(new RegExp(`^${n}*$`))],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."}};var A={VALIDATORS:[ye.required,ye.minLength(1),ye.maxLength(50),ye.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."}};var S={VALIDATORS:[ye.required,ye.pattern(/@.+/)],MESSAGES:{required:"o pana e nimi linluwi.",pattern:"nimi linluwi o pona (sama ni: jan_sonja@ma.mu)."}};var m={VALIDATORS:[ye.required],MESSAGES:{required:"o pana e nimi wawa."}};var u={VALIDATORS:[ye.required],MESSAGES:{required:"OTP token is required."}};function E(r,a){let o=l(r,a);return{VALIDATORS:[ye.required,...o.VALIDATORS],MESSAGES:w({required:"o pana e nimi wawa."},o.MESSAGES)}}function l(r,a){return{VALIDATORS:[ye.minLength(r),ye.maxLength(a)],MESSAGES:{minlength:`Password must be at least ${r} characters long.`,maxlength:`Password cannot be more than ${a} characters long.`}}}var h={VALIDATORS:[],MESSAGES:{matchPassword:"nimi wawa tu ni li sama ala."}};var R={VALIDATORS:[ye.required,ye.min(-1)],MESSAGES:{required:"o pana e nanpa.",min:"nanpa o suli tawa -1."}};var V={VALIDATORS:[ye.required,ye.min(-1)],MESSAGES:{required:"o pana e nanpa.",min:"nanpa o suli tawa -1."}};var D={VALIDATORS:[ye.required],MESSAGES:{required:"o pana e wawa."}};var L=i(!0);var O={VALIDATORS:[ye.minLength(3),ye.maxLength(1e3)],MESSAGES:{minlength:"mute sitelen o lili ala tawa 3.",maxlength:"mute sitelen o suli ala tawa 1000."}};var g={VALIDATORS:[ye.minLength(3),ye.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:[ye.minLength(1),ye.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(ye.required),a}export{O as a,V as c,h as d,l as f,u as h,L as i,d as l,n as m,D as n,R as o,m as p,E as r,S as s,A as t,g as u};
//# debugId=d4e067e8-f36e-5b02-adad-f136b10b95ea
//# sourceMappingURL=chunk-Ly3dbMT12.js.map