import{a}from"./chunk-DKVTP4W3.js";import{d as n}from"./chunk-PPHXRTFX.js";import{mh as o}from"./chunk-747XQIKV.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(""+s+" nen\xED platn\xFD\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(""+s+" nen\xED platn\xFD\n        ");return i.length===0?null:{validHostsOrHandles:{reason:"invalid",value:i.join(". ")+"."}};},H={VALIDATORS:[n.required,u,a],MESSAGES:{required:"Dom\xE9na je vy\u017Eadov\xE1na.",validHosts:"Zadan\xED hostitel\xE9 jsou neplatn\xED.",unique:"Zadan\xED hostitel\xE9 obsahuj\xED duplik\xE1ty."}},v={VALIDATORS:[n.required,d,a],MESSAGES:{required:"Dom\xE9na je vy\u017Eadov\xE1na.",validHostsOrHandles:"Hostitel\xE9 nebo handles jsou neplatn\xE9.",unique:"Hostitel\xE9 nebo handles obsahuj\xED duplik\xE1ty."}};export{t as a,H as b,v as c};/**i18n:6f27118bd781e1b187bee9d5d6ca55c8b3017949bcb9fb3e18a73e038f249d42*///# sourceMappingURL=chunk-XR7TQLAY.js.map