/*!
 * KoliBri - The accessible HTML-Standard
 */
'use strict';

var common = require('./common-DAAt5YQ7.js');

const SAFE_CLASS_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_-]{3,60}$/;
const isSafeClassName = (value) => typeof value === 'string' && SAFE_CLASS_NAME_RE.test(value);
const SAFE_CLASS_NAME_ALLOWED = new Set([SAFE_CLASS_NAME_RE.source]);
const validateVariantClassName = (component, value) => {
    common.watchValidator(component, '_variant', isSafeClassName, SAFE_CLASS_NAME_ALLOWED, value);
};

exports.validateVariantClassName = validateVariantClassName;
//# sourceMappingURL=variant-class-name-DsZdGPeK.js.map

//# sourceMappingURL=variant-class-name-DsZdGPeK.js.map