import { __exports as a } from "../../../../../../_virtual/index21.js";
import { __require as b } from "./Parser.js";
import { __require as D } from "../../../../domhandler@5.0.3/node_modules/domhandler/lib/index.js";
import { __require as H } from "./Tokenizer.js";
import { __require as h } from "../../../../domelementtype@2.3.0/node_modules/domelementtype/lib/index.js";
import { __require as f } from "../../../../domutils@3.2.2/node_modules/domutils/lib/index.js";
var v;
function B() {
  return v ? a : (v = 1, function(n) {
    var s = a && a.__createBinding || (Object.create ? function(e, r, t, u) {
      u === void 0 && (u = t);
      var i = Object.getOwnPropertyDescriptor(r, t);
      (!i || ("get" in i ? !r.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: function() {
        return r[t];
      } }), Object.defineProperty(e, u, i);
    } : function(e, r, t, u) {
      u === void 0 && (u = t), e[u] = r[t];
    }), O = a && a.__setModuleDefault || (Object.create ? function(e, r) {
      Object.defineProperty(e, "default", { enumerable: !0, value: r });
    } : function(e, r) {
      e.default = r;
    }), l = a && a.__importStar || function(e) {
      if (e && e.__esModule) return e;
      var r = {};
      if (e != null) for (var t in e) t !== "default" && Object.prototype.hasOwnProperty.call(e, t) && s(r, e, t);
      return O(r, e), r;
    }, P = a && a.__importDefault || function(e) {
      return e && e.__esModule ? e : { default: e };
    };
    Object.defineProperty(n, "__esModule", { value: !0 }), n.DomUtils = n.parseFeed = n.getFeed = n.ElementType = n.Tokenizer = n.createDomStream = n.parseDOM = n.parseDocument = n.DefaultHandler = n.DomHandler = n.Parser = void 0;
    var d = /* @__PURE__ */ b(), g = /* @__PURE__ */ b();
    Object.defineProperty(n, "Parser", { enumerable: !0, get: function() {
      return g.Parser;
    } });
    var _ = /* @__PURE__ */ D(), c = /* @__PURE__ */ D();
    Object.defineProperty(n, "DomHandler", { enumerable: !0, get: function() {
      return c.DomHandler;
    } }), Object.defineProperty(n, "DefaultHandler", { enumerable: !0, get: function() {
      return c.DomHandler;
    } });
    function o(e, r) {
      var t = new _.DomHandler(void 0, r);
      return new d.Parser(t, r).end(e), t.root;
    }
    n.parseDocument = o;
    function m(e, r) {
      return o(e, r).children;
    }
    n.parseDOM = m;
    function j(e, r, t) {
      var u = new _.DomHandler(e, r, t);
      return new d.Parser(u, r);
    }
    n.createDomStream = j;
    var q = /* @__PURE__ */ H();
    Object.defineProperty(n, "Tokenizer", { enumerable: !0, get: function() {
      return P(q).default;
    } }), n.ElementType = l(/* @__PURE__ */ h());
    var y = /* @__PURE__ */ f(), p = /* @__PURE__ */ f();
    Object.defineProperty(n, "getFeed", { enumerable: !0, get: function() {
      return p.getFeed;
    } });
    var M = { xmlMode: !0 };
    function F(e, r) {
      return r === void 0 && (r = M), (0, y.getFeed)(m(e, r));
    }
    n.parseFeed = F, n.DomUtils = l(/* @__PURE__ */ f());
  }(a), a);
}
export {
  B as __require
};
//# sourceMappingURL=index.js.map
