import { __require as h } from "./container.js";
import { __require as m } from "./input.js";
import { __require as d } from "./parser.js";
var t, i;
function _() {
  if (i) return t;
  i = 1;
  let n = h(), o = m(), u = d();
  function s(p, r) {
    let f = new o(p, r), a = new u(f);
    try {
      a.parse();
    } catch (e) {
      throw process.env.NODE_ENV !== "production" && e.name === "CssSyntaxError" && r && r.from && (/\.scss$/i.test(r.from) ? e.message += `
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser` : /\.sass/i.test(r.from) ? e.message += `
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser` : /\.less$/i.test(r.from) && (e.message += `
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)), e;
    }
    return a.root;
  }
  return t = s, s.default = s, n.registerParse(s), t;
}
export {
  _ as __require
};
//# sourceMappingURL=parse.js.map
