import { r as _ } from "../../../../../../../_virtual/root.js";
import "./container.js";
import "./types.js";
import { __exports as d } from "../../../../../../../_virtual/types.js";
import { c as g } from "../../../../../../../_virtual/container.js";
(function(c, i) {
  i.__esModule = !0, i.default = void 0;
  var l = y(g.exports), p = d;
  function y(t) {
    return t && t.__esModule ? t : { default: t };
  }
  function a(t, r) {
    for (var o = 0; o < r.length; o++) {
      var e = r[o];
      e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(t, e.key, e);
    }
  }
  function h(t, r, o) {
    return r && a(t.prototype, r), o && a(t, o), t;
  }
  function v(t, r) {
    t.prototype = Object.create(r.prototype), t.prototype.constructor = t, f(t, r);
  }
  function f(t, r) {
    return f = Object.setPrototypeOf || function(e, n) {
      return e.__proto__ = n, e;
    }, f(t, r);
  }
  var m = /* @__PURE__ */ function(t) {
    v(r, t);
    function r(e) {
      var n;
      return n = t.call(this, e) || this, n.type = p.ROOT, n;
    }
    var o = r.prototype;
    return o.toString = function() {
      var n = this.reduce(function(u, O) {
        return u.push(String(O)), u;
      }, []).join(",");
      return this.trailingComma ? n + "," : n;
    }, o.error = function(n, u) {
      return this._error ? this._error(n, u) : new Error(n);
    }, h(r, [{
      key: "errorGenerator",
      set: function(n) {
        this._error = n;
      }
    }]), r;
  }(l.default);
  i.default = m, c.exports = i.default;
})(_, _.exports);
//# sourceMappingURL=root.js.map
