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:"Tha ainm-cleachdaiche riatanach.",minlength:"Feumaidh an t-ainm-cleachdaiche a bhith 1 charactar a dh’fhaid air a char as giorra.",maxlength:"Chan fhaod ainm-cleachdaiche a bhith nas fhaide na 50 caractar.",pattern:"Chan fhaod ach litrichean beaga gun stràcan, àireamhan, dotagan is fo-loidhnichean a bhith am broinn ainm-cleachdaiche."}};var A={VALIDATORS:[ye.required,ye.minLength(1),ye.maxLength(50),ye.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"Tha ainm sianail riatanach.",minlength:"Feumaidh ainm na seanail a bhith 1 charactar a dh’fhaid air a char as giorra.",maxlength:"Chan fhaod ainm na seanail a bhith nas fhaide na 50 caractar.",pattern:"Chan fhaod ach litrichean beaga gun stràcan, àireamhan, dotagan is fo-loidhnichean a bhith am broinn ainm seanail."}};var S={VALIDATORS:[ye.required,ye.pattern(/@.+/)],MESSAGES:{required:"Tha làimhsichear riatanach.",pattern:"Feumaidh an làimhsichear a bhith dligheach (m.e. chocobozzz@ball-eisimpleir.com)."}};var m={VALIDATORS:[ye.required],MESSAGES:{required:"Tha facal-faire riatanach."}};var u={VALIDATORS:[ye.required],MESSAGES:{required:"Tha tòcan dearbhadh OTP riatanach."}};function E(r,a){let o=l(r,a);return{VALIDATORS:[ye.required,...o.VALIDATORS],MESSAGES:w({required:"Tha facal-faire riatanach."},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:"Chan eil am facal-faire ùr ’s a dhearbhadh co-ionnann."}};var R={VALIDATORS:[ye.required,ye.min(-1)],MESSAGES:{required:"Tha feum air cuota video.",min:"Feumaidh an cuota a bhith nas motha na -1."}};var V={VALIDATORS:[ye.required,ye.min(-1)],MESSAGES:{required:"Tha crìoch air an luchdadh suas làitheil riatanach.",min:"Feumaidh a’ chrìoch air an luchdadh suas làitheil a bhith nas motha na -1."}};var D={VALIDATORS:[ye.required],MESSAGES:{required:"Tha feum air dreuchd cleachdaiche."}};var L=i(!0);var O={VALIDATORS:[ye.minLength(3),ye.maxLength(1e3)],MESSAGES:{minlength:"Feumaidh an tuairisgeul a bhith 3 caractaran a dh’fhaid air a char as giorra.",maxlength:"Chan fhaod an tuairisgeul a bhith nas fhaide na 1000 caractar."}};var g={VALIDATORS:[ye.minLength(3),ye.maxLength(250)],MESSAGES:{minlength:"Feumaidh adhbhar an toirmisg a bhith 3 caractaran a dh’fhaid air a char as giorra.",maxlength:"Chan fhaod adhbhar an toirmisg a bhith nas fhaide na 250 caractar."}};function i(r){let a={VALIDATORS:[ye.minLength(1),ye.maxLength(120)],MESSAGES:{required:"Tha feum air ainm-taisbeanaidh.",minlength:"Feumaidh an t-ainm-taisbeanaidh a bhith 1 charactar a dh’fhaid air a char as giorra.",maxlength:"Chan fhaod an t-ainm-taisbeanaidh a bhith nas fhaide na 50 caractar."}};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=db3d1336-8e04-5e1f-873c-ec9a99758672
//# sourceMappingURL=chunk-Ly3dbMT12.js.map