import { __require as requireMinIndent } from "../min-indent/index.js";
var stripIndent;
var hasRequiredStripIndent;
function requireStripIndent() {
  if (hasRequiredStripIndent)
    return stripIndent;
  hasRequiredStripIndent = 1;
  const minIndent = requireMinIndent();
  stripIndent = (string) => {
    const indent = minIndent(string);
    if (indent === 0) {
      return string;
    }
    const regex = new RegExp(`^[ \\t]{${indent}}`, "gm");
    return string.replace(regex, "");
  };
  return stripIndent;
}
export {
  requireStripIndent as __require
};
//# sourceMappingURL=index.js.map
