@gravitee/graphene-core 3.51.0 → 3.52.0-fix-found-460-validation-scope.d4ca502

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 (63) hide show
  1. package/USAGE_GUIDE.md +15 -1
  2. package/dist/composed/AppLayout/AppLayout.d.ts +6 -0
  3. package/dist/composed/AppLayout/AppLayout.d.ts.map +1 -1
  4. package/dist/composed/AppSidebar/AppSidebar.d.ts +9 -1
  5. package/dist/composed/AppSidebar/AppSidebar.d.ts.map +1 -1
  6. package/dist/composed/AppSidebar/ContextSidebar.d.ts +6 -1
  7. package/dist/composed/AppSidebar/ContextSidebar.d.ts.map +1 -1
  8. package/dist/composed/AppSidebar/ContextToggleButton.d.ts +4 -1
  9. package/dist/composed/AppSidebar/ContextToggleButton.d.ts.map +1 -1
  10. package/dist/composed/AppSidebar/SidebarNavigation.d.ts +6 -1
  11. package/dist/composed/AppSidebar/SidebarNavigation.d.ts.map +1 -1
  12. package/dist/composed/AppSidebar/SidebarUpgradeFooter.d.ts +3 -1
  13. package/dist/composed/AppSidebar/SidebarUpgradeFooter.d.ts.map +1 -1
  14. package/dist/composed/AppSidebar/types.d.ts +4 -0
  15. package/dist/composed/AppSidebar/types.d.ts.map +1 -1
  16. package/dist/composed/JsonSchemaForm/JsonSchemaForm.d.ts +21 -1
  17. package/dist/composed/JsonSchemaForm/JsonSchemaForm.d.ts.map +1 -1
  18. package/dist/composed/JsonSchemaForm/SchemaField.d.ts.map +1 -1
  19. package/dist/composed/JsonSchemaForm/conditional/concretizePath.d.ts +1 -1
  20. package/dist/composed/JsonSchemaForm/fields/__test-utils__/errorVisibility.d.ts +39 -0
  21. package/dist/composed/JsonSchemaForm/fields/__test-utils__/errorVisibility.d.ts.map +1 -0
  22. package/dist/composed/JsonSchemaForm/fields/oneOf/OneOfField.d.ts.map +1 -1
  23. package/dist/composed/JsonSchemaForm/form-bindings/applyVisibleDefaults.d.ts +49 -0
  24. package/dist/composed/JsonSchemaForm/form-bindings/applyVisibleDefaults.d.ts.map +1 -0
  25. package/dist/composed/JsonSchemaForm/form-bindings/extractDefaults.d.ts.map +1 -1
  26. package/dist/composed/JsonSchemaForm/form-bindings/hiddenFormErrors.d.ts +38 -0
  27. package/dist/composed/JsonSchemaForm/form-bindings/hiddenFormErrors.d.ts.map +1 -0
  28. package/dist/composed/JsonSchemaForm/form-bindings/indexSchemaRoot.d.ts +6 -0
  29. package/dist/composed/JsonSchemaForm/form-bindings/indexSchemaRoot.d.ts.map +1 -0
  30. package/dist/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.d.ts.map +1 -1
  31. package/dist/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.d.ts +5 -3
  32. package/dist/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.d.ts.map +1 -1
  33. package/dist/composed/JsonSchemaForm/form-bindings/resolveAt.d.ts +11 -5
  34. package/dist/composed/JsonSchemaForm/form-bindings/resolveAt.d.ts.map +1 -1
  35. package/dist/composed/JsonSchemaForm/index.d.ts +3 -0
  36. package/dist/composed/JsonSchemaForm/index.d.ts.map +1 -1
  37. package/dist/composed/JsonSchemaForm/models/JsonSchemaFormContext.d.ts +7 -3
  38. package/dist/composed/JsonSchemaForm/models/JsonSchemaFormContext.d.ts.map +1 -1
  39. package/dist/composed/JsonSchemaForm/models/jsonSchemaResolver.types.d.ts +2 -0
  40. package/dist/composed/JsonSchemaForm/models/jsonSchemaResolver.types.d.ts.map +1 -1
  41. package/dist/composed/JsonSchemaForm/schema/buildIndex.d.ts.map +1 -1
  42. package/dist/composed/JsonSchemaForm/schema/displayedErrorPaths.d.ts +21 -0
  43. package/dist/composed/JsonSchemaForm/schema/displayedErrorPaths.d.ts.map +1 -0
  44. package/dist/composed/JsonSchemaForm/schema/types.d.ts +6 -5
  45. package/dist/composed/JsonSchemaForm/schema/types.d.ts.map +1 -1
  46. package/dist/composed/JsonSchemaForm/schema/visibleFields.d.ts +73 -0
  47. package/dist/composed/JsonSchemaForm/schema/visibleFields.d.ts.map +1 -0
  48. package/dist/composed/JsonSchemaForm/utils/fieldKind.d.ts +18 -0
  49. package/dist/composed/JsonSchemaForm/utils/fieldKind.d.ts.map +1 -0
  50. package/dist/composed/JsonSchemaForm/utils/pickActiveVariant.d.ts +9 -4
  51. package/dist/composed/JsonSchemaForm/utils/pickActiveVariant.d.ts.map +1 -1
  52. package/dist/composed/JsonSchemaForm/utils/readPath.d.ts +1 -2
  53. package/dist/composed/JsonSchemaForm/utils/readPath.d.ts.map +1 -1
  54. package/dist/composed/LayoutSlots/LayoutSlotsContext.d.ts +1 -0
  55. package/dist/composed/LayoutSlots/LayoutSlotsContext.d.ts.map +1 -1
  56. package/dist/composed/SidebarMode/SidebarModeContext.d.ts +1 -0
  57. package/dist/composed/SidebarMode/SidebarModeContext.d.ts.map +1 -1
  58. package/dist/composed/SidebarMode/SidebarModeControl.d.ts +6 -1
  59. package/dist/composed/SidebarMode/SidebarModeControl.d.ts.map +1 -1
  60. package/dist/composed/ThemeProvider/ThemeProvider.d.ts +1 -0
  61. package/dist/composed/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  62. package/dist/index.js +1612 -537
  63. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -25122,14 +25122,15 @@ var UW = [
25122
25122
  label: "Expand on hover"
25123
25123
  }
25124
25124
  ];
25125
- function WW({ className: e }) {
25126
- let { mode: n, setMode: r } = zW(), { state: i } = oU(), a = i === "collapsed", [o, s] = Xe(!1), c = /* @__PURE__ */ U(pB, {
25125
+ function WW({ className: e, "data-testid": n }) {
25126
+ let { mode: r, setMode: i } = zW(), { state: a } = oU(), o = a === "collapsed", [s, c] = Xe(!1), l = /* @__PURE__ */ U(pB, {
25127
25127
  asChild: !0,
25128
25128
  children: /* @__PURE__ */ U(ay, {
25129
25129
  variant: "ghost",
25130
25130
  size: "icon",
25131
25131
  className: t("size-8 text-sidebar-foreground/70", e),
25132
25132
  "aria-label": "Sidebar display mode",
25133
+ "data-testid": n,
25133
25134
  children: /* @__PURE__ */ U(ge, {
25134
25135
  "aria-hidden": "true",
25135
25136
  className: "size-4"
@@ -25137,29 +25138,31 @@ function WW({ className: e }) {
25137
25138
  })
25138
25139
  });
25139
25140
  return /* @__PURE__ */ W(fB, {
25140
- open: o,
25141
- onOpenChange: s,
25142
- children: [a ? /* @__PURE__ */ W(GH, { children: [/* @__PURE__ */ U(KH, {
25141
+ open: s,
25142
+ onOpenChange: c,
25143
+ children: [o ? /* @__PURE__ */ W(GH, { children: [/* @__PURE__ */ U(KH, {
25143
25144
  asChild: !0,
25144
- children: c
25145
+ children: l
25145
25146
  }), /* @__PURE__ */ U(qH, {
25146
25147
  side: "right",
25147
25148
  children: "Sidebar mode"
25148
- })] }) : c, /* @__PURE__ */ U(mB, {
25149
+ })] }) : l, /* @__PURE__ */ U(mB, {
25149
25150
  side: "top",
25150
25151
  align: "start",
25151
25152
  className: "w-48 p-1",
25153
+ "data-testid": J(n, "content"),
25152
25154
  children: /* @__PURE__ */ U(OW, {
25153
25155
  type: "single",
25154
25156
  orientation: "vertical",
25155
- value: n,
25157
+ value: r,
25156
25158
  onValueChange: (e) => {
25157
- e && (r(e), s(!1));
25159
+ e && (i(e), c(!1));
25158
25160
  },
25159
25161
  className: "w-full",
25160
25162
  children: UW.map((e) => /* @__PURE__ */ U(kW, {
25161
25163
  value: e.value,
25162
25164
  className: "w-full justify-start text-sm",
25165
+ "data-testid": J(n, `option-${e.value}`),
25163
25166
  children: e.label
25164
25167
  }, e.value))
25165
25168
  })
@@ -25169,30 +25172,33 @@ function WW({ className: e }) {
25169
25172
  WW.displayName = "SidebarModeControl";
25170
25173
  //#endregion
25171
25174
  //#region src/composed/AppLayout/AppLayout.tsx
25172
- function GW({ className: e, sidebar: n, contextSidebar: r, subheader: i, children: a, viewMode: o, contextExpanded: s = !0, contentVariant: c = "default", banner: l, bannerSticky: u = !1, fullHeight: d = !0 }) {
25173
- let f = o === "context", { mode: p } = zW(), [m, h] = Xe(p), [g, _] = Xe(!1);
25174
- p !== m && (h(p), p !== "hover-expand" && _(!1));
25175
- let v = p === "expanded" ? !0 : p === "collapsed" ? !1 : g, y = p === "hover-expand" ? _ : void 0, [b, x] = Xe(o), [S, C] = Xe(!1);
25176
- return o !== b && (x(o), C(!0)), Ke(() => {
25175
+ function GW({ className: e, sidebar: n, contextSidebar: r, subheader: i, children: a, viewMode: o, contextExpanded: s = !0, contentVariant: c = "default", banner: l, bannerSticky: u = !1, fullHeight: d = !0, "data-testid": f }) {
25176
+ let p = o === "context", { mode: m } = zW(), [h, g] = Xe(m), [_, v] = Xe(!1);
25177
+ m !== h && (g(m), m !== "hover-expand" && v(!1));
25178
+ let y = m === "expanded" ? !0 : m === "collapsed" ? !1 : _, b = m === "hover-expand" ? v : void 0, [x, S] = Xe(o), [C, w] = Xe(!1);
25179
+ return o !== x && (S(o), w(!0)), Ke(() => {
25177
25180
  let e = requestAnimationFrame(() => {
25178
- C(!1);
25181
+ w(!1);
25179
25182
  });
25180
25183
  return () => cancelAnimationFrame(e);
25181
25184
  }, [o]), /* @__PURE__ */ U(sU, {
25182
- open: v,
25183
- onOpenChange: y,
25184
- className: t("min-h-0", d ? "h-svh" : "h-full", S && "**:duration-0!", p === "hover-expand" && g && "**:data-[slot=sidebar-gap]:w-(--sidebar-width-icon)!"),
25185
+ open: y,
25186
+ onOpenChange: b,
25187
+ className: t("min-h-0", d ? "h-svh" : "h-full", C && "**:duration-0!", m === "hover-expand" && _ && "**:data-[slot=sidebar-gap]:w-(--sidebar-width-icon)!"),
25185
25188
  style: d ? { "--topnav-height": "0rem" } : void 0,
25189
+ "data-testid": f,
25186
25190
  children: /* @__PURE__ */ W("div", {
25187
25191
  className: t("flex w-full flex-1 overflow-hidden", e),
25188
25192
  children: [n, /* @__PURE__ */ W(dU, {
25189
25193
  className: "flex min-h-0 flex-col",
25194
+ "data-testid": J(f, "main"),
25190
25195
  children: [i, /* @__PURE__ */ W("div", {
25191
25196
  className: "flex min-h-0 flex-1 overflow-hidden",
25192
- children: [f && r && /* @__PURE__ */ U("aside", {
25197
+ children: [p && r && /* @__PURE__ */ U("aside", {
25193
25198
  className: t("shrink-0 overflow-hidden border-r border-border", "transition-[width] duration-200 ease-linear", s ? "w-context-sidebar" : "w-0"),
25194
25199
  "aria-hidden": !s,
25195
25200
  ...!s && { inert: !0 },
25201
+ "data-testid": J(f, "context-sidebar"),
25196
25202
  children: /* @__PURE__ */ U("div", {
25197
25203
  className: "size-full overflow-y-auto",
25198
25204
  children: r
@@ -25201,6 +25207,7 @@ function GW({ className: e, sidebar: n, contextSidebar: r, subheader: i, childre
25201
25207
  className: "flex min-h-0 flex-1 flex-col overflow-y-auto",
25202
25208
  children: [l && /* @__PURE__ */ U("div", {
25203
25209
  className: t("shrink-0", u && "sticky top-0 z-20 bg-background"),
25210
+ "data-testid": J(f, "banner"),
25204
25211
  children: l
25205
25212
  }), /* @__PURE__ */ U("div", {
25206
25213
  className: t("mx-auto w-full", c === "full-bleed" ? "min-h-0 flex-1 p-0" : "max-w-content px-content pt-4 pb-content"),
@@ -25245,20 +25252,21 @@ var JW = /* @__PURE__ */ W($e, { children: [/* @__PURE__ */ U(iB, {}), /* @__PUR
25245
25252
  className: "truncate text-sm font-medium",
25246
25253
  children: "Gravitee"
25247
25254
  })] });
25248
- function YW({ className: e, onLogoClick: n, renderNavigation: r, renderFooter: i }) {
25249
- let { setOpen: a } = oU(), { mode: o } = zW(), { handleMouseEnter: s, handleMouseLeave: c } = qW({
25250
- mode: o,
25251
- setOpen: a
25255
+ function YW({ className: e, onLogoClick: n, renderNavigation: r, renderFooter: i, "data-testid": a }) {
25256
+ let { setOpen: o } = oU(), { mode: s } = zW(), { handleMouseEnter: c, handleMouseLeave: l } = qW({
25257
+ mode: s,
25258
+ setOpen: o
25252
25259
  });
25253
25260
  return /* @__PURE__ */ U("div", {
25254
25261
  className: e,
25255
- onMouseEnter: s,
25256
- onMouseLeave: c,
25262
+ onMouseEnter: c,
25263
+ onMouseLeave: l,
25257
25264
  children: /* @__PURE__ */ U(WH, {
25258
25265
  delayDuration: 0,
25259
25266
  skipDelayDuration: 0,
25260
25267
  children: /* @__PURE__ */ W(cU, {
25261
25268
  collapsible: "icon",
25269
+ "data-testid": a,
25262
25270
  children: [
25263
25271
  /* @__PURE__ */ U(pU, {
25264
25272
  className: "p-0",
@@ -25266,13 +25274,14 @@ function YW({ className: e, onLogoClick: n, renderNavigation: r, renderFooter: i
25266
25274
  className: "px-2 py-2",
25267
25275
  children: /* @__PURE__ */ U(xU, { children: /* @__PURE__ */ U(SU, { children: /* @__PURE__ */ U(wU, {
25268
25276
  size: "default",
25269
- asChild: !!n,
25277
+ asChild: !0,
25278
+ "data-testid": n ? J(a, "logo") : void 0,
25270
25279
  className: t("py-0.5 group-data-[collapsible=icon]:p-0.5! hover:bg-transparent active:bg-transparent", !n && "pointer-events-none"),
25271
25280
  children: n ? /* @__PURE__ */ U("button", {
25272
25281
  type: "button",
25273
25282
  onClick: n,
25274
25283
  children: JW
25275
- }) : JW
25284
+ }) : /* @__PURE__ */ U("div", { children: JW })
25276
25285
  }) }) })
25277
25286
  })
25278
25287
  }),
@@ -25285,15 +25294,16 @@ function YW({ className: e, onLogoClick: n, renderNavigation: r, renderFooter: i
25285
25294
  }),
25286
25295
  /* @__PURE__ */ W(mU, {
25287
25296
  className: "gap-2",
25297
+ "data-testid": J(a, "footer"),
25288
25298
  children: [i && /* @__PURE__ */ U("div", {
25289
25299
  className: "group-data-[collapsible=icon]:hidden",
25290
25300
  children: i()
25291
25301
  }), /* @__PURE__ */ U("div", {
25292
25302
  className: "flex items-center justify-start",
25293
- children: /* @__PURE__ */ U(WW, {})
25303
+ children: /* @__PURE__ */ U(WW, { "data-testid": J(a, "mode") })
25294
25304
  })]
25295
25305
  }),
25296
- /* @__PURE__ */ U(uU, {})
25306
+ /* @__PURE__ */ U(uU, { "data-testid": J(a, "rail") })
25297
25307
  ]
25298
25308
  })
25299
25309
  })
@@ -25302,38 +25312,39 @@ function YW({ className: e, onLogoClick: n, renderNavigation: r, renderFooter: i
25302
25312
  YW.displayName = "AppSidebar";
25303
25313
  //#endregion
25304
25314
  //#region src/composed/AppSidebar/SidebarNavigation.tsx
25305
- function XW({ groups: e, activeItemKey: n, onItemSelect: r }) {
25315
+ function XW({ groups: e, activeItemKey: n, onItemSelect: r, "data-testid": i }) {
25306
25316
  return /* @__PURE__ */ U($e, { children: e.map((e) => /* @__PURE__ */ W(_U, { children: [/* @__PURE__ */ U(vU, { children: e.label }), /* @__PURE__ */ U(bU, { children: /* @__PURE__ */ U(xU, { children: e.items.map((e) => {
25307
- let i = e.access ?? "full", a = i === "locked", o = i === "limited", s = !a && e.key === n;
25317
+ let a = e.access ?? "full", o = a === "locked", s = a === "limited", c = !o && e.key === n;
25308
25318
  return /* @__PURE__ */ U(SU, { children: /* @__PURE__ */ U(wU, {
25309
25319
  asChild: !0,
25310
- isActive: s,
25311
- tooltip: a ? `${e.title} · Requires an enterprise license` : o ? `${e.title} · Limited access` : e.title,
25320
+ isActive: c,
25321
+ "data-testid": J(i, `nav-${e.key}`),
25322
+ tooltip: o ? `${e.title} · Requires an enterprise license` : s ? `${e.title} · Limited access` : e.title,
25312
25323
  children: /* @__PURE__ */ W(jW, {
25313
- href: a ? void 0 : e.href,
25314
- "aria-current": s ? "page" : void 0,
25315
- "aria-disabled": a || void 0,
25316
- onClick: a ? void 0 : () => r?.(e.key),
25317
- followHref: !r && !s,
25318
- className: t(a && "cursor-not-allowed aria-disabled:pointer-events-auto! aria-disabled:opacity-100!"),
25324
+ href: o ? void 0 : e.href,
25325
+ "aria-current": c ? "page" : void 0,
25326
+ "aria-disabled": o || void 0,
25327
+ onClick: o ? void 0 : () => r?.(e.key),
25328
+ followHref: !r && !c,
25329
+ className: t(o && "cursor-not-allowed aria-disabled:pointer-events-auto! aria-disabled:opacity-100!"),
25319
25330
  children: [
25320
25331
  e.icon && /* @__PURE__ */ W("span", {
25321
25332
  className: "relative flex shrink-0",
25322
- children: [/* @__PURE__ */ U(e.icon, { className: t("size-4", a && "text-muted-foreground") }), (a || o) && /* @__PURE__ */ U("span", {
25333
+ children: [/* @__PURE__ */ U(e.icon, { className: t("size-4", o && "text-muted-foreground") }), (o || s) && /* @__PURE__ */ U("span", {
25323
25334
  "aria-hidden": !0,
25324
- className: t("absolute -top-0.5 -right-0.5 hidden size-2 rounded-full group-data-[collapsible=icon]:block", a ? "bg-primary" : "bg-warning")
25335
+ className: t("absolute -top-0.5 -right-0.5 hidden size-2 rounded-full group-data-[collapsible=icon]:block", o ? "bg-primary" : "bg-warning")
25325
25336
  })]
25326
25337
  }),
25327
25338
  /* @__PURE__ */ U("span", {
25328
- className: t("truncate", a && "text-muted-foreground"),
25339
+ className: t("truncate", o && "text-muted-foreground"),
25329
25340
  children: e.title
25330
25341
  }),
25331
- a && /* @__PURE__ */ W(Xv, {
25342
+ o && /* @__PURE__ */ W(Xv, {
25332
25343
  "aria-label": "Upgrade",
25333
25344
  className: "ml-auto gap-1 group-data-[collapsible=icon]:hidden",
25334
25345
  children: [/* @__PURE__ */ U(pe, { "aria-hidden": !0 }), "Upgrade"]
25335
25346
  }),
25336
- o && /* @__PURE__ */ W(Xv, {
25347
+ s && /* @__PURE__ */ W(Xv, {
25337
25348
  "aria-label": "Limited access",
25338
25349
  variant: "warning",
25339
25350
  className: "ml-auto gap-1 group-data-[collapsible=icon]:hidden",
@@ -25347,10 +25358,11 @@ function XW({ groups: e, activeItemKey: n, onItemSelect: r }) {
25347
25358
  XW.displayName = "SidebarNavigation";
25348
25359
  //#endregion
25349
25360
  //#region src/composed/AppSidebar/ContextSidebar.tsx
25350
- function ZW({ className: e, header: n, groups: r, activeItemKey: i, onItemSelect: a, children: o }) {
25361
+ function ZW({ className: e, header: n, groups: r, activeItemKey: i, onItemSelect: a, children: o, "data-testid": s }) {
25351
25362
  return /* @__PURE__ */ W("div", {
25352
25363
  "data-slot": "context-sidebar",
25353
25364
  className: t("flex h-full flex-col text-sidebar-foreground", e),
25365
+ "data-testid": s,
25354
25366
  children: [n && /* @__PURE__ */ U("div", {
25355
25367
  className: "shrink-0 px-4 py-3",
25356
25368
  children: n
@@ -25359,7 +25371,8 @@ function ZW({ className: e, header: n, groups: r, activeItemKey: i, onItemSelect
25359
25371
  children: o ?? (r && /* @__PURE__ */ U(XW, {
25360
25372
  groups: r,
25361
25373
  activeItemKey: i,
25362
- onItemSelect: a
25374
+ onItemSelect: a,
25375
+ "data-testid": s
25363
25376
  }))
25364
25377
  })]
25365
25378
  });
@@ -25367,13 +25380,15 @@ function ZW({ className: e, header: n, groups: r, activeItemKey: i, onItemSelect
25367
25380
  ZW.displayName = "ContextSidebar";
25368
25381
  //#endregion
25369
25382
  //#region src/composed/AppSidebar/ContextToggleButton.tsx
25370
- function QW({ expanded: e, onToggle: n, className: r }) {
25383
+ function QW({ expanded: e, onToggle: n, className: r, "data-testid": i }) {
25371
25384
  return /* @__PURE__ */ U(ay, {
25372
25385
  variant: "ghost",
25373
25386
  size: "icon",
25374
25387
  className: t("size-7", r),
25375
25388
  onClick: n,
25376
25389
  "aria-label": "Toggle context sidebar",
25390
+ "aria-pressed": e,
25391
+ "data-testid": i,
25377
25392
  children: /* @__PURE__ */ U(ge, { className: e ? "size-4" : "size-4 opacity-50" })
25378
25393
  });
25379
25394
  }
@@ -25381,9 +25396,10 @@ QW.displayName = "ContextToggleButton";
25381
25396
  //#endregion
25382
25397
  //#region src/composed/AppSidebar/SidebarUpgradeFooter.tsx
25383
25398
  var $W = "https://gravitee.io/self-hosted-trial";
25384
- function eG({ lockedFeatures: e }) {
25399
+ function eG({ lockedFeatures: e, "data-testid": t }) {
25385
25400
  return e.length === 0 ? null : /* @__PURE__ */ W("div", {
25386
25401
  className: "rounded-xl bg-primary/10 p-3",
25402
+ "data-testid": t,
25387
25403
  children: [
25388
25404
  /* @__PURE__ */ W("div", {
25389
25405
  className: "mb-1 flex items-center gap-2",
@@ -25403,6 +25419,7 @@ function eG({ lockedFeatures: e }) {
25403
25419
  asChild: !0,
25404
25420
  size: "sm",
25405
25421
  className: "w-full",
25422
+ "data-testid": J(t, "action"),
25406
25423
  children: /* @__PURE__ */ U("a", {
25407
25424
  href: $W,
25408
25425
  target: "_blank",
@@ -29772,8 +29789,9 @@ function bY(e) {
29772
29789
  e !== void 0 && (t[n] = e);
29773
29790
  }
29774
29791
  let n = (e.oneOf ?? e.anyOf)?.find((e) => !QJ(e));
29775
- if (n?.properties) {
29776
- for (let [e, r] of Object.entries(n.properties)) if (r.const !== void 0) t[e] = r.const;
29792
+ if (n?.properties) for (let [e, r] of Object.entries(n.properties)) {
29793
+ let n = fY(r);
29794
+ if (n) t[e] = structuredClone(n.value);
29777
29795
  else if (!(e in t)) {
29778
29796
  let n = bY(r);
29779
29797
  n !== void 0 && (t[e] = n);
@@ -30005,7 +30023,7 @@ function PY({ index: e, path: n, itemsNode: r, itemTitle: i, depth: a, inline: o
30005
30023
  basePath: f,
30006
30024
  disabled: c
30007
30025
  },
30008
- children: /* @__PURE__ */ U(vX, {
30026
+ children: /* @__PURE__ */ U(CX, {
30009
30027
  node: r,
30010
30028
  name: "",
30011
30029
  depth: a + 1,
@@ -30511,6 +30529,7 @@ function nX(e, t) {
30511
30529
  function rX(e, t) {
30512
30530
  return Object.entries(e.properties ?? {}).every(([e, n]) => {
30513
30531
  if (n.const !== void 0) return t(e) === n.const;
30532
+ if (Array.isArray(n.enum) && n.enum.length === 1) return t(e) === n.enum[0];
30514
30533
  if (typeof n.pattern == "string") {
30515
30534
  let r = t(e);
30516
30535
  return typeof r == "string" && new RegExp(n.pattern).test(r);
@@ -30543,85 +30562,112 @@ function oX(e, t) {
30543
30562
  //#endregion
30544
30563
  //#region src/composed/JsonSchemaForm/fields/oneOf/OneOfField.tsx
30545
30564
  function sX({ node: e, depth: t }) {
30546
- 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(() => tX(l.map((e) => e.raw), a, c, (e) => r._getWatch(a ? `${a}.${e}` : e))), f = qe(() => l[u]?.dependencyBranches ?? [], [l, u]);
30547
- if (l.length === 0) return null;
30548
- let p = l[u] ?? l[0], m = n.disabled || s.readOnly === !0, h = `${a || "root"}-variant`, g = (e) => {
30549
- if (e === u) return;
30550
- let t = l[u];
30565
+ 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 = lX(a, n.name), [f, p] = Xe(() => tX(u.map((e) => e.raw), d, l, (e) => r._getWatch(a ? `${a}.${e}` : e))), [m, h] = Xe(!1), g = dX(a ? O(r._defaultValues, a) : r._defaultValues), _ = (u[f] ?? u[0])?.consts ?? [], v = _.map(({ key: e }) => a ? `${a}.${e}` : e), y = M({
30566
+ control: r,
30567
+ name: v.length > 0 ? v : [cX]
30568
+ }), x = _.every(({ value: e }, t) => JSON.stringify(y[t]) === JSON.stringify(e)), S = qe(() => u[f]?.dependencyBranches ?? [], [u, f]), w = Ye(!1);
30569
+ if (Ue(() => {
30570
+ w.current && (w.current = !1, s?.(d, f));
30571
+ }, [
30572
+ s,
30573
+ d,
30574
+ f
30575
+ ]), u.length === 0) return null;
30576
+ let T = u[f] ?? u[0], E = n.disabled || c.readOnly === !0, D = `${a || "root"}-variant`, j = (e) => {
30577
+ if (e === f) {
30578
+ l.set(d, e), h(!0);
30579
+ return;
30580
+ }
30581
+ let t = u[f];
30551
30582
  if (t) {
30552
30583
  for (let e of t.properties.keys()) r.unregister(a ? `${a}.${e}` : e);
30553
30584
  for (let e of t.dependencyBranches ?? []) for (let t of e.properties.keys()) r.unregister(a ? `${a}.${t}` : t);
30554
30585
  }
30555
- c.set(a, e), d(e);
30556
- }, _ = t === 0 ? s.title || "Variant" : null;
30586
+ l.set(d, e), w.current = !0, h(!0), p(e);
30587
+ }, N = t === 0 ? c.title || "Variant" : null;
30557
30588
  return /* @__PURE__ */ W($e, { children: [
30558
30589
  /* @__PURE__ */ W(k, { children: [
30559
- _ !== null && /* @__PURE__ */ U(R, {
30560
- htmlFor: h,
30561
- children: _
30590
+ N !== null && /* @__PURE__ */ U(R, {
30591
+ htmlFor: D,
30592
+ children: N
30562
30593
  }),
30563
30594
  /* @__PURE__ */ W(wH, {
30564
- value: String(u),
30565
- onValueChange: (e) => g(Number(e)),
30566
- disabled: m,
30595
+ value: x ? String(f) : "",
30596
+ onValueChange: (e) => j(Number(e)),
30597
+ disabled: E,
30567
30598
  children: [/* @__PURE__ */ U(DH, {
30568
- id: h,
30569
- "aria-label": _ === null ? "Variant" : void 0,
30599
+ id: D,
30600
+ "aria-label": N === null ? "Variant" : void 0,
30570
30601
  "data-testid": A(o, a, "variant"),
30571
30602
  children: /* @__PURE__ */ U(EH, { placeholder: "Select a variant…" })
30572
- }), /* @__PURE__ */ U(OH, { children: l.map((e, t) => /* @__PURE__ */ U(AH, {
30603
+ }), /* @__PURE__ */ U(OH, { children: u.map((e, t) => /* @__PURE__ */ U(AH, {
30573
30604
  value: String(t),
30574
30605
  "data-testid": A(o, a, `variant-option-${t}`),
30575
30606
  children: e.raw.title ?? `Variant ${t + 1}`
30576
30607
  }, t)) })]
30577
30608
  }),
30578
- t === 0 && s.description && /* @__PURE__ */ U(C, { children: s.description }),
30579
- s.gioConfig?.banner && /* @__PURE__ */ U(F, { banner: s.gioConfig.banner }),
30580
- p.raw.description && /* @__PURE__ */ U(C, { children: p.raw.description }),
30581
- p.raw.gioConfig?.banner && /* @__PURE__ */ U(F, { banner: p.raw.gioConfig.banner })
30609
+ t === 0 && c.description && /* @__PURE__ */ U(C, { children: c.description }),
30610
+ c.gioConfig?.banner && /* @__PURE__ */ U(F, { banner: c.gioConfig.banner }),
30611
+ T.raw.description && /* @__PURE__ */ U(C, { children: T.raw.description }),
30612
+ T.raw.gioConfig?.banner && /* @__PURE__ */ U(F, { banner: T.raw.gioConfig.banner })
30582
30613
  ] }),
30583
- p.consts.map(({ key: e, value: t }) => /* @__PURE__ */ U(cX, {
30614
+ T.consts.map(({ key: e, value: t }) => /* @__PURE__ */ U(uX, {
30584
30615
  path: a ? `${a}.${e}` : e,
30585
- value: t
30616
+ value: t,
30617
+ fill: g,
30618
+ picked: m
30586
30619
  }, e)),
30587
- Array.from(p.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ U(vX, {
30620
+ Array.from(T.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ U(CX, {
30588
30621
  node: n,
30589
30622
  name: e,
30590
30623
  depth: t + 1
30591
- }, `${u}-${e}`)),
30592
- f.length > 0 && /* @__PURE__ */ U(eX, {
30593
- branches: f,
30624
+ }, `${f}-${e}`)),
30625
+ S.length > 0 && /* @__PURE__ */ U(eX, {
30626
+ branches: S,
30594
30627
  basePath: a
30595
30628
  }),
30596
- f.map((e, n) => /* @__PURE__ */ U(IJ, {
30629
+ S.map((e, n) => /* @__PURE__ */ U(IJ, {
30597
30630
  condition: zJ(e.showIf, a),
30598
- children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ U(vX, {
30631
+ children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ U(CX, {
30599
30632
  node: n,
30600
30633
  name: e,
30601
30634
  depth: t + 1
30602
30635
  }, e))
30603
- }, `${u}-var-dep-${n}`))
30636
+ }, `${f}-var-dep-${n}`))
30604
30637
  ] });
30605
30638
  }
30606
- function cX({ path: e, value: t }) {
30607
- let { control: n } = b(), { field: r } = I({
30608
- control: n,
30639
+ var cX = "__no-discriminator__";
30640
+ function lX(e, t) {
30641
+ return t ? e === t ? "" : e.startsWith(`${t}.`) ? e.slice(t.length + 1) : e : e;
30642
+ }
30643
+ function uX({ path: e, value: t, fill: n, picked: r }) {
30644
+ let { control: i } = b(), { field: a } = I({
30645
+ control: i,
30609
30646
  name: e
30610
- }), { onChange: i } = r;
30647
+ }), { onChange: o, value: s } = a;
30611
30648
  return Ue(() => {
30612
- i(t);
30613
- }, [i, t]), null;
30649
+ (r ? JSON.stringify(s) !== JSON.stringify(t) : n && s === void 0) && o(structuredClone(t));
30650
+ }, [
30651
+ n,
30652
+ r,
30653
+ s,
30654
+ o,
30655
+ t
30656
+ ]), null;
30657
+ }
30658
+ function dX(e) {
30659
+ return e == null ? !0 : typeof e != "object" || Array.isArray(e) ? !1 : Object.values(e).every((e) => e === void 0);
30614
30660
  }
30615
30661
  //#endregion
30616
30662
  //#region src/composed/JsonSchemaForm/fields/object/ObjectField.tsx
30617
- function lX({ node: e, name: n, depth: r, hiddenTitle: i }) {
30663
+ function fX({ node: e, name: n, depth: r, hiddenTitle: i }) {
30618
30664
  let a = b(), { schema: o } = e, s = n ? a.basePath ? `${a.basePath}.${n}` : n : a.basePath, c = eY(o) || tY(o), l = qe(() => e.dependencyBranches ?? [], [e.dependencyBranches]), u = l.length > 0, d = (e.properties || c || u) && /* @__PURE__ */ U(P.Provider, {
30619
30665
  value: {
30620
30666
  ...a,
30621
30667
  basePath: s
30622
30668
  },
30623
30669
  children: /* @__PURE__ */ W(L, { children: [
30624
- e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ U(vX, {
30670
+ e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ U(CX, {
30625
30671
  node: t,
30626
30672
  name: e,
30627
30673
  depth: r + 1
@@ -30632,7 +30678,7 @@ function lX({ node: e, name: n, depth: r, hiddenTitle: i }) {
30632
30678
  }),
30633
30679
  l.map((e, t) => /* @__PURE__ */ U(IJ, {
30634
30680
  condition: zJ(e.showIf, s),
30635
- children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ U(vX, {
30681
+ children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ U(CX, {
30636
30682
  node: t,
30637
30683
  name: e,
30638
30684
  depth: r + 1
@@ -30662,7 +30708,7 @@ function lX({ node: e, name: n, depth: r, hiddenTitle: i }) {
30662
30708
  }
30663
30709
  //#endregion
30664
30710
  //#region src/composed/PasswordInput/PasswordInput.tsx
30665
- function uX({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, "data-testid": o, ...s }) {
30711
+ function pX({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, "data-testid": o, ...s }) {
30666
30712
  let [c, l] = Xe(!1);
30667
30713
  return /* @__PURE__ */ W($A, {
30668
30714
  className: e,
@@ -30690,15 +30736,15 @@ function uX({ groupClassName: e, showLabel: t = "Show password", hideLabel: n =
30690
30736
  })]
30691
30737
  });
30692
30738
  }
30693
- uX.displayName = "PasswordInput";
30739
+ pX.displayName = "PasswordInput";
30694
30740
  //#endregion
30695
30741
  //#region src/composed/JsonSchemaForm/fields/string/StringField.tsx
30696
- var dX = "{#request.headers['x-custom'] == 'value'}";
30697
- function fX({ node: n, name: r, hiddenTitle: i }) {
30742
+ var mX = "{#request.headers['x-custom'] == 'value'}";
30743
+ function hX({ node: n, name: r, hiddenTitle: i }) {
30698
30744
  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({
30699
30745
  control: a,
30700
30746
  name: u
30701
- }), 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 ? dX : void 0), x = v ? "font-mono text-xs" : void 0, S = {
30747
+ }), 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 = {
30702
30748
  id: u,
30703
30749
  value: g,
30704
30750
  onChange: d.onChange,
@@ -30727,7 +30773,7 @@ function fX({ node: n, name: r, hiddenTitle: i }) {
30727
30773
  l.format === "text" ? /* @__PURE__ */ U(e, {
30728
30774
  ...S,
30729
30775
  className: x
30730
- }) : l.format === "password" ? /* @__PURE__ */ U(uX, {
30776
+ }) : l.format === "password" ? /* @__PURE__ */ U(pX, {
30731
30777
  ...S,
30732
30778
  pattern: l.pattern
30733
30779
  }) : /* @__PURE__ */ U(QA, {
@@ -30746,23 +30792,23 @@ function fX({ node: n, name: r, hiddenTitle: i }) {
30746
30792
  }
30747
30793
  //#endregion
30748
30794
  //#region src/composed/JsonSchemaForm/fields/resource/ResourceTypeField.tsx
30749
- function pX({ node: e, name: t }) {
30750
- let { externalContext: n } = b(), r = gX(n);
30751
- return r === null ? /* @__PURE__ */ U(fX, {
30795
+ function gX({ node: e, name: t }) {
30796
+ let { externalContext: n } = b(), r = yX(n);
30797
+ return r === null ? /* @__PURE__ */ U(hX, {
30752
30798
  node: e,
30753
30799
  name: t
30754
- }) : /* @__PURE__ */ U(mX, {
30800
+ }) : /* @__PURE__ */ U(_X, {
30755
30801
  node: e,
30756
30802
  name: t,
30757
30803
  injected: r
30758
30804
  });
30759
30805
  }
30760
- function mX({ node: e, name: t, injected: n }) {
30806
+ function _X({ node: e, name: t, injected: n }) {
30761
30807
  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({
30762
30808
  control: r,
30763
30809
  name: c,
30764
30810
  defaultValue: s.default
30765
- }), { ref: d, onBlur: f } = l, p = hX(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 : "";
30811
+ }), { 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 : "";
30766
30812
  g !== "" && !h.includes(g) && h.unshift(g);
30767
30813
  let v = T(s, t), y = a || s.readOnly === !0, x = h.length === 0 ? "No matching resources on this API" : "Select a resource…";
30768
30814
  return /* @__PURE__ */ W(k, {
@@ -30800,20 +30846,40 @@ function mX({ node: e, name: t, injected: n }) {
30800
30846
  ]
30801
30847
  });
30802
30848
  }
30803
- function hX(e) {
30849
+ function vX(e) {
30804
30850
  return typeof e == "string" ? [e] : Array.isArray(e) ? e.filter((e) => typeof e == "string") : [];
30805
30851
  }
30806
- function gX(e) {
30852
+ function yX(e) {
30807
30853
  let t = e?.resources;
30808
30854
  return Array.isArray(t) ? t.filter((e) => typeof e == "object" && !!e && typeof e.name == "string" && typeof e.type == "string") : null;
30809
30855
  }
30810
30856
  //#endregion
30857
+ //#region src/composed/JsonSchemaForm/utils/fieldKind.ts
30858
+ function bX(e) {
30859
+ let t = xX(e.type);
30860
+ if (e.const !== void 0 && e.type === void 0 && e.enum === void 0) return "const";
30861
+ if (Array.isArray(e.enum) && e.enum.length > 0 || JJ(e)) return "enum";
30862
+ if (YJ(e)) return "multiSelect";
30863
+ if (XJ(e)) return "headersArray";
30864
+ if ($J(e)) return "codeEditor";
30865
+ if (t === "null") return "null";
30866
+ if (t === "boolean") return "boolean";
30867
+ if (t === "integer" || t === "number") return "number";
30868
+ if (ZJ(e)) return "resourceType";
30869
+ if (t === "string") return "string";
30870
+ if (e.properties || t === "object" || eY(e) || tY(e)) return "object";
30871
+ if (t === "array" && e.items && !Array.isArray(e.items)) return "array";
30872
+ }
30873
+ function xX(e) {
30874
+ return Array.isArray(e) ? e.find((e) => e !== "null") ?? e[0] : e;
30875
+ }
30876
+ //#endregion
30811
30877
  //#region src/composed/JsonSchemaForm/SchemaField.tsx
30812
- var _X = ze(() => import("./CodeEditorField-DJcqc1vU.js").then((e) => ({ default: e.CodeEditorField })));
30813
- function vX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30878
+ var SX = ze(() => import("./CodeEditorField-DJcqc1vU.js").then((e) => ({ default: e.CodeEditorField })));
30879
+ function CX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30814
30880
  let { basePath: i } = b(), { schema: a } = e, o = t ?? "", s = t ? i ? `${i}.${t}` : t : i, c = qe(() => [s], [s]), l = qe(() => e.displayIf ? zJ(e.displayIf, i) : void 0, [e.displayIf, i]), u = qe(() => e.disableIf ? zJ(e.disableIf, i) : void 0, [e.disableIf, i]);
30815
30881
  if (a.deprecated === !0) return null;
30816
- let d = yX(e, o, t, n, r);
30882
+ let d = wX(e, o, t, n, r);
30817
30883
  return d === null ? null : (u && (d = /* @__PURE__ */ U(LJ, {
30818
30884
  condition: u,
30819
30885
  children: d
@@ -30823,68 +30889,84 @@ function vX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30823
30889
  children: d
30824
30890
  }) : d);
30825
30891
  }
30826
- function yX(e, t, n, r, i) {
30827
- let { schema: a } = e, o = bX(a.type);
30828
- return a.const !== void 0 && a.type === void 0 && a.enum === void 0 ? /* @__PURE__ */ U(UY, {
30829
- node: e,
30830
- name: t
30831
- }) : Array.isArray(a.enum) && a.enum.length > 0 || JJ(a) ? /* @__PURE__ */ U(qY, {
30832
- node: e,
30833
- name: t,
30834
- hiddenTitle: i
30835
- }) : YJ(a) ? /* @__PURE__ */ U(YY, {
30836
- node: e,
30837
- name: t
30838
- }) : XJ(a) ? /* @__PURE__ */ U(RY, {
30839
- node: e,
30840
- name: t,
30841
- depth: r
30842
- }) : $J(a) ? /* @__PURE__ */ U(Fe, {
30843
- fallback: null,
30844
- children: /* @__PURE__ */ U(_X, {
30892
+ function wX(e, t, n, r, i) {
30893
+ let { schema: a } = e, o = bX(a);
30894
+ switch (o) {
30895
+ case "const": return /* @__PURE__ */ U(UY, {
30845
30896
  node: e,
30846
30897
  name: t
30847
- })
30848
- }) : o === "null" ? /* @__PURE__ */ U(ZY, {}) : o === "boolean" ? /* @__PURE__ */ U(HY, {
30849
- node: e,
30850
- name: t,
30851
- hiddenTitle: i
30852
- }) : o === "integer" || o === "number" ? /* @__PURE__ */ U(QY, {
30853
- node: e,
30854
- name: t,
30855
- hiddenTitle: i
30856
- }) : ZJ(a) ? /* @__PURE__ */ U(pX, {
30857
- node: e,
30858
- name: t
30859
- }) : o === "string" ? /* @__PURE__ */ U(fX, {
30860
- node: e,
30861
- name: t,
30862
- hiddenTitle: i
30863
- }) : a.properties || o === "object" || eY(a) || tY(a) ? /* @__PURE__ */ U(lX, {
30864
- node: e,
30865
- name: n,
30866
- depth: r,
30867
- hiddenTitle: i
30868
- }) : o === "array" && a.items && !Array.isArray(a.items) ? /* @__PURE__ */ U(NY, {
30869
- node: e,
30870
- name: n,
30871
- depth: r
30872
- }) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${xX(a)}). Field is omitted.`), null);
30873
- }
30874
- function bX(e) {
30875
- return Array.isArray(e) ? e.find((e) => e !== "null") ?? e[0] : e;
30898
+ });
30899
+ case "enum": return /* @__PURE__ */ U(qY, {
30900
+ node: e,
30901
+ name: t,
30902
+ hiddenTitle: i
30903
+ });
30904
+ case "multiSelect": return /* @__PURE__ */ U(YY, {
30905
+ node: e,
30906
+ name: t
30907
+ });
30908
+ case "headersArray": return /* @__PURE__ */ U(RY, {
30909
+ node: e,
30910
+ name: t,
30911
+ depth: r
30912
+ });
30913
+ case "codeEditor": return /* @__PURE__ */ U(Fe, {
30914
+ fallback: null,
30915
+ children: /* @__PURE__ */ U(SX, {
30916
+ node: e,
30917
+ name: t
30918
+ })
30919
+ });
30920
+ case "null": return /* @__PURE__ */ U(ZY, {});
30921
+ case "boolean": return /* @__PURE__ */ U(HY, {
30922
+ node: e,
30923
+ name: t,
30924
+ hiddenTitle: i
30925
+ });
30926
+ case "number": return /* @__PURE__ */ U(QY, {
30927
+ node: e,
30928
+ name: t,
30929
+ hiddenTitle: i
30930
+ });
30931
+ case "resourceType": return /* @__PURE__ */ U(gX, {
30932
+ node: e,
30933
+ name: t
30934
+ });
30935
+ case "string": return /* @__PURE__ */ U(hX, {
30936
+ node: e,
30937
+ name: t,
30938
+ hiddenTitle: i
30939
+ });
30940
+ case "object": return /* @__PURE__ */ U(fX, {
30941
+ node: e,
30942
+ name: n,
30943
+ depth: r,
30944
+ hiddenTitle: i
30945
+ });
30946
+ case "array": return /* @__PURE__ */ U(NY, {
30947
+ node: e,
30948
+ name: n,
30949
+ depth: r
30950
+ });
30951
+ case void 0: return console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${TX(a)}). Field is omitted.`), null;
30952
+ default: return o;
30953
+ }
30876
30954
  }
30877
- function xX(e) {
30955
+ function TX(e) {
30878
30956
  return e.type ? Array.isArray(e.type) ? e.type.join("|") : e.type : e.oneOf ? "oneOf" : e.anyOf ? "anyOf" : e.allOf ? "allOf" : "unknown";
30879
30957
  }
30880
30958
  //#endregion
30881
30959
  //#region src/composed/JsonSchemaForm/JsonSchemaForm.tsx
30882
- function SX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i, "data-testid": a }) {
30883
- let o = qe(() => {
30960
+ function EX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i, "data-testid": a, variantPicks: o, onVariantChange: s }) {
30961
+ let c = qe(() => {
30884
30962
  try {
30963
+ let t = cY(e, n);
30885
30964
  return {
30886
30965
  ok: !0,
30887
- value: cY(e, n)
30966
+ value: o ? {
30967
+ ...t,
30968
+ variantIndices: o
30969
+ } : t
30888
30970
  };
30889
30971
  } catch (e) {
30890
30972
  return {
@@ -30892,40 +30974,249 @@ function SX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i,
30892
30974
  error: e instanceof Error ? e.message : "Unknown schema error"
30893
30975
  };
30894
30976
  }
30895
- }, [e, n]), s = qe(() => o.ok ? {
30977
+ }, [
30978
+ e,
30979
+ n,
30980
+ o
30981
+ ]), l = qe(() => c.ok ? {
30896
30982
  ok: !0,
30897
30983
  contextValue: {
30898
30984
  control: t,
30899
30985
  basePath: n,
30900
30986
  disabled: r,
30901
30987
  externalContext: i,
30902
- index: o.value,
30988
+ name: n,
30989
+ onVariantChange: s,
30990
+ index: c.value,
30903
30991
  testIdPrefix: a
30904
30992
  }
30905
30993
  } : {
30906
30994
  ok: !1,
30907
- error: o.error
30995
+ error: c.error
30908
30996
  }, [
30909
- o,
30997
+ c,
30910
30998
  t,
30911
30999
  n,
30912
31000
  r,
30913
31001
  i,
30914
- a
31002
+ a,
31003
+ s
30915
31004
  ]);
30916
- return s.ok ? /* @__PURE__ */ U(P.Provider, {
30917
- value: s.contextValue,
30918
- children: /* @__PURE__ */ U(vX, { node: s.contextValue.index.root })
31005
+ return l.ok ? /* @__PURE__ */ U(P.Provider, {
31006
+ value: l.contextValue,
31007
+ children: /* @__PURE__ */ U(CX, { node: l.contextValue.index.root })
30919
31008
  }) : /* @__PURE__ */ W("p", {
30920
31009
  role: "alert",
30921
31010
  className: "text-sm text-destructive",
30922
31011
  "data-testid": A(a, "schema-error"),
30923
- children: ["Schema error: ", s.error]
31012
+ children: ["Schema error: ", l.error]
31013
+ });
31014
+ }
31015
+ //#endregion
31016
+ //#region src/composed/JsonSchemaForm/schema/visibleFields.ts
31017
+ var DX = [];
31018
+ function OX(e, t, n, r) {
31019
+ let i = [...e.properties ?? []], a = [...e.dependencyBranches ?? []], o = kX(e, t, n, r), s = o === void 0 ? void 0 : e.variants?.[o];
31020
+ s && (i.push(...s.properties), a.push(...s.dependencyBranches ?? []));
31021
+ let c = [];
31022
+ for (let e of a) jX(e.showIf, n, r) ? i.push(...e.properties) : c.push(...e.properties.keys());
31023
+ let l = new Set(i.map(([e]) => e)), u = new Set(c.filter((e) => !l.has(e))), d = i.map(([e, t]) => ({
31024
+ key: e,
31025
+ node: t,
31026
+ path: NX(n, e)
31027
+ })), f = /* @__PURE__ */ new Set();
31028
+ for (let e of d) e.node.displayIf && !jX(e.node.displayIf, e.path, r) && (u.add(e.key), f.add(e.key));
31029
+ return {
31030
+ visible: d.filter((e) => !u.has(e.key)),
31031
+ hiddenKeys: [...u],
31032
+ hiddenByDisplayIf: [...f],
31033
+ inactiveVariantKeys: AX(e, o, new Set([...l, ...c])),
31034
+ consts: s?.consts ?? [],
31035
+ activeVariantIndex: s ? o : void 0
31036
+ };
31037
+ }
31038
+ function kX(e, t, n, r) {
31039
+ if (!(!e.variants || e.variants.length === 0)) return tX(e.variants.map((e) => e.raw), n, r.variantPicks, (e) => t[e]);
31040
+ }
31041
+ function AX(e, t, n) {
31042
+ if (!e.variants || e.variants.length < 2) return DX;
31043
+ let r = /* @__PURE__ */ new Set();
31044
+ return e.variants.forEach((e, i) => {
31045
+ if (i === t) return;
31046
+ let a = [...e.properties.keys(), ...(e.dependencyBranches ?? []).flatMap((e) => [...e.properties.keys()])];
31047
+ for (let e of a) n.has(e) || r.add(e);
31048
+ }), [...r];
31049
+ }
31050
+ function jX(e, t, n) {
31051
+ let r = zJ(e, t);
31052
+ return PJ(r, new Map([...r.$eq.keys()].map((e) => [e, NJ(n.root, e)])), n.context);
31053
+ }
31054
+ function MX(e, t) {
31055
+ let n = e.variants ?? [], r = [...e.dependencyBranches ?? [], ...n.flatMap((e) => e.dependencyBranches ?? [])];
31056
+ return [
31057
+ e.properties?.get(t),
31058
+ ...n.map((e) => e.properties.get(t)),
31059
+ ...r.map((e) => e.properties.get(t))
31060
+ ].some((e) => e?.schema.deprecated === !0);
31061
+ }
31062
+ function NX(e, t) {
31063
+ return e ? `${e}.${t}` : t;
31064
+ }
31065
+ //#endregion
31066
+ //#region src/composed/JsonSchemaForm/form-bindings/indexSchemaRoot.ts
31067
+ var PX = /* @__PURE__ */ new WeakMap();
31068
+ function FX(e) {
31069
+ let t = PX.get(e);
31070
+ if (t === void 0) {
31071
+ try {
31072
+ t = cY(e).root;
31073
+ } catch {
31074
+ t = null;
31075
+ }
31076
+ PX.set(e, t);
31077
+ }
31078
+ return t;
31079
+ }
31080
+ //#endregion
31081
+ //#region src/composed/JsonSchemaForm/form-bindings/applyVisibleDefaults.ts
31082
+ var IX = 20, LX = /* @__PURE__ */ new WeakMap(), RX = /* @__PURE__ */ new WeakSet();
31083
+ function zX(e, t, n) {
31084
+ let r = FX(e);
31085
+ if (!r) return t ?? {};
31086
+ let i = structuredClone(t ?? {}), a = t ?? {}, o = {
31087
+ root: i,
31088
+ context: n
31089
+ };
31090
+ for (let e = 0; e < IX; e++) if (!VX(r, i, "", o, "fill", a) && !VX(r, i, "", {
31091
+ root: structuredClone(i),
31092
+ context: n
31093
+ }, "remove", a)) return i;
31094
+ 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;
31095
+ }
31096
+ function BX(e, t, n, r, i, a) {
31097
+ if (Array.isArray(t)) {
31098
+ let { items: o } = e;
31099
+ if (!o) return !1;
31100
+ let s = !1;
31101
+ return t.forEach((e, c) => {
31102
+ let l = tZ(n, String(c));
31103
+ if (i === "fill" && e === null && bX(o.schema) === "object") {
31104
+ UX(o, l, r, null, (e) => {
31105
+ t[c] = e;
31106
+ }) && (s = !0);
31107
+ return;
31108
+ }
31109
+ BX(o, e, l, r, i, XX(a, c)) && (s = !0);
31110
+ }), s;
31111
+ }
31112
+ return typeof t != "object" || !t ? !1 : VX(e, t, n, r, i, a);
31113
+ }
31114
+ function VX(e, t, n, r, i, a) {
31115
+ let o = OX(e, t, n, r), s = i === "remove", c = !1;
31116
+ for (let n of s ? o.hiddenKeys : []) !(n in t) || MX(e, n) || (delete t[n], c = !0);
31117
+ let l = qX(e, o.activeVariantIndex), u = l?.raw.required ?? [], d = l !== void 0 && ZX(e, l, a), f = l !== void 0 && !d ? YX(e) : JX;
31118
+ for (let n of s && d ? o.inactiveVariantKeys : []) !(n in t) || u.includes(n) || MX(e, n) || (delete t[n], c = !0);
31119
+ let p = QX(e, d ? o.activeVariantIndex : void 0), m = s && p ? $X(e) : null;
31120
+ for (let e of m ? Object.keys(t) : []) m?.keys.has(e) || m?.patterns.some((t) => t.test(e)) || (delete t[e], c = !0);
31121
+ for (let { key: e, value: n } of s || !d ? [] : o.consts) t[e] === void 0 && (t[e] = n, c = !0);
31122
+ let h = /* @__PURE__ */ new Set();
31123
+ for (let e of o.visible) {
31124
+ if (h.has(e.key) || (h.add(e.key), e.node.schema.deprecated === !0)) continue;
31125
+ if (!s && t[e.key] === void 0 && !f.has(e.key)) {
31126
+ let n = bX(e.node.schema), i = KX(e.node.schema), a = i === void 0 ? HX(n, e.node.schema) : i;
31127
+ if (a !== void 0) t[e.key] = a, c = !0;
31128
+ else if (n === "object") {
31129
+ UX(e.node, e.path, r, void 0, WX(t, e.key)) && (c = !0);
31130
+ continue;
31131
+ }
31132
+ } else if (!s && t[e.key] === null && bX(e.node.schema) === "object") {
31133
+ UX(e.node, e.path, r, null, WX(t, e.key)) && (c = !0);
31134
+ continue;
31135
+ }
31136
+ let n = XX(a, e.key);
31137
+ BX(e.node, t[e.key], e.path, r, i, n) && (c = !0);
31138
+ }
31139
+ return c;
31140
+ }
31141
+ function HX(e, t) {
31142
+ switch (e) {
31143
+ case "const": return structuredClone(t.const);
31144
+ case "boolean": return !1;
31145
+ case "multiSelect":
31146
+ case "array":
31147
+ case "headersArray": return [];
31148
+ default: return;
31149
+ }
31150
+ }
31151
+ function UX(e, t, n, r, i) {
31152
+ let a = {};
31153
+ return i(a), VX(e, a, t, n, "fill", void 0), Object.keys(a).length > 0 || GX(e, a, t, n) ? !0 : (i(r), !1);
31154
+ }
31155
+ function WX(e, t) {
31156
+ return (n) => {
31157
+ n === void 0 ? delete e[t] : e[t] = n;
31158
+ };
31159
+ }
31160
+ function GX(e, t, n, r) {
31161
+ return OX(e, t, n, r).visible.some((e) => {
31162
+ if (e.node.schema.deprecated === !0) return !1;
31163
+ let t = bX(e.node.schema);
31164
+ return t !== void 0 && t !== "null" && t !== "object";
30924
31165
  });
30925
31166
  }
31167
+ function KX(e) {
31168
+ if (Object.prototype.hasOwnProperty.call(e, "default")) return structuredClone(e.default);
31169
+ }
31170
+ function qX(e, t) {
31171
+ return t === void 0 ? void 0 : e.variants?.[t];
31172
+ }
31173
+ var JX = /* @__PURE__ */ new Set();
31174
+ function YX(e) {
31175
+ return new Set((e.variants ?? []).flatMap((e) => e.consts.map(({ key: e }) => e)));
31176
+ }
31177
+ function XX(e, t) {
31178
+ if (!(typeof e != "object" || !e)) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0;
31179
+ }
31180
+ function ZX(e, t, n) {
31181
+ if (typeof n != "object" || !n || Object.keys(n).length === 0) return !0;
31182
+ let r = n, i = (e) => {
31183
+ let t = e.consts.filter(({ key: e }) => r[e] !== void 0);
31184
+ return t.length > 0 && t.every(({ key: e, value: t }) => r[e] === t);
31185
+ };
31186
+ return i(t) && (e.variants ?? []).every((e) => e === t || !i(e));
31187
+ }
31188
+ function QX(e, t) {
31189
+ return e.schema.additionalProperties === !1 ? !0 : (t === void 0 ? void 0 : e.variants?.[t])?.raw.additionalProperties === !1;
31190
+ }
31191
+ function $X(e) {
31192
+ let t = LX.get(e);
31193
+ if (t === void 0) {
31194
+ let n = /* @__PURE__ */ new Set(), r = [];
31195
+ t = eZ(e.schema, n, r) ? {
31196
+ keys: n,
31197
+ patterns: r
31198
+ } : null, LX.set(e, t);
31199
+ }
31200
+ return t;
31201
+ }
31202
+ function eZ(e, t, n) {
31203
+ if (e.$ref !== void 0 || e.allOf || e.if !== void 0 || e.then !== void 0 || e.else !== void 0) return !1;
31204
+ for (let n of Object.keys(e.properties ?? {})) t.add(n);
31205
+ for (let t of Object.keys(e.patternProperties ?? {})) try {
31206
+ n.push(new RegExp(t));
31207
+ } catch {
31208
+ return !1;
31209
+ }
31210
+ let r = [...e.oneOf ?? [], ...e.anyOf ?? []];
31211
+ 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);
31212
+ return r.every((e) => eZ(e, t, n));
31213
+ }
31214
+ function tZ(e, t) {
31215
+ return e ? `${e}.${t}` : t;
31216
+ }
30926
31217
  //#endregion
30927
31218
  //#region src/composed/JsonSchemaForm/form-bindings/composeResolvers.ts
30928
- function CX(...e) {
31219
+ function nZ(...e) {
30929
31220
  return async (t, n, r) => {
30930
31221
  let i = await Promise.all(e.map((e) => e(t, n, r))), a = {};
30931
31222
  for (let e of i) Object.assign(a, e.errors);
@@ -30940,7 +31231,7 @@ function CX(...e) {
30940
31231
  }
30941
31232
  //#endregion
30942
31233
  //#region ../../node_modules/ajv/dist/compile/codegen/code.js
30943
- var wX = /* @__PURE__ */ G(((e) => {
31234
+ var rZ = /* @__PURE__ */ G(((e) => {
30944
31235
  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;
30945
31236
  var t = class {};
30946
31237
  e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
@@ -31045,9 +31336,9 @@ var wX = /* @__PURE__ */ G(((e) => {
31045
31336
  return new r(e.toString());
31046
31337
  }
31047
31338
  e.regexpCode = g;
31048
- })), TX = /* @__PURE__ */ G(((e) => {
31339
+ })), iZ = /* @__PURE__ */ G(((e) => {
31049
31340
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
31050
- var t = wX(), n = class extends Error {
31341
+ var t = rZ(), n = class extends Error {
31051
31342
  constructor(e) {
31052
31343
  super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
31053
31344
  }
@@ -31156,9 +31447,9 @@ var wX = /* @__PURE__ */ G(((e) => {
31156
31447
  return c;
31157
31448
  }
31158
31449
  };
31159
- })), EX = /* @__PURE__ */ G(((e) => {
31450
+ })), aZ = /* @__PURE__ */ G(((e) => {
31160
31451
  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;
31161
- var t = wX(), n = TX(), r = wX();
31452
+ var t = rZ(), n = iZ(), r = rZ();
31162
31453
  Object.defineProperty(e, "_", {
31163
31454
  enumerable: !0,
31164
31455
  get: function() {
@@ -31200,7 +31491,7 @@ var wX = /* @__PURE__ */ G(((e) => {
31200
31491
  return r.Name;
31201
31492
  }
31202
31493
  });
31203
- var i = TX();
31494
+ var i = iZ();
31204
31495
  Object.defineProperty(e, "Scope", {
31205
31496
  enumerable: !0,
31206
31497
  get: function() {
@@ -31671,9 +31962,9 @@ var wX = /* @__PURE__ */ G(((e) => {
31671
31962
  function L(e) {
31672
31963
  return e instanceof t.Name ? e : (0, t._)`(${e})`;
31673
31964
  }
31674
- })), DX = /* @__PURE__ */ G(((e) => {
31965
+ })), oZ = /* @__PURE__ */ G(((e) => {
31675
31966
  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;
31676
- var t = EX(), n = wX();
31967
+ var t = aZ(), n = rZ();
31677
31968
  function r(e) {
31678
31969
  let t = {};
31679
31970
  for (let n of e) t[n] = !0;
@@ -31796,9 +32087,9 @@ var wX = /* @__PURE__ */ G(((e) => {
31796
32087
  }
31797
32088
  }
31798
32089
  e.checkStrictMode = x;
31799
- })), OX = /* @__PURE__ */ G(((e) => {
32090
+ })), sZ = /* @__PURE__ */ G(((e) => {
31800
32091
  Object.defineProperty(e, "__esModule", { value: !0 });
31801
- var t = EX();
32092
+ var t = aZ();
31802
32093
  e.default = {
31803
32094
  data: new t.Name("data"),
31804
32095
  valCxt: new t.Name("valCxt"),
@@ -31817,9 +32108,9 @@ var wX = /* @__PURE__ */ G(((e) => {
31817
32108
  jsonLen: new t.Name("jsonLen"),
31818
32109
  jsonPart: new t.Name("jsonPart")
31819
32110
  };
31820
- })), kX = /* @__PURE__ */ G(((e) => {
32111
+ })), cZ = /* @__PURE__ */ G(((e) => {
31821
32112
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
31822
- var t = EX(), n = DX(), r = OX();
32113
+ var t = aZ(), n = oZ(), r = sZ();
31823
32114
  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)` };
31824
32115
  function i(n, r = e.keywordError, i, a) {
31825
32116
  let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
@@ -31881,9 +32172,9 @@ var wX = /* @__PURE__ */ G(((e) => {
31881
32172
  let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
31882
32173
  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]);
31883
32174
  }
31884
- })), AX = /* @__PURE__ */ G(((e) => {
32175
+ })), lZ = /* @__PURE__ */ G(((e) => {
31885
32176
  Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
31886
- var t = kX(), n = EX(), r = OX(), i = { message: "boolean schema is false" };
32177
+ var t = cZ(), n = aZ(), r = sZ(), i = { message: "boolean schema is false" };
31887
32178
  function a(e) {
31888
32179
  let { gen: t, schema: i, validateName: a } = e;
31889
32180
  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));
@@ -31907,7 +32198,7 @@ var wX = /* @__PURE__ */ G(((e) => {
31907
32198
  };
31908
32199
  (0, t.reportError)(o, i, void 0, n);
31909
32200
  }
31910
- })), jX = /* @__PURE__ */ G(((e) => {
32201
+ })), uZ = /* @__PURE__ */ G(((e) => {
31911
32202
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
31912
32203
  var t = new Set([
31913
32204
  "string",
@@ -31961,7 +32252,7 @@ var wX = /* @__PURE__ */ G(((e) => {
31961
32252
  };
31962
32253
  }
31963
32254
  e.getRules = r;
31964
- })), MX = /* @__PURE__ */ G(((e) => {
32255
+ })), dZ = /* @__PURE__ */ G(((e) => {
31965
32256
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
31966
32257
  function t({ schema: e, self: t }, r) {
31967
32258
  let i = t.RULES.types[r];
@@ -31976,9 +32267,9 @@ var wX = /* @__PURE__ */ G(((e) => {
31976
32267
  return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
31977
32268
  }
31978
32269
  e.shouldUseRule = r;
31979
- })), NX = /* @__PURE__ */ G(((e) => {
32270
+ })), fZ = /* @__PURE__ */ G(((e) => {
31980
32271
  Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
31981
- var t = jX(), n = MX(), r = kX(), i = EX(), a = DX(), o;
32272
+ var t = uZ(), n = dZ(), r = cZ(), i = aZ(), a = oZ(), o;
31982
32273
  (function(e) {
31983
32274
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
31984
32275
  })(o || (e.DataType = o = {}));
@@ -32113,9 +32404,9 @@ var wX = /* @__PURE__ */ G(((e) => {
32113
32404
  it: e
32114
32405
  };
32115
32406
  }
32116
- })), PX = /* @__PURE__ */ G(((e) => {
32407
+ })), pZ = /* @__PURE__ */ G(((e) => {
32117
32408
  Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
32118
- var t = EX(), n = DX();
32409
+ var t = aZ(), n = oZ();
32119
32410
  function r(e, t) {
32120
32411
  let { properties: n, items: r } = e.schema;
32121
32412
  if (t === "object" && n) for (let t in n) i(e, t, n[t].default);
@@ -32133,9 +32424,9 @@ var wX = /* @__PURE__ */ G(((e) => {
32133
32424
  let u = (0, t._)`${l} === undefined`;
32134
32425
  c.useDefaults === "empty" && (u = (0, t._)`${u} || ${l} === null || ${l} === ""`), a.if(u, (0, t._)`${l} = ${(0, t.stringify)(i)}`);
32135
32426
  }
32136
- })), FX = /* @__PURE__ */ G(((e) => {
32427
+ })), mZ = /* @__PURE__ */ G(((e) => {
32137
32428
  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;
32138
- var t = EX(), n = DX(), r = OX(), i = DX();
32429
+ var t = aZ(), n = oZ(), r = sZ(), i = oZ();
32139
32430
  function a(e, n) {
32140
32431
  let { gen: r, data: i, it: a } = e;
32141
32432
  r.if(d(r, i, n, a.opts.ownProperties), () => {
@@ -32237,9 +32528,9 @@ var wX = /* @__PURE__ */ G(((e) => {
32237
32528
  })), e.result(s, () => e.reset(), () => e.error(!0));
32238
32529
  }
32239
32530
  e.validateUnion = v;
32240
- })), IX = /* @__PURE__ */ G(((e) => {
32531
+ })), hZ = /* @__PURE__ */ G(((e) => {
32241
32532
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
32242
- var t = EX(), n = OX(), r = FX(), i = kX();
32533
+ var t = aZ(), n = sZ(), r = mZ(), i = cZ();
32243
32534
  function a(e, n) {
32244
32535
  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);
32245
32536
  s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
@@ -32318,9 +32609,9 @@ var wX = /* @__PURE__ */ G(((e) => {
32318
32609
  }
32319
32610
  }
32320
32611
  e.validateKeywordUsage = f;
32321
- })), LX = /* @__PURE__ */ G(((e) => {
32612
+ })), gZ = /* @__PURE__ */ G(((e) => {
32322
32613
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
32323
- var t = EX(), n = DX();
32614
+ var t = aZ(), n = oZ();
32324
32615
  function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
32325
32616
  if (r !== void 0 && a !== void 0) throw Error("both \"keyword\" and \"schema\" passed, only one allowed");
32326
32617
  if (r !== void 0) {
@@ -32364,7 +32655,7 @@ var wX = /* @__PURE__ */ G(((e) => {
32364
32655
  r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
32365
32656
  }
32366
32657
  e.extendSubschemaMode = a;
32367
- })), RX = /* @__PURE__ */ G(((e, t) => {
32658
+ })), _Z = /* @__PURE__ */ G(((e, t) => {
32368
32659
  t.exports = function e(t, n) {
32369
32660
  if (t === n) return !0;
32370
32661
  if (t && n && typeof t == "object" && typeof n == "object") {
@@ -32388,7 +32679,7 @@ var wX = /* @__PURE__ */ G(((e) => {
32388
32679
  }
32389
32680
  return t !== t && n !== n;
32390
32681
  };
32391
- })), zX = /* @__PURE__ */ G(((e, t) => {
32682
+ })), vZ = /* @__PURE__ */ G(((e, t) => {
32392
32683
  var n = t.exports = function(e, t, n) {
32393
32684
  typeof t == "function" && (n = t, t = {}), n = t.cb || n;
32394
32685
  var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
@@ -32451,9 +32742,9 @@ var wX = /* @__PURE__ */ G(((e) => {
32451
32742
  function i(e) {
32452
32743
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
32453
32744
  }
32454
- })), BX = /* @__PURE__ */ G(((e) => {
32745
+ })), yZ = /* @__PURE__ */ G(((e) => {
32455
32746
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
32456
- var t = DX(), n = RX(), r = zX(), i = new Set([
32747
+ var t = oZ(), n = _Z(), r = vZ(), i = new Set([
32457
32748
  "type",
32458
32749
  "format",
32459
32750
  "pattern",
@@ -32542,9 +32833,9 @@ var wX = /* @__PURE__ */ G(((e) => {
32542
32833
  }
32543
32834
  }
32544
32835
  e.getSchemaRefs = h;
32545
- })), VX = /* @__PURE__ */ G(((e) => {
32836
+ })), bZ = /* @__PURE__ */ G(((e) => {
32546
32837
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
32547
- var t = AX(), n = NX(), r = MX(), i = NX(), a = PX(), o = IX(), s = LX(), c = EX(), l = OX(), u = BX(), d = DX(), f = kX();
32838
+ var t = lZ(), n = fZ(), r = dZ(), i = fZ(), a = pZ(), o = hZ(), s = gZ(), c = aZ(), l = sZ(), u = yZ(), d = oZ(), f = cZ();
32548
32839
  function p(e) {
32549
32840
  if (S(e) && (w(e), x(e))) {
32550
32841
  _(e);
@@ -32834,23 +33125,23 @@ var wX = /* @__PURE__ */ G(((e) => {
32834
33125
  }
32835
33126
  }
32836
33127
  e.getData = se;
32837
- })), HX = /* @__PURE__ */ G(((e) => {
33128
+ })), xZ = /* @__PURE__ */ G(((e) => {
32838
33129
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
32839
33130
  constructor(e) {
32840
33131
  super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
32841
33132
  }
32842
33133
  };
32843
- })), UX = /* @__PURE__ */ G(((e) => {
33134
+ })), SZ = /* @__PURE__ */ G(((e) => {
32844
33135
  Object.defineProperty(e, "__esModule", { value: !0 });
32845
- var t = BX();
33136
+ var t = yZ();
32846
33137
  e.default = class extends Error {
32847
33138
  constructor(e, n, r, i) {
32848
33139
  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));
32849
33140
  }
32850
33141
  };
32851
- })), WX = /* @__PURE__ */ G(((e) => {
33142
+ })), CZ = /* @__PURE__ */ G(((e) => {
32852
33143
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
32853
- var t = EX(), n = HX(), r = OX(), i = BX(), a = DX(), o = VX(), s = class {
33144
+ var t = aZ(), n = xZ(), r = sZ(), i = yZ(), a = oZ(), o = bZ(), s = class {
32854
33145
  constructor(e) {
32855
33146
  this.refs = {}, this.dynamicAnchors = {};
32856
33147
  let t;
@@ -33009,27 +33300,27 @@ var wX = /* @__PURE__ */ G(((e) => {
33009
33300
  baseId: t
33010
33301
  }), o.schema !== o.root.schema) return o;
33011
33302
  }
33012
- })), GX = /* @__PURE__ */ mt({
33013
- $id: () => KX,
33303
+ })), wZ = /* @__PURE__ */ mt({
33304
+ $id: () => TZ,
33014
33305
  additionalProperties: () => !1,
33015
- default: () => ZX,
33016
- description: () => qX,
33017
- properties: () => XX,
33018
- required: () => YX,
33019
- type: () => JX
33020
- }), KX, qX, JX, YX, XX, ZX, QX = pt((() => {
33021
- KX = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", qX = "Meta-schema for $data reference (JSON AnySchema extension proposal)", JX = "object", YX = ["$data"], XX = { $data: {
33306
+ default: () => AZ,
33307
+ description: () => EZ,
33308
+ properties: () => kZ,
33309
+ required: () => OZ,
33310
+ type: () => DZ
33311
+ }), TZ, EZ, DZ, OZ, kZ, AZ, jZ = pt((() => {
33312
+ TZ = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", EZ = "Meta-schema for $data reference (JSON AnySchema extension proposal)", DZ = "object", OZ = ["$data"], kZ = { $data: {
33022
33313
  type: "string",
33023
33314
  anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
33024
- } }, ZX = {
33025
- $id: KX,
33026
- description: qX,
33027
- type: JX,
33028
- required: YX,
33029
- properties: XX,
33315
+ } }, AZ = {
33316
+ $id: TZ,
33317
+ description: EZ,
33318
+ type: DZ,
33319
+ required: OZ,
33320
+ properties: kZ,
33030
33321
  additionalProperties: !1
33031
33322
  };
33032
- })), $X = /* @__PURE__ */ G(((e, t) => {
33323
+ })), MZ = /* @__PURE__ */ G(((e, t) => {
33033
33324
  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);
33034
33325
  {
33035
33326
  let e = "0123456789ABCDEF";
@@ -33378,8 +33669,8 @@ var wX = /* @__PURE__ */ G(((e) => {
33378
33669
  normalizeIPv6: b,
33379
33670
  stringArrayToHexStripped: f
33380
33671
  };
33381
- })), eZ = /* @__PURE__ */ G(((e, t) => {
33382
- var { isUUID: n } = $X(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
33672
+ })), NZ = /* @__PURE__ */ G(((e, t) => {
33673
+ var { isUUID: n } = MZ(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
33383
33674
  "http",
33384
33675
  "https",
33385
33676
  "ws",
@@ -33484,8 +33775,8 @@ var wX = /* @__PURE__ */ G(((e) => {
33484
33775
  isValidSchemeName: a,
33485
33776
  getSchemeHandler: y
33486
33777
  };
33487
- })), tZ = /* @__PURE__ */ G(((e, t) => {
33488
- 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 } = $X(), { SCHEMES: m, getSchemeHandler: h } = eZ(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
33778
+ })), PZ = /* @__PURE__ */ G(((e, t) => {
33779
+ 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 } = MZ(), { SCHEMES: m, getSchemeHandler: h } = NZ(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
33489
33780
  function v(e) {
33490
33781
  let t = unescape(String(e));
33491
33782
  if (!g.test(t)) throw TypeError(_);
@@ -33654,20 +33945,20 @@ var wX = /* @__PURE__ */ G(((e) => {
33654
33945
  parse: N
33655
33946
  };
33656
33947
  t.exports = L, t.exports.default = L, t.exports.fastUri = L;
33657
- })), nZ = /* @__PURE__ */ G(((e) => {
33948
+ })), FZ = /* @__PURE__ */ G(((e) => {
33658
33949
  Object.defineProperty(e, "__esModule", { value: !0 });
33659
- var t = tZ();
33950
+ var t = PZ();
33660
33951
  t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
33661
- })), rZ = /* @__PURE__ */ G(((e) => {
33952
+ })), IZ = /* @__PURE__ */ G(((e) => {
33662
33953
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
33663
- var t = VX();
33954
+ var t = bZ();
33664
33955
  Object.defineProperty(e, "KeywordCxt", {
33665
33956
  enumerable: !0,
33666
33957
  get: function() {
33667
33958
  return t.KeywordCxt;
33668
33959
  }
33669
33960
  });
33670
- var n = EX();
33961
+ var n = aZ();
33671
33962
  Object.defineProperty(e, "_", {
33672
33963
  enumerable: !0,
33673
33964
  get: function() {
@@ -33699,7 +33990,7 @@ var wX = /* @__PURE__ */ G(((e) => {
33699
33990
  return n.CodeGen;
33700
33991
  }
33701
33992
  });
33702
- var r = HX(), i = UX(), a = jX(), o = WX(), s = EX(), c = BX(), l = NX(), u = DX(), d = (QX(), _t(GX).default), f = nZ(), p = (e, t) => new RegExp(e, t);
33993
+ var r = xZ(), i = SZ(), a = uZ(), o = CZ(), s = aZ(), c = yZ(), l = fZ(), u = oZ(), d = (jZ(), _t(wZ).default), f = FZ(), p = (e, t) => new RegExp(e, t);
33703
33994
  p.code = "new RegExp";
33704
33995
  var m = [
33705
33996
  "removeAdditional",
@@ -34085,16 +34376,16 @@ var wX = /* @__PURE__ */ G(((e) => {
34085
34376
  function F(e) {
34086
34377
  return { anyOf: [e, P] };
34087
34378
  }
34088
- })), iZ = /* @__PURE__ */ G(((e) => {
34379
+ })), LZ = /* @__PURE__ */ G(((e) => {
34089
34380
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
34090
34381
  keyword: "id",
34091
34382
  code() {
34092
34383
  throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
34093
34384
  }
34094
34385
  };
34095
- })), aZ = /* @__PURE__ */ G(((e) => {
34386
+ })), RZ = /* @__PURE__ */ G(((e) => {
34096
34387
  Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
34097
- var t = UX(), n = FX(), r = EX(), i = OX(), a = WX(), o = DX(), s = {
34388
+ var t = SZ(), n = mZ(), r = aZ(), i = sZ(), a = CZ(), o = oZ(), s = {
34098
34389
  keyword: "$ref",
34099
34390
  schemaType: "string",
34100
34391
  code(e) {
@@ -34167,9 +34458,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34167
34458
  }
34168
34459
  }
34169
34460
  e.callRef = l, e.default = s;
34170
- })), oZ = /* @__PURE__ */ G(((e) => {
34461
+ })), zZ = /* @__PURE__ */ G(((e) => {
34171
34462
  Object.defineProperty(e, "__esModule", { value: !0 });
34172
- var t = iZ(), n = aZ();
34463
+ var t = LZ(), n = RZ();
34173
34464
  e.default = [
34174
34465
  "$schema",
34175
34466
  "$id",
@@ -34180,9 +34471,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34180
34471
  t.default,
34181
34472
  n.default
34182
34473
  ];
34183
- })), sZ = /* @__PURE__ */ G(((e) => {
34474
+ })), BZ = /* @__PURE__ */ G(((e) => {
34184
34475
  Object.defineProperty(e, "__esModule", { value: !0 });
34185
- var t = EX(), n = t.operators, r = {
34476
+ var t = aZ(), n = t.operators, r = {
34186
34477
  maximum: {
34187
34478
  okStr: "<=",
34188
34479
  ok: n.LTE,
@@ -34218,9 +34509,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34218
34509
  e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
34219
34510
  }
34220
34511
  };
34221
- })), cZ = /* @__PURE__ */ G(((e) => {
34512
+ })), VZ = /* @__PURE__ */ G(((e) => {
34222
34513
  Object.defineProperty(e, "__esModule", { value: !0 });
34223
- var t = EX();
34514
+ var t = aZ();
34224
34515
  e.default = {
34225
34516
  keyword: "multipleOf",
34226
34517
  type: "number",
@@ -34235,7 +34526,7 @@ var wX = /* @__PURE__ */ G(((e) => {
34235
34526
  e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
34236
34527
  }
34237
34528
  };
34238
- })), lZ = /* @__PURE__ */ G(((e) => {
34529
+ })), HZ = /* @__PURE__ */ G(((e) => {
34239
34530
  Object.defineProperty(e, "__esModule", { value: !0 });
34240
34531
  function t(e) {
34241
34532
  let t = e.length, n = 0, r = 0, i;
@@ -34243,9 +34534,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34243
34534
  return n;
34244
34535
  }
34245
34536
  e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
34246
- })), uZ = /* @__PURE__ */ G(((e) => {
34537
+ })), UZ = /* @__PURE__ */ G(((e) => {
34247
34538
  Object.defineProperty(e, "__esModule", { value: !0 });
34248
- var t = EX(), n = DX(), r = lZ();
34539
+ var t = aZ(), n = oZ(), r = HZ();
34249
34540
  e.default = {
34250
34541
  keyword: ["maxLength", "minLength"],
34251
34542
  type: "string",
@@ -34263,9 +34554,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34263
34554
  e.fail$data((0, t._)`${l} ${c} ${o}`);
34264
34555
  }
34265
34556
  };
34266
- })), dZ = /* @__PURE__ */ G(((e) => {
34557
+ })), WZ = /* @__PURE__ */ G(((e) => {
34267
34558
  Object.defineProperty(e, "__esModule", { value: !0 });
34268
- var t = FX(), n = DX(), r = EX();
34559
+ var t = mZ(), n = oZ(), r = aZ();
34269
34560
  e.default = {
34270
34561
  keyword: "pattern",
34271
34562
  type: "string",
@@ -34286,9 +34577,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34286
34577
  }
34287
34578
  }
34288
34579
  };
34289
- })), fZ = /* @__PURE__ */ G(((e) => {
34580
+ })), GZ = /* @__PURE__ */ G(((e) => {
34290
34581
  Object.defineProperty(e, "__esModule", { value: !0 });
34291
- var t = EX();
34582
+ var t = aZ();
34292
34583
  e.default = {
34293
34584
  keyword: ["maxProperties", "minProperties"],
34294
34585
  type: "object",
@@ -34306,9 +34597,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34306
34597
  e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
34307
34598
  }
34308
34599
  };
34309
- })), pZ = /* @__PURE__ */ G(((e) => {
34600
+ })), KZ = /* @__PURE__ */ G(((e) => {
34310
34601
  Object.defineProperty(e, "__esModule", { value: !0 });
34311
- var t = FX(), n = EX(), r = DX();
34602
+ var t = mZ(), n = aZ(), r = oZ();
34312
34603
  e.default = {
34313
34604
  keyword: "required",
34314
34605
  type: "object",
@@ -34354,9 +34645,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34354
34645
  }
34355
34646
  }
34356
34647
  };
34357
- })), mZ = /* @__PURE__ */ G(((e) => {
34648
+ })), qZ = /* @__PURE__ */ G(((e) => {
34358
34649
  Object.defineProperty(e, "__esModule", { value: !0 });
34359
- var t = EX();
34650
+ var t = aZ();
34360
34651
  e.default = {
34361
34652
  keyword: ["maxItems", "minItems"],
34362
34653
  type: "array",
@@ -34374,13 +34665,13 @@ var wX = /* @__PURE__ */ G(((e) => {
34374
34665
  e.fail$data((0, t._)`${r}.length ${a} ${i}`);
34375
34666
  }
34376
34667
  };
34377
- })), hZ = /* @__PURE__ */ G(((e) => {
34668
+ })), JZ = /* @__PURE__ */ G(((e) => {
34378
34669
  Object.defineProperty(e, "__esModule", { value: !0 });
34379
- var t = RX();
34670
+ var t = _Z();
34380
34671
  t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
34381
- })), gZ = /* @__PURE__ */ G(((e) => {
34672
+ })), YZ = /* @__PURE__ */ G(((e) => {
34382
34673
  Object.defineProperty(e, "__esModule", { value: !0 });
34383
- var t = NX(), n = EX(), r = DX(), i = hZ();
34674
+ var t = fZ(), n = aZ(), r = oZ(), i = JZ();
34384
34675
  e.default = {
34385
34676
  keyword: "uniqueItems",
34386
34677
  type: "array",
@@ -34421,9 +34712,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34421
34712
  }
34422
34713
  }
34423
34714
  };
34424
- })), _Z = /* @__PURE__ */ G(((e) => {
34715
+ })), XZ = /* @__PURE__ */ G(((e) => {
34425
34716
  Object.defineProperty(e, "__esModule", { value: !0 });
34426
- var t = EX(), n = DX(), r = hZ();
34717
+ var t = aZ(), n = oZ(), r = JZ();
34427
34718
  e.default = {
34428
34719
  keyword: "const",
34429
34720
  $data: !0,
@@ -34436,9 +34727,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34436
34727
  o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
34437
34728
  }
34438
34729
  };
34439
- })), vZ = /* @__PURE__ */ G(((e) => {
34730
+ })), ZZ = /* @__PURE__ */ G(((e) => {
34440
34731
  Object.defineProperty(e, "__esModule", { value: !0 });
34441
- var t = EX(), n = DX(), r = hZ();
34732
+ var t = aZ(), n = oZ(), r = JZ();
34442
34733
  e.default = {
34443
34734
  keyword: "enum",
34444
34735
  schemaType: "array",
@@ -34468,9 +34759,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34468
34759
  }
34469
34760
  }
34470
34761
  };
34471
- })), yZ = /* @__PURE__ */ G(((e) => {
34762
+ })), QZ = /* @__PURE__ */ G(((e) => {
34472
34763
  Object.defineProperty(e, "__esModule", { value: !0 });
34473
- var t = sZ(), n = cZ(), r = uZ(), i = dZ(), a = fZ(), o = pZ(), s = mZ(), c = gZ(), l = _Z(), u = vZ();
34764
+ var t = BZ(), n = VZ(), r = UZ(), i = WZ(), a = GZ(), o = KZ(), s = qZ(), c = YZ(), l = XZ(), u = ZZ();
34474
34765
  e.default = [
34475
34766
  t.default,
34476
34767
  n.default,
@@ -34491,9 +34782,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34491
34782
  l.default,
34492
34783
  u.default
34493
34784
  ];
34494
- })), bZ = /* @__PURE__ */ G(((e) => {
34785
+ })), $Z = /* @__PURE__ */ G(((e) => {
34495
34786
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
34496
- var t = EX(), n = DX(), r = {
34787
+ var t = aZ(), n = oZ(), r = {
34497
34788
  keyword: "additionalItems",
34498
34789
  type: "array",
34499
34790
  schemaType: ["boolean", "object"],
@@ -34531,9 +34822,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34531
34822
  }
34532
34823
  }
34533
34824
  e.validateAdditionalItems = i, e.default = r;
34534
- })), xZ = /* @__PURE__ */ G(((e) => {
34825
+ })), eQ = /* @__PURE__ */ G(((e) => {
34535
34826
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
34536
- var t = EX(), n = DX(), r = FX(), i = {
34827
+ var t = aZ(), n = oZ(), r = mZ(), i = {
34537
34828
  keyword: "items",
34538
34829
  type: "array",
34539
34830
  schemaType: [
@@ -34568,9 +34859,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34568
34859
  }
34569
34860
  }
34570
34861
  e.validateTuple = a, e.default = i;
34571
- })), SZ = /* @__PURE__ */ G(((e) => {
34862
+ })), tQ = /* @__PURE__ */ G(((e) => {
34572
34863
  Object.defineProperty(e, "__esModule", { value: !0 });
34573
- var t = xZ();
34864
+ var t = eQ();
34574
34865
  e.default = {
34575
34866
  keyword: "prefixItems",
34576
34867
  type: "array",
@@ -34578,9 +34869,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34578
34869
  before: "uniqueItems",
34579
34870
  code: (e) => (0, t.validateTuple)(e, "items")
34580
34871
  };
34581
- })), CZ = /* @__PURE__ */ G(((e) => {
34872
+ })), nQ = /* @__PURE__ */ G(((e) => {
34582
34873
  Object.defineProperty(e, "__esModule", { value: !0 });
34583
- var t = EX(), n = DX(), r = FX(), i = bZ();
34874
+ var t = aZ(), n = oZ(), r = mZ(), i = $Z();
34584
34875
  e.default = {
34585
34876
  keyword: "items",
34586
34877
  type: "array",
@@ -34595,9 +34886,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34595
34886
  o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
34596
34887
  }
34597
34888
  };
34598
- })), wZ = /* @__PURE__ */ G(((e) => {
34889
+ })), rQ = /* @__PURE__ */ G(((e) => {
34599
34890
  Object.defineProperty(e, "__esModule", { value: !0 });
34600
- var t = EX(), n = DX();
34891
+ var t = aZ(), n = oZ();
34601
34892
  e.default = {
34602
34893
  keyword: "contains",
34603
34894
  type: "array",
@@ -34650,9 +34941,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34650
34941
  }
34651
34942
  }
34652
34943
  };
34653
- })), TZ = /* @__PURE__ */ G(((e) => {
34944
+ })), iQ = /* @__PURE__ */ G(((e) => {
34654
34945
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
34655
- var t = EX(), n = DX(), r = FX();
34946
+ var t = aZ(), n = oZ(), r = mZ();
34656
34947
  e.error = {
34657
34948
  message: ({ params: { property: e, depsCount: n, deps: r } }) => {
34658
34949
  let i = n === 1 ? "property" : "properties";
@@ -34711,9 +35002,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34711
35002
  }, () => i.var(c, !0)), e.ok(c));
34712
35003
  }
34713
35004
  e.validateSchemaDeps = s, e.default = i;
34714
- })), EZ = /* @__PURE__ */ G(((e) => {
35005
+ })), aQ = /* @__PURE__ */ G(((e) => {
34715
35006
  Object.defineProperty(e, "__esModule", { value: !0 });
34716
- var t = EX(), n = DX();
35007
+ var t = aZ(), n = oZ();
34717
35008
  e.default = {
34718
35009
  keyword: "propertyNames",
34719
35010
  type: "object",
@@ -34739,9 +35030,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34739
35030
  }), e.ok(s);
34740
35031
  }
34741
35032
  };
34742
- })), DZ = /* @__PURE__ */ G(((e) => {
35033
+ })), oQ = /* @__PURE__ */ G(((e) => {
34743
35034
  Object.defineProperty(e, "__esModule", { value: !0 });
34744
- var t = FX(), n = EX(), r = OX(), i = DX();
35035
+ var t = mZ(), n = aZ(), r = sZ(), i = oZ();
34745
35036
  e.default = {
34746
35037
  keyword: "additionalProperties",
34747
35038
  type: ["object"],
@@ -34806,9 +35097,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34806
35097
  }
34807
35098
  }
34808
35099
  };
34809
- })), OZ = /* @__PURE__ */ G(((e) => {
35100
+ })), sQ = /* @__PURE__ */ G(((e) => {
34810
35101
  Object.defineProperty(e, "__esModule", { value: !0 });
34811
- var t = VX(), n = FX(), r = DX(), i = DZ();
35102
+ var t = bZ(), n = mZ(), r = oZ(), i = oQ();
34812
35103
  e.default = {
34813
35104
  keyword: "properties",
34814
35105
  type: "object",
@@ -34835,9 +35126,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34835
35126
  }
34836
35127
  }
34837
35128
  };
34838
- })), kZ = /* @__PURE__ */ G(((e) => {
35129
+ })), cQ = /* @__PURE__ */ G(((e) => {
34839
35130
  Object.defineProperty(e, "__esModule", { value: !0 });
34840
- var t = FX(), n = EX(), r = DX(), i = DX();
35131
+ var t = mZ(), n = aZ(), r = oZ(), i = oZ();
34841
35132
  e.default = {
34842
35133
  keyword: "patternProperties",
34843
35134
  type: "object",
@@ -34870,9 +35161,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34870
35161
  }
34871
35162
  }
34872
35163
  };
34873
- })), AZ = /* @__PURE__ */ G(((e) => {
35164
+ })), lQ = /* @__PURE__ */ G(((e) => {
34874
35165
  Object.defineProperty(e, "__esModule", { value: !0 });
34875
- var t = DX();
35166
+ var t = oZ();
34876
35167
  e.default = {
34877
35168
  keyword: "not",
34878
35169
  schemaType: ["object", "boolean"],
@@ -34893,17 +35184,17 @@ var wX = /* @__PURE__ */ G(((e) => {
34893
35184
  },
34894
35185
  error: { message: "must NOT be valid" }
34895
35186
  };
34896
- })), jZ = /* @__PURE__ */ G(((e) => {
35187
+ })), uQ = /* @__PURE__ */ G(((e) => {
34897
35188
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
34898
35189
  keyword: "anyOf",
34899
35190
  schemaType: "array",
34900
35191
  trackErrors: !0,
34901
- code: FX().validateUnion,
35192
+ code: mZ().validateUnion,
34902
35193
  error: { message: "must match a schema in anyOf" }
34903
35194
  };
34904
- })), MZ = /* @__PURE__ */ G(((e) => {
35195
+ })), dQ = /* @__PURE__ */ G(((e) => {
34905
35196
  Object.defineProperty(e, "__esModule", { value: !0 });
34906
- var t = EX(), n = DX();
35197
+ var t = aZ(), n = oZ();
34907
35198
  e.default = {
34908
35199
  keyword: "oneOf",
34909
35200
  schemaType: "array",
@@ -34933,9 +35224,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34933
35224
  }
34934
35225
  }
34935
35226
  };
34936
- })), NZ = /* @__PURE__ */ G(((e) => {
35227
+ })), fQ = /* @__PURE__ */ G(((e) => {
34937
35228
  Object.defineProperty(e, "__esModule", { value: !0 });
34938
- var t = DX();
35229
+ var t = oZ();
34939
35230
  e.default = {
34940
35231
  keyword: "allOf",
34941
35232
  schemaType: "array",
@@ -34954,9 +35245,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34954
35245
  });
34955
35246
  }
34956
35247
  };
34957
- })), PZ = /* @__PURE__ */ G(((e) => {
35248
+ })), pQ = /* @__PURE__ */ G(((e) => {
34958
35249
  Object.defineProperty(e, "__esModule", { value: !0 });
34959
- var t = EX(), n = DX(), r = {
35250
+ var t = aZ(), n = oZ(), r = {
34960
35251
  keyword: "if",
34961
35252
  schemaType: ["object", "boolean"],
34962
35253
  trackErrors: !0,
@@ -34997,9 +35288,9 @@ var wX = /* @__PURE__ */ G(((e) => {
34997
35288
  return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
34998
35289
  }
34999
35290
  e.default = r;
35000
- })), FZ = /* @__PURE__ */ G(((e) => {
35291
+ })), mQ = /* @__PURE__ */ G(((e) => {
35001
35292
  Object.defineProperty(e, "__esModule", { value: !0 });
35002
- var t = DX();
35293
+ var t = oZ();
35003
35294
  e.default = {
35004
35295
  keyword: ["then", "else"],
35005
35296
  schemaType: ["object", "boolean"],
@@ -35007,9 +35298,9 @@ var wX = /* @__PURE__ */ G(((e) => {
35007
35298
  n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
35008
35299
  }
35009
35300
  };
35010
- })), IZ = /* @__PURE__ */ G(((e) => {
35301
+ })), hQ = /* @__PURE__ */ G(((e) => {
35011
35302
  Object.defineProperty(e, "__esModule", { value: !0 });
35012
- var t = bZ(), n = SZ(), r = xZ(), i = CZ(), a = wZ(), o = TZ(), s = EZ(), c = DZ(), l = OZ(), u = kZ(), d = AZ(), f = jZ(), p = MZ(), m = NZ(), h = PZ(), g = FZ();
35303
+ var t = $Z(), n = tQ(), r = eQ(), i = nQ(), a = rQ(), o = iQ(), s = aQ(), c = oQ(), l = sQ(), u = cQ(), d = lQ(), f = uQ(), p = dQ(), m = fQ(), h = pQ(), g = mQ();
35013
35304
  function _(e = !1) {
35014
35305
  let _ = [
35015
35306
  d.default,
@@ -35027,9 +35318,9 @@ var wX = /* @__PURE__ */ G(((e) => {
35027
35318
  return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
35028
35319
  }
35029
35320
  e.default = _;
35030
- })), LZ = /* @__PURE__ */ G(((e) => {
35321
+ })), gQ = /* @__PURE__ */ G(((e) => {
35031
35322
  Object.defineProperty(e, "__esModule", { value: !0 });
35032
- var t = EX();
35323
+ var t = aZ();
35033
35324
  e.default = {
35034
35325
  keyword: "format",
35035
35326
  type: ["number", "string"],
@@ -35102,9 +35393,9 @@ var wX = /* @__PURE__ */ G(((e) => {
35102
35393
  }
35103
35394
  }
35104
35395
  };
35105
- })), RZ = /* @__PURE__ */ G(((e) => {
35106
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [LZ().default];
35107
- })), zZ = /* @__PURE__ */ G(((e) => {
35396
+ })), _Q = /* @__PURE__ */ G(((e) => {
35397
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [gQ().default];
35398
+ })), vQ = /* @__PURE__ */ G(((e) => {
35108
35399
  Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
35109
35400
  "title",
35110
35401
  "description",
@@ -35118,9 +35409,9 @@ var wX = /* @__PURE__ */ G(((e) => {
35118
35409
  "contentEncoding",
35119
35410
  "contentSchema"
35120
35411
  ];
35121
- })), BZ = /* @__PURE__ */ G(((e) => {
35412
+ })), yQ = /* @__PURE__ */ G(((e) => {
35122
35413
  Object.defineProperty(e, "__esModule", { value: !0 });
35123
- var t = oZ(), n = yZ(), r = IZ(), i = RZ(), a = zZ();
35414
+ var t = zZ(), n = QZ(), r = hQ(), i = _Q(), a = vQ();
35124
35415
  e.default = [
35125
35416
  t.default,
35126
35417
  n.default,
@@ -35129,15 +35420,15 @@ var wX = /* @__PURE__ */ G(((e) => {
35129
35420
  a.metadataVocabulary,
35130
35421
  a.contentVocabulary
35131
35422
  ];
35132
- })), VZ = /* @__PURE__ */ G(((e) => {
35423
+ })), bQ = /* @__PURE__ */ G(((e) => {
35133
35424
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
35134
35425
  var t;
35135
35426
  (function(e) {
35136
35427
  e.Tag = "tag", e.Mapping = "mapping";
35137
35428
  })(t || (e.DiscrError = t = {}));
35138
- })), HZ = /* @__PURE__ */ G(((e) => {
35429
+ })), xQ = /* @__PURE__ */ G(((e) => {
35139
35430
  Object.defineProperty(e, "__esModule", { value: !0 });
35140
- var t = EX(), n = VZ(), r = WX(), i = UX(), a = DX();
35431
+ var t = aZ(), n = bQ(), r = CZ(), i = SZ(), a = oZ();
35141
35432
  e.default = {
35142
35433
  keyword: "discriminator",
35143
35434
  type: "object",
@@ -35205,16 +35496,16 @@ var wX = /* @__PURE__ */ G(((e) => {
35205
35496
  }
35206
35497
  }
35207
35498
  };
35208
- })), UZ = /* @__PURE__ */ mt({
35209
- $id: () => GZ,
35210
- $schema: () => WZ,
35211
- default: () => XZ,
35212
- definitions: () => qZ,
35213
- properties: () => YZ,
35214
- title: () => KZ,
35215
- type: () => JZ
35216
- }), WZ, GZ, KZ, qZ, JZ, YZ, XZ, ZZ = pt((() => {
35217
- WZ = "http://json-schema.org/draft-07/schema#", GZ = "http://json-schema.org/draft-07/schema#", KZ = "Core schema meta-schema", qZ = {
35499
+ })), SQ = /* @__PURE__ */ mt({
35500
+ $id: () => wQ,
35501
+ $schema: () => CQ,
35502
+ default: () => kQ,
35503
+ definitions: () => EQ,
35504
+ properties: () => OQ,
35505
+ title: () => TQ,
35506
+ type: () => DQ
35507
+ }), CQ, wQ, TQ, EQ, DQ, OQ, kQ, AQ = pt((() => {
35508
+ CQ = "http://json-schema.org/draft-07/schema#", wQ = "http://json-schema.org/draft-07/schema#", TQ = "Core schema meta-schema", EQ = {
35218
35509
  schemaArray: {
35219
35510
  type: "array",
35220
35511
  minItems: 1,
@@ -35240,7 +35531,7 @@ var wX = /* @__PURE__ */ G(((e) => {
35240
35531
  uniqueItems: !0,
35241
35532
  default: []
35242
35533
  }
35243
- }, JZ = ["object", "boolean"], YZ = {
35534
+ }, DQ = ["object", "boolean"], OQ = {
35244
35535
  $id: {
35245
35536
  type: "string",
35246
35537
  format: "uri-reference"
@@ -35339,18 +35630,18 @@ var wX = /* @__PURE__ */ G(((e) => {
35339
35630
  anyOf: { $ref: "#/definitions/schemaArray" },
35340
35631
  oneOf: { $ref: "#/definitions/schemaArray" },
35341
35632
  not: { $ref: "#" }
35342
- }, XZ = {
35343
- $schema: WZ,
35344
- $id: GZ,
35345
- title: KZ,
35346
- definitions: qZ,
35347
- type: JZ,
35348
- properties: YZ,
35633
+ }, kQ = {
35634
+ $schema: CQ,
35635
+ $id: wQ,
35636
+ title: TQ,
35637
+ definitions: EQ,
35638
+ type: DQ,
35639
+ properties: OQ,
35349
35640
  default: !0
35350
35641
  };
35351
- })), QZ = /* @__PURE__ */ G(((e, t) => {
35642
+ })), jQ = /* @__PURE__ */ G(((e, t) => {
35352
35643
  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;
35353
- var n = rZ(), r = BZ(), i = HZ(), a = (ZZ(), _t(UZ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
35644
+ var n = IZ(), r = yQ(), i = xQ(), a = (AQ(), _t(SQ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
35354
35645
  _addVocabularies() {
35355
35646
  super._addVocabularies(), r.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(i.default);
35356
35647
  }
@@ -35364,14 +35655,14 @@ var wX = /* @__PURE__ */ G(((e) => {
35364
35655
  }
35365
35656
  };
35366
35657
  e.Ajv = c, t.exports = e = c, t.exports.Ajv = c, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = c;
35367
- var l = VX();
35658
+ var l = bZ();
35368
35659
  Object.defineProperty(e, "KeywordCxt", {
35369
35660
  enumerable: !0,
35370
35661
  get: function() {
35371
35662
  return l.KeywordCxt;
35372
35663
  }
35373
35664
  });
35374
- var u = EX();
35665
+ var u = aZ();
35375
35666
  Object.defineProperty(e, "_", {
35376
35667
  enumerable: !0,
35377
35668
  get: function() {
@@ -35403,62 +35694,687 @@ var wX = /* @__PURE__ */ G(((e) => {
35403
35694
  return u.CodeGen;
35404
35695
  }
35405
35696
  });
35406
- var d = HX();
35697
+ var d = xZ();
35407
35698
  Object.defineProperty(e, "ValidationError", {
35408
35699
  enumerable: !0,
35409
35700
  get: function() {
35410
35701
  return d.default;
35411
35702
  }
35412
35703
  });
35413
- var f = UX();
35704
+ var f = SZ();
35414
35705
  Object.defineProperty(e, "MissingRefError", {
35415
35706
  enumerable: !0,
35416
35707
  get: function() {
35417
35708
  return f.default;
35418
35709
  }
35419
35710
  });
35420
- })), $Z = /* @__PURE__ */ G(((e) => {
35421
- Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
35422
- function t(e, t) {
35423
- return {
35424
- validate: e,
35425
- compare: t
35426
- };
35711
+ })), MQ = /* @__PURE__ */ G(((e) => {
35712
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.dynamicAnchor = void 0;
35713
+ var t = aZ(), n = sZ(), r = CZ(), i = RZ(), a = {
35714
+ keyword: "$dynamicAnchor",
35715
+ schemaType: "string",
35716
+ code: (e) => o(e, e.schema)
35717
+ };
35718
+ function o(e, r) {
35719
+ let { gen: i, it: a } = e;
35720
+ a.schemaEnv.root.dynamicAnchors[r] = !0;
35721
+ let o = (0, t._)`${n.default.dynamicAnchors}${(0, t.getProperty)(r)}`, c = a.errSchemaPath === "#" ? a.validateName : s(e);
35722
+ i.if((0, t._)`!${o}`, () => i.assign(o, c));
35427
35723
  }
35428
- e.fullFormats = {
35429
- date: t(a, o),
35430
- time: t(c(!0), l),
35431
- "date-time": t(f(!0), p),
35432
- "iso-time": t(c(), u),
35433
- "iso-date-time": t(f(), m),
35434
- duration: /^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,
35435
- uri: _,
35436
- "uri-reference": /^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,
35437
- "uri-template": /^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,
35438
- url: /^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,
35439
- email: /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,
35440
- hostname: /^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,
35441
- ipv4: /^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,
35442
- ipv6: /^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,
35443
- regex: E,
35444
- uuid: /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,
35445
- "json-pointer": /^(?:\/(?:[^~/]|~0|~1)*)*$/,
35446
- "json-pointer-uri-fragment": /^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,
35447
- "relative-json-pointer": /^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,
35448
- byte: y,
35449
- int32: {
35450
- type: "number",
35451
- validate: S
35452
- },
35453
- int64: {
35454
- type: "number",
35455
- validate: C
35456
- },
35457
- float: {
35458
- type: "number",
35459
- validate: w
35460
- },
35461
- double: {
35724
+ e.dynamicAnchor = o;
35725
+ function s(e) {
35726
+ 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({
35727
+ schema: n,
35728
+ schemaId: u,
35729
+ root: o,
35730
+ baseId: s,
35731
+ localRefs: c,
35732
+ meta: l
35733
+ });
35734
+ return r.compileSchema.call(a, d), (0, i.getValidate)(e, d);
35735
+ }
35736
+ e.default = a;
35737
+ })), NQ = /* @__PURE__ */ G(((e) => {
35738
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.dynamicRef = void 0;
35739
+ var t = aZ(), n = sZ(), r = RZ(), i = {
35740
+ keyword: "$dynamicRef",
35741
+ schemaType: "string",
35742
+ code: (e) => a(e, e.schema)
35743
+ };
35744
+ function a(e, i) {
35745
+ let { gen: a, keyword: o, it: s } = e;
35746
+ if (i[0] !== "#") throw Error(`"${o}" only supports hash fragment reference`);
35747
+ let c = i.slice(1);
35748
+ if (s.allErrors) l();
35749
+ else {
35750
+ let t = a.let("valid", !1);
35751
+ l(t), e.ok(t);
35752
+ }
35753
+ function l(e) {
35754
+ if (s.schemaEnv.root.dynamicAnchors[c]) {
35755
+ let r = a.let("_v", (0, t._)`${n.default.dynamicAnchors}${(0, t.getProperty)(c)}`);
35756
+ a.if(r, u(r, e), u(s.validateName, e));
35757
+ } else u(s.validateName, e)();
35758
+ }
35759
+ function u(t, n) {
35760
+ return n ? () => a.block(() => {
35761
+ (0, r.callRef)(e, t), a.let(n, !0);
35762
+ }) : () => (0, r.callRef)(e, t);
35763
+ }
35764
+ }
35765
+ e.dynamicRef = a, e.default = i;
35766
+ })), PQ = /* @__PURE__ */ G(((e) => {
35767
+ Object.defineProperty(e, "__esModule", { value: !0 });
35768
+ var t = MQ(), n = oZ();
35769
+ e.default = {
35770
+ keyword: "$recursiveAnchor",
35771
+ schemaType: "boolean",
35772
+ code(e) {
35773
+ e.schema ? (0, t.dynamicAnchor)(e, "") : (0, n.checkStrictMode)(e.it, "$recursiveAnchor: false is ignored");
35774
+ }
35775
+ };
35776
+ })), FQ = /* @__PURE__ */ G(((e) => {
35777
+ Object.defineProperty(e, "__esModule", { value: !0 });
35778
+ var t = NQ();
35779
+ e.default = {
35780
+ keyword: "$recursiveRef",
35781
+ schemaType: "string",
35782
+ code: (e) => (0, t.dynamicRef)(e, e.schema)
35783
+ };
35784
+ })), IQ = /* @__PURE__ */ G(((e) => {
35785
+ Object.defineProperty(e, "__esModule", { value: !0 });
35786
+ var t = MQ(), n = NQ(), r = PQ(), i = FQ();
35787
+ e.default = [
35788
+ t.default,
35789
+ n.default,
35790
+ r.default,
35791
+ i.default
35792
+ ];
35793
+ })), LQ = /* @__PURE__ */ G(((e) => {
35794
+ Object.defineProperty(e, "__esModule", { value: !0 });
35795
+ var t = iQ();
35796
+ e.default = {
35797
+ keyword: "dependentRequired",
35798
+ type: "object",
35799
+ schemaType: "object",
35800
+ error: t.error,
35801
+ code: (e) => (0, t.validatePropertyDeps)(e)
35802
+ };
35803
+ })), RQ = /* @__PURE__ */ G(((e) => {
35804
+ Object.defineProperty(e, "__esModule", { value: !0 });
35805
+ var t = iQ();
35806
+ e.default = {
35807
+ keyword: "dependentSchemas",
35808
+ type: "object",
35809
+ schemaType: "object",
35810
+ code: (e) => (0, t.validateSchemaDeps)(e)
35811
+ };
35812
+ })), zQ = /* @__PURE__ */ G(((e) => {
35813
+ Object.defineProperty(e, "__esModule", { value: !0 });
35814
+ var t = oZ();
35815
+ e.default = {
35816
+ keyword: ["maxContains", "minContains"],
35817
+ type: "array",
35818
+ schemaType: "number",
35819
+ code({ keyword: e, parentSchema: n, it: r }) {
35820
+ n.contains === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "contains" is ignored`);
35821
+ }
35822
+ };
35823
+ })), BQ = /* @__PURE__ */ G(((e) => {
35824
+ Object.defineProperty(e, "__esModule", { value: !0 });
35825
+ var t = LQ(), n = RQ(), r = zQ();
35826
+ e.default = [
35827
+ t.default,
35828
+ n.default,
35829
+ r.default
35830
+ ];
35831
+ })), VQ = /* @__PURE__ */ G(((e) => {
35832
+ Object.defineProperty(e, "__esModule", { value: !0 });
35833
+ var t = aZ(), n = oZ(), r = sZ();
35834
+ e.default = {
35835
+ keyword: "unevaluatedProperties",
35836
+ type: "object",
35837
+ schemaType: ["boolean", "object"],
35838
+ trackErrors: !0,
35839
+ error: {
35840
+ message: "must NOT have unevaluated properties",
35841
+ params: ({ params: e }) => (0, t._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`
35842
+ },
35843
+ code(e) {
35844
+ let { gen: i, schema: a, data: o, errsCount: s, it: c } = e;
35845
+ /* istanbul ignore if */
35846
+ if (!s) throw Error("ajv implementation error");
35847
+ let { allErrors: l, props: u } = c;
35848
+ 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}`);
35849
+ function d(r) {
35850
+ if (a === !1) {
35851
+ e.setParams({ unevaluatedProperty: r }), e.error(), l || i.break();
35852
+ return;
35853
+ }
35854
+ if (!(0, n.alwaysValidSchema)(c, a)) {
35855
+ let a = i.name("valid");
35856
+ e.subschema({
35857
+ keyword: "unevaluatedProperties",
35858
+ dataProp: r,
35859
+ dataPropType: n.Type.Str
35860
+ }, a), l || i.if((0, t.not)(a), () => i.break());
35861
+ }
35862
+ }
35863
+ function f(e, n) {
35864
+ return (0, t._)`!${e} || !${e}[${n}]`;
35865
+ }
35866
+ function p(e, n) {
35867
+ let r = [];
35868
+ for (let i in e) e[i] === !0 && r.push((0, t._)`${n} !== ${i}`);
35869
+ return (0, t.and)(...r);
35870
+ }
35871
+ }
35872
+ };
35873
+ })), HQ = /* @__PURE__ */ G(((e) => {
35874
+ Object.defineProperty(e, "__esModule", { value: !0 });
35875
+ var t = aZ(), n = oZ();
35876
+ e.default = {
35877
+ keyword: "unevaluatedItems",
35878
+ type: "array",
35879
+ schemaType: ["boolean", "object"],
35880
+ error: {
35881
+ message: ({ params: { len: e } }) => (0, t.str)`must NOT have more than ${e} items`,
35882
+ params: ({ params: { len: e } }) => (0, t._)`{limit: ${e}}`
35883
+ },
35884
+ code(e) {
35885
+ let { gen: r, schema: i, data: a, it: o } = e, s = o.items || 0;
35886
+ if (s === !0) return;
35887
+ let c = r.const("len", (0, t._)`${a}.length`);
35888
+ if (i === !1) e.setParams({ len: s }), e.fail((0, t._)`${c} > ${s}`);
35889
+ else if (typeof i == "object" && !(0, n.alwaysValidSchema)(o, i)) {
35890
+ let n = r.var("valid", (0, t._)`${c} <= ${s}`);
35891
+ r.if((0, t.not)(n), () => l(n, s)), e.ok(n);
35892
+ }
35893
+ o.items = !0;
35894
+ function l(i, a) {
35895
+ r.forRange("i", a, c, (a) => {
35896
+ e.subschema({
35897
+ keyword: "unevaluatedItems",
35898
+ dataProp: a,
35899
+ dataPropType: n.Type.Num
35900
+ }, i), o.allErrors || r.if((0, t.not)(i), () => r.break());
35901
+ });
35902
+ }
35903
+ }
35904
+ };
35905
+ })), UQ = /* @__PURE__ */ G(((e) => {
35906
+ Object.defineProperty(e, "__esModule", { value: !0 });
35907
+ var t = VQ(), n = HQ();
35908
+ e.default = [t.default, n.default];
35909
+ })), WQ = /* @__PURE__ */ mt({
35910
+ $id: () => KQ,
35911
+ $recursiveAnchor: () => !0,
35912
+ $schema: () => GQ,
35913
+ $vocabulary: () => qQ,
35914
+ allOf: () => YQ,
35915
+ default: () => QQ,
35916
+ properties: () => ZQ,
35917
+ title: () => JQ,
35918
+ type: () => XQ
35919
+ }), GQ, KQ, qQ, JQ, YQ, XQ, ZQ, QQ, $Q = pt((() => {
35920
+ GQ = "https://json-schema.org/draft/2019-09/schema", KQ = "https://json-schema.org/draft/2019-09/schema", qQ = {
35921
+ "https://json-schema.org/draft/2019-09/vocab/core": !0,
35922
+ "https://json-schema.org/draft/2019-09/vocab/applicator": !0,
35923
+ "https://json-schema.org/draft/2019-09/vocab/validation": !0,
35924
+ "https://json-schema.org/draft/2019-09/vocab/meta-data": !0,
35925
+ "https://json-schema.org/draft/2019-09/vocab/format": !1,
35926
+ "https://json-schema.org/draft/2019-09/vocab/content": !0
35927
+ }, JQ = "Core and Validation specifications meta-schema", YQ = [
35928
+ { $ref: "meta/core" },
35929
+ { $ref: "meta/applicator" },
35930
+ { $ref: "meta/validation" },
35931
+ { $ref: "meta/meta-data" },
35932
+ { $ref: "meta/format" },
35933
+ { $ref: "meta/content" }
35934
+ ], XQ = ["object", "boolean"], ZQ = {
35935
+ definitions: {
35936
+ $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.",
35937
+ type: "object",
35938
+ additionalProperties: { $recursiveRef: "#" },
35939
+ default: {}
35940
+ },
35941
+ dependencies: {
35942
+ $comment: "\"dependencies\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \"dependentSchemas\" and \"dependentRequired\"",
35943
+ type: "object",
35944
+ additionalProperties: { anyOf: [{ $recursiveRef: "#" }, { $ref: "meta/validation#/$defs/stringArray" }] }
35945
+ }
35946
+ }, QQ = {
35947
+ $schema: GQ,
35948
+ $id: KQ,
35949
+ $vocabulary: qQ,
35950
+ $recursiveAnchor: !0,
35951
+ title: JQ,
35952
+ allOf: YQ,
35953
+ type: XQ,
35954
+ properties: ZQ
35955
+ };
35956
+ })), e$ = /* @__PURE__ */ mt({
35957
+ $defs: () => s$,
35958
+ $id: () => n$,
35959
+ $recursiveAnchor: () => !0,
35960
+ $schema: () => t$,
35961
+ $vocabulary: () => r$,
35962
+ default: () => c$,
35963
+ properties: () => o$,
35964
+ title: () => i$,
35965
+ type: () => a$
35966
+ }), t$, n$, r$, i$, a$, o$, s$, c$, l$ = pt((() => {
35967
+ t$ = "https://json-schema.org/draft/2019-09/schema", n$ = "https://json-schema.org/draft/2019-09/meta/applicator", r$ = { "https://json-schema.org/draft/2019-09/vocab/applicator": !0 }, i$ = "Applicator vocabulary meta-schema", a$ = ["object", "boolean"], o$ = {
35968
+ additionalItems: { $recursiveRef: "#" },
35969
+ unevaluatedItems: { $recursiveRef: "#" },
35970
+ items: { anyOf: [{ $recursiveRef: "#" }, { $ref: "#/$defs/schemaArray" }] },
35971
+ contains: { $recursiveRef: "#" },
35972
+ additionalProperties: { $recursiveRef: "#" },
35973
+ unevaluatedProperties: { $recursiveRef: "#" },
35974
+ properties: {
35975
+ type: "object",
35976
+ additionalProperties: { $recursiveRef: "#" },
35977
+ default: {}
35978
+ },
35979
+ patternProperties: {
35980
+ type: "object",
35981
+ additionalProperties: { $recursiveRef: "#" },
35982
+ propertyNames: { format: "regex" },
35983
+ default: {}
35984
+ },
35985
+ dependentSchemas: {
35986
+ type: "object",
35987
+ additionalProperties: { $recursiveRef: "#" }
35988
+ },
35989
+ propertyNames: { $recursiveRef: "#" },
35990
+ if: { $recursiveRef: "#" },
35991
+ then: { $recursiveRef: "#" },
35992
+ else: { $recursiveRef: "#" },
35993
+ allOf: { $ref: "#/$defs/schemaArray" },
35994
+ anyOf: { $ref: "#/$defs/schemaArray" },
35995
+ oneOf: { $ref: "#/$defs/schemaArray" },
35996
+ not: { $recursiveRef: "#" }
35997
+ }, s$ = { schemaArray: {
35998
+ type: "array",
35999
+ minItems: 1,
36000
+ items: { $recursiveRef: "#" }
36001
+ } }, c$ = {
36002
+ $schema: t$,
36003
+ $id: n$,
36004
+ $vocabulary: r$,
36005
+ $recursiveAnchor: !0,
36006
+ title: i$,
36007
+ type: a$,
36008
+ properties: o$,
36009
+ $defs: s$
36010
+ };
36011
+ })), u$ = /* @__PURE__ */ mt({
36012
+ $id: () => f$,
36013
+ $recursiveAnchor: () => !0,
36014
+ $schema: () => d$,
36015
+ $vocabulary: () => p$,
36016
+ default: () => _$,
36017
+ properties: () => g$,
36018
+ title: () => m$,
36019
+ type: () => h$
36020
+ }), d$, f$, p$, m$, h$, g$, _$, v$ = pt((() => {
36021
+ d$ = "https://json-schema.org/draft/2019-09/schema", f$ = "https://json-schema.org/draft/2019-09/meta/content", p$ = { "https://json-schema.org/draft/2019-09/vocab/content": !0 }, m$ = "Content vocabulary meta-schema", h$ = ["object", "boolean"], g$ = {
36022
+ contentMediaType: { type: "string" },
36023
+ contentEncoding: { type: "string" },
36024
+ contentSchema: { $recursiveRef: "#" }
36025
+ }, _$ = {
36026
+ $schema: d$,
36027
+ $id: f$,
36028
+ $vocabulary: p$,
36029
+ $recursiveAnchor: !0,
36030
+ title: m$,
36031
+ type: h$,
36032
+ properties: g$
36033
+ };
36034
+ })), y$ = /* @__PURE__ */ mt({
36035
+ $id: () => x$,
36036
+ $recursiveAnchor: () => !0,
36037
+ $schema: () => b$,
36038
+ $vocabulary: () => S$,
36039
+ default: () => E$,
36040
+ properties: () => T$,
36041
+ title: () => C$,
36042
+ type: () => w$
36043
+ }), b$, x$, S$, C$, w$, T$, E$, D$ = pt((() => {
36044
+ b$ = "https://json-schema.org/draft/2019-09/schema", x$ = "https://json-schema.org/draft/2019-09/meta/core", S$ = { "https://json-schema.org/draft/2019-09/vocab/core": !0 }, C$ = "Core vocabulary meta-schema", w$ = ["object", "boolean"], T$ = {
36045
+ $id: {
36046
+ type: "string",
36047
+ format: "uri-reference",
36048
+ $comment: "Non-empty fragments not allowed.",
36049
+ pattern: "^[^#]*#?$"
36050
+ },
36051
+ $schema: {
36052
+ type: "string",
36053
+ format: "uri"
36054
+ },
36055
+ $anchor: {
36056
+ type: "string",
36057
+ pattern: "^[A-Za-z][-A-Za-z0-9.:_]*$"
36058
+ },
36059
+ $ref: {
36060
+ type: "string",
36061
+ format: "uri-reference"
36062
+ },
36063
+ $recursiveRef: {
36064
+ type: "string",
36065
+ format: "uri-reference"
36066
+ },
36067
+ $recursiveAnchor: {
36068
+ type: "boolean",
36069
+ default: !1
36070
+ },
36071
+ $vocabulary: {
36072
+ type: "object",
36073
+ propertyNames: {
36074
+ type: "string",
36075
+ format: "uri"
36076
+ },
36077
+ additionalProperties: { type: "boolean" }
36078
+ },
36079
+ $comment: { type: "string" },
36080
+ $defs: {
36081
+ type: "object",
36082
+ additionalProperties: { $recursiveRef: "#" },
36083
+ default: {}
36084
+ }
36085
+ }, E$ = {
36086
+ $schema: b$,
36087
+ $id: x$,
36088
+ $vocabulary: S$,
36089
+ $recursiveAnchor: !0,
36090
+ title: C$,
36091
+ type: w$,
36092
+ properties: T$
36093
+ };
36094
+ })), O$ = /* @__PURE__ */ mt({
36095
+ $id: () => A$,
36096
+ $recursiveAnchor: () => !0,
36097
+ $schema: () => k$,
36098
+ $vocabulary: () => j$,
36099
+ default: () => F$,
36100
+ properties: () => P$,
36101
+ title: () => M$,
36102
+ type: () => N$
36103
+ }), k$, A$, j$, M$, N$, P$, F$, I$ = pt((() => {
36104
+ k$ = "https://json-schema.org/draft/2019-09/schema", A$ = "https://json-schema.org/draft/2019-09/meta/format", j$ = { "https://json-schema.org/draft/2019-09/vocab/format": !0 }, M$ = "Format vocabulary meta-schema", N$ = ["object", "boolean"], P$ = { format: { type: "string" } }, F$ = {
36105
+ $schema: k$,
36106
+ $id: A$,
36107
+ $vocabulary: j$,
36108
+ $recursiveAnchor: !0,
36109
+ title: M$,
36110
+ type: N$,
36111
+ properties: P$
36112
+ };
36113
+ })), L$ = /* @__PURE__ */ mt({
36114
+ $id: () => z$,
36115
+ $recursiveAnchor: () => !0,
36116
+ $schema: () => R$,
36117
+ $vocabulary: () => B$,
36118
+ default: () => W$,
36119
+ properties: () => U$,
36120
+ title: () => V$,
36121
+ type: () => H$
36122
+ }), R$, z$, B$, V$, H$, U$, W$, G$ = pt((() => {
36123
+ R$ = "https://json-schema.org/draft/2019-09/schema", z$ = "https://json-schema.org/draft/2019-09/meta/meta-data", B$ = { "https://json-schema.org/draft/2019-09/vocab/meta-data": !0 }, V$ = "Meta-data vocabulary meta-schema", H$ = ["object", "boolean"], U$ = {
36124
+ title: { type: "string" },
36125
+ description: { type: "string" },
36126
+ default: !0,
36127
+ deprecated: {
36128
+ type: "boolean",
36129
+ default: !1
36130
+ },
36131
+ readOnly: {
36132
+ type: "boolean",
36133
+ default: !1
36134
+ },
36135
+ writeOnly: {
36136
+ type: "boolean",
36137
+ default: !1
36138
+ },
36139
+ examples: {
36140
+ type: "array",
36141
+ items: !0
36142
+ }
36143
+ }, W$ = {
36144
+ $schema: R$,
36145
+ $id: z$,
36146
+ $vocabulary: B$,
36147
+ $recursiveAnchor: !0,
36148
+ title: V$,
36149
+ type: H$,
36150
+ properties: U$
36151
+ };
36152
+ })), K$ = /* @__PURE__ */ mt({
36153
+ $defs: () => $$,
36154
+ $id: () => J$,
36155
+ $recursiveAnchor: () => !0,
36156
+ $schema: () => q$,
36157
+ $vocabulary: () => Y$,
36158
+ default: () => e1,
36159
+ properties: () => Q$,
36160
+ title: () => X$,
36161
+ type: () => Z$
36162
+ }), q$, J$, Y$, X$, Z$, Q$, $$, e1, t1 = pt((() => {
36163
+ q$ = "https://json-schema.org/draft/2019-09/schema", J$ = "https://json-schema.org/draft/2019-09/meta/validation", Y$ = { "https://json-schema.org/draft/2019-09/vocab/validation": !0 }, X$ = "Validation vocabulary meta-schema", Z$ = ["object", "boolean"], Q$ = {
36164
+ multipleOf: {
36165
+ type: "number",
36166
+ exclusiveMinimum: 0
36167
+ },
36168
+ maximum: { type: "number" },
36169
+ exclusiveMaximum: { type: "number" },
36170
+ minimum: { type: "number" },
36171
+ exclusiveMinimum: { type: "number" },
36172
+ maxLength: { $ref: "#/$defs/nonNegativeInteger" },
36173
+ minLength: { $ref: "#/$defs/nonNegativeIntegerDefault0" },
36174
+ pattern: {
36175
+ type: "string",
36176
+ format: "regex"
36177
+ },
36178
+ maxItems: { $ref: "#/$defs/nonNegativeInteger" },
36179
+ minItems: { $ref: "#/$defs/nonNegativeIntegerDefault0" },
36180
+ uniqueItems: {
36181
+ type: "boolean",
36182
+ default: !1
36183
+ },
36184
+ maxContains: { $ref: "#/$defs/nonNegativeInteger" },
36185
+ minContains: {
36186
+ $ref: "#/$defs/nonNegativeInteger",
36187
+ default: 1
36188
+ },
36189
+ maxProperties: { $ref: "#/$defs/nonNegativeInteger" },
36190
+ minProperties: { $ref: "#/$defs/nonNegativeIntegerDefault0" },
36191
+ required: { $ref: "#/$defs/stringArray" },
36192
+ dependentRequired: {
36193
+ type: "object",
36194
+ additionalProperties: { $ref: "#/$defs/stringArray" }
36195
+ },
36196
+ const: !0,
36197
+ enum: {
36198
+ type: "array",
36199
+ items: !0
36200
+ },
36201
+ type: { anyOf: [{ $ref: "#/$defs/simpleTypes" }, {
36202
+ type: "array",
36203
+ items: { $ref: "#/$defs/simpleTypes" },
36204
+ minItems: 1,
36205
+ uniqueItems: !0
36206
+ }] }
36207
+ }, $$ = {
36208
+ nonNegativeInteger: {
36209
+ type: "integer",
36210
+ minimum: 0
36211
+ },
36212
+ nonNegativeIntegerDefault0: {
36213
+ $ref: "#/$defs/nonNegativeInteger",
36214
+ default: 0
36215
+ },
36216
+ simpleTypes: { enum: [
36217
+ "array",
36218
+ "boolean",
36219
+ "integer",
36220
+ "null",
36221
+ "number",
36222
+ "object",
36223
+ "string"
36224
+ ] },
36225
+ stringArray: {
36226
+ type: "array",
36227
+ items: { type: "string" },
36228
+ uniqueItems: !0,
36229
+ default: []
36230
+ }
36231
+ }, e1 = {
36232
+ $schema: q$,
36233
+ $id: J$,
36234
+ $vocabulary: Y$,
36235
+ $recursiveAnchor: !0,
36236
+ title: X$,
36237
+ type: Z$,
36238
+ properties: Q$,
36239
+ $defs: $$
36240
+ };
36241
+ })), n1 = /* @__PURE__ */ G(((e) => {
36242
+ Object.defineProperty(e, "__esModule", { value: !0 });
36243
+ var t = ($Q(), _t(WQ).default), n = (l$(), _t(e$).default), r = (v$(), _t(u$).default), i = (D$(), _t(y$).default), a = (I$(), _t(O$).default), o = (G$(), _t(L$).default), s = (t1(), _t(K$).default), c = ["/properties"];
36244
+ function l(e) {
36245
+ return [
36246
+ t,
36247
+ n,
36248
+ r,
36249
+ i,
36250
+ l(this, a),
36251
+ o,
36252
+ l(this, s)
36253
+ ].forEach((e) => this.addMetaSchema(e, void 0, !1)), this;
36254
+ function l(t, n) {
36255
+ return e ? t.$dataMetaSchema(n, c) : n;
36256
+ }
36257
+ }
36258
+ e.default = l;
36259
+ })), r1 = /* @__PURE__ */ G(((e, t) => {
36260
+ 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;
36261
+ var n = IZ(), r = yQ(), i = IQ(), a = BQ(), o = UQ(), s = xQ(), c = n1(), l = "https://json-schema.org/draft/2019-09/schema", u = class extends n.default {
36262
+ constructor(e = {}) {
36263
+ super({
36264
+ ...e,
36265
+ dynamicRef: !0,
36266
+ next: !0,
36267
+ unevaluated: !0
36268
+ });
36269
+ }
36270
+ _addVocabularies() {
36271
+ 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);
36272
+ }
36273
+ _addDefaultMetaSchema() {
36274
+ super._addDefaultMetaSchema();
36275
+ let { $data: e, meta: t } = this.opts;
36276
+ t && (c.default.call(this, e), this.refs["http://json-schema.org/schema"] = l);
36277
+ }
36278
+ defaultMeta() {
36279
+ return this.opts.defaultMeta = super.defaultMeta() || (this.getSchema(l) ? l : void 0);
36280
+ }
36281
+ };
36282
+ e.Ajv2019 = u, t.exports = e = u, t.exports.Ajv2019 = u, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = u;
36283
+ var d = bZ();
36284
+ Object.defineProperty(e, "KeywordCxt", {
36285
+ enumerable: !0,
36286
+ get: function() {
36287
+ return d.KeywordCxt;
36288
+ }
36289
+ });
36290
+ var f = aZ();
36291
+ Object.defineProperty(e, "_", {
36292
+ enumerable: !0,
36293
+ get: function() {
36294
+ return f._;
36295
+ }
36296
+ }), Object.defineProperty(e, "str", {
36297
+ enumerable: !0,
36298
+ get: function() {
36299
+ return f.str;
36300
+ }
36301
+ }), Object.defineProperty(e, "stringify", {
36302
+ enumerable: !0,
36303
+ get: function() {
36304
+ return f.stringify;
36305
+ }
36306
+ }), Object.defineProperty(e, "nil", {
36307
+ enumerable: !0,
36308
+ get: function() {
36309
+ return f.nil;
36310
+ }
36311
+ }), Object.defineProperty(e, "Name", {
36312
+ enumerable: !0,
36313
+ get: function() {
36314
+ return f.Name;
36315
+ }
36316
+ }), Object.defineProperty(e, "CodeGen", {
36317
+ enumerable: !0,
36318
+ get: function() {
36319
+ return f.CodeGen;
36320
+ }
36321
+ });
36322
+ var p = xZ();
36323
+ Object.defineProperty(e, "ValidationError", {
36324
+ enumerable: !0,
36325
+ get: function() {
36326
+ return p.default;
36327
+ }
36328
+ });
36329
+ var m = SZ();
36330
+ Object.defineProperty(e, "MissingRefError", {
36331
+ enumerable: !0,
36332
+ get: function() {
36333
+ return m.default;
36334
+ }
36335
+ });
36336
+ })), i1 = /* @__PURE__ */ G(((e) => {
36337
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
36338
+ function t(e, t) {
36339
+ return {
36340
+ validate: e,
36341
+ compare: t
36342
+ };
36343
+ }
36344
+ e.fullFormats = {
36345
+ date: t(a, o),
36346
+ time: t(c(!0), l),
36347
+ "date-time": t(f(!0), p),
36348
+ "iso-time": t(c(), u),
36349
+ "iso-date-time": t(f(), m),
36350
+ duration: /^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,
36351
+ uri: _,
36352
+ "uri-reference": /^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,
36353
+ "uri-template": /^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,
36354
+ url: /^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,
36355
+ email: /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,
36356
+ hostname: /^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,
36357
+ ipv4: /^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,
36358
+ ipv6: /^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,
36359
+ regex: E,
36360
+ uuid: /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,
36361
+ "json-pointer": /^(?:\/(?:[^~/]|~0|~1)*)*$/,
36362
+ "json-pointer-uri-fragment": /^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,
36363
+ "relative-json-pointer": /^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,
36364
+ byte: y,
36365
+ int32: {
36366
+ type: "number",
36367
+ validate: S
36368
+ },
36369
+ int64: {
36370
+ type: "number",
36371
+ validate: C
36372
+ },
36373
+ float: {
36374
+ type: "number",
36375
+ validate: w
36376
+ },
36377
+ double: {
35462
36378
  type: "number",
35463
36379
  validate: w
35464
36380
  },
@@ -35569,9 +36485,9 @@ var wX = /* @__PURE__ */ G(((e) => {
35569
36485
  return !1;
35570
36486
  }
35571
36487
  }
35572
- })), eQ = /* @__PURE__ */ G(((e) => {
36488
+ })), a1 = /* @__PURE__ */ G(((e) => {
35573
36489
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
35574
- var t = QZ(), n = EX(), r = n.operators, i = {
36490
+ var t = jQ(), n = aZ(), r = n.operators, i = {
35575
36491
  formatMaximum: {
35576
36492
  okStr: "<=",
35577
36493
  ok: r.LTE,
@@ -35631,9 +36547,9 @@ var wX = /* @__PURE__ */ G(((e) => {
35631
36547
  },
35632
36548
  dependencies: ["format"]
35633
36549
  }, e.default = (t) => (t.addKeyword(e.formatLimitDefinition), t);
35634
- })), tQ = /* @__PURE__ */ G(((e, t) => {
36550
+ })), o1 = /* @__PURE__ */ G(((e, t) => {
35635
36551
  Object.defineProperty(e, "__esModule", { value: !0 });
35636
- var n = $Z(), r = eQ(), i = EX(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
36552
+ var n = i1(), r = a1(), i = aZ(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
35637
36553
  if (Array.isArray(t)) return c(e, t, n.fullFormats, a), e;
35638
36554
  let [i, s] = t.mode === "fast" ? [n.fastFormats, o] : [n.fullFormats, a];
35639
36555
  return c(e, t.formats || n.formatNames, i, s), t.keywords && (0, r.default)(e), e;
@@ -35649,9 +36565,9 @@ var wX = /* @__PURE__ */ G(((e) => {
35649
36565
  for (let r of t) e.addFormat(r, n[r]);
35650
36566
  }
35651
36567
  t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
35652
- })), nQ = /* @__PURE__ */ gt(QZ(), 1), rQ = /* @__PURE__ */ gt(tQ(), 1), iQ = {
36568
+ })), s1 = /* @__PURE__ */ gt(jQ(), 1), c1 = /* @__PURE__ */ gt(r1(), 1), l1 = /* @__PURE__ */ gt(o1(), 1), u1 = {
35653
36569
  required: () => "This field is required",
35654
- type: (e) => `Should be "${oQ(e)}".`,
36570
+ type: (e) => `Should be "${f1(e)}".`,
35655
36571
  minLength: (e) => e.params.limit === 1 ? "This field must not be empty" : `Should NOT be shorter than ${e.params.limit} characters`,
35656
36572
  maxLength: (e) => `Should NOT be longer than ${e.params.limit} characters`,
35657
36573
  minimum: (e) => `Should be >= ${e.params.limit}`,
@@ -35667,76 +36583,83 @@ var wX = /* @__PURE__ */ G(((e) => {
35667
36583
  format: (e) => `Should be a valid ${e.params.format}`,
35668
36584
  uniqueItemProperties: (e) => `${e.params.propertyName ?? "This field"} must be unique`
35669
36585
  };
35670
- function aQ(e, t) {
35671
- let n = iQ[e.keyword];
36586
+ function d1(e, t) {
36587
+ let n = u1[e.keyword];
35672
36588
  return n ? n(e, t) : e.message ?? "Invalid value";
35673
36589
  }
35674
- function oQ(e) {
36590
+ function f1(e) {
35675
36591
  let t = e.params.type;
35676
36592
  return String(Array.isArray(t) ? t[0] : t);
35677
36593
  }
35678
36594
  //#endregion
35679
36595
  //#region src/composed/JsonSchemaForm/form-bindings/resolveAt.ts
35680
- function sQ(e, t, n) {
35681
- let r = t === "" ? [] : t.split("."), i = e.root, a = n, o = [];
35682
- for (let e of r) {
35683
- if (!i) return {
36596
+ var p1 = /* @__PURE__ */ new Set();
36597
+ function m1(e, t, n, r = {}) {
36598
+ let i = t === "" ? [] : t.split("."), a = {
36599
+ ...r,
36600
+ root: n
36601
+ }, o = e.root, s = n, c = [];
36602
+ for (let e of i) {
36603
+ if (!o) return {
35684
36604
  node: void 0,
35685
36605
  value: void 0
35686
36606
  };
35687
- i = cQ(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);
36607
+ let t = o, { node: n } = h1(t, s, c, a);
36608
+ /^\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);
35688
36609
  }
35689
- return i ? {
35690
- node: lQ(cQ(i, a, n, r), r),
35691
- value: a
35692
- } : {
36610
+ if (!o) return {
35693
36611
  node: void 0,
35694
- value: a
36612
+ value: s
36613
+ };
36614
+ let { node: l, hiddenByDisplayIf: u } = h1(o, s, i, a);
36615
+ return {
36616
+ node: g1(l, i),
36617
+ value: s,
36618
+ hiddenByDisplayIf: u
35695
36619
  };
35696
36620
  }
35697
- function cQ(e, t, n, r) {
35698
- let i = new Map(e.properties), a = e.variants ? dQ(e.variants, t) : void 0;
35699
- if (a) for (let [e, t] of a.properties) i.set(e, t);
35700
- let o = [...e.dependencyBranches ?? [], ...a?.dependencyBranches ?? []];
35701
- if (o.length > 0) {
35702
- for (let e of o) if (uQ(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
35703
- }
35704
- return i.size > (e.properties?.size ?? 0) ? {
35705
- ...e,
35706
- properties: i
35707
- } : e;
36621
+ function h1(e, t, n, r) {
36622
+ if (!e.properties && !e.variants?.length && !e.dependencyBranches?.length) return {
36623
+ node: e,
36624
+ hiddenByDisplayIf: p1
36625
+ };
36626
+ let i = OX(e, typeof t == "object" && t && !Array.isArray(t) ? t : {}, n.join("."), r);
36627
+ return {
36628
+ node: {
36629
+ ...e,
36630
+ properties: new Map(i.visible.map((e) => [e.key, e.node]))
36631
+ },
36632
+ hiddenByDisplayIf: new Set(i.hiddenByDisplayIf)
36633
+ };
35708
36634
  }
35709
- function lQ(e, t) {
36635
+ function g1(e, t) {
35710
36636
  return e.displayIf ? {
35711
36637
  ...e,
35712
36638
  displayIf: zJ(e.displayIf, t.join("."))
35713
36639
  } : e;
35714
36640
  }
35715
- function uQ(e, t, n) {
35716
- for (let [r, i] of e) {
35717
- let e = NJ(t, RJ(r, n));
35718
- if (!(Array.isArray(i) ? i : [i]).includes(e)) return !1;
35719
- }
35720
- return !0;
35721
- }
35722
- function dQ(e, t) {
35723
- if (typeof t != "object" || !t) return;
35724
- let n = t;
35725
- return e.find((e) => e.consts.length > 0 && e.consts.every((e) => Object.is(n[e.key], e.value)));
35726
- }
35727
36641
  //#endregion
35728
36642
  //#region src/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.ts
35729
- var fQ = new nQ.default({
36643
+ var _1 = x1(new s1.default({
35730
36644
  strict: !1,
35731
36645
  allErrors: !0
35732
- });
35733
- (0, rQ.default)(fQ);
35734
- for (let e of ["text", "gio-code-editor"]) fQ.addFormat(e, !0);
35735
- fQ.removeKeyword("id"), fQ.addKeyword({
35736
- keyword: "id",
35737
- validate: () => !0
35738
- });
35739
- function pQ(e, t = {}) {
36646
+ })), v1 = x1(new c1.default({
36647
+ strict: !1,
36648
+ allErrors: !0
36649
+ })), y1 = /^https?:\/\/json-schema\.org\/draft\/2019-09\/schema#?$/;
36650
+ function b1(e) {
36651
+ let t = e.$schema;
36652
+ return typeof t == "string" && y1.test(t) ? v1 : _1;
36653
+ }
36654
+ function x1(e) {
36655
+ (0, l1.default)(e);
36656
+ for (let t of ["text", "gio-code-editor"]) e.addFormat(t, !0);
36657
+ return e.removeKeyword("id"), e.addKeyword({
36658
+ keyword: "id",
36659
+ validate: () => !0
36660
+ }), e;
36661
+ }
36662
+ function S1(e, t = {}) {
35740
36663
  let n;
35741
36664
  try {
35742
36665
  n = cY(e);
@@ -35750,9 +36673,9 @@ function pQ(e, t = {}) {
35750
36673
  } }
35751
36674
  });
35752
36675
  }
35753
- let r = n.root.schema, i = n.variantIndices, a;
36676
+ let r = n.root.schema, { variantPicks: i } = t, a = b1(r), o;
35754
36677
  try {
35755
- a = fQ.compile(r);
36678
+ o = a.compile(r);
35756
36679
  } catch (e) {
35757
36680
  let t = e instanceof Error ? e.message : "Invalid JSON Schema";
35758
36681
  return () => ({
@@ -35763,83 +36686,171 @@ function pQ(e, t = {}) {
35763
36686
  } }
35764
36687
  });
35765
36688
  }
35766
- fQ.removeSchema(r);
35767
- let o = async (e, t, r) => {
35768
- let o = a(e) ? [] : a.errors ?? [], s = bQ(n.root, e, "", i), c = [...o, ...s];
35769
- return c.length === 0 ? {
36689
+ a.removeSchema(r);
36690
+ let s = async (e, r, a) => {
36691
+ let s = o(e) ? [] : o.errors ?? [], c = L1(n.root, e, "", "", {
36692
+ root: e,
36693
+ context: t.context,
36694
+ variantPicks: i
36695
+ }), l = [...s, ...c];
36696
+ if (l.length === 0) return {
35770
36697
  values: e,
35771
36698
  errors: {}
35772
- } : {
36699
+ };
36700
+ let u = {
36701
+ context: t.context,
36702
+ variantPicks: i
36703
+ };
36704
+ return {
35773
36705
  values: {},
35774
- errors: _Q(gQ(c.filter((t) => !mQ(t, n, e))), r.criteriaMode ?? "firstError")
36706
+ errors: P1(N1(l.filter((t) => !C1(t, n, e, u))), a.criteriaMode ?? "firstError")
35775
36707
  };
35776
36708
  };
35777
- if (!t.basePath) return o;
35778
- let { basePath: s } = t;
36709
+ if (!t.basePath) return s;
36710
+ let { basePath: c } = t;
35779
36711
  return async (e, t, n) => {
35780
- let r = await o(e[s] ?? {}, t, n);
36712
+ let r = await s(e[c] ?? {}, t, n);
35781
36713
  return Object.keys(r.errors).length === 0 ? {
35782
36714
  values: e,
35783
36715
  errors: {}
35784
36716
  } : {
35785
36717
  values: {},
35786
- errors: { [s]: r.errors }
36718
+ errors: { [c]: r.errors }
35787
36719
  };
35788
36720
  };
35789
36721
  }
35790
- function mQ(e, t, n) {
35791
- let { node: r, value: i } = sQ(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(iY) : []).join("."), n);
35792
- if (!r) return !1;
36722
+ function C1(e, t, n, r) {
36723
+ let { node: i, value: a, hiddenByDisplayIf: o } = m1(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(iY) : []).join("."), n, r);
36724
+ if (!i) return !1;
35793
36725
  switch (e.keyword) {
35794
36726
  case "const":
35795
- case "enum": return hQ(r.schema, i);
36727
+ case "enum": return M1(i.schema, a);
35796
36728
  case "required": {
35797
- let t = e.params.missingProperty;
35798
- return typeof t == "string" && !!r.properties && !r.properties.has(t);
36729
+ if (w1(e, t, n, r.variantPicks)) return !0;
36730
+ let a = e.params.missingProperty;
36731
+ return typeof a != "string" || !i.properties || i.properties.has(a) ? !1 : T1(i.schema, a) ? o?.has(a) === !0 || j1(e.schemaPath) : !0;
35799
36732
  }
35800
36733
  default: return !1;
35801
36734
  }
35802
36735
  }
35803
- function hQ(e, t) {
36736
+ function w1(e, t, n, r) {
36737
+ let i = e.schemaPath.replace(/^#\/?/, "").split("/").map(iY);
36738
+ i.pop();
36739
+ let a = e.instancePath ? e.instancePath.slice(1).split("/").map(iY) : [], o = t.root, s, c = n, l = 0;
36740
+ for (let e = 0; e < i.length && o; e++) {
36741
+ let t = i[e];
36742
+ if (t === "properties") {
36743
+ let t = i[++e];
36744
+ if (a[l] !== t) return !1;
36745
+ o = s ? s.properties.get(t) : o.properties?.get(t), s = void 0, c = E1(c) ? c[t] : void 0, l++;
36746
+ } else if (t === "items" && !s && !/^\d+$/.test(i[e + 1] ?? "")) {
36747
+ let e = a[l];
36748
+ if (e === void 0 || !/^\d+$/.test(e)) return !1;
36749
+ o = o.items, c = Array.isArray(c) ? c[Number(e)] : void 0, l++;
36750
+ } else if ((t === "oneOf" || t === "anyOf") && !s) {
36751
+ let n = o.schema[t]?.[Number(i[++e])], u = o.variants ?? [], d = u.findIndex((e) => e.raw === n);
36752
+ if (d < 0) return !1;
36753
+ let f = E1(c) ? c : {}, p = a.slice(0, l).join(".");
36754
+ if (tX(u.map((e) => e.raw), p, r, (e) => f[e]) !== d) return !0;
36755
+ s = u[d];
36756
+ } else return !1;
36757
+ }
36758
+ return !1;
36759
+ }
36760
+ function T1(e, t) {
36761
+ if (e.$ref !== void 0 || e.properties && Object.prototype.hasOwnProperty.call(e.properties, t)) return !0;
36762
+ for (let n of Object.keys(e.patternProperties ?? {})) try {
36763
+ if (new RegExp(n).test(t)) return !0;
36764
+ } catch {
36765
+ return !0;
36766
+ }
36767
+ let n = [
36768
+ ...e.oneOf ?? [],
36769
+ ...e.anyOf ?? [],
36770
+ ...e.allOf ?? [],
36771
+ ...[
36772
+ e.if,
36773
+ e.then,
36774
+ e.else
36775
+ ].filter((e) => typeof e == "object" && !!e)
36776
+ ];
36777
+ for (let t of Object.values(e.dependencies ?? {})) !Array.isArray(t) && typeof t == "object" && n.push(t);
36778
+ return n.some((e) => T1(e, t));
36779
+ }
36780
+ function E1(e) {
36781
+ return typeof e == "object" && !!e && !Array.isArray(e);
36782
+ }
36783
+ var D1 = new Set([
36784
+ "properties",
36785
+ "patternProperties",
36786
+ "dependencies",
36787
+ "definitions",
36788
+ "$defs"
36789
+ ]), O1 = new Set([
36790
+ "oneOf",
36791
+ "anyOf",
36792
+ "allOf"
36793
+ ]), k1 = new Set([
36794
+ "properties",
36795
+ "patternProperties",
36796
+ "additionalProperties",
36797
+ "items",
36798
+ "additionalItems"
36799
+ ]), A1 = new Set([
36800
+ "oneOf",
36801
+ "anyOf",
36802
+ "dependencies"
36803
+ ]);
36804
+ function j1(e) {
36805
+ let t = e.replace(/^#\/?/, "").split("/").map(iY);
36806
+ t.pop();
36807
+ let n = [];
36808
+ for (let e = 0; e < t.length; e++) {
36809
+ let r = t[e];
36810
+ k1.has(r) ? n = [] : n.push(r), (D1.has(r) || O1.has(r) || r === "items" && /^\d+$/.test(t[e + 1] ?? "")) && e++;
36811
+ }
36812
+ return n.some((e) => A1.has(e));
36813
+ }
36814
+ function M1(e, t) {
35804
36815
  return e.const === void 0 ? Array.isArray(e.enum) ? e.enum.includes(t) : !1 : Object.is(e.const, t);
35805
36816
  }
35806
- function gQ(e) {
36817
+ function N1(e) {
35807
36818
  return e.filter((t) => {
35808
36819
  if (t.keyword !== "oneOf" && t.keyword !== "anyOf") return !0;
35809
- let n = vQ(t), r = n === "" ? "" : `${n}.`;
36820
+ let n = F1(t), r = n === "" ? "" : `${n}.`;
35810
36821
  return !e.some((e) => {
35811
36822
  if (e === t) return !1;
35812
- let i = vQ(e);
36823
+ let i = F1(e);
35813
36824
  return n === "" ? i !== "" : i.startsWith(r);
35814
36825
  });
35815
36826
  });
35816
36827
  }
35817
- function _Q(e, t) {
36828
+ function P1(e, t) {
35818
36829
  let n = /* @__PURE__ */ new Map();
35819
36830
  for (let t of e) {
35820
- let e = vQ(t), r = n.get(e) ?? [];
36831
+ let e = F1(t), r = n.get(e) ?? [];
35821
36832
  r.push(t), n.set(e, r);
35822
36833
  }
35823
36834
  let r = {};
35824
36835
  for (let [e, i] of n) {
35825
36836
  let n = {
35826
36837
  type: i[0].keyword,
35827
- message: aQ(i[0], e)
36838
+ message: d1(i[0], e)
35828
36839
  };
35829
36840
  if (t === "all" && i.length > 0) {
35830
36841
  let t = {};
35831
- for (let n of i) t[n.keyword] = aQ(n, e);
36842
+ for (let n of i) t[n.keyword] = d1(n, e);
35832
36843
  n.types = t;
35833
36844
  }
35834
- yQ(r, e === "" ? "root" : e, n);
36845
+ I1(r, e === "" ? "root" : e, n);
35835
36846
  }
35836
36847
  return r;
35837
36848
  }
35838
- function vQ(e) {
36849
+ function F1(e) {
35839
36850
  let t = e.instancePath ? e.instancePath.slice(1).split("/").map(iY) : [];
35840
36851
  return e.keyword === "required" && typeof e.params.missingProperty == "string" && t.push(e.params.missingProperty), t.join(".");
35841
36852
  }
35842
- function yQ(e, t, n) {
36853
+ function I1(e, t, n) {
35843
36854
  let r = t.split("."), i = e;
35844
36855
  for (let e = 0; e < r.length - 1; e++) {
35845
36856
  let t = r[e];
@@ -35847,97 +36858,161 @@ function yQ(e, t, n) {
35847
36858
  }
35848
36859
  i[r[r.length - 1]] = n;
35849
36860
  }
35850
- function bQ(e, t, n, r) {
36861
+ function L1(e, t, n, r, i) {
35851
36862
  if (!e) return [];
35852
- let i = [];
35853
- if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let r of e.schema.gioConfig.uniqueItemProperties) {
35854
- let e = t.map((e) => typeof e == "object" && e ? e[r] : void 0).filter((e) => e != null);
36863
+ let a = [];
36864
+ if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let n of e.schema.gioConfig.uniqueItemProperties) {
36865
+ let e = t.map((e) => typeof e == "object" && e ? e[n] : void 0).filter((e) => e != null);
35855
36866
  if (new Set(e).size !== e.length) {
35856
- i.push({
36867
+ a.push({
35857
36868
  keyword: "uniqueItemProperties",
35858
- instancePath: n,
36869
+ instancePath: r,
35859
36870
  schemaPath: "",
35860
- params: { propertyName: r },
36871
+ params: { propertyName: n },
35861
36872
  message: "must be unique"
35862
36873
  });
35863
36874
  break;
35864
36875
  }
35865
36876
  }
35866
- let a = typeof t == "object" && !!t && !Array.isArray(t);
35867
- if (e.properties && a) for (let [a, o] of e.properties) i.push(...bQ(o, t[a], `${n}/${rY(a)}`, r));
35868
- if (e.variants && e.variants.length > 0 && a) {
35869
- let a = t, o = tX(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
35870
- if (s) for (let [e, t] of s.properties) i.push(...bQ(t, a[e], `${n}/${rY(e)}`, r));
36877
+ if (typeof t == "object" && t && !Array.isArray(t)) {
36878
+ let o = t;
36879
+ for (let t of OX(e, o, n, i).visible) a.push(...L1(t.node, o[t.key], t.path, `${r}/${rY(t.key)}`, i));
35871
36880
  }
35872
- return e.items && Array.isArray(t) && t.forEach((t, a) => {
35873
- i.push(...bQ(e.items, t, `${n}/${a}`, r));
35874
- }), i;
36881
+ return e.items && Array.isArray(t) && t.forEach((t, o) => {
36882
+ let s = n ? `${n}.${o}` : String(o);
36883
+ a.push(...L1(e.items, t, s, `${r}/${o}`, i));
36884
+ }), a;
35875
36885
  }
35876
36886
  //#endregion
35877
- //#region src/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.ts
35878
- var xQ = /* @__PURE__ */ new WeakMap();
35879
- function SQ(e) {
35880
- let t = xQ.get(e);
35881
- if (t === void 0) {
35882
- try {
35883
- t = cY(e).root;
35884
- } catch {
35885
- t = null;
36887
+ //#region src/composed/JsonSchemaForm/schema/displayedErrorPaths.ts
36888
+ function R1(e, t, n, r) {
36889
+ let i = /* @__PURE__ */ new Set(), a = FX(e);
36890
+ return a && z1(a, t, "", {
36891
+ root: t,
36892
+ context: n,
36893
+ variantPicks: r
36894
+ }, i), i;
36895
+ }
36896
+ function z1(e, t, n, r, i) {
36897
+ if (e.schema.deprecated !== !0) switch (bX(e.schema)) {
36898
+ case "object": {
36899
+ let a = B1(t) ? t : {}, o = OX(e, a, n, r), s = o.activeVariantIndex === void 0 ? void 0 : e.variants?.[o.activeVariantIndex];
36900
+ for (let e of o.visible) e.node.schema.const !== void 0 && s?.properties.get(e.key) === e.node || z1(e.node, a[e.key], e.path, r, i);
36901
+ return;
35886
36902
  }
35887
- xQ.set(e, t);
36903
+ case "array":
36904
+ if (n && i.add(n), e.items && Array.isArray(t)) {
36905
+ let { items: a } = e;
36906
+ t.forEach((e, t) => z1(a, e, n ? `${n}.${t}` : String(t), r, i));
36907
+ }
36908
+ return;
36909
+ case "null":
36910
+ case void 0: return;
36911
+ default: n && i.add(n);
35888
36912
  }
35889
- return t;
35890
36913
  }
35891
- function CQ(e, t, n) {
35892
- let r = SQ(e);
35893
- if (!r) return t;
35894
- let i = structuredClone(t);
35895
- for (; wQ(r, i, "", i, n););
35896
- return i;
36914
+ function B1(e) {
36915
+ return typeof e == "object" && !!e && !Array.isArray(e);
35897
36916
  }
35898
- function wQ(e, t, n, r, i) {
35899
- if (Array.isArray(t)) {
35900
- let { items: a } = e;
35901
- if (!a) return !1;
35902
- let o = !1;
35903
- return t.forEach((e, t) => {
35904
- wQ(a, e, DQ(n, String(t)), r, i) && (o = !0);
35905
- }), o;
36917
+ //#endregion
36918
+ //#region src/composed/JsonSchemaForm/form-bindings/hiddenFormErrors.ts
36919
+ var V1 = new Set([
36920
+ "type",
36921
+ "message",
36922
+ "types",
36923
+ "ref"
36924
+ ]);
36925
+ function H1(e, t, n, r, i) {
36926
+ let a = FX(e), o = {
36927
+ root: t,
36928
+ context: r,
36929
+ variantPicks: i
36930
+ }, s = U1(n, (e) => !!a && K1(a, t, e ? `${e}.root` : "root", o) !== void 0);
36931
+ if (s.length === 0) return [];
36932
+ let c = R1(e, t, r, i);
36933
+ return s.filter((e) => !c.has(e.path)).map((e) => ({
36934
+ ...e,
36935
+ labels: a ? G1(a, t, e.path, o) : Y1(e.path)
36936
+ }));
36937
+ }
36938
+ function U1(e, t = () => !1, n = "") {
36939
+ if (typeof e != "object" || !e) return [];
36940
+ let r = e, i = [], a = typeof r.type == "string";
36941
+ a && i.push({
36942
+ path: n,
36943
+ messages: W1(r)
36944
+ });
36945
+ for (let [e, o] of Object.entries(r)) {
36946
+ if (a && V1.has(e)) continue;
36947
+ let r = e === "root" && !t(n) ? n : n ? `${n}.${e}` : e;
36948
+ i.push(...U1(o, t, r));
35906
36949
  }
35907
- if (typeof t != "object" || !t) return !1;
35908
- let a = t, { rendered: o, unregistered: s } = TQ(e, a, n, r, i), c = !1;
35909
- for (let e of s) e in a && (delete a[e], c = !0);
35910
- for (let [e, t] of o) {
35911
- if (!(e in a)) continue;
35912
- let o = DQ(n, e);
35913
- t.displayIf && !EQ(t.displayIf, o, r, i) ? (delete a[e], c = !0) : wQ(t, a[e], o, r, i) && (c = !0);
36950
+ return i;
36951
+ }
36952
+ function W1(e) {
36953
+ let t = e.types;
36954
+ if (typeof t == "object" && t) {
36955
+ let e = Object.values(t).flat().filter((e) => typeof e == "string");
36956
+ if (e.length > 0) return [...new Set(e)];
35914
36957
  }
35915
- return c;
36958
+ return [typeof e.message == "string" && e.message ? e.message : "Invalid value"];
36959
+ }
36960
+ function G1(e, t, n, r) {
36961
+ return q1(e, t, n, r).map(({ segment: e, parent: t, node: n }) => t?.items && n === t.items ? `${OY(n.schema)} ${Number(e) + 1}` : n ? T(n.schema, e) : e);
36962
+ }
36963
+ function K1(e, t, n, r) {
36964
+ return q1(e, t, n, r).at(-1)?.node;
35916
36965
  }
35917
- function TQ(e, t, n, r, i) {
35918
- let a = [...e.properties ?? []], o = [...e.dependencyBranches ?? []];
35919
- if (e.variants && e.variants.length > 0) {
35920
- let n = tX(e.variants.map((e) => e.raw), e.rhfPath, void 0, (e) => t[e]), r = e.variants[n];
35921
- r && (a.push(...r.properties), o.push(...r.dependencyBranches ?? []));
36966
+ function q1(e, t, n, r) {
36967
+ let i = [], a = e, o = t, s = "";
36968
+ for (let e of Y1(n)) {
36969
+ let t = a;
36970
+ a = t?.items && /^\d+$/.test(e) ? t.items : t ? J1(t, o, s, e, r) : void 0, i.push({
36971
+ segment: e,
36972
+ parent: t,
36973
+ node: a
36974
+ }), o = typeof o == "object" && o ? o[e] : void 0, s = s ? `${s}.${e}` : e;
35922
36975
  }
35923
- let s = [];
35924
- for (let e of o) EQ(e.showIf, n, r, i) ? a.push(...e.properties) : s.push(...e.properties.keys());
35925
- let c = new Set(a.map(([e]) => e));
35926
- return {
35927
- rendered: a,
35928
- unregistered: s.filter((e) => !c.has(e))
35929
- };
36976
+ return i;
35930
36977
  }
35931
- function EQ(e, t, n, r) {
35932
- let i = zJ(e, t);
35933
- return PJ(i, new Map([...i.$eq.keys()].map((e) => [e, NJ(n, e)])), r);
36978
+ function J1(e, t, n, r, i) {
36979
+ let a = OX(e, typeof t == "object" && t && !Array.isArray(t) ? t : {}, n, i).visible.find((e) => e.key === r);
36980
+ 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);
35934
36981
  }
35935
- function DQ(e, t) {
35936
- return e ? `${e}.${t}` : t;
36982
+ function Y1(e) {
36983
+ return e ? e.split(".") : [];
36984
+ }
36985
+ //#endregion
36986
+ //#region src/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.ts
36987
+ function X1(e, t, n, r) {
36988
+ let i = FX(e);
36989
+ if (!i) return t;
36990
+ let a = structuredClone(t), o = {
36991
+ root: a,
36992
+ context: n,
36993
+ variantPicks: r
36994
+ };
36995
+ for (; Z1(i, a, "", o););
36996
+ return a;
36997
+ }
36998
+ function Z1(e, t, n, r) {
36999
+ if (Array.isArray(t)) {
37000
+ let { items: i } = e;
37001
+ if (!i) return !1;
37002
+ let a = !1;
37003
+ return t.forEach((e, t) => {
37004
+ Z1(i, e, n ? `${n}.${t}` : String(t), r) && (a = !0);
37005
+ }), a;
37006
+ }
37007
+ if (typeof t != "object" || !t) return !1;
37008
+ let i = t, { visible: a, hiddenKeys: o } = OX(e, i, n, r), s = !1;
37009
+ for (let t of o) !(t in i) || MX(e, t) || (delete i[t], s = !0);
37010
+ for (let e of a) e.key in i && Z1(e.node, i[e.key], e.path, r) && (s = !0);
37011
+ return s;
35937
37012
  }
35938
37013
  //#endregion
35939
37014
  //#region src/composed/LayoutSlots/LayoutSlotsContext.tsx
35940
- var OQ = {
37015
+ var Q1 = {
35941
37016
  navigation: null,
35942
37017
  contextSidebar: null,
35943
37018
  breadcrumbs: [],
@@ -35948,9 +37023,9 @@ var OQ = {
35948
37023
  banner: null,
35949
37024
  bannerSticky: !1,
35950
37025
  footer: null
35951
- }, kQ = Ie(null);
35952
- function AQ({ children: e }) {
35953
- let [t, n] = Xe(OQ), r = Be((e, t) => {
37026
+ }, $1 = Ie(null);
37027
+ function e0({ children: e }) {
37028
+ let [t, n] = Xe(Q1), r = Be((e, t) => {
35954
37029
  n((n) => ({
35955
37030
  ...n,
35956
37031
  [e]: t
@@ -35962,7 +37037,7 @@ function AQ({ children: e }) {
35962
37037
  }));
35963
37038
  }, []), a = Be((e) => {
35964
37039
  n((t) => {
35965
- let n = Object.fromEntries(e.map((e) => [e, OQ[e]]));
37040
+ let n = Object.fromEntries(e.map((e) => [e, Q1[e]]));
35966
37041
  return {
35967
37042
  ...t,
35968
37043
  ...n
@@ -35979,20 +37054,20 @@ function AQ({ children: e }) {
35979
37054
  i,
35980
37055
  a
35981
37056
  ]);
35982
- return /* @__PURE__ */ U(kQ.Provider, {
37057
+ return /* @__PURE__ */ U($1.Provider, {
35983
37058
  value: o,
35984
37059
  children: e
35985
37060
  });
35986
37061
  }
35987
- function jQ() {
35988
- let e = Ve(kQ);
37062
+ function t0() {
37063
+ let e = Ve($1);
35989
37064
  if (!e) throw Error("useLayoutSlots must be used within a LayoutSlotsProvider.");
35990
37065
  return e;
35991
37066
  }
35992
37067
  //#endregion
35993
37068
  //#region src/composed/LayoutSlots/use-layout-config.ts
35994
- function MQ(e, t = []) {
35995
- let { setSlots: n, resetSlots: r } = jQ();
37069
+ function n0(e, t = []) {
37070
+ let { setSlots: n, resetSlots: r } = t0();
35996
37071
  Ke(() => {
35997
37072
  n(e);
35998
37073
  let t = Object.keys(e);
@@ -36007,7 +37082,7 @@ function MQ(e, t = []) {
36007
37082
  }
36008
37083
  //#endregion
36009
37084
  //#region src/composed/PageFocused/PageFocused.tsx
36010
- function NQ({ children: e, className: n, "data-testid": r }) {
37085
+ function r0({ children: e, className: n, "data-testid": r }) {
36011
37086
  return /* @__PURE__ */ U("div", {
36012
37087
  "data-slot": "page-focused",
36013
37088
  "data-testid": r,
@@ -36015,10 +37090,10 @@ function NQ({ children: e, className: n, "data-testid": r }) {
36015
37090
  children: e
36016
37091
  });
36017
37092
  }
36018
- NQ.displayName = "PageFocused";
37093
+ r0.displayName = "PageFocused";
36019
37094
  //#endregion
36020
37095
  //#region src/composed/PageHeader/PageHeader.tsx
36021
- function PQ({ title: e, description: n, actions: r, children: i, className: a, "data-testid": o }) {
37096
+ function i0({ title: e, description: n, actions: r, children: i, className: a, "data-testid": o }) {
36022
37097
  return /* @__PURE__ */ W("header", {
36023
37098
  "data-slot": "page-header",
36024
37099
  "data-testid": o,
@@ -36050,10 +37125,10 @@ function PQ({ title: e, description: n, actions: r, children: i, className: a, "
36050
37125
  }) : null]
36051
37126
  });
36052
37127
  }
36053
- PQ.displayName = "PageHeader";
37128
+ i0.displayName = "PageHeader";
36054
37129
  //#endregion
36055
37130
  //#region src/composed/SearchField/SearchField.tsx
36056
- function FQ({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, className: i, disabled: a, onKeyDown: o, "data-testid": s, ...c }) {
37131
+ function a0({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, className: i, disabled: a, onKeyDown: o, "data-testid": s, ...c }) {
36057
37132
  let [l, u] = Xe(t), d = Ye(null), f = Ye(t), p = Ye(void 0), m = Ye(n);
36058
37133
  Ge(e, () => d.current, []), Ue(() => {
36059
37134
  m.current = n;
@@ -36113,10 +37188,10 @@ function FQ({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, clas
36113
37188
  ]
36114
37189
  });
36115
37190
  }
36116
- FQ.displayName = "SearchField";
37191
+ a0.displayName = "SearchField";
36117
37192
  //#endregion
36118
37193
  //#region src/composed/TopNavUser/TopNavUser.tsx
36119
- var IQ = [
37194
+ var o0 = [
36120
37195
  {
36121
37196
  value: "light",
36122
37197
  label: "Light"
@@ -36130,7 +37205,7 @@ var IQ = [
36130
37205
  label: "System"
36131
37206
  }
36132
37207
  ];
36133
- function LQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
37208
+ function s0({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
36134
37209
  let s = i ?? e.slice(0, 2).toUpperCase(), { mode: c, setMode: l } = Me();
36135
37210
  return /* @__PURE__ */ W(bL, { children: [/* @__PURE__ */ U(SL, {
36136
37211
  asChild: !0,
@@ -36159,7 +37234,7 @@ function LQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
36159
37234
  /* @__PURE__ */ U(DL, {
36160
37235
  value: c,
36161
37236
  onValueChange: (e) => l(e),
36162
- children: IQ.map((e) => /* @__PURE__ */ U(OL, {
37237
+ children: o0.map((e) => /* @__PURE__ */ U(OL, {
36163
37238
  value: e.value,
36164
37239
  children: e.label
36165
37240
  }, e.value))
@@ -36172,6 +37247,6 @@ function LQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
36172
37247
  ]
36173
37248
  })] });
36174
37249
  }
36175
- LQ.displayName = "TopNavUser";
37250
+ s0.displayName = "TopNavUser";
36176
37251
  //#endregion
36177
- 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, iq 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, oq as CopyableCell, iG as CopyableText, OQ as DEFAULT_SLOTS, JK as DataTable, YK as DataTableColumnHeader, cq as DataTableEmptyState, jK as DataTablePagination, HK as DataTableViewOptions, rq as DateCell, _J as DatePicker, vJ as DateRangePicker, xJ as DateTimePicker, wJ 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, EJ as ElCheatSheetTrigger, FL as Empty, VL as EmptyContent, BL as EmptyDescription, IL as EmptyHeader, RL as EmptyMedia, zL as EmptyTitle, DJ 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, MJ as FileUpload, Fz as FileUploadInput, jJ 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, SX as JsonSchemaForm, eB as Kbd, tB as KbdGroup, ee as Label, AQ as LayoutSlotsProvider, iB as Logo, aq as MonoCell, NQ as PageFocused, PQ as PageHeader, aB as Pagination, oB as PaginationContent, dB as PaginationEllipsis, sB as PaginationItem, cB as PaginationLink, uB as PaginationNext, lB as PaginationPrevious, uX 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, FQ 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, LQ as TopNavUser, sq as TruncatedCell, r as alertVariants, Yv as badgeVariants, aG as buildLinearBreadcrumbs, oy as buttonGroupVariants, iy as buttonVariants, t as cn, CX as composeResolvers, yY as extractDefaults, pQ as jsonSchemaResolver, rB as logoVariants, CQ as pruneHiddenValues, xW as tabsListVariants, qU as toast, TW as toggleVariants, Cj as useComboboxAnchor, xt as useDebouncedValue, MQ as useLayoutConfig, jQ as useLayoutSlots, bt as usePortalContainer, oU as useSidebar, zW as useSidebarMode, Me as useTheme };
37252
+ 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, iq 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, oq as CopyableCell, iG as CopyableText, Q1 as DEFAULT_SLOTS, JK as DataTable, YK as DataTableColumnHeader, cq as DataTableEmptyState, jK as DataTablePagination, HK as DataTableViewOptions, rq as DateCell, _J as DatePicker, vJ as DateRangePicker, xJ as DateTimePicker, wJ 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, EJ as ElCheatSheetTrigger, FL as Empty, VL as EmptyContent, BL as EmptyDescription, IL as EmptyHeader, RL as EmptyMedia, zL as EmptyTitle, DJ 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, MJ as FileUpload, Fz as FileUploadInput, jJ 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, e0 as LayoutSlotsProvider, iB as Logo, aq as MonoCell, r0 as PageFocused, i0 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, a0 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, s0 as TopNavUser, sq as TruncatedCell, r as alertVariants, zX as applyVisibleDefaults, Yv as badgeVariants, aG as buildLinearBreadcrumbs, oy as buttonGroupVariants, iy as buttonVariants, t as cn, nZ as composeResolvers, yY as extractDefaults, H1 as hiddenFormErrors, S1 as jsonSchemaResolver, rB as logoVariants, X1 as pruneHiddenValues, xW as tabsListVariants, qU as toast, TW as toggleVariants, Cj as useComboboxAnchor, xt as useDebouncedValue, n0 as useLayoutConfig, t0 as useLayoutSlots, bt as usePortalContainer, oU as useSidebar, zW as useSidebarMode, Me as useTheme };