@gravitee/graphene-core 3.54.0 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/composed/JsonSchemaForm/JsonSchemaForm.d.ts +21 -1
  2. package/dist/composed/JsonSchemaForm/JsonSchemaForm.d.ts.map +1 -1
  3. package/dist/composed/JsonSchemaForm/conditional/concretizePath.d.ts +1 -1
  4. package/dist/composed/JsonSchemaForm/fields/__test-utils__/errorVisibility.d.ts +39 -0
  5. package/dist/composed/JsonSchemaForm/fields/__test-utils__/errorVisibility.d.ts.map +1 -0
  6. package/dist/composed/JsonSchemaForm/fields/oneOf/OneOfField.d.ts.map +1 -1
  7. package/dist/composed/JsonSchemaForm/form-bindings/extractDefaults.d.ts.map +1 -1
  8. package/dist/composed/JsonSchemaForm/form-bindings/hiddenFormErrors.d.ts +38 -0
  9. package/dist/composed/JsonSchemaForm/form-bindings/hiddenFormErrors.d.ts.map +1 -0
  10. package/dist/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.d.ts.map +1 -1
  11. package/dist/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.d.ts +4 -3
  12. package/dist/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.d.ts.map +1 -1
  13. package/dist/composed/JsonSchemaForm/form-bindings/resolveAt.d.ts +11 -5
  14. package/dist/composed/JsonSchemaForm/form-bindings/resolveAt.d.ts.map +1 -1
  15. package/dist/composed/JsonSchemaForm/index.d.ts +2 -0
  16. package/dist/composed/JsonSchemaForm/index.d.ts.map +1 -1
  17. package/dist/composed/JsonSchemaForm/models/JsonSchemaFormContext.d.ts +7 -3
  18. package/dist/composed/JsonSchemaForm/models/JsonSchemaFormContext.d.ts.map +1 -1
  19. package/dist/composed/JsonSchemaForm/models/jsonSchemaResolver.types.d.ts +2 -0
  20. package/dist/composed/JsonSchemaForm/models/jsonSchemaResolver.types.d.ts.map +1 -1
  21. package/dist/composed/JsonSchemaForm/schema/buildIndex.d.ts.map +1 -1
  22. package/dist/composed/JsonSchemaForm/schema/displayedErrorPaths.d.ts +21 -0
  23. package/dist/composed/JsonSchemaForm/schema/displayedErrorPaths.d.ts.map +1 -0
  24. package/dist/composed/JsonSchemaForm/schema/types.d.ts +6 -5
  25. package/dist/composed/JsonSchemaForm/schema/types.d.ts.map +1 -1
  26. package/dist/composed/JsonSchemaForm/schema/visibleFields.d.ts +2 -0
  27. package/dist/composed/JsonSchemaForm/schema/visibleFields.d.ts.map +1 -1
  28. package/dist/composed/JsonSchemaForm/utils/readPath.d.ts +1 -2
  29. package/dist/composed/JsonSchemaForm/utils/readPath.d.ts.map +1 -1
  30. package/dist/index.js +1298 -439
  31. package/package.json +1 -1
  32. package/snippets/json-schema-form-simple.tsx +12 -7
package/dist/index.js CHANGED
@@ -29840,8 +29840,9 @@ function SY(e) {
29840
29840
  e !== void 0 && (t[n] = e);
29841
29841
  }
29842
29842
  let n = (e.oneOf ?? e.anyOf)?.find((e) => !eY(e));
29843
- if (n?.properties) {
29844
- for (let [e, r] of Object.entries(n.properties)) if (r.const !== void 0) t[e] = r.const;
29843
+ if (n?.properties) for (let [e, r] of Object.entries(n.properties)) {
29844
+ let n = mY(r);
29845
+ if (n) t[e] = structuredClone(n.value);
29845
29846
  else if (!(e in t)) {
29846
29847
  let n = SY(r);
29847
29848
  n !== void 0 && (t[e] = n);
@@ -30073,7 +30074,7 @@ function IY({ index: e, path: n, itemsNode: r, itemTitle: i, depth: a, inline: o
30073
30074
  basePath: f,
30074
30075
  disabled: c
30075
30076
  },
30076
- children: /* @__PURE__ */ U(CX, {
30077
+ children: /* @__PURE__ */ U(EX, {
30077
30078
  node: r,
30078
30079
  name: "",
30079
30080
  depth: a + 1,
@@ -30617,85 +30618,112 @@ function lX(e, t) {
30617
30618
  //#endregion
30618
30619
  //#region src/composed/JsonSchemaForm/fields/oneOf/OneOfField.tsx
30619
30620
  function uX({ node: e, depth: t }) {
30620
- let n = b(), { control: r, index: i, basePath: a, testIdPrefix: o } = n, { schema: s } = e, c = i.variantIndices, l = qe(() => e.variants ?? [], [e.variants]), [u, d] = Xe(() => rX(l.map((e) => e.raw), a, c, (e) => r._getWatch(a ? `${a}.${e}` : e))), f = qe(() => l[u]?.dependencyBranches ?? [], [l, u]);
30621
- if (l.length === 0) return null;
30622
- let p = l[u] ?? l[0], m = n.disabled || s.readOnly === !0, h = `${a || "root"}-variant`, g = (e) => {
30623
- if (e === u) return;
30624
- let t = l[u];
30621
+ let n = b(), { control: r, index: i, basePath: a, testIdPrefix: o, onVariantChange: s } = n, { schema: c } = e, l = i.variantIndices, u = qe(() => e.variants ?? [], [e.variants]), d = fX(a, n.name), [f, p] = Xe(() => rX(u.map((e) => e.raw), d, l, (e) => r._getWatch(a ? `${a}.${e}` : e))), [m, h] = Xe(!1), g = mX(a ? O(r._defaultValues, a) : r._defaultValues), _ = (u[f] ?? u[0])?.consts ?? [], v = _.map(({ key: e }) => a ? `${a}.${e}` : e), y = M({
30622
+ control: r,
30623
+ name: v.length > 0 ? v : [dX]
30624
+ }), x = _.every(({ value: e }, t) => JSON.stringify(y[t]) === JSON.stringify(e)), S = qe(() => u[f]?.dependencyBranches ?? [], [u, f]), w = Ye(!1);
30625
+ if (Ue(() => {
30626
+ w.current && (w.current = !1, s?.(d, f));
30627
+ }, [
30628
+ s,
30629
+ d,
30630
+ f
30631
+ ]), u.length === 0) return null;
30632
+ let T = u[f] ?? u[0], E = n.disabled || c.readOnly === !0, D = `${a || "root"}-variant`, j = (e) => {
30633
+ if (e === f) {
30634
+ l.set(d, e), h(!0);
30635
+ return;
30636
+ }
30637
+ let t = u[f];
30625
30638
  if (t) {
30626
30639
  for (let e of t.properties.keys()) r.unregister(a ? `${a}.${e}` : e);
30627
30640
  for (let e of t.dependencyBranches ?? []) for (let t of e.properties.keys()) r.unregister(a ? `${a}.${t}` : t);
30628
30641
  }
30629
- c.set(a, e), d(e);
30630
- }, _ = t === 0 ? s.title || "Variant" : null;
30642
+ l.set(d, e), w.current = !0, h(!0), p(e);
30643
+ }, N = t === 0 ? c.title || "Variant" : null;
30631
30644
  return /* @__PURE__ */ W($e, { children: [
30632
30645
  /* @__PURE__ */ W(k, { children: [
30633
- _ !== null && /* @__PURE__ */ U(R, {
30634
- htmlFor: h,
30635
- children: _
30646
+ N !== null && /* @__PURE__ */ U(R, {
30647
+ htmlFor: D,
30648
+ children: N
30636
30649
  }),
30637
30650
  /* @__PURE__ */ W(wH, {
30638
- value: String(u),
30639
- onValueChange: (e) => g(Number(e)),
30640
- disabled: m,
30651
+ value: x ? String(f) : "",
30652
+ onValueChange: (e) => j(Number(e)),
30653
+ disabled: E,
30641
30654
  children: [/* @__PURE__ */ U(DH, {
30642
- id: h,
30643
- "aria-label": _ === null ? "Variant" : void 0,
30655
+ id: D,
30656
+ "aria-label": N === null ? "Variant" : void 0,
30644
30657
  "data-testid": A(o, a, "variant"),
30645
30658
  children: /* @__PURE__ */ U(EH, { placeholder: "Select a variant…" })
30646
- }), /* @__PURE__ */ U(OH, { children: l.map((e, t) => /* @__PURE__ */ U(AH, {
30659
+ }), /* @__PURE__ */ U(OH, { children: u.map((e, t) => /* @__PURE__ */ U(AH, {
30647
30660
  value: String(t),
30648
30661
  "data-testid": A(o, a, `variant-option-${t}`),
30649
30662
  children: e.raw.title ?? `Variant ${t + 1}`
30650
30663
  }, t)) })]
30651
30664
  }),
30652
- t === 0 && s.description && /* @__PURE__ */ U(C, { children: s.description }),
30653
- s.gioConfig?.banner && /* @__PURE__ */ U(F, { banner: s.gioConfig.banner }),
30654
- p.raw.description && /* @__PURE__ */ U(C, { children: p.raw.description }),
30655
- p.raw.gioConfig?.banner && /* @__PURE__ */ U(F, { banner: p.raw.gioConfig.banner })
30665
+ t === 0 && c.description && /* @__PURE__ */ U(C, { children: c.description }),
30666
+ c.gioConfig?.banner && /* @__PURE__ */ U(F, { banner: c.gioConfig.banner }),
30667
+ T.raw.description && /* @__PURE__ */ U(C, { children: T.raw.description }),
30668
+ T.raw.gioConfig?.banner && /* @__PURE__ */ U(F, { banner: T.raw.gioConfig.banner })
30656
30669
  ] }),
30657
- p.consts.map(({ key: e, value: t }) => /* @__PURE__ */ U(dX, {
30670
+ T.consts.map(({ key: e, value: t }) => /* @__PURE__ */ U(pX, {
30658
30671
  path: a ? `${a}.${e}` : e,
30659
- value: t
30672
+ value: t,
30673
+ fill: g,
30674
+ picked: m
30660
30675
  }, e)),
30661
- Array.from(p.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ U(CX, {
30676
+ Array.from(T.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ U(EX, {
30662
30677
  node: n,
30663
30678
  name: e,
30664
30679
  depth: t + 1
30665
- }, `${u}-${e}`)),
30666
- f.length > 0 && /* @__PURE__ */ U(nX, {
30667
- branches: f,
30680
+ }, `${f}-${e}`)),
30681
+ S.length > 0 && /* @__PURE__ */ U(nX, {
30682
+ branches: S,
30668
30683
  basePath: a
30669
30684
  }),
30670
- f.map((e, n) => /* @__PURE__ */ U(LJ, {
30685
+ S.map((e, n) => /* @__PURE__ */ U(LJ, {
30671
30686
  condition: VJ(e.showIf, a),
30672
- children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ U(CX, {
30687
+ children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ U(EX, {
30673
30688
  node: n,
30674
30689
  name: e,
30675
30690
  depth: t + 1
30676
30691
  }, e))
30677
- }, `${u}-var-dep-${n}`))
30692
+ }, `${f}-var-dep-${n}`))
30678
30693
  ] });
30679
30694
  }
30680
- function dX({ path: e, value: t }) {
30681
- let { control: n } = b(), { field: r } = I({
30682
- control: n,
30695
+ var dX = "__no-discriminator__";
30696
+ function fX(e, t) {
30697
+ return t ? e === t ? "" : e.startsWith(`${t}.`) ? e.slice(t.length + 1) : e : e;
30698
+ }
30699
+ function pX({ path: e, value: t, fill: n, picked: r }) {
30700
+ let { control: i } = b(), { field: a } = I({
30701
+ control: i,
30683
30702
  name: e
30684
- }), { onChange: i } = r;
30703
+ }), { onChange: o, value: s } = a;
30685
30704
  return Ue(() => {
30686
- i(t);
30687
- }, [i, t]), null;
30705
+ (r ? JSON.stringify(s) !== JSON.stringify(t) : n && s === void 0) && o(structuredClone(t));
30706
+ }, [
30707
+ n,
30708
+ r,
30709
+ s,
30710
+ o,
30711
+ t
30712
+ ]), null;
30713
+ }
30714
+ function mX(e) {
30715
+ return e == null ? !0 : typeof e != "object" || Array.isArray(e) ? !1 : Object.values(e).every((e) => e === void 0);
30688
30716
  }
30689
30717
  //#endregion
30690
30718
  //#region src/composed/JsonSchemaForm/fields/object/ObjectField.tsx
30691
- function fX({ node: e, name: n, depth: r, hiddenTitle: i }) {
30719
+ function hX({ node: e, name: n, depth: r, hiddenTitle: i }) {
30692
30720
  let a = b(), { schema: o } = e, s = n ? a.basePath ? `${a.basePath}.${n}` : n : a.basePath, c = nY(o) || rY(o), l = qe(() => e.dependencyBranches ?? [], [e.dependencyBranches]), u = l.length > 0, d = (e.properties || c || u) && /* @__PURE__ */ U(P.Provider, {
30693
30721
  value: {
30694
30722
  ...a,
30695
30723
  basePath: s
30696
30724
  },
30697
30725
  children: /* @__PURE__ */ W(L, { children: [
30698
- e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ U(CX, {
30726
+ e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ U(EX, {
30699
30727
  node: t,
30700
30728
  name: e,
30701
30729
  depth: r + 1
@@ -30706,7 +30734,7 @@ function fX({ node: e, name: n, depth: r, hiddenTitle: i }) {
30706
30734
  }),
30707
30735
  l.map((e, t) => /* @__PURE__ */ U(LJ, {
30708
30736
  condition: VJ(e.showIf, s),
30709
- children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ U(CX, {
30737
+ children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ U(EX, {
30710
30738
  node: t,
30711
30739
  name: e,
30712
30740
  depth: r + 1
@@ -30736,7 +30764,7 @@ function fX({ node: e, name: n, depth: r, hiddenTitle: i }) {
30736
30764
  }
30737
30765
  //#endregion
30738
30766
  //#region src/composed/PasswordInput/PasswordInput.tsx
30739
- function pX({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, "data-testid": o, ...s }) {
30767
+ function gX({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, "data-testid": o, ...s }) {
30740
30768
  let [c, l] = Xe(!1);
30741
30769
  return /* @__PURE__ */ W($A, {
30742
30770
  className: e,
@@ -30764,15 +30792,15 @@ function pX({ groupClassName: e, showLabel: t = "Show password", hideLabel: n =
30764
30792
  })]
30765
30793
  });
30766
30794
  }
30767
- pX.displayName = "PasswordInput";
30795
+ gX.displayName = "PasswordInput";
30768
30796
  //#endregion
30769
30797
  //#region src/composed/JsonSchemaForm/fields/string/StringField.tsx
30770
- var mX = "{#request.headers['x-custom'] == 'value'}";
30771
- function hX({ node: n, name: r, hiddenTitle: i }) {
30798
+ var _X = "{#request.headers['x-custom'] == 'value'}";
30799
+ function vX({ node: n, name: r, hiddenTitle: i }) {
30772
30800
  let { control: a, basePath: o, disabled: s, testIdPrefix: c } = b(), { schema: l } = n, u = r ? o ? `${o}.${r}` : r : o, { field: d, fieldState: f } = I({
30773
30801
  control: a,
30774
30802
  name: u
30775
- }), p = i ?? T(l, r), m = s || l.readOnly === !0, h = f.invalid, g = typeof d.value == "string" ? d.value : "", v = l.gioConfig?.el === !0, y = (Array.isArray(l.examples) && l.examples[0] !== void 0 && l.examples[0] !== null ? String(l.examples[0]) : void 0) ?? (l.default !== void 0 && l.default !== null ? String(l.default) : void 0) ?? (v ? mX : void 0), x = v ? "font-mono text-xs" : void 0, S = {
30803
+ }), p = i ?? T(l, r), m = s || l.readOnly === !0, h = f.invalid, g = typeof d.value == "string" ? d.value : "", v = l.gioConfig?.el === !0, y = (Array.isArray(l.examples) && l.examples[0] !== void 0 && l.examples[0] !== null ? String(l.examples[0]) : void 0) ?? (l.default !== void 0 && l.default !== null ? String(l.default) : void 0) ?? (v ? _X : void 0), x = v ? "font-mono text-xs" : void 0, S = {
30776
30804
  id: u,
30777
30805
  value: g,
30778
30806
  onChange: d.onChange,
@@ -30801,7 +30829,7 @@ function hX({ node: n, name: r, hiddenTitle: i }) {
30801
30829
  l.format === "text" ? /* @__PURE__ */ U(e, {
30802
30830
  ...S,
30803
30831
  className: x
30804
- }) : l.format === "password" ? /* @__PURE__ */ U(pX, {
30832
+ }) : l.format === "password" ? /* @__PURE__ */ U(gX, {
30805
30833
  ...S,
30806
30834
  pattern: l.pattern
30807
30835
  }) : /* @__PURE__ */ U(QA, {
@@ -30820,23 +30848,23 @@ function hX({ node: n, name: r, hiddenTitle: i }) {
30820
30848
  }
30821
30849
  //#endregion
30822
30850
  //#region src/composed/JsonSchemaForm/fields/resource/ResourceTypeField.tsx
30823
- function gX({ node: e, name: t }) {
30824
- let { externalContext: n } = b(), r = yX(n);
30825
- return r === null ? /* @__PURE__ */ U(hX, {
30851
+ function yX({ node: e, name: t }) {
30852
+ let { externalContext: n } = b(), r = SX(n);
30853
+ return r === null ? /* @__PURE__ */ U(vX, {
30826
30854
  node: e,
30827
30855
  name: t
30828
- }) : /* @__PURE__ */ U(_X, {
30856
+ }) : /* @__PURE__ */ U(bX, {
30829
30857
  node: e,
30830
30858
  name: t,
30831
30859
  injected: r
30832
30860
  });
30833
30861
  }
30834
- function _X({ node: e, name: t, injected: n }) {
30862
+ function bX({ node: e, name: t, injected: n }) {
30835
30863
  let { control: r, basePath: i, disabled: a, testIdPrefix: o } = b(), { schema: s } = e, c = t ? i ? `${i}.${t}` : t : i, { field: l, fieldState: u } = I({
30836
30864
  control: r,
30837
30865
  name: c,
30838
30866
  defaultValue: s.default
30839
- }), { ref: d, onBlur: f } = l, p = vX(s.gioConfig?.uiTypeProps?.resourceType), m = (e) => p.length === 0 || p.some((t) => e.startsWith(t)), h = n.filter((e) => m(e.type)).map((e) => e.name), g = typeof l.value == "string" ? l.value : "";
30867
+ }), { ref: d, onBlur: f } = l, p = xX(s.gioConfig?.uiTypeProps?.resourceType), m = (e) => p.length === 0 || p.some((t) => e.startsWith(t)), h = n.filter((e) => m(e.type)).map((e) => e.name), g = typeof l.value == "string" ? l.value : "";
30840
30868
  g !== "" && !h.includes(g) && h.unshift(g);
30841
30869
  let v = T(s, t), y = a || s.readOnly === !0, x = h.length === 0 ? "No matching resources on this API" : "Select a resource…";
30842
30870
  return /* @__PURE__ */ W(k, {
@@ -30874,17 +30902,17 @@ function _X({ node: e, name: t, injected: n }) {
30874
30902
  ]
30875
30903
  });
30876
30904
  }
30877
- function vX(e) {
30905
+ function xX(e) {
30878
30906
  return typeof e == "string" ? [e] : Array.isArray(e) ? e.filter((e) => typeof e == "string") : [];
30879
30907
  }
30880
- function yX(e) {
30908
+ function SX(e) {
30881
30909
  let t = e?.resources;
30882
30910
  return Array.isArray(t) ? t.filter((e) => typeof e == "object" && !!e && typeof e.name == "string" && typeof e.type == "string") : null;
30883
30911
  }
30884
30912
  //#endregion
30885
30913
  //#region src/composed/JsonSchemaForm/utils/fieldKind.ts
30886
- function bX(e) {
30887
- let t = xX(e.type);
30914
+ function CX(e) {
30915
+ let t = wX(e.type);
30888
30916
  if (e.const !== void 0 && e.type === void 0 && e.enum === void 0) return "const";
30889
30917
  if (Array.isArray(e.enum) && e.enum.length > 0 || XJ(e)) return "enum";
30890
30918
  if (ZJ(e)) return "multiSelect";
@@ -30898,19 +30926,19 @@ function bX(e) {
30898
30926
  if (e.properties || t === "object" || nY(e) || rY(e)) return "object";
30899
30927
  if (t === "array" && e.items && !Array.isArray(e.items)) return "array";
30900
30928
  }
30901
- function xX(e) {
30929
+ function wX(e) {
30902
30930
  return Array.isArray(e) ? e.find((e) => e !== "null") ?? e[0] : e;
30903
30931
  }
30904
30932
  //#endregion
30905
30933
  //#region src/composed/JsonSchemaForm/SchemaField.tsx
30906
- var SX = ze(() => import("./CodeEditorField-DJcqc1vU.js").then((e) => ({ default: e.CodeEditorField })));
30907
- function CX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30934
+ var TX = ze(() => import("./CodeEditorField-DJcqc1vU.js").then((e) => ({ default: e.CodeEditorField })));
30935
+ function EX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30908
30936
  let { basePath: i } = b(), { schema: a } = e, o = t ?? "", s = t ? i ? `${i}.${t}` : t : i, c = qe(() => [s], [s]), l = qe(() => Object.prototype.hasOwnProperty.call(a, "default") ? {
30909
30937
  path: s,
30910
30938
  value: a.default
30911
30939
  } : void 0, [a, s]), u = qe(() => e.displayIf ? VJ(e.displayIf, i) : void 0, [e.displayIf, i]), d = qe(() => e.disableIf ? VJ(e.disableIf, i) : void 0, [e.disableIf, i]);
30912
30940
  if (a.deprecated === !0) return null;
30913
- let f = wX(e, o, t, n, r);
30941
+ let f = DX(e, o, t, n, r);
30914
30942
  return f === null ? null : (d && (f = /* @__PURE__ */ U(zJ, {
30915
30943
  condition: d,
30916
30944
  children: f
@@ -30921,8 +30949,8 @@ function CX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30921
30949
  children: f
30922
30950
  }) : f);
30923
30951
  }
30924
- function wX(e, t, n, r, i) {
30925
- let { schema: a } = e, o = bX(a);
30952
+ function DX(e, t, n, r, i) {
30953
+ let { schema: a } = e, o = CX(a);
30926
30954
  switch (o) {
30927
30955
  case "const": return /* @__PURE__ */ U(GY, {
30928
30956
  node: e,
@@ -30944,7 +30972,7 @@ function wX(e, t, n, r, i) {
30944
30972
  });
30945
30973
  case "codeEditor": return /* @__PURE__ */ U(Fe, {
30946
30974
  fallback: null,
30947
- children: /* @__PURE__ */ U(SX, {
30975
+ children: /* @__PURE__ */ U(TX, {
30948
30976
  node: e,
30949
30977
  name: t
30950
30978
  })
@@ -30960,16 +30988,16 @@ function wX(e, t, n, r, i) {
30960
30988
  name: t,
30961
30989
  hiddenTitle: i
30962
30990
  });
30963
- case "resourceType": return /* @__PURE__ */ U(gX, {
30991
+ case "resourceType": return /* @__PURE__ */ U(yX, {
30964
30992
  node: e,
30965
30993
  name: t
30966
30994
  });
30967
- case "string": return /* @__PURE__ */ U(hX, {
30995
+ case "string": return /* @__PURE__ */ U(vX, {
30968
30996
  node: e,
30969
30997
  name: t,
30970
30998
  hiddenTitle: i
30971
30999
  });
30972
- case "object": return /* @__PURE__ */ U(fX, {
31000
+ case "object": return /* @__PURE__ */ U(hX, {
30973
31001
  node: e,
30974
31002
  name: n,
30975
31003
  depth: r,
@@ -30980,21 +31008,25 @@ function wX(e, t, n, r, i) {
30980
31008
  name: n,
30981
31009
  depth: r
30982
31010
  });
30983
- case void 0: return console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${TX(a)}). Field is omitted.`), null;
31011
+ case void 0: return console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${OX(a)}). Field is omitted.`), null;
30984
31012
  default: return o;
30985
31013
  }
30986
31014
  }
30987
- function TX(e) {
31015
+ function OX(e) {
30988
31016
  return e.type ? Array.isArray(e.type) ? e.type.join("|") : e.type : e.oneOf ? "oneOf" : e.anyOf ? "anyOf" : e.allOf ? "allOf" : "unknown";
30989
31017
  }
30990
31018
  //#endregion
30991
31019
  //#region src/composed/JsonSchemaForm/JsonSchemaForm.tsx
30992
- function EX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i, "data-testid": a }) {
30993
- let o = qe(() => {
31020
+ function kX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i, "data-testid": a, variantPicks: o, onVariantChange: s }) {
31021
+ let c = qe(() => {
30994
31022
  try {
31023
+ let t = uY(e, n);
30995
31024
  return {
30996
31025
  ok: !0,
30997
- value: uY(e, n)
31026
+ value: o ? {
31027
+ ...t,
31028
+ variantIndices: o
31029
+ } : t
30998
31030
  };
30999
31031
  } catch (e) {
31000
31032
  return {
@@ -31002,64 +31034,72 @@ function EX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i,
31002
31034
  error: e instanceof Error ? e.message : "Unknown schema error"
31003
31035
  };
31004
31036
  }
31005
- }, [e, n]), s = qe(() => o.ok ? {
31037
+ }, [
31038
+ e,
31039
+ n,
31040
+ o
31041
+ ]), l = qe(() => c.ok ? {
31006
31042
  ok: !0,
31007
31043
  contextValue: {
31008
31044
  control: t,
31009
31045
  basePath: n,
31010
31046
  disabled: r,
31011
31047
  externalContext: i,
31012
- index: o.value,
31048
+ name: n,
31049
+ onVariantChange: s,
31050
+ index: c.value,
31013
31051
  testIdPrefix: a
31014
31052
  }
31015
31053
  } : {
31016
31054
  ok: !1,
31017
- error: o.error
31055
+ error: c.error
31018
31056
  }, [
31019
- o,
31057
+ c,
31020
31058
  t,
31021
31059
  n,
31022
31060
  r,
31023
31061
  i,
31024
- a
31062
+ a,
31063
+ s
31025
31064
  ]);
31026
- return s.ok ? /* @__PURE__ */ U(P.Provider, {
31027
- value: s.contextValue,
31028
- children: /* @__PURE__ */ U(CX, { node: s.contextValue.index.root })
31065
+ return l.ok ? /* @__PURE__ */ U(P.Provider, {
31066
+ value: l.contextValue,
31067
+ children: /* @__PURE__ */ U(EX, { node: l.contextValue.index.root })
31029
31068
  }) : /* @__PURE__ */ W("p", {
31030
31069
  role: "alert",
31031
31070
  className: "text-sm text-destructive",
31032
31071
  "data-testid": A(a, "schema-error"),
31033
- children: ["Schema error: ", s.error]
31072
+ children: ["Schema error: ", l.error]
31034
31073
  });
31035
31074
  }
31036
31075
  //#endregion
31037
31076
  //#region src/composed/JsonSchemaForm/schema/visibleFields.ts
31038
- var DX = [];
31039
- function OX(e, t, n, r) {
31040
- let i = [...e.properties ?? []], a = [...e.dependencyBranches ?? []], o = kX(e, t, n, r), s = o === void 0 ? void 0 : e.variants?.[o];
31077
+ var AX = [];
31078
+ function jX(e, t, n, r) {
31079
+ let i = [...e.properties ?? []], a = [...e.dependencyBranches ?? []], o = MX(e, t, n, r), s = o === void 0 ? void 0 : e.variants?.[o];
31041
31080
  s && (i.push(...s.properties), a.push(...s.dependencyBranches ?? []));
31042
31081
  let c = [];
31043
- for (let e of a) jX(e.showIf, n, r) ? i.push(...e.properties) : c.push(...e.properties.keys());
31082
+ for (let e of a) PX(e.showIf, n, r) ? i.push(...e.properties) : c.push(...e.properties.keys());
31044
31083
  let l = new Set(i.map(([e]) => e)), u = new Set(c.filter((e) => !l.has(e))), d = i.map(([e, t]) => ({
31045
31084
  key: e,
31046
31085
  node: t,
31047
- path: NX(n, e)
31048
- }));
31049
- for (let e of d) e.node.displayIf && !jX(e.node.displayIf, e.path, r) && u.add(e.key);
31086
+ path: IX(n, e)
31087
+ })), f = /* @__PURE__ */ new Set();
31088
+ for (let e of d) e.node.displayIf && !PX(e.node.displayIf, e.path, r) && (u.add(e.key), f.add(e.key));
31050
31089
  return {
31051
31090
  visible: d.filter((e) => !u.has(e.key)),
31052
31091
  hiddenKeys: [...u],
31053
- inactiveVariantKeys: AX(e, o, new Set([...l, ...c])),
31092
+ hiddenByDisplayIf: [...f],
31093
+ inactiveVariantKeys: NX(e, o, new Set([...l, ...c])),
31054
31094
  consts: s?.consts ?? [],
31055
31095
  activeVariantIndex: s ? o : void 0
31056
31096
  };
31057
31097
  }
31058
- function kX(e, t, n, r) {
31098
+ function MX(e, t, n, r) {
31059
31099
  if (!(!e.variants || e.variants.length === 0)) return rX(e.variants.map((e) => e.raw), n, r.variantPicks, (e) => t[e]);
31060
31100
  }
31061
- function AX(e, t, n) {
31062
- if (!e.variants || e.variants.length < 2) return DX;
31101
+ function NX(e, t, n) {
31102
+ if (!e.variants || e.variants.length < 2) return AX;
31063
31103
  let r = /* @__PURE__ */ new Set();
31064
31104
  return e.variants.forEach((e, i) => {
31065
31105
  if (i === t) return;
@@ -31067,11 +31107,11 @@ function AX(e, t, n) {
31067
31107
  for (let e of a) n.has(e) || r.add(e);
31068
31108
  }), [...r];
31069
31109
  }
31070
- function jX(e, t, n) {
31110
+ function PX(e, t, n) {
31071
31111
  let r = VJ(e, t);
31072
31112
  return FJ(r, new Map([...r.$eq.keys()].map((e) => [e, PJ(n.root, e)])), n.context);
31073
31113
  }
31074
- function MX(e, t) {
31114
+ function FX(e, t) {
31075
31115
  let n = e.variants ?? [], r = [...e.dependencyBranches ?? [], ...n.flatMap((e) => e.dependencyBranches ?? [])];
31076
31116
  return [
31077
31117
  e.properties?.get(t),
@@ -31079,86 +31119,86 @@ function MX(e, t) {
31079
31119
  ...r.map((e) => e.properties.get(t))
31080
31120
  ].some((e) => e?.schema.deprecated === !0);
31081
31121
  }
31082
- function NX(e, t) {
31122
+ function IX(e, t) {
31083
31123
  return e ? `${e}.${t}` : t;
31084
31124
  }
31085
31125
  //#endregion
31086
31126
  //#region src/composed/JsonSchemaForm/form-bindings/indexSchemaRoot.ts
31087
- var PX = /* @__PURE__ */ new WeakMap();
31088
- function FX(e) {
31089
- let t = PX.get(e);
31127
+ var LX = /* @__PURE__ */ new WeakMap();
31128
+ function RX(e) {
31129
+ let t = LX.get(e);
31090
31130
  if (t === void 0) {
31091
31131
  try {
31092
31132
  t = uY(e).root;
31093
31133
  } catch {
31094
31134
  t = null;
31095
31135
  }
31096
- PX.set(e, t);
31136
+ LX.set(e, t);
31097
31137
  }
31098
31138
  return t;
31099
31139
  }
31100
31140
  //#endregion
31101
31141
  //#region src/composed/JsonSchemaForm/form-bindings/applyVisibleDefaults.ts
31102
- var IX = 20, LX = /* @__PURE__ */ new WeakMap(), RX = /* @__PURE__ */ new WeakSet();
31103
- function zX(e, t, n) {
31104
- let r = FX(e);
31142
+ var zX = 20, BX = /* @__PURE__ */ new WeakMap(), VX = /* @__PURE__ */ new WeakSet();
31143
+ function HX(e, t, n) {
31144
+ let r = RX(e);
31105
31145
  if (!r) return t ?? {};
31106
31146
  let i = structuredClone(t ?? {}), a = t ?? {}, o = {
31107
31147
  root: i,
31108
31148
  context: n
31109
31149
  };
31110
- for (let e = 0; e < IX; e++) if (!VX(r, i, "", o, "fill", a) && !VX(r, i, "", {
31150
+ for (let e = 0; e < zX; e++) if (!WX(r, i, "", o, "fill", a) && !WX(r, i, "", {
31111
31151
  root: structuredClone(i),
31112
31152
  context: n
31113
31153
  }, "remove", a)) return i;
31114
- return RX.has(e) || (RX.add(e), console.warn(`[JsonSchemaForm] applyVisibleDefaults did not settle after ${IX} passes: conditions of this schema feed each other in a loop. Returning the last result.`)), i;
31154
+ return VX.has(e) || (VX.add(e), console.warn(`[JsonSchemaForm] applyVisibleDefaults did not settle after ${zX} passes: conditions of this schema feed each other in a loop. Returning the last result.`)), i;
31115
31155
  }
31116
- function BX(e, t, n, r, i, a) {
31156
+ function UX(e, t, n, r, i, a) {
31117
31157
  if (Array.isArray(t)) {
31118
31158
  let { items: o } = e;
31119
31159
  if (!o) return !1;
31120
31160
  let s = !1;
31121
31161
  return t.forEach((e, c) => {
31122
- let l = nZ(n, String(c));
31123
- if (i === "fill" && e === null && bX(o.schema) === "object") {
31124
- WX(o, l, r, null, (e) => {
31162
+ let l = aZ(n, String(c));
31163
+ if (i === "fill" && e === null && CX(o.schema) === "object") {
31164
+ qX(o, l, r, null, (e) => {
31125
31165
  t[c] = e;
31126
31166
  }) && (s = !0);
31127
31167
  return;
31128
31168
  }
31129
- BX(o, e, l, r, i, ZX(a, c)) && (s = !0);
31169
+ UX(o, e, l, r, i, eZ(a, c)) && (s = !0);
31130
31170
  }), s;
31131
31171
  }
31132
- return typeof t != "object" || !t ? !1 : VX(e, t, n, r, i, a);
31172
+ return typeof t != "object" || !t ? !1 : WX(e, t, n, r, i, a);
31133
31173
  }
31134
- function VX(e, t, n, r, i, a) {
31135
- let o = OX(e, t, n, r), s = i === "remove", c = !1;
31136
- for (let n of s ? o.hiddenKeys : []) !(n in t) || MX(e, n) || (delete t[n], c = !0);
31137
- let l = JX(e, o.activeVariantIndex), u = l?.raw.required ?? [], d = l !== void 0 && QX(e, l, a), f = l !== void 0 && !d ? XX(e) : YX;
31138
- for (let n of s && d ? o.inactiveVariantKeys : []) !(n in t) || u.includes(n) || MX(e, n) || (delete t[n], c = !0);
31139
- let p = $X(e, d ? o.activeVariantIndex : void 0), m = s && p ? eZ(e) : null;
31174
+ function WX(e, t, n, r, i, a) {
31175
+ let o = jX(e, t, n, r), s = i === "remove", c = !1;
31176
+ for (let n of s ? o.hiddenKeys : []) !(n in t) || FX(e, n) || (delete t[n], c = !0);
31177
+ let l = ZX(e, o.activeVariantIndex), u = l?.raw.required ?? [], d = l !== void 0 && tZ(e, l, a), f = l !== void 0 && !d ? $X(e) : QX;
31178
+ for (let n of s && d ? o.inactiveVariantKeys : []) !(n in t) || u.includes(n) || FX(e, n) || (delete t[n], c = !0);
31179
+ let p = nZ(e, d ? o.activeVariantIndex : void 0), m = s && p ? rZ(e) : null;
31140
31180
  for (let e of m ? Object.keys(t) : []) m?.keys.has(e) || m?.patterns.some((t) => t.test(e)) || (delete t[e], c = !0);
31141
31181
  for (let { key: e, value: n } of s || !d ? [] : o.consts) t[e] === void 0 && (t[e] = n, c = !0);
31142
31182
  let h = /* @__PURE__ */ new Set();
31143
31183
  for (let e of o.visible) {
31144
31184
  if (h.has(e.key) || (h.add(e.key), e.node.schema.deprecated === !0)) continue;
31145
31185
  if (!s && t[e.key] === void 0 && !f.has(e.key)) {
31146
- let n = bX(e.node.schema), i = qX(e.node.schema), a = i === void 0 ? HX(n, e.node.schema) : i;
31186
+ let n = CX(e.node.schema), i = XX(e.node.schema), a = i === void 0 ? GX(n, e.node.schema) : i;
31147
31187
  if (a !== void 0) t[e.key] = a, c = !0;
31148
31188
  else if (n === "object") {
31149
- WX(e.node, e.path, r, void 0, GX(t, e.key)) && (c = !0);
31189
+ qX(e.node, e.path, r, void 0, JX(t, e.key)) && (c = !0);
31150
31190
  continue;
31151
31191
  }
31152
- } else if (!s && t[e.key] === null && bX(e.node.schema) === "object") {
31153
- WX(e.node, e.path, r, null, GX(t, e.key)) && (c = !0);
31192
+ } else if (!s && t[e.key] === null && CX(e.node.schema) === "object") {
31193
+ qX(e.node, e.path, r, null, JX(t, e.key)) && (c = !0);
31154
31194
  continue;
31155
- } else !s && t[e.key] === null && UX(bX(e.node.schema)) && (t[e.key] = [], c = !0);
31156
- let n = ZX(a, e.key);
31157
- BX(e.node, t[e.key], e.path, r, i, n) && (c = !0);
31195
+ } else !s && t[e.key] === null && KX(CX(e.node.schema)) && (t[e.key] = [], c = !0);
31196
+ let n = eZ(a, e.key);
31197
+ UX(e.node, t[e.key], e.path, r, i, n) && (c = !0);
31158
31198
  }
31159
31199
  return c;
31160
31200
  }
31161
- function HX(e, t) {
31201
+ function GX(e, t) {
31162
31202
  switch (e) {
31163
31203
  case "const": return structuredClone(t.const);
31164
31204
  case "boolean": return !1;
@@ -31168,39 +31208,39 @@ function HX(e, t) {
31168
31208
  default: return;
31169
31209
  }
31170
31210
  }
31171
- function UX(e) {
31211
+ function KX(e) {
31172
31212
  return e === "array" || e === "headersArray";
31173
31213
  }
31174
- function WX(e, t, n, r, i) {
31214
+ function qX(e, t, n, r, i) {
31175
31215
  let a = {};
31176
- return i(a), VX(e, a, t, n, "fill", void 0), Object.keys(a).length > 0 || KX(e, a, t, n) ? !0 : (i(r), !1);
31216
+ return i(a), WX(e, a, t, n, "fill", void 0), Object.keys(a).length > 0 || YX(e, a, t, n) ? !0 : (i(r), !1);
31177
31217
  }
31178
- function GX(e, t) {
31218
+ function JX(e, t) {
31179
31219
  return (n) => {
31180
31220
  n === void 0 ? delete e[t] : e[t] = n;
31181
31221
  };
31182
31222
  }
31183
- function KX(e, t, n, r) {
31184
- return OX(e, t, n, r).visible.some((e) => {
31223
+ function YX(e, t, n, r) {
31224
+ return jX(e, t, n, r).visible.some((e) => {
31185
31225
  if (e.node.schema.deprecated === !0) return !1;
31186
- let t = bX(e.node.schema);
31226
+ let t = CX(e.node.schema);
31187
31227
  return t !== void 0 && t !== "null" && t !== "object";
31188
31228
  });
31189
31229
  }
31190
- function qX(e) {
31230
+ function XX(e) {
31191
31231
  if (Object.prototype.hasOwnProperty.call(e, "default")) return structuredClone(e.default);
31192
31232
  }
31193
- function JX(e, t) {
31233
+ function ZX(e, t) {
31194
31234
  return t === void 0 ? void 0 : e.variants?.[t];
31195
31235
  }
31196
- var YX = /* @__PURE__ */ new Set();
31197
- function XX(e) {
31236
+ var QX = /* @__PURE__ */ new Set();
31237
+ function $X(e) {
31198
31238
  return new Set((e.variants ?? []).flatMap((e) => e.consts.map(({ key: e }) => e)));
31199
31239
  }
31200
- function ZX(e, t) {
31240
+ function eZ(e, t) {
31201
31241
  if (!(typeof e != "object" || !e)) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0;
31202
31242
  }
31203
- function QX(e, t, n) {
31243
+ function tZ(e, t, n) {
31204
31244
  if (typeof n != "object" || !n || Object.keys(n).length === 0) return !0;
31205
31245
  let r = n, i = (e) => {
31206
31246
  let t = e.consts.filter(({ key: e }) => r[e] !== void 0);
@@ -31208,21 +31248,21 @@ function QX(e, t, n) {
31208
31248
  };
31209
31249
  return i(t) && (e.variants ?? []).every((e) => e === t || !i(e));
31210
31250
  }
31211
- function $X(e, t) {
31251
+ function nZ(e, t) {
31212
31252
  return e.schema.additionalProperties === !1 ? !0 : (t === void 0 ? void 0 : e.variants?.[t])?.raw.additionalProperties === !1;
31213
31253
  }
31214
- function eZ(e) {
31215
- let t = LX.get(e);
31254
+ function rZ(e) {
31255
+ let t = BX.get(e);
31216
31256
  if (t === void 0) {
31217
31257
  let n = /* @__PURE__ */ new Set(), r = [];
31218
- t = tZ(e.schema, n, r) ? {
31258
+ t = iZ(e.schema, n, r) ? {
31219
31259
  keys: n,
31220
31260
  patterns: r
31221
- } : null, LX.set(e, t);
31261
+ } : null, BX.set(e, t);
31222
31262
  }
31223
31263
  return t;
31224
31264
  }
31225
- function tZ(e, t, n) {
31265
+ function iZ(e, t, n) {
31226
31266
  if (e.$ref !== void 0 || e.allOf || e.if !== void 0 || e.then !== void 0 || e.else !== void 0) return !1;
31227
31267
  for (let n of Object.keys(e.properties ?? {})) t.add(n);
31228
31268
  for (let t of Object.keys(e.patternProperties ?? {})) try {
@@ -31232,14 +31272,14 @@ function tZ(e, t, n) {
31232
31272
  }
31233
31273
  let r = [...e.oneOf ?? [], ...e.anyOf ?? []];
31234
31274
  for (let [n, i] of Object.entries(e.dependencies ?? {})) t.add(n), Array.isArray(i) ? i.forEach((e) => t.add(e)) : typeof i == "object" && r.push(i);
31235
- return r.every((e) => tZ(e, t, n));
31275
+ return r.every((e) => iZ(e, t, n));
31236
31276
  }
31237
- function nZ(e, t) {
31277
+ function aZ(e, t) {
31238
31278
  return e ? `${e}.${t}` : t;
31239
31279
  }
31240
31280
  //#endregion
31241
31281
  //#region src/composed/JsonSchemaForm/form-bindings/composeResolvers.ts
31242
- function rZ(...e) {
31282
+ function oZ(...e) {
31243
31283
  return async (t, n, r) => {
31244
31284
  let i = await Promise.all(e.map((e) => e(t, n, r))), a = {};
31245
31285
  for (let e of i) Object.assign(a, e.errors);
@@ -31254,7 +31294,7 @@ function rZ(...e) {
31254
31294
  }
31255
31295
  //#endregion
31256
31296
  //#region ../../node_modules/ajv/dist/compile/codegen/code.js
31257
- var iZ = /* @__PURE__ */ G(((e) => {
31297
+ var sZ = /* @__PURE__ */ G(((e) => {
31258
31298
  Object.defineProperty(e, "__esModule", { value: !0 }), e.regexpCode = e.getEsmExportName = e.getProperty = e.safeStringify = e.stringify = e.strConcat = e.addCodeArg = e.str = e._ = e.nil = e._Code = e.Name = e.IDENTIFIER = e._CodeOrName = void 0;
31259
31299
  var t = class {};
31260
31300
  e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
@@ -31359,9 +31399,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
31359
31399
  return new r(e.toString());
31360
31400
  }
31361
31401
  e.regexpCode = g;
31362
- })), aZ = /* @__PURE__ */ G(((e) => {
31402
+ })), cZ = /* @__PURE__ */ G(((e) => {
31363
31403
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
31364
- var t = iZ(), n = class extends Error {
31404
+ var t = sZ(), n = class extends Error {
31365
31405
  constructor(e) {
31366
31406
  super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
31367
31407
  }
@@ -31470,9 +31510,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
31470
31510
  return c;
31471
31511
  }
31472
31512
  };
31473
- })), oZ = /* @__PURE__ */ G(((e) => {
31513
+ })), lZ = /* @__PURE__ */ G(((e) => {
31474
31514
  Object.defineProperty(e, "__esModule", { value: !0 }), e.or = e.and = e.not = e.CodeGen = e.operators = e.varKinds = e.ValueScopeName = e.ValueScope = e.Scope = e.Name = e.regexpCode = e.stringify = e.getProperty = e.nil = e.strConcat = e.str = e._ = void 0;
31475
- var t = iZ(), n = aZ(), r = iZ();
31515
+ var t = sZ(), n = cZ(), r = sZ();
31476
31516
  Object.defineProperty(e, "_", {
31477
31517
  enumerable: !0,
31478
31518
  get: function() {
@@ -31514,7 +31554,7 @@ var iZ = /* @__PURE__ */ G(((e) => {
31514
31554
  return r.Name;
31515
31555
  }
31516
31556
  });
31517
- var i = aZ();
31557
+ var i = cZ();
31518
31558
  Object.defineProperty(e, "Scope", {
31519
31559
  enumerable: !0,
31520
31560
  get: function() {
@@ -31985,9 +32025,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
31985
32025
  function L(e) {
31986
32026
  return e instanceof t.Name ? e : (0, t._)`(${e})`;
31987
32027
  }
31988
- })), sZ = /* @__PURE__ */ G(((e) => {
32028
+ })), uZ = /* @__PURE__ */ G(((e) => {
31989
32029
  Object.defineProperty(e, "__esModule", { value: !0 }), e.checkStrictMode = e.getErrorPath = e.Type = e.useFunc = e.setEvaluated = e.evaluatedPropsToName = e.mergeEvaluated = e.eachItem = e.unescapeJsonPointer = e.escapeJsonPointer = e.escapeFragment = e.unescapeFragment = e.schemaRefOrVal = e.schemaHasRulesButRef = e.schemaHasRules = e.checkUnknownRules = e.alwaysValidSchema = e.toHash = void 0;
31990
- var t = oZ(), n = iZ();
32030
+ var t = lZ(), n = sZ();
31991
32031
  function r(e) {
31992
32032
  let t = {};
31993
32033
  for (let n of e) t[n] = !0;
@@ -32110,9 +32150,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
32110
32150
  }
32111
32151
  }
32112
32152
  e.checkStrictMode = x;
32113
- })), cZ = /* @__PURE__ */ G(((e) => {
32153
+ })), dZ = /* @__PURE__ */ G(((e) => {
32114
32154
  Object.defineProperty(e, "__esModule", { value: !0 });
32115
- var t = oZ();
32155
+ var t = lZ();
32116
32156
  e.default = {
32117
32157
  data: new t.Name("data"),
32118
32158
  valCxt: new t.Name("valCxt"),
@@ -32131,9 +32171,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
32131
32171
  jsonLen: new t.Name("jsonLen"),
32132
32172
  jsonPart: new t.Name("jsonPart")
32133
32173
  };
32134
- })), lZ = /* @__PURE__ */ G(((e) => {
32174
+ })), fZ = /* @__PURE__ */ G(((e) => {
32135
32175
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
32136
- var t = oZ(), n = sZ(), r = cZ();
32176
+ var t = lZ(), n = uZ(), r = dZ();
32137
32177
  e.keywordError = { message: ({ keyword: e }) => (0, t.str)`must pass "${e}" keyword validation` }, e.keyword$DataError = { message: ({ keyword: e, schemaType: n }) => n ? (0, t.str)`"${e}" keyword must be ${n} ($data)` : (0, t.str)`"${e}" keyword is invalid ($data)` };
32138
32178
  function i(n, r = e.keywordError, i, a) {
32139
32179
  let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
@@ -32195,9 +32235,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
32195
32235
  let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
32196
32236
  a.push([u.keyword, o], [u.params, typeof n == "function" ? n(e) : n || (0, t._)`{}`]), d.messages && a.push([u.message, typeof i == "function" ? i(e) : i]), d.verbose && a.push([u.schema, c], [u.parentSchema, (0, t._)`${p}${m}`], [r.default.data, s]), f && a.push([u.propertyName, f]);
32197
32237
  }
32198
- })), uZ = /* @__PURE__ */ G(((e) => {
32238
+ })), pZ = /* @__PURE__ */ G(((e) => {
32199
32239
  Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
32200
- var t = lZ(), n = oZ(), r = cZ(), i = { message: "boolean schema is false" };
32240
+ var t = fZ(), n = lZ(), r = dZ(), i = { message: "boolean schema is false" };
32201
32241
  function a(e) {
32202
32242
  let { gen: t, schema: i, validateName: a } = e;
32203
32243
  i === !1 ? s(e, !1) : typeof i == "object" && i.$async === !0 ? t.return(r.default.data) : (t.assign((0, n._)`${a}.errors`, null), t.return(!0));
@@ -32221,7 +32261,7 @@ var iZ = /* @__PURE__ */ G(((e) => {
32221
32261
  };
32222
32262
  (0, t.reportError)(o, i, void 0, n);
32223
32263
  }
32224
- })), dZ = /* @__PURE__ */ G(((e) => {
32264
+ })), mZ = /* @__PURE__ */ G(((e) => {
32225
32265
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
32226
32266
  var t = new Set([
32227
32267
  "string",
@@ -32275,7 +32315,7 @@ var iZ = /* @__PURE__ */ G(((e) => {
32275
32315
  };
32276
32316
  }
32277
32317
  e.getRules = r;
32278
- })), fZ = /* @__PURE__ */ G(((e) => {
32318
+ })), hZ = /* @__PURE__ */ G(((e) => {
32279
32319
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
32280
32320
  function t({ schema: e, self: t }, r) {
32281
32321
  let i = t.RULES.types[r];
@@ -32290,9 +32330,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
32290
32330
  return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
32291
32331
  }
32292
32332
  e.shouldUseRule = r;
32293
- })), pZ = /* @__PURE__ */ G(((e) => {
32333
+ })), gZ = /* @__PURE__ */ G(((e) => {
32294
32334
  Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
32295
- var t = dZ(), n = fZ(), r = lZ(), i = oZ(), a = sZ(), o;
32335
+ var t = mZ(), n = hZ(), r = fZ(), i = lZ(), a = uZ(), o;
32296
32336
  (function(e) {
32297
32337
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
32298
32338
  })(o || (e.DataType = o = {}));
@@ -32427,9 +32467,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
32427
32467
  it: e
32428
32468
  };
32429
32469
  }
32430
- })), mZ = /* @__PURE__ */ G(((e) => {
32470
+ })), _Z = /* @__PURE__ */ G(((e) => {
32431
32471
  Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
32432
- var t = oZ(), n = sZ();
32472
+ var t = lZ(), n = uZ();
32433
32473
  function r(e, t) {
32434
32474
  let { properties: n, items: r } = e.schema;
32435
32475
  if (t === "object" && n) for (let t in n) i(e, t, n[t].default);
@@ -32447,9 +32487,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
32447
32487
  let u = (0, t._)`${l} === undefined`;
32448
32488
  c.useDefaults === "empty" && (u = (0, t._)`${u} || ${l} === null || ${l} === ""`), a.if(u, (0, t._)`${l} = ${(0, t.stringify)(i)}`);
32449
32489
  }
32450
- })), hZ = /* @__PURE__ */ G(((e) => {
32490
+ })), vZ = /* @__PURE__ */ G(((e) => {
32451
32491
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateUnion = e.validateArray = e.usePattern = e.callValidateCode = e.schemaProperties = e.allSchemaProperties = e.noPropertyInData = e.propertyInData = e.isOwnProperty = e.hasPropFunc = e.reportMissingProp = e.checkMissingProp = e.checkReportMissingProp = void 0;
32452
- var t = oZ(), n = sZ(), r = cZ(), i = sZ();
32492
+ var t = lZ(), n = uZ(), r = dZ(), i = uZ();
32453
32493
  function a(e, n) {
32454
32494
  let { gen: r, data: i, it: a } = e;
32455
32495
  r.if(d(r, i, n, a.opts.ownProperties), () => {
@@ -32551,9 +32591,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
32551
32591
  })), e.result(s, () => e.reset(), () => e.error(!0));
32552
32592
  }
32553
32593
  e.validateUnion = v;
32554
- })), gZ = /* @__PURE__ */ G(((e) => {
32594
+ })), yZ = /* @__PURE__ */ G(((e) => {
32555
32595
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
32556
- var t = oZ(), n = cZ(), r = hZ(), i = lZ();
32596
+ var t = lZ(), n = dZ(), r = vZ(), i = fZ();
32557
32597
  function a(e, n) {
32558
32598
  let { gen: r, keyword: i, schema: a, parentSchema: o, it: s } = e, c = n.macro.call(s.self, a, o, s), l = u(r, i, c);
32559
32599
  s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
@@ -32632,9 +32672,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
32632
32672
  }
32633
32673
  }
32634
32674
  e.validateKeywordUsage = f;
32635
- })), _Z = /* @__PURE__ */ G(((e) => {
32675
+ })), bZ = /* @__PURE__ */ G(((e) => {
32636
32676
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
32637
- var t = oZ(), n = sZ();
32677
+ var t = lZ(), n = uZ();
32638
32678
  function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
32639
32679
  if (r !== void 0 && a !== void 0) throw Error("both \"keyword\" and \"schema\" passed, only one allowed");
32640
32680
  if (r !== void 0) {
@@ -32678,7 +32718,7 @@ var iZ = /* @__PURE__ */ G(((e) => {
32678
32718
  r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
32679
32719
  }
32680
32720
  e.extendSubschemaMode = a;
32681
- })), vZ = /* @__PURE__ */ G(((e, t) => {
32721
+ })), xZ = /* @__PURE__ */ G(((e, t) => {
32682
32722
  t.exports = function e(t, n) {
32683
32723
  if (t === n) return !0;
32684
32724
  if (t && n && typeof t == "object" && typeof n == "object") {
@@ -32702,7 +32742,7 @@ var iZ = /* @__PURE__ */ G(((e) => {
32702
32742
  }
32703
32743
  return t !== t && n !== n;
32704
32744
  };
32705
- })), yZ = /* @__PURE__ */ G(((e, t) => {
32745
+ })), SZ = /* @__PURE__ */ G(((e, t) => {
32706
32746
  var n = t.exports = function(e, t, n) {
32707
32747
  typeof t == "function" && (n = t, t = {}), n = t.cb || n;
32708
32748
  var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
@@ -32765,9 +32805,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
32765
32805
  function i(e) {
32766
32806
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
32767
32807
  }
32768
- })), bZ = /* @__PURE__ */ G(((e) => {
32808
+ })), CZ = /* @__PURE__ */ G(((e) => {
32769
32809
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
32770
- var t = sZ(), n = vZ(), r = yZ(), i = new Set([
32810
+ var t = uZ(), n = xZ(), r = SZ(), i = new Set([
32771
32811
  "type",
32772
32812
  "format",
32773
32813
  "pattern",
@@ -32856,9 +32896,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
32856
32896
  }
32857
32897
  }
32858
32898
  e.getSchemaRefs = h;
32859
- })), xZ = /* @__PURE__ */ G(((e) => {
32899
+ })), wZ = /* @__PURE__ */ G(((e) => {
32860
32900
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
32861
- var t = uZ(), n = pZ(), r = fZ(), i = pZ(), a = mZ(), o = gZ(), s = _Z(), c = oZ(), l = cZ(), u = bZ(), d = sZ(), f = lZ();
32901
+ var t = pZ(), n = gZ(), r = hZ(), i = gZ(), a = _Z(), o = yZ(), s = bZ(), c = lZ(), l = dZ(), u = CZ(), d = uZ(), f = fZ();
32862
32902
  function p(e) {
32863
32903
  if (S(e) && (w(e), x(e))) {
32864
32904
  _(e);
@@ -33148,23 +33188,23 @@ var iZ = /* @__PURE__ */ G(((e) => {
33148
33188
  }
33149
33189
  }
33150
33190
  e.getData = se;
33151
- })), SZ = /* @__PURE__ */ G(((e) => {
33191
+ })), TZ = /* @__PURE__ */ G(((e) => {
33152
33192
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
33153
33193
  constructor(e) {
33154
33194
  super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
33155
33195
  }
33156
33196
  };
33157
- })), CZ = /* @__PURE__ */ G(((e) => {
33197
+ })), EZ = /* @__PURE__ */ G(((e) => {
33158
33198
  Object.defineProperty(e, "__esModule", { value: !0 });
33159
- var t = bZ();
33199
+ var t = CZ();
33160
33200
  e.default = class extends Error {
33161
33201
  constructor(e, n, r, i) {
33162
33202
  super(i || `can't resolve reference ${r} from id ${n}`), this.missingRef = (0, t.resolveUrl)(e, n, r), this.missingSchema = (0, t.normalizeId)((0, t.getFullPath)(e, this.missingRef));
33163
33203
  }
33164
33204
  };
33165
- })), wZ = /* @__PURE__ */ G(((e) => {
33205
+ })), DZ = /* @__PURE__ */ G(((e) => {
33166
33206
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
33167
- var t = oZ(), n = SZ(), r = cZ(), i = bZ(), a = sZ(), o = xZ(), s = class {
33207
+ var t = lZ(), n = TZ(), r = dZ(), i = CZ(), a = uZ(), o = wZ(), s = class {
33168
33208
  constructor(e) {
33169
33209
  this.refs = {}, this.dynamicAnchors = {};
33170
33210
  let t;
@@ -33323,27 +33363,27 @@ var iZ = /* @__PURE__ */ G(((e) => {
33323
33363
  baseId: t
33324
33364
  }), o.schema !== o.root.schema) return o;
33325
33365
  }
33326
- })), TZ = /* @__PURE__ */ mt({
33327
- $id: () => EZ,
33366
+ })), OZ = /* @__PURE__ */ mt({
33367
+ $id: () => kZ,
33328
33368
  additionalProperties: () => !1,
33329
- default: () => jZ,
33330
- description: () => DZ,
33331
- properties: () => AZ,
33332
- required: () => kZ,
33333
- type: () => OZ
33334
- }), EZ, DZ, OZ, kZ, AZ, jZ, MZ = pt((() => {
33335
- EZ = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", DZ = "Meta-schema for $data reference (JSON AnySchema extension proposal)", OZ = "object", kZ = ["$data"], AZ = { $data: {
33369
+ default: () => PZ,
33370
+ description: () => AZ,
33371
+ properties: () => NZ,
33372
+ required: () => MZ,
33373
+ type: () => jZ
33374
+ }), kZ, AZ, jZ, MZ, NZ, PZ, FZ = pt((() => {
33375
+ kZ = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", AZ = "Meta-schema for $data reference (JSON AnySchema extension proposal)", jZ = "object", MZ = ["$data"], NZ = { $data: {
33336
33376
  type: "string",
33337
33377
  anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
33338
- } }, jZ = {
33339
- $id: EZ,
33340
- description: DZ,
33341
- type: OZ,
33342
- required: kZ,
33343
- properties: AZ,
33378
+ } }, PZ = {
33379
+ $id: kZ,
33380
+ description: AZ,
33381
+ type: jZ,
33382
+ required: MZ,
33383
+ properties: NZ,
33344
33384
  additionalProperties: !1
33345
33385
  };
33346
- })), NZ = /* @__PURE__ */ G(((e, t) => {
33386
+ })), IZ = /* @__PURE__ */ G(((e, t) => {
33347
33387
  var n = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), r = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u), i = RegExp.prototype.test.bind(/^\d*$/u), a = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu), o = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu), s = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u), c = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u), l = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u), u = Array(256);
33348
33388
  {
33349
33389
  let e = "0123456789ABCDEF";
@@ -33692,8 +33732,8 @@ var iZ = /* @__PURE__ */ G(((e) => {
33692
33732
  normalizeIPv6: b,
33693
33733
  stringArrayToHexStripped: f
33694
33734
  };
33695
- })), PZ = /* @__PURE__ */ G(((e, t) => {
33696
- var { isUUID: n } = NZ(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
33735
+ })), LZ = /* @__PURE__ */ G(((e, t) => {
33736
+ var { isUUID: n } = IZ(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
33697
33737
  "http",
33698
33738
  "https",
33699
33739
  "ws",
@@ -33798,8 +33838,8 @@ var iZ = /* @__PURE__ */ G(((e) => {
33798
33838
  isValidSchemeName: a,
33799
33839
  getSchemeHandler: y
33800
33840
  };
33801
- })), FZ = /* @__PURE__ */ G(((e, t) => {
33802
- var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, serializePathEncoding: s, normalizeQueryFragmentEncoding: c, encodeQuery: l, encodeFragment: u, reescapeHostDelimiters: d, isIPv4: f, nonSimpleDomain: p } = NZ(), { SCHEMES: m, getSchemeHandler: h } = PZ(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
33841
+ })), RZ = /* @__PURE__ */ G(((e, t) => {
33842
+ var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, serializePathEncoding: s, normalizeQueryFragmentEncoding: c, encodeQuery: l, encodeFragment: u, reescapeHostDelimiters: d, isIPv4: f, nonSimpleDomain: p } = IZ(), { SCHEMES: m, getSchemeHandler: h } = LZ(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
33803
33843
  function v(e) {
33804
33844
  let t = unescape(String(e));
33805
33845
  if (!g.test(t)) throw TypeError(_);
@@ -33968,20 +34008,20 @@ var iZ = /* @__PURE__ */ G(((e) => {
33968
34008
  parse: N
33969
34009
  };
33970
34010
  t.exports = L, t.exports.default = L, t.exports.fastUri = L;
33971
- })), IZ = /* @__PURE__ */ G(((e) => {
34011
+ })), zZ = /* @__PURE__ */ G(((e) => {
33972
34012
  Object.defineProperty(e, "__esModule", { value: !0 });
33973
- var t = FZ();
34013
+ var t = RZ();
33974
34014
  t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
33975
- })), LZ = /* @__PURE__ */ G(((e) => {
34015
+ })), BZ = /* @__PURE__ */ G(((e) => {
33976
34016
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
33977
- var t = xZ();
34017
+ var t = wZ();
33978
34018
  Object.defineProperty(e, "KeywordCxt", {
33979
34019
  enumerable: !0,
33980
34020
  get: function() {
33981
34021
  return t.KeywordCxt;
33982
34022
  }
33983
34023
  });
33984
- var n = oZ();
34024
+ var n = lZ();
33985
34025
  Object.defineProperty(e, "_", {
33986
34026
  enumerable: !0,
33987
34027
  get: function() {
@@ -34013,7 +34053,7 @@ var iZ = /* @__PURE__ */ G(((e) => {
34013
34053
  return n.CodeGen;
34014
34054
  }
34015
34055
  });
34016
- var r = SZ(), i = CZ(), a = dZ(), o = wZ(), s = oZ(), c = bZ(), l = pZ(), u = sZ(), d = (MZ(), _t(TZ).default), f = IZ(), p = (e, t) => new RegExp(e, t);
34056
+ var r = TZ(), i = EZ(), a = mZ(), o = DZ(), s = lZ(), c = CZ(), l = gZ(), u = uZ(), d = (FZ(), _t(OZ).default), f = zZ(), p = (e, t) => new RegExp(e, t);
34017
34057
  p.code = "new RegExp";
34018
34058
  var m = [
34019
34059
  "removeAdditional",
@@ -34399,16 +34439,16 @@ var iZ = /* @__PURE__ */ G(((e) => {
34399
34439
  function F(e) {
34400
34440
  return { anyOf: [e, P] };
34401
34441
  }
34402
- })), RZ = /* @__PURE__ */ G(((e) => {
34442
+ })), VZ = /* @__PURE__ */ G(((e) => {
34403
34443
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
34404
34444
  keyword: "id",
34405
34445
  code() {
34406
34446
  throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
34407
34447
  }
34408
34448
  };
34409
- })), zZ = /* @__PURE__ */ G(((e) => {
34449
+ })), HZ = /* @__PURE__ */ G(((e) => {
34410
34450
  Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
34411
- var t = CZ(), n = hZ(), r = oZ(), i = cZ(), a = wZ(), o = sZ(), s = {
34451
+ var t = EZ(), n = vZ(), r = lZ(), i = dZ(), a = DZ(), o = uZ(), s = {
34412
34452
  keyword: "$ref",
34413
34453
  schemaType: "string",
34414
34454
  code(e) {
@@ -34481,9 +34521,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34481
34521
  }
34482
34522
  }
34483
34523
  e.callRef = l, e.default = s;
34484
- })), BZ = /* @__PURE__ */ G(((e) => {
34524
+ })), UZ = /* @__PURE__ */ G(((e) => {
34485
34525
  Object.defineProperty(e, "__esModule", { value: !0 });
34486
- var t = RZ(), n = zZ();
34526
+ var t = VZ(), n = HZ();
34487
34527
  e.default = [
34488
34528
  "$schema",
34489
34529
  "$id",
@@ -34494,9 +34534,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34494
34534
  t.default,
34495
34535
  n.default
34496
34536
  ];
34497
- })), VZ = /* @__PURE__ */ G(((e) => {
34537
+ })), WZ = /* @__PURE__ */ G(((e) => {
34498
34538
  Object.defineProperty(e, "__esModule", { value: !0 });
34499
- var t = oZ(), n = t.operators, r = {
34539
+ var t = lZ(), n = t.operators, r = {
34500
34540
  maximum: {
34501
34541
  okStr: "<=",
34502
34542
  ok: n.LTE,
@@ -34532,9 +34572,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34532
34572
  e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
34533
34573
  }
34534
34574
  };
34535
- })), HZ = /* @__PURE__ */ G(((e) => {
34575
+ })), GZ = /* @__PURE__ */ G(((e) => {
34536
34576
  Object.defineProperty(e, "__esModule", { value: !0 });
34537
- var t = oZ();
34577
+ var t = lZ();
34538
34578
  e.default = {
34539
34579
  keyword: "multipleOf",
34540
34580
  type: "number",
@@ -34549,7 +34589,7 @@ var iZ = /* @__PURE__ */ G(((e) => {
34549
34589
  e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
34550
34590
  }
34551
34591
  };
34552
- })), UZ = /* @__PURE__ */ G(((e) => {
34592
+ })), KZ = /* @__PURE__ */ G(((e) => {
34553
34593
  Object.defineProperty(e, "__esModule", { value: !0 });
34554
34594
  function t(e) {
34555
34595
  let t = e.length, n = 0, r = 0, i;
@@ -34557,9 +34597,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34557
34597
  return n;
34558
34598
  }
34559
34599
  e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
34560
- })), WZ = /* @__PURE__ */ G(((e) => {
34600
+ })), qZ = /* @__PURE__ */ G(((e) => {
34561
34601
  Object.defineProperty(e, "__esModule", { value: !0 });
34562
- var t = oZ(), n = sZ(), r = UZ();
34602
+ var t = lZ(), n = uZ(), r = KZ();
34563
34603
  e.default = {
34564
34604
  keyword: ["maxLength", "minLength"],
34565
34605
  type: "string",
@@ -34577,9 +34617,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34577
34617
  e.fail$data((0, t._)`${l} ${c} ${o}`);
34578
34618
  }
34579
34619
  };
34580
- })), GZ = /* @__PURE__ */ G(((e) => {
34620
+ })), JZ = /* @__PURE__ */ G(((e) => {
34581
34621
  Object.defineProperty(e, "__esModule", { value: !0 });
34582
- var t = hZ(), n = sZ(), r = oZ();
34622
+ var t = vZ(), n = uZ(), r = lZ();
34583
34623
  e.default = {
34584
34624
  keyword: "pattern",
34585
34625
  type: "string",
@@ -34600,9 +34640,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34600
34640
  }
34601
34641
  }
34602
34642
  };
34603
- })), KZ = /* @__PURE__ */ G(((e) => {
34643
+ })), YZ = /* @__PURE__ */ G(((e) => {
34604
34644
  Object.defineProperty(e, "__esModule", { value: !0 });
34605
- var t = oZ();
34645
+ var t = lZ();
34606
34646
  e.default = {
34607
34647
  keyword: ["maxProperties", "minProperties"],
34608
34648
  type: "object",
@@ -34620,9 +34660,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34620
34660
  e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
34621
34661
  }
34622
34662
  };
34623
- })), qZ = /* @__PURE__ */ G(((e) => {
34663
+ })), XZ = /* @__PURE__ */ G(((e) => {
34624
34664
  Object.defineProperty(e, "__esModule", { value: !0 });
34625
- var t = hZ(), n = oZ(), r = sZ();
34665
+ var t = vZ(), n = lZ(), r = uZ();
34626
34666
  e.default = {
34627
34667
  keyword: "required",
34628
34668
  type: "object",
@@ -34668,9 +34708,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34668
34708
  }
34669
34709
  }
34670
34710
  };
34671
- })), JZ = /* @__PURE__ */ G(((e) => {
34711
+ })), ZZ = /* @__PURE__ */ G(((e) => {
34672
34712
  Object.defineProperty(e, "__esModule", { value: !0 });
34673
- var t = oZ();
34713
+ var t = lZ();
34674
34714
  e.default = {
34675
34715
  keyword: ["maxItems", "minItems"],
34676
34716
  type: "array",
@@ -34688,13 +34728,13 @@ var iZ = /* @__PURE__ */ G(((e) => {
34688
34728
  e.fail$data((0, t._)`${r}.length ${a} ${i}`);
34689
34729
  }
34690
34730
  };
34691
- })), YZ = /* @__PURE__ */ G(((e) => {
34731
+ })), QZ = /* @__PURE__ */ G(((e) => {
34692
34732
  Object.defineProperty(e, "__esModule", { value: !0 });
34693
- var t = vZ();
34733
+ var t = xZ();
34694
34734
  t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
34695
- })), XZ = /* @__PURE__ */ G(((e) => {
34735
+ })), $Z = /* @__PURE__ */ G(((e) => {
34696
34736
  Object.defineProperty(e, "__esModule", { value: !0 });
34697
- var t = pZ(), n = oZ(), r = sZ(), i = YZ();
34737
+ var t = gZ(), n = lZ(), r = uZ(), i = QZ();
34698
34738
  e.default = {
34699
34739
  keyword: "uniqueItems",
34700
34740
  type: "array",
@@ -34735,9 +34775,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34735
34775
  }
34736
34776
  }
34737
34777
  };
34738
- })), ZZ = /* @__PURE__ */ G(((e) => {
34778
+ })), eQ = /* @__PURE__ */ G(((e) => {
34739
34779
  Object.defineProperty(e, "__esModule", { value: !0 });
34740
- var t = oZ(), n = sZ(), r = YZ();
34780
+ var t = lZ(), n = uZ(), r = QZ();
34741
34781
  e.default = {
34742
34782
  keyword: "const",
34743
34783
  $data: !0,
@@ -34750,9 +34790,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34750
34790
  o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
34751
34791
  }
34752
34792
  };
34753
- })), QZ = /* @__PURE__ */ G(((e) => {
34793
+ })), tQ = /* @__PURE__ */ G(((e) => {
34754
34794
  Object.defineProperty(e, "__esModule", { value: !0 });
34755
- var t = oZ(), n = sZ(), r = YZ();
34795
+ var t = lZ(), n = uZ(), r = QZ();
34756
34796
  e.default = {
34757
34797
  keyword: "enum",
34758
34798
  schemaType: "array",
@@ -34782,9 +34822,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34782
34822
  }
34783
34823
  }
34784
34824
  };
34785
- })), $Z = /* @__PURE__ */ G(((e) => {
34825
+ })), nQ = /* @__PURE__ */ G(((e) => {
34786
34826
  Object.defineProperty(e, "__esModule", { value: !0 });
34787
- var t = VZ(), n = HZ(), r = WZ(), i = GZ(), a = KZ(), o = qZ(), s = JZ(), c = XZ(), l = ZZ(), u = QZ();
34827
+ var t = WZ(), n = GZ(), r = qZ(), i = JZ(), a = YZ(), o = XZ(), s = ZZ(), c = $Z(), l = eQ(), u = tQ();
34788
34828
  e.default = [
34789
34829
  t.default,
34790
34830
  n.default,
@@ -34805,9 +34845,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34805
34845
  l.default,
34806
34846
  u.default
34807
34847
  ];
34808
- })), eQ = /* @__PURE__ */ G(((e) => {
34848
+ })), rQ = /* @__PURE__ */ G(((e) => {
34809
34849
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
34810
- var t = oZ(), n = sZ(), r = {
34850
+ var t = lZ(), n = uZ(), r = {
34811
34851
  keyword: "additionalItems",
34812
34852
  type: "array",
34813
34853
  schemaType: ["boolean", "object"],
@@ -34845,9 +34885,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34845
34885
  }
34846
34886
  }
34847
34887
  e.validateAdditionalItems = i, e.default = r;
34848
- })), tQ = /* @__PURE__ */ G(((e) => {
34888
+ })), iQ = /* @__PURE__ */ G(((e) => {
34849
34889
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
34850
- var t = oZ(), n = sZ(), r = hZ(), i = {
34890
+ var t = lZ(), n = uZ(), r = vZ(), i = {
34851
34891
  keyword: "items",
34852
34892
  type: "array",
34853
34893
  schemaType: [
@@ -34882,9 +34922,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34882
34922
  }
34883
34923
  }
34884
34924
  e.validateTuple = a, e.default = i;
34885
- })), nQ = /* @__PURE__ */ G(((e) => {
34925
+ })), aQ = /* @__PURE__ */ G(((e) => {
34886
34926
  Object.defineProperty(e, "__esModule", { value: !0 });
34887
- var t = tQ();
34927
+ var t = iQ();
34888
34928
  e.default = {
34889
34929
  keyword: "prefixItems",
34890
34930
  type: "array",
@@ -34892,9 +34932,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34892
34932
  before: "uniqueItems",
34893
34933
  code: (e) => (0, t.validateTuple)(e, "items")
34894
34934
  };
34895
- })), rQ = /* @__PURE__ */ G(((e) => {
34935
+ })), oQ = /* @__PURE__ */ G(((e) => {
34896
34936
  Object.defineProperty(e, "__esModule", { value: !0 });
34897
- var t = oZ(), n = sZ(), r = hZ(), i = eQ();
34937
+ var t = lZ(), n = uZ(), r = vZ(), i = rQ();
34898
34938
  e.default = {
34899
34939
  keyword: "items",
34900
34940
  type: "array",
@@ -34909,9 +34949,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34909
34949
  o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
34910
34950
  }
34911
34951
  };
34912
- })), iQ = /* @__PURE__ */ G(((e) => {
34952
+ })), sQ = /* @__PURE__ */ G(((e) => {
34913
34953
  Object.defineProperty(e, "__esModule", { value: !0 });
34914
- var t = oZ(), n = sZ();
34954
+ var t = lZ(), n = uZ();
34915
34955
  e.default = {
34916
34956
  keyword: "contains",
34917
34957
  type: "array",
@@ -34964,9 +35004,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
34964
35004
  }
34965
35005
  }
34966
35006
  };
34967
- })), aQ = /* @__PURE__ */ G(((e) => {
35007
+ })), cQ = /* @__PURE__ */ G(((e) => {
34968
35008
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
34969
- var t = oZ(), n = sZ(), r = hZ();
35009
+ var t = lZ(), n = uZ(), r = vZ();
34970
35010
  e.error = {
34971
35011
  message: ({ params: { property: e, depsCount: n, deps: r } }) => {
34972
35012
  let i = n === 1 ? "property" : "properties";
@@ -35025,9 +35065,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35025
35065
  }, () => i.var(c, !0)), e.ok(c));
35026
35066
  }
35027
35067
  e.validateSchemaDeps = s, e.default = i;
35028
- })), oQ = /* @__PURE__ */ G(((e) => {
35068
+ })), lQ = /* @__PURE__ */ G(((e) => {
35029
35069
  Object.defineProperty(e, "__esModule", { value: !0 });
35030
- var t = oZ(), n = sZ();
35070
+ var t = lZ(), n = uZ();
35031
35071
  e.default = {
35032
35072
  keyword: "propertyNames",
35033
35073
  type: "object",
@@ -35053,9 +35093,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35053
35093
  }), e.ok(s);
35054
35094
  }
35055
35095
  };
35056
- })), sQ = /* @__PURE__ */ G(((e) => {
35096
+ })), uQ = /* @__PURE__ */ G(((e) => {
35057
35097
  Object.defineProperty(e, "__esModule", { value: !0 });
35058
- var t = hZ(), n = oZ(), r = cZ(), i = sZ();
35098
+ var t = vZ(), n = lZ(), r = dZ(), i = uZ();
35059
35099
  e.default = {
35060
35100
  keyword: "additionalProperties",
35061
35101
  type: ["object"],
@@ -35120,9 +35160,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35120
35160
  }
35121
35161
  }
35122
35162
  };
35123
- })), cQ = /* @__PURE__ */ G(((e) => {
35163
+ })), dQ = /* @__PURE__ */ G(((e) => {
35124
35164
  Object.defineProperty(e, "__esModule", { value: !0 });
35125
- var t = xZ(), n = hZ(), r = sZ(), i = sQ();
35165
+ var t = wZ(), n = vZ(), r = uZ(), i = uQ();
35126
35166
  e.default = {
35127
35167
  keyword: "properties",
35128
35168
  type: "object",
@@ -35149,9 +35189,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35149
35189
  }
35150
35190
  }
35151
35191
  };
35152
- })), lQ = /* @__PURE__ */ G(((e) => {
35192
+ })), fQ = /* @__PURE__ */ G(((e) => {
35153
35193
  Object.defineProperty(e, "__esModule", { value: !0 });
35154
- var t = hZ(), n = oZ(), r = sZ(), i = sZ();
35194
+ var t = vZ(), n = lZ(), r = uZ(), i = uZ();
35155
35195
  e.default = {
35156
35196
  keyword: "patternProperties",
35157
35197
  type: "object",
@@ -35184,9 +35224,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35184
35224
  }
35185
35225
  }
35186
35226
  };
35187
- })), uQ = /* @__PURE__ */ G(((e) => {
35227
+ })), pQ = /* @__PURE__ */ G(((e) => {
35188
35228
  Object.defineProperty(e, "__esModule", { value: !0 });
35189
- var t = sZ();
35229
+ var t = uZ();
35190
35230
  e.default = {
35191
35231
  keyword: "not",
35192
35232
  schemaType: ["object", "boolean"],
@@ -35207,17 +35247,17 @@ var iZ = /* @__PURE__ */ G(((e) => {
35207
35247
  },
35208
35248
  error: { message: "must NOT be valid" }
35209
35249
  };
35210
- })), dQ = /* @__PURE__ */ G(((e) => {
35250
+ })), mQ = /* @__PURE__ */ G(((e) => {
35211
35251
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
35212
35252
  keyword: "anyOf",
35213
35253
  schemaType: "array",
35214
35254
  trackErrors: !0,
35215
- code: hZ().validateUnion,
35255
+ code: vZ().validateUnion,
35216
35256
  error: { message: "must match a schema in anyOf" }
35217
35257
  };
35218
- })), fQ = /* @__PURE__ */ G(((e) => {
35258
+ })), hQ = /* @__PURE__ */ G(((e) => {
35219
35259
  Object.defineProperty(e, "__esModule", { value: !0 });
35220
- var t = oZ(), n = sZ();
35260
+ var t = lZ(), n = uZ();
35221
35261
  e.default = {
35222
35262
  keyword: "oneOf",
35223
35263
  schemaType: "array",
@@ -35247,9 +35287,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35247
35287
  }
35248
35288
  }
35249
35289
  };
35250
- })), pQ = /* @__PURE__ */ G(((e) => {
35290
+ })), gQ = /* @__PURE__ */ G(((e) => {
35251
35291
  Object.defineProperty(e, "__esModule", { value: !0 });
35252
- var t = sZ();
35292
+ var t = uZ();
35253
35293
  e.default = {
35254
35294
  keyword: "allOf",
35255
35295
  schemaType: "array",
@@ -35268,9 +35308,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35268
35308
  });
35269
35309
  }
35270
35310
  };
35271
- })), mQ = /* @__PURE__ */ G(((e) => {
35311
+ })), _Q = /* @__PURE__ */ G(((e) => {
35272
35312
  Object.defineProperty(e, "__esModule", { value: !0 });
35273
- var t = oZ(), n = sZ(), r = {
35313
+ var t = lZ(), n = uZ(), r = {
35274
35314
  keyword: "if",
35275
35315
  schemaType: ["object", "boolean"],
35276
35316
  trackErrors: !0,
@@ -35311,9 +35351,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35311
35351
  return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
35312
35352
  }
35313
35353
  e.default = r;
35314
- })), hQ = /* @__PURE__ */ G(((e) => {
35354
+ })), vQ = /* @__PURE__ */ G(((e) => {
35315
35355
  Object.defineProperty(e, "__esModule", { value: !0 });
35316
- var t = sZ();
35356
+ var t = uZ();
35317
35357
  e.default = {
35318
35358
  keyword: ["then", "else"],
35319
35359
  schemaType: ["object", "boolean"],
@@ -35321,9 +35361,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35321
35361
  n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
35322
35362
  }
35323
35363
  };
35324
- })), gQ = /* @__PURE__ */ G(((e) => {
35364
+ })), yQ = /* @__PURE__ */ G(((e) => {
35325
35365
  Object.defineProperty(e, "__esModule", { value: !0 });
35326
- var t = eQ(), n = nQ(), r = tQ(), i = rQ(), a = iQ(), o = aQ(), s = oQ(), c = sQ(), l = cQ(), u = lQ(), d = uQ(), f = dQ(), p = fQ(), m = pQ(), h = mQ(), g = hQ();
35366
+ var t = rQ(), n = aQ(), r = iQ(), i = oQ(), a = sQ(), o = cQ(), s = lQ(), c = uQ(), l = dQ(), u = fQ(), d = pQ(), f = mQ(), p = hQ(), m = gQ(), h = _Q(), g = vQ();
35327
35367
  function _(e = !1) {
35328
35368
  let _ = [
35329
35369
  d.default,
@@ -35341,9 +35381,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35341
35381
  return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
35342
35382
  }
35343
35383
  e.default = _;
35344
- })), _Q = /* @__PURE__ */ G(((e) => {
35384
+ })), bQ = /* @__PURE__ */ G(((e) => {
35345
35385
  Object.defineProperty(e, "__esModule", { value: !0 });
35346
- var t = oZ();
35386
+ var t = lZ();
35347
35387
  e.default = {
35348
35388
  keyword: "format",
35349
35389
  type: ["number", "string"],
@@ -35416,9 +35456,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35416
35456
  }
35417
35457
  }
35418
35458
  };
35419
- })), vQ = /* @__PURE__ */ G(((e) => {
35420
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [_Q().default];
35421
- })), yQ = /* @__PURE__ */ G(((e) => {
35459
+ })), xQ = /* @__PURE__ */ G(((e) => {
35460
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [bQ().default];
35461
+ })), SQ = /* @__PURE__ */ G(((e) => {
35422
35462
  Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
35423
35463
  "title",
35424
35464
  "description",
@@ -35432,9 +35472,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35432
35472
  "contentEncoding",
35433
35473
  "contentSchema"
35434
35474
  ];
35435
- })), bQ = /* @__PURE__ */ G(((e) => {
35475
+ })), CQ = /* @__PURE__ */ G(((e) => {
35436
35476
  Object.defineProperty(e, "__esModule", { value: !0 });
35437
- var t = BZ(), n = $Z(), r = gQ(), i = vQ(), a = yQ();
35477
+ var t = UZ(), n = nQ(), r = yQ(), i = xQ(), a = SQ();
35438
35478
  e.default = [
35439
35479
  t.default,
35440
35480
  n.default,
@@ -35443,15 +35483,15 @@ var iZ = /* @__PURE__ */ G(((e) => {
35443
35483
  a.metadataVocabulary,
35444
35484
  a.contentVocabulary
35445
35485
  ];
35446
- })), xQ = /* @__PURE__ */ G(((e) => {
35486
+ })), wQ = /* @__PURE__ */ G(((e) => {
35447
35487
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
35448
35488
  var t;
35449
35489
  (function(e) {
35450
35490
  e.Tag = "tag", e.Mapping = "mapping";
35451
35491
  })(t || (e.DiscrError = t = {}));
35452
- })), SQ = /* @__PURE__ */ G(((e) => {
35492
+ })), TQ = /* @__PURE__ */ G(((e) => {
35453
35493
  Object.defineProperty(e, "__esModule", { value: !0 });
35454
- var t = oZ(), n = xQ(), r = wZ(), i = CZ(), a = sZ();
35494
+ var t = lZ(), n = wQ(), r = DZ(), i = EZ(), a = uZ();
35455
35495
  e.default = {
35456
35496
  keyword: "discriminator",
35457
35497
  type: "object",
@@ -35519,16 +35559,16 @@ var iZ = /* @__PURE__ */ G(((e) => {
35519
35559
  }
35520
35560
  }
35521
35561
  };
35522
- })), CQ = /* @__PURE__ */ mt({
35523
- $id: () => TQ,
35524
- $schema: () => wQ,
35525
- default: () => AQ,
35526
- definitions: () => DQ,
35527
- properties: () => kQ,
35528
- title: () => EQ,
35529
- type: () => OQ
35530
- }), wQ, TQ, EQ, DQ, OQ, kQ, AQ, jQ = pt((() => {
35531
- wQ = "http://json-schema.org/draft-07/schema#", TQ = "http://json-schema.org/draft-07/schema#", EQ = "Core schema meta-schema", DQ = {
35562
+ })), EQ = /* @__PURE__ */ mt({
35563
+ $id: () => OQ,
35564
+ $schema: () => DQ,
35565
+ default: () => NQ,
35566
+ definitions: () => AQ,
35567
+ properties: () => MQ,
35568
+ title: () => kQ,
35569
+ type: () => jQ
35570
+ }), DQ, OQ, kQ, AQ, jQ, MQ, NQ, PQ = pt((() => {
35571
+ DQ = "http://json-schema.org/draft-07/schema#", OQ = "http://json-schema.org/draft-07/schema#", kQ = "Core schema meta-schema", AQ = {
35532
35572
  schemaArray: {
35533
35573
  type: "array",
35534
35574
  minItems: 1,
@@ -35554,7 +35594,7 @@ var iZ = /* @__PURE__ */ G(((e) => {
35554
35594
  uniqueItems: !0,
35555
35595
  default: []
35556
35596
  }
35557
- }, OQ = ["object", "boolean"], kQ = {
35597
+ }, jQ = ["object", "boolean"], MQ = {
35558
35598
  $id: {
35559
35599
  type: "string",
35560
35600
  format: "uri-reference"
@@ -35653,18 +35693,18 @@ var iZ = /* @__PURE__ */ G(((e) => {
35653
35693
  anyOf: { $ref: "#/definitions/schemaArray" },
35654
35694
  oneOf: { $ref: "#/definitions/schemaArray" },
35655
35695
  not: { $ref: "#" }
35656
- }, AQ = {
35657
- $schema: wQ,
35658
- $id: TQ,
35659
- title: EQ,
35660
- definitions: DQ,
35661
- type: OQ,
35662
- properties: kQ,
35696
+ }, NQ = {
35697
+ $schema: DQ,
35698
+ $id: OQ,
35699
+ title: kQ,
35700
+ definitions: AQ,
35701
+ type: jQ,
35702
+ properties: MQ,
35663
35703
  default: !0
35664
35704
  };
35665
- })), MQ = /* @__PURE__ */ G(((e, t) => {
35705
+ })), FQ = /* @__PURE__ */ G(((e, t) => {
35666
35706
  Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = e.Ajv = void 0;
35667
- var n = LZ(), r = bQ(), i = SQ(), a = (jQ(), _t(CQ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
35707
+ var n = BZ(), r = CQ(), i = TQ(), a = (PQ(), _t(EQ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
35668
35708
  _addVocabularies() {
35669
35709
  super._addVocabularies(), r.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(i.default);
35670
35710
  }
@@ -35678,14 +35718,14 @@ var iZ = /* @__PURE__ */ G(((e) => {
35678
35718
  }
35679
35719
  };
35680
35720
  e.Ajv = c, t.exports = e = c, t.exports.Ajv = c, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = c;
35681
- var l = xZ();
35721
+ var l = wZ();
35682
35722
  Object.defineProperty(e, "KeywordCxt", {
35683
35723
  enumerable: !0,
35684
35724
  get: function() {
35685
35725
  return l.KeywordCxt;
35686
35726
  }
35687
35727
  });
35688
- var u = oZ();
35728
+ var u = lZ();
35689
35729
  Object.defineProperty(e, "_", {
35690
35730
  enumerable: !0,
35691
35731
  get: function() {
@@ -35717,21 +35757,646 @@ var iZ = /* @__PURE__ */ G(((e) => {
35717
35757
  return u.CodeGen;
35718
35758
  }
35719
35759
  });
35720
- var d = SZ();
35760
+ var d = TZ();
35721
35761
  Object.defineProperty(e, "ValidationError", {
35722
35762
  enumerable: !0,
35723
35763
  get: function() {
35724
35764
  return d.default;
35725
35765
  }
35726
35766
  });
35727
- var f = CZ();
35767
+ var f = EZ();
35728
35768
  Object.defineProperty(e, "MissingRefError", {
35729
35769
  enumerable: !0,
35730
35770
  get: function() {
35731
35771
  return f.default;
35732
35772
  }
35733
35773
  });
35734
- })), NQ = /* @__PURE__ */ G(((e) => {
35774
+ })), IQ = /* @__PURE__ */ G(((e) => {
35775
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.dynamicAnchor = void 0;
35776
+ var t = lZ(), n = dZ(), r = DZ(), i = HZ(), a = {
35777
+ keyword: "$dynamicAnchor",
35778
+ schemaType: "string",
35779
+ code: (e) => o(e, e.schema)
35780
+ };
35781
+ function o(e, r) {
35782
+ let { gen: i, it: a } = e;
35783
+ a.schemaEnv.root.dynamicAnchors[r] = !0;
35784
+ let o = (0, t._)`${n.default.dynamicAnchors}${(0, t.getProperty)(r)}`, c = a.errSchemaPath === "#" ? a.validateName : s(e);
35785
+ i.if((0, t._)`!${o}`, () => i.assign(o, c));
35786
+ }
35787
+ e.dynamicAnchor = o;
35788
+ function s(e) {
35789
+ let { schemaEnv: t, schema: n, self: a } = e.it, { root: o, baseId: s, localRefs: c, meta: l } = t.root, { schemaId: u } = a.opts, d = new r.SchemaEnv({
35790
+ schema: n,
35791
+ schemaId: u,
35792
+ root: o,
35793
+ baseId: s,
35794
+ localRefs: c,
35795
+ meta: l
35796
+ });
35797
+ return r.compileSchema.call(a, d), (0, i.getValidate)(e, d);
35798
+ }
35799
+ e.default = a;
35800
+ })), LQ = /* @__PURE__ */ G(((e) => {
35801
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.dynamicRef = void 0;
35802
+ var t = lZ(), n = dZ(), r = HZ(), i = {
35803
+ keyword: "$dynamicRef",
35804
+ schemaType: "string",
35805
+ code: (e) => a(e, e.schema)
35806
+ };
35807
+ function a(e, i) {
35808
+ let { gen: a, keyword: o, it: s } = e;
35809
+ if (i[0] !== "#") throw Error(`"${o}" only supports hash fragment reference`);
35810
+ let c = i.slice(1);
35811
+ if (s.allErrors) l();
35812
+ else {
35813
+ let t = a.let("valid", !1);
35814
+ l(t), e.ok(t);
35815
+ }
35816
+ function l(e) {
35817
+ if (s.schemaEnv.root.dynamicAnchors[c]) {
35818
+ let r = a.let("_v", (0, t._)`${n.default.dynamicAnchors}${(0, t.getProperty)(c)}`);
35819
+ a.if(r, u(r, e), u(s.validateName, e));
35820
+ } else u(s.validateName, e)();
35821
+ }
35822
+ function u(t, n) {
35823
+ return n ? () => a.block(() => {
35824
+ (0, r.callRef)(e, t), a.let(n, !0);
35825
+ }) : () => (0, r.callRef)(e, t);
35826
+ }
35827
+ }
35828
+ e.dynamicRef = a, e.default = i;
35829
+ })), RQ = /* @__PURE__ */ G(((e) => {
35830
+ Object.defineProperty(e, "__esModule", { value: !0 });
35831
+ var t = IQ(), n = uZ();
35832
+ e.default = {
35833
+ keyword: "$recursiveAnchor",
35834
+ schemaType: "boolean",
35835
+ code(e) {
35836
+ e.schema ? (0, t.dynamicAnchor)(e, "") : (0, n.checkStrictMode)(e.it, "$recursiveAnchor: false is ignored");
35837
+ }
35838
+ };
35839
+ })), zQ = /* @__PURE__ */ G(((e) => {
35840
+ Object.defineProperty(e, "__esModule", { value: !0 });
35841
+ var t = LQ();
35842
+ e.default = {
35843
+ keyword: "$recursiveRef",
35844
+ schemaType: "string",
35845
+ code: (e) => (0, t.dynamicRef)(e, e.schema)
35846
+ };
35847
+ })), BQ = /* @__PURE__ */ G(((e) => {
35848
+ Object.defineProperty(e, "__esModule", { value: !0 });
35849
+ var t = IQ(), n = LQ(), r = RQ(), i = zQ();
35850
+ e.default = [
35851
+ t.default,
35852
+ n.default,
35853
+ r.default,
35854
+ i.default
35855
+ ];
35856
+ })), VQ = /* @__PURE__ */ G(((e) => {
35857
+ Object.defineProperty(e, "__esModule", { value: !0 });
35858
+ var t = cQ();
35859
+ e.default = {
35860
+ keyword: "dependentRequired",
35861
+ type: "object",
35862
+ schemaType: "object",
35863
+ error: t.error,
35864
+ code: (e) => (0, t.validatePropertyDeps)(e)
35865
+ };
35866
+ })), HQ = /* @__PURE__ */ G(((e) => {
35867
+ Object.defineProperty(e, "__esModule", { value: !0 });
35868
+ var t = cQ();
35869
+ e.default = {
35870
+ keyword: "dependentSchemas",
35871
+ type: "object",
35872
+ schemaType: "object",
35873
+ code: (e) => (0, t.validateSchemaDeps)(e)
35874
+ };
35875
+ })), UQ = /* @__PURE__ */ G(((e) => {
35876
+ Object.defineProperty(e, "__esModule", { value: !0 });
35877
+ var t = uZ();
35878
+ e.default = {
35879
+ keyword: ["maxContains", "minContains"],
35880
+ type: "array",
35881
+ schemaType: "number",
35882
+ code({ keyword: e, parentSchema: n, it: r }) {
35883
+ n.contains === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "contains" is ignored`);
35884
+ }
35885
+ };
35886
+ })), WQ = /* @__PURE__ */ G(((e) => {
35887
+ Object.defineProperty(e, "__esModule", { value: !0 });
35888
+ var t = VQ(), n = HQ(), r = UQ();
35889
+ e.default = [
35890
+ t.default,
35891
+ n.default,
35892
+ r.default
35893
+ ];
35894
+ })), GQ = /* @__PURE__ */ G(((e) => {
35895
+ Object.defineProperty(e, "__esModule", { value: !0 });
35896
+ var t = lZ(), n = uZ(), r = dZ();
35897
+ e.default = {
35898
+ keyword: "unevaluatedProperties",
35899
+ type: "object",
35900
+ schemaType: ["boolean", "object"],
35901
+ trackErrors: !0,
35902
+ error: {
35903
+ message: "must NOT have unevaluated properties",
35904
+ params: ({ params: e }) => (0, t._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`
35905
+ },
35906
+ code(e) {
35907
+ let { gen: i, schema: a, data: o, errsCount: s, it: c } = e;
35908
+ /* istanbul ignore if */
35909
+ if (!s) throw Error("ajv implementation error");
35910
+ let { allErrors: l, props: u } = c;
35911
+ u instanceof t.Name ? i.if((0, t._)`${u} !== true`, () => i.forIn("key", o, (e) => i.if(f(u, e), () => d(e)))) : u !== !0 && i.forIn("key", o, (e) => u === void 0 ? d(e) : i.if(p(u, e), () => d(e))), c.props = !0, e.ok((0, t._)`${s} === ${r.default.errors}`);
35912
+ function d(r) {
35913
+ if (a === !1) {
35914
+ e.setParams({ unevaluatedProperty: r }), e.error(), l || i.break();
35915
+ return;
35916
+ }
35917
+ if (!(0, n.alwaysValidSchema)(c, a)) {
35918
+ let a = i.name("valid");
35919
+ e.subschema({
35920
+ keyword: "unevaluatedProperties",
35921
+ dataProp: r,
35922
+ dataPropType: n.Type.Str
35923
+ }, a), l || i.if((0, t.not)(a), () => i.break());
35924
+ }
35925
+ }
35926
+ function f(e, n) {
35927
+ return (0, t._)`!${e} || !${e}[${n}]`;
35928
+ }
35929
+ function p(e, n) {
35930
+ let r = [];
35931
+ for (let i in e) e[i] === !0 && r.push((0, t._)`${n} !== ${i}`);
35932
+ return (0, t.and)(...r);
35933
+ }
35934
+ }
35935
+ };
35936
+ })), KQ = /* @__PURE__ */ G(((e) => {
35937
+ Object.defineProperty(e, "__esModule", { value: !0 });
35938
+ var t = lZ(), n = uZ();
35939
+ e.default = {
35940
+ keyword: "unevaluatedItems",
35941
+ type: "array",
35942
+ schemaType: ["boolean", "object"],
35943
+ error: {
35944
+ message: ({ params: { len: e } }) => (0, t.str)`must NOT have more than ${e} items`,
35945
+ params: ({ params: { len: e } }) => (0, t._)`{limit: ${e}}`
35946
+ },
35947
+ code(e) {
35948
+ let { gen: r, schema: i, data: a, it: o } = e, s = o.items || 0;
35949
+ if (s === !0) return;
35950
+ let c = r.const("len", (0, t._)`${a}.length`);
35951
+ if (i === !1) e.setParams({ len: s }), e.fail((0, t._)`${c} > ${s}`);
35952
+ else if (typeof i == "object" && !(0, n.alwaysValidSchema)(o, i)) {
35953
+ let n = r.var("valid", (0, t._)`${c} <= ${s}`);
35954
+ r.if((0, t.not)(n), () => l(n, s)), e.ok(n);
35955
+ }
35956
+ o.items = !0;
35957
+ function l(i, a) {
35958
+ r.forRange("i", a, c, (a) => {
35959
+ e.subschema({
35960
+ keyword: "unevaluatedItems",
35961
+ dataProp: a,
35962
+ dataPropType: n.Type.Num
35963
+ }, i), o.allErrors || r.if((0, t.not)(i), () => r.break());
35964
+ });
35965
+ }
35966
+ }
35967
+ };
35968
+ })), qQ = /* @__PURE__ */ G(((e) => {
35969
+ Object.defineProperty(e, "__esModule", { value: !0 });
35970
+ var t = GQ(), n = KQ();
35971
+ e.default = [t.default, n.default];
35972
+ })), JQ = /* @__PURE__ */ mt({
35973
+ $id: () => XQ,
35974
+ $recursiveAnchor: () => !0,
35975
+ $schema: () => YQ,
35976
+ $vocabulary: () => ZQ,
35977
+ allOf: () => $Q,
35978
+ default: () => n$,
35979
+ properties: () => t$,
35980
+ title: () => QQ,
35981
+ type: () => e$
35982
+ }), YQ, XQ, ZQ, QQ, $Q, e$, t$, n$, r$ = pt((() => {
35983
+ YQ = "https://json-schema.org/draft/2019-09/schema", XQ = "https://json-schema.org/draft/2019-09/schema", ZQ = {
35984
+ "https://json-schema.org/draft/2019-09/vocab/core": !0,
35985
+ "https://json-schema.org/draft/2019-09/vocab/applicator": !0,
35986
+ "https://json-schema.org/draft/2019-09/vocab/validation": !0,
35987
+ "https://json-schema.org/draft/2019-09/vocab/meta-data": !0,
35988
+ "https://json-schema.org/draft/2019-09/vocab/format": !1,
35989
+ "https://json-schema.org/draft/2019-09/vocab/content": !0
35990
+ }, QQ = "Core and Validation specifications meta-schema", $Q = [
35991
+ { $ref: "meta/core" },
35992
+ { $ref: "meta/applicator" },
35993
+ { $ref: "meta/validation" },
35994
+ { $ref: "meta/meta-data" },
35995
+ { $ref: "meta/format" },
35996
+ { $ref: "meta/content" }
35997
+ ], e$ = ["object", "boolean"], t$ = {
35998
+ definitions: {
35999
+ $comment: "While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",
36000
+ type: "object",
36001
+ additionalProperties: { $recursiveRef: "#" },
36002
+ default: {}
36003
+ },
36004
+ dependencies: {
36005
+ $comment: "\"dependencies\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \"dependentSchemas\" and \"dependentRequired\"",
36006
+ type: "object",
36007
+ additionalProperties: { anyOf: [{ $recursiveRef: "#" }, { $ref: "meta/validation#/$defs/stringArray" }] }
36008
+ }
36009
+ }, n$ = {
36010
+ $schema: YQ,
36011
+ $id: XQ,
36012
+ $vocabulary: ZQ,
36013
+ $recursiveAnchor: !0,
36014
+ title: QQ,
36015
+ allOf: $Q,
36016
+ type: e$,
36017
+ properties: t$
36018
+ };
36019
+ })), i$ = /* @__PURE__ */ mt({
36020
+ $defs: () => d$,
36021
+ $id: () => o$,
36022
+ $recursiveAnchor: () => !0,
36023
+ $schema: () => a$,
36024
+ $vocabulary: () => s$,
36025
+ default: () => f$,
36026
+ properties: () => u$,
36027
+ title: () => c$,
36028
+ type: () => l$
36029
+ }), a$, o$, s$, c$, l$, u$, d$, f$, p$ = pt((() => {
36030
+ a$ = "https://json-schema.org/draft/2019-09/schema", o$ = "https://json-schema.org/draft/2019-09/meta/applicator", s$ = { "https://json-schema.org/draft/2019-09/vocab/applicator": !0 }, c$ = "Applicator vocabulary meta-schema", l$ = ["object", "boolean"], u$ = {
36031
+ additionalItems: { $recursiveRef: "#" },
36032
+ unevaluatedItems: { $recursiveRef: "#" },
36033
+ items: { anyOf: [{ $recursiveRef: "#" }, { $ref: "#/$defs/schemaArray" }] },
36034
+ contains: { $recursiveRef: "#" },
36035
+ additionalProperties: { $recursiveRef: "#" },
36036
+ unevaluatedProperties: { $recursiveRef: "#" },
36037
+ properties: {
36038
+ type: "object",
36039
+ additionalProperties: { $recursiveRef: "#" },
36040
+ default: {}
36041
+ },
36042
+ patternProperties: {
36043
+ type: "object",
36044
+ additionalProperties: { $recursiveRef: "#" },
36045
+ propertyNames: { format: "regex" },
36046
+ default: {}
36047
+ },
36048
+ dependentSchemas: {
36049
+ type: "object",
36050
+ additionalProperties: { $recursiveRef: "#" }
36051
+ },
36052
+ propertyNames: { $recursiveRef: "#" },
36053
+ if: { $recursiveRef: "#" },
36054
+ then: { $recursiveRef: "#" },
36055
+ else: { $recursiveRef: "#" },
36056
+ allOf: { $ref: "#/$defs/schemaArray" },
36057
+ anyOf: { $ref: "#/$defs/schemaArray" },
36058
+ oneOf: { $ref: "#/$defs/schemaArray" },
36059
+ not: { $recursiveRef: "#" }
36060
+ }, d$ = { schemaArray: {
36061
+ type: "array",
36062
+ minItems: 1,
36063
+ items: { $recursiveRef: "#" }
36064
+ } }, f$ = {
36065
+ $schema: a$,
36066
+ $id: o$,
36067
+ $vocabulary: s$,
36068
+ $recursiveAnchor: !0,
36069
+ title: c$,
36070
+ type: l$,
36071
+ properties: u$,
36072
+ $defs: d$
36073
+ };
36074
+ })), m$ = /* @__PURE__ */ mt({
36075
+ $id: () => g$,
36076
+ $recursiveAnchor: () => !0,
36077
+ $schema: () => h$,
36078
+ $vocabulary: () => _$,
36079
+ default: () => x$,
36080
+ properties: () => b$,
36081
+ title: () => v$,
36082
+ type: () => y$
36083
+ }), h$, g$, _$, v$, y$, b$, x$, S$ = pt((() => {
36084
+ h$ = "https://json-schema.org/draft/2019-09/schema", g$ = "https://json-schema.org/draft/2019-09/meta/content", _$ = { "https://json-schema.org/draft/2019-09/vocab/content": !0 }, v$ = "Content vocabulary meta-schema", y$ = ["object", "boolean"], b$ = {
36085
+ contentMediaType: { type: "string" },
36086
+ contentEncoding: { type: "string" },
36087
+ contentSchema: { $recursiveRef: "#" }
36088
+ }, x$ = {
36089
+ $schema: h$,
36090
+ $id: g$,
36091
+ $vocabulary: _$,
36092
+ $recursiveAnchor: !0,
36093
+ title: v$,
36094
+ type: y$,
36095
+ properties: b$
36096
+ };
36097
+ })), C$ = /* @__PURE__ */ mt({
36098
+ $id: () => T$,
36099
+ $recursiveAnchor: () => !0,
36100
+ $schema: () => w$,
36101
+ $vocabulary: () => E$,
36102
+ default: () => A$,
36103
+ properties: () => k$,
36104
+ title: () => D$,
36105
+ type: () => O$
36106
+ }), w$, T$, E$, D$, O$, k$, A$, j$ = pt((() => {
36107
+ w$ = "https://json-schema.org/draft/2019-09/schema", T$ = "https://json-schema.org/draft/2019-09/meta/core", E$ = { "https://json-schema.org/draft/2019-09/vocab/core": !0 }, D$ = "Core vocabulary meta-schema", O$ = ["object", "boolean"], k$ = {
36108
+ $id: {
36109
+ type: "string",
36110
+ format: "uri-reference",
36111
+ $comment: "Non-empty fragments not allowed.",
36112
+ pattern: "^[^#]*#?$"
36113
+ },
36114
+ $schema: {
36115
+ type: "string",
36116
+ format: "uri"
36117
+ },
36118
+ $anchor: {
36119
+ type: "string",
36120
+ pattern: "^[A-Za-z][-A-Za-z0-9.:_]*$"
36121
+ },
36122
+ $ref: {
36123
+ type: "string",
36124
+ format: "uri-reference"
36125
+ },
36126
+ $recursiveRef: {
36127
+ type: "string",
36128
+ format: "uri-reference"
36129
+ },
36130
+ $recursiveAnchor: {
36131
+ type: "boolean",
36132
+ default: !1
36133
+ },
36134
+ $vocabulary: {
36135
+ type: "object",
36136
+ propertyNames: {
36137
+ type: "string",
36138
+ format: "uri"
36139
+ },
36140
+ additionalProperties: { type: "boolean" }
36141
+ },
36142
+ $comment: { type: "string" },
36143
+ $defs: {
36144
+ type: "object",
36145
+ additionalProperties: { $recursiveRef: "#" },
36146
+ default: {}
36147
+ }
36148
+ }, A$ = {
36149
+ $schema: w$,
36150
+ $id: T$,
36151
+ $vocabulary: E$,
36152
+ $recursiveAnchor: !0,
36153
+ title: D$,
36154
+ type: O$,
36155
+ properties: k$
36156
+ };
36157
+ })), M$ = /* @__PURE__ */ mt({
36158
+ $id: () => P$,
36159
+ $recursiveAnchor: () => !0,
36160
+ $schema: () => N$,
36161
+ $vocabulary: () => F$,
36162
+ default: () => z$,
36163
+ properties: () => R$,
36164
+ title: () => I$,
36165
+ type: () => L$
36166
+ }), N$, P$, F$, I$, L$, R$, z$, B$ = pt((() => {
36167
+ N$ = "https://json-schema.org/draft/2019-09/schema", P$ = "https://json-schema.org/draft/2019-09/meta/format", F$ = { "https://json-schema.org/draft/2019-09/vocab/format": !0 }, I$ = "Format vocabulary meta-schema", L$ = ["object", "boolean"], R$ = { format: { type: "string" } }, z$ = {
36168
+ $schema: N$,
36169
+ $id: P$,
36170
+ $vocabulary: F$,
36171
+ $recursiveAnchor: !0,
36172
+ title: I$,
36173
+ type: L$,
36174
+ properties: R$
36175
+ };
36176
+ })), V$ = /* @__PURE__ */ mt({
36177
+ $id: () => U$,
36178
+ $recursiveAnchor: () => !0,
36179
+ $schema: () => H$,
36180
+ $vocabulary: () => W$,
36181
+ default: () => J$,
36182
+ properties: () => q$,
36183
+ title: () => G$,
36184
+ type: () => K$
36185
+ }), H$, U$, W$, G$, K$, q$, J$, Y$ = pt((() => {
36186
+ H$ = "https://json-schema.org/draft/2019-09/schema", U$ = "https://json-schema.org/draft/2019-09/meta/meta-data", W$ = { "https://json-schema.org/draft/2019-09/vocab/meta-data": !0 }, G$ = "Meta-data vocabulary meta-schema", K$ = ["object", "boolean"], q$ = {
36187
+ title: { type: "string" },
36188
+ description: { type: "string" },
36189
+ default: !0,
36190
+ deprecated: {
36191
+ type: "boolean",
36192
+ default: !1
36193
+ },
36194
+ readOnly: {
36195
+ type: "boolean",
36196
+ default: !1
36197
+ },
36198
+ writeOnly: {
36199
+ type: "boolean",
36200
+ default: !1
36201
+ },
36202
+ examples: {
36203
+ type: "array",
36204
+ items: !0
36205
+ }
36206
+ }, J$ = {
36207
+ $schema: H$,
36208
+ $id: U$,
36209
+ $vocabulary: W$,
36210
+ $recursiveAnchor: !0,
36211
+ title: G$,
36212
+ type: K$,
36213
+ properties: q$
36214
+ };
36215
+ })), X$ = /* @__PURE__ */ mt({
36216
+ $defs: () => r1,
36217
+ $id: () => Q$,
36218
+ $recursiveAnchor: () => !0,
36219
+ $schema: () => Z$,
36220
+ $vocabulary: () => $$,
36221
+ default: () => i1,
36222
+ properties: () => n1,
36223
+ title: () => e1,
36224
+ type: () => t1
36225
+ }), Z$, Q$, $$, e1, t1, n1, r1, i1, a1 = pt((() => {
36226
+ Z$ = "https://json-schema.org/draft/2019-09/schema", Q$ = "https://json-schema.org/draft/2019-09/meta/validation", $$ = { "https://json-schema.org/draft/2019-09/vocab/validation": !0 }, e1 = "Validation vocabulary meta-schema", t1 = ["object", "boolean"], n1 = {
36227
+ multipleOf: {
36228
+ type: "number",
36229
+ exclusiveMinimum: 0
36230
+ },
36231
+ maximum: { type: "number" },
36232
+ exclusiveMaximum: { type: "number" },
36233
+ minimum: { type: "number" },
36234
+ exclusiveMinimum: { type: "number" },
36235
+ maxLength: { $ref: "#/$defs/nonNegativeInteger" },
36236
+ minLength: { $ref: "#/$defs/nonNegativeIntegerDefault0" },
36237
+ pattern: {
36238
+ type: "string",
36239
+ format: "regex"
36240
+ },
36241
+ maxItems: { $ref: "#/$defs/nonNegativeInteger" },
36242
+ minItems: { $ref: "#/$defs/nonNegativeIntegerDefault0" },
36243
+ uniqueItems: {
36244
+ type: "boolean",
36245
+ default: !1
36246
+ },
36247
+ maxContains: { $ref: "#/$defs/nonNegativeInteger" },
36248
+ minContains: {
36249
+ $ref: "#/$defs/nonNegativeInteger",
36250
+ default: 1
36251
+ },
36252
+ maxProperties: { $ref: "#/$defs/nonNegativeInteger" },
36253
+ minProperties: { $ref: "#/$defs/nonNegativeIntegerDefault0" },
36254
+ required: { $ref: "#/$defs/stringArray" },
36255
+ dependentRequired: {
36256
+ type: "object",
36257
+ additionalProperties: { $ref: "#/$defs/stringArray" }
36258
+ },
36259
+ const: !0,
36260
+ enum: {
36261
+ type: "array",
36262
+ items: !0
36263
+ },
36264
+ type: { anyOf: [{ $ref: "#/$defs/simpleTypes" }, {
36265
+ type: "array",
36266
+ items: { $ref: "#/$defs/simpleTypes" },
36267
+ minItems: 1,
36268
+ uniqueItems: !0
36269
+ }] }
36270
+ }, r1 = {
36271
+ nonNegativeInteger: {
36272
+ type: "integer",
36273
+ minimum: 0
36274
+ },
36275
+ nonNegativeIntegerDefault0: {
36276
+ $ref: "#/$defs/nonNegativeInteger",
36277
+ default: 0
36278
+ },
36279
+ simpleTypes: { enum: [
36280
+ "array",
36281
+ "boolean",
36282
+ "integer",
36283
+ "null",
36284
+ "number",
36285
+ "object",
36286
+ "string"
36287
+ ] },
36288
+ stringArray: {
36289
+ type: "array",
36290
+ items: { type: "string" },
36291
+ uniqueItems: !0,
36292
+ default: []
36293
+ }
36294
+ }, i1 = {
36295
+ $schema: Z$,
36296
+ $id: Q$,
36297
+ $vocabulary: $$,
36298
+ $recursiveAnchor: !0,
36299
+ title: e1,
36300
+ type: t1,
36301
+ properties: n1,
36302
+ $defs: r1
36303
+ };
36304
+ })), o1 = /* @__PURE__ */ G(((e) => {
36305
+ Object.defineProperty(e, "__esModule", { value: !0 });
36306
+ var t = (r$(), _t(JQ).default), n = (p$(), _t(i$).default), r = (S$(), _t(m$).default), i = (j$(), _t(C$).default), a = (B$(), _t(M$).default), o = (Y$(), _t(V$).default), s = (a1(), _t(X$).default), c = ["/properties"];
36307
+ function l(e) {
36308
+ return [
36309
+ t,
36310
+ n,
36311
+ r,
36312
+ i,
36313
+ l(this, a),
36314
+ o,
36315
+ l(this, s)
36316
+ ].forEach((e) => this.addMetaSchema(e, void 0, !1)), this;
36317
+ function l(t, n) {
36318
+ return e ? t.$dataMetaSchema(n, c) : n;
36319
+ }
36320
+ }
36321
+ e.default = l;
36322
+ })), s1 = /* @__PURE__ */ G(((e, t) => {
36323
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = e.Ajv2019 = void 0;
36324
+ var n = BZ(), r = CQ(), i = BQ(), a = WQ(), o = qQ(), s = TQ(), c = o1(), l = "https://json-schema.org/draft/2019-09/schema", u = class extends n.default {
36325
+ constructor(e = {}) {
36326
+ super({
36327
+ ...e,
36328
+ dynamicRef: !0,
36329
+ next: !0,
36330
+ unevaluated: !0
36331
+ });
36332
+ }
36333
+ _addVocabularies() {
36334
+ super._addVocabularies(), this.addVocabulary(i.default), r.default.forEach((e) => this.addVocabulary(e)), this.addVocabulary(a.default), this.addVocabulary(o.default), this.opts.discriminator && this.addKeyword(s.default);
36335
+ }
36336
+ _addDefaultMetaSchema() {
36337
+ super._addDefaultMetaSchema();
36338
+ let { $data: e, meta: t } = this.opts;
36339
+ t && (c.default.call(this, e), this.refs["http://json-schema.org/schema"] = l);
36340
+ }
36341
+ defaultMeta() {
36342
+ return this.opts.defaultMeta = super.defaultMeta() || (this.getSchema(l) ? l : void 0);
36343
+ }
36344
+ };
36345
+ e.Ajv2019 = u, t.exports = e = u, t.exports.Ajv2019 = u, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = u;
36346
+ var d = wZ();
36347
+ Object.defineProperty(e, "KeywordCxt", {
36348
+ enumerable: !0,
36349
+ get: function() {
36350
+ return d.KeywordCxt;
36351
+ }
36352
+ });
36353
+ var f = lZ();
36354
+ Object.defineProperty(e, "_", {
36355
+ enumerable: !0,
36356
+ get: function() {
36357
+ return f._;
36358
+ }
36359
+ }), Object.defineProperty(e, "str", {
36360
+ enumerable: !0,
36361
+ get: function() {
36362
+ return f.str;
36363
+ }
36364
+ }), Object.defineProperty(e, "stringify", {
36365
+ enumerable: !0,
36366
+ get: function() {
36367
+ return f.stringify;
36368
+ }
36369
+ }), Object.defineProperty(e, "nil", {
36370
+ enumerable: !0,
36371
+ get: function() {
36372
+ return f.nil;
36373
+ }
36374
+ }), Object.defineProperty(e, "Name", {
36375
+ enumerable: !0,
36376
+ get: function() {
36377
+ return f.Name;
36378
+ }
36379
+ }), Object.defineProperty(e, "CodeGen", {
36380
+ enumerable: !0,
36381
+ get: function() {
36382
+ return f.CodeGen;
36383
+ }
36384
+ });
36385
+ var p = TZ();
36386
+ Object.defineProperty(e, "ValidationError", {
36387
+ enumerable: !0,
36388
+ get: function() {
36389
+ return p.default;
36390
+ }
36391
+ });
36392
+ var m = EZ();
36393
+ Object.defineProperty(e, "MissingRefError", {
36394
+ enumerable: !0,
36395
+ get: function() {
36396
+ return m.default;
36397
+ }
36398
+ });
36399
+ })), c1 = /* @__PURE__ */ G(((e) => {
35735
36400
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
35736
36401
  function t(e, t) {
35737
36402
  return {
@@ -35883,9 +36548,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35883
36548
  return !1;
35884
36549
  }
35885
36550
  }
35886
- })), PQ = /* @__PURE__ */ G(((e) => {
36551
+ })), l1 = /* @__PURE__ */ G(((e) => {
35887
36552
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
35888
- var t = MQ(), n = oZ(), r = n.operators, i = {
36553
+ var t = FQ(), n = lZ(), r = n.operators, i = {
35889
36554
  formatMaximum: {
35890
36555
  okStr: "<=",
35891
36556
  ok: r.LTE,
@@ -35945,9 +36610,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35945
36610
  },
35946
36611
  dependencies: ["format"]
35947
36612
  }, e.default = (t) => (t.addKeyword(e.formatLimitDefinition), t);
35948
- })), FQ = /* @__PURE__ */ G(((e, t) => {
36613
+ })), u1 = /* @__PURE__ */ G(((e, t) => {
35949
36614
  Object.defineProperty(e, "__esModule", { value: !0 });
35950
- var n = NQ(), r = PQ(), i = oZ(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
36615
+ var n = c1(), r = l1(), i = lZ(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
35951
36616
  if (Array.isArray(t)) return c(e, t, n.fullFormats, a), e;
35952
36617
  let [i, s] = t.mode === "fast" ? [n.fastFormats, o] : [n.fullFormats, a];
35953
36618
  return c(e, t.formats || n.formatNames, i, s), t.keywords && (0, r.default)(e), e;
@@ -35963,9 +36628,9 @@ var iZ = /* @__PURE__ */ G(((e) => {
35963
36628
  for (let r of t) e.addFormat(r, n[r]);
35964
36629
  }
35965
36630
  t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
35966
- })), IQ = /* @__PURE__ */ gt(MQ(), 1), LQ = /* @__PURE__ */ gt(FQ(), 1), RQ = {
36631
+ })), d1 = /* @__PURE__ */ gt(FQ(), 1), f1 = /* @__PURE__ */ gt(s1(), 1), p1 = /* @__PURE__ */ gt(u1(), 1), m1 = {
35967
36632
  required: () => "This field is required",
35968
- type: (e) => `Should be "${BQ(e)}".`,
36633
+ type: (e) => `Should be "${g1(e)}".`,
35969
36634
  minLength: (e) => e.params.limit === 1 ? "This field must not be empty" : `Should NOT be shorter than ${e.params.limit} characters`,
35970
36635
  maxLength: (e) => `Should NOT be longer than ${e.params.limit} characters`,
35971
36636
  minimum: (e) => `Should be >= ${e.params.limit}`,
@@ -35981,76 +36646,83 @@ var iZ = /* @__PURE__ */ G(((e) => {
35981
36646
  format: (e) => `Should be a valid ${e.params.format}`,
35982
36647
  uniqueItemProperties: (e) => `${e.params.propertyName ?? "This field"} must be unique`
35983
36648
  };
35984
- function zQ(e, t) {
35985
- let n = RQ[e.keyword];
36649
+ function h1(e, t) {
36650
+ let n = m1[e.keyword];
35986
36651
  return n ? n(e, t) : e.message ?? "Invalid value";
35987
36652
  }
35988
- function BQ(e) {
36653
+ function g1(e) {
35989
36654
  let t = e.params.type;
35990
36655
  return String(Array.isArray(t) ? t[0] : t);
35991
36656
  }
35992
36657
  //#endregion
35993
36658
  //#region src/composed/JsonSchemaForm/form-bindings/resolveAt.ts
35994
- function VQ(e, t, n) {
35995
- let r = t === "" ? [] : t.split("."), i = e.root, a = n, o = [];
35996
- for (let e of r) {
35997
- if (!i) return {
36659
+ var _1 = /* @__PURE__ */ new Set();
36660
+ function v1(e, t, n, r = {}) {
36661
+ let i = t === "" ? [] : t.split("."), a = {
36662
+ ...r,
36663
+ root: n
36664
+ }, o = e.root, s = n, c = [];
36665
+ for (let e of i) {
36666
+ if (!o) return {
35998
36667
  node: void 0,
35999
36668
  value: void 0
36000
36669
  };
36001
- i = HQ(i, a, n, o), /^\d+$/.test(e) ? (i = i.items, a = Array.isArray(a) ? a[Number(e)] : void 0) : (i = i.properties?.get(e), a = a && typeof a == "object" ? a[e] : void 0), o.push(e);
36670
+ let t = o, { node: n } = y1(t, s, c, a);
36671
+ /^\d+$/.test(e) ? (o = n.items, s = Array.isArray(s) ? s[Number(e)] : void 0) : (o = n.properties?.get(e) ?? t.properties?.get(e), s = s && typeof s == "object" ? s[e] : void 0), c.push(e);
36002
36672
  }
36003
- return i ? {
36004
- node: UQ(HQ(i, a, n, r), r),
36005
- value: a
36006
- } : {
36673
+ if (!o) return {
36007
36674
  node: void 0,
36008
- value: a
36675
+ value: s
36676
+ };
36677
+ let { node: l, hiddenByDisplayIf: u } = y1(o, s, i, a);
36678
+ return {
36679
+ node: b1(l, i),
36680
+ value: s,
36681
+ hiddenByDisplayIf: u
36009
36682
  };
36010
36683
  }
36011
- function HQ(e, t, n, r) {
36012
- let i = new Map(e.properties), a = e.variants ? GQ(e.variants, t) : void 0;
36013
- if (a) for (let [e, t] of a.properties) i.set(e, t);
36014
- let o = [...e.dependencyBranches ?? [], ...a?.dependencyBranches ?? []];
36015
- if (o.length > 0) {
36016
- for (let e of o) if (WQ(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
36017
- }
36018
- return i.size > (e.properties?.size ?? 0) ? {
36019
- ...e,
36020
- properties: i
36021
- } : e;
36684
+ function y1(e, t, n, r) {
36685
+ if (!e.properties && !e.variants?.length && !e.dependencyBranches?.length) return {
36686
+ node: e,
36687
+ hiddenByDisplayIf: _1
36688
+ };
36689
+ let i = jX(e, typeof t == "object" && t && !Array.isArray(t) ? t : {}, n.join("."), r);
36690
+ return {
36691
+ node: {
36692
+ ...e,
36693
+ properties: new Map(i.visible.map((e) => [e.key, e.node]))
36694
+ },
36695
+ hiddenByDisplayIf: new Set(i.hiddenByDisplayIf)
36696
+ };
36022
36697
  }
36023
- function UQ(e, t) {
36698
+ function b1(e, t) {
36024
36699
  return e.displayIf ? {
36025
36700
  ...e,
36026
36701
  displayIf: VJ(e.displayIf, t.join("."))
36027
36702
  } : e;
36028
36703
  }
36029
- function WQ(e, t, n) {
36030
- for (let [r, i] of e) {
36031
- let e = PJ(t, BJ(r, n));
36032
- if (!(Array.isArray(i) ? i : [i]).includes(e)) return !1;
36033
- }
36034
- return !0;
36035
- }
36036
- function GQ(e, t) {
36037
- if (typeof t != "object" || !t) return;
36038
- let n = t;
36039
- return e.find((e) => e.consts.length > 0 && e.consts.every((e) => Object.is(n[e.key], e.value)));
36040
- }
36041
36704
  //#endregion
36042
36705
  //#region src/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.ts
36043
- var KQ = new IQ.default({
36706
+ var x1 = T1(new d1.default({
36044
36707
  strict: !1,
36045
36708
  allErrors: !0
36046
- });
36047
- (0, LQ.default)(KQ);
36048
- for (let e of ["text", "gio-code-editor"]) KQ.addFormat(e, !0);
36049
- KQ.removeKeyword("id"), KQ.addKeyword({
36050
- keyword: "id",
36051
- validate: () => !0
36052
- });
36053
- function qQ(e, t = {}) {
36709
+ })), S1 = T1(new f1.default({
36710
+ strict: !1,
36711
+ allErrors: !0
36712
+ })), C1 = /^https?:\/\/json-schema\.org\/draft\/2019-09\/schema#?$/;
36713
+ function w1(e) {
36714
+ let t = e.$schema;
36715
+ return typeof t == "string" && C1.test(t) ? S1 : x1;
36716
+ }
36717
+ function T1(e) {
36718
+ (0, p1.default)(e);
36719
+ for (let t of ["text", "gio-code-editor"]) e.addFormat(t, !0);
36720
+ return e.removeKeyword("id"), e.addKeyword({
36721
+ keyword: "id",
36722
+ validate: () => !0
36723
+ }), e;
36724
+ }
36725
+ function E1(e, t = {}) {
36054
36726
  let n;
36055
36727
  try {
36056
36728
  n = uY(e);
@@ -36064,9 +36736,9 @@ function qQ(e, t = {}) {
36064
36736
  } }
36065
36737
  });
36066
36738
  }
36067
- let r = n.root.schema, i = n.variantIndices, a;
36739
+ let r = n.root.schema, { variantPicks: i } = t, a = w1(r), o;
36068
36740
  try {
36069
- a = KQ.compile(r);
36741
+ o = a.compile(r);
36070
36742
  } catch (e) {
36071
36743
  let t = e instanceof Error ? e.message : "Invalid JSON Schema";
36072
36744
  return () => ({
@@ -36077,83 +36749,171 @@ function qQ(e, t = {}) {
36077
36749
  } }
36078
36750
  });
36079
36751
  }
36080
- KQ.removeSchema(r);
36081
- let o = async (e, t, r) => {
36082
- let o = a(e) ? [] : a.errors ?? [], s = e$(n.root, e, "", i), c = [...o, ...s];
36083
- return c.length === 0 ? {
36752
+ a.removeSchema(r);
36753
+ let s = async (e, r, a) => {
36754
+ let s = o(e) ? [] : o.errors ?? [], c = V1(n.root, e, "", "", {
36755
+ root: e,
36756
+ context: t.context,
36757
+ variantPicks: i
36758
+ }), l = [...s, ...c];
36759
+ if (l.length === 0) return {
36084
36760
  values: e,
36085
36761
  errors: {}
36086
- } : {
36762
+ };
36763
+ let u = {
36764
+ context: t.context,
36765
+ variantPicks: i
36766
+ };
36767
+ return {
36087
36768
  values: {},
36088
- errors: ZQ(XQ(c.filter((t) => !JQ(t, n, e))), r.criteriaMode ?? "firstError")
36769
+ errors: R1(L1(l.filter((t) => !D1(t, n, e, u))), a.criteriaMode ?? "firstError")
36089
36770
  };
36090
36771
  };
36091
- if (!t.basePath) return o;
36092
- let { basePath: s } = t;
36772
+ if (!t.basePath) return s;
36773
+ let { basePath: c } = t;
36093
36774
  return async (e, t, n) => {
36094
- let r = await o(e[s] ?? {}, t, n);
36775
+ let r = await s(e[c] ?? {}, t, n);
36095
36776
  return Object.keys(r.errors).length === 0 ? {
36096
36777
  values: e,
36097
36778
  errors: {}
36098
36779
  } : {
36099
36780
  values: {},
36100
- errors: { [s]: r.errors }
36781
+ errors: { [c]: r.errors }
36101
36782
  };
36102
36783
  };
36103
36784
  }
36104
- function JQ(e, t, n) {
36105
- let { node: r, value: i } = VQ(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(oY) : []).join("."), n);
36106
- if (!r) return !1;
36785
+ function D1(e, t, n, r) {
36786
+ let { node: i, value: a, hiddenByDisplayIf: o } = v1(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(oY) : []).join("."), n, r);
36787
+ if (!i) return !1;
36107
36788
  switch (e.keyword) {
36108
36789
  case "const":
36109
- case "enum": return YQ(r.schema, i);
36790
+ case "enum": return I1(i.schema, a);
36110
36791
  case "required": {
36111
- let t = e.params.missingProperty;
36112
- return typeof t == "string" && !!r.properties && !r.properties.has(t);
36792
+ if (O1(e, t, n, r.variantPicks)) return !0;
36793
+ let a = e.params.missingProperty;
36794
+ return typeof a != "string" || !i.properties || i.properties.has(a) ? !1 : k1(i.schema, a) ? o?.has(a) === !0 || F1(e.schemaPath) : !0;
36113
36795
  }
36114
36796
  default: return !1;
36115
36797
  }
36116
36798
  }
36117
- function YQ(e, t) {
36799
+ function O1(e, t, n, r) {
36800
+ let i = e.schemaPath.replace(/^#\/?/, "").split("/").map(oY);
36801
+ i.pop();
36802
+ let a = e.instancePath ? e.instancePath.slice(1).split("/").map(oY) : [], o = t.root, s, c = n, l = 0;
36803
+ for (let e = 0; e < i.length && o; e++) {
36804
+ let t = i[e];
36805
+ if (t === "properties") {
36806
+ let t = i[++e];
36807
+ if (a[l] !== t) return !1;
36808
+ o = s ? s.properties.get(t) : o.properties?.get(t), s = void 0, c = A1(c) ? c[t] : void 0, l++;
36809
+ } else if (t === "items" && !s && !/^\d+$/.test(i[e + 1] ?? "")) {
36810
+ let e = a[l];
36811
+ if (e === void 0 || !/^\d+$/.test(e)) return !1;
36812
+ o = o.items, c = Array.isArray(c) ? c[Number(e)] : void 0, l++;
36813
+ } else if ((t === "oneOf" || t === "anyOf") && !s) {
36814
+ let n = o.schema[t]?.[Number(i[++e])], u = o.variants ?? [], d = u.findIndex((e) => e.raw === n);
36815
+ if (d < 0) return !1;
36816
+ let f = A1(c) ? c : {}, p = a.slice(0, l).join(".");
36817
+ if (rX(u.map((e) => e.raw), p, r, (e) => f[e]) !== d) return !0;
36818
+ s = u[d];
36819
+ } else return !1;
36820
+ }
36821
+ return !1;
36822
+ }
36823
+ function k1(e, t) {
36824
+ if (e.$ref !== void 0 || e.properties && Object.prototype.hasOwnProperty.call(e.properties, t)) return !0;
36825
+ for (let n of Object.keys(e.patternProperties ?? {})) try {
36826
+ if (new RegExp(n).test(t)) return !0;
36827
+ } catch {
36828
+ return !0;
36829
+ }
36830
+ let n = [
36831
+ ...e.oneOf ?? [],
36832
+ ...e.anyOf ?? [],
36833
+ ...e.allOf ?? [],
36834
+ ...[
36835
+ e.if,
36836
+ e.then,
36837
+ e.else
36838
+ ].filter((e) => typeof e == "object" && !!e)
36839
+ ];
36840
+ for (let t of Object.values(e.dependencies ?? {})) !Array.isArray(t) && typeof t == "object" && n.push(t);
36841
+ return n.some((e) => k1(e, t));
36842
+ }
36843
+ function A1(e) {
36844
+ return typeof e == "object" && !!e && !Array.isArray(e);
36845
+ }
36846
+ var j1 = new Set([
36847
+ "properties",
36848
+ "patternProperties",
36849
+ "dependencies",
36850
+ "definitions",
36851
+ "$defs"
36852
+ ]), M1 = new Set([
36853
+ "oneOf",
36854
+ "anyOf",
36855
+ "allOf"
36856
+ ]), N1 = new Set([
36857
+ "properties",
36858
+ "patternProperties",
36859
+ "additionalProperties",
36860
+ "items",
36861
+ "additionalItems"
36862
+ ]), P1 = new Set([
36863
+ "oneOf",
36864
+ "anyOf",
36865
+ "dependencies"
36866
+ ]);
36867
+ function F1(e) {
36868
+ let t = e.replace(/^#\/?/, "").split("/").map(oY);
36869
+ t.pop();
36870
+ let n = [];
36871
+ for (let e = 0; e < t.length; e++) {
36872
+ let r = t[e];
36873
+ N1.has(r) ? n = [] : n.push(r), (j1.has(r) || M1.has(r) || r === "items" && /^\d+$/.test(t[e + 1] ?? "")) && e++;
36874
+ }
36875
+ return n.some((e) => P1.has(e));
36876
+ }
36877
+ function I1(e, t) {
36118
36878
  return e.const === void 0 ? Array.isArray(e.enum) ? e.enum.includes(t) : !1 : Object.is(e.const, t);
36119
36879
  }
36120
- function XQ(e) {
36880
+ function L1(e) {
36121
36881
  return e.filter((t) => {
36122
36882
  if (t.keyword !== "oneOf" && t.keyword !== "anyOf") return !0;
36123
- let n = QQ(t), r = n === "" ? "" : `${n}.`;
36883
+ let n = z1(t), r = n === "" ? "" : `${n}.`;
36124
36884
  return !e.some((e) => {
36125
36885
  if (e === t) return !1;
36126
- let i = QQ(e);
36886
+ let i = z1(e);
36127
36887
  return n === "" ? i !== "" : i.startsWith(r);
36128
36888
  });
36129
36889
  });
36130
36890
  }
36131
- function ZQ(e, t) {
36891
+ function R1(e, t) {
36132
36892
  let n = /* @__PURE__ */ new Map();
36133
36893
  for (let t of e) {
36134
- let e = QQ(t), r = n.get(e) ?? [];
36894
+ let e = z1(t), r = n.get(e) ?? [];
36135
36895
  r.push(t), n.set(e, r);
36136
36896
  }
36137
36897
  let r = {};
36138
36898
  for (let [e, i] of n) {
36139
36899
  let n = {
36140
36900
  type: i[0].keyword,
36141
- message: zQ(i[0], e)
36901
+ message: h1(i[0], e)
36142
36902
  };
36143
36903
  if (t === "all" && i.length > 0) {
36144
36904
  let t = {};
36145
- for (let n of i) t[n.keyword] = zQ(n, e);
36905
+ for (let n of i) t[n.keyword] = h1(n, e);
36146
36906
  n.types = t;
36147
36907
  }
36148
- $Q(r, e === "" ? "root" : e, n);
36908
+ B1(r, e === "" ? "root" : e, n);
36149
36909
  }
36150
36910
  return r;
36151
36911
  }
36152
- function QQ(e) {
36912
+ function z1(e) {
36153
36913
  let t = e.instancePath ? e.instancePath.slice(1).split("/").map(oY) : [];
36154
36914
  return e.keyword === "required" && typeof e.params.missingProperty == "string" && t.push(e.params.missingProperty), t.join(".");
36155
36915
  }
36156
- function $Q(e, t, n) {
36916
+ function B1(e, t, n) {
36157
36917
  let r = t.split("."), i = e;
36158
36918
  for (let e = 0; e < r.length - 1; e++) {
36159
36919
  let t = r[e];
@@ -36161,62 +36921,161 @@ function $Q(e, t, n) {
36161
36921
  }
36162
36922
  i[r[r.length - 1]] = n;
36163
36923
  }
36164
- function e$(e, t, n, r) {
36924
+ function V1(e, t, n, r, i) {
36165
36925
  if (!e) return [];
36166
- let i = [];
36167
- if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let r of e.schema.gioConfig.uniqueItemProperties) {
36168
- let e = t.map((e) => typeof e == "object" && e ? e[r] : void 0).filter((e) => e != null);
36926
+ let a = [];
36927
+ if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let n of e.schema.gioConfig.uniqueItemProperties) {
36928
+ let e = t.map((e) => typeof e == "object" && e ? e[n] : void 0).filter((e) => e != null);
36169
36929
  if (new Set(e).size !== e.length) {
36170
- i.push({
36930
+ a.push({
36171
36931
  keyword: "uniqueItemProperties",
36172
- instancePath: n,
36932
+ instancePath: r,
36173
36933
  schemaPath: "",
36174
- params: { propertyName: r },
36934
+ params: { propertyName: n },
36175
36935
  message: "must be unique"
36176
36936
  });
36177
36937
  break;
36178
36938
  }
36179
36939
  }
36180
- let a = typeof t == "object" && !!t && !Array.isArray(t);
36181
- if (e.properties && a) for (let [a, o] of e.properties) i.push(...e$(o, t[a], `${n}/${aY(a)}`, r));
36182
- if (e.variants && e.variants.length > 0 && a) {
36183
- let a = t, o = rX(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
36184
- if (s) for (let [e, t] of s.properties) i.push(...e$(t, a[e], `${n}/${aY(e)}`, r));
36940
+ if (typeof t == "object" && t && !Array.isArray(t)) {
36941
+ let o = t;
36942
+ for (let t of jX(e, o, n, i).visible) a.push(...V1(t.node, o[t.key], t.path, `${r}/${aY(t.key)}`, i));
36185
36943
  }
36186
- return e.items && Array.isArray(t) && t.forEach((t, a) => {
36187
- i.push(...e$(e.items, t, `${n}/${a}`, r));
36188
- }), i;
36944
+ return e.items && Array.isArray(t) && t.forEach((t, o) => {
36945
+ let s = n ? `${n}.${o}` : String(o);
36946
+ a.push(...V1(e.items, t, s, `${r}/${o}`, i));
36947
+ }), a;
36189
36948
  }
36190
36949
  //#endregion
36191
- //#region src/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.ts
36192
- function t$(e, t, n) {
36193
- let r = FX(e);
36194
- if (!r) return t;
36195
- let i = structuredClone(t), a = {
36196
- root: i,
36197
- context: n
36198
- };
36199
- for (; n$(r, i, "", a););
36950
+ //#region src/composed/JsonSchemaForm/schema/displayedErrorPaths.ts
36951
+ function H1(e, t, n, r) {
36952
+ let i = /* @__PURE__ */ new Set(), a = RX(e);
36953
+ return a && U1(a, t, "", {
36954
+ root: t,
36955
+ context: n,
36956
+ variantPicks: r
36957
+ }, i), i;
36958
+ }
36959
+ function U1(e, t, n, r, i) {
36960
+ if (e.schema.deprecated !== !0) switch (CX(e.schema)) {
36961
+ case "object": {
36962
+ let a = W1(t) ? t : {}, o = jX(e, a, n, r), s = o.activeVariantIndex === void 0 ? void 0 : e.variants?.[o.activeVariantIndex];
36963
+ for (let e of o.visible) e.node.schema.const !== void 0 && s?.properties.get(e.key) === e.node || U1(e.node, a[e.key], e.path, r, i);
36964
+ return;
36965
+ }
36966
+ case "array":
36967
+ if (n && i.add(n), e.items && Array.isArray(t)) {
36968
+ let { items: a } = e;
36969
+ t.forEach((e, t) => U1(a, e, n ? `${n}.${t}` : String(t), r, i));
36970
+ }
36971
+ return;
36972
+ case "null":
36973
+ case void 0: return;
36974
+ default: n && i.add(n);
36975
+ }
36976
+ }
36977
+ function W1(e) {
36978
+ return typeof e == "object" && !!e && !Array.isArray(e);
36979
+ }
36980
+ //#endregion
36981
+ //#region src/composed/JsonSchemaForm/form-bindings/hiddenFormErrors.ts
36982
+ var G1 = new Set([
36983
+ "type",
36984
+ "message",
36985
+ "types",
36986
+ "ref"
36987
+ ]);
36988
+ function K1(e, t, n, r, i) {
36989
+ let a = RX(e), o = {
36990
+ root: t,
36991
+ context: r,
36992
+ variantPicks: i
36993
+ }, s = q1(n, (e) => !!a && X1(a, t, e ? `${e}.root` : "root", o) !== void 0);
36994
+ if (s.length === 0) return [];
36995
+ let c = H1(e, t, r, i);
36996
+ return s.filter((e) => !c.has(e.path)).map((e) => ({
36997
+ ...e,
36998
+ labels: a ? Y1(a, t, e.path, o) : $1(e.path)
36999
+ }));
37000
+ }
37001
+ function q1(e, t = () => !1, n = "") {
37002
+ if (typeof e != "object" || !e) return [];
37003
+ let r = e, i = [], a = typeof r.type == "string";
37004
+ a && i.push({
37005
+ path: n,
37006
+ messages: J1(r)
37007
+ });
37008
+ for (let [e, o] of Object.entries(r)) {
37009
+ if (a && G1.has(e)) continue;
37010
+ let r = e === "root" && !t(n) ? n : n ? `${n}.${e}` : e;
37011
+ i.push(...q1(o, t, r));
37012
+ }
36200
37013
  return i;
36201
37014
  }
36202
- function n$(e, t, n, r) {
37015
+ function J1(e) {
37016
+ let t = e.types;
37017
+ if (typeof t == "object" && t) {
37018
+ let e = Object.values(t).flat().filter((e) => typeof e == "string");
37019
+ if (e.length > 0) return [...new Set(e)];
37020
+ }
37021
+ return [typeof e.message == "string" && e.message ? e.message : "Invalid value"];
37022
+ }
37023
+ function Y1(e, t, n, r) {
37024
+ return Z1(e, t, n, r).map(({ segment: e, parent: t, node: n }) => t?.items && n === t.items ? `${AY(n.schema)} ${Number(e) + 1}` : n ? T(n.schema, e) : e);
37025
+ }
37026
+ function X1(e, t, n, r) {
37027
+ return Z1(e, t, n, r).at(-1)?.node;
37028
+ }
37029
+ function Z1(e, t, n, r) {
37030
+ let i = [], a = e, o = t, s = "";
37031
+ for (let e of $1(n)) {
37032
+ let t = a;
37033
+ a = t?.items && /^\d+$/.test(e) ? t.items : t ? Q1(t, o, s, e, r) : void 0, i.push({
37034
+ segment: e,
37035
+ parent: t,
37036
+ node: a
37037
+ }), o = typeof o == "object" && o ? o[e] : void 0, s = s ? `${s}.${e}` : e;
37038
+ }
37039
+ return i;
37040
+ }
37041
+ function Q1(e, t, n, r, i) {
37042
+ let a = jX(e, typeof t == "object" && t && !Array.isArray(t) ? t : {}, n, i).visible.find((e) => e.key === r);
37043
+ return a ? a.node : e.properties?.get(r) ?? e.variants?.map((e) => e.properties.get(r)).find((e) => e !== void 0) ?? e.dependencyBranches?.map((e) => e.properties.get(r)).find((e) => e !== void 0);
37044
+ }
37045
+ function $1(e) {
37046
+ return e ? e.split(".") : [];
37047
+ }
37048
+ //#endregion
37049
+ //#region src/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.ts
37050
+ function e0(e, t, n, r) {
37051
+ let i = RX(e);
37052
+ if (!i) return t;
37053
+ let a = structuredClone(t), o = {
37054
+ root: a,
37055
+ context: n,
37056
+ variantPicks: r
37057
+ };
37058
+ for (; t0(i, a, "", o););
37059
+ return a;
37060
+ }
37061
+ function t0(e, t, n, r) {
36203
37062
  if (Array.isArray(t)) {
36204
37063
  let { items: i } = e;
36205
37064
  if (!i) return !1;
36206
37065
  let a = !1;
36207
37066
  return t.forEach((e, t) => {
36208
- n$(i, e, n ? `${n}.${t}` : String(t), r) && (a = !0);
37067
+ t0(i, e, n ? `${n}.${t}` : String(t), r) && (a = !0);
36209
37068
  }), a;
36210
37069
  }
36211
37070
  if (typeof t != "object" || !t) return !1;
36212
- let i = t, { visible: a, hiddenKeys: o } = OX(e, i, n, r), s = !1;
36213
- for (let t of o) !(t in i) || MX(e, t) || (delete i[t], s = !0);
36214
- for (let e of a) e.key in i && n$(e.node, i[e.key], e.path, r) && (s = !0);
37071
+ let i = t, { visible: a, hiddenKeys: o } = jX(e, i, n, r), s = !1;
37072
+ for (let t of o) !(t in i) || FX(e, t) || (delete i[t], s = !0);
37073
+ for (let e of a) e.key in i && t0(e.node, i[e.key], e.path, r) && (s = !0);
36215
37074
  return s;
36216
37075
  }
36217
37076
  //#endregion
36218
37077
  //#region src/composed/LayoutSlots/LayoutSlotsContext.tsx
36219
- var r$ = {
37078
+ var n0 = {
36220
37079
  navigation: null,
36221
37080
  contextSidebar: null,
36222
37081
  breadcrumbs: [],
@@ -36227,9 +37086,9 @@ var r$ = {
36227
37086
  banner: null,
36228
37087
  bannerSticky: !1,
36229
37088
  footer: null
36230
- }, i$ = Ie(null);
36231
- function a$({ children: e }) {
36232
- let [t, n] = Xe(r$), r = Be((e, t) => {
37089
+ }, r0 = Ie(null);
37090
+ function i0({ children: e }) {
37091
+ let [t, n] = Xe(n0), r = Be((e, t) => {
36233
37092
  n((n) => ({
36234
37093
  ...n,
36235
37094
  [e]: t
@@ -36241,7 +37100,7 @@ function a$({ children: e }) {
36241
37100
  }));
36242
37101
  }, []), a = Be((e) => {
36243
37102
  n((t) => {
36244
- let n = Object.fromEntries(e.map((e) => [e, r$[e]]));
37103
+ let n = Object.fromEntries(e.map((e) => [e, n0[e]]));
36245
37104
  return {
36246
37105
  ...t,
36247
37106
  ...n
@@ -36258,20 +37117,20 @@ function a$({ children: e }) {
36258
37117
  i,
36259
37118
  a
36260
37119
  ]);
36261
- return /* @__PURE__ */ U(i$.Provider, {
37120
+ return /* @__PURE__ */ U(r0.Provider, {
36262
37121
  value: o,
36263
37122
  children: e
36264
37123
  });
36265
37124
  }
36266
- function o$() {
36267
- let e = Ve(i$);
37125
+ function a0() {
37126
+ let e = Ve(r0);
36268
37127
  if (!e) throw Error("useLayoutSlots must be used within a LayoutSlotsProvider.");
36269
37128
  return e;
36270
37129
  }
36271
37130
  //#endregion
36272
37131
  //#region src/composed/LayoutSlots/use-layout-config.ts
36273
- function s$(e, t = []) {
36274
- let { setSlots: n, resetSlots: r } = o$();
37132
+ function o0(e, t = []) {
37133
+ let { setSlots: n, resetSlots: r } = a0();
36275
37134
  Ke(() => {
36276
37135
  n(e);
36277
37136
  let t = Object.keys(e);
@@ -36286,7 +37145,7 @@ function s$(e, t = []) {
36286
37145
  }
36287
37146
  //#endregion
36288
37147
  //#region src/composed/PageFocused/PageFocused.tsx
36289
- function c$({ children: e, className: n, "data-testid": r }) {
37148
+ function s0({ children: e, className: n, "data-testid": r }) {
36290
37149
  return /* @__PURE__ */ U("div", {
36291
37150
  "data-slot": "page-focused",
36292
37151
  "data-testid": r,
@@ -36294,10 +37153,10 @@ function c$({ children: e, className: n, "data-testid": r }) {
36294
37153
  children: e
36295
37154
  });
36296
37155
  }
36297
- c$.displayName = "PageFocused";
37156
+ s0.displayName = "PageFocused";
36298
37157
  //#endregion
36299
37158
  //#region src/composed/PageHeader/PageHeader.tsx
36300
- function l$({ title: e, description: n, actions: r, children: i, className: a, "data-testid": o }) {
37159
+ function c0({ title: e, description: n, actions: r, children: i, className: a, "data-testid": o }) {
36301
37160
  return /* @__PURE__ */ W("header", {
36302
37161
  "data-slot": "page-header",
36303
37162
  "data-testid": o,
@@ -36329,10 +37188,10 @@ function l$({ title: e, description: n, actions: r, children: i, className: a, "
36329
37188
  }) : null]
36330
37189
  });
36331
37190
  }
36332
- l$.displayName = "PageHeader";
37191
+ c0.displayName = "PageHeader";
36333
37192
  //#endregion
36334
37193
  //#region src/composed/SearchField/SearchField.tsx
36335
- function u$({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, className: i, disabled: a, onKeyDown: o, "data-testid": s, ...c }) {
37194
+ function l0({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, className: i, disabled: a, onKeyDown: o, "data-testid": s, ...c }) {
36336
37195
  let [l, u] = Xe(t), d = Ye(null), f = Ye(t), p = Ye(void 0), m = Ye(n);
36337
37196
  Ge(e, () => d.current, []), Ue(() => {
36338
37197
  m.current = n;
@@ -36392,10 +37251,10 @@ function u$({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, clas
36392
37251
  ]
36393
37252
  });
36394
37253
  }
36395
- u$.displayName = "SearchField";
37254
+ l0.displayName = "SearchField";
36396
37255
  //#endregion
36397
37256
  //#region src/composed/TopNavUser/TopNavUser.tsx
36398
- var d$ = [
37257
+ var u0 = [
36399
37258
  {
36400
37259
  value: "light",
36401
37260
  label: "Light"
@@ -36409,7 +37268,7 @@ var d$ = [
36409
37268
  label: "System"
36410
37269
  }
36411
37270
  ];
36412
- function f$({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o, "data-testid": s }) {
37271
+ function d0({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o, "data-testid": s }) {
36413
37272
  let c = i ?? e.slice(0, 2).toUpperCase(), { mode: l, setMode: u } = Me();
36414
37273
  return /* @__PURE__ */ W(bL, { children: [/* @__PURE__ */ U(SL, {
36415
37274
  asChild: !0,
@@ -36444,7 +37303,7 @@ function f$({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
36444
37303
  /* @__PURE__ */ U(DL, {
36445
37304
  value: l,
36446
37305
  onValueChange: (e) => u(e),
36447
- children: d$.map((e) => /* @__PURE__ */ U(OL, {
37306
+ children: u0.map((e) => /* @__PURE__ */ U(OL, {
36448
37307
  value: e.value,
36449
37308
  "data-testid": J(s, `theme-option-${e.value}`),
36450
37309
  children: e.label
@@ -36459,6 +37318,6 @@ function f$({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
36459
37318
  ]
36460
37319
  })] });
36461
37320
  }
36462
- f$.displayName = "TopNavUser";
37321
+ d0.displayName = "TopNavUser";
36463
37322
  //#endregion
36464
- export { zv as Accordion, Hv as AccordionContent, Bv as AccordionItem, Vv as AccordionTrigger, o as Alert, a as AlertAction, f as AlertDescription, D as AlertTitle, IW as AppContextBar, KW as AppLayout, YW as AppSidebar, NW as AppSwitcher, Uv as Avatar, Kv as AvatarBadge, Gv as AvatarFallback, qv as AvatarGroup, Jv as AvatarGroupCount, Wv as AvatarImage, Xv as Badge, aq as BadgeCell, Zv as Breadcrumb, ry as BreadcrumbEllipsis, $v as BreadcrumbItem, ey as BreadcrumbLink, Qv as BreadcrumbList, ty as BreadcrumbPage, ny as BreadcrumbSeparator, ay as Button, sy as ButtonGroup, ly as ButtonGroupSeparator, cy as ButtonGroupText, TC as Calendar, MC as CalendarDayButton, NC as Card, LC as CardAction, RC as CardContent, IC as CardDescription, zC as CardFooter, PC as CardHeader, FC as CardTitle, BC as Checkbox, VC as Collapsible, UC as CollapsibleContent, HC as CollapsibleTrigger, sj as Combobox, xj as ComboboxChip, bj as ComboboxChips, Sj as ComboboxChipsInput, _j as ComboboxCollection, fj as ComboboxContent, vj as ComboboxEmpty, hj as ComboboxGroup, dj as ComboboxInput, mj as ComboboxItem, gj as ComboboxLabel, pj as ComboboxList, yj as ComboboxSeparator, lj as ComboboxTrigger, cj as ComboboxValue, FF as Command, IF as CommandDialog, zF as CommandEmpty, BF as CommandGroup, LF as CommandInput, HF as CommandItem, RF as CommandList, VF as CommandSeparator, UF as CommandShortcut, rG as ContentHeader, WF as ContextMenu, eI as ContextMenuCheckboxItem, XF as ContextMenuContent, KF as ContextMenuGroup, ZF as ContextMenuItem, nI as ContextMenuLabel, qF as ContextMenuPortal, YF as ContextMenuRadioGroup, tI as ContextMenuRadioItem, rI as ContextMenuSeparator, iI as ContextMenuShortcut, JF as ContextMenuSub, $F as ContextMenuSubContent, QF as ContextMenuSubTrigger, GF as ContextMenuTrigger, ZW as ContextSidebar, QW as ContextToggleButton, sq as CopyableCell, aG as CopyableText, r$ as DEFAULT_SLOTS, YK as DataTable, XK as DataTableColumnHeader, lq as DataTableEmptyState, MK as DataTablePagination, UK as DataTableViewOptions, iq as DateCell, vJ as DatePicker, yJ as DateRangePicker, SJ as DateTimePicker, TJ as DateTimeRangePicker, TF as Dialog, OF as DialogClose, AF as DialogContent, PF as DialogDescription, MF as DialogFooter, jF as DialogHeader, kF as DialogOverlay, DF as DialogPortal, NF as DialogTitle, EF as DialogTrigger, uL as Drawer, pL as DrawerClose, hL as DrawerContent, yL as DrawerDescription, _L as DrawerFooter, gL as DrawerHeader, mL as DrawerOverlay, fL as DrawerPortal, vL as DrawerTitle, dL as DrawerTrigger, bL as DropdownMenu, EL as DropdownMenuCheckboxItem, CL as DropdownMenuContent, wL as DropdownMenuGroup, TL as DropdownMenuItem, kL as DropdownMenuLabel, xL as DropdownMenuPortal, DL as DropdownMenuRadioGroup, OL as DropdownMenuRadioItem, AL as DropdownMenuSeparator, jL as DropdownMenuShortcut, ML as DropdownMenuSub, PL as DropdownMenuSubContent, NL as DropdownMenuSubTrigger, SL as DropdownMenuTrigger, DJ as ElCheatSheetTrigger, FL as Empty, VL as EmptyContent, BL as EmptyDescription, IL as EmptyHeader, RL as EmptyMedia, zL as EmptyTitle, OJ as FacetedFilter, k as Field, w as FieldContent, C as FieldDescription, _ as FieldError, L as FieldGroup, R as FieldLabel, y as FieldLegend, te as FieldSeparator, h as FieldSet, i as FieldTitle, NJ as FileUpload, Fz as FileUploadInput, MJ as FileUploadItem, Iz as HoverCard, Rz as HoverCardContent, Vz as HoverCardDescription, zz as HoverCardHeader, Bz as HoverCardTitle, Lz as HoverCardTrigger, QA as Input, $A as InputGroup, tj as InputGroupAddon, rj as InputGroupButton, aj as InputGroupInput, ij as InputGroupText, oj as InputGroupTextarea, Gz as Item, Zz as ItemActions, Jz as ItemContent, Xz as ItemDescription, $z as ItemFooter, Hz as ItemGroup, Qz as ItemHeader, qz as ItemMedia, Uz as ItemSeparator, Yz as ItemTitle, EX as JsonSchemaForm, eB as Kbd, tB as KbdGroup, ee as Label, a$ as LayoutSlotsProvider, iB as Logo, oq as MonoCell, c$ as PageFocused, l$ as PageHeader, aB as Pagination, oB as PaginationContent, dB as PaginationEllipsis, sB as PaginationItem, cB as PaginationLink, uB as PaginationNext, lB as PaginationPrevious, pX as PasswordInput, fB as Popover, hB as PopoverAnchor, mB as PopoverContent, vB as PopoverDescription, gB as PopoverHeader, _B as PopoverTitle, pB as PopoverTrigger, yt as PortalContainerProvider, yB as Progress, xB as Prose, SB as RadioGroup, CB as RadioGroupItem, xH as ResizableHandle, bH as ResizablePanel, yH as ResizablePanelGroup, SH as ScrollArea, CH as ScrollBar, u$ as SearchField, wH as Select, OH as SelectContent, TH as SelectGroup, AH as SelectItem, kH as SelectLabel, NH as SelectScrollDownButton, MH as SelectScrollUpButton, jH as SelectSeparator, DH as SelectTrigger, EH as SelectValue, PW as SelectorDropdown, FW as SelectorTriggerButton, g as Separator, PH as Sheet, IH as SheetClose, zH as SheetContent, UH as SheetDescription, VH as SheetFooter, BH as SheetHeader, HH as SheetTitle, FH as SheetTrigger, cU as Sidebar, gU as SidebarContent, mU as SidebarFooter, _U as SidebarGroup, yU as SidebarGroupAction, bU as SidebarGroupContent, vU as SidebarGroupLabel, pU as SidebarHeader, fU as SidebarInput, dU as SidebarInset, xU as SidebarMenu, TU as SidebarMenuAction, EU as SidebarMenuBadge, wU as SidebarMenuButton, SU as SidebarMenuItem, DU as SidebarMenuSkeleton, OU as SidebarMenuSub, AU as SidebarMenuSubButton, kU as SidebarMenuSubItem, WW as SidebarModeControl, HW as SidebarModeProvider, XW as SidebarNavigation, sU as SidebarProvider, uU as SidebarRail, hU as SidebarSeparator, lU as SidebarTrigger, eG as SidebarUpgradeFooter, n as Skeleton, uW as Spinner, dW as Switch, fW as Table, mW as TableBody, yW as TableCaption, vW as TableCell, hW as TableFooter, _W as TableHead, pW as TableHeader, gW as TableRow, bW as Tabs, wW as TabsContent, SW as TabsList, CW as TabsTrigger, e as Textarea, Ne as ThemeProvider, lW as Toaster, EW as Toggle, OW as ToggleGroup, kW as ToggleGroupItem, GH as Tooltip, qH as TooltipContent, WH as TooltipProvider, KH as TooltipTrigger, f$ as TopNavUser, cq as TruncatedCell, r as alertVariants, zX as applyVisibleDefaults, Yv as badgeVariants, oG as buildLinearBreadcrumbs, oy as buttonGroupVariants, iy as buttonVariants, t as cn, rZ as composeResolvers, xY as extractDefaults, qQ as jsonSchemaResolver, rB as logoVariants, t$ as pruneHiddenValues, xW as tabsListVariants, qU as toast, TW as toggleVariants, Cj as useComboboxAnchor, xt as useDebouncedValue, s$ as useLayoutConfig, o$ as useLayoutSlots, bt as usePortalContainer, oU as useSidebar, zW as useSidebarMode, Me as useTheme };
37323
+ export { zv as Accordion, Hv as AccordionContent, Bv as AccordionItem, Vv as AccordionTrigger, o as Alert, a as AlertAction, f as AlertDescription, D as AlertTitle, IW as AppContextBar, KW as AppLayout, YW as AppSidebar, NW as AppSwitcher, Uv as Avatar, Kv as AvatarBadge, Gv as AvatarFallback, qv as AvatarGroup, Jv as AvatarGroupCount, Wv as AvatarImage, Xv as Badge, aq as BadgeCell, Zv as Breadcrumb, ry as BreadcrumbEllipsis, $v as BreadcrumbItem, ey as BreadcrumbLink, Qv as BreadcrumbList, ty as BreadcrumbPage, ny as BreadcrumbSeparator, ay as Button, sy as ButtonGroup, ly as ButtonGroupSeparator, cy as ButtonGroupText, TC as Calendar, MC as CalendarDayButton, NC as Card, LC as CardAction, RC as CardContent, IC as CardDescription, zC as CardFooter, PC as CardHeader, FC as CardTitle, BC as Checkbox, VC as Collapsible, UC as CollapsibleContent, HC as CollapsibleTrigger, sj as Combobox, xj as ComboboxChip, bj as ComboboxChips, Sj as ComboboxChipsInput, _j as ComboboxCollection, fj as ComboboxContent, vj as ComboboxEmpty, hj as ComboboxGroup, dj as ComboboxInput, mj as ComboboxItem, gj as ComboboxLabel, pj as ComboboxList, yj as ComboboxSeparator, lj as ComboboxTrigger, cj as ComboboxValue, FF as Command, IF as CommandDialog, zF as CommandEmpty, BF as CommandGroup, LF as CommandInput, HF as CommandItem, RF as CommandList, VF as CommandSeparator, UF as CommandShortcut, rG as ContentHeader, WF as ContextMenu, eI as ContextMenuCheckboxItem, XF as ContextMenuContent, KF as ContextMenuGroup, ZF as ContextMenuItem, nI as ContextMenuLabel, qF as ContextMenuPortal, YF as ContextMenuRadioGroup, tI as ContextMenuRadioItem, rI as ContextMenuSeparator, iI as ContextMenuShortcut, JF as ContextMenuSub, $F as ContextMenuSubContent, QF as ContextMenuSubTrigger, GF as ContextMenuTrigger, ZW as ContextSidebar, QW as ContextToggleButton, sq as CopyableCell, aG as CopyableText, n0 as DEFAULT_SLOTS, YK as DataTable, XK as DataTableColumnHeader, lq as DataTableEmptyState, MK as DataTablePagination, UK as DataTableViewOptions, iq as DateCell, vJ as DatePicker, yJ as DateRangePicker, SJ as DateTimePicker, TJ as DateTimeRangePicker, TF as Dialog, OF as DialogClose, AF as DialogContent, PF as DialogDescription, MF as DialogFooter, jF as DialogHeader, kF as DialogOverlay, DF as DialogPortal, NF as DialogTitle, EF as DialogTrigger, uL as Drawer, pL as DrawerClose, hL as DrawerContent, yL as DrawerDescription, _L as DrawerFooter, gL as DrawerHeader, mL as DrawerOverlay, fL as DrawerPortal, vL as DrawerTitle, dL as DrawerTrigger, bL as DropdownMenu, EL as DropdownMenuCheckboxItem, CL as DropdownMenuContent, wL as DropdownMenuGroup, TL as DropdownMenuItem, kL as DropdownMenuLabel, xL as DropdownMenuPortal, DL as DropdownMenuRadioGroup, OL as DropdownMenuRadioItem, AL as DropdownMenuSeparator, jL as DropdownMenuShortcut, ML as DropdownMenuSub, PL as DropdownMenuSubContent, NL as DropdownMenuSubTrigger, SL as DropdownMenuTrigger, DJ as ElCheatSheetTrigger, FL as Empty, VL as EmptyContent, BL as EmptyDescription, IL as EmptyHeader, RL as EmptyMedia, zL as EmptyTitle, OJ as FacetedFilter, k as Field, w as FieldContent, C as FieldDescription, _ as FieldError, L as FieldGroup, R as FieldLabel, y as FieldLegend, te as FieldSeparator, h as FieldSet, i as FieldTitle, NJ as FileUpload, Fz as FileUploadInput, MJ as FileUploadItem, Iz as HoverCard, Rz as HoverCardContent, Vz as HoverCardDescription, zz as HoverCardHeader, Bz as HoverCardTitle, Lz as HoverCardTrigger, QA as Input, $A as InputGroup, tj as InputGroupAddon, rj as InputGroupButton, aj as InputGroupInput, ij as InputGroupText, oj as InputGroupTextarea, Gz as Item, Zz as ItemActions, Jz as ItemContent, Xz as ItemDescription, $z as ItemFooter, Hz as ItemGroup, Qz as ItemHeader, qz as ItemMedia, Uz as ItemSeparator, Yz as ItemTitle, kX as JsonSchemaForm, eB as Kbd, tB as KbdGroup, ee as Label, i0 as LayoutSlotsProvider, iB as Logo, oq as MonoCell, s0 as PageFocused, c0 as PageHeader, aB as Pagination, oB as PaginationContent, dB as PaginationEllipsis, sB as PaginationItem, cB as PaginationLink, uB as PaginationNext, lB as PaginationPrevious, gX as PasswordInput, fB as Popover, hB as PopoverAnchor, mB as PopoverContent, vB as PopoverDescription, gB as PopoverHeader, _B as PopoverTitle, pB as PopoverTrigger, yt as PortalContainerProvider, yB as Progress, xB as Prose, SB as RadioGroup, CB as RadioGroupItem, xH as ResizableHandle, bH as ResizablePanel, yH as ResizablePanelGroup, SH as ScrollArea, CH as ScrollBar, l0 as SearchField, wH as Select, OH as SelectContent, TH as SelectGroup, AH as SelectItem, kH as SelectLabel, NH as SelectScrollDownButton, MH as SelectScrollUpButton, jH as SelectSeparator, DH as SelectTrigger, EH as SelectValue, PW as SelectorDropdown, FW as SelectorTriggerButton, g as Separator, PH as Sheet, IH as SheetClose, zH as SheetContent, UH as SheetDescription, VH as SheetFooter, BH as SheetHeader, HH as SheetTitle, FH as SheetTrigger, cU as Sidebar, gU as SidebarContent, mU as SidebarFooter, _U as SidebarGroup, yU as SidebarGroupAction, bU as SidebarGroupContent, vU as SidebarGroupLabel, pU as SidebarHeader, fU as SidebarInput, dU as SidebarInset, xU as SidebarMenu, TU as SidebarMenuAction, EU as SidebarMenuBadge, wU as SidebarMenuButton, SU as SidebarMenuItem, DU as SidebarMenuSkeleton, OU as SidebarMenuSub, AU as SidebarMenuSubButton, kU as SidebarMenuSubItem, WW as SidebarModeControl, HW as SidebarModeProvider, XW as SidebarNavigation, sU as SidebarProvider, uU as SidebarRail, hU as SidebarSeparator, lU as SidebarTrigger, eG as SidebarUpgradeFooter, n as Skeleton, uW as Spinner, dW as Switch, fW as Table, mW as TableBody, yW as TableCaption, vW as TableCell, hW as TableFooter, _W as TableHead, pW as TableHeader, gW as TableRow, bW as Tabs, wW as TabsContent, SW as TabsList, CW as TabsTrigger, e as Textarea, Ne as ThemeProvider, lW as Toaster, EW as Toggle, OW as ToggleGroup, kW as ToggleGroupItem, GH as Tooltip, qH as TooltipContent, WH as TooltipProvider, KH as TooltipTrigger, d0 as TopNavUser, cq as TruncatedCell, r as alertVariants, HX as applyVisibleDefaults, Yv as badgeVariants, oG as buildLinearBreadcrumbs, oy as buttonGroupVariants, iy as buttonVariants, t as cn, oZ as composeResolvers, xY as extractDefaults, K1 as hiddenFormErrors, E1 as jsonSchemaResolver, rB as logoVariants, e0 as pruneHiddenValues, xW as tabsListVariants, qU as toast, TW as toggleVariants, Cj as useComboboxAnchor, xt as useDebouncedValue, o0 as useLayoutConfig, a0 as useLayoutSlots, bt as usePortalContainer, oU as useSidebar, zW as useSidebarMode, Me as useTheme };