"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const resolveClassNames = require("../resolve-class-names/resolve-class-names.cjs");
function getThemeClassNames({
  themeName,
  theme,
  selector,
  props,
  stylesCtx
}) {
  return themeName.map(
    (n) => {
      var _a, _b;
      return (_b = resolveClassNames.resolveClassNames({
        theme,
        classNames: (_a = theme.components[n]) == null ? void 0 : _a.classNames,
        props,
        stylesCtx
      })) == null ? void 0 : _b[selector];
    }
  );
}
exports.getThemeClassNames = getThemeClassNames;
