const require_error=require(`./error-yAk1zzvx.cjs`);let valibot=require(`valibot`);valibot=require_error.o(valibot);const ALPHANUMERIC_OR_UNDERSCORE_REGEX={any:/^[a-zA-Z0-9_]+$/,lowercase:/^[a-z0-9_]+$/,uppercase:/^[A-Z0-9_]+$/},ALPHANUMERIC_OR_HYPHEN_REGEX={any:/^[a-zA-Z0-9-]+$/,lowercase:/^[a-z0-9-]+$/,uppercase:/^[A-Z0-9-]+$/},TITLE_CASE_REGEX=/^[A-Z][a-z]*(?:\s[A-Z][a-z]*)*$/;function stringValueSchema(name){return valibot.string(`Expected a string value for '${name}'`)}function nonEmptyStringValueSchema(name){return valibot.pipe(stringValueSchema(name),valibot.nonEmpty(`The value of "${name}" must not be empty`))}function booleanValueSchema(name){return valibot.boolean(`Expected a boolean value for '${name}'`)}function alphaNumericOrUnderscoreSchema(name,casing=`any`){let casingLabel=casing===`any`?``:` (${casing} only)`;return valibot.pipe(stringValueSchema(name),valibot.regex(ALPHANUMERIC_OR_UNDERSCORE_REGEX[casing],`Only alphanumeric characters and underscores are allowed in string value of "${name}"${casingLabel}`))}function alphaNumericOrHyphenSchema(name,casing=`any`){let casingLabel=casing===`any`?``:` (${casing} only)`;return valibot.pipe(stringValueSchema(name),valibot.regex(ALPHANUMERIC_OR_HYPHEN_REGEX[casing],`Only alphanumeric characters and hyphens are allowed in string value of "${name}"${casingLabel}`))}function titleCaseSchema(name){return valibot.pipe(nonEmptyStringValueSchema(name),valibot.regex(TITLE_CASE_REGEX,`The value of "${name}" must be in Title Case, which means, an uppercase letter after each space (e.g., "Some Title Case")`))}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return stringValueSchema}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return nonEmptyStringValueSchema}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return alphaNumericOrUnderscoreSchema}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return titleCaseSchema}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return booleanValueSchema}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return alphaNumericOrHyphenSchema}});