/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
//#region ../automated-config/dist/utils/componentStatePseudoStates.js
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
function getExcludedPseudoStatesForComponentStateOption(componentState, componentStateOption) {
	return componentState.excludePseudoStatesForOptions?.[componentStateOption] ?? [];
}
function filterPseudoStatesByExclusion(pseudoStates, excludedPseudoStates) {
	if (!pseudoStates) return [];
	if (excludedPseudoStates.length === 0) return [...pseudoStates];
	const excluded = new Set(excludedPseudoStates);
	return pseudoStates.filter((pseudoState) => !excluded.has(pseudoState));
}
//#endregion
exports.filterPseudoStatesByExclusion = filterPseudoStatesByExclusion;
exports.getExcludedPseudoStatesForComponentStateOption = getExcludedPseudoStatesForComponentStateOption;
