import{a}from"./chunk-LP77W7AU.js";import{d as n}from"./chunk-HZMHCW3T.js";import{_f as o}from"./chunk-XD25PYOU.js";function t(e){return new RegExp("^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]).)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$").test(e);}function r(e){return e?e.includes("@"):!1;}var u=e=>{if(!e.value)return null;let i=[],l=o(e.value);for(let s of l)t(s)===!1&&i.push("\n          "+s+" nem \xE9rv\xE9nyes\n        ");return i.length===0?null:{validHosts:{reason:"invalid",value:i.join(". ")+"."}};},d=e=>{if(!e.value)return null;let i=[],l=o(e.value);for(let s of l)t(s)===!1&&r(s)===!1&&i.push("\n          "+s+" nem \xE9rv\xE9nyes\n        ");return i.length===0?null:{validHostsOrHandles:{reason:"invalid",value:i.join(". ")+"."}};},H={VALIDATORS:[n.required,u,a],MESSAGES:{required:"Tartom\xE1ny sz\xFCks\xE9ges.",validHosts:"A be\xEDrt kiszolg\xE1l\xF3 \xE9rv\xE9nytelen.",unique:"A be\xEDrt kiszolg\xE1l\xF3k k\xF6zt t\xF6bb azonos is szerepel."}},v={VALIDATORS:[n.required,d,a],MESSAGES:{required:"Tartom\xE1ny sz\xFCks\xE9ges.",validHostsOrHandles:"A kiszolg\xE1l\xF3k vagy nevek \xE9rv\xE9nytelenek.",unique:"A kiszolg\xE1l\xF3k vagy nevek k\xF6zt t\xF6bb azonos is szerepel."}};export{t as a,H as b,v as c};/**i18n:fc817608a00477e18624cf8be5badc6c9afae12f0946c7c1548c95cf79bd0e7b*///# sourceMappingURL=chunk-PYUHN6BJ.js.map