import { h as _, i as A, j as R, k as q, l as P, r as S, b as O, c as M, d as I, e as N, f as C, g as D } from "./index-CyvVZ2rs.js";
import { r as V, a as E, b as T } from "./index-MhPczVFS.js";
function w(r, e) {
  for (var n = 0; n < e.length; n++) {
    const t = e[n];
    if (typeof t != "string" && !Array.isArray(t)) {
      for (const a in t)
        if (a !== "default" && !(a in r)) {
          const o = Object.getOwnPropertyDescriptor(t, a);
          o && Object.defineProperty(r, a, o.get ? o : {
            enumerable: !0,
            get: () => t[a]
          });
        }
    }
  }
  return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
}
var $ = { exports: {} }, l = {}, h;
function x() {
  if (h) return l;
  h = 1, Object.defineProperty(l, "__esModule", { value: !0 });
  const r = _(), e = A(), n = R(), t = V(), a = E(), o = T(), d = q(), s = P(), m = [
    t.default,
    r.default,
    e.default,
    (0, n.default)(!0),
    d.default,
    s.metadataVocabulary,
    s.contentVocabulary,
    a.default,
    o.default
  ];
  return l.default = m, l;
}
var p = {};
const K = "https://json-schema.org/draft/2020-12/schema", k = "https://json-schema.org/draft/2020-12/schema", z = { "https://json-schema.org/draft/2020-12/vocab/core": !0, "https://json-schema.org/draft/2020-12/vocab/applicator": !0, "https://json-schema.org/draft/2020-12/vocab/unevaluated": !0, "https://json-schema.org/draft/2020-12/vocab/validation": !0, "https://json-schema.org/draft/2020-12/vocab/meta-data": !0, "https://json-schema.org/draft/2020-12/vocab/format-annotation": !0, "https://json-schema.org/draft/2020-12/vocab/content": !0 }, F = "meta", G = "Core and Validation specifications meta-schema", U = [{ $ref: "meta/core" }, { $ref: "meta/applicator" }, { $ref: "meta/unevaluated" }, { $ref: "meta/validation" }, { $ref: "meta/meta-data" }, { $ref: "meta/format-annotation" }, { $ref: "meta/content" }], J = ["object", "boolean"], L = "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.", Z = { definitions: { $comment: '"definitions" has been replaced by "$defs".', type: "object", additionalProperties: { $dynamicRef: "#meta" }, deprecated: !0, default: {} }, dependencies: { $comment: '"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.', type: "object", additionalProperties: { anyOf: [{ $dynamicRef: "#meta" }, { $ref: "meta/validation#/$defs/stringArray" }] }, deprecated: !0, default: {} }, $recursiveAnchor: { $comment: '"$recursiveAnchor" has been replaced by "$dynamicAnchor".', $ref: "meta/core#/$defs/anchorString", deprecated: !0 }, $recursiveRef: { $comment: '"$recursiveRef" has been replaced by "$dynamicRef".', $ref: "meta/core#/$defs/uriReferenceString", deprecated: !0 } }, H = {
  $schema: K,
  $id: k,
  $vocabulary: z,
  $dynamicAnchor: F,
  title: G,
  allOf: U,
  type: J,
  $comment: L,
  properties: Z
}, B = "https://json-schema.org/draft/2020-12/schema", Q = "https://json-schema.org/draft/2020-12/meta/applicator", W = { "https://json-schema.org/draft/2020-12/vocab/applicator": !0 }, X = "meta", Y = "Applicator vocabulary meta-schema", ee = ["object", "boolean"], te = { prefixItems: { $ref: "#/$defs/schemaArray" }, items: { $dynamicRef: "#meta" }, contains: { $dynamicRef: "#meta" }, additionalProperties: { $dynamicRef: "#meta" }, properties: { type: "object", additionalProperties: { $dynamicRef: "#meta" }, default: {} }, patternProperties: { type: "object", additionalProperties: { $dynamicRef: "#meta" }, propertyNames: { format: "regex" }, default: {} }, dependentSchemas: { type: "object", additionalProperties: { $dynamicRef: "#meta" }, default: {} }, propertyNames: { $dynamicRef: "#meta" }, if: { $dynamicRef: "#meta" }, then: { $dynamicRef: "#meta" }, else: { $dynamicRef: "#meta" }, allOf: { $ref: "#/$defs/schemaArray" }, anyOf: { $ref: "#/$defs/schemaArray" }, oneOf: { $ref: "#/$defs/schemaArray" }, not: { $dynamicRef: "#meta" } }, ae = { schemaArray: { type: "array", minItems: 1, items: { $dynamicRef: "#meta" } } }, re = {
  $schema: B,
  $id: Q,
  $vocabulary: W,
  $dynamicAnchor: X,
  title: Y,
  type: ee,
  properties: te,
  $defs: ae
}, ne = "https://json-schema.org/draft/2020-12/schema", oe = "https://json-schema.org/draft/2020-12/meta/unevaluated", se = { "https://json-schema.org/draft/2020-12/vocab/unevaluated": !0 }, ce = "meta", ie = "Unevaluated applicator vocabulary meta-schema", de = ["object", "boolean"], me = { unevaluatedItems: { $dynamicRef: "#meta" }, unevaluatedProperties: { $dynamicRef: "#meta" } }, ue = {
  $schema: ne,
  $id: oe,
  $vocabulary: se,
  $dynamicAnchor: ce,
  title: ie,
  type: de,
  properties: me
}, fe = "https://json-schema.org/draft/2020-12/schema", $e = "https://json-schema.org/draft/2020-12/meta/content", le = { "https://json-schema.org/draft/2020-12/vocab/content": !0 }, pe = "meta", ye = "Content vocabulary meta-schema", he = ["object", "boolean"], be = { contentEncoding: { type: "string" }, contentMediaType: { type: "string" }, contentSchema: { $dynamicRef: "#meta" } }, ge = {
  $schema: fe,
  $id: $e,
  $vocabulary: le,
  $dynamicAnchor: pe,
  title: ye,
  type: he,
  properties: be
}, ve = "https://json-schema.org/draft/2020-12/schema", je = "https://json-schema.org/draft/2020-12/meta/core", _e = { "https://json-schema.org/draft/2020-12/vocab/core": !0 }, Ae = "meta", Re = "Core vocabulary meta-schema", qe = ["object", "boolean"], Pe = { $id: { $ref: "#/$defs/uriReferenceString", $comment: "Non-empty fragments not allowed.", pattern: "^[^#]*#?$" }, $schema: { $ref: "#/$defs/uriString" }, $ref: { $ref: "#/$defs/uriReferenceString" }, $anchor: { $ref: "#/$defs/anchorString" }, $dynamicRef: { $ref: "#/$defs/uriReferenceString" }, $dynamicAnchor: { $ref: "#/$defs/anchorString" }, $vocabulary: { type: "object", propertyNames: { $ref: "#/$defs/uriString" }, additionalProperties: { type: "boolean" } }, $comment: { type: "string" }, $defs: { type: "object", additionalProperties: { $dynamicRef: "#meta" } } }, Se = { anchorString: { type: "string", pattern: "^[A-Za-z_][-A-Za-z0-9._]*$" }, uriString: { type: "string", format: "uri" }, uriReferenceString: { type: "string", format: "uri-reference" } }, Oe = {
  $schema: ve,
  $id: je,
  $vocabulary: _e,
  $dynamicAnchor: Ae,
  title: Re,
  type: qe,
  properties: Pe,
  $defs: Se
}, Me = "https://json-schema.org/draft/2020-12/schema", Ie = "https://json-schema.org/draft/2020-12/meta/format-annotation", Ne = { "https://json-schema.org/draft/2020-12/vocab/format-annotation": !0 }, Ce = "meta", De = "Format vocabulary meta-schema for annotation results", Ve = ["object", "boolean"], Ee = { format: { type: "string" } }, Te = {
  $schema: Me,
  $id: Ie,
  $vocabulary: Ne,
  $dynamicAnchor: Ce,
  title: De,
  type: Ve,
  properties: Ee
}, we = "https://json-schema.org/draft/2020-12/schema", xe = "https://json-schema.org/draft/2020-12/meta/meta-data", Ke = { "https://json-schema.org/draft/2020-12/vocab/meta-data": !0 }, ke = "meta", ze = "Meta-data vocabulary meta-schema", Fe = ["object", "boolean"], Ge = { title: { type: "string" }, description: { type: "string" }, default: !0, deprecated: { type: "boolean", default: !1 }, readOnly: { type: "boolean", default: !1 }, writeOnly: { type: "boolean", default: !1 }, examples: { type: "array", items: !0 } }, Ue = {
  $schema: we,
  $id: xe,
  $vocabulary: Ke,
  $dynamicAnchor: ke,
  title: ze,
  type: Fe,
  properties: Ge
}, Je = "https://json-schema.org/draft/2020-12/schema", Le = "https://json-schema.org/draft/2020-12/meta/validation", Ze = { "https://json-schema.org/draft/2020-12/vocab/validation": !0 }, He = "meta", Be = "Validation vocabulary meta-schema", Qe = ["object", "boolean"], We = { type: { anyOf: [{ $ref: "#/$defs/simpleTypes" }, { type: "array", items: { $ref: "#/$defs/simpleTypes" }, minItems: 1, uniqueItems: !0 }] }, const: !0, enum: { type: "array", items: !0 }, multipleOf: { type: "number", exclusiveMinimum: 0 }, maximum: { type: "number" }, exclusiveMaximum: { type: "number" }, minimum: { type: "number" }, exclusiveMinimum: { type: "number" }, maxLength: { $ref: "#/$defs/nonNegativeInteger" }, minLength: { $ref: "#/$defs/nonNegativeIntegerDefault0" }, pattern: { type: "string", format: "regex" }, maxItems: { $ref: "#/$defs/nonNegativeInteger" }, minItems: { $ref: "#/$defs/nonNegativeIntegerDefault0" }, uniqueItems: { type: "boolean", default: !1 }, maxContains: { $ref: "#/$defs/nonNegativeInteger" }, minContains: { $ref: "#/$defs/nonNegativeInteger", default: 1 }, maxProperties: { $ref: "#/$defs/nonNegativeInteger" }, minProperties: { $ref: "#/$defs/nonNegativeIntegerDefault0" }, required: { $ref: "#/$defs/stringArray" }, dependentRequired: { type: "object", additionalProperties: { $ref: "#/$defs/stringArray" } } }, Xe = { nonNegativeInteger: { type: "integer", minimum: 0 }, nonNegativeIntegerDefault0: { $ref: "#/$defs/nonNegativeInteger", default: 0 }, simpleTypes: { enum: ["array", "boolean", "integer", "null", "number", "object", "string"] }, stringArray: { type: "array", items: { type: "string" }, uniqueItems: !0, default: [] } }, Ye = {
  $schema: Je,
  $id: Le,
  $vocabulary: Ze,
  $dynamicAnchor: He,
  title: Be,
  type: Qe,
  properties: We,
  $defs: Xe
};
var b;
function et() {
  if (b) return p;
  b = 1, Object.defineProperty(p, "__esModule", { value: !0 });
  const r = H, e = re, n = ue, t = ge, a = Oe, o = Te, d = Ue, s = Ye, m = ["/properties"];
  function c(y) {
    return [
      r,
      e,
      n,
      t,
      a,
      u(this, o),
      d,
      u(this, s)
    ].forEach((f) => this.addMetaSchema(f, void 0, !1)), this;
    function u(f, i) {
      return y ? f.$dataMetaSchema(i, m) : i;
    }
  }
  return p.default = c, p;
}
var g;
function tt() {
  return g || (g = 1, function(r, e) {
    Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = e.Ajv2020 = void 0;
    const n = S(), t = x(), a = O(), o = et(), d = "https://json-schema.org/draft/2020-12/schema";
    class s extends n.default {
      constructor(i = {}) {
        super({
          ...i,
          dynamicRef: !0,
          next: !0,
          unevaluated: !0
        });
      }
      _addVocabularies() {
        super._addVocabularies(), t.default.forEach((i) => this.addVocabulary(i)), this.opts.discriminator && this.addKeyword(a.default);
      }
      _addDefaultMetaSchema() {
        super._addDefaultMetaSchema();
        const { $data: i, meta: j } = this.opts;
        j && (o.default.call(this, i), this.refs["http://json-schema.org/schema"] = d);
      }
      defaultMeta() {
        return this.opts.defaultMeta = super.defaultMeta() || (this.getSchema(d) ? d : void 0);
      }
    }
    e.Ajv2020 = s, r.exports = e = s, r.exports.Ajv2020 = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
    var m = M();
    Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
      return m.KeywordCxt;
    } });
    var c = I();
    Object.defineProperty(e, "_", { enumerable: !0, get: function() {
      return c._;
    } }), Object.defineProperty(e, "str", { enumerable: !0, get: function() {
      return c.str;
    } }), Object.defineProperty(e, "stringify", { enumerable: !0, get: function() {
      return c.stringify;
    } }), Object.defineProperty(e, "nil", { enumerable: !0, get: function() {
      return c.nil;
    } }), Object.defineProperty(e, "Name", { enumerable: !0, get: function() {
      return c.Name;
    } }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
      return c.CodeGen;
    } });
    var y = N();
    Object.defineProperty(e, "ValidationError", { enumerable: !0, get: function() {
      return y.default;
    } });
    var u = C();
    Object.defineProperty(e, "MissingRefError", { enumerable: !0, get: function() {
      return u.default;
    } });
  }($, $.exports)), $.exports;
}
var v = tt();
const at = /* @__PURE__ */ D(v), ot = /* @__PURE__ */ w({
  __proto__: null,
  default: at
}, [v]);
export {
  ot as _
};
