import{a}from"./chunk-BM5WUH47.js";import{d as n}from"./chunk-HFUYX2U4.js";import{cg as o}from"./chunk-YAKH5Q6V.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+" ist ung\xFCltig\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+" ist ung\xFCltig\n        ");return i.length===0?null:{validHostsOrHandles:{reason:"invalid",value:i.join(". ")+"."}};},H={VALIDATORS:[n.required,u,a],MESSAGES:{required:"Domain wird ben\xF6tigt.",validHosts:"Die eingegebenen Hosts sind ung\xFCltig.",unique:"Die eingegebenen Hosts enthalten Duplikate."}},v={VALIDATORS:[n.required,d,a],MESSAGES:{required:"Domain wird ben\xF6tigt.",validHostsOrHandles:"Hosts oder Handles sind ung\xFCltig.",unique:"Hosts oder Handles enthalten Duplikate."}};export{t as a,H as b,v as c};/**i18n:197837fef124041a3f31333a5ea4afa44db030645e23ee7031f32704e8696a1d*///# sourceMappingURL=chunk-ALYN6EVR.js.map