import { __exports as o } from "../../../../../../../_virtual/wrapWithVariants.js";
import s from "../../../../../postcss@8.4.14/node_modules/postcss/lib/postcss.js";
import "./cloneNodes.js";
import { __exports as u } from "../../../../../../../_virtual/cloneNodes.js";
Object.defineProperty(o, "__esModule", {
  value: !0
});
o.default = f;
var a = n(s), r = n(u);
function n(t) {
  return t && t.__esModule ? t : { default: t };
}
function f(t, i) {
  let e = !1;
  return a.default.root({
    nodes: t
  }).walkAtRules("variants", () => {
    e = !0;
  }), e ? (0, r.default)(t) : a.default.atRule({
    name: "variants",
    params: i.join(", ")
  }).append((0, r.default)(Array.isArray(t) ? t : [t]));
}
//# sourceMappingURL=wrapWithVariants.js.map
