import o from "./container.js";
import i from "./list.js";
let r = o, c = i;
class e extends r {
  constructor(t) {
    super(t), this.type = "rule", this.nodes || (this.nodes = []);
  }
  get selectors() {
    return c.comma(this.selector);
  }
  set selectors(t) {
    let s = this.selector ? this.selector.match(/,\s*/) : null, l = s ? s[0] : "," + this.raw("between", "beforeOpen");
    this.selector = t.join(l);
  }
}
var u = e;
e.default = e;
r.registerRule(e);
export {
  u as default
};
//# sourceMappingURL=rule.js.map
