"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const checkRuleRepetition = require("./lib-util-check-rule-repetition.cjs");
const checkRule = require("./lib-util-check-rule.cjs");
function thematicBreak(_, _1, state) {
  const value = (checkRule.checkRule(state) + (state.options.ruleSpaces ? " " : "")).repeat(checkRuleRepetition.checkRuleRepetition(state));
  return state.options.ruleSpaces ? value.slice(0, -1) : value;
}
exports.thematicBreak = thematicBreak;
//# sourceMappingURL=lib-handle-thematic-break.cjs.map
